1import{C as n}from"./site.4FScMMdi.js";import"./password-strength.AqUmoxgQ.js";class o extends n{connect(){const e=this.getTarget();e&&(this.element.addEventListener("focus",()=>{this.moveTarget(),e.removeAttribute("hidden")}),this.element.addEventListener("click",()=>{this.moveTarget(),e.removeAttribute("hidden")}),this.element.addEventListener("blur",()=>{e.setAttribute("hidden","hidden")}),this.element.addEventListener("keyup",t=>{t.code==="Escape"&&e.setAttribute("hidden","hidden")}))}getTarget(){return document.getElementById(this.element.getAttribute("aria-describedby")??"")}moveTarget(){const e=this.getTarget();if(!e)return;document.body.appendChild(e);const t=this.element.getBoundingClientRect();window.requestAnimationFrame(()=>{e.style.left=t.left+t.width/2-e.getBoundingClientRect().width/2+"px",e.style.top=t.bottom+window.scrollY+"px"})}}export{o as default}; 2//# sourceMappingURL=popover_controller.DSxKLXRi.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.