1if(!customElements.get("op-cross-sell-popup")){class OpCrossSellPopup extends HTMLElement{connectedCallback(){subscribe(PUB_SUB_EVENTS.cartUpdate,payload=>{const productHandle=payload.productHandle,accessoriesGrid=this.closest(`[data-accessory-handle="${productHandle}"]`);accessoriesGrid&&document.querySelector(`cart-drawer ${this.tagName}`).replaceWith(accessoriesGrid.querySelector(this.tagName)),this.classList.remove("tw-hidden"),this.classList.add("tw-block","tw-animate-fade-in")}),document.addEventListener("cart-drawer:close",()=>{this.classList.add("tw-hidden"),this.classList.remove("tw-block","tw-animate-fade-in")})}}customElements.define("op-cross-sell-popup",OpCrossSellPopup)} 2//# sourceMappingURL=/cdn/shop/t/2/assets/op-product-cross-sell-popup.js.map?v=32187494827888233861758708272
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.