1window.addToCart=function(variantId,quantity=1){return fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({items:[{id:variantId,quantity}]})}).then(response=>response.ok?response.json():response.json().then(err=>{throw document.dispatchEvent(new CustomEvent("on:cart:error",{detail:{error:err.description||"Add to cart failed"}})),new Error(err.description||"Add to cart failed")})).then(data=>(document.dispatchEvent(new CustomEvent("on:cart:add",{detail:{variantId}})),document.dispatchEvent(new CustomEvent("dispatch:cart-drawer:refresh",{bubbles:!0})),document.dispatchEvent(new CustomEvent("dispatch:cart-drawer:open")),data)).catch(error=>{throw console.error("addToCart error:",error),error})},window.openQuickBuy=function(productUrl){let block=document.querySelector(".ss-quickbuy-block");block||(block=document.createElement("div"),block.className="product-block ss-quickbuy-block",block.innerHTML=` 2 <div class="block-inner"><div class="block-inner-inner"> 3 <a class="quickbuy-toggle" href="#"></a> 4 </div></div> 5 <div class="quickbuy-container js-quickbuy"> 6 <a href="#" class="close-detail" aria-label="Close"> 7 <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon feather feather-x" aria-hidden="true" focusable="false" role="presentation"><path d="M18 6 6 18M6 6l12 12"></path></svg> 8 </a> 9 <div class="inner"></div> 10 </div> 11 `,document.body.appendChild(block));const toggle=block.querySelector(".quickbuy-toggle"),wasOpen=block.classList.contains("expanded"),open=()=>{toggle.href=productUrl,toggle.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0}))};wasOpen?(toggle.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),setTimeout(open,350)):open()}; 12//# sourceMappingURL=/cdn/shop/t/99/assets/custom.js.map?v=37450891189998951871786066275
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.