1if(!customElements.get("theme-footer")){class ThemeFooter extends HTMLElement{constructor(){super()}connectedCallback(){this.querySelectorAll(".thb-widget-title.collapsible").forEach(button=>{button.addEventListener("click",()=>{button.classList.toggle("active")})}),this.querySelectorAll(".thb-arrow").forEach(arrow=>{let submenu=arrow.parentNode.querySelector(".sub-menu");arrow.addEventListener("click",e=>{e.preventDefault(),submenu.classList.contains("active")?(submenu.classList.remove("active"),arrow.blur()):submenu.classList.add("active")})}),this.animations_enabled=document.body.classList.contains("animations-true")&&typeof gsap<"u",document.body.classList.contains("template-product-quick-view")&&(this.animations_enabled=!1),this.animations_enabled&&(this.content=document.getElementById("main-content"),this.wrapper=document.getElementById("wrapper"),this.footer_bg=window.getComputedStyle(document.documentElement).getPropertyValue("--color-footer-bg"),this.radius=window.getComputedStyle(document.documentElement).getPropertyValue("--block-border-radius"),this.classList.contains("footer-reveal--true")&&this.setupAnimations())}setupAnimations(){let mm=gsap.matchMedia();this.wrapper.style.backgroundColor=this.footer_bg,mm.add({isDesktop:"(min-width: 768px)",reduceMotion:"(prefers-reduced-motion: reduce)"},context=>{let{isDesktop,isMobile,reduceMotion}=context.conditions;gsap.to(this.content,{"--footer-border-radius":!isDesktop||reduceMotion?"0px":`${this.radius}`,"--footer-width-percent":!isDesktop||reduceMotion?"0%":"4%",duration:.5,inherit:!1,ease:"none",modifiers:{"--footer-border-radius":x=>Math.round(parseFloat(x))+"px","--footer-width-percent":x=>Math.round(parseFloat(x)*100)/100+"%"},scrollTrigger:{trigger:this,fastScrollEnd:!0,scrub:1,start:()=>"top bottom",end:()=>"bottom bottom"}})})}}customElements.define("theme-footer",ThemeFooter)} 2//# sourceMappingURL=/cdn/shop/t/81/assets/footer.js.map?v=8126219608918098731786120402
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.