PageSourceSearch

https://www.horando.de/cdn/shop/t/85/assets/nav-dropdown.js?v=125328594264597168931790601946

js horando.de collected 2026-10-02 11:13:18 UTC 2,204 bytes, 2 lines download raw bytes

1const HD_CLOSE_DELAY=300;class NavDropdown extends HTMLElement{connectedCallback(){this.abortController=new AbortController,this.summary=this.querySelector("summary"),this.detail=this.querySelector("details"),this.closeTimer=null,this.detail.dataset.hover==="true"&&this.hoverMenu(),this.menuDetailsHandler()}menuDetailsHandler(){document.addEventListener("click",evt=>{this.detail.hasAttribute("open")&&!this.detail.contains(evt.target)?(this.detail.removeAttribute("open"),this.summary.setAttribute("aria-expanded","false")):this.detail.hasAttribute("open")?this.summary.setAttribute("aria-expanded","false"):this.summary.setAttribute("aria-expanded","true")},{signal:this.abortController.signal})}openMenu(){clearTimeout(this.closeTimer),!this.detail.hasAttribute("open")&&(document.querySelectorAll("nav-dropdown").forEach(other=>{other!==this&&typeof other.closeMenu=="function"&&other.closeMenu()}),this.detail.setAttribute("open",""),this.detail.setAttribute("aria-expanded","true"))}closeMenu(){clearTimeout(this.closeTimer),this.detail.hasAttribute("open")&&(this.detail.removeAttribute("open"),this.detail.setAttribute("aria-expanded","false"))}hoverMenu(){const summaryLink=this.summary.dataset.link;this.summary.addEventListener("click",e=>{e.preventDefault(),this.detail.hasAttribute("open")?window.location.href=summaryLink:this.openMenu()},{signal:this.abortController.signal}),this.detail.addEventListener("focusout",e=>{this.detail.contains(e.relatedTarget)||this.closeMenu()},{signal:this.abortController.signal}),this.detail.addEventListener("keydown",e=>{e.key==="Escape"&&this.detail.hasAttribute("open")&&(this.closeMenu(),this.summary.focus())},{signal:this.abortController.signal}),this.detail.addEventListener("mouseover",()=>this.openMenu(),{signal:this.abortController.signal}),this.detail.addEventListener("mouseleave",()=>{clearTimeout(this.closeTimer),this.closeTimer=setTimeout(()=>this.closeMenu(),300)},{signal:this.abortController.signal})}disconnectedCallback(){clearTimeout(this.closeTimer),this.abortController.abort()}}customElements.define("nav-dropdown",NavDropdown);
2//# sourceMappingURL=/cdn/shop/t/85/assets/nav-dropdown.js.map?v=125328594264597168931790601946

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.