1var body=document.getElementsByTagName("body")[0],burger=document.getElementById("burger"),header=document.getElementById("header"),modal=document.getElementById("modal-bg"),currHeight=window.innerHeight,newHeight=currHeight,cartPopup=document.getElementById("popupCart");burger.onclick=function(){header.classList.toggle("menu-open"),cartPopup.classList.contains("popup-cart-hidden")||cartPopup.classList.add("popup-cart-hidden")},modal.onclick=function(){header.classList.remove("menu-open")};var totalHeight=body.offsetHeight,prevScrollpos=window.pageYOffset,productHeading=document.getElementsByClassName("product-heading")[0];function headerHide(){var currentScrollPos=window.pageYOffset;prevScrollpos>currentScrollPos||currentScrollPos<50||currentScrollPos>totalHeight-currHeight-50?productHeading.classList.remove("product-header-open"):productHeading.classList.add("product-header-open"),prevScrollpos=currentScrollPos}function variantDropdown(event,option,value){var parent=document.getElementById("variant"+option);parent!==null&&parent.classList.toggle("variant-active");var activeSwatch=document.getElementById("swatch"+value);activeSwatch.classList.add("swatch-active")}function variantSelect(event,option,value,valueCamel,i){var radios=document.querySelectorAll('[name="'+option+'"]'),dropdown=document.getElementsByClassName("selector-option")[i-1],dropdownTitle=document.getElementsByClassName("selected-option")[i-1],swatches=document.getElementsByClassName("variant-"+i),activeSwatch=document.getElementById("swatch"+valueCamel);for(n=0;n<swatches.length;n++)swatches[n].classList.remove("swatch-active");for(activeSwatch.classList.add("swatch-active"),n=0;n<radios.length;n++)radios[n].removeAttribute("checked");event.currentTarget.setAttribute("checked","checked"),dropdownTitle.innerHTML=value,dropdown.classList.toggle("selector-open")}function swatchShow(event,value){var swatch=document.getElementById("swatch"+value);swatch!==null&&swatch.classList.add("swatch-hover-active")}function swatchHide(event,value){var swatch=document.getElementById("swatch"+value);swatch!==null&&swatch.classList.remove("swatch-hover-active")}function cartNoteOpen(event){cartPopup.classList.remove("popup-cart-hidden")}function cartNoteClose(event){cartPopup.classList.add("popup-cart-hidden")}var enquireButton=document.getElementById("button-enquire"),form=document.getElementById("contact-form");enquireButton.onclick=function(){enquireButton.classList.toggle("menu-open"),form.classList.toggle("menu-open")};var meetingButton=document.getElementById("button-meeting"),meetingWrapper=document.getElementById("meeting-wrapper");meetingButton.onclick=function(){meetingButton.classList.toggle("menu-open"),meetingWrapper.classList.toggle("menu-open")}; 2//# sourceMappingURL=/cdn/shop/t/27/assets/main.js.map?v=82961650768839193301724011739
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.