{"version":3,"file":"script_main.DABqBGRn.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","ee","_e","Ha","de","init_client","init_npm_react_dom_18_3_1","c","init_npm_react_18_3_1","ce","removeHiddenBreakpointLayersV2","withPerformanceMarks","initLazyModulesCache","init_framer_Bf4_tcb2","patchRoutesForABTesting","inferInitialRouteFromPath","markHydrationStart","loadLibraryCSSRules","turnOffReactEventHandling","useCurrentRoute","resolveInitialRouteContentState","LazyValue","yieldToMain","useLocaleInfo","setCurrentSiteId","GracefullyDegradingErrorBoundary","lazy","setLibraryFeatures","ErrorPlaceholder","PageEffectsProvider","useRouter","PageRoot","getInitialRouteContentState","initialRouteContentStatePromise","getPageRoot","framerSiteId","pageRoutes","isBrowser","routes","routeId","rootPreload","route","shouldResolveInitialRouteContentState","collectionItemId","contentState","content","H","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","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 = {VZrGNUEIp: {elements: {CaPXuo1RM: \"solgon\", fg4xkGq4X: \"2-phone\", fvNIuMiX3: \"2-1\", ilLv9j6xi: \"1-1\", KaqzSi796: \"4\", lLqc9_scJ: \"5\", LX1Pry_Qg: \"4-1\", mGRGPwK5B: \"2\", o8xJItvDX: \"1\", oTwEjETJ6: \"bg2\", Oyn1_O5kB: \"bg3\", Qg6ohcCzR: \"video\", QWXfKXUkN: \"about\", R9tcEiitf: \"features\", rhoByP3_M: \"about-1\", SVy6vpT9n: \"3\", Us0zrkmqU: \"solgon2\", ydqa6rvFl: \"3-1\", z24icwPIG: \"bg4\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/o262LzM2cucnnq1cY2m4/gZe1qCpoEdMwojRmzf8S/VZrGNUEIp.js\")), path: \"/\"}, gCEiV5zuj: {elements: {buHbuoR2_: \"about\", env63qSaU: \"3-1\", hhzeVR74G: \"5\", hZJiJbUA9: \"4-1\", InBUgddFc: \"4\", jgHumqZag: \"2\", jIQSwLORs: \"1\", l39_uyDgd: \"features\", MSrO9WetN: \"solgon\", NiidKrtGI: \"video\", nkIXU4Qi7: \"bg2\", Qh0_oB1DZ: \"bg4\", qTuivrF52: \"3\", SGQKGVmnx: \"1-1\", uXyNdDxo0: \"2-phone\", vrkntswnd: \"2-1\", YAN6dxL72: \"about-1\", YEhjs3znQ: \"bg3\", zeHiNB3Uc: \"solgon2\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/QviKmJVYx1P08bWL2O6d/lJUuEJHtRygrlKJ8Qus0/gCEiV5zuj.js\")), path: \"/crazy-snow\"}, baEForWUF: {elements: {aV8mMZ8uq: \"2\", er4khAPLU: \"1\", ngUwgLub1: \"price\", y6vpJvAqH: \"3\", z67ERk5fQ: \"process\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/T3T2Rp2Jm5PYyv5NA8Rx/2vqKAzabQyBeQdZN4Y2U/baEForWUF.js\")), path: \"/niseko-ski-lessons\"}, yKPLWQL_m: {elements: {a3RTNS1K0: \"2\", b0rkWVvWm: \"3\", dHE6uXPCO: \"1\", mqddseOky: \"main-1\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/XPD71TQayF2kknNEbfSE/xVsxUsbbjUcFrBvjDvjJ/yKPLWQL_m.js\")), path: \"/instructors\"}, oyyiqUCgA: {elements: {a0pTeqSwk: \"生根\", bKryXWcIr: \"timeline3\", fYg6SFuBd: \"main-1\", kMldKzFQ0: \"value\", n2FzP9O9_: \"勇敢\", qO78SouTU: \"timeline4\", zKEClWKiq: \"founder-story\", zxNkGQNeE: \"timeline-2\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/ucsnhHXdjYDTmz0DYBOD/ktzYXwexK6ttnF83TU3f/oyyiqUCgA.js\")), path: \"/about\"}, hULy0mUP4: {elements: {x7MwPM4NN: \"main-1\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/T96a1EAr0kFx5dxnUr66/YSEiJ6LIPWMP5EhT27YC/hULy0mUP4.js\")), path: \"/ski-resorts\"}, MBkClctBc: {elements: {FXMxPsXnU: \"1-1\", g5PyHaKcj: \"process1\", j3el7NDHD: \"1-2\", moxfxyIsw: \"1-3\", o_M_rrbzX: \"process3\", TH_BW91ak: \"1-4\", TScuqlrrp: \"process\", WUdG812rt: \"reserve\", XJLFuTsIP: \"1\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/y5maTz27pQc8hz37XSvl/K2YoqPN09UatAZwBshvd/MBkClctBc.js\")), path: \"/course-faq\"}, nb2Tz_1YA: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/kAQiwkZXovkMOg1P7RHk/56y4emOauEoVHoV92C48/nb2Tz_1YA.js\")), path: \"/contact\"}, fhN06Cay8: {elements: {cYDolNqBF: \"text-fade\", e0kx4kqr7: \"text-left-1\", Hk5KHxC87: \"text-left\", kDDvm8grv: \"text-right-2\", M_PMn5WNk: \"text-fade-1\", r2EhuPnqw: \"text-fade-2\", uig_sB3KR: \"text-right-1\", VVH5xo4jk: \"images-zoom\", wgov7mg1r: \"text-right\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/pEThUNozVGLpczj8n1gQ/Q5d93JOeZd7WmjG1aSOQ/fhN06Cay8.js\")), path: \"/reviews\"}, hQcds9bYQ: {elements: {jCyuJZcGp: \"main-1\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/DkTZ3NGfzr8KB9fjNWP0/v3cQF5tOkNox8XeXxoYR/hQcds9bYQ.js\")), path: \"/ski-journal\"}, rcOjPg9rw: {elements: {KLOt3vLpS: \"main-1\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/DKCuRko2yL5Tbv1zGLBT/wZ9AkQRejMfzUesHCDde/rcOjPg9rw.js\")), path: \"/rentals\"}, S19jNDwyQ: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/d1oAQFW3JCZRI0cN9aap/GWD3AXVgzSbm4AGBHEsL/S19jNDwyQ.js\")), path: \"/ski-journal/新手滑雪準備清單\"}, qJw7eNPdU: {elements: {i6othagsC: \"6\", OGpwy5qKb: \"1\", P98U427DU: \"5\", pcg8tudoI: \"4\", qfvuAQWGp: \"2\", ZuWLZVtQK: \"3\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/q2eVm6LWXgxs4c2OMXH6/WCh8wbnJraflwDDxQl0W/qJw7eNPdU.js\")), path: \"/ski-journal/二世谷交通\"}, z7psgj9Og: {elements: {dCB2y7xlI: \"1\", HZhyLXUH3: \"3\", tbqaILdGH: \"4\", UfldWDIYp: \"2\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/GtJULO4a4FkvC15p4IHC/3iVO05CMweLjUhRi92C7/z7psgj9Og.js\")), path: \"/ski-journal/粉雪秘籍\"}, JHpzZoiA7: {elements: {c4Rr96k0P: \"4\", D6wleg4sB: \"3\", ElEDZCBqI: \"2\", k2tXsZMyl: \"6\", NeOzHjt9i: \"1\", Q1b6sL0x2: \"5\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/EvbXx2VUdpqBQLK4PCfA/9b91gMcpYlm6WaNUWW7n/JHpzZoiA7.js\")), path: \"/ski-journal/二世谷gate\"}, Yy5tBs6pJ: {elements: {a2qpamTbB: \"1\", LSNwPAaxS: \"4\", R_whMELEy: \"3\", woClkUexi: \"2\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/FUhPYZOIg8jCpZW0tQzx/q7107RxXSPk8I1NW66lk/Yy5tBs6pJ.js\")), path: \"/ski-journal/雪服挑選\"}, BQCowtwDs: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/cLMyoZ83ZRV51ogivrc1/iLTPUED1heX8L8l8x4AO/BQCowtwDs.js\")), path: \"/ski-journal/單雙板怎麼選？\"}, Hukdu3mU3: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/Wi6SQmNINIVJ9NPg7Ux3/7iHK1vAvzokfcT5IFoAo/Hukdu3mU3.js\")), path: \"/ski-journal/四大雪場攻略\"}, CxEJPyvyu: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/44Buu0oqGGKdNwDFvlql/H7v4DMUafEtsTOuEi9Yz/CxEJPyvyu.js\")), path: \"/ski-journal/從初學到s-turn\"}, YWyJMM2xr: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/vB7xqTs36rF3iulp56xo/zqygCd8NNuCQy8u4647O/YWyJMM2xr.js\")), path: \"/ski-journal/二世谷除了滑雪還有什麼\"}}\r\n\r\n\t\tconst locales = [{code: \"zh\", id: \"default\", name: \"Chinese\", slug: \"\", textDirection: \"ltr\"}]\r\n\t\tconst collectionUtils = {}\r\n\t\tconst serverDatabaseClient = undefined\r\n\t\tconst framerSiteId = \"b25da992e94115e65c219cd5f4b09d16d03bb8849c39284bd97599db06589401\"\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(\"__framer-not-found-page\")),\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: undefined,\r\n\t\t\t\t\tsiteCanonicalURL: \"https://www.crazyforsnow.com\",\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/QVuHYwHDdeEADDJp01Ux/yAmsSaQ7Qf5fddJr8g5A/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,qZAoBE,SAAS8D,EAA4B,CAAE,UAAS,gBAAe,YAAY,CAU1E,MATA,KAAoC9D,EAAuC,CAC1E,SACA,UACA,gBACA,WACA,UACA,iBACD,CAAC,EAEM+D,CACR,CAGA,eAAsBC,EAAY,CACjC,UACA,gBACA,yBACA,WACA,mBACA,kBACA,wCAAwC,IACtC,CACFP,EAA0B,CAAC,sBAAuB,GAAM,kBAAmB,GAAO,qBAAsB,GAAO,uCAAwC,GAAO,eAAgB,GAAO,kBAAmB,GAAM,+BAAgC,GAAO,WAAY,EAAK,CAAC,EACvQH,EAAwBW,CAAY,EAEpC,IAAMC,EAAa,CAACC,GAAaC,EAAOC,EAAQ,CAAC,kBAAoB,CAAE,GAAGD,CAAO,EAAIA,EACjFF,IAAeE,GAAQxB,EAA+BsB,EAAYG,CAAO,EAE7E,IAAMC,EAAcF,EAAOC,EAAQ,CAAC,KAAK,QAAQ,EAG3CE,EAAQH,EAAOC,GACrB,GAAIG,GAAyCC,IAAqB,IAAA,IAAaF,EAAM,aAAc,CAClG,IAAMG,EAAe,MAAMZ,EAA4B,CAAE,UAAS,gBAAe,UAAS,CAAC,EAC3F,IAAoBY,EAAa,gBACjC,IAA2BA,EAAa,sBACzC,CAGA,IAAMC,EAAU1E,EACfC,EACA,CACC,UAAW,GACX,YAAa,OACb,UACA,gBACA,yBACA,OAAQgE,EACR,kBACA,uBACA,eACA,aAAc/D,MAAkB,OAAO,0CAA0B,EACjE,gBAAiB,IAAA,GACjB,WACA,UACA,oBAAqB,IAAA,GACrB,iBAAkB,+BAClB,UACK2B,IAAW,OAkCX,IAAA,QAlCgC,CACtC,GAAI+C,EACH,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