{"version":3,"file":"siteMetadata.CEFVHTCP.mjs","names":[],"sources":["https:/framerusercontent.com/modules/3TM5V8TH7jnqYFLuODmL/5M2rzoB8NFi6OBrKrjRI/siteMetadata.js"],"sourcesContent":["// Generated by Framer (349ae9e)\nconst valuesByLocaleId={z2IwBdz_r:{v0:\"Backswitch |\",v1:\"Lalalala\"}};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:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-K2BWX424\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadEnd:\"<!-- Google Tag Manager -->\\n<script>\\n(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-K2BWX424');\\n</script>\\n<!-- End Google Tag Manager -->\\n\\n<!-- US-only element hiding (triggered by .geo-us on <html>) -->\\n<style>\\n  /* Target specific Framer layers */\\n  html.geo-us [data-framer-name=\\\"header-digital-business-switch\\\"] { display: none !important; }\\n  html.geo-us [data-framer-name=\\\"home-entrypoint-CTAs\\\"]          { display: none !important; }\\n  html.geo-us [data-framer-name=\\\"footer-digital-business-switch\\\"]{ display: none !important; }\\n  html.geo-us [data-framer-name=\\\"backswitch-business-button\\\"]    { display: none !important; }\\n  html.geo-us [data-framer-name=\\\"conexa-button\\\"]                 { display: none !important; }\\n\\n  /* Utility classes you can apply to any layer in Framer */\\n  .only-us { display: none !important; }\\n  .geo-us .only-us { display: initial !important; } /* change to block/inline-flex as needed */\\n  .geo-us .hide-in-us { display: none !important; }\\n</style>\\n\\n<!-- Optional: signal to GTM when geo is ready -->\\n<script>\\n(function(){\\n  var cc = (function(){\\n    if (window.__geo) return window.__geo;\\n    var m=document.cookie.match(/(?:^|;\\\\s*)cf_geo=([A-Z]{2})/);\\n    return m?m[1]:null;\\n  })();\\n  if (cc) { (window.dataLayer=window.dataLayer||[]).push({event:\\\"geo_ready\\\", geo_country: cc}); }\\n})();\\n</script>\\n\",customHTMLHeadStart:'<!-- Preconnect & Preload the geo helper for speed -->\\n<link rel=\"preconnect\" href=\"https://edge.backswitch.io\" crossorigin=\"\">\\n<link rel=\"preload\" as=\"script\" href=\"https://edge.backswitch.io/geo.js\">\\n\\n<!-- Hide during same-tick redirect to avoid flash -->\\n<style>html[data-redirecting]{opacity:0}</style>\\n\\n<!-- Instant redirect using last-known country (from localStorage) -->\\n<script>\\n(function(){\\n  var TARGET = \"/digital-service\";\\n  function atRoot(){ var p=(location.pathname||\"/\").replace(/\\\\/+$/,\"\")||\"/\"; return p===\"/\"; }\\n\\n  // Manual test: ?us=1 forces US\\n  var forceUS = new URLSearchParams(location.search).get(\"us\") === \"1\";\\n\\n  // Use stored country to redirect before paint on repeat visits\\n  var ccLS = null; try { ccLS = localStorage.getItem(\"geo_cc\"); } catch(e) {}\\n\\n  if ((forceUS || ccLS === \"US\") && atRoot()) {\\n    document.documentElement.setAttribute(\"data-redirecting\",\"\");\\n    location.replace(TARGET);\\n  }\\n})();\\n</script>\\n\\n<!-- Load fresh geo signal synchronously (first visit) -->\\n<script src=\"https://edge.backswitch.io/geo.js\"></script>\\n\\n<!-- Reconcile: tag <html>, clean legacy cookie, and redirect if first-time US -->\\n<script>\\n(function(){\\n  var TARGET = \"/digital-service\";\\n  function atRoot(){ var p=(location.pathname||\"/\").replace(/\\\\/+$/,\"\")||\"/\"; return p===\"/\"; }\\n  function getCC(){\\n    if (new URLSearchParams(location.search).get(\"us\")===\"1\") return \"US\";\\n    if (window.__geo) return window.__geo;\\n    var m=document.cookie.match(/(?:^|;\\\\s*)cf_geo=([A-Z]{2})/);\\n    return m?m[1]:null;\\n  }\\n\\n  // One-time cleanup for any old \\'geo\\' cookie\\n  (function wipeOld(){\\n    var past=\"Thu, 01 Jan 1970 00:00:00 GMT\";\\n    [\"backswitch.io\",\".backswitch.io\"].forEach(function(d){\\n      document.cookie=\"geo=; Expires=\"+past+\"; Path=/; Domain=\"+d;\\n    });\\n  })();\\n\\n  (function wait(n){\\n    var cc=getCC();\\n    if(!cc){ if(n>80) return; return setTimeout(function(){ wait(n+1); },20); }\\n\\n    // Tag <html> so CSS can hide/show\\n    var cls=\"geo-\"+cc.toLowerCase();\\n    if(!document.documentElement.classList.contains(cls)) document.documentElement.classList.add(cls);\\n\\n    // First-visit redirect\\n    if(cc===\"US\" && atRoot()){\\n      document.documentElement.setAttribute(\"data-redirecting\",\"\");\\n      location.replace(TARGET);\\n      return;\\n    }\\n  })(0);\\n})();\\n</script>\\n',description:getLocalizedValue(\"v1\",activeLocale)??\"Backswitch is a complete digital consultant for digital product development. Elevate your business with our expert solutions and strategic insights.\",favicon:\"https://framerusercontent.com/assets/whGh0imRgU2ItPqv1wvZi4Ehj4c.png\",robots:\"max-image-preview:large\",title:getLocalizedValue(\"v0\",activeLocale)??\"Digital Product Consultant | Backswitch\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2DACqE,SAAS,EAAkB,EAAI,EAAO,CAAC,KAAM,GAAO,CAAC,IAAM,EAAO,EAAiB,EAAO,IAAI,GAAG,EAAO,CAAC,IAAM,EAAM,EAAO,GAAK,GAAG,EAAM,OAAO,CAAO,GAAO,EAAO,QAAU,CAAC,UAAwB,EAAS,EAAO,EAAa,CAAC,MAAM,CAAC,kBAAkB;;4CAAwP,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyoD,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAq0E,YAAY,EAAkB,KAAK,IAAe,uJAAuJ,QAAQ,uEAAuE,OAAO,0BAA0B,MAAM,EAAkB,KAAK,IAAe,0CAA0C,AAAE,iBAA57J,EAAiB,CAAC,UAAU,CAAC,GAAG,eAAe,GAAG,WAAW,CAAC"}