{"version":3,"file":"script_main.CgtU_AM8.mjs","names":["React.createElement","Destinations","Layout","HeaderFooter","Framer.resolveInitialRouteContentState","Framer.setLibraryFeatures","Framer.setCurrentSiteId","Framer.patchRoutesForABTesting","Framer.PageRoot","Framer.lazy","Framer.useCurrentRoute","Framer.useLocaleInfo","Framer.useRouter","React.Fragment","React.memo","React.useCallback","React.useEffect","React.useRef","React.useState","React.useLayoutEffect","createPortal","Framer.LazyValue","Framer.GracefullyDegradingErrorBoundary","Framer.PageEffectsProvider","Framer.inferInitialRouteFromPath","Framer.yieldToMain","Framer.withPerformanceMarks","Framer.removeHiddenBreakpointLayersV2","React.startTransition","Framer.markHydrationStart","Framer.turnOffReactEventHandling","ReactDOM.hydrateRoot","Framer.loadLibraryCSSRules","ReactDOM.createRoot","Framer.ErrorPlaceholder","Framer.initLazyModulesCache","__esmMin","ne","navigator","ee","init_npm_react_18_3_1","te","x","le","window","Ha","ce","H","init_client","init_npm_react_dom_18_3_1","r","c","_e","de","init_ssg_sandbox_shims","loadLibraryCSSRules","useRouter","inferInitialRouteFromPath","withPerformanceMarks","yieldToMain","init_framer_ChujFWHC","initLazyModulesCache","lazy","LazyValue","useCurrentRoute","removeHiddenBreakpointLayersV2","PageEffectsProvider","markHydrationStart","turnOffReactEventHandling","setCurrentSiteId","resolveInitialRouteContentState","GracefullyDegradingErrorBoundary","patchRoutesForABTesting","ErrorPlaceholder","setLibraryFeatures","useLocaleInfo","PageRoot","init_RJZtaogt0","init_yal_Oe4df","init_NH8yf_4cD","Frameryal_Oe4df","FramerRJZtaogt0","FramerNH8yf_4cD","Template","webPageId","children","style","rest","props1","props2","props","getLayoutTemplateBreakpoints","routeId","getInitialRouteContentState","pathVariables","localeId","initialRouteContentStatePromise","routes","locales","collectionUtils","getPageRoot","canonicalPathVariables","collectionItemId","contentLocaleId","shouldResolveInitialRouteContentState","framerSiteId","pageRoutes","isBrowser","rootPreload","route","contentState","content","serverDatabaseClient","isBot","createEditorBar","contentWithGracefullyDegradingErrorBoundary","effect","page","track","main","shouldHydrate","container","handleError","error","errorInfo","recoverable","componentStack","breakpoints","routeData","\"framerHydrateV2\"","serverRoute","key","value","pagePromise","framerLocale","id","resolvedDateTimeOptions","timezone","locale","resolve","cb","init_main","\"utils\"","packageAndFilename","exportIdentifier"],"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\nimport Destinations from \"https://framerusercontent.com/modules/49HxNGha0dSOga7Bryzt/OIYBuHzLBIqaZxyz1KTm/RJZtaogt0.js\";\r\nimport Layout from \"https://framerusercontent.com/modules/n6YmwbK3E2NCZN5QT7nO/mKMhk02AT1URH10Nligd/yal_Oe4df.js\";\r\nimport HeaderFooter from \"https://framerusercontent.com/modules/v54JvHSiZGJ018dpDGml/yh4KZaLoZqk0Sqlno9H6/NH8yf_4cD.js\";\r\n\r\n\t\tconst routes = {HBweHi3oZ: {elements: {idUqssYEX: \"top\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/nYKAP2I1crmTf1OsErfa/qXUDIDQJQNgiW1sKnpYT/HBweHi3oZ.js\")), path: \"/\"}, T7mNHkv4T: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/Shy0Im4P9pQNiLqnPi83/buw1B0FOzNzLPxfUYf62/T7mNHkv4T.js\")), path: \"/destination\"}, OZinrqx5e: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/kB1dG6s0DnxXkUuuFyAH/uaoNzPS8Vx4FrgIyTZwV/OZinrqx5e.js\")), path: \"/privacy\"}, pSsCr9qqI: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/1zSFpTuDsGiTEzbu2FPI/AztAZ2JTlCwjHuhFTvCl/pSsCr9qqI.js\")), path: \"/terms\"}, wdUnly3wb: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/W6dxW78fwocq9xd7SwFf/xTWQxChoxntLnNIcUBZk/wdUnly3wb.js\")), path: \"/404\"}, DVydeD6VR: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/RBrVP39raTEfTZofu8hE/BJXvP9RuH9ZKvZjZ5QkU/DVydeD6VR.js\")), path: \"/about-us\"}, VFbmtjjAq: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/wFlvqQXKQGGyuhJe0XLP/j4muJQkh5CzHzamGBL9r/VFbmtjjAq.js\")), path: \"/society\"}, ISpAtoJSN: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/UXxSdWLDUwHQ2kszdOGB/ImVn2SQ2hWO3fJ8k0XLr/ISpAtoJSN.js\")), path: \"/contact\"}, Fq22Wi2hj: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/d2LEvYZOSMlie8q5zgMd/ExU6yp8c3fB5g6RKinX9/Fq22Wi2hj.js\")), path: \"/apply\"}, px_my4OL6: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/PrBKLLgZRoTpypm7TmTb/iHa6tmpdduT00rzKuTSQ/px_my4OL6.js\")), path: \"/collection\"}, wTh5EZ1U_: {collectionId: \"AVxIEneby\", elements: {aceXEco7n: \"dining\", BcIL_6lV8: \"overview\", DrWkF0DUK: \"activities\", FN5QGN027: \"rooms\", hb8tNg9YE: \"people\", ICLH2yjss: \"surfing\", oEiNJMpFw: \"end\", sm3sdYmPF: \"navbar\", vCtU88ayy: \"book\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/1XDzxQbmpyE3QJfikzX2/cJ6OFh9npUylGFsHKMUG/wTh5EZ1U_.js\")), path: \"/stays/:RHqf4eLJx\"}, HYAilP7Uj: {collectionId: \"FKYxZC3j2\", elements: {nzRC6jsUW: \"stays\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/WTlYUrjn8Q1UvViCbQ48/UutN6wKghMTCtgcmqCm6/HYAilP7Uj.js\")), path: \"/destination/:T09ELAszM\"}}\r\n\r\n\t\tconst locales = [{code: \"en\", id: \"default\", name: \"English\", slug: \"\", textDirection: \"ltr\"}]\r\n\t\tconst collectionUtils = {AVxIEneby: async () => (await import(\"https://framerusercontent.com/modules/InUTXGoYzXcf57IyjWDt/QcXzG7WyYCFlWX6tgPkg/AVxIEneby.js\"))?.[\"utils\"], FKYxZC3j2: async () => (await import(\"https://framerusercontent.com/modules/BDJsbLNnhJq4oQU29v3D/BLt6mk8bQGui1lAju8Kk/FKYxZC3j2.js\"))?.[\"utils\"]}\r\n\t\tconst serverDatabaseClient = undefined\r\n\t\tconst framerSiteId = \"8bbae4e8714b968038e2da81b8610b1697820cd028be701722639782206aa03f\"\r\n\t\tfunction Template({webPageId, children, style, ...rest}) {const props1 = {L2KJxv3YK: \"H5i3zWb5b\", QOeXCVs4f: \"Yf6tYvLrz\"}\r\nconst props2 = {aywj3Mw8W: \"Contact us\", fArlIqiDX: \"var(--token-5ab0dbd4-f411-4b84-b49b-af7eac28c136, rgb(246, 242, 239))\", Juz0HkPMi: \"var(--token-f305b46e-2e0e-495d-9f75-81793e96f8c6, rgb(205, 216, 212))\", L2KJxv3YK: \"JzbhK7Ncf\", QOeXCVs4f: \"Yf6tYvLrz\", YjbZGpDVA: \"Surf Hideaways runs on community. Pitch a hotel, share a story, or just say hello. We are here.\"}\r\nconst props3 = {...props2, aywj3Mw8W: \"Lost at Sea\", Juz0HkPMi: \"var(--token-af8e458a-0398-46a2-b2d8-173ab7a77579, rgb(239, 223, 207))\", L2KJxv3YK: \"H5i3zWb5b\", YjbZGpDVA: \"\"}\r\nconst templateProps = {iqf4K0QdZ: props1, O0OOAgLYY: props3, vX6CyX4AL: props2}\r\nconst props = templateProps[webPageId] ?? {}\r\nswitch (webPageId) {case \"iqf4K0QdZ\":\r\nreturn React.createElement(Destinations, {...props, key: \"Destinations\", style}, children(true));\r\ncase \"T7mNHkv4T\":\r\ncase \"wdUnly3wb\":\r\ncase \"DVydeD6VR\":\r\ncase \"VFbmtjjAq\":\r\ncase \"Fq22Wi2hj\":\r\ncase \"px_my4OL6\":\r\ncase \"wTh5EZ1U_\":\r\ncase \"vMY0MhTkB\":\r\nreturn React.createElement(Layout, {...props, key: \"Layout\", style}, children(true));\r\ncase \"vX6CyX4AL\":\r\ncase \"O0OOAgLYY\":\r\nreturn React.createElement(HeaderFooter, {...props, key: \"HeaderFooter\", style}, children(true));\r\ndefault: { return children(false) }}}\r\nexport function getLayoutTemplateBreakpoints(routeId) {switch (routeId) {case \"iqf4K0QdZ\":\r\nreturn [{hash: \"6f2ms0\", mediaQuery: \"(max-width: 809.98px)\"}, {hash: \"1whpa2r\", mediaQuery: \"(min-width: 810px) and (max-width: 1199.98px)\"}, {hash: \"1lkvmul\", mediaQuery: \"(min-width: 1200px)\"}]\r\ncase \"T7mNHkv4T\":\r\ncase \"wdUnly3wb\":\r\ncase \"DVydeD6VR\":\r\ncase \"VFbmtjjAq\":\r\ncase \"Fq22Wi2hj\":\r\ncase \"px_my4OL6\":\r\ncase \"wTh5EZ1U_\":\r\ncase \"vMY0MhTkB\":\r\nreturn [{hash: \"xmv9a4\", mediaQuery: \"(min-width: 1200px)\"}, {hash: \"vz8snd\", mediaQuery: \"(min-width: 810px) and (max-width: 1199.98px)\"}, {hash: \"54crhv\", mediaQuery: \"(max-width: 809.98px)\"}]\r\ncase \"vX6CyX4AL\":\r\ncase \"O0OOAgLYY\":\r\nreturn [{hash: \"5spcex\", mediaQuery: \"(max-width: 809.98px)\"}, {hash: \"1x0aa0l\", mediaQuery: \"(min-width: 810px) and (max-width: 1199.98px)\"}, {hash: \"2em5f9\", mediaQuery: \"(min-width: 1200px)\"}]\r\ndefault: { return undefined }}}\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/W6dxW78fwocq9xd7SwFf/xTWQxChoxntLnNIcUBZk/wdUnly3wb.js\")),\r\n\t\t\t\t\tisReducedMotion: true,\r\n\t\t\t\t\tlocaleId,\r\n\t\t\t\t\tlocales,\r\n\t\t\t\t\tpreserveQueryParams: false,\r\n\t\t\t\t\tsiteCanonicalURL: \"https://surfhideaways.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\tLayoutTemplate: Template,\r\n\t\t\t\t\tloadSnippetsModule: new Framer.LazyValue(() => import(\"https://framerusercontent.com/modules/EmNM5uzWQ8oiuwG4Hztl/bjSzeKWOO6Dh4qFVilIe/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\tconst effect = {enter: {mask: {angle: 270, type: \"wipe\", width: \"0%\"}, opacity: 0, rotate: 0, rotate3d: false, rotateX: 0, rotateY: 0, scale: 1, transition: {damping: 30, delay: 0.5, duration: 0.6, ease: [0.73, 0, 0.33, 1], mass: 1, stiffness: 400, type: \"tween\"}, x: \"0px\", y: \"20%\"}, exit: {mask: {angle: 270, type: \"wipe\", width: \"0%\"}, opacity: 0, rotate: 0, rotate3d: false, rotateX: 0, rotateY: 0, scale: 1, transition: {damping: 30, delay: 0, duration: 0.6, ease: [0.73, 0, 0.33, 1], mass: 1, stiffness: 400, type: \"tween\"}, x: \"0px\", y: \"-20%\"}}\r\n\t\t\tconst page = React.createElement(Framer.PageEffectsProvider, {\r\n\t\t\t\tchildren: contentWithGracefullyDegradingErrorBoundary,\r\n\t\t\t\tvalue: {routes: {wTh5EZ1U_: {HBweHi3oZ: effect, iqf4K0QdZ: effect, IWToaiDDv: effect}}}\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,2fAeE,SAASmF,EAAS,CAACC,YAAWC,WAAUC,QAAO,GAAGC,GAAO,CAAC,IAAMC,EAAS,CAAC,UAAW,YAAa,UAAW,WAAW,EACpHC,EAAS,CAAC,UAAW,aAAc,UAAW,wEAAyE,UAAW,wEAAyE,UAAW,YAAa,UAAW,YAAa,UAAW,iGAAiG,EAGvWC,EAAQ,CADS,UAAWF,EAAQ,UAAW,CADrC,GAAGC,EAAQ,UAAW,cAAe,UAAW,wEAAyE,UAAW,YAAa,UAAW,EAClH,EAAG,UAAWA,CAC9C,EAAEL,IAAc,CAAC,EAC3C,OAAQA,EAAR,CAAoB,IAAK,YACzB,OAAOpF,EAAoBC,EAAc,CAAC,GAAGyF,EAAO,IAAK,eAAgBJ,OAAK,EAAGD,EAAS,EAAI,CAAC,EAC/F,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,YACL,IAAK,Y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