1class t extends HTMLElement{constructor(){super(),this.mainDetailsToggle=this.querySelector("details"),this.content=this.mainDetailsToggle.querySelector("summary").nextElementSibling,this.mainDetailsToggle.addEventListener("focusout",this.onFocusOut.bind(this)),this.mainDetailsToggle.addEventListener("toggle",this.onToggle.bind(this)),this.mainDetailsToggle.addEventListener("mouseenter",this.onHover.bind(this)),this.mainDetailsToggle.addEventListener("mouseleave",this.onHoverLeave.bind(this))}onFocusOut(){setTimeout(()=>{this.contains(document.activeElement)||(this.onHoverLeave(),this.close())})}onToggle(){this.animations||(this.animations=this.content.getAnimations()),this.mainDetailsToggle.hasAttribute("open")?this.animations.forEach(e=>e.play()):this.animations.forEach(e=>e.cancel())}close(){this.mainDetailsToggle.removeAttribute("open"),this.mainDetailsToggle.querySelector("summary").setAttribute("aria-expanded",!1)}onHover(){}onHoverLeave(){}}window.customElements.get("details-disclosure")||window.customElements.define("details-disclosure",t);export{t as D};
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.