(()=>{"use strict";const m="https://s.cpx.to",x=m+"/sync",_=71,d="_cids",a="xexp",c="xid",u="tid",p="texp",w=2592e6,l=2592e6;function f(e,t){return`&dsp=${e}&dsp_uid=`+t}function g(t,e,n){var i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)});let o=e?f("app_nexus",e):"";!o&&h()&&(o=f("app_nexus","0"));e=n?f("TTD",n):"";let r;r=window.ID5&&!0===window.ID5.initialized&&window.ID5.userId?f("id5",ID5.userId):window.pbjs&&window.pbjs.getUserIds&&window.pbjs.getUserIds().id5id&&window.pbjs.getUserIds().id5id.uid?f("id5",window.pbjs.getUserIds().id5id.uid):"";let s;s=window.localStorage&&window.localStorage.getItem("_pubcid")?f("pub_common",window.localStorage.getItem("_pubcid")):window.pbjs&&window.pbjs.getUserIds&&window.pbjs.getUserIds().pubcid?f("pub_common",window.pbjs.getUserIds().pubcid):"";let d;window.__uid2&&window.__uid2.getAdvertisingTokenAsync?(window.__uid2.getAdvertisingTokenAsync().then(e=>{e&&((new Image).src=x+"?"+f("uid2",e))}),d=""):window.__uid2&&window.__uid2.getAdvertisingToken?(n=window.__uid2.getAdvertisingToken())&&(d=f("uid2",n)):d="";var n=document.referrer?"&ref="+encodeURIComponent(document.referrer):"",a=window.captify_kw_query_13058?"&kw="+encodeURIComponent(captify_kw_query_13058):"";let c=encodeURIComponent(document.URL),u=m+"/fire.js?",p=t?"&gcv="+t:"",w="pid=13058"+n+"&url="+c+"&hn_ver="+_+"&fid="+i+a+r+s+d+e,l=w+o+p;n=function(e,t){for(const i of e){var n=document.querySelector(i);if(n&&n.hasAttribute(t)){n=n.getAttribute(t);if(""!==n.trim())return n}}return null}(['meta[name="description"]'],"content");let g={pageMeta:{title:document.title}};return n&&(g.pageMeta.description=n),function(){try{if("browsingTopics"in document&&document.featurePolicy.allowsFeature("browsing-topics"))return document.browsingTopics().then(e=>e.map(e=>e.topic))}catch(e){}return Promise.resolve([])}().then(e=>{0{b("POST",u+l,JSON.stringify(g)).then(e=>{var i,o;e=e,i=t,o=w,h()||e.split(",").forEach(function(e){let t="";var n=i?"&gdpr=1&gdpr_consent="+i:"";switch(e.toLowerCase()){case"app_nexus":t="https://secure.adnxs.com/getuid?"+encodeURIComponent(m+"/fire.js?dsp=app_nexus&dsp_uid=$UID&"+o)+n;break;case"dbm":t="https://cm.g.doubleclick.net/pixel?google_nid=captify_dmp&google_cm&dsp=dbm"+n;break;case"pubmatic":t="https://image2.pubmatic.com/AdServer/UCookieSetPug?rd="+encodeURIComponent(x+"?dsp=pubmatic&dsp_uid=#PM_USER_ID")+n;break;case"openx":t="https://u.openx.net/w/1.0/cm?id=f0f39a70-2c21-4d5d-af4b-7350637edcd5"+n+"&r="+encodeURIComponent(x+"?dsp=OPENX&dsp_uid={OPENX_ID}");break;case"rubicon":t="https://pixel.rubiconproject.com/token?pid=34010&customParamenters"}t&&((new Image).src=t)})})})}function h(){return window.navigator&&window.navigator.userAgent&&-1!==window.navigator.userAgent.indexOf("Safari")&&-1===window.navigator.userAgent.indexOf("Chrome")&&-1===window.navigator.userAgent.indexOf("Firefox")}function b(i,o,r){return new Promise(function(e,t){let n=new XMLHttpRequest;n.open(i,o,!0),n.withCredentials=!0,n.onload=function(){4==this.readyState&&200<=this.status&&this.status<300?e(n.responseText):t({status:this.status,statusText:n.statusText})},n.onerror=function(){t({status:this.status,statusText:n.statusText})},"GET"==i?n.send():n.send(r)})}function e(e){let t=!0,n=!0,i=null,o=null;window.localStorage&&window.localStorage.getItem(d)&&((s=JSON.parse(window.localStorage.getItem(d)))[a]&&s[c]&&s[a]>Date.now()&&(i=s[c],t=!1),s[p])&&s[u]&&s[p]>Date.now()&&(o=s[u],n=!1);var r,s=[];return t&&(r=b("GET","https://ib.adnxs.com/getuidj"+(e?"?gdpr=1&gdpr_consent="+e:""),"").then(e=>{i=(e=e,"0"===(e=JSON.parse(e).uid)?null:e)}).catch(()=>null),s.push(r)),n&&(r=b("GET","https://match.adsrvr.org/track/rid?ttd_pid=0fkciot&fmt=json"+(e?"&gdpr=1&gdpr_consent="+e:""),"").then(e=>{return o=JSON.parse(e).TDID||null}).catch(()=>null),s.push(r)),Promise.all(s).then(()=>{var e;window.localStorage&&(t||n)&&(e=(e=window.localStorage.getItem(d))?JSON.parse(e):{},t&&i&&(e[c]=i,e[a]=Date.now()+w),n&&o&&(e[u]=o,e[p]=Date.now()+l),window.localStorage.setItem(d,JSON.stringify(e)))}).then(()=>g(e,i,o)).catch(()=>g(e,i,o))}var n=e;if(window.__tcfapi)__tcfapi("addEventListener",2,(e,t)=>{t&&(e.gdprApplies?"useractioncomplete"!==e.eventStatus&&"tcloaded"!==e.eventStatus||(n(e.tcString),__tcfapi("removeEventListener",2,e=>{},e.listenerId)):(n(""),__tcfapi("removeEventListener",2,e=>{},e.listenerId)))});else if(window.__cmp)window.__cmp("getConsentData",null,function(e,t){n(e&&e.consentData||"")});else{var i=["euconsent","euconsent-v2","euconsent-v2_backup"],o=document.cookie.split(";");let t="";for(let e=0;e