Continua após publicidade

Tudo sobre Mauro Quintanilha

Vista 3d_Projeto

Arquitetura para promover bem-estar social: conheça o Fazendinhando!

Por Redação
Atualizado em 17 fev 2020, 16h27 - Publicado em 20 dez 2019, 16h02
Continua após publicidade
/*@preserve Abril Ads v10.2.19 (abradX) | Date: 23/05/2024 14:25 | Author: Tiago Valdo */ const __abrAdVersion="Abril Ads v10.2.19 (abradX) build 2024-05-23 14:25",__abrAdSettings="2024-05-23 14:25";function ls(src,a,d,c,l){var s,r,t;r=!1,(s=document.createElement("script")).type="text/javascript",!0===a&&(s.async=1),!0===d&&(s.defer=1),!0===c&&s.setAttribute("crossorigin","anonymous"),s.src=src,"function"==typeof l&&(s.onload=l),(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(s,t)}window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.pbjs=window.pbjs||{},window.pbjs.que=window.pbjs.que||[],window.abrAdQ=window.abrAdQ||[],window.pjaShare=.8,ls("https://securepubads.g.doubleclick.net/tag/js/gpt.js",!0),window.adMaps={sticky:[{min:300,sizes:[[300,100],[300,75],[300,50]]},{min:320,sizes:[[320,100],[320,75],[320,50],[300,100],[300,75],[300,50]]},{min:768,sizes:[[728,90]]},{min:1024,sizes:[[970,90],[728,90]]}],billboard:[{min:300,sizes:[[300,100],[300,50]]},{min:320,sizes:[[320,100],[320,50],[300,50],[300,100]]},{min:991,sizes:[[970,250]]}],intext:[{min:300,sizes:["fluid",[300,400],[300,250],[250,250],[300,50],[300,100]]},{min:320,sizes:["fluid",[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:360,sizes:["fluid",[336,280],[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:768,sizes:[[750,300],[728,90],[480,320],[400,300],[336,280],[300,400],[300,250],[250,250]]},{min:980,sizes:[[970,250],[970,90],[750,300],[728,90],[480,320],[400,300],[336,280],[300,400],[300,250],[250,250]]}],intext_horizontal:[{min:300,sizes:["fluid",[300,100]]},{min:320,sizes:["fluid",[320,100],[300,100]]},{min:360,sizes:["fluid",[336,100],[320,100],[300,100]]},{min:768,sizes:[[728,90]]}],intext_video:[{min:300,sizes:["fluid",[3,3],[300,400],[300,250],[250,250],[300,50],[300,100]]},{min:320,sizes:["fluid",[3,3],[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:360,sizes:["fluid",[3,3],[336,280],[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:640,sizes:["fluid",[3,3],[640,480],[640,360],[580,400],[480,320],[400,300],[336,280],[320,480],[300,400],[300,250],[250,250]]},{min:992,sizes:["fluid",[3,3],[336,280],[320,480],[300,400],[300,250],[250,250]]},{min:1024,sizes:[[3,3],[480,320],[400,300],[336,280],[320,480],[300,400],[300,250]]},{min:1320,sizes:[[3,3],[640,480],[640,360],[580,400],[480,320],[400,300],[336,280],[320,480],[300,400],[300,250],[250,250]]}],leaderboard:[{min:300,sizes:["fluid",[300,400],[300,250],[250,250],[300,50],[300,100]]},{min:320,sizes:["fluid",[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:360,sizes:["fluid",[336,280],[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:768,sizes:[[580,400],[640,360],[640,480],[750,300],[728,90],[480,320],[400,300],[320,480],[336,280],[300,400],[300,250],[250,250]]},{min:980,sizes:[[970,250],[970,90],[640,360],[750,300],[728,90],[480,320],[400,300],[336,280],[300,250]]}],outstream:[{min:300,sizes:[[4,1],[4,4]]}],paywall:[{min:300,sizes:["fluid",[300,50],[300,100]]},{min:320,sizes:["fluid",[320,50],[320,100],[300,50],[300,100]]},{min:768,sizes:["fluid",[728,90]]},{min:980,sizes:[[970,90],[728,90],[320,100],[320,50]]}],rectangle:[{min:300,sizes:["fluid",[300,400],[300,250],[250,250],[300,50],[300,100]]},{min:320,sizes:["fluid",[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:360,sizes:["fluid",[336,280],[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:768,sizes:["fluid",[480,320],[400,300],[320,480],[336,280],[300,400],[300,250],[250,250]]}],side:[{min:300,sizes:["fluid",[300,400],[300,250],[250,250],[300,50],[300,100]]},{min:320,sizes:["fluid",[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:360,sizes:["fluid",[336,280],[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:768,sizes:["fluid",[480,320],[400,300],[320,480],[336,280],[300,400],[300,250],[250,250]]},{min:992,sizes:[[300,600],[160,600],[300,250],[250,250],[120,600]]}],side_square:[{min:300,sizes:["fluid",[300,400],[300,250],[250,250],[300,50],[300,100]]},{min:320,sizes:["fluid",[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:360,sizes:["fluid",[336,280],[320,480],[300,400],[300,250],[250,250],[320,50],[320,100],[300,50],[300,100]]},{min:768,sizes:["fluid",[480,320],[400,300],[320,480],[336,280],[300,400],[300,250],[250,250]]},{min:992,sizes:[[300,250],[250,250]]}]},window.abrAdSettings={casacor:{bidders:!1},useLazyAds:!0,reload:40},function(n){"use strict";function d(n,t){var r=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(r>>16)<<16|65535&r}function f(n,t,r,e,o,u){return d((u=d(d(t,n),d(e,u)))<>>32-o,r)}function l(n,t,r,e,o,u,c){return f(t&r|~t&e,n,t,o,u,c)}function g(n,t,r,e,o,u,c){return f(t&e|r&~e,n,t,o,u,c)}function v(n,t,r,e,o,u,c){return f(t^r^e,n,t,o,u,c)}function m(n,t,r,e,o,u,c){return f(r^(t|~e),n,t,o,u,c)}function c(n,t){var r,e,o,u;n[t>>5]|=128<>>9<<4)]=t;for(var c=1732584193,f=-271733879,i=-1732584194,a=271733878,h=0;h>5]>>>e%32&255);return t}function a(n){var t=[];for(t[(n.length>>2)-1]=void 0,e=0;e>5]|=(255&n.charCodeAt(e/8))<>>4&15)+r.charAt(15&t);return e}function r(n){return unescape(encodeURIComponent(n))}function o(n){return i(c(a(n=r(n)),8*n.length))}function u(n,t){return function(n,t){var r,e=a(n),o=[],u=[];for(o[15]=u[15]=void 0,16<"'}{|^~;]"},newString=this,chars;for(chars in newString=newString.toLowerCase(),accents)accents.hasOwnProperty(chars)&&(newString=newString.replace(new RegExp(accents[chars],"g"),chars).replace(/&/g,"e").replace(/&/g,"e").trim());return newString},String.prototype.toSnakeCase=function(){return this.split(" ").join("-").replace("–","").replace("---","-").replace("--","-").replace("/","")},"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^s+|s+$/g,"")}),window.abrAd={version:__abrAdVersion+" | Settings: "+__abrAdSettings,urlParams:["qu","rct","utm_source","utm_medium","utm_term","utm_content","utm_campaign","marca"],selectors:["[id*='dclk_overlay']","#abrAD_dhtml",".teads-inread","#abrAD_inread","[id*=adform]","#sc_smartAva"],cdExclude:["method-ga","method-gtag","cookie-ua","id_ga","id_ga4","id_hotjar","id_pushnews","id_facebook_abc","id_facebook_abd","id_facebook_assinaturas","report-data-value","data-publicacao","hora-publicacao","data-atualizacao","hora-atualizacao","autor_com_pagina","status-pagina","status_pagina"],siteCodes:{bebe:"bb",boaforma:"bf",bravo:"bvo",capricho:"ch",casa:"cs",casacor:"cor",casacombr:"cs",casaclaudia:"cc",claudia:"cl",elastica:"ela",especiallistas:"esp",guiadoestudante:"ge",placar:"pl",quatrorodas:"qr",saude:"sd",super:"si",veja:"ve",vejario:"verj",vejasp:"vesp",vejasaopaulo:"vesp",viagemeturismo:"vt",vocerh:"vcrh",vocesa:"vcsa"},marca:"abril",site_code:"abr",tipo_pagina:"pagina",user_loggedin:"0",user_subscriber:"0",gam:{network:"/23098879566",abBias:.5,reload:40,rootUnit:""},lazy:{enabled:!0,fm:150,rm:60,ms:2.2},hb:{timeout:3e3,fail:5e3},units:{gam:[],pb:[],aps:[],apsConf:[],pending:[],executed:[]},timeouts:{reloads:[],display:[],fallback:0},bidders:{any:!1,rubicon:!1,smart:!1,appnexus:!1,seedtag:!1,teads:!1,aps:!1},rm:{aps:!0,pb:!0,as:!1,refresh:[]},settings:{bidders:{},targeting:{},useInterstitial:!0,disableIntextVideo:!1,disableOutstreamVideo:!1,slotBidder:{}},debug:!1,mapping:[],_ww:0,_dd:"mobile",_mob:!1,counters:{},abrilPPID:"",inited:!1,initDone:!1,construct:function(){var _a=abrAd;if(_a.inited)return!1;_a.inited=!0,_a._start=(new Date).getTime(),_a._I("AbraAdX Carregado ;) "+_a.version),_a._w=top==window?window:top.window,_a._d=_a._w.document,_a._ww=_a._d.documentElement.clientWidth||_a._d.body.clientWidth,_a._dd=_a._ww>991&&!0!==/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?"desktop":"mobile",_a.marca=window.customData.marca||"abril",_a.site_code=_a.siteCodes[_a.marca]||"abr","vejasaopaulo"==_a.marca&&(_a.marca="vejasp"),"casacombr"==_a.marca&&(_a.marca="casa"),_a._mob=!(!document.location.pathname.endsWith("/mobile")&&!document.location.pathname.endsWith("/mobile/")),_a.gam.rootUnit=_a.gam.network+"/"+_a.marca+"/",_a.applySettings(),_a.rm.as=!1,_a.rm.aps=!_a.bidders.aps,_a.rm.pb=!_a.bidders.any,setTimeout((function(){abrAd.init()}),10)},applySettings:function(){var _a=abrAd;_a._I("Aplicando configurações do site");var urlParams=new URLSearchParams(window.location.search),_s=abrAdSettings,_ss=_s[_a.marca]||{},cd=window.customData||{};if(_a.gam.abBias=_ss.abBias||_s.abBias||.5,_a.gam.reload=_ss.reload||_s.reload||40,_a.lazy.enabled=_ss.lazyAds||_s.lazyAds||!0,_a.lazy.fm=_ss.fetchMargin||_s.fetchMargin||150,_a.lazy.rm=_ss.renderMargin||_s.renderMargin||50,_a.lazy.ms=_ss.mobileScale||_s.mobileScale||2,_a.settings.useInterstitial=_ss.useInterstitial||_s.useInterstitial||!0,_a.settings.useNativeAnchor=_ss.useNativeAnchor||_s.useNativeAnchor||!1,_a.settings.disableIntextVideo=_ss.disableIntextVideo||_s.disableIntextVideo||!1,_a.settings.disableOutstreamVideo=_ss.disableOutstreamVideo||_s.disableOutstreamVideo||!1,!0!==_s.debug&&!0!==_ss.debug||(_a.debug=!0),"1"!=urlParams.get("abrAdDebug")&&"true"!=urlParams.get("abrAdDebug")||(_a.debug=!0),_a.settings.targeting=_s.targeting||{},void 0!==_ss.targeting){var _t=_ss.targeting;for(var name in _t)_a.settings.targeting[name]=_t[name]}_a.settings.bidders=_ss.bidders||!1,_a.settings.slotBidder=_ss.slotBidder||{};var locationOrigin=_a._des(window.location.origin),locationPathname=_a._des(window.location.pathname),canal="",cdt=cd["tipo-pagina"]||"";if("Home-Principal"==cdt)canal="home";else if("Blogs"==cdt||"Editoria"==cdt||"Matéria"==cdt){var p;"/"==(p=locationPathname).substring(0,1)&&(p=p.substring(1)),"/"==p.substring(p.length-1)&&(p=p.substring(0,p.length-1)),canal="Matéria"==cdt?p.split("/").slice(0,-1).join("/"):p}else canal="internas";_a.settings.targeting.marca_canal=_a.marca+"/"+canal;for(var i=0;i<_a.urlParams.length;i++){var p=_a.urlParams[i],v=urlParams.get(_a.urlParams[i]);null!==v&&(_a.settings.targeting[p]=_a.settings.targeting[p]||[],_a.settings.targeting[p].push(v))}var userProducts=window.localStorage.getItem("AbrilProductsUser");null===userProducts&&(userProducts=_a._cookie("AbrilProductsUser")),_a.user_loggedin=_a.settings.targeting.user_logged=null!=userProducts?"1":"0",_a.user_subscriber=_a.settings.targeting.user_subscriber=null!=userProducts&&""!==userProducts?"1":"0",_a.settings.targeting.user_products=null!=userProducts?userProducts.trim().split(","):"",""!==userProducts&&null!=userProducts&&(_a.settings.useInterstitial=!1,_a.settings.disableOutstreamVideo=!0);var lastFree=_a._cookie("AbrPaywallLastFree");_a.settings.targeting.lastFreeArticle="true"===lastFree||!0===lastFree?"1":"0",_a.settings.targeting.tags=[];try{for(var key in cd)if(!(_a.cdExclude.indexOf(key)>=0)){var value=cd[key]||null;null!==value&&("keywords"===key&&(value=value.split(",")),value="object"==typeof value?value.map((function(val){return val.toString().sanitize().trim()})):value.toString().sanitize().trim(),"oferecimento"===key&&(_a.settings.targeting.patrocinador=value),"tipo-pagina"==key&&(_a.tipo_pagina=value),"tag"===key||"keywords"===key?_a.settings.targeting.tags=_a.settings.targeting.tags.concat(value):_a.settings.targeting[key]=value)}}catch(e){_a._E("Erro ao ler objeto CustomData"),_a._E(e)}_a.settings.targeting.marca=_a.marca,_a.settings.targeting.site_code=_a.site_code,_a.settings.targeting.url=locationOrigin+locationPathname,_a.utm_object={url:locationOrigin+locationPathname,source:urlParams.get("utm_source")||"__notset__",campaign:urlParams.get("utm_campaign")||"__notset__",medium:urlParams.get("utm_medium")||"__notset__"},_a.utm_hash=md5(JSON.stringify(_a.utm_object)),_a.settings.targeting.utm_hash=[_a.utm_hash],_a.session_hash=sessionStorage.getItem("abrad_utm_hash"),null==_a.session_hash?sessionStorage.setItem("abrad_utm_hash",_a.utm_hash):_a.settings.targeting.utm_hash.push(_a.session_hash);var session_campaign=sessionStorage.getItem("abrad_utm_campaign");null==session_campaign?(session_campaign=urlParams.get("utm_campaign")||null,sessionStorage.setItem("abrad_utm_campaign",session_campaign)):(_a.settings.targeting.utm_campaign=_a.settings.targeting.utm_campaign||[],_a.settings.targeting.utm_campaign.indexOf(session_campaign)<0&&_a.settings.targeting.utm_campaign.push(session_campaign));var session_campaign_content=sessionStorage.getItem("abrad_utm_campaign_content");if(null==session_campaign_content){var session_cc_campaign=urlParams.get("utm_campaign")||"",session_cc_content=urlParams.get("utm_content")||"";session_campaign_content=""==session_cc_campaign&&""==session_cc_content?null:session_cc_campaign+"_"+session_cc_content,sessionStorage.setItem("abrad_utm_campaign_content",session_campaign_content),_a.settings.targeting.mix_utm_campaign=_a.settings.targeting.mix_utm_campaign||[],_a.settings.targeting.mix_utm_campaign.indexOf(session_campaign_content)<0&&_a.settings.targeting.mix_utm_campaign.push(session_campaign_content)}else _a.settings.targeting.mix_utm_campaign=_a.settings.targeting.mix_utm_campaign||[],_a.settings.targeting.mix_utm_campaign.indexOf(session_campaign_content)<0&&_a.settings.targeting.mix_utm_campaign.push(session_campaign_content);var tpg="pagina";_a._d.body.classList.contains("home")&&(tpg="home"),_a._d.body.classList.contains("archive")&&(tpg="listagem"),_a._d.body.classList.contains("search")&&(tpg="listagem"),_a._d.body.classList.contains("single")&&(tpg="materia"),_a._d.body.classList.contains("mobile-page")&&_a._d.body.classList.contains("single-post")&&(tpg="materia"),_a.tipo_pagina=tpg,_a.settings.targeting["tipo-pagina"]=tpg},init:function(){var _a=abrAd;if(_a._I("Inicializando AbradX"),_a.extraPlacements(),_a.setupGAM(),!1!==_a.settings.useNativeAnchor){try{var ah=document.querySelectorAll(".ads-footer");ah.length>0&&ah.forEach((function(el){el.outerHTML=""}))}catch(e){}googletag.cmd.push((function(){var _a=abrAd;_a._D("Inicializando Web Anchor "+_a._dd+"sticky"),_a.units.gam.abrad_anchor=googletag.defineOutOfPageSlot(_a.gam.rootUnit+_a._dd+"sticky","bottom"===_a.settings.useNativeAnchor?googletag.enums.OutOfPageFormat.BOTTOM_ANCHOR:googletag.enums.OutOfPageFormat.TOP_ANCHOR),_a.units.gam.abrad_anchor&&(_a.units.gam.abrad_anchor.setTargeting("reqOrd","1").setTargeting("reloadable","yes"),_a.units.gam.abrad_anchor.addService(googletag.pubads()),googletag.display(_a.units.gam.abrad_anchor),googletag.pubads().isInitialLoadDisabled()&&googletag.pubads().refresh([_a.units.gam.abrad_anchor]))}))}if(_a.findAds(),_a.settings.useInterstitial&&googletag.cmd.push((function(){var _a=abrAd;if(_a._D("Inicializando Web Interstitial "+_a._dd+"_interstitial"),_a.units.gam.abrad_interstitial=googletag.defineOutOfPageSlot(_a.gam.rootUnit+_a._dd+"_interstitial",googletag.enums.OutOfPageFormat.INTERSTITIAL),_a.units.gam.abrad_interstitial){_a.units.gam.abrad_interstitial.addService(googletag.pubads()),googletag.display(_a.units.gam.abrad_interstitial),googletag.pubads().isInitialLoadDisabled()&&googletag.pubads().refresh([_a.units.gam.abrad_interstitial]);try{var pwLayer=_a._d.getElementById("ip_abril"),rwBtn=_a._d.getElementById("boxRewardedAds");null!==pwLayer&&null!==rwBtn&&(window.abrAdPayWallObserver=new MutationObserver((function(mutationsList,observer){for(var i=0;i=1&&!1===_a.settings.useNativeAnchor){var _anchorStyle=_a._d.querySelectorAll(".ads-footer")[0].style;if(_anchorStyle.height="auto",_anchorStyle.padding="15px 0",_anchorStyle.minHeight="120px","mobile"==_a._dd)_anchorStyle.display="flex",_anchorStyle.minHeight="80px";else{_a._D("Adicionando scroll listener para ancora"),_a._anchorShown=!1;var supportsPassive=!1;try{var opts=Object.defineProperty({},"passive",{get:function(){supportsPassive=!0}});window.addEventListener("test",null,opts)}catch(e){}window.addEventListener("scroll",(function(evt){var _a=window.abrAd;!1===_a._anchorShown&&"desktop"==_a._dd&&window.scrollY>450&&(_a._d.querySelectorAll(".ads-footer")[0].style.display="flex",_a._anchorShown=!0)}),!!supportsPassive&&{passive:!0})}}for(_a._I("Executando fila post-init: "+window.abrAdQ.length+" chamadas");window.abrAdQ.length>0;)cmd=window.abrAdQ.shift(),"function"==typeof cmd&&cmd();window.abrAdQ.push=function(cmd){"function"==typeof cmd&&cmd()},setTimeout((function(){abrAd.runBids()}),100),_a.initDone=!0},findAds:function(){var _a=abrAd,abrAdDivs=_a._d.querySelectorAll(".abrAD, .abrad, .AbrAd, .AbrAD");_a._D(abrAdDivs.length+" posicoes encontradas");for(var i=0;i0?"leaderboard":"rectangle"):(adFormat="page",adMapping="rectangle");place.dataset.format=adFormat,_a._D("Formato e mapeamento dectados automaticamente para #"+place.id+": "+adFormat+"/"+adMapping)}else"anchor"==place.dataset.format&&(place.dataset.format="sticky"),adFormat=place.dataset.format,_a._D("Formato para #"+place.id+" definido manualmente como "+adFormat);""==adMapping&&(adMapping=adFormat),null!=place.dataset.mapping&&void 0!==window.adMaps[place.dataset.mapping]&&(adMapping=place.dataset.mapping,_a._D("Sizemap para #"+place.id+" redefinido manualmente como "+adMapping)),place.dataset.mapping=adMapping,_a.counters[adFormat]=_a.counters[adFormat]||0,_a.counters[adFormat]++;var placeID=adFormat+"_"+_a.counters[adFormat];if(place.dataset.abradId=place.id||adFormat,"intext"==adFormat&&"1"===_a.user_subscriber&&_a.counters.intext>3)return!1;if("intext"==adFormat&&_a.counters.intext>5)return!1;place.id=placeID,place.classList.add(adFormat),place.classList.add("resolved");var sufix="";"sticky"!=adFormat&&"billboard"!=adFormat&&"paywall"!=adFormat&&"intext_video"!=adFormat&&"aftertext"!=adFormat&&"outstream"!=adFormat&&(sufix=String(_a.counters[adFormat]<6?_a.counters[adFormat]:"_x"));var params={type:"banner",adFormat:adFormat,gam:dvc+"_"+adFormat+sufix,sizes:[1,1],divID:placeID,mapping:"intext_video"==adFormat?"intext_video":adMapping,reloadable:"materia"==tpg&&"side"==adFormat||"sticky"==adFormat||"true"===place.dataset.reloadable,skipPrebid:"outstream"==adFormat||"billboard"==adFormat||"intext_video_2"==placeID,targeting:{divID:placeID,abradID:place.dataset.abradId,abril_placement:adFormat,abrad_placement:adFormat+sufix}};place.dataset.displayParams=JSON.stringify(params);var _hp=_a._hhp(place);return!1===_hp||(null==_hp.dataset.childAds?(_hp.dataset.childAds="#"+placeID,abrAdStyleObserver.observe(_hp,{attributes:!0,attributeFilter:["style","class"]})):_hp.dataset.childAds+=",#"+placeID,!1)},createAdUnit:function(place){var _a=abrAd;if(null==place)return _a._E("Uma chamada de adUnit foi abortada por nao ter um placement."),!1;if(!1===place.classList.contains("resolved")&&_a.resolveAdUnit(place),!1===place.classList.contains("resolved"))return _a._E("Placement #"+place.id+" nao tinha uma resolucao valida e foi abortado."),!1;var slotParams=JSON.parse(place.dataset.displayParams),slotName=slotParams.divID;_a._D("Criando adunit #"+place.id),_a.debug&&console.log(slotParams),place&&(place.dataset.prebid=!1,place.dataset.aps=!1),_a._D("Iniciando GAM AdUnit "+slotName),googletag.cmd.push((function(){var _a=abrAd,_u=_a.units;if(_a._D("DefineSlot"),_u.gam[slotName]=googletag.defineSlot(_a.gam.rootUnit+slotParams.gam,slotParams.sizes,slotName),void 0!==slotParams.reloadable&&!0===slotParams.reloadable&&_a.gam.reload>0&&(_a._D("Definindo Reloadable"),_u.gam[slotName].setTargeting("reqOrd","1").setTargeting("reloadable","yes")),void 0!==slotParams.targeting){var targets=slotParams.targeting;for(var name in targets)_u.gam[slotName].setTargeting(name,targets[name]),_a._D("Definindo Targets "+name+" para slot "+slotName)}void 0!==slotParams.mapping&&""!=slotParams.mapping&&"banner"===slotParams.type&&(_a._D("Definindo SizeMapping "+slotParams.mapping),_u.gam[slotName].defineSizeMapping(_a.mapping[slotParams.mapping])),_u.gam[slotName].addService(googletag.pubads()),_a._D("GAM AdService"),googletag.display(slotName),_a._D("GAM Display "+slotName)}));var pbUnit_bids=[],_sb=_a.settings.slotBidder[slotParams.gam.replace("amp_","mobile_")]||{},_sd=_a.settings.slotBidder._default||{},bidders=Object.assign({},_sd,_sb);console.log(bidders);for(var slotHasNoBidders=!0,unitSizes=_a.getPrebidMap(slotParams.mapping,slotParams.sizes),validSizes=[],_gBidderSettings=_a.settings.bidders,i=0;i=size.min))break;if(sizes=size.sizes,window.abrAd._mob&&size.min>360)break}return sizes},getSmartPlacement:function(unitName){var _fm=abrAdSettings.smartFormats,_r="",index=0;return unitName=unitName.replace("desktop_","").replace("mobile_",""),parseInt(unitName.substring(unitName.length-1),10)>0&&(index=parseInt(unitName.substring(unitName.length-1),10),unitName=unitName.substring(0,unitName.length-1)),_r=index>0?void 0!==_fm[unitName]&&_fm[unitName][index]||"":_fm[unitName]||""},intextParagraph:function(){var _a=abrAd;try{var p=_a._d.querySelectorAll(".article .content > p")[1];void 0===p&&(p=_a._d.querySelectorAll(".article .content > p")[0]),void 0===p&&(p=_a._d.querySelectorAll(".special-post .post .content > p")[1]),void 0===p&&(p=_a._d.querySelectorAll(".special-post .post .content > p")[0]),void 0===p&&(p=_a._d.querySelectorAll(".post .content.the_content > p")[1]),void 0===p&&(p=_a._d.querySelectorAll(".post .content.the_content > p")[0])}catch(e){p=!1}return p},extraPlacements:function(){var _a=abrAd;if("materia"==_a.tipo_pagina&&!1===_a.settings.disableIntextVideo){_a._D("Criando placement para vídeo in-text");try{var div;(div=_a._d.createElement("div")).id="intext_3x1",div.classList.add("abrAD"),div.dataset.format="intext_video",div.style="margin-bottom: 24px;";var p=_a.intextParagraph();null!=p&&!1!==p&&p.insertAdjacentElement("afterend",div)}catch(e){_a._E("Não foi possível criar posição para vídeo inread"),_a._E(e)}}else _a._D("Placement para vídeo in-text desativado, ou página não matéria");if(!1===_a.settings.disableOutstreamVideo){_a._D("Criando placement para vídeo outstream");try{var div;(div=_a._d.createElement("div")).classList.add("abrAD"),div.id="abrAD_outstream",div.dataset.format="outstream",div.style="width:4px;height:4px;position:fixed;bottom:0;left:0;z-index:1030;",_a._d.body.prepend(div)}catch(e){_a._E("Não foi possível criar posição para vídeo outstream"),_a._E(e)}}else _a._D("Placement para vídeo outstream desativado")},setupGAM:function(){abrAd._I("Inicializando Google AdManager"),googletag.cmd.push((function(){var _a=abrAd;if(_a.lazy.enabled?googletag.pubads().enableLazyLoad({fetchMarginPercent:_a.lazy.fm,renderMarginPercent:_a.lazy.rm,mobileScaling:_a.lazy.ms}):googletag.pubads().collapseEmptyDivs(),googletag.pubads().setCentering(!0),googletag.pubads().setSafeFrameConfig({allowOverlayExpansion:!0,allowPushExpansion:!0,sandbox:!0}),(_a.bidders.any||_a.bidders.aps)&&googletag.pubads().disableInitialLoad(),void 0!==_a.settings.targeting){var targets=_a.settings.targeting;for(var name in targets)googletag.pubads().setTargeting(name,targets[name]),_a._D("Definindo Targets Global "+name)}Object.entries(window.adMaps).forEach((function(map,i){name=map[0],map=map[1],_a.mapping[name]=googletag.sizeMapping(),_a.mapping[name].addSize([0,0],[]);for(var i=0;i360)break;_a.mapping[name].addSize([size.min,10],size.sizes)}_a.mapping[name]=_a.mapping[name].build(),_a._D("Criando mapeamento "+name)})),googletag.pubads().addEventListener("impressionViewable",(function(event){var _a=abrAd,slot=event.slot,slotID=slot.getSlotElementId();if(_a._D("impressionViewable "+slotID),slot.getTargeting("reloadable").indexOf("yes")>-1&&_a.gam.reload>0){_a._D("reloading impressionViewable "+slotID);var reqOrd=parseInt(slot.getTargeting("reqOrd"),10);reqOrd+=1,slot.setTargeting("reqOrd",reqOrd.toString());try{clearTimeout(_a.timeouts.reloads[slotID])}catch(e){}void 0!==_a.units.gam[slotID]?(_a._D(slotID+" using PBJS reload"),_a.timeouts.reloads[slotID]=setTimeout((function(){abrAd.reloadSlot(slotID)}),1e3*_a.gam.reload)):(_a._D(slotID+" using GPT reload"),_a.timeouts.reloads[slotID]=setTimeout((function(){googletag.pubads().refresh([slot])}),1e3*_a.gam.reload))}})),googletag.pubads().addEventListener("slotRenderEnded",(function(event){var slot,slotID=event.slot.getSlotElementId();if(abrAd._D("Display: "+slotID+" - "+(event.isEmpty?"branco":event.size.toString())),"abrAD_leaderboard1"===slotID.split("_").splice(0,2).join("_"))try{document.getElementById(slotName).childNodes[0].style.width=""}catch(e){abrAd._W("Não foi possível corrigir o width do "+slotName)}})),googletag.pubads().enableVideoAds();var logUser="";try{logUser=JSON.parse(localStorage.getItem("abrilAssetsUser")).crm||""}catch(e){logUser=""}var AbrilID=localStorage.getItem("abrilUserId")||"",userPPID=""!=logUser?logUser:""!=AbrilID?AbrilID:"";""!=userPPID&&(_a.abrilPPID=md5(userPPID),googletag.pubads().setPublisherProvidedId(md5(userPPID))),googletag.enableServices()}))},_hhp:function(e){for(var p=e.parentNode;p!==abrAd._d.body&&null!==p;){var c=abrAd._w.getComputedStyle(p);if("hidden"==c.visibility||"none"==c.display)return p;p=p.parentNode}return!1},runBids:function(){abrAd._I("Iniciando leilao client side"),abrAd.units.aps.length>0&&apstag.fetchBids({slots:abrAd.units.aps},(function(bids){googletag.cmd.push((function(){window.apstag.setDisplayBids(),abrAd.rm.aps=!0,abrAd.allBids("aps")}))})),pbjs.que.push((function(){pbjs.requestBids({bidsBackHandler:function(){googletag.cmd.push((function(){window.pbjs.setTargetingForGPTAsync(),abrAd.rm.pb=!0,abrAd.allBids("pbjs")}))},timeout:abrAd.hb.timeout})})),abrAd.timeouts.fallback=setTimeout((function(){abrAd.renderAllAds(!0)}),abrAd.hb.fail)},allBids:function(b){abrAd._D("Recebido bids de "+b+" para todos os anuncios."),abrAd.rm.aps&&abrAd.rm.pb&&abrAd.renderAllAds(!1)},renderAllAds:function(fail){if(window.pbjs.initAdserverSet)return!1;abrAd._I("Renderizando todos os anuncios."),!0!==fail?clearTimeout(abrAd.timeouts.fallback):abrAd._D("Houve timeout na espera do leilao."),window.pbjs.initAdserverSet=!0,googletag.cmd.push((function(){for(var pbUnitsAll=[],_u=abrAd.units,i=0;i<_u.pending.length;i++)pbUnitsAll.push(_u.gam[_u.pending[i]]),_u.executed.push(_u.pending[i]);pbUnitsAll.length>0&&googletag.pubads().refresh(pbUnitsAll)}))},reloadSlot:function(slotID){abrAd._D("Chamando AdReload para "+slotID);var _u=abrAd.units,reloadHasPrebid=!1,reloadHasAPS=!1,slotName=slotID,pendingIndex=_u.pending.indexOf(slotID);pendingIndex>=0&&_u.pending.splice(pendingIndex,1),abrAd.rm.refresh[slotID]={aps:!0,pbjs:!0,adserver:!1},void 0!==_u.pb[slotName]&&(reloadHasPrebid=!0,abrAd.rm.refresh[slotID].pbjs=!1),void 0!==_u.apsConf[slotName]&&(reloadHasAPS=!0,abrAd.rm.refresh[slotID].aps=!1),reloadHasPrebid&&pbjs.que.push((function(){abrAd._D("Prebid AdReload para "+slotName),abrAd.units.executed[slotName]=!1,pbjs.requestBids({adUnitCodes:[slotName],bidsBackHandler:function(){googletag.cmd.push((function(){window.pbjs.setTargetingForGPTAsync(),abrAd.rm.refresh[slotName].pbjs=!0,abrAd.singleBid(slotName,"pbjs")}))},timeout:abrAd.hb.timeout})})),reloadHasAPS&&(abrAd._D("APS AdReload para "+slotName),apstag.fetchBids({slots:[abrAd.units.apsConf[slotName]],timeout:abrAd.hb.timeout},(function(bids){googletag.cmd.push((function(){apstag.setDisplayBids(),abrAd.rm.refresh[slotName].aps=!0,abrAd.singleBid(slotName,"aps")}))}))),reloadHasPrebid||reloadHasAPS?abrAd.timeouts.display[slotName]=setTimeout((function(){abrAd.renderAd(slotName,!0)}),abrAd.hb.fail):googletag.cmd.push((function(){googletag.pubads().refresh([abrAd.units.gam[slotID]])}))},singleBid:function(slotID,b){abrAd._D("Recebido bids de "+b+" para o slot "+slotID),abrAd.rm.refresh[slotID].aps&&abrAd.rm.refresh[slotID].pbjs&&abrAd.renderAd(slotID,!1)},renderAd:function(slotID,fail){if(abrAd.units.executed[slotID])return!1;!0!==fail&&clearTimeout(abrAd.timeouts.display[slotID]),abrAd._D("Renderizando anuncios para "+slotID),abrAd.units.executed[slotID]=!0,googletag.cmd.push((function(){googletag.pubads().refresh([abrAd.units.gam[slotID]])}))},console:function(){var _c=abrAd._d.createElement("script");_c.src=window.location.origin+"/wp-content/themes/abril-master2/js/ads/abrad_console.min.js",_c.async=!0,abrAd._d.body.appendChild(_c)},_b:function(bidder,params){var _s=abrAd.settings.bidders;if(void 0===_s||""==_s||!1===_s)return!1;if(void 0===_s[bidder]||""==_s[bidder])return!1;if(params.length>0)for(var i=0;i