PageSourceSearch

https://sellyourstuffonline.nl/cdn/shop/t/78/assets/cart-notification.js?v=128432150800593310421765816428

js sellyourstuffonline.nl collected 2026-09-25 18:46:21 UTC 1,871 bytes, 2 lines download raw bytes

1class CartNotification extends ModalDialog{constructor(){super(),this.notification=document.getElementById("cart-notification"),this.onBodyClick=this.handleBodyClick.bind(this),this.querySelectorAll('button[type="button"]').forEach(closeButton=>closeButton.addEventListener("click",this.close.bind(this)))}open(){document.body.addEventListener("click",this.onBodyClick),this.show(null)}close(){document.body.removeEventListener("click",this.onBodyClick),removeTrapFocus(this.activeElement),this.hide()}renderContents(parsedState){this.cartItemKey=parsedState.key,this.getSectionsToRender().forEach((section=>{document.getElementById(section.id)&&(document.getElementById(section.id).innerHTML=this.getSectionInnerHTML(parsedState.sections[section.id],section.selector)),section.id=="cart-free-delivery"&&document.querySelector("#product-page-free-delivery")&&(document.querySelector("#product-page-free-delivery").innerHTML=this.getSectionInnerHTML(parsedState.sections[section.id],section.selector))})),this.open()}getSectionsToRender(){return[{id:"cart-notification-product",selector:`[id="cart-notification-product-${this.cartItemKey}"]`},{id:"cart-notification-button"},{id:"cart-icon-bubble"},{id:"cart-icon-bubble--mobile"},{id:"cart-free-delivery"}]}getSectionInnerHTML(html,selector=".shopify-section"){return new DOMParser().parseFromString(html,"text/html").querySelector(selector).innerHTML}handleBodyClick(evt){const target=evt.target;if(target!==this.notification&&!target.closest("cart-notification")){const disclosure=target.closest("details-disclosure");this.activeElement=disclosure?disclosure.querySelector("summary"):null,this.close()}}setActiveElement(element){this.activeElement=element}}customElements.define("cart-notification",CartNotification);
2//# sourceMappingURL=/cdn/shop/t/78/assets/cart-notification.js.map?v=128432150800593310421765816428

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.