1(async()=>{const{Core}=await importModule("Core");customElements.define("product-variant-listener",class extends Core{subscriptions={"variant:update":"_onVariantChange"};isMetaHidden=!1;render(){this.emptyable=this.hasAttribute("emptyable"),this.$meta=this.closest("[data-meta-block]"),this.emptyable&&this.isEmpty&&this._setMetaHidden(),this.subscribe("variant:update")}_onVariantChange({targets}){this._replaceContent(targets[this.id]),(this.emptyable||this.isMetaHidden)&&this._setMetaHidden()}_replaceContent(to){const target=to.content||to;this.replaceChildren(...target.cloneNode(!0).childNodes)}_setMetaHidden(state){this.isMetaHidden=state===void 0?this.isEmpty:state,this.$meta.toggleAttribute("hidden",this.isMetaHidden)}get isEmpty(){return this.textContent.trim()===""}})})(); 2//# sourceMappingURL=/cdn/shop/t/23/assets/product-variant-listener.js.map?v=69734472836819161151785249256
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.