"use strict";var{_ppads,_pbjs,googletag}=((n,t,i,r)=>{if(t&&t.ready)return{_ppads:t,_pbjs:i,googletag:r};t.ready=!0;r.cmd=r.cmd||[];i.que=i.que||[];t.scroll={que:[]};t.performanceOnStart=performance.now();t.performanceFirstSlotRenderEnded=!1;t.performanceFirstSlotOnLoadEnded=!1;t.current_outstream_id=1;t.testmode=location.search.indexOf("pp_test")>=0||!1;t.deviceWidth=n.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;t.device=/Android|webOS|iPhone|iPod|iPad|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||t.deviceWidth<800?"mobile":"desktop";t.playerWidth=t.device==="mobile"?336:640;t.playerHeight=t.device==="mobile"?280:360;t.isIframe=n.frameElement&&n.frameElement.clientHeight<=400;t.rand=Math.floor(Math.random()*100);t.PrebidServerBidders=["appnexus","rubicon","onetag","triplelift","smartadserver","improvedigital","oftmedia","projectagora","amx","seedtag"];t.slots={};t.currentUrl=n.location.origin+n.location.pathname;t.executeParallelAuctionAlongsidePrebid={requestManager:{aps:!1,prebid:!1}};t.document=document;t.pbjsUserIds={identityLink:{}};Document.prototype.hasChild=function(n){return n&&n.hasChildNodes&&n.hasChildNodes()?[...n.childNodes].find(n=>n.innerHTML&&n.innerHTML.length):undefined};Document.prototype.hasChildAd=function(n){return n&&n.hasChildNodes&&n.hasChildNodes()?[...n.childNodes].find(n=>n.innerHTML&&n.innerHTML.length&&n.hasAttribute&&n.hasAttribute("data-premium")):undefined};Document.prototype.createElementFromString=function(n){const t=new DOMParser,i=t.parseFromString(n,"text/html");return i.body.firstChild};Document.prototype.getElementByClassName=function(n,t){const i=n.getElementsByClassName(t);return i&&i[0]?i[0]:undefined};Document.prototype.debounce=function(n,t){clearTimeout(n._tId);n._tId=setTimeout(()=>n(),t)};Document.prototype.throttle=(n,t)=>{let i=Date.now();return(...r)=>{i+t-Date.now()<0&&(n(r),i=Date.now())}};Document.prototype.observer=(n,t)=>{const i=n=>{n.type&&n.addedNodes&&n.addedNodes.length&&n.type==="childList"&&setTimeout(()=>t(),1e3)};new MutationObserver(document.throttle(n=>{for(let t of n){if(Array.isArray(t)){const n=t.flat(Infinity);for(let t=0;t<n.length;++t)i(n[t]);continue}i(t)}},1500)).observe(n,{attributes:!1,childList:!0,subtree:!0})};Document.prototype.insertAdjacentHTML=(n,t,i)=>{let r={Before:"beforebegin",InsideBefore:"afterbegin",InsideAfter:"beforeend",After:"afterend"};n.tagName==="BR"&&(r={After:"afterend"});n.tagName==="IMG"&&(r={Before:"beforebegin",After:"afterend"});n.insertAdjacentHTML(r[t]?r[t]:r.After,i)};t.setStorage=function(n,t){localStorage.setItem(`_ppads_${n}`,t)};t.getStorage=function(n){return localStorage.getItem(`_ppads_${n}`)};t.element=t.element||{};t.element.visible=n=>{n.classList.remove("pads-invisible")};t.element.invisible=n=>{n.classList.add("pads-invisible")};t.customScripts=()=>{try{var n=document.querySelector("html[data-logged-in]"),i=n.getAttribute("data-logged-in");i=="true"&&(t.HasFlex=!1)}catch(r){}};t.isLocal=!1;t.tagurl="https://tags.premiumads.com.br";t.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");t.DefaultFloorPrice=.05;t.debug=location.search.indexOf("pp_debug")>=0||localStorage.hasOwnProperty("pp_debug")||!1;t.build="2023.6.15166.16";t.version="2023.06.15166.16";t.versionCache="638226771676828483";t.dominio="outerspace.com.br";t.siteid="7dffa81d-2021-46bb-aef8-e27503eadd72";t.partnerid="c2e4d449-3188-4c70-a871-a7666d0d14ae";t.canonical="https://www.outerspace.com.br/";t.urlLogo="https://www.outerspace.com.br/wp-content/uploads/2019/03/os_site_logo.png";t.hasNonAdChecks=!1;t.bidders={size_sizeless:[{bidder:"rubicon",params:{accountId:15410,siteId:302576,zoneId:1520800}},{bidder:"smartadserver",params:{networkId:1931,siteId:218825,pageId:1234105,formatId:68014}},{bidder:"appnexus",params:{placementId:18081599,allowSmallerSizes:!0}},{bidder:"criteo",params:{networkId:"7833"}},{bidder:"onetag",params:{pubId:"5adaad445a0a050"}},{bidder:"triplelift",params:{inventoryCode:"PremiumAds_RON_Prebid"}},{bidder:"improvedigital",params:{placementId:22775169,publisherId:1879}}],size_outstream:[{bidder:"smartadserver",params:{networkId:1931,siteId:218825,pageId:1234105,formatId:113995}},{bidder:"appnexus",params:{placementId:25183698,video:{minduration:1,maxduration:60,skippable:!0,playback_method:["auto_play_sound_off"],mimes:["video/mp4","application/javascript"]}}},{bidder:"onetag",params:{pubId:"5adaad445a0a050"}},{bidder:"improvedigital",params:{placementId:22775170,publisherId:1879}}]};t.getBidders=function(n){if(!n||!t.bidders||!t.bidders[n])return[];t.onEachABTestInstance(1,n=>n.module.reload());return t.bidders[n]};t.urls=[];t.BlockUrlsJson=[{Title:"Elementor WP Plugin",Method:"Contains",Url:"elementor-preview=1",Block:"PremiumAutoAds",Format:"All",Device:"All"},{Title:"Beaver Builder WP Plugin",Method:"Contains",Url:"fl-builder-template",Block:"PremiumAutoAds",Format:"All",Device:"All"}];t.PolicyEnforcedJson=["sangue","morta","presa","executou","tiros","morto","feminicidio","agonizar","vitima","baleado","emboscada","morte","morreu","assasinato","condenado","homicidio","violencia","sexual","acidente","agredido","agredida","agressao","bolsonaro","assassinado","seios","sensualiza","bumbum","sexo","suicidio","cocaina","assassino","crime","nua","doloso","drogas","prostituta","policia","prostituicao","estuprada","estupro","odio","guerra","terrorismo","abuso","presidente-da-republica","fake-news","acidentes","presidente-do-brasil","governo-federal","investigacao","brutalidade","manifestacao","suicidio","matou","violencia","cocaina","corpao","morta","morte","assassino","crime","mortes","assedio","crimes","sexuais","nudes","lula","dilma","pornografia","estupro","aborto","intimas"];t.Yieldbird="";t.DfpPrefix="OUTER_SPACE";t.DfpId="75894840,171588685";t.HasJquery=!1;t.PrebidTimeout=2500;t.HasPrebidServer=!1;t.PrebidServerTest=!1;t.HasRefresh=!0;t.PrebidLazyLoad=!1;t.switches={prebid:!0,apstag:!0};t.HasPremiumLazyLoad=!1;t.PremiumLazyLoadViewport=1;t.PremiumLazyLoadMobileScale=2;t.googleTagTargets={};t.pp_count_refresh=[];t.HasSticky=!0;t.JsonSticky=["OUTER_SPACE_FORUM_LATERAL,.sidebar.small-12.medium-4.columns,10,30"];t.HasCustomAd=!0;t.CustomAdJson=[{Sufix:"BARRA_LATERAL_1",Id:"",Selector:".sidebar_inner.fixed-me",Position:"After",Refresh:0,Sticky:0,Limiter:"",Top:0,QtdeAds:1,DesktopSizes:[[300,250],[336,280]]}];t.CustomAdStyle=`[data-type="custom"]{margin:0 auto 30px}`;t.adsstickyGetElement=n=>document.querySelector("div[data-adunit='"+n+"']");t.adsstickyBackTo=(n,t)=>{const r="data-backTo";let i=n;if(!n.hasAttribute(r)){n.setAttribute(r,!0);for(var u=0;u<t;u++)i.parentNode&&(i=i.parentNode);const f=document.createDocumentFragment();f.appendChild(n);i.appendChild(f)}};t.adsstickyV1=()=>{t.HasSticky&&t.JsonSticky&&t.JsonSticky.length&&(t.Reward&&t.Reward.enabled(),t.JsonSticky.forEach(function(n){const r=n.split(",");let i=t.adsstickyGetElement(r[0]);if(i&&(!(r[4]>0)||(t.adsstickyBackTo(i,r[4]),i=t.adsstickyGetElement(r[0]),i))){const e=i.closest(r[1]);if(e){const u=r.length>2?parseInt(r[2]):0;u&&(i.style.top=`${u}px`,i.setAttribute("topSpacing",u));i.setAttribute("element-collapse",r[1]);const f=r[4]!==undefined?"pp-sticky-this-v2":"pp-sticky-this";i.setAttribute(f,"on");i.classList.add(f)}}}))};t.stickyThis=function(t){const s=t.closest(t.getAttribute("element-collapse")),r=n.pageYOffset?n.pageYOffset:s?.scrollTop??0;let u=0;t.hasAttribute("topSpacing")&&(u=parseInt(t.getAttribute("topSpacing")));!r<t.offsetTop&&!t.hasAttribute("data-offsetTop")&&t.setAttribute("data-offsetTop",t.offsetTop);const i=document.documentElement,f=document.body,e="scrollTop",o="scrollHeight",h=(i[e]||f[e])/((i[o]||f[o])-i.clientHeight)*100;r>=parseInt(t.getAttribute("data-offsetTop"))&&h<=95?(t.style.top=u+"px",t.classList.add("pp-sticky")):(t.style.top="",t.classList.remove("pp-sticky"))};t.adssticky=function(){t.adsstickyV1();const n=document.querySelectorAll(".pp-sticky-this");if(n&&n.length)try{t.scroll.que.push(()=>n.forEach(t.stickyThis))}catch(i){t.logerror("sticky","adssticky",i)}};t.PremiumCustomAd=(class{constructor(n,i){this.hasSticky=!1;this._customads=n;this._styles=i;this.load();t.adssticky&&t.adssticky()}load(){t.HasCustomAd&&this._customads&&this._customads.length&&t.isValidUrl()&&(t.Reward&&t.Reward.enabled(),this.styles(),this._customads.forEach(n=>{let i=null;try{if(i=document.querySelectorAll(n.Selector),!i||!i.length)return}catch(u){t.logerror("customad","load",u);return}let r=1;i.forEach(t=>{for(var i=1;i<=(n.QtdeAds||1);i++){const i=this.htmltag(n,r);if(!i)return;const u=(new DOMParser).parseFromString(i,"text/html");switch(n.Position){case"Before":t.insertAdjacentHTML("beforebegin",i);break;case"After":t.insertAdjacentHTML("beforeend",i);break;case"InsideBefore":t.prepend(u.body.firstChild);break;case"InsideAfter":default:t.appendChild(u.body.firstChild)}r++}})}))}htmltag(n){let u=`${t.DfpPrefix}_${n.Sufix}`;const f=[],i=[],r=["data-premium",`data-adunit="${u}"`],e=document.querySelector(`[data-premium][data-adunit="${u}"]`);if(n.Sticky){if(this.hasSticky=!0,e){e.setAttribute("data-sticky","");return}f.push(n.Version==="css"?"pp-sticky-this-v2":"pp-sticky-this");r.push("data-sticky")}n.Limiter&&i.push(`element-collapse=${n.Limiter}`);n.Top&&(i.push(`style="top:${n.Top}px;"`),i.push(`topSpacing=${n.Top}`));n.QtdeAds&&i.push(`ads="${n.QtdeAds}"`);n.MobileSizes&&r.push(`data-sizes-mobile="${JSON.stringify(n.MobileSizes)}"`);n.DesktopSizes&&r.push(`data-sizes-desktop="${JSON.stringify(n.DesktopSizes)}"`);let o=`<div class="${f.join(" ")}" ${i.join(" ")}>`;return o+=`<div ${r.join(" ")}></div>`,o+`</div>`}styles(){document.body.insertAdjacentHTML("beforeend",`<style>${this._styles}</style>`)}});t.HasAnchor=!1;t.HasPosPopup=!0;t.PosPopupCap=0;t.PosPopupFloorPriceDesktop="";t.PosPopupFloorPriceMobile="1";t.HasReward=!1;t.RewardBlockUrlsPopupJson={};t.RewardBlockUrlsJson=[];t.HasFlex=!0;t.FlexJson={FloorPrice:{Desktop:1,Mobile:.05,Version:"v3"},Items:[{Title:".post-content .row.row.row-fluid",FlexPosition:0,DesktopSizes:[[300,600],[300,250],[160,600],[120,600]]},{Title:"#infinite-article .row.post-detail-row",FlexPosition:0,DesktopSizes:[[300,600],[300,250],[160,600],[120,600]]},{Title:".focus-width .focus-content",FlexPosition:0,DesktopSizes:[[300,600],[300,250],[160,600],[120,600]]}],Version:"v3"};t.FlexCap=0;t.GlobalConfigJson=[{Selector:"",Multiply:.5,EachParagraph:0}];t.PremiumGlobal=(class{constructor(){this.ps=null;this.paragraph=null;this.text_init_position=0;this.viewport=1;this.height_dobra;this.checkDataAttr="pp-article-wrap";this.onEachDataAttr="pp-each";this.viewportDataAttr="pp-viewport";this.ppadDataAttr="ppad";this.minTextLength=30;this.paragraphClientHeight;this.paragraphCount=0;this.lineBreakCount=0;this._global=t.GlobalConfigJson;this._intextStyle=t.InTextStyle;this._intexts=t.InTextJson;this._outstreamStyle=t.OutstreamStyle;this._outstreams=t.OutstreamJson;this.load()}load(){this.setArticleWraps()}setArticleWraps(){this._global&&this._global.length&&this._global.filter(n=>n.Selector&&n.Selector.trim()).forEach(n=>this.forEachItem(n))}forEachItem(n){try{const i=t=>{this.ps=document.querySelectorAll(`${n.Selector}${t}:not([${this.checkDataAttr}])`)};if(i(" p"),this.ps&&this.ps.length||i(""),!this.ps||!this.ps.length||!this.ps[0]||!this.ps[0].parentNode)return;const t=this.ps[0].parentNode;t.setAttribute(this.checkDataAttr,n.Selector);t.setAttribute(this.onEachDataAttr,n.EachParagraph>0);t.setAttribute("EachParagraph",n.EachParagraph);this.setHeightDobra(n);this.text_init_position=0;this.viewport=1;this.ps.forEach(t=>this.forEachItemSelector(t,n.EachParagraph));this.setLastParagraph()}catch(i){t.logerror("global","forEachItem",i)}}forEachItemSelector(n,t){if(this.isLineBreakTag(n))return this.forEachLineBreak(n,t);!n.innerText||n.innerText.length<this.minTextLength||(this.paragraph=n,this.paragraphClientHeight=this.paragraph.clientHeight,this.setParagraphDataAttribute(t))}forEachLineBreak(n,t){if(n.nextSibling&&n.nextSibling.nodeValue&&!(n.nextSibling.nodeValue.length<this.minTextLength)){const i=[100,130,160],r=Math.floor(Math.random()*i.length);this.paragraph=n;this.paragraphClientHeight=this.lineBreakCount?i[r]:0;this.setParagraphDataAttribute(t);this.lineBreakCount++}}setParagraphDataAttribute(){this.paragraphCount++;this.paragraph.setAttribute(this.ppadDataAttr,!0);const n=t.getOffset(this.paragraph),i=n.top+this.paragraphClientHeight-this.text_init_position;i>=this.height_dobra&&(this.paragraph.setAttribute(this.viewportDataAttr,this.viewport),this.text_init_position=n.top+this.paragraphClientHeight,this.viewport++)}setHeightDobra(n){this.height_dobra=t.getViewPort().height;this.height_dobra>700&&(this.height_dobra=700);n.Multiply!=0&&(this.height_dobra=this.height_dobra*n.Multiply)}setLastParagraph(){this.paragraph&&(this.paragraph.setAttribute("pp-last-paragraph","true"),this.viewport==1&&this.paragraph.setAttribute(this.viewportDataAttr,this.viewport))}isLineBreakTag(n){return n.tagName&&n.tagName=="BR"}});t.HasOutstream=!1;t.HasOutstreamSlider=!1;t.HasRadioAd=!1;t.RadioAd=(class{constructor(){this.ready=!1;this.media;this.container;this.adPause=!1;this.streamPlayer;this.firstAccess=!0;this.load()}load(){if(t.HasRadioAd&&t.RadioAdJson&&(this.selector=t.RadioAdJson.Selector,this.containerStyle=t.RadioAdJson.ContainerStyle,this.search(),this.ready)&&(this.html(),this.container)){var n={desktop:{width:t.RadioAdJson.PlayerSizeDesktop?t.RadioAdJson.PlayerSizeDesktop[0]:550,height:t.RadioAdJson.PlayerSizeDesktop?t.RadioAdJson.PlayerSizeDesktop[1]:309},mobile:{width:t.RadioAdJson.PlayerSizeMobile?t.RadioAdJson.PlayerSizeMobile[0]:336,height:t.RadioAdJson.PlayerSizeMobile?t.RadioAdJson.PlayerSizeMobile[1]:189},slider:{desktop:{width:t.RadioAdJson.PlayerSliderSizeDesktop?t.RadioAdJson.PlayerSliderSizeDesktop[0]:400,height:t.RadioAdJson.PlayerSliderSizeDesktop?t.RadioAdJson.PlayerSliderSizeDesktop[1]:225},mobile:{width:t.RadioAdJson.PlayerSliderSizeMobile?t.RadioAdJson.PlayerSliderSizeMobile[0]:225,height:t.RadioAdJson.PlayerSliderSizeMobile?t.RadioAdJson.PlayerSliderSizeMobile[1]:126}}};this.streamPlayer=new t.StreamPlayer({element:this.container,format:"audio",onClose:()=>this.play(),bidsBackHandler:()=>this.play(),retryAttemptLimit:1,style:{backgroundColor:"#000",color:"#fff"},size:{desktop:n.desktop,mobile:n.mobile},slider:n.slider});this.addEventListener()}}addEventListener(){this.media.listening||(this.media.listening=!0,this.media.pause(),this.media.addEventListener("playing",()=>{this.adPause||this.firstAccess||(this.media.pause(),this.open())}),this.media.addEventListener("pause",()=>{this.adPause=!1,this.firstAccess&&(this.open(),this.firstAccess=!1)}))}search(){if(!this.ready){const t=document.querySelector(this.selector);if(t){const n=t.querySelectorAll("audio,video");n&&n.length&&(this.media=n[0],this.ready=!0)}}}open(){this.streamPlayer.mount();this.container.style.display="flex"}play(){this.adPause=!0;this.media.play();this.container.style.display="none"}html(){this.container||(this.container=document.createElement("div"),this.container.style.cssText=`${this.containerStyle} display: none;`,document.body.appendChild(this.container))}});t.HasInText=!1;t.HasInTextEnd=!0;t.SkipInText="";t.HasInImage=!1;t.HasInFeed=!0;t.ElementsInFeed=[];t.InFeedJson={General:null,Feed:[{Title:null,ContainerSelector:".p-body-main .block-container .block-body",FeedItemSelector:"article.message",Multiply:0,FixedInsert:0,Skip:0,DesktopSizes:[[728,90]],MobileSizes:[[300,250]],Obs:""},{Title:null,ContainerSelector:".p-body .structItemContainer-group",FeedItemSelector:".structItem",Multiply:0,FixedInsert:0,Skip:1,DesktopSizes:[[728,90]],MobileSizes:null,Obs:""},{Title:null,ContainerSelector:".p-body .structItemContainer-group",FeedItemSelector:".structItem",Multiply:0,FixedInsert:8,Skip:1,DesktopSizes:null,MobileSizes:[[300,250],[2,2]],Obs:""}]};t.InFeedStyle=``;t.PremiumInfeed=(class{constructor(){this._infeeds=t.InFeedJson.Feed;this._general=t.InFeedJson.General;this._styles=t.InFeedStyle;this._cycle=1;this.DOMObserve;this.containers;this.cycleObserver={};this.infeedViewport=this.infeedViewport||1;this.countInfeedItens=this.countInfeedItens||0;this.LIMIT_ADUNIT_NUMBER=15;try{this.load()}catch(n){t.logerror("infeed","load",n)}}load(){let n=this._infeeds&&this._infeeds.length&&this._infeeds[0].FeedItemSelector;t.isValidUrl()&&t.HasInFeed&&n&&(t.Reward&&t.Reward.enabled(),this._cycle==1&&this.styles(),this.setDOMObserve(),this.readContainers())}readContainers(){this._infeeds.forEach(n=>{if(t.hasValidDataSizes(n.MobileSizes,n.DesktopSizes))try{if(this.containers=document.querySelectorAll(n.ContainerSelector),!this.containers||!this.containers.length)return;this.containers.forEach(t=>{this.searchAndSetupItemsToInsertAds(t,n)})}catch(i){t.logerror("infeed","load",i)}})}setDOMObserve(){this._general&&this._general[0]&&this._general[0].DOMObserve&&(this.DOMObserve=this._general[0].DOMObserve)}searchAndSetupItemsToInsertAds(n,i){try{let t=n.querySelectorAll(`${i.FeedItemSelector}:not([pp-infeed])`);if(!t||!t.length)return;t.forEach(n=>{this.setupItemToInsertAds(n,i)});this.observer(n,i)}catch(r){t.logerror("infeed","searchAndSetupItemsToInsertAds",r)}}setupItemToInsertAds(n,i){this.countInfeedItens++;let r=this.infeedViewport;if(n&&(n.setAttribute("pp-infeed",!0),this.isAllowedToInsert(n,i))){this.countInfeedItens=0;let u=`${t.DfpPrefix}_INFEED_${this.adunitPadLeft(r>this.LIMIT_ADUNIT_NUMBER?this.LIMIT_ADUNIT_NUMBER:r)}`,f=0;if(i.Skip>0&&(f=parseInt(i.Skip)),r>f){let t=n.cloneNode(!0);t.setAttribute("idAdunit",u);t.setAttribute("id",`box-infeed-${r}`);t.innerHTML=this.tagHtml(u,i);t.setAttribute("data-fetch",!0);n.insertAdjacentElement("afterend",t)}r<15&&this.infeedViewport++}}isAllowedToInsert(n,i){let r=!1,u=i.FixedInsert&&i.FixedInsert>0;if(u&&i.FixedInsert==this.countInfeedItens)r=!0;else if(!u){let f=document.querySelectorAll("[pp-infeed][data-fetch]"),u=null;if(u=f.length?f[f.length-1]:document.querySelector("[pp-infeed]"),u){let f=t.getOffset(u).top+u.clientHeight,e=t.getOffset(n).top,o=parseInt(n.clientHeight),s=e+o-f,h=t.getViewPort().height,c=i.Multiply||1,l=h*c;s>=l&&(r=!0)}}return r}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>`)}observer(n,t){if(this.DOMObserve){const i=this.getCycleObserverKey(t);if(this.cycleObserver[i]){this.cycleObserver[i]++;return}this.cycleObserver[i]=1;document.observer(n,()=>{this.searchAndSetupItemsToInsertAds(n,t)})}}getCycleObserverKey(n){return n.ContainerSelector.replace(/[^a-zA-Z0-9 ]/g,"")}});t.elements={};t.UsingPublisherAdManager=!1;t.BloqueadoGoogle=!1;t.VastTAG="https://pubads.g.doubleclick.net/gampad/ads?iu=/75894840,171588685/OUTER_SPACE_INSTREAM&env=vp&tfcd=0&npa=0&sz=400x300%7C640x360%7C640x480&gdfp_req=1&output=vast&unviewed_position_start=1&impl=s&correlator=&vad_type=linear";t.IgnoreDevice=!1;t.CpmMultiplier=1;t.USD=4.82;t.EUR=5.28;t.Analytics=!1;t.TeadsClassic="119971";t.AvantisId="3";t.ShowHeroesActive=!0;t.SeedtagHasInImage=!0;t.SeedtagId="";t.OutstreamUrls=[{bidder:"Avantis",params:{Key:80,Url:"'https://cdn.avantisvideo.com/avm/js/video-loader.js?id=645b490f-24f2-429d-a04c-d266868eea7c&tagId=3&subId=&callback='"}}];t.HasTaboola=!0;t.TaboolaName="premiumprogrammatic-network";t.TaboolaElements=[{Container:"taboola-below-article-thumbnails",Mode:"alternating-thumbnails-a",Placement:"Below Article Thumbnails",TargetType:"mix"},{Container:"taboola-below-article-thumbnails8",Mode:"alternating-thumbnails-a",Placement:"Below Article Thumbnails8",TargetType:"mix"}];t.PremiumUri=(class{constructor(i){this.url1=n.location.origin+n.location.pathname;this.url2=document.location&&document.location.toString?document.location.toString():"";this._blockUrls=i||t.BlockUrlsJson;this.setUri()}setUri(){if(t.VastTAG+=`${t.debug?"&adtest=on":""}&description_url=${encodeURIComponent(n.location.href)}`,n.location.search&&n.location.search.indexOf("utm_")>=0){const i=new URLSearchParams(n.location.search);t.UtmSource=i.get("utm_source");t.UtmMedium=i.get("utm_medium");t.UtmCampaign=i.get("utm_campaign")}var i=n.location.pathname.replace(/\/?(\?|#|$)/,"/$1");if(this.parts=i.split("/").filter(function(n){return n!==""}),this.parts[0]===undefined||this.parts[0]==="/"||this.parts[0]===""){t.categoria="home";return}this.parts.length&&(t.categoria=this.parts[0].substring(0,40));this.parts.length>1&&(t.subcategoria=this.parts[1].substring(0,40));t.link=this.link(this.parts)}link(n){var t=n[n.length-1];return t.substring(0,40)}match(n){let i;const u=n.Url&&n.Url.trim(),r=(n.Display||n.Device||"all").toLowerCase(),f=r=="all"||t.device==r;i=n.Method=="Contains"?this.url1.includes(n.Url)||this.url2.includes(n.Url):n.Method=="NotContains"&&this.parts.length>1?!this.url1.includes(n.Url)||!this.url2.includes(n.Url):n.Method=="NotEquals"?this.url1!==n.Url||this.url2!==n.Url:this.url1==n.Url||this.url2==n.Url;const e=(n.Block||n.Format||"all").toLowerCase();return u&&f&&i&&e}matchAny(){return!this._blockUrls||!this._blockUrls.length?!1:this._blockUrls.find(n=>this.match(n))?!0:!1}checkUrlBlockAll(){const n=this._blockUrls;let t=!1;return n&&n.length&&n.forEach(n=>{if(this.match(n)){const i=(n.Block||n.Format||"allpluspublisher").toLowerCase();if(i=="allpluspublisher"){t=!0;return}}}),t}isValidUrl(n){let i=this._blockUrls,r=!0;return i&&i.length&&i.forEach(i=>{if(this.match(i)){const u=(i.Block||i.Format||"all").toLowerCase();if(u=="all"){r=!1;return}if(i.Format&&!n){const n=i.Format.toLowerCase();if(n=="all"){r=!1;return}if(n=="anchor"){t.HasAnchor=!1;t.AnchorJson={};return}if(n=="intext"){t.HasInText=!1;t.InTextJson=[];return}if(n=="infeed"){t.HasInFeed=!1;t.InFeedJson={};return}if(n=="flex"){t.HasFlex=!1;t.FlexJson={};return}if(n=="customad"){t.HasCustomAd=!1;t.CustomAdJson=[];return}}}}),r}});t.searchForWords=(n,t)=>{const i=n=>n.normalize("NFD").replace(/[\u0300-\u036f]/g,""),r=n.find(n=>{const r=n.replace(/\s+/g," ").trim().split(" ");if(!r)return!1;const u=r.map(n=>i(t).includes(i(n))).filter(n=>n);return u&&u.length===r.length});return r?!0:!1};!function(n,t,i,r,u,f,e){function o(i,r){t[n]._Q.push([i,r])}t[n]||(t[n]={init:function(){o("i",arguments)},fetchBids:function(){o("f",arguments)},setDisplayBids:function(){},targetingKeys:function(){return[]},_Q:[]},f=i.createElement(r),f.async=!0,f.src=u,e=i.getElementsByTagName(r)[0],e.parentNode.insertBefore(f,e))}("apstag",n,document,"script","https://c.amazon-adsystem.com/aax2/apstag.js");t.corev4style={id:"ppads-style-2023061516616",content:'<style id="ppads-style-2023061516616">[data-premium]{display:flex;align-content:center;justify-content:center;position:relative}[data-premium]:empty:before{content:"";background:transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAUCAYAAAB8gkaAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6REM3QUY3NTExMTFFMTFFQUJBNjBGRDMzODE5Q0Q4OEUiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6REM3QUY3NTAxMTFFMTFFQUJBNjBGRDMzODE5Q0Q4OEUiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTkgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDA0OTMxMzcxMDVDMTFFQTkzMzI4MUFDMDc5Rjg4MkIiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDA0OTMxMzgxMDVDMTFFQTkzMzI4MUFDMDc5Rjg4MkIiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6hSXXgAAABvElEQVR42uSWv0sCYRjHv0qEk0OD2IFLS+BgcB3l7OAvJDLamrRI78hFCFeHlgyaQhtKWtqEk4gw/4A44pIyaCtE6RKJBpekxd43/FVG5dW59MAL9/K+PN/3+b4f3nt0kiR5RFHcr9fr49AojEbjg9/vX0YsFlPK5XJTy6D5qY6eVmSxWKBl0PxUR48hxr8Vq6K0EYYgHGDnB8ka6RXo0jcqxYoiQpiBi5EQyT39urKRL08qXyDPJXCKEpzyJa7cDkz1bqidIBU/xvXbZAYsp9rGAs7kCayzYwBrx7wi4bDWL7QXTiKZJCP8jII8qlIsl8UmY8eSiXybvAhwd9g67rmPgoQss4i0rTW38djmXtSIETDkGh7nurYZuGnw8nkHlIaiIM+Y39lqYBgVd0bASCh6zO4KED4sRXJzWHOP/R0gFIwUF0UzaO1D+7YNCqnCKVdxBWunOlrtgDZSMEYJWda+FYNvoQuKex4xJYNgse1GCtGBASFgZAjGAdsnu00sPEy5BQoLR9yHFWq1IMB1NInQN4CA5/nmMILqDPdtpH/RSqWiqQjNT3SqOtIWeFttgVnDtuCetAWrrwIMAOi2a8B5U104AAAAAElFTkSuQmCC") no-repeat center center;background-size:auto 16px;width:100%;height:100%;position:absolute}[data-premium][data-type="intext"]>div::before,[data-premium][data-type="infeed"]>div::before{content:"PUBLICIDADE";display:block;white-space:nowrap;position:absolute;background-color:#fff;font-size:10px;letter-spacing:1px;color:#555;top:7px;left:50%;transform:translateX(-50%);padding:0 10px;line-height:normal}.pp-sticky{position:fixed;top:0}.pp-sticky-this .ad-text{display:none}.pp-sticky-this-v2{position:-webkit-sticky;position:sticky;top:0}.pp-close-btn{cursor:pointer;position:absolute;right:15px;top:-1px;height:16px;width:16px;box-shadow:1px 1px 2px rgb(0 0 0/31%);background-color:#000;z-index:9999999999}.pp-close-btn span{background-image:url(https://tags.premiumads.com.br/Content/p_icons_3.png);background-size:69px;background-repeat:no-repeat;background-position:-40px 0;float:left;width:12px;height:12px;margin:2px}.pads-invisible{position:fixed !important;right:100vw !important;z-index:-100 !important}:root{--themeColorA:#fff;--themeColorB:transparent}.pp_boxnewflex{z-index:2147483645;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}.pp_boxnewflex.pp_right{right:0;-webkit-animation:right-to-left 3s linear forwards;animation:right-to-left 3s linear forwards}.pp_boxnewflex.pp_left{left:0;-webkit-animation:left-to-right 3s linear forwards;animation:left-to-right 3s linear forwards}.pp-adunit{z-index:1!important}.pp-mobile .pp-box-adunit:not(.pp-type-outstream) .pp-ad{position:static!important}<\/style>'};t.StreamPlayerSliderAnimation=(class{constructor(){this.document;this.element;this.position;this.xOffset;this.yOffset;this.closeButton=16;this.anchorHeader=t.HasAnchor&&t.PremiumAnchorPositions.includes("Header")?130:0;this.anchorFooter=t.HasAnchor&&t.PremiumAnchorPositions.includes("Footer")?130:0}add(i,r,u,f,e=true){this.document=t.document;this.element=i;this.position=r;this.xOffset=u?Number.isInteger(u)?u||10:u:undefined;this.yOffset=f?Number.isInteger(f)?f||10:f:undefined;this.setScrolled();this.setPosition(e);const o=n||this.element.contentWindow;o&&o.addEventListener&&(o.addEventListener("pp-anchor-opened",()=>{this.setScrolled(),this.updateYOffset()},!1),o.addEventListener("pp-anchor-closed",()=>this.updateYOffset(),!1))}remove(){}setScrolled(){this.scrolled=this.document.body.getAttribute("scrolled")=="true"}setPosition(n){const t=this.xOffset?Number.isInteger(this.xOffset)?`${this.xOffset}px`:this.xOffset:undefined,r=this.top(this.anchorHeader),u=this.bottom(this.anchorFooter),i=n?"animation":"no-animation";this.updateYOffset();switch(this.position){case"right":this.keyframes(0,t,0,0);this.element.classList.add(i,"pp_right");break;case"left":this.keyframes(0,0,0,t);this.element.classList.add(i,"pp_left");break;case"top-right":this.keyframes(r,t,0,0);this.element.classList.add(i,"pp_right");break;case"bottom-right":this.keyframes(0,t,u,0);this.element.classList.add(i,"pp_right");break;case"top-left":this.keyframes(r,0,0,t);this.element.classList.add(i,"pp_left");break;case"bottom-left":default:this.keyframes(0,0,u,t);this.element.classList.add(i,"pp_left")}}top(n){return Number.isInteger(this.yOffset)?`${this.yOffset+this.closeButton+(n?this.anchorHeader:0)}px`:this.yOffset}bottom(n){return Number.isInteger(this.yOffset)?`${this.yOffset+(n?this.anchorFooter:0)}px`:this.yOffset}updateYOffset(){this.position.includes("top")?this.element.style.top=this.top(this.scrolled):this.position.includes("bottom")&&(this.element.style.bottom=this.bottom(this.scrolled))}keyframes(n,t,i,r){if(this.uuid=`keyframes-${this.element.id}`,!this.document.getElementById(this.uuid)){const f=`from{left:-100%} to{left:${r||0}}`,e=`from{right:-100%} to{right:${t||0}}`;let u=`@-webkit-keyframes ${this.uuid}-left-to-right {${f}}`;u+=`@keyframes ${this.uuid}-left-to-right {${f}}`;u+=`@-webkit-keyframes ${this.uuid}-right-to-left {${e}}`;u+=`@keyframes ${this.uuid}-right-to-left {${e}}`;u+=`#${this.element.id}.pp-slider.pp_left { left:${r||0} }`;u+=`#${this.element.id}.pp-slider.pp_right { right:${t||0} }`;u+=`#${this.element.id}.pp-slider.animation.pp_left { -webkit-animation: ${this.uuid}-left-to-right 3s linear forwards; animation: ${this.uuid}-left-to-right 3s linear forwards; }`;u+=`#${this.element.id}.pp-slider.animation.pp_right { -webkit-animation: ${this.uuid}-right-to-left 3s linear forwards; animation: ${this.uuid}-right-to-left 3s linear forwards; }`;this.document.body.insertAdjacentHTML("beforeend",`<style id="${this.uuid}">${u}</style>`)}}});t.styleInit=n=>{if(n.href&&(t.styles=t.styles||[],!(t.styles.indexOf(n.href)>-1))){n.target||t.styles.push(n.href);const i=document.createElement("link");return i.rel="stylesheet",i.href=n.href,n.callback&&i.addEventListener("load",function(t){n.callback(null,t)},!1),i}};t.scriptInit=n=>{if(n.scriptSrc&&(t.scripts=t.scripts||[],!(t.scripts.indexOf(n.scriptSrc)>-1))){n.target||t.scripts.push(n.scriptSrc);const i=document.createElement("script");return i.type="text/javascript",i.src=n.scriptSrc,i.async=!0,n.scriptSrc.indexOf("cdn.avantisvideo.com")>=0?i.id="avantisJS":n.scriptId&&(i.id=n.scriptId),n.callback&&i.addEventListener("load",function(t){n.callback(null,t)},!1),i}};t.loadStyle=function(n,i){try{const r=t.styleInit({href:n,callback:i});if(!r)return;document.getElementsByTagName("head")[0].appendChild(r)}catch(r){t.logerror("loaders","style",r,n)}};t.loadScript=function(n,i,r){try{const u=t.scriptInit({scriptSrc:n,scriptId:r,callback:i});if(!u)return;document.getElementsByTagName("head")[0].appendChild(u)}catch(u){t.logerror("loaders","script",u,n)}};t.loadStyle_v2=n=>{try{const i=t.styleInit(n);if(!i)return;n.target.appendChild(i)}catch(i){t.logerror("loaders","style",i,n)}};t.loadScript_v2=n=>{try{const i=t.scriptInit(n);if(!i)return;n.target.appendChild(i)}catch(i){t.logerror("loaders","script",i,n)}};t.PremiumLazyLoad=t.HasPremiumLazyLoad;t.PbjsUrl=`${t.tagurl}/scripts/pbjs-min.js?v=20230601`;t.schain={ver:"1.0",complete:1,nodes:[{asi:"premiumads.com.br",sid:t.partnerid,hp:1}]};t.schainUrl="schain=1.0,1!premiumads.com.br,"+t.partnerid+",1";t.isIframe&&(t.PrebidLazyLoad=t.PremiumLazyLoad=!1);i.TIMEOUT=t.PrebidTimeout||2500;i.MASTER_TIMEOUT=i.TIMEOUT+1e3;t.initAdserver=function(){r.cmd.push(function(){let n=r.pubads().getSlots().filter(function(n){return n.ppads&&!n.loaded&&!n.stop});if(n&&n.length){for(let t=0;t<n.length;t++){let i=n[t];i.loaded=!0;r.display(i.getSlotElementId());i.refresh&&r.pubads().refresh([i])}r.pubads().isInitialLoadDisabled()&&(n=n.filter(function(n){return!n.refresh}),n&&n.length&&r.pubads().refresh(n))}})};t.loadAndDisplayFormats=function(){t.isValidUrl(!0)&&(t.started||(t.started=!0,t.time=(new Date).getTime(),t.isIframe?t.display():(t.loadAllFormats(),t.afterLoadAllFormats()),t.started=!1))};t.hasValidDataSizes=function(n,i){return t.device==="mobile"&&n&&n.length>0?!0:t.device==="desktop"&&i&&i.length>0?!0:!1};t.datasizeConfig=function(n){return n[0]==0?"fluid":n};t.sizesHas2x2=function(n){return n.find(n=>n[0]===2&&n[1]===2)};t.sizesIsOnly1x1=function(n){return!Array.isArray(n)||n.length>1?!1:n.find(n=>n[0]===1&&n[1]===1)};t.getMinMaxSize=function(n){if(n&&n.length)try{const t=(t,i)=>n.reduce((n,r)=>t==="max"?n[i]>r[i]?n:r:n[i]<r[i]?n:r),i=t("max",0)[0],r=t("min",0)[0],u=t("max",1)[1],f=t("min",1)[1];return{max:[i,u],min:[r,f]}}catch(i){t.logerror("core","getMinMaxSize",i);return}};t.setSize=function(n,i){if(!t.isIframe&&i){const r=t.getMinMaxSize(n);if(r&&r.max&&r.min){const u=i.getAttribute("data-type");(u==="intext"||u==="infeed")&&(i.style.padding="24px 0 20px 0",i.style.margin="30px 0");u!=="flex"&&u!=="slider"&&(i.style.minWidth=r.max[0]+"px",i.style.minHeight=r.max[1]+"px",t.ExpandAds!==!1&&i.clientWidth>2&&i.clientHeight>2&&n.push([i.clientWidth,i.clientHeight]))}}};t.formatFloor=function(n){return n&&n.replace&&n.indexOf&&n.indexOf(",")>-1?n.replace(",","."):n};t.getFloor=function(n,i){let r=t.DefaultFloorPrice;if(!n)return r;const f=n=>!n||isNaN(n)?r:parseFloat(n),u=n=>t.DefaultFloorPrice>n?t.DefaultFloorPrice:n;return t.device==="desktop"?n.anchor&&t.AnchorPriceDesktop?r=u(parseFloat(t.AnchorPriceDesktop)):n.outstream&&(t.OutstreamFloorPriceDesktop||t.OutstreamSliderFloorPriceDesktop)?r=u(Math.max(f(t.OutstreamFloorPriceDesktop),f(t.OutstreamSliderFloorPriceDesktop))):n.pospopup&&t.PosPopupFloorPriceDesktop!==""?r=u(parseFloat(t.PosPopupFloorPriceDesktop)):n.flex&&t.FlexPriceDesktop&&(r=u(parseFloat(t.FlexPriceDesktop))):n.anchor&&t.AnchorPriceMobile?r=u(parseFloat(t.AnchorPriceMobile)):n.outstream&&(t.OutstreamFloorPriceMobile||t.OutstreamSliderFloorPriceMobile)?r=u(Math.max(f(t.OutstreamFloorPriceMobile),f(t.OutstreamSliderFloorPriceMobile))):n.pospopup&&t.PosPopupFloorPriceMobile!==""&&(r=u(parseFloat(t.PosPopupFloorPriceMobile))),i&&i==="USD"?r/t.USD:r};t.setGoogleTagTarget=function(n){t.googleTagTargets&&t.googleTagTargets[n.adunit.dfpCode]&&t.googleTagTargets[n.adunit.dfpCode].length&&t.googleTagTargets[n.adunit.dfpCode].forEach(t=>{n.setTargeting(t.key,t.values||t.value)})};t.setTargeting=function(n,i){if(t.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.refresh&&n.setTargeting("pp_refresh","true");n.count>=0&&n.setTargeting("pp_loop",n.count<10?"0"+n.count:n.count.toString());var u=t.getFloor(n,"BRL");if(!t.debug&&!i&&u>.01&&n.setTargeting("pp_pb",u.toFixed(2).toString()),t.PolicyEnforcedJson&&t.PolicyEnforcedJson.length){if(!t.searchForWords(t.PolicyEnforcedJson,t.currentUrl))return;r.pubads().setTargeting("pp_policy","enforced")}};t.setinitconfigs=()=>{const n=`html`,i=`pp-${t.device}`;document.querySelector(`#${t.corev4style.id}`)||document.body.insertAdjacentHTML("afterbegin",t.corev4style.content);document.querySelector(n).classList.contains(i)||document.querySelector(n).classList.add(i)};t.setCustomScripts=()=>{try{t.customScripts&&t.customScripts(i,r)}catch(n){t.logerror("core","init",n)}};t.onEachABTestInstance=(i,r)=>{if(!n.ppAdsTestInstance||!n.ppAdsTestInstance.length){t.onEachABTestInstanceNotice||(t.onEachABTestInstanceNotice=!0);return}n.ppAdsTestInstance.forEach(n=>{n.config&&n.config.type&&n.config.type==i&&!n.expiry()&&r(n)})};t.adsInterstitial=function(){t.HasPosPopup&&t.isValidUrl()&&(t.device!=="mobile"||t.PosPopupFloorPriceMobile!="")&&(t.device!=="desktop"||t.PosPopupFloorPriceDesktop!="")&&r.cmd.push(function(){let n=r.defineOutOfPageSlot(`/${t.DfpId}/${t.DfpPrefix}_VIGNETTE`,r.enums.OutOfPageFormat.INTERSTITIAL);n&&(n.addService(r.pubads()),n.adunit={dataType:"vignette"},n.pospopup=!0,t.setTargeting(n))})};t.loadAll=()=>{};t.afterLoadAllFormats=()=>{t.googletagRefresh(),t.adstaboola(),setTimeout(()=>{t.navegg&&t.navegg(n,document),t.LiveRamp&&t.LiveRamp(),t.Teads&&t.Teads(n),t.Seedtag&&t.Seedtag()},5e3),t.afterLoadAllFormatsCallDisplay()};t.formats={outstreamInText:null};t.loadAllFormats=()=>{t.setCustomScripts(),n.frameElement&&(t.HasFlex=t.HasAnchor=t.HasPosPopup=t.HasReward=!1),t.PremiumGlobal&&(t.Global=new t.PremiumGlobal),t.HasInText&&t.PremiumIntext&&(t.InText=new t.PremiumIntext),t.HasInImage&&t.PremiumInImage&&(t.InImage=new t.PremiumInImage),t.HasAnchor&&t.PremiumAnchor&&new t.PremiumAnchor(t.AnchorJson,t.AnchorStyle),t.formats.flex&&t.formats.flex.unload(),t.HasFlex&&t.PremiumFlex&&(t.formats.flex=new t.PremiumFlex),t.HasInFeed&&t.PremiumInfeed&&(t.InFeed=new t.PremiumInfeed),t.PremiumCustomAd&&new t.PremiumCustomAd(t.CustomAdJson,t.CustomAdStyle),t.PremiumReward_v1&&(t.Reward=new t.PremiumReward_v1),t.adsInterstitial&&t.adsInterstitial(),t.formats.outstreamInText&&t.formats.outstreamInText.destroy(),t.HasOutstream&&t.OutstreamJson&&t.OutstreamJson.Items&&t.OutstreamJson.Items.length&&t.PremiumOutstream&&(t.formats.outstreamInText=new t.PremiumOutstream,t.PassbackTeads=function(){t.formats.outstreamInText.loadPlayer()}),t.HasInStream&&t.PremiumInstream&&new t.PremiumInstream,t.loadOutStreamSlider&&t.loadOutStreamSlider(),t.HasRadioAd&&t.RadioAd&&new t.RadioAd};t.afterLoadAllFormatsCallDisplay=()=>{t.display()};t.log=function(){t.debug};t.logv2=function(){!t.debug};t.warn=function(){!(t.debug||t.isLocal)};t.logerror=function(n,t){console.error(`%cPREMIUM ERROR ${n.toUpperCase()} ${t.toUpperCase()}%c`,"background:red;color:#fff;border-radius:3px;padding:2px 5px;","color:#fff;font-weight:bold;text-transform:uppercase;",arguments)};t.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>'};t.navegg=function(i){var r="Navegg";i[r]?(n.naveggReady=n.naveggReady||[],n.nvg46575=new Navegg({acc:46575})):t.loadScript("https://tag.navdmp.com/universal.min.js",function(){i[r]=i[r]||function(n){i[r].q=i[r].q||[];i[r].q.push([this,n])};n.naveggReady=n.naveggReady||[];n.nvg46575=new Navegg({acc:46575})})};t.loadOutStreamSlider=()=>{t.HasOutstreamSlider&&(!t.OutstreamSlider&&t.PremiumOutstreamSlider&&(t.OutstreamSlider=new t.PremiumOutstreamSlider),t.OutstreamSlider)&&(t.OutstreamSlider.setup(),t.OutstreamSlider.ready)&&setTimeout(()=>{t.OutstreamSliderAlways||!t.HasAnchor?t.OutstreamSlider.loadScript():t.OutstreamSliderAlways?t.HasAnchor||t.OutstreamSlider.loadScript():t.OutstreamSlider.loadScript()},7e3)};t.requestAds=function(n,r=false,u=false){n=n.filter(n=>n.adunit&&n.adunit.bids.length);n.forEach(n=>{n.clearTargeting(),n.loaded=!1,r&&(n.refresh=!0,n.count++),t.setTargeting(n,u)});n.length&&(t.switches.prebid||t.switches.apstag)?(t.apstagRequestHeaderBids(n),t.prebidRequestHeaderBids(n),setTimeout(function(){t.initAdserver()},i.MASTER_TIMEOUT)):t.initAdserver()};t.reloadAds=function(n){!n||!n instanceof Array||n.forEach(function(n){let i=r.pubads().getSlots().filter(n=>n.adunit).find(t=>t.adunit.dfpCode===n);i&&t.requestAds([i],!0)})};t.saveConfig=function(n){t.debug||(n==="pospopup"?t.Config.PosPopup={Viewed:!0,Expires:(new Date).getTime()+t.PosPopupCap*6e4}:n==="anchor"&&t.AnchorCap&&(t.Config.Anchor={Viewed:!0,Expires:(new Date).getTime()+t.AnchorCap*6e4}),localStorage.setItem("_ppads",JSON.stringify(t.Config)))};t.Seedtag=function(){t.SeedtagHasInImage&&t.SeedtagId&&t.loadScript("https://t.seedtag.com/t/"+t.SeedtagId+".js")};t.adstaboola=function(){if(t.HasTaboola){let i=!1;n._taboola=n._taboola||[];n._taboola.push({tracking:"utm_source=taboola&utm_medium=organicclicks"});t.categoria==="home"?_taboola.push({home:"auto"}):_taboola.push({article:"auto"});t.TaboolaElements.forEach(function(n){document.getElementById(n.Container)&&(i=!0,_taboola.push({mode:n.Mode,container:n.Container,placement:n.Placement,target_type:n.TargetType}))});_taboola.push({flush:!0});i&&(t.loadScript("https://cdn.taboola.com/libtrc/"+t.TaboolaName+"/loader.js",null,"tb_loader_script"),n.performance&&typeof n.performance.mark=="function"&&n.performance.mark("tbl_ic"))}};t.Teads=function(n){(t.TeadsClassic||t.TeadsPlacementId)&&(n.teads_analytics=n.teads_analytics||{},n.teads_analytics.analytics_tag_id="PUB_13576",n.teads_analytics.share=n.teads_analytics.share||function(){(n.teads_analytics.shared_data=n.teads_analytics.shared_data||[]).push(arguments)},t.loadScript("https://a.teads.tv/analytics/tag.js"))};t.checkUrlBlockAll=function(){if(t.Uri)return t.Uri.checkUrlBlockAll()};t.isValidUrl=function(n=false){if(t.Uri)return t.Uri.isValidUrl(n)};t.isOnViewport=function(i,r=0){var u;if(!i)return!1;if(i.getAttribute("lazyload")&&i.getAttribute("lazyload")=="false")return!0;u=t.PremiumLazyLoadViewport;t.device=="mobile"&&t.PremiumLazyLoadMobileScale>0&&(u=u*t.PremiumLazyLoadMobileScale);var f=n.innerHeight||document.documentElement.clientHeight,o=(u+1)*f,e=i.getBoundingClientRect(),s=f*r;return e.top<=o&&e.bottom>s};t.isOnViewportOnly=function(i){if(!i)return!1;const u=t.device=="mobile"&&t.PremiumLazyLoadMobileScale>0?t.PremiumLazyLoadMobileScale:t.PremiumLazyLoadViewport,r=i.getBoundingClientRect();return r.top>=u&&r.bottom<=(n.innerHeight||document.documentElement.clientHeight)};t.PremiumFlex=(class{constructor(){t.HasFlex&&t.FlexJson&&t.FlexJson.Items&&t.FlexJson.Items.length&&t.isValidUrl()&&(this.unload(),this.load(),n.addEventListener(t.DisplaySlotRenderEndedEventKey,n=>{n.detail&&n.detail.type==="flex"&&n.detail.element&&this.open(n.detail.element)},!1))}load(){t.FlexPriceDesktop=t.formatFloor(t.FlexJson.FloorPrice.Desktop);t.FlexJson.Items.forEach(n=>{if(t.hasValidDataSizes(null,n.DesktopSizes)){const i=this.htmltag(n);this.close(i)}})}unload(){try{const n=document.querySelectorAll('[data-premium][data-type="flex"]');if(!n||!n.length)return;for(let i=0;i<n.length;i++)t.googletagDestroySlot(n[i]),n[i].parentElement.remove()}catch(n){t.logerror("adsflex","removeBeforeCreateFlex",n)}}htmltag(n){const r=`${t.DfpPrefix}_FLEX`,u=n.FlexPosition==0,i=document.createElement("div");return i.id=`pads-flex-${Date.now()}${Math.floor(Math.random()*100)}`,i.classList.add("pp_boxnewflex","pp-slider","pads-invisible"),i.innerHTML=`<div class='pp-close-btn'><span></span></div><div class='pp_newflex' data-sizes-desktop='${JSON.stringify(n.DesktopSizes)}' data-premium data-type='flex' lazyload='false' data-adunit='${r}' data-position="${u?"right":"left"}"></div>`,document.body.prepend(i),i}open(n){t.element.visible(n.parentNode);const i=new t.StreamPlayerSliderAnimation;i.add(n.parentNode,n.getAttribute("data-position"),undefined,undefined)}close(n){n.querySelector(".pp-close-btn").addEventListener("click",()=>{t.element.invisible(n),n.remove(),t.googletagDestroySlot(n)})}});t.adsrefresh=function(){t.RefreshAdUnits.forEach(function(n){if(n){let t=n.split(",");if(!(t.length<2)){let i=parseInt(t[1])*1e3;if(i>0){let n=document.querySelector("div[data-adunit='"+t[0]+"']");n&&(n.setAttribute("refreshtime",i),n.classList.add("pp_refresh"))}}}})};t.refresh=function(n,i,r){if(n&&r){let u=document.getElementById(n.getSlotElementId());u&&setTimeout(()=>{t.requestAds([n],!0,r)},i)}};t.pageScrollLastPosition=0;t.isScrollDown=function(){var i=!1;return n.pageYOffset>t.pageScrollLastPosition&&(i=!0),t.pageScrollLastPosition=n.pageYOffset,i};t.isScrollUp=function(){var i=!1;return n.pageYOffset<t.pageScrollLastPosition&&(i=!0),t.pageScrollLastPosition=n.pageYOffset,i};t.DisplaySlot=n=>{const u=[];for(var i=0;i<n.length;i++){let f=n[i];t.slots.hasOwnProperty(f.code)&&r.destroySlots([t.slots[f.code]]);let e=r.defineSlot(f.path,t.sizesHas2x2(f.dfpSizes)?f.dfpSizes.concat("fluid"):f.dfpSizes,f.code).addService(r.pubads());e&&(e.sizes=f.dfpSizes,e.flex=f.flex,e.anchor=f.anchor,e.outstream=f.outstream,e.intext=f.intext,e.count=0,e.adunit=f,e.ppads=!0,t.setTargeting(e),u.push(e),t.slots[f.code]=e)}t.onEachABTestInstance(2,n=>n.module.set(!0));return u};t.DisplaySetID=()=>{const i=document.querySelectorAll("div[data-premium],div[data-premium-adunit]"),n={};for(let r=0;r<i.length;r++){let u=i[r],f=(u.getAttribute("data-adunit")||u.getAttribute("data-premium-adunit")||"PADRAO").replace(/\//g,"_");if((t.livepreview&&(f="PREMIUM_LIVE_PREVIEW"),n.hasOwnProperty(f)?n[f]+=1:n[f]=0,!u.id)&&(u.setAttribute("id","P_"+f+"_"+n[f]),u.getAttribute("data-sizes-"+t.device)==="[[1,1]]"||u.getAttribute("data-sizes-"+t.device)==="[1,1]"||u.getAttribute("data-smart")||u.getAttribute("data-pospopup")||u.getAttribute("data-type")==="flex"||t.isIframe)){u.setAttribute("lazyload","false");continue}}return n};t.DisplayLazyLoad=()=>{const i=[],n=document.querySelectorAll("div[data-premium]:not([data-fetch]),div[data-premium-adunit]:not([data-fetch])");if(!t.PremiumLazyLoad)return n;if(n&&n.length!==0){for(let r=0;r<n.length;r++){let u=n[r];t.isOnViewport(u)&&i.push(u)}return i}};t.AdUnitConfigFloors=n=>{const i={};return i[n.mediaType]=t.getFloor(n.formats,"USD"),{floors:{schema:{fields:["mediaType"]},values:i}}};t.DisplayAdUnitBidsIFrame=n=>{const i=n.dataSizes,r=n.bids.concat(t.getBidders("size_sizeless"));return{sizes:i,bids:r}};t.DisplayAdUnitBidsFlex=n=>{const i=t.DisplayAdUnitBidsFlexGetSizes(),r=n.bids.concat(t.getBidders("size_sizeless"));return{sizes:i,bids:r}};t.DisplayAdUnitBidsFlexGetSizes=()=>{if(!t.FlexJson||!t.FlexJson.Items||!t.FlexJson.Items.length||t.device=="mobile"||t.deviceWidth<1366)return[];let n=[];return t.FlexJson.Items.forEach(function(i){let r=0;return i.DesktopSizes.forEach(function(i){i[0]>120&&t.deviceWidth<1700||(n[r]=i,r++)}),!1}),n};t.DisplayAdUnitBidsOutstream=n=>{const i=n.bids.concat(t.getBidders("size_outstream"));return n.dataSizes.forEach(function(i){t.getViewPort().width>=i[0]&&n.sizes.push(i)}),{sizes,bids:i}};t.DisplayAdUnitBidsDefault=i=>{let u=[],r=[];for(let f=0;f<i.dataSizes.length;f++){let e=i.dataSizes[f],o="size_",h=0,s=0;if(e instanceof Array){if(typeof e[0]=="string")continue;o=o+e[0]+"x"+e[1];s=e[0];h=e[1]}else{if(typeof e=="string")continue;o=o+i.dataSizes[0]+"x"+i.dataSizes[1];s=i.dataSizes[0];h=i.dataSizes[1]}if((n.innerWidth||document.documentElement.clientWidth)>=s)u.push([s,h]);else continue;if(!r.length){const n=t.getBidders(o);n&&n.length&&(r=r.concat(n))}if(!isNaN(e))break}return t.sizesIsOnly1x1(u)||(r=r.concat(t.getBidders("size_sizeless"))),i.dataType==="intext"&&(r=r.concat(t.getBidders("size_intext"))),{sizes:u,bids:r}};t.DisplayAdUnit=n=>{const i=[],r=n=>{const i=[];t.onEachABTestInstance(2,t=>{t.module.exists(n.id)||(document.querySelector(`#${n.id}`).closest("[data-premium]").remove(),i.push(n.id))});return i.length};if(n.elements&&n.elements.length){for(let u=0;u<n.elements.length;u++){let f=n.elements[u];if(!r(f)){let c=f.getAttribute("data-type");if((n.lazy||!t.PrebidLazyLoad||c!=="flex"&&c!=="anchor")&&!f.getAttribute("data-fetch")){f.setAttribute("data-fetch","true");let h=f.getAttribute("data-adunit")||f.getAttribute("data-premium-adunit")||"PADRAO";if(t.livepreview&&(h="PREMIUM_LIVE_PREVIEW"),!t.isIframe){const n=f.getAttribute("data-device")||f.getAttribute("data-premium-device")||"all";if(n!=="all"&&n!==t.device){f.style.display="none";continue}}f.setAttribute("i",u);const a=f.getAttribute("data-type")==="outstream"||!1,p=f.getAttribute("data-type")==="intext"||!1,l=f.getAttribute("data-type")==="flex"||!1,w=f.getAttribute("data-anchor")?!0:!1,b=f.getAttribute("data-sticky")?!0:!1;let o=[],s=[],e=[];try{const n=f.getAttribute("data-sizes"),i=f.getAttribute("data-sizes-"+t.device);if(!n&&!i)continue;o=n?JSON.parse(n):i?JSON.parse(i):[]}catch(k){t.logerror("display","data-sizes invalido",k)}if((!o||!o.length)&&f.getAttribute("width")){const n=f.getAttribute("width"),t=f.getAttribute("height");o.push([parseInt(n),parseInt(t)])}if(o&&o.length&&(l||f.offsetParent!==null)){let v;if(v=t.isIframe?t.DisplayAdUnitBidsIFrame({dataSizes:o,bids:e}):l?t.DisplayAdUnitBidsFlex({bids:e}):a?t.DisplayAdUnitBidsOutstream({dataSizes:o,bids:e}):t.DisplayAdUnitBidsDefault({dataSizes:o,bids:e,dataType:c}),s=v.sizes,e=v.bids,s&&s.length){t.setSize(s,f);const y=(h.indexOf("/")>-1?"":"/"+t.DfpId+"/")+h;if(e.length>0)for(let n=0;n<e.length;n++)e[n]&&e[n].bidder==="adagio"&&(e[n].params.adUnitElementId=f.id,e[n].params.environment=t.device,e[n].params.placement=h,e[n].params.pagetype=t.categoria==="home"?"home":"article",t.categoria&&(e[n].params.category=t.categoria),t.subcategoria&&(e[n].params.subcategory=t.subcategoria));const d={dfpCode:h,dataType:c,dfpSizes:s,path:y,code:f.id,bids:e,anchor:w,flex:l,intext:p,outstream:a,sticky:b,rand:t.rand,mediaTypes:{banner:{sizes:s}},ortb2Imp:{ext:{gpid:`${y}#${f.id}`,data:{pbadslot:`${y}#${f.id}`}}},...t.AdUnitConfigFloors({mediaType:"banner",formats:{anchor:w,flex:l,intext:p,outstream:a,sticky:b}})};i.push(d)}}}}}return i}};t.DisplayTarget=()=>{if(r.pubads().setTargeting("url",t.dominio),t.isIframe&&r.pubads().set("page_url",t.dominio),t.categoria){const n=r.pubads().getTargeting("categoria");if(r.pubads().setTargeting("categoria",[...n,t.categoria]),t.subcategoria){const n=r.pubads().getTargeting("subcategoria");r.pubads().setTargeting("subcategoria",[...n,t.subcategoria])}t.link&&r.pubads().setTargeting("link",t.link)}t.UtmSource&&r.pubads().setTargeting("utm_source",t.UtmSource);t.UtmMedium&&r.pubads().setTargeting("utm_medium",t.UtmMedium);t.UtmCampaign&&r.pubads().setTargeting("utm_campaign",t.UtmCampaign);t.topicos&&r.pubads().setTargeting("topicos",t.topicos);t.setNaveggTargeting()};t.DisplayPubAdsConfig=()=>{r.pubads().setSafeFrameConfig({sandbox:!0,allowOverlayExpansion:!0,allowPushExpansion:!0}),r.pubads().enableLazyLoad({fetchMarginPercent:-1,renderMarginPercent:t.PremiumLazyLoadViewport*100,mobileScaling:t.PremiumLazyLoadMobileScale}),r.pubads().setCentering(!0),r.pubads().enableSingleRequest(),r.enableServices()};t.DisplayImpressionViewable=()=>{t.googletagEventListeners.que.impressionViewable.push(n=>{const t=document.getElementById(n.slot.getSlotElementId());t.getAttribute("data-sticky")||t.hasAttribute("refreshtime")})};t.DisplaySlotOnload=()=>{t.googletagEventListeners.que.slotOnload.push(()=>{t.performanceFirstSlotOnLoadEnded||(t.performanceFirstSlotOnLoadEnded=!0)})};t.DisplaySlotRenderEndedEventKey="pp-slot-render-ended";t.DisplaySlotRenderEnded=()=>{t.googletagEventListeners.que.slotRenderEnded.push(r=>{const u=document.getElementById(r.slot.getSlotElementId());let f=1,e=1;if(r.isEmpty){if(r.slot.refresh)return;if(u.dataset.type==="flex"||u.dataset.type==="anchor"||u.dataset.type==="slider")t.refresh(r.slot,5e3,!0);else if(u.clientHeight>2){let n=document.createElement("iframe");n.width=u.clientWidth;n.height=u.clientHeight;n.marginWidth=0;n.marginHeight=0;n.frameBorder=0;n.scrolling="no";let f=document.createElement("div");f.appendChild(n);u.innerHTML="";u.appendChild(f);let r=n.contentWindow.document;if(i&&i.getBidResponsesForAdUnitCode){let f=i.getBidResponsesForAdUnitCode(u.id);if(f.bids&&f.bids.length){let t=f.bids[0];if(t.mediaType!="banner")return;t.width>2&&t.height>2&&(n.width=t.width,n.height=t.height);i.renderAd(r,t.adId)}else if(!t.DisablePassback&&u.clientHeight>=240){let n=`<div style="text-align: center">`;n+='<iframe sandbox="allow-popups allow-scripts allow-modals allow-forms allow-same-origin" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=BR&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=premiumads06-20&language=pt_BR&marketplace=amazon&region=BR&placement=B09LVLN4L4&asins=B09LVLN4L4&linkId=00cd7b518a46ebf1eacdf278d3fa694b&show_border=true&link_opens_in_new_window=true"><\/iframe>';n+='<iframe sandbox="allow-popups allow-scripts allow-modals allow-forms allow-same-origin" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=BR&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=premiumads06-20&language=pt_BR&marketplace=amazon&region=BR&placement=B09QV7PZM6&asins=B09QV7PZM6&linkId=385be226b6f5d8863effc7a193d4bba5&show_border=true&link_opens_in_new_window=true"><\/iframe>';u.clientWidth>=360&&(n+=`<iframe sandbox="allow-popups allow-scripts allow-modals allow-forms allow-same-origin" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=BR&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=premiumads06-20&language=pt_BR&marketplace=amazon&region=BR&placement=B08KGWJDRZ&asins=B08KGWJDRZ&linkId=4f10e8903e0dd7025e7ce51e5319f04b&show_border=true&link_opens_in_new_window=true"></iframe>`);u.clientWidth>=480&&(n+=`<iframe sandbox="allow-popups allow-scripts allow-modals allow-forms allow-same-origin" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=BR&source=ss&ref=as_ss_li_til&ad_type=product_link&tracking_id=premiumads06-20&language=pt_BR&marketplace=amazon&region=BR&placement=B085M5P9LF&asins=B085M5P9LF&linkId=40e4ab263a6af2a0e20e18c1dd14c3fa&show_border=true&link_opens_in_new_window=true"></iframe>`);u.clientWidth>=600&&(n+=``);n+=`</div>`;r.write(n);r.close()}}}}else if(r.slot.size=r.size,f=parseInt(r.size[0]),e=parseInt(r.size[1]),f===1&&e===1){let n=r.slot.getTargetingMap();if(n){let i;try{n.hasOwnProperty("amznsz")?i=n.amznsz[0].split("x"):n.hasOwnProperty("hb_size")&&n.hb_size[0].indexOf("x")>0&&(i=n.hb_size[0].split("x"));i&&(f=parseInt(i[0]),e=parseInt(i[1]),r.slot.size=[f,e])}catch(o){t.logerror("display","Cant get the real size",o,r,u)}}}if(t.performanceFirstSlotRenderEnded||(t.performanceFirstSlotRenderEnded=!0),!r.isEmpty&&f>1&&e>1&&u.hasAttribute("data-type")){const i=new CustomEvent(t.DisplaySlotRenderEndedEventKey,{detail:{element:u,type:u.getAttribute("data-type")}});n.dispatchEvent(i)}})};t.display=function(n){if(!t.checkUrlBlockAll()&&(n||!t.Reward||!t.Reward.enabled())){t.DisplaySetID();const i=t.DisplayLazyLoad();if(i&&i.length!==0){const u=t.DisplayAdUnit({lazy:n,elements:i});let f=[];u.length!==0&&(r.cmd.push(function(){(f=t.DisplaySlot(u),t.pubadsReady)||(t.DisplayImpressionViewable(),t.DisplaySlotRenderEnded(),t.DisplaySlotOnload(),t.DisplayTarget(),t.DisplayPubAdsConfig(),t.pubadsReady=!0)}),r.cmd.push(function(){!n&&t.PrebidLazyLoad&&t.PremiumLazyLoad?t.initAdserver():t.requestAds(f)}))}}};t.setNaveggTargeting=function(){try{let t,i,u=JSON.parse(n.localStorage.getItem("nvgpersona46575")),f="";for(i in u)t="nvg_"+i,t=t.substring(0,10),r.pubads().setTargeting(t,u[i]),f+=`${t}=${u[i]}&`}catch(i){t.logerror("core","setNaveggTargeting",i)}};t.apstagInit=function(){t.switches.apstag&&!t.apstagready&&(t.apstagready=!0,apstag.init({pubID:"331fbd2e-ff5e-4e7c-9de6-7c2166bce7b7",adServer:"googletag",videoAdServer:"DFP",schain:t.schain}))};t.BiddersBack=function(){t.switches.apstag&&t.switches.prebid?t.executeParallelAuctionAlongsidePrebid.requestManager.aps&&t.executeParallelAuctionAlongsidePrebid.requestManager.prebid&&t.initAdserver():t.switches.prebid&&t.executeParallelAuctionAlongsidePrebid.requestManager.prebid?t.initAdserver():t.switches.apstag&&t.executeParallelAuctionAlongsidePrebid.requestManager.aps&&t.initAdserver()};t.apstagRequestHeaderBids=function(n){if(t.switches.apstag&&n){t.executeParallelAuctionAlongsidePrebid.requestManager.aps=!1;const i=n.map(n=>{if(!t.sizesIsOnly1x1(n.sizes)){const i={slotID:n.adunit.code,slotName:n.adunit.path,floor:{currency:"USD",value:Math.round(t.DefaultFloorPrice/t.USD*100)}};return n.adunit.path.indexOf("DCI_INTEXT_01")>0?(i.mediaType="multi-format",i.multiFormatProperties={display:{sizes:n.adunit.dfpSizes},video:{sizes:[[400,225]]}}):i.sizes=n.adunit.dfpSizes,i}}).filter(n=>n);i&&i.length&&apstag.fetchBids({slots:i},function(){r.cmd.push(function(){apstag.setDisplayBids();t.executeParallelAuctionAlongsidePrebid.requestManager.aps=!0;t.BiddersBack()})})}};t.prebidRequestHeaderBids=function(n){if(t.switches.prebid&&n){t.executeParallelAuctionAlongsidePrebid.requestManager.prebid=!1;const r=n.map(n=>n.adunit);i.que.push(function(){i.requestBids({timeout:i.TIMEOUT,adUnits:r,bidsBackHandler:function(){i.setTargetingForGPTAsync();t.executeParallelAuctionAlongsidePrebid.requestManager.prebid=!0;t.BiddersBack(n)}})})}};t.getSlot=function(n){let t=null;return r.pubads().getSlots().forEach(function(i){i.getSlotElementId().toString()===n&&(i.clearTargeting(),t=i)}),t};t.LazyDisplay=function(){t.fetch||(t.fetch=!0,t.switches.prebid&&!i.getConfig&&t.loadScript(t.PbjsUrl),t.display(!0),t.fetch=!1)};t.getViewPort=function(){let t=n.innerHeight||document.documentElement.clientHeight,i=n.innerWidth||document.documentElement.clientWidth;return{width:i,height:t}};t.getOffset=function(t){var i=t.getBoundingClientRect();return{top:i.top+n.scrollY,left:i.left+n.scrollX}};t.googletagRefresh=function(){if(t.HasRefresh){const n=(t.RefreshTime||30)*1e3,i=60,r=function(n,r,u){if(n&&!n.refreshPending&&n.ppads&&n.adunit&&!t.sizesIsOnly1x1(n.sizes)){let f=function(n){n&&((n.refreshPending=!1,n.inViewPercentage<i)||(n.viewedAt=null,t.requestAds([n],!0)))};r=="impressionViewable"?(n.refreshPending=!0,setTimeout(()=>{f(n)},u)):n.viewedAt&&n.viewedAt+u<Date.now()&&f(n)}};t.googletagEventListeners.que.impressionViewable.push(t=>{t.slot.viewedAt=Date.now(),r(t.slot,"impressionViewable",n)});t.googletagEventListeners.que.slotVisibilityChanged.push(t=>{(t.slot.inViewPercentage=t.inViewPercentage,t.inViewPercentage<i)||r(t.slot,"slotVisibilityChanged",n)})}};t.googletagDestroySlot=function(n){n.hasAttribute("data-premium")||(n=n.querySelector("[data-premium]"));n&&r.cmd.push(function(){r.destroySlots(r.pubads().getSlots().filter(t=>t.getSlotElementId()===n.id))})};t.GoogleTagEvents=(class{constructor(){this.ready=!1;this.que={impressionViewable:[],slotRenderEnded:[],slotOnload:[],slotVisibilityChanged:[]}}mount(){this.ready||(r.cmd.push(()=>{this.onImpressionViewable(),this.onSlotRenderEnded(),this.onSlotOnload(),this.onSlotVisibilityChanged()}),this.ready=!0)}hasDataPremium(n,i,r){if(!n||!n.slot)return!1;const u=document.getElementById(n.slot.getSlotElementId());if(!u)return!1;const f=u&&u.hasAttribute("data-premium");if(f&&t.debug){u.style.cssText=`position:relative; box-sizing: border-box; border: solid 3px ${r}`;const f=`evt-slot-${n.slot.getSlotElementId()}`;let t=document.getElementByClassName(u,f);t||(t=document.createElement("span"),t.classList.add(f),t.style.cssText=`position: absolute; right: 0; top: 0; background-color: ${r}; color: #ffffff; text-align: right; word-break: break-word; padding: 0 0 3px 3px; font-size: 0.75em;`,u.append(t));u.title=`${i} ${n.slot.getSlotElementId()}`;u.setAttribute("data-event",i);t.innerHTML=u.title;t.style.backgroundColor=r}return f}onImpressionViewable(){const n="impressionViewable";r.pubads().addEventListener(n,t=>{if(this.hasDataPremium(t,n,"#F2CB05"))for(let n=0;n<this.que.impressionViewable.length;++n)this.que.impressionViewable[n](t)})}onSlotRenderEnded(){const n="slotRenderEnded";r.pubads().addEventListener(n,t=>{if(this.hasDataPremium(t,n,"#F28705"))for(let n=0;n<this.que.slotRenderEnded.length;++n)this.que.slotRenderEnded[n](t)})}onSlotOnload(){const n="slotOnload";r.pubads().addEventListener(n,t=>{if(this.hasDataPremium(t,n,"#267365"))for(let n=0;n<this.que.slotOnload.length;++n)this.que.slotOnload[n](t)})}onSlotVisibilityChanged(){const n="slotVisibilityChanged";r.pubads().addEventListener(n,t=>{if(this.hasDataPremium(t,n,"#F23030"))for(let n=0;n<this.que.slotVisibilityChanged.length;++n)this.que.slotVisibilityChanged[n](t)})}});t.PremiumUri&&(t.Uri=new t.PremiumUri);t.switches.prebid&&i.que.push(function(){var r={bidderTimeout:i.TIMEOUT,debug:t.debug,rubicon:{singleRequest:!0,rendererConfig:{label:"PUBLICIDADE",collapse:!1}},improvedigital:{singleRequest:!0,usePrebidSizes:!0},userSync:{filterSettings:{iframe:{bidders:"*",filter:"include"},image:{bidders:"*",filter:"include"}},syncsPerBidder:5,syncDelay:5e3,auctionDelay:0,userIds:[{name:"criteo"},{...t.pbjsUserIds.identityLink},{name:"naveggId"},]},mediaTypePriceGranularity:{video:{buckets:[{precision:2,max:5,increment:.1}]},banner:{buckets:[{precision:2,max:45,increment:.01}]}},enableSendAllBids:!1,targetingControls:{alwaysIncludeDeals:!0,allowTargetingKeys:["BIDDER","PRICE_BUCKET","AD_ID","SIZE","DEAL","SOURCE","FORMAT","ADOMAIN"]},schain:{validation:"strict",config:t.schain},maxRequestsPerOrigin:10,maxNestedIframes:10,floors:{currency:"USD","default":t.DefaultFloorPrice/t.USD},suppressEmptyKeys:!0,cache:{url:"https://prebid.adnxs.com/pbc/v1/cache",ignoreBidderCacheKey:!0}};r.currency={adServerCurrency:t.UsingPublisherAdManager?"BRL":"USD",rates:{USD:{USD:1,BRL:t.USD,EUR:t.USD/t.EUR}}};i.setConfig(r);n.ga&&(ga("create","UA-98623244-1","auto","_ppads_ga",{sampleRate:t.debug?100:1}),ga("_ppads_ga.send","pageview"),i.enableAnalytics([{provider:"ga",options:{trackerName:"_ppads_ga"}}]));i.aliasBidder("appnexus","appnexusTest");i.bidderSettings={projectagora:{bidCpmAdjustment:function(n){return n*.75}},oftmedia:{bidCpmAdjustment:function(n){return n*.8}},standard:{storageAllowed:!0}}});try{t.Config=JSON.parse(localStorage.getItem("_ppads"));t.Config?(t.Config.Anchor&&t.Config.Anchor.Viewed?t.Config.Anchor.Expires<(new Date).getTime()&&(t.Config.Anchor.Viewed=!1):t.Config.Anchor.Viewed=!1,t.Config.PosPopup&&t.Config.PosPopup.Viewed?t.Config.PosPopup.Expires<(new Date).getTime()&&(t.Config.PosPopup.Viewed=!1):t.Config.PosPopup.Viewed=!1):t.Config={Flex:{Viewed:!1},Anchor:{Viewed:!1},PosPopup:{Viewed:!1}}}catch(u){t.Config={Flex:{Viewed:!1},Anchor:{Viewed:!1},PosPopup:{Viewed:!1}};t.logerror("loaders","config",u)}t.switches.prebid&&!t.PrebidLazyLoad&&t.loadScript(t.PbjsUrl);t.loadScript("https://securepubads.g.doubleclick.net/tag/js/gpt.js");t.googletagEventListeners=new t.GoogleTagEvents;t.googletagEventListeners.mount();t.apstagInit();t.setinitconfigs();t.loadAndDisplayFormats();t.PremiumAnalytics&&new t.PremiumAnalytics;t.scroll.que.push(()=>t.LazyDisplay());try{const r=(n,t)=>(n=[...n].sort(),t=[...t].sort(),t.find((t,i)=>t!==n[i])),i=()=>location.protocol+"//"+location.host+location.pathname;let n=i();new MutationObserver(()=>document.debounce(()=>{const u=i();if(u!==n){const f=r(n,u),e=t.Global&&t.InText;if((t.InFeed||e)&&f&&f.length===1){e&&(t.Global.load(),t.InText.reload(),t.InImage&&t.InImage.reload());t.afterLoadAllFormatsCallDisplay();return}n=u;t.loadAndDisplayFormats()}},1e3)).observe(document,{subtree:!0,childList:!0})}catch(u){t.logerror("loaders","MutationObserver",u)}return n.addEventListener("scroll",document.throttle(()=>{const n=()=>{for(let n=0;n<t.scroll.que.length;++n)t.scroll.que[n]()};n();document.debounce(()=>n(),500)},500)),{_ppads:t,_pbjs:i,googletag:r}})(window,_ppads||{},window._pbjs||{},window.googletag||{})