PageSourceSearch

https://magazinecanteen.com/cdn/shop/t/154/assets/added-notification.js?v=21481061829677182921777110922

js magazinecanteen.com collected 2026-10-02 21:09:27 UTC 1,324 bytes, 2 lines download raw bytes

1if(!customElements.get("added-notification")){const AddedNotification=class extends HTMLElement{connectedCallback(){this.dismissOthers(),this.setProductTitle(this.dataset.productTitle),this.display()}disconnectedCallback(){clearTimeout(this.delayedDismissTimeout)}dismissOthers(){document.querySelectorAll(".added-notification").forEach(notification=>{notification!==this&&notification.dismiss()})}setProductTitle(productTitle){this.querySelector(".added-notification__message-title").innerText=productTitle}display(){setTimeout(()=>this.classList.remove("added-notification--hidden"),10),this.delayedDismissTimeout=setTimeout(this.dismiss.bind(this),6e3),this.querySelector(".added-notification__close").addEventListener("click",this.dismiss.bind(this)),theme.settings.cartType==="drawer"&&this.querySelectorAll('.added-notification__message-text a[href$="/cart"]').forEach(el=>{el.addEventListener("click",evt=>{evt.preventDefault(),document.querySelector(".js-cart-drawer").open(evt.currentTarget),this.dismiss()})})}dismiss(evt){evt&&evt.preventDefault(),this.classList.add("added-notification--dismissed"),setTimeout(this.remove.bind(this),2e3)}};window.customElements.define("added-notification",AddedNotification)}
2//# sourceMappingURL=/cdn/shop/t/154/assets/added-notification.js.map?v=21481061829677182921777110922

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.