{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/P7aoPe2nkM1quDzWLC4k/oANpw2ZHMQSpIe9Uy9Cf/Cookies.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{isBrowser}from\"framer-motion\";export function withTracking(Component){return props=>{function sendToDL(payload){if(isBrowser){window.dataLayer=window.dataLayer||[];window.dataLayer.push(payload);}}function handleShown({isInEU}){sendToDL({event:\"CookieBannerShown\",isInEU});}function handleAccept({isInEU}){sendToDL({event:\"CookieBannerAccepted\",isInEU});}function handleReject({isInEU}){sendToDL({event:\"CookieBannerRejected\",isInEU});}function handleDismiss({isInEU}){sendToDL({event:\"CookieBannerDismissed\",isInEU});}function handleConsentChange({isInEU,consent}){const acceptedConsent={analytics:true,marketing:true,necessary:true,preferences:true};const consentIsGiven=JSON.stringify(consent)===JSON.stringify(acceptedConsent);if(consentIsGiven){sendToDL({event:\"CookieBannerStartTracking\",isInEU});}}return /*#__PURE__*/_jsx(Component,{...props,onShown:handleShown,onAccept:handleAccept,onReject:handleReject,onDismiss:handleDismiss,onConsentChange:handleConsentChange,gtmLoadedExternally:true});};}export function withCookieReset(Component){return props=>{function handleClick(){localStorage.removeItem(\"framerCookiesConsentMode\");localStorage.removeItem(\"framerCookiesDismissed\");}return /*#__PURE__*/_jsx(Component,{...props,onClick:handleClick});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCookieReset\":{\"type\":\"reactHoc\",\"name\":\"withCookieReset\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTracking\":{\"type\":\"reactHoc\",\"name\":\"withTracking\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Cookies.map"],
  "mappings": "uIAAAA,IAAuF,SAASC,EAAaC,EAAU,CAAC,OAAOC,GAAO,CAAC,SAASC,EAASC,EAAQ,CAAIC,IAAW,OAAO,UAAU,OAAO,WAAW,CAAC,EAAE,OAAO,UAAU,KAAKD,CAAO,EAAG,CAAC,SAASE,EAAY,CAAC,OAAAC,CAAM,EAAE,CAACJ,EAAS,CAAC,MAAM,oBAAoB,OAAAI,CAAM,CAAC,CAAE,CAAC,SAASC,EAAa,CAAC,OAAAD,CAAM,EAAE,CAACJ,EAAS,CAAC,MAAM,uBAAuB,OAAAI,CAAM,CAAC,CAAE,CAAC,SAASE,EAAa,CAAC,OAAAF,CAAM,EAAE,CAACJ,EAAS,CAAC,MAAM,uBAAuB,OAAAI,CAAM,CAAC,CAAE,CAAC,SAASG,EAAc,CAAC,OAAAH,CAAM,EAAE,CAACJ,EAAS,CAAC,MAAM,wBAAwB,OAAAI,CAAM,CAAC,CAAE,CAAC,SAASI,EAAoB,CAAC,OAAAJ,EAAO,QAAAK,CAAO,EAAE,CAAC,IAAMC,EAAgB,CAAC,UAAU,GAAK,UAAU,GAAK,UAAU,GAAK,YAAY,EAAI,EAAuB,KAAK,UAAUD,CAAO,IAAI,KAAK,UAAUC,CAAe,GAAqBV,EAAS,CAAC,MAAM,4BAA4B,OAAAI,CAAM,CAAC,CAAG,CAAC,OAAoBO,EAAKb,EAAU,CAAC,GAAGC,EAAM,QAAQI,EAAY,SAASE,EAAa,SAASC,EAAa,UAAUC,EAAc,gBAAgBC,EAAoB,oBAAoB,EAAI,CAAC,CAAE,CAAE,CAAQ,SAASI,EAAgBd,EAAU,CAAC,OAAOC,GAAO,CAAC,SAASc,GAAa,CAAC,aAAa,WAAW,0BAA0B,EAAE,aAAa,WAAW,wBAAwB,CAAE,CAAC,OAAoBF,EAAKb,EAAU,CAAC,GAAGC,EAAM,QAAQc,CAAW,CAAC,CAAE,CAAE",
  "names": ["init_ssg_sandbox_shims", "withTracking", "Component", "props", "sendToDL", "payload", "isBrowser", "handleShown", "isInEU", "handleAccept", "handleReject", "handleDismiss", "handleConsentChange", "consent", "acceptedConsent", "p", "withCookieReset", "handleClick"]
}
