PageSourceSearch

https://proveg.org/wp-content/themes/proveg-b2c/build/popup.js?ver=1790074595

js proveg.org collected 2026-09-24 18:58:39 UTC 2,653 bytes, 1 lines download raw bytes

1(()=>{var e={8049:()=>{"function"!=typeof window.setCookie&&(window.setCookie=function(e,t,o){var n="";if(o){var i=new Date;i.setTime(i.getTime()+24*o*60*60*1e3),n="; expires="+i.toUTCString()}document.cookie=e+"="+(t||"")+n+"; SameSite=Strict; Path=/"}),"function"!=typeof window.getCookie&&(window.getCookie=function(e){for(var t=e+"=",o=document.cookie.split(";"),n=0;n<o.length;n++){for(var i=o[n];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null}),"function"!=typeof window.eraseCookie&&(window.eraseCookie=function(e){document.cookie=e+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"})}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";o(8049),window.addEventListener("pageshow",(()=>function(e){const t=document.querySelectorAll(e);if(!t.length)return;let o=!1;t.forEach((e=>{const t=e.getAttribute("id"),n=e.getAttribute("popup-appear-style"),i=1e3*parseInt(e.getAttribute("seconds-to-wait"),10),r=parseInt(e.getAttribute("popup-count"),10),s=getCookie(t),a=s?parseInt(s,10):r,c=sessionStorage.getItem(t),d=()=>{const e=a-1;e>0?setCookie(t,e.toString(),30):0!==a&&setCookie(t,-1,30),sessionStorage.setItem(t,!0)},p=()=>{document.body.style.overflow="hidden",e.style.display="flex",e.style.opacity="0",e.style.transition="opacity 300ms var(--wp--custom--easing)",e.style.opacity="1"},l=()=>{document.body.removeEventListener("mouseleave",l),p(),d(),o=!0},u=()=>{e.style.opacity="0",e.addEventListener("transitionend",(()=>{e.style.display="none",document.body.style.overflow=""}),{once:!0})};if((0===r&&a<r||a>r)&&eraseCookie(t),-1===parseInt(s,10)||c||o)"on_seconds"!==n&&"exit_intend"!==n||(e.style.display="none");else switch(n){case"on_seconds":setTimeout((()=>{o||(p(),d(),o=!0)}),i);break;case"exit_intend":document.body.addEventListener("mouseleave",(()=>{o||l()}));break;default:u(),eraseCookie(t)}document.addEventListener("click",(e=>{e.target.closest(`[href*="#${t}"]`)&&(e.preventDefault(),e.stopPropagation(),p())})),e.addEventListener("click",u),e.querySelectorAll(".modal-close").forEach((e=>{e.addEventListener("click",(e=>{e.stopPropagation(),u()}))})),document.addEventListener("keyup",(e=>{"Escape"===e.key&&u()})),e.querySelector(".popup-modal-clip")?.addEventListener("click",(e=>e.stopPropagation()))}))}(".proveg-popup[id]")))})()})();

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.