PageSourceSearch

https://urturms.com/cdn/shop/t/733/assets/header-mobile.js?v=87368391949091907131785218427

js urturms.com collected 2026-10-08 03:58:51 UTC 2,055 bytes, 2 lines download raw bytes

1(function(){const headerMobile=()=>{const headerSection=document.querySelector(".header-mobile-section"),header=document.querySelector(".header-mobile");let scrollPos=0;window.addEventListener("scroll",()=>{if(!header.classList.contains("sticky-header"))return;const scroll=window.scrollY;scroll>40?header.classList.add("header-scroll"):header.classList.remove("header-scroll"),scroll>scrollPos&&scroll>100?hideHeader():showHeader(),scrollPos=scroll});function hideHeader(){if(header.classList.contains("sticky-header-always"))return"";headerSection.classList.add("hide")}function showHeader(){headerSection.classList.remove("hide")}const burger=document.querySelector(".header-mobile__burger"),mobileMenu=document.querySelector(".header-mobile__menu"),mobileAnimateBg=document.querySelector(".animate-bg");burger.addEventListener("click",function(e){e.preventDefault(),this.classList.toggle("active"),mobileMenu.classList.toggle("active"),mobileAnimateBg.classList.toggle("active"),document.body.classList.toggle("overflow-hidden")});const mobileMenuList=document.querySelectorAll(".header-mobile__menu-header a");mobileMenuList.forEach(item=>{item.addEventListener("click",function(event){event.preventDefault();const id=this.getAttribute("href");mobileMenuList.forEach(_item=>{_item.parentElement.classList.remove("active")}),this.parentElement.classList.add("active");const menus=document.querySelectorAll(".header-mobile__menus > li"),current=document.querySelector(id);menus.forEach(_menu=>{_menu.style.display="none"}),current.style.display="block"})});let resizeTimeout;window.addEventListener("resize",()=>{clearTimeout(resizeTimeout),resizeTimeout=setTimeout(()=>{window.innerWidth>=1100&&(burger.classList.remove("active"),mobileMenu.classList.remove("active"),mobileAnimateBg.classList.remove("active"),document.body.classList.remove("overflow-hidden"))},300)})};document.addEventListener("shopify:section:load",headerMobile),headerMobile()})();
2//# sourceMappingURL=/cdn/shop/t/733/assets/header-mobile.js.map?v=87368391949091907131785218427

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.