PageSourceSearch

https://beglarianfabrics.com/cdn/shop/t/99/assets/checkout-locker.js?v=149047371583032447101768960932

js beglarianfabrics.com collected 2026-10-07 02:48:37 UTC 1,066 bytes, 2 lines download raw bytes

1class CheckoutLocker extends HTMLElement{constructor(){super(),this.minimum=Number(this.dataset.minimum||0)}connectedCallback(){this.button=this.querySelector("button"),this.message=this.querySelector(".cart-minimum-message");const target=document.querySelector(".totals__subtotal-value");target&&(this.updateState(this.parsePrice(target.textContent)),new MutationObserver(()=>{this.updateState(this.parsePrice(target.textContent))}).observe(target,{characterData:!0,childList:!0,subtree:!0}))}parsePrice(text){let number=text.replace(/[^0-9,\.\-]/g,"").replace(/\s/g,"");const lastComma=number.lastIndexOf(","),lastDot=number.lastIndexOf(".");return lastComma>lastDot?number=number.replace(/\./g,"").replace(",","."):number=number.replace(/,/g,""),parseFloat(number)||0}updateState(total){this.button.disabled=total<this.minimum,this.message.hidden=total>=this.minimum}}customElements.get("checkout-locker")||customElements.define("checkout-locker",CheckoutLocker);
2//# sourceMappingURL=/cdn/shop/t/99/assets/checkout-locker.js.map?v=149047371583032447101768960932

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.