PageSourceSearch

https://exame.com/_next/static/chunks/81-4a8e1651dfa198eb.js

js exame.com collected 2026-09-24 07:18:25 UTC 16,448 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81,887,9420],{81818:function(e,s,t){t.d(s,{Z:function(){return n}});var l=t(57437);t(2265);var a=t(53335),r=t(84591);function n(e){let{children:s,className:t,native:n=!1,showText:o=!0,...i}=e;return(0,l.jsx)("div",{className:(0,a.dV)("z-1 m-0 flex flex-row justify-center transition-all duration-[900ms] ease-in",n?"sticky top-[120px]":"relative"),children:(0,l.jsxs)("div",{className:"flex flex-col",children:[o&&(0,l.jsx)("div",{className:"adsTextBetweenLines",children:(0,l.jsx)(r.Z,{as:"span",className:"label-small",upper:!0,children:"Continua ap\xf3s a publicidade"})}),(0,l.jsx)("div",{className:(0,a.m6)("relative h-full min-h-[50px] rounded-3 transition-all duration-[900ms] ease-in",n?"sticky top-6":"relative top-0",t),...i}),s,o&&(0,l.jsx)("div",{className:"adsTextBetweenLines bottom"})]})})}},52940:function(e,s,t){t.d(s,{j:function(){return d}});var l=t(57437);t(2265);var a=t(42719),r=t(36718),n=t(30771),o=t(73487),i=t(13042),c=t(41341);function d(e){var s,t;let{post:d,hat:u,...m}=e;if(!d)return null;let{title:x,excerpt:h,content:p}=(0,o.i)(d),f=(0,i.iR)(x),g=h.replace(/(<([^>]+)>)/gi,""),j=(0,c.Cw)(d),v=(null===(s=d._details)||void 0===s?void 0:s.read_time)?"".concat(null===(t=d._details)||void 0===t?void 0:t.read_time," min"):(0,r.LE)(p);return(0,l.jsx)(a.VA,{link:j,height:"auto",width:"100%",thumbnail:d.featured_media_url,thumbnailAlt:x,hat:null!=u?u:(0,n.ZP)(d),title:f,description:"H\xe1 ".concat((0,r.aN)(d.date)," • ").concat(v," de leitura"),excerpt:g,sponsor:d.sponsor_name,borderColor:"#e0e0e0",...m})}},15414:function(e,s,t){t.d(s,{x:function(){return d}});var l=t(57437);t(2265);var a=t(36718),r=t(30771),n=t(73487),o=t(13042),i=t(41341),c=t(42719);function d(e){var s,t;let{bgColor:d,election:u,hat:m,post:x,...h}=e;if(!x)return null;let{title:p,content:f}=(0,n.i)(x);p=(0,o.iR)(p);let{titulo_resumido_chamadas:g}=(0,n.i)(x.acf);g=(0,o.iR)(g);let j=(0,i.Cw)(x),v=(null===(s=x._details)||void 0===s?void 0:s.read_time)?"".concat(null===(t=x._details)||void 0===t?void 0:t.read_time," min"):(0,a.LE)(f);return(0,l.jsx)(c.ZR,{bgColor:d,borderColor:"#e0e0e0",description:"H\xe1 ".concat((0,a.aN)(x.date)," • ").concat(v," de leitura"),election:u,hat:m||(0,r.ZP)(x),height:"auto",link:j,postId:x.id,sponsor:x.sponsor_name,thumbnail:x.featured_media_url,thumbnailAlt:p,title:g||p,video:!1,width:"100%",...h})}},50914:function(e,s,t){t.d(s,{Z:function(){return o}});var l=t(57437),a=t(53335),r=t(84591),n=t(41341);function o(e){let{children:s,className:t,href:o,...i}=e;return(0,l.jsx)("span",{className:(0,a.m6)("flex w-fit rounded-1 p-1",t),...i,children:(0,l.jsx)(r.Z,{as:o?"a":"p",className:"label-small flex items-center gap-1 dark:text-colors-dark-text",upper:!0,href:(0,n.ed)(o||""),children:s})})}},93650:function(e,s,t){t.d(s,{default:function(){return o}});var l=t(57437),a=t(2265),r=t(53335),n=t(84591);class o extends a.Component{static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,s){console.error("ErrorBoundary capturou um erro:",e,s)}render(){return this.state.hasError?(0,l.jsxs)("div",{className:(0,r.m6)("my-2 flex flex-col items-center justify-center gap-2 text-center",this.props.className),children:[(0,l.jsx)(n.Z,{as:"h2",className:"headline-extra-small",children:"Um erro ocorreu :( Pedimos desculpas, iremos trabalhar nisso."}),(0,l.jsx)(n.Z,{className:"body-large",children:"Tente recarregar a p\xe1gina."})]}):this.props.children}constructor(e){super(e),this.state={hasError:!1}}}},88996:function(e,s,t){t.d(s,{default:function(){return b}});var l=t(57437),a=t(99376),r=t(2265),n=t(81818),o=t(42719),i=t(52940),c=t(15414),d=t(93650),u=t(71115),m=t(40209),x=t(84591),h=t(80727),p=t(62308),f=t(79213),g=t(8917),j=t(41341);let v=["agro",f.D1];function b(e){let{catData:s,customViewMoreHref:t=null,isMobile:f,postsData:b,webstoriesData:N}=e,w=(0,a.usePathname)();return(0,r.useEffect)(()=>{let e=document.getElementsByClassName("ad-pos-1")[0],s=document.getElementsByClassName("ad-pos-2")[0],t=document.getElementsByClassName("ad-pos-3")[0];if(f){e.setAttribute("id","banner_320x50_0"),s.setAttribute("id","banner_300x250_0"),t.setAttribute("id","banner_300x250_1");return}e.setAttribute("id","banner_970x250_0"),s.setAttribute("id","banner_970x250_1"),t.setAttribute("id","banner_300x600_0")},[f]),(0,l.jsxs)(l.Fragment,{children:[s.acf.show_sponsors&&(0,l.jsx)(m.Z,{catSlug:s.slug,sponsors:s.acf.sponsors}),v.includes(s.slug)&&(0,l.jsx)(p.Z,{}),(0,l.jsx)("main",{className:"mb-8 mt-4 lg:mt-0",children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsx)("div",{className:"desktop-only h-[350px] pt-6",children:(0,l.jsx)(n.Z,{className:"ad-pos-1"})}),(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{id:"sponsored-head"})}),(0,l.jsx)("div",{className:"row",children:(0,l.jsx)("div",{className:"row pt-6",children:(0,l.jsxs)(u.ZM,{children:[(0,l.jsx)(i.j,{post:b[0]}),(0,l.jsxs)(u.oY,{children:[b.slice(1,"/negocios/"==w?3:4).map(e=>(0,l.jsx)(o.HP,{post:e,categoryLink:"#"},e.slug)),"/negocios/"==w?(0,l.jsx)("div",{id:"category-index-highlight-native-ad",style:{width:"100%",height:"165px"}}):""]})]})})}),(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)(u.$0,{title:"",children:[(0,l.jsx)("div",{className:"row",children:(0,l.jsx)(u.Je,{columns:3,children:(0,g.Z)(b,4,3,e=>(0,l.jsx)(c.x,{post:e},e.id))})}),(0,l.jsx)("div",{className:"row pb-8 pt-5",children:(0,l.jsx)(n.Z,{className:"ad-pos-2"})}),(0,l.jsx)("div",{className:"row",children:(0,l.jsx)(u.Je,{columns:3,children:(0,g.Z)(b,7,3,e=>(0,l.jsx)(c.x,{post:e},e.id))})})]})}),(0,l.jsx)("div",{className:"row",children:(0,l.jsx)(u.$0,{title:"",children:(0,l.jsx)("div",{className:"row",children:(0,l.jsx)(u.Je,{columns:3,children:(0,g.Z)(b,10,3,e=>(0,l.jsx)(c.x,{post:e},e.id))})})})}),(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)(u.C1,{children:[(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)(u.nf,{children:[(0,l.jsx)("div",{className:"big-container third pt-6",children:(0,l.jsx)(n.Z,{className:"ad-pos-3"})}),(0,l.jsx)("div",{className:"row",children:(0,l.jsx)(u.Je,{columns:2,children:(0,g.Z)(b,13,2,e=>(0,l.jsx)(c.x,{post:e},e.id))})}),(0,l.jsx)("div",{className:"row",children:(0,l.jsx)(u.Je,{columns:2,children:(0,g.Z)(b,15,2,e=>(0,l.jsx)(c.x,{post:e},e.id))})})]})}),(0,l.jsx)(d.default,{className:"mb-6",children:(null==N?void 0:N.length)>0&&(0,l.jsx)("div",{className:"row",children:(0,l.jsx)(h.Z,{className:"mb-8 mt-6",pageName:s.slug,redirectUrl:(0,j.ed)("/webstories/".concat(s.slug,"/ultimas-publicacoes/")),webstoriesData:N})})}),(0,l.jsx)("div",{className:"row",children:(0,l.jsx)(u.Je,{columns:3,children:(0,g.Z)(b,17,3,e=>(0,l.jsx)(c.x,{post:e},e.id))})}),(0,l.jsx)("div",{className:"row",children:(0,l.jsx)(u.Je,{columns:3,children:(0,g.Z)(b,20,3,e=>(0,l.jsx)(c.x,{post:e},e.id))})})]})}),(0,l.jsx)("div",{className:"row-centered",style:{margin:"30px 0"},children:(0,l.jsx)(x.Z,{as:"a",className:"label-large uppercase hover:text-colors-exame90",href:(0,j.ed)(null!=t?t:"".concat(s.slug,"/ultimas-noticias/")),children:"Ver mais not\xedcias"})})]})})]})}},90887:function(e,s,t){t.r(s),t.d(s,{default:function(){return n}});
1var l=t(57437),a=t(22744),r=t(22553);function n(e){let{children:s,onCloseModal:t,open:n,showCloseModal:o=!0}=e;return n?(0,l.jsx)(r.Z,{children:(0,l.jsx)("div",{className:"fixed inset-0 z-20 flex h-full w-full items-center justify-center overflow-hidden bg-[#000000a6] py-0 lg:overflow-auto lg:p-0",onClick:t,children:(0,l.jsxs)("div",{className:"my-0 h-screen w-full max-w-full rounded-none border border-solid border-colors-hover bg-[#FFFEFF] px-4 py-12 shadow-[0_8px_14px_-15px_rgba(0,0,0,0.3)] dark:border-colors-dark-divider dark:bg-colors-dark-surface lg:h-auto lg:w-[415px] lg:rounded-2 lg:p-4",onClick:e=>e.stopPropagation(),children:[o&&(0,l.jsx)("div",{className:"[&>svg]:color-[#3c454d] mb-4 flex items-center justify-end [&>svg]:cursor-pointer dark:[&>svg]:text-colors-dark-text",children:(0,l.jsx)(a.FU5,{onClick:t})}),s]})})}):null}},22553:function(e,s,t){t.d(s,{Z:function(){return r}});var l=t(2265),a=t(54887);function r(e){let{children:s}=e,[t,r]=(0,l.useState)(!1);return(0,l.useEffect)(()=>(r(!0),()=>r(!1)),[]),t?(0,a.createPortal)(s,document.querySelector("#portal")):null}},99586:function(e,s,t){var l=t(57437),a=t(2265),r=t(85733),n=t(19764),o=t(66298),i=t(84591),c=t(46232);s.default=(0,a.memo)(function(e){let{catSlug:s,sponsors:t}=e;return t.length?(0,l.jsx)("div",{className:"bg-colors-surface px-4 py-4 xl:px-[72px]",children:(0,l.jsx)("div",{className:"relative mx-auto my-0 flex h-full w-full max-w-[1296px] flex-col justify-between gap-4 lg:flex-row",children:t.map(e=>{let{title:t,list:a}=e;return(0,l.jsxs)("div",{className:"flex flex-col items-start gap-2 lg:flex-row lg:items-center",children:[(0,l.jsxs)(i.Z,{as:"p",className:"label-medium text-nowrap",children:[t,":"]}),(0,l.jsx)(n.tq,{spaceBetween:8,autoplay:{delay:2500,disableOnInteraction:!1},modules:[r.pt],slidesPerView:4,className:"!m-0 max-w-[344px]",children:a.map((e,t)=>{let{logo:a,link:r}=e;return(0,l.jsx)(n.o5,{className:"!h-[40px] !w-[80px]",children:(0,l.jsx)("a",{href:r,target:"_blank",className:"h-full w-full",onClick:()=>{(0,c.Z)({event:"section_button_clicked",section_name:"".concat(s,"_sponsor_").concat(t+1)})},children:(0,l.jsx)(o.Z,{src:a.url,alt:a.alt||a.title,layout:"fill",className:"h-full w-full object-contain"})})},a.url)})})]},t)})})}):null})},40209:function(e,s,t){t.d(s,{Z:function(){return l.default}});var l=t(99586)},33221:function(e,s,t){t.d(s,{Z:function(){return x}});var l=t(57437),a=t(99376),r=t(2265),n=t(22744),o=t(53335),i=t(14760),c=t(84591),d=t(72652),u=t(79213);let m=(0,r.memo)(e=>{let{suggestion:s,onClick:t,className:a,...r}=e;return(0,l.jsxs)("li",{className:(0,o.m6)("flex cursor-pointer items-center gap-2 border-0 border-b border-solid border-colors-divider py-4 text-[#0f1923a3] hover:text-colors-text",a),onClick:t,...r,children:[(0,l.jsx)(n.vU7,{className:"fill-colors-text"}),s.suggestion]})});function x(e){let{redirect:s=!0,showActiveLocationButtons:t=!1}=e,x=(0,a.useRouter)(),{suggestions:h,value:p,error:f,focusedIndex:g,ulRef:j,onSuggestionClick:v,onInputChange:b,onInputKeyDown:N,onCloseModalLocation:w,onActiveLocation:_}=(0,d.Z)(),y=(0,r.useMemo)(()=>h.map((e,t)=>(0,l.jsx)(m,{suggestion:e,tabIndex:t,className:t===g?"text-colors-text":"",onClick:()=>{v(e),s&&x.push("/".concat(u.D1,"/clima/cidade/").concat(e.id))}},t)),[v,h,x,s,g]);return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsx)(n.vU7,{className:"absolute left-2 top-1/2 -translate-y-1/2 fill-colors-text"}),(0,l.jsx)("input",{type:"search",placeholder:"Buscar por cidade",value:p,onChange:b,className:(0,o.dV)("w-full rounded-2 border border-solid border-colors-divider bg-colors-background p-4 pl-8 text-[#0f1923a3] outline-none focus-within:outline-none focus:outline-none",h.length>0&&"rounded-b-none border-b-0"),onKeyDown:e=>N(e,s)})]}),f?(0,l.jsx)("p",{children:f}):(0,l.jsx)("ul",{className:(0,o.dV)("input-suggestion","m-0 flex h-auto max-h-[150px] w-full flex-col overflow-auto rounded-b-2 border border-t-0 border-solid border-colors-divider bg-colors-background px-4",0===h.length&&"border-none"),ref:j,children:(0,l.jsx)(c.Z,{as:"span",className:"label-medium",children:y})}),t&&(0,l.jsxs)("div",{className:"mt-4 flex justify-end gap-4",children:[(0,l.jsx)(i.Z,{type:"tertiary",onClick:w,children:"Agora n\xe3o"}),(0,l.jsx)(i.Z,{type:"primary",onClick:_,children:"Ativar"})]})]})}
1m.displayName=m},62308:function(e,s,t){t.d(s,{Z:function(){return h}});var l=t(57437),a=t(99376),r=t(22744),n=t(90887),o=t(84591),i=t(33221),c=t(54752),d=t(72652),u=t(79213),m=t(41341),x=t(46232);function h(){let{cityFromLocalstorage:e,climateUrl:s,isLoading:t,openModal:h,setOpenModal:p,showCity:f}=(0,c.H)(),{onCloseModalLocation:g}=(0,d.Z)(),j=(0,a.usePathname)(),v={"/":"home","/brasil/":"brasil","/agro/":"agro"},b=v[j]?"clima_topbar_".concat(v[j],"_busca"):"clima_topbar_busca";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("section",{className:"w-full bg-colors-text p-4 lg:px-12 lg:py-2",children:(0,l.jsxs)("div",{className:"mx-auto my-0 flex w-full max-w-[1296px] flex-col items-start justify-between gap-8 lg:flex-row lg:items-center lg:gap-0",children:[(0,l.jsx)(o.Z,{as:"a",className:"label-large text-colors-background",onClick:()=>{(0,x.Z)({event:"section_button_clicked",section_name:b})},href:(0,m.ed)("/".concat(u.D1,"/clima/busca")),children:"Clima e Previs\xe3o do Tempo"}),!t&&(0,l.jsxs)("div",{className:"flex gap-2",children:[f&&e&&(0,l.jsx)(o.Z,{as:"a",className:"label-large text-colors-background",href:(0,m.ed)(s),children:e.suggestion}),(0,l.jsx)("div",{className:"flex items-center gap-2 bg-transparent",children:(0,l.jsx)("a",{onClick:()=>{(0,x.Z)({event:"section_button_clicked",section_name:"clima_topbar_ativar_localizacao"}),p(!0)},children:f&&e?(0,l.jsx)(r.oTc,{className:"cursor-pointer border-0 border-l border-solid border-colors-divider fill-colors-background pl-1 hover:fill-colors-primary"}):(0,l.jsx)(o.Z,{as:"span",className:"label-large text-colors-background",children:"Ativar minha localiza\xe7\xe3o"})})})]})]})}),h&&(0,l.jsx)(n.default,{open:h,onCloseModal:g,children:(0,l.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center",children:[(0,l.jsx)(o.Z,{as:"h1",className:"headline-small",children:"Ative sua localiza\xe7\xe3o"}),(0,l.jsx)(o.Z,{className:"title-large mb-2",children:"Que tal saber a previs\xf5es meteorol\xf3gicas precisas e atualizadas? Basta digitar a sua cidade no campo abaixo e clicar em ativar."}),(0,l.jsx)(i.Z,{redirect:!1,showActiveLocationButtons:!0})]})})]})}},72652:function(e,s,t){t.d(s,{Z:function(){return d}});var l=t(99376),a=t(2265),r=t(54752),n=t(79213);let o=(e,s)=>{let t;return function(){for(var l=arguments.length,a=Array(l),r=0;r<l;r++)a[r]=arguments[r];clearTimeout(t),t=setTimeout(()=>e(...a),s)}};var i=t(19595),c=t(46232);function d(){let{setShowCity:e,setOpenModal:s}=(0,r.H)(),t=(0,l.useRouter)(),d=(0,a.useRef)(null),[u,m]=(0,a.useState)(""),[x,h]=(0,a.useState)([]),[p,f]=(0,a.useState)(null),[g,j]=(0,a.useState)(-1),v=(0,a.useCallback)(async e=>{e.length>=3?(h(null===n.MX||void 0===n.MX?void 0:n.MX.filter(s=>s.nome.toLowerCase().includes(e.toLowerCase())).map(e=>({id:e.id,suggestion:"".concat(e.nome," - ").concat(e.uf)}))),j(-1)):h([])},[]),b=(0,a.useMemo)(()=>o(v,300),[v]),N=(0,a.useCallback)(e=>{(0,c.Z)({event:"section_button_clicked",section_name:"selected_city_".concat(e.suggestion)}),m(e.suggestion),f(e),h([])},[]),w=e=>(0,i.qQ)(n.QR,JSON.stringify(e)),_=()=>{if(d.current&&-1!==g){let e=d.current.childNodes[g];e&&(d.current.scrollTop=e.offsetTop-d.current.offsetTop)}};return(0,a.useEffect)(()=>{b(u)},[u,b]),{suggestions:x,value:u,selectedSuggestion:p,focusedIndex:g,ulRef:d,setSuggestions:h,setValue:m,onSuggestionClick:N,onInputChange:e=>{m(e.target.value)},onSaveSelectedCityOnLocalstorage:w,onInputKeyDown:(e,s)=>{"ArrowDown"===e.key?(e.preventDefault(),j(e=>Math.min(e+1,x.length-1)),_()):"ArrowUp"===e.key?(e.preventDefault(),j(e=>Math.max(e-1,-1)),_()):"Enter"===e.key&&-1!==g&&(e.preventDefault(),N(x[g]),s&&t.push("/".concat(n.D1,"/clima/cidade/").concat(x[g].id)))},onCloseModalLocation:()=>{h([]),m(""),s(!1)},onActiveLocation:()=>{w(p),s(!1),e(!0),h([]),m(""),(0,c.Z)({event:"section_button_clicked",section_name:"bar_selected_city_".concat(p.suggestion)})}}}},54752:function(e,s,t){t.d(s,{H:function(){return i}});var l=t(57437),a=t(2265),r=t(79213),n=t(19595);let o=(0,a.createContext)({cityFromLocalstorage:null,climateUrl:"",isLoading:!0,openModal:!1,setOpenModal:()=>{},setShowCity:()=>{},showCity:!1});o.displayName="ClimateContext";let i=()=>(0,a.useContext)(o);s.default=e=>{let{children:s}=e,t=(0,n.fp)(r.QR),i=t?JSON.parse(t):null,[c,d]=(0,a.useState)(!!t),[u,m]=(0,a.useState)("/".concat(r.D1,"/clima/busca")),[x,h]=(0,a.useState)(!1),[p,f]=(0,a.useState)(!0);return(0,a.useEffect)(()=>
1{i&&(d(!0),m("/".concat(r.D1,"/clima/cidade/").concat(i.id))),f(!1)},[i]),(0,l.jsx)(o.Provider,{value:{cityFromLocalstorage:i,climateUrl:u,isLoading:p,openModal:x,setOpenModal:h,setShowCity:d,showCity:c},children:s})}},19595:function(e,s,t){t.d(s,{fp:function(){return l},qQ:function(){return a}});let l=e=>{try{return window.localStorage.getItem(e)}catch(e){return null}},a=(e,s)=>{try{return window.localStorage.setItem(e,s)}catch(e){}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.