1import{m as t}from"./modal-context.D19I9kLs.min.js";import{c as e,n as r}from"./vendor-lit.DPhFYw_F.min.js";var o=Object.defineProperty,s=(t,e,r,s)=>{for(var a,i=void 0,d=t.length-1;d>=0;d--)(a=t[d])&&(i=a(e,r,i)||i);return i&&o(e,r,i),i};const a=o=>{class a extends o{get currentTargetId(){return"DIALOG-TOGGLE"===this.tagName||"QUICK-SHOP"===this.tagName?this.modalId:this.id}get modalIsOpen(){return!(!this.currentTargetId||!this.modals.includes(this.currentTargetId))}openModal(){this.currentTargetId&&!this.modalIsOpen&&this.$emit("modal-dialog::open",this.currentTargetId)}closeModal(){this.currentTargetId&&this.modalIsOpen&&this.$emit("modal-dialog::close",this.currentTargetId)}closeAllModals(){this.$emit("modal-dialog::close-all")}}return s([e({context:t,subscribe:!0})],a.prototype,"modals"),s([r({type:String,attribute:"modal-id"})],a.prototype,"modalId"),a};export{a as W};
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.