{"version":3,"file":"script_main.D_3TTeDa.mjs","names":["React.createElement","NavFooter","Framer.resolveInitialRouteContentState","Framer.PageRoot","Framer.lazy","Framer.useCurrentRoute","Framer.useLocaleInfo","Framer.useRouter","React.Fragment","React.memo","React.useCallback","React.useEffect","React.useRef","React.useState","React.useLayoutEffect","Framer.LazyValue","Framer.GracefullyDegradingErrorBoundary","Framer.PageEffectsProvider","Framer.patchRoutesForABTesting","Framer.inferInitialRouteFromPath","Framer.yieldToMain","React.startTransition","Framer.loadLibraryCSSRules","Framer.ErrorPlaceholder","__esmMin","le","init_ssg_sandbox_shims","navigator","te","ne","x","window","ee","_e","init_npm_react_dom_18_3_1","de","H","Ha","init_client","c","init_npm_react_18_3_1","ce","setLibraryFeatures","initLazyModulesCache","markHydrationStart","lazy","patchRoutesForABTesting","setCurrentSiteId","withPerformanceMarks","init_framer_CKT6jEEQ","loadLibraryCSSRules","resolveInitialRouteContentState","removeHiddenBreakpointLayersV2","LazyValue","useSiteRefs","PageRoot","useCurrentRoute","GracefullyDegradingErrorBoundary","PageEffectsProvider","useRouter","ErrorPlaceholder","turnOffReactEventHandling","useLocaleInfo","ResolveLinks","yieldToMain","inferInitialRouteFromPath","init_DHIPhjnps","FramerDHIPhjnps","Template","rest","props1","props2","props3","props4","props5","props6","props7","props8","props9","props10","siteRef","props","webPageId","\"Eu50pqCg_\"","resolvedLinks","children","getLayoutTemplateBreakpoints","routeId","getInitialRouteContentState","initialRouteContentStatePromise","getPageRoot","framerSiteId","pageRoutes","isBrowser","routes","rootPreload","route","shouldResolveInitialRouteContentState","collectionItemId","contentState","content","isBot","createEditorBar","contentLocaleId","contentWithGracefullyDegradingErrorBoundary","page","track","main","handleError","error","componentStack","errorInfo","recoverable","localeId","pathVariables","canonicalPathVariables","breakpoints","routeData","shouldHydrate","container","\"framerHydrateV2\"","serverRoute","key","value","locales","pagePromise","framerLocale","id","resolvedDateTimeOptions","timezone","locale","resolve","cb","r","collectionUtils","serverDatabaseClient","init_main","\"utils\"","exportIdentifier","packageAndFilename"],"sources":["framer:toplevel/main"],"sourcesContent":["\n\t\timport * as Framer from \"framer\";\nimport { ResolveLinks, useSiteRefs } from \"framer\";\nimport * as React from \"react\";\nimport { createPortal } from \"react-dom\";\nimport * as ReactDOM from \"react-dom/client\";\nimport NavFooter from \"https://framerusercontent.com/modules/tFfIkRYdc28sGkxTUqdA/diJ2kfInmm08a2AqNi4D/DHIPhjnps.js\";\n\n\t\tconst routes = {augiA20Il: {elements: {o9JmXlkeu: \"nav-trigger\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/ayDLTFXIC1NisMSVM0J9/5Snj5jRrzwQFIrZVK6MB/augiA20Il.js\")), path: \"/\"}, UNjWmme56: {elements: {vXybGE8wr: \"nav-trigger\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/c3QtfqF6nSmZatZGPCUs/RLNltJcLeETxSrQttRlZ/UNjWmme56.js\")), path: \"/404\"}, JdQZwwN5q: {elements: {vMCqfUSFi: \"nav-trigger\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/bohc2gX2Tj2GSr7vzbdC/o5k67DENVEqJxhtQlclM/JdQZwwN5q.js\")), path: \"/about\"}, pSc7QNgax: {elements: {UL8lpXsHs: \"nav-trigger\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/lgBBHXjy3vdiPoZfjsbc/ibGv4IbQcpvFplR0XIu7/pSc7QNgax.js\")), path: \"/new-patients\"}, sgXqyEggW: {elements: {KKi5JSXas: \"nav-trigger\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/y7pgDX9HYG2i1NVQWQdJ/St6LiYu03YkUkUpQnzOV/sgXqyEggW.js\")), path: \"/terms\"}, SZjhQQDs5: {elements: {gRlsoP0eK: \"nav-trigger\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/w6JL2CA7vJEGXPHoE6Rf/zR77GjRlLCA0teMnhR0E/SZjhQQDs5.js\")), path: \"/privacy\"}, Lp9mYIfrF: {elements: {txg4Wqnat: \"find-us\", uBcrHuue0: \"nav-trigger\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/j6AvHMIAcAx1ZRVwHpIR/ABXSDH1PQkOSmS7R2HkE/Lp9mYIfrF.js\")), path: \"/contact\"}, RloUc0FOj: {elements: {i8Xp6Xpdi: \"nav-trigger\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/aRej6clL0cm28uOz8bbw/9e3PbKxL0f23NOkna4vW/RloUc0FOj.js\")), path: \"/faq\"}, oB1pv_bbs: {elements: {as2EI0rUX: \"service-9\", atIkXp1jL: \"service-1\", mehonc7Jg: \"service-5\", mWJoHLtgg: \"nav-trigger\", tpCN4U2Gc: \"service-7\", utFIbwIvC: \"service-4\", vrWNfs01E: \"service-6\", yJDy11D5R: \"service-8\", Zn0mywthk: \"service-3\", zSuyqbcN_: \"service-2\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/qb4hrxMWMM4fdkEckXy7/01GuJ0fhLirHndyd7seE/oB1pv_bbs.js\")), path: \"/services\"}, gesp5Ux6p: {elements: {g2_vvBbTc: \"nav-trigger\", HGWYat5ln: \"hww-5\", JXka7E3Uj: \"hww-4\", Mo4yJr7xE: \"hww-3\", v3W7Wui4M: \"hww-2\", Ywv3JW_qz: \"hww-1\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/7txiPauFfljnh3SNTD81/65gM1UGliiZsTqYrP5JQ/gesp5Ux6p.js\")), path: \"/how-we-work\"}}\n\n\t\tconst locales = [{code: \"en\", id: \"default\", name: \"English\", slug: \"\", textDirection: \"ltr\"}]\n\t\tconst collectionUtils = {e3LVusRjH: async () => (await import(\"https://framerusercontent.com/modules/73TC1q1Fba9NlpZWKSO1/GL8VfhkARWhNt54MDh5K/e3LVusRjH.js\"))?.[\"utils\"], Xj0e7AFc0: async () => (await import(\"https://framerusercontent.com/modules/X5V3eBmmsflOr0K1gc4o/JZ7nuexWVY6LGEO1DGUb/Xj0e7AFc0.js\"))?.[\"utils\"]}\n\t\tconst serverDatabaseClient = undefined\n\t\tconst framerSiteId = \"2a8010fec4fc827275447f5c8c4b6807df0678d1ed8a66e589a21c0b1fcc0a14\"\n\t\tfunction Template({webPageId, children, style, ...rest}) {const props1 = {EJYGhn8JA: false, Eu50pqCg_: {href: {hash: \":h9QuuEixn\", webPageId: \"augiA20Il\"}, refKey: true}, gzXFtqXjh: false, RnySQx7Qg: true, TdSLgDDY3: true, vRzwR2EHi: true}\nconst props2 = {...props1, EJYGhn8JA: true, Eu50pqCg_: {href: {hash: \":vXybGE8wr\", webPageId: \"UNjWmme56\"}, refKey: true}, gzXFtqXjh: true}\nconst props3 = {...props1, EJYGhn8JA: true, Eu50pqCg_: {href: {hash: \":vMCqfUSFi\", webPageId: \"JdQZwwN5q\"}, refKey: true}, gzXFtqXjh: true}\nconst props4 = {...props1, EJYGhn8JA: true, Eu50pqCg_: {href: {hash: \":UL8lpXsHs\", webPageId: \"pSc7QNgax\"}, refKey: true}, gzXFtqXjh: true}\nconst props5 = {...props1, EJYGhn8JA: true, Eu50pqCg_: {href: {hash: \":KKi5JSXas\", webPageId: \"sgXqyEggW\"}, refKey: true}, gzXFtqXjh: true, RnySQx7Qg: false}\nconst props6 = {...props1, EJYGhn8JA: true, Eu50pqCg_: {href: {hash: \":gRlsoP0eK\", webPageId: \"SZjhQQDs5\"}, refKey: true}, gzXFtqXjh: true, RnySQx7Qg: false}\nconst props7 = {...props1, EJYGhn8JA: true, Eu50pqCg_: {href: {hash: \":uBcrHuue0\", webPageId: \"Lp9mYIfrF\"}, refKey: true}, gzXFtqXjh: true, RnySQx7Qg: false, TdSLgDDY3: false}\nconst props8 = {...props1, EJYGhn8JA: true, Eu50pqCg_: {href: {hash: \":i8Xp6Xpdi\", webPageId: \"RloUc0FOj\"}, refKey: true}, gzXFtqXjh: true, RnySQx7Qg: false}\nconst props9 = {...props1, EJYGhn8JA: true, Eu50pqCg_: {href: {hash: \":mWJoHLtgg\", webPageId: \"oB1pv_bbs\"}, refKey: true}, gzXFtqXjh: true, RnySQx7Qg: false}\nconst props10 = {...props1, EJYGhn8JA: true, Eu50pqCg_: {href: {hash: \":g2_vvBbTc\", webPageId: \"gesp5Ux6p\"}, refKey: true}, gzXFtqXjh: true, RnySQx7Qg: false}\nconst siteRef = useSiteRefs()\nconst templateProps = {augiA20Il: props1, gesp5Ux6p: props10, JdQZwwN5q: props3, Lp9mYIfrF: props7, oB1pv_bbs: props9, pSc7QNgax: props4, RloUc0FOj: props8, sgXqyEggW: props5, SZjhQQDs5: props6, UNjWmme56: props2}\nconst props = templateProps[webPageId] ?? {}\nswitch (webPageId) {case \"augiA20Il\":\ncase \"UNjWmme56\":\ncase \"JdQZwwN5q\":\ncase \"pSc7QNgax\":\ncase \"sgXqyEggW\":\ncase \"SZjhQQDs5\":\ncase \"Lp9mYIfrF\":\ncase \"RloUc0FOj\":\ncase \"oB1pv_bbs\":\ncase \"gesp5Ux6p\":\nreturn React.createElement(ResolveLinks, {links: [props[\"Eu50pqCg_\"]]}, (resolvedLinks) => React.createElement(NavFooter, {...props, Eu50pqCg_: siteRef(resolvedLinks[0]), key: \"NavFooter\", style}, children(true)));\ndefault: { return children(false) }}}\nexport function getLayoutTemplateBreakpoints(routeId) {switch (routeId) {case \"augiA20Il\":\ncase \"UNjWmme56\":\ncase \"JdQZwwN5q\":\ncase \"pSc7QNgax\":\ncase \"sgXqyEggW\":\ncase \"SZjhQQDs5\":\ncase \"Lp9mYIfrF\":\ncase \"RloUc0FOj\":\ncase \"oB1pv_bbs\":\ncase \"gesp5Ux6p\":\nreturn [{hash: \"nvddqx\", mediaQuery: \"(min-width: 1200px)\"}, {hash: \"l4edz\", mediaQuery: \"(min-width: 810px) and (max-width: 1199.98px)\"}, {hash: \"1317gim\", mediaQuery: \"(max-width: 809.98px)\"}]\ndefault: { return undefined }}}\n\n\t\tconst isBrowser = typeof document !== \"undefined\"\n\t\tconst isBot = isBrowser && /bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(navigator.userAgent)\n\n\t\t\n\t\t\n\t\tlet initialRouteContentStatePromise\n\t\tfunction getInitialRouteContentState({ routeId, pathVariables, localeId }) {\n\t\t\tinitialRouteContentStatePromise ??= Framer.resolveInitialRouteContentState({\n\t\t\t\troutes,\n\t\t\t\trouteId,\n\t\t\t\tpathVariables,\n\t\t\t\tlocaleId,\n\t\t\t\tlocales,\n\t\t\t\tcollectionUtils,\n\t\t\t})\n\n\t\t\treturn initialRouteContentStatePromise\n\t\t}\n\t\n\n\t\texport async function getPageRoot({\n\t\t\trouteId,\n\t\t\tpathVariables,\n\t\t\tcanonicalPathVariables,\n\t\t\tlocaleId,\n\t\t\tcollectionItemId,\n\t\t\tcontentLocaleId,\n\t\t\tshouldResolveInitialRouteContentState = false,\n\t\t}) {\n\t\t\tFramer.setLibraryFeatures({checkServerSideRouter: true, disableCustomCode: false, disableHoverOnMobile: false, editorBarDisableFrameAncestorsSecurity: false, motionDivToDiv: false, scrollRestoration: true, synchronousNavigationOnDesktop: false, yieldOnTap: false})\n\t\t\tFramer.setCurrentSiteId(framerSiteId)\n\n\t\t\tconst pageRoutes = !isBrowser && routes[routeId].abTestingParentId ? { ...routes } : routes\n\t\t\tif (pageRoutes !== routes) Framer.patchRoutesForABTesting(pageRoutes, routeId)\n\n\t\t\tconst rootPreload = routes[routeId].page.preload()\n\n\t\t\t\n\t\t\tconst route = routes[routeId]\n\t\t\tif (shouldResolveInitialRouteContentState && collectionItemId === undefined && route.collectionId) {\n\t\t\t\tconst contentState = await getInitialRouteContentState({ routeId, pathVariables, localeId })\n\t\t\t\tcontentLocaleId ??= contentState.contentLocaleId\n\t\t\t\tcanonicalPathVariables ??= contentState.canonicalPathVariables\n\t\t\t}\n\t\t\n\n\t\t\tconst content = React.createElement(\n\t\t\t\tFramer.PageRoot,\n\t\t\t\t{\n\t\t\t\t\tisWebsite: true,\n\t\t\t\t\tenvironment: \"site\",\n\t\t\t\t\trouteId,\n\t\t\t\t\tpathVariables,\n\t\t\t\t\tcanonicalPathVariables,\n\t\t\t\t\troutes: pageRoutes,\n\t\t\t\t\tcollectionUtils,\n\t\t\t\t\tserverDatabaseClient,\n\t\t\t\t\tframerSiteId,\n\t\t\t\t\tnotFoundPage: Framer.lazy(() => import(\"https://framerusercontent.com/modules/c3QtfqF6nSmZatZGPCUs/RLNltJcLeETxSrQttRlZ/UNjWmme56.js\")),\n\t\t\t\t\tisReducedMotion: true,\n\t\t\t\t\tlocaleId,\n\t\t\t\t\tlocales,\n\t\t\t\t\tpreserveQueryParams: undefined,\n\t\t\t\t\tsiteCanonicalURL: \"https://edinburghcitychiropractic.co.uk\",\n\t\t\t\t\tEditorBar: \n\t\t\ttypeof window !== \"undefined\" ? (() => {\n\t\t\t\tif (isBot) {\n\t\t\t\t\tconsole.log(\"[Framer On-Page Editing] Unavailable because navigator is bot\")\n\t\t\t\t\treturn\n\t\t\t\t}\n\n\t\t\t\treturn Framer.lazy(async () => {\n\t\t\t\t\tconst dependencies = {\n\t\t\t\t\t\t__version: 3,\n\t\t\t\t\t\tframer: {\n\t\t\t\t\t\t\tuseCurrentRoute: Framer.useCurrentRoute,\n\t\t\t\t\t\t\tuseLocaleInfo: Framer.useLocaleInfo,\n\t\t\t\t\t\t\tuseRouter: Framer.useRouter,\n\t\t\t\t\t\t},\n\t\t\t\t\t\treact: {\n\t\t\t\t\t\t\tcreateElement: React.createElement,\n\t\t\t\t\t\t\tFragment: React.Fragment,\n\t\t\t\t\t\t\tmemo: React.memo,\n\t\t\t\t\t\t\tuseCallback: React.useCallback,\n\t\t\t\t\t\t\tuseEffect: React.useEffect,\n\t\t\t\t\t\t\tuseRef: React.useRef,\n\t\t\t\t\t\t\tuseState: React.useState,\n\t\t\t\t\t\t\tuseLayoutEffect: React.useLayoutEffect,\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"react-dom\": { createPortal },\n\t\t\t\t\t}\n\n\t\t\t\t\twindow.__framer_editorBarDependencies = dependencies\n\n\t\t\t\t\tconst { createEditorBar } = await import(\"https://framer.com/edit/init.mjs\")\n\t\t\t\t\treturn {\n\t\t\t\t\t\tdefault: createEditorBar(),\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})() : undefined\n\t\t,\n\t\t\t\t\tadaptLayoutToTextDirection: true,\n\t\t\t\t\tLayoutTemplate: Template,\n\t\t\t\t\tloadSnippetsModule: new Framer.LazyValue(() => import(\"https://framerusercontent.com/modules/kqmAmrtJ3JyMAgjnikko/QUgC50f9EbCeIiyPaaMb/snippets.js\")),\n\t\t\t\t\tinitialCollectionItemId: collectionItemId,\n\t\t\t\t\tinitialContentLocaleIdOverride: contentLocaleId,\n\t\t\t\t}\n\t\t\t)\n\n\t\t\tconst contentWithGracefullyDegradingErrorBoundary = React.createElement(Framer.GracefullyDegradingErrorBoundary, {\n\t\t\t\tchildren: content\n\t\t\t})\n\n\t\t\t\n\t\t\tconst page = React.createElement(Framer.PageEffectsProvider, {\n\t\t\t\tchildren: contentWithGracefullyDegradingErrorBoundary,\n\t\t\t\tvalue: {routes: {}}\n\t\t\t})\n\n\t\t\t// We don't want the initial render to immediately have to suspend.\n\t\t\tawait rootPreload\n\t\t\treturn page\n\t\t}\n\t\n\n\t\tif (isBrowser) {\n\t\t\t// Note: HTTPArchive also uses this function to detect Framer sites; see https://github.com/HTTPArchive/wappalyzer/blob/371a17583f74fd9171b9077f59a5619b24062891/src/technologies/f.json#L1722-L1748.\n\t\t\twindow.__framer_importFromPackage = (packageAndFilename, exportIdentifier) => () => {\n\t\t\t\treturn React.createElement(Framer.ErrorPlaceholder, { error: 'Package component not supported: \"' + exportIdentifier + '\" in \"' + packageAndFilename + '\"' })\n\t\t\t}\n\n\t\t\twindow.__framer_events = window.__framer_events || []\n\n\t\t\t// Initialize lazy modules cache for hydration\n\t\t\tFramer.initLazyModulesCache()\n\n\t\t\tconst container = document.getElementById(\"main\")\n\t\t\t// We know that #main is parsed before this script, so we don't need to wait for DOMContentLoaded or similar events.\n\t\t\tif (\"framerHydrateV2\" in container.dataset) main(true, container)\n\t\t\telse main(false, container)\n\t\t}\n\n\t\tfunction track() {\n\t\t\tif (!isBrowser) return\n\t\t\twindow.__framer_events.push(arguments)\n\t\t}\n\n\t\tasync function main(shouldHydrate, container) {\n\t\t\tfunction handleError(error, errorInfo, recoverable = true) {\n\t\t\t\tif (error.caught || window.__framer_hadFatalError) return // we already logged it\n\n\t\t\t\tconst componentStack = errorInfo?.componentStack\n\t\t\t\tif (recoverable) {\n\t\t\t\t\tconsole.warn(\"Caught a recoverable error. The site is still functional, but might have some UI flickering or degraded page load performance. If you are the author of this website, update external components and check recently added custom code or code overrides to fix the following server/client mismatches:\\n\", error, componentStack)\n\t\t\t\t\t// we only want to collect 1%, because this can be quite noisy (floods the data pipeline)\n\t\t\t\t\tif (Math.random() > 0.01) return\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error(\"Caught a fatal error. Please report the following to the Framer team via https://www.framer.com/contact/:\\n\", error, componentStack)\n\t\t\t\t}\n\t\t\t\ttrack(recoverable ? \"published_site_load_recoverable_error\" : \"published_site_load_error\", {\n\t\t\t\t\tmessage: String(error),\n\t\t\t\t\tcomponentStack, // componentStack is more useful\n\t\t\t\t\tstack: componentStack ? undefined : error instanceof Error && typeof error.stack === \"string\" ? error.stack : null,\n\t\t\t\t})\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tlet routeId, localeId, contentLocaleId, pathVariables, canonicalPathVariables, breakpoints, routeData\n\t\t\t\tif (shouldHydrate) {\n\t\t\t\t\trouteData = JSON.parse(container.dataset[\"framerHydrateV2\"])\n\t\t\t\t\trouteId = routeData.routeId\n\t\t\t\t\tlocaleId = routeData.localeId\n\t\t\t\t\tcontentLocaleId = routeData.contentLocaleId\n\t\t\t\t\tpathVariables = routeData.pathVariables\n\t\t\t\t\tcanonicalPathVariables = routeData.canonicalPathVariables\n\t\t\t\t\tbreakpoints = routeData.breakpoints\n\n\t\t\t\t\trouteId = Framer.patchRoutesForABTesting(routes, routeId) // Prioritize optimized route id to avoid flickering in browsers not supporting the server-timing header (Safari older than 16.4)\n\t\t\t\t} else {\n\t\t\t\t\t\n\t\t\t\t\tFramer.patchRoutesForABTesting(routes, undefined) // This must happen before inferInitialRouteFromPath\n\t\t\t\t\tconst serverRoute = performance.getEntriesByType(\"navigation\")[0]?.serverTiming?.find(e => e.name === \"route\")?.description\n\t\t\t\t\tif (serverRoute) {\n\t\t\t\t\t\tconst routeData = new URLSearchParams(serverRoute)\n\t\t\t\t\t\trouteId = routeData.get(\"id\")\n\t\t\t\t\t\tlocaleId = routeData.get(\"locale\")\n\t\t\t\t\t\tfor (const [key, value] of routeData.entries()) {\n\t\t\t\t\t\t\tif (!key.startsWith(\"var.\")) continue\n\t\t\t\t\t\t\tpathVariables ??= {}\n\t\t\t\t\t\t\tpathVariables[key.slice(4)] = value\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (!routeId || !localeId) {\n\t\t\t\t\t\tconst routeData = Framer.inferInitialRouteFromPath(routes, decodeURIComponent(location.pathname), true, locales)\n\t\t\t\t\t\trouteId = routeData.routeId\n\t\t\t\t\t\tlocaleId = routeData.localeId\n\t\t\t\t\t\tpathVariables = routeData.pathVariables\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\n\t\t\t\tconst pagePromise = getPageRoot({\n\t\t\t\t\trouteId,\n\t\t\t\t\tlocaleId,\n\t\t\t\t\tcontentLocaleId,\n\t\t\t\t\tpathVariables,\n\t\t\t\t\tcanonicalPathVariables,\n\t\t\t\t\tcollectionItemId: shouldHydrate ? routeData?.collectionItemId : undefined,\n\t\t\t\t\tshouldResolveInitialRouteContentState: !shouldHydrate,\n\t\t\t\t})\n\n\t\t\t\t\nif (typeof window !== \"undefined\") {\n\tvoid (async () => {\n\t\tconst route = routes[routeId]\n\n\t\tconst defaultLocaleId = \"default\"\n\t\tconst framerLocale = locales.find(({ id }) => !localeId ? id === defaultLocaleId : id === localeId).code\n\n\t\t\n\t\tlet collectionItemId\n\t\tif (routeData?.collectionItemId !== undefined) {\n\t\t\tcollectionItemId = routeData.collectionItemId\n\t\t} else if (route?.collectionId) {\n\t\t\t// `collectionItemId` is a separate promise so that `getPageRoot` never waits on it; analytics does.\n\t\t\tconst initialState = await getInitialRouteContentState({ routeId, pathVariables, localeId })\n\t\t\tcollectionItemId = await initialState.collectionItemId\n\t\t} else {\n\t\t\tcollectionItemId = null\n\t\t}\n\t\n\n\t\tconst resolvedDateTimeOptions = Intl.DateTimeFormat().resolvedOptions()\n\t\tconst timezone = resolvedDateTimeOptions.timeZone\n\t\tconst locale = resolvedDateTimeOptions.locale\n\n\t\t// wait for the page to be activated before sending the pageview event\n\t\t// https://developer.chrome.com/docs/web-platform/prerender-pages#impact-on-analytics\n\t\tawait new Promise((resolve) => {\n\t\t\tif (document.prerendering) {\n\t\t\t\tdocument.addEventListener(\"prerenderingchange\", resolve, { once: true })\n\t\t\t} else {\n\t\t\t\tresolve()\n\t\t\t}\n\t\t})\n\n\t\twindow.__framer_events.push([\n\t\t\t\"published_site_pageview\",\n\t\t\t{\n\t\t\t\tframerSiteId,\n\t\t\t\tversion: 2,\n\t\t\t\troutePath: route?.path || \"/\",\n\t\t\t\tcollectionItemId,\n\t\t\t\tframerLocale: framerLocale || null,\n\t\t\t\twebPageId: route?.abTestingVariantId ?? routeId,\n\t\t\t\tabTestId: route?.abTestId,\n\t\t\t\treferrer: document.referrer || null,\n\t\t\t\turl: window.location.href,\n\t\t\t\thostname: window.location.hostname || null,\n\t\t\t\tpathname: window.location.pathname || null,\n\t\t\t\thash: window.location.hash || null,\n\t\t\t\tsearch: window.location.search || null,\n\t\t\t\ttimezone,\n\t\t\t\tlocale,\n\t\t\t},\n\t\t\t\"eager\"\n\t\t])\n\n\t\t// Yield to avoid blocking the main thread with the user code\n\t\tawait Framer.yieldToMain({ priority: \"background\", ensureContinueBeforeUnload: true, continueAfter: \"paint\" })\n\n\t\tdocument.dispatchEvent(new CustomEvent(\"framer:pageview\", {\n\t\t\tdetail: { framerLocale: framerLocale || null, abTestId: route?.abTestId, abTestingVariantId: route?.abTestingVariantId, abTestingVariantName: route?.abTestingVariantName, webPageId: routeId }\n\t\t}))\n\t})()\n}\n\n\n\t\t\t\tconst page = await pagePromise\n\t\t\t\tif (shouldHydrate) {\n\t\t\t\t\t\n\n\t\t\t\t\tFramer.withPerformanceMarks(\"framer-rewrite-breakpoints\", () => {\n\t\t\t\t\t\tFramer.removeHiddenBreakpointLayersV2(breakpoints)\n\t\t\t\t\t\twindow.__framer_onRewriteBreakpoints?.(breakpoints)\n\t\t\t\t\t})\n\n\t\t\t\t\t\n\n\t\t\t\t\tconst startTransition = isBot ? cb => cb() : React.startTransition\n\t\t\t\t\tstartTransition(() => {\n\t\t\t\t\t\tFramer.markHydrationStart()\n\t\t\t\t\t\tFramer.turnOffReactEventHandling()\n\t\t\t\t\t\tReactDOM.hydrateRoot(container, page, { onRecoverableError: handleError })\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\t\n\t\t\t\t\tawait Framer.loadLibraryCSSRules()\n\t\t\t\t\tReactDOM.createRoot(container, { onRecoverableError: handleError }).render(page)\n\t\t\t\t}\n\t\t\t} catch (error) {\n\t\t\t\thandleError(error, undefined, false)\n\t\t\t\tthrow error\n\t\t\t}\n\t\t}\n\n\t\t\n\n\t\t\n\t"],"mappings":"A,oeAcE,SAASoE,EAAS,CAAC,YAAW,WAAU,QAAO,GAAGC,GAAO,CAAC,IAAMC,EAAS,CAAC,UAAW,GAAO,UAAW,CAAC,KAAM,CAAC,KAAM,aAAc,UAAW,WAAW,EAAG,OAAQ,EAAI,EAAG,UAAW,GAAO,UAAW,GAAM,UAAW,GAAM,UAAW,EAAI,EAC1OC,EAAS,CAAC,GAAGD,EAAQ,UAAW,GAAM,UAAW,CAAC,KAAM,CAAC,KAAM,aAAc,UAAW,WAAW,EAAG,OAAQ,EAAI,EAAG,UAAW,EAAI,EACpIE,EAAS,CAAC,GAAGF,EAAQ,UAAW,GAAM,UA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