{"version":3,"file":"shared-lib.B85jUtHO.mjs","names":[],"sources":["https:/framerusercontent.com/modules/1wrKSi7nynU3UxtyaUFo/go6D4MFOmsivKI0CtWGu/siteMetadata.js"],"sourcesContent":["// Generated by Framer (c2a8602)\nexport default function metadata(params,activeLocale){return{customHTMLHeadEnd:\"<script>\\n// Desired content for the viewport meta tag\\nconst desiredContent = 'width=device-width, initial-scale=1, viewport-fit=cover';\\n\\n// Function to update the meta viewport tag\\nfunction updateViewportMeta() {\\n  let metaViewport = document.querySelector(\\\"meta[name='viewport']\\\");\\n  if (metaViewport) {\\n    // Update the content attribute\\n    metaViewport.content = desiredContent;\\n  } else {\\n    // If no meta viewport tag exists, create one\\n    metaViewport = document.createElement('meta');\\n    metaViewport.name = 'viewport';\\n    metaViewport.content = desiredContent;\\n    document.head.appendChild(metaViewport);\\n  }\\n  return metaViewport;\\n}\\n\\n// Update the meta viewport tag\\nlet metaViewport = updateViewportMeta();\\n\\n// Function to handle mutations\\nfunction handleMutations(mutationsList) {\\n  for (const mutation of mutationsList) {\\n    if (mutation.type === 'attributes' && mutation.attributeName === 'content') {\\n      // If the content attribute was changed, reset it\\n      if (metaViewport.content !== desiredContent) {\\n        metaViewport.content = desiredContent;\\n      }\\n    } else if (mutation.type === 'childList') {\\n      // If the meta viewport tag was removed, re-add it\\n      if (!document.head.contains(metaViewport)) {\\n        metaViewport = updateViewportMeta();\\n        observer.observe(metaViewport, observerConfig);\\n      }\\n    }\\n  }\\n}\\n\\n// Configuration for the observer\\nconst observerConfig = {\\n  attributes: true,\\n  childList: true,\\n  subtree: false,\\n  attributeFilter: ['content'],\\n};\\n\\n// Create an observer instance linked to the callback function\\nconst observer = new MutationObserver(handleMutations);\\n\\n// Start observing the meta viewport tag for configured mutations\\nobserver.observe(metaViewport, observerConfig);\\n\\n</script>\",customHTMLHeadStart:\"<script src=\\\"https://cdn.jsdelivr.net/npm/@statsig/js-client@3/build/statsig-js-client+session-replay+web-analytics.min.js\\\"></script>\\n\\n<!-- Initialize the Statsig client to capture user analytics -->\\n<script>\\n  if (typeof window !== \\\"undefined\\\") {\\n    // Get user ID from URL or window context\\n    const urlParams = new URLSearchParams(window.location.search);\\n    const userIdFromUrl = urlParams.get('user_id');\\n    const userAccountFromWindow = window.portalInitialContext?.value.account;\\n\\n    // Determine user properties\\n    const userProperties = userIdFromUrl ? \\n      { userID: userIdFromUrl, email: userIdFromUrl } : \\n      userAccountFromWindow ? \\n      { userID: userAccountFromWindow.id, email: userAccountFromWindow.email } : \\n      {};\\n\\n    // Determine the environment tier based on the current URL\\n    let environmentTier = 'staging'; // Default to staging\\n\\n    const currentUrl = window.location.href;\\n\\n    // Set to production only for the specific production URL\\n    if (currentUrl.includes(\\\"owlet.felt.care\\\") || currentUrl.includes(\\\"production\\\")) {\\n        environmentTier = 'production';\\n    }\\n    console.log('Environment Tier Selected:', environmentTier);\\n\\n    // Initialize the Statsig client with the determined environment tier\\n    const client = new window.Statsig.StatsigClient(\\n        'client-GOOXQ80DLprJBoCoaMLHtco5dNGtnuDBi5RtpNZ5LBI', // Owlet-specific API key\\n        userProperties,\\n        { environment: { tier: environmentTier } }\\n    );\\n\\n    // Continue with Statsig initialization and usage\\n    client.initializeAsync()\\n        .then(() => {\\n            window.statsigClient = client;\\n            document.dispatchEvent(new Event('statsigReady'));\\n        })\\n        .catch((err) => console.error('Error during Statsig initialization:', err));\\n\\n    // Run automatic analytics capture and session replay\\n    window.Statsig.runStatsigAutoCapture(client);\\n    window.Statsig.runStatsigSessionReplay(client);\\n\\n  } else {\\n    console.warn(\\\"Statsig code skipped during server-side rendering.\\\");\\n  }\\n</script>\\n\",description:\"Pediatricians 24/7 in under an hour\",favicon:\"https://framerusercontent.com/assets/QjGbX4L75VyiqcV7IQnRHu4lBs.png\",robots:\"max-image-preview:large\",title:\"Owlet OnCall\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA4xD,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA2jE,YAAY,sCAAsC,QAAQ,sEAAsE,OAAO,0BAA0B,MAAM,eAAe"}