1(function(){function b(){"undefined"==typeof Flickity?(console.warn("Flickity not loaded yet, retrying..."),setTimeout(b,50)):(Flickity.prototype._touchActionValue="pan-y pinch-zoom",console.log("Flickity pinch-zoom enabled"))}b()})(),document.addEventListener("DOMContentLoaded",function(){function f(){var b=document.querySelectorAll(".ProductItem--collection .mobile_ImageSlider");if(b.length){var c=window.innerWidth;if(641>c)for(var d of b)if(!d.closest(".template-search")){var f=new Flickity(d,{cellAlign:"left",contain:!0,wrapAround:!1,prevNextButtons:!0,dragThreshold:10,pageDots:!1,arrowShape:{x0:10,x1:45,y1:50,x2:55,y2:50,x3:20}});f.resize()}}}f(),$(window).on("load",".mobile_ImageSlider",function(){f()});const g=new MutationObserver(function(){f()});$(".ProductRecommendations").length&&g.observe(document.querySelector(".ProductRecommendations"),{subtree:!1,childList:!0}),window.addEventListener("resize",f),new Ajaxinate({container:"#AjaxinateContainer",pagination:"#AjaxinatePagination",loadingText:"Loading...",method:"click",offset:1e3,callback:function(){f()}});const h=document.querySelector(".CollectionInner__Products");h&&$(document).on("click","#AjaxinatePagination > a",function(b){b.preventDefault()});const a=new MutationObserver(function(){new Ajaxinate({container:"#AjaxinateContainer",pagination:"#AjaxinatePagination",loadingText:"Loading...",method:"click",offset:1e3,callback:function(){f()}})});try{h&&a.observe(h,{subtree:!1,childList:!0})}catch(b){console.warn(b)}let i=document.querySelectorAll(".acco_wrapper .acco_row_title");for(let a of i)a.addEventListener("click",function(c){c.preventDefault(),c.target.classList.toggle("active");let a=c.target.nextElementSibling;$(a).slideToggle("fast"),a.classList.contains("active")?a.classList.remove("active"):a.classList.add("active")});const b=document.querySelector(".Footer__NewsletterWrapper > h3"),c=document.querySelector(".Footer__NewsletterWrapper input[type=email]");b&&c&&b.addEventListener("click",a=>{"keep in touch"===a.target.textContent.toLowerCase().trim()&&(window.scrollTo({top:c.offsetTop,behavior:"smooth"}),setTimeout(()=>c.focus(),200))})});const header_el=document.querySelector("#shopify-section-header"),header_wrapper_el=document.querySelector(".Header__Wrapper");let pixels_from_top=header_el.getBoundingClientRect().top;if(0>pixels_from_top){const d=document.querySelector("#shopify-section-store-switcher"),e=document.querySelector("#shopify-section-announcement");let a=parseInt(window.getComputedStyle(d).getPropertyValue("margin-bottom")),b=parseInt(window.getComputedStyle(e).getPropertyValue("margin-top"));pixels_from_top=d.offsetHeight+e.offsetHeight+a+b}window.addEventListener("scroll",function(){window.pageYOffset>=pixels_from_top?(header_el.style.position="fixed",header_wrapper_el.style.paddingTop="10px",header_wrapper_el.style.paddingBottom="10px",document.body.style.marginTop=header_el.offsetHeight+"px"):window.pageYOffset<pixels_from_top&&(header_el.style.position="relative",header_wrapper_el.style.paddingTop="",header_wrapper_el.style.paddingBottom="",document.body.style.marginTop=0)}),document.addEventListener("submit",function(e){const a=e.target;if("/cart/add"===a.getAttribute("action")){const b=a.closest(".Product__Form, .ProductForm__Wrapper"),c=a.classList.contains("CollectionProductForm");if(b||c)return void console.log("Skipping theme-managed form (main product or collection popover)");console.log("Intercepting cart form:",a.className||a.id||"unnamed form"),e.preventDefault(),e.stopPropagation();const f=a.querySelector("input[type=\"submit\"], button[type=\"submit\"]")||a.querySelector("button")||e.submitter;if(!f)return void console.error("No submit button found in form");const g=f.textContent||f.value,h="input"===f.tagName.toLowerCase();f.disabled=!0,h?f.value="Adding...":f.textContent="Adding...";const i=new FormData(a),j={};for(let[c,a]of i.entries())j[c]=a;const k=window.theme?.localeRootUrl?window.theme.localeRootUrl+"/cart/add.js":"/cart/add.js";fetch(k,{method:"POST",headers:{"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},credentials:"same-origin",body:JSON.stringify(j)}).then(b=>{if(b.ok)return b.json();throw new Error("Cart addition failed")}).then(c=>{console.log("Product added to cart successfully:",c),f.disabled=!1,h?f.value=g:f.textContent=g,document.documentElement.dispatchEvent(new CustomEvent("product:added",{bubbles:!0,detail:{variant:{id:j.id,product_id:c.product_id,price:c.price},quantity:parseInt(j.quantity||"1"),product:c}})),document.documentElement.dispatchEvent(new CustomEvent("cart:refresh",{bubbles:!0}));const a=document.querySelector(".Search__Input[name=\"q\"]");a&&a.value.trim()&&(a.value="",console.log("Search input cleared after successful c
1art addition"))}).catch(b=>{console.error("Error adding to cart:",b),f.disabled=!1,h?f.value=g:f.textContent=g,alert("Error adding item to cart. Please try again.")})}}),document.addEventListener("click",function(a){const d=a.target.closest(".js-add-recommendation");if(!d)return;a.preventDefault();const e=d.getAttribute("data-variant-id");if(!e)return void console.error("No variant ID found on recommendation button");const f=d.innerHTML;d.disabled=!0,d.innerHTML="<span>Adding...</span>";const c=window.theme?.localeRootUrl?window.theme.localeRootUrl+"/cart/add.js":"/cart/add.js";fetch(c,{method:"POST",headers:{"Content-Type":"application/json","X-Requested-With":"XMLHttpRequest"},credentials:"same-origin",body:JSON.stringify({id:e,quantity:1})}).then(b=>{if(b.ok)return b.json();throw new Error("Cart addition failed")}).then(b=>{document.documentElement.dispatchEvent(new CustomEvent("product:added",{bubbles:!0,detail:{variant:{id:e,product_id:b.product_id,price:b.price},quantity:1,product:b}})),document.documentElement.dispatchEvent(new CustomEvent("cart:refresh",{bubbles:!0}))}).catch(b=>{console.error("Error adding recommendation to cart:",b),d.disabled=!1,d.innerHTML=f,alert("Error adding item to cart. Please try again.")})}),document.addEventListener("DOMContentLoaded",function(){if(1007>=window.innerWidth){const c=document.querySelector(".Product__Gallery--withThumbnails");if(c){const g=c.querySelector(".Product__Slideshow.Carousel"),a=c.querySelector(".Product__SlideshowNav--thumbnails");g&&a&&setTimeout(function(){const i=Flickity.data(g);if(i){const b=a.querySelectorAll(".Product__SlideshowNavImage");b.forEach(function(a){a.addEventListener("click",function(b){b.preventDefault();const h=a.getAttribute("data-image-id"),c=g.querySelectorAll(".Product__SlideItem");let d=0;
1c.forEach(function(b,c){b.getAttribute("data-image-id")===h&&(d=c)}),i.select(d)})}),i.on("select",function(){const c=g.querySelector(".Product__SlideItem.is-selected");if(c){const d=c.getAttribute("data-image-id");b.forEach(function(b){if(b.getAttribute("data-image-id")===d){b.classList.add("is-selected");const c=a.querySelector(".Product__SlideshowNavScroller");if(c){const d=b.offsetLeft-c.offsetWidth/2+b.offsetWidth/2;c.scrollTo({left:d,behavior:"smooth"})}}else b.classList.remove("is-selected")})}});const c=g.querySelector(".Product__SlideItem.is-selected");if(c){const d=c.getAttribute("data-image-id");b.forEach(function(b){b.getAttribute("data-image-id")===d&&b.classList.add("is-selected")})}}},500)}}}),document.addEventListener("DOMContentLoaded",function(){var c=document.getElementById("ArticleContent"),d=document.getElementById("ArticleTocList"),e=document.getElementById("ArticleToc");if(c&&d&&e){var a=c.querySelectorAll("h2");return a.length?void a.forEach(function(e,f){var g="article-section-"+f;e.id=g;var b=document.createElement("li"),a=document.createElement("a");a.href="#"+g,a.textContent=e.textContent,b.appendChild(a),d.appendChild(b)}):void(e.style.display="none")}});
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.