{"version":3,"file":"script_main.Db_eQAE8.mjs","names":["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.ErrorPlaceholder"],"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 = {omYM16oS8: {elements: {AkCko63WC: \"experiences\", cfvCs41lX: \"dining\", L2E045S9q: \"cta\", LR_iibZ6q: \"meeting\", O2pdq3Q2A: \"marble\", RT699b78t: \"hero\", xMca197Qp: \"rooms\"}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/ypdlueBxWEx9JeGDpDVy/HqPhlYQjxKhwpFbgOqa5/omYM16oS8.js\")), path: \"/\"}, AS1uJ8bKg: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/T9G0oVGg1QTA0wGRZZO6/KmnvBBrnrXX2uYm4CczJ/AS1uJ8bKg.js\")), path: \"/rooms-and-suites\"}, FEouKHU31: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/iJfy3rWQu4Gkola7VAnV/zGBE5v6UcYpdZJ6IX8Ks/FEouKHU31.js\")), path: \"/the-palace\"}, Jb6zNZvH0: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/JLBO7HuxTJIwF16Dh9R1/gqAwejIvW0NULMZiXJ2n/Jb6zNZvH0.js\")), path: \"/experiences\"}, RV1spVtlJ: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/jo0h41poLZevf4Thqhw6/Vd7CgcrZ5ZC2tMXfYkZH/RV1spVtlJ.js\")), path: \"/concierge\"}, znNz8ipB4: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/gP4KvGNF9clkiH7CynEa/3bpedbsJQifNr5tvltaq/znNz8ipB4.js\")), path: \"/events-and-meetings\"}, ZnRUttVm1: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/F2Eb9SKq92KbkFNakEEm/NYnFCjSonAcWknwoNcZU/ZnRUttVm1.js\")), path: \"/ballrooms\"}, YJIAF5OxR: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/3nX0vyE2P4IQlbXMjoOj/jtJQaY6LLtglLSm7uoAV/YJIAF5OxR.js\")), path: \"/dining\"}, mik29Bhg0: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/qlpzNPQdB4UJWSl0VwZg/WKN6VvdrgjAuiS1Ip7HH/mik29Bhg0.js\")), path: \"/pools-and-beaches\"}, Qi3lAR62X: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/J6txnnMOIK0qbFRtSDmX/SKYmEzyJHYFgDZNRPlPg/Qi3lAR62X.js\")), path: \"/wellness-spa\"}, WViQ9tY6R: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/dPGOuxfMWmI9vpY1GkN9/v9dYKjjp7pKaxf049noT/WViQ9tY6R.js\")), path: \"/wedding\"}, BemMIqQed: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/UsjfAS3mcVGSnm4UxXxn/LKc90KHphrm3CgZF84nN/BemMIqQed.js\")), path: \"/golf\"}, HXqg0tURk: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/vjStDTWYj3BYxMfjLGgi/dPyDdkWQMhvxWVEKVt25/HXqg0tURk.js\")), path: \"/privacy-policy\"}, lOBUJ13Ri: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/3W6vKbj6jrAcv1w3owS1/StajjXCIhughateHjrtl/lOBUJ13Ri.js\")), path: \"/information-society-services\"}, OUBVEJvJO: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/8m1svPJY4Z0DaFSWfren/mkZsgz2off5qYrL3prgx/OUBVEJvJO.js\")), path: \"/sustainability\"}, pCOaynCOe: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/ocxtZhfXZ4fUKxtCc053/2wnC5RVuQ1nJrgJcn91s/pCOaynCOe.js\")), path: \"/contact\"}, KChXjlUkA: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/9qtlSTLEd1qoo65i2iQv/UvuCSB7EOxeiHxP25gKv/KChXjlUkA.js\")), path: \"/blog\"}, IZhM9280r: {elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/Uljv1wMjV1ehpQTp1L9g/BlcApcAII6K1M5lUD7MZ/IZhM9280r.js\")), path: \"/gallery\"}, hQAGS1rxy: {collectionId: \"ynEHi2t59\", elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/td86pbxH0DZmQwN77D0I/vJpm2AOW5S54g0exDL3C/hQAGS1rxy.js\")), path: \"/blog/:jfA9nGCi8\"}, LmL_Fqptl: {collectionId: \"fMPQ1VamH\", elements: {}, page: Framer.lazy(() => import(\"https://framerusercontent.com/modules/FlVaxgoGS243NVL3mK7b/ElVtMpLIW7yvrsi4p02V/LmL_Fqptl.js\")), path: \"/rooms-and-suites/:YFLxCE4Kt\"}}\r\n\r\n\t\tconst locales = [{code: \"en\", id: \"default\", name: \"English\", slug: \"\", textDirection: \"ltr\"}, {code: \"tr-TR\", id: \"ietpTuq23\", name: \"Turkish (Turkey)\", slug: \"tr\", textDirection: \"ltr\"}, {code: \"de-DE\", id: \"vYbm4Vkm_\", name: \"German (Germany)\", slug: \"de\", textDirection: \"ltr\"}, {code: \"ru-RU\", id: \"tbMHisaxn\", name: \"Russian (Russia)\", slug: \"ru\", textDirection: \"ltr\"}, {code: \"ar-SA\", id: \"L7FJxTQBN\", name: \"Arabic (Saudi Arabia)\", slug: \"ar\", textDirection: \"rtl\"}, {code: \"lt-LT\", id: \"EVYEdqc_b\", name: \"Lithuanian (Lithuania)\", slug: \"lt\", textDirection: \"ltr\"}, {code: \"lv-LV\", id: \"Ou0yxVWuK\", name: \"Latvian (Latvia)\", slug: \"lv\", textDirection: \"ltr\"}, {code: \"pl-PL\", id: \"QGZUFE1Gt\", name: \"Polish (Poland)\", slug: \"pl\", textDirection: \"ltr\"}, {code: \"et-EE\", id: \"nOnzDLyOL\", name: \"Estonian (Estonia)\", slug: \"et\", textDirection: \"ltr\"}, {code: \"es-ES\", id: \"Cbm7Ztdsb\", name: \"Spanish (Spain)\", slug: \"es\", textDirection: \"ltr\"}, {code: \"vi-VN\", id: \"b8VXXfBJl\", name: \"Vietnamese (Vietnam)\", slug: \"vi\", textDirection: \"ltr\"}, {code: \"ko-KR\", id: \"xRBhklMwa\", name: \"Korean (South Korea)\", slug: \"ko\", textDirection: \"ltr\"}, {code: \"ja-JP\", id: \"wpwpX33yg\", name: \"Japanese (Japan)\", slug: \"ja\", textDirection: \"ltr\"}, {code: \"zh-CN\", id: \"Og0rPDEs4\", name: \"Chinese (China)\", slug: \"zh-cn\", textDirection: \"ltr\"}, {code: \"hi-IN\", id: \"ZlPLuoPEs\", name: \"Hindi (India)\", slug: \"hi\", textDirection: \"ltr\"}, {code: \"sv-SE\", id: \"NJLfPVkOZ\", name: \"Swedish (Sweden)\", slug: \"sv\", textDirection: \"ltr\"}, {code: \"fi-FI\", id: \"dloUkN4S0\", name: \"Finnish (Finland)\", slug: \"fi\", textDirection: \"ltr\"}, {code: \"no-NO\", id: \"n9fvTuL0b\", name: \"Norwegian (Norway)\", slug: \"no-no\", textDirection: \"ltr\"}, {code: \"nl-NL\", id: \"QJf4YoesG\", name: \"Dutch (Netherlands)\", slug: \"nl\", textDirection: \"ltr\"}, {code: \"fr-FR\", id: \"RgtLUE18x\", name: \"French (France)\", slug: \"fr\", textDirection: \"ltr\"}]\r\n\t\tconst collectionUtils = {CHpgTaY5C: async () => (await import(\"https://framerusercontent.com/modules/M9Ml63xSKj6ZdGkcRqJL/5wbfDsTbZUhkMsjpbqY1/CHpgTaY5C.js\"))?.[\"utils\"], dxIF0uZAf: async () => (await import(\"https://framerusercontent.com/modules/NmlhpsVoNRSqHaqjUkkE/OqFnl3rVC1mmP8t1MG43/dxIF0uZAf.js\"))?.[\"utils\"], EI9FH0Yxt: async () => (await import(\"https://framerusercontent.com/modules/rG4nJiHqIKOcFpznfTVy/mXC2Bd8BuEYwzN8zqViV/EI9FH0Yxt.js\"))?.[\"utils\"], fMPQ1VamH: async () => (await import(\"https://framerusercontent.com/modules/Hz9J6vxmnH0gfMNyp4lh/hWdbIc22wY898dKOnOTb/fMPQ1VamH.js\"))?.[\"utils\"], lvG_o49ym: async () => (await import(\"https://framerusercontent.com/modules/loZztqaBfuq3ybmJAYH9/Gxym5SDKmSVwAjbJuzSm/lvG_o49ym.js\"))?.[\"utils\"], qgOAi5sfB: async () => (await import(\"https://framerusercontent.com/modules/R9Mm0oh80tmtUPPjA1Ub/eoHljIBWJrHwS0zxgHut/qgOAi5sfB.js\"))?.[\"utils\"], R8boXNgJ1: async () => (await import(\"https://framerusercontent.com/modules/UH1MSimtuFEV0kO1s0ys/hLIidsD5UXb25WJY8Z9N/R8boXNgJ1.js\"))?.[\"utils\"], ynEHi2t59: async () => (await import(\"https://framerusercontent.com/modules/miX1Y1MGFOfcyM7IhzFT/iJig3miLDzV2JWeExFW4/ynEHi2t59.js\"))?.[\"utils\"]}\r\n\t\tconst serverDatabaseClient = undefined\r\n\t\tconst framerSiteId = \"b7c4453384cf53f48b5a16533202d30b32ac3dfe1490da63569fd95e7243ef99\"\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\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\tconst rootPreload = routes[routeId].page.preload()\r\n\r\n\t\t\t\r\n\r\n\t\t\tFramer.setLibraryFeatures({checkServerSideRouter: true, disableCustomCode: false, disableHoverOnMobile: false, editorBarDisableFrameAncestorsSecurity: false, motionDivToDiv: false, onPageLocalizationSupport: true, onPageMoveTool: true, onPageRichTextBlockSelection: true, scrollRestoration: true, synchronousNavigationOnDesktop: false, yieldOnTap: false})\r\n\t\t\tFramer.setCurrentSiteId(framerSiteId)\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,\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.mardanpalace.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: true,\r\n\t\t\t\t\t\r\n\t\t\t\t\tloadSnippetsModule: new Framer.LazyValue(() => import(\"https://framerusercontent.com/modules/WRdcQF4yctw6UjjajXCX/sJfoR05VuRX5KyjKXFNW/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: {global: {enter: {mask: {angle: 90, type: \"wipe\", width: \"100%\"}, opacity: 1, rotate: 0, rotate3d: false, rotateX: 0, rotateY: 0, scale: 1, transition: {damping: 30, delay: 0, duration: 0.8, ease: [0.27, 0, 0.51, 1], mass: 1, stiffness: 400, type: \"tween\"}, x: \"0px\", y: \"0px\"}}, 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\tFramer.patchRoutesForABTesting(routes, undefined) // This must happen before inferInitialRouteFromPath\r\n\r\n\t\t\t\t\t\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 = routeData?.collectionItemId ?? null\r\n\t\tif (collectionItemId === null && route?.collectionId && collectionUtils) {\r\n\t\t\tconst utils = await collectionUtils[route.collectionId]?.()\r\n\t\t\tconst [slug] = Object.values(pathVariables)\r\n\t\t\tif (utils && typeof slug === \"string\") {\r\n\t\t\t\tcollectionItemId = (await utils.getRecordIdBySlug(slug, framerLocale || undefined)) ?? null\r\n\t\t\t}\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\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":"wYAoBE,eAAsB,EAAY,CACjC,UACA,gBACA,yBACA,WACA,mBACA,kBACA,wCAAwC,IACtC,CACF,IAAM,EAAc,EAAO,EAAQ,CAAC,KAAK,QAAQ,EAIjD,EAA0B,CAAC,sBAAuB,GAAM,kBAAmB,GAAO,qBAAsB,GAAO,uCAAwC,GAAO,eAAgB,GAAO,0BAA2B,GAAM,eAAgB,GAAM,6BAA8B,GAAM,kBAAmB,GAAM,+BAAgC,GAAO,WAAY,EAAK,CAAC,EAClW,EAAwB,CAAY,EAsEpC,IAAM,EAAOA,EAAoBe,EAA4B,CAC5D,SANmDf,EAAoBc,EAA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