if(typeof truste=="undefined"||!truste||typeof truste.ca2=="undefined"||!truste.ca2){if(typeof truste==undefined||!truste){var truste={}
}if(typeof truste.ca==undefined||!truste.ca){truste.ca={};truste.ca._contRegistry={};truste.ca.contRegistryListeners=[];
truste.ts=new Date();truste.ca.hasRegistered=false;truste.ca.storedParentEvents=[];truste.ca.tagReferrer="";
truste.ca.dominantTag={};truste.ca.creativeMap={};truste.ca.isTopAd=true}truste.ca2={};truste.ic={};truste.ts=new Date();
truste.ca2.contMap={};truste.ca2.intMap={};truste.imgic=new Image(1,1);truste.ca2.intervalStack=[];truste.ca2.bindMap={};
truste.ca2.bindingInitMap={};truste.ca2.cidToInt={};truste.ca2.target={};truste.ca2.jsMap={};truste.ca2.adTypeMap={};
truste.ca2.osMap={};truste.ca.host=(typeof window.location.origin!=="undefined")?window.location.origin:window.location.protocol+"//"+window.location.host;
truste.ca2.customDecodeURL=function(a){var c=/\"\\/g;var b=decodeURI(a);b=b.replace(c,"").replace(/&/g,"").toLowerCase();
return b};truste.ca2.adtype=[truste.ca2.customDecodeURL("T&P%22%5CC%22%5C.%22%5CG&O&O%22%5CG%22%5CL%22%5CE%22%5CS&Y&N%22%5CD%22%5CI%22%5CC%22%5CA%22%5CT&I%22%5CO&N%22%5C.%22%5CC%22%5CO&M"),truste.ca2.customDecodeURL("F&W%22%5C.A%22%5C&DS%22%5CA%22%5C&F&E%22%5CP&R%22%5CO%22%5CT&%22%5CEC%22%5C&T&E%22%5CD.C%22%5C&O&M"),truste.ca2.customDecodeURL("D&O%22%5C&&U%22%5CB%22%5CL&E%22%5C&C&%22%5C&L%22%5CI&C&K&.N%22%5CE&T%22%5C"),truste.ca2.customDecodeURL("A%22%5CD&S%22%5C.B&R&%22%5CA&N%22%5CD&.N%22%5C&E&T")];
truste.ca2.mapDFA={adtype:[truste.ca2.customDecodeURL("S%22%5C0.&2%22%5CM&D&%22%5CN.&N%22%5CE%22%5C&T"),truste.ca2.customDecodeURL("%22%5CS1.&2&%22%5CM&%22%5CD&N.%22%5C&N&%22%5CE&T&")],domain:truste.ca2.customDecodeURL("A%22%5CD%22%5CV&E%22%5CR&T%22%5CI&S%22%5CE&R%22%5CS.&D%22%5CO&U%22%5CB&L%22%5CC&L%22%5CI%22%5CC&K.%22%5CN&E%22%5CT")};
truste.ca2.addEvent=function(d,c,b,a){if(d.addEventListener){d.addEventListener(c,b,false);return true
}else{if(d.attachEvent){return d.attachEvent("on"+c,b)}else{if(a){b();return true}else{return false}}}};
truste.ca2.addBinding=function(b){var a=truste.ca2.copyBinding(b);truste.ca2.bindMap[a.baseName]=a;return a
};truste.ca.addRegistryListener=function(a){if(a&&a.apply){truste.ca.contRegistryListeners.push(a)}};
truste.ca.contRegister=function(a){if(a&&a.element&&a.baseName){if(!truste.ca._contRegistry[a.baseName]){for(var b=truste.ca.contRegistryListeners.length;
b-->0;){var c=truste.ca.contRegistryListeners[b];try{if(c.call({},a)){return true}}catch(d){}}}truste.ca._contRegistry[a.baseName]=a
}return false}}truste.ca.initParameterMap=function(d,g){if(d===null){g._query=g._url=""}else{var b,a=g._url=d.src||g._url;
a=(g._query=a.replace(/^[^;?#]*[;?#]/,"").replace(/&(amp|#38|#x00026);/ig,"&").replace(/&(equals|#61|#x0003d);/ig,"=").replace(/&(semi|#59|#x0003b);/ig,";")).replace(/[#;?]|&(num|#35|#x00023|quest|#63|#x0003f);/ig,"&");
if(a){for(a=a.split("&"),b=a.length;b-->0;){var c=a[b].split("=");try{g[String(c.shift()).toLowerCase()]=decodeURIComponent(c.length?c.join("="):"")
}catch(f){window.console&&console.log(f)}}}}return g};truste.ca2.isTypeMatch=function(a,d){if(typeof a==="undefined"||!a){return null
}var c,b;for(c=0;c<truste.ca2.adtype.length;c++){b=truste.ca2.adtype[c];if(a.indexOf(b)>-1){return b}}if(d.docRef.location.href.indexOf(truste.ca2.mapDFA.domain)!=-1){for(c=0;
c<truste.ca2.mapDFA.adtype.length;c++){b=truste.ca2.mapDFA.adtype[c];if(a.indexOf(b)>-1){return b}}}return null
};truste.ca.uuid=truste.ca2.uuid=function(){return"te-"+(((1+Math.random())*65536)|0).toString(16).substring(1)
};truste.ca2.copyBinding=function(d){var b={};for(var a in d){b[a]=d[a]}var c=truste.ca2.uuid();b.baseName=c;
b.containerId=c;b.iconSpanId=c+"-icon";b.intDivName=c+"-itl";b.anchName=c+"-anch";b.target="over";return b
};truste.ca2.addToJsMap=function(c){var a=null;script=c.script;for(var e in truste.ca2.jsMap){var f=truste.ca2.jsMap[e];
if(f===script){a=f;return true}}if(!a){truste.ca2.jsMap[c.baseName]=script;if(script.src.indexOf("atlasId")>-1){var d=truste.ca2.getParamByName("atlasId",script.src);
c.atlasId=d}return true}return false};truste.ca2.initialize=function(a){truste.ca2.bindingInitMap[a.baseName]=0;
truste.ca.initParameterMap(a.script,a.directParams);truste.ca.replaceBindingsFromDirectParams(a,a.directParams);
truste.ca2.addToJsMap(a);truste.ca2.initBinding(a)};truste.ca2.protocolCheck=function(a){return a.replace("http:","https:")
};truste.ca2.getDsaParams=function(a){return a.dsarequired?"&dsarequired="+a.dsarequired+"&dsabehalf="+a.dsabehalf+"&dsapaid="+a.dsapaid+"&dsaparams="+a.dsaparams:""
};truste.ca.replaceBindingsFromDirectParams=function(a,d){a.sid=d.sid?d.sid:"_LBsidLB_";if(d.cid){a.cid=d.cid.replace(/[!@#$&*()+=|<>?{}[\]~]/g,"")
}else{a.cid="_LBcidLB_"}var c="&cid="+a.cid;if(a.optoutLink.indexOf("cid=")===-1){a.optoutLink+=c}else{a.optoutLink=a.optoutLink.replace("&cid={CampaignId}",c)
}};var te_clr1_fde04206_e2d4_4060_af96_385f1b7a6605_bi={baseName:"te-clr1-fde04206-e2d4-4060-af96-385f1b7a6605",baseUrl:truste.ca2.protocolCheck("https://choices.trustarc.com/"),anchName:"te-clr1-fde04206-e2d4-4060-af96-385f1b7a6605-anch",width:120,height:240,ox:0,oy:0,plc:"tr",iplc:"rel",intDivName:"te-clr1-fde04206-e2d4-4060-af96-385f1b7a6605-itl",iconSpanId:"te-clr1-fde04206-e2d4-4060-af96-385f1b7a6605-icon",backgroundColor:"white",opacity:0.8,filterOpacity:80,containerId:"te-clr1-fde04206-e2d4-4060-af96-385f1b7a6605",noticeBaseUrl:truste.ca2.protocolCheck("https://choices.trustarc.com/camsg?"),oBaseUrl:truste.ca2.protocolCheck("https://choices.trustarc.com/"),irBaseUrl:truste.ca2.protocolCheck("https://choices.trustarc.com/cair?"),icBaseUrl:truste.ca2.protocolCheck("https://choices.trustarc.com/caic?"),capBaseUrl:truste.ca2.protocolCheck("https://choices.trustarc.com/cap?"),popTab:false,showLink:"javascript:truste.ca.showpop(te_clr1_fde04206_e2d4_4060_af96_385f1b7a6605_bi)",hideLink:"javascript:self.close()",icon:truste.ca2.protocolCheck("https://choices.trustarc.com/assets/forward_i.png"),icon_cam:truste.ca2.protocolCheck("https://choices.trustarc.com/assets/admarker.png"),icon_cam_daa:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAPCAYAAAAGRPQsAAAA5klEQVR42mP4////JmphBnSBvHMPbnCtPfNfYcuFr703n5+jyDCLPVdfgwyDYRB//ZN3RykyrPbyk8sJJ+/eRTb06sdvu8kyDOYakAHIrg06evsRLkMJGuZ64MYzkAtBfFA4guRENpz7BQrbl99/bSPJMJAmEIbJg7wPMgxmKHIkETQM5BqQ65DVzLv36hRyWBJtGLIGkLdAroS5DGTRoVefDpBkmPaOyx+QDQHRIO+SHAHIaQ5XwCMbtgybYaAYBNkO44OSBC5DkA2LxJcDSMpOIABkTEDPm6RkIxTDoAZGonuZVAwAF5yynwxek6cAAAAASUVORK5CYII=",icon_cam_mo:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE0AAAAPCAYAAAChmULXAAACqklEQVR42u2XPUsDQRCGrzatkFZIaZPSJqVVOrvrLFNZp/EHpBCsU1haRRQRERQShBSKBOEQIhIREY0KooIKaU4e9NVh2bucH11SDHs3O7s7+8zM7l0Qx/HmWH4mwahufGbv5H5i7SimXb96aI+hZRCAWQHeydPr7r9Ci6Jot9/vbyf109dsNlvumEaj0aa1Ovs+TJgzbd2/QiPLlHXIXPvschi8zNAKhcJjuVy+TOoHTrFYvBdAnvP5/AttLpcbhGHYo69SqXSRrOsyzg3Gf0LTO/Cmto5f0E1udAYLnYvu7dtg+9fQAAIwwLlRJ2vYlIVGa8EwBoDYCJqy0LdWWibS70Lk3dWxJrZJWepCA9jS6U1nMbqKgCZ46H4FDWA4Va1Wo1qt9jUJmyeLgIkAiw2jSypvxsgekMpA+nlHz3jWUgAE0vZrnIKp9QVRWR4EQewLjgttttW9Xjm/O+SZDJs/6PVkA9D9u+dWZmjKEm0M56THeUUSGNqgnPeJ7DQHm1IZKjvt3JrT9uMHsOr1+mGpVLrW3Dyjw05HCe++zHWh8UyWWRsLjnLNDI2IK2o6n9xytGcafQKbBM2WrqAJjvQ2ALZ152K8FZU+PuMr8LJCExguAi4Ee7Pa820oNBYnWjisM0nlauFgI4gC626QcUnQlCX24mEOwXL7lVEqU2WgMlW3OeNsNqZBA5SFNb0TPfq+4VKhuekvUemwMRzHzp4pnHvAphVoxrCpJGjYModg6EgQNK1BS/YrMLSMRc+zLi381rPv1vdBs2eY7wKw0FbTSslG19UDTg7iuI26soNN2xLBzl4mtsTRu/b2k0PZzLzS2XXkq/zSXL4bVIA4xwDETalPjSwft+Go/xFwZv3oNyr4qI/lUYPGJ0bWPwAvtE9wYVqpjuVb3gGwcJ9dQupIlAAAAABJRU5ErkJggg==",iconText:"&nbsp;AdChoices",aid:"sojern02",pid:"sojern01",sid:"{SID}",zindex:"100002",cam:"3",admarker:"default",cid:"{CampaignId}",priority:"1-0",optoutLink:"http://preferences-mgr.trustarc.com/?pid=sojern01&aid=sojern02&type=sojern&pid=sojern01&aid=sojern02&w=120&h=240",mobilePrefUrl:"https://mobile.truste.com/mobile/preferences/",target:"pop",docRef:document,language:"en",directParams:{},style:null,iconSetFlg:false,path:"ca?",script:document.currentScript};
(function initSmarttags(){var a=false;var b=truste.ca2.addBinding(te_clr1_fde04206_e2d4_4060_af96_385f1b7a6605_bi);
if(document.readyState=="complete"){a=true;setTimeout(function(){truste.ca2.initialize(b)},750)}if(!a){truste.ca2.addEvent(window,"load",function(){setTimeout(function(){truste.ca2.initialize(b)
},750)})}})();truste.ca2.getParamByName=function(b,a){b=b.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");
var d=new RegExp("[\\?&]"+b+"=([^&#]*)");var c=d.exec(a);if(c===null){return""}else{return decodeURIComponent(c[1].replace(/\+/g," "))
}};truste.ca2.getSz=function(a){var b="sz=";var e=new RegExp(b+"[0-9]+x[0-9]+","g");var c=e.exec(a);if(c&&c.length>0){var d=c[0];
if(d.length>b.length){return d.substring(b.length,d.length)}}return null};truste.ca2.getSt1Params=function(c){var a=c.width+"x"+c.height;
var b="aid="+c.aid+"&pid="+c.pid+"&cid="+c.cid+"&sz="+a+"&c="+c.containerId;if(c.directParams.plc){b+="&plc="+c.directParams.plc
}if(c.directParams.iplc){b+="&iplc="+c.directParams.iplc}if(c.directParams.cam){b+="&cam="+c.directParams.cam
}if(c.directParams.admarker){b+="&admarker="+c.directParams.admarker}if(c.directParams.language){b+="&language="+c.directParams.language
}if(c.directParams.locale){b+="&locale="+c.directParams.locale}if(c.directParams.sid){b+="&sid="+c.directParams.sid
}if(c.directParams.zi){b+="&zi="+c.directParams.zi}if(c.directParams.ox){b+="&ox="+c.directParams.ox}if(c.directParams.oy){b+="&oy="+c.directParams.oy
}return b};truste.ca2.callJs=function(b){var a=document.createElement("script");a.src=b;document.body.appendChild(a)
};truste.ca2.getInterstitial=function(c){if(!c.impression){c.impression=1;if(!c.st1){c.st1=1;var a=document.createElement("script");
a.type="text/javascript";var b=truste.ca2.getSt1Params(c);b=b+"&rand="+(((1+Math.random())*65536)|0).toString(16).substring(1);
b=b+truste.ca2.getDsaParams(c.directParams);a.src=c.oBaseUrl+"jsi/st1?"+b;document.body.appendChild(a)
}else{(new Image(1,1)).src=c.capBaseUrl+"aid="+c.aid+"&pid="+c.pid+"&cid="+c.cid+"&w="+c.width+"&h="+c.height+truste.ca2.getDsaParams(c.directParams)+"&c="+(((1+Math.random())*65536)|0).toString(16).substring(1)
}}else{if(!c.st1){c.st1=1;var a=document.createElement("script");a.type="text/javascript";var b=truste.ca2.getSt1Params(c);
a.src=c.oBaseUrl+c.path+b+"&js=st1&from=st_0";document.body.appendChild(a)}}truste.ca2._st2?truste.ca2._st2():truste.ca2.callJs(c.baseUrl+"get?name=st2.js")
};truste.ca2.getObjectParamValue=function(e,d){if(typeof e=="undefined"||e.nodeName.toLowerCase()!=="object"){return null
}var f=e.getElementsByTagName("param");if(f){for(var c=0;c<f.length;c++){var a=f[c];var b=a.getAttribute("name");
if(b&&b===d){return a.getAttribute("value")}}}return null};truste.ca2.initAtlas=function(f,g){var e=false;
var a=f.previousSibling;do{if(a&&a.nodeType===1){if(a.nodeName.toLowerCase()==="object"){var d=truste.ca2.getObjectParamValue(a,"movie");
if(d){if(d.indexOf(g.atlasId)>-1){g.width=a.getAttribute("width");g.height=a.getAttribute("height");e=true
}}}else{if(a.nodeName.toLowerCase()==="embed"&&typeof a.src!="undefined"&&(a.offsetWidth>10&&a.offsetHeight>10)){var b=a.src;
if(b.indexOf(g.atlasId)>-1){g.width=a.offsetWidth;g.height=a.offsetHeight;e=true}}else{if(a.href&&typeof a.href!="undefined"&&a.href.indexOf(g.atlasId)>-1){var c=a.firstElementChild;
g.width=c.offsetWidth;g.height=c.offsetHeight;e=true}}}if(e){truste.ca2.getInterstitial(g);break}}}while(a=a.previousSibling)
};truste.ca2.assignSizeFromScript=function(d,c){var a=truste.ca2.getSz(d);if(a&&a!==""){var b=a.split("x");
if(b.length==2){c.width=b[0];c.height=b[1];return true}}return false};truste.ca2.initDoubleclick=function(p,q){var g=false;
var e=window.location.href;if(truste.ca2.isTypeMatch(e,q)){g=truste.ca2.assignSizeFromScript(e,q);var c=truste.ca2.getSz(e);
truste.ca2.getInterstitial(q);q.isFromScript=1}if(!g){var m=document.querySelector("div#ad_unit>div.GoogleActiveViewClass>*>img");
if(m){q.width=m.width;q.height=m.height;truste.ca2.getInterstitial(q);g=true}}if(!g){var m=document.querySelector("div[class^=Google]:not([st_dim_set='1'])>*>img");
if(m){var k=document.querySelector("div[class^=Google]:not([st_dim_set='1'])");if(k){k.setAttribute("st_dim_set",1);
q.width=m.width;q.height=m.height;truste.ca2.getInterstitial(q);g=true}}}if(!g){var h=function(i){return(i.gotParent)?null:(i.gotParent=1,(i.parentElement||i.parentNode))
};var n=p.previousSibling||h(p);do{if(n&&n.nodeType===1){if(n.nodeName.toLowerCase()==="script"){var d=n.src;
if(d&&truste.ca2.isTypeMatch(d,q)){g=truste.ca2.assignSizeFromScript(d,q);if(g){truste.ca2.getInterstitial(q);
q.isFromScript=1;break}}}else{if(n.nodeName.toLowerCase()==="object"&&n.width>1&&n.height>1){q.width=n.width;
q.height=n.height;truste.ca2.getInterstitial(q);g=true;break}else{if(n.nodeName.toLowerCase()==="div"||n.nodeName.toLowerCase()==="a"){var l=truste.ca2.findObjectOrImg(n);
if(!l&&n.nodeName.toLowerCase()==="div"&&(n.className==="GoogleActiveViewClass"||n.className==="spongecell-ad")){l=truste.ca2.findObjectOrImg(n,"iframe")
}if(l){q.width=(l.width&&l.width.toString().indexOf("%")==-1)?l.width:l.offsetWidth;q.height=(l.height&&l.height.toString().indexOf("%")==-1)?l.height:l.offsetHeight;
truste.ca2.getInterstitial(q);g=true;break}}}}}}while(n=(n&&n.previousSibling)?n.previousSibling:h(p))
}if(!g){var f=document.getElementsByTagName("head");if(f&&f.length>0){var b=f[0].getElementsByTagName("script");
for(var t=0;t<b.length;t++){var d=b[t].src;if(d&&truste.ca2.isTypeMatch(d,q)){g=truste.ca2.assignSizeFromScript(d,q);
if(g){truste.ca2.getInterstitial(q);q.isFromScript=1;break}}}}}if(!g){if(top!==self&&window.frameElement&&window.frameElement.clientWidth==q.width&&window.frameElement.clientHeight==q.height){truste.ca2.getInterstitial(q)
}}if(!g){var o=document.getElementById("celtra-banner");if(o){q.width=o.offsetWidth;q.height=o.offsetHeight;
truste.ca2.getInterstitial(q)}}if(!g){var j=truste.ca2.findDoubleClickIframe2(q);if(j){q.width=j.offsetWidth;
q.height=j.offsetHeight;truste.ca2.getInterstitial(q);q.isFromScript=1}}if(!g){var r=p.nextSibling;do{if(r.nodeName.toLowerCase()==="div"&&r.className==="GoogleActiveViewClass"){var l=truste.ca2.findObjectOrImg(r);
if(!l&&r.nodeName.toLowerCase()==="div"&&(r.className==="GoogleActiveViewClass")){l=truste.ca2.findObjectOrImg(r,"iframe")
}if(l){q.width=(l.width&&l.width.toString().indexOf("%")==-1)?l.width:l.offsetWidth;q.height=(l.height&&l.height.toString().indexOf("%")==-1)?l.height:l.offsetHeight;
truste.ca2.getInterstitial(q);g=true;break}}}while(r=(r&&r.nextSibling)?r.nextSibling:h(p))}if(!g){var s=document.querySelector("ins[class^=dcmads]:not([st_dim_set='1'])");
if(s){for(var t=0;t<s.childNodes.length;t++){var a=s.childNodes[t];if(a&&a.nodeType===1){if(a.nodeName.toLowerCase()==="script"){var d=a.src;
if(d&&truste.ca2.isTypeMatch(d,q)){g=truste.ca2.assignSizeFromScript(d,q);if(g){truste.ca2.getInterstitial(q);
q.isFromScript=1;break}}}else{if(a.nodeName.toLowerCase()==="object"&&a.width>1&&a.height>1){q.width=a.width;
q.height=a.height;truste.ca2.getInterstitial(q);g=true;break}else{if(a.nodeName.toLowerCase()==="div"||a.nodeName.toLowerCase()==="a"){var l=truste.ca2.findObjectOrImg(a);
if(!l&&a.nodeName.toLowerCase()==="div"&&(a.className&&(a.className.toLowerCase().indexOf("google")!==-1||a.className.toLowerCase().indexOf("spongecell-ad")!==-1))){l=truste.ca2.findObjectOrImg(a,"iframe")
}if(l){q.width=(l.width&&l.width.toString().indexOf("%")==-1)?l.width:l.offsetWidth;q.height=(l.height&&l.height.toString().indexOf("%")==-1)?l.height:l.offsetHeight;
truste.ca2.getInterstitial(q);g=true;break}}}}}}if(g){s.setAttribute("st_dim_set",1)}}}};truste.ca2.findDoubleClickIframe2=function(a){var c=a.docRef.getElementsByTagName("iframe");
var e=new RegExp("s[0-1].2mdn.net.*?");for(var d=0;d<c.length;d++){var f=c[d];if(e.test(f.src)){return f
}}return null};truste.ca2.findObjectOrImg=function(f,d){var a=[];a.push(f);while(a.length>0){var i=a.pop();
if(i.nodeName.toLowerCase()=="object"){var k=(i.width&&i.width.toString().indexOf("%")==-1)?i.width:i.offsetWidth;
var j=(i.height&&i.height.toString().indexOf("%")==-1)?i.height:i.offsetHeight;if(k>1&&j>1){return i}}else{if(i.nodeName.toLowerCase()=="a"){var g=(i.childElementCount||i.children.length);
var e=(i.firstElementChild||i.children[0]);if(g>0&&e.nodeName.toLowerCase()=="img"&&e.width>1&&e.height>1){return e
}}else{if(i.nodeName.toLowerCase()=="img"&&i.style.visibility!="hidden"&&i.parentElement.style.visibility!="hidden"&&i.width>1&&i.height>1){return i
}else{if(d&&i.nodeName.toLowerCase()===d&&i.offsetWidth>1&&i.offsetHeight>1&&i.style.visibility!="hidden"&&i.style.display!="none"){return i
}}}}var b=i.childNodes;if(b&&b.length>0){for(var c=0;c<b.length;c++){a.push(b[c])}}}return null};truste.ca2.initBinding=function(b){b.count=b.count||0;
var a=truste.ca2.jsMap[b.baseName];if(a){if(typeof b.atlasId!="undefined"){truste.ca2.initAtlas(a,b)}else{truste.ca2.initDoubleclick(a,b)
}}if(!b.impression){if(b.count<10){b.count++;setTimeout(function(){truste.ca2.initBinding(b)},250)}else{(new Image(1,1)).src=b.capBaseUrl+"aid="+b.aid+"&pid="+b.pid+"&cid="+b.cid+"&w=1&h=1&c="+(((1+Math.random())*65536)|0).toString(16).substring(1)+truste.ca2.getDsaParams(b.directParams);
b.impression=1}}};truste.ca.getCreativeId=function(a){var c=null;if(a!==null){for(var b in truste.ca.creativeMap){if(truste.ca.creativeMap.hasOwnProperty(b)&&truste.ca.creativeMap[b]===a){c=b;
break}}if(c===null){c=truste.ca.uuid();truste.ca.creativeMap[c]=a}}return c};truste.ca.getCreativeIdOfWindow=function(b){var c=null;
for(var a in truste.ca.dominantTag){if(truste.ca.dominantTag.hasOwnProperty(a)){creative=truste.ca.dominantTag[a].creative;
if(creative.tagName==="IFRAME"&&creative.contentWindow===b){c=a;break}}}return c};truste.ca.checkIfParentHasCaJS=function(){var a;
if(self!=top){a={DeCollision:{action:"hasCaJS"}};window.parent.postMessage(JSON.stringify(a),"*")}};truste.ca.checkCollision=function(d){var c,f,a,e;
if(truste.ca2.findCreative){e=truste.ca2.findCreative(d)}if(!e&&truste.ca){e=truste.ca.findCreative&&truste.ca.findCreative(d)
}c=truste.ca.getCreativeId(e);if(typeof d.priority==="string"){f=d.priority.split("-")}else{f=[d.priority,0]
}if(f[0].toLowerCase()=="off"||f[1].toLowerCase()=="off"){return}if(typeof truste.ca.dominantTag[c]==="undefined"){truste.ca.dominantTag[c]={baseName:d.baseName,priority:f,creative:e,host:truste.ca.host}
}else{a=truste.ca.dominantTag[c].priority;if(a[1]==f[1]){if(a[0]<f[0]){truste.ca2.removeIcon(d.baseName)
}else{truste.ca2.removeIcon(truste.ca.dominantTag[c].baseName);truste.ca.dominantTag[c].baseName=d.baseName;
truste.ca.dominantTag[c].priority=f}}else{if(a[1]<f[1]){truste.ca2.removeIcon(d.baseName)}else{truste.ca2.removeIcon(truste.ca.dominantTag[c].baseName);
truste.ca.dominantTag[c].baseName=d.baseName;truste.ca.dominantTag[c].priority=f}}}setTimeout(function(){truste.ca.checkIfParentHasCaJS()
},750)};truste.ca.removeBaseNameInIframes=function(c,a){var b={DeCollision:{action:"suppress",baseName:c}};
a.contentWindow.postMessage(JSON.stringify(b),"*")};truste.ca.removeTag=function(d){var b,a;a=false;var c;
for(c in truste.ca2.bindMap){if(truste.ca2.bindMap.hasOwnProperty(c)){if(truste.ca2.bindMap[c].baseName===d){truste.ca2.removeIcon(d);
a=true;break}}}if(!a){for(c in truste.ca.dominantTag){if(truste.ca.dominantTag.hasOwnProperty(c)){b=truste.ca.dominantTag[c].creative;
if(b.tagName=="IFRAME"){truste.ca.removeBaseNameInIframes(d,b)}}}}};truste.ca.processCheckCollision=function(e){var b,a,c,f,d;
b=e.creativeHash;if(e.baseName!==truste.ca.dominantTag[b].baseName){a=truste.ca.dominantTag[b].priority;
c=e.priority;if(a[1]==c[1]){if(a[0]<c[0]){d=e.baseName}else{d=truste.ca.dominantTag[b].baseName;truste.ca.dominantTag[b].baseName=e.baseName;
truste.ca.dominantTag[b].priority=e.priority;truste.ca.dominantTag[b].host=e.host}}else{if(a[1]<c[1]){d=e.baseName
}else{d=truste.ca.dominantTag[b].baseName;truste.ca.dominantTag[b].baseName=e.baseName;truste.ca.dominantTag[b].priority=e.priority;
truste.ca.dominantTag[b].host=e.host}}truste.ca.removeTag(d)}else{console.log("Abort Collision check, no need to compare same baseName")
}};truste.ca.passDominantTagToParent=function(d){var c,a;c={};for(var b in d){if(d.hasOwnProperty(b)){c[b]={baseName:d[b].baseName,priority:d[b].priority,host:d[b].host}
}}a={DeCollision:{action:"dominantTagPass",dominantTag:c}};window.parent.postMessage(JSON.stringify(a),"*")
};truste.ca.processDominantTagPass=function(e){var d,a,c;d=JSON.parse(e.data);if(truste.ca.isTopAd){a=truste.ca.getCreativeIdOfWindow(e.source);
for(var b in d.DeCollision.dominantTag){if(d.DeCollision.dominantTag.hasOwnProperty(b)){c=d.DeCollision.dominantTag[b];
truste.ca.processCheckCollision({baseName:c.baseName,source:e.source,priority:c.priority,creativeHash:a,host:c.host})
}}}else{truste.ca.passDominantTagToParent(d.DeCollision.dominantTag)}};truste.ca.processPostMessage=function(h){var m,d,c;
try{try{d=JSON.parse(h.data)}catch(j){d=h.data}if(d&&d.PrivacyManagerAPI){truste.ca.tagReferrer=h.origin
}else{if(d&&d.DeCollision){c=d.DeCollision.action;switch(c){case"hasCaJS":m={DeCollision:{action:"hasCaJSResponse"}};
h.source.postMessage(JSON.stringify(m),h.origin);break;case"hasCaJSResponse":truste.ca.isTopAd=false;
setTimeout(function(){truste.ca.passDominantTagToParent(truste.ca.dominantTag)},750);break;case"dominantTagPass":truste.ca.processDominantTagPass(h);
break;case"suppress":truste.ca.removeTag(d.DeCollision.baseName);break;default:break}}else{if(d&&d==="AMZNOVRIDE"){var a="http://www.amazon.com/adprefs/?pn=1&pg=daaedisc&pp=1,t,";
var o;var k=truste.ca2.bindMap;for(var l in k){if(k.hasOwnProperty(l)){k[l].target="directlink";o=a;o=o+k[l].pid+",";
o=o+k[l].aid+",";o=o+k[l].cid+",";o=o+k[l].width+",";o=o+k[l].height;k[l].optoutLink=o}}}else{if(h.source===self.parent){if(!truste.ca.hasRegistered){var g={};
g.source=h.source;g.data=h.data;g.origin=h.origin;truste.ca.storedParentEvents.push(g)}else{for(var f in truste.ca._contRegistry){var b=truste.ca._contRegistry[f];
if(d.priority<=b.priority){truste.ca2.removeIcon(b.baseName)}else{var n=JSON.stringify({suppress:true});
h.source.postMessage(n,h.origin)}}}}else{if(d.suppress){for(var f in truste.ca._contRegistry){truste.ca2.removeIcon(truste.ca._contRegistry[f].baseName)
}}}}}}}catch(h){}};truste.ca2.removeIcon=function(b){var a=document.getElementById(b+"-icon")||document.getElementById(b);
bindings=te_clr1_fde04206_e2d4_4060_af96_385f1b7a6605_bi;if(a&&a.parentNode){a.parentNode.removeChild(a)
}delete truste.ca._contRegistry[b]};truste.ca.addRegistryListener(function(b){var a=te_clr1_fde04206_e2d4_4060_af96_385f1b7a6605_bi.baseName;
var f=truste.ca._contRegistry[a];var e=function e(h,g){for(var i=g;i!==null;i=i.parentNode){if(i==h){return true
}}return false};if(b.baseName==a){if(!a){return true}for(var c in truste.ca._contRegistry){var d=truste.ca._contRegistry[c];
if(e(d.element,b.element)||e(b.element,d.element)){return true}}}if(!f){return}if(f.priority&&(!b.priority||f.priority<b.priority)){if(e(b.element,f.element)||e(f.element,b.element)){var d=document.getElementById(f.baseName+"-icon");
if(d&&d.parentNode){d.parentNode.removeChild(d)}delete truste.ca._contRegistry[f.baseName];te_clr1_fde04206_e2d4_4060_af96_385f1b7a6605_bi.baseName=null
}}return false});truste.ca2._version="20241001";