1customElements.get("autopopup-modal")||customElements.define("autopopup-modal",class extends ModalDialog{constructor(){super(),this.delay=parseInt(this.getAttribute("data-delay")),this.frequency=parseInt(this.getAttribute("data-frequency"));const lastShowTime=webvista.getCookie("popup_newsletter_frequency"),frequencyInSeconds=this.frequency*86400,currentTime=Math.floor(Date.now()/1e3);!window.Shopify.designMode&&(lastShowTime==null||currentTime-lastShowTime>=frequencyInSeconds)&&(webvista.setCookie("popup_newsletter_frequency",currentTime.toString()),setTimeout(()=>{this.show()},this.delay*1e3))}}),customElements.get("autopopup-age-verifier")||customElements.define("autopopup-age-verifier",class extends ModalDialog{constructor(){super(),this.boundHandleDecline=this.handleDecline.bind(this),this.boundHandleSatisfy=this.handleSatisfy.bind(this),this.boundHandleReturn=this.handleReturn.bind(this);const debugModel=this.hasAttribute("data-debug-model"),lastVerified=webvista.getCookie("autopopup_age_verifier"),currentTime=Math.floor(Date.now()/1e3);(debugModel||!window.Shopify.designMode&&(lastVerified==null||currentTime-lastVerified>7*86400))&&this.show()}show(){super.show(),this.querySelector("button[data-declined]")?.addEventListener("click",this.boundHandleDecline),this.querySelector("button[data-satisfied]")?.addEventListener("click",this.boundHandleSatisfy)}hide(){super.hide(),this.querySelector("button[data-declined]")?.removeEventListener("click",this.boundHandleDecline),this.querySelector("button[data-satisfied]")?.removeEventListener("click",this.boundHandleSatisfy),this.querySelector("button[data-return]")?.removeEventListener("click",this.boundHandleReturn)}handleDecline(){this.classList.add("age-verifier--has-decline"),this.querySelector("button[data-return]")?.addEventListener("click",this.boundHandleReturn)}handleSatisfy(){const currentTime=Math.floor(Date.now()/1e3);webvista.setCookie("autopopup_age_verifier",currentTime),this.hide()}handleReturn(){this.classList.remove("age-verifier--has-decline")}}); 2//# sourceMappingURL=/cdn/shop/t/9/assets/autopopup-modal.js.map?v=89309770645552824181761878804
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.