1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8945],{44078:function(e,t,o){o.d(t,{TP:function(){return l},_8:function(){return n}});var a=o(57437);function n(e){let{...t}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"2443",height:"2500",preserveAspectRatio:"xMidYMid",viewBox:"0 0 256 262",...t,children:[(0,a.jsx)("path",{d:"M255.878,133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45,12.04-9.283,30.172-26.69,42.356l-.244,1.622,38.755,30.023,2.685.268c24.659-22.774,38.875-56.282,38.875-96.027",fill:"#4285F4"}),(0,a.jsx)("path",{d:"M130.55,261.1c35.248,0,64.839-11.605,86.453-31.622l-41.196-31.913c-11.024,7.688-25.82,13.055-45.257,13.055-34.523,0-63.824-22.773-74.269-54.25l-1.531.13-40.298,31.187-.527,1.465C35.393,231.798,79.49,261.1,130.55,261.1",fill:"#34A853"}),(0,a.jsx)("path",{d:"M56.281,156.37c-2.756-8.123-4.351-16.827-4.351-25.82,0-8.994,1.595-17.697,4.206-25.82l-.073-1.73L15.26,71.312l-1.335.635C5.077,89.644,0,109.517,0,130.55s5.077,40.905,13.925,58.602l42.356-32.782",fill:"#FBBC05"}),(0,a.jsx)("path",{d:"M130.55,50.479c24.514,0,41.05,10.589,50.479,19.438l36.844-35.974C195.245,12.91,165.798,0,130.55,0,79.49,0,35.393,29.301,13.925,71.947l42.211,32.783c10.59-31.477,39.891-54.251,74.414-54.251",fill:"#EB4335"})]})}function l(e){let{isDark:t=!1,...o}=e;return t?(0,a.jsxs)("svg",{width:"48",height:"24",viewBox:"0 0 48 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[(0,a.jsx)("rect",{width:"48.0006",height:"24",rx:"4",fill:"#001E62"}),(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.2686 10.793H40.3006L40.2206 11.151H41.2706C42.2306 11.151 42.5506 11.4125 42.5506 12.189V12.563C42.1993 12.2793 41.7498 12.1462 41.3006 12.193C40.3506 12.193 39.8926 12.6075 39.8926 13.4565V13.517C39.8926 14.314 40.3426 14.717 41.2426 14.717H41.4826C42.4326 14.717 42.9106 14.317 42.9106 13.517V12.185C42.9086 11.2 42.4326 10.793 41.2686 10.793ZM42.5486 13.5735C42.5486 14.145 42.2446 14.3665 41.4686 14.3665H41.3186C40.5686 14.3665 40.2466 14.113 40.2466 13.5215V13.461C40.2466 12.817 40.5506 12.5435 41.2666 12.5435H41.3266C42.1826 12.5435 42.5466 12.809 42.5466 13.429L42.5486 13.5735ZM16.4286 11.493L16.6206 10.5395H14.9846V9.2395L13.8346 9.4165V13.304C13.8346 14.648 14.3466 15.0465 15.7466 15.0465H16.3606L16.5506 14.1H15.8306C15.1946 14.1 14.9866 13.939 14.9866 13.2225V11.489C14.9806 11.493 16.4286 11.493 16.4286 11.493ZM8.52865 8.7885V12.9655C8.52865 14.5155 9.22465 15.1585 10.7366 15.1585C12.3086 15.1585 13.0046 14.5305 13.0046 12.9735V12.5735C13.0046 11.1085 12.3606 10.3965 10.9546 10.3965C10.5054 10.3739 10.0613 10.4997 9.69065 10.7545V8.6035L8.53065 8.7885H8.52865ZM10.7786 11.332C11.5746 11.332 11.8546 11.654 11.8546 12.6155V12.9735C11.8546 13.911 11.5746 14.233 10.7626 14.233C9.95065 14.233 9.67065 13.911 9.67065 12.9655V12.4825C9.67065 11.6215 9.95064 11.3325 10.7786 11.3325V11.332ZM19.2086 10.4C17.6966 10.4 17.0006 11.0545 17.0006 12.55V12.7795C17.0006 14.2 17.6046 14.888 19.0286 14.888C19.4673 14.9157 19.9021 14.7922 20.2606 14.538V14.707C20.2606 15.507 19.9206 15.7695 19.1286 15.7695H18.6506C18.5342 15.7568 18.4168 15.7821 18.3159 15.8416C18.215 15.901 18.136 15.9915 18.0906 16.0995C17.4342 17.1872 16.509 18.0877 15.4039 18.7144C14.2988 19.3411 13.0511 19.6729 11.7806 19.678C9.77291 19.6478 7.8591 18.8225 6.45908 17.3831C5.05905 15.9438 4.28713 14.0078 4.31265 12C4.28713 9.9922 5.05905 8.05625 6.45908 6.61685C7.8591 5.17746 9.77291 4.35216 11.7806 4.322C13.2097 4.3321 14.6059 4.75204 15.8034 5.53196C17.001 6.31188 17.9496 7.41904 18.5366 8.722H18.8806C18.2845 7.32982 17.2953 6.14167 16.0343 5.30299C14.7733 4.46432 13.2951 4.01151 11.7806 4C9.68887 4.03161 7.69504 4.89162 6.23653 6.39137C4.77802 7.89112 3.97393 9.90816 4.00065 12C3.97393 14.0918 4.77802 16.1089 6.23653 17.6086C7.69504 19.1084 9.68887 19.9684 11.7806 20C13.0195 19.9968 14.2393 19.6943 15.3362 19.1183C16.4331 18.5424 17.3746 17.71 18.0806 16.692H19.1926C20.6566 16.692 21.4086 16.1205 21.4086 14.668V12.475C21.4086 11.025 20.6886 10.3985 19.2086 10.3985V10.4ZM20.2686 12.923C20.2686 13.723 19.9966 13.9695 19.2086 13.9695C18.3246 13.9695 18.1486 13.6555 18.1486 12.726V12.581C18.1486 11.6635 18.3046 11.331 19.2086 11.331C20.0926 11.331 20.2686 11.653 20.2686 12.5905V12.9245V12.923ZM43.6446 14.723H44.0006V9.32H43.6446V14.72V14.723ZM35.6046 11.15L35.6846 10.792H34.0886V9.7745L33.7206 9.843V13.336C33.7206 14.33 34.0846 14.7 35.0566 14.7H35.5846L35.6526 14.342H35.0606C34.3246 14.342 34.0886 14.1005 34.0886 13.352V11.147L35.6046 11.151V11.15ZM38.9086 13.17C38.9086 14.0915 38.6286 14.3855 37.7586 14.3855C36.9146 14.3855 36.6266 14.0795 36.6266 13.17V10.793H36.2586V13.1715C36.2586 14.3025 36.6786 14.745 37.7546 14.745C38.8306 14.745 39.2626 14.2905 39.2626 13.1715V10.793H38.9066V13.1715L38.9086 13.17ZM30.8366 12.9125V12.5825C30.8366 11.524 31.1866 11.15 32.1766 11.15H33.0126L33.0926 10.792H32.1766C30.9966 10.792 30.4686 11.342 30.4686 12.5785V12.9085C30.4686 14.144 30.9966 14.695 32.1766 14.695H33.0266L33.1066 14.337H32.1766C31.2126 14.345 30.8366 13.9425 30.8366 12.9125ZM28.1926 10.792H27.2246L27.1446 11.15H28.1946C29.1446 11.15 29.4666 11.4115 29.4666 12.188
1V12.562C29.1153 12.2783 28.6658 12.1452 28.2166 12.192C27.2666 12.192 26.8086 12.6065 26.8086 13.4555V13.516C26.8086 14.313 27.2646 14.716 28.1646 14.716H28.4046C29.3446 14.716 29.8206 14.316 29.8206 13.516V12.185C29.8246 11.199 29.3566 10.7925 28.1966 10.7925L28.1926 10.792ZM29.4646 13.5725C29.4646 14.148 29.1726 14.3655 28.3926 14.3655H28.2426C27.4866 14.3655 27.1626 14.112 27.1626 13.5205V13.46C27.1626 12.816 27.4666 12.5425 28.1826 12.5425H28.2426C29.0986 12.5425 29.4626 12.808 29.4626 13.428C29.4646 13.4285 29.4646 13.5735 29.4646 13.5735V13.5725ZM24.6006 10.7325C23.4686 10.7325 22.9406 11.308 22.9406 12.5435V15.9H23.2966V14.177C23.4598 14.3636 23.6637 14.5101 23.8927 14.605C24.1216 14.7 24.3693 14.7409 24.6166 14.7245C25.7446 14.7245 26.2446 14.165 26.2446 12.9135V12.531C26.2486 11.2875 25.7406 10.731 24.6006 10.731V10.7325ZM25.8846 12.9135C25.8846 13.972 25.5446 14.366 24.6246 14.366C24.4477 14.392 24.2672 14.3765 24.0973 14.3208C23.9274 14.2652 23.7727 14.1708 23.6455 14.0451C23.5183 13.9194 23.422 13.766 23.3643 13.5967C23.3065 13.4275 23.2888 13.2472 23.3126 13.07V12.5435C23.3126 11.5135 23.6886 11.091 24.6046 11.091C25.5286 11.091 25.8846 11.491 25.8846 12.5315V12.9135Z",fill:"white"})]}):(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100.604",height:"40",viewBox:"0 0 100.604 40",...o,children:(0,a.jsx)("path",{id:"btg-pactual",d:"M93.732,16.982H91.3l-.2.9h2.636c2.414,0,3.219.654,3.219,2.6v.936a4.313,4.313,0,0,0-3.149-.926c-2.384,0-3.541,1.036-3.541,3.159v.151c0,1.992,1.137,3,3.39,3h.6c2.384,0,3.592-1.006,3.592-3v-3.33C97.857,18,96.66,16.982,93.732,16.982Zm3.219,6.952c0,1.429-.765,1.982-2.716,1.982h-.372c-1.891,0-2.7-.634-2.7-2.113v-.151c0-1.61.765-2.294,2.565-2.294h.151c2.153,0,3.068.664,3.068,2.213Zm-65.694-5.2.483-2.384H27.626V13.1l-2.887.443V23.26c0,3.36,1.288,4.356,4.809,4.356h1.539l.483-2.364H29.759c-1.6,0-2.123-.4-2.123-2.193V18.722C27.616,18.732,31.258,18.732,31.258,18.732ZM11.388,11.972V22.414c0,3.873,1.751,5.483,5.553,5.483,3.954,0,5.7-1.569,5.7-5.463v-1c0-3.662-1.62-5.443-5.161-5.443a5.176,5.176,0,0,0-3.179.9V11.509l-2.918.463Zm5.664,6.358c2,0,2.706.8,2.706,3.209v.9c0,2.344-.7,3.149-2.746,3.149s-2.746-.8-2.746-3.169V21.207c0-2.153.7-2.877,2.787-2.877ZM38.249,16c-3.8,0-5.553,1.64-5.553,5.382v.573c0,3.551,1.519,5.272,5.1,5.272a4.853,4.853,0,0,0,3.1-.875v.423c0,2-.855,2.656-2.847,2.656h-1.2a1.368,1.368,0,0,0-1.408.825h0A18.646,18.646,0,0,1,19.567,39.2,19.011,19.011,0,0,1,.785,20,19.011,19.011,0,0,1,19.567.8,18.788,18.788,0,0,1,36.559,11.811h.865A19.59,19.59,0,0,0,19.567,0,19.807,19.807,0,0,0,0,20,19.807,19.807,0,0,0,19.567,40a19.379,19.379,0,0,0,15.845-8.27h2.8c3.682,0,5.573-1.429,5.573-5.06V21.187c0-3.622-1.811-5.191-5.533-5.191ZM40.915,22.3c0,2-.684,2.616-2.666,2.616-2.223,0-2.666-.785-2.666-3.109v-.362c0-2.294.392-3.129,2.666-3.129,2.223,0,2.666.8,2.666,3.149V22.3Zm58.793,4.5h.9V13.3h-.9V26.8ZM79.487,17.877l.2-.9H75.674V14.437l-.926.171V23.34c0,2.485.915,3.41,3.36,3.41h1.328l.171-.9H78.119c-1.851,0-2.445-.6-2.445-2.475V17.867l3.813.01Zm8.31,5.05c0,2.3-.7,3.038-2.9,3.038-2.123,0-2.847-.765-2.847-3.038V16.982h-.926v5.946c0,2.827,1.056,3.934,3.763,3.934s3.793-1.137,3.793-3.934V16.982h-.9v5.946Zm-20.3-.644v-.825c0-2.646.885-3.581,3.37-3.581h2.1l.2-.9h-2.3c-2.968,0-4.3,1.378-4.3,4.467v.825c0,3.089,1.328,4.467,4.3,4.467H73l.2-.9H70.865c-2.425.02-3.37-.986-3.37-3.561Zm-6.65-5.3H58.41l-.2.9h2.636c2.394,0,3.2.654,3.2,2.6v.936a4.313,4.313,0,0,0-3.149-.926c-2.384,0-3.541,1.036-3.541,3.159v.151c0,1.992,1.147,3,3.41,3h.6c2.364,0,3.561-1.006,3.561-3v-3.33c.01-2.465-1.167-3.481-4.085-3.481Zm3.2,6.952c0,1.439-.734,1.982-2.7,1.982h-.382c-1.9,0-2.716-.634-2.716-2.113v-.151c0-1.61.765-2.294,2.565-2.294h.151c2.153,0,3.068.664,3.068,2.213C64.044,23.571,64.044,23.934,64.044,23.934Zm-12.233-7.1c-2.847,0-4.175,1.439-4.175,4.527v8.39h.9V25.443a4.065,4.065,0,0,0,3.32,1.368c2.837,0,4.095-1.4,4.095-4.527v-.956c.01-3.109-1.268-4.5-4.135-4.5Zm3.229,5.453c0,2.646-.855,3.632-3.169,3.632-2.193,0-3.3-1.087-3.3-3.239V21.358c0-2.575.946-3.632,3.249-3.632,2.324,0,3.219,1.006,3.219,3.6v.956Z",fill:"#001e61",fillRule:"evenodd"})})}},29448:function(e,t,o){o.d(t,{rM:function(){return x},uZ:function(){return p}});var a=o(57437),n=o(2265);o(85957);
1var l=o(22744),r=o(53335),s=o(29486),c=o(97525),i=o(68391),d=o(73608),u=o(46232);let m=async(e,t)=>{if(navigator.share){let e={title:"Exame",text:"".concat(t.title),url:"".concat(t.link)};await navigator.share(e),(0,u.Z)({event:"section_button_clicked",format:"Share",section_name:"article_share_compartilhamento"})}else e.preventDefault(),navigator.clipboard.writeText(window.location.href)};function p(e){let{props:t,icon:o,onClick:l,track:s,slug:c,className:i,section_name:d="article"}=e,m=(0,n.useMemo)(()=>s?function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];(0,u.Z)({event:"section_button_clicked",format:"Share",section_name:"".concat(d,"_share_").concat(c.toLowerCase())}),null==l||l(...t)}:l,[c,l,s,d]);return t.href?(0,a.jsx)("a",{href:t.href,onClick:m,className:(0,r.m6)("mb-2 flex h-6 w-6 items-center justify-center rounded-2 bg-transparent [&>svg]:text-[#6e6e73]",i),...t,children:o}):(0,a.jsx)("button",{onClick:m,className:(0,r.m6)("mb-2 flex h-6 w-6 items-center justify-center rounded-2 bg-transparent [&>svg]:text-[#6e6e73]",i),"aria-label":"Compartilhar em ".concat(c),...t,children:o})}function x(e){let{link:t,title:o,postId:p,showBookMark:x=!0}=e,h=(0,d.Z)("(max-width: 768px)"),[f,g]=(0,n.useState)(!0);(0,i.q)(()=>{g(!1)});let v=(0,n.useMemo)(()=>[{props:{title:"Compartilhar pelo Whatsapp",href:"https://api.whatsapp.com/send?text=".concat(encodeURIComponent(o)+" "+encodeURIComponent(t)+"?".concat(encodeURIComponent("utm_source=whatsapp&utm_medium=social&utm_campaign=barra-compartilhamento via Exame"))),target:"_blank"},track:!0,icon:(0,a.jsx)(c.ud,{}),slug:"whatsapp",showInMobile:!0},{props:{title:"Compartilhar pelo Facebook",href:"https://facebook.com/sharer/sharer.php?u=".concat(t),target:"_blank"},track:!0,icon:(0,a.jsx)(c.Vq,{}),slug:"facebook",showInMobile:!0},{props:{title:"Compartilhar pelo LinkedIn",href:"http://www.linkedin.com/shareArticle?mini=true&url=".concat(t),target:"_blank"},track:!0,icon:(0,a.jsx)(c.pA,{}),slug:"linkedIn",showInMobile:!0},{props:{title:"Compartilhar pelo Telegram",href:"https://t.me/share/url?url=".concat(t,"&text=").concat(o),target:"_blank"},track:!0,icon:(0,a.jsx)(c.YG,{}),slug:"telegram",showInMobile:!1},{props:{title:"Compartilhar pelo Twitter",href:"https://twitter.com/intent/tweet?url=".concat(t),target:"_blank"},track:!0,icon:(0,a.jsx)(c.Zm,{}),slug:"twitter",showInMobile:!1}],[t,o]),_={link:t,title:o};return(0,a.jsx)("div",{className:"flex gap-4",children:!f&&(0,a.jsxs)(a.Fragment,{children:[v.map(e=>(0,n.createElement)("a",{...e.props,key:e.slug,onClick:()=>{(0,u.Z)({event:"section_button_clicked",format:"Share",section_name:"article_share_".concat(e.slug)})},className:(0,r.dV)("h-6 w-6 text-colors-dark-divider hover:text-colors-hover",h&&!e.showInMobile?"hide":"")},e.icon)),(0,a.jsx)("a",{className:"h-6 w-6 text-colors-dark-divider hover:text-colors-hover hover:underline",title:"Compartilhar em...",onClick:e=>m(e,_),children:(0,a.jsx)(l.KQY,{})}),x&&(0,a.jsx)(s.Z,{postId:p,postLink:t})]})})}},99586:function(e,t,o){var a=o(57437),n=o(2265),l=o(85733),r=o(19764),s=o(66298),c=o(84591),i=o(46232);t.default=(0,n.memo)(function(e){let{catSlug:t,sponsors:o}=e;return o.length?(0,a.jsx)("div",{className:"bg-colors-surface px-4 py-4 xl:px-[72px]",children:(0,a.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:o.map(e=>{let{title:o,list:n}=e;return(0,a.jsxs)("div",{className:"flex flex-col items-start gap-2 lg:flex-row lg:items-center",children:[(0,a.jsxs)(c.Z,{as:"p",className:"label-medium text-nowrap",children:[o,":"]}),(0,a.jsx)(r.tq,{spaceBetween:8,autoplay:{delay:2500,disableOnInteraction:!1},modules:[l.pt],slidesPerView:4,className:"!m-0 max-w-[344px]",children:n.map((e,o)=>{let{logo:n,link:l}=e;return(0,a.jsx)(r.o5,{className:"!h-[40px] !w-[80px]",children:(0,a.jsx)("a",{href:l,target:"_blank",className:"h-full w-full",onClick:()=>{(0,i.Z)({event:"section_button_clicked",section_name:"".concat(t,"_sponsor_").concat(o+1)})},children:(0,a.jsx)(s.Z,{src:n.url,alt:n.alt||n.title,layout:"fill",className:"h-full w-full object-contain"})})},n.url)})})]},o)})})}):null})},40209:function(e,t,o){o.d(t,{Z:function(){return a.default}});var a=o(99586)},90982:function(e,t,o){o.d(t,{Z:function(){return m}});var a=o(57437),n=o(2265),l=o(22744),r=o(7261),s=o(53335),c=o(97525),i=o(29448),d=o(79996),u=o(46232),m=(0,n.memo)(function(e){let t,o,{postTitle:m,editorText:p,factor:x=1.33}
1=e,h=function(){let[e,t]=(0,n.useState)(),o=()=>{let e;let o="";document.getSelection?o=(e=document.getSelection()).toString():document.selection&&(o=(e=document.selection.createRange()).text),t({text:o,selection:e})};return(0,n.useEffect)(()=>{let e=!0;return document.onselectionchange=()=>e&&o(),()=>e=!1},[]),e}(),[f,g]=(0,n.useState)({top:0,left:0}),[v,_]=(0,n.useState)(""),[w,C]=(0,n.useState)({supported:!1,navigator:null});(0,n.useEffect)(()=>{_(window.location.href),C({supported:!!navigator.share,navigator:navigator,clicked:!1})},[]),p.text&&(h=p);let b=(0,n.useRef)({editorText:p,location:f}).current;(0,n.useEffect)(()=>(document.onclick=function(e){void 0===e&&(e=window.event);let t=e.target;void 0!==b.editorText&&"SPAN"===t.tagName&&b.editorText.text===p.text&&g(b.location),"SPAN"!==t.tagName&&(p.text="")},()=>{b.editorText=p,b.location=f}),[p,f,b]),(0,n.useEffect)(()=>{let e=document.documentElement.scrollTop||document.body.scrollTop;if(h&&h.text.length){let t=h.selection.getRangeAt(0).getBoundingClientRect();g({top:e+t.top-36*x,left:t.left+t.width/2-67})}},[h,x]),t=h&&void 0!==h.text?h.text:"";let j=(0,n.useCallback)(async e=>{let o;(o=v.split("/").includes("reportagens-especiais")?"".concat(m," | Reportagens especiais | Exame"):"".concat(m," | Exame"),navigator.share)?(await navigator.share({title:o,text:"".concat(t),url:"".concat(v)}),(0,u.Z)({event:"section_button_clicked",format:"Share",section_name:"dossie_share_compartilhamento"})):(e.preventDefault(),navigator.clipboard.writeText(window.location.href))},[v,m,t]);o=t.length>241?t.slice(0,238).concat("..."):t;let Z=(0,n.useMemo)(()=>[{props:{title:"Copiar para \xe1rea de transfer\xeancia",width:"24px",height:"24px",marginBottom:0,svgFontSize:"24px",backgroundColor:"#0f1923"},track:!0,section_name:"dossie",icon:(0,a.jsx)(l._qq,{className:"text-colors-background"}),slug:"COPY",onClick:()=>{(0,d.vM)(t,v),r.Am.success("Texto selecionado",{position:"bottom-right",autoClose:1500})}},{props:{title:"Compartilhar pelo Twitter",href:"https://twitter.com/intent/tweet?url=".concat(v,'&text="').concat(encodeURIComponent(o),'"&via=exame'),target:"_blank",width:"24px",height:"24px",marginBottom:0,svgFontSize:"24px",backgroundColor:"#0f1923"},track:!0,section_name:"dossie",icon:(0,a.jsx)(c.Zm,{}),slug:"TWITTER"}],[v,t,o]),y=(0,n.useRef)(!1);return((0,n.useEffect)(()=>{let e=Array.from(document.querySelectorAll(".section-item"));h&&h.text.length&&(y.current=e.some(e=>e.contains(h.selection.focusNode.parentNode)))},[h,y]),h&&h.text&&h.text.length&&!(h.text.length<1)&&y.current)?(0,a.jsxs)("div",{className:(0,s.m6)("absolute left-0 top-0 z-100 animate-fade-in","".concat(h?"block":"hidden")),id:"exm-tooltip",children:[(0,a.jsx)("div",{className:"absolute h-4 w-4 rotate-45 bg-colors-text",style:{top:"".concat(f.top+30,"px"),left:"".concat(f.left+58,"px")}}),(0,a.jsxs)("div",{className:"relative flex h-8 items-center rounded-1 bg-[#0f1923] px-1 [&>a]:flex [&>a]:w-8 [&>a]:px-2 [&>button]:flex [&>button]:w-8 [&>button]:px-2",style:{top:"".concat(f.top,"px"),left:"".concat(f.left,"px")},children:[Z&&Z.map(e=>(0,n.createElement)(i.uZ,{...e,key:e.slug,className:"m-0 w-6 [&>svg]:fill-colors-background"})),w.supported&&(0,a.jsx)(i.uZ,{props:{title:"Compartilhar em...",width:"24px",height:"24px",marginBottom:0,svgFontSize:"24px",backgroundColor:"#0f1923"},icon:(0,a.jsx)(l.KQY,{}),onClick:j,className:"m-0 h-6 w-6 [&>span]:text-colors-background"})]})]}):null})},42075:function(e,t,o){o.d(t,{Z:function(){return r}});var a=o(57437),n=o(2265);function l(e){let{element:t,useWindow:o}=e,a=((null==t?void 0:t.current)||document.body).getBoundingClientRect();return o?{x:window.scrollX,y:window.scrollY}:{x:a.left,y:a.top}}function r(){let[e,t]=(0,n.useState)(0),[o,r]=(0,n.useState)(0);return!function(e,t,o,a,r){let s=(0,n.useRef)(l({useWindow:void 0})),c=()=>{let t=l({element:void 0,useWindow:void 0});e({prevPos:s.current,currPos:t}),s.current=t};(0,n.useLayoutEffect)(()=>{let e=()=>{c()};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},t)}(e=>{let{currPos:t}=e;r(Math.abs(t.y))},[]),(0,n.useEffect)(()=>{t(o/(document.documentElement.offsetHeight-window.innerHeight)*100)},[o]),(0,a.jsx)("div",{"data-cy":"reading-progress-bar",className:"fixed bottom-0 top-0 z-100 h-1 w-full bg-colors-divider",children:(0,a.jsx)("div",{className:"h-full bg-colors-primary",style:{width:"".concat(e,"%")}})})}},38945:function(e,t,o){o.d(t,{ArticlePage:function(){return Y}});var a=o(57437),n=o(2265),l=o(81818),r=o(53335),s=o(44078),c=o(46232);function i(e){let{className:t=""}=e;return(0,a.jsxs)("a",{href:"https://google.com/preferences/source?q=exame.com",target:"_blank",rel:"noopener noreferrer","aria-label":"Priorizar Exame nos meus resultados Google",onClick:()=>(0,c.Z)({event:"section_button_clicked",section_name:"google_preferred_source"}),className:(0,r.m6)("bg-white inline-flex items-center gap-2 rounded-1 border border-solid border-[#747775] px-4 py-2 no-underline",t),children:[(0,a.jsx)(s._8,{className:"h-5 w-5 shrink-0"}),(0,a.jsx)("span",{className:"whitespace-nowrap text-sm font-bold text-[#1f1f1f]",children:"Priorizar nos meus resultados Google"})]})}
1var d=o(93650),u=o(6771),m=o(23123),p=o(40209),x=o(8757),h=o(90982),f=o(72464),g=o(22744),v=o(84591),_=o(36718);function w(e){let{readTime:t}=e;return(0,a.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,a.jsx)(v.Z,{as:"span",className:"label-small uppercase text-colors-placeholder",children:"Contexto"}),(0,a.jsx)(v.Z,{as:"span",className:"label-small uppercase text-colors-placeholder",children:t})]})}function C(e){let{context:t}=e;return(0,a.jsx)(v.Z,{as:"p",html:!0,className:"body-large",children:t})}function b(e){let{topics:t,isOpen:o}=e;return(0,a.jsx)("ul",{className:(0,r.dV)("body-large list-disc ps-[24px]",!o&&"hidden"),children:t.map(e=>(0,a.jsx)("li",{children:e},e))})}function j(e){let{isOpen:t,onClick:o}=e,n=t?g.Faw:g.Yc6;return(0,a.jsxs)("button",{type:"button",className:"flex items-center gap-1","aria-expanded":t,onClick:o,children:[(0,a.jsx)("span",{className:"label-small from-colors-exm_plus_start to-colors-exm_plus_end bg-gradient-to-r bg-clip-text font-bold text-transparent",children:"Ver resumo r\xe1pido"}),(0,a.jsx)(n,{className:"text-colors-exm_plus_end size-4"})]})}function Z(e){let{context:t,topics:o}=e,[l,s]=(0,n.useState)(!1),i=(Array.isArray(o)?o:[]).map(e=>{let{topic:t}=e;return t}),d=i.length>0,u=(0,_.LE)([t,...i].join(" "),!0);return(0,a.jsx)("div",{className:(0,r.dV)("custom-exm-plus-border","rounded-3 p-px pl-[6px]"),children:(0,a.jsxs)("div",{className:(0,r.dV)("flex flex-1 flex-col gap-4 roun
1ded-[10px] p-4",l?"bg-[#F9F9F9]":"bg-colors-surface"),children:[(0,a.jsx)(w,{readTime:u}),(0,a.jsx)(C,{context:t}),d&&(0,a.jsx)(b,{topics:i,isOpen:l}),d&&(0,a.jsx)(j,{isOpen:l,onClick:()=>{(0,c.Z)({event:"section_button_clicked",section_name:l?"article_context_collapsed":"article_context_expanded"}),s(e=>!e)}})]})})}var y=o(88631),k=o(44788),V=o(66298),N=o(39986),M=(0,n.memo)(function(e){let{cover:t,caption:o,isMobile:l}=e,r=(0,n.useMemo)(()=>l?660:750,[l]);return t?(0,a.jsxs)("div",{className:"relative w-full",children:[(0,a.jsx)("figure",{className:"relative aspect-[3/2] h-full w-full",children:(0,a.jsx)(V.Z,{src:(0,N.v)(t.url,r),alt:o,layout:"fill",className:"placeholder-image object-cover",priority:!0,quality:100})}),(0,a.jsx)(v.Z,{as:"p",className:"title-extra-small my-2 text-colors-text dark:text-colors-background",children:o})]}):null}),E=o(52592),H=o(81837),A=o(42075),L=o(13830),S=o(70609),T=o(97370),R=o(27815),I=o(87189),B=o(15889),F=o(39097),P=o(95795),D=o(79493),q=o(73487),z=o(79996),W=o(41341);function Y(e){var t,o,r,s;let{alsoSeePostsData:c,alsoSeeSelection:g,customPath:v,groupDetail:_,matchDetail:w,isArticleModel:C=!1,isMobile:b,isPreview:j,mainCategory:V,mostReadByCatData:N,post:Y}=e,{title:U,excerpt:G}=(0,q.i)(Y),O=(0,D.Z)(Y),K=null!=v?v:(0,P.Z)(Y),{editorText:Q}=(0,F.Z)(),X=Y.acf.newsletter||(null===(t=Y.categories_data[0])||void 0===t?void 0:t.slug)||"desperta",J="true"===Y.acf.hidden_hero_image,$="table_groups"===Y.acf.world_cup_widget_type||"match"===Y.acf.world_cup_widget_type?Y.acf.world_cup_widget_type:null,ee=Y.acf.world_cup_group_stage,et=Y.acf.world_cup_widget_title,eo=(0,n.useRef)(null),ea=(0,n.useRef)(null),en=(0,B.R)(eo),{getPost:el}=(0,I._)(),er=Y.tags_data.some(e=>"branded-content"===e.slug),es=(0,n.useMemo)(()=>({acf:{show_sponsors:Y.category_acf_data.show_sponsors,sponsors:Y.category_acf_data.sponsors,show_submenu:Y.category_acf_data.show_submenu,submenu:Y.category_acf_data.submenu,show_subcategories:Y.category_acf_data.show_subcategories},sub_categories:Y.sub_categories,parent_data:V}),[V,Y]);return(0,n.useEffect)(()=>{el(Y)}),(0,n.useEffect)(()=>{let e=document.getElementsByClassName("ad-pos-1")[0],t=document.getElementsByClassName("ad-pos-4")[0],o=document.getElementsByClassName("ad-pos-5")[0],a=document.getElementsByClassName("ad-pos-6")[0],n=document.getElementsByClassName("ad-pos-7")[0],l=document.getElementsByClassName("ad-pos-8")[0],r=document.getElementsByClassName("ad-pos-9")[0];if(b){e.setAttribute("id","banner_320x50_1"),t&&t.setAttribute("id","banner_300x250_4"),o&&o.setAttribute("id","banner_300x250_5"),a&&l&&(a.setAttribute("id","banner_300x250_6"),l.setAttribute("id","banner_300x250_8")),n.setAttribute("id","banner_300x250_7");return}e.setAttribute("id","banner_970x250_1"),t&&o&&(t.setAttribute("id","banner_728x90_1"),o.setAttribute("id","banner_728x90_2")),a.setAttribute("id","banner_300x250_2"),n.setAttribute("id","banner_300x600_1"),l.setAttribute("id","banner_300x250_3"),r.setAttribute("id","banner_300x600_2")},[b]),(0,n.useEffect)(()=>{let e=e=>{var t;let o=(null===(t=window.getSelection())||void 0===t?void 0:t.toString())||"";if(!o)return null;let a=o.substring(0,200);e.clipboardData&&((0,z.vM)(a,Y.link),e.preventDefault())},t=ea.current;return t&&t.addEventListener("copy",e),()=>{t&&t.removeEventListener("copy",e)}}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.Z,{postTitle:Y.title,editorText:Q}),(0,a.jsx)(A.Z,{}),!C&&(0,a.jsx)(x.Z,{catData:es,isArticle:!0}),Y.category_acf_data.show_sponsors&&(0,a.jsx)(p.Z,{catSlug:"article_".concat(Y.categories_data[0].slug),sponsors:Y.category_acf_data.sponsors}),(0,a.jsxs)(u.r.Container,{className:"mt-7 gap-6",children:[(0,a.jsx)(u.r.Content,{className:"mb-7",children:(0,a.jsx)(l.Z,{className:"ad-pos-1 h-[50px] lg:h-[250px]",showText:!1})}),(0,a.jsx)("div",{"data-cy":"article-share",className:"relative hidden 2xl:col-span-1 2xl:flex 2xl:justify-center",children:(0,a.jsx)(L.Z,{type:"fixed",isInViewport:en,link:"".concat("https://exame.com").concat((0,W.DW)(Y.link)),postId:Y.id,title:Y.title.rendered})}),(0,a.jsxs)(u.r.Content,{className:"news-content-container lg:gap-7 xl:col-span-8 2xl:col-span-7",id:"news-component",ref:ea,children:[(0,a.jsxs)("div",{"data-js":"hero-container",children:[(0,a.jsx)(T.Z,{post:Y}),(0,a.jsx)(k.Z,{path:K}),(0,a.jsx)(R.Z,{excerpt:G,isArticleModel:C,title:U}),!J&&(0,a.jsx)(d.default,{children:(0,a.jsx)(M,{cover:Y.exm_cover,caption:O,isMobile:b})}),(0,a.jsx)("div",{className:"mt-6 block 2xl:hidden",children:(0,a.jsx)(L.Z,{type:"inline",link:"".concat("https://exame.com").concat((0,W.DW)(Y.link)),postId:Y.id,title:Y.title.rendered})})]}),!C&&(0,a.jsx)(d.default,{children:(0,a.jsxs)("div",{className:"flex w-full flex-col-reverse justify-between lg:flex-row lg:items-center",children:[(0,a.jsx)(y.Z,{authors:Y.exm_authors,date:Y.date,modified_date:Y.modified,old_author_data:Y.old_author_data}),(0,a.jsx)(i,{className:"mt-2 lg:mt-0"})]})}
1),!!Y.acf.article_context&&(0,a.jsx)(d.default,{children:(0,a.jsx)(Z,{context:Y.acf.article_context,topics:Y.acf.topic_excerpt})}),(0,a.jsx)("div",{ref:eo,children:(0,a.jsx)(d.default,{children:(0,a.jsx)(f.Z,{alsoSeePostsData:c,alsoSeeSelection:g,groupDetail:_,matchDetail:w,isMobile:b,post:Y,worldCupGroupStage:ee,worldCupWidgetType:$,worldCupWidgetTitle:et})})}),!b&&(0,a.jsx)(d.default,{children:(0,a.jsx)(H.Z,{category:null===(o=Y.categories_data[0])||void 0===o?void 0:o.name,posts:Y.more_from_category})})]}),(0,a.jsx)(u.r.Content,{as:"div",className:"hidden 2xl:col-span-1 2xl:block",children:(0,a.jsx)("div",{})}),(0,a.jsx)(u.r.Sidebar,{className:"xl:col-span-4 2xl:col-span-3",children:(0,a.jsx)(S.Z,{isMobile:b,mostReadByCatData:N,newsletterType:X,newsletterImage:null===(r=Y.acf.newsletter_image)||void 0===r?void 0:r.url,post:Y})}),b&&(0,a.jsx)(u.r.Content,{className:"lg:col-span-7 lg:col-start-2 lg:gap-7",children:(0,a.jsx)(d.default,{children:(0,a.jsx)(H.Z,{category:null===(s=Y.categories_data[0])||void 0===s?void 0:s.name,posts:Y.more_from_category,showTopAds:!er,"data-cy":"more-recent-category"})})}),(0,a.jsx)(u.r.Content,{className:"mb-7 lg:col-span-12",id:"hide_share","data-cy":"more-recent-general",children:(0,a.jsx)(d.default,{children:(0,a.jsx)(E.Z,{moreRecentGeneralPosts:Y.recent_posts})})}),j&&(0,a.jsx)(m.Z,{cookieName:"exm_preview_post_id"})]})]})}},73608:function(e,t,o){var a=o(2265);t.Z=function(e){let t=e=>window.matchMedia(e).matches,[o,n]=(0,a.useState)(t(e));function l(){n(t(e))}return(0,a.useEffect)(()=>{let t=window.matchMedia(e);return l(),t.addListener?t.addListener(l):t.addEventListener("change",l),()=>{t.removeListener?t.removeListener(l):t.removeEventListener("change",l)}},[e]),o}},39097:function(e,t,o){o.d(t,{Z:function(){return n}});var a=o(2265);function n(){let[e,t]=(0,a.useState)({text:"",selection:""}),o=e=>{t({text:e.target.innerText,selection:document.getSelection()})};return(0,a.useEffect)(()=>{document.querySelectorAll(".is_emphasis").forEach(e=>{e.addEventListener("click",o)})},[]),{editorText:e}}},79493:function(e,t,o){o.d(t,{w:function(){return n}});let a=(e,t)=>{let o=e;return t.forEach(e=>{o=o.replace(e,"")}),o},n=e=>{let t="";return t=""!==e.title?e.title:e.caption,e.source&&e.credits?t+=" (".concat(e.source,"/").concat(e.credits,")"):e.source?t+=" (".concat(e.source,")"):e.credits?t+=" (".concat(e.credits,")"):t+="",t=a(t,["<p>","<p/>","<p />","</p>","</ p>","<br>","<br/>","<br />"])};t.Z=e=>{var t,o,n,l,r,s,c,i,d,u,m,p,x;let h="",f=(null===(t=e.acf)||void 0===t?void 0:t.cover_custom_caption)||"",g=e.featured_image_title||"",v=(null===(n=e.exm_cover)||void 0===n?void 0:null===(o=n.meta)||void 0===o?void 0:o.title)||"",_=(null===(r=e.exm_cover)||void 0===r?void 0:null===(l=r.meta)||void 0===l?void 0:l.caption)||"";return h=""!==f?f:""!==g?g:""!==v&&v.lenght>_.lenght?v:_,e.fonte[0]&&(null===(c=e.exm_cover)||void 0===c?void 0:null===(s=c.meta)||void 0===s?void 0:s.credits)?h+=" (".concat(null===(m=e.exm_cover)||void 0===m?void 0:null===(u=m.meta)||void 0===u?void 0:u.credits,"/").concat(e.fonte[0],")"):e.fonte[0]?h+=" (".concat(e.fonte[0],")"):(null===(d=e.exm_cover)||void 0===d?void 0:null===(i=d.meta)||void 0===i?void 0:i.credits)&&(h+=" (".concat(null===(x=e.exm_cover)||void 0===x?void 0:null===(p=x.meta)||void 0===p?void 0:p.credits,")")),h=a(h,["<p>","<p/>","<p />","</p>","</ p>","<br>","<br/>","<br />"])}},79996:function(e,t,o){o.d(t,{KX:function(){return n},MI:function(){return l},kC:function(){return a},vM:function(){return r}});let a=e=>e.charAt(0).toUpperCase()+e.slice(1),n=e=>!e||!e.trim().replace(/‎|\u200E/gi,"").length,l=e=>e.split("-").map(function(e){return e.charAt(0).toUpperCase()+e.substring(1).toLowerCase()}).join(" "),r=async(e,t)=>{if(navigator.clipboard&&navigator.clipboard.writeText)try{await navigator.clipboard.writeText(e+"\n\nEste \xe9 um trecho original publicado em Exame.com. Leia a mat\xe9ria completa em ".concat("".concat(t,"?utm_source=copiaecola&utm_medium=compartilhamento")))}catch(e){console.error("Falha ao copiar o texto: ",e)}else console.warn("API do Clipboard n\xe3o est\xe1 dispon\xedvel.")}}}]);
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.