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