PageSourceSearch

https://cdn.4camping.sk/assets/cache/js.4camping.cz.asgard.popup-f…lecting-subscribers.d3d3920ec3615507245f.js

js 4camping.sk collected 2026-10-06 04:37:13 UTC 1,774 bytes, 1 lines download raw bytes

1ns("Shopio.PopupForCollectingSubscribers"),function(){"use strict";Shopio.PopupForCollectingSubscribers=function(){this.wasDisplayed=!1,this.voucherData=null,this.modal=new Shopio.PopupForm},Shopio.PopupForCollectingSubscribers.COOKIE="popup",Shopio.PopupForCollectingSubscribers.COOKIE_EXPIRES=7,Shopio.PopupForCollectingSubscribers.prototype.couldBeDisplayed=function(){return!this.wasDisplayed&&!Cookies.get(Shopio.PopupForCollectingSubscribers.COOKIE)&&!this.modal.isAnotherModalVisible()},Shopio.PopupForCollectingSubscribers.prototype.init=function(){var o=this;(!window.matchMedia||window.matchMedia("(min-width:1024px)").matches)&&($("body").on("mouseleave.shopio.popupForCollectingSubscribers",function(i){o.couldBeDisplayed()&&(i.offsetX<=0||i.offsetX>=document.body.clientWidth||i.offsetY<=0||i.offsetY>=window.innerHeight)&&o.modal.show(data.urlLangPrefix+"newsletter/popup/")}),this.modal.onBeforeShow=function(){o.voucherData=$("form[data-voucher]",this.$modal).data("voucher"),this.$modal.on("show",function(){$(document).trigger("displayed.shopio.popupForCollectingSubscribers",o.voucherData),o.wasDisplayed=!0,setTimeout(()=>{$(document).trigger({type:"show.shopio.modal.bs",target:this.$modal})},250)}),this.$modal.on("hidden",function(){o.setCookie()})},this.modal.onAfterSubmit=function(i){void 0!==i.data&&void 0!==i.data.voucherSent&&(o.setCookie(),$(document).trigger("submitted.shopio.popupForCollectingSubscribers",{voucherData:o.voucherData,result:i.data.voucherSent}))})},Shopio.PopupForCollectingSubscribers.prototype.setCookie=function(){Cookies.set(Shopio.PopupForCollectingSubscribers.COOKIE,"1",{expires:Shopio.PopupForCollectingSubscribers.COOKIE_EXPIRES,sameSite:"Lax"})},$(function(){(new Shopio.PopupForCollectingSubscribers).init()})}();

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.