1import{b as i}from"./config-bsQLOHHs.js";class n{constructor(t){this.el=t,this.width=0,this.expanded=!1,this.mobileMode=!0,this.resizeRequested=!1,this.resizeTimeout=null,this.buttonArea=t.querySelector(".sticky-cta-bar--button"),this.contentArea=t.querySelector(".sticky-cta-bar--content"),this.buttonArea!=null&&this.contentArea!=null&&(this.contentArea.setAttribute("aria-hidden",!0),this.toggleBtn=this.buttonArea.querySelector("button"),this.toggleBtn!=null&&this.toggleBtn.addEventListener("click",()=>{this.toggleContent()}),this.ro=new ResizeObserver(s=>{if(!this.resizeRequested)for(let r of s){const e=r.contentRect;e.width!=this.width&&(this.width=e.width,this.resizeRequested=!0,this.resizeTimeout=setTimeout(()=>{this.resize(),this.resizeRequested=!1,this.resizeTimeout=null},200))}}),this.ro.observe(this.el))}toggleContent(){this.expanded?(this.contentArea.setAttribute("aria-hidden",!0),this.toggleBtn.setAttribute("aria-expanded",!1),this.expanded=!1):(this.contentArea.removeAttribute("aria-hidden"),this.toggleBtn.setAttribute("aria-expanded",!0),this.expanded=!0)}resize(){this.width<i.LG&&!this.mobileMode?this.mobileMode=!0:this.width>i.LG&&this.mobileMode&&(this.mobileMode=!1)}}new n(document.getElementById("sticky-cta-bar"));
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.