1import{d as m}from"./chunk-RYXPESFM.js";import"./chunk-YOI4KDGN.js";import{t as w}from"./chunk-O2BB4VPE.js";w();jeef.JeefEvents||(jeef.JeefEvents=m.getInstance());function b(){(function(e,n,t,a,c,f,d,h){if(e.CPObject=t,!e[t]){e[t]=function(){for(var l=arguments.length,r=new Array(l),s=0;s<l;s++)r[s]=arguments[s];var u=r[0],o=r[1],y=r[2];if(e[t].q||(e[t].q=[]),c=Array.prototype.slice.call(arguments,0),!e[t].patched){if(u==="fatal"&&o)e[t].le=o,Array.prototype.forEach.call(e[t].q,function(i){i[0]==="error"&&typeof i[1]=="function"&&i[1](o)});else if(u==="error"&&typeof o=="function")e[t].le&&o(e[t].le);else if(u==="extension"&&o)y&&typeof y.init=="function"&&(y.init(),y.initialized=!0);else if(u==="authenticate"&&typeof o=="function"){try{f=(n.cookie||"").indexOf("_cpauthhint=")===-1&&!(e.localStorage||{})._cpuser&&e.location.href.toLowerCase().indexOf("cpauthenticated")===-1}catch(i){f=!1}if(f){d={isLoggedIn:function(){return!1},hasValidSubscription:function(){return!1}};var v=o,g=!1,p=function(i,L){g||(g=!0,v(i,L))};if(c[1]=p,typeof n.hasPrivateToken=="function")try{n.hasPrivateToken(a||"https://my.contentpass.net").then(function(i){i||p(null,d)}).catch(function(){})}catch(i){}else p(null,d)}}}e[t].q.push(c)};try{((h=(n.cookie.split("_cpauthhint=")[1]||"").split(";")[0])?Number(h[1]):NaN)>0&&(n.body?n.body.classList.add("cpauthenticated"):n.addEventListener("DOMContentLoaded",function(){n.body.classList.add("cpauthenticated")}))}catch(l){}e[t].l=+new Date,e[t].sv=6}})(window,document,"cp",void 0,void 0,void 0,void 0,void 0)}function E(){let e=window.cp;e("extension","didomi",{version:1,init:function(){(function(){let n=window;n.didomiConfig||(n.didomiConfig={}),n.didomiConfig.notice||(n.didomiConfig.notice={}),n.didomiConfig.notice.enable=!1})(),e("error",function(){let n=window;n.didomiOnReady=n.didomiOnReady||[],n.didomiOnReady.push(function(t){let a=t.getConfig()||{};t.configure({...a,notice:{...a.notice,enable:!0}})})})}})}function j(e){let n=document.createElement("script");n.src="".concat(e,"/now.js"),n.async=!0,n.fetchPriority="high",n.onerror=function(){window.cp("fatal",new Error("ContentPass SDK failed to load"))},document.head.appendChild(n)}function S(e,n){var a,c;if(((c=(a=window.jeeiSite)==null?void 0:a.dyn)==null?void 0:c.contentpassLoaded)===!0)return;window.jeeiSite.dyn.contentpassLoaded=!0,b();let t=window.cp;t("create",e,{baseUrl:n}),t("render",{onFullConsent:function(){}}),t("authenticate",function(f,d){f||d.isLoggedIn()&&d.hasValidSubscription()}),E(),j(n)}export{S as 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.