PageSourceSearch

https://www.joyce.org/dist/vite/site/js/popover_controller.Dc_O7S_U.js

js joyce.org collected 2026-09-24 18:22:02 UTC 938 bytes, 2 lines download raw bytes

1import{C as n}from"./site.B0Uxz9u8.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.Dc_O7S_U.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.