1(async()=>{const SELECTORS=[".price-ht",".f-price-item span.unit"];function toggleForFrance(isFrance){document.querySelectorAll(SELECTORS.join(",")).forEach(el=>{el.style.display=isFrance?"":"none"})}toggleForFrance(!1);const url=window.Shopify.routes.root+"browsing_context_suggestions.json";try{const res=await fetch(url,{credentials:"same-origin"});if(!res.ok)throw new Error(`Fetch failed: ${res.status}`);const handle=(await res.json())?.detected_values?.country?.handle;console.log("\u{1F680} ~ handle:",handle),toggleForFrance(handle==="FR")}catch(err){console.warn("Country detection failed",err)}new MutationObserver(()=>{const sample=document.querySelector(SELECTORS[0]);if(sample){const isShown=sample.style.display!=="none";toggleForFrance(isShown)}}).observe(document.documentElement,{childList:!0,subtree:!0})})(); 2//# sourceMappingURL=/cdn/shop/t/5/assets/update-country-prices.js.map?v=25568542621009870301758207398
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.