PageSourceSearch

https://www.josephjoseph.com/cdn/shop/t/651/assets/header-dropdown.js?v=53751133651851080061790082375

js josephjoseph.com collected 2026-10-02 11:17:39 UTC 1,353 bytes, 2 lines download raw bytes

1const{getElements}=window.BAO.Utils;let dropdownLoaded=!1,lastScroll=window.scrollY;class HeaderDropdown extends window.BAO.CustomElement(){connectedCallback(){super.setupListeners(),this.initialise()}initialise(){dropdownLoaded||window.BAO.sectionRenderer.fetch("header","/?view=dropdown").then(res=>{dropdownLoaded=!0;const myself=window.BAO.sectionRenderer.convertToDOM(res.header).querySelector(this.localName);this.outerHTML=myself.outerHTML,setupDropdownScrollHandler()}).catch(()=>{})}}function setupDropdownScrollHandler(){let isThrottled=!1,lastScroll2=0,isScrolling=!1,scrollEndTimer=null;window.addEventListener("scroll",()=>{isThrottled||(isThrottled=!0,requestAnimationFrame(()=>{const currentScroll=window.scrollY;if(currentScroll>lastScroll2&&!isScrolling){isScrolling=!0;const focusedItems=getElements(".hd-Navigation_Item:hover");focusedItems.length>0&&(focusedItems.forEach(item=>{item.blur()}),document.body.classList.add("hd-Header_DisableDropdown"))}clearTimeout(scrollEndTimer),scrollEndTimer=setTimeout(()=>{isScrolling=!1,document.body.classList.remove("hd-Header_DisableDropdown")},300),lastScroll2=currentScroll,isThrottled=!1}))})}customElements.get("header-dropdown")||customElements.define("header-dropdown",HeaderDropdown);
2//# sourceMappingURL=/cdn/shop/t/651/assets/header-dropdown.js.map?v=53751133651851080061790082375

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.