<!--//*/
if(window.pubId&&window.kadasync!=false){(function(){var a=(function(){var c=navigator.userAgent.toLowerCase();if(c.indexOf("safari")!=-1){return c.indexOf("chrome")>-1?false:true}return false})(),b={319:"",33496:"",155957:"",145058:"",57248:"",83446:"",117297:"",55601:"",115938:"",148804:"",150561:"",79505:"",32223:"",100253:"",132591:"",133710:"",118184:"",110741:"",116319:"",132110:"",150560:"",112961:"",89413:"",155497:"",69972:"",117497:"",96387:"",119281:"",128495:"",107134:"",110791:"",114634:"",45156:"",36365:"",145160:"",120747:"",148805:"",89376:"",113148:"",107246:"",93639:"",120496:"",47683:"",73102:"",156010:"",156193:"",156167:"",156180:"",156851:"",156585:""};window.pmAsyncEnabled=a&&window.pubId&&!b.hasOwnProperty(window.pubId)&&!window.kadmultisize})()}if(window.pmAsyncEnabled){(function(){window.pmDspId={uids:[]};if(1){(function(){window.pmCriteoHandleData=function(c){if(c.status=="OK"&&c.userid){window.pmDspId.uids.push({px:116,uid:c.userid})}};var b=document.createElement("script");b.type="text/javascript";b.async=1;b.src="https://gum.criteo.com/sync?c=31&r=2&j=pmCriteoHandleData";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(b,a)})()}})()}(function(){function aj(bz){var bE="",bD,x,bA,by,bC,bB=(location.protocol==="http:"?"http":"https")+"://haso.pubmatic.com/jsError/logger.js?";for(x in bz){if(x!="message"&&x!="name"){bD=bz[x];if(typeof bD==="string"||typeof bD==="number"){bE+="["+x+":"+bD+"]"}}}bA="pubId="+window.pubId+(window.kadId?"&adId="+window.kadId:"")+"&cb="+Math.random()+"&SAVersion=2&msg="+encodeURIComponent(bz.message)+"&name="+encodeURIComponent(bz.name)+"&desc="+encodeURIComponent(bE)+"&url="+encodeURIComponent(window.location.href);if(typeof window.Image=="function"){(new Image()).src=bB+bA}else{by=document.createElement("img");by.src=bB+bA;bC=document.body||document.getElementsByTagName("body")[0]||false;bC&&bC.appendChild(by)}}try{var aK=window,q=navigator,a1=aK.top||aK,V=encodeURIComponent,aD=decodeURIComponent,bq=aK.parseInt,C,u=512,bs=512,an=50,aS="height:0px;width:0px;display:none;",a5='<script type="text/javascript" src="',ap=aK.PubMatic||(aK.PubMatic={}),ag=ap.pmAdInfo||(ap.pmAdInfo={}),a8=0,k=aK.location,a4=(function(){var x=navigator.userAgent.toLowerCase();if(x.indexOf("safari")!=-1){return x.indexOf("chrome")>-1?false:true}return false})(),X=function(x){if(a4){return x}try{if(x.parent&&x.parent.document&&x.location&&x.parent.document!=x.document){return X(x.parent)}}catch(by){}return x},ar=(function(){if(aK.kadsec==1){a8=1;return"https://"}var x=X(aK);return(x.location.protocol!=="http:"?(a8=1,"https"):"http")+"://"})(),j="AdServer",be="pubmatic.com",az="ads."+be,aY="/"+j+"/"+j+"Servlet",bj=az+"/"+j+"/",bn=ar+bj+"js",bu=ar+(a8?"s":"")+"showads."+be+aY,ao=aK.location.href,a3=ao.indexOf("#")>-1?ao.substr(ao.indexOf("#")+1):"",am=bn+"/showad.js",M="/"+j+"/js/showad.js",aR,a0,a6,y,aA={},bb=function(x){return typeof x==="function"},bk=(false?console.log.bind(console,"PubMatic:"):function(){}),l=function(){return aK.location.protocol=="http:"?"http:":"https:"},o=function(x,bA){var bz=document.createElement("script");bz.type="text/javascript";bz.src=x;if(bb(bA)){bz.onload=bz.onreadystatechange=bA}var by=document.getElementsByTagName("script")[0];by&&by.parentNode&&bb(by.parentNode.appendChild)&&by.parentNode.appendChild(bz)},bo=(function(){try{return aK.localStorage&&bb(aK.localStorage.getItem)&&bb(aK.localStorage.setItem)}catch(x){return false}})(),h="PubMatic",a=(aK.__cmp?1:(aK.kadGdpr?aK.kadGdpr:0)),bh=function(bB,bA){var by=0,x=bB.length,bz=false;for(;by<x;by++){if(bB[by]===bA){bz=true;break}}return bz},L=function(x,by,bB){function bC(){var bK={};function bL(){bk("in afterEach, ",bK);if(bK.getConsentData&&bK.getVendorConsents){x(bK,bB)}}return{consentDataCallback:function(bM){bk("in consentDataCallback, ",bM);bK.getConsentData=bM;bL()},vendorConsentsCallback:function(bM){bk("in vendorConsentsCallback, ",bM);bK.getVendorConsents=bM;bL()}}}function bJ(){bk("calling CMP ");window.__cmp("getConsentData",null,bz.consentDataCallback);window.__cmp("getVendorConsents",null,bz.vendorConsentsCallback)}var bz=bC();var bH={};if(window.__cmp){if(typeof window.__cmp==="function"){bJ()}else{bk("calling CMP after delay");setTimeout(function(){if(typeof window.__cmp==="function"){bJ()}},500)}}else{if(window!==a1){bk("Tag is executing in iframe");if(bD()&&typeof window.$sf.ext.cmp==="function"){bk("In safe-frame CMP detection");bI("getConsentData",bz.consentDataCallback);bI("getVendorConsents",bz.vendorConsentsCallback)}else{bk("In iframe CMP detection");var bF=window;var bE;while(!bE){try{if(bF.frames.__cmpLocator){bE=bF}}catch(bG){}if(bF===window.top){break}bF=bF.parent}bA("getConsentData",bE,bz.consentDataCallback);bA("getVendorConsents",bE,bz.vendorConsentsCallback)}}else{bk("cmp might not have loaded, calling CMP after delay");setTimeout(function(){if(typeof window.__cmp==="function"){bJ()}},500)}}function bD(){return !!(window.$sf&&window.$sf.ext)}function bI(bL,bM){function bK(bP,bO){if(bP==="cmpReturn"){var bN=(bL==="getConsentData")?bO.vendorConsentData:bO.vendorConsents;bM(bN)}}window.$sf.ext.register(1,1,bK);window.$sf.ext.cmp(bL)}function bA(bM,bP,bO){window.__cmp=function(bS,bQ,bV){if(!bP){bN();var bU="CMP not found";return by(bU,bB)}var bR=Math.random()+"";var bT={__cmpCall:{command:bS,parameter:bQ,callId:bR}};bH[bR]=bV;bP.postMessage(bT,"*")};window.addEventListener("message",bL,false);window.__cmp(bM,null,bK);function bL(bS){var bR=(typeof bS.data==="string"&&bh(bS.data,"cmpReturn"))?JSON.parse(bS.data):bS.data;if(bR.__cmpReturn&&bR.__cmpReturn.callId){var bQ=bR.__cmpReturn;if(typeof bH[bQ.callId]!=="undefined"){bH[bQ.callId](bQ.returnValue,bQ.success);delete bH[bQ.callId]}}}function bN(){window.removeEventListener("message",bL,false)}function bK(bQ){bN();bO(bQ)}}},aU=function(by){function bz(bA){bk("Data received from CMP: ",bA);if(bA){if(bA.getConsentData&&bA.getConsentData.consentData){bk("using getConsentData.consentData: ",bA.getConsentData.consentData);Q(by,"c",bA.getConsentData.consentData)}else{if(bA.getVendorConsents&&bA.getVendorConsents.metadata){bk("using getVendorConsents.metadata: ",bA.getVendorConsents.metadata);Q(by,"c",bA.getVendorConsents.metadata)}}}}function x(){bk(arguments);bk("Failed to retrieve user consent data from CMP for pubId: ",by)}L(bz,x)},Q=function(bA,x,bz){var by;if(!bo){bk("local storage is not enabled");return}try{by=aK.localStorage.getItem(h)}catch(bB){bk("failed in reading from LS")}if(by&&typeof by==="string"){try{by=JSON.parse(by)}catch(bB){by={}}}else{by={}}bk("data from ls",by);if(by){if(!by.hasOwnProperty(bA)){by[bA]={}}by[bA].t=(new Date()).getTime();by[bA][x]=bz;if(x=="c"){by[bA]["g"]=1}}try{aK.localStorage.setItem(h,JSON.stringify(by));bk("data stored in local storage successfuly")}catch(bB){bk("local storage reading exception")}},W=function(bA){var bz={c:""};if(!bo){bk("LS is not enabled");return bz}var by;try{by=aK.localStorage.getItem(h)}catch(bB){bk("failed in reading from LS")}if(by&&typeof by==="string"){try{by=JSON.parse(by)}catch(bB){by={}}if(by.hasOwnProperty(bA)){var x=by[bA];if(x&&x.c&&x.t){if(x.t&&bq(x.t)>((new Date()).getTime()-(24*60*60*1000))){bz.c=x.c}else{bk("data in LS had no timestamp or expired timestamp.",x)}}}}return bz},aw="nFIn8aLzbd",bd=function(x){if(typeof x!=="function"){return}var by=false;o("https://cdn.digitru.st/prod/1/digitrust.min.js",function(){if(!by&&(!this.readyState||this.readyState=="complete")){by=true;DigiTrust&&bb(DigiTrust.initialize)&&DigiTrust.initialize({member:aw},x)}})},D=function(by){if(typeof by!=="function"){return}function x(){var bA=window.DigiTrust&&typeof window.DigiTrust.getUser==="function"&&window.DigiTrust.getUser({member:aw});return(bA&&bA.success&&bA.identity)||null}var bz=x();if(!bz||(bz.privacy&&bz.privacy.optout)){by(null)}else{by({source:"digitru.st",uids:[{id:bz.id||"",atype:1,ext:{keyv:bq(bz.keyv)||0}}]})}},aq=function(x){var by=[];D(function(bz){if(bz!==null){by.push(bz)}});if(by.length>0){x.eids=JSON.stringify(by)}},bc=(function(){var bA="PM-UL-Sync",bz=2,by=[],bD=function(bJ){var bM="",bL,bG,bI=0,bH;try{bM=document.cookie}catch(bK){}bL=bM.split("; ");bG=bL.length;for(;bI<bG;bI++){bH=bL[bI].split("=");if(bH[0]===bJ){return bH[1]}}return""},bF=function(bH,bM,bN,bO,bJ,bG){var bI,bL;bI=new Date(new Date().getTime()+bN*86400000);bL=bH+"="+bM+";expires="+bI.toGMTString()+";path="+bO+";domain="+bJ;if(bG){bL+=";secure"}try{document.cookie=bL}catch(bK){}},bB=function(){var bG={};try{bG=JSON.parse(bD(bA))}catch(bH){bk("cookie is empty")}return bG},bE=function(bG,bH){if(bG.pubs.hasOwnProperty(bH)){if(bG.pubs[bH]==1){bk("function id: ",bG.id,": This function is enabled for "+bH,"Referring to pub-level settings");return true}else{if(bG.pubs[bH]==0){bk("function id: ",bG.id,": This function is disabled for "+bH,"Referring to pub-level settings");return false}}}else{if(bG.pubs.hasOwnProperty("*")){if(bG.pubs["*"]==1){bk("function id: ",bG.id,": This function is enabled for all publishers","Referring to common settings");return true}else{if(bG.pubs["*"]==0){bk("function id: ",bG.id,": This function is disabled for all publishers","Referring to common settings");return false}}}else{bk("function id: ",bG.id,": This function is not selected for this publisher as pub-level or common settings not found");return false}}},x=function(bG){return function(){var bH=bB(),bI=(new Date()).getTime(),bJ=bG.fH||24;bH[bG.id]=bI+bG.fH*60*60*1000;bF(bA,JSON.stringify(bH),30,"/","");bk("function id: ",bG.id,": marked as done.")}},bC=function(bN,bG){if(navigator.cookieEnabled===false){bk("Cookies are disabled so not executing JS code.");return}bk("in function to process JS functions");var bI=bB(),bL=(new Date()).getTime();bk("funcstions to execute: ",by);for(var bJ=0,bH=by.length;bJ<bH;bJ++){var bK=by[bJ];if(bb(bK.name)){if(bK.fileList&&bK.fileList[bG]!==1){bk("function id:",bK.id,": This function is not enabled for",bG);continue}if(bb(bK.prefilter)){if(bK.prefilter(bN)===false){bk("function id: ",bK.id,": This function is not selected due to it's prefilter.");continue}}var bM=false;bM=bE(bK,bN.p);if(!bM){bk("function id: ",bK.id,": not executing due to publisher settings.");continue}if(!bI.hasOwnProperty(bK.id)||(bI.hasOwnProperty(bK.id)&&bI[bK.id]<bL)){bk("function id: ",bK.id,": selected to execute after ",bK.iDM||0,"ms");setTimeout((function(bO){return function(){bk("function id: ",bO.id,": calling function");bO.name(bN,x(bO))}})(bK),bK.iDM||0);bz--;if(bz==0){break}}else{bk("function id: ",bK.id,": will execute after some time as it is already executed")}}}};by.push({name:function(bN,bO){var bG="content.uplynk.com",bP="ad.vcid",bI=1000,bH=30,bL=1,bQ=function(bT,bR){bk("Calling PubMatic SPUG endpoint to push publishetr UID to server side store");var bS="//image4.pubmatic.com/AdServer/SPug?partnerID="+bT.p;bS+="&partnerUID="+encodeURIComponent(bR);bS+="&gdpr="+(bT.gdpr||0);bS+="gdpr_consent="+(bT.gdpr_consent||"");(new Image()).src=bS},bK=function(){var bS=[];try{bS=window.performance.getEntriesByType("resource")}catch(bR){bS=[]}return bS},bJ=function(bV,bW,bS){for(var bU=0,bR=bV.length;bU<bR;bU++){if(bV[bU]&&typeof bV[bU].name==="string"&&typeof bV[bU].name.indexOf==="function"&&bV[bU].name.indexOf(bG)>0){var bT=getQueryParamsFromURL(bV[bU].name);if(bT[bP]){bQ(bW,bT[bP]);(new Image()).src="//pixeljs-ads.pubmatic.com/AdServer/js/pixel.js?jst=UPLYNK&try="+bL+"&p="+bW.p;bS();return true}}}return false},bM=function(bS,bR){if(!bJ(bK(),bS,bR)){if(bL<bH){bk("execution was not successful, trying again, "+bL);bL++;setTimeout(function(){bM(bS,bR)},bI)}else{(new Image()).src="//pixeljs-ads.pubmatic.com/AdServer/js/pixel.js?jst=UPLYNK&try=MAX_TRY&p="+bS.p}}};bM(bN,bO)},id:1,fH:24,iDM:1000,pubs:{"51217":1},fileList:{"userSync.js":1},prefilter:function(bG){return window===a1}},{name:function(bK,bG){var bJ=false;var bI;var bH=3;var bL=function(bN){if(bJ){return}var bP=[];if(bN!==null){bP.push(bN);try{var bM=l()+"//image2.pubmatic.com/AdServer/Pug?vcode=bz0yJnR5cGU9MSZqcz0xJmNvZGU9MzQwMCZ0bD00MzIwMA==";bM+=bK.hasOwnProperty("p")?("&p="+bK.p):"";bM+="&eids="+encodeURIComponent(JSON.stringify(bP));bM+="&gdpr="+(bK.hasOwnProperty("gdpr")?bK.gdpr||"0":"0");bM+="&gdpr_consent="+(bK.hasOwnProperty("gdpr_consent")?encodeURIComponent(bK.gdpr_consent||""):"");o(bM);bG();bJ=true;clearInterval(bI)}catch(bO){}}else{bk("DigiTrust object received is NULL. Will try again.")}if(--bH===0){clearInterval(bI);bk("DigiTrust max try reached.")}};if(window.DigiTrust&&bb(window.DigiTrust.getUser)){bI=setInterval(function(){D(bL)},300)}else{if(true){bd(function(){bI=setInterval(function(){D(bL)},300)})}}},id:2,fH:24,iDM:0,pubs:{"*":1},fileList:{"userSync.js":1,"user_sync.html":1,"showad.js":1,"mshowad.js":1},prefilter:function(bG){return true}});return bC})(),aX=(function(){var x={319:""};return a!=1&&aK.pubId&&!x.hasOwnProperty(aK.pubId)})(),z=function(x){document.write(x)},a9=function(by,bB){var x=document.body||document.getElementsByTagName("body")[0]||false,bA;try{if(x){if(document.createEvent){bA=document.createEvent("HTMLEvents");bA.info=bB;bA.initEvent(by,true,true);x.dispatchEvent(bA)}else{if(document.createEventObject){bA=document.createEventObject();bA.info=bB;x.fireEvent(by,bA)}}}}catch(bz){}},bi=function(by,x){if(x){if(br.IE){z(a5+by+'" onReadyStateChange="PubMatic.tags['+x+'].jsl(this);"><\/script>')}else{z(a5+by+'" onload="PubMatic.tags['+x+'].jsl();"><\/script>')}}else{z(a5+by+'"><\/script>')}},P=function(x,bK,bC,bz,bA,bB,bF,by,bD){var bH,bJ,bE,bI,bG=false;if((bD&&document.body)||(!by&&document.readyState!=="loading"&&document.body)){bH=document.createElement("iframe");bH.src=x;bH.height=bK;bH.width=bC;bA?bH.name=bA:null;bB?bH.id=bB:null;bz?bH.style.cssText=bz:null;bF?bH.onload=bF:null;bH.marginHeight="0";bH.marginWidth="0";bH.scrolling="no";bH.frameBorder="0";bH.allowtransparency="true";bH.hspace="0";bH.vspace="0";bE=document.body;if(aK.PubMaticAI){bI=bE.firstChild;if(bI&&bI.nodeType===1&&bI.className==="PubAdAI"){bI.style.display="";d(bI);bE=bI;bG=true}}if(document.readyState==="complete"||(br.IE&&document.readyState==="interactive")){bG?bE.insertBefore(bH,bE.lastChild):bE.appendChild(bH)}else{if(br.IE){document.onreadystatechange=function(){if(document.readyState==="complete"){document.onreadystatechange=null;bG?bE.insertBefore(bH,bE.lastChild):bE.appendChild(bH)}}}else{bJ=function(){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",bJ,false)}aK.onload=function(){};bG?bE.insertBefore(bH,bE.lastChild):bE.appendChild(bH)};if(document.addEventListener){document.addEventListener("DOMContentLoaded",bJ,false)}aK.onload=bJ}}}else{z("<iframe"+(bB?' id="'+bB+'"':"")+(bA?' name="'+bA+'"':"")+' frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" scrolling="no" width="'+bC+'" hspace="0" vspace="0" height="'+bK+'"'+(bz?' style="'+bz+'"':"")+' src="'+x+'"'+(bF?' onload="'+bF+'"':"")+"></iframe>")}},aV=function(){var x={};x.pubId=bq(aK.pubId);x.siteId=bq(aK.siteId);x.adId=bq(aK.kadId);x.kadwidth=bq(aK.kadwidth);x.kadheight=bq(aK.kadheight);if(aK.kadtype){x.kadtype=bq(aK.kadtype);aK.kadtype=C}if(aK.kadNetwork){x.kadNetwork=aK.kadNetwork;aK.kadNetwork=C}return x},H=function(bA){var x=[],by,bz;for(by in bA){bz=bA[by];if(bA.hasOwnProperty(by)&&bz!=C&&bz!==""){x.push(by+"="+V(bz))}}return x.join("&").replace("#","%23")},m=function(bA){var x=[],by,bz;for(by in bA){bz=bA[by];if(bA.hasOwnProperty(by)&&bz!=C&&bz!==""){if(by!=="defcmpgIDs"){bz=g(bz)}x.push(by+"="+bz)}}return x.join("&")},I=function(by){var x=new Date();by.kltstamp=x.getFullYear()+"-"+(x.getMonth()+1)+"-"+x.getDate()+" "+x.getHours()+":"+x.getMinutes()+":"+x.getSeconds();by.timezone=x.getTimezoneOffset()/60*-1},g=function(by){try{by=typeof by==="string"?by:""+by;by=aD(by)===by?V(by):by;if(by.indexOf("&")>=0||by.indexOf("=")>=0||by.indexOf("?")>=0){by=V(by)}return by}catch(x){return""}},ak=function(){var bB={},bC,bz,x,by=function(bE){var bD=bE,bF;if(bE.indexOf("show"+az)>0||bE.indexOf("showadsak."+be)>0){bF=bE.match(/pageURL=(.*?&)/);if(bF&&bF[1]){bD=bF[1];bD=bD.substr(0,bD.length-1);try{bD=aD(bD)}catch(bG){}}}return bD};bB.u="";bB.r="";try{if(aK.kadpageurl=="INSERT_ENCODED_PAGEURL_HERE"){aK.kadpageurl=""}bC=X(aK);bB.r=by(bC.refurl||bC.document.referrer||"").substr(0,bs);bB.u=by(bC!==a1&&bC.document.referrer!=""?bC.document.referrer:bC.location.href).substr(0,bs);if(bB.u===bB.r){bB.r=""}bB.u=g(bB.u);bB.r=g(bB.r)}catch(bA){}if(!bB.u){try{ao=(ao==aD(ao))?ao:aD(ao)}catch(bA){}ao=by(ao);bB.u=V(ao.substr(0,bs))}if(bB.u===bB.r){bB.r=""}bz=q.userAgent;x=bz.indexOf("MSIE");bB.IE=q.appName=="Microsoft Internet Explorer";if(bB.IE&&x>0){bB.IEV=bq(bz.substr(x+5,3));bB.IE6=bB.IEV<7}bB.it=aK.kadinventorytype?aK.kadinventorytype:0;return bB},br=ap.m||(ap.m=ak()),a2=function(x){try{if(q.cookieEnabled===false){x.fpcd="1"}}catch(by){}x.pageURL=br.u;x.refurl=br.r;br.IE6&&(x.avoidFrameDefault=1);x.inIframe=aK!=a1?"1":"0";if("isSingleFrame" in aK){x.inMultipleNestedIframes=aK.isSingleFrame=="true"?"0":"1"}},aP=function(bz){var by=am+"#"+m(bz.c),bA=0,bB=bz.nis,x=bB.length;for(;bA<x;bA++){by+="&ni="+V(bB[bA])}if(bz.pbv){by+="&"+H(bz.pbv)}return by},aE=(ag.setNetworkId||function(bz,bC,by,bD,bG,bH,bI,bA,bJ){var bF,bE,bB,x;bF=ap.tag||ap.tags[bz];bF.c.defdcpm=bI;bF.c.oid=bA;if(!bJ){bF.nis.push([bC,by,bD,bG])}if(bF.fc){bB=bF.fr;if(bB){bE=bB.contentWindow;x=aP(bF);if(bE){bE.location.replace(x)}else{bB.src=x}}else{setTimeout(function(){aE.call(aK,bz,bC,by,bD,bG,bH,bI,bA,true)},20)}}if(ap.AHT==0&&!bJ){a9("onPubMaticAdInfoUpdated",bF.c)}}),aN=function(){var bz=this.plt,by=0,x;if(bz){x=bz.length;for(;by<x;by++){bz[by].apply(this)}}},bl=function(x){if(x&&x.readyState!="complete"){return}aN.call(this);a9("onPubMaticAdLoaded",this.c)},Z=ap.AdTag||(ap.AdTag=function(bB,by,bE){var bD=this,bz,bC,x,bA;bD.fr=null;bD.fc=false;bD.c=bB;bD.df=O;bD.nis=[];bD.lastdefadnwkID=0;bD.jsl=bl;if(!by){bA=ap.tags;bB.operId=bB.kadtype===1||bB.kadtype===12?3:1;if(bB.kadtype===12){bB.adtype=12}bB.kadtype=C;a8&&(bB.sec=1);I(bB);bB.screenResolution=screen.width+"x"+screen.height;bB.ranreq=Math.random();x=bA.length;bB.pmUniAdId=""+x;if(bA.length>0){bz=[];for(bC=0;bC<x;bC++){bz.push(bA[bC].c.adId)}bB.prevkadIds=bz.slice(0,10).join("_")}if(!bE){J(bB)}B(bB);if(bB.operId===3){bt(bD,bB,x)}}}),aW=function(){var bN=aK.location.search.substr(1).split("&"),bJ=bN.length,bE={},bK={},x=new Z(bE,true),bz=0,bP,bG,bB,bA,bC=[],bO,bD,bM=0,bH=0,bI,by,bF;try{document.domain=be}catch(bL){}for(;bz<bJ;bz++){bB=bN[bz].split("=");bP=bB[0];bG=bB[1];if(!aA[bP]){bE[bP]=bG}else{if(bP==="kadNetwork"){bA=bq(bG)}else{if(bP==="defcmpgIDs"){bC=bG?bG.split(","):[]}else{if(bP==="defecpm"){bO=parseFloat(bG)}else{if(bP==="defactecpm"){bD=parseFloat(bG)}else{if(bP==="lastdefadnwkID"){bM=bq(bG)}else{if(bP==="defcount"){bH=bq(bG)}}}}}}}}if(a3&&a3.length>0){bN=a3.split("&");bJ=bN.length;for(bz=0;bz<bJ;bz++){bB=bN[bz].split("=");bK[bB[0]]=aD(bB[1])}x.pbv=bK}x.lastdefadnwkID=bM;by=x.nis;for(bz=0;bz<bH;bz++){by.push([0,0,0,0])}if(bH>0){bJ=bC.length;if(bA===243){bJ-=1}for(bz=0;bz<bJ;bz++){by[bz][0]=243;by[bz][1]=bC[bz]}bF=by[bH-1];bF[0]=bA;if(bA===243&&bC.length>0){bF[1]=bq(bC[bC.length-1]);bF[2]=bO;bF[3]=bD}}x.c.operId=3;ap.tag=x},aH=function(bD){var bB,bE,x,by,bC=true,bA;if(bD!=a1){bB=bD.parent;bA=bw(bD)&&bD.location.pathname===aY&&bD.PubMatic!==C?bD:null;if(!bA){try{x=bB.length;by=x;while(--by>=0){if(bC){bC=bB[by]!=bD}else{bE=bB[by];if(bw(bE)&&bE.location.pathname===M&&bE.PubMatic&&bE.PubMatic.AdInfo){bA=bE;break}}}}catch(bz){return}}return bA||aH(bB)}},d=function(bB){var bz=bB.childNodes,x=bz.length,by=0,bA;for(;by<x;by++){bA=bz[by];if(bA.nodeType===1&&bA.className!="PubAdAI"){bA.style.display="none"}}},O=function(bL,bC){var bH=this,bI=bH.c,bG={},bF,bB=bH.nis,bz=bB.length,by=bB[bz-1],bE=[],bD,x,bM,bA,bK;bC=bC||1;if(bI.kadNetwork){delete bI.kadNetwork}bG.kadNetwork=by[0];if(bG.kadNetwork===243){bG.defecpm=by[2];bG.defactecpm=by[3]}bD=bH.lastdefadnwkID;for(bF=0;bF<bz;bF++){by=bB[bF];if(by[0]===243){bE.push(by[1])}else{bD=by[0]}}bG.lastdefadnwkID=bD||"0";bG.defcmpgIDs=bE.join();bG.defcount=bz;bI.operId=bC>=2?1:3;bI.SAVersion="2";bI.js="1";bI.kdntuid="1";bI.ranreq=Math.random();bI.inIframe=aK!=a1?"1":"0";try{if(bC==1&&bL&&document.body){d(document.body);if(!br.IE||(br.IE&&document.readyState=="loading")){bA="PubMatic_"+Math.random();z("<div id='"+bA+"' style='"+aS+"'></div>");bM=document.getElementById(bA);if(bM){bK=bM;while(bK.parentNode&&bK!=document.body){d(bK.parentNode);bK.style.display="";bK=bK.parentNode}bM.parentNode.removeChild(bM)}}}}catch(bJ){}x=bu+"?"+m(bG)+"&"+m(bI);if(bH.pbv&&bC>1){x+="#"+H(bH.pbv)}if(bC===2){P(x,"100%","100%","position:absolute;left:0px;top:0px;height:100%;width:100%;")}else{if(bC===3){k.replace(x)}else{bi(x)}}},ae=function(by){var bA,bz,bB,bE,x,bD=false,bF;if(ap.tags||ap.tag){x=ap.tags?(bF=ap.tags,bF[bF.length-1]):ap.tag;x.df(!bF);bD=true}else{if(!br.IE6){bA=document.domain;if(bA===az){try{document.domain=be}catch(bC){}bz=aH(aK);if(bz){bB=bz.PubMatic;if(bB.AdInfo){bE=bB.r();if(bE){O.call(bE,true,3);bD=true}}else{if(bB.tag){bB.tag.df(true,2);bD=true}}}}if(!bD&&aK!==a1){P(am+"#LA"+(by?"&"+m(by):""),"100%","100%","position:absolute;left:0px;top:0px;height:100%;width:100%;");bD=true}}}return bD},v={kadgender:"gender",kadage:"kadage",kadhints:"kadhints",kadkw:"keywords",kadupostalcode:"kadupcode",kadufirstname:"kadufname",kadcity:"city",kadfloor:"kadfloor",kadgcid:"kadgcid",kadgecpm:"kadgecpm",kadgid:"kadgid",kadgsiteid:"kadgsiteid",kadgsectionid:"kadgsectionid",kadgadid:"kadgadid",kadpubclkurl:"kadpubclkurl",kfnetworkid:"pmForceAdNetwork",kmaldebug:"md",kadcoppa:"coppa",kadtpcid:"kadtpcid",kGeoLatitude:{n:"loc",m:function(x,by){var bz=by.kGeoLongitude||aK.kGeoLongitude;if(by.kGeoLongitude){delete by.kGeoLongitude}if(by.kGeoLatitude){delete by.kGeoLatitude}return bz!=C?x+","+bz:false}},kadloc:{n:"loc",m:g},pmzoneid:{n:"pmZoneId",m:function(x){var by=typeof x;aK.pmzoneid=C;return by==="number"?x:by==="string"?x.split(",").slice(0,an).join():x instanceof Array?x.slice(0,an).join():false}},PubMaticAI:{n:"noEnc",m:function(){return 1}},kadbeacon:{n:"kadbeacon",m:g},kasdbeacon:{n:"kadbeacon",m:g},kadpageurl:{n:"kadpageurl",m:g},kaddefurl:{n:"kaddefurl",m:g},kadstate:{n:"state",m:g},kaddma:{n:"dma",m:g},kadzip:{n:"zip",m:g},kadyob:{n:"yob",m:g},kadnettype:{n:"nettype",m:g},kadcarrier:{n:"carrier",m:g},kadethnicity:{n:"ethn",m:g},kadincome:{n:"inc",m:g},kadcountry:{n:"country",m:g},kadudid:{n:"udid",m:g},kadudidtype:{n:"udidtype",m:g},kadappname:{n:"name",m:g},kadappstoreurl:{n:"storeurl",m:g},kadappapi:{n:"api",m:g},kadappbundle:{n:"bundle",m:g},kadapppaid:{n:"paid",m:g},kadappversion:{n:"ver",m:g},kadappid:{n:"aid",m:g},kadsitecode:{n:"sitecode",m:g},kadcat:{n:"cat",m:g},kadudidhash:{n:"udidhash",m:g},kadlocsource:{n:"loc_source",m:g},kadiabcat:{n:"iabcat",m:g},kadexpdir:{n:"expdir",m:g},kadbattr:{n:"battr",m:g},kadifb:{n:"ifb",m:g},kadblockdomainids:{n:"blkdmns",m:g},kadblockiabcats:{n:"blkiabcats",m:g},kadblockadvertiserids:{n:"blkadvtids",m:g},kadloccat:{n:"loccat",m:g},kadlocbrand:{n:"locbrand",m:g},kadblkadvdmns:{n:"blkadvdmns",m:g},kadpublisheruid:{n:"pubUID",m:g},kadfpvisitorseg:{n:"fpVisSeg",m:V},kadfpinvetoryseg:{n:"fpInvSeg",m:V},kadfpcookieseg:{n:"fpCkSeg",m:g},kadsh:{n:"sh",m:g},kaddctr:{n:"dctr",m:g},kadinstl:{n:"instl",m:g},kadpubuid:{n:"puid",m:g},kadmultisize:{n:"multisize",m:g},kadGdprConsent:{n:"gdpr_consent",m:function(by,x){if(by.indexOf("INSERT_USER_GDPR_CONSENT_STRING_DATA_FROM_CMP_HERE")!==-1){by=""}return g(by)}},kadeids:"eids"},G=function(x){var bC=v,by,bB,bA,bz={kadgsiteid:"",kadgsectionid:"",kadgid:"",kadgecpm:"",kadgcid:"",kadgadid:"",kadfloor:""};for(by in bC){if(bC.hasOwnProperty(by)){bB=aK[by];if(bB){bA=bC[by];if(typeof bA==="object"){bB=bA.m(bB,x);by=bA.n}else{by=bC[by]}if(bB){if(by=="gender"){x.kadgender=bB;x.kadgdr=bB}x[by]=bB}if(bz.hasOwnProperty(by)){aK[by]=null}}}}},af,aT,K,bw=function(x){var by=false;try{by=x&&!!x.document}catch(bz){}return by},e=function(x){return{w:x.innerWidth||x.document.documentElement.clientWidth||x.document.body.clientWidth,h:x.innerHeight||x.document.documentElement.clientHeight||x.document.body.clientHeight,st:x.document.body.scrollTop,sl:x.document.body.scrollLeft}},N=function(x,bz){var bF,bC,bE,bD,bG,by,bB,bA;if(x&&x.frameElement){if(!bz){bz=e(x)}bF=f(x.frameElement);if(bF){bB=bF.x;bA=bF.y;bC=x.parent;bD=e(bC);if(x!==bC&&bC!==a1){if(bw(bC)){bE=N(bC,bD);if(bE!=null){bF.x+=bE.x;bF.y+=bE.y;bz.h=bE.h;bz.w=bE.w}else{bF=null}}else{bF=null}}if(bD.st>bA){bG=bz.h+bA-bD.st}else{bG=bz.h}if((bD.st+bD.h)<(bA+bz.h)){bG-=(bA+bz.h)-(bD.st+bD.h)}if(bD.sl>bB){by=bz.w+bB-bD.sl}else{by=bz.w}if((bD.sl+bD.w)<(bB+bz.w)){by-=(bB+bz.w)-(bD.sl+bD.w)}bF.h=bG;bF.w=by}}return bF},f=function(bz){var bC,bA,by=0,bB=0;if(typeof bz.getBoundingClientRect==="function"){bA=bz.getBoundingClientRect();by=Math.floor(bA.left);bB=Math.floor(bA.top)}else{while(bz){by+=bz.offsetLeft;bB+=bz.offsetTop;bz=bz.offsetParent}}bC={x:by,y:bB};return bC},U=function(bA,bK,bF){var bJ=f(bA),bz=e(aK),bB=bJ.y,bE=bJ.x,x=null,bL,bH;if(aK!=a1){bL=aK.parent;if(bw(bL)){bH=N(aK,bz);if(bH!=null){bJ.x+=bH.x;bJ.y+=bH.y;bz.h=bH.h;bz.w=bH.w}else{x=-1}}else{x=-1}}if(x===null){var by=bz.st,bD=bz.sl,bC=bz.h,bG=bz.w;bJ.v=(((bB+bK)<=by)||((bE+bF)<=bD)||(bB>=(by+bC))||(bE>=(bD+bG)))?"2":((bB>=by)&&(bE>=bD)&&((bE+bF)<=(bD+bG))&&((bB+bK)<=(by+bC)))?"1":"3"}else{bJ=null}try{if(typeof $sf!="undefined"&&typeof $sf.ext!="undefined"){bJ={x:"-1",y:"-1",v:"0"};bH=$sf.ext.inViewPercentage();if(bH){bJ.v=bH>=50?"1":"2"}bH=$sf.ext.geom();if(bH&&bH.self){bJ.y=bH.self.t;bJ.x=bH.self.l}}}catch(bI){}if(window.pubId==84047||window.pubId==83902||window.pubId==83894){bJ={x:"-1",y:"-1",v:"0"};if(bK==90&&bF==728){bJ.v="1";bJ.y="752.543";bJ.x="524.334"}else{if(bK==250&&bF==300){bJ.v="1";bJ.y="253.543";bJ.x="604.457"}}}return bJ},J=function(x){var bz="PubMatic_"+Math.random(),by,bB;try{z('<span id="'+bz+'"></span>');by=document.getElementById(bz);bB=U(by,x.kadheight,x.kadwidth);x.adVisibility=bB?bB.v:"0";x.adPosition=bB?bB.y+"x"+bB.x:"-1x-1"}catch(bA){}if(by&&by.parentNode){by.parentNode.removeChild(by)}},B=function(x){x.rmp="";if(aK["$sf"]!==C&&aK["$sf"]!=null){x.rmp+="safeframe;"}},bt=function(by,x,bB){var bA,bz=aK.kAdTimeout;if(bz){bz=bq(bz);by.to=bA={t:aK.kAdTimeoutId||bB,l:false,s:aK.kSuccessCallBack||null,f:aK.kFailCallBack||null,o:false,i:setTimeout(function(){bA.o=true},bz)};if(!ap.checkTimeout){ap.checkTimeout=function(bE,bC){var bD=ap.tags[bE].to;if(bD){bD.l=true;clearTimeout(bD.i);if(bD.o||!bC){bD.f&&bD.f.call(aK,bD.t)}else{bD.s&&bD.s.call(aK,bD.t)}}return bC}}x.tOut=1;x.adIndx=""+bB;by.plt=[function(){if(!by.to.l){ap.checkTimeout(bB,false)}}];aK.kAdTimeout=null;aK.kFailCallBack=null;aK.kSuccessCallBack=null;aK.kAdTimeoutId=null}},aF,ay,aJ=escape,ad=unescape,p=null,ai=0,aL=0,c=0,aC=function(){if(p==null){var bA=a3.split("&"),x=bA.length,by=0,bz;p={};for(;by<x;by++){bz=bA[by].split("=");p[bz[0]]=bz[1]}}},aB=function(){var bA,bz,bC={},by=false,bB,bD=[],x;if(aK.kpassbackpars){bB=aK.kpassbackpars;x=bB.length;for(bz=0;bz<x&&bB[bz];bz++){bA=bB[bz];if(aK[bA]&&aK[bA]!=C){by=true;bD.push(bA);bC[bA]=aK[bA]}}bC.kpassbackpars=bD.join(",")}return by?bC:null},w=function(bL,bz){var bG=e(aK),bF=aK,bJ,by,bI,bE,bD=false,bC=0,bK,x,bM,bB,bA;bL.winW=(bG.w<screen.width)?bG.w:screen.width;bL.winH=(bG.h<screen.height)?bG.h:screen.height;while(bF!=a1){bJ=bF.parent;bI=false;try{bK=bJ.location.href;bI=true;if(!bD){bE=bJ}bL.depth=0}catch(bH){}if(!bI){bC++;bD=true;by=bF}if(bC>=2){bL.depth=2;break}bF=bJ}if(!bE){bE=aK}bM=(bC==1)?by:(bC==0)?a1:bE;bL.winURL=(bL.pageURL)?bL.pageURL:encodeURI(bM.location.href);bL.refURL=(bL.refurl)?bL.refurl:encodeURI(bM.document.referrer);if(bC==1){try{x=e(bM);bL.winW=(bq(bG.w)>bq(x.w))?x.w:bG.w;bL.winH=(bq(bG.h)>bq(x.h))?x.h:bG.h}catch(bH){}bL.depth=1}else{if(bC==0){bL.depth=0}}if(bz){bB=document.getElementById(bz);bL.plyW=bB.offsetWidth||-1;bL.plyH=bB.offsetHeight||-1;if(bL.plyH!=-1&&bL.plyW!=-1){try{bA=f(bB);bL.plocx=bA.x;bL.plocy=bA.y;bL.pos=U(bB,bL.plyH,bL.plyW).v}catch(bH){}}}return bL};ap._uidCB=function(x){ap.pm_uid_bc=x.u;if(aK.location.href.indexOf("#PIX")>0){aZ()}};ap.getPBValue=function(by){var x,bA="";try{x=ap.tag||ap.tags[ap.tags.length-1];if(x.pbv&&x.pbv.hasOwnProperty(by)){bA=x.pbv[by]}}catch(bz){}return bA};ap.SAVersion="2";if(!ag.setNetworkId){ag.setNetworkId=aE}aA.ranreq=aA.ranreq1=aA.kadNetwork=aA.operId=aA.defcmpgIDs=aA.defecpm=aA.defactecpm=aA.lastdefadnwkID=aA.defcount=true;ap.AHT=aK.PubMatic_AHT||0;aK.PubMatic_AHT=C;ap.ifl=ap.ifl||(ap.ifl=function(by,x){ap.tags[x].fr=by});ap.Native=ap.Native||{info:{},setInfo:function(by,x){if(ap.Native.info){ap.Native.info[by]=x}},execCTR:function(bB){var x,bA=[],bz=0,by=0;if(ap.Native.info&&ap.Native.info.hasOwnProperty(bB)){x=ap.Native.info[bB];if(x.hasOwnProperty("ctrs")){bA=ap.Native.info[bB]["ctrs"];bz=bA.length;for(by=0;by<bz;by++){(new Image()).src=bA[by]}if(x.hasOwnProperty("ectr")&&x.ectr==false){x.ctrs=[]}}}}};ap.sendParamToVPAID=ap.sendParamToVPAID||function(bz){var bA={};a2(bA);G(bA);if(bA.pageURL){bA.pageURL=encodeURI(bA.pageURL)}if(bA.refurl){bA.refURL=encodeURI(bA.refurl)}I(bA);bA.screenResolution=screen.width+"x"+screen.height;bA.ranreq=Math.random();bA.sec=a8;bA.protocol=ar;bA=w(bA,bz.playerDomId);aU(bz.pubId);var by=W(bz.pubId);bA.gdpr_consent=by&&by.c?by.c:"";bA.gdpr=bA.gdpr_consent?1:(a||0);aq(bA);try{if(bz.playerDomId){document.getElementById(bz.playerDomId).getDataFromJS(m(bA))}}catch(x){}return bA};ap.showAd=ap.showAd||function(bB,x,bD){var bC,bA,bz=1500,by;if(bB.siteId==72184){bB.kadpageurl=""}if(ap.tag){delete ap.tag}by=ap.tags||(ap.tags=[]);bC=new Z(bB,false,bD);bC.pbv=aB();by.push(bC);bB.pm_uid_bc=ap.pm_uid_bc;bB.gdpr=""+a;var bE=W(bB.pubId);bB.gdpr_consent=bE&&bE.c?bE.c:bB.gdpr_consent;if(bB.gdpr_consent){bB.gdpr=1}aq(bB);(function(){try{bB.dspids=JSON.stringify(aK.parent.pmDspId||{})}catch(bF){}})();a6=bu+"?"+m(bB);if(br.IE&&a6.length>bz){if(bB.refurl){bA=bB.refurl;bB.refurl=bA.substr(0,(bA.length-(a6.length-bz)));a6=bu+"?"+m(bB)}if(a6.length>bz){bA=bB.pageURL;bB.pageURL=bA.substr(0,(bA.length-(a6.length-bz)));a6=bu+"?"+m(bB)}}x&&(a6+="&oldDefTag=1&noInfo=1");if(!bD){if(by.length===1&&!x){bA=am+"#PIX&p="+bB.pubId+"&s="+bB.siteId+"&a="+bB.adId+"&it="+br.it;if(bB.kdntuid){bA+="&kdntuid="+bB.kdntuid}if(bB.coppa){bA+="&coppa=1"}if(aX){bA+="&bce=1"}bA+="&gdpr="+bB.gdpr;bA+="&gdpr_consent="+(bB.gdpr_consent||"");P(bA,0,0,aS,null,null,null,true,!!bD)}if(bB.operId===3){if(!br.IE6){P(am,0,0,aS,null,null,"PubMatic.ifl(this,"+bB.pmUniAdId+")",true);bC.fc=true}bi(a6,bB.pmUniAdId)}else{if(bC.pbv){a6+="#"+H(bC.pbv)}P(a6,bB.kadheight,bB.kadwidth,"height:"+bB.kadheight+"px;width:"+bB.kadwidth+"px;",null,null,null,true)}bc({p:bB.pubId,s:bB.siteId,gdpr:bB.gdpr,gdpr_consent:bB.gdpr_consent},"showad.js")}};if(k.host===az&&k.pathname===M){if(a3.indexOf("PMFRAME=1")===0){aC();delete p.PMFRAME;a6=am+"#PIX&p="+p.pubId+"&s="+p.siteId+"&a="+p.adId+"&it="+p.it;if(p.kdntuid){a6+="&kdntuid="+p.kdntuid}if(p.coppa){a6+="&coppa=1"}if(p.bce==1){a6+="&bce=1"}a6+="&gdpr="+(p.gdpr||"0");a6+="&gdpr_consent="+(p.gdpr_consent||"");P(a6,0,0,aS);p.operId=1;a6=bu+"?"+m(p);P(a6,p.kadheight,p.kadwidth,"height:"+p.kadheight+"px;width:"+p.kadwidth+"px;")}else{if(a3.indexOf("LA")===0){try{document.domain=be}catch(bv){}af=aH(aK.parent);if(af){aT=af.PubMatic;if(aT.AdInfo){K=function(){var x;x=aT.r();if(x){x.c.operId=1;O.call(x,true,3)}else{setTimeout(K,10)}};K()}else{aT.tag.df(true,2)}}else{aC();delete p.LA;if(p.pubId&&p.siteId&&p.adId&&p.kadheight&&p.kadwidth){ap.showAd(p,true)}}}else{if(a3.indexOf("PIX")===0){var al=false,ab="ALL",bm="KTPCACOOKIE",bx="KADUSERCOOKIE",av="KCCH",aG="DPSync2",ac="PUBMDCID",T="USCC",i="SyncRTB2",au="PMFREQ_ON",aO="pmoo",aM="optout",bg="pi",ax="repi",aI="pubsyncexp",aa=function(){var bC="",bB,x,bz=0,by;try{bC=document.cookie}catch(bA){}if(aF!=bC){bB=bC.split("; ");x=bB.length;ay=[];for(;bz<x;bz++){by=bB[bz].split("=");ay[by[0]]=by[1]}aF=bC}},s=function(x){aa();return ay[x]},F=function(by,bA){var bz,bB,x;aa();!bA&&(x=[]);for(bz in ay){if(ay.hasOwnProperty(bz)){if(bz.indexOf(by)>=0){bB={n:bz,v:(ay[bz]||"")};if(bA){x=bB;break}else{x.push(bB)}}}}return x},ba=function(by,bD,bE,bF,bA,x){var bz,bC;bz=new Date(new Date().getTime()+bE*86400000);bC=by+"="+bD+";expires="+bz.toGMTString()+";path="+bF+";domain="+bA;if(x){bC+=";secure"}try{document.cookie=bC}catch(bB){}},bf=function(x,bA,bz){try{document.cookie=x+"=;expires=Thu, 01-Jan-1970 00:00:01 GMT;path="+bA+";domain="+bz}catch(by){}},Y=function(by,x,bz){if(by.addEventListener){by.addEventListener(x,bz)}else{if(by.attachEvent){by.attachEvent("on"+x,bz)}else{by["on"+x]=bz}}},S=function(){var by,x=ah();if(x==true){bf(bx,"/",be);bf(av,"/",az);bf(aG,"/",az);bf(i,"/",az);bf(ac,"/",be);bf(T,"/",be);bf(bg,"/",be);bf(ax,"/",az)}if(!al){al=true;bf(av,"/",az);bf(bg,"/",be);if(ab==="ALL"){by=s(au);if(!(by&&by!="")&&x==false){ba(au,"YES",1,"/",az);bp();bf(au,"/",az)}}}},r=function(){var bz=bq(p.p||0),by=ad(s(i)||""),x=1;x=s(ax)==1?4:by==""?p.fp!=1?2:5:p.fp!=1?3:6;ba(bg,(bz==0?2:bz)+":"+x,1,"/",be);bf(ax,"/",az)},E=function(bz){var x="image4.pubmatic.com/AdServer/SPug?partnerID=",by;if(s(bm)==="YES"){by=ar+(a8?"s":"")+x+bz;by=by+"&gdpr="+p.gdpr;by=by+"&gdpr_consent="+p.gdpr_consent;setTimeout(function(){var bB=s(bx),bA;if(bB&&bB!=""){bA=document.createElement("script");bA.src=by;document.getElementsByTagName("script")[0].parentNode.appendChild(bA)}},2000)}},bp=function(){var bH=0,bL,bE=[],by=[],bG,bF,bA,bz,bJ,x,bI,bD,bK,bC=function(bM,bY){var bW,bT,bQ,bV,bU,bR,bP,bZ,bX,bN,bO,bS;bM=bM.substr(bM.indexOf("camfreq")+7);bW=bM.indexOf("_")<0;bT=bY.split(":");bQ=bT.length;bP=[];bZ=0;for(bV=0;bV<bQ;bV++){bU=bT[bV].split("-");if(bU.length===2){bR=bU[1].split("_");if(bR.length===2){if(bW&&bH>0){if(bH<=bq(bR[1])){bP[bZ++]=[bq(bU[0]),bq(bR[0]),bq(bR[1])]}}else{bP[bZ++]=[bq(bU[0]),bq(bR[0]),bq(bR[1])]}}else{bP[bZ++]=[bq(bU[0]),bq(bU[1]),0]}}}if(bZ>0){for(bV=0;bV<bZ;bV++){bN=bP[bV];bX=bN[2];bQ=bE.length;bO=false;for(bS=0;bS<bQ;bS++){if(bE[bS][0]===bN[0]){bO=true;bE[bS][1]=bE[bS][1]+bN[1];if(bX>bE[bS][2]){bE[bS][2]=bX}}}if(!bO){bE[bQ]=bN}}}},bB=function(bM,bZ){var bU,bP,bW,bV,bQ,b0,bN,bO,bT,bY,bS=-1,bR,bX;bY=bM=bM.substr(bM.indexOf("pubfreq_")+8);bW=bM.indexOf("_");if(bW>=0){bY=bM.substring(0,bW)}bY=bq(bY);bU=bZ.split(":");bP=bU.length;bQ=[];for(bW=0;bW<bP;bW++){bV=bU[bW].split("-");if(bV.length===2){bQ[bW]=[bq(bV[0]),bq(bV[1])]}else{break}}bR=by.length;for(bW=0;bW<bR;bW++){if(by[bW][0]===bY){bS=bW;break}}b0=bQ.length;if(b0>0){if(bS<0){by[bR]=[bY,bQ]}else{bX=by[bS][1];for(bW=0;bW<b0;bW++){bN=bQ[bW];bP=bX.length;bO=false;for(bT=0;bT<bP;bT++){if(bX[bT][0]===bN[0]){bX[bT][1]=bX[bT][1]+bN[1];bO=true;break}}if(!bO){bX[bP]=bN}}}}};aa();bA=F("_curtime",true);bA&&(bH=bq(bA.v));bL=F("camfreq");bG=bL.length;for(bF=0;bF<bG;bF++){bA=bL[bF];bC(bA.n,bA.v);bf(bA.n,"/",be)}bG=bE.length;bz=[];for(bF=0;bF<bG;bF++){bJ=bE[bF];bz.push(bJ[0]+"-"+bJ[1]+"_"+bJ[2])}if(bz.length>0){ba("camfreq",bz.join(":"),4,"/",be)}bL=F("pubfreq_");bG=bL.length;for(bF=0;bF<bG;bF++){bA=bL[bF];bB(bA.n,bA.v);bf(bA.n,"/",be)}bG=by.length;for(bF=0;bF<bG;bF++){bJ=by[bF];x=bJ[1];bI=bJ[0];bz=[];bK=x.length;for(bD=0;bD<bK;bD++){bJ=x[bD];bz.push(bJ[0]+"-"+bJ[1])}if(bz.length>0){ba("pubfreq_"+bI,bz.join(":"),4,"/",be)}}},aZ=function(bC){var x=p.predirect,bz=p.userIdMacro,bB,by=ar+(a8?"s":"")+"image4.pubmatic.com/AdServer/SPug?o=1";if(s(bm)==="YES"){if(x){try{x=aD(x)}catch(bA){}bB=s(bx);if(bB){if(bz&&x.indexOf(bz)){x=x.replace(bz,bB)}else{x=x+bB}if(bC==true){P(x,0,0,aS,null,null,null,false,true)}else{P(x,0,0,aS)}}else{setTimeout(function(){aZ()},1500)}}}else{if(p.p&&p.fp&&p.rs&&p.u){by+="&"+a3;P(by,0,0,"height:0px;width:0px;display:none;")}else{if(aX&&ap.pm_uid_bc){P(by+(p.p?"&p="+p.p:"")+(p.s?"&s="+p.s:"")+(p.coppa?"&cp="+p.coppa:"")+(a8?"&sc=1":"")+(x?"&pr="+x:"")+(bz?"&umc="+bz:"")+"&u="+ap.pm_uid_bc+"&rs=3&gdpr="+p.gdpr+"&gdpr_consent="+p.gdpr_consent,0,0,"height:0px;width:0px;display:none;")}}}},a7=function(){if(!br.IE&&q.userAgent.indexOf("rv:11")==-1&&q.userAgent.indexOf("Edge")==-1){ba(ax,1,1,"/",az);k.reload()}},ah=function(){var by,x;by=s(aO);x=s(aM);if(by!=="true"&&by!=="TRUE"&&x!=="true"&&x!=="TRUE"){return false}return true},aQ=true;aC();ai=bq(p.p||0);aL=bq(p.s||0);c=bq(p.a||0);aX=bq(p.bce||0);bk("#PIX FLOW started ----------------");aU(ai);var at=W(ai);p.gdpr_consent=at&&at.c?at.c:(p.gdpr_consent||"");p.gdpr=p.gdpr_consent?1:(p.gdpr||"0");if(p.gdpr==1){aX=false}if(ai==0){ai=bq(s("pp"))||0}ab=p.ptask||"ALL";ba(bm,"YES",90,"/",be);if(s(bm)==="YES"&&ah()==false){if(aQ){ap.PugMasterCallback=function(by,x,bz){bf(av,"/",az);if(by||(!p.SPug&&Math.floor(Math.random()*100)<=10)){E(ai)}if(x){setTimeout(function(){a7()},30000)}if(bz){ba(aI,(new Date()).getTime()+(60*60*6*1000),1,"/",az)}aZ()};(function(){var x="image6.pubmatic.com/AdServer/PugMaster?rnd="+Math.floor(Math.random()*100000001);x+="&p="+ai+"&s="+aL+"&a="+c+"&ptask="+ab+"&np="+(p.np||"0")+"&fp="+(p.fp||"0")+"&mpc="+(p.mpc||"0")+"&spug=1&coppa="+(p.coppa||"0")+"&gdpr="+p.gdpr+"&gdpr_consent="+p.gdpr_consent;if(a8){x+="&sec=1"}if(p.kdntuid=="1"){if(!s(bx)&&!s(av)){x+="&kdntuid=1"}}if((s(aI)||0)<=(new Date()).getTime()){if(!s(av)||p.fp==1){ba(av,"YES",1,"/",az);setTimeout(function(){bf(av,"/",az)},3000);r();z(a5+ar+x+'"><\/script>')}else{setTimeout(function(){a7()},3000)}}else{aZ()}})()}}else{if(aX){(function(){var by=document.createElement("script"),x=document.getElementsByTagName("script")[0];by.type="text/javascript";by.async=true;by.src=ar+"image6.pubmatic.com/AdServer/UCookieSetPug?oid=2&cb=PubMatic._uidCB";x.parentNode.insertBefore(by,x)})()}else{aZ()}}Y(aK,"unload",S);Y(aK,"beforeunload",S)}else{try{document.domain=be}catch(bv){}aR={};ap.r=function(){var x=aK.location.href,bE=x.indexOf("#")>-1?x.substr(x.indexOf("#")+1):"",bA=bE.split("&"),bI=bA.length,bF,bH=0,by,bK,bC,bD={},bz={},bB=[],bJ=null,bG=aR;for(;bH<bI;bH++){bC=bA[bH].split("=");by=bC[0];bK=aD(bC[1])||"";if(by==="ni"){bK=bK.split(",");bB.push([bq(bK[0]),bq(bK[1]),parseFloat(bK[2]),parseFloat(bK[3])])}else{bD[by]=bK}}if(bD.kpassbackpars){bF=bD.kpassbackpars.split(",");delete bD.kpassbackpars;bI=bF.length;for(bH=0;bH<bI;bH++){by=bF[bH];if(bD.hasOwnProperty(by)){bz[by]=bD[by];delete bD[by]}}bz.kpassbackpars=bF.join(",");bG.pbv=bz}bG.c=bD;bG.nis=bB;if(bB.length>0){bJ=bG}return bJ};ap.AdInfo=aR}}}}else{if(ap.AHT===2){ae()}else{if(ap.AHT===1){aW()}else{if(window.pubId&&aX&&!ap.hasOwnProperty("pm_uid_bc")){ap.pm_uid_bc="";bi(ar+"image6.pubmatic.com/AdServer/UCookieSetPug?oid=2&cb=PubMatic._uidCB");bi(ar+"ads.pubmatic.com/AdServer/js/showad.js")}else{a0=aV();if(a0.pubId&&a0.siteId&&a0.adId&&a0.kadheight&&a0.kadwidth){aU(a0.pubId);a0.SAVersion="2";a0.js="1";a0.kdntuid="1";a2(a0);G(a0);if(aK.pmAsyncEnabled&&aK.kadasync!=false){(function(){var x="PubMatic_Async_"+Math.random(),bz=false,by=function(){if(bz){return}bz=true;var bD=document.getElementById(x),bB,bA;if(bD){bB='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><base target="_top" /><script>inDapIF=true;<\/script></head>';bB+="<body>";bB+="<script>";bB+="var pubId = "+a0.pubId+";";bB+="var siteId = "+a0.siteId+";";bB+="var kadId = "+a0.adId+";";bB+="var kadwidth = "+a0.kadwidth+";";bB+="var kadheight = "+a0.kadheight+";";bB+="var kadtype = "+a0.kadtype+";";bB+="var kadasync = false;";bB+="var kadGdpr = "+a0.gdpr+";";for(bA in v){if(v.hasOwnProperty(bA)&&a0.hasOwnProperty(v[bA].n)){bB+="var "+bA+' = "'+aD(a0[v[bA].n])+'";'}}bB+="<\/script>";bB+='<script src="'+am+'"><\/script>';bB+="</body></html>";var bC=bD.contentWindow.document;bC.write(bB);bC.close()}};z('<iframe id="'+x+'" frameborder="0" allowtransparency="true" marginheight="0" marginwidth="0" scrolling="no" width="'+a0.kadwidth+'" hspace="0" vspace="0" height="'+a0.kadheight+'"></iframe>');setTimeout(function(){by()},15)})()}else{y=false;if(a0.kadNetwork){y=ae(a0)}if(!y){var n=false,b=50,t={31420:"",42657:"",79534:"",73587:"",46076:""},A={90627:"",90632:""};if(br.IE&&aK!=a1){try{if(aK.frameElement&&aK.frameElement.src.indexOf("javascript:")===0){n=true;if(!document.body){z('<span style="'+aS+'"/>');b=500}if(t.hasOwnProperty(a0.pubId)||A.hasOwnProperty(a0.siteId)){n=false}}}catch(R){}}if(n){ap.showAd(a0,!!a0.kadNetwork,true);setTimeout(function(){P(am+"#PMFRAME=1&"+m(a0)+"&it="+br.it+"&bce="+(aX?1:0),a0.kadheight,a0.kadwidth,"height:"+a0.kadheight+"px;width:"+a0.kadwidth+"px;position:absolute;left:0px;top:0px;z-index:100",null,null,null,false,true)},b)}else{ap.showAd(a0,!!a0.kadNetwork)}}}}}}}}}catch(bv){aj(bv)}})();
//-->