1import{B as c}from"./BaseElement.DUV4NqCX.min.js";import{c as l}from"./quickshop.CQYPJqsz.min.js";import{W as h}from"./WithModalDialog.SIEJuGgx.min.js";import{c as n}from"./consume.CHsRYPSi.min.js";import{t as m}from"./custom-element.BhZVzxrc.min.js";import"./lit-element.mvcqtviJ.min.js";import{e as u}from"./query.CpiO8Lcb.min.js";import"./create-context.89xeped_.min.js";import"./modal-context.eEhUllgb.min.js";import"./property.C7OeqhA5.min.js";import"./context-request-event.CcEA9XIP.min.js";import"./base.CShCMygk.min.js";var f=Object.defineProperty,b=Object.getOwnPropertyDescriptor,a=(o,e,s,i)=>{for(var t=i>1?void 0:i?b(e,s):e,p=o.length-1,d;p>=0;p--)(d=o[p])&&(t=(i?d(e,s,t):d(t))||t);return i&&t&&f(e,s,t),t};let r=class extends h(c){handleQuickShopClose(){this.quickShop&&this.closeModal()}connectedCallback(){super.connectedCallback(),window.addEventListener("cart:items-added",this.handleQuickShopClose.bind(this))}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("cart:items-added",this.handleQuickShopClose.bind(this))}updated(o){super.updated(o),this.quickShop&&(this.$dialog.url=this.quickShop,this.openModal())}firstUpdated(o){if(super.firstUpdated(o),!this.quickShop)return this.closeModal()}};a([u("modal-dialog")],r.prototype,"$dialog",2);a([n({context:l,subscribe:!0})],r.prototype,"quickShop",2);r=a([m("quick-shop")],r);
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.