1window.setFreeDeliveryProgress=()=>{const a=document.querySelectorAll(".free-delivery-progress");if(!a.length)return;const s=document.getElementById("delivery-threshold-value"),o=Number((s==null?void 0:s.dataset.value)||0),l=e=>e.replace(/([.,])00(?=\D*$)/,"");fetch(window.Shopify.routes.root+"cart.js").then(e=>e.json()).then(e=>{const n=Number(e.total_price);a.forEach(i=>{const t=i.querySelector(".marker"),r=i.querySelector(".free-delivery-progress__label");if(!t||!r)return;const c=r.dataset.message,d=r.dataset.messageAbove;if(t.classList.remove("finished"),n<o){const u=Math.floor(n/o*100),m=l(Shopify.formatMoney(o-n,Shopify.money_format));r.innerHTML=c.replace("[value]",m),t.style.width=u+"%"}else t.classList.add("finished"),r.textContent=d,t.style.width="100%"})})};document.addEventListener("DOMContentLoaded",window.setFreeDeliveryProgress);
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.