{"version":3,"file":"shared-lib.CfWb0TPo.mjs","names":[],"sources":["https:/framerusercontent.com/modules/dsbEUhEUTmilgbk19qca/0H3QWYiEMreO6zMX3Ppg/siteMetadata.js"],"sourcesContent":["// Generated by Framer (69f3b1e)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:'<!-- Ecwid Cart Widget (Static, Transparent, Smaller Icon) -->\\n\\n\\n<div id=\"cart-container\">\\n  <div class=\"ec-cart-widget\"></div>\\n</div>\\n\\n<script data-cfasync=\"false\" type=\"text/javascript\" src=\"https://app.ecwid.com/script.js?113691023&amp;data_platform=code&amp;data_date=2025-04-29\" charset=\"utf-8\"></script>\\n<script>\\n  Ecwid.init();\\n</script>\\n\\n<style>\\n  #cart-container {\\n    position: fixed;\\n    top: 9px;\\n    right: 18px;\\n    width: 40px; /* Smaller container */\\n    height: 40px;\\n    background: transparent;\\n    box-shadow: none;\\n    border: none;\\n    z-index: 700;\\n    cursor: pointer;\\n    display: flex;\\n    align-items: center;\\n    justify-content: center;\\n    pointer-events: auto;\\n  }\\n\\n  /* Target Ecwid cart inside and force it smaller */\\n  .ec-cart-widget {\\n    transform: scale(0.8); /* shrink the icon to 70% */\\n    transform-origin: center center;\\n  }\\n</style>\\n\\n<script>\\n  window.intercomSettings = {\\n    api_base: \"https://api-iam.intercom.io\",\\n    app_id: \"cveab6zo\",\\n  };\\n</script>\\n\\n\\n<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-NZRD65QQ\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-T3KQ6D52\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadEnd:\"<!-- Meta Pixel (PID routing; stores chosen pixel; PageView only) -->\\n<script>\\n  // Version tag for debugging cache\\n  const PIXEL_ROUTER_VERSION = 'v2.1';\\n\\n  !function(f,b,e,v,n,t,s){\\n    if(f.fbq) return;\\n    n=f.fbq=function(){ n.callMethod ? n.callMethod.apply(n,arguments) : n.queue.push(arguments) };\\n    if(!f._fbq) f._fbq=n;\\n    n.push=n; n.loaded=!0; n.version='2.0';\\n    n.queue=[];\\n    t=b.createElement(e); t.async=!0; t.src=v;\\n    s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s);\\n  }(window,document,'script','https://connect.facebook.net/en_US/fbevents.js');\\n\\n  // 1) Pixel registry (include the new rental pixel)\\n  const PIXELS = {\\n    directpep:  '1158920605992378',  // MAIN default\\n    rental1:    '1337439107837447',  // NEW rental pixel for renxacc1\\n    rishab:     '1710866772840406',\\n    additional: '2072509886575406',\\n    newpixel:   '1438372367150168'\\n  };\\n\\n  // 2) Rental PID → Pixel map\\n  const RENTAL_PID_MAP = {\\n    renxacc1: PIXELS.rental1\\n  };\\n\\n  // 3) Initialize ALL pixels (register only; no events yet)\\n  [...new Set(Object.values(PIXELS))].forEach(id => {\\n    fbq('init', id);\\n    console.log(`🔹 [${PIXEL_ROUTER_VERSION}] Initialized Pixel ID 2: ${id}`);\\n  });\\n\\n  // 4) Extract PID (query has priority; normalized)\\n  function getPid() {\\n    try {\\n      const u = new URL(window.location.href);\\n      const q = u.searchParams.get('pid');\\n      if (q) return { source: 'query', value: decodeURIComponent(String(q)).trim().toLowerCase() };\\n    } catch {}\\n    const parts = (window.location.pathname || '').split('/').filter(Boolean);\\n    const last = (parts[parts.length - 1] || '');\\n    return { source: 'path', value: decodeURIComponent(String(last)).trim().toLowerCase() || null };\\n  }\\n\\n  const { source, value: rawPid } = getPid();\\n  const pid = rawPid || null;\\n  console.log(`📡 [${PIXEL_ROUTER_VERSION}] PID source: ${source}; PID value: ${pid ?? 'none'}`);\\n\\n  // 5) Decide which ONE pixel to fire\\n  const mainPixelId = PIXELS.directpep;\\n  let chosenPixelId = mainPixelId;\\n  let reason = 'no-identifier-default';\\n\\n  if (pid && Object.prototype.hasOwnProperty.call(RENTAL_PID_MAP, pid)) {\\n    chosenPixelId = RENTAL_PID_MAP[pid];\\n    reason = 'rental-match';\\n  } else if (pid) {\\n    reason = 'unmapped-identifier-fallback-to-main';\\n  }\\n\\n  // 6) Refresh storage with the chosen pixel (fresh each run)\\n  (function storeChosen(id) {\\n    try {\\n      // clear previous and store fresh in localStorage\\n      localStorage.removeItem('chosen_pixel_id');\\n      localStorage.setItem('chosen_pixel_id', id);\\n      console.log(`💾 [${PIXEL_ROUTER_VERSION}] stored chosen_pixel_id=${id} | reason=${reason}`);\\n    } catch (e) {\\n      // fallback to sessionStorage if localStorage unavailable\\n      try {\\n        sessionStorage.removeItem('chosen_pixel_id');\\n        sessionStorage.setItem('chosen_pixel_id', id);\\n        console.warn('💾 Using sessionStorage fallback for chosen_pixel_id=', id);\\n      } catch (e2) {\\n        console.error('❌ Unable to persist chosen_pixel_id in storage.', e2);\\n      }\\n    }\\n  })(chosenPixelId);\\n\\n  // 7) Fire PageView to exactly one pixel\\n  const eventId = `pv-${chosenPixelId}-${Date.now()}`;\\n  fbq('trackSingle', chosenPixelId, 'PageView', {}, { eventID: eventId });\\n  console.log(`🔥 [${PIXEL_ROUTER_VERSION}] PageView → Pixel ${chosenPixelId} (eventID=${eventId})`);\\n</script>\\n\\n<!-- Noscript fallback: cannot route without JS; credit main brand (Direct Pep) -->\\n<noscript>\\n  </noscript>\",customHTMLHeadStart:\"<script src=\\\"https://code.jquery.com/jquery-3.6.0.min.js\\\"></script>\\n<script>\\n  function captureUTMSource() {\\n    const params = new URLSearchParams(window.location.search);\\n    const source = params.get('utm_source');\\n    if (source) {\\n      localStorage.setItem('utm_source', source);\\n    }\\n  }\\n\\n  window.addEventListener('DOMContentLoaded', captureUTMSource);\\n</script>\\n\\n\\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-T3KQ6D52');</script>\\n<!-- End Google Tag Manager -->\",description:\"Direct Peptides offers a wide range of research-grade peptides optimal for vitro studies. Order lab-verified peptides, shipped in the USA.\",favicon:\"https://framerusercontent.com/assets/g1m21iDWdRqYBd14QnIIfyyz8.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/h7ancXrnReqPyNm0wUo1ySiLpo.png\",title:\"Direct Peptides | Buy Research Peptides Online\"};}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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAgxC,oBAAoB;;4CAAwP,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eAAo+G,oBAAoB;;;;;;;;;;;;;;;;;;;;;iCAAozB,YAAY,6IAA6I,QAAQ,qEAAqE,OAAO,0BAA0B,YAAY,sEAAsE,MAAM,iDAAiD"}