1(()=>{"use strict";var E={7557:(e,r,t)=>{var d=t(4873),n=t(5303);class a{constructor(l,w){if(!l)return;this.options=typeof w=="object"?w:null;const{modalId:i,triggerEl:f,toggleEl:_,focusEl:y,timerReveal:g}=this.options,M=localStorage.getItem(`timerPopup-${i}`);if(!i)throw new Error("Missing modalId");const S=l.querySelectorAll(`[data-modal-close="modal--${i}"]`);this.modalIsOpen=!1;const O=(0,n.v)(l,{initialFocus:y,allowOutsideClick:!0});if(this.showModal=()=>{l.setAttribute("aria-modal",!0),l.removeAttribute("aria-hidden"),l.classList.add("modal--visible"),document.documentElement.classList.add("modal-js--open"),document.documentElement.classList.add(`${i}-modal-js--open`),setTimeout(()=>{O.activate()},500),this.modalIsOpen=!0,_?.forEach(o=>o.classList.add("is-active")),f?.forEach(o=>o.classList.add("is-active"))},this.closeModal=()=>{l.removeAttribute("aria-modal"),l.setAttribute("aria-hidden",!0),l.classList.remove("modal--visible"),O.deactivate(),this.modalIsOpen=!1,_?.forEach(o=>o.classList.remove("is-active")),f?.forEach(o=>o.classList.remove("is-active")),document.documentElement.classList.remove(`${i}-modal-js--open`),document.querySelector(".modal--visible")||document.documentElement.classList.remove("modal-js--open"),window.dispatchEvent(new Event(`${i}-modal-closed`))},this.toggleModal=()=>{this.modalIsOpen?this.closeModal():this.showModal()},l.addEventListener("click",o=>{o.target.closest(".modal__dialog")||this.closeModal()}),document.documentElement.addEventListener("click",o=>{o.target.closest(".modal__dialog")||!this.modalIsOpen||(o.preventDefault(),o.stopPropagation(),this.closeModal())},{capture:!0}),window.addEventListener("closeModal",()=>{this.closeModal()}),window.addEventListener(`${i}-open-modal`,()=>{this.showModal()}),window.addEventListener(`${i}-close-modal`,()=>{this.closeModal()}),_?.forEach(o=>{o.addEventListener("click",v=>{v.preventDefault(),this.toggleModal()})}),f?.forEach(o=>{o.addEventListener("click",v=>{v.preventDefault(),this.showModal()})}),g&&window.localStorage){let o=new Date;o=o.setHours(o.getHours()),(!M||M<=o)&&window.setTimeout(()=>{this.showModal()},g)}S?.forEach(o=>{o.addEventListener("click",v=>{if(v.preventDefault(),this.closeModal(),g&&window.localStorage&&i){if(M>new Date)return;let b=new Date;b=b.setHours(b.getHours()+24),localStorage.setItem(`timerPopup-${i}`,b)}})})}}const c="popup",p=typeof(window.Shopify?.theme?.sections?.registered||{})[c]=="undefined"&&(0,d.z2)(c,{onLoad(){const m=this.container,l=m.dataset.sectionId,w=Number(m.dataset.timerDelay)*1e3,i=m.querySelector(`#modal--${l}`);if(!i)return;const f=i.querySelector("[data-modal-close]"),_=new a(i,{modalId:l,focusEl:f,timerReveal:w})}})}},k={};function s(e){var r=k[e];if(r!==void 0)return r.exports;var t=k[e]={exports:{}};return E[e].call(t.exports,t,t.exports,s),t.exports}s.m=E,(()=>{var e=[];s.O=(r,t,d,n)=>{if(t){n=n||0;for(var a=e.length;a>0&&e[a-1][2]>n;a--)e[a]=e[a-1];e[a]=[t,d,n];return}for(var c=Infinity,a=0;a<e.length;a++){for(var[t,d,n]=e[a],h=!0,u=0;u<t.length;u++)(n&!1||c>=n)&&Object.keys(s.O).every(f=>s.O[f](t[u]))?t.splice(u--,1):(h=!1,n<c&&(c=n));if(h){e.splice(a--,1);var p=d();p!==void 0&&(r=p)}}return r}})(),(()=>{s.d=(e,r)=>{for(var t in r)s.o(r,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})}})(),(()=>{s.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r)})(),(()=>{s.r=e=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}})(),(()=>{s.j=518})(),(()=>{var e={518:0};s.O.j=d=>e[d]===0;var r=(d,n)=>{var[a,c,h]=n,u,p,m=0;for(u in c)s.o(c,u)&&(s.m[u]=c[u]);if(h)var l=h(s);for(d&&d(n);m<a.length;m++)p=a[m],s.o(e,p)&&e[p]&&e[p][0](),e[a[m]]=0;return s.O(l)},t=globalThis.webpackChunkstarter_theme=globalThis.webpackChunkstarter_theme||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var L=s.O(void 0,[293],()=>s(7557));L=s.O(L)})();
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.