{"version":3,"file":"script_main.BQEcFFiP.mjs","names":["useState","checkAuth","Component","useRef","Master","breakpoints"],"sources":["https:/framerusercontent.com/modules/bY2iUpaTQlWDCNHohlTt/ZgSCZ5aeDH7m7SuVsMqu/Middleware.js","https:/framerusercontent.com/modules/39y9fY3mCimCyDO1aMYz/Gv5F5u4WnQuMzLtjvVhe/r0asXK876.js","framer:toplevel/main"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import{RenderTarget}from\"framer\";import{useState,useEffect}from\"react\";export const checkAuth=Component=>{return /*#__PURE__*/forwardRef((props,ref)=>{const[isAuthenticated,setIsAuthenticated]=useState(false);const[currentUser,setCurrentUser]=useState(null);const isInEditor=RenderTarget.current()===RenderTarget.canvas;const isInPreview=RenderTarget.current()===RenderTarget.canvas;const isLive=!isInEditor;useEffect(()=>{const checkAuth=async()=>{const token=localStorage.getItem(\"authToken\");if(token){try{const response=await fetch(\"https://abc-pi-sepia.vercel.app/api/auth/verify\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({token})});if(response.ok){const data=await response.json();setIsAuthenticated(true);setCurrentUser(data.user);window.user=data?.user?.firstname;}else{localStorage.removeItem(\"authToken\");setTimeout(()=>{window.location.href=\"/login\";},300);}}catch(error){console.error(\"Auth check failed:\",error);localStorage.removeItem(\"authToken\");setTimeout(()=>{window.location.href=\"/login\";},300);}}else{// console.log(\"redirect\")\nif(isLive){setTimeout(()=>{window.location.href=\"/login\";},100);}}};checkAuth();},[]);if(isInEditor){return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props?.style}});}if(isAuthenticated){return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props?.style}});}// if (isLive) {\n//    <div>\n//        {isInEditor && <div>Editor content</div>}\n//        {isLive && <div>Live site content</div>}\n//    </div>\n// }\n// window.location.href = \"https://www.google.com\";\n// return <FormWrapper />\n// {isInEditor && <div>Editor content</div>}\n// if (isLive) {\n//     localStorage.removeItem(\"authToken\")\n//     window.location.href = \"/login\"\n// }\nreturn /*#__PURE__*/_jsx(\"div\",{children:isLive&&/*#__PURE__*/_jsx(\"div\",{style:{padding:\"20px\"}})});});};\nexport const __FramerMetadata__ = {\"exports\":{\"checkAuth\":{\"type\":\"reactHoc\",\"name\":\"checkAuth\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Middleware.map","// Generated by Framer (b3dda2a)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,cx,GeneratedComponentContext,RenderTarget,useCustomCursors,useHydratedBreakpointVariants,useIsOnFramerCanvas,useLocaleInfo,withCodeBoundaryForOverrides,withCSS}from\"framer\";import{LayoutGroup,motion}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{checkAuth}from\"#framer/local/codeFile/wuTQZrO/Middleware.js\";const MotionDivCheckAuth76vsb1=withCodeBoundaryForOverrides(motion.div,{nodeId:\"fn_RGq3t9\",override:checkAuth,scopeId:\"r0asXK876\"});const breakpoints={fn_RGq3t9:\"(min-width: 1138px)\",fWVhGTLV6:\"(min-width: 810px) and (max-width: 1137px)\",IG_BB2caZ:\"(max-width: 809px)\"};const isBrowser=()=>typeof document!==\"undefined\";const serializationHash=\"framer-qn1fn\";const variantClassNames={fn_RGq3t9:\"framer-v-76vsb1\",fWVhGTLV6:\"framer-v-pv0938\",IG_BB2caZ:\"framer-v-6nlx5z\"};const breakpointRules={};const breakpointKeys=Object.keys(breakpointRules);const rules=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-qn1fn.framer-wdgnm7, .framer-qn1fn .framer-wdgnm7 { display: block; }\",\".framer-qn1fn.framer-76vsb1 { align-content: center; align-items: center; background-color: var(--token-20232de1-c527-4fb1-beb3-8aebdce2e3af, #f8f6f2); display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-qn1fn .framer-1m7maew { background: transparent; flex-grow: 1; height: 0px; margin: 0px; margin-bottom: -0px; position: relative; width: 0px; }\",'[data-layout-template=\"true\"] > #overlay { margin-bottom: -0px; }'];const mediaQueries={fn_RGq3t9:\"(min-width: 1138px)\",fWVhGTLV6:\"(min-width: 810px) and (max-width: 1137px)\",IG_BB2caZ:\"(max-width: 809px)\"};const HTMLStyle=({value})=>{const onCanvas=useIsOnFramerCanvas();if(onCanvas)return null;return /*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:value},\"data-framer-html-style\":\"\"});};const humanReadableVariantMap={Desktop:\"fn_RGq3t9\",Phone:\"IG_BB2caZ\",Tablet:\"fWVhGTLV6\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"fn_RGq3t9\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,children,...restProps}=getProps(props);const[baseVariant,hydratedBaseVariant]=useHydratedBreakpointVariants(variant,breakpoints,false);const gestureVariant=undefined;const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);useCustomCursors({});return /*#__PURE__*/_jsx(GeneratedComponentContext.Provider,{value:{isLayoutTemplate:true,primaryVariantId:\"fn_RGq3t9\",variantClassNames},children:/*#__PURE__*/_jsxs(LayoutGroup,{id:layoutId??defaultLayoutId,children:[/*#__PURE__*/_jsx(HTMLStyle,{value:\":root body { background: var(--token-20232de1-c527-4fb1-beb3-8aebdce2e3af, rgb(248, 246, 242)); }\"}),/*#__PURE__*/_jsxs(MotionDivCheckAuth76vsb1,{...restProps,className:cx(scopingClassNames,\"framer-76vsb1\",className),\"data-layout-template\":true,ref:refBinding,style:{...style},children:[children,/*#__PURE__*/_jsx(\"div\",{className:\"framer-1m7maew\"})]}),/*#__PURE__*/_jsx(\"div\",{id:\"template-overlay\"})]})});});const css=target=>{const isStaticRenderer=target===RenderTarget.canvas||target===RenderTarget.export;if(!isStaticRenderer){return[...rules,...breakpointKeys.map(key=>{const query=mediaQueries[key];return`@media ${query} { ${breakpointRules[key].join(\" \")} }`;})];}return[...rules,...breakpointKeys.flatMap(key=>{const selector=breakpointRules[key];return breakpointRules[key].map(rule=>`${selector} {${rule}}`);})];};/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 1000\n * @framerIntrinsicWidth 1138\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"fWVhGTLV6\":{\"layout\":[\"fixed\",\"fixed\"]},\"IG_BB2caZ\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n * @framerHitTargets {}\n * @framerBreakpoints {\"fn_RGq3t9\":{\"min\":1138,\"canvasClassName\":\"framer-76vsb1-override\",\"minHeight\":1000,\"name\":\"Desktop\",\"width\":1138,\"rootFontSize\":16},\"fWVhGTLV6\":{\"min\":810,\"max\":1137,\"canvasClassName\":\"framer-pv0938-override\",\"minHeight\":1000,\"viewportHeight\":1080,\"name\":\"Tablet\",\"width\":810,\"rootFontSize\":16},\"IG_BB2caZ\":{\"max\":809,\"canvasClassName\":\"framer-6nlx5z-override\",\"minHeight\":1000,\"viewportHeight\":844,\"name\":\"Phone\",\"width\":520,\"rootFontSize\":16}}\n * @framerDefaultVariant fn_RGq3t9\n * @framerLayoutTemplate\n */const Framerr0asXK876=withCSS(Component,css,\"framer-qn1fn\");export default Framerr0asXK876;Framerr0asXK876.displayName=\"Master\";Framerr0asXK876.defaultProps={height:1e3,width:1138};addFonts(Framerr0asXK876,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerr0asXK876\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"fWVhGTLV6\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"IG_BB2caZ\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerLayoutTemplate\":\"\",\"framerImmutableVariables\":\"true\",\"framerDefaultVariant\":\"fn_RGq3t9\",\"framerIntrinsicHeight\":\"1000\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"1138\",\"framerHitTargets\":\"{}\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerBreakpoints\":\"{\\\"fn_RGq3t9\\\":{\\\"min\\\":1138,\\\"canvasClassName\\\":\\\"framer-76vsb1-override\\\",\\\"minHeight\\\":1000,\\\"name\\\":\\\"Desktop\\\",\\\"width\\\":1138,\\\"rootFontSize\\\":16},\\\"fWVhGTLV6\\\":{\\\"min\\\":810,\\\"max\\\":1137,\\\"canvasClassName\\\":\\\"framer-pv0938-override\\\",\\\"minHeight\\\":1000,\\\"viewportHeight\\\":1080,\\\"name\\\":\\\"Tablet\\\",\\\"width\\\":810,\\\"rootFontSize\\\":16},\\\"IG_BB2caZ\\\":{\\\"max\\\":809,\\\"canvasClassName\\\":\\\"framer-6nlx5z-override\\\",\\\"minHeight\\\":1000,\\\"viewportHeight\\\":844,\\\"name\\\":\\\"Phone\\\",\\\"width\\\":520,\\\"rootFontSize\\\":16}}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","\r\n        import * as Framer from \"framer\";\r\nimport * as React from \"react\";\r\nimport { createPortal } from \"react-dom\";\r\nimport * as ReactDOM from \"react-dom/client\";\r\nimport Master from \"https://framerusercontent.com/modules/39y9fY3mCimCyDO1aMYz/Gv5F5u4WnQuMzLtjvVhe/r0asXK876.js\";\r\n\r\n        const routes = {YKZNl8v67: {elements: {m6qSo4aqK: \"navtrigger\", RMvLfUGeV: \"navtrigger-1\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/jubwTpvYO0zOmGlht6cv/MOyRu4o02dJibX53Fbbg/YKZNl8v67.js\")), path: \"/\"}, n6eE59OVq: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/diNzsJ2Y7u7Byqb2aoR3/m6uim45UZx0zXI0pfwzG/n6eE59OVq.js\")), path: \"/privacy-policy\"}, kUCG0_DK0: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/UzvMRB7pXgWtm4TEKxY0/4LvMlqIOJyovABhD5eWi/kUCG0_DK0.js\")), path: \"/terms-and-conditions\"}, hzBoG92d9: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/SpKZ26cMfDao3HMuzdpp/GEVBfcIdCDbZz7wUF56O/hzBoG92d9.js\")), path: \"/register-2fd92196\"}, sZJq_V2Er: {elements: {PvAqVvdP5: \"triage\", rX6b5UQ_Z: \"navtrigger\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/9oJIe70j0NS0qxJDXWLz/zQhuzEdN58gQsol7NWnz/sZJq_V2Er.js\")), path: \"/our-biomarker\"}, aGZPZSbNb: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/a6phfWUtSPSwUH8tvlmJ/HiCqF3lV7yckEWwd7Bjv/aGZPZSbNb.js\")), path: \"/clinical-data\"}, OSZOi_fIj: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/gi22MH81FgX6p1vGuqnd/aiPqHpRoB6lwivomCPxv/OSZOi_fIj.js\")), path: \"/intellectual-property\"}, S8jbkI33M: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/3NHdtjsbD9MZ4kr0ZTpq/SNHgr4hMzm7txPJY1xcO/S8jbkI33M.js\")), path: \"/roi\"}, SjiJK8enS: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/aGGvlnl2nq9VOkfuHuMc/2nuE6NvWywOsO6RXrLQF/SjiJK8enS.js\")), path: \"/our-team\"}, UEjDUlzaE: {elements: {Ma1NTvTRC: \"navtrigger\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/8eBbyp4FvAA2Rtlklgwi/sFYhi8neEnKX0VZ5iJ2G/UEjDUlzaE.js\")), path: \"/404\"}, pmz750Zeq: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/mORcqpcU09t89PbdJiIO/xekjhlV7UpG1Am2HzZ4X/pmz750Zeq.js\")), path: \"/login\"}, hph9hCCOX: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/8K2Tlxwjk7hjUxx4jqm8/HOZPy72m4bgqcesq5amH/hph9hCCOX.js\")), path: \"/logout\"}}\r\n\r\n        const locales = [{code: \"en\", id: \"default\", name: \"English\", slug: \"\"}]\r\n        const collectionUtils = {}\r\n        const framerSiteId = \"816b93ca5a53f434f46588f88ae2ce08c9e179cb754e5462ba9fb125ac6ad4ce\"\r\n        function Template({routeId, children, style, ...rest}) {const templateProps = {}\r\nconst props = templateProps[routeId] ?? {}\r\nswitch (routeId) {case \"V9UD24nee\":\r\ncase \"sZJq_V2Er\":\r\ncase \"aGZPZSbNb\":\r\ncase \"OSZOi_fIj\":\r\ncase \"qSJw5l0pX\":\r\ncase \"S8jbkI33M\":\r\ncase \"SjiJK8enS\":\r\ncase \"UEjDUlzaE\":\r\nreturn React.createElement(Master, {...props, key: \"Master\", routeId, style}, children(true));\r\ndefault: { return children(false) }}}\r\nexport function getLayoutTemplateBreakpoints(routeId) {switch (routeId) {case \"V9UD24nee\":\r\ncase \"sZJq_V2Er\":\r\ncase \"aGZPZSbNb\":\r\ncase \"OSZOi_fIj\":\r\ncase \"qSJw5l0pX\":\r\ncase \"S8jbkI33M\":\r\ncase \"SjiJK8enS\":\r\ncase \"UEjDUlzaE\":\r\nreturn [{hash: \"76vsb1\", mediaQuery: \"(min-width: 1138px)\"}, {hash: \"pv0938\", mediaQuery: \"(min-width: 810px) and (max-width: 1137.98px)\"}, {hash: \"6nlx5z\", mediaQuery: \"(max-width: 809.98px)\"}]\r\ndefault: { return undefined }}}\r\n\r\n        export async function getPageRoot({ routeId, pathVariables, localeId }) {\r\n            const rootPreload = routes[routeId].page.preload()\r\n\r\n            const content = React.createElement(\r\n                Framer.PageRoot,\r\n                {\r\n                    isWebsite: true,\r\n                    routeId,\r\n                    pathVariables,\r\n                    routes,\r\n                    collectionUtils,\r\n                    framerSiteId,\r\n                    notFoundPage: Framer.lazy(() => import(\"https://framerusercontent.com/modules/8eBbyp4FvAA2Rtlklgwi/sFYhi8neEnKX0VZ5iJ2G/UEjDUlzaE.js\")),\r\n                    isReducedMotion: undefined,\r\n                    localeId,\r\n                    locales,\r\n                    preserveQueryParams: undefined,\r\n                    siteCanonicalURL: \"https://www.abacuslabs.com\",\r\n                    EditorBar: \r\n            typeof window !== \"undefined\" ? (() => {\r\n                const isBot = /bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(navigator.userAgent)\r\n                if (isBot) {\r\n                    console.log(\"[Framer Editor Bar] Unavailable because navigator is bot\")\r\n                    return\r\n                }\r\n\r\n                return Framer.lazy(async () => {\r\n                    const dependencies = {\r\n                        __version: 2,\r\n                        framer: {\r\n                            useCurrentRoute: Framer.useCurrentRoute,\r\n                            useLocaleInfo: Framer.useLocaleInfo,\r\n                            useRouter: Framer.useRouter,\r\n                        },\r\n                        react: {\r\n                            createElement: React.createElement,\r\n                            Fragment: React.Fragment,\r\n                            memo: React.memo,\r\n                            useCallback: React.useCallback,\r\n                            useEffect: React.useEffect,\r\n                            useRef: React.useRef,\r\n                            useState: React.useState,\r\n                        },\r\n                        \"react-dom\": { createPortal },\r\n                    }\r\n\r\n                    window.__framer_editorBarDependencies = dependencies\r\n\r\n                    const { createEditorBar } = await import(\"https://framer.com/edit/init.mjs\")\r\n                    return {\r\n                        default: createEditorBar(),\r\n                    }\r\n                })\r\n            })() : undefined\r\n        ,\r\n                    LayoutTemplate: Template,\r\n                }\r\n            )\r\n\r\n            const contentWithFeaturesContext = React.createElement(\r\n                Framer.LibraryFeaturesProvider,\r\n                {\r\n                    children: content,\r\n                    value: {cssCollector: false, editorBarDisableFrameAncestorsSecurity: false, motionDivToDiv: false, motionDivToDivBackgroundImage: true, pauseOffscreen: true, synchronousNavigationOnDesktop: false, yieldOnTap: false}\r\n                }\r\n            )\r\n\r\n            const contentWithGracefullyDegradingErrorBoundary = React.createElement(Framer.GracefullyDegradingErrorBoundary, {\r\n                children: contentWithFeaturesContext\r\n            })\r\n\r\n            \r\n            const page = React.createElement(Framer.PageEffectsProvider, {\r\n                children: contentWithGracefullyDegradingErrorBoundary,\r\n                value: {routes: {}}\r\n            })\r\n\r\n            // We don't want the initial render to immediately have to suspend.\r\n            await rootPreload\r\n            return page\r\n        }\r\n\r\n        const isBrowser = typeof document !== \"undefined\"\r\n        if (isBrowser) {\r\n            window.__framer_importFromPackage = (packageAndFilename, exportIdentifier) => () => {\r\n                return React.createElement(Framer.ErrorPlaceholder, { error: 'Package component not supported: \"' + exportIdentifier + '\" in \"' + packageAndFilename + '\"' })\r\n            }\r\n\r\n            // A lot of libraries assume process.env.NODE_ENV is present in runtime/buildtime, so we are polyfilling it\r\n            window.process = {\r\n                ...window.process,\r\n                env: {\r\n                    ...(window.process ? window.process.env: undefined),\r\n                    NODE_ENV: \"production\"\r\n                }\r\n            }\r\n\r\n            window.__framer_events = window.__framer_events || []\r\n\r\n            // Fallback support for stack gaps\r\n            Framer.installFlexboxGapWorkaroundIfNeeded()\r\n\r\n            const container = document.getElementById(\"main\")\r\n            // We know that #main is parsed before this script, so we don't need to wait for DOMContentLoaded or similar events.\r\n            if (\"framerHydrateV2\" in container.dataset) main(true, container)\r\n            else main(false, container)\r\n        }\r\n\r\n        function track() {\r\n            if (!isBrowser) return\r\n            window.__framer_events.push(arguments)\r\n        }\r\n\r\n        async function main(shouldHydrate, container) {\r\n            function handleError(error, errorInfo, recoverable = true) {\r\n                if (error.caught || window.__framer_hadFatalError) return // we already logged it\r\n\r\n                const componentStack = errorInfo?.componentStack\r\n                if (recoverable) {\r\n                    console.warn(\"Recoverable error has happened. Please check any custom code or code overrides to fix server/client mismatches:\\n\", error, componentStack)\r\n                    // we only want to collect 1%, because this can be quite noisy (floods the data pipeline)\r\n                    if (Math.random() > 0.01) return\r\n                } else {\r\n                    console.error(\"Fatal crash has happened. If you are the author of this website, please report this issue to the Framer team via https://www.framer.community/:\\n\", error, componentStack)\r\n                }\r\n                track(recoverable ? \"published_site_load_recoverable_error\" : \"published_site_load_error\", {\r\n                    message: String(error),\r\n                    componentStack, // componentStack is more useful\r\n                    stack: componentStack ? undefined : error instanceof Error && typeof error.stack === \"string\" ? error.stack : null,\r\n                })\r\n            }\r\n\r\n            try {\r\n                let routeId, localeId, pathVariables, breakpoints\r\n                if (shouldHydrate) {\r\n                    const routeData = JSON.parse(container.dataset[\"framerHydrateV2\"])\r\n                    routeId = routeData.routeId\r\n                    localeId = routeData.localeId\r\n                    pathVariables = routeData.pathVariables\r\n                    breakpoints = routeData.breakpoints\r\n\r\n                    routeId = Framer.patchRoutesForABTesting(routes, routeId) // Prioritize optimized route id to avoid flickering in browsers not supporting the server-timing header (Safari older than 16.4)\r\n                } else {\r\n                    Framer.patchRoutesForABTesting(routes, undefined) // This must happen before inferInitialRouteFromPath\r\n\r\n                    const routeData = Framer.inferInitialRouteFromPath(routes, decodeURIComponent(location.pathname), true, locales)\r\n                    routeId = routeData.routeId\r\n                    localeId = routeData.localeId\r\n                    pathVariables = routeData.pathVariables\r\n                }\r\n\r\n                const pagePromise = getPageRoot({ routeId, localeId, pathVariables })\r\n\r\n                \r\nif (typeof window !== \"undefined\") {\r\n    void (async () => {\r\n        const route = routes[routeId]\r\n\r\n        const defaultLocaleId = \"default\"\r\n        const framerLocale = locales.find(({ id }) => !localeId ? id === defaultLocaleId : id === localeId).code\r\n\r\n        let collectionItemId = null\r\n        if (route?.collectionId && collectionUtils) {\r\n              const utils = await collectionUtils[route.collectionId]?.()\r\n              const [slug] = Object.values(pathVariables)\r\n              if (utils && typeof slug === \"string\") {\r\n                  collectionItemId = (await utils.getRecordIdBySlug(slug, framerLocale || undefined)) ?? null\r\n              }\r\n        }\r\n\r\n        const resolvedDateTimeOptions = Intl.DateTimeFormat().resolvedOptions()\r\n        const timezone = resolvedDateTimeOptions.timeZone\r\n        const locale = resolvedDateTimeOptions.locale\r\n\r\n        // wait for the page to be activated before sending the pageview event\r\n        // https://developer.chrome.com/docs/web-platform/prerender-pages#impact-on-analytics\r\n        await new Promise((resolve) => {\r\n            if (document.prerendering) {\r\n                document.addEventListener(\"prerenderingchange\", resolve, { once: true })\r\n            } else {\r\n                resolve()\r\n            }\r\n        })\r\n\r\n        window.__framer_events.push([\r\n            \"published_site_pageview\",\r\n            {\r\n                framerSiteId: framerSiteId ?? null,\r\n                version: 2,\r\n                routePath: route?.path || \"/\",\r\n                collectionItemId,\r\n                framerLocale: framerLocale || null,\r\n                webPageId: route?.abTestingVariantId ?? routeId,\r\n                abTestId: route?.abTestId,\r\n                referrer: document.referrer || null,\r\n                url: window.location.href,\r\n                hostname: window.location.hostname || null,\r\n                pathname: window.location.pathname || null,\r\n                hash: window.location.hash || null,\r\n                search: window.location.search || null,\r\n                timezone,\r\n                locale,\r\n            },\r\n            \"eager\"\r\n        ])\r\n\r\n        // Yield to avoid blocking the main thread with the user code\r\n        await Framer.yieldToMain({ priority: \"background\", ensureContinueBeforeUnload: true, continueAfter: \"paint\" })\r\n\r\n        document.dispatchEvent(new CustomEvent(\"framer:pageview\", {\r\n            detail: { framerLocale: framerLocale || null }\r\n        }))\r\n    })()\r\n}\r\n\r\n\r\n                const page = await pagePromise\r\n                if (shouldHydrate) {\r\n                    \r\n\r\n                    Framer.withPerformanceMarks(\"framer-rewrite-breakpoints\", () => {\r\n                        Framer.removeHiddenBreakpointLayersV2(breakpoints)\r\n                        window.__framer_onRewriteBreakpoints?.(breakpoints)\r\n                    })\r\n\r\n                    \r\n\r\n                    const startTransition = React.startTransition\r\n                    startTransition(() => {\r\n                        Framer.markHydrationStart()\r\n                        if (true) Framer.turnOffReactEventHandling()\r\n                        ReactDOM.hydrateRoot(container, page, { onRecoverableError: handleError })\r\n                    })\r\n                } else {\r\n                    \r\n                    ReactDOM.createRoot(container, { onRecoverableError: handleError }).render(page)\r\n                }\r\n            } catch (error) {\r\n                handleError(error, undefined, false)\r\n                throw error\r\n            }\r\n        }\r\n\r\n        \r\n\r\n        \r\n    "],"mappings":"yqCAA6J,EAAU,GAAgC,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,EAAgB,EAAmB,CAACA,EAAS,IAAY,CAAC,EAAY,EAAe,CAACA,EAAS,MAAY,EAAW,EAAa,YAAY,EAAa,OAAyB,EAAa,UAAY,EAAa,OAAO,IAAM,EAAO,CAAC,EActd,OAdie,MAAc,CAAC,IAAMC,EAAU,SAAS,CAAC,IAAM,EAAM,aAAa,QAAQ,aAAa,GAAG,EAAO,GAAG,CAAC,IAAM,EAAS,MAAM,MAAM,kDAAkD,CAAC,OAAO,OAAO,QAAQ,CAAC,eAAe,mBAAmB,CAAC,KAAK,KAAK,UAAU,CAAC,QAAM,EAAE,EAAE,GAAG,EAAS,GAAG,CAAC,IAAM,EAAK,MAAM,EAAS,OAAO,EAAmB,IAAM,EAAe,EAAK,MAAM,EAAO,KAAK,GAAM,MAAM,SAAW,MAAK,aAAa,WAAW,aAAa,eAAe,CAAC,EAAO,SAAS,KAAK,QAAU,EAAC,IAAO,OAAM,EAAM,CAAC,QAAQ,MAAM,qBAAqB,GAAO,aAAa,WAAW,aAAa,eAAe,CAAC,EAAO,SAAS,K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