{"version":3,"file":"shared-lib.Ro_DECvo.mjs","names":[],"sources":["https:/framerusercontent.com/modules/vqMTdK6G0dXdyfUYtRsq/jRs3Rv0KEo9pex4v9LLT/siteMetadata.js"],"sourcesContent":["// Generated by Framer (6e662ac)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:\"<script>\\n  function trackPageView() {\\n    posthog.capture('page_view', {\\n      url: window.location.href,\\n      title: document.title,\\n      referrer: document.referrer\\n    });\\n  }\\n\\n  window.addEventListener('load', trackPageView);\\n  window.addEventListener('popstate', trackPageView);\\n  window.addEventListener('pushState', trackPageView);\\n\\n  let lastUrl = location.href;\\n  new MutationObserver(() => {\\n    const url = location.href;\\n    if (url !== lastUrl) {\\n      lastUrl = url;\\n      posthog.capture('page_view', {\\n        url: window.location.href,\\n        title: document.title,\\n        referrer: document.referrer\\n      });\\n    }\\n  }).observe(document, { subtree: true, childList: true });\\n</script>\\n\\n<script>\\n  (function () {\\n    const allowedDomain = \\\"web.joinrelay.app\\\";\\n    const trackedParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'promo_code'];\\n    const STORAGE_KEY = 'relayParams';\\n    const EXPIRY_DAYS = 7;\\n\\n    function getStoredParams() {\\n      const stored = localStorage.getItem(STORAGE_KEY);\\n      if (!stored) return {};\\n\\n      try {\\n        const data = JSON.parse(stored);\\n        const now = Date.now();\\n\\n        if (now - data.timestamp > EXPIRY_DAYS * 24 * 60 * 60 * 1000) {\\n          localStorage.removeItem(STORAGE_KEY);\\n          return {};\\n        }\\n\\n        return data.params || {};\\n      } catch {\\n        return {};\\n      }\\n    }\\n\\n    function setStoredParams(params) {\\n      const timestamp = Date.now();\\n      localStorage.setItem(STORAGE_KEY, JSON.stringify({ timestamp, params }));\\n    }\\n\\n    function extractParamsFromUrl() {\\n      const urlParams = new URLSearchParams(window.location.search);\\n      const incomingParams = {};\\n\\n      trackedParams.forEach(param => {\\n        if (urlParams.has(param)) {\\n          incomingParams[param] = urlParams.get(param);\\n        }\\n      });\\n\\n      return incomingParams;\\n    }\\n\\n    // On load: store new params if present\\n    const urlParams = extractParamsFromUrl();\\n    if (Object.keys(urlParams).length > 0) {\\n      setStoredParams({ ...getStoredParams(), ...urlParams });\\n    }\\n\\n    // Rewrite links on DOMContentLoaded\\n    document.addEventListener(\\\"DOMContentLoaded\\\", function () {\\n      const storedParams = getStoredParams();\\n      if (Object.keys(storedParams).length === 0) return;\\n\\n      const links = document.querySelectorAll(\\\"a\\\");\\n\\n      links.forEach(link => {\\n        try {\\n          const href = link.getAttribute(\\\"href\\\");\\n          if (!href || href.startsWith(\\\"/\\\") || href.includes(window.location.hostname)) return;\\n\\n          const linkUrl = new URL(href);\\n\\n          if (linkUrl.hostname.includes(allowedDomain)) {\\n            trackedParams.forEach(param => {\\n              if (storedParams[param]) {\\n                linkUrl.searchParams.set(param, storedParams[param]);\\n              }\\n            });\\n            link.href = linkUrl.toString();\\n          }\\n        } catch (e) {\\n          // Silently fail\\n        }\\n      });\\n    });\\n  })();\\n</script>\",customHTMLHeadEnd:'<!-- Google Search Indexing: Website Structured Data -->\\n<script type=\"application/ld+json\" async=\"\">\\n    {\\n      \"@context\" : \"https://schema.org\",\\n      \"@type\" : \"WebSite\",\\n      \"name\" : \"Relay Health\",\\n      \"url\" : \"https://www.joinrelay.app/\"\\n    }\\n  </script>\\n<script>\\n    !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(\".\");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement(\"script\")).type=\"text/javascript\",p.crossOrigin=\"anonymous\",p.async=!0,p.src=s.api_host.replace(\".i.posthog.com\",\"-assets.i.posthog.com\")+\"/static/array.js\",(r=t.getElementsByTagName(\"script\")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a=\"posthog\",u.people=u.people||[],u.toString=function(t){var e=\"posthog\";return\"posthog\"!==a&&(e+=\".\"+a),t||(e+=\" (stub)\"),e},u.people.toString=function(){return u.toString(1)+\".people (stub)\"},o=\"init capture register register_once register_for_session unregister unregister_for_session getFeatureFlag getFeatureFlagPayload isFeatureEnabled reloadFeatureFlags updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures on onFeatureFlags onSessionId getSurveys getActiveMatchingSurveys renderSurvey canRenderSurvey identify setPersonProperties group resetGroups setPersonPropertiesForFlags resetPersonPropertiesForFlags setGroupPropertiesForFlags resetGroupPropertiesForFlags reset get_distinct_id getGroups get_session_id get_session_replay_url alias set_config startSessionRecording stopSessionRecording sessionRecordingStarted captureException loadToolbar get_property getSessionProperty createPersonProfile opt_in_capturing opt_out_capturing has_opted_in_capturing has_opted_out_capturing clear_opt_in_out_capturing debug getPageViewId captureTraceFeedback captureTraceMetric\".split(\" \"),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);\\n    posthog.init(\\'phc_KyLHMfD2jXypnBI3Hbrul1PORgpODKzKgpDlTBEEsHH\\', {\\n        api_host: \\'https://us.i.posthog.com\\',\\n        person_profiles: \\'identified_only\\', // or \\'always\\' to create profiles for anonymous users as well\\n    })\\n</script>\\n\\n<!-- 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-PHQQG2Z\\');</script>\\n<!-- End Google Tag Manager -->',description:\"Join Relay today - the #1 group-based program to overcome compulsive sexual behavior.\",favicon:\"https://framerusercontent.com/assets/XHVpeH22EEqJNms4vYSdeGiMnc4.png\",robots:\"max-image-preview:large\",title:\"Relay\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACA,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAAsiG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;iCAAsnF,YAAY,wFAAwF,QAAQ,uEAAuE,OAAO,0BAA0B,MAAM,QAAQ"}