{"version":3,"file":"siteMetadata.DAt2R9i3.mjs","names":[],"sources":["https:/framerusercontent.com/modules/xIYf2wSMWOxkVw1MXCQC/E0kU2MugdYdTBGG1dQwr/siteMetadata.js"],"sourcesContent":["// Generated by Framer (fb365c6)\nexport default function metadata(params,activeLocale){return{customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NG49CWT\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadStart:\"<script>\\n  const SEGMENT_ANON_KEY = 'ajs_anonymous_id';\\n  const oneYear = 365 * 24 * 60 * 60 * 1000;\\n  const expires = new Date(Date.now() + oneYear).toUTCString();\\n\\n  // Function to update links with UTM parameters\\n  function updateLinks() {\\n    const urlParams = new URLSearchParams(window.location.search);\\n    const links = document.querySelectorAll('a[href]');\\n    const anonymousId = getAnonymousId();\\n\\n    links.forEach(link => {\\n      const href = new URL(link.getAttribute('href'), window.location.href);\\n      urlParams.forEach((value, key) => {\\n        href.searchParams.append(key, value);\\n      });\\n\\n      // URLSearchParams automatically encodes spaces as +, so need to replace with %20\\n      link.setAttribute('href', href.toString().replace(/\\\\+/g, '%20'));\\n    });\\n  }\\n\\n  function generateUUID() {\\n    // Use crypto.randomUUID() if available (modern browsers)\\n    if (window.crypto && crypto.randomUUID) {\\n      return crypto.randomUUID();\\n    }\\n    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {\\n      const r = Math.random() * 16 | 0;\\n      const v = c === 'x' ? r : (r & 0x3 | 0x8);\\n      return v.toString(16);\\n    });\\n  }\\n\\n  function setSegmentAnonymousId() {\\n    const uuid = generateUUID();\\n\\n    // Set cookie\\n    document.cookie = `${SEGMENT_ANON_KEY}=${uuid}; `\\n    + `expires=${expires}; `\\n    + `domain=.outlier.ai; `\\n    + `path=/; `\\n    + `SameSite=Lax; `\\n    + (location.protocol === 'https:' ? 'Secure;' : '');\\n    // Set localStorage (Segment uses both)\\n    localStorage.setItem(SEGMENT_ANON_KEY, uuid);\\n    return uuid;\\n  }\\n\\n  function getAnonymousId() {\\n    // Check cookie first\\n    const cookie = `; ${document.cookie}`;\\n    const parts = cookie.split(`; ${SEGMENT_ANON_KEY}=`);\\n    if (parts.length === 2) {\\n      return parts.pop().split(';').shift();\\n    }\\n    // Check localStorage next\\n    const localStorageItem = localStorage.getItem(SEGMENT_ANON_KEY);\\n    if (localStorageItem) {\\n      document.cookie = `${SEGMENT_ANON_KEY}=${localStorageItem}; `\\n      + `expires=${expires}; `\\n      + `domain=.outlier.ai; `\\n      + `path=/; `\\n      + `SameSite=Lax; `\\n      + (location.protocol === 'https:' ? 'Secure;' : '');\\n      return localStorageItem;\\n    }\\n    // If none, set a new one\\n    return setSegmentAnonymousId();\\n  }\\n\\n  let lastTrackedUrl = '';\\n  let trackTimeout = null;\\n\\n  function trackPage() {\\n    if (trackTimeout) {\\n      clearTimeout(trackTimeout);\\n    }\\n\\n    trackTimeout = setTimeout(() => {\\n      let currentUrl = window.location.href;\\n      if (currentUrl !== lastTrackedUrl) {\\n        lastTrackedUrl = currentUrl;\\n\\n        const url = new URL(currentUrl);\\n        url.searchParams.append('ajs', getAnonymousId());\\n        currentUrl = url.toString().replace(/\\\\+/g, '%20');\\n\\n        const userAgent = navigator.userAgent;\\n        fetch(`https://app.outlier.ai/internal/experts/track-outlier?url=${encodeURIComponent(currentUrl)}&user_agent=${encodeURIComponent(userAgent)}`, {\\n          method: 'GET',\\n          mode: 'no-cors'\\n        }).catch(() => {});\\n      }\\n    }, 50);\\n  }\\n\\n  let pageUpdateTimeout = null;\\n  function handlePageUpdate() {\\n    // Debounce\\n    if (pageUpdateTimeout) {\\n      clearTimeout(pageUpdateTimeout);\\n    }\\n    pageUpdateTimeout = setTimeout(() => {\\n      updateLinks();\\n      trackPage();\\n    }, 100);\\n  }\\n\\n  handlePageUpdate();\\n\\n  // Initial page load\\n  window.addEventListener('load', handlePageUpdate);\\n\\n  // Handle browser back/forward\\n  window.addEventListener('popstate', handlePageUpdate);\\n  window.addEventListener('pageshow', (event) => {\\n    if (event.persisted) {\\n      handlePageUpdate(); // Handle updates if page came from cache\\n    }\\n  });\\n\\n  // Handle programmatic navigation\\n  const originalPushState = history.pushState;\\n  const originalReplaceState = history.replaceState;\\n\\n  history.pushState = function() {\\n    originalPushState.apply(this, arguments);\\n    handlePageUpdate();\\n  };\\n\\n  history.replaceState = function() {\\n    originalReplaceState.apply(this, arguments);\\n    handlePageUpdate();\\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-NG49CWT');</script>\\n<!-- End Google Tag Manager -->\\n\\n\\n\",description:\"What is Outlier? A platform for building AI with expert human input. Discover Outlier AI, join a community for freelancers, and shape the next generation of AI.\",favicon:\"https://framerusercontent.com/assets/dM8x8m8hYj4oSJficiz9ljlhi0.png\",robots:\"max-image-preview:large\",title:\"Train the Next Generation of AI as a Freelancer | Outlier AI\"};}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,oBAAoB;;4CAAuP,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4gJ,YAAY,mKAAmK,QAAQ,sEAAsE,OAAO,0BAA0B,MAAM,+DAA+D"}