1import{r as a}from"./index-DS8uTh6M.js";const o="cc-theme-popup-dismissed";a("section-popup",{onLoad(){const e=this.container.querySelectorAll(".js-popup-close"),s=this.container.querySelector(".cc-popup-form__response");let{dismissForDays:p,delaySeconds:i,testMode:n}=this.container.dataset;const c=window.localStorage.getItem(o);let t=!0;if(c){const r=(new Date().getTime()-c)/864e5;Number(r)<Number(p)&&(t=!1)}s&&(t=!0,i=1,s.classList.contains("cc-popup-form__response--success")&&this.popupSetAsDismissed(o)),document.querySelector(".shopify-challenge__container")&&(t=!1),(t||n==="true")&&setTimeout(()=>{this.open(),this.popupSetAsDismissed(o)},i*1e3),(e||e.length)&&this.close(e)},open(){this.container.classList.add("cc-popup--visible")},close(e){e.forEach(s=>{s.addEventListener("click",()=>{this.container.classList.remove("cc-popup--visible")})})},popupSetAsDismissed(e){window.localStorage.setItem(e,new Date().getTime())}});
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.