1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8312],{245:(e,t,n)=>{n.d(t,{StoryDefault:()=>p});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(9211),o=n(77483),c=n(94103),d=n(3682),u=n(67928),m=n(94366),x=n(81627);function p(e){let t,n,x,p,g,f,y,b,v,j,w,N,_=(0,a.c)(39),{title:S,richText:z,eyebrow:k,eyebrowPosition:P,stories:C,buttons:T,sectionStyles:q,sectionParameters:I,disclaimers:D}=e;_[0]!==q?(t=q||{},_[0]=q,_[1]=t):t=_[1];let{titleColor:M}=t,L=null==I?void 0:I.sectionId;return _[2]!==q?(n=(0,u.cn)("relative w-full py-12 lg:py-24",(0,c.aU)(q)),_[2]=q,_[3]=n):n=_[3],_[4]!==k||_[5]!==P?(x=(0,l.jsx)(o.R2,{position:P,children:k}),_[4]=k,_[5]=P,_[6]=x):x=_[6],_[7]!==S||_[8]!==M?(p=S&&"gradient"===M&&(0,l.jsx)(m.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:"mx-auto max-w-[60rem] overflow-hidden",children:(0,l.jsx)(o.DZ,{className:"gradient-text m-0 text-center uppercase",children:S})}),_[7]=S,_[8]=M,_[9]=p):p=_[9],_[10]!==S||_[11]!==M?(g=S&&"gradient"!==M&&(0,l.jsx)(o.DZ,{className:"mx-auto max-w-[60rem] text-center font-bold uppercase",children:(0,l.jsx)(d.default,{direction:"top",animateBy:"words",rootMargin:"-50px",text:S,className:"justify-center"})}),_[10]=S,_[11]=M,_[12]=g):g=_[12],_[13]!==z?(f=(0,l.jsx)(o.hj,{richText:z,className:"mx-auto max-w-[52.5rem] pt-8 text-center text-lg lg:text-xl"}),_[13]=z,_[14]=f):f=_[14],_[15]!==D?(y=(null==D?void 0:D.disclaimerTop)&&(0,l.jsx)("div",{className:"mb-8 text-center",children:(0,l.jsx)(s.s,{richText:D.disclaimerTop})}),_[15]=D,_[16]=y):y=_[16],_[17]!==(null==D?void 0:D.disclaimerTop)||_[18]!==z||_[19]!==C||_[20]!==S?(b=(null==C?void 0:C.length)&&(0,l.jsx)("div",{className:(0,u.cn)(C.length>1&&"space-y-12",S||z||(null==D?void 0:D.disclaimerTop)?"mt-16":""),children:C.map(h)}),_[17]=null==D?void 0:D.disclaimerTop,_[18]=z,_[19]=C,_[20]=S,_[21]=b):b=_[21],_[22]!==T?(v=(0,l.jsx)(r.SanityButtons,{buttons:T,className:"mt-14 items-center justify-center"}),_[22]=T,_[23]=v):v=_[23],_[24]!==D?(j=(null==D?void 0:D.disclaimerBottom)&&(0,l.jsx)("div",{className:"mt-8 text-center",children:(0,l.jsx)(s.s,{richText:D.disclaimerBottom})}),_[24]=D,_[25]=j):j=_[25],_[26]!==v||_[27]!==j||_[28]!==x||_[29]!==p||_[30]!==g||_[31]!==f||_[32]!==y||_[33]!==b?(w=(0,l.jsxs)(i.m,{children:[x,p,g,f,y,b,v,j]}),_[26]=v,_[27]=j,_[28]=x,_[29]=p,_[30]=g,_[31]=f,_[32]=y,_[33]=b,_[34]=w):w=_[34],_[35]!==w||_[36]!==L||_[37]!==n?(N=(0,l.jsx)("section",{id:L,className:n,children:w}),_[35]=w,_[36]=L,_[37]=n,_[38]=N):N=_[38],N}function h(e){return(0,l.jsx)(x.h_,{...e},e._id)}},2168:(e,t,n)=>{n.d(t,{SlidersStoryButtons:()=>x});var l=n(58986),a=n(93406),i=n(18934),s=n(9211),r=n(77483),o=n(67928),c=n(94366),d=n(31368),u=n(6050),m=n(81627);function x(e){let{title:t,eyebrow:n,eyebrowPosition:x,richText:p,stories:h,buttons:g,disclaimers:f}=e;if(!h||!h.length)return null;let[y,b]=(0,u.useState)(0);(0,u.useEffect)(()=>{let e=setTimeout(()=>{b(e=>(e+1)%h.length)},1e4);return()=>clearTimeout(e)},[y]);let v=h[y];return(0,l.jsx)("section",{className:"relative py-12 lg:py-24",children:(0,l.jsxs)(a.m,{children:[(0,l.jsx)(r.R2,{position:x,children:n}),(0,l.jsx)(c.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},children:(0,l.jsx)(r.DZ,{className:(0,o.cn)("gradient-text mx-auto max-w-5xl text-center uppercase",!p&&"mb-20"),children:t})}),(0,l.jsx)(c.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},children:(0,l.jsx)(r.hj,{richText:p,className:"mx-auto mb-20 max-w-4xl text-center"})}),(0,l.jsx)("div",{className:"relative w-full",children:(0,l.jsx)(d.N,{mode:"popLayout",initial:!1,children:(0,l.jsxs)(c.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3,ease:"easeOut"},className:"w-full",children:[" ",(0,l.jsx)(m.StoryMobileBackgroundImage,{...v})]},v._id)})}),h.length>1&&(0,l.jsx)("div",{className:"mt-8 flex justify-center gap-4 md:mt-16",children:h.map((e,t)=>{let n=t===y;return(0,l.jsxs)("button",{className:(0,o.cn)("focus-visible:ring-ring inline-flex min-h-10 items-center justify-center gap-2 rounded-full py-2 text-sm font-bold transition-colors focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none disabled:opacity-50 md:text-lg lg:min-h-16","relative justify-start overflow-hidden border border-transparent px-6 shadow-[inset_0_0_0_0.05rem_rgba(0,0,0,1)] transition-all duration-300 lg:px-12",n?"bg-foreground text-background":"bg-background text-foreground hover:bg-foreground hover:text-background"),onClick:()=>b(t),"data-selected":n,"aria-label":"Slide ".concat(t+1,": ").concat(e.title),children:[(0,l.jsx)("span",{className:"relative z-20 overflow-hidden",children:e.buttonTitle||e.title}),(0,l.jsx)(c.P.span,{className:"bg-background/20 absolute inset-0 z-10",initial:{scaleX:0},animate:{scaleX:+!!n},transition:{duration:n?10:.3,ease:"linear"},style:{transformOrigin:"left"}},n?"progress-".concat(e.id,"-").concat(v.id):"progress-".concat(e.id,"-inactive"))]},e._id)})}),(null==f?void 0:f.disclaimerTop)&&(0,l.jsx)("div",{className:"mb-8 text-center",children:(0,l.jsx)(i.s,{richText:f.disclaimerTop})}),(0,l.jsx)(s.SanityButtons,{buttons:g}),(null==f?void 0:f.disclaimerBottom)&&(0,l.jsx)("div",{className:"mt-8 text-center",children:(0,l.jsx)(i.s,{richText:f.disclaimerBottom})})]})})}},3682:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var l=n(58986),a=n(94366),i=n(6050);let s=e=>{let{text:t="",delay:n=200,className:s="",animateBy:r="words",direction:o="top",threshold:c=.1,rootMargin:d="0px",animationFrom:u,animationTo:m,easing:x=e=>e,onAnimationComplete:p,stepDuration:h=.35}=e,g="words"===r?t.split(" "):t.split(""),[f,y]=(0,i.useState)(!1),b=(0,i.useRef)(null);(0,i.useEffect)(()=>{if(!b.current)return;let e=new IntersectionObserver(t=>{let[n]=t;n.isIntersecting&&(y(!0),e.unobserve(b.current))},{threshold:c,rootMargin:d});return e.observe(b.current),()=>e.disconnect()},[c,d]);let v=(0,i.useMemo)(()=>"top"===o?{filter:"blur(10px)",opacity:0,y:-50}:{filter:"blur(10px)",opacity:0,y:50},[o]),j=(0,i.useMemo)(()=>[{filter:"blur(0.5rem)",opacity:.5,y:"top"===o?5:-5},{filter:"blur(0rem)",opacity:1,y:0}],[o]),w=null!=u?u:v,N=null!=m?m:j,_=N.length+1,S=h*(_-1),z=Array.from({length:_},(e,t)=>1===_?0:t/(_-1));return(0,l.jsx)("span",{ref:b,className:"blur-text ".concat(s," flex flex-wrap"),children:g.map((e,t)=>{let s=((e,t)=>{let n=new Set([...Object.keys(e),...t.flatMap(e=>Object.keys(e))]),l={};return n.forEach(n=>{l[n]=[e[n],...t.map(e=>e[n])]}),l})(w,N);return(0,l.jsxs)(i.Fragment,{children:[(0,l.jsxs)(a.P.span,{initial:w,animate:f?s:w,transition:{duration:S,times:z,delay:t*n/1e3,ease:x},onAnimationComplete:t===g.length-1?p:void 0,style:{display:"inline-block",willChange:"transform, filter, opacity"},children:[" "===e?"\xa0":e,"words"===r&&t<g.length-1&&"\xa0"]}),"words"===r&&t<g.length-1&&" "]},t)}
1)})}},5238:(e,t,n)=>{n.d(t,{Xi:()=>o,av:()=>c,j7:()=>r,tU:()=>s});var l=n(58986),a=n(2006),i=n(6050);let s=a.bL,r=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,l.jsx)(a.B8,{ref:t,className:"flex items-center justify-center gap-2 flex-wrap ".concat(n||""),...i})});r.displayName=a.B8.displayName;let o=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,l.jsx)(a.l9,{ref:t,className:"inline-flex items-center justify-center whitespace-nowrap rounded-full hover:bg-card px-5 py-2 text-sm md:text-base border border-foreground font-bold ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-foreground data-[state=active]:text-background ".concat(n||""),...i})});o.displayName=a.l9.displayName;let c=i.forwardRef((e,t)=>{let{className:n,...i}=e;return(0,l.jsx)(a.UC,{ref:t,className:"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ".concat(n||""),...i})});c.displayName=a.UC.displayName},5591:(e,t,n)=>{n.d(t,{FundosDefault:()=>E});var l=n(58986),a=n(34978),i=n(56995),s=n.n(i),r=n(93406),o=n(18934),c=n(9211),d=n(34703),u=n(77483),m=n(94103),x=n(33839),p=n(48864),h=n(67928),g=n(94366),f=n(300),y=n(6050),b=n(73688),v=n(21528),j=n(39932),w=n(83127),N=n(53412),_=n(46470),S=n(1175),z=n(85660),k=n(87572),P=n(27159),C=n(20464),T=n(71220);function q(e){let t,n,i,s,r,o,c,d,u=(0,a.c)(14);return u[0]!==e?({className:n,children:t,...i}=e,u[0]=e,u[1]=t,u[2]=n,u[3]=i):(t=u[1],n=u[2],i=u[3]),u[4]!==n?(s=(0,h.cn)("relative",n),u[4]=n,u[5]=s):s=u[5],u[6]!==t?(r=(0,l.jsx)(z.B,{"data-slot":"scroll-area-viewport",className:"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",children:t}),u[6]=t,u[7]=r):r=u[7],u[8]===Symbol.for("react.memo_cache_sentinel")?(o=(0,l.jsx)(I,{}),c=(0,l.jsx)(k.I,{}),u[8]=o,u[9]=c):(o=u[8],c=u[9]),u[10]!==i||u[11]!==s||u[12]!==r?(d=(0,l.jsxs)(P.V,{"data-slot":"scroll-area",className:s,...i,children:[r,o,c]}),u[10]=i,u[11]=s,u[12]=r,u[13]=d):d=u[13],d}function I(e){let t,n,i,s,r,o,c,d,u=(0,a.c)(16);u[0]!==e?({className:t,classThumb:n,orientation:s,...i}=e,u[0]=e,u[1]=t,u[2]=n,u[3]=i,u[4]=s):(t=u[1],n=u[2],i=u[3],s=u[4]);let m=void 0===s?"vertical":s;return u[5]!==t?(r=(0,h.cn)("h-2.5 data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent flex touch-none p-px transition-colors select-none rounded-full bg-card ",t),u[5]=t,u[6]=r):r=u[6],u[7]!==n?(o=(0,h.cn)("rounded-full bg-accent/50 relative",n),u[7]=n,u[8]=o):o=u[8],u[9]!==o?(c=(0,l.jsx)(C.l,{"data-slot":"scroll-area-thumb",className:o}),u[9]=o,u[10]=c):c=u[10],u[11]!==m||u[12]!==i||u[13]!==r||u[14]!==c?(d=(0,l.jsx)(T.V,{"data-slot":"scroll-area-scrollbar","data-orientation":m,orientation:m,className:r,...i,children:c}),u[11]=m,u[12]=i,u[13]=r,u[14]=c,u[15]=d):d=u[15],d}var D=n(12465);function M(e){let t,n,i,s,r,c,d,u,m,x=(0,a.c)(21),{value:p,description:g}=e,{t:f}=(0,D.Bd)();return x[0]!==g?(t=g&&(0,l.jsx)("div",{className:"lg:pr-8",children:(0,l.jsx)(o.s,{richText:g})}),x[0]=g,x[1]=t):t=x[1],x[2]!==p?(n=(0,l.jsx)("div",{className:"flex items-center justify-between gap-2",children:Array.from({length:7},(e,t)=>{let n=t+1,a=n===p,i=n<4,s=n>4,r=4===n;return(0,l.jsx)("div",{className:(0,h.cn)("flex h-8 w-16 items-center justify-center rounded-sm border-2 transition-all",i&&"text-foreground border-[#C0D530] bg-[#C0D530]",s&&"text-foreground border-[#F2B5B7] bg-[#F2B5B7]",r&&"text-foreground border-[#FFEE02] bg-[#FFEE02]",a&&"border-foreground text-foreground shadow-lg"),children:n},n)})}),x[2]=p,x[3]=n):n=x[3],x[4]!==f?(i=f("funds.lessElevatedRisk"),x[4]=f,x[5]=i):i=x[5],x[6]!==i?(s=(0,l.jsx)("span",{className:"-ml-3",children:i}),x[6]=i,x[7]=s):s=x[7],x[8]!==f?(r=f("funds.moreElevatedRisk"),x[8]=f,x[9]=r):r=x[9],x[10]!==r?(c=(0,l.jsx)("span",{className:"-mr-1",children:r}),x[10]=r,x[11]=c):c=x[11],x[12]!==s||x[13]!==c?(d=(0,l.jsxs)("div",{className:"text-foreground flex justify-between pt-2 text-center text-xs",children:[s,c]}),x[12]=s,x[13]=c,x[14]=d):d=x[14],x[15]!==n||x[16]!==d?(u=(0,l.jsxs)("div",{className:"w-full",children:[n,d]}),x[15]=n,x[16]=d,x[17]=u):u=x[17],x[18]!==t||x[19]!==u?(m=(0,l.jsxs)("div",{className:"grid w-full grid-cols-1 items-center gap-5 p-2 lg:grid-cols-2 lg:gap-0 lg:p-5",children:[t,u]}),x[18]=t,x[19]=u,x[20]=m):m=x[20],m}function L(e){let{detail:t}=e,{t:n}=(0,D.Bd)();return t.title?(0,l.jsxs)("div",{className:"grid grid-cols-1 items-stretch justify-items-stretch gap-2 md:grid-cols-[16rem_auto] md:gap-6",children:[(0,l.jsx)("div",{className:"bg-accent text-background flex items-center rounded-3xl border px-4 px-5 py-2 py-2.5 text-left font-bold",children:t.title}),(0,l.jsxs)("div",{className:"bg-card text-foreground flex w-full flex-col items-start justify-start overflow-hidden rounded-3xl border px-2 py-2 py-2.5 text-left sm:px-4 lg:px-5",children:["text"===t.type&&t.description&&(0,l.jsx)(o.s,{richText:t.description}),"risk"===t.type&&void 0!==t.value&&(0,l.jsx)(M,{value:t.value,description:t.description}),"table"===t.type&&t.table&&(0,l.jsx)("div",{className:"w-full",children:(0,l.jsxs)(q,{className:"mx-auto pb-4",children:[(0,l.jsxs)("div",{className:"flex w-max flex-col",children:[(0,l.jsx)("table",{className:"mx-auto border-collapse",children:(0,l.jsx)("tbody",{children:Array.from({length:Math.max(...t.table.map(e=>{var t;return(null==(t=e.rows)?void 0:t.length)||0}))},(e,n)=>{var a;return(0,l.jsx)("tr",{children:null==(a=t.table)?void 0:a.map((e,t)=>{var a;return(0,l.jsx)("td",{valign:"top",className:"border-0 pb-2 text-center",children:(0,l.jsx)("div",{className:(0,h.cn)("flex items-center justify-center rounded-3xl border p-2.5 px-5",0===n?"bg-accent text-background text-sm font-bold":"bg-card text-foreground"),children:(0,l.jsx)("span",{className:"whitespace-nowrap",children:(null==(a=e.rows)?void 0:a[n])||""})})},t)})},n)})})}),t.description&&(0,l.jsx)("div",{className:"pt-1",children:(0,l.jsx)(o.s,{richText:t.description})})]}),(0,l.jsx)(I,{classThumb:"bg-accent/50",className:"bg-background",orientation:"horizontal","data-has-overflow-x":"true"})]})})]})]}):null}
1function B(e){let{code:t}=e,[n,a]=(0,y.useState)([]),[i,r]=(0,y.useState)(!0),[o,c]=(0,y.useState)(null),{t:d,i18n:x}=(0,D.Bd)(),p=x.language;if((0,y.useEffect)(()=>{if(!t)return void r(!1);(async()=>{try{r(!0),c(null);let e=await fetch("/api/funds/chart/".concat(t));if(!e.ok)throw Error(d("funds.failedToFetchChartData"));let n=await e.json(),l=Object.values(n).map(e=>({date:e.ValQPdtv||"",value:parseFloat(e.ValQPvupfp||"0")})).filter(e=>e.date&&!isNaN(e.value)).sort((e,t)=>new Date(e.date).getTime()-new Date(t.date).getTime());a(l)}catch(e){console.error("Error fetching chart data:",e),c("Failed to load chart data")}finally{r(!1)}})()},[t]),i)return(0,l.jsx)("div",{className:"flex h-64 items-center justify-center",children:(0,l.jsx)("div",{className:"text-muted-foreground",children:d("funds.loadingChart")})});if(o||0===n.length)return null;let h=n.map(e=>e.value),g=.2*Math.floor((Math.min(...h)-.2)/.2),f=.2*Math.ceil((Math.max(...h)+.2)/.2);return(0,l.jsxs)("div",{className:"space-y-4",children:[(0,l.jsx)(u.DZ,{as:"h3",className:"text-popover text-center text-base lg:text-base",children:d("funds.evolutionOfParticipationUnit")}),(0,l.jsx)("div",{className:"h-64 w-full",children:(0,l.jsx)(b.u,{width:"100%",height:"100%",children:(0,l.jsxs)(v.Q,{data:n,responsive:!0,margin:{top:0,right:5,bottom:0,left:0},children:[(0,l.jsx)(j.d,{strokeDasharray:"1 6",className:"stroke-foreground
1/20"}),(0,l.jsx)(w.W,{dataKey:"date",tickFormatter:e=>new Date(e).toLocaleDateString("pt-PT",{month:"short",day:"numeric"}),className:"text-xs",angle:-45,textAnchor:"end",height:60}),(0,l.jsx)(N.h,{className:"text-xs",width:45,domain:[g,f],tickCount:Math.round((f-g)/.2)+1,tickFormatter:e=>e.toFixed(1),allowDecimals:!0}),(0,l.jsx)(_.m,{contentStyle:{backgroundColor:"hsl(var(--card))",border:"1px solid hsl(var(--border))",borderRadius:"0.5rem"},labelFormatter:e=>new Date(e).toLocaleDateString("pt-PT",{year:"numeric",month:"long",day:"numeric"}),formatter:e=>[void 0!==e?e.toFixed(4):"",d("funds.value")]}),(0,l.jsx)(S.Gk,{type:"monotone",dataKey:"value",stroke:"#7cc8d4",fill:"#e2eff1",strokeWidth:1.5,dot:!1,activeDot:{r:4,fill:"#7cc8d4",stroke:"#fff",strokeWidth:2}})]})})}),(0,l.jsx)(s(),{href:(0,m.Rh)({path:d("funds.financialInformationPath"),anchor:t,locale:p}),className:"text-accent text-sm font-medium hover:underline",children:d("funds.financialInformation")})]})}function R(e){let t,n,i,s,r,c,m,x,p=(0,a.c)(25),{fundo:h}=e,{t:g}=(0,D.Bd)();return p[0]!==h.description?(t=h.description&&(0,l.jsx)("div",{children:(0,l.jsx)(o.s,{richText:h.description})}),p[0]=h.description,p[1]=t):t=p[1],p[2]!==h.shortDescription||p[3]!==g?(n=h.shortDescription&&(0,l.jsxs)("div",{children:[(0,l.jsx)(u.DZ,{as:"h3",className:"gradient-text1 text-left text-base font-bold",children:g("funds.description")}),(0,l.jsx)(o.s,{richText:h.shortDescription})]}),p[2]=h.shortDescription,p[3]=g,p[4]=n):n=p[4],p[5]!==h.code?(i=h.code&&(0,l.jsx)(B,{code:h.c
1ode}),p[5]=h.code,p[6]=i):i=p[6],p[7]!==n||p[8]!==i?(s=(0,l.jsxs)("div",{className:"grid w-full grid-cols-1 gap-6 lg:grid-cols-[auto_36rem] lg:gap-10",children:[n,i]}),p[7]=n,p[8]=i,p[9]=s):s=p[9],p[10]!==h.details||p[11]!==g?(r=h.details&&h.details.length>0&&(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)(u.DZ,{as:"h3",className:"gradient-text1 text-left text-base font-bold",children:g("funds.technicalSheet")}),(0,l.jsx)("div",{className:"flex w-full flex-col gap-6 md:gap-2",children:h.details.map(A)})]}),p[10]=h.details,p[11]=g,p[12]=r):r=p[12],p[13]!==h.conditions||p[14]!==g?(c=h.conditions&&h.conditions.length>0&&(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)(u.DZ,{as:"h3",className:"gradient-text1 text-left text-base font-bold",children:g("funds.conditions")}),(0,l.jsx)("div",{className:"grid w-full grid-cols-1 items-stretch gap-6 md:grid-cols-2 lg:gap-9",children:h.conditions.map((e,t)=>(0,l.jsxs)("div",{className:"bg-card text-foreground h-full w-full rounded-3xl p-5 text-center",children:[e.image&&(0,l.jsx)("div",{className:"relative h-12 w-full overflow-hidden",children:(0,l.jsx)(d.s,{image:e.image,alt:e.title||g("sections.fundos.conditionImageAlt"),fill:!0,className:"object-contain object-center",sizes:"(max-width: 768px) 100vw, 33vw"})}),e.title&&(0,l.jsx)(u.DZ,{as:"h4",className:"mb-1 mt-2 text-base font-semibold",children:e.title}),e.description&&(0,l.jsx)(o.s,{richText:e.description})]},e._key||"condition-".concat(t)))})]}),p[13]=h.conditions,p[14]=g,p[15]=c):c=p[15],p[16]!==h.files||p[17]!==g?(m=h.files&&h.files.length>0&&(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)(u.DZ,{as:"h3",className:"gradient-text1 text-left text-base font-bold",children:g("funds.documentation")}),(0,l.jsx)("div",{className:"flex w-full flex-col gap-2",children:h.files.map(V)})]}),p[16]=h.files,p[17]=g,p[18]=m):m=p[18],p[19]!==t||p[20]!==s||p[21]!==r||p[22]!==c||p[23]!==m?(x=(0,l.jsxs)("div",{className:"flex flex-col gap-10",children:[t,s,r,c,m]}),p[19]=t,p[20]=s,p[21]=r,p[22]=c,p[23]=m,p[24]=x):x=p[24],x}function V(e,t){var n;return(0,l.jsxs)("a",{href:(0,x.k)(null==(n=e.file)?void 0:n.url),target:"_blank",rel:"noopener noreferrer",className:"hover:bg-accent text-foreground flex items-center justify-between gap-3 py-2 no-underline transition-colors",children:[(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)("div",{className:"text-sm font-bold uppercase",children:e.title})}),(0,l.jsx)(f.A,{className:"h-6 w-6 shrink-0"})]},e._key||"file-".concat(t))}function A(e,t){return(0,l.jsx)(L,{detail:e},e._key||"detail-".concat(t))}function E(e){var t,n;let{title:a,eyebrow:i,eyebrowPosition:s,richText:o,fundos:d,buttons:x,sectionParameters:f,sectionStyles:b}=e;if(!d||0===d.length)return null;let[v,j]=(0,y.useState)((null==(t=d[0])?void 0:t._id)||""),[w,N]=(0,y.useState)((null==(n=d[0])?void 0:n._id)||""),_=(0,y.useRef)({}),S=(0,y.useRef)(null),z=(0,y.useRef)(!1),k=e=>{z.current=!0,N(e)};return(0,y.useEffect)(()=>{if(S.current&&clearTimeout(S.current),!z.current||!w){z.current=!1;return}return S.current=setTimeout(()=>{let e=_.current[w];if(e){let t=e.getBoundingClientRect().top+window.pageYOffset-150;window.scrollTo({top:t,behavior:"smooth"})}z.current=!1},350),()=>{S.current&&clearTimeout(S.current)}},[w]),(0,l.jsx)("section",{id:null==f?void 0:f.sectionId,className:(0,h.cn)((0,m.aU)({...b,background:"gradient"}),"py-12 lg:py-24"),children:(0,l.jsxs)(r.m,{children:[(0,l.jsx)(u.R2,{position:s,children:i}),a&&(0,l.jsx)(g.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:"mx-auto max-w-[56rem] overflow-hidden px-8 pt-10",children:(0,l.jsx)(u.DZ,{className:"gradient-text m-0 text-center uppercase",children:a})}),(0,l.jsx)(u.hj,{richText:o}),(0,l.jsx)("div",{className:"mx-auto rounded-3xl bg-white px-2 py-2 lg:min-w-[55rem] lg:px-6",children:(0,l.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-1 lg:gap-3",children:d.map(e=>(0,l.jsx)("div",{children:(0,l.jsx)("button",{onClick:()=>k(e._id),onTouchEnd:t=>{t.preventDefault(),k(e._id)},className:(0,h.cn)("m-0 rounded-full px-2.5 py-2.5 text-sm outline-none transition-colors focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 active:outline-none lg:px-6 lg:text-base lg:text-lg",w===e._id?"bg-foreground text-background":"hover:bg-card"),children:e.title})},e._id))})}),(0,l.jsx)("div",{className:"mt-12",children:(0,l.jsx)(p.nD,{type:"single",collapsible:!0,value:w,onValueChange:N,className:"flex flex-col gap-6 rounded-3xl bg-white p-6 md:p-8 lg:gap-14 lg:p-12",children:d.map(e=>(0,l.jsxs)(p.As,{value:e._id,ref:t=>{_.current[e._id]=t},onClick:()=>k(e._id),onTouchEnd:t=>{t.preventDefault(),k(e._id)},children:[(0,l.jsx)(p.$m,{className:"w-full pb-6 text-left",children:(0,l.jsx)(u.DZ,{as:"h3",className:"h5 m-0 font-bold",children:e.title})}),(0,l.jsx)(p.ub,{className:"pb-10",children:(0,l.jsx)(R,{fundo:e})})]},e._id))})}),(0,l.jsx)(c.SanityButtons,{buttons:x,showButton:"always"})]})})}},11118:(e,t,n)=>{n.d(t,{BlogFaqsSelectorDefault:()=>h});var l=n(58986),a=n(34978),i=n(93406),s=n(34703),r=n(77483),o=n(94103),c=n(6746),d=n(67928),u=n(94366),m=n(86548),x=n(6050),p=n(12465);function h(e){let t,n,h,f,y,b,v,j,w,N,_,S,z,k=(0,a.c)(33),{title:P,richText:C,image:T,categories:q,sectionStyles:I}=e,{t:D}=(0,p.Bd)(),M=(0,m.useRouter)(),[L,B]=(0,x.useState)("");k[0]!==M?(t=e=>{B(e),e&&M.push("/".concat(e,"#faqs"))},k[0]=M,k[1]=t):t=k[1];let R=t;return q&&0!==q.length?(k[2]!==I?(n=(0,d.cn)("relative w-full pb-16 pt-12 lg:py-24",(0,o.aU)(I)),k[2]=I,k[3]=n):n=k[3],k[4]!==T?(h=T&&(0,l.jsx)("div",{className:"relative aspect-[35/19] w-full lg:aspect-auto",children:(0,l.jsx)(s.s,{image:T,fill:!0,className:"object-cover object-center"})}),k[4]=T,k[5]=h):h=k[5],k[6]!==P?(f=P&&(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20},whileInView:{opacity:1,y:0},transition:{duration:1},viewport:{once:!0},className:"overflow-hidden",children:(0,l.jsx)(r.DZ,{className:"h3 m-0 text-center font-bold uppercase lg:text-left",children:P})}),k[6]=P,k[7]=f):f=k[7],k[8]!==C?(y=(0,l.jsx)(r.hj,{richText:C,className:"pt-5 text-center text-base font-bold lg:text-left"}),k[8]=C,k[9]=y):y=k[9],k[10]!==D?(b=D("sections.blog.chooseCategory"),k[10]=D,k[11]=b):b=k[11],k[12]!==b?(v=(0,l.jsx)(c.bq,{className:"w-full",children:(0,l.jsx)(c.yv,{placeholder:b})}),k[12]=b,k[13]=v):v=k[13],k[14]!==q?(j=q.map(g),k[14]=q,k[15]=j):j=k[15],k[16]!==j?(w=(0,l.jsx)(c.gC,{position:"item-aligned",className:"bg-white",children:j}),k[16]=j,k[17]=w):w=k[17],k[18]!==R||k[19]!==L||k[20]!==v||k[21]!==w?(N=(0,l.jsx)("div",{className:"mt-5 w-full",children:(0,l.jsxs)(c.l6,{value:L,onValueChange:R,children:[v,w]})}),k[18]=R,k[19]=L,k[20]=v,k[21]=w,k[22]=N):N=k[22],k[23]!==N||k[24]!==f||k[25]!==y?(_=(0,l.jsx)("div",{className:"w-full px-8 py-11 lg:px-10 lg:py-20",children:(0,l.jsxs)("div",{className:"w-full max-w-[33rem]",children:[f,y,N]})}),k[23]=N,k[24]=f,k[25]=y,k[26]=_):_=k[26],k[27]!==_||k[28]!==h?(S=(0,l.jsx)(i.m,{children:(0,l.jsxs)("div",{className:"bg-card rounded-4xl grid grid-cols-1 items-stretch gap-0 overflow-hidden lg:grid-cols-[34rem_auto]",children:[h,_]})}),k[27]=_,k[28]=h,k[29]=S):S=k[29],k[30]!==S||k[31]!==n?(z=(0,l.jsx)("section",{className:n,children:S}),k[30]=S,k[31]=n,k[32]=z):z=k[32],z):null}function g(e){return(0,l.jsx)(c.eb,{value:e.slug||"",children:e.title},e._id)}}
1,13602:(e,t,n)=>{n.d(t,{k:()=>i});var l=n(58986),a=n(34978);function i(e){let t,n,i=(0,a.c)(3),{className:s}=e;return i[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,l.jsx)("path",{fill:"currentColor",d:"M122.707 8.20711c.391-.39053.391-1.02369 0-1.41422L116.343.42893c-.39-.39052-1.024-.39052-1.414 0-.391.39053-.391 1.02369 0 1.41422L120.586 7.5l-5.657 5.6569c-.391.3905-.391 1.0236 0 1.4142.39.3905 1.024.3905 1.414 0zM0 7.5v1h.98387v-2H0zm2.95161 0v1h1.96774v-2H2.95161zm3.93549 0v1h1.96774v-2H6.8871zm3.9355 0v1h1.9677v-2h-1.9677zm3.9355 0v1h1.9677v-2h-1.9677zm3.9355 0v1h1.9677v-2h-1.9677zm3.9354 0v1h1.9678v-2H22.629zm3.9355 0v1h1.9678v-2h-1.9678zm3.9355 0v1h1.9678v-2H30.5zm3.9355 0v1h1.9677v-2h-1.9677zm3.9355 0v1h1.9677v-2H38.371zm3.9355 0v1h1.9677v-2h-1.9677zm3.9355 0v1h1.9677v-2H46.242zm3.9354 0v1h1.9678v-2h-1.9678zm3.9355 0v1h1.9678v-2h-1.9678zm3.9355 0v1h1.9678v-2h-1.9678zm3.9355 0v1h1.9677v-2h-1.9677zm3.9355 0v1h1.9677v-2h-1.9677zm3.9355 0v1h1.9677v-2h-1.9677zm3.9355 0v1h1.9677v-2h-1.9677zm3.9354 0v1h1.9678v-2h-1.9678zm3.9355 0v1h1.9678v-2h-1.9678zm3.9355 0v1h1.9678v-2h-1.9678zm3.9355 0v1H91.5v-2h-1.9677zm3.9355 0v1h1.9677v-2h-1.9677zm3.9355 0v1h1.9677v-2h-1.9677zm3.9357 0v1h1.967v-2h-1.967zm3.935 0v1h1.968v-2h-1.968zm3.936 0v1h1.967v-2h-1.967zm3.935 0v1h1.968v-2h-1.968zm3.936 0v1h1.967v-2h-1.967zm3.935 0v1H122v-2h-.984z"}),i[0]=t):t=i[0],i[1]!==s?(n=(0,l.jsx)("svg",{width:"7.688rem",height:"0.938rem",className:s,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 123 15",children:t}),i[1]=s,i[2]=n):n=i[2],n}},13892:(e,t,n)=>{n.d(t,{HeroProduct:()=>u});var l=n(58986),a=n(34978),i=n(18934),s=n(9211),r=n(34703),o=n(3682),c=n(67928),d=n(94366);function u(e){let t,n,u,m,x,p,h,g,f,y,b=(0,a.c)(29),{title:v,subTitle:j,description:w,buttons:N,image:_,mobileImage:S,bgColor:z}=e,k="gradient"===z&&"bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] bg-cover bg-center",P="black"===z&&"bg-black",C="gray"===z&&"bg-card",T="default"===z&&"";b[0]!==k||b[1]!==P||b[2]!==C||b[3]!==T?(t=(0,c.cn)("w-full px-5 pb-5 pt-32 lg:px-12 lg:pt-[9rem] 2xl:px-24",k,P,C,T),b[0]=k,b[1]=P,b[2]=C,b[3]=T,b[4]=t):t=b[4],b[5]!==_||b[6]!==S?(n=_&&(0,l.jsxs)("div",{className:"",children:[(0,l.jsx)(r.s,{image:_,loading:"eager",priority:!0,fill:!0,className:(0,c.cn)("object-cover object-center",S&&"hidden lg:block"),sizes:"100vw",quality:100}),S&&(0,l.jsx)(r.s,{image:S,loading:"eager",priority:!0,fill:!0,className:"block object-cover object-center lg:hidden",sizes:"100vw",quality:100}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-black/70 to-transparent"})]}),b[5]=_,b[6]=S,b[7]=n):n=b[7],b[8]!==v?(u=(0,l.jsxs)("h1",{className:"mb-0 text-balance text-center uppercase text-white",children:[(0,l.jsx)(o.default,{text:v,delay:250,animateBy:"words",direction:"top",className:"justify-center text-center font-bold lg:max-w-[48rem] lg:justify-start"})," "]}),b[8]=v,b[9]=u):u=b[9],b[10]!==j?(m=j&&(0,l.jsx)(d.P.p,{initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:1,duration:1.5},className:"from-accent mb-20 mt-10 bg-gradient-to-r to-[#96E5FF] bg-clip-text text-center text-2xl font-bold text-transparent sm:text-3xl lg:text-left",children:j}),b[10]=j,b[11]=m):m=b[11],b[12]!==w?(x=w&&(0,l.jsx)(d.P.div,{initial:{opacity:0},animate:{opacity:1},transition:{delay:1.2,duration:1.5},className:"mb-8 mt-5 text-center text-base text-white/90 md:text-lg lg:text-left",children:(0,l.jsx)(i.s,{richText:w})}),b[12]=w,b[13]=x):x=b[13],b[14]!==N?(p={buttons:N,buttonClassName:"w-auto flex justify-center",className:"mb-8 mt-auto w-full justify-center gap-2 sm:w-fit"},b[14]=N,b[15]=p):p=b[15];let q=p;return b[16]!==q?(h=(0,l.jsx)("div",{className:"flex w-full justify-center px-4 md:absolute md:bottom-0 md:left-[50%] md:translate-x-[-50%]",children:(0,l.jsx)(s.SanityButtons,{showButton:"inView",...q})}),b[16]=q,b[17]=h):h=b[17],b[18]!==h||b[19]!==u||b[20]!==m||b[21]!==x?(g=(0,l.jsx)("div",{className:"relative z-10",children:(0,l.jsxs)("div",{className:"container mx-auto flex h-full min-h-[37rem] flex-col justify-between px-4 pb-0 pt-20 md:justify-center md:px-16 md:py-28 lg:px-28",children:[u,m,x,h]})}),b[18]=h,b[19]=u,b[20]=m,b[21]=x,b[22]=g):g=b[22],b[23]!==g||b[24]!==n?(f=(0,l.jsxs)("div",{className:"rounded-4xl relative h-full overflow-hidden",children:[n,g]}),b[23]=g,b[24]=n,b[25]=f):f=b[25],b[26]!==f||b[27]!==t?(y=(0,l.jsx)("section",{id:"hero",className:t,children:f}),b[26]=f,b[27]=t,b[28]=y):y=b[28],y}},14273:(e,t,n)=>{n.d(t,{HistoryImage:()=>u});var l=n(58986),a=n(34703),i=n(77483),s=n(58730),r=n(98572),o=n(89011),c=n(94366),d=n(6050);function u(e){let{title:t,image:n,theme:u}=e;if(!n)return null;let m=(0,d.useRef)(null),{scrollYProgress:x}=(0,r.L)({target:m,offset:["start end","end start"]}),p=(0,s.a)(640),h=(0,o.G)(x,[0,1],["-10%","20%"]),g=(0,o.G)(x,p?[0,.5,1]:[0,1],p?["100%","70%","0%"]:["100%","-20%"]),f=(0,o.G)(x,[0,1],[.7,1.2]);return(0,l.jsx)("div",{ref:m,className:"relative h-[50vh] w-full sm:h-[100vh]",children:(0,l.jsxs)("div",{className:"sticky top-0 h-[50vh] w-full overflow-hidden sm:h-screen",children:[(0,l.jsx)(c.P.div,{style:{y:h,scale:f},transition:{duration:1.5,ease:"easeInOut"},className:"absolute inset-0",children:(0,l.jsx)(a.s,{image:n,fill:!0,className:"object-cover object-center",sizes:"100vw"})}),t?(0,l.jsx)(c.P.div,{style:{x:g},transition:{ease:"easeInOut"},className:"relative z-10 flex h-full w-full items-end justify-center pb-20 sm:items-center sm:pb-0 sm:pt-20",children:(0,l.jsx)(i.DZ,{className:"text-background whitespace-nowrap text-[4rem] font-light sm:text-[6rem] md:text-[9rem] lg:text-[14rem]",children:t})}):null]})})}},14288:(e,t,n)=>{n.d(t,{ItemListDefault:()=>o});var l=n(58986),a=n(34978),i=n(77483),s=n(94366),r=n(30847);function o(e){let t,n,o,c,d,u,m,x,p,h,g,f,y,b,v=(0,a.c)(25),{eyebrow:j,eyebrowPosition:w,title:N,richText:_,itemList:S,sectionParameters:z}=e;if(!(null==S?void 0:S.list)||!S.list.length)return null;let k=null==z?void 0:z.sectionId;return v[0]!==j||v[1]!==w?(t=(0,l.jsx)(i.R2,{position:w,children:j}),v[0]=j,v[1]=w,v[2]=t):t=v[2],v[3]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:.5,y:20,filter:"blur(0.5rem)"},o={opacity:1,y:0,filter:"blur(0rem)"},c={duration:1},d={once:!0},v[3]=n,v[4]=o,v[5]=c,v[6]=d):(n=v[3],o=v[4],c=v[5],d=v[6]),v[7]!==N?(u=(0,l.jsx)(s.P.div,{initial:n,whileInView:o,transition:c,viewport:d,children:(0,l.jsx)(i.DZ,{className:"gradient-text m-0 text-center uppercase",children:N})}),v[7]=N,v[8]=u):u=v[8],v[9]===Symbol.for("react.memo_cache_sentinel")?(p={opacity:.5,y:20},h={opacity:1,y:0},m={duration:1},x={once:!0},v[9]=m,v[10]=x,v[11]=p,v[12]=h):(m=v[9],x=v[10],p=v[11],h=v[12]),v[13]!==_?(g=(0,l.jsx)(s.P.div,{initial:p,whileInView:h,transition:m,viewport:x,children:(0,l.jsx)(i.hj,{richText:_,className:"pt-8 text-lg lg:text-xl"})}),v[13]=_,v[14]=g):g=v[14],v[15]!==S?(f=(0,l.jsx)("div",{className:"mx-auto mb-0 mt-10 w-full max-w-[32.188rem] md:mt-16",children:(0,l.jsx)(r.e,{itemList:S,className:"text-foreground"})}),v[15]=S,v[16]=f):f=v[16],v[17]!==g||v[18]!==f||v[19]!==t||v[20]!==u?(y=(0,l.jsx)("div",{className:"w-full px-6 lg:px-12 2xl:px-24",children:(0,l.jsx)("div",{className:"bg-card md:bg-card w-full rounded-3xl px-8 py-12 md:rounded-3xl lg:px-20 lg:py-24 xl:px-28",children:(0,l.jsxs)("div",{className:"mx-auto w-full max-w-[67.5rem]",children:[t,u,g,f]})})}),v[17]=g,v[18]=f,v[19]=t,v[20]=u,v[21]=y):y=v[21],v[22]!==k||v[23]!==y?(b=(0,l.jsx)("section",{id:k,className:"bg-background text-foreground relative",children:y}),v[22]=k,v[23]=y,v[24]=b):b=v[24],b}},14432:(e,t,n)=>{n.d(t,{FormSectionText:()=>m});var l=n(58986),a=n(34978),i=n(93406),s=n(28514),r=n(18934),o=n(9211),c=n(77483),d=n(94366),u=n(12465);function m(e){let t,n,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I=(0,a.c)(46),{eyebrow:D,eyebrowPosition:M,title:L,richText:B,buttons:R,formTitle:V,form:A,formRichText:E,privacyPolicy:F}=e,{t:Z}=(0,u.Bd)();return I[0]!==D||I[1]!==M?(t=(0,l.jsx)(c.R2,{position:M,children:D}
1),I[0]=D,I[1]=M,I[2]=t):t=I[2],I[3]!==L?(n=(0,l.jsx)(c.DZ,{children:L}),I[3]=L,I[4]=n):n=I[4],I[5]!==B?(m=(0,l.jsx)(c.hj,{richText:B}),x=(0,l.jsx)(r.s,{richText:B,className:"text-left"}),I[5]=B,I[6]=m,I[7]=x):(m=I[6],x=I[7]),I[8]===Symbol.for("react.memo_cache_sentinel")?(p={opacity:0,y:20},h={opacity:1,y:0},g={duration:1,delay:.3},f={once:!0,margin:"-100px 0px"},I[8]=p,I[9]=h,I[10]=g,I[11]=f):(p=I[8],h=I[9],g=I[10],f=I[11]),I[12]!==E?(y=(0,l.jsx)(r.s,{richText:E,className:"text-center leading-7 lg:text-left"}),I[12]=E,I[13]=y):y=I[13],I[14]!==Z?(b=Z("sections.form.realLifeQuestion"),I[14]=Z,I[15]=b):b=I[15],I[16]!==b?(v=(0,l.jsx)("div",{className:"gradient-text mt-14 text-center text-4xl font-normal leading-tight sm:text-5xl lg:text-start",children:b}),I[16]=b,I[17]=v):v=I[17],I[18]!==Z?(j=Z("sections.form.everything"),I[18]=Z,I[19]=j):j=I[19],I[20]!==j?(w=(0,l.jsx)("div",{className:"mt-12 text-center text-8xl font-bold sm:text-9xl lg:text-start lg:text-[146px]",children:j}),I[20]=j,I[21]=w):w=I[21],I[22]!==v||I[23]!==w||I[24]!==y?(N=(0,l.jsxs)(d.P.div,{initial:p,whileInView:h,transition:g,viewport:f,className:"",children:[y,v,w]}),I[22]=v,I[23]=w,I[24]=y,I[25]=N):N=I[25],I[26]===Symbol.for("react.memo_cache_sentinel")?(_={opacity:0,y:20},S={opacity:1,y:0},z={duration:1,delay:.3},k={once:!0,margin:"-100px 0px"},I[26]=_,I[27]=S,I[28]=z,I[29]=k):(_=I[26],S=I[27],z=I[28],k=I[29]),I[30]!==A||I[31]!==V||I[32]!==F?(P=(0,l.jsx)(d.P.div,{initial:_,whileInView:S,transition:z,viewport:k,className:"rounded-4xl space-y-6 overflow-hidden",children:(0,l.jsx)(s.A,{form:A,title:V,privacyPolicy:F})}),I[30]=A,I[31]=V,I[32]=F,I[33]=P):P=I[33],I[34]!==N||I[35]!==P?(C=(0,l.jsxs)("div",{className:"grid grid-cols-1 items-start gap-12 lg:grid-cols-2",children:[N,P]}),I[34]=N,I[35]=P,I[36]=C):C=I[36],I[37]!==R?(T=(0,l.jsx)(o.SanityButtons,{buttons:R}),I[37]=R,I[38]=T):T=I[38],I[39]!==t||I[40]!==n||I[41]!==C||I[42]!==T||I[43]!==m||I[44]!==x?(q=(0,l.jsx)("section",{className:"bg-background relative w-full py-12 lg:py-24",children:(0,l.jsxs)(i.m,{children:[t,n,m,x,C,T]})}),I[39]=t,I[40]=n,I[41]=C,I[42]=T,I[43]=m,I[44]=x,I[45]=q):q=I[45],q}},15177:(e,t,n)=>{n.d(t,{e:()=>u});var l=n(58986),a=n(34978);n(6050);var i=n(34703),s=n(9211),r=n(77483),o=n(94366),c=n(56995),d=n.n(c);function u(e){let t,n,c,u,m,x,p,h,g,f,y,b,v,j,w=(0,a.c)(29),{image:N,title:_,eyebrow:S,buttonTitle:z,slug:k}=e,P="Leia o artigo: ".concat(_);w[0]!==k||w[1]!==P?(t=(0,l.jsx)(d(),{href:k,target:"_blank",className:"absolute inset-0 z-10 no-underline","aria-label":P}),w[0]=k,w[1]=P,w[2]=t):t=w[2];let C=null!=_?_:"Blog post image";return w[3]!==N||w[4]!==C?(n=(0,l.jsx)(i.s,{src:N,image:N,alt:C,fill:!0,className:"object-cover object-center transition-transform duration-500 group-hover:scale-105",sizes:"(max-width: 768px) 50vw, (max-width: 1200px) 25vw, 25vw"}),w[3]=N,w[4]=C,w[5]=n):n=w[5],w[6]===Symbol.for("react.memo_cache_sentinel")?(c=(0,l.jsx)("div",{className:"absolute inset-0 bg-black opacity-20"}),u=(0,l.jsx)("div",{className:"absolute inset-0 bg-black opacity-0 transition-opacity duration-300 group-hover:opacity-30"}),w[6]=c,w[7]=u):(c=w[6],u=w[7]),w[8]!==n?(m=(0,l.jsxs)("div",{className:"relative aspect-[42/25] w-full overflow-hidden",children:[n,c,u]}),w[8]=n,w[9]=m):m=w[9],w[10]!==S?(x=(0,l.jsx)("p",{className:"h5 mb-3 font-bold uppercase",children:S}),w[10]=S,w[11]=x):x=w[11],w[12]===Symbol.for("react.memo_cache_sentinel")?(f={opacity:0,y:10},p={opacity:1,y:0},h={duration:.7,ease:"easeInOut"},g={once:!0},w[12]=p,w[13]=h,w[14]=g,w[15]=f):(p=w[12],h=w[13],g=w[14],f=w[15]),w[16]!==_?(y=(0,l.jsx)(o.P.div,{initial:f,whileInView:p,transition:h,viewport:g,children:(0,l.jsx)(r.DZ,{as:"h3",className:"m-0 text-lg font-bold md:text-lg",children:_})}),w[16]=_,w[17]=y):y=w[17],w[18]!==y||w[19]!==x?(b=(0,l.jsx)("div",{className:"w-full px-7 pb-8 pt-4",children:(0,l.jsxs)("div",{className:"group relative",children:[x,y]})}),w[18]=y,w[19]=x,w[20]=b):b=w[20],w[21]!==z||w[22]!==k?(v=(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-end justify-start px-7 pb-6","aria-hidden":"true",children:(0,l.jsx)(s.SanityButton,{showButton:"always",text:z,href:k,icon:"arrow-right",size:"sm"})}),w[21]=z,w[22]=k,w[23]=v):v=w[23],w[24]!==b||w[25]!==v||w[26]!==t||w[27]!==m?(j=(0,l.jsxs)("article",{className:"rounded-4xl bg-card group relative flex h-full cursor-pointer flex-col overflow-hidden pb-20 shadow-sm transition-all hover:shadow-md",children:[t,m,b,v]}),w[24]=b,w[25]=v,w[26]=t,w[27]=m,w[28]=j):j=w[28],j}},15251:(e,t,n)=>{n.d(t,{StepsDefault:()=>u});var l=n(58986),a=n(34978),i=n(93406),s=n(38344),r=n(13602),o=n(9211),c=n(77483),d=n(94366);function u(e){let t,n,u,m,x,p,h,g,f,y,b,v,j,w,N,_,S=(0,a.c)(32),{title:z,ric
1hText:k,eyebrow:P,eyebrowPosition:C,buttons:T,steps:q,sectionParameters:I}=e;if(!q||0===q.length)return null;let D=null==I?void 0:I.sectionId;if(S[0]!==P||S[1]!==C?(t=(0,l.jsx)(c.R2,{position:C,children:P}),S[0]=P,S[1]=C,S[2]=t):t=S[2],S[3]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:.5,y:20,filter:"blur(0.5rem)"},u={opacity:1,y:0,filter:"blur(0rem)"},m={duration:1},x={once:!0},S[3]=n,S[4]=u,S[5]=m,S[6]=x):(n=S[3],u=S[4],m=S[5],x=S[6]),S[7]!==z?(p=(0,l.jsx)(d.P.div,{initial:n,whileInView:u,transition:m,viewport:x,className:"mx-auto max-w-[39rem] overflow-hidden",children:(0,l.jsx)(c.DZ,{className:"gradient-text h3 m-0 text-center uppercase",children:z})}),S[7]=z,S[8]=p):p=S[8],S[9]===Symbol.for("react.memo_cache_sentinel")?(f={opacity:.5,y:20},y={opacity:1,y:0},h={duration:1,delay:.3},g={once:!0},S[9]=h,S[10]=g,S[11]=f,S[12]=y):(h=S[9],g=S[10],f=S[11],y=S[12]),S[13]!==k?(b=(0,l.jsx)(d.P.div,{initial:f,whileInView:y,transition:h,viewport:g,children:(0,l.jsx)(c.hj,{richText:k,className:"mx-auto max-w-[44rem] text-center"})}),S[13]=k,S[14]=b):b=S[14],S[15]!==q){let e;S[17]!==q.length?(e=(e,t)=>(0,l.jsxs)(d.P.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:1.2+.2*t},viewport:{once:!0},className:"relative",children:[(0,l.jsxs)("div",{className:"relative mx-auto flex max-w-44 flex-col items-center justify-start gap-8 text-center md:mx-0 md:max-w-none",children:[(0,l.jsx)("div",{className:"flex h-20 items-center justify-center md:h-24",children:(0,l.jsx)(s.N,{icon:e.icon,className:"h-24"})}),(0,l.jsx)(c.DZ,{as:"h3",className:"h5 m-0 text-center",children:e.title})]}),t<q.length-1&&(0,l.jsx)(r.k,{className:"text-accent absolute -bottom-16 right-[calc(50%-1.8rem)] w-[4rem] rotate-90 md:right-[-3.84rem] md:top-12 md:w-[6rem] md:rotate-0 lg:w-[7.688rem]"})]},e._key||t),S[17]=q.length,S[18]=e):e=S[18],v=q.map(e),S[15]=q,S[16]=v}else v=S[16];return S[19]!==v?(j=(0,l.jsx)("div",{className:"mt-12 grid gap-32 md:grid-cols-3 md:gap-4 lg:mt-20",children:v}),S[19]=v,S[20]=j):j=S[20],S[21]!==T?(w=(0,l.jsx)(o.SanityButtons,{buttons:T,className:"mt-8"}),S[21]=T,S[22]=w):w=S[22],S[23]!==b||S[24]!==j||S[25]!==w||S[26]!==t||S[27]!==p?(N=(0,l.jsx)("div",{className:"w-full px-6 lg:px-12 2xl:px-24",children:(0,l.jsx)("div",{className:"bg-card w-full rounded-3xl px-8 py-20",children:(0,l.jsxs)(i.m,{className:"max-w-[78.25rem] px-0 lg:px-0",children:[t,p,b,j,w]})})}),S[23]=b,S[24]=j,S[25]=w,S[26]=t,S[27]=p,S[28]=N):N=S[28],S[29]!==D||S[30]!==N?(_=(0,l.jsx)("section",{id:D,className:"bg-background relative w-full py-12 lg:py-24",children:N}),S[29]=D,S[30]=N,S[31]=_):_=S[31],_}},16153:(e,t,n)=>{n.d(t,{StatsCards:()=>m});var l=n(58986),a=n(34978),i=n(18934),s=n(9211),r=n(77483),o=n(3682),c=n(67928),d=n(94366),u=n(34780);function m(e){var t,n;let u,m,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C=(0,a.c)(43),{title:T,description:q,statsTitle:I,stats:D,buttons:M,eyebrow:L,eyebrowPosition:B,disclaimers:R,sectionStyles:V}=e;if(!D||!D.length)return null;C[0]!==V?(u=V||{},C[0]=V,C[1]=u):u=C[1];let{titleColor:A}=u;C[2]!==L||C[3]!==B?(m=(0,l.jsx)(r.R2,{position:B,children:L}),C[2]=L,C[3]=B,C[4]=m):m=C[4],C[5]!==T||C[6]!==A?(p=T&&"gradient"===A&&(0,l.jsx)(d.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},children:(0,l.jsx)(r.DZ,{className:(0,c.cn)("gradient-text h2 text-center font-bold uppercase"),children:T})}),C[5]=T,C[6]=A,C[7]=p):p=C[7],C[8]!==T||C[9]!==A?(h=T&&"gradient"!==A&&(0,l.jsx)(r.DZ,{className:"h4 text-center font-bold uppercase",children:(0,l.jsx)(o.default,{direction:"top",animateBy:"words",rootMargin:"-50px",text:T,className:"justify-center"})}),C[8]=T,C[9]=A,C[10]=h):h=C[10],C[11]===Symbol.for("react.memo_cache_sentinel")?(g={opacity:0,y:20},f={opacity:1,y:0},y={duration:1,delay:.5},C[11]=g,C[12]=f,C[13]=y):(g=C[11],f=C[12],y=C[13]),C[14]!==q?(b=(0,l.jsx)(d.P.div,{initial:g,animate:f,transition:y,children:(0,l.jsx)(r.hj,{richText:q,className:"mx-auto max-w-[56rem]"})}),C[14]=q,C[15]=b):b=C[15],C[16]!==I?(v=I&&(0,l.jsx)(r.DZ,{as:"h3",className:"h4 mb-9 text-center font-bold uppercase",children:(0,l.jsx)(o.default,{direction:"top",animateBy:"words",rootMargin:"-50px",text:I,className:"justify-center"})}),C[16]=I,C[17]=v):v=C[17],C[18]!==D?(j=D.map(x),C[18]=D,C[19]=j):j=C[19],C[20]!==j?(w=(0,l.jsx)("div",{className:"flex w-full flex-col items-stretch justify-center gap-5 md:flex-row xl:gap-20",children:j}),C[20]=j,C[21]=w):w=C[21],C[22]!==w||C[23]!==v?(N=(0,l.jsxs)("div",{className:"mb-8 mt-16
1w-full",children:[v,w]}),C[22]=w,C[23]=v,C[24]=N):N=C[24],C[25]!==R?(_=(null==R?void 0:R.disclaimerTop)&&(0,l.jsx)("div",{className:"pt-8 lg:pt-12",children:(0,l.jsx)(i.s,{richText:null!=(t=R.disclaimerTop)?t:[],className:"text-sm"})}),C[25]=R,C[26]=_):_=C[26];let E=(null==R?void 0:R.disclaimerTop)?"pt-8":"pt-8 lg:pt-12";return C[27]!==E?(S=(0,c.cn)("items-center justify-center",E),C[27]=E,C[28]=S):S=C[28],C[29]!==M||C[30]!==S?(z=(0,l.jsx)(s.SanityButtons,{buttons:M,buttonClassName:"flex justify-center",className:S}),C[29]=M,C[30]=S,C[31]=z):z=C[31],C[32]!==R?(k=(null==R?void 0:R.disclaimerBottom)&&(0,l.jsx)("div",{className:"pt-8",children:(0,l.jsx)(i.s,{richText:null!=(n=R.disclaimerBottom)?n:[],className:"text-sm text-gray-300"})}),C[32]=R,C[33]=k):k=C[33],C[34]!==N||C[35]!==_||C[36]!==z||C[37]!==k||C[38]!==m||C[39]!==p||C[40]!==h||C[41]!==b?(P=(0,l.jsx)("section",{className:"relative py-12 lg:py-24",children:(0,l.jsx)("div",{className:"w-full px-5 lg:px-12 2xl:px-24",children:(0,l.jsx)("div",{className:"rounded-4xl text-foreground overflow-hidden bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] bg-cover bg-center px-6 py-12 pb-24 sm:px-10 lg:px-16 lg:pb-32 lg:pt-24 xl:px-24",children:(0,l.jsxs)("div",{className:"mx-auto w-full max-w-[78.25rem]",children:[m,p,h,b,N,_,z,k]})})})}),C[34]=N,C[35]=_,C[36]=z,C[37]=k,C[38]=m,C[39]=p,C[40]=h,C[41]=b,C[42]=P):P=C[42],P}function x(e,t){return(0,l.jsx)(u.S,{stat:e,variant:"card",index:t},e._id)}},17294:(e,t,n)=>{n.d(t,{CardAlternateLines:()=>p});var l=n(58986),a=n(34978),i=n(93406),s=n(9211),r=n(77483),o=n(94103),c=n(38280),d=n(3682),u=n(67928),m=n(94366),x=n(49527);function p(e){var t;let n,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C=(0,a.c)(47),{title:T,richText:q,eyebrow:I,eyebrowPosition:D,cardGroup:M,buttons:L,sectionStyles:B,sectionParameters:R}=e;if(!M||!(null==(t=M.cards)?void 0:t.length))return null;let{cards:V,sectionStyles:A}=M;if(!V||!V.length)return null;C[0]!==B?(n=B||{},C[0]=B,C[1]=n):n=C[1];let{titleColor:E}=n,F=null==R?void 0:R.sectionId;if(C[2]!==B?(p=(0,u.cn)("relative w-full py-12 lg:py-24",(0,o.aU)(B)),C[2]=B,C[3]=p):p=C[3],C[4]!==I||C[5]!==D?(h=(0,l.jsx)(r.R2,{position:D,children:I}),C[4]=I,C[5]=D,C[6]=h):h=C[6],C[7]!==T||C[8]!==E?(g=T&&"gradient"===E&&(0,l.jsx)(m.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:"mx-auto max-w-[60rem] overflow-hidden px-8",children:(0,l.jsx)(r.DZ,{className:"gradient-text m-0 text-center uppercase",children:T})}),C[7]=T,C[8]=E,C[9]=g):g=C[9],C[10]!==T||C[11]!==E?(f=T&&"gradient"!==E&&(0,l.jsx)(r.DZ,{className:"mx-auto max-w-[68rem] text-center font-bold uppercase",children:(0,l.jsx)(d.default,{text:T,animateBy:"words",direction:"top",rootMargin:"-50px",className:"justify-center"})}),C[10]=T,C[11]=E,C[12]=f):f=C[12],C[13]!==q?(y=(0,l.jsx)(r.hj,{richText:q,className:"mx-auto max-w-[60rem] py-9"}),C[13]=q,C[14]=y):y=C[14],C[15]!==A||C[16]!==V){let e;C[18]!==A?(e=(e,t)=>(0,l.jsx)(x.S,{...e,sectionStyles:A,className:(0,u.cn)("lg:col-span-2",(3===t||4===t||8===t||9===t)&&"lg:col-span-3")},e._id),C[18]=A,C[19]=e):e=C[19],b=V.map(e),C[15]=A,C[16]=V,C[17]=b}else b=C[17];if(C[20]!==b?(v=(0,l.jsx)("div",{className:"mt-12 hidden gap-6 sm:grid md:grid-cols-2 lg:grid-cols-6",children:b}),C[20]=b,C[21]=v):v=C[21],C[22]===Symbol.for("react.memo_cache_sentinel")?(j={loop:!0},C[22]=j):j=C[22],C[23]!==A||C[24]!==V){let e;C[26]!==A?(e=(e,t)=>(0,l.jsx)(c.CarouselItem,{children:(0,l.jsx)(x.S,{...e,sectionStyles:A,className:"w-full"})},e._id),C[26]=A,C[27]=e):e=C[27],w=V.map(e),C[23]=A,C[24]=V,C[25]=w}else w=C[25];return C[28]!==w?(N=(0,l.jsx)(c.CarouselContent,{children:w}),C[28]=w,C[29]=N):N=C[29],C[30]===Symbol.for("react.memo_cache_sentinel")?(_=(0,l.jsxs)("div",{className:"relative mt-10 flex justify-end",children:[(0,l.jsx)(c.CarouselPrevious,{}),(0,l.jsx)(c.CarouselNext,{})]}),C[30]=_):_=C[30],C[31]!==N?(S=(0,l.jsx)("div",{className:"mt-10 w-full sm:hidden","data-noindex":!0,children:(0,l.jsxs)(c.Carousel,{itemsMobile:1,itemsTablet:1,itemsDesktop:1,itemsLgDesktop:1,spacingMobile:"2",spacingTablet:"4",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:!0,dots:"always",align:"center",loop:!0,opts:j,arrowsPosition:"bottom",arrows:"always",children:[N,_]})}),C[31]=N,C[32]=S):S=C[32],C[33]!==L?(z=(0,l.jsx)(s.SanityButtons,{buttons:L,className:"justify-center pt-10"}),C[33]=L,C[34]=z):z=C[34],C[35]!==S||C[36]!==z||C[37]!==h||C[38]!==g||C[39]!==f||C[40]!==y||C[41]!==v?(k=(0,l.jsxs)(i.m,{children:[h,g,f,y,v,S,z]}),C[35]=S,C[36]=z,C[37]=h,C[38]=g,C[39]=f,C[40]=y,C[41]=v,C[42]=k):k=C[42],C[43]!==k||C[44]!==F||C[45]!==
1p?(P=(0,l.jsx)("section",{id:F,className:p,children:k}),C[43]=k,C[44]=F,C[45]=p,C[46]=P):P=C[46],P}},18071:(e,t,n)=>{n.d(t,{HistoryIntro:()=>h});var l=n(58986),a=n(34978),i=n(93406),s=n(32938),r=n(77483),o=n(58730),c=n(3682),d=n(67928),u=n(98572),m=n(89011),x=n(94366),p=n(6050);let h=e=>{let t,n,h,g,f,y,b,v,j,w,N,_=(0,a.c)(15),{title:S,richText:z}=e,k=(0,p.useRef)(null);_[0]===Symbol.for("react.memo_cache_sentinel")?(t={target:k,offset:["start end","end start"]},_[0]=t):t=_[0];let{scrollYProgress:P}=(0,u.L)(t);(0,o.a)(1024),_[1]===Symbol.for("react.memo_cache_sentinel")?(n=[0,1],h=["-30%","30%"],_[1]=n,_[2]=h):(n=_[1],h=_[2]),(0,m.G)(P,n,h),_[3]===Symbol.for("react.memo_cache_sentinel")?(g=(0,l.jsx)(s.a,{className:(0,d.cn)("text-foreground mx-auto h-auto max-w-56 lg:max-w-full"),speed:.5}),_[3]=g):g=_[3];let C=S||"";return _[4]!==C?(f=(0,l.jsx)(r.DZ,{className:"h1 text-center font-bold",children:(0,l.jsx)(c.default,{direction:"top",animateBy:"words",rootMargin:"-250px",text:C,className:"justify-center"})}),_[4]=C,_[5]=f):f=_[5],_[6]===Symbol.for("react.memo_cache_sentinel")?(b={opacity:0,y:20},v={opacity:1,y:0},j={duration:1.5},y={once:!0,margin:"-200px"},_[6]=y,_[7]=b,_[8]=v,_[9]=j):(y=_[6],b=_[7],v=_[8],j=_[9]),_[10]!==z?(w=(0,l.jsx)(x.P.div,{initial:b,whileInView:v,transition:j,viewport:y,children:(0,l.jsx)(r.hj,{richText:z,className:"pt-10 text-center text-lg lg:text-xl"})}),_[10]=z,_[11]=w):w=_[11],_[12]!==w||_[13]!==f?(N=(0,l.jsx)("div",{className:"w-full overflow-x-hidden",ref:k,children:(0,l.jsx)(i.m,{children:(0,l.jsxs)("div",{className:"grid h-full grid-cols-1 items-center justify-center gap-9 lg:min-h-screen lg:grid-cols-[18.75rem,calc(100%-18.75rem)] lg:gap-0 xl:grid-cols-2",children:[g,f,w]})})}),_[12]=w,_[13]=f,_[14]=N):N=_[14],N}},18984:(e,t,n)=>{n.d(t,{BrandsDefault:()=>f});var l=n(58986),a=n(34978),i=n(93406),s=n(9211),r=n(34703),o=n(77483),c=n(38280),d=n(3682),u=n(67928),m=n(98572),x=n(89011),p=n(94366),h=n(6050);let g=e=>{let t,n,i,s,o,c,d,g,f,y,b,v,j,w,N=(0,a.c)(26),{image:_,className:S,classNameImage:z,index:k}=e,P=(0,h.useRef)(null);N[0]===Symbol.for("react.memo_cache_sentinel")?(t={target:P,offset:["start 80%","end 20%"]},N[0]=t):t=N[0];let{scrollYProgress:C}=(0,m.L)(t);N[1]===Symbol.for("react.memo_cache_sentinel")?(n=[0,1],i=[.98,1.15],N[1]=n,N[2]=i):(n=N[1],i=N[2]);let T=(0,x.G)(C,n,i);N[3]!==S?(s=(0,u.cn)("group flex",S),N[3]=S,N[4]=s):s=N[4],N[5]===Symbol.for("react.memo_cache_sentinel")?(o={opacity:0,filter:"blur(0.5rem)"},c={opacity:1,filter:"blur(0rem)"},N[5]=o,N[6]=c):(o=N[5],c=N[6]);let q=k?.1*k:0;return N[7]!==q?(d={duration:1.2,delay:q,ease:"easeInOut"},N[7]=q,N[8]=d):d=N[8],N[9]===Symbol.for("react.memo_cache_sentinel")?(g={once:!0},N[9]=g):g=N[9],N[10]!==T?(f={scale:T},N[10]=T,N[11]=f):f=N[11],N[12]!==z?(y=(0,u.cn)("absolute inset-0 flex items-center justify-center",z),N[12]=z,N[13]=y):y=N[13],N[14]!==_?(b=(0,l.jsx)(r.s,{image:_,className:"h-full w-full object-contain"}),N[14]=_,N[15]=b):b=N[15],N[16]!==y||N[17]!==b?(v=(0,l.jsx)("div",{className:y,children:b}),N[16]=y,N[17]=b,N[18]=v):v=N[18],N[19]!==f||N[20]!==v||N[21]!==d?(j=(0,l.jsx)(p.P.div,{initial:o,whileInView:c,transition:d,viewport:g,className:"relative aspect-square w-48 max-w-48",ref:P,style:f,children:v}),N[19]=f,N[20]=v,N[21]=d,N[22]=j):j=N[22],N[23]!==j||N[24]!==s?(w=(0,l.jsx)("div",{className:s,children:j}),N[23]=j,N[24]=s,N[25]=w):w=N[25],w};function f(e){let t,n,r,u,m,x,h,f,b,v,j,w,N,_,S,z,k,P,C,T,q,I,D,M,L,B,R,V,A,E,F,Z,$,H=(0,a.c)(84),{eyebrow:O,eyebrowPosition:G,title:U,richText:Y,images:W,buttons:Q,sectionParameters:J}=e;if(!W||!W.length)return null;let K=null==J?void 0:J.sectionId;return H[0]!==O||H[1]!==G?(t=(0,l.jsx)(o.R2,{position:G,children:O}),H[0]=O,H[1]=G,H[2]=t):t=H[2],H[3]!==W[0]?(n=(0,l.jsx)(g,{image:W[0],className:"items-center justify-center lg:pt-40 xl:col-span-2",index:0}),H[3]=W[0],H[4]=n):n=H[4],H[5]!==W[1]?(r=(0,l.jsx)(g,{image:W[1],className:"col-span-1 items-start",index:1}),H[5]=W[1],H[6]=r):r=H[6],H[7]!==W[2]?(u=(0,l.jsx)(g,{image:W[2],className:"col-span-1 lg:pt-24",index:2}),H[7]=W[2],H[8]=u):u=H[8],H[9]!==n||H[10]!==r||H[11]!==u?(m=(0,l.jsxs)("div",{className:"relative grid grid-cols-3 gap-8 xl:grid-cols-4 xl:gap-16",children:[n,r,u]}),H[9]=n,H[10]=r,H[11]=u,H[12]=m):m=H[12],H[13]!==W[3]?(x=(0,l.jsx)(g,{image:W[3],className:"col-span-1 items-start justify-center pt-10 xl:justify-start",index:3}
1),H[13]=W[3],H[14]=x):x=H[14],H[15]!==W[4]?(h=(0,l.jsx)(g,{image:W[4],className:"col-span-1 items-start pt-20",index:4}),H[15]=W[4],H[16]=h):h=H[16],H[17]!==W[5]?(f=(0,l.jsx)(g,{image:W[5],className:"col-span-2 items-start justify-end pr-20 xl:col-span-1 xl:pr-0",classNameImage:"-top-10 ",index:5}),H[17]=W[5],H[18]=f):f=H[18],H[19]!==x||H[20]!==h||H[21]!==f?(b=(0,l.jsxs)("div",{className:"relative grid grid-cols-2 gap-8 xl:grid-cols-4 xl:gap-16",children:[x,h,f]}),H[19]=x,H[20]=h,H[21]=f,H[22]=b):b=H[22],H[23]!==W[6]?(v=(0,l.jsx)(g,{image:W[6],className:"col-span-1 items-start justify-end xl:pt-7",classNameImage:"xl:top-0 -top-40",index:6}),H[23]=W[6],H[24]=v):v=H[24],H[25]!==U?(j=(0,l.jsx)(o.DZ,{className:"font-bold uppercase",children:(0,l.jsx)(d.default,{text:U,animateBy:"words",direction:"top",rootMargin:"-50px"})}),H[25]=U,H[26]=j):j=H[26],H[27]!==Y?(w=Y&&(0,l.jsx)(p.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:1.2,ease:"easeInOut"},viewport:{once:!0},className:"h4 mt-2 text-center",children:(0,l.jsx)(o.hj,{richText:Y})}),H[27]=Y,H[28]=w):w=H[28],H[29]!==j||H[30]!==w?(N=(0,l.jsxs)("div",{className:"col-span-2 items-center justify-center px-7 pb-16 text-center xl:pb-5 xl:pt-16",children:[j,w]}),H[29]=j,H[30]=w,H[31]=N):N=H[31],H[32]!==W[7]?(_=(0,l.jsx)(g,{image:W[7],className:"col-span-2 items-start justify-end xl:col-span-1",classNameImage:"-top-14",index:7}),H[32]=W[7],H[33]=_):_=H[33],H[34]!==v||H[35]!==N||H[36]!==_?(S=(0,l.jsxs)("div",{className:"relative grid grid-cols-2 gap-8 xl:grid-cols-4 xl:gap-16",children:[v,N,_]}),H[34]=v,H[35]=N,H[36]=_,H[37]=S):S=H[37],H[38]!==W[8]?(z=W[8]&&(0,l.jsx)(g,{image:W[8],className:"items-start justify-center xl:col-span-2",classNameImage:"-top-20 xl:top-0",index:8}),H[38]=W[8],H[39]=z):z=H[39],H[40]!==W[9]?(k=W[9]&&(0,l.jsx)(g,{image:W[9],className:"col-span-1 items-start pt-16",index:9}),H[40]=W[9],H[41]=k):k=H[41],H[42]!==W[10]?(P=W[10]&&(0,l.jsx)(g,{image:W[10],className:"col-span-2 items-start justify-start xl:col-span-1",classNameImage:"-top-10",index:10}),H[42]=W[10],H[43]=P):P=H[43],H[44]!==z||H[45]!==k||H[46]!==P?(C=(0,l.jsxs)("div",{className:"relative -top-20 grid grid-cols-2 gap-8 xl:top-0 xl:grid-cols-4 xl:gap-16",children:[z,k,P]}),H[44]=z,H[45]=k,H[46]=P,H[47]=C):C=H[47],H[48]!==W[11]?(T=W[11]&&(0,l.jsx)("div",{className:"relative -top-20 grid grid-cols-2 gap-8 xl:top-0 xl:grid-cols-4 xl:gap-16",children:(0,l.jsx)(g,{image:W[11],className:"col-span-2 items-start justify-center xl:justify-end xl:pt-16",classNameImage:"-top-20 xl:top-0",index:11})}),H[48]=W[11],H[49]=T):T=H[49],H[50]!==b||H[51]!==S||H[52]!==C||H[53]!==T||H[54]!==m?(q=(0,l.jsxs)("div",{className:"relative hidden w-full sm:block",children:[m,b,S,C,T]}),H[50]=b,H[51]=S,H[52]=C,H[53]=T,H[54]=m,H[55]=q):q=H[55],H[56]!==U?(I=(0,l.jsx)(o.DZ,{className:"font-bold uppercase",children:(0,l.jsx)(d.default,{text:U,animateBy:"words",direction:"top",rootMargin:"-50px"})}),H[56]=U,H[57]=I):I=H[57],H[58]!==Y?(D=Y&&(0,l.jsx)(p.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:1.2,ease:"easeInOut"},viewport:{once:!0},className:"mt-2 text-center",children:(0,l.jsx)(o.hj,{richText:Y})}),H[58]=Y,H[59]=D):D=H[59],H[60]!==I||H[61]!==D?(M=(0,l.jsxs)("div",{className:"mb-10 px-5 text-center",children:[I,D]}),H[60]=I,H[61]=D,H[62]=M):M=H[62],H[63]===Symbol.for("react.memo_cache_sentinel")?(L={loop:!0},H[63]=L):L=H[63],H[64]!==W?(B=W.map(y),H[64]=W,H[65]=B):B=H[65],H[66]!==B?(R=(0,l.jsx)(c.CarouselContent,{children:B}),H[66]=B,H[67]=R):R=H[67],H[68]===Symbol.for("react.memo_cache_sentinel")?(V=(0,l.jsxs)("div",{className:"relative mt-10 flex justify-end",children:[(0,l.jsx)(c.CarouselPrevious,{}),(0,l.jsx)(c.CarouselNext,{})]}),H[68]=V):V=H[68],H[69]!==R?(A=(0,l.jsxs)(c.Carousel,{itemsMobile:2.4,itemsTablet:1,itemsDesktop:1,itemsLgDesktop:1,spacingMobile:"2",spacingTablet:"4",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:!0,dots:"always",align:"center",loop:!0,arrowsPosition:"bottom",arrows:"always",opts:L,children:[R,V]}),H[69]=R,H[70]=A):A=H[70],H[71]!==M||H[72]!==A?(E=(0,l.jsxs)("div",{className:"mt-10 w-full sm:hidden","data-noindex":!0,children:[M,A]}),H[71]=M,H[72]=A,H[73]=E):E=H[73],H[74]!==Q?(F=Q&&Q.length>0&&(0,l.jsx)("div",{className:"flex justify-center pt-4",children:(0,l.jsx)(s.SanityButtons,{buttons:Q,buttonClassName:"w-auto",className:"grid w-full gap-2 sm:w-fit sm:grid-flow-col",showButton:"always"})}),H[74]=Q,H[75]=F):F=H[75],H[76]!==t||H[77]!==q||H[78]!==E||H[79]!==F?(Z=(0,l.jsxs)(i.m,{className:"px-0 sm:px-4 lg:px-6",children:[t,q,E,F]}),H[76]=t,H[77]=q,H[78]=E,H[79]=F,H[80]=Z):Z=H[80],H[81]!==K||H[82]!==Z?($=(0,l.jsx)("section",{id:K,className:"relative w-full py-12 lg:py-24",children:Z}),H[81]=K,H[82]=Z,H[83]=$):$=H[83],$}function y(e,t){return(0,l.jsx)(c.CarouselItem,{children:(0,l.jsx)(r.s,{image:e,className:""})},e._key||t)}},19216:(e,t,n)=>{n.d(t,{CtaGradient:()=>h});var l=n(58986),a=n(34978),i=n(18934),s=n(9211),r=n(34703),o=n(77483),c=n(67928),d=n(38681),u=n(55721),m=n(94366),x=n(48906),p=n(6050);function h(e){let t,n,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I,D=(0,a.c)(58),{title:M,richText:L,buttons:B,showScrollDownIcon:R,sectionParameters:V,image:A}=e,[E,F]=(0,p.useState)("idle"),Z=(0,d.E)(),$=(0,d.E)(),H=(0,d.E)(),O=(0,p.useRef)(null),G=(0,p.useRef)(!1);D[0]===Symbol.for("react.memo_cache_sentinel")?(t={once:!1,margin:"-300px 0px"},D[0]=t):t=D[0];let U=(0,u.W)(O,t);D[1]!==E||D[2]!==H||D[3]!==A||D[4]!==$||D[5]!==U||D[6]!==Z?(n=()=>{U||"idle"===E||(G.current=!1,F("idle"),Z.set({opacity:.5,y:20,filter:"blur(0.5rem)"}),A&&$.set({scale:1.9,opacity:0}
1),H.set({opacity:0,y:20}))},h=[U,E,Z,$,H,A],D[1]=E,D[2]=H,D[3]=A,D[4]=$,D[5]=U,D[6]=Z,D[7]=n,D[8]=h):(n=D[7],h=D[8]),(0,p.useEffect)(n,h),D[9]!==E||D[10]!==H||D[11]!==A||D[12]!==$||D[13]!==U||D[14]!==Z?(g=()=>{U&&"idle"===E&&!G.current&&(G.current=!0,F("title"),Z.start({opacity:1,y:0,filter:"blur(0rem)",transition:{duration:1}}).then(()=>{A?(F("image"),$.start({scale:1,opacity:1,transition:{duration:2.5,ease:"easeInOut"}}).then(()=>{F("content"),H.start({opacity:1,y:0,transition:{duration:1.3}}),G.current=!1})):(F("content"),H.start({opacity:1,y:0,transition:{duration:1.3}}),G.current=!1)}))},f=[U,E,Z,$,H,A],D[9]=E,D[10]=H,D[11]=A,D[12]=$,D[13]=U,D[14]=Z,D[15]=g,D[16]=f):(g=D[15],f=D[16]),(0,p.useEffect)(g,f);let Y=null==V?void 0:V.sectionId,W=R?"pt-12 lg:pt-12":"py-12 lg:py-24";D[17]!==W?(y=(0,c.cn)("w-full overflow-hidden",W),D[17]=W,D[18]=y):y=D[18],D[19]===Symbol.for("react.memo_cache_sentinel")?(b={opacity:.5,y:20,filter:"blur(0.5rem)"},D[19]=b):b=D[19];let Q=A?"max-w-[50rem]":"max-w-[65rem]";D[20]!==Q?(v=(0,c.cn)("mx-auto overflow-hidden px-5 md:px-8",Q),D[20]=Q,D[21]=v):v=D[21],D[22]!==M?(j=(0,l.jsx)(o.DZ,{className:"gradient-text m-0 text-center uppercase",children:M}),D[22]=M,D[23]=j):j=D[23],D[24]!==v||D[25]!==j||D[26]!==Z?(w=(0,l.jsx)(m.P.div,{animate:Z,initial:b,className:v,children:j}),D[24]=v,D[25]=j,D[26]=Z,D[27]=w):w=D[27],D[28]!==A||D[29]!==$?(N=A&&(0,l.jsx)(m.P.div,{animate:$,initial:{scale:1.9,opacity:0},className:"h-full w-full overflow-hidden",children:(0,l.jsx)(r.s,{image:A,className:"mx-auto"})}),D[28]=A,D[29]=$,D[30]=N):N=D[30],D[31]===Symbol.for("react.memo_cache_sentinel")?(_={opacity:0,y:20},D[31]=_):_=D[31];let J=A?"pt-0":"pt-14";D[32]!==J?(S=(0,c.cn)("relative",J),D[32]=J,D[33]=S):S=D[33];let K=!B&&"pb-20";return D[34]!==K?(z=(0,c.cn)("mx-auto max-w-[71.5rem] px-8 lg:text-xl",K),D[34]=K,D[35]=z):z=D[35],D[36]!==L||D[37]!==z?(k=(0,l.jsx)(i.s,{richText:L,className:z}),D[36]=L,D[37]=z,D[38]=k):k=D[38],D[39]!==B||D[40]!==L?(P=B&&(0,l.jsx)("div",{className:(0,c.cn)("flex justify-center px-8",L?"pt-14":""),children:(0,l.jsx)(s.SanityButtons,{buttons:B,buttonClassName:"w-auto",className:"mb-8 grid gap-2 sm:w-fit sm:grid-flow-col lg:justify-start"})}),D[39]=B,D[40]=L,D[41]=P):P=D[41],D[42]!==R?(C=R&&(0,l.jsx)("div",{className:"absolute bottom-0 left-0 w-full text-center lg:-bottom-5",children:(0,l.jsx)(x.A,{width:"2.5rem",height:"2.5rem",className:"text-primary mx-auto h-10 w-10 animate-bounce"})}),D[42]=R,D[43]=C):C=D[43],D[44]!==H||D[45]!==S||D[46]!==k||D[47]!==P||D[48]!==C?(T=(0,l.jsxs)(m.P.div,{animate:H,initial:_,className:S,children:[k,P,C]}),D[44]=H,D[45]=S,D[46]=k,D[47]=P,D[48]=C,D[49]=T):T=D[49],D[50]!==w||D[51]!==N||D[52]!==T?(q=(0,l.jsx)("div",{className:"w-full px-5 lg:px-12 2xl:px-24",children:(0,l.jsxs)("div",{ref:O,className:"rounded-4xl w-full overflow-hidden bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] bg-cover bg-center py-14 lg:py-24",children:[w,N,T]})}),D[50]=w,D[51]=N,D[52]=T,D[53]=q):q=D[53],D[54]!==q||D[55]!==Y||D[56]!==y?(I=(0,l.jsx)("div",{id:Y,className:y,children:q}),D[54]=q,D[55]=Y,D[56]=y,D[57]=I):I=D[57],I}},19407:(e,t,n)=>{n.d(t,{CtaImage:()=>d});var l=n(58986),a=n(34978),i=n(34703),s=n(77483),r=n(3682),o=n(67928),c=n(94366);function d(e){let t,n,d,u,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q=(0,a.c)(49),{title:I,image:D,logo:M,extraImage:L,label:B,mainTitle:R,mainRichText:V,sectionParameters:A}=e,E=null==A?void 0:A.sectionId;q[0]===Symbol.for("react.memo_cache_sentinel")?(t={opacity:.5,y:20,filter:"blur(0.5rem)"},n={opacity:1,y:0,filter:"blur(0rem)"},d={duration:1},u={once:!0},q[0]=t,q[1]=n,q[2]=d,q[3]=u):(t=q[0],n=q[1],d=q[2],u=q[3]),q[4]!==R?(m=(0,l.jsx)(c.P.div,{initial:t,whileInView:n,transition:d,viewport:u,className:"overflow-hidden",children:(0,l.jsx)(s.DZ,{className:"gradient-text mx-auto mb-10 mt-0 max-w-[64rem] px-6 text-center uppercase",children:R})}),q[4]=R,q[5]=m):m=q[5],q[6]===Symbol.for("react.memo_cache_sentinel")?(x={opacity:0,y:20},p={opacity:1,y:0},q[6]=x,q[7]=p):(x=q[6],p=q[7]);let F=D?2.8:.7;q[8]!==F?(h={duration:1.3,delay:F},q[8]=F,q[9]=h):h=q[9],q[10]===Symbol.for("react.memo_cache_sentinel")?(g={once:!0},q[10]=g):g=q[10],q[11]!==V?(f=(0,l.jsx)(s.hj,{richText:V,className:"mx-auto mb-12 max-w-[64rem] px-6 text-xl md:text-2xl lg:text-3xl"}),q[11]=V,q[12]=f):f=q[12],q[13]!==h||q[14]!==f?(y=(0,l.jsx)(c.P.div,{initial:x,whileInView:p,transition:h,viewport:g,children:f}),q[13]=h,q[14]=f,q[15]=y):y=q[15],q[16]!==D?(b=D&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.s,{image:D,fill:!0,className:"object-cover object-center 2xl:object-right",sizes:"100vw"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/60 to-black/20 sm:hidden"})]}),q[16]=D,q[17]=b):b=q[17],q[18]!==B?(v=B&&(0,l.jsx)("p",{className:"text-background m-0 text-right text-base font-bold uppercase md:hidden",children:(0,l.jsx)(r.default,{text:B,direction:"top",animateBy:"letters",className:"justify-end"})}),q[18]=B,q[19]=v):v=q[19],q[20]!==M?(j=M&&(0,l.jsx)(c.P.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},className:"",children:(0,l.jsx)(i.s,{image:M,className:"max-w-52 lg:max-w-full"})}),q[20]=M,q[21]=j):j=q[21],q[22]!==I?(w=(0,l.jsx)(s.DZ,{className:"sr-only",children:I}),q[22]=I,q[23]=w):w=q[23],q[24]!==v||q[25]!==j||q[26]!==w?(N=(0,l.jsxs)("div",{className:"flex flex-col justify-between space-y-8 md:justify-start",children:[v,j,w]}),q[24]=v,q[25]=j,q[26]=w,q[27]=N):N=q[27];let Z=B?"justify-end md:justify-between":"justify-end";return q[28]!==Z?(_=(0,o.cn)("relative flex flex-col items-end",Z),q[28]=Z,q[29]=_):_=q[29],q[30]!==B?(S=B&&(0,l.jsx)("p",{className:"text-background m-0 hidden text-base font-bold uppercase md:block",children:(0,l.jsx)(r.default,{text:B,direction:"top",animateBy:"letters",rootMargin:"-50px"})}),q[30]=B,q[31]=S):S=q[31],q[32]!==L?(z=L&&(0,l.jsx)(c.P.div,{initial:{opacity:0,x:20},whileInView:{opacity:1,x:0},transition:{duration:.8},viewport:{once:!0},className:"",children:(0,l.jsx)(i.s,{image:L,className:""})}),q[32]=L,q[33]=z):z=q[33],q[34]!==_||q[35]!==S||q[36]!==z?(k=(0,l.jsxs)("div",{className:_,children:[S,z]}),q[34]=_,q[35]=S,q[36]=z,q[37]=k):k=q[37],q[38]!==N||q[39]!==k?(P=(0,l.jsxs)("div",{className:"relative z-20 grid min-h-[29rem] items-stretch gap-2 p-7 md:gap-8 md:p-10 lg:grid-cols-2 lg:p-14",children:[N,k]}),q[38]=N,q[39]=k,q[40]=P):P=q[40],q[41]!==b||q[42]!==P?(C=(0,l.jsxs)("div",{className:"rounded-4xl relative mx-auto max-w-[55rem] overflow-hidden lg:max-w-[81.25rem]",children:[b,P]}),q[41]=b,q[42]=P,q[43]=C):C=q[43],q[44]!==E||q[45]!==y||q[46]!==C||q[47]!==m?(T=(0,l.jsxs)("div",{id:E,className:"w-full overflow-hidden px-6 py-16 lg:py-24",children:[m,y,C]}),q[44]=E,q[45]=y,q[46]=C,q[47]=m,q[48]=T):T=q[48],T}}
1,20052:(e,t,n)=>{n.d(t,{QuotesTable:()=>er});var l=n(58986),a=n(34978),i=n(93406),s=n(77483),r=n(3682),o=n(94738),c=n(6050),d=n(12465);let u=c.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,l.jsx)("div",{className:"relative w-full overflow-auto",children:(0,l.jsx)("table",{ref:t,className:"w-full caption-bottom text-sm ".concat(n||""),...a})})});u.displayName="Table";let m=c.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,l.jsx)("thead",{ref:t,className:" ".concat(n||""),...a})});m.displayName="TableHeader";let x=c.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,l.jsx)("tbody",{ref:t,className:"[&_tr:last-child]:border-0 ".concat(n||""),...a})});x.displayName="TableBody",c.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,l.jsx)("tfoot",{ref:t,className:"border-t-4 border-card bg-muted/50 font-medium [&>tr]:last:border-b-0 ".concat(n||""),...a})}).displayName="TableFooter";let p=c.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,l.jsx)("tr",{ref:t,className:"border-b-4 border-card transition-colors hover:bg-accent/10 data-[state=selected]:bg-muted ".concat(n||""),...a})});p.displayName="TableRow";let h=c.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,l.jsx)("th",{ref:t,className:"h-12 px-4 text-start align-middle font-bold [&:has([role=checkbox])]:pe-0 ".concat(n||""),...a})});h.displayName="TableHead";let g=c.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,l.jsx)("td",{ref:t,className:"p-4 align-middle [&:has([role=checkbox])]:pe-0 ".concat(n||""),...a})});g.displayName="TableCell",c.forwardRef((e,t)=>{let{className:n,...a}=e;return(0,l.jsx)("caption",{ref:t,className:"mt-4 text-sm text-muted-foreground ".concat(n||""),...a})}).displayName="TableCaption";var f=n(31677),y=n(23251),b=n(67928),v=n(63081),j=n(81104),w=n(71092),N=n(47350),_=n(93538),S=n(35597),z=n(50286),k=n(87004),P=n(8257),C=n(16466);function T(){let e=(0,_._)(["rtl:**:[.rdp-button_next>svg]:rotate-180"],["rtl:**:[.rdp-button\\_next>svg]:rotate-180"]);return T=function(){return e},e}function q(){let e=(0,_._)(["rtl:**:[.rdp-button_previous>svg]:rotate-180"],["rtl:**:[.rdp-button\\_previous>svg]:rotate-180"]);return q=function(){return e},e}function I(e){let{className:t,classNames:n,showOutsideDays:a=!0,captionLayout:i="label",buttonVariant:s="ghost",formatters:r,components:o,...c}=e,d=(0,P.a)();return(0,l.jsx)(C.h,{showOutsideDays:a,className:(0,b.cn)("bg-background group/calendar p-3 [--cell-size:2rem] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw(T()),String.raw(q()),t),captionLayout:i,formatters:{formatMonthDropdown:e=>e.toLocaleString("default",{month:"short"}),...r},classNames:{root:(0,b.cn)("w-fit",d.root),months:(0,b.cn)("relative flex flex-col gap-4 md:flex-row",d.months),month:(0,b.cn)("flex w-full flex-col gap-4",d.month),nav:(0,b.cn)("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",d.nav),button_previous:(0,b.cn)((0,N.r)({variant:s}),"h-7 min-h-7 w-7 select-none p-0 aria-disabled:opacity-50 leading-none ",d.button_previous),button_next:(0,b.cn)((0,N.r)({variant:s}),"h-7 w-7 min-h-7 select-none p-0 aria-disabled:opacity-50",d.button_next),month_caption:(0,b.cn)("flex h-7 w-full items-center justify-center px-[--cell-size]",d.month_caption),dropdowns:(0,b.cn)("flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm font-medium",d.dropdowns),dropdown_root:(0,b.cn)("has-focus:border-ring border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] relative rounded-full border",d.dropdown_root),dropdown:(0,b.cn)("bg-popover absolute inset-0 opacity-0",d.dropdown),caption_label:(0,b.cn)("select-none font-medium","label"===i?"text-sm":"[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-full pl-2 pr-1 text-sm [&>svg]:size-3.5",d.caption_label),table:"w-full border-collapse",weekdays:(0,b.cn)("flex",d.weekdays),weekday:(0,b.cn)("text-muted-foreground flex-1 select-none rounded-full text-[0.8rem] font-normal",d.weekday),week:(0,b.cn)("mt-2 flex w-full gap-2",d.week),week_number_header:(0,b.cn)("w-[--cell-size] select-none",d.week_number_header),week_number:(0,b.cn)("text-muted-foreground select-none text-[0.8rem]",d.week_number),day:(0,b.cn)("group/day relative aspect-square h-full w-full select-none p-0 text-center [&:first-child[data-selected=true]_button]:rounded-full [&:last-child[data-selected=true]_button]:rounded-full",d.day),range_start:(0,b.cn)("bg-accent rounded-full",d.range_start),range_middle:(0,b.cn)("rounded-full",d.range_middle),range_end:(0,b.cn)("bg-accent rounded-full",d.range_end),today:(0,b.cn)("bg-accent text-accent-foreground rounded-full data-[selected=true]:rounded-full",d.today),outside:(0,b.cn)("text-muted-foreground aria-selected:text-muted-foreground",d.outside),disabled:(0,b.cn)("text-muted-foreground opacity-50",d.disabled),hidden:(0,b.cn)("invisible",d.hidden),...n},components:{Root:e=>{let{className:t,rootRef:n,...a}=e;return(0,l.jsx)("div",{"data-slot":"calendar",ref:n,className:(0,b.cn)(t),...a})}
1,Chevron:e=>{let{className:t,orientation:n,...a}=e;return"left"===n?(0,l.jsx)(S.A,{className:(0,b.cn)("size-4",t),...a}):"right"===n?(0,l.jsx)(z.A,{className:(0,b.cn)("size-4",t),...a}):(0,l.jsx)(k.A,{className:(0,b.cn)("size-4",t),...a})},DayButton:D,WeekNumber:e=>{let{children:t,...n}=e;return(0,l.jsx)("td",{...n,children:(0,l.jsx)("div",{className:"flex size-[--cell-size] items-center justify-center text-center",children:t})})},...o},...c})}function D(e){let t,n,i,s,r,o,d,u,m=(0,a.c)(19);m[0]!==e?({className:t,day:n,modifiers:i,...s}=e,m[0]=e,m[1]=t,m[2]=n,m[3]=i,m[4]=s):(t=m[1],n=m[2],i=m[3],s=m[4]);let x=(0,P.a)(),p=c.useRef(null);m[5]!==i.focused?(r=()=>{if(i.focused){var e;null==(e=p.current)||e.focus()}},o=[i.focused],m[5]=i.focused,m[6]=r,m[7]=o):(r=m[6],o=m[7]),c.useEffect(r,o);let h=N.$;m[8]!==n.date?(d=n.date.toLocaleDateString(),m[8]=n.date,m[9]=d):d=m[9];let g=i.selected&&!i.range_start&&!i.range_end&&!i.range_middle,f=i.range_start,y=i.range_end,v=i.range_middle,j=(0,b.cn)("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex aspect-square h-auto w-full min-w-[--cell-size] flex-col gap-1 font-normal leading-none data-[range-end=true]:rounded-full data-[range-middle=true]:rounded-full data-[range-start=true]:rounded-full group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70 items-center justify-center",x.day,t);return m[10]!==h||m[11]!==i.range_end||m[12]!==i.range_middle||m[13]!==i.range_start||m[14]!==s||m[15]!==j||m[16]!==d||m[17]!==g?(u=(0,l.jsx)(h,{ref:p,variant:"ghost",size:"icon","data-day":d,"data-selected-single":g,"data-range-start":f,"data-range-end":y,"data-range-middle":v,className:j,...s}),m[10]=h,m[11]=i.range_end,m[12]=i.range_middle,m[13]=i.range_start,m[14]=s,m[15]=j,m[16]=d,m[17]=g,m[18]=u):u=m[18],u}var M=n(22750),L=n(65862);let B=L.bL,R=L.l9;L.Mz;let V=c.forwardRef((e,t)=>{let{className:n,align:a="center",sideOffset:i=4,...s}=e;return(0,l.jsx)(L.ZL,{children:(0,l.jsx)(L.UC,{ref:t,align:a,sideOffset:i,className:(0,b.cn)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",n),...s})})});V.displayName=L.UC.displayName;var A=n(53231),E=n(7586),F=n(68274);function Z(e){var t,n;let{column:a,data:i}=e,{t:s}=(0,d.Bd)(),r=a.getFilterValue(),{filter:o,placeholder:u}=(null==(t=a.columnDef)?void 0:t.meta)||{},[m,x]=(0,c.useState)(r);function p(e){x(e),a.setFilterValue(e)}switch((0,c.useEffect)(()=>{x(r)},[r]),o){case"text":return(0,l.jsx)(M.p,{type:"search",value:m||"",onChange:e=>p(e.target.value),placeholder:u||s("tables.search"),className:"placeholder:font-medium"});case"date":return(0,l.jsx)(M.p,{type:"date",value:m||"",onChange:e=>p(e.target.value),placeholder:u||s("tables.search"),className:"block font-medium text-input"});case"dateRange":let[h,g]=(0,c.useState)(r||{from:void 0,to:void 0});(0,c.useEffect)(()=>{g(r||{from:void 0,to:void 0})},[r]);let f=new Date;function y(e){g(e),(null==e?void 0:e.from)&&(null==e?void 0:e.to)?a.setFilterValue(e):(null==e?void 0:e.from)||(null==e?void 0:e.to)||a.setFilterValue(void 0)}return Array.from({length:f.getFullYear()-1999+1},(e,t)=>1999+t),(0,l.jsx)("div",{className:"",children:(0,l.jsxs)(B,{children:[(0,l.jsx)(R,{asChild:!0,children:(0,l.jsxs)(N.$,{id:"date",variant:"outline",className:(0,b.cn)("flex w-[14rem] items-center justify-start gap-2 text-left font-normal",!h&&"text-muted-foreground"),children:[(0,l.jsx)(F.A,{width:"1rem",he
1ight:"1rem",className:"h-4 w-4"}),(null==h?void 0:h.from)?h.to?(0,l.jsxs)(l.Fragment,{children:[(0,A.GP)(h.from,"dd/MM/yyyy",{locale:E.pt})," a"," ",(0,A.GP)(h.to,"dd/MM/yyyy",{locale:E.pt})]}):(0,A.GP)(h.from,"dd/MM/yyyy",{locale:E.pt}):(0,l.jsx)("span",{children:s("tables.chooseDate")})]})}),(0,l.jsx)(V,{className:"shadow-500 w-auto border bg-popover p-0",align:"start",children:(0,l.jsx)(I,{initialFocus:!0,locale:E.pt,mode:"range",defaultMonth:null!=(n=null==h?void 0:h.from)?n:f,selected:h,onSelect:y,numberOfMonths:1,fromYear:2e3,toYear:f.getFullYear(),toMonth:f,className:"bg-popover",footer:(null==h?void 0:h.from)&&(0,l.jsx)(N.$,{variant:"outline",onClick:()=>y({from:void 0,to:void 0}),className:"mt-5",children:s("tables.clear")})})})]})});default:return null}}var $=n(6746),H=n(48566),O=n(78291),G=n(56988),U=n(34015);function Y(e){let t,n,i,s,r,o,c,u,m,x,p,h,g,f,y,b,v,j,w,_,S,z,k,P,C,T,q,I,D,M,L,B,R,V,A=(0,a.c)(83),{table:E,paginationRange:F}=e;A[0]!==F?(t=void 0===F?[10,20,30,40,50]:F,A[0]=F,A[1]=t):t=A[1];let Z=t,{t:Y}=(0,d.Bd)();A[2]!==Y?(n=Y("tables.pagination.rowsPerPage"),A[2]=Y,A[3]=n):n=A[3],A[4]!==n?(i=(0,l.jsx)("p",{className:"m-0 text-xs font-medium",children:n}),A[4]=n,A[5]=i):i=A[5];let Q="".concat(E.getState().pagination.pageSize);A[6]!==E?(s=e=>{E.setPageSize(Number(e))},A[6]=E,A[7]=s):s=A[7],A[8]!==E?(r=E.getState(),A[8]=E,A[9]=r):r=A[9],A[10]!==r.pagination.pageSize?(o=(0,l.jsx)($.bq,{className:"h-8 w-[80px] pr-0 [&>svg]:bg-foreground [&>svg]:text-background",children:(0,l.jsx)($.yv,{placeholder:r.pagination.pageSize})}),A[10]=r.pagination.pageSize,A[11]=o):o=A[11],A[12]!==Z?(c=Z.map(W),A[12]=Z,A[13]=c):c=A[13],A[14]!==c?(u=(0,l.jsx)($.gC,{side:"top",children:c}),A[14]=c,A[15]=u):u=A[15],A[16]!==u||A[17]!==Q||A[18]!==s||A[19]!==o?(m=(0,l.jsxs)($.l6,{value:Q,onValueChange:s,children:[o,u]}),A[16]=u,A[17]=Q,A[18]=s,A[19]=o,A[20]=m):m=A[20],A[21]!==m||A[22]!==i?(x=(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[i,m]}),A[21]=m,A[22]=i,A[23]=x):x=A[23];let J=E.getState().pagination.pageIndex+1;A[24]!==Y||A[25]!==J||A[26]!==E?(p=Y("tables.pagination.pageLabel",{pageIndex:J,pageCount:E.getPageCount()}),A[24]=Y,A[25]=J,A[26]=E,A[27]=p):p=A[27],A[28]!==p?(h=(0,l.jsx)("div",{className:"flex w-[100px] items-center justify-center text-xs font-medium",children:p}),A[28]=p,A[29]=h):h=A[29],A[30]!==E?(g=()=>E.setPageIndex(0),A[30]=E,A[31]=g):g=A[31];let K=!E.getCanPreviousPage();A[32]!==Y?(f=Y("tables.pagination.firstPage"),A[32]=Y,A[33]=f):f=A[33],A[34]!==f?(y=(0,l.jsx)("span",{className:"sr-only",children:f}),A[34]=f,A[35]=y):y=A[35],A[36]===Symbol.for("react.memo_cache_sentinel")?(b=(0,l.jsx)(H.A,{}),A[36]=b):b=A[36],A[37]!==g||A[38]!==K||A[39]!==y?(v=(0,l.jsxs)(N.$,{variant:"outline",className:"hidden h-8 w-8 items-center justify-center p-0 lg:flex",onClick:g,disabled:K,children:[y,b]}),A[37]=g,A[38]=K,A[39]=y,A[40]=v):v=A[40],A[41]!==E?(j=()=>E.previousPage(),A[41]=E,A[42]=j):j=A[42];let X=!E.getCanPreviousPage();A[43]!==Y?(w=Y("tables.pagination.previousPage"),A[43]=Y,A[44]=w):w=A[44],A[45]!==w?(_=(0,l.jsx)("span",{className:"sr-only",children:w}),A[45]=w,A[46]=_):_=A[46],A[47]===Symbol.for("react.memo_cache_sentinel")?(S=(0,l.jsx)(O.A,{}),A[47]=S):S=A[47],A[48]!==j||A[49]!==X||A[50]!==_?(z=(0,l.jsxs)(N.$,{variant:"outline",className:"h-8 w-8 p-0",onClick:j,disabled:X,children:[_,S]}),A[48]=j,A[49]=X,A[50]=_,A[51]=z):z=A[51],A[52]!==E?(k=()=>E.nextPage(),A[52]=E,A[53]=k):k=A[53];let ee=!E.getCanNextPage();A[54]!==Y?(P=Y("tables.pagination.nextPage"),A[54]=Y,A[55]=P):P=A[55],A[56]!==P?(C=(0,l.jsx)("span",{className:"sr-only",children:P}),A[56]=P,A[57]=C):C=A[57],A[58]===Symbol.for("react.memo_cache_sentinel")?(T=(0,l.jsx)(G.A,{}),A[58]=T):T=A[58],A[59]!==k||A[60]!==ee||A[61]!==C?(q=(0,l.jsxs)(N.$,{variant:"outline",className:"h-8 w-8 p-0",onClick:k,disabled:ee,children:[C,T]}),A[59]=k,A[60]=ee,A[61]=C,A[62]=q):q=A[62],A[63]!==E?(I=()=>E.setPageIndex(E.getPageCount()-1),A[63]=E,A[64]=I):I=A[64];let et=!E.getCanNextPage();return A[65]!==Y?(D=Y("tables.pagination.lastPage"),A[65]=Y,A[66]=D):D=A[66],A[67]!==D?(M=(0,l.jsx)("span",{className:"sr-only",children:D}),A[67]=D,A[68]=M):M=A[68],A[69]===Symbol.for("react.memo_cache_sentinel")?(L=(0,l.jsx)(U.A,{}),A[69]=L):L=A[69],A[70]!==I||A[71]!==et||A[72]!==M?(B=(0,l.jsxs)(N.$,{variant:"outline",className:"hidden h-8 w-8 items-center justify-center p-0 lg:flex",onClick:I,disabled:et,children:[M,L]}),A[70]=I,A[71]=et,A[72]=M,A[73]=B):B=A[73],A[74]!==v||A[75]!==z||A[76]!==q||A[77]!==B?(R=(0,l.jsxs)("div",{className:"flex items-center space-x-2",children:[v,z,q,B]}),A[74]=v,A[75]=z,A[76]=q,A[77]=B,A[78]=R):R=A[78],A[79]!==x||A[80]!==h||A[81]!==R?(V=(0,l.jsx)("div",{className:"flex w-full items-center justify-center px-2 py-5",children:(0,l.jsxs)("div",{className:"flex items-center space-x-6 lg:space-x-8",children:[x,h,R]})}),A[79]=x,A[80]=h,A[81]=R,A[82]=V):V=A[82],V}function W(e){return(0,l.jsx)($.eb,{value:"".concat(e),children:e},e)}function Q(e){let t,n,i,s,r,o,N,_,S,z,k,P,C,T,q,I,D=(0,a.c)(47),{columns:M,data:L,pagination:B,pageSize:R,noResultsMessage:V}=e,{t:A}=(0,d.Bd)();D[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],D[0]=t):t=D[0];let[E,F]=(0,c.useState)(t),$=R||10;D[1]!==$?(n={pageIndex:0,pageSize:$},D[1]=$,D[2]=n):n=D[2];let[H,O]=(0,c.useState)(n);D[3]===Symbol.for("react.memo_cache_sentinel")?(i=[],D[3]=i):i=D[3];let[G,U]=(0,c.useState)(i);D[4]===Symbol.for("react.memo_cache_sentinel")?(s=(0,f.HT)(),r=(0,f.kW)(),o=(0,f.h5)(),N=(0,f.hM)(),D[4]=s,D[5]=r,D[6]=o,D[7]=N):(s=D[4],r=D[5],o=D[6],N=D[7]),D[8]!==G||D[9]!==H||D[10]!==E?(_={sorting:E,pagination:H,columnFilters:G},D[8]=G,D[9]=H,D[10]=E,D[11]=_):_=D[11],D[12]!==M||D[13]!==L||D[14]!==_?(S={data:L,columns:M,getCoreRowModel:s,getPaginationRowModel:r,getSortedRowModel:o,getFilteredRowModel:N,onSortingChange:F,onPaginationChange:O,onColumnFiltersChange:U,state:_},D[12]=M,D[13]=L,D[14]=_,D[15]=S):S=D[15];let W=(0,y.N4)(S);if(D[16]!==G||D[17]!==L||D[18]!==E||D[19]!==W){let e;D[21]!==G||D[22]!==L||D[23]!==E?(e=e=>(0,l.jsx)(p,{children:e.headers.map(e=>{var t;return(0,l.jsx)(h,{children:(0,l.jsxs)("div",{className:e.column.getCanFilter()?"flex items-center justify-start":"",children:[e.column.getCanFilter()?(0,l.jsx)(Z,{column:e.column,data:L}):null,(0,l.jsx)("div",{className:e.column.getCanSort()?"cursor-pointer select-none":"",onClick:e.column.getToggleSortingHandler(),children:(0,l.jsxs)("span",{className:"flex items-center justify-center gap-1",children:[(0,y.Kv)(e.column.columnDef.header,e.getContext()),e.column.getCanSort()&&(0,l.jsx)("span",{children:null!=(t=({asc:(0,l.jsx)(v.A,{className:"ml-2 h-4 w-4"}),desc:(0,l.jsx)(j.A,{className:"ml-2 h-4 w-4"})})[e.column.getIsSorted()])?t:(0,l.jsx)(l.Fragment,{children:e.column.getCanSort()?(0,l.jsx)(w.A,{className:"ml-2 h-4 w-4"}):null})})]})})]})},e.id+JSON.stringify(E)+JSON.stringify(G))})},e.id),D[21]=G,D[22]=L,D[23]=E,D[24]=e):e=D[24],z=W.getHeaderGroups().map(e),D[16]=G,D[17]=L,D[18]=E,D[19]=W,D[20]=z}else z=D[20];if(D[25]!==z?(k=(0,l.jsx)(m,{className:"",children:z}),D[25]=z,D[26]=k):k=D[26],D[27]!==G||D[28]!==M||D[29]!==V||D[30]!==H||D[31]!==E||D[32]!==A||D[33]!==W){var Q;P=(null==(Q=W.getRowModel().rows)?void 0:Q.length)?W.getRowModel().rows.map((e,t)=>(0,l.jsx)(p,{"data-state":e.getIsSelected()&&"selected",className:"",children:e.getVisibleCells().map((t,n)=>(0,l.jsx)(g,{className:(0,b.cn)("bg-background",0===n?"rounded-l-3xl":"",n===e.getVisibleCells().length-1?"rounded-r-3xl"
1:""),children:(0,y.Kv)(t.column.columnDef.cell,t.getContext())},t.id))},e.id+JSON.stringify(E)+JSON.stringify(H)+JSON.stringify(G))):(0,l.jsx)(p,{children:(0,l.jsx)(g,{colSpan:M.length,className:"h-24 text-center",children:V||A("tables.noResults")})}),D[27]=G,D[28]=M,D[29]=V,D[30]=H,D[31]=E,D[32]=A,D[33]=W,D[34]=P}else P=D[34];return D[35]!==P?(C=(0,l.jsx)(x,{children:P}),D[35]=P,D[36]=C):C=D[36],D[37]!==k||D[38]!==C?(T=(0,l.jsx)("div",{className:"w-full",children:(0,l.jsxs)(u,{className:"",children:[k,C]})}),D[37]=k,D[38]=C,D[39]=T):T=D[39],D[40]!==B||D[41]!==H||D[42]!==W?(q=B&&(0,l.jsx)(Y,{table:W},JSON.stringify(H)),D[40]=B,D[41]=H,D[42]=W,D[43]=q):q=D[43],D[44]!==T||D[45]!==q?(I=(0,l.jsxs)("div",{children:[T,q]}),D[44]=T,D[45]=q,D[46]=I):I=D[46],I}var J=n(25691);function K(e){let t,n,i=(0,a.c)(5),{documents:s}=e,{t:r}=(0,d.Bd)();if(i[0]!==r)t=[{id:"titulo",accessorKey:"titulo",header:r("tables.documents.columns.title"),cell:e=>{let{row:t}=e,n=t.original;return n&&n.path?(0,l.jsxs)("a",{href:"https://gfp.realvidaseguros.pt/".concat(n.path),target:"_blank",rel:"noopener noreferrer",className:"text-primary decoration-accent flex w-max items-center justify-start gap-3 decoration-dotted decoration-2 underline-offset-4 hover:underline",children:[t.getValue("titulo"),(0,l.jsx)(J.A,{className:"h-5 min-h-5 w-5 min-w-5"})]}):(0,l.jsx)("span",{children:t.getValue("titulo")})}},{id:"date",accessorKey:"date",header:r("tables.documents.columns.date"),cell:e=>{let{row:t}=e;return(0,A.GP)(t.getValue("date"),"dd/MM/yyyy")}}],i[0]=r,i[1]=t;else t=i[1];return i[2]!==s||i[3]!==t?(n=(0,l.jsx)(Q,{columns:t,data:s,pagination:!0}),i[2]=s,i[3]=t,i[4]=n):n=i[4],n}function X(e){let t,n,i=(0,a.c)(9),{quotes:s}=e,{t:r}=(0,d.Bd)();if(!s||0===s.length){let e,t;return i[0]!==r?(e=r("tables.quotes.noData"),i[0]=r,i[1]=e):e=i[1],i[2]!==e?(t=(0,l.jsx)("div",{className:"flex items-center justify-center p-12",children:(0,l.jsx)("p",{className:"text-center font-bold text-foreground",children:e})}),i[2]=e,i[3]=t):t=i[3],t}if(i[4]!==r)t=[{accessorKey:"ValQPdtv",id:"date",header:r("tables.quotes.columns.date"),enableSorting:!0,enableColumnFilter:!0,filterFn:(e,t,n)=>{if(!n||!n.from&&!n.to)return!0;let l=new Date(e.getValue(t));return n.from&&n.to?l>=n.from&&l<=n.to:n.from?l>=n.from:!n.to||l<=n.to},meta:{filter:"dateRange",placeholder:r("tables.quotes.columns.filterByDate")},cell:e=>{let{row:t}=e,n=t.getValue("date");return(0,l.jsx)("div",{className:"text-left",children:new Date(n).toLocaleDateString("pt-PT")})}},{accessorKey:"ValQPvalfp",id:"valor",header:r("tables.quotes.columns.value"),enableSorting:!0,cell:e=>{let{row:t}=e,n=parseFloat(t.getValue("valor")),a=new Intl.NumberFormat("pt-PT",{style:"currency",currency:"EUR"}).format(n);return(0,l.jsx)("div",{className:"text-left",children:a})}},{accessorKey:"ValQPupsfp",id:"numUps",header:r("tables.quotes.columns.numberOfUps"),enableSorting:!0,cell:e=>{let{row:t}=e,n=parseFloat(t.getValue("numUps")),a=new Intl.NumberFormat("pt-PT").format(n);return(0,l.jsx)("div",{className:"text-left",children:a})}},{accessorKey:"ValQPvupfp",id:"up",header:r("tables.quotes.columns.up"),enableSorting:!0,cell:e=>{let{row:t}=e,n=parseFloat(t.getValue("up")),a=new Intl.NumberFormat("pt-PT",{minimumFractionDigits:4,maximumFractionDigits:4}).format(n);return(0,l.jsx)("div",{className:"text-left",children:a})}},{accessorKey:"ValQPytdfp",id:"ytd",header:r("tables.quotes.columns.ytd"),enableSorting:!0,cell:e=>{let{row:t}=e,n=parseFloat(t.getValue("ytd"));return(0,l.jsxs)("div",{className:"text-left ".concat(n>=0?"text-green-600":"text-red-600"),children:[n.toFixed(2),"%"]})}}],i[4]=r,i[5]=t;else t=i[5];return i[6]!==s||i[7]!==t?(n=(0,l.jsx)(Q,{columns:t,data:s,pagination:!0}),i[6]=s,i[7]=t,i[8]=n):n=i[8],n}var ee=n(42494);let et=c.forwardRef((e,t)=>{let{className:n,children:a,...i}=e;return(0,l.jsxs)(ee.bL,{ref:t,className:(0,b.cn)("relative overflow-hidden",n),...i,children:[(0,l.jsx)(ee.LM,{className:"h-full w-full rounded-[inherit]",children:a}),(0,l.jsx)(en,{}),(0,l.jsx)(ee.OK,{})]})});et.displayName=ee.bL.displayName;let en=c.forwardRef((e,t)=>
1{let{className:n,orientation:a="vertical",...i}=e;return(0,l.jsx)(ee.VM,{ref:t,orientation:a,className:(0,b.cn)("flex touch-none select-none transition-colors","vertical"===a&&"h-full w-2.5 border-l border-l-transparent p-[1px]","horizontal"===a&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",n),...i,children:(0,l.jsx)(ee.lr,{className:"relative flex-1 rounded-full bg-border"})})});en.displayName=ee.VM.displayName;var el=n(5238),ea=n(94366);function ei(e){let t,n,i,r,o,d,u,m,x,p,h,g,f,y=(0,a.c)(29),{fundKey:b,fundLabel:v,cotacoes:j,documentos:w,tabs:N}=e,_=(0,c.useRef)(null);if(y[0]!==b?(t=()=>{if(window.location.hash.replace("#","")!==b)return;let e=setTimeout(()=>{var e;null==(e=_.current)||e.scrollIntoView({behavior:"smooth",block:"start"})},1500);return()=>clearTimeout(e)},n=[b],y[0]=b,y[1]=t,y[2]=n):(t=y[1],n=y[2]),(0,c.useEffect)(t,n),!j&&!w)return null;if(y[3]===Symbol.for("react.memo_cache_sentinel")?(i={opacity:0,y:20},r={opacity:1,y:0},o={duration:.8,delay:.5},d={once:!0},y[3]=i,y[4]=r,y[5]=o,y[6]=d):(i=y[3],r=y[4],o=y[5],d=y[6]),y[7]!==v?(u=(0,l.jsx)(ea.P.div,{initial:i,animate:r,transition:o,viewport:d,className:"mx-auto max-w-[78.5rem] px-6",children:(0,l.jsx)(s.DZ,{className:"h3 gradient-text mx-auto max-w-screen-md text-center font-bold uppercase",children:v})}),y[7]=v,y[8]=u):u=y[8],y[9]!==N?(m=N.map(es),y[9]=N,y[10]=m):m=y[10],y[11]!==m?(x=(0,l.jsx)(el.j7,{className:"mx-auto mb-3 w-full max-w-[78.5rem] px-6",children:m}),y[11]=m,y[12]=x):x=y[12],y[13]!==j||y[14]!==w||y[15]!==N){let e;y[17]!==j||y[18]!==w?(e=e=>(0,l.jsx)(el.av,{value:e.value,className:"w-full px-6 lg:px-12 2xl:px-24",children:(0,l.jsx)("div",{className:"bg-card rounded-3xl py-7",children:(0,l.jsx)(ea.P.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.6},viewport:{once:!0},className:"mx-auto max-w-[78.5rem] px-7",children:(0,l.jsxs)(et,{className:"",children:[(0,l.jsx)("div",{className:"w-full",children:"quote"===e.type?(0,l.jsx)(X,{quotes:j}):(0,l.jsx)(K,{documents:w[e.documentType]||[]})}),(0,l.jsx)(en,{orientation:"horizontal"}),(0,l.jsx)(en,{orientation:"vertical"})]})})})},e.value),y[17]=j,y[18]=w,y[19]=e):e=y[19],p=N.map(e),y[13]=j,y[14]=w,y[15]=N,y[16]=p}else p=y[16];return y[20]!==p||y[21]!==x?(h=(0,l.jsxs)(el.tU,{defaultValue:"cotacoes",className:"mt-10 w-full",children:[x,p]}),y[20]=p,y[21]=x,y[22]=h):h=y[22],y[23]!==h||y[24]!==u?(g=(0,l.jsxs)("div",{id:"fundo_cotacoes",children:[u,h]}),y[23]=h,y[24]=u,y[25]=g):g=y[25],y[26]!==b||y[27]!==g?(f=(0,l.jsx)("div",{ref:_,id:b,className:"anchor_fundos",children:g}),y[26]=b,y[27]=g,y[28]=f):f=y[28],f}function es(e){return(0,l.jsx)(el.Xi,{value:e.value,children:e.label},e.value)}function er(e){let t,n,u,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I,D,M,L,B,R,V,A=(0,a.c)(130),{title:E,richText:F,eyebrow:Z,sectionParameters:$}=e,{t:H}=(0,d.Bd)(),[O,G]=(0,c.useState)(null),[U,Y]=(0,c.useState)(!0),[W,Q]=(0,c.useState)(null);A[0]!==H?(t=H("quotesTable.funds.RRA"),A[0]=H,A[1]=t):t=A[1],A[2]!==H?(n=H("quotesTable.funds.RRJ"),A[2]=H,A[3]=n):n=A[3],A[4]!==H?(u=H("quotesTable.funds.RRG"),A[4]=H,A[5]=u):u=A[5],A[6]!==H?(m=H("quotesTable.funds.RRS"),A[6]=H,A[7]=m):m=A[7],A[8]!==H?(x=H("quotesTable.funds.RPEFP"),A[8]=H,A[9]=x):x=A[9],A[10]!==H?(p=H("quotesTable.funds.FPAOCPA"),A[10]=H,A[11]=p):p=A[11],A[12]!==H?(h=H("quotesTable.funds.FPAOCPE"),A[12]=H,A[13]=h):h=A[13],A[14]!==H?(g=H("quotesTable.funds.FPAOCPM"),A[14]=H,A[15]=g):g=A[15],A[16]!==H?(f=H("quotesTable.funds.IBEQ"),A[16]=H,A[17]=f):f=A[17],A[18]!==H?(y=H("quotesTable.funds.IBIN"),A[18]=H,A[19]=y):y=A[19],A[20]!==t||A[21]!==y||A[22]!==n||A[23]!==u||A[24]!==m||A[25]!==x||A[26]!==p||A[27]!==h||A[28]!==g||A[29]!==f?(b={RRA:t,RRJ:n,RRG:u,RRS:m,RPEFP:x,FPAOCPA:p,FPAOCPE:h,FPAOCPM:g,IBEQ:f,IBIN:y},A[20]=t,A[21]=y,A[22]=n,A[23]=u,A[24]=m,A[25]=x,A[26]=p,A[27]=h,A[28]=g,A[29]=f,A[30]=b):b=A[30];let J=b;A[31]!==H?(v=H("quotesTable.tabs.balancetes"),A[31]=H,A[32]=v):v=A[32],A[33]!==v?(j={type:"document",value:"balancetes",label:v,documentType:4},A[33]=v,A[34]=j):j=A[34],A[35]!==H?(w=H("quotesTable.tabs.carteira"),A[35]=H,A[36]=w):w=A[36],A[37]!==w?(N={type:"document",value:"carteira",label:w,documentType:3},A[37]=w,A[38]=N):N=A[38],A[39]!==H?(_=H("quotesTable.tabs.relatorios"),A[39]=H,A[40]=_):_=A[40],A[41]!==_?
1(S={type:"document",value:"relatorios",label:_,documentType:5},A[41]=_,A[42]=S):S=A[42],A[43]!==H?(z=H("quotesTable.tabs.cotacoes"),A[43]=H,A[44]=z):z=A[44],A[45]!==z?(k={type:"quote",value:"cotacoes",label:z},A[45]=z,A[46]=k):k=A[46],A[47]!==j||A[48]!==N||A[49]!==S||A[50]!==k?(P=[j,N,S,k],A[47]=j,A[48]=N,A[49]=S,A[50]=k,A[51]=P):P=A[51];let K=P;if(A[52]!==H?(C=()=>{fetch("https://gfp.realvidaseguros.pt/api/getCotacoes").then(eo).then(e=>{let t={};Object.keys(e).forEach(n=>{var l;t[n]={...e[n],documentos:function(e){if(!e||!Array.isArray(e))return{};let t={};return e.forEach(e=>{if(Array.isArray(e)&&e.length>0){var n;let l=null==(n=e[0])?void 0:n.tipo;l&&(t[l]=e)}}),t}(null==(l=e[n])?void 0:l.documentos)}}),G(t),Y(!1)}).catch(e=>{Q(H("quotesTable.errorLoading")),Y(!1),console.error(e)})},A[52]=H,A[53]=C):C=A[53],A[54]===Symbol.for("react.memo_cache_sentinel")?(T=[],A[54]=T):T=A[54],(0,c.useEffect)(C,T),U){let e,t,n,a,c,d,u=null==$?void 0:$.sectionId;A[55]!==Z?(e=(0,l.jsx)(s.R2,{children:Z}),A[55]=Z,A[56]=e):e=A[56];let m=E||"";return A[57]!==m?(t=(0,l.jsx)(s.DZ,{className:"h2 text-center font-bold uppercase",children:(0,l.jsx)(r.default,{text:m,direction:"top",animateBy:"words",rootMargin:"-50px",className:"justify-center"})}),A[57]=m,A[58]=t):t=A[58],A[59]!==F?(n=(0,l.jsx)(s.hj,{richText:F,className:"mb-8 mt-4 text-center text-lg lg:text-xl"}),A[59]=F,A[60]=n):n=A[60],A[61]===Symbol.for("react.memo_cache_sentinel")?(a=(0,l.jsx)("div",{className:"border-border bg-muted/50 flex items-center justify-center rounded-lg border p-12",children:(0,l.jsx)(o.A,{className:"text-muted-foreground h-8 w-8 animate-spin"})}),A[61]=a):a=A[61],A[62]!==e||A[63]!==t||A[64]!==n?(c=(0,l.jsxs)(i.m,{children:[e,t,n,a]}),A[62]=e,A[63]=t,A[64]=n,A[65]=c):c=A[65],A[66]!==u||A[67]!==c?(d=(0,l.jsx)("section",{id:u,className:"w-full py-12 lg:py-24",children:c}),A[66]=u,A[67]=c,A[68]=d):d=A[68],d}if(W||!O){let e,t,n,a,o,c,d,u=null==$?void 0:$.sectionId;A[69]!==Z?(e=(0,l.jsx)(s.R2,{children:Z}),A[69]=Z,A[70]=e):e=A[70];let m=E||"";return A[71]!==m?(t=(0,l.jsx)(s.DZ,{className:"font-bold uppercase",children:(0,l.jsx)(r.default,{text:m,direction:"top",animateBy:"words",rootMargin:"-50px"})}),A[71]=m,A[72]=t):t=A[72],A[73]!==F?(n=(0,l.jsx)(s.hj,{richText:F,className:"mb-8 mt-4 text-center text-lg lg:text-xl"}),A[73]=F,A[74]=n):n=A[74],A[75]!==W||A[76]!==H?(a=W||H("quotesTable.noData"),A[75]=W,A[76]=H,A[77]=a):a=A[77],A[78]!==a?(o=(0,l.jsx)("div",{className:"border-destructive bg-destructive/10 rounded-lg border p-8 text-center",children:(0,l.jsx)("p",{className:"text-destructive",children:a})}),A[78]=a,A[79]=o):o=A[79],A[80]!==e||A[81]!==t||A[82]!==n||A[83]!==o?(c=(0,l.jsxs)(i.m,{children:[e,t,n,o]}),A[80]=e,A[81]=t,A[82]=n,A[83]=o,A[84]=c):c=A[84],A[85]!==u||A[86]!==c?(d=(0,l.jsx)("section",{id:u,className:"w-full py-12 lg:py-24",children:c}),A[85]=u,A[86]=c,A[87]=d):d=A[87],d}A[88]!==O?(q=Object.keys(O),A[88]=O,A[89]=q):q=A[89],A[90]!==O||A[91]!==q?(I=q.filter(e=>{var t,n;return null==(n=O[e])||null==(t=n.cotacoes)?void 0:t.length}),A[90]=O,A[91]=q,A[92]=I):I=A[92];let X=I;if(!X||!X.length){let e,t,n,a,o,c,d,u=null==$?void 0:$.sectionId;A[93]!==Z?(e=(0,l.jsx)(s.R2,{children:Z}),A[93]=Z,A[94]=e):e=A[94];let m=E||"";return A[95]!==m?(t=(0,l.jsx)(s.DZ,{className:"text-center font-bold uppercase",children:(0,l.jsx)(r.default,{text:m,direction:"top",animateBy:"words",rootMargin:"-50px",className:"justify-center"})}),A[95]=m,A[96]=t):t=A[96],A[97]!==F?(n=(0,l.jsx)(s.hj,{richText:F,className:"mb-8 mt-4 text-center text-lg lg:text-xl"}),A[97]=F,A[98]=n):n=A[98],A[99]!==H?(a=H("quotesTable.noData"),A[99]=H,A[100]=a):a=A[100],A[101]!==a?(o=(0,l.jsx)("div",{className:"text-center text-lg lg:text-xl",children:(0,l.jsx)("p",{className:"font-bold",children:a})}),A[101]=a,A[102]=o):o=A[102],A[103]!==e||A[104]!==t||A[105]!==n||A[106]!==o?(c=(0,l.jsxs)(i.m,{children:[e,t,n,o]}),A[103]=e,A[104]=t,A[105]=n,A[106]=o,A[107]=c):c=A[107],A[108]!==u||A[109]!==c?(d=(0,l.jsx)("section",{id:u,className:"w-full py-12 lg:py-24",children:c}),A[108]=u,A[109]=c,A[110]=d):d=A[110],d}let ee=null==$?void 0:$.sectionId;A[111]!==Z?(D=(0,l.jsx)(s.R2,{children:Z}),A[111]=Z,A[112]=D):D=A[112];let et=E||"";return A[113]!==et?(M=(0,l.jsx)(s.DZ,{as:"div",className:"h2 text-center font-bold uppercase",children:(0,l.jsx)(r.default,{direction:"top",animateBy:"words",rootMargin:"-50px",text:et,className:"justify-center"})}),A[113]=et,A[114]=M):M=A[114],A[115]!==F?(L=(0,l.jsx)(s.hj,{richText:F,className:"mb-8 mt-4 text-center text-lg lg:text-xl"}),A[115]=F,A[116]=L):L=A[116],A[117]!==D||A[118]!==M||A[119]!==L?(B=(0,l.jsxs)(i.m,{children:[D,M,L]}),A[117]=D,A[118]=M,A[119]=L,A[120]=B):B=A[120],A[121]!==X||A[122]!==O||A[123]!==J||A[124]!==K?(R=(0,l.jsx)("div",{className:"w-full space-y-24 pt-16",children:X.map(e=>{var t,n;return(0,l.jsx)(ei,{fundKey:e,fundLabel:J[e],cotacoes:(null==(t=O[e])?void 0:t.cotacoes)||[],documentos:(null==(n=O[e])?void 0:n.documentos)||{},tabs:K},e)})}),A[121]=X,A[122]=O,A[123]=J,A[124]=K,A[125]=R):R=A[125],A[126]!==ee||A[127]!==B||A[128]!==R?(V=(0,l.jsxs)("section",{id:ee,className:"w-full py-12 lg:py-24",children:[B,R]}),A[126]=ee,A[127]=B,A[128]=R,A[129]=V):V=A[129],V}function eo(e){if(!e.ok)throw Error("Failed to fetch cotacoes data");return e.json()}},20390:(e,t,n)=>{n.d(t,{default:()=>d});var l=n(58986),a=n(34978),i=n(77483),s=n(51693),r=n(94103),o=n(67928),c=n(94366);function d(e){let t,n,d,u,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P=(0,a.c)(33),{title:C,richText:T,eyebrow:q,eyebrowPosition:I,typeformId:D,sectionParameters:M,sectionStyles:L}=e,B=null==M?void 0:M.sectionId;return P[0]!==L?(t=(0,o.cn)("relative w-full py-12 lg:py-24",(0,r.aU)(L)),P[0]=L,P[1]=t):t=P[1],P[2]!==q||P[3]!==I?(n=(0,l.jsx)(i.R2,{position:I,theme:"gradient",children:q}),P[2]=q,P[3]=I,P[4]=n):n=P[4],P[5]===Symbol.for("react.memo_cache_sentinel")?(d={opacity:.5,y:20,filter:"blur(0.5rem)"},u={opacity:1,y:0,filter:"blur(0rem)"},m={duration:1},x={once:!0},P[5]=d,P[6]=u,P[7]=m,P[8]=x):(d=P[5],u=P[6],m=P[7],x=P[8]),P[9]!==C?(p=(0,l.jsx)(c.P.div,{initial:d,whileInView:u,transition:m,viewport:x,className:"overflow-hidden",children:(0,l.jsx)(i.DZ,{className:"gradient-text mx-auto mb-10 max-w-[66rem] text-center uppercase",children:C})}),P[9]=C,P[10]=p):p=P[10],P[11]===Symbol.for("react.memo_cache_sentinel")?(y={opacity:.5,y:20},h={opacity:1,y:0},g={duration:.8,delay:.5},f={once:!0},P[11]=h,P[12]=g,P[13]=f,P[14]=y):(h=P[11],g=P[12],f=P[13],y=P[14]),P[15]!==T?(b=(0,l.jsx)(c.P.div,{initial:y,whileInView:h,transition:g,viewport:f,children:(0,l.jsx)(i.hj,{richText:T,className:"mx-auto max-w-[66rem] text-center text-lg lg:text-xl"})}),P[15]=T,P[16]=b):b=P[16],P[17]===Symbol.for("react.memo_cache_sentinel")?(v={opacity:0}
1,j={opacity:1},w={duration:.8,delay:.7},N={once:!0},P[17]=v,P[18]=j,P[19]=w,P[20]=N):(v=P[17],j=P[18],w=P[19],N=P[20]),P[21]===Symbol.for("react.memo_cache_sentinel")?(_={width:"100%",height:"100%"},P[21]=_):_=P[21],P[22]!==D?(S=(0,l.jsx)(c.P.div,{initial:v,whileInView:j,transition:w,viewport:N,children:(0,l.jsx)("div",{className:"border-border mt-7 aspect-[9/16] w-full overflow-hidden rounded-2xl border md:aspect-[41/20]",children:(0,l.jsx)(s.Widget,{id:D,style:_})})}),P[22]=D,P[23]=S):S=P[23],P[24]!==b||P[25]!==S||P[26]!==n||P[27]!==p?(z=(0,l.jsx)("div",{className:"relative w-full px-6 lg:px-12 2xl:px-24",children:(0,l.jsxs)("div",{className:"mx-auto w-full max-w-[78.25rem]",children:[n,p,b,S]})}),P[24]=b,P[25]=S,P[26]=n,P[27]=p,P[28]=z):z=P[28],P[29]!==B||P[30]!==t||P[31]!==z?(k=(0,l.jsx)("section",{id:B,className:t,children:z}),P[29]=B,P[30]=t,P[31]=z,P[32]=k):k=P[32],k}},22370:(e,t,n)=>{n.d(t,{HeroSimulatorsDefault:()=>x});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(9211),o=n(34703),c=n(77483),d=n(38280),u=n(6050);function m(e){let t,n,i,s=(0,a.c)(7),{className:r,target:o}=e,c=void 0===o?9:o,[d,m]=(0,u.useState)(0);return s[0]!==d||s[1]!==c?(t=()=>{if(d<c){let e=setTimeout(()=>{m(d+1)},400);return()=>clearTimeout(e)}},n=[d,c],s[0]=d,s[1]=c,s[2]=t,s[3]=n):(t=s[2],n=s[3]),(0,u.useEffect)(t,n),s[4]!==r||s[5]!==d?(i=(0,l.jsx)("div",{className:r,children:d}),s[4]=r,s[5]=d,s[6]=i):i=s[6],i}function x(e){let t,n,i,s,r,o=(0,a.c)(8),{items:c}=e;return c&&c.length?(o[0]===Symbol.for("react.memo_cache_sentinel")?(t={loop:!0},o[0]=t):t=o[0],o[1]!==c?(n=c.map(p),o[1]=c,o[2]=n):n=o[2],o[3]!==n?(i=(0,l.jsx)(d.CarouselContent,{children:n}),o[3]=n,o[4]=i):i=o[4],o[5]===Symbol.for("react.memo_cache_sentinel")?(s=(0,l.jsx)(d.ZZ,{className:"absolute bottom-4 top-auto",variant:"progress"}),o[5]=s):s=o[5],o[6]!==i?(r=(0,l.jsx)("section",{className:"w-full overflow-x-clip",children:(0,l.jsxs)(d.Carousel,{className:"w-full",itemsMobile:1,itemsTablet:1,itemsDesktop:1,itemsLgDesktop:1,spacingMobile:"0",spacingTablet:"0",spacingDesktop:"0",spacingLgDesktop:"0",autoPlay:!1,dots:"always",align:"center",loop:!0,opts:t,arrowsPosition:"inside",arrows:"always",overflow:"visible",autoWidth:!0,children:[i,s]})}),o[6]=i,o[7]=r):r=o[7],r):null}function p(e,t){let{_key:n,image:a,title:u,richText:x,description:p,buttons:h,leftBadge:g,rightBadge:f,showCounter:y,counterTarget:b}=e;return(0,l.jsx)(d.CarouselItem,{children:(0,l.jsxs)("div",{id:"simulator-".concat(n,"-").concat(t),className:"text-background relative min-h-screen w-screen overflow-hidden pb-12 text-center",children:[(0,l.jsxs)("div",{className:"absolute inset-0 overflow-hidden",children:[a&&(0,l.jsx)(o.s,{image:a,className:"h-full w-full object-cover",fill:!0,sizes:"100vw",quality:100}
1),(0,l.jsx)("div",{className:"bg-foreground/40 absolute inset-0"})]}),(0,l.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:(0,l.jsxs)(i.m,{className:"relative z-10 pt-32 lg:pt-44",children:[(0,l.jsx)(c.DZ,{as:"h2",className:"text-xl font-bold uppercase md:text-3xl",children:u}),p&&(0,l.jsx)(s.s,{richText:p,className:"mx-auto max-w-5xl text-3xl font-bold uppercase md:text-5xl"}),(0,l.jsx)(s.s,{richText:x,className:"mt-3 text-xl md:mt-6 md:text-2xl"}),(y||g||f)&&(0,l.jsxs)("div",{className:"grid items-center justify-center gap-2 py-8 md:grid-cols-6 md:gap-0 md:py-10 lg:grid-cols-8 lg:gap-16 lg:py-14",children:[g&&(0,l.jsx)("div",{className:"bg-accent text-background rounded-full px-4 py-2 md:col-span-2 md:ml-auto md:w-max lg:col-span-2 lg:col-start-2",children:g}),y&&(0,l.jsx)(m,{className:"mx-auto text-center text-[160px] font-bold leading-none md:col-span-2 md:text-[180px] lg:col-span-2 lg:text-[280px]",target:b||9}),f&&(0,l.jsx)("div",{className:"bg-accent text-background rounded-full px-4 py-2 md:col-span-2 md:col-start-5 md:w-max lg:col-span-2 lg:col-start-6",children:f})]}),(0,l.jsx)(r.SanityButtons,{className:"mt-5 w-full justify-center",buttons:h})]})})]})},n+t)}},23496:(e,t,n)=>{n.d(t,{default:()=>Q});var l=n(58986),a=n(97342),i=n(24515),s=n(93406),r=n(32938),o=n(13602),c=n(9211),d=n(49527),u=n(77483),m=n(47350),x=n(29897),p=n(58949),h=n(58917),g=n(67928),f=n(98572),y=n(89011),b=n(80945),v=n(94366),j=n(31368),w=n(94738),N=n(47585),_=n(79754),S=n(81104),z=n(83669),k=n(12399),P=n(6050),C=n(53640),T=n(12465),q=n(12532),I=n(45478);let D=(0,I.createServerReference)("7ff8f23fb72dc6b7a75ddf7b4e593d655cf5fc3ad6",I.callServer,void 0,I.findSourceMapURL,"quizzMyLifeFormAction");var M=n(40390),L=n(34978),B=n(94914),R=n(31345),V=n(82033),A=n(71094),E=n(22750),F=n(56995),Z=n.n(F),$=n(86548);let H=(0,I.createServerReference)("7f096aa17d881c21055f8deb6f5a3e34dc64ca8f36",I.callServer,void 0,I.findSourceMapURL,"quizMyLifeLeadCaptureFormAction");var O=n(9795);function G(e){let{title:t,stories:n}=e,[s,r]=(0,P.useState)(!1),o=(0,$.usePathname)(),{t:c,i18n:d}=(0,T.Bd)("forms"),m=d.language,{execute:h,isExecuting:g}=(0,z.y)(H,{onSuccess:()=>{console.log("success"),r(!0),(0,i.sendGTMEvent)({event:"quiz_my_life_lead_capture_success"})},onError:()=>{console.log("error")}});(0,P.useEffect)(()=>{if(s){var e;null==(e=document.getElementById("form-success"))||e.scrollIntoView({behavior:"smooth"})}},[s]);let f=(0,P.useMemo)(()=>M.Ikc({locale:M.YjP().optional(),name:M.YjP({message:c("common.validation.nameRequired")}).min(2,{message:c("common.validation.nameMinLength")}),phone:(0,O.lZ)(c),email:M.Rpp({message:c("common.validation.emailInvalid")}),terms:(0,O.kv)(c),stories:M.YOg(M.Ikc({href:M.YjP(),title:M.YjP(),description:M.YjP()})).optional().default([])}),[c]),y=(0,C.mN)({resolver:(0,a.u)(f),defaultValues:{locale:m,name:"",email:"",phone:"",terms:!1,stories:[]}});function b(e){h({...e,stories:n})}return s?(0,l.jsx)(A.A,{title:c("quizMyLifeLeadCapture.success.title"),message:c("quizMyLifeLeadCapture.success.message")}):(0,l.jsxs)("div",{"data-noindex":!0,id:"quiz-my-life-lead-capture-form",className:"bg-card scroll-mt-24 md:rounded-2xl md:px-8 md:py-10",children:[(0,l.jsx)(u.DZ,{className:"gradient-text pb-6 text-center font-bold uppercase lg:text-left",children:t}),(0,l.jsx)(p.lV,{...y,children:(0,l.jsxs)("form",{onSubmit:y.handleSubmit(b),className:"bg-card space-y-6",children:[(0,l.jsx)(E.p,{type:"hidden",name:"type",value:"contact"}),(0,l.jsx)(E.p,{type:"hidden",name:"url",value:"https://rvseguros26.vercel.app"+o}),(0,l.jsx)(p.zB,{control:y.control,name:"name",render:e=>{let{field:t}=e;return(0,l.jsxs)(p.eI,{children:[(0,l.jsxs)(p.lR,{className:"text-foreground font-bold",children:[c("common.labels.name"),(0,l.jsx)(R.A,{error:y.formState.errors.name})]}),(0,l.jsx)(p.MJ,{className:"placeholder:text-placeholder border-border bg-background focus-within:border-accent h-14 rounded-full",children:(0,l.jsx)(E.p,{autoComplete:"given-name",placeholder:c("common.labels.name"),"aria-label":c("common.labels.name"),...t})}),(0,l.jsx)(p.C5,{})]})}}),(0,l.jsx)(p.zB,{control:y.control,name:"email",render:e=>{let{field:t}=e;return(0,l.jsxs)(p.eI,{children:[(0,l.jsxs)(p.lR,{className:"text-foreground font-bold",children:[c("common.labels.email"),(0,l.jsx)(R.A,{error:y.formState.errors.email})]}),(0,l.jsx)(p.MJ,{className:"placeholder:text-placeholder border-border bg-background focus-within:border-accent h-14 roun
1ded-full",children:(0,l.jsx)(E.p,{autoComplete:"email",type:"email",placeholder:c("common.labels.email"),"aria-label":c("common.labels.email"),...t})}),(0,l.jsx)(p.C5,{})]})}}),(0,l.jsx)(p.zB,{control:y.control,name:"phone",render:e=>{let{field:t}=e;return(0,l.jsxs)(p.eI,{children:[(0,l.jsxs)(p.lR,{className:"text-foreground font-bold",children:[c("common.labels.phone"),(0,l.jsx)(R.A,{error:y.formState.errors.phone})]}),(0,l.jsx)(p.MJ,{className:"placeholder:text-placeholder border-border bg-background focus-within:border-accent h-14 rounded-full",children:(0,l.jsx)(E.p,{autoComplete:"tel",placeholder:c("common.labels.phone"),"aria-label":c("common.labels.phone"),...t})}),(0,l.jsx)(p.C5,{})]})}}),(0,l.jsxs)("div",{className:"text-sm",children:[c("common.labels.privacyPolicy.p1"),(0,l.jsx)(Z(),{href:c("common.labels.privacyPolicy.link"),className:"text-foreground hover:text-accent pl-1 underline",target:"_blank",rel:"noopener noreferrer","aria-label":c("common.labels.privacyPolicy.ariaLabelLink"),title:c("common.labels.privacyPolicy.titleLink"),children:c("common.labels.privacyPolicy.p2")})," ",c("common.labels.privacyPolicy.p3")]}),(0,l.jsx)(p.zB,{control:y.control,name:"terms",render:e=>{let{field:t}=e;return(0,l.jsxs)(p.eI,{className:"relative flex flex-col items-start justify-center pl-8",children:[(0,l.jsxs)("div",{className:"space-y-1 leading-none",children:[(0,l.jsx)(p.lR,{className:"cursor-pointer text-sm font-bold",children:c("common.labels.privacyPolicy.p4")}),(0,l.jsx)(p.C5,{})]}),(0,l.jsx)(p.MJ,{className:"border-border",children:(0,l.jsx)(x.S,{checked:t.value,onCheckedChange:t.onChange,className:"border-foreground absolute left-0 top-0 rounded-full","aria-label":c("common.labels.privacyPolicy.ariaLabel"),title:c("common.labels.privacyPolicy.title")})})]})}}),(0,l.jsx)("div",{className:"flex justify-center md:justify-start",children:(0,l.jsx)(V.A,{loading:g,type:"button",onClick:()=>y.handleSubmit(b)(),text:c("common.buttons.submit"),size:"sm"})})]})})]})}function U(e){let t,n,a,i,s,r,o,d,u=(0,L.c)(18),{stories:m}=e,[x,p]=(0,P.useState)(!1),{t:h}=(0,T.Bd)("forms");return u[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>p(!0),u[0]=t):t=u[0],u[1]!==h?(n=h("quizzMyLife.buttons.sendToEmail"),u[1]=h,u[2]=n):n=u[2],u[3]!==n?(a=(0,l.jsx)(B.zM,{asChild:!0,children:(0,l.jsx)(c.SanityButton,{onClick:t,type:"button",variant:"default",icon:"arrow-right",text:n,size:"default",href:"#",showButton:"always"})}),u[3]=n,u[4]=a):a=u[4],u[5]!==h?(i=h("quizzMyLife.buttons.sendToEmail"),u[5]=h,u[6]=i):i=u[6],u[7]!==i?(s=(0,l.jsx)(B.c7,{className:"sr-only",children:(0,l.jsx)(B.L3,{className:"text-center sr-only",children:i})}),u[7]=i,u[8]=s):s=u[8],u[9]!==m?(r=(0,l.jsx)(G,{title:"",stories:m}),u[9]=m,u[10]=r):r=u[10],u[11]!==s||u[12]!==r?(o=(0,l.jsxs)(B.Cf,{className:"p-0 overflow-y-hidden max-h-[80vh]",children:[s,r]}),u[11]=s,u[12]=r,u[13]=o):o=u[13],u[14]!==x||u[15]!==a||u[16]!==o?(d=(0,l.jsxs)(B.lG,{open:x,onOpenChange:p,children:[a,o]}),u[14]=x,u[15]=a,u[16]=o,u[17]=d):d=u[17],d}var Y=n(37811);let W=(()=>{if("production"===Y.env.ENV||"preview"===Y.env.ENV)return"https://rvseguros26.vercel.app";if(Y.env.NEXT_PUBLIC_CHATBOT_BASE_URL)return Y.env.NEXT_PUBLIC_CHATBOT_BASE_URL;let e=Y.env.NEXT_PUBLIC_PORT||Y.env.PORT||"3000";return"http://localhost:".concat(e)})();function Q(e){var t,n;let{title:I,productRealSeguroVidaPleno:L,productRealSeguroDeAcidentesPessoaisGlobal:B,productRealSeguroVidaFutura:R,productRealSeguroDeSaudeUnico:V,productRealSeguroDeSaudeDoencasGraves:A,productPprRealVidaCapitalProtegido:E,productRealSeguroVidaHabitacao:F,productRealSeguroDeSaude:Z,productRealVidaSuperRendimentoSerie10:$}=e,{t:H,i18n:O}=(0,T.Bd)("forms"),[G,Y]=(0,P.useState)(0),[Q,J]=(0,P.useState)(!1),[K,X]=(0,P.useState)([]),[ee,et]=(0,P.useState)(!1),[en,el]=(0,P.useState)(!1),[ea,ei]=(0,P.useState)(!1),[es,er]=(0,P.useState)(!1),eo=(0,P.useRef)(null),ec=(0,P.useRef)(!1),{execute:ed,isExecuting:eu}=(0,z.y)(D,{onSuccess:()=>{console.log("success"),X(function(e,t){let n=[],l=e.q1,a=e.q2,i=e.q3,s=null==a?void 0:a.includes("tenhoFilhos"),r=null==a?void 0:a.includes("tenhoCreditoHabitacao"),o=null==a?void 0:a.includes("vivoSozinho"),c="<25"===l||"26-35"===l||"36-50"===l,d=.5>Math.random(),u=d?"/quizz-my-life/pergunta-3-resposta-2.jpg":"/quizz-my-life/pergunta-3-resposta-2-homem.jpg";return("<25"===l||"26-35"===l)&&n.push({image:"/quizz-my-life/acidentes-pessoais.jpg",label:t("quizzMyLife.result.slides.acidentesPessoais.label"),message:t("quizzMyLife.result.slides.acidentesPessoais.message"),width:"662",he
1ight:"600"}),n.push({image:d?"/quizz-my-life/pergunta-4-resposta-1-mulher.jpg":"/quizz-my-life/saude.jpg",label:t("quizzMyLife.result.slides.saude.label"),message:t("quizzMyLife.result.slides.saude.message"),width:"662",height:"600"}),r&&(s?n.push({image:"/quizz-my-life/habitacao-com-filhos.jpg",label:t("quizzMyLife.result.slides.habitacaoComFilhos.label"),message:t("quizzMyLife.result.slides.habitacaoComFilhos.message"),width:"662",height:"600"}):n.push({image:"/quizz-my-life/habitacao-sem-filhos.jpg",label:t("quizzMyLife.result.slides.habitacaoSemFilhos.label"),message:t("quizzMyLife.result.slides.habitacaoSemFilhos.message"),width:"662",height:"600"})),n.push({image:"/quizz-my-life/doencas-graves.jpg",label:t("quizzMyLife.result.slides.doencasGraves.label"),message:t("quizzMyLife.result.slides.doencasGraves.message"),width:"662",height:"600"}),c&&s&&n.push({image:"/quizz-my-life/vida-pleno.jpg",label:t("quizzMyLife.result.slides.vidaPleno.label"),message:t("quizzMyLife.result.slides.vidaPleno.message"),width:"662",height:"600"}),c&&!s&&n.push({image:"/quizz-my-life/vida-futura.jpg",label:t("quizzMyLife.result.slides.vidaFutura.label"),message:t("quizzMyLife.result.slides.vidaFutura.message"),width:"662",height:"600"}),"pensoMasNaoComecei"===i&&n.push({image:o?u:"/quizz-my-life/pergunta-3-resposta-3.jpg",label:t("quizzMyLife.result.slides.poupancaReforma.label"),message:t("quizzMyLife.result.slides.poupancaReforma.message"),width:o?"662":"615",height:"600"}),"jaComecei"===i&&n.push({image:o?u:"/quizz-my-life/pergunta-3-resposta-3.jpg",label:t("quizzMyLife.result.slides.investirPoupancas.label"),message:t("quizzMyLife.result.slides.investirPoupancas.message"),width:o?"662":"615",height:"600"}),n.push({image:"/quizz-my-life/saude-unico.jpg",label:t("quizzMyLife.result.slides.saudeUnico.label"),message:t("quizzMyLife.result.slides.saudeUnico.message"),width:"662",height:"600"}),n}(eP,H)),J(!0),(0,i.sendGTMEvent)({event:"quizz_my_life_success"})},onError:()=>{console.log("error")}}),em=e=>{if(!e)return;let t=e.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:t,behavior:"auto"})},ex=()=>{if(!eq.current)return;let e=eq.current.getBoundingClientRect().top-400;1>Math.abs(e)||window.scrollTo({top:window.scrollY+e,behavior:"auto"})},ep=()=>{eI.current&&eD.current&&eV.current&&eA.current&&requestAnimationFrame(()=>{if(!eI.current||!eD.current||!eV.current||!eA.current)return;let e=eD.current.clientWidth,t=eD.current.getBoundingClientRect(),n=Number.parseFloat(window.getComputedStyle(eD.current).paddingLeft)||0,l=eV.current.offsetLeft,a=eV.current.offsetWidth,i=window.innerWidth/2;eE.current=i-(t.left+n+(l+a/2));let s=eA.current.offsetLeft,r=eA.current.offsetWidth;if(es)eF.current=i-(t.left+n+(s+r/2));else{let e=t.left+n+(s+r);eF.current=window.innerWidth-e}let o=Math.abs(eF.current-eE.current),c=window.innerHeight,d=Math.max(o,e*(es?.75:8)),u=c*(es?2:4),m=c*(es?1:3);eL("".concat(u+(d+m),"px")),eR(!0)})};(0,P.useEffect)(()=>{if(Q){ec.current||(ec.current=!0,requestAnimationFrame(()=>{em(eo.current),ep(),ex()})),el(!0),ei(!1);let e=setTimeout(()=>{requestAnimationFrame(()=>{em(eo.current),ep(),ex(),requestAnimationFrame(()=>el(!1))})},7500);return()=>clearTimeout(e)}},[Q]),(0,P.useEffect)(()=>{ee&&requestAnimationFrame(()=>{let e=document.getElementById("quizz-my-life-form");e&&e.scrollIntoView({behavior:"smooth",block:"start"})})},[ee]),(0,q.K$)(en,"quizz-my-life-loader"),(0,P.useEffect)(()=>{let e=window.matchMedia("(min-width: 1024px)"),t=()=>er(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let eh=(0,P.useMemo)(()=>M.Ikc({locale:M.YjP().optional(),q1:M.k5n(["<25","26-35","36-50","51-65","66+"],{message:H("quizzMyLife.validation.q1")}),q2:M.YOg(M.k5n(["tenhoFilhos","tenhoCreditoHabitacao","vivoSozinho","iniciarVidaProfissional","reformado","souCuidadorApoioFamiliar"])).min(1,{message:H("quizzMyLife.validation.q2")}),q3:M.k5n(["aindaNao","pensoMasNaoComecei","jaComecei","tenhoPlanoDefinido"],{message:H("quizzMyLife.validation.q3")}),q4:M.k5n(["naoTenhoProtecao","tenhoPoupancaMasNaoSeguro","tenhoSeguroSaude"],{message:H("quizzMyLife.validation.q4")}),q5:M.k5n(["garantirEstabilidade","protegerFamilia","cuidarDaSaude","protegerFuturo","rentabilizarPoupancas"],{message:H("quizzMyLife.validation.q5")})}),[H]),eg=(0,C.mN)({resolver:(0,a.u)(eh),defaultValues:{locale:O.language,q1:void 0,q2:[],q3:void 0,q4:void 0,q5:void 0}});function ef(e){ed(e)}let ey="productRealSeguroVidaPleno",eb="productRealSeguroDeAcidentesPessoaisGlobal",ev="productRealSeguroVidaFutura",ej="productRealSeguroDeSaudeUnico",ew="productRealSeguroDeSaudeDoencasGraves",eN="productPprRealVidaCapitalProtegido",e_="productRealSeguroVidaHabitacao",eS="productRealSeguroDeSaude",ez="productRealVidaSuperRendimentoSerie10",ek=[{question:H("quizzMyLife.questions.q1.title"),name:"q1",allowMultiple:!1,options:[{label:H("quizzMyLife.questions.q1.options.
1<25.label"),value:"<25",products:[eb],image:"/quizz-my-life/pergunta-1-resposta-1.jpg",width:"544",height:"600",message:H("quizzMyLife.questions.q1.options.<25.message")},{label:H("quizzMyLife.questions.q1.options.26-35.label"),value:"26-35",products:[e_,ev,eS],image:"/quizz-my-life/pergunta-1-resposta-2.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q1.options.26-35.message")},{label:H("quizzMyLife.questions.q1.options.36-50.label"),value:"36-50",products:[ey,ew,eS],image:"/quizz-my-life/pergunta-1-resposta-3.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q1.options.36-50.message")},{label:H("quizzMyLife.questions.q1.options.51-65.label"),value:"51-65",products:[eN,ez],image:"/quizz-my-life/pergunta-1-resposta-4.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q1.options.51-65.message")},{label:H("quizzMyLife.questions.q1.options.66+.label"),value:"66+",products:[ej],image:"/quizz-my-life/pergunta-1-resposta-5.jpg",width:"561",height:"600",message:H("quizzMyLife.questions.q1.options.66+.message")}]},{question:H("quizzMyLife.questions.q2.title"),name:"q2",allowMultiple:!0,options:[{label:H("quizzMyLife.questions.q2.options.tenhoFilhos.label"),value:"tenhoFilhos",products:[ey,ew,eS],image:"/quizz-my-life/pergunta-2-resposta-1.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q2.options.tenhoFilhos.message")},{label:H("quizzMyLife.questions.q2.options.tenhoCreditoHabitacao.label"),value:"tenhoCreditoHabitacao",products:[e_],image:"/quizz-my-life/pergunta-2-resposta-2.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q2.options.tenhoCreditoHabitacao.message")},{label:H("quizzMyLife.questions.q2.options.vivoSozinho.label"),value:"vivoSozinho",products:[eb,ev],image:"/quizz-my-life/pergunta-2-resposta-3.jpg",width:"578",height:"600",message:H("quizzMyLife.questions.q2.options.vivoSozinho.message")},{label:H("quizzMyLife.questions.q2.options.iniciarVidaProfissional.label"),value:"iniciarVidaProfissional",products:[ev,eb],image:"/quizz-my-life/pergunta-2-resposta-4.jpg",width:"523",height:"600",message:H("quizzMyLife.questions.q2.options.iniciarVidaProfissional.message")},{label:H("quizzMyLife.questions.q2.options.reformado.label"),value:"reformado",products:[ez,ej],image:"/quizz-my-life/pergunta-2-resposta-5.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q2.options.reformado.message")},{label:H("quizzMyLife.questions.q2.options.souCuidadorApoioFamiliar.label"),value:"souCuidadorApoioFamiliar",products:[ew,eS],image:"/quizz-my-life/pergunta-2-resposta-6.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q2.options.souCuidadorApoioFamiliar.message")}]},{question:H("quizzMyLife.questions.q3.title"),name:"q3",allowMultiple:!1,options:[{label:H("quizzMyLife.questions.q3.options.aindaNao.label"),value:"aindaNao",products:[eN],image:"/quizz-my-life/pergunta-3-resposta-1.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q3.options.aindaNao.message")},{label:H("quizzMyLife.questions.q3.options.pensoMasNaoComecei.label"),value:"pensoMasNaoComecei",products:[eN],image:"/quizz-my-life/pergunta-3-resposta-2.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q3.options.pensoMasNaoComecei.message")},{label:H("quizzMyLife.questions.q3.options.jaComecei.label"),value:"jaComecei",products:[ez],image:"/quizz-my-life/pergunta-3-resposta-3.jpg",width:"600",height:"600",message:H("quizzMyLife.questions.q3.options.jaComecei.message")},{label:H("quizzMyLife.questions.q3.options.tenhoPlanoDefinido.label"),value:"tenhoPlanoDefinido",products:[ez],image:"/quizz-my-life/pergunta-3-resposta-4.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q3.options.tenhoPlanoDefinido.message")}]},{question:H("quizzMyLife.questions.q4.title"),name:"q4",allowMultiple:!1,options:[{label:H("quizzMyLife.questions.q4.options.naoTenhoProtecao.label"),value:"naoTenhoProtecao",products:[eS],image:"/quizz-my-life/pergunta-4-resposta-1.jpg",width:"604",height:"600",message:H("quizzMyLife.questions.q4.options.naoTenhoProtecao.message")},{label:H("quizzMyLife.questions.q4.options.tenhoPoupancaMasNaoSeguro.label"),value:"tenhoPoupancaMasNaoSeguro",products:[ew,eS],image:"/quizz-my-life/pergunta-4-resposta-2.jpg",width:"662",he
1ight:"600",message:H("quizzMyLife.questions.q4.options.tenhoPoupancaMasNaoSeguro.message")},{label:H("quizzMyLife.questions.q4.options.tenhoSeguroSaude.label"),value:"tenhoSeguroSaude",products:[ew,ey],image:"/quizz-my-life/pergunta-4-resposta-3.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q4.options.tenhoSeguroSaude.message")}]},{question:H("quizzMyLife.questions.q5.title"),name:"q5",allowMultiple:!1,options:[{label:H("quizzMyLife.questions.q5.options.garantirEstabilidade.label"),value:"garantirEstabilidade",products:[e_,ey],image:"/quizz-my-life/pergunta-5-resposta-1.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q5.options.garantirEstabilidade.message")},{label:H("quizzMyLife.questions.q5.options.protegerFamilia.label"),value:"protegerFamilia",products:[ey,eS,ew],image:"/quizz-my-life/pergunta-5-resposta-2.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q5.options.protegerFamilia.message")},{label:H("quizzMyLife.questions.q5.options.cuidarDaSaude.label"),value:"cuidarDaSaude",products:[eS,ew],image:"/quizz-my-life/pergunta-5-resposta-3.jpg",width:"571",height:"600",message:H("quizzMyLife.questions.q5.options.cuidarDaSaude.message")},{label:H("quizzMyLife.questions.q5.options.protegerFuturo.label"),value:"protegerFuturo",products:[ev,eN],image:"/quizz-my-life/pergunta-5-resposta-4.jpg",width:"639",height:"600",message:H("quizzMyLife.questions.q5.options.protegerFuturo.message")},{label:H("quizzMyLife.questions.q5.options.rentabilizarPoupancas.label"),value:"rentabilizarPoupancas",products:[ez,eS],image:"/quizz-my-life/pergunta-5-resposta-5.jpg",width:"662",height:"600",message:H("quizzMyLife.questions.q5.options.rentabilizarPoupancas.message")}]}],eP=eg.watch(),eC=(0,P.useMemo)(()=>{let e=[],t=eP.q1,n=eP.q2,l=eP.q3;("<25"===t||"26-35"===t)&&B&&e.push(B),Z&&e.push(Z),A&&e.push(A),V&&e.push(V),(null==n?void 0:n.includes("tenhoCreditoHabitacao"))&&F&&e.push(F);let a="<25"===t||"26-35"===t||"36-50"===t;return a&&(null==n?void 0:n.includes("tenhoFilhos"))&&L&&e.push(L),a&&!(null==n?void 0:n.includes("tenhoFilhos"))&&R&&e.push(R),("aindaNao"===l||"pensoMasNaoComecei"===l)&&E&&e.push(E),("jaComecei"===l||"tenhoPlanoDefinido"===l)&&$&&e.push($),e},[eP.q1,eP.q2,eP.q3,B,Z,A,V,F,L,R,E,$]),eT=(0,P.useMemo)(()=>{let e=eP.q1,t=eP.q2,n=null==t?void 0:t.includes("tenhoFilhos");return"<25"===e?"/quizz-my-life/primeira/1-primeira.jpg":"26-35"===e?n?"/quizz-my-life/primeira/7-primeira-26–35-anos-com-filhos.jpg":"/quizz-my-life/primeira/2-primeira-26–35-anos.jpg":"36-50"===e?n?"/quizz-my-life/primeira/4-primeira-36–50-anos-filhos.jpg":"/quizz-my-life/primeira/3-primeira-36–50-anos.jpg":"51-65"===e?"/quizz-my-life/primeira/3-primeira-36–50-anos.jpg":"66+"===e?"/quizz-my-life/primeira/6-primeira-66-anos.jpg":"/quizz-my-life/primeira/1-primeira.jpg"},[eP.q1,eP.q2]),eq=(0,P.useRef)(null),eI=(0,P.useRef)(null),eD=(0,P.useRef)(null),[eM,eL]=(0,P.useState)("250vh"),[eB,eR]=(0,P.useState)(!1),eV=(0,P.useRef)(null),eA=(0,P.useRef)(null),eE=(0,P.useRef)(0),eF=(0,P.useRef)(0),eZ=(0,P.useRef)([]),[e$,eH]=(0,P.useState)(!1),[eO,eG]=(0,P.useState)(0),[eU,eY]=(0,P.useState)(!1),eW=(0,P.useRef)(!1),eQ=(0,P.useMemo)(()=>K.map(e=>({message:e.message,label:e.label})),[K]),{scrollYProgress:eJ}=(0,f.L)({target:eq,offset:["start 400px","end end"]});(0,P.useEffect)(()=>{Q||eR(!1)},[Q]),(0,P.useEffect)(()=>{let e=eJ.on("change",e=>{eH(e>=.999)});return()=>{e()}},[eJ]),(0,P.useEffect)(()=>{if(!Q)return;let e=eJ.on("change",e=>{!(e<.999)&&!es&&eA.current&&eD.current&&(eW.current||(eW.current=!0,requestAnimationFrame(()=>{try{if(!eA.current||!eD.current)return;let e=eA.current.getBoundingClientRect(),t=eD.current.getBoundingClientRect().right-e.right;Math.abs(t)>1&&(eF.current+=t)}finally{eW.current=!1}})))});return()=>e()},[eJ,Q,es]);let eK=(0,y.G)(eJ,e=>{let t=eE.current;return t+(eF.current-t)*Math.min(Math.max(e,0),1)}),eX=(0,y.G)(eJ,[0,.1,.3],[0,-80,-150]),e0=(0,b.z)(eX,{stiffness:230,damping:30,mass:.15}),e1=(0,y.G)(eJ,[0,.05,.1],[1,.3,0]);return(0,P.useEffect)(()=>{if(!Q)return;let e=()=>{requestAnimationFrame(()=>{if(eI.current&&eD.current&&eV.current&&eA.current){let e=eD.current.clientWidth,t=eD.current.getBoundingClientRect(),n=Number.parseFloat(window.getComputedStyle(eD.current).paddingLeft)||0,l=eV.current.offsetLeft,a=eV.current.offsetWidth,i=window.innerWidth/2;eE.current=i-(t.left+n+(l+a/2));let s=eA.current.offsetLeft,r=eA.current.offsetWidth;if(es)eF.current=i-(t.left+n+(s+r/2));else{let e=t.left+n+(s+r);eF.current=window.innerWidth-e}let o=Math.abs(eF.current-eE.current),c=window.innerHeight,d=Math.max(o,e*(es?.75:8)),u=c*(es?2:4),m=c*(es?1:3);eL("".concat(u+(d+m),"px")),eR(!0)}})},t=setTimeout(e,100);return Promise.all([new Promise(e=>{let t=new window.Image;t.onload=e,t.onerror=e,t.src=eT}),...K.map(e=>new Promise(t=>{let n=new window.Image;n.onload=t,n.onerror=t,n.src=e.image}))]).then(()=>{e(),ei(!0)}),0===K.length&&ei(!0),window.addEventListener("resize",e),()=>{clearTimeout(t),window.removeEventListener("resize",e)}},[K.length,Q,K,es,eT]),(0,P.useEffect)(()=>{let e;if(!Q||!eD.current||!ea||en||!eB)return;let t=()=>{var e;if(.02>eJ.get()){eU&&eY(!1);return}let t=null==(e=eD.current)?void 0:e.getBoundingClientRect();if(!t)return;let n=t.left+t.width/2,l=K.length-1,a=eZ.current[0],i=l>=0?eZ.current[l]:null;if(a&&i){let e=a.getBoundingClientRect(),t=i.getBoundingClientRect(),l=e.left,s=t.right,r=l<=n&&s>n;!eU&&r?eY(!0):eU&&!r&&eY(!1)}if(!eU)return;let s=0,r=1/0;for(let e=0;e<K.length;e++){let t=eZ.current[e];if(!t)continue;let l=t.getBoundingClientRect(),a=Math.abs(l.left+l.width/2-n);a<r&&(r=a,s=e)}eG(s)},n=()=>{t(),e=requestAnimationFrame(n)};e=requestAnimationFrame(n);let l=eJ.on("change",t);return()=>{cancelAnimationFrame(e),l()}},[Q,eJ,K,eU,ea,en,eB]),(0,l.jsxs)("div",{id:"contactos-form",ref:eo,className:(0,g.cn)("scroll-mt-24 pt-16 lg:pt-24",!Q&&"pb-16 lg:pb-24"),children:[(0,l.jsx)(u.DZ,{className:"gradient-text pb-6 text-center text-4xl font-bold uppercase lg:text-left",children:I}),(0,l.jsx)("div",{className:"w-full px-5 lg:px-12 2xl:px-24",children:Q&&ea&&!en&&(0,l.jsxs)(v.P.div,{style:{y:e0,opacity:e1},className:"-mb-40 max-w-2xl text-left",children:[(0,l.jsxs)("h2",{className:"text-foreground text-7xl font-medium",children:[H("quizzMyLife.result.headingLine1"),(0,l.jsx)("br",{})," ",H("quizzMyLife.result.headingLine2")]}),(0,l.jsx)("p",{className:"mt-2 max-w-2xl text-lg",children:H("quizzMyLife.result.subheader")}),(0,l.jsxs)("ul",{className:"mt-2 max-w-2xl text-lg",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{children:H("quizzMyLife.result.labels.age")})," ",eP.q1]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{children:H("quizzMyLife.result.labels.situations")})," ",eP.q2.map(e=>H("quizzMyLife.result.summary.situations.".concat(e))).join(", ")
1]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{children:H("quizzMyLife.result.labels.savings")})," ",H("quizzMyLife.result.summary.savings.".concat(eP.q3))]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("strong",{children:H("quizzMyLife.result.labels.insurance")})," ",H("quizzMyLife.result.summary.insurance.".concat(eP.q4))]})]}),(0,l.jsx)("p",{className:"mt-2 max-w-2xl text-lg",children:H("quizzMyLife.result.timelineIntro")})]})}),(0,l.jsxs)(s.m,{className:"max-w-8xl",children:[!ee&&(0,l.jsxs)("p",{className:"text-foreground mb-20 text-center text-xl",children:[H("quizzMyLife.intro.line1"),(0,l.jsx)("br",{})," ",H("quizzMyLife.intro.line2")]}),!Q&&!ee&&(0,l.jsxs)("div",{className:"mb-16 grid gap-32 md:grid-cols-3 md:gap-4",children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("div",{className:"relative mx-auto flex max-w-[21.25rem] flex-col items-center justify-start gap-8 text-center md:mx-0 md:max-w-none",children:[(0,l.jsx)("span",{className:"bg-accent mb-6 flex h-[6.25rem] w-[6.25rem] items-center justify-center rounded-full text-5xl text-white",children:"01"}),(0,l.jsx)("p",{className:"text-foreground text-center text-lg",children:H("quizzMyLife.steps.step1")})]}),(0,l.jsx)(o.k,{className:"text-accent absolute -bottom-16 right-[calc(50%-1.8rem)] w-[4rem] rotate-90 md:right-[-3.84rem] md:top-12 md:w-[6rem] md:rotate-0 lg:w-[7.688rem]"})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("div",{className:"relative mx-auto flex max-w-44 flex-col items-center justify-start gap-8 text-center md:mx-0 md:max-w-none",children:[(0,l.jsx)("span",{className:"bg-accent mb-6 flex h-[6.25rem] w-[6.25rem] items-center justify-center rounded-full text-5xl text-white",children:"02"}),(0,l.jsx)("p",{className:"text-foreground text-center text-lg",children:H("quizzMyLife.steps.step2")})]}),(0,l.jsx)(o.k,{className:"text-accent absolute -bottom-16 right-[calc(50%-1.8rem)] w-[4rem] rotate-90 md:right-[-3.84rem] md:top-12 md:w-[6rem] md:rotate-0 lg:w-[7.688rem]"})]}),(0,l.jsx)("div",{className:"relative",children:(0,l.jsxs)("div",{className:"relative mx-auto flex max-w-44 flex-col items-center justify-start gap-8 text-center md:mx-0 md:max-w-none",children:[(0,l.jsx)("span",{className:"bg-accent mb-6 flex h-[6.25rem] w-[6.25rem] items-center justify-center rounded-full text-5xl text-white",children:"03"}),(0,l.jsx)("p",{className:"text-foreground text-center text-lg",children:H("quizzMyLife.steps.step3")})]})})]}),!Q&&!ee&&(0,l.jsx)("div",{className:"flex justify-center pt-10",children:(0,l.jsx)(c.SanityButton,{type:"button",variant:"default",icon:"arrow-right",onClick:()=>{et(!0)},text:H("quizzMyLife.buttons.start"),size:"default",href:"#",showButton:"always"})}),!Q&&(0,l.jsx)(p.lV,{...eg,children:(0,l.jsx)("form",{id:"quizz-my-life-form",onSubmit:eg.handleSubmit(ef),className:(0,g.cn)("mx-auto w-full max-w-[53.5rem] scroll-mt-24 space-y-6 pt-20",!ee&&"hidden"),children:(0,l.jsxs)("div",{className:"bg-card rounded-4xl relative w-full p-1 pb-10 shadow-lg",children:[(0,l.jsx)(u.R2,{position:"outside",theme:"gray",className:"top-[-3.25rem] lg:top-[-3.25rem]",children:H("quizzMyLife.quizzLabel")}),(0,l.jsx)("div",{className:"flex w-full items-center justify-center gap-2 px-5 pb-5 pt-8 md:px-10",children:ek.map((e,t)=>(0,l.jsx)("div",{className:(0,g.cn)("h-1 w-1/5 rounded-full transition-all duration-300 ease-in-out",G===t||G>t?"bg-accent":"bg-[#C4C4C4]")},e.name))}),(0,l.jsx)("div",{className:"px-6 pb-10",children:ek.map((e,t)=>(0,l.jsx)(p.zB,{control:eg.control,name:e.name,render:n=>{let{field:a}=n;return(0,l.jsxs)(p.eI,{className:(0,g.cn)({hidden:G!==t}),children:[(0,l.jsxs)("div",{className:"w-full pb-8 pt-5 text-center",children:[(0,l.jsx)("p",{className:"m-0 text-xl font-bold",children:e.question}),e.allowMultiple&&(0,l.jsx)("p",{className:"m-0 mt-2 text-sm text-gray-700",children:H("quizzMyLife.multipleAnswerHint")})]}),(0,l.jsxs)("div",{className:"mx-auto w-full max-w-[35rem]",children:[(0,l.jsx)(p.MJ,{children:e.allowMultiple?(0,l.jsx)("div",{className:"flex flex-col items-center gap-2",children:e.options.map(e=>{let t=e.value;return(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsx)(x.m,{id:e.value,checked:Array.isArray(a.value)&&a.value.includes(t),onCheckedChange:e=>{let n=Array.isArray(a.value)?a.value:[];e?a.onChange([...n,t]):a.onChange(n.filter(e=>e!==t))},className:"peer absolute right-4 top-[calc(50%-0.75rem)] z-20"}),(0,l.jsx)(p.lR,{htmlFor:e.value,className:(0,g.cn)("bg-card text-foreground hover:text-background hover:bg-accent relative block inline-flex w-full cursor-pointer rounded-full border px-4 px-5 py-4 text-left text-sm font-bold shadow-[inset_0_0_0_0.02rem_rgba(0,0,0,0.2)] transition-colors hover:shadow-[inset_15_195_255_0.05rem_rgba(0,0,0,1)]","peer-data-[state=checked]:bg-accent peer-data-[state=checked]:text-primary-foreground peer-data-[state=checked]:shadow-[inset_15_195_255_0.05rem_rgba(0,0,0,1)]"),children:e.label})]},e.value)})}):(0,l.jsx)(h.z6,{onValueChange:a.onChange,defaultValue:a.value,className:"gap-2",children:e.options.map(e=>(0,l.jsxs)("div",{className:"relative w-full cursor-pointer",children:[(0,l.jsx)(h.MY,{id:e.value,value:e.value,className:"peer absolute right-4 top-[calc(50%-0.75rem)] z-20"}),(0,l.jsx)(p.lR,{htmlFor:e.value,className:(0,g.cn)("bg-card text-foreground hover:text-background hover:bg-accent relative block inline-flex w-full cursor-pointer rounded-full border px-4 px-5 py-4 text-left text-sm font-bold shadow-[inset_0_0_0_0.02rem_rgba(0,0,0,0.2)] transition-colors hover:shadow-[inset_15_195_255_0.05rem_rgba(0,0,0,1)]","peer-data-[state=checked]:bg-accent peer-data-[state=checked]:text-primary-foreground peer-data-[state=checked]:shadow-[inset_15_195_255_0.05rem_rgba(0,0,0,1)]"),children:e.label})]},e.value))})}),(0,l.jsx)(p.C5,{})]})]},e.name)}},e.name))}),G<ek.length-1?(0,l.jsxs)("div",{className:"flex justify-center gap-5",children:[G>0&&(0,l.jsxs)(m.$,{variant:"default",type:"button",onClick:function(){Y(G-1)},className:(0,g.cn)("group/button focus-visible:ring-ring relative flex items-center justify-center gap-2 overflow-hidden rounded-full py-2 pl-14 pr-5 text-sm font-bold leading-5 shadow-[inset_0_0_0_0.05rem_rgba(0,0,0,1)] transition-colors hover:pl-5 hover:pr-14 focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none md:leading-6","text-primary bg-primary-foreground hover:text-primary-foreground hover:bg-primary transition-all duration-300 ease-in-out"),children:[(0,l.jsx)("span",{className:"text-background bg-primary group-hover/button:text-primary group-hover/button:bg-primary-foreground absolute right-[calc(100%-2.2rem)] top-[calc(50%-1rem)] flex h-8 w-8 items-center justify-center rounded-full transition-all duration-300 ease-in-out group-hover/button:right-1",children:eu?(0,l.jsx)(w.A,{className:"h-5 w-5 animate-spin"}):(0,l.jsx)(N.A,{className:"h-5 w-5"})}),(0,l.jsx)("span",{className:"relative z-10",children:H("quizzMyLife.buttons.previous")})]}),(0,l.jsxs)(m.$,{variant:"default",type:"button",onClick:function(){Y(G+1)},className:(0,g.cn)("group/button focus-visible:ring-ring relative flex items-center justify-center gap-2 overflow-hidden rounded-full py-2 pl-5 pr-14 text-sm font-bold leading-5 shadow-[inset_0_0_0_0.05rem_rgba(0,0,0,1)] transition-colors hover:pl-14 hover:pr-5 focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none md:leading-6","bg-primary text-primary-foreground hover:bg-primary-foreground hover:text-primary transition-all duration-300 ease-in-out"),children:[(0,l.jsx)("span",{className:"bg-background text-primary group-hover/button:bg-primary group-hover/button:text-primary-foreground absolute right-1 top-[calc(50%-1rem)] flex h-8 w-8 items-center justify-center rounded-full transition-all duration-300 ease-in-out group-hover/button:right-[calc(100%-2.2rem)]",children:eu?(0,l.jsx)(w.A,{className:"h-5 w-5 animate-spin"}):(0,l.jsx)(_.A,{className:"h-5 w-5"})}),(0,l.jsx)("span",{className:"relative z-10",children:H("quizzMyLife.buttons.next")})]})]}):(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsxs)(m.$,{variant:"outline",type:"button",onClick:()=>eg.handleSubmit(ef)(),className:(0,g.cn)("group/button focus-visible:ring-ring relative flex items-center justify-center gap-2 overflow-hidden rounded-full py-2 pl-5 pr-14 text-sm font-bold leading-5 shadow-[inset_0_0_0_0.05rem_rgba(15,195,255,1)] transition-colors hover:pl-14 hover:pr-5 focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none md:leading-6","bg-accent text-primary-foreground hover:bg-primary-foreground hover:text-accent transition-all duration-300 ease-in-out"),children:[(0,l.jsx)("span",{className:"bg-background text-accent group-hover/button:bg-accent group-hover/button:text-primary-foreground absolute right-1 top-[calc(50%-1rem)] flex h-8 w-8 items-center justify-center rounded-full transition-all duration-300 ease-in-out group-hover/button:right-[calc(100%-2.2rem)]",children:eu?(0,l.jsx)(w.A,{className:"h-5 w-5 animate-spin"}):(0,l.jsx)(_.A,{className:"h-5 w-5"})}),(0,l.jsx)("span",{className:"relative z-10",children:H("common.buttons.submit")})]})})]})})})]}),(0,l.jsxs)("div",{className:(0,g.cn)(!Q&&"hidden"),children:[en&&(0,l.jsx)("div",{className:"bg-background fixed inset-0 z-[80] flex items-center justify-center backdrop-blur-sm",children:(0,l.jsxs)(v.P.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.35},className:"mx-auto flex w-full max-w-[35rem] flex-col items-center justify-center px-6",children:[(0,l.jsx)("div",{className:"relative mx-auto flex w-full max-w-[12rem] flex-col items-center justify-center",children:(0,l.jsx)(r.a,{className:"text-foreground mx-auto h-auto w-full max-w-56 lg:max-w-80",speed:.8},"r-animation")}),(0,l.jsx)("p",{className:"mt-6 text-center text-lg font-bold",children:H("quizzMyLife.result.loaderText")})]})}),(0,l.jsx)("div",{id:"images-scroll",className:(0,g.cn)("w-full transition-opacity duration-300 ease-in-out",en?"opacity-0":"opacity-100"),children:(0,l.jsx)("div",{ref:eq,className:"relative",style:{height:eM},children:(0,l.jsxs)("div",{ref:eD,className:"sticky top-[6rem] flex h-[calc(100vh-6rem)] items-end overflow-hidden pl-[15vw] lg:top-[12rem] lg:h-[calc(100vh-12rem)]",children:[(0,l.jsx)(j.N,{children:eB&&eU&&eQ.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.5,ease:[.4,0,.2,1]},className:(0,g.cn)("pointer-events-none bottom-[8px] left-1/2 z-40 hidden h-3 w-3 -translate-x-1/2 rounded-full bg-[#252525] md:block",e$?"absolute":"fixed")}),(0,l.jsxs)(v.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5,ease:[.4,0,.2,1]},className:"pointer-events-none absolute left-1/2 top-4 z-30 flex max-w-[92vw] -translate-x-1/2 flex-col items-center gap-3 md:top-0",children:[(0,l.jsx)(v.P.div,{layout:!0,layoutId:"caption-bubble-1",transition:{layout:{duration:.6,ease:[.4,0,.2,1]}},style:{willChange:"width, height"},className:"bg-accent/50 rounded-full px-5 py-3 text-left text-lg",children:(0,l.jsx)(j.N,{mode:"wait",children:(0,l.jsx)(v.P.div,{layout:!0,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,transition:{duration:.3,ease:[.4,0,.2,1]}},transition:{layout:{duration:.6,ease:[.4,0,.2,1]},opacity:{duration:.25,ease:[.4,0,.2,1]}},className:"flex items-center justify-start overflow-hidden",children:(0,l.jsx)("p",{className:"text-foreground m-0 whitespace-nowrap text-left text-lg",children:(null==(t=eQ[eO])?void 0:t.label)||""})},eO)})}),(0,l.jsx)(v.P.div,{layout:!0,layoutId:"caption-bubble-2",transition:{layout:{duration:.6,ease:[.4,0,.2,1]}},style:{willChange:"width, height"},className:"min-w-[340px] rounded-lg border border-[#e6e6e6] bg-[#f9f9f9] px-5 py-3 text-left text-lg md:max-w-[340px]",children:(0,l.jsx)(j.N,{mode:"wait",children:(0,l.jsx)(v.P.div,{layout:!0,initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0,transition:{duration:.3,ease:[.4,0,.2,1]}},transition:{layout:{duration:.6,ease:[.4,0,.2,1]},opacity:{duration:.25,ease:[.4,0,.2,1]}},className:"flex items-center justify-start overflow-hidden",children:(0,l.jsx)("p",{className:"text-foreground m-0 max-w-2xl text-left text-base",children:(null==(n=eQ[eO])?void 0:n.message)||""})},eO)})})]})]})}),(0,l.jsxs)(v.P.div,{ref:eI,style:{x:eK},className:"flex items-end gap-0",children:[(0,l.jsxs)("div",{ref:eV,className:"relative flex w-max flex-shrink-0 items-end border-b-4 border-[#252525] pb-[24px]",children:[(0,l.jsx)("div",{className:"slideItem group relative flex max-h-[min(600px,45vh)] w-max cursor-pointer items-end overflow-hidden",children:(0,l.jsx)(k.default,{src:eT,alt:H("quizzMyLife.result.primeiraImageAlt"),width:parseInt("544"),height:parseInt("600"),sizes:"(max-width: 768px) 400px, 600px",className:"h-auto max-h-[min(600px,45vh)] object-contain"})}),(0,l.jsx)("div",{className:"absolute bottom-[20px] left-0 right-0 h-[4px] bg-[#252525]"})]}),K.map((e,t)=>(0,l.jsxs)("div",{ref:e=>{eZ.current[t]=e},className:"relative flex w-max flex-shrink-0 items-end border-b-4 border-[#252525] pb-[24px]",children:[(0,l.jsx)("div",{className:"slideItem group relative flex max-h-[min(600px,45vh)] cursor-pointer items-end overflow-hidden",children:(0,l.jsx)(k.default,{src:e.image,alt:e.label,width:parseInt(e.width),height:parseInt(e.height),sizes:"(max-width: 768px) 400px, 600px",className:"h-auto max-h-[min(600px,45vh)] object-contain"})}),(0,l.jsx)("div",{className:"absolute bottom-[20px] left-0 right-0 h-[4px] bg-[#252525]"})]},"".concat(e.image,"-").concat(t))),(0,l.jsx)("div",{ref:eA,className:"slideItem group relative flex max-h-[min(600px,45vh)] w-screen flex-shrink-0 cursor-pointer self-center overflow-hidden pb-0 pt-10 lg:w-[34rem] xl:w-[38rem]",children:(0,l.jsxs)("div",{className:"mx-auto flex w-full flex-col items-center justify-center gap-7 md:px-12",children:[(0,l.jsx)(u.DZ,{className:"text-foreground h3 m-0 text-center font-bold",children:H("quizzMyLife.result.ctaSlideHeading")}),(0,l.jsx)("span",{className:"bg-primary text-primary-foreground flex items-center gap-2 rounded-full p-2",children:(0,l.jsx)(S.A,{className:"h-5 w-5"})})]})})]})]})})}),(0,l.jsx)("div",{className:(0,g.cn)("bg-card mt-16 w-full py-16 lg:mt-24 lg:py-24",en&&"hidden"),children:(0,l.jsxs)(s.m,{children:[(0,l.jsxs)(u.DZ,{className:"text-center font-bold uppercase",children:[H("quizzMyLife.result.cardGridHeadingLine1"),(0,l.jsx)("br",{}),H("quizzMyLife.result.cardGridHeadingLine2")]}),(0,l.jsx)("div",{className:(0,g.cn)("mt-10 flex flex-wrap items-start justify-center gap-6"),children:eC.map(e=>(0,l.jsx)(d.S,{title:e.title,richText:e.richText,button:e.buttons?e.buttons[0]:e.buttons&&e.buttons.length>1?e.buttons[1]:[],hasBorder:!1,underline:!1,className:"h-auto w-full self-stretch bg-white/50 sm:max-w-[48%] lg:max-w-[18rem] xl:max-w-[22rem] 2xl:max-w-[26rem]"},e._id))}),(0,l.jsx)("div",{className:"flex justify-center pt-10",children:(0,l.jsx)(U,{stories:eC&&0!==eC.length?eC.map(e=>{let t=null;return e.buttons?t="".concat(W).concat(e.buttons[0].href):e.buttons&&e.buttons.length>1&&(t="".concat(W).concat(e.buttons[1].href)),{href:t,title:e.title,description:e.plainRichText}}):(console.error("Quiz results not found"),[])})})]})})]})]})}},23963:(e,t,n)=>{n.d(t,{StatsDefault:()=>x});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(9211),o=n(77483),c=n(3682),d=n(67928),u=n(94366),m=n(34780);function x(e){var t,n;let m,x,h,g,f,y,b,v,j,w,N,_,S,z,k,P=(0,a.c)(35),{title:C,description:T,stats:q,buttons:I,eyebrow:D,eyebrowPosition:M,disclaimers:L,sectionParameters:B}=e;if(!q||!q.length)return null;let R=null==B?void 0:B.sectionId;P[0]!==D||P[1]!==M?(m=(0,l.jsx)(o.R2,{position:M,children:D}),P[0]=D,P[1]=M,P[2]=m):m=P[2],P[3]!==C?(x=C&&(0,l.jsx)(o.DZ,{className:"h4 text-center font-bold uppercase",children:(0,l.jsx)(c.default,{direction:"top",animateBy:"words",rootMargin:"-50px",text:C,className:"justify-center"})}),P[3]=C,P[4]=x):x=P[4],P[5]===Symbol.for("react.memo_cache_sentinel")?(h={opacity:.5,y:20},g={opacity:1,y:0},f={duration:1},y={once:!0},P[5]=h,P[6]=g,P[7]=f,P[8]=y):(h=P[5],g=P[6],f=P[7],y=P[8]),P[9]!==T?(b=(0,l.jsx)(u.P.div,{initial:h,whileInView:g,transition:f,viewport:y,children:(0,l.jsx)(o.hj,{richText:T})}),P[9]=T,P[10]=b):b=P[10],P[11]!==q?(v=q.map(p),P[11]=q,P[12]=v):v=P[12],P[13]!==v?(j=(0,l.jsx)("div",{className:"my-16 w-full",children:(0,l.jsx)("div",{className:"flex flex-col items-stretch justify-start md:flex-row",children:v})}),P[13]=v,P[14]=j):j=P[14],P[15]!==L?(w=(null==L?void 0:L.disclaimerTop)&&(0,l.jsx)("div",{className:"pt-8 lg:pt-16",children:(0,l.jsx)(s.s,{richText:null!=(t=L.disclaimerTop)?t:[],className:"text-base"})}),P[15]=L,P[16]=w):w=P[16];let V=(null==L?void 0:L.disclaimerTop)?"pt-8":"pt-8 lg:pt-16";return P[17]!==V?(N=(0,d.cn)("mt-8 items-center justify-center",V),P[17]=V,P[18]=N):N=P[18],P[19]!==I||P[20]!==N?(_=(0,l.jsx)(r.SanityButtons,{buttons:I,className:N}),P[19]=I,P[20]=N,P[21]=_):_=P[21],P[22]!==L?(S=(null==L?void 0:L.disclaimerBottom)&&(0,l.jsx)("div",{className:"no_marging_p mt-8",children:(0,l.jsx)(s.s,{richText:null!=(n=L.disclaimerBottom)?n:[],className:"text-popover text-sm"})}),P[22]=L,P[23]=S):S=P[23],P[24]!==j||P[25]!==w||P[26]!==_||P[27]!==S||P[28]!==m||P[29]!==x||P[30]!==b?(z=(0,l.jsxs)(i.m,{children:[m,x,b,j,w,_,S]}),P[24]=j,P[25]=w,P[26]=_,P[27]=S,P[28]=m,P[29]=x,P[30]=b,P[31]=z):z=P[31],P[32]!==R||P[33]!==z?(k=(0,l.jsx)("section",{id:R,className:"bg-background text-foreground relative py-12 lg:py-24",children:z}),P[32]=R,P[33]=z,P[34]=k):k=P[34],k}function p(e,t){return(0,l.jsx)(m.StatItem,{stat:e,variant:"default",index:t},e._id)}},24603:(e,t,n)=>{n.d(t,{StoryCards:()=>u});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(9211),o=n(34703),c=n(77483),d=n(94366);function u(e){let t,n,s,o,u,x,p,h,g,f,y,b=(0,a.c)(23),{title:v,richText:j,eyebrow:w,eyebrowPosition:N,stories:_,buttons:S}=e;return b[0]!==w||b[1]!==N?(t=w&&(0,l.jsx)(c.R2,{position:N,children:w}),b[0]=w,b[1]=N,b[2]=t):t=b[2],b[3]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:.5,y:20,filter:"blur(0.5rem)"},s={opacity:1,y:0,filter:"blur(0rem)"},o={duration:1},u={once:!0},b[3]=n,b[4]=s,b[5]=o,b[6]=u):(n=b[3],s=b[4],o=b[5],u=b[6]),b[7]!==v?(x=(0,l.jsx)(d.P.div,{initial:n,whileInView:s,transition:o,viewport:u,children:(0,l.jsx)(c.DZ,{className:"gradient-text mx-auto mb-0 max-w-3xl uppercase",children:v})}
1),b[7]=v,b[8]=x):x=b[8],b[9]!==j?(p=j&&(0,l.jsx)(c.hj,{richText:j,className:"mx-auto max-w-3xl"}),b[9]=j,b[10]=p):p=b[10],b[11]!==t||b[12]!==x||b[13]!==p?(h=(0,l.jsxs)("div",{className:"text-center",children:[t,x,p]}),b[11]=t,b[12]=x,b[13]=p,b[14]=h):h=b[14],b[15]!==_?(g=(null==_?void 0:_.length)&&(0,l.jsx)("div",{className:"mt-6 grid grid-cols-1 gap-8 md:gap-12 lg:mt-20",children:_.map(m)}),b[15]=_,b[16]=g):g=b[16],b[17]!==S?(f=S&&S.length>0&&(0,l.jsx)("div",{className:"md:12 mt-6 flex justify-center lg:mt-20",children:(0,l.jsx)(r.SanityButtons,{buttons:S})}),b[17]=S,b[18]=f):f=b[18],b[19]!==f||b[20]!==h||b[21]!==g?(y=(0,l.jsx)("section",{className:"bg-card relative py-12 lg:py-24",children:(0,l.jsxs)(i.m,{children:[h,g,f]})}),b[19]=f,b[20]=h,b[21]=g,b[22]=y):y=b[22],y}function m(e){return(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-2",children:[e.image&&(0,l.jsx)("div",{className:"rounded-4xl order-1 aspect-[350/368] w-full overflow-hidden sm:aspect-[696/368] md:aspect-[528/400] lg:order-2",children:(0,l.jsx)(o.s,{image:e.image,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-105",sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"})}),(0,l.jsxs)("div",{className:"rounded-4xl bg-background order-2 flex flex-col justify-center overflow-hidden px-6 py-12 md:px-12 lg:order-1",children:[(0,l.jsx)(c.DZ,{as:"h3",className:"mb-2 text-xl font-bold",children:e.title}),e.subtitle&&(0,l.jsx)("p",{className:"text-muted-foreground text-sm font-semibold",children:e.subt
1itle}),e.richText&&(0,l.jsx)("div",{className:"prose-p:mb-0 text-balance",children:(0,l.jsx)(s.s,{richText:e.richText,className:""})}),e.buttons&&e.buttons.length>0&&(0,l.jsx)(r.SanityButtons,{buttons:e.buttons,className:"mt-auto",buttonClassName:"w-full"})]})]},e._id)}},25612:(e,t,n)=>{n.d(t,{CoverageDefault:()=>g});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(34703),o=n(77483),c=n(58730),d=n(94366),u=n(79142),m=n(25438),x=n(89908),p=n(6050),h=n(12465);function g(e){var t,n;let g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I,D,M,L,B,R,V,A,E,F,Z,$,H,O,G,U,Y,W,Q,J,K,X,ee=(0,a.c)(81),{title:et,eyebrow:en,eyebrowPosition:el,richText:ea,image:ei,items:es,disclaimers:er,disclaimer:eo,sectionParameters:ec}=e,{t:ed}=(0,h.Bd)(),eu=(0,c.a)(1024),[em,ex]=(0,p.useState)(!1);if(ee[0]!==eu?(g=()=>{ex(null!=eu&&eu)},f=[eu],ee[0]=eu,ee[1]=g,ee[2]=f):(g=ee[1],f=ee[2]),(0,p.useEffect)(g,f),!es||0===es.length)return null;ee[3]!==ed?(y=ed("coverage.default.label.sim"),ee[3]=ed,ee[4]=y):y=ee[4],ee[5]!==y?(b={icon:u.A,label:y,className:"text-background bg-foreground"},ee[5]=y,ee[6]=b):b=ee[6],ee[7]!==ed?(v=ed("coverage.default.label.oferta"),ee[7]=ed,ee[8]=v):v=ee[8],ee[9]!==v?
1(j={icon:m.A,label:v,className:"text-background bg-[#75C5E0]"},ee[9]=v,ee[10]=j):j=ee[10],ee[11]!==ed?(w=ed("coverage.default.label.opcional"),ee[11]=ed,ee[12]=w):w=ee[12],ee[13]!==w?(N={icon:x.A,label:w,className:"text-foreground bg-background"},ee[13]=w,ee[14]=N):N=ee[14],ee[15]!==ed?(_=ed("coverage.default.label.sem-limite"),ee[15]=ed,ee[16]=_):_=ee[16],ee[17]!==_?(S={icon:x.A,label:_,className:"text-background bg-foreground"},ee[17]=_,ee[18]=S):S=ee[18],ee[19]!==ed?(z=ed("coverage.default.label.custom"),ee[19]=ed,ee[20]=z):z=ee[20],ee[21]!==z?(k={icon:x.A,label:z,className:"text-background bg-[#75C5E0]"},ee[21]=z,ee[22]=k):k=ee[22],ee[23]===Symbol.for("react.memo_cache_sentinel")?(P={icon:x.A,label:"-",className:"text-background bg-[#75C5E0]"},ee[23]=P):P=ee[23],ee[24]!==S||ee[25]!==k||ee[26]!==b||ee[27]!==j||ee[28]!==N?(C={sim:b,oferta:j,opcional:N,"sem-limite":S,custom:k,empty:P},ee[24]=S,ee[25]=k,ee[26]=b,ee[27]=j,ee[28]=N,ee[29]=C):C=ee[29];let ep=C,eh=null==ec?void 0:ec.sectionId;if(ee[30]!==en||ee[31]!==el?(T=(0,l.jsx)(o.R2,{position:el,children:en}),ee[30]=en,ee[31]=el,ee[32]=T):T=ee[32],ee[33]===Symbol.for("react.memo_cache_sentinel")?(q={opacity:.5,y:20,filter:"blur(0.5rem)"},I={opacity:1,y:0,filter:"blur(0rem)"},D={duration:1},M={once:!0},ee[33]=q,ee[34]=I,ee[35]=D,ee[36]=M):(q=ee[33],I=ee[34],D=ee[35],M=ee[36]),ee[37]!==et?(L=(0,l.jsx)(d.P.div,{initial:q,whileInView:I,transition:D,viewport:M,children:(0,l.jsx)(o.DZ,{className:"gradient-text mx-auto max-w-3xl text-center font-bold uppercase",children:et})}),ee[37]=et,ee[38]=L):L=ee[38],ee[39]===Symbol.for("react.memo_cache_sentinel")?(B={opacity:.5,y:20,filter:"blur(0.5rem)"},R={opacity:1,y:0,filter:"blur(0rem)"},V={duration:1,delay:.3},A={once:!0},ee[39]=B,ee[40]=R,ee[41]=V,ee[42]=A):(B=ee[39],R=ee[40],V=ee[41],A=ee[42]),ee[43]!==ea?(E=(0,l.jsx)(d.P.div,{initial:B,whileInView:R,transition:V,viewport:A,children:(0,l.jsx)(o.hj,{richText:ea,className:"mb-14 text-center text-base sm:text-lg"})}),ee[43]=ea,ee[44]=E):E=ee[44],ee[45]!==ei||ee[46]!==em?(F=ei&&!em&&(0,l.jsx)("div",{className:"flex items-center justify-center lg:col-span-2",children:(0,l.jsx)("div",{className:"rounded-4xl relative h-full w-full overflow-hidden",children:(0,l.jsx)(r.s,{image:ei,className:"h-full w-full object-cover"})})}),ee[45]=ei,ee[46]=em,ee[47]=F):F=ee[47],ee[48]!==es||ee[49]!==ep){let e;ee[51]!==ep?(e=(e,t)=>{var n;let a=null!=(n=e.label?ep[e.label]:ep.empty)?n:ep.empty;return a?(0,l.jsxs)("div",{className:"grid grid-cols-[auto_10rem] sm:flex items-center gap-3",children:[(0,l.jsx)("span",{className:"border-border flex-1 border-b text-sm font-bold",children:e.title})," ",(0,l.jsxs)("span",{className:"w-full max-w-44 rounded-2xl p-2 text-center text-sm font-semibold ".concat(a.className),children:["custom"===e.label?e.value:a.label,e.disclaimerSymbol&&(0,l.jsx)("sup",{className:"pl-1 text-xs font-normal",children:e.disclaimerSymbol})]})]},t):null},ee[51]=ep,ee[52]=e):e=ee[52],Z=es.map(e),ee[48]=es,ee[49]=ep,ee[50]=Z}else Z=ee[50];return ee[53]!==Z?($=(0,l.jsx)("div",{className:"bg-card rounded-4xl flex flex-col gap-3 px-5 md:px-10 py-12",children:Z}),ee[53]=Z,ee[54]=$):$=ee[54],ee[55]!==er?(H=(null==er?void 0:er.disclaimerTop)&&(0,l.jsx)("div",{className:"mt-8",children:(0,l.jsx)(s.s,{richText:null!=(t=er.disclaimerTop)?t:[],className:"text-muted-foreground text-sm"})}),ee[55]=er,ee[56]=H):H=ee[56],ee[57]!==$||ee[58]!==H?(O=(0,l.jsxs)("div",{className:"lg:col-span-3",children:[$,H]}),ee[57]=$,ee[58]=H,ee[59]=O):O=ee[59],ee[60]!==er?(G=(null==er?void 0:er.disclaimerBottom)&&(0,l.jsx)("div",{className:"w-full text-center text-[#5f5f5f] lg:col-span-5 lg:mt-12",children:(0,l.jsx)(s.s,{richText:null!=(n=er.disclaimerBottom)?n:[],className:"text-sm"})}),ee[60]=er,ee[61]=G):G=ee[61],ee[62]!==F||ee[63]!==O||ee[64]!==G?(U=(0,l.jsxs)("div",{className:"grid gap-x-12 gap-y-12 lg:grid-cols-5 lg:gap-x-6 lg:gap-y-0",children:[F,O,G]}),ee[62]=F,ee[63]=O,ee[64]=G,ee[65]=U):U=ee[65],ee[66]===Symbol.for("react.memo_cache_sentinel")?(Y=(0,l.jsx)("div",{}),W=(0,l.jsx)("div",{}),ee[66]=Y,ee[67]=W):(Y=ee[66],W=ee[67]),ee[68]!==eo?(Q=eo&&(0,l.jsx)("div",{className:"mt-8 lg:col-span-3",children:(0,l.jsx)(s.s,{richText:eo,className:"text-xs"})}),ee[68]=eo,ee[69]=Q):Q=ee[69],ee[70]!==Q?(J=(0,l.jsxs)("div",{className:"grid gap-x-12 gap-y-12 lg:grid-cols-5 lg:gap-x-6 lg:gap-y-0",children:[Y,W,Q]}),ee[70]=Q,ee[71]=J):J=ee[71],ee[72]!==T||ee[73]!==L||ee[74]!==E||ee[75]!==U||ee[76]!==J?(K=(0,l.jsxs)(i.m,{children:[T,
1L,E,U,J]}),ee[72]=T,ee[73]=L,ee[74]=E,ee[75]=U,ee[76]=J,ee[77]=K):K=ee[77],ee[78]!==eh||ee[79]!==K?(X=(0,l.jsx)("section",{id:eh,className:"bg-background relative py-12 lg:py-24",children:K}),ee[78]=eh,ee[79]=K,ee[80]=X):X=ee[80],X}},28349:(e,t,n)=>{n.d(t,{QuizzesDefault:()=>x});var l=n(58986),a=n(34978),i=n(15177),s=n(93406),r=n(9211),o=n(77483),c=n(94103),d=n(38280),u=n(67928),m=n(94366);function x(e){let t,n,i,x,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q=(0,a.c)(37),{title:I,eyebrow:D,eyebrowPosition:M,quizzes:L,richText:B,buttons:R,sectionStyles:V,sectionParameters:A}=e;if(!L||0===L.length)return null;let E=null==A?void 0:A.sectionId;return q[0]!==V?(t=(0,u.cn)("relative w-full overflow-x-clip py-12 lg:py-24",(0,c.aU)(V)),q[0]=V,q[1]=t):t=q[1],q[2]!==D||q[3]!==M?(n=(0,l.jsx)(o.R2,{position:M,children:D}),q[2]=D,q[3]=M,q[4]=n):n=q[4],q[5]===Symbol.for("react.memo_cache_sentinel")?(i={opacity:.5,y:20,filter:"blur(0.5rem)"},x={opacity:1,y:0,filter:"blur(0rem)"},h={duration:1},g={once:!0},q[5]=i,q[6]=x,q[7]=h,q[8]=g):(i=q[5],x=q[6],h=q[7],g=q[8]),q[9]!==I?(f=(0,l.jsx)(m.P.div,{initial:i,whileInView:x,transition:h,viewport:g,children:(0,l.jsx)(o.DZ,{className:"h3 gradient-text mx-auto max-w-3xl text-center font-bold uppercase",children:I})}),q[9]=I,q[10]=f):f=q[10],q[11]===Symbol.for("react.memo_cache_sentinel")?(j={opacity:.5,y:20,filter:"blur(0.5rem)"},y={opacity:1,y:0,filter:"blur(0rem)"},b={duration:1,delay:.3},v={once:!0},q[11]=y,q[12]=b,q[13]=v,q[14]=j):(y=q[11],b=q[12],v=q[13],j=q[14]),q[15]!==B?(w=(0,l.jsx)(m.P.div,{initial:j,whileInView:y,transition:b,viewport:v,children:(0,l.jsx)(o.hj,{richText:B,className:"mb-14 text-center text-base sm:text-lg"})}),q[15]=B,q[16]=w):w=q[16],q[17]===Symbol.for("react.memo_cache_sentinel")?(N={loop:!0},q[17]=N):N=q[17],q[18]!==L?(_=L.map(p),q[18]=L,q[19]=_):_=q[19],q[20]!==_?(S=(0,l.jsx)(d.CarouselContent,{children:_}),q[20]=_,q[21]=S):S=q[21],q[22]===Symbol.for("react.memo_cache_sentinel")?(z=(0,l.jsx)(d.ZZ,{className:"relative mt-20",variant:"blue"}),q[22]=z):z=q[22],q[23]!==S?(k=(0,l.jsx)("div",{className:"mt-14 transition-opacity data-[pending=true]:animate-pulse data-[pending=true]:opacity-50",children:(0,l.jsx)("div",{className:"w-full",children:(0,l.jsxs)(d.Carousel,{spacingMobile:"3",spacingTablet:"4",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:!0,dots:"always",align:"start",loop:!0,opts:N,arrowsPosition:"bottom",arrows:"always",overflow:"visible",autoWidth:!0,children:[S,z]})})}),q[23]=S,q[24]=k):k=q[24],q[25]!==R?(P=R&&R.length>0&&(0,l.jsx)(r.SanityButtons,{buttons:R,className:"flex justify-center pt-16"}),q[25]=R,q[26]=P):P=q[26],q[27]!==w||q[28]!==k||q[29]!==P||q[30]!==n||q[31]!==f?(C=(0,l.jsxs)(s.m,{children:[n,f,w,k,P]}),q[27]=w,q[28]=k,q[29]=P,q[30]=n,q[31]=f,q[32]=C):C=q[32],q[33]!==E||q[34]!==t||q[35]!==C?(T=(0,l.jsx)("section",{id:E,className:t,children:C}),q[33]=E,q[34]=t,q[35]=C,q[36]=T):T=q[36],T}function p(e){return(0,l.jsx)(d.CarouselItem,{className:"max-w-[22.5rem] sm:max-w-[27.5rem]",children:(0,l.jsx)(i.e,{image:e.image,title:e.title,eyebrow:"Quiz",buttonTitle:"Ver Quiz",slug:e.slug})},e._id)}},30312:(e,t,n)=>{n.d(t,{BlogPostsDefault:()=>w});var l=n(58986),a=n(34978),i=n(82656),s=n(15177),r=n(93406),o=n(9211),c=n(77483),d=n(94103),u=n(38280),m=n(67928),x=n(94366),p=n(12465),h=n(6746),g=n(56995),f=n.n(g),y=n(71583),b=n(6050);function v(e){let t,n,i,s,r,o,c,d,u,x,g,v,w,N,_,S=(0,a.c)(38),{categories:z,children:k,showMenu:P}=e,{t:C}=(0,p.Bd)(),[T,q]=(0,b.useTransition)();S[0]===Symbol.for("react.memo_cache_sentinel")?(t=y.tU.withDefault("").withOptions({startTransition:q,shallow:!1}),S[0]=t):t=S[0];let[I,D]=(0,y.ZA)("category",t);S[1]===Symbol.for("react.memo_cache_sentinel")?(n=y.tU.withDefault("12").withOptions({startTransition:q,shallow:!1}),S[1]=n):n=S[1];let[,M]=(0,y.ZA)("limit",n);if(S[2]!==M?(i=()=>{M(null)},S[2]=M,S[3]=i):i=S[3],S[4]!==I?(s=[I],S[4]=I,S[5]=s):s=S[5],(0,b.useEffect)(i,s),!P){let e;return S[6]!==k?(e=(0,l.jsx)("div",{children:k}),S[6]=k,S[7]=e):e=S[7],e}S[8]!==z||S[9]!==I||S[10]!==D?(r=null==z?void 0:z.map(e=>(0,l.jsxs)("li",{className:"relative z-10 cursor-pointer py-2 text-lg",onClick:()=>D(I!==e.slug?e.slug:null),children:[(0,l.jsx)("span",{className:(0,m.cn)("text-foreground hover:bg-foreground hover:text-background rounded-full px-5 py-2 no-underline transition-all duration-300 ease-in-out",{"bg-foreground text-background":I===e.slug}),children:e.title}),(0,l.jsx)(f(),{className:"hidden",href:"?category=".concat(e.slug),children:e.title})]},e._id)),S[8]=z,S[9]=I,S[10]=D,S[11]=r):r=S[11],S[12]!==r?(o=(0,l.jsx)("div",{className:"hidden w-full pt-12 lg:block",children:(0,l.jsx)("ul",{className:"bg-background relative mx-auto flex w-full max-w-max flex-row justify-center gap-4 roun
1ded-full px-4 py-2 text-base",role:"listbox",tabIndex:0,children:r})}),S[12]=r,S[13]=o):o=S[13],S[14]!==C?(c=C("sections.blog.selectCategory"),S[14]=C,S[15]=c):c=S[15],S[16]!==c?(d=(0,l.jsx)(h.bq,{className:"mx-auto max-w-[20rem]",children:(0,l.jsx)(h.yv,{className:"text-foreground placeholder:text-foreground",placeholder:c})}),S[16]=c,S[17]=d):d=S[17],S[18]!==C?(u=C("sections.blog.categories"),S[18]=C,S[19]=u):u=S[19],S[20]!==u?(x=(0,l.jsx)(h.TR,{children:u}),S[20]=u,S[21]=x):x=S[21],S[22]!==z||S[23]!==D?(g=null==z?void 0:z.map(e=>(0,l.jsx)(h.eb,{value:e.slug,onClick:()=>D(e.slug),className:"text-foreground hover:text-foreground hover:bg-background active:bg-background focus:bg-background focus:text-foreground group no-underline",children:e.title},e._id)),S[22]=z,S[23]=D,S[24]=g):g=S[24],S[25]!==x||S[26]!==g?(v=(0,l.jsx)(h.gC,{children:(0,l.jsxs)(h.s3,{children:[x,g]})}),S[25]=x,S[26]=g,S[27]=v):v=S[27],S[28]!==v||S[29]!==d?(w=(0,l.jsx)("div",{className:"block w-full pt-12 lg:hidden",children:(0,l.jsxs)(h.l6,{onValueChange:j,children:[d,v]})}),S[28]=v,S[29]=d,S[30]=w):w=S[30];let L=T?"true":"false";return S[31]!==k||S[32]!==L?(N=(0,l.jsx)("div",{className:"transition-opacity data-[pending=true]:animate-pulse","data-pending":L,children:k}),S[31]=k,S[32]=L,S[33]=N):N=S[33],S[34]!==w||S[35]!==N||S[36]!==o?(_=(0,l.jsxs)(l.Fragment,{children:[o,w,N]}),S[34]=w,S[35]=N,S[36]=o,S[37]=_):_=S[37],_}function j(){}function w(e){let t,n,i,h,g,f,y,b,j,w,_,S,z,k,P,C,T,q=(0,a.c)(38),{title:I,eyebrow:D,eyebrowPosition:M,eyebrowTheme:L,posts:B,blogLayout:R,richText:V,buttons:A,categories:E,sectionStyles:F,showMenu:Z,sectionParameters:$}=e,{t:H}=(0,p.Bd)();if(!B||0===B.length)return null;let O=null==$?void 0:$.sectionId;return q[0]!==F?(t=(0,m.cn)("relative w-full overflow-x-clip py-12 lg:py-24",(0,d.aU)(F)),q[0]=F,q[1]=t):t=q[1],q[2]!==D||q[3]!==M||q[4]!==L?(n=(0,l.jsx)(c.R2,{position:M,theme:L,children:D}),q[2]=D,q[3]=M,q[4]=L,q[5]=n):n=q[5],q[6]===Symbol.for("react.memo_cache_sentinel")?(i={opacity:.5,y:20,filter:"blur(0.5rem)"},h={opacity:1,y:0,filter:"blur(0rem)"},g={duration:1},f={once:!0},q[6]=i,q[7]=h,q[8]=g,q[9]=f):(i=q[6],h=q[7],g=q[8],f=q[9]),q[10]!==I?(y=(0,l.jsx)(x.P.div,{initial:i,whileInView:h,transition:g,viewport:f,children:(0,l.jsx)(c.DZ,{className:"gradient-text mx-auto max-w-3xl text-center font-bold uppercase",children:I})}),q[10]=I,q[11]=y):y=q[11],q[12]===Symbol.for("react.memo_cache_sentinel")?(_={opacity:.5,y:20,filter:"blur(0.5rem)"},b={opacity:1,y:0,filter:"blur(0rem)"},j={duration:1,delay:.3},w={once:!0},q[12]=b,q[13]=j,q[14]=w,q[15]=_):(b=q[12],j=q[13],w=q[14],_=q[15]),q[16]!==V?(S=(0,l.jsx)(x.P.div,{initial:_,whileInView:b,transition:j,viewport:w,children:(0,l.jsx)(c.hj,{richText:V,className:"mb-14 text-center text-base sm:text-lg"})}),q[16]=V,q[17]=S):S=q[17],q[18]!==R||q[19]!==B||q[20]!==H?(z=R?(0,l.jsx)("div",{className:"pt-14 transition-opacity data-[pending=true]:animate-pulse data-[pending=true]:opacity-50",children:(0,l.jsxs)(u.Carousel,{spacingMobile:"3",spacingTablet:"4",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:!1,dots:"always",align:"start",loop:!0,opts:{loop:!1},arrowsPosition:"bottom",arrows:"always",overflow:"visible",autoWidth:!0,children:[(0,l.jsx)(u.CarouselContent,{children:B.map((e,t)=>{var n,a;return(0,l.jsx)(u.CarouselItem,{className:"max-w-[22.5rem] sm:max-w-[27.5rem]",children:(0,l.jsx)(x.P.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},transition:{duration:.2,delay:.1*t,ease:"easeInOut"},viewport:{once:!0},className:"h-full",children:(0,l.jsx)(s.e,{image:e.image,title:e.title,eyebrow:null!=(a=null==(n=e.categories[0])?void 0:n.title)?a:"",buttonTitle:H("sections.blog.readArticle"),slug:e.slug})})},e._id||e._id)})}),(0,l.jsx)(u.ZZ,{className:"relative mt-20",variant:"blue"})]})}):(0,l.jsx)("div",{className:"pt-14 transition-opacity data-[pending=true]:animate-pulse data-[pending=true]:opacity-50",children:(0,l.jsxs)(u.Carousel,{spacingMobile:"3",spacingTablet:"4",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:!1,dots:"always",align:"start",loop:!0,opts:{loop:!1},arrowsPosition:"bottom",arrows:"always",overflow:"visible",autoWidth:!0,children:[(0,l.jsx)(u.CarouselContent,{children:B.map(N)}),(0,l.jsxs)("div",{className:"relative bottom-0 left-0 right-0 mt-10 flex justify-end",children:[(0,l.jsx)(u.CarouselPrevious,{}),(0,l.jsx)(u.CarouselNext,{})]})]})}),q[18]=R,q[19]=B,q[20]=H,q[21]=z):z=q[21],q[22]!==E||q[23]!==Z||q[24]!==z?(k=(0,l.jsx)(v,{categories:E,showMenu:Z,children:z}),q[22]=E,q[23]=Z,q[24]=z,q[25]=k):k=q[25],q[26]!==A?(P=A&&A.length>0&&(0,l.jsx)(o.SanityButtons,{buttons:A,className:"flex justify-center pt-16"}),q[26]=A,q[27]=P):P=q[27],q[28]!==S||q[29]!==k||q[30]!==P||q[31]!==n||q[32]!==y?(C=(0,l.jsxs)(r.m,{children:[n,y,S,k,P]}),q[28]=S,q[29]=k,q[30]=P,q[31]=n,q[32]=y,q[33]=C):C=q[33],q[34]!==O||q[35]!==C||q[36]!==t?(T=(0,l.jsx)("section",{id:O,className:t,children:C}),q[34]=O,q[35]=C,q[36]=t,q[37]=T):T=q[37],T}function N(e,t){return(0,l.jsx)(u.CarouselItem,{className:"max-w-[22.5rem] sm:max-w-[27.5rem]",children:(0,l.jsx)(x.P.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},transition:{duration:.2,delay:.1*t,ease:"easeInOut"},viewport:{once:!0},className:"h-full",children:(0,l.jsx)(i.BlogCard,{post:e,isFeatured:!1})})},e._id||e._id)}},30847:(e,t,n)=>{n.d(t,{e:()=>c});var l=n(58986),a=n(34978),i=n(77483),s=n(3682),r=n(67928),o=n(94366);function c(e){let t,n,c,u,m,x=(0,a.c)(12),{itemList:p,className:h}=e;if(!(null==p?void 0:p.list)||!p.list.length)return null;x[0]!==h?(t=(0,r.cn)("w-full",h),x[0]=h,x[1]=t):t=x[1];let g=p.title||"";return x[2]!==g?(n=(0,l.jsx)(i.DZ,{as:"h3",className:"mb-6 text-center",children:(0,l.jsx)(s.default,{text:g,direction:"top",animateBy:"words",rootMargin:"-50px",className:"justify-center"})}),x[2]=g,x[3]=n):n=x[3],x[4]!==p.list?(c=p.list.map(d),x[4]=p.list,x[5]=c):c=x[5],x[6]!==c?(u=(0,l.jsx)("ul",{className:"sm:space-y-4",children:c}),x[6]=c,x[7]=u):u=x[7],x[8]!==t||x[9]!==n||x[10]!==u?(m=(0,l.jsxs)(o.P.div,{className:t,children:[n,u]}),x[8]=t,x[9]=n,x[10]=u,x[11]=m):m=x[11],m}function d(e,t){return(0,l.jsxs)(o.P.li,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.3*t},viewport:{once:!0},className:"border-background sm:bg-background flex items-start gap-2 border-b py-4 last:border-b-0 sm:rounded-full sm:border-b-0 sm:px-9 sm:py-5",children:[(0,l.jsxs)("span",{className:"text-base font-bold",children:[t+1,"."]}),(0,l.jsx)("span",{className:"text-base font-bold",children:e})]},t)}},31535:(e,t,n)=>{n.d(t,{DisclaimerDefault:()=>m});var l=n(58986),a=n(34978),i=n(93406),s=n(9211),r=n(77483),o=n(94103),c=n(3682),d=n(67928),u=n(94366);function m(e){let t,n,m,x,p,h,g,f=(0,a.c)(21),{title:y,richText:b,eyebrow:v,eyebrowPosition:j,sectionStyles:w,buttons:N,sectionParameters:_}=e;if(!b&&!y)return null;let{titleColor:S}=w||{},z="gradient"===S,k=null==_?void 0:_.sectionId;return f[0]!==w?(t=(0,d.cn)("relative w-full py-6 lg:py-12",(0,o.aU)(w)),f[0]=w,f[1]=t):t=f[1],f[2]!==v||f[3]!==j?(n=(0,l.jsx)(r.R2,{position:j,children:v}),f[2]=v,f[3]=j,f[4]=n):n=f[4],f[5]!==z||f[6]!==y?(m=z?(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:"overflow-hidden",children:(0,l.jsx)(r.DZ,{className:"gradient-text m-0 text-center uppercase",children:y})}):(0,l.jsx)(r.DZ,{className:"m-0 text-center font-bold",children:(0,l.jsx)(c.default,{text:y,direction:"top",animateBy:"words",rootMargin:"50px",className:"justify-center"})}),f[5]=z,f[6]=y,f[7]=m):m=f[7],f[8]!==b?(x=(0,l.jsx)(r.hj,{richText:b,className:"pt-4"}),f[8]=b,f[9]=x):x=f[9],f[10]!==N?(p=(0,l.jsx)(s.SanityButtons,{buttons:N,className:"mt-8 items-center justify-center"}),f[10]=N,f[11]=p):p=f[11],f[12]!==n||f[13]!==m||f[14]!==x||f[15]!==p?(h=(0,l.jsxs)(i.m,{children:[n,m,x,p]}),f[12]=n,f[13]=m,f[14]=x,f[15]=p,f[16]=h):h=f[16],f[17]!==k||f[18]!==t||f[19]!==h?(g=(0,l.jsx)("section",{id:k,className:t,children:h}),f[17]=k,f[18]=t,f[19]=h,f[20]=g):g=f[20],g}},31845:(e,t,n)=>{n.d(t,{default:()=>N});var l=n(58986),a=n(93406),i=n(9211),s=n(77483),r=n(36654),o=n(83239),c=n(34978),d=n(69433),u=n(67928);let m=(0,d.F)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-base font-normal transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function x(e){let t,n,a,i,s,r=(0,c.c)(10);return r[0]!==e?({className:t,variant:a,...n}=e,r[0]=e,r[1]=t,r[2]=n,r[3]=a):(t=r[1],n=r[2],a=r[3]),r[4]!==t||r[5]!==a?(i=(0,u.cn)(m({variant:a}),t),r[4]=t,r[5]=a,r[6]=i):i=r[6],r[7]!==n||r[8]!==i?(s=(0,l.jsx)("div",{className:i,...n}),r[7]=n,r[8]=i,r[9]=s):s=r[9],s}var p=n(3682),h=n(71583),g=n(6050),f=n(18934);function y(e){let t,n,a,i,r=(0,c.c)(10),{title:o,richText:d}=e;return r[0]!==o?(t=o.toLowerCase().replace(/ /g,"-"),r[0]=o,r[1]=t):t=r[1],r[2]!==o?(n=(0,l.jsx)(s.DZ,{as:"h2",className:"h3 m-0 font-bold uppercase",children:(0,l.jsx)(p.default,{text:o,direction:"top",animateBy:"words",rootMargin:"50px"})}),r[2]=o,r[3]=n):n=r[3],r[4]!==d?(a=(0,l.jsx)(f.s,{richText:d,className:"text-base lg:text-lg"}),r[4]=d,r[5]=a):a=r[5],r[6]!==t||r[7]!==n||r[8]!==a?(i=(0,l.jsxs)("div",{id:t,className:"flex scroll-mt-20 flex-col gap-4",children:[n,a]}),r[6]=t,r[7]=n,r[8]=a,r[9]=i):i=r[9],i}var b=n(96939);function v(e){let t,n=(0,c.c)(2),{nItems:a}=e,i=void 0===a?6:a;return n[0]!==i?(t=(0,l.jsx)(l.Fragment,{children:Array.from({length:i}).map(j)}),n[0]=i,n[1]=t):t=n[1],t}function j(e,t){return(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)(b.E,{className:"h-12 w-48"}),(0,l.jsx)(b.E,{className:"h-16 w-full"})]},t)}var w=n(12465);function N(e){let{title:t,richText:n,eyebrow:c,eyebrowPosition:d,buttons:m,glossaries:f,letters:b,sectionParameters:j}=e,[N,_]=(0,g.useTransition)(),{i18n:S}=(0,w.Bd)(),z=S.language,[k,P]=(0,h.ZA)("letter",h.tU.withDefault("A").withOptions({startTransition:_,shallow:!1})),[C,T]=(0,g.useState)(f);return f&&f.length?((0,g.useEffect)(()=>{r.Sn.fetch(o.Ai,{letter:k||"A",locale:z}).then(e=>{T(e)})},[k]),(0,l.jsx)("section",{id:null==j?void 0:j.sectionId,className:"bg-background relative py-12 lg:py-24",children:(0,l.jsxs)(a.m,{children:[(0,l.jsx)(s.R2,{position:d,children:c}),(0,l.jsx)(s.DZ,{children:(0,l.jsx)(p.default,{text:t||"",direction:"top",animateBy:"words",className:"font-bold uppercase"})}),(0,l.jsx)(s.hj,{richText:n,className:"py-8 text-lg lg:text-xl"}),(0,l.jsx)("div",{id:"glossary-letters"}),(0,l.jsx)("div",{className:"sticky left-0 top-32 z-10 flex w-full flex-wrap items-center justify-start gap-4 roun
1ded-3xl bg-white/80 p-5 backdrop-blur-sm",children:b.slice().sort().map(e=>(0,l.jsx)(x,{onClick:()=>{var t;P(e),null==(t=document.getElementById("glossary-letters"))||t.scrollIntoView({behavior:"smooth"})},variant:e===k?"default":"outline",className:(0,u.cn)("cursor-pointer bg-white",e===k&&"bg-primary text-primary-foreground"),children:e},e))}),(0,l.jsx)("div",{className:"flex w-full flex-col gap-12 pt-16",children:N?(0,l.jsx)(v,{nItems:6}):C.map(e=>(0,l.jsx)(y,{...e},e._id))}),(0,l.jsx)(i.SanityButtons,{buttons:m})]})})):null}},32683:(e,t,n)=>{n.d(t,{default:()=>p});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(9211),o=n(34703),c=n(77483),d=n(3682),u=n(94366),m=n(56995),x=n.n(m);function p(e){let t,n,m,x,p,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I,D,M=(0,a.c)(48),{title:L,richText:B,eyebrow:R,eyebrowPosition:V,buttons:A,app:E}=e;if(!E||!E.qrCode||!E.appStore)return null;let{qrCode:F,appStore:Z}=E;return M[0]!==R||M[1]!==V?(t=(0,l.jsx)(c.R2,{position:V,children:R}),M[0]=R,M[1]=V,M[2]=t):t=M[2],M[3]!==L?(n=(0,l.jsx)(c.DZ,{children:L}),M[3]=L,M[4]=n):n=M[4],M[5]!==B?(m=(0,l.jsx)(c.hj,{richText:B}),M[5]=B,M[6]=m):m=M[6],M[7]===Symbol.for("react.memo_cache_sentinel")?(x={opacity:0,x:-20},p={opacity:1,x:0},g={duration:.8},f={once:!0},M[7]=x,M[8]=p,M[9]=g,M[10]=f):(x=M[7],p=M[8],g=M[9],f=M[10]),M[11]!==F.title?(y=(0,l.jsx)(c.DZ,{as:"h3",className:"font-bold uppercase md:max-w-[70%]",children:(0,l.jsx)(d.default,{text:F.title,animateBy:"words",direction:"top",rootMargin:"-100px"})}),M[11]=F.title,M[12]=y):y=M[12],M[13]!==F.image?(b=(0,l.jsx)(o.s,{image:F.image,className:"mx-auto block sm:mx-0"}),M[13]=F.image,M[14]=b):b=M[14],M[15]!==F.richText?(v=(0,l.jsx)(s.s,{richText:F.richText,className:"text-base lg:text-xl"}),M[15]=F.richText,M[16]=v):v=M[16],M[17]!==v||M[18]!==b?(j=(0,l.jsxs)("div",{className:"grid w-full grid-cols-1 gap-6 text-center sm:grid-cols-2 sm:text-left",children:[b,v]}),M[17]=v,M[18]=b,M[19]=j):j=M[19],M[20]!==j||M[21]!==y?(w=(0,l.jsxs)(u.P.div,{initial:x,whileInView:p,transition:g,viewport:f,className:"bg-card w-full space-y-4 rounded-3xl p-6 md:p-11 lg:px-16 lg:py-12",children:[y,j]}),M[20]=j,M[21]=y,M[22]=w):w=M[22],M[23]===Symbol.for("react.memo_cache_sentinel")?(N={opacity:0,x:20},_={opacity:1,x:0},S={duration:.8},z={once:!0},M[23]=N,M[24]=_,M[25]=S,M[26]=z):(N=M[23],_=M[24],S=M[25],z=M[26]),M[27]!==Z.title?(k=(0,l.jsx)(c.DZ,{as:"h3",className:"font-bold uppercase",children:(0,l.jsx)(d.default,{text:Z.title,animateBy:"words",direction:"top",rootMargin:"-100px"})}),M[27]=Z.title,M[28]=k):k=M[28],M[29]!==Z.richText?(P=(0,l.jsx)(s.s,{richText:Z.richText,className:"text-base lg:text-xl"}),M[29]=Z.richText,M[30]=P):P=M[30],M[31]!==Z.stores?(C=Z.stores&&Z.stores.length>0&&(0,l.jsx)("div",{className:"flex flex-row gap-4",children:Z.stores.map(h)}),M[31]=Z.stores,M[32]=C):C=M[32],M[33]!==k||M[34]!==P||M[35]!==C?(T=(0,l.jsxs)(u.P.div,{initial:N,whileInView:_,transition:S,viewport:z,className:"bg-card w-full space-y-10 rounded-3xl p-6 md:p-11 lg:px-16 lg:py-12",children:[k,P,C]}),M[33]=k,M[34]=P,M[35]=C,M[36]=T):T=M[36],M[37]!==w||M[38]!==T?(q=(0,l.jsxs)("div",{className:"grid w-full grid-cols-1 items-stretch gap-6 overflow-x-clip md:grid-cols-2",children:[w,T]}),M[37]=w,M[38]=T,M[39]=q):q=M[39],M[40]!==A?(I=(0,l.jsx)(r.SanityButtons,{buttons:A}),M[40]=A,M[41]=I):I=M[41],M[42]!==t||M[43]!==n||M[44]!==q||M[45]!==I||M[46]!==m?(D=(0,l.jsx)("section",{className:"relative py-12",children:(0,l.jsxs)(i.m,{children:[t,n,m,q,I]})}),M[42]=t,M[43]=n,M[44]=q,M[45]=I,M[46]=m,M[47]=D):D=M[47],D}
1function h(e){return(0,l.jsx)(x(),{href:e.url,target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(o.s,{image:e.image})},e._key)}},32938:(e,t,n)=>{n.d(t,{a:()=>o});var l=n(58986),a=n(34978),i=n(94366);let s={pathLength:0,opacity:0},r={pathLength:1,opacity:1};function o(e){let t,n,o,c,d,u,m,x,p,h,g,f,y,b=(0,a.c)(32),{className:v,speed:j}=e,w=void 0===j?1:j;b[0]!==w?(t=e=>e*w,b[0]=w,b[1]=t):t=b[1];let N=t;b[2]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:1},o={opacity:0},c={duration:.5},b[2]=n,b[3]=o,b[4]=c):(n=b[2],o=b[3],c=b[4]);let _=N(3);b[5]===Symbol.for("react.memo_cache_sentinel")?(d={duration:.4},b[5]=d):d=b[5],b[6]!==_?(u=(0,l.jsx)(i.P.path,{d:"M132.386 645.857L0.5 594.083V52.1641L132.386 0.731445V645.857Z",stroke:"currentColor",initial:s,animate:r,transition:{duration:_,ease:"easeInOut",opacity:d}}),b[6]=_,b[7]=u):u=b[7];let S=N(3),z=N(2),k=N(.7);b[8]!==k?(m={duration:.7,delay:k},b[8]=k,b[9]=m):m=b[9],b[10]!==z||b[11]!==m||b[12]!==S?(x=(0,l.jsx)(i.P.path,{d:"M410.445 155.519V309.501L132.5 154.931V0.849609L410.445 155.519Z",stroke:"currentColor",initial:s,animate:r,transition:{duration:S,ease:"easeInOut",delay:z,opacity:m}}),b[10]=z,b[11]=m,b[12]=S,b[13]=x):x=b[13];let P=N(3),C=N(4),T=N(.7);b[14]!==T?(p={duration:.7,delay:T},b[14]=T,b[15]=p):p=b[15],b[16]!==P||b[17]!==C||b[18]!==p?(h=(0,l.jsx)(i.P.path,{d:"M410.445 310.094L132.5 490.557V336.572L410.445 156.158V310.094Z",stroke:"currentColor",initial:s,animate:r,transition:{duration:P,ease:"easeInOut",delay:C,opacity:p}}),b[16]=P,b[17]=C,b[18]=p,b[19]=h):h=b[19];let q=N(3),I=N(6),D=N(.7);return b[20]!==D?(g={duration:.7,delay:D},b[20]=D,b[21]=g):g=b[21],b[22]!==q||b[23]!==I||b[24]!==g?(f=(0,l.jsx)(i.P.path,{d:"M410.445 491.771V645.753L132.5 491.183V337.15L410.445 491.771Z",stroke:"currentColor",initial:s,animate:r,transition:{duration:q,ease:"easeInOut",delay:I,opacity:g}}),b[22]=q,b[23]=I,b[24]=g,b[25]=f):f=b[25],b[26]!==v||b[27]!==x||b[28]!==h||b[29]!==f||b[30]!==u?(y=(0,l.jsxs)(i.P.svg,{width:"25.688rem",height:"40.438rem",viewBox:"0 0 411 647",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:v,"aria-label":"Real Vida Seguros",initial:n,exit:o,transition:c,children:[u,x,h,f]}),b[26]=v,b[27]=x,b[28]=h,b[29]=f,b[30]=u,b[31]=y):y=b[31],y}},34770:(e,t,n)=>{n.d(t,{HistoryText:()=>g});var l=n(58986),a=n(34978),i=n(93406),s=n(77483),r=n(3682),o=n(67928),c=n(89011),d=n(94366),u=n(98572),m=n(81736),x=n(6050);let p=e=>{let{description:t,scrollYProgress:n,className:a}=e;if(!t)return null;let i=(0,x.useRef)(null),s=t.filter(e=>e.text).flatMap(e=>e.text.split(" ")).length,r=0;return(0,l.jsx)("div",{ref:i,children:t.map(e=>{if(!e.text)return null;let t=e.text.split(" "),i=r;return r+=t.length,(0,l.jsx)("div",{className:"mb-10",children:(0,l.jsx)("p",{className:(0,o.cn)("flex flex-wrap justify-start text-left text-xl font-bold leading-tight sm:text-2xl",a),children:t.map((e,t)=>{let a=i+t;return(0,l.jsx)(h,{progress:n,range:[a/s,(a+1)/s],children:e},t)})})},e._key)})})},h=e=>{let t,n,i,s=(0,a.c)(6),{children:r,progress:o,range:u}=e;s[0]===Symbol.for("react.memo_cache_sentinel")?(t=[.3,1],s[0]=t):t=s[0];let m=(0,c.G)(o,u,t);return s[1]!==m?(n={opacity:m},s[1]=m,s[2]=n):n=s[2],s[3]!==r||s[4]!==n?(i=(0,l.jsx)("span",{className:"relative mx-3",children:(0,l.jsx)(d.P.span,{style:n,children:r})}),s[3]=r,s[4]=n,s[5]=i):i=s[5],i};function g(e){let{title:t,theme:n,description:a}=e;if(!a||!n)return null;let c=(0,x.useRef)(null),d=(0,x.useRef)(null),[h,g]=(0,x.useState)(!1),{scrollYProgress:f}=(0,u.L)({target:d,offset:["start 10%","end 0%"]}),{scrollYProgress:y}=(0,u.L)({target:c,offset:["start -10%","end 110%"]});(0,m.L)(f,"change",e=>{g(e>0)});let b=n||"white";return(0,l.jsx)("div",{ref:c,className:(0,o.cn)("relative min-h-[200vh]",{gray:"from-muted to-accent bg-gradient-to-t text-background",white:"bg-background text-foreground",big:"bg-background text-foreground"}[b]),children:(0,l.jsx)("div",{ref:d,className:(0,o.cn)("sticky top-0"),children:(0,l.jsx)(i.m,{children:(0,l.jsxs)("div",{className:(0,o.cn)("lg:py-34 sticky top-[7rem] grid w-full grid-cols-1 items-start gap-0 overflow-hidden py-12 pt-32 md:py-32 lg:top-[9rem] lg:pt-[18rem]","big"===b?"gap-12":"min-h-screen md:grid-cols-[16rem,calc(100%-16rem)]"),children:[(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:"relative",children:[h&&(0,l.jsx)(s.DZ,{as:"div",className:(0,o.cn)("absolute left-0 top-0 mb-4 mt-0 w-full font-bold","big"===b?"text-[3.5rem] uppercase leading-tight lg:text-[5.5rem] lg:leading-tight":"text-xl md:text-2xl"),children:(0,l.jsx)(r.default,{text:t||"",threshold:.5,delay:150,animateBy:"words",direction:"top",className:"absolute left-0 top-0"})}),(0,l.jsx)(s.DZ,{className:(0,o.cn)("mb-4 mt-0 w-full font-bold opacity-50","big"===b?"text-[3.5rem] uppercase leading-tight lg:text-[5.5rem] lg:leading-tight":"text-xl md:text-2xl"),children:t||""})]})}),(0,l.jsx)("div",{className:(0,o.cn)("big"===b?"md:pl-16 lg:pl-24 xl:pl-80":""),children:(0,l.jsx)(p,{description:a,scrollYProgress:y,className:"big"===b?"text-3xl font-bold md:text-4xl lg:text-5xl":""})})]})})})})}},34780:(e,t,n)=>{n.d(t,{StatItem:()=>p,S:()=>h});var l=n(58986),a=n(34978),i=n(34703),s=n(77483),r=n(6050),o=n(82675),c=n(80945),d=n(55721);function u(e){let t,n,i,s,u,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P=(0,a.c)(38);P[0]!==e?({ref:s,number:n,fromNumber:u,padStart:m,inView:x,inViewMargin:p,inViewOnce:h,decimalSeparator:g,transition:f,decimalPlaces:y,className:t,...i}=e,P[0]=e,P[1]=t,P[2]=n,P[3]=i,P[4]=s,P[5]=u,P[6]=m,P[7]=x,P[8]=p,P[9]=h,P[10]=g,P[11]=f,P[12]=y):(t=P[1],n=P[2],i=P[3],s=P[4],u=P[5],m=P[6],x=P[7],p=P[8],h=P[9],g=P[10],f=P[11],y=P[12]);let C=void 0===u?0:u,T=void 0!==m&&m,q=void 0!==x&&x,I=void 0===p?"0px":p,D=void 0===h||h,M=void 0===g?".":g;P[13]!==f?(b=void 0===f?{stiffness:90,damping:50}:f,P[13]=f,P[14]=b):b=P[14];let L=b,B=void 0===y?0:y,R=r.useRef(null);if(P[15]===Symbol.for("react.memo_cache_sentinel")?(v=()=>R.current,P[15]=v):v=P[15],r.useImperativeHandle(s,v),P[16]!==B||P[17]!==n){var V,A;let e=n.toString();j="number"==typeof B?B:e.includes(".")&&null!=(A=null==(V=e.split(".")[1])?void 0:V.length)?A:0,P[16]=B,P[17]=n,P[18]=j}else j=P[18];let E=j,F=(0,o.d)(C),Z=(0,c.z)(F,L);P[19]!==I||P[20]!==D?(w={once:D,margin:I},P[19]=I,P[20]=D,P[21]=w):w=P[21];let $=(0,d.W)(R,w),H=!q||$;P[22]!==H||P[23]!==F||P[24]!==n?(N=()=>{H&&F.set(n)}
1,_=[H,n,F],P[22]=H,P[23]=F,P[24]=n,P[25]=N,P[26]=_):(N=P[25],_=P[26]),r.useEffect(N,_),P[27]!==M||P[28]!==E||P[29]!==n||P[30]!==T||P[31]!==Z?(S=()=>{let e=Z.on("change",e=>{if(R.current){let l=E>0?e.toFixed(E):Math.round(e).toString();if(E>0&&(l=l.replace(".",M)),T){var t;let e=Math.floor(Math.abs(n)).toString().length,[a,i]=l.split(M),s=null!=(t=null==a?void 0:a.padStart(e,"0"))?t:"";l=i?"".concat(s).concat(M).concat(i):s}R.current.textContent=l}});return()=>e()},z=[Z,E,T,n,M],P[27]=M,P[28]=E,P[29]=n,P[30]=T,P[31]=Z,P[32]=S,P[33]=z):(S=P[32],z=P[33]),r.useEffect(S,z);let O=Math.floor(Math.abs(n)).toString().length,G=T?"0".padStart(O,"0")+(E>0?M+"0".repeat(E):""):"0"+(E>0?M+"0".repeat(E):"");return P[34]!==t||P[35]!==G||P[36]!==i?(k=(0,l.jsx)("span",{ref:R,"data-slot":"counting-number",className:t,...i,children:G}),P[34]=t,P[35]=G,P[36]=i,P[37]=k):k=P[37],k}var m=n(94366);let x={default:{wrapper:"text-center border-b md:border-b-0 md:border-r border-border last:border-b-0 last:border-r-0 px-5 pt-5 md:pt-4 pb-5 md:py-0 items-start md:flex-1 overflow-hidden",item:"mb-8 flex items-end justify-center gap-1 ",number:"text-7xl font-bold leading-[4rem] lg:text-8xl lg:leading-[5rem] from-foreground
1/60 to-foreground bg-gradient-to-b bg-clip-text text-transparent",sufix:"text-4xl leading-[2rem] lg:text-6xl lg:leading-[3.5rem] font-bold",title:"m-0 text-base font-bold sm:text-sm md:text-base",subTitle:"mb-0 mt-2 text-sm"},card:{wrapper:"text-center rounded-3xl bg-foreground text-background p-6 items-start md:flex-1 overflow-hidden max-w-[19rem] mx-auto",item:"mb-5 flex items-end justify-center gap-1 max-w-[19rem] mx-auto",number:"text-[5.25rem] md:text-[4.5rem] md:leading-[3rem] font-bold leading-[4rem] xl:text-[7.188rem] xl:leading-[5rem] text-[#7CCCE6] ",sufix:"text-4xl font-normal leading-[2rem] lg:text-6xl lg:leading-[3rem]",title:"m-0 font-bold lg:px-2 lg:text-2xl 2xl:text-[2rem]",subTitle:"mb-7 mt-2 text-sm lg:text-base xl:text-lg 2xl:text-xl"},image:{wrapper:"text-center text-background border-b md:border-b-0 md:border-r border-background last:border-b-0 last:border-r-0 px-5 pt-9 md:pt-4 pb-2 md:pb-0 items-start md:flex-1 overflow-hidden",item:"mb-5 flex items-end justify-center gap-1 ",number:"text-[6.25rem] font-bold leading-[4rem] lg:text-[8rem] lg:leading-[6rem]",sufix:"text-4xl font-normal leading-[2rem] lg:text-6xl lg:leading-[3rem]",title:"m-0 text-base font-bold sm:text-sm md:text-lg",subTitle:"mb-0 mt-2 text-sm"}};function p(e){let t,n,i,o,c,d,p,h,g,f,y,b,v,j=(0,a.c)(33),{stat:w,className:N,variant:_,index:S}=e,z=void 0===_?"default":_,[k,P]=(0,r.useState)(!1);j[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{P(!0)},j[0]=t):t=j[0];let C=t;j[1]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{P(!1)},j[1]=n):n=j[1];let T=n;j[2]===Symbol.for("react.memo_cache_sentinel")?(i={opacity:0,y:20},o={opacity:1,y:0},j[2]=i,j[3]=o):(i=j[2],o=j[3]);let q=.5*(void 0===S?1:S);j[4]!==q?(c={duration:.6,delay:q},j[4]=q,j[5]=c):c=j[5],j[6]===Symbol.for("react.memo_cache_sentinel")?(d={once:!1},j[6]=d):d=j[6];let I="".concat(x[z].wrapper," ").concat(void 0===N?"":N),D="".concat(x[z].item);if(j[7]!==k||j[8]!==w.counter||j[9]!==z){var M,L;p=k?(0,l.jsx)(u,{number:Number(w.counter),decimalPlaces:w.counter.includes(".")?Number(null!=(L=null==(M=w.counter.split(".")[1])?void 0:M.length)?L:0):0,decimalSeparator:",",inView:!!k,inViewMargin:"-100px",transition:{stiffness:50,damping:30},className:"".concat(x[z].number)}):(0,l.jsx)(m.P.span,{initial:{opacity:0}
1,whileInView:{opacity:0},transition:{duration:2},viewport:{once:!1},className:"".concat(x[z].number),children:"0"}),j[7]=k,j[8]=w.counter,j[9]=z,j[10]=p}else p=j[10];let B="".concat(x[z].sufix),R=w.suffix&&w.suffix;j[11]!==B||j[12]!==R?(h=(0,l.jsx)("span",{className:B,children:R}),j[11]=B,j[12]=R,j[13]=h):h=j[13],j[14]!==D||j[15]!==p||j[16]!==h?(g=(0,l.jsxs)("div",{className:D,children:[p,h]}),j[14]=D,j[15]=p,j[16]=h,j[17]=g):g=j[17];let V="".concat(x[z].title);return j[18]!==k||j[19]!==w.title?(f=k?(0,l.jsx)(m.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.9},children:w.title}):(0,l.jsx)("span",{className:"text-transparent opacity-0",children:w.title}),j[18]=k,j[19]=w.title,j[20]=f):f=j[20],j[21]!==V||j[22]!==f?(y=(0,l.jsx)(s.DZ,{as:"h3",className:V,children:f}),j[21]=V,j[22]=f,j[23]=y):y=j[23],j[24]!==w.subTitle||j[25]!==z?(b=w.subTitle&&(0,l.jsx)("p",{className:"".concat(x[z].subTitle),children:w.subTitle}),j[24]=w.subTitle,j[25]=z,j[26]=b):b=j[26],j[27]!==I||j[28]!==g||j[29]!==y||j[30]!==b||j[31]!==c?(v=(0,l.jsxs)(m.P.div,{initial:i,whileInView:o,transition:c,viewport:d,className:I,onAnimationComplete:C,onViewportEnter:T,children:[g,y,b]}),j[27]=I,j[28]=g,j[29]=y,j[30]=b,j[31]=c,j[32]=v):v=j[32],v}function h(e){let t,n,o,c,d,p,h,g,f,y,b,v,j,w,N=(0,a.c)(42),{stat:_,className:S,variant:z,index:k}=e,P=void 0===z?"card":z,[C,T]=(0,r.useState)(!1);N[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{T(!0)},N[0]=t):t=N[0];let q=t;N[1]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{T(!1)},N[1]=n):n=N[1];let I=n;N[2]===Symbol.for("react.memo_cache_sentinel")?(o={opacity:0,y:20},c={opacity:1,y:0},N[2]=o,N[3]=c):(o=N[2],c=N[3]);let D=.5*(void 0===k?0:k);N[4]!==D?(d={duration:.6,delay:D},N[4]=D,N[5]=d):d=N[5],N[6]===Symbol.for("react.memo_cache_sentinel")?(p={once:!1},N[6]=p):p=N[6];let M="".concat(x[P].wrapper," ").concat(void 0===S?"":S);N[7]!==_.icon?(h=_.icon&&(0,l.jsx)("div",{className:"relative mx-auto mb-10 flex h-20 w-20 items-center justify-center",children:(0,l.jsx)(i.s,{image:_.icon,fill:!0,className:"object-contain object-center",sizes:"100vw"})}),N[7]=_.icon,N[8]=h):h=N[8],N[9]!==C||N[10]!==_.icon||N[11]!==_.title||N[12]!==P?(g=_.title&&!_.icon&&(0,l.jsx)(s.DZ,{as:"h3",className:"".concat(x[P].title),children:C?(0,l.jsx)(m.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.9},children:_.title}):(0,l.jsx)("span",{className:"text-transparent opacity-0",children:_.title})}),N[9]=C,N[10]=_.icon,N[11]=_.title,N[12]=P,N[13]=g):g=N[13],N[14]!==_.icon||N[15]!==_.subTitle?(f=_.subTitle&&!_.icon&&(0,l.jsx)(m.P.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.9},className:"mt-2",children:_.subTitle}),N[14]=_.icon,N[15]=_.subTitle,N[16]=f):f=N[16];let L="".concat(x[P].item);if(N[17]!==C||N[18]!==_.counter||N[19]!==_.prefix||N[20]!==P){var B,R;y=C?(0,l.jsxs)(l.Fragment,{children:[_.prefix&&(0,l.jsx)("span",{className:"".concat(x[P].number),children:_.prefix}),(0,l.jsx)(u,{number:Number(_.counter),decimalPlaces:_.counter.includes(".")?Number(null!=(R=null==(B=_.counter.split(".")[1])?void 0:B.length)?R:0):0,decimalSeparator:",",inView:!!C,inViewMargin:"-100px",transition:{stiffness:50,damping:30},className:"".concat(x[P].number)})]}):(0,l.jsxs)(m.P.span,{initial:{opacity:0}
1,whileInView:{opacity:0},transition:{duration:2},viewport:{once:!1},className:"".concat(x[P].number),children:[_.prefix&&_.prefix," 0"]}),N[17]=C,N[18]=_.counter,N[19]=_.prefix,N[20]=P,N[21]=y}else y=N[21];let V="".concat(x[P].sufix),A=_.suffix&&_.suffix;return N[22]!==V||N[23]!==A?(b=(0,l.jsx)("span",{className:V,children:A}),N[22]=V,N[23]=A,N[24]=b):b=N[24],N[25]!==L||N[26]!==y||N[27]!==b?(v=(0,l.jsxs)("div",{className:L,children:[y,b]}),N[25]=L,N[26]=y,N[27]=b,N[28]=v):v=N[28],N[29]!==C||N[30]!==_.icon||N[31]!==_.title||N[32]!==P?(j=_.title&&_.icon&&(0,l.jsx)(s.DZ,{as:"h3",className:" ".concat(x[P].subTitle," mb-0"),children:C?(0,l.jsx)(m.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.9},children:_.title}):(0,l.jsx)("span",{className:"text-transparent opacity-0",children:_.title})}),N[29]=C,N[30]=_.icon,N[31]=_.title,N[32]=P,N[33]=j):j=N[33],N[34]!==M||N[35]!==h||N[36]!==g||N[37]!==f||N[38]!==v||N[39]!==j||N[40]!==d?(w=(0,l.jsxs)(m.P.div,{initial:o,whileInView:c,transition:d,viewport:p,className:M,onAnimationComplete:q,onViewportEnter:I,children:[h,g,f,v,j]}),N[34]=M,N[35]=h,N[36]=g,N[37]=f,N[38]=v,N[39]=j,N[40]=d,N[41]=w):w=N[41],w}},35316:(e,t,n)=>{n.d(t,{default:()=>o});var l=n(58986),a=n(34978),i=n(77483),s=n(94366),r=n(44139);function o(e){let t,n,o,c,d,u,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z=(0,a.c)(33),{title:k,richText:P,eyebrow:C,eyebrowPosition:T,video:q,sectionParameters:I}=e,D=null==I?void 0:I.sectionId;return z[0]!==C||z[1]!==T?(t=(0,l.jsx)(i.R2,{position:T,theme:"gradient",children:C}),z[0]=C,z[1]=T,z[2]=t):t=z[2],z[3]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:.5,y:20,filter:"blur(0.5rem)"},o={opacity:1,y:0,filter:"blur(0rem)"},c={duration:1},d={once:!0},z[3]=n,z[4]=o,z[5]=c,z[6]=d):(n=z[3],o=z[4],c=z[5],d=z[6]),z[7]!==k?(u=(0,l.jsx)(s.P.div,{initial:n,whileInView:o,transition:c,viewport:d,className:"overflow-hidden",children:(0,l.jsx)(i.DZ,{className:"gradient-text m-0 text-center uppercase",children:k})}),z[7]=k,z[8]=u):u=z[8],z[9]===Symbol.for("react.memo_cache_sentinel")?(p={opacity:.5,y:20},h={opacity:1,y:0},m={duration:.8,delay:.5},x={once:!0},z[9]=m,z[10]=x,z[11]=p,z[12]=h):(m=z[9],x=z[10],p=z[11],h=z[12]),z[13]!==P?(g=(0,l.jsx)(s.P.div,{initial:p,whileInView:h,transition:m,viewport:x,children:(0,l.jsx)(i.hj,{richText:P,className:"text-lg lg:text-xl"})}),z[13]=P,z[14]=g):g=z[14],z[15]===Symbol.for("react.memo_cache_sentinel")?(f={opacity:0},y={opacity:1},b={duration:.8,delay:.7},v={once:!0},z[15]=f,z[16]=y,z[17]=b,z[18]=v):(f=z[15],y=z[16],b=z[17],v=z[18]),z[19]!==q?(j=q&&(0,l.jsx)(r.A,{...q}),z[19]=q,z[20]=j):j=z[20],z[21]!==j?(w=(0,l.jsx)(s.P.div,{initial:f,whileInView:y,transition:b,viewport:v,children:(0,l.jsx)("div",{children:j})}),z[21]=j,z[22]=w):w=z[22],z[23]!==g||z[24]!==w||z[25]!==u?(N=(0,l.jsxs)("div",{className:"mx-auto max-w-[55rem] space-y-9 overflow-hidden",children:[u,g,w]}),z[23]=g,z[24]=w,z[25]=u,z[26]=N):N=z[26],z[27]!==N||z[28]!==t?(_=(0,l.jsx)("div",{className:"relative w-full px-6 lg:px-12 2xl:px-24",children:(0,l.jsx)("div",{className:"rounded-4xl w-full bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] bg-cover bg-center px-9 py-12 lg:py-24",children:(0,l.jsxs)("div",{className:"mx-auto w-full max-w-[78.25rem]",children:[t,N]})})}),z[27]=N,z[28]=t,z[29]=_):_=z[29],z[30]!==D||z[31]!==_?(S=(0,l.jsx)("section",{id:D,className:"bg-background py-12 lg:py-24",children:_}),z[30]=D,z[31]=_,z[32]=S):S=z[32],S}},36608:(e,t,n)=>{n.r(t),n.d(t,{FormSectionDefault:()=>m});var l=n(58986),a=n(34978),i=n(93406),s=n(28514),r=n(18934),o=n(9211),c=n(34703),d=n(77483),u=n(94366);function m(e){var t;let n,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I=(0,a.c)(39),{eyebrow:D,eyebrowPosition:M,buttons:L,formRichText:B,formTitle:R,image:V,form:A,sectionParameters:E,privacyPolicy:F,jobPage:Z}=e,$=null!=(t=null==E?void 0:E.sectionId)?t:void 0;I[0]!==D||I[1]!==M?(n=D&&(0,l.jsx)(d.R2,{position:null!=M?M:void 0,children:D}),I[0]=D,I[1]=M,I[2]=n):n=I[2],I[3]===Symbol.for("react.memo_cache_sentinel")?(m={opacity:0,y:20},x={opacity:1,y:0},p={duration:1,delay:.2},h={once:!0,margin:"-100px 0px"},I[3]=m,I[4]=x,I[5]=p,I[6]=h):(m=I[3],x=I[4],p=I[5],h=I[6]),I[7]!==V?(g=V&&(0,l.jsx)(c.s,{image:V,className:"object-cover object-center",fill:!0,sizes:"(max-width: 1024px) 100vw, 50vw"}),I[7]=V,I[8]=g):g=I[8],I[9]!==B?(f=B&&(0,l.jsx)(u.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.5},viewport:{once:!0,margin:"-100px 0px"},children:(0,l.jsx)(r.s,{richText:B,className:"text-left"})}),I[9]=B,I[10]=f):f=I[10],I[11]!==g||I[12]!==f?(y=(0,l.jsxs)(u.P.div,{initial:m,whileInView:x,transition:p,viewport:h,className:"relative h-[23rem] w-full overflow-hidden lg:h-full",children:[g,f]}),I[11]=g,I[12]=f,I[13]=y):y=I[13],I[14]===Symbol.for("react.memo_cache_sentinel")?(b={opacity:0,y:20},v={opacity:1,y:0},j={duration:1,delay:.5},w={once:!0,margin:"-100px 0px"},I[14]=b,I[15]=v,I[16]=j,I[17]=w):(b=I[14],v=I[15],j=I[16],w=I[17]);let H=null!=A?A:"application",O=null!=R?R:void 0,G=null!=F?F:void 0;return I[18]!==Z||I[19]!==H||I[20]!==O||I[21]!==G?(N=(0,l.jsx)(u.P.div,{initial:b,whileInView:v,transition:j,viewport:w,className:"h-full",children:(0,l.jsx)(s.A,{form:H,title:O,privacyPolicy:G,jobPage:Z})}),I[18]=Z,I[19]=H,I[20]=O,I[21]=G,I[22]=N):N=I[22],I[23]!==N||I[24]!==y?(_=(0,l.jsxs)("div",{className:"rounded-4xl grid grid-cols-1 items-start overflow-hidden lg:grid-cols-[auto_46.75rem] lg:rounded-l-none",children:[y,N]}),I[23]=N,I[24]=y,I[25]=_):_=I[25],I[26]===Symbol.for("react.memo_cache_sentinel")?(S={opacity:0,y:20},z={opacity:1,y:0},k={duration:1,delay:.7},P={once:!0,margin:"-100px 0px"},I[26]=S,I[27]=z,I[28]=k,I[29]=P):(S=I[26],z=I[27],k=I[28],P=I[29]),I[30]!==L?(C=(0,l.jsx)(u.P.div,{initial:S,whileInView:z,transition:k,viewport:P,children:(0,l.jsx)(o.SanityButtons,{buttons:L})}),I[30]=L,I[31]=C):C=I[31],I[32]!==_||I[33]!==n||I[34]!==C?(T=(0,l.jsxs)(i.m,{children:[n,_,C]}),I[32]=_,I[33]=n,I[34]=C,I[35]=T):T=I[35],I[36]!==$||I[37]!==T?(q=(0,l.jsx)("section",{id:$,className:"bg-background relative w-full py-12 lg:py-24",children:T}),I[36]=$,I[37]=T,I[38]=q):q=I[38],q}}
1,36629:(e,t,n)=>{n.d(t,{CtaBgSmallLogo:()=>u});var l=n(58986),a=n(34978),i=n(18934),s=n(9211),r=n(34703),o=n(77483),c=n(3682),d=n(94366);function u(e){let t,n,u,m,x,p,h,g,f,y,b,v=(0,a.c)(24),{title:j,richText:w,buttons:N,image:_,logo:S,sectionParameters:z}=e,k=null==z?void 0:z.sectionId;return v[0]!==_?(t=_&&(0,l.jsxs)("div",{className:"",children:[(0,l.jsx)(r.s,{image:_,fill:!0,className:"object-cover object-[20%_50%] md:object-left",sizes:"100vw",quality:100}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-white/70 to-black/30 sm:hidden"})]}),v[0]=_,v[1]=t):t=v[1],v[2]!==S?(n=S&&(0,l.jsx)(d.P.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:1.3},className:"max-w-40 md:max-w-72 lg:max-w-96",children:(0,l.jsx)(r.s,{image:S})}),v[2]=S,v[3]=n):n=v[3],v[4]!==j?(u=(0,l.jsx)(o.DZ,{className:"h3 text-center font-bold uppercase sm:text-right",children:(0,l.jsx)(c.default,{text:j,direction:"top",animateBy:"words",rootMargin:"-50px",className:"justify-center sm:justify-end"})}),v[4]=j,v[5]=u):u=v[5],v[6]===Symbol.for("react.memo_cache_sentinel")?(m={opacity:0,y:20},x={opacity:1,y:0},p={duration:1.3},v[6]=m,v[7]=x,v[8]=p):(m=v[6],x=v[7],p=v[8]),v[9]!==w?(h=(0,l.jsx)(d.P.div,{initial:m,animate:x,transition:p,className:"",children:(0,l.jsx)(i.s,{richText:w,className:"text_component text-base lg:text-lg"})}),v[9]=w,v[10]=h):h=v[10],v[11]!==N?(g=(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsx)(s.SanityButtons,{buttons:N,buttonClassName:"w-auto",className:"mb-8 grid w-full gap-2 sm:w-fit sm:grid-flow-col lg:justify-start"})}),v[11]=N,v[12]=g):g=v[12],v[13]!==n||v[14]!==u||v[15]!==h||v[16]!==g?(f=(0,l.jsxs)("div",{className:"relative z-20 flex max-w-[90%] flex-col items-center justify-between gap-3 sm:max-w-[50%] sm:items-end xl:max-w-[70%]",children:[n,u,h,g]}),v[13]=n,v[14]=u,v[15]=h,v[16]=g,v[17]=f):f=v[17],v[18]!==f||v[19]!==t?(y=(0,l.jsxs)("div",{className:"rounded-4xl relative mx-auto flex min-h-[16rem] max-w-[55rem] flex-col items-center justify-center overflow-hidden px-12 py-8 sm:min-h-[27rem] sm:items-end md:p-14 lg:max-w-[81.25rem] lg:p-14",children:[t,f]}),v[18]=f,v[19]=t,v[20]=y):y=v[20],v[21]!==k||v[22]!==y?(b=(0,l.jsx)("div",{id:k,className:"w-full overflow-hidden px-6 py-16 lg:py-24",children:y}),v[21]=k,v[22]=y,v[23]=b):b=v[23],b}},36893:(e,t,n)=>{n.d(t,{BlogFaqsDefault:()=>E});var l=n(58986),a=n(93406),i=n(97342),s=n(31345),r=n(33839),o=n(82033),c=n(71094),d=n(77483),u=n(29897),m=n(58949),x=n(22750),p=n(1496),h=n(83669),g=n(56995),f=n.n(g),y=n(6050),b=n(53640),v=n(45478);let j=(0,v.createServerReference)("7fad0e534069e947e381e28521136050630a18b2da",v.callServer,void 0,v.findSourceMapURL,"blogFaqsFormAction");var w=n(40390),N=n(9795),_=n(86548),S=n(24515),z=n(12465);function k(e){let{title:t,privacyPolicy:n}=e,[a,g]=(0,y.useState)(!1),[v,k]=(0,y.useState)(null),P="https://rvseguros26.vercel.app"+(0,_.usePathname)(),{t:C,i18n:T}=(0,z.Bd)("forms"),q=T.language,I=(0,y.useMemo)(()=>w.Ikc({locale:w.YjP().optional(),type:N.HA,url:w.YjP().optional(),name:w.YjP({message:C("common.validation.nameRequired")}).min(2,{message:C("common.validation.nameMinLength")}),email:w.Rpp({message:C("common.validation.emailInvalid")}),message:w.YjP({message:C("common.validation.messageRequired")}).min(10,{message:C("common.validation.messageMinLength")}),terms:(0,N.kv)(C)}),[C]),D=(0,b.mN)({resolver:(0,i.u)(I),defaultValues:{locale:q,type:"blogFaqs",url:P,name:"",email:"",message:"",terms:!1}}),{execute:M,isExecuting:L}=(0,h.y)(j,{onSuccess:e=>{let{data:t}=e;t&&"object"==typeof t&&"success"in t&&t.success?(g(!0),D.reset(),k(null),(0,S.sendGTMEvent)({event:"faqs_success"})):k(t&&"object"==typeof t&&"message"in t?String(t.message):C("blogFaqs.errors.submit"))},onError:()=>{k(C("blogFaqs.errors.submit"))}});function B(e){k(null),M(e)}return((0,y.useEffect)(()=>{if(a){var e;null==(e=document.getElementById("blog-faqs-form-success"))||e.scrollIntoView({behavior:"smooth"})}},[a]),a)?(0,l.jsx)(c.A,{id:"blog-faqs-form-success",title:C("blogFaqs.success.title"),message:C("blogFaqs.success.message")}):(0,l.jsxs)("div",{"data-noindex":!0,id:"blog-faqs-form",className:"bg-card scroll-mt-24 px-6 py-8 md:rounded-2xl md:px-8 md:py-10",children:[t&&(0,l.jsx)(d.DZ,{className:"gradient-text pb-6 text-center text-4xl font-bold uppercase lg:text-left",children:t}),(0,l.jsx)(m.lV,{...D,children:(0,l.jsxs)("form",{onSubmit:e=>{e.preventDefault(),D.handleSubmit(B)()},className:"bg-card space-y-6",children:[(0,l.jsx)(x.p,{type:"hidden",name:"type",value:"blogFaqs"}),(0,l.jsx)(x.p,{type:"hidden",name:"url",value:P}),(0,l.jsx)(m.zB,{control:D.control,name:"name",render:e=>{let{field:t}=e;return(0,l.jsxs)(m.eI,{children:[(0,l.jsxs)(m.lR,{className:"text-foreground font-bold",children:[C("common.labels.name"),(0,l.jsx)(s.A,{error:D.formState.errors.name})]}),(0,l.jsx)(m.MJ,{className:"placeholder:text-placeholder border-border bg-background focus-within:border-accent h-14 roun
1ded-full",children:(0,l.jsx)(x.p,{autoComplete:"given-name",placeholder:C("common.labels.name"),"aria-label":C("common.labels.name"),className:"text-black",...t})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:D.control,name:"email",render:e=>{let{field:t}=e;return(0,l.jsxs)(m.eI,{children:[(0,l.jsxs)(m.lR,{className:"text-foreground font-bold",children:[C("common.labels.email"),(0,l.jsx)(s.A,{error:D.formState.errors.email})]}),(0,l.jsx)(m.MJ,{className:"placeholder:text-placeholder border-border bg-background focus-within:border-accent h-14 rounded-full",children:(0,l.jsx)(x.p,{autoComplete:"email",type:"email",placeholder:C("common.labels.email"),"aria-label":C("common.labels.email"),className:"text-black",...t})}),(0,l.jsx)(m.C5,{})]})}}),(0,l.jsx)(m.zB,{control:D.control,name:"message",render:e=>{let{field:t}=e;return(0,l.jsxs)(m.eI,{children:[(0,l.jsxs)(m.lR,{className:"text-foreground font-bold",children:[C("blogFaqs.labels.message.title"),(0,l.jsx)(s.A,{error:D.formState.errors.message})]}),(0,l.jsx)(m.MJ,{className:"placeholder:text-placeholder border-border bg-background focus-within:border-accent rounded-3xl",children:(0,l.jsx)(p.T,{placeholder:C("blogFaqs.placeholders.message"),className:"min-h-[120px] text-black","aria-label":C("blogFaqs.labels.message.title"),...t})}),(0,l.jsx)(m.C5,{})]})}}),v&&(0,l.jsx)("div",{className:"bg-destructive/10 text-destructive rounded-lg p-4 text-sm",children:v}),(0,l.jsxs)("div",{className:"text-sm text-black",children:[C("common.labels.privacyPolicy.p1"),(0,l.jsx)(f(),{href:(0,r.k)(n)||"/politica-de-privacidade",className:"hover:text-accent pl-1 text-black underline",target:"_blank",rel:"noopener noreferrer","aria-label":C("common.labels.privacyPolicy.ariaLabelLink"),title:C("common.labels.privacyPolicy.titleLink"),children:C("common.labels.privacyPolicy.p2")})," ",C("common.labels.privacyPolicy.p3")]}),(0,l.jsx)(m.zB,{control:D.control,name:"terms",render:e=>{let{field:t}=e;return(0,l.jsxs)(m.eI,{className:"relative flex flex-col items-start justify-center pl-8",children:[(0,l.jsxs)("div",{className:"space-y-1 leading-none",children:[(0,l.jsx)(m.lR,{className:"cursor-pointer text-sm font-bold text-black",children:C("common.labels.privacyPolicy.p4")}),(0,l.jsx)(m.C5,{})]}),(0,l.jsx)(m.MJ,{className:"border-border",children:(0,l.jsx)(u.S,{checked:t.value,onCheckedChange:t.onChange,className:"border-foreground absolute left-0 top-0 rounded-full","aria-label":C("common.labels.privacyPolicy.ariaLabel"),title:C("common.labels.privacyPolicy.title")})})]})}}),(0,l.jsx)("div",{className:"flex justify-center md:justify-start",children:(0,l.jsx)(o.A,{type:"button",loading:L,text:C("blogFaqs.buttons.submit"),onClick:()=>D.handleSubmit(B)()})})]})})]})}var P=n(39686),C=n(18934),T=n(9211),q=n(34703),I=n(48864),D=n(47350),M=n(67928),L=n(94366),B=n(94738),R=n(73992),V=n(71583),A=n(99551);function E(e){let{title:t,blogFaqs:n,buttons:i,eyebrow:s,eyebrowPosition:r,richText:o,formImage:c,blogFaqCount:u,sectionParameters:m,privacyPolicy:x}=e,[p,h]=(0,y.useTransition)(),[g,f]=(0,V.ZA)("faqsLimit",V.GJ.withDefault(5).withOptions({startTransition:h,shallow:!1}));if(!n||0===n.length)return null;let[b,v]=(0,y.useState)(0),j=(0,y.useRef)([]);return(0,y.useEffect)(()=>{let e=()=>{let e=0;j.current.forEach((t,n)=>{t&&t.getBoundingClientRect().top<=400&&(e=n)}),v(e)};e();let t=!1,n=()=>{t||(requestAnimationFrame(()=>{e(),t=!1}),t=!0)};return window.addEventListener("scroll",n,{passive:!0}),()=>{window.removeEventListener("scroll",n)}},[]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("section",{id:null==m?void 0:m.sectionId,className:"bg-card text-background relative py-12 lg:py-24",children:(0,l.jsxs)(a.m,{className:"max-w-[63rem]",children:[(0,l.jsx)(d.R2,{position:r,theme:"gray",children:s}),(0,l.jsx)(L.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:"mx-auto max-w-[56rem] overflow-hidden px-8 pt-10",children:(0,l.jsx)(d.DZ,{className:"gradient-text m-0 text-center uppercase",children:t})}),n.length>0&&(0,l.jsxs)("div",{className:"relative grid w-full items-start gap-x-8 gap-y-16 pt-9 transition-opacity data-[pending=true]:animate-pulse data-[pending=true]:opacity-50 md:auto-cols-[1fr] md:grid-cols-[max-content_1fr] lg:pt-16","data-
1pending":p?"true":"false",children:[(0,l.jsx)("div",{className:"sticky top-[20%] hidden h-[9rem] overflow-hidden md:flex md:pt-5",children:(0,l.jsx)("div",{className:"animate_number",children:(0,l.jsx)(A.z,{value:b+1,className:"text-accent text-7xl font-normal leading-[8rem] lg:text-9xl",maxValue:n.length})})}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-16 gap-y-10",children:n.map((e,t)=>(0,l.jsxs)("div",{className:"w-full",ref:e=>{j.current[t]=e},children:[(0,l.jsx)("div",{className:"text-accent flex items-center justify-start gap-0 text-4xl font-normal sm:text-5xl md:hidden lg:leading-[9rem]",children:(0,l.jsx)("span",{children:(t+1).toString().padStart(2,"0")})}),(0,l.jsxs)(I.nD,{type:"single",collapsible:!0,children:[(0,l.jsxs)(I.As,{value:"blog-faq-".concat(e._id),className:"border-0 pb-14",children:[(0,l.jsxs)(I._$,{className:"text-foreground w-full text-left lg:pb-0",children:[(0,l.jsx)(d.DZ,{as:"h3",className:"text-foreground m-0 w-full items-end pb-5 pr-16 pt-2 text-left text-lg font-bold",children:e.question}),(0,l.jsx)("div",{className:"w-full",children:(e.name||e.date)&&(0,l.jsxs)("p",{className:"text-foreground text-sm",children:[e.name,e.name&&e.date&&" • ",e.date&&new Date(e.date).toLocaleDateString("pt-PT",{day:"2-digit",month:"long",year:"numeric"})]})})]}),e.answer&&(0,l.jsxs)(I.ub,{className:"mt-10 rounded-2xl bg-white px-10 pb-10 pt-6",children:[(0,l.jsx)("div",{className:"bg-accent mb-6 size-8 rounded-full pl-0.5 pt-1",children:(0,l.jsx)(P.A,{className:"size-6"})}),(0,l.jsx)(C.s,{richText:e.answer,className:"text-foreground text-left text-sm"})]})]}),(0,l.jsx)(A.S,{isActive:b===t})]})]},e._id))})]}),n.length<u&&(0,l.jsx)("div",{className:"flex justify-center pt-8",children:(0,l.jsx)(D.$,{variant:"default",onClick:()=>f(g+5),className:"group/button relative overflow-hidden",disabled:p,children:(0,l.jsxs)("span",{className:"border-primary bg-primary group-hover/button:bg-background relative flex min-h-12 w-full items-center justify-center rounded-full border",children:[(0,l.jsx)("span",{className:"text-background group-hover/button:text-foreground w-full py-2 pl-6 pr-20 font-bold transition-all duration-300 group-hover/button:pl-20 group-hover/button:pr-6",children:"Ver Mais"}),(0,l.jsx)("span",{className:(0,M.cn)("absolute right-2.5 top-[calc(50%-1rem)] flex h-8 w-8 items-center justify-center rounded-full transition-all duration-300","border-background bg-background text-foreground group-hover/button:border-foreground border","group-hover/button:bg-foreground group-hover/button:text-background group-hover/button:right-[calc(100%-2.5rem)]"),children:p?(0,l.jsx)(B.A,{className:"h-4 w-4 animate-spin"}):(0,l.jsx)(R.A,{className:"h-4 w-4"})})]})})}),(0,l.jsx)(T.SanityButtons,{buttons:i})]})}),(0,l.jsx)("section",{className:"text-background bg-background relative py-12 lg:py-20",children:(0,l.jsx)(a.m,{children:(0,l.jsxs)("div",{className:"rounded-4xl bg-card grid grid-cols-1 items-center gap-8 overflow-hidden lg:grid-cols-5",children:[c&&(0,l.jsx)("div",{className:"aspect-[7/6] h-full overflow-hidden lg:col-span-2 lg:aspect-auto lg:max-h-full",children:(0,l.jsx)(q.s,{image:c,className:"h-full w-full object-cover object-top"})}),(0,l.jsxs)("div",{className:" ".concat(c?"lg:col-span-3":"lg:col-span-5"),children:[(0,l.jsx)(d.hj,{richText:o,className:"text-foreground px-6 md:px-8"}),(0,l.jsx)(k,{privacyPolicy:x})]})]})})})]})}},38120:(e,t,n)=>{n.d(t,{BlogPostsCustom:()=>h});var l=n(58986),a=n(34978),i=n(82656),s=n(15177),r=n(93406),o=n(9211),c=n(77483),d=n(94103),u=n(38280),m=n(67928),x=n(94366),p=n(12465);function h(e){let t,n,i,h,f,y,b,v,j,w,N,_,S,z,k,P,C=(0,a.c)(34),{title:T,eyebrow:q,eyebrowPosition:I,eyebrowTheme:D,posts:M,blogLayout:L,richText:B,buttons:R,sectionStyles:V,sectionParameters:A}=e,{t:E}=(0,p.Bd)();if(!M||0===M.length)return null;let F=null==A?void 0:A.sectionId;return C[0]!==V?(t=(0,m.cn)("relative w-full overflow-x-clip py-12 lg:py-24",(0,d.aU)(V)),C[0]=V,C[1]=t):t=C[1],C[2]!==q||C[3]!==I||C[4]!==D?(n=(0,l.jsx)(c.R2,{position:I,theme:D,children:q}),C[2]=q,C[3]=I,C[4]=D,C[5]=n):n=C[5],C[6]===Symbol.for("react.memo_cache_sentinel")?(i={opacity:.5,y:20,filter:"blur(0.5rem)"},h={opacity:1,y:0,filter:"blur(0rem)"},f={duration:1},y={once:!0},C[6]=i,C[7]=h,C[8]=f,C[9]=y):(i=C[6],h=C[7],f=C[8],y=C[9]),C[10]!==T?(b=(0,l.jsx)(x.P.div,{initial:i,whileInView:h,transition:f,viewport:y,children:(0,l.jsx)(c.DZ,{className:"gradient-text mx-auto max-w-3xl text-center font-bold uppercase",children:T})}),C[10]=T,C[11]=b):b=C[11],C[12]===Symbol.for("react.memo_cache_sentinel")?(N={opacity:.5,y:20,filter:"blur(0.5rem)"},v={opacity:1,y:0,filter:"blur(0rem)"},j={duration:1,delay:.3},w={once:!0},C[12]=v,C[13]=j,C[14]=w,C[15]=N):(v=C[12],j=C[13],w=C[14],N=C[15]),C[16]!==B?(_=(0,l.jsx)(x.P.div,{initial:N,whileInView:v,transition:j,viewport:w,children:(0,l.jsx)(c.hj,{r
1ichText:B,className:"mb-14 text-center text-base sm:text-lg"})}),C[16]=B,C[17]=_):_=C[17],C[18]!==L||C[19]!==M||C[20]!==E?(S=L?(0,l.jsx)("div",{className:"pt-14 transition-opacity data-[pending=true]:animate-pulse data-[pending=true]:opacity-50",children:(0,l.jsxs)(u.Carousel,{spacingMobile:"3",spacingTablet:"4",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:!1,dots:"always",align:"start",loop:!0,opts:{loop:!1},arrowsPosition:"bottom",arrows:"always",overflow:"visible",autoWidth:!0,children:[(0,l.jsx)(u.CarouselContent,{children:M.map((e,t)=>{var n,a;return(0,l.jsx)(u.CarouselItem,{className:"max-w-[22.5rem] sm:max-w-[27.5rem]",children:(0,l.jsx)(x.P.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},transition:{duration:.2,delay:.1*t,ease:"easeInOut"},viewport:{once:!0},className:"h-full",children:(0,l.jsx)(s.e,{image:e.image,title:e.title,eyebrow:null!=(a=null==(n=e.categories[0])?void 0:n.title)?a:"",buttonTitle:E("sections.blog.readArticle"),slug:e.slug})})},e._id||e._id)})}),(0,l.jsx)(u.ZZ,{className:"relative mt-20",variant:"blue"})]})}):(0,l.jsx)("div",{className:"pt-14 transition-opacity data-[pending=true]:animate-pulse data-[pending=true]:opacity-50",children:(0,l.jsxs)(u.Carousel,{spacingMobile:"3",spacingTablet:"4",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:!1,dots:"always",align:"start",loop:!0,opts:{loop:!1},arrowsPosition:"bottom",arrows:"always",overflow:"visible",autoWidth:!0,children:[(0,l.jsx)(u.CarouselContent,{children:M.map(g)}),(0,l.jsxs)("div",{className:"relative bottom-0 left-0 right-0 mt-10 flex justify-end",children:[(0,l.jsx)(u.CarouselPrevious,{}),(0,l.jsx)(u.CarouselNext,{})]})]})}),C[18]=L,C[19]=M,C[20]=E,C[21]=S):S=C[21],C[22]!==R?(z=R&&R.length>0&&(0,l.jsx)(o.SanityButtons,{buttons:R,className:"flex justify-center pt-16"}),C[22]=R,C[23]=z):z=C[23],C[24]!==_||C[25]!==S||C[26]!==z||C[27]!==n||C[28]!==b?(k=(0,l.jsxs)(r.m,{children:[n,b,_,S,z]}),C[24]=_,C[25]=S,C[26]=z,C[27]=n,C[28]=b,C[29]=k):k=C[29],C[30]!==F||C[31]!==k||C[32]!==t?(P=(0,l.jsx)("section",{id:F,className:t,children:k}),C[30]=F,C[31]=k,C[32]=t,C[33]=P):P=C[33],P}function g(e,t){return(0,l.jsx)(u.CarouselItem,{className:"max-w-[22.5rem] sm:max-w-[27.5rem]",children:(0,l.jsx)(x.P.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},transition:{duration:.2,delay:.1*t,ease:"easeInOut"},viewport:{once:!0},className:"h-full",children:(0,l.jsx)(i.BlogCard,{post:e,isFeatured:!1})})},e._id||e._id)}},38850:(e,t,n)=>{n.d(t,{CentralImageGridOverlap:()=>b});var l=n(58986),a=n(34978),i=n(38344),s=n(18934),r=n(9211),o=n(34703),c=n(77483),d=n(58730),u=n(3682),m=n(67928),x=n(94366),p=n(6050),h=n(98572),g=n(89011),f=n(81736);function y(e){let t,n,i,s,r,c,d,u,m,y,b,v,j=(0,a.c)(22),{video:w,videoSafari:N,image:_}=e,[S,z]=(0,p.useState)(w),k=(0,p.useRef)(null),P=(0,p.useRef)(null),C=(0,p.useRef)(null);j[0]!==N?(t=()=>{if(navigator.userAgent){let e=navigator.userAgent.toLowerCase();(e.includes("safari")&&!e.includes("chrome")&&!e.includes("crios")&&!e.includes("fxios")||/^((?!chrome|android|fxios|crios).)*safari/i.test(navigator.userAgent))&&(null==N?void 0:N.url)&&z(N)}},j[0]=N,j[1]=t):t=j[1],j[2]===Symbol.for("react.memo_cache_sentinel")?(n=[],j[2]=n):n=j[2],(0,p.useEffect)(t,n),j[3]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{let e=P.current;e&&e.pause()},j[3]=i):i=j[3],j[4]!==S?(s=[S],j[4]=S,j[5]=s):s=j[5],(0,p.useEffect)(i,s);let T=_&&!S?k:void 0;j[6]===Symbol.for("react.memo_cache_sentinel")?(r=["start end","end start"],j[6]=r):r=j[6],j[7]!==T?(c={target:T,offset:r},j[7]=T,j[8]=c):c=j[8];let{scrollYProgress:q}=(0,h.L)(c);j[9]!==_?(d=e=>_?"translateY(".concat(-50*e,"px) translateX(").concat(-120*e,"px)"):"none",j[9]=_,j[10]=d):d=j[10];let I=(0,g.G)(q,d);j[11]===Symbol.for("react.memo_cache_sentinel")?(u={target:C,offset:["start end","end start"]},j[11]=u):u=j[11];let{scrollYProgress:D}=(0,h.L)(u);return j[12]===Symbol.for("react.memo_cache_sentinel")?(m=e=>{let t=P.current;t&&t.readyState>=2&&(t.currentTime=t.duration*e)},j[12]=m):m=j[12],(0,f.L)(D,"change",m),j[13]!==S?(y=S&&S.url?(0,l.jsx)("div",{className:"relative mx-auto w-full max-w-[16rem] sm:mr-0 lg:max-w-[20rem] xl:max-w-[30rem]",ref:C,children:(0,l.jsx)("video",{ref:P,muted:!0,playsInl
1ine:!0,preload:"auto",loop:!0,src:S.url,className:"aspect-[16/25] w-full object-contain"})}):(0,l.jsx)("div",{ref:C,className:"hidden",children:(0,l.jsx)("div",{})}),j[13]=S,j[14]=y):y=j[14],j[15]!==_||j[16]!==I||j[17]!==S?(b=_&&!S&&(0,l.jsx)(x.P.div,{ref:k,className:"relative mx-auto w-full max-w-[16rem] sm:mr-0 lg:max-w-[20rem] xl:max-w-[30rem]",initial:{opacity:0,filter:"blur(0.5rem)"},whileInView:{opacity:1,filter:"blur(0rem)"},transition:{duration:1.2,delay:.1,ease:"easeInOut"},viewport:{once:!0},style:{transform:I},children:(0,l.jsx)(o.s,{image:_,className:"h-full w-full object-contain"})}),j[15]=_,j[16]=I,j[17]=S,j[18]=b):b=j[18],j[19]!==y||j[20]!==b?(v=(0,l.jsxs)(l.Fragment,{children:[y,b]}),j[19]=y,j[20]=b,j[21]=v):v=j[21],v}function b(e){let t,n,h,g,f,b,v,j,w,N,_,S,z,k,P,C,T,q,I,D=(0,a.c)(51),{eyebrow:M,eyebrowPosition:L,title:B,richText:R,video:V,videoSafari:A,image:E,imageTitle:F,logo:Z,items:$,disclaimers:H,buttons:O,noGap:G}=e,U=(0,d.a)(1024),[Y,W]=(0,p.useState)(!1);D[0]!==U?(t=()=>{W(null!=U&&U)},n=[U],D[0]=U,D[1]=t,D[2]=n):(t=D[1],n=D[2]),(0,p.useEffect)(t,n),D[3]!==Z?(h=Z&&(0,l.jsx)("div",{className:"mb-4 flex justify-center",children:(0,l.jsx)(o.s,{image:Z,className:"mx-auto max-w-80"})}),D[3]=Z,D[4]=h):h=D[4],D[5]!==M||D[6]!==L?(g=(0,l.jsx)(c.R2,{position:L,children:M}),D[5]=M,D[6]=L,D[7]=g):g=D[7],D[8]===Symbol.for("react.memo_cache_sentinel")?(f={opacity:.5,y:20,filter:"blur(1rem)"},b={opacity:1,y:0,filter:"blur(0rem)"},v={duration:1},j={once:!0,margin:"-200px 0px"},D[8]=f,D[9]=b,D[10]=v,D[11]=j):(f=D[8],b=D[9],v=D[10],j=D[11]),D[12]!==B?(w=(0,l.jsx)(x.P.div,{initial:f,whileInView:b,transition:v,viewport:j,className:"mx-auto max-w-[67rem] overflow-hidden",children:(0,l.jsx)(c.DZ,{className:"gradient-text m-0 text-center uppercase",children:B})}),D[12]=B,D[13]=w):w=D[13],D[14]!==R?(N=(0,l.jsx)(s.s,{richText:R,className:"mx-auto max-w-[50rem] pt-16 text-center"}),D[14]=R,D[15]=N):N=D[15],D[16]!==F?(_=(0,l.jsx)("div",{className:"mt-12 w-full lg:mt-24",children:(0,l.jsx)(c.DZ,{as:"h3",className:"h2 text-center font-bold uppercase",children:(0,l.jsx)(u.default,{text:F,direction:"top",animateBy:"words",rootMargin:"-50px",className:"justify-center"})})}),D[16]=F,D[17]=_):_=D[17];let Q=!G&&"mt-12";return D[18]!==Q?(S=(0,m.cn)("relative w-full",Q),D[18]=Q,D[19]=S):S=D[19],D[20]!==E||D[21]!==Y||D[22]!==G||D[23]!==V||D[24]!==A?(z=!Y&&(G?(0,l.jsx)("div",{className:"pointer-events-none sm:absolute sm:right-0 sm:top-1/2 sm:w-1/2 sm:-translate-y-1/2",children:(0,l.jsx)(y,{video:V,videoSafari:A,image:E})}):(0,l.jsx)(y,{video:V,videoSafari:A,image:E})),D[20]=E,D[21]=Y,D[22]=G,D[23]=V,D[24]=A,D[25]=z):z=D[25],D[26]!==E||D[27]!==Y||D[28]!==$||D[29]!==G||D[30]!==V?(k=$&&$.length>0&&(0,l.jsx)("div",{className:(0,m.cn)("grid w-full gap-8 sm:grid-cols-2 sm:gap-y-16 lg:gap-y-28 xl:gap-y-36",G&&"sm:gap-y-4 lg:gap-y-6 xl:gap-y-8",!Y&&(E||V)&&!G?"sm:absolute sm:left-0 sm:top-0 xl:top-10":""),children:$.map((e,t)=>(0,l.jsxs)(x.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:1.2+.1*t},viewport:{once:!0},className:(0,m.cn)("flex flex-col gap-1",!Y&&E&&"sm:col-span-2 sm:max-w-[20rem]"),children:[(0,l.jsx)("div",{className:"w-full text-center sm:text-left",children:(0,l.jsx)(i.N,{icon:e.icon,className:"text-primary mx-auto block h-12 w-12 sm:mx-0"})}),(0,l.jsx)(c.DZ,{as:"h3",className:"h4 mb-4 mt-1 text-center font-bold sm:text-left",children:(0,l.jsx)(u.default,{text:e.title,direction:"top",animateBy:"words",rootMargin:"-50px",className:"justify-center sm:justify-start"})}),(0,l.jsx)(s.s,{richText:e.description,className:"text-center text-base sm:text-left"})]},t))}),D[26]=E,D[27]=Y,D[28]=$,D[29]=G,D[30]=V,D[31]=k):k=D[31],D[32]!==S||D[33]!==z||D[34]!==k?(P=(0,l.jsxs)("div",{className:S,children:[z,k]}),D[32]=S,D[33]=z,D[34]=k,D[35]=P):P=D[35],D[36]!==_||D[37]!==P?(C=(0,l.jsxs)("div",{className:"mx-auto max-w-[60rem]",children:[_,P]}),D[36]=_,D[37]=P,D[38]=C):C=D[38],D[39]!==H?(T=H&&(0,l.jsxs)(x.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:2.8},viewport:{once:!0},className:"w-full space-y-4 pt-14 text-center",children:[H.disclaimerTop&&(0,l.jsx)(s.s,{richText:H.disclaimerTop,className:"text-popover text-sm"}),H.disclaimerBottom&&(0,l.jsx)(s.s,{richText:H.disclaimerBottom,className:"text-popover text-sm"})]}),D[39]=H,D[40]=T):T=D[40],D[41]!==O?(q=O&&O.length>0&&(0,l.jsx)(x.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:1.5},viewport:{once:!0},className:"mt-10 flex justify-center",children:(0,l.jsx)(r.SanityButtons,{buttons:O})}),D[41]=O,D[42]=q):q=D[42],D[43]!==N||D[44]!==C||D[45]!==T||D[46]!==q||D[47]!==h||D[48]!==g||D[49]!==w?(I=(0,l.jsx)("div",{className:"w-full overflow-hidden py-12 lg:py-24",children:(0,l.jsx)("div",{className:"w-full px-6 lg:px-12 2xl:px-24",children:(0,l.jsx)("div",{className:"rounded-4xl w-full bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] bg-cover bg-center px-8 py-14 md:px-20 lg:px-24 lg:py-20",children:(0,l.jsxs)("div",{className:"mx-auto w-full max-w-[78.25rem]",children:[h,g,w,N,C,T,q]})})})}),D[43]=N,D[44]=C,D[45]=T,D[46]=q,D[47]=h,D[48]=g,D[49]=w,D[50]=I):I=D[50],I}},41027:(e,t,n)=>{n.d(t,{HistoryTitle:()=>m});var l=n(58986),a=n(34978),i=n(77483),s=n(67928),r=n(89011),o=n(94366),c=n(98572),d=n(6050);let u=e=>{let t,n,i,s,c,d,u,m=(0,a.c)(13),{children:x,progress:p,range:h}=e;m[0]===Symbol.for("react.memo_cache_sentinel")?(t=["blur(0em)","blur(0.1em)"],m[0]=t):t=m[0];let g=(0,r.G)(p,h,t);m[1]===Symbol.for("react.memo_cache_sentinel")?(n=[1,0],m[1]=n):n=m[1];let f=(0,r.G)(p,h,n);m[2]===Symbol.for("react.memo_cache_sentinel")?(i=[0,-500],m[2]=i):i=m[2];let y=(0,r.G)(p,h,i);m[3]===Symbol.for("react.memo_cache_sentinel")?(s=[0,-600],m[3]=s):s=m[3];let b=(0,r.G)(p,h,s);return m[4]!==g||m[5]!==f||m[6]!==y||m[7]!==b?(c={opacity:f,x:y,y:b,filter:g},m[4]=g,m[5]=f,m[6]=y,m[7]=b,m[8]=c):c=m[8],m[9]===Symbol.for("react.memo_cache_sentinel")?(d={type:"spring",duration:.5,stiffness:300,damping:10},m[9]=d):d=m[9],m[10]!==x||m[11]!==c?(u=(0,l.jsx)("span",{className:"relative",children:(0,l.jsx)(o.P.span,{style:c,transition:d,className:"inline-block",children:x})}),m[10]=x,m[11]=c,m[12]=u):u=m[12],u};function m(e){let t,n,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I,D,M,L,B,R,V=(0,a.c)(47),{title:A,theme:E}=e,F={gray:"from-muted to-accent bg-gradient-to-b text-background",white:"bg-background text-foreground "},Z=(0,d.useRef)(null),$=(0,d.useRef)(null);V[0]===Symbol.for("react.memo_cache_sentinel")?(t={target:Z},V[0]=t):t=V[0];let{scrollYProgress:H}=(0,c.L)(t);V[1]===Symbol.for("react.memo_cache_sentinel")?(n={target:Z,offset:["50% end","end 10%"]},V[1]=n):n=V[1];let{scrollYProgress:O}=(0,c.L)(n);V[2]===Symbol.for("react.memo_cache_sentinel")?(m=[0,1],x=["polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%)","polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)"],V[2]=m,V[3]=x):(m=V[2],x=V[3]);let G=(0,r.G)(H,m,x);V[4]===Symbol.for("react.memo_cache_sentinel")?(p=[0,.01],h=[1,0],V[4]=p,V[5]=h):(p=V[4],h=V[5]);let U=(0,r.G)(H,p,h);V[6]===Symbol.for("react.memo_cache_sentinel")?(g=[0,1],f=["0%","-100%"],V[6]=g,V[7]=f):(g=V[6],f=V[7]);let Y=(0,r.G)(H,g,f);if(!A)return null;let W=null==A?void 0:A.split("");V[8]!==Y?(y={x:Y},V[8]=Y,V[9]=y):y=V[9],V[10]===Symbol.for("react.memo_cache_sentinel")?(b={opacity:0,y:50},v={opacity:1,y:0},j={duration:1,delay:.5},w={once:!0}
1,V[10]=b,V[11]=v,V[12]=j,V[13]=w):(b=V[10],v=V[11],j=V[12],w=V[13]),V[14]!==U?(N={opacity:U},V[14]=U,V[15]=N):N=V[15],V[16]!==A?(_=(0,l.jsx)(i.DZ,{className:"flex items-center text-nowrap text-[7rem] md:text-[14rem] xl:text-[30vw] 2xl:text-[31.25rem]",children:A}),V[16]=A,V[17]=_):_=V[17],V[18]!==N||V[19]!==_?(S=(0,l.jsx)("div",{className:"relative flex min-h-screen min-w-full items-center justify-center text-center",children:(0,l.jsx)(o.P.div,{className:"",initial:b,whileInView:v,transition:j,viewport:w,children:(0,l.jsx)(o.P.div,{className:"relative z-40",style:N,children:_})})}),V[18]=N,V[19]=_,V[20]=S):S=V[20];let Q="gray"===E?"text-background":"text-foreground";V[21]!==Q?(z=(0,s.cn)("absolute left-0 top-0 z-20 flex min-h-screen min-w-full items-center justify-center text-center",Q),V[21]=Q,V[22]=z):z=V[22],V[23]===Symbol.for("react.memo_cache_sentinel")?(k={opacity:0,y:50},P={opacity:1,y:0},C={duration:1,delay:.5},T={once:!0},V[23]=k,V[24]=P,V[25]=C,V[26]=T):(k=V[23],P=V[24],C=V[25],T=V[26]),V[27]!==A?(q=(0,l.jsx)(o.P.div,{className:"",initial:k,whileInView:P,transition:C,viewport:T,children:(0,l.jsx)(i.DZ,{className:"text-nowrap text-[7rem] md:text-[14rem] xl:text-[30vw] 2xl:text-[31.25rem]",children:A})}),V[27]=A,V[28]=q):q=V[28],V[29]!==z||V[30]!==q?(I=(0,l.jsx)(o.P.div,{className:z,children:q}),V[29]=z,V[30]=q,V[31]=I):I=V[31];let J=o.P,K=(0,s.cn)("absolute left-0 top-0 z-30 flex min-h-screen min-w-full items-center justify-center text-center",F["gray"===E?"white":"gray"]);V[32]!==G?(D={clipPath:G},V[32]=G,V[33]=D):D=V[33];let X=i.DZ,ee="gray"===E?"text-foreground":"text-background";V[34]!==ee?(M=(0,s.cn)("text-background text-nowrap text-[7rem] md:text-[14rem] xl:text-[30vw] 2xl:text-[31.25rem]",ee),V[34]=ee,V[35]=M):M=V[35];let et=W.map((e,t)=>{let n=.55+t/W.length*.06749999999999999,a=Math.min(1,n+.12);return(0,l.jsx)(u,{progress:O,range:[n,a],children:e},t)});return V[36]!==et?(L=(0,l.jsx)("span",{ref:$,children:et}),V[36]=et,V[37]=L):L=V[37],V[38]!==X||V[39]!==M||V[40]!==L?(B=(0,l.jsx)(X,{className:M,children:L}),V[38]=X,V[39]=M,V[40]=L,V[41]=B):B=V[41],V[42]!==J.div||V[43]!==K||V[44]!==D||V[45]!==B?(R=(0,l.jsx)(J.div,{className:K,style:D,children:B}),V[42]=J.div,V[43]=K,V[44]=D,V[45]=B,V[46]=R):R=V[46],(0,l.jsx)("div",{ref:Z,className:"relative h-[200vh]",children:(0,l.jsxs)("div",{className:"sticky top-0 min-h-screen overflow-hidden",children:[(0,l.jsx)(o.P.div,{style:y,className:(0,s.cn)("flex w-full min-w-full items-start lg:min-h-screen",F[E]),children:S}),I,R]})})}},41476:(e,t,n)=>{n.d(t,{SlidersStory:()=>p});var l=n(58986);n(34978);var a=n(93406),i=n(18934),s=n(9211);n(34703);var r=n(77483),o=n(58730),c=n(38280),d=n(55721),u=n(94366),m=n(6050),x=n(81627);function p(e){let{title:t,eyebrow:n,eyebrowPosition:p,richText:h,stories:g,buttons:f,disclaimers:y}=e;if(!g||!g.length)return null;let b=(0,o.a)(1024),[v,j]=(0,m.useState)(!1);(0,m.useEffect)(()=>{j(null!=b&&b)},[b]);let w=(0,m.useRef)(null),N=(0,d.W)(w,{once:!1,margin:"-200px 0px"});return(0,l.jsx)("section",{className:"bg-background relative overflow-hidden py-12 lg:py-24",children:(0,l.jsxs)(a.m,{children:[(0,l.jsx)(r.R2,{position:p,children:n}),(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},children:(0,l.jsx)(r.DZ,{className:"mx-auto max-w-[48rem] text-center font-bold uppercase",children:t})}),(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1,delay:.3},viewport:{once:!0},children:(0,l.jsx)(r.hj,{richText:h,className:"mx-auto mb-14 max-w-[48rem] text-center text-base sm:text-lg"})}),(null==y?void 0:y.disclaimerTop)&&(0,l.jsx)("div",{className:"mb-8 text-center",children:(0,l.jsx)(i.s,{richText:y.disclaimerTop})}),(null==g?void 0:g.length)&&(0,l.jsx)("div",{ref:w,className:"relative -mr-4 pr-4 lg:-mr-6 lg:pr-6",children:(0,l.jsxs)(c.Carousel,{itemsMobile:1.1,itemsTablet:1.1,itemsDesktop:1,itemsLgDesktop:1,spacingMobile:"2",spacingTablet:"2",spacingDesktop:"8",spacingLgDesktop:"8",autoPlay:N,align:"start",loop:!0,dots:"always",overflow:"".concat(v?"hidden":"visible"),arrowsPosition:"bottom",arrows:"always",children:[(0,l.jsx)(c.CarouselContent,{children:g.map(e=>(0,l.jsx)(c.CarouselItem,{className:"cursor-grab",children:(0,l.jsx)(x.cP,{...e})},e._id))}),(0,l.jsxs)("div",{className:"relative mt-10 flex justify-end",children:[(0,l.jsx)(c.CarouselPrevious,{}),(0,l.jsx)(c.CarouselNext,{})]})]})}),(0,l.jsx)(s.SanityButtons,{buttons:f,showButton:"auto"}),(null==y?void 0:y.disclaimerBottom)&&(0,l.jsx)("div",{className:"mt-8 text-center",children:(0,l.jsx)(i.s,{richText:y.disclaimerBottom})})]})})}},42624:(e,t,n)=>{n.d(t,{CtaSwapDefault:()=>g});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(9211),o=n(34703),c=n(77483),d=n(47350),u=n(67928),m=n(94366),x=n(31368),p=n(6050);let h=e=>{let t,n,i,d,x,h,g,f,y,b,v,j,w=(0,a.c)(22),{title:N,richText:_,buttons:S,image:z}=e;return(0,p.useState)(!1),w[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,u.cn)("rounded-4xl relative mx-auto flex max-w-[55rem] flex-col items-start justify-between gap-8 overflow-hidden px-8 py-8 sm:gap-5 md:p-14 lg:min-h-[31rem] lg:max-w-[81.25rem] lg:px-20 lg:py-20 lg:pb-20 lg:pt-14 xl:px-28"),w[0]=t):t=w[0],w[1]!==z?(n=z&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.s,{image:z,fill:!0,className:"object-cover object-right",sizes:"100vw"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/80 to-transparent lg:to-black/20"})]}),w[1]=z,w[2]=n):n=w[2],w[3]!==N?(i=(0,l.jsx)(c.DZ,{className:"text-accent text-center font-bold sm:text-left",children:N}),w[3]=N,w[4]=i):i=w[4],w[5]===Symbol.for("react.memo_cache_sentinel")?(d={opacity:0,y:20},x={opacity:1,y:0},h={duration:1.3},w[5]=d,w[6]=x,w[7]=h):(d=w[5],x=w[6],h=w[7]),w[8]!==_?(g=(0,l.jsx)(m.P.div,{initial:d,whileInView:x,transition:h,className:"text-lg text-white/90",children:(0,l.jsx)(s.s,{richText:_,className:"text-center sm:text-left"})}),w[8]=_,w[9]=g):g=w[9],w[10]!==i||w[11]!==g?(f=(0,l.jsxs)("div",{className:"relative z-20 sm:max-w-[90%] lg:max-w-[70%] lg:pb-28 xl:max-w-[60%]",children:[i,g]}),w[10]=i,w[11]=g,w[12]=f):f=w[12],w[13]===Symbol.for("react.memo_cache_sentinel")?(y=(0,l.jsx)("div",{className:"hidden lg:col-span-2 lg:block"}),w[13]=y):y=w[13],w[14]!==S?(b=S&&(0,l.jsx)(r.SanityButtons,{buttons:S,buttonClassName:" last:justify-self-end",className:"grid w-full items-center justify-center gap-2 sm:w-fit md:grid-flow-col lg:justify-self-end",showButton:"always"}),w[14]=S,w[15]=b):b=w[15],w[16]!==b?(v=(0,l.jsxs)("div",{className:"relative z-20 flex w-full flex-col flex-wrap items-center gap-4 md:flex-row lg:grid lg:grid-cols-3",children:[y,b]}),w[16]=b,w[17]=v):v=w[17],w[18]!==v||w[19]!==n||w[20]!==f?(j=(0,l.jsxs)("div",{className:t,children:[n,f,v]}),w[18]=v,w[19]=n,w[20]=f,w[21]=j):j=w[21],j};function g(e){let{ctas:t,sectionParameters:n}=e;if(!t||!t.length)return null;let[a,s]=(0,p.useState)(0);(0,p.useEffect)(()=>{let e=setTimeout(()=>{s(e=>(e+1)%t.length)},1e4);return()=>clearTimeout(e)},[a]);let r=t[a];return(0,l.jsx)("section",{id:null==n?void 0:n.sectionId,className:"w-full overflow-hidden py-16 lg:py-24",children:(0,l.jsx)(i.m,{className:"flex flex-col gap-8",children:(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(x.N,{mode:"popLayout",initial:!1,children:(0,l.jsx)(m.P.div,{initial:{opacity:0}
1,animate:{opacity:1,x:0},exit:{opacity:0},transition:{duration:.5,ease:"easeOut"},className:"w-full",children:(0,l.jsx)(h,{title:r.cta.title,richText:r.cta.richText,buttons:r.cta.buttons,buttons2:r.cta.buttons2,image:r.cta.image,sectionParameters:n})},r._key)})}),(0,l.jsx)("div",{className:"z-20 mt-8 flex w-full flex-wrap justify-center gap-6 lg:absolute lg:bottom-20 lg:left-0 lg:mt-0 lg:max-w-[68%] lg:justify-start lg:pl-20 xl:pl-28",children:t.map((e,t)=>{let n=t===a,{title:i}=e;return(0,l.jsxs)(d.$,{variant:"secondary",type:"button",onClick:()=>s(t),"aria-pressed":n,className:(0,u.cn)("group/button-swap focus-visible:ring-ring relative flex min-h-10 items-center justify-center gap-2 overflow-hidden rounded-full px-10 py-2 text-sm font-bold leading-5 shadow-[inset_0_0_0_0.05rem_rgba(0,0,0,1)] transition-colors focus-visible:outline-none focus-visible:ring-1 disabled:pointer-events-none md:text-lg md:leading-6",n?"bg-primary text-primary-foreground hover:bg-primary-foreground hover:text-primary":"bg-primary-foreground text-primary hover:bg-primary hover:text-primary-foreground"),children:[(0,l.jsx)("span",{className:"relative z-10",children:i}),(0,l.jsx)(m.P.span,{className:"bg-card/20 group-hover/button-swap:bg-primary/20 absolute inset-0 z-10",initial:{scaleX:0},animate:{scaleX:+!!n},transition:{duration:n?10:.3,ease:"linear"},style:{transformOrigin:"left"}},n?"progress-".concat(e._key,"-").concat(a):"progress-".concat(e._key,"-inactive"))]},e._key+"-"+t)})})]})})})}},43895:(e,t,n)=>{n.d(t,{default:()=>m});var l=n(58986),a=n(34978),i=n(77483),s=n(94103),r=n(38280),o=n(67928),c=n(94366),d=n(49527),u=n(44139);function m(e){let t,n,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I,D,M,L,B,R=(0,a.c)(47),{title:V,richText:A,eyebrow:E,eyebrowPosition:F,video:Z,disclaimer:$,cardGroup:H,sectionParameters:O,sectionStyles:G}=e,U=null==O?void 0:O.sectionId;return R[0]!==G?(t=(0,o.cn)("relative w-full py-12 lg:py-24",(0,s.aU)(G)),R[0]=G,R[1]=t):t=R[1],R[2]!==E||R[3]!==F?(n=(0,l.jsx)(i.R2,{position:F,theme:"gradient",children:E}),R[2]=E,R[3]=F,R[4]=n):n=R[4],R[5]===Symbol.for("react.memo_cache_sentinel")?(m={opacity:.5,y:20,filter:"blur(0.5rem)"},x={opacity:1,y:0,filter:"blur(0rem)"},p={duration:1},h={once:!0},R[5]=m,R[6]=x,R[7]=p,R[8]=h):(m=R[5],x=R[6],p=R[7],h=R[8]),R[9]!==V?(g=(0,l.jsx)(c.P.div,{initial:m,whileInView:x,transition:p,viewport:h,className:"overflow-hidden",children:(0,l.jsx)(i.DZ,{className:"gradient-text m-0 text-center uppercase",children:V})}),R[9]=V,R[10]=g):g=R[10],R[11]===Symbol.for("react.memo_cache_sentinel")?(v={opacity:.5,y:20},f={opacity:1,y:0},y={duration:.8,delay:.5},b={once:!0},R[11]=f,R[12]=y,R[13]=b,R[14]=v):(f=R[11],y=R[12],b=R[13],v=R[14]),R[15]!==A?(j=(0,l.jsx)(c.P.div,{initial:v,whileInView:f,transition:y,viewport:b,children:(0,l.jsx)(i.hj,{richText:A,className:"text-lg lg:text-xl"})}),R[15]=A,R[16]=j):j=R[16],R[17]===Symbol.for("react.memo_cache_sentinel")?(w={opacity:0},N={opacity:1},_={duration:.8,delay:.7},S={once:!0},R[17]=w,R[18]=N,R[19]=_,R[20]=S):(w=R[17],N=R[18],_=R[19],S=R[20]),R[21]!==Z?(z=Z&&(0,l.jsx)(u.A,{...Z}),R[21]=Z,R[22]=z):z=R[22],R[23]!==z?(k=(0,l.jsx)(c.P.div,{initial:w,whileInView:N,transition:_,viewport:S,children:(0,l.jsx)("div",{children:z})}),R[23]=z,R[24]=k):k=R[24],R[25]===Symbol.for("react.memo_cache_sentinel")?(P={opacity:.5,y:20},C={opacity:1,y:0},T={duration:.8,delay:.5},q={once:!0},R[25]=P,R[26]=C,R[27]=T,R[28]=q):(P=R[25],C=R[26],T=R[27],q=R[28]),R[29]!==$?(I=(0,l.jsx)(c.P.div,{initial:P,whileInView:C,transition:T,viewport:q,children:(0,l.jsx)(i.hj,{richText:$,className:""})}),R[29]=$,R[30]=I):I=R[30],R[31]!==j||R[32]!==k||R[33]!==I||R[34]!==g?(D=(0,l.jsxs)("div",{className:"mx-auto max-w-[55rem] space-y-9 overflow-hidden",children:[g,j,k,I]}),R[31]=j,R[32]=k,R[33]=I,R[34]=g,R[35]=D):D=R[35],R[36]!==H||R[37]!==V?(M=H&&(null==H?void 0:H.cards.length)>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:(0,o.cn)("hidden items-stretch gap-6 sm:grid md:grid-cols-2","lg:grid-cols-"+(null==H?void 0:H.columns),V?"mt-14":""),children:null==H?void 0:H.cards.map(e=>(0,l.jsx)(d.S,{...e,imageAsIcon:!0,sectionStyles:H.sectionStyles},e._id))}),(0,l.jsx)("div",{className:"mt-10 w-full sm:hidden","data-noindex":!0,children:(0,l.jsxs)(r.Carousel,{itemsMobile:1,itemsTablet:1,itemsDesktop:1,itemsLgDesktop:1,spacingMobile:"2",spacingTablet:"4",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:!0,dots:"always",align:"center",loop:!0,opts:{loop:!0},arrowsPosition:"bottom",arrows:"always",children:[(0,l.jsx)(r.CarouselContent,{children:null==H?void 0:H.cards.map((e,t)=>(0,l.jsx)(r.CarouselItem,{children:(0,l.jsx)(d.S,{...e,imageAsIcon:!0,sectionStyles:H.sectionStyles},e._id)},e._id))}),(0,l.jsxs)("div",{className:"relative mt-10 flex justify-end",children:[(0,l.jsx)(r.CarouselPrevious,{}),(0,l.jsx)(r.CarouselNext,{})]})]})})]}),R[36]=H,R[37]=V,R[38]=M):M=R[38],R[39]!==D||R[40]!==M||R[41]!==n?(L=(0,l.jsx)("div",{className:"relative w-full px-6 lg:px-12 2xl:px-24",children:(0,l.jsxs)("div",{className:"mx-auto w-full max-w-[78.25rem]",children:[n,D,M]})}),R[39]=D,R[40]=M,R[41]=n,R[42]=L):L=R[42],R[43]!==U||R[44]!==t||R[45]!==L?(B=(0,l.jsx)("section",{id:U,className:t,children:L}),R[43]=U,R[44]=t,R[45]=L,R[46]=B):B=R[46],B}}
1,45754:(e,t,n)=>{n.d(t,{HeroDefault:()=>d});var l=n(58986),a=n(34978),i=n(9211),s=n(34703),r=n(3682),o=n(67928),c=n(94366);function d(e){let t,n,d,u,m,x,p,h,g=(0,a.c)(25),{title:f,subTitle:y,buttons:b,image:v,mobileImage:j,sectionParameters:w,bgColor:N}=e,_=null==w?void 0:w.sectionId,S="gradient"===N&&"bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] bg-cover bg-center",z="black"===N&&"bg-black",k="gray"===N&&"bg-card",P="default"===N&&"";return g[0]!==S||g[1]!==z||g[2]!==k||g[3]!==P?(t=(0,o.cn)("w-full px-5 lg:px-12 2xl:px-24",S,z,k,P),g[0]=S,g[1]=z,g[2]=k,g[3]=P,g[4]=t):t=g[4],g[5]!==v||g[6]!==j?(n=v&&(0,l.jsxs)("div",{className:"rounded-bl-4xl rounded-br-4xl absolute inset-0 overflow-hidden",children:[(0,l.jsx)(s.s,{image:v,loading:"eager",priority:!0,fill:!0,className:(0,o.cn)("object-cover object-center",j&&"hidden lg:block"),sizes:"100vw",quality:100}),j&&(0,l.jsx)(s.s,{image:j,loading:"eager",priority:!0,fill:!0,className:"block object-cover object-center lg:hidden",sizes:"100vw",quality:100}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-black/70 to-transparent"})]}),g[5]=v,g[6]=j,g[7]=n):n=g[7],g[8]!==f?(d=(0,l.jsx)("h1",{className:"mb-0 text-balance text-center uppercase text-white",children:(0,l.jsx)(r.default,{text:f,delay:250,animateBy:"words",direction:"top",className:"justify-center text-center font-bold lg:max-w-[48rem] lg:justify-start"})}),g[8]=f,g[9]=d):d=g[9],g[10]!==y?(u=y&&(0,l.jsx)(c.P.p,{initial:{opacity:0}
1,animate:{opacity:1},transition:{delay:1,duration:1.5},className:"from-accent mb-0 mt-5 bg-gradient-to-r to-[#96E5FF] bg-clip-text text-center text-2xl font-bold text-transparent sm:text-3xl lg:text-left",children:y}),g[10]=y,g[11]=u):u=g[11],g[12]!==b?(m=(0,l.jsx)("div",{className:"absolute bottom-10 left-[50%] max-w-full translate-x-[-50%] px-4",children:(0,l.jsx)(i.SanityButtons,{buttons:b,buttonClassName:"w-auto",className:"mb-8 mt-auto w-full justify-center gap-2 sm:w-fit"})}),g[12]=b,g[13]=m):m=g[13],g[14]!==m||g[15]!==d||g[16]!==u?(x=(0,l.jsx)("div",{id:"hero",className:"relative z-10",children:(0,l.jsxs)("div",{className:"container mx-auto flex h-full min-h-[34rem] flex-col justify-center px-4 md:px-16 lg:min-h-[45rem] lg:px-28",children:[d,u,m]})}),g[14]=m,g[15]=d,g[16]=u,g[17]=x):x=g[17],g[18]!==x||g[19]!==n?(p=(0,l.jsxs)("div",{className:"relative h-full min-h-[34rem] w-full overflow-hidden lg:min-h-[45rem]",children:[n,x]}),g[18]=x,g[19]=n,g[20]=p):p=g[20],g[21]!==_||g[22]!==p||g[23]!==t?(h=(0,l.jsx)("section",{id:_,className:t,children:p}),g[21]=_,g[22]=p,g[23]=t,g[24]=h):h=g[24],h}},47866:(e,t,n)=>{n.d(t,{SlidersVideo:()=>p});var l=n(58986),a=n(93406),i=n(18934),s=n(9211),r=n(77483),o=n(38280),c=n(67928),d=n(55721),u=n(94366),m=n(6050),x=n(44139);function p(e){let{title:t,eyebrow:n,eyebrowPosition:p,richText:h,videos:g,buttons:f,disclaimers:y,sectionStyles:b}=e;if(!g||!g.length)return null;let{titleColor:v}=b||{},j=(0,m.useRef)(null),w=(0,d.W)(j,{once:!1,margin:"-200px 0px"});return(0,l.jsx)("section",{className:"bg-background relative overflow-x-clip py-12 lg:py-24",children:(0,l.jsxs)(a.m,{children:[(0,l.jsx)(r.R2,{position:p,children:n}),t&&"gradient"===v&&(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},children:(0,l.jsx)(r.DZ,{className:(0,c.cn)("gradient-text mx-auto max-w-[55rem] text-center font-bold uppercase"),children:t})}),t&&"gradient"!==v&&(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},children:(0,l.jsx)(r.DZ,{className:"mx-auto max-w-[55rem] text-center font-bold uppercase",children:t})}),(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1,delay:.3},viewport:{once:!0},children:(0,l.jsx)(r.hj,{richText:h,className:"mx-auto mb-14 max-w-[55rem] text-center text-base sm:text-lg"})}),(null==y?void 0:y.disclaimerTop)&&(0,l.jsx)("div",{className:"mb-8",children:(0,l.jsx)(i.s,{richText:y.disclaimerTop})}),(0,l.jsx)("div",{ref:j,className:"relative mt-14",children:(0,l.jsxs)(o.Carousel,{spacingMobile:"6",spacingTablet:"6",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:w,align:"start",loop:!0,dots:"always",arrowsPosition:"bottom",arrows:"always",overflow:"visible",autoWidth:!0,children:[(0,l.jsx)(o.CarouselContent,{className:1===g.length?"justify-center":"",children:g.map((e,t)=>(0,l.jsx)(o.CarouselItem,{className:"w-full max-w-[30rem] md:max-w-[40rem]",children:(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(x.A,{src:e.src||"",image:e.image,type:e.type,className:"aspect-[636/438]"})})},t))}),g.length>1&&(0,l.jsxs)("div",{className:(0,c.cn)("relative mt-10 flex justify-end",2===g.length?"xl:hidden":""),children:[(0,l.jsx)(o.CarouselPrevious,{}),(0,l.jsx)(o.CarouselNext,{})]})]})}),f&&f.length>0&&(0,l.jsx)("div",{className:"mt-8 flex justify-center lg:mt-14",children:(0,l.jsx)(s.SanityButtons,{buttons:f,showButton:"auto"})}),(null==y?void 0:y.disclaimerBottom)&&(0,l.jsx)("div",{className:"mt-8",children:(0,l.jsx)(i.s,{richText:y.disclaimerBottom})})]})})}},49143:(e,t,n)=>{n.d(t,{SlidersCard:()=>h});var l=n(58986),a=n(93406),i=n(18934),s=n(9211),r=n(34703),o=n(77483),c=n(38280),d=n(3682),u=n(67928),m=n(55721),x=n(94366),p=n(6050);function h(e){let{title:t,eyebrow:n,eyebrowPosition:h,richText:g,cards:f,buttons:y,disclaimers:b,sectionStyles:v}=e,{titleColor:j}=v||{};if(!f||!f.length)return null;let w=(0,p.useRef)(null),N=(0,m.W)(w,{once:!1,margin:"-200px 0px"});return(0,l.jsxs)("section",{className:"bg-background relative py-12 lg:py-24",children:[(0,l.jsxs)(a.m,{children:[(0,l.jsx)(o.R2,{position:h,children:n}),(0,l.jsxs)(x.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},children:[t&&"gradient"===j&&(0,l.jsx)(x.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:(0,u.cn)("mx-auto overflow-hidden",!g&&"mb-14"),children:(0,l.jsx)(o.DZ,{className:"gradient-text m-0 text-center uppercase",children:t})}),t&&"gradient"!==j&&(0,l.jsx)(o.DZ,{className:(0,u.cn)("mx-auto max-w-[60rem] text-center font-bold uppercase",!g&&"mb-14"),children:(0,l.jsx)(d.default,{direction:"top",animateBy:"words",rootMargin:"-50px",text:t,className:"justify-center"})})]}),(0,l.jsx)(x.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1,delay:.3},viewport:{once:!0},children:(0,l.jsx)(o.hj,{richText:g,className:"mb-14 text-center text-base sm:text-lg"})})]}),(null==b?void 0:b.disclaimerTop)&&(0,l.jsx)("div",{className:"mb-8",children:(0,l.jsx)(i.s,{richText:b.disclaimerTop})}),(0,l.jsx)("div",{ref:w,children:(0,l.jsxs)(c.Carousel,{spacingMobile:"4",spacingTablet:"6",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:N,dots:"always",align:"start",loop:!0,opts:{loop:!0},arrowsPosition:"bottom",arrows:"always",overflow:"hidden",autoWidth:!0,children:[(0,l.jsx)(c.CarouselContent,{className:(0,u.cn)("",f.length<4&&"3xl:justify-center 2xl:justify-between",4===f.length&&"3xl:justify-center"),children:f.map((e,t)=>{let{_key:n,image:a,title:d,richText:m,buttons:x}=e;return(0,l.jsx)(c.CarouselItem,{className:"max-w-[22.5rem] sm:max-w-[27.5rem]",children:(0,l.jsxs)("div",{className:(0,u.cn)("rounded-4xl bg-card group relative h-full w-full overflow-hidden shadow-sm transition-all hover:shadow-md",x&&x.length>0&&"pb-[5.5rem]"),children:[a&&(0,l.jsx)("div",{className:"relative aspect-[417/192] h-48 w-full overflow-hidden",children:(0,l.jsx)(r.s,{image:a,className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-105"})}),(0,l.jsxs)("div",{className:"px-10 py-7",children:[(0,l.jsx)(o.DZ,{as:"h3",className:"text-foreground mb-5 text-2xl font-semibold uppercase",children:d}),m&&(0,l.jsx)("div",{className:"mb-4 text-sm",children:(0,l.jsx)(i.s,{richText:m})})]}),x&&x.length>0&&(0,l.jsx)("div",{className:"absolute bottom-0 left-0 right-0 px-10 py-7",children:(0,l.jsx)(s.SanityButtons,{buttons:x,showButton:"always",buttonClassName:"w-auto"})})]})},n||t)})}),(0,l.jsxs)("div",{className:"relative mt-10 flex justify-end px-5 lg:px-16 2xl:px-24",children:[(0,l.jsx)(c.CarouselPrevious,{}),(0,l.jsx)(c.CarouselNext,{})]})]})}),y&&y.length>0&&(0,l.jsx)("div",{className:"mt-8 flex justify-center",children:(0,l.jsx)(s.SanityButtons,{buttons:y,showButton:"always"})}),(null==b?void 0:b.disclaimerBottom)&&(0,l.jsx)("div",{className:"mt-8",children:(0,l.jsx)(i.s,{richText:b.disclaimerBottom})})]})}},49527:(e,t,n)=>{n.d(t,{S:()=>h});var l=n(58986),a=n(34978),i=n(18934),s=n(34703),r=n(77483),o=n(94103),c=n(67928),d=n(94366),u=n(79754),m=n(56995),x=n.n(m),p=n(12465);function h(e){var t,n,m,h;let g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q=(0,a.c)(47),{title:I,richText:D,image:M,button:L,hasBorder:B,imageAsIcon:R,underline:V,sectionStyles:A,className:E}=e,{i18n:F}=(0,p.Bd)(),Z=F.language;q[0]!==A?(g=A||{},q[0]=A,q[1]=g):g=q[1];let{background:$,titleColor:H}=g,O="gradient"===H,G=null!=(n=null!=(t=null==L?void 0:L.href)?t:null==L?void 0:L.external)?n:"",U=null!=(m=null==L?void 0:L.parameters)?m:"",Y=null!=(h=null==L?void 0:L.anchor)?h:"";q[2]!==Z||q[3]!==G||q[4]!==U||q[5]!==Y?(f=(0,o.Rh)({path:G,params:U,anch
1or:Y,locale:Z}),q[2]=Z,q[3]=G,q[4]=U,q[5]=Y,q[6]=f):f=q[6];let W=f;q[7]!==$||q[8]!==L||q[9]!==E||q[10]!==B||q[11]!==A?(y=(0,c.cn)("text-foreground group relative h-full overflow-hidden rounded-3xl p-6 transition-all lg:p-9",(0,o.aU)(A),B&&"border-foreground border","black"===$&&B&&"border-background border",L&&"pb-24 lg:pb-32",E),q[7]=$,q[8]=L,q[9]=E,q[10]=B,q[11]=A,q[12]=y):y=q[12],q[13]!==M||q[14]!==R?(b=M&&(0,l.jsx)("div",{className:(0,c.cn)("relative mx-auto mb-6 overflow-hidden",R?"h-14 w-14":"aspect-video max-h-56"),children:(0,l.jsx)(s.s,{image:M,fill:!0,className:"object-contain object-center",sizes:"(max-width: 1024px) 100vw, (max-width: 1200px) 50vw, 50vw",quality:100})}),q[13]=M,q[14]=R,q[15]=b):b=q[15],q[16]!==R||q[17]!==O||q[18]!==I||q[19]!==V?(v=O?(0,l.jsx)(d.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:"overflow-hidden",children:(0,l.jsx)(r.DZ,{as:"h3",className:(0,c.cn)("gradient-text m-0 uppercase",V?"h5":"h4",R?"text-center":"text-left"),children:I})}):(0,l.jsx)(d.P.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.3},viewport:{once:!0,margin:"-100px 0px"},children:(0,l.jsx)(r.DZ,{as:"h3",className:(0,c.cn)("m-0 font-bold",V?"h5":"h4",R?"h6 text-center":""),children:I})}),q[16]=R,q[17]=O,q[18]=I,q[19]=V,q[20]=v):v=q[20],q[21]!==$||q[22]!==O||q[23]!==V?(j=V&&(0,l.jsx)("div",{className:(0,c.cn)("h-px w-full",O&&"white"!==$||"black"===$?"bg-background":"bg-border")}),q[21]=$,q[22]=O,q[23]=V,q[24]=j):j=q[24],q[25]===Symbol.for("react.memo_cache_sentinel")?(w={opacity:0,y:10},N={opacity:1,y:0},_={duration:1.3,delay:.7},S={once:!0,margin:"-100px 0px"},q[25]=w,q[26]=N,q[27]=_,q[28]=S):(w=q[25],N=q[26],_=q[27],S=q[28]);let Q=R?"text-center":"";return q[29]!==Q?(z=(0,c.cn)("text-sm [&_ul]:text-left",Q),q[29]=Q,q[30]=z):z=q[30],q[31]!==D||q[32]!==z?(k=(0,l.jsx)(d.P.div,{initial:w,whileInView:N,transition:_,viewport:S,children:(0,l.jsx)(i.s,{richText:D,className:z})}),q[31]=D,q[32]=z,q[33]=k):k=q[33],q[34]!==L||q[35]!==W||q[36]!==I?(P=L&&(0,l.jsx)("div",{className:"absolute bottom-0 left-0 right-0 flex w-full justify-end p-6 lg:p-9",children:(0,l.jsx)(x(),{href:W,className:"group/card-grid-item bg-background hover:bg-accent hover:text-background text-foreground flex h-12 w-12 items-center justify-center rounded-full no-underline shadow-[inset_0_0_0_0.05rem_rgba(0,0,0,1)] transition-all duration-300 hover:shadow-[inset_0_0_0_0.05rem_rgba(15,195,255,1)]","aria-label":L.ariaLabel,title:L.ariaTitle,target:L.openInNewTab?"_blank":"_self",children:(0,l.jsx)(u.A,{"aria-label":L.ariaLabel||I,width:"1.25rem",height:"1.25rem",className:"h-5 w-5 transition-all duration-300 group-hover/card-grid-item:rotate-90"})})}),q[34]=L,q[35]=W,q[36]=I,q[37]=P):P=q[37],q[38]!==k||q[39]!==P||q[40]!==v||q[41]!==j?(C=(0,l.jsxs)("div",{className:"space-y-4",children:[v,j,k,P]}),q[38]=k,q[39]=P,q[40]=v,q[41]=j,q[42]=C):C=q[42],q[43]!==C||q[44]!==y||q[45]!==b?(T=(0,l.jsxs)("div",{className:y,children:[b,C]}),q[43]=C,q[44]=y,q[45]=b,q[46]=T):T=q[46],T}},54184:(e,t,n)=>{n.d(t,{FormSectionImageBg:()=>m});var l=n(58986),a=n(34978),i=n(93406),s=n(28514),r=n(18934),o=n(9211),c=n(34703),d=n(77483),u=n(94366);function m(e){let t,n,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k=(0,a.c)(35),{eyebrow:P,eyebrowPosition:C,title:T,richText:q,buttons:I,formRichText:D,formTitle:M,image:L,form:B,privacyPolicy:R}=e;return k[0]!==P||k[1]!==C?(t=(0,l.jsx)(d.R2,{position:C,children:P}),k[0]=P,k[1]=C,k[2]=t):t=k[2],k[3]!==T?(n=(0,l.jsx)(d.DZ,{children:T}),k[3]=T,k[4]=n):n=k[4],k[5]!==q?(m=(0,l.jsx)(d.hj,{richText:q}),k[5]=q,k[6]=m):m=k[6],k[7]===Symbol.for("react.memo_cache_sentinel")?(x={opacity:0,y:20},p={opacity:1,y:0},h={duration:1,delay:.3},g={once:!0,margin:"-100px 0px"},k[7]=x,k[8]=p,k[9]=h,k[10]=g):(x=k[7],p=k[8],h=k[9],g=k[10]),k[11]!==L?(f=(0,l.jsx)(c.s,{image:L,className:"h-full w-full object-cover"}),k[11]=L,k[12]=f):f=k[12],k[13]!==D?(y=(0,l.jsx)(r.s,{richText:D,className:"text-left"}),k[13]=D,k[14]=y):y=k[14],k[15]!==B||k[16]!==M||k[17]!==R?(b=(0,l.jsx)("div",{className:"space-y-6",children:(0,l.jsx)(s.A,{form:B,title:M,privacyPolicy:R})}
1),k[15]=B,k[16]=M,k[17]=R,k[18]=b):b=k[18],k[19]!==b||k[20]!==f||k[21]!==y?(v=(0,l.jsxs)(u.P.div,{initial:x,whileInView:p,transition:h,viewport:g,className:"relative",children:[f,y,b]}),k[19]=b,k[20]=f,k[21]=y,k[22]=v):v=k[22],k[23]===Symbol.for("react.memo_cache_sentinel")?(j={opacity:0,y:20},w={opacity:1,y:0},N={duration:1,delay:.7},_={once:!0,margin:"-100px 0px"},k[23]=j,k[24]=w,k[25]=N,k[26]=_):(j=k[23],w=k[24],N=k[25],_=k[26]),k[27]!==I?(S=(0,l.jsx)(u.P.div,{initial:j,whileInView:w,transition:N,viewport:_,children:(0,l.jsx)(o.SanityButtons,{buttons:I})}),k[27]=I,k[28]=S):S=k[28],k[29]!==t||k[30]!==v||k[31]!==S||k[32]!==n||k[33]!==m?(z=(0,l.jsx)("section",{className:"bg-background relative w-full py-12 lg:py-24",children:(0,l.jsxs)(i.m,{children:[t,n,m,v,S]})}),k[29]=t,k[30]=v,k[31]=S,k[32]=n,k[33]=m,k[34]=z):z=k[34],z}},57031:(e,t,n)=>{n.d(t,{DownloadsDefault:()=>v});var l=n(58986),a=n(93406),i=n(18934),s=n(34703),r=n(77483),o=n(58730),c=n(94366),d=n(6050),u=n(34978),m=n(33839),x=n(67928),p=n(300),h=n(41301),g=n(33135),f=n(12465);function y(e){var t,n,a;let i,s,r,o,c,y,v,j,w=(0,u.c)(24),{item:N}=e,{t:_}=(0,f.Bd)(),[S,z]=(0,d.useState)(!1),k=N.children&&N.children.length>0;return w[0]!==N.title?(i=N.title&&(0,l.jsx)("h3",{className:"text-foreground mb-0 text-sm font-semibold",children:N.title}),w[0]=N.title,w[1]=i):i=w[1],w[2]!==i?(s=(0,l.jsx)("div",{className:"flex flex-1 items-center gap-3 border-b pb-4",children:(0,l.jsx)("div",{className:"flex-1",children:i})}),w[2]=i,w[3]=s):s=w[3],w[4]!==N.file||w[5]!==N.title?(r=(null==(t=N.file)?void 0:t.url)&&(0,l.jsx)("a",{href:(0,m.k)(N.file.url),download:null!=(n=N.file.originalFilename)?n:void 0,className:"inline-flex h-9 items-center justify-center rounded-md pr-2 text-sm font-medium transition-colors","aria-label":"Download ".concat(N.title),target:"_blank",children:(0,l.jsx)(p.A,{className:"text-primary h-5 w-5 shrink-0"})}),w[4]=N.file,w[5]=N.title,w[6]=r):r=w[6],w[7]!==k||w[8]!==S||w[9]!==_?(o=k&&(0,l.jsx)("button",{onClick:()=>z(!S),className:"bg-background text-accent inline-flex items-center justify-center pr-2 transition-all duration-200 lg:pr-0","aria-label":_(S?"sections.downloads.collapse":"sections.downloads.expand"),children:S?(0,l.jsx)(h.A,{className:"h-5 w-5 shrink-0"}):(0,l.jsx)(g.A,{className:"h-5 w-5 shrink-0"})}),w[7]=k,w[8]=S,w[9]=_,w[10]=o):o=w[10],w[11]!==r||w[12]!==o?(c=(0,l.jsxs)("div",{className:"flex w-5 shrink-0 items-center gap-2",children:[r,o]}),w[11]=r,w[12]=o,w[13]=c):c=w[13],w[14]!==s||w[15]!==c?(y=(0,l.jsxs)("div",{className:"mb-3 flex items-center justify-between gap-4",children:[s,c]}),w[14]=s,w[15]=c,w[16]=y):y=w[16],w[17]!==k||w[18]!==S||w[19]!==N.children?(v=k&&(0,l.jsx)("div",{className:(0,x.cn)("overflow-hidden transition-all duration-300",S?"max-h-[1000px]":"max-h-0"),children:(0,l.jsx)("div",{className:"bg-card space-y-2 rounded-2xl p-2",children:null==(a=N.children)?void 0:a.map(b)})}),w[17]=k,w[18]=S,w[19]=N.children,w[20]=v):v=w[20],w[21]!==y||w[22]!==v?(j=(0,l.jsxs)("div",{className:"",children:[y,v]}),w[21]=y,w[22]=v,w[23]=j):j=w[23],j}function b(e){var t,n;return(0,l.jsxs)("div",{className:"bg-background flex items-center justify-between gap-4 rounded-lg px-3 py-1",children:[(0,l.jsx)("div",{className:"flex flex-1 items-center gap-3",children:(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)("h4",{className:"text-foreground mb-0 text-sm font-medium",children:e.title})})}),(null==(t=e.file)?void 0:t.url)&&(0,l.jsx)("a",{href:(0,m.k)(e.file.url),download:null!=(n=e.file.originalFilename)?n:void 0,className:"inline-flex h-8 items-center justify-center py-1.5 text-xs font-medium transition-all","aria-label":"Download ".concat(e.title),children:(0,l.jsx)(p.A,{className:"text-primary h-4 w-4"})})]},e._key)}function v(e){let{eyebrow:t,eyebrowPosition:n,title:u,richText:m,image:x,items:p,disclaimers:h,sectionParameters:g}=e;if(!p||0===p.length)return null;let f=(0,o.a)(1024),[b,v]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{v(null!=f&&f)},[f]),(0,l.jsx)("section",{id:null==g?void 0:g.sectionId,className:"relative w-full py-12 lg:py-24",children:(0,l.jsxs)(a.m,{children:[(0,l.jsxs)("div",{className:"grid gap-12 lg:grid-cols-5 lg:gap-20",children:[(0,l.jsxs)("div",{className:"lg:col-span-3",children:[(0,l.jsx)(r.R2,{position:n,children:t}),(0,l.jsx)(c.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},children:(0,l.jsx)(r.DZ,{className:"mb-11 text-center text-3xl font-bold lg:text-start",children:u})}),(0,l.jsx)(r.hj,{richText:m}),p.map(e=>(0,l.jsx)(y,{item:e},e._key))]}),x&&!b&&(0,l.jsx)("div",{className:"rounded-4xl relative aspect-[528/470] h-full w-full overflow-hidden lg:col-span-2",children:(0,l.jsx)(s.s,{image:x,className:"h-full w-full object-cover"})})]}),h&&(0,l.jsxs)("div",{className:"mt-12 border-t pt-8",children:[h.disclaimerTop&&(0,l.jsx)(i.s,{richText:h.disclaimerTop,className:"text-muted-foreground text-sm"}),h.disclaimerBottom&&(0,l.jsx)(i.s,{richText:h.disclaimerBottom,className:"text-muted-foreground text-sm"})]})]})})}}
1,57752:(e,t,n)=>{n.d(t,{FormSimulatorRetirementDefault:()=>q});var l=n(58986),a=n(34978),i=n(93406),s=n(97342),r=n(24515),o=n(31345),c=n(82033),d=n(77483),u=n(58949),m=n(22750),x=n(83669),p=n(6050),h=n(53640),g=n(12465),f=n(53231),y=n(91789),b=n(38678),v=n(7586),j=n(54072),w=n(45478);let N=(0,w.createServerReference)("7fd3971a716c0efb9c2ac4483b6f52754375bc0640",w.callServer,void 0,w.findSourceMapURL,"retirementFormAction");var _=n(40390);function S(e){return e?(0,f.GP)(e,"dd/MM/yyyy",{locale:v.pt}):""}function z(e){if(e&&/^\d{2}\/\d{2}\/\d{4}$/.test(e))try{let t=(0,y.qg)(e,"dd/MM/yyyy",new Date,{locale:v.pt});if((0,b.f)(t)&&(0,f.GP)(t,"dd/MM/yyyy",{locale:v.pt})===e)return t;return}catch(e){return}}function k(e){var t;let{title:n,formStrings:a}=e,{t:i,i18n:y}=(0,g.Bd)("forms"),b=y.language,w=(null==(t=y.language)?void 0:t.toLowerCase().startsWith("en"))?j.c:v.pt,[k,P]=(0,p.useState)(null),{execute:C,isExecuting:T}=(0,x.y)(N,{onSuccess:e=>{let{data:t}=e;(null==t?void 0:t.retirementDate)&&(null==t?void 0:t.timeLeft)&&P({years:t.timeLeft.years,months:t.timeLeft.months,retirementDate:t.retirementDate}),(0,r.sendGTMEvent)({event:"retirement_success"})},onError:()=>{console.log("error")}}),q=(0,p.useMemo)(()=>_.Ikc({locale:_.YjP().optional(),birthDate:_.p6U({message:i("retirement.validation.birthDateRequired")}).refine(e=>{let t=new Date;t.setHours(0,0,0,0);let n=new Date(e);return n.setHours(0,0,0,0),n<t},{message:i("retirement.validation.birthDatePast")})}),[i]),I=(0,h.mN)({resolver:(0,s.u)(q),defaultValues:{locale:b,birthDate:void 0}}),D=I.watch("birthDate"),[M,L]=(0,p.useState)(S(D)),[B,R]=(0,p.useState)("");function V(e){C(e)}return(0,p.useEffect)(()=>{let e=S(D);L(e),R(e)},[D]),(0,l.jsxs)("div",{"data-noindex":!0,className:"grid grid-cols-1 gap-4 md:grid-cols-2 md:items-stretch",children:[(0,l.jsx)("div",{id:"contactos-form",className:"bg-card flex h-full scroll-mt-24 flex-col items-center px-6 py-8 md:rounded-2xl md:px-8 md:py-10",children:(0,l.jsxs)("div",{className:"w-full",children:[(null==a?void 0:a.title)&&(0,l.jsx)(d.DZ,{className:"gradient-text1 h4 pb-6 text-center font-bold lg:text-left",children:null==a?void 0:a.title}),(0,l.jsx)(u.lV,{...I,children:(0,l.jsxs)("form",{onSubmit:I.handleSubmit(V),className:"bg-card space-y-6",children:[(0,l.jsx)(u.zB,{control:I.control,name:"birthDate",render:e=>{let{field:t}=e;return(0,l.jsxs)(u.eI,{children:[(0,l.jsxs)(u.lR,{className:"text-foreground font-bold",children:[i("retirement.labels.birthDate"),(0,l.jsx)(o.A,{error:I.formState.errors.birthDate})]}),(0,l.jsx)(u.MJ,{children:(0,l.jsx)("div",{className:"relative flex gap-2",children:(0,l.jsx)(m.p,{id:"birthDate",value:M,placeholder:i("retirement.placeholders.birthDate"),maxLength:10,className:"bg-background placeholder:text-placeholder border-border focus-within:border-accent h-14 rounded-full pr-10",onChange:e=>(function(e){let{rawValue:t,field:n}=e,l=function(e,t){let n=e.replace(/\D/g,"");if(e.length<t.length)return 0===n.length?"":n.length<=2?n:n.length<=4?"".concat(n.slice(0,2),"/").concat(n.slice(2)):"".concat(n.slice(0,2),"/").concat(n.slice(2,4),"/").concat(n.slice(4,8));let l=n.slice(0,8);return 0===l.length?"":l.length<=2?l:l.length<=4?"".concat(l.slice(0,2),"/").concat(l.slice(2)):"".concat(l.slice(0,2),"/").concat(l.slice(2,4),"/").concat(l.slice(4,8))}(t,B);R(l),L(l);let a=z(l);a?n.onChange(a):l?10===l.length&&n.onChange(void 0):n.onChange(void 0)})({rawValue:e.target.value,field:t}),onBlur:()=>{t.onBlur(),z(M)||t.onChange(void 0)}})})}),(0,l.jsx)(u.C5,{})]})}}),(0,l.jsx)("div",{className:"flex justify-center md:justify-start",children:(0,l.jsx)(c.A,{loading:T,type:"button",onClick:()=>I.handleSubmit(V)(),text:i("retirement.buttons.submit"),size:"sm"})})]})})]})}),(0,l.jsxs)("div",{className:"bg-card scroll-mt-24 px-6 py-8 md:rounded-2xl md:px-8 md:py-10",children:[(0,l.jsx)(d.DZ,{className:"gradient-text1 h4 pb-6 text-center font-bold lg:text-left",children:(null==a?void 0:a.titleResult)||i("retirement.result.title")}),(0,l.jsxs)("div",{className:"mb-6 flex flex-col items-center justify-center gap-4 md:flex-row",children:[(0,l.jsxs)("div",{className:"bg-foreground text-background mx-auto max-w-[19rem] items-start overflow-hidden rounded-3xl p-6 text-center md:flex-1",children:[(0,l.jsx)("h3",{className:"m-0 font-bold lg:px-2 lg:text-2xl 2xl:text-[2rem]",children:i("retirement.result.month")}),(0,l.jsx)("div",{className:"mx-auto mb-5 mt-4 flex min-h-[3.5rem] max-w-[19rem] items-end justify-center gap-1 md:min-
1h-[2.5rem] xl:min-h-[4.5rem]",children:(null==k?void 0:k.retirementDate)?(0,l.jsx)("span",{className:"text-[4.5rem] font-bold leading-[3.5rem] text-[#7CCCE6] md:text-[3.75rem] md:leading-[2.5rem] xl:text-[6rem] xl:leading-[4.5rem]",children:(0,f.GP)(new Date(parseInt(k.retirementDate.year),parseInt(k.retirementDate.month)-1,parseInt(k.retirementDate.day)),"MMM",{locale:w}).toUpperCase()}):(0,l.jsx)("span",{className:"text-[4.5rem] font-bold leading-[3.5rem] text-[#7CCCE6] blur-lg md:text-[3.75rem] md:leading-[2.5rem] xl:text-[6rem] xl:leading-[4.5rem]",children:"MMM"})})]}),(0,l.jsxs)("div",{className:"bg-foreground text-background mx-auto max-w-[19rem] items-start overflow-hidden rounded-3xl p-6 text-center md:flex-1",children:[(0,l.jsx)("h3",{className:"m-0 font-bold lg:px-2 lg:text-2xl 2xl:text-[2rem]",children:i("retirement.result.year")}),(0,l.jsx)("div",{className:"mx-auto mb-5 mt-4 flex min-h-[3.5rem] max-w-[19rem] items-end justify-center gap-1 md:min-h-[2.5rem] xl:min-h-[4.5rem]",children:(null==k?void 0:k.retirementDate)?(0,l.jsx)("span",{className:"text-[4.5rem] font-bold leading-[3.5rem] text-[#7CCCE6] md:text-[3.75rem] md:leading-[2.5rem] xl:text-[6rem] xl:leading-[4.5rem]",children:(0,f.GP)(new Date(parseInt(k.retirementDate.year),parseInt(k.retirementDate.month)-1,parseInt(k.retirementDate.day)),"yyyy",{locale:v.pt})}):(0,l.jsx)("span",{className:"text-[4.5rem] font-bold leading-[3.5rem] text-[#7CCCE6] blur-lg md:text-[3.75rem] md:leading-[2.5rem] xl:text-[6rem] xl:leading-[4.5rem]",children:"2060"})})]})]}),k&&(0,l.jsx)("p",{className:"text-center",children:function(e){let{years:t,months:n,formStrings:l,t:a}=e;if(!l)return"";if(0===t&&0===n)return l.resultLessThan1MonthAnd1Year||a("retirement.result.alreadyRetired");if(0===t&&1===n)return l.result1MonthAndLessThan1Year||a("retirement.result.oneMonth");if(0===t&&n>1)return(l.resultGreaterThan1MonthAndLessThan1Year||a("retirement.result.monthsLeft")).replace("[months]",n.toString());if(1===t&&0===n)return l.resultEqualTo1Year||a("retirement.result.oneYearLeft");if(1===t&&1===n)return l.resultEqualTo1YearAnd1Month||a("retirement.result.oneYearOneMonth");else if(1===t&&n>1)return(l.resultGreaterThan1YearAnd1Month||a("retirement.result.oneYearMonths")).replace("[years]","1").replace("[months]",n.toString());else if(t>1&&0===n)return(l.resultGreaterThan1Year||a("retirement.result.yearsLeft")).replace("[years]",t.toString());else if(t>1&&1===n)return(l.resultGreaterThan1YearAnd1Month||a("retirement.result.yearsOneMonth")).replace("[years]",t.toString()).replace("[months]","1");else if(t>1&&n>1)return(l.resultGreaterThan1YearAnd1Month||a("retirement.result.yearsMonths")).replace("[years]",t.toString()).replace("[months]",n.toString());return""}({years:k.years,months:k.months,formStrings:a,t:i})})]})]})}var P=n(18934),C=n(9211),T=n(94366);function q(e){var t;let n,s,r,o,c,u,m,x,p,h,g,f=(0,a.c)(24),{eyebrow:y,eyebrowPosition:b,title:v,richText:j,buttons:w,sectionParameters:N}=e,_=null!=(t=null==N?void 0:N.sectionId)?t:void 0;return f[0]!==y||f[1]!==b?(n=y&&(0,l.jsx)(d.R2,{position:null!=b?b:void 0,children:y}),f[0]=y,f[1]=b,f[2]=n):n=f[2],f[3]!==v?(s=v&&(0,l.jsx)(T.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.2},viewport:{once:!0,margin:"-100px 0px"},children:(0,l.jsx)(d.DZ,{className:"gradient-text mb-14 text-center uppercase lg:mb-24",children:v})}),f[3]=v,f[4]=s):s=f[4],f[5]===Symbol.for("react.memo_cache_sentinel")?(r={opacity:0,y:20},o={opacity:1,y:0},c={duration:1,delay:.4},u={once:!0,margin:"-100px 0px"},f[5]=r,f[6]=o,f[7]=c,f[8]=u):(r=f[5],o=f[6],c=f[7],u=f[8]),f[9]!==e?(m=(0,l.jsx)(T.P.div,{initial:r,whileInView:o,transition:c,viewport:u,children:(0,l.jsx)(k,{...e,title:void 0})}),f[9]=e,f[10]=m):m=f[10],f[11]!==j?(x=j&&(0,l.jsx)(T.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.3},viewport:{once:!0,margin:"-100px 0px"},className:"my-6",children:(0,l.jsx)(P.s,{richText:j,className:"text-left"})}),f[11]=j,f[12]=x):x=f[12],f[13]!==w?(p=w&&w.length>0&&(0,l.jsx)(T.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.7},viewport:{once:!0,margin:"-100px 0px"},children:(0,l.jsx)(C.SanityButtons,{buttons:w,showButton:"inView",className:"justify-center"})}
1),f[13]=w,f[14]=p):p=f[14],f[15]!==n||f[16]!==p||f[17]!==s||f[18]!==m||f[19]!==x?(h=(0,l.jsxs)(i.m,{children:[n,s,m,x,p]}),f[15]=n,f[16]=p,f[17]=s,f[18]=m,f[19]=x,f[20]=h):h=f[20],f[21]!==_||f[22]!==h?(g=(0,l.jsx)("section",{id:_,className:"bg-background relative w-full py-12 lg:py-24",children:h}),f[21]=_,f[22]=h,f[23]=g):g=f[23],g}},59319:(e,t,n)=>{n.d(t,{CtaBgSmall:()=>m});var l=n(58986),a=n(34978),i=n(18934),s=n(9211),r=n(34703),o=n(77483),c=n(3682),d=n(94366),u=n(6050);function m(e){let t,n,m,x,p,h,g,f,y,b,v,j,w,N,_=(0,a.c)(31),{title:S,richText:z,buttons:k,buttons2:P,image:C,sectionParameters:T}=e,[q,I]=(0,u.useState)(!1);_[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{I(!0)},_[0]=t):t=_[0];let D=t,M=null==T?void 0:T.sectionId;return _[1]!==C?(n=C&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.s,{image:C,fill:!0,className:"object-cover object-right",sizes:"100vw"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/70 to-transparent lg:to-black/20"})]}),_[1]=C,_[2]=n):n=_[2],_[3]!==S?(m=(0,l.jsx)(o.DZ,{className:"text-accent text-center font-bold sm:text-left",children:(0,l.jsx)(c.default,{text:S,direction:"top",animateBy:"words",rootMargin:"-50px",onAnimationComplete:D,className:"justify-center sm:justify-start"})}),_[3]=S,_[4]=m):m=_[4],_[5]===Symbol.for("react.memo_cache_sentinel")?(x={opacity:0,y:20},_[5]=x):x=_[5],_[6]!==q?(p=q?{opacity:1,y:0}:{opacity:0,y:20},_[6]=q,_[7]=p):p=_[7],_[8]===Symbol.for("react.memo_cache_sentinel")?(h={duration:1.3},_[8]=h):h=_[8],_[9]!==z?(g=(0,l.jsx)(i.s,{richText:z,className:"text-center sm:text-left"}),_[9]=z,_[10]=g):g=_[10],_[11]!==p||_[12]!==g?(f=(0,l.jsx)(d.P.div,{initial:x,animate:p,transition:h,className:"text-lg text-white/90",children:g}),_[11]=p,_[12]=g,_[13]=f):f=_[13],_[14]!==m||_[15]!==f?(y=(0,l.jsxs)("div",{className:"relative z-20 sm:max-w-[90%] lg:max-w-[70%] xl:max-w-[60%]",children:[m,f]}),_[14]=m,_[15]=f,_[16]=y):y=_[16],_[17]!==k?(b=k&&(0,l.jsx)(s.SanityButtons,{buttons:k,buttonClassName:" last:justify-self-end",className:"grid w-full items-center justify-center gap-2 sm:w-fit md:grid-flow-col lg:justify-start"}),_[17]=k,_[18]=b):b=_[18],_[19]!==P?(v=P&&(0,l.jsx)(s.SanityButtons,{buttons:P,buttonClassName:" last:justify-self-end",className:"grid w-full items-center gap-2 sm:w-fit sm:grid-flow-col lg:justify-start"}),_[19]=P,_[20]=v):v=_[20],_[21]!==b||_[22]!==v?(j=(0,l.jsxs)("div",{className:"relative z-20 flex w-full flex-col flex-wrap items-center gap-x-4 gap-y-10 md:flex-row md:justify-between",children:[b,v]}),_[21]=b,_[22]=v,_[23]=j):j=_[23],_[24]!==y||_[25]!==j||_[26]!==n?(w=(0,l.jsxs)("div",{className:"rounded-4xl relative mx-auto flex max-w-[55rem] flex-col items-start justify-between gap-8 overflow-hidden px-12 py-8 sm:min-h-[31rem] sm:gap-5 md:p-14 lg:max-w-[81.25rem] lg:px-20 lg:py-20 lg:pb-20 lg:pt-14 xl:px-28",children:[n,y,j]}),_[24]=y,_[25]=j,_[26]=n,_[27]=w):w=_[27],_[28]!==w||_[29]!==M?(N=(0,l.jsx)("div",{id:M,className:"w-full overflow-hidden px-4 py-16 lg:py-24",children:w}),_[28]=w,_[29]=M,_[30]=N):N=_[30],N}},59525:(e,t,n)=>{n.d(t,{CtaBgLarge:()=>m});var l=n(58986),a=n(34978),i=n(93406),s=n(34703),r=n(98572),o=n(6050),c=n(9211);function d(e){let t,n,i,s=(0,a.c)(13),{buttons:d,className:u,buttonClassName:m}=e,[x,p]=(0,o.useState)(!1),[h,g]=(0,o.useState)(null),[f,y]=(0,o.useState)(0),b=(0,o.useRef)(null),{scrollY:v}=(0,r.L)();s[0]!==h||s[1]!==v?(t=()=>{let e=()=>{if(b.current){let e=b.current.getBoundingClientRect(),t=e.top<=window.innerHeight&&e.bottom>=0,n=v.get();if(t&&null===h&&g(n),!t){g(null),p(!1),y(n);return}if(t){let t=e.top<=window.innerHeight/1.05,n=e.bottom<=window.innerHeight/3;p(t&&!n)}else p(!1);y(n)}};e();let t=v.on("change",e);return()=>{t()}},s[0]=h,s[1]=v,s[2]=t):t=s[2],s[3]!==f||s[4]!==h||s[5]!==v?(n=[v,h,f],s[3]=f,s[4]=h,s[5]=v,s[6]=n):n=s[6],(0,o.useEffect)(t,n);let j=x&&!0,w=!x;return s[7]!==m||s[8]!==d||s[9]!==u||s[10]!==j||s[11]!==w?(i=(0,l.jsx)("div",{ref:b,className:"absolute left-0 top-0 m-0 flex h-full w-full items-end justify-center",children:(0,l.jsx)("div",{className:"sticky bottom-8 z-[300] mb-24 mt-8 flex w-full items-center justify-center",children:(0,l.jsx)(c.SanityButtons,{buttons:d,delay:2,buttonClassName:m,className:u,showButton:"auto",triggerEntryAnimation:j,triggerExitAnimation:w})})}),s[7]=m,s[8]=d,s[9]=u,s[10]=j,s[11]=w,s[12]=i):i=s[12],i}var u=n(77483);function m(e){let t,n,r,c,m,x,p,h,g,f,y=(0,a.c)(22),{title:b,ric
1hText:v,buttons:j,image:w,sectionParameters:N}=e;(0,o.useState)(!1);let[_,S]=(0,o.useState)(1.4),z=(0,o.useRef)(null);y[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{let e=()=>{if(!z.current)return;let e=z.current.getBoundingClientRect(),t=e.top,n=e.height,l=window.innerHeight;t<=l&&t>=-n?S(1.4-.4*Math.max(0,Math.min(1,(l-t)/(l+n)))):t>l?S(1.4):S(1)};return e(),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},n=[],y[0]=t,y[1]=n):(t=y[0],n=y[1]),(0,o.useEffect)(t,n);let k=null==N?void 0:N.sectionId;return y[2]===Symbol.for("react.memo_cache_sentinel")?(r={clipPath:"polygon(0% 0, 100% 0%, 100% 100%, 0 100%)"},y[2]=r):r=y[2],y[3]!==j?(c=j&&(0,l.jsx)(d,{buttons:j,className:"mb-8 grid w-full items-center justify-center gap-2 lg:pt-16",buttonClassName:"w-auto"}),y[3]=j,y[4]=c):c=y[4],y[5]!==w||y[6]!==_?(m=w&&(0,l.jsxs)("div",{className:"fixed inset-0 z-[-1]",style:{transform:"scale(".concat(_,")"),transition:"transform 0.3s ease-out"},children:[(0,l.jsx)(s.s,{image:w,className:"h-full w-full object-cover object-center",sizes:"100vw"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/70 to-black/10"})]}),y[5]=w,y[6]=_,y[7]=m):m=y[7],y[8]!==b?(x=(0,l.jsx)(u.DZ,{className:"font-bold uppercase",children:b}),y[8]=b,y[9]=x):x=y[9],y[10]!==v?(p=(0,l.jsx)("div",{className:"text-white/90",children:(0,l.jsx)(u.hj,{richText:v,className:"mx-auto max-w-screen-lg text-base font-bold sm:text-lg md:text-xl lg:text-2xl"})}),y[10]=v,y[11]=p):p=y[11],y[12]!==x||y[13]!==p?(h=(0,l.jsx)(i.m,{className:"relative z-10",children:(0,l.jsxs)("div",{className:"w-full space-y-14 text-center text-white",children:[x,p]})}),y[12]=x,y[13]=p,y[14]=h):h=y[14],y[15]!==m||y[16]!==h?(g=(0,l.jsx)("div",{className:"sticky top-0 z-[1] flex h-screen w-full flex-[0_0_auto] flex-col items-center justify-center",children:(0,l.jsxs)("div",{className:"flex min-h-screen w-full items-center justify-center py-16 sm:py-32",children:[m,h]})}),y[15]=m,y[16]=h,y[17]=g):g=y[17],y[18]!==g||y[19]!==k||y[20]!==c?(f=(0,l.jsxs)("section",{id:k,ref:z,className:"relative z-[2] flex min-h-min flex-[0_0_auto] flex-col items-center overflow-visible",style:r,children:[c,g]}),y[18]=g,y[19]=k,y[20]=c,y[21]=f):f=y[21],f}},61090:(e,t,n)=>{n.d(t,{JobsDefault:()=>x});var l=n(58986),a=n(34978),i=n(9211),s=n(77483),r=n(94103),o=n(94366),c=n(73992),d=n(56995),u=n.n(d),m=n(12465);function x(e){let t,n,d,x,p,h,g,f=(0,a.c)(22),{title:y,jobs:b,sectionParameters:v}=e,{t:j,i18n:w}=(0,m.Bd)("common");if(!b||0===b.length)return null;let N=w.language,_=null==v?void 0:v.sectionId;if(f[0]!==y?(t=(0,l.jsx)(s.DZ,{className:"mb-7 mt-0 text-center md:hidden",children:y}),f[0]=y,f[1]=t):t=f[1],f[2]!==y?(n=(0,l.jsx)(s.R2,{theme:"gray",position:"outside",className:"-top-12 hidden md:-top-14 md:block lg:-top-14 2xl:-top-14",children:y}),f[2]=y,f[3]=n):n=f[3],f[4]!==b||f[5]!==N||f[6]!==j){let e;f[8]!==N||f[9]!==j?(e=(e,t)=>(0,l.jsxs)(o.P.li,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5,delay:.3*t},viewport:{once:!0},className:"border-border flex items-start gap-6 border-b pb-6 md:border-b-0",children:[(0,l.jsxs)("div",{className:"text-foreground md:bg-background flex min-h-12 flex-1 flex-col items-start justify-between gap-2 px-6 py-2 text-base md:min-h-16 md:flex-row md:items-center md:gap-5 md:rounded-full",children:[(0,l.jsx)(s.DZ,{as:"h3",className:"min-w-1/2 text-foreground m-0 flex-1 text-left text-base font-bold",children:e.title}),(0,l.jsxs)("div",{className:"flex flex-1 justify-between gap-5",children:[e.endDate&&(0,l.jsx)("span",{children:new Date(e.endDate).toLocaleDateString()}),e.location&&(0,l.jsx)("span",{children:e.location})]})]}),(0,l.jsx)("div",{className:"hidden max-w-48 md:block md:w-48",children:(0,l.jsx)(i.SanityButton,{variant:"secondary",href:(0,r.Rh)({path:e.path,locale:N}),text:j("carreers.see"),icon:"arrow-right",className:"w-full sm:min-w-full"})}),(0,l.jsx)("div",{className:"block max-w-12 md:hidden md:w-12",children:(0,l.jsx)(u(),{href:(0,r.Rh)({path:e.path,locale:N}),className:"border-accent bg-background text-accent mt-3 flex h-12 w-12 items-center justify-center rounded-full border",children:(0,l.jsx)(c.A,{className:"h-6 w-6"})})})]},e._id),f[8]=N,f[9]=j,f[10]=e):e=f[10],d=b.map(e),f[4]=b,f[5]=N,f[6]=j,f[7]=d}else d=f[7];return f[11]!==d?(x=(0,l.jsx)("div",{className:"mx-auto w-full max-w-[58.5rem]",children:(0,l.jsx)("ul",{className:"space-y-6",children:d})}),f[11]=d,f[12]=x):x=f[12],f[13]!==n||f[14]!==x?(p=(0,l.jsx)("div",{className:"mx-auto w-full",children:(0,l.jsxs)("div",{className:"md:bg-card relative px-8 py-12 md:rounded-3xl lg:px-12 lg:py-16 2xl:px-28",children:[n,x]})}),f[13]=n,f[14]=x,f[15]=p):p=f[15],f[16]!==t||f[17]!==p?(h=(0,l.jsxs)("div",{className:"w-full px-6 lg:px-12 2xl:px-24",children:[t,p]}
1),f[16]=t,f[17]=p,f[18]=h):h=f[18],f[19]!==_||f[20]!==h?(g=(0,l.jsx)("section",{id:_,className:"bg-background w-full py-16",children:h}),f[19]=_,f[20]=h,f[21]=g):g=f[21],g}},61554:(e,t,n)=>{n.d(t,{IframeDefault:()=>m});var l=n(58986),a=n(34978),i=n(93406),s=n(9211),r=n(34703),o=n(77483),c=n(67928),d=n(94366),u=n(6050);function m(e){let t,n,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T=(0,a.c)(43),{title:q,richText:I,eyebrow:D,eyebrowPosition:M,url:L,buttons:B,sectionParameters:R,image:V,fullWidth:A}=e,E=(0,u.useRef)(null);if(T[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{let e=e=>{e.data.iframeHeight&&E.current&&(E.current.style.height=e.data.iframeHeight+"px")};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},n=[],T[0]=t,T[1]=n):(t=T[0],n=T[1]),(0,u.useEffect)(t,n),!L)return null;let F=null==R?void 0:R.sectionId,Z=V&&"pb-[28rem] lg:pb-[44rem]";T[2]!==Z?(m=(0,c.cn)("rounded-4xl relative mb-[2rem] w-full overflow-hidden py-12 lg:py-24",Z),T[2]=Z,T[3]=m):m=T[3],T[4]!==D||T[5]!==M?(x=(0,l.jsx)(o.R2,{position:M,children:D}),T[4]=D,T[5]=M,T[6]=x):x=T[6],T[7]===Symbol.for("react.memo_cache_sentinel")?(h={opacity:.5,y:20,filter:"blur(0.5rem)"},g={opacity:1,y:0,filter:"blur(0rem)"},f={duration:1},p={once:!0},T[7]=p,T[8]=h,T[9]=g,T[10]=f):(p=T[7],h=T[8],g=T[9],f=T[10]),T[11]!==q?(y=(0,l.jsx)(d.P.div,{initial:h,whileInView:g,transition:f,viewport:p,className:"mx-auto md:px-8",children:(0,l.jsx)(o.DZ,{className:"gradient-text m-0 text-center uppercase",children:q})}),T[11]=q,T[12]=y):y=T[12],T[13]!==I?(b=(0,l.jsx)(o.hj,{richText:I,className:"mx-auto mt-6 max-w-[46rem]"}),T[13]=I,T[14]=b):b=T[14],T[15]!==y||T[16]!==b||T[17]!==x?(v=(0,l.jsxs)("div",{className:"mx-auto max-w-[60rem] text-center",children:[x,y,b]}),T[15]=y,T[16]=b,T[17]=x,T[18]=v):v=T[18];let $=!A&&"max-w-[54rem]";T[19]!==$?(j=(0,c.cn)("mx-auto mt-12 w-full",$),T[19]=$,T[20]=j):j=T[20];let H=q||"Embedded content";return T[21]!==H||T[22]!==L?(w=(0,l.jsx)("div",{className:"rounded-4xl overflow-hidden bg-white/80 shadow-lg",children:(0,l.jsx)("iframe",{id:"myFrame",ref:E,src:L,title:H,className:"h-full min-h-[35rem] w-full",allowFullScreen:!0,loading:"lazy"})}),T[21]=H,T[22]=L,T[23]=w):w=T[23],T[24]!==j||T[25]!==w?(N=(0,l.jsx)("div",{className:j,children:w}),T[24]=j,T[25]=w,T[26]=N):N=T[26],T[27]!==B?(_=(0,l.jsx)("div",{className:"mt-12 text-center",children:(0,l.jsx)(s.SanityButtons,{buttons:B})}),T[27]=B,T[28]=_):_=T[28],T[29]!==v||T[30]!==N||T[31]!==_?(S=(0,l.jsxs)(i.m,{className:"relative z-10",children:[v,N,_]}),T[29]=v,T[30]=N,T[31]=_,T[32]=S):S=T[32],T[33]===Symbol.for("react.memo_cache_sentinel")?(z=(0,l.jsx)("div",{className:"z-5 absolute top-0 h-full w-full bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] bg-cover bg-center"}),T[33]=z):z=T[33],T[34]!==V?(k=V&&(0,l.jsx)("div",{className:"absolute bottom-0 h-full max-h-[44rem] w-full lg:max-h-[64rem]",children:(0,l.jsx)(r.s,{image:V,className:"h-full w-full object-cover object-center",fill:!0,sizes:"100vw",quality:100})}),T[34]=V,T[35]=k):k=T[35],T[36]!==S||T[37]!==k||T[38]!==m?(P=(0,l.jsxs)("div",{className:m,children:[S,z,k]}),T[36]=S,T[37]=k,T[38]=m,T[39]=P):P=T[39],T[40]!==P||T[41]!==F?(C=(0,l.jsx)("section",{id:F,className:"w-full px-5 py-12 lg:px-12",children:P}),T[40]=P,T[41]=F,T[42]=C):C=T[42],C}},62094:(e,t,n)=>{n.d(t,{StoryDark:()=>u});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(9211),o=n(77483),c=n(94366),d=n(81627);function u(e){let t,n,d,u,x,p,h,g,f,y,b,v,j,w,N,_,S=(0,a.c)(31),{title:z,richText:k,eyebrow:P,eyebrowPosition:C,stories:T,buttons:q,disclaimers:I}=e;return S[0]!==P||S[1]!==C?(t=(0,l.jsx)(o.R2,{position:C,children:P}),S[0]=P,S[1]=C,S[2]=t):t=S[2],S[3]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:.5,y:20,filter:"blur(0.5rem)"},d={opacity:1,y:0,filter:"blur(0rem)"},u={duration:1},x={once:!0},S[3]=n,S[4]=d,S[5]=u,S[6]=x):(n=S[3],d=S[4],u=S[5],x=S[6]),S[7]!==z?(p=(0,l.jsx)(c.P.div,{initial:n,whileInView:d,transition:u,viewport:x,children:(0,l.jsx)(o.DZ,{className:"gradient-text from-accent mx-auto bg-gradient-to-r to-[#FFFFFF] bg-clip-text text-center text-transparent sm:px-12 md:px-16",children:z})}),S[7]=z,S[8]=p):p=S[8],S[9]===Symbol.for("react.memo_cache_sentinel")?(h={opacity:.5,y:20,filter:"blur(0.5rem)"},g={opacity:1,y:0,filter:"blur(0rem)"},f={duration:1,delay:.3},y={once:!0},S[9]=h,S[10]=g,S[11]=f,S[12]=y):(h=S[9],g=S[10],f=S[11],y=S[12]),S[13]!==k?(b=(0,l.jsx)(c.P.div,{initial:h,whileInView:g,transition:f,viewport:y,children:(0,l.jsx)(o.hj,{richText:k,className:"mx-auto max-w-[60rem] text-center text-base sm:px-12 md:mt-10 md:px-16 lg:text-xl"})}),S[13]=k,S[14]=b):b=S[14],S[15]!==I?(v=(null==I?void 0:I.disclaimerTop)&&(0,l.jsx)("div",{className:"mb-8 text-center",children:(0,l.jsx)(s.s,{richText:I.disclaimerTop})}),S[15]=I,S[16]=v):v=S[16],S[17]!==T?(j=(null==T?void 0:T.length)&&(0,l.jsx)("div",{className:"",children:T.map(m)}),S[17]=T,S[18]=j):j=S[18],S[19]!==q?(w=(0,l.jsx)(r.SanityButtons,{buttons:q,showButton:"inView",className:"items-center justify-center px-8"}),S[19]=q,S[20]=w):w=S[20],S[21]!==I?(N=(null==I?void 0:I.disclaimerBottom)&&(0,l.jsx)("div",{className:"mt-8 text-center",children:(0,l.jsx)(s.s,{richText:I.disclaimerBottom})}),S[21]=I,S[22]=N):N=S[22],S[23]!==t||S[24]!==b||S[25]!==v||S[26]!==j||S[27]!==w||S[28]!==N||S[29]!==p?(_=(0,l.jsx)("section",{className:"relative py-12 lg:py-24",children:(0,l.jsx)("div",{className:"w-full px-6 lg:px-12 2xl:px-24",children:(0,l.jsx)("div",{className:"rounded-4xl text-background bg-gradient-to-b from-black from-80% to-[#353436] px-4 py-24 sm:px-6 lg:px-0 lg:py-32",children:(0,l.jsxs)(i.m,{className:"px-0 lg:px-0",children:[t,p,b,v,j,w,N]})})})}),S[23]=t,S[24]=b,S[25]=v,S[26]=j,S[27]=w,S[28]=N,S[29]=p,S[30]=_):_=S[30],_}function m(e){return(0,l.jsx)("div",{className:"sm:px-12 sm:pt-12 md:px-16 md:pt-16",children:(0,l.jsx)(d.du,{...e})},e._id)}}
1,65848:(e,t,n)=>{n.d(t,{HeroHomepage:()=>G});var l=n(58986),a=n(18934),i=n(9211),s=n(34978),r=n(45124),o=n(35863),c=n(35597),d=n(50286),u=n(6050),m=n(67928),x=n(69433);let p=u.createContext(null);function h(){let e=u.useContext(p);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function g(e){let t,n,a,i,c,d,x,h,g,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I,D,M,L,B,R,V,A,E,F,Z,$,H=(0,s.c)(76);H[0]!==e?({orientation:x,opts:a,setApi:d,plugins:i,className:n,children:t,autoPlay:h,itemsDelay:g,dots:y,arrows:b,arrowsPosition:v,...c}=e,H[0]=e,H[1]=t,H[2]=n,H[3]=a,H[4]=i,H[5]=c,H[6]=d,H[7]=x,H[8]=h,H[9]=g,H[10]=y,H[11]=b,H[12]=v):(t=H[1],n=H[2],a=H[3],i=H[4],c=H[5],d=H[6],x=H[7],h=H[8],g=H[9],y=H[10],b=H[11],v=H[12]);let O=void 0===x?"horizontal":x,G=void 0!==h&&h,U=void 0===g?5e3:g,Y=void 0===y?"mobile":y,W=void 0===b?"desktop":b,Q=void 0===v?"default":v;H[13]===Symbol.for("react.memo_cache_sentinel")?(j=(0,o.J)(),H[13]=j):j=H[13];let J=j;H[14]!==i?(w=i?Array.isArray(i)?[J,...i]:[J,i]:[J],H[14]=i,H[15]=w):w=H[15];let K=w,X="horizontal"===O?"x":"y";H[16]!==a||H[17]!==X?(N={...a,axis:X},H[16]=a,H[17]=X,H[18]=N):N=H[18];let[ee,et]=(0,r.A)(N,K),[en,el]=u.useState(!1),[ea,ei]=u.useState(!1),[es,er]=u.useState(0),[eo,ec]=u.useState(!1),[ed,eu]=u.useState(0);H[19]===Symbol.for("react.memo_cache_sentinel")?(_=[],H[19]=_):_=H[19];let[em,ex]=u.useState(_),ep=u.useRef(null);H[20]!==et?(S=()=>{null==et||et.scrollPrev()},H[20]=et,H[21]=S):S=H[21];let eh=S;H[22]!==et?(z=()=>{null==et||et.scrollNext()},H[22]=et,H[23]=z):z=H[23];let eg=z;H[24]!==eg||H[25]!==eh?(k=e=>{"ArrowLeft"===e.key?(e.preventDefault(),eh()):"ArrowRight"===e.key&&(e.preventDefault(),eg())},H[24]=eg,H[25]=eh,H[26]=k):k=H[26];let ef=k;H[27]===Symbol.for("react.memo_cache_sentinel")?(P=()=>{ec(!0)},H[27]=P):P=H[27];let ey=P;H[28]===Symbol.for("react.memo_cache_sentinel")?(C=()=>{ec(!1)},H[28]=C):C=H[28];let eb=C;H[29]!==et||H[30]!==G||H[31]!==eo||H[32]!==U?(T=()=>{if(!et||!G)return;let e=setInterval(()=>{eo||er(f)},U/100);return()=>clearInterval(e)},q=[et,G,U,eo],H[29]=et,H[30]=G,H[31]=eo,H[32]=U,H[33]=T,H[34]=q):(T=H[33],q=H[34]),u.useEffect(T,q),H[35]!==et||H[36]!==G||H[37]!==e
1s?(I=()=>{et&&G&&es>=100&&(et.scrollNext(),er(0))},D=[es,et,G],H[35]=et,H[36]=G,H[37]=es,H[38]=I,H[39]=D):(I=H[38],D=H[39]),u.useEffect(I,D),H[40]===Symbol.for("react.memo_cache_sentinel")?(M=e=>{e&&(el(e.canScrollPrev()),ei(e.canScrollNext()),eu(e.selectedScrollSnap()),er(0))},H[40]=M):M=H[40];let ev=M;H[41]===Symbol.for("react.memo_cache_sentinel")?(L=e=>{e&&ex(e.scrollSnapList())},H[41]=L):L=H[41];let ej=L;H[42]!==et||H[43]!==d?(B=()=>{et&&d&&d(et)},R=[et,d],H[42]=et,H[43]=d,H[44]=B,H[45]=R):(B=H[44],R=H[45]),u.useEffect(B,R),H[46]!==et?(V=()=>{if(et)return ej(et),ev(et),et.on("reInit",ej),et.on("reInit",ev),et.on("select",ev),()=>{null==et||et.off("select",ev),null==et||et.off("reInit",ev),null==et||et.off("reInit",ej)}},A=[et,ej,ev],H[46]=et,H[47]=V,H[48]=A):(V=H[47],A=H[48]),u.useEffect(V,A);let ew=O||((null==a?void 0:a.axis)==="y"?"vertical":"horizontal");return H[49]!==et||H[50]!==W||H[51]!==Q||H[52]!==G||H[53]!==ea||H[54]!==en||H[55]!==ee||H[56]!==Y||H[57]!==U||H[58]!==a||H[59]!==eg||H[60]!==eh||H[61]!==em||H[62]!==ed||H[63]!==es||H[64]!==ew?(E={carouselRef:ee,api:et,opts:a,orientation:ew,scrollPrev:eh,scrollNext:eg,canScrollPrev:en,canScrollNext:ea,slideProgress:es,scrollSnaps:em,selectedIndex:ed,dots:Y,arrows:W,arrowsPosition:Q,autoPlay:G,itemsDelay:U,contentRef:ep},H[49]=et,H[50]=W,H[51]=Q,H[52]=G,H[53]=ea,H[54]=en,H[55]=ee,H[56]=Y,H[57]=U,H[58]=a,H[59]=eg,H[60]=eh,H[61]=em,H[62]=ed,H[63]=es,H[64]=ew,H[65]=E):E=H[65],H[66]!==n?(F=(0,m.cn)("relative",n),H[66]=n,H[67]=F):F=H[67],H[68]!==t||H[69]!==ef||H[70]!==c||H[71]!==F?(Z=(0,l.jsx)("div",{onKeyDownCapture:ef,onMouseEnter:ey,onMouseLeave:eb,className:F,role:"region","aria-roledescription":"carousel","data-slot":"carousel",...c,children:t}),H[68]=t,H[69]=ef,H[70]=c,H[71]=F,H[72]=Z):Z=H[72],H[73]!==E||H[74]!==Z?($=(0,l.jsx)(p.Provider,{value:E,children:Z}),H[73]=E,H[74]=Z,H[75]=$):$=H[75],$}function f(e){return e>=100?0:e+1}function y(e){let{className:t,...n}=e,{carouselRef:a,orientation:i,contentRef:s}=h();return(0,l.jsx)("div",{ref:e=>{"function"==typeof a?a(e):a&&(a.current=e),s&&(s.current=e)},className:"","data-slot":"carousel-content",children:(0,l.jsx)("div",{className:(0,m.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",t),...n})})}function b(e){let t,n,a,i,r=(0,s.c)(9);r[0]!==e?({className:t,...n}=e,r[0]=e,r[1]=t,r[2]=n):(t=r[1],n=r[2]);let{orientation:o}=h(),c="horizontal"===o?"pl-2":"pt-2";return r[3]!==t||r[4]!==c?(a=(0,m.cn)("min-w-0 shrink-0 grow-0 basis-full",c,t),r[3]=t,r[4]=c,r[5]=a):a=r[5],r[6]!==n||r[7]!==a?(i=(0,l.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:a,...n}),r[6]=n,r[7]=a,r[8]=i):i=r[8],i}let v=u.forwardRef((e,t)=>{let n,a,i,r,o,d,u=(0,s.c)(15);u[0]!==e?({className:n,...a}=e,u[0]=e,u[1]=n,u[2]=a):(n=u[1],a=u[2]);let{scrollPrev:x,canScrollPrev:p,arrows:g,arrowsPosition:f}=h();u[3]!==g||u[4]!==f||u[5]!==n?(i=(0,m.cn)(w({arrows:g}),N({arrowsPosition:f}),n),u[3]=g,u[4]=f,u[5]=n,u[6]=i):i=u[6];let y=!p;return u[7]===Symbol.for("react.memo_cache_sentinel")?(r=(0,l.jsx)(c.A,{className:"h-5 w-5 relative z-0","aria-label":"Previous slide"}),o=(0,l.jsx)("span",{className:"sr-only",children:"Previous slide"}),u[7]=r,u[8]=o):(r=u[7],o=u[8]),u[9]!==a||u[10]!==t||u[11]!==x||u[12]!==i||u[13]!==y?(d=(0,l.jsxs)("button",{ref:t,className:i,disabled:y,onClick:x,...a,"aria-label":"Previous slide",children:[r,o]}),u[9]=a,u[10]=t,u[11]=x,u[12]=i,u[13]=y,u[14]=d):d=u[14],d});v.displayName="CarouselHomePrevious";let j=u.forwardRef((e,t)=>{let n,a,i,r,o,c,u=(0,s.c)(15);u[0]!==e?({className:n,...a}=e,u[0]=e,u[1]=n,u[2]=a):(n=u[1],a=u[2]);let{scrollNext:x,canScrollNext:p,arrows:g,arrowsPosition:f}=h();u[3]!==g||u[4]!==f||u[5]!==n?(i=(0,m.cn)(w({arrows:g}),_({arrowsPosition:f}),n),u[3]=g,u[4]=f,u[5]=n,u[6]=i):i=u[6];let y=!p;return u[7]===Symbol.for("react.memo_cache_sentinel")?(r=(0,l.jsx)(d.A,{className:"h-5 w-5 relative z-0","aria-label":"Next slide"}),o=(0,l.jsx)("span",{className:"sr-only",children:"Next slide"}),u[7]=r,u[8]=o):(r=u[7],o=u[8]),u[9]!==a||u[10]!==t||u[11]!==x||u[12]!==i||u[13]!==y?(c=(0,l.jsxs)("button",{ref:t,className:i,disabled:y,onClick:x,...a,"aria-label":"Next slide",children:[r,o]}),u[9]=a,u[10]=t,u[11]=x,u[12]=i,u[13]=y,u[14]=c):c=u[14],c});
1j.displayName="CarouselHomeNext";let w=(0,x.F)("flex",{variants:{arrows:{mobile:"lg:hidden",desktop:"hidden lg:flex",none:"",always:""}},defaultVariants:{arrows:"desktop"}}),N=(0,x.F)("text-primary hover:text-primary/80 hover:bg-card/80 absolute z-10 h-10 w-10 rounded-full items-center justify-center disabled:opacity-20 bg-card",{variants:{arrowsPosition:{top:"right-10 top-0",bottom:"right-5 bottom-0 relative",inside:"left-0 bottom-10",default:"left-0 2xl:-left-14 top-1/2 -translate-y-1/2"}},defaultVariants:{arrowsPosition:"default"}}),_=(0,x.F)("text-primary hover:text-primary/80 hover:bg-card/80 absolute z-10 h-10 w-10 rounded-full items-center justify-center disabled:opacity-20 bg-card",{variants:{arrowsPosition:{top:"right-0 top-0",bottom:"right-0 bottom-0 relative",inside:"right-0 bottom-10",default:"right-0 2xl:-right-14 top-1/2 -translate-y-1/2"}},defaultVariants:{arrowsPosition:"default"}}),S=(0,x.F)("",{variants:{dots:{mobile:"flex lg:hidden",desktop:"lg:flex hidden",none:"",always:"flex"}},defaultVariants:{dots:"mobile"}}),z=(0,x.F)("mx-1 w-3 h-3 p-0 shadow rounded-full transition-all ease-linear",{variants:{variant:{default:"bg-background/30 data-[selected=true]:bg-background",secondary:"relative bg-foreground
1/30 data-[selected=true]:bg-foreground shadow-none active:bg-primary data-[selected=true]:bg-foreground data-[selected=true]:w-6 h-3 transition-all duration-300 ease-out",progress:"relative bg-border data-[selected=true]:bg-accent/50 shadow-none active:bg-primary data-[selected=true]:w-12 h-4 w-4 transition-all duration-300 ease-out overflow-hidden",blue:"bg-card data-[selected=true]:bg-accent active:bg-accent "}},defaultVariants:{variant:"default"}});u.forwardRef((e,t)=>{let n,a,i,r,o,c,d=(0,s.c)(23);d[0]!==e?({className:n,variant:i,...a}=e,d[0]=e,d[1]=n,d[2]=a,d[3]=i):(n=d[1],a=d[2],i=d[3]);let u=void 0===i?"default":i,{scrollSnaps:x,selectedIndex:p,api:g,dots:f,slideProgress:y}=h();if(d[4]!==n||d[5]!==f?(r=(0,m.cn)("absolute mt-3 flex justify-center left-0 right-0 top-full z-50",n,S({dots:f})),d[4]=n,d[5]=f,d[6]=r):r=d[6],d[7]!==g||d[8]!==x||d[9]!==p||d[10]!==y||d[11]!==u){let e;d[13]!==g||d[14]!==p||d[15]!==y||d[16]!==u?(e=(e,t)=>{let n=t===p;return(0,l.jsx)("button",{"data-selected":n,className:(0,m.cn)(z({variant:u})),onClick:()=>null==g?void 0:g.scrollTo(t),"aria-label":"Slide ".concat(t+1),title:"Slide ".concat(t+1),children:"progress"===u&&n&&(0,l.jsx)("div",{className:"absolute left-0 top-0 bottom-0 bg-accent transition-all duration-75 ease-out rounded-full",style:{width:"".concat(y,"%")}})},t)},d[13]=g,d[14]=p,d[15]=y,d[16]=u,d[17]=e):e=d[17],o=x.map(e),d[7]=g,d[8]=x,d[9]=p,d[10]=y,d[11]=u,d[12]=o}else o=d[12];return d[18]!==a||d[19]!==t||d[20]!==r||d[21]!==o?(c=(0,l.jsx)("div",{className:r,ref:t,...a,children:o}),d[18]=a,d[19]=t,d[20]=r,d[21]=o,d[22]=c):c=d[22],c}).displayName="CarouselHomeDots";var k=n(90948),P=n(38681),C=n(98572),T=n(82675),q=n(89011),I=n(94366),D=n(31368),M=n(12532),L=n(34703);let B={stiffness:140,damping:32,mass:.6},R=[.33,1,.68,1],V=[.68,1,.33,1],A="easeOut",E={FAST:.3,NORMAL:.5,MEDIUM:.75,SLOW:1,QUICK:.4};function F(e){let{item:t,animationState:n,isCenterCard:a,isCarouselMode:s,isMobile:r,isMounted:o,showTitles:c,shouldPrioritizeImage:d=!1,viewportWidth:m,viewportHeight:x,onForwardComplete:p,onReverseComplete:h,onSweepComplete:g}=e,f=null==t?void 0:t.image,y=null==t?void 0:t.title,b=null==t?void 0:t.hoverTitle,v=null==t?void 0:t.buttons,[j,w]=(0,u.useState)(!1),[N,_]=(0,u.useState)(!1),S=(0,u.useRef)(!0),z=(0,u.useRef)(n),[k,P]=(0,u.useState)(!1);(0,u.useEffect)(()=>{"initial"===n&&S.current&&(S.current=!1),P("animate"===z.current&&"initial"===n),z.current=n},[n]);let C=(0,u.useMemo)(()=>({initial:{y:0,opacity:+!!a},animate:{y:0,opacity:1,transition:{type:"spring",...B,delay:.5*!a}},carousel:{opacity:1,y:0}}),[a,r]),T=(0,u.useMemo)(()=>({initial:{scale:1},animate:{scale:1}}),[]),q=(0,u.useMemo)(()=>({initial:{boxShadow:"0 0 0 0px white",transition:{duration:E.MEDIUM,ease:V,delay:.1}},animate:{boxShadow:a?"0 0 0 2000px white":"0 0 0 0px white",transition:{duration:a?E.SLOW+.3:0,ease:V}},carousel:{boxShadow:a?"0 0 0 2000px white":"0 0 0 0px white",transition:{duration:0}}}
1),[a]),M=(0,u.useMemo)(()=>({initial:{scale:Math.min(1.1*function(e,t,n){if(0===t||0===n)return e?2.2:2.8;let l=e?2.2:2.8;return Math.max(l,Math.min(l*Math.max((t+30*!e)/(e?375:1920),n/(e?667:1080)),1.5*l))}(r,m,x),r?2.5:6)},animate:{scale:1.5,transition:{duration:E.NORMAL+.3,ease:R,delay:.15}},carousel:{scale:1.5}}),[a,r,o,m,x]);return(0,l.jsx)(I.P.div,{initial:"initial",animate:n,onAnimationComplete:a?()=>{a&&"initial"===n&&h&&h()}:void 0,variants:C,transition:{opacity:{duration:E.NORMAL,ease:R},y:{duration:0}},className:"relative w-full",children:(0,l.jsxs)(I.P.div,{className:"relative",animate:n,variants:T,transition:{duration:E.NORMAL,ease:R,delay:.2},children:[(0,l.jsx)(I.P.div,{className:"md:rounded-4xl absolute inset-0 z-10 rounded-lg ".concat(j?"pointer-events-none":s?"pointer-events-auto cursor-pointer":"pointer-events-none"),animate:n,onAnimationComplete:a?()=>{a&&"animate"===n&&g&&g()}:void 0,variants:q,...s&&!j?{onMouseEnter:()=>{w(!0),_(!0)},onMouseLeave:()=>{w(!1),_(!1)}}:{}}),(0,l.jsxs)("div",{className:"md:rounded-4xl relative aspect-[348/546] max-h-[512px] w-full scale-100 rounded-lg md:aspect-[824/544] ".concat(a?"initial"===n?"":s?"overflow-hidden":"":"overflow-hidden"," ").concat(s?"cursor-pointer":""),...s?{onMouseEnter:()=>{w(!0),_(!0)},onMouseLeave:()=>{w(!1),_(!1)}}:{},children:[(0,l.jsx)(I.P.div,{style:{transformOrigin:"center center",willChange:"transform"},className:"absolute inset-0 h-full w-full",initial:"initial",animate:n,variants:M,transition:"initial"===n&&S.current?{duration:0}:k?{type:"tween",duration:E.FAST,ease:"easeIn",delay:0,x:{duration:0},y:{duration:0}}:"animate"===n&&a?{type:"tween",duration:E.NORMAL+.3,ease:R,delay:.5}:{type:"tween",duration:E.NORMAL+.3,ease:R},children:f&&(0,l.jsx)(L.s,{image:f,loading:d?"eager":"lazy",priority:d,fill:!0,sizes:"100vw",quality:100,className:"absolute inset-0 h-full w-full object-cover"})}),(0,l.jsx)(D.N,{children:y&&c&&(0,l.jsx)(I.P.div,{initial:{opacity:0}
1,animate:{opacity:s&&j?0:1},exit:{opacity:0},transition:{duration:E.QUICK,ease:A},className:"absolute inset-x-0 top-0 z-10 p-6 md:p-12",children:(0,l.jsx)("h3",{className:"text-2xl font-bold !leading-[1.1] text-white md:text-5xl lg:max-w-[450px]",children:function(e){if(!e)return null;let t=e.match(/^(.*?\bSeguros\b)(\s*)(.*)$/i);if(!t)return e;let n=t[1],a=t[3];return(0,l.jsxs)(l.Fragment,{children:[n,(0,l.jsx)("br",{}),a]})}(y)})})}),(0,l.jsx)(D.N,{children:s&&j&&(0,l.jsx)(I.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:E.QUICK,ease:A},className:"pointer-events-none absolute inset-0 z-[200] bg-black/60"},"hover-overlay")}),(0,l.jsx)(D.N,{children:s&&N&&(b||v&&Array.isArray(v)&&v.length>0)&&(0,l.jsxs)(I.P.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:E.QUICK,ease:A},className:"pointer-events-auto absolute inset-0 z-[201] flex flex-col items-center justify-between gap-4 p-6 md:p-12",onMouseEnter:()=>{w(!0),_(!0)},onMouseLeave:()=>{w(!1),_(!1)},children:[b&&(0,l.jsx)("h3",{className:"w-full text-2xl font-bold text-white md:text-3xl lg:text-4xl",children:function(e){if(!e)return null;let t=e.toLowerCase(),n="simule j\xe1",a=n.toLowerCase(),i=t.indexOf(a);if(-1===i)return e;let s=n.length,r=e.substring(0,i).trimEnd(),o=e.substring(i,i+s),c=e.substring(i+s).trimStart();return(0,l.jsxs)("div",{className:"max-w-[85%]",children:[r&&(0,l.jsxs)(l.Fragment,{children:[r," "]}),(0,l.jsxs)("span",{className:"from-accent block bg-gradient-to-r to-[#96E5FF] bg-clip-text text-transparent",children:[o,(0,l.jsx)("br",{})]}),c&&(0,l.jsx)("span",{className:"sm:mt-2 block",children:c})]})}(b)}),(0,l.jsx)("div",{className:"flex w-full flex-col gap-3",children:v&&Array.isArray(v)&&v.length>0&&(0,l.jsx)(i.SanityButtons,{buttons:v,variant:"transparent",size:"default",buttonClassName:"rounded-full font-semibold",className:"w-full !flex-col sm:!flex-col items-start",showButton:"always"})})]},"hover-fields")})]})]})})}let Z=[.33,1,.68,1],$=[.68,1,.33,1],H={FAST:.3,NORMAL:.5,QUICK:.4},O="opacity ".concat(H.FAST,"s ease-in-out");function G(e){var t,n,s,r;let{title:o,subTitle:c,description:d,buttons:m,images:x,carouselTitle:p,carouselSubtitle:h,sectionParameters:f}=e,w=(null==x?void 0:x.length)||0,N=(0,k.I)(),[_,S]=(0,u.useState)(Array(w).fill("initial"));(0,u.useEffect)(()=>{_.length!==w&&S(Array(w).fill("initial"))},[w]);let[z,L]=(0,u.useState)(!1),[B,R]=(0,u.useState)(!1),[V,A]=(0,u.useState)(!0),E=(0,u.useRef)(!1),[G,U]=(0,u.useState)(!1),[Y,W]=(0,u.useState)(!1),[Q,J]=(0,u.useState)({width:0,height:0}),[K,X]=(0,u.useState)("idle");(0,P.E)();let[ee,et]=(0,u.useState)(!1),[en,el]=(0,u.useState)(!1),ea=(0,u.useRef)(null),ei=(0,u.useRef)(null),es=(0,u.useRef)(null),er=(0,u.useRef)(null),[eo,ec]=(0,u.useState)("100vh"),[ed,eu]=(0,u.useState)(0),em="forward"===K||"reverse"===K,ex="reverse"===K,{scrollY:ep}=(0,C.L)(),eh=(0,T.d)(-100),eg=(0,T.d)(0),ef=(0,q.G)(eg,e=>0===e?"hidden":"visible"),ey=(0,q.G)(eg,e=>50*(0!==e));(0,u.useEffect)(()=>{z?ex?(eh.set(100),eg.set(0)):(eh.set(0),eg.set(1)):(eh.set(-100),eg.set(0))},[z,ex,eh,eg]);let[eb,ev]=(0,u.useState)(),[ej,ew]=(0,u.useState)(0),[eN,e_]=(0,u.useState)(!1),eS=(0,u.useMemo)(()=>({align:"center",loop:w>1,startIndex:0,watchDrag:!0,skipSnaps:!1,dragFree:!1}),[w]);(0,u.useEffect)(()=>{eb&&requestAnimationFrame(()=>{e_(!0)})},[eb]),(0,u.useEffect)(()=>{let e=()=>{U(window.innerWidth<768),J({width:window.innerWidth,height:window.innerHeight})};return e(),W(!0),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,u.useEffect)(()=>{!z||ex?ec("100vh"):ec("calc(100vh - 128px)")},[z,ex]),(0,u.useEffect)(()=>{let e=()=>{er.current&&eu(er.current.offsetHeight)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[z,eN]),(0,u.useEffect)(()=>{window.scrollY>0?(L(!0),R(!0),A(!1),e_(!0),X("complete"),S(e=>e.map((e,t)=>t===ej?"animate":"carousel"))):S(e=>e.map(()=>"initial"))},[]),(0,M.K$)(V,"hero-homepage");let ez=()=>{z&&!B&&"forward"===K&&requestAnimationFrame(()=>{"forward"===K&&(R(!0),A(!1),window.scrollTo(0,1),S(e=>e.map((e,t)=>t!==ej?"carousel":e)),requestAnimationFrame(()=>{"forward"===K&&(E.current=!1,X("complete"),(0,u.startTransition)(()=>{et(!0)}))}))})},ek=()=>{"reverse"===K&&requestAnimationFrame(()=>{"reverse"===K&&(L(!1),requestAnimationFrame(()=>{"reverse"===K&&(E.current=!1,X("idle"))}))})};(0,u.useEffect)(()=>
1{if("forward"===K){let e=setTimeout(()=>{el(!0)},500);return()=>clearTimeout(e)}},[K]);let eP=()=>{if(!(0,M.b9)("chat-widget")&&!z&&V&&"forward"!==K){if(E.current=!0,N){L(!0),R(!0),A(!1),X("complete"),S(e=>e.map((e,t)=>t===ej?"animate":"carousel")),E.current=!1,(0,u.startTransition)(()=>{et(!0),el(!0)});return}X("forward"),S(e=>e.map(()=>"animate")),L(!0)}};(0,u.useEffect)(()=>{let e=e=>{if(!(0,M.b9)("chat-widget")&&!z&&V&&"forward"!==K){let t=!1;e instanceof WheelEvent&&e.deltaY>0?t=!0:e instanceof KeyboardEvent&&["ArrowDown","PageDown","End"," "].includes(e.key)&&(t=!0,e.preventDefault()),t&&eP()}};return window.addEventListener("wheel",e,{passive:!0,capture:!0}),window.addEventListener("keydown",e,{passive:!1,capture:!0}),()=>{window.removeEventListener("wheel",e,!0),window.removeEventListener("keydown",e,!0)}},[z,V]),(0,u.useEffect)(()=>{if(!eb)return;let e=()=>{ew(eb.selectedScrollSnap())};return ew(eb.selectedScrollSnap()),eb.on("select",e),()=>{eb.off("select",e)}},[eb]),(0,u.useEffect)(()=>{z&&B&&"complete"===K&&S(e=>e.map((e,t)=>t===ej?"animate":"carousel"))},[ej,z,B,K]),(0,u.useEffect)(()=>{let e=ep.on("change",e=>{z&&0===e&&"reverse"!==K&&"reverse"!==K&&(E.current=!0,X("reverse"),S(e=>e.map(()=>"initial")),R(!1),A(!0),(0,u.startTransition)(()=>{et(!1),el(!1)}))});return()=>e()},[z,K,ep]);let eC=(0,u.useMemo)(()=>{if(!x||0===x.length)return[];let e=x.map((e,t)=>({_key:e._key||"card-".concat(t),item:e}));return[...e,...e.map((e,t)=>({_key:"".concat(e._key,"-dup-").concat(t),item:e.item}))]},[x]),eT=(null==x?void 0:x.length)||0,eq=(0,u.useMemo)(()=>({initial:{opacity:1,y:0,transition:{duration:H.NORMAL,ease:Z,delay:.9}},animate:{opacity:0,y:-100,transition:{duration:.4,ease:Z,delay:0}}}),[]);return x&&0!==x.length?(0,l.jsxs)("div",{id:null==f?void 0:f.sectionId,className:"overflow-hidden",style:{minHeight:eo},children:[(0,l.jsxs)(I.P.div,{layout:!ex&&"idle"!==K,className:z&&!V?"absolute inset-0 h-full":"min-w-screen fixed inset-0 h-full",style:{minHeight:eo,transition:"min-height 0.8s cubic-bezier(0.68, 1, 0.33, 1)"},transition:{layout:{duration:H.FAST,ease:Z}},drag:!z&&!!V&&"forward"!==K&&"y",dragConstraints:{top:0,bottom:0},dragElastic:0,dragMomentum:!1,onDragStart:()=>{},onDrag:(e,t)=>{!(0,M.b9)("chat-widget")&&!z&&V&&"forward"!==K&&-t.offset.y>50&&eP()},onDragEnd:()=>{},children:[(0,l.jsx)(D.N,{children:!z&&(0,l.jsx)(I.P.div,{initial:"initial",animate:"initial",exit:"animate",variants:eq,className:"pointer-events-none absolute inset-0 z-20 mx-auto flex max-w-[1240px] flex-col justify-center",children:(0,l.jsxs)("div",{className:"pointer-events-auto max-w-4xl px-4 text-center md:px-6 md:text-left",children:[o&&(0,l.jsx)(I.P.h1,{initial:{opacity:0,y:0},animate:{opacity:1,y:0},transition:{duration:H.NORMAL,ease:Z,delay:.9},className:"text-5xl font-bold uppercase leading-none text-white md:text-[88px]",children:function(e){if(!e)return null;let t=e.toLowerCase(),n="a sua vida",a=n.toLowerCase(),i=t.indexOf(a);if(-1===i)return e;let s=n.length,r=e.substring(0,i),o=e.substring(i,i+s),c=e.substring(i+s);return(0,l.jsxs)(l.Fragment,{children:[r,o,(0,l.jsx)("br",{}),c]})}(o)}),(null==(n=eC[ej%eT])||null==(t=n.item)?void 0:t.title)&&(0,l.jsx)(I.P.h3,{initial:{opacity:0,y:0},animate:{opacity:1,y:0},transition:{duration:H.NORMAL,ease:Z,delay:1.1},className:"from-accent mb-6 bg-transparent bg-gradient-to-r to-[#96E5FF] bg-clip-text text-3xl font-bold text-transparent md:mb-8 md:text-3xl",children:null==(r=eC[ej%eT])||null==(s=r.item)?void 0:s.title}),m&&m.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"bottom-20 right-1/2 hidden translate-x-1/2 md:absolute md:block",children:(0,l.jsx)(i.SanityButtons,{buttons:m,buttonClassName:"rounded-full font-semibold",showButton:"always"})}),(0,l.jsx)("div",{className:"absolute bottom-20 right-1/2 translate-x-1/2 md:hidden",children:(0,l.jsx)(i.SanityButtons,{buttons:m,buttonClassName:" rounded-full font-semibold",showButton:"always",size:"sm"})})]})]})},"hero-header")}),(0,l.jsx)(I.P.div,{ref:ea,className:"pointer-events-none absolute inset-0 flex items-start justify-center",initial:{opacity:0,y:-100},style:{y:eh,opacity:eg,visibility:ef,zIndex:ey},transition:{duration:H.NORMAL,ease:ex?$:Z,delay:z&&!ex?.2:0},children:(0,l.jsx)("div",{className:"pointer-events-auto px-4 text-center md:px-6",children:d&&(0,l.jsx)("div",{className:"mb-1 text-base text-black/90 md:text-xl",children:(0,l.jsx)(a.s,{richText:d})})})}),(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10 flex flex-col items-center justify-center",ref:er,style:{opacity:+!!eN,visibility:eN?"visible":"hidden",transition:O},children:(0,l.jsxs)(g,{setApi:ev,opts:eS,autoPlay:B&&!em,arrows:"always",arrowsPosition:"bottom",className:"h-auto w-full ".concat(z&&!em?"pointer-events-auto":"pointer-events-none"),style:{minHeight:eo,transition:"min-height 0.8s cubic-bezier(0.68, 1, 0.33, 1)"},children:[(0,l.jsx)(D.N,{children:!ex&&(p||h)&&(0,l.jsxs)(I.P.div,{ref:ei,initial:{opacity:0}
1,animate:{opacity:+!!z},exit:{opacity:0,transition:{duration:.1,ease:Z}},transition:{duration:.2,delay:.1,ease:Z},className:"pointer-events-auto absolute z-50 mx-auto w-full px-4 text-center md:px-6 ".concat(Q.height<850?"top-24 lg:top-36":"top-28 lg:top-28"),children:[p&&(0,l.jsx)("h2",{className:"gradient-text mb-2 font-bold uppercase ".concat(Q.height<850?"text-2xl":"text-3xl md:text-5xl"),children:p}),h&&(0,l.jsx)("div",{className:"text-sm text-black/90 md:text-xl",children:(0,l.jsx)(a.s,{richText:h,className:"prose-p:mb-2 md:prose-p:mb-4"})})]})}),(0,l.jsx)("div",{className:"w-full ".concat("idle"===K||"forward"===K&&!B?"":"overflow-hidden"," ").concat(!z||ex?"h-full":""),children:(0,l.jsx)(y,{className:"relative mx-auto -ml-0 mt-72 flex",children:eC.map((e,t)=>{let n=t===ej,a=ex||!z?n?"z-50":"z-10":n?"z-10":"z-50",i=1===Math.abs(t-ej),s=n||eN&&i,r=Q.height>0&&Q.height<850?.7:.85,o=G?348/546:824/544;return(0,l.jsx)(I.P.div,{initial:{width:G?"100%":"824px",height:G?"auto":"".concat(824/o,"px")},animate:(()=>{if("forward"===K||z&&!ex){if(G)return{width:"".concat(100*r,"%")};let e=824*r;return{width:"".concat(e,"px"),height:"".concat(e/o,"px")}}return G?{width:"100%"}:{width:"".concat(824,"px"),height:"".concat(824/o,"px")}})(),transition:{type:"tween",duration:H.NORMAL+.3,ease:ex?$:Z,delay:0},className:"flex shrink-0 grow-0 items-center justify-center ".concat(a),style:{aspectRatio:G?"348/546":"824/544",willChange:"width, height",transform:"translateZ(0)"},children:(0,l.jsx)(b,{className:"h-max w-full px-3",children:(0,l.jsx)(F,{item:e.item,index:t,animationState:_[t%eT]||"initial",isCenterCard:n,isCarouselMode:B,isMobile:G,isMounted:Y,showTitles:en,shouldPrioritizeImage:s,viewportWidth:Q.width,viewportHeight:Q.height,onSweepComplete:ez,onReverseComplete:ek})})},e._key)})})}),(0,l.jsx)(I.P.div,{ref:es,initial:{opacity:0}
1,animate:{opacity:+!!ee},transition:{duration:H.QUICK,ease:"easeOut"},className:"relative z-50 mx-auto flex w-full max-w-[84.25rem] justify-end px-4 md:mt-6 lg:px-6",style:{visibility:ee?"visible":"hidden",pointerEvents:ee?"auto":"none"},children:(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(v,{}),(0,l.jsx)(j,{})]})})]})})]}),(0,l.jsx)("div",{style:{height:ed},"aria-hidden":"true",className:"pointer-events-none"})]}):(0,l.jsx)("div",{className:"relative w-full overflow-x-hidden",children:(0,l.jsx)("div",{className:"flex min-h-screen items-center justify-center",children:(0,l.jsxs)("div",{className:"text-center",children:[(0,l.jsx)("h2",{className:"mb-4 text-2xl font-bold",children:"No carousel images configured"}),(0,l.jsx)("p",{className:"text-gray-600",children:"Please add at least 2 images in the Sanity Studio"})]})})})}},68339:(e,t,n)=>{n.d(t,{SlidersCardNumber:()=>h});var l=n(58986),a=n(93406),i=n(18934),s=n(9211),r=n(34703),o=n(77483),c=n(38280),d=n(3682),u=n(67928),m=n(55721),x=n(94366),p=n(6050);function h(e){let{title:t,eyebrow:n,eyebrowPosition:h,richText:g,cards:f,buttons:y,disclaimers:b,sectionStyles:v}=e,{titleColor:j}=v||{};if(!f||!f.length)return null;let w=(0,p.useRef)(null),N=(0,m.W)(w,{once:!1,margin:"-200px 0px"});return(0,l.jsxs)("section",{className:"bg-background relative py-12 lg:py-24",children:[(0,l.jsxs)(a.m,{children:[(0,l.jsx)(o.R2,{position:h,children:n}),t&&"gradient"===j&&(0,l.jsx)(x.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},children:(0,l.jsx)(o.DZ,{className:"gradient-text mx-auto mb-14 max-w-[68rem] text-center font-bold uppercase",children:t})}),t&&"gradient"!==j&&(0,l.jsx)(o.DZ,{className:(0,u.cn)("mx-auto mb-14 max-w-[68rem] text-center font-bold uppercase"),children:(0,l.jsx)(d.default,{direction:"top",animateBy:"words",rootMargin:"-50px",text:t,className:"justify-center"})}),(0,l.jsx)(x.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1,delay:.3},viewport:{once:!0},children:(0,l.jsx)(o.hj,{richText:g,className:"mb-14 text-center text-base sm:text-lg"})})]}),(null==b?void 0:b.disclaimerTop)&&(0,l.jsx)("div",{className:"mb-8",children:(0,l.jsx)(i.s,{richText:b.disclaimerTop})}),(0,l.jsx)("div",{ref:w,children:(0,l.jsxs)(c.Carousel,{spacingMobile:"4",spacingTablet:"6",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:N,dots:"always",align:"start",loop:!0,opts:{loop:!0},arrowsPosition:"bottom",arrows:"always",overflow:"hidden",autoWidth:!0,children:[(0,l.jsx)(c.CarouselContent,{className:(0,u.cn)("",f.length<4&&"3xl:justify-center 2xl:justify-between",4===f.length&&"3xl:justify-center"),children:f.map((e,t)=>{let{_key:n,image:a,title:o,richText:d,buttons:u}=e;return(0,l.jsx)(c.CarouselItem,{className:"max-w-[22.5rem] sm:max-w-[27.5rem]",children:(0,l.jsxs)("div",{className:"rounded-4xl bg-card group relative h-full w-full overflow-hidden shadow-sm transition-all hover:shadow-md",children:[a&&(0,l.jsxs)("div",{className:"relative aspect-[417/192] h-48 w-full overflow-hidden",children:[(0,l.jsx)(r.s,{image:a,className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-105"}),(0,l.jsx)("div",{className:"absolute bottom-1 left-4 z-10",children:(0,l.jsx)("span",{className:"text-background/80 text-8xl font-light leading-none",children:String(t+1).padStart(2,"0")})})]}),(0,l.jsxs)("div",{className:"px-10 py-7",children:[d&&(0,l.jsx)("div",{className:"mb-4 text-sm",children:(0,l.jsx)(i.s,{richText:d})}),u&&u.length>0&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(s.SanityButtons,{buttons:u,showButton:"always",buttonClassName:"w-auto"})})]})]})},n||t)})}),(0,l.jsxs)("div",{className:"relative mt-10 flex justify-end px-5 lg:px-16 2xl:px-24",children:[(0,l.jsx)(c.CarouselPrevious,{}),(0,l.jsx)(c.CarouselNext,{})]})]})}),y&&y.length>0&&(0,l.jsx)("div",{className:"mt-8 flex justify-center",children:(0,l.jsx)(s.SanityButtons,{buttons:y})}),(null==b?void 0:b.disclaimerBottom)&&(0,l.jsx)("div",{className:"mt-8",children:(0,l.jsx)(i.s,{richText:b.disclaimerBottom})})]})}},68369:(e,t,n)=>{n.d(t,{default:()=>d});var l=n(58986),a=n(34978),i=n(77483),s=n(94103),r=n(67928),o=n(94366),c=n(44139);function d(e){let t,n,d,u,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C=(0,a.c)(36),{title:T,richText:q,eyebrow:I,eyebrowPosition:D,video:M,sectionParameters:L,sectionStyles:B}=e,R=null==L?void 0:L.sectionId;return C[0]!==B?(t=(0,r.cn)("relative w-full py-12 lg:py-24",(0,s.aU)(B)),C[0]=B,C[1]=t):t=C[1],C[2]!==I||C[3]!==D?(n=(0,l.jsx)(i.R2,{position:D,theme:"gradient",children:I}),C[2]=I,C[3]=D,C[4]=n):n=C[4],C[5]===Symbol.for("react.memo_cache_sentinel")?(d={opacity:.5,y:20,filter:"blur(0.5rem)"},u={opacity:1,y:0,filter:"blur(0rem)"},m={duration:1},x={once:!0},C[5]=d,C[6]=u,C[7]=m,C[8]=x):(d=C[5],u=C[6],m=C[7],x=C[8]),C[9]!==T?(p=(0,l.jsx)(o.P.div,{initial:d,whileInView:u,transition:m,viewport:x,className:"overflow-hidden",children:(0,l.jsx)(i.DZ,{className:"gradient-text mb-10 text-center uppercase",children:T})}),C[9]=T,C[10]=p):p=C[10],C[11]===Symbol.for("react.memo_cache_sentinel")?(y={opacity:.5,y:20},h={opacity:1,y:0},g={duration:.8,delay:.5},f={once:!0},C[11]=h,C[12]=g,C[13]=f,C[14]=y):(h=C[11],g=C[12],f=C[13],y=C[14]),C[15]!==q?(b=(0,l.jsx)("div",{className:"bg-background rounded-4xl w-full p-9",children:(0,l.jsx)(o.P.div,{initial:y,whileInView:h,transition:g,viewport:f,children:(0,l.jsx)(i.hj,{richText:q,className:"li_icon"})})}),C[15]=q,C[16]=b):b=C[16],C[17]===Symbol.for("react.memo_cache_sentinel")?(v={opacity:0}
1,j={opacity:1},w={duration:.8,delay:.7},N={once:!0},C[17]=v,C[18]=j,C[19]=w,C[20]=N):(v=C[17],j=C[18],w=C[19],N=C[20]),C[21]!==M?(_=M&&(0,l.jsx)(c.A,{...M,className:"h-full lg:aspect-auto"}),C[21]=M,C[22]=_):_=C[22],C[23]!==_?(S=(0,l.jsx)(o.P.div,{initial:v,whileInView:j,transition:w,viewport:N,children:(0,l.jsx)("div",{className:"h-full",children:_})}),C[23]=_,C[24]=S):S=C[24],C[25]!==b||C[26]!==S?(z=(0,l.jsxs)("div",{className:"grid w-full grid-cols-1 items-stretch gap-6 lg:grid-cols-2",children:[b,S]}),C[25]=b,C[26]=S,C[27]=z):z=C[27],C[28]!==z||C[29]!==n||C[30]!==p?(k=(0,l.jsx)("div",{className:"relative w-full px-6 lg:px-12 2xl:px-24",children:(0,l.jsxs)("div",{className:"mx-auto w-full max-w-[78.25rem]",children:[n,p,z]})}),C[28]=z,C[29]=n,C[30]=p,C[31]=k):k=C[31],C[32]!==R||C[33]!==t||C[34]!==k?(P=(0,l.jsx)("section",{id:R,className:t,children:k}),C[32]=R,C[33]=t,C[34]=k,C[35]=P):P=C[35],P}},74803:(e,t,n)=>{n.d(t,{CoverageComparisonTable:()=>N});var l=n(58986),a=n(93406),i=n(18934),s=n(77483),r=n(58730),o=n(67928),c=n(94366),d=n(89908),u=n(6050),m=n(34978),x=n(9211),p=n(38280),h=n(12465);function g(e){let t,n,a,i,s=(0,m.c)(13),{packages:r,selectedPackageId:d,onPackageChange:u}=e,x="20rem repeat(".concat(r.length,", 1fr)");if(s[0]!==x?(t={gridTemplateColumns:x},s[0]=x,s[1]=t):t=s[1],s[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,l.jsx)("div",{className:"px-4 pt-3"}),s[2]=n):n=s[2],s[3]!==u||s[4]!==r||s[5]!==d){let e;s[7]!==u||s[8]!==d?(e=e=>{let t=d===e._id,n=null!==d;return(0,l.jsx)(c.P.div,{className:(0,o.cn)("px-4 py-3 text-center",t&&n||!t&&!n?"relative z-20":"",u&&"cursor-pointer"),onClick:()=>null==u?void 0:u(e._id),animate:{opacity:t&&n||!t&&!n?1:.1,y:t&&n||!t&&!n?0:5},transition:{type:"spring",stiffness:400,damping:25,mass:.8},children:(0,l.jsx)(c.P.div,{className:(0,o.cn)("font-bold uppercase",t?"gradient-text1 text-xl":"text-foreground"),animate:{scale:t?1.05:1},transition:{type:"spring",stiffness:500,damping:20},children:e.title})},e._id)},s[7]=u,s[8]=d,s[9]=e):e=s[9],a=r.map(e),s[3]=u,s[4]=r,s[5]=d,s[6]=a}else a=s[6];return s[10]!==t||s[11]!==a?(i=(0,l.jsxs)("div",{className:"grid pt-5",style:t,children:[n,a]}),s[10]=t,s[11]=a,s[12]=i):i=s[12],i}function f(e){let t,n,a=(0,m.c)(17),{packages:i,coverages:s,selectedPackageId:r,getCoverageValue:d,onPackageChange:u}=e,{t:x}=(0,h.Bd)();if(!s||0===s.length){let e,t;return a[0]!==x?(e=x("coverage.noCoverage"),a[0]=x,a[1]=e):e=a[1],a[2]!==e?(t=(0,l.jsx)("div",{className:"border-card border-b px-4 py-8",children:(0,l.jsx)("div",{className:"text-muted-foreground text-center",children:e})}),a[2]=e,a[3]=t):t=a[3],t}if(a[4]!==s||a[5]!==d||a[6]!==u||a[7]!==i||a[8]!==r){let e;a[10]!==d||a[11]!==u||a[12]!==i||a[13]!==r?(e=(e,t)=>(0,l.jsxs)("div",{className:"grid",style:{gridTemplateColumns:"20rem repeat(".concat(i.length,", 1fr)")},children:[(0,l.jsx)("div",{className:"self-end pr-4 pt-4",children:(0,l.jsx)("div",{className:(0,o.cn)("border-border text-sm font-bold",e.isBreak?"":"border-b"),children:(0,l.jsx)("span",{children:e.isBreak?(0,l.jsx)(l.Fragment,{children:"\xa0"}):e.title})})}),i.map(t=>{let n=(t.items||[]).map(y),a=d(e._id,n),i=r===t._id,s=null==a?void 0:a.text,m=null!==r;return(0,l.jsx)(c.P.div,{className:(0,o.cn)("px-4 pt-4 text-center cursor-pointer",i?"relative z-20 scale-105":""),onClick:()=>null==u?void 0:u(t._id),animate:{opacity:i&&m||!i&&!m?1:.1,filter:(i&&m,"blur(0px)")},transition:{opacity:{duration:.5,ease:[.4,0,.2,1]},filter:{duration:.4,ease:"easeOut"}},children:a?(0,l.jsx)(c.P.div,{className:"flex items-center justify-center gap-2",animate:{scale:i&&m||!i&&!m?1:.9,y:i&&m||!i&&!m?0:3},transition:{type:"spring",stiffness:400,damping:22},children:(0,l.jsx)("span",{className:(0,o.cn)("w-full rounded-full px-3 py-1 text-xs font-semibold",a.className,i&&m&&a.classNameHighlighted&&a.classNameHighlighted,!i&&m&&a.classNameHasHighlighted),children:s})}):(0,l.jsx)("span",{className:"text-muted-foreground",children:"-"})},t._id)})]},"".concat(e._id,"-").concat(t)),a[10]=d,a[11]=u,a[12]=i,a[13]=r,a[14]=e):e=a[14],t=s.map(e),a[4]=s,a[5]=d,a[6]=u,a[7]=i,a[8]=r,a[9]=t}else t=a[9];return a[15]!==t?(n=(0,l.jsx)(l.Fragment,{children:t}),a[15]=t,a[16]=n):n=a[16],n}function y(e){var t;return{...e,value:null!=(t=e.value)?t:void 0}}function b(e){let t,n,a,i,s=(0,m.c)(11),{packages:r,selectedPackageId:d}=e,u="20rem repeat(".concat(r.length,", 1fr)");if(s[0]!==u?(t={gridTemplateColumns:u}
1,s[0]=u,s[1]=t):t=s[1],s[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,l.jsx)("div",{className:"px-4 py-4"}),s[2]=n):n=s[2],s[3]!==r||s[4]!==d){let e;s[6]!==d?(e=e=>{let t=d===e._id;return(0,l.jsx)(c.P.div,{className:(0,o.cn)("w-full px-4 py-4",t?"relative z-20":""),initial:!1,animate:{opacity:+!!t,y:15*!t,scale:t?1:.95},transition:{opacity:{duration:.4,ease:[.4,0,.2,1]},y:{type:"spring",stiffness:300,damping:25},scale:{duration:.3,ease:"easeOut"}},children:e.button?(0,l.jsx)(x.SanityButtons,{buttons:[e.button],skipAnimation:!0,showButton:"always",className:"justify-center pt-3",size:"sm"}):null},e._id)},s[6]=d,s[7]=e):e=s[7],a=r.map(e),s[3]=r,s[4]=d,s[5]=a}else a=s[5];return s[8]!==t||s[9]!==a?(i=(0,l.jsxs)("div",{className:"grid",style:t,children:[n,a]}),s[8]=t,s[9]=a,s[10]=i):i=s[10],i}function v(e){let t,n,a,i=(0,m.c)(6),{packages:s,selectedPackageId:r}=e,o=s.findIndex(e=>e._id===r);if(-1===o)return null;let d="calc(19.5rem + ".concat(o," * (100% - 20rem) / ").concat(s.length,")"),u="calc((100% - 18rem) / ".concat(s.length,")");return i[0]!==d||i[1]!==u?(t={left:d,width:u},i[0]=d,i[1]=u,i[2]=t):t=i[2],i[3]===Symbol.for("react.memo_cache_sentinel")?(n={type:"spring",stiffness:200,damping:25,mass:1.2},i[3]=n):n=i[3],i[4]!==t?(a=(0,l.jsx)(c.P.div,{className:"pointer-events-none absolute top-0 z-10 h-full rounded-3xl bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] bg-cover bg-center pt-5 shadow-[0px_0px_12px_1px_rgba(0,0,0,0.2)]",initial:!1,animate:t,transition:n,layout:!0}),i[4]=t,i[5]=a):a=i[5],a}function j(e){let t,n,a,s,r,c,d,g,f,y,b,v,j,N,_=(0,m.c)(43),{packages:S,coverages:z,selectedPackageId:k,getCoverageValue:P,onPackageChange:C,disclaimer:T,hasOptionalValues:q}=e,{t:I}=(0,h.Bd)(),[D,M]=(0,u.useState)(null),[L,B]=(0,u.useState)(0);if(_[0]!==D||_[1]!==S||_[2]!==k?(t=()=>{if(S&&k){let e=S.findIndex(e=>e._id===k);-1!==e&&D&&(D.scrollTo(e),B(e))}},n=[k,S,D],_[0]=D,_[1]=S,_[2]=k,_[3]=t,_[4]=n):(t=_[3],n=_[4]),(0,u.useEffect)(t,n),_[5]!==D||_[6]!==C||_[7]!==S?(a=()=>{if(!D)return;let e=()=>{let e=D.selectedScrollSnap();B(e),S[e]&&C&&C(S[e]._id)};return D.on("select",e),e(),()=>{D.off("select",e)}},_[5]=D,_[6]=C,_[7]=S,_[8]=a):a=_[8],_[9]!==D?(s=[D],_[9]=D,_[10]=s):s=_[10],(0,u.useEffect)(a,s),!S||0===S.length)return null;if(!z||0===z.length){let e,t;return _[11]!==I?(e=I("coverage.noCoverage"),_[11]=I,_[12]=e):e=_[12],_[13]!==e?(t=(0,l.jsx)("div",{className:"rounded-4xl bg-background p-6",children:(0,l.jsx)("div",{className:"border-card border-b px-4 py-8",children:(0,l.jsx)("div",{className:"text-muted-foreground text-center",children:e})})}),_[13]=e,_[14]=t):t=_[14],t}if(_[15]===Symbol.for("react.memo_cache_sentinel")?(r={loop:!1},_[15]=r):r=_[15],_[16]!==z||_[17]!==P||_[18]!==S||_[19]!==L){let e;_[21]!==z||_[22]!==P||_[23]!==L?(e=(e,t)=>{let n=(e.items||[]).map(w),a=L===t;return(0,l.jsx)(p.CarouselItem,{className:"max-w-[20rem] sm:max-w-[22.5rem]",children:(0,l.jsxs)("div",{className:(0,o.cn)("bg-background ml-1 rounded-3xl px-5 pb-4 pt-5 shadow-[0px_0px_4px_0px_rgba(0,0,0,0.2)]",!a&&"opacity-50"),children:[(0,l.jsx)("div",{className:"mb-6 text-center",children:(0,l.jsx)("div",{className:"gradient-text1 font-bold uppercase",children:e.title})}),(0,l.jsx)("div",{className:"space-y-4",children:z.map(e=>{let t=P(e._id,n);return(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("div",{className:"border-border border-b pb-1 text-xs font-bold sm:text-sm",children:e.title}),(0,l.jsx)("div",{className:"text-center",children:t?(0,l.jsx)("div",{className:"flex items-center justify-center gap-2",children:(0,l.jsx)("span",{className:"w-full rounded-full px-3 py-1 text-xs font-semibold ".concat(t.className),children:t.text})}):(0,l.jsx)("span",{className:"text-muted-foreground",children:"-"})})]},e._id)})}),e.button&&(0,l.jsx)("div",{className:"mt-6 pt-4",children:(0,l.jsx)(x.SanityButtons,{buttons:[{...e.button,icon:"none"}],skipAnimation:!0,showButton:"always",className:"justify-center",size:"sm"})})]})},e._id)},_[21]=z,_[22]=P,_[23]=L,_[24]=e):e=_[24],c=S.map(e),_[16]=z,_[17]=P,_[18]=S,_[19]=L,_[20]=c}else c=_[20];return _[25]!==c?(d=(0,l.jsx)(p.CarouselContent,{children:c}),_[25]=c,_[26]=d):d=_[26],_[27]===Symbol.for("react.memo_cache_sentinel")?(g=(0,l.jsx)("div",{className:"relative h-8",children:(0,l.jsx)(p.ZZ,{variant:"progress",className:"mt-0"})}),_[27]=g):g=_[27],_[28]!==d?(f=(0,l.jsxs)(p.Carousel,{setApi:M,opts:r,className:"relative z-20",autoPlay:!1,overflow:"visible",spacingMobile:"5",spacingTablet:"5",align:"start",children:[d,g]}),_[28]=d,_[29]=f):f=_[29],_[30]!==q?(y=q&&(0,l.jsx)("div",{className:"w-full text-sm mb-2",children:(0,l.jsx)("span",{className:"text-foreground bg-card py-1 px-2 rounded-full",children:"* Opcional"})}),_[30]=q,_[31]=y):y=_[31],_[32]!==T?(b=T&&(0,l.jsx)(i.s,{richText:T,className:"text-sm"}),_[32]=T,_[33]=b):b=_[33],_[34]!==y||_[35]!==b?(v=(0,l.jsxs)("div",{className:"text-foreground pt-6",children:[y,b]}),_[34]=y,_[35]=b,_[36]=v):v=_[36],_[37]!==T?(j=T&&(0,l.jsx)("div",{className:"text-foreground pt-6",children:(0,l.jsx)(i.s,{richText:T,className:"text-sm"})}),_[37]=T,_[38]=j):j=_[38],_[39]!==v||_[40]!==j||_[41]!==f?(N=(0,l.jsxs)("div",{className:"rounded-4xl relative overflow-hidden py-6",children:[f,v,j]}),_[39]=v,_[40]=j,_[41]=f,_[42]=N):N=_[42],N}function w(e){var t;return{...e,value:null!=(t=e.value)?t:void 0}}function N(e){var t,n;let{title:m,eyebrow:x,eyebrowPosition:p,richText:y,comparisonTable:w,disclaimers:N,sectionParameters:_,disclaimer:S}=e,[z,k]=(0,u.useState)(null),[P,C]=(0,u.useState)(null),{t:T}=(0,h.Bd)();if(!w||!w.packages||0===w.packages.length)return null;let q=(0,r.a)(1024),[I,D]=(0,u.useState)(!1),{packages:M,coverages:L}=w;function B(e){k(e===z?null:e),C(e===P?null:e)}function R(){return null==M?void 0:M.some(e=>{var t;return null==(t=e.items)?void 0:t.some(e=>"optional"===e.limit||"no-limit-asterisk"===e.limit)})}(0,u.useEffect)(()=>{D(null!=q&&q)},[q]);let V=(e,t)=>{var n;let l=t.find(t=>{var n;return(null==(n=t.coverage)?void 0:n._id)===e});return l?function(e){let{limit:t,value:n,isBreak:l,title:a}=e;switch(t){case"included":return{text:T("coverage.comparisonTable.label.included"),className:"text-background bg-[#75C5E0]",limit:"no-limit"};case"no-limit":return{text:T("coverage.comparisonTable.label.no-limit"),className:"text-background bg-[#75C5E0]",limit:"no-limit"};case"no-limit-asterisk":return{text:T("coverage.comparisonTable.label.no-limit-asterisk"),className:"text-background bg-[#75C5E0]",limit:"no-limit-asterisk"};case"optional":return{text:T("coverage.comparisonTable.label.optional"),className:"text-foreground bg-card",limit:"optional"};case"custom-value":return{text:n||"",className:(null==n?void 0:n.includes("*"))?"text-foreground bg-card":"",classNameHighlighted:"bg-background text-foreground",classNameHasHighlighted:"",limit:"custom-value"};default:if(l)return{text:a,icon:d.A,className:"text-background bg-foreground",limit:"not-applicable",classNameHighlighted:""};return{text:T("coverage.comparisonTable.label.not-applicable"),icon:d.A,className:"text-foreground",limit:"not-applicable",classNameHighlighted:""}}}({limit:l.limit,value:l.value,isBreak:l.isBreak,title:null==(n=l.coverage)?void 0:n.title}):null};return(0,l.jsx)("section",{id:null==_?void 0:_.sectionId,className:"relative bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] bg-cover bg-center py-12 lg:py-24",children:(0,l.jsxs)(a.m,{children:[(0,l.jsx)(s.R2,{position:null!=p?p:void 0,children:x}),(0,l.jsx)(c.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},children:(0,l.jsx)(s.DZ,{className:"gradient-text mx-auto max-w-3xl text-center font-bold uppercase",children:m})}),(0,l.jsx)(c.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1,delay:.3},viewport:{once:!0},children:(0,l.jsx)(s.hj,{richText:y,className:"mb-14 text-center text-base sm:text-lg"})}),(0,l.jsx)("div",{className:"bg-background rounded-4xl mx-auto mb-10 flex w-full max-w-[55rem] flex-wrap items-center justify-center gap-2 p-2",children:M.map((e,t)=>{let n=z===e._id;return(0,l.jsx)("button",{onClick:()=>{B(n?null:e._id)},className:(0,o.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-full px-5 py-2 text-sm font-bold transition-all focus-visible:outline-none md:text-base",n?"bg-foreground text-background":"bg-background text-foreground hover:bg-foreground hover:text-background"),"aria-label":"Selecionar ".concat(e.title),children:e.title},"".concat(e._id,"-").concat(t))})}),(null==N?void 0:N.disclaimerTop)&&(0,l.jsx)("div",{className:"px-6 pb-4 pt-6",children:(0,l.jsx)(i.s,{richText:null!=(t=N.disclaimerTop)?t:[],className:"text-muted-foreground text-sm"})}),I?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(j,{packages:M,coverages:L||[],selectedPackageId:z,getCoverageValue:V,onPackage
1Change:e=>{B(e)},disclaimer:S,hasOptionalValues:R()})}):(0,l.jsx)("div",{className:"rounded-4xl bg-background p-6 lg:p-12 select-none",children:(0,l.jsxs)("div",{className:"",children:[(0,l.jsxs)("div",{className:"relative min-w-full",children:[(0,l.jsx)(v,{packages:M,selectedPackageId:P}),(0,l.jsx)(g,{packages:M,selectedPackageId:z,onPackageChange:e=>{B(e)}}),(0,l.jsx)(f,{packages:M,coverages:L||[],selectedPackageId:z,getCoverageValue:V,onPackageChange:e=>{B(e)}}),(0,l.jsx)(b,{packages:M,selectedPackageId:z})]}),(0,l.jsxs)("div",{className:"text-foreground pt-6",children:[R()&&(0,l.jsx)("div",{className:"w-full text-sm mb-2",children:(0,l.jsx)("span",{className:"text-foreground bg-card py-1 px-2 rounded-full",children:"* Opcional"})}),S&&(0,l.jsx)(i.s,{richText:S,className:"text-sm"})]})]})}),(null==N?void 0:N.disclaimerBottom)&&(0,l.jsx)("div",{className:"mt-8 text-center text-[#5f5f5f]",children:(0,l.jsx)(i.s,{richText:null!=(n=N.disclaimerBottom)?n:[],className:"text-sm"})})]})})}},77638:(e,t,n)=>{n.d(t,{CentralImageGridDefault:()=>m});var l=n(58986),a=n(34978),i=n(38344),s=n(18934),r=n(9211),o=n(34703),c=n(77483),d=n(3682),u=n(94366);function m(e){let t,n,i,d,m,p,h,g,f,y,b,v,j,w,N=(0,a.c)(32),{eyebrow:_,eyebrowPosition:S,title:z,richText:k,image:P,items:C,disclaimers:T,buttons:q,sectionParameters:I}=e,D=null==I?void 0:I.sectionId;return N[0]!==_||N[1]!==S?(t=(0,l.jsx)(c.R2,{position:S,children:_}),N[0]=_,N[1]=S,N[2]=t):t=N[2],N[3]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:.5,y:20,filter:"blur(0.5rem)"},i={opacity:1,y:0,filter:"blur(0rem)"},d={duration:1},m={once:!0},N[3]=n,N[4]=i,N[5]=d,N[6]=m):(n=N[3],i=N[4],d=N[5],m=N[6]),N[7]!==z?(p=(0,l.jsx)(u.P.div,{initial:n,whileInView:i,transition:d,viewport:m,className:"mx-auto max-w-[42rem] overflow-hidden",children:(0,l.jsx)(c.DZ,{className:"gradient-text m-0 text-center uppercase",children:z})}),N[7]=z,N[8]=p):p=N[8],N[9]!==k?(h=(0,l.jsx)(s.s,{richText:k,className:"mx-auto max-w-[50rem] text-center"}),N[9]=k,N[10]=h):h=N[10],N[11]!==P?(g=P&&(0,l.jsx)(u.P.div,{className:"relative mx-auto w-full max-w-[17.5rem] lg:absolute lg:left-[calc(50%-19%)] lg:top-[10%] lg:w-[38%] lg:max-w-[38%]",initial:{opacity:0,scale:.8,filter:"blur(1rem)"},whileInView:{opacity:1,scale:1,filter:"blur(0rem)"},transition:{duration:1,delay:.5,ease:"easeInOut"},viewport:{once:!1,margin:"-200px 0px"},children:(0,l.jsx)(o.s,{image:P,className:"h-full w-full object-contain"})}),N[11]=P,N[12]=g):g=N[12],N[13]!==C?(f=C&&C.length>0&&(0,l.jsx)("div",{className:"grid gap-8 lg:grid-cols-2 lg:gap-x-[39%] lg:gap-y-20 xl:gap-y-32",children:C.map(x)}),N[13]=C,N[14]=f):f=N[14],N[15]!==f||N[16]!==g?(y=(0,l.jsxs)("div",{className:"relative mt-12 w-full lg:mt-24",children:[g,f]}),N[15]=f,N[16]=g,N[17]=y):y=N[17],N[18]!==T?(b=T&&(0,l.jsxs)(u.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:2.8},viewport:{once:!0},className:"w-full space-y-4 pt-14 text-center",children:[T.disclaimerTop&&(0,l.jsx)(s.s,{richText:T.disclaimerTop,className:"text-popover text-sm"}),T.disclaimerBottom&&(0,l.jsx)(s.s,{richText:T.disclaimerBottom,className:"text-popover text-sm"})]}),N[18]=T,N[19]=b):b=N[19],N[20]!==q?(v=q&&q.length>0&&(0,l.jsx)(u.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:3},viewport:{once:!0},className:"wee mt-10 flex justify-center",children:(0,l.jsx)(r.SanityButtons,{buttons:q})}),N[20]=q,N[21]=v):v=N[21],N[22]!==y||N[23]!==b||N[24]!==v||N[25]!==t||N[26]!==p||N[27]!==h?(j=(0,l.jsx)("div",{className:"w-full px-4 lg:px-12 2xl:px-24",children:(0,l.jsx)("div",{className:"rounded-4xl w-full bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] bg-cover bg-center px-8 py-14 md:px-20 lg:px-24 lg:py-20",children:(0,l.jsxs)("div",{className:"mx-auto w-full max-w-[78.25rem]",children:[t,p,h,y,b,v]})})}),N[22]=y,N[23]=b,N[24]=v,N[25]=t,N[26]=p,N[27]=h,N[28]=j):j=N[28],N[29]!==D||N[30]!==j?(w=(0,l.jsx)("div",{id:D,className:"w-full overflow-hidden py-12 lg:py-24",children:j}),N[29]=D,N[30]=j,N[31]=w):w=N[31],w}function x(e,t){return(0,l.jsxs)(u.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:1.2+.1*t},viewport:{once:!0},className:"flex flex-col gap-1",children:[(0,l.jsx)("div",{className:"w-full text-center lg:text-left",children:(0,l.jsx)(i.N,{icon:e.icon,className:"text-primary h-12 w-12"})}),(0,l.jsx)(c.DZ,{as:"h3",className:"h4 mb-4 text-center font-bold lg:w-[60%] lg:text-left",children:(0,l.jsx)(d.default,{text:e.title,direction:"top",animateBy:"words",rootMargin:"-50px",className:"justify-center lg:justify-start"})}),(0,l.jsx)(s.s,{richText:e.description,className:"text-center text-base lg:text-left"})]},t)}},80911:(e,t,n)=>{n.d(t,{BlogVideosDefault:()=>m});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(9211),o=n(77483),c=n(38280),d=n(94366),u=n(44139);function m(e){let t,n,u,m,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T=(0,a.c)(39),{title:q,eyebrow:I,eyebrowPosition:D,richText:M,videos:L,buttons:B,disclaimers:R,sectionParameters:V}=e;if(!L||!L.length)return null;let A=null==V?void 0:V.sectionId;return T[0]!==I||T[1]!==D?(t=(0,l.jsx)(o.R2,{position:D,children:I}),T[0]=I,T[1]=D,T[2]=t):t=T[2],T[3]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:.5,y:20,filter:"blur(0.5rem)"},u={opacity:1,y:0,filter:"blur(0rem)"},m={duration:1},p={once:!0},T[3]=n,T[4]=u,T[5]=m,T[6]=p):(n=T[3],u=T[4],m=T[5],p=T[6]),T[7]!==q?(h=(0,l.jsx)(d.P.div,{initial:n,whileInView:u,transition:m,viewport:p,children:(0,l.jsx)(o.DZ,{className:"h3 gradient-text mx-auto max-w-3xl text-center font-bold uppercase",children:q})}),T[7]=q,T[8]=h):h=T[8],T[9]===Symbol.for("react.memo_cache_sentinel")?(y={opacity:.5,y:20,filter:"blur(0.5rem)"},b={opacity:1,y:0,filter:"blur(0rem)"},g={duration:1,delay:.3},f={once:!0},T[9]=g,T[10]=f,T[11]=y,T[12]=b):(g=T[9],f=T[10],y=T[11],b=T[12]),T[13]!==M?(v=(0,l.jsx)(d.P.div,{initial:y,whileInView:b,transition:g,viewport:f,children:(0,l.jsx)(o.hj,{richText:M,className:"mb-14 text-center text-base sm:text-lg"})}),T[13]=M,T[14]=v):v=T[14],T[15]!==R?(j=(null==R?void 0:R.disclaimerTop)&&(0,l.jsx)("div",{className:"mb-8",children:(0,l.jsx)(s.s,{richText:R.disclaimerTop})}),T[15]=R,T[16]=j):j=T[16],T[17]!==L?(w=L.map(x),T[17]=L,T[18]=w):w=T[18],T[19]!==w?(N=(0,l.jsx)(c.CarouselContent,{children:w}),T[19]=w,T[20]=N):N=T[20],T[21]===Symbol.for("react.memo_cache_sentinel")?(_=(0,l.jsx)(c.ZZ,{className:"relative mt-2
10",variant:"blue"}),T[21]=_):_=T[21],T[22]!==N?(S=(0,l.jsx)("div",{className:"relative mt-14",children:(0,l.jsxs)(c.Carousel,{itemsMobile:1,spacingMobile:"3",spacingTablet:"3",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:!1,align:"start",loop:!1,dots:"always",arrowsPosition:"bottom",overflow:"visible",autoWidth:!0,children:[N,_]})}),T[22]=N,T[23]=S):S=T[23],T[24]!==B?(z=B&&B.length>0&&(0,l.jsx)("div",{className:"mt-8 flex justify-center lg:mt-14",children:(0,l.jsx)(r.SanityButtons,{buttons:B,showButton:"auto"})}),T[24]=B,T[25]=z):z=T[25],T[26]!==R?(k=(null==R?void 0:R.disclaimerBottom)&&(0,l.jsx)("div",{className:"mt-8",children:(0,l.jsx)(s.s,{richText:R.disclaimerBottom})}),T[26]=R,T[27]=k):k=T[27],T[28]!==v||T[29]!==j||T[30]!==S||T[31]!==z||T[32]!==k||T[33]!==t||T[34]!==h?(P=(0,l.jsxs)(i.m,{children:[t,h,v,j,S,z,k]}),T[28]=v,T[29]=j,T[30]=S,T[31]=z,T[32]=k,T[33]=t,T[34]=h,T[35]=P):P=T[35],T[36]!==A||T[37]!==P?(C=(0,l.jsx)("section",{id:A,className:"bg-background relative overflow-x-clip py-12 lg:py-24",children:P}),T[36]=A,T[37]=P,T[38]=C):C=T[38],C}function x(e,t){var n,a,i;return(0,l.jsx)(c.CarouselItem,{className:"w-full max-w-[19rem] sm:max-w-[30rem] md:max-w-[40rem]",children:(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)(u.A,{src:(null==(n=e.video)?void 0:n.src)||"",image:null==(a=e.video)?void 0:a.image,type:(null==(i=e.video)?void 0:i.type)||"youtube",className:"aspect-[636/438]"}),(0,l.jsxs)("div",{className:"mt-4 max-w-[22.5rem] space-y-2",children:[e.category&&(0,l.jsx)("p",{className:"text-lg font-semibold",children:e.category.title}),e.title&&(0,l.jsx)("h3",{className:"text-lg font-bold leading-tight",children:e.title})]})]})},e._id||t)}},81627:(e,t,n)=>{n.d(t,{StoryMobileBackgroundImage:()=>m,cP:()=>x,du:()=>h,h_:()=>p});var l=n(58986),a=n(34978),i=n(67928);n(6050);var s=n(18934),r=n(9211),o=n(34703),c=n(77483);n(38280);var d=n(3682),u=n(94366);function m(e){let t,n,c,d,m,x,p,h,g,f,y,b,v,j,w=(0,a.c)(33),{title:N,subtitle:_,richText:S,image:z,imagePosition:k,hasBackgroundGray:P,buttons:C,slideIndex:T}=e,q=void 0!==T?T%2==0:k,I=q&&"lg:grid-flow-dense",D=P&&"lg:gap-0";w[0]!==I||w[1]!==D?(t=(0,i.cn)("relative grid grid-cols-1 items-center overflow-hidden md:grid-cols-2",I,D),w[0]=I,w[1]=D,w[2]=t):t=w[2],w[3]!==P||w[4]!==z||w[5]!==q?(n=z&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.P.div,{initial:{opacity:.5},whileInView:{opacity:1},transition:{duration:1},viewport:{once:!0},className:(0,i.cn)("rounded-4xl hidden w-full overflow-hidden md:block",q?"order-1":"lg:order-2"),children:(0,l.jsx)("div",{className:(0,i.cn)("relative h-full w-full overflow-hidden",P?"rounded-t-4xl":"rounded-4xl"),children:(0,l.jsx)(o.s,{image:z,className:(0,i.cn)("w-full",P?"rounded-t-4xl":"rounded-4xl"),sizes:"(max-width: 1024px) 100vw, (max-width: 1200px) 50vw, 50vw"})})}),(0,l.jsx)(o.s,{image:z,fill:!0,className:"h-full w-full rounded-2xl object-cover md:hidden",sizes:"100vw"}),(0,l.jsx)("div",{className:"absolute inset-0 rounded-2xl bg-gradient-to-b from-black/80 via-black/60 to-transparent md:hidden"})]}),w[3]=P,w[4]=z,w[5]=q,w[6]=n):n=w[6];let M=q?"order-2":"sm:order-1";return w[7]!==M?(c=(0,i.cn)("relative z-10 w-full p-10 xl:p-16",M),w[7]=M,w[8]=c):c=w[8],w[9]===Symbol.for("react.memo_cache_sentinel")?(d={opacity:.5,y:20},m={opacity:1,y:0},x={duration:1},p={once:!0},w[9]=d,w[10]=m,w[11]=x,w[12]=p):(d=w[9],m=w[10],x=w[11],p=w[12]),w[13]!==N?(h=(0,l.jsx)("h3",{className:"text-background md:gradient-text mb-0 text-2xl font-bold sm:text-4xl lg:text-left lg:text-5xl",children:N}),w[13]=N,w[14]=h):h=w[14],w[15]!==_?(g=_&&(0,l.jsx)("p",{className:"mb-0 font-bold italic",children:_}),w[15]=_,w[16]=g):g=w[16],w[17]!==S?(f=S&&(0,l.jsx)("div",{className:"text-component text-background md:text-current",children:(0,l.jsx)(s.s,{richText:S,className:"text-base"})}),w[17]=S,w[18]=f):f=w[18],w[19]!==C?(y=C&&C.length>0&&(0,l.jsx)(r.SanityButtons,{buttons:C,size:"default",className:"mt-8 flex w-auto items-center justify-center gap-3 lg:mt-8 lg:items-start lg:justify-start"}),w[19]=C,w[20]=y):y=w[20],w[21]!==h||w[22]!==g||w[23]!==f||w[24]!==y?(b=(0,l.jsxs)(u.P.div,{initial:d,whileInView:m,transition:x,viewport:p,className:"flex w-full flex-col gap-4 text-center lg:gap-8 lg:text-left",children:[h,g,f,y]}),w[21]=h,w[22]=g,w[23]=f,w[24]=y,w[25]=b):b=w[25],w[26]!==b||w[27]!==c?(v=(0,l.jsx)("div",{className:c,children:b}),w[26]=b,w[27]=c,w[28]=v):v=w[28],w[29]!==v||w[30]!==t||w[31]!==n?(j=(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:t,children:[n,v]})}),w[29]=v,w[30]=t,w[31]=n,w[32]=j):j=w[32],j}function x(e){let t,n,c,d,m,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I=(0,a.c)(50),{title:D,subtitle:M,richText:L,image:B,hasBackgroun
1dGray:R,buttons:V}=e;I[0]!==B?(t=B&&(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20},whileInView:{opacity:1,y:0},transition:{duration:1},viewport:{once:!0},className:"relative h-full max-h-[23rem] w-full overflow-hidden",children:(0,l.jsx)(o.s,{image:B,className:"h-[23rem] w-full object-cover",sizes:"100vw"})}),I[0]=B,I[1]=t):t=I[1],I[2]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:.5,y:20},c={opacity:1,y:0},d={duration:1,delay:.3},m={once:!0},I[2]=n,I[3]=c,I[4]=d,I[5]=m):(n=I[2],c=I[3],d=I[4],m=I[5]),I[6]!==D?(x=(0,l.jsx)("h3",{className:"gradient-text mb-0 text-center text-2xl font-bold",children:D}),I[6]=D,I[7]=x):x=I[7],I[8]!==M?(p=M&&(0,l.jsx)("p",{className:"mb-0 font-bold italic",children:M}),I[8]=M,I[9]=p):p=I[9],I[10]!==L?(h=L&&(0,l.jsx)("div",{className:"text-component",children:(0,l.jsx)(s.s,{richText:L,className:"text-sm"})}),I[10]=L,I[11]=h):h=I[11],I[12]!==V?(g=V&&V.length>0&&(0,l.jsx)("div",{className:"mx-auto mt-4",children:(0,l.jsx)(r.SanityButtons,{buttons:V,size:"sm",className:"flex w-full items-center justify-center gap-3"})}),I[12]=V,I[13]=g):g=I[13],I[14]!==x||I[15]!==p||I[16]!==h||I[17]!==g?(f=(0,l.jsxs)(u.P.div,{initial:n,whileInView:c,transition:d,viewport:m,className:"flex h-full w-full flex-col items-center justify-start gap-3 px-6 pb-12 pt-10 text-center",children:[x,p,h,g]}),I[14]=x,I[15]=p,I[16]=h,I[17]=g,I[18]=f):f=I[18],I[19]!==t||I[20]!==f?(y=(0,l.jsxs)("div",{className:"rounded-4xl bg-card relative flex h-full flex-col items-center justify-between overflow-hidden lg:hidden","data-noindex":!0,children:[t,f]}),I[19]=t,I[20]=f,I[21]=y):y=I[21];let A=R&&"rounded-4xl bg-card lg:gap-0";return I[22]!==A?(b=(0,i.cn)("rounded-4xl bg-card hidden h-full items-center overflow-hidden lg:grid lg:grid-cols-2",A),I[22]=A,I[23]=b):b=I[23],I[24]!==B?(v=B&&(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20},whileInView:{opacity:1,y:0},transition:{duration:1},viewport:{once:!0},className:"order-1 aspect-square h-full w-full",children:(0,l.jsx)(o.s,{image:B,className:"h-full w-full object-cover",sizes:"(max-width: 1024px) 100vw, (max-width: 1200px) 50vw, 50vw"})}),I[24]=B,I[25]=v):v=I[25],I[26]===Symbol.for("react.memo_cache_sentinel")?(j={opacity:.5,y:20},w={opacity:1,y:0},N={duration:1},_={once:!0},I[26]=j,I[27]=w,I[28]=N,I[29]=_):(j=I[26],w=I[27],N=I[28],_=I[29]),I[30]!==D?(S=(0,l.jsx)("h3",{className:"gradient-text mb-0 text-2xl lg:text-left lg:text-5xl",children:D}),I[30]=D,I[31]=S):S=I[31],I[32]!==M?(z=M&&(0,l.jsx)("p",{className:"mb-0 font-bold italic",children:M}),I[32]=M,I[33]=z):z=I[33],I[34]!==L?(k=L&&(0,l.jsx)("div",{className:"text-component",children:(0,l.jsx)(s.s,{richText:L,className:"text-base"})}),I[34]=L,I[35]=k):k=I[35],I[36]!==V?(P=V&&V.length>0&&(0,l.jsx)(r.SanityButtons,{buttons:V,size:"default",className:"mt-8 flex w-full items-center justify-center gap-3 lg:mt-8 lg:items-start lg:justify-start"}),I[36]=V,I[37]=P):P=I[37],I[38]!==S||I[39]!==z||I[40]!==k||I[41]!==P?(C=(0,l.jsx)("div",{className:"order-2 w-full px-12 py-12 lg:px-16 lg:py-16",children:(0,l.jsxs)(u.P.div,{initial:j,whileInView:w,transition:N,viewport:_,className:"grid w-full gap-4 text-center lg:gap-8 lg:text-left",children:[S,z,k,P]})}),I[38]=S,I[39]=z,I[40]=k,I[41]=P,I[42]=C):C=I[42],I[43]!==b||I[44]!==v||I[45]!==C?(T=(0,l.jsxs)("div",{className:b,children:[v,C]}),I[43]=b,I[44]=v,I[45]=C,I[46]=T):T=I[46],I[47]!==y||I[48]!==T?(q=(0,l.jsxs)(l.Fragment,{children:[y,T]}),I[47]=y,I[48]=T,I[49]=q):q=I[49],q}function p(e){let t,n,s,m,x,p,h,g,f,y,b,v,j,w=(0,a.c)(31),{title:N,richText:_,image:S,imagePosition:z,hasBackgroundGray:k,hasTitleBlack:P,buttons:C}=e,T=z&&"md:grid-flow-dense",q=k&&"bg-card items-stretch";w[0]!==T||w[1]!==q?(t=(0,i.cn)("rounded-4xl grid items-center gap-0 overflow-hidden bg-white md:grid-cols-2",T,q),w[0]=T,w[1]=q,w[2]=t):t=w[2],w[3]!==k||w[4]!==S||w[5]!==z?(n=S&&(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20*!k},whileInView:{opacity:1,y:0},transition:{duration:1},viewport:{once:!0},className:(0,i.cn)("relative w-full",z?"order-1":"lg:order-2",k?"aspect-[7/4] h-full w-full md:aspect-auto":"rounded-4xl overflow-hidden"),children:k?(0,l.jsx)(o.s,{image:S,fill:!0,className:"object-cover object-center",sizes:"(max-width: 1024px) 100vw, (max-width: 1200px) 50vw, 50vw"}):(0,l.jsx)(o.s,{image:S,className:"rounded-4xl h-auto w-full max-w-full",sizes:"(max-width: 1024px) 100vw, (max-width: 1200px) 50vw, 50vw"})}),w[3]=k,w[4]=S,w[5]=z,w[6]=n):n=w[6];let I=z?"order-2":"md:order-1";return w[7]!==I?(s=(0,i.cn)("w-full px-6 py-6 md:px-9 md:py-16",I),w[7]=I,w[8]=s):s=w[8],w[9]!==P||w[10]!==N?(m=P?(0,l.jsx)(c.DZ,{className:"text-left font-bold",children:(0,l.jsx)(d.default,{direction:"top",animateBy:"words",rootMargin:"50px",text:N})}):(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:"overflow-hidden",children:(0,l.jsx)(c.DZ,{className:"gradient-text text-left font-bold uppercase",children:N})}),w[9]=P,w[10]=N,w[11]=m):m=w[11],w[12]===Symbol.for("react.memo_cache_sentinel")?(h={opacity:.5,y:20},g={opacity:1,y:0},x={duration:1,delay:.5},p={once:!0},w[12]=x,w[13]=p,w[14]=h,w[15]=g):(x=w[12],p=w[13],h=w[14],g=w[15]),w[16]!==_?(f=(0,l.jsx)(u.P.div,{initial:h,whileInView:g,transition:x,viewport:p,children:(0,l.jsx)(c.hj,{r
1ichText:_,className:""})}),w[16]=_,w[17]=f):f=w[17],w[18]!==f||w[19]!==m?(y=(0,l.jsxs)("div",{className:"grid w-full gap-4 sm:gap-8",children:[m,f]}),w[18]=f,w[19]=m,w[20]=y):y=w[20],w[21]!==C?(b=C&&C.length>0&&(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.7},viewport:{once:!0},children:(0,l.jsx)(r.SanityButtons,{buttons:C,size:"default",className:"mt-8 flex w-full items-center justify-center gap-3 lg:mt-8 lg:items-start lg:justify-start"})}),w[21]=C,w[22]=b):b=w[22],w[23]!==y||w[24]!==b||w[25]!==s?(v=(0,l.jsxs)("div",{className:s,children:[y,b]}),w[23]=y,w[24]=b,w[25]=s,w[26]=v):v=w[26],w[27]!==v||w[28]!==t||w[29]!==n?(j=(0,l.jsxs)("div",{className:t,children:[n,v]}),w[27]=v,w[28]=t,w[29]=n,w[30]=j):j=w[30],j}function h(e){let t,n,c,d,m,x,p,h,g,f,y,b,v,j=(0,a.c)(27),{richText:w,image:N,imagePosition:_,buttons:S}=e,z=_&&"lg:grid-flow-dense";j[0]!==z?(t=(0,i.cn)("grid grid-cols-1 items-center gap-8 sm:gap-12 lg:grid-cols-2",z),j[0]=z,j[1]=t):t=j[1],j[2]!==N||j[3]!==_?(n=N&&(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20},whileInView:{opacity:1,y:0},transition:{duration:1},viewport:{once:!0},className:(0,i.cn)("w-full",_?"order-1":"lg:order-2"),children:(0,l.jsx)(o.s,{image:N,className:"mx-auto aspect-[430/505] w-full max-w-[430px] rounded-2xl object-cover lg:max-w-full",sizes:"(max-width: 1024px) 100vw, (max-width: 1200px) 50vw, 50vw"})}),j[2]=N,j[3]=_,j[4]=n):n=j[4],j[5]===Symbol.for("react.memo_cache_sentinel")?(c={opacity:.5,y:20},d={opacity:1,y:0},m={duration:1,delay:.3},x={once:!0},j[5]=c,j[6]=d,j[7]=m,j[8]=x):(c=j[5],d=j[6],m=j[7],x=j[8]);let k=_?"order-2":"lg:order-1";return j[9]!==k?(p=(0,i.cn)("w-full",k),j[9]=k,j[10]=p):p=j[10],j[11]!==w?(h=w&&(0,l.jsx)("div",{className:"",children:(0,l.jsx)(s.s,{richText:w,className:"text-base lg:text-xl [&_ul]:!pl-0 [&_ul_li]:!mb-6 [&_ul_li]:!pl-0"})}),j[11]=w,j[12]=h):h=j[12],j[13]!==h?(g=(0,l.jsx)("div",{className:"grid w-full gap-4 text-center sm:gap-8 lg:text-left",children:h}),j[13]=h,j[14]=g):g=j[14],j[15]!==g||j[16]!==p?(f=(0,l.jsx)(u.P.div,{initial:c,whileInView:d,transition:m,viewport:x,className:p,children:g}),j[15]=g,j[16]=p,j[17]=f):f=j[17],j[18]!==f||j[19]!==t||j[20]!==n?(y=(0,l.jsxs)("div",{className:t,children:[n,f]}),j[18]=f,j[19]=t,j[20]=n,j[21]=y):y=j[21],j[22]!==S?(b=S&&S.length>0&&(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.5},viewport:{once:!0},className:"mx-auto mt-20 flex max-w-3xl justify-center",children:(0,l.jsx)(r.SanityButtons,{buttons:S,variant:"outline",size:"default"})}),j[22]=S,j[23]=b):b=j[23],j[24]!==y||j[25]!==b?(v=(0,l.jsxs)("div",{className:"",children:[y,b]}),j[24]=y,j[25]=b,j[26]=v):v=j[26],v}n(2168)},82955:(e,t,n)=>{n.d(t,{SlidersCardImage:()=>g});var l=n(58986),a=n(93406),i=n(18934),s=n(9211),r=n(34703),o=n(77483),c=n(94103),d=n(38280),u=n(3682),m=n(67928),x=n(55721),p=n(94366),h=n(6050);function g(e){let{title:t,eyebrow:n,eyebrowPosition:g,richText:f,cards:y,buttons:b,disclaimers:v,sectionStyles:j,sectionParameters:w}=e;if(!y||!y.length)return null;let{titleColor:N}=j||{},_=(0,h.useRef)(null),S=(0,x.W)(_,{once:!1,margin:"-200px 0px"});return(0,l.jsx)("section",{id:null==w?void 0:w.sectionId,className:(0,m.cn)("relative overflow-x-clip py-12 lg:py-24",j?(0,c.aU)(j):"bg-background"),children:(0,l.jsx)("div",{className:"w-full text-center",children:(0,l.jsxs)(a.m,{children:[(0,l.jsx)(o.R2,{position:g,children:n}),t&&"gradient"===N&&(0,l.jsx)(p.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},children:(0,l.jsx)(o.DZ,{className:(0,m.cn)("gradient-text mb-20 text-center uppercase"),children:t})}),t&&"gradient"!==N&&(0,l.jsx)(o.DZ,{className:(0,m.cn)("mb-20 text-center uppercase"),children:(0,l.jsx)(u.default,{direction:"top",animateBy:"words",rootMargin:"-50px",text:t,className:"justify-center"})}),(0,l.jsx)(p.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1,delay:.3},viewport:{once:!0},children:(0,l.jsx)(o.hj,{richText:f,className:"mb-20 text-lg sm:text-xl"})}),(null==v?void 0:v.disclaimerTop)&&(0,l.jsx)("div",{className:"mb-8",children:(0,l.jsx)(i.s,{richText:v.disclaimerTop})}),(0,l.jsx)("div",{ref:_,children:(0,l.jsxs)(d.Carousel,{spacingMobile:"3",spacingTablet:"4",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:S,dots:"always",align:"start",loop:!1,opts:{loop:!1},arrowsPosition:"bottom",arrows:"always",overflow:"visible",autoWidth:!0,children:[(0,l.jsx)(d.
1CarouselContent,{className:"w-full",children:y.map((e,t)=>{var n,a;let i=(null==(n=e.url)?void 0:n.href)?{_id:"".concat(e._key||t,"-btn"),text:e.url.title||"Inserir o Title no URL (saiba mais)",href:e.url.href,variant:"outline",icon:"arrow-right",openInNewTab:e.url.openInNewTab,ariaLabel:e.url.ariaLabel,ariaTitle:e.url.ariaTitle,anchor:e.url.anchor,parameters:e.url.parameters}:null,[c,...u]=(null!=(a=e.title)?a:"").trim().split(/\s+/),m="Seguros"===c;return(0,l.jsx)(d.CarouselItem,{className:"min-w-[17rem] max-w-[22.5rem] sm:max-w-[27.5rem] lg:min-w-[24rem] xl:min-w-[26.25rem]",children:(0,l.jsxs)("div",{className:"rounded-4xl bg-card group relative flex h-full cursor-pointer flex-col overflow-hidden shadow-sm transition-all hover:shadow-md",children:[e.image&&(0,l.jsxs)("div",{className:"relative aspect-[35/55] h-full w-full overflow-hidden lg:aspect-[42/55]",children:[(0,l.jsx)(r.s,{image:e.image,className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-105",fill:!0}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black opacity-20"}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black opacity-0 transition-opacity duration-300 group-hover:opacity-30"})]}),(0,l.jsx)("div",{className:"absolute px-9 py-10",children:(0,l.jsx)(o.DZ,{as:"h3",className:"text-background 3xl:pr-8 text-left text-3xl font-semibold leading-tight transition-colors md:text-3xl md:leading-tight lg:leading-tight xl:text-[2.3rem]",children:m?(0,l.jsxs)(l.Fragment,{children:[c,(0,l.jsx)("br",{}),u.join(" ")]}):e.title})}),i&&(0,l.jsx)("div",{className:"absolute inset-0 flex items-end justify-center pb-5 opacity-100 transition-all duration-300 ease-out lg:translate-y-5 lg:opacity-0 lg:group-hover:translate-y-0 lg:group-hover:opacity-100",children:(0,l.jsx)(s.SanityButtons,{buttons:[i],showButton:"always"})})]})},e._key||t)})}),(0,l.jsxs)("div",{className:"relative mt-10 flex justify-end",children:[(0,l.jsx)(d.CarouselPrevious,{}),(0,l.jsx)(d.CarouselNext,{})]})]})}),b&&b.length>0&&(0,l.jsx)("div",{className:"mt-8 flex justify-center",children:(0,l.jsx)(s.SanityButtons,{buttons:b})}),(null==v?void 0:v.disclaimerBottom)&&(0,l.jsx)("div",{className:"mt-8",children:(0,l.jsx)(i.s,{richText:v.disclaimerBottom})})]})})})}},83239:(e,t,n)=>{n.d(t,{Ai:()=>eP});var l=n(88073);let a='\n ...,\n "alt": coalesce(alt, asset->alt, "no-alt"),\n "blurDataURL": asset->metadata.lqip,\n "dominantColor": asset->metadata.palette.dominant.background,\n title,\n label,\n caption\n',i="\n image{\n ".concat(a,"\n }\n"),s='\n ...customLink{\n openInNewTab,\n "href": select(\n type == "internal" => internal->slug.current,\n type == "external" => external,\n "#"\n ),\n }\n',r='\n select(\n _type == "page" => slug.current,\n _type == "blog" => "/" + slug.current,\n _type == "blogQuizz" => "/" + slug.current,\n _type == "blogCategory" => "/" + slug.current,\n _type == "author" => select(\n locale == "pt" => "/autor/" + slug.current,\n locale == "en" => "/author/" + slug.current\n ),\n _type == "news" => select(\n locale == "pt" => "/noticias/" + slug.current,\n locale == "en" => "/news/" + slug.current\n ),\n _type == "newsIndex" => select(\n locale == "pt" => "/noticias",\n locale == "en" => "/news"\n ),\n _type == "job" => select(\n locale == "pt" => "/oportunidades/" + slug.current,\n locale == "en" => "/oportunities/" + slug.current\n ),\n _type == "product" && slug.current in '.concat('[\n "/particulares/seguros-de-vida/real-seguro-de-vida-empresas",\n "/particulares/seguros-de-vida/real-seguro-vida-futura",\n "/particulares/seguros-de-vida/real-seguro-de-vida-grupo-pme",\n "/particulares/seguro-acidentes-pessoais/incapacidade-acidente",\n "/particulares/seguro-acidentes-pessoais/hospitalizacao-doenca",\n "/particulares/seguro-acidentes-pessoais/incapacidade-doenca",\n "/particulares/seguro-acidentes-pessoais/real-seguro-acidentes-pessoais-global",\n "/particulares/seguro-acidentes-pessoais/hospitalizacao-acidente",\n "/seguros-de-saude/real-seguro-de-saude",\n "/seguros-de-saude/real-seguro-de-saude-doencas-graves",\n "/seguros-de-saude/real-seguro-de-saude-unico",\n "/particulares/investimento-e-poupanca/investimento-e-reforma",\n "/particulares/investimento-e-poupanca/real-vida-capital-protegido",\n "/particulares/investimento-e-poupanca/real-vida-super-rendimento10",\n "/particulares/investimento-e-poupanca/ppr-serie7",\n "/particulares/investimento-e-poupanca/ppr-real-vida-capital-protegido",\n "/particulares/investimento-e-poupanca/real-vida-usa-500",\n "/particulares/seguros-de-vida/seguro-vida-proteccao-empresas",\n "/particulares/seguros-de-vida/real-habitacao",\n "/particulares/seguros-de-vida/real-vida-pleno",\n "/particulares/seguros-de-vida/real-seguro-de-financiamento",\n "/health-insurance/real-health-insurance",\n "/health-insurance/real-critical-illness-health-insurance",\n "/health-insurance/real-unico-health-insurance",\n "/individuals/investment-and-retirement",\n "/individuals/investment-and-savings/ppr-real-vida-protected-capital",\n "/individuals/investment-and-savings/ppr-series7",\n "/individuals/investment-and-savings/real-vida-capital-protegido",\n "/individuals/investment-and-savings/real-vida-super-yield10",\n "/individuals/investment-and-savings/real-vida-usa-500",\n "/individuals/life-insurance/business-protection-life-insurance",\n "/individuals/life-insurance/real-future-life-insurance",\n "/individuals/life-insurance/real-loan-insurance",\n "/individuals/life-insurance/real-mortgage",\n "/individuals/life-insurance/real-sme-group-life-insurance",\n "/individuals/life-insurance/real-vida-full-life",\n "/individuals/personal-accident-insurance/accident-disability",\n "/individuals/personal-accident-insurance/accident-hospitalisation",\n "/individuals/personal-accident-insurance/illness-disability",\n "/individuals/personal-accident-insurance/illness-hospitalisation",\n "/individuals/personal-accident-insurance/real-global-personal-accident-insurance",\n "/retirement-insurance"\n]',' => slug.current,\n _type == "product" => "/produtos" + slug.current,\n _type == "productCategory" && slug.current in ').concat('[\n "/particulares/seguros-de-vida",\n "/particulares/seguro-acidentes-pessoais",\n "/seguros-de-saude",\n "/particulares/investimento-e-poupanca",\n "/individuals/health-insurance",\n "/individuals/investment-and-savings",\n "/individuals/life-insurance",\n "/individuals/personal-accident-insurance"\n]',' => slug.current,\n _type == "productCategory" => "/categorias" + slug.current,\n _type == "simulator" && slug.current in ').concat('[\n "/simulador-real-seguro-de-vida-pleno",\n "/calcule-valor-reforma",\n "/calculo-idade-reforma-simulador",\n "/seguros-de-saude/real-seguro-de-saude-doencas-graves-simulador",\n "/seguro-credito-habitacao-simulador",\n "/hospitalizacao-por-doenca-simulador",\n "/simulador-seguro-de-acidentes-pessoais",\n "/calculo-idade-reforma",\n "/seguros-de-saude/real-seguro-de-saude-simulador",\n "/simulador-seguro-de-acidentes-pessoais-global",\n "/simulador-seguro-vida-futura",\n "/simulador-seguro-de-vida-credito-habitacao",\n "/calculate-retirement-value",\n "/retirement-age-calculation",\n "/illness-hospitalisation-quote-tool",\n "/health-insurance/real-serious-illness-health-insurance-simulator",\n "/health-insurance/real-health-insurance-quote-tool",\n "/real-comprehe
1nsive-life-insurance-simulator",\n "/global-personal-accident-insurance-simulator",\n "/home-loan-life-insurance-simulator",\n "/vida-futura-life-insurance-simulator"\n]',' => slug.current,\n _type == "simulator" => "/simuladores" + slug.current,\n _type == "landingPage" => "/lp" + slug.current,\n slug.current,\n )\n'),o='\n "_translations": *[_type == "translation.metadata" && references(^._id) && defined(translations[].value->slug)].translations[].value->{\n "slug": '.concat(r,",\n locale,\n }\n");(0,l.E)("\n *[\n _type == $type\n && locale == $locale\n && (!defined($slug) || slug.current == $slug)\n ][0]{\n _id,\n _type,\n locale,\n ".concat(o,"\n }\n"));let c='\n "path": '.concat(r,"\n"),d='\n "settings": *[_type == "settings"][0]{\n _id,\n _type,\n siteTitle,\n siteAlternateName,\n siteDescription,\n "logo": logo.asset->url,\n "socialLinks": socialLinks,\n "contactInfo": contactInfo,\n } \n',u='\n "title": title,\n "anchor": anchor,\n "parameters": parameters,\n "openInNewTab": openInNewTab,\n "ariaLabel": ariaLabel,\n "ariaTitle": ariaTitle,\n "href": select(\n type == "internal" => select(\n internal->_type == "page" => internal->slug.current,\n internal->_type == "homePage" => internal->slug.current,\n internal->_type == "blogIndex" => "/",\n internal->_type == "blog" => "/" + internal->slug.current,\n internal->_type == "author" =>"/autor/" + internal->slug.current,\n internal->_type == "blogCategory" => internal->slug.current,\n internal->_type == "collection" => "/loja/" + internal->slug.current,\n internal->_type == "brand" => "/loja/marcas/" + internal->slug.current,\n internal->_type == "newsIndex" => "/noticias",\n internal->_type == "news" => "/noticias/" + internal->slug.current,\n internal->_type == "simulator" => internal->slug.current,\n internal->_type == "landingPage" => "/lp" + internal->slug.current,\n internal->_type == "productCategory" => internal->slug.current,\n internal->_type == "product" => internal->slug.current,\n ),\n type == "external" => external,\n href\n )\n',m='\n text,\n variant,\n icon,\n _key,\n _type,\n "anchor": url.anchor,\n "parameters": url.parameters,\n "openInNewTab": url.openInNewTab,\n "ariaLabel": url.ariaLabel,\n "ariaTitle": url.ariaTitle,\n "href": select(\n url.type == "internal" => select(\n url.internal->_type == "page" => url.internal->slug.current,\n url.internal->_type == "homePage" => url.internal->slug.current,\n url.internal->_type == "blogIndex" => "/",\n url.internal->_type == "blog" => "/" + url.internal->slug.current,\n url.internal->_type == "author" =>"/autor/" + url.internal->slug.current,\n url.internal->_type == "blogCategory" => url.internal->slug.current,\n url.internal->_type == "newsIndex" => "/noticias",\n url.internal->_type == "news" => "/noticias/" + url.internal->slug.current,\n url.internal->_type == "simulator" => url.internal->slug.current,\n url.internal->_type == "landingPage" => "/lp" + url.internal->slug.current,\n url.internal->_type == "productCategory" => url.internal->slug.current,\n url.internal->_type == "product" => url.internal->slug.current,\n ),\n url.type == "external" => url.external,\n url.href\n ),\n',x="\n ...,\n _id,\n text,\n variant,\n icon,\n _key,\n _type,\n ".concat(u,"\n"),p="\n buttons[]->{\n ".concat(x,"\n }\n"),h="\n markDefs[]{\n ...,\n ".concat(s,"\n }\n"),g="\n ...,\n ".concat(i,',\n "src": select(\n type == "youtube" => youtubeSrc,\n null\n ),\n'),f="\n richText[]{\n ...,\n ".concat(h,',\n _type == "video" => {\n ').concat(g,"\n }\n }\n"),y="\n disclaimers{\n disclaimerTop[]{\n ...,\n ".concat(h,"\n },\n disclaimerBottom[]{\n ...,\n ").concat(h,"\n }\n }\n"),b="\n ...,\n eyebrow,\n eyebrowPosition,\n ".concat(f,",\n ").concat(p,",\n ").concat(y,",\n ").concat("\n sectionParameters{\n ...\n }\n","\n"),v="\n author->{\n ...,\n _id,\n name,\n position,\n eyebrow,\n ".concat(i,",\n }\n"),j='\n "author":author->{\n "slug": slug.current,\n "name": name,\n "path": "/autor/" + slug.current,\n "preview": preview{\n ...,\n '.concat(i,",\n ").concat(f,"\n }\n }\n"),w='\n _type,\n _id,\n title,\n description,\n "slug": "/" + slug.current,\n "path": "https://ajudareal.realvidaseguros.pt/" + slug.current,\n '.concat(f,",\n orderRank,\n ").concat(i,",\n publishedAt,\n ").concat(v,',\n "categories": categories[]->{\n _id,\n title,\n "slug": slug.current\n }\n'),N='\n _type,\n _id,\n title,\n "slug": "/" + slug.current,\n '.concat(i,"\n"),_='\n _type,\n _id,\n title,\n description,\n "slug": "/noticias/" + slug.current,\n richText,\n '.concat(i,",\n publishedAt\n"),S='\n ...,\n "slug": slug.current,\n "path":"/loja/marcas/" + brand->slug.current + "/" + slug.current, \n '.concat(i,",\n ").concat(f,",\n"),z="\n ...,\n showScrollDownIcon,\n ".concat(i,",\n logo{\n ").concat(a,"\n },\n extraImage{\n ").concat(a,"\n },\n ").concat(p,",\n buttons2[]->{\n ").concat(x,"\n },\n"),k='\n _type == "blockCta" => {\n '.concat(b,",\n mainTitle,\n mainRichText,\n cta->{\n ").concat(z,"\n }\n }\n"),P='\n _type == "blockCtaSwap" => {\n '.concat(b,",\n ctas[]{\n ...,\n cta->{\n ").concat(z,"\n },\n buttons2[]->{\n ").concat(x,"\n },\n },\n }\n"),C='\n _type == "blockHero" => {\n ...,\n layout,\n title,\n subTitle,\n description[]{\n ...,\n '.concat(h,"\n },\n ").concat(i,",\n images[]{\n _key,\n title,\n hoverTitle,\n image{\n ").concat(a,"\n },\n buttons[]->{\n ").concat(x,"\n }\n },\n carouselTitle,\n carouselSubtitle[]{\n ...,\n ").concat(h,"\n },\n ").concat(p,"\n }\n"),T="\n ...,\n title,\n _id,\n _type,\n ".concat(f,"\n"),q='\n "faqs": array::compact(faqs->faqs[]->{\n '.concat(T,"\n })\n"),I='\n _type == "blockFaqs" => {\n '.concat(b,',\n "layout":faqs->layout,\n "jsonLd":faqs->jsonLd,\n ').concat(q,"\n }\n"),D='\n _type == "blockQuizz" => {\n '.concat(b,',\n "quizzes": *[_type == "blogQuizz" && (seoHideFromLists != true)] | order(_createdAt desc)[0...$quizzesLimit]{\n ').concat(N,"\n }\n }\n"),M="\n _type,\n _id,\n title,\n publishedAt,\n video{\n".concat(g,'\n },\n "category": category->{\n _id,\n title,\n "slug": slug.current\n }\n'),L='\n _type == "blockBlogVideo" => {\n '.concat(b,',\n "category": category->{\n _id,\n title,\n "slug": slug.current\n },\n "videos": *[_type == "blogVideo" && (seoHideFromLists != true) && (!defined(^.category) || category._ref == ^.category._ref)] | order(publishedAt desc)[0...$videosLimit]{\n ').concat(M,"\n }\n }\n"),B='\n _type == "subscribeNewsletter" => {\n ...,\n "subTitle": subTitle[]{\n ...,\n '.concat(h,'\n },\n "helperText": helperText[]{\n ...,\n ').concat(h,"\n }\n }\n"),R='\n _type == "featureCardsIcon" => {\n '.concat(b,',\n "cards": array::compact(cards[]{\n ...,\n ').concat(f,",\n })\n }\n"),V="\n ...,\n ".concat(f,",\n ").concat(i,",\n ").concat(p,',\n "plainRichText": pt::text(richText)\n'),A='\n _type == "blockStory" => {\n '.concat(b,',\n sectionStyles,\n "stories": stories->stories[]->{\n ').concat(V,"\n },\n ").concat(p,"\n }\n"),E='\n _type == "blockFeature" => {\n '.concat(b,",\n sectionStyles,\n description[]{\n ...,\n ").concat(h,'\n },\n "features": features->features[]->{\n ...,\n items[]{\n ...,\n ').concat(f,",\n ").concat(i,",\n ").concat(p,"\n }\n },\n ").concat(p,"\n }\n"),F='\n _type == "blockImage" => {\n '.concat(b,",\n ").concat(i,",\n ").concat(p,"\n }\n"),Z='\n _type == "blockBlogPosts" => {\n '.concat(b,',\n "posts": select(\n filterByCategories => *[_type == "blog" && references(^.categories[]._ref)] | order(publishedAt desc)[0...10]{\n ').concat(w,'\n },\n defined($category) => *[_type == "blog" && $category in categories[]->slug.current] | order(publishedAt desc)[0...10]{\n ').concat(w,'\n },\n *[_type == "blog"] | order(publishedAt desc)[0...10]{\n ').concat(w,'\n }\n ),\n "categories": *[_type == "blogCategory" && count(*[_type == "blog" && references(^._id)]) > 0]{\n _id,\n title,\n "slug": slug.current,\n "path": "https://ajudareal.realvidaseguros.pt/" + slug.current,\n },\n ').concat(p,",\n }\n"),$='\n _type == "blockBlogPostsCustom" => {\n '.concat(b,",\n posts[]->{\n ").concat(w,"\n },\n }\n"),H='\n _type == "blockBlogFaqsSelector" => {\n ...,\n layout,\n '.concat(b,",\n ").concat(i,',\n "categories": *[_type == "blogCategory"] | order(title asc){\n _id,\n title,\n "slug": slug.current,\n },\n }\n'),O='\n _type == "blockBlogFaqs" => {\n '.concat(b,",\n formImage{\n ").concat(a,'\n },\n "blogFaqs": *[_type == "blogFaqs" && defined(answer) && count(answer) > 0] | order(date desc)[0...$faqsLimit]{\n _id,\n question,\n answer[]{\n ...,\n ').concat(h,'\n },\n name,\n email,\n date\n },\n "blogFaqCount": count(*[_type == "blogFaqs" && defined(answer) && count(answer) > 0]),\n "privacyPolicy": *[_type == "settings"][0].privacyPolicy,\n }\n'),G='\n _type == "blockJobs" => {\n '.concat(b,',\n agente,\n "jobs": *[_type == "job" && locale == $locale && select(\n defined(^.agente) && ^.agente == true => agente == true,\n true\n )] | order(endDate desc)[0...$jobsLimit]{\n _id,\n _type,\n title,\n "slug": slug.current,\n "path": ').concat(r,",\n location,\n endDate,\n agente,\n }\n }\n"),U='\n "locationGroup": locations->{\n ...,\n "locations": locations[]->{\n ...,\n '.concat(i,",\n }\n }\n"),Y='\n _type == "blockLocations" => {\n '.concat(b,",\n ").concat(U,",\n }\n"),W="\n publications[]->{\n ".concat('\n ...,\n file{\n ...,\n "url": asset->url,\n "filename": asset->originalFilename,\n "size": asset->size,\n "mimeType": asset->mimeType\n }\n',"\n } | order(date desc)\n"),Q="\n publications[]->{\n ...,\n related[]->{\n ...,\n ".concat(W,"\n },\n ").concat(W,"\n }\n"),J='\n _type == "blockAccordeon" => {\n '.concat(b,",\n items[]{\n ...,\n _key,\n title,\n subtitle,\n ").concat(f,",\n ").concat(i,",\n buttons[]->{\n ").concat(x,"\n }\n }\n }\n"),K='\n _type == "blockPublication" => {\n '.concat(b,",\n ").concat(Q,"\n }\n"),X="\n video{\n ".concat(g,"\n }\n"),ee='\n _type == "blockVideo" => {\n '.concat(b,",\n ").concat(i,",\n ").concat(X,",\n }\n"),et='\n _type == "blockSlider" => {\n '.concat(b,",\n slider->{\n ...,\n layout,\n title,\n products[]->{\n _id,\n title,\n ").concat(S,"\n },\n cards[]{\n ...,\n ").concat(f,",\n ").concat(i,",\n ").concat(p,",\n url{\n ").concat(u,"\n }\n },\n videos[]{\n ").concat(g,'\n },\n "stories": stories->stories[]->{\n ...,\n ').concat(f,",\n ").concat(i,",\n ").concat(p,"\n }\n }\n }\n"),en="\n ...,\n title,\n subTitle,\n counter,\n prefix,\n icon{\n ".concat(a,"\n },\n suffix,\n"),el='\n _type == "blockAgentProgram" => {\n '.concat(b,",\n layout,\n title,\n description,\n stats->{\n ...,\n layout,\n ").concat(i,",\n stats[]->{\n ").concat(en,"\n }\n },\n features->{\n ...,\n title,\n features[]->{\n ...,\n title,\n items[]{\n ...,\n title,\n ").concat(f,",\n ").concat(i,",\n buttons[]->{\n ").concat(x,"\n }\n }\n }\n },\n descriptionBottom,\n itemList->{\n ...,\n layout,\n title,\n list\n }\n }\n"),ea='\n "stats": stats->{\n ...,\n layout,\n '.concat(i,',\n "stats": stats[]->{\n title,\n ').concat(en,"\n }\n }\n"),ei='\n _type == "blockStats" => {\n '.concat(b,",\n ").concat(ea,"\n }\n"),es="\n ...,\n title,\n ".concat(f,",\n ").concat(i,",\n button->{\n ").concat(x,"\n },\n url{\n ").concat(u,"\n }\n"),er='\n "cardGroup": cardGroup->{\n ...,\n cards[]->{\n '.concat(es,"\n }\n }\n"),eo='\n _type == "blockCardGrid" => {\n '.concat(b,",\n ").concat(er,"\n }\n"),ec='\n _type == "blockVideoTabs" => {\n '.concat(b,",\n ").concat(f,",\n tabs[]{\n ...,\n tabTitle,\n title,\n _key,\n ").concat(X,",\n ").concat(f,",\n }\n }\n"),ed='\n _type == "blockTableCards" => {\n '.concat(b,",\n tableData[]{\n _key,\n title,\n subtitle,\n description,\n items[]{\n _key,\n text\n },\n ").concat(p,"\n }\n }\n"),eu='\n _type == "blockVideoStory" => {\n '.concat(b,",\n ").concat(i,",\n ").concat(X,",\n }\n"),em='\n _type == "blockVideoCards" => {\n '.concat(b,",\n ").concat(i,",\n ").concat(X,",\n ").concat(er,"\n }\n"),ex='\n _type == "blockIframe" => {\n '.concat(b,",\n layout,\n url,\n buttons[]->{\n ...,\n ").concat(s,"\n }\n }\n"),ep='\n _type == "blockCentralImageGrid" => {\n '.concat(b,",\n ").concat(i,',\n video{\n ...,\n "url": asset->url\n },\n videoSafari{\n ...,\n "url": asset->url\n },\n items[]{\n ...,\n description[]{\n ...,\n ').concat(h,"\n }\n }\n }\n"),eh='\n _type == "blockApp" => {\n '.concat(b,",\n ").concat('\n "app": *[_type == "app" && locale == $locale][0]{\n qrCode,\n appStore\n }\n',"\n }\n"),eg='\n _type == "blockBrands" => {\n '.concat(b,",\n ").concat(f,",\n ").concat(i,",\n ").concat(p,"\n }\n"),ef='\n _type == "blockSteps" => {\n '.concat(b,",\n steps[]{\n ").concat("\n ...,\n icon\n","\n }\n }\n"),ey='\n _type == "blockCoverage" => {\n '.concat(b,",\n layout,\n ").concat(i,',\n items[]{\n ...,\n title,\n label,\n value,\n },\n comparisonTable->{\n _id,\n title,\n "packages": packages[]->{\n _id,\n title,\n titleBo,\n "items": items[]{\n ...,\n coverage->{\n _id,\n title,\n "slug": slug.current,\n isBreak,\n },\n limit,\n value,\n },\n button->{\n ').concat(x,'\n }\n },\n "coverages": coverages[]->{\n _id,\n title,\n "slug": slug.current,\n isBreak,\n },\n "featured":featured->_id\n },\n disclaimer[]{\n ...,\n ').concat(h,"\n }\n }\n"),eb='\n _type == "blockHeroSimulators" => {\n items[]{\n ...,\n '.concat(i,",\n ").concat(f,",\n description[]{\n ...,\n ").concat(h,"\n },\n ").concat(p,",\n }\n }\n"),ev='\n _type == "blockColumnListImage" => {\n '.concat(b,",\n ").concat(i,",\n }\n"),ej='\n _type == "blockDownloads" => {\n '.concat(b,",\n ").concat(i,',\n items[]{\n _key,\n title,\n "file": file.asset->{\n _id,\n url,\n originalFilename,\n extension,\n size\n },\n children[]{\n _key,\n title,\n "file": file.asset->{\n _id,\n url,\n originalFilename,\n extension,\n size\n }\n }\n }\n }\n'),ew='\n _type == "blockHistory" => {\n '.concat(b,",\n items[]{\n ...,\n layout,\n title,\n theme,
1\n description[]{\n _type,\n _key,\n text\n },\n ").concat(i,"\n }\n }\n"),eN='\n _type == "blockSubMenu" => {\n '.concat(b,',\n columns[]{\n _key,\n _type == "navbarColumns" => {\n "type": "column",\n title,\n columns[]{\n _key,\n _type == "navbarColumn" => {\n "type": "column",\n title{\n name,\n ').concat(m,"\n },\n links[]{\n _key,\n name,\n ").concat(m,'\n }\n }\n }\n },\n _type == "navbarLink" => {\n "type": "link",\n name,\n ').concat(m,"\n }\n },\n ").concat(p,",\n }\n"),e_='\n _type == "blockQuizzMyLife" => {\n '.concat(b,",\n productRealSeguroVidaPleno->{\n ").concat(V,"\n },\n productRealSeguroDeAcidentesPessoaisGlobal->{\n ").concat(V,"\n },\n productRealSeguroDeVidaFinanciamento->{\n ").concat(V,"\n },\n productRealSeguroVidaFutura->{\n ").concat(V,"\n },\n productRealVidaCapitalProtegido->{\n ").concat(V,"\n },\n productPprSuperRendimentoSerie7->{\n ").concat(V,"\n },\n productRealSeguroDeVidaGrupoPme->{\n ").concat(V,"\n },\n productRealSeguroDeSaudeUnico->{\n ").concat(V,"\n },\n productRealVidaSeguroIncapacidadePorAcidente->{\n ").concat(V,"\n },\n productRealVidaSeguroIncapacidadePorDoenca->{\n ").concat(V,"\n },\n productSegurosDeReforma->{\n ").concat(V,"\n },\n productRealSeguroDeSaudeDoencasGraves->{\n ").concat(V,"\n },\n productPprRealVidaCapitalProtegido->{\n ").concat(V,"\n },\n productRealSeguroVidaHabitacao->{\n ").concat(V,"\n },\n productRealSeguroDeSaude->{\n ").concat(V,"\n },\n productRealVidaSuperRendimentoSerie10->{\n ").concat(V,"\n },\n productSegurosDeSaude->{\n ").concat(V,"\n },\n productRealVidaSeguroHospitalizacaoPorDoenca->{\n ").concat(V,"\n },\n productInvestimentoEReforma->{\n ").concat(V,"\n },\n productRealVidaSeguroHospitalizacaoPorAcidente->{\n ").concat(V,"\n },\n }\n"),eS="\n ...,\n _id,\n title,\n code,\n description[]{\n ...,\n ".concat(h,"\n },\n shortDescription[]{\n ...,\n ").concat(h,"\n },\n details[]{\n ...,\n type,\n value,\n table[]{\n ...,\n rows[]\n },\n description[]{\n ...,\n ").concat(h,"\n }\n },\n conditions[]{\n ...,\n image{\n ").concat(a,"\n },\n description[]{\n ...,\n ").concat(h,'\n }\n },\n files[]{\n ...,\n "file": file.asset->{\n _id,\n url,\n originalFilename,\n extension,\n size\n }\n }\n'),ez='\n _type == "blockFundos" => {\n '.concat(b,",\n fundos[]->{\n ").concat(eS,"\n }\n }\n"),ek="\n pageBuilder[]{\n ...,\n _type,\n ".concat(J,",\n ").concat(eh,",\n ").concat(el,",\n ").concat('\n _type == "blockForm" => {\n '.concat(b,',\n "privacyPolicy": *[_type == "settings"][0].privacyPolicy,\n }\n'),",\n ").concat(O,",\n ").concat(H,",\n ").concat(Z,",\n ").concat($,",\n ").concat(L,",\n ").concat(eg,",\n ").concat(eo,",\n ").concat('\n _type == "blockContent" => {\n '.concat(b,",\n }\n"),",\n ").concat(ey,",\n ").concat(k,",\n ").concat(P,",\n ").concat(ev,",\n ").concat(ej,",\n ").concat('\n _type == "blockFormSimulatorRetirement" => {\n '.concat(b,',\n formStrings{\n ...,\n },\n "privacyPolicy": *[_type == "settings"][0].privacyPolicy,\n }\n'),",\n ").concat(C,",\n ").concat(eb,",\n ").concat(ew,",\n ").concat(I,",\n ").concat('\n _type == "blockGlossary" => {\n '.concat(b,',\n "glossaries": *[_type == "glossary" && letter == "A" && locale == $locale] | order(title asc),\n "letters": array::unique(*[_type == "glossary" && locale == $locale].letter)\n }\n'),",\n ").concat(ex,",\n ").concat(R,",\n ").concat(F,",\n ").concat(G,",\n ").concat(Y,",\n ").concat(K,",\n ").concat(D,",\n ").concat(e_,",\n ").concat('\n _type == "blockQuotesTable" => {\n '.concat(b,",\n }\n"),",\n ").concat(et,",\n ").concat(ei,",\n ").concat(ef,",\n ").concat(A,",\n ").concat(E,",\n ").concat(B,",\n ").concat(eN,",\n ").concat(ee,",\n ").concat('\n _type == "blockItemList" => {\n '.concat(b,",\n itemList->{\n ...,\n layout,\n title,\n list\n }\n }\n"),",\n ").concat(ep,",\n ").concat(ez,",\n ").concat(em,",\n ").concat(eu,",\n ").concat('\n _type == "blockTypeform" => {\n '.concat(b,",\n typeformId,\n }\n"),",\n ").concat(ec,",\n ").concat(ed,",\n }
1\n"),eP=(0,l.E)('\n *[_type == "glossary" && letter == $letter && $locale == locale] | order(title asc)\n'),eC='\n ...,\n _id,\n _type,\n title,\n description,\n "path": '.concat(r,",\n ").concat(ek,',\n "slug": slug.current,\n "categories": *[_type == "blogCategory" && $locale == locale][]{\n ...,\n "slug": slug.current\n }\n'),eT="\n ...,\n ".concat(ek,",\n introText[]{\n ...,\n ").concat(h,"\n },\n ").concat(i,"\n");(0,l.E)('\n *[_type == "page" && defined(image)][0]{\n '.concat(i,"\n }.image\n")),(0,l.E)('\n *[_type == "homePage" && locale == $locale][0]{\n ...,\n _id,\n _type,\n "slug": slug.current,\n '.concat(ek,"\n }")),(0,l.E)('\n *[_type == "page" && slug.current == $slug && locale == $locale][0]{\n ...,\n "slug": slug.current,\n "path": '.concat(r,",\n ").concat(ek,"\n }\n")),(0,l.E)('\n *[_type == "productCategory" && slug.current == $slug && $locale == locale][0]{\n ...,\n "slug": slug.current,\n "path": '.concat(r,",\n ").concat(ek,"\n }\n")),(0,l.E)('\n *[_type == "product" && slug.current == $slug && $locale == locale][0]{\n ...,\n "slug": slug.current,\n "title": coalesce(seoTitle, title),\n "description": coalesce(seoDescription, description),\n seoNoIndex,\n "path": '.concat(r,",\n ").concat(ek,"\n }\n")),(0,l.E)('\n *[_type == "simulator" && slug.current == $slug && $locale == locale][0]{\n ...,\n "slug": slug.current,\n "path": '.concat(r,",\n ").concat(ek,"\n }\n")),(0,l.E)('\n *[_type == "simulator" && slug.current == $slug && $locale == locale][0]{\n menu[]{\n ...\n }\n }\n'),(0,l.E)('\n *[_type == "landingPage" && slug.current == $slug && $locale == locale][0]{\n ...,\n "slug": slug.current,\n "path": '.concat(r,",\n ").concat(ek,"\n }\n")),(0,l.E)('\n *[_type == "landingPage" && slug.current == $slug && $locale == locale][0]{\n menu[]{\n ...\n }\n }\n'),(0,l.E)('\n *[_type == "blogQuizz" && slug.current == $slug && $locale == locale][0]{\n ...,\n "slug": slug.current,\n '.concat(i,",\n ").concat(c,"\n }\n")),(0,l.E)('\n *[_type in ["blog", "blogCategory", "blogQuizz"] && slug.current == $slug][0]{\n _type,\n "slug": slug.current\n }\n'),(0,l.E)('\n *[_type == "newsIndex" && locale == $locale][0]{\n '.concat(eT,',\n "featuredNews": *[_type == "news" && (seoHideFromLists != true) && locale == $locale] | order(publishedAt desc)[0..5]{\n ').concat(_,'\n },\n "news": *[_type == "news" && (seoHideFromLists != true) && locale == $locale] | order(publishedAt desc)[6..$limit]{\n ').concat(_,'\n },\n "newsCount": count(*[_type == "news" && (seoHideFromLists != true) && locale == $locale]),\n "path":').concat(r,",\n ").concat(d,"\n }\n")),(0,l.E)('\n *[_type == "news" && slug.current == $slug && locale == $locale][0]{\n ...,\n "slug": slug.current,\n '.concat(i,",\n richText[]{\n ...,\n ").concat(h,"\n },\n ").concat(c,',\n "relatedNews": *[_type == "news" && _id != ^._id && (seoHideFromLists != true) && locale == $locale] | order(publishedAt desc)[0...5]{\n ').concat(_,"\n }\n }\n")),(0,l.E)('\n *[_type == "job" && slug.current == $slug && $locale == locale][0]{\n ...,\n "title": coalesce(seoTitle, title),\n "slug": slug.current,\n "path": '.concat(r,",\n description[]{\n ...,\n ").concat(h,'\n },\n "seoDescriptionResolved": coalesce(seoDescription, pt::text(description)),\n "pageBuilder": select(\n *[_type == "settingsJob" && $locale == locale][0].').concat(ek,'\n ),\n "form": *[_type == "settingsJob" && $locale == locale][0].form{\n title,\n ').concat(i,'\n },\n "privacyPolicy": *[_type == "settings" && $locale == locale][0].privacyPolicy,\n }\n')),(0,l.E)('\n *[_type == "blogIndex" && $locale == locale][0]{\n '.concat(eC,',\n "posts": *[_type == "blog" && $locale == locale && (seoHideFromLists != true) && featured != true && $category in categories[]->slug.current] | order($order)[0..$limit]{\n ').concat(w,'\n },\n "featuredPost": *[_type == "blog" && $locale == locale && (seoHideFromLists != true) && featured == true && $category in categories[]->slug.current] | order($order)[0]{\n ').concat(w,'\n },\n "postCount": count(*[_type == "blog" && $locale == locale && (seoHideFromLists != true) && featured != true && $category in categories[]->slug.current]),\n }\n')),(0,l.E)('\n *[_type == "blogIndex" && $locale == locale ][0]{\n '.concat(eC,',\n "posts": *[_type == "blog" && $locale == locale && (seoHideFromLists != true) && featured != true] | order($order)[0..$limit]{\n ').concat(w,'\n },\n "featuredPost": *[_type == "blog" && $locale == locale && (seoHideFromLists != true) && featured == true] | order($order)[0]{\n ').concat(w,'\n },\n "postCount": count(*[_type == "blog" && $locale == locale && (seoHideFromLists != true) && featured != true]),\n }\n')),(0,l.E)('\n *[_type == "blogIndex" && $locale == locale][0]{\n '.concat(eC,',\n "posts": *[_type == "blog" && $locale == locale && (seoHideFromLists != true) && featured != true && $category in categories[]->slug.current] | order(publishedAt desc)[0..$limit]{\n ').concat(w,'\n },\n "featuredPost": *[_type == "blog" && $locale == locale && (seoHideFromLists != true) && featured == true && $category in categories[]->slug.current] | order(publishedAt desc)[0]{\n ').concat(w,'\n },\n "postCount": count(*[_type == "blog" && $locale == locale && (seoHideFromLists != true) && featured != true && $category in categories[]->slug.current]),\n }\n')),(0,l.E)('\n *[_type == "blogIndex" && $locale == locale][0]{\n '.concat(eC,",\n ").concat(d,"\n }\n")),(0,l.E)('\n *[_type == "blog" && slug.current == $slug && $locale == locale][0]{\n ...,\n "slug": slug.current,\n "path": '.concat(r,',\n "banners": banners[]->{\n ...,\n ').concat(p,",\n ").concat(i,"\n },\n ").concat(i,",\n ").concat(f,",\n ").concat(ek,",\n ").concat(j,',\n "relatedArticles": *[_type == "blog" && $locale == locale && (seoHideFromLists != true) && _id != ^._id && count(categories[@._ref in ^.categories[]._ref]) > 0] | order(publishedAt desc)[0..10]{\n ').concat(w,"\n }\n }\n")),(0,l.E)('\n *[_type == "author" && slug.current == $slug ][0]{\n ...,\n "slug": slug.current,\n "path": '.concat(r,",\n ").concat(v,',\n "categories": *[_type == "blogCategory" ]{\n ...,\n title\n },\n "posts": *[_type == "blog" && (seoHideFromLists != true) && references(^._id)] | order(publishedAt desc) {\n ').concat(w,"\n },\n ").concat(ek,",\n ").concat(c,"\n }\n")),(0,l.E)('\n *[_type == "blog" && defined(slug.current)].slug.current\n'),(0,l.E)('\n *[_type in ["blog", "blogCategory", "blogQuizz"] && defined(slug.current)].slug.current\n'),(0,l.E)('\n *[_type == "job" && defined(slug.current)].slug.current\n');let eq='\n _id,\n _type,\n "title": select(\n defined(ogTitle) => ogTitle,\n defined(seoTitle) => seoTitle,\n title\n ),\n "description": select(\n defined(ogDescription) => ogDescription,\n defined(seoDescription) => seoDescription,\n description\n ),\n "image": image.asset->url + "?w=566&h=566&dpr=2&fit=max",\n "dominantColor": image.asset->
1metadata.palette.dominant.background,\n "seoImage": seoImage.asset->url + "?w=1200&h=630&dpr=2&fit=max", \n "logo": *[_type == "settings"][0].logo.asset->url + "?w=80&h=40&dpr=3&fit=max&q=100",\n "date": coalesce(date, _createdAt)\n';(0,l.E)('\n *[_type == "homePage" && _id == $id][0]{\n '.concat(eq,"\n }\n ")),(0,l.E)('\n *[_type == "page" && _id == $id][0]{\n '.concat(eq,"\n }\n")),(0,l.E)('\n *[_type == "blog" && _id == $id][0]{\n '.concat(eq,"\n }\n")),(0,l.E)("\n *[ defined(slug.current) && _id == $id][0]{\n ".concat(eq,"\n }\n")),(0,l.E)('\n *[_type == "footer" && $locale == locale][0]{\n _id,\n subtitle,\n columns[]{\n _key,\n columnItems[]{\n _type,\n _key,\n title,\n "link":{\n '.concat(m,"\n },\n links[]{\n _key,\n name,\n ").concat(m,"\n }\n }\n },\n bottomLinks[]{\n _key,\n name,\n ").concat(m,"\n },\n images[]{\n _key,\n ").concat(i,"\n }\n }\n")),(0,l.E)('\n *[_type == "navbar" && $locale == locale][0]{\n _id,\n columns[]{\n _key,\n _type == "navbarColumns" => {\n "type": "column",\n title,\n columns[]{\n _key,\n _type == "navbarColumn" => {\n "type": "column",\n title{\n name,\n '.concat(m,"\n },\n links[]{\n _key,\n name,\n ").concat(m,'\n }\n }\n }\n },\n _type == "navbarLink" => {\n "type": "link",\n name,\n description,\n ').concat(m,"\n }\n },\n ").concat(p,',\n secondaryColumns[]{\n _key,\n _type == "navbarColumns" => {\n "type": "column",\n title,\n columns[]{\n _key,\n _type == "navbarColumn" => {\n "type": "column",\n title{\n name,\n ').concat(m,"\n },\n links[]{\n _key,\n name,\n description,\n ").concat(m,'\n }\n }\n }\n },\n _type == "navbarLink" => {\n "type": "link",\n name,\n description,\n ').concat(m,"\n }\n },\n secondaryButtons[]{\n ").concat(x,"\n },\n }\n")),(0,l.E)('\n *[\n (_type == "homePage" || _type == "page" || _type == "landingPage" || _type == "news" || _type == "product" || _type == "productCategory" || _type == "simulator")\n && defined(slug.current)\n && defined(locale)\n && !(_id in path("drafts.**"))\n ]{\n _type,\n locale,\n "slug": '.concat(r,',\n "lastModified": _updatedAt,\n "_translations": *[_type == "translation.metadata" && references(^._id) && defined(translations[].value->slug)].translations[].value->{\n "slug": ').concat(r,",\n locale,\n }\n }\n")),(0,l.E)('\n *[\n (_type == "blogIndex" || _type == "blog" || _type == "blogQuizz" || _type == "blogCategory" || _type == "author")\n && defined(slug.current)\n && locale == "pt"\n && !(_id in path("drafts.**"))\n ]{\n _type,\n locale,\n "slug": '.concat(r,',\n "lastModified": _updatedAt\n }\n')),(0,l.E)('\n *[_type == "settings" && $locale == locale][0]{\n _id,\n _type,\n siteTitle,\n logo{\n '.concat(a,"\n },\n siteDescription,\n socialLinks{\n linkedin,\n facebook,\n twitter,\n instagram,\n youtube\n }\n }\n")),(0,l.E)('\n *[_type == "settings"][0]{\n _id,\n _type,\n siteTitle,\n siteDescription,\n "logo": logo.asset->url + "?w=80&h=40&dpr=3&fit=max",\n "socialLinks": socialLinks,\n "contactEmail": contactEmail,\n }\n'),(0,l.E)('\n *[_type == "whatsApp" && $locale == locale][0]{\n ...\n }\n'),(0,l.E)('\n *[_type == "popup" && $locale == locale]{\n _id,\n _rev,\n _type,\n title,\n permanent,\n startDate,\n endDate,\n '.concat(f,",\n ").concat(p,',\n "pages": pages[]->{\n _id,\n "path": ').concat(r,"\n }\n }\n")),(0,l.E)('\n *[_type == "settings"][0]{\n _id,\n _type,\n "info": info{\n title,\n "form": form{\n icon,\n title,\n form,\n description,\n "privacyPolicy": ^.^.privacyPolicy,\n },\n "supportLine": supportLine{\n icon,\n title,\n description\n },\n whatsapp{\n icon,\n title,\n description,\n "buttons": buttons[]->{\n '.concat(x,'\n },\n "schedule": *[_type == "whatsApp"][0]{\n ...\n }\n }\n }\n }\n'));let eI='\n "filters": filters->filters[]->{\n ...,\n "slug":slug.current,\n title,\n type,\n "item":select(\n type == \'attributes\' => {\n _id,\n title,\n "slug": slug.current,\n allAttributes,\n "values": array::compact(select(\n allAttributes => *[_type == \'attribute\'][] | order(title asc){\n _id,\n "text":title,\n "slug":slug.current\n },\n !allAttributes => *[_type == \'attribute\' && _id in ^.attributes[]->_id][]{\n _id,\n "text":title,\n "slug":slug.current\n },\n null\n ))\n },\n type == \'brands\' => {\n _id,\n title,\n "slug": slug.current,\n brands,\n allBrands,\n "values": array::compact(select(\n allBrands => *[_type == \'brand\'][] | order(title asc){\n _id,\n "text":title,\n "slug":slug.current\n },\n !allBrands => *[_type == \'brand\' && _id in ^.brands[]->_id][]{\n _id, \n "text":title,\n "slug":slug.current\n },\n null\n ))\n },\n type == \'collections\' => {\n _id,\n title,\n "slug": slug.current,\n collections,\n allCollections,\n "values": array::compact(select(\n allCollections => *[_type == \'collection\'][] | order(title asc){\n _id,\n "text":title,\n "slug":slug.current\n },\n !allCollections => *[_type == \'collection\' && _id in ^.collections[]->_id][]{\n _id,\n "text":title,\n "slug":slug.current\n },\n null\n ))\n },\n null\n )\n }\n';(0,l.E)('\n *[_type == "collection" && slug.current == $slug][0]{\n ...,\n "slug": slug.current,\n '.concat(i,",\n ").concat(f,",\n products[]-> {\n ").concat(S,'\n },\n related[]->{\n _id,\n title,\n image,\n "slug": slug.current,\n "path":"/loja/" + slug.current\n },\n ').concat(eI,"\n }\n")),(0,l.E)('\n *[_type == "collection" && slug.current == $slug][0]{\n ...,\n "slug": slug.current,\n '.concat(i,",\n ").concat(f,',\n products[]-> {\n ...select(\n defined($attribute) && $attribute != "" && $attribute in attributes[]->slug.current => {\n ').concat(S,'\n },\n defined($brand) && $brand != "" && brand->slug.current == $brand =>
1 {\n ').concat(S,"\n },\n defined($search) && $search != \"\" && (title match $search + '*' || pt::text(richText) match $search + '*') => {\n ").concat(S,'\n },\n null\n )\n },\n related[]->{\n _id,\n title,\n image,\n "slug": slug.current,\n "path":"/loja/" + slug.current\n },\n ').concat(eI,"\n }\n")),(0,l.E)('\n *[_type == "collection" && defined(slug.current)].slug.current\n'),(0,l.E)('\n *[_type == "brand" && slug.current == $slug][0]{\n ...,\n "slug": slug.current,\n '.concat(i,",\n ").concat(f,",\n faqs{\n ...,\n ").concat(f,",\n ").concat(p,",\n ").concat(q,'\n },\n "products": *[_type == "product" && references(^._id)]{\n ').concat(S,"\n },\n ").concat(eI,"\n }\n")),(0,l.E)('\n *[_type == "product" && defined(slug.current)].slug.current\n'),(0,l.E)('\n *[_type == "product" && slug.current == $slug][0]{\n ...,\n "slug": slug.current,\n '.concat(i,",\n ").concat(f,',\n brand,\n attributes[]->{\n ...,\n "slug": slug.current,\n },\n "related": array::unique(\n *[_type == "product" && _id != ^._id && (\n references(^.brand->_id) || \n _id in *[_type == "collection" && references(^._id)].products[]._ref\n )]{\n ').concat(S,"\n }\n ),\n }\n")),(0,l.E)('\n *[_type == "store"][0]{\n ...,\n '.concat(i,",\n ").concat(f,",\n ").concat(eI,",\n ").concat(ek,',\n "products": *[_type == "product"]{\n ').concat(S,"\n }\n }\n"));let eD='\n locale,\n "path": '.concat(r,',\n "title": coalesce(seoTitle, title,"Realvida Seguros"),\n "description": coalesce(seoDescription, description,"A sua seguradora online"),\n seoNoIndex,\n');(0,l.E)('\n *[_type == "homePage" && locale == $locale][0]{\n '.concat(eD,"\n }\n")),(0,l.E)('\n *[(_type == "blog" || _type == "blogCategory" || _type == "blogQuizz") && locale == $locale && ( defined($slug) && slug.current == $slug)][0]{\n '.concat(eD,"\n }\n")),(0,l.E)("\n *[_type == $type && locale == $locale && ( defined($slug) && slug.current == $slug)][0]{\n ".concat(eD,"\n }\n")),(0,l.E)('\n *[_type == $type && defined(slug.current)]{\n "slug": slug.current,\n locale\n }\n')},85263:(e,t,n)=>{n.d(t,{ItemListSimple:()=>o});var l=n(58986),a=n(34978),i=n(77483),s=n(94366),r=n(30847);function o(e){let t,n,o,c,d,u,m,x,p,h,g,f,y,b=(0,a.c)(22),{eyebrow:v,eyebrowPosition:j,title:w,richText:N,itemList:_}=e;return(null==_?void 0:_.list)&&_.list.length?(b[0]!==v||b[1]!==j?(t=(0,l.jsx)(i.R2,{position:j,children:v}),b[0]=v,b[1]=j,b[2]=t):t=b[2],b[3]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:.5,y:20,filter:"blur(0.5rem)"},o={opacity:1,y:0,filter:"blur(0rem)"},c={duration:1},d={once:!0},b[3]=n,b[4]=o,b[5]=c,b[6]=d):(n=b[3],o=b[4],c=b[5],d=b[6]),b[7]!==w?(u=(0,l.jsx)(s.P.div,{initial:n,whileInView:o,transition:c,viewport:d,children:(0,l.jsx)(i.DZ,{className:"gradient-text m-0 text-center uppercase",children:w})}),b[7]=w,b[8]=u):u=b[8],b[9]===Symbol.for("react.memo_cache_sentinel")?(x={opacity:.5,y:20},p={opacity:1,y:0},h={duration:1},m={once:!0},b[9]=m,b[10]=x,b[11]=p,b[12]=h):(m=b[9],x=b[10],p=b[11],h=b[12]),b[13]!==N?(g=(0,l.jsx)(s.P.div,{initial:x,whileInView:p,transition:h,viewport:m,children:(0,l.jsx)(i.hj,{richText:N,className:"pt-8 text-lg lg:text-xl"})}),b[13]=N,b[14]=g):g=b[14],b[15]!==_?(f=(0,l.jsx)("div",{className:"mx-auto mb-0 mt-10 w-full max-w-[32.188rem] md:my-16",children:(0,l.jsx)(r.e,{itemList:_,className:"text-foreground"})}),b[15]=_,b[16]=f):f=b[16],b[17]!==t||b[18]!==g||b[19]!==f||b[20]!==u?(y=(0,l.jsx)("div",{className:"relative",children:(0,l.jsxs)("div",{className:"w-full",children:[t,u,g,f]})}),b[17]=t,b[18]=g,b[19]=f,b[20]=u,b[21]=y):y=b[21],y):null}},88042:(e,t,n)=>{n.d(t,{default:()=>u});var l=n(58986),a=n(34978),i=n(77483),s=n(94103),r=n(5238),o=n(67928),c=n(94366),d=n(44139);function u(e){var t;let n,d,u,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P=(0,a.c)(33),{title:C,richText:T,eyebrow:q,eyebrowPosition:I,tabs:D,sectionParameters:M,sectionStyles:L}=e,B=null==D||null==(t=D[0])?void 0:t._key,R=null==M?void 0:M.sectionId;P[0]!==L?(n=(0,o.cn)("relative w-full py-12 lg:py-24",(0,s.aU)(L)),P[0]=L,P[1]=n):n=P[1];let V=null!=I?I:void 0;return P[2]!==q||P[3]!==V?(d=(0,l.jsx)(i.R2,{position:V,theme:"gradient",children:q}),P[2]=q,P[3]=V,P[4]=d):d=P[4],P[5]===Symbol.for("react.memo_cache_sentinel")?(u={opacity:.5,y:20,filter:"blur(0.5rem)"},p={opacity:1,y:0,filter:"blur(0rem)"},h={duration:1},g={once:!0},P[5]=u,P[6]=p,P[7]=h,P[8]=g):(u=P[5],p=P[6],h=P[7],g=P[8]),P[9]!==C?(f=(0,l.jsx)(c.P.div,{initial:u,whileInView:p,transition:h,viewport:g,className:"overflow-hidden",children:(0,l.jsx)(i.DZ,{className:"gradient-text m-0 text-center uppercase",children:C})}),P[9]=C,P[10]=f):f=P[10],P[11]===Symbol.for("react.memo_cache_sentinel")?(y={opacity:.5,y:20},b={opacity:1,y:0},v={duration:.8,delay:.5},j={once:!0},P[11]=y,P[12]=b,P[13]=v,P[14]=j):(y=P[11],b=P[12],v=P[13],j=P[14]),P[15]!==T?(w=(0,l.jsx)(c.P.div,{initial:y,whileInView:b,transition:v,viewport:j,children:(0,l.jsx)(i.hj,{richText:T,className:"text-lg lg:text-xl"})}),P[15]=T,P[16]=w):w=P[16],P[17]!==w||P[18]!==f?(N=(0,l.jsxs)("div",{className:"mx-auto max-w-[55rem] space-y-9 overflow-hidden",children:[f,w]}),P[17]=w,P[18]=f,P[19]=N):N=P[19],P[20]!==B||P[21]!==D?(_=D&&B&&(0,l.jsxs)(r.tU,{defaultValue:B,className:"mt-10 w-full",children:[(0,l.jsx)(r.j7,{className:"bg-background mx-auto mb-6 w-max max-w-full rounded-full px-10 py-1",children:D.map(x)}),D.map(m)]}
1),P[20]=B,P[21]=D,P[22]=_):_=P[22],P[23]!==_?(S=(0,l.jsx)("div",{className:"mx-auto w-full max-w-[90rem]",children:_}),P[23]=_,P[24]=S):S=P[24],P[25]!==N||P[26]!==S||P[27]!==d?(z=(0,l.jsxs)("div",{className:"relative w-full px-6 lg:px-12 2xl:px-24",children:[d,N,S]}),P[25]=N,P[26]=S,P[27]=d,P[28]=z):z=P[28],P[29]!==R||P[30]!==z||P[31]!==n?(k=(0,l.jsx)("section",{id:R,className:n,children:z}),P[29]=R,P[30]=z,P[31]=n,P[32]=k):k=P[32],k}function m(e){return(0,l.jsx)(r.av,{value:e._key,className:"w-full px-6 lg:px-12 2xl:px-24",children:(0,l.jsxs)("div",{className:"bg-background rounded-3xl px-5 py-7 lg:px-12 lg:py-12",children:[(0,l.jsx)(c.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:"overflow-hidden",children:(0,l.jsx)(i.DZ,{as:"h3",className:"mb-6 text-left font-bold uppercase",children:e.title})}),(0,l.jsx)(c.P.div,{initial:{opacity:.5,y:20},whileInView:{opacity:1,y:0},transition:{duration:.8,delay:.5},viewport:{once:!0},children:(0,l.jsx)(i.hj,{richText:e.richText,className:"mb-10"})}),(0,l.jsx)(c.P.div,{initial:{opacity:0}
1,whileInView:{opacity:1},transition:{duration:.8,delay:.7},viewport:{once:!0},children:(0,l.jsx)("div",{className:"mx-auto w-full max-w-[55rem]",children:e.video&&(0,l.jsx)(d.A,{...e.video})})})]})},e._key)}function x(e){return(0,l.jsx)(r.Xi,{value:e._key,children:e.tabTitle},e._key)}},89996:(e,t,n)=>{n.d(t,{SubMenuDefault:()=>h});var l=n(58986),a=n(34978),i=n(93406),s=n(94103),r=n(18934),o=n(67928),c=n(56995),d=n.n(c),u=n(12465);function m(e){let t,n,i,r=(0,a.c)(9),{column:o,locale:c}=e;if(r[0]!==o.title||r[1]!==c){var u,m,x,p,h;t=(null==(u=o.title)?void 0:u.name)&&(0,l.jsx)(d(),{target:o.title.openInNewTab?"_blank":"_self",title:o.title.ariaTitle,"aria-label":o.title.openInNewTab?"".concat(null!=(m=o.title.name)?m:o.title.href,", ").concat(o.title.ariaTitle):void 0,href:(0,s.Rh)({path:null!=(x=o.title.href)?x:"",params:null!=(p=o.title.parameters)?p:"",anchor:null!=(h=o.title.anchor)?h:"",locale:c}),className:"text-foreground hover:text-muted font-bold",children:o.title.name}),r[0]=o.title,r[1]=c,r[2]=t}else t=r[2];return r[3]!==o.links||r[4]!==c?(n=o.links&&o.links.length>0&&(0,l.jsx)("ul",{className:"flex flex-col gap-2 pt-2",children:o.links.map(e=>{var t,n,a,i;return(0,l.jsx)("li",{className:"",children:(0,l.jsx)(d(),{target:e.openInNewTab?"_blank":"_self",title:e.ariaTitle,"aria-label":e.openInNewTab?"".concat(null!=(t=e.name)?t:e.href,", ").concat(e.ariaTitle):void 0,href:(0,s.Rh)({path:null!=(n=e.href)?n:"",params:null!=(a=e.parameters)?a:"",anchor:null!=(i=e.anchor)?i:"",locale:c}),className:"text-foreground hover:text-muted",children:e.name})},e._key)})}),r[3]=o.links,r[4]=c,r[5]=n):n=r[5],r[6]!==t||r[7]!==n?(i=(0,l.jsxs)("div",{className:"",children:[t,n]}),r[6]=t,r[7]=n,r[8]=i):i=r[8],i}function x(e){let t,n,i,s,r=(0,a.c)(10),{title:o,columns:c,locale:d}=e;return r[0]!==o?(t=o&&(0,l.jsx)("h3",{className:"text-foreground mb-4 text-lg font-semibold",children:o}),r[0]=o,r[1]=t):t=r[1],r[2]!==c||r[3]!==d?(n=null==c?void 0:c.map(e=>(0,l.jsx)(m,{column:e,locale:d},e._key)),r[2]=c,r[3]=d,r[4]=n):n=r[4],r[5]!==n?(i=(0,l.jsx)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3",children:n}),r[5]=n,r[6]=i):i=r[6],r[7]!==t||r[8]!==i?(s=(0,l.jsxs)("div",{className:"w-full",children:[t,i]}),r[7]=t,r[8]=i,r[9]=s):s=r[9],s}function p(e){var t,n,i,r;let o,c,u=(0,a.c)(11),{link:m,locale:x}=e,p=m.openInNewTab?"_blank":"_self",h=m.ariaTitle,g=m.openInNewTab?"".concat(null!=(t=m.name)?t:m.href,", ").concat(m.ariaTitle):void 0,f=null!=(n=m.href)?n:"",y=null!=(i=m.parameters)?i:"",b=null!=(r=m.anchor)?r:"";return u[0]!==x||u[1]!==f||u[2]!==y||u[3]!==b?(o=(0,s.Rh)({path:f,params:y,anchor:b,locale:x}),u[0]=x,u[1]=f,u[2]=y,u[3]=b,u[4]=o):o=u[4],u[5]!==m.ariaTitle||u[6]!==m.name||u[7]!==p||u[8]!==g||u[9]!==o?(c=(0,l.jsx)(d(),{target:p,title:h,"aria-label":g,href:o,className:"text-background hover:text-accent px-3 py-0 text-base font-bold no-underline sm:px-6 sm:py-1",children:m.name}),u[5]=m.ariaTitle,u[6]=m.name,u[7]=p,u[8]=g,u[9]=o,u[10]=c):c=u[10],c}function h(e){let t,n,c,d,m,h,g=(0,a.c)(18),{richText:f,columns:y,sectionStyles:b,sectionParameters:v}=e,{i18n:j}=(0,u.Bd)(),w=j.language;if(!y||0===y.length)return null;let N=null==v?void 0:v.sectionId;if(g[0]!==b?(t=(0,o.cn)("relative w-full overflow-x-clip pt-12 lg:pt-20",(0,s.aU)(b)),g[0]=b,g[1]=t):t=g[1],g[2]!==y||g[3]!==w){let e;g[5]!==w?(e=(e,t)=>"column"===e.type?(0,l.jsx)(x,{title:e.title,columns:e.columns,locale:w},e._key||"column-".concat(e.title,"-").concat(t)):(0,l.jsx)(p,{link:e,locale:w},e._key||"link-".concat(t)),g[5]=w,g[6]=e):e=g[6],n=y.map(e),g[2]=y,g[3]=w,g[4]=n}else n=g[4];return g[7]!==n?(c=(0,l.jsx)("div",{className:"bg-foreground divide-background flex flex-wrap items-center justify-center gap-0 gap-y-2 divide-x rounded-full px-2 py-4 lg:px-4",children:n}),g[7]=n,g[8]=c):c=g[8],g[9]!==f?(d=f&&(0,l.jsx)(r.s,{richText:f,className:"mt-20 uppercase"}),g[9]=f,g[10]=d):d=g[10],g[11]!==c||g[12]!==d?(m=(0,l.jsxs)(i.m,{children:[c,d]}),g[11]=c,g[12]=d,g[13]=m):m=g[13],g[14]!==N||g[15]!==t||g[16]!==m?(h=(0,l.jsx)("section",{id:N,className:t,children:m}),g[14]=N,g[15]=t,g[16]=m,g[17]=h):h=g[17],h}},91103:(e,t,n)=>{n.d(t,{ColumnListImage:()=>u});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(9211),o=n(77483),c=n(94366),d=n(34703);function u(e){let t,n,u,x,p,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I,D,M,L,B,R,V,A,E,F,Z,$=(0,a.c)(55),{items:H,buttons:O,eyebrow:G,eyebrowPosition:U,title:Y,richText:W,disclaimers:Q,image:J,sectionParameters:K}=e;if(!H||!H.length)return null;let X=null==K?void 0:K.sectionId;return $[0]!==G||$[1]!==U?(t=(0,l.jsx)(o.R2,{position:U,children:G}),$[0]=G,$[1]=U,$[2]=t):t=$[2],$[3]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:.5,y:20,filter:"blur(0.5rem)"},u={opacity:1,y:0,filter:"blur(0rem)"},x={duration:1},p={once:!0},$[3]=n,$[4]=u,$[5]=x,$[6]=p):(n=$[3],u=$[4],x=$[5],p=$[6]),$[7]!==Y?(h=(0,l.jsx)(c.P.div,{initial:n,whileInView:u,transition:x,viewport:p,className:"mx-auto max-w-[62rem] overflow-hidden",children:(0,l.jsx)(o.DZ,{className:"gradient-text m-0 text-center uppercase",children:Y})}),$[7]=Y,$[8]=h):h=$[8],$[9]===Symbol.for("react.memo_cache_sentinel")?(y={opacity:0,y:20},b={opacity:1,y:0},g={duration:1.3,delay:2.8},f={once:!0},$[9]=g,$[10]=f,$[11]=y,$[12]=b):(g=$[9],f=$[10],y=$[11],b=$[12]),$[13]!==W?(v=(0,l.jsx)(c.P.div,{initial:y,whileInView:b,transition:g,viewport:f,className:"mx-auto max-w-[50rem] overflow-hidden pt-7",children:(0,l.jsx)(o.hj,{richText:W,className:"text-lg lg:text-xl"})}),$[13]=W,$[14]=v):v=$[14],$[15]===Symbol.for("react.memo_cache_sentinel")?(j={opacity:0,x:20},w={opacity:1,x:0},N={duration:1.3,delay:.8},_={once:!0},$[15]=j,$[16]=w,$[17]=N,$[18]=_):(j=$[15],w=$[16],N=$[17],_=$[18]),$[19]!==J?(S=(0,l.jsx)("div",{className:"order:1 gap-4 lg:sticky lg:top-20 lg:order-2",children:(0,l.jsx)(c.P.div,{initial:j,whileInView:w,transition:N,viewport:_,children:(0,l.jsx)(d.s,{image:J,className:"w-full max-w-full",sizes:"100vh",quality:100})})}),$[19]=J,$[20]=S):S=$[20],$[21]===Symbol.for("react.memo_cache_sentinel")?(z={opacity:0,y:5},k={opacity:1,y:0},P={duration:1.3},C={once:!0}
1,$[21]=z,$[22]=k,$[23]=P,$[24]=C):(z=$[21],k=$[22],P=$[23],C=$[24]),$[25]!==H?(T=H.map(m),$[25]=H,$[26]=T):T=$[26],$[27]!==T?(q=(0,l.jsx)(c.P.div,{initial:z,whileInView:k,transition:P,viewport:C,className:"order:2 flex flex-col gap-14 lg:order-1 lg:pt-20",children:T}),$[27]=T,$[28]=q):q=$[28],$[29]!==S||$[30]!==q?(I=(0,l.jsx)("div",{className:"relative",children:(0,l.jsxs)("div",{className:"grid grid-cols-1 items-start gap-8 lg:mt-20 lg:grid-cols-[37%,55%] lg:gap-[8%]",children:[S,q]})}),$[29]=S,$[30]=q,$[31]=I):I=$[31],$[32]===Symbol.for("react.memo_cache_sentinel")?(D={opacity:0,y:20},M={opacity:1,y:0},L={duration:1,delay:.5},B={once:!0},$[32]=D,$[33]=M,$[34]=L,$[35]=B):(D=$[32],M=$[33],L=$[34],B=$[35]),$[36]!==Q?(R=(null==Q?void 0:Q.disclaimerTop)&&(0,l.jsx)("div",{className:"",children:(0,l.jsx)(s.s,{richText:Q.disclaimerTop,className:"h3 text-center"})}),$[36]=Q,$[37]=R):R=$[37],$[38]!==O?(V=(0,l.jsx)(r.SanityButtons,{buttons:O,className:"items-center justify-center"}),$[38]=O,$[39]=V):V=$[39],$[40]!==Q?(A=(null==Q?void 0:Q.disclaimerBottom)&&(0,l.jsx)("div",{className:"mb-8",children:(0,l.jsx)(s.s,{richText:Q.disclaimerBottom,className:"h5 text-center"})}),$[40]=Q,$[41]=A):A=$[41],$[42]!==R||$[43]!==V||$[44]!==A?(E=(0,l.jsxs)(c.P.div,{initial:D,whileInView:M,transition:L,viewport:B,className:"mx-auto mt-10 flex max-w-[55rem] flex-col justify-center gap-7 lg:mt-20",children:[R,V,A]}),$[42]=R,$[43]=V,$[44]=A,$[45]=E):E=$[45],$[46]!==v||$[47]!==t||$[48]!==I||$[49]!==E||$[50]!==h?(F=(0,l.jsxs)(i.m,{className:"max-w-[93.25rem]",children:[t,h,v,I,E]}),$[46]=v,$[47]=t,$[48]=I,$[49]=E,$[50]=h,$[51]=F):F=$[51],$[52]!==X||$[53]!==F?(Z=(0,l.jsx)("div",{id:X,className:"w-full overflow-x-clip py-12 lg:py-24",children:F}),$[52]=X,$[53]=F,$[54]=Z):Z=$[54],Z}function m(e){return(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)(o.DZ,{as:"h3",className:"h5 gradient-text m-0 max-w-[27.5rem] text-left",children:e.title}),(0,l.jsx)(s.s,{richText:e.richText,className:"mt-5 border-t pt-5 text-base"})]},e._key)}},91964:(e,t,n)=>{n.d(t,{CardDefault:()=>v});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(9211),o=n(77483),c=n(94103),d=n(38280),u=n(3682),m=n(67928),x=n(94366),p=n(49527),h=n(34703),g=n(56995),f=n.n(g),y=n(12465);function b(e){var t,n,i;let s,r,o,d,u,x,p=(0,a.c)(21),{title:g,image:b,url:v,className:j}=e,{i18n:w}=(0,y.Bd)(),N=w.language;if(!b)return null;let _=!!((null==v?void 0:v.href)&&"#"!==v.href);p[0]!==j?(s=(0,m.cn)("overflow-hidden rounded-3xl",j),p[0]=j,p[1]=s):s=p[1];let S=_&&"group-hover:scale-105";p[2]!==S?(r=(0,m.cn)("block h-auto w-full transition-transform duration-500",S),p[2]=S,p[3]=r):r=p[3],p[4]!==b||p[5]!==r?(o=(0,l.jsx)(h.s,{image:b,className:r,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",quality:100}),p[4]=b,p[5]=r,p[6]=o):o=p[6],p[7]!==s||p[8]!==o?(d=(0,l.jsx)("div",{className:s,children:o}),p[7]=s,p[8]=o,p[9]=d):d=p[9];let z=d;if(!_)return z;let k=null!=(t=null==v?void 0:v.href)?t:"",P=null!=(n=null==v?void 0:v.parameters)?n:"",C=null!=(i=null==v?void 0:v.anchor)?i:"";p[10]!==N||p[11]!==k||p[12]!==P||p[13]!==C?(u=(0,c.Rh)({path:k,params:P,anchor:C,locale:N}),p[10]=N,p[11]=k,p[12]=P,p[13]=C,p[14]=u):u=p[14];let T=u,q=(null==v?void 0:v.ariaLabel)||g,I=null==v?void 0:v.ariaTitle,D=(null==v?void 0:v.openInNewTab)?"_blank":"_self";return p[15]!==T||p[16]!==z||p[17]!==q||p[18]!==I||p[19]!==D?(x=(0,l.jsx)(f(),{href:T,className:"group block h-full no-underline","aria-label":q,title:I,target:D,children:z}),p[15]=T,p[16]=z,p[17]=q,p[18]=I,p[19]=D,p[20]=x):x=p[20],x}function v(e){var t;let n,h,g,f,y,v,j,w,N,_,S,z,k,P,C,T,q,I,D,M,L,B=(0,a.c)(75),{title:R,richText:V,eyebrow:A,eyebrowPosition:E,cardGroup:F,buttons:Z,disclaimers:$,sectionStyles:H,hasBorder:O,imageAsIcon:G,imageOnly:U,underline:Y,sectionParameters:W}=e;if(!F||!(null==(t=F.cards)?void 0:t.length))return null;let{cards:Q,columns:J,sectionStyles:K}=F;if(!Q||!Q.length)return null;B[0]!==H?(n=H||{},B[0]=H,B[1]=n):n=B[1];let{titleColor:X}=n,ee=null==W?void 0:W.sectionId;B[2]!==H?(h=(0,m.cn)("relative w-full py-12 lg:py-24",(0,c.aU)(H)),B[2]=H,B[3]=h):h=B[3],B[4]!==A||B[5]!==E?(g=(0,l.jsx)(o.R2,{position:E,children:A}),B[4]=A,B[5]=E,B[6]=g):g=B[6],B[7]!==U||B[8]!==R||B[9]!==X?(f=R&&"gradient"===X&&(0,l.jsx)(x.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:(0,m.cn)("max-w-[60rem] overflow-hidden px-8",U?"px-4 lg:px-16 xl:px-24":"mx-auto"),children:(0,l.jsx)(o.DZ,{className:(0,m.cn)("gradient-text m-0 uppercase",U?"text-left":"text-center"),children:R})}),B[7]=U,B[8]=R,B[9]=X,B[10]=f):f=B[10],B[11]!==U||B[12]!==R||B[13]!==X?(y=R&&"gradient"!==X&&(0,l.jsx)(o.DZ,{className:(0,m.cn)("max-w-[68rem] font-bold uppercase",U?"text-left":"mx-auto text-center"),children:(0,l.jsx)(u.default,{text:R,direction:"top",animateBy:"words",rootMargin:"-50px",className:U?"justify-start":"justify-center"})}),B[11]=U,B[12]=R,B[13]=X,B[14]=y):y=B[14],B[15]===Symbol.for("react.memo_cache_sentinel")?(j={opacity:.5,y:20},w={opacity:1,y:0},N={duration:1},v={once:!0},B[15]=v,B[16]=j,B[17]=w,B[18]=N):(v=B[15],j=B[16],w=B[17],N=B[18]),B[19]!==V?(_=(0,l.jsx)(x.P.div,{initial:j,whileInView:w,transition:N,viewport:v,children:(0,l.jsx)(o.hj,{richText:V,className:"pt-5"})}),B[19]=V,B[20]=_):_=B[20];let et="lg:grid-cols-"+J,en=R?"mt-14":"",el=U&&"px-4 lg:px-16 xl:px-24";if(B[21]!==et||B[22]!==en||B[23]!==el?(S=(0,m.cn)("hidden items-stretch gap-6 sm:grid md:grid-cols-2",et,en,el),B[21]=et,B[22]=en,B[23]=el,B[24]=S):S=B[24],B[25]!==K||B[26]!==Q||B[27]!==O||B[28]!==G||B[29]!==U||B[30]!==Y){let e;B[32]!==K||B[33]!==O||B[34]!==G||B[35]!==U||B[36]!==Y?(e=e=>U?(0,l.jsx)(b,{...e},e._id):(0,l.jsx)(p.S,{...e,underline:Y,hasBorder:O,imageAsIcon:G,sectionStyles:K},e._id),B[32]=K,B[33]=O,B[34]=G,B[35]=U,B[36]=Y,B[37]=e):e=B[37],z=Q.map(e),B[25]=K,B[26]=Q,B[27]=O,B[28]=G,B[29]=U,B[30]=Y,B[31]=z}else z=B[31];if(B[38]!==S||B[39]!==z?(k=(0,l.jsx)("div",{className:S,children:z}),B[38]=S,B[39]=z,B[40]=k):k=B[40],B[41]===Symbol.for("react.memo_cache_sentinel")?(P={loop:!0},B[41]=P):P=B[41],B[42]!==K||B[43]!==Q||B[44]!==O||B[45]!==G||B[46]!==U||B[47]!==Y){let e;B[49]!==K||B[50]!==O||B[51]!==G||B[52]!==U||B[53]!==Y?(e=(e,t)=>
1(0,l.jsx)(d.CarouselItem,{children:U?(0,l.jsx)(b,{...e,className:"w-full"}):(0,l.jsx)(p.S,{...e,sectionStyles:K,hasBorder:O,imageAsIcon:G,underline:Y,className:"w-full"})},e._id),B[49]=K,B[50]=O,B[51]=G,B[52]=U,B[53]=Y,B[54]=e):e=B[54],C=Q.map(e),B[42]=K,B[43]=Q,B[44]=O,B[45]=G,B[46]=U,B[47]=Y,B[48]=C}else C=B[48];return B[55]!==C?(T=(0,l.jsx)(d.CarouselContent,{children:C}),B[55]=C,B[56]=T):T=B[56],B[57]===Symbol.for("react.memo_cache_sentinel")?(q=(0,l.jsxs)("div",{className:"relative mt-10 flex justify-end",children:[(0,l.jsx)(d.CarouselPrevious,{}),(0,l.jsx)(d.CarouselNext,{})]}),B[57]=q):q=B[57],B[58]!==T?(I=(0,l.jsx)("div",{className:"mt-10 w-full sm:hidden","data-noindex":!0,children:(0,l.jsxs)(d.Carousel,{itemsMobile:1,itemsTablet:1,itemsDesktop:1,itemsLgDesktop:1,spacingMobile:"2",spacingTablet:"4",spacingDesktop:"6",spacingLgDesktop:"6",autoPlay:!0,dots:"always",align:"center",loop:!0,opts:P,arrowsPosition:"bottom",arrows:"always",children:[T,q]})}),B[58]=T,B[59]=I):I=B[59],B[60]!==Z||B[61]!==$?(D=($||Z)&&(0,l.jsxs)(x.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.5},viewport:{once:!0},className:"mx-auto mt-10 flex max-w-[55rem] flex-col justify-center gap-7 lg:mt-20",children:[(null==$?void 0:$.disclaimerTop)&&(0,l.jsx)("div",{className:"",children:(0,l.jsx)(s.s,{richText:$.disclaimerTop,className:"h3 text-center"})}),(0,l.jsx)(r.SanityButtons,{buttons:Z,className:"items-center justify-center"}),(null==$?void 0:$.disclaimerBottom)&&(0,l.jsx)("div",{className:"mb-8",children:(0,l.jsx)(s.s,{richText:$.disclaimerBottom,className:"h5 text-center"})})]}),B[60]=Z,B[61]=$,B[62]=D):D=B[62],B[63]!==_||B[64]!==k||B[65]!==I||B[66]!==D||B[67]!==g||B[68]!==f||B[69]!==y?(M=(0,l.jsxs)(i.m,{children:[g,f,y,_,k,I,D]}),B[63]=_,B[64]=k,B[65]=I,B[66]=D,B[67]=g,B[68]=f,B[69]=y,B[70]=M):M=B[70],B[71]!==ee||B[72]!==M||B[73]!==h?(L=(0,l.jsx)("section",{id:ee,className:h,children:M}),B[71]=ee,B[72]=M,B[73]=h,B[74]=L):L=B[74],L}},92306:(e,t,n)=>{n.d(t,{StickyBottomWrapper:()=>c});var l=n(58986),a=n(98572),i=n(70776),s=n(81736),r=n(94366),o=n(6050);function c(e){let{section1:t,section2:n}=e,c=(0,o.useRef)(null),d=(0,o.useRef)(null),u=(0,o.useRef)(null),[m,x]=(0,o.useState)(!1),[p,h]=(0,o.useState)(!1),[g,f]=(0,o.useState)(null),[y,b]=(0,o.useState)(0),[v,j]=(0,o.useState)(null),[w,N]=(0,o.useState)(0),[_,S]=(0,o.useState)(0),[z,k]=(0,o.useState)(null),[P,C]=(0,o.useState)(!1),T=(0,o.useRef)(!1),q=(0,o.useRef)(!1),I=(0,o.useRef)(null),D=(0,o.useRef)(!1),{scrollY:M}=(0,a.L)(),[,L]=(0,i.l)();return(0,o.useEffect)(()=>{if(!c.current||!P)return;let e=m||p?1-.7*_:1,t=m||p?1-.3*_:1;L(c.current,{opacity:e,scale:t},{duration:.1,ease:"linear"})},[_,m,p,P,L]),(0,o.useEffect)(()=>{if(!d.current)return;let e=new IntersectionObserver(e=>{var t;let[n]=e,l=null!=(t=null==n?void 0:n.isIntersecting)&&t;C(l),D.current=l},{threshold:0});return e.observe(d.current),()=>e.disconnect()},[]),(0,o.useEffect)(()=>{let e=()=>{c.current&&d.current&&(b(c.current.offsetHeight),m||j(d.current.getBoundingClientRect().top+window.scrollY))};e();let t=new ResizeObserver(e);return c.current&&t.observe(c.current),window.addEventListener("resize",e),()=>{t.disconnect(),window.removeEventListener("resize",e)}},[m]),(0,o.useEffect)(()=>{let e=()=>{if(T.current&&!D.current||!d.current||null===v||0===y||!D.current&&!T.current)return;let e=window.innerHeight,t=window.scrollY;if(y<e){q.current||(h(!0),q.current=!0,x(!1),T.current=!1,f(null),N(0),k(null),I.current=null,S(0));return}q.current&&(h(!1),q.current=!1,k(null),I.current=null,S(0));let n=v+y,l=t+e>=n+200&&t<n;if(l&&!T.current)f(e-y-200),x(!0),T.current=!0,N(0),k(t),I.current=t;else if(!l&&T.current&&D.current){let e=0;c.current&&(e=c.current.getBoundingClientRect().top);let n=null!==v?v-t:e;N(e-n),x(!1),T.current=!1,f(null),k(null),I.current=null,S(0),requestAnimationFrame(()=>{d.current&&j(d.current.getBoundingClientRect().top+t),requestAnimationFrame(()=>{N(0)})})}},t=()=>{requestAnimationFrame(e)};return e(),window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}},[v,y]),(0,s.L)(M,"change",e=>
1{if(T.current&&!D.current||!d.current||!c.current||null===v||0===y||!D.current&&!T.current)return;let t=window.innerHeight;if(q.current&&null===I.current&&d.current.getBoundingClientRect().top<=0&&(k(e),I.current=e),(T.current||q.current)&&null!==I.current&&S(Math.min(Math.max((e-I.current)/300,0),1)),y<t){q.current||(h(!0),q.current=!0,x(!1),T.current=!1,f(null),N(0),k(null),I.current=null,S(0));return}q.current&&(h(!1),q.current=!1,k(null),I.current=null,S(0));let n=v+y,l=e+t>=n+200&&e<n;if(l&&!T.current)f(t-y-200),x(!0),T.current=!0,N(0),k(e),I.current=e;else if(!l&&T.current&&D.current){let t=0;c.current&&(t=c.current.getBoundingClientRect().top);let n=null!==v?v-e:t;N(t-n),x(!1),T.current=!1,f(null),k(null),I.current=null,S(0),requestAnimationFrame(()=>{d.current&&j(d.current.getBoundingClientRect().top+e),requestAnimationFrame(()=>{N(0)})})}}),(0,l.jsxs)("div",{ref:d,className:"relative",children:[m&&!p&&(0,l.jsx)("div",{ref:u,style:{height:y},"aria-hidden":"true"}),(0,l.jsx)(r.P.div,{ref:c,className:"sticky-bottom",style:{position:m?"fixed":p?"sticky":"relative",top:m&&null!==g?"".concat(g,"px"):p?"0":"auto",left:m?0:"auto",right:m?0:"auto",width:m?"100%":"auto",zIndex:m||p?0:1},animate:{y:w},transition:{duration:.3,ease:"easeInOut"},children:t}),n]})}},93122:(e,t,n)=>{n.d(t,{Publication:()=>I});var l=n(58986),a=n(34978),i=n(93406),s=n(9211),r=n(77483),o=n(94366),c=n(6050),d=n(6746),u=n(12465);function m(e){let t,n,i,s,o,m,h,g,f,y,b,v,j,w,N,_=(0,a.c)(35),{setFilteredPublications:S,publications:z,title:k}=e,{t:P}=(0,u.Bd)();if(_[0]!==z[0]){var C;t=(null==z||null==(C=z[0])?void 0:C.date)?new Date(z[0].date).getFullYear().toString():void 0,_[0]=z[0],_[1]=t}else t=_[1];let[T,q]=(0,c.useState)(t);_[2]!==z?(n=new Set(z.map(p)),_[2]=z,_[3]=n):n=_[3],_[4]!==n?(i=[...n],_[4]=n,_[5]=i):i=_[5];let I=i;return _[6]!==z||_[7]!==T||_[8]!==S?(s=()=>{S(z.filter(e=>new Date(e.date).getFullYear().toString()===T))},_[6]=z,_[7]=T,_[8]=S,_[9]=s):s=_[9],_[10]!==T?(o=[T],_[10]=T,_[11]=o):o=_[11],(0,c.useEffect)(s,o),_[12]!==k?(m=(0,l.jsx)(r.DZ,{className:"mb-0 flex-1 text-3xl font-bold",children:k}),_[12]=k,_[13]=m):m=_[13],_[14]!==P?(h=P("sections.publication.selectYear"),_[14]=P,_[15]=h):h=_[15],_[16]!==h?(g=(0,l.jsx)("p",{className:"mb-0 shrink-0 grow-0 text-sm",children:h}),_[16]=h,_[17]=g):g=_[17],_[18]===Symbol.for("react.memo_cache_sentinel")?(f=e=>q(e),_[18]=f):f=_[18],_[19]!==P?(y=P("sections.publication.year"),_[19]=P,_[20]=y):y=_[20],_[21]!==y?(b=(0,l.jsx)(d.bq,{className:"ml-auto h-11 w-28 py-0 pr-1 lg:ml-0",children:(0,l.jsx)(d.yv,{placeholder:y})}),_[21]=y,_[22]=b):b=_[22],_[23]!==I?(v=(0,l.jsx)(d.gC,{children:I.map(x)}),_[23]=I,_[24]=v):v=_[24],_[25]!==T||_[26]!==b||_[27]!==v?(j=(0,l.jsxs)(d.l6,{value:T,onValueChange:f,children:[b,v]}),_[25]=T,_[26]=b,_[27]=v,_[28]=j):j=_[28],_[29]!==j||_[30]!==g?(w=(0,l.jsxs)("div",{className:"flex w-full flex-shrink-0 flex-row items-center justify-end gap-2 lg:w-auto",children:[g,j]}),_[29]=j,_[30]=g,_[31]=w):w=_[31],_[32]!==w||_[33]!==m?(N=(0,l.jsxs)("div",{className:"mb-8 flex flex-col items-start justify-between gap-4 border-b pb-5 lg:flex-row lg:gap-10",children:[m,w]}),_[32]=w,_[33]=m,_[34]=N):N=_[34],N}function x(e){return(0,l.jsx)(d.eb,{value:e,children:e},e)}function p(e){return new Date(e.date).getFullYear().toString()}var h=n(58730),g=n(33839),f=n(93809),y=n(56995),b=n.n(y);function v(e){let t,n,i,s=(0,a.c)(10),{title:r,file:o,date:c}=e;new Date(c).getFullYear().toString();let d=(0,h.a)(),{t:m}=(0,u.Bd)();return s[0]!==r?(t=(0,l.jsx)("p",{className:"border-border bg-background mb-0 w-full rounded-full border px-6 py-3 text-xs lg:text-base",children:r}),s[0]=r,s[1]=t):t=s[1],s[2]!==o||s[3]!==d||s[4]!==m||s[5]!==r?(n=o&&o.url&&(0,l.jsx)("div",{className:"border-border bg-accent/10 rounded-full border",children:(0,l.jsx)(b(),{title:m("sections.publication.download",{title:r}),href:(0,g.k)(o.url)||"",rel:"noopener noreferrer",className:"text-primary hover:text-primary/80 inline-flex items-center gap-2 px-2.5 py-2.5 font-bold no-underline transition-colors lg:px-16 lg:py-3",target:"_blank",children:d?(0,l.jsx)(f.A,{size:20}):m("sections.publication.view")})}),s[2]=o,s[3]=d,s[4]=m,s[5]=r,s[6]=n):n=s[6],s[7]!==t||s[8]!==n?(i=(0,l.jsxs)("div",{className:"flex w-full flex-row items-start justify-between gap-2 lg:gap-4",children:[t,n]}),s[7]=t,s[8]=n,s[9]=i):i=s[9],i}var j=n(96939);function w(e){let t,n,i=(0,a.c)(4),{nItems:s}=e,r=void 0===s?5:s;return i[0]!==r?(t=Array(r).fill(0).map(N),i[0]=r,i[1]=t):t=i[1],i[2]!==t?(n=(0,l.jsx)(l.Fragment,{children:t}),i[2]=t,i[3]=n):n=i[3],n}function N(e,t){return(0,l.jsxs)("div",{className:"flex w-full flex-row items-center justify-between gap-4 roun
1ded-lg border p-6",children:[(0,l.jsx)("div",{className:"flex flex-col gap-2",children:(0,l.jsx)(j.E,{className:"h-6 w-96"})}),(0,l.jsx)(j.E,{className:"h-6 w-24"})]},t)}function _(e){let t,n,i,s,r,d,u,x,p=(0,a.c)(14),{publications:h,title:g,sectionParameters:f}=e;p[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],p[0]=t):t=p[0];let[y,b]=(0,c.useState)(t),v=null==f?void 0:f.sectionId;return p[1]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:0,y:20},i={opacity:1,y:0},s={duration:1,delay:.3},r={once:!0,margin:"-100px 0px"},p[1]=n,p[2]=i,p[3]=s,p[4]=r):(n=p[1],i=p[2],s=p[3],r=p[4]),p[5]!==h||p[6]!==g?(d=(0,l.jsx)(o.P.div,{initial:n,whileInView:i,transition:s,viewport:r,className:"w-full",children:(0,l.jsx)(m,{publications:h,title:g,setFilteredPublications:b})}),p[5]=h,p[6]=g,p[7]=d):d=p[7],p[8]!==y?(u=(0,l.jsx)("div",{className:"flex flex-wrap gap-4",children:y.length>0?(0,l.jsx)(l.Fragment,{children:y.map(S)}):(0,l.jsx)(w,{})}),p[8]=y,p[9]=u):u=p[9],p[10]!==v||p[11]!==d||p[12]!==u?(x=(0,l.jsxs)("div",{id:v,className:"",children:[d,u]}),p[10]=v,p[11]=d,p[12]=u,p[13]=x):x=p[13],x}function S(e,t){return(0,l.jsx)(o.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.3*t},viewport:{once:!0,margin:"-100px 0px"},className:"w-full",children:(0,l.jsx)(v,{...e})},e._id)}var z=n(3682);function k(e){let t,n,i,s,o,m,x,p,h,g,f,y,b,v,j,w=(0,a.c)(35),{setFilteredPublications:N,publications:_,title:S}=e,{t:z}=(0,u.Bd)();if(w[0]!==_[0]){var k;t=(null==_||null==(k=_[0])?void 0:k.date)?new Date(_[0].date).getFullYear().toString():void 0,w[0]=_[0],w[1]=t}else t=w[1];let[T,q]=(0,c.useState)(t);w[2]!==_?(n=new Set(_.map(C)),w[2]=_,w[3]=n):n=w[3],w[4]!==n?(i=[...n],w[4]=n,w[5]=i):i=w[5];let I=i;return w[6]!==_||w[7]!==T||w[8]!==N?(s=()=>{N(_.filter(e=>new Date(e.date).getFullYear().toString()===T))},w[6]=_,w[7]=T,w[8]=N,w[9]=s):s=w[9],w[10]!==T?(o=[T],w[10]=T,w[11]=o):o=w[11],(0,c.useEffect)(s,o),w[12]!==S?(m=(0,l.jsx)(r.DZ,{className:"mb-0 text-xl font-bold",children:S}),w[12]=S,w[13]=m):m=w[13],w[14]!==z?(x=z("sections.publication.selectYear"),w[14]=z,w[15]=x):x=w[15],w[16]!==x?(p=(0,l.jsx)("p",{className:"mb-0 shrink-0 grow-0 text-sm",children:x}),w[16]=x,w[17]=p):p=w[17],w[18]===Symbol.for("react.memo_cache_sentinel")?(h=e=>q(e),w[18]=h):h=w[18],w[19]!==z?(g=z("sections.publication.year"),w[19]=z,w[20]=g):g=w[20],w[21]!==g?(f=(0,l.jsx)(d.bq,{className:"ml-auto h-11 w-28 py-0 pr-1 lg:ml-0",children:(0,l.jsx)(d.yv,{placeholder:g})}),w[21]=g,w[22]=f):f=w[22],w[23]!==I?(y=(0,l.jsx)(d.gC,{position:"popper",children:I.map(P)}),w[23]=I,w[24]=y):y=w[24],w[25]!==T||w[26]!==f||w[27]!==y?(b=(0,l.jsxs)(d.l6,{value:T,onValueChange:h,children:[f,y]}),w[25]=T,w[26]=f,w[27]=y,w[28]=b):b=w[28],w[29]!==b||w[30]!==p?(v=(0,l.jsxs)("div",{className:"flex w-full flex-row items-center justify-end gap-2 lg:w-auto",children:[p,b]}),w[29]=b,w[30]=p,w[31]=v):v=w[31],w[32]!==v||w[33]!==m?(j=(0,l.jsxs)("div",{className:"mb-4 flex flex-col items-start justify-between gap-4 lg:flex-row lg:gap-10",children:[m,v]}),w[32]=v,w[33]=m,w[34]=j):j=w[34],j}function P(e){return(0,l.jsx)(d.eb,{value:e,children:e},e)}function C(e){return new Date(e.date).getFullYear().toString()}function T(e){let t,n,i,s=(0,a.c)(10),{title:r,file:o,date:c}=e;new Date(c).getFullYear().toString();let d=(0,h.a)(),{t:m}=(0,u.Bd)();return s[0]!==r?(t=(0,l.jsx)("p",{className:"border-border bg-background mb-0 w-full rounded-full border px-6 py-3 text-xs lg:text-base",children:r}),s[0]=r,s[1]=t):t=s[1],s[2]!==o||s[3]!==d||s[4]!==m||s[5]!==r?(n=o&&o.url&&(0,l.jsx)("div",{className:"border-border bg-accent/10 rounded-full border",children:(0,l.jsx)("a",{title:m("sections.publication.download",{title:r}),href:(0,g.k)(o.url)||"",rel:"noopener noreferrer",className:"text-primary hover:text-primary/80 inline-flex items-center gap-2 px-2.5 py-2.5 font-bold no-underline transition-colors lg:px-16 lg:py-3",target:"_blank",children:d?(0,l.jsx)(f.A,{size:20}):m("sections.publication.view")})}),s[2]=o,s[3]=d,s[4]=m,s[5]=r,s[6]=n):n=s[6],s[7]!==t||s[8]!==n?(i=(0,l.jsxs)("div",{className:"flex w-full flex-row items-start justify-between gap-2 lg:gap-4",children:[t,n]}),s[7]=t,s[8]=n,s[9]=i):i=s[9],i}function q(e){let{groups:t,title:n}=e;return(0,l.jsxs)("div",{className:"",children:[(0,l.jsx)(r.DZ,{className:"text-3xl font-bold",children:(0,l.jsx)(z.default,{direction:"top",animateBy:"words",rootMargin:"50px",text:n})}),t.map(e=>{let[t,n]=(0,c.useState)([]);return(0,l.jsxs)("div",{className:"mt-8 border-t pt-5",children:[(0,l.jsx)(o.P.div,{initial:{opacity:0,y:5},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.3},viewport:{once:!0,margin:"-100px 0px"},className:"w-full",children:(0,l.jsx)(k,{publications:e.publications,title:e.title,setFilteredPublications:n})}),(0,l.jsx)("div",{className:"flex flex-wrap gap-4",children:t.length>0?(0,l.jsx)(l.Fragment,{children:t.map((e,t)=>(0,l.jsx)(o.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.3*t},viewport:{once:!0,margin:"-100px 0px"},className:"w-full",children:(0,l.jsx)(T,{...e})},e._id))}):(0,l.jsx)(w,{})})]},e._id)})]})}function I(e){let t,n,c,d,u,m,x,p,h,g,f,y,b,v,j,w,N=(0,a.c)(30),{publications:S,eyebrow:z,eyebrowPosition:k,title:P,richText:C,buttons:T}=e;if(!S||!S.length)return null;let I=S.some(D);N[0]===Symbol.for("react.memo_cache_sentinel")?(t=function(e){let{group:t}=e;return t.related?(0,l.jsx)(q,{groups:t.related,title:t.title}):(0,l.jsx)(_,{publications:t.publications,title:t.title})},N[0]=t):t=N[0];let M=t,L="relative w-full ".concat(I?"pb-12 lg:pb-24":"pb-12 pt-12 lg:pb-24 lg:pt-24");if(N[1]!==z||N[2]!==k?(n=(0,l.jsx)(r.R2,{position:k,children:z}),N[1]=z,N[2]=k,N[3]=n):n=N[3],N[4]===Symbol.for("react.memo_cache_sentinel")?(c={opacity:.5,y:20,filter:"blur(1rem)"},d={opacity:1,y:0,filter:"blur(0rem)"},u={duration:1},m={once:!0,margin:"-100px 0px"},N[4]=c,N[5]=d,N[6]=u,N[7]=m):(c=N[4],d=N[5],u=N[6],m=N[7]),N[8]!==P?(x=(0,l.jsx)(o.P.div,{initial:c,whileInView:d,transition:u,viewport:m,children:(0,l.jsx)(r.DZ,{className:"gradient-text mx-auto max-w-3xl text-center uppercase",children:P})}),N[8]=P,N[9]=x):x=N[9],N[10]===Symbol.for("react.memo_cache_sentinel")?(f={opacity:0,y:20},p={opacity:1,y:0},h={duration:1,delay:.3},g={once:!0,margin:"-100px 0px"},N[10]=p,N[11]=h,N[12]=g,N[13]=f):(p=N[10],h=N[11],g=N[12],f=N[13]),N[14]!==C?(y=(0,l.jsx)(o.P.div,{initial:f,whileInView:p,transition:h,viewport:g,children:(0,l.jsx)(r.hj,{richText:C,className:"mx-auto max-w-3xl text-center"})}),N[14]=C,N[15]=y):y=N[15],N[16]!==S){let e;N[18]===Symbol.for("react.memo_cache_sentinel")?(e=e=>(0,l.jsx)("div",{className:"rounded-4xl even:bg-card mt-8 px-4 py-8 odd:bg-[#f9f9f9] lg:px-20",children:M({group:e})},e._id),N[18]=e):e=N[18],b=S.map(e),N[16]=S,N[17]=b}else b=N[17];return N[19]!==T?(v=T&&(0,l.jsx)(o.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.7},viewport:{once:!0,margin:"-100px 0px"},className:"mt-8 flex flex-wrap gap-4",children:(0,l.jsx)(s.SanityButtons,{buttons:T})}),N[19]=T,N[20]=v):v=N[20],N[21]!==y||N[22]!==b||N[23]!==v||N[24]!==n||N[25]!==x?(j=(0,l.jsxs)(i.m,{children:[n,x,y,b,v]}),N[21]=y,N[22]=b,N[23]=v,N[24]=n,N[25]=x,N[26]=j):j=N[26],N[27]!==j||N[28]!==L?(w=(0,l.jsx)("section",{className:L,children:j}),N[27]=j,N[28]=L,N[29]=w):w=N[29],w}function D(e){return e.related}},93265:(e,t,n)=>{n.d(t,{CtaOverlap:()=>m});var l=n(58986),a=n(34978),i=n(18934),s=n(9211),r=n(34703),o=n(77483),c=n(3682),d=n(94366),u=n(6050);function m(e){let t,n,m,x,p,h,g,f,y,b,v,j,w,N=(0,a.c)(27),{title:_,richText:S,buttons:z,image:k,sectionParameters:P}=e,[C,T]=(0,u.useState)(!1);N[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{T(!0)},N[0]=t):t=N[0];let q=t,I=null==P?void 0:P.sectionId;return N[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,l.jsx)("div",{className:"rounded-4xl absolute left-6 top-12 h-[calc(100%-6rem)] w-[calc(100%-3rem)] bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] bg-cover bg-center lg:left-12 lg:top-24 lg:h-[calc(100%-12rem)] lg:w-[calc(100%-6rem)] 2xl:left-24 2xl:w-[calc(100%-12rem)]"}),N[1]=n):n=N[1],N[2]!==_?(m=(0,l.jsx)(o.DZ,{className:"h3 text-center font-bold uppercase sm:text-left",children:(0,l.jsx)(c.default,{text:_,animateBy:"words",direction:"top",onAnimationComplete:q,rootMargin:"-100px",className:"justify-center sm:justify-start"})}),N[2]=_,N[3]=m):m=N[3],N[4]===Symbol.for("react.memo_cache_sentinel")?(x={opacity:0,y:20},N[4]=x):x=N[4],N[5]!==C?(p=C?{opacity:1,y:0}:{opacity:0,y:20},N[5]=C,N[6]=p):p=N[6],N[7]===Symbol.for("react.memo_cache_sentinel")?(h={duration:1.3},N[7]=h):h=N[7],N[8]!==S?(g=(0,l.jsx)(i.s,{richText:S,className:""}),N[8]=S,N[9]=g):g=N[9],N[10]!==p||N[11]!==g?(f=(0,l.jsx)(d.P.div,{initial:x,animate:p,transition:h,className:"max-w-[30rem] text-center text-lg sm:text-left lg:text-xl",children:g}),N[10]=p,N[11]=g,N[12]=f):f=N[12],N[13]!==z?(y=z&&(0,l.jsx)(s.SanityButtons,{buttons:z,delay:2,buttonClassName:"w-auto",className:"grid w-full items-center justify-center gap-2 sm:justify-start lg:pt-12"}),N[13]=z,N[14]=y):y=N[14],N[15]!==y||N[16]!==m||N[17]!==f?(b=(0,l.jsxs)("div",{className:"px-6 py-12 md:py-14 md:pl-14 md:pr-0",children:[m,f,y]}),N[15]=y,N[16]=m,N[17]=f,N[18]=b):b=N[18],N[19]!==k?(v=k&&(0,l.jsx)("div",{className:"relative aspect-square w-full sm:absolute sm:right-0 sm:top-0 sm:aspect-auto sm:h-full sm:w-1/2",children:(0,l.jsx)(r.s,{image:k,fill:!0,className:"object-contain object-center",quality:100,sizes:"100vw"})}),N[19]=k,N[20]=v):v=N[20],N[21]!==b||N[22]!==v?(j=(0,l.jsxs)("div",{className:"relative mx-auto grid min-h-[25rem] w-full max-w-[55rem] overflow-hidden py-12 sm:grid-cols-2 lg:max-w-[81.25rem] lg:py-24",children:[b,v]}),N[21]=b,N[22]=v,N[23]=j):j=N[23],N[24]!==j||N[25]!==I?(w=(0,l.jsxs)("div",{id:I,className:"relative w-full overflow-x-hidden px-6 lg:px-12 2xl:px-24",children:[n,j]}),N[24]=j,N[25]=I,N[26]=w):w=N[26],w}},93406:(e,t,n)=>{n.d(t,{m:()=>s});var l=n(58986),a=n(34978),i=n(67928);function s(e){let t,n,s=(0,a.c)(5),{className:r,children:o}=e;return s[0]!==r?(t=(0,i.cn)("mx-auto max-w-[84.25rem] px-4 lg:px-6",r),s[0]=r,s[1]=t):t=s[1],s[2]!==o||s[3]!==t?(n=(0,l.jsx)("div",{className:t,children:o}),s[2]=o,s[3]=t,s[4]=n):n=s[4],n}n(6050)},94818:(e,t,n)=>{n.d(t,{default:()=>x});var l=n(58986),a=n(34978),i=n(9211),s=n(77483),r=n(94103),o=n(38280),c=n(67928),d=n(94366);function u(e){let t,n,r,o,d,u,x,p,h=(0,a.c)(22),{card:g,featured:f,bgColor:y}=e,b="bg-background text-foreground"===y?"bg-card":"bg-background",v=f&&"bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)]";
1return h[0]!==b||h[1]!==v?(t=(0,c.cn)("border-border flex h-full flex-col rounded-3xl border bg-cover bg-center px-6 py-8 transition-all duration-300 hover:bg-[url(/imagens/60e6a7ba32515e5007d74e9849666060c7b80e9c-1440x960.jpg)] hover:shadow-[0_1px_7px_0_rgba(0,0,0,0.6)] lg:px-8 lg:py-10",b,v),h[0]=b,h[1]=v,h[2]=t):t=h[2],h[3]!==g.title?(n=g.title&&(0,l.jsx)(s.DZ,{as:"h3",className:"h4 m-0 font-bold",children:g.title}),h[3]=g.title,h[4]=n):n=h[4],h[5]!==g.subtitle?(r=g.subtitle&&(0,l.jsx)("p",{className:"text-foreground text-sm lg:text-base",children:g.subtitle}),h[5]=g.subtitle,h[6]=r):r=h[6],h[7]!==n||h[8]!==r?(o=(0,l.jsxs)("div",{className:"mb-6 space-y-2 text-center",children:[n,r]}),h[7]=n,h[8]=r,h[9]=o):o=h[9],h[10]!==g.description?(d=g.description&&(0,l.jsx)("p",{className:"mb-5 text-sm",children:g.description}),h[10]=g.description,h[11]=d):d=h[11],h[12]!==g.items?(u=g.items&&g.items.length>0&&(0,l.jsx)("ul",{className:"mb-8 list-disc space-y-2 pl-5 text-sm",children:g.items.map(m)}),h[12]=g.items,h[13]=u):u=h[13],h[14]!==g.buttons?(x=g.buttons&&g.buttons.length>0&&(0,l.jsx)("div",{className:"mt-auto flex justify-center pt-4",children:(0,l.jsx)(i.SanityButtons,{buttons:g.buttons,className:"items-center justify-center",showButton:"always"})}),h[14]=g.buttons,h[15]=x):x=h[15],h[16]!==t||h[17]!==o||h[18]!==d||h[19]!==u||h[20]!==x?(p=(0,l.jsxs)("article",{className:t,children:[o,d,u,x]}),h[16]=t,h[17]=o,h[18]=d,h[19]=u,h[20]=x,h[21]=p):p=h[21],p}function m(e){return(null==e?void 0:e.text)?(0,l.jsx)("li",{children:e.text},e._key):null}function x(e){let t,n,i,m,x,p,h,g,f=(0,a.c)(42),{title:y,richText:b,eyebrow:v,eyebrowPosition:j,tableData:w,sectionParameters:N,sectionStyles:_}=e;if(f[0]!==v||f[1]!==j||f[2]!==b||f[3]!==(null==N?void 0:N.sectionId)||f[4]!==_||f[5]!==w||f[6]!==y){var S;let e,a,h,g,z,k,P,C,T,q,I=null!=(S=null==w?void 0:w.filter(Boolean))?S:[];x=null==N?void 0:N.sectionId,f[13]!==_?(p=(0,c.cn)("relative w-full overflow-x-clip py-12 lg:py-24",(0,r.aU)(_)),f[13]=_,f[14]=p):p=f[14],t="relative mx-auto w-full max-w-[90rem] px-6 lg:px-12 2xl:px-24";let D=null!=j?j:void 0;f[15]!==v||f[16]!==D?(n=(0,l.jsx)(s.R2,{position:D,theme:"gradient",children:v}),f[15]=v,f[16]=D,f[17]=n):n=f[17],f[18]===Symbol.for("react.memo_cache_sentinel")?(h={opacity:.5,y:20,filter:"blur(0.5rem)"},g={opacity:1,y:0,filter:"blur(0rem)"},e={duration:1},a={once:!0},f[18]=e,f[19]=a,f[20]=h,f[21]=g):(e=f[18],a=f[19],h=f[20],g=f[21]),f[22]!==y?(z=(0,l.jsx)(d.P.div,{initial:h,whileInView:g,transition:e,viewport:a,className:"overflow-hidden",children:(0,l.jsx)(s.DZ,{className:"gradient-text m-0 text-center uppercase",children:y})}),f[22]=y,f[23]=z):z=f[23],f[24]===Symbol.for("react.memo_cache_sentinel")?(k={opacity:.5,y:20},P={opacity:1,y:0},C={duration:.8,delay:.5},T={once:!0},f[24]=k,f[25]=P,f[26]=C,f[27]=T):(k=f[24],P=f[25],C=f[26],T=f[27]),f[28]!==b?(q=(0,l.jsx)(d.P.div,{initial:k,whileInView:P,transition:C,viewport:T,children:(0,l.jsx)(s.hj,{richText:b,className:"text-lg lg:text-xl"})}),f[28]=b,f[29]=q):q=f[29],f[30]!==z||f[31]!==q?(i=(0,l.jsxs)("div",{className:"mx-auto space-y-6 overflow-hidden lg:space-y-9",children:[z,q]}),f[30]=z,f[31]=q,f[32]=i):i=f[32],m=I.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:(0,c.cn)("mt-10 hidden items-stretch justify-center gap-6 lg:mt-14 lg:flex",I.length>3&&"lg:hidden"),children:I.map((e,t)=>(0,l.jsx)("div",{className:"basis-1/3",children:(0,l.jsx)(u,{card:e,bgColor:(0,r.aU)(_)},e._key)},e._key))}),(0,l.jsx)("div",{className:(0,c.cn)("mt-10 w-full",I.length<=3&&"lg:hidden"),"data-noindex":!0,children:(0,l.jsxs)(o.Carousel,{autoPlay:!1,dots:"always",align:"start",arrowsPosition:"bottom",arrows:"always",overflow:"visible",spacing:"5",children:[(0,l.jsx)(o.CarouselContent,{children:I.map((e,t)=>(0,l.jsx)(o.CarouselItem,{className:"w-full max-w-[80%] sm:max-w-[21rem] md:max-w-[23rem] lg:max-w-[25rem]",children:(0,l.jsx)(u,{card:e,bgColor:(0,r.aU)(_)})},e._key))}),(0,l.jsxs)("div",{className:"relative mt-10 flex justify-end",children:[(0,l.jsx)(o.CarouselPrevious,{}),(0,l.jsx)(o.CarouselNext,{})]})]})})]}),f[0]=v,f[1]=j,f[2]=b,f[3]=null==N?void 0:N.sectionId,f[4]=_,f[5]=w,f[6]=y,f[7]=t,f[8]=n,f[9]=i,f[10]=m,f[11]=x,f[12]=p}else t=f[7],n=f[8],i=f[9],m=f[10],x=f[11],p=f[12];return f[33]!==t||f[34]!==n||f[35]!==i||f[36]!==m?(h=(0,l.jsxs)("div",{className:t,children:[n,i,m]}),f[33]=t,f[34]=n,f[35]=i,f[36]=m,f[37]=h):h=f[37],f[38]!==x||f[39]!==p||f[40]!==h?(g=(0,l.jsx)("section",{id:x,className:p,children:h}),f[38]=x,f[39]=p,f[40]=h,f[41]=g):g=f[41],g}},95317:(e,t,n)=>{n.d(t,{default:()=>u});var l=n(58986),a=n(34978),i=n(34703),s=n(77483),r=n(56995),o=n.n(r),c=n(6050),d=n(12465);function u(e){let t,n,r,u,m,x,p,h,g,f,y,b,v=(0,a.c)(38),{_id:j,title:w,image:N,address:_,postalCode:S,municipality:z,country:k,phoneNumbers:P,emails:C,googleMapsUrl:T}=e,{t:q}=(0,d.Bd)();
1v[0]!==_?(t=(0,l.jsx)("span",{children:_}),v[0]=_,v[1]=t):t=v[1],v[2]!==z||v[3]!==S?(n=(0,l.jsxs)("span",{children:[S," ",z]}),v[2]=z,v[3]=S,v[4]=n):n=v[4],v[5]!==k?(r=(0,l.jsx)("span",{children:k}),v[5]=k,v[6]=r):r=v[6],v[7]!==t||v[8]!==n||v[9]!==r?(u=(0,l.jsxs)("div",{className:"flex flex-col gap-1 text-base",children:[t,n,r]}),v[7]=t,v[8]=n,v[9]=r,v[10]=u):u=v[10],v[11]!==j||v[12]!==P||v[13]!==q?(m=P&&P.length>0&&(0,l.jsx)("div",{className:"",children:(0,l.jsx)("div",{className:"text-sm leading-3",children:P.map(e=>(0,l.jsxs)(c.Fragment,{children:[(0,l.jsx)("p",{className:"mb-1 font-bold",children:q("sections.locations.phone")}),(0,l.jsx)("p",{className:"mb-3 text-lg",children:e},e),(0,l.jsx)("p",{className:"text-xs",children:q("sections.locations.callCost")})]},j+e))})}),v[11]=j,v[12]=P,v[13]=q,v[14]=m):m=v[14],v[15]!==C?(x=C&&C.length>0&&(0,l.jsx)("div",{className:"flex items-start gap-2",children:(0,l.jsx)("div",{className:"text-sm",children:(0,l.jsx)("a",{href:"mailto:".concat(C),className:"text-primary hover:underline",children:C})})}),v[15]=C,v[16]=x):x=v[16],v[17]!==u||v[18]!==m||v[19]!==x?(p=(0,l.jsxs)("div",{className:"flex flex-col gap-8 text-center sm:text-start",children:[u,m,x]}),v[17]=u,v[18]=m,v[19]=x,v[20]=p):p=v[20];let I=p;return v[21]!==w?(h=(0,l.jsx)(s.DZ,{as:"h3",className:"gradient-text mb-4 text-xl font-bold uppercase",children:w}),v[21]=w,v[22]=h):h=v[22],v[23]!==T||v[24]!==N?(g=N&&(0,l.jsx)("div",{className:"rounded-4xl relative mt-4 aspect-[14/11] w-full overflow-hidden",children:T?(0,l.jsx)(o(),{href:T,target:"_blank",rel:"noopener noreferrer",className:"block h-full w-full",children:(0,l.jsx)(i.s,{image:N,className:"rounded-4xl h-full w-full object-cover object-center transition-transform hover:scale-105",fill:!0,sizes:"100vw",quality:100})}):(0,l.jsx)(i.s,{image:N,className:"rounded-4xl h-full w-full object-cover object-center",fill:!0,sizes:"100vw",quality:100})}),v[23]=T,v[24]=N,v[25]=g):g=v[25],v[26]!==I||v[27]!==h||v[28]!==g?(f=(0,l.jsxs)("div",{className:"block sm:hidden","data-noindex":!0,children:[h,I,g]}),v[26]=I,v[27]=h,v[28]=g,v[29]=f):f=v[29],v[30]!==I||v[31]!==T||v[32]!==N||v[33]!==w?(y=(0,l.jsx)("div",{className:"rounded-4xl hidden h-full text-start sm:block",children:N?(0,l.jsxs)("div",{className:"rounded-4xl relative h-[34rem] overflow-hidden",children:[T?(0,l.jsx)(o(),{href:T,target:"_blank",rel:"noopener noreferrer",className:"block",children:(0,l.jsx)(i.s,{image:N,className:"w-full object-cover object-center transition-transform hover:scale-105",fill:!0,sizes:"100vw",quality:100})}):(0,l.jsx)(i.s,{image:N,className:"w-full object-cover object-center",fill:!0,sizes:"100vw",quality:100}),(0,l.jsx)("div",{className:"rounded-4xl absolute inset-0 p-6",children:(0,l.jsx)("div",{className:"flex h-full items-end",children:(0,l.jsxs)("div",{className:"rounded-4xl h-full max-w-[25rem] bg-white/80 p-8 text-left backdrop-blur-sm",children:[(0,l.jsx)(s.DZ,{as:"h3",className:"gradient-text h4 mb-4 text-left font-bold uppercase",children:w}),I]})})})]}):I}),v[30]=I,v[31]=T,v[32]=N,v[33]=w,v[34]=y):y=v[34],v[35]!==f||v[36]!==y?(b=(0,l.jsxs)("div",{className:"",children:[f,y]}),v[35]=f,v[36]=y,v[37]=b):b=v[37],b}},96313:(e,t,n)=>{n.d(t,{FeaturesDefault:()=>b});var l=n(58986),a=n(34978),i=n(93406),s=n(77483),r=n(94103),o=n(3682),c=n(67928),d=n(94366),u=n(18934),m=n(9211),x=n(34703),p=n(31368),h=n(48906),g=n(6050),f=n(12465);function y(e){var t;let n,i,r,o,y,b,v,j,w,N,_,S,z,k,P,C,T,q=(0,a.c)(42),{feature:I,invertImagePosition:D,className:M,smallTitle:L,id:B}=e,R=void 0===M?"":M,V=void 0!==L&&L,{t:A}=(0,f.Bd)(),[E,F]=(0,g.useState)(0);q[0]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{F(e)},q[0]=n):n=q[0];let Z=n,$=null==(t=I.items)?void 0:t[E];q[1]!==R?(i=(0,c.cn)("bg-card grid items-stretch overflow-hidden rounded-3xl md:grid-cols-2",R),q[1]=R,q[2]=i):i=q[2];let H=D?"md:order-2":"md:order-1";q[3]!==H?(r=(0,c.cn)("order-2 space-y-4 p-8 md:px-12 md:py-16 lg:p-16",H),q[3]=H,q[4]=r):r=q[4],q[5]===Symbol.for("react.memo_cache_sentinel")?(y={opacity:.5,y:20,filter:"blur(0.5rem)"},b={opacity:1,y:0,filter:"blur(0rem)"},v={duration:1},o={once:!0},q[5]=o,q[6]=y,q[7]=b,q[8]=v):(o=q[5],y=q[6],b=q[7],v=q[8]);let O=V?"h3 font-bold":"gradient-text";q[9]!==O?(j=(0,c.cn)("m-0 text-left",O),q[9]=O,q[10]=j):j=q[10],q[11]!==I.title||q[12]!==D||q[13]!==j?(w=(0,l.jsx)(d.P.div,{initial:y,whileInView:b,transition:v,viewport:o,className:"mb-7 lg:mb-9",children:(0,l.jsxs)(s.DZ,{className:j,children:[I.title," ",D]})}),q[11]=I.title,q[12]=D,q[13]=j,q[14]=w):w=q[14],q[15]!==E||q[16]!==I._id||q[17]!==I.items||q[18]!==V?(N=I.items&&I.items.map((e,t)=>(0,l.jsxs)(d.P.div,{initial:{opacity:0}
1,whileInView:{opacity:1},transition:{duration:.5,delay:.2*t,ease:"easeInOut"},viewport:{once:!0},className:"border-b last:border-b-0",children:[(0,l.jsx)(d.P.button,{onClick:()=>Z(t),className:(0,c.cn)("w-full py-8 text-left transition-colors"),children:(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)("h4",{className:(0,c.cn)("m-0 font-bold",V?"h5":""),children:e.title}),(0,l.jsx)("div",{className:(0,c.cn)("transition-opacity duration-300",E===t&&"invisible"),children:(0,l.jsx)(h.A,{className:"text-primary h-5 w-5 animate-bounce"})})]})}),e.richText&&(0,l.jsx)(d.P.div,{initial:{maxHeight:0},animate:{height:E===t?"auto":0,maxHeight:E===t?"2000px":0},transition:{duration:0,ease:[.25,.46,.45,.94]},children:(0,l.jsxs)(d.P.div,{animate:{opacity:+(E===t)},transition:{duration:.3,ease:[.25,.46,.45,.94],delay:.1*(E===t)},className:E===t?"pb-8":"",children:[(0,l.jsx)(u.s,{richText:e.richText,className:"max-w-[26rem] text-base"}),e.buttons&&e.buttons.length>0&&(0,l.jsx)(m.SanityButtons,{buttons:e.buttons,className:"pt-8"})]})})]},"".concat(I._id,"-item-").concat(t))),q[15]=E,q[16]=I._id,q[17]=I.items,q[18]=V,q[19]=N):N=q[19],q[20]!==N?(_=(0,l.jsx)(d.P.div,{className:"",children:N}),q[20]=N,q[21]=_):_=q[21],q[22]!==w||q[23]!==_||q[24]!==r?(S=(0,l.jsxs)("div",{className:r,children:[w,_]}),q[22]=w,q[23]=_,q[24]=r,q[25]=S):S=q[25];let G=D?"md:order-1":"md:order-2";return q[26]!==G?(z=(0,c.cn)("relative order-1 h-full",G),q[26]=G,q[27]=z):z=q[27],q[28]===Symbol.for("react.memo_cache_sentinel")?(k=(0,l.jsx)("div",{className:"aspect-[7/4] w-full md:aspect-auto md:h-full"}),q[28]=k):k=q[28],q[29]!==$||q[30]!==E||q[31]!==I._id||q[32]!==A?(P=(0,l.jsx)(p.N,{children:$?(0,l.jsx)(d.P.div,{initial:{opacity:0}
1,animate:{opacity:1,transition:{duration:.5,ease:[.25,.46,.45,.94]}},exit:{opacity:0,transition:{duration:.5,ease:[.25,.46,.45,.94]}},className:"absolute inset-0 overflow-hidden",children:$.image&&(0,l.jsx)(x.s,{image:$.image,fill:!0,className:"object-cover object-center",sizes:"(max-width: 1024px) 100vw, 50vw"})},"".concat(I._id,"-image-").concat(E)):(0,l.jsx)(d.P.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.3},className:"flex h-64 items-center justify-center rounded-lg",children:(0,l.jsx)("p",{children:A("sections.features.selectItem")})})}),q[29]=$,q[30]=E,q[31]=I._id,q[32]=A,q[33]=P):P=q[33],q[34]!==z||q[35]!==P?(C=(0,l.jsxs)("div",{className:z,children:[k,P]}),q[34]=z,q[35]=P,q[36]=C):C=q[36],q[37]!==B||q[38]!==S||q[39]!==C||q[40]!==i?(T=(0,l.jsx)(p.N,{children:(0,l.jsxs)("div",{id:B,className:i,children:[S,C]})}),q[37]=B,q[38]=S,q[39]=C,q[40]=i,q[41]=T):T=q[41],T}function b(e){let t,n,u,m,x,p,h,g,f,b,v,j,w,N,_=(0,a.c)(39),{title:S,description:z,eyebrow:k,eyebrowPosition:P,features:C,sectionStyles:T,sectionParameters:q,invertImagePosition:I,smallTitle:D,className:M,simple:L}=e,B=void 0===I||I,R=void 0!==D&&D,V=void 0===M?"":M,A=void 0!==L&&L;if(!C)return null;_[0]!==T?(t=T||{},_[0]=T,_[1]=t):t=_[1];let{background:E,titleColor:F}=t,Z=null==q?void 0:q.sectionId,$=!A&&"lg:py-24";_[2]!==T||_[3]!==$?(n=(0,c.cn)("relative py-12",$,(0,r.aU)(T)),_[2]=T,_[3]=$,_[4]=n):n=_[4];let H=A&&"px-0 lg:px-0";return _[5]!==H?(u=(0,c.cn)(H),_[5]=H,_[6]=u):u=_[6],_[7]!==k||_[8]!==P?(m=(0,l.jsx)(s.R2,{position:P,children:k}),_[7]=k,_[8]=P,_[9]=m):m=_[9],_[10]!==S||_[11]!==F?(x=S&&"gradient"===F&&(0,l.jsx)(d.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:"mx-auto max-w-[60rem] overflow-hidden px-8",children:(0,l.jsx)(s.DZ,{className:"gradient-text m-0 text-center uppercase",children:S})}),_[10]=S,_[11]=F,_[12]=x):x=_[12],_[13]!==S||_[14]!==F?(p=S&&"gradient"!==F&&(0,l.jsx)(s.DZ,{className:"mx-auto max-w-[68rem] text-center font-bold uppercase",children:(0,l.jsx)(o.default,{text:S,direction:"top",animateBy:"words",rootMargin:"-50px",className:"justify-center"})}),_[13]=S,_[14]=F,_[15]=p):p=_[15],_[16]===Symbol.for("react.memo_cache_sentinel")?(h={opacity:.5,y:20},g={opacity:1,y:0},f={duration:1},b={once:!0},_[16]=h,_[17]=g,_[18]=f,_[19]=b):(h=_[16],g=_[17],f=_[18],b=_[19]),_[20]!==z?(v=(0,l.jsx)(d.P.div,{initial:h,whileInView:g,transition:f,viewport:b,children:(0,l.jsx)(s.hj,{richText:z,className:"pt-8 text-lg lg:text-xl"})}),_[20]=z,_[21]=v):v=_[21],_[22]!==E||_[23]!==V||_[24]!==C||_[25]!==B||_[26]!==R?(j=(null==C?void 0:C.length)&&(0,l.jsx)("div",{className:"mt-12 space-y-12",children:C.map((e,t)=>(0,l.jsx)(y,{id:null==e?void 0:e.featureAnchorId,feature:e,invertImagePosition:t%2!=0&&B,className:(0,c.cn)(V,"white"!=E&&"bg-background"),smallTitle:R},"feature-".concat(t,"-").concat(e._id)))}),_[22]=E,_[23]=V,_[24]=C,_[25]=B,_[26]=R,_[27]=j):j=_[27],_[28]!==u||_[29]!==m||_[30]!==x||_[31]!==p||_[32]!==v||_[33]!==j?(w=(0,l.jsxs)(i.m,{className:u,children:[m,x,p,v,j]}),_[28]=u,_[29]=m,_[30]=x,_[31]=p,_[32]=v,_[33]=j,_[34]=w):w=_[34],_[35]!==w||_[36]!==Z||_[37]!==n?(N=(0,l.jsx)("div",{id:Z,className:n,children:w}),_[35]=w,_[36]=Z,_[37]=n,_[38]=N):N=_[38],N}},96761:(e,t,n)=>{n.d(t,{ContentDefault:()=>m});var l=n(58986),a=n(34978),i=n(93406),s=n(9211),r=n(77483),o=n(94103),c=n(3682),d=n(67928),u=n(94366);function m(e){let t,n,m,x,p,h,g,f=(0,a.c)(21),{title:y,richText:b,eyebrow:v,eyebrowPosition:j,sectionStyles:w,buttons:N,sectionParameters:_}=e;if(!b&&!y)return null;let{titleColor:S}=w||{},z="gradient"===S,k=null==_?void 0:_.sectionId;return f[0]!==w?(t=(0,d.cn)("relative w-full py-12 lg:py-24",(0,o.aU)(w)),f[0]=w,f[1]=t):t=f[1],f[2]!==v||f[3]!==j?(n=(0,l.jsx)(r.R2,{position:j,children:v}),f[2]=v,f[3]=j,f[4]=n):n=f[4],f[5]!==z||f[6]!==y?(m=z?(0,l.jsx)(u.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:"overflow-hidden",children:(0,l.jsx)(r.DZ,{className:"gradient-text m-0 text-center uppercase",children:y})}):(0,l.jsx)(r.DZ,{className:"m-0 text-center font-bold",children:(0,l.jsx)(c.default,{text:y,direction:"top",animateBy:"words",rootMargin:"50px",className:"justify-center"})}),f[5]=z,f[6]=y,f[7]=m):m=f[7],f[8]!==b?(x=(0,l.jsx)(r.hj,{richText:b,className:"pt-8"}),f[8]=b,f[9]=x):x=f[9],f[10]!==N?(p=(0,l.jsx)(s.SanityButtons,{buttons:N,className:"mt-14 items-center justify-center"}),f[10]=N,f[11]=p):p=f[11],f[12]!==n||f[13]!==m||f[14]!==x||f[15]!==p?(h=(0,l.jsxs)(i.m,{children:[n,m,x,p]}),f[12]=n,f[13]=m,f[14]=x,f[15]=p,f[16]=h):h=f[16],f[17]!==k||f[18]!==t||f[19]!==h?(g=(0,l.jsx)("section",{id:k,className:t,children:h}),f[17]=k,f[18]=t,f[19]=h,f[20]=g):g=f[20],g}}
1,96939:(e,t,n)=>{n.d(t,{E:()=>s});var l=n(58986),a=n(34978),i=n(67928);function s(e){let t,n,s,r,o=(0,a.c)(8);return o[0]!==e?({className:t,...n}=e,o[0]=e,o[1]=t,o[2]=n):(t=o[1],n=o[2]),o[3]!==t?(s=(0,i.cn)("animate-pulse rounded-md bg-primary/10",t),o[3]=t,o[4]=s):s=o[4],o[5]!==n||o[6]!==s?(r=(0,l.jsx)("div",{className:s,...n}),o[5]=n,o[6]=s,o[7]=r):r=o[7],r}},99551:(e,t,n)=>{n.d(t,{z:()=>b,FaqsDefault:()=>_,S:()=>w});var l=n(58986),a=n(34978),i=n(93406);function s(e){let t,n,i=(0,a.c)(5),{data:s,id:r}=e;return i[0]!==s?(t=JSON.stringify(s,null,0),i[0]=s,i[1]=t):t=i[1],i[2]!==r||i[3]!==t?(n=(0,l.jsx)("script",{type:"application/ld+json",id:r,children:t}),i[2]=r,i[3]=t,i[4]=n):n=i[4],n}function r(e){let t,n,i,r,d,u,m=(0,a.c)(11),{faqs:x}=e;if(!x||!x.length)return null;if(m[0]!==x){r=Symbol.for("react.early_return_sentinel");e:{let e=x.filter(c);if(!e.length){r=null;break e}t="https://schema.org",n="FAQPage",i=e.map(o)}m[0]=x,m[1]=t,m[2]=n,m[3]=i,m[4]=r}else t=m[1],n=m[2],i=m[3],r=m[4];if(r!==Symbol.for("react.early_return_sentinel"))return r;m[5]!==t||m[6]!==n||m[7]!==i?(d={"@context":t,"@type":n,mainEntity:i},m[5]=t,m[6]=n,m[7]=i,m[8]=d):d=m[8];let p=d;return m[9]!==p?(u=(0,l.jsx)(s,{data:p,id:"faq-json-ld"}),m[9]=p,m[10]=u):u=m[10],u}function o(e){var t;return{"@type":"Question",name:e.title,acceptedAnswer:{"@type":"Answer",text:Array.isArray(t=e.richText)?t.filter(e=>"block"===e._type&&Array.isArray(e.children)).map(e=>{var t,n;return null!=(n=null==(t=e.children)?void 0:t.filter(e=>"span"===e._type&&!!e.text).map(e=>e.text).join(""))?n:""}).join(" ").trim():""}}}function c(e){return(null==e?void 0:e.title)&&(null==e?void 0:e.richText)}n(37811),n(36654),n(83239),n(94103),n(33839);var d=n(18934),u=n(9211),m=n(77483),x=n(48864),p=n(82675),h=n(80945),g=n(89011),f=n(94366),y=n(6050);function b(e){let t,n,i,s,r,o,c,d,u,m=(0,a.c)(17),{value:x,className:b,maxValue:w}=e,N=void 0===b?"":b,_=void 0===w?5:w,S=(0,p.d)(0);m[0]===Symbol.for("react.memo_cache_sentinel")?(t={stiffness:100,damping:20,restDelta:.001},m[0]=t):t=m[0];let z=(0,h.z)(S,t),k=(0,g.G)(z,j);m[1]!==S||m[2]!==x?(n=()=>{let e=setTimeout(()=>{S.set(x)},0);return()=>clearTimeout(e)},i=[x,S],m[1]=S,m[2]=x,m[3]=n,m[4]=i):(n=m[3],i=m[4]),(0,y.useEffect)(n,i),m[5]!==_?(s=Array.from({length:_},v),m[5]=_,m[6]=s):s=m[6];let P=s;return m[7]===Symbol.for("react.memo_cache_sentinel")?(r={height:"9rem"},m[7]=r):r=m[7],m[8]!==k?(o={translateY:k},m[8]=k,m[9]=o):o=m[9],m[10]===Symbol.for("react.memo_cache_sentinel")?(c={duration:1.2,ease:[.16,1,.3,1]}
1,m[10]=c):c=m[10],m[11]!==P||m[12]!==N?(d=P.map(e=>(0,l.jsx)("span",{className:"".concat(N," flex items-center justify-end"),style:{height:"9rem"},children:e<10?"0".concat(e):e},e)),m[11]=P,m[12]=N,m[13]=d):d=m[13],m[14]!==d||m[15]!==o?(u=(0,l.jsx)("div",{className:"relative inline-block overflow-hidden",style:r,children:(0,l.jsx)(f.P.div,{style:o,className:"flex flex-col",transition:c,children:d})}),m[14]=d,m[15]=o,m[16]=u):u=m[16],u}function v(e,t){return t+1}function j(e){return"".concat(-(9*(e-1)),"rem")}function w(e){let t,n,i,s,r=(0,a.c)(6),{isActive:o}=e;r[0]===Symbol.for("react.memo_cache_sentinel")?(t={width:"0%"},r[0]=t):t=r[0];let c=o?"100%":"0%";return r[1]!==c?(n={width:c},r[1]=c,r[2]=n):n=r[2],r[3]===Symbol.for("react.memo_cache_sentinel")?(i={duration:.9,ease:"easeInOut"},r[3]=i):i=r[3],r[4]!==n?(s=(0,l.jsx)("div",{className:"bg-border mb-4 h-0.5 w-full bg-opacity-30 md:mb-8",children:(0,l.jsx)(f.P.div,{className:"bg-accent h-full",initial:t,animate:n,transition:i})}),r[4]=n,r[5]=s):s=r[5],s}function N(e){let{faq:t,index:n,faqRefs:a,isActive:i}=e;return(0,l.jsxs)("div",{className:"w-full",ref:e=>{a.current[n]=e},children:[(0,l.jsx)("div",{className:"text-accent flex items-center justify-start gap-0 text-4xl font-normal sm:text-5xl md:hidden lg:leading-[9rem]",children:(0,l.jsx)("span",{children:(n+1).toString().padStart(2,"0")})}),(0,l.jsx)(x.nD,{type:"single",collapsible:!0,children:(0,l.jsxs)(x.As,{value:"faq-"+t._id,className:"border-0",children:[(0,l.jsxs)(x._$,{className:"text-foreground w-full text-left lg:pb-0",children:[(0,l.jsx)(m.DZ,{as:"h3",className:"text-foreground m-0 w-full pb-6 pr-16 pt-2 text-left",children:t.title}),(0,l.jsx)(w,{isActive:i}),(0,l.jsx)(d.s,{richText:t.preview,className:"text-foreground text-left text-sm"})]}),(0,l.jsx)(x.ub,{children:(0,l.jsx)(d.s,{richText:t.richText,className:"text-foreground text-left text-sm"})})]})})]})}function _(e){let{title:t,faqs:n,jsonLd:a,buttons:s,eyebrow:o,eyebrowPosition:c,richText:d,sectionParameters:x}=e,p=null==n?void 0:n.filter(e=>null!=e&&!!e._id);if(!(null==p?void 0:p.length))return null;let[h,g]=(0,y.useState)(0),v=(0,y.useRef)([]);return(0,y.useEffect)(()=>{let e=()=>{let e=0;v.current.forEach((t,n)=>{t&&t.getBoundingClientRect().top<=300&&(e=n)}),g(e)};e();let t=!1,n=()=>{t||(requestAnimationFrame(()=>{e(),t=!1}),t=!0)};return window.addEventListener("scroll",n,{passive:!0}),()=>{window.removeEventListener("scroll",n)}},[]),(0,l.jsxs)("section",{id:null==x?void 0:x.sectionId,className:"bg-card text-foreground relative py-12 lg:py-24",children:[a&&(0,l.jsx)(r,{faqs:p}),(0,l.jsxs)(i.m,{className:"max-w-[63rem]",children:[(0,l.jsx)(m.R2,{theme:"gray",position:c,children:o}),(0,l.jsx)(f.P.div,{initial:{opacity:.5,y:20,filter:"blur(0.5rem)"},whileInView:{opacity:1,y:0,filter:"blur(0rem)"},transition:{duration:1},viewport:{once:!0},className:"mx-auto max-w-[56rem] overflow-hidden px-8 pt-10",children:(0,l.jsx)(m.DZ,{className:"gradient-text m-0 text-center uppercase",children:t})}),(0,l.jsx)(m.hj,{richText:d,className:"pt-5"}),(0,l.jsxs)("div",{className:"relative grid w-full items-start gap-x-8 gap-y-16 pt-9 md:auto-cols-[1fr] md:grid-cols-[max-content_1fr] lg:pt-16",children:[(0,l.jsx)("div",{className:"sticky top-[20%] hidden h-[9rem] overflow-hidden md:flex md:pt-5",children:(0,l.jsx)("div",{className:"animate_number",children:(0,l.jsx)(b,{value:h+1,className:"text-accent text-7xl font-normal leading-[8rem] lg:text-9xl",maxValue:p.length})})}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-16 md:gap-y-16 lg:gap-y-24",children:p.map((e,t)=>{let{_id:n,title:a,preview:i,richText:s}=e;return(0,l.jsx)(N,{faq:{_id:n,title:a,preview:i,richText:s},index:t,faqRefs:v,isActive:t===h},"faq-".concat(n,"-").concat(t))})})]}),s&&s.length>0&&(0,l.jsx)(u.SanityButtons,{buttons:s,showButton:s.length>1,className:"mt-10 justify-center"})]})]})}},99792:(e,t,n)=>{n.d(t,{AccordeonDefault:()=>h});var l=n(58986),a=n(34978),i=n(93406),s=n(18934),r=n(9211),o=n(34703),c=n(77483),d=n(48864),u=n(67928),m=n(94366),x=n(6050),p=n(12465);function h(e){let t,n,h,g,f,y,b,v,j,w,N,_,S,z,k,P,C,T,q,I,D,M=(0,a.c)(42),{eyebrow:L,eyebrowPosition:B,title:R,richText:V,items:A,buttons:E,sectionParameters:F}=e,{t:Z}=(0,p.Bd)(),[$,H]=(0,x.useState)(void 0);if(!A||!A.length)return null;let O=null==F?void 0:F.sectionId;if(M[0]!==L||M[1]!==B?(t=(0,l.jsx)(c.R2,{position:B,children:L}),M[0]=L,M[1]=B,M[2]=t):t=M[2],M[3]===Symbol.for("react.memo_cache_sentinel")?(n={opacity:.5,y:20,filter:"blur(1rem)"},h={opacity:1,y:0,filter:"blur(0rem)"},g={duration:1},f={once:!0,margin:"-100px 0px"},M[3]=n,M[4]=h,M[5]=g,M[6]=f):(n=M[3],h=M[4],g=M[5],f=M[6]),M[7]!==R?(y=(0,l.jsx)(m.P.div,{initial:n,whileInView:h,transition:g,viewport:f,children:(0,l.jsx)(c.DZ,{className:"gradient-text mx-auto max-w-3xl text-center uppercase",children:R})}),M[7]=R,M[8]=y):y=M[8],M[9]===Symbol.for("react.memo_cache_sentinel")?(j={opacity:0,y:20},w={opacity:1,y:0},b={duration:1,delay:.3},v={once:!0,margin:"-100px 0px"}
1,M[9]=b,M[10]=v,M[11]=j,M[12]=w):(b=M[9],v=M[10],j=M[11],w=M[12]),M[13]!==V?(N=(0,l.jsx)(m.P.div,{initial:j,whileInView:w,transition:b,viewport:v,children:(0,l.jsx)(c.hj,{richText:V,className:"mx-auto max-w-3xl text-center"})}),M[13]=V,M[14]=N):N=M[14],M[15]===Symbol.for("react.memo_cache_sentinel")?(_={opacity:0,y:20},S={opacity:1,y:0},z={duration:1,delay:.5},k={once:!0,margin:"-100px 0px"},M[15]=_,M[16]=S,M[17]=z,M[18]=k):(_=M[15],S=M[16],z=M[17],k=M[18]),M[19]!==$||M[20]!==A||M[21]!==Z){let e;M[23]!==$||M[24]!==Z?(e=(e,t)=>{let n="item-".concat(e._key||t),a=$===n;return(0,l.jsxs)(d.As,{value:n,className:(0,u.cn)("rounded-4xl border-border bg-background border px-4 py-3 transition-all duration-300 lg:px-8",a&&"py-6"),children:[(0,l.jsx)(d.$m,{className:"w-full text-left",children:(0,l.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,l.jsx)(c.DZ,{as:"h3",className:(0,u.cn)("m-0 text-left text-base leading-tight transition-all duration-300 md:text-base",a&&"font-bold sm:text-xl md:text-xl"),children:e.title}),e.subtitle&&(0,l.jsx)("p",{className:"text-muted-foreground text-sm",children:e.subt
1itle})]})}),(0,l.jsx)(d.ub,{className:"pt-4 text-sm sm:text-base",children:(0,l.jsxs)("div",{className:"flex flex-col gap-6",children:[e.richText&&(0,l.jsx)(s.s,{richText:e.richText,className:"text-foreground text-component-accordeon"}),e.image&&(0,l.jsx)("div",{className:"relative w-full overflow-hidden rounded-lg",children:(0,l.jsx)(o.s,{image:e.image,alt:e.image.alt||e.title||Z("sections.accordeon.imageAlt"),className:"w-full object-cover"})}),e.buttons&&e.buttons.length>0&&(0,l.jsx)("div",{className:"flex flex-wrap gap-4",children:(0,l.jsx)(r.SanityButtons,{buttons:e.buttons})})]})})]},e._key||"item-".concat(t))},M[23]=$,M[24]=Z,M[25]=e):e=M[25],P=A.map(e),M[19]=$,M[20]=A,M[21]=Z,M[22]=P}else P=M[22];return M[26]!==$||M[27]!==P?(C=(0,l.jsx)(m.P.div,{initial:_,whileInView:S,transition:z,viewport:k,children:(0,l.jsx)(d.nD,{type:"single",collapsible:!0,value:$,onValueChange:H,className:"w-full space-y-4",children:P})}),M[26]=$,M[27]=P,M[28]=C):C=M[28],M[29]!==E?(T=E&&E.length>0&&(0,l.jsx)(m.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:1,delay:.7},viewport:{once:!0,margin:"-100px 0px"},className:"mt-8 flex flex-wrap gap-4",children:(0,l.jsx)(r.SanityButtons,{buttons:E})}),M[29]=E,M[30]=T):T=M[30],M[31]!==C||M[32]!==T?(q=(0,l.jsxs)("div",{className:"rounded-4xl even:bg-card mt-8 px-4 py-8 odd:bg-[#f9f9f9] lg:px-20",children:[C,T]}),M[31]=C,M[32]=T,M[33]=q):q=M[33],M[34]!==N||M[35]!==t||M[36]!==q||M[37]!==y?(I=(0,l.jsxs)(i.m,{children:[t,y,N,q]}),M[34]=N,M[35]=t,M[36]=q,M[37]=y,M[38]=I):I=M[38],M[39]!==O||M[40]!==I?(D=(0,l.jsx)("section",{id:O,className:"relative w-full pb-12 pt-12 lg:pb-24 lg:pt-24",children:I}),M[39]=O,M[40]=I,M[41]=D):D=M[41],D}}}]);
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.