window.OBR||(function(){window.OBR={_jsc:{},"env":2,"settings":{"fraudDetection":"0","disableLocalStorageGdpr":true,"delayWidgetTime":0,"delayWidgetInterval":0,"disableLslGdprEuUsers":false,"enableDebuggingReports":0,"loadingOnGDPRSignal":0,"skipAdblock":0,"intentiqEnabled":true,"rampidEnabled":true,"utiqEnabled":true,"id5Enabled":true,"uid2Enabled":true,"pubcidEnabled":true,"inlinePublisherScript":0,"colorSchemesSupportedPlatforms":"desktop,mobile,app-bridge","connectedAdsWidgetIds":"CRMB_21,MB_24,CRMB_21,CR_30,CR_30,MB_23,CRMB_61,CRMB_61,CRMB_60,CRMB_60,CRMB_4,CRMB_4,CR_10,CR_10,AR_1,AR_1,CRMB_1,CRMB_1","_pid":"2491","country":"FR","gdpr":1,"epm":true,"domain":"www.bfmtv.com","ab":"1550-5794-5795~100"}};OBR.error=function(a){var e=["www.vanguardngr.com"];if(a!==!0){var b,d=document,k=window.OB_releaseVer,l=window.OBR&&OBR.env?OBR.env:1,m=a.isMonitorRepeated?"&isMonitorRepeated=true":"",n=a.errorEleUrl?"&errorEleUrl="+encodeURIComponent(a.errorEleUrl):"",p=window.OBR&&OBR.settings&&(OBR.settings.disableLocalStorageGdpr||OBR.settings.disableStorageAndCookies===1),f=OBR.localStorageAvailable;e=window.location&&window.location.hostname&&e.indexOf(window.location.hostname)>-1;if(!d.getElementById("obMntor")&&
!e){var h=function(){b=d.createElement("iframe");b.setAttribute("id","obMntor");b.style.display="none";d.body.appendChild(b);var c="https://widgets.outbrain.com/widgetMonitor/monitor.html?name="+encodeURIComponent(a.name)+"&env="+l+"&message="+encodeURIComponent(a.message)+m+"&stack="+encodeURIComponent(a.stack)+"&ver="+encodeURIComponent(k)+"&ren="+encodeURIComponent(OBR.ren)+n;window.OBR&&OBR.monitorData&&(OBR.monitorData.sourceId&&(c+="&sId="+OBR.monitorData.sourceId+"&dId="+OBR.monitorData.docId+
"&pId="+OBR.monitorData.pubId),OBR.monitorData.prefix&&(c+="&prefix="+OBR.monitorData.prefix));if(window.OBR){const g=typeof OBR.isConsent==="boolean";if(g?!OBR.isConsent:OBR.settings&&OBR.settings.epm===!0)c=c.replace("widgets.outbrain.com","widgets.teads-xo.com");g&&(c+="&csnt="+OBR.isConsent)}if(f===!1||p&&typeof f=="undefined")c+="&dLs=1";b.src=c;typeof OBR.issue==="function"&&OBR.issue(a);return b};if(d.body)return h();setTimeout(function(){d.body&&h()},1E4)}}};
OBR.error.cleanLS=function(){if(!window.obMonitorLocalstorageCleaned){window.obMonitorLocalstorageCleaned=!0;try{const a=window.OBR&&OBR.isConsent,e=a?"https://widgets.outbrain.com":"https://widgets.teads-xo.com",b=document.createElement("iframe");b.onload=function(){try{this.remove()}catch(d){}};b.id="obMntorDeleteLS";b.src=e+"/widgetMonitor/monitor.html?deletelocalstorage=true&csnt="+a;b.style.display="none";document.body.appendChild(b)}catch(a){}}};
;try{var ccs=function(){(function() {var ca,la,qa,ua,pa,Ca,Da,Ea,Fa,Ja,La,Ma,Sa,Ra,Ta,Ua,Xa,Ya,Za,$a,bb,cb,db,eb,fb,gb,jb,kb,nb,pb,sb,vb,wb,xb,tb,zb,rb,Bb,ub,Fb,Hb,Ib,Jb,Mb,Nb,Ob,Pb,Qb,D,Rb,Sb,Tb,Ub,Vb,Wb,Yb,Zb,Xb,$b,ec,hc,jc,kc,lc,pc,oc,tc,mc,nc,uc,qc,rc,sc,wc,xc,yc,vc,zc,Ac,Bc,Cc,Dc,Fc,Ec,Gc,Hc,Jc,Kc,Lc,Oc,Mc,Nc,Pc,Tc,Qc,Rc,Sc,Yc,Zc,$c,ad,bd,cd,gd,id,jd,dd,kd,fd,ld,md,od,pd,qd,rd,sd,td,yd,zd,vd,xd,Bd,Jd,Od,Md,Dd,Pd,Rd,Qd,Sd,Td,Vd,Xd,Zd,ae,be,ce,ee,de,ge,ie,fe,he,H,le,me,ne,oe,pe,qe,re,se,te,ue,ve,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,Ie,Je,
Ke,Pe,Ue,Ve,We,Xe,Ze,$e,af,bf,cf,ef,ff,gf,hf,jf,kf,lf,mf,nf,of,qf,rf,sf,xf,zf,Cf,Af,Bf,Df,Ef,Ff,Gf,Hf,If,Jf,Kf,Lf,Mf,Nf,Of,Pf,Qf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,L,ag,kg,lg,mg,ng,og,pg,qg,rg,sg,tg,ug,xg,yg,vg,Ag,wg,Bg,Cg,Eg,Fg,zg,Dg,Gg,Hg,Ig,Jg,Kg,Lg,Og,Qg,Rg,Vg,Tg,Wg,Xg,bh,ch,Yg,Zg,$g,ah,fh,gh,hh,ih,jh,kh,lh,nh,oh,rh,sh,th,vh,wh,uh,xh,yh,zh,Ah,Bh,Ch,Dh,ph,qh,Eh,Fh,Vh,pi,qi,ri,Ih,Gh,Hh,Jh,Kh,Mh,Nh,Qh,Rh,ti,Xh,Yh,yi,Lh,Di,Ei,Fi,Gi,Ci,Ii,Hi,Li,Mi,Ni,Ki,Oi,Pi,Qi,Si,Ti,Ui,Vi,Wi,Yi,$i,aj,bj,dj,ej,gj,fj,ij,
hj,pj,uj,zj,rj,sj,tj,jj,kj,nj,oj,Bj,Dj,Fj,Ej,Gj,Hj,Ij,Jj,Kj,Lj,Mj,Nj,ed,Oj,Pj,Rj,Qj,Sj,Tj,Uj,Vj,mh,Yj,bk,ck,ek,Wj,Xj,hk,dk,ik,ak,Zj,gk,lk,mk,kk,jk,pk,qk,rk,sk,vk,wk,tk,uk,xk,zk,Ak,Bk,yk,Ck,Dk,Ek,Fk,Gk,Hk,Ik,Jk,Kk,Lk,Mk,Ok,Pk,Qk,Sk,Tk,Uk,Wk,Xk,Yk,Zk,Vk,$k,al,bl,Nk,cl,dl,fl,gl,hl,el,ll,ml,kl,il,jl,ol,pl,ql,ya,va,ma;ca=function(a){return function(){return OBR._jsc.ba[a].apply(this,arguments)}};
la=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");};qa=function(a,b){if(b)for(var c=0;c<ma.length;c++)pa(ma[c]+"Array.prototype."+a,b)};ua=function(a,b){b&&pa(a,b)};
pa=function(a,b){var c=va;a=a.split(".");for(var d=0;d<a.length-1;d++){var f=a[d];if(!(f in c))return;c=c[f]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&b!=null&&ya(c,a,{configurable:!0,writable:!0,value:b})};Ca=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,f){function e(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(e,f)}e(a.next())})};OBR._jsc.y=function(a){return Ca(a())};
Da=function(a){a=Math.trunc(a)||0;a<0&&(a+=this.length);if(!(a<0||a>=this.length))return this[a]};Ea=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,f={next:function(){if(!d&&c<a.length){var e=c++;return{value:b(e,a[e]),done:!1}}d=!0;return{done:!0,value:void 0}}};f[Symbol.iterator]=function(){return f};return f};
Fa=function(a){if(!a.YJ){a.YJ=!0;var b=new Event("obEventsChange");Object.defineProperty(a.zk,"push",{enumerable:!1,configurable:!0,writable:!0,value:function(){Array.prototype.push.apply(this,arguments);window.dispatchEvent(b)}});window.addEventListener("obEventsChange",()=>{a.init();a.zk.length=0})}};
Ja=function(){window.OBR&&(OBR.issue=a=>{if(a&&["TypeError","obm-ContainerNotFound","obm-cmp_fail"].includes(a.name)){var b=Ia;a&&a.message&&b.fire({name:"issue",widgetId:null,timestamp:Date.now(),version:window.OB_releaseVer,data:{name:a.name,message:a.message}})}})};La=function(a){const b=[];if(!a)return b;Array.isArray(a)?b.push(...a.filter(c=>Ka.includes(c))):a==="all"?b.push(...Ka):a&&Ka.includes(a)&&b.push(a);return b};
Ma=function(a,b,c){return typeof a==="string"&&Ka.includes(a)&&typeof b==="function"&&(!c||c==="all"||typeof c==="string"||Array.isArray(c)&&c.every(d=>typeof d==="string"))};Sa=function(a,b){const c=Ra(b),d=!a.widgetId||a.widgetId==="all"||typeof a.widgetId==="string"&&c.includes(a.widgetId)||Array.isArray(a.widgetId)&&a.widgetId.some(f=>c.includes(f));return b.parentWidgetId&&b.name==="rendered"?a.feedCards&&d:d};
Ra=function(a){return[a.widgetId,a.servedWidgetId,a.parentWidgetId,a.servedParentWidgetId].filter((b,c,d)=>!!b&&d.indexOf(b)===c)};Ta=function(a,b){const c=Ia.C[a];return c?c.filter(d=>Sa(d,{name:a,widgetId:b})).some(d=>!!d.feedCards):!1};Ua=function(a,b){const c=new Set;if(!OBR.extern){Ia.add("ready",()=>{c.forEach(e=>e());c.clear()},"all",!1);let d;const f=new Promise(e=>{d=e});c.add(()=>d(OBR.extern[a](...b)));return f}return Promise.resolve(OBR.extern[a](...b))};
Xa=function(a,b){return OBR._jsc.y(function*(){const c=[...Va[a].deps],d=new Promise((e,h)=>setTimeout(()=>h(Error("hook callback exceeded max execution time")),3E3));let f;try{f=yield Promise.race([Promise.allSettled(c.map(e=>e(b))),d])}catch(e){OBR.error({name:"obm-RunLifecycleHook",message:e.message,stack:e.stack})}finally{let e;(e=f)==null||e.forEach(h=>{if((h==null?void 0:h.status)==="rejected"){let l,m;OBR.error({name:"obm-RunLifecycleHook",message:(l=h.reason)==null?void 0:l.message,stack:(m=
h.reason)==null?void 0:m.stack})}})}})};Ya=function(a,b){const c=new Set;if(!window.OB_PROXY){Ia.add("ready",()=>{c.forEach(e=>e());c.clear()},"all",!1);let d;const f=new Promise(e=>{d=e});c.add(()=>d(window.OB_PROXY[a](...b)));return f}return Promise.resolve(window.OB_PROXY[a](...b))};Za=function(a){const b=a.hookName,c=a.cb,d=a.config;switch(a.action){case "subscribe":Va[b].subscribe(c,d);break;case "unsubscribe":Va[b].unsubscribe(c)}};
$a=function(a){const b=a.event,c=a.cb,d=a.widgetId,f=a.feedCards;switch(a.action){case "addListener":Ia.add(b,c,d,f)}};bb=function(a){return ab.getData(a.key)};cb=function(a){const b=a.key;if(typeof b==="number"&&Number.isInteger(b))return OBR.F[b];if(typeof b==="string"&&b)return OBR.F.find(c=>c.D()===b)};db=function(){return OB_releaseVer||"0"};eb=function(a){const b=a.action;let c;a=(c=a.params)!=null?c:[];return Ya(b,a)};
fb=function(a){const b=a.action;let c;a=(c=a.params)!=null?c:[];return Ua(b,a)};gb=function(a,b){if((b=b.split("-"))&&b.length&&b.length===2){var [c,d]=b;a.We[c]=d;a.Vd=`${c}:${d}`}};
jb=function(){var a;const b=typeof((a=OBR)==null?void 0:a.error)==="function"?OBR.error.bind(OBR):null;a=hb("domain");if(!a)return b==null||b({name:"obm-diveeDomain",message:`Divee rollout skipped domain check: no domain setting configured in Cheetah, site "${window.location.href}"`,stack:Error().stack||"None"}),!0;let c;return(c=window.location.hostname)!=null&&c.includes(a)?!0:(b==null||b({name:"obm-diveeDomain",message:`Domain mismatch: cheetah setting domain "${a}" not found in site "${window.location.href}"`,
stack:Error().stack||"None"}),!1)};kb=function(a,b){return(Number(a.We[b.id])||null)===b.variant};nb=function(){var a=lb;var b=Object.assign({},OBR._jsc.mb);var c=OBR._jsc.mb.id;b=(delete b.id,delete b.control,b);const d=Number(a.We[c])||null;return Object.values(b).some(f=>d===f)};pb=function(){let a,b,c;return!!((a=OBR)==null?0:(b=a.settings)==null?0:b.forceNoConsentUrl)||ob((c=OBR)==null?void 0:c.settings)};sb=function(a,b){qb.forEach(c=>{a.Wr[c]=b});rb(a)};
vb=function(a){tb(a)&&a.Jc("getTCData",(b,c)=>{c&&ub(a,b)})};wb=function(a){tb(a)&&a.Jc("addEventListener",(b,c)=>{c&&(b.eventStatus==="tcloaded"||b.eventStatus==="useractioncomplete")&&b.vendor&&b.vendor.consents&&ub(a,b)})};xb=function(){return new Promise(a=>{let b,c=!1;Object.defineProperty(window,"__tcfapi",{get(){return b},set(d){c?(b=d,a(d)):(b=d,typeof d==="function"&&d("addEventListener",2,(f,e)=>{c=!0;e&&a(d)}))},configurable:!0})})};tb=function(a){return!(!a.mi||typeof a.mi!=="function")};
zb=function(a){tb(a)&&a.Jc("getTCData",(b,c)=>{c&&b!=null&&b.publisherCC&&(b=b.publisherCC.toUpperCase(),a.le=a.Li||yb.includes(b),a.le&&sb(a,!a.le))})};rb=function(a){const b=a.vc();a.Au.forEach(c=>c(b))};
Bb=function(a){if(a==null||!a.purpose)return new Set;let b;var c=((b=a.purpose)==null?void 0:b.consents)||{},d;a=((d=a.purpose)==null?void 0:d.legitimateInterests)||{};d=f=>Object.entries(f).map(([e,h])=>({id:parseInt(e,10),kJ:h})).filter(({id:e,kJ:h})=>!isNaN(e)&&Ab.has(e)&&h===!0).map(({id:e})=>e);c=d(c);d=d(a);return new Set([...c,...d])};
ub=function(a,b){let c;if(b==null?0:(c=b.vendor)==null?0:c.consents)if(a.uJ&&a.oe)if(b!=null&&b.gdprApplies){var d=Cb.isEnabled()||Db.isEnabled(),f=b.vendor.consents,e=Bb(b),h=[...Ab].every(l=>e.has(l));qb.forEach(l=>{if((b==null?void 0:b.tcfPolicyVersion)<6)var m=!0;else{var g=b==null?void 0:(m=b.vendor)==null?void 0:m.disclosedVendors;m=g&&typeof g==="object"?g[l]===!0:!1}a.Wr[l]=!!f[l]&&h&&!d&&m});rb(a)}else sb(a,!0);else sb(a,!0)};Fb=function(a){var b=Eb;typeof a==="function"&&b.Au.push(a)};
Hb=function(){if(Gb.He)return!0;try{if(window.localStorage&&window.localStorage.getItem)return!0}catch(a){return!1}};Ib=function(a){return{sl:a||{},setItem:function(b,c){this.sl[b]=c},removeItem:function(b){this.sl[b]=void 0},getItem:function(b){return typeof this.sl[b]!=="undefined"?this.sl[b]:null}}};Jb=function(a){const b={};Object.values(OBR._jsc.A).forEach(c=>{a.get(c,!1)&&(b[c]=a.get(c));a.delete(c)});a.He=Ib(b)};
Mb=function(a){Object.values(OBR._jsc.A).forEach(b=>{a.delete(b)});OBR.error&&OBR.error.cleanLS&&OBR.error.cleanLS()};Nb=function(a){Object.keys(a.cache).forEach(b=>{a.set(b,a.cache[b])})};Ob=function(a=null){return OBR.g.Vj?!0:OBR.settings&&typeof OBR.settings.disableLocalStorageGdpr!=="undefined"?!!OBR.settings.disableLocalStorageGdpr:a?!a.hc():!0};
Pb=function(){try{let a=window.localStorage?window.localStorage.getItem("_lr_env"):"";if(a)return a=atob(a),a=JSON.parse(a).uQ;document.cookie.split(";").forEach(b=>{b=b.trim();b.indexOf("_lr_env=")===0&&(a=JSON.parse(atob(decodeURIComponent(decodeURIComponent(b.split("=")[1])))).envelope)});return a?a:""}catch(a){}};Qb=function(a){const b=D("widgetsLevelLazyLoad");return(b==null?void 0:b.length)&&b.indexOf(a)>-1||!1};D=function(a){return OBR.settings&&OBR.settings[a]};
Rb=function(a){var b=window;try{return a.split(".").reduce((c,d)=>(c||{})[d],b)||void 0}catch(c){}};Sb=function(a){document.addEventListener("visibilitychange",()=>{document.hidden&&(a.Xp=0)})};Tb=function(a,b,c){return(a=a.DO.get(b))?a:c};Ub=function(a,b){a.NI=`${b.VA}/widgetOBUserSync/obUserSync.html#pid=${b.Yy}&dmpenabled=${b.En}&filterDMP=${b.ev}&d=${b.Xu}${b.yu}&gdpr=${b.gdpr}&cmpNeeded=${b.Nw}&gdprVer=${b.tb}&ccpa=${b.mu}&country=${b.country}${b.gz}&initiator=${b.Gw}${b.attributionSrc}`;a.lp()};
Vb=function({method:a,url:b,data:c,callback:d,contentType:f,VR:e,mode:h}){OBR.qa.send(a,b,c,d,!0,f,e,!0,h)};Wb=function(a){const b=[];for(const c in a)a.hasOwnProperty(c)&&b.push(encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b.join("&")};
Yb=function(a,b,c,d,f,e,h,l){const m=a.transform.url(b);b={method:d,headers:{},cache:"no-cache"};e&&(b.headers["Content-Type"]=e);e||d!==a.Ic.La||(b.headers["Content-Type"]="application/x-www-form-urlencoded");h&&(b.credentials="include");f&&(b.body=f);l&&(b.mode=l);a=a.transform.dv(b);fetch(m,a).then(g=>{(g==null?0:g.ok)&&OBR.hd.fire("ajax_succeed",[m]);return g.text()}).then(g=>{Xb(!0,c,g)}).catch(g=>{OBR.logger.log(`${g} ${m}`);OBR.hd.fire("ajax_error",[g,m]);Xb(!1,c)})};
Zb=function(a){const b=new FormData;Object.keys(a).forEach(c=>b.append(c,a[c]));return b};Xb=function(a,b,c){if(Array.isArray(b)){const [d,f]=b;a?typeof d===OBR.g.nf&&d(c):typeof f===OBR.g.nf&&f(c)}else typeof b===OBR.g.nf&&a&&b(c)};$b=function(a,b,c=()=>{},d=()=>{},{attributes:f}={}){b=a.transform.url(b);const e=new Image;a.transform.element(b,e);Object.entries(f!=null?f:{}).forEach(([h,l])=>h!=="src"&&e.setAttribute(h,l));e.onload=h=>c(h);e.onerror=h=>d(h);e.src=b;return e};
OBR._jsc.ac=function(a,b,c=()=>{},d=()=>{}){return{to:(f=document.head)=>{if(b.src){const e=a.transform.url(b.src);b.src=e;a.transform.element(e,b)}(e=>{if(f===document.head){if(document.head)e=document.head.appendChild(e);else{const h=document.querySelector("script");e=h==null?void 0:h.insertBefore(e,h.firstChild)}return e}return f==null?void 0:f.appendChild(e)})(b);b.onload=e=>c(e);b.onerror=e=>d(e);return b}}};
ec=function(){if(bc()){var a=Eb.vc();const b=new cc(a);a=new dc(b);Fb(c=>{b.Tj=c});return a}return new dc};hc=function(a,b,c){b=`${"ob-mark-"}${c?"0-":"1-"}${b}`;a.Tm.mark(b);a.marks.push(b);return b};jc=function(){return performance.getEntriesByType("resource").filter(a=>ic.test(a.name))};kc=function(a,b){OBR.logger.log("remove event :"+b);for(let c=0,d=a.C.length;c<d;c+=1)if(a.C[c]&&a.C[c].name&&a.C[c].name===b)try{a.C.splice(c,1)}catch(f){OBR.logger.log("rm evnt err: "+f),OBR.error(f)}};
lc=function(a){if(window.__tcfapi&&typeof window.__tcfapi==="function")var b=2;else a:{if(OBR.g.Rc){let c=window,d=0;for(;c&&d<10;)try{if(c.frames.__tcfapiLocator){a.Fr=c;b=2;break a}if(c===window.top)break;c=c.parent;d++}catch(f){break}}b=null}return b};pc=function(a){if(!OBR.g.ma){var b=mc(),c=a.tb===null;b>0&&c&&(a.jc=!0,b===1&&(a.Vr=!0),nc(a).then(d=>{a.tb=d;a.jc=d!==null;oc(a)}).catch(()=>{a.jc=!1;a.Ck()}))}};
oc=function(a){if(typeof OBR.g.Kl.OB_CONSENT===OBR.g.cu&&OBR.g.Kl.OB_CONSENT===!1)a.jc=!0;else if(a.jc)switch(a.tb){case 2:qc(a)}};tc=function(a){a.wr&&(typeof window.__uspapi==="function"?rc(a):sc().then(()=>{a.up=!0;rc(a)}))};mc=function(){return OBR.settings&&OBR.settings.loadingOnGDPRSignal?OBR.settings.loadingOnGDPRSignal:0};nc=function(a){const b=Date.now(),c=(d,f)=>{const e=lc(a);e?d(e):Date.now()-b>=5E3?f():setTimeout(()=>c(d,f),100)};return new Promise(c)};
uc=function(a,b){a.GA=!0;const c=OBR.i.sa(b);OBR.logger.log("Consent on user selection");OBR.logger.log(`getConsentData: ${c}`);OBR.i.Ea(OBR._jsc.A.lc,c);a.hb=b;a.Ck()};
qc=function(a){a.Fr!=null&&vc(a);try{a.Jc("addEventListener",(b,c)=>{b.eventStatus==="cmpuishown"&&(a.Vr=!0,wc(a));c&&b.eventStatus==="tcloaded"?((c=b.tcString)?(c=OBR.i.sa(c),OBR.logger.log("getConsentData: "+c),OBR.i.Ea(OBR._jsc.A.lc,c),a.Xi||(a.hb=c),wc(a)):(OBR.i.Yd(OBR._jsc.A.lc),a.jc=mc()>0),xc(a,b)):yc(a)})}catch(b){OBR.i.Gd("obm-cmp_fail",document.location.hostname,!1,100),a.hb="no_consent",a.jc=!0}};
rc=function(a){let b,c;(c=(b=window).__uspapi)==null||c.call(b,"getUSPData",1,(d,f)=>{f&&d&&d.uspString?(OBR.logger.log(`getCCPAData: ${d.uspString}`),OBR.i.Ea(OBR._jsc.A.yi,d.uspString),a.Ib=d.uspString):OBR.i.Gd("obm-ccpa_fail",document.location.hostname,!1,100)})};sc=function(){return new Promise(a=>{let b=window.__uspapi;typeof b==="function"?a(b):Object.defineProperty(window,"__uspapi",{get(){return b},set(c){b=c;typeof c==="function"&&a(c)},configurable:!0})})};
wc=function(a){mc()&&a.Jc("addEventListener",(b,c)=>{!c||b.eventStatus!=="tcloaded"&&b.eventStatus!=="useractioncomplete"||(mc()&&uc(a,b.tcString),a.Jc("removeEventListener",()=>{},b.listenerId))})};xc=function(a,b){let c;a.Ch=!((b==null?0:(c=b.vendor)==null?0:c.consents[164])&&b.purpose&&Object.keys(b.purpose.consents).length===11)};
yc=function(a){document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&OBR.g.oe&&a.Ch&&a.clearData()});a.Jc("addEventListener",(b,c)=>{!c||b.eventStatus!=="tcloaded"&&b.eventStatus!=="useractioncomplete"?OBR.i.Gd("obm-cmp_fail",document.location.hostname,!1,100):b.tcString?(xc(a,b),c=OBR.i.sa(b.tcString),OBR.logger.log("getConsentData: "+c),b.eventStatus==="useractioncomplete"?(a.hb!==b.tcString&&OBR.g.oe&&a.Ch&&(a.clearData(),OBR.g.Ch=!0),a.Xi||(a.hb=c)):(OBR.i.Ea(OBR._jsc.A.lc,
c),a.Xi||(a.hb=c),a.Jc("removeEventListener",()=>{},b.listenerId))):a.jc=!1})};
vc=function(a){window.__tcfapi=(b,c,d,f)=>{const e=Math.random()+"";b={__tcfapiCall:{command:b,parameter:f,version:c,callId:e}};a.Vi[e]=d;a.Fr.postMessage(b,"*")};window.addEventListener("message",function(b){let c={};try{c=typeof b.data==="string"?JSON.parse(b.data):b.data}catch(d){return}(b=c.__tcfapiReturn)&&typeof this.Vi[b.callId]==="function"&&(this.Vi[b.callId](b.returnValue,b.success),this.Vi[b.callId]=null)}.bind(a),!1)};
zc=function(){var a=OBR.settings.preloadScripts;return Array.isArray(a)&&a.every(b=>typeof b==="string")};Ac=function(a,b){b==null||b.forEach(c=>{c==null||c.setAttribute("data-browser",a.pa.g.Hb);c==null||c.setAttribute("data-os",a.pa.g.os);a.oj.fire("find",[c])})};Bc=function(){const a=document.querySelectorAll("div.OUTBRAIN");return a?Array.from(a):[]};
Cc=function(a,b){const c=[],d=[];b==null||b.forEach(f=>{var e=f[a.qB];if(typeof e!=="string")return d;e=document.querySelector(`#${e}`);if(!e)return c.push(f),d;OBR.Fa.VF(f,e);d.push(e)});window[a.Bi]=c;return d};
Dc=function(a){const b=[];Array.from(Bc()).filter(d=>d.getAttribute(a.fm)!=="true").forEach(d=>{b.push(d);d==null||d.setAttribute(a.fm,"true")});const c=typeof window[a.Bi]==="object"&&window[a.Bi].length>0?window[a.Bi]:[];if(!c.length)return b;a.pa.logger.log("Array of elements found!");Cc(a,c).forEach(d=>b.push(d));return b};
Fc=function(a,b){a.pa.logger.log("search containers - mutation observer");const c=new MutationObserver(e=>{(e=e.reduce((h,l)=>{(l=Array.prototype.slice.call(l.addedNodes).filter(m=>m.tagName==="DIV"))&&l.length&&(h=h.concat(l));return h},[]))&&e.length&&b()}),d=()=>{if(OBR._jsc.F.readyState==="interactive"||Ec()){b();a.pa.logger.log("search containers - dom ready: disconnecting mutation observer");try{a.Yk.resolve()}catch(e){}setTimeout(()=>c.disconnect(),0);document.removeEventListener("readystatechange",
d)}};document.addEventListener("readystatechange",d);const f=()=>c.observe(document.body,{subtree:!0,childList:!0});document.body?f():window.addEventListener("DOMContentLoaded",f)};Ec=function(){return OBR._jsc.F.readyState==="complete"};Gc=function(a,b){OBR.ib.gv?OBR.ib.gv.then(()=>Ac(a,b)):Ac(a,b)};
Hc=function(a,b){if(OBR._jsc.F.readyState==="interactive"||Ec()){b();try{a.Yk.resolve()}catch(c){}}else if(a.pa.g.Jx){const c=()=>{Ec()&&(b(),document.removeEventListener("readystatechange",c))};document.addEventListener("readystatechange",c)}else Fc(a,b),b()};
Jc=function(a){Hc(a,()=>{a.pa.logger.log("search containers - searching for new containers");var b=Dc(a);if(a.pa.g.Jx)a:{var c=a.pa.settings.widgetsLoadingPriority.replace(/\s+/g,"").split(",");const f=[],e={};try{for(const h of b)e[h.getAttribute("data-widget-id")]=h;for(const h of c)e.hasOwnProperty(h)&&(f.push(e[h]),delete e[h]);for(const h of Object.values(e))f.push(h);var d=f;break a}catch(h){d=b;break a}d=void 0}else d=b;b=d;b.length&&Gc(a,b)})};
Kc=function(a,b=[]){b&&(b==null?void 0:b.length)!==0&&Hc(a,()=>{Gc(a,b)})};Lc=function(a,b){const c=[];let d,f;(d=a.pa)==null||(f=d.F)==null||f.forEach((e,h)=>{e=a.pa.i.A(h);e!==null&&(typeof b==="string"&&e.setAttribute("data-src",b),c.push(e))});c.length>0&&(OBR.F=[],Ac(a,c))};
Oc=function(a,b){OBR.g.fk()||OBR.g.gk()||OBR.g.ma?(a.eb="false",a.ke="false",a.uj=!0,a.Ng=OBR.i.bj([!1,!1]),a.Og=OBR.i.bj([!1,!1]),Mc(a)):a.uj?OBR.logger.log("AdBlock - skipped full check detection (called once)"):document.body?Nc(a):b&&b.KK?window.addEventListener("DOMContentLoaded",a.uL.bind(a)):(OBR.logger.log("AdBlock - Don't have body. skip full check"),a.eb=a.eb?a.eb:"false",a.ke=a.ke?a.ke:"false",a.Xm.fire("onAdBlockStatusReady",[a.eb]))};
Mc=function(a){a.eb=(a.Ng>0).toString();OBR.logger.log(`AdBlock - finish long status check. adBlock = ${a.eb} wl = ${a.Og}`);OBR.i.Ea(OBR._jsc.A.hs,a.eb);OBR.i.Ea(OBR._jsc.A.js,a.ke);a.Xm.fire("onAdBlockStatusReady",[a.eb])};Nc=function(a){a.uj||(OBR.logger.log("AdBlock - start detection"),a.uj=!0,Pc(a))};
Pc=function(a){Promise.all([Qc(a),Rc(a),Sc(a)]).then(([b,c,d])=>{var f=b&&c;b=[f,b];f=[f&&d,!1];a.ke=c?d.toString():"false";a.Ng=OBR.i.bj(b);a.Og=OBR.i.bj(f);a.Ng===0&&a.Og===2&&OBR.error({name:"adblock",message:"got 0 2 in ad blocker detection"});Mc(a)})};Tc=function(a,b){var c=OBR.qb;return b===c.hf.stopped||b===c.hf.Nr?!1:(a=(a=OBR.i.A(a))&&Array.from(OBR.i.H(a).querySelectorAll(".ob-p > a")))&&a.some(d=>!!d.offsetParent&&d.parentElement.offsetHeight>10)};
Qc=function(a){const b=OBR._jsc.Uc('<div style="position:fixed!important;top:-9999px!important;left:-9999px;!important;width:1px!important;height:1px!important;"></div>'),c=OBR.i.createElement("a","ob_ad",a.cssText);c.className="Ads_4 AD_area ADBox AdsRec";c.href="https://paid.outbrain.com/network/redir?";b.appendChild(c);OBR._jsc.ac(OBR._jsc.Vc,b).to(document.body);return Wc((d,f)=>{setTimeout(()=>{d||(d=!0,f(!c.offsetParent),document.body.removeChild(b))},0)},a.Bn)};
Rc=function(a){return Wc((b,c)=>{$b(OBR._jsc.Vc,"https://widget-pixels.outbrain.com/widget/detect/px.gif?ch=1",()=>{b||(b=!0,c(!1))},()=>{b||(b=!0,c(!0))})},a.Bn)};
Sc=function(a){return Wc((b,c)=>{const d=OBR._jsc.Uc('<div class="ob-p ob-dynamic-rec-container" style="position:fixed!important;top:-9999px!important;left:-9999px;!important;width:1px!important;height:1px!important;"></div>'),f=OBR._jsc.Uc(`<a style="${a.cssText}" onmousedown="this.href='http://paid.outbrain.com/network/redir?'" target="_blank" >ad</a>`);d.appendChild(f);OBR._jsc.ac(OBR._jsc.Vc,d).to(document.body);setTimeout(()=>{b||(b=!0,c(!!f.offsetParent),document.body.removeChild(d))},0)},
a.Bn)};
Yc=function(a){a=`<div class="ob-chunks-loader${a.fd?` ${a.fd}`:""}">${a.Tg.map(c=>{const d=c>.5?[1]:c>.4?[2]:c>.3?[2,3]:c>0?[3]:[1],f=d[~~(Math.random()*d.length)];return Array(f).fill(null).map(()=>`<div style="padding-top: calc(${100*c}% - 44px); min-width: ${`calc(${(100/f).toFixed(2)}% - ${(16*(f-1)/f).toFixed(2)}px)`};"></div>`).join("")}).join("")}</div>`;if(!Xc){var b=[{time:0,opacity:.8},{time:300,opacity:.8},{time:1500,opacity:.2},{time:300,opacity:.2},{time:1500,opacity:.8}];const c=b.reduce((d,
f)=>f.RD=d+f.time,0);b=`
        @keyframes ob-chunks-anim {
          ${b.map(d=>`${(d.RD/c*100).toFixed(2)}% { opacity: ${d.opacity} }`).join("\n")}
        }

        .ob-chunks-loader {
          width: 100%;
          display: flex;
          flex-wrap: wrap;
          justify-content: space-between;
        }

        .ob-chunks-loader div {
          position: relative;
          margin: 20px 0 64px 0;
          background-color: #e2dfde;
          animation: ob-chunks-anim ${c}ms ease-in-out 0s infinite;
        }

        .ob-chunks-loader div::before, .ob-chunks-loader div::after {
          content: '';
          position: absolute;
          left: 0;
          height: 14px;
          background-color: #e2dfde;
        }

        .ob-chunks-loader div::before {
          width: 75%;
          bottom: -22px;
        }

        .ob-chunks-loader div::after {
          width: 84%;
          bottom: -44px;
        }
      `;OBR.i.ka(b);Xc=!0}return a};
Zc=function(a={}){a.Tg?a=Yc(a):(OBR.i.ka(".ob_sf_loader {margin: 25px auto 20px; width: 70px; text-align: center;} .ob_sf_loader > div {width: 18px; height: 18px; background-color: #333; border-radius: 100%; display: inline-block;  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both; animation: sk-bouncedelay 1.4s infinite ease-in-out both; }  .ob_sf_loader .bounce1 { -webkit-animation-delay: -0.32s;  animation-delay: -0.32s;  } .ob_sf_loader .bounce2 { -webkit-animation-delay: -0.16s;  animation-delay: -0.16s; }  @-webkit-keyframes sk-bouncedelay { 0%, 80%, 100% { -webkit-transform: scale(0) } 40% { -webkit-transform: scale(1.0) }  }  @keyframes sk-bouncedelay { 0%, 80%, 100% { -webkit-transform: scale(0); transform: scale(0); } 40% { -webkit-transform: scale(1.0);  transform: scale(1.0);  }  }"),a=
'<div class="ob_sf_loader">\n                      <div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div>\n                     </div>\n                    ');return OBR.i.Bb(a)};$c=function(){try{const a=JSON.parse(OBR.i.W(OBR._jsc.A.Se,null));return a?a:null}catch(a){OBR.logger.log("failed to parse Local Storage for skeleton")}};
ad=function(a){try{const b=JSON.parse(OBR.i.W(OBR._jsc.A.Se,null));b&&(b.wl=b.wl.filter(c=>c.fx!==+a),b.wl&&(b.wl.length?OBR.i.Ea(OBR._jsc.A.Se,JSON.stringify(b)):OBR.i.Yd(OBR._jsc.A.Se)))}catch(b){OBR.logger.log("failed to delete Local Storage for skeleton")}};bd=function(a){try{if(a.Wb)return a.Wb;if(D("skeletonData"))return JSON.parse(OBR.settings.skeletonData)}catch(b){OBR.logger.log("failed to parse skeletonData")}};
cd=function(a,b,c,d){if((b=b.wl.find(f=>f.n===c))&&d)if(b.h)try{OBR.i.Yd(OBR._jsc.A.Se)}catch(f){OBR.logger.log("failed to delete Local Storage for skeleton")}else b=b.r,b=Array(Math.ceil(b)).fill(b),a.Ue(d,b,c)};gd=function(a,b,c){if(a.Wb&&!a.Ni.find(h=>h.fd===b)){var d=dd(a,b);if(d){var f=ed(c);const [,h,l]=d;if(l<=2)d=Array(l).fill(+h),a.Ue(c,d,b);else{d=+h*f.width;var e=d*l;f=fd(f,e,+l);f.length>1&&(a.L[b]={iQ:f,rO:e,uR:d});a.Ue(c,f,b)}}}};
id=function(a){var b=hd;const c=a&&a.D();b.L[c]&&(a=a.A(),(b=b.Ni.find(d=>d.fd===c))&&b.kq&&a.appendChild(b.kq))};jd=function(a,b){return(a=a.Ni.filter(c=>c.fd===b.fd).map(c=>c.kq))&&a.length?a[0]:Zc(b)};dd=function(a,b){try{return a.Wb.find(c=>c.includes(b)&&c.includes(a.platform))}catch(c){return OBR.error({name:"obm-skeleton",message:"skeleton format is not valid"}),null}};kd=function(a){var b=hd;let c=a.D();a=b.Hf&&b.Hf.wl.find(d=>d.n===c);b=b.Wb&&dd(b,c);return!!a||!!b};
fd=function(a,b,c){return ld(b,c).map(d=>d/a.width)};ld=function(a,b){b=Math.floor(Math.random()*(b+2-b)+b);return md(a,b>0?b:1)};md=function(a,b){return Array(b).fill(a).map((c,d)=>{c=a*.8;return(Math.random()*(a-c)+c)/b+(d<a%b)})};od=function(){if(nd.isEnabled){var a=window.performance.getEntries();if(a&&a.length){var b=`${OBR.g.Ub||"https://widgets.outbrain.com"}/outbrain.js`;return a.find(c=>c.name.includes(b))}}};
pd=function(a,b,c){if(nd.isEnabled){var d=a.O();d=d?d:a;if(b==="odb"||b==="mv")return d.lw(`${b}-${c}`);if(b==="rendered")return a.lw(b)}};qd=function(a,b){return typeof a!=="number"||typeof b!=="number"?null:b-a};rd=function(){return{Fy:void 0,obLoaded:void 0,odbReq:void 0,odbRes:void 0,mvReq:void 0,mvRes:void 0,rendered:void 0,timeOrigin:void 0,actualSizeChunk:void 0,connectionEffectiveType:void 0,Qx:void 0}};
sd=function(){const a=document.createElement("script");a.src="https://agent.intentiq.com/Agent/GA/UniversalID-Sync/IIQUniversalID-sync.js";a.async=!0;a.defer=!0;a.onload=function(){new (window.BP||window.IntentIqSyncObject)({wR:1494805541})};document.head.appendChild(a)};td=function(){try{let a,b,c=(a=window.__uid2)==null?void 0:(b=a.getAdvertisingToken)==null?void 0:b.call(a);if(c)return c;let d,f;return(c=(d=window.pbjs)==null?void 0:(f=d.getUserIds())==null?void 0:f.uid2)?c.id:""}catch(a){}return""};
yd=function(){if(ud)return vd();wd.clear();const {Dn:a,wA:b}=Object.values(xd()).reduce((c,d)=>{d=d();if(d===null)return c;c.wA++;c.Dn+=d;return c},{Dn:0,wA:0});OBR.logger.log(`dm result: ${a}, checks: ${b}`);return a>0};zd=function(a){wd.has(a)||wd.set(a,getComputedStyle(a));return wd.get(a)};
vd=function(){let a,b,c;const d=(a=window)==null?void 0:(b=a.OBBridge)==null?void 0:(c=b.darkModeHandler)==null?void 0:c.isDarkMode;return[!0,!1].includes(d)?d:(new URLSearchParams(window.location.search)).get("darkMode")==="true"};
xd=function(){return{[Ad]:()=>Bd(),[Cd]:()=>{var a;(a=document.querySelector("article"))?(a=Dd(a),a=a==="unknown"?0:a>.5?1:-1):a=0;return a},[Ed]:()=>{var a;(a=document.querySelector("section"))?(a=Dd(a),a=a==="unknown"?0:a>.5?1:-1):a=0;return a},[Fd]:()=>{var a;(a=document.querySelector("main"))?(a=Dd(a),a=a==="unknown"?0:a>.5?1:-1):a=0;return a},[Gd]:()=>{if(document.body){var a=Dd(document.body);a=a==="unknown"?0:a>.5?1:-1}else a=0;return a},[Hd]:()=>{var a;(a=document.querySelector(".content, #main-content, .main-content"))?
(a=Dd(a),a=a==="unknown"?0:a>.5?1:-1):a=0;return a},[Id]:()=>Jd(),[Kd]:()=>document.querySelector('\n                        html[data-theme*="dark"],\n                        html[data-color-mode*="dark"],\n                        html[data-darkmode="true"],\n                        html[data-dark-mode="true"]:not(.OUTBRAIN),\n                        html[data-color-scheme="dark"]:not(.OUTBRAIN),\n                        html[data-theme="chakra-ui-dark"],\n                        html[data-bs-theme="dark"],\n                        html[ant-theme="dark"],\n                        html[data-appearance="dark"],\n                        html[data-mode="dark"],\n                        html[color-scheme="dark"],\n                        body[data-theme*="dark"],\n                        body[data-color-mode*="dark"],\n                        body[data-darkmode="true"],\n                        body[data-dark-mode="true"]:not(.OUTBRAIN),\n                        body[data-color-scheme="dark"]:not(.OUTBRAIN),\n                        body[data-theme="chakra-ui-dark"],\n                        body[data-bs-theme="dark"],\n                        body[ant-theme="dark"],\n                        body[data-appearance="dark"],\n                        body[data-mode="dark"],\n                        body[color-scheme="dark"]')?
3:0,[Ld]:()=>Md(),[Nd]:()=>Od()}};Bd=function(){var a="p~p~p;p~p strong;li~li~li;div div>p;div[class*='article-text'];div[class*='article'][class*='body'] p".split(";"),b=a.map(c=>document.querySelector(c)).filter(c=>!!c);a=a.map(c=>{c=document.querySelectorAll(c);if(c.length>0)return c[c.length-1]}).filter(c=>!!c);b=new Set([...b,...a]);return b.size===0?0:Array.from(b).reduce((c,d)=>{if(!d)return c;d=Dd(d);return d==="unknown"?c:c+=d<=.4?-1:d<=.5?0:1},0)||0};
Jd=function(){const a=["body","main","article","section"].map(b=>document.querySelector(b)).filter(b=>b);return a.length===0?0:Array.from(new Set(a)).reduce((b,c)=>{c=zd(c);c=c.backgroundColor.startsWith("rgb")?c.backgroundColor:Pd(c.backgroundColor,"rgb(255, 255, 255)");if(["","rgba(0, 0, 0, 0)","rgb(255, 255, 255)"].includes(c))return b;c=Qd(c);return Rd(...c)<.5?++b:b},0)>0?3:-3};
Od=function(){return[{Od:"body #td-outer-wrap",eG:3,MK:-3}].reduce((a,{Od:b,eG:c,MK:d})=>{b=document.querySelector(b);if(!b)return a;b=zd(b);b=b.backgroundColor.startsWith("rgb")?b.backgroundColor:Pd(b.backgroundColor);b=Qd(b);b=Rd(...b);return b==="unknown"?a:a+(b<.5?c:d)},0)};
Md=function(){try{const a=document.querySelector("body");if(!a)return 0;const b=zd(a).background.match(/\brgba?\((\s*\d+\s*,){2,3}\s*[\d\.]+\s*\)/g);if(!b||!b.length)return 0;const c=Qd(b[b.length-1]),d=Rd(...c);return d==="unknown"?0:d>.5?-1:1}catch(a){return 0}};Dd=function(a){a=zd(a).color;if(!a)return"unknown";a=a.startsWith("rgb")?a:Pd(a);a=Qd(a);return Rd(...a)};
Pd=function(a,b="rgb(0, 0, 0)"){try{const c=a.match(/^color\(srgb\s+([\d.]+)\s+([\d.]+)\s+([\d.]+)\)$/i);if(c)return`rgb(${Math.round(parseFloat(c[1])*255)}, ${Math.round(parseFloat(c[2])*255)}, ${Math.round(parseFloat(c[3])*255)})`}catch(c){}return b};Rd=function(a,b,c){a=[a,b,c].map(d=>{d/=255;return d<=.03928?d/12.92:Math.pow((d+.055)/1.055,2.4)});return a[0]*.2126+a[1]*.7152+a[2]*.0722};Qd=function(a){return(a=a.match(/\d+/g))?a.map(Number):[0,0,0]};
Sd=function(a){a.Pp=!0;setTimeout(()=>{a.Pp=!1;a.flush()},a.PG)};Td=function(a){const b=a.j.O();a.Qa.version=window.OB_releaseVer;a.Qa.widgetId=a.j.D();a.Qa.idx=a.j.G();a.Qa.servedWidgetId=a.j.rf()||a.j.D();a.Qa.element=a.j.A();const c=a.j.o("abTestVal",null);c&&(a.Qa.abtest=c);b?(a.Ca=b,a.Qa.parentWidgetId=b.D(),a.Qa.servedParentWidgetId=b.rf()||b.D(),a.Qa.feedIndex=b.G(),a.Qa.cardIdx=a.j.o("fCard",null)):a.j.Na()&&(a.pj.rendered=Ta("rendered",a.j.D()),a.pj.viewability=Ta("viewability",a.j.D()))};
Vd=function(a){const b=a.j.o("oo",!1)===!0;a=a.j.wd(!0);return Ud.isEnabled&&!b&&a&&!OBR.g.Df};Xd=function(a){a.Hc||a.Ca&&a.Ca.C.Hc||(new OBR.dataBI(a.j,b=>b.FB)).C.UC.fire()};Zd=function(a){a.j.l("viewabilityEventTracking",!1)&&Xd(a);a.WA.Hc();a.Ca&&!a.Ca.C.pj.viewability&&a.Ca.C.Hc||a.Hc||(a.Hc=!0,a.Ca&&(a.Ca.C.Hc=!0),Ia.fire(Object.assign({},a.Qa,Yd("viewability"))))};OBR._jsc.$d=function(a,b){Ia.fire(Object.assign(b?{pointerEvent:b}:{},a.Qa,Yd("click")))};
ae=function(a){Ia.fire(Object.assign({},a.Qa,Yd("norecs")))};be=function(a){const b=a.j.Fj();Ia.fire(Object.assign({},{odbResponse:b,mvResponse:a.j.fe()},a.Qa,Yd("dataReturned")))};ce=function(a,b){Ka.includes(b)&&Ia.fire(Object.assign({},a.Qa,Yd(b)))};ee=function(a){a=new CustomEvent("obColorSchemeChanged",{detail:{colorScheme:a?"dark":"light"}});Ia.fire(Object.assign(a.detail,Yd("colorSchemeChanged")));de(a)};
de=function(a){let b,c;(b=OBR)==null||(c=b.F)==null||c.filter(d=>d).forEach(d=>{try{let l;const m=d==null?void 0:(l=d.A)==null?void 0:l.call(d);if(m){var f=OBR.i.H(m),e;(f==null?0:(e=f.hasAttribute)==null?0:e.call(f,"data-color-scheme"))&&f.dispatchEvent(a);var h;f==null||(h=f.querySelector("[data-color-scheme]"))==null||h.dispatchEvent(a)}}catch(l){OBR.error({name:"obm-cs",message:"notifyWidgets"})}})};
ge=function(a){if(a.vz)return a.vz;var b=D("colorSchemesSupportedPlatforms");if(!b||!fe())return!1;b=b.includes(ud?"app-bridge":OBR.g.K?"mobile":"desktop");return a.vz=b};
ie=function(a){const b=()=>setTimeout(()=>{try{const c=yd();c!==a.Ta&&(a.Ta=c,a.Gu.replaceSync(`.OUTBRAIN {color-scheme: ${a.Ta?"dark":"light"};}`),ee(a.Ta))}catch(c){OBR.error({name:"obm-cs",message:"handleColorSchemeChange fail"})}},500);document.addEventListener("click",()=>b(),{capture:!0,passive:!0});window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",()=>b(),{passive:!0});ud&&he(()=>b())};
fe=function(){var a;const b=(a=window.CSS)==null?void 0:a.supports("color","light-dark(black, white)");let c;a=(c=window.CSS)==null?void 0:c.supports("color-scheme","light dark");return b&&a};OBR._jsc.ke=function(){var a=OBR._jsc.je;return a.Wf?a.Wf:ge(a)};he=function(a){let b,c;const d=(b=window)==null?void 0:(c=b.OBBridge)==null?void 0:c.darkModeHandler;d&&Object.defineProperty(d,"isDarkMode",{get:function(){return this.sD},set:function(f){this.sD=f;a()}})};
H=function(a,b,c,d=!1){if(a.cache.has(b)&&!d)return a.cache.get(b);c=c();a.cache.set(b,c?`&${b}=${c}`:"");return a.cache.get(b)};
le=function(a){if(!a.fc)return"";a=c=>{const d=OBR.i.J(c,null);return(d==null?0:d.trim())?`&${c}=${encodeURIComponent(d.trim())}`:""};const b=c=>{var d;const f=(d=OBR.i.J(c,null))==null?void 0:d.trim();if(!f)return"";d=Number(f);return Number.isFinite(d)&&d>=0?`&${c}=${encodeURIComponent(f)}`:""};return[a("dosv"),a("deviceType"),b("vh"),b("vw"),b("screenWidth"),b("sw"),b("screenHeight"),b("sh"),b("screenWidthDP"),b("screenHeightDP"),b("density"),b("sd"),a("brand"),a("device"),a("modelIdentifier"),
a("modelId"),a("country"),a("deviceLang"),b("batteryLevel"),a("batteryPowerSaving"),a("env"),a("network"),a("carrier"),a("userAgent"),a("ua"),b("pbf")].join("")};me=function(a){return H(a,"reload",()=>OBR.g.WH())};ne=function(a,b){return H(a,"darkMode",()=>b.Ta())};oe=function(a,b){return H(a,"wdr-dark-mode",()=>{const c=b.lo(),d=b.Zw(),f=b.kh();if(c===!0||f||d)return"ob-dark-mode"})};
pe=function(a){return H(a,"obRecsAbtestVars",()=>{let b=OBR.g.lL||"";if(window.OBBridge&&window.OBBridge.bridgeIntersectionTestVariant){var c=window.OBBridge.bridgeIntersectionTestVariant;b=b?`${b},${c}`:c}(c=lb.Vd||"")&&c!=""&&(b=b?`${b},${c}`:c);(c=OBR.extern&&OBR.extern.externalObRecsAbtestVars)&&c!=""&&(b=b?`${b},${c}`:c);return b})};qe=function(a){return H(a,"forcePartner",()=>{const b=OBR.i.J("forcePartner",!1);if(b)return b})};
re=function(a){return H(a,"forceDeal",()=>{const b=OBR.i.J("forceDeal",!1);if(b)return b})};se=function(a){return H(a,"previewAds",()=>{const b=OBR.i.J("previewAds",!1);if(b)return b})};te=function(a){return H(a,"previewWidgets",()=>{const b=OBR.i.J("previewWidgets",!1);if(b)return b})};ue=function(a,b){const c=b.Nb();b=c&&c!==OBR.g.Fq;const d=a.cache.get("key")===`&key=${OBR.g.Fq}`;return H(a,"key",()=>c||OBR.g.Fq,b&&d)};ve=function(a){return H(a,"tch",()=>OBR.g.oi?"1":"0")};
xe=function(a){return H(a,"wdr-attribution-src",()=>{let b,c;if(((b=document.featurePolicy)==null?0:(c=b.allowsFeature)==null?0:c.call(b,"attribution-reporting"))&&kb(lb,we))return"1"})};
ye=function(a,b){return H(a,"forceSpecifiedDocList",()=>{var c;if((c=window.location)==null||!c.search)return"";const d=new URLSearchParams(window.location.search);var f;c=(f=d==null?void 0:d.get("forceDocs"))!=null?f:null;let e;f=(e=d==null?void 0:d.get("obShareId"))!=null?e:null;if(!c&&!f)return"";if(f)return f;if(c.includes(":")){const [h,l]=c.split(":");return h&&l?h===b.D()?l:"":""}return c},!0)};ze=function(a){return H(a,"lsl",()=>OBR.g.oe?"1":"")};
Ae=function(a){return H(a,"devMem",()=>{let b,c;return(b=window)==null?void 0:(c=b.navigator)==null?void 0:c.deviceMemory})};Be=function(a){return H(a,"scrOri",()=>{var b;let c,d;const f=(b=window)==null?void 0:(c=b.screen)==null?void 0:(d=c.orientation)==null?void 0:d.type;if(f)return f.startsWith("portrait")?"p":"l";let e;if(b=(e=OBR.i)==null?void 0:e.mo())return b.startsWith("portrait")?"p":"l"})};
Ce=function(a){return H(a,"hwc",()=>{let b,c;return(b=window)==null?void 0:(c=b.navigator)==null?void 0:c.hardwareConcurrency})};De=function(a){return H(a,"ttfb",()=>{var b;let c,d;var f=(b=window.performance)==null?void 0:(c=b.getEntriesByType)==null?void 0:(d=c.call(b,"navigation"))==null?void 0:d[0];let e;b=(e=f==null?void 0:f.responseStart)!=null?e:0;let h;f=(h=f==null?void 0:f.requestStart)!=null?h:0;return b>0&&f>0?Math.round(b-f):null})};
Ee=function(a){return H(a,"bandwidth",()=>{let b,c,d;const f=(c=(b=window)==null?void 0:b.navigator)==null?void 0:(d=c.connection)==null?void 0:d.downlink;if(f)return f.toString()})};Fe=function(a){return H(a,"netQ",()=>{let b,c,d;return(d=(b=window)==null?void 0:(c=b.navigator)==null?void 0:c.connection)==null?void 0:d.effectiveType})};Ge=function(a){return H(a,"cors",()=>!Eb.vc()&&bc()?"true":"")};Ie=function(a){return H(a,"ijs",()=>He())};
Je=function(a,b){return H(a,"api_user_id",()=>{const c=a.fc?!1:b.Nb()?!0:!!document.querySelector("div[data-ob-installation-key]");if(!c&&!a.fc)return"";const d=b.Lb(),f=Eb.vc();if(c)return f&&d&&d!=="null"?d:"";if(a.fc)return f?d:"null"})};Ke=function(a){return H(a,"navt",()=>{let b,c;return((c=(b=OBR.g).dw)==null?void 0:c.call(b))||""})};
Pe=function(a){var b=Le;const c=OBR.g.Mc?"&forceCards="+OBR.g.Mc:"",d=OBR.g.Ur?`&usegs=${OBR.g.Ur}`:"",f=me(b),e=ne(b,a),h=oe(b,a),l=OBR._jsc.ke()?"&wdr-cs=1":"",m=a.yo()?`&news=${a.yo()}`:"",g=a.$v()?`&newsFrom=${a.$v()}`:"",k=pe(b),n=OBR.g.ql?"&wdr-cosc=1":"",p=qe(b),r=re(b),u=se(b),t=te(b),v=ue(b,a);var w,x=(w=a.wH())?`&injwidx=${w}`:"",C=a.OH();w=w&&C?x+"&qbRpm=1":x;x=`&adblck=${+(OBR.g.Qn.getValue()||OBR.qb.Sj()==="true")}`;C=`&abwl=${+(OBR.qb.sp()==="true")}`;const z=`&activeTab=${b.fc?"true":
!document.hidden}`,E=ve(b),G=b.Pb&&b.Pb.extraParams&&typeof b.Pb.extraParams==="string"?`&${b.Pb.extraParams}`:"",T=OBR.g.Ij?`&gpp=${OBR.g.Ij}`:"",U=OBR.g.Po?`&gpp_sid=${OBR.g.Po}`:"",J=xe(b),R=OBR.g.vJ?"&noclip=1":"";Me=!0;var P=(P=Ne)?`&tpcdl=${P}`:"";const da=Oe||"",ea=a.ge()?`&psub=${a.ge()}`:"",fa=OBR.g.By?`&dicbo=${OBR.g.By}`:"",ha=OBR.g.Cy?`&clickVersion=${OBR.g.Cy}`:"";var ia,X=a.ih();if(X===0&&b.fc){var ja;X=((ia=window)==null?void 0:(ja=ia.screen)==null?void 0:ja.width)>0?window.screen.width:
400}ia=typeof X!=="number"||isNaN(X)?"":`&cw=${Math.round(X)}`;ja=OBR.g.Dh==="true"||OBR.g.Dh==="false"?`&ostracking=${OBR.g.Dh}`:"";X=ye(b,a);const ra=OBR.i.J("obmoment",null)==="true"?"&zetaPercentage=100&zetaAuction=false":"",sa=OBR.i.J("disamp",null)==="true"?"&amplifyEnabled=false":"";var Z=OBR.i.J("fzadgr",null);if(Z&&OBR.g.gb){var wa=encodeURIComponent(`${OBR.g.gb} z1?a=${Z}&p=500&t=1&1z`);wa=Z?`&ob_ua=${wa}`:""}else wa="";Z=ze(b);var ka;ka=(ka=OBR.oa.hb)?`&cnsntv2=${ka}`:(ka=a.ko())?`&cnsntv2=${ka}`:
"";const Na=b.fc?"":`&clientType=${(a==null?0:a.Dd())?23:OBR.g.dH()}`,za=b.fc?"":`&clientVer=${OBR.g.ver}`,Ga=Ae(b),Aa=Be(b),Oa=Ce(b),Ha=De(b),Pa=Ee(b),aa=Fe(b);var na=(na=OBR.i.W(OBR._jsc.A.QC,null))?`&tt_viewer=${na}`:"";const oa=OBR.g.Dv?`&fdicbo=${OBR.g.Dv}`:"";var ta=OBR.i.J("omidpv",null);var Qa=OBR.i.J("omidpn",null),Wa=!!OBR.g.RO;ta=ta&&Qa&&!Wa?`&omidpv=${ta}&omidpn=${Qa}`:"";Qa=Ge(b);Wa=Ie(b);const xa=b.fc&&!Eb.le?"":`&ccnsnt=${Eb.vc()}`;var ib=(ib=window.obExtMVVar)?`&${ib}`:"";a=Je(b,
a);const fc=Ke(b);b=le(b);return`&settings=true&recs=true${Qa}${Wa}${ia}${v}${OBR.g.iL}${c}${E}${f}${e}${h}${l}${m}${g}${fa}${oa}${ha}${ja}${x}${C}${ka}${k}${n}${p}${r}${t}${u}${J}${z}${b}${G}${T}${U}${R}${ea}${P}${Z}${da}${d}${X}${ra}${sa}${wa}${Na}${za}${Ga}${Aa}${Oa}${Ha}${Pa}${w}${na}${aa}${ib}${ta}${xa}${a}${fc}`};
Ue=function(a){if(OBR.g.oe&&(a.o("oo",!0)||!a.o("obcnsnt",!0)))return"";if(OBR.g.zK){var b=td();b=(OBR.g.BA=b)?`&uid2=${b}`:""}else b="";b:{try{var c=OBR.i.W("id5id");if(c){const x=JSON.parse(decodeURIComponent(c));var d={Or:x.universal_uid?x.universal_uid:0,aq:x.link_type?x.link_type:""};break b}}catch(x){}d=null}OBR.g.NJ&&d?(c=d.Or?`&id5=${d.Or}`:"",c+=d.aq?`&id5type=${d.aq}`:"",OBR.g.Aw={id5:d.Or,id5type:d.aq},d=c):d="";if(OBR.g.gK){try{c="";let x;const C=(x=window.pbjs)==null?void 0:x.getUserIds();
if(C==null?0:C.idl_env)c=C.idl_env;var f=c||(window.localStorage?window.localStorage.getItem("_lr_env")||window.localStorage.getItem("tok_lr2")||window.localStorage.getItem("idl_env"):"")||OBR.i.jh("_lr_env")||OBR.i.jh("tok_lr2")||OBR.i.jh("idl_env")||""}catch(x){f=""}f=(OBR.g.dz=f)?`&rampid=${f}`:""}else f="";if(OBR.g.eK){try{try{var e=OBR.i.W("_pubcid")}catch(x){e=""}var h;if(!(h=e||OBR.i.jh("_pubcid"))){e="";var l,m=(l=window.pbjs)==null?void 0:l.getUserIds();if(m==null?0:m.pubcid)e=m.pubcid;h=
e}var g=h||""}catch(x){g=""}g=(OBR.g.$y=g)?`&pubcid=${g}`:""}else g="";OBR.g.BK?(h=Qe(),Re||(Re=!0,Se()),OBR.g.ed=Object.assign({},{uk:null,Xe:null,Sg:null},OBR.g.ed,h),m=OBR.g.ed,h=m.uk,l=m.Xe,m=m.Sg,h=(l?`&utiq_atid=${l}`:"")+(h?`&utiq_mtid=${h}`:"")+((h||l)&&m?`&utiq_category=${m}`:"")):h="";a:{try{var k;let x;const C=((k=OBR)==null?void 0:(x=k.settings)==null?void 0:x.country)||a.o("country","");if(!Te.isEnabled(C)){var n="";break a}{let z;try{const G=OBR.i.W("_iiq_fdata","{}");var p=JSON.parse(G)}catch(G){p=
null}const E=(z=p)==null?void 0:z.pcid;if(E)var r=E;else sd(),r=null}p="";r&&(p+=`&iiq=${encodeURIComponent(r)}`);n=p;break a}catch(x){OBR.error({name:"obm-intentiq",message:x.message,stack:x.stack})}n=""}a:{r="";a=a.Ao();p=!(!a||a.includes("DROP_"));k=window.OB_ppids;try{if(p){var u=JSON.parse(decodeURIComponent(a));r=`&ppids=${btoa(JSON.stringify([{attribute:u}]))}`}else if((k==null?void 0:k.length)>=1)for(var t of k)if(t.name&&(t.value||t.id)){u={};u[t.name]=t.value||t.id;r=`&ppids=${btoa(JSON.stringify([u]))}`;
break}var v=r;break a}catch(x){OBR.error({name:"obm-badppid",message:"parse error: "+x.message,stack:x.stack});v="";break a}v=void 0}t="";if(!v||atob(v.split("&ppids=")[1]).indexOf("firstIdFR")===-1){try{const x=OBR.i.jh("firstid");var w=x?decodeURIComponent(x):""}catch(x){w=""}t=(OBR.g.ov=w)?`&firstIdFR=${w}`:""}return`${b}${d}${f}${g}${h}${t}${v}${n}`};Ve=function(a,b){let c=a;typeof a==="string"&&a.startsWith("$_")&&([,a]=a.split("$_"),c=b[a]);return c};
We=function(a,b){if(a===void 0)return a;try{switch(b){case String:case Number:return b(a);case Boolean:return a==="true";case Object:return JSON.parse(a);default:return a}}catch(c){return a}};Xe=function(a,b){if(a){var c=new URLSearchParams(window.location.search);if(c.has(a))return We(c.get(a),b)}};Ze=function(a,b,c){var d=Ye;d.Jf.has(a)||d.Jf.set(a,new Map);d.Jf.get(a).set(b,c)};
$e=function(a,b,c,d){var f=I.ha(c);const {ea:e,wa:h,WL:l}=a.V();a={permalink:b,widgetId:h,feedFatherIdx:c,idx:e,clickTrackerUrl:d,extId:f.jb(),extId2:f.yc()};a=OBR.si.un(a);a.setData(l);a.Sz(c);a.dA();OBR.g.setData(a);f&&(c=f.sd(),b=f.Lb(),(f=f.wj())&&a.ci(f),b&&a.Lz(b),c&&a.mr(c));return a};af=function(a,b,c,d){const {ea:f}=a.V();a=$e(a,b,c,d);return OBR.F[f]=a};bf=function(a){return OBR.i.sa(a)};
cf=function(a){const b=String(a);return OBR.F.filter(c=>(c==null?void 0:c.yj)&&String(c.yj())===b).reduce((c,d)=>Math.max(c,Number(d.G())),-1)};
ef=function({xe:a,wa:b,ea:c,cardIdx:d,fatherCardIdx:f,bP:e,np:h,op:l,bn:m,hg:g,JF:k,Hb:n,os:p,Ld:r,eL:u,ne:t,xf:v}){const w=[];l&&w.push(`data-ob-installation-type=${l}`);g&&w.push(`data-ob-user-id=${g}`);m&&w.push(`data-ob-app-ver=${m}`);h&&w.push(`data-ob-installation-key=${h}`);k&&w.push(`data-click-url=${k}`);u&&w.push(`data-on-news=${u}`);r&&w.push(`data-pub-imp-id=${r}`);t&&w.push(`data-ob-lazy-render=${t}`);v&&w.push(`data-dark-mode=${v}`);h=e&&e.includes("ob-gnr-layout");return df(`<div class="OUTBRAIN" data-src="${a}" data-widget-id="${b}" data-card-idx="${d}" data-feed-father-idx="${f}"
                            data-ob-mark="true" data-browser="${n}" data-os="${p}" data-dynload data-idx="${c}" id="outbrain_widget_${c}" ${w.join(" ")}>${h?"":e}</div>`)};ff=function(a){OBR.logger.log(`[WARNING] ${a}`)};gf=function(a){OBR.logger.log("[DFP Data] glade DFP ad requested");a.ld({event:a.dataBI.C.xC,data:a.Wi})};hf=function(a){OBR.logger.log("[DFP Data] glade DFP ad served");a.ld({event:a.dataBI.C.zC,data:a.Wi})};
jf=function(a){OBR.logger.log("[DFP Data] glade DFP got empty ad");a.ld({event:a.dataBI.C.EMPTY,data:a.Wi})};kf=function(a){OBR.logger.log("[DFP Data] glade DFP got error");a.ld({event:a.dataBI.C.ERROR,data:a.Wi})};
lf=function(a){var b=a.adInfo.cardIdx;const c=a.adInfo.fatherCardIdx,d=a.adInfo.adPath,f=a.adInfo.adId,e=a.adInfo.adWidth,h=a.adInfo.adHeight,l=a.adInfo.adStyle;OBR.gptAds=OBR.gptAds||[];const m=I.createElement("script",null,null,{src:"//securepubads.g.doubleclick.net/tag/js/gpt.js"}),g=I.createElement("script",null,null,{type:"text/javascript"});g.appendChild(document.createTextNode(`
        window.googletag = window.googletag || {cmd: []};
        window.googletag.cmd.push(function () {
            var slot = window.googletag.defineSlot('${d}/${e}x${h}', [${e}, ${h}], '${f}');
            OBR.gptAds['${f}'] = slot;
            if(slot) {slot.addService(googletag.pubads())}
            window.googletag.pubads().enableSingleRequest();
            window.googletag.pubads().collapseEmptyDivs();
            window.googletag.pubads().setTargeting('publisher_id', []).setTargeting('variant_id', []).setTargeting('feed_id', []);
            window.googletag.pubads().addEventListener('slotRenderEnded', (event) => {
              var customEvent = new CustomEvent('${"onOBGptLoadedEvent"}', {detail: event});
              document.dispatchEvent(customEvent);
            })
            window.googletag.enableServices();
        });
    `));try{const k=I.createElement("div",f,`display:none;${l}`,{"class":a.className,"data-card-idx":b,"data-feed-father-idx":c});b=`window.googletag.cmd.push(function() { 
        window.googletag.display('${f}');
        window.googletag.pubads().refresh([OBR.gptAds['${f}']]);
      });`;document.head.appendChild(m);document.head.appendChild(g);const n=I.createElement("script",null,null,{type:"text/javascript"});n.appendChild(document.createTextNode(b));k.appendChild(n);gf(a.pd);document.addEventListener("onOBGptLoadedEvent",p=>{(p.detail||{empty:!0}).empty?(jf(a.pd),a.logger.error("createGPT failed - got an empty ad (event.detail.empty === true); check the ad settings"),k.style.display="none"):(k.style=`display:block; ${l}`,hf(a.pd))});return k}catch(k){a.logger.error(k),
kf(a.pd)}};
mf=function(a){var b=a.adInfo.cardIdx;const c=a.adInfo.fatherCardIdx,d=a.adInfo.adPath,f=a.adInfo.adData,e=a.adInfo.adWidth,h=a.adInfo.adHeight,l=a.adInfo.adContainerWidth,m=a.adInfo.adContainerHeight;try{const g={"class":a.className,"data-card-idx":b,"data-feed-father-idx":c};(b=l||m?(l?`width:${l}px;`:"")+(m?`height:${m}px;`:"")+"display:none;":null)&&(g.style=b);const k=I.createElement("div",null,null,g),n=I.createElement("script",null,null,{src:"//securepubads.g.doubleclick.net/static/glade.js",async:"true"}),
p=I.createElement("div",null,"display: none;",{"data-glade":"","data-ad-unit-path":d,"data-json":f||"",width:e,height:h});k.appendChild(p);k.appendChild(n);gf(a.pd);p.addEventListener("gladeAdFetched",r=>{(r.detail||{empty:!0}).empty?(jf(a.pd),a.logger.error("createDFPAd failed - got an empty ad (event.detail.empty === true); check the ad settings"),p.style.display="none",k.style.display="none"):(p.style.display="block",k.style.display="block",hf(a.pd))});return k}catch(g){a.logger.error(g),kf(a.pd)}};
nf=function(){return df('<div class="ob-no-joker-card"></div>')};of=function(a){var b=window.addEventListener?"addEventListener":"attachEvent";(0,window[b])(b==="attachEvent"?"onmessage":"message",function(c){var d=c.message?"message":"data",f=c[d].message||c[d];f==="ob-pb-ad-loaded"?a.style.display="block":f==="ob-pb-ad-after-render"&&(a.style.height=`${c[d].data}px`)},!1)};qf=function(a,b,c){try{const d=typeof a==="string"?JSON.parse(a):a,f=pf[d.type](d,b,c);f.jokerProps=d;return f}catch(d){return null}};
rf=function(){const a=(new URLSearchParams(window.location.search)).get("MNET_TEST");return a==="1"||a==="2"?a:""};
sf=function(a){if(a&&a.contentDocument){var b=a.contentDocument,c=a.contentWindow,d=()=>{var f=b.body;const e=b.documentElement,h=Math.max(f?f.scrollHeight:0,e?e.scrollHeight:0,f?f.offsetHeight:0,e?e.offsetHeight:0);h&&a.style.height!==h+"px"&&(a.style.height=h+"px");(f=Math.max(f?f.scrollWidth:0,e?e.scrollWidth:0,f?f.offsetWidth:0,e?e.offsetWidth:0))&&a.style.width!==f+"px"&&(a.style.width=f+"px")};b.readyState==="complete"||b.readyState==="interactive"?d():a.addEventListener("load",d,{once:!0});
try{const f=new ResizeObserver(()=>d());f.observe(b.documentElement);b.body&&f.observe(b.body)}catch(f){(new MutationObserver(()=>d())).observe(b.documentElement,{childList:!0,subtree:!0})}c&&c.addEventListener("load",d)}};
xf=function(a,b,c){const {ra:d,cardIdx:f}=a.V();var e=I.ha(b);if(e)switch(d){case "widget":const {Hb:h,os:l}=I.S(),{wa:m,ea:g,html:k,ne:n}=a.V();return ef({xe:c,wa:m,fatherCardIdx:b,ea:g,cardIdx:f,ne:n,bP:k,np:e.Nb(),op:e.ac(),bn:e.$b(),hg:e.Lb(),JF:e.Mb(),eL:e.yo(),Hb:h,os:l,Ld:e.vd(),xf:e.xf()});case "joker":return a=a.V().Ef,qf(a,f,b);case "adJoker":const {adType:p,adId:r,adWidth:u,adHeight:t,adPath:v,adData:w,adClient:x,adSlot:C,adContainerWidth:z,adContainerHeight:E,adStyle:G}=a.V();return tf.create({adInfo:{cardIdx:f,
fatherCardIdx:b,adType:p,adId:r,adWidth:u,adHeight:t,adPath:v,adData:w,adClient:x,adSlot:C,adContainerWidth:z,adContainerHeight:E,adStyle:G}});case "placeholderJoker":return{callback:a}=a.V(),uf.create({cardIdx:f,fatherCardIdx:b,mQ:a});case "passback":return{HL:a}=a.V(),vf.create(a,b);case "partnerJoker":c=e.o("schain");const T=e.o("pid"),U=e.o("widgetJsId"),J=e.o("req_id");e=e.o("readerPlatform","")==="mobile";({Ef:a}=a.V());return wf.create(Object.assign({},a,{ya:b,cardIdx:f,Tq:c,gJ:T,widgetId:U,
K:e,requestId:J}))}};zf=function(a){const b=yf.find(c=>c.feedIdx===+a);return!(!b||!b.isSkeleton)};Cf=function(a,b){var c=$c();c=c!==null?c:{fb:{},wl:[]};const d={n:a.widgetName,r:a.height>0?a.height/a.width:0,fx:+b};a=c.wl.filter(f=>f.n===d.n&&f.r!==0).map(f=>{const e=f.m?f.m+1:1;var h=f.r,l=d.r;return{n:f.n,m:e,r:e?e===1?(h+l)/2:((e-1)*h+l)/e:l,fx:+b}})[0];c.fb.r=Af(c,d);a=Bf(c,a,d);try{OBR.i.Ea(OBR._jsc.A.Se,JSON.stringify(a))}catch(f){OBR.logger.log("failed to set Local Storage for skeleton")}};
Af=function(a,b){return a.wl&&a.wl.length?a.wl.reduce((c,d)=>c+d.r,0)/a.wl.length:b.r};Bf=function(a,b,c){a=Object.assign({},a);if(b&&b.n)return a.wl=a.wl.map(d=>d.n===b.n?b:d),a;c&&c.r&&a.wl.push(c);return a};Df=function(a){return Math.min(...Object.keys(a.L))};Ef=function(a,b){var c=K;c.L[a].Sn=[];try{c.L[a].Sn=JSON.parse(b).filter(d=>d.type==="widget")}catch(d){}};Ff=function(a){var b=K;const c=b.L[a].lu,d=b.L[a].Sn.splice(0,b.L[a].jf);b.L[a].Sn.push(...d.filter(f=>!c.find(e=>e.id===f.id)));return d};
Gf=function(a){K.kk=a;OBR.ib.gv=a};Hf=function(a,b=Df(a)){return a.L[b].nv};If=function(a,b=Df(a)){a.L[b].nv=!0};Jf=function(a,b,{cardIdx:c}){var d=K;const {Ug:f}=d.L[b];d.L[b]=Object.assign(d.L[b],{Cc:c?c:0,ie:a,Ug:c?[...f,c]:f})};Kf=function(a=0,b){if(a=K.L[a])a.Ky=b};Lf=function(a){var b=K;if(!isNaN(a))return b.L[a].Cc};Mf=function(a,b){var c=K;if(!c.L[a])return!1;({Ug:a}=c.L[a]);return a.indexOf(b)>-1};Nf=function(a,b){var c=K;const {Ug:d}=c.L[a];c.L[a].Ug=d.filter(f=>f!=b)};
Of=function(a){return K.L[a]||{}};Pf=function(a,b=Df(a)){return a.L[b].lv};Qf=function(a,b,c=Df(a)){a.L[c].lv=b};Rf=function(a,b,c,d=Df(a)){a.L[d].features[b]=c};Sf=function(a,b,c=Df(a)){return a.L[c].features[b]};Tf=function(a,b,c=Df(a)){a.L[c].bv=b};Uf=function(a,b=Df(a)){return a.L[b].bv};Vf=function(a,b,c=Df(a)){a.L[c].Lf=b};Wf=function(a,b=Df(a)){return a.L[b].Lf};Xf=function(a,b=Df(a)){a.L[b].ek=!0};
Yf=function(a,b=Df(a),c,d){!c||OBR.oa.qQ||OBR.oa.hb||(a.L[b].RF=c,d!=="1"&&d!==1)||(a.L[b].SF=1)};Zf=function(a,b){K.L[a].$.Ap=b};$f=function(a,b){if(b){const c=a.Xf;c.endsWith("&")||c.endsWith("?")||b.startsWith("&")?a.Xf+=b:a.Xf+=`&${b}`}};L=function(a,b,c){$f(a,b&&typeof c!=="undefined"&&c!=null&&c!==""?`${b}=${c}`:"")};ag=function(a,b,c){try{const d=(new URLSearchParams(window.location.search)).get(b);d&&(c=d)}catch(d){}c&&L(a,b,c);return a};
kg=function(a=0,b=0,c=0,d){if(!K.L[a])return Promise.resolve();const f=I.ha(a);a=new bg(a,b,c,d);if(a.j.ub()){c=a.j.wc();d=a.j.uc();const r=a.j.xc(),u=a.j.pf();c&&L(a,"contentUrl",bf(c));d&&L(a,"bundleUrl",bf(d));r&&L(a,"portalUrl",bf(r));r&&u&&L(a,"lang",u)}else a.xe?L(a,"url",bf(a.xe)):cg.error("could not get permalink url");c=a.j.D();L(a,"widgetJSId",a.R.S().Kb&&a.R.S().Kb[c]?a.R.S().Kb[c]:c);a.R.S().Kb&&a.R.S().Kb[c]&&L(a,"contextRule",!1);L(a,"version",a.R.S().ver);L(a,"apv",a.R.S().Kg);L(a,
"sig",a.R.S().gs);L(a,"format",a.j.Uv());L(a,"rand",OBR.i.rand());(c=a.R.W(OBR._jsc.A.Dm))&&L(a,"lsd",bf(c));(c=a.R.W(OBR._jsc.A.Em))&&L(a,"lsdt",bf(c));a.j.me()&&L(a,"em","1");c=a.R.S().Wh;c!==null&&L(a,"pubInState",c);(c=a.R.S().Fk)&&L(a,"osLang",c);a=ag(a,"obAbtest",a.R.J("obAbtest",""));(c=a.R.S().xl===!0||a.j.Hj()===!0||a.R.S().Kb!==null)&&L(a,"testMode",c);L(a,"videoId",a.j.Ko());OBR.g.qc&&dg()&&L(a,"opvid",dg());c=a.j.jb()||a.R.S().Pn||"";L(a,"extid",encodeURIComponent(c));const [e,h]=eg(a.j);
L(a,e,h);(a.j.qx()===!0||a.R.S().vq)&&L(a,"rtbEnabled",!0);a.R.S().Lu.includes("true")&&L(a,"descriptionDisplayEnabled",!0);a.R.S().vx.includes("true")&&L(a,"isRtbDescriptionEnabled",!0);L(a,"va",a.j.Fx()===!0?!0:null);L(a,"et",a.j.Ov()===!0?!0:null);(c=a.R.S().Iv())&&L(a,"contxtKV",bf(c));L(a,"cmpStat",OBR.oa.tb?1:0);L(a,"ccpa",a.j.vj()||OBR.oa.Ib);L(a,"ccpaStat",OBR.oa.up?1:0);L(a,"num",a.j.Cj()!==null?a.j.Cj():null);a.j.ub()||(c=a.j.kw(),c!==null&&typeof c==="string"&&c.length>0?L(a,"srcUrl",bf(c)):
a.R.S().ml.length>0&&L(a,"srcUrl",a.R.S().ml));c=a.R.S().jr;L(a,"scrW",c.w);L(a,"scrH",c.h);c=a.R.S();c=a.j.ub()?c.Rq:c.Kr;$f(a,c!==""?"t="+c:"t");(c=a.R.S().Rn)&&L(a,"xp",bf(c));c=OBR.fa.nb;L(a,"winW",c.width);L(a,"winH",c.height);(c=a.R.S().za==="https://")&&L(a,"secured",c);L(a,"feedIdx",a.ya);L(a,"lastIdx",a.JK);L(a,"lastCardIdx",a.Cc);a.R.S().Du.includes("true")&&L(a,"crDraft",!0);(c=a.R.td(a.ya))&&L(a,"fAB",c);(c=a.R.po(a.ya))&&L(a,"layeredTestInfo",c);OBR.g.Rw&&L(a,"wrDebug","true");L(a,"app_ver",
a.j.$b());L(a,"installationType",a.j.ac());a.R.S().Rc&&L(a,"iframe","true");(c=a.R.S().Fd)&&L(a,"lscntx",c);a.R.J("obFakeRtb",!1)&&(L(a,"fakeRec","RTB-CriteoUS"),L(a,"fakeRecSize","4"));c=OBR.fraudDetection;a.R.S().xl!==!0&&a.j.Hj()!==!0&&((d=c.vu||c.lr)?L(a,"clss",d):c.al&&(L(a,"clid",c.al),L(a,"fdu",c.lj)));c=a.R.S().yr;c!==null&&L(a,"skipContextValidation",c);c=a.R.S().bo;c!==null&&L(a,"forceContextValidation",c);(c=a.R.S().jl)&&L(a,"skipRecsFilters",`${c}`);if(c=a.R.S().rj)L(a,"forceAd",c),L(a,
"settingLevel","SOURCE");(c=a.R.S().co)&&L(a,"forceOcAd",c);L(a,"dpr",a.R.S().Gn||0);({xk:c}=a.R.S());c||L(a,"wdr-natlaz",!1);a.R.S().zr&&L(a,"wdr-ads-data","true");(c=fg())&&$f(a,c);a=ag(a,"forceDemand",a.R.S().tv);(c=a.R.S().Al||null)&&L(a,"trace_name",c);if(a.R.S.ma&&(c=a.j.sd()))try{var l=(new window.URLSearchParams(c)).get("appBridge");L(a,"appBridge",l)}catch(r){}({tq:l}=a.R.S());l&&L(a,"ob_internal_id",l);L(a,"iabCat",a.j.Aj());({Hy:l}=a.R.S());l&&L(a,"wdr-lr","1");l=OBR.i.El(a.j.vd()||OBR.g.Ld);
L(a,"pubImpId",encodeURIComponent(l));l=a.j.sd();a.R.S().ma&&l&&$f(a,l);(l=a.j.rf())&&L(a,"rw",l);l=a.Ki();$f(l,Pe(l.j));if(a=l.j.Dj())typeof a.x==="number"&&L(l,"px",a.x),typeof a.y==="number"&&L(l,"py",a.height+a.y);a=l.R.S().ma;if(!l.R.S().qc&&!a&&(a=l.j.A())&&a.parentElement&&(a=a.parentElement.querySelector(".ob_sf_loader, .ob-chunks-loader"))){a=a.getBoundingClientRect();b:{c=null;try{if(a.top>=0&&a.left>=0&&a.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&a.right<=(window.innerWidth||
document.documentElement.clientWidth)){var m=0;break b}c=a.top>document.documentElement.clientHeight?Math.floor(a.top-document.documentElement.clientHeight):Math.floor(a.height+a.top-document.documentElement.scrollTop);if(isNaN(c))throw Error(`Invalid distance. Box = ${JSON.stringify(a)}`);}catch(r){c=null,OBR.error({name:"obm-vpd",message:r.message,stack:r.stack})}m=c}OBR._jsc.gg(m)&&L(l,"vpd",m)}if(l.Tn){var g;L(l,"fetchMore",(g=l.Tn)==null?void 0:g.streamCardId);var k;L(l,"wdr-gnr-stream-consumer-idx",
(k=l.Tn)==null?void 0:k.consumerIdx)}g=l.Ji();OBR.g.Th&&L(g,"ogn",OBR.g.Th);(k=g.R.S().referrerEnc)&&L(g,"ref",k);g=g.Xf;let n;((n=g)==null?void 0:n.length)>=OBR.g.tk&&(g=hg(g));let p;((p=g)==null?void 0:p.length)>=OBR.g.tk&&ig(g);b=jg(f,g,b);f.ci(g);return b};lg=function(a){return(a=a.P.response.settings&&a.P.response.settings.skipCardRenderBeforeTime)?a:-1};
mg=function(a){let b,c;const d=(b=a.P.response)==null?void 0:(c=b.meta)==null?void 0:c.rtbdidData;let f,e;a=(f=a.P.response)==null?void 0:(e=f.request)==null?void 0:e.idx;return(d==null?void 0:d[a])||null};
ng=function(a,b){let c;var d=(b==null?void 0:(c=b.settings)==null?void 0:c.enableTeadsAnalytics)||!0,f;let e;b=b==null?void 0:(f=b.data)==null?void 0:(e=f.display)==null?void 0:e.div_id;if(d&&b){var h,l;d=(h=a.P)==null?void 0:(l=h.response)==null?void 0:l.request;l=OBR.Fa.xd(d.feedIdx);h=new OBR.dataBI(null,G=>G.bt);f=Date.now();var m,g,k,n,p,r,u,t,v,w,x,C,z,E;b={slot:"got_teads_response",placementId:b,requestId:d.req_id,pvId:d.pvId,sectionId:d.sid,widgetJsId:`${(l==null?void 0:l.rf())||(l==null?
void 0:l.D())||""}`,widgetId:l==null?void 0:l.o("wnid",(l==null?void 0:l.G())||0),subWidgetJsId:`${d.widgetJsId}`,subWidgetId:d.wnid,cardIdx:d.fCard,docId:`${d.did}`,publisherId:d.pid,deviceOs:"",uuid:d.lsd,platform:d.readerPlatform,layeredTest:d.layeredTestInfo,actualUserTime:f-OBR.g.qk,connectionEffectiveType:((m=window)==null?void 0:(g=m.navigator)==null?void 0:(k=g.connection)==null?void 0:k.effectiveType)||"unknown",connectionRtt:((n=window)==null?void 0:(p=n.navigator)==null?void 0:(r=p.connection)==
null?void 0:r.rtt)||"unknown",speed:((u=window)==null?void 0:(t=u.navigator)==null?void 0:(v=t.connection)==null?void 0:v.downlink)||"unknown",fromLoadLatency:performance.now(),domContentLoaded:(w=performance)==null?void 0:(x=w.getEntriesByType)==null?void 0:(C=x.call(w,"navigation"))==null?void 0:(z=C[0])==null?void 0:z.domContentLoadedEventEnd,href:(E=location)==null?void 0:E.href,isLazy:a.Gf};h.C.LB.fire(b)}};
og=function(a,b){if(a.Gf){var c,d=b==null?void 0:(c=b.data)==null?void 0:c.display,f=d==null?void 0:d.html;if(f&&f.includes("https://a.teads.tv")){var e=l=>{document.head.insertAdjacentHTML("beforeend",`<link rel="preload" as="script" href="${l}">`)};if(a=(()=>{var l;const m=(l=f.match(/<script[^>]*src=["']([^"']*)["'][^>]*>/i))==null?void 0:l[1];return(l=m&&OBR.i.J("forceTeads",null))?`${m}?forceAd=${l}`:m})()){var h;d.__htmlPromise=new Promise(l=>h=l);OBR.qa.get(a,{},l=>{l&&(d.html=`<script>${l}</script>`,
h(d.html),(l.match(/https:\/\/a\.teads\.tv[^\s"']+\.js(\?[^\s"']*)?/gi)||[]).forEach(m=>e(m)))});e(`${OBR.g.uy}/displayAd.js${OBR.env?`?e=${OBR.env}`:""}`)}}}};pg=function(a){return Array(Math.min(a.nn,3)).fill(Math.round(a.re.fb.r*100)/100)};qg=function(a,b){return a.re?a.re.wl.filter(c=>+c.r!==0).map(c=>{if(b.find(d=>d.id===c.n))return Math.min(Math.round(+c.r*100)/100,1)}).filter(c=>c):null};
rg=function(a){try{if(a.nn&&a.re&&Array.isArray(a.re.wl)&&a.re.wl.length&&a.re.fb.r)return"local-storage";const b=a.we.D();return a.Wb&&Array.isArray(a.Wb)&&a.Wb.some(c=>c.includes(b))?"cheetah":"none"}catch(b){return OBR.error({name:"obm-skeleton",message:"skeletonData format is not valid"}),"none"}};
sg=function(a){const b=K.L[a.ya].jf,c=(f,e)=>f.length<b?(f.push(...e),c(f,[...e])):f.splice(0,b);if(K.ee(a.ya)==="2")return pg(a);var d=Ff(a.ya);if(!d.length)return null;(d=qg(a,d))&&d.length&&d.length<b&&(d=c(d,[...d]));return d?d:pg(a)};tg=function(a){a.we.Sr()||ad(a.ya);switch(rg(a)){case "local-storage":return sg(a);case "cheetah":hd.remove(a.we,!0);var b=dd(hd,a.we.D());b?([,b]=b,a=a.SJ?Array(1).fill(b):Array(a.nn).fill(b)):a=null;return a;case "none":return null;default:return null}};
ug=function(){let a,b,c,d;const f=(((a=OBR.i)==null?void 0:(b=a.J)==null?void 0:b.call(a,"forceCADS",""))||((c=OBR)==null?void 0:(d=c.settings)==null?void 0:d.connectedAdsWidgetIds)||"").split(",").map(e=>e.trim()).filter(Boolean);return new Set(f)};xg=function(a,b){try{const c=window.teads.pubsub.eventStore.find(d=>d.type===b&&!d.consumed);if(c)return c.consumed=!0,OBR.logger.log(`Connected Ads event received within ${vg(a)}ms`),c.data}catch(c){wg(`Error consuming event: ${c.message}`)}};
yg=function(){let a,b,c;const d=((c=(a=OBR)==null?void 0:(b=a.settings)==null?void 0:b.connectedAdsTimeout)!=null?c:5)*1E3;return Math.max(d-(Date.now()-OBR.g.startTime),0)};vg=function(a){return Math.round(performance.now()-a.At)};Ag=function(){var a=N;if(!a.Vm)try{window.teads.pubsub.subscribe("connectedAds-init",()=>{const b=xg(a,"connectedAds-init");zg(a,"event");a.mc&&a.zg&&(a.zg(b),a.Ei(!0))}),a.Vm=!0}catch(b){wg(`Error subscribing: ${b.message||"unknown"}, widgetId: ${a.mc||"none"}`)}};
wg=function(a){OBR.error({name:"obm-ConnectedAds",message:a})};Bg=function(a){(N.hj=a)||OBR.logger.log("Connected Ads: Not waiting for CA event anymore")};Cg=function(){var a=N;a.Ir=new Promise(b=>{const c=yg();a.Ei=b;a.Ve=setTimeout(()=>{OBR.logger.log(`Connected Ads timeout reached: ${c}ms`);clearTimeout(a.Ve);a.Ve=null;a.Ei(!1)},c)})};
Eg=function(){var a=N;return OBR._jsc.y(function*(){const b=yield new Promise(c=>{const d=xg(a,"connectedAds-init");d?(zg(a,"store"),c(d)):a.Vm?a.zg=c:c()});return{QF:Dg(a,b)}})};Fg=function(a){return OBR._jsc.y(function*(){Ag();if(N.mc===a&&N.Fi)return N.Fi;if(N.mc)OBR.i.Ej(1E3)===1&&wg(`Multiple widgets with connected ads, last one ignored: ${N.mc}, ${a}`);else return N.At=performance.now(),Bg(!0),N.mc=a,Cg(),N.Fi=Eg()})};
zg=function(a,b){let c;const d=(c=a.mc)!=null?c:"N/A";a.mc&&a.zg?a.hj?window.teads.pubsub.publish("connectedAds-answer",{bs:d,result:`SUCCESS ${b}`}):(window.teads.pubsub.publish("connectedAds-answer",{bs:d,result:`TIMEOUT(${vg(a)}) ${b}`}),wg(`Got late Connected Ads signal after rendering onyx, it took ${vg(a)}ms`),OBR.logger.log(`Got late Connected Ads signal after rendering onyx, it took ${vg(a)}ms`)):(window.teads.pubsub.publish("connectedAds-answer",{bs:d,result:`NO_WAITING_WIDGET ${b}`}),wg("Got init event but no widget is waiting for it"))};
Dg=function(a,b){a={gid:b==null?void 0:b.insertionId,pauctid:b==null?void 0:b.auctionId,cAdsDelay:Math.trunc(performance.now()-a.At)};return a.gid&&a.pauctid?a:null};
Gg=function(a,b){var c=N;if(!c.Yi.includes(a.G())){var d=a.A();if(d&&b)try{c.Yi.push(a.G());const f=d.cloneNode(!1);["id","style","data-ob-mark","data-idx","data-dynload"].forEach(l=>f.removeAttribute(l));f.className="OUTBRAIN";f.dataset.widgetId=a.l("connectedAdsInjectedWidgetId","FMS_CONNECTED_ADS");const e=new URLSearchParams(Object.assign({},{feedIdx:a.G(),fid:a.o("wnid",""),feedVersion:a.o("feedVersion",2)},b));f.dataset.extraParams=f.dataset.extraParams?`${f.dataset.extraParams}&${e}`:e;const h=
d.closest(".ob-smartfeed-wrapper");h.insertBefore(f,h.firstChild);OBR.controller.Be()}catch(f){wg(`Connected ads: Error injecting standalone card: ${f.message}`)}}};Hg=function(a){if(!a||a.qH()!=="1")return!1;const b=a.cw(),c=a.mx();return a.gI()==="ATF"||b.includes("ATF")&&c&&(a.Gx()||a.Uj()||a.yh())};
Ig=function(a){const b={onShow:()=>{a.A().querySelector(".ob-onyx-sponsored-container").classList.remove("ob-sponsored-hide")}};OBR.controller.ai(a,c=>{window.OB_VIDEO.init(c.currentWidget,c.beforeLoadTime,b)})};Jg=function(a){var b=a.A();b&&(b=b.querySelector(".ob-onyx-sponsored-container"),(a=a.zc("display",null))&&a.html&&b&&(a=a.width,b.style.width=a===1?"100%":`${a}px`,b.classList.remove("ob-sponsored-hide")))};
Kg=function(a,b){const c=K.L[b].$;c.Ap||((new OBR.dataBI(a,d=>d.Wl)).C.iB.fire(),Zf(b,Object.assign(c,{Ap:!0})))};Lg=function(a,b,c){a=new OBR.dataBI(a,d=>d.Wl);b?a.C.qC.fire():a.C.HB.fire();c&&a.C.rC.fire()};
Og=function(a,b,c,d){var f=Mg(a.D()),e=f?(new URL(f.name)).searchParams:null,h;let l;const m=((h=performance)==null?void 0:(l=h.now)==null?void 0:l.call(h))||0;var g;let k;var n;h=(g=e==null?void 0:e.get("netQ"))!=null?g:"";g=(k=e==null?void 0:e.get("ttfb"))!=null?k:"";e=(n=e==null?void 0:e.get("bandwidth"))!=null?n:"";n=Ng();f=(f==null?void 0:f.duration)>0?`${(f.duration/1E3).toFixed(2)}`:"";try{let r,u;var p=((r=performance.getEntriesByType("navigation"))==null?void 0:(u=r[0])==null?void 0:u.type)===
"reload"}catch(r){p=!1}return{netQ:h,ttfb:g,bandwidth:e,start2req:n,req2res:f,tabRefreshed:p,timeToFeed:`${(m/1E3).toFixed(2)}`,empty:c,lz2v:b!=null?`${((m-b)/1E3).toFixed(2)}`:void 0,llvtf:a.o("llvtf",void 0),lrvtf:a.o("lrvtf",void 0),rlz2f:d,ua:navigator.userAgent,country:a.o("country",void 0)}};
Qg=function(a,b,c){const d=a.D();if(!Pg.has(d)){var f=OBR.i.H(b).querySelector(".ob-cards");if(f){Pg.add(d);var e,h,l=new IntersectionObserver(m=>{m.forEach(g=>{if(g.isIntersecting){var k=(p,r)=>{try{const u=Og(a,p,f.querySelectorAll(".OUTBRAIN").length===0,r);u.margin=c||"";(new OBR.dataBI(a,t=>t.Wl)).C.jC.fire(u)}catch(u){}};l.unobserve(g.target);l.disconnect();h&&clearTimeout(h);var n;(n=e)==null||n(k)}})},{threshold:[0]});l.observe(f);return new Promise((m,g)=>{e=m;h=setTimeout(()=>{l.disconnect();
clearTimeout(h);g()},3E5)})}}};Rg=function(a){OBR._jsc.y(function*(){if(N.Et.has(a.D())&&!OBR.g.ma&&!OBR.g.qc){OBR.logger.log(`${a.D()}: waiting for Connected Ads signal`);var {QF:b}=yield Fg(a.D());b&&N.hj?(OBR.logger.log(`${a.D()}: GOT Connected Ads signal`),Gg(a,b)):b||OBR.logger.log(`${a.D()}: NO Connected Ads signal`)}})};
Vg=function(a,{we:b,cv:c=!1}){const d=b.G();if(!K.L[d])if(b.A()){var f=b.A();a.Cd=f.children.length===1&&f.children[0].children.length===0;K.L[d]={lv:!0,nv:!1,Cc:0,Ug:[0],features:{cv:!1,xQ:!1},bv:null,Jq:null,Lf:!1,ek:!1,Ky:null,RF:null,SF:2,jf:null,Rt:!0,ak:!1,$:{Ap:!1},nR:0,Iq:[]};f=[];var e=b.l("feedWrapperMargins",""),h=b.ih();e&&f.push(`margin:${e}`);b.l("hideHeaders",!1)&&I.ka(".ob-smartfeed-wrapper .OUTBRAIN:not(:first-child):not(.ob-parent-feed) .ob-widget-header {display:none;}");h===0&&
f.push("width:100%");I.ka(".ob-smartfeed-wrapper .OUTBRAIN:not(:first-child):not(.ob-parent-feed) .ob_what {display:none;} "+`.ob-smartfeed-joker {margin-bottom: 20px; padding-bottom: 4px; padding-top: 0;} ${f.length?`.ob-smartfeed-wrapper.feedIdx-${b.G()} {${f.join(";")}}`:""}`);if(f=b.Mb())Tf(K,f,b.G()),I.Hi(b);f=b.l("recMode");Rf(K,"feedManualChunkFetch",c,d);Rf(K,"feedLayout",f==="odb_dynamic_feed",d);if(Sf(K,"feedManualChunkFetch",d))a.ei(b),OBR.g.ma&&a.jj(d);else{f=b.l("lazyLoadFirstCycle",
!1)===!0;c=b.o("llvtf",0)>0;if(f||c){f=b.A();e=b.l("lazyLoadFirstCycleMargin",250);if(c){h=OBR._jsc.Sg().height;const l=b.o("llvtf",0);e=Math.floor(l>0?h*l:e)}e=`${e}px`;c=c&&Qg(b,f,e);(new OBR.IntersectionObserver({callback:a.LK.bind(a),callbackParams:[b,c],element:f,rootMargin:e,threshold:[0],unobserve:!0})).observe()}else Tg(a,b);Ug.cg(b,d)}Rg(b)}else ff(`Container for widgetId=${b.D()} doesn't exist on the DOM. Feed cannot be created.`)};
Tg=function(a,b){const c=b.G(),d=I.ha(c);Hf(K,c)||(If(K,c),a.ei(b),Wg(c,d),I.S().Mx||Xg(a,c,0))};
Wg=function(a,b){var c=b.l("feedLoadChunkSize",0);K.L[a].jf=c?c*1:null;Ef(a,b.l("feedContent","[]"));c=b.l("feedCardsRunningOnce","[]");var d=K;d.L[a].lu=[];try{d.L[a].lu=JSON.parse(c)}catch(f){}K.nr(a,b.o("feedVersion","1"));c=b.l("intersectionObserverTriggerMargin","0");K.L[a].Lw=c;c=b.l("smartBatchMode","DISABLED");K.L[a].cO=c;c=b.l("smartBatchMargin",null);K.L[a].bO=c;K.gl(b.Da());Yf(K,a,b.ko(),b.Hv());b=b.l("pinnedJokersCardProperties","[]");c=K;try{c.L[a].Iq=JSON.parse(b)}catch(f){c.L[a].Iq=
[]}};
Xg=function(a,b,c,d=null){const {Cc:f,ie:e}=Of(b);var h=I.ha(b);try{var l=OBR.g.bu&&OBR.g.bu.feedIdx===parseInt(b)}catch(m){l=!1}l?Kg(h,b):(l=c===0&&h.fe(),e===!1?(ff("fetchNextStream was triggered with hasMore=false. aborting..."),Yg(d,"grey")):Mf(b,c)?(OBR.controller.Xt(b),Yg(d,"green"),d=h.D(),Nf(b,c),c=a.Rv(b,d),d=Zg(b),$g(a,d,c),l?ah(a,h.fe(),b):(h=K.kk.then(()=>kg(b,f,bh(b))),Gf(h),h.then(a.ue.bind(a)).catch(m=>ch(a,m,b)))):(cg.log("fetchNextStream was triggered but chunk is not observered. aborting..."),Yg(d,
"red")))};bh=function(a){const b=Number(a);if(!Number.isFinite(b))return OBR.error(`getFeedLastIdx: no feed found for feedIdx=${a}`),OBR.F.length-1;a=cf(a);return a>=0?a:(b+1)*1E3};ch=function(a,b,c){OBR.error(b);cg.error(`failed on Multivac response on feedIdx:${c}. Reason: ${b.toString()}`);dh();a.Bh=!1;Gf(Promise.resolve())};Yg=function(a,b){OBR.g.Ak&&a&&(a.style.outline=`3px dashed ${b}`)};Zg=function(a){const b=Sf(K,"feedLayout",a);return eh(a,b)};
$g=function(a,b,c){b&&b.appendChild(c);a.Bh=!0};ah=function(a,b,c){const {Cc:d}=Of(c);b.wD={widgetId:I.ha(c).D(),ea:d,timestamp:parseInt(performance.now())};a.ue(b)};fh=function(a,b){const {Cc:c,ie:d,ak:f}=Of(b);if(!f&&d!==!1){var e=I.ha(b).fe();Nf(b,-1);e&&c===0?ah(a,e,b):($g(a,Zg(b),Zc()),e=K.kk.then(()=>kg(b,c,bh(b))),Gf(e),K.L[b].ak=!0,e.then(h=>{K.L[b].ak=!1;a.ue(h)}).catch(h=>{K.L[b].ak=!1;ch(a,h,b)}))}};gh=function(a,b){return b&&b.Tp()&&b.jk()&&a.xp};
hh=function(a,b,c,d){if(gh(a,b)){a.xp=!1;const f=b.G(),e=b.Mb(),h=b.Da();c.forEach(l=>{const {ea:m}=l.V();l.O=()=>b;OBR.F[m]=$e(l,h,f,e)});OBR.controller.Jv().add(`widgetLazyRender_${f}`,()=>{a.ue(d,!0)});return!0}return!1};ih=function(a,b,c,d){if(!d&&b.length>0){b=b[b.length-1];OBR.hd.fire(`onFeedEnd_${c}`,[b,OBR.i.H(b).querySelector(".ob-dynamic-rec-container:last-child")],!0,a);let f;(a=OBR.Fa.xd(b==null?void 0:b.getAttribute("data-idx")))!=null&&(f=a.C)!=null&&Ia.fire(Object.assign({},f.Qa,Yd("feedEnd")))}};
jh=function(a){const b=[],c=[];a.forEach((d,f)=>{d.V().ne&&(b.push(d),c.push(f))});c.forEach(d=>{a.splice(d-c.indexOf(d),1)});return b};kh=function(a,b,c){return b.map(d=>xf(d,c,K.Da()),a)};lh=function(a){if(OBR.g.Ak){const b=OBR.i.RH();a.forEach(c=>c.style.boxShadow=`-2px 4px 10px 2px ${b}`)}};
nh=function(a,b,c){a.forEach(d=>{const f=d.V().ea;d=af(d,K.Da(),b,Uf(K,b));OBR.controller.Zz(d);d.$z(c);OBR.controller.jv(d,f);d.Oz();I.Rf(d);I.$h(d);OBR.controller.To(d);d.zf()||OBR.controller.oc(f);mh(OBR.Ab,d);Ug.cg(d,b)})};oh=function(a,b,c){c&&c.length&&c.forEach(d=>d&&a.wq(b,d.V()))};rh=function(a,b,c){if(b&&b.length){var d=()=>{ph(a,b,c)||c()},f=b[0].V();(new IntersectionObserver((e,h)=>qh(e,h,d,f.Np),f.$p)).observe(a.A())}};
sh=function(a,b){K.L[b.G()].Iq.forEach(c=>{a.Kk.includes(c.pos)||(new OBR.IntersectionObserver({callback:()=>{var d=b.G();const f=c.pos;Number(Lf(d))>=Number(f)&&a.Kk.push(f);if(!a.Kk.includes(f)){const e=OBR.i.H(b.A()).querySelector(".ob-cards");d=qf(c,f,d);e.append(d);Lg(b,a.bp.length,a.Bh);a.bp.push(Number(f));a.Kk.push(f)}},element:document.querySelector(c.selector),threshold:[0],unobserve:!0})).observe()})};
th=function(a,b,c){if(c.length===1&&c[0].P&&c[0].P.ra==="joker"){c=Zg(b);var d=Of(b).Cc;Xg(a,b,d,c.querySelector(`.ob-smartfeed-joker[data-card-idx='${d}']`))}};vh=function(a,b,c,d,f){a&&(K.L[b].Rt&&uh(c)&&!f?d||(a=I.ha(b),a.A().style.display="none",OBR.hd.fire(`empty_feed_${b}`,[a])):K.L[b].Rt=!1)};wh=function(a){return a.filter(b=>(b=b.V())&&b.hk?!b.hk(Date.now()):!0)};uh=function(a){return!a||a.length===0||a.map(b=>I.ha(b.V().ea)).every(b=>!(b==null?0:b.Ha()))};
xh=function(a,b){Jf(!0,b,{cardIdx:parseInt(Lf(b))+parseInt(K.L[b].jf)});Xg(a,b,Lf(b))};yh=function(a){return a.filter(b=>{b=I.ha(b.V().ea);return b.Tc()&&!b.zf()})};zh=function(a,b){a.filter(c=>c.V().callback).map(c=>{try{const d=c.V().cardIdx,f=c.V().callback.split(".").reduce((h,l)=>h[l],window),e=Zg(b).querySelector(`div[data-card-idx='${d}']`);f&&e&&setTimeout(f.bind(null,e),0)}catch(d){cg.error(`fail to run card callback, card Json: ${c.V()} error: ${d}`)}})};
Ah=function(a,b){var c=K.L[b].bO;if(K.L[b].cO==="DISABLED"||!c)return a.Ut||K.L[b].Lw;const d=K.ee(b)==="2",f=K.L[b].jf,e=Lf(b);return f&&e&&Number(e)<=Number(f)&&d?c:a.Ut||K.L[b].Lw};Bh=function(a,b){return b.filter(c=>{c=c.V();return!a.bp.includes(Number(c.cardIdx))})};Ch=function(a,b){return a.filter((c,d)=>(c=b[d].style.opacity)&&parseFloat(c)>0)};Dh=function(a){return a.filter(b=>(b=b.style.opacity)&&parseFloat(b)>0)};
ph=function(a,b,c){try{if(!N.Et.has(a.D())||OBR.g.ma||OBR.g.qc)return!1;const d=af(b[0],K.Da(),a.G(),Uf(K,a.G()));if(!Hg(d))return!1;if(N.Yi.includes(a.G()))return Bg(!1),OBR.logger.log("Connected Ads - lazy render flow - have event show CA widget"),!0;if(N.Ve!==null)return OBR.logger.log("Connected Ads - lazy render flow - no event yet, wait for timeout"),N.Ir.then(f=>{OBR.logger.log("Connected Ads - lazy render flow - timeout reached, no event");Bg(!1);!f&&c()}),!0;Bg(!1);OBR.logger.log("Connected Ads - lazy render flow - no event show onyx widget")}catch(d){OBR.error({name:"obm-ConnectedAds",
message:`Connected ads error in lazy cards: ${d.message}`})}return!1};qh=function(a,b,c,d=()=>!1){a.forEach(f=>{f.isIntersecting&&!d(Date.now())&&(c(),b.unobserve(f.target))})};Eh=function(a,b){const c=b.Da(),d=b.G(),f=b.Mb();a.forEach(e=>{if(e&&e.P&&e.P.response&&e.P.response.request&&e.P.response.request.idx){var h=e.P.response.request.idx;OBR.F[h]||(e.O=()=>b,OBR.F[h]=$e(e,c,d,f))}})};
Fh=function(a,b){const c=[],d=a.filter(f=>f.V().ra==="widget");b.forEach(f=>d.forEach(e=>{const h=f.attributes["data-card-idx"].value,l=e.V().cardIdx;if(h===l)return c.push(e)}));return c};
Vh=function(a){a.la=OBR.i.Bb(a.j.ud());a.Ag(a.la);const b=Gh(a),c=Hh(a.j);return Object.assign({},Ih(a.j),{setHooks:d=>{let f;const e=(f=a.tf)!=null?f:{};a.tf=Object.assign({},e,d)},getHooks:()=>a.tf,render:()=>a.Ue(),getNode:()=>{!a.la.isConnected&&a.kb&&(a.la=a.j.nw());var d=a.la;return d},setNode:d=>{a.j.A().append(d)},setStyles:d=>{typeof d==="string"&&(a.la.querySelector(".ob-gnr-css").innerHTML=d)},getGnrData:()=>b,getCallParam:(d,f)=>c[d]||f,sendBiData:(d,f,e)=>Jh(a,d,f,e),sendZapperData:(d,
f,e)=>{Kh(a,`${OBR.g.Nf}logger/v1/userActions/`,d,f,e)},sendData:(d,f,e,h)=>Kh(a,d,f,e,h),addViewabilityObserver:d=>{const f=d&&d.getAttribute("data-pos");f&&a.Xr.includes(f)&&a.xn.push(...OBR.Ka.Dc(a.j,[d]))},addEventTrackersElementToObserver:d=>{const f=d&&d.getAttribute("data-pos");f&&a.j.hN(f,d)},lazyLoadModule:(d,f,e)=>{var h=a.te;const l=!(a.j.X("gnr")||{}).moduleName;f=f.replace(/\.[^/.]+$/,"");Lh(e,h,d,f,l)},localStorageManager:Mh(),stateManager:Nh(a),moduleName:a.te,setFrequencyStorage:(d,
f)=>OBR._jsc.Oh(d,f),getFrequencyStorage:d=>OBR._jsc.Ph(d),fetchNextStream:d=>Qh(a,d),getFeedParentNode:()=>{let d;return(d=a.j.O())==null?void 0:d.A()},getFeedParentApi:()=>Rh(a),setObStorage:(d,f)=>Sh(d,f),getObStorage:d=>Th.get(d),fireWidgetEvent:(d,f)=>ce((f?OBR.Fa.sf(f):a.j).C,d),fireClosedWidgetEvent:d=>ce((d?OBR.Fa.sf(d):a.j).C,"closed"),teadsPlayerViewabilityEvents:()=>OBR._jsc.Uh})};
pi=function(a){a.la=Wh(a.j);if(!a.la)return null;Xh(a);const b=Gh(a),c=Hh(a.j);return Object.assign({},Ih(a.j),{getNode:()=>a.la,setStyles:d=>{if(typeof d==="string"){const f=a.la.querySelector(".ob-gnr-features");f.innerHTML=`${f.innerHTML}${d}`}},getGnrData:()=>b,getCallParam:(d,f)=>c[d]||f,sendBiData:(d,f,e)=>Jh(a,d,f,e),sendZapperData:(d,f,e)=>{Kh(a,`${OBR.g.Nf}logger/v1/userActions/`,d,f,e)},sendData:(d,f,e,h)=>Kh(a,d,f,e,h),lazyLoadModule:(d,f,e)=>{var h=a.te;const l=!(a.j.X("gnr")||{}).moduleName;
f=f.replace(/\.[^/.]+$/,"");Lh(e,h,d,f,l)},moduleName:a.te,render:a.j.Gp()?()=>a.Ue():null,stateManager:Nh(a),setFrequencyStorage:(d,f)=>OBR._jsc.Oh(d,f),getFrequencyStorage:d=>OBR._jsc.Ph(d),localStorageManager:Mh(),getFeedParentNode:()=>{let d;return(d=a.j.O())==null?void 0:d.A()},getFeedParentApi:()=>Rh(a),setObStorage:(d,f)=>Sh(d,f),getObStorage:d=>Th.get(d),fireWidgetEvent:(d,f)=>ce((f?OBR.Fa.sf(f):a.j).C,d),fireClosedWidgetEvent:d=>ce((d?OBR.Fa.sf(d):a.j).C,"closed"),teadsPlayerViewabilityEvents:()=>
OBR._jsc.Uh,onFeedCardRendered:d=>Yh(a,d),getRenderedFeedCards:()=>oi(a.j)})};qi=function(a,b){switch(b){case "v1":return Vh(a);case "f_v1":return pi(a);default:return Vh(a)}};ri=function(a,b,c,d){const f=c.getAttribute("data-pos");a.Xr=a.Xr.filter(e=>e!==f);(b=a.xn.includes(d))&&a.xn.splice(b,1)};Ih=function(a){return{getSetting:(b,c)=>a.l(b,c),getMeta:b=>a.X(b,null),getData:b=>a.zc(b,null),getRequest:(b,c)=>a.o(b,c),getWidgetId:()=>a.D(),getWidgetIndex:()=>a.G()}};
Gh=function(a){const b={};try{const c=a.j.X("gnr",null),d=c&&c.docs;d&&Object.keys(d).forEach(f=>b[f]=JSON.parse(d[f]))}catch(c){OBR.logger.log("could not parse GNR json")}return b};Hh=function(a){const b={};try{const c=a.wj(),d=new URLSearchParams(c?c.split("?")[1]:window.location.search.slice(1));for(const [f,e]of d.entries())b[f]=e}catch(c){}return b};Jh=function(a,b,c,d){const f=a.j.o("lsd","");b=Object.assign({method:OBR.g.da.La,sessionId:f},{method:b});a.dataBI.fire(66E3+c,d,b)};
Kh=function(a,b,c,d,f){var e=a.j.o("lsd","");c=Object.assign({method:OBR.g.da.La,sessionId:e},{method:c});e=f&&f.callback?f.callback:()=>{};a=f&&f.enrichWithClientData?a.dataBI.Ii(null,d,c):d;OBR.qa.send(c.method,b,a,e,!0,null,null,!0)};Mh=function(){const a=Object.values(OBR._jsc.A);return{allowedKeys:a,get:b=>Gb.get(b),set:(b,c)=>a.includes(b)&&Gb.set(b,c),"delete":b=>Gb.delete(b)}};Nh=function(a){return{get:(b,c)=>Ye.getState(c?c:a.te,b),set:(b,c)=>Ze(a.te,b,c)}};
Qh=function(a,b){const c={};c.feedIdx=a.j.yj();c.streamCardId=b;c.consumerIdx=a.j.G();si.Oo(c,()=>ti(a,"streamFailed"))};Rh=function(a){const b=a.j.O();return b?Object.assign({},Ih(b),{getNode:()=>b.A()}):null};ti=function(a,b,c){if(a.tf&&a.tf[b]&&typeof a.tf[b]==="function")a.tf[b](c)};Xh=function(a){if(!a.bG){var b=document.createElement("style");b.setAttribute("class","ob-gnr-features");a.la.append(b);a.la.insertBefore(b,a.la.children[0]);a.bG=!0}};
Yh=function(a,b){const c=a.j.D();OBR.controller.Jv().add("onWidgetRendered",d=>{ui(d,c)&&b(vi(d))})};yi=function(a){a=a.j.D();!wi()&&xi[a]&&(xi[a].forEach(b=>b&&b()),delete xi[a])};Lh=function(a,b,c,d,f){var e=zi;b=`${b}/${c}/${d}`;OBR.v.bz(b,f?"gnr_feature_internal_lazy":"gnr_module_internal_lazy");e.Xc[b]={loaded:!1,options:null,Gq:[]};e.Sf[b]=Ai(a,b);e.Sf[b].then(h=>h())};
Di=function(a,b,c){try{const f=b.version.startsWith("f_"),e=new Bi(a,c),h=qi(e,b.version);if(h){var d=b.statistics;!f&&a.dl(e);a.Uz(d==="manual");Ci(h,b);b.callback(h)}}catch(f){OBR.error({name:"obm-GNR",message:`Module name: ${c}, ${f.message}`,stack:f.stack})}};Ei=function(a,b){var c=zi;try{const d=a.ro();c.Sf[d]?xi[a.D()]=b.map(f=>()=>c.init(a,f,!0)):b.forEach(f=>c.init(a,f,!0))}catch(d){OBR.error({name:"obm-GNR",message:"Error in gnr features init",stack:d.stack})}};
Fi=function(a,b,c){a.Xc[b].options=c;a.Xc[b].loaded=!0;a.Xc[b].Gq.forEach(d=>{Di(d,c,b)})};Gi=function(a,b){var c=zi;const d=OBR.v.Zv(a);d?(OBR.v.T(d),c.Sf[a].then(()=>Fi(c,a,b))):OBR.error({name:"obm-GNR",message:`Module name: ${a} was not found`,stack:"None"})};Ci=function(a,b){b.settingsDeclaration&&Hi(a,b.settingsDeclaration)};
Ii=function(a){const b=document.createDocumentFragment();var c=document.createElement("template");c.innerHTML=a.ud();c=[...c.content.querySelectorAll(".ob-dynamic-rec-container")];c.forEach(d=>{const f=d.dataset.pos;delete d.dataset.pos;d.dataset.origPos=f;d.dataset.origCardIdx=a.G();d.dataset.gnrStream="true"});b.append(...c);return b};
Hi=function(a,b){try{a.settings=Ji(b,(c,d)=>a.getSetting(c,d))}catch(c){OBR.error({name:"obm-GNRSettingProviderFailed",message:"Error in enriching module settings"+c.message,stack:c.stack})}};Li=function(a){window.addEventListener("pagehide",()=>Ki(a,a.uz.takeRecords()))};Mi=function(a){a.uz=new ReportingObserver(b=>{Ki(a,b)},{types:["intervention"],buffered:!1});a.uz.observe()};Ni=function(a,b){a.Xj&&a.rp&&(a.Xg[0]|=1<<b,OBR.i.Ea(OBR._jsc.A.us,a.Xg.join(",")))};
Ki=function(a,b){return OBR._jsc.y(function*(){const c=b.find(({type:f="",body:e={}})=>f==="intervention"&&e.id==="HeavyAdIntervention");if(c){Ni(a,2);var d=`${OBR.g.Jl}/WidgetErrorMonitor/api/report`;if(OBR.g.tl&&a.Fh){const {HK:f,jI:e}=a.getError(c);a.Ne&&a.Ne.C.UB.fire(e,{method:OBR.g.da.ob});OBR.qa.send(OBR.g.da.ob,d,f)}}})};Oi=function(a){return a.Xj?a.Xg?a.Xg:OBR.i.W(OBR._jsc.A.us,"").split(",").filter(b=>!!b).slice(0,50):[]};
Pi=function(a){a.F=a.F||OBR.F.map(b=>({name:b.D(),id:b.o("wnid",b.D()),vid:b.o("vid",0)}));return a.F};Qi=function(a,b){a.Fh&&a.thresholds&&a.thresholds.forEach(c=>{!c.rd&&b>=c.size&&(c.rd=!0,Ni(a,c.OG),c.event.fire({log:Oi(a).join(","),widgets:Pi(a)},{method:OBR.g.da.ob}))})};Si=function(a){const b=[a.Ne.C.IC,a.Ne.C.JC,a.Ne.C.KC,a.Ne.C.LC],c=[4,5,6,7];return Ri.map((d,f)=>({percent:d,size:4E6*d,event:b[f],OG:c[f],rd:!1}))};
Ti=function(a){a.Xg=[0,...Oi(a)];Ni(a,0);document.addEventListener("click",()=>{Ni(a,3)},{once:!0})};Ui=function(a){return/network usage/i.test(a)?"NETWORK-USAGE":/CPU usage/i.test(a)?"CPU-USAGE":a};Vi=function(a){a.gn=new PerformanceObserver(b=>{for(const c of b.getEntries())a.Mr+=c.value});a.gn.observe({type:"layout-shift",buffered:!0})};
Wi=function(a,b){var c=b.A().parentNode;a=a.Wc[b.D()].height;c=c.getBoundingClientRect();return(window.innerHeight||document.documentElement.clientHeight)-(c.bottom-(c.height-a))>-100};
Yi=function(a){var b=OBR._jsc.Xi;b.xh||(Vi(b),b.hp(),b.xh=!0);b.Wc[a.D()]||(b.Wc[a.D()]={j:a,$:new OBR.dataBI(a,d=>d.XC)});const c=b.Wc[a.D()];c.height=a.getBoundingClientRect().height;c.zh=Wi(b,a);a.D()!==a.o("widgetJsId",a.D())&&(c.gM=a.o("widgetJsId",a.D()));c.zh&&!b.cr&&(typeof c.Vb==="undefined"&&(c.Vb=0),b.cr=!0,b.Lh=[])};
$i=function(a){var b=Zi;if(OBR.g.ma||!b.bK||!b.hc(a))return!1;if(b.Cz)return b.Mp;a=OBR.i.W("debug-webvitals-monitor-sample",100)*1;b.Mp=Math.floor(Math.random()*a)<1;b.Cz=!0;return b.Mp};aj=function(a){const b=D("widgetLazyLoadMargin")?OBR.settings.widgetLazyLoadMargin:500;return a&&a.l("widgetLazyLoadMargin",b)||b};
bj=function(a,b,c){b=new OBR.IntersectionObserver({callback:d=>{d.xN();OBR.Aa.jK(d)?OBR.Aa.fire(d):OBR.Aa.register(d)},callbackParams:[c],element:b,rootMargin:`${a.Yp}px`,threshold:[0],unobserve:!0});b.observe();a.Zp.push(b)};
dj=function(a){var b=cj;const c=a.A(),d=c?OBR.i.H(c).querySelector(".ob_what.ob-branding-lazy-load"):null;d&&(a={callback:()=>d.classList.remove("ob-branding-lazy-load"),callbackParams:[a],element:c,rootMargin:`${aj(a)}px`,threshold:[0],unobserve:!0},a=new OBR.IntersectionObserver(a),a.observe(),b.Zp.push(a))};ej=function(a){try{if(!a)return null;const b=a.split("/").pop().split(".")[0],c=decodeURIComponent(window.atob(b));return JSON.parse(c)}catch(b){return null}};gj=function(a,b){fj(a,b);a.rd[`${a.qd}-${b}`]++};
fj=function(a,b){a.rd[`${a.qd}-${b}`]||(a.rd[`${a.qd}-${b}`]=0)};ij=function(a,b=window){try{if(b.__gpp)b.__gpp("addEventListener",c=>{if(c.eventName==="signalStatus"&&c.data==="ready"){var d=c.pingData.gppString;if(d)return d=OBR.i.sa(d),c=c.pingData.sectionList,OBR.g.Ij=d,OBR.g.Po=c,d}return null});else return hj(a)}catch(c){return null}};hj=function(a){if(OBR.g.Rc){let b=window,c=0;for(;b&&c<10;)try{if(b.frames.__gpp)return ij(a,b);b=b.parent;c++}catch(d){break}}return null};
pj=function(a){const b=a.j.l("exploreMoreReferrerDomains","[]"),c=a.j.l("exploreMoreBlockedReferrerDomains","[]");try{const d=jj(a,b),f=jj(a,c),e=d.length===0,h=f.length===0;if(e&&h)return!0;const l=kj(a);if(f.includes("$samesite")&&(OBR._jsc.lj(l)||OBR._jsc.mj(l)))return!1;const m=nj(a,d,l),g=oj(a,f,l);return e?h?!0:!g:m}catch(d){OBR.error({name:"obm-ExploreMoreValidReferrer",message:`allowedReferrers: ${b}blockedReferrers: ${c} 'referrer:${document.referrer}`})}return!1};
uj=function(a){try{var b=a.j.l("exploreMoreBlockedReferrerDomains","[]");const c=OBR.g.referrerOrig,d=OBR.g.zo(),f=qj(d),e=c.includes(f),h=rj();if(h.length&&h[0].u===d&&h[0].t===!0)return!0;const l=(new URL(d)).hostname,m=!c.includes(l)&&c.includes(f),g=JSON.parse(b).map(n=>n.toLowerCase());g.push("traffic.outbrain.com","paid.outbrain.com","app-sdk.outbrain.com");g.push("ampproject.org");const k=g&&g.length?g.some(n=>sj(a,n)):!1;b=!(e||k)||m;tj({u:d,t:b});return b}catch(c){return OBR.error({name:"obm-ExploreMoreValidSession",
message:`sessionFailure: ${c.message} 'referrer:${document.referrer}`}),!1}};zj=function(a){const b=a.j.l("exploreMoreTriggerMechanism",a.vO),c=window.location.origin,d=window.location.href.split("#")[0],f=vj&&wj!==c;if(xj!==null&&xj!==d||f)yj=vj=!1,wj=null,xj=d;if(vj)return yj;if(a.fc||a.mJ)return vj=!0,yj=!1,wj=c,!1;if(OBR.g.forceExploreMore)return!0;let e,h;yj=(h=(e=a.HE)[b])==null?void 0:h.call(e);vj=!0;wj=c;xj=d;return!!yj};rj=function(){const a=history.state||{};return a.emh?a.emh:[]};
sj=function(a,b){try{const c=kj(a);if(b.startsWith("=")){const d=b.slice(1);return d===c?!0:(new URL(c)).hostname===d}return c.includes(b)}catch(c){OBR.logger.log(c)}return!1};tj=function(a){const b=history.state||{},c=b.emh?b.emh:[];c.includes(a)||c.push(a);history.replaceState(Object.assign({},b,{emh:c}),"")};jj=function(a,b){return JSON.parse(b).map(c=>c.toLowerCase()).map(c=>c==="darksocial"||c==="dark-social"||c==="dark social"?a.Fb.Pe:c==="direct"?a.Fb.Qe:c)};
kj=function(a){const b=OBR.g.referrerOrig;return b.length?b:a.j.X("ds",null)?a.Fb.Pe:a.Fb.Qe};nj=function(a,b,c){const d=b.includes(a.Fb.Qe)||b.length===0;if((b.includes(a.Fb.Pe)||b.length===0)&&c.includes(a.Fb.Pe)||d&&c.includes(a.Fb.Qe))return!0;c=b.some(f=>sj(a,f));return b.length>0?c:!1};oj=function(a,b,c){const d=b.includes(a.Fb.Qe),f=b.includes(a.Fb.Pe);if(d&&c.includes(a.Fb.Qe)||f&&c.includes(a.Fb.Pe))return!0;c=b.some(e=>sj(a,e));return b.length>0?c:!1};
Bj=function(a,b){var c=b.A(),d=(new Aj((a==null?void 0:a.mvResponse)||{})).V();a=d.Rg;d=d.ya;if(a&&a.length!==0){a=xf(a[0],d,b.Da()).querySelector(".ob-widget-items-container");let f;(c=(d=c==null?void 0:(f=c.shadowRoot)==null?void 0:f.querySelector("div"))?d.querySelector(".ob-widget-items-container"):c.querySelector(".ob-widget-items-container"))&&a&&(c.innerHTML=a.innerHTML,OBR.controller.oc(b.G()))}else OBR.logger.log("No cards returned for refreshCard")};
OBR._jsc.Cj=function(a,b){a.gj.add("afterRender",b)};Dj=function(a){if(a=a.X("staticCss"))OBR.g.ql=a};Fj=function(a,b,c){const d=c.A();d?d&&b&&b.length>0&&(c.Go()>0?Ej(a,d,b[0],c.G(),c):a.ag(b[0],d,c.G(),c),a.pa.logger.log("element inserted")):(a.pa.logger.log("widget container not found"),OBR.error({name:"obm-ContainerNotFound",message:`Container not found for widget idx ${c.G()}`}))};
Ej=function(a,b,c,d,f){const e=()=>{Gj(a,b).then(l=>{Hj(a,l,c,d,f).then(m=>{Ij(a,m)})})},h=new a.pa.Promise;h.then(()=>{Jj(a,b).then(e)});h.resolve()};Gj=function(a,b){const c=new a.pa.Promise;b.style.opacity=0;setTimeout(()=>{c.resolve(b)},0);return c};Hj=function(a,b,c,d,f){const e=new a.pa.Promise;b=a.ag(c,b,d,f);setTimeout(()=>{e.resolve(b)},0);return e};
Ij=function(a,b){const c=new a.pa.Promise;let d=.1;const f=setInterval(()=>{d>=1?(clearInterval(f),b.removeAttribute("style"),c.resolve(b)):(b.style.opacity=d,b.style.filter="alpha(opacity="+d*100+")",d+=d*1.6)},50)};Jj=function(a,b){const c=new a.pa.Promise;let d=1;const f=setInterval(()=>{d<=.1?(clearInterval(f),c.resolve(b)):(b.style.opacity=d,b.style.filter="alpha(opacity="+d*100+")",d-=d*.1)},10);return c};Kj=function(a,b){a.container=b===null||isNaN(b)?null:document.getElementById(`outbrain_widget_${b}`)};
Lj=function(a){a.requestData||(a.requestData={});return a.requestData};Mj=function(a,b,c){a=a[b];return typeof a!=="undefined"&&a!==null?a:c};Nj=function(a){a.vr||(a.vr={});return a.vr};ed=function(a){if(!a)return{};const {x:b,y:c,width:d,height:f}=a.getBoundingClientRect();return{x:b,y:c,width:d,height:f}};OBR._jsc.Sg=function(){var a=OBR.fa;return{x:0,y:0,width:a.nb.width,height:a.nb.height}};
Oj=function(a,b){if(!b)return 0;var c=a.yk,d=c.totalWidth,f=c.visibleFrom;c=c.visibleTo;if(f<0||c<1)return 0;if(a.Mw){var e=window.devicePixelRatio||1;a=f/e;d/=e;e=(c-f)/e;b=b.getBoundingClientRect();f=Math.max(0,b.left);c=Math.max(a,b.top);d=Math.min(0+d,b.left+b.width);a=Math.min(a+e,b.top+b.height);f>=d||c>=a?f=0:(b=b.width*b.height,f=b>0?Math.min(1,Math.max(0,(d-f)*(a-c)/b)):0);return f}a=b.getBoundingClientRect();c<a.top||a.left<0?f=0:(e=window.devicePixelRatio,b=d/e,f=Math.max(0,(Math.min(b,
a.left+a.width)-Math.max(b-d,a.left))*(Math.min(c/e,a.height+a.top)-Math.max(a.top,f/e))/(a.width*a.height)));return f};Pj=function(a){OBR.i.Yb(window,"resize",()=>{a.fi()});a.fi()};Rj=function(a,b){const c=Date.now(),d=c-a.Wp;a.Vh=b;d>=a.Iu?(Qj(a,a.Vh),a.Wp=c,a.Vh=null,a.Yg&&(clearTimeout(a.Yg),a.Yg=null)):a.Yg||(a.Yg=setTimeout(()=>{Qj(a,a.Vh);a.Wp=Date.now();a.Vh=null;a.Yg=null},a.Iu))};
Qj=function(a,b){b=new CustomEvent("obBridgeViewabilityDebugger",{detail:{viewData:b,calculateRatio:c=>Oj(a,c)}});window.dispatchEvent(b)};Sj=function(a,b){b=b.boundingClientRect;a=a.getBoundingClientRect();return{top:a.top+b.top,bottom:a.bottom+b.top,left:a.left+b.left,right:a.right+b.left,width:a.width,height:a.height}};
Tj=function(a,b){b=b.rootBounds;a={left:Math.max(a.left,b.left),right:Math.min(a.right,b.right),top:Math.max(a.top,0),bottom:Math.min(a.bottom,b.height)};a.width=a.right-a.left;a.height=a.bottom-a.top;return a};Uj=function(a){Vb({url:a,method:OBR.g.da.Eb,data:{},FO:!0})};
Vj=function(a){const b=(d,f)=>{d.map(e=>{var h=d[e].pixel;e=d[e].contextAware;const l=ob(OBR.settings)&&Eb.vc()===!1;h=e?h:`https://widgets.outbrain.com/nanoWidget/externals/obPixelFrame/obPixelFrame.htm#${l?"epm=1&":""}p=${encodeURIComponent(OBR._jsc.Vc.transform.url(h))}`;h=O.createElement({type:e?"IMG":"IFRAME",id:null,css:"display:none;height:1px;width:1px;",attributes:{src:h}});OBR._jsc.ac(OBR._jsc.Vc,h).to(f)})};var c=a.A();a&&c&&(a=a.X("whenViewedPixels",null),c=OBR.i.H(c).querySelector(".ob-pixels"),
a&&c&&b(a,c))};mh=function(a,b){const c=b.G();a.lg[c]&&(Wj(a,b,a.sc.ready),a.$k(b),delete a.lg[c])};Yj=function(a){var b=OBR.Ab;if(!a.gx())if(O.log("Adding stats for: "+a.G()),a.l("tracking",!1))Wj(b,a,b.sc.Nr);else if(a.Bx())Wj(b,a,b.sc.stopped);else if(Xj(a)||a.Dd())Wj(b,a,b.sc.ready);else if(a.tH()||a.sK()){const c=a.G();b.lg[c]||(b.lg[c]=a.A())}else Wj(b,a,b.sc.ready),b.$k(a)};bk=function(a){OBR.hd.add("ajax_error",(b,c)=>{Zj(c)&&ak(a,c)})};
ck=function(a){OBR.hd.add("ajax_succeed",b=>{try{if(Zj(b)){const c=new URL(b),d=c.searchParams.get("retries");d&&d!=="0"&&(c.searchParams.delete("retries"),a.Dl.delete(c.toString()))}}catch(c){}})};ek=function(a){O.log("Starting Statistics");O.Ok(()=>{a.Nt=!0;dk(a)});O.log("AdBlock - Start full check for stats");Oc(OBR.qb,{KK:!0})};
Wj=function(a,b,c){var d=b.X("viewability_actions");if(d!==void 0&&d!==null&&d.reportServed){var f=b.X("viewability_actions").reportServed.split("?");d=O.Ik(f[1]);d.tm=(new Date).getTime()-a.startTime;d.eT=c;if(c===a.sc.ready){d=O.ki(d);if(b){var e=document.body.getBoundingClientRect();var h=b.A();if(h){var l=h.getBoundingClientRect();e=`&widgetWidth=${Math.round(l.width||h.clientWidth)}&widgetHeight=${Math.round(l.height||h.clientHeight)}&widgetX=${Math.round(l.left-e.left)}&widgetY=${Math.round(l.top-
e.top)}`}else e=""}else e="";h=OBR.Te.ff;!b||h===-1||OBR.Te.pA?h="":(OBR.Te.pA=!0,h=`&tpcs=${h}`);e=`${d}${e}${h}`}else e=O.ki(d);d=[];d.push(`${f[0]}?${e}`);d.push("&wRV="+OBR.g.ver);a:{try{if(parseInt(b.o("pad","0"))===0){b.Wz(!1);var m=!1;break a}if(typeof b.Kp()==="undefined"){var g=typeof b.Kp()==="undefined"?Tc(b.G(),c):!1;b.Wz(g);m=g;break a}}catch(G){OBR.logger.log("updatePaidRecsViewability: in detection of visible paid recs")}m=b.Kp()}d.push("&pVis="+(m?"1":"0"));d.push("&lsd="+b.o("lsd",
-1));d.push("&eIdx=");m=b.o("cnsnt","");g=b.o("cnsntv2","");f=b.o("ccpa","");m!==""&&d.push("&cnsnt="+m);f!==""&&d.push("&ccpa="+f);g!==""&&d.push("&cnsntV2="+g);a.qj||(d.push("&cheq="+OBR.fraudDetection.qu),a.qj=!0);c===a.sc.ready&&b.jw()&&d.push("&rtt="+b.jw());d.push("&oo="+b.o("oo","false"));if(c===a.sc.ready){if(nd.isEnabled){if(nd.isEnabled)if(c=b.O(),m=b.G(),m>100&&m<1E3)var k=rd();else{m=c?c.pH():void 0;g="connection"in navigator&&((k=navigator.connection)==null?void 0:k.effectiveType);k=
(f=od())?f.requestStart||f.fetchStart:void 0;f=f?f.responseEnd:void 0;e=parseInt(window.performance.timeOrigin);h=qd(e,pd(b,"rendered"));l=qd(e,pd(b,"mv","start"));var n=qd(e,pd(b,"mv","end")),p=b.D();c=(c?c.me():b.me())||OBR.g.Ed||c&&Qb(c.D())||Qb(p)||b.Fp()?"1":"0";k={Fy:k,obLoaded:f,mvReq:l,mvRes:n,rendered:h,timeOrigin:e,actualSizeChunk:m,connectionEffectiveType:g,Qx:c}}else k=rd();var {Fy:r,obLoaded:u,mvReq:t,mvRes:v,rendered:w,actualSizeChunk:x,timeOrigin:C,connectionEffectiveType:z,Qx:E}=k;
u&&d.push("&lo="+u.toFixed());r&&d.push("&obreq="+r.toFixed());t&&d.push("&mvreq="+t.toFixed());v&&d.push("&mvres="+v.toFixed());w&&d.push("&re="+w.toFixed());z&&d.push("&cet="+z);x&&d.push("&cs="+x);C&&d.push("&to="+C);E&&d.push("&ll="+E)}d.push(`&chs=${OBR.g.bH()}`)}k=new fk(b);OBR.g.zw&&k.j.zp()&&!vj?(c=zj(k),k.log(`Page ${c?"":"not "}eligible.`),k=c?"1":"0"):k=void 0;k&&d.push(`&eme=${k}`);gk(d,b);b=d.join("");O.log("Stats waiting list: "+b);a.Qg.add(b);dk(a)}};
Xj=function(a){const b=a.l("recMode","");return b.includes("top-box")||b.includes("bottom-box")||a.ck()};hk=function(){var a=OBR.Ab;a.Qb||(a.Zk(),setTimeout(()=>a.Qb=!1,a.IM),a.Qb=!0)};dk=function(a){if(a.Nt&&!a.Uc)for(;!a.Qg.Cd();){var b=a.Qg.top();a:{if(OBR.g.fk()||OBR.g.gk()){var c="&ab=0&wl=0";break a}c=`&ab=${O.ho()}&wl=${O.Mo()}`;c==="&ab=0&wl=2"&&OBR.error({name:"adblock",message:"got 0 2 in ad blocker detection"})}b+=c;Zj(b)&&(b+="&retries=0");Uj(b)}};
ik=function(a,b){const c=O.ha(b).A();let d=null;const f=h=>{h<=0?(clearTimeout(d),d=null):d=d||setTimeout(()=>{O.ha(b)&&(a.Me[b]=null,e.unobserve())},15E3)},e=new OBR.IntersectionObserver({callback:h=>{f(h.intersectionRatio)},element:c,threshold:0,intersectPercentage:-1,unobserve:!1});a.Ua.push(e);e.observe()};ak=function(a,b){try{let c=b.split("&retries")[0];const d=(a.Dl.get(c)||0)+1;a.Dl.set(c,d);d<=2?(c+=`&retries=${d}`,setTimeout(()=>{Uj(c)},d*1E3)):a.Dl.delete(c)}catch(c){}};Zj=function(a){return/mcdp-.*\.outbrain\.com/.test(a)};
gk=function(a,b){const c=b.A();if(c){var d,f;b=((d=c.closest("[data-stats-extra-params-inherit]"))==null?void 0:(f=d.dataset)==null?void 0:f.statsExtraParamsInherit)||"";var e;d=((e=c.dataset)==null?void 0:e.statsExtraParams)||"";if(b||d){var h=new URLSearchParams(b);(new URLSearchParams(d)).forEach((l,m)=>h.set(m,l));(e=h.toString())&&a.push("&"+e)}}};
lk=function(a,b,c=!1,d=!1,f=!1){const e=OBR.i.A(b);if(e){const h=jk(e);f&&e.style.webkitLineClamp!="undefined"||!(h||c||d)||setTimeout((()=>{const l=OBR.i.A(b);h&&kk(a,l,b,"ob-rec-text");c&&kk(a,l,b,"ob-rec-source");d&&kk(a,l,b,"ob-rec-description")}).bind(a),500)}else OBR.logger.log("truncation - no container found for widgetIdx="+b)};
mk=function(a,b,c,d){if(c)if(d)c=b.innerText||b.textContent,c=c.lastIndexOf(" ")>0?c.substring(0,c.lastIndexOf(" ")):c.substring(0,c.length-3),a.JD.indexOf(c.slice(-1))>-1&&(c=c.substring(0,c.length-1)),b.innerHTML=c+"&hellip;";else for(a=b.clientHeight,c=b.textContent+"&hellip;",b.innerHTML=c;b.clientHeight>a;)c=c.substring(0,b.textContent.length-2)+"&hellip;",b.innerHTML=c};
kk=function(a,b,c,d="ob-rec-text"){const f=OBR.i.getElementsByClassName(d,b);d=()=>{for(let n=0;n<f.length;n++){const p=f[n];p.title=p.innerText||p.textContent;var e=p.clientHeight,h=parseInt(OBR.i.Oc(p,"max-height").replace("px",""));if(e<h)continue;e=p.cloneNode(!0);var l=document.createElement("div");l.style.position="absolute";l.style.top="-1000px";l.style.left="-1000px";document.body.appendChild(l);var m=e.style;m.fontSize=OBR.i.Oc(p,"font-size");m.fontWeight=OBR.i.Oc(p,"font-weight");m.fontFamily=
OBR.i.Oc(p,"font-family");m.lineHeight=OBR.i.Oc(p,"line-height");m.textTransform=OBR.i.Oc(p,"text-transform");m.letterSpacing=OBR.i.Oc(p,"letter-spacing");m.display="block";m.visibility="hidden";var g=OBR.i.Oc(p,"padding-right").replace("px",""),k=OBR.i.Oc(p,"padding-left").replace("px","");m.width=p.clientWidth-k-g+"px";l.appendChild(e);g=void 0;m=a;k=e.innerText||e.textContent;let r=!0;const u=OBR.Fa.xd(c);for(u&&(r=u.l("ellipsisTruncationUseSpace",!0));h>0&&e.offsetHeight>h&&k.length>0;)k=k.substring(0,
k.length-1),e.innerHTML=k,g=!0;k.length===0?g=!1:(h=e.offsetHeight,mk(m,e,g,r),h<e.offsetHeight&&(k=k.substring(0,k.length-1),e.innerHTML=k,mk(m,e,g,r)));h=g;h===!0?p.innerHTML=e.innerText||e.textContent:h===!1&&OBR.logger.log("Truncation - External CSS broke the calculation, truncation is canceled.");l.parentNode.removeChild(l)}};OBR.i.getElementsByClassName("ob-touch-strip-layout",b).length===0?d():setTimeout(d,1E3)};
jk=function(a){var b=!1;(a=a.querySelector(".ob-widget"))&&a.attributes["data-dynamic-truncate"]&&a.attributes["data-dynamic-truncate"].value==="true"&&(b=!0);return b};
pk=function(){let a=!1,b=null;return new Promise((c,d)=>{const f=btoa(OBR.fraudDetection.lj);OBR.logger.log("FD call TCheck");const e=setTimeout(()=>{a=!0;OBR.logger.log("FD TCheck timeout");d({type:"timeout"})},2E3);b=Date.now();OBR.qa.send(OBR.g.da.Eb,nk+"/"+f,null,h=>{let l=Date.now()-b;a:{let m=!1;if(h){try{m=JSON.parse(h).result}catch(g){h=null;break a}h=m}else h=void 0}a&&ok.ld({cheqEvent:3,responseTime:l});clearTimeout(e);OBR.logger.log("FD got response from TCheck");h===null?d({type:"error"}):
c(h)})})};qk=function(){const a=()=>Math.floor((1+Math.random())*65536).toString(16).substring(1);return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()};rk=function(a,b){a.yv.add("onFDStatusReady",b)};sk=function(a){a.container.querySelectorAll(".ob-onyx-sponsored").forEach(b=>b.remove())};vk=function(a){return()=>{var b=a.tc?a.tc.scrollTop>75:!1;const c=a.Bd();if(b&&a.Cf)(b=a.tc)&&!a.Bf&&(b.classList.add("scroll-down-mode"),a.Bf=!0);else{if(!b&&c&&!a.Cf)return tk(a);if(!b&&a.Cf&&a.Bf)return uk(a)}}};
wk=function(a){return()=>{if(a.cc){let b;(b=a.tc)==null||b.removeEventListener("scroll",a.cc)}a.Gc&&(a.Gc.classList.remove("teads-takeover-ad"),a.Cf=!1);a.reset()}};tk=function(a){if(a.Gc){const c=a.tc;if(c){var b=getComputedStyle(c).getPropertyValue("--ob-em-explore-more-bg-color");b&&c.style.setProperty("--ob-em-explore-more-bg-color-original",b)}a.Gc.classList.add("teads-takeover-ad");a.Gc.removeAttribute("style");a.Cf=!0;uk(a)}};
uk=function(a){const b=a.tc;b&&a.Bf&&(b.classList.remove("scroll-down-mode"),a.Bf=!1)};xk=function(a){let b;a.RL=(b=a.wn)!=null?b:"";let c,d;a.wn=(d=(c=location)==null?void 0:c.hash)!=null?d:""};zk=function(a){if(a.options.by&&!a.options.Zj){var b=`
    .ob-explore-more-up-page {
      display: flex;
      align-items: center;
      justify-content: center;
      width:100vw;
      height:48px;
      top:0
    }
    .ob-explore-more-up-page .ob-explore-more-image-logo {
      width:${a.options.tG};
      height: auto;
      max-height: 44px;
      display: flex;
      align-self: center;
      margin-left:${a.options.sG};
    }
    .ob-explore-more-up-page .back-button {
      background-image:url(https://widgets.outbrainimg.com/images/widgetIcons/arrows-chevron-left.svg);
      width:24px;
      height:24px;
      position:absolute;
      left: 0;
      background-repeat:no-repeat;
      background-color:#000;
      border-color:#000;
      background-size:contain;
      padding:9px 6.5px 8.5px 6px
    }`,c=document.createElement("div");c.className="ob-explore-more-page";c.innerHTML=`
      <style>${b}</style>
      <div class='ob-explore-more-up-page' style='background-color: ${a.options.wE}'>
        <button class='back-button'></button>  
        <a class='imageLogoLink'>
          <img class='ob-explore-more-image-logo' src="${a.options.by}" alt="Logo"/>
        </a>
        
      </div>`;c.querySelector("button.back-button").addEventListener("click",()=>{document.referrer&&!a.Xw?window.location.href=document.referrer:yk(a)});c.querySelector("a.imageLogoLink").addEventListener("click",()=>{window.location=a.j.l("urlHomePage",window.location.protocol+"//"+window.location.host)});return c}};
Ak=function(a){if(a.options.nd.text){var b=document.createElement("div");b.className="ob-explore-more-advise";b.innerHTML=`<style>${".ob-explore-more-advise{--ob-em-bubble-bg-color:#151e41;--ob-em-bubble-font-color:#fff;--ob-em-bubble-font-size:13px;--ob-em-bubble-font-family:inherit;width:100%;background-color:#151e41;background-color:var(--ob-em-bubble-bg-color);color:#fff;color:var(--ob-em-bubble-font-color);font-size:13px;font-size:var(--ob-em-bubble-font-size);font-family:var(--ob-em-bubble-font-family);margin:8px 0 12px;display:-webkit-box;display:-ms-flexbox;display:flex;padding:8px 0;position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ob-explore-more-advise-x{width:20px;height:20px;-webkit-transform:scale(.9);transform:scale(.9);padding:0;border:0;background-color:#fff;background-color:var(--ob-em-bubble-font-color);-webkit-mask-image:url(https://widgets.outbrain.com/images/widgetIcons/icon-x.svg);mask-image:url(https://widgets.outbrain.com/images/widgetIcons/icon-x.svg);-webkit-box-flex:0;-ms-flex:0 0 20px;flex:0 0 20px;opacity:.7}.ob-explore-more-advise-x:hover{opacity:1}.ob-explore-more-advise-text{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;justify-items:center}"}</style><span class='ob-explore-more-advise-text'>${a.options.nd.text}</span>`;b.style.setProperty&&
(b.style.setProperty("--ob-em-bubble-bg-width",a.options.nd.width),b.style.setProperty("--ob-em-bubble-bg-height",a.options.nd.height),b.style.setProperty("--ob-em-bubble-bg-color",a.options.nd.bgColor),b.style.setProperty("--ob-em-bubble-font-color",a.options.nd.color),b.style.setProperty("--ob-em-bubble-font-size",a.options.nd.fontSize),b.style.setProperty("--ob-em-bubble-font-family",a.options.nd.fontFamily));a.options.isRTL&&(b.style.direction="rtl",b.setAttribute("dir","rtl"));return b}};
Bk=function(a){var b=a.options.EO&&OBR.g.zJ&&OBR.g.pe;const c=new DocumentFragment,d=a.options.I,f=`200${b?"dvh":"vh"}`;c.appendChild(d);d.id="ob-explore-more";d.setAttribute("style",`position:fixed;top:${f};left:0;right:0;bottom:0;width:100vw;height:100${b?"dvh":"vh"};background-color:var(${"--ob-em-explore-more-bg-color"},#fff);z-index:2147483647;overflow:auto;display:${"block"};box-sizing:border-box;overflow-x: hidden;overflow-y: scroll;`);a.options.K&&a.options.FM==="slide-in"&&(d.style.transform=
"translateX(-100%)",d.style.transition="transform 350ms ease",d.style.willChange="transform");const e=document.createElement("div");e.className="OUTBRAIN";b=new Map;b.set("data-external-id",a.options.Rb.wG);b.set("data-external-secondary-id",a.options.Rb.xG);b.set("data-pub-imp-id",a.options.Rb.Ld);b.set("data-ob-installation-type",a.options.Rb.op);b.set("data-ob-user-id",a.options.Rb.hg);b.set("data-ob-app-ver",a.options.Rb.bn);b.set("data-ob-installation-key",a.options.Rb.np);b.set("data-click-url",
a.options.Rb.Ui);b.set("data-ob-contenturl",a.options.Rb.TF);b.set("data-ob-bundleurl",a.options.Rb.CE);b.set("data-ob-portalurl",a.options.Rb.OL);b.set("data-ob-psub",a.options.Rb.TL);b.set("data-widget-id",a.options.widgetId);b.set("data-ob-lazy-render","true");b.set("data-ob-prefetch","true");b.set("data-ob-explore-more","true");b.set("data-ob-mark","true");b.set("data-src",a.j.Da());a.j.ox(a.options.widgetId)&&b.set("data-ob-priority","true");b.forEach((h,l)=>{h&&e.setAttribute(l,h)});d.appendChild(e);
b=zk(a);(a=Ak(a))&&d.insertBefore(a,d.firstChild);b&&d.insertBefore(b,d.firstChild);return c};
yk=function(a){var b=a.options.I;const c=a.options.Uh;b&&b.parentElement&&(c?b.parentElement.removeChild(b):b.style.display="none");if(a.options.py){a=document.body.querySelectorAll("video:not(div.OUTBRAIN video)")||[];b=document.body.querySelectorAll("audio:not(div.OUTBRAIN audio)")||[];for(var d of[...a,...b])d.hasAttribute("ob-em-state-muted")&&(d.muted=!1,d.removeAttribute("ob-em-state-muted"))}if(OBR.g.pe){d=document.querySelectorAll(".ob-fixed-overlay-scroll");for(const f of d)f.classList.remove("ob-fixed-overlay-scroll")}};
Ck=function(a){const b=document.createElement("div");b.id="ob-em-blacker";b.style="position: fixed;width: 100vw; height: 100vh;z-index: 2147483643;background-color: rgba(0,0,0,0.5);overflow:hidden;top:0;left:0;display: flex;align-items: center;justify-content: center;opacity:0;transition: .1s ease-in;";const c=document.createElement("div");c.id="ob-em-container";c.style="position: relative;width:60vw;height:80vh;max-width:650px;max-height:700px;background-color:#fff;z-index:2147483644;overflow:hidden;overflow-y: auto;display:block;border-bottom: 32px solid white;padding: 0 32px;";
c.innerHTML='<div class="close-btn" style="position: sticky;text-align: right;top:10px;margin-right: -25px;height: 0;color:rgb(164, 163, 168);cursor: pointer;">\u2715</div>';b.append(c);c.querySelector(".close-btn").addEventListener("click",()=>{yk(a);a.j.Ya(Q.Ga.M.eC)},{once:!0});c.addEventListener("click",d=>d.stopPropagation());b.addEventListener("click",()=>{yk(a);a.j.Ya(Q.Ga.M.fC)});return b};
Dk=function(a){a=a.j.l("exploreMoreElementsBlockScroll","[]");try{const b=JSON.parse(a)||[];b&&b.length&&OBR.i.ka(`${b.join(",")}{overflow:hidden!important}`)}catch(b){OBR.logger.log(b)}};
Ek=function(a){if(OBR.g.pe){a=a.j.l("exploreMoreElementsBlockScroll","[]");try{const b=JSON.parse(a)||[];if(b&&b.length){OBR.i.ka(".ob-fixed-overlay-scroll {position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100%; !important}");for(const c of b){const d=document.querySelector(c);d&&d.classList.add("ob-fixed-overlay-scroll")}}}catch(b){OBR.logger.log(b)}}};Fk=function(a){const b=a.options.I;b&&b.parentElement&&(b.style.display="block");Dk(a);Ek(a)};
Gk=function(a){a.uh&&clearInterval(a.uh)};Hk=function(a){(a=a&&a.querySelector(".OUTBRAIN"))&&a.removeAttribute("data-ob-lazy-render");a&&a.removeAttribute("data-ob-prefetch")};Ik=function(a){if(a=a&&a.querySelector(".OUTBRAIN")){var b,c=new URLSearchParams((a==null?void 0:(b=a.dataset)==null?void 0:b.statsExtraParamsInherit)||"");c.set("emt","back-button");a.dataset.statsExtraParamsInherit=c.toString()}};
Jk=function(a){const b=a.options.I,c=Ck(a);a=c.querySelector("#ob-em-container");const d=b.children;b.querySelectorAll(".ob-explore-more-up-page, .ob-explore-more-advise").forEach(f=>f.remove());a.append(...d);b.style="";setTimeout(()=>{c.style.opacity="1"},0);b.append(c)};Kk=function(a){a=(a=a.options.I.querySelector(".OUTBRAIN"))&&a.getAttribute("data-idx");OBR.controller.Un(`widgetLazyRender_${a}`)};Lk=function(a){(a=a.options.I.querySelector(".ob-explore-more-page"))&&a.remove()};
Mk=function(a){a=a.options.I.querySelectorAll(".ob-custom-css");for(const b of a)b.innerText=b.innerText.replace(new RegExp(/#ob-explore-more::before {.*?}/,"gs"),"")};Ok=function(a){const b=Nk(a);b&&b.addEventListener("click",a.yt)};Pk=function(a){if(a.options.py){a=document.body.querySelectorAll("video:not(div.OUTBRAIN video)")||[];var b=document.body.querySelectorAll("audio:not(div.OUTBRAIN audio)")||[];for(let c of[...a,...b])c.muted||(c.muted=!0,c.setAttribute("ob-em-state-muted","true"))}};
Qk=function(a){if(!a.KD&&a.options.xE){a.KD=!0;var b=new Promise(f=>{let e,h;((h=(e=window).OBREvents)!=null?h:e.OBREvents=[]).push({name:"viewability",widgetId:a.options.widgetId,callback:()=>f()})}),c=new Promise((f,e)=>{setTimeout(()=>e(),3E3)}),d=f=>{let e,h,l;a.j.Ya(f,{url:(e=location)==null?void 0:e.href,referrer:document.referrer,emHeight:(h=a.options.I)==null?void 0:h.clientHeight,emWidth:(l=a.options.I)==null?void 0:l.clientWidth,winWidth:window.innerWidth,winHeight:window.innerHeight})};
Promise.race([b,c]).then(()=>{d(Q.Ga.M.WC)}).catch(()=>{try{if(a.options.I&&document.body.contains(a.options.I))if(OBR.fa.Bd(a.options.I,50))if(a.options.I.querySelectorAll("[data-pos]").length){const f=a.options.I.getBoundingClientRect(),e=document.elementFromPoint(f.left+f.width/2,f.top+f.height/2);e&&a.options.I.contains(e)?d(Q.Ga.M.VC):d(Q.Ga.M.nB)}else d(Q.Ga.M.oB);else d(Q.Ga.M.pB);else d(Q.Ga.M.sB)}catch(f){OBR.error({name:"obm-emViewability",message:f.message})}})}};
Sk=function(a,b){if(a.QA)!b&&a.collapse();else if(Rk({options:a.options,MF:()=>a.collapse()}),a.xK&&!a.options.Uh)Fk(a);else{Gk(a);a.j.Ya(Q.Ga.M.PC);!OBR.F.some(d=>{let f;return((f=d.O())==null?void 0:f.D())===a.options.widgetId})&&a.j.Ya(Q.Ga.M.iC);var c=a.options.I;Hk(c);Ik(c);Dk(a);Ek(a);a.options.Yj&&b&&Jk(a);Kk(a);a.options.Zj&&(Lk(a),Mk(a),!a.options.xy&&Ok(a));a.options.I.style.top=a.options.wy||a.options.bL||"0";a.options.I.style.transform="none";a.options.I.style.display="block";Pk(a);Ia.fire(Object.assign({},
a.j.C.Qa,Yd("exploreMoreRendered")));Qk(a)}};Tk=function(a){const b=a.options.I,c=b.querySelector(".OUTBRAIN");c.removeAttribute("data-ob-mark");OBR.controller.pE(d=>{d.A()===c&&d.rM(()=>{a.QA=!0;a.j.Ya(Q.Ga.M.lC)})});b&&OBR.controller.Be();a.j.Ya(Q.Ga.M.YB);return a};Uk=function(a){const b=Nk(a);b&&b.removeEventListener("click",a.yt)};Wk=function(a,b){if(history.length===1)a.j.Ya(Q.Ga.M.Is,{type:"empty-history"}),b();else{var c=new AbortController;Vk(a,{Ht:c}).then(b)}};
Xk=function(){let a,b;const c=(a=navigator)==null?void 0:(b=a.userAgent)==null?void 0:b.match(/Firefox\/(\d+)\./);let d;return c&&parseInt((d=c==null?void 0:c[1])!=null?d:0)>=135};Yk=function(a,b){var c;let d;((c=navigator)==null?0:(d=c.userActivation)==null?0:d.hasBeenActive)?b():(c=new AbortController,Vk(a,{Ht:c}).then(b))};
Zk=function(a){const b=()=>{if(!a.PA&&!a.Vg.signal.aborted){a.PA=!0;a.Xw=window.history.length===1;var c=window.history.state,d={obem:1};c&&"__NA"in c&&Object.assign(d,c);OBR.g.gb.search(/android/gim)>=0&&(OBR.g.gb.search(/fb_iab/gim)>=0||OBR.g.gb.search(/fbav/gim)>=0)?window.history.pushState(d,""):window.history.replaceState(d,"");let f;!OBR.g.pe||OBR.g.Hb==="safari"||((f=location)==null?0:f.hash)?window.history.pushState(c,""):window.history.pushState(c,"","#")}};OBR.g.Hb==="safari"&&(!OBR.g.UA||
OBR.g.UA>=16)&&a.options.GM?Wk(a,b):Xk()?Yk(a,b):b();return a};
Vk=function(a,{Ht:b}){let c=!1,d;const f="userActivation"in navigator,e={capture:!0,passive:!0},h=["touchend","mousedown","blur"],l=g=>h.forEach(k=>window.addEventListener(k,g,e)),m=g=>h.forEach(k=>window.removeEventListener(k,g,e));return new Promise(g=>{const k=n=>{setTimeout(()=>{var p;if(p=!c){let r,u;p=!f||((r=navigator)==null?void 0:(u=r.userActivation)==null?void 0:u.isActive)}if(p&&!b.signal.aborted){c=!0;b.abort("interaction");g();let r;a.j.Ya(Q.Ga.M.Is,{type:(r=n==null?void 0:n.type)!=null?
r:""})}},0)};b.signal.aborted||(b.signal.addEventListener("abort",()=>{m(k);d&&d.disconnect()},{once:!0}),d=$k(k),l(k),f&&k({type:"init"}))})};
$k=function(a){const b=document.querySelector('[id*="interstitial" i] iframe, [class*="interstitial" i] iframe');if(b&&"MutationObserver"in window){var c=new MutationObserver(d=>{d.some(f=>{let e;return f==null?void 0:(e=f.removedNodes)==null?void 0:e.length})&&a({type:"interstitial-observer"})});c.observe(b.closest('[id*="interstitial" i], [class*="interstitial" i]'),{childList:!0,subtree:!0});return c}};
al=function(a){let b=!1;window.addEventListener("popstate",()=>{if(a.options.Uh)if(b)a.collapse();else{var c,d;if(d=a.options.Uh&&history.state===null)d=(c=location)==null?void 0:c.hash,c=a.wn,d=d?d!==c&&d!==a.RL||d===c:!1;c=d;var f;((f=location)==null?void 0:f.hash)!==a.wn&&xk(a);!c&&(a.options.Uh||history.state&&history.state.obem===1)&&(Sk(a,!1),history.replaceState(null,""),b=!0)}else history.state&&history.state.obem===1?(Sk(a,!1),a.xK=!0):yk(a)},{signal:a.Vg.signal});a.options.Yj&&(document.addEventListener("mouseleave",
()=>{b||(Sk(a,!0),history.replaceState(null,""),b=!0)},{once:!0,signal:a.Vg.signal}),document.addEventListener("visibilitychange",()=>{!b&&document.hidden&&(Sk(a,!0),history.replaceState(null,""),b=!0)},{once:!0,signal:a.Vg.signal}))};bl=function(a){if(a.options.Yj||document.readyState==="complete")return a;a.uh=setInterval(()=>{history.state&&history.state.obem===1&&Sk(a,!1)},a.options.uh);return a};Nk=function(a){try{return a.options.Zj&&a.options.pq?document.querySelector(a.options.pq):void 0}catch(b){OBR.logger.log(`failed to get native header element ${a.options.pq}`)}};
cl=function(a,b){if(a=a&&a.querySelector(".ob-shadow-slot"))return a;a=document.createElement("slot");a.style.cssText="display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%;z-index:-1;";b.appendChild(a);b.parentElement.style.position="relative";a=document.createElement("img");a.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAANQTFRFAAAAp3o92gAAAAF0Uk5TAEDm2GYAAAAKSURBVHicY2AAAAACAAFIr6RxAAAAAElFTkSuQmCC";
a.classList.add("ob-trk-pxls");a.ariaHidden=!0;a.style.cssText="\n        width: 100%;\n        height: 100%;\n        display: block;\n      ";const c=document.createElement("div");c.classList.add("ob-shadow-slot");c.style.cssText=`
        position: relative !important;
        z-index: -1 !important;
        height: ${b.offsetHeight}px !important;
        width: ${b.offsetWidth}px !important;
        top: 0 !important;
        left: 0 !important;
      `;c.appendChild(a);return c};dl=function(a){(a=a&&a.querySelector("a.ob-dynamic-rec-link"))&&!a.classList.contains("ob-trk-pxls")&&a.classList.add("ob-trk-pxls")};fl=function(a,b,c,d,f){var e=b.X("vcpmtrk");if(e&&e.includes(+d))el(a,b,c,d,[],[],f);else{e=f.filter(m=>m.event===1);var h=f.filter(m=>m.event===2),l=f.filter(m=>m.event===5);f=f.filter(m=>m.event===3);a.mf(b,d,e);el(a,b,c,d,h,f,[],l)}};
gl=function(a,b){b&&b.length&&b.forEach(c=>{const d={referrerpolicy:"no-referrer",style:"display:none;width:1px;height:1px;"};a.attributionSrc&&(d.tE="");$b(OBR._jsc.Vc,c.url,void 0,void 0,{attributes:d})})};hl=function(a){a&&document&&document.head&&a.forEach(b=>{b=OBR.i.Va("ob-pixel"+OBR.i.Bo(),b.url,!0,!0);OBR.i.vf(b)})};
el=function(a,b,c,d,f,e,h,l){if(c=il(c,d)){if(f&&f.length){const m=f.filter(g=>g.method==2);f=f.filter(g=>g.method==1);a.observe(b,c,d,2,f);jl(a,b,c,d,m)}l&&l.length&&(l=l.filter(m=>m.method==1),a.observe(b,c,d,5,l));e&&e.length&&a.observe(b,c,d,3,e);h&&h.length&&a.observe(b,c,d,4,h)}};
ll=function(a,b,c,d){if(c&&c.length){const f=OBR.i.H(b).querySelector(".ob-pixels"),e=ob(OBR.settings)&&Eb.vc()===!1?"&epm=1":"";b=l=>{l=OBR.i.createElement("iframe",null,"display:none;width:1px;height:1px;",{src:`https://widgets.outbrain.com/nanoWidget/externals/obPixelFrame/obPixelFrame.htm#${a.attributionSrc?"attributionSrc=true":""}${e}&p=${kl(l.url)}`,sandbox:"allow-scripts allow-same-origin"});OBR._jsc.ac(OBR._jsc.Vc,l).to(f)};const h=l=>{const m={referrerpolicy:"no-referrer","class":"ob-trck",
style:"display:none;width:1px;height:1px;"};a.attributionSrc&&(m.tE="");l=$b(OBR._jsc.Vc,decodeURIComponent(l.url),void 0,void 0,{attributes:m});f&&l&&f.appendChild(l)};c.forEach(d?h:b)}};ml=function(a,b,c,d){if(c&&c.length){var f=il(a,b);f||OBR.error({name:"JsTrackerError",message:"Missing jsTracker element"});dl(f);var e=d.Tc()&&d.Cp(),h=e&&cl(a,f);c.forEach(l=>{l=OBR.i.Va(0,l.url,!0,!1);OBR._jsc.ac(OBR._jsc.Vc,l).to(e?h:f)});e&&OBR.i.uf(h,a)}};
kl=function(a){return a.split("|").map(b=>{let c;try{c=decodeURIComponent(b)}catch(d){return b}return encodeURIComponent(OBR._jsc.Vc.transform.url(c))}).join("|")};il=function(a,b){if(a)return OBR.i.H(a).querySelector(`[data-pos="${b}"]`)};
jl=function(a,b,c,d,f){if(f&&f.length){var e=a.ph(b);switch(parseInt(b.l("mrc50JsTrackersFiringStrategy",nl.onWidgetViewd))){case nl.onWidgetViewd:ol(a,b,e,d,f);break;case nl.onRecViewd:ol(a,b,c,d,f);break;case nl.onRec50Viewed:ol(a,b,c,d,f,.5);break;case nl.reelMRC50:a.observe(b,c,d,2,f)}}};ol=function(a,b,c,d,f,e){b=new OBR.IntersectionObserver({threshold:e?e:0,unobserve:!0,callback:a.mf.bind(a),callbackParams:[b,d,f],element:c,checkAbsoluteVisibility:!0});a.Ua.push(b);b.observe()};
pl=function(a,b,c=".ob-lazy-bgimg, .ob-lazy-img"){[].slice.call(OBR.i.H(b.ca).querySelectorAll(c)).forEach(d=>{(new OBR.IntersectionObserver({callback:a.wt.bind(a),callbackParams:[b,d,c],element:d,rootMargin:`${b.rootMargin}`,threshold:[0,.5,1],unobserve:!0})).observe()})};ql=function(a,b){b&&b.ca&&Array.from(OBR.i.H(b.ca).querySelectorAll("img.ob-lazy-img")).forEach(c=>{c.hasAttribute("loading")&&c.getAttribute("loading")==="lazy"||c.setAttribute("loading","lazy");a.Sm(c)})};OBR._jsc.ba=[];
ya=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};va=la(this);ma="Int8 Uint8 Uint8Clamped Int16 Uint16 Int32 Uint32 Float32 Float64".split(" ");va.BigInt64Array&&(ma.push("BigInt64"),ma.push("BigUint64"));
ua("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var f=d.length;c=c||0;for(c<0&&(c=Math.max(c+f,0));c<f;c++){var e=d[c];if(e===b||Object.is(e,b))return!0}return!1}});ua("Array.prototype.at",function(a){return a?a:Da});qa("at",function(a){return a?a:Da});ua("String.prototype.at",function(a){return a?a:Da});ua("Array.prototype.values",function(a){return a?a:function(){return Ea(this,function(b,c){return c})}});
ua("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&c.push(b[d]);return c}});ua("Promise.allSettled",function(a){function b(d){return{status:"fulfilled",value:d}}function c(d){return{status:"rejected",reason:d}}return a?a:function(d){var f=this;d=Array.from(d,function(e){return f.resolve(e).then(b,c)});return f.all(d)}});
ua("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&c.push([d,b[d]]);return c}});
ua("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),"g"),c)}});
ua("Array.prototype.flat",function(a){return a?a:function(b){b=b===void 0?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&b>0?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});if(window.OB_releaseVer&&"beee8f695d2_2026-08-05"!==window.OB_releaseVer)throw!0;window.OB_releaseVer="beee8f695d2_2026-08-05";var Ka="viewability click norecs issue rendered dataReturned exploreMoreRendered ready feedEnd colorSchemeChanged closed".split(" "),rl=class{constructor(){window.OBREvents=window.OBREvents||[];this.zk=window.OBREvents||[];Fa(this);this.C={};Ka.forEach(a=>this.C[a]=[])}init(){Ja();this.zk.length&&this.Ig()}Ig(){this.zk.forEach(a=>{const b=a.callback,c=a.widgetId,d=a.feedCards;La(a.name).filter(f=>Ma(f,b,c)).forEach(f=>this.add(f,b,c,d))})}add(a,b,c,d){this.C[a].push({name:a,callback:b,widgetId:c,
feedCards:d})}fire(a){const b=this.C[a.name];b&&b.filter(c=>Sa(c,a)).forEach(c=>{c.callback(a)})}},sl,Ia=window.OBR?(sl=window.OBR).widgetEvents||(sl.widgetEvents=new rl):new rl;var tl,ul,vl;OBR._jsc.F=document;tl=OBR._jsc.F.getElementById.bind(OBR._jsc.F);ul=OBR._jsc.F.getElementsByTagName.bind(OBR._jsc.F);vl=OBR._jsc.F.getElementsByClassName.bind(OBR._jsc.F);OBR._jsc.wl=OBR._jsc.F.querySelectorAll.bind(OBR._jsc.F);OBR._jsc.xl=OBR._jsc.F.querySelector.bind(OBR._jsc.F);OBR._jsc.S=OBR._jsc.F.createElement.bind(OBR._jsc.F);OBR._jsc.yl=OBR._jsc.F.createDocumentFragment.bind(OBR._jsc.F);OBR._jsc.zl=OBR._jsc.F.addEventListener.bind(OBR._jsc.F);
OBR._jsc.Al=OBR._jsc.F.removeEventListener.bind(OBR._jsc.F);var Bl=class{constructor(){this.pk={}}addEventListener(a,b){this.pk[a]||(this.pk[a]=[]);this.pk[a].push(b)}dispatchEvent(a){const b=this.pk[a.type];b&&b.forEach(c=>c(a))}},Cl=class{constructor(a,b){this.type=a;this.detail=b}},Dl=class{constructor(){this.eventBus=new Bl;this.eventStore=[];this.kind="widget"}subscribe(a,b,c={}){this.eventBus.addEventListener(a,b,{once:c.once,signal:c.signal})}publish(a,b){this.eventStore.push({type:a,data:b});this.eventBus.dispatchEvent(new Cl(a,b))}};try{let a;(a=window).teads!=null||(a.teads={});let b;(b=window.teads).pubsub!=null||(b.pubsub=new Dl)}catch(a){}window.OBR=window.OBR||{};OBR.F=OBR.F||[];OBR.If=OBR.If||{};window.OBR$=function(a){return tl(a)};Ia.init();OBR.Rr=OBR.Rr||(()=>{class a{constructor(){this.Ah=!1;this.usage=new Map;const b=()=>{let c;return(c=OBR.F)==null?void 0:c.at(0)};this.nt=()=>{let c;return((c=b())==null?void 0:c.o("wid","noInfo"))||"noInfo"};this.tD=()=>{var c=b();const d=c.o("oo",!1)===!0;c=c.wd(!0);return!d&&c}}rD(){try{let b,c;const d=(b=OBR.F)==null?void 0:(c=b.at(0))==null?void 0:c.o("pid",null);let f;const e=((f=OBR)==null?void 0:f.settings._pid)&&Number(OBR.settings._pid);this.version=window.OB_releaseVer;this.bd=d||e||0;
document.addEventListener("visibilitychange",()=>this.zt());document.addEventListener("pagehide",()=>this.zt());this.Ah=!0}catch(b){}}lD(b){var c=(this==null?void 0:this.nt())||"noInfo";return[b,"end",this.version,this.bd,c].filter(d=>d!==void 0).join("-")}zt(){try{let d;if((d=this.usage)!=null&&d.size&&this.tD()){var b=Array.from(this.usage.values());this.ld(b);var c;(c=this.usage)==null||c.clear()}}catch(d){}}ld(b){OBR.qa.send(OBR.g.da.ob,`${OBR.g.Nf}logger/v1/usageMonitor`,{data:JSON.stringify(b)})}rz(b){try{this.Ah||
this.rD();const c=this.lD(b);this.usage.has(c)||this.usage.set(c,{methodName:b,fileName:"end",version:this.version,pid:this.bd,widgetId:this.nt(),pageUrl:window.location.href})}catch(c){}}}return new a})();var ab=(()=>{const a=new Map,b=new Map,c=f=>OBR._jsc.y(function*(){if(a.has(f))return a.get(f);const e=b.get(f)||new Set;let h;const l=new Promise(m=>{h=m});e.add(h);b.set(f,e);return l}),d=(f,e)=>{a.set(f,e);if(f=b.get(f))f.forEach(h=>h(e)),f.clear()};return{getData:f=>c(f),setData:(f,e)=>d(f,e)}})();var Va=Object.values({ON_INIT:"ob.init",BEFORE_RUN:"ob.run.before"}).reduce((a,b)=>{a[b]={subscribe:(c,d)=>{let f=c;d&&d.once&&(f=e=>OBR._jsc.y(function*(){yield c(e);a[b].unsubscribe(f)}));a[b].deps.add(f)},unsubscribe:c=>{a[b].deps.delete(c)},deps:new Set};return a},{});var El={data:bb,event:$a,extern:fb,hook:Za,proxy:eb,version:db,widget:cb};window.__outbrain=window.__outbrain||(()=>{const a=[];OBR&&OBR.error||Ia.add("ready",()=>{OBR&&OBR.error&&(a.forEach(b=>OBR.error(b)),a.length=0)},"all",!1);return(b,c={})=>{try{return El[b](c)}catch(d){b=d,c=Error(b.message),c.name="obm-PublisherScriptError",c.stack=b.stack,OBR&&OBR.error?OBR.error(c):a.push(c)}}})();
try{}catch(a){a instanceof ReferenceError&&a.message.includes("OB_PUBLISHER_SCRIPT_PLACEHOLDER")||OBR.error({name:"obm-PublisherScriptWrapper",message:a.message,stack:a.stack})};var Fl=class{isEnabled(){return navigator.doNotTrack==="1"}},Cb=new Fl;var Gl=class{isEnabled(){let a,b;return((a=navigator)==null?void 0:a.globalPrivacyControl)||((b=document.querySelector('meta[name="global-privacy-control"]'))==null?void 0:b.getAttribute("content"))==="true"}},Db=new Gl;var Hl=/\.outbrain\.com$/,Il=new Map([["widgets",".teads-xo.com"],["widgets-test",".teads-xo.com"]]);var we,Jl,Kl,Ll,Ml;we={id:1550,control:5794,variant:5795};Jl={id:1548,control:5790,variant:5791};Kl={id:1703,control:6675,variant:6676};Ll={id:1869,control:7499,variant:7500};Ml={id:1944,control:7771,variant:7772};OBR._jsc.mb={id:2009,control:7977,variant:7978,HA:8005,IA:8006};var hb=a=>{let b,c;return(b=OBR)==null?void 0:(c=b.settings)==null?void 0:c[a]},Nl=class{constructor(){this.kt=!1;this.Jt=hb("ab");this.We={};this.Vd="";try{var a=(new URL(window.location.href)).searchParams.get("forceAbrex")}catch(l){a=null}this.fh=a;if(this.Jt||this.fh)try{if(this.fh)gb(this,this.fh);else{var b=this.Jt.split(",");if(b&&b.length){a=[];for(let l=0;l<b.length;l++){const [m,g]=b[l].split("~"),k=Number(g);if(!m||!g||k<0||k>100)continue;const n=m.split("-");if(!n||!n.length||n.length!==
3)continue;let p;p=Math.floor(Math.random()*100)+1>k?n[1]:n[2];this.We[n[0]]=p;a.push(`${n[0]}:${p}`)}this.Vd=a.join(",")}}}catch(l){OBR.error({name:"obm-clientAbrex",message:"error while generate client abrex variants."+l.message,stack:l.stack})}if(!this.kt){this.kt=!0;try{if(this.fh)gb(this,this.fh);else if(!window.divee){var c=Number(hb("diveeAbrexPercent"))||0;if(Number.isFinite(c)&&!(c<=0)&&jb()){var d=Math.floor(Math.random()*100)+1;if(hb("diveeAbrexMultiVariants")){const l=OBR._jsc.mb.control,
m=OBR._jsc.mb.variant,g=OBR._jsc.mb.HA,k=OBR._jsc.mb.IA;b=c/4;var f=d<=b?l:d<=b*2?m:d<=b*3?g:d<=c?k:null}else{const l=OBR._jsc.mb.control,m=OBR._jsc.mb.variant;f=d<=c?m:d<=(c>50?100:c*2)?l:null}var e=f;if(e!=null){var h=OBR._jsc.mb.id;this.We[h]=e;c=`${h}:${e}`;this.Vd=this.Vd?`${this.Vd},${c}`:c}}}}catch(l){OBR.error({name:"obm-clientAbrex",message:"error while generate divee rollout variant."+l.message,stack:l.stack})}}}},lb=new Nl;OBR.It=lb;var Ol=()=>{let a;return(a=document)!=null&&a.scripts?Array.from(document.scripts).some(b=>{b=b.src;return typeof b==="string"&&b?b.includes(".outbrainimg.com")||b.includes(".teads-xo.com"):!1}):!1},Pl=a=>a&&typeof a==="object"?Object.keys(a).length===0:!0,Ql=()=>{let a;return Pl((a=OBR)==null?void 0:a.settings)},He=()=>{let a;if((a=document)==null||!a.scripts)return"0";for(const {src:b}of document.scripts)if(typeof b==="string"&&b){if(b.includes(".teads-xo.com")||b.includes(".outbrainimg.com"))return"1";
if(b.includes(".outbrain.com"))break}return"0"},ob=a=>(a==null?void 0:a.epm)===!0,bc=()=>{var a,b=(a=OBR)==null?void 0:a.settings;Pl(b)?b=Ol():((a=ob(b))||(a=kb(lb,Ll),a=!(b==null||!b.forceNoConsentUrl)&&a),b=a);return b};var yb="AT BE BG HR CY CZ DK EE FI FR DE GR HU IE IT LV LT LU MT NL PL PT RO SK SI ES SE GB".split(" "),qb=[164],Ab=new Set([1,2,3,4,5,6,7,8,9,10]);var Rl=a=>{let b,c;return(b=OBR)==null?void 0:(c=b.settings)==null?void 0:c[a]},Sl=class{constructor(){this.mi=window.__tcfapi;this.le=!1;this.Wr={};this.Li=pb();this.uJ=Rl("gdpr")||this.Li;this.Cu=Rl("country");let a;this.oe=((a=OBR.settings)==null?void 0:a.disableLocalStorageGdpr)===!0||Rl("disableStorageAndCookies")===1||this.Li;this.Au=[];this.Li?(this.le=!0,zb(this)):this.Cu?this.le=yb.includes(this.Cu.toUpperCase()):zb(this);sb(this,!this.le);this.mi?(vb(this),wb(this)):xb().then(b=>{this.mi=
b;vb(this);wb(this)})}Jc(a,b,c){this.mi(a,2,b,c)}vc(){return Ql()&&Ol()&&!window.OBBridge?!1:qb.every(a=>this.Wr[a])}},Tl,Eb=window.OBR?(Tl=window.OBR).clientSideGDPR||(Tl.clientSideGDPR=new Sl):new Sl;bc()&&(OBR.isConsent=Eb.vc());var Ul,Gb;OBR._jsc.A={us:"OB-CLDT",lc:"OB-CNSNT-2",OC:"OB-TPCS",Dm:"OB-USER-TOKEN",Em:"OB-USER-TOKEN-CREATION",hs:"OB-AD-BLOCKER-STAT",js:"OB-AD-BLOCKER-WL-STAT",ys:"OB-FD-TO",GB:"OB-FDE",yi:"OB-CCPA",Os:"ob-pub-overlay",XB:"OB-lastPageViewInfo",MP:"OB:LSU",Se:"OB-SKELETON-STRUCT",hm:"OB-FREQUENCY",im:"OB-LS",QC:"tt_viewer",$s:"tcheckResult"};
Ul=class{constructor(){this.cache={};this.dk=!1;this.rJ=window.OBBridge&&window.OBBridge.disableLocalStorage}W(){if(this.He)return this.He;try{window.localStorage&&window.localStorage.getItem&&(this.He=window.localStorage)}catch(a){}finally{this.He||(this.He=Ib())}return this.He}get(a,b){let c=!this.dk&&this.cache[a]?this.cache[a]:this.W().getItem(a);if(this.yf)try{window.localStorage.removeItem(a)}catch(d){}return c!==null?c:b}set(a,b){!this.dk||this.yf?this.cache[a]=b:this.W().setItem(a,b)}delete(a){this.dk||
delete this.cache[a];this.W().removeItem(a)}cg(a){this.hc=a.hc();var b=a.Jp();if(OBR.g.Vj)var c=!0;else{var d;if(!(d=OBR.g.uv)){if(b){var f;b=((c=OBR)==null?void 0:(f=c.settings)==null?void 0:f.disableStorageAndCookies)===1}d=b}c=d}a=!this.hc&&Ob(a);var e;let h,l,m;f=!!((e=OBR)==null?0:(h=e.settings)==null?0:h.forceNoConsentUrl)&&!!((l=OBR)==null?0:(m=l.settings)==null?0:m.disableLocalStorageGdpr);let g;e=(!!OBR.g.dK||f)&&(Eb==null?void 0:(g=Eb.vc)==null?void 0:g.call(Eb))===!1;this.yf=this.rJ||c||
a||e;this.dk=!0;this.yf&&(this.yf=!0,Jb(this),Mb(this));Nb(this);OBR.localStorageAvailable=!this.yf}};Gb=new Ul;var Vl,Xl,Wl,Yl,$l,eg,dg,wi,am,bm,cm,dm,em,fm,gm,qj,im,hm,Wc,jm,ig,hg,km;Vl=a=>{if(a&&typeof a==="string")return a.split("#")[0].replace(/\+/g," ").split("&").reduce((b,c)=>{c=c.split("=");c[0]&&(b[c[0].toLowerCase()]=c[1]?decodeURIComponent(c[1]):"");return b},{})};Xl=a=>{a=a.OB_amp?a.context:a;if(!a.location)throw new Wl;a=a.location.href;return Vl(a&&a.length>0&&a.indexOf("?")>=0?a.split("?")[1]:"")};Wl=class extends Error{constructor(){super("window.location is undefined");this.name="obm-WindowLocationBotError"}};
Yl=a=>{const b=Xl(a||window);return(c,d)=>{try{if(c){const f=c.toLowerCase();if(f in b)return b[f]}}catch(f){}return d}};OBR._jsc.Uc=a=>{const b=document.createElement("div");b.innerHTML=a;return b.firstChild};OBR._jsc.Zl=(a,b)=>{["href","onmousedown","ontouchstart","target","onClick"].forEach(c=>{const d=b.getAttribute(c);d&&a.setAttribute(c,d)})};
OBR._jsc.V=(a=>{let b="transform";typeof a.style[b]==="undefined"&&["webkit","Moz","O","ms"].every(function(c){c+="Transform";return typeof a.style[c]!=="undefined"?(b=c,!1):!0});return b})(window.document.createElement("div"));$l=a=>{const [b,c,d,f]=a.split(" ");return[b,c||b,d||b,f||c||b]};eg=a=>{let b="";const c=OBR.i.ig(OBR.g.vG);a=OBR.i.ig(a.yc());if(c||a)b=a||c;return b?["extid2",encodeURIComponent(b)]:[]};dg=()=>{try{return window.context.pageViewId64}catch(a){return null}};
wi=()=>{var a=xi;return a&&Object.keys(a).length===0&&Object.getPrototypeOf(a)===Object.prototype};am=class{start(){this.reset();this.startTime=Date.now();return this}stop(){this.endTime=Date.now();this.time=this.endTime-this.startTime;return this}reset(){this.endTime=this.startTime=this.time=0;return this}getTime(){return this.time}};OBR._jsc.lj=a=>{try{if(!a)return!1;const {hostname:b}=new URL(a);return b===window.location.hostname}catch(b){return!1}};
gm=(bm=window)==null?void 0:(cm=bm.performance)==null?void 0:(dm=cm.getEntriesByType)==null?void 0:(em=dm.call(cm,"navigation"))==null?void 0:(fm=em[0])==null?void 0:fm.name;qj=a=>{try{const {hostname:b}=new URL(a),c=b.split(".");return c.length<=2?b:("co com org net edu gov mil".split(" ").includes(c.at(-2))?c.slice(-3):c.slice(-2)).join(".")}catch(b){return null}};im=(a,b,c,d,f)=>{if(a&&b&&OBR.g.eA){var e=document.createElement("div");e.appendChild(b);hm(f,e,d);a.attachShadow(c);a.shadowRoot.appendChild(e)}};
hm=(a,b,c)=>{if(a){var d=()=>{b&&c&&(a.classList.contains(c)?b.classList.add(c):b.classList.remove(c))};(new MutationObserver(()=>d())).observe(a,{attributes:!0,subtree:!0,attributeFilter:["class"]});d()}};Wc=(a,b)=>OBR._jsc.y(function*(){return new Promise((c,d)=>{let f=!1;setTimeout(()=>{f||(f=!0,c())},b);try{a(f,c)}catch(e){f=!0,d(e)}})});OBR._jsc.gg=a=>typeof a==="number"&&!isNaN(a)&&isFinite(a);
jm=a=>a&&(a=parseInt(a.feedIdx||a.originWidgetIdx),typeof a==="number"&&!isNaN(a)&&(a=OBR.F[a]))&&(a=a.A())?OBR.Fa.Fu(a):null;ig=a=>{try{const b=window.OB_releaseVer,c=OBR.env,d={},f={};d.name="obm-UrlCallLength";d.version=b;d.env=c||1;f.callUrl=a;f.callUrlLength=a.length;d.extra=JSON.stringify(f);OBR.qa.send(OBR.g.da.ob,OBR.g.ZA,d)}catch(b){}};
hg=a=>{try{const b=new URL(a),c=b.searchParams,d=c.get("ogn");if(!d)return a;const f=new URL(decodeURIComponent(d));f.search="";f.hash="";c.set("ogn",f.href);return b.href}catch(b){return a}};OBR._jsc.mj=a=>typeof a==="string"&&a.startsWith("https://traffic.outbrain.com");OBR._jsc.Oh=(a,b)=>{var c=OBR.i.W(OBR._jsc.A.hm);c=c?JSON.parse(c):{};c[a]=b;OBR.i.Ea(OBR._jsc.A.hm,JSON.stringify(c))};OBR._jsc.Ph=a=>{const b=OBR.i.W(OBR._jsc.A.hm);return b?JSON.parse(b)[a]:null};
km=()=>{let a,b;return((a=window.OBBridge)==null?void 0:(b=a.immersiveFeed)==null?void 0:b.interstitials)===!0};var lm=class{constructor(){this.data={};this.yO=1E4;this.Xp=0;Sb(this)}update(a){this.data=a;this.Xp=Date.now()}get(a){Date.now()-this.Xp>this.yO&&this.refresh();return this.data[a]||null}refresh(){const a=OBR.i.W(OBR._jsc.A.im,"{}");try{const b=JSON.parse(a);this.update(b)}catch(b){OBR.error({name:"obm-refreshCache",message:`error ${b.name} while trying to refresh cache from OB-LS : ${a}`})}}},Th=new lm,Sh=(a,b)=>{const c=OBR.i.W(OBR._jsc.A.im,"{}");try{const d=JSON.parse(c);d[a]=b;Th.update(d);
OBR.i.Ea(OBR._jsc.A.im,JSON.stringify(d))}catch(d){OBR.error({name:"obm-setObLocalStorage",message:`error ${d.name} while trying to set ${a} from OB-LS : ${c}`})}};var mm=class{constructor(){try{if(document.currentScript&&document.currentScript.src){var a=document.currentScript.src;this.Dz=new URL(a.startsWith("//")?`https:${a}`:a);this.Dz.href.includes("cookieSync.js")&&this.init()}}catch(b){typeof OBR!=="undefined"&&OBR.error&&OBR.error({name:"obm-cookieSyncError",message:"error while loading cookieSync process"})}}init(){this.DO=this.Dz.searchParams;var a="",b=Tb(this,"obcnsnt","");Tb(this,"cnsnt","")!==""&&b!==""&&(a="&obcnsnt="+b.toString());b=Tb(this,
"gdpr","0");const c=Tb(this,"gdprVer",""),d=Tb(this,"attributionsrc","");a={VA:"https://widgets.outbrain.com",Yy:Tb(this,"pubId",null),En:Tb(this,"dmpenabled","true")=="true"&&Tb(this,"oo","false")=="false",ev:Tb(this,"filterDMP",""),Xu:Tb(this,"enu",""),yu:a,gdpr:b,Nw:c!=="null"&&b==="1",tb:c,mu:Tb(this,"ccpa","1---"),country:Tb(this,"country",""),gz:`&obRecsAbtestAndVars=${Tb(this,"recAbTest","")}`,Gw:Tb(this,"initiator","ob"),attributionSrc:d?`&attributionSrc=${d}`:""};a.En&&Ub(this,a)}lp(){this.yd=
typeof OBR!=="undefined"&&OBR.g&&OBR.g.yd?OBR.g.yd:"ob_iframe";this.Wa=document.getElementById(this.yd);if(!this.Wa){this.Wa=document.createElement("iframe");this.Wa.id=this.yd;this.Wa.style.display="none";this.Wa.style.width="1px";this.Wa.style.height="1px";this.Wa.src=this.NI||"about:blank";this.$o=document.getElementById("ob_holder");this.$o||(this.$o=document.body);let a;(a=this.$o)==null||a.appendChild(this.Wa)}}},nm=new mm;var om=class{url(a){return a}dv(a){return a}element(a,b){return b}};var cc=class extends om{constructor(a){super();this.Tj=a;this.gL=".outbrainimg.com"}url(a){if(this.Tj)return a;try{const b=new URL(a),c=b.hostname;if(!Hl.test(c))return a;const d=c.replace(Hl,"");let f;b.hostname=`${d}${(f=Il.get(d))!=null?f:this.gL}`;return b.toString()}catch(b){return a}}dv(a){if(this.Tj)return a;a.hQ=!0;a.credentials="omit";return a}element(a,b){if(this.Tj)return b;"crossOrigin"in b&&(b.crossOrigin="anonymous");return b}};var dc=class{constructor(a=new om){this.Ic={Eb:"get",La:"post",bm:"jsonp",rm:"postJson",ob:"beacon"};this.transform=a}send(a,b,c,d,f,e,h,l,m){f={[this.Ic.Eb]:()=>this.get(b,c,d,e,h,!0,m),[this.Ic.La]:()=>{const g=Wb(c),k=this.transform.url(b);Yb(this,k,d,this.Ic.La,g,e,h)},[this.Ic.bm]:()=>{const g=Wb(c),k=this.transform.url(b),n=document.createElement("script");n.src=`${k}?${g}`;this.transform.element(k,n);n.onload=d;document.head.appendChild(n)},[this.Ic.rm]:()=>{const g=JSON.stringify(c),k=this.transform.url(b);
Yb(this,k,d,"POST",g,"application/json",!0)},[this.Ic.ob]:()=>this.sendBeacon(b,c)};(f[a==null?void 0:a.toLowerCase()]||f[this.Ic.bm])()}get(a,b,c,d,f,e,h){b=Wb(b);a=this.transform.url(a+(b.length?"?"+b:""));Yb(this,a,c,"GET",null,d,f,h)}sendBeacon(a,b){a=this.transform.url(a);navigator.sendBeacon(a,Zb(b))}get methods(){return this.Ic}};OBR.qa=OBR.qa||ec();OBR._jsc.Vc=OBR.qa;OBR.i=OBR.i||function(){var a={},b={},c=document,d=OBR;b.bc=function(){a.jd=d;return a};b.init=function(e){d=e};b.Wu=function(){return function(){}};b.vK=function(){if("ontouchstart"in window||navigator.maxTouchPoints||window.DocumentTouch&&document instanceof DocumentTouch)var e=!0;else e=["("," -webkit- -moz- -o- -ms- ".split(" ").join("touch-enabled),("),"heartz)"].join(""),e=window.matchMedia&&window.matchMedia(e).matches;return e};b.mo=function(){const e=OBR.fa.nb;return e.width>e.height?"landscape":
"portrait"};b.CI=function(){const e=window.jQuery;return e!==void 0?!(/1\.(0|1|2|3|4)\.(0|1)/.test(e.fn.jquery)||/^1\.1/.test(e.fn.jquery)||/^1\.2/.test(e.fn.jquery)||/^1\.3/.test(e.fn.jquery)):!1};b.A=function(e){return e===null||isNaN(e)?null:document.getElementById(`outbrain_widget_${e}`)};b.H=function(e){return(e==null?void 0:e.shadowRoot)||e};b.uo=function(){return document.getElementById("ob_holder")};b.WF=function(e){if(b.uo()===null){const h=b.createElement("div","ob_holder");h.style.display=
"none";e?b.insertBefore(h,e):OBR._jsc.F.body.appendChild(h)}};b.lp=function(e){if(!document.getElementById(e)){e=b.createElement("iframe",e);var h=e.style;h.display="none";h.width="1px";h.height="1px";e.src="about:blank";h=b.uo()||b.ZG();b.uf(e,h)}};b.ZG=function(){if(c.body)return c.body;const e=c.getElementsByTagName("body");return e.length<=0?c.lastChild:e[0]};b.createElement=function(e,h,l,m){e=c.createElement(e);typeof h==="string"&&e.setAttribute("id",h);typeof l==="string"&&(e.style.cssText=
l);for(const g in m)m.hasOwnProperty(g)&&e.setAttribute(g,m[g]);return e};const f=new Map;b.ka=function(e){var h=f.get(e);h&&h.isConnected||(h=c.createElement("style"),h.innerHTML=e,c.head.appendChild(h),f.set(e,h))};b.Hw=function(e,h){const l=OBR._jsc.S("style");l.textContent=e;h.insertBefore(l,h.firstChild)};b.aJ=function(e){var h=OBR.g.ql,l=e&&e.A();l&&b.H(l)&&(e=OBR._jsc.S("style"),l=b.H(l).querySelector(".ob-widget"),b.Ba(e,"ob-static-css"),e.textContent=h,l&&l.insertBefore(e,l.firstChild))};
b.Va=function(e,h,l,m,g,k){const n=c.createElement("script");n.type=d.g.GK;n.src=h;n.charset="UTF-8";n.async=!!l;n.defer=!1;k&&Object.entries(k).forEach(([p,r])=>n.setAttribute(p,r));m&&b.Yb(n,"load",p=>(p==null?void 0:p.target)&&setTimeout(()=>{let r;return(r=p.target)==null?void 0:r.remove()},3E3));typeof g===d.g.nf&&b.Yb(n,"load",g);return n};b.rQ=function(e,h){e=d.i.createElement("link",e);e.setAttribute("rel","stylesheet");e.setAttribute("type",d.g.cG);h&&e.setAttribute("href",h);return e};b.SE=
function(e){const h=document.getElementById("ob_iframe");h&&(h.src=e)};b.IE=function(e){const h=document.getElementById(OBR.g.yd);d.i.Hp(h)&&d.i.Hp(h.parentNode)&&h.parentNode.removeChild(h);d.i.lp(d.g.yd);d.i.SE(e)};b.rand=function(e){e=isNaN(e)?1E5:e;return Math.floor(Math.random()*e)};b.vf=function(e){OBR._jsc.ac(OBR._jsc.Vc,e).to(document.head)};b.sa=function(e){if(e)return encodeURIComponent(e)};b.Hp=function(e){return e!==null};b.Bb=function(e){const h=OBR._jsc.S("div");h.innerHTML=e;return h.firstChild};
b.BI=e=>{var h=window;return e&&typeof e===OBR.g.qA?e.replaceAll("?","").split(".").reduce((l,m)=>l==null?void 0:l[m],h)!==void 0:!1};b.ik=function(e){return e===void 0||e===null};b.AK=function(e){return b.ik(e)||e===""};b.getElementsByClassName=function(e,h=document){return h.getElementsByClassName(e)};b.Lv=function(e,h,l){var m;var g=[];h=h||"*";var k=!0;var n=!!b.AK(!1);h=l?l.getElementsByTagName(h):c.getElementsByTagName(h);l=0;for(m=h.length;l<m;l+=1){var p=h[l].className;p!==null&&(n===!1&&
(p=p.toLowerCase(),e=e.toLowerCase()),(p=k?p.indexOf(e)>-1:p===e)&&g.push(h[l]))}return g};b.Vf=function(e,h){var l=window;l==null||l.removeEventListener(e,h,{capture:!0,passive:!0})};b.Yb=function(e,h,l){e==null||e.addEventListener(h,l,{capture:!0,passive:!0})};b.uf=function(e,h){try{h.appendChild(e)}catch(l){OBR.logger.log("Fail insert into Dom:"+l)}};b.wM=function(e){let h;(h=document.getElementById(e))==null||h.remove()};b.Zh=function(e){e&&b.Hp(e.parentNode)&&e.parentNode.removeChild(e)};b.insertBefore=
function(e,h){return h&&h.parentNode?h.parentNode.insertBefore(e,h):null};b.Fl=function(e,h){const l=/^htt(p|ps)?:\/\/127\.0\.0\.1(:\d\d\d\d)?(\/|$)/i,m=/^https?:\/\/simulator\.[\w]*\.service\.[\w]*\.consul/i;return/^htt(p|ps)?:\/\/([\w\-]*|[\w\-]*\.[\w\-]*)\.outbrain\.com(:\d\d\d\d)?(\/|$)/i.test(e)||l.test(e)||m.test(e)?e:h};b.hO=function(e){e=e.replace(/^(\s*)/g,"");const h=c.createElement("div");h.innerHTML=e;return h.childNodes};b.cE=function(e){e.href=b.Ot(e.href)};b.Ot=e=>{e=e.split("//");
return`${e[0]}//${OBR.g.Kd}${e[1]}`};b.kE=function(e){(e=e==null?void 0:e.querySelectorAll(".ob_what > a"))&&e.length>0&&e.forEach(h=>b.cE(h))};b.gh=function(e,h){return e?e.getAttribute(h):null};b.Zf=function(e,h,l){e&&e.setAttribute(h,l)};b.vM=function(e){e&&e.removeAttribute("noscroll")};b.Ba=function(e,h){e&&typeof h===d.g.qA&&h.split(/\s+/).filter(l=>l.trim()).forEach(l=>{e.classList.add(l)})};b.Oa=function(e,h){e&&b.Ri(h).uK()&&h.split(/\s+/).filter(l=>l.trim()).forEach(l=>{e.classList.remove(l)})};
b.J=Yl();b.IF=()=>{b.J=Yl(null)};b.PH=()=>{const e=b.J("skipFilters",null);return["true","run_only_dedup"].includes(e)?e:null};b.Bb=OBR._jsc.Uc;b.gw=function(){var e=OBR.settings&&OBR.settings.publisherSubscriptionSelector;const h=OBR.settings&&OBR.settings.publisherLoginIndication;return e?(e=OBR._jsc.xl(e))?(e=e.innerText)&&e.toLowerCase()===h.toLowerCase()?"0":"1":"1":null};b.GF=function(e){return typeof e==="string"&&e.includes("#")?e.substring(0,e.lastIndexOf("#")):null};b.su=function(e){const h=
`${d.g.Ub}/strip_default.png`;e.src!==h&&(e.alt="",e.title="",e.src=h,e.parentElement&&(e.parentElement.style.overflow="hidden"))};b.yG=function(){if(typeof window.kC==="string")return window.kC;let e;const h=(e=c.getElementsByTagName("head")[0])==null?void 0:e.getElementsByTagName("link");if(!h||h.length===0)return null;let l;return(l=Array.from(h).find(m=>{if(m.type&&(m.type==="application/rss+xml"||m.type==="application/atom+xml")&&m.href)return m.href}))==null?void 0:l.href};b.Oc=function(e,h){return e&&
h?(e=window.getComputedStyle(e))?e.getPropertyValue(h):"":""};b.wo=function(){var e=document.querySelectorAll("meta");return e&&(e=Array.from(e).find(h=>h.getAttribute("property")==="og:url"))&&(e==null?0:e.content)?e.content:(e=document.querySelectorAll("link"))&&(e=Array.from(e).find(h=>h.getAttribute("rel")==="canonical"))&&(e==null?0:e.href)?e.href:window.location.href};b.Gy=function(e){var h;if(!ob((h=OBR)==null?void 0:h.settings)||Eb.vc()!==!1){h=e.l("isDMPEnabled",!0)&&!e.o("oo",!1);var l=
e.l("tracking",!1),m=e.l("disableThirdPartyCookieCheck",!1),g=e.l("filterDMP",""),k=e.o("pid",""),n=e.o("country",""),p=e.Hj(),r="",u=e.wd(""),t=e.o("cnsnt",""),v=e.o("gdpr","0")+"",w=OBR.oa.tb!=null&&v==="1",x=OBR.oa.Ib||"1---",C=OBR.Te.iH();t!==""&&u!==""&&(r="&obcnsnt="+u.toString());l!==!1||h!==!0||C!==!0||OBR.g.Ey!==!1||m||p||(h=h&&C,l=e.o("obRecsAbtestAndVars","")?`&obRecsAbtestAndVars=${e.o("obRecsAbtestAndVars","")}`:"",m=e.o("enu",""),e={VA:OBR.g.Ub,Yy:k,En:h,ev:g,Xu:m,yu:r,gdpr:v,Nw:w,tb:OBR.oa.tb,
mu:x,country:n,gz:l,Gw:"ob",attributionSrc:e.X("attributionSrc")?"&attributionSrc=true":""},Ub(nm,e),document.getElementById(OBR.g.yd)&&(OBR.g.Ey=!0))}};b.iI=function(){const e=b.Bo(8);typeof window.name!=="string"||window.name!==""&&!window.name.includes("frame")||(window.name=e);return b.sa((typeof window.name==="string"&&window.name!==""?window.name:e).substring(0,9))};b.Bo=function(e){e=b.Ri(e).XJ()?e:8;return Array(e).fill(()=>0).map(()=>"0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".charAt(Math.floor(61*
Math.random()))).join("")};b.Ri=e=>({uK:()=>typeof e==="string",XJ:()=>typeof e==="number",XQ:()=>typeof e==="boolean",aR:()=>typeof e==="object"&&e!==null&&!Array.isArray(e),isArray:()=>Array.isArray(e),$w:()=>typeof e==="function",dR:()=>typeof e==="undefined",$Q:()=>e===null,cR:()=>typeof e==="symbol",WQ:()=>typeof e==="bigint"});b.bj=function(e){let h="";for(let l=0;l<e.length;l++)h=h.concat(e[l]?"1":"0");return parseInt(h,2)};b.ig=function(e){return e&&e.length<=110?e:""};b.El=function(e){return e?
e.length<8?(OBR.logger.log("pubImpID min length 8"),""):e.length>64?(OBR.logger.log("pubImpID max length 64"),e.substr(0,64)):e:""};b.CH=function(e){for(let h in d.If)if(OBR.If.hasOwnProperty(h)&&OBR.If[h].G()===e)return OBR.If[h];return null};b.AJ=function(e,h){for(h=h.parentNode;h!==null;){if(h===e)return!0;h=h.parentNode}return!1};b.vQ=function(e,h){return b.Ri(e).$w()?h===void 0?e():e(h):null};b.kH=function(){var e=document.location.href;if(!e||e==="")return[];e=e.replace("","").replace(/^https?:\/\//,
"").replace(/^www\d?\./,"").split("/");e.pop();return e.length>0?e:[]};b.NQ=function(){return"http"+("https:"===c.location.protocol?"s":"")};b.Jw=function(e,h){h.parentNode.insertBefore(e,h.nextSibling)};b.Ea=function(e,h){Gb.set(e,h)};b.W=function(e,h){return Gb.get(e,h)};b.Yd=function(e){Gb.delete(e)};b.RH=function(){const e=Math.round(16777215*Math.random());return"rgb("+(e>>16)+", "+(e>>8&255)+", "+(e&255)+")"};b.jh=function(e){let h="";const l=document.cookie.split(";");for(let m=0;m<l.length;m++)try{const g=
l[m].trim();if(g&&g.startsWith(e+"=")&&(h=g.split("=")[1]))break}catch(g){h=""}return h};b.Ta=function(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches};b.MO=function(e){const h={};h.cpv=e[0];h.convPerc=e[1];h.convPixel=e[2];h.vidId=e[3];h.player=e[4];h.pos=e[5];h.adId=e[6];h.docEncId=e[7];h.origUrl=e[8];h.trafficUrl=e[9];h.duration=e[10];h.widgetIdx=e[11];h.title=e[12];h.sourceName=e[13];h.reqId=e[14];h.platform=e[15];h.lang=e[16];h.uuid=e[17];h.publisherId=e[18];
h.sourceId=e[19];h.widgetNumberId=e[20];h.campaignId=e[21];h.location=e[22];h.timestamp=e[23];return h};b.IG=function(e,h){(h.getAttribute("target")||"_self")!=="_blank"&&b.Gd("obm-firePixelBeforeRedirectCancelled","pixel cancelled redirect on same page ",!1,10);e.forEach(l=>{b.Gd("obm-firePixelBeforeRedirect","pixel fired before redirect",!1,10);const m=OBR._jsc.S("img");l=b.YD(l);m.setAttribute("src",l);m.setAttribute("height","1");m.setAttribute("width","1");OBR._jsc.F.body.appendChild(m)})};
b.CG=function(e){if("fetch"in window||b.Ri(fetch).$w())for(const h of e)fetch(h,{mode:"no-cors",keepalive:!0}).catch(l=>{d.i.Gd("obm-fireBackgroundClickPixelError",l.message,!1,10)})};b.YD=function(e){if(e&&e.length)return e+=(e.includes("?")?"&t=":"?t=")+Date.now()};b.JG=function(e){e&&document&&OBR._jsc.F.body&&e.forEach(h=>{let l=b.createElement("img",null,"display:none;width:1px;height:1px");l.src=h;OBR._jsc.F.body.appendChild(l)})};b.Gd=function(e,h,l,m){(isNaN(m)||b.rand(m)===0)&&OBR.error({name:e,
message:h,ZQ:l===!0})};b.Ik=e=>e&&e.split("&").reduce((h,l)=>{l=l.split("=");h[l[0]]=l[1];return h},{});b.ki=e=>Object.keys(e).reduce((h,l)=>{h.push(`${l}=${encodeURIComponent(e[l])}`);return h},[]).join("&");b.Hk=e=>{if(e&&typeof e==="string"&&(e=e.split("-"))&&e.length===2)return{ul:e[1],Gl:e[0]}};b.attachShadow=im;b.bB=e=>{const h=e.A();if(h&&OBR.g.eA){var l=h.children[0],m=e.xj();e=e.kh();b.attachShadow(h,l,{mode:"open"},m,e)}};b.Ej=e=>Math.floor(Math.random()*(Math.floor(e)+1));b.init(OBR);return b}();
OBR.mj=function(){var a={},b=[];a.add=function(c){b.push(c)};a.remove=function(c){b.splice(c,1)};a.top=function(){return b.length>0?b.shift():null};a.Cd=function(){return b.length<=0};a.Bj=function(){return b};a.ru=function(){b=[]};return a};
OBR.Promise=function(){function a(d,f){b.then=d==="resolve"?function(l){l&&l(f)}:function(l,m){m&&m(f)};b.resolve=b.reject=function(){throw Error("Promise already completed.");};for(var e,h=0;e=c[h++];)e[d]&&e[d](f);c=void 0}var b={},c=[];b.then=function(d,f){c.push({resolve:d,reject:f})};b.resolve=function(d){a("resolve",d)};b.reject=function(d){a("reject",d)};return b};
OBR.Zs=function(){var a={},b="00.000",c=null,d=null,f=0;a.start=function(){c===null&&(c=new Date);d!==null&&(f+=new Date-d)};a.stop=function(){var e=new Date(new Date-c-f),h=e.getUTCSeconds();e=e.getUTCMilliseconds();d=new Date;return b=(h>9?h:"0"+h)+"."+(e>99?e:e>9?"0"+e:"00"+e)};return a};OBR.ef=OBR.ef||function(a,b,c){var d;return function(){var f=this,e=arguments,h=c&&!d;clearTimeout(d);d=setTimeout(function(){d=null;c||a.apply(f,e)},b);h&&a.apply(f,e)}};
OBR.Hr=OBR.Hr||((a,b)=>{let c;return function(){const d=arguments;c||(a.apply(this,d),c=!0,setTimeout(()=>c=!1,b))}});OBR.g=OBR.g||function(){var a={},b={},c=OBR,d=window;b.pC="opera";b.zs="firefox";b.Ql="chrome";b.Ss="safari";b.cC="mozilla";b.CB="edge";b.cu="boolean";b.qA="string";b.oR="object";b.TR="undefined";b.mR="number";b.nf="function";b.yd="ob_iframe";b.Yw=!0;b.xR=0;b.Il="outbrain_widget_";b.GK="text/javascript";b.cG="text/css";b.Kl=d;b.doc=document;b.fakeRefParam=c.i.J("obFakeRefParam",!1);b.tv=OBR.i.J("forceDemand",!1)==="true";b.TG=OBR.i.J("forceOstracking",null);b.xv=OBR.i.J("forceOM","");b.sj=OBR.i.J("forceMraid",
"");b.Pb=window.OBBridge;b.ma=typeof b.Pb!=="undefined"&&b.Pb.isBridge;b.vg=b.ma&&b.Pb&&b.Pb.extraParams?new URLSearchParams(window.OBBridge.extraParams):null;b.Dh=b.TG||b.vg&&b.vg.get("ostracking");b.Kd=b.Dh==="true"?"t-":"";a.UH=()=>{if(b.fakeRefParam)return b.fakeRefParam;if(d.OB_ampReferrer)return d.OB_ampReferrer;if("OB_originalReferrer"in d&&typeof d.OB_originalReferrer==="string"&&!d.OB_originalReferrer.includes("<"))return window.OB_originalReferrer.trim();if(b.ma){let k;return((k=b.vg)==
null?void 0:k.get("overrideOrganicRef"))==="true"?"https://traffic.outbrain.com/":"https://app-sdk.outbrain.com/"}let m,g;return gm&&gm.split("#")[0]!==((m=location)==null?void 0:(g=m.href)==null?void 0:g.split("#")[0])?location.origin:document.referrer};Object.defineProperty(b,"referrerOrig",{get:()=>a.UH(),enumerable:!0,configurable:!0});Object.defineProperty(b,"referrerEnc",{get:()=>c.i.sa(b.referrerOrig),enumerable:!0,configurable:!0});b.Zx=document.location.href;b.fR=c.i.sa(b.Zx);b.Kg=!1;b.Kr=
"";b.Rq="";b.gb=navigator.userAgent.toLowerCase();b.os=navigator.platform.toLowerCase();b.startTime=Date.now();var f=b.gb;b.Hb=/edge/.test(f)?b.CB:/opera/.test(f)?b.pC:/firefox/.test(f)?b.zs:/chrome/.test(f)?b.Ql:/safari/.test(f)?b.Ss:b.cC;b.Ih=/iphone|ipad|ipod/.test(f)&&!d.navigator.standalone&&b.Hb!==b.Ss||/fbav|fban|gsa|twitter/.test(f);b.Cm=/fbav|fban/.test(f)?"facebook":/gsa/.test(f)?"google":/twitter/.test(f)?"twitter":"";b.K=!!/(mobi|iphone|ipod|symbian|android|windows ce|blackberry|palm|ipad)/i.test(f);
b.pe=!window.FP&&!!b.gb.match(/ipad|iphone|ipod/)||!!(b.gb.match(/mac/)&&"ontouchend"in document);b.qc=typeof window.OB_amp!=="undefined";b.Mk="";b.LL=window.OB_platformType||null;b.dH=()=>b.qc?22:21;a.dI=()=>{if(b.Hb==="safari"){var m=/iphone|ipad|ipod|macintosh/.test(b.gb)&&b.gb.match(/version\/(\d+)\.(\d+)(?:\.(\d+))?/);if(m&&Array.isArray(m)&&m.length===4){if(m=m[1])return Number(m)}else if((m=b.gb.match(/(iphone|ipad) os (\d+_\d+)/i))&&m[2])return m=m[2].replace("_","."),Number(m)}};b.UA=a.dI();
b.xk=(()=>{if(b.qc&&b.pe)return!1;try{return"loading"in HTMLImageElement.prototype||!1}catch(m){return OBR.error({name:"obm-NativeLazyLoadSupportFailed",message:`error ${m.name} while trying to verify browser support for Native Lazy Loading`}),!1}})();b.Ix=typeof b.LL==="number";b.JR=null;b.yQ=null;const e=["https://videoexternalapi.outbrain.com/VideoExternalApi/api/odbMocker"];b.IH=function(){if(b.env==="sim")return c.i.Fl(b.za+"odb-sim.outbrain.com","");const m=b.za+"odb."+h,g=c.i.J("wiodb",m);
return e.includes(g)?g:m};b.xo=function(){const m=`${b.za}${b.Kd}mv.${h}`;if(b.env==="sim")return c.i.Fl(b.za+"mv-sim.outbrain.com","");const g=c.i.J("wiodb",m);return e.includes(g)?g:m};b.hw=function(m){if(m=c.i.J(m,null))try{return m.split(",").map(g=>g.split(":")).reduce((g,[k,n])=>{g[k]=n;return g},{})}catch(g){}return null};b.nx="performance"in window&&"getEntries"in window.performance;b.md={};b.Vw=b.nx&&"getEntriesByType"in window.performance;b.dw=()=>{if(!b.Vw)return"";const m=performance.getEntriesByType("navigation");
return m&&m[0]&&m[0].type};b.WH=()=>b.Vw?Number(b.dw()==="reload"):"";b.Vv=(m,g)=>`${OBR.i.J(g,!1)==="true"?`${`http://127.0.0.1:${m}`}/dist`:`${b.Ub}/gnr`}`+"/__path__/__moduleName__.js";b.JH=()=>{try{return encodeURIComponent(b.zo())}catch(m){}};b.zo=()=>{var m=(window.OB_amp?window.context:window).location.href;if(b.ma){var g=new URL(m);m=g.searchParams.get("permalink");const k=g.searchParams.get("userId");g=Array.from(g.searchParams).map(([n,p])=>`${n}=${p}`).join("&").replace(`permalink=${m}&`,
"").replace(`userId=${k}&`,"");return`${m}?${g}`}return m};b.nH=()=>{try{const m=c.i.J("fakeRec","RTB-CriteoUS"),g=c.i.J("fakeRecSize",4);return`&fakeRec=${m}&testMode=true&fakeRecSize=${g}`}catch(m){}};b.HH=()=>{var m=c.i.J("dicbo",null);if(m){m=encodeURIComponent(m).split("-");const g=m==null?void 0:m.at(0);return{id:m==null?void 0:m.at(1),version:g}}return{id:null,version:null}};b.sr=()=>{OBR.monitorData={prefix:b.Kd}};b.tk=8215;b.ver=typeof d.OB_releaseVer==="string"?d.OB_releaseVer:"0";b.lR=
d.OB_disable_odbl===!0;b.Pn=d.OB_extId?d.OB_extId:null;b.vG=d.OB_extIdSecondary?d.OB_extIdSecondary:null;b.Ld=d.OB_pubImpId?d.OB_pubImpId:null;b.Iv=()=>d.OB_ContextKeyValue?d.OB_ContextKeyValue:b.TE();b.wk="nanoWidget/";b.Xz=function(){b.za=c.i.J("isForceHttp","false")==="true"?"http://":"https://";b.env=c.i.J("env","prod");b.pL=b.IH();b.jR=b.xo();b.nQ=b.za+"storage.outbrain.com/";const m=c.i.J("wihost",b.za+"widgets."+h),g=b.za+"widgets."+h;b.Ub=["https://widgets-test.outbrain.com","http://widgets-test.outbrain.com"].includes(m)?
m:g;b.Jl=c.i.Fl(c.i.J("wihost",`${b.za}${b.Kd}widgetmonitor.${h}`),`${b.za}${b.Kd}widgetmonitor.${h}`);b.ZA=`${b.Jl}/WidgetErrorMonitor/api/report`;b.outbrainHost=c.i.Fl(c.i.J("wiout",b.za+h),b.za+h);b.Bq=`${b.za}${b.Kd}log.${l}/`;b.Nf=`${b.za}${b.Kd}eventlog.${h}/`;b.uy=b.Ub+"/"+b.wk+b.ver+(b.Ix?"/moduleLT":"/module");b.vk=b.Ub+"/"+b.wk+"3rd";b.ty=b.Vv(9005,"wignr");b.sy=b.Vv(9006,"wifgnr");b.qy=b.Ub+"/"+b.wk+"externals";b.$O=b.Ub+"/external";b.dL=b.Ub+"/nativeVideoPlayer";b.iR=b.Ub+"/widgetMegaBlocks"};
var h="outbrain.com";var l="outbrainimg.com";b.AL=l;b.Xz();b.NE="/blogutils/ExcludeRec.action?bocr=";b.pR="html";b.Fq=b.Ix?"NANOWDGTLT13":"NANOWDGT01";b.wJ=typeof d.console==="object";b.Ij=null;b.Po=null;b.mA=c.i.GF(c.i.yG());b.ml=b.mA===null?"":c.i.sa(b.mA);b.Ey=!1;b.xl=!(!d.OB_testMode&&!OBR.i.J("obTestMode",!1));b.Rw=OBR.i.J("widebug","false")==="true";b.uu=b.HH();b.Cy=b.uu.version;b.By=b.uu.id;b.Dv=OBR.i.J("dicbo",null);b.PJ=D("intentiqEnabled");b.gK=D("rampidEnabled");b.NJ=D("id5Enabled");b.zK=
D("uid2Enabled");b.eK=D("pubcidEnabled");b.BK=D("utiqEnabled");b.BA=null;b.Aw=null;b.dz=null;b.$y=null;b.ed={uk:null,Xe:null,Sg:null};b.ov=null;b.Th=b.JH();b.zR=Pb();b.forceExploreMore=c.i.J("obForceExploreMore",!1)==="1";b.Ob=c.i.J("obStudioPreview",!1)==="1";b.fG=c.i.J("darkMode","false")==="true";b.Kb=b.hw("forceWidgets");b.tj=b.hw("forceVid");b.QG=c.i.J("forceFeed","false")==="true";b.Rn=c.i.J("wixp",null);b.iL=c.i.J("obdraft",!1)==="true"?"&obDraft=true":"";b.co=OBR.i.J("forceOcAd","");b.Mc=
OBR.i.J("forceCards","");b.vv=OBR.i.J("forceCopmlianceMeasure","")==="1";b.uv=OBR.i.J("forceGlobalLsl","")==="1";b.Gt=c.i.J("obAbtest",!1)!==!1?"&obAbtest="+c.i.J("obAbtest",""):"";b.Du=c.i.J("obCrDraft","false")==="true"?"&crDraft=true":"";b.vq=c.i.J("obFakeRTB","0")!=="0"?"&fakeRec=RTB&fakeRecSize="+c.i.J("obFakeRTB","0"):"";b.Hy=c.i.J("oblr","0")==="1";b.Ak=OBR.i.J("obPerformance",!1)==="true";b.Dy=c.i.J("obFakeRtb",!1)==="true"?b.nH():"";b.vx=OBR.i.J("rtbDesc",!1)==="true"?"&isRtbDescriptionEnabled=true":
"";b.Lu=OBR.i.J("desc",!1)==="true"?"&descriptionDisplayEnabled=true":"";b.yr=OBR.i.J("skipContextValidation",null);b.bo=OBR.i.J("forceContextValidation",null);b.jl=OBR.i.PH();b.oL=`libs.outbrain.com/video/obVideo/${OBR.i.J("vidEnv","prod")==="test"?"staging":"current"}`;b.ql=!1;b.uq=`${b.Ub}/keystone/`;b.kL=`${b.uq}conv`;b.jL=`${b.uq}injections`;b.mL=`${b.uq}segments`;b.Ur=null;b.rj=OBR.i.J("forceAd","0")!=="0"?OBR.i.J("forceAd","0"):"";b.zr=OBR.i.J("sst",!1)==="true"?!0:!1;b.tq=OBR.i.J("obInternalId",
null);if(b.rj||b.jl||b.Dy||b.vq||b.Kb||b.tj)b.xl=!0;b.jr={w:screen.width,h:screen.height};b.Gn=window.devicePixelRatio;b.se=0;b.Id=null;b.jq=!1;b.Gz="data-obscrollable";b.HR={touch_strip:"1",odb_dynamic:"2","odb_dynamic_touch-strip":"3"};b.IR={"touch-strip":"1"};b.yk=b.ma&&window.OBBridge.viewData;b.aQ={KALTURA:"kaltura",BRIGHTCOVE:"brightcove"};b.da={Eb:"get",La:"post",bm:"jsonp",rm:"postJson",ob:"beacon"};b.gs=c.i.iI();b.Df=window.location.href.match(/(outbrain.com|localhost:\d{4,5}|consul:\d{4,5})\/WidgetWizard/)!==
null;b.KJ=c.i.J("obgallery","false")==="true";b.Vo=typeof d.IntersectionObserver==="function";b.Ly=!1;b.wv=function(m){m.isSecured===!0&&b.za!=="https://"&&(b.Xz(),c.v.init(OBR))};b.gR=b.Sw||b.Tw;b.gdpr=D("gdpr");b.Ch=b.gdpr!==0;b.setData=function(m){b.Ch=m.o("oo",b.gdpr!==0);let g=m.LH();if(m=m.X("adExternalIds"))m=Object.values(m),OBR.g.md[g]?OBR.g.md[g].length!==20&&OBR.g.md[g].push(...m):OBR.g.md[g]=m,OBR.g.md[g].length>20&&(OBR.g.md[g]=OBR.g.md[g].slice(0,20))};b.Rc=!1;try{b.Rc=window.self!==
window.top}catch(m){b.Rc=!0}b.tl="navigator"in window&&"sendBeacon"in window.navigator;b.jO="ReportingObserver"in window;b.iO="PerformanceObserver"in window;b.Fk="navigator"in window&&"language"in window.navigator&&window.navigator.language;b.Wh=c.i.gw();b.Fd=null;b.Mx=!1;b.Ed=!1;b.uw="webkitLineClamp"in document.createElement("div").style;b.oi=OBR.i.vK();b.zw=!!window.history;b.eA=!(!document.head.createShadowRoot&&!document.head.attachShadow);b.Vj=Ql()&&Ol()&&!window.OBBridge;b.dK=bc();b.Sw=b.Vj||
OBR.settings&&!!OBR.settings.disableLocalStorageGdpr;b.Tw=b.Vj||b.uv||D("disableStorageAndCookies")===1;b.oe=b.Sw||b.Tw;b.yJ=OBR.settings&&!!OBR.settings.conversionPixelTriggers;b.Jx=OBR.settings&&!!OBR.settings.widgetsLoadingPriority;b.xJ=!!OBR.settings&&!!OBR.settings.contextRuleComplianceSelector;b.fH=()=>b.xJ&&OBR.settings.contextRuleComplianceSelector;b.TE=()=>{const m=b.fH();if(!m)return null;try{return document.querySelectorAll(m).length?"onpage":null}catch(g){return null}};b.aa=function(){b.Kg=
!1;b.Id=null;b.Ed=!1};b.Qn=(()=>{let m=null;return{getValue:()=>m,il:g=>{m===null&&g==="true"&&(m=!0)}}})();b.xx=(()=>{let m=!1;return{getValue:()=>m,il:g=>{m===null&&g===!0&&(m=g)}}})();b.zJ=b.pe&&window.CSS&&typeof window.CSS.supports==="function"&&window.CSS.supports("width: 100dvh");b.publisherSubscriptionSelector=D("publisherSubscriptionSelector");b.publisherLoginIndication=D("publisherLoginIndication");b.yx=D("skipAdblock");b.fk=()=>b.yx===1&&b.qc;b.gk=()=>b.yx===2&&b.K;b.bR=OBR.settings&&OBR.settings.fraudDetection===
"0";b.fK=OBR.settings&&OBR.settings.inlinePublisherScript===1;b.bH=()=>{var m,g;const k=(m=OBR.F)==null?void 0:(g=m.at(0))==null?void 0:g.o("pid",null);m=k&&OBR.settings&&OBR.settings._pid&&Number(k)===Number(OBR.settings._pid);g=(()=>{let n;const p=(n=document.querySelector('script[src^="https://widgets.outbrain.com/outbrain.js"]'))==null?void 0:n.src;if(!p)return!1;try{return(new URL(p)).searchParams.get("i")!==null}catch(r){return!1}})();return parseInt([OBR.settings?1:0,m?1:0,b.fK?1:0,g?1:0].join(""),
2)};a.SH=function(){const m=OBR.i.J("obRecsAbtestVars",null);return m?m.replaceAll(":","-"):null};b.lL=a.SH();b.vJ=(()=>{try{const m=document.createElement("video");m.playsInline=!0;return"webkitSupportsPresentationMode"in m&&!m.webkitSupportsPresentationMode("inline")}catch(m){}return!0})();b.Sq=null;b.bc=function(){a.jd=c;return a};b.qk=Date.now();b.JM=window.scrollY;(()=>{try{const p=window.localStorage.getItem("OB-WITRC");if(p){const r=JSON.parse(p);(Date.now()-r.ts)/6E4>r.ttl?window.localStorage.removeItem("OB-WITRC"):
b.Al=r.n}var m=OBR.i.J("obwitrc",null);if(m&&m.indexOf(",")!==-1){var [g,k]=m.split(",");var n={n:k,ttl:+g,ts:Date.now()}}else n=void 0;n&&(b.Al=n.n,window.localStorage.setItem("OB-WITRC",JSON.stringify(n)));return n}catch(p){}})();b.fw=()=>{const m=d==null?void 0:d.OB_Predefined;return m&&typeof m==="object"&&"isSuspendImpressionPixels"in m?m.isSuspendImpressionPixels:!1};return b}();var ic=/^(http[s]{0,1}):\/\/([^\/]*)outbrain(img){0,1}\.com/i,pm={Tm:window.performance,marks:[],ZK:[],measure(a,b,c){a=`${"ob-measure-"}${a}`;this.ZK.push(a);try{return this.Tm.measure(a,b,c)}catch(d){}return 0},OR(a){return hc(this,a,!0)},tQ(a){return hc(this,a)},GQ(a,b){const c=`${"ob-mark-"}${b?"0-":"1-"}${a}`;return this.marks.find(d=>d===c)},HQ(a){return performance.getEntriesByType("mark").filter(b=>b.name===a)},IQ(){let a=[];const b=this.Tm.getEntriesByType("measure");b&&b.length>0&&(a=b.filter(c=>
c.name.startsWith("ob-measure-")));return a},QQ(a){const b=[];jc().filter(c=>c.name.includes(a)).forEach(c=>{b.push({name:c.name,value:c})});return b}};OBR.Performance=OBR.Performance||pm;var qm=[],rm=Date.now(),sm=class{log(a){const b=(Date.now()-rm)/1E3;qm.length<1E3&&qm.push({"time passed (ms)":b,message:a})}printPage(){const a=OBR.i.uo();a&&(a.innerHTML=`<div style="direction: ltr">${qm.map(b=>`${b["time passed (ms)"]}: ${b.message}`).join("<br>")}</div>`,a.style.display="block")}printLog(){OBR.g.wJ?window.console.table(qm):this.printPage()}};OBR.logger=OBR.logger||new sm;OBR.printLog=OBR.logger.printLog;OBR.printPage=OBR.logger.printPage;var tm=class{constructor(){this.C=[]}add(a,b){let c;typeof a==="string"&&typeof b==="function"&&(c={},c.name=a,c.nf=b,this.C.push(c))}fire(a,b,c,d){let f;b=b||[];c=!!c;this.LJ||OBR.No.DG(a,d);OBR.logger.log("event fire:"+a);for(let e=0,h=this.C.length;e<h;e+=1)if(d=this.C&&this.C[e]?this.C[e].name:"",f=this.C&&this.C[e]?this.C[e].nf:null,d===a&&f)try{f.apply(this,b)}catch(l){console.log(l),OBR.logger.log("fire event *"+a+"* error: "+l),OBR.error(l)}c===!0&&kc(this,a)}Ze(){this.C=[]}};OBR.Db=tm;
OBR.hd=new tm;
(function(a,b,c){const d={onHtmlReturn:"widgetDataReturned",afterRender:"widgetRendered"};let f;const e=g=>{g=g.widgetId;let k=[];g&&(typeof g==="string"?k=[g]:Array.isArray(g)&&(k=g));a.logger.log("global event widget ids: "+k);return k},h=g=>{g&&g.event&&typeof g.func==="function"?g.event==="ready"?(c.add(g.event,g.func),f[g.event]=!0):e(g).forEach(k=>{c.add(g.event+"_"+k,g.func);f[g.event]=!0}):a.logger.log("Bad global event"+g)},l=()=>{const g=b.OBREvents;if(g&&!(g.length<1))for(var k=0,n=g.length;k<
n;k+=1)h(g.shift())};class m{constructor(){f={};this.EL=["ready"]}init(g,k,n){a=g;b=k;c=n;c.LJ=!0;f={}}HG(){this.EL.includes("ready")&&(l(),f.ready&&c.fire("ready"))}DG(g,k){var n=d[g];if(k&&n&&(l(),f[n])){g=c;var p=g.fire;n=n+"_"+k.D();k=[{idx:k.G(),widgetId:k.D(),widgetJsId:k.o("widgetJsId",k.D()),container:k.A(),recsNumber:k.o("tcr",-1),variantId:k.o("abTestVal","")}];p.call(g,n,k)}}aa(){this.init(OBR,window,new OBR.Db)}}OBR.No=new m})(OBR,window,new OBR.Db);(function(){const a=`${OBR.g.qy}/cookie/put.html`,b={SUCCESS:0,FAILURE:1,ERROR:2,TIMEOUT:3,LS_SUCEESS:4,LS_FAILURE:5},c=OBR._jsc.A.OC;class d{constructor(){this.result=null;this.pA=!1;this.ff=-1}test(){const f=this.jH();f!==null?(this.di(f),this.result=f===b.SUCCESS||f===b.LS_SUCEESS?!0:!1):this.start()}start(){document&&document.body?this.ej():document.addEventListener("DOMContentLoaded",()=>{this.ej()})}iH(){return this.ff===-1||this.ff===b.SUCCESS||this.ff===b.LS_SUCEESS?!0:!1}ej(){try{let f=
null;const e=m=>{m.data==="OB:3PC-true"?(OBR.logger.log("third party cookies enabled"),h(!0)):m.data==="OB:3PC-false"&&(OBR.logger.log("third party cookies disabled"),h(!1))},h=m=>{window.removeEventListener("message",e,!1);clearTimeout(f);const g=(this.result=m)?b.LS_SUCEESS:b.LS_FAILURE;this.di(m?b.SUCCESS:b.FAILURE);this.eN(g);l.parentElement&&l.remove()};window.addEventListener("message",e,!1);const l=document.createElement("iframe");l.setAttribute("style","display:none;width:0;height:0;");l.src=
a;l.onerror=()=>{this.di(b.ERROR);this.result=!1;l.remove()};document.body.appendChild(l);f=setTimeout(()=>{this.di(b.TIMEOUT)},3E3)}catch(f){this.di(b.ERROR),this.result=!1}}eN(f){OBR.i.Ea(c,JSON.stringify({value:f,expiry:(new Date).getTime()+2592E5}))}jH(){var f=OBR.i.W(c,null);if(!f)return null;f=JSON.parse(f);return(new Date).getTime()>f.expiry?(OBR.i.Yd(c),null):f.value}di(f){this.ff===-1&&(this.ff=f)}}OBR.Te||(OBR.Te=new d)})();OBR.Fd=OBR.Fd||function(){const a={key:null};(()=>{a:{var b=OBR.i.W("OB_LS_CONTEXT",null);if(b)try{var c=JSON.parse(b);if(c.key){var d=c;break a}}catch(e){OBR.logger.log("Failed to parse stored value OB_LS_CONTEXT")}d=null}if(d&&d.key!=="disabled"){if(d=d.key){c=OBR.i.W(d,null);if(!c&&d.indexOf(".")>0&&(b=d.split("."),c=b.splice(0,1)[0],c=OBR.i.W(c,null)))try{for(c=JSON.parse(c);b.length;){var f=b.splice(0,1);c=c[f]}}catch(e){OBR.logger.log(`Failed to parse local storage value ${d}`)}c&&typeof c===
"string"&&c.length>300&&(c=c.substring(0,300));f=c}else f=null;f&&(f=encodeURIComponent(f),OBR.g.Fd=f)}})();return{update:b=>{b=b.l("localStoragePathForContextRule",null);b!==a.key&&(b?(a.key=b,OBR.i.Ea("OB_LS_CONTEXT",JSON.stringify(a))):OBR.i.Yd("OB_LS_CONTEXT"))}}}();var um=()=>{let a,b;return(a=OBR)==null?void 0:(b=a.settings)==null?void 0:b.country},vm=class{constructor(){this.nO=2;this.Fr=this.hb=null;this.Vi={};this.tb=lc(this);this.jc=this.tb!==null;this.up=typeof window.__uspapi==="function";this.Ib=null;this.wr=um()==="US";this.Vr=this.GA=this.Xi=!1;this.Ck=()=>{};pc(this)}init(){oc(this);tc(this)}Bp(a){if(this.jc?mc()===1?this.GA||!this.Vr:!this.jc||this.hb!==null:1)return!0;this.Ck=()=>{a()};if(mc()===1)return!1;this.XG||(this.XG=setTimeout(()=>{OBR.logger.log("Second time for consent");
if(this.hb===null&&(this.Xi=!0,OBR.i.W(OBR._jsc.A.lc,"")!=="")){const b=OBR.i.W(OBR._jsc.A.lc,"");b&&b!="undefined"&&(this.hb=OBR.i.W(OBR._jsc.A.lc,""),OBR.logger.log("Taking consent from LS"))}this.sA(300);this.Ck()},300));return!1}clearData(){Gb.yf=!0;Jb(Gb);Mb(Gb);["https://optout.outbrain.com/deletecookie","https://r1.zemanta.com/optout/deletecookie"].forEach(a=>{OBR.qa.send(OBR.g.da.Eb,a,null,null,!0,null,!0,!0,"no-cors")})}aa(){typeof OBR.g.Kl.OB_CONSENT===OBR.g.cu&&OBR.g.Kl.OB_CONSENT===
!1||OBR.i.W(OBR._jsc.A.lc,"")===""||(this.hb=OBR.i.W(OBR._jsc.A.lc,""))}sA(a){this.jc=!1;this.sA=a}Jc(a,b,c){let d,f;(f=(d=window).__tcfapi)==null||f.call(d,a,this.nO,b,c)}};OBR.oa||(OBR.oa=new vm);var wm=class{constructor(){this.isEnabled=!1;this.value=[];D("preloadScripts")&&zc()&&(this.isEnabled=!0,this.value=OBR.settings.preloadScripts)}},xm=new wm;var ym=()=>{let a,b;return Number((a=OBR)==null?void 0:(b=a.globals)==null?void 0:b.ver)<=0||!!OBR.env};
(function(){let a;const b={fP:"ADNGIN",Di:"WHATIS",Ts:"SCROLL",Us:"SCROLLEXTERNAL",Rs:"REGISTER",Ks:"OB_VIDEO",wg:"SKYLANDER",qP:"DYNAMICTEXTTRUNCATION",Bm:"TOPBOX",jm:"PAGER",Ls:"PAGEREXTERNAL",Ms:"PAGEREXTERNALNEW",dt:"USERZAPPING",um:"READMORE",sg:"NATIVEVIDEOPLAYER",Hm:"WIDGETWIZARD",Am:"SWIPELAYOUT",EP:"MEGABLOCKS",Ws:"STASHRENDERER",Ml:"ADCAROUSEL",nm:"PERFORMANCEMONITOR",ym:"SINGLECARDCAROUSEL",Pl:"CARDSCAROUSELBOX",Vl:"DYNAMICCAROUSEL",sm:"PUBLISHERTOOLS",qm:"PLAYABLEAD",yg:"TIMELINE",rg:"GRIDCAROUSEL",
Gm:"WIDGETINJECTOR",Sl:"DISPLAY",vm:"REEL",wm:"REEL-V2",km:"PARALLAX",Rl:"CLIP",dm:"LEAD_FORMS",xg:"STACK_CARD",tg:"READ_NEXT",zm:"SINGLE_ANIMATION_ON_FEED",Ci:"WEBVITALSMONITOR",yP:"INTERACTION_LAYER",Fm:"USER_ZAPPING",mP:"CUSTOM_FEED",pg:"FLOATING_INDICATOR",ss:"CONVERSIONS_TRIGGERS",qg:"FRAUD_HANDLER",xs:"EXTRA_INJECTIONS",ft:"USER_SEGMENTS",Zl:"GTEE_COMPLIANCE_MEASURE",Yl:"GPID_COLLECTION",Im:"WIDGET_PREDICTION_BUCKETS",wi:"BROWSI",ps:"BROWSI_INSIGHT_AGENT",Tl:"DISPLAY_ADS_VERIFIER",ug:"SAFARI_DISTRACTION_CONTROL",
gm:"NATIVE_APP_HEADER",pm:"PERMUTIVE_DATA_SHARE",ng:"DWELL_TIME",Ul:"DIVEE"},c=Object.keys(b).reduce((e,h)=>{e[b[h]]=h;return e},{});class d{constructor(e,h,l){this.url=h;this.attributes={};this.version=l;this.state=0;this.Pi=[];this.context=this;this.Mn=null;this.ww=!1}oH(e){return ym()?null:e.endsWith(".ts")||e.includes(".ts?")?e.replace(/\.ts(\?|$)/,".js$1"):null}tI(e){const h=this.oH(this.url+this.Nv());h&&!this.ww?(this.ww=!0,this.url=h.split("?")[0],this.state=0,this.pu()):this.Mn&&this.Mn(e)}pu(){if(this.state===
2)this.Vx();else if(this.state===0){const e=this.url+this.Nv(),h=OBR.i.Va(0,e,!0,!1,null,this.attributes);ym()&&(this.url.endsWith(".ts")||e.includes(".ts"))&&(h.type="module");h.onerror=l=>this.tI(l);this.state=1;OBR._jsc.ac(OBR._jsc.Vc,h).to(document.head)}}Nv(){return OBR.env?`?e=${OBR.env}`:""}Vx(){this.state=2;for(let e=0;e<this.Pi.length;e+=1){const h=this.Pi[e];typeof h.callback==="function"&&h.callback.call(this.context,h.rE)}this.Pi=[]}sN(e){this.url=this.url.replace("$SUFFIX",e?e.toString().toLowerCase():
"")}RM(e){this.attributes=e}}class f{constructor(){this.B=b}init(e,h){a=h?h:this.VL()}bJ(){for(let h of xm.value){var e=h&&h.trim().toUpperCase();const l=c[e];(e=e&&this.B[l])&&this.N(e,()=>{},this,[],"",()=>{})}}bz(e,h,l){e&&(h={gnr_module:OBR.g.ty.replace("__path__",l?l:e).replace("__moduleName__",e),gnr_feature:OBR.g.sy.replace("__path__",e).replace("__moduleName__",e),gnr_module_internal_lazy:OBR.g.ty.replace("__path__",e).replace("/__moduleName__",""),gnr_feature_internal_lazy:OBR.g.sy.replace("__path__",
e).replace("/__moduleName__","")}[h],b[e]=`${e}`,a[e]||(a[e]=new d(e,h,-1)))}VL(){const e={},h=(m,g,k=-1)=>{e[m]||(e[m]=new d(m,g,k))},l=m=>{const g=OBR.g.uy+"/";m=m.replace(/\.(js|ts|tsx)$/,"");return g+m+".js"};h(this.B.Di,l("whatis.js"));h(this.B.dt,l("userZapping.js"));h(this.B.Rs,l("registration.js"));h(this.B.wg,l("skyLander.js"));h(this.B.Bm,l("topBox.js"));h(this.B.Am,l("swipeLayout.js"));h(this.B.um,l("readMore.js"));h(this.B.Hm,l("widgetWizard.js"));h(this.B.Ws,l("stashRenderer.js"));h(this.B.Ks,
OBR.g.za+(OBR.g.oL+"/obVideo.js"));h(this.B.ss,OBR.g.kL+"/KS_conversions.js",-1);h(this.B.xs,OBR.g.jL+"/ob_extra_injections.js",-1);h(this.B.ft,OBR.g.mL+"/ob_user_segments.js",-1);h(this.B.Ts,l("scroll.js"));h(this.B.Us,OBR.g.vk+"/scroll/scrollExternal.js");h(this.B.jm,l("pager.js"));h(this.B.Ls,OBR.g.vk+"/pager/pagerExternal.js");h(this.B.Ms,OBR.g.vk+"/pager/pagerExternalNew.js");h(this.B.sg,OBR.g.dL+"/NVPInjector.min.js",-1);h(this.B.Ml,l("adCarousel.js"));h(this.B.nm,l("performanceMonitor.js"));
h(this.B.ym,l("singleCardCarousel.js"));h(this.B.Pl,l("cardsCarouselBox.js"));h(this.B.Vl,l("dynamicCarousel.js"));h(this.B.sm,l("publisherTools.js"));h(this.B.qm,l("playableAd.js"));h(this.B.yg,l("timeline.js"));h(this.B.rg,l("gridCarousel.js"));h(this.B.Gm,l("widgetInjector.js"));h(this.B.Sl,l("displayAd.js"));h(this.B.vm,l("reel.js"));h(this.B.wm,l("reel-v2.js"));h(this.B.qg,l("fraudHandler.js"));h(this.B.Ci,l("webVitals.js"));h(this.B.km,l("parallax.js"));h(this.B.Rl,l("clip.js"));h(this.B.zm,
l("singleAnimationOnFeed.js"));h(this.B.dm,l("leadForms.js"));h(this.B.xg,l("stackCard.js"));h(this.B.tg,l("readNext.js"));h(this.B.Fm,l("userZapping.js"));h(this.B.pg,l("floatingIndicator.js"));h(this.B.Zl,l("gteeComplianceMeasure.js"));h(this.B.Yl,l("publisherIDsCollector.js"));h(this.B.Im,l("widgetPredictionBuckets.js"));h(this.B.Tl,l("displayAdsVerifier.js"));h(this.B.ug,l("safariDistractionControl.js"));h(this.B.gm,l("nativeAppHeader.js"));h(this.B.wi,OBR.g.za+"cdn.browsiprod.com/bootstrap/bootstrap.js");
h(this.B.ps,OBR.g.za+"cdn.binsiad.com/ins-ag/ins-ag.min.js");h(this.B.pm,l("permutiveDataShare.js"));h(this.B.ng,l("dwellTime.js"));h(this.B.Ul,l("divee.js"));return e}T(e){if(OBR.g.ver!=="-1")try{a[e].Vx()}catch(h){throw OBR.error({name:"obm-MakeHandShakeError",message:"Error in module: "+e+", Err: "+h,stack:h.stack||"None"}),h;}}DH(e){return a[e]}N(e,h,l,m,g,k,n){if(e=this.DH(e))e.sN(g),e.RM(n),e.Pi.push({callback:h||OBR.i.Wu(),rE:m}),e.Mn=k,e.context=l,e.pu()}Zv(e){for(let h in this.B)if(this.B.hasOwnProperty(h)&&
this.B[h]===e)return this.B[h];return null}}if(!OBR.v){const e=new f;e.init();OBR.v=e}})();OBR.languageManager=OBR.languageManager||function(){var a={},b={},c=[];a.Ox=function(d){return c.hasOwnProperty(d)};a.XF=function(d){c[d]={}};a.bE=function(d,f){c[d]=Object.assign(c[d],f)};b.registerModuleLanguage=function(d,f){typeof d==="string"&&f&&Object.keys(f).length>0&&(a.Ox(d)||a.XF(d),a.bE(d,f))};b.JQ=function(d){return a.Ox(d)?c[d]:null};b.bc=function(){return a};return b}();OBR.init=OBR.init||OBR._jsc.y(function*(){yield Xa("ob.init",{})});OBR.Ll=function(a){return tl(a)};var zm=class{constructor(){var a=OBR;this.fm="data-ob-mark";this.Bi="OB_elements";this.qB="containerId";this.pa=a;this.oj=new OBR.Db;this.Yk=new OBR.Promise}init(a=OBR){this.pa=a;this.oj=new OBR.Db;this.Yk=new OBR.Promise}aa(){this.oj.Ze();OBR.F=[]}};OBR.ib=OBR.ib||new zm;var Am=class{constructor(){this.eb=OBR.i.W(OBR._jsc.A.hs,null);this.ke=OBR.i.W(OBR._jsc.A.js,null);this.eb!==null&&OBR.logger.log("AdBlock - status from local storage is: "+this.eb);this.Bn=300;this.cssText="display:inline;width:1px!important;height:1px!important;border:none;padding:0;visibility:visible!important;";this.uj=!1;this.Ng=this.Og=0;this.Xm=new OBR.Db;this.hf={ready:0,uG:3,Nr:6,stopped:7};this.eb===null&&Oc(this)}Ok(a){this.Xm.add("onAdBlockStatusReady",a)}Mo(){return this.Og}ho(){return this.Ng}Sj(){return OBR.g.fk()||
OBR.g.gk()||OBR.g.ma?!1:this.eb}sp(){return this.ke}uL(){Nc(this)}};OBR.qb=OBR.qb||new Am;var Q={tg:{Y:"ReadNext",M:{mB:8500,OPEN:8501}},IB:{Y:"ForceCardButton",M:{lB:7808}},sC:{Y:"PubtoolOverlay",M:{RB:8E3,EB:8001,zB:8002,Oe:8003,$B:8004,yC:8005,hB:8006,AC:8007,bC:8008}},PB:{Y:"HighlightReel",M:{lm:7800,xm:7801,Nl:7802,Xl:7803}},QB:{Y:"HighlightReel2",M:{lm:7800,xm:7801,Nl:7802,Xl:7803}},XP:{Y:"Stories",M:{RP:10010,GP:10015,HP:10016,SP:10020,IP:10025,JP:10026,OP:10030,lP:10040,wP:10031,CP:10017,DP:10027,hP:10045}},wB:{Y:"DelayWidget",M:{YC:10100}},NB:{Y:"InterventionHeavyAds",M:{UB:99840,
IC:99740,JC:99640,KC:99540,LC:99440}},XC:{Y:"WebVitals",M:{wC:98E3}},cB:{Y:"Ad Carousel",M:{eB:5E3,dB:5001}},rg:{Y:"Grid Carousel",M:{Gs:1E4}},SC:{Y:"User Sentiment",M:{LIKE:4E3,DISLIKE:4050,UNDO_DISLIKE:4100,UNDO_LIKE:4150,STASH:4200,UNDO_STASH:4250,SHARE:4300,REPORT:4350,REPORT_REASONSV2:4351,UNDO:4400,OPEN:4450,MENU_MOBILE:4451}},ws:{Y:"Dynamic Carousel",M:{qs:10100}},xB:{Y:"DFP",M:{xC:4600,zC:4610,EMPTY:4620,ERROR:4630}},jP:{Y:"Article Card",M:{TP:4500}},Ns:{Y:"Playable ad",M:{"ob-pa-load":6E3,
"ob-pa-cta-clicked":6001,"ob-pa-engaged":6002,"ob-pa-error":6003,"ob-pa-resize":6004}},xg:{Y:"StackCard",M:{Ys:6500,Xs:6501}},yg:{Y:"Timeline",M:{MC:7510,ct:7511}},QP:{Y:"Podcast",M:{NP:7E3}},vC:{Y:"ReadMore",M:{Oe:2050,TC:2E3,ks:2100,ls:2150}},wg:{Y:"SkyLander",M:{Ra:3E3}},EC:{Y:"SwipeLayout",M:{$a:3050,Ra:3E3}},NC:{Y:"TopBox",M:{mg:3150,$a:3050,Ra:3E3,Re:3200,og:3100}},jB:{Y:"BottomBox",M:{mg:3150,$a:3050,Ra:3E3,Re:3200,og:3100}},Wl:{Y:"Feed",M:{iB:10200,HB:10201,qC:10202,rC:10203,jC:10204}},ZP:{Y:"test",
M:{sP:100,tP:200}},xP:{Y:"General",M:{YP:400,vP:401}},pg:{Y:"floatingIndicator",M:{Oe:1500}},Ga:{Y:"exploreMore",M:{YB:5500,ZB:5501,PC:5502,fC:5510,eC:5511,uB:5515,zP:5516,SB:5517,oP:5518,BB:5519,iC:5520,lC:5523,iP:5527,AB:5529,RC:5532,Is:5533,pB:5534,sB:5535,oB:5536,nB:5537,VC:5538,WC:5539}},VP:{Y:"refreshwidget",M:{gP:9898}},WB:{Y:"keystone",M:{vB:100}},kd:{Y:"PartnerCard",M:{BC:1,mC:2,KB:3,fB:4,VB:5,yB:6,Js:7}},wi:{Y:"BrowsiInjection",M:{kB:10300}},ug:{Y:"SafariDistractionControl",M:{OB:2500}},
FB:{Y:"ExternalWidgetEventData",M:{UC:2E3,Oe:2001,KP:2002,AP:2003,WP:2004,nP:2005,UP:2006,uP:2007}},nC:{Y:"Onyx",M:{oC:10400}},bt:{Y:"Teads",M:{rs:10500,rB:10501,HC:10502,tB:10503,hC:10504,LB:10505,PP:10507}},qg:{Y:"FraudHandler",M:{Bs:10600,Ds:10601,Cs:10602,As:10603}},ng:{Y:"DwellTime",M:{pP:10700,LP:10701}}};var Bm={obzala:"_b1_ad_group_id",obzalc:"_b1_creatives_id",obzali:"_b1_ip",obzalt:"_b1_no_targeting",obzalp:"_b1_cpm",obzale:"_b1_exchange",obzald:"_b1_ignore_pmp",obzalcbs:"_b1_creative_banner_size"},Cm=[{pattern:"utm_",jy:a=>a},{pattern:"obzal",jy:a=>Bm[a]}],fg=()=>{var {QH:a}={QH:()=>Xl(window)};const b=a();return b&&(a=Object.keys(b).map(c=>{const d=Cm.find(f=>c.startsWith(f.pattern));return d?[c,d.jy(c)]:null}).filter(c=>!!c).map(([c,d])=>`${d}=${encodeURIComponent(b[c])}`).join("&"))?`&aqp=${encodeURIComponent(a)}`:
""};var Xc;var Dm=class{constructor(){this.platform=OBR.g.K?"mobile":"desktop";this.L={};this.Ni=[]}remove(a,b=!1){const c=a.D(),d=this.Wb&&this.Wb.some(f=>f.includes(c));(a.Sr()||b||d)&&(a=document.querySelector(c?`.ob_sf_loader, .${c}.ob-chunks-loader`:".ob_sf_loader, .ob-chunks-loader"))&&a.parentNode!==null&&a.parentNode.removeChild(a)}Ue(a,b,c){b=Zc({Tg:b,fd:c});a.appendChild(b);this.Ni.push({fd:c,kq:b})}};OBR.hA||(OBR.hA=new Dm);var hd=OBR.hA;var Em=class{constructor(){this.rl=new am}},Fm=new Em;var Gm=class{constructor(){this.isEnabled=OBR.g.nx}mark(a,b,c){this.isEnabled&&a&&b&&(c?a.bA(`${b}-${c}`):b==="rendered"&&a.bA(b))}},nd=new Gm;var Ne=null,Me=!1;(a=>{let b,c;(b=a.cookieDeprecationLabel)==null||(c=b.getValue())==null||c.then(d=>{Ne=d;Me&&OBR.error({name:"obm-TPCDLLateResponse"})}).catch(d=>{OBR.error(d)})})(window.navigator);var Oe=null;
(a=>{try{let b;if((b=a.userAgentData)==null?0:b.getHighEntropyValues){let c;(c=a.userAgentData)==null||c.getHighEntropyValues(["architecture","bitness","fullVersionList","model","platformVersion"]).then(d=>{if(d){const e=d.architecture?`&cha=${encodeURIComponent(d.architecture)}`:"",h=d.bitness?`&chb=${encodeURIComponent(d.bitness)}`:"";var f;const l=((f=d.fullVersionList)==null?0:f.length)?`&chfv=${encodeURIComponent(JSON.stringify(d.fullVersionList))}`:"";f=d.model?`&chm=${encodeURIComponent(d.model)}`:"";
const m=d.platformVersion?`&chpv=${encodeURIComponent(d.platformVersion)}`:"",g=d.mobile?`&chrp=${encodeURIComponent(d.mobile)}`:"";d=d.platform?`&chp=${encodeURIComponent(d.platform)}`:"";Oe=[e,h,l,f,m,g,d].join("")}})}return Oe}catch(b){return OBR.error({name:"obm-highEntropyValue",message:b.message,stack:b.stack})}})(window.navigator);var Hm=class{isEnabled(a){var b;let c;if((c=(b=OBR.i).J)==null?0:c.call(b,"forceIiq",!1))return!0;b=["US","JP"];return OBR.g.PJ&&b.includes(a==null?void 0:a.toUpperCase())}},Im,Te=window.OBR?(Im=window.OBR).IntentIqCollector||(Im.IntentIqCollector=new Hm):new Hm;var Re=!1,Jm=a=>(a==null?void 0:a.length)>150?a.substring(0,150):a,Km=a=>{try{const b=a();return/\bNo\b|\b[Ee]ntry\b/.test(b)?void 0:Jm(b)||null}catch(b){}},Qe=()=>{var a=OBR.g.ed;let b,c,d;const f=(b=window)==null?void 0:(c=b.Utiq)==null?void 0:(d=c.API)==null?void 0:d.getIdGraphEntry;return f?{uk:Km(()=>f("mtid")),Xe:Km(()=>f("atid")),Sg:Km(()=>f("category"))}:a},Lm=a=>{OBR.g.ed=Object.assign({},OBR.g.ed,{uk:Jm(a.mtid),Xe:Jm(a.atid),Sg:Jm(a.category)})},Se=()=>{try{let a;(a=window).Utiq||(a.Utiq=
{});let b;(b=window.Utiq).queue||(b.queue=[]);window.Utiq.queue.push(()=>{window.Utiq.API.addEventListener("onIdsAvailable",Lm)})}catch(a){OBR.error({name:"obm-utiq",message:a.message,stack:a.stack})}};var wd=new Map;var Mm=OBR.g.Nf+"logger/v1/wea",Nm=class{constructor(a,b){this.PG=a;this.wL=b;this.buffer=[];this.Pp=!1}push(a){OBR.settings&&OBR.settings._pid&&a.pid!=null&&a.pid.toString()!==OBR.settings._pid||(this.buffer.push(a),this.Pp||Sd(this))}flush(){this.wL(this.buffer.splice(0,this.buffer.length))}},Om=class{constructor(){a:{try{if(D("widgetAnalytics")){var a=JSON.parse(OBR.settings.widgetAnalytics);break a}}catch(b){OBR.error({name:"WidgetAnalyticsError",message:"Could not parse widgetAnalytics setting"})}a=
void 0}(this.Hl=a)?(this.HM=this.Hl.rate||1E3,this.BE=this.Hl.bulk||500,this.C=this.Hl.events||[],this.buffer=new Nm(this.BE,b=>this.fire(b)),this.isEnabled=1===Math.floor(Math.random()*this.HM)+1):this.isEnabled=!1}add(a){this.buffer.push(a)}fire(a){OBR.qa.send(OBR.g.da.ob,Mm,{data:JSON.stringify(a)})}},Ud=new Om;var Yd=a=>({timestamp:Date.now(),name:a}),Pm=class{rendered(){}Hc(){}},Qm=class extends Pm{constructor(a){super();this.j=a;this.Ca=this.j.O();this.Kn={};Ka.forEach(b=>{var c=this.Kn;var d=Ud.isEnabled&&Ud.C.includes(b);return c[b]=d})}xb(a){const b=this.j.o("feedVersion",null)||0,c=this.j.o("readerPlatform",null);var d=this.j.rf();const f=Date.now()-OBR.g.startTime,e=this.Ca?this.Ca.l("feedLoadChunkSize",0):this.j.l("feedLoadChunkSize",0);d=d?d:this.j.D();var h=this.Ca?(h=this.Ca.rf())?h:this.Ca.D():
void 0;Ud.add({et:a,wid:h?h:d,pid:this.j.o("pid",null),d:f,p:c,fv:b,cz:e,ab:this.j.o("obRecsAbtestAndVars",null)})}rendered(){if(this.Kn.rendered){var a=this.j.o("feedVersion",null);a==="1"&&this.j.o("fCard",null)===null?this.xb("widget-sf-rendered"):a?a==="2"&&this.j.o("fCard",null)==="1"?this.xb("widget-sl-rendered"):a!=="2"||this.Ca||this.xb("widget-container-rendered"):this.xb("widget-rendered")}}Hc(){if(this.Kn.viewed){var a=this.j.o("feedVersion",null);a?a==="1"&&this.j.o("fCard",null)===null?
this.xb("widget-sf-viewed"):a==="2"&&this.Ca&&!this.Ca.C.Hc&&this.xb("widget-sl-viewed"):this.xb("widget-viewed")}}},Rm=class{constructor(a){this.j=a;this.rendered=this.Hc=!1;this.Ca=null;this.pj={rendered:!1,Ka:!1};this.Qa={};Td(this);window.addEventListener("obEventsChange",()=>Td(this));this.WA=Vd(this)?new Qm(this.j):new Pm}};var Ad,Cd,Ed,Fd,Gd,Hd,Id,Kd,Ld,Nd,ud,Sm,Tm;Ad=0;Cd=1;Ed=2;Fd=3;Gd=4;Hd=5;Id=6;Kd=7;Ld=8;Nd=9;ud=OBR.g.ma;
Sm=class{constructor(){this.An=new Set;this.Gu=this.Ta=null;this.SA=!1;if(this.Wf=ge(this))try{this.Ta=yd()}catch(a){OBR.error({name:"obm-cs",message:"init fail"})}}init(){try{if(this.Wf){var a=this.Ta;const b=new CSSStyleSheet;b.insertRule(`.OUTBRAIN {${a?"color-scheme: dark;":"color-scheme: light;"}}`);document.adoptedStyleSheets=[...document.adoptedStyleSheets,b];this.Gu=b;ie(this)}}catch(b){OBR.error({name:"obm-cs",message:"init fail"})}}refresh(){try{!this.SA&&(this.SA=!0,this.Wf=fe())&&(this.Ta=
yd(),this.init(),this.An.forEach(a=>a&&this.Wd(a)),this.An.clear(),ee(this.Ta))}catch(a){OBR.error({name:"obm-cs",message:"refresh fail"})}}get vn(){return this.Ta===null?"unknown":this.Ta?"dark":"light"}Wd(a){a&&(a.dataset.colorScheme=this.vn,a.addEventListener("obColorSchemeChanged",b=>{a.dataset.colorScheme=b.detail.colorScheme}))}};OBR._jsc.je=window.OBR?(Tm=window.OBR).colorSchemeController||(Tm.colorSchemeController=new Sm):new Sm;var Um=class{constructor(){this.cache=new Map;this.fc=OBR.g.ma;this.Pb=OBR.g.Pb}Xd(){this.cache.clear()}Ki(){return""}Ji(a){return Ue(a)}},Le=new Um;OBR.Aa=OBR.Aa||function(){var a={},b={},c;let d="";a.Qh=null;class f{constructor(){this.list=[]}add(e){e.Dp()?this.list.unshift(e):this.list.push(e)}contains(e){return this.list.indexOf(e)!==-1}remove(e){this.list.splice(e,1)}top(){return this.list.length>0?this.list.shift():null}Bj(){return this.list}ru(){this.list=[]}Cd(){return!this.list||!this.list.length}}b.init=function(e){c=e||OBR;a.Ec=new f;a.Ph=new c.Db;a.Af=!1;a.gQ=null;a.qv=!0;a.rv=!0;a.My=!1;a.QI()};a.QI=()=>{d=fg()};a.ER=function(){OBR.ib.Yk.then(()=>
{a.CA()});window.setTimeout(()=>{a.CA()},1E3)};a.NH=function(){if(a.Qh)return a.Qh;const e=OBR.g.Th?`&ogn=${OBR.g.Th}`:"",h=c.g.Fk&&c.g.Fk.length?"&osLang="+c.g.Fk:"";var l=c.fa.nb;l="&winW="+l.width+"&winH="+l.height;const m="&scrW="+c.g.jr.w+"&scrH="+c.g.jr.h,g=c.g.Rn?"&xp="+c.i.sa(c.g.Rn):"";a.Qh=`&version=${c.g.ver}&sig=${c.g.gs}&apv=${c.g.Kg}${OBR.g.qc&&dg()?`&opvid=${dg()}`:""}${c.g.Dy}${OBR.g.co?`&forceOcAd=${OBR.g.co}`:""}${c.g.Lu}${c.g.vx}${c.g.Gt}${c.g.Du}${g}${h}${l}${m}${"&dpr="+c.g.Gn}${c.g.Rw?
"&wrDebug=true":""}${c.g.QG?"&forceFeed=true":""}${c.g.za==="https://"?"&secured=true":""}${c.oa.tb?"&cmpStat=1":"&cmpStat=0"}${c.oa.Ib?"&ccpa="+c.oa.Ib:""}${c.oa.up?"&ccpaStat=1":"&ccpaStat=0"}${OBR.g.Rc?"&iframe=true":""}${OBR.g.Fd?`&lscntx=${OBR.g.Fd}`:""}${OBR.g.yr!==null?`&skipContextValidation=${OBR.g.yr}`:""}${OBR.g.bo!==null?`&forceContextValidation=${OBR.g.bo}`:""}${OBR.g.jl?`&skipRecsFilters=${OBR.g.jl}`:""}${OBR.g.rj?`&forceAd=${OBR.g.rj}&settingLevel=SOURCE`:""}${c.g.xk?"":"&wdr-natlaz=false"}${OBR.g.zr?
"&wdr-ads-data=true":""}${d}${OBR.g.tv?"&forceDemand=true":""}${OBR.g.Al?`&trace_name=${OBR.g.Al}`:""}${OBR.g.tq?`&ob_internal_id=${OBR.g.tq}`:""}${c.g.referrerEnc?`&ref=${c.g.referrerEnc}`:""}${e}`;return a.Qh};a.YF=function(e){var h=e.G(),l=e.ub(),m=c.i.W(OBR._jsc.A.Dm,null),g=c.i.W(OBR._jsc.A.Em,null),k=e.Dj(),n=k&&k.x!==null?`&px=${k.x}`:"";k=k&&k.y!==null?`&py=${k.y}`:"";var p=e.Nc();p=p!==null?`&vpd=${p}`:"";l=a.ZH(h,l);var r=a.zH(e);r=r?"&lastPvTs="+r:"";var u=c.g.xl===!0||e.Hj()===!0,t=
e.Ko()?"&videoId="+e.Ko():"",v=e.ew()?"&playerSrcId="+e.ew():"",w=a.sH(u),x=a.jb(e);const [C,z]=eg(e);var E=C&&z?`&${C}=${z}`:"";var G=a.vd(e),T=e.qx()===!0||c.g.vq?"&rtbEnabled=true":"",U=e.Fx()===!0?"&va=true":"",J=e.Ov()==1?"&et=true":"",R=c.g.Kb&&c.g.Kb[e.D()]?"&contextRule=false":"",P=e.Cj()!==null?"&num="+e.Cj():"",da=a.aI(e),ea=a.YH(e),fa=OBR.g.Hy?"&wdr-lr=1":"",ha=e.ac()?"&installationType="+e.ac():"",ia=e.$b()?"&app_ver="+e.$b():"",X="&widgetJSId="+(c.g.Kb&&c.g.Kb[e.D()]?c.g.Kb[e.D()]:e.D()),
ja=`&format=${e.Uv()}`;m=m?"&lsd="+c.i.sa(m):"";g=g?"&lsdt="+g:"";var ra=e.pf()?"&lang="+e.pf():"",sa=e.Fv()?"&app_id="+e.Fv():"";u=u?"&testMode=true":"";var Z=a.lH(e),wa=e.Qv()?"&fId="+e.Qv():"",ka=e.Co&&e.Co()?"&reasonType="+e.Co():"",Na=e.Eo&&e.Eo()?"&reasonValueId="+e.Eo():"",za=e.Do&&e.Do()?"&reasonValue="+e.Do():"",Ga=e.io&&e.io()?"&categoryIds="+c.i.sa(e.io()):"",Aa=e.Aj&&e.Aj()?"&iabCat="+e.Aj():"",Oa=e.ee()?"&feedVersion="+e.ee():"",Ha=e.td()?"&fAB="+e.td():"",Pa=e.sd()&&e.sd()!=""?"&settingLevel=TEMPLATE&"+
e.sd():"",aa=OBR.g.Wh!==null?`&pubInState=${OBR.g.Wh}`:"";const na=e.vj()?`&ccpa=${e.vj()}`:"";var oa=c.g.Iv();oa=oa?"&contxtKV="+c.i.sa(oa):"";e=e.me()?"&em=1":"";return`${Z}?${da}${ea}&idx=${h}&rand=${c.i.rand()}${ha}${ia}${r}${X}${U}${J}${ja}${T}${m}${g}${ra}${sa}${l}${R}${t}${v}${w}${x}${E}${G}${P}${u}${wa}${ka}${Na}${za}${Ga}${Aa}${Oa}${Ha}${n}${k}${p}${Pa}${aa}${na}${oa}${fa}${e}`};a.sH=function(e){let h="";e||((e=c.fraudDetection.vu||c.fraudDetection.lr)?h="&clss="+e:c.fraudDetection.al&&(h=
"&clid="+c.fraudDetection.al+"&fdu="+c.fraudDetection.lj));return h};b.bw=function(e){var h=a.YF(e);const l=a.NH(),m=Le.Ki(),g=Pe(e);e=Le.Ji(e);h=OBR.g.xo()+h+m+g+l+e;return(h==null?void 0:h.length)>=OBR.g.tk?(h=hg(h),(h==null?void 0:h.length)>=OBR.g.tk&&ig(h),h):h};b.Ev=function(e){const h=b.bw(e);e.ci(h);return h};a.jb=function(e){let h="";const l=c.i.ig(c.g.Pn);e=c.i.ig(e.jb());if(l||e)h="&extid="+encodeURIComponent(e||l);return h};a.vd=function(e){return(e=c.i.El(e.vd()||c.g.Ld))?`&pubImpId=${encodeURIComponent(e)}`:
""};a.aI=e=>{if(e.Gj())return`url=${OBR.i.sa(e.Gj())}`;const h=e.uc(),l=e.wc(),m=e.xc();return h?`bundleUrl=${c.i.sa(h)}`:m?`portalUrl=${c.i.sa(m)}`:l?`contentUrl=${c.i.sa(l)}`:"url="+c.i.sa(e.Da())};a.lH=e=>e.ub()&&!e.Gj()?"/Multivac/api/platforms":"/Multivac/api/get";a.YH=function(e){if(e.ub())return"";var h="&srcUrl=";e=e.kw();return h=e!==null&&typeof e==="string"&&e.length>0?h+c.i.sa(e):c.g.ml.length>0?h+c.g.ml:""};a.$I=function(e,h){const l=h.G(),m=h.D(),g=OBR.i.Va(0,e,!0);g.addEventListener("error",
()=>{h.GG();a.Ph.fire(`onOdbFail_${l}_${m}`,[h],!0);hd.remove(h);g.remove();a.Af=!1;b.fire()});Fm.rl.start();OBR._jsc.ac(OBR._jsc.Vc,g).to(document.head);a.YK(h);a.Ph.fire(`onOdbFire_${l}_${m}`,[h],!0);OBR.logger.log(`fire this src ${e}`)};a.YK=function(e){nd.mark(e,"mv","start")};a.yN=function(e){setTimeout(()=>{a.pz(e.G(),e.D())},1E4)};a.pz=function(e,h){c.i.wM("ob_odbCall_"+e+h)};a.iJ=function(){if(OBR.g.fk()||OBR.g.gk())return!0;var e=c.qb.eb!==null;if(a.qv)if(a.qv=!1,e)c.logger.log("AdBlock ODB detected immediately");
else{var h=new c.Zs;c.logger.log("AdBlock ODB start stopwatch");h.start();c.qb.Ok(function(){c.logger.log("AdBlock ODB detected after "+h.stop());b.fire()})}return e};a.IJ=function(){var e=OBR.fraudDetection.zv;if(a.rv&&(a.rv=!1,!e)){c.logger.log("FD start stopwatch");var h=new c.Zs;rk(c.fraudDetection,function(){c.logger.log("FD return after "+h.stop());b.fire()})}return e};b.wN=e=>{if(OBR.g.ma)try{Object.keys(e).forEach(h=>{e[h]!==null&&typeof e[h]!=="undefined"||delete e[h]}),e&&Object.keys(e).length&&
window.OBBridge.setBridgeParams(e)}catch(h){}};a.Bp=function(){return OBR.oa.Bp(()=>b.fire())};a.sJ=function(){if(!c.oa.wr||c.oa.Ib!==null)return!0;a.QE||(a.QE=setTimeout(function(){c.oa.Ib===null&&(c.i.W(OBR._jsc.A.yi,"")!==""?c.oa.Ib=c.i.W(OBR._jsc.A.yi,""):c.oa.wr=!1);b.fire()},300));return!1};b.fire=function(e){OBR.logger.log("odb fire");if(!(a.Af!==!0&&a.My!==!0&&a.iJ()&&a.Bp()&&a.sJ()&&a.IJ()))return!1;if(!e&&a.Ec.Cd())OBR.logger.log("odb fire - no pending widgets");else{a.Af=!0;if(e){var h=
a.Ec.Bj().indexOf(e);h>=0?a.Ec.remove(h):e=null}else(e=a.Ec.Bj().find(l=>l.ZJ()))&&a.Ec.remove(a.Ec.Bj().indexOf(e));return e?(c.logger.log("fire odb for "+e.Da()),h=b.Ev(e),a.$I(h,e),a.yN(e),a.CM(e),!0):a.Af=!1}};a.CM=e=>{try{var h=hd;h.Hf=$c();h.Wb=bd(h);const l=!!h.Hf,m=e.A(),g=e.D();l?cd(h,h.Hf,g,m):gd(h,g,m)}catch(l){OBR.logger.log("failed to parse Local Storage for skeleton")}};b.sR=function(e,h){a.Ph.add("onOdbFire_"+e.G()+"_"+e.D(),h)};b.rR=function(e,h){a.Ph.add("onOdbFail_"+e.G()+"_"+e.D(),
h)};b.unlock=function(e,h){a.Af=!1;a.pz(e,h)};a.CA=function(){a.My=!1;b.fire()};b.QM=function(e){e===!0&&(OBR.g.Kg=e)};b.cA=function(e,h){e&&(h?c.g.Rq=e:c.g.Kr=e,window.OBBridge&&!window.OBBridge.t&&(window.OBBridge.t=e))};b.mw=e=>e?c.g.Rq:c.g.Kr;a.ZH=(e,h)=>{if(window.OBBridge&&window.OBBridge.t&&e!==0)return`&t=${window.OBBridge.t}`;h=b.mw(h);return h===""||e===0?"":"&t="+h};a.zH=function(e){let h=null;if(e&&e.G()==0){const l=(new Date).getTime();e=c.i.sa(e.Da());const m=OBR._jsc.A.XB,g=c.i.W(m,
null);if(g)try{let k=JSON.parse(g);if(k&&e===k.url){let n=l-k.previousRequestTime;n<72E5&&(h=n)}}catch(k){OBR.logger("Error parsing last page view info")}c.i.Ea(m,JSON.stringify({url:e,previousRequestTime:l}))}return h};b.Fw=function(){c.g.Kg=!1};b.register=function(e){a.Ec.add(e);c.logger.log("register odb for "+e.Da());b.fire()};b.jK=e=>a.Ec.contains(e);b.cI=function(){return a.Ec};b.kQ=function(e){b.unlock(e.G(),e.D());b.fire()};b.aa=function(){OBR.logger.log("odb cleanup");a.Ec.ru();a.Ph.Ze();
a.Af=!1;a.Qh=null};b.bc=function(){a.jd=c;return a};b.init(OBR);return b}();var Vm;Vm=()=>{window.OB_VIDEO&&window.OB_VIDEO.reloadObVideo&&window.OB_VIDEO.reloadObVideo()};OBR._jsc.Wm=(...a)=>{window.OB_VIDEO.init(...a)};var Xm=1/3,Ym=a=>{const b=a.A();if(b){var c=OBR.i.H(b).querySelectorAll(".ob-dynamic-rec-link");if(c)return Array.from(c).map(d=>({ca:b,hM:d,bf:d.querySelector(".ob-grid-button-container"),title:d.querySelector(".ob-rec-text"),isRTL:a.Vc()})).filter(d=>!!d.bf)}},Zm=a=>a.bf.clientWidth/a.hM.clientWidth>Xm,$m=a=>{var b=window.getComputedStyle(a.bf),c=window.getComputedStyle(a.title);b=$l(b.margin);c=[b[0],b[1],b[2],$l(c.margin)[3]];if(a.isRTL){const [d,f,e,h]=c;c=[d,h,e,f]}a.title.style.margin=c.join(" ");
a.bf.setAttribute("style",`${"display:block;width:100%;"}margin:${c.join(" ")};width: calc(100% - ${parseInt(c[1])+parseInt(c[3])}px)`);a.bf.parentElement.appendChild(a.bf)};var an=[],bn=a=>{a=a.l("customFontLinks",null);try{const b=a?JSON.parse(a):[];if(Array.isArray(b))return b}catch(b){}return[]},cn=a=>{const b=document.createElement("link");b.href=a;b.rel="stylesheet";return b},dn=a=>{an.push(a)},en=a=>{const b=document.createDocumentFragment();a.forEach(c=>b.appendChild(c));document.head.appendChild(b)},fn=a=>{a=bn(a);const b=a.filter(c=>!(an.indexOf(c)>=0)).map(cn);a.forEach(dn);en(b)};var Wh=a=>a.Gp()?OBR.i.Bb(a.ud()):a.nw(),ui=(a,b)=>{if(!a||typeof a.O!=="function")return!1;a=a.O();return!!a&&a.D()===b},vi=a=>({getWidgetId:()=>a.D(),getWidgetIndex:()=>a.G(),getNode:()=>a.A(),getShadowRoot:()=>{const b=a.A();return b?b.shadowRoot:null}}),oi=a=>{const b=a.D();return(OBR.F||[]).filter(c=>ui(c,b)&&(typeof c.kb!=="function"||c.kb())).map(c=>vi(c))};var Ji=(a,b)=>{try{let c={};for(const d in a){const f=a[d].settingKey,e=a[d].param,h=a[d].type,l=Ve(a[d].defaultValue,c);try{const m=Xe(e,h),g=d!=="INTERNAL_SETTING"?b(f,l):void 0;c[d]=m!==void 0?m:g}catch(m){c[d]=l}}return c}catch(c){return Object.entries(a).reduce((d,[f,{defaultValue:e}])=>{d[f]=e;return d},{})}};var gn=class{constructor(){this.Jf=new Map}getState(a,b){this.Jf.has(a)||this.Jf.set(a,new Map);return(a=this.Jf.get(a))?a.get(b):void 0}},Ye=new gn;var hn=new OBR.Db,I={lf(a,b){hn.fire("afterRender",[b],!1,a)},Rf(a){OBR.controller.Rf(a)},$h(a){OBR.controller.$h(a)},createElement(a,b,c,d){return OBR.i.createElement(a,b,c,d)},ka(a){OBR.i.ka(a)},A(a){return OBR.i.A(a)},td(a){if(a=OBR.F[a])return a.o("abTestVal",null)},po(a){return(a=OBR.F[a])?a.o("layeredTestInfo",null):null},J(a,b){return OBR.i.J(a,b)},ih(a){if(a=OBR.F[a])return a.ih()},ha(a){return OBR.F[a]},Hi(a){return OBR.controller.Hi(a)},W(a){return OBR.i.W(a,null)},DQ(){return OBR.controller},
S(){return OBR.g},Sj(){return OBR.qb.Sj()==="true"},sp(){return OBR.qb.sp()==="true"},wq(a,b,c={}){const d=a&&a.getAttribute("id")?[a.getAttribute("id").substr(16)]:[];(new OBR.IntersectionObserver(Object.assign({element:a,callback:b,threshold:[0],unobserve:!0,callbackParams:d},c))).observe()},N(a,b){OBR.v.N(a,b)}};var df=a=>{const b=document.createElement("div");b.innerHTML=a;return b.firstChild},eh=(a,b=!1)=>{if(a=I.A(a))return b?OBR.i.H(a).querySelector(".ob-cards"):a.parentNode},jn=(a=!1,b,c)=>{const d=document.createDocumentFragment();c.forEach(f=>f&&d.appendChild(f));if(a=eh(b,a)){if(c&&c.length===1&&c[0].getAttribute("data-ob-lazy-render")&&(c=parseInt(c[0].getAttribute("data-card-idx")),c=a.querySelector(`[data-card-idx="${c+1}"]`))){OBR.i.insertBefore(d,c);return}a.appendChild(d)}},kn=(a,b,c)=>{let d=
!0;const f=b*1.1;c.forEach(e=>{e.style.opacity=0;a.appendChild(e);a.scrollHeight<=f?e.style.opacity=1:(d=!1,e.parentNode.removeChild(e))});return d},ln=(a=!1,b,c)=>{const d=document.createDocumentFragment();d.appendChild(c);(a=eh(b,a))&&a.appendChild(d)},dh=a=>{var b=a&&a.D();b=`.ob_sf_loader, ${b?`.${b}`:""}.ob-chunks-loader`;if(a&&(a=(a=(a=a.A())&&a.parentNode&&a.parentNode.querySelectorAll(b))&&Array.from(a))&&a.length&&a[0].parentNode!==null){for(b=0;b<a.length;b++){const c=a[b];c.parentNode.removeChild(c)}return}(b=
document.querySelector(b))&&b.parentNode!==null&&b.parentNode.removeChild(b)},mn=(a=0)=>{(a=I.ha(a))&&(a=a.A())&&a.style.removeProperty("visibility")};var cg={error(a){OBR.logger.log(`[ERROR] ${a}`)},log(a){OBR.logger.log(a)}};var on=class{constructor(a){nn||(nn=this);this.j=a;this.dataBI=new OBR.dataBI(this.j,b=>b.xB);this.Wi={};this.count=0;return nn}ld(a){a.event.fire(a.data)}},nn;var pn=class{constructor(){this.className="ob-smartfeed-adjoker";this.adInfo={};this.logger=cg}create({adInfo:a}){this.adInfo=a;this.pd=new on(I.ha(this.adInfo.fatherCardIdx));if(a.adType)switch(a.adType.toLowerCase()){case "gpt":return lf(this);case "dfp":return mf(this);case "adsense":a:{try{var b=this.adInfo.cardIdx,c=this.adInfo.adClient,d=this.adInfo.adSlot,f=I.createElement("div",`ad-unit-/${b}`,null,{"data-card-idx":b,"data-feed-father-idx":this.adInfo.fatherCardIdx}),e=I.createElement("script",
null,null,{src:"//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client="+c,async:"true"}),h=I.createElement("ins",null,"display:inline-block;width:100%;height:200px",{"class":`${this.className} adsbygoogle`,"data-ad-client":c,"data-ad-slot":d}),l=I.createElement("script",null,null,null);l.innerText="(adsbygoogle = window.adsbygoogle || []).push({})";f.appendChild(e);f.appendChild(h);f.appendChild(l);var m=f;break a}catch(k){this.logger.error(k)}m=void 0}return m;case "gptframe":case "pb":a:{a=
this.adInfo.cardIdx;m=this.adInfo.fatherCardIdx;b=this.adInfo.adId;c=this.adInfo.adPath;d=this.adInfo.adType;f=this.adInfo.adWidth;e=this.adInfo.adHeight;l=I.ha(m);h=l.o("abTestVal");l=l.o("pid");try{const k=`thirdPartyType=${d}&thirdPartyId=${b}&adPath=${c}&width=${f}&height=${e}&refferer=${window.location.host}&pubId=${l}&abTestVal=${h}&feedIdx=${m}`,n=I.createElement("div",null,"position: relative; height: 120vw; margin: auto; max-width: 640px; max-height: 499px; display: none",{"class":this.className,
"data-card-idx":a,"data-feed-father-idx":m}),p=I.createElement("iframe",null,"position: absolute; top: 0; left : 0; height: 100%; width: 100%; border: 0;",{src:`${OBR.g.za}widgets.outbrain.com/nanoWidget/externals/ob3rdPFrame/ob3rdPFrame.htm?${k}`});of(n);n.appendChild(p);var g=n;break a}catch(k){this.logger.error(k)}g=void 0}return g;default:return a?this.logger.error(`adJoker type is of unknown type: ${a.adType}`):this.logger.error(`adJoker information object is ${a}`),nf()}ff(`adJoker could not be created ${a}`);
return nf()}},tf=new pn;var qn=class{create({cardIdx:a,fatherCardIdx:b}){try{return I.createElement("div",null,null,{"class":"ob-smartfeed-joker","data-card-idx":a,"data-feed-father-idx":b,"data-joker-placeholder":""})}catch(c){return cg.error(`joker placeholder failed. error: ${c}`),df('<div class="ob-no-joker-card"></div>')}}},uf=new qn;var rn=class{create({cardIdx:a,fatherCardIdx:b,Ef:c}){a=I.createElement("div",null,null,{"class":"ob-smartfeed-joker","data-card-idx":a,"data-feed-father-idx":b});c=c.selector;b=document.querySelector(c);if(b!==null)return b.parentNode.removeChild(b),b.style.display="block",a.appendChild(b),a;cg.error(`joker failed - '${c}'`);return df('<div class="ob-no-joker-card"></div>')}},sn=new rn;var pf={joker:(a,b,c)=>{if(!a)cg.error(`JokerCard failed - '${a.selector}'`);else if(a&&a.selector){const d=document.querySelector(a.selector);d?d.style.display="none":cg.error(`JokerCard failed joker selector was not found on page - selector: '${a.selector}'`)}return sn.create({cardIdx:b,fatherCardIdx:c,Ef:a})},adJoker:(a,b,c)=>tf.create({adInfo:{cardIdx:b,fatherCardIdx:c,adType:a.adType,adId:a.adId,adWidth:a.adWidth,adHeight:a.adHeight,adPath:a.adPath,adData:a.adData,adClient:a.adClient,adSlot:a.adSlot,
adContainerWidth:a.adContainerWidth,adContainerHeight:a.adContainerHeight,adStyle:a.adStyle}}),placeholderJoker:(a,b,c)=>uf.create({cardIdx:b,fatherCardIdx:c})};var tn=class{create(a,b){try{const d=I.ha(b);a:{try{if(d){var c=d.l("passbackTagSize","300x250").split("x");break a}}catch(m){}c=[300,250]}const [f,e]=c,h=eh(b,!1),l=document.createElement("iframe");l.style.height=`${e}px`;l.style.width=`${f}px`;l.style.border="0";h.parentNode.insertBefore(l,h.nextSibling);h.style.display="none";window.addEventListener("message",function(m){(m==null?void 0:m.data)==="obPassbackEmptyEvent"?ae(d.C):(m==null?void 0:m.data)==="obPassbackAdEvent"&&be(d.C)});l.contentWindow.document.open();
l.contentWindow.document.write(`
      <style> body {margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline;}</style>
      <script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
      <div id="gpt-passback">
        <script>
          window.googletag = window.googletag || {cmd: []};
          googletag.cmd.push(function() {
              googletag.defineSlot('${a}', [${f}, ${e}], 'gpt-passback')
                .addService(googletag.pubads());
              googletag.enableServices();
              googletag.display('gpt-passback');
              googletag?.pubads()?.addEventListener('slotRenderEnded', (event) => {
                event.isEmpty ?
                  parent.postMessage('obPassbackEmptyEvent', "*") : parent.postMessage('obPassbackAdEvent', "*");                
              });
          });
        </script>
      </div>`);l.contentWindow.document.close()}catch(d){OBR.logger.log(d)}return df('<div class="passback-tag"></div>')}},vf=new tn;var un=a=>{const b=OBR.i.createElement("script",null,null,{type:"text/javascript"});b.appendChild(document.createTextNode(a));return b};var vn=class{load(a,b){this.dataBI=new OBR.dataBI(OBR.F[b.ya],e=>e.kd);this.Sb=b;const c=OBR.i.createElement("script",null,null,{src:"https://cdn.sided.co/embed-assets/load.min.js",defer:""});var d=this.vo();d=un(d);const f=this.mh();a.appendChild(d);a.appendChild(f);a.appendChild(c);this.dataBI.C.BC.fire({cardIdx:b.cardIdx})}vo(){return`window.sidedScriptPayload = window.sidedScriptPayload || {};
    window.sidedScriptPayload.categories = ${JSON.stringify(this.Sb.iab_categories?this.Sb.iab_categories.split(","):[])};`}mh(){return OBR.i.createElement("div",null,null,{"class":"sided-widget",clientId:"214",placementId:"548"})}},wn=new vn;var xn=class{load(a,b){this.dataBI=new OBR.dataBI(OBR.F[b.ya],d=>d.kd);const c=OBR.i.createElement("iframe",null,"height: 300px; width: 100%;border:none;",{src:`${"https://obclicksync.click/render/418ea6c350dccf4c659c284843a4e18f"}?data_id=5&data-id=cd181af19f35653b8fba815b6d5c38aa&publisher_id=${b.Tq}&site=${encodeURIComponent(window.location.href)}`,sandbox:"allow-scripts allow-same-origin allow-forms allow-popups"});c.onload=()=>{this.dataBI.C.mC.fire({cardIdx:b.cardIdx})};a.appendChild(c)}},yn=
new xn;var zn=class{load(a,b){this.dataBI=new OBR.dataBI(OBR.F[b.ya],e=>e.kd);this.state=b;var c=this.vo();c=un(c);const d=OBR.i.createElement("div",this.state.adId,"min-width: 300px; min-height: 250px;");var f=this.fj();f=un(f);if(!window.googletag){const e=this.Va();a.appendChild(e)}a.appendChild(c);d.appendChild(f);a.appendChild(d);this.dataBI.C.KB.fire({cardIdx:b.cardIdx})}Va(){return OBR.i.createElement("script",null,null,{src:"https://securepubads.g.doubleclick.net/tag/js/gpt.js"})}vo(){return`window.googletag = window.googletag || {cmd: []};
                googletag.cmd.push(function() {
                const slot = googletag.defineSlot("${this.state.adPath}", [300, 250], "${this.state.adId}").addService(googletag.pubads());
                googletag.pubads().collapseEmptyDivs();
                googletag.pubads().setTargeting('OB_PUB_ID', ['${this.state.gJ}']);
                googletag.pubads().setCentering(true);
                googletag.enableServices();
                googletag.pubads().refresh([slot], { changeCorrelator: false });
                });
        `}fj(){return` googletag.cmd.push(function() { googletag.display("${this.state.adId}"); });`}},An=new zn;var Bn=class{constructor(){this.url="https://widgets.jobbio.com/partner_fluid_widgets_v1.6.1/display.min.js"}load(a,b){this.dataBI=new OBR.dataBI(OBR.F[b.ya],d=>d.kd);this.Sb=b;b=this.Io(a);const c=this.mh();a.appendChild(b);a.appendChild(c)}Io(a){const b=OBR.i.createElement("script","jobbio-display-script",null,{src:this.url,defer:""});b.onload=()=>{const c=un("jobbio_display.widget({\n      slug: 'outbrain-jobs',\n      container: 'widget-display',\n      style: 'sidebar',\n      count: 5,\n      type: 'multiple',\n      content: 'jobs'\n    });");
a.appendChild(c);this.dataBI.C.fB.fire({cardIdx:this.Sb.cardIdx})};return b}mh(){return OBR.i.createElement("div","widget-display",null,{"class":"jobbioapp"})}},Cn=new Bn;var Dn=class{constructor(){this.url="https://wgt.podcastswaves.com/jamx.player.js"}load(a,b){this.dataBI=new OBR.dataBI(OBR.F[b.ya],h=>h.kd);this.Sb=b;var c=this.Sb.categories;let d=this.Sb.layout,f=this.Sb.subseller,e=this.Sb.Tq||"0";b=this.Io();c=this.createElement(c,d,e,f);a.appendChild(c);document.body.appendChild(b);this.dataBI.C.VB.fire({cardIdx:this.Sb.cardIdx})}Io(){return OBR.i.createElement("script",null,null,{src:this.url,defer:""})}createElement(a,b,c,d){var f,e;const h=qj((f=window)==
null?void 0:(e=f.location)==null?void 0:e.href);f=document.createElement("jamx-player");e=this.Sb.K;d=d?d:e?"3007":"3053";f.setAttribute("layout",b||"0");f.setAttribute("seller","5013");f.setAttribute("subseller",d);f.setAttribute("domain",h);f.setAttribute("show_fab","");f.setAttribute("hide_slogan","");f.setAttribute("pub_param",c);a&&f.setAttribute("category",a);return f}},En=new Dn;var Fn=class{load(a,b){this.dataBI=new OBR.dataBI(OBR.F[b.ya],f=>f.kd);this.Sb=b;const c=OBR.i.createElement("script",null,null,{src:"https://embed.direqt.ai/embed.js?pid=teads",type:"module"}),d=this.mh();a.appendChild(d);a.appendChild(c);this.dataBI.C.yB.fire({cardIdx:b.cardIdx})}mh(){return OBR.i.createElement("direqt-webchat",null,null)}},Gn=new Fn;var Hn=class{constructor(){this.rn=this.jx=!1}load(a,b){if(!this.jx){this.dataBI=new OBR.dataBI(OBR.F[b.ya],p=>p.kd);var c=b.bidFloor||b.bidfloor||.75,d=rf(),f=b.Tq,e=b.widgetId,h=`${b.requestId}_${Math.floor(Math.random()*1E3)}`,l=b.ya,m=b.cardIdx,g;b=((g=OBR.F[b.ya])==null?void 0:g.ih())||300;var k=document.createElement("iframe");k.style.width="0px";k.style.height="0px";k.style.border="none";k.style.margin="auto";k.style.display="block";var n=`
    <!DOCTYPE html>
    <html>
    <head>
      <script type="text/javascript">
        window['_mNHandle'] = window['_mNHandle'] || {};
        window['_mNHandle'].queue = window['_mNHandle'].queue || [];
        medianet_versionId = "3121199";
      </script>
      <script src="https://contextual.media.net/dmedianet.js?cid=8CU7EJMJ5" async="async"></script>
      <script>
         window.passBack = function (flag, url, auctionIdInput) {
         console.log('media net flag',flag);
         if(flag === true){
           window.parent['OBR']['extern']['sendBIEvent'](${l},'MEDIANET', { 'eventType':'AD_IMPRESSION','pubId': '${f}','widgetId': '${e}','bidFloor': '${c}', 'auctionId': '${h}', 'auctionIdInput': auctionIdInput });
         }else{
           window.parent['OBR']['extern']['sendBIEvent'](${l},'MEDIANET', { 'eventType':'NO_AD','pubId': '${f}','widgetId': '${e}','bidFloor': '${c}', 'auctionId': '${h}', 'auctionIdInput': auctionIdInput });
         }
         };
         </script>
    </head>
    <body>
      <div id="957963259">
        <script type="text/javascript">
          try {
            window['_mNHandle'].queue.push(function () {
              window['_mNDetails']['loadTag']("957963259", "${b}", "957963259", { 
                bidparams: [
                  "passBack",
                  "${c}",
                  "",
                  "${d}",
                  "${f}",
                  "${e}",
                  "${h}",
                  "${m}"
                ]
              });
            });
          } catch (error) {
            console.error('Media.net integration error:', error);
          }
        </script>
      </div>
    </body>
    </html>`;k.onload=()=>{if(!this.rn){var p=k.contentDocument||k.contentWindow.document;p.body&&p.body.children.length>0?this.rn=!0:(this.rn=!0,p.open(),p.write(n),p.close())}};k.addEventListener("load",()=>{sf(k)});a.appendChild(k);this.dataBI.C.Js.fire({eventType:"AD_REQUEST",pubId:`${f}`,widgetId:`${e}`,bidFloor:`${c}`,auctionId:`${h}`});this.jx=!0;return k}}},In=new Hn;var Jn=class{create(a){try{const b=a.cardIdx,c=a.ya,d=a.partner;this.state=a;this.od=OBR.i.createElement("div",null,null,{"class":"ob-smartfeed-joker","data-card-idx":b,"data-feed-father-idx":c,"data-joker-partner":"","data-partner":d});this.N(d);return this.od}catch(b){OBR.logger.log(b)}}N(a){switch(a){case "ongage":yn.load(this.od,this.state);break;case "sided":wn.load(this.od,this.state);break;case "gpt":An.load(this.od,this.state);break;case "amply":Cn.load(this.od,this.state);break;case "jamx":En.load(this.od,
this.state);break;case "direqtBot":Gn.load(this.od,this.state);break;case "mediaNet":In.load(this.od,this.state)}}},wf=new Jn;var yf=[],Kn=class{constructor(){this.OJ=!1}init(a,b){b=parseInt(b,10);this.hc=a.hc();a.Sr()&&a.Na()&&yf.push({feedIdx:b,isSkeleton:!0});this.Fh=this.Up()}Up(){const a=OBR.i.W("debug-widget-stats-sample",1E5)*1;return Math.floor(Math.random()*a)<1}Ho(a,b){const c={};if(!b&&!this.Fh)return{xb:c,Zu:{}};var d=a.A();b=window.getComputedStyle(d);var f=d.offsetWidth;d=d.offsetHeight;const {width:e,height:h,outerWidth:l,outerHeight:m}={width:f,height:d,outerWidth:f+parseInt(b.marginLeft,10)+parseInt(b.marginRight,
10),outerHeight:d+parseInt(b.marginTop,10)+parseInt(b.marginBottom,10)};f=window.OB_releaseVer;b=OBR.monitorData;d=OBR.env;c.name="obm-WidgetDimensions";c.version=f;c.env=d||1;a={widgetName:a.D(),widgetId:a.o("wnid",a.D()),screenWidth:window.innerWidth,screenHeight:window.innerHeight,width:e,height:h,outerWidth:l,outerHeight:m,platform:a.o("readerPlatform","desktop"),feedVersion:a.o("feedVersion")||"1"};c.url=location.href;c.agent=navigator.userAgent.toLowerCase();b&&(c.sId=b.sourceId,c.dId=b.docId,
c.pId=b.pubId);return{xb:c,Zu:a}}cg(a,b){try{if(this.OJ||this.init(a,b),this.hc){var c=zf(b),{xb:d,Zu:f}=this.Ho(a,c);if(this.Fh){const e=`${OBR.g.Jl}/WidgetErrorMonitor/api/report`;d.extra=JSON.stringify(f);OBR.qa.get(e,d)}c&&Cf(f,b)}}catch(e){OBR.error({name:"SetSkeletonError",message:"Could not set skeleton values",e})}}},Ug=new Kn;var Ln=class{constructor(){this.init()}init(){this.L={};this.kk=Promise.resolve();this.xe=null}nr(a,b){this.L[a].zG=b}ee(a){return this.L[a].zG}Da(){return this.xe}gl(a){this.xe=a}ei(a,b=Df(this)){this.L[b].Jq=a}ek(a=Df(this)){return this.L[a].ek}},K=new Ln;var bg=class{constructor(a,b,c,d){var f=I;this.R=f;this.j=f.ha(a);f=this.R.S().xo();this.Xf=this.j.ub()?`${f}/Multivac/api/platforms?`:`${f}/Multivac/api/get?`;this.ya=a;this.Cc=b;this.JK=c;this.xe=this.j.Da();this.Tn=d}Ki(){$f(this,Le.Ki());return this}Ji(){$f(this,Le.Ji(this.j));return this}};var jg=(a,b,c)=>{const d=parseInt(performance.now());nd.mark(a,"mv","start",!0);return new Promise((f,e)=>{const h=document.createElement("script");h.src=b;OBR.extern.returnedVacData=l=>{l.wD={widgetId:a.D(),ea:c,timestamp:d};const m=Fm.rl.stop().getTime();a.kN(m);f(l);OBR.i.Zh(h)};OBR._jsc.ac(OBR._jsc.Vc,h,OBR.extern.returnedVacData,()=>{e({name:"multivac",message:"multivac call failed"});OBR.i.Zh(h)}).to(document.body);Fm.rl.start()})};var Aj=class{constructor(a){this.response=a;this.Qi=a.cards.map(b=>{switch(b.cardType){case "widget":return new Mn(b);case "joker":return new Nn(b);case "adJoker":return new On(b);case "placeholderJoker":return new Pn(b);case "passback":return new Qn(b);case "partnerJoker":return new Rn(b);default:cg.error(`card type "${b.cardType}" is not supported`)}}).filter(b=>b!==void 0)}V(){const a=this.Qi.filter(b=>b.V().ra==="widget");return{ds:a,ya:this.response.feedIdx,ie:this.response.hasMore,Rg:this.Qi,
Ff:this.Qi[this.Qi.length-1],PE:[a[0],a[a.length-1]],Jq:this.response.nextFeedURL}}},Mn=class{constructor(a){this.P=a;this.timestamp=Date.now();this.Gf=!1;if((a=this.P.response)&&a.settings&&a.request){var b=I.ha(a.request.feedIdx),c=b&&b.o("llvtf",0);this.gy=b&&b.o("lrvtf",0);const f=!!b&&b.cw()!=="None";b=a.settings.recMode==="odb_dynamic_display";const e=a.settings.OnyxServingMode!=="non_onyx",h=a.settings.onyxLazyRenderViewportDistance,l=a.request.fCard==="1",m=a.settings.LazyRenderViewportDistance,
g=Number(this.gy);c=Number(c);this.Gf=(c=g>0&&(c<=0||g<c))||f&&e&&h>0&&b&&l;try{var d;let k;if(a==null?0:(d=a.data)==null?0:(k=d.display)==null?0:k.div_id)ng(this,a),og(this,a)}catch(k){OBR.error({name:"obm-teads-analytics",message:k.message})}this.Gf&&(this.$p=(d=c?Number(this.gy)*100:h||m)?{rootMargin:`${parseInt(d)}% 0px`}:null);if(d=b){let k,n;d=(a==null?void 0:(k=a.data)==null?void 0:(n=k.display)==null?void 0:n.om)||OBR.i.J("forceOM","")===a.request.fCard}d&&(OBR.g.RO=!0)}}ne(){return this.Gf}hk(a){var b=
(b=this.P.response.settings&&this.P.response.settings.skipCardRenderIfTimePassed)?b*60*1E3:0;return b===0?!1:a-this.timestamp>b}Np(a){try{if(!this.ne())return!1;const b=mg(this),c=[1106135929,1106135877];if(!b||!c.includes(b))return!1;const d=lg(this);if(d===-1)return!1;const f=a-OBR.g.qk<d&&a-OBR.g.qk>1,e=Math.abs(window.scrollY-OBR.g.JM)>10;if(f&&e){const h=new OBR.dataBI(null,k=>k.nC);let l,m;const g=(l=this.P)==null?void 0:(m=l.response)==null?void 0:m.request;g&&h.C.oC.fire({requestId:g.req_id,
pvId:g.pvId,sectionId:g.sid,widgetJsId:g.widgetJsId,widgetId:`${g.wnid}`,subWidgetJsId:`${g.wnid}`,cardIdx:g.fCard,docId:`${g.did}`,uuid:g.lsd,platform:g.readerPlatform,deviceOs:"",layeredTest:g.layeredTestInfo,settingSkipCardRenderBeforeTime:d,actualUserTime:a-OBR.g.qk,rtbdid:b})}return f&&e}catch(b){return OBR.error({name:"obm-SkipCardRenderBeforeTimeError",message:b.message}),!1}}V(){return{ra:this.P.cardType,WL:this.P,html:this.P.response.html,wa:this.P.response.request.widgetJsId,ea:this.P.response.request.idx,
cardIdx:this.P.response.request.fCard,ne:this.Gf,$p:this.$p,hk:a=>this.hk(a),Np:a=>this.Np(a),Ut:this.P.response.settings&&this.P.response.settings.intersectionObserverTriggerMargin}}},Pn=class{constructor(a){this.P=a}V(){return{ra:this.P.cardType,Ef:this.P.response,cardIdx:this.P.fCard,callback:this.P.response.callback}}},Qn=class{constructor(a){this.P=a}V(){return{ra:this.P.cardType,HL:this.P.passbackCode}}},Nn=class{constructor(a){this.P=a}V(){return{ra:this.P.cardType,Ef:this.P.response,cardIdx:this.P.fCard}}},
Rn=class{constructor(a){this.P=a}V(){return{ra:this.P.cardType,Ef:this.P.response,cardIdx:this.P.fCard}}},On=class{constructor(a){this.P=a}V(){return{ra:this.P.cardType,adId:this.P.response.adId,adWidth:this.P.response.adWidth,adHeight:this.P.response.adHeight,adPath:this.P.response.adPath,adData:this.P.response.adData,adClient:this.P.response.adClient,adSlot:this.P.response.adSlot,adType:this.P.response.adType,adContainerWidth:this.P.response.adContainerWidth,adContainerHeight:this.P.response.adContainerHeight,
cardIdx:this.P.fCard,adStyle:this.P.response.adStyle}}};var Sn=class{constructor(a,b){this.ya=a;this.SJ=b;this.Wb=bd(hd);this.re=$c();this.nn=K.L[a].jf;this.we=I.ha(a)}},Tn=(a,b=!1)=>tg(new Sn(a,b));var Un=class{constructor(){this.Et=ug();this.Vm=!1;this.Ir=this.Fi=this.Ei=this.zg=this.mc=this.Ve=null;this.Yi=[];this.hj=!1;const a=()=>{let b;return window.teads.pubsub.publish("teads-outbrain-sync-before-ad-pong",{bs:(b=this.mc)!=null?b:"N/A"})};xg(this,"teads-outbrain-sync-before-ad-ping")?a():window.teads.pubsub.subscribe("teads-outbrain-sync-before-ad-ping",a)}Xd(){clearTimeout(this.Ve);this.Ir=this.Ei=this.Fi=this.zg=this.mc=this.Ve=null;this.Yi=[];this.hj=!1}},N,Vn;
N=window.OBR?(Vn=window.OBR).ConnectedAds||(Vn.ConnectedAds=new Un):new Un;var Wn=class{init(a){if(a&&a.O()){this.ca=a.A();this.ui=a.O().A().parentElement;const b=a.l("cardMargin",0);this.ca.style.cssText=`margin:${b}`;if(this.ui&&this.ui.classList.contains("ob-smartfeed-wrapper"))try{OBR.i.Ba(this.ui.firstChild,"ob-parent-feed"),this.ui.insertBefore(this.ca,this.ui.firstChild),OBR.i.Oa(this.ca,"ob-onload"),a.Gx()?Ig(a):Jg(a)}catch(c){OBR.error({name:"obm-OnyxATF",message:c.message,stack:c.stack})}}}};var Pg=new Set,Mg=a=>{try{return performance.getEntries().find(b=>{let c,d,f,e;return(b==null?void 0:(c=b.name)==null?void 0:(d=c.includes)==null?void 0:d.call(c,"mv.outbrain"))&&(b==null?void 0:(f=b.name)==null?void 0:(e=f.includes)==null?void 0:e.call(f,`widgetJSId=${a}`))})}catch(b){}},Ng=()=>{try{const [a]=performance.getEntriesByName("mv-start","mark"),[b]=performance.getEntriesByName("mv-sent","mark");if(!a||!b)return"";performance.clearMarks("mv-start");performance.clearMarks("mv-sent");return`${((b.startTime-
a.startTime)/1E3).toFixed(2)}`}catch(a){return""}};var Xn=class{constructor(){this.xp=!0;this.bp=[];this.Kk=[];this.Bh=!0}ei(a){const b=a.G();(a.uc()||a.wc()||a.xc())&&(a=a.X("nextFeedUrl"))&&K.ei(a,b)}LK(a,b,c){const d=performance.now();let f,e;(f=performance)==null||(e=f.mark)==null||e.call(f,"mv-start");Tg(this,a);let h,l;(h=performance)==null||(l=h.mark)==null||l.call(h,"mv-sent");a:{if(c!=null&&c.rootBounds)try{var m=Math.floor((c.boundingClientRect.top-window.innerHeight)/window.innerHeight*100)/100;break a}catch(k){}m=void 0}const g=m;b&&typeof b.then===
"function"&&b.then(k=>k(d,g))}Oo(a,b){if(a&&a.feedIdx&&a.streamCardId&&a.consumerIdx){var c=a.feedIdx;delete a.feedIdx;var d,f=(d=Of(c))==null?void 0:d.Cc;OBR.controller.Xt(c);d=K.kk.then(()=>kg(c,f,bh(c),a));Gf(d);d.then(e=>{this.ue(e)}).catch(e=>{ch(this,e,c);b&&typeof b==="function"&&b()})}else OBR.error(`gnrFetchNextStream was triggered with missing data: ${JSON.stringify(a||{})}`)}Rv(a,b){a={Tg:Tn(a),fd:b};a:{b=hd;try{if(!a.Tg){var c=Zc();break a}b.Hf=$c();c=b.Hf?Zc(a):jd(b,a);break a}catch(d){c=
Zc(a);break a}c=void 0}return c}ue(a){if(a&&a.cards){var b=(new Aj(a)).V(),c=b.Rg,d=b.ya,f=b.PE,e=b.Jq;if(K.L[d]){var {ds:h,Ff:l}=b,[m,g,k]=[I.ha(d),!Sf(K,"feedManualChunkFetch",d),Sf(K,"feedLayout",d)],n=JSON.parse(b.ie);if(m&&(m.Rz(c.length),nd.mark(m,"mv","end",!0),!hh(this,m,h,a)&&(dh(m),this.Bh=!1,mn(d),e&&K.ei(e,d),c&&c.length!==0?a=!1:(n&&xh(this,d),a=!0),!a))){var p=jh(c),r=jh(h),u=(w,x)=>{w=this.qo(w);if(!w||!w.length)return[];var C=kh(this,w,d),z=x,E=l;x=n;const [G,T,U]=[K.ee(d)==="2",m.Sv(),
Sf(K,"feedLayout",d)];var J,R,P=w==null?void 0:(J=w[0])==null?void 0:(R=J.ne)==null?void 0:R.call(J);if(G&&T&&!P){J=z;R=E;E=m.Sv();z=J;P=C;const da=E*1.1,ea=eh(d,Sf(K,"feedLayout",d));let fa=null;I.ka(`.ob-feed-${d}-max-height {max-height: ${da}px; overflow: hidden;} .ob-feed-${d}-max-height .ob-grid-layout .ob-widget-items-container {display:grid;}`);OBR.i.Ba(ea,`ob-feed-${d}-max-height`);kn(ea,E,P)||(fa={ds:Ch(z,P),ie:!1,OE:Dh(P)});OBR.i.Oa(ea,`ob-feed-${d}-max-height`);if(E=fa){J=E.ds;let ha;R=
(ha=J.slice(-1)[0])!=null?ha:R;x=E.ie;C=E.OE}[z,E,x,C]=[J,R,x,C]}else jn(U,d,C);[x,l,n,C]=[z,E,x,C];lh(C);nh(x,d,m.rH());this.oc(w,x,d);return C},t=p.length>0&&c.length===0,v=()=>{g&&n&&oh(this,d,f)};rh(m,p,()=>{u(p,r);t&&v()});a=u(c,h);ih(m,a,d,n);Jf(n,d,l.V());sh(this,m);t||v();th(this,d,c);Pf(K,d)&&Qf(K,!1,d);vh(k,d,h,n,p.length);return{ya:d,Ff:l}}}else dh(),this.Bh=!1}}oc(a,b,c){yh(b).map(d=>{var f=I.A(d.V().ea);var e=d.V().wa;d=I.ha(d.V().ea);if(f&&!f.shadowRoot){var h=e.includes("REEL");e=f.querySelector(".ob-widget");
h&&(h=document.createElement("div"),h.appendChild(e),e=h);e&&f.attachShadow&&(h=d.xj(),d=d.kh(),OBR.i.attachShadow(f,e,{mode:"open"},h,d));f=e}else f=void 0;return f});OBR._jsc.ke()&&yh(b).map(d=>{if(d=I.A(d.V().ea)){let f;const e=(f=OBR.i.H(d))==null?void 0:f.querySelector(".ob-widget");OBR._jsc.je.Wd(d);e&&OBR._jsc.je.Wd(e)}});this.lf(b);zh(a,c)}lf(a){a.map(b=>{b=b.V().ea;return I.ha(b)}).filter(b=>!b.zf()).forEach(b=>{I.lf(b,b.G())})}wq(a,b){const c=Of(a).Cc,d=Ah(b,a),f=I.A(b.ea);Yg(f,"yellow");
I.wq(f,()=>{Xg(this,a,c,f)},{rootMargin:`${d}px 0px`})}qo(a){a=wh(a);return Bh(this,a)}jj(a=Df(K)){if(I.ha(a)){Wg(a,I.ha(a));if(Sf(K,"feedManualChunkFetch",a))return fh(this,a),!0;ff("externalChunkLoad called but feed is not set for external chunk fetching");return!1}ff(`externalChunkLoad called but feedIdx=${a} not found`);return!1}aa(){K.init();N.Xd();this.xp=!0}},Yn=new Xn;var Zn=class{constructor(a){this.Kf=[];this.du=this.check.bind(this);this.du();this.callback=a}observe(a){this.Kf.some(b=>b.ia===a)||this.Kf.push({ia:a,size:{height:a.clientHeight,width:a.clientWidth}})}unobserve(a){this.Kf=this.Kf.filter(b=>b.ia!==a)}disconnect(){this.Kf=[]}check(){const a=this.Kf.filter(b=>{const c=b.ia.clientHeight,d=b.ia.clientWidth;if(b.size.height!==c||b.size.width!==d)return b.size.height=c,b.size.width=d,!0}).map(b=>b.ia);a.length>0&&this.callback(a);window.requestAnimationFrame(this.du)}};var $n=!!window.ResizeObserver,ao=class extends Xn{ue(a){var b=new Aj(a);const {Rg:c,ya:d}=b.V();var f=I.ha(d);f.Rz(c.length);nd.mark(f,"mv","end",!0);dh(f);mn(d);b=JSON.parse(b.V().ie);if(c&&c.length!==0){var e=!Sf(K,"feedManualChunkFetch",d),h=f.l("sideElementFeedLimiter",null),l=f.l("sideElementLimiterOffset",0),m=f.l("SideElementFeedLimiterFlow",null);h=document.querySelector(h);var g=kh(this,c,d);l=this.qo(h,d,g,m,l);Eh(c,f);m=Fh(c,l);lh(l);nh(m,d);this.oc(c,m,d);l.length<g.length?(m&&m.length&&
(f=m[m.length-1],Jf(b,d,f.V())),a.cards=a.cards.slice(l?l.length:0),a&&a.cards&&Kf(d,a),!b||K.ek(d)||Wf(K,d)||(this.Lf(h,d),Vf(K,!0,d))):m&&m.length&&(f=m[m.length-1],a=[m[0],f],Jf(b,d,f.V()),e&&b&&oh(this,d,a));Pf(K,d)&&Qf(K,!1,d)}else b&&xh(this,d)}qo(a,b,c,d,f){const e=[];if(a===null)return c;const h=Sf(K,"feedLayout",b);for(let m of c){ln(h,b,m);c=a;var l=d;const g=I.A(b).parentNode,k=c.getBoundingClientRect(),n=g.getBoundingClientRect();if((l&&l==="copy-article-height"?c.clientHeight-g.clientHeight:
k.bottom-n.bottom)<f*-1){m.parentNode.removeChild(m);break}e.push(m)}return e}Lf(a,b){try{const c=a.offsetHeight,d=OBR.ef(e=>{Xf(K,b);for(let l of e)if((l.offsetHeight||l.contentRect.height)>c*1.1){f.unobserve(a);e=b;var h=K;h=e?h.L[e].Ky:void 0;h?this.ue(h):Xg(this,e,Lf(e),null)}},500),f=$n?new window.ResizeObserver(d):new Zn(d);f.observe(a)}catch(c){OBR.logger.log(c)}}Rv(a,b){a={Tg:Tn(a,!0),fd:b};return Zc(a)}},bo=new ao;var co=class{init(a){const b=a.we.l("sideElementFeedLimiter",null);b&&document.querySelector(b)?Vg(bo,a):Vg(Yn,a)}jj(a){return Yn.jj(a)}Sk(a,b){return ah(Yn,a,b)}aa(){Yn.aa();bo.aa()}Oo(a,b){Yn.Oo(a,b)}},si=new co;var eo;eo=class{constructor(){this.ready=!1;this.$g={};this.Py={};if(OBR.g.Pb){this.ready=!0;this.Ig();const a=Yl(window);let b;this.Py={qE:a("appBundle",""),KM:a("sdkVersion",""),hg:a("userId",null),KL:((b=OBR.g.vg)==null?void 0:b.get("placementType"))||"inline"}}}Ig(){window.addEventListener("obBridgeExposureChanged",a=>{this.$g.obBridgeExposureChanged&&this.$g.obBridgeExposureChanged.forEach(b=>b(a))})}};OBR._jsc.fo=new eo;var go;
go=class{constructor(){this.xz=[];this.yz=[];this.Ac=!1;this.Hq=0;this.Dk=this.Dk.bind(this);this.qJ=kb(lb,Ml)}getPercentageInView(){return Math.round(this.Hq*100)}isInView(){return this.Ac}onceInView(){return this.Ac?Promise.resolve():new Promise(a=>{this.xz.push(a)})}onceOutOfView(){return this.Ac?new Promise(a=>{this.yz.push(a)}):Promise.resolve()}observe(a,b){this.target=a;this.threshold=b;window.removeEventListener("obBridgeExposureChanged",this.Dk);window.addEventListener("obBridgeExposureChanged",this.Dk)}Dk(a){let b,
c,d;this.Hq=this.qJ?(d=a==null?void 0:(b=a.detail)==null?void 0:(c=b.calculateRatio)==null?void 0:c.call(b,this.target))!=null?d:0:Oj(OBR.fa,this.target);a=(this.Ac=this.Hq>=this.threshold)?this.xz:this.yz;a.forEach(f=>f());a.length=0}};OBR._jsc.Uh=new go;var xi={},Ai=(a,b)=>new Promise(c=>{OBR.v.N(b,()=>c(a),a,null,null,()=>{OBR.error({name:"obm-GNR",message:`Module name: ${b}, Could not load`,stack:""})})}),Bi=class{constructor(a,b){this.j=a;this.kb=!1;const c=a.l("zetaSinglePlayer",!1)||km();this.te=b;b=`${"gnr_"}${c?"zeta_single_player":this.te}`;this.dataBI=new OBR.dataBI(a,b);this.ae={Y:b}}Ag(){this.xn=[];this.Xr=Array.from(this.la.querySelectorAll("[data-pos]")).map(a=>a.getAttribute("data-pos"));OBR.Ka.nc(this.j,{sk:!0,zq:(...a)=>ri(this,...a)})}Ue(){var a=
this.j.A();if(a){ti(this,"beforeRender");OBR.controller.zM(this.la,this.j);this.kb=!0;if(this.j.Tc()&&this.la&&a&&a.attachShadow){var b=this.j.xj();const d=this.j.kh();OBR.i.attachShadow(a,this.la,{mode:"open"},b,d)}b=OBR._jsc.ke();if(a&&b){var c;(a=(c=OBR.i.H(a))==null?void 0:c.querySelector(".ob-widget"))&&OBR._jsc.je.Wd(a)}ti(this,"afterRender");yi(this)}else OBR.error({name:"obm-gnr",message:`Container not found for widget idx ${this.j.G()}`})}},ho=class{constructor(){this.Sf={};this.Xc={};
this.$m={}}init(a,b,c=!1){try{if(b==="injex"){var d=b;b=a.l("genericCardType",null);if(!b){OBR.error({name:"obm-GNR",message:`Error in module: ${d||"injex"}, Err: Module could not init - genericCardType not set`,stack:""});return}}b==="zeta"&&(d=b,b=this.ow(b,a));if(this.Xc[b]&&this.Xc[b].loaded){const f=this.Xc[b].options;if((f==null?0:f.allowMultipleInstances)||!c){if(a.Wv()){c=f;d=b;const e=new Bi(a,d),h=qi(e,c.version);Ci(h,c);const l=c.statistics;a.dl(e);a.Uz(l==="manual");const m=OBR.F[a.Wv()];
if(m){if(a.Ha()){const g=Ii(a);OBR.i.H(m.A()).querySelector(".ob-widget-items-container").appendChild(g);ti(m.zj(),"streamAdded",h)}else ti(m.zj(),"streamEmpty",h);OBR.display.lf(a,a.G());OBR.controller.Rf(a);this.kb=!0}else OBR.error({name:"obm-GNRStreamError",message:`Module name: ${d}, Stream consumer card not found`});return}Di(a,f,b);return}}this.Sf[b]||this.N(a,b,c,d);this.Xc[b].Gq.push(a)}catch(f){OBR.error({name:"obm-GNR",message:`Error in module: ${b}, Err: Module could not init`,stack:f.stack})}}ow(a,
b){b=b.l("zetaSinglePlayer",!1)||km();return a==="zeta"&&b?"single-player":a}N(a,b,c,d){OBR.v.bz(b,c?"gnr_feature":"gnr_module",d);this.Xc[b]={loaded:!1,options:null,Gq:[]};this.Sf[b]=Ai(a,b)}},zi=new ho;var Ri=[.7,.9,1.2,2],io=class{constructor(){this.Fh=this.Up();this.KA=[];OBR.g.jO&&(Li(this),Mi(this));OBR.g.iO&&this.hp()}init(){this.rp=OBR.g.qc||!!window["debug-amp"];this.Xj=this.j.hc();this.thresholds=Si(this);this.Xj&&this.rp&&Ti(this)}hp(){this.Yc={total:0};this.JL=new PerformanceObserver(a=>{a.getEntries().forEach(b=>{const c=b.transferSize;b=b.initiatorType;this.Yc[b]||(this.Yc[b]=0);this.Yc[b]+=c;this.Yc.total+=c;Qi(this,this.Yc.total)})});try{this.JL.observe({entryTypes:["resource"]})}catch(a){}}getError(a){const b=
{},c={},d=this.thresholds.filter(r=>!!r.rd).map(r=>r.percent*100),f=this.KA,e=Oi(this).join(","),h=Ui(a.body.message),l=this.j.o("pvId",null),m=Pi(this),g=window.OB_releaseVer,k=OBR.g.Zx,n=OBR.monitorData,p=OBR.env;a={sampleRate:100,thresholds:d,videoEvents:f,crashReason:h,log:e,amp:this.rp,con:this.Xj,reportType:a.type,reportUrl:a.url,reportId:a.body.id};this.Yc&&(a.performance=this.Yc);OBR.F&&(a.widgets=m);b.name="obm-InterventionHeavyAds";b.version=g;b.message=h;b.env=p||1;b.stack=JSON.stringify(a);
b.url=k||location.href;b.agent=navigator.userAgent.toLowerCase();n&&(b.sId=n.sourceId,b.dId=n.docId,b.pId=n.pubId);Object.assign(c,a,{pvid:l});return{HK:b,jI:c}}Up(){const a=OBR.i.W("debug-intervention-sample",100)*1;return Math.floor(Math.random()*a)<1}yq(a,b){this.KA.push({event:a,props:b});Ni(this,1)}cg(a){this.j=a;this.Ne=new OBR.dataBI(this.j,b=>b.NB);this.init()}};var jo,ko,Zi;
jo=class{constructor(){this.Wc={};this.Lh=[];this.xh=this.cr=!1;this.Mr=0;this.kM=OBR.ef(this.jM,100)}hp(){this.wb=new PerformanceObserver(a=>{for(const b of a.getEntries())this.Lh.push(b)});this.wb.observe({type:"layout-shift",buffered:!1})}jM(a){const b=a.O()||a;b&&(a=this.Wc[b.D()],typeof a==="undefined"?OBR.error({name:"webVitalsMonitorWidgetsRenderError",message:`this.layoutShifts allocation failed for ${b.D()}`}):(a.zh||this.Lh.length||(this.Wc[b.D()].Vb=0),this.Lh.forEach(c=>{const d=c.value;
a:{c=c.sources;const m=b.A();try{var f=JSON.parse(b.l("webVitalsMonitorSelectors","[]"));var e;if(e=f.length){b:{for(const g of c){const k=g.node;for(const n of f){const p=n.selector,r=n.relative||!1;let u;switch(n.type||"css"){case "css":u=document.querySelector(p);break;case "xpath":u=document.evaluate(p,r?m:document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}if(u===k){var h=p;break b}}}h=!1}e=!h}if(e){var l=!1;break a}}catch(g){OBR.error({name:"webVitalsMonitorSelectorsError",
message:`Could not parse selectors for: ${b.D()}`})}l=!0}l&&(this.Wc[b.D()].Vb+=d)}),this.cr=!1,this.Lh=[]))}};ko=class{constructor(){this.Mp=this.Cz=!1;this.bK="PerformanceObserver"in window&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.indexOf("layout-shift")!==-1}hc(a){typeof this.Pw==="undefined"&&(this.Pw=OBR.i.W("debug-webvitals-gdpr-compliant",a.hc()));return this.Pw}};Zi=new ko;OBR._jsc.Xi=new jo;var lo=class{constructor(){this.Zp=[];this.TA=!1;this.Yp=null}reset(){this.Zp.splice(0).forEach(a=>a.unobserve())}Ed(a){return OBR.g.Ed&&a.G()>0}Oj(a){OBR.g.Ed=!0;this.Yp=aj(a);(a=OBR.Aa.cI())&&a.list&&a.list.forEach(b=>{if(!b.Dd()){var c=b.A();c&&bj(this,c,b)}})}fp(a){if(!(!a||a.Dd&&a.Dd())){this.zb();this.Yp=aj();var b=a.A();b&&bj(this,b,a)}}zb(){try{const a=D("enableDebuggingReports")&&OBR.settings.enableDebuggingReports>0;!this.TA&&a&&(this.TA=!0,OBR.qa.get(`${OBR.g.Jl}/WidgetErrorMonitor/api/report`,
{name:"wlz-pvWidgetLazyLoad",level:"INFO",version:window.OB_releaseVer,env:OBR.env||1,url:location.href,agent:navigator.userAgent.toLowerCase()}))}catch(a){}}},cj=new lo;var mo=class{zb(a){if(a&&a.A())try{const b=OBR.i.H(a.A()).querySelector("img.ob-rec-image");b&&(new Promise(c=>b.addEventListener("load",()=>c(b)))).then(c=>{var d=c.naturalWidth*c.naturalHeight/(c.offsetWidth*c.offsetHeight);if(d>2&&OBR.i.Ej(5E3)===1){const f={},e={};f.name="obm-ImagesDiffReport";f.imgSrc=c.src;f.url=window.location.href;e.originalWidth=c.naturalWidth;e.renderedWidth=c.offsetWidth;e.originalHeight=c.naturalHeight;e.renderedHeight=c.offsetHeight;e.wId=a.D();e.diff=d;e.clientDpr=OBR.g.Gn;
a.O()&&(e.widgetFatherId=a.O().D());OBR.monitorData&&(f.pId=OBR.monitorData.pubId);d=(d=a.o("abTestVal",null))&&d!=="no_abtest"?OBR.i.Hk(d):null;e.abTestVariantId=d&&d.Gl||"no_abtest";e.abTestId=d&&d.ul||"no_abtest";if(c=ej(c.src))e.urlImgDataCropStrategy=c.cs,e.urlImgDataDpr=c.d,e.urlImgDataFormat=c.f,e.urlImgDataHeight=c.h,e.urlImgDataWidth=c.w,e.urlImgDataImageUUID=c.iu;f.extra=JSON.stringify(e);OBR.qa.get(OBR.g.ZA,f)}}).catch(c=>{OBR.error({name:"obm-ImageCompareMonitoring",message:`error ${c.name} while trying sent report for images size diff`})})}catch(b){OBR.error({name:"obm-ImageCompareMonitoring",
message:`error ${b.name} while trying sent report for images size diff - no image was found`})}}},no=new mo;var oo;
OBR._jsc.po=class{constructor(a,b){this.j=a||new OBR.Jm(-1);this.settings=b instanceof Function?b(Q):b;this.qd=this.settings.Y||this.settings;this.gG=OBR.g.Nf+"logger/v1/widget/";this.sessionId=this.j.o("req_id",-1)+(new Date).getTime();this.isActive=!0;this.Zt=new oo(this.qd);this.ep()}ep(){const a=Object.values(this.GD).find(b=>b.Y==this.qd);a&&a.M&&(this.C=Object.keys(a.M).reduce((b,c)=>{b[c]={fire:this.fire.bind(this,a.M[c])};return b},{}))}event(a){return a(this.C)}fire(a,b,c){b=b||{};c=Object.assign({method:OBR.g.da.La},
c||{});if(this.isActive&&typeof b!=="undefined"&&typeof c!=="undefined"){var d=c.callback?c.callback:function(){};b=b?b:{};c.LIMIT&&this.Zt.get(a)>=c.LIMIT||(gj(this.Zt,a),a=this.Ii(a,b,c),OBR.qa.send(c.method,this.gG,a,d,!0,null,null,!0))}}Ii(a,b,c){const d={};var f=this.j.O(),e=!!f,h=!this.j.Na()&&e;e=this.j.hh();const l=h?f.o("wnid",""):this.j.o("wnid",""),m=h||this.j.Na()?this.j.o("wnid",""):null;f=h?f.o("widgetJsId",""):this.j.o("widgetJsId","");h=h||this.j.Na()?this.j.o("widgetJsId",""):null;
b.ajaxMethod=c.method;b.clientTimestamp=Date.now();b.timestamp="";b.publisherId=this.j.o("pid","")||D("_pid")||b.publisherId||"";b.pvId=this.j.o("pvId","")||b.pvId||"";b.sectionId=this.j.o("sid","")||b.sectionId||"";b.widgetJsId=f||b.widgetJsId||"";b.widgetId=l||b.widgetId||"";b.subWidgetJsId=h||b.subWidgetJsId||"";b.subWidgetId=m||b.subWidgetId||"";b.cardIdx=e?e:b.cardIdx||b.cardIdx||"";b.docId=this.j.o("did","")||b.docId||"";b.uuid=this.j.o("lsd","")||b.uuid||"";b.platform=this.j.o("readerPlatform",
"")||b.platform||"";b.deviceOs="";b.deviceOrientation=OBR.i.mo();b.layeredTest=b.layeredTest||this.j.o("layeredTestInfo","no_layers");b.abrex=lb.Vd||"";this.j.wd(!0)||delete b.uuid;d.sessionId=c.sessionId?c.sessionId:this.sessionId;d.eventGroup=this.qd;d.eventTypeId=a;d.requestId=b.requestId||this.j.o("req_id",-1);d.attributes=JSON.stringify(b);return d}setActive(a){this.isActive=a}};oo=class{constructor(a){this.qd=a;this.rd={}}get(a){fj(this,a);return this.rd[`${this.qd}-${a}`]}};
OBR._jsc.po.prototype.GD=Object.keys(Q).reduce((a,b)=>{a[b]=Q[b];return a},{});OBR.dataBI=OBR._jsc.po;OBR.dataBI.settings=Q;var qo=class{init(){try{ij(this)}catch(a){OBR.i.Gd("obm-gpp_fail",document.location.hostname,!1,100)}}},ro=new qo;var so={0:()=>OBR._jsc.mj(document.referrer),1:()=>!0,2:()=>{const a=Xl(window);return a?a.emorganic==="true":!1}},to=a=>{window.OB_BROWSI_WIDGETS={inArticle:{ids:[a]}};a=new OBR.dataBI(OBR.F[a],b=>b.wi);OBR.v.N(OBR.v.B.wi,()=>{},this,null,null,null,{id:"browsi-tag","data-pubkey":"outbrain","data-sitekey":"d_mapping"});a.C.kB.fire({injectBrowsi:D("injectBrowsi"),pvId:"-1",sectionId:-1,widgetJsId:"NA",widgetId:1,cardIdx:"-1",docId:-1,uuid:"-1",platform:OBR.g.K?"mobile":"desktop",deviceOs:"",deviceOrientation:"portrait"})},
uo=()=>{OBR.v.N(OBR.v.B.ps,()=>{},this,null,null,null,{id:"ins-tag","data-as":"teads",async:"true"})},vo=()=>{try{if(D("browsiOrganicReferrer")&&OBR._jsc.mj(document.referrer))to(D("browsiOrganicReferrer"));else{var a=D("injectBrowsi");if(a){var [b,c]=a.split(":");a=+b;var d=a in so&&typeof c==="string"&&c.length>0?[so[a],c]:null}else d=null;if(d){var [f,e]=d,h=f();h&&e==="*"?uo():h&&to(e)}}}catch(l){OBR.error(l)}};var yj=!1,vj=!1,wj=null,xj=null,fk=class{constructor(a){this.fc=OBR.g.ma;this.mJ=OBR.g.qc;this.Fb={Qe:`${OBR.g.outbrainHost.replace("//","//direct.")}`,Pe:`${OBR.g.outbrainHost.replace("//","//darksocial.")}`};this.xi={Vs:"session",Qs:"referrer"};this.HE={[this.xi.Qs]:()=>pj(this),[this.xi.Vs]:()=>uj(this)};this.j=a;this.vO=kb(lb,Jl)?this.xi.Vs:this.xi.Qs}log(a){OBR.logger.log(`[ExploreMore] ${a}`)}mn(){OBR.g.zw&&this.j.zp()&&!wo(this.j)&&(zj(this)?OBR.ah(this.j):this.j.Ya(Q.Ga.M.ZB))}},xo=Object.freeze({TB:"interstitial"}),
wo=a=>a.l("exploreMoreMigration","")===xo.TB&&a.zp();var yo=a=>{let b;a=(((b=a.fe())==null?void 0:b.cards)||[]).map(c=>{let d;return c==null?void 0:(d=c.response)==null?void 0:d.request}).find(c=>(c==null?void 0:c.fCard)==="1");return!(a==null||!a.enterpriseFeedEnabled)},zo=new WeakSet;OBR.controller=OBR.controller||function(){var a,b={},c={},d={ZR:""},f=!0,e,h=!1;b.iy="manualDataReady";b.iq="manualClickReady";b.OA=!1;b.init=function(g){a=g=g||OBR;e=new a.Db;c.Df();b.TI();c.qK()&&(c.Rj=new io);c.ln()};b.Az=function(){c.UF();OBR.ib.oj.add("find",c.aP);OBR._jsc.Cj(OBR.display,b.oc);OBR.g.zr&&c.SK();xm.isEnabled&&OBR.v.bJ();vo();OBR._jsc.je.init();OBR.g.Ak&&c.Wx();OBR.g.sr();b.XN()?b.Ju=setTimeout(()=>{Jc(OBR.ib);h=!0;c.EG()},2E3):Jc(a.ib)};c.EG=function(){(new OBR._jsc.po(null,
g=>g.WB)).C.vB.fire({pvId:"-1",sectionId:-1,widgetJsId:"NA",widgetId:1,subWidgetJsId:"NA",subWidgetId:-1,cardIdx:"-1",docId:-1,uuid:"-1",platform:OBR.g.K?"mobile":"desktop",deviceOs:"",deviceOrientation:OBR.i.mo()})};b.bc=function(){return c};b.Jv=function(){return e};b.CR=function(g){e.add("onHtmlReturn",g)};b.uM=function(g){e.add("onWidgetRendered",g);OBR.F&&OBR.F.length&&OBR.F.forEach(k=>{typeof g==="function"&&k.kb()&&g(k)})};b.DR=function(g){e.add("noRecs",g)};c.oi=function(g){if(OBR.g.oi&&a.g.Hb!==
a.g.Ql&&a.g.Hb!==a.g.zs&&!a.g.K&&document.querySelectorAll&&g&&(g=g.A())){g=OBR.i.H(g).querySelectorAll(".ob-dynamic-rec-link,A.item-link-container,DIV.item-container > A:first-child,.odb_li .rec-link");for(let k=0;k<g.length;k++){const n=g[k],p=n.getAttribute("onmousedown");p&&n.setAttribute("ontouchstart",p)}}};b.Xt=function(g){g=a.F[g];$i(g)&&Yi(g)};b.oc=function(g){a.logger.log("rec "+g+" was rendered");var k=a.F[g];k.Fe(!0);let n={email:"do-not-reply@outbrain.com",RJ:!1};const p=tl("testPageInputExternalHelper");
p&&(n.isInternal=!0,n.email=p.getAttribute("email"),OBR.g.na=n);g===0&&(OBR.Fd.update(k),c.RK(k));c.yM(k);Yj(k);c.pI(k);b.FL(k);c.OO(k);c.nL(k);c.oi(k);c.UL(k);c.SI(k);c.PK(k);c.BG(k);c.eF(k);dj(k);c.ZD(k);c.DK(k)&&OBR.Ka.nc(k);OBR.Fd.update(k);fn(k);$i(k)&&OBR._jsc.Xi.kM(k);c.Dw(k);c.RI(k);setTimeout(()=>{no.zb(k)},1E3);c.Wd(k);c.qI(k)};c.Wd=g=>{g=g.A();OBR._jsc.ke()?OBR._jsc.je.Wd(g):OBR._jsc.je.An.add(g)};c.Dw=(g,k=!0)=>{k=k?g.l("restoreOriginalUrlAfterClick",!1):!0;const n=g.l("showOriginalUrl",
!0);k&&n&&(g=g.A())&&g.querySelectorAll(".ob-dynamic-rec-link").forEach(p=>{const r=p.href;p.addEventListener("mouseup",()=>{setTimeout(()=>{p.href=r},250)});p.addEventListener("mouseover",()=>p.href=r)})};c.RI=g=>{var k=["NonRedirect","ProgrammaticRedirect"].includes(g.l("clickRecordingMethod","HrefRedirect"));const n=g.l("showOriginalUrl",!0);k&&n&&g.Cp()&&(k=g.A())&&Array.from(OBR.i.H(k).querySelectorAll(".ob-dynamic-rec-link")).forEach(p=>{const r=p.getAttribute("data-obUrl");if(r){let u=p.getAttribute("target");
u||(u=a.g.Rc?"_top":"_self");p.addEventListener("click",t=>{t.stopPropagation();t.preventDefault();u==="_self"?window.location.href=r:u==="_top"?window.open(r,"_top"):window.open(r,"_blank");return!1});p.addEventListener("contextmenu",()=>{p.href=r});g.l("restoreOriginalUrlAfterClick",!1)||c.Dw(g,!1)}})};c.yM=g=>{if(g.Na()){var k=OBR.display;const p=g.A();if(p&&p.parentNode){var n=g.l("feedDataIdValue",!1);n=n?`ob-data-fid="${encodeURIComponent(n)}"`:"";k=k.pa.i.Bb(`<div class="ob-smartfeed-wrapper feedIdx-${g.G()}" ${n}>${p.outerHTML}</div>`);
p.parentNode.replaceChild(k,p);g.A({Zb:!0})}}};c.BG=g=>{try{const k=[g.l("afterRenderCallback",null),"OBBridge.widgetEvents.rendered"].filter(p=>p).filter((p,r,u)=>u.indexOf(p)===r),n=g.A();k.forEach(p=>{p!==null&&OBR.i.BI(p)&&(p=p.split(".").reduce((r,u)=>r[u],window))&&setTimeout(p.bind(null,n),0)})}catch(k){}};c.pI=function(g){g.X("eventTrackers")&&OBR.be.Uo(g)};b.ai=function(g,k){OBR.proxy.QK(g,OBR.v.B.Ks,k)};c.nL=function(g){g.YN()&&(b.ai(g,k=>{OBR._jsc.Wm(k.currentWidget,k.beforeLoadTime)}),
g.o("feedVersion",null)=="2"&&(g=g.O())&&g.pr())};c.UL=function(g){(OBR.g.na&&OBR.g.na.isInternal||g.X("publisherTools")&&!a.g.Df)&&a.v.N(a.v.B.sm,function(k){OBR.az.init(k)},this,g)};c.UF=function(){a.g.yJ&&a.v.N(a.v.B.ss,()=>{})};c.qK=()=>{const g=OBR.g.Rc||window["intervention-debug"]===!0;return OBR.g.Hb===OBR.g.Ql&&g};c.DK=g=>!g.Op()&&!g.tp()&&!g.Uj()&&!g.Ex()&&!g.Ax()&&!g.zf()&&!g.ck();c.WD=g=>{const k=g.Mb();if(k){const n=g.A();if(n){const p=g.qf();Array.from(OBR.i.H(n).querySelectorAll(".ob-dynamic-rec-container")).forEach(r=>
{r=r.getAttribute("data-pos");p.listings||(p.listings={});p.listings[r]||(p.listings[r]={});p.listings[r].clickPixels||(p.listings[r].clickPixels=[]);p.listings[r].clickPixels.push(k);g.fl(p)})}}};c.SI=function(g){c.WD(g);g.yI()&&b.Hi(g)};b.Hi=function(g){var k=g.A();if(k&&(k=OBR.i.H(k).querySelectorAll(".ob-dynamic-rec-container"))){k=Array.from(k);var n=g.G();k.forEach(p=>{const r=p.getAttribute("data-pos");(p=p.querySelector(".ob-dynamic-rec-link"))&&p.addEventListener("click",b.yA.bind(this,p,
n,r))})}};c.PK=function(g){const k=()=>{window.OB_EXTERNAL_SCRIPT_LOADED&&window.OB_EXTERNAL_SCRIPT_LOADED(g.A())},n=r=>{r=OBR.i.Va(0,OBR.g.$O+"/"+r,!0,!1,k,{"class":"ob-after-render-script"});OBR._jsc.ac(OBR._jsc.Vc,r).to(document.head)},p=r=>{try{if(!r.includes("publishers/SO/convPixel.js")){var u=g.l("BOWMarketerId","");g.l("isBestOfWebImpression",!1)===!0&&u!==""&&n(`${"publishers/SO/convPixel.js"}?advId=${u}`)}}catch(t){OBR.error({name:"BOWPixelError",message:"Could not parse best of web impression settings"})}};
if(g){const r=g.l("afterRenderScript","");if(r!=="")try{r.indexOf("[")===0&&r.indexOf("]")===r.length-1?JSON.parse(r).forEach(u=>n(u)):n(r)}catch(u){OBR.error({name:"ConversionPixelError",message:"Could not parse input string"})}p(r)}};c.xH=function(g){const k=g.A(),n=g.Tc()&&g.Cp();return{WO:k,oK:n,$F:p=>{if(n)return cl(k,p)}}};c.OO=function(g){var k=g.X("viewability",null);if(k){const {WO:r,oK:u,$F:t}=this.xH(g);for(var n in k)if(k.hasOwnProperty(n))if(OBR.Ll(n)){var p=OBR.Ll(n).parentElement;g=
p&&t(p);dl(p);const v=OBR._jsc.yl();p=OBR.i.Va(0,k[n],!0,!1);u&&g?(g.appendChild(p),v.appendChild(g),OBR.i.uf(v,r)):OBR.i.insertBefore(p,OBR.Ll(n))}else OBR.error({name:"ViewabilityPixelError",message:"Missing viewabilty pixel placeholder element"})}};b.FL=function(g){var k=g.l("recMode",""),n=g.l("dynamicWidgetLayout","");(g.Ha()&&k.indexOf("top-box")>-1||k.indexOf("bottom-box")>-1&&k.indexOf("bottom-box-vertical")===-1||k==="odb_dynamic"&&n.indexOf("top-box")>-1||k.indexOf("odb_dynamic_swipe")>
-1||k.indexOf("odb_dynamic_smartfeed-swipe")>-1)&&OBR.v.N(OBR.v.B.jm,function(p){OBR.Jd.ny(p)},this,g)};c.PQ=function(g){return Math.floor(Math.random()*g)+1};c.CK=g=>{g.hasAttribute("data-widget-id")&&(g.getAttribute("data-widget-id").match(/^([A-Z-0-9-_]+)$/)||OBR.logger.log(`Bad widget id "${g.getAttribute("data-widget-id")}"`));if(g.hasAttribute("data-ob-user-id")){let k=g.getAttribute("data-ob-user-id");k===""&&(k="null",g.setAttribute("data-ob-user-id","null"));if(k.indexOf("{")>-1||k.indexOf("}")>
-1)return OBR.logger.log(`Bad user id "${g.getAttribute("data-ob-user-id")}"`),!1}return!0};c.aP=function(g){a.logger.log("widget was found");if(c.CK(g)){var k=a.si.Jg(g);e.fire("widgetObjectCreated",[k]);k.BJ()===!0?a.logger.log("Dynamic loader - stop odb!"):c.tM(g,k)}else k=OBR.ib,g==null||g.setAttribute(k.fm,"false")};c.tM=(g,k)=>{const n=k.jk();if(cj.Ed(k)&&!n)bj(cj,g,k);else{if(!n){if(D("widgetLazyLoad")){c.Oj(g,k);return}g=D("widgetsLevelLazyLoad");if((g==null?void 0:g.length)>0){c.fp(k,g);
return}}OBR.Aa.register(k)}};c.fp=(g,k)=>{const n=g.D();let p;d[k]?p=d[k]:(p=k.split(",").map(r=>r.trim()).filter(r=>r),d[k]=p);p.includes(n)?cj.fp(g):OBR.Aa.register(g)};c.Oj=(g,k)=>{cj.zb();cj.Oj();bj(cj,g,k)};c.ZD=g=>{var k=g.A();k&&!a.g.Df&&(k=OBR.i.H(k).querySelectorAll(".ob-dynamic-rec-link,a.item-link-container,div.item-container > a:first-child,.odb_li .rec-link"))&&k.length&&k.forEach(n=>{const p=u=>{OBR._jsc.$d(g.C,u);c.$D(n)};n.addEventListener("click",p);if(!a.g.K){var r=()=>{const u=
(n.getAttribute("onmousedown")||n.getAttribute("onMouseDown")||"").match(/this\.href\s*=\s*['"]([^'"]+)['"]/);return u?u[1]:null};n.addEventListener("keydown",u=>{if(u.key==="Enter"){u.preventDefault();p(u);u=r()||n.href;const t=n.getAttribute("target");window.open(u,t||"_self")}})}})};c.$D=g=>{if(g.href){var k=`${"&ucid="}${OBR.i.Bo(8)}`;if(g.href.indexOf("&ucid=")>0){const n=g.href,p=n.indexOf("&ucid=");g.href=g.href.replace(n.substring(p,p+6+8),k)}else g.href+=k}};c.KR=g=>{(OBR.widgetDelayInterval||
OBR.widgetDelayInterval===0)&&(new OBR.dataBI(g,k=>k.wB)).C.YC.fire({interval:OBR.widgetDelayInterval})};c.ou=function(g){let k=g.o("widgetJsId",null);g.D()!==k&&g.MN(k)};b.pE=g=>{e.add("widgetObjectCreated",g)};b.qL=function(g,k){var n="NA",p=g&&g.response?g.response:null;var r=a.i.CH(k);r&&r.kb()||(r&&(r.setData(g),r.Tz(),c.ou(r)),p&&p.request&&p.request.widgetJsId&&(n=p.request.widgetJsId),a.Aa.cA(r.o("t",null),r.ub()),a.Aa.unlock(k,n),!a.g.ma&&a.i.Gy(r),r&&p&&p.documents&&(r.Fe(!0),Yj(r),r.l("FireImpressionPixelsForJSAPI",
!1)&&(p.documents.doc=b.KG(p.documents)),n=g&&g.response&&g.response.settings&&g.response.settings.recMode,p.documents.req_id=(n==="odb_video"||n==="odb_video_backfill")&&g&&g.response.request&&g.response.request.req_id,g=Object.assign({},p.documents),b.FG(b.iy,k,r.D(),g)),c.Ew(r),a.Aa.fire())};b.KG=function(g){return OBR.be.So(g)};b.FG=function(g,k,n,p){e.fire(g+k+n,[p,k],!0)};b.Un=function(g){e.fire(g)};b.qM=function(g,k,n,p){e.add(g+k+n,p)};b.hy=function(g,k){if(g!==null){var n=0;n=g.permalink;
var p=g.widgetId,r=a.Fa.aG(g);if((g.videoId||n&&typeof n==="string"||g.contentUrl||g.bundleUrl||g.portalUrl)&&p&&typeof p==="string"){a.logger.log("manual Odb call");n=b.VK(g);r.idx=n;r.isManualWidget=!0;g.portalUrl&&(r.language=OBR.F[g.originWidgetIdx]&&OBR.F[g.originWidgetIdx].pf()||"en");if(p=jm(g))r.consentString=p.consentString,r.consentVersion=p.consentVersion,r.userId=p.userId;p=a.si.un(r);if(n>100&&n<=120){g.lang=p.pf();try{p.rN(JSON.stringify(g))}catch(t){OBR.error({name:"obm-ManualOdbWithInvalidRequestData",
message:`request for widget ${n} has invalid request data`})}}a.g.wv(r);const u={};g.maxNumAds&&(u.maxNumAds=g.maxNumAds);g.maxNumOrganicRecs&&(u.maxNumOrganicRecs=g.maxNumOrganicRecs);r=Object.keys(u).map(t=>t+"="+encodeURIComponent(u[t])).join("&");p.lN();r&&p.mr(r);c.fE(p);a.If[n]=p;b.qM(b.iy,n,p.D(),k);typeof g.originWidgetIdx==="number"&&l(p,OBR.F[g.originWidgetIdx]);a.Aa.register(p)}}};c.fE=g=>{if(g.O&&g.O()){const k=g.O();k.ge&&k.ge()&&g.Yz(k.ge())}};b.VK=function(g){var k=0,n=a.g,p=!1;if(g.videoId)return 0;
var r=g.permalink||g.contentUrl||g.bundleUrl||g.portalUrl;let u=null;typeof g.originWidgetIdx==="number"&&(p=OBR.F[g.originWidgetIdx],(p=(p==null?void 0:p.O())||p)&&(u=p.ub()?p.uc()||p.wc()||p.xc():p.Da()));n.jq=g.continuousIdx===!0;p=n.Id===null&&a.F.length===0;p||(n.Id===null&&(g=a.F.find(t=>t&&t.Da),n.Id=g.Da()),b.Ay(n.Id)!==b.Ay(r)&&n.jq!==!0&&u!==r)||(n.se===0&&(n.se=100),k=n.se+1);n.Id=r;return n.se=k};b.Ay=g=>{try{if(g)return(new URL(g)).toString()}catch(k){}return g};b.rk=function(g,k){typeof k===
"function"&&e.add(b.iq,k);if(g!==null&&g.link&&typeof g.link==="string"){k=g.link;a.logger.log("manual Click");if(k.match(/http(s)?:\/\/.+outbrain.com/i)!==null)g.openInWindow?window.top.location.href=k:(g=k.split("?"),g=`${g[0]}?noRedirect=true&${g[1]}`,a.g.tl?navigator.sendBeacon(g):a.i.IE(g));else throw"Wrong redirect link: "+k;e.fire(b.iq);kc(e,b.iq)}};c.Cx=function(g){return g.l("stopRater",!1)};b.Mf=function(g,k){OBR.logger.log("HTML returned");var n=a.F[k];var p;((p=n)==null?void 0:p.Fo())>
0?Bj(g,n):(k=c.rq(k),(n=a.F[k])?(nd.mark(n,"mv","end"),$i(n)&&Yi(n),p=Fm.rl.stop().getTime(),n.$z(p),(p=g.rejectionReason)?(a.logger.log("Feed Rejection from server. reason:",p),b.Xn(n)):(n.XH(g)<=0&&e.fire("noRecs",[n]),n.kb()?b.Xn(n):(n.setData(g),b.Zz(n),n.dA(),n.FN(),n.Tz(),Dj(n),OBR.g.setData(n),c.ou(n),n.Oz(),g=n.o("oo",!1)===!0,k===0&&(b.sr(n),g||(OBR.extern.pvId=n.o("pvId",null))),n.wd(!0)&&f&&!n.l("disableThirdPartyCookieCheck",!1)&&(OBR.Te.test(),f=!1),g=n.ub(),a.Aa.cA(n.o("t",null),g),
c.nI(OBR.Aa.mw(g)),a.g.K=n.o("readerPlatform","desktop")==="mobile"||a.g.KJ,a.g.Mk=n.o("readerPlatform","desktop"),c.Ew(n),b.jv(n,k),OBR.g.Sq||(OBR.g.Sq=n.o("pubSessionId",null)),c.wK(n)||c.Cx(n)||n.Bx()||c.FK(n.ud())?Yj(n):(a.Aa.QM(n.l("apv",!1)),this.Uw(n)&&!kd(n)&&this.LI(n),n.Tp()?(e.add(`widgetLazyRender_${k}`,()=>{b.tx(n)&&b.Rk(k);b.To(n)}),n.jk()&&c.uC(n)):(b.tx(n)&&b.Rk(k),b.To(n)),be(n.C)),b.Xn(n),k===0&&c.Rj&&c.Rj.cg(n),k===0&&Gb&&Gb.cg(n),c.jF(n)))):(a.logger.log("odbHtmlReturned : Widget not found"),
OBR.error({name:"obm-WidgetNotFound",message:`Widget not found for idx ${k}`})))};c.nI=g=>{OBR.Aa.wN({t:g})};c.Ew=g=>{g.G()===0&&g.l("widgetLazyLoad",!1)&&cj.Oj(g)};b.Zz=g=>{OBR.ren=g.X("ren")};c.wK=g=>{if(!g)return!1;const k=g.l("tracking",!1);g=g.o("feedVersion",null)==="2";return k&&g};b.sr=function(g){if(g){const k=g.o("pid","0"),n=g.o("sid","0");g=g.o("did","-1");OBR.monitorData=Object.assign({},OBR.monitorData,{pubId:k,sourceId:n,docId:g})}};b.jv=function(g,k){e.fire("odbRtn_"+g.D(),[g]);e.fire("odbRtn_"+
k,[g]);e.fire("onHtmlReturn",[g],!1,g)};b.To=function(g){c.ZE(g);c.EF(g);c.CF(g);c.mF(g);c.mn(g);c.BF(g);c.DF(g);c.oF(g);c.wF(g);c.XE(g);c.qF(g);c.cF(g);c.yF(g);c.nF(g);c.iF(g);c.aF(g);c.sF(g);c.zF(g);c.AF(g);c.YE(g);c.kF(g);c.xF(g);c.rF(g);c.hF(g);c.gF(g);OBR.$l.Jg(g);if(!g.tp()){var k=Ym(g);k&&(g.l("isCTARequired",!1)?k.some(Zm)&&k.forEach($m):k.filter(Zm).forEach($m))}c.vF(g);c.dF(g);c.WE(g);c.VE(g);c.$E(g);c.tF(g);c.lF(g);c.uF(g);c.fF(g);c.bF(g)};b.Uw=g=>!g.Ha()&&g.Na();b.LI=g=>{(g=g.A())&&g.style.setProperty("visibility",
"hidden","important")};c.rq=function(g){return g<1E3?g:g%1E3};c.FK=function(g){var k=!1;g.match(/(<\/?met|<\/?scr)/i)!==null&&(k=!0,a.logger.log("SECURITY"));return k};b.Xn=function(g){c.Cx(g)||(a.Aa.unlock(g.G(),g.D()),a.Aa.fire())};c.CF=function(g){g.Na()&&(g.Qp()||g.zx())&&OBR.logger.log(" -- WARNING: Smartfeed blocked because topbox/sklander are enabled! Please check widget settings -- ");!a.g.K&&g.yK()&&g.zx()?a.v.N(a.v.B.wg,function(k){a.iA.init(k)},this,g):g.Qp()&&a.v.N(a.v.B.Bm,function(k){a.Sd.init(k)},
this,g);g.Hx()&&a.v.N(a.v.B.Gm,function(k){OBR.YA.init(k)},this,g);!g.Na()||g.Qp()&&!g.Ww()||m(g)};c.mF=function(g){const k=new Wn;Hg(g)?(OBR.i.Ba(g.A(),"ob-onyx ob-onload"),k.init(g)):g.Uj()&&Jg(g)};c.BF=function(g){const k=g.l("readMoreButtonPlatform","mobile"),n=g.l("isReadMoreEnabled",!1)===!0;({mobile:OBR.g.K,desktop:!OBR.g.K,all:!0}[k]||OBR.g.Ob)&&n&&OBR.v.N(OBR.v.B.um,p=>OBR.Ia.init(p),this,g)};c.RK=function(g){if(g&&g.l("loadPermiterX",!1)&&!window._pxAppId){g=g.o("pvId",null);let k=OBR._jsc.S("script");
k.type="text/javascript";k.innerText='(function(){ window._pxAppId = "PX7C4UXGxx";'+`window._pxParam1 = "${g}";`+'var p = document.getElementsByTagName("script")[0],s = document.createElement("script");s.async = 1;s.src = "//client.px-cloud.net/PX7C4UXGxx/main.min.js";p.parentNode.insertBefore(s,p);}());';ul("head")[0].appendChild(k)}};c.EF=function(g){g.Ha()&&a.g.K&&g.Op()&&g.l("dynamicDynamicLayoutVersion",3)===3&&a.v.N(a.v.B.Am,function(k){a.Cr.init(k)},this,g)};c.DF=function(g){g.Ha()&&g.tp()&&
a.v.N(a.v.B.Ml,function(k){a.ga.init(k)},this,g)};c.wF=function(g){g.Ha()&&g.rK()&&a.v.N(a.v.B.ym,function(k){a.gA.init(k)},this,g)};c.XE=function(g){g.Ha()&&g.tJ()&&OBR.v.N(OBR.v.B.Pl,function(k){OBR.Sa.init(k)},this,g)};c.cF=function(g){g.Ha()&&g.CJ()&&OBR.g.oi&&OBR.v.N(OBR.v.B.Vl,function(k){OBR.Ru.init(k)},this,g)};c.oF=function(g){g.o("obPerformance")&&(OBR.g.Ak=!0,c.Wx())};c.qF=function(g){g.Ha()&&g.cK()&&a.v.N(a.v.B.qm,function(k){a.Ry.init(k)},this,g)};c.iF=function(g){g.Ha()&&g.MJ()&&OBR.v.N(OBR.v.B.rg,
function(k){OBR.pw.init(k)},this,g)};c.nF=function(g){g.Ha()&&g.aK()&&OBR.v.N(OBR.v.B.km,k=>OBR.Dq.init(k),this,g)};c.$E=function(g){OBR.g.gb.includes("outbrain/displayadsverifier")&&OBR.v.N(OBR.v.B.Tl,k=>OBR.Nu.init(k),this,g)};c.Wk={nu:!1,Pt:!1};c.ln=function(){if(!c.ln.done){c.ln.done=!0;var g,k=(g=OBR)==null?void 0:g.settings;(k==null?0:k._pid)&&(k==null?0:k.diveeProjectId)&&nb()&&!window.divee&&OBR.v.N(OBR.v.B.Ul,()=>OBR.Cn.init(),this)}};c.tF=function(g){c.Wk.nu||(c.Wk.nu=!0,c.Wk.Pt=(()=>{if(!kb(lb,
Kl))return!1;const k=OBR.g.gb;return/iPhone OS (1[89]|[2-9]\d)(_?\d+)* .*Gecko\)\s*Version\/\d+\.\d+.*Safari\//i.test(k)&&!/CriOS\//.test(k)&&!/FxiOS\//.test(k)&&!/EdgiOS\//.test(k)})());c.Wk.Pt&&OBR.v.N(OBR.v.B.ug,k=>OBR.Bz.init(k),this,g)};c.ZE=g=>{g.X("cs",null)&&OBR._jsc.je.refresh()};c.yF=function(g){g.Ha()&&g.Ex()&&OBR.v.N(OBR.v.B.yg,function(k){OBR.timeline.init(k)},this,g)};c.aF=g=>{g.Ha()&&g.Uj()&&(c.dN(g),OBR.v.N(OBR.v.B.Sl,k=>OBR.fj.init(k),this,g))};c.dN=g=>{var k;(k=(k=g.zc("display"))?
k.placement_id:void 0)&&k!==-1?(g.BN(k),k=!0):k=!1;k&&(OBR.logger.log("Delay eventTrackers for widget "+g.D()+" because of Teads delay impression pixels"),g.Mz(!0))};c.vF=g=>{g.Gh()&&OBR.v.N(OBR.v.B.zm,k=>OBR.fA(k),this,g)};c.dF=g=>{const k=g.l("tracking",!1);b.Uw(g)||g.o("tcr",0)!==0||k||ae(g.C)};c.sF=g=>{g.Ha()&&g.Bc()&&(g.iK()?OBR.v.N(OBR.v.B.wm,k=>OBR.mz.init(k),this,g):OBR.v.N(OBR.v.B.vm,k=>OBR.lz.init(k),this,g))};c.zF=g=>{g.Ha()&&g.QJ()&&OBR.v.N(OBR.v.B.Fm,k=>OBR.gt.init(k),this,g)};c.eF=g=>
{g.FJ()&&OBR.v.N(OBR.v.B.pg,k=>OBR.Es.init(k),this,g)};c.lF=g=>{const k=OBR.g.ma,n=g.l("appHeaderEnabled",!1);k&&n&&OBR.v.N(OBR.v.B.gm,()=>OBR.vy.init(g),this)};c.VE=g=>{const k=!g.o("oo",!1),n=g.wd(!0);k&&n&&(OBR.g.oe&&!b.OA&&(Ue(g),b.OA=!0),OBR.v.N(OBR.v.B.Yl,p=>OBR.Zy.init(p),this,g))};c.AF=g=>{$i(g)&&OBR.v.N(OBR.v.B.Ci,k=>OBR.ri.init(OBR._jsc.Xi,k),this,g)};c.YE=g=>{g.Ha()&&g.zI()&&OBR.v.N(OBR.v.B.Rl,k=>OBR.clip(k),this,g)};c.jF=g=>{const k=g.l("distanceMeasureRate",0);(OBR.g.vv||k>0)&&OBR.v.N(OBR.v.B.Zl,
()=>OBR.Hs.init(g),this,g)};c.fF=g=>{g.JJ()&&OBR.v.N(OBR.v.B.qg,()=>OBR.Fs.init(g))};c.qI=g=>{OBR.fraudDetection.Gi(g)};c.WE=g=>{var k=g.O();const n=(k==null?void 0:k.D())||g.D();var p=OBR.Le&&OBR.Le[`${n}`]&&OBR.Le[`${n}`].vl;if(g.D()!==(k==null?void 0:k.D())&&!p){k=g.o("pl",null);p=g.o("vl",null);var r=g.o("cl",null);(k||p||r)&&OBR.v.N(OBR.v.B.Im,()=>OBR.ht.init(g,n),this,g)}};c.uF=g=>{const k=()=>OBR.Ps.init(g);g.l("permutiveAdClickerEnabled",!1)&&OBR.v.N(OBR.v.B.pm,k,this,g)};c.bF=g=>{const k=
g.Na()&&!g.O(),n=g.l("dwellTimePercentages",0);k&&(n<=0?0:n>=100||Math.random()*100<n)&&OBR.v.N(OBR.v.B.ng,p=>OBR.gf.init(p),this,g)};c.mn=g=>{(new fk(g)).mn()};c.kF=g=>{g.DI()&&OBR.v.N(OBR.v.B.dm,()=>OBR.Rx.cn(g),this)};c.xF=g=>{g.Ax()&&OBR.v.N(OBR.v.B.xg,()=>OBR.nA.init(g),this)};c.rF=g=>{g.ck()&&OBR.v.N(OBR.v.B.tg,()=>OBR.ez.init(g),this)};c.hF=g=>{if(g.zf()){const k=g.ro();zi.init(g,k)}};c.gF=g=>{var k=g.bx()?g.so():null;(k=c.uE(g,k))&&k.length&&Ei(g,k)};c.uE=(g,k)=>{const n=[{av:"exploreMore",
zu:()=>wo(g)},{av:"feedSkin",zu:()=>{if(!g.Na()||g.O()||zo.has(g))var r=!1;else r=g.l("feedSkinType","disable"),(r=!!r&&r!=="disable")||(r=g.l("enterpriseFeedLook","glass-over-image"),r=!!r&&r!=="disable"&&yo(g)),r&&zo.add(g);return r}}].filter(({zu:r})=>r()).map(({av:r})=>r);if(!n.length)return k;wo(g)&&Ze("exploreMore","loaded",!0);const p=k?[...k]:[];n.forEach(r=>{p.includes(r)||p.push(r)});return p};c.Df=function(g){a.g.Df&&a.v.N(a.v.B.Hm,function(){a.$A.init();a.aB.init()},this,g)};c.SK=function(){const g=
a.i.Va(0,"//widgets.outbrain.com/tnt/sst.js","true");OBR._jsc.F.head.appendChild(g)};b.tx=function(g){return!(g.zf()||g.Gp())};b.SQ=()=>{};b.Rk=function(g){g=a.F[g];a.display.Rk(g);id(g);a.logger.log("HTML - Render");b.Rf(g);b.xM(g)};b.zM=(g,k)=>{hd.remove(k);Fj(a.display,[g],k);a.logger.log("HTML - GNR Render");b.Rf(k)};b.xM=function(g){g.Bc()||b.$h(g)};b.$h=function(g){if(g.X("inlineNVP",!1)===!0){var k={};k.platform=a.g.Mk;k.lang=g.o("lang","en");k.uuid=g.o("lsd",null);k.publisherId=g.o("pid",
null);k.sourceId=g.o("sid",null);k.widgetNumberId=g.o("wnid",null);k.location=g.o("gl","");k.timestamp=g.oh();k.widgetID=g.o("widgetJsId",g.D());k.reqID=g.o("req_id","-1");k.pvId=g.o("pvId","-1");k.obcnst=g.o("obcnsnt",!0);k.did=g.o("did",null);k.gdpr=g.o("gdpr",0);k.cnsnt=g.o("cnsnt",null);k.abTestVal=g.td()||g.o("abTestVal","no_abtest");k.feedVersion=g.o("feedVersion",null);k.onOpenCallbacks=g.aH();k.onCloseCallbacks=g.$G();k.publisherName=g.o("pubName",null);a.v.N(a.v.B.sg,function(){window.NVPInjector.main.widgetLoad(g.A(),
g.Jo(),k)})}};b.Rf=function(g){const k=g.TJ(),n=g.l("dynamicTruncateSource",!1),p=g.l("TruncateDescription",!1),r=g.A();!OBR.g.ma&&OBR.i.Gy(g);lk(a.Tu,g.G(),n,p,k);OBR.i.kE(r);g&&(g.nJ()||g.lx()||g.yh())&&OBR.g.ql&&OBR.i.aJ(g);e.fire("onWidgetRendered",[g],!1,g);g=g.C;nd.mark(g.j,"rendered");g.WA.rendered();g.Ca&&!g.Ca.C.pj.rendered&&g.Ca.C.rendered||g.rendered||(g.rendered=!0,g.Ca&&(g.Ca.C.rendered=!0),Ia.fire(Object.assign({},g.Qa,Yd("rendered"))))};b.iz=function(g){a.i.Ba(g,"ob_clicked");var k=
a.i.gh(g,"data-redirect");k!==null&&(g.href=k)};b.Nk=function(g){c.FF();Lc(a.ib,g);return!0};b.aa=function(){e.Ze()};c.Wx=function(){a.v.N(a.v.B.nm,function(){OBR.tC.init()},this)};b.ME=function(g,k,n){if(window.confirm("Removing this recommendation will remove it permanently for this section and will refresh the recommendations.\n Are you sure you want to remove this recommendation?")){var p="https://my.outbrain.com/manage/";p=n===!1?p+("add-zapped-document?publisherId="+k+"&docUrl="+a.i.sa(g)):
p+("add-rule?publisherId="+k+"&ruleValue="+a.i.sa(g)+"&ruleType="+n);g=a.i.Va(0,p,!0);a.i.vf(g)}};b.LE=function(g){window.confirm("Removing this recommendation will remove it permanently for this section and will refresh the recommendations.\n Are you sure you want to remove this recommendation?")&&(g=a.i.Va(0,a.g.pL+a.g.NE+g+"&index=1&templateIndex=1&sig="+a.g.gs,!0),a.i.vf(g))};b.GR=function(g){g&&g.ob_exclude_resp&&typeof g.ob_exclude_resp.code==="number"&&g.ob_exclude_resp.code!==1&&b.Nk()};b.pM=
function(g,k){if(k&&typeof k==="function"){var n="odbRtn_"+g;e.add(n,k);(g=a.Fa.sf(g))&&g.Qw()&&e.fire(n,[g])}};b.BR=function(g,k){if(k&&typeof k==="function"){var n="odbRtn_"+g;e.add(n,k);(g=a.Fa.xd(g))&&g.Qw()&&e.fire(n,[g])}};b.gH=function(g){return(g=a.Fa.sf(g))?g.o("tcr",-1):null};b.Be=function(){Jc(a.ib)};b.Ze=function(){b.aa();c.tu();OBR.Ka.aa();OBR.be.aa();a.display.aa();a.Aa.Fw();a.Aa.aa();a.ib.aa();a.Ab.aa();a.No.aa();a.Sd&&a.Sd.aa();a.g.aa();a.oa.aa();Vm();cj.reset();OBR.i.IF()};b.Pk=function(){this.Ze();
this.Az()};c.FF=function(){a.Aa.Fw();a.Ab.aa();OBR.Ka.aa();OBR.be.aa();OBR.g.Id=null;c.HF();c.tu();Le.Xd();Vm()};c.tu=()=>{si&&si.aa();a.Ia&&a.Ia.aa();a.ah&&a.ah.aa()};c.HF=function(){const g=OBR.F.filter(k=>!k||k.A);g.forEach(k=>{if(k&&k.kb()){var n=k.A();k.Na()&&n.parentElement.insertAdjacentElement("beforebegin",n);k.O()&&n&&n.remove()}});OBR.F=g;[...vl("ob-smartfeed-wrapper")].forEach(k=>k.remove())};b.oM=function(g,k,n,p){g=c.rq(g);c.Uy(OBR.Fa.xd(g),n);b.Mf(k,g);p&&p(g)};c.Uy=function(g,k){g.nM(k);
OBR.Nk&&OBR.Nk.MR(g);return g};b.WK=function(g,k,n,p,r){k&&g&&(b.rk({link:k,openInWindow:void 0},null),e.fire("videoClick_"+g,[{videoUrl:n,videoId:p,widgetId:g,widgetIdx:r}]))};b.Iy=function(g,k){e.add("videoClick_"+g,k)};b.yq=function(g,k){c.Rj&&c.Rj.yq(g,k)};b.TI=function(){ro.init();OBR.oa.init()};b.Iy=function(g,k){e.add("videoClick_"+g,k)};b.eR=function(g,k,n,p){var r=OBR.i.A(g);r?c.iE(r):OBR.error({name:"Error",message:"Cannot find widget element with idx="+g});(r=OBR.Fa.xd(c.rq(g)))?(r=c.Uy(r,
null),r.JN(k),r.LN(n),r.KN(p),c.fO(r),a.Aa.register(r)):OBR.error({name:"Error",message:"Cannot find widget with idx="+g})};c.fO=function(g){g.zN(g.ud())};c.iE=function(g){a.i.Ba(g,"ob_scoped")};b.yA=function(g,k,n){if(OBR.i.ik(g)||OBR.i.ik(k)||OBR.i.ik(n))OBR.logger.log("triggerClickPixels: Missing param to function");else if(k=OBR.Fa.xd(k)){var p=k.X("listings");p&&p[n]&&p[n].clickPixels?k.l("isBackgroundClickTracker",!0)&&OBR.g.K?OBR.i.CG(p[n].clickPixels):OBR.i.IG(p[n].clickPixels,g):OBR.logger.log("fireClickPixel: empty meta or key not defined in clickPixels meta")}else OBR.logger.log("triggerClickPixels: widget or rec container not found")};
b.wO=(g,k)=>{if("mraid"in window)try{const n=g.getAttribute("href");k.preventDefault();k.stopPropagation();window.mraid.open(n)}catch(n){OBR.error(n)}};b.zA=(g,k,n,p)=>{try{if(typeof window.OBCustomClickHandler==="function")try{let u;if(p){const t=decodeURIComponent(p);u=JSON.parse(t)}window.OBCustomClickHandler(g,k,n,u);return}catch(u){}if(OBR.clickHandler){var r=g.getAttribute("href");k.preventDefault();k.stopPropagation();if(p)try{const u=decodeURIComponent(p),t=JSON.parse(u);OBR.clickHandler.open(r,
n,t);return}catch(u){}OBR.clickHandler.open(r,n)}}catch(u){OBR.error(u)}};b.KE=g=>{var k=a.Ab.sc.uG,n=OBR.Ab;g=g.split("?");const p=O.Ik(g[1]);n.qj||(p.cheq=OBR.fraudDetection.qu,n.qj=!0);p.eT=k||n.sc.ready;p.tm=(new Date).getTime()-n.startTime;p.wRV=OBR.g.ver;p.pVis="2";k=O.ki(p);n.Qg.add(`${g[0]}?${k}`);dk(n)};b.SD=(g,k)=>{k=a.F[k];const n=k.TD||1;let p="";try{const r={Request_id:k.o("req_id","-1"),publisher_id:k.o("pid","0"),pv_id:k.o("pvId","-1")};p=JSON.stringify(r)}catch(r){p=""}n===3?OBR.error({name:"obm-AdCarouselLogoError",
message:"Error loading ad carousel logo image: "+g.src+" widget data: "+p}):(g.src=g.src+"?t="+(new Date).getTime(),k.TD=n+1)};b.BM=(g,k,n)=>{if(g){OBR.g.Mx=!0;OBR.extern.returnedVacData=b.Sk;var p=g.response.request.widgetJsId,r=OBR._jsc.S("div");r.className="OUTBRAIN";r.setAttribute("data-widget-id",p);k?k.parentNode.insertBefore(r,k):OBR._jsc.F.body.appendChild(r);OBR.si.Jg(r,n);b.Mf(g,n);r.setAttribute("data-ob-mark","true");r.setAttribute("data-browser",OBR.g.Hb);r.setAttribute("data-os",OBR.g.os)}};
b.Sk=g=>{g&&si.Sk(g,g.feedIdx)};c.uC=g=>{g.Na()&&m(g)};b.init(OBR);const l=(g,k)=>{if(g&&k){var n=k.O();n&&(g.Qz(n.jb()),g.aA(n.yc()),n.ub()&&g.Vz(n.Nb()),n.me()&&g.Pz());k&&k.me()&&g.Pz();g.hl(k)}},m=g=>{si.init({we:g,cv:g.l("feedManualChunkFetch",!1)})};b.XN=()=>xm.isEnabled?xm.value.includes(OBR.v.B.xs)||xm.value.includes(OBR.v.B.ft):!1;b.continue=()=>{h||typeof b.Ju!=="number"||clearTimeout(b.Ju);h=!0;Jc(OBR.ib)};return b}();var Ao=class{constructor(){this.pa=window.OBR;this.gj=null;this.init()}init(){this.gj=new this.pa.Db}ag(a,b,c,d){let f=!1;b.innerHTML="";b.shadowRoot&&(f=!0,b.insertAdjacentHTML("beforebegin",b.outerHTML),b.parentElement.removeChild(b),b=d.A({Zb:!0}));this.pa.i.uf(a,b);f&&this.pa.i.bB(d);this.lf(d,c);return b}lf(a,b){this.gj.fire("afterRender",[b],!1,a)}Rk(a){this.pa.logger.log("HTML - render widget");const b=this.pa.i.hO(a.ud());Fj(this,b,a);a.pK()&&OBR.i.bB(a);a.Fe(!0)}aa(){this.gj.Ze()}};
OBR.display=OBR.display||new Ao;var Bo=class{constructor(a){this.Uf=0;this.el(a);this.Fe(!1);Kj(this,a);this.$q=0;this.Oq=null;this.yw=!1}G(){return this.Uf===0?this.ea:1E3*this.Uf+this.ea}el(a){this.ea=a}Go(){return this.Uf}Fo(){return this.$q}Ym(a=1){this.$q+=a}Fe(a){this.kb=!!a}A({Zb:a}={Zb:!1}){this.container&&!a||Kj(this,this.G());return this.container}setData(a){if(a){var b=a.response;if(b){this.Vp=b;const [f,e,h,l,m,g,k,n]=[b.request,b.settings,b.meta,b.data,b.documents,b.viewability_actions,b.timestamp,b.html];f&&(this.requestData=
f);e&&(this.vr=e);h&&this.fl(h);l&&(this.XO=l);m&&(this.Fn=m);k&&(this.timestamp=k);n&&this.ag(n);g&&(this.qf().viewability_actions=g);try{const p=JSON.parse(this.l("prioritizedInjectedWidgets","[]"));Array.isArray(p)&&(this.Oq=new Set(p))}catch(p){}this.hG=!0}else{var [c,d]=[a.odbResponse,a.mvResponse];c&&d?(this.setData(c),this.LG=d):OBR.error({name:"obm-sl",message:"bad sl response"})}}}o(a,b){const c=Lj(this);return Mj(c,a,b)}qf(){this.Nh||(this.Nh={});return this.Nh}X(a,b){const c=this.qf();
return Mj(c,a,b)}fl(a){a&&typeof a==="object"&&(this.Nh=a)}l(a,b){const c=Nj(this);return Mj(c,a,b)}getData(a,b){return Mj(this.XO,a,b)}oh(){return this.timestamp}ag(a){this.html=a}ud(){return this.html||""}Fj(){this.Vp||(this.Vp={});return this.Vp}fe(){return this.LG}hl(a){this.Zq=a}nh(){return this.Zq}tr(a){this.ppids=a}Ao(){return this.ppids}ci(a){this.JE=a;typeof OBR!=="undefined"&&OBR&&OBR.extern&&(OBR.extern.mvString=a)}wj(){return this.JE}get Dp(){return this.yw}qr(a){this.yw=a}Jp(){return this.o("oo",
!1)}get lI(){return this.X("gnrStreamConsumerIdx",null)}dl(a){this.kI=a}zj(){return this.kI}};OBR.Jm=OBR.Jm||function(a){const b={};let c=OBR,d=null,f=null,e=null,h=null,l=!1,m="html",g="nano",k=!1,n=!1,p=!1,r=!1,u=null,t=null,v=null,w=null,x=null,C=null,z=null,E=null,G=null,T=null,U=new OBR.Db,J=-1,R=null,P=null,da,ea=null,fa=!0,ha=!1,ia=null,X=null,ja=null,ra=null,sa=null,Z=null,wa=null,ka=null,Na=null,za=null,Ga=null,Aa=null,Oa=null,Ha=null,Pa=null,aa=null,na=null,oa=null,ta=null,Qa=null,Wa=null,xa=null,ib=null,fc=null,Zh=null,$h=null,ai=null,bi=null,ci=null,di=null,ei=null,Ic={"odb-start":null,
"odb-end":null,"mv-start":null,"mv-end":null,rendered:null},fi=null,gi=!1,hi=!1,ii=null,ji=!1,ki=null,Wd=new Map,li=!1,mi=null,ni=null;b.U=new Bo(a);b.cQ=0;b.bQ=1E3;b.kP=2;b.setData=function(q){b.U.setData(q)};b.Jo=function(){return Nj(b.U)};b.qf=function(){return b.U.qf()};b.fl=function(q){b.U.fl(q)};b.fe=function(){return b.U.fe()};b.l=(q,B)=>b.U.l(q,B);b.X=(q,B)=>b.U.X(q,B);b.zc=(q,B)=>b.U.getData(q,B);b.cH=()=>{var q=b.U;q.Fn||(q.Fn={});return q.Fn};b.Fj=()=>b.U.Fj();b.XH=function(q){return q&&
q.response&&q.response.request&&(q=q.response.request,q=q.tcr)?q:-1};b.o=function(q,B){q=Lj(b.U)[q];return typeof q!=="undefined"&&q!==null?q:B};b.wd=function(q){const B=b.o("obcnsnt",q);return B===!1?!1:B===!0?!0:q};b.GH=()=>Number(b.o("pad",0));b.FH=()=>Number(b.o("org",0));b.$H=()=>{const q=b.GH(),B=b.FH();return isNaN(q)||isNaN(B)?NaN:B+q};b.Ha=()=>b.$H()>0;b.ud=()=>b.U.ud();b.ag=q=>{b.U.ag(q)};b.oh=()=>b.U.oh();b.TN=function(q){b.gl(q.permalink);b.VN(q.widgetId);b.fN(q.dynLoad);b.WN(q.widgetType);
b.PN(q.srcUrl);b.QN(q.testMode);b.UN(q.wizWidget);b.Qz(q.extId);b.aA(q.extId2);b.EN(q.pubImpId);b.Vz(q.installationKey);b.oN(q.installationType);b.PM(q.appVer);b.Lz(q.userId);b.SN(q.videoId);b.tr(q.ppids);b.CN(q.playerSrcId);b.HN(q.rtbEnabled);b.vN(q.num);b.WM(q.cardIdx);b.jN(q.feedFatherIdx);b.Sz(q.feedFatherIdx);b.XM(q.categoryIds);b.mN(q.iabCat);b.iN(q.fId);b.YM(q.clickTrackerUrl);b.nr(q.feedVersion);typeof q.isManualWidget==="boolean"&&b.pN(q.isManualWidget);b.aN(q.contentUrl);b.SM(q.bundleUrl);
b.DN(q.portalUrl);b.ZM(q.consentString);b.$M(q.consentVersion);b.TM(q.ccpaString);b.qN(q.language);b.nN(q.injectorIdx);b.GN(q.qualifyByRPM);b.cN(q.darkModeAttribute);b.Yz(q.psub);b.OM(q.appId);b.gN(q.et);b.mr(q.extraParams);b.tN(q.news);b.uN(q.newsFrom);b.IN(q.rampid);b.AN(q.ostracking);b.bN(q.criteoid);b.qr(q.priority)};b.D=function(){return f};b.VN=function(q){f=typeof q==="string"?q:"NA"};b.vp=function(){return li};b.Mz=function(q){li=q};b.Kv=function(){return mi};b.Nz=function(q){mi=q};b.MH=function(){return ni};
b.BN=function(q){ni=q};b.lN=function(){m="vjapi"};b.Uv=function(){return m};b.Da=function(){return e||za||Ga||Aa};b.gl=function(q){e=q};b.Ko=function(){return G};b.SN=function(q){G=q};b.tr=q=>b.U.tr(q);b.Ao=()=>b.U.Ao();b.ew=function(){return T};b.WM=function(q){J=q};b.hh=function(){return J};b.jN=function(q){R=q};b.yj=function(){return R};b.Sz=function(q){q!==void 0&&q!==null&&(P=c.F[q])};b.io=function(){return sa};b.XM=function(q){sa=q};b.Aj=function(){return Z};b.mN=function(q){q!==""?Z=q:Z=null};
b.O=function(){return P};b.Qv=function(){return b.O()?b.O().o("wnid",null):ka};b.td=function(){return b.O()?b.O().o("abTestVal",null):null};b.po=function(){const q=b.O();return q?q.o("layeredTestInfo",null):null};b.JN=function(q){ia=q};b.Co=function(){return ia};b.LN=function(q){X=q};b.Eo=function(){return X};b.KN=function(q){ja=q};b.Do=function(){return ja};b.zN=function(q){ra=q};b.KQ=function(){return ra};b.DJ=function(){return parseInt(b.hh(),10)>-1};b.QJ=function(){var q=b.o("readerPlatform",
"desktop")==="mobile";const B=b.o("oo",!1)===!0,M=b.l("interactionLayerVariant","none")!=="none"&&b.l("interactionLayerEnabled",!1);q=b.o("readerPlatform","desktop")==="desktop"||q&&b.l("zappingMobileEnable",!1);return!B&&M&&q};b.CN=function(q){T=q};b.QN=function(q){p=q==="true"||q===!0};b.Hj=function(){return p};b.UN=function(q){r=q==="true"||q===!0};b.EK=function(){return r};b.Qz=function(q){u=q;!q&&(q=this.Pv(D("extIdClientObject")),q==null?0:q.length)&&(u=q)};b.Pv=function(q){let B;if(q==null?
0:q.length)B=Rb(q);return B};b.jb=function(){return u};b.aA=function(q){t=q;!q&&(q=this.Pv(D("extIdClientObject2")),q==null?0:q.length)&&(t=q)};b.yc=function(){return t};b.EN=function(q){v=q};b.vd=function(){return v};b.HN=function(q){ha=q};b.qx=function(){return ha};b.NR=function(q){fa=q};b.Fx=function(){return fa};b.vN=function(q){isNaN(q)||(ea=q)};b.Cj=function(){return ea};b.Vz=function(q){w=q};b.oN=function(q){x=q};b.PM=function(q){C=q};b.Lz=function(q){z=q};b.Lb=function(){return z};b.PN=function(q){h=
q};b.kw=function(){return h};b.BJ=function(){return l};b.fN=function(q){l=q==="true"||q===!0};b.zf=()=>b.X("gnr","")!==""&&b.ro();b.Gp=()=>b.l("lightboxFeature",!1)&&b.bx()&&b.so().includes("keystone_lightbox_feature");b.bx=()=>b.so()!==null;b.so=()=>b.X("gnr_features",null);b.ro=()=>{const q=b.X("gnr","");return q&&q.moduleName?q.moduleName:""};b.ow=()=>{const q=b.l("zetaTestVariantName",null);return q?`zeta_var_${q}`:null};b.Uz=q=>{hi=q};b.gx=()=>hi;b.ci=q=>b.U.ci(q);b.wj=()=>b.U.wj();b.Bx=function(){return b.l("stopRater",
!1)===!0||b.l("stopWidget",!1)===!0};b.Qw=function(){return b.U.hG};b.zx=function(){return b.l("isSkylandersInjectionEnabled",!1)===!0};b.Qp=function(){return b.l("isTopBoxInjectionEnabled",!1)===!0};b.Op=function(){return b.l("recMode","").match(/(odb_dynamic_swipe|odb_dynamic_smartfeed-swipe)/)!==null};b.tp=function(){return b.l("recMode","").match(/(odb_dynamic_ad-carousel)/)!==null};b.rK=function(){return b.l("recMode","").match(/(odb_dynamic_single-card-carousel)/)!==null};b.tJ=function(){return b.l("recMode",
"").match(/(odb_dynamic_cards-carousel-box)/)!==null};b.CJ=function(){return b.l("recMode","").match(/(odb_dynamic_cards-carousel|odb_dynamic_text-on-image-carousel)/)!==null};b.cK=function(){return b.l("recMode","").match(/(odb_playableAd)/)!==null};b.aK=function(){return b.l("isParallax",!1)};b.MJ=function(){return b.l("gridCarouselEnabled",!1)};b.Ex=function(){return b.l("recMode","").match(/(odb_timeline)/)!==null};b.Uj=function(){return b.l("recMode","").match(/(odb_dynamic_display)/)!==null};
b.Gx=function(){return b.l("recMode","").match(/(odb_dynamic_video-reel)/)!==null};b.yh=function(){return b.l("recMode","").match(/(odb_dynamic_grid)/)!==null};b.Bc=function(){return b.l("recMode","").match(/(odb_dynamic_reel)/)!==null};b.iK=function(){return b.Bc()&&b.l("isReelV2",!1)};b.zp=function(){return b.l("exploreMoreWidgetId",null)!==null};b.Pz=function(){ji=!0};b.me=function(){const q=b.A();return q&&q.hasAttribute("data-ob-explore-more")||ji};b.yh=function(){return b.l("recMode","").match(/(odb_dynamic_grid)/)!==
null};b.Cp=function(){const q=b.A();return!(!q||!OBR.i.H(q).querySelector("div.ob-widget.ob-grid-layout"))};b.lx=function(){return b.l("recMode","").match(/(odb_dynamic_multi-columns)/)!==null};b.nJ=function(){return b.l("recMode","").match(/(odb_dynamic_app-card)/)!==null};b.Hx=function(){return b.l("IsWidgetInjector",!1)===!0};b.Na=function(){return!b.EK()&&b.l("isSmartFeedInjectionEnabled",!1)===!0};b.FJ=function(){var q=b.A();q=q&&q.parentNode;return b.l("isFloatingScrollEnabled",!1)&&OBR.g.K&&
b.Na()&&q};b.yK=function(){return b.l("isUIExperimentsEnabled",!1)===!0};b.Tc=function(){return b.X("isShadowDomEnabled",!1)===!0||b.X("isShadowDomEnabled",!1)==="true"};b.Lx=function(){const q=b.A();return q&&!!q.shadowRoot};b.pK=function(){return b.l("isShadowDomEnabled",!1)&&!b.Ww()&&(b.yh()||b.lx())};b.xj=()=>b.l("darkModeClass","");b.Gh=function(){return b.X("isSingleAnimationOnFeedAbTestEnabled",!1)===!0};b.wx=function(){const q=b.O();return q&&q.EJ()};b.EJ=function(){return gi};b.pr=function(){gi=
!0};b.RQ=function(){return g};b.Nb=function(){return w};b.ac=function(){return x};b.$b=function(){return C};b.WN=function(q){typeof q==="string"&&(g=q.toLowerCase())};b.YM=function(q){try{const B=document.createElement("a");B.href=q;const M=B.host&&B.host!==window.location.host;q&&M&&(wa=q)}catch(B){}};b.Mb=function(){return wa};b.aH=function(){return bi};b.$G=function(){return ai};b.VM=function(q){bi=q};b.UM=function(q){ai=q};b.Wz=function(q){da=q};b.Kp=function(){return da};b.nr=function(q){Na=
q};b.ee=function(){return Na};b.Ww=function(){return(b.ee()||b.o("feedVersion"))==="2"};b.aN=function(q){za=q};b.wc=function(){return za};b.SM=function(q){Ga=q};b.uc=function(){return Ga};b.DN=function(q){Aa=q};b.xc=function(){return Aa};b.ub=function(){const q=b.O();return!!(this.uc()||this.wc()||this.xc())||(q==null?void 0:q.ub())};b.ko=function(){const q=b.O();return Oa||(q==null?void 0:q.ko())};b.ZM=function(q){Oa=q};b.vj=function(){const q=b.O();return Ha||(q==null?void 0:q.vj())};b.TM=function(q){Ha=
q};b.Hv=function(){const q=b.O();return Pa||(q==null?void 0:q.Hv())};b.$M=function(q){Pa=q};b.Yz=function(q){ta=q};b.ge=function(){const q=b.O();return ta||(q==null?void 0:q.ge())};b.OM=function(q){Qa=q};b.Fv=function(){return Qa};b.qN=function(q){aa=q};b.pf=function(){return aa};b.nN=function(q){na=q};b.wH=function(){return na};b.GN=function(q){oa=q};b.OH=function(){return oa};b.cN=q=>{fi=q};b.lo=()=>fi;b.gN=function(q){Wa=b.Dd()?!!q:!0};b.Ov=function(){return Wa};b.iN=function(q){ka=q};b.mr=function(q){xa=
q};b.sd=function(){return xa};b.tN=function(q){E=q};b.yo=function(){return E};b.uN=function(q){ib=q};b.$v=function(){return ib};b.MN=function(q){ii=q};b.rf=function(){return ii};b.IN=function(q){fc=q};b.OQ=function(){return fc};b.AN=function(q){Zh=q};b.LQ=function(){return Zh};b.bN=function(q){$h=q};b.EQ=function(){return $h};b.kb=function(){return b.U.kb};b.qH=()=>b.o("fCard",void 0);b.cw=()=>{const q=b.O()||b;return q&&q.l("onyxFeedMode","None")};b.KH=()=>b.l("OnyxServingMode");b.mx=()=>{const q=
b.KH();return q&&q!=="non_onyx"};b.gI=()=>b.l("widgetPositionControl","None");b.sK=()=>b.l("skipCardRenderIfTimePassed",0);b.Fe=function(q){b.U.Fe(q)};b.Dd=function(){return k};b.ZJ=function(){return a===0||k||!OBR.g.Ed||n||OBR.g.Ed&&b.jk()};b.xN=function(){n=!0};b.pN=function(q){k=!!q};b.dA=function(){var q=b.o("lsd",null),B=b.o("oo",!1)===!0,M=typeof q==="string"&&q.length>0,Ba=OBR._jsc.A.Dm,Kb=OBR._jsc.A.Em,Lb=c.oa.tb&&b.o("gdpr","0")+""==="1";Lb=!Lb||Lb&&b.aw();!B&&M&&Lb?(c.i.W(Ba,null)!==q&&
c.i.Ea(Kb,(new Date).getTime()),c.i.Ea(Ba,q)):Lb||(c.i.Yd(Ba),c.i.Yd(Kb))};b.aw=()=>b.wd(!0);b.hc=()=>{const q=b.o("gdpr","0")+""==="1";return!q||q&&b.aw()};b.FN=()=>{if(b.G()===0){const q=OBR.g.publisherLoginIndication;OBR.g.publisherSubscriptionSelector&&q&&!OBR.g.Wh&&(OBR.g.Wh=OBR.i.gw())}};b.Tz=function(){var q=b.o("clss",null);q&&(c.fraudDetection.lr=encodeURIComponent(q));if(b.G()===0){q=OBR._jsc.A.GB;var B=OBR._jsc.A.ys,M=b.l("fraudDetection",0),Ba=b.l("cheqCallTimeout",500);c.i.Ea(q,M);
M&&c.i.Ea(B,Ba)}};b.LH=function(){const q=b.yj();return q?q:b.G()};b.G=function(){return b.U.G()};b.nM=function(q){typeof q==="string"?(OBR.i.Zf(OBR.i.A(b.U.G()),"data-src",q),b.gl(q),b.U.Uf=1):(q=b.U,q.Uf+=1);b.Fe(!1)};b.Go=function(){return b.U.Go()};b.Fo=function(){return b.U.Fo()};b.Ym=function(q){b.U.Ym(q)};b.hh=()=>{const q=b.A();return q?q.getAttribute("data-card-idx"):null};b.A=({Zb:q}={Zb:!1})=>b.U.A({Zb:q});b.nw=()=>{var q=b.A();if(q)return(q=OBR.i.H(q))&&q.children?q.children[0]:null};
b.LR=q=>{d=q};b.ih=({Zb:q}={Zb:!1})=>{if(d&&!q)return d;if(q=b.A(q))return q.clientWidth===0?(q.style.width="100%",b.eH(q)):d=q.clientWidth};b.eH=q=>{let B=0;q=q.parentElement;try{for(;q&&B<100;){if(q.clientWidth!==0)return q.clientWidth;q=q.parentElement;B++}}catch(M){OBR.error({name:"obm-noContainerWidth",message:`Container width not found: ${M}`})}return 0};b.hl=q=>{b.U.Zq=q};b.nh=()=>b.U.Zq;b.Nc=()=>{if(b.Dd()){var q=b.U.nh();return q?q.Nc():null}try{q=b.A();if(!q)return null;const B=b.getBoundingClientRect();
if(B.top>=0&&B.left>=0&&B.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&B.right<=(window.innerWidth||document.documentElement.clientWidth))return 0;if(B.top>=-q.offsetHeight)return Math.floor(B.top-document.documentElement.clientHeight);const M=b.Dj(),Ba=M&&M.height,Kb=M&&M.y;return Ba&&Kb?Math.floor(Ba+Kb-document.documentElement.scrollTop):null}catch(B){return null}};b.getBoundingClientRect=()=>{const q=b.A();if(q)return q.getBoundingClientRect()};b.Dj=q=>{if(b.Dd()){var B=
b.U.nh();return B?B.Dj(q):null}try{if(b.A()){B=b.getBoundingClientRect();const M={x:Math.floor(B.left+(window.pageXOffset||document.documentElement.scrollLeft)),y:Math.floor(B.top+(window.pageYOffset||document.documentElement.scrollTop)),height:Math.abs(Math.floor(B.height)),width:Math.abs(Math.floor(B.width))};return q?M[q]:M}return null}catch(M){return null}};b.Vc=()=>b.l("dynamicWidgetDirection","LTR").toUpperCase()==="RTL";b.TJ=()=>OBR.g.uw&&!b.Vc()&&b.yh();b.Sr=()=>b.l("skeletonType",null)===
"client";b.zI=()=>b.X("clips",0)===1;b.UR=(q,B)=>{if(q=document.querySelector('[data-orig-idx="'+q+'"]'))q.id=OBR.g.Il+B,c.i.Zf(q,"data-idx",B),b.el(B),a=B};b.el=q=>{b.U.el(q)};b.oQ=q=>{let B=tl(OBR.g.Il+q);B&&(B.removeAttribute("id"),B.removeAttribute("data-idx"),B.setAttribute("data-orig-idx",q))};b.Xv=()=>b.X("leadForms",null);b.MQ=()=>b.X("paidLabel",null);b.tH=()=>b.X("hasRTB",!1);b.DI=()=>!!b.Xv();b.Ax=()=>b.l("recMode","").match(/(odb_dynamic_stack-card)/)!==null;b.ck=()=>b.l("recMode","").match(/(odb_dynamic_read-next)/)!==
null;b.Rp=()=>b.o("vid",0)!==0;b.YN=()=>{var q=OBR.g.tj;if(q&&q[b.D()])return q[b.D()]==="1"||q[b.D()]==="2";q=Hg(b);return b.Rp()&&!b.Bc()&&!b.ck()&&!q};b.Zw=()=>{const q=b.sd(),B=OBR.g.fG;return q&&q.includes("dark-mode")&&B};b.Ta=()=>{const q=b.Zw(),B=b.lo();return typeof B!=="undefined"?B===!0:!!c.i.Ta()||!!q};b.xf=()=>b.lo()===!0;b.kh=()=>{if(!OBR.settings||!OBR.settings.darkModeQuery)return null;var q=OBR.settings.darkModeQuery!=="body"&&OBR.settings.darkModeQuery;return(q=q?q:b.l("darkModeQuery",
null))&&document.querySelector(q)};b.yI=()=>{var q=b.A();const B=b.qf();if(q&&B&&B.listings){q=Array.from(OBR.i.H(q).querySelectorAll(".ob-dynamic-rec-container"));for(let M=0;M<q.length;M++){const Ba=q[M].getAttribute("data-pos");if(B.listings[Ba]&&B.listings[Ba].clickPixels)return!0}}return!1};b.TH=()=>b.l("recsTarget",null);b.rM=q=>{U.add("widgetOdbCallFailed",q)};b.GG=()=>{U.fire("widgetOdbCallFailed",[])};b.$z=q=>{ci=q};b.jw=()=>ci;b.kN=q=>{di=q};b.rH=()=>di;b.Sv=()=>b.l("feedMaxHeight");b.Fp=
()=>{const q=b.A();return q&&q.hasAttribute("data-ob-lazy-render")};b.Tp=()=>b.Fp()&&!b.kb();b.Rz=q=>{ei=q};b.pH=()=>ei;b.bA=q=>{Ic.hasOwnProperty(q)&&(Ic[q]=Date.now())};b.lw=q=>{if(Ic.hasOwnProperty(q))return Ic[q]};b.nK=()=>b.l("isSafeFrameEnabled",!1);b.jk=()=>{const q=b.A();return q&&q.hasAttribute("data-ob-prefetch")};b.Jn=null;b.JJ=()=>Number(b.l("fraudHandling",0))>0;b.Ya=(q,B={})=>{b.l("exploreMoreBiEvents",!1)&&(b.Jn||(b.Jn=new OBR.dataBI(b,M=>M.Ga)),b.Jn.fire(q,B,{method:OBR.g.da.ob}))};
b.Oz=function(){b.C=new Rm(this)};b.FQ=function(){return ki};b.rN=function(q){ki=q};b.hl=q=>{b.U.hl(q)};b.nh=()=>b.U.nh();b.VJ=()=>{let q;return b.l("isMraidAd",!1)||!!OBR.g.sj||!((q=OBR.g.vg)==null||!q.get("mraidEnabled"))};b.$J=()=>{const q=b.zc("display",{});return OBR.g.ma&&("om"in q||OBR.g.xv===b.hh())};b.Gj=()=>{const q=b.O();return b.o("resolvedUrl",null)||(q==null?void 0:q.Gj())};b.AI=q=>Wd.has(q);b.mH=q=>Wd.get(q);b.hN=(q,B)=>{Wd.set(q,B)};b.qr=q=>b.U.qr(q);b.Dp=()=>b.U.Dp;b.ox=q=>b.U.Oq?
b.U.Oq.has(q):!1;b.Jp=function(){return b.U.Jp()};b.Wv=()=>b.U.lI;b.dl=q=>{b.U.dl(q)};b.zj=()=>b.U.zj();return b};
OBR.si=OBR.si||function(){let a=OBR,b={},c=new a.Db;b.un=function(f){f.idx=f.idx||0;const e=new a.Jm(f.idx);e.TN(f);return e};b.Jg=function(f,e){let h;const l=a.Fa.Fu(f);a.i.Zf(f,"data-dynLoad","");l.permalink=a.Fa.MG(l.permalink);["contentUrl","bundleUrl","portalUrl"].forEach(m=>{typeof l[m]!=="undefined"&&(l[m]=a.Fa.NG(l[m]))});e=d(l,e);l.idx=e;h=b.un(l);a.F[e]=h;a.i.Zf(f,"data-idx",e);a.g.wv(l);e===0&&a.i.WF(f);f.id=a.g.Il+e;c.fire("onWidgetCreate",[h]);return h};const d=(f,e)=>{if(e)return e;
if(window.OBBridge&&window.OBBridge.t&&window.OBBridge.idx)return window.OBBridge.idx;if(a.F.length!==0||a.g.Id!==f.permalink&&a.g.jq!==!0){if(a.F.length>1E3&&([f]=a.F.slice(-1),f&&(f=f.O()))){for(f=f.G()+1;f<a.F.length&&a.F[f];)f++;return f}return a.F.length}return 1};b.tR=function(f){c.add("onWidgetCreate",f)};return b}();
OBR.Fa=OBR.Fa||function(){let a=OBR,b={rb:{widgetId:{a:"data-widget-id",t:"string"},permalink:{a:"data-src",t:"string"},srcUrl:{a:"data-ob-srcUrl",t:"string"},dynLoad:{a:"data-dynLoad",t:"boolean"},widgetType:{a:"data-widget-type",t:"string"},testMode:{a:"data-ob-test",t:"boolean"},wizWidget:{a:"data-ob-wiz",t:"boolean"},installationKey:{a:"data-ob-installation-key",t:"string"},userId:{a:"data-ob-user-id",t:"string",n:!0},ppids:{a:"data-ppids",t:"string",n:!0},videoId:{a:"data-ob-video-id",t:"string"},
playerSrcId:{a:"data-ob-player-src-id",t:"string"},installationType:{a:"data-ob-installation-type",t:"string"},appVer:{a:"data-ob-app-ver",t:"string"},isSecured:{a:"data-is-secured",t:"boolean"},extId:{a:"data-external-id",t:"string"},extId2:{a:"data-external-secondary-id",t:"string"},pubImpId:{a:"data-pub-imp-id",t:"string"},rtbEnabled:{a:"data-rtb-enabled",t:"boolean"},va:{a:"data-va",t:"boolean"},num:{a:"data-num-of-recs",t:"string"},cardIdx:{a:"data-card-idx",t:"string"},feedFatherIdx:{a:"data-feed-father-idx",
t:"string"},categoryIds:{a:"data-category-ids",t:"string"},iabCat:{a:"data-iab-category",t:"string"},fId:{a:"data-fId",t:"string"},clickTrackerUrl:{a:"data-click-url",t:"string"},feedVersion:{a:"data-feed-version",t:"string"},contentUrl:{a:"data-ob-contentUrl",t:"string",e:!0},bundleUrl:{a:"data-ob-bundleUrl",t:"string",e:!0},portalUrl:{a:"data-ob-portalUrl",t:"string",e:!0},language:{a:"data-ob-language",t:"string"},injectorIdx:{a:"data-ob-injector-idx",t:"string"},qualifyByRPM:{a:"data-ob-qualify-by-RPM",
t:"string"},psub:{a:"data-ob-psub",t:"string"},appId:{a:"data-ob-app-id",t:"string"},et:{a:"data-et",t:"boolean"},extraParams:{a:"data-extra-params",t:"string"},consentString:{a:"data-consent-string",t:"string"},ccpaString:{a:"data-ccpa-string",t:"string"},consentVersion:{a:"data-consent-version",t:"string"},adblock:{a:"data-ob-adblock",t:"string",e:!0},darkModeAttribute:{a:"data-dark-mode",t:"string"},news:{a:"data-on-news",t:"string"},newsFrom:{a:"data-on-newsFrom",t:"string"},ostracking:{a:"data-os-tracking",
t:"string"},rampid:{a:"data-ob-ramp-id",t:"string"},criteoid:{a:"data-ob-criteo-id",t:"string"},uuid20:{a:"data-ob-uu-id2",t:"string"},hemsha256:{a:"data-ob-hemsha256-id",t:"string"},hemmd5:{a:"data-ob-hemmd5-id",t:"string"},hemsha256md5:{a:"data-ob-hemsha256md5-id",t:"string"},priority:{a:"data-ob-priority",t:"boolean"}},sf:function(c){let d,f,e;if(a.F)for(f=a.F.length,d=0;d<f;d+=1)if((e=a.F[d])&&e.D()===c)return e;return null},xd:function(c){return a.F[c]?a.F[c]:null},fI:function(c){if(!a.F)return null;
for(const d in a.F)if(a.F[d].MH()===c)return a.F[d];return null},aG:function(c){let d={};for(let f in b.rb)b.rb.hasOwnProperty(f)&&typeof c[f]===b.rb[f].t&&(d[f]=c[f],f==="adblock"&&OBR.g.Qn.il(c.adblock));return d},Fu:function(c){let d={};for(let f in b.rb)if(b.rb.hasOwnProperty(f)){let e=a.i.gh(c,b.rb[f].a);e==="true"||e==="false"?(d[f]=e==="true",f==="adblock"&&OBR.g.Qn.il(e)):typeof e!==b.rb[f].t||b.rb[f].n!==!0&&e==="null"||e===""&&b.rb[f].e!==!0||(d[f]=e)}return d},sv:function(c){c=typeof c!==
"string"?a.i.wo():c;c=typeof c==="string"&&(c.length===0||c.includes("DROP")||c==="null"||c.includes("INSERT"))?a.i.wo():c;c=c.startsWith("//")?a.g.za.replace("//","")+c:c;return c=!c.includes("?")&&c.toLowerCase().includes("%3f")?decodeURIComponent(c):c},MG:function(c){c=b.sv(c);window.location.hostname==="www.msn.com"&&(c=a.i.wo());return c},NG:function(c){return c=b.sv(c)},VF:function(c,d){for(let f in b.rb)b.rb.hasOwnProperty(f)&&typeof c[f]===b.rb[f].t&&a.i.Zf(d,b.rb[f].a,c[f])},CQ:function(){let c,
d=[];for(c=0;c<a.F.length;c++)d.push(a.F[c].D());return d}};return b}();var Co;Co=typeof window.OB_amp!=="undefined";
OBR._jsc.Do=class{constructor(){this.jd=OBR;this.nb={height:0,width:0};this.Zm=null;this.yk={QR:-1,rO:-1,WR:-1,XR:-1};this.Wp=0;this.Iu=300;this.Vh=null;this.Mw=kb(lb,Ml);Pj(this)}Ee(a){this.jd=a}fi(){this.nb={height:window.innerHeight&&document.documentElement.pQ?Math.min(window.innerHeight,document.documentElement.clientHeight):window.innerHeight||document.documentElement.clientHeight,width:window.innerWidth&&document.documentElement.clientWidth?Math.min(window.innerWidth,document.documentElement.clientWidth):
window.innerWidth||document.documentElement.clientWidth}}Si(a,b,c){if(!a||b<0||b>100)return!1;c||(c={top:0,bottom:0});if(Co){c=this.Zm;if(!c)return!1;var d=Sj(a,c);a=Tj(d,c);return(b=a.height>=0&&a.width>=0&&Math.max(1,Math.round(Math.min(d.height,c.rootBounds.height)*b/100)))&&a.height>=b}a=a.getBoundingClientRect();d=this.nb.height;a={top:a.top-c.top,height:a.height+c.bottom,bottom:a.top+a.height+c.bottom};b=Math.round(a.height*b/100)||1;b=b>d?d-1:b;return a.top+b<=d&&a.bottom-b>=0}Bd(a,b,c,d){if(OBR.g.yk)return Oj(this,
a)>=b/100;if(Co){d=this.Zm;if(!d)return!1;a=Sj(a,d);d=Tj(a,d);d=d.width*d.height}else c=a=a.getBoundingClientRect(),d=d?d.getBoundingClientRect():{top:0,left:0,width:Math.max(document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight,window.innerHeight||0)},d=(Math.min(c.width+c.left,d.width+d.left)-Math.max(c.left,d.left))*(Math.min(c.height+c.top,d.height+d.top)-Math.max(c.top,d.top));return d/(a.width*a.height)>=b/100}};
OBR._jsc.Do.prototype.Mv=ca(1);OBR._jsc.Do.prototype.Lo=ca(0);OBR.fa=OBR.fa||new OBR._jsc.Do;OBR.IntersectionObserver=OBR.IntersectionObserver||function(){class a{constructor(b){this.Qb=null;this.In=!1;this.Cl=null;this.config={callback:()=>{},callbackParams:[],element:null,intersectPercentage:0,scrollDimmer:200,unobserve:!1,threshold:[1],rootMargin:"0px"};this.jD(b)}jD(b){b&&(this.config=Object.assign(this.config,b),this.config.callbackParams=this.config.callbackParams||[])}xD(){const b={rootMargin:this.config.rootMargin,threshold:this.config.threshold};this.config.root&&(b.root=this.config.root);
this.Cl=new window.IntersectionObserver(this.yD.bind(this),b);this.Cl.observe(this.config.element);return this.Cl}yD(b,c){if(!this.config)c.disconnect();else if(this.rt())c.unobserve(this.config.element),c.disconnect();else if(b)for(const d in b)if(b[d]&&b[d].intersectionRatio>this.config.intersectPercentage&&(this.config.callback.call(this,...this.config.callbackParams,b[d],this),this.config.unobserve)){c.unobserve(b[d].target);c.disconnect();break}}rt(){return this.config&&this.config.element?this.config.element.getRootNode&&
this.config.element.getRootNode().mode?!1:!document.documentElement.contains(this.config.element):!0}BD(){const b=this.config.checkAbsoluteVisibility?OBR.fa.Bd:OBR.fa.Si;if(this.In)this.In=!1;else{const c=this.config.intersectPercentage;b.call(OBR.fa,this.config.element,c>=0&&c<=1?c*100:c,this.config.rootMarginObj,this.config.root)&&(this.In=!0,this.config.callback.apply(this,this.config.callbackParams),this.config.unobserve&&OBR.i.Vf("scroll",this.Bk))}}ut(){this.rt()?OBR.i.Vf("scroll",this.Bk):
this.Qb||(this.BD(),setTimeout(()=>{this.Qb=!1},this.config.scrollDimmer),this.Qb=!0)}GL(){const b=this.config.rootMargin.split(" ");this.config.rootMarginObj={top:parseInt(b[0]),right:parseInt(b[1]||b[0]),bottom:parseInt(b[2]||b[0]),left:parseInt(b[3]||b[0])}}unobserve(){OBR.g.Vo?this.Cl.disconnect():window.removeEventListener("scroll",this.Bk);this.config=null}observe(){if(!this.config||!this.config.element)return null;if(OBR.g.Vo)return this.xD();this.GL();this.Bk=this.ut.bind(this);OBR.i.Yb(window,
"scroll",this.Bk);this.ut();return this}}return a}();var Eo=class{Ad(a){return new OBR.IntersectionObserver(a)}ha(a){return OBR.F[a]}protocol(){return OBR.g.za}createElement(a){return OBR.i.createElement(a.type,a.id,a.css,a.attributes)}mj(){return new OBR.mj}log(a){OBR.logger.log(a)}Ok(a){OBR.qb.Ok(a)}ho(){return OBR.qb.ho()}Mo(){return OBR.qb.Mo()}Ik(a){return OBR.i.Ik(a)}ki(a){return OBR.i.ki(a)}},O=new Eo;var Fo=class{constructor(){this.sc={ready:0,Nr:6,stopped:7};this.Qb=!1;this.Me=[];this.lg={};this.Qg=O.mj();this.Uc=this.Nt=!1;this.IM=200;bk(this);ck(this);this.startTime=(new Date).getTime();ek(this);const a=OBR.g.fw();if(typeof a==="string"?a==="true":a)O.log("Suspension activated - all impression pixels stopped"),this.Uc=!0;this.Ua=[];this.Dl=new Map;this.$k=this.$k.bind(this)}$k(a){if(!a.SO&&!a.gx()){const b=a.G();this.Me[b]||(this.Me[b]=a.A());O.Ad({callback:this.qh.bind(this),callbackParams:[a.G()],
element:a.A(),unobserve:!0,threshold:[0]}).observe()}}Zk(){this.Me.forEach((a,b)=>{a!==void 0&&a&&OBR.fa.Si(a,0)&&this.qh(b)})}aa(){this.Qb=!1;this.Me=[];this.lg={};this.Qg=O.mj();this.startTime=(new Date).getTime();this.qj=!1;this.Ua.forEach(a=>a.unobserve());this.Ua=[];this.Uc=!1}qh(a){if(OBR.F){var b=O.ha(a);if(this.Me[a]||b&&Xj(b)){b=O.ha(a);if(!b)return a;b.SO=!0;Vj(b);this.Me[a]=null;ik(this,a)}return a}}ar(){this.Uc&&(O.log("Suspension removed - Start full check for stats"),this.Uc=!1,Object.keys(this.lg).forEach(a=>
{(a=O.ha(a))&&mh(this,a)}),dk(this))}};OBR.Ab=OBR.Ab||new Fo;var Go=class{constructor(){this.JD=".,-_' "}};OBR.Tu=new Go;var Ho=OBR.g.Bq+"loggerServices/dwce_cheq_events",Io=class{ld(a){a=Object.assign({timestamp:+new Date,sessionId:OBR.fraudDetection.VG,url:OBR.fraudDetection.lj,cheqSource:1},a);OBR.qa.send(OBR.g.da.Eb,Ho,a)}},ok=new Io;var Jo=class{constructor(){this.timeout=!1;OBR.i.W(OBR._jsc.A.ys,500)}Gi(a){OBR.logger.log("Adding Cheq monitoring tag");{const c={};let d,f;if((d=window)==null?0:(f=d.location)==null?0:f.href)c.page_url=encodeURI(window.location.href);a&&(c.publisher_id=a.o("pid","0"),c.source_id=a.o("sid","0"),c.pv_id=a.o("pvId","-1"));c.app=OBR.g.ma?"1":"0";if(Object.keys(c).length===0)var b="";else try{b=JSON.stringify(c)}catch(e){b=""}}a=b;b=document.createElement("script");b.className="ct_clicktrue_94888";
b.setAttribute("data-jsonp","OBR.extern.onCheqResponse");a.length>0&&b.setAttribute("data-ch",a);b.src="https://ob.brilliantchap.com/i/674ef2f97b780fb53e1c2cddf38dbf22.js";document.getElementsByTagName("head")[0].appendChild(b)}};var nk=`https://tcheck.${OBR.g.AL}/tcheck/check`;var Ko=class{constructor(){OBR.logger.log("FD Process started");this.VG=qk();this.yv=new OBR.Db;this.zv=!1;this.qu=0;this.al=this.lr=this.vu=this.yR=null;a:{var a=document.querySelector(".OUTBRAIN");if(a&&(a=a.getAttribute("data-src")))try{var b=decodeURIComponent(a);break a}catch(c){}b=void 0}b||(b=(b=document.querySelector('meta[property="og:url"]'))?b.getAttribute("content"):null);b||(b=(b=document.querySelector("link[rel='canonical']"))?b.getAttribute("href"):null);b=b||window.location.href;a=
document.createElement("a");a.href=b;this.lj=a.hostname;this.kx=!1;this.j=null}Gi(a){this.kx||(this.kx=!0,Hb()&&(this.j=a,a=OBR.i.W(OBR._jsc.A.$s,null),a!==null?a==="2"&&OBR.vs.Gi(this.j):pk().then(b=>{b=b?"2":"0";OBR.i.Ea(OBR._jsc.A.$s,b);b==="2"&&OBR.vs.Gi(this.j)}).catch(b=>OBR.logger.log("FD call TCheck failed with error: "+b.type))))}};if(!OBR.fraudDetection){OBR.fraudDetection=new Ko;OBR.vs=new Jo;var Lo=OBR.fraudDetection;Lo.zv=!0;Lo.yv.fire("onFDStatusReady");OBR.logger.log("FD finished")};var Mo=a=>{if(a&&(a=a.A())){var b=["ob-dynamic-rec-container"].map(c=>`.${c}`).join(",");return[].slice.call(OBR.i.H(a).querySelectorAll(b))}},No=a=>{if(!a)return null;const b=".ob-rec-image-container .ob-rec-text .ob-rec-source .ob-rec-description .ob-grid-button-container .ob-rec-logo .ob-rec-date .ob-rec-author".split(" ").reduce((c,d)=>a.querySelector(d)?c+"1":c+"0","");return b?b:null},Oo=a=>{if(a)return[a.A()]};var Po=class{constructor(){this.startTime=Date.now();this.ij=[];this.pG=`${OBR.g.Bq}api/loggerBatch/log-viewability`}clearTimeout(){this.Rd&&(clearTimeout(this.Rd),this.Rd=null)}log(a,b){var c=+b.getAttribute("data-pos");c={timeElapsed:Date.now()-this.startTime,requestId:a.o("req_id",null),position:c,renderables:No(b)};var d,f=(d=OBR.i.H(b))==null?void 0:d.querySelector(".ob-rec-image-container"),e;d=(e=OBR.i.H(b))==null?void 0:e.querySelector(".ob-rec-image-container img");f&&(c.imageHeight=f.offsetHeight,
c.imageWidth=f.offsetWidth);d&&(e=ej(d.src))&&(c.iu=e.iu);if(d=b.querySelector("a.ob-dynamic-rec-link"))e=d.getAttribute("data-rec-en-did"),d=d.getAttribute("data-adv-id"),e&&(c.recdid=e),d&&(c.advid=d);e=a.o("oo",null);d=a.o("lsd",null);f=a.wd(!0);e&&(c.oo=e);f&&!e&&d&&(c.lsd=d);try{const l=OBR.i.H(b).querySelector(".ob-rec-text"),m=OBR.i.H(b).querySelector(".ob-rec-source"),g=OBR.i.H(b).querySelector(".ob-rec-description");l&&(c.titleLength=l.innerHTML.length);m&&(c.sourceLength=m.innerHTML.length);
g&&(c.descLength=g.innerHTML.length)}catch(l){}this.ij.push(c);this.ij.length>=10?(this.clearTimeout(),this.Vn()):this.Rd||(this.Rd=setTimeout(this.Vn.bind(this),1200));let h;if((h=a.O())==null?0:h.me())this.clearTimeout(),this.Vn();Zd(a.C)}Vn(){this.Rd=null;if(this.ij.length){var a=this.ij.splice(0);if(a&&a.length){const b=this.pG;OBR.g.tl?navigator.sendBeacon(b,JSON.stringify(a)):Vb({url:b,data:a,method:OBR.g.da.rm,FO:!0})}else OBR.error(Error("Failed to send viewability data"))}}};var Qo={qn:!1},Ro=class{constructor(){this.PO=new Po;this.nc=this.nc.bind(this);this.yp=this.yp.bind(this);this.Dc=this.Dc.bind(this);this.hI=Mo;this.ph=Oo;this.Ua=[]}yp(a){return a.l("listingsViewability",!0)}nc(a,b){if(this.yp(a)){var c=Object.assign({},Qo);b&&Object.assign(c,b);a.MA=c;c.sk||(b=a.MA.qn?this.ph(a):this.hI(a))&&b.length>0&&this.Dc(a,b)}}observe(a,b){a=new OBR.IntersectionObserver({threshold:[.5],unobserve:!0,intersectPercentage:.5,callback:(c,d,f,e)=>this.pp(c,d,e),callbackParams:[a,
b],element:b,checkAbsoluteVisibility:!0});this.Ua.push(a);a.observe();return a}Dc(a,b){return b.map(c=>this.observe(a,c))}pp(a,b,c){setTimeout(()=>{if(OBR.fa.Bd(b,50)){this.PO.log(a,b);this.aa([c]);const d=a.MA;d.zq&&d.zq(a,b,c)}else this.observe(a,b)},1E3)}aa(a){const b=a||this.Ua;b.forEach(c=>c.unobserve());this.Ua=this.Ua.filter(c=>b.indexOf(c)===-1)}};OBR.Ka||(OBR.Ka=new Ro);var So=a=>OBR.i.Bb(`<div class="ob-explore-more-close-btn">
          <style>${a}</style>
          <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30" fill="none">
            <path d="M9.30786 7.99638C8.94088 7.72402 8.42005 7.75421 8.08717 8.087C7.72101 8.45308 7.72093 9.04667 8.087 9.41283L13.6728 15L8.087 20.5872C7.72093 20.9533 7.72101 21.5469 8.08717 21.913C8.42005 22.2458 8.94088 22.276 9.30786 22.0036L9.413 21.9128L14.9988 16.3263L20.5872 21.913C20.92 22.2458 21.4409 22.276 21.8079 22.0036L21.913 21.9128C22.2458 21.58 22.276 21.0591 22.0036 20.6921L21.9128 20.587L16.3244 15L21.9128 9.413L22.0036 9.30786C22.276 8.94088 22.2458 8.42005 21.913 8.08717L21.8079 7.99638C21.4409 7.72402 20.92 7.75421 20.5872 8.087L14.9988 13.6737L9.413 8.08717L9.30786 7.99638Z" fill="#151E41"/>
          </svg>
        </div>`.trim()),Wo=(a,b)=>{var c=OBR.F.filter(f=>f).find(f=>f.D()===a.widgetId);if(c!=null&&c.l("exploreMoreCloseButton",!1)&&(c=c.A(),c=To(c,a.widgetId))){var d;(d=a.K?Uo(c):Vo(c))==null||d.addEventListener("click",()=>b())}},To=(a,b)=>{const c=a.querySelector(".ob-widget-header");if(!c){let d;return(d=a.closest(`.${b}`))==null?void 0:d.querySelector(".ob-widget-header")}return c},Uo=a=>{const b=So(".ob-widget #ob-explore-more-close-btn .ob_what.ob_what_resp \n    {display: flex;align-items: center;gap: 3px;}\n    .ob-explore-more-close-btn::before {content: '';position: absolute;width: 44px;height: 44px;transform: translate(-4px, -5px);}"),
c=a==null?void 0:a.querySelector(".ob_what.ob_what_resp");a==null||a.setAttribute("id","ob-explore-more-close-btn");c?c.append(b):a==null||a.append(b);return b},Vo=a=>{const b=So(".ob-explore-more-close-btn {position: absolute;align-self: center;right: 24px;cursor: pointer;}");a==null||a.append(b);return b};var Xo=class{constructor(a,b){this.tc=b;this.Cf=!1;this.Xd=this.cc=this.Gc=null;let c;this.container=(a==null?void 0:(c=a.detail)==null?void 0:c.container)||null;this.Bf=!1}static get GC(){return"\n      .teads-takeover-ad {\n        height: 100vh;\n        width: 100vw;\n        align-content: center;\n      }\n      \n      #ob-explore-more:has(.teads-takeover-ad) {\n        --ob-em-explore-more-bg-color: transparent;\n        backdrop-filter: blur(5px);\n        transition: backdrop-filter 500ms ease-in-out;\n      }\n      \n      #ob-explore-more:has(.teads-takeover-ad).scroll-down-mode {\n        --ob-em-explore-more-bg-color: var(--ob-em-explore-more-bg-color-original, #fff);\n        backdrop-filter: none;\n      }\n      \n      .teads-ui-components-label {\n        background: var(--ob-em-explore-more-bg-color-original);\n      }\n    "}init(){if((this.Gc=
this.container)&&this.tc){const a=document.createElement("style");a.id="teads-takeover-styles";a.textContent=Xo.GC;document.head.appendChild(a);sk(this);this.cc=vk(this);this.Xd=wk(this);tk(this);this.tc.addEventListener("scroll",this.cc,{passive:!0});this.tc.addEventListener("beforeunload",this.Xd,{once:!0})}}Bd(){if(!this.Gc)return!1;const a=this.Gc.getBoundingClientRect();return a.top<window.innerHeight&&a.bottom>0}reset(){this.Cf=!1;this.tc=this.Xd=this.cc=this.Gc=null;this.Bf=!1}};var Rk=({options:a,MF:b})=>{try{Yo(a,b)}catch(c){OBR.error({name:"obm-ExploreAfterRenderAction",message:c==null?void 0:c.message})}},Yo=(a,b)=>{window.addEventListener("teadsPopulatedEvent",e=>{(new Xo(e,a.I)).init()},{once:!0,passive:!0});const c=a.widgetId;if(c){var d,f;((f=(d=window).OBREvents)!=null?f:d.OBREvents=[]).push({name:"rendered",widgetId:c,callback:e=>{Wo(a,b);e=e.idx;var h=OBR.i.A(e);e=OBR.F.at(e);if(h&&e){h=e.Ta();const g=e.xf(),k=e.l("darkModeType","off");var {Qc:l,Sc:m}={"css-priority":{Qc:!0,
Sc:!1},"param-priority":{Qc:!1,Sc:h&&g},"enable-any":{Qc:!g,Sc:!!g},off:{Qc:!1,Sc:!1}}[k];h=e.l("exploreMoreBackgroundColor","#fff");e=e.l("exploreMoreDarkModeBackgroundColor","#000");OBR._jsc.ke()?Zo($o(OBR._jsc.je.vn==="dark"?e:h)):l||m||h==="#fff"?Zo(l?`
        @media (prefers-color-scheme: light) {
          #ob-explore-more {${"--ob-em-explore-more-bg-color"}:${h}}
        }
        @media (prefers-color-scheme: dark) {
          #ob-explore-more {${"--ob-em-explore-more-bg-color"}:${e}}
        }`:m?$o(e):$o(h)):Zo($o(h))}}})}};var ap=class{constructor(a){this.j=a;a=this.j.l("exploreMoreWidgetId",null);const b=document.createElement("div"),c=this.j.l("exploreMoreLogoUrl",!1),d=this.j.l("bgColorLogo","#fff"),f=this.j.l("exploreMoreLogoWidth","88.5px"),e=this.j.l("exploreMoreLogoLeftPosition","0"),h=this.j.l("exploreMoreAdviseBubbleText",null),l=this.j.l("exploreMoreAdviseBubbleFontSize","13px"),m=this.j.l("exploreMoreAdviseBubbleFontFamily","inherit"),g=this.j.l("exploreMoreAdviseBubbleFontColor","#fff"),k=this.j.l("exploreMoreAdviseBubbleBackgroundColor",
"#151e41"),n=this.j.l("exploreMoreOverrideBackAction",!1),p=this.j.l("exploreMoreOverlayDvhIos",!1),r=this.j.l("exploreMoreRevealAnimation",""),u=this.j.Vc(),t=OBR.g.K,v=!t&&this.j.l("exploreMoreTriggerByMouse",!1),w={wG:this.j.jb(),xG:this.j.yc(),Ld:this.j.vd(),op:this.j.ac(),np:this.j.Nb(),bn:this.j.$b(),hg:this.j.Lb(),Ui:this.j.Mb(),TF:this.j.wc(),CE:this.j.uc(),OL:this.j.xc(),TL:this.j.ge()},x=this.j.l("exploreMoreMuteAudios",!1),C=this.j.l("exploreMoreHistoryStateInterval",200),z=this.j.l("exploreMoreNativeHeader",
!1),E=this.j.l("exploreMoreNativeHeaderHeight",null),G=this.j.l("nativeHeaderElementSelector",null),T=this.j.l("exploreMoreNativeHeaderLogoClickable",!1),U=this.j.l("exploreMoreSafariInteractionWait",!0),J=this.j.l("exploreMoreBiEvents",!1);this.options={widgetId:a,I:b,by:c,wE:d,tG:f,sG:e,nd:{text:h,color:g,fontSize:l,fontFamily:m,bgColor:k},isRTL:u,Rb:w,Uh:n,py:x,EO:p,Yj:v,uh:C,wy:null,Zj:z,bL:E,pq:G,GM:U,K:t,FM:r,xy:T,xE:J};this.Xw=!1;this.uh=null;this.QA=this.PA=!1;this.Vg=new AbortController;
xk(this)}collapse(){yk(this);!this.options.xy&&Uk(this);history.back()}Ig(){al(this);return this}yt(a){a.preventDefault()}aa(){try{this.Vg.abort(),yk(this),Uk(this),Gk(this),this.options.I&&document.body.contains(this.options.I)&&this.options.I.remove()}catch(a){OBR.error({name:"obm-emCleanUp",message:a.message})}}};var $o=a=>`#ob-explore-more {${"--ob-em-explore-more-bg-color"}: ${a};}`,Zo=a=>{const b=document.createElement("style");b.classList.add("ob-em-feed-styles");b.innerHTML=a;document.head.appendChild(b)};OBR.bh=null;
OBR.ah=OBR.ah||function(){const a=b=>{OBR.logger.log(`[ExploreMore] ${b}`)};a("loaded");return b=>{if(!OBR.bh){var c=OBR.bh=new ap(b),d=()=>{var h=bl(Zk(c).Ig());document.body.appendChild(Bk(h));if(h.options.Zj){const m=Nk(h);if(m){var {height:l}=m.getBoundingClientRect();l&&l>0&&(h.options.wy=`${l}px`,h.options.cL||(h.options.cL=getComputedStyle(m).zIndex))}}return Tk(h)};if(window.history.state&&history.state.obem===1){b.Ya(Q.Ga.M.uB);if(document.querySelector(".ob-explore-more"))return;history.replaceState(null,
"")}if(c.options.Yj&&document.readyState!=="complete"){const h=()=>{document.readyState==="complete"&&(document.removeEventListener("readystatechange",h),d())};document.addEventListener("readystatechange",h)}else b.Ya(Q.Ga.M.SB),d();var f=()=>{let h,l,m,g,k;const n=(h=performance)==null?void 0:(l=h.getEntriesByType)==null?void 0:(m=l.call(h,"navigation"))==null?void 0:(g=m.at(0))==null?void 0:(k=g.domComplete)==null?void 0:k.toFixed(0);n&&b.Ya(Q.Ga.M.AB,{time:n})},e=()=>{document.readyState==="complete"?
(a("dom ready"),Gk(c),f(),document.removeEventListener("readystatechange",e)):a("dom not ready yet")};document.readyState==="complete"?(a("dom ready"),f(),Gk(c)):(b.Ya(Q.Ga.M.BB),document.addEventListener("readystatechange",e));(()=>new Promise((h,l)=>{if(b.l("exploreMoreBiEvents",!1)&&navigator.userActivation){var m=setInterval(()=>{navigator.userActivation.hasBeenActive&&(clearInterval(m),h())},500);setTimeout(()=>{clearInterval(m);l()},3E4)}else l()}))().then(()=>{navigator.userActivation.hasBeenActive&&
b.Ya(Q.Ga.M.RC)}).catch(()=>{})}}}();OBR.ah.aa=function(){OBR.bh&&(OBR.bh.aa(),OBR.bh=null)};var nl={onWidgetViewd:0,onRecViewd:1,onRec50Viewed:2,reelMRC50:3},bp=class{constructor(){this.Ua=[];this.Ar=[];const a=OBR.g.fw();this.Uc=typeof a==="string"?a==="true":!!a;this.Uo=this.Uo.bind(this);this.So=this.So.bind(this)}ar(){if(this.Uc){this.Uc=!1;var a=this.Ar;this.Ar=[];a.forEach(({j:b,Ja:c,uO:d})=>this.mf(b,c,d))}}Uo(a){const b=a.X("eventTrackers"),c=this.ph(a);this.attributionSrc=a.X("attributionSrc");if(b&&c){c.setAttribute("data-ob-trackers",!0);const d=OBR.i.createElement("div");d.classList.add("ob-pixels");
OBR.i.H(c).querySelector(".ob-pixels")||c.appendChild(d);for(let f in b)fl(this,a,c,f,b[f])}}So(a){let b=[];if(a&&a.doc)return b=a.doc.map(c=>{var d=c.pixels,f=c.eventTrackers?c.eventTrackers.filter(e=>e.event===1):[];d&&d.length&&(OBR.i.JG(d),delete c.pixels);f&&f.length&&(d=f.filter(e=>Number(e.method)===2),f=f.filter(e=>Number(e.method)===1),gl(this,f),hl(d),c.eventTrackers=c.eventTrackers?c.eventTrackers.filter(e=>e.event!==1):[]);return c})}mf(a,b,c){if(c&&c.length)if(this.Uc)this.Ar.push({j:a,
Ja:b,uO:c});else{var d=this.ph(a),f=a.l("fireImpressionPixelsOutsideIframe",!1),e=c.filter(h=>h.method==2);c=c.filter(h=>h.method==1);a.vp()?(OBR.logger.log("Delay img track pixels for widget",a.D()),a.Nz(c)):(ll(this,d,c,f),ml(d,b,e,a))}}observe(a,b,c,d,f){a=new OBR.IntersectionObserver({threshold:{[3]:1,[2]:.5,[5]:.5,[4]:0,"default":1}[d],unobserve:!0,callback:this.pp.bind(this),callbackParams:[a,b,c,d,f],element:b,checkAbsoluteVisibility:!0});this.Ua.push(a);a.observe()}ph(a){if(a)return a.A()}pp(a,
b,c,d,f){if(d===4)this.mf(a,c,f);else{var e=[2,5].includes(d)?50:100,h=d===5?2E3:1E3,l=a.AI(c)?a.mH(c):b;setTimeout(()=>{OBR.fa.Bd(l,e)?this.mf(a,c,f):this.observe(a,l,c,d,f)},h)}}aa(){this.Ua.forEach(a=>{a&&a.unobserve&&a.unobserve()});this.Ua=[]}};OBR.be||(OBR.be=new bp);var cp=class{constructor(){this.Zr=OBR._jsc.Sg();this.WJ=OBR.g.xk}cn(a,b){if(a&&a.A()){var c=a.A();var d=OBR.i.H(c).querySelectorAll(".ob-lazy-bgimg");c=OBR.i.H(c).querySelectorAll("img.ob-lazy-img").length||d.length}else c=!1;if(c&&!a.Cw&&a.A())if(b=b||{},b={rootMargin:`${a.l("imagesLazyLoadMargin",500)}px`,j:a,ca:a.A(),mode:b.Ux||0},this.WJ)pl(this,b,".ob-lazy-bgimg"),ql(this,b);else{if(b&&b.ca){c=ed(b.ca);var f=b.rootMargin;d=this.Zr;const e=Object.assign({},c);f=parseInt(f);c.y<0?e.height+=f:
c.y>d.height&&(e.y-=f);c=e;d=this.Zr;c=(Math.min(c.width+c.x,d.width+d.x)-Math.max(c.x,d.x))*(Math.min(c.height+c.y,d.height+d.y)-Math.max(c.y,d.y))>0}else c=!1;c||a.Tc()?this.wt(b):pl(this,b)}}wt(a,b,c=".ob-lazy-bgimg, .ob-lazy-img"){const d=a.j.A();a.ca&&a.ca===d&&(b&&a.mode===0?(this.Sm(b),OBR.i.H(a.ca).querySelectorAll(c).length===0&&(a.j.Cw=!0)):([].slice.call(OBR.i.H(a.ca).querySelectorAll(c)).forEach(this.Sm),a.j.Cw=!0))}Sm(a){if(a.tagName.toUpperCase()==="IMG"){const b=a.getAttribute("data-ob-src");
b&&(a.setAttribute("src",b),a.removeAttribute("data-ob-src"),OBR.i.Oa(a,"ob-lazy-img"))}else OBR.i.Oa(a,"ob-lazy-bgimg")}},dp=new cp;OBR.$l=OBR.$l||{Jg:(a,b)=>{if(!b){b={Ux:0};const c=RegExp("swipe-strip|touch-strip|carousel|timeline");a.l("recMode","").match(c)&&(b.Ux=1)}dp.cn(a,b)}};var ep=a=>{if(a){var b=!1,c=NaN,d=NaN,f=!1,e=OBR.i.H(a).querySelectorAll("a");e&&e.length!==0&&(e.forEach(h=>{h.addEventListener("click",l=>{if(f)return l.preventDefault(),!1})}),a.addEventListener("mousedown",h=>{b=!0;c=h.clientX;d=a.scrollLeft;f=!1;a&&(a.style.cursor="grabbing",a.classList.add("ob-grabbing"))}),e=()=>{b&&(b=!1,a&&(a.style.cursor="",a.classList.remove("ob-grabbing")),a.scrollLeft=a.scrollLeft,f=a.scrollLeft!==d)},a.addEventListener("mouseup",e),a.addEventListener("mouseleave",e),
a.addEventListener("mousemove",h=>{b&&(a.scrollLeft=d+(c-h.clientX))}),OBR.i.ka("\n  .ob-grabbing {\n    scroll-behavior: auto !important;\n  }\n  .ob-grabbing a {\n    cursor: grabbing !important;\n    scroll-snap-align: none !important;\n  }\n  .ob-grabbing > * {\n    scroll-snap-align: none !important;\n  }\n  .ob-grabbing img {\n    -webkit-user-drag: none;\n    -khtml-user-drag: none;\n    -moz-user-drag: none;\n    -o-user-drag: none;\n    user-drag: none;\n  }\n  "))}};OBR.oy=OBR.oy||ep;OBR.proxy=OBR.proxy||{QK:function(a,b,c){OBR.v.N(b,c,this,{currentWidget:a,beforeLoadTime:(new Date).getTime()})}};
window.OB_PROXY=window.OB_PROXY||{getSet:function(a,b,c){return a.l(b,c)},getRequest:function(a,b,c){return a.o(b,c)},getWidgetId:function(a){return a.D()},makeHandshake:function(a){OBR.v.T(a)},hasJqueryInstalled:function(){return OBR.i.CI()},getWidgetIndex:function(a){return a.G()},getMeta:function(a,b,c){return a.X(b,c)},getFeedParentWidget:function(a){return a.O()},getFeedFatherAB:function(a){return a.td()},getFeedLayerAB:function(a){return a.po()},isABRexTestEnabled:a=>kb(lb,a),isFeedCard:function(a){return a.DJ()},
getUserId:function(a){return a.Lb()},getDataSrcFinalUrl:function(a){var b=a.O();const c=a.uc()||(b==null?void 0:b.uc()),d=a.wc()||(b==null?void 0:b.wc());b=a.xc()||(b==null?void 0:b.xc());return c?c:b?b:d?d:a.Da()},getAdBlockerStatus:function(){return OBR.qb.Sj()},getExtId:function(a){let b="";const c=OBR.i.ig(OBR.g.Pn);a=OBR.i.ig(a.jb());if(c||a)b=a||c;return b},getExtId2:function(a){[,a]=eg(a);return a},setConsentData:function(a,b){if(a&&typeof a==="string"){var c=OBR.oa;c.tb=b;a=OBR.i.sa(a);switch(b){case 2:c.hb=
a;OBR.i.Ea(OBR._jsc.A.lc,c.hb);break;case "ccpa":c.Ib=a,OBR.i.Ea(OBR._jsc.A.yi,c.Ib)}}},setUserSegmentsData:function(a){OBR.g.Ur=a},getWidgets:function(){return OBR.F},getWidgetByIdx:function(a){return OBR.F[a]},getIsWidgetRendered:function(a){return a.kb()},generateOdbCall:function(a){return OBR.Aa.Ev(OBR.F[a])},onVideoEvent:function(a,b){if(b=OBR.F[b])switch(a){case "VIDGET_PLAYER_VIEWABILITY":a=b.C,a.j.mx()&&Zd(a)}},getRawResponse:a=>a.Fj(),getExtraParams:function(a){return OBR.g.ma?OBR.g.Pb.extraParams:
a.sd()},getCardIdx:function(a){return a.hh()},getPermalinkFieldName:function(a){a=a.O()||a;return a.uc()?"bundleUrl":a.xc()?"portalUrl":a.wc()?"contentUrl":"permalink"},getInstallationKey:function(a){return(a.O()||a).Nb()},getContainer:function(a){return a.A()},getPubImpId:a=>{if(a){var b=OBR.i.El(a.vd()||OBR.g.Ld);!b&&a.O()&&(b=OBR.i.El(a.O().vd()||OBR.g.Ld));return b}},isAppBridge:()=>OBR.g.ma,run:()=>{OBR.controller.continue()},getPubSessionId:()=>OBR.g.Sq,isOsTrackingEnabled:()=>OBR.g.Dh==="true",
getOgn:()=>OBR.g.Th,getCcpaData:function(){return OBR.oa.Ib}};OBR.extern=OBR.extern||function(){var a=OBR,b={getStat:function(){},returnedHtmlData:function(c,d){a.controller.Mf(c,d)},returnedHtmlAndVacData:function(c,d){a.controller.Mf(c,d)},feedRejection:function(c,d){a.controller.Mf(c,d)},returnedError:function(c){OBR.logger.log("Call made using extern class");a.logger.log("Callback error"+c)},callRecs:function(c,d,f){OBR.logger.log("Call made using extern class");a.controller.hy(c,e=>{try{d(e)}catch(h){OBR.logger.log(h);try{f&&typeof f==="function"&&f(h)}catch(l){OBR.logger.log(l)}}})},
callClick:function(c,d){OBR.logger.log("Call made using extern class");a.controller.rk(c,d)},fireDelayedPixels:function(c){let d;const f=(d=OBR.Fa)==null?void 0:d.fI(c);let e;f&&(e=OBR.be)!=null&&f&&f.vp()&&f.Kv()&&(f.Mz(!1),OBR.logger.log("Fire delayed img pixels for widget",f.D()),e.mf(f,-1,f.Kv()),f.Nz(null))},releaseSuspendedEvents:function(){OBR.Ab.ar();let c,d;(c=OBR.be)==null||(d=c.ar)==null||d.call(c)},callWhatIs:function(c,d,f,e,h,l){OBR.v.N(OBR.v.B.Di,function(){OBR.$r.ku(c,d,f,l)},this);
return!1},callUserZapping:function(c,d,f,e,h){OBR.v.N(OBR.v.B.dt,function(){OBR.JO.lQ(c,d,f,e,h)},this);return!1},zappingFormAction:function(c,d,f,e,h){OBR.JO.$R(c,d,f,e,h);return!1},userZappingMessage:function(c){OBR.logger.log(c.message)},recClicked:function(c,d){OBR.logger.log("Call made using extern class");a.controller.iz(d)},imageError:function(c){OBR.logger.log("Call made using extern class");OBR.error({name:"obm-ImageError",message:"Error loading as image: "+c.src});a.i.su(c)},carouselLogoError:function(c,
d){OBR.logger.log("Call made using extern class");a.controller.SD(c,d)},logError:function(c,d,f,e){a.i.Gd(c,d,f,e)},sendBIEvent:function(c,d,f={}){c=new OBR.dataBI(OBR.F[c],e=>e.kd);switch(d){case "MEDIANET":c.C.Js.fire(f)}},openNativeVideoPlayer:function(c,d,f,e,h,l,m,g,k,n,p,r,u,t,v,w,x){a.v.N(a.v.B.sg,function(){x=x?x:a.F[r].o("req_id",null);var C=a.F[r].o("lang","en"),z=a.F[r].o("lsd",null),E=a.F[r].o("pid",null),G=a.F[r].o("sid",null),T=a.F[r].o("wnid",null),U=a.F[r].o("gl",""),J=a.F[r].oh(),
R=a.F[r].o("widgetJsId",a.F[r].D()),P=a.F[r].o("req_id","-1"),da=a.F[r].o("pvId","-1");window.NVPInjector.main.init(a.i.MO([c,d,f,e,h,l,m,g,k,n,p,r,u,t,x,a.g.Mk,C,z,E,G,T,v,U,J,R,P,da]),a.F[r].Jo(),w)},this);return!1},openOverlay:function(c){a.v.N(a.v.B.sg,function(){var d=c.getAttribute("data-nvp");if(d!==null&&typeof d==="string"){d=window.JSON.parse(c.getAttribute("data-nvp").replace(/"/g,"#$#").replace(/'/g,'"').replace(/\\"/g,"'").replace("#$#",'\\"'));var f=a.F[d.widgetIdx];d.platform=a.g.Mk;
d.lang=f.o("lang","en");d.uuid=f.o("lsd",null);d.publisherId=f.o("pid",null);d.sourceId=f.o("sid",null);d.widgetNumberId=f.o("wnid",null);d.location=f.o("gl","");d.timestamp=f.oh();window.NVPInjector.main.recClicked(d,f.Jo())}else a.error({name:"obm-nvpError",message:"Error parsing data-nvp: "+d,stack:"None"})},this);return!1},handshakeNVP:function(){a.v.T(OBR.v.B.sg)},onVideoClick:function(c,d){a.controller.Iy(c,d)},manualVideoClicked:function(c,d,f,e,h){a.controller.WK(c,d,f,e,h)},errorInjectionHandler:function(c){OBR.F[c].zQ(c)},
reloadWidget:function(){OBR.logger.log("## Reload widget");a.controller.Pk()},researchWidget:function(){OBR.logger.log("## Research widget");a.controller.Be()},renderSpaWidgets:function(c){OBR.logger.log("## renderSpaWidgets - SPA has triggered a widget render");OBR.g.gi&&OBR.g.gi.dG!==c?(OBR.logger.log("## renderSpaWidgets - page navigation detected. triggering reload"),a.controller.Pk()):(OBR.logger.log(`## renderSpaWidgets - ${OBR.g.gi?"still on same page":"first widget mounting detected"}. researching for new widgets on page`),
a.controller.Be());OBR.g.gi=OBR.g.gi||{};OBR.g.gi.dG=c},registerOnWidgetRendered:function(c){OBR.controller.uM(c)},cancelRecommendation:function(c){OBR.logger.log("cancel recommendation with bocr "+c);a.controller.LE(c)},cancelRecs:function(c,d,f){OBR.logger.log("cancel recommendation by doc url "+c+" publisher id = "+d+" isAd = "+f);a.controller.ME(c,d,f)},refreshWidget:function(c){OBR.logger.log("## Refresh widget");a.controller.Nk(c)},triggerLazyRender:function(c){OBR.logger.log("## trigger lazy render");
c||c===0?OBR.controller.Un(`widgetLazyRender_${c}`):a.F.forEach(d=>{d.Tp()&&OBR.controller.Un(`widgetLazyRender_${d.G()}`)})},setABtest:function(c){c&&(a.g.Gt="&obAbtest="+c)},refreshSpecificWidget:function(){},refreshWidgetByWidgetId:function(c){c=document.querySelectorAll(`[data-widget-id="${c}"]`);(c==null?void 0:c.length)>0&&(Array.from(c).forEach(d=>{d.setAttribute("is-reloaded","true")}),Kc(OBR.ib,Array.from(c)))},refreshCard:function(c,d){var f;(f=document.querySelector(`[data-widget-id="${c}"]`))?
f=f.querySelector(`div[data-card-idx="${d}"]`):(OBR.logger.log(`Widget with id ${c} not found`),f=void 0);if(f){d=f.getAttribute("data-widget-id");f=f.getAttribute("data-idx");var e=OBR.F[f];e?(e.Ym(),f=OBR.Aa.bw(e),f=new URL(f),f.searchParams.set("widgetJSId",String(c)),c=OBR.i.Va(0,f.toString()+`&feedLoadChunkSize=1&forceCards=1:${d}`,!0),OBR._jsc.ac(OBR._jsc.Vc,c).to(document.head)):OBR.logger.log(`Widget with idx ${f} not found`)}else OBR.logger.log(`Card with idx ${d} not found in widget ${c}`)},
refreshSpecificWidgetWithData:function(c,d,f,e){OBR.logger.log("## Refresh SPECIFIC widget with server response");OBR.controller.oM(c,d,f,e)},getCountOfRecs:function(c){return a.controller.gH(c)},onOdbReturn:function(c,d){a.controller.pM(c,d)},closeModal:function(){try{a.modal.hideModal()}catch(c){OBR.error(c)}},clearReadMore:c=>{if(!a.Ia)return!1;c?a.Ia.rw():a.Ia.reset();return!0},handshakeModule:function(c){try{var d=OBR.v.Zv(c);d?OBR.v.T(d):a.error({name:"obm-MakeHandShakeError",message:"Error in module: "+
c+", Err: Module not found",stack:"None"})}catch(f){OBR.error(f)}},initGnrModule:(c,d)=>{Gi(c,d)},gnrLazyLoadedModules:{modules:{},makeHandshake:(c,d,f)=>{const e=Object.keys(OBR.v.B).filter(h=>h.includes(c)).find(h=>h.includes(d));b.gnrLazyLoadedModules.modules[c]||(b.gnrLazyLoadedModules.modules[c]={});b.gnrLazyLoadedModules.modules[c][d]=b.gnrLazyLoadedModules.modules[c][d]||f;b.handshakeModule(e)}},enableTbx:function(){OBR.Sd?OBR.Sd.Iw():OBR.g.Ly=!0},closeTbx:function(){OBR.Sd.LF()},scrollIntoView:function(){hk()},
ampIntersectionChange:function(c){OBR.fa.Zm=c},ampUpdateViewportSize:function(){OBR.fa.fi()},video:{}};b.video.event=function(c,d){a.controller.yq(c,d)};b.blockFeedExpansion=(c=0,d="")=>{OBR.g.bu={feedIdx:+c,observeElementSelector:d}};b.truncateText=function(c,d,f){lk(OBR.Tu,c,d,f)};b.triggerClickPixels=function(c,d,f){a.controller.yA(c,d,f)};b.mraidOpen=(c,d)=>{a.controller.wO(c,d)};b.customClickHandler=(c,d,f,e)=>{a.controller.zA(c,d,f,e)};b.onCheqResponse=c=>{OBR.logger.log("onCheqResponse callback invoked with message:",
c)};b.callViewed=c=>{try{OBR.controller.KE(c)}catch(d){}};b.feed={};b.feed.loadNextChunk=c=>si&&si.jj(c);b.renderJSFormatWidget=(c,d,f)=>{let e;(e=OBR.Rr)==null||e.rz("renderJSFormatWidget");OBR.controller.BM(c,d,f)};b.renderJSFormatChunk=c=>{let d;(d=OBR.Rr)==null||d.rz("renderJSFormatChunk");OBR.controller.Sk(c)};b.clipError=c=>{var d=c?c.error:null;let f="",e="";d&&(f=d.code,e=f.message);d=`Error loading as video: ${c.src}`;OBR.error({name:"obm-ClipError",message:d+(f?`; Error code: ${f}`:"")+
(e?`; ErrorMessage: ${e}`:""),errorEleUrl:c.src})};b.reserveVideoIdx=()=>{OBR.g.se===0&&(OBR.g.se=100);return++OBR.g.se};b.abRex={isTestEnabled:c=>kb(OBR.It,c)};b.outbrainHost=()=>OBR.g&&OBR.g.outbrainHost;b.forceExploreMore=()=>OBR.g&&OBR.g.forceExploreMore;b.fakeRefParam=()=>OBR.g&&OBR.g.fakeRefParam;return b}();
typeof window.OBBridge!=="undefined"&&(OBR.clickHandler={open:(a,b,c)=>window.OBBridge.clickHandler.open(a,b,c)},OBR.viewHandler={loadMore:a=>window.OBBridge.viewHandler.loadMore(a),setViewData:a=>{var b=OBR.fa;b.yk=a;if(!b.Mw){var c=new CustomEvent("obBridgeExposureChanged",{detail:a});window.dispatchEvent(c);Rj(b,a)}}});window.outbrain=window.outbrain||{};window.outbrain.returnedHtmlData=function(a,b){OBR.controller.Mf(a,b)};window.outbrain.returnedJsonData=function(a,b){OBR.controller.qL(a,b)};
window.outbrain.returnedError=function(a){OBR.logger.log("Callback error"+a)};window.outbrain.callRecs=function(a,b){OBR.controller.hy(a,b)};window.outbrain.callClick=function(a,b){OBR.controller.rk(a,b)};window.outbrain.callWhatIs=function(a,b,c){OBR.v.N(OBR.v.B.Di,function(){OBR.$r.ku(a,b,c)},this)};window.outbrain.recClicked=function(a,b){OBR.controller.iz(b)};window.outbrain.imageError=function(a){OBR.i.su(a)};window.outbrain.closeModal=function(){try{OBR.modal.hideModal()}catch(a){OBR.error(a)}};
OBR.g.Yw===!0&&(OBR.logger.log("Widget Start!"),OBR.g.Yw=!1,typeof window.OB_PASSIVE_MODE==="boolean"&&window.OB_PASSIVE_MODE===!0?OBR.logger.log("passive"):Xa("ob.run.before").then(()=>{OBR.controller.Az()}),OBR.ready=!0,OBR.No.HG(),Ia.fire(Object.assign({},Yd("ready"))));;}).call(window);};if (!OBR || !OBR.settings) {ccs();return;};var dwt = OBR.settings.delayWidgetTime;var dwi = OBR.settings.delayWidgetInterval;var dwot = OBR.settings.delayWidgetObjectTrigger;if (!dwi || !dwi || !dwot) {ccs();return;};OBR.widgetDelayInterval = 0;if (window[dwot]) {ccs();return;};var tt = dwt * dwi;var t = 0;var doneFn = function(id) {clearInterval(id);ccs();};var i = setInterval(function() {OBR.widgetDelayInterval +=1;t = t + dwt;if (t >= tt) {doneFn(i);return;};if (window[dwot]) {doneFn(i);return;};}, dwt);} catch (e) {window.OBR.error(e);}})();
