PageSourceSearch

https://museumstore.hmns.org/cdn/shop/t/40/assets/close-cart.js?v=122851508247342011791789141395

js hmns.org collected 2026-10-01 10:24:38 UTC 656 bytes, 2 lines download raw bytes

1import{EVENTS}from"@archetype-themes/utils/events";class CloseCart extends HTMLElement{connectedCallback(){this.abortController=new AbortController,this.cartCloseButton=document.querySelector(".js-close-header-cart"),this.cartCloseButton&&this.cartCloseButton.addEventListener("click",this.handleClick.bind(this),{signal:this.abortController.signal})}handleClick(evt){evt.preventDefault(),evt.target.dispatchEvent(new CustomEvent(EVENTS.cartClose,{bubbles:!0}))}disconnectedCallback(){this.abortController.abort()}}customElements.define("close-cart",CloseCart);
2//# sourceMappingURL=/cdn/shop/t/40/assets/close-cart.js.map?v=122851508247342011791789141395

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.