{"version":3,"file":"shared-lib.BwmRWiQG.mjs","names":[],"sources":["https:/framerusercontent.com/modules/tFeQjw3fGkg9EuSM7g3b/r40ChI4AdJZe8sor7oEh/siteMetadata.js"],"sourcesContent":["// Generated by Framer (5940525)\nexport default function metadata(params,activeLocale){return{customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-5GX3MGBZ\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadEnd:'<script src=\"https://cdn.jsdelivr.net/npm/@statsig/js-client@3/build/statsig-js-client+session-replay+web-analytics.min.js\"></script>\\n\\n<script src=\"https://cdn.jsdelivr.net/npm/statsig-sidecar/dist/index.min.js\"></script>\\n\\n<!-- cross domain id script -->\\n<!-- Before you decide to make any changes to the script below, consult engineering. Any changes can break our ad and business tracking -->\\n<script>\\n(function () {\\n  const LOCAL_STORAGE_KEY = \"STATSIG_LOCAL_STORAGE_STABLE_ID\";\\n\\n  // Generate a UUID (v4 style) with fallback if crypto.randomUUID is unavailable\\n  function generateUUID() {\\n    if (crypto && crypto.randomUUID) {\\n      return crypto.randomUUID();\\n    }\\n\\n    const randomHex = () =>\\n      Math.floor(Math.random() * 0x10000)\\n        .toString(16)\\n        .padStart(4, \"0\");\\n\\n    // Pattern: xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx\\n    return `${randomHex()}${randomHex()}-${randomHex()}-4${randomHex().substring(1)}-${randomHex()}-${randomHex()}${randomHex()}${randomHex()}`;\\n  }\\n\\n  // Helper to write cookie for 12 months — stored as %22<value>%22\\n  function setCookie(id) {\\n    const expires = new Date();\\n    expires.setMonth(expires.getMonth() + 12);\\n\\n    // Drop subdomain if present (e.g., www.example.com → .example.com)\\n    const parts = window.location.host.split(\".\");\\n    if (parts.length > 2) parts.shift();\\n    const domain = `.${parts.join(\".\")}`;\\n\\n    // Encode with %22 wrapping\\n    const encoded = `%22${id}%22`;\\n    const cookieString = `newdays-statsiguuid=${encoded};Expires=${expires.toUTCString()};Domain=${domain};Path=/`;\\n    document.cookie = cookieString;\\n\\n    console.log(\"[Statsig UUID Sync] 🍪 Cookie set:\", cookieString);\\n  }\\n\\n  let cookieId = null;\\n  const localStorageId = localStorage.getItem(LOCAL_STORAGE_KEY) || null;\\n\\n  // Extract cookie value\\n  const cookieMatch = document.cookie.match(/newdays-statsiguuid=([^;]+)/);\\n  if (cookieMatch) {\\n    [, cookieId] = cookieMatch;\\n\\n    const original = cookieId;\\n\\n    // Decode and clean\\n    cookieId = decodeURIComponent(cookieId); // converts %22 → \"\\n    cookieId = cookieId.replace(/^\"+|\"+$/g, \"\"); // strip literal quotes if any\\n\\n    if (cookieId !== original) {\\n      console.log(\"[Statsig UUID Sync] ✨ Stripped quotes from cookie value. Rewriting as %22<value>%22 format.\");\\n      setCookie(cookieId); // re-encode properly with %22 wrapping\\n    }\\n\\n    console.log(\"Extracted cookie value:\", cookieId);\\n  }\\n\\n  console.log(\"[Statsig UUID Sync] Cookie ID:\", cookieId);\\n  console.log(\"[Statsig UUID Sync] LocalStorage ID:\", localStorageId);\\n\\n  // Case 1: Both exist and match\\n  if (cookieId && localStorageId && cookieId === localStorageId) {\\n    console.log(\"[Statsig UUID Sync] ✅ Cookie and LocalStorage match. No action needed.\");\\n  }\\n\\n  // Case 2: Both exist but differ\\n  else if (cookieId && localStorageId && cookieId !== localStorageId) {\\n    console.log(\"[Statsig UUID Sync] ⚠️ Mismatch detected. Updating LocalStorage with cookie value.\");\\n    localStorage.setItem(LOCAL_STORAGE_KEY, cookieId);\\n  }\\n\\n  // Case 3: Cookie exists but LocalStorage is missing\\n  else if (cookieId && !localStorageId) {\\n    console.log(\"[Statsig UUID Sync] 🧩 Cookie found but no LocalStorage entry. Copying cookie to LocalStorage.\");\\n    localStorage.setItem(LOCAL_STORAGE_KEY, cookieId);\\n  }\\n\\n  // Case 4: No cookie found — generate a new one\\n  else {\\n    const newId = generateUUID();\\n    console.log(\"[Statsig UUID Sync] 🆕 No cookie found. Generating new UUID:\", newId);\\n    localStorage.setItem(LOCAL_STORAGE_KEY, newId);\\n    setCookie(newId);\\n  }\\n})();\\n</script>\\n\\n<!-- Manually attach stableID to user object -->\\n<script>\\n(async () => {\\n  // Destructure Statsig exports from the global window\\n  const { StatsigClient, runStatsigAutoCapture, runStatsigSessionReplay, LogLevel } = window.Statsig;\\n\\n  // Prepare user object\\n  const userObj = {};\\n  const stableID = localStorage.getItem(\\'STATSIG_LOCAL_STORAGE_STABLE_ID\\');\\n  if (stableID) {\\n    userObj.customIDs = { stableID };\\n  }\\n\\n  // Create client\\n  const statsigClient = new StatsigClient(\\n    \\'client-1pQWc8MGDgARualYBAbQEx7KaJ7T0HbtapW0glJV4b5\\',\\n    userObj,\\n    { /**/ }\\n  );\\n\\n  // Enable session replay and auto-capture\\n  runStatsigSessionReplay(statsigClient);\\n  runStatsigAutoCapture(statsigClient);\\n\\n  // Initialize\\n  await statsigClient.initializeAsync();\\n\\n  console.log(\\'Statsig initialized\\', statsigClient);\\n})();\\n</script>',customHTMLHeadStart:\"<!-- Google Tag Manager -->\\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\\n})(window,document,'script','dataLayer','GTM-5GX3MGBZ');</script>\\n<!-- End Google Tag Manager -->\\n\",description:\"NewDays Cognitive Health\",favicon:\"https://framerusercontent.com/assets/7rVufso8FcwhxfLeMV1AQpXJDGw.png\",robots:\"max-image-preview:large\",title:\"NewDays\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"oDACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,oBAAoB;;4CAAwP,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA45I,oBAAoB;;;;;;;EAA8a,YAAY,2BAA2B,QAAQ,uEAAuE,OAAO,0BAA0B,MAAM,UAAU"}