PageSourceSearch

http://trezlive.com/js/details-modal8b7a.js?v=174966091678971260241757007184

js trezlive.com collected 2026-10-07 19:45:11 UTC 2,122 bytes, 2 lines download raw bytes

1class DetailsModal extends HTMLElement{constructor(){super(),this.detailsContainer=this.querySelector("details"),this.summaryToggle=this.querySelector("summary"),this.modalOverlay=document.querySelector("#ModalOverlay"),this.detailsContainer.addEventListener("keyup",event=>event.code.toUpperCase()==="ESCAPE"&&this.close()),this.summaryToggle.addEventListener("click",this.onSummaryClick.bind(this)),this.querySelector('button[type="button"]').addEventListener("click",this.close.bind(this)),this.summaryToggle.setAttribute("role","button")}isOpen(){return this.detailsContainer.hasAttribute("open")}onSummaryClick(event){event.preventDefault(),event.target.closest("details").hasAttribute("open")?this.close():this.open(event)}onBodyClick(event){(!this.contains(event.target)||event.target.classList.contains("modal-overlay"))&&this.close(!1)}open(event){this.modalOverlay.getAttribute("aria-hidden")==="true"&&this.modalOverlay.setAttribute("aria-hidden","false"),modalOverlay.style.zIndex=4,this.onBodyClickEvent=this.onBodyClickEvent||this.onBodyClick.bind(this),event.target.closest("details").setAttribute("open",!0),document.body.addEventListener("click",this.onBodyClickEvent);const bodyClass=window.isIosDevice?"overflow-hidden-ios":"overflow-hidden";document.body.classList.add(bodyClass),document.body.classList.add("overflow-hidden"),trapFocus(this.detailsContainer.querySelector('[tabindex="-1"]'),this.detailsContainer.querySelector('input:not([type="hidden"])'))}close(focusToggle=!0){this.modalOverlay.getAttribute("aria-hidden")==="false"&&this.modalOverlay.setAttribute("aria-hidden","true"),modalOverlay.style.zIndex=6,removeTrapFocus(focusToggle?this.summaryToggle:null),this.detailsContainer.removeAttribute("open"),document.body.removeEventListener("click",this.onBodyClickEvent),document.body.classList.remove("overflow-hidden");const bodyClass=window.isIosDevice?"overflow-hidden-ios":"overflow-hidden";document.body.classList.remove(bodyClass)}}customElements.define("details-modal",DetailsModal);
2//# sourceMappingURL=/cdn/shop/t/500/assets/details-modal.js.map?v=174966091678971260241757007184

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.