1if(typeof Shopify>"u"&&(window.Shopify={}),typeof Shopify.theme.jsAddToCart>"u"){let listeningATC=!1;Shopify.theme.jsAddToCart={listen:()=>{listeningATC||(listeningATC=!0,document.addEventListener("click",event=>{let wasClicked=event.target;if((wasClicked.matches("[data-add-to-cart]")||wasClicked.matches("[data-cartcrosssells-add]"))&&!wasClicked.hasAttribute("data-default-add-to-cart-disable")&&Shopify.theme.settings.cart_action=="ajaxcart"){event.preventDefault(),wasClicked.setAttribute("disabled",!0);const targetForm=wasClicked.closest("form");if(targetForm!==null)return fetch(targetForm.getAttribute("action"),{method:targetForm.getAttribute("method"),body:new URLSearchParams(new FormData(targetForm))}).then(()=>{wasClicked.classList.remove("bg-gray-600","cursor-not-allowed"),wasClicked.classList.add("bg-indigo-600","hover:bg-indigo-700","focus:ring-2","focus:ring-offset-2","focus:ring-indigo-500"),wasClicked.removeAttribute("disabled"),Shopify.theme.jsCartCounter.update(),Shopify.theme.jsAjaxCart.onCartChange(),Shopify.theme.jsAjaxCart.openCart()}).catch(error=>console.error(error)),!1}}))}}}Shopify.theme.jsAddToCart.listen(); 2//# sourceMappingURL=/cdn/shop/t/334/assets/add-to-cart.js.map?v=127631261811085696901769687987
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.