1import{C as r,d as s,a}from"./site.B0Uxz9u8.js";import"./password-strength.AqUmoxgQ.js";const t=class t extends r{connect(){window.addEventListener("scroll",this.applyScrolledClassName.bind(this))}get buttons(){var e;return(e=this.headerTarget)==null?void 0:e.querySelectorAll('[aria-controls][aria-expanded="true"]')}get announcementBarHeight(){return this.hasAnnouncementBarTarget?this.announcementBarTarget.clientHeight:0}get headerReferenceHeight(){return!this.hasSuckerfishTarget||this.suckerfishTarget.clientHeight<1?this.fixedBoxTarget.clientHeight:this.headerTarget.clientHeight}get scrollPastPoint(){return this.hasAnnouncementBarTarget?this.announcementBarHeight+this.headerReferenceHeight:this.headerReferenceHeight}closeMenus(){this.buttons.forEach(e=>{e.click()})}applyScrolledClassName(){let e;window.scrollY===void 0?e=window.pageYOffset:e=window.scrollY,e>this.scrollPastPoint?this.headerTarget.classList.contains("is-scrolled")||(this.headerTarget.classList.add("is-scrolled"),s(a.HeaderScrolled,{detail:{position:e}})):this.headerTarget.classList.contains("is-scrolled")&&(this.headerTarget.classList.remove("is-scrolled"),s(a.HeaderUnscrolled,{detail:{position:e}})),this.closeMenus()}};t.targets=["announcementBar","suckerfish","fixedBox","header"];let i=t;export{i as default}; 2//# sourceMappingURL=sticky_header_controller.B2uOLFp5.js.map
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.