{"version":3,"file":"shared-lib.DSTfJOhf.mjs","names":[],"sources":["https:/framerusercontent.com/modules/af1h569IgnsoAkqD73jy/3Pt8A2OTqmci80Yzz2hW/siteMetadata.js"],"sourcesContent":["// Generated by Framer (9805f18)\nconst valuesByLocaleId={fO9m5wYMe:{v1:\"Trive | بوابة إلى الأسواق العالمية\"},jhgq12k35:{v1:\"Trive | Puerta a los Mercados Globales\"},mhjk5x5A2:{v1:\"Trive | Porta ai Mercati Globali\"},PTDWzscgo:{v0:\"Trive\",v1:\"Trive | 全球市場的門戶\"},QZr_Q2h4L:{v0:\"Trive | 한국인을 위한 글로벌 CFD 투자 플랫폼\",v1:\"Trive는 한국 투자자를 위한 안전하고 간편한 글로벌 투자 플랫폼입니다. CFD, 외환, 지수 등 다양한 자산에 스마트하게 투자하세요.\"},sTCipoqwt:{v0:\"Trive\",v1:\"Trive | अंतर्राष्ट्रीय बाज़ारों का द्वार\"},X4hFPfJeM:{v0:\"Trive\",v1:\"Europa regulierter Broker f\\xfcr CFDs & Aktien. Enge Spreads, Mobile & Desktop Handel, deutsche Niederlassung & Einlagensicherung. Einfach. Smart. Schnell.\"},XeM2jyoC8:{v0:\"Trive\",v1:\"Trive | Gateway to Global Markets\"},xnwTewgwE:{v1:\"Trive | Kapu a glob\\xe1lis piacokhoz\"}};function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}export default function metadata(params,activeLocale){return{customHTMLBodyEnd:\"\\n\",customHTMLBodyStart:'<!-- Helper Script -->\\n<script>\\n  (function() {\\n    const host = window.location.hostname;\\n    let scriptBase;\\n\\n    switch (true) {\\n      case host.includes(\"trivechina.com\"):\\n        scriptBase = \"https://docs.trivechina.com\";\\n        break;\\n      case host.includes(\"trivevietnam.com\"):\\n        scriptBase = \"https://docs.trivevietnam.com\";\\n        break;\\n      default:\\n        scriptBase = \"https://docs.trive.com\";\\n        break;\\n    }\\n\\n    const script = document.createElement(\"script\");\\n    script.src = scriptBase + \"/trive-cdn/helpers/main-helper.js\";\\n    script.async = true;\\n    document.head.appendChild(script);\\n  })();\\n</script>\\n',customHTMLHeadStart:'<script>\\n   const url = window.location.href;\\nconst lang = document.documentElement.lang;\\nconst euLangs = [\"en-MT\", \"de-DE\", \"fr-FR\", \"it-IT\", \"es-ES\", \"hu-HU\"];\\n\\nconst spacialDomains = {\\n  cn: \"trivechina.com\",\\n  vn: \"trivevietnam.com\",\\n  eu: \"trive.com\",\\n};\\n\\nif (euLangs.includes(lang)) {\\n  if (url.includes(spacialDomains.cn)) {\\n    updateUrlWithCurrentParams(\"https://www.\" + spacialDomains.cn + \"/int-cn\");\\n  } else if (url.includes(spacialDomains.vn)) {\\n    updateUrlWithCurrentParams(\"https://www.\" + spacialDomains.vn + \"/int-vn\");\\n  }\\n}\\n\\nif (url.includes(spacialDomains.eu)) {\\n  if (lang === \"zh-CN\") {\\n    updateUrlWithCurrentParams(\"https://www.\" + spacialDomains.cn + \"/cn\", true);\\n  } else if (lang === \"vi-VN\") {\\n    updateUrlWithCurrentParams(\"https://www.\" + spacialDomains.vn + \"/vn\", true);\\n  }\\n}\\n\\nconst updateUrlWithCurrentParams = (baseHref, addRedirectFalse = false) => {\\n  // Append current parameters to the new URL and navigate to it\\n  const currentUrl = new URL(window.location.href);\\n  const baseUrl = new URL(baseHref);\\n\\n  // Merge all parameters from current URL into base URL\\n  currentUrl.searchParams.forEach((value, key) => {\\n    baseUrl.searchParams.set(key, value); // Use `set` to update or add parameters\\n  });\\n\\n  addRedirectFalse && baseUrl.searchParams.set(\"redirect\", \"false\");\\n\\n  // Navigate to the updated URL\\n  window.location.href = baseUrl.href.toString();\\n};\\n\\n</script>\\n\\n<meta name=\"google-site-verification\" content=\"vyjkkTCuiDF8UnL7c8ZtOAoyD0orztSxeUSZaHHRqqI\">\\n\\n<meta name=\"p:domain_verify\" content=\"c7759cf1fff627a7986fd290debb0c41\">\\n\\n<!-- For Naver Search Engine (KR) -->\\n<meta name=\"naver-site-verification\" content=\"53bf42574598e60b63350b28fc09a1dccb30595d\">\\n<meta name=\"naver-site-verification\" content=\"2824ac99fad62e4ae30679fe8035aa4ef0dbc6eb\">',description:getLocalizedValue(\"v1\",activeLocale)??\"Trive | Gateway to Global Markets\",favicon:\"https://framerusercontent.com/assets/62nXqAK4wBUb8yecVYunFru6YXE.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/QP7LpdjRyeihHJQEjlpS9xLpFd8.png\",title:getLocalizedValue(\"v0\",activeLocale)??\"Trive\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACstB,SAAS,EAAkB,EAAI,EAAO,CAAC,KAAM,GAAO,CAAC,IAAM,EAAO,EAAiB,EAAO,IAAI,GAAG,EAAO,CAAC,IAAM,EAAM,EAAO,GAAK,GAAG,EAAM,OAAO,EAAO,EAAO,EAAO,UAAW,SAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;EAAK,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAA+pB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0FAA4zD,YAAY,EAAkB,KAAK,EAAa,EAAE,oCAAoC,QAAQ,uEAAuE,OAAO,0BAA0B,YAAY,uEAAuE,MAAM,EAAkB,KAAK,EAAa,EAAE,QAAQ,iBAAryH,EAAiB,CAAC,UAAU,CAAC,GAAG,qCAAqC,CAAC,UAAU,CAAC,GAAG,yCAAyC,CAAC,UAAU,CAAC,GAAG,mCAAmC,CAAC,UAAU,CAAC,GAAG,QAAQ,GAAG,kBAAkB,CAAC,UAAU,CAAC,GAAG,iCAAiC,GAAG,+EAA+E,CAAC,UAAU,CAAC,GAAG,QAAQ,GAAG,2CAA2C,CAAC,UAAU,CAAC,GAAG,QAAQ,GAAG,2JAA8J,CAAC,UAAU,CAAC,GAAG,QAAQ,GAAG,oCAAoC,CAAC,UAAU,CAAC,GAAG,oCAAuC,CAAC"}