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MAAMviB,EAAEA,GAAGksB,EAAElsB,EAAEqQ,EAAE2b,GAAG6B,EAAExvB,iBAAiB2tB,EAAEhsB,GAAGmqD,EAAE,GAAGn+B,aAAahsB,CAAC,CAAC4qD,EAAEnyC,IAAIpI,EAAE,CAAC,OAAO3S,SAASwd,KAAK5Y,YAAYurB,GAAG,CAACvsB,OAAOusB,EAAE2/C,aAAarjB,EAAEqjB,aAAaC,cAActjB,EAAEsjB,cAAc,CAAC,SAAS34D,EAAEkX,GAAG,MAAM0hD,wBAAwB1tE,EAAEd,SAASwtB,EAAE,IAAIV,GAAG,CAAC,GAAG2hD,OAAOh/C,EAAE,IAAI3uB,GAAG,CAAC,EAAE,OAAO2uB,GAAGjC,CAAC,CAAC,SAASpK,EAAE0J,GAAG,MAAMhsB,EAAE,CAAC,EAAE,IAAI,MAAM0sB,EAAEiC,KAAKh0B,OAAOwS,QAAQ6e,GAAGzJ,EAAEhoB,IAAImyB,KAAK1sB,EAAE0sB,GAAGiC,GAAG,OAAO3uB,CAAC,CAAC,SAAS0uB,EAAE1C,GAAG,GAAGA,EAAE,MAAM,4BAA4B/kB,mBAAmB+kB,IAAI,CAAC,SAASE,EAAEF,EAAEhsB,EAAE0sB,GAAG,MAAMiC,EAAE5C,EAAEvxB,IAAIwF,IAAI,CAAC,EAAE,IAAI,MAAMA,KAAK,MAAM2uB,GAAG,OAAO9lB,EAAE8lB,EAAEjC,SAAI,EAAO7jB,EAAEglE,YAAY,GAAG,CAAC,IAAIhlE,EAAE7I,EAAEgsB,EAAE,CAACD,EAAE5wB,IAAI6E,EAAE,CAAC,CAAC0sB,GAAG,CAAC3M,MAAMiM,IAAI","sources":["webpack://frontend_destille_schneider/./node_modules/gatsby-page-utils/dist/apply-trailing-slash-option.js","webpack://frontend_destille_schneider/./node_modules/gatsby-react-router-scroll/index.js","webpack://frontend_destille_schneider/./node_modules/gatsby-react-router-scroll/scroll-handler.js","webpack://frontend_destille_schneider/./node_modules/gatsby-react-router-scroll/session-storage.js","webpack://frontend_destille_schneider/./node_modules/gatsby-react-router-scroll/use-scroll-restoration.js","webpack://frontend_destille_schneider/./node_modules/gatsby/dist/internal-plugins/partytown/gatsby-browser.js","webpack://frontend_destille_schneider/./node_modules/gatsby/dist/internal-plugins/partytown/utils/get-forwards.js","webpack://frontend_destille_schneider/./node_modules/gatsby/dist/internal-plugins/partytown/utils/inject-partytown-snippet.js","webpack://frontend_destille_schneider/./.cache/_this_is_virtual_fs_path_/$virtual/async-requires.js","webpack://frontend_destille_schneider/./.cache/api-runner-browser-plugins.js","webpack://frontend_destille_schneider/./.cache/api-runner-browser.js","webpack://frontend_destille_schneider/./.cache/create-content-digest-browser-shim.js","webpack://frontend_destille_schneider/./.cache/emitter.js","webpack://frontend_destille_schneider/./node_modules/mitt/dist/mitt.es.js","webpack://frontend_destille_schneider/./.cache/normalize-page-path.js","webpack://frontend_destille_schneider/./.cache/find-path.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/construct.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/isNativeFunction.js","webpack://frontend_destille_schneider/./.cache/slice/server-slice-renderer.js","webpack://frontend_destille_schneider/./.cache/slice/server-slice.js","webpack://frontend_destille_schneider/./.cache/slice/inline-slice.js","webpack://frontend_destille_schneider/./.cache/slice.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://frontend_destille_schneider/./.cache/gatsby-browser-entry.js","webpack://frontend_destille_schneider/./.cache/prefetch.js","webpack://frontend_destille_schneider/./.cache/loader.js","webpack://frontend_destille_schneider/./.cache/head/components/fire-callback-in-effect.js","webpack://frontend_destille_schneider/./.cache/head/constants.js","webpack://frontend_destille_schneider/./.cache/head/utils.js","webpack://frontend_destille_schneider/./.cache/head/head-export-handler-for-browser.js","webpack://frontend_destille_schneider/./.cache/page-renderer.js","webpack://frontend_destille_schneider/./.cache/route-announcer-props.js","webpack://frontend_destille_schneider/./.cache/navigation.js","webpack://frontend_destille_schneider/./node_modules/shallow-compare/es/index.js","webpack://frontend_destille_schneider/./.cache/ensure-resources.js","webpack://frontend_destille_schneider/./.cache/production-app.js","webpack://frontend_destille_schneider/./.cache/public-page-renderer-prod.js","webpack://frontend_destille_schneider/./.cache/public-page-renderer.js","webpack://frontend_destille_schneider/./.cache/react-dom-utils.js","webpack://frontend_destille_schneider/./.cache/redirect-utils.js","webpack://frontend_destille_schneider/./.cache/register-service-worker.js","webpack://frontend_destille_schneider/./.cache/slice/context.js","webpack://frontend_destille_schneider/./.cache/static-query.js","webpack://frontend_destille_schneider/./.cache/context-utils.js","webpack://frontend_destille_schneider/./.cache/strip-prefix.js","webpack://frontend_destille_schneider/./src/components/Layouts/RootLayout.js","webpack://frontend_destille_schneider/./gatsby-browser.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/default-options.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/gatsby-browser.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/helper.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/index.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/services/chatwoot.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/services/facebook.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/services/google-analytics.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/services/google-tag-manager.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/services/hotjar.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/services/index.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/services/linkedin.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-gdpr-cookies/services/tiktok.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-manifest/gatsby-browser.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-manifest/get-manifest-pathname.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-scroll-reveal-with-new-react/Wrapper.js","webpack://frontend_destille_schneider/./node_modules/gatsby-plugin-scroll-reveal-with-new-react/gatsby-browser.js","webpack://frontend_destille_schneider/./src/context/app-context.js","webpack://frontend_destille_schneider/./src/hooks/useWindowWidth.js","webpack://frontend_destille_schneider/./src/utils/google-analytics.js","webpack://frontend_destille_schneider/./src/utils/newsletterUtils.js","webpack://frontend_destille_schneider/./node_modules/uuid/dist/esm-browser/native.js","webpack://frontend_destille_schneider/./node_modules/uuid/dist/esm-browser/rng.js","webpack://frontend_destille_schneider/./node_modules/uuid/dist/esm-browser/stringify.js","webpack://frontend_destille_schneider/./node_modules/uuid/dist/esm-browser/v4.js","webpack://frontend_destille_schneider/./src/utils/strapi.js","webpack://frontend_destille_schneider/./node_modules/intersection-observer/intersection-observer.js","webpack://frontend_destille_schneider/./node_modules/invariant/browser.js","webpack://frontend_destille_schneider/./node_modules/lodash/_Hash.js","webpack://frontend_destille_schneider/./node_modules/lodash/_ListCache.js","webpack://frontend_destille_schneider/./node_modules/lodash/_Map.js","webpack://frontend_destille_schneider/./node_modules/lodash/_MapCache.js","webpack://frontend_destille_schneider/./node_modules/lodash/_Stack.js","webpack://frontend_destille_schneider/./node_modules/lodash/_Symbol.js","webpack://frontend_destille_schneider/./node_modules/lodash/_Uint8Array.js","webpack://frontend_destille_schneider/./node_modules/lodash/_apply.js","webpack://frontend_destille_schneider/./node_modules/lodash/_arrayLikeKeys.js","webpack://frontend_destille_schneider/./node_modules/lodash/_assignMergeValue.js","webpack://frontend_destille_schneider/./node_modules/lodash/_assignValue.js","webpack://frontend_destille_schneider/./node_modules/lodash/_assocIndexOf.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseAssignValue.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseCreate.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseFor.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseGetTag.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseIsArguments.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseIsNative.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseIsTypedArray.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseKeysIn.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseMerge.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseMergeDeep.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseRest.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseSetToString.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseTimes.js","webpack://frontend_destille_schneider/./node_modules/lodash/_baseUnary.js","webpack://frontend_destille_schneider/./node_modules/lodash/_cloneArrayBuffer.js","webpack://frontend_destille_schneider/./node_modules/lodash/_cloneBuffer.js","webpack://frontend_destille_schneider/./node_modules/lodash/_cloneTypedArray.js","webpack://frontend_destille_schneider/./node_modules/lodash/_copyArray.js","webpack://frontend_destille_schneider/./node_modules/lodash/_copyObject.js","webpack://frontend_destille_schneider/./node_modules/lodash/_coreJsData.js","webpack://frontend_destille_schneider/./node_modules/lodash/_createAssigner.js","webpack://frontend_destille_schneider/./node_modules/lodash/_createBaseFor.js","webpack://frontend_destille_schneider/./node_modules/lodash/_defineProperty.js","webpack://frontend_destille_schneider/./node_modules/lodash/_freeGlobal.js","webpack://frontend_destille_schneider/./node_modules/lodash/_getMapData.js","webpack://frontend_destille_schneider/./node_modules/lodash/_getNative.js","webpack://frontend_destille_schneider/./node_modules/lodash/_getPrototype.js","webpack://frontend_destille_schneider/./node_modules/lodash/_getRawTag.js","webpack://frontend_destille_schneider/./node_modules/lodash/_getValue.js","webpack://frontend_destille_schneider/./node_modules/lodash/_hashClear.js","webpack://frontend_destille_schneider/./node_modules/lodash/_hashDelete.js","webpack://frontend_destille_schneider/./node_modules/lodash/_hashGet.js","webpack://frontend_destille_schneider/./node_modules/lodash/_hashHas.js","webpack://frontend_destille_schneider/./node_modules/lodash/_hashSet.js","webpack://frontend_destille_schneider/./node_modules/lodash/_initCloneObject.js","webpack://frontend_destille_schneider/./node_modules/lodash/_isIndex.js","webpack://frontend_destille_schneider/./node_modules/lodash/_isIterateeCall.js","webpack://frontend_destille_schneider/./node_modules/lodash/_isKeyable.js","webpack://frontend_destille_schneider/./node_modules/lodash/_isMasked.js","webpack://frontend_destille_schneider/./node_modules/lodash/_isPrototype.js","webpack://frontend_destille_schneider/./node_modules/lodash/_listCacheClear.js","webpack://frontend_destille_schneider/./node_modules/lodash/_listCacheDelete.js","webpack://frontend_destille_schneider/./node_modules/lodash/_listCacheGet.js","webpack://frontend_destille_schneider/./node_modules/lodash/_listCacheHas.js","webpack://frontend_destille_schneider/./node_modules/lodash/_listCacheSet.js","webpack://frontend_destille_schneider/./node_modules/lodash/_mapCacheClear.js","webpack://frontend_destille_schneider/./node_modules/lodash/_mapCacheDelete.js","webpack://frontend_destille_schneider/./node_modules/lodash/_mapCacheGet.js","webpack://frontend_destille_schneider/./node_modules/lodash/_mapCacheHas.js","webpack://frontend_destille_schneider/./node_modules/lodash/_mapCacheSet.js","webpack://frontend_destille_schneider/./node_modules/lodash/_nativeCreate.js","webpack://frontend_destille_schneider/./node_modules/lodash/_nativeKeysIn.js","webpack://frontend_destille_schneider/./node_modules/lodash/_nodeUtil.js","webpack://frontend_destille_schneider/./node_modules/lodash/_objectToString.js","webpack://frontend_destille_schneider/./node_modules/lodash/_overArg.js","webpack://frontend_destille_schneider/./node_modules/lodash/_overRest.js","webpack://frontend_destille_schneider/./node_modules/lodash/_root.js","webpack://frontend_destille_schneider/./node_modules/lodash/_safeGet.js","webpack://frontend_destille_schneider/./node_modules/lodash/_setToString.js","webpack://frontend_destille_schneider/./node_modules/lodash/_shortOut.js","webpack://frontend_destille_schneider/./node_modules/lodash/_stackClear.js","webpack://frontend_destille_schneider/./node_modules/lodash/_stackDelete.js","webpack://frontend_destille_schneider/./node_modules/lodash/_stackGet.js","webpack://frontend_destille_schneider/./node_modules/lodash/_stackHas.js","webpack://frontend_destille_schneider/./node_modules/lodash/_stackSet.js","webpack://frontend_destille_schneider/./node_modules/lodash/_toSource.js","webpack://frontend_destille_schneider/./node_modules/lodash/constant.js","webpack://frontend_destille_schneider/./node_modules/lodash/eq.js","webpack://frontend_destille_schneider/./node_modules/lodash/identity.js","webpack://frontend_destille_schneider/./node_modules/lodash/isArguments.js","webpack://frontend_destille_schneider/./node_modules/lodash/isArray.js","webpack://frontend_destille_schneider/./node_modules/lodash/isArrayLike.js","webpack://frontend_destille_schneider/./node_modules/lodash/isArrayLikeObject.js","webpack://frontend_destille_schneider/./node_modules/lodash/isBuffer.js","webpack://frontend_destille_schneider/./node_modules/lodash/isFunction.js","webpack://frontend_destille_schneider/./node_modules/lodash/isLength.js","webpack://frontend_destille_schneider/./node_modules/lodash/isObject.js","webpack://frontend_destille_schneider/./node_modules/lodash/isObjectLike.js","webpack://frontend_destille_schneider/./node_modules/lodash/isPlainObject.js","webpack://frontend_destille_schneider/./node_modules/lodash/isTypedArray.js","webpack://frontend_destille_schneider/./node_modules/lodash/keysIn.js","webpack://frontend_destille_schneider/./node_modules/lodash/merge.js","webpack://frontend_destille_schneider/./node_modules/lodash/stubFalse.js","webpack://frontend_destille_schneider/./node_modules/lodash/toPlainObject.js","webpack://frontend_destille_schneider/./node_modules/react-ga4/dist/format.js","webpack://frontend_destille_schneider/./node_modules/react-ga4/dist/ga4.js","webpack://frontend_destille_schneider/./node_modules/react-ga4/dist/gtag.js","webpack://frontend_destille_schneider/./node_modules/react-ga4/dist/index.js","webpack://frontend_destille_schneider/./node_modules/react-server-dom-webpack/cjs/react-server-dom-webpack.production.min.js","webpack://frontend_destille_schneider/./node_modules/react-server-dom-webpack/index.js","webpack://frontend_destille_schneider/./node_modules/sal.js/dist/sal.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/assertThisInitialized.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/inheritsLoose.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/interopRequireDefault.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/interopRequireWildcard.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/setPrototypeOf.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/typeof.js","webpack://frontend_destille_schneider/./node_modules/@builder.io/partytown/integration/index.cjs","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://frontend_destille_schneider/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://frontend_destille_schneider/./node_modules/@gatsbyjs/reach-router/dist/index.modern.mjs","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/bind.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/utils.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/core/AxiosError.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/toFormData.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/AxiosURLSearchParams.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/buildURL.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/core/InterceptorManager.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/defaults/transitional.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/platform/browser/index.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/platform/browser/classes/URLSearchParams.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/platform/browser/classes/FormData.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/platform/browser/classes/Blob.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/platform/common/utils.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/platform/index.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/formDataToJSON.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/defaults/index.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/toURLEncodedForm.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/parseHeaders.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/core/AxiosHeaders.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/core/transformData.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/cancel/isCancel.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/cancel/CanceledError.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/cookies.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/core/buildFullPath.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/combineURLs.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/speedometer.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/adapters/xhr.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/adapters/adapters.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/null.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/core/settle.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/parseProtocol.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/core/dispatchRequest.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/core/mergeConfig.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/env/data.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/validator.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/core/Axios.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/cancel/CancelToken.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/HttpStatusCode.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/axios.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/spread.js","webpack://frontend_destille_schneider/./node_modules/axios/lib/helpers/isAxiosError.js","webpack://frontend_destille_schneider/./node_modules/gatsby-link/dist/index.modern.mjs","webpack://frontend_destille_schneider/./node_modules/gatsby-script/dist/index.modern.mjs"],"sourcesContent":["\"use strict\";\n\nexports.__esModule = true;\nexports.applyTrailingSlashOption = void 0;\nconst endsWithSuffixes = (suffixes, input) => {\n for (const suffix of suffixes) {\n if (input.endsWith(suffix)) return true;\n }\n return false;\n};\nconst suffixes = [`.html`, `.json`, `.js`, `.map`, `.txt`, `.xml`, `.pdf`];\nconst applyTrailingSlashOption = (input, option = `always`) => {\n if (input === `/`) return input;\n const hasTrailingSlash = input.endsWith(`/`);\n if (endsWithSuffixes(suffixes, input)) {\n return input;\n }\n if (option === `always`) {\n return hasTrailingSlash ? input : `${input}/`;\n }\n if (option === `never`) {\n return hasTrailingSlash ? input.slice(0, -1) : input;\n }\n return input;\n};\nexports.applyTrailingSlashOption = applyTrailingSlashOption;","\"use strict\";\n\nexports.__esModule = true;\nexports.useScrollRestoration = exports.ScrollContext = void 0;\nvar _scrollHandler = require(\"./scroll-handler\");\nexports.ScrollContext = _scrollHandler.ScrollHandler;\nvar _useScrollRestoration = require(\"./use-scroll-restoration\");\nexports.useScrollRestoration = _useScrollRestoration.useScrollRestoration;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nexports.__esModule = true;\nexports.ScrollHandler = exports.ScrollContext = void 0;\nvar _assertThisInitialized2 = _interopRequireDefault(require(\"@babel/runtime/helpers/assertThisInitialized\"));\nvar _inheritsLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inheritsLoose\"));\nvar React = _interopRequireWildcard(require(\"react\"));\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\nvar _sessionStorage = require(\"./session-storage\");\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\nvar ScrollContext = /*#__PURE__*/React.createContext(new _sessionStorage.SessionStorage());\nexports.ScrollContext = ScrollContext;\nScrollContext.displayName = \"GatsbyScrollContext\";\nvar ScrollHandler = /*#__PURE__*/function (_React$Component) {\n (0, _inheritsLoose2.default)(ScrollHandler, _React$Component);\n function ScrollHandler() {\n var _this;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this._stateStorage = new _sessionStorage.SessionStorage();\n _this._isTicking = false;\n _this._latestKnownScrollY = 0;\n _this.scrollListener = function () {\n _this._latestKnownScrollY = window.scrollY;\n if (!_this._isTicking) {\n _this._isTicking = true;\n requestAnimationFrame(_this._saveScroll.bind((0, _assertThisInitialized2.default)(_this)));\n }\n };\n _this.windowScroll = function (position, prevProps) {\n if (_this.shouldUpdateScroll(prevProps, _this.props)) {\n window.scrollTo(0, position);\n }\n };\n _this.scrollToHash = function (hash, prevProps) {\n var node = document.getElementById(hash.substring(1));\n if (node && _this.shouldUpdateScroll(prevProps, _this.props)) {\n node.scrollIntoView();\n }\n };\n _this.shouldUpdateScroll = function (prevRouterProps, routerProps) {\n var shouldUpdateScroll = _this.props.shouldUpdateScroll;\n if (!shouldUpdateScroll) {\n return true;\n }\n\n // Hack to allow accessing this._stateStorage.\n return shouldUpdateScroll.call((0, _assertThisInitialized2.default)(_this), prevRouterProps, routerProps);\n };\n return _this;\n }\n var _proto = ScrollHandler.prototype;\n _proto._saveScroll = function _saveScroll() {\n var key = this.props.location.key || null;\n if (key) {\n this._stateStorage.save(this.props.location, key, this._latestKnownScrollY);\n }\n this._isTicking = false;\n };\n _proto.componentDidMount = function componentDidMount() {\n window.addEventListener(\"scroll\", this.scrollListener);\n var scrollPosition;\n var _this$props$location = this.props.location,\n key = _this$props$location.key,\n hash = _this$props$location.hash;\n if (key) {\n scrollPosition = this._stateStorage.read(this.props.location, key);\n }\n\n /** If a hash is present in the browser url as the component mounts (i.e. the user is navigating\n * from an external website) then scroll to the hash instead of any previously stored scroll\n * position. */\n if (hash) {\n this.scrollToHash(decodeURI(hash), undefined);\n } else if (scrollPosition) {\n this.windowScroll(scrollPosition, undefined);\n }\n };\n _proto.componentWillUnmount = function componentWillUnmount() {\n window.removeEventListener(\"scroll\", this.scrollListener);\n };\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var _this$props$location2 = this.props.location,\n hash = _this$props$location2.hash,\n key = _this$props$location2.key;\n var scrollPosition;\n if (key) {\n scrollPosition = this._stateStorage.read(this.props.location, key);\n }\n\n /** There are two pieces of state: the browser url and\n * history state which keeps track of scroll position\n * Native behaviour prescribes that we ought to restore scroll position\n * when a user navigates back in their browser (this is the `POP` action)\n * Currently, reach router has a bug that prevents this at https://github.com/reach/router/issues/228\n * So we _always_ stick to the url as a source of truth — if the url\n * contains a hash, we scroll to it\n */\n\n if (hash) {\n this.scrollToHash(decodeURI(hash), prevProps);\n } else {\n this.windowScroll(scrollPosition, prevProps);\n }\n };\n _proto.render = function render() {\n return /*#__PURE__*/React.createElement(ScrollContext.Provider, {\n value: this._stateStorage\n }, this.props.children);\n };\n return ScrollHandler;\n}(React.Component);\nexports.ScrollHandler = ScrollHandler;\nScrollHandler.propTypes = {\n shouldUpdateScroll: _propTypes.default.func,\n children: _propTypes.default.element.isRequired,\n location: _propTypes.default.object.isRequired\n};","\"use strict\";\n\nexports.__esModule = true;\nexports.SessionStorage = void 0;\nvar STATE_KEY_PREFIX = \"@@scroll|\";\nvar GATSBY_ROUTER_SCROLL_STATE = \"___GATSBY_REACT_ROUTER_SCROLL\";\nvar SessionStorage = /*#__PURE__*/function () {\n function SessionStorage() {}\n var _proto = SessionStorage.prototype;\n _proto.read = function read(location, key) {\n var stateKey = this.getStateKey(location, key);\n try {\n var value = window.sessionStorage.getItem(stateKey);\n return value ? JSON.parse(value) : 0;\n } catch (e) {\n if (process.env.NODE_ENV !== \"production\") {\n console.warn(\"[gatsby-react-router-scroll] Unable to access sessionStorage; sessionStorage is not available.\");\n }\n if (window && window[GATSBY_ROUTER_SCROLL_STATE] && window[GATSBY_ROUTER_SCROLL_STATE][stateKey]) {\n return window[GATSBY_ROUTER_SCROLL_STATE][stateKey];\n }\n return 0;\n }\n };\n _proto.save = function save(location, key, value) {\n var stateKey = this.getStateKey(location, key);\n var storedValue = JSON.stringify(value);\n try {\n window.sessionStorage.setItem(stateKey, storedValue);\n } catch (e) {\n if (window && window[GATSBY_ROUTER_SCROLL_STATE]) {\n window[GATSBY_ROUTER_SCROLL_STATE][stateKey] = JSON.parse(storedValue);\n } else {\n window[GATSBY_ROUTER_SCROLL_STATE] = {};\n window[GATSBY_ROUTER_SCROLL_STATE][stateKey] = JSON.parse(storedValue);\n }\n if (process.env.NODE_ENV !== \"production\") {\n console.warn(\"[gatsby-react-router-scroll] Unable to save state in sessionStorage; sessionStorage is not available.\");\n }\n }\n };\n _proto.getStateKey = function getStateKey(location, key) {\n var stateKeyBase = \"\" + STATE_KEY_PREFIX + location.pathname;\n return key === null || typeof key === \"undefined\" ? stateKeyBase : stateKeyBase + \"|\" + key;\n };\n return SessionStorage;\n}();\nexports.SessionStorage = SessionStorage;","\"use strict\";\n\nexports.__esModule = true;\nexports.useScrollRestoration = useScrollRestoration;\nvar _scrollHandler = require(\"./scroll-handler\");\nvar _react = require(\"react\");\nvar _reachRouter = require(\"@gatsbyjs/reach-router\");\nfunction useScrollRestoration(identifier) {\n var location = (0, _reachRouter.useLocation)();\n var state = (0, _react.useContext)(_scrollHandler.ScrollContext);\n var ref = (0, _react.useRef)(null);\n (0, _react.useLayoutEffect)(function () {\n if (ref.current) {\n var position = state.read(location, identifier);\n ref.current.scrollTo(0, position || 0);\n }\n }, [location.key]);\n return {\n ref: ref,\n onScroll: function onScroll() {\n if (ref.current) {\n state.save(location, identifier, ref.current.scrollTop);\n }\n }\n };\n}","\"use strict\";\n\nexports.__esModule = true;\nexports.onInitialClientRender = void 0;\nvar _gatsbyScript = require(\"gatsby-script\");\nvar _injectPartytownSnippet = require(\"./utils/inject-partytown-snippet\");\n// Makes sure off-main-thread scripts are loaded in `gatsby develop`\nconst onInitialClientRender = () => {\n if (process.env.NODE_ENV !== `development`) {\n return;\n }\n (0, _injectPartytownSnippet.injectPartytownSnippet)(_gatsbyScript.collectedScriptsByPage.get(window.location.pathname));\n\n // Clear scripts after we've used them to avoid leaky behavior\n _gatsbyScript.collectedScriptsByPage.delete(window.location.pathname);\n};\n\n// Client-side navigation (CSR, e.g. Gatsby Link navigations) are broken upstream in Partytown.\n// We need an official API from Partytown for handling re-configuration and on-demand script loading.\n// Until then, `off-main-thread` scripts load only on server-side navigation (SSR).\n// See https://github.com/BuilderIO/partytown/issues/74 for more details.\nexports.onInitialClientRender = onInitialClientRender;\n//# sourceMappingURL=gatsby-browser.js.map","\"use strict\";\n\nexports.__esModule = true;\nexports.getForwards = getForwards;\nfunction getForwards(collectedScripts) {\n return collectedScripts === null || collectedScripts === void 0 ? void 0 : collectedScripts.flatMap(script => (script === null || script === void 0 ? void 0 : script.forward) || []);\n}\n//# sourceMappingURL=get-forwards.js.map","\"use strict\";\n\nexports.__esModule = true;\nexports.injectPartytownSnippet = injectPartytownSnippet;\nvar _integration = require(\"@builder.io/partytown/integration\");\nvar _getForwards = require(\"./get-forwards\");\n// Adapted from https://github.com/BuilderIO/partytown/blob/main/src/react/snippet.tsx to only include CSR logic\nfunction injectPartytownSnippet(collectedScripts) {\n if (!collectedScripts.length) {\n return;\n }\n const existingSnippet = document.querySelector(`script[data-partytown]`);\n const existingSandbox = document.querySelector(`iframe[src*=\"~partytown/partytown-sandbox-sw\"]`);\n if (existingSnippet) {\n existingSnippet.remove();\n }\n if (existingSandbox) {\n existingSandbox.remove();\n }\n const forwards = (0, _getForwards.getForwards)(collectedScripts);\n const snippet = document.createElement(`script`);\n snippet.dataset.partytown = ``;\n snippet.innerHTML = (0, _integration.partytownSnippet)({\n forward: forwards\n });\n document.head.appendChild(snippet);\n}\n//# sourceMappingURL=inject-partytown-snippet.js.map","exports.components = {\n \"component---src-pages-404-js\": () => import(\"./../../../src/pages/404.js\" /* webpackChunkName: \"component---src-pages-404-js\" */),\n \"component---src-pages-de-404-js\": () => import(\"./../../../src/pages/de/404.js\" /* webpackChunkName: \"component---src-pages-de-404-js\" */),\n \"component---src-pages-de-contact-js\": () => import(\"./../../../src/pages/de/Contact.js\" /* webpackChunkName: \"component---src-pages-de-contact-js\" */),\n \"component---src-pages-de-dummy-js\": () => import(\"./../../../src/pages/de/dummy.js\" /* webpackChunkName: \"component---src-pages-de-dummy-js\" */),\n \"component---src-pages-de-events-index-js\": () => import(\"./../../../src/pages/de/Events/index.js\" /* webpackChunkName: \"component---src-pages-de-events-index-js\" */),\n \"component---src-pages-de-index-js\": () => import(\"./../../../src/pages/de/index.js\" /* webpackChunkName: \"component---src-pages-de-index-js\" */),\n \"component---src-pages-de-legal-imprint-js\": () => import(\"./../../../src/pages/de/Legal/Imprint.js\" /* webpackChunkName: \"component---src-pages-de-legal-imprint-js\" */),\n \"component---src-pages-de-legal-payment-methods-js\": () => import(\"./../../../src/pages/de/Legal/Payment-Methods.js\" /* webpackChunkName: \"component---src-pages-de-legal-payment-methods-js\" */),\n \"component---src-pages-de-legal-privacy-policy-js\": () => import(\"./../../../src/pages/de/Legal/Privacy-Policy.js\" /* webpackChunkName: \"component---src-pages-de-legal-privacy-policy-js\" */),\n \"component---src-pages-de-legal-shipping-js\": () => import(\"./../../../src/pages/de/Legal/Shipping.js\" /* webpackChunkName: \"component---src-pages-de-legal-shipping-js\" */),\n \"component---src-pages-de-legal-terms-and-conditions-js\": () => import(\"./../../../src/pages/de/Legal/Terms-And-Conditions.js\" /* webpackChunkName: \"component---src-pages-de-legal-terms-and-conditions-js\" */),\n \"component---src-pages-de-legal-withdrawal-js\": () => import(\"./../../../src/pages/de/Legal/Withdrawal.js\" /* webpackChunkName: \"component---src-pages-de-legal-withdrawal-js\" */),\n \"component---src-pages-de-media-js\": () => import(\"./../../../src/pages/de/Media.js\" /* webpackChunkName: \"component---src-pages-de-media-js\" */),\n \"component---src-pages-de-newsletter-confirmed-js\": () => import(\"./../../../src/pages/de/NewsletterConfirmed.js\" /* webpackChunkName: \"component---src-pages-de-newsletter-confirmed-js\" */),\n \"component---src-pages-de-partner-js\": () => import(\"./../../../src/pages/de/Partner.js\" /* webpackChunkName: \"component---src-pages-de-partner-js\" */),\n \"component---src-pages-de-private-label-js\": () => import(\"./../../../src/pages/de/Private-Label.js\" /* webpackChunkName: \"component---src-pages-de-private-label-js\" */),\n \"component---src-pages-de-shop-checkout-js\": () => import(\"./../../../src/pages/de/Shop/Checkout.js\" /* webpackChunkName: \"component---src-pages-de-shop-checkout-js\" */),\n \"component---src-pages-de-shop-index-js\": () => import(\"./../../../src/pages/de/Shop/index.js\" /* webpackChunkName: \"component---src-pages-de-shop-index-js\" */),\n \"component---src-pages-de-shop-order-js\": () => import(\"./../../../src/pages/de/Shop/Order.js\" /* webpackChunkName: \"component---src-pages-de-shop-order-js\" */),\n \"component---src-pages-de-shop-products-js\": () => import(\"./../../../src/pages/de/Shop/Products.js\" /* webpackChunkName: \"component---src-pages-de-shop-products-js\" */),\n \"component---src-pages-de-version-js\": () => import(\"./../../../src/pages/de/Version.js\" /* webpackChunkName: \"component---src-pages-de-version-js\" */),\n \"component---src-pages-index-js\": () => import(\"./../../../src/pages/index.js\" /* webpackChunkName: \"component---src-pages-index-js\" */),\n \"component---src-templates-bundle-template-js\": () => import(\"./../../../src/templates/BundleTemplate.js\" /* webpackChunkName: \"component---src-templates-bundle-template-js\" */),\n \"component---src-templates-edition-template-js\": () => import(\"./../../../src/templates/EditionTemplate.js\" /* webpackChunkName: \"component---src-templates-edition-template-js\" */),\n \"component---src-templates-news-template-js\": () => import(\"./../../../src/templates/NewsTemplate.js\" /* webpackChunkName: \"component---src-templates-news-template-js\" */),\n \"component---src-templates-product-template-js\": () => import(\"./../../../src/templates/ProductTemplate.js\" /* webpackChunkName: \"component---src-templates-product-template-js\" */),\n \"component---src-templates-status-template-js\": () => import(\"./../../../src/templates/StatusTemplate.js\" /* webpackChunkName: \"component---src-templates-status-template-js\" */),\n \"component---src-templates-veranstaltungs-template-js\": () => import(\"./../../../src/templates/VeranstaltungsTemplate.js\" /* webpackChunkName: \"component---src-templates-veranstaltungs-template-js\" */)\n}\n\n","module.exports = [{\n plugin: require('../node_modules/gatsby-plugin-scroll-reveal-with-new-react/gatsby-browser.js'),\n options: {\"plugins\":[],\"threshold\":0.3,\"once\":true,\"disable\":false,\"selector\":\"[data-sal]\",\"animateClassName\":\"sal-animate\",\"disabledClassName\":\"sal-disabled\",\"rootMargin\":\"0% 50%\",\"enterEventName\":\"sal:in\",\"exitEventName\":\"sal:out\"},\n },{\n plugin: require('../node_modules/gatsby-plugin-manifest/gatsby-browser.js'),\n options: {\"plugins\":[],\"icon\":\"src/assets/img/Logo/Favicon.jpg\",\"legacy\":true,\"theme_color_in_head\":true,\"cache_busting_mode\":\"query\",\"crossOrigin\":\"anonymous\",\"include_favicon\":true,\"cacheDigest\":\"301a52bf52f93ef481ffe3e58749d28d\"},\n },{\n plugin: require('../node_modules/gatsby-plugin-gdpr-cookies/gatsby-browser.js'),\n options: {\"plugins\":[],\"googleAnalytics\":{\"trackingId\":\"G-34DZ927854\",\"cookieName\":\"gatsby-gdpr-google-analytics\",\"anonymize\":true},\"environments\":[\"production\",\"development\"]},\n },{\n plugin: require('../gatsby-browser.js'),\n options: {\"plugins\":[]},\n },{\n plugin: require('../node_modules/gatsby/dist/internal-plugins/partytown/gatsby-browser.js'),\n options: {\"plugins\":[]},\n }]\n","const plugins = require(`./api-runner-browser-plugins`)\nconst { getResourceURLsForPathname, loadPage, loadPageSync } =\n require(`./loader`).publicLoader\n\nexports.apiRunner = (api, args = {}, defaultReturn, argTransform) => {\n // Hooks for gatsby-cypress's API handler\n if (process.env.CYPRESS_SUPPORT) {\n if (window.___apiHandler) {\n window.___apiHandler(api)\n } else if (window.___resolvedAPIs) {\n window.___resolvedAPIs.push(api)\n } else {\n window.___resolvedAPIs = [api]\n }\n }\n\n let results = plugins.map(plugin => {\n if (!plugin.plugin[api]) {\n return undefined\n }\n\n args.getResourceURLsForPathname = getResourceURLsForPathname\n args.loadPage = loadPage\n args.loadPageSync = loadPageSync\n\n const result = plugin.plugin[api](args, plugin.options)\n if (result && argTransform) {\n args = argTransform({ args, result, plugin })\n }\n return result\n })\n\n // Filter out undefined results.\n results = results.filter(result => typeof result !== `undefined`)\n\n if (results.length > 0) {\n return results\n } else if (defaultReturn) {\n return [defaultReturn]\n } else {\n return []\n }\n}\n\nexports.apiRunnerAsync = (api, args, defaultReturn) =>\n plugins.reduce(\n (previous, next) =>\n next.plugin[api]\n ? previous.then(() => next.plugin[api](args, next.options))\n : previous,\n Promise.resolve()\n )\n","exports.createContentDigest = () => ``\n","import mitt from \"mitt\"\n\nconst emitter = mitt()\nexport default emitter\n","// \n// An event handler can take an optional event argument\n// and should not return a value\n \n \n\n// An array of all currently registered event handlers for a type\n \n \n// A map of event types and their corresponding event handlers.\n \n \n \n \n\n/** Mitt: Tiny (~200b) functional event emitter / pubsub.\n * @name mitt\n * @returns {Mitt}\n */\nfunction mitt(all ) {\n\tall = all || Object.create(null);\n\n\treturn {\n\t\t/**\n\t\t * Register an event handler for the given type.\n\t\t *\n\t\t * @param {String} type\tType of event to listen for, or `\"*\"` for all events\n\t\t * @param {Function} handler Function to call in response to given event\n\t\t * @memberOf mitt\n\t\t */\n\t\ton: function on(type , handler ) {\n\t\t\t(all[type] || (all[type] = [])).push(handler);\n\t\t},\n\n\t\t/**\n\t\t * Remove an event handler for the given type.\n\t\t *\n\t\t * @param {String} type\tType of event to unregister `handler` from, or `\"*\"`\n\t\t * @param {Function} handler Handler function to remove\n\t\t * @memberOf mitt\n\t\t */\n\t\toff: function off(type , handler ) {\n\t\t\tif (all[type]) {\n\t\t\t\tall[type].splice(all[type].indexOf(handler) >>> 0, 1);\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Invoke all handlers for the given type.\n\t\t * If present, `\"*\"` handlers are invoked after type-matched handlers.\n\t\t *\n\t\t * @param {String} type The event type to invoke\n\t\t * @param {Any} [evt] Any value (object is recommended and powerful), passed to each handler\n\t\t * @memberOf mitt\n\t\t */\n\t\temit: function emit(type , evt ) {\n\t\t\t(all[type] || []).slice().map(function (handler) { handler(evt); });\n\t\t\t(all['*'] || []).slice().map(function (handler) { handler(type, evt); });\n\t\t}\n\t};\n}\n\nexport default mitt;\n//# sourceMappingURL=mitt.es.js.map\n","export default pathAndSearch => {\n if (pathAndSearch === undefined) {\n return pathAndSearch\n }\n let [path, search = ``] = pathAndSearch.split(`?`)\n if (search) {\n search = `?` + search\n }\n\n if (path === `/`) {\n return `/` + search\n }\n if (path.charAt(path.length - 1) === `/`) {\n return path.slice(0, -1) + search\n }\n return path + search\n}\n","import { pick } from \"@gatsbyjs/reach-router\"\nimport stripPrefix from \"./strip-prefix\"\nimport normalizePagePath from \"./normalize-page-path\"\nimport { maybeGetBrowserRedirect } from \"./redirect-utils.js\"\n\nconst pathCache = new Map()\nlet matchPaths = []\n\nconst trimPathname = rawPathname => {\n let newRawPathname = rawPathname\n const queryIndex = rawPathname.indexOf(`?`)\n\n if (queryIndex !== -1) {\n const [path, qs] = rawPathname.split(`?`)\n newRawPathname = `${path}?${encodeURIComponent(qs)}`\n }\n\n const pathname = decodeURIComponent(newRawPathname)\n\n // Remove the pathPrefix from the pathname.\n const trimmedPathname = stripPrefix(\n pathname,\n decodeURIComponent(__BASE_PATH__)\n )\n // Remove any hashfragment\n .split(`#`)[0]\n\n return trimmedPathname\n}\n\nfunction absolutify(path) {\n // If it's already absolute, return as-is\n if (\n path.startsWith(`/`) ||\n path.startsWith(`https://`) ||\n path.startsWith(`http://`)\n ) {\n return path\n }\n // Calculate path relative to current location, adding a trailing slash to\n // match behavior of @reach/router\n return new URL(\n path,\n window.location.href + (window.location.href.endsWith(`/`) ? `` : `/`)\n ).pathname\n}\n\n/**\n * Set list of matchPaths\n *\n * @param {Array<{path: string, matchPath: string}>} value collection of matchPaths\n */\nexport const setMatchPaths = value => {\n matchPaths = value\n}\n\n/**\n * Return a matchpath url\n * if `match-paths.json` contains `{ \"/foo*\": \"/page1\", ...}`, then\n * `/foo?bar=far` => `/page1`\n *\n * @param {string} rawPathname A raw pathname\n * @return {string|null}\n */\nexport const findMatchPath = rawPathname => {\n const trimmedPathname = cleanPath(rawPathname)\n\n const pickPaths = matchPaths.map(({ path, matchPath }) => {\n return {\n path: matchPath,\n originalPath: path,\n }\n })\n\n const path = pick(pickPaths, trimmedPathname)\n\n if (path) {\n return normalizePagePath(path.route.originalPath)\n }\n\n return null\n}\n\n/**\n * Return a matchpath params from reach/router rules\n * if `match-paths.json` contains `{ \":bar/*foo\" }`, and the path is /baz/zaz/zoo\n * then it returns\n * { bar: baz, foo: zaz/zoo }\n *\n * @param {string} rawPathname A raw pathname\n * @return {object}\n */\nexport const grabMatchParams = rawPathname => {\n const trimmedPathname = cleanPath(rawPathname)\n\n const pickPaths = matchPaths.map(({ path, matchPath }) => {\n return {\n path: matchPath,\n originalPath: path,\n }\n })\n\n const path = pick(pickPaths, trimmedPathname)\n\n if (path) {\n return path.params\n }\n\n return {}\n}\n\n// Given a raw URL path, returns the cleaned version of it (trim off\n// `#` and query params), or if it matches an entry in\n// `match-paths.json`, its matched path is returned\n//\n// E.g. `/foo?bar=far` => `/foo`\n//\n// Or if `match-paths.json` contains `{ \"/foo*\": \"/page1\", ...}`, then\n// `/foo?bar=far` => `/page1`\nexport const findPath = rawPathname => {\n const trimmedPathname = trimPathname(absolutify(rawPathname))\n if (pathCache.has(trimmedPathname)) {\n return pathCache.get(trimmedPathname)\n }\n\n const redirect = maybeGetBrowserRedirect(rawPathname)\n if (redirect) {\n return findPath(redirect.toPath)\n }\n\n let foundPath = findMatchPath(trimmedPathname)\n\n if (!foundPath) {\n foundPath = cleanPath(rawPathname)\n }\n\n pathCache.set(trimmedPathname, foundPath)\n\n return foundPath\n}\n\n/**\n * Clean a url and converts /index.html => /\n * E.g. `/foo?bar=far` => `/foo`\n *\n * @param {string} rawPathname A raw pathname\n * @return {string}\n */\nexport const cleanPath = rawPathname => {\n const trimmedPathname = trimPathname(absolutify(rawPathname))\n\n let foundPath = trimmedPathname\n if (foundPath === `/index.html`) {\n foundPath = `/`\n }\n\n foundPath = normalizePagePath(foundPath)\n\n return foundPath\n}\n","export default function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nexport default function _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n _construct = Reflect.construct.bind();\n } else {\n _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n };\n }\n return _construct.apply(null, arguments);\n}","export default function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeFunction from \"./isNativeFunction.js\";\nimport construct from \"./construct.js\";\nexport default function _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n _cache.set(Class, Wrapper);\n }\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n };\n return _wrapNativeSuper(Class);\n}","export default function _isNativeFunction(fn) {\n try {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n } catch (e) {\n return typeof fn === \"function\";\n }\n}","import React from \"react\"\n\nexport const ServerSliceRenderer = ({ sliceId, children }) => {\n const contents = [\n React.createElement(`slice-start`, {\n id: `${sliceId}-1`,\n }),\n React.createElement(`slice-end`, {\n id: `${sliceId}-1`,\n }),\n ]\n\n if (children) {\n // if children exist, we split the slice into a before and after piece\n // see renderSlices in render-html\n contents.push(children)\n contents.push(\n React.createElement(`slice-start`, {\n id: `${sliceId}-2`,\n }),\n React.createElement(`slice-end`, {\n id: `${sliceId}-2`,\n })\n )\n }\n\n return contents\n}\n","import React, { useContext } from \"react\"\nimport { createContentDigest } from \"gatsby-core-utils/create-content-digest\"\nimport { SlicesMapContext, SlicesPropsContext } from \"./context\"\nimport { ServerSliceRenderer } from \"./server-slice-renderer\"\n\nconst getSliceId = (sliceName, sliceProps) => {\n if (!Object.keys(sliceProps).length) {\n return sliceName\n }\n\n const propsString = createContentDigest(sliceProps)\n return `${sliceName}-${propsString}`\n}\n\nexport const ServerSlice = ({\n sliceName,\n allowEmpty,\n children,\n ...sliceProps\n}) => {\n const slicesMap = useContext(SlicesMapContext)\n const slicesProps = useContext(SlicesPropsContext)\n const concreteSliceName = slicesMap[sliceName]\n\n if (!concreteSliceName) {\n if (allowEmpty) {\n return null\n } else {\n throw new Error(\n `Slice \"${concreteSliceName}\" for \"${sliceName}\" slot not found`\n )\n }\n }\n\n const sliceId = getSliceId(concreteSliceName, sliceProps)\n\n // set props on context object for static-entry to return\n let sliceUsage = slicesProps[sliceId]\n if (!sliceUsage) {\n slicesProps[sliceId] = sliceUsage = {\n props: sliceProps,\n sliceName: concreteSliceName,\n hasChildren: !!children,\n }\n } else {\n if (children) {\n sliceUsage.hasChildren = true\n }\n }\n\n return {children}\n}\n","import React, { useContext } from \"react\"\nimport { SlicesMapContext, SlicesResultsContext } from \"./context\"\n\nexport const InlineSlice = ({\n sliceName,\n allowEmpty,\n children,\n ...sliceProps\n}) => {\n const slicesMap = useContext(SlicesMapContext)\n const slicesResultsMap = useContext(SlicesResultsContext)\n const concreteSliceName = slicesMap[sliceName]\n const slice = slicesResultsMap.get(concreteSliceName)\n\n if (!slice) {\n if (allowEmpty) {\n return null\n } else {\n throw new Error(\n `Slice \"${concreteSliceName}\" for \"${sliceName}\" slot not found`\n )\n }\n }\n\n return (\n \n {children}\n \n )\n}\n","\"use client\"\n\nimport React, { useContext } from \"react\"\nimport { ServerSlice } from \"./slice/server-slice\"\nimport { InlineSlice } from \"./slice/inline-slice\"\nimport { SlicesContext } from \"./slice/context\"\n\nexport function Slice(props) {\n if (process.env.GATSBY_SLICES) {\n // we use sliceName internally, so remap alias to sliceName\n const internalProps = {\n ...props,\n sliceName: props.alias,\n }\n delete internalProps.alias\n delete internalProps.__renderedByLocation\n\n const slicesContext = useContext(SlicesContext)\n\n // validate props\n const propErrors = validateSliceProps(props)\n if (Object.keys(propErrors).length) {\n throw new SlicePropsError(\n slicesContext.renderEnvironment === `browser`,\n internalProps.sliceName,\n propErrors,\n props.__renderedByLocation\n )\n }\n\n if (slicesContext.renderEnvironment === `server`) {\n return \n } else if (slicesContext.renderEnvironment === `browser`) {\n // in the browser, we'll just render the component as is\n return \n } else if (\n slicesContext.renderEnvironment === `engines` ||\n slicesContext.renderEnvironment === `dev-ssr`\n ) {\n // if we're in SSR, we'll just render the component as is\n return \n } else if (slicesContext.renderEnvironment === `slices`) {\n // we are not yet supporting nested slices\n\n let additionalContextMessage = ``\n\n // just in case generating additional contextual information fails, we still want the base message to show\n // and not show another cryptic error message\n try {\n additionalContextMessage = `\\n\\nSlice component \"${slicesContext.sliceRoot.name}\" (${slicesContext.sliceRoot.componentPath}) tried to render `\n } catch {\n // don't need to handle it, we will just skip the additional context message if we fail to generate it\n }\n\n throw new Error(\n `Nested slices are not supported.${additionalContextMessage}\\n\\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`\n )\n } else {\n throw new Error(\n `Slice context \"${slicesContext.renderEnvironment}\" is not supported.`\n )\n }\n } else {\n throw new Error(`Slices are disabled.`)\n }\n}\n\nclass SlicePropsError extends Error {\n constructor(inBrowser, sliceName, propErrors, renderedByLocation) {\n const errors = Object.entries(propErrors)\n .map(\n ([key, value]) =>\n `not serializable \"${value}\" type passed to \"${key}\" prop`\n )\n .join(`, `)\n\n const name = `SlicePropsError`\n let stack = ``\n let message = ``\n\n if (inBrowser) {\n // They're just (kinda) kidding, I promise... You can still work here <3\n // https://www.gatsbyjs.com/careers/\n const fullStack =\n React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack()\n\n // remove the first line of the stack trace\n const stackLines = fullStack.trim().split(`\\n`).slice(1)\n stackLines[0] = stackLines[0].trim()\n stack = `\\n` + stackLines.join(`\\n`)\n\n message = `Slice \"${sliceName}\" was passed props that are not serializable (${errors}).`\n } else {\n // we can't really grab any extra info outside of the browser, so just print what we can\n message = `${name}: Slice \"${sliceName}\" was passed props that are not serializable (${errors}).`\n const stackLines = new Error().stack.trim().split(`\\n`).slice(2)\n stack = `${message}\\n${stackLines.join(`\\n`)}`\n }\n\n super(message)\n this.name = name\n if (stack) {\n this.stack = stack\n } else {\n Error.captureStackTrace(this, SlicePropsError)\n }\n\n if (renderedByLocation) {\n this.forcedLocation = { ...renderedByLocation, functionName: `Slice` }\n }\n }\n}\n\nconst validateSliceProps = (\n props,\n errors = {},\n seenObjects = [],\n path = null\n) => {\n // recursively validate all props\n for (const [name, value] of Object.entries(props)) {\n if (\n value === undefined ||\n value === null ||\n (!path && name === `children`)\n ) {\n continue\n }\n\n const propPath = path ? `${path}.${name}` : name\n\n if (typeof value === `function`) {\n errors[propPath] = typeof value\n } else if (typeof value === `object` && seenObjects.indexOf(value) <= 0) {\n seenObjects.push(value)\n validateSliceProps(value, errors, seenObjects, propPath)\n }\n }\n\n return errors\n}\n","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}","import loader from \"./loader\"\n\nconst prefetchPathname = loader.enqueue\n\nfunction graphql() {\n throw new Error(\n `It appears like Gatsby is misconfigured. Gatsby related \\`graphql\\` calls ` +\n `are supposed to only be evaluated at compile time, and then compiled away. ` +\n `Unfortunately, something went wrong and the query was left in the compiled code.\\n\\n` +\n `Unless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.`\n )\n}\n\nexport { default as PageRenderer } from \"./public-page-renderer\"\nexport { useScrollRestoration } from \"gatsby-react-router-scroll\"\nexport {\n Link,\n withPrefix,\n withAssetPrefix,\n navigate,\n parsePath,\n} from \"gatsby-link\"\n\nexport { graphql, prefetchPathname }\nexport { StaticQuery, StaticQueryContext, useStaticQuery } from \"./static-query\"\nexport { Slice } from \"./slice\"\nexport * from \"gatsby-script\"\n","const support = function (feature) {\n if (typeof document === `undefined`) {\n return false\n }\n const fakeLink = document.createElement(`link`)\n try {\n if (fakeLink.relList && typeof fakeLink.relList.supports === `function`) {\n return fakeLink.relList.supports(feature)\n }\n } catch (err) {\n return false\n }\n return false\n}\n\nconst linkPrefetchStrategy = function (url, options) {\n return new Promise((resolve, reject) => {\n if (typeof document === `undefined`) {\n reject()\n return\n }\n\n const link = document.createElement(`link`)\n link.setAttribute(`rel`, `prefetch`)\n link.setAttribute(`href`, url)\n\n Object.keys(options).forEach(key => {\n link.setAttribute(key, options[key])\n })\n\n link.onload = resolve\n link.onerror = reject\n\n const parentElement =\n document.getElementsByTagName(`head`)[0] ||\n document.getElementsByName(`script`)[0].parentNode\n parentElement.appendChild(link)\n })\n}\n\nconst xhrPrefetchStrategy = function (url) {\n return new Promise((resolve, reject) => {\n const req = new XMLHttpRequest()\n req.open(`GET`, url, true)\n\n req.onload = () => {\n if (req.status === 200) {\n resolve()\n } else {\n reject()\n }\n }\n\n req.send(null)\n })\n}\n\nconst supportedPrefetchStrategy = support(`prefetch`)\n ? linkPrefetchStrategy\n : xhrPrefetchStrategy\n\nconst preFetched = {}\n\nconst prefetch = function (url, options) {\n return new Promise(resolve => {\n if (preFetched[url]) {\n resolve()\n return\n }\n\n supportedPrefetchStrategy(url, options)\n .then(() => {\n resolve()\n preFetched[url] = true\n })\n .catch(() => {}) // 404s are logged to the console anyway\n })\n}\n\nexport default prefetch\n","import { createFromReadableStream } from \"react-server-dom-webpack\"\nimport prefetchHelper from \"./prefetch\"\nimport emitter from \"./emitter\"\nimport { setMatchPaths, findPath, findMatchPath } from \"./find-path\"\n\n/**\n * Available resource loading statuses\n */\nexport const PageResourceStatus = {\n /**\n * At least one of critical resources failed to load\n */\n Error: `error`,\n /**\n * Resources loaded successfully\n */\n Success: `success`,\n}\n\nconst preferDefault = m => (m && m.default) || m\n\nconst stripSurroundingSlashes = s => {\n s = s[0] === `/` ? s.slice(1) : s\n s = s.endsWith(`/`) ? s.slice(0, -1) : s\n return s\n}\n\nconst createPageDataUrl = rawPath => {\n const [path, maybeSearch] = rawPath.split(`?`)\n const fixedPath = path === `/` ? `index` : stripSurroundingSlashes(path)\n return `${__PATH_PREFIX__}/page-data/${fixedPath}/page-data.json${\n maybeSearch ? `?${maybeSearch}` : ``\n }`\n}\n\n/**\n * Utility to check the path that goes into doFetch for e.g. potential malicious intentions.\n * It checks for \"//\" because with this you could do a fetch request to a different domain.\n */\nconst shouldAbortFetch = rawPath => rawPath.startsWith(`//`)\n\nfunction doFetch(url, method = `GET`) {\n return new Promise(resolve => {\n const req = new XMLHttpRequest()\n req.open(method, url, true)\n req.onreadystatechange = () => {\n if (req.readyState == 4) {\n resolve(req)\n }\n }\n req.send(null)\n })\n}\n\nconst doesConnectionSupportPrefetch = () => {\n if (\n `connection` in navigator &&\n typeof navigator.connection !== `undefined`\n ) {\n if ((navigator.connection.effectiveType || ``).includes(`2g`)) {\n return false\n }\n if (navigator.connection.saveData) {\n return false\n }\n }\n return true\n}\n\n// Regex that matches common search crawlers\nconst BOT_REGEX = /bot|crawler|spider|crawling/i\n\nconst toPageResources = (pageData, component = null, head) => {\n const page = {\n componentChunkName: pageData.componentChunkName,\n path: pageData.path,\n webpackCompilationHash: pageData.webpackCompilationHash,\n matchPath: pageData.matchPath,\n staticQueryHashes: pageData.staticQueryHashes,\n getServerDataError: pageData.getServerDataError,\n slicesMap: pageData.slicesMap ?? {},\n }\n\n return {\n component,\n head,\n json: pageData.result,\n page,\n }\n}\n\nfunction waitForResponse(response) {\n return new Promise(resolve => {\n try {\n const result = response.readRoot()\n resolve(result)\n } catch (err) {\n if (\n Object.hasOwnProperty.call(err, `_response`) &&\n Object.hasOwnProperty.call(err, `_status`)\n ) {\n setTimeout(() => {\n waitForResponse(response).then(resolve)\n }, 200)\n } else {\n throw err\n }\n }\n })\n}\n\nexport class BaseLoader {\n constructor(loadComponent, matchPaths) {\n // Map of pagePath -> Page. Where Page is an object with: {\n // status: PageResourceStatus.Success || PageResourceStatus.Error,\n // payload: PageResources, // undefined if PageResourceStatus.Error\n // }\n // PageResources is {\n // component,\n // json: pageData.result,\n // page: {\n // componentChunkName,\n // path,\n // webpackCompilationHash,\n // staticQueryHashes\n // },\n // staticQueryResults\n // }\n this.pageDb = new Map()\n this.inFlightDb = new Map()\n this.staticQueryDb = {}\n this.pageDataDb = new Map()\n this.partialHydrationDb = new Map()\n this.slicesDataDb = new Map()\n this.sliceInflightDb = new Map()\n this.slicesDb = new Map()\n this.isPrefetchQueueRunning = false\n this.prefetchQueued = []\n this.prefetchTriggered = new Set()\n this.prefetchCompleted = new Set()\n this.loadComponent = loadComponent\n setMatchPaths(matchPaths)\n }\n\n inFlightNetworkRequests = new Map()\n\n memoizedGet(url) {\n let inFlightPromise = this.inFlightNetworkRequests.get(url)\n\n if (!inFlightPromise) {\n inFlightPromise = doFetch(url, `GET`)\n this.inFlightNetworkRequests.set(url, inFlightPromise)\n }\n\n // Prefer duplication with then + catch over .finally to prevent problems in ie11 + firefox\n return inFlightPromise\n .then(response => {\n this.inFlightNetworkRequests.delete(url)\n return response\n })\n .catch(err => {\n this.inFlightNetworkRequests.delete(url)\n throw err\n })\n }\n\n setApiRunner(apiRunner) {\n this.apiRunner = apiRunner\n this.prefetchDisabled = apiRunner(`disableCorePrefetching`).some(a => a)\n }\n\n fetchPageDataJson(loadObj) {\n const { pagePath, retries = 0 } = loadObj\n const url = createPageDataUrl(pagePath)\n return this.memoizedGet(url).then(req => {\n const { status, responseText } = req\n\n // Handle 200\n if (status === 200) {\n try {\n const jsonPayload = JSON.parse(responseText)\n if (jsonPayload.path === undefined) {\n throw new Error(`not a valid pageData response`)\n }\n\n const maybeSearch = pagePath.split(`?`)[1]\n if (maybeSearch && !jsonPayload.path.includes(maybeSearch)) {\n jsonPayload.path += `?${maybeSearch}`\n }\n\n return Object.assign(loadObj, {\n status: PageResourceStatus.Success,\n payload: jsonPayload,\n })\n } catch (err) {\n // continue regardless of error\n }\n }\n\n // Handle 404\n if (status === 404 || status === 200) {\n // If the request was for a 404/500 page and it doesn't exist, we're done\n if (pagePath === `/404.html` || pagePath === `/500.html`) {\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n }\n\n // Need some code here to cache the 404 request. In case\n // multiple loadPageDataJsons result in 404s\n return this.fetchPageDataJson(\n Object.assign(loadObj, { pagePath: `/404.html`, notFound: true })\n )\n }\n\n // handle 500 response (Unrecoverable)\n if (status === 500) {\n return this.fetchPageDataJson(\n Object.assign(loadObj, {\n pagePath: `/500.html`,\n internalServerError: true,\n })\n )\n }\n\n // Handle everything else, including status === 0, and 503s. Should retry\n if (retries < 3) {\n return this.fetchPageDataJson(\n Object.assign(loadObj, { retries: retries + 1 })\n )\n }\n\n // Retried 3 times already, result is an error.\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n })\n }\n\n fetchPartialHydrationJson(loadObj) {\n const { pagePath, retries = 0 } = loadObj\n const url = createPageDataUrl(pagePath).replace(`.json`, `-rsc.json`)\n return this.memoizedGet(url).then(req => {\n const { status, responseText } = req\n\n // Handle 200\n if (status === 200) {\n try {\n return Object.assign(loadObj, {\n status: PageResourceStatus.Success,\n payload: responseText,\n })\n } catch (err) {\n // continue regardless of error\n }\n }\n\n // Handle 404\n if (status === 404 || status === 200) {\n // If the request was for a 404/500 page and it doesn't exist, we're done\n if (pagePath === `/404.html` || pagePath === `/500.html`) {\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n }\n\n // Need some code here to cache the 404 request. In case\n // multiple loadPageDataJsons result in 404s\n return this.fetchPartialHydrationJson(\n Object.assign(loadObj, { pagePath: `/404.html`, notFound: true })\n )\n }\n\n // handle 500 response (Unrecoverable)\n if (status === 500) {\n return this.fetchPartialHydrationJson(\n Object.assign(loadObj, {\n pagePath: `/500.html`,\n internalServerError: true,\n })\n )\n }\n\n // Handle everything else, including status === 0, and 503s. Should retry\n if (retries < 3) {\n return this.fetchPartialHydrationJson(\n Object.assign(loadObj, { retries: retries + 1 })\n )\n }\n\n // Retried 3 times already, result is an error.\n return Object.assign(loadObj, {\n status: PageResourceStatus.Error,\n })\n })\n }\n\n loadPageDataJson(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.pageDataDb.has(pagePath)) {\n const pageData = this.pageDataDb.get(pagePath)\n if (process.env.BUILD_STAGE !== `develop` || !pageData.stale) {\n return Promise.resolve(pageData)\n }\n }\n\n return this.fetchPageDataJson({ pagePath }).then(pageData => {\n this.pageDataDb.set(pagePath, pageData)\n\n return pageData\n })\n }\n\n loadPartialHydrationJson(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.partialHydrationDb.has(pagePath)) {\n const pageData = this.partialHydrationDb.get(pagePath)\n if (process.env.BUILD_STAGE !== `develop` || !pageData.stale) {\n return Promise.resolve(pageData)\n }\n }\n\n return this.fetchPartialHydrationJson({ pagePath }).then(pageData => {\n this.partialHydrationDb.set(pagePath, pageData)\n\n return pageData\n })\n }\n\n loadSliceDataJson(sliceName) {\n if (this.slicesDataDb.has(sliceName)) {\n const jsonPayload = this.slicesDataDb.get(sliceName)\n return Promise.resolve({ sliceName, jsonPayload })\n }\n\n const url = `${__PATH_PREFIX__}/slice-data/${sliceName}.json`\n return doFetch(url, `GET`).then(res => {\n const jsonPayload = JSON.parse(res.responseText)\n\n this.slicesDataDb.set(sliceName, jsonPayload)\n return { sliceName, jsonPayload }\n })\n }\n\n findMatchPath(rawPath) {\n return findMatchPath(rawPath)\n }\n\n // TODO check all uses of this and whether they use undefined for page resources not exist\n loadPage(rawPath) {\n const pagePath = findPath(rawPath)\n if (this.pageDb.has(pagePath)) {\n const page = this.pageDb.get(pagePath)\n if (process.env.BUILD_STAGE !== `develop` || !page.payload.stale) {\n if (page.error) {\n return Promise.resolve({\n error: page.error,\n status: page.status,\n })\n }\n\n return Promise.resolve(page.payload)\n }\n }\n\n if (this.inFlightDb.has(pagePath)) {\n return this.inFlightDb.get(pagePath)\n }\n\n const loadDataPromises = [\n this.loadAppData(),\n this.loadPageDataJson(pagePath),\n ]\n\n if (global.hasPartialHydration) {\n loadDataPromises.push(this.loadPartialHydrationJson(pagePath))\n }\n\n const inFlightPromise = Promise.all(loadDataPromises).then(allData => {\n const [appDataResponse, pageDataResponse, rscDataResponse] = allData\n\n if (\n pageDataResponse.status === PageResourceStatus.Error ||\n rscDataResponse?.status === PageResourceStatus.Error\n ) {\n return {\n status: PageResourceStatus.Error,\n }\n }\n\n let pageData = pageDataResponse.payload\n\n const {\n componentChunkName,\n staticQueryHashes: pageStaticQueryHashes = [],\n slicesMap = {},\n } = pageData\n\n const finalResult = {}\n\n const dedupedSliceNames = Array.from(new Set(Object.values(slicesMap)))\n\n const loadSlice = slice => {\n if (this.slicesDb.has(slice.name)) {\n return this.slicesDb.get(slice.name)\n } else if (this.sliceInflightDb.has(slice.name)) {\n return this.sliceInflightDb.get(slice.name)\n }\n\n const inFlight = this.loadComponent(slice.componentChunkName).then(\n component => {\n return {\n component: preferDefault(component),\n sliceContext: slice.result.sliceContext,\n data: slice.result.data,\n }\n }\n )\n\n this.sliceInflightDb.set(slice.name, inFlight)\n inFlight.then(results => {\n this.slicesDb.set(slice.name, results)\n this.sliceInflightDb.delete(slice.name)\n })\n\n return inFlight\n }\n\n return Promise.all(\n dedupedSliceNames.map(sliceName => this.loadSliceDataJson(sliceName))\n ).then(slicesData => {\n const slices = []\n const dedupedStaticQueryHashes = [...pageStaticQueryHashes]\n\n for (const { jsonPayload, sliceName } of Object.values(slicesData)) {\n slices.push({ name: sliceName, ...jsonPayload })\n for (const staticQueryHash of jsonPayload.staticQueryHashes) {\n if (!dedupedStaticQueryHashes.includes(staticQueryHash)) {\n dedupedStaticQueryHashes.push(staticQueryHash)\n }\n }\n }\n\n const loadChunkPromises = [\n Promise.all(slices.map(loadSlice)),\n this.loadComponent(componentChunkName, `head`),\n ]\n\n if (!global.hasPartialHydration) {\n loadChunkPromises.push(this.loadComponent(componentChunkName))\n }\n\n // In develop we have separate chunks for template and Head components\n // to enable HMR (fast refresh requires single exports).\n // In production we have shared chunk with both exports. Double loadComponent here\n // will be deduped by webpack runtime resulting in single request and single module\n // being loaded for both `component` and `head`.\n // get list of components to get\n const componentChunkPromises = Promise.all(loadChunkPromises).then(\n components => {\n const [sliceComponents, headComponent, pageComponent] = components\n\n finalResult.createdAt = new Date()\n\n for (const sliceComponent of sliceComponents) {\n if (!sliceComponent || sliceComponent instanceof Error) {\n finalResult.status = PageResourceStatus.Error\n finalResult.error = sliceComponent\n }\n }\n\n if (\n !global.hasPartialHydration &&\n (!pageComponent || pageComponent instanceof Error)\n ) {\n finalResult.status = PageResourceStatus.Error\n finalResult.error = pageComponent\n }\n\n let pageResources\n\n if (finalResult.status !== PageResourceStatus.Error) {\n finalResult.status = PageResourceStatus.Success\n if (\n pageDataResponse.notFound === true ||\n rscDataResponse?.notFound === true\n ) {\n finalResult.notFound = true\n }\n pageData = Object.assign(pageData, {\n webpackCompilationHash: appDataResponse\n ? appDataResponse.webpackCompilationHash\n : ``,\n })\n\n if (typeof rscDataResponse?.payload === `string`) {\n pageResources = toPageResources(pageData, null, headComponent)\n\n pageResources.partialHydration = rscDataResponse.payload\n\n const readableStream = new ReadableStream({\n start(controller) {\n const te = new TextEncoder()\n controller.enqueue(te.encode(rscDataResponse.payload))\n },\n pull(controller) {\n // close on next read when queue is empty\n controller.close()\n },\n cancel() {},\n })\n\n return waitForResponse(\n createFromReadableStream(readableStream)\n ).then(result => {\n pageResources.partialHydration = result\n\n return pageResources\n })\n } else {\n pageResources = toPageResources(\n pageData,\n pageComponent,\n headComponent\n )\n }\n }\n\n // undefined if final result is an error\n return pageResources\n }\n )\n\n // get list of static queries to get\n const staticQueryBatchPromise = Promise.all(\n dedupedStaticQueryHashes.map(staticQueryHash => {\n // Check for cache in case this static query result has already been loaded\n if (this.staticQueryDb[staticQueryHash]) {\n const jsonPayload = this.staticQueryDb[staticQueryHash]\n return { staticQueryHash, jsonPayload }\n }\n\n return this.memoizedGet(\n `${__PATH_PREFIX__}/page-data/sq/d/${staticQueryHash}.json`\n )\n .then(req => {\n const jsonPayload = JSON.parse(req.responseText)\n return { staticQueryHash, jsonPayload }\n })\n .catch(() => {\n throw new Error(\n `We couldn't load \"${__PATH_PREFIX__}/page-data/sq/d/${staticQueryHash}.json\"`\n )\n })\n })\n ).then(staticQueryResults => {\n const staticQueryResultsMap = {}\n\n staticQueryResults.forEach(({ staticQueryHash, jsonPayload }) => {\n staticQueryResultsMap[staticQueryHash] = jsonPayload\n this.staticQueryDb[staticQueryHash] = jsonPayload\n })\n\n return staticQueryResultsMap\n })\n\n return (\n Promise.all([componentChunkPromises, staticQueryBatchPromise])\n .then(([pageResources, staticQueryResults]) => {\n let payload\n if (pageResources) {\n payload = { ...pageResources, staticQueryResults }\n finalResult.payload = payload\n emitter.emit(`onPostLoadPageResources`, {\n page: payload,\n pageResources: payload,\n })\n }\n\n this.pageDb.set(pagePath, finalResult)\n\n if (finalResult.error) {\n return {\n error: finalResult.error,\n status: finalResult.status,\n }\n }\n\n return payload\n })\n // when static-query fail to load we throw a better error\n .catch(err => {\n return {\n error: err,\n status: PageResourceStatus.Error,\n }\n })\n )\n })\n })\n\n inFlightPromise\n .then(() => {\n this.inFlightDb.delete(pagePath)\n })\n .catch(error => {\n this.inFlightDb.delete(pagePath)\n throw error\n })\n\n this.inFlightDb.set(pagePath, inFlightPromise)\n\n return inFlightPromise\n }\n\n // returns undefined if the page does not exists in cache\n loadPageSync(rawPath, options = {}) {\n const pagePath = findPath(rawPath)\n if (this.pageDb.has(pagePath)) {\n const pageData = this.pageDb.get(pagePath)\n\n if (pageData.payload) {\n return pageData.payload\n }\n\n if (options?.withErrorDetails) {\n return {\n error: pageData.error,\n status: pageData.status,\n }\n }\n }\n return undefined\n }\n\n shouldPrefetch(pagePath) {\n // Skip prefetching if we know user is on slow or constrained connection\n if (!doesConnectionSupportPrefetch()) {\n return false\n }\n\n // Don't prefetch if this is a crawler bot\n if (navigator.userAgent && BOT_REGEX.test(navigator.userAgent)) {\n return false\n }\n\n // Check if the page exists.\n if (this.pageDb.has(pagePath)) {\n return false\n }\n\n return true\n }\n\n prefetch(pagePath) {\n if (!this.shouldPrefetch(pagePath)) {\n return {\n then: resolve => resolve(false),\n abort: () => {},\n }\n }\n if (this.prefetchTriggered.has(pagePath)) {\n return {\n then: resolve => resolve(true),\n abort: () => {},\n }\n }\n\n const defer = {\n resolve: null,\n reject: null,\n promise: null,\n }\n defer.promise = new Promise((resolve, reject) => {\n defer.resolve = resolve\n defer.reject = reject\n })\n this.prefetchQueued.push([pagePath, defer])\n const abortC = new AbortController()\n abortC.signal.addEventListener(`abort`, () => {\n const index = this.prefetchQueued.findIndex(([p]) => p === pagePath)\n // remove from the queue\n if (index !== -1) {\n this.prefetchQueued.splice(index, 1)\n }\n })\n\n if (!this.isPrefetchQueueRunning) {\n this.isPrefetchQueueRunning = true\n setTimeout(() => {\n this._processNextPrefetchBatch()\n }, 3000)\n }\n\n return {\n then: (resolve, reject) => defer.promise.then(resolve, reject),\n abort: abortC.abort.bind(abortC),\n }\n }\n\n _processNextPrefetchBatch() {\n const idleCallback = window.requestIdleCallback || (cb => setTimeout(cb, 0))\n\n idleCallback(() => {\n const toPrefetch = this.prefetchQueued.splice(0, 4)\n const prefetches = Promise.all(\n toPrefetch.map(([pagePath, dPromise]) => {\n // Tell plugins with custom prefetching logic that they should start\n // prefetching this path.\n if (!this.prefetchTriggered.has(pagePath)) {\n this.apiRunner(`onPrefetchPathname`, { pathname: pagePath })\n this.prefetchTriggered.add(pagePath)\n }\n\n // If a plugin has disabled core prefetching, stop now.\n if (this.prefetchDisabled) {\n return dPromise.resolve(false)\n }\n\n return this.doPrefetch(findPath(pagePath)).then(() => {\n if (!this.prefetchCompleted.has(pagePath)) {\n this.apiRunner(`onPostPrefetchPathname`, { pathname: pagePath })\n this.prefetchCompleted.add(pagePath)\n }\n\n dPromise.resolve(true)\n })\n })\n )\n\n if (this.prefetchQueued.length) {\n prefetches.then(() => {\n setTimeout(() => {\n this._processNextPrefetchBatch()\n }, 3000)\n })\n } else {\n this.isPrefetchQueueRunning = false\n }\n })\n }\n\n doPrefetch(pagePath) {\n const pageDataUrl = createPageDataUrl(pagePath)\n\n if (global.hasPartialHydration) {\n return Promise.all([\n prefetchHelper(pageDataUrl, {\n crossOrigin: `anonymous`,\n as: `fetch`,\n }).then(() =>\n // This was just prefetched, so will return a response from\n // the cache instead of making another request to the server\n this.loadPageDataJson(pagePath)\n ),\n prefetchHelper(pageDataUrl.replace(`.json`, `-rsc.json`), {\n crossOrigin: `anonymous`,\n as: `fetch`,\n }).then(() =>\n // This was just prefetched, so will return a response from\n // the cache instead of making another request to the server\n this.loadPartialHydrationJson(pagePath)\n ),\n ])\n } else {\n return prefetchHelper(pageDataUrl, {\n crossOrigin: `anonymous`,\n as: `fetch`,\n }).then(() =>\n // This was just prefetched, so will return a response from\n // the cache instead of making another request to the server\n this.loadPageDataJson(pagePath)\n )\n }\n }\n\n hovering(rawPath) {\n this.loadPage(rawPath)\n }\n\n getResourceURLsForPathname(rawPath) {\n const pagePath = findPath(rawPath)\n const page = this.pageDataDb.get(pagePath)\n if (page) {\n const pageResources = toPageResources(page.payload)\n\n return [\n ...createComponentUrls(pageResources.page.componentChunkName),\n createPageDataUrl(pagePath),\n ]\n } else {\n return null\n }\n }\n\n isPageNotFound(rawPath) {\n const pagePath = findPath(rawPath)\n const page = this.pageDb.get(pagePath)\n return !page || page.notFound\n }\n\n loadAppData(retries = 0) {\n return this.memoizedGet(`${__PATH_PREFIX__}/page-data/app-data.json`).then(\n req => {\n const { status, responseText } = req\n\n let appData\n\n if (status !== 200 && retries < 3) {\n // Retry 3 times incase of non-200 responses\n return this.loadAppData(retries + 1)\n }\n\n // Handle 200\n if (status === 200) {\n try {\n const jsonPayload = JSON.parse(responseText)\n if (jsonPayload.webpackCompilationHash === undefined) {\n throw new Error(`not a valid app-data response`)\n }\n\n appData = jsonPayload\n } catch (err) {\n // continue regardless of error\n }\n }\n\n return appData\n }\n )\n }\n}\n\nconst createComponentUrls = componentChunkName =>\n (window.___chunkMapping[componentChunkName] || []).map(\n chunk => __PATH_PREFIX__ + chunk\n )\n\nexport class ProdLoader extends BaseLoader {\n constructor(asyncRequires, matchPaths, pageData) {\n const loadComponent = (chunkName, exportType = `components`) => {\n if (!global.hasPartialHydration) {\n exportType = `components`\n }\n\n if (!asyncRequires[exportType][chunkName]) {\n throw new Error(\n `We couldn't find the correct component chunk with the name \"${chunkName}\"`\n )\n }\n\n return (\n asyncRequires[exportType][chunkName]()\n // loader will handle the case when component is error\n .catch(err => err)\n )\n }\n\n super(loadComponent, matchPaths)\n\n if (pageData) {\n this.pageDataDb.set(findPath(pageData.path), {\n pagePath: pageData.path,\n payload: pageData,\n status: `success`,\n })\n }\n }\n\n doPrefetch(pagePath) {\n return super.doPrefetch(pagePath).then(result => {\n if (result.status !== PageResourceStatus.Success) {\n return Promise.resolve()\n }\n const pageData = result.payload\n const chunkName = pageData.componentChunkName\n const componentUrls = createComponentUrls(chunkName)\n return Promise.all(componentUrls.map(prefetchHelper)).then(() => pageData)\n })\n }\n\n loadPageDataJson(rawPath) {\n return super.loadPageDataJson(rawPath).then(data => {\n if (data.notFound) {\n if (shouldAbortFetch(rawPath)) {\n return data\n }\n // check if html file exist using HEAD request:\n // if it does we should navigate to it instead of showing 404\n return doFetch(rawPath, `HEAD`).then(req => {\n if (req.status === 200) {\n // page (.html file) actually exist (or we asked for 404 )\n // returning page resources status as errored to trigger\n // regular browser navigation to given page\n return {\n status: PageResourceStatus.Error,\n }\n }\n\n // if HEAD request wasn't 200, return notFound result\n // and show 404 page\n return data\n })\n }\n return data\n })\n }\n\n loadPartialHydrationJson(rawPath) {\n return super.loadPartialHydrationJson(rawPath).then(data => {\n if (data.notFound) {\n if (shouldAbortFetch(rawPath)) {\n return data\n }\n // check if html file exist using HEAD request:\n // if it does we should navigate to it instead of showing 404\n return doFetch(rawPath, `HEAD`).then(req => {\n if (req.status === 200) {\n // page (.html file) actually exist (or we asked for 404 )\n // returning page resources status as errored to trigger\n // regular browser navigation to given page\n return {\n status: PageResourceStatus.Error,\n }\n }\n\n // if HEAD request wasn't 200, return notFound result\n // and show 404 page\n return data\n })\n }\n return data\n })\n }\n}\n\nlet instance\n\nexport const setLoader = _loader => {\n instance = _loader\n}\n\nexport const publicLoader = {\n enqueue: rawPath => instance.prefetch(rawPath),\n\n // Real methods\n getResourceURLsForPathname: rawPath =>\n instance.getResourceURLsForPathname(rawPath),\n loadPage: rawPath => instance.loadPage(rawPath),\n // TODO add deprecation to v4 so people use withErrorDetails and then we can remove in v5 and change default behaviour\n loadPageSync: (rawPath, options = {}) =>\n instance.loadPageSync(rawPath, options),\n prefetch: rawPath => instance.prefetch(rawPath),\n isPageNotFound: rawPath => instance.isPageNotFound(rawPath),\n hovering: rawPath => instance.hovering(rawPath),\n loadAppData: () => instance.loadAppData(),\n}\n\nexport default publicLoader\n\nexport function getStaticQueryResults() {\n if (instance) {\n return instance.staticQueryDb\n } else {\n return {}\n }\n}\n\nexport function getSliceResults() {\n if (instance) {\n return instance.slicesDb\n } else {\n return {}\n }\n}\n","import { useEffect } from \"react\"\n\n/*\n * Calls callback in an effect and renders children\n */\nexport function FireCallbackInEffect({ children, callback }) {\n useEffect(() => {\n callback()\n })\n\n return children\n}\n","export const VALID_NODE_NAMES = [\n `link`,\n `meta`,\n `style`,\n `title`,\n `base`,\n `noscript`,\n `script`,\n `html`,\n `body`,\n]\n","import { VALID_NODE_NAMES } from \"./constants\"\n\n/**\n * Filter the props coming from a page down to just the ones that are relevant for head.\n * This e.g. filters out properties that are undefined during SSR.\n */\nexport function filterHeadProps(input) {\n return {\n location: {\n pathname: input.location.pathname,\n },\n params: input.params,\n data: input.data || {},\n serverData: input.serverData,\n pageContext: input.pageContext,\n }\n}\n\n/**\n * Throw error if Head export is not a valid function\n */\nexport function headExportValidator(head) {\n if (typeof head !== `function`)\n throw new Error(\n `Expected \"Head\" export to be a function got \"${typeof head}\".`\n )\n}\n\n/**\n * Warn once for same messsage\n */\nlet warnOnce = _ => {}\nif (process.env.NODE_ENV !== `production`) {\n const warnings = new Set()\n warnOnce = msg => {\n if (!warnings.has(msg)) {\n console.warn(msg)\n }\n warnings.add(msg)\n }\n}\n\n/**\n * Warn for invalid tags in Head which may have been directly added or introduced by `wrapRootElement`\n * @param {string} tagName\n */\nexport function warnForInvalidTag(tagName) {\n if (process.env.NODE_ENV !== `production`) {\n const warning = createWarningForInvalidTag(tagName)\n warnOnce(warning)\n }\n}\n\nfunction createWarningForInvalidTag(tagName) {\n return `<${tagName}> is not a valid head element. Please use one of the following: ${VALID_NODE_NAMES.join(\n `, `\n )}.\\n\\nAlso make sure that wrapRootElement in gatsby-ssr/gatsby-browser doesn't contain UI elements: https://gatsby.dev/invalid-head-elements`\n}\n\n/**\n * When a `nonce` is present on an element, browsers such as Chrome and Firefox strip it out of the\n * actual HTML attributes for security reasons *when the element is added to the document*. Thus,\n * given two equivalent elements that have nonces, `Element,isEqualNode()` will return false if one\n * of those elements gets added to the document. Although the `element.nonce` property will be the\n * same for both elements, the one that was added to the document will return an empty string for\n * its nonce HTML attribute value.\n *\n * This custom `isEqualNode()` function therefore removes the nonce value from the `newTag` before\n * comparing it to `oldTag`, restoring it afterwards.\n *\n * For more information, see:\n * https://bugs.chromium.org/p/chromium/issues/detail?id=1211471#c12\n */\nexport function isEqualNode(oldTag, newTag) {\n if (oldTag instanceof HTMLElement && newTag instanceof HTMLElement) {\n const nonce = newTag.getAttribute(`nonce`)\n // Only strip the nonce if `oldTag` has had it stripped. An element's nonce attribute will not\n // be stripped if there is no content security policy response header that includes a nonce.\n if (nonce && !oldTag.getAttribute(`nonce`)) {\n const cloneTag = newTag.cloneNode(true)\n cloneTag.setAttribute(`nonce`, ``)\n cloneTag.nonce = nonce\n return nonce === oldTag.nonce && oldTag.isEqualNode(cloneTag)\n }\n }\n\n return oldTag.isEqualNode(newTag)\n}\n\nexport function diffNodes({ oldNodes, newNodes, onStale, onNew }) {\n for (const existingHeadElement of oldNodes) {\n const indexInNewNodes = newNodes.findIndex(e =>\n isEqualNode(e, existingHeadElement)\n )\n\n if (indexInNewNodes === -1) {\n onStale(existingHeadElement)\n } else {\n // this node is re-created as-is, so we keep old node, and remove it from list of new nodes (as we handled it already here)\n newNodes.splice(indexInNewNodes, 1)\n }\n }\n\n // remaing new nodes didn't have matching old node, so need to be added\n for (const newNode of newNodes) {\n onNew(newNode)\n }\n}\n\nexport function getValidHeadNodesAndAttributes(\n rootNode,\n htmlAndBodyAttributes = {\n html: {},\n body: {},\n }\n) {\n const seenIds = new Map()\n const validHeadNodes = []\n\n // Filter out non-element nodes before looping since we don't care about them\n for (const node of rootNode.childNodes) {\n const nodeName = node.nodeName.toLowerCase()\n const id = node.attributes?.id?.value\n\n if (!isElementType(node)) continue\n\n if (isValidNodeName(nodeName)) {\n // and tags are treated differently, in that we don't render them, we only extract the attributes and apply them separetely\n if (nodeName === `html` || nodeName === `body`) {\n for (const attribute of node.attributes) {\n const isStyleAttribute = attribute.name === `style`\n\n // Merge attributes for same nodeName from previous loop iteration\n htmlAndBodyAttributes[nodeName] = {\n ...htmlAndBodyAttributes[nodeName],\n }\n\n if (!isStyleAttribute) {\n htmlAndBodyAttributes[nodeName][attribute.name] = attribute.value\n }\n\n // If there is already a style attribute, we need to merge them as otherwise the last one will \"win\"\n if (isStyleAttribute) {\n htmlAndBodyAttributes[nodeName].style = `${\n htmlAndBodyAttributes[nodeName]?.style\n ? htmlAndBodyAttributes[nodeName].style\n : ``\n }${attribute.value} `\n }\n }\n } else {\n let clonedNode = node.cloneNode(true)\n clonedNode.setAttribute(`data-gatsby-head`, true)\n\n // // This is hack to make script tags work\n if (clonedNode.nodeName.toLowerCase() === `script`) {\n clonedNode = massageScript(clonedNode)\n }\n // Duplicate ids are not allowed in the head, so we need to dedupe them\n if (id) {\n if (!seenIds.has(id)) {\n validHeadNodes.push(clonedNode)\n seenIds.set(id, validHeadNodes.length - 1)\n } else {\n const indexOfPreviouslyInsertedNode = seenIds.get(id)\n validHeadNodes[\n indexOfPreviouslyInsertedNode\n ].parentNode?.removeChild(\n validHeadNodes[indexOfPreviouslyInsertedNode]\n )\n validHeadNodes[indexOfPreviouslyInsertedNode] = clonedNode\n }\n } else {\n validHeadNodes.push(clonedNode)\n }\n }\n } else {\n warnForInvalidTag(nodeName)\n }\n\n if (node.childNodes.length) {\n validHeadNodes.push(\n ...getValidHeadNodesAndAttributes(node, htmlAndBodyAttributes)\n .validHeadNodes\n )\n }\n }\n\n return { validHeadNodes, htmlAndBodyAttributes }\n}\n\nfunction massageScript(node) {\n const script = document.createElement(`script`)\n for (const attr of node.attributes) {\n script.setAttribute(attr.name, attr.value)\n }\n script.innerHTML = node.innerHTML\n\n return script\n}\n\nexport function isValidNodeName(nodeName) {\n return VALID_NODE_NAMES.includes(nodeName)\n}\n/*\n * For Head, we only care about element nodes(type = 1), so this util is used to skip over non-element nodes\n * For Node type, see https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType\n */\nexport function isElementType(node) {\n return node.nodeType === 1\n}\n\n/**\n * Removes all the head elements that were added by `Head`\n */\nexport function removePrevHeadElements() {\n const prevHeadNodes = document.querySelectorAll(`[data-gatsby-head]`)\n for (const node of prevHeadNodes) {\n node.parentNode.removeChild(node)\n }\n}\n\nexport function applyHtmlAndBodyAttributes(htmlAndBodyAttributes) {\n if (!htmlAndBodyAttributes) return\n\n const { html, body } = htmlAndBodyAttributes\n\n const htmlElement = document.querySelector(`html`)\n if (htmlElement) {\n Object.entries(html).forEach(([attributeName, attributeValue]) => {\n htmlElement.setAttribute(attributeName, attributeValue)\n })\n }\n\n const bodyElement = document.querySelector(`body`)\n if (bodyElement) {\n Object.entries(body).forEach(([attributeName, attributeValue]) => {\n bodyElement.setAttribute(attributeName, attributeValue)\n })\n }\n}\n\nexport function removeHtmlAndBodyAttributes(htmlAndBodyattributeList) {\n if (!htmlAndBodyattributeList) return\n\n const { html, body } = htmlAndBodyattributeList\n\n if (html) {\n const htmlElement = document.querySelector(`html`)\n html.forEach(attributeName => {\n if (htmlElement) {\n htmlElement.removeAttribute(attributeName)\n }\n })\n }\n\n if (body) {\n const bodyElement = document.querySelector(`body`)\n body.forEach(attributeName => {\n if (bodyElement) {\n bodyElement.removeAttribute(attributeName)\n }\n })\n }\n}\n","import React from \"react\"\nimport { useEffect } from \"react\"\nimport { StaticQueryContext } from \"gatsby\"\nimport { LocationProvider } from \"@gatsbyjs/reach-router\"\nimport { reactDOMUtils } from \"../react-dom-utils\"\nimport { FireCallbackInEffect } from \"./components/fire-callback-in-effect\"\nimport {\n headExportValidator,\n filterHeadProps,\n diffNodes,\n getValidHeadNodesAndAttributes,\n removePrevHeadElements,\n applyHtmlAndBodyAttributes,\n removeHtmlAndBodyAttributes,\n} from \"./utils\"\nimport { apiRunner } from \"../api-runner-browser\"\n\nconst hiddenRoot = document.createElement(`div`)\nconst keysOfHtmlAndBodyAttributes = {\n html: [],\n body: [],\n}\n\nconst onHeadRendered = () => {\n const { validHeadNodes, htmlAndBodyAttributes } =\n getValidHeadNodesAndAttributes(hiddenRoot)\n\n keysOfHtmlAndBodyAttributes.html = Object.keys(htmlAndBodyAttributes.html)\n keysOfHtmlAndBodyAttributes.body = Object.keys(htmlAndBodyAttributes.body)\n\n applyHtmlAndBodyAttributes(htmlAndBodyAttributes)\n\n /**\n * The rest of the code block below is a diffing mechanism to ensure that\n * the head elements aren't duplicted on every re-render.\n */\n const existingHeadElements = document.querySelectorAll(`[data-gatsby-head]`)\n\n if (existingHeadElements.length === 0) {\n document.head.append(...validHeadNodes)\n return\n }\n\n const newHeadNodes = []\n diffNodes({\n oldNodes: existingHeadElements,\n newNodes: validHeadNodes,\n onStale: node => node.parentNode.removeChild(node),\n onNew: node => newHeadNodes.push(node),\n })\n\n document.head.append(...newHeadNodes)\n}\n\nif (process.env.BUILD_STAGE === `develop`) {\n // sigh ... and elements are not valid descedents of
(our hidden element)\n // react-dom in dev mode will warn about this. There doesn't seem to be a way to render arbitrary\n // user Head without hitting this issue (our hidden element could be just \"new Document()\", but\n // this can only have 1 child, and we don't control what is being rendered so that's not an option)\n // instead we continue to render to
, and just silence warnings for and elements\n // https://github.com/facebook/react/blob/e2424f33b3ad727321fc12e75c5e94838e84c2b5/packages/react-dom-bindings/src/client/validateDOMNesting.js#L498-L520\n const originalConsoleError = console.error.bind(console)\n console.error = (...args) => {\n if (\n Array.isArray(args) &&\n args.length >= 2 &&\n args[0]?.includes?.(`validateDOMNesting(...): %s cannot appear as`) &&\n (args[1] === `` || args[1] === ``)\n ) {\n return undefined\n }\n return originalConsoleError(...args)\n }\n\n /* We set up observer to be able to regenerate after react-refresh\n updates our hidden element.\n */\n const observer = new MutationObserver(onHeadRendered)\n observer.observe(hiddenRoot, {\n attributes: true,\n childList: true,\n characterData: true,\n subtree: true,\n })\n}\n\nexport function headHandlerForBrowser({\n pageComponent,\n staticQueryResults,\n pageComponentProps,\n}) {\n useEffect(() => {\n if (pageComponent?.Head) {\n headExportValidator(pageComponent.Head)\n\n const { render } = reactDOMUtils()\n\n const HeadElement = (\n \n )\n\n const WrapHeadElement = apiRunner(\n `wrapRootElement`,\n { element: HeadElement },\n HeadElement,\n ({ result }) => {\n return { element: result }\n }\n ).pop()\n\n render(\n // just a hack to call the callback after react has done first render\n // Note: In dev, we call onHeadRendered twice( in FireCallbackInEffect and after mutualution observer dectects initail render into hiddenRoot) this is for hot reloading\n // In Prod we only call onHeadRendered in FireCallbackInEffect to render to head\n \n \n {WrapHeadElement}\n \n ,\n hiddenRoot\n )\n }\n\n return () => {\n removePrevHeadElements()\n removeHtmlAndBodyAttributes(keysOfHtmlAndBodyAttributes)\n }\n })\n}\n","import React, { Suspense, createElement } from \"react\"\nimport PropTypes from \"prop-types\"\nimport { apiRunner } from \"./api-runner-browser\"\nimport { grabMatchParams } from \"./find-path\"\nimport { headHandlerForBrowser } from \"./head/head-export-handler-for-browser\"\n\n// Renders page\nfunction PageRenderer(props) {\n const pageComponentProps = {\n ...props,\n params: {\n ...grabMatchParams(props.location.pathname),\n ...props.pageResources.json.pageContext.__params,\n },\n }\n\n const preferDefault = m => (m && m.default) || m\n\n let pageElement\n if (props.pageResources.partialHydration) {\n pageElement = props.pageResources.partialHydration\n } else {\n pageElement = createElement(preferDefault(props.pageResources.component), {\n ...pageComponentProps,\n key: props.path || props.pageResources.page.path,\n })\n }\n\n const pageComponent = props.pageResources.head\n\n headHandlerForBrowser({\n pageComponent,\n staticQueryResults: props.pageResources.staticQueryResults,\n pageComponentProps,\n })\n\n const wrappedPage = apiRunner(\n `wrapPageElement`,\n {\n element: pageElement,\n props: pageComponentProps,\n },\n pageElement,\n ({ result }) => {\n return { element: result, props: pageComponentProps }\n }\n ).pop()\n\n return wrappedPage\n}\n\nPageRenderer.propTypes = {\n location: PropTypes.object.isRequired,\n pageResources: PropTypes.object.isRequired,\n data: PropTypes.object,\n pageContext: PropTypes.object.isRequired,\n}\n\nexport default PageRenderer\n","// This is extracted to separate module because it's shared\n// between browser and SSR code\nexport const RouteAnnouncerProps = {\n id: `gatsby-announcer`,\n style: {\n position: `absolute`,\n top: 0,\n width: 1,\n height: 1,\n padding: 0,\n overflow: `hidden`,\n clip: `rect(0, 0, 0, 0)`,\n whiteSpace: `nowrap`,\n border: 0,\n },\n \"aria-live\": `assertive`,\n \"aria-atomic\": `true`,\n}\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport loader, { PageResourceStatus } from \"./loader\"\nimport { maybeGetBrowserRedirect } from \"./redirect-utils.js\"\nimport { apiRunner } from \"./api-runner-browser\"\nimport emitter from \"./emitter\"\nimport { RouteAnnouncerProps } from \"./route-announcer-props\"\nimport {\n navigate as reachNavigate,\n globalHistory,\n} from \"@gatsbyjs/reach-router\"\nimport { parsePath } from \"gatsby-link\"\n\nfunction maybeRedirect(pathname) {\n const redirect = maybeGetBrowserRedirect(pathname)\n const { hash, search } = window.location\n\n if (redirect != null) {\n window.___replace(redirect.toPath + search + hash)\n return true\n } else {\n return false\n }\n}\n\n// Catch unhandled chunk loading errors and force a restart of the app.\nlet nextRoute = ``\n\nwindow.addEventListener(`unhandledrejection`, event => {\n if (/loading chunk \\d* failed./i.test(event.reason)) {\n if (nextRoute) {\n window.location.pathname = nextRoute\n }\n }\n})\n\nconst onPreRouteUpdate = (location, prevLocation) => {\n if (!maybeRedirect(location.pathname)) {\n nextRoute = location.pathname\n apiRunner(`onPreRouteUpdate`, { location, prevLocation })\n }\n}\n\nconst onRouteUpdate = (location, prevLocation) => {\n if (!maybeRedirect(location.pathname)) {\n apiRunner(`onRouteUpdate`, { location, prevLocation })\n if (\n process.env.GATSBY_QUERY_ON_DEMAND &&\n process.env.GATSBY_QUERY_ON_DEMAND_LOADING_INDICATOR === `true`\n ) {\n emitter.emit(`onRouteUpdate`, { location, prevLocation })\n }\n }\n}\n\nconst navigate = (to, options = {}) => {\n // Support forward/backward navigation with numbers\n // navigate(-2) (jumps back 2 history steps)\n // navigate(2) (jumps forward 2 history steps)\n if (typeof to === `number`) {\n globalHistory.navigate(to)\n return\n }\n\n const { pathname, search, hash } = parsePath(to)\n const redirect = maybeGetBrowserRedirect(pathname)\n\n // If we're redirecting, just replace the passed in pathname\n // to the one we want to redirect to.\n if (redirect) {\n to = redirect.toPath + search + hash\n }\n\n // If we had a service worker update, no matter the path, reload window and\n // reset the pathname whitelist\n if (window.___swUpdated) {\n window.location = pathname + search + hash\n return\n }\n\n // Start a timer to wait for a second before transitioning and showing a\n // loader in case resources aren't around yet.\n const timeoutId = setTimeout(() => {\n emitter.emit(`onDelayedLoadPageResources`, { pathname })\n apiRunner(`onRouteUpdateDelayed`, {\n location: window.location,\n })\n }, 1000)\n\n loader.loadPage(pathname + search).then(pageResources => {\n // If no page resources, then refresh the page\n // Do this, rather than simply `window.location.reload()`, so that\n // pressing the back/forward buttons work - otherwise when pressing\n // back, the browser will just change the URL and expect JS to handle\n // the change, which won't always work since it might not be a Gatsby\n // page.\n if (!pageResources || pageResources.status === PageResourceStatus.Error) {\n window.history.replaceState({}, ``, location.href)\n window.location = pathname\n clearTimeout(timeoutId)\n return\n }\n\n // If the loaded page has a different compilation hash to the\n // window, then a rebuild has occurred on the server. Reload.\n if (process.env.NODE_ENV === `production` && pageResources) {\n if (\n pageResources.page.webpackCompilationHash !==\n window.___webpackCompilationHash\n ) {\n // Purge plugin-offline cache\n if (\n `serviceWorker` in navigator &&\n navigator.serviceWorker.controller !== null &&\n navigator.serviceWorker.controller.state === `activated`\n ) {\n navigator.serviceWorker.controller.postMessage({\n gatsbyApi: `clearPathResources`,\n })\n }\n\n window.location = pathname + search + hash\n }\n }\n reachNavigate(to, options)\n clearTimeout(timeoutId)\n })\n}\n\nfunction shouldUpdateScroll(prevRouterProps, { location }) {\n const { pathname, hash } = location\n const results = apiRunner(`shouldUpdateScroll`, {\n prevRouterProps,\n // `pathname` for backwards compatibility\n pathname,\n routerProps: { location },\n getSavedScrollPosition: args => [\n 0,\n // FIXME this is actually a big code smell, we should fix this\n // eslint-disable-next-line @babel/no-invalid-this\n this._stateStorage.read(args, args.key),\n ],\n })\n if (results.length > 0) {\n // Use the latest registered shouldUpdateScroll result, this allows users to override plugin's configuration\n // @see https://github.com/gatsbyjs/gatsby/issues/12038\n return results[results.length - 1]\n }\n\n if (prevRouterProps) {\n const {\n location: { pathname: oldPathname },\n } = prevRouterProps\n if (oldPathname === pathname) {\n // Scroll to element if it exists, if it doesn't, or no hash is provided,\n // scroll to top.\n return hash ? decodeURI(hash.slice(1)) : [0, 0]\n }\n }\n return true\n}\n\nfunction init() {\n // The \"scroll-behavior\" package expects the \"action\" to be on the location\n // object so let's copy it over.\n globalHistory.listen(args => {\n args.location.action = args.action\n })\n\n window.___push = to => navigate(to, { replace: false })\n window.___replace = to => navigate(to, { replace: true })\n window.___navigate = (to, options) => navigate(to, options)\n}\n\nclass RouteAnnouncer extends React.Component {\n constructor(props) {\n super(props)\n this.announcementRef = React.createRef()\n }\n\n componentDidUpdate(prevProps, nextProps) {\n requestAnimationFrame(() => {\n let pageName = `new page at ${this.props.location.pathname}`\n if (document.title) {\n pageName = document.title\n }\n const pageHeadings = document.querySelectorAll(`#gatsby-focus-wrapper h1`)\n if (pageHeadings && pageHeadings.length) {\n pageName = pageHeadings[0].textContent\n }\n const newAnnouncement = `Navigated to ${pageName}`\n if (this.announcementRef.current) {\n const oldAnnouncement = this.announcementRef.current.innerText\n if (oldAnnouncement !== newAnnouncement) {\n this.announcementRef.current.innerText = newAnnouncement\n }\n }\n })\n }\n\n render() {\n return \n }\n}\n\nconst compareLocationProps = (prevLocation, nextLocation) => {\n if (prevLocation.href !== nextLocation.href) {\n return true\n }\n\n if (prevLocation?.state?.key !== nextLocation?.state?.key) {\n return true\n }\n\n return false\n}\n\n// Fire on(Pre)RouteUpdate APIs\nclass RouteUpdates extends React.Component {\n constructor(props) {\n super(props)\n onPreRouteUpdate(props.location, null)\n }\n\n componentDidMount() {\n onRouteUpdate(this.props.location, null)\n }\n\n shouldComponentUpdate(nextProps) {\n if (compareLocationProps(this.props.location, nextProps.location)) {\n onPreRouteUpdate(nextProps.location, this.props.location)\n return true\n }\n return false\n }\n\n componentDidUpdate(prevProps) {\n if (compareLocationProps(prevProps.location, this.props.location)) {\n onRouteUpdate(this.props.location, prevProps.location)\n }\n }\n\n render() {\n return (\n \n {this.props.children}\n \n \n )\n }\n}\n\nRouteUpdates.propTypes = {\n location: PropTypes.object.isRequired,\n}\n\nexport { init, shouldUpdateScroll, RouteUpdates, maybeGetBrowserRedirect }\n","// Pulled from react-compat\n// https://github.com/developit/preact-compat/blob/7c5de00e7c85e2ffd011bf3af02899b63f699d3a/src/index.js#L349\nfunction shallowDiffers(a, b) {\n for (var i in a) {\n if (!(i in b)) return true;\n }for (var _i in b) {\n if (a[_i] !== b[_i]) return true;\n }return false;\n}\n\nexport default (function (instance, nextProps, nextState) {\n return shallowDiffers(instance.props, nextProps) || shallowDiffers(instance.state, nextState);\n});","import React from \"react\"\nimport loader, { PageResourceStatus } from \"./loader\"\nimport shallowCompare from \"shallow-compare\"\n\nclass EnsureResources extends React.Component {\n constructor(props) {\n super()\n const { location, pageResources } = props\n this.state = {\n location: { ...location },\n pageResources:\n pageResources ||\n loader.loadPageSync(location.pathname + location.search, {\n withErrorDetails: true,\n }),\n }\n }\n\n static getDerivedStateFromProps({ location }, prevState) {\n if (prevState.location.href !== location.href) {\n const pageResources = loader.loadPageSync(\n location.pathname + location.search,\n {\n withErrorDetails: true,\n }\n )\n\n return {\n pageResources,\n location: { ...location },\n }\n }\n\n return {\n location: { ...location },\n }\n }\n\n loadResources(rawPath) {\n loader.loadPage(rawPath).then(pageResources => {\n if (pageResources && pageResources.status !== PageResourceStatus.Error) {\n this.setState({\n location: { ...window.location },\n pageResources,\n })\n } else {\n window.history.replaceState({}, ``, location.href)\n window.location = rawPath\n }\n })\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n // Always return false if we're missing resources.\n if (!nextState.pageResources) {\n this.loadResources(\n nextProps.location.pathname + nextProps.location.search\n )\n return false\n }\n\n if (\n process.env.BUILD_STAGE === `develop` &&\n nextState.pageResources.stale\n ) {\n this.loadResources(\n nextProps.location.pathname + nextProps.location.search\n )\n return false\n }\n\n // Check if the component or json have changed.\n if (this.state.pageResources !== nextState.pageResources) {\n return true\n }\n if (\n this.state.pageResources.component !== nextState.pageResources.component\n ) {\n return true\n }\n\n if (this.state.pageResources.json !== nextState.pageResources.json) {\n return true\n }\n // Check if location has changed on a page using internal routing\n // via matchPath configuration.\n if (\n this.state.location.key !== nextState.location.key &&\n nextState.pageResources.page &&\n (nextState.pageResources.page.matchPath ||\n nextState.pageResources.page.path)\n ) {\n return true\n }\n return shallowCompare(this, nextProps, nextState)\n }\n\n render() {\n if (\n process.env.NODE_ENV !== `production` &&\n (!this.state.pageResources ||\n this.state.pageResources.status === PageResourceStatus.Error)\n ) {\n const message = `EnsureResources was not able to find resources for path: \"${this.props.location.pathname}\"\nThis typically means that an issue occurred building components for that path.\nRun \\`gatsby clean\\` to remove any cached elements.`\n if (this.state.pageResources?.error) {\n console.error(message)\n throw this.state.pageResources.error\n }\n\n throw new Error(message)\n }\n\n return this.props.children(this.state)\n }\n}\n\nexport default EnsureResources\n","import { apiRunner, apiRunnerAsync } from \"./api-runner-browser\"\nimport React from \"react\"\nimport { Router, navigate, Location, BaseContext } from \"@gatsbyjs/reach-router\"\nimport { ScrollContext } from \"gatsby-react-router-scroll\"\nimport { StaticQueryContext } from \"./static-query\"\nimport {\n SlicesMapContext,\n SlicesContext,\n SlicesResultsContext,\n} from \"./slice/context\"\nimport {\n shouldUpdateScroll,\n init as navigationInit,\n RouteUpdates,\n} from \"./navigation\"\nimport emitter from \"./emitter\"\nimport PageRenderer from \"./page-renderer\"\nimport asyncRequires from \"$virtual/async-requires\"\nimport {\n setLoader,\n ProdLoader,\n publicLoader,\n PageResourceStatus,\n getStaticQueryResults,\n getSliceResults,\n} from \"./loader\"\nimport EnsureResources from \"./ensure-resources\"\nimport stripPrefix from \"./strip-prefix\"\n\n// Generated during bootstrap\nimport matchPaths from \"$virtual/match-paths.json\"\nimport { reactDOMUtils } from \"./react-dom-utils\"\n\nconst loader = new ProdLoader(asyncRequires, matchPaths, window.pageData)\nsetLoader(loader)\nloader.setApiRunner(apiRunner)\n\nconst { render, hydrate } = reactDOMUtils()\n\nwindow.asyncRequires = asyncRequires\nwindow.___emitter = emitter\nwindow.___loader = publicLoader\n\nnavigationInit()\n\nconst reloadStorageKey = `gatsby-reload-compilation-hash-match`\n\napiRunnerAsync(`onClientEntry`).then(() => {\n // Let plugins register a service worker. The plugin just needs\n // to return true.\n if (apiRunner(`registerServiceWorker`).filter(Boolean).length > 0) {\n require(`./register-service-worker`)\n }\n\n // In gatsby v2 if Router is used in page using matchPaths\n // paths need to contain full path.\n // For example:\n // - page have `/app/*` matchPath\n // - inside template user needs to use `/app/xyz` as path\n // Resetting `basepath`/`baseuri` keeps current behaviour\n // to not introduce breaking change.\n // Remove this in v3\n const RouteHandler = props => (\n \n \n \n )\n\n const DataContext = React.createContext({})\n\n const slicesContext = {\n renderEnvironment: `browser`,\n }\n\n class GatsbyRoot extends React.Component {\n render() {\n const { children } = this.props\n return (\n \n {({ location }) => (\n \n {({ pageResources, location }) => {\n const staticQueryResults = getStaticQueryResults()\n const sliceResults = getSliceResults()\n\n return (\n \n \n \n \n \n {children}\n \n \n \n \n \n )\n }}\n \n )}\n \n )\n }\n }\n\n class LocationHandler extends React.Component {\n render() {\n return (\n \n {({ pageResources, location }) => (\n \n \n \n \n \n \n \n )}\n \n )\n }\n }\n\n const { pagePath, location: browserLoc } = window\n\n // Explicitly call navigate if the canonical path (window.pagePath)\n // is different to the browser path (window.location.pathname). SSR\n // page paths might include search params, while SSG and DSG won't.\n // If page path include search params we also compare query params.\n // But only if NONE of the following conditions hold:\n //\n // - The url matches a client side route (page.matchPath)\n // - it's a 404 page\n // - it's the offline plugin shell (/offline-plugin-app-shell-fallback/)\n if (\n pagePath &&\n __BASE_PATH__ + pagePath !==\n browserLoc.pathname + (pagePath.includes(`?`) ? browserLoc.search : ``) &&\n !(\n loader.findMatchPath(stripPrefix(browserLoc.pathname, __BASE_PATH__)) ||\n pagePath.match(/^\\/(404|500)(\\/?|.html)$/) ||\n pagePath.match(/^\\/offline-plugin-app-shell-fallback\\/?$/)\n )\n ) {\n navigate(\n __BASE_PATH__ +\n pagePath +\n (!pagePath.includes(`?`) ? browserLoc.search : ``) +\n browserLoc.hash,\n {\n replace: true,\n }\n )\n }\n\n // It's possible that sessionStorage can throw an exception if access is not granted, see https://github.com/gatsbyjs/gatsby/issues/34512\n const getSessionStorage = () => {\n try {\n return sessionStorage\n } catch {\n return null\n }\n }\n\n publicLoader.loadPage(browserLoc.pathname + browserLoc.search).then(page => {\n const sessionStorage = getSessionStorage()\n\n if (\n page?.page?.webpackCompilationHash &&\n page.page.webpackCompilationHash !== window.___webpackCompilationHash\n ) {\n // Purge plugin-offline cache\n if (\n `serviceWorker` in navigator &&\n navigator.serviceWorker.controller !== null &&\n navigator.serviceWorker.controller.state === `activated`\n ) {\n navigator.serviceWorker.controller.postMessage({\n gatsbyApi: `clearPathResources`,\n })\n }\n\n // We have not matching html + js (inlined `window.___webpackCompilationHash`)\n // with our data (coming from `app-data.json` file). This can cause issues such as\n // errors trying to load static queries (as list of static queries is inside `page-data`\n // which might not match to currently loaded `.js` scripts).\n // We are making attempt to reload if hashes don't match, but we also have to handle case\n // when reload doesn't fix it (possibly broken deploy) so we don't end up in infinite reload loop\n if (sessionStorage) {\n const isReloaded = sessionStorage.getItem(reloadStorageKey) === `1`\n\n if (!isReloaded) {\n sessionStorage.setItem(reloadStorageKey, `1`)\n window.location.reload(true)\n return\n }\n }\n }\n\n if (sessionStorage) {\n sessionStorage.removeItem(reloadStorageKey)\n }\n\n if (!page || page.status === PageResourceStatus.Error) {\n const message = `page resources for ${browserLoc.pathname} not found. Not rendering React`\n\n // if the chunk throws an error we want to capture the real error\n // This should help with https://github.com/gatsbyjs/gatsby/issues/19618\n if (page && page.error) {\n console.error(message)\n throw page.error\n }\n\n throw new Error(message)\n }\n\n const SiteRoot = apiRunner(\n `wrapRootElement`,\n { element: },\n ,\n ({ result }) => {\n return { element: result }\n }\n ).pop()\n\n const App = function App() {\n const onClientEntryRanRef = React.useRef(false)\n\n React.useEffect(() => {\n if (!onClientEntryRanRef.current) {\n onClientEntryRanRef.current = true\n if (performance.mark) {\n performance.mark(`onInitialClientRender`)\n }\n\n apiRunner(`onInitialClientRender`)\n }\n }, [])\n\n return {SiteRoot}\n }\n\n const focusEl = document.getElementById(`gatsby-focus-wrapper`)\n\n // Client only pages have any empty body so we just do a normal\n // render to avoid React complaining about hydration mis-matches.\n let defaultRenderer = render\n if (focusEl && focusEl.children.length) {\n defaultRenderer = hydrate\n }\n\n const renderer = apiRunner(\n `replaceHydrateFunction`,\n undefined,\n defaultRenderer\n )[0]\n\n function runRender() {\n const rootElement =\n typeof window !== `undefined`\n ? document.getElementById(`___gatsby`)\n : null\n\n renderer(, rootElement)\n }\n\n // https://github.com/madrobby/zepto/blob/b5ed8d607f67724788ec9ff492be297f64d47dfc/src/zepto.js#L439-L450\n // TODO remove IE 10 support\n const doc = document\n if (\n doc.readyState === `complete` ||\n (doc.readyState !== `loading` && !doc.documentElement.doScroll)\n ) {\n setTimeout(function () {\n runRender()\n }, 0)\n } else {\n const handler = function () {\n doc.removeEventListener(`DOMContentLoaded`, handler, false)\n window.removeEventListener(`load`, handler, false)\n\n runRender()\n }\n\n doc.addEventListener(`DOMContentLoaded`, handler, false)\n window.addEventListener(`load`, handler, false)\n }\n\n return\n })\n})\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\nimport loader from \"./loader\"\nimport InternalPageRenderer from \"./page-renderer\"\n\nconst ProdPageRenderer = ({ location }) => {\n const pageResources = loader.loadPageSync(location.pathname)\n if (!pageResources) {\n return null\n }\n return React.createElement(InternalPageRenderer, {\n location,\n pageResources,\n ...pageResources.json,\n })\n}\n\nProdPageRenderer.propTypes = {\n location: PropTypes.shape({\n pathname: PropTypes.string.isRequired,\n }).isRequired,\n}\n\nexport default ProdPageRenderer\n","const preferDefault = m => (m && m.default) || m\n\nif (process.env.BUILD_STAGE === `develop`) {\n module.exports = preferDefault(require(`./public-page-renderer-dev`))\n} else if (process.env.BUILD_STAGE === `build-javascript`) {\n module.exports = preferDefault(require(`./public-page-renderer-prod`))\n} else {\n module.exports = () => null\n}\n","const map = new WeakMap()\n\nexport function reactDOMUtils() {\n const reactDomClient = require(`react-dom/client`)\n\n const render = (Component, el) => {\n let root = map.get(el)\n if (!root) {\n map.set(el, (root = reactDomClient.createRoot(el)))\n }\n root.render(Component)\n }\n\n const hydrate = (Component, el) => reactDomClient.hydrateRoot(el, Component)\n\n return { render, hydrate }\n}\n","import redirects from \"./redirects.json\"\n\n// Convert to a map for faster lookup in maybeRedirect()\n\nconst redirectMap = new Map()\nconst redirectIgnoreCaseMap = new Map()\n\nredirects.forEach(redirect => {\n if (redirect.ignoreCase) {\n redirectIgnoreCaseMap.set(redirect.fromPath, redirect)\n } else {\n redirectMap.set(redirect.fromPath, redirect)\n }\n})\n\nexport function maybeGetBrowserRedirect(pathname) {\n let redirect = redirectMap.get(pathname)\n if (!redirect) {\n redirect = redirectIgnoreCaseMap.get(pathname.toLowerCase())\n }\n return redirect\n}\n","import { apiRunner } from \"./api-runner-browser\"\n\nif (\n window.location.protocol !== `https:` &&\n window.location.hostname !== `localhost`\n) {\n console.error(\n `Service workers can only be used over HTTPS, or on localhost for development`\n )\n} else if (`serviceWorker` in navigator) {\n navigator.serviceWorker\n .register(`${__BASE_PATH__}/sw.js`)\n .then(function (reg) {\n reg.addEventListener(`updatefound`, () => {\n apiRunner(`onServiceWorkerUpdateFound`, { serviceWorker: reg })\n // The updatefound event implies that reg.installing is set; see\n // https://w3c.github.io/ServiceWorker/#service-worker-registration-updatefound-event\n const installingWorker = reg.installing\n console.log(`installingWorker`, installingWorker)\n installingWorker.addEventListener(`statechange`, () => {\n switch (installingWorker.state) {\n case `installed`:\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and the fresh content will\n // have been added to the cache.\n\n // We set a flag so Gatsby Link knows to refresh the page on next navigation attempt\n window.___swUpdated = true\n // We call the onServiceWorkerUpdateReady API so users can show update prompts.\n apiRunner(`onServiceWorkerUpdateReady`, { serviceWorker: reg })\n\n // If resources failed for the current page, reload.\n if (window.___failedResources) {\n console.log(`resources failed, SW updated - reloading`)\n window.location.reload()\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a \"Content is cached for offline use.\" message.\n console.log(`Content is now available offline!`)\n\n // Post to service worker that install is complete.\n // Delay to allow time for the event listener to be added --\n // otherwise fetch is called too soon and resources aren't cached.\n apiRunner(`onServiceWorkerInstalled`, { serviceWorker: reg })\n }\n break\n\n case `redundant`:\n console.error(`The installing service worker became redundant.`)\n apiRunner(`onServiceWorkerRedundant`, { serviceWorker: reg })\n break\n\n case `activated`:\n apiRunner(`onServiceWorkerActive`, { serviceWorker: reg })\n break\n }\n })\n })\n })\n .catch(function (e) {\n console.error(`Error during service worker registration:`, e)\n })\n}\n","import React from \"react\"\n\nconst SlicesResultsContext = React.createContext({})\nconst SlicesContext = React.createContext({})\nconst SlicesMapContext = React.createContext({})\nconst SlicesPropsContext = React.createContext({})\n\nexport {\n SlicesResultsContext,\n SlicesContext,\n SlicesMapContext,\n SlicesPropsContext,\n}\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport { createServerOrClientContext } from \"./context-utils\"\n\nconst StaticQueryContext = createServerOrClientContext(`StaticQuery`, {})\n\nfunction StaticQueryDataRenderer({ staticQueryData, data, query, render }) {\n const finalData = data\n ? data.data\n : staticQueryData[query] && staticQueryData[query].data\n\n return (\n \n {finalData && render(finalData)}\n {!finalData &&
Loading (StaticQuery)
}\n \n )\n}\n\nlet warnedAboutStaticQuery = false\n\n// TODO(v6): Remove completely\nconst StaticQuery = props => {\n const { data, query, render, children } = props\n\n if (process.env.NODE_ENV === `development` && !warnedAboutStaticQuery) {\n console.warn(\n `The component is deprecated and will be removed in Gatsby v6. Use useStaticQuery instead. Refer to the migration guide for more information: https://gatsby.dev/migrating-4-to-5/#staticquery--is-deprecated`\n )\n warnedAboutStaticQuery = true\n }\n\n return (\n \n {staticQueryData => (\n \n )}\n \n )\n}\n\nStaticQuery.propTypes = {\n data: PropTypes.object,\n query: PropTypes.string.isRequired,\n render: PropTypes.func,\n children: PropTypes.func,\n}\n\nconst useStaticQuery = query => {\n if (\n typeof React.useContext !== `function` &&\n process.env.NODE_ENV === `development`\n ) {\n // TODO(v5): Remove since we require React >= 18\n throw new Error(\n `You're likely using a version of React that doesn't support Hooks\\n` +\n `Please update React and ReactDOM to 16.8.0 or later to use the useStaticQuery hook.`\n )\n }\n\n const context = React.useContext(StaticQueryContext)\n\n // query is a stringified number like `3303882` when wrapped with graphql, If a user forgets\n // to wrap the query in a grqphql, then casting it to a Number results in `NaN` allowing us to\n // catch the misuse of the API and give proper direction\n if (isNaN(Number(query))) {\n throw new Error(`useStaticQuery was called with a string but expects to be called using \\`graphql\\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\\`${query}\\`);\n`)\n }\n\n if (context[query]?.data) {\n return context[query].data\n } else {\n throw new Error(\n `The result of this StaticQuery could not be fetched.\\n\\n` +\n `This is likely a bug in Gatsby and if refreshing the page does not fix it, ` +\n `please open an issue in https://github.com/gatsbyjs/gatsby/issues`\n )\n }\n}\n\nexport { StaticQuery, StaticQueryContext, useStaticQuery }\n","import React from \"react\"\n\n// Ensure serverContext is not created more than once as React will throw when creating it more than once\n// https://github.com/facebook/react/blob/dd2d6522754f52c70d02c51db25eb7cbd5d1c8eb/packages/react/src/ReactServerContext.js#L101\nconst createServerContext = (name, defaultValue = null) => {\n /* eslint-disable no-undef */\n if (!globalThis.__SERVER_CONTEXT) {\n globalThis.__SERVER_CONTEXT = {}\n }\n\n if (!globalThis.__SERVER_CONTEXT[name]) {\n globalThis.__SERVER_CONTEXT[name] = React.createServerContext(\n name,\n defaultValue\n )\n }\n\n return globalThis.__SERVER_CONTEXT[name]\n}\n\nfunction createServerOrClientContext(name, defaultValue) {\n if (React.createServerContext) {\n return createServerContext(name, defaultValue)\n }\n\n return React.createContext(defaultValue)\n}\n\nexport { createServerOrClientContext }\n","/**\n * Remove a prefix from a string. Return the input string if the given prefix\n * isn't found.\n */\n\nexport default function stripPrefix(str, prefix = ``) {\n if (!prefix) {\n return str\n }\n\n if (str === prefix) {\n return `/`\n }\n\n if (str.startsWith(`${prefix}/`)) {\n return str.slice(prefix.length)\n }\n\n return str\n}\n","import React from 'react'\nimport { AppProvider } from '../../context/app-context'\n\nconst RootLayout = ({ children }) => {\n return {children}\n}\n\nexport default RootLayout\n","// * Fonts\n// Lora\nimport '@fontsource/lora/400.css'\nimport '@fontsource/lora/500.css'\nimport '@fontsource/lora/600.css'\nimport '@fontsource/lora/700.css'\n// Raleway\nimport '@fontsource/raleway/100.css'\nimport '@fontsource/raleway/200.css'\nimport '@fontsource/raleway/300.css'\nimport '@fontsource/raleway/400.css'\nimport '@fontsource/raleway/500.css'\nimport '@fontsource/raleway/600.css'\nimport '@fontsource/raleway/700.css'\nimport '@fontsource/raleway/800.css'\nimport '@fontsource/raleway/900.css'\n\n// normalize CSS across browsers\nimport './src/assets/css/normalize.css'\n// custom CSS styles\nimport './src/assets/css/style.css'\nimport './src/assets/css/animations.css'\n\n// App Context\nimport React from 'react'\nimport RootLayout from './src/components/Layouts/RootLayout'\n\nexport const wrapRootElement = ({ element }) => {\n return {element}\n}\n","Object.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.defaultOptions = void 0;\nvar defaultOptions = {\n environments: [\"production\"],\n googleAnalytics: {\n cookieName: \"gatsby-gdpr-google-analytics\",\n anonymize: true,\n allowAdFeatures: false\n },\n googleTagManager: {\n cookieName: \"gatsby-gdpr-google-tagmanager\",\n dataLayerName: \"dataLayer\",\n routeChangeEvent: \"gatsbyRouteChange\"\n },\n facebookPixel: {\n cookieName: \"gatsby-gdpr-facebook-pixel\"\n },\n tikTokPixel: {\n cookieName: \"gatsby-gdpr-tiktok-pixel\"\n },\n hotjar: {\n cookieName: \"gatsby-gdpr-hotjar\"\n },\n chatwoot: {\n cookieName: 'gatsby-gdpr-chatwoot'\n },\n linkedin: {\n cookieName: 'gatsby-gdpr-linkedin'\n }\n};\nexports.defaultOptions = defaultOptions;","var _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.onRouteUpdate = exports.onClientEntry = void 0;\n\nvar _defaultOptions = require(\"./default-options\");\n\nvar _index = require(\"./index\");\n\nvar _merge = _interopRequireDefault(require(\"lodash/merge\"));\n\n// init\nvar onClientEntry = function onClientEntry(_, pluginOptions) {\n if (pluginOptions === void 0) {\n pluginOptions = {};\n }\n\n window.gatsbyPluginGDPRCookiesGoogleAnalyticsAdded = false;\n window.gatsbyPluginGDPRCookiesGoogleTagManagerAdded = false;\n window.gatsbyPluginGDPRCookiesFacebookPixelAdded = false;\n window.gatsbyPluginGDPRCookiesTikTokPixelAdded = false;\n window.gatsbyPluginGDPRCookiesHotjarAdded = false;\n window.gatsbyPluginGDPRCookiesChatwootAdded = false;\n window.gatsbyPluginGDPRCookiesLinkedinAdded = false;\n window.gatsbyPluginGDPRCookiesGoogleAnalyticsInitialized = false;\n window.gatsbyPluginGDPRCookiesGoogleTagManagerInitialized = false;\n window.gatsbyPluginGDPRCookiesFacebookPixelInitialized = false;\n window.gatsbyPluginGDPRCookiesTikTokPixelInitialized = false;\n window.gatsbyPluginGDPRCookiesHotjarInitialized = false;\n window.gatsbyPluginGDPRCookiesLinkedinInitialized = false; // google tag manager setup\n\n var _pluginOptions = pluginOptions,\n googleTagManager = _pluginOptions.googleTagManager;\n\n if (googleTagManager && googleTagManager.defaultDataLayer) {\n googleTagManager.defaultDataLayer = {\n type: typeof googleTagManager.defaultDataLayer,\n value: googleTagManager.defaultDataLayer\n };\n\n if (googleTagManager.defaultDataLayer.type === \"function\") {\n googleTagManager.defaultDataLayer.value = googleTagManager.defaultDataLayer.value.toString();\n }\n }\n\n var options = (0, _merge.default)(_defaultOptions.defaultOptions, pluginOptions);\n window.gatsbyPluginGDPRCookiesOptions = options;\n}; // track\n\n\nexports.onClientEntry = onClientEntry;\n\nvar onRouteUpdate = function onRouteUpdate(_ref) {\n var location = _ref.location;\n (0, _index.initializeAndTrack)(location);\n};\n\nexports.onRouteUpdate = onRouteUpdate;","exports.validGATrackingId = function (options) {\n return options.trackingId && options.trackingId.trim() !== \"\";\n};\n\nexports.validGTMTrackingId = function (options) {\n return options.trackingId && options.trackingId.trim() !== \"\";\n};\n\nexports.validFbPixelId = function (options) {\n return options.pixelId && options.pixelId.trim() !== \"\";\n};\n\nexports.validTikTokPixelId = function (options) {\n return options.pixelId && options.pixelId.trim() !== \"\";\n};\n\nexports.validHotjarId = function (options) {\n return options.hjid && options.hjid.trim() !== \"\" && options.hjsv && options.hjsv.trim() !== \"\";\n};\n\nexports.validChatwootConfig = function (options) {\n return options.baseUrl && options.baseUrl.trim() !== \"\" && options.websiteToken && options.websiteToken.trim() !== \"\";\n};\n\nexports.validLinkedinTrackingId = function (options) {\n return options.trackingId && options.trackingId.trim() !== \"\";\n};\n\nexports.getCookie = function (name) {\n var v = document.cookie.match('(^|;) ?' + name + '=([^;]*)(;|$)');\n return v ? v[2] : null;\n};\n\nexports.isEnvironmentValid = function (environments) {\n var currentEnvironment = process.env.ENV || process.env.NODE_ENV || \"development\";\n return environments.includes(currentEnvironment);\n};","var _require = require('./services'),\n initializeAndTrackGoogleAnalytics = _require.initializeAndTrackGoogleAnalytics,\n initializeAndTrackGoogleTagManager = _require.initializeAndTrackGoogleTagManager,\n initializeAndTrackFacebookPixel = _require.initializeAndTrackFacebookPixel,\n initializeAndTrackTikTokPixel = _require.initializeAndTrackTikTokPixel,\n initializeAndTrackHotjar = _require.initializeAndTrackHotjar,\n initializeChatwoot = _require.initializeChatwoot,\n initializeLinkedin = _require.initializeLinkedin;\n\nvar _require2 = require('./helper'),\n isEnvironmentValid = _require2.isEnvironmentValid;\n\nexports.initializeAndTrack = function (location) {\n var options = window.gatsbyPluginGDPRCookiesOptions;\n\n if (isEnvironmentValid(options.environments)) {\n if (location === undefined || location === null) {\n console.error('Please provide a reach router location to the initializeAndTrack function.');\n } else {\n initializeAndTrackGoogleAnalytics(options.googleAnalytics, location);\n initializeAndTrackGoogleTagManager(options.googleTagManager, location);\n initializeAndTrackFacebookPixel(options.facebookPixel);\n initializeAndTrackTikTokPixel(options.tikTokPixel);\n initializeAndTrackHotjar(options.hotjar);\n initializeChatwoot(options.chatwoot);\n initializeLinkedin(options.linkedin);\n }\n }\n};","var _require = require('../helper'),\n validChatwootConfig = _require.validChatwootConfig,\n getCookie = _require.getCookie;\n\nexports.addChatwoot = function (options) {\n return new Promise(function (resolve, reject) {\n if (window.gatsbyPluginGDPRCookiesChatwootAdded) return resolve(true);\n /* eslint-disable */\n\n !function (d, t) {\n var BASE_URL = options.baseUrl;\n var g = d.createElement(t),\n s = d.getElementsByTagName(t)[0];\n g.src = BASE_URL + \"/packs/js/sdk.js\";\n g.defer = true;\n g.async = true;\n s.parentNode.insertBefore(g, s);\n\n g.onload = function () {\n window.chatwootSDK.run({\n websiteToken: options.websiteToken,\n baseUrl: BASE_URL\n });\n };\n }(document, \"script\");\n /* eslint-enable */\n\n window.gatsbyPluginGDPRCookiesChatwootAdded = true;\n resolve(true);\n });\n};","var _require = require('../helper'),\n validFbPixelId = _require.validFbPixelId,\n getCookie = _require.getCookie;\n\nexports.addFacebookPixel = function () {\n return new Promise(function (resolve, reject) {\n if (window.gatsbyPluginGDPRCookiesFacebookPixelAdded) return resolve(true);\n /* eslint-disable */\n\n !function (f, b, e, v, n, t, s) {\n if (f.fbq) return;\n\n n = f.fbq = function () {\n n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments);\n };\n\n if (!f._fbq) f._fbq = n;\n n.push = n;\n n.loaded = !0;\n n.version = '2.0';\n n.queue = [];\n t = b.createElement(e);\n t.async = !0;\n t.src = v;\n s = b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t, s);\n }(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js');\n /* eslint-enable */\n\n window.gatsbyPluginGDPRCookiesFacebookPixelAdded = true;\n resolve(true);\n });\n};\n\nexports.initializeFacebookPixel = function (options) {\n if (!window.gatsbyPluginGDPRCookiesFacebookPixelInitialized && getCookie(options.cookieName) === \"true\" && validFbPixelId(options)) {\n window.fbq(\"init\", options.pixelId);\n window.gatsbyPluginGDPRCookiesFacebookPixelInitialized = true;\n }\n};\n\nexports.trackFacebookPixel = function (options) {\n if (getCookie(options.cookieName) === \"true\" && validFbPixelId(options) && typeof window.fbq === \"function\") {\n window.fbq(\"track\", \"PageView\");\n }\n};","var _require = require('../helper'),\n validGATrackingId = _require.validGATrackingId,\n getCookie = _require.getCookie;\n\nexports.addGoogleAnalytics = function (_ref) {\n var trackingId = _ref.trackingId;\n return new Promise(function (resolve, reject) {\n if (window.gatsbyPluginGDPRCookiesGoogleAnalyticsAdded) return resolve(true);\n var head = document.getElementsByTagName('head')[0];\n var script = document.createElement(\"script\");\n script.type = \"text/javascript\";\n\n script.onload = function () {\n window.gatsbyPluginGDPRCookiesGoogleAnalyticsAdded = true;\n resolve(true);\n };\n\n script.src = \"https://www.googletagmanager.com/gtag/js?id=\" + trackingId;\n head.appendChild(script);\n });\n};\n\nexports.initializeGoogleAnalytics = function (options) {\n if (!window.gatsbyPluginGDPRCookiesGoogleAnalyticsInitialized && getCookie(options.cookieName) === \"true\" && validGATrackingId(options)) {\n window.dataLayer = window.dataLayer || [];\n\n window.gtag = function () {\n window.dataLayer.push(arguments);\n };\n\n window.gtag('js', new Date());\n var gaAnonymize = options.anonymize;\n var gaAllowAdFeatures = options.allowAdFeatures;\n gaAnonymize = gaAnonymize !== undefined ? gaAnonymize : true;\n gaAllowAdFeatures = gaAllowAdFeatures !== undefined ? gaAllowAdFeatures : true;\n window.gtag('config', options.trackingId, {\n 'anonymize_ip': gaAnonymize,\n 'allow_google_signals': gaAllowAdFeatures\n });\n window.gatsbyPluginGDPRCookiesGoogleAnalyticsInitialized = true;\n }\n};\n\nexports.trackGoogleAnalytics = function (options, location) {\n if (getCookie(options.cookieName) === \"true\" && validGATrackingId(options) && typeof window.gtag === \"function\") {\n var pagePath = location ? location.pathname + location.search + location.hash : undefined;\n window.gtag(\"event\", \"page_view\", {\n page_path: pagePath\n });\n }\n};","var _require = require(\"../helper\"),\n validGTMTrackingId = _require.validGTMTrackingId,\n getCookie = _require.getCookie;\n\nexports.addGoogleTagManager = function (_ref, environmentParamStr) {\n var trackingId = _ref.trackingId,\n dataLayerName = _ref.dataLayerName;\n return new Promise(function (resolve, reject) {\n if (window.gatsbyPluginGDPRCookiesGoogleTagManagerAdded) return resolve(true);\n /* eslint-disable */\n\n !function (w, d, s, l, i) {\n w[l] = w[l] || [];\n w[l].push({\n \"gtm.start\": new Date().getTime(),\n event: \"gtm.js\"\n });\n var f = d.getElementsByTagName(s)[0],\n j = d.createElement(s),\n dl = l != \"dataLayer\" ? \"&l=\" + l : \"\";\n j.async = true;\n j.src = \"https://www.googletagmanager.com/gtm.js?id=\" + i + dl + environmentParamStr;\n f.parentNode.insertBefore(j, f);\n }(window, document, \"script\", dataLayerName, trackingId);\n /* eslint-enable */\n\n var iframe = document.createElement(\"iframe\");\n iframe.key = \"gatsby-plugin-gdpr-cookies-google-tagmanager-iframe\";\n iframe.src = \"https://www.googletagmanager.com/ns.html?id=\" + trackingId + environmentParamStr;\n iframe.height = 0;\n iframe.width = 0;\n iframe.style = \"display: none; visibility: hidden\";\n document.body.insertBefore(iframe, document.body.firstChild);\n window.gatsbyPluginGDPRCookiesGoogleTagManagerAdded = true;\n resolve(true);\n });\n};\n\nexports.initializeGoogleTagManager = function (options) {\n // console.log(`initing tag manager`)\n if (!window.gatsbyPluginGDPRCookiesGoogleTagManagerInitialized && getCookie(options.cookieName) === \"true\" && validGTMTrackingId(options)) {\n window.dataLayer = window.dataLayer || [];\n\n window.gtag = function () {\n window.dataLayer.push(arguments);\n };\n\n window.gtag(\"js\", new Date());\n var gaAnonymize = options.anonymize;\n var gaAllowAdFeatures = options.allowAdFeatures;\n gaAnonymize = gaAnonymize !== undefined ? gaAnonymize : true;\n gaAllowAdFeatures = gaAllowAdFeatures !== undefined ? gaAllowAdFeatures : true;\n window.gtag(\"config\", options.trackingId, {\n anonymize_ip: gaAnonymize,\n allow_google_signals: gaAllowAdFeatures\n });\n }\n};\n\nexports.trackGoogleTagManager = function (options, location) {\n // console.log(`tracking tag manager`)\n if (getCookie(options.cookieName) === \"true\" && validGTMTrackingId(options) && typeof window.gtag === \"function\") {\n var pagePath = location ? location.pathname + location.search + location.hash : undefined;\n window.gtag(\"event\", \"page_view\", {\n page_path: pagePath\n });\n }\n\n setTimeout(function () {\n var data = options.dataLayerName ? window[options.dataLayerName] : window.dataLayer;\n\n if (typeof data === \"object\") {\n var eventName = options.routeChangeEvent || \"gatsbyRouteChange\";\n data.push({\n event: eventName\n });\n }\n }, 50);\n};","var _require = require('../helper'),\n validHotjarId = _require.validHotjarId,\n getCookie = _require.getCookie;\n\nexports.addHotjar = function (options) {\n return new Promise(function (resolve, reject) {\n if (window.gatsbyPluginGDPRCookiesHotjarAdded) return resolve(true);\n /* eslint-disable */\n\n !function (h, o, t, j, a, r) {\n h.hj = h.hj || function () {\n (h.hj.q = h.hj.q || []).push(arguments);\n };\n\n h._hjSettings = {\n hjid: options.hjid,\n hjsv: options.hjsv\n };\n a = o.getElementsByTagName('head')[0];\n r = o.createElement('script');\n r.async = 1;\n r.src = t + h._hjSettings.hjid + j + h._hjSettings.hjsv;\n a.appendChild(r);\n }(window, document, 'https://static.hotjar.com/c/hotjar-', '.js?sv=');\n /* eslint-enable */\n\n window.gatsbyPluginGDPRCookiesHotjarAdded = true;\n resolve(true);\n });\n};\n\nexports.initializeHotjar = function (options) {\n if (!window.gatsbyPluginGDPRCookiesHotjarInitialized && getCookie(options.cookieName) === \"true\" && validHotjarId(options)) {\n window.gatsbyPluginGDPRCookiesHotjarInitialized = true;\n }\n};\n\nexports.trackHotjar = function (options) {// this is supposed to so nothing\n};","var _require = require('../helper'),\n validGATrackingId = _require.validGATrackingId,\n validGTMTrackingId = _require.validGTMTrackingId,\n validFbPixelId = _require.validFbPixelId,\n validTikTokPixelId = _require.validTikTokPixelId,\n validHotjarId = _require.validHotjarId,\n validChatwootConfig = _require.validChatwootConfig,\n validLinkedinTrackingId = _require.validLinkedinTrackingId,\n getCookie = _require.getCookie;\n\nvar _require2 = require('./google-analytics'),\n addGoogleAnalytics = _require2.addGoogleAnalytics,\n initializeGoogleAnalytics = _require2.initializeGoogleAnalytics,\n trackGoogleAnalytics = _require2.trackGoogleAnalytics;\n\nvar _require3 = require('./google-tag-manager'),\n addGoogleTagManager = _require3.addGoogleTagManager,\n initializeGoogleTagManager = _require3.initializeGoogleTagManager,\n trackGoogleTagManager = _require3.trackGoogleTagManager;\n\nvar _require4 = require('./facebook'),\n addFacebookPixel = _require4.addFacebookPixel,\n initializeFacebookPixel = _require4.initializeFacebookPixel,\n trackFacebookPixel = _require4.trackFacebookPixel;\n\nvar _require5 = require('./tiktok'),\n addTikTokPixel = _require5.addTikTokPixel,\n initializeTikTokPixel = _require5.initializeTikTokPixel,\n trackTikTokPixel = _require5.trackTikTokPixel;\n\nvar _require6 = require('./hotjar'),\n addHotjar = _require6.addHotjar,\n initializeHotjar = _require6.initializeHotjar,\n trackHotjar = _require6.trackHotjar;\n\nvar _require7 = require('./chatwoot'),\n addChatwoot = _require7.addChatwoot;\n\nvar _require8 = require('./linkedin'),\n addLinkedin = _require8.addLinkedin,\n initializeLinkedin = _require8.initializeLinkedin;\n\nexports.initializeAndTrackGoogleAnalytics = function (options, location) {\n if (getCookie(options.cookieName) === \"true\" && validGATrackingId(options)) {\n addGoogleAnalytics(options).then(function (status) {\n if (status) {\n initializeGoogleAnalytics(options);\n trackGoogleAnalytics(options, location);\n }\n });\n }\n};\n\nexports.initializeAndTrackGoogleTagManager = function (options, location) {\n if (getCookie(options.cookieName) === \"true\" && validGTMTrackingId(options)) {\n var environmentParamStr = \"\";\n\n if (options.gtmAuth && options.gtmPreview) {\n environmentParamStr = \">m_auth=\" + options.gtmAuth + \">m_preview=\" + options.gtmPreview + \">m_cookies_win=x\";\n }\n\n addGoogleTagManager(options, environmentParamStr).then(function (status) {\n if (status) {\n initializeGoogleTagManager(options);\n trackGoogleTagManager(options, location);\n }\n });\n }\n};\n\nexports.initializeAndTrackFacebookPixel = function (options) {\n if (getCookie(options.cookieName) === \"true\" && validFbPixelId(options)) {\n addFacebookPixel().then(function (status) {\n if (status) {\n initializeFacebookPixel(options);\n trackFacebookPixel(options);\n }\n });\n }\n};\n\nexports.initializeAndTrackTikTokPixel = function (options) {\n if (getCookie(options.cookieName) === \"true\" && validTikTokPixelId(options)) {\n addTikTokPixel().then(function (status) {\n if (status) {\n initializeTikTokPixel(options);\n trackTikTokPixel(options);\n }\n });\n }\n};\n\nexports.initializeAndTrackHotjar = function (options) {\n if (getCookie(options.cookieName) === \"true\" && validHotjarId(options)) {\n addHotjar(options).then(function (status) {\n if (status) {\n initializeHotjar(options);\n trackHotjar(options);\n }\n });\n }\n};\n\nexports.initializeLinkedin = function (options) {\n if (getCookie(options.cookieName) === \"true\" && validLinkedinTrackingId(options)) {\n addLinkedin(options).then(function (status) {\n if (status) {\n initializeLinkedin(options);\n }\n });\n }\n};\n\nexports.initializeChatwoot = function (options) {\n if (getCookie(options.cookieName) === \"true\" && validChatwootConfig(options)) {\n addChatwoot(options).then(function (status) {\n if (status) {\n console.info('Chat is added and running');\n }\n });\n }\n};","var _require = require('../helper'),\n validLinkedinTrackingId = _require.validLinkedinTrackingId,\n getCookie = _require.getCookie;\n\nexports.addLinkedin = function (options) {\n return new Promise(function (resolve, reject) {\n if (window.gatsbyPluginGDPRCookiesLinkedinAdded) return resolve(true);\n /* eslint-disable */\n // LINKED IN SPECIFIC CODE HERE\n\n _linkedin_partner_id = options.trackingId;\n window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];\n\n window._linkedin_data_partner_ids.push(_linkedin_partner_id);\n /* eslint-enable */\n\n\n window.gatsbyPluginGDPRCookiesLinkedinAdded = true;\n resolve(true);\n });\n};\n\nexports.initializeLinkedin = function (options) {\n if (!window.gatsbyPluginGDPRCookiesLinkedinInitialized && getCookie(options.cookieName) === \"true\" && validLinkedinTrackingId(options)) {\n // (function(){\n var s = document.getElementsByTagName(\"script\")[0];\n var b = document.createElement(\"script\");\n b.type = \"text/javascript\";\n b.async = true;\n b.src = \"https://snap.licdn.com/li.lms-analytics/insight.min.js\";\n s.parentNode.insertBefore(b, s); // })();\n\n window.gatsbyPluginGDPRCookiesLinkedinInitialized = true;\n }\n};","var _require = require('../helper'),\n validTikTokPixelId = _require.validTikTokPixelId,\n getCookie = _require.getCookie;\n\nexports.addTikTokPixel = function () {\n return new Promise(function (resolve, reject) {\n if (window.gatsbyPluginGDPRCookiesTikTokPixelAdded) return resolve(true);\n /* eslint-disable */\n\n !function (w, d, t) {\n w.TiktokAnalyticsObject = t;\n var ttq = w[t] = w[t] || [];\n ttq.methods = [\"page\", \"track\", \"identify\", \"instances\", \"debug\", \"on\", \"off\", \"once\", \"ready\", \"alias\", \"group\", \"enableCookie\", \"disableCookie\"], ttq.setAndDefer = function (t, e) {\n t[e] = function () {\n t.push([e].concat(Array.prototype.slice.call(arguments, 0)));\n };\n };\n\n for (var i = 0; i < ttq.methods.length; i++) {\n ttq.setAndDefer(ttq, ttq.methods[i]);\n }\n\n ttq.instance = function (t) {\n for (var e = ttq._i[t] || [], n = 0; n < ttq.methods.length; n++) {\n ttq.setAndDefer(e, ttq.methods[n]);\n }\n\n return e;\n }, ttq.load = function (e, n) {\n var i = \"https://analytics.tiktok.com/i18n/pixel/events.js\";\n ttq._i = ttq._i || {}, ttq._i[e] = [], ttq._i[e]._u = i, ttq._t = ttq._t || {}, ttq._t[e] = +new Date(), ttq._o = ttq._o || {}, ttq._o[e] = n || {};\n n = document.createElement(\"script\");\n n.type = \"text/javascript\", n.async = !0, n.src = i + \"?sdkid=\" + e + \"&lib=\" + t;\n e = document.getElementsByTagName(\"script\")[0];\n e.parentNode.insertBefore(n, e);\n };\n }(window, document, 'ttq');\n /* eslint-enable */\n\n window.gatsbyPluginGDPRCookiesTikTokPixelAdded = true;\n resolve(true);\n });\n};\n\nexports.initializeTikTokPixel = function (options) {\n if (!window.gatsbyPluginGDPRCookiesTikTokPixelInitialized && getCookie(options.cookieName) === \"true\" && validTikTokPixelId(options)) {\n window.ttq.load(options.pixelId);\n window.gatsbyPluginGDPRCookiesTikTokPixelInitialized = true;\n }\n};\n\nexports.trackTikTokPixel = function (options) {\n if (getCookie(options.cookieName) === \"true\" && validTikTokPixelId(options) && typeof window.fbq === \"function\") {\n window.fbq(\"track\", \"PageView\");\n window.ttq.page();\n }\n};","/* global __MANIFEST_PLUGIN_HAS_LOCALISATION__ */\nimport { withPrefix } from \"gatsby\";\nimport getManifestForPathname from \"./get-manifest-pathname\";\n\n// when we don't have localisation in our manifest, we tree shake everything away\nexport const onRouteUpdate = function onRouteUpdate({\n location\n}, pluginOptions) {\n if (__MANIFEST_PLUGIN_HAS_LOCALISATION__) {\n const {\n localize\n } = pluginOptions;\n const manifestFilename = getManifestForPathname(location.pathname, localize, true);\n const manifestEl = document.head.querySelector(`link[rel=\"manifest\"]`);\n if (manifestEl) {\n manifestEl.setAttribute(`href`, withPrefix(manifestFilename));\n }\n }\n};","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\nvar _gatsby = require(\"gatsby\");\n/**\n * Get a manifest filename depending on localized pathname\n *\n * @param {string} pathname\n * @param {Array<{start_url: string, lang: string}>} localizedManifests\n * @param {boolean} shouldPrependPathPrefix\n * @return string\n */\nvar _default = (pathname, localizedManifests, shouldPrependPathPrefix = false) => {\n const defaultFilename = `manifest.webmanifest`;\n if (!Array.isArray(localizedManifests)) {\n return defaultFilename;\n }\n const localizedManifest = localizedManifests.find(app => {\n let startUrl = app.start_url;\n if (shouldPrependPathPrefix) {\n startUrl = (0, _gatsby.withPrefix)(startUrl);\n }\n return pathname.startsWith(startUrl);\n });\n if (!localizedManifest) {\n return defaultFilename;\n }\n return `manifest_${localizedManifest.lang}.webmanifest`;\n};\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _interopRequireWildcard = require(\"@babel/runtime/helpers/interopRequireWildcard\");\n\nexports.__esModule = true;\nexports.default = Wrapper;\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _sal = _interopRequireDefault(require(\"sal.js\"));\n\nfunction Wrapper(_ref) {\n var children = _ref.children,\n path = _ref.path,\n options = _ref.options;\n (0, _react.useEffect)(function () {\n (0, _sal.default)(options);\n }, [path]);\n return children;\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _objectWithoutPropertiesLoose2 = _interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutPropertiesLoose\"));\n\nrequire('sal.js/dist/sal.css');\n\nrequire('intersection-observer');\n\nvar React = require(\"react\");\n\nvar Wrapper = require('./Wrapper').default;\n\nexports.wrapPageElement = function (_ref, _ref2) {\n var element = _ref.element,\n props = _ref.props;\n var plugins = _ref2.plugins,\n options = (0, _objectWithoutPropertiesLoose2.default)(_ref2, [\"plugins\"]);\n return (\n /*#__PURE__*/\n React.createElement(Wrapper, {\n options: options,\n path: props.path\n }, element)\n );\n};","import React, { createContext, useEffect, useState } from 'react'\n\nimport { useStaticQuery, graphql } from 'gatsby'\n\nimport {\n addBundleToStrapiCart,\n addProductToStrapiCart,\n createStrapiCartID,\n decreaseBundleToStrapiCart,\n decreaseProductToStrapiCart,\n deleteStrapiCart,\n getBundleFromStrapi,\n getProductFromStrapi,\n getStrapiCart,\n increaseBundleToStrapiCart,\n increaseProductToStrapiCart,\n removeBundleToStrapiCart,\n removeProductToStrapiCart,\n} from '../utils/strapi'\nimport useWindowWidth from '../hooks/useWindowWidth'\nimport { addCustomerToNewsletter } from '../utils/newsletterUtils'\nimport { TrackAddProductToCartEvent } from '../utils/google-analytics'\n\nexport const AppContext = createContext()\n\nexport const AppProvider = ({ children }) => {\n const data = useStaticQuery(graphql`\n query {\n strapiWerte {\n Versandkosten\n Versandkostenfrei_ab\n Gratis_Produkt_ab\n }\n strapiGratisProdukt {\n Gratis_Produkt {\n produkt {\n strapi_id\n Name\n slug\n kategorie {\n Name\n }\n marke {\n Name\n }\n Variante {\n groesse {\n Name\n strapi_id\n }\n Bildergalerie {\n url\n }\n Vorratsanzahl\n }\n Vorschaubild {\n url\n }\n edition {\n Name\n }\n }\n groesse {\n Name\n strapi_id\n }\n Anzahl\n }\n }\n strapiUpSalesProdukt {\n Produkt {\n produkt {\n strapi_id\n Name\n slug\n kategorie {\n Name\n }\n marke {\n Name\n }\n Variante {\n groesse {\n Name\n strapi_id\n }\n Bildergalerie {\n url\n }\n Vorratsanzahl\n Preis\n Preis_Angebot\n }\n Vorschaubild {\n url\n }\n edition {\n Name\n }\n }\n groesse {\n Name\n strapi_id\n }\n Anzahl\n }\n }\n }\n `)\n\n const [versandkostenValue] = useState(() => {\n return data.strapiWerte?.Versandkosten || 0\n })\n\n const [versandkostenfreiAb] = useState(() => {\n return data.strapiWerte?.Versandkostenfrei_ab || 0\n })\n\n const [gratisProduktAb] = useState(() => {\n return data.strapiWerte?.Gratis_Produkt_ab || 0\n })\n\n const [gratisProdukte] = useState(() => {\n return data.strapiGratisProdukt?.Gratis_Produkt || []\n })\n\n const [upSalesProdukte] = useState(() => {\n return data.strapiUpSalesProdukt?.Produkt || []\n })\n\n const isBrowser = typeof window !== `undefined`\n const windowWidth = useWindowWidth()\n\n // Browser Language\n const [language] = useState(() => {\n // if (isBrowser) {\n // if (window.localStorage.browserLanguage) {\n // return JSON.parse(window.localStorage.browserLanguage)\n // } else {\n // if (window.navigator.language === 'de-DE') {\n // return 'de'\n // }\n // return 'en'\n // }\n // } else {\n // return 'en'\n // }\n\n return 'de'\n })\n\n // PopUp\n const [popUpIsOpen, setPopUpIsOpen] = useState(false)\n const [checkoutPopUpIsOpen, setCheckoutPopUpIsOpen] = useState(false)\n\n // Sidebar\n const [showNavbar, setShowNavbar] = useState(false)\n const [isSidebarOpen, setIsSidebarOpen] = useState(false)\n const handleSidebar = () => {\n setIsSidebarOpen(!isSidebarOpen)\n }\n\n const closeSidebar = () => {\n setIsSidebarOpen(false)\n }\n\n useEffect(() => {\n if (windowWidth < 1024) {\n if (isSidebarOpen) {\n setShowNavbar(false)\n }\n }\n }, [windowWidth, isSidebarOpen])\n\n // Cart\n const [cart, setCart] = useState([])\n\n const [cartID, setCartID] = useState(() => {\n if (isBrowser) {\n return JSON.parse(window.localStorage.CartID || null)\n } else {\n return null\n }\n })\n\n const resetCart = async () => {\n // Delete Strapi Cart\n if (cartID) {\n await deleteStrapiCart(cartID)\n setCartID(null)\n setCart([])\n }\n\n return true\n }\n\n useEffect(() => {\n setCartIsLoading(true)\n\n const getCart = async () => {\n if (cartID) {\n const strapiCart = await getStrapiCart(cartID)\n\n if (strapiCart) {\n // ***** Get all products from cart\n const allProducts =\n strapiCart?.attributes?.Cart_Produkte || []\n\n const allProductsArray = allProducts.map(current => ({\n product_type: 'product',\n product_strapi_id: current?.produkt?.data?.id,\n groesse_id: current?.groesse?.data?.id,\n product_count: current?.Anzahl,\n }))\n\n const allProductsFromStrapi = await Promise.all(\n allProductsArray.map(async currentProduct => {\n const product = await getProductFromStrapi(\n currentProduct.product_strapi_id\n )\n\n if (!product) {\n return null\n }\n\n const productVariant =\n product.attributes?.Variante?.find(\n item =>\n item.groesse?.data?.id ===\n currentProduct.groesse_id\n )\n\n if (!productVariant) return null\n\n const vorratsanzahl =\n productVariant?.Vorratsanzahl ?? 0\n\n // Prüfen, ob tatsächlich genügend Vorrat existiert:\n // Wenn nicht ausreichend -> direkt aus Strapi entfernen und null zurückgeben\n if (vorratsanzahl < currentProduct.product_count) {\n await removeProductToStrapiCart(\n cartID,\n product.id,\n productVariant.groesse?.data?.attributes\n ?.Name || ''\n )\n return null\n }\n\n // Wenn wir hier sind, existiert genügend Vorrat\n let productVariantImage =\n product.attributes?.Vorschaubild?.data\n ?.attributes?.url\n\n if (\n productVariant?.Bildergalerie?.data?.length > 0\n ) {\n productVariantImage =\n productVariant.Bildergalerie.data[0]\n ?.attributes?.url\n }\n\n return {\n product_type: 'product',\n product_strapi_id: product.id,\n product_name: product.attributes?.Name,\n product_slug: product.attributes?.slug,\n product_edition:\n product.attributes?.edition?.data\n ?.attributes?.Name,\n product_variant:\n productVariant?.groesse?.data?.attributes\n ?.Name,\n product_variant_strapi_id:\n productVariant?.groesse?.data?.id,\n product_variant_price:\n productVariant?.Preis_Angebot ||\n productVariant?.Preis,\n product_variant_normal_price:\n productVariant?.Preis,\n product_variant_discount: 0,\n product_count: currentProduct.product_count,\n product_image: productVariantImage,\n }\n })\n )\n\n const validProductsFromStrapi =\n allProductsFromStrapi.filter(p => p !== null)\n\n // ***** Get all bundles from cart\n const allBundles =\n strapiCart?.attributes?.Cart_Bundles || []\n\n const allBundlesArray = allBundles.map(current => ({\n product_type: 'bundle',\n product_strapi_id: current?.bundle?.data?.id,\n product_variant_one: current?.Produkt_1,\n product_variant_two: current?.Produkt_2,\n product_count: current?.Anzahl,\n }))\n\n const allBundlesFromStrapi = await Promise.all(\n allBundlesArray.map(async currentBundle => {\n const strapi_bundle = await getBundleFromStrapi(\n currentBundle.product_strapi_id\n )\n\n if (!strapi_bundle) {\n return null\n }\n\n const bundleData = strapi_bundle?.attributes\n\n const produkt1 = bundleData?.Produkt?.[0]\n const produkt2 = bundleData?.Produkt?.[1]\n\n if (!produkt1 || !produkt2) {\n // Entfernen:\n await removeBundleToStrapiCart(\n cartID,\n currentBundle.product_strapi_id,\n currentBundle.product_variant_one,\n currentBundle.product_variant_two\n )\n return null\n }\n\n const produkt1Id = produkt1.produkt?.data?.id\n const produkt2Id = produkt2.produkt?.data?.id\n\n const variant1Name =\n currentBundle.product_variant_one\n const variant2Name =\n currentBundle.product_variant_two\n\n const produkt1Data = await getProductFromStrapi(\n produkt1Id\n )\n if (!produkt1Data) {\n await removeBundleToStrapiCart(\n cartID,\n currentBundle.product_strapi_id,\n variant1Name,\n variant2Name\n )\n return null\n }\n\n const produkt1Variant =\n produkt1Data.attributes?.Variante?.find(\n v =>\n v.groesse?.data?.attributes?.Name ===\n variant1Name\n )\n if (!produkt1Variant) {\n await removeBundleToStrapiCart(\n cartID,\n currentBundle.product_strapi_id,\n variant1Name,\n variant2Name\n )\n return null\n }\n\n const vorrat1 = produkt1Variant?.Vorratsanzahl ?? 0\n\n // Nun analog für Produkt 2\n let produkt2Variant = null\n let vorrat2 = 0\n\n // Prüfen, ob beide gleich sind\n if (\n produkt1Id === produkt2Id &&\n variant1Name === variant2Name\n ) {\n // Kombiniere Anzahl beider\n const gesamtAnzahl =\n currentBundle.product_count *\n (produkt1.Anzahl + produkt2.Anzahl)\n\n // Wenn vorrat1 nicht ausreicht, raus damit\n if (vorrat1 < gesamtAnzahl) {\n await removeBundleToStrapiCart(\n cartID,\n currentBundle.product_strapi_id,\n variant1Name,\n variant2Name\n )\n return null\n }\n } else {\n // Unterscheide Produkt 1 und 2\n const produkt2Data = await getProductFromStrapi(\n produkt2Id\n )\n if (!produkt2Data) {\n await removeBundleToStrapiCart(\n cartID,\n currentBundle.product_strapi_id,\n variant1Name,\n variant2Name\n )\n return null\n }\n produkt2Variant =\n produkt2Data.attributes?.Variante?.find(\n v =>\n v.groesse?.data?.attributes\n ?.Name === variant2Name\n )\n if (!produkt2Variant) {\n await removeBundleToStrapiCart(\n cartID,\n currentBundle.product_strapi_id,\n variant1Name,\n variant2Name\n )\n return null\n }\n\n vorrat2 = produkt2Variant?.Vorratsanzahl ?? 0\n\n const required1 =\n currentBundle.product_count *\n produkt1.Anzahl\n const required2 =\n currentBundle.product_count *\n produkt2.Anzahl\n\n if (\n vorrat1 < required1 ||\n vorrat2 < required2\n ) {\n // Wenn nicht ausreichend Vorrat -> entfernen\n await removeBundleToStrapiCart(\n cartID,\n currentBundle.product_strapi_id,\n variant1Name,\n variant2Name\n )\n return null\n }\n }\n\n // Wenn wir hier angekommen sind, gibt es genug Vorrat\n return {\n product_type: 'bundle',\n product_strapi_id: strapi_bundle.id,\n product_name: bundleData?.Name,\n product_edition:\n bundleData?.edition?.data?.attributes?.Name,\n product_count: currentBundle.product_count,\n product_one_strapi_id: produkt1Id,\n product_two_strapi_id: produkt2Id,\n product_one_name:\n produkt1.produkt?.data?.attributes?.Name,\n product_two_name:\n produkt2.produkt?.data?.attributes?.Name,\n product_one_edition:\n produkt1.produkt?.data?.attributes?.edition\n ?.data?.attributes?.Name,\n product_two_edition:\n produkt2.produkt?.data?.attributes?.edition\n ?.data?.attributes?.Name,\n product_one_anzahl: produkt1.Anzahl,\n product_two_anzahl: produkt2.Anzahl,\n product_variant_one: variant1Name,\n product_variant_two: variant2Name,\n product_variant_price: bundleData?.Preis,\n product_one_image:\n produkt1.produkt?.data?.attributes\n ?.Vorschaubild?.data?.attributes?.url,\n product_two_image:\n produkt2.produkt?.data?.attributes\n ?.Vorschaubild?.data?.attributes?.url,\n }\n })\n )\n\n const validBundlesFromStrapi = allBundlesFromStrapi.filter(\n b => b !== null\n )\n\n // allItemsArray is an array with all products and bundles\n const allItemsArray = [\n ...validProductsFromStrapi,\n ...validBundlesFromStrapi,\n ]\n\n setCart(allItemsArray)\n }\n }\n\n setCartIsLoading(false)\n }\n\n getCart()\n\n return () => {\n setCartIsLoading(false)\n }\n }, [cartID])\n\n const [cartIsLoading, setCartIsLoading] = useState(false)\n\n const [cartProductCount, setCartProductCount] = useState(0)\n const [cartTotalPrice, setCartTotalPrice] = useState(0)\n\n const [deliveryForm, setDeliveryForm] = useState({\n email: '',\n telephone: '',\n deliveryCountry: 'DE',\n deliveryFirstName: '',\n deliveryLastName: '',\n deliveryCompany: '',\n deliveryStreet: '',\n deliveryAdditionalInformation: '',\n deliveryZipCode: '',\n deliveryCity: '',\n otherBillingAddress: false,\n billingCountry: 'DE',\n billingFirstName: '',\n billingLastName: '',\n billingCompany: '',\n billingStreet: '',\n billingAdditionalInformation: '',\n billingZipCode: '',\n billingCity: '',\n acceptTerms: false,\n acceptDHLCheck: false,\n })\n\n const [isCaptureCheckout, setIsCaptureCheckout] = useState(false)\n const [captureCheckoutOrderPayerId, setCaptureCheckoutOrderPayerId] =\n useState(null)\n const [captureCheckoutOrderOrderId, setCaptureCheckoutOrderOrderId] =\n useState(null)\n const [captureCheckoutActions, setCaptureCheckoutActions] = useState(null)\n\n const [deliveryMessage, setDeliveryMessage] = useState('')\n\n const [deliveryOption, setDeliveryOption] = useState(null)\n\n const [couponDiscount, setCouponDiscount] = useState(null)\n const [couponDiscountID, setCouponDiscountID] = useState(null)\n const [couponDiscountVariant, setCouponDiscountVariant] = useState(null)\n const [couponName, setCouponName] = useState(null)\n const [deliveryDiscount, setDeliveryDiscount] = useState(null)\n const [discount, setDiscount] = useState(null)\n\n const [couponDiscountValue, setCouponDiscountValue] = useState(0)\n const [deliveryDiscountValue, setDeliveryDiscountValue] = useState(0)\n const [discountValue, setDiscountValue] = useState(0)\n const [discountProducts, setDiscountProducts] = useState([])\n const [ohneAktionsprodukte, setOhneAktionsprodukte] = useState(false)\n\n const [paymentOption, setPaymentOption] = useState('PayPal')\n\n useEffect(() => {\n if (\n deliveryOption?.key === 'Werksverkauf' ||\n paymentOption === 'Banküberweisung'\n ) {\n setDeliveryDiscount(0.05)\n } else {\n setDeliveryDiscount(null)\n }\n }, [deliveryOption, paymentOption])\n\n useEffect(() => {\n if (deliveryOption?.key === 'Werksverkauf') {\n setPaymentOption('PayPal')\n }\n }, [deliveryOption])\n\n useEffect(() => {\n // reset item.product_variant_discount on every item in cart to 0\n const newCart = [...cart]\n newCart.forEach(item => {\n item.product_variant_discount = 0\n })\n setCart(newCart)\n if (couponDiscount) {\n if (couponDiscountVariant === 'Gutscheincode') {\n if (cartTotalPrice < couponDiscount) {\n setCouponDiscountValue(\n cartTotalPrice - deliveryDiscountValue\n )\n } else {\n setCouponDiscountValue(couponDiscount)\n }\n } else {\n if (discountProducts?.length > 0) {\n const formattedDiscountProducts = discountProducts.map(\n item => ({\n produkt: item.produkt?.data?.id,\n groesse: item.groesse?.data?.attributes?.Name || '',\n })\n )\n // map through cart and check if there is a product with the same strapi_id and variant as the formattedDiscountProducts\n const discountProductsInCart = cart.filter(item =>\n formattedDiscountProducts.find(\n discountProduct =>\n discountProduct.produkt ===\n item.product_strapi_id &&\n discountProduct.groesse === item.product_variant\n )\n )\n\n discountProductsInCart.forEach(item => {\n if (\n ohneAktionsprodukte &&\n item.product_variant_price <\n item.product_variant_normal_price\n ) {\n item.product_variant_discount = 0\n } else {\n item.product_variant_discount =\n couponDiscount * item.product_variant_price\n }\n })\n\n // update local cart\n const newCart = [...cart]\n\n discountProductsInCart.forEach(discountItem => {\n const productInCart = newCart.find(\n cartItem =>\n cartItem.product_strapi_id ===\n discountItem.product_strapi_id &&\n cartItem.product_variant ===\n discountItem.product_variant\n )\n if (productInCart) {\n productInCart.product_variant_discount =\n discountItem.product_variant_discount\n }\n })\n\n setCart(newCart)\n } else {\n if (ohneAktionsprodukte) {\n // map thorugh cart and if \"product_variant_normal_price\" is the same as \"product_variant_price\" then apply the discount and update product_variant_discount\n const newCart = [...cart]\n\n newCart.forEach(item => {\n if (\n item.product_variant_price ===\n item.product_variant_normal_price\n ) {\n item.product_variant_discount =\n couponDiscount * item.product_variant_price\n }\n })\n\n setCart(newCart)\n } else {\n const newCart = [...cart]\n\n newCart.forEach(item => {\n item.product_variant_discount =\n couponDiscount * item.product_variant_price\n })\n\n setCart(newCart)\n }\n }\n }\n } else {\n setCouponDiscountValue(0)\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n ohneAktionsprodukte,\n couponDiscount,\n deliveryDiscountValue,\n cartTotalPrice,\n couponDiscountVariant,\n discountProducts,\n ])\n\n useEffect(() => {\n if (deliveryDiscount) {\n setDeliveryDiscountValue(\n Number((cartTotalPrice * deliveryDiscount).toFixed(2))\n )\n } else {\n setDeliveryDiscountValue(0)\n }\n }, [deliveryDiscount, cartTotalPrice])\n\n useEffect(() => {\n if (couponDiscount || deliveryDiscount) {\n setDiscount((couponDiscount + deliveryDiscount).toFixed(2))\n } else {\n setDiscount(null)\n }\n }, [couponDiscount, deliveryDiscount])\n\n useEffect(() => {\n if (discount) {\n setDiscountValue(\n Number((couponDiscountValue + deliveryDiscountValue).toFixed(2))\n )\n } else {\n setDiscountValue(0)\n }\n }, [discount, couponDiscountValue, deliveryDiscountValue, cartTotalPrice])\n\n useEffect(() => {\n // cartProductCount\n let count = 0\n cart.forEach(item => {\n count += item.product_count\n })\n setCartProductCount(count)\n\n // cartTotalPrice\n let price = 0\n let discount = 0\n cart.forEach(item => {\n price += item.product_variant_price * item.product_count\n discount += item.product_variant_discount * item.product_count\n })\n\n if (couponDiscountVariant !== 'Gutscheincode') {\n setCouponDiscountValue(discount)\n }\n setCartTotalPrice(price)\n }, [cart, couponDiscountVariant])\n\n // FUNCTIONS\n const checkForCartID = async (isFreshCart = false) => {\n if (!cartID || isFreshCart) {\n const cartUid = await createStrapiCartID()\n\n if (cartUid) {\n setCartID(cartUid)\n if (isBrowser) {\n window.localStorage.CartID = JSON.stringify(cartUid)\n }\n return cartUid\n }\n } else {\n return cartID\n }\n }\n\n const addProductToCart = async (\n product,\n variant,\n count,\n isFreshCart = false\n ) => {\n setCartIsLoading(true)\n const newCart = isFreshCart ? [] : [...cart]\n\n const currentCartID = await checkForCartID(isFreshCart)\n\n if (currentCartID) {\n const productInCart = newCart.find(\n item =>\n item.product_strapi_id === product.strapi_id &&\n item.product_variant === variant?.groesse?.Name\n )\n\n const successfullAddedProduct = await addProductToStrapiCart(\n currentCartID,\n product,\n variant,\n count\n )\n\n if (successfullAddedProduct) {\n const trackItem = {\n id: product.strapi_id,\n name: product.Name,\n category: product.kategorie?.Name,\n variant: variant?.groesse?.Name,\n brand: product.marke?.Name,\n price: variant.Preis_Angebot || variant.Preis,\n }\n\n TrackAddProductToCartEvent(trackItem, count)\n\n if (productInCart) {\n productInCart.product_count += count\n } else {\n let productVariantImage = product?.Vorschaubild?.url\n\n // filter through product variants and find the one with the same size as the selected one\n const productVariant = product?.Variante?.find(\n item => item.groesse?.Name === variant?.groesse?.Name\n )\n // if there is a product variant with the same size as the selected one, set the image to the product variant image\n if (productVariant) {\n if (productVariant?.Bildergalerie?.length > 0) {\n productVariantImage =\n productVariant?.Bildergalerie[0]?.url\n }\n }\n\n newCart.push({\n product_type: 'product',\n product_strapi_id: product.strapi_id,\n product_name: product.Name,\n product_slug: product.slug,\n product_edition: product?.edition?.Name,\n product_variant: variant?.groesse?.Name,\n product_variant_strapi_id: variant?.groesse?.strapi_id,\n product_variant_price:\n variant.Preis_Angebot || variant.Preis,\n product_variant_normal_price: variant.Preis,\n product_variant_discount: 0,\n product_count: count,\n product_image: productVariantImage,\n })\n }\n setCart(newCart)\n setIsSidebarOpen(true)\n }\n }\n\n setCartIsLoading(false)\n }\n const addFreeProductToCart = async (product, productVariant, count) => {\n setCartIsLoading(true)\n const newCart = [...cart]\n\n const currentCartID = await checkForCartID()\n\n if (currentCartID) {\n let productVariantImage =\n productVariant?.Bildergalerie?.length > 0\n ? productVariant?.Bildergalerie[0]?.url\n : product?.Vorschaubild?.url\n\n newCart.push({\n product_type: 'freeProduct',\n product_strapi_id: product.strapi_id,\n product_name: product.Name + ' - Geschenk',\n product_slug: product.slug,\n product_edition: product?.edition?.Name,\n product_variant: productVariant?.groesse?.Name,\n product_variant_strapi_id: productVariant?.groesse?.strapi_id,\n product_variant_price: 0,\n product_variant_normal_price: 0,\n product_variant_discount: 0,\n product_count: count,\n product_image: productVariantImage,\n })\n\n setCart(newCart)\n setIsSidebarOpen(true)\n }\n\n setCartIsLoading(false)\n }\n\n const addBundleToCart = async (\n bundle,\n variantOne,\n variantTwo,\n count,\n isFreshCart = false\n ) => {\n setCartIsLoading(true)\n const newCart = isFreshCart ? [] : [...cart]\n\n const currentCartID = await checkForCartID(isFreshCart)\n\n if (currentCartID) {\n const bundleInCart = newCart.find(\n item =>\n item.product_strapi_id === bundle.strapi_id &&\n item.product_variant_one === variantOne?.groesse?.Name &&\n item.product_variant_two === variantTwo?.groesse?.Name\n )\n\n const successfullAddedBundle = await addBundleToStrapiCart(\n currentCartID,\n bundle,\n variantOne?.groesse?.Name,\n variantTwo?.groesse?.Name,\n count\n )\n\n if (successfullAddedBundle) {\n const trackItem = {\n id: 'b_' + bundle.strapi_id,\n name: bundle.Name,\n category: bundle.kategorie?.Name,\n variant:\n variantOne?.groesse?.Name +\n ' + ' +\n variantTwo?.groesse?.Name,\n brand: bundle.marke?.Name,\n price: bundle.Preis,\n }\n\n TrackAddProductToCartEvent(trackItem, count)\n\n if (bundleInCart) {\n bundleInCart.product_count += count\n } else {\n newCart.push({\n product_type: 'bundle',\n product_strapi_id: bundle.strapi_id,\n product_name: bundle.Name,\n product_edition: bundle?.edition?.Name,\n product_count: count,\n product_one_strapi_id:\n bundle?.Produkt[0]?.produkt.strapi_id,\n product_two_strapi_id:\n bundle?.Produkt[1]?.produkt.strapi_id,\n product_one_name: bundle?.Produkt[0]?.produkt.Name,\n product_two_name: bundle?.Produkt[1]?.produkt.Name,\n product_one_edition:\n bundle?.Produkt[0]?.produkt.edition.Name,\n product_two_edition:\n bundle?.Produkt[1]?.produkt.edition.Name,\n product_one_anzahl: bundle?.Produkt[0]?.Anzahl,\n product_two_anzahl: bundle?.Produkt[1]?.Anzahl,\n product_variant_one: variantOne?.groesse?.Name,\n product_variant_two: variantTwo?.groesse?.Name,\n product_variant_price: bundle.Preis,\n product_one_image:\n bundle?.Produkt[0]?.produkt?.Vorschaubild?.url,\n product_two_image:\n bundle?.Produkt[1]?.produkt?.Vorschaubild?.url,\n })\n }\n setCart(newCart)\n setIsSidebarOpen(true)\n }\n }\n\n setCartIsLoading(false)\n }\n\n const removeProductFromCart = async (variant, strapi_id) => {\n setCartIsLoading(true)\n\n const newCart = [...cart]\n\n const successfullRemovedProduct = await removeProductToStrapiCart(\n cartID,\n strapi_id,\n variant\n )\n\n if (successfullRemovedProduct) {\n const productInCart = newCart.find(\n item =>\n item.product_strapi_id === strapi_id &&\n item.product_variant === variant\n )\n if (productInCart) {\n const index = newCart.indexOf(productInCart)\n newCart.splice(index, 1)\n }\n setCart(newCart)\n }\n setCartIsLoading(false)\n }\n\n const removeFreeProductFromCart = async (variant, strapi_id) => {\n setCartIsLoading(true)\n\n const newCart = [...cart]\n\n const productInCart = newCart.find(\n item =>\n item.product_strapi_id === strapi_id &&\n item.product_variant === variant &&\n item.product_type === 'freeProduct'\n )\n if (productInCart) {\n const index = newCart.indexOf(productInCart)\n newCart.splice(index, 1)\n }\n setCart(newCart)\n\n setCartIsLoading(false)\n }\n\n const removeBundleFromCart = async (strapi_id, variantOne, variantTwo) => {\n setCartIsLoading(true)\n\n const newCart = [...cart]\n\n const successfullRemovedBundle = await removeBundleToStrapiCart(\n cartID,\n strapi_id,\n variantOne,\n variantTwo\n )\n\n if (successfullRemovedBundle) {\n const bundleInCart = newCart.find(\n item =>\n item.product_strapi_id === strapi_id &&\n item.product_variant_one === variantOne &&\n item.product_variant_two === variantTwo\n )\n if (bundleInCart) {\n const index = newCart.indexOf(bundleInCart)\n newCart.splice(index, 1)\n }\n setCart(newCart)\n }\n\n setCartIsLoading(false)\n }\n\n const decreaseProdcutInCart = async (variant, strapi_id) => {\n setCartIsLoading(true)\n const newCart = [...cart]\n\n const successfullDecreasedProduct = await decreaseProductToStrapiCart(\n cartID,\n strapi_id,\n variant\n )\n\n if (successfullDecreasedProduct) {\n const productInCart = newCart.find(\n item =>\n item.product_strapi_id === strapi_id &&\n item.product_variant === variant\n )\n if (productInCart) {\n productInCart.product_count--\n if (productInCart.product_count === 0) {\n const index = newCart.indexOf(productInCart)\n newCart.splice(index, 1)\n }\n }\n setCart(newCart)\n }\n setCartIsLoading(false)\n }\n\n const decreaseBundleInCart = async (strapi_id, variantOne, variantTwo) => {\n setCartIsLoading(true)\n\n const newCart = [...cart]\n\n const successfullDecreasedBundle = await decreaseBundleToStrapiCart(\n cartID,\n strapi_id,\n variantOne,\n variantTwo\n )\n\n if (successfullDecreasedBundle) {\n const bundleInCart = newCart.find(\n item =>\n item.product_strapi_id === strapi_id &&\n item.product_variant_one === variantOne &&\n item.product_variant_two === variantTwo\n )\n if (bundleInCart) {\n bundleInCart.product_count--\n if (bundleInCart.product_count === 0) {\n const index = newCart.indexOf(bundleInCart)\n newCart.splice(index, 1)\n }\n }\n setCart(newCart)\n }\n\n setCartIsLoading(false)\n }\n\n const increaseProdcutInCart = async (variant, strapi_id) => {\n setCartIsLoading(true)\n const newCart = [...cart]\n\n const successfullIncreasedProduct = await increaseProductToStrapiCart(\n cartID,\n strapi_id,\n variant\n )\n if (successfullIncreasedProduct) {\n const productInCart = newCart.find(\n item =>\n item.product_strapi_id === strapi_id &&\n item.product_variant === variant\n )\n if (productInCart) {\n productInCart.product_count++\n }\n setCart(newCart)\n }\n setCartIsLoading(false)\n }\n\n const increaseBundleInCart = async (strapi_id, variantOne, variantTwo) => {\n setCartIsLoading(true)\n\n const newCart = [...cart]\n\n const successfullIncreasedBundle = await increaseBundleToStrapiCart(\n cartID,\n strapi_id,\n variantOne,\n variantTwo\n )\n if (successfullIncreasedBundle) {\n const bundleInCart = newCart.find(\n item =>\n item.product_strapi_id === strapi_id &&\n item.product_variant_one === variantOne &&\n item.product_variant_two === variantTwo\n )\n if (bundleInCart) {\n bundleInCart.product_count++\n }\n setCart(newCart)\n }\n setCartIsLoading(false)\n }\n\n const resetValues = ({ resetCapture = true }) => {\n if (resetCapture) {\n setCaptureCheckoutActions(null)\n setCaptureCheckoutOrderOrderId(null)\n setCaptureCheckoutOrderPayerId(null)\n setIsCaptureCheckout(false)\n }\n\n setCouponDiscount(null)\n setCouponDiscountVariant(null)\n setCouponDiscountID(null)\n setCouponName(null)\n setDeliveryDiscount(null)\n setPaymentOption('PayPal')\n setDiscount(null)\n setDeliveryMessage('')\n setDeliveryOption(null)\n setDiscountValue(0)\n setDiscountProducts([])\n setOhneAktionsprodukte(false)\n }\n\n const buyCartItems = async () => {\n // reset all\n resetValues({\n resetCapture: true,\n })\n setDeliveryForm({\n email: '',\n telephone: '',\n deliveryCountry: 'DE',\n deliveryFirstName: '',\n deliveryLastName: '',\n deliveryCompany: '',\n deliveryStreet: '',\n deliveryAdditionalInformation: '',\n deliveryZipCode: '',\n deliveryCity: '',\n otherBillingAddress: false,\n billingCountry: 'DE',\n billingFirstName: '',\n billingLastName: '',\n billingCompany: '',\n billingStreet: '',\n billingAdditionalInformation: '',\n billingZipCode: '',\n billingCity: '',\n acceptTerms: false,\n acceptDHLCheck: false,\n })\n\n // Reset cart\n setCart([])\n // Reset localstorage CartID\n if (isBrowser) {\n window.localStorage.removeItem('CartID')\n }\n\n // Delete Strapi Cart\n if (cartID) {\n await deleteStrapiCart(cartID)\n setCartID(null)\n }\n\n // Check for inviting to newsletter\n const {\n email,\n telephone,\n billingFirstName,\n billingLastName,\n deliveryFirstName,\n deliveryLastName,\n } = deliveryForm\n\n let name = ''\n let surname = ''\n\n if (billingFirstName && billingLastName) {\n name = billingFirstName\n surname = billingLastName\n } else {\n name = deliveryFirstName || ''\n surname = deliveryLastName || ''\n }\n\n if (email) {\n addCustomerToNewsletter({\n language: language,\n email: email,\n name: name,\n surname: surname,\n telephone: telephone,\n })\n }\n }\n\n return (\n \n {children}\n \n )\n}\n","import { useState, useEffect } from 'react'\n\nfunction useWindowWidth() {\n // Check if window is defined (so if in the browser or in node.js).\n const isBrowser = typeof window !== 'undefined'\n const [windowWidth, setWindowWidth] = useState(() => {\n if (isBrowser) {\n return window.innerWidth\n } else {\n return 0\n }\n })\n\n useEffect(() => {\n function handleResize() {\n setWindowWidth(window.innerWidth)\n }\n\n window.addEventListener('resize', handleResize)\n\n return () => {\n window.removeEventListener('resize', handleResize)\n }\n }, [])\n\n return windowWidth\n}\n\nexport default useWindowWidth\n","import ReactGA from 'react-ga4'\n\nconst TrackViewProductEvent = item => {\n ReactGA.event({\n action: 'view_item',\n category: 'Ecommerce',\n label: item.name + ' angesehen',\n value: item.price,\n currency: 'EUR',\n nonInteraction: false, // da dies eine interaktive Aktion ist\n items: [\n {\n item_id: item.id, // Artikel-ID\n item_name: item.name, // Artikelname\n item_category: item.category, // Kategorie des Artikels\n item_variant: item.variant, // Variante des Artikels\n item_brand: item.brand, // Marke des Artikels\n price: item.price, // Preis pro Artikel\n quantity: 1, // Menge\n },\n ],\n })\n}\n\nconst TrackAddProductToCartEvent = (item, quantity) => {\n const price = item.price // Preis des Artikels\n const totalValue = price * quantity // Gesamtwert basierend auf Preis und Menge\n\n ReactGA.event({\n action: 'add_to_cart',\n category: 'Ecommerce',\n label: item.name + ' zum Warenkorb hinzugefügt',\n value: totalValue,\n currency: 'EUR',\n nonInteraction: false, // da dies eine interaktive Aktion ist\n items: [\n {\n item_id: item.id, // Artikel-ID\n item_name: item.name, // Artikelname\n item_category: item.category, // Kategorie des Artikels\n item_variant: item.variant, // Variante des Artikels\n item_brand: item.brand, // Marke des Artikels\n price: item.price, // Preis pro Artikel\n quantity: quantity, // Menge\n },\n ],\n })\n}\n\nconst TrackBeginCheckoutEvent = (price, items) => {\n ReactGA.event({\n action: 'begin_checkout',\n category: 'Ecommerce',\n label: 'Zur Kasse gegangen',\n value: price,\n currency: 'EUR',\n nonInteraction: false, // da dies eine interaktive Aktion ist\n items: items,\n })\n}\n\nconst TrackPurchaseEvent = (price, items) => {\n ReactGA.event({\n action: 'purchase',\n category: 'Ecommerce',\n label: 'Kauf abgeschlossen',\n value: price,\n currency: 'EUR',\n nonInteraction: false, // da dies eine interaktive Aktion ist\n items: items,\n })\n}\n\nexport {\n TrackViewProductEvent,\n TrackAddProductToCartEvent,\n TrackBeginCheckoutEvent,\n TrackPurchaseEvent,\n}\n","import axios from 'axios'\n\nexport const addCustomerToNewsletter = async ({\n language,\n email,\n name,\n surname,\n telephone,\n}) => {\n const newsletterUrl = 'https://api.brevo.com/v3/contacts'\n\n let formattedTelephone = telephone\n\n // check telephone and replace first 0 with +49\n if (formattedTelephone) {\n if (formattedTelephone.startsWith('0')) {\n formattedTelephone = '+49' + formattedTelephone.substring(1)\n }\n }\n\n let newsletterAttributes = {\n WHATSAPP: formattedTelephone,\n SMS: formattedTelephone,\n VORNAME: name,\n NACHNAME: surname,\n KUNDENTYP: 'Privatkunde',\n }\n\n const data = {\n email: email,\n attributes: newsletterAttributes,\n includeListIds: [3],\n templateId: 1,\n redirectionUrl: `${process.env.GATSBY_SITE_URL}/${language}/NewsletterConfirmed`,\n }\n\n const config = {\n headers: {\n 'api-key': process.env.GATSBY_SENDINBLUE_API_KEY,\n 'Content-Type': 'application/json',\n accept: 'application/json',\n },\n }\n\n try {\n await axios.post(newsletterUrl, data, config)\n } catch (error) {\n // send again if telephone is invalid\n const invalidTelephone =\n error.response.data.message === 'Invalid phone number'\n\n if (invalidTelephone) {\n newsletterAttributes = {\n WHATSAPP: '',\n SMS: '',\n VORNAME: name,\n NACHNAME: surname,\n }\n const data = {\n email: email,\n attributes: newsletterAttributes,\n includeListIds: [3],\n templateId: 1,\n redirectionUrl: `${process.env.GATSBY_SITE_URL}/${language}/NewsletterConfirmed`,\n }\n\n try {\n await axios.post(newsletterUrl, data, config)\n } catch (error) {\n console.log('error', error)\n }\n }\n }\n}\n","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;","import axios from 'axios'\nimport { v4 as uuidv4 } from 'uuid'\n\n// ***** Create a new cart in Strapi\nexport const createStrapiCartID = async () => {\n const uid = await generateUidFromStrapi()\n if (uid) {\n const newUid = createNewStrapiCart(uid)\n return newUid\n } else {\n return null\n }\n}\n\nconst generateUidFromStrapi = async () => {\n try {\n const response = await axios.get(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts?fields[0]=id&sort[0]=createdAt:DESC&pagination[start]=0&pagination[limit]=1`,\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n const uid = uuidv4()\n const newUid = `${uid}-${response.data.data[0].id}`\n return newUid\n } catch (error) {\n return null\n }\n}\n\nconst createNewStrapiCart = async uid => {\n try {\n await axios.post(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts`,\n {\n data: {\n UID: uid,\n },\n },\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n return uid\n } catch (error) {\n return null\n }\n}\n\n// ***** Get a specific product from Strapi\nexport const getProductFromStrapi = async id => {\n try {\n const response = await axios.get(\n `${process.env.GATSBY_STRAPI_API_URL}/api/produkts/${id}?populate[0]=Vorschaubild&populate[1]=marke&populate[2]=kategorie&populate[3]=edition&populate[4]=Variante&populate[5]=Variante.groesse&populate[6]=Variante.Bildergalerie`,\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n const product = response?.data?.data\n return product\n } catch (error) {\n return null\n }\n}\n\n// ***** Get the stock of a specific product variant from Strapi\nexport const getProductStockFromStrapi = async ({ productId, variantId }) => {\n try {\n const response = await axios.get(\n `${process.env.GATSBY_STRAPI_API_URL}/api/produkts/${productId}?populate[0]=Variante&populate[1]=Variante.groesse`,\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n\n // handle success\n const variants = response?.data?.data?.attributes?.Variante || []\n\n // find the variant with the given id\n const selectedVariant = variants.find(\n variant => variant.groesse.data.id === variantId\n )\n\n // get the stock of the selected variant\n const stock = selectedVariant?.Vorratsanzahl || 0\n\n return stock\n } catch (error) {\n return null\n }\n}\n\n// ***** Get the stock of a specific product variant from Strapi\nexport const getBundleProductStockFromStrapi = async ({\n productId,\n variantName,\n}) => {\n try {\n const response = await axios.get(\n `${process.env.GATSBY_STRAPI_API_URL}/api/produkts/${productId}?populate[0]=Variante&populate[1]=Variante.groesse`,\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n\n // handle success\n const variants = response?.data?.data?.attributes?.Variante || []\n\n // find the variant with the given name\n const selectedVariant = variants.find(\n variant => variant?.groesse?.data?.attributes?.Name === variantName\n )\n\n // get the stock of the selected variant\n const stock = selectedVariant?.Vorratsanzahl || 0\n\n return stock\n } catch (error) {\n return null\n }\n}\n\n// ***** Get a specific bundle from Strapi\nexport const getBundleFromStrapi = async id => {\n try {\n const response = await axios.get(\n `${process.env.GATSBY_STRAPI_API_URL}/api/bundles/${id}?populate[0]=edition&populate[1]=kategorie&populate[2]=marke&populate[3]=Produkt.groesse&populate[4]=Produkt.produkt.edition&populate[5]=Produkt.produkt.Vorschaubild`,\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n const bundle = response?.data?.data\n return bundle\n } catch (error) {\n return null\n }\n}\n\n// ***** Delete a cart in Strapi\nexport const deleteStrapiCart = async uid => {\n const cart = await getStrapiCart(uid)\n\n if (!cart) return false\n\n const cart_id = cart.id\n\n try {\n await axios.delete(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts/${cart_id}`,\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n return true\n } catch (error) {\n return false\n }\n}\n\n// ***** Get cart from Strapi\nexport const getStrapiCart = async uid => {\n try {\n const response = await axios.get(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts?filters[UID][$eq]=${uid}&populate[Cart_Produkte][populate][0]=produkt&populate[Cart_Produkte][populate][1]=groesse&populate[Cart_Bundles][populate][0]=bundle`,\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n return response.data.data[0]\n } catch (error) {\n return null\n }\n}\n\n// ***** Add a product to a cart in Strapi\nexport const addProductToStrapiCart = async (uid, product, variant, count) => {\n const cart = await getStrapiCart(uid)\n\n if (cart) {\n const newCart = await updateStrapiCartProduct(\n cart,\n product,\n variant,\n count\n )\n if (newCart) {\n return true\n } else {\n return false\n }\n } else {\n return false\n }\n}\n\nconst updateStrapiCartProduct = async (cart, product, variant, count) => {\n const cartProducts = cart.attributes.Cart_Produkte || []\n\n // check if product is allready in cart and update count\n const productInCart = cartProducts.find(\n cartProduct =>\n cartProduct?.produkt?.data?.id === product.strapi_id &&\n cartProduct?.groesse?.data?.id === variant?.groesse?.strapi_id\n )\n\n if (productInCart) {\n productInCart.Anzahl = productInCart.Anzahl + count\n } else {\n cartProducts.push({\n produkt: product.strapi_id,\n Anzahl: count,\n groesse: {\n id: variant?.groesse?.strapi_id,\n },\n })\n }\n\n try {\n const response = await axios.put(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts/${cart.id}`,\n {\n data: {\n Cart_Produkte: cartProducts,\n },\n },\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n return response.data\n } catch (error) {\n return null\n }\n}\n\n// ***** Increase a product to a cart in Strapi\nexport const increaseProductToStrapiCart = async (\n uid,\n product_strapi_id,\n variant\n) => {\n const cart = await getStrapiCart(uid)\n\n if (cart) {\n const newCart = await increaseStrapiCart(\n cart,\n product_strapi_id,\n variant\n )\n if (newCart) {\n return true\n } else {\n return false\n }\n } else {\n return false\n }\n}\n\nconst increaseStrapiCart = async (cart, product_strapi_id, variant) => {\n const cartProducts = cart.attributes.Cart_Produkte || []\n\n const productInCart = cartProducts.find(\n cartProduct =>\n cartProduct?.produkt?.data?.id === product_strapi_id &&\n cartProduct?.groesse?.data?.attributes?.Name === variant\n )\n\n if (productInCart) {\n productInCart.Anzahl = productInCart.Anzahl + 1\n\n try {\n const response = await axios.put(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts/${cart.id}`,\n {\n data: {\n Cart_Produkte: cartProducts,\n },\n },\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n return response.data\n } catch (error) {\n return null\n }\n } else {\n return false\n }\n}\n\n// ***** Decrease a product to a cart in Strapi\nexport const decreaseProductToStrapiCart = async (\n uid,\n product_strapi_id,\n variant\n) => {\n const cart = await getStrapiCart(uid)\n\n if (cart) {\n const newCart = await decreaseStrapiCartProduct(\n cart,\n product_strapi_id,\n variant\n )\n if (newCart) {\n return true\n } else {\n return false\n }\n } else {\n return false\n }\n}\n\nconst decreaseStrapiCartProduct = async (cart, product_strapi_id, variant) => {\n const cartProducts = cart.attributes.Cart_Produkte || []\n\n // check if product is allready in cart and update count\n const productInCart = cartProducts.find(\n cartProduct =>\n cartProduct?.produkt?.data?.id === product_strapi_id &&\n cartProduct?.groesse?.data?.attributes?.Name === variant\n )\n if (productInCart) {\n const futureCount = productInCart.Anzahl - 1\n\n if (futureCount === 0) {\n const index = cartProducts.indexOf(productInCart)\n if (index > -1) {\n cartProducts.splice(index, 1)\n }\n } else {\n productInCart.Anzahl = productInCart.Anzahl - 1\n }\n\n try {\n const response = await axios.put(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts/${cart.id}`,\n {\n data: {\n Cart_Produkte: cartProducts,\n },\n },\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n return response.data\n } catch (error) {\n return null\n }\n } else {\n return false\n }\n}\n\n// ***** Remove a product to a cart in Strapi\nexport const removeProductToStrapiCart = async (\n uid,\n product_strapi_id,\n variant\n) => {\n const cart = await getStrapiCart(uid)\n\n if (cart) {\n const newCart = await removeStrapiCart(cart, product_strapi_id, variant)\n if (newCart) {\n return true\n } else {\n return false\n }\n } else {\n return false\n }\n}\n\nconst removeStrapiCart = async (cart, product_strapi_id, variant) => {\n const cartProducts = cart.attributes.Cart_Produkte || []\n\n // check if product is allready in cart and update count\n const productInCart = cartProducts.find(\n cartProduct =>\n cartProduct?.produkt?.data?.id === product_strapi_id &&\n cartProduct?.groesse?.data?.attributes?.Name === variant\n )\n if (productInCart) {\n // find specific product\n const index = cartProducts.indexOf(productInCart)\n if (index > -1) {\n cartProducts.splice(index, 1)\n }\n\n try {\n const response = await axios.put(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts/${cart.id}`,\n {\n data: {\n Cart_Produkte: cartProducts,\n },\n },\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n return response.data\n } catch (error) {\n return null\n }\n } else {\n return false\n }\n}\n\n// ***** Add a bundle to a cart in Strapi\nexport const addBundleToStrapiCart = async (\n uid,\n bundle,\n productOne,\n productTwo,\n count\n) => {\n const cart = await getStrapiCart(uid)\n\n if (cart) {\n const newData = await updateStrapiCartBundle(\n cart,\n bundle,\n productOne,\n productTwo,\n count\n )\n if (newData) {\n return true\n } else {\n return false\n }\n } else {\n return false\n }\n}\n\nconst updateStrapiCartBundle = async (\n cart,\n bundle,\n productOne,\n productTwo,\n count\n) => {\n const cartBundles = cart.attributes.Cart_Bundles || []\n\n // check if bundle is allready in cart and update count\n const bundleInCart = cartBundles.find(\n cartBundle =>\n cartBundle?.bundle?.data?.id === bundle.strapi_id &&\n cartBundle?.Produkt_1 === productOne &&\n cartBundle?.Produkt_2 === productTwo\n )\n\n if (bundleInCart) {\n bundleInCart.Anzahl = bundleInCart.Anzahl + count\n } else {\n cartBundles.push({\n bundle: bundle.strapi_id,\n Anzahl: count,\n Produkt_1: productOne,\n Produkt_2: productTwo,\n })\n }\n\n try {\n const response = await axios.put(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts/${cart.id}`,\n {\n data: {\n Cart_Bundles: cartBundles,\n },\n },\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n return response.data\n } catch (error) {\n return null\n }\n}\n\n// ***** Increase a bundle to a cart in Strapi\nexport const increaseBundleToStrapiCart = async (\n uid,\n bundle_strapi_id,\n productOne,\n productTwo\n) => {\n const cart = await getStrapiCart(uid)\n\n if (cart) {\n const newCart = await increaseStrapiCartBundle(\n cart,\n bundle_strapi_id,\n productOne,\n productTwo\n )\n if (newCart) {\n return true\n } else {\n return false\n }\n } else {\n return false\n }\n}\n\nconst increaseStrapiCartBundle = async (\n cart,\n bundle_strapi_id,\n productOne,\n productTwo\n) => {\n const cartBundles = cart.attributes.Cart_Bundles || []\n\n // check if bundle is allready in cart and update count\n const bundleInCart = cartBundles.find(\n cartBundle =>\n cartBundle?.bundle?.data?.id === bundle_strapi_id &&\n cartBundle?.Produkt_1 === productOne &&\n cartBundle?.Produkt_2 === productTwo\n )\n\n if (bundleInCart) {\n bundleInCart.Anzahl = bundleInCart.Anzahl + 1\n\n try {\n const response = await axios.put(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts/${cart.id}`,\n {\n data: {\n Cart_Bundles: cartBundles,\n },\n },\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n return response.data\n } catch (error) {\n return null\n }\n } else {\n return false\n }\n}\n\n// ***** Decrease a bundle to a cart in Strapi\nexport const decreaseBundleToStrapiCart = async (\n uid,\n bundle_strapi_id,\n productOne,\n productTwo\n) => {\n const cart = await getStrapiCart(uid)\n\n if (cart) {\n const newCart = await decreaseStrapiCartBundle(\n cart,\n bundle_strapi_id,\n productOne,\n productTwo\n )\n if (newCart) {\n return true\n } else {\n return false\n }\n } else {\n return false\n }\n}\n\nconst decreaseStrapiCartBundle = async (\n cart,\n bundle_strapi_id,\n productOne,\n productTwo\n) => {\n const cartBundles = cart.attributes.Cart_Bundles || []\n\n // check if bundle is allready in cart and update count\n const bundleInCart = cartBundles.find(\n cartBundle =>\n cartBundle?.bundle?.data?.id === bundle_strapi_id &&\n cartBundle?.Produkt_1 === productOne &&\n cartBundle?.Produkt_2 === productTwo\n )\n\n if (bundleInCart) {\n const futureCount = bundleInCart.Anzahl - 1\n\n if (futureCount === 0) {\n const index = cartBundles.indexOf(bundleInCart)\n if (index > -1) {\n cartBundles.splice(index, 1)\n }\n } else {\n bundleInCart.Anzahl = bundleInCart.Anzahl - 1\n }\n\n try {\n const response = await axios.put(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts/${cart.id}`,\n {\n data: {\n Cart_Bundles: cartBundles,\n },\n },\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n return response.data\n } catch (error) {\n return null\n }\n } else {\n return false\n }\n}\n\n// ***** Remove a bundle to a cart in Strapi\nexport const removeBundleToStrapiCart = async (\n uid,\n bundle_strapi_id,\n productOne,\n productTwo\n) => {\n const cart = await getStrapiCart(uid)\n\n if (cart) {\n const newCart = await removeStrapiCartBundle(\n cart,\n bundle_strapi_id,\n productOne,\n productTwo\n )\n if (newCart) {\n return true\n } else {\n return false\n }\n } else {\n return false\n }\n}\n\nconst removeStrapiCartBundle = async (\n cart,\n bundle_strapi_id,\n productOne,\n productTwo\n) => {\n const cartBundles = cart.attributes.Cart_Bundles || []\n\n // check if bundle is allready in cart and update count\n const bundleInCart = cartBundles.find(\n cartBundle =>\n cartBundle?.bundle?.data?.id === bundle_strapi_id &&\n cartBundle?.Produkt_1 === productOne &&\n cartBundle?.Produkt_2 === productTwo\n )\n\n if (bundleInCart) {\n const index = cartBundles.indexOf(bundleInCart)\n if (index > -1) {\n cartBundles.splice(index, 1)\n }\n\n try {\n const response = await axios.put(\n `${process.env.GATSBY_STRAPI_API_URL}/api/carts/${cart.id}`,\n {\n data: {\n Cart_Bundles: cartBundles,\n },\n },\n {\n headers: {\n Authorization: `Bearer ${process.env.GATSBY_STRAPI_API_TOKEN}`,\n },\n }\n )\n // handle success\n return response.data\n } catch (error) {\n return null\n }\n } else {\n return false\n }\n}\n","/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE.\n *\n * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document\n *\n */\n(function() {\n'use strict';\n\n// Exit early if we're not running in a browser.\nif (typeof window !== 'object') {\n return;\n}\n\n// Exit early if all IntersectionObserver and IntersectionObserverEntry\n// features are natively supported.\nif ('IntersectionObserver' in window &&\n 'IntersectionObserverEntry' in window &&\n 'intersectionRatio' in window.IntersectionObserverEntry.prototype) {\n\n // Minimal polyfill for Edge 15's lack of `isIntersecting`\n // See: https://github.com/w3c/IntersectionObserver/issues/211\n if (!('isIntersecting' in window.IntersectionObserverEntry.prototype)) {\n Object.defineProperty(window.IntersectionObserverEntry.prototype,\n 'isIntersecting', {\n get: function () {\n return this.intersectionRatio > 0;\n }\n });\n }\n return;\n}\n\n\n/**\n * A local reference to the document.\n */\nvar document = window.document;\n\n\n/**\n * An IntersectionObserver registry. This registry exists to hold a strong\n * reference to IntersectionObserver instances currently observing a target\n * element. Without this registry, instances without another reference may be\n * garbage collected.\n */\nvar registry = [];\n\n\n/**\n * Creates the global IntersectionObserverEntry constructor.\n * https://w3c.github.io/IntersectionObserver/#intersection-observer-entry\n * @param {Object} entry A dictionary of instance properties.\n * @constructor\n */\nfunction IntersectionObserverEntry(entry) {\n this.time = entry.time;\n this.target = entry.target;\n this.rootBounds = entry.rootBounds;\n this.boundingClientRect = entry.boundingClientRect;\n this.intersectionRect = entry.intersectionRect || getEmptyRect();\n this.isIntersecting = !!entry.intersectionRect;\n\n // Calculates the intersection ratio.\n var targetRect = this.boundingClientRect;\n var targetArea = targetRect.width * targetRect.height;\n var intersectionRect = this.intersectionRect;\n var intersectionArea = intersectionRect.width * intersectionRect.height;\n\n // Sets intersection ratio.\n if (targetArea) {\n // Round the intersection ratio to avoid floating point math issues:\n // https://github.com/w3c/IntersectionObserver/issues/324\n this.intersectionRatio = Number((intersectionArea / targetArea).toFixed(4));\n } else {\n // If area is zero and is intersecting, sets to 1, otherwise to 0\n this.intersectionRatio = this.isIntersecting ? 1 : 0;\n }\n}\n\n\n/**\n * Creates the global IntersectionObserver constructor.\n * https://w3c.github.io/IntersectionObserver/#intersection-observer-interface\n * @param {Function} callback The function to be invoked after intersection\n * changes have queued. The function is not invoked if the queue has\n * been emptied by calling the `takeRecords` method.\n * @param {Object=} opt_options Optional configuration options.\n * @constructor\n */\nfunction IntersectionObserver(callback, opt_options) {\n\n var options = opt_options || {};\n\n if (typeof callback != 'function') {\n throw new Error('callback must be a function');\n }\n\n if (options.root && options.root.nodeType != 1) {\n throw new Error('root must be an Element');\n }\n\n // Binds and throttles `this._checkForIntersections`.\n this._checkForIntersections = throttle(\n this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT);\n\n // Private properties.\n this._callback = callback;\n this._observationTargets = [];\n this._queuedEntries = [];\n this._rootMarginValues = this._parseRootMargin(options.rootMargin);\n\n // Public properties.\n this.thresholds = this._initThresholds(options.threshold);\n this.root = options.root || null;\n this.rootMargin = this._rootMarginValues.map(function(margin) {\n return margin.value + margin.unit;\n }).join(' ');\n}\n\n\n/**\n * The minimum interval within which the document will be checked for\n * intersection changes.\n */\nIntersectionObserver.prototype.THROTTLE_TIMEOUT = 100;\n\n\n/**\n * The frequency in which the polyfill polls for intersection changes.\n * this can be updated on a per instance basis and must be set prior to\n * calling `observe` on the first target.\n */\nIntersectionObserver.prototype.POLL_INTERVAL = null;\n\n/**\n * Use a mutation observer on the root element\n * to detect intersection changes.\n */\nIntersectionObserver.prototype.USE_MUTATION_OBSERVER = true;\n\n\n/**\n * Starts observing a target element for intersection changes based on\n * the thresholds values.\n * @param {Element} target The DOM element to observe.\n */\nIntersectionObserver.prototype.observe = function(target) {\n var isTargetAlreadyObserved = this._observationTargets.some(function(item) {\n return item.element == target;\n });\n\n if (isTargetAlreadyObserved) {\n return;\n }\n\n if (!(target && target.nodeType == 1)) {\n throw new Error('target must be an Element');\n }\n\n this._registerInstance();\n this._observationTargets.push({element: target, entry: null});\n this._monitorIntersections();\n this._checkForIntersections();\n};\n\n\n/**\n * Stops observing a target element for intersection changes.\n * @param {Element} target The DOM element to observe.\n */\nIntersectionObserver.prototype.unobserve = function(target) {\n this._observationTargets =\n this._observationTargets.filter(function(item) {\n\n return item.element != target;\n });\n if (!this._observationTargets.length) {\n this._unmonitorIntersections();\n this._unregisterInstance();\n }\n};\n\n\n/**\n * Stops observing all target elements for intersection changes.\n */\nIntersectionObserver.prototype.disconnect = function() {\n this._observationTargets = [];\n this._unmonitorIntersections();\n this._unregisterInstance();\n};\n\n\n/**\n * Returns any queue entries that have not yet been reported to the\n * callback and clears the queue. This can be used in conjunction with the\n * callback to obtain the absolute most up-to-date intersection information.\n * @return {Array} The currently queued entries.\n */\nIntersectionObserver.prototype.takeRecords = function() {\n var records = this._queuedEntries.slice();\n this._queuedEntries = [];\n return records;\n};\n\n\n/**\n * Accepts the threshold value from the user configuration object and\n * returns a sorted array of unique threshold values. If a value is not\n * between 0 and 1 and error is thrown.\n * @private\n * @param {Array|number=} opt_threshold An optional threshold value or\n * a list of threshold values, defaulting to [0].\n * @return {Array} A sorted list of unique and valid threshold values.\n */\nIntersectionObserver.prototype._initThresholds = function(opt_threshold) {\n var threshold = opt_threshold || [0];\n if (!Array.isArray(threshold)) threshold = [threshold];\n\n return threshold.sort().filter(function(t, i, a) {\n if (typeof t != 'number' || isNaN(t) || t < 0 || t > 1) {\n throw new Error('threshold must be a number between 0 and 1 inclusively');\n }\n return t !== a[i - 1];\n });\n};\n\n\n/**\n * Accepts the rootMargin value from the user configuration object\n * and returns an array of the four margin values as an object containing\n * the value and unit properties. If any of the values are not properly\n * formatted or use a unit other than px or %, and error is thrown.\n * @private\n * @param {string=} opt_rootMargin An optional rootMargin value,\n * defaulting to '0px'.\n * @return {Array