1import{g as S,_ as I,d as B,h as D}from"./app-co0WSqPV.js";var k={exports:{}};/*! 2 * JavaScript Cookie v2.2.1 3 * https://github.com/js-cookie/js-cookie 4 * 5 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack 6 * Released under the MIT license 7 */(function(t,v){(function(u){var p;if(t.exports=u(),p=!0,!p){var d=window.Cookies,i=window.Cookies=u();i.noConflict=function(){return window.Cookies=d,i}}})(function(){function u(){for(var i=0,o={};i<arguments.length;i++){var f=arguments[i];for(var l in f)o[l]=f[l]}return o}function p(i){return i.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function d(i){function o(){}function f(n,r,e){if(!(typeof document>"u")){e=u({path:"/"},o.defaults,e),typeof e.expires=="number"&&(e.expires=new Date(new Date*1+e.expires*864e5)),e.expires=e.expires?e.expires.toUTCString():"";try{var g=JSON.stringify(r);/^[\{\[]/.test(g)&&(r=g)}catch{}r=i.write?i.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a="";for(var c in e)e[c]&&(a+="; "+c,e[c]!==!0&&(a+="="+e[c].split(";")[0]));return document.cookie=n+"="+r+a}}function l(n,r){if(!(typeof document>"u")){for(var e={},g=document.cookie?document.cookie.split("; "):[],a=0;a<g.length;a++){var c=g[a].split("="),s=c.slice(1).join("=");!r&&s.charAt(0)==='"'&&(s=s.slice(1,-1));try{var C=p(c[0]);if(s=(i.read||i)(s,C)||p(s),r)try{s=JSON.parse(s)}catch{}if(e[C]=s,n===C)break}catch{}}return n?e[n]:e}}return o.set=f,o.get=function(n){return l(n,!1)},o.getJSON=function(n){return l(n,!0)},o.remove=function(n,r){f(n,"",u(r,{expires:-1}))},o.defaults={},o.withConverter=d,o}return d(function(){})})})(k);var O=k.exports;const h=S(O),E=30;function T({node:t,plugins:{addEvents:v,device:u}}){if(!t)return;const p=document.getElementById("page-wrapper"),d=190,i=105,{id:o,popup:f,globalPopup:l,isGlobal:n,type:r}=t.dataset,e=r==="globalPopup";function g(){const m=h.get(f),x=!!m&&m===o,y=n==="1"?h.get(l):void 0;return x||!!y&&y===o}function a(m){m.key==="Escape"&&c()}function c(){h.set(f,o,{expires:E}),n==="1"&&h.set(l,o,{expires:E}),e&&document.removeEventListener("keydown",a),t.classList.add("is-hidden"),window.innerWidth>=1200&&t.id==="global-popup-header"&&(p.style.marginTop=`${d}px`),setTimeout(()=>{document.querySelectorAll("[data-popup]").forEach(x=>x.remove())},300)}function s(m){m.target===t&&c()}function C(){g()||(t.classList.remove("is-hidden"),window.innerWidth>=1200&&t.id==="global-popup-header"&&(p.style.marginTop=`${d+t.clientHeight}px`),e&&document.addEventListener("keydown",a))}C();function w(){window.innerWidth>=1200?p.style.marginTop=`${d+t.clientHeight}px`:p.style.marginTop=`${i}px`}v({"click [data-dismiss]":c,...e?{click:s}:{}}),t.id==="global-popup-header"&&u.resize(w)}const L=I(B,D)(T);export{L as default}; 8//# sourceMappingURL=PopupBanner-CoOs51gu.js.map
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.