1KROWN.themeName="Split",KROWN.themeVersion="5.0.2";const executeOnceOnDomContentLoaded=()=>{let activeElement=document.activeElement;if(document.addEventListener("keyup",e=>{e.keyCode==window.KEYCODES.TAB&&(activeElement.classList.contains("focus")&&e.target!=activeElement&&activeElement.classList.remove("focus"),(e.target.classList.contains("product-variant__input")||e.target.classList.contains("button")||e.target.classList.contains("product-item")||e.target.classList.contains("site-box-content-to-focus"))&&e.target.classList.add("focus"),activeElement=document.activeElement)}),window.location.pathname.includes("/challenge")&&setTimeout(()=>{window.scroll({top:0,behavior:"auto"})},300),document.querySelectorAll(".rte a img").forEach(elm=>{elm.parentNode.style.border="none"}),document.getElementById("site-filter-handle")&&document.getElementById("site-filter-handle").addEventListener("click",e=>{e.preventDefault(),document.getElementById("site-filters").show(),document.getElementById("site-filter-handle").setAttribute("aria-expanded","true")}),setTimeout(()=>{document.querySelector("modal-box quick-view-product")&&document.querySelector("modal-box quick-view-product").init(),document.querySelector("modal-box quick-add-to-cart")&&(document.querySelector("modal-box quick-add-to-cart").init(),document.querySelector("modal-box product-form").init())},3050),document.location.search=="?customer_posted=true"&&document.location.hash=="#newsletter-popup"&&document.getElementById("modal-newsletter")){const newsletterPopup=document.getElementById("modal-newsletter");newsletterPopup.show(),localStorage.setItem(newsletterPopup._modalKey,JSON.stringify({shown:new Date().getTime(),content:newsletterPopup._modalText})),setTimeout(()=>{newsletterPopup.querySelectorAll("[data-js-close]").forEach(elm=>elm.addEventListener("click",()=>{newsletterPopup.hide(!0)}))},100),clearTimeout(newsletterPopup._modalTimeout)}document.querySelector("cart-form")&&document.querySelector("cart-form").addEventListener("cart-updated",()=>{document.body.classList.contains("template-cart")&&(document.querySelector("#AjaxCartForm .subtitle")&&(document.querySelector("#section-cart .box__heading .subtitle").innerHTML=document.querySelector("#AjaxCartForm .subtitle").innerHTML),document.getElementById("AjaxCartSubtotal").querySelector("[data-cart-empty]")?(document.querySelector("#section-cart .box__heading .subtitle").innerHTML="",document.getElementById("AjaxCartSubtotal").querySelector(".main-cart-empty-content")?document.getElementById("AjaxCartSubtotal").querySelector(".main-cart-empty-content").style.display="block":document.getElementById("AjaxCartSubtotal").append(document.getElementById("section-cart").querySelector("template").content.cloneNode(!0))):document.getElementById("AjaxCartSubtotal").querySelector(".main-cart-empty-content")&&(document.getElementById("AjaxCartSubtotal").querySelector(".main-cart-empty-content").style.display="none")),document.querySelector("cart-recommendations")&&parseInt(document.querySelector("[data-cart-count]").textContent)==0&&(document.querySelector("cart-recommendations").innerHTML="")}),document.querySelector("#main-product-recommendations")&&document.querySelector("#main-product-recommendations").addEventListener("product-recommendations-loaded",()=>{const cssStyle=document.querySelector('[id^="css-fix-height-"]');if(!cssStyle){console.warn("Could not find css-fix-height element");return}const sectionId=cssStyle.id.replace("css-fix-height-",""),heightElement=document.getElementById(`fix-height-with-${sectionId}`);if(cssStyle&&heightElement){const fixCollectionHeight=()=>{const height=heightElement.offsetHeight-1;cssStyle.innerHTML=`@media screen and (min-width: 1025px), screen and (min-width: 769px) and (orientation: landscape) { 2 #fix-height-${sectionId} { 3 height: ${height}px !important; 4 } 5 }`};setTimeout(fixCollectionHeight,100),window.addEventListener("resize",fixCollectionHeight)}else console.warn("Missing required elements for height fixing")})};if(document.readyState!=="loading"?executeOnceOnDomContentLoaded():document.addEventListener("DOMContentLoaded",executeOnceOnDomContentLoaded),typeof SiteFilterHandle!="function"){class SiteFilterHandle2 extends HTMLElement{constructor(){super();const sidebar=document.getElementById(this.getAttribute("aria-controls"));this.addEventListener("click",e=>{this.classList.contains("disable-sidebar")||(e.preventDefault(),this.setAttribute("aria-expanded","true"),sidebar.show())}),this.addEventListener("keyup",e=>{e.keyCode==window.KEYCODES.RETURN&&(this.setAttribute("aria-expanded","true"),sidebar.show(),sidebar.querySelector(".site-close-handle").focus())})}}typeof customElements.get("site-filter-handle")>
5"u"&&customElements.define("site-filter-handle",SiteFilterHandle2)} 6//# sourceMappingURL=/cdn/shop/t/28/assets/theme.js.map?v=162100307551686030091786874776
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.