{"version":3,"file":"script_main.CWDhgDIE.mjs","names":["Framer.resolveInitialRouteContentState","React.createElement","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","init_npm_react_dom_18_3_1","H","_e","Ha","init_client","c","ce","init_npm_react_18_3_1","ee","de","markHydrationStart","useRouter","initLazyModulesCache","withPerformanceMarks","yieldToMain","loadLibraryCSSRules","lazy","init_framer_BisrWwwE","LazyValue","PageEffectsProvider","useLocaleInfo","GracefullyDegradingErrorBoundary","resolveInitialRouteContentState","turnOffReactEventHandling","setCurrentSiteId","useCurrentRoute","inferInitialRouteFromPath","removeHiddenBreakpointLayersV2","setLibraryFeatures","patchRoutesForABTesting","ErrorPlaceholder","PageRoot","getInitialRouteContentState","initialRouteContentStatePromise","getPageRoot","framerSiteId","pageRoutes","isBrowser","routes","routeId","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":["\r\n\t\timport * 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\n\r\n\t\tconst routes = {augiA20Il: {elements: {LedVGW5oS: \"about\", P0RNfb2lG: \"contact\", wGtauYmhA: \"hero-banner\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/7so0aLxOVfDHu3uf3uLB/RTept0TF3kid9MaV9WNm/augiA20Il.js\")), path: \"/\"}, dM9Nvwop3: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/2oOjHVmaKfcCJv1G9nMz/6KUcJ7e8I0W0T0tMnBbP/dM9Nvwop3.js\")), path: \"/404\"}, HBLLUo_vc: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/ROtGQorvlhvPlHLP29hL/n62H1Hsvp49VH4swCjxj/HBLLUo_vc.js\")), path: \"/services\"}, DVwhM9Vyu: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/VHhSWI8DPTco1cuCfiNT/eegJ1MXempDQ7xbNuNNr/DVwhM9Vyu.js\")), path: \"/contact-us\"}, V7O7kA3Tu: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/ROiZxVpUChdXLgOR968Q/MvMcNl15VREjq8stf9qg/V7O7kA3Tu.js\")), path: \"/advisors\"}, SEYUEoVKF: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/hAKRuKuRz5pWji3zMEKG/OEstPUiGbopdwa4yzLSc/SEYUEoVKF.js\")), path: \"/advisors/locations/north\"}, zb8s0zyBd: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/6cXPAg3LvUS94fn2UAuO/FBx3RQPrZnMfsovNR3Ij/zb8s0zyBd.js\")), path: \"/advisors/services/mortgages\"}, GIhdf56w2: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/WElmXaEFOihH823yMOLB/2vXzefJ7TlJlxwVbLdk9/GIhdf56w2.js\")), path: \"/advisors/services/commercial\"}, SW4ki7ADH: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/iaIiIgrejppI4lsTFai3/Pc0SIUl4mK5FrFGpPH9A/SW4ki7ADH.js\")), path: \"/advisors/services/wealth-management\"}, qdmT8ybUF: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/yeOlcyCvj07ipWfXaTBd/hyzCXdBnwboIQERsVFws/qdmT8ybUF.js\")), path: \"/advisors/services/protection\"}, BHHVzSV29: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/3N7ft04auTmzxSAyFcgs/ncoGL6HCuDbA6QqG3gY4/BHHVzSV29.js\")), path: \"/advisors/locations/midlands\"}, IjPmyXFMf: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/msRNYe5ZuRfeyyAaRW8z/hFQv7M4V84Nm5l4cYHwN/IjPmyXFMf.js\")), path: \"/advisors/locations/south\"}, FQLGPG4ho: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/ZDWfO0Pvn9kCNdWzEVMu/31b2iGMkHakKlxuiSnwG/FQLGPG4ho.js\")), path: \"/blog\"}, damQbIL9D: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/m0jG5ETzeAmEjmfolyFF/Ie8Wq5WPXooTwfd5CAXs/damQbIL9D.js\")), path: \"/mortgages\"}, FPKacFrVm: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/FuLaYiMJiC3Kn0VLVKwa/EZldqm2CGgY5KKgdGFX8/FPKacFrVm.js\")), path: \"/commercial\"}, JVDSI6Rda: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/PsyL5ILLKouTG8UE0lUV/VJ44DC4z6RiSVc5ZWoe3/JVDSI6Rda.js\")), path: \"/careers\"}, w88RbKXBA: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/crQG2T9BWbRSkh532TCI/uLtsEyqFsUDdcsaQ31nO/w88RbKXBA.js\")), path: \"/insurance\"}, VeqnGzbpC: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/omL1sY1zXUpgV2nqaf1D/PqVyr2DDKr5aRFtGe7nx/VeqnGzbpC.js\")), path: \"/pension-investments\"}, pvNvFEDjO: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/83EIw8cTeTRDxF6X7x16/On4jXCdxWgE5drIF1ara/pvNvFEDjO.js\")), path: \"/privacy-policy\"}, q_XS82wta: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/97H5scWhfDDXUQDHvSde/cFac6VfDoeQVOlNczpoA/q_XS82wta.js\")), path: \"/find\"}, xitPHU87v: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/QKNlF54c5gP4QA5whEah/SyMOXOYfTzQ2ceD6m6Kd/xitPHU87v.js\")), path: \"/old-home-2\"}, Xt46o5Syn: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/CUyAK2mqU1GWVbuQ7cHH/IHEMFIn0s1NKJYrR3iWN/Xt46o5Syn.js\")), path: \"/thank-you\"}, fSsLU1_jo: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/IWDW8kQNgXAMaxwBUCZS/daOPBOHMOjnQhPJs884f/fSsLU1_jo.js\")), path: \"/about\"}, wihYFYvUL: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/B8aSTM698iCcvhvPG75b/toXoL47xqFF5239eQDAi/wihYFYvUL.js\")), path: \"/cookie-policy\"}, GBukz8kN7: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/5X8Az4DHuFweI03h2CrD/IxQKynOlWNNKYsJmUsx9/GBukz8kN7.js\")), path: \"/equity-release\"}, kP8juFK7o: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/8jgTkMmePjmDMYeHlWe4/laaTrlNV3hJK389OSRaB/kP8juFK7o.js\")), path: \"/expat-investment-mortgages\"}, izyachDU0: {elements: {J7CxxYAtF: \"enquire\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/8NnsR5C62LWGd6v7vEqH/3JOu4kEN9GHyzupMQ1s2/izyachDU0.js\")), path: \"/remortgage-advice\"}, VBvoqtxFC: {elements: {CuFCVNgIw: \"enquire\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/gXZrgDDOxSeuRS46LCWA/RMWfaPrQIEf8czF184We/VBvoqtxFC.js\")), path: \"/mortgage-advice\"}, SPOfRxxC9: {elements: {s9eBunEYf: \"enquire\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/nkW9tNGgbe2IqLDITtCC/LgrV47fGvPJaU5rSnmLX/SPOfRxxC9.js\")), path: \"/first-time-buyer-advice\"}, bPYfkdthh: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/oCBTwUFoU0NSzWOvvCuP/EATuN7YroqxM5GnmthSL/bPYfkdthh.js\")), path: \"/thank-you-enquiry\"}, GTFCyPSty: {elements: {aLrf3hT8A: \"top\", D0Dz6y9F6: \"quiz\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/r5PBAYOErXGDK4jm4dl5/dk48vHvPvwuGTb0sGN70/GTFCyPSty.js\")), path: \"/pia2\"}, X75SCgh1U: {elements: {luaXEImlk: \"get-checklist\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/r6EZh7NWevzJieqS12s5/V451DULt9XdQrHNoCCkZ/X75SCgh1U.js\")), path: \"/pia\"}, oiQqz8M_C: {collectionId: \"glcsfYSP3\", elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/ifpHQv3Zceo6uH5hq46S/114arVSwgpIx7ED9U6ZQ/oiQqz8M_C.js\")), path: \"/advisors/:S6obnoC9Q\"}, TQoO0njkz: {collectionId: \"feddUkdEg\", elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/PdruO5WB62ll8WLsoMs5/zCMRI8HSdMgXVn2xQSOa/TQoO0njkz.js\")), path: \"/blog/:aa4MqtRMG\"}}\r\n\r\n\t\tconst locales = [{code: \"en\", id: \"default\", name: \"English\", slug: \"\", textDirection: \"ltr\"}]\r\n\t\tconst collectionUtils = {feddUkdEg: async () => (await import(\"https://framerusercontent.com/modules/tTRlxEigMFLwN4EOCkS2/v1SyVc6s3PVvlPPFtKYH/feddUkdEg.js\"))?.[\"utils\"], glcsfYSP3: async () => (await import(\"https://framerusercontent.com/modules/EXCmvBpSNEbU6TknFdLq/bEg4S1CgbnX2e6345c1s/glcsfYSP3.js\"))?.[\"utils\"]}\r\n\t\tconst serverDatabaseClient = undefined\r\n\t\tconst framerSiteId = \"9919b4125e44051d7ea3e08577364192de694ed351f98fb3976d128903d70421\"\r\n\t\t\r\n\r\n\t\tconst isBrowser = typeof document !== \"undefined\"\r\n\t\tconst isBot = isBrowser && /bot|-google|google-|yandex|ia_archiver|crawl|spider/iu.test(navigator.userAgent)\r\n\r\n\t\t\r\n\t\t\r\n\t\tlet initialRouteContentStatePromise\r\n\t\tfunction getInitialRouteContentState({ routeId, pathVariables, localeId }) {\r\n\t\t\tinitialRouteContentStatePromise ??= Framer.resolveInitialRouteContentState({\r\n\t\t\t\troutes,\r\n\t\t\t\trouteId,\r\n\t\t\t\tpathVariables,\r\n\t\t\t\tlocaleId,\r\n\t\t\t\tlocales,\r\n\t\t\t\tcollectionUtils,\r\n\t\t\t})\r\n\r\n\t\t\treturn initialRouteContentStatePromise\r\n\t\t}\r\n\t\r\n\r\n\t\texport async function getPageRoot({\r\n\t\t\trouteId,\r\n\t\t\tpathVariables,\r\n\t\t\tcanonicalPathVariables,\r\n\t\t\tlocaleId,\r\n\t\t\tcollectionItemId,\r\n\t\t\tcontentLocaleId,\r\n\t\t\tshouldResolveInitialRouteContentState = false,\r\n\t\t}) {\r\n\t\t\tFramer.setLibraryFeatures({checkServerSideRouter: true, disableCustomCode: false, disableHoverOnMobile: false, editorBarDisableFrameAncestorsSecurity: false, motionDivToDiv: false, scrollRestoration: true, synchronousNavigationOnDesktop: false, yieldOnTap: false})\r\n\t\t\tFramer.setCurrentSiteId(framerSiteId)\r\n\r\n\t\t\tconst pageRoutes = !isBrowser && routes[routeId].abTestingParentId ? { ...routes } : routes\r\n\t\t\tif (pageRoutes !== routes) Framer.patchRoutesForABTesting(pageRoutes, routeId)\r\n\r\n\t\t\tconst rootPreload = routes[routeId].page.preload()\r\n\r\n\t\t\t\r\n\t\t\tconst route = routes[routeId]\r\n\t\t\tif (shouldResolveInitialRouteContentState && collectionItemId === undefined && route.collectionId) {\r\n\t\t\t\tconst contentState = await getInitialRouteContentState({ routeId, pathVariables, localeId })\r\n\t\t\t\tcontentLocaleId ??= contentState.contentLocaleId\r\n\t\t\t\tcanonicalPathVariables ??= contentState.canonicalPathVariables\r\n\t\t\t}\r\n\t\t\r\n\r\n\t\t\tconst content = React.createElement(\r\n\t\t\t\tFramer.PageRoot,\r\n\t\t\t\t{\r\n\t\t\t\t\tisWebsite: true,\r\n\t\t\t\t\tenvironment: \"site\",\r\n\t\t\t\t\trouteId,\r\n\t\t\t\t\tpathVariables,\r\n\t\t\t\t\tcanonicalPathVariables,\r\n\t\t\t\t\troutes: pageRoutes,\r\n\t\t\t\t\tcollectionUtils,\r\n\t\t\t\t\tserverDatabaseClient,\r\n\t\t\t\t\tframerSiteId,\r\n\t\t\t\t\tnotFoundPage: Framer.lazy(() => import(\"https://framerusercontent.com/modules/2oOjHVmaKfcCJv1G9nMz/6KUcJ7e8I0W0T0tMnBbP/dM9Nvwop3.js\")),\r\n\t\t\t\t\tisReducedMotion: undefined,\r\n\t\t\t\t\tlocaleId,\r\n\t\t\t\t\tlocales,\r\n\t\t\t\t\tpreserveQueryParams: true,\r\n\t\t\t\t\tsiteCanonicalURL: \"https://www.piafs.co.uk\",\r\n\t\t\t\t\tEditorBar: \r\n\t\t\ttypeof window !== \"undefined\" ? (() => {\r\n\t\t\t\tif (isBot) {\r\n\t\t\t\t\tconsole.log(\"[Framer On-Page Editing] Unavailable because navigator is bot\")\r\n\t\t\t\t\treturn\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn Framer.lazy(async () => {\r\n\t\t\t\t\tconst dependencies = {\r\n\t\t\t\t\t\t__version: 3,\r\n\t\t\t\t\t\tframer: {\r\n\t\t\t\t\t\t\tuseCurrentRoute: Framer.useCurrentRoute,\r\n\t\t\t\t\t\t\tuseLocaleInfo: Framer.useLocaleInfo,\r\n\t\t\t\t\t\t\tuseRouter: Framer.useRouter,\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\treact: {\r\n\t\t\t\t\t\t\tcreateElement: React.createElement,\r\n\t\t\t\t\t\t\tFragment: React.Fragment,\r\n\t\t\t\t\t\t\tmemo: React.memo,\r\n\t\t\t\t\t\t\tuseCallback: React.useCallback,\r\n\t\t\t\t\t\t\tuseEffect: React.useEffect,\r\n\t\t\t\t\t\t\tuseRef: React.useRef,\r\n\t\t\t\t\t\t\tuseState: React.useState,\r\n\t\t\t\t\t\t\tuseLayoutEffect: React.useLayoutEffect,\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\"react-dom\": { createPortal },\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\twindow.__framer_editorBarDependencies = dependencies\r\n\r\n\t\t\t\t\tconst { createEditorBar } = await import(\"https://framer.com/edit/init.mjs\")\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\tdefault: createEditorBar(),\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t})() : undefined\r\n\t\t,\r\n\t\t\t\t\tadaptLayoutToTextDirection: false,\r\n\t\t\t\t\t\r\n\t\t\t\t\tloadSnippetsModule: new Framer.LazyValue(() => import(\"https://framerusercontent.com/modules/7loWXmm0wEdCSYSOiFqT/RNz2VCEOHdmaQwlojhfE/snippets.js\")),\r\n\t\t\t\t\tinitialCollectionItemId: collectionItemId,\r\n\t\t\t\t\tinitialContentLocaleIdOverride: contentLocaleId,\r\n\t\t\t\t}\r\n\t\t\t)\r\n\r\n\t\t\tconst contentWithGracefullyDegradingErrorBoundary = React.createElement(Framer.GracefullyDegradingErrorBoundary, {\r\n\t\t\t\tchildren: content\r\n\t\t\t})\r\n\r\n\t\t\t\r\n\t\t\tconst page = React.createElement(Framer.PageEffectsProvider, {\r\n\t\t\t\tchildren: contentWithGracefullyDegradingErrorBoundary,\r\n\t\t\t\tvalue: {routes: {}}\r\n\t\t\t})\r\n\r\n\t\t\t// We don't want the initial render to immediately have to suspend.\r\n\t\t\tawait rootPreload\r\n\t\t\treturn page\r\n\t\t}\r\n\t\r\n\r\n\t\tif (isBrowser) {\r\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.\r\n\t\t\twindow.__framer_importFromPackage = (packageAndFilename, exportIdentifier) => () => {\r\n\t\t\t\treturn React.createElement(Framer.ErrorPlaceholder, { error: 'Package component not supported: \"' + exportIdentifier + '\" in \"' + packageAndFilename + '\"' })\r\n\t\t\t}\r\n\r\n\t\t\twindow.__framer_events = window.__framer_events || []\r\n\r\n\t\t\t// Initialize lazy modules cache for hydration\r\n\t\t\tFramer.initLazyModulesCache()\r\n\r\n\t\t\tconst container = document.getElementById(\"main\")\r\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.\r\n\t\t\tif (\"framerHydrateV2\" in container.dataset) main(true, container)\r\n\t\t\telse main(false, container)\r\n\t\t}\r\n\r\n\t\tfunction track() {\r\n\t\t\tif (!isBrowser) return\r\n\t\t\twindow.__framer_events.push(arguments)\r\n\t\t}\r\n\r\n\t\tasync function main(shouldHydrate, container) {\r\n\t\t\tfunction handleError(error, errorInfo, recoverable = true) {\r\n\t\t\t\tif (error.caught || window.__framer_hadFatalError) return // we already logged it\r\n\r\n\t\t\t\tconst componentStack = errorInfo?.componentStack\r\n\t\t\t\tif (recoverable) {\r\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)\r\n\t\t\t\t\t// we only want to collect 1%, because this can be quite noisy (floods the data pipeline)\r\n\t\t\t\t\tif (Math.random() > 0.01) return\r\n\t\t\t\t} else {\r\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)\r\n\t\t\t\t}\r\n\t\t\t\ttrack(recoverable ? \"published_site_load_recoverable_error\" : \"published_site_load_error\", {\r\n\t\t\t\t\tmessage: String(error),\r\n\t\t\t\t\tcomponentStack, // componentStack is more useful\r\n\t\t\t\t\tstack: componentStack ? undefined : error instanceof Error && typeof error.stack === \"string\" ? error.stack : null,\r\n\t\t\t\t})\r\n\t\t\t}\r\n\r\n\t\t\ttry {\r\n\t\t\t\tlet routeId, localeId, contentLocaleId, pathVariables, canonicalPathVariables, breakpoints, routeData\r\n\t\t\t\tif (shouldHydrate) {\r\n\t\t\t\t\trouteData = JSON.parse(container.dataset[\"framerHydrateV2\"])\r\n\t\t\t\t\trouteId = routeData.routeId\r\n\t\t\t\t\tlocaleId = routeData.localeId\r\n\t\t\t\t\tcontentLocaleId = routeData.contentLocaleId\r\n\t\t\t\t\tpathVariables = routeData.pathVariables\r\n\t\t\t\t\tcanonicalPathVariables = routeData.canonicalPathVariables\r\n\t\t\t\t\tbreakpoints = routeData.breakpoints\r\n\r\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)\r\n\t\t\t\t} else {\r\n\t\t\t\t\t\r\n\t\t\t\t\tFramer.patchRoutesForABTesting(routes, undefined) // This must happen before inferInitialRouteFromPath\r\n\t\t\t\t\tconst serverRoute = performance.getEntriesByType(\"navigation\")[0]?.serverTiming?.find(e => e.name === \"route\")?.description\r\n\t\t\t\t\tif (serverRoute) {\r\n\t\t\t\t\t\tconst routeData = new URLSearchParams(serverRoute)\r\n\t\t\t\t\t\trouteId = routeData.get(\"id\")\r\n\t\t\t\t\t\tlocaleId = routeData.get(\"locale\")\r\n\t\t\t\t\t\tfor (const [key, value] of routeData.entries()) {\r\n\t\t\t\t\t\t\tif (!key.startsWith(\"var.\")) continue\r\n\t\t\t\t\t\t\tpathVariables ??= {}\r\n\t\t\t\t\t\t\tpathVariables[key.slice(4)] = value\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (!routeId || !localeId) {\r\n\t\t\t\t\t\tconst routeData = Framer.inferInitialRouteFromPath(routes, decodeURIComponent(location.pathname), true, locales)\r\n\t\t\t\t\t\trouteId = routeData.routeId\r\n\t\t\t\t\t\tlocaleId = routeData.localeId\r\n\t\t\t\t\t\tpathVariables = routeData.pathVariables\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\r\n\t\t\t\tconst pagePromise = getPageRoot({\r\n\t\t\t\t\trouteId,\r\n\t\t\t\t\tlocaleId,\r\n\t\t\t\t\tcontentLocaleId,\r\n\t\t\t\t\tpathVariables,\r\n\t\t\t\t\tcanonicalPathVariables,\r\n\t\t\t\t\tcollectionItemId: shouldHydrate ? routeData?.collectionItemId : undefined,\r\n\t\t\t\t\tshouldResolveInitialRouteContentState: !shouldHydrate,\r\n\t\t\t\t})\r\n\r\n\t\t\t\t\r\nif (typeof window !== \"undefined\") {\r\n\tvoid (async () => {\r\n\t\tconst route = routes[routeId]\r\n\r\n\t\tconst defaultLocaleId = \"default\"\r\n\t\tconst framerLocale = locales.find(({ id }) => !localeId ? id === defaultLocaleId : id === localeId).code\r\n\r\n\t\t\r\n\t\tlet collectionItemId\r\n\t\tif (routeData?.collectionItemId !== undefined) {\r\n\t\t\tcollectionItemId = routeData.collectionItemId\r\n\t\t} else if (route?.collectionId) {\r\n\t\t\t// `collectionItemId` is a separate promise so that `getPageRoot` never waits on it; analytics does.\r\n\t\t\tconst initialState = await getInitialRouteContentState({ routeId, pathVariables, localeId })\r\n\t\t\tcollectionItemId = await initialState.collectionItemId\r\n\t\t} else {\r\n\t\t\tcollectionItemId = null\r\n\t\t}\r\n\t\r\n\r\n\t\tconst resolvedDateTimeOptions = Intl.DateTimeFormat().resolvedOptions()\r\n\t\tconst timezone = resolvedDateTimeOptions.timeZone\r\n\t\tconst locale = resolvedDateTimeOptions.locale\r\n\r\n\t\t// wait for the page to be activated before sending the pageview event\r\n\t\t// https://developer.chrome.com/docs/web-platform/prerender-pages#impact-on-analytics\r\n\t\tawait new Promise((resolve) => {\r\n\t\t\tif (document.prerendering) {\r\n\t\t\t\tdocument.addEventListener(\"prerenderingchange\", resolve, { once: true })\r\n\t\t\t} else {\r\n\t\t\t\tresolve()\r\n\t\t\t}\r\n\t\t})\r\n\r\n\t\twindow.__framer_events.push([\r\n\t\t\t\"published_site_pageview\",\r\n\t\t\t{\r\n\t\t\t\tframerSiteId,\r\n\t\t\t\tversion: 2,\r\n\t\t\t\troutePath: route?.path || \"/\",\r\n\t\t\t\tcollectionItemId,\r\n\t\t\t\tframerLocale: framerLocale || null,\r\n\t\t\t\twebPageId: route?.abTestingVariantId ?? routeId,\r\n\t\t\t\tabTestId: route?.abTestId,\r\n\t\t\t\treferrer: document.referrer || null,\r\n\t\t\t\turl: window.location.href,\r\n\t\t\t\thostname: window.location.hostname || null,\r\n\t\t\t\tpathname: window.location.pathname || null,\r\n\t\t\t\thash: window.location.hash || null,\r\n\t\t\t\tsearch: window.location.search || null,\r\n\t\t\t\ttimezone,\r\n\t\t\t\tlocale,\r\n\t\t\t},\r\n\t\t\t\"eager\"\r\n\t\t])\r\n\r\n\t\t// Yield to avoid blocking the main thread with the user code\r\n\t\tawait Framer.yieldToMain({ priority: \"background\", ensureContinueBeforeUnload: true, continueAfter: \"paint\" })\r\n\r\n\t\tdocument.dispatchEvent(new CustomEvent(\"framer:pageview\", {\r\n\t\t\tdetail: { framerLocale: framerLocale || null }\r\n\t\t}))\r\n\t})()\r\n}\r\n\r\n\r\n\t\t\t\tconst page = await pagePromise\r\n\t\t\t\tif (shouldHydrate) {\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\tFramer.withPerformanceMarks(\"framer-rewrite-breakpoints\", () => {\r\n\t\t\t\t\t\tFramer.removeHiddenBreakpointLayersV2(breakpoints)\r\n\t\t\t\t\t\twindow.__framer_onRewriteBreakpoints?.(breakpoints)\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\tconst startTransition = isBot ? cb => cb() : React.startTransition\r\n\t\t\t\t\tstartTransition(() => {\r\n\t\t\t\t\t\tFramer.markHydrationStart()\r\n\t\t\t\t\t\tFramer.turnOffReactEventHandling()\r\n\t\t\t\t\t\tReactDOM.hydrateRoot(container, page, { onRecoverableError: handleError })\r\n\t\t\t\t\t})\r\n\t\t\t\t} else {\r\n\t\t\t\t\t\r\n\t\t\t\t\tawait Framer.loadLibraryCSSRules()\r\n\t\t\t\t\tReactDOM.createRoot(container, { onRecoverableError: handleError }).render(page)\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\thandleError(error, undefined, false)\r\n\t\t\t\tthrow error\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t\r\n\r\n\t\t\r\n\t"],"mappings":"A,4ZAoBE,SAAS+D,EAA4B,CAAE,UAAS,gBAAe,YAAY,CAU1E,MATA,KAAoC/D,EAAuC,CAC1E,SACA,UACA,gBACA,WACA,UACA,iBACD,CAAC,EAEMgE,CACR,CAGA,eAAsBC,EAAY,CACjC,UACA,gBACA,yBACA,WACA,mBACA,kBACA,wCAAwC,IACtC,CACFN,EAA0B,CAAC,sBAAuB,GAAM,kBAAmB,GAAO,qBAAsB,GAAO,uCAAwC,GAAO,eAAgB,GAAO,kBAAmB,GAAM,+BAAgC,GAAO,WAAY,EAAK,CAAC,EACvQJ,EAAwBW,CAAY,EAEpC,IAAMC,EAAa,CAACC,GAAaC,EAAOC,EAAQ,CAAC,kBAAoB,CAAE,GAAGD,CAAO,EAAIA,EACjFF,IAAeE,GAAQT,EAA+BO,EA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