"use strict";function customScripts(){(function(){let n;const t=new MutationObserver(n=>{for(const t of n)if(t.type==="attributes"&&t.attributeName=="style"){console.log(t.target.style.height);let n=parseInt(t.target.style.height);n>1?document.body.classList.add("openAvantis"):document.body.classList.remove("openAvantis")}}),i=setInterval(()=>{n=document.querySelector("#avantisContainer0"),n&&(clearInterval(i),t.observe(n,{attributes:!0}))},200)})();_ppads.loadScript("https://s.richaudience.com/mgc/wbLgFKHtl2/?ord=%%CACHEBUSTER%%&hasConsent=1")}function hideMaskDebugInfo(n){var t=jQuery(n).parent().parent();t.toggleClass("hide_mask");jQuery("#"+t.attr("debuginfo")).remove()}function hideDebugInfo(){jQuery(".pp_info_div").hide()}function showDebugInfo(n){var t=jQuery(n);jQuery(".pp_info_div").hide();jQuery("#"+t.attr("debuginfo")).show()}function PremiumDisplay(){_pbjs.initAdserverSet&&!_ppads.fetch&&_ppads.LazyDisplay()}var googletag=window.googletag||{},_pbjs,_ppads,_pppubtv,_preview;googletag.cmd=googletag.cmd||[];_pbjs=window._pbjs||{};_pbjs.que=_pbjs.que||[];_ppads=_ppads||{};_ppads.isLocal=!1;_ppads.tagurl="https://tags.premiumads.com.br";_ppads.livepreview=(location.hostname=="127.0.0.1"||location.hostname=="localhost"||location.hostname=="premiumads.com.br"||location.hostname=="creatives.premiumads.com.br")&&location.pathname.includes("/previews");_ppads.debug=location.search.indexOf("pp_debug")>=0||localStorage.hasOwnProperty("pp_debug")||!1;_ppads.build="2021.6.30181.6";_ppads.version="2021.06.30181.6";_ppads.dominio="tribunademinas.com.br";_ppads.siteid="b95bc253-ffe5-4a7e-5655-08d8c46b9441";_ppads.partnerid="2c286d6b-bbb1-4e84-d0cb-08d8c46b9379";_ppads.canonical="https://tribunademinas.com.br/";_ppads.urlLogo="https://tribunademinas.com.br/wp-content/themes/tribuna/img/logo.png";_ppads.hasNonAdChecks=!1;_ppads.bidders={size_sizeless:[{bidder:"rtbhouse",params:{region:"prebid-us",publisherId:"REFLe3rXfcTXAAqzSUwD"}},{bidder:"rubicon",params:{accountId:15410,siteId:96324,zoneId:1963864}},{bidder:"smartadserver",params:{networkId:1931,siteId:218825,pageId:1350657,formatId:68014}},{bidder:"appnexus",params:{placementId:20986062,allowSmallerSizes:!0}},{bidder:"verizonmedia",params:{dcn:"8a969cb6017878a29ab6a2ea4939002f",pos:"tribuna_de_minas"}},{bidder:"onetag",params:{pubId:"5adaad445a0a050"}}],size_300x250:[{bidder:"teads",params:{placementId:"146235",pageId:"133194"}}],size_336x280:[{bidder:"teads",params:{placementId:"146235",pageId:"133194"}}],size_outstream:[{bidder:"rubicon",params:{accountId:15410,siteId:133686,zoneId:1963868,video:{size_id:203,language:"en"}}},{bidder:"appnexus",params:{placementId:20986065,reserve:.1,video:{skippable:!0,playback_method:["auto_play_sound_off"],frameworks:[1,2],maxduration:600,mimes:["video/3gpp","video/mpeg","video/webm","video/x-ms-wmv","video/ogg","video/mp4","application/javascript"]}}},{bidder:"oneVideo",params:{pubId:"BrazilPremiumAdsExchange",bidfloor:.1,video:{inventoryid:1272208,playerWidth:640,playerHeight:360,protocols:[2,3,5,6],mimes:["video/mp4","application/javascript"],api:[2],delivery:[2]}}},{bidder:"teads",params:{placementId:"141335",pageId:"128708"}},{bidder:"onetag",params:{pubId:"5adaad445a0a050"}}]};_ppads.urls=[];_ppads.BlockUrlsJson=[];_ppads.Styles=`.pp-desktop .openAvantis #cookie-law-info-bar{    margin-bottom: 200px;    transition: all 1s ease-in-out;}`;_ppads.themeColorA="#fff";_ppads.themeColorB="transparent";_ppads.Yieldbird="";_ppads.DfpPrefix="TRIBUNA_DE_MINAS";_ppads.HasJquery=!0;_ppads.PrebidLazyLoad=!0;_ppads.switches={prebid:!0,apstag:!1};_ppads.HasPremiumLazyLoad=!0;_ppads.PremiumLazyLoadViewport=1;_ppads.PremiumLazyLoadMobileScale=2;_ppads.PremiumLazyLoadPercent=100;_ppads.HasSticky=!1;_ppads.RefreshAdUnits=[];_ppads.RefreshAdUnits.push("TRIBUNA_DE_MINAS_AMP_01,30");_ppads.googleTagTargets={};_ppads.pp_count_refresh=[];_ppads.JsonSticky=[];_ppads.HasCustomAd=!1;_ppads.HasAnchor=!1;_ppads.HasPosPopup=!1;_ppads.PosPopupCap=30;_ppads.PosPopupJsonSizesDesktop=JSON.parse(`[]`);_ppads.PosPopupJsonSizesMobile=JSON.parse(`[]`);_ppads.PosPopupFloorPriceDesktop="";_ppads.PosPopupFloorPriceMobile="";_ppads.HasFlex=!1;_ppads.FlexCap=30;_ppads.FlexPosition="Direita";_ppads.FlexWrap=JSON.parse(`[]`);_ppads.FlexJsonSizesDesktop=JSON.parse(`[]`);_ppads.FlexJsonSizesMobile=JSON.parse(`[]`);_ppads.FlexJsonSizesMobile=JSON.parse(`[]`);_ppads.FlexFloorPriceDesktop="";_ppads.FlexFloorPriceMobile="";_ppads.GlobalConfigJson={General:[{DOMObserve:0}],Article:[{Selector:null,Paragraph:null,Multiply:0}]};_ppads.GlobalConfigJson={General:[{DOMObserve:0}],Article:[{Selector:null,Paragraph:null,Multiply:0}]};_ppads.PremiumGlobal=(class{constructor(){this._global=_ppads.GlobalConfigJson;this._intextStyle=_ppads.InTextStyle;this._intexts=_ppads.InTextJson;this._outstreamStyle=_ppads.OutstreamStyle;this._outstreams=_ppads.OutstreamJson;this.load()}load(){this.general();this.article()}general(){this._global.General&&this._global.General[0]&&this._global.General[0].DOMObserve&&(_ppads.DOMObserve=this._global.General[0].DOMObserve)}article(){let n=[];n=this.addToArray(n,this._intexts);n=this.addToArray(n,this._outstreams);this._global.Article&&this._global.Article.length>0&&(n=this.addToArray(n,this._global.Article));let i=!1;var t=null;n.forEach(n=>{let u=document.querySelectorAll(n.Selector);if(u.length!=0&&!i){let r=jQuery(u).not("[pp-article-wrap]");if(r&&r.length!=0){i=!0;let f="p";n.Paragraph!=""&&(f=n.Paragraph);r.each(function(){var u,r,e;let o=jQuery(this);if(jQuery(o).attr("pp-article-wrap",n.Selector),t=jQuery(o).find(f),!t||t.length<1)return!0;u=jQuery("#pppixel").height();n.Multiply!=0&&(u=u*n.Multiply);r=1;e=0;let i=null,s=0;t.each(function(){this.innerText&&this.innerText.length<30||(i=jQuery(this),i.attr("ppad",!0),i&&i.length>0&&(s=parseInt(i.offset().top)+parseInt(i.outerHeight())-e,s>=u&&(jQuery(i).attr("pp-viewport",r),e=i.offset().top+i.height(),r++)))});jQuery(i).attr("pp-last-paragraph","true");r==1&&jQuery(i).attr("pp-viewport",r)})}}})}addToArray(n,t){return t&&t.length>0&&t.forEach(t=>{if(t.Selector){let i={Selector:t.Selector,Paragraph:t.Paragraph,Multiply:t.Multiply,Observe:t.Observe};n.push(i)}}),n}});_ppads.HasOutstream=!0;_ppads.OutstreamJson=[{Selector:".single.single-post .content",Paragraph:"p",Multiply:"",Position:"After",FixedViewport:2,DynamicInsert:0,Backfill:"teadsClassic",CustomBackfill:"",Javascript:"",FloorPriceDesktop:"0,30",FloorPriceMobile:"0,30"}];_ppads.PremiumOutstream=(class{constructor(){this._ps=document.querySelectorAll("[ppad]");this._outstreams=_ppads.OutstreamJson;this._styles=_ppads.OutstreamStyle;this._outstream;this._wrap;this._count=0;this.load()}load(){_ppads.HasOutstream&&_ppads.isValidUrl()&&this._outstreams&&this._outstreams.length!=0&&(this._outstreams.forEach(n=>{if(!this._wrap){let i=`[pp-article-wrap]`;n.Selector&&(i=`[pp-article-wrap="${n.Selector}"]`);let t=jQuery(i);t.length!=0&&(_ppads.DOMObserve&&t.parent()&&t.parent().length>0&&_ppads.observer(t.parent()[0],`OUTSTREAM - ${n.Selector}`),this._wrap=t,this._outstream=n,_ppads.OutstreamFloorPriceDesktop=_ppads.formatFloor(n.FloorPriceDesktop),_ppads.OutstreamFloorPriceMobile=_ppads.formatFloor(n.FloorPriceMobile))}}),this._wrap&&this._outstream)&&(this.htmlInserts(),this.ads())}htmlInserts(){if(!this.tagVideo&&!this._outstream.DynamicInsert){(this._outstream.FixedViewport==""||this._outstream.FixedViewport==0)&&(this._outstream.FixedViewport=1);let t=jQuery(`[pp-viewport="${this._outstream.FixedViewport}"]`),n=t.nextAll("[ppad]").not(".pp-box-adunit").first();n&&n.length?this.insertDiv(this,n):_ppads.log("OUTSTREAM","nextElement not found.")}}dynamicInsert(){if(this._outstream.DynamicInsert){let u=this._ps,r=this,n=[];if(u.forEach(t=>{!jQuery(t).attr("pp-viewport")&&(t.innerText.length>30||jQuery(t).is("br"))&&n.push(t)}),n.length!=0){let t;n.forEach(n=>{_ppads.isOnViewport(n,.5)&&!_ppads.OutstreamDivInserted&&(t=n)});t||(t=n[0]);let i=jQuery(t).nextAll().not(".pp-box-adunit,[pp-viewport]").first();i&&i.length?r.insertDiv(r,i):_ppads.log("OUTSTREAM","Dynamic nextElement not found.")}}}insertDiv(n,t){if(t&&t.length!=0){let i=jQuery(`<div id="${this.currentDivId}"></div>`);n._outstream.Position=="Before"||t.is("br")?i.insertBefore(t):i.insertAfter(t);_ppads.OutstreamDivInserted=!0}}get tagVideo(){return document.getElementById(this.currentDivId)}ads(){this.styles();this.pbjs();_ppads.loadScript(_ppads.PbjsUrl)}get currentDivId(){let n="";return _ppads.current_outstream_id>1&&(n=`_${_ppads.current_outstream_id}`),`_ppads_video${n}`}pbjs(){let n=this;n.tagVideo&&(_pbjs.que.push(function(){let t={timeout:_pbjs.TIMEOUT,adUnits:n.adunits,bidsBackHandler:function(t){n.loadPlayer(t)}};_pbjs.requestBids(t)}),_ppads.loadScript(_ppads.PbjsUrl))}loadPlayer(n){let t=this,i=t.tagVideo;if(t.dynamicInsert(),n&&n.hasOwnProperty(t.currentDivId)){let i=n[t.currentDivId].bids.sort(function(n,t){return t.cpm-n.cpm}),r=i[0];_pbjs.renderAd(document,r.adId)}else switch(this._outstream.Backfill){case"none":t._count<5&&(setTimeout(()=>{t.pbjs(),3e3}),t._count++);break;case"teadsClassic":_ppads.TeadsClassic&&_ppads.loadScript("https://a.teads.tv/page/"+_ppads.TeadsClassic+"/tag");break;case"banner":i.setAttribute("data-premium","");i.setAttribute("data-adunit",`${_ppads.DfpPrefix}_OUTSTREAM`);_ppads.device==="desktop"?i.setAttribute("data-sizes-desktop","[[640,360], [336,280], [300,250], [1,1]]"):i.setAttribute("data-sizes-mobile","[[336,280], [300,250], [1,1]]");break;case"other":if(this._outstream.Javascript)try{eval(this._outstream.Javascript)}catch(r){_ppads.log("OUTSTREAM INTEXT ERROR",r)}break;default:_ppads.TeadsClassic&&_ppads.loadScript("https://a.teads.tv/page/"+_ppads.TeadsClassic+"/tag")}}get adunits(){let t=this,n=_ppads.getBidders("size_outstream");if(n&&n.length)return[{code:this.currentDivId,bids:n,mediaTypes:{video:{context:"outstream",playerSize:[[_ppads.playerWidth,_ppads.playerHeight]],mimes:["video/3gpp","video/mpeg","video/webm","video/x-ms-wmv","video/ogg","video/mp4","application/javascript"],protocols:[2,3,5,6],maxduration:600,linearity:1,api:[2]}},renderer:{url:"https://tags.premiumads.com.br/scripts/player.js",render:function(n){let i=document.getElementById(n.adUnitCode);if(i)if(n.mediaType==="video")i.style.margin="30px auto",i.style.maxWidth="640px",i.style.minWidth="320px",_ppads.loadScript("https://acdn.adnxs.com/video/outstream/ANOutstreamVideo.js",async function(){let i=n.vastXml;if(!i&&n.vastUrl){let t=await fetch(n.vastUrl);i=await t.text()}n.adResponse||(n.adResponse={ad:{video:{content:i}}});ANOutstreamVideo.renderAd({targetId:n.adUnitCode,adResponse:n.adResponse,rendererOptions:t.rendererOptions()})});else{let t=document.createElement("iframe");t.frameBorder=0;t.scrolling="no";t.width=n.width;t.height=n.height;t.style.width=n.width+"px";t.style.height=n.height+"px";n.bidder==="teads"&&(t.style.display="none");i.insertAdjacentElement("beforeend",t);t.contentWindow.document.open();t.contentWindow.document.write('<body style="margin: 0; padding: 0">'+n.ad+"<\/body>");t.contentWindow.document.close()}},backupOnly:!0}}];this.loadPlayer()}styles(){let n=this._styles;document.body.insertAdjacentHTML("beforeend",`<style>${n}</style>`)}rendererOptions(){return{showVolume:!1,showProgressBar:!1,allowFullscreen:!1,autoInitialSize:!0,controlBarPosition:"below",alignment:"center",aspectRatio:"auto",learnMore:{enabled:!0,separator:" ",text:"Saiba mais",clickToPause:!0},endCard:{enabled:!0,clickable:!0,color:"",imageUrl:"",imageWidth:"",imageHeight:"",showCompanion:!0},skippable:{enabled:!0,videoThreshold:5,videoOffset:5,skipLocation:"top-right",skipText:"Você pode pular o vídeo em %%TIME%% seconds",skipButtonText:"PULAR",allowOverride:!1},audioOnMouseover:!1,adText:"",disableTopBar:!1,vpaidTimeout:15e3,enableInlineVideoForIos:!0,disableCollapse:{enabled:!0,replay:!0},showProgressBar:!0}}});_ppads.PositionOutstream="";_ppads.OutstreamJsonSizesMobile=[];_ppads.OutstreamJsonSizesDesktop=[];_ppads.OutstreamFloorPriceDesktop="";_ppads.OutstreamFloorPriceMobile="";_ppads.HasInText=!0;_ppads.HasInTextEnd=!0;_ppads.SkipInText="";_ppads.InTextJson=[{Selector:".single.single-post .content",Paragraph:"p",Multiply:0,Position:"After",QtdeViewport:1,Refresh:0,Skip:0,EndPost:1,QtdeEndPost:2,DesktopSizes:[[336,280],[300,250]],MobileSizes:null},{Selector:".single.single-post .content",Paragraph:"p",Multiply:0,Position:"After",QtdeViewport:1,Refresh:0,Skip:0,EndPost:1,QtdeEndPost:1,DesktopSizes:null,MobileSizes:[[336,280],[300,250]]}];_ppads.InTextStyle=`#ppBoxFinalMateria,.ppBoxIntexts{width:100%;display:inline-block}.pp-desktop #ppBoxFinalMateria:not([ads='1']) .pp-box-adunit,.pp-desktop .ppBoxIntexts .pp-box-adunit{width:50%}.PPLoadMore{display:inline-block}`;_ppads.PremiumIntext=(class{constructor(n=1){this._ps=document.querySelectorAll("[ppad]");this._intexts=_ppads.InTextJson;this._styles=_ppads.InTextStyle;this._wrap;this._intext;this._cycle=n;this._dfpAdunit=`${_ppads.DfpPrefix}_INTEXT_`;this.load()}load(){let n=this._intexts&&this._intexts.length>0,t=this._ps&&this._ps.length>0;_ppads.HasInText&&_ppads.isValidUrl()&&n&&t&&(this._intexts.forEach(n=>{if(!this._wrap&&_ppads.hasValidDataSizes(n.MobileSizes,n.DesktopSizes)){let i=`[pp-article-wrap]:not([data-fetch])`;n.Selector&&(i=`[pp-article-wrap="${n.Selector}"]:not([data-fetch])`);let t=jQuery(i);t.length!=0&&(_ppads.DOMObserve&&t.parent()&&t.parent().length>0&&_ppads.observer(t.parent()[0],`INTEXT - ${n.Selector}`),t.attr("data-fetch",!0),this._wrap=t,this._intext=n)}}),this._wrap&&this._intext)&&(this._cycle==1&&this.styles(),this.htmlInserts())}htmlInserts(){let n=this._intext,t=this._wrap,i=t[0].querySelectorAll("[pp-viewport]");if(n.EndPost&&(i=t[0].querySelectorAll("[pp-viewport]:not([pp-last-paragraph])")),i.forEach(t=>{let i=jQuery(t),r=i.attr("pp-viewport");!r||n.EndPost&&i.next().attr("pp-last-paragraph")||this.insertTag(n,parseInt(r),jQuery(t))}),n.EndPost){let f=jQuery("[pp-last-paragraph]"),r=parseInt(n.QtdeEndPost),u=jQuery(`<div id="ppBoxFinalMateria" ads="${r}"></div>`);u.insertAfter(f);for(let t=1;t<=r;t++){let i=_ppads.DfpPrefix+"_FINAL_MATERIA_0"+t.toString(),r=jQuery(this.createHtmlDivPremium(n,i,!0));u.append(r)}}}insertTag(n,t,i){let r=0;if(parseInt(n.Skip)>0&&(r=n.Skip),t>15&&(t=15),t>r){var u=this._dfpAdunit+(t<10?"0"+t.toString():t.toString());let r=this.createHtmlDivPremium(n,u);n.QtdeViewport==2&&_ppads.device==="desktop"&&(r=`<div class='ppBoxIntexts'>${r}${r}</div>`);let f=jQuery(r);n.Position=="Before"?f.insertBefore(i):n.Position!="InsideBefore"||i.is("br")?n.Position!="InsideAfter"||i.is("br")?f.insertAfter(i):i.append(f):i.prepend(f);i.attr("data-fetch",!0)}}createHtmlDivPremium(n,t,i=false){let r=[];n.MobileSizes&&n.MobileSizes.forEach(function(n){r.push(n)});let u=[];n.DesktopSizes&&n.DesktopSizes.forEach(function(n){u.push(n)});i&&(r.length&&(r=r.filter(n=>n[0]<=336)),u.length&&(u=u.filter(n=>n[0]<=336)));let f=`<div data-premium `;n.Refresh&&n.Refresh>0&&(f+=` refreshtime="${parseInt(n.Refresh)*1e3}" `);_ppads.dominio==="campograndenews.com.br"&&t=="DM_INTEXT_01"&&(t=_ppads.device==="desktop"?"Video_Out_Stream_Desktop":"Video_Out_Stream_Mobile",r.length&&(r.push([320,180]),r.push([1,1])),u.length&&(u.push([640,360]),u.push([1,1])));let e="";r.length&&(e=JSON.stringify(r));let o="";return u.length&&(o=JSON.stringify(u)),f+` data-adunit="${t}" 
                    data-sizes-mobile="${e}"
                    data-sizes-desktop="${o}" 
                    data-type='intext'></div>`}styles(){document.body.insertAdjacentHTML("beforeend",`<style>${this._styles}</style>`)}});_ppads.HasInFeed=!0;_ppads.ElementsInFeed=[];_ppads.InFeedJsonSizesMobile=[];_ppads.InFeedJsonSizesDesktop=[];_ppads.InFeedJson=[{ContainerSelector:"#category .row .col-sm-8",FeedItemSelector:".row",Multiply:0,FixedInsert:8,Skip:0,DesktopSizes:[[728,90],[336,280],[300,250]],MobileSizes:null},{ContainerSelector:"#category .row .col-sm-8",FeedItemSelector:".row",Multiply:0,FixedInsert:6,Skip:0,DesktopSizes:null,MobileSizes:[[336,280],[300,250]]}];_ppads.InFeedStyle=``;_ppads.PremiumInfeed=(class{constructor(n=1){this._infeeds=_ppads.InFeedJson;this._styles=_ppads.InFeedStyle;this._cycle=n;_ppads.infeedViewport=_ppads.infeedViewport||1;_ppads.countInfeedItens=_ppads.countInfeedItens||0;try{this.load()}catch(t){_ppads.log("INFEED",`Houve um erro!`,t)}}load(){let n=this._infeeds&&this._infeeds.length&&this._infeeds[0].FeedItemSelector;_ppads.isValidUrl()&&_ppads.HasInFeed&&n&&(this._cycle==1&&this.styles(),this._infeeds.forEach(n=>{if(_ppads.hasValidDataSizes(n.MobileSizes,n.DesktopSizes)){let t=jQuery(`${n.ContainerSelector}`);t.length!=0&&this.searchAndSetupItemsToInsertAds(t,n)}}))}searchAndSetupItemsToInsertAds(n,t){let i=n.find(`${t.FeedItemSelector}:not([pp-infeed])`);i.length!=0&&(this._cycle==1&&_ppads.DOMObserve&&n.each((n,t)=>_ppads.observer(t,`INFEED`)),i.each((n,i)=>this.setupItemToInsertAds(i,t)))}setupItemToInsertAds(n,t){_ppads.countInfeedItens++;let r=_ppads.infeedViewport,i=jQuery(n);if((i||i.length!=0)&&(i.attr("pp-infeed",!0),this.isAllowedToInsert(i,t))){_ppads.countInfeedItens=0;let u=`${_ppads.DfpPrefix}_INFEED_${this.adunitPadLeft(r)}`,f=0;if(parseInt(t.Skip)>0&&(f=t.Skip),r>f){let n=i.clone();n.attr("idAdunit",u).attr("id",`box-infeed-${r}`).html(this.tagHtml(u,t)).attr("data-fetch",!0);n.insertAfter(i)}r<15&&_ppads.infeedViewport++}}isAllowedToInsert(n,t){let i=!1,r=t.FixedInsert&&t.FixedInsert>0;if(r&&t.FixedInsert==_ppads.countInfeedItens)i=!0;else if(!r){let u=jQuery("[pp-infeed][data-fetch]").last(),r=u.length>0?u:jQuery("[pp-infeed]").first();if(r.length>0){let u=r.offset().top+r.height(),f=parseInt(n.offset().top),e=parseInt(n.outerHeight()),o=f+e-u,s=jQuery("#pppixel").height(),h=t.Multiply||1,c=s*h;o>=c&&(i=!0)}}return i}tagHtml(n,t){return`<div data-premium data-adunit="${n}" data-sizes-mobile="${JSON.stringify(t.MobileSizes)}" data-sizes-desktop="${JSON.stringify(t.DesktopSizes)}"  data-type="infeed"></div>`}adunitPadLeft(n){return n<10?`0${n}`:n}styles(){document.body.insertAdjacentHTML("beforeend",`<style>${this._styles}</style>`)}});_ppads.adunits=_ppads.adunits||[];_ppads.elements={};_ppads.AdsenseAdunitId="";_ppads.AdsensePublisherId="";_ppads.DfpId="169755497";_ppads.BloqueadoGoogle=!1;_ppads.HasInStream=!1;_ppads.VastTAG="https://pubads.g.doubleclick.net/gampad/ads?iu=/169755497/TRIBUNA_DE_MINAS_INSTREAM&env=vp&impl=s&correlator=&tfcd=0&npa=0&gdfp_req=1&output=vast&sz=400x300|640x360|640x480&unviewed_position_start=1";_ppads.IgnoreDevice=!1;_ppads.CpmMultiplier=1.5;_ppads.USD=4.93;_ppads.EUR=5.88;_ppads.Analytics=!1;_ppads.RubiconOutstream="1963868";_ppads.TeadsClassic="128709";_ppads.TeadsPlacementId="141335";_ppads.AvantisId="35";_ppads.OutstreamUrls=[{bidder:"Avantis",params:{Key:80,Url:"'https://cdn.avantisvideo.com/avm/js/video-loader.js?id=645b490f-24f2-429d-a04c-d266868eea7c&tagId=35&subId=&callback='"}}];_ppads.HasOutstreamSlider=!0;_ppads.OutstreamSliderJson={Settings:[{WithAnchor:"",OpenWhen:"always"}],Networks:[{Enable:1,Weight:70,Network:"avantis",NetworkOther:"",Javascript:""},{Enable:1,Weight:30,Network:"other",NetworkOther:"Adsolut",Javascript:'_ppads.loadScript("https://tg1.playstream.media/api/adserver/spt?AV_TAGID=609a4671e7c38439e75c8944&AV_PUBLISHERID=5e7b9048180bd02ded4b0937") '}]};_ppads.PremiumOutstreamSlider=(class{constructor(){this._outstreamSliders=_ppads.OutstreamSliderJson}setup(){_ppads.HasOutstreamSlider&&_ppads.isValidUrl()&&this._outstreamSliders&&this._outstreamSliders.Networks&&this._outstreamSliders.Networks.length&&this._outstreamSliders.Settings&&this._outstreamSliders.Settings.length&&(this._settings=this._outstreamSliders.Settings[0],this.force(),this.cleanAndSets(),this.bid())}cleanAndSets(){this._settings.OpenWhen?this._settings.OpenWhen==="always"&&(_ppads.OutstreamSliderAlways=!0):this._settings.WithAnchor&&(_ppads.OutstreamSliderAlways=!0);let n=[];this._outstreamSliders.Networks.forEach(t=>{if(t.Enable&&t.Weight){let i=t.Network;if(i=="vidoomy"&&_ppads.VidoomyId)t.Url=`https://ads.vidoomy.com/${_ppads.VidoomyId}.js`;else if(i=="avantis"&&_ppads.AvantisId)t.Url=`https://cdn.avantisvideo.com/avm/js/video-loader.js?id=645b490f-24f2-429d-a04c-d266868eea7c&tagId=${_ppads.AvantisId}&subId=&callback=`;else if(i!="other")return;n.push(t)}});this._outstreamSliders.Networks=n}bid(){if(this._outstreamSliders.Networks.length){let n=1;this._outstreamSliders.Networks.forEach(t=>{n+=parseInt(t.Weight)});let t=Math.floor(Math.random()*n);n=0;this._outstreamSliders.Networks.forEach(i=>{n+=parseInt(i.Weight),n>=t&&!_ppads.OutstreamNetwork&&(_ppads.OutstreamUrl=i.Url,_ppads.OutstreamNetwork=i)})}}loadScript(){_ppads.OutstreamSliderLoaded||!_ppads.OutstreamNetwork||this._settings.OpenWhen&&this._settings.OpenWhen==="never"||setTimeout(()=>{try{_ppads.OutstreamUrl?_ppads.loadScript(_ppads.OutstreamUrl):_ppads.OutstreamNetwork.Network=="other"&&eval(`(function() {${_ppads.OutstreamNetwork.Javascript}})();`);_ppads.OutstreamSliderLoaded=!0;_ppads.log("OUTSTREAM SLIDER WINNER",_ppads.OutstreamNetwork.Network)}catch(n){_ppads.log("OUTSTREAM SLIDER ERROR",n)}},5e3)}force(){if(window.location.search.indexOf("pp_preview")>=0){let t=new URLSearchParams(window.location.search),n=t.get("pp_preview");n&&(this._outstreamSliders.Networks=this._outstreamSliders.Networks.filter(function(t){return t.Network===n||t.NetworkOther===n}),this._outstreamSliders.Networks.forEach(n=>{n.Enable=!0}))}}});_ppads.HasTaboola=!1;_ppads.TaboolaElements=[];_pppubtv={};_pppubtv.HasPubTv=!1;_ppads.PremiumUri=(class{constructor(){this._blockUrls=_ppads.BlockUrlsJson;this.setUri()}setUri(){var t,n;if(window.location.search&&window.location.search.indexOf("utm_")>=0){const n=new URLSearchParams(window.location.search);_ppads.UtmSource=n.get("utm_source");_ppads.UtmMedium=n.get("utm_medium");_ppads.UtmCampaign=n.get("utm_campaign")}if(t=window.location.pathname.replace(/\/?(\?|#|$)/,"/$1"),_ppads.currentUrl=window.location.origin+window.location.pathname,n=t.split("/").filter(function(n){return n!==""}),n[0]===undefined||n[0]==="/"||n[0]===""){_ppads.categoria="home";return}n.length&&(_ppads.categoria=n[0].substring(0,40));n.length>1&&(_ppads.subcategoria=n[1].substring(0,40));_ppads.link=this.link(n)}link(n){var t=n[n.length-1];return t.substring(0,40)}isValidUrl(n="PremiumAutoAds"){let t=this._blockUrls,i=_ppads.currentUrl,r=!0;return t&&t.length>0&&t.forEach(t=>{if(t.Url.trim()){let u=t.Block=="All"||n==t.Block,f=u&&t.Method=="Contains"&&i.includes(t.Url),e=u&&t.Method!="Contains"&&i==t.Url;(f||e)&&(r=!1)}}),r}});_ppads.performanceOnStart=performance.now();console.log("Performance Start",_ppads.performanceOnStart);_preview=_preview||{};_ppads.current_outstream_id=1;_ppads.performanceFirstSlotRenderEnded=0;_pppubtv.performanceFirstSlotRenderEndedSend=!1;_ppads.jqueryExists=!1;_ppads.testmode=location.search.indexOf("pp_test")>=0||!1;_ppads.deviceWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;_ppads.device=/Android|webOS|iPhone|iPod|iPad|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||_ppads.deviceWidth<800?"mobile":"desktop";_ppads.playerWidth=_ppads.device==="mobile"?336:640;_ppads.playerHeight=_ppads.device==="mobile"?280:360;_ppads.isIframe=window!==window.parent&&(!window.name||window.name.indexOf("tbl-feed-view-frame")<0);_ppads.rand=Math.floor(Math.random()*100);_ppads.PremiumLazyLoad=_ppads.HasPremiumLazyLoad;_ppads.HasPrebidServer=!0;_ppads.PrebidServerBidders=["appnexus","rubicon","onetag","triplelift","verizonmedia","smartadserver","improvedigital","adtelligent","oftmedia"];_ppads.PrebidServerTest=!0;_ppads.slots={};_ppads.PbjsUrl=`${_ppads.tagurl}/scripts/pbjs-min.js?v=20210623`;_ppads.jQueryUrl=`${_ppads.tagurl}/scripts/jquery-3.5.1.min.js`;_ppads.Uri=new _ppads.PremiumUri;_ppads.executeParallelAuctionAlongsidePrebid={requestManager:{aps:!1,prebid:!1}};_ppads.schain={ver:"1.0",complete:1,nodes:[{asi:"premiumads.com.br",sid:_ppads.partnerid,hp:1}]};_ppads.mock={available:_ppads.debug||_ppads.testmode||_ppads.livepreview,flex:localStorage.hasOwnProperty("pp_mock_flex")||!1};_ppads.HasOutstreamSlider&&(_ppads.OutstreamSlider=new _ppads.PremiumOutstreamSlider);_ppads.isIframe&&(_ppads.PrebidLazyLoad=_ppads.PremiumLazyLoad=!1);_pbjs.TIMEOUT=Math.random()<.1?2500:3e3;_pbjs.MASTER_TIMEOUT=_pbjs.TIMEOUT+1e3;_ppads.switches.prebid&&_pbjs.que.push(function(){_pbjs.onEvent("bidWon",_ppads.bidWon);var n={bidderTimeout:_pbjs.TIMEOUT,debug:_ppads.debug,rubicon:{singleRequest:!0},improvedigital:{singleRequest:!0,usePrebidSizes:!0},userSync:{filterSettings:{all:{bidders:"*",filter:"include"}},syncDelay:6e3},priceGranularity:"dense",enableSendAllBids:!0,s2sConfig:{accountId:"102be0b0-bbdf-4da2-8031-2174fc9b2a63",bidders:_ppads.PrebidServerBidders,timeout:_pbjs.TIMEOUT-500,enabled:_ppads.HasPrebidServer,testing:_ppads.PrebidServerTest,bidderControl:{rubicon:{bidSource:{client:8,server:2}},appnexus:{bidSource:{client:8,server:2}},onetag:{bidSource:{client:8,server:2}}},adapter:"prebidServer",endpoint:"https://prebid.adnxs.com/pbs/v1/openrtb2/auction",syncEndpoint:"https://prebid.adnxs.com/pbs/v1/cookie_sync"},schain:{validation:"strict",config:_ppads.schain}};n.currency={adServerCurrency:_ppads.DfpId.indexOf("75894840")===0?"USD":"BRL",rates:{USD:{USD:1,BRL:_ppads.USD,EUR:_ppads.USD/_ppads.EUR}}};_pbjs.setConfig(n);_ppads.Analytics&&_pbjs.enableAnalytics([{provider:"adagio"}]);_pbjs.aliasBidder("appnexus","appnexusTest");_pbjs.bidderSettings={standard:{bidCpmAdjustment:function(n){return n*_ppads.CpmMultiplier}},oftmedia:{bidCpmAdjustment:function(n){return n*.8*_ppads.CpmMultiplier}}}});try{_ppads.Config=JSON.parse(localStorage.getItem("_ppads"));_ppads.Config?(_ppads.Config.Flex&&_ppads.Config.Flex.Viewed?_ppads.Config.Flex.Expires<(new Date).getTime()&&(_ppads.Config.Flex.Viewed=!1):_ppads.Config.Flex.Viewed=!1,_ppads.Config.Anchor&&_ppads.Config.Anchor.Viewed?_ppads.Config.Anchor.Expires<(new Date).getTime()&&(_ppads.Config.Anchor.Viewed=!1):_ppads.Config.Anchor.Viewed=!1,_ppads.Config.PosPopup&&_ppads.Config.PosPopup.Viewed?_ppads.Config.PosPopup.Expires<(new Date).getTime()&&(_ppads.Config.PosPopup.Viewed=!1):_ppads.Config.PosPopup.Viewed=!1):_ppads.Config={Flex:{Viewed:!1},Anchor:{Viewed:!1},PosPopup:{Viewed:!1}}}catch(err){_ppads.Config={Flex:{Viewed:!1},Anchor:{Viewed:!1},PosPopup:{Viewed:!1}}}_ppads.log=function(n){_ppads.debug&&console.log("%cPREMIUM%c "+n,"background: #015454; color: #fff;border-radius:3px;background-size:15px;background-repeat: no-repeat;background-position: 3px 2px;padding: 2px 5px;","color: #015454;font-weight:bold;text-transform:uppercase;",arguments)};_ppads.setGoogleTagTarget=function(n){_ppads.googleTagTargets&&_ppads.googleTagTargets[n.adunit.dfpCode]&&_ppads.googleTagTargets[n.adunit.dfpCode].length&&_ppads.googleTagTargets[n.adunit.dfpCode].forEach(t=>{n.setTargeting(t.key,t.values||t.value)})};_ppads.setinitconfigs=function(n){var t,i;_ppads.log(n);t="<style>";t+=`:root {--themeColorA: ${_ppads.themeColorA};--themeColorB: ${_ppads.themeColorB}}`;t+=".pp_box_video_player{width: 100%; text-align: center;float: left;}.pp_video_player{margin: 5px auto;}.sticky-wrapper{height: auto!important}.sticky-wrapper .pp-adunit{left:auto!important;margin-left:0!important} .pp-adunit {z-index: 10;position: relative;margin: 0 auto;}.pp-type-outstream .pp-adunit {display: inline-block;}.pp-box-adunit{width: 100%;text-align:center;display:inline-block}.pp-box-adunit span.ad-text{float: left;width:100%;text-align: center;}.pp-box-adunit span.ad-text:before{margin-left: -11px;content:'Ad';background-color:#fff;border-radius:2px;color:#696969;font-size:10px;line-height:1;font-family:Arial,sans-serif;padding:3px 4px 1px;border:1px solid #696969;position:absolute;}[data-player] { margin: 0 auto !important} .clappr-watermark[data-watermark-top-left] { left: -20px !important } .clappr-watermark[data-watermark] img { max-width: 100%; width: 20px !important; height: 20px !important;} .pp-desktop .hide-on-desktop, .pp-mobile .hide-on-mobile{display: none} .ppInfeed{padding: 30px 0; width: 100%;}.ppInsertAdTitle{border-bottom: 2px solid #eee; padding: 40px 0 20px;width: 100%; margin-bottom: 10px;position: relative; text-align: center;} .pp-type-intext, .pp-type-outstream{margin:30px 0;}.pp-type-outstream div[data-premium]:before, .pp-type-intext div[data-premium]:before, .pp-type-infeed div[data-premium]:before{content: 'PUBLICIDADE';font-weight: 500;width: 100%; display: inline-block; text-align: center;font-size: 10px;line-height: 15px;padding: 5px 0;color: #999;}.ppInsertAdTitle:before{content: ''; clear: both; opacity: 0.7; width: 100%; height: 2px; background-color: rgba(0, 0, 0, 0.1); margin-top: -20px; position: absolute; left: 0;}.ppInsertAdTitle div:before{content: 'PUBLICIDADE'; font-size: 10px;line-height: 15px; width: auto; padding: 3px 7px; background-color: #fff; color: #999; position: absolute; left: 50%; margin-left: -40px; margin-top: -28px;} .ppInfeed.ppInsertAdTitle{border: 0;margin-bottom:0;background: none;} .ppInfeed.ppInsertAdTitle:before{background: none;}.ppInfeed iframe{margin: 0 auto!important;}.pp-box-adunit:not(.pp-type-outstream) .pp-ad{position:absolute;width: 100%;}.pp-adunit [data-premium] {margin: 0 auto;}.pp-ad-loading:not(.pp-sticky-this) .pp-adunit {background-image: url(https://tags.premiumads.com.br/content/icon-ad.png);background-position: center center;background-size: 20px;background-repeat: no-repeat;}";t+=_ppads.Styles;_ppads.debug&&(t+=".pp_name{z-index: 1000;position:absolute;background:#ff4d6c;padding:2px 10px;text-align:center;color:#fff;font-size:12px;margin-left:-2px;}.pp_refresh .pp_name strong{margin-left:10px;color:#ff4d6c;background:#fff;padding:0 10px;float:right;margin-right:-7px;margin-top:0;min-width:40px;text-align:center}",t+=".hide_mask .pp_mask, .hide_mask .pp_name, .hide_mask .pp_info_div{display: none!important;} .pp_mask{border: 2px solid #ff4d6c;background:#ff4d6c26; position:absolute;margin-left:-2px;}",t+=".pp_fechar_mask{border-radius:3px;z-index:100;cursor:pointer;font-weight:700;position:absolute;background:red;color:#fff;margin-top:0;font-size:11px;padding:1px 9px;width:100px;margin-left:12px}",t+=".pp_info_div{color: #444;text-align: left;position:fixed;top:15px;left:15px;background:#fff;border-radius: 5px!important;padding: 10px 15px;z-index: 999999; box-shadow: -1px -1px 4px rgba(0,0,0,.2);display: none;max-width: calc(100% - 30px);}.show .pp_info_div{display: block;}",t+=".ppInsertAdTitle .pp_name:before, .ppInsertAdTitle .pp_info_div:before, .ppInsertAdTitle .pp_info_div div:before{display: none!important;}",t+=".pp_fechar_info_div{cursor: pointer; position: absolute; background: #ddd; font-size: 12px; font-weight: bold; padding: 3px 10px; border-radius: 3px; right: 10px;}.pp_fechar_info_div:hover{background: #ccc;}",t+=".pp_refresh .pp_fechar_mask{margin-left: 54px;}");_ppads.HasOutstream&&(t+="#pp_box_player_outstream{transition: .3s height ease-in-out;width:0;height:0;overflow:hidden;}.box-drawer-container{position:absolute;background:rgba(0,0,0,.9);margin-top:-70px;width:0;transition:.2s width ease-in-out;overflow:hidden}.pp_open_video .box-drawer-container{width:110px}.pp_open_video .box-drawer-container.unmuted{width:30px}.volume svg{width:30px;height:30px}.volume{float:left;height:31px;cursor:pointer;display:none}.unmuted .volume.unmute{display:none}.unmuted .volume.mute,.volume.unmute{display:block}.unmute.volume:after{content:'Ativar o som';color:#fff;font-size:10px;float:right;margin-top:4px;font-family:Arial,sans-serif;text-transform:uppercase;margin-right:7px}#pp_box_player_outstream #pp_player_outstream{overflow:hidden;height:0;transition:.3s height ease-in-out}.pp-mobile #pp_box_player_outstream.pp_open_video{width:320px;margin-left:-160px;left: 50%;position: relative;height: 180px;}.pp-desktop #pp_box_player_outstream.pp_open_video{width:498px;margin-left:-249px;left: 50%;position: relative;height: 280px;}.pp-desktop #pp_box_player_outstream #pp_player_outstream{height: 280px}.pp-mobile #pp_box_player_outstream #pp_player_outstream{height: 180px}#pp_box_player_outstream .play-wrapper{display:none!important}.pp_video_close{background-color:rgba(0,0,0,.8);cursor:pointer;position:absolute;right:0;top:0;width:0;margin-top:-24px;overflow:hidden;height:24px;transition:.2s width ease-in-out}.pp_open_video .pp_video_close{width:34px}.pp_video_close span{background-image:url(https://tags.premiumads.com.br/Content/p_icons_3.png);background-size:75px;background-repeat:no-repeat;background-position:-44px 0;float:left;width:14px;height:12px;margin:6px 10px}.ppOutstream div[id^=google] {display: none;}");t+=".pp_box_intext{width: 100%;float:left;}";t+="<\/style>";i='<div id="pppixel" style="position: fixed; left: 0;top:0;height:100vh;width:100vw;display:none;">'+t+"<\/div>";jQuery("body").prepend(i);_ppads.device=="mobile"?jQuery("html").addClass("pp-mobile"):jQuery("html").addClass("pp-desktop");customScripts()};_ppads.setInfoDebug=function(n){var i,r;if(_ppads.debug&&!_ppads.isIframe){var t=jQuery("#"+n),f="di-"+t.attr("id"),u=t.attr("id");t.attr("data-adunit")&&(u=t.attr("data-adunit"));let e=t.attr("data-adunit");_ppads.pp_count_refresh[e]=_ppads.pp_count_refresh[e]&&_ppads.pp_count_refresh[e]>0?_ppads.pp_count_refresh[e]+1:1;u+=" ["+_ppads.pp_count_refresh[e]+"]";i="";i+="<div class='pp_info_div' id='"+f+"'>";i+="<div class='pp_fechar_info_div' onclick='hideDebugInfo()'>FECHAR<\/div>";i+=_ppads.getPremiumLogo();t.attr("data-adunit")&&(i+="<strong>Adunit:<\/strong> "+t.attr("data-adunit"));t.attr("data-type")&&(i+="<br /><strong>Type:<\/strong> "+t.attr("data-type"));t.attr("data-sizes-mobile")&&t.attr("data-sizes-mobile")!=""&&(i+="<br /><strong>Mobile:<\/strong> "+t.attr("data-sizes-mobile"));t.attr("data-sizes-desktop")&&t.attr("data-sizes-desktop")!=""&&(i+="<br /><strong>Desktop:<\/strong> "+t.attr("data-sizes-desktop"));t.attr("data-device")&&t.attr("data-device")!=""&&(i+="<br /><strong>Data Device:<\/strong> "+t.attr("data-device"));t.attr("data-sizes")&&t.attr("data-sizes")!=""&&(i+="<br /><strong>Data Sizes:<\/strong> "+t.attr("data-sizes"));i+="<\/div>";r="";r+="<div class='pp_name'>"+u+"<span onclick='hideMaskDebugInfo(this)' class='pp_fechar_mask'>HIDE MASK<\/span> <strong><\/strong><\/div>";r+="<div class='pp_mask'><\/div>";r+="";t.prepend(r);jQuery("body").prepend(i);t.find(".pp_mask").height(t.height()).width(t.width());t.find(".pp_name").css({marginTop:t.height()+4});t.attr("info","done").attr("onclick","showDebugInfo(this)").attr("debuginfo",f)}};_ppads.getPremiumLogo=function(){return'<div style="width:30px; color: #1c6e60; margin-bottom: 15px;" class="icon-media"><svg version="1.1" id="Camada_1-170860" x="0px" y="0px" viewBox="0 0 50 55.1" style="enable-background:new 0 0 50 55.1" xml:space="preserve"><style type="text/css">.st0{fill:#1c6e60}<\/style><g><polygon class="st0" points="11.9,33.6 5,33.7 5,5 11.9,5 11.9,0 0,0 0,38.9 11.9,38.9 "><\/polygon><polygon class="st0" points="11.9,5 30.7,5.2 30.7,33.9 23.8,33.9 23.8,38.9 35.6,38.9 35.6,0 11.9,0 "><\/polygon><polygon class="st0" points="26.2,49.8 19.3,49.9 19.3,21.2 26.2,21.2 26.2,16.2 14.4,16.2 14.4,55.1 26.2,55.1 "><\/polygon><polygon class="st0" points="38.1,21.5 45,21.4 45,50.1 26.2,49.8 26.2,55.1 50,55.1 50,16.2 38.1,16.2 "><\/polygon><\/g><\/svg><\/div>'};_ppads.saveConfig=function(n){_ppads.debug||(n==="pospopup"?_ppads.Config.PosPopup={Viewed:!0,Expires:(new Date).getTime()+_ppads.PosPopupCap*6e4}:n==="anchor"&&_ppads.AnchorCap?_ppads.Config.Anchor={Viewed:!0,Expires:(new Date).getTime()+_ppads.AnchorCap*6e4}:n==="flex"&&(_ppads.Config.Flex={Viewed:!0,Expires:(new Date).getTime()+_ppads.FlexCap*6e4}),localStorage.setItem("_ppads",JSON.stringify(_ppads.Config)))};_ppads.pageScrollLastPosition=0;_ppads.isScrollDown=function(){var n=!1;return window.pageYOffset>_ppads.pageScrollLastPosition&&(n=!0),_ppads.pageScrollLastPosition=window.pageYOffset,n};_ppads.isScrollUp=function(){var n=!1;return window.pageYOffset<_ppads.pageScrollLastPosition&&(n=!0),_ppads.pageScrollLastPosition=window.pageYOffset,n};_ppads.observer=function(n,t){_ppads.log("CHANGE",t);let i=new MutationObserver(function(n){let i=!1;for(var r of n)r.type==="childList"&&(i=!0);i&&_ppads.tryAgain(t)});i.observe(n,{attributes:!0,childList:!0,subtree:!0})};_ppads.tryAgain=function(){new _ppads.PremiumGlobal;_ppads.HasInText&&new _ppads.PremiumIntext(2);_ppads.HasInFeed&&new _ppads.PremiumInfeed(2)};_ppads.openAnchor=function(){let n=jQuery(".ppAnchorHeader"),t=jQuery(".ppAnchorFooter");t.length>0?jQuery("body").addClass("anchorFooter"):n.length>0&&_ppads.isScrollUp()&&jQuery("body").addClass("anchorHeader");jQuery("body").addClass("openAnchor")};_ppads.renderSmart=function(n){var i;return};_ppads.hasValidDataSizes=function(n,t){return _ppads.device==="mobile"&&n&&n.length>0?!0:_ppads.device==="desktop"&&t&&t.length>0?!0:!1};_ppads.isValidUrlToAll=function(){return _ppads.Uri.isValidUrl("All")};_ppads.isValidUrl=function(){return _ppads.Uri.isValidUrl()};_ppads.createFlex=function(){if(_ppads.hasValidDataSizes(null,_ppads.FlexJsonSizesDesktop)&&_ppads.isValidUrl()&&_ppads.device!=="mobile"){var i=_ppads.DfpPrefix+"_FLEX",t=_ppads.FlexPosition,n="<div id='pp_boxnewflex'><div class='pp_newflex' data-sizes-desktop='"+JSON.stringify(_ppads.FlexJsonSizesDesktop)+"' data-premium data-type='flex' lazyload='false' refreshtime='30000' data-adunit='"+i+"'><\/div><\/div><\/div>";n+="<style>";n+="#pp_boxnewflex{display: none;z-index: 9999999998; position: fixed; top: 50%; margin-top: -300px;padding: 15px;background: #fff;}.pp_newflex:before{content:'PUBLICIDADE';position:absolute;font-size:10px;color:#999;margin-top:-15px}";n+=t=="Direita"?"#pp_boxnewflex{right: 0;}":"#pp_boxnewflex{left: 0;}";n+="<\/style>";jQuery("body").addClass(`ppFlex${t}`).prepend(n)}};_ppads.getFlexSizes=function(){if(!_ppads.FlexJsonSizesDesktop||_ppads.FlexJsonSizesDesktop.length==0||_ppads.device=="mobile")return[];var t=_ppads.FlexWrap,n=[];return(jQuery.each(t,function(t,i){var r=jQuery(i.Selector);if(r&&r.length>0){var u=jQuery("#pppixel"),e=(u.width()-r.outerWidth())/2-50,f=0;return jQuery.each(_ppads.FlexJsonSizesDesktop,function(t,i){e>=i[0]&&u.height()>=i[1]&&(n[f]=i,f++)}),!1}}),(!n||!n.length)&&_ppads.mock.available&&_ppads.mock.flex)?(_ppads.log("Mocking flex sizes for tests purpose"),[[300,250]]):n};_ppads.datasizeConfig=function(n){return n[0]==0?"fluid":n};_ppads.adsrefresh=function(){jQuery.each(_ppads.RefreshAdUnits,function(n,t){var i,r;if(t&&(i=t.split(","),i[1]&&parseInt(i[1])>0)){let n=jQuery("div[data-adunit='"+i[0]+"']");r=parseInt(i[1])*1e3;n.attr("refreshtime",r).addClass("pp_refresh")}})};_ppads.adssticky=function(){if(_ppads.HasSticky||jQuery(".pp-sticky-this").length>0)jQuery("body").append("<style>.pp-sticky-this .ad-text {display: none;}.pp-sticky {position: fixed;top: 0;}<\/style><div id='res' style='position: fixed;background: red;top: 0; left: 0; z-index: 200000'><\/div>"),_ppads.HasSticky&&jQuery.each(_ppads.JsonSticky,function(n,t){var i=t.split(","),r=jQuery("div[data-adunit='"+i[0]+"']"),o=r.closest(".pp-box-adunit"),f=r.closest(i[1]),e,u;r&&r.length>0&&f&&f.length>0&&(e=i[2],u=i.length>3?parseInt(i[3]):30,u>0&&(u*=1e3,r.attr("refreshtime",u).addClass("pp_refresh")),o.attr("topSpacing",e).attr("element-collapse",i[1]).addClass("pp-sticky-this").attr("pp-sticky-this","on"))}),jQuery(window).scroll(function(){jQuery(".pp-sticky-this").each(function(){var n,u,r;try{n=jQuery(this);u=n.closest(n.attr("element-collapse"));let s=n,o=n,h=n.find(".pp-adunit,.pp-reference-position-element");h&&h.length>0&&(s=h.first(),o=n.find("[data-premium],.pp-sticky-element").first(),s.height(o.height()));var f=s.offset(),e=u.offset(),i=f.top,t=0;n.attr("topSpacing")&&(t=parseInt(n.attr("topSpacing")),i=i-t);r=e.top+u.height()-s.height()-t;window.pageYOffset>=i&&window.pageYOffset<=r?o.addClass("pp-sticky").css({marginTop:0,top:t,position:"fixed"}):window.pageYOffset>r?o.css({position:"absolute",top:"auto",marginTop:r-i}):o.removeClass("pp-sticky").css({marginTop:0,top:t,position:"initial"})}catch(o){}})})};_ppads.adsflex=function(){_ppads.HasFlex&&!_ppads.Config.Flex.Viewed&&(_ppads.FlexJsonSizesDesktop&&_ppads.FlexJsonSizesDesktop[0][0]===1?_ppads.adsflexOLD():_ppads.createFlex())};_ppads.adsInterstitial=function(){_ppads.HasPosPopup&&_ppads.isValidUrl()&&(_ppads.device!=="mobile"||_ppads.PosPopupFloorPriceMobile!="")&&(_ppads.device!=="desktop"||_ppads.PosPopupFloorPriceDesktop!="")&&googletag.cmd.push(function(){let n=googletag.defineOutOfPageSlot(`/${_ppads.DfpId}/${_ppads.DfpPrefix}_VIGNETTE`,googletag.enums.OutOfPageFormat.INTERSTITIAL);n&&(n.setTargeting("pp_pb",_ppads.device==="mobile"?_ppads.PosPopupFloorPriceMobile:_ppads.PosPopupFloorPriceDesktop),n.addService(googletag.pubads()))})};_ppads.closeflexOLD=function(n){n.css({top:"150%",bottom:"-150%"})};_ppads.adsflexOLD=function(){var i=_ppads.DfpPrefix+"_FLEX",n=jQuery("div[data-smart]"),t;if(n.length>0&&n.remove(),_ppads.HasFlex&&!_ppads.Config.Flex.Viewed){if(!_ppads.isValidUrl())return;t="<div id='pp_boxflex'><div id='pp_flexclose'><span><\/span><\/div><div class='pp_flex' data-sizes-mobile='"+JSON.stringify(_ppads.FlexJsonSizesMobile)+"' data-sizes-desktop='"+JSON.stringify(_ppads.FlexJsonSizesDesktop)+"' data-premium data-smart='true' data-adunit='"+i+"'><\/div><\/div><\/div>";jQuery("body").prepend(t)}};_ppads.htmlads=function(n,t){var i="";return t==="infeed"&&(i="<div data-premium data-adunit='"+n+"' data-sizes-mobile='"+JSON.stringify(_ppads.InFeedJsonSizesMobile)+" ' data-sizes-desktop='"+JSON.stringify(_ppads.InFeedJsonSizesDesktop)+"'  data-type='infeed'><\/div>"),i};_ppads.adstaboola=function(){_ppads.HasTaboola&&(window._taboola=window._taboola||[],window._taboola.push({tracking:"utm_source=taboola&utm_medium=organicclicks"}),_ppads.categoria==="home"?_taboola.push({home:"auto"}):_taboola.push({article:"auto"}),!function(n,t,i,r){document.getElementById(r)||(n.async=1,n.src=i,n.id=r,t.parentNode.insertBefore(n,t))}(document.createElement("script"),document.getElementsByTagName("script")[0],"//cdn.taboola.com/libtrc/"+_ppads.TaboolaName+"/loader.js","tb_loader_script"),window.performance&&typeof window.performance.mark=="function"&&window.performance.mark("tbl_ic"),jQuery.each(_ppads.TaboolaElements,function(n,t){jQuery("#"+t.Container).length>0&&_taboola.push({mode:t.Mode,container:t.Container,placement:t.Placement,target_type:t.TargetType})}),_taboola.push({flush:!0}))};_ppads.adsinfeed=function(n){let t=_ppads.InFeedJson&&_ppads.InFeedJson.length&&_ppads.InFeedJson[0].FeedItemSelector;!t&&_ppads.HasInFeed&&_ppads.hasValidDataSizes(_ppads.InFeedJsonSizesMobile,_ppads.InFeedJsonSizesDesktop)&&_ppads.isValidUrl()&&(_ppads.log(n),jQuery.each(_ppads.ElementsInFeed,function(n,t){var u=jQuery(t);if(u.length>0){var f=0,e=jQuery("#pppixel").height(),r=1,i="";u.each(function(){var t,u,n;return i=jQuery(this),i&&i.length>0&&(t=parseInt(i.offset().top)+parseInt(i.outerHeight())-f,t>=e&&(u=_ppads.DfpPrefix+"_INFEED_"+(r<10?"0"+r.toString():r.toString()),n=i.clone(),n.attr("id","box-infeed-"+r).html(_ppads.htmlads(u,"infeed")),n.insertAfter(i),f=i.offset().top+i.height(),r++,r>15))?!1:void 0})}}))};_ppads.loadScript=function(n,t){if(n&&(_ppads.scripts=window._ppads.scripts||[],!(_ppads.scripts.indexOf(n)>=0))){_ppads.scripts.push(n);_ppads.log("loadScript",n);var i=document.createElement("script");i.type="text/javascript";i.src=n;i.async=!0;n.indexOf("cdn.avantisvideo.com")>=0&&(i.id="avantisJS");t&&i.addEventListener("load",function(n){t(null,n)},!1);try{document.getElementsByTagName("head")[0].appendChild(i)}catch(r){console.log(n,r)}}};_ppads.setTargeting=function(n,t){if(_ppads.setGoogleTagTarget(n),n.adunit.dataType&&n.setTargeting("data_type",n.adunit.dataType),n.adunit.anchor){let t=document.getElementById(n.getSlotElementId());t&&n.setTargeting("pp_sticky",t.getAttribute("position")==="Footer"?"bottom":"top")}else n.adunit.sticky&&n.setTargeting("pp_sticky","vertical");n.adunit.refreshtime&&n.setTargeting("pp_refresh",parseInt(n.refreshtime)/1e3);(n.adunit.refreshtime||n.adunit.anchor)&&n.setTargeting("pp_loop",n.count<10?"0"+n.count:n.count.toString());var i=_ppads.getFloor(n);!_ppads.debug&&!t&&i>.01&&n.setTargeting("pp_pb",i.toFixed(2).toString())};_ppads.formatFloor=function(n){return n&&n.replace&&n.indexOf&&n.indexOf(",")>-1?n.replace(",","."):n};_ppads.getFloor=function(n){var t=.01;return _ppads.debug||(_ppads.device==="desktop"?n.anchor&&_ppads.AnchorPriceDesktop?t=parseFloat(_ppads.AnchorPriceDesktop):n.flex&&_ppads.FlexFloorPriceDesktop!==""?t=parseFloat(_ppads.FlexFloorPriceDesktop):n.outstream&&_ppads.OutstreamFloorPriceDesktop!==""&&(t=parseFloat(_ppads.OutstreamFloorPriceDesktop)):n.anchor&&_ppads.AnchorPriceMobile?t=parseFloat(_ppads.AnchorPriceMobile):n.outstream&&_ppads.OutstreamFloorPriceMobile!==""&&(t=parseFloat(_ppads.OutstreamFloorPriceMobile))),t};_ppads.checksBeforeLoad=function(){if(_ppads.isValidUrlToAll()){var n=window.location.href.replace(window.location.protocol+"//","");if(Array.prototype.includes&&_ppads.urls.includes(n)&&(console.warn("Policy!"),_ppads.categoria!=="home")){_ppads.Policy=!0;return}_ppads.started||(_ppads.IsSpa&&googletag.pubadsReady&&googletag.destroySlots(),_ppads.started=!0,_ppads.time=(new Date).getTime(),_ppads.HasJquery&&window.jQuery?(_ppads.jqueryExists=!0,_ppads.loadAll(),_ppads.display(),_ppads.LazyDisplay(),_ppads.HasOutstream&&_ppads.OutstreamJson&&_ppads.OutstreamJson.length>0&&new _ppads.PremiumOutstream,_ppads.adssticky("Ads Sticky")):_ppads.loadScript(_ppads.jQueryUrl,function(){_ppads.isIframe?_ppads.display():(_ppads.loadAll(),_ppads.display(),_ppads.LazyDisplay(),_ppads.HasOutstream&&_ppads.OutstreamJson&&_ppads.OutstreamJson.length>0&&new _ppads.PremiumOutstream,_ppads.adssticky("Ads Sticky"))}),_ppads.started=!1)}};_ppads.navegg=function(n){if(window.ga)try{ga("create","UA-98623244-1","auto","_ppads_ga",{sampleRate:10});ga("_ppads_ga.send","pageview");_ppads.hitPerformance(_ppads.performanceOnStart);_ppads.performanceFirstSlotRenderEnded>0&&(_ppads.hitPerformance(_ppads.performanceFirstSlotRenderEnded,"Performance:FirstSlotRenderEnded"),_pppubtv.performanceFirstSlotRenderEndedSend=!0)}catch(i){console.log(i)}var t="Navegg";n[t]?(window.naveggReady=window.naveggReady||[],window.nvg46575=new Navegg({acc:46575})):_ppads.loadScript("https://tag.navdmp.com/universal.min.js",function(){n[t]=n[t]||function(i){n[t].q=n[t].q||[];n[t].q.push([this,i])};window.naveggReady=window.naveggReady||[];window.nvg46575=new Navegg({acc:46575})})};_ppads.isOnViewport=function(n,t=0){var i;if(!n)return!1;if(n.getAttribute("lazyload")&&n.getAttribute("lazyload")=="false")return!0;i=_ppads.PremiumLazyLoadViewport;_ppads.device=="mobile"&&_ppads.PremiumLazyLoadMobileScale>0&&(i=i*_ppads.PremiumLazyLoadMobileScale);var r=jQuery("#pppixel").outerHeight(),f=(i+1)*r,u=n.getBoundingClientRect(),e=r*t;return u.top<=f&&u.bottom>e};_ppads.hitPerformance=function(){return};_ppads.loadAll=function(){_ppads.log("loadAll");_ppads.apstagInit();_ppads.setinitconfigs("_initconfigs");_ppads.adsinfeed("Ads In Feed");_ppads.adsflex("Ads Flex");_ppads.adsInterstitial();_ppads.adsrefresh("Ads Refresh");_ppads.adsOnViewport("Ads Viewport");_ppads.HasOutstreamSlider&&_ppads.OutstreamSlider.setup();_preview&&_preview.InTextJson&&(_ppads.HasInText=!0,_ppads.InTextJson=_preview.InTextJson,_ppads.IntextStyle=_preview.IntextStyle);new _ppads.PremiumGlobal;_ppads.HasInText&&new _ppads.PremiumIntext;_ppads.HasInFeed&&new _ppads.PremiumInfeed;_preview&&_preview.AnchorJson&&(_ppads.HasAnchor=!0,_ppads.AnchorJson=_preview.AnchorJson);_ppads.HasAnchor&&new _ppads.PremiumAnchor(_ppads.AnchorJson,_ppads.AnchorStyle);_ppads.HasCustomAd&&new _ppads.PremiumCustomAd(_ppads.CustomAdJson,_ppads.CustomAdStyle);_ppads.adstaboola("Ads Taboola");setTimeout(function(){_ppads.navegg(window,document)},5e3)};_ppads.switches.prebid&&!_ppads.PrebidLazyLoad&&_ppads.loadScript(_ppads.PbjsUrl);_ppads.loadScript("https://securepubads.g.doubleclick.net/tag/js/gpt.js");_ppads.GAEvent=function(n,t,i="",r="_ppads_ga_video.send"){if(_ppads.log("GA",n),!_ppads.debug&&(n=="Play"&&_pppubtv&&(_pppubtv.CountPlays++,n=n+_pppubtv.CountPlays),window.ga))try{ga(r,"event",t,n,i,1,{nonInteraction:!0})}catch(u){console.log("ERROR GA")}};_ppads.bidWon=function(n){_ppads.log("bidWon",n.adUnitCode,n.mediaType,n.bidder,n.width,n.height,n);var t=document.getElementById(n.adUnitCode);if(t){let r=t.getAttribute("data-type");r==="flex"?(jQuery("#pp_boxnewflex").show(),jQuery("body").addClass(`ppFlexOpen`)):r==="anchor"&&jQuery("#ppBoxAnchor").attr("loaded","true");let i=t.querySelector("div[id^='google_ads_iframe_']");i&&(i.style.width=n.width+"px",i.style.height=n.height+"px");_ppads.realignAd(t,n.width,n.height)}};_ppads.initAdserver=function(){googletag.cmd.push(function(){let n=googletag.pubads().getSlots().filter(function(n){return n.ppads&&!n.loaded&&!n.stop});if(_ppads.log("initAdserver",googletag.pubads().getSlots(),n),n&&n.length){for(let t=0;t<n.length;t++){let i=n[t];i.loaded=!0;googletag.display(i.getSlotElementId());i.refresh&&googletag.pubads().refresh([i])}googletag.pubads().isInitialLoadDisabled()&&googletag.pubads().refresh(n)}})};_ppads.refreshCountdown=function(n,t){_ppads.debug&&(jQuery("#"+n).find(".pp_name strong").html(t),jQuery("#"+n).animate({visible:"visible"},1e3,function(){t--;t>0&&_ppads.refreshCountdown(n,t)}))};_ppads.refreshSticky=function(n,t,i){if(!(t<3e4)&&(!n.count||!(n.count>=15)||_ppads.siteid==="0a6fc788-aa6b-4e21-b7ef-92c33275c6b8")){let r=jQuery("#"+n.getSlotElementId());if(!_pppubtv||!_pppubtv.Open||r.attr("data-anchor")){var u=parseInt(t)/1e3;_ppads.refreshCountdown(n.getSlotElementId(),u);r.animate({visible:"visible"},parseInt(t),function(){if(r.attr("reloaded","false"),n.clearTargeting(),n.loaded=!1,n.refresh=!0,n.count++,_ppads.setTargeting(n,i),r.removeAttr("info"),_ppads.switches.prebid||_ppads.switches.apstag){const t=n.adunit&&n.adunit.bids&&n.adunit.bids.length>0?n.adunit:{};_ppads.apstagRequestHeaderBids({adUnits:[t],slots:[n]});_ppads.prebidRequestHeaderBids({adUnits:[t],slots:[n]});setTimeout(function(){_ppads.initAdserver()},_pbjs.MASTER_TIMEOUT)}else _ppads.initAdserver()})}}};_ppads.realignAd=function(n,t,i){let u=jQuery(n),r=u.closest(".pp-box-adunit"),f=u.closest(".pp-adunit"),e=r.find(".pp-ad");if(_ppads.device=="mobile"&&!jQuery(n).attr("data-anchor")&&r.width()>r.parent().width()){let n=(r.width()-r.parent().width())/2;r.css({marginLeft:"-"+n+"px"})}if(f.outerHeight()<u.outerHeight()&&f.css({minHeight:u.outerHeight()}),(u.attr("data-type")=="intext"||u.attr("data-type")=="outstream"||u.attr("data-type")=="infeed")&&(i+=27),i>1&&r.attr("pp-sticky-this")!="on"){var o=(r.height()-i)/2;e.css({marginTop:o})}};_ppads.display=function(n){var f,e,v,y,it,rt,p,w,b,d,l;let g=document.querySelectorAll("div[data-premium],div[data-premium-adunit]");_ppads.HasOutstreamSlider&&!n&&(_ppads.OutstreamSliderAlways||!_ppads.HasAnchor)&&_ppads.OutstreamSlider.loadScript("DISPLAY");let a={};for(let n=0;n<g.length;n++){let t=g[n],i=(t.getAttribute("data-adunit")||t.getAttribute("data-premium-adunit")||"PADRAO").replace(/\//g,"_");if(_ppads.livepreview&&(i="PREMIUM_LIVE_PREVIEW"),a.hasOwnProperty(i)?a[i]+=1:a[i]=0,t.id)continue;else _ppads.IsSpa?t.setAttribute("id","P_"+i+"_"+Math.random().toString().replace(".","")):t.setAttribute("id","P_"+i+"_"+a[i]);if(!t.getAttribute("data-sizes-"+_ppads.device)||t.getAttribute("data-sizes-"+_ppads.device)==="[[1,1]]"||t.getAttribute("data-sizes-"+_ppads.device)==="[1,1]"||t.getAttribute("data-smart")||t.getAttribute("data-type")=="custom"||t.getAttribute("data-pospopup")||t.getAttribute("data-type")==="flex"||_ppads.isIframe||_ppads.BloqueadoGoogle){t.setAttribute("lazyload","false");continue}let r="default";t.getAttribute("data-type")&&(r=t.getAttribute("data-type"));let u="<div class='pp-box-adunit pp-ad-loading pp-type-"+r+"'><div class='pp-adunit'><div class='pp-ad'>"+t.outerHTML+"<\/div><\/div><\/div>";t.insertAdjacentHTML("afterend",u);t.parentNode.removeChild(t)}if(f=[],e=document.querySelectorAll("div[data-premium]:not([data-fetch]),div[data-premium-adunit]:not([data-fetch])"),_ppads.PremiumLazyLoad){if(!e||e.length===0)return;for(v=0;v<e.length;v++){let n=e[v];_ppads.isOnViewport(n)&&f.push(n)}}else f=e;if(f&&f.length!==0){let o=[],ut=[];for(let e=0;e<f.length;e++){let a=f[e];if(window.ppAdsTestInstance&&!window.ppAdsTestInstance.expiry()&&window.ppAdsTestInstance.abtest&&window.ppAdsTestInstance.abtest.config&&window.ppAdsTestInstance.abtest.config.slots&&!window.ppAdsTestInstance.abtest.exists(a.id)){jQuery(`#${a.id}`).parents(".pp-box-adunit").remove();return}let ht=a.getAttribute("data-type");if((!n&&ht==="flex"&&_ppads.mock.available&&_ppads.mock.flex&&(_ppads.log("Mocking flex for tests purpose"),n=!0),n||ht!=="flex"&&ht!=="anchor")&&!a.getAttribute("data-fetch")){a.setAttribute("data-fetch","true");let ut=a.getAttribute("data-adunit")||a.getAttribute("data-premium-adunit")||"PADRAO";if(_ppads.livepreview&&(ut="PREMIUM_LIVE_PREVIEW"),!_ppads.isIframe&&(y=a.getAttribute("data-device")||a.getAttribute("data-premium-device")||"all",y!=="all"&&y!==this.device)){a.style.display="none";_ppads.log(ut,y,"only");continue}a.setAttribute("i",e);var k=a.getAttribute("data-type")==="outstream"||!1,nt=a.getAttribute("data-type")==="intext"||!1,ft=a.getAttribute("data-type")==="infeed"||!1,tt=a.getAttribute("data-type")==="flex"||!1,et=a.getAttribute("data-anchor")?!0:!1,ot=a.getAttribute("data-sticky")?!0:!1,st=a.getAttribute("refreshtime"),i=[],r=[],t=[];try{i=JSON.parse(a.getAttribute("data-sizes"))||JSON.parse(a.getAttribute("data-sizes-"+this.device))||[]}catch(ht){console.log("data-sizes invalido",ht);continue}if((!i||i.length===0)&&a.getAttribute("width")&&(it=a.getAttribute("width"),rt=a.getAttribute("height"),i.push([parseInt(it),parseInt(rt)])),i&&i.length!==0){let g=0,v=0;if(_ppads.isIframe)r=i,t=t.concat(_ppads.getBidders("size_sizeless"));else if(tt)r=_ppads.getFlexSizes(),t=t.concat(_ppads.getBidders("size_sizeless","flex"));else if(k)t=t.concat(_ppads.getBidders("size_outstream","outstream")),i.forEach(function(n){jQuery("#pppixel").width()>=n[0]&&(g<n[1]&&(g=n[1]),v<n[0]&&(v=n[0]),r.push(n))});else{for(p=0;p<i.length;p++){var u=i[p],s="size_",c=0,h=0;if(u instanceof Array){if(typeof u[0]=="string")continue;s=s+u[0]+"x"+u[1];h=u[0];c=u[1]}else{if(typeof u=="string")continue;s=s+i[0]+"x"+i[1];h=i[0];c=i[1]}if(jQuery("#pppixel").width()>=h)r.push([h,c]),g<c&&(g=c),v<h&&(v=h);else continue;if(t.length===0&&this.bidders[s]){let n=this.bidders[s];n&&n.length>0&&(t=t.concat(n))}if(!isNaN(u))break}t=t.concat(_ppads.getBidders("size_sizeless",ht))}if(r&&r.length!==0){if(g>1&&!_ppads.isIframe&&(w=jQuery(a).closest(".pp-box-adunit"),w.css({minWidth:v}),b=g,nt||k||ft?(b+=27,w.find(".pp-adunit").css({minHeight:b,width:v}).attr("h",g).attr("w",v)):w.find(".pp-adunit").css({height:b,width:v}).attr("h",g).attr("w",v)),d=(ut.indexOf("/")>-1?"":"/"+_ppads.DfpId+"/")+ut,t.length>0)for(let n=0;n<t.length;n++)t[n]&&t[n].bidder==="adagio"&&(t[n].params.adUnitElementId=a.id,t[n].params.environment=_ppads.device,t[n].params.placement=ut,t[n].params.pagetype=_ppads.categoria==="home"?"home":"article",_ppads.categoria&&(t[n].params.category=_ppads.categoria),_ppads.subcategoria&&(t[n].params.subcategory=_ppads.subcategoria));l={dfpCode:ut,dataType:ht,dfpSizes:r,path:d,code:a.id,bids:t,flex:tt,anchor:et,outstream:k,intext:nt,sticky:ot,refreshtime:st,rand:_ppads.rand};l.mediaTypes={banner:{sizes:r}};l.pubstack={adUnitPath:d,adUnitName:ut,tags:[`timeout:${_pbjs.TIMEOUT}`]};o.push(l);_ppads.adunits.push(l)}}}}o.length!==0&&(googletag.cmd.push(function(){for(var n=0;n<o.length;n++){let t=o[n];_ppads.slots.hasOwnProperty(t.code)&&googletag.destroySlots([_ppads.slots[t.code]]);let i=googletag.defineSlot(t.path,t.dfpSizes,t.code).addService(googletag.pubads());i.sizes=t.dfpSizes;i.flex=t.flex;i.anchor=t.anchor;i.outstream=t.outstream;i.intext=t.intext;i.refreshtime=t.refreshtime;i.count=0;i.adunit=t;i.ppads=!0;_ppads.setTargeting(i);ut.push(i);_ppads.slots[t.code]=i}_ppads.pubadsReady||(googletag.pubads().addEventListener("impressionViewable",function(n){var t=document.getElementById(n.slot.getSlotElementId());t&&t.hasAttribute("data-premium")&&(_ppads.log("impressionViewable",n),t.classList.remove("hide_mask"),(t.getAttribute("data-sticky")||t.hasAttribute("refreshtime"))&&_ppads.refreshSticky(n.slot,parseInt(t.getAttribute("refreshtime"))),_ppads.setInfoDebug(t.id))}),googletag.pubads().addEventListener("slotRenderEnded",function(n){var t=document.getElementById(n.slot.getSlotElementId()),i,r,u;if(t&&t.hasAttribute("data-premium")){if(_ppads.log("slotRenderEnded",n.isEmpty,t,n),n.isEmpty)t.hasAttribute("data-anchor")?_ppads.HasOutstreamSlider&&!_ppads.OutstreamSliderAlways?_ppads.OutstreamSlider.loadScript("SLOT RENDER EMPTY",t):_ppads.refreshSticky(n.slot,parseInt(t.getAttribute("refreshtime")),!0):t.hasAttribute("refreshtime")?_ppads.refreshSticky(n.slot,parseInt(t.getAttribute("refreshtime")),!0):n.slot&&n.slot.count==0&&_ppads.AdsensePublisherId!==""&&_ppads.AdsenseAdunitId!==""&&n.slot.sizes&&n.slot.sizes[0]&&n.slot.sizes[0][0]>1&&(_ppads.loadScript("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"),u='<ins class="adsbygoogle" style="display:inline-block;width:'+n.slot.sizes[0][0]+"px;height:"+n.slot.sizes[0][1]+'px;" data-ad-client="ca-'+_ppads.AdsensePublisherId+'" data-ad-slot="'+_ppads.AdsenseAdunitId+'"><\/ins>',t.innerHTML="",t.insertAdjacentHTML("afterbegin",u),window.adsbygoogle=window.adsbygoogle||[],window.adsbygoogle.push({}),n.slot.adunit&&n.slot.adunit.flex&&(!_pppubtv||!_pppubtv.Open)&&(jQuery("#pp_boxnewflex").show(),jQuery("body").addClass(`ppFlexOpen`)));else{if(n.slot.size=n.size,i=parseInt(n.size[0]),r=parseInt(n.size[1]),i===1&&r===1){let t=n.slot.getTargetingMap();if(t&&t.hasOwnProperty("amznsz")){let n=t.amznsz[0].split("x");i=parseInt(n[0]);r=parseInt(n[1])}}i>1&&r>1?(t.getAttribute("data-smart")&&_ppads.renderSmart(t,i,r),t.getAttribute("data-type")!=="flex"||_pppubtv&&_pppubtv.Open||(jQuery("#pp_boxnewflex").show(),jQuery("body").addClass(`ppFlexOpen`)),t.hasAttribute("data-anchor")&&jQuery("#ppBoxAnchor").attr("loaded","true"),_ppads.realignAd(t,i,r)):t.getAttribute("data-smart")&&_ppads.saveConfig("flex")}_ppads.HasOutstreamSlider&&!_ppads.HasAnchor&&_ppads.OutstreamSlider.loadScript("SLOT RENDER",t);_ppads.performanceFirstSlotRenderEnded==0&&(console.log("Performance FirstAd",performance.now()),_ppads.performanceFirstSlotRenderEnded=performance.now(),_pppubtv.performanceFirstSlotRenderEndedSend||(_ppads.hitPerformance(_ppads.performanceFirstSlotRenderEnded,"PerformanceFirstSlotRenderEnded"),_pppubtv.performanceFirstSlotRenderEndedSend=!0))}}),googletag.pubads().addEventListener("slotOnload",function(n){var t=document.getElementById(n.slot.getSlotElementId());t&&t.hasAttribute("data-premium")&&(_ppads.log("slotOnload",n.slot.getSlotElementId()),n.slot.anchor&&n.slot.size&&n.slot.size[0]>1&&(n.slot.anchor&&jQuery("#ppBoxAnchor").attr("loaded","true"),(_ppads.dominio==="tudoradio.com"||jQuery("body").attr("scrolled")=="true")&&_ppads.openAnchor()))}),googletag.pubads().setTargeting("url",_ppads.dominio),googletag.pubads().setTargeting("dominio",_ppads.dominio),_ppads.isIframe&&googletag.pubads().setTargeting("page_url",_ppads.dominio),_ppads.categoria&&(googletag.pubads().setTargeting("categoria",_ppads.categoria),_ppads.subcategoria&&googletag.pubads().setTargeting("subcategoria",_ppads.subcategoria),_ppads.link&&googletag.pubads().setTargeting("link",_ppads.link)),_ppads.UtmSource&&googletag.pubads().setTargeting("utm_source",_ppads.UtmSource),_ppads.UtmMedium&&googletag.pubads().setTargeting("utm_medium",_ppads.UtmMedium),_ppads.UtmCampaign&&googletag.pubads().setTargeting("utm_campaign",_ppads.UtmCampaign),_ppads.topicos&&googletag.pubads().setTargeting("topicos",_ppads.topicos),_ppads.Policy&&googletag.pubads().setTargeting("pp_policy","enforced"),googletag.pubads().setTargeting("timeout",`${_pbjs.TIMEOUT}`),googletag.pubads().setSafeFrameConfig({sandbox:!0}),googletag.pubads().setCentering(!0),googletag.pubads().enableSingleRequest(),googletag.enableServices(),_ppads.pubadsReady=!0)}),(_ppads.switches.apstag||_ppads.switches.prebid)&&(n||!_ppads.PrebidLazyLoad||!_ppads.PremiumLazyLoad)?(_ppads.apstagRequestHeaderBids({adUnits:o,slots:[]}),_ppads.prebidRequestHeaderBids({adUnits:o,slots:[]}),setTimeout(function(){_ppads.initAdserver()},_pbjs.MASTER_TIMEOUT)):_ppads.initAdserver())}};_ppads.apstagInit=function(){_ppads.switches.apstag&&(_ppads.log("apstagInit"),apstag.init({pubID:"331fbd2e-ff5e-4e7c-9de6-7c2166bce7b7",adServer:"googletag",schain:_ppads.schain}))};_ppads.BiddersBack=function(n=[]){_ppads.log("BiddersBack",n);_ppads.switches.apstag&&_ppads.switches.prebid?_ppads.executeParallelAuctionAlongsidePrebid.requestManager.aps&&_ppads.executeParallelAuctionAlongsidePrebid.requestManager.prebid&&_ppads.initAdserver():_ppads.switches.prebid&&_ppads.executeParallelAuctionAlongsidePrebid.requestManager.prebid?_ppads.initAdserver():_ppads.switches.apstag&&_ppads.executeParallelAuctionAlongsidePrebid.requestManager.aps&&_ppads.initAdserver()};_ppads.apstagRequestHeaderBids=function(n){if(_ppads.switches.apstag){_ppads.executeParallelAuctionAlongsidePrebid.requestManager.aps=!1;let t=[];n.adUnits.forEach(function(n){t.push({slotID:n.code,slotName:n.path,sizes:n.dfpSizes})});apstag.fetchBids({slots:t},function(){_ppads.log("requestBids APSTAG",n.adunits);googletag.cmd.push(function(){apstag.setDisplayBids();_ppads.executeParallelAuctionAlongsidePrebid.requestManager.aps=!0;_ppads.BiddersBack()})})}};_ppads.prebidRequestHeaderBids=function(n={}){_ppads.switches.prebid&&(_ppads.executeParallelAuctionAlongsidePrebid.requestManager.prebid=!1,n&&Object.keys(n)&&Object.keys(n).length)&&_pbjs.que.push(function(){_ppads.log("requestBids PREBID",n.adUnits);_pbjs.requestBids({timeout:_pbjs.TIMEOUT,adUnits:n.adUnits,bidsBackHandler:function(){_pbjs.setTargetingForGPTAsync();_ppads.executeParallelAuctionAlongsidePrebid.requestManager.prebid=!0;_ppads.BiddersBack(n.slots)}})})};_ppads.getSlot=function(n){let t=null;return googletag.pubads().getSlots().forEach(function(i){i.getSlotElementId().toString()===n&&(i.clearTargeting(),t=i)}),t};_ppads.getBidders=function(n,t){if(_ppads.bidders[n]){let r=JSON.parse(JSON.stringify(_ppads.bidders[n])),i=.01;if(t==="flex"?i=_ppads.getFloor({flex:!0}):t==="anchor"?i=_ppads.getFloor({anchor:!0}):(t==="outstream"||n==="size_outstream")&&(i=_ppads.getFloor({outstream:!0})),i=i/_ppads.Dolar,i>.01)for(let n=0;n<r.length;n++){let t=r[n];t.bidder==="rubicon"?t.params.floor=i:t.bidder==="appnexus"?t.params.reserve=i:(t.params.bidfloor=i,t.params.bidFloor=i)}return r}return[]};_ppads.adsOnViewport=function(){if(_ppads.PremiumLazyLoad)jQuery(window).on("scroll.ppads",function(){_ppads.LazyDisplay()})};_ppads.LazyDisplay=function(){_ppads.fetch||(_ppads.fetch=!0,_ppads.switches.prebid&&!_pbjs.getConfig&&_ppads.loadScript(_ppads.PbjsUrl),_ppads.display(!0),_ppads.fetch=!1)};_ppads.checksBeforeLoad();_ppads.checksBeforeTv=function(){(_pppubtv.HasPubTv||_ppads.HasInStream)&&(_ppads.HasJquery&&window.jQuery?_pppubtv.pubTv():_ppads.loadScript(_ppads.jQueryUrl,function(){_pppubtv.pubTv()}))};document.readyState==="interactive"||document.readyState==="complete"?_ppads.checksBeforeTv():document.addEventListener("DOMContentLoaded",function(){(_ppads.log("DOMContentLoaded: "+performance.now(),document.readyState),document.readyState==="interactive"||document.readyState==="complete")&&_ppads.checksBeforeTv()})