Fazenda Sustentável
O Agro é Delas
Melhores do Agronegócio
Futuro do Agro
Produtores rurais que passaram da primeira etapa devem completar o formulário de avaliação até o dia 31 de maio
Produtores selecionados para a segunda fase da 8ª edição do Prêmio Fazenda Sustentável, iniciativa da Globo Rural em parceria com Imaflora, Rabobank e patrocínio da Cargill, têm até dia 31/5, para completar o formulário de avaliação. O prazo terminaria na próxima sexta (24/5), mas foi prorrogado para que haja mais tempo de completar o questionário.
Ao todo, 50 propriedades avançaram para a segunda fase da premiação, concentradas principalmente entre São Paulo e Minas Gerais. Se você se inscreveu na primeira fase e ainda não sabe se foi selecionado, confira o e-mail cadastrado no momento de preenchimento das inscrições.
O prêmio possui três categorias — pequenas, médias e grandes propriedades —, e a avaliação das fazendas ocorre em três etapas, incluindo visitas dos técnicos do Rabobank a todos os finalistas classificados.
O ranking dos melhores é definido por uma comissão julgadora, formada por grandes especialistas em sustentabilidade no agro brasileiro. A cerimônia de premiação deve ocorrer em julho, em São Paulo, onde serão revelados os campeões em cada categoria.
Mais recente Próxima JBS vai investir R$ 10 milhões para projeto de pecuária regenerativa na Amazônia -
Lula não vai comprar ‘arroz de plástico’ da China; saiba de onde vem o cereal
-
VLI movimenta volume recorde de açúcar na safra 2023/24
-
Salários do agro têm forte alta, mas seguem abaixo da média no país
-
Brasil terá primeira onda de frio do ano; saiba quando e como será
-
Caminhos da Safra inicia edição de 2024 por estradas do Paraná
A cobertura de agro do Valor agora faz parte da Nova Globo Rural
Quer voltar a navegar no site do Valor econômico?
Voltar ao Valor
Mais do Globo Rural
Com novo campeão, Brasil acirra disputa com Estados Unidos no mundial de rodeio da PBR
A cada temporada internacional, peões brasileiros e americanos competem, montaria a montaria, pela liderança do ranking da liga
Há 16 minutos Globo Rural
Governo cria programa de combate ao caruru palmeri
Praga tem difícil controle, apresenta resistência a herbicidas e pode reduzir produção em 90%
Há 46 minutos Agricultura
Como escolher frutas? Veja mitos e verdades para não errar nas compras
Aparência e peso do alimento nem sempre determinam qualidade e quantidade de polpa
Há 2 horas Hortifrútis
Voluntária no RS relata sofrimento de animais resgatados: 'Estavam comendo plástico'
Em entrevista à Globo Rural, Luisa Sigaran diz que perdeu as contas de quantos cachorros, gatos, cavalos, porcos, bois e galinhas ajudou a tirar da água
Há 3 horas Pecuária
O que está levando a pecuária leiteira ao colapso?
Para proteger nossos pecuaristas, seria essencial a criação de cotas de importação, que permita o comércio, mas não afete a nossa cadeia de produção
Há 3 horas Vozes do Agro
Pista simples é desafio para caminhões e carros na BR-373
Trajeto entre Ponta Grossa e Guarapuava concentra movimento de caminhões das regiões Oeste e Sudoeste do Paraná
Há 3 horas Caminhos da Safra
Bolinhas no pé de pitanga? Especialista explica
Galhas foliares podem estar associadas à larvas
Há 4 horas GR Responde
Governo abre crédito extraordinário de R$ 6,6 bi para viabilizar importação de arroz
Os valores serão aplicados na aquisição de 895,9 mil toneladas do cereal e se somam aos outros R$ 516 milhões já liberados no início do mês para compra de outras 104 mil toneladas
Há 13 horas Arroz
RS soma perdas de quase R$ 3 bilhões na agropecuária após enchentes
Prejuízos são de R$ 2,7 bilhões na agricultura e de R$ 220 milhões na pecuária
Há 15 horas Economia
Raízen inaugura usina de etanol 2G para produzir 82 milhões de litros por ano
Com investimento de R$ 1,2 bilhão, planta de etanol celulósico é a maior do mundo
Há 15 horas Negócios
`}\n \n `),{templateItem:({title:e="",type:n,url:r,publisher:o,icone:i,iconeWidth:a,score:s,parent:c},u)=>"block-title"===n?`${e}`:`
\n \n \n \n \n \n \n \n ${((e,t)=>"default-item"===t?`Buscar por "${e}"em ${b().name}`:e)(e,n)}\n ${((e="")=>e?`Em ${e}`:"")(c)}\n \n \n `}};var R=(e={})=>{const{transformPreSuggest:t,transformSuggest:n,limitResult:r,limitHistory:o,minLength:i}=e,a=i,{templateItem:s}=T(e);let c=null;const u=e=>{document.querySelector(".searchV2__suggest__items").innerHTML=e.map(s).join("")},l=e=>Object.assign({},e,{limitResult:r,limitHistory:o}),p=()=>"preSuggest"===c?Promise.resolve():(c="preSuggest",new Promise(e=>k().then(l).then(t).then(u).then(e).catch(({message:e})=>{console.error(e)}))),f=({name:e,message:t})=>{switch(e){case"Validation":p();break;default:console.error(t)}};return{renderPreSuggest:p,renderSuggest:e=>new Promise(t=>O(e,a).then(L).then(l).then(n(e)).then(u).then(()=>{c="suggest"}).then(t).catch(f)),handleSuggestError:f}};var I=()=>{const e=document.body,t=e.querySelector(".searchV2"),n=t.querySelector(".searchV2__header__term");let r,o=null;let i={};return{get el(){return t},get term(){return n.value},set term(e){n.value=e},set afterClose(e){o=e},on:(e,t,n,r={},o=document.body)=>{const a=`${t}--${e}`;i=Object.assign({},i,{[a]:((e,t)=>n=>{const r=((e,t)=>{let n=e;const r=e=>1===e.nodeType&&!e.classList.contains(t);for(;r(n);)n=n.parentNode;return n.classList&&n.classList.contains(t)?n:null})(n.target,e);r&&t.call(r,n)})(t,n)}),o.addEventListener(e,i[a],r)},off:(e,t,n,r={},o=document.body)=>{o.removeEventListener(e,i[`${t}--${e}`],r)},attachEvent(e,n,r,o={}){const i=[].slice.call(t.querySelectorAll(n));for(let t=0;t
{r=window.pageYOffset,e.classList.add("searchV2__noscroll"),e.style.top=`-${r}px`;const o=()=>{n(),t.removeEventListener("transitionend",o)};t.classList.add("searchV2--animate","searchV2--opened"),t.addEventListener("transitionend",o)},close:()=>{e.classList.remove("searchV2__noscroll"),e.style.top="",window.scrollTo(0,r),r=0,t.classList.remove("searchV2--opened");const n=()=>{o(),t.classList.remove("searchV2--animate"),t.removeEventListener("transitionend",n)};t.addEventListener("transitionend",n)},btnReset:{set display(e){const n="show"===e?"block":"none";t.querySelector(".searchV2__header__btn-reset").style.display=n}}}};var N=(e={})=>{const{debugMode:t=!1,handleGA:n}=e,r="busca_framework",o=(...e)=>(t&&(console.group("Search tracking"),console.log([r,...e]),console.groupEnd("Search tracking")),n(["_trackEvent",r,...e]));return{search:e=>o("item buscado",e),loadSuggest:e=>o("suggest carregado",e),clickItem:e=>{o("suggests",`clique | navegacional | ${e}`)},open:()=>o("abrir busca","abrir busca",!0),close:()=>o("fechar busca","fechar busca",!0),focus:()=>o("foco campo","foco campo",!0)}};const M=({keyCode:e})=>-1===[13].indexOf(e)?Promise.resolve():Promise.reject(),q=(e="")=>`${b().home}busca/?q=${e}`,U={combate:{name:"combate_terciario",width:14},g1:{name:"g1_primario",width:18},globo:{name:"globocom_terciario",width:16},ge:{name:"globoesporte_secundario",width:19},globonews:{name:"globonews_terciario",width:21},ego:{name:"ego_terciario",width:18},cartola:{name:"cartola_terciario",width:18},globoplay:{name:"globoplay_terciario_color",width:24},globosatplay:{name:"globosatplay_terciario",width:16},gshow:{name:"gshow_terciario",width:16},sportv:{name:"sportv_terciario",width:16},techtudo:{name:"techtudo_secundario",width:12}},B=e=>{const t=e.publisher?e.publisher.toLowerCase():"";return{title:e.title||e.text,type:e.type||"searched",url:e.url||q(e.title||e.text),score:e.score||null,publisher:t||"",icone:U[t]?U[t].name:"eixo-icone-busca",iconeWidth:U[t]?U[t].width:22,parent:e.parent||""}},D={data:{}},F={transformPreSuggest:e=>[...(({searchHistoryHtml:e,limitResult:t})=>e?[{title:"Buscas Recentes",type:"block-title"},...e.reverse().slice(0,t).map(({data:e})=>B(e))]:[])(e),...(({preSuggest:e=D,limitHistory:t})=>e.data.suggestions?[{title:"Mais buscados",type:"block-title"},...e.data.suggestions.slice(0,t).map(B)]:[])(e)],transformSuggest:e=>t=>[...t.data.featured_content.slice(0,t.limitResult).map(e=>{const t=Object.assign({},e,{type:"feature_content"});return B(t)}),...t.data.suggestions.slice(0,t.limitHistory).map(B),(e=>B({title:e,type:"default-item"}))(e)].filter(e=>!e.url.includes("/valor-ri/empresa")),baseSVGPath:"svg/sprite.min.svg",afterClose:null,className:"",placeholder:"o que você procura?",transitionDuration:null,limitResult:3,limitHistory:4,debugMode:!1,minLength:3,handleGA:e=>e,insertHTML(e){document.body.insertAdjacentHTML("beforeEnd",e)}};var $=(e={})=>{const t=Object.assign({},F,e),{renderPreSuggest:n,renderSuggest:r,handleSuggestError:o}=R(t),i=N(t),a=I(t),s=t.minLength,c=()=>{a.btnReset.display="hide",a.term=""},u=e=>{e.stopPropagation(),e.preventDefault();const t=a.term.trim();O(t,s).then((e=>()=>{E({title:e,url:q(e),score:null}),i.search(e),window.location.href=q(e)})(t)).catch(o)},l=P([C],function(e){e.stopPropagation(),e.preventDefault();const t=this.getAttribute("data-search-url"),n=unescape(this.getAttribute("data-search-title"));"feature_content"===this.getAttribute("data-search-type")?i.clickItem(t):i.search(n),E({url:t,title:n,publisher:this.getAttribute("data-search-publisher"),score:this.getAttribute("data-search-score")})}),p=()=>{i.close(),a.close()},f=P([M,j,({target:e})=>(a.btnReset.display=e.value.length<=0?"hide":"show",Promise.resolve())],e=>{const t=e.target.value.trim();r(t).then(()=>{a.attachEvent("click",".searchV2__item a",function(){const e=this.parentNode.getAttribute("data-search-url");i.clickItem(e)}),i.loadSuggest(t)})}),d=P([C],e=>{n().then(c),e.preventDefault(),e.stopPropagation()}),h=P([C],p),m=()=>{i.focus()},g=()=>{a.attachEvent("focus",".searchV2__header__term",m).attachEvent("keyup",".searchV2__header__term",f).attachEvent("touchstart",".searchV2__header__btn-back",h,{passive:!0}).attachEvent("touchstart",".searchV2__header__btn-reset",d,{passive:!0}).attachEvent("submit",".searchV2__header__form",u),a.on("touchstart","searchV2__item",l,{passive:!0})};return{open:()=>{n().then(c),i.open(),a.afterClose=(()=>{"function"==typeof t.afterClose&&t.afterClose(),a.detachEvent("focus",".searchV2__header__term",m).detachEvent("keyup",".searchV2__header__term",f).detachEvent("touchstart",".searchV2__header__btn-back",h,{passive:!0}).detachEvent("touchstart",".searchV2__header__btn-reset",d,{passive:!0}).detachEvent("submit",".searchV2__header__form",u).detachEvent("touchstart",".searchV2__item",l,{passive:!0}),a.off("touchstart","searchV2__item",l,{passive:!0})}),a.open(g)},close:p}},H=n(2),V=n.n(H),W=n(3),G=n.n(W),z=function(e){var t=document.createElement("div");t.className="search-suggest__menu-group";return{root:t,render:function(n){var r=n.label,o=n.items,i=n.onClick;if(!o.length)return null;var a=document.createElement("p");a.className="search-suggest__menu-label",a.innerHTML="".concat('\n \n'," ").concat(r);var s=document.createElement("ul");s.className="search-suggest__menu-list",o.forEach(function(e){var t=document.createElement("li");t.innerHTML='').concat(e.label,""),s.appendChild(t),i&&t.addEventListener("click",function(t){i(t,e)})}),t.appendChild(a),t.appendChild(s),e.appendChild(t)}}};function J(e){for(;e.firstChild;)e.removeChild(e.firstChild)}var X=function(e){var t=document.createElement("div");t.className="search-screen search-screen--cover",e.appendChild(t);return{root:t,render:function(e){var n=e.latestSearches,r=e.suggestions;J(t),n.length>0&&z(t).render({label:"Recentes",items:n}),r.length>0&&z(t).render({label:"Mais buscados",items:r})},show:function(){t.classList.add("search-screen--is-active")},hide:function(){t.classList.remove("search-screen--is-active")}}},Q=function(e){var t=document.createElement("aside");t.className="search-suggest search-suggest__menu";return{root:t,render:function(){e.appendChild(t)},show:function(){t.classList.add("search-suggest--is-active"),t.classList.remove("search-suggest--is-disable")},hide:function(){t.classList.remove("search-suggest--is-active"),setTimeout(function(){t.classList.add("search-suggest--is-disable")},300)}}},Y=n(1),K=n.n(Y),Z=function(e){var t=e.searchUrl,n=e.term,r=e.label;return{url:"".concat(t,"/?q=").concat(encodeURIComponent(n)),label:r,term:n}},ee={valorinternational:"Results",other_tenant:"Resultados"},te={valorinternational:"search for",other_tenant:"buscar por"},ne=function(e){var t=document.createElement("div");t.className="search-screen search-screen--suggest",e.appendChild(t);return{root:t,render:function(e){var n=e.searchUrl,r=e.search,o=e.suggestions,i=void 0===o?[]:o,a=e.onClick,s=void 0===a?null:a;J(t);var c=K()(i),u=Z({searchUrl:n,term:r,label:"".concat(te.other_tenant,' "').concat(r,'"')});c.push(u),c.length>0&&z(t).render({label:ee.other_tenant,items:c,onClick:s})},show:function(){t.classList.add("search-screen--is-active")},hide:function(){t.classList.remove("search-screen--is-active")}}},re=function(e){var t=e.cacheLimit,n=void 0===t?3:t,r="search_suggest_latest",o={get:function(e){return JSON.parse(localStorage.getItem(e))},set:function(e,t){localStorage.setItem(e,JSON.stringify(t))},clear:function(){localStorage.clear()}},i=function(){return o.get(r)||[]};return{get:i,add:function(e){if(e.label=e.term,e.label){var t=i()||[];return t=[e].concat(K()(t)),o.set(r,t.slice(0,n)),o.get(r)||[]}},clear:function(){o.set(r,null)}}},oe=n(11),ie=n.n(oe),ae=n(4),se=n.n(ae),ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o="".concat(e,"/suggest?size=").concat(n);return t&&(o+="&prioritarios=".concat(encodeURIComponent(t))),r&&(o+="&q=".concat(encodeURIComponent(r))),o};return{getCoverItems:function(){var t=ie()(se.a.mark(function t(){var r,o,i,a,s=arguments;return se.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=s.length>0&&void 0!==s[0]?s[0]:3,t.prev=1,t.next=4,fetch(n(r));case 4:return i=t.sent,t.next=7,i.json();case 7:o=t.sent,t.next=14;break;case 10:return t.prev=10,t.t0=t.catch(1),console.error("[SearchSuggest]",t.t0),t.abrupt("return",[]);case 14:return a=o.suggestions||[],t.abrupt("return",a.map(function(t){return Z({searchUrl:e,term:t,label:t})}));case 16:case"end":return t.stop()}},t,null,[[1,10]])}));return function(){return t.apply(this,arguments)}}(),getSuggestItems:function(){var r=ie()(se.a.mark(function r(o){var i,a,s,c,u,l=arguments;return se.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i=l.length>1&&void 0!==l[1]?l[1]:3,r.prev=1,r.next=4,fetch(n(i,o));case 4:return s=r.sent,r.next=7,s.json();case 7:a=r.sent,r.next=14;break;case 10:return r.prev=10,r.t0=r.catch(1),console.error("[SearchSuggest]",r.t0),r.abrupt("return",[]);case 14:return c=(c=a.suggestions||[]).map(function(t){return Z({searchUrl:e,term:t,label:t})}),u=a.featured_content||[],t&&(u=u.filter(function(e){return e.product===t})),u=u.map(function(e){return{url:e.url,label:e.title}}),r.abrupt("return",[].concat(K()(c),K()(u)));case 20:case"end":return r.stop()}},r,null,[[1,10]])}));return function(e){return r.apply(this,arguments)}}()}},ue=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};V()(this,e),this._options=t,this.root=document.querySelector(this._options.rootSelector),this.input=document.querySelector(this._options.inputSelector),this.form=this.root.querySelector("form"),this.search="";var n=window.location,r=(this._options.searchUrl||this.root.getAttribute("data-search-url")||"").trim()||"".concat(n.protocol,"/").concat(n.host,"/busca/");this.searchUrl=r.replace(/\/+$/g,""),this.searchTenant=this._options.searchTenant||this.root.getAttribute("data-search-tenant")||null,this.main=Q(this.root),this.main.render(),this.cover=X(this.main.root),this.suggest=ne(this.main.root),this.suggestService=ce(this.searchUrl,this.searchTenant),this.latestStorage=re({cacheLimit:3}),this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.handleSuggest=this.handleSuggest.bind(this),this.handleClickSuggestion=this.handleClickSuggestion.bind(this),this.handleSubmit=this.handleSubmit.bind(this),this.bind()}return G()(e,[{key:"handleOpen",value:function(){this.search=this.input.value.trim(),this.render(),this.main.show()}},{key:"handleClose",value:function(){this.main.hide()}},{key:"handleSuggest",value:function(e){this.search=e.target.value.trim(),this.render()}},{key:"handleClickSuggestion",value:function(e,t){this.latestStorage.add(t)}},{key:"handleSubmit",value:function(){this.latestStorage.add(Z({searchUrl:this.searchUrl,term:this.search}))}},{key:"bind",value:function(){this.input.addEventListener("focus",this.handleOpen),this.input.addEventListener("blur",this.handleClose),this.input.addEventListener("keyup",this.handleSuggest),this.form&&this.form.addEventListener("submit",this.handleSubmit)}},{key:"render",value:function(){var e=this;this.search?this.suggestService.getSuggestItems(this.search).then(function(t){e.suggest.render({searchUrl:e.searchUrl,search:e.search,suggestions:t,onClick:e.handleClickSuggestion}),e.suggest.show(),e.cover.hide()}):this.suggestService.getCoverItems().then(function(t){var n=e.latestStorage.get();e.cover.render({latestSearches:n,suggestions:t}),e.cover.show(),e.suggest.hide()})}}]),e}(),le=function(){var e=document.getElementById("header"),t=document.querySelector(".header-lift"),n=e.scrollHeight/2,r=e.classList.contains("header--has-gcom-bar"),o=window.pageYOffset;new ue({rootSelector:".header__search ",inputSelector:".header__search__input"});var i=$({baseSVGPath:""}),a=document.querySelector(".header__search__icon")||document.querySelector(".header__search__icon_vi")||document.querySelector(".header__search__icon_usp");a&&a.addEventListener("click",function(e){e.preventDefault(),s()||i.open()});var c=function(){var i=window.pageYOffset,a=e.classList.contains("header--fixed"),c=e.classList.contains("header--fixed");e.classList.contains("header--internal")&&s()&&!r||(s()?i>=n&&!a?(e.classList.add("header--fixed"),t.classList.add("header--fixed")):ie.scrollHeight?(e.classList.add("header--preanim"),o>i?e.classList.add("header--fixed"):e.classList.remove("header--fixed")):(e.classList.remove("header--preanim"),e.classList.remove("header--fixed")),o=i))};c(),document.addEventListener("scroll",c),window.addEventListener("resize",c);var u=document.getElementById("btn_cbn_ao_vivo");u&&u.addEventListener("click",function(){var e=function(e){var t=("; "+document.cookie).split("; "+e+"=");if(2===t.length)return t.pop().split(";").shift()}("station");if(e){var t=window.location.origin+"/ao-vivo/"+e;window.open(t,"_blank")}else{var n=window.location.origin+"/ao-vivo/cbn-sp";window.open(n,"_blank")}})};n(20);var pe=function(e){return"click"!==e.type&&new Promise(t=>{let n=null,r=null;const o=e.timeStamp,i=e=>{n=e.touches[0].clientX,r=e.touches[0].clientY},a=e=>{this.removeEventListener("touchend",a,{passive:!0}),this.removeEventListener("touchmove",i,{passive:!0}),(e=>!n&&!r&&e-o<=300)(e.timeStamp)&&t()};this.addEventListener("touchmove",i,{passive:!0}),this.addEventListener("touchend",a,{passive:!0})})};var fe=(()=>{let e=!0;return()=>new Promise(t=>{setTimeout(()=>{e=!0},500),e&&(e=!1,t())})})();var de=(e=[])=>t=>(function(n){const r=e.map(e=>e.call(this,n));return Promise.all(r).then(()=>{t.call(this,n)}).catch(()=>!1)});const he=(e,t=document)=>t.querySelector(e),me=(e,t=document)=>t.querySelectorAll(e),ge=(e,t,n,r)=>{t.addEventListener(e,n,r)},ye=(e,t,n,r={})=>{if(t.length)for(let o=0;o{if(t.length)for(let o=0;o{const i=`${t}--${e}`;be=Object.assign({},be,{[i]:((e,t)=>n=>{const r=((e,t)=>{let n=e;const r=e=>1===e.nodeType&&!e.classList.contains(t);for(;r(n);)n=n.parentNode;return n.classList&&n.classList.contains(t)?n:null})(n.target,e);r&&t.call(r,n)})(t,n)}),o.addEventListener(e,be[i],r)},_e=(e,t,n,r={},o=document.body)=>{o.removeEventListener(e,be[`${t}--${e}`],r)},Se=e=>[].slice.call(e),xe=(e,t)=>{const n={back:``,next:``};return`data:image/svg+xml;charset=utf8,${encodeURIComponent(n[e]||"")}`};var Ee=(e={})=>{const t=document.querySelector("#menu-curtain"),n=document.querySelector("#menu-container"),{onClose:r}=e;let o=null,i=!1,a=null,s=null,c=null,u=null;let l,p=!1;const f=()=>{p=!0},d=()=>{if(i&&!p&&(window.requestAnimationFrame(d),o&&Math.abs(o-Math.abs(c))>=30)){const e=Math.min(0,c-a),r=Math.max(0,.7+e/l);n.style.transform=`translateX(${e}px)`,o=c,t.style.opacity=r}},h=function(e){a=e.touches[0].pageX,s=e.touches[0].pageY,c=a,u=s,o=a,i=t.classList.contains("menu-curtain--opened"),ye("scroll",me(".menu-level",n),f,{passive:!0}),window.requestAnimationFrame(d)},m=function(e){i&&!p&&(c=e.touches[0].pageX,u=e.touches[0].pageY)},g=function(){if(!i)return;i=!1,p=!1,o=null;const e=Math.min(0,c-a),l=Math.abs(u-s);ve("scroll",me(".menu-level",n),f,{passive:!0}),n.style.transform="",t.style.opacity="",l<=Math.abs(e)&&e<0&&r()};return{open:()=>{ye("scroll",me(".menu-level",n),f,{passive:!0}),document.addEventListener("touchstart",h,{passive:!0}),document.addEventListener("touchmove",m,{passive:!0}),document.addEventListener("touchend",g,{passive:!0}),l=n.getBoundingClientRect().width},close:()=>{i=!1,p=!1,document.removeEventListener("touchstart",h,{passive:!0}),document.removeEventListener("touchmove",m,{passive:!0}),document.removeEventListener("touchend",g,{passive:!0}),ve("scroll",me(".menu-level",n),f,{passive:!0})}}};let Ae=!1;var ke=(e={})=>{if(Ae)return!0;const{container:t,cadunServiceId:n,cadunLoginURL:o,cadunUsePopin:i}=e,{qs:a}=r,s=de([fe,pe]),c=a(".menu-login",t),u=a("a.menu-login__item-login__link",c),l=a(".menu-login__item-logout",c),p=a("a.menu-login__item-logout__link",c),f=a(".menu-login__item__name",c),d=a(".menu-login__item__avatar",c),h=a(".menu-login__item__icon--avatar",c),m=a(".menu-login--logged",c),g=a(".menu-login--not-logged",c),y=()=>{const e=window.Cadun.user.me;return"name"in e&&""!==e.name},v=e=>{g.style.display=e[0],l.style.display=e[1],m.style.display=e[2]},b=()=>{window.Cadun.logout(()=>{window.location.href=window.location.href})},w=e=>{y()&&(p.addEventListener("click",e=>e.preventDefault()),p.addEventListener("click",s(b),{passive:!0}),p.addEventListener("touchstart",s(b),{passive:!0}),v(["none","block","flex"]),(e=>{d&&h&&(e.picture?(d.innerHTML=`
`,d.style.display="block",h.style.display="none"):(d.innerHTML="",d.style.display="none",h.style.display="block"))})(e),f.textContent=e.name.split(" ")[0])},_=e=>{if(e.stopPropagation(),!i&&o){const e=window.location.href,t=`${o}/login/${n}?url=${e}`;window.location.href=t}else window.Cadun.login(n,window.location.href,!1,w,void 0,{_ga:window.utag_data.galinker,glbProduct:window.utag_data.productGAId,component:"menu_mobile"})},S=()=>{u.addEventListener("click",e=>e.preventDefault()),u.addEventListener("click",s(_)),u.addEventListener("touchstart",s(_),{passive:!0}),window.Cadun.Event.subscribe("userInfoAvailable",()=>{const e=window.Cadun.user.me;y()?w(e):y()||v(["block","none","none"])})};return window.cq=window.cq||[],window.cq.push({ready:e=>{e.authorize(n,e=>{"authorized"===e.status?w(e):v(["block","none","none"]),S()})}}),Ae=!0,!0};var Le=(e={})=>{const{debugMode:t=!1,handleGA:n}=e,r=(...e)=>(t&&(console.group("menu tracking"),console.log(["menu mobile",...e]),console.groupEnd("menu tracking")),n(["_trackEvent","menu mobile",...e])),o=e=>{const t=[e.querySelector(".menu-item-title").textContent];let n=e;for(;n&&"menu-cascade"!==n.id;n=n.parentNode)n.classList.contains("is-father")&&t.push(n.querySelector(".menu-btn-back__label").textContent);return t.pop(),t.reverse().join(" > ")};return{push:e=>{const t=e.classList;if(t.contains("menu-btn-back")){const t=e.querySelector(".menu-btn-back__label").textContent,n=e.parentElement.querySelector(".regua-navegacao-menu-item").textContent;r("navegacao",`back | ${n} > ${t}`,0,!0)}else if(t.contains("is-father"))r("navegacao",o(e),0,!0);else{const t=e.querySelector(".menu-item-title").textContent,n=o(e.parentElement.parentElement);r("links clicaveis",n?`${n} > ${t}`:t)}},makeTracking:r}};const Ce={debug:!1,color:"#000",cadunServiceId:4728,cadunLoginURL:null,cadunUsePopin:!0,handleGA(){}};var je=(e={})=>{const t=Object.assign({},Ce,e),{qs:n,qsAll:o,attachEvent:i,toArray:a,on:s,off:c}=r,u=Le(t),l=document.body,p=document.documentElement,f=n("#menu-container"),d=n("#menu-curtain"),h=n(".menu-level-0",f),m=n(".menu-level--opened",f)||n(".menu-level",f),g=n(".menu-rounder",f),y=n(".menu-btn-back__label",f),v=y&&y.textContent,b=n(".menu-btn-back__label",m),w=b&&b.textContent;let _=0;const S=de([fe,pe]),x=+m.classList.contains("menu-level--opened");let E=x;const A=f.dataset.menuWidth||272,k=e=>{b&&(b.textContent=e)};k(v);const L=e=>{g.style.transform=`translateX(-${e*A}px)`,f.scrollTop=0},C=()=>{const e=a(o(".menu-level--opened",f));e.pop().classList.remove("menu-level--opened","first-layer");const t=e.pop();t&&t.classList.add("first-layer"),t||h.classList.add("first-layer","menu-level--opened"),E>0||(g.classList.add("menu-rounder--opened-all"),k(w)),g.removeEventListener("transitionend",C)},j=e=>{"function"==typeof e&&setTimeout(e,150)},O=S(function(){u.push(this),j(()=>{(E=E-1<=0?0:E-1)<1&&n(".menu-initial",f)&&(E=0,g.classList.remove("menu-initial")),L(E),g.addEventListener("transitionend",C)})}),P=S(function(){const e=this.parentNode;u.push(e),e.classList.contains("is-father")?j(()=>{const t=+!!n(".menu-level",e);E+=t;const r=e.parentNode;"UL"===r.nodeName&&r.classList.remove("first-layer"),n(".menu-level",e).classList.add("menu-level--opened","first-layer"),L(E)}):this.target?window.open(this.href,this.target):window.location.href=this.href}),T=e=>e.preventDefault(),R=function(){u.makeTracking("links clicaveis",this.dataset.trackingLabel)},I=function(){const e=this.querySelector(".regua-navegacao-menu-item").textContent;u.makeTracking("links nao clicaveis",e)},N=()=>{.14===_&&(l.classList.remove("menu--no-scroll"),p.classList.remove("menu--no-scroll"),a(o(".menu-level--opened",f)).forEach(e=>{e.classList.remove("menu-level--opened")}),_=0,m.classList.add("menu-level--opened"),x&&g.classList.add("menu-initial"),g.classList.remove("menu-rounder--opened-all"),g.style.transform="",E=x,k(v),d.classList.remove("menu-curtain--animate"),h.classList.remove("menu-level--opened"),c("click","menu-btn-back",T),c("click","menu-btn-back",O,{passive:!0}),c("touchstart","menu-btn-back",O,{passive:!0}),c("click","menu-item-link",T),c("click","menu-item-link",P,{passive:!0}),c("touchstart","menu-item-link",P,{passive:!0}),c("click","menu-products-logo__link",R),c("click","menu-submenu-title",I),f.removeEventListener("transitionend",N))},M=e=>{d.classList.remove("menu-curtain--opened"),_=.14,e?(u.makeTracking("interacoes menu","swipe menu fechado"),e.close()):u.makeTracking("interacoes menu","click menu fechado"),f.addEventListener("transitionend",N)},q=Ee({onClose:()=>{M(q)}}),U=()=>{x||(g.classList.add("menu-rounder--opened-all"),g.classList.remove("menu-initial"))},B=()=>{n(x?".menu-level--opened":".menu-level-0",f).classList.add("menu-level--opened","first-layer"),s("click","menu-btn-back",T),s("click","menu-btn-back",O,{passive:!0}),s("touchstart","menu-btn-back",O,{passive:!0}),s("click","menu-item-link",T),s("click","menu-item-link",P,{passive:!0}),s("touchstart","menu-item-link",P,{passive:!0}),s("click","menu-products-logo__link",R),s("click","menu-submenu-title",I),q.open(),f.removeEventListener("transitionend",B)},D=e=>{"menu-curtain"===e.target.id&&(M(),q.close())};return U(),E&&n(".menu-initial",f).classList.add("menu-loaded"),f.style.display="block",((e={})=>{const{color:t}=e,n=document.createElement("style"),r=xe("back",t),o=document.createTextNode(`.menu-btn-back__icon { background-image: url('${r}'); }`),i=xe("next",t),a=document.createTextNode(`.menu-item-arrow { background-image: url('${i}') }`),s=document.createTextNode(`.menu-product-color { color: ${t}; }`);n.appendChild(o),n.appendChild(a),n.appendChild(s),document.head.appendChild(n)})(t),i("touchstart",d,S(D),{passive:!0}),i("click",d,S(D),{passive:!0}),{toggle:(e=null)=>{(null!==e?e:!d.classList.contains("menu-curtain--opened"))?(_=.33,l.classList.add("menu--no-scroll"),p.classList.add("menu--no-scroll"),d.classList.add("menu-curtain--opened","menu-curtain--animate"),U(),u.makeTracking("interacoes menu","click menu exibido"),f.addEventListener("transitionend",B),ke({container:f,cadunServiceId:t.cadunServiceId,cadunLoginURL:t.cadunLoginURL,cadunUsePopin:t.cadunUsePopin})):(M(),q.close())}}},Oe=function(){function e(){V()(this,e),this.handleMenuToggle=this.handleMenuToggle.bind(this),this.menuEl=document.getElementById("menu-toggle"),this.productColor=this.menuEl.getAttribute("data-product-color"),this.navigateByArrow=window.header_data_navigation_by_arrow||!1;this.menuEl.getAttribute("data-cadun-service-id"),this.menuEl.getAttribute("data-cadun-login-url");var t="true"===this.menuEl.getAttribute("data-cadun-use-popin");try{this.menu=je({color:this.productColor,navigateByArrow:this.navigateByArrow,cadunUsePopin:t,handleGA:function(e){window._gaq&&window._gaq.push(e)}}),this.initEvents()}catch(e){console.error("Erro ao renderizar o menu: ",e)}}return G()(e,[{key:"handleMenuToggle",value:function(e){e.stopPropagation(),this.menu.toggle()}},{key:"initEvents",value:function(){this.menuEl.addEventListener("click",this.handleMenuToggle)}}]),e}(),Pe=function(){if(document.querySelector("#gcom-bar-container")){glb.menuV2={color:"#1e4c9a"};var e=window.gcomBarUseCustomUrl,t="True"===e?window.gcomBarcustomUrl:"",n="True"===e?window.gcomBarcustomUrlTitle:"",r="True"===e?window.gcomBarcustomUrlTitleColor:"";glb.barra={resolveGloboIdJs:function(){return globalWebdeps("globoid-js")},incluirComScore:!1,exibeAssineJa:!1,useVintage:!0,exibeCentral:!1,itemCustomizado:{cor:"".concat(r),texto:"".concat(n),url:"".concat(t)}},function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.charset="utf-8",e.src="https://s.glbimg.com/gl/ba/js/barra-globocom.min.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}},Te=function(){var e=document.querySelector(".header__search__right");if(window.oidcSettings&&e){var t=document.querySelector(window.oidcSettings.loginAreaContainer[0].rootElement);new MutationObserver(function(n,r){n.forEach(function(n){"childList"===n.type&&n.addedNodes&&(t.appendChild(e),r.disconnect())})}).observe(t,{attributes:!1,childList:!0,characterData:!1})}},Re=function(){function e(){V()(this,e),this.exposem*nuListItemEl=document.querySelectorAll('li[class="expose-menu"]'),this.toggleSubmenu,this.handleMouseOver=this.handleMouseOver.bind(this),this.registerHandlers()}return G()(e,[{key:"handleToggleSubItems",value:function(e,t){var n=t.toggled,r=void 0!==n&&n,o=t.element;if(!0===r){var i=o.lastChild.previousElementSibling;i.removeAttribute("hidden");var a=o.querySelector('a[class="menu-exposto__item"]'),s=o.querySelector('i[class="arrow up"]'),c=o.querySelector('i[class="arrow down"]');s.removeAttribute("hidden"),c.setAttribute("hidden",!0),a.style.opacity=.6,o.onmouseleave=function(e){var t=e.toElement||e.relatedTarget;"menu-expose-dropdown-list-item"!==t.className&&"menu-expose-dropdown-list-link"!==t.className&&(a.style.opacity=1,s.setAttribute("hidden",!0),c.removeAttribute("hidden"),i.setAttribute("hidden",!0))};var u=document.getElementById("header");document.addEventListener("scroll",function(e){u.className.includes("--fixed")&&(a.style.opacity=1,c.removeAttribute("hidden"),i.setAttribute("hidden",!0))})}}},{key:"handleMouseOver",value:function(e){var t=this;e.lastChild.previousElementSibling&&(Array.from(e.childNodes).find(function(e){return"menu-item-section"===e.className}).firstElementChild.onmouseover=function(n){return t.handleToggleSubItems(n,{toggled:!0,element:e})})}},{key:"registerHandlers",value:function(){this.exposem*nuListItemEl&&Array.from(this.exposem*nuListItemEl).map(this.handleMouseOver)}}]),e}();le(),new Re,new Oe,Pe(),Te()}]);!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([,,,function(e,t,r){"use strict";r.r(t);r(4)},function(e,t,r){}]);!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";r.r(t);r(1)},function(e,t,r){}]);!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));const i="impressionViewable",r="slotRenderEnded",a=(e,t)=>{window.setTimeout((function n(){window[e]?t():window.setTimeout(n,50)}),50)};class s{constructor(e,t=[],n){this.isMabActive=e,this.currentChannel=window.cdaaas.SETTINGS.CHANNEL,this.currentTenant=window.cdaaas.SETTINGS.SITE_ID,this.tenants=t,this.interval=void 0,this.triggerZone={},this.triggerZoneMap=new Map,this.mab=void 0,this.adContainers=document.querySelectorAll(".mc-has-ad-lazyload"),this.gptExperiment=n}getPositionExperiment(e){if(this.tenants.length>0&&this.currentTenant&&this.currentChannel&&e){const t=this.tenants.filter(e=>e.name===this.currentTenant)[0]||[];return(t.channels&&t.channels.filter(e=>e.channel===this.currentChannel)[0]||[]).positions.filter(t=>t.position===e)[0]||{}||""}return""}resolveAllPromisses(e){return e&&Array.isArray(e)?Promise.all(Array.from(e,([e,t])=>Promise.resolve(t).then(t=>[e,t]))).then(e=>new Map(e)):new Promise(e=>e(new Map))}extractExperiment(e,t,n){if(n){const e=t&&t.split("__")[0]||"";return n&&n.size>0&&n.get(e)||{}}return{}}generateExperiments(){const e=[],t=[];for(const n of this.adContainers){const i=n.getAttribute("data-id").split("__")[0],r=this.getPositionExperiment(i).experiment;if(!t.includes(i)){t.push(i);const n=this.mab.choose(r);e.push([i,n])}}return e}__configureTriggerZone(e){for(const[t,n]of e)this.triggerZone[t]=screen.height*+n.arm.split(":").splice(-1)[0];this.triggerZone.default=2*screen.height}__configureMAB(e){const{googletag:t,utag_data:n,GloboAB:a}=window;if(a&&t&&"function"==typeof t.pubads&&n&&n["ut.env"]){const t=new a(n["ut.env"]||"qa");t.options().skipImpression();const s=t.mab();e.setMabClient(s);const o=e.generateExperiments();e.resolveAllPromisses(o).then(t=>{e.setTzMap(t),window.googletag.pubads().addEventListener(i,t=>e.__bannerListenerCallback(t,e,i)),window.googletag.pubads().addEventListener(r,t=>e.__bannerListenerCallback(t,e,r)),e.__triggerBasicServices()},t=>{console.warn("(MC Ads) Mab Promise Rejection, using default value instead",t),e.__triggerBasicServices()}).catch(()=>{console.warn("(MC Ads) Some problems ocurring when fetch MAB Values, using default value instead"),e.__triggerBasicServices()}),clearInterval(this.interval)}}__bannerListenerCallback(e,t,n){const a=e.slot.getSlotElementId();{const e=this.extractExperiment(t.currentChannel,a,t.triggerZoneMap);if(a&&Object.keys(e).length>0)switch(n){case i:t.mab.reward(e);break;case r:t.mab.increment(e)}}}thisTenantHaveMab(){return this.tenants.filter(e=>e.name===this.currentTenant)[0]}start(){const e=this;this.isMabActive&&this.tenants.length>0&&this.thisTenantHaveMab()?this.interval=setInterval(()=>this.__configureMAB(e),500):(this.__triggerBasicServices(),this.__configureABTriggers())}__configureABTriggers(){const e=["banner_materia1","banner_materia2","banner_materia"],t=(t,n)=>{if(("desktop"!==this.currentChannel||"banner_materia1"!==n)&&(t=>e.includes(t.split("__")[0]))(n))switch(t){case"conversion":this.gptExperiment&&this.gptExperiment.conversion();break;case"impression":this.gptExperiment&&this.gptExperiment.impression()}};if(this.gptExperiment){const e=setInterval(()=>{window.googletag&&window.googletag.pubads&&(window.googletag.pubads().addEventListener(r,e=>t("impression",e.slot.getSlotElementId())),window.googletag.pubads().addEventListener(i,e=>t("conversion",e.slot.getSlotElementId())),clearInterval(e))},500)}}__triggerBasicServices(){this.__configureTriggerZone(this.triggerZoneMap),this.__watchTriggerZone(),this.__watchAdsVisibility()}__watchAdsVisibility(){for(let e=this.adContainers.length-1;e>=0;e--){const t=this.adContainers[e],n=t.getAttribute("data-id")&&t.getAttribute("data-id").split("__")[0],i=this.triggerZone[n]||this.triggerZone.default;window.ScrollSpy.add({el:t,offset:i,ctx:this,callback:e=>{this.__initBanner(e)}})}}__initBanner(e){a("bannerLazyLoading",()=>this.__defineBanner(e))}__defineBanner(e){const t=e.getAttribute("data-id");e.setAttribute("id",t);const n=this.extractExperiment(this.currentChannel,t,this.triggerZoneMap),i={};i.gptLazyload=this.gptExperiment&&"lazyload-nativo-google"===this.gptExperiment.alternative||!1,this.thisTenantHaveMab()&&(i.abAlternative=(()=>{if(n&&n.abAlternative)return"(control)"===n.abAlternative.split(" ")[0]?"control":"mab"})()),setTimeout(window.bannerLazyLoading(t,i),0)}__throttle(e,t=100,n){let i,r;return()=>{const a=n||this,s=+new Date,o=arguments;i&&s{i=s,e.apply(a,o)},t)):(i=s,e.apply(a,o))}}__watchTriggerZone(){window.addEventListener("resize",this.__throttle(()=>this.__configureTriggerZone(this.triggerZoneMap)),!1)}setMabClient(e){this.mab=e}setTzMap(e){this.triggerZoneMap=e}}function o(){const e=[];document.addEventListener("adserver-ad-rendered",t=>{let n,i,r=0,a=null;if(t.publicidade_visivel){if(n=document.querySelector(`#${t.id_elemento}.mc-has-reveal`),!n||!ScrollSpy||!getComputedStyle||e.indexOf(t.id_elemento)>=0)return;e.push(t.id_elemento),a=n.parentNode;const s=function(){let e;return"undefined"!=typeof pageYOffset?pageYOffset:(e=document.documentElement,e=e.clientHeight?e:document.body,e.scrollTop)}();if(a.getBoundingClientRect().top+s{a.style.height=r+"px"})}})}})}const l=["redeglobo"],c=e=>{if(l.includes(window.cdaaas.SETTINGS.SITE_ID))try{a("GloboAB",async()=>{const t=new GloboAB("prod"),n=await t.choose("multicontent-redeglobo-lazyload-gpt");e(n)})}catch(t){e()}else e()},d=(e,t,n)=>`mc-${e}-lazy-load-advwblt.v2:${t}:${n}`,g=e=>[{position:"banner_materia2",experiment:d(e,"smart","banner-materia2")},{position:"banner_materia",experiment:d(e,"smart","banner-materia")},{position:"banner_materia1",experiment:d(e,"smart","banner-materia1")}],u=e=>[{position:"banner_materia2",experiment:d(e,"desktop","banner-materia2")},{position:"banner_materia",experiment:d(e,"desktop","banner-materia")}],p=[];["g1","ge","gshow"].forEach(e=>p.push({name:e,channels:[{channel:"smart",positions:g(e)},{channel:"desktop",positions:u(e)}]}));const h=e=>{e?new s(!1,[],e).start():new s(!0,p).start(),o()},m=()=>{c(h)}},function(e,t,n){"use strict";n.r(t);var i=n(0);n(2);Object(i.a)()},function(e,t,n){}]);//]]>