PageSourceSearch

https://riomemorias.com.br/_next/static/chunks/0faet_tl6.795.js

js riomemorias.com.br collected 2026-10-02 06:16:46 UTC 37,290 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,362086,e=>{"use strict";var t=e.i(843476),a=e.i(500932),r=e.i(271645),o=e.i(88653),n=e.i(532181),i=e.i(116065),l=e.i(228546),s=e.i(551360);function m(e){let r,o,n,l=(0,a.c)(8),{foto:m,className:c,decorativo:d}=e;return l[0]!==c?(r=(0,s.cn)("aspect-[3/4] w-full overflow-hidden",c),l[0]=c,l[1]=r):r=l[1],l[2]!==d||l[3]!==m?(o=m?(0,t.jsx)(i.Img,{media:m,"aria-hidden":d,className:"h-full w-full object-cover transition-transform duration-500 ease-out group-hover:scale-105"}):(0,t.jsx)("span",{className:"block h-full w-full bg-current opacity-10"}),l[2]=d,l[3]=m,l[4]=o):o=l[4],l[5]!==r||l[6]!==o?(n=(0,t.jsx)("figure",{className:r,children:o}),l[5]=r,l[6]=o,l[7]=n):n=l[7],n}function c(e){let r,o,n,i,l=(0,a.c)(11),{membro:s,onAbrir:c}=e;return l[0]!==s.foto?(r=(0,t.jsx)(m,{foto:s.foto,decorativo:!0,className:"max-md:w-[calc(5*var(--col)_+_1.25rem)]"}),l[0]=s.foto,l[1]=r):r=l[1],l[2]!==s.nome?(o=(0,t.jsx)("p",{className:"mt-[0.9rem] text-[1.02rem] leading-[1.2] font-medium md:text-[1.5rem]",children:s.nome}),l[2]=s.nome,l[3]=o):o=l[3],l[4]!==s.cargo?(n=s.cargo&&(0,t.jsx)("p",{className:"mt-[0.25rem] text-[0.8568rem] leading-[1.2] opacity-70 md:text-[1.26rem]",children:s.cargo}),l[4]=s.cargo,l[5]=n):n=l[5],l[6]!==c||l[7]!==r||l[8]!==o||l[9]!==n?(i=(0,t.jsxs)("button",{type:"button",onClick:c,"aria-haspopup":"dialog",className:"group block w-full cursor-pointer text-left",children:[r,o,n]}),l[6]=c,l[7]=r,l[8]=o,l[9]=n,l[10]=i):i=l[10],i}function d(e){let o,i,s,c,d,x,p,h,b,f,g,v,y,j,w,k,N,C,S,_,E,R,T,A,M,F,$=(0,a.c)(47),{membro:P,cores:D,onFechar:I}=e,z=(0,r.useRef)(null);$[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{let e=document.activeElement;return z.current?.focus({preventScroll:!0}),()=>e?.focus()},i=[],$[0]=o,$[1]=i):(o=$[0],i=$[1]),(0,r.useEffect)(o,i),$[2]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{if("Tab"!==e.key||!z.current)return;let t=z.current.querySelectorAll('button, a[href], [tabindex]:not([tabindex="-1"])');if(0===t.length)return;let a=t[0],r=t[t.length-1];e.shiftKey&&(document.activeElement===a||document.activeElement===z.current)?(e.preventDefault(),r.focus()):e.shiftKey||document.activeElement!==r||(e.preventDefault(),a.focus())},$[2]=s):s=$[2];let L=s;$[3]===Symbol.for("react.memo_cache_sentinel")?(c={opacity:0},d={opacity:1},x={opacity:0},p={duration:.25},$[3]=c,$[4]=d,$[5]=x,$[6]=p):(c=$[3],d=$[4],x=$[5],p=$[6]),$[7]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none fixed inset-0 bg-black/40 backdrop-blur-md"}),$[7]=h):h=$[7],$[8]!==I?(b=e=>{e.stopPropagation(),I()},$[8]=I,$[9]=b):b=$[9],$[10]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":!0,className:"h-[1.75rem] w-[1.75rem]",children:(0,t.jsx)("path",{d:"M3 3 L21 21 M21 3 L3 21",stroke:"currentColor",strokeWidth:"3.5",strokeLinecap:"butt"})}),$[10]=f):f=$[10],$[11]!==b?(g=(0,t.jsx)("button",{type:"button",onClick:b,"aria-label":"Fechar",className:"fixed top-[1.375rem] right-[1.375rem] z-[80] cursor-pointer text-black transition-opacity hover:opacity-70 md:hidden",children:f}),$[11]=b,$[12]=g):g=$[12],$[13]===Symbol.for("react.memo_cache_sentinel")?(v={opacity:0,y:16},y={opacity:1,y:0},j={opacity:0,y:16},w={duration:.3,ease:"easeOut"},$[13]=v,$[14]=y,$[15]=j,$[16]=w):(v=$[13],y=$[14],j=$[15],w=$[16]),$[17]===Symbol.for("react.memo_cache_sentinel")?(k=(0,t.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":!0,className:"h-[1.75rem] w-[1.75rem]",children:(0,t.jsx)("path",{d:"M3 3 L21 21 M21 3 L3 21",stroke:"currentColor",strokeWidth:"3.5",strokeLinecap:"butt"})}),$[17]=k):k=$[17],$[18]!==I?(N=(0,t.jsx)("button",{type:"button",onClick:I,"aria-label":"Fechar",className:"absolute top-[1.375rem] right-[1.375rem] z-10 cursor-pointer text-black transition-opacity hover:opacity-70 max-md:hidden",children:k}),$[18]=I,$[19]=N):N=$[19];let q=D?.corFundo,O=D?.corTexto;return $[20]!==q||$[21]!==O?(C={backgroundColor:q,color:O},$[20]=q,$[21]=O,$[22]=C):C=$[22],$[23]!==P.foto?(S=(0,t.jsx)(m,{foto:P.foto,className:"aspect-square shrink-0 [&_img]:object-[50%_20%]"}),$[23]=P.foto,$[24]=S):S=$[24],$[25]!==P.nome?(_=(0,t.jsx)("h3",{className:"text-[1.375rem] leading-[1.1] font-medium md:text-[1.875rem]",children:P.nome}),$[25]=P.nome,$[26]=_):_=$[26],$[27]!==P.cargo?(E=P.cargo&&(0,t.jsx)("p",{className:"mt-[0.5rem] text-[0.9315rem] leading-[1.2] opacity-70 md:text-[1.25rem]",children:P.cargo}),$[27]=P.cargo,$[28]=E):E=$[28],$[29]!==P.bio?(R=P.bio&&(0,t.jsx)("div",{className:"mt-[1.5rem] text-[0.9315rem] leading-[1.2] text-pretty md:text-[1.375rem] md:leading-[1.55] [&_p+p]:mt-[1rem]",children:(0,t.jsx)(l.RichText,{data:P.bio,disableContainer:!0})}),$[29]=P.bio,$[30]=R):R=$[30],$[31]!==_||$[32]!==E||$[33]!==R?(T=(0,t.jsxs)("div",{className:"px-[3.5rem] max-md:px-[calc((100%_+_0.3125rem)/8)] pt-[2.275rem] pb-[4.25rem]",children:[_,E,R]}),$[31]=_,$[32]=E,$[33]=R,$[34]=T):T=$[34],$[35]!==C||$[36]!==S||$[37]!==T?(A=(0,t.jsxs)("div",{style:C,className:"flex flex-col bg-white text-black max-md:min-h-dvh",children:[S,T]}),$[35]=C,$[36]=S,$[37]=T,$[38]=A):A=$[38],$[39]!==P.nome||$[40]!==N||$[41]!==A?(M=(0,t.jsxs)(n.motion.article,{ref:z,tabIndex:-1,role:"dialog","aria-modal":"true","aria-label":P.nome,onKeyDown:L,onClick:u,initial:v,animate:y,exit:j,transition:w,className:"relative mx-auto mt-[9.125rem] mb-[6rem] w-full max-w-[36rem] max-md:mt-0 max-md:mb-0 max-md:max-w-none",children:[N,A]}),$[39]=P.nome,$[40]=N,$[41]=A,$[42]=M):M=$[42],$[43]!==I||$[44]!==g||$[45]!==M?(F=(0,t.jsxs)(n.motion.div,{initial:c,animate:d,exit:x,transition:p,onClick:I,className:"fixed inset-0 z-[70] overflow-y-auto overscroll-contain px-[1.5rem] max-md:px-0 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:[h,g,M]}),$[43]=I,$[44]=g,$[45]=M,$[46]=F):F=$[46],F}function u(e){return e.stopPropagation()}e.s(["EquipeBrowser",0,function(e){let n,i,l,m,u,x,p,h,b,f,g,v,y=(0,a.c)(27);
1y[0]!==e?({grupos:l,combinacaoCromatica:i,className:n,...m}=e,y[0]=e,y[1]=n,y[2]=i,y[3]=l,y[4]=m):(n=y[1],i=y[2],l=y[3],m=y[4]);let[j,w]=(0,r.useState)(null);if(y[5]!==j?(u=()=>{if(!j)return;let e=e=>{"Escape"===e.key&&w(null)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},x=[j],y[5]=j,y[6]=u,y[7]=x):(u=y[6],x=y[7]),(0,r.useEffect)(u,x),0===l.length)return null;y[8]!==n?(p=(0,s.cn)("_equipeBrowser-cp","site-px w-full pt-[6.3rem] pb-[3rem] md:pt-[9rem]",n),y[8]=n,y[9]=p):p=y[9];let k=i?.corFundo,N=i?.corTexto;if(y[10]!==k||y[11]!==N?(h={backgroundColor:k,color:N},y[10]=k,y[11]=N,y[12]=h):h=y[12],y[13]!==l){let e;y[15]===Symbol.for("react.memo_cache_sentinel")?(e=(e,a)=>(0,t.jsxs)("section",{className:(0,s.cn)("md:site-grid",a>0&&"mt-[8rem]"),children:[e.nome&&(0,t.jsx)("h2",{className:"mb-[2.5rem] text-[1.9125rem] leading-[1.1] font-light md:col-[3/-2] md:mb-[5rem] md:text-[3.9rem]",children:e.nome}),(0,t.jsx)("ul",{className:"grid grid-cols-1 gap-x-[1.5rem] gap-y-[3rem] md:col-[3/-2] md:grid-cols-4",children:e.membros.map((e,a)=>(0,t.jsx)("li",{children:(0,t.jsx)(c,{membro:e,onAbrir:()=>w(e)})},`${e.nome}-${a}`))})]},`${e.nome}-${a}`),y[15]=e):e=y[15],b=l.map(e),y[13]=l,y[14]=b}else b=y[14];return y[16]!==j||y[17]!==i?(f=j&&(0,t.jsx)(d,{membro:j,cores:i,onFechar:()=>w(null)}),y[16]=j,y[17]=i,y[18]=f):f=y[18],y[19]!==f?(g=(0,t.jsx)(o.AnimatePresence,{children:f}),y[19]=f,y[20]=g):g=y[20],y[21]!==m||y[22]!==p||y[23]!==h||y[24]!==b||y[25]!==g?(v=(0,t.jsxs)("section",{className:p,style:h,...m,children:[b,g]}),y[21]=m,y[22]=p,y[23]=h,y[24]=b,y[25]=g,y[26]=v):v=y[26],v}])},264698,e=>{"use strict";e.s(["agruparCreditos",0,function(e){let t=[];for(let a of e){let e=t.find(e=>e.papel===a.papel);e?e.nomes.push(a.nome):t.push({papel:a.papel,nomes:[a.nome]})}return t}])},269959,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(88653),o=e.i(532181),n=e.i(772328),i=e.i(310542),l=e.i(895420),s=e.i(667218),m=e.i(264698),c=e.i(132381),d=e.i(203829),u=e.i(939030),x=e.i(119446),p=e.i(44330),h=e.i(13093),b=e.i(178050),f=e.i(116065),g=e.i(551360);let v=x.desktop["gb-item-1"].y-x.desktop["gb-item-0"].y,y=x.desktop["gb-nome-rio"].x,j=x.desktop["gb-item-0"].x-y,w=(0,d.colStart)(2),k=(0,d.colEnd)(4),N=x.desktop["gb-nome-resto"].y+x.desktop["gb-nome-resto"].h/2,C=x.rootHeight.desktop-120,S=N-120-v/2,_=x.mobile["gb-dd-grupo"],E=e=>({left:(0,p.rem)(e.x-_.x),top:(0,p.rem)(e.y-_.y)}),R=e=>(0,p.tpPosition)(e,e),T=/^(Rio),?\s+(.+)$/;function A(e){let t=e.match(T);return t?t[2]:e}e.s(["GaleriasBrowser",0,function({galerias:e,destaque:d,apoio:N,hrefBase:M,tratamentoPadrao:F,className:$,...P}){var D;let I,z=(0,a.useId)(),[L,q]=(0,a.useState)(e.find(e=>e.ativa)?.slug??d.slug),[O,G]=(0,a.useState)(!1),[B,H]=(0,a.useState)(!1),[K,U]=(0,a.useState)(!1),Y=(0,a.useRef)(null),X=(0,a.useRef)(null),W=(0,a.useRef)(null),V=(0,a.useRef)(0),J=(0,a.useRef)(0),Q=(0,a.useRef)(null),Z=(0,a.useRef)(null),ee=(0,a.useRef)(null),et=(0,n.useReducedMotion)(),{scrollYProgress:ea}=(0,i.useScroll)({target:X,offset:["start end","end start"]}),er=(0,l.useTransform)(ea,[0,1],["-14%","14%"]),eo=Math.max(0,e.findIndex(e=>e.slug===L)),en=e[eo],ei=en?.capa??(en?.slug===d.slug?d.capa:void 0),el=en?.tratamento??(en?.slug===d.slug?d.tratamento:void 0)??F,es=(I=(D=en?.nome??d.nome).match(T))?{rio:I[1],resto:I[2]}:{rio:D,resto:""},em=en?.nome??d.nome;function ec(e){q(e),G(!1),U(!1)}(0,a.useEffect)(()=>{let e=Y.current;H(!!e&&e.scrollHeight>e.clientHeight+1)},[L]),(0,a.useEffect)(()=>{let t=W.current;if(t)return t.addEventListener("wheel",a,{passive:!1}),()=>t.removeEventListener("wheel",a);function a(t){let a=Q.current?.getBoundingClientRect().left;if(void 0!==a&&t.clientX>a)return;let r=Math.sign(t.deltaY);if(r>0?eo>=e.length-1:eo<=0){V.current=0;return}if(t.preventDefault(),Math.sign(V.current)!==r&&(V.current=0),V.current+=t.deltaY,60>Math.abs(V.current))return;V.current=0;let o=performance.now();if(o-J.current<250)return;J.current=o;let n=e[eo+r];n&&(q(n.slug),G(!1))}},[eo,e]),(0,a.useEffect)(()=>{if(K)return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),document.addEventListener("focusout",a),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t),document.removeEventListener("focusout",a)};function e(e){let t=e.target;Z.current?.contains(t)||ee.current?.contains(t)||U(!1)}function t(e){"Escape"===e.key&&(U(!1),Z.current?.focus())}function a(e){let t=e.relatedTarget;null===t||Z.current?.contains(t)||ee.current?.contains(t)||U(!1)}},[K]);let ed=0,eu=(0,m.agruparCreditos)(en?.creditos??[]),ex=0;return(0,t.jsxs)("section",{ref:X,"data-tp":"gb-fundo",className:(0,g.cn)("_galeriasBrowser-cp","relative isolate overflow-hidden bg-[#FF544C] text-white","min-h-[70dvh] h-[var(--tp-root-h-mob)] md:h-[var(--tp-root-h-dsk)] md:max-h-[100dvh]",$),style:(0,p.tpRootHeight)(810,x.rootHeight.desktop),...P,children:[ei?(0,t.jsxs)("div",{"aria-hidden":!0,
1className:"absolute inset-0 max-md:opacity-80",children:[(0,t.jsx)(o.motion.div,{style:{y:et?"0%":er,top:"-22%",bottom:"-22%"},className:"absolute inset-x-0 will-change-transform",children:(0,t.jsx)(b.CapaTratada,{media:ei,tratamento:el,className:"absolute inset-0 size-full object-cover"})}),(0,t.jsx)("div",{className:"absolute inset-0 bg-[#FF544C]/30 max-md:hidden"})]}):(0,t.jsx)("img",{src:"/layout/galerias-browser/galerias-placeholder.svg",alt:"","aria-hidden":!0,className:"absolute inset-0 size-full object-cover"}),(0,t.jsx)("h2",{"data-tp":"gb-heading",className:"tp-pos-dsk text-[1.5625rem] leading-[1.2] font-black whitespace-nowrap max-md:hidden",style:{...(0,p.tpPositionDsk)((0,p.xy)(x.desktop["gb-heading"])),left:w},children:x.ORACLE_HEADING}),(0,t.jsx)("h2",{"data-tp":"gb-heading-mob",className:"tp-pos text-[1rem] leading-[1.2] font-black whitespace-nowrap md:hidden",style:R((0,p.xy)(x.mobile["gb-heading-mob"])),children:x.ORACLE_HEADING_MOB}),(0,t.jsx)("span",{"data-tp":"gb-nome-rio","aria-hidden":!0,className:"tp-pos-dsk z-10 text-[3.125rem] leading-[1.2] font-extrabold whitespace-nowrap max-md:hidden",style:(0,p.tpPositionDsk)((0,p.xy)(x.desktop["gb-nome-rio"])),children:es.rio}),(0,t.jsx)("div",{ref:Q,"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 w-0",style:{left:k}}),(0,t.jsx)("div",{ref:W,role:"listbox","aria-label":"Galerias","aria-activedescendant":`${z}-opt-${L}`,tabIndex:0,onKeyDown:function(t){let a=a=>{t.preventDefault();let r=e[Math.max(0,Math.min(e.length-1,a))];r&&ec(r.slug)};"ArrowDown"===t.key?a(eo+1):"ArrowUp"===t.key?a(eo-1):"Home"===t.key?a(0):"End"===t.key&&a(e.length-1)},className:"tp-pos-dsk overflow-hidden outline-none max-md:hidden",style:{...(0,p.tpPositionDsk)({x:y+j,y:120}),left:w,height:(0,p.rem)(C),width:`calc(${(0,p.rem)(x.desktop["gb-resumo"].x)} - ${w})`},children:(0,t.jsx)("div",{className:"transition-transform duration-500 ease-out",style:{transform:`translateY(${(0,p.rem)(S-eo*v)})`},children:e.map((e,a)=>{let r=e.slug===L,o=r?-1:ed++;return(0,t.jsx)("div",{id:`${z}-opt-${e.slug}`,role:"option","aria-selected":r,className:(0,g.cn)("text-[1.5625rem] whitespace-nowrap select-none transition-[opacity,transform] duration-500 ease-out",r?"font-semibold":"font-light"),style:{height:(0,p.rem)(v),lineHeight:(0,p.rem)(v),opacity:Math.round(1e3*Math.max(.05,(1-Math.min(Math.abs(a-eo),10)/10)**1.6))/1e3,transform:`translateY(${(0,p.rem)(Math.sign(a-eo)*v)})`},children:(0,t.jsx)("span",{"data-tp":r?"gb-nome-resto":o>=0&&o<=20?`gb-item-${o}`:void 0,onClick:()=>ec(e.slug),className:(0,g.cn)("inline-block cursor-pointer align-top",r&&"text-[1.71875rem]"),children:A(e.nome)})},e.slug)})})}),(0,t.jsxs)("div",{className:"tp-pos md:hidden",style:R({x:_.x,y:_.y,w:_.w}),children:[(0,t.jsxs)("button",{ref:Z,type:"button","aria-expanded":K,"aria-haspopup":"menu","aria-label":`Galeria selecionada: ${en?.nome??d.nome}. Trocar galeria`,onClick:()=>U(e=>!e),className:"relative block w-full text-left",style:{height:(0,p.rem)(x.mobile["gb-dd-linha"].y-_.y+1)},children:[(0,t.jsx)("span",{"data-tp":"gb-dd-rio",className:"absolute text-[1.875rem] leading-[1.2] font-extrabold whitespace-nowrap",style:E(x.mobile["gb-dd-rio"]),children:es.rio}),es.resto&&(0,t.jsx)("span",{"data-tp":"gb-dd-resto",className:"absolute text-[1rem] leading-[1.2] font-bold whitespace-nowrap",style:E(x.mobile["gb-dd-resto"]),children:es.resto}),(0,t.jsx)("img",{"data-tp":"gb-dd-chevron",src:"/layout/galerias-browser/dd-chevron.svg",alt:"","aria-hidden":!0,className:(0,g.cn)("absolute transition-transform",K&&"rotate-180"),style:{...E(x.mobile["gb-dd-chevron"]),width:(0,p.rem)(x.mobile["gb-dd-chevron"].w),height:(0,p.rem)(x.mobile["gb-dd-chevron"].h)}}),(0,t.jsx)("span",{"data-tp":"gb-dd-linha","aria-hidden":!0,className:"absolute h-px bg-white",style:{...E(x.mobile["gb-dd-linha"]),width:(0,p.rem)(x.mobile["gb-dd-linha"].w)}})]}),K&&(0,t.jsx)("div",{ref:ee,"aria-label":"Galerias",className:(0,g.cn)("absolute inset-x-0 top-full z-20 mt-[0.5rem] max-h-[50dvh] overflow-y-auto scrollbar-hidden py-[2.5rem] backdrop-blur-xl [--fade:2.5rem]",c.MASCARA_FADE_AMBOS),children:e.map(e=>(0,t.jsx)("button",{type:"button","aria-current":e.slug===L?"true":void 0,onClick:()=>ec(e.slug),className:(0,g.cn)("block w-full px-[1rem] py-[0.625rem] text-left text-[1rem] leading-[1.2] text-white",e.slug===L?"font-bold":"font-light"),children:A(e.nome)},e.slug))})]}),en&&(0,t.jsxs)("div",{className:"tp-pos z-10",style:{...(0,p.tpPosition)({x:x.mobile["gb-resumo"].x,y:x.mobile["gb-resumo"].y,w:x.mobile["gb-resumo"].w},{x:x.desktop["gb-resumo"].x,y:x.desktop["gb-resumo"].y,w:x.desktop["gb-resumo"].w}),"--gb-resumo-h-mob":(0,p.rem)(x.mobile["gb-resumo"].h+100),"--gb-resumo-h-dsk":(0,p.rem)(x.desktop["gb-resumo"].h),...h.RESUMO_FADE_VARS},children:[en.resumo.length?O?(0,t.jsx)("div",{"aria-hidden":!0,
1className:"h-[var(--gb-resumo-h-mob)] md:h-[var(--gb-resumo-h-dsk)]"}):(0,t.jsx)(o.motion.div,{ref:Y,"data-tp":"gb-resumo",layoutId:`${z}-resumo`,layoutDependency:O,className:(0,g.cn)("overflow-hidden font-light",h.RESUMO_TEXTO,h.RESUMO_PARAGRAFOS,h.RESUMO_FADE_CLASS,"max-h-[var(--gb-resumo-h-mob)] md:max-h-[var(--gb-resumo-h-dsk)]",B&&c.MASCARA_FADE),children:en.resumo.map((e,a)=>(0,t.jsx)("p",{children:e},a))}):(0,t.jsx)("p",{className:(0,g.cn)("font-light text-balance text-white/85",h.RESUMO_TEXTO),children:"Esta galeria está sendo preparada pela curadoria. Em breve o texto de apresentação estará aqui."}),B&&(0,t.jsx)(u.IconeAmpliar,{sentido:"abrir","aria-expanded":O,"aria-label":"Expandir texto",onClick:()=>G(!0),className:"mt-[0.5rem]"})]}),(0,t.jsx)(r.AnimatePresence,{initial:!1,children:O&&en?.resumo.length&&(0,t.jsx)(h.ResumoAmpliado,{paragrafos:en.resumo,rotulo:`Sobre ${en.nome}`,layoutId:`${z}-resumo`,onFechar:()=>G(!1)})}),(0,t.jsx)("div",{className:"tp-pos",style:(0,p.tpPosition)((0,p.xy)({x:x.mobile["credito-papel-0"].x,y:x.mobile["credito-papel-0"].y+24+100}),(0,p.xy)({x:x.desktop["credito-papel-0"].x,y:x.desktop["credito-papel-0"].y+40})),children:eu.map((e,a)=>(0,t.jsxs)("div",{style:a>0?{marginTop:(0,p.rem)(12)}:void 0,children:[(0,t.jsx)("p",{"data-tp":a<=2?`credito-papel-${a}`:void 0,className:"text-[0.75rem] leading-[1.2] font-black whitespace-nowrap text-white md:text-[0.875rem]",children:e.papel}),e.nomes.map((e,a)=>{let r=ex++;return(0,t.jsx)("p",{"data-tp":r<=2?`credito-nome-${r}`:void 0,className:"mt-[0.5rem] text-[0.875rem] leading-[1.2] font-normal whitespace-nowrap text-white md:text-[1.125rem]",children:e},a)})]},e.papel))}),(0,t.jsx)(s.BotaoPilula,{href:`${M}/${en?.slug??d.slug}`,"data-tp":"gb-entrar-box","aria-label":`Entrar em ${en?.nome??d.nome}`,rotulo:"entrar",seta:"/layout/galerias-browser/entrar-seta-mob.svg",setaDsk:"/layout/galerias-browser/entrar-seta.svg",tamanho:"p",tamanhoDsk:"m",variante:"vidro",className:"tp-pos text-white [--pilula-ativa:#1e223f] max-md:mt-[1.875rem]",style:(0,p.tpPosition)((0,p.xy)({x:x.mobile["gb-entrar-box"].x,y:x.mobile["gb-entrar-box"].y+100}),(0,p.xy)(x.desktop["gb-entrar-box"]))}),N&&(0,t.jsxs)("div",{className:"md:hidden",children:[(0,t.jsx)("p",{"data-tp":"gb-apoio-label",className:"tp-pos text-[0.75rem] leading-[1.2] font-light whitespace-nowrap",style:R((0,p.xy)({x:x.mobile["gb-apoio-label"].x,y:x.mobile["gb-apoio-label"].y+100})),children:"Galeria apoiada por"}),(0,t.jsx)("div",{"data-tp":"gb-apoio-logo",className:"tp-pos",style:R({...x.mobile["gb-apoio-logo"],y:x.mobile["gb-apoio-logo"].y+100}),children:(0,t.jsx)(f.Img,{media:N,className:"h-full w-full object-contain object-left"})})]}),(0,t.jsx)("div",{"aria-live":"polite","aria-atomic":"true",className:"sr-only",children:em})]})}])},534642,e=>{"use strict";var t=e.i(843476),a=e.i(500932),r=e.i(271645),o=e.i(522016),n=e.i(365747),i=e.i(989970),l=e.i(875324),s=e.i(947414),m=e.i(737806),c=e.i(772328),d=e.i(449492),u=e.i(866552),x=e.i(988944),p=e.i(533207),h=e.i(203829),b=e.i(272434);let f={x:950,y:-10,w:1694,h:953},g={x:152,y:386.85,w:250.81,h:117},v={x:714,y:240,w:483,h:448};var y=e.i(44330),j=e.i(567709),w=e.i(178050),k=e.i(228546),N=e.i(551360);function C(e){return(0,b.runsPlano)((0,b.inlineRuns)(e))}let S=(0,h.colStart)(2),_=(0,h.colSpan)(1,4);function E(e){let r,o,n,i,l=(0,a.c)(9),{titulo:s,dataTp:m,cor:c}=e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,N.cn)("text-[1.6172rem] leading-[1.008] whitespace-pre-line text-black md:text-[3.2344rem]","font-normal"),l[0]=r):r=l[0],l[1]!==c?(o={color:c},l[1]=c,l[2]=o):o=l[2],l[3]!==s?(n=(0,t.jsx)(j.TextoInline,{data:s}),l[3]=s,l[4]=n):n=l[4],l[5]!==m||l[6]!==o||l[7]!==n?(i=(0,t.jsx)("p",{"aria-hidden":!0,"data-split":!0,"data-tp":m,className:r,style:o,children:n}),l[5]=m,l[6]=o,l[7]=n,l[8]=i):i=l[8],i}function R(e){let r,n=(0,a.c)(8),{href:i,externo:l,children:s}=e;if(!i){let e;return n[0]!==s?(e=(0,t.jsx)(t.Fragment,{children:s}),n[0]=s,n[1]=e):e=n[1],e}if(l){let e;return n[2]!==s||n[3]!==i?(e=(0,t.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer",className:"contents",children:s}),n[2]=s,n[3]=i,n[4]=e):e=n[4],e}return n[5]!==s||n[6]!==i?(r=(0,t.jsx)(o.default,{href:i,className:"contents",children:s}),n[5]=s,n[6]=i,n[7]=r):r=n[7],r}i.default.registerPlugin(n.useGSAP,l.SplitText);let T={duration:.7,ease:[.85,0,.15,1]},A=[.22,1,.36,1],M=.35+.05,F=r.useLayoutEffect;function $(e){let o,u,x,p,h,b,j,C,_,$,P,D,I,z,L,q,O=(0,a.c)(48),{item:G,
1index:B,active:H,anterior:K,direcao:U,reducedMotion:Y}=e,X=0===B,W="todo"===G.fundoModo,[V,J]=function(){var e;let t=(0,s.useConstant)(()=>({current:null,animations:[]})),a=function(){let e=(0,c.useReducedMotion)(),{reducedMotion:t}=(0,r.useContext)(m.MotionConfigContext);return"never"!==t&&("always"===t||e)}()??void 0,{skipAnimations:o}=(0,r.useContext)(m.MotionConfigContext),n=(0,r.useMemo)(()=>(0,d.createScopedAnimate)({scope:t,reduceMotion:a,skipAnimations:o}),[t,a,o]);return e=()=>{t.animations.forEach(e=>e.stop()),t.animations.length=0},(0,r.useEffect)(()=>()=>e(),[]),[t,n]}(),Q=(0,r.useRef)(H),Z=(0,r.useRef)(null),ee=(0,r.useRef)(null);O[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{let e=Z.current;if(!e)return;let t=l.SplitText.create(e.querySelectorAll("[data-split]"),{type:"lines",mask:"lines",autoSplit:!0});return ee.current=t,()=>{t.revert(),ee.current=null}},O[0]=o):o=O[0],(0,n.useGSAP)(o),O[1]!==H||O[2]!==J||O[3]!==U||O[4]!==Y?(u=()=>{let e=Q.current;if(Q.current=H,H===e)return;let t=ee.current?.lines??[];if(Y){i.default.set(t,{xPercent:0}),Z.current&&i.default.set(Z.current,{autoAlpha:+!!H});return}let a=1===U;if(i.default.killTweensOf(t),H){let e=a?"inset(0% 0% 0% 100%)":"inset(0% 100% 0% 0%)",r=a?"12%":"-12%";J('[data-reveal="fundo"]',{clipPath:[e,"inset(0% 0% 0% 0%)"]},{duration:1.1,ease:T.ease}),J('[data-reveal="central"]',{clipPath:[e,"inset(0% 0% 0% 0%)"]},T),J('[data-reveal="fundo"] > *',{x:[r,"0%"]},{duration:1.1*1.5,ease:A}),J('[data-reveal="central"] > *',{x:[r,"0%"]},{duration:1.5*T.duration,ease:A}),Z.current&&i.default.set(Z.current,{autoAlpha:1}),i.default.fromTo(t,{xPercent:a?110:-110},{xPercent:0,duration:T.duration,ease:"power3.out",stagger:.08,delay:M})}else i.default.to(t,{xPercent:a?-110:110,duration:.35,ease:"power2.in",stagger:.05,onComplete:()=>{Z.current&&i.default.set(Z.current,{autoAlpha:0})}})},x=[H,U,Y,J],O[1]=H,O[2]=J,O[3]=U,O[4]=Y,O[5]=u,O[6]=x):(u=O[5],x=O[6]),F(u,x);let et=!H,ea=H?"z-20":K?"z-10 pointer-events-none":"pointer-events-none opacity-0";O[7]!==ea?(p=(0,N.cn)("absolute inset-0",ea),O[7]=ea,O[8]=p):p=O[8];let er=G.url,eo=G.externo,en=X?"hc-fundo":void 0;if(O[9]!==W)h={...(0,y.tpPositionDsk)(f),"--tp-x-dsk":W?"0":"50%",...W?{"--tp-w-dsk":"100%"}:{}},O[9]=W,O[10]=h;else h=O[10];O[11]!==G.imagemFundo||O[12]!==G.tratamentoFundo?(b=(0,t.jsx)(w.CapaTratada,{media:G.imagemFundo,tratamento:G.tratamentoFundo,className:"h-full w-full"}),O[11]=G.imagemFundo,O[12]=G.tratamentoFundo,O[13]=b):b=O[13],O[14]!==h||O[15]!==b||O[16]!==en?(j=(0,t.jsx)("div",{"data-reveal":"fundo","data-tp":en,className:"tp-pos-dsk overflow-hidden max-md:absolute max-md:inset-x-0 max-md:top-[68%] max-md:mt-[1.25rem] max-md:bottom-0",style:h,children:b}),O[14]=h,O[15]=b,O[16]=en,O[17]=j):j=O[17];let ei=X?"hc-central":void 0;O[18]===Symbol.for("react.memo_cache_sentinel")?(C=(0,y.tpPositionDsk)(v),O[18]=C):C=O[18],O[19]!==G.imagemCentral||O[20]!==G.tratamentoCentral?(_=(0,t.jsx)(w.CapaTratada,{media:G.imagemCentral,tratamento:G.tratamentoCentral,className:"h-full w-full"}),O[19]=G.imagemCentral,O[20]=G.tratamentoCentral,O[21]=_):_=O[21],O[22]!==ei||O[23]!==_?($=(0,t.jsx)("div",{"data-reveal":"central","data-tp":ei,className:"tp-pos-dsk overflow-hidden max-md:absolute max-md:top-[68%] max-md:mt-[1.25rem] max-md:left-1/2 max-md:z-10 max-md:aspect-square max-md:w-[calc(6*var(--col)_+_1.5625rem)] max-md:-translate-x-1/2 max-md:-translate-y-1/2",style:C,children:_}),O[22]=ei,O[23]=_,O[24]=$):$=O[24],O[25]===Symbol.for("react.memo_cache_sentinel")?(P={...(0,y.tpPositionDsk)((0,y.xy)(g)),"--tp-x-dsk":S},O[25]=P):P=O[25];let el=X?"hc-titulo-1":void 0,es=G.combinacaoCromatica?.corTexto;return O[26]!==G.titulo||O[27]!==el||O[28]!==es?(D=(0,t.jsx)(E,{titulo:G.titulo,dataTp:el,cor:es}),O[26]=G.titulo,O[27]=el,O[28]=es,O[29]=D):D=O[29],O[30]!==X||O[31]!==G.combinacaoCromatica?.corTexto||O[32]!==G.corpo?(I=G.corpo&&(0,t.jsx)("div",{"data-split":!0,"data-tp":X?"hc-corpo":void 0,className:"mt-[1rem] text-[1rem] leading-[1.2] font-normal text-pretty text-black md:mt-[1.7rem] md:w-[29.83rem] md:text-[1.40625rem]",style:{color:G.combinacaoCromatica?.corTexto},children:(0,t.jsx)(k.RichText,{data:G.corpo,disableContainer:!0})}),O[30]=X,O[31]=G.combinacaoCromatica?.corTexto,O[32]=G.corpo,O[33]=I):I=O[33],O[34]!==D||O[35]!==I?(z=(0,t.jsx)("div",{className:"tp-pos-dsk max-md:absolute max-md:inset-x-0 max-md:top-0 max-md:bottom-[38%] max-md:flex max-md:flex-col max-md:justify-center max-md:site-px",style:P,children:(0,t.jsxs)("div",{ref:Z,children:[D,I]})}),O[34]=D,O[35]=I,O[36]=z):z=O[36],O[37]!==G.externo||O[38]!==G.url||O[39]!==j||O[40]!==$||O[41]!==z?(L=(0,t.jsxs)(R,{href:er,externo:eo,children:[j,$,z]}),O[37]=G.externo,O[38]=G.url,O[39]=j,O[40]=$,O[41]=z,O[42]=L):L=O[42],O[43]!==V||O[44]!==L||O[45]!==et||O[46]!==p?(q=(0,t.jsx)("div",{ref:V,"aria-hidden":et,className:p,children:L}),O[43]=V,O[44]=L,O[45]=et,O[46]=p,O[47]=q):q=O[47],q}e.s(["HeroCarrousel",0,function({destaques:e,autoplayMs:a=6e3,className:o,...n}){let i=(0,r.useId)(),{indice:l,voltar:s,avancar:m,ir:c,onKeyDown:d}=(0,x.useCarrossel)(e.length),h=(0,p.useReducedMotion)(),b=(0,r.useRef)(m);b.current=m;let[f,g]=(0,r.useState)(1),[v,j]=(0,r.useState)({atual:l,anterior:-1});v.atual!==l&&j({atual:l,anterior:v.atual});let w=v.atual===l?v.anterior:v.atual;(0,r.useEffect)(()=>
1{if(w<0)return;let e=setTimeout(()=>j(e=>({...e,anterior:-1})),(M+T.duration+.48)*1e3);return()=>clearTimeout(e)},[l,w]);let[k,S]=(0,r.useState)(0);(0,r.useEffect)(()=>{if(a<=0||h||e.length<=1)return;let t=null,r=()=>{null!==t&&clearInterval(t),t=null},o=()=>{document.hidden||null!==t||(t=setInterval(()=>{g(1),b.current()},a))},n=()=>document.hidden?r():o();return o(),document.addEventListener("visibilitychange",n),()=>{r(),document.removeEventListener("visibilitychange",n)}},[a,h,e.length,k]);let[E,R]=(0,r.useState)(""),A=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(!A.current)return;A.current=!1;let t=e[l];R(t?`Destaque ${l+1} de ${e.length}: ${C(t.titulo)}`:"")},[l,e]);let F=e[l];return(0,t.jsxs)("section",{"data-tp":"hc-base","aria-labelledby":F?i:void 0,"aria-roledescription":"carousel",onKeyDown:function(e){"ArrowLeft"===e.key?g(-1):"ArrowRight"===e.key&&g(1),S(e=>e+1),A.current=!0,d(e)},className:(0,N.cn)("_heroCarrousel-cp","relative isolate overflow-hidden bg-[#E4572E] max-md:h-[120dvh]","transition-[background-color] duration-700 ease-out","md:block md:h-[var(--hc-h-dsk)]",o),style:{"--hc-h-dsk":(0,y.rem)(910),backgroundColor:F?.combinacaoCromatica?.corFundo},...n,children:[F&&(0,t.jsx)("h1",{id:i,className:"sr-only",children:C(F.titulo)}),e.map((e,a)=>(0,t.jsx)($,{item:e,index:a,active:a===l,anterior:a===w&&a!==l,direcao:f,reducedMotion:h},e.url??a)),e.length>1&&(0,t.jsxs)("nav",{"aria-label":"Navegação do carrossel",className:"z-30 flex items-center gap-[0.75rem] max-md:absolute max-md:bottom-[1.5rem] max-md:left-1/2 max-md:w-[calc(4*var(--col)_+_0.9375rem)] max-md:-translate-x-1/2 max-md:justify-between md:absolute md:bottom-[2.5rem] md:left-1/2 md:min-w-[var(--nav-min-w)] md:-translate-x-1/2 md:justify-between",style:{"--nav-min-w":_,color:F?.combinacaoCromatica?.corTexto},children:[(0,t.jsx)("button",{type:"button","aria-label":"Destaque anterior",onClick:function(){g(-1),S(e=>e+1),A.current=!0,s()},className:"size-[1.5rem] cursor-pointer transition-transform duration-200 ease-out hover:-translate-x-[0.15rem] active:scale-90",children:(0,t.jsx)(u.Seta,{direcao:"anterior",espessa:!0})}),(0,t.jsx)("ul",{className:"flex items-center gap-[0.5rem]",children:e.map((e,a)=>(0,t.jsx)("li",{children:(0,t.jsx)("button",{type:"button","aria-label":`Ir para o destaque ${a+1}`,"aria-current":a===l,onClick:()=>{g(a<l?-1:1),S(e=>e+1),A.current=!0,c(a)},className:(0,N.cn)("size-[0.5rem] cursor-pointer rounded-full",a===l?"bg-black":"bg-black/30")})},e.url??a))}),(0,t.jsx)("button",{type:"button","aria-label":"Próximo destaque",onClick:function(){g(1),S(e=>e+1),A.current=!0,m()},className:"size-[1.5rem] cursor-pointer transition-transform duration-200 ease-out hover:translate-x-[0.15rem] active:scale-90",children:(0,t.jsx)(u.Seta,{direcao:"proxima",espessa:!0})})]}),(0,t.jsx)("div",{"aria-live":"polite","aria-atomic":"true",className:"sr-only",children:E})]})}],534642)},765197,e=>{"use strict";var t=e.i(843476),a=e.i(500932),r=e.i(271645),o=e.i(522016),n=e.i(866552),i=e.i(988944),l=e.i(533207),s=e.i(264698),m=e.i(203829),c=e.i(272434),d=e.i(567709),u=e.i(178050),x=e.i(116065),p=e.i(551360);function h(e){return(0,c.runsPlano)((0,c.inlineRuns)(e))}let b="mt-[1rem] text-[0.9315rem] leading-[1.35] font-light md:text-[1.125rem]",f="text-[0.825rem] leading-[1.35] font-light md:text-[0.9rem]",g="md:justify-start",v="hidden md:block md:h-[38%] md:shrink-0",y=(0,m.colStart)(2),j=(0,m.colSpan)(2,8),w=(0,m.colStart)(10),k=(0,m.colSpan)(10,14),N=(0,m.colStart)(10),C=(0,m.colSpan)(10,14),S=(0,m.colStart)(16),_=(0,m.colSpan)(2,6),E="md:ml-[var(--esq-x)]",R="md:ml-[var(--dir-x)]",T=(e,t)=>(0,p.cn)(e?"block":"hidden","md:block md:absolute transition-opacity duration-1000 ease-in-out",e?"md:opacity-100":"md:pointer-events-none md:opacity-0",t),A=(e,t)=>
1e.textoOverride?`slide-${t}`:"base";function M(e){let r,o,n,i,l,s,m,c,u=(0,a.c)(21),{texto:x,ativo:h,fundoTodo:f}=e,w=x.combinacaoCromatica;u[0]!==h?(r=T(h,(0,p.cn)("relative z-10 site-px flex flex-col items-start justify-center py-[2rem] max-md:order-1 max-md:min-h-[50vh]","md:pointer-events-none md:inset-0 md:px-0 md:py-0",g)),u[0]=h,u[1]=r):r=u[1];let k=w?.corTexto;u[2]!==k?(o={"--esq-x":y,"--esq-w":j,"--apoio-w":_,color:k},u[2]=k,u[3]=o):o=u[3];let N=o;return u[4]!==w||u[5]!==f?(n=w?.corFundo&&(0,t.jsx)("span",{"aria-hidden":!0,className:(0,p.cn)("absolute inset-y-0 left-0 -z-10 w-full",f?"md:w-[var(--esq-w)]":"md:w-1/2"),style:{backgroundColor:w.corFundo}}),u[4]=w,u[5]=f,u[6]=n):n=u[6],u[7]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("span",{"aria-hidden":!0,className:v}),u[7]=i):i=u[7],u[8]!==x.titulo?(l=x.titulo&&(0,t.jsx)("p",{className:(0,p.cn)("text-[0.625rem] leading-[1.2] font-black tracking-[0.12em] uppercase md:text-[1.25rem]",E,"md:max-w-[var(--esq-w)]"),children:(0,t.jsx)(d.TextoInline,{data:x.titulo})}),u[8]=x.titulo,u[9]=l):l=u[9],u[10]!==x.subtitulo?(s=x.subtitulo&&(0,t.jsx)("p",{className:(0,p.cn)("mt-[0.75rem] text-[2.0125rem] leading-[1.06] font-extralight md:text-[4.3125rem]",E,"md:max-w-[var(--esq-w)]"),children:(0,t.jsx)(d.TextoInline,{data:x.subtitulo})}),u[10]=x.subtitulo,u[11]=s):s=u[11],u[12]!==x.texto?(m=x.texto&&(0,t.jsx)("p",{className:(0,p.cn)(b,E,"md:max-w-[var(--apoio-w)]"),children:(0,t.jsx)(d.TextoInline,{data:x.texto})}),u[12]=x.texto,u[13]=m):m=u[13],u[14]!==r||u[15]!==N||u[16]!==n||u[17]!==l||u[18]!==s||u[19]!==m?(c=(0,t.jsxs)("div",{className:r,style:N,children:[n,i,l,s,m]}),u[14]=r,u[15]=N,u[16]=n,u[17]=l,u[18]=s,u[19]=m,u[20]=c):c=u[20],c}function F(e){let r,o,n,i=(0,a.c)(9),{item:l}=e;if(i[0]!==l.apoio||i[1]!==l.creditos){let e=(0,s.agruparCreditos)(l.creditos??[]);i[4]!==l.apoio?(r=l.apoio&&(0,t.jsxs)("figure",{className:(0,p.cn)("relative z-10 site-px pb-[2rem] md:absolute md:px-0 md:pb-0","md:bottom-[3rem] md:left-[var(--marca-x)] md:w-[var(--marca-w)]"),children:[(0,t.jsx)("figcaption",{className:(0,p.cn)(f,"mb-[0.4rem]"),children:"Galeria apoiada por"}),(0,t.jsx)(x.Img,{media:l.apoio,className:"h-[2.5rem] w-auto max-w-full object-contain object-left"})]}),i[4]=l.apoio,i[5]=r):r=i[5],o=e.length>0&&(0,t.jsx)("div",{className:(0,p.cn)("relative z-10 site-px pb-[2rem] md:absolute md:px-0 md:pb-0","md:top-1/2 md:left-[var(--cred-x)] md:w-max"),children:e.map($)}),i[0]=l.apoio,i[1]=l.creditos,i[2]=r,i[3]=o}else r=i[2],o=i[3];return i[6]!==r||i[7]!==o?(n=(0,t.jsxs)(t.Fragment,{children:[r,o]}),i[6]=r,i[7]=o,i[8]=n):n=i[8],n}function $(e){return(0,t.jsxs)("p",{className:(0,p.cn)(f,"mt-[0.5rem] first:mt-0"),children:[(0,t.jsx)("span",{className:"block font-semibold",children:e.papel}),e.nomes.map(P)]},e.papel)}function P(e){return(0,t.jsx)("span",{className:"block",children:e},e)}function D(e){let r,n,i,l,s,m,c,x,h,f,y,j,_,E,A,M=(0,a.c)(35),{item:$,ativo:P}=e,D="todo"===$.fundoModo;M[0]!==D||M[1]!==$.imagemFundo||M[2]!==$.tratamentoFundo?(r=$.imagemFundo&&(0,t.jsx)("div",{"aria-hidden":!0,className:(0,p.cn)("overflow-hidden max-md:absolute max-md:inset-0","md:absolute md:inset-y-0 md:aspect-auto",D?"md:inset-x-0":"md:right-0 md:w-1/2"),children:(0,t.jsx)(u.CapaTratada,{media:$.imagemFundo,tratamento:$.tratamentoFundo,className:"h-full w-full"})}),M[0]=D,M[1]=$.imagemFundo,M[2]=$.tratamentoFundo,M[3]=r):r=M[3],M[4]===Symbol.for("react.memo_cache_sentinel")?(n=(0,p.cn)("relative z-10 site-px flex flex-col items-start justify-center py-[2rem]","md:absolute md:inset-0 md:px-0 md:py-[3rem]",g),i=(0,t.jsx)("span",{"aria-hidden":!0,className:v}),M[4]=n,M[5]=i):(n=M[4],i=M[5]),M[6]!==$.nova?(l=$.nova&&(0,t.jsx)("span",{className:(0,p.cn)("text-[0.625rem] leading-[1.2] font-black tracking-normal uppercase md:text-[1.25rem]",R,"mb-[0.25rem]"),children:"Nova galeria"}),M[6]=$.nova,M[7]=l):l=M[7],M[8]===Symbol.for("react.memo_cache_sentinel")?(s=(0,p.cn)("text-[2.0125rem] leading-[1.06] font-extralight md:text-[4.3125rem]",R,"md:max-w-[var(--dir-w)]"),M[8]=s):s=M[8],M[9]!==$.titulo?(m=(0,t.jsx)("p",{className:s,children:(0,t.jsx)(d.TextoInline,{data:$.titulo})}),M[9]=$.titulo,M[10]=m):m=M[10],M[11]!==$.subtitulo?(c=$.subtitulo&&(0,t.jsx)("p",{className:(0,p.cn)("mt-[0.5rem] text-[0.9315rem] leading-[1.2] font-normal md:text-[1.5rem]",R,"md:max-w-[var(--dir-w)]"),children:(0,t.jsx)(d.TextoInline,{data:$.subtitulo})}),M[11]=$.subtitulo,M[12]=c):c=M[12],M[13]!==$.corpo?(x=$.corpo&&(0,t.jsx)("p",{className:(0,p.cn)(b,R,"md:max-w-[var(--dir-w)]"),children:(0,t.jsx)(d.TextoInline,{data:$.corpo})}),M[13]=$.corpo,M[14]=x):x=M[14],M[15]!==l||M[16]!==m||M[17]!==c||M[18]!==x?(h=(0,t.jsxs)("div",{className:n,children:[i,l,m,c,x]}),M[15]=l,M[16]=m,M[17]=c,M[18]=x,M[19]=h):h=M[19],M[20]!==$?(f=(0,t.jsx)(F,{item:$}),M[20]=$,M[21]=f):f=M[21],M[22]!==r||M[23]!==f||M[24]!==h?(y=(0,t.jsxs)(t.Fragment,{children:[r,h,f]}),M[22]=r,M[23]=f,M[24]=h,M[25]=y):y=M[25];let I=y;return M[26]!==P?(j=T(P,"max-md:order-2 max-md:relative max-md:min-h-[50vh] md:inset-0"),M[26]=P,M[27]=j):j=M[27],M[28]===Symbol.for("react.memo_cache_sentinel")?(_={"--dir-x":w,"--dir-w":k,"--marca-x":N,"--marca-w":C,"--cred-x":S},M[28]=_):_=M[28],M[29]!==I||M[30]!==$.url?(E=$.url?(0,t.jsx)(o.default,{href:$.url,className:"contents",children:I}):I,M[29]=I,M[30]=$.url,M[31]=E):E=M[31],M[32]!==j||M[33]!==E?(A=(0,t.jsx)("div",{className:j,style:_,children:E}),M[32]=j,M[33]=E,M[34]=A):A=M[34],A}e.s(["HeroGalerias",0,function({texto:e,destaques:a,autoplayMs:o=6e3,className:s,...m}){let c=(0,r.useId)(),{indice:d,voltar:u,avancar:x,ir:b,onKeyDown:f}=(0,i.useCarrossel)(a.length),g=(0,l.useReducedMotion)(),v=(0,r.useRef)(x);v.current=x,(0,r.useEffect)(()=>
1{if(o<=0||g||a.length<=1)return;let e=setInterval(()=>v.current(),o);return()=>clearInterval(e)},[o,g,a.length]);let[y,j]=(0,r.useState)(""),w=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(!w.current)return;w.current=!1;let e=a[d];j(e?`Destaque ${d+1} de ${a.length}: ${h(e.titulo)}`:"")},[d,a]);let k=a[d],N=k?.fundoModo==="todo",C=k?A(k,d):"base",S=[{fonte:"base",texto:e},...a.flatMap((e,t)=>e.textoOverride?[{fonte:A(e,t),texto:e.textoOverride}]:[])];return(0,t.jsxs)("section",{"aria-labelledby":k?c:void 0,"aria-roledescription":a.length>1?"carousel":void 0,onKeyDown:function(e){w.current=!0,f(e)},className:(0,p.cn)("_heroGalerias-cp","relative isolate flex flex-col overflow-hidden bg-[#E4572E]","md:block md:h-[56.875rem]",s),style:{backgroundColor:k?.combinacaoCromatica?.corFundo,color:k?.combinacaoCromatica?.corTexto},...m,children:[k&&(0,t.jsx)("h1",{id:c,className:"sr-only",children:h(k.titulo)}),a.map((e,a)=>(0,t.jsx)(D,{item:e,ativo:a===d},e.url??a)),S.map(e=>(0,t.jsx)(M,{texto:e.texto,ativo:e.fonte===C,fundoTodo:N},e.fonte)),a.length>1&&(0,t.jsxs)("nav",{"aria-label":"Navegação do hero",className:"relative z-20 flex items-center gap-[0.75rem] site-px py-[1.5rem] max-md:order-3",children:[(0,t.jsx)("button",{type:"button","aria-label":"Destaque anterior",onClick:function(){w.current=!0,u()},className:"size-[1.5rem]",children:(0,t.jsx)(n.Seta,{direcao:"anterior"})}),(0,t.jsx)("ul",{className:"flex items-center gap-[0.5rem]",children:a.map((e,a)=>(0,t.jsx)("li",{children:(0,t.jsx)("button",{type:"button","aria-label":`Ir para o destaque ${a+1}`,"aria-current":a===d,onClick:()=>{w.current=!0,b(a)},className:(0,p.cn)("size-[0.5rem] rounded-full bg-current",a===d?"opacity-100":"opacity-30")})},e.url??a))}),(0,t.jsx)("button",{type:"button","aria-label":"Próximo destaque",onClick:function(){w.current=!0,x()},className:"size-[1.5rem]",children:(0,t.jsx)(n.Seta,{direcao:"proxima"})})]}),(0,t.jsx)("div",{"aria-live":"polite","aria-atomic":"true",className:"sr-only",children:y})]})}])}]);

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.