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AA,mBAAAA,CAAA,CAAAC,CAAA,CAAAC,CAAA,EAAAF,EAAA0H,OAAA,CAAAxH,EAAA","sources":["webpack://_N_E/./adapters/cloudinary/ImageFactory.js","webpack://_N_E/./components/Meta/Meta.js","webpack://_N_E/./adapters/helpers/Url.js","webpack://_N_E/./node_modules/next/dist/shared/lib/amp-context.js","webpack://_N_E/./node_modules/next/dist/shared/lib/amp-mode.js","webpack://_N_E/./node_modules/next/dist/shared/lib/head.js","webpack://_N_E/./node_modules/next/dist/shared/lib/side-effect.js","webpack://_N_E/./node_modules/next/dist/shared/lib/utils/warn-once.js","webpack://_N_E/./node_modules/next/head.js","webpack://_N_E/"],"sourcesContent":["export function buildContentfullImageUrl(assetUrl, transformations) {\n return transformations ? 'https:'+ assetUrl + \"?\" + transformations : 'https:'+ assetUrl; \n}\n\nexport function buildContentfullImageUrlByHeight(assetUrl, height = 'auto', transformations = 'c_limit', format = 'auto') {\n return 'https:'+ assetUrl + \"?h=\"+ height ;\n}\n\nexport function buildContentfullImageUrlByWidth(assetUrl, width = 'auto', transformations = 'c_limit', format = 'auto') {\n return 'https:'+ assetUrl + \"?w=\"+ width ; \n}\n\nexport function imageContentfullSrc(assetUrl, transformations) {\n return buildContentfullImageUrl(assetUrl, transformations);\n}\n\nexport function imageContentfullDpr(assetUrl, transformations = '') {\n if (!transformations) {\n return buildContentfullImageUrl(assetUrl);\n }\n\n return buildContentfullImageUrl(assetUrl, transformations)\n}\n\n\nexport default {\n buildContentfullImageUrl,\n buildContentfullImageUrlByHeight,\n buildContentfullImageUrlByWidth,\n imageContentfullDpr,\n imageContentfullSrc,\n};\n","import React from 'react'\nimport ImageFactory from '../../adapters/cloudinary/ImageFactory';\nimport {validURL} from '../../adapters/helpers/Url';\nimport {getCanonicalURL} from '../../adapters/helpers/Utils';\nimport { OrganizationConstants } from '../../adapters/helpers/Constants';\nimport PropTypes from 'prop-types'\nimport Head from 'next/head';\nimport { optimizeImage } from '../../adapters/helpers/pagespeedHelper';\n\nexport default function Meta(props) {\n const { metadata, pagePath } = props;\n\n const title = metadata?.metaTitle;\n const description = metadata?.metaDescription;\n const keywords = metadata?.metaKeywords;\n const pagetype = metadata?.pageType;\n const noindex = metadata?.noIndex;\n const nofollow = metadata?.noFollow;\n\n const openGraphPageTitle = metadata?.openGraphPageTitle;\n const openGraphDescription = metadata?.openGraphDescription;\n\n const socialAccounts = metadata?.socialsAccounts?.fields;\n\n let metaRobots = [];\n metaRobots.push(noindex ? 'noindex' : 'index');\n metaRobots.push(nofollow ? 'nofollow' : 'follow');\n\n let openGraphImageUrl = null;\n let logoUrl= null;\n\n if (metadata && metadata.openGraphImage && metadata.openGraphImage.fields) {\n openGraphImageUrl =optimizeImage(ImageFactory.imageContentfullSrc(metadata?.openGraphImage?.fields?.asset?.fields?.file?.url));\n }\n \n if (metadata && metadata.logo && metadata.logo.fields) {\n logoUrl = optimizeImage(ImageFactory.imageContentfullSrc(metadata?.logo?.fields?.asset?.fields?.file?.url));\n }\n \n let canonical = generateCanonical(metadata, pagePath);\n\n return (\n <>\n \n \n {title}\n \n \n \n \n \n \n {keywords &&\n }\n\n {openGraphPageTitle &&\n }\n\n {openGraphDescription &&\n }\n\n {openGraphImageUrl &&\n }\n\n {canonical &&\n }\n\n {canonical &&\n }\n \n \n\n
\n\n {canonical &&\n }\n\n \n\n \n\n {logoUrl &&\n }\n\n { socialAccounts && socialAccounts.facebookUrl &&\n }\n\n { socialAccounts && socialAccounts.twitterUrl &&\n }\n\n { socialAccounts && socialAccounts.youtubeUrl &&\n }\n\n { socialAccounts && socialAccounts.instagramUrl &&\n }\n\n
\n\n
\n {process.env.WEBSITE_CANNONICAL_URL &&\n }\n\n \n
\n \n \n );\n}\n\nMeta.propTypes = {\n metadata: PropTypes.object,\n pagePath: PropTypes.string,\n};\n\nfunction generateCanonical(metadata, pagePath) {\n let canonical = metadata?.canonicalUrl;\n\n if (canonical == null) {\n canonical = pagePath;\n }\n\n return validURL(canonical) ? canonical : getCanonicalURL(canonical);\n}\n","export function validURL(str) {\n let pattern = new RegExp('^(https?:\\\\/\\\\/)?'+ // protocol\n '((([a-z\\\\d]([a-z\\\\d-]*[a-z\\\\d])*)\\\\.)+[a-z]{2,}|'+ // domain name\n '((\\\\d{1,3}\\\\.){3}\\\\d{1,3}))'+ // OR ip (v4) address\n '(\\\\:\\\\d+)?(\\\\/[-a-z\\\\d%_.~+]*)*'+ // port and path\n '(\\\\?[;&a-z\\\\d%_.~+=-]*)?'+ // query string\n '(\\\\#[-a-z\\\\d_]*)?$','i'); // fragment locator\n return !!pattern.test(str);\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.AmpStateContext = void 0;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _react = _interop_require_default(require(\"react\"));\nconst AmpStateContext = _react.default.createContext({});\nexports.AmpStateContext = AmpStateContext;\nif (process.env.NODE_ENV !== 'production') {\n AmpStateContext.displayName = 'AmpStateContext';\n}\n\n//# sourceMappingURL=amp-context.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isInAmpMode = isInAmpMode;\nfunction isInAmpMode({ ampFirst =false , hybrid =false , hasQuery =false , } = {}) {\n return ampFirst || hybrid && hasQuery;\n}\n\n//# sourceMappingURL=amp-mode.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.defaultHead = defaultHead;\nexports.default = void 0;\nvar _extends = require(\"@swc/helpers/lib/_extends.js\").default;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _interop_require_wildcard = require(\"@swc/helpers/lib/_interop_require_wildcard.js\").default;\nvar _react = _interop_require_wildcard(require(\"react\"));\nvar _sideEffect = _interop_require_default(require(\"./side-effect\"));\nvar _ampContext = require(\"./amp-context\");\nvar _headManagerContext = require(\"./head-manager-context\");\nvar _ampMode = require(\"./amp-mode\");\nvar _warnOnce = require(\"./utils/warn-once\");\n'use client';\nfunction defaultHead(inAmpMode = false) {\n const head = [\n /*#__PURE__*/ _react.default.createElement(\"meta\", {\n charSet: \"utf-8\"\n })\n ];\n if (!inAmpMode) {\n head.push(/*#__PURE__*/ _react.default.createElement(\"meta\", {\n name: \"viewport\",\n content: \"width=device-width\"\n }));\n }\n return head;\n}\nfunction onlyReactElement(list, child) {\n // React children can be \"string\" or \"number\" in this case we ignore them for backwards compat\n if (typeof child === 'string' || typeof child === 'number') {\n return list;\n }\n // Adds support for React.Fragment\n if (child.type === _react.default.Fragment) {\n return list.concat(_react.default.Children.toArray(child.props.children).reduce((fragmentList, fragmentChild)=>{\n if (typeof fragmentChild === 'string' || typeof fragmentChild === 'number') {\n return fragmentList;\n }\n return fragmentList.concat(fragmentChild);\n }, []));\n }\n return list.concat(child);\n}\nconst METATYPES = [\n 'name',\n 'httpEquiv',\n 'charSet',\n 'itemProp'\n];\n/*\n returns a function for filtering head child elements\n which shouldn't be duplicated, like \n Also adds support for deduplicated `key` properties\n*/ function unique() {\n const keys = new Set();\n const tags = new Set();\n const metaTypes = new Set();\n const metaCategories = {};\n return (h)=>{\n let isUnique = true;\n let hasKey = false;\n if (h.key && typeof h.key !== 'number' && h.key.indexOf('$') > 0) {\n hasKey = true;\n const key = h.key.slice(h.key.indexOf('$') + 1);\n if (keys.has(key)) {\n isUnique = false;\n } else {\n keys.add(key);\n }\n }\n // eslint-disable-next-line default-case\n switch(h.type){\n case 'title':\n case 'base':\n if (tags.has(h.type)) {\n isUnique = false;\n } else {\n tags.add(h.type);\n }\n break;\n case 'meta':\n for(let i = 0, len = METATYPES.length; i < len; i++){\n const metatype = METATYPES[i];\n if (!h.props.hasOwnProperty(metatype)) continue;\n if (metatype === 'charSet') {\n if (metaTypes.has(metatype)) {\n isUnique = false;\n } else {\n metaTypes.add(metatype);\n }\n } else {\n const category = h.props[metatype];\n const categories = metaCategories[metatype] || new Set();\n if ((metatype !== 'name' || !hasKey) && categories.has(category)) {\n isUnique = false;\n } else {\n categories.add(category);\n metaCategories[metatype] = categories;\n }\n }\n }\n break;\n }\n return isUnique;\n };\n}\n/**\n *\n * @param headChildrenElements List of children of <Head>\n */ function reduceComponents(headChildrenElements, props) {\n const { inAmpMode } = props;\n return headChildrenElements.reduce(onlyReactElement, []).reverse().concat(defaultHead(inAmpMode).reverse()).filter(unique()).reverse().map((c, i)=>{\n const key = c.key || i;\n if (process.env.NODE_ENV !== 'development' && process.env.__NEXT_OPTIMIZE_FONTS && !inAmpMode) {\n if (c.type === 'link' && c.props['href'] && // TODO(prateekbh@): Replace this with const from `constants` when the tree shaking works.\n [\n 'https://fonts.googleapis.com/css',\n 'https://use.typekit.net/'\n ].some((url)=>c.props['href'].startsWith(url))) {\n const newProps = _extends({}, c.props || {});\n newProps['data-href'] = newProps['href'];\n newProps['href'] = undefined;\n // Add this attribute to make it easy to identify optimized tags\n newProps['data-optimized-fonts'] = true;\n return /*#__PURE__*/ _react.default.cloneElement(c, newProps);\n }\n }\n if (process.env.NODE_ENV === 'development') {\n // omit JSON-LD structured data snippets from the warning\n if (c.type === 'script' && c.props['type'] !== 'application/ld+json') {\n const srcMessage = c.props['src'] ? `<script> tag with src=\"${c.props['src']}\"` : `inline <script>`;\n (0, _warnOnce).warnOnce(`Do not add <script> tags using next/head (see ${srcMessage}). Use next/script instead. \\nSee more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`);\n } else if (c.type === 'link' && c.props['rel'] === 'stylesheet') {\n (0, _warnOnce).warnOnce(`Do not add stylesheets using next/head (see <link rel=\"stylesheet\"> tag with href=\"${c.props['href']}\"). Use Document instead. \\nSee more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);\n }\n }\n return /*#__PURE__*/ _react.default.cloneElement(c, {\n key\n });\n });\n}\n/**\n * This component injects elements to `<head>` of your page.\n * To avoid duplicated `tags` in `<head>` you can use the `key` property, which will make sure every tag is only rendered once.\n */ function Head({ children }) {\n const ampState = (0, _react).useContext(_ampContext.AmpStateContext);\n const headManager = (0, _react).useContext(_headManagerContext.HeadManagerContext);\n return /*#__PURE__*/ _react.default.createElement(_sideEffect.default, {\n reduceComponentsToState: reduceComponents,\n headManager: headManager,\n inAmpMode: (0, _ampMode).isInAmpMode(ampState)\n }, children);\n}\nvar _default = Head;\nexports.default = _default;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=head.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = SideEffect;\nvar _interop_require_wildcard = require(\"@swc/helpers/lib/_interop_require_wildcard.js\").default;\nvar _react = _interop_require_wildcard(require(\"react\"));\nfunction SideEffect(props) {\n const { headManager , reduceComponentsToState } = props;\n function emitChange() {\n if (headManager && headManager.mountedInstances) {\n const headElements = _react.Children.toArray(Array.from(headManager.mountedInstances).filter(Boolean));\n headManager.updateHead(reduceComponentsToState(headElements, props));\n }\n }\n if (isServer) {\n var ref;\n headManager == null ? void 0 : (ref = headManager.mountedInstances) == null ? void 0 : ref.add(props.children);\n emitChange();\n }\n useClientOnlyLayoutEffect(()=>{\n var ref1;\n headManager == null ? void 0 : (ref1 = headManager.mountedInstances) == null ? void 0 : ref1.add(props.children);\n return ()=>{\n var ref;\n headManager == null ? void 0 : (ref = headManager.mountedInstances) == null ? void 0 : ref.delete(props.children);\n };\n });\n // We need to call `updateHead` method whenever the `SideEffect` is trigger in all\n // life-cycles: mount, update, unmount. However, if there are multiple `SideEffect`s\n // being rendered, we only trigger the method from the last one.\n // This is ensured by keeping the last unflushed `updateHead` in the `_pendingUpdate`\n // singleton in the layout effect pass, and actually trigger it in the effect pass.\n useClientOnlyLayoutEffect(()=>{\n if (headManager) {\n headManager._pendingUpdate = emitChange;\n }\n return ()=>{\n if (headManager) {\n headManager._pendingUpdate = emitChange;\n }\n };\n });\n useClientOnlyEffect(()=>{\n if (headManager && headManager._pendingUpdate) {\n headManager._pendingUpdate();\n headManager._pendingUpdate = null;\n }\n return ()=>{\n if (headManager && headManager._pendingUpdate) {\n headManager._pendingUpdate();\n headManager._pendingUpdate = null;\n }\n };\n });\n return null;\n}\nconst isServer = typeof window === 'undefined';\nconst useClientOnlyLayoutEffect = isServer ? ()=>{} : _react.useLayoutEffect;\nconst useClientOnlyEffect = isServer ? ()=>{} : _react.useEffect;\n\n//# sourceMappingURL=side-effect.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.warnOnce = void 0;\nlet warnOnce = (_)=>{};\nif (process.env.NODE_ENV !== 'production') {\n const warnings = new Set();\n exports.warnOnce = warnOnce = (msg)=>{\n if (!warnings.has(msg)) {\n console.warn(msg);\n }\n warnings.add(msg);\n };\n}\nexports.warnOnce = warnOnce;\n\n//# sourceMappingURL=warn-once.js.map","module.exports = require('./dist/shared/lib/head')\n","(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3140,2552],{42456:function(e,t,n){\"use strict\";function r(e,t){return t?\"https:\"+e+\"?\"+t:\"https:\"+e}t.ZP={buildContentfullImageUrl:r,buildContentfullImageUrlByHeight:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"auto\";return\"https:\"+e+\"?h=\"+t},buildContentfullImageUrlByWidth:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"auto\";return\"https:\"+e+\"?w=\"+t},imageContentfullDpr:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";return t?r(e,t):r(e)},imageContentfullSrc:function(e,t){return r(e,t)}}},23140:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return d}});n(67294);var r=n(42456);var a=n(8996),o=n(24036),i=n(9008),l=n.n(i),u=n(19271),s=n(85893);function d(e){var t,n=e.metadata,i=e.pagePath,d=null==n?void 0:n.metaTitle,c=null==n?void 0:n.metaDescription,p=null==n?void 0:n.metaKeywords,f=null==n?void 0:n.pageType,m=null==n?void 0:n.noIndex,h=null==n?void 0:n.noFollow,v=null==n?void 0:n.openGraphPageTitle,g=null==n?void 0:n.openGraphDescription,y=null==n||null==(t=n.socialsAccounts)?void 0:t.fields,x=[];x.push(m?\"noindex\":\"index\"),x.push(h?\"nofollow\":\"follow\");var j,b,k,w,_,P,U,C,S,I,O=null,A=null;n&&n.openGraphImage&&n.openGraphImage.fields&&(O=(0,u.H)(r.ZP.imageContentfullSrc(null==n||null==(j=n.openGraphImage)||null==(b=j.fields)||null==(k=b.asset)||null==(w=k.fields)||null==(_=w.file)?void 0:_.url)));n&&n.logo&&n.logo.fields&&(A=(0,u.H)(r.ZP.imageContentfullSrc(null==n||null==(P=n.logo)||null==(U=P.fields)||null==(C=U.asset)||null==(S=C.fields)||null==(I=S.file)?void 0:I.url)));var M=function(e,t){var n=null==e?void 0:e.canonicalUrl;null==n&&(n=t);return r=n,new RegExp(\"^(https?:\\\\/\\\\/)?((([a-z\\\\d]([a-z\\\\d-]*[a-z\\\\d])*)\\\\.)+[a-z]{2,}|((\\\\d{1,3}\\\\.){3}\\\\d{1,3}))(\\\\:\\\\d+)?(\\\\/[-a-z\\\\d%_.~+]*)*(\\\\?[;&a-z\\\\d%_.~+=-]*)?(\\\\#[-a-z\\\\d_]*)?$\",\"i\").test(r)?n:(0,a.DN)(n);var r}(n,i);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l(),{children:[(0,s.jsx)(\"meta\",{name:\"viewport\",content:\"width=device-width, initial-scale=1, minimum-scale=1\"}),(0,s.jsx)(\"title\",{children:d}),(0,s.jsx)(\"link\",{rel:\"manifest\",href:\"/static/manifest.webmanifest\",crossOrigin:\"use-credentials\"}),(0,s.jsx)(\"meta\",{charSet:\"UTF-8\"}),(0,s.jsx)(\"meta\",{name:\"description\",content:c}),(0,s.jsx)(\"meta\",{name:\"robots\",content:x}),(0,s.jsx)(\"meta\",{name:\"theme-color\",content:\"#0057B8\"}),(0,s.jsx)(\"meta\",{name:\"pagetype\",content:f}),p&&(0,s.jsx)(\"meta\",{name:\"keywords\",content:p}),v&&(0,s.jsx)(\"meta\",{property:\"og:title\",content:v}),g&&(0,s.jsx)(\"meta\",{property:\"og:description\",content:g}),O&&(0,s.jsx)(\"meta\",{property:\"og:image\",content:O}),M&&(0,s.jsx)(\"meta\",{property:\"og:url\",content:M}),M&&(0,s.jsx)(\"link\",{rel:\"canonical\",href:M})]}),(0,s.jsxs)(\"div\",{itemScope:!0,itemProp:\"Organization\",itemType:\"http://schema.org/Organization\",children:[M&&(0,s.jsx)(\"link\",{itemProp:\"url\",href:M}),(0,s.jsx)(\"link\",{itemProp:\"name\",content:o.XI.brand}),(0,s.jsx)(\"link\",{itemProp:\"parentOrganization\",content:o.XI.parentOrganization}),A&&(0,s.jsx)(\"link\",{itemProp:\"logo\",href:A}),y&&y.facebookUrl&&(0,s.jsx)(\"link\",{itemProp:\"sameAs\",href:y.facebookUrl}),y&&y.twitterUrl&&(0,s.jsx)(\"link\",{itemProp:\"sameAs\",href:y.twitterUrl}),y&&y.youtubeUrl&&(0,s.jsx)(\"link\",{itemProp:\"sameAs\",href:y.youtubeUrl}),y&&y.instagramUrl&&(0,s.jsx)(\"link\",{itemProp:\"sameAs\",href:y.instagramUrl})]}),(0,s.jsxs)(\"div\",{itemScope:!0,itemProp:\"WebSite\",itemType:\"http://schema.org/WebSite\",children:[(0,s.jsx)(\"link\",{itemProp:\"url\",href:\"https://www.oralb.com.sg/en-sg\"}),(0,s.jsx)(\"link\",{itemProp:\"name\",content:o.XI.brand})]})]})}},83582:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.AmpStateContext=void 0;var r=(0,n(92648).Z)(n(67294)).default.createContext({});t.AmpStateContext=r},80354:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.isInAmpMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,n=void 0!==t&&t,r=e.hybrid,a=void 0!==r&&r,o=e.hasQuery,i=void 0!==o&&o;return n||a&&i}},16505:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.defaultHead=d,t.default=void 0;var r=n(6495).Z,a=n(92648).Z,o=(0,n(91598).Z)(n(67294)),i=a(n(70148)),l=n(83582),u=n(60523),s=n(80354);n(92783);function d(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[o.default.createElement(\"meta\",{charSet:\"utf-8\"})];return e||t.push(o.default.createElement(\"meta\",{name:\"viewport\",content:\"width=device-width\"})),t}function c(e,t){return\"string\"==typeof t||\"number\"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((function(e,t){return\"string\"==typeof t||\"number\"==typeof t?e:e.concat(t)}),[])):e.concat(t)}var p=[\"name\",\"httpEquiv\",\"charSet\",\"itemProp\"];function f(e,t){var n,a,i,l,u=t.inAmpMode;return e.reduce(c,[]).reverse().concat(d(u).reverse()).filter((n=new Set,a=new Set,i=new Set,l={},function(e){var t=!0,r=!1;if(e.key&&\"number\"!=typeof e.key&&e.key.indexOf(\"$\")>0){r=!0;var o=e.key.slice(e.key.indexOf(\"$\")+1);n.has(o)?t=!1:n.add(o)}switch(e.type){case\"title\":case\"base\":a.has(e.type)?t=!1:a.add(e.type);break;case\"meta\":for(var u=0,s=p.length;u<s;u++){var d=p[u];if(e.props.hasOwnProperty(d))if(\"charSet\"===d)i.has(d)?t=!1:i.add(d);else{var c=e.props[d],f=l[d]||new Set;\"name\"===d&&r||!f.has(c)?(f.add(c),l[d]=f):t=!1}}}return t})).reverse().map((function(e,t){var n=e.key||t;if(!u&&\"link\"===e.type&&e.props.href&&[\"https://fonts.googleapis.com/css\",\"https://use.typekit.net/\"].some((function(t){return e.props.href.startsWith(t)}))){var a=r({},e.props||{});return a[\"data-href\"]=a.href,a.href=void 0,a[\"data-optimized-fonts\"]=!0,o.default.cloneElement(e,a)}return o.default.cloneElement(e,{key:n})}))}var m=function(e){var t=e.children,n=o.useContext(l.AmpStateContext),r=o.useContext(u.HeadManagerContext);return o.default.createElement(i.default,{reduceComponentsToState:f,headManager:r,inAmpMode:s.isInAmpMode(n)},t)};t.default=m,(\"function\"==typeof t.default||\"object\"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,\"__esModule\",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70148:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){var t=e.headManager,n=e.reduceComponentsToState;function l(){if(t&&t.mountedInstances){var a=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(a,e))}}if(a){var u;null==t||null==(u=t.mountedInstances)||u.add(e.children),l()}return o((function(){var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),function(){var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}})),o((function(){return t&&(t._pendingUpdate=l),function(){t&&(t._pendingUpdate=l)}})),i((function(){return t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),function(){t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}})),null};var r=(0,n(91598).Z)(n(67294));var a=!1,o=a?function(){}:r.useLayoutEffect,i=a?function(){}:r.useEffect},92783:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.warnOnce=void 0;t.warnOnce=function(e){}},9008:function(e,t,n){e.exports=n(16505)}}]);"],"names":["self","webpackChunk_N_E","push","e","t","n","r","ZP","buildContentfullImageUrl","buildContentfullImageUrlByHeight","arguments","length","buildContentfullImageUrlByWidth","imageContentfullDpr","imageContentfullSrc","d","default","a","o","i","l","u","s","metadata","pagePath","metaTitle","c","metaDescription","p","metaKeywords","f","pageType","m","noIndex","h","noFollow","v","openGraphPageTitle","g","openGraphDescription","y","socialsAccounts","fields","x","j","b","k","w","_","P","U","C","S","I","O","A","openGraphImage","H","asset","file","url","logo","M","canonicalUrl","test","DN","jsxs","Fragment","children","jsx","name","content","rel","href","crossOrigin","charSet","property","itemScope","itemProp","itemType","XI","brand","parentOrganization","facebookUrl","twitterUrl","youtubeUrl","instagramUrl","Object","defineProperty","value","AmpStateContext","Z","createContext","isInAmpMode","ampFirst","hybrid","hasQuery","defaultHead","createElement","type","concat","Children","toArray","props","reduce","inAmpMode","reverse","filter","Set","key","indexOf","slice","has","add","hasOwnProperty","map","some","startsWith","cloneElement","useContext","HeadManagerContext","reduceComponentsToState","headManager","__esModule","assign","exports","mountedInstances","Array","from","Boolean","updateHead","delete","_pendingUpdate","useLayoutEffect","useEffect","warnOnce"],"sourceRoot":""}