1document.addEventListener("DOMContentLoaded",()=>{var t=document.querySelectorAll(".shop-now__btn"),e=document.querySelectorAll(".shop-now-to-cart[data-shop-now-to-cart]");function a(t){t={items:[{id:t.variant_id,quantity:t.qty}]};fetch(window.Shopify.routes.root+"cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then(t=>t.json()).catch(t=>{console.error("Error:",t)})}t?.forEach(function(t){t?.addEventListener("click",function(t){a({product_id:t.target.dataset.productId,variant_id:t.target.dataset.variantId,qty:t.target.dataset.qty})})}),e?.forEach(function(t){t?.addEventListener("click",function(t){a({variant_id:t.target.dataset.variantSelectedId,qty:"1"})})})});
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.