PageSourceSearch

https://topshelfdistillers.com/cdn/shop/t/180/assets/custom-modal.js?v=178336547008131800401784125861

js topshelfdistillers.com collected 2026-10-01 00:14:04 UTC 1,320 bytes, 2 lines download raw bytes

1class ModalDialog extends HTMLElement{constructor(){super(),this.modal=this.querySelector(".modal"),this.modalOpeners=document.querySelectorAll('[data-modal-opener="'+this.id+'"]'),this.modalOpeners.length>0&&this.modalOpeners.forEach(opener=>{opener.addEventListener("click",()=>{this.show(opener)})}),this.querySelector('[id^="ModalClose-"]')&&this.querySelector('[id^="ModalClose-"]').addEventListener("click",this.hide.bind(this)),this.addEventListener("click",event2=>{event2.target.nodeName==="MODAL-DIALOG"&&this.hide()}),this.addEventListener("keyup",()=>{event.code.toUpperCase()==="ESCAPE"&&this.hide()})}show(opener){this.openedBy=opener,this.modal.classList.add("open"),siteOverlay.prototype.showOverlay(),Utility.trapFocus(this),Utility.forceFocus(this.querySelector('[id^="ModalClose-"]'))}hide(){document.body.classList.remove("overflow-hidden"),this.modal.classList.remove("open"),siteOverlay.prototype.hideOverlay(),Utility.removeTrapFocus(this.openedBy),this.id=="PopupModal-video"&&document.getElementsByTagName("custom-video")&&(this.querySelector(".video-section").innerHTML="",document.querySelector("custom-video").classList.remove("show--video"))}}customElements.define("modal-dialog",ModalDialog);
2//# sourceMappingURL=/cdn/shop/t/180/assets/custom-modal.js.map?v=178336547008131800401784125861

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.