PageSourceSearch

https://www.livingproof.com/cdn/shop/t/4/assets/mobile-menu-toggle.js?v=72627040167916877391747139832

js livingproof.com collected 2026-09-24 17:41:40 UTC 1,910 bytes, 2 lines download raw bytes

1var menuButton=document.querySelector(".mobile-menu__button--burger"),hamburger=document.getElementById("hamburger"),closeButton=document.querySelector(".drawer__close-button"),navDrawer=document.getElementById("nav-drawer"),drawerOverlay=document.querySelector(".drawer__overlay"),header=document.querySelector(".site-header--livingproof-us");function updateDrawerHeight(){if(!navDrawer)return;const header2=document.querySelector("[data-site-header]"),announcementBar=document.querySelector("[data-announcement-wrapper]"),hasScrolled=document.body.classList.contains("has-scrolled");if(!header2)return;const headerHeight=header2.offsetHeight,announcementHeight=announcementBar?announcementBar.offsetHeight:0,totalHeight=hasScrolled?headerHeight:headerHeight+announcementHeight;navDrawer.style.height=`calc(100% - ${totalHeight}px)`,navDrawer.style.top=`${totalHeight}px`,drawerOverlay&&(drawerOverlay.style.top=`${totalHeight}px`,drawerOverlay.style.height=`calc(100% - ${totalHeight}px)`)}menuButton&&menuButton.addEventListener("click",function(e){setTimeout(function(){var expanded=menuButton.getAttribute("aria-expanded")==="true";expanded?(hamburger.classList.add("active"),header&&updateDrawerHeight()):hamburger.classList.remove("active")},10)}),closeButton&&closeButton.addEventListener("click",function(e){setTimeout(function(){hamburger.classList.remove("active")},10)}),document.addEventListener("scroll",function(){navDrawer&&navDrawer.classList.contains("is-open")&&header&&updateDrawerHeight()}),window.addEventListener("resize",function(){navDrawer&&navDrawer.classList.contains("is-open")&&header&&updateDrawerHeight()}),hamburger&&navDrawer&&setInterval(function(){!navDrawer.classList.contains("is-open")&&hamburger.classList.contains("active")&&hamburger.classList.remove("active")},100);
2//# sourceMappingURL=/cdn/shop/t/4/assets/mobile-menu-toggle.js.map?v=72627040167916877391747139832

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.