PageSourceSearch

https://www.presonus.com/cdn/shop/t/236/assets/ghost-nav.js?v=166629939612203738311790015180

js presonus.com collected 2026-09-24 08:51:16 UTC 1,777 bytes, 2 lines download raw bytes

1(()=>{const root=document.documentElement;if(root.dataset.ghostNavEnabled!=="true")return;const enable=on=>root.setAttribute("data-ghost-nav-enabled",on?"true":"false"),sentinel=document.getElementById("ghost-nav-sentinel"),header=document.querySelector(".header-wrapper");if(sentinel&&header){const makeIO=()=>new IntersectionObserver(([entry])=>enable(entry.isIntersecting),{threshold:0,rootMargin:`-${header.getBoundingClientRect().height}px 0px 0px 0px`});let io=makeIO();io.observe(sentinel),addEventListener("resize",()=>{io.disconnect(),io=makeIO(),io.observe(sentinel)}),enable(!0)}else{const scroller=(()=>{const main=document.getElementById("MainContent");if(main&&main.scrollHeight>main.clientHeight)return main;for(const el of document.body.children)if(el.scrollHeight>el.clientHeight)return el;return window})(),atTop2=scroller===window?()=>window.scrollY<=1:()=>scroller.scrollTop<=1;let ticking=!1;const onScroll=()=>{ticking||(requestAnimationFrame(()=>{enable(atTop2()),ticking=!1}),ticking=!0)};scroller.addEventListener("scroll",onScroll,{passive:!0}),enable(atTop2())}document.querySelectorAll(".header-wrapper, .contentfulHeader-DesktopMenu, .shopify-section-header-sticky").forEach(hdr=>{hdr.addEventListener("mouseover",()=>enable(!1),{passive:!0}),hdr.addEventListener("mouseleave",()=>{const shouldBeGhost=typeof atTop=="function"?atTop():window.scrollY<=1;enable(shouldBeGhost)},{passive:!0})}),window.addEventListener("ghost-nav-theme",e=>setGhostNavTheme(e.detail));function setGhostNavTheme(theme){console.log("Setting ghost nav theme to:",theme),(theme=="light"||theme=="dark")&&document.documentElement.setAttribute("data-ghost-nav-theme",theme)}})();
2//# sourceMappingURL=/cdn/shop/t/236/assets/ghost-nav.js.map?v=166629939612203738311790015180

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.