1if(!customElements.get("remove-all")){class RemoveAll extends HTMLElement{constructor(){super()}connectedCallback(){this.drawer=this.closest("cart-drawer"),this.debouncedOnSubmit=debounce(()=>{this.onSubmitHandler()},200),this.addEventListener("click",this.debouncedOnSubmit.bind(this))}onSubmitHandler(){this.classList.add("loading");const notesEl=document.getElementById("mini-cart__notes"),request=fetch(`${theme.routes.cart_clear_url}.js`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(notesEl?{note:notesEl.value}:{})}),SE=window.Shopify&&window.Shopify.StandardEvents;SE&&publishStandardEvent("CartLinesUpdateEvent",{action:"remove",promise:request.then(response=>response.json()).then(cart=>({cart:cart&&cart.token?SE.CartLinesUpdateEvent.createCartFromAjaxResponse(cart):null}))},this),request.then(()=>{this.classList.remove("loading"),this.drawer.refresh()})}}customElements.define("remove-all",RemoveAll)} 2//# sourceMappingURL=/cdn/shop/t/22/assets/remove-all.js.map?v=46231915544764596331790330594
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.