PageSourceSearch

https://siolsvision.com/cdn/shop/t/13/assets/sections-promo-popup.…?v=83848344301123715231736777868

js siolsvision.com collected 2026-10-10 01:13:58 UTC 1,521 bytes, 1 lines download raw bytes

1import{a as e}from"./shared-import-js.cookie.bundle.min.js";document.addEventListener("alpine:init",(()=>{Alpine.data("ThemeSection_PromoPopup",(o=>({delay:o.delay,frequency:o.frequency,enabled:o.enabled,sectionId:o.sectionId,cookie:e.get("promoPopup"),mounted(){if("/challenge"===window.location.pathname)return;initTeleport(this.$root),Alpine.store("modals").register("promoPopup","promo"),document.body.addEventListener("promo-is-closed",(o=>{e.set("promoPopup","opened",{path:"/",expires:this.frequency})}));const o=this.$refs.teleported.content.querySelector("template").content;o&&o.querySelectorAll(".errors, .form-message").length>0&&"opened"!==this.cookie&&this.open(),o&&o.querySelectorAll(".form-message").length>0&&"opened"!==this.cookie&&e.set("promoPopup","opened",{path:"/",expires:200}),Shopify.designMode?(window.theme.designMode.selected===this.sectionId&&(!0===this.enabled?this.open():Alpine.store("modals").close("promoPopup")),document.addEventListener("shopify:section:select",(e=>{e.target.contains(this.$root)&&this.enabled&&this.open()})),document.addEventListener("shopify:section:deselect",(e=>{e.target.contains(this.$root)&&this.$store.modals.close("promoPopup")}))):"opened"!==this.cookie&&setTimeout((()=>{this.open();const e=o=>{"ESCAPE"===o.code.toUpperCase()&&(this.$store.modals.close("promoPopup"),document.body.removeEventListener("keydown",e))};document.body.addEventListener("keydown",e)}),1e3*this.delay)},open(){this.$store.modals.open("promoPopup"),this.$focus.first()}})))}));

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.