{"version":3,"file":"shared-lib.CCB5BAGL.mjs","names":[],"sources":["https:/framerusercontent.com/modules/bYjCJEtOLFLqZjKp5XP8/NNCNtfBJT0T6FN87tZmK/siteMetadata.js"],"sourcesContent":["// Generated by Framer (aabb2d2)\nexport default function metadata(params,activeLocale){return{customHTMLBodyEnd:\"<script>\\n(function() {\\n  const p = new URLSearchParams(location.search);\\n  const raw = (p.get('afid') || p.get('AFID') || p.get('umtaff') || p.get('aff') || '').trim();\\n\\n  // cookie fallback (Safari / private window)\\n  const CNAME = 'lv_afid';\\n  const setCookie = (v, days=90) => {\\n    const d = new Date(); d.setTime(d.getTime()+days*864e5);\\n    document.cookie = CNAME + \\\"=\\\" + encodeURIComponent(v) + \\\"; expires=\\\" + d.toUTCString() + \\\"; path=/; SameSite=Lax\\\";\\n  };\\n  const getCookie = () => (document.cookie.match(new RegExp('(?:^|; )'+CNAME+'=([^;]*)'))||[])[1] && decodeURIComponent(RegExp.$1);\\n\\n  if (raw) { localStorage.setItem('lv_afid', raw); setCookie(raw); }\\n  const getAfid = () => localStorage.getItem('lv_afid') || getCookie();\\n\\n  const isKiwify = (url) => {\\n    try {\\n      const u = new URL(url, location.origin);\\n      return /(?:^|\\\\.)pay\\\\.kiwify\\\\.com(?:\\\\.br)?$/.test(u.hostname) || /(?:^|\\\\.)kiwify\\\\.app$/.test(u.hostname);\\n    } catch { return false; }\\n  };\\n\\n  const withAfid = (url, afid) => {\\n    if (!afid) return url;\\n    try {\\n      const u = new URL(url, location.origin);\\n      if (!u.searchParams.get('afid')) u.searchParams.set('afid', afid);\\n      return u.toString();\\n    } catch { return url; }\\n  };\\n\\n  const rewriteAnchors = () => {\\n    const a = getAfid(); if (!a) return;\\n    document.querySelectorAll('a[href]').forEach(el => {\\n      if (isKiwify(el.href)) el.href = withAfid(el.href, a);\\n    });\\n  };\\n\\n  // 1) initial pass\\n  rewriteAnchors();\\n\\n  // 2) click capture: fix href at the last moment (covers “open in new tab”, overrides, etc.)\\n  document.addEventListener('click', (e) => {\\n    const a = getAfid(); if (!a) return;\\n    const link = e.target.closest && e.target.closest('a[href]');\\n    if (link && isKiwify(link.href)) link.href = withAfid(link.href, a);\\n  }, true);\\n\\n  // 3) watch for async changes\\n  new MutationObserver(rewriteAnchors).observe(document.body, {childList:true, subtree:true});\\n\\n  // debug helpers\\n  window.__lvAfid = {\\n    get: getAfid,\\n    set: v => { localStorage.setItem('lv_afid', v); setCookie(v); },\\n    clear: () => { localStorage.removeItem('lv_afid'); setCookie('', -1); }\\n  };\\n})();\\n</script>\",description:\"Treinamento Completo para Youtube, Edi\\xe7\\xe3o de V\\xeddeos, Fitness, Podcasts & Mais. 50 Horas de Conte\\xfado\",robots:\"max-image-preview:large\",title:\"Legacy Vision Academy\"};}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,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAA8rE,YAAY,sGAAkH,OAAO,0BAA0B,MAAM,wBAAwB"}