1const{Core,Store,Events,DOMEvents}=Global;function _isPositionEqual(position){return element=>element.dataset.position===position}customElements.define("product-quick-view",class extends Core{elements={$:[["media"]],slider:"slideshow-blaze"};render(){this.sub(Events.CART_UPDATE,this._closeModal,{global:!0}),this.sub(Events.VARIANT_UPDATE,this._handleVariantUpdate)}_closeModal(){this.dispatchEvent(DOMEvents.MODAL_CLOSE)}_handleVariantUpdate({imagePosition}){if(!imagePosition||!this.$("slider"))return;const index=this.$("media").findIndex(_isPositionEqual(imagePosition));index>=0&&(this.$("slider").slideTo(index),this.$("slider").setProp("initial-index",index))}}); 2//# sourceMappingURL=/cdn/shop/t/23/assets/product-quick-view.js.map?v=90868044667799795801750189549
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.