PageSourceSearch

https://www.vantage.bank/_next/static/chunks/925-015382383d82e56d.js?dpl=dpl_JBFxt4beuPCRDYq9iSYSgUkqC81a

js vantage.bank collected 2026-09-24 12:34:26 UTC 187,166 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[925],{18:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>u});var i=l(5155),n=l(5814),s=l(1726),a=l(5854),r=l(5239),o=l(7406),d=l(7522),c=l(2115),m=l(2619),f=l.n(m),p=l(4639);let x={renderText:e=>e.replace(/ /g,"\xa0"),renderNode:{[s.nA.EMBEDDED_ASSET]:e=>{var t,l,n,s;let{file:a,title:r,description:o}=e.data.target.fields;return(0,i.jsx)("img",{src:"https:".concat(a.url,"?w=1200&q=100&fm=webp"),alt:r||o||"",width:null==(l=a.details)||null==(t=l.image)?void 0:t.width,height:null==(s=a.details)||null==(n=s.image)?void 0:n.height,style:{display:"block",margin:"0",maxWidth:"100%",height:"auto"}})},[s.nA.PARAGRAPH]:(e,t)=>(0,i.jsx)("p",{children:t})}},u=e=>{var t;let l=e.items.fields,[s,m]=(0,c.useState)(0),{ref:u}=(0,d.T$)(0),{ref:h}=(0,d.T$)(0),{ref:g}=(0,d.T$)(0),{ref:b}=(0,d.T$)(0);return(0,c.useEffect)(()=>{s>0&&(setTimeout(()=>{h.current&&(h.current.offsetHeight,h.current.classList.add("fade-in"))},1e3*s),setTimeout(()=>{g.current&&(g.current.offsetHeight,g.current.classList.add("fade-in"))},1e3*s+500),setTimeout(()=>{b.current&&(b.current.offsetHeight,b.current.classList.add("fade-in"))},1e3*s+1e3))},[s]),(0,i.jsx)("section",{className:"bg-purple-gradient text-white\n            ".concat(!l.topIndent||"none"==l.topIndent?"mt-0":"mt-"+l.topIndent,"\n            ").concat(l.bottomIndent&&"none"!=l.bottomIndent?"mb-"+l.bottomIndent:"mb-0","\n        "),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-2 md:gap-1 items-center pb-medium lg:pb-0",children:[(0,i.jsxs)("div",{className:"relative ",children:[l.breadcrumbs&&(0,i.jsx)("div",{className:"breadcrumbs",children:(0,n.i)(l.breadcrumbs)}),(0,i.jsxs)("div",{className:"pt-medium pb-0 lg:pb-[50px] xl:pb-[60px] 2xl:pb-[100px]",children:[l.subtitle&&(0,i.jsxs)("div",{ref:u,className:"text-[16px] font-[800] flex items-center gap-[10px] mb-[20px] lg:mb-[30px] fade-in",children:[(null==(t=l.animatedIcon)?void 0:t.fields.icon)?(0,i.jsx)(p.default,{animationPath:"/animations/".concat(l.animatedIcon.fields.icon.replace(/\s+/g,"-"),".json"),autoplay:!0,loop:!0,width:58,height:58,className:"w-[58px] h-[58px] m-[-13px] ml-[-6px]"}):l.icon&&(0,i.jsx)(r.default,{src:"https:".concat(l.icon.fields.file.url,"?w=64&h=64&q=100&fm=webp"),alt:l.icon.fields.title||"",width:l.icon.fields.file.details.image.width,height:l.icon.fields.file.details.image.height}),(0,i.jsx)("span",{className:"pt-[2px] inline-flex",children:l.subtitle})]}),l.title&&(0,i.jsx)(o.A,{html:l.title,tag:"h1",delay:.5,onAnimationComplete:e=>{m(e)},className:"h2"}),l.description&&(0,i.jsx)("div",{ref:h,className:"opacity-0",children:(0,n.i)(l.description,x)}),l.buttonsList&&(0,i.jsx)("div",{ref:g,className:"flex gap-[15px] flex-wrap mt-[20px] lg:mt-[30px] opacity-0",children:l.buttonsList.map((e,t)=>{var l,n,s;return"itemButton"==e.sys.contentType.sys.id?(0,i.jsx)("div",{children:(0,i.jsx)(a.A,{text:e.fields.linkTitle,link:e.fields.link,color:e.fields.style,target:e.fields.openInNewTab?"_blank":"_self","aria-label":e.fields.linkTitle,role:"button",tabIndex:0})},t):(0,i.jsx)("div",{children:(0,i.jsx)(f(),{href:e.fields.link,target:e.fields.openInNewTab?"_blank":"_self",children:(null==(s=e.fields.image)||null==(n=s.fields)||null==(l=n.file)?void 0:l.url)&&(0,i.jsx)(r.default,{className:"h-[40px] w-auto",src:"https:".concat(e.fields.image.fields.file.url),alt:e.fields.image.fields.title||"Image",width:e.fields.image.fields.file.details.image.width,height:e.fields.image.fields.file.details.image.height})})},t)})}),l.list&&(0,i.jsx)("div",{ref:b,className:"flex gap-x-1 gap-y-1 lg:gap-x-2 flex-wrap flex-col lg:flex-row mt-[20px] font-[800] text-[14px] lg:mt-[30px] opacity-0",children:l.list.map((e,t)=>(0,i.jsxs)("div",{className:"flex items-center gap-[5px]",children:[(0,i.jsx)(r.default,{src:"https:".concat(e.fields.icon.fields.file.url,"?w=32&h=32&q=100"),alt:e.fields.icon.fields.title||"",width:e.fields.icon.fields.file.details.image.width,height:e.fields.icon.fields.file.details.image.height,className:"brightness-0 invert"}),(0,i.jsx)("span",{className:"inline-flex pt-[2px]",dangerouslySetInnerHTML:{__html:e.fields.title}})]},t))})]})]}),l.image&&(0,i.jsx)("div",{className:"flex flex-col items-center lg:items-end pb-0 lg:pb-[30px] lg:pt-[30px]",children:(0,i.jsxs)("div",{className:"inline-flex flex-col",children:[(0,i.jsx)(r.default,{src:"https:".concat(l.image.fields.file.url,"?w=1600&h=1200&q=100&fm=webp"),alt:l.image.fields.title||"",width:l.image.fields.file.details.image.width,height:l.image.fields.file.details.image.height,className:"w-[650px] max-w-full h-auto"}),l.imageCaption&&(0,i.jsx)("p",{className:"text-small pl-[8%] mt-[10px]",dangerouslySetInnerHTML:{__html:l.imageCaption}})]})})]})})})}},183:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>c});var i=l(5155),n=l(7406),s=l(5814),a=l(7522),r=l(6964),o=l(2115),d=l(5854);let c=e=>{let t=e.items.fields,[l,c]=(0,o.useState)(0),{ref:m}=(0,a.T$)(l),{ref:f}=(0,a.T$)(l+.5),p=e=>{c(e)};return(0,i.jsx)("section",{id:t.id?t.id:"",className:" \n            ".concat(!t.topIndent||"none"==t.topIndent?"mt-0":"mt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"mb-"+t.bottomIndent:"mb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:["Style #2 (Align Left)"==t.style?(0,i.jsx)("div",{className:" ".concat(t.descriptionItems?"mb-medium pb-medium border-b border-warm-gray":"mb-[40px]","  "),children:t.title&&(0,i.jsxs)("div",{className:"text-left flex flex-col lg:flex-row justify-between gap-1 lg:items-center",children:[(0,i.jsxs)("div",{children:[t.title&&(0,i.jsx)(n.A,{html:t.title,tag:"h2",onAnimationComplete:p}),t.description&&(0,i.jsx)("div",{ref:m,className:"fade-in max-w-[750px]",children:(0,s.i)(t.description)})]}),t.button&&(0,i.jsx)("div",{ref:f,className:"fade-in lg:min-w-[21%] lg:text-right",children:(0,i.jsx)(d.A,{text:t.button.fields.linkTitle,link:t.button.fields.link,color:t.button.fields.style,target:t.button.fields.openInNewTab?"_blank":"_self"})})]})}):(0,i.jsx)(i.Fragment,{children:t.title&&(0,i.jsxs)("div",{className:"text-center ".concat(t.descriptionItems?"mb-medium pb-medium border-b border-warm-gray":"mb-[40px]"),children:[t.title&&(0,i.jsx)(n.A,{html:t.title,tag:"h2",onAnimationComplete:p}),t.description&&(0,i.jsx)("div",{ref:m,className:"fade-in mx-auto max-w-[750px]",children:(0,s.i)(t.description)}),t.button&&(0,i.jsx)("div",{ref:f,className:"mt-[20px] fade-in",children:(0,i.jsx)(d.A,{text:t.button.fields.linkTitle,link:t.button.fields.link,color:t.button.fields.style,target:t.button.fields.openInNewTab?"_blank":"_self"})})]})}),t.descriptionItems&&(0,i.jsx)("div",{className:"pb-[20px] lg:pb-[30px] text-center max-w-[750px] mx-auto",children:(0,s.i)(t.descriptionItems)}),t.items&&(0,i.jsx)("div",{className:"grid grid-cols-1 lgMin:grid-cols-2 gap-2",children:t.items.map((e,t)=>(0,i.jsx)(r.A,{items:e},t))})]})})}},258:e=>{e.exports={accountContent:"Accounts_accountContent__nBHuV",account:"Accounts_account__W5HuD",active:"Accounts_active__xrFLQ"}},285:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>d});var i=l(5155),n=l(5814),s=l(5854),a=l(5239),r=l(7406),o=l(7522);let d=e=>{var t,l;let d=e.items.fields,{ref:c}=(0,o.T$)(1.5),{ref:m}=(0,o.T$)(2),{ref:f}=(0,o.Cq)(0);return(0,i.jsx)("section",{className:"bg-warm-gray bg-[url('/Spark.svg')] bg-no-repeat bg-left-bottom md:bg-left-center bg-contain \n            ".concat(!d.topIndent||"none"==d.topIndent?"mt-0":"mt-"+d.topIndent,"\n            ").concat(d.bottomIndent&&"none"!=d.bottomIndent?"mb-"+d.bottomIndent:"mb-0","\n        "),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-2 md:gap-1 items-center lg:min-h-[calc(100vh-var(--header-height)-72px)] py-[50px]",children:[(0,i.jsxs)("div",{className:"relative",children:[d.title&&(0,i.jsx)(r.A,{html:d.title,tag:"h1",delay:.5}),d.description&&(0,i.jsx)("div",{ref:c,className:"fade-in",children:(0,n.i)(d.description)}),(null==(l=d.button)||null==(t=l.fields)?void 0:t.link)&&(0,i.jsx)("div",{ref:m,className:"mt-[20px] lg:mt-[30px] fade-in",children:(0,i.jsx)(s.A,{text:d.button.fields.linkTitle,link:d.button.fields.link,color:d.button.fields.style,target:d.button.fields.openInNewTab?"_blank":"_self","aria-label":"Learn more",role:"button",tabIndex:0})})]}),(0,i.jsx)("div",{className:"flex flex-col justify-center items-center",children:d.image&&(0,i.jsxs)("div",{className:"relative inline-block max-w-[360px] lg:max-w-none align-top pt-[50px] md:pt-[5vh] lg:pt-[10vh]",children:[(0,i.jsx)("span",{className:'absolute top-0 left-0 w-full overflow-hidden after:content-[""] after:block after after:w-full after:pt-[50%] ',children:(0,i.jsx)("span",{ref:f,className:"absolute left-0 top-0 w-full h-[200%] rounded-full bg-red-gradient move-up z-[1]"})}),(0,i.jsx)(a.default,{className:"max-h-auto lg:max-h-[calc(90vh-var(--header-height)-272px)] relative z-[2] w-auto  h-auto object-contain md:min-
1h-[400px]",src:"https:".concat(d.image.fields.file.url,"?q=100&fm=webp&fit=fill&f=center"),alt:d.image.fields.title||"",width:d.image.fields.file.details.image.width,height:d.image.fields.file.details.image.height})]})})]})})})}},352:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>p});var i=l(5155),n=l(5814),s=l(1726),a=l(5854),r=l(5239),o=l(7406),d=l(4639),c=l(7522),m=l(2115);let f={renderText:e=>e.replace(/ /g,"\xa0"),renderNode:{[s.nA.EMBEDDED_ASSET]:e=>{var t,l,n,s;let{file:a,title:r,description:o}=e.data.target.fields;return(0,i.jsx)("img",{src:"https:".concat(a.url,"?w=1200&q=100&fm=webp"),alt:r||o||"",width:null==(l=a.details)||null==(t=l.image)?void 0:t.width,height:null==(s=a.details)||null==(n=s.image)?void 0:n.height,style:{display:"block",margin:"0",maxWidth:"100%",height:"auto"}})},[s.nA.PARAGRAPH]:(e,t)=>(0,i.jsx)("p",{children:t})}},p=e=>{var t,l,s,p,x;let u=e.items.fields,[h,g]=(0,m.useState)(0),[b,v]=(0,m.useState)(!1);(0,m.useEffect)(()=>{v(!0)},[]);let{ref:w}=(0,c.T$)(0),{ref:j}=(0,c.T$)(0),{ref:N}=(0,c.T$)(0),{ref:y}=(0,c.T$)(0);return(0,m.useEffect)(()=>{h>0&&(setTimeout(()=>{j.current&&(j.current.offsetHeight,j.current.classList.add("fade-in"))},1e3*h),setTimeout(()=>{N.current&&(N.current.offsetHeight,N.current.classList.add("fade-in"))},1e3*h+500),setTimeout(()=>{y.current&&(y.current.offsetHeight,y.current.classList.add("fade-in"))},1e3*h+1e3))},[h]),(0,i.jsx)("section",{className:"bg-warm-gray \n            ".concat("Center Circle"==u.decorStyle?'bg-[url("/Center-Circle.svg")]  bg-[length:180%_auto] md:bg-[length:100%_auto] bg-no-repeat bg-bottom':' bg-[url("/Rounded-Bottom-Left.svg")] bg-no-repeat bg-left-bottom',"\n            ").concat(!u.topIndent||"none"==u.topIndent?"mt-0":"mt-"+u.topIndent,"\n            ").concat(u.bottomIndent&&"none"!=u.bottomIndent?"mb-"+u.bottomIndent:"mb-0","\n        "),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-2 md:gap-1 items-center py-[50px]",children:[(0,i.jsxs)("div",{className:"relative",children:[u.subtitle&&(0,i.jsxs)("div",{ref:w,className:"text-[16px] font-[800] flex items-center gap-[10px] mb-[20px] lg:mb-[30px] fade-in",children:[(null==(t=u.animatedIcon)?void 0:t.fields.icon)?(0,i.jsx)(d.default,{animationPath:"/animations/".concat(u.animatedIcon.fields.icon.replace(/\s+/g,"-"),".json"),autoplay:!0,loop:!0,width:58,height:58,className:"w-[58px] h-[58px] m-[-13px] ml-[-6px]"}):u.icon&&(0,i.jsx)(r.default,{src:"https:".concat(u.icon.fields.file.url,"?w=64&h=64&q=100&fm=webp"),alt:u.icon.fields.title||"",width:u.icon.fields.file.details.image.width,height:u.icon.fields.file.details.image.height}),(0,i.jsx)("span",{className:"pt-[2px] inline-flex",dangerouslySetInnerHTML:{__html:u.subtitle}})]}),u.title&&(0,i.jsx)(o.A,{html:u.title,tag:"h1",delay:.5,onAnimationComplete:e=>{g(e)},className:"h2"}),u.description&&(0,i.jsx)("div",{ref:j,className:b?"opacity-0":"fade-in",children:(0,n.i)(u.description,f)}),u.buttonsList&&(0,i.jsx)("div",{ref:N,className:"flex gap-[15px] flex-wrap mt-[20px] lg:mt-[30px] ".concat(b?"opacity-0":"fade-in"),children:u.buttonsList.map((e,t)=>(0,i.jsx)("div",{children:(0,i.jsx)(a.A,{text:e.fields.linkTitle,link:e.fields.link,color:e.fields.style,target:e.fields.openInNewTab?"_blank":"_self","aria-label":e.fields.linkTitle,role:"button",tabIndex:0})},t))}),u.list&&(0,i.jsx)("div",{ref:y,className:"flex gap-x-1 gap-y-1 lg:gap-x-2 flex-wrap flex-col lg:flex-row mt-[20px] font-[800] text-[14px] lg:mt-[30px] ".concat(b?"opacity-0":"fade-in"),children:u.list.map((e,t)=>{var l;return(0,i.jsxs)("div",{className:"flex items-center gap-[5px]",children:[(null==(l=e.fields.animIcon)?void 0:l.fields.icon)?(0,i.jsx)(d.default,{animationPath:"/animations/".concat(e.fields.animIcon.fields.icon.replace(/\s+/g,"-"),".json"),autoplay:!0,loop:!0,width:32,height:32,className:"w-[32px] h-[32px]"}):e.fields.icon&&(0,i.jsx)(r.default,{src:"https:".concat(e.fields.icon.fields.file.url,"?w=32&h=32&q=100"),alt:e.fields.icon.fields.title||"",width:e.fields.icon.fields.file.details.image.width,height:e.fields.icon.fields.file.details.image.height}),(0,i.jsx)("span",{className:"inline-flex pt-[2px]",dangerouslySetInnerHTML:{__html:e.fields.title}})]},t)})})]}),((null==(s=u.heroAnimation)||null==(l=s.fields)?void 0:l.animationName)||u.image)&&(0,i.jsx)("div",{className:"flex flex-col justify-center items-center",children:(null==(x=u.heroAnimation)||null==(p=x.fields)?void 0:p.animationName)?(0,i.jsx)("div",{className:"aspect-square overflow-hidden w-full max-w-[500px] lg:max-w-[600px] flex items-center justify-center",children:(0,i.jsx)(d.default,{animationPath:"/animations/".concat(u.heroAnimation.fields.animationName.replace(/\s+/g,"-"),"/animation.json"),autoplay:!0,loop:!1,width:600,height:600,className:"w-full h-full"})}):u.image&&(0,i.jsx)(r.default,{src:"https:".concat(u.image.fields.file.url,"?w=1600&h=1200&q=100&fm=webp"),alt:u.image.fields.title||"",width:u.image.fields.file.details.image.width,height:u.image.fields.file.details.image.height,className:"w-[500px] lg:w-[600px]  max-w-full h-auto"})})]})})})}},582:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>d});var i=l(5155),n=l(5814),s=l(955),a=l(5239),r=l(7406),o=l(7522);let d=e=>{var t,l;let d=e.items.fields,{ref:c}=(0,o.T$)(0),{ref:m}=(0,o.T$)(1.5),{ref:f}=(0,o.T$)(2);return(0,i.jsx)("section",{id:d.id?d.id:"",className:" \n            ".concat(!d.topIndent||"none"==d.topIndent?"mt-0":"mt-"+d.topIndent,"\n            ").concat(d.bottomIndent&&"none"!=d.bottomIndent?"mb-"+d.bottomIndent:"mb-0","\n        "),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-2 items-center",dir:d.imageLocationLeft?"rtl":"ltr",children:[(0,i.jsxs)("div",{className:"relative",dir:"ltr",children:[d.subtitle&&(0,i.jsxs)("div",{ref:c,className:"flex items-center gap-[10px] mb-[20px] lg:mb-[30px] text-[16px] font-[800] fade-in",children:[d.icon&&(0,i.jsx)(a.default,{className:"mt-[-2px] w-[32px] h-auto",src:"https:".concat(d.icon.fields.file.url),alt:d.icon.fields.title||"",width:d.icon.fields.file.details.image.width,height:d.icon.fields.file.details.image.height}),(0,i.jsx)("div",{children:d.subtitle})]}),d.title&&(0,i.jsx)(r.A,{html:d.title,tag:"h2",delay:.5}),d.description&&(0,i.jsx)("div",{ref:m,className:"fade-in",children:(0,n.i)(d.description)}),(null==(l=d.link)||null==(t=l.fields)?void 0:t.link)&&(0,i.jsx)("div",{ref:f,className:"mt-[20px] lg:mt-[30px] fade-in",children:(0,i.jsx)(s.default,{text:d.link.fields.linkTitle,link:d.link.fields.link,target:d.link.fields.openInNewTab?"_blank":"_self"})})]}),(0,i.jsx)("div",{className:"flex flex-col justify-center",dir:"ltr",children:d.image&&(0,i.jsx)(a.default,{className:"",src:"https:".concat(d.image.fields.file.url),alt:d.image.fields.title||"",width:d.image.fields.file.details.image.width,height:d.image.fields.file.details.image.height})})]})})})}},666:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>g});var i=l(5155),n=l(2115),s=l(5239),a=l(7406),r=l(5814),o=l(1726),d=l(7522),c=l(5854),m=l(955),f=l(4639),p=l(1130),x=l(1408);let u=e=>{let{className:t="",stroke:l="white"}=e,{ref:n}=(0,d.T$)(0);return(0,i.jsx)("span",{ref:n,className:"svg-check fade-in ".concat(t),children:(0,i.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsxs)("g",{clipPath:"url(#clip0_6078_1607)",children:[(0,i.jsx)("path",{className:"c-path",d:"M16.5 8.31002V9.00002C16.4991 10.6173 15.9754 12.191 15.007 13.4864C14.0386 14.7818 12.6775 15.7294 11.1265 16.1879C9.57557 16.6465 7.91794 16.5914 6.40085 16.031C4.88376 15.4705 3.58849 14.4346 2.70822 13.0778C1.82795 11.721 1.40984 10.1161 1.51626 8.50226C1.62267 6.88844 2.24791 5.35227 3.29871 4.12283C4.34951 2.89338 5.76959 2.03656 7.34714 1.68013C8.92469 1.3237 10.5752 1.48677 12.0525 2.14502",stroke:l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{className:"check-path",d:"M16.5 3L9 10.5075L6.75 8.2575",stroke:l,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_6078_1607",children:(0,i.jsx)("rect",{width:"18",height:"18",fill:"white"})})})]})})},h={renderText:e=>e.replace(/ /g,"\xa0"),renderNode:{[o.nA.EMBEDDED_ASSET]:e=>{var t,l,n,s;
1let{file:a,title:r,description:o}=e.data.target.fields;return(0,i.jsx)("img",{src:"https:".concat(a.url),alt:r||o||"",width:null==(l=a.details)||null==(t=l.image)?void 0:t.width,height:null==(s=a.details)||null==(n=s.image)?void 0:n.height,style:{display:"block",margin:"0",maxWidth:"100%",height:"auto"}})},[o.nA.PARAGRAPH]:(e,t)=>(0,i.jsx)("p",{children:t}),[o.nA.UL_LIST]:(e,t)=>(0,i.jsx)("ul",{className:"list-none m-0 p-0 space-y-[10px]",children:t}),[o.nA.LIST_ITEM]:(e,t)=>(0,i.jsxs)("li",{className:"flex items-start gap-[8px]",children:[(0,i.jsx)(u,{className:"mt-[2px]",stroke:"white"}),(0,i.jsx)("span",{className:"block",children:t})]})}},g=e=>{var t,l,o,u,g,b,v,w,j,N;let y=e.items.fields,[k,A]=(0,n.useState)(0),[I,T]=(0,n.useState)(!1),[C,S]=(0,n.useState)(!1),_=(0,n.useRef)(null),{ref:M}=(0,d.T$)(.5),L=(0,n.useRef)([]),[E,F]=(0,n.useState)({});(0,n.useEffect)(()=>{L.current.forEach((e,t)=>{e&&e.stop&&t!==k&&e.stop()});let e=L.current[k];e&&e.play&&e.play()},[k]),(0,n.useEffect)(()=>{if(C)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){_.current&&!_.current.contains(e.target)&&S(!1)}},[C]);let P=e=>{var t;let l=null==e||null==(t=e.fields)?void 0:t.tabContent;return!!Array.isArray(l)&&l.some(e=>{var t,l,i,n,s;if("itemContentCurrencies"===(null==e||null==(i=e.sys)||null==(l=i.contentType)||null==(t=l.sys)?void 0:t.id))return!0;let a=null==e||null==(n=e.fields)?void 0:n.title,r="string"==typeof a?a.replace(/<[^>]*>/g,"").trim().length>0:!!a,o=null==e||null==(s=e.fields)?void 0:s.description,d=Array.isArray(null==o?void 0:o.content)?o.content.length>0:!!o;return r||d})},R=function(e,t){var l,n,a,r,o,d,c;let m=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},p=L.current[t];return(0,i.jsxs)("div",{className:"px-[10px] xl:px-[15px] group py-[11px] flex-1 rounded-[10px] gap-[10px] cursor-pointer text-white font-[800] text-[16px] flex items-center justify-center relative "+(k===t?"bg-white/20 lgMin:bg-transparent":"")+(m.className||""),role:"button","aria-label":e.fields.tabTitle,tabIndex:0,onClick:()=>{A(t),T(!1),S(!1)},onMouseEnter:()=>{p&&p.play&&p.play()},onMouseLeave:()=>{p&&p.stop&&p.stop()},...m,"data-lottie-icon":null==(a=e.fields.animatedIcon)||null==(n=a.fields)||null==(l=n.icon)?void 0:l.replace(/\s+/g,"-"),children:[e.fields.animatedIcon&&(0,i.jsx)(f.default,{className:"my-[-4px] mt-[-6px]",onReady:e=>{L.current[t]=e,F(e=>({...e,[t]:!0})),t===k&&e.play()},autoplay:!1,loop:!0,animationPath:"/animations/".concat(e.fields.animatedIcon.fields.icon.replace(/\s+/g,"-"),".json"),width:40,height:40}),e.fields.tabIcon&&!e.fields.animatedIcon&&e.fields.tabIcon.fields&&e.fields.tabIcon.fields.file&&e.fields.tabIcon.fields.file.url&&(0,i.jsx)(s.default,{className:"h-[32px] w-auto group-hover:scale-125 transition-transform",src:"https:".concat(e.fields.tabIcon.fields.file.url),alt:e.fields.tabIcon.fields.title||"",width:(null==(o=e.fields.tabIcon.fields.file.details)||null==(r=o.image)?void 0:r.width)||32,height:(null==(c=e.fields.tabIcon.fields.file.details)||null==(d=c.image)?void 0:d.height)||32}),e.fields.tabTitle]},t)};return y.tabs&&Array.isArray(y.tabs)&&y.tabs.length?(0,i.jsx)("section",{id:y.id?y.id:"",className:"\n            ".concat(!y.topIndent||"none"==y.topIndent?"mt-0":"mt-"+y.topIndent,"\n            ").concat(y.bottomIndent&&"none"!=y.bottomIndent?"mb-"+y.bottomIndent:"mb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[(y.title||y.description)&&(0,i.jsxs)("div",{className:"mb-[40px] text-center",children:[y.title&&(0,i.jsx)(a.A,{html:y.title,tag:"h2"}),y.description&&(0,i.jsx)("div",{ref:M,className:"max-w-[780px] mx-auto fade-in",children:(0,r.i)(y.description,h)})]}),(0,i.jsxs)("div",{className:"relative lgMin:overflow-hidden rounded-[25px] lgMin:min-h-[720px] xl:min-h-[800px] 2xl:min-h-[920px] lgMin:rounded-[50px] lgMin:bg-warm-gray lgMin:bg-[url(/bg-heart.svg)] lgMin:bg-no-repeat bg-[length:30%_auto]  bg-right-bottom ".concat(y.tabs.length>1?" lgMin:pb-[130px]":""),children:[y.tabs.length>1&&(0,i.jsx)("div",{className:"bg-castro text-white lgMin:absolute lgMin:bottom-[30px] mb-[20px] lgMin:mb-0 xl:bottom-[45px] md:left-[30px] xl:left-[95px] md:right-[30px] xl:right-[95px] rounded-[10px] lgMin:overflow-hidden z-[4] lgMin:p-[10px]",children:(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)(p.P.div,{className:"absolute hidden lgMin:block top-0 left-0 h-full bg-white/10 rounded-[10px] z-0",style:{width:"calc(100% / ".concat(y.tabs.length,")"),transform:"translateX(".concat(100*k,"%)"),transition:"all 0.3s cubic-bezier(.4,0,.2,1)"},layout:!0}),(0,i.jsx)("div",{className:"hidden lgMin:flex w-full",children:y.tabs.map((e,t)=>R(e,t))}),(0,i.jsxs)("div",{className:"block lgMin:hidden w-full relative",ref:_,children:[(0,i.jsxs)("button",{className:"w-full p-[15px] gap-[10px] rounded-[10px] bg-castro text-white font-[800] text-[16px] flex items-center ".concat(C?"rounded-b-[0px]":"rounded-b-[10px]"),onClick:()=>S(e=>!e),"aria-label":"Toggle dropdown","aria-expanded":C,"aria-controls":"tabs-dropdown-menu",children:[y.tabs[k].fields.tabIcon&&y.tabs[k].fields.tabIcon.fields&&y.tabs[k].fields.tabIcon.fields.file&&y.tabs[k].fields.tabIcon.fields.file.url&&(0,i.jsx)(s.default,{className:"h-[32px] w-auto group-hover:scale-125 transition-transform",src:"https:".concat(y.tabs[k].fields.tabIcon.fields.file.url),alt:y.tabs[k].fields.tabIcon.fields.title||"",width:(null==(l=y.tabs[k].fields.tabIcon.fields.file.details)||null==(t=l.image)?void 0:t.width)||32,height:(null==(u=y.tabs[k].fields.tabIcon.fields.file.details)||null==(o=u.image)?void 0:o.height)||32}),y.tabs[k].fields.tabTitle,(0,i.jsx)(s.default,{className:"transition-transform ml-auto duration-300 ".concat(C?"rotate-180":""),src:"/icons/arrow-down-white.svg",alt:"arrow-down","aria-hidden":"true",role:"presentation",width:30,height:30})]}),C&&(0,i.jsx)("div",{className:"absolute left-0 right-0 bg-castro rounded-[10px] rounded-t-[0px] z-10 flex flex-col",children:y.tabs.map((e,t)=>R(e,t,{className:"cursor-pointer hover:bg-white/10 text-left text-[16px] font-[800] p-[15px] flex items-center gap-[10px] ".concat(k===t?"bg-white/10":"")}
1))})]})]})}),y.tabs[k]&&(0,i.jsxs)("div",{className:"relative lgMin:static ".concat(P(y.tabs[k])?"lgMin:pb-[30px]":"lgMin:pb-0"," rounded-[25px] lgMin:rounded-[50px] bg-warm-gray bg-[url(/bg-heart.svg)] bg-no-repeat bg-[length:50%_auto] bg-right-bottom lgMin:bg-none lgMin:bg-transparent ").concat(y.tabs[k].fields.tabContent.some(e=>{var t,l,i,n;return(null==(t=e.sys.contentType)?void 0:t.sys.id)==="itemContentImageTitleDescription"&&(null==(n=e.fields.image)||null==(i=n.fields)||null==(l=i.file)?void 0:l.url)})?"lgMin:bg-transparent":"lgMin:bg-warm-gray"),children:[(0,i.jsxs)("div",{className:"".concat("Style #2"==y.style?"bg-red-gradient":"bg-castro-gradient"," lgMin:bg-none ").concat(P(y.tabs[k])?"pb-[30px]":"pb-0"," mb:pb-0 rounded-t-[25px] lgMin:rounded-t-[0] ").concat(y.tabs[k].fields.tabContent.some(e=>{var t,l,i,n;return(null==(t=e.sys.contentType)?void 0:t.sys.id)==="itemContentImageTitleDescription"&&(null==(n=e.fields.image)||null==(i=n.fields)||null==(l=i.file)?void 0:l.url)})?"":"rounded-b-[25px] lgMin:rounded-b-[0]"),children:[y.tabs[k].fields.tabContent.some(e=>{var t,l;return(null==(t=e.sys.contentType)?void 0:t.sys.id)==="itemContentImageTitleDescription"&&e.fields.title||e.fields.description||(null==(l=e.sys.contentType)?void 0:l.sys.id)==="itemContentCurrencies"})&&(0,i.jsx)("div",{className:"overflow-hidden text-white relative z-[3] lgMin:w-[500px] xl:w-[645px] bg-none ".concat("Style #2"==y.style?"lgMin:bg-red-gradient":"lgMin:bg-castro-gradient"," rounded-t-[25px] lgMin:rounded-tr-[0] lgMin:rounded-t-[0]  lgMin:rounded-br-[180px] xl:rounded-br-[300px] px-[30px] lgMin:px-[60px] xl:px-[95px] py-[30px] lgMin:py-[60px] xl:pt-[98px] xl:pb-[78px]"),children:(0,i.jsx)(x.N,{mode:"wait",children:(0,i.jsx)(p.P.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},exit:{opacity:0,y:40},transition:{duration:.6},children:Array.isArray(null==(b=y.tabs[k])||null==(g=b.fields)?void 0:g.tabContent)&&y.tabs[k].fields.tabContent.map((e,t)=>{var l,n,a,o,d,f;return(0,i.jsxs)("div",{children:[((null==(l=e.sys.contentType)?void 0:l.sys.id)=="itemContentImageTitleDescription"||(null==(n=e.sys.contentType)?void 0:n.sys.id)=="itemContentCurrencies")&&(0,i.jsxs)(i.Fragment,{children:[e.fields.title&&(0,i.jsx)("h3",{dangerouslySetInnerHTML:{__html:e.fields.title||""}}),e.fields.description&&(0,i.jsx)("div",{className:"check-list-anim medium-indent xl:pr-[5px]",children:(0,r.i)(e.fields.description,h)})]}),(null==(a=e.sys.contentType)?void 0:a.sys.id)=="itemDropdown"&&(0,i.jsxs)("div",{className:"mt-[20px]",children:[e.fields.description&&(0,i.jsx)("div",{className:"check-list-anim overflow-hidden transition-all duration-500 ".concat(I?"max-h-[300px]":"max-h-0"),children:(0,r.i)(e.fields.description,h)}),(0,i.jsxs)("div",{tabIndex:0,className:"cursor-pointer inline-flex items-center gap-[4px] text-[16px] font-[800] transition-all ".concat(I?"mt-[20px]":"mt-0"),onClick:()=>T(!I),role:"button","aria-label":e.fields.title,children:[e.fields.title&&e.fields.title2&&I?(0,i.jsx)("span",{children:e.fields.title2}):(0,i.jsx)("span",{children:e.fields.title}),(0,i.jsx)(s.default,{className:"transition-transform duration-300 ".concat(I?"rotate-180":""),src:"Style #2"==y.style?"/icons/arrow-down-white.svg":"/icons/arrow-down.svg",alt:"arrow-down","aria-hidden":"true",role:"presentation",width:30,height:30})]})]}),(null==(o=e.sys.contentType)?void 0:o.sys.id)=="itemButton"&&e.fields.link&&(0,i.jsx)("div",{className:"mt-[20px] xl:mt-[30px]",children:(0,i.jsx)(c.A,{text:e.fields.linkTitle,target:e.fields.openInNewTab?"_blank":"_self",color:e.fields.style,link:e.fields.link})}),(null==(d=e.sys.contentType)?void 0:d.sys.id)=="itemLinksList2"&&e.fields.links&&(0,i.jsx)("div",{className:"mt-[20px] xl:mt-[30px] border-t border-white/20 pt-[20px]",children:Array.isArray(null==(f=e.fields)?void 0:f.links)&&e.fields.links.map((e,t)=>(0,i.jsx)("div",{className:"mb-[10px] last:mb-0",children:e.fields.link&&(0,i.jsx)(m.default,{text:e.fields.linkTitle,target:e.fields.openInNewTab?"_blank":"_self",link:e.fields.link})},t))})]},t)})},k)})}),y.tabs[k].fields.tabContent.map((e,t)=>{var l;return(null==(l=e.sys.contentType)?void 0:l.sys.id)=="itemContentCurrencies"&&e.fields.addDescription&&(0,i.jsxs)("div",{className:"lgMin:absolute lgMin:top-[50%] mr-auto ml-auto mt-[30px] lgMin:mt-0 lgMin:mb-0 !lgMin:m-0 lgMin:bottom-auto lgMin:left-[
1calc(52%+30px)] xl:left-[50%] md:w-[500px] lgMin:w-[calc(48%-60px)] xl:w-[calc(50%-90px)] lgMin:translate-y-[-35%] text-white p-[30px] bg-castro rounded-[25px] lgMin:rounded-[50px] xl:p-[80px]",children:[(0,r.i)(e.fields.addDescription,h),e.fields.imagesList&&Array.isArray(e.fields.imagesList)&&(0,i.jsx)("div",{className:"".concat(e.fields.button?"mb-[20px] lgMin:mb-[30px]":""," flex flex-wrap gap-[10px]"),children:e.fields.imagesList.map((e,t)=>{var l,n,a,r;return e.fields.image.fields&&e.fields.image.fields.file&&e.fields.image.fields.file.url&&(0,i.jsx)(s.default,{className:"w-[40px] lgMin:w-[50px] xl:w-[60px] h-auto",src:"https:".concat(e.fields.image.fields.file.url),alt:e.fields.image.fields.title||"",width:(null==(n=e.fields.image.fields.file.details)||null==(l=n.image)?void 0:l.width)||60,height:(null==(r=e.fields.image.fields.file.details)||null==(a=r.image)?void 0:a.height)||40},t)})}),e.fields.button&&(0,i.jsx)(c.A,{text:e.fields.button.fields.linkTitle,target:e.fields.button.fields.openInNewTab?"_blank":"_self",color:e.fields.button.fields.style,link:e.fields.button.fields.link})]},t)}),(0,i.jsx)(x.N,{mode:"wait",children:Array.isArray(null==(w=y.tabs[k])||null==(v=w.fields)?void 0:v.tabContent)&&y.tabs[k].fields.tabContent.map((e,t)=>{var l;return(null==(l=e.sys.contentType)?void 0:l.sys.id)=="itemQuote"&&(0,i.jsxs)(p.P.div,{className:" mx-[30px] lgMin:mx-auto lgMin:w-[375px] xl:right-[95px] lgMin:right-[30px] relative lgMin:absolute bg-light-gray p-[20px] xl:p-[32px] rounded-[10px] ".concat(y.tabs.length>1?" lgMin:bottom-[130px] xl:bottom-[165px]":"pb-[30px] md:pb-[60px] lgMin:pb-[90px]"," z-[2]"),initial:{opacity:0,y:40},animate:{opacity:1,y:0},exit:{opacity:0,y:40},transition:{duration:.6},children:[e.fields.quote&&(0,i.jsx)("div",{className:"text-[#140A14] mb-[16px]",children:(0,r.i)(e.fields.quote,h)}),e.fields.sign&&(0,i.jsxs)("div",{className:"text-castro text-[16px]",children:[(0,i.jsx)("em",{className:"font-[800] font-pp_editorial_new text-red",children:e.fields.sign})," ",(0,i.jsx)("span",{children:e.fields.position})]})]},k)})})]}),Array.isArray(null==(N=y.tabs[k])||null==(j=N.fields)?void 0:j.tabContent)&&y.tabs[k].fields.tabContent.map((e,t)=>{var l,n,a,r,o;return(null==(l=e.sys.contentType)?void 0:l.sys.id)=="itemContentImageTitleDescription"&&(0,i.jsx)(x.N,{children:e.fields.image&&e.fields.image.fields&&e.fields.image.fields.file&&e.fields.image.fields.file.url&&(0,i.jsx)(p.P.div,{className:"".concat((y.style,"lgMin:absolute"),"  top-0 left-0 w-full h-full rounded-b-[25px] lgMin:rounded-b-[0] overflow-hidden"),initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.6},children:(0,i.jsx)("div",{className:"".concat("Style #2"==y.style?"lgMin:w-[40%] pt-[30px] pb-[30px] lgMin:pb-0 lgMin:w-[40%] h-full mx-auto lgMin:mr-0 flex md:items-end lgMin:items-center justify-center lgMin:pr-[30px] xl:pr-[95px] pl-[30px] lgMin:pl-0 xl:pt-[50px] lgMin:pb-[110px] xl:pb-[120px]":"w-full h-full"),children:(0,i.jsx)(s.default,{className:" ".concat("Style #2"==y.style?"":"rounded-t-0 lgMin:rounded-[50px] w-full h-full object-cover max-w-none"),src:"https:".concat(e.fields.image.fields.file.url),alt:e.fields.image.fields.title||"",width:(null==(a=e.fields.image.fields.file.details)||null==(n=a.image)?void 0:n.width)||800,height:(null==(o=e.fields.image.fields.file.details)||null==(r=o.image)?void 0:r.height)||600})})},k)},t)})]})]})]})}):null}},762:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>r});var i=l(5155),n=l(5814),s=l(7406),a=l(7522);let r=e=>{let t=e.items.fields,{ref:l}=(0,a.T$)(.5);return(0,i.jsxs)("section",{id:t.id?t.id:"",className:"bg-warm-gray relative z-[2]\n        ",children:["Rhombus"==t.decorStyle?(0,i.jsx)("div",{className:"absolute inset-0 z-[-1] overflow-hidden",children:(0,i.jsx)("svg",{width:"479",className:"absolute bottom-0 left-0 w-auto h-full lg:h-[550px]",height:"444",viewBox:"0 0 479 444",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsxs)("g",{opacity:"0.4",children:[(0,i.jsx)("path",{d:"M224.683 -9.25333V237.451H-20.2544V235.684C-20.2544 100.509 89.508 -9.25333 224.683 -9.25333Z",fill:"white"}),(0,i.jsx)("path",{d:"M224.682 -9.25339C359.857 -9.25339 469.62 100.509 469.62 235.684V237.451H224.682V-9.25339Z",fill:"white"}),(0,i.jsx)("path",{d:"M-20.2534 236.549H224.684V483.253C89.5089 483.253 -20.2534 373.491 -20.2534 238.316V236.549Z",fill:"white"}),(0,i.jsx)("path",{d:"M224.682 236.549H469.62V238.316C469.62 373.491 359.857 483.253 224.682 483.253V236.549Z",fill:"white"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M243.677 5.48981C278.174 104.582 356.684 183.164 455.776 217.589C474.232 224.005 474.232 249.202 455.776 255.546C356.684 290.043 278.102 368.553 243.677 467.645C237.261 486.101 212.064 486.101 205.72 467.645C171.223 368.553 92.7137 289.971 -6.37875 255.546C-24.8347 249.13 -24.8347 223.933 -6.37875 217.589C92.7137 183.092 171.296 104.582 205.72 5.48981C212.136 -12.9661 237.333 -12.9661 243.677 5.48981Z",fill:"#DFE9E1"})]})})}):"Hourglass"==t.decorStyle?(0,i.jsx)("div",{className:"absolute inset-0 z-[-1] overflow-hidden",children:(0,i.jsx)("svg",{className:"absolute top-0 left-[50%] translate-x-[-50%] lg:translate-x-0 lg:left-auto lg:right-[50%] lg:mr-[130px] w-auto h-full lg:h-[550px] opacity-30",xmlns:"http://www.w3.org/2000/svg",width:"502",height:"444",viewBox:"0 0 502 444",fill:"none",children:(0,i.jsx)("path",{d:"M523.04 -14.1104C484.301 96.664 396.312 184.403 285.427 222.985C264.719 230.116 264.719 258.357 285.427 265.568C396.312 304.071 484.222 391.89 523.04 502.666V520.021H-24.459V513.733C-21.4985 511.214 -19.071 507.792 -17.5635 503.463C21.0313 392.311 109.179 304.244 220.33 265.568C241.037 258.437 241.037 230.197 220.33 222.985C109.179 184.391 21.112 96.243 -17.5635 -14.9082C-19.0609 -19.2566 -21.49 -22.6917 -24.459 -25.2139V-30.459H523.04V-14.1104Z",fill:"#F8FEF9"})})}):null,(0,i.jsx)("div",{className:"\n                ".concat(!t.topIndent||"none"==t.topIndent?"pt-0":"pt-"+t.topIndent,"\n                ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"pb-"+t.bottomIndent:"pb-0","\n            "),children:(0,i.jsx)("div",{className:"container",children:(t.title||t.description)&&(0,i.jsxs)("div",{className:"".concat("Center"==t.align?"text-center":"text-left"),children:[t.title&&(0,i.jsx)(s.A,{html:t.title,tag:"h2"}),t.description&&(0,i.jsx)("div",{ref:l,className:" ".concat("Left"==t.align?"":"mx-auto max-w-[750px]"," fade-in"),children:(0,n.i)(t.description)})]})})})]})}},1224:e=>{e.exports={teamNavFixed:"team-navigation_teamNavFixed__x2bOo",teamNavLink:"team-navigation_teamNavLink__brPnD",active:"team-navigation_active__byFJ4"}},1407:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>o});var i=l(5155),n=l(5239),s=l(2619),a=l.n(s),r=l(2115);let o=e=>{let t=e.items.fields;console.log(t);let[l,s]=(0,r.useState)(t.teamMembers||[]),[o,d]=(0,r.useState)("Yes"!==t.randomSort);return(0,r.useEffect)(()=>
1{if("Yes"===t.randomSort&&t.teamMembers){let e=[...t.teamMembers];for(let t=e.length-1;t>0;t--){let l=Math.floor(Math.random()*(t+1));[e[t],e[l]]=[e[l],e[t]]}s(e),d(!0)}},[t.teamMembers,t.randomSort]),(0,i.jsx)("section",{id:t.id?t.id:"",className:" \n            ".concat(!t.topIndent||"none"==t.topIndent?"mt-0":"mt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"mb-"+t.bottomIndent:"mb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[t.title&&(0,i.jsx)("h3",{className:"mb-[20px] lg:mb-[30px] text-center",dangerouslySetInnerHTML:{__html:t.title||""}}),l.length>0&&(0,i.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-2 transition-opacity duration-100 ".concat(o?"opacity-100":"opacity-0"),children:l.filter(e=>e&&e.fields&&e.fields.slug).map((e,t)=>(0,i.jsxs)(a(),{href:"/team/"+function(e){return e?String(e).replace(/^\/+|\/+$/g,""):""}(e.fields.slug),className:"bg-warm-gray group rounded-[25px] lg:rounded-[50px] overflow-hidden",children:[e.fields.featuredImage&&(0,i.jsx)("div",{className:"w-full h-auto aspect-[1.175/1] overflow-hidden",children:(0,i.jsx)(n.default,{className:"w-full h-full object-cover group-hover:scale-105 transition-all duration-300 object-top",src:"https:".concat(e.fields.featuredImage.fields.file.url),alt:e.fields.title,width:e.fields.featuredImage.fields.file.details.image.width,height:e.fields.featuredImage.fields.file.details.image.height})}),(0,i.jsxs)("div",{className:"p-[30px] xl:p-[50px] text-medium",children:[e.fields.title&&(0,i.jsx)("h4",{className:"m-0",children:e.fields.title}),e.fields.position&&(0,i.jsx)("p",{className:"m-0",children:e.fields.position})]})]},t))})]})})}},1765:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var i=l(5155),n=l(2115),s=l(5239),a=l(5814),r=l(1408),o=l(1130);let d=e=>{var t,l,d,c,m;let{quotes:f=[],title:p,className:x=""}=e,[u,h]=(0,n.useState)(0),[g,b]=(0,n.useState)(0),v=f[u],[w,j]=(0,n.useState)(null==v||null==(t=v.fields)?void 0:t.quote),[N,y]=(0,n.useState)("auto"),[k,A]=(0,n.use
1State)(1),[I,T]=(0,n.useState)("fadeIn"),C=(0,n.useRef)(),S=(0,n.useRef)([]),[_,M]=(0,n.useState)(0),L=(0,n.useRef)(),E=()=>{S.current.length&&f.length&&M(Math.max(...S.current.map(e=>(null==e?void 0:e.offsetHeight)||0)))},[F,P]=(0,n.useState)(0),R=(0,n.useRef)();(0,n.useEffect)(()=>{if(!f.length)return;P(0),clearInterval(R.current);let e=Date.now();return R.current=setInterval(()=>{let t=(Date.now()-e)/1e4;t>=1?(P(1),B((u+1)%f.length)):P(t)},50),()=>clearInterval(R.current)},[u,f.length]),(0,n.useLayoutEffect)(()=>{E()},[f]),(0,n.useEffect)(()=>{let e=()=>{clearTimeout(L.current),L.current=setTimeout(()=>{E()},200)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e),clearTimeout(L.current)}},[f.length]),(0,n.useLayoutEffect)(()=>{var e;if(!(null==v||null==(e=v.fields)?void 0:e.quote)||v.fields.quote===w)return;T("fadeOut"),A(0),y(C.current?C.current.offsetHeight:"auto");let t=setTimeout(()=>{j(v.fields.quote),T("resize"),A(0),setTimeout(()=>{y(C.current?C.current.offsetHeight:"auto"),T("fadeIn"),A(1),setTimeout(()=>y("auto"),400)},30)},300);return()=>clearTimeout(t)},[null==v||null==(l=v.fields)?void 0:l.quote,w]);let B=e=>{e!==u&&(b(u),h(e))};return f.length?(0,i.jsxs)("div",{className:"overflow-hidden rounded-b-[25px] bg-warm-gray lg:rounded-b-[50px] relative ".concat(x),children:[(0,i.jsxs)(r.N,{mode:"",children:[(0,i.jsx)("div",{className:"absolute w-full invisible",children:f.map((e,t)=>{var l;return(0,i.jsxs)("div",{ref:e=>S.current[t]=e,className:"lg:flex",children:[(0,i.jsx)("div",{className:"lg:w-[50%] flex relative min-h-[300px]",children:(null==(l=e.fields)?void 0:l.image)&&(0,i.jsx)("div",{className:"absolute inset-0 w-full h-full flex items-end",style:{transformOrigin:"bottom center",zIndex:10},children:(0,i.jsx)(s.default,{className:"w-full h-full object-cover",src:"https:".concat(e.fields.image.fields.file.url),alt:e.fields.image.fields.title||"",width:e.fields.image.fields.file.details.image.width,height:e.fields.image.fields.file.details.image.height})})}),(0,i.jsxs)("div",{className:"flex-1 px-[30px] xl:px-[95px] pt-[30px] xl:pt-[95px] pb-[100px] xl:pb-[205px]",children:[(0,i.jsx)("div",{role:"heading",className:"text-[30px] xl:text-[35px] indent-[-10px] leading-[1.2] font-[125]",children:(0,a.i)(e.fields.quote)}),(0,i.jsxs)("div",{className:"text-[16px] mt-[20px] lg:mt-[30px]",children:[e.fields.sign&&(0,i.jsxs)("em",{className:"text-red font-pp_editorial_new font-[800]",children:[e.fields.sign," "]}),e.fields.position&&(0,i.jsx)("span",{children:e.fields.position})]})]})]},t)})}),(0,i.jsxs)("div",{style:{minHeight:_?"".concat(_,"px"):void 0},className:"lg:flex",children:[(0,i.jsxs)("div",{className:"lg:w-[50%] overflow-hidden md:overflow-visible flex  relative min-h-[300px]",children:[u!==g&&(null==(c=f[g])||null==(d=c.fields)?void 0:d.image)&&(0,i.jsx)(o.P.div,{className:"absolute inset-0 w-full h-full flex items-end",style:{zIndex:5},initial:{opacity:1},animate:{opacity:0},transition:{duration:.5},children:(0,i.jsx)(s.default,{className:"w-full h-full object-cover",src:"https:".concat(f[g].fields.image.fields.file.url),alt:f[g].fields.image.fields.title||"",width:f[g].fields.image.fields.file.details.image.width,height:f[g].fields.image.fields.file.details.image.height})},g+"-img"),(null==(m=v.fields)?void 0:m.image)&&(0,i.jsx)(o.P.div,{className:"absolute inset-0 w-full h-full flex items-end",style:{zIndex:10},initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.5},children:(0,i.jsx)(s.default,{className:"w-full h-full object-cover",src:"https:".concat(v.fields.image.fields.file.url),alt:v.fields.image.fields.title||"",width:v.fields.image.fields.file.details.image.width,height:v.fields.image.fields.file.details.image.height})},u+"-img")]}),(0,i.jsxs)("div",{className:"flex-1 px-[30px] xl:px-[95px] pt-[30px] xl:pt-[95px] pb-[100px] xl:pb-[205px]",children:[(0,i.jsx)(o.P.div,{animate:{height:N,opacity:k},transition:{height:{duration:.5,ease:[.4,0,.2,1]},opacity:{duration:.3}},className:"overflow-hidden ml-[-10px] pl-[10px]",children:(0,i.jsx)("div",{ref:C,children:(0,i.jsx)("div",{role:"quote",className:"text-[30px] xl:text-[35px] indent-[-10px] leading-[1.2] font-[125]",children:(0,a.i)(w)})})}),(0,i.jsxs)("div",{className:"text-[16px] mt-[20px] lg:mt-[30px]",children:[v.fields.sign&&(0,i.jsxs)("em",{className:"text-red font-pp_editorial_new font-[800]",children:[v.fields.sign," "]}),v.fields.position&&(0,i.jsx)("span",{children:v.fields.position})]})]})]},u)]}),(0,i.jsx)("div",{className:"hidden lg:block absolute xl:right-[calc(50%+95px)] right-[calc(50%+30px)] xl:bottom-[85px] bottom-[30px] w-[200px] h-[50px] z-10 pointer-events-none",style:{background:"rgba(0,0,0,0.6)",borderRadius:"50%",filter:"blur(42px)"}}),(0,i.jsxs)("div",{className:"absolute left-[80px] md:left-[30px] lg:left-auto right-[80px] lg:right-[calc(50%+30px)]  xl:right-[calc(50%+95px)] xl:bottom-[85px] bottom-[30px] flex items-center md:w-[200px] h-[30px] lg:h-[45px] z-30 justify-between",children:[(0,i.jsx)("div",{className:"lg:text-white text-[16px] font-[800] min-w-[30px] text-left mr-[8px]",children:"".concat((u+1).toString().padStart(2,"0"))}),(0,i.jsx)("div",{className:"flex-1 h-[4px] bg-white rounded-full overflow-hidden relative",children:(0,i.jsx)("div",{className:"absolute left-0 top-0 h-full bg-red rounded-full",style:{width:"".concat(100*F,"%")}})}),(0,i.jsx)("div",{className:"lg:text-white text-[16px] font-[800] min-w-[30px] text-right ml-[8px]",children:"".concat(f.length.toString().padStart(2,"0"))})]}),(0,i.jsx)("button",{className:"before:content-[''] before:absolute before:w-full before:h-full before:bg-castro before:rounded-full before:top-0 before:left-0 absolute left-[30px] md:left-auto md:right-[70px] lg:right-[85px] xl:right-[150px] xl:bottom-[85px] bottom-[30px] text-white rounded-full lg:w-[45px] lg:h-[45px] w-[30px] h-[30px] flex items-center justify-center z-20 before:transition before:ease-in-out hover:before:scale-90 before:z-[-1]",onClick:()=>B((u-1+f.length)%f.length),"aria-label":"Previous",role:"button",tabIndex:0,children:(0,i.jsxs)("svg",{role:"presentation",width:"17",className:"max-w-[50%] h-auto",height:"14",viewBox:"0 0 17 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M15.1426 7L1.0007 7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M6.78516 12.7854L0.999844 7.00009L6.78516 1.21478",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,i.jsx)("button",{className:"before:content-[''] before:absolute before:w-full before:h-full before:bg-castro before:rounded-full before:top-0 before:left-0 absolute xl:right-[95px] right-[30px] xl:bottom-[85px] bottom-[30px] rotate-180 text-white rounded-full lg:w-[45px] lg:h-[45px] w-[30px] h-[30px] flex items-center justify-center z-20 before:transition before:ease-in-out hover:before:scale-90 before:z-[-1]",onClick:()=>B((u+1)%f.length),"aria-label":"Next",role:"button",tabIndex:0,children:(0,i.jsxs)("svg",{role:"presentation",width:"17",className:"max-w-[50%] h-auto",height:"14",viewBox:"0 0 17 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M15.1426 7L1.0007 7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M6.78516 12.7854L0.999844 7.00009L6.78516 1.21478",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]}):null}},1893:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>p});var i=l(5155),n=l(5814),s=l(1726),a=l(2115),r=l(5239),o=l(7777),d=l.n(o),c=l(7406),m=l(5854),f=l(955);let p=e=>{var t,l,o,p,x;let u=e.items.fields,[h,g]=(0,a.useState)(0),[b,v]=(0,a.useState)(0),[w,j]=(0,a.useState)(!1),[N,y]=(0,a.useState)(1),[k,A]=(0,a.useState)(new Set([0])),[I,T]=(0,a.useState)({}),C=(0,a.useRef)(null),S=(0,a.useRef)(null),_=(0,a.useRef)(null),M=(0,a.useRef)([]),L=(0,a.useRef)(0),E=(0,a.useRef)(null),F=(0,a.useRef)(0),P=(0,a.useRef)(0),R=(0,a.useRef)(!1),B=()=>{S.current&&g(S.current.getBoundingClientRect().height/2)};(0,a.useEffect)(()=>{let e=()=>{L.current=window.innerHeight,B()};e(),window.addEventListener("resize",e);let t=()=>{E.current&&cancelAnimationFrame(E.current),E.current=requestAnimationFrame(()=>{(()=>{let e=L.current/2,t={};M.current.forEach((l,i)=>{if(l){let n=l.getBoundingClientRect(),s=n.top,a=n.bottom,r=0;r=s<=e&&a>=e?Math.min(1,Math.max(0,e-s)/(a-s)):+(s<e),t[i]=r}}),T(t)})(),(()=>{let e=L.current/2,t=0,l=1/0;M.current.forEach((i,n)=>{if(i){let s=i.getBoundingClientRect(),a=s.top,r=Math.abs(a+.2*s.height-e);r<l&&(l=r,t=n)}});let i=window.pageYOffset;R.current=i<P.current,P.current=i,A(t=>{let l=new Set(t);return M.current.forEach((t,i)=>{if(t){let n=t.getBoundingClientRect(),s=n.top+0*n.height;R.current?s>e&&l.delete(i):s<=e&&l.add(i)}}),l}),t!==F.current&&(F.current=t,y(0),j(!0),setTimeout(()=>{v(t),y(1)},250))})()})};return window.addEventListener("scroll",t,{passive:!0}),t(),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",t),E.current&&cancelAnimationFrame(E.current)}},[]);let W=null==(x=u.timeSlots[b])||null==(p=x.fields)||null==(o=p.image)||null==(l=o.fields)||null==(t=l.file)?void 0:t.url,z={renderText:e=>e.split("\n").reduce((e,t,l,n)=>(e.push(t),l<n.length-1&&e.push((0,i.jsx)("br",{},"br-".concat(l))),e),[]),renderNode:{[s.nA.PARAGRAPH]:(e,t)=>e.content.some(e=>"embedded-entry-inline"===e.nodeType||"embedded-entry-block"===e.n
1odeType)?(0,i.jsx)(i.Fragment,{children:t}):(0,i.jsx)("p",{children:t}),[s.XD.EMBEDDED_ENTRY]:e=>{var t;let l=null==(t=e.data.target.sys.contentType)?void 0:t.sys.id,s=e.data.target.fields;return"itemListForTables"===l&&s.content?(0,i.jsx)(i.Fragment,{children:(0,n.i)(s.content,z)}):"link"===l||"button"===l?(0,i.jsx)(f.default,{text:s.linkTitle,link:s.link,color:s.style,target:s.openInNewTab?"_blank":"_self"}):null},[s.nA.EMBEDDED_ENTRY]:e=>{var t;let l=null==(t=e.data.target.sys.contentType)?void 0:t.sys.id,s=e.data.target.fields;return"itemListForTables"===l&&s.content?(0,i.jsx)(i.Fragment,{children:(0,n.i)(s.content,z)}):"link"===l||"button"===l?(0,i.jsx)("div",{className:"my-2",children:(0,i.jsx)(f.default,{text:s.linkTitle,link:s.link,color:s.style,target:s.openInNewTab?"_blank":"_self"})}):null},[s.nA.UL_LIST]:(e,t)=>(0,i.jsx)("ul",{children:t}),[s.nA.OL_LIST]:(e,t)=>(0,i.jsx)("ol",{children:t}),[s.nA.LIST_ITEM]:(e,t)=>(0,i.jsx)("li",{children:t})}};return(0,i.jsx)("section",{id:u.id?u.id:"",className:"  \n            ".concat(!u.topIndent||"none"==u.topIndent?"mt-0":"mt-"+u.topIndent,"\n            ").concat(u.bottomIndent&&"none"!=u.bottomIndent?"mb-"+u.bottomIndent:"mb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[u.title2&&(0,i.jsx)("div",{className:"mb-[25px] lg:mb-[50px] text-center",children:(0,i.jsx)(c.A,{html:u.title2,tag:"h2"})}),(0,i.jsxs)("div",{className:"flex relative",ref:C,children:[W&&(0,i.jsx)("div",{className:"hidden md:block w-1/2 md:pr-[30px] xl:pr-[9%]",ref:_,children:(0,i.jsx)("div",{className:"h-full relative",style:{top:"".concat(h,"px")},children:(0,i.jsx)("div",{className:"sticky top-[calc(50%+(var(--header-height)/2))] -translate-y-[50%] rounded-[25px] lg:rounded-[50px] overflow-hidden transition-opacity duration-500",style:{opacity:N},children:(0,i.jsx)("div",{className:"relative w-full pt-[66%]",children:(0,i.jsx)(r.default,{ref:S,fill:!0,className:"object-cover",src:"https:".concat(u.timeSlots[b].fields.image.fields.file.url),alt:u.timeSlots[b].fields.title||"",sizes:"(min-width:1024px) 50vw, 100vw",onLoad:e=>{j(!1),setTimeout(()=>{B()},100)}})})})})}),(0,i.jsx)("div",{className:"".concat(W?"md:w-1/2":"md:w-full"," relative md:px-[30px] xl:px-[90px] relative z-[2]"),children:u.timeSlots.map((e,t)=>{var l,s;let a=I[t]||0;return(0,i.jsxs)("div",{className:"".concat(d().step," ").concat(k.has(t)?d().active:""),ref:e=>M.current[t]=e,children:[(0,i.jsx)("div",{className:"absolute md:left-[-31px] xl:left-[-91px] z-[1] h-full top-[30px] w-[2px] bg-warm-gray z-10  hidden md:block",children:(0,i.jsx)("div",{className:"w-full bg-castro ",style:{height:"".concat(100*a,"%"),transform:"translateY(0)"}})}),e.fields.image&&(null==(s=e.fields.image.fields)||null==(l=s.file)?void 0:l.url)&&(0,i.jsx)("div",{className:"relative mb-[20px] md:hidden rounded-[25px] lg:rounded-[50px] overflow-hidden pt-[66%]",children:(0,i.jsx)(r.default,{fill:!0,className:"object-cover",src:"https:".concat(e.fields.image.fields.file.url),alt:e.fields.title,sizes:"100vw"})}),(0,i.jsx)("div",{className:d().statusBar}),(0,i.jsxs)("div",{className:"z-[2] relative",children:[(0,i.jsx)("div",{className:d().stepTitle,children:e.fields.mainTitle}),e.fields.title&&(0,i.jsx)("h3",{className:"transition-opacity duration-500 ".concat(k.has(t)?"opacity-100":"opacity-0"),dangerouslySetInnerHTML:{__html:e.fields.title}}),e.fields.description&&(0,i.jsx)("div",{className:"transition-opacity check-list medium-indent duration-500 ".concat(k.has(t)?"opacity-100":"opacity-0"),children:(0,n.i)(e.fields.description,z)}),e.fields.button&&(0,i.jsx)("div",{className:"flex gap-1 mt-[20px] lg:mt-[30px] transition-opacity duration-500 ".concat(k.has(t)?"opacity-100":"opacity-0"),children:(0,i.jsx)(m.A,{text:e.fields.button.fields.linkTitle,link:e.fields.button.fields.link,color:e.fields.button.fields.style,target:e.fields.button.fields.openInNewTab?"_blank":"_self"})}),e.fields.note&&(0,i.jsx)("div",{className:"transition-opacity text-small mt-[20px] lg:mt-[30px] duration-500 ".concat(k.has(t)?"opacity-100":"opacity-0"),dangerouslySetInnerHTML:{__html:e.fields.note}})]})]},t)})})]})]})})}},2049:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>o});var i=l(5155),n=l(5814),s=l(5854),a=l(5239),r=l(7522);let o=e=>{var t;if(!(null==(t=e.items)?void 0:t.fields))return null;let l=e.items.fields,{ref:o}=(0,r.GK)(0),{ref:d}=(0,r.T$)(.5),{ref:c}=(0,r.T$)(1),{ref:m}=(0,r.T$)(1.5),{ref:f}=(0,r.T$)(2);return(0,i.jsx)("section",{className:"bg-warm-gray relative z-[2] \n            after:content-[''] after:z-[-1] after:opacity-15  after:absolute after:top-0 after:left-0 after:w-full after:h-full after:bg-[url('/pattern-light.svg')] after:bg-ce
1nter after:bg-[length:100%_auto]'}\n            ".concat(!l.topIndent||"none"==l.topIndent?"mt-0":"mt-"+l.topIndent,"\n            ").concat(l.bottomIndent&&"none"!=l.bottomIndent?"mb-"+l.bottomIndent:"mb-0","\n        "),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-2 md:gap-1 items-center py-[50px]",children:[(0,i.jsxs)("div",{className:"relative",children:[l.title&&(0,i.jsx)("h3",{className:"!mb-[10px] fade-in-up",ref:o,dangerouslySetInnerHTML:{__html:l.title}}),l.description&&(0,i.jsx)("div",{className:"fade-in",ref:d,children:(0,n.i)(l.description)}),l.buttonsList&&(0,i.jsx)("div",{className:"flex gap-[15px] flex-wrap mt-[20px] lg:mt-[30px] fade-in",ref:c,children:l.buttonsList.map((e,t)=>"itemIconTitle"==e.sys.contentType.sys.id?(0,i.jsxs)("div",{className:"flex items-center gap-[5px]",children:[(0,i.jsx)(a.default,{src:"https:".concat(e.fields.icon.fields.file.url),alt:e.fields.icon.fields.title||"",width:e.fields.icon.fields.file.details.image.width,height:e.fields.icon.fields.file.details.image.height}),(0,i.jsx)("span",{className:"inline-flex text-[14px]",children:e.fields.title})]},t):(0,i.jsx)("div",{children:(0,i.jsx)(s.A,{text:e.fields.linkTitle,link:e.fields.link,color:e.fields.style,target:e.fields.openInNewTab?"_blank":"_self","aria-label":e.fields.linkTitle,role:"button",tabIndex:0})},t))}),l.list&&(0,i.jsx)("div",{className:"flex gap-x-1 gap-y-1 lg:gap-x-2 flex-wrap flex-col lg:flex-row mt-[20px] font-[800] text-[14px] lg:mt-[30px] fade-in",ref:m,children:l.list.map((e,t)=>(0,i.jsxs)("div",{className:"flex items-center gap-[5px]",children:[(0,i.jsx)("div",{className:"inline-block",style:{maskImage:"url(https:".concat(e.fields.icon.fields.file.url,"?w=32&h=32&q=100)"),WebkitMaskImage:"url(https:".concat(e.fields.icon.fields.file.url,"?w=32&h=32&q=100)"),maskSize:"contain",WebkitMaskSize:"contain",maskRepeat:"no-repeat",WebkitMaskRepeat:"no-repeat",maskPosition:"center",WebkitMaskPosition:"center",backgroundColor:"#3A1C32",width:e.fields.icon.fields.file.details.image.width,height:e.fields.icon.fields.file.details.image.height},role:"img","aria-label":e.fields.icon.fields.title||""}),(0,i.jsx)("span",{className:"inline-flex pt-[2px]",dangerouslySetInnerHTML:{__html:e.fields.title}})]},t))}),l.addInfo&&(0,i.jsx)("div",{className:"mt-[20px] lg:mt-[40px] flex flex-col md:flex-row items-start gap-1 md:gap-2 bg-light-gray rounded-[25px] lg:rounded-[50px] p-[30px] xl:p-[50px] p-[30px] xl:p-[50px] fade-in",ref:f,children:l.addInfo.map((e,t)=>(0,i.jsxs)("div",{className:"flex-1",children:[(0,i.jsx)("h5",{className:" !mb-[20px]",children:e.fields.title}),(0,i.jsx)("div",{className:"text-medium check-list",children:(0,n.i)(e.fields.description)})]},t))})]}),l.image&&(0,i.jsx)("div",{className:"flex flex-col justify-center items-center",children:(0,i.jsx)(a.default,{src:"https:".concat(l.image.fields.file.url,"?w=1600&h=1200&q=100&fm=webp"),alt:l.image.fields.title||"",width:l.image.fields.file.details.image.width,height:l.image.fields.file.details.image.height,className:"w-[500px] lg:w-[600px]  max-w-full h-auto"})})]})})})}},2054:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>c});var i=l(5155),n=l(5814),s=l(955),a=l(5239),r=l(7406),o=l(7522),d=l(2115);let c=e=>{let t=e.items.fields,[l,c]=(0,d.useState)(0),{ref:m}=(0,o.T$)(l),{ref:f}=(0,o.T$)(l+.5);return(0,i.jsx)("section",{className:" \n            ".concat(!t.topIndent||"none"==t.topIndent?"pt-0":"pt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"pb-"+t.bottomIndent:"pb-0","\n        "),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-2 items-center",dir:t.imageLocationLeft?"rtl":"ltr",children:[(0,i.jsxs)("div",{className:"relative",dir:"ltr",children:[t.title&&(0,i.jsx)(r.A,{html:t.title,tag:"h2",onAnimationComplete:e=>{c(e)}}),t.description&&(0,i.jsx)("div",{ref:m,className:"fade-in check-list",children:(0,n.i)(t.description)}),t.link&&(0,i.jsx)("div",{ref:f,className:"flex mt-[20px] lg:mt-[30px] fade-in",children:(0,i.jsx)(s.default,{text:t.link.fields.linkTitle,link:t.link.fields.link,color:t.link.fields.style,target:t.link.fields.openInNewTab?"_blank":"_self"})})]}),(0,i.jsx)("div",{className:"flex flex-col justify-center items-center",dir:"ltr",children:t.image&&(0,i.jsx)(a.default,{className:"block mx-auto",src:"https:".concat(t.image.fields.file.url),alt:t.image.fields.title||"",width:t.image.fields.file.details.image.width,height:t.image.fields.file.details.image.height})})]})})})}},2187:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>m});var i=l(5155),n=l(7406),s=l(5814),a=l(7522),r=l(5854),o=l(2389);l(4960),l(4720);var d=l(2619),c=l.n(d);let m=e=>{let t=e.items.fields,{ref:l}=(0,a.T$)(.5),d=t.teamMembers?t.teamMembers.filter(e=>e&&e.fields&&e.fields.slug).length:0;return(0,i.jsx)("section",{id:t.id?t.id:"",className:" \n            ".concat("Top"==t.backgroundPosition?'bg-warm-gray bg-[url("/bg-team-top.svg")] bg-no-repeat bg-right-top bg-[length:70%_auto] md:bg-[length:45%_auto] lg:bg-[length:35%_auto]':""," \n            ").concat("Bottom"==t.backgroundPosition?'bg-warm-gray bg-[url("/bg-team-bottom.svg")] bg-no-repeat bg-left-bottom bg-[length:70%_auto] md:bg-[length:45%_auto] lg:bg-[length:35%_auto]':""," \n            ").concat(!t.topIndent||"none"==t.topIndent?"pt-0":"pt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"pb-"+t.bottomIndent:"pb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[t.title&&(0,i.jsxs)("div",{className:"flex gap-1 lg:gap-2 flex-col lg:flex-row justify-between lg:items-center mb-[40px]",children:[(0,i.jsxs)("div",{children:[t.title&&(0,i.jsx)(n.A,{html:t.title,tag:"h2"}),t.description&&(0,i.jsx)("div",{ref:l,className:"fade-in",children:(0,s.i)(t.description)})]}),t.button&&(0,i.jsx)("div",{children:(0,i.jsx)(r.A,{link:t.button.fields.link,text:t.button.fields.linkTitle,target:t.button.fields.openInNewTab?"_blank":"_self",color:t.button.fields.style})})]}),t.teamMembers&&(0,i.jsx)("div",{className:"team-slider relative",children:(0,i.jsx)(o.A,{...{dots:!1,infinite:d>3,speed:500,slidesToShow:3,slidesToScroll:1,centerPadding:"30px",arrows:d>3,autoplay:d>3,autoplaySpeed:5e3,responsive:[{breakpoint:1024,settings:{slidesToShow:2,centerPadding:"30px",infinite:d>2,arrows:d>2,autoplay:d>2}},{breakpoint:767,settings:{slidesToShow:1,centerPadding:"30px",arrows:!1,dots:d>1,infinite:d>1,autoplay:d>1}}]},children:t.teamMembers.filter(e=>e&&e.fields&&e.fields.slug).map((e,t)=>(0,i.jsxs)(c(),{href:"/team/"+function(e){return e?String(e).replace(/^\/+|\/+$/g,""):""}(e.fields.slug),className:" bg-white group rounded-[25px] lg:rounded-[50px] overflow-hidden",children:[e.fields.featuredImage&&(0,i.jsx)("div",{className:"w-full h-auto aspect-[1.175/1] overflow-hidden",children:(0,i.jsx)("img",{className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",src:e.fields.featuredImage.fields.file.url,alt:e.fields.title})}),(0,i.jsxs)("div",{className:"p-[30px] lg:p-[40px] xl:p-[50px] text-medium",children:[e.fields.title&&(0,i.jsx)("h4",{className:"m-0",children:e.fields.title}),e.fields.position&&(0,i.jsx)("p",{className:"m-0",children:e.fields.position})]})]},t))})})]})})}},3299:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>d});var i=l(5155),n=l(2115),s=l(1765),a=l(7725),r=l(5239);let o=e=>{let{logos:t=[]}=e,l=(0,n.useRef)(null),s=(0,n.useRef)(null),a=(0,n.useRef)(null),[o,d]=(0,n.use
1State)(!1);return((0,n.useEffect)(()=>{d(!0)},[]),(0,n.useEffect)(()=>{let e=l.current,t=s.current,i=a.current;t.innerHTML=e.innerHTML,i.innerHTML=e.innerHTML;let n=0,r=()=>{Math.abs(n-=1.3)>=e.offsetWidth&&(n=0),e.style.transform="translateX(".concat(n,"px)"),t.style.transform="translateX(".concat(n,"px)"),i.style.transform="translateX(".concat(n,"px)"),requestAnimationFrame(r)};r()},[o]),t.length)?(0,i.jsx)("div",{className:" overflow-hidden ",children:(0,i.jsxs)("div",{className:"mx-[-55px] h-[24px] relative flex items-center",children:[(0,i.jsx)("div",{className:"flex items-center will-change-transform",ref:l,children:o&&(null==t?void 0:t.map((e,t)=>(0,i.jsx)("span",{className:"px-[55px] block",children:(0,i.jsx)(r.default,{className:"w-auto h-[24px] max-w-none",src:(e=>"string"==typeof e&&e.startsWith("http")?e:e?"https:".concat(e):"")(e.fields.image.fields.file.url),width:e.fields.image.fields.file.details.image.width,height:e.fields.image.fields.file.details.image.height,alt:e.fields.image.fields.title||"image"})},t)))}),(0,i.jsx)("div",{className:" flex items-center will-change-transform",ref:s}),(0,i.jsx)("div",{className:" flex items-center will-change-transform",ref:a})]})}):null},d=e=>{let t=e.items.fields,l=t.quotes||[],n=t.cards||[],r=t.logos||[];return(0,i.jsxs)("section",{id:t.id?t.id:"",className:"relative bg-castro-gradient z-[1]\n            after:content-[''] after:absolute after:top-0 after:left-0 after:w-full after:h-full after:bg-[url('/bg-quote2.png')] after:bg-no-repeat after:bg-right-bottom after:bg-cover after:z-[-1]\n            ".concat(!t.topIndent||"none"==t.topIndent?"pt-0":"pt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"pb-"+t.bottomIndent:"pb-0","\n        "),children:[(0,i.jsxs)("div",{className:"container",children:[t.title&&(0,i.jsx)("div",{className:"mb-[25px] lg:mb-[50px]",children:(0,i.jsx)("h3",{className:"text-white text-center",children:t.title})}),n.length>0&&(0,i.jsx)("div",{className:"mb-[25px] lg:mb-[50px]",children:(0,i.jsx)(a.default,{cards:n,layout:"3",view:"transparent"})}),(0,i.jsx)(s.A,{quotes:l})]}),r.length>0&&(0,i.jsx)("div",{className:"mt-[25px] lg:mt-[50px]",children:(0,i.jsx)(o,{logos:r})})]})}},3737:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>m});var i=l(5155),n=l(5814);l(1726);var s=l(5854),a=l(5239),r=l(7406),o=l(7522),d=l(2115);let c={renderText:e=>e.split("\n").reduce((e,t,l)=>[...e,l>0?(0,i.jsx)("br",{},l):null,t],[])},m=e=>{var t;let l=e.items.fields,[m,f]=(0,d.useState)(0),[p,x]=(0,d.useState)(!1);(0,d.useEffect)(()=>{x(!0)},[]);let{ref:u}=(0,o.T$)(0),{ref:h}=(0,o.T$)(0),{ref:g}=(0,o.T$)(0),{ref:b}=(0,o.T$)(0);return(0,d.useEffect)(()=>{m>0&&(setTimeout(()=>{h.current&&(h.current.offsetHeight,h.current.classList.add("fade-in"))},1e3*m),setTimeout(()=>{g.current&&(g.current.offsetHeight,g.current.classList.add("fade-in"))},1e3*m+500),setTimeout(()=>{b.current&&(b.current.offsetHeight,b.current.classList.add("fade-in"))},1e3*m+1e3))},[m]),(0,i.jsx)("section",{className:"bg-red-gradient text-white\n            ".concat("Center Circle"==l.decorStyle?'bg-[url("/Center-Circle.svg")] bg-[length:100%_auto] bg-no-repeat bg-bottom':' bg-[url("/Rounded-Bottom-Left.svg")] bg-no-repeat bg-left-bottom',"\n            ").concat(!l.topIndent||"none"==l.topIndent?"mt-0":"mt-"+l.topIndent,"\n            ").concat(l.bottomIndent&&"none"!=l.bottomIndent?"mb-"+l.bottomIndent:"mb-0","\n        "),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-2 md:gap-1 items-center py-[50px]",children:[(0,i.jsxs)("div",{className:"relative",children:[l.subtitle&&(0,i.jsxs)("div",{ref:u,className:"text-[16px] font-[800] flex items-center gap-[10px] mb-[20px] lg:mb-[30px] fade-in",children:[(null==(t=l.animatedIcon)?void 0:t.fields.icon)?(0,i.jsx)(LottieIcon,{animationPath:"/animations/".concat(l.animatedIcon.fields.icon.replace(/\s+/g,"-"),".json"),autoplay:!0,loop:!0,width:58,height:58,className:"w-[58px] h-[58px] m-[-13px] ml-[-6px]"}):(0,i.jsx)(a.default,{src:"https:".concat(l.icon.fields.file.url,"?w=64&h=64&q=100&fm=webp"),alt:l.icon.fields.title||"",width:l.icon.fields.file.details.image.width,height:l.icon.fields.file.details.image.height}),(0,i.jsx)("span",{className:"pt-[2px] inline-flex",children:l.subt
1itle})]}),l.title&&(0,i.jsx)(r.A,{html:l.title,tag:"h1",delay:.5,onAnimationComplete:e=>{f(e)},className:"h2"}),l.description&&(0,i.jsx)("div",{ref:h,className:p?"opacity-0":"fade-in",children:(0,n.i)(l.description,c)}),l.buttonsList&&(0,i.jsx)("div",{ref:g,className:"flex gap-[15px] flex-wrap mt-[20px] lg:mt-[30px] ".concat(p?"opacity-0":"fade-in"),children:l.buttonsList.map((e,t)=>(0,i.jsx)("div",{children:(0,i.jsx)(s.A,{text:e.fields.linkTitle,link:e.fields.link,color:e.fields.style,target:e.fields.openInNewTab?"_blank":"_self","aria-label":e.fields.linkTitle,role:"button",tabIndex:0})},t))}),l.list&&(0,i.jsx)("div",{ref:b,className:"flex gap-x-1 gap-y-1 lg:gap-x-2 flex-wrap flex-col lg:flex-row mt-[20px] font-[800] text-[14px] lg:mt-[30px] ".concat(p?"opacity-0":"fade-in"),children:l.list.map((e,t)=>(0,i.jsxs)("div",{className:"flex items-center gap-[5px]",children:[(0,i.jsx)(a.default,{src:"https:".concat(e.fields.icon.fields.file.url,"?w=32&h=32&q=100"),alt:e.fields.icon.fields.title||"",width:e.fields.icon.fields.file.details.image.width,height:e.fields.icon.fields.file.details.image.height}),(0,i.jsx)("span",{className:"inline-flex pt-[2px]",dangerouslySetInnerHTML:{__html:e.fields.title}})]},t))})]}),l.image&&(0,i.jsx)("div",{className:"flex flex-col justify-center items-center",children:(0,i.jsx)(a.default,{src:"https:".concat(l.image.fields.file.url,"?w=1600&h=1200&q=100&fm=webp"),alt:l.image.fields.title||"",width:l.image.fields.file.details.image.width,height:l.image.fields.file.details.image.height,className:"w-[500px] lg:w-[600px]  max-w-full h-auto"})})]})})})}},4064:(e,t,l)=>{"use strict";l.d(t,{default:()=>r});var i=l(5155),n=l(2115),s=l(63);function a(e){let{label:t,options:l,value:s,onChange:a}=e,[r,o]=(0,n.useState)(!1),d=(0,n.useRef)(null);return(0,n.useEffect)(()=>{function e(e){d.current&&!d.current.contains(e.target)&&o(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),(0,i.jsxs)("div",{ref:d,className:"relative w-full min-w-0",children:[(0,i.jsxs)("button",{type:"button",className:"w-full max-w-full overflow-hidden bg-warm-gray flex items-center justify-between border-none rounded-[10px] text-[14px] lg:text-[16px] font-[800] px-[15px] py-[12px]  lg:px-[30px] lg:py-[18px] text-left",onClick:()=>o(!r),children:[(0,i.jsx)("span",{className:"flex-1 min-w-0 overflow-hidden whitespace-nowrap text-ellipsis mr-[10px]",children:s||t}),(0,i.jsx)("span",{className:"flex-shrink-0 block transition-all duration-300 ".concat(r?"rotate-180":"rotate-0"),children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.jsx)("path",{d:"M6 9L12 15L18 9",stroke:"#3A1C32",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),r&&(0,i.jsxs)("div",{className:"absolute z-10 w-full py-[10px] bg-warm-gray rounded-[10px]",children:[(0,i.jsx)("button",{type:"button",className:"block w-full text-left lg:px-[30px] px-[15px] py-[5px] text-[14px] lg:text-[16px]  ".concat(""===s?"font-[800]":""),onClick:()=>{a(""),o(!1)},children:"All locations"}),l.map(e=>(0,i.jsx)("button",{type:"button",className:"block w-full text-left lg:px-[30px] px-[15px] py-[5px] text-[14px] lg:text-[16px] ".concat(s===e?"font-[800]":""),onClick:()=>{a(e),o(!1)},children:e},e))]})]})}let r=e=>{let{filterOptions:t,selectedLocation:l,selectedService:r,selectedLanguage:o,premierOnly:d}=e,c=(0,s.useRouter)(),m=(0,s.usePathname)(),f=(0,s.useSearchParams)(),[p,x]=(0,n.useTransition)(),u=!!(l||r||o||d),h=(e,t)=>{let l=new URLSearchParams((null==f?void 0:f.toString())||"");t?l.set(e,t):l.delete(e),l.delete("page");let i=l.toString();x(()=>{c.replace(i?"".concat(m,"?").concat(i):m,{scroll:!1})})};return(0,i.jsxs)("div",{className:"mb-[20px] flex lgMin:flex-row flex-col lgMin:items-center gap-1 xl:gap-2",children:[(0,i.jsx)(a,{label:"All locations",options:t.locations,value:l||"",onChange:e=>h("location",e)}),(0,i.jsx)(a,{label:"All services",options:t.services,value:r||"",onChange:e=>h("service",e)}),(0,i.jsx)(a,{label:"Any language",options:t.languages,value:o||"",onChange:e=>h("language",e)}),(0,i.jsx)("div",{className:"flex items-end gap-2",children:(0,i.jsxs)("label",{className:"custom-checkbox m-0 flex items-start relative overflow-hidden cursor-pointer",children:[(0,i.jsx)("input",{type:"checkbox",name:"premier",value:"1",checked:d,className:"absolute left-[-999px] w-0 h-0",onChange:e=>{let t=new URLSearchParams((null==f?void 0:f.toString())||"");e.target.checked?t.set("premier","1"):t.delete("premier"),t.delete("page");let l=t.toString();x(()=>{c.replace(l?"".concat(m,"?").concat(l):m,{scroll:!1})})}}),(0,i.jsx)("span",{className:"text-[16px] block w-full whitespace-nowrap",children:"Premier Bankers only"})]})}),(0,i.jsx)("div",{className:"flex transition-all duration-300 ".concat(u?"opacity-100 visible":"opacity-0 invisible"),children:(0,i.jsxs)("button",{type:"button",onClick:()=>{let e=new URLSearchParams((null==f?void 0:f.toString())||"");e.delete("location"),e.delete("service"),e.delete("language"),e.delete("premier"),e.delete("page");let t=e.toString();x(()=>{c.replace(t?"".concat(m,"?").concat(t):m,{scroll:!1})})},className:"whitespace-nowrap border-none group text-[16px] font-[800] hover:text-red transition-all duration-300 inline-flex items-center gap-[5px]",children:["Clear filters",(0,i.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,i.jsx)("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",className:"transition-all duration-300 group-hover:fill-red",fill:"#3A1C32"}),(0,i.jsx)("path",{d:"M15.5 8.5L8.5 15.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M8.5 8.5L15.5 15.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})]})})]})}},4300:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>s});var i=l(5155);l(2115);var n=l(1765);let s=e=>{let t=e.items.fields,l=t.quotes||[];return(0,i.jsx)("section",{id:t.id?t.id:"",className:"relative bg-castro bg-[url('/Backgroun
1d.webp')] bg-no-repeat bg-center bg-cover\n            ".concat(!t.topIndent||"none"==t.topIndent?"pt-0":"pt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"pb-"+t.bottomIndent:"pb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[t.title&&(0,i.jsx)("div",{className:"mb-[25px] lg:mb-[50px]",children:(0,i.jsx)("h3",{className:"text-white text-center",children:t.title})}),l.length>0&&(0,i.jsx)(n.A,{quotes:l})]})})}},4305:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>c});var i=l(5155),n=l(2619),s=l.n(n),a=l(2115),r=l(1224),o=l.n(r);let d=e=>e?e.replace("/","").replace("#",""):"",c=e=>{var t,l,n,r;let c=e.items.fields,[m,f]=(0,a.useState)(!1),[p,x]=(0,a.useState)(!1),[u,h]=(0,a.useState)(!1),[g,b]=(0,a.useState)(""),[v,w]=(0,a.useState)(!0),[j,N]=(0,a.useState)(!0),[y,k]=(0,a.useState)(!1),[A,I]=(0,a.useState)(!1),T=(0,a.useRef)(null),C=(0,a.useRef)(null),[S,_]=(0,a.useState)(0),M=e=>{let t=e.currentTarget.getAttribute("href");(null==t?void 0:t.startsWith("#"))&&b(t.replace("#",""))};return(0,a.useEffect)(()=>{let e=!1,t=e=>document.getElementById(e)||document.querySelector('[data-section="'.concat(e,'"]')),l=()=>{T.current&&_(T.current.offsetHeight)},i=()=>{x(window.innerWidth<1025)},n=()=>{let e=window.location.hash.replace("#","");e&&setTimeout(()=>b(e),100)},s=()=>{e||(requestAnimationFrame(()=>{(()=>{if(C.current){let e=C.current.getBoundingClientRect(),t=document.getElementById("header-container"),l=t?t.offsetHeight:80;f(e.top<=l+10)}let e=document.querySelector(".large_cta_section");e&&I(e.getBoundingClientRect().top<0)})(),(()=>{if(!c.menuItems)return;let e=(()=>{let e=getComputedStyle(document.documentElement).getPropertyValue("--header-height");if(e){let t=parseInt(e);if(!isNaN(t)&&t>0)return t}let t=document.getElementById("header-container");if(t)return t.offsetHeight;let l=getComputedStyle(document.documentElement).getPropertyValue("--headerTop");if(l){let e=parseInt(l);if(!isNaN(e)&&e>0)return e}return window.innerWidth<1025?90:104})(),l=e+(window.innerHeight-e)/2,i=null,n=1/0;c.menuItems.forEach(s=>{var a;if(!(null==s||null==(a=s.fields)?void 0:a.link))return;let r=d(s.fields.link),o=t(r);if(o){let t=o.getBoundingClientRect();if(t.bottom>e&&t.top<window.innerHeight){let e=Math.abs(t.top+t.height/2-l);e<n&&(n=e,i=r)}}}),i&&b(i)})(),e=!1}),e=!0)};l(),i();let a=(()=>{var e,l,i,n;if(!c.menuItems)return null;let s=null==(l=c.menuItems[0])||null==(e=l.fields)?void 0:e.link,a=null==(n=c.menuItems[c.menuItems.length-1])||null==(i=n.fields)?void 0:i.link,r=d(s),o=d(a),m=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.target.id;t===r&&w(e.isIntersecting),t===o&&N(e.isIntersecting)})},{threshold:.1,rootMargin:"0px"}),f=new IntersectionObserver(e=>{e.forEach(e=>k(e.isIntersecting))},{threshold:.4,rootMargin:"0px"});c.menuItems.forEach(e=>{var l;if(!(null==e||null==(l=e.fields)?void 0:l.link))return;let i=t(d(e.fields.link));i&&m.observe(i)});let p=document.querySelector(".large_cta_section");return p&&f.observe(p),{visibilityObserver:m,ctaObserver:f}})();n();let r=()=>{l(),i()},o=e=>{T.current&&!T.current.contains(e.target)&&h(!1)};return window.addEventListener("scroll",s),window.addEventListener("hashchange",n),window.addEventListener("resize",r),document.addEventListener("mousedown",o),()=>{window.removeEventListener("scroll",s),window.removeEventListener("hashchange",n),window.removeEventListener("resize",r),document.removeEventListener("mousedown",o),a&&(a.visibilityObserver.disconnect(),a.ctaObserver.disconnect())}},[]),(0,i.jsx)("section",{ref:C,className:" \n                ".concat(o().teamNavWrapper," relative\n                ").concat(!c.topIndent||"none"==c.topIndent?"mt-[20px]":"mt-"+c.topIndent,"\n                ").concat(c.bottomIndent&&"none"!=c.bottomIndent?"mb-"+c.bottomIndent:"mb-0","\n            "),style:{height:S>0?"".concat(S,"px"):"auto"},children:(0,i.jsx)("div",{ref:T,className:" \n                    ".concat(m?o().teamNavFixed:"absolute top-0 left-0 right-0","\n                    ").concat(y||A?"opacity-0 pointer-events-none transition-opacity duration-300":"opacity-100 transition-opacity duration-300","\n                "),children:(0,i.jsx)("div",{className:"container",children:c.menuItems&&(p?(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsxs)("button",{onClick:()=>h(!u),className:" w-full text-left  ".concat("Grey"==c.backgroundColor?"bg-warm-gray":"bg-castro text-white"," rounded-[25px]  px-2 h-[54px] py-[5px] text-[16px] font-[800] flex justify-between items-center"),children:[(0,i.jsx)("span",{className:"w-full text-left block",children:(null==(l=c.menuItems.find(e=>{var t;return!!(null==e||null==(t=e.fields)?void 0:t.link)&&d(e.fields.link)===g}))||null==(t=l.fields)?void 0:t.linkTitle)||(null==(r=c.menuItems[0])||null==(n=r.fields)?void 0:n.linkTitle)}),(0,i.jsx)("span",{className:"transform transition-transform flex items-center justify-center ".concat(u?"rotate-[-90deg]":"rotate-90"),children:(0,i.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M6 4L10 8L6 12",stroke:"Grey"==c.backgroundColor?"#3A1C32":"#F8FEF9",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),u&&(0,i.jsx)("div",{className:"absolute top-full left-0 right-0 mt-[10px] py-[10px] ".concat("Grey"==c.backgroundColor?"bg-warm-gray":"bg-castro text-white"," rounded-[25px] overflow-hidden z-50"),children:c.menuItems.map((e,t)=>{var l;if(!(null==e||null==(l=e.fields)?void 0:l.link))return null;let n=d(e.fields.link),a=0===t,r=t===c.menuItems.length-1;return(0,i.jsx)(s(),{href:e.fields.link,className:"block ".concat("Grey"==c.backgroundColor?"":"text-white"," text-[16px] font-[800] py-[10px] px-[30px] hover:text-red transition-colors ").concat(n!==g||a&&!v||r&&!j?"":"text-red"),onClick:e=>{h(!1),M(e)},children:e.fields.linkTitle},t)})})]}):(0,i.jsx)("div",{className:"flex justify-evenly ".concat("Grey"==c.backgroundColor?"bg-warm-gray":"bg-castro text-white"," gap-1 rounded-[37px] px-1 xl:px-2 "),children:c.menuItems.map((e,t)=>{var l;if(!(null==e||null==(l=e.fields)?void 0:l.link))return null;let n=d(e.fields.link),a=0===t,r=t===c.menuItems.length-1;return(0,i.jsx)("div",{className:"text-[16px] font-[800]",children:(0,i.jsx)(s(),{href:e.fields.link,className:"block relative ".concat(o().teamNavLink," ").concat(n!==g||a&&!v||r&&!j?"":o().active),onClick:M,children:(0,i.jsx)("span",{className:"block",children:e.fields.linkTitle})})},t)})}))})})})}},4914:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>f});var i=l(5155),n=l(5814),s=l(7522),a=l(7406),r=l(5854),o=l(1726),d=l(2115),c=l(955);let m=e=>{let{item:t,index:l,isOpen:s,onToggle:a}=e,r=(0,d.useRef)(null);(0,d.useEffect)(()=>{s&&r.current&&setTimeout(()=>{let e=r.current,t=e.getBoundingClientRect(),l=parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--header-height"))||0;if(!(t.top>=l&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight))){let t=e.getBoundingClientRect().top+window.pageYOffset;window.scrollTo({top:t-l,behavior:"smooth"})}},501)},[s]);let m={renderText:e=>e.split("\n").reduce((e,t,l,n)=>(e.push(t),l<n.length-1&&e.push((0,i.jsx)("br",{},"br-".concat(l))),e),[]),renderNode:{[o.nA.PARAGRAPH]:(e,t)=>e.content.some(e=>"embedded-entry-inline"===e.nodeType||"embedded-entry-block"===e.n
1odeType)?(0,i.jsx)(i.Fragment,{children:t}):(0,i.jsx)("p",{children:t}),[o.XD.EMBEDDED_ENTRY]:e=>{var t;let l=null==(t=e.data.target.sys.contentType)?void 0:t.sys.id,s=e.data.target.fields;return"itemListForTables"===l&&s.content?(0,i.jsx)(i.Fragment,{children:(0,n.i)(s.content,m)}):"link"===l||"button"===l?(0,i.jsx)(c.default,{text:s.linkTitle,link:s.link,color:s.style,target:s.openInNewTab?"_blank":"_self"}):null},[o.nA.EMBEDDED_ENTRY]:e=>{var t;let l=null==(t=e.data.target.sys.contentType)?void 0:t.sys.id,s=e.data.target.fields;return"itemListForTables"===l&&s.content?(0,i.jsx)(i.Fragment,{children:(0,n.i)(s.content,m)}):"link"===l||"button"===l?(0,i.jsx)("div",{className:"my-2",children:(0,i.jsx)(c.default,{text:s.linkTitle,link:s.link,color:s.style,target:s.openInNewTab?"_blank":"_self"})}):null}}};return(0,i.jsxs)("div",{ref:r,className:"bg-warm-gray rounded-[10px] overflow-hidden",children:[(0,i.jsxs)("h5",{className:"p-1 lg:p-[30px] mb-0 relative z-[2] cursor-pointer flex items-center justify-between gap-1 hover:bg-opacity-80 transition-colors",onClick:()=>a(l),children:[(0,i.jsxs)("span",{children:[(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:t.fields.title}})," ",t.fields.addTitle1&&(0,i.jsx)("span",{className:"block text-[16px] font-[600]",dangerouslySetInnerHTML:{__html:t.fields.addTitle1}})]}),(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",className:"transition-all duration-300 w-[30px] h-[30px] flex-shrink-0",children:[(0,i.jsx)("path",{d:"M15 27.5C21.9036 27.5 27.5 21.9036 27.5 15C27.5 8.09644 21.9036 2.5 15 2.5C8.09644 2.5 2.5 8.09644 2.5 15C2.5 21.9036 8.09644 27.5 15 27.5Z",stroke:"#3A1C32",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),s?(0,i.jsx)("path",{d:"M10 15H20",stroke:"#3A1C32",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("path",{d:"M15 10V20",stroke:"#3A1C32",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M10 15H20",stroke:"#3A1C32",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]})]})]}),(0,i.jsx)("div",{className:"text-medium transition-all duration-500 ease-out overflow-hidden ".concat(s?"grid-rows-1":"grid-rows-0"),style:{display:"grid",gridTemplateRows:s?"1fr":"0fr",transition:"grid-template-rows 0.5s ease-out"},children:(0,i.jsx)("div",{className:"overflow-hidden",children:(0,i.jsx)("div",{className:"px-1 pb-1 lg:px-[30px] lg:pb-[30px] rich-text faq-table",children:(0,n.i)(t.fields.description,m)})})})]})},f=e=>{let t=e.items.fields,[l,o]=(0,d.useState)(0),[c,f]=(0,d.useState)(null),{ref:p}=(0,s.T$)(l),{ref:x}=(0,s.T$)(l+.5),u=e=>{f(c===e?null:e)};return(0,i.jsx)("section",{id:t.id?t.id:"",className:" \n            ".concat(!t.topIndent||"none"==t.topIndent?"mt-0":"mt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"mb-"+t.bottomIndent:"mb-[30px]","\n        "),children:(0,i.jsxs)("div",{className:" container relative grid grid-cols-1 gap-2 ".concat(t.title?"lg:grid-cols-2":""," items-start"),children:[t.title&&(0,i.jsxs)("div",{children:[t.title&&(0,i.jsx)(a.A,{html:t.title,tag:"h2",onAnimationComplete:e=>{o(e)}}),t.description&&(0,i.jsx)("div",{ref:p,className:"fade-in",children:(0,n.i)(t.description)}),t.button&&(0,i.jsx)("div",{className:"mt-[20px] fade-in",ref:x,children:(0,i.jsx)(r.A,{text:t.button.fields.linkTitle,link:t.button.fields.link,color:t.button.fields.style,target:t.button.fields.openInNewTab?"_blank":"_self"})})]}),t.faqItems&&(0,i.jsx)("div",{className:"flex flex-col gap-2",children:t.faqItems.map((e,t)=>(0,i.jsx)(m,{item:e,index:t,isOpen:c===t,onToggle:u},t))})]})})}},5641:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>v});var i=l(5155),n=l(2115),s=l(7406),a=l(5814),r=l(5854),o=l(955),d=l(5239),c=l(7522);let m=JSON.parse('{"accounts":[{"id":"vantage-personal-checking","name":"Vantage Personal Checking","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{"primary":{"text":"View details","link":"#","target":"_self"},"secondary":{"text":"Find a branch","link":"#","target":"_self"}}},{"id":"personal-checking","name":"Vantage Personal Checking","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{"primary":{"text":"View details","link":"#","target":"_self"},"secondary":{"text":"Find a branch","link":"#","target":"_self"}}},{"id":"premier-checking","name":"Vantage Premier Checking","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{"primary":{"text":"View details","link":"#","target":"_self"},"secondary":{"text":"Find a branch","link":"#","target":"_self"}}},{"id":"interest-checking","name":"Vantage Interest Checking","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{"primary":{"text":"View details","link":"#","target":"_self"},"secondary":{"text":"Find a branch","link":"#","target":"_self"}}}],"features":[{"key":"minimumdeposit","label":"Minimum opening deposit"},{"key":"monthlyfee","label":"Monthly service fee"},{"key":"waysToWaiveFee","label":"Ways to waive fee"},{"key":"interestAPY","label":"Interest/APY"},{"key":"rewards","label":"Rewards"},{"key":"atmAccess","label":"ATM Access"},{"key":"debitCard","label":"Debit card"},{"key":"onlineMobileBanking","label":"Online & mobile banking"},{"key":"overdraftOptions","label":"Overdraft options"},{"key":"idealFor","label":"Ideal for"}]}'),f=JSON.parse('{"accounts":[{"id":"first","name":"","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{}},{"id":"second","name":"","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{}},{"id":"third","name":"","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{}},{"id":"fourth","name":"","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{}}],"features":[{"key":"minimumdeposit","label":"Minimum opening deposit"},{"key":"monthlyfee","label":"Monthly service fee"},{"key":"waysToWaiveFee","label":"Ways to waive fee"},{"key":"interestAPY","label":"Interest/APY"},{"key":"rewards","label":"Rewards"},{"key":"atmAccess","label":"ATM Access"},{"key":"debitCard","label":"Debit card"},{"key":"onlineMobileBanking","label":"Online & mobile banking"},{"key":"overdraftOptions","label":"Overdraft options"},{"key":"idealFor","label":"Ideal for"}]}'),p=JSON.parse('{"accounts":[{"id":"business-checking","name":"Business Checking","icon":"","bestfor":"Everyday business spending and payments","minimumbalance":"$100 minimum deposit","monthlyfee":"$15 if minimum isn’t met","balanceToAvoidFee":"Maintain $2,500 daily minimum","transactionsIncluded":"Unlimited check writing: per-item fees may apply over free limits","excessTransactionFee":"$0.30 per item over free monthly limit","atmWithdrawalsFee":"$3 at non-Vantage or Allpoint ATMs","eStatements":"Free- e-statement with images","overdraftPrivilege":"Available, subject to approval","documentationToOpen":"1 ID + SSN (domestic) or 2 IDs (foreign); formation docs, EIN and company agreements","cta":{"primary":{"text":"Speak with a banker","link":"#","target":"_self"},"secondary":{"text":"Contact us online","link":"#","target":"_self"}}},{"id":"business-money-market","name":"Business Money Market","icon":"","bestfor":"Earning interest with flexible access","minimumbalance":"$100 minimum deposit","monthlyfee":"$15 if daily balance isn\'t met yet","balanceToAvoidFee":"$2,500 daily minimum","transactionsIncluded":"6 transfers/withdrawals per month at no charge","excessTransactionFee":"$15 per transaction over 6 per month","atmWithdrawalsFee":"$3 at non-Vantage or Allpoint ATMs","eStatements":"N/A","overdraftPrivilege":"Available, subject to approval","documentationToOpen":"N/A","cta":{"primary":{"text":"Speak with a banker","link":"#","target":"_self"},"secondary":{"text":"Contact us online","link":"#","target":"_self"}}},{"id":"business-cds","name":"Business CDs","icon":"","bestfor":"Fixed-term savings that earn interest","minimumbalance":"N/A","monthlyfee":"N/A","balanceToAvoidFee":"N/A","transactionsIncluded":"N/A","excessTransactionFee":"Early withdrawal penalties may apply","atmWithdrawalsFee":"N/A","eStatements":"N/A","overdraftPrivilege":"N/A","documentationToOpen":"N/A","cta":{"primary":{"text":"Speak with a banker","link":"#","target":"_self"},"secondary":{"text":"Contact us online","link":"#","target":"_self"}}},{"id":"iolta-accounts","name":"IOLTA Accounts","icon":"","bestfor":"Attorneys holding client funds","minimumbalance":"N/A","monthlyfee":"No service fees","balanceToAvoidFee":"N/A","transactionsIncluded":"N/A","excessTransactionFee":"N/A","atmWithdrawalsFee":"N/A","eStatements":"N/A","overdraftPrivilege":"N/A","documentationToOpen":"ID(s), SSN (domestic), formation docs, EIN, and IOLTA notice","cta":{"primary":{"text":"Speak with a banker","link":"#","target":"_self"},"secondary":{"text":"Contact us online","link":"#","target":"_self"}}}],"features":[{"key":"bestfor","label":"Best for"},{"key":"minimumbalance","label":"Minimum to open"},{"key":"monthlyfee","label":"Monthly service fee"},{"key":"balanceToAvoidFee","label":"Balance to avoid fee"},{"key":"transactionsIncluded","label":"Transactions included"},{"key":"excessTransactionFee","label":"Excess transaction fee"},{"key":"atmWithdrawalsFee","label":"ATM withdrawals fee"},{"key":"eStatements","label":"E-statements"},{"key":"overdraftPrivilege","label":"Overdraft privilege"},{"key":"documentationToOpen","label":"Documentation to open"}]}'),x=JSON.parse('{"accounts":[],"features":[{"key":"bestfor","label":"Best for"},{"key":"minimumbalance","label":"Minimum to open"},{"key":"monthlyfee","label":"Monthly service fee"},{"key":"balanceToAvoidFee","label":"Balance to avoid fee"},{"key":"transactionsIncluded","label":"Transactions included"},{"key":"excessTransactionFee","label":"Excess transaction fee"},{"key":"atmWithdrawalsFee","label":"ATM withdrawals fee"},{"key":"eStatements","label":"E-statements"},{"key":"overdraftPrivilege","label":"Overdraft privilege"},{"key":"documentationToOpen","label":"Documentation to open"}]}'),u=JSON.parse('{"accounts":[{"id":"vantage-personal-checking","name":"Vantage Personal Checking","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{"primary":{"text":"Ver detalles","link":"#","target":"_self"},"secondary":{"text":"Encontrar una sucursal","link":"#","target":"_self"}}},{"id":"rewards-checking","name":"Vantage Rewards Checking","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{"primary":{"text":"Ver detalles","link":"#","target":"_self"},"secondary":{"text":"Encontrar una sucursal","link":"#","target":"_self"}}},{"id":"premier-checking","name":"Vantage Premier Checking","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{"primary":{"text":"Ver detalles","link":"#","target":"_self"},"secondary":{"text":"Encontrar una sucursal","link":"#","target":"_self"}}},{"id":"interest-checking","name":"Vantage Interest Checking","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{"primary":{"text":"Ver detalles","link":"#","target":"_self"},"secondary":{"text":"Encontrar una sucursal","link":"#","target":"_self"}}}],"features":[{"key":"minimumdeposit","label":"Dep\xf3sito inicial m\xednimo"},{"key":"monthlyfee","label":"Cuota mensual de servicio"},{"key":"waysToWaiveFee","label":"Formas de exenci\xf3n de la cuota"},{"key":"interestAPY","label":"Inter\xe9s/APY"},{"key":"rewards","label":"Recompensas"},{"key":"atmAccess","label":"Acceso a cajeros autom\xe1ticos"},{"key":"debitCard","label":"Tarjeta de d\xe9bito"},{"key":"onlineMobileBanking","label":"Banca en l\xednea y m\xf3vil"},{"key":"overdraftOptions","label":"Opciones de sobregiro"},{"key":"idealFor","label":"Ideal para"}]}'),h=JSON.parse('{"accounts":[{"id":"first","name":"N/A","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{}},{"id":"second","name":"N/A","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{}},{"id":"third","name":"N/A","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{}},{"id":"fourth","name":"N/A","icon":"","minimumdeposit":"N/A","monthlyfee":"N/A","waysToWaiveFee":"N/A","interestAPY":"N/A","rewards":"N/A","features":{"atmAccess":"N/A"},"debitCard":"N/A","onlineMobileBanking":"N/A","overdraftOptions":"N/A","idealFor":"N/A","cta":{}}],"features":[{"key":"minimumdeposit","label":"Dep\xf3sito inicial m\xednimo"},{"key":"monthlyfee","label":"Cuota mensual de servicio"},{"key":"waysToWaiveFee","label":"Formas de exenci\xf3n de la cuota"},{"key":"interestAPY","label":"Inter\xe9s/APY"},{"key":"rewards","label":"Recompensas"},{"key":"atmAccess","label":"Acceso a cajeros autom\xe1ticos"},{"key":"debitCard","label":"Tarjeta de d\xe9bito"},{"key":"onlineMobileBanking","label":"Banca en l\xednea y m\xf3vil"},{"key":"overdraftOptions","label":"Opciones de sobregiro"},{"key":"idealFor","label":"Ideal para"}]}'),g=JSON.parse('{"accounts":[{"id":"business-checking","name":"Cuenta Corriente de Negocios","icon":"","bestfor":"Gastos y pagos cotidianos de negocios","minimumbalance":"Dep\xf3sito m\xednimo de $100","monthlyfee":"$15 si no se cumple el m\xednimo","balanceToAvoidFee":"Mant\xe9nga un saldo m\xednimo diario de $2,500","transactionsIncluded":"Emisi\xf3n ilimitada de cheques: pueden aplicarse cuotas por art\xedculo por l\xedmites gratuitos","excessTransactionFee":"$0.30 por art\xedculo por encima del l\xedmite mensual gratuito","atmWithdrawalsFee":"$3 en cajeros autom\xe1ticos que no sean de Vantage o Allpoint","eStatements":"Estados de cuentas electr\xf3nicos con im\xe1genes gratuitos","overdraftPrivilege":"Disponible, sujeto a aprobaci\xf3n","documentationToOpen":"Una identificaci\xf3n + n\xfamero de Seguro Social (nacional) o 2 identificaciones (extranjeras); documentos de constituci\xf3n, EIN y acuerdos de la em
1presa","cta":{"primary":{"text":"Hablar con un banquero","link":"#","target":"_self"},"secondary":{"text":"Cont\xe1ctenos en l\xednea","link":"#","target":"_self"}}},{"id":"business-money-market","name":"Mercado Monetario","icon":"","bestfor":"Ganar intereses con acceso flexible","minimumbalance":"","monthlyfee":"$15 si no se cumple el m\xednimo","balanceToAvoidFee":"Mant\xe9nga un saldo m\xednimo diario de $2,500","transactionsIncluded":"6 transferencias/retiros al mes sin costo","excessTransactionFee":"$15 por transacci\xf3n que sea m\xe1s de 6 al mes","atmWithdrawalsFee":"$3 en cajeros autom\xe1ticos que no sean de Vantage o Allpoint","eStatements":"N/A","overdraftPrivilege":"Disponible, sujeto a aprobaci\xf3n","documentationToOpen":"N/A","cta":{"primary":{"text":"Hablar con un banquero","link":"#","target":"_self"},"secondary":{"text":"Cont\xe1ctenos en l\xednea","link":"#","target":"_self"}}},{"id":"business-cds","name":"CDs de Negocios","icon":"","bestfor":"Ahorros a plazo fijo que generan intereses","minimumbalance":"N/A","monthlyfee":"N/A","balanceToAvoidFee":"N/A","transactionsIncluded":"N/A","excessTransactionFee":"Pueden aplicarse penalizaciones por retiros anticipada","atmWithdrawalsFee":"N/A","eStatements":"N/A","overdraftPrivilege":"N/A","documentationToOpen":"N/A","cta":{"primary":{"text":"Hablar con un banquero","link":"#","target":"_self"},"secondary":{"text":"Cont\xe1ctenos en l\xednea","link":"#","target":"_self"}}},{"id":"iolta-accounts","name":"Cuentas IOLTA","icon":"","bestfor":"Abogados que mantienen fondos de clientes","minimumbalance":"N/A","monthlyfee":"Sin cuotas de servicio","balanceToAvoidFee":"N/A","transactionsIncluded":"N/A","excessTransactionFee":"N/A","atmWithdrawalsFee":"N/A","eStatements":"N/A","overdraftPrivilege":"N/A","documentationToOpen":"ID(s), n\xfamero de Seguro Social (nacional), documentos de formaci\xf3n, EIN y aviso IOLTA","cta":{"primary":{"text":"Hablar con un banquero","link":"#","target":"_self"},"secondary":{"text":"Cont\xe1ctenos en l\xednea","link":"#","target":"_self"}}}],"features":[{"key":"bestfor","label":"Mejor para"},{"key":"minimumbalance","label":"M\xednimo para abrir"},{"key":"monthlyfee","label":"Cuota mensual de servicio"},{"key":"balanceToAvoidFee","label":"Saldo para evitar la cuota"},{"key":"transactionsIncluded","label":"Transacciones incluidas"},{"key":"excessTransactionFee","label":"Cuotas adicionales por transacci\xf3n"},{"key":"atmWithdrawalsFee","label":"Cuota por retiros en cajeros autom\xe1ticos"},{"key":"eStatements","label":"Estados de cuenta electr\xf3nicos"},{"key":"overdraftPrivilege","label":"Privilegio de sobregiro"},{"key":"documentationToOpen","label":"Documentaci\xf3n para abrir"}]}'),b=JSON.parse('{"accounts":[],"features":[{"key":"bestfor","label":"Mejor para"},{"key":"minimumbalance","label":"M\xednimo para abrir"},{"key":"monthlyfee","label":"Cuota mensual de servicio"},{"key":"balanceToAvoidFee","label":"Saldo para evitar la cuota"},{"key":"transactionsIncluded","label":"Transacciones incluidas"},{"key":"excessTransactionFee","label":"Cuotas adicionales por transacci\xf3n"},{"key":"atmWithdrawalsFee","label":"Cuota por retiros en cajeros autom\xe1ticos"},{"key":"eStatements","label":"Estados de cuenta electr\xf3nicos"},{"key":"overdraftPrivilege","label":"Privilegio de sobregiro"},{"key":"documentationToOpen","label":"Documentaci\xf3n para abrir"}]}'),v=e=>{var t,l;let v=e.items.fields,w=e.locale||"en",[j,N]=(0,n.useState)(0),[y,k]=(0,n.useState)(0),[A,I]=(0,n.useState)(4),[T,C]=(0,n.useState)(new Set),[S,_]=(0,n.use
1State)(!1),[M,L]=(0,n.useState)("checking"),{ref:E}=(0,c.T$)(j),F="All Business Accounts"===v.data,P="es"===w,R=F?P?g:p:P?u:m,B=F?P?b:x:P?h:f,W=((null==R||null==(t=R.accounts)?void 0:t.length)||0)>0,z=((null==B||null==(l=B.accounts)?void 0:l.length)||0)>0,q=W&&z;(0,n.useEffect)(()=>{"savings"===M&&!z&&W?L("checking"):"checking"===M&&!W&&z&&L("savings")},[M,W,z]),(0,n.useEffect)(()=>{let e=()=>{window.innerWidth>=1200?I(4):window.innerWidth>=1024?I(3):window.innerWidth>=768?I(2):I(1)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,n.useEffect)(()=>{let e=()=>{let e=document.querySelectorAll(".compare-cell[data-row-index]");if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});let t={};e.forEach(e=>{let l=e.dataset.rowIndex;t[l]||(t[l]=[]),t[l].push(e)}),Object.values(t).forEach(e=>{let t=0;e.forEach(e=>{let l=e.offsetHeight;l>t&&(t=l)}),e.forEach(e=>{e.style.height="".concat(t,"px")})})};setTimeout(e,100),e()},[y,A,S,M]);let D="checking"===M?R:B,H=S?D.accounts.filter(e=>T.has(e.id)):D.accounts,O=Math.min(A,H.length),$=Math.max(0,H.length-O),V=e=>{L(e),C(new Set),_(!1),k(0)};return(0,i.jsx)("section",{className:"bg-warm-gray",children:(0,i.jsx)("div",{className:"\n            ".concat(!v.topIndent||"none"==v.topIndent?"pt-0":"pt-"+v.topIndent,"\n            ").concat(v.bottomIndent&&"none"!=v.bottomIndent?"pb-"+v.bottomIndent:"pb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[(0,i.jsxs)("div",{className:"text-center mb-[30px]",children:[v.title&&(0,i.jsx)(s.A,{html:v.title,tag:"h2",onAnimationComplete:e=>{N(e)}}),v.description&&(0,i.jsx)("div",{className:"fade-in max-w-[750px] mx-auto",ref:E,children:(0,a.i)(v.description)})]}),(0,i.jsxs)("div",{className:"flex flex-wrap justify-between gap-1 items-center mb-[20px] relative lg:mb-[30px]",children:[q&&(0,i.jsxs)("div",{className:"rounded-[10px] bg-white md:p-[10px] p-[5px] flex relative z-[2]",children:[W&&(0,i.jsx)("div",{onClick:()=>V("checking"),className:"transition-all cursor-pointer lg:text-[16px] text-[14px] font-[800] rounded-[10px] lg:px-[30px] px-[15px] lg:py-[15px] py-[10px] ".concat("checking"===M?"bg-castro text-white":"bg-transparent text-castro hover:bg-castro/10"),children:F?P?"Funciones":"Features":P?"Cuentas Corrientes":"Checking"}),z&&(0,i.jsx)("div",{onClick:()=>V("savings"),className:"transition-all cursor-pointer lg:text-[16px] text-[14px] font-[800] rounded-[10px] lg:px-[30px] px-[15px] lg:py-[15px] py-[10px] ".concat("savings"===M?"bg-castro text-white":"bg-transparent text-castro hover:bg-castro/10"),children:F?P?"Cuotas y condiciones":"Fees & terms":P?"Cuenta de Ahorros":"Savings"})]}),H.length>O&&(0,i.jsxs)("div",{className:"flex items-center gap-[10px] relative z-[2]",children:[(0,i.jsx)("button",{onClick:()=>{k(Math.max(0,y-1))},disabled:0===y,className:'cursor-pointer relative rounded-full flex items-center justify-center lg:w-[40px] lg:h-[40px] w-[30px] h-[30px] after:content-[""] after:absolute after:z-[2] after:w-full after:h-full after:bg-castro after:rounded-full after:top-0 after:left-0 after:transition-all hover:after:scale-90 disabled:opacity-50 disabled:cursor-not-allowed',children:(0,i.jsxs)("svg",{width:"17",height:"14",viewBox:"0 0 17 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"relative z-10",children:[(0,i.jsx)("path",{d:"M15.1426 7L1.0007 7",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M6.78516 12.7854L0.999844 7.00009L6.78516 1.21478",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,i.jsx)("button",{onClick:()=>{k(Math.min($,y+1))},disabled:y>=$,className:'cursor-pointer rotate-180 relative rounded-full flex items-center justify-center lg:w-[40px] lg:h-[40px] w-[30px] h-[30px] after:content-[""] after:absolute after:z-[2] after:w-full after:h-full after:bg-castro after:rounded-full after:top-0 after:left-0 after:transition-all hover:after:scale-90 disabled:opacity-50 disabled:cursor-not-allowed',children:(0,i.jsxs)("svg",{width:"17",height:"14",viewBox:"0 0 17 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"relative z-10",children:[(0,i.jsx)("path",{d:"M15.1426 7L1.0007 7",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M6.78516 12.7854L0.999844 7.00009L6.78516 1.21478",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]}),T.size>0&&(0,i.jsx)("div",{className:"md:absolute z-[1] top-0 left-0 w-full h-full flex items-center justify-center text-center",children:(0,i.jsx)("button",{onClick:e=>{e.preventDefault(),S?_(!1):_(!0),k(0)},className:"button relative text-center text-[16px] cursor-pointer inline-flex items-center justify-center font-[800] leading-[1.5] transition-all rounded-[30px] border-[2px] px-[15px] lg:px-[18px] py-[10px] lg:py-[13px] min-w-[120px] bg-red px-[17px] lg:px-[18px] py-[9px] lg:py-[12px] border-red text-white after:content-[''] after:rounded-[30px] after:absolute after:left-[-2px] after:top-[-2px] after:right-[-2px] after:bottom-[-2px] after:bg-gradient-to-r after:from-red after:to-[#FF6E46] after:transition-all after:opacity-0 hover:after:opacity-100",children:(0,i.jsx)("span",{className:"relative z-[4]",children:S?P?"Restablecer":"Reset":P?"Comparar (".concat(T.size,")"):"Compare (".concat(T.size,")")})})})]}
1),(0,i.jsx)("div",{className:"bg-white text-[14px] md:text-[16px] rounded-t-[25px] lg:rounded-t-[50px] overflow-hidden",children:(0,i.jsxs)("div",{className:"flex",children:[(0,i.jsxs)("div",{className:"flex-shrink-0 w-[140px] md:w-[33%] lg:w-[20%] mr-[-1px] relative z-[2]",children:[(0,i.jsx)("div",{className:"flex compare-cell bg-purple text-white font-[800] lg:p-2 p-1 min-h-[60px] border-r border-white lg:min-h-[120px] flex items-center","data-row-index":"0",children:F?P?"Comparar cuentas de negocios":"Features & requirements":P?"Caracter\xedsticas y requisitos":"Features & requirements"}),D.features.map((e,t)=>(0,i.jsx)("div",{className:"flex compare-cell lg:p-2 p-1 text-[14px] md:text-[16px] font-[800] border-r border-warm-gray min-h-[60px] lg:min-h-[120px] flex items-center even:bg-light-gray odd:bg-white","data-row-index":t+1,children:e.label},t)),(0,i.jsx)("div",{className:"flex compare-cell lg:p-2 p-1 min-h-[60px] lg:min-h-[120px] flex items-cente border-r border-warm-gray bg-light-gray","data-row-index":D.features.length+1})]}),(0,i.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,i.jsx)("div",{className:"flex transition-transform duration-500 ease-in-out",style:{transform:"translateX(-".concat(100/O*y,"%)"),width:"100%"},children:H.map((e,t)=>{var l,n;return(0,i.jsxs)("div",{className:"flex-shrink-0",style:{width:"".concat(100/O,"%"),minWidth:"".concat(100/O,"%"),maxWidth:"".concat(100/O,"%")},children:[(0,i.jsxs)("div",{className:"flex compare-cell lg:p-2 p-1 border-l border-white bg-purple relative text-center min-h-[60px] lg:min-h-[120px] flex flex-col items-center justify-center","data-row-index":"0",children:[!S&&(0,i.jsxs)("div",{className:"absolute top-1 left-1 overflow-hidden hidden md:block",children:[(0,i.jsx)("input",{type:"checkbox",id:e.id,className:"absolute left-[-999px] w-0 h-0",checked:T.has(e.id),onChange:()=>(e=>{C(t=>{let l=new Set(t);return l.has(e)?l.delete(e):l.add(e),l})})(e.id)}),(0,i.jsx)("label",{htmlFor:e.id,className:"w-[20px] h-[20px] border-[2px] border-white flex items-center justify-center cursor-pointer",children:T.has(e.id)&&(0,i.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M12.1666 3.5L5.08327 10.5833L2.1666 7.66667",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),e.icon&&(0,i.jsx)("div",{className:"w-[40px] h-[40px] flex items-center justify-center mx-auto mb-[10px]",children:e.icon?(0,i.jsx)(d.default,{src:e.icon,alt:e.name,width:40,height:40,className:"w-full h-full object-contain"}):null}),(0,i.jsx)("div",{className:"font-[800] text-white",children:e.name})]}),D.features.map((t,l)=>(0,i.jsx)("div",{className:"compare-cell flex flex-wrap lg:p-2 p-1 border-l border-warm-gray text-center min-h-[60px] lg:min-h-[120px] flex items-center justify-center even:bg-light-gray odd:bg-white","data-row-index":l+1,children:((e,t)=>{if("extras"===t)return e.extras&&Array.isArray(e.extras)?(0,i.jsx)("div",{className:"",children:e.extras.map((e,t)=>(0,i.jsx)("div",{className:"text-small mb-[5px] last:mb-0",children:e},t))}):(0,i.jsx)("div",{className:"text-small",children:"-"});if(e.features&&e.features.hasOwnProperty(t)){let l=e.features[t];if("zelleTransfers"===t||"digitalWallet"===t||"spanishLanguage"===t)if(!0===l)return(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,i.jsx)("path",{d:"M22 11.08V12C21.9988 14.1564 21.3005 16.2547 20.0093 17.9818C18.7182 19.709 16.9033 20.9725 14.8354 21.5839C12.7674 22.1953 10.5573 22.1219 8.53447 21.3746C6.51168 20.6273 4.78465 19.2461 3.61096 17.4371C2.43727 15.628 1.87979 13.4881 2.02168 11.3363C2.16356 9.18455 2.99721 7.13631 4.39828 5.49706C5.79935 3.85781 7.69279 2.71537 9.79619 2.24013C11.8996 1.7649 14.1003 1.98232 16.07 2.85999",stroke:"#EB001F",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M22 4L12 14.01L9 11.01",stroke:"#EB001F",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]});else return(0,i.jsx)("div",{className:"w-5 h-5"});if(null!=l&&""!==l)return(0,i.jsx)("div",{className:"text-small",children:String(l)}
1)}if(!["id","name","icon","features","cta"].includes(t)&&e.hasOwnProperty(t)&&void 0!==e[t]){let l=e[t];return("object"!=typeof l||null===l||Array.isArray(l))&&""!==l&&null!==l?(0,i.jsx)("div",{className:"text-small",children:String(l)}):(0,i.jsx)("div",{className:"text-small",children:"-"})}return(0,i.jsx)("div",{className:"text-small",children:"-"})})(e,t.key)},l)),(0,i.jsxs)("div",{className:"compare-cell flex lg:p-2 p-1 border-l border-warm-gray bg-light-gray items-center space-y-1 min-h-[60px] lg:min-h-[120px] flex flex-col justify-center","data-row-index":D.features.length+1,children:[(null==(l=e.cta)?void 0:l.primary)&&(0,i.jsx)("div",{children:(0,i.jsx)(r.A,{text:e.cta.primary.text,color:"Secondary Outline (Red)",link:e.cta.primary.link,target:e.cta.primary.target})}),(null==(n=e.cta)?void 0:n.secondary)&&(0,i.jsx)("div",{children:(0,i.jsx)(o.default,{text:e.cta.secondary.text,link:e.cta.secondary.link,target:e.cta.secondary.target})})]})]},e.id)})})})]})})]})})})}},5680:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>p});var i=l(5155),n=l(5814),s=l(5854),a=l(2115),r=l(87),o=l(955),d=l(1726);let c=e=>{let t=e.items.fields,l={renderText:e=>e.split("\n").map((e,t,l)=>(0,i.jsxs)(a.Fragment,{children:[e,t<l.length-1&&(0,i.jsx)("br",{})]},t)),renderNode:{[d.nA.PARAGRAPH]:(e,t)=>e.content.some(e=>"embedded-entry-inline"===e.nodeType||"embedded-entry-block"===e.nodeType)?(0,i.jsx)(i.Fragment,{children:t}):(0,i.jsx)("p",{children:t}),[d.XD.EMBEDDED_ENTRY]:e=>{var t;let l=null==(t=e.data.target.sys.contentType)?void 0:t.sys.id,s=e.data.target.fields;return"itemListForTables"===l&&s.content?(0,i.jsx)(i.Fragment,{children:(0,n.i)(s.content)}):"link"===l||"button"===l?(0,i.jsx)(o.default,{text:s.linkTitle,link:s.link,color:s.style,target:s.openInNewTab?"_blank":"_self"}):null},[d.nA.EMBEDDED_ENTRY]:e=>{var t;let l=null==(t=e.data.target.sys.contentType)?void 0:t.sys.id,s=e.data.target.fields;return"itemListForTables"===l&&s.content?(0,i.jsx)(i.Fragment,{children:(0,n.i)(s.content)}):"link"===l||"button"===l?(0,i.jsx)("div",{className:"my-2",children:(0,i.jsx)(o.default,{text:s.linkTitle,link:s.link,color:s.style,target:s.openInNewTab?"_blank":"_self"})}):null}}};return(0,i.jsx)("div",{className:" \n            ".concat(!t.topIndent||"none"==t.topIndent?"mt-0":"mt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"mb-"+t.bottomIndent:"mb-[30px]","\n        "),children:(0,i.jsxs)("div",{className:"p-[15px] lg:p-[30px] bg-purple text-white rounded-[10px]",children:[t.title&&(0,i.jsxs)("div",{className:" ".concat(t.description?"mb-[20px] lg:mb-[30px]":""," flex flex-col lgMin:flex-row lgMin:items-center justify-between gap-1"),children:[(0,i.jsx)("h3",{className:"mb-0",children:t.title}),(t.downloadButton||t.date)&&(0,i.jsxs)("div",{className:"flex flex-col lg:flex-row lgMin:items-center gap-1 lgMin:gap-2",children:[t.date&&(0,i.jsx)("span",{className:"text-medium",children:t.date}),t.downloadButton&&(0,i.jsx)("div",{className:"whitespace-nowrap",children:(0,i.jsx)(o.default,{text:t.downloadButton.fields.linkTitle,style:t.downloadButton.fields.style,link:t.downloadButton.fields.link,color:t.downloadButton.fields.style,target:t.downloadButton.fields.openInNewTab?"_blank":"_self"})})]})]}),t.description&&(0,i.jsx)("div",{className:"text-medium rich-text",children:(0,n.i)(t.description,l)}),t.fullDescription&&(0,i.jsx)("div",{className:"text-medium rich-text mt-[20px] lg:mt-[30px] medium-indent custom-table",children:(0,n.i)(t.fullDescription,l)}),t.button&&(0,i.jsx)("div",{className:"mt-[20px] lg:mt-[30px]",children:(0,i.jsx)(o.default,{text:t.button.fields.linkTitle,link:t.button.fields.link,color:t.button.fields.style,target:t.button.fields.openInNewTab?"_blank":"_self"})})]})})};var m=l(4914);function f(e){let{tabs:t,activeTab:l,onTabChange:n}=e,[s,r]=(0,a.useState)(!1),o=(0,a.useRef)(null);(0,a.useEffect)(()=>{function e(e){o.current&&!o.current.contains(e.target)&&r(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let d=t[l];return(0,i.jsxs)("div",{ref:o,className:"relative w-full min-w-0 mb-[20px]",children:[(0,i.jsxs)("button",{type:"button",className:"w-full max-w-full overflow-hidden bg-warm-gray flex items-center justify-between border-none rounded-[10px] text-[14px] lgMin:text-[16
1px] font-[800] px-[15px] py-[12px] lgMin:px-[30px] lgMin:py-[18px] text-left",onClick:()=>r(!s),children:[(0,i.jsx)("span",{className:"flex-1 min-w-0 overflow-hidden whitespace-nowrap text-ellipsis mr-[10px]",children:null==d?void 0:d.fields.tabTitle}),(0,i.jsx)("span",{className:"flex-shrink-0 block transition-all duration-300 ".concat(s?"rotate-180":"rotate-0"),children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,i.jsx)("path",{d:"M6 9L12 15L18 9",stroke:"#3A1C32",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),s&&(0,i.jsx)("div",{className:"absolute z-10 w-full py-[10px] bg-warm-gray rounded-[10px]",children:t.map((e,t)=>(0,i.jsx)("button",{type:"button",className:"block w-full text-left lg:px-[30px] px-[15px] py-[5px] text-[14px] lg:text-[16px] ".concat(l===t?"font-[800]":""),onClick:()=>{n(t,e.fields.id),r(!1)},children:e.fields.tabTitle},t))})]})}let p=e=>{let t=e.items.fields,[l,o]=(0,a.useState)(0),d=e=>e?String(e).toLowerCase().normalize("NFD").replace(RegExp("\\p{Diacritic}","gu"),"").replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,""):"",p=()=>{try{let e=document.scrollingElement||document.documentElement||document.body,t=()=>{if(e&&"function"==typeof e.scrollTo)try{e.scrollTo({top:0,behavior:"smooth"})}catch(t){e.scrollTo(0,0)}else if("function"==typeof window.scrollTo)try{window.scrollTo({top:0,behavior:"smooth"})}catch(e){window.scrollTo(0,0)}else"function"==typeof window.scroll&&window.scroll(0,0)};"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(t):setTimeout(t,0)}catch(e){try{window.scrollTo(0,0)}catch(e){}}};(0,a.useEffect)(()=>{let e=()=>{let e=(window.location.hash||"").replace("#",""),l=(e=>{if(!e||!(null==t?void 0:t.tabs))return -1;let l=t.tabs.findIndex(t=>{var l;return(null==t||null==(l=t.fields)?void 0:l.id)===e});return -1!==l?l:l=t.tabs.findIndex(t=>{var l;return d(null==t||null==(l=t.fields)?void 0:l.tabTitle)===d(e)})})(e);try{Array.isArray(null==t?void 0:t.tabs)&&t.tabs.map(e=>{var t;return null==e||null==(t=e.fields)?void 0:t.id}),Array.isArray(null==t?void 0:t.tabs)&&t.tabs.map(e=>{var t;return null==e||null==(t=e.fields)?void 0:t.tabTitle})}catch(e){}-1!==l?(o(l),p()):!e&&t.tabs&&(o(0),p())};setTimeout(e,0),window.addEventListener("hashchange",e),window.addEventListener("popstate",e);let l=t=>{let l=t.target.closest("a[href]");if(l)try{let i=new URL(l.href,window.location.origin);if(i.pathname===window.location.pathname&&i.hash){t.preventDefault();let l=i.hash.replace("#","");l&&(window.location.hash==="#".concat(l)?(e(),p()):(window.location.hash=l,setTimeout(()=>{e(),p()},0)))}}catch(e){}};document.addEventListener("click",l,!0);let i=t=>{setTimeout(e,0)};return(null===r.default||void 0===r.default?void 0:r.default.events)&&r.default.events.on("routeChangeComplete",i),()=>{window.removeEventListener("hashchange",e),window.removeEventListener("popstate",e),document.removeEventListener("click",l,!0),(null===r.default||void 0===r.default?void 0:r.default.events)&&r.default.events.off("routeChangeComplete",i)}},[t.tabs]);let x=(e,t)=>{o(e),t&&(window.location.hash=t),p()};return(0,i.jsx)("section",{id:t.id?t.id:"",className:" \n            ".concat(!t.topIndent||"none"==t.topIndent?"mt-0":"mt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"mb-"+t.bottomIndent:"mb-0","\n        "),children:(0,i.jsxs)("div",{className:"container flex flex-col lgMin:flex-row gap-2",children:[(0,i.jsxs)("div",{className:"flex-shrink-0 w-full lgMin:w-[300px] xl:w-[345px]",children:[t.title&&(0,i.jsx)("h6",{className:"mb-[20px]",children:t.title}),t.tabs&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"lgMin:hidden",children:(0,i.jsx)(f,{tabs:t.tabs,activeTab:l,onTabChange:x})}),(0,i.jsx)("div",{className:"hidden lgMin:flex flex-col text-medium mb-[20px] lgMin:mb-[30px] pb-[20px] lgMin:pb-[30px] border-b-[1px] border-castro gap-[10px]",children:t.tabs.map((e,t)=>(0,i.jsx)("div",{onClick:()=>x(t,e.fields.id),className:"px-[10px] py-[5px] rounded-[10px] cursor-pointer ".concat(l==t?"bg-warm-gray":""),children:e.fields.tabTitle},t))})]}),t.description&&(0,i.jsx)("div",{className:"text-medium",children:(0,n.i)(t.description)}),t.buttonAfterTabs&&(0,i.jsx)("div",{className:"mt-[20px] lgMin:mt-[30px]",children:(0,i.jsx)(s.A,{text:t.buttonAfterTabs.fields.linkTitle,link:t.buttonAfterTabs.fields.link,color:t.buttonAfterTabs.fields.style,target:t.buttonAfterTabs.fields.openInNewTab?"_blank":"_self"})})]}),(0,i.jsx)("div",{className:"flex-1",children:t.tabs[l]&&(0,i.jsx)("div",{id:t.tabs[l].fields.id?t.tabs[l].fields.id:void 0,children:t.tabs[l].fields.tabContent.map((e,t)=>{var l,n;return(null==(l=e.sys.contentType)?void 0:l.sys.id)=="brickPrivacyCard"?(0,i.jsx)(c,{items:e},t):(null==(n=e.sys.contentType)?void 0:n.sys.id)=="brickFaq"?(0,i.jsx)(m.default,{items:e},t):null})})})]})})}},5875:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>c});var i=l(5155),n=l(5814),s=l(7522),a=l(7406),r=l(5854),o=l(2115),d=l(5239);let c=e=>{let t=e.items.fields,[l,c]=(0,o.useState)(0),{ref:m}=(0,s.T$)(l),{ref:f}=(0,s.T$)(l+.5);return(0,i.jsx)("section",{id:t.id?t.id:"",className:" relative overflow-hidden lg:min-h-[calc(100vh-72px)]\n            ".concat(!t.topIndent||"none"==t.topIndent?"mt-0":"mt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"mb-"+t.bottomIndent:"mb-0","\n        "),children:(0,i.jsxs)("div",{className:" container md:pb-[50px]",children:[(0,i.jsxs)("div",{className:'relative z-[2] pt-medium pb-medium text-white md:pr-2  md:w-[64%] lg:w-[50%] after:content-[""] after:absolute  after:top-[-200px] after:left-[-9999px] after:bottom-0 after:right-[-9999px] md:after:right-0 after:bg-purple after:z-[-1] md:after:rounded-b-[200px] xl:after:rounded-b-[300px]',children:[t.title&&(0,i.jsx)(a.A,{html:t.title,tag:"h1",onAnimationComplete:e=>{c(e)},className:"h1"}),t.description&&(0,i.jsx)("div",{ref:m,className:"fade-in",children:(0,n.i)(t.description)}),t.button&&(0,i.jsx)("div",{className:"mt-[20px] lg:mt-[30px] fade-in",ref:f,children:(0,i.jsx)(r.A,{text:t.button.fields.linkTitle,link:t.button.fields.link,color:t.button.fields.style,target:t.button.fields.openInNewTab?"_blank":"_self"})})]}),t.backgroundImage&&(0,i.jsx)(d.default,{className:"md:absolute top-0 left-0 ml-[-15px] md:ml-0 w-[calc(100%+30px)] md:w-full max-w-none md:h-full object-cover",src:"https:".concat(t.backgroundImage.fields.file.url),alt:t.backgroundImage.fields.title||"",width:t.backgroundImage.fields.file.details.image.width,height:t.backgroundImage.fields.file.details.image.height})]})})}},6172:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>c});var i=l(5155),n=l(955),s=l(7406),a=l(5814),r=l(7522),o=l(2115),d=l(5239);let c=e=>{let t=e.items.fields,[l,c]=(0,o.useState)(0),{ref:m}=(0,r.T$)(l);return(0,i.jsx)("section",{id:t.id?t.id:"",className:" bg-warm-gray bg-[url('/Motif.svg')] bg-no-repeat bg-[length:45%_auto] bg-right-top\n            ".concat(!t.topIndent||"none"==t.topIndent?"pt-0":"pt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"pb-"+t.bottomIndent:"pb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[(t.title||t.description)&&(0,i.jsxs)("div",{className:"mb-[25px] lg:mb-[50px]",children:[t.title&&(0,i.jsx)(s.A,{html:t.title,tag:"h2",onAnimationComplete:e=>{c(e)}}),t.description&&(0,i.jsx)("div",{className:"fade-in",ref:m,children:(0,a.i)(t.description)})]}),t.successStories&&(0,i.jsx)("div",{className:"grid lgMin:grid-cols-3 gap-2",children:t.successStories.map((e,t)=>(0,i.jsxs)("div",{className:"bg-light-gray rounded-t-[25px] lg:rounded-t-[50px] overflow-hidden",children:[e.fields.featuredImage&&(0,i.jsx)("div",{className:"relative h-[272px]",children:(0,i.jsx)(d.default,{className:"w-full h-full object-cover",src:"https:"+e.fields.featuredImage.fields.file.url,alt:e.fields.title,width:e.fields.featuredImage.fields.file.details.image.width,height:e.fields.featuredImage.fields.file.details.image.height})}),(0,i.jsxs)("div",{className:"p-[30px] px-[15px] xl:px-[50px] xl:pt-[30px] xl:pb-[40px]",children:[e.fields.subtitle&&(0,i.jsx)("div",{className:"text-medium font-[800]",children:e.fields.subtitle}),e.fields.title&&(0,i.jsx)("h4",{className:"mb-[20px] lg:mb-[30px]",children:e.fields.title}),e.fields.description&&(0,i.jsx)("div",{className:"check-list heading-noindent text-medium",children:(0,a.i)(e.fields.description)}),e.fields.link&&(0,i.jsx)("div",{className:"mt-[20px] lg:mt-[30px]",children:(0,i.jsx)(n.default,{text:e.fields.link.fields.linkTitle,link:e.fields.link.fields.link,style:e.fields.link.fields.style,target:e.fields.link.fields.openInNewTab?"_blank":"_self"})}),e.fields.links&&(0,i.jsx)("div",{className:"mt-[20px] lg:mt-[30px] flex flex-col gap-[10px]",children:e.fields.links.map((e,t)=>(0,i.jsx)("div",{children:(0,i.jsx)(n.default,{text:e.fields.linkTitle,link:e.fields.link,style:e.fields.style,target:e.fields.openInNewTab?"_blank":"_self"})},t))})]})]},t))})]})})}},6422:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var i=l(2115),n=l(63);function s(e){let{title:t,canonical:l,description:s,openGraph:a,languages:r,robots:o}=e,d=(0,n.usePathname)(),c=(0,i.useRef)(d);return(0,i.useRef)(!1),(0,i.useRef)([]),(0,i.useRef)(null),(0,i.useEffect)(()=>
1{if(c.current,c.current=d,t)try{document.title=t,Array.from(document.querySelectorAll("title")).forEach(e=>{try{e&&e.isConnected&&e.parentNode&&(e.textContent=t)}catch(e){}})}catch(e){try{document.title=t}catch(e){}}if(l)try{let e=Array.from(document.querySelectorAll('link[rel="canonical"]'));if(e.forEach(e=>{try{e&&e.isConnected&&e.parentNode&&e.setAttribute("href",l)}catch(e){}}),0===e.length)try{let e=document.createElement("link");e.setAttribute("rel","canonical"),e.setAttribute("href",l),document.head.appendChild(e)}catch(e){}}catch(e){}if(void 0!==s)try{let e=Array.from(document.querySelectorAll('meta[name="description"]'));if(e.length>0){let t=e[0];t&&t.isConnected&&t.parentNode&&t.setAttribute("content",s||"")}else if(s)try{let e=document.createElement("meta");e.setAttribute("name","description"),e.setAttribute("content",s),document.head.appendChild(e)}catch(e){}}catch(e){}if(void 0!==o)try{let e=Array.from(document.querySelectorAll('meta[name="robots"]'));if(e.length>0)e.forEach(e=>{try{e&&e.isConnected&&e.setAttribute("content",o)}catch(e){}});else try{if(document.head){let e=document.createElement("meta");e.setAttribute("name","robots"),e.setAttribute("content",o),document.head.appendChild(e)}}catch(e){}}catch(e){}if(a)try{let e=a.title||t,l=a.description||s;if(e){let t=Array.from(document.querySelectorAll('meta[property="og:title"]'));if(t.length>0){let l=t[0];l&&l.isConnected&&l.parentNode&&l.setAttribute("content",e)}else try{let t=document.createElement("meta");t.setAttribute("property","og:title"),t.setAttribute("content",e),document.head.appendChild(t)}catch(e){}}if(l){let e=Array.from(document.querySelectorAll('meta[property="og:description"]'));if(e.length>0){let t=e[0];t&&t.isConnected&&t.parentNode&&t.setAttribute("content",l)}else try{let e=document.createElement("meta");e.setAttribute("property","og:description"),e.setAttribute("content",l),document.head.appendChild(e)}catch(e){}}if(e){let t=Array.from(document.querySelectorAll('meta[name="twitter:title"]'));if(t.length>0){let l=t[0];l&&l.isConnected&&l.parentNode&&l.setAttribute("content",e)}else try{let t=document.createElement("meta");t.setAttribute("name","twitter:title"),t.setAttribute("content",e),document.head.appendChild(t)}catch(e){}}if(l){let e=Array.from(document.querySelectorAll('meta[name="twitter:description"]'));if(e.length>0){let t=e[0];t&&t.isConnected&&t.parentNode&&t.setAttribute("content",l)}else try{let e=document.createElement("meta");e.setAttribute("name","twitter:description"),e.setAttribute("content",l),document.head.appendChild(e)}catch(e){}}let i=Array.from(document.querySelectorAll('meta[name="twitter:card"]'));if(0===i.length)try{let e=document.createElement("meta");e.setAttribute("name","twitter:card"),e.setAttribute("content","summary"),document.head.appendChild(e)}catch(e){}}catch(e){}if(r&&(r.en||r.es))try{let e="https://vantage.bank";if(r.en){let t=r.en.startsWith("http")?r.en:"".concat(e).concat(r.en),l=Array.from(document.querySelectorAll('link[rel="alternate"][hreflang="en"]'));if(l.forEach(e=>{try{e&&e.isConnected&&e.parentNode&&e.setAttribute("href",t)}catch(e){}}),0===l.length)try{let e=document.createElement("link");e.setAttribute("rel","alternate"),e.setAttribute("hreflang","en"),e.setAttribute("href",t),document.head.appendChild(e)}catch(e){}}if(r.es){let t=r.es.startsWith("http")?r.es:"".concat(e).concat(r.es),l=Array.from(document.querySelectorAll('link[rel="alternate"][hreflang="es"]'));if(l.forEach(e=>{try{e&&e.isConnected&&e.parentNode&&e.setAttribute("href",t)}catch(e){}}),0===l.length)try{let e=document.createElement("link");e.setAttribute("rel","alternate"),e.setAttribute("hreflang","es"),e.setAttribute("href",t),document.head.appendChild(e)}catch(e){}}}catch(e){}return()=>{}},[t,l,s,a,r,o,d]),null}},6585:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>r});var i=l(5155),n=l(5854),s=l(7406),a=l(7725);let r=e=>{let t=e.items.fields;return(0,i.jsx)("section",{id:t.id?t.id:"",className:" \n            ".concat(!t.topIndent||"none"==t.topIndent?"mt-0":"mt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"mb-"+t.bottomIndent:"mb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[t.title&&(0,i.jsxs)("div",{className:"flex flex-col md:flex-row justify-between md:items-center gap-1 mb-[40px]",children:[(0,i.jsx)("div",{className:"flex-1 md:max-w-[75%] lg:max-w-[50%]",children:t.title&&(0,i.jsx)(s.A,{html:t.title,tag:"h2"})}),t.button&&(0,i.jsx)("div",{children:(0,i.jsx)(n.A,{text:t.button.fields.linkTitle,link:t.button.fields.link,color:t.button.fields.style,target:t.button.fields.openInNewTab?"_blank":"_self"})})]}),(0,i.jsx)(a.default,{cards:t.cards})]})})}},6786:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>m});var i=l(5155),n=l(955),s=l(5854),a=l(7406),r=l(5814),o=l(7522),d=l(2115),c=l(6964);let m=e=>{let t=e.items.fields,[l,m]=(0,d.useState)(0),{ref:f}=(0,o.T$)(l),{ref:p}=(0,o.T$)(l+.5);return(0,i.jsx)("section",{id:t.id?t.id:"",className:" \n            ".concat("Grey"==t.backgroundColor?"bg-warm-gray":""," \n            ").concat("Purple"==t.backgroundColor?"bg-purple-gradient-2 text-white":"","\n            ").concat(!t.topIndent||"none"==t.topIndent?"pt-0":"pt-"+t.topIndent,"\n            ").concat(!t.bottomIndent||"none"==t.bottomIndent?"pb-0":"pb-"+t.bottomIndent,"\n            ").concat("Top"==t.bgImage?' bg-[url("/bg-team-top.svg")] bg-no-repeat bg-right-top bg-[length:70%_auto] md:bg-[length:45%_auto] lg:bg-[length:35%_auto]':""," \n            ").concat("Bottom"==t.bgImage?' bg-[url("/bg-team-bottom.svg")] bg-no-repeat bg-left-bottom bg-[length:70%_auto] md:bg-[length:45%_auto] lg:bg-[length:35%_auto]':""," \n        "),children:(0,i.jsxs)("div",{className:"container",children:[t.fullWidthImage?(0,i.jsxs)("div",{children:[t.title&&(0,i.jsxs)("div",{className:"mb-[25px] lg:mb-[50px] flex md:items-center flex-col md:flex-row justtify-start  md:justify-between gap-1",children:[(0,i.jsx)("h3",{className:"m-0",children:t.title}),t.button&&(0,i.jsx)("div",{children:(0,i.jsx)(s.A,{text:t.button.fields.linkTitle,link:t.button.fields.link,color:t.button.fields.style,target:t.button.fields.openInNewTab?"_blank":"_self"})})]}),t.image&&(0,i.jsx)("div",{className:"bg-white rounded-[25px] lg:rounded-[50px]",children:(0,i.jsx)("img",{className:"w-full h-auto max-w-none rounded-[25px] lg:rounded-[50px]",src:t.image.fields.file.url,alt:t.image.fields.title})}),t.description&&(0,i.jsx)("div",{className:"mt-[20px]",children:(0,r.i)(t.description)})]}):(0,i.jsxs)("div",{className:"grid grid-cols-1 items-center lgMin:grid-cols-2 gap-2 ".concat(t.imageLocationLeft?"lgMin:grid-flow-col-dense":""),children:[(0,i.jsxs)("div",{className:"check-list ".concat(t.imageLocationLeft?"lgMin:col-start-2":""),children:[t.title&&(0,i.jsx)(a.A,{html:t.title,tag:"h2",onAnimationComplete:e=>{m(e)}}),t.description&&(0,i.jsx)("div",{ref:f,className:"fade-in",children:(0,r.i)(t.description)}),t.link&&(0,i.jsx)("div",{ref:p,className:"mt-[20px] fade-in lg:mt-[30px]",children:(0,i.jsx)(n.default,{text:t.link.fields.linkTitle,link:t.link.fields.link,color:t.link.fields.style,target:t.link.fields.openInNewTab?"_blank":"_self"})})]}),t.image&&(0,i.jsx)("div",{className:"flex justify-center ".concat(t.imageLocationLeft?"lg:col-start-1":""),children:(0,i.jsx)("img",{src:t.image.fields.file.url,alt:t.image.fields.title})})]}),t.items&&(0,i.jsx)("div",{className:"".concat(t.fullWidthImage?"mt-[30px]":"mt-medium"," grid grid-cols-1 lgMin:grid-cols-2 gap-2"),children:t.items.map((e,l)=>(0,i.jsx)(c.A,{items:e,bg:"Purple"==t.backgroundColor?"bg-[rgba(255,255,255,0.05)]":"Grey"==t.backgroundColor?"bg-white":"bg-warm-gray"},l))})]})})}},6964:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var i=l(5155),n=l(5239),s=l(5814);let a=e=>{let t=e.items.fields;return(0,i.jsxs)("div",{className:"flex md:flex-row flex-col items-start p-[30px] rounded-[10px] gap-[20px]  ".concat(e.bg||"bg-warm-gray"),children:[t.image&&(0,i.jsx)(n.default,{src:"https:".concat(t.image.fields.file.url),alt:t.image.fields.title||"",width:t.image.fields.file.details.image.width,height:t.image.fields.file.details.image.height}),(0,i.jsxs)("div",{children:[t.title&&(0,i.jsx)("div",{className:"text-[16px] font-[800]",dangerouslySetInnerHTML:{__html:t.title}}
1),t.description&&(0,i.jsx)("div",{className:"text-medium mt-[10px]",children:(0,s.i)(t.description)})]})]})}},7284:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>b});var i=l(5155),n=l(2115),s=l(5854),a=l(955),r=l(5814),o=l(1726),d=l(5239),c=l(4570);l(4960),l(4720);var m=l(2389),f=l(7522),p=l(4639);let x={renderText:e=>e.replace(/&nbsp;/g,"\xa0"),renderNode:{[o.nA.EMBEDDED_ASSET]:e=>{var t,l,n,s;let{file:a,title:r,description:o}=e.data.target.fields;return(0,i.jsx)("img",{src:"https:".concat(a.url,"?w=1200&q=100&fm=webp"),alt:r||o||"",width:null==(l=a.details)||null==(t=l.image)?void 0:t.width,height:null==(s=a.details)||null==(n=s.image)?void 0:n.height,style:{display:"block",margin:"0",maxWidth:"100%",height:"auto"}})},[o.nA.PARAGRAPH]:(e,t)=>(0,i.jsx)("p",{children:t})}},u=e=>"es-ES"===e?"es":"en-US"===e?"en":e||"en",h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";if(!e)return"es"===t?"/es/insights":"/insights";let l=String(e).trim();if(/^https?:\/\//i.test(l))return l;let i=l.replace(/^\/+/,"").split("/").filter(Boolean),n=null;("es"===i[0]||"en"===i[0])&&(n=i.shift()),"insights"!==i[0]&&i.unshift("insights");let s="es"===(n?u(n):t)?["es",...i]:i;return"/".concat(s.join("/"))},g=e=>{var t,l,n,s,o,c;let{item:m,options:f,locale:x="en"}=e,u=null==m?void 0:m.fields,g=(null==u||null==(t=u.category)?void 0:t.fields)||null,b=e=>"string"==typeof e&&e.startsWith("http")?e:e?"https:".concat(e):"",v="es"===x?"Leer m\xe1s":"Read more",w=h(null==u?void 0:u.slug,x);return(0,i.jsxs)("div",{className:"bg-white w-full rounded-[25px] overflow-hidden lg:rounded-[50px] p-[30px] pb-[80px] md:p-[25px] md:!flex gap-[25px]",children:[(0,i.jsxs)("div",{className:"flex-1 flex flex-col justify-center relative",children:[g&&(0,i.jsxs)("div",{className:"absolute top-0 lg:top-[25px] left-0 lg:left-[25px] flex items-center gap-[10px] font-[800] text-[16px] mb-[20px]",children:[(null==g||null==(n=g.animatedIcon)||null==(l=n.fields)?void 0:l.icon)?(0,i.jsx)(p.default,{animationPath:"/animations/".concat(g.animatedIcon.fields.icon.replace(/\s+/g,"-"),".json"),autoplay:!0,loop:!0,width:58,height:58,className:"m-[-13px] flex-shrink-0"}):(null==g||null==(c=g.image)||null==(o=c.fields)||null==(s=o.file)?void 0:s.url)&&(0,i.jsx)(d.default,{className:"w-[32px] h-auto mt-[-2px]",src:"".concat(b(g.image.fields.file.url),"?w=64&h=64&q=100&fm=webp"),alt:g.title||"",width:32,height:32,role:"img"}),(0,i.jsx)("div",{children:(null==g?void 0:g.title)||""})]}),(0,i.jsxs)("div",{className:"lg:px-[25px] lg:py-[75px] py-[50px] pb-[20px] md:pb-[50px] lg:pb-[75px]",children:[(0,i.jsx)("h3",{children:(null==u?void 0:u.title)||""}),(0,i.jsx)("div",{children:(null==u?void 0:u.shortDescription)?(0,r.i)(u.shortDescription,f):null}),(0,i.jsx)("div",{className:"lg:mt-[30px] mt-[20px]",children:(0,i.jsx)(a.default,{link:w,text:v,target:(null==u?void 0:u.openInNewTab)?"_blank":"_self"})})]})]}),(null==u?void 0:u.gridImage)&&(0,i.jsx)("div",{className:"md:w-[46%] w-full rounded-[25px] overflow-hidden relative pt-[85%] md:pt-[65%] lg:pt-[56%]",children:(0,i.jsx)(d.default,{fill:!0,className:"object-cover",role:"img",src:"".concat(b(u.gridImage.fields.file.url),"?w=1200&q=100&fm=webp"),alt:u.gridImage.fields.title||"",sizes:"(min-width:1280px) 46vw, (min-width:1024px) 46vw, (min-width:768px) 46vw, 100vw"})})]})},b=e=>{var t,l;let{items:a,locale:r="en"}=e,o=u(r),d=(null==a?void 0:a.fields)||{},[p,h]=n.useState([]);(0,n.useEffect)(()=>{let e=!1;async function t(){try{let t=new URLSearchParams({limit:"5",locale:o}),l=await fetch("/api/insights?".concat(t.toString()),{cache:"no-store"});if(!l.ok)return;let i=await l.json();e||h(Array.isArray(i.items)?i.items:[])}catch(e){}}return d.autoPosts&&t(),()=>{e=!0}},[d.autoPosts,o]);let b=Array.isArray(d.insights)&&!d.autoPosts?d.insights.filter(Boolean):d.autoPosts?p:[],v=b.length>1,{ref:w}=(0,f.GK)(0),j=n.useRef(null),{ref:N}=(0,f.GK)(0),[y,k]=n.useState(!1),A=(0,c.W)(j,{once:!0,margin:"0px 0px -20% 0px"});return(0,n.useEffect)(()=>{A&&v&&setTimeout(()=>{var e;let t=null==(e=j.current)?void 0:e.querySelector(".slick-track1");t&&setTimeout(()=>{t.classList.add("animate"),setTimeout(()=>{k(!0)},1500)},100)},100)},[A,v]),(0,n.useEffect)(()=>{document.querySelectorAll(".slick-arrow, .slick-dots button").forEach(e
1=>{e.setAttribute("role","button")})},[]),(0,i.jsx)("section",{id:d.id?d.id:"",className:"relative overflow-hidden bg-red-gradient animate-gradient-move\n        ".concat(!d.topIndent||"none"==d.topIndent?"pt-0":"pt-"+d.topIndent,"\n        ").concat(d.bottomIndent&&"none"!=d.bottomIndent?"pb-"+d.bottomIndent:"pb-0","\n      "),children:(0,i.jsxs)("div",{className:"container",children:[d.title&&(0,i.jsx)("div",{ref:w,className:"text-center lg:mb-[50px] mb-[25px] text-white fade-in-up",children:(0,i.jsx)("h3",{children:d.title})}),(0,i.jsx)("div",{ref:j,className:"mx-[-15px] md:max-w-[678px] lg:max-w-[800px] xl:max-w-[1000px] md:mx-auto",children:b.length?v?y?(0,i.jsx)(m.A,{...{dots:!1,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,arrows:v,className:"insights-slider"},children:b.map((e,t)=>(0,i.jsx)("div",{children:(0,i.jsx)(g,{item:e,options:x,locale:o})},t))}):(()=>{if(!b.length)return null;let e=b[b.length-1];return(0,i.jsx)("div",{className:"insights-slider slick-slider static-slider",children:(0,i.jsx)("div",{className:"slick-list1",children:(0,i.jsxs)("div",{className:"slick-track1",style:{"--slides-count":b.length+1},children:[(0,i.jsx)("div",{className:"slick-slide flex-[0_0_100%] !flex",children:(0,i.jsx)(g,{item:e,options:x,locale:o})},"clone-last"),b.map((e,t)=>(0,i.jsx)("div",{className:"slick-slide flex-[0_0_100%] !flex",children:(0,i.jsx)(g,{item:e,options:x,locale:o})},t))]})})})})():(0,i.jsx)("div",{className:"insights-slider",children:(0,i.jsx)(g,{item:b[0],options:x,locale:o})}):null}),(null==(l=d.button)||null==(t=l.fields)?void 0:t.link)&&(0,i.jsx)("div",{ref:N,className:"justify-center flex text-center lg:mt-[50px] mt-[25px] fade-in",children:(0,i.jsx)(s.A,{color:d.button.fields.style,link:d.button.fields.link,text:d.button.fields.linkTitle,target:d.button.fields.openInNewTab?"_blank":"_self"})})]})})}},7364:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>a});var i=l(5155);l(5814);var n=l(5239),s=l(2115);let a=e=>{var t,l,a,r,o,d,c,m,f,p,x,u;let h=e.items,[g,b]=s.useState(!1),v=null==h||null==(o=h.videoPreview)||null==(r=o.fields)||null==(a=r.file)||null==(l=a.details)||null==(t=l.image)?void 0:t.width,w=null==h||null==(p=h.videoPreview)||null==(f=p.fields)||null==(m=f.file)||null==(c=m.details)||null==(d=c.image)?void 0:d.height,j=v&&w?w/v*100:56.25;return(0,i.jsx)("div",{className:"  \n			".concat(!h.topIndent||"none"==h.topIndent?"mt-0":"mt-"+h.topIndent,"\n			").concat(h.bottomIndent&&"none"!=h.bottomIndent?"mb-"+h.bottomIndent:"mb-0","\n		"),children:(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)("div",{className:"relative overflow-hidden",children:(0,i.jsxs)("div",{style:{position:"relative",width:"100%"},children:[(0,i.jsx)("div",{style:{paddingTop:"".concat(j,"%")}}),g&&h.videoUrl?(0,i.jsx)("iframe",{src:(e=>{if(!e)return"";try{let t=new URL(e),l=t.hostname.replace(/^www\./,"");if(l.includes("youtube.com")||l.includes("youtube-nocookie.com")){let l="";if(t.pathname.startsWith("/watch")?l=t.searchParams.get("v")||"":t.pathname.startsWith("/embed/")?l=t.pathname.split("/")[2]||"":t.pathname.startsWith("/shorts/")&&(l=t.pathname.split("/")[2]||""),!l)return e;let i="&origin=".concat(encodeURIComponent(window.location.origin));return"https://www.youtube-nocookie.com/embed/".concat(l,"?autoplay=1&mute=0&playsinline=1&rel=0&modestbranding=1").concat(i)}if("youtu.be"===l){let l=(t.pathname.split("/")[1]||"").trim();if(!l)return e;let i="&origin=".concat(encodeURIComponent(window.location.origin));return"https://www.youtube-nocookie.com/embed/".concat(l,"?autoplay=1&mute=0&playsinline=1&rel=0&modestbranding=1").concat(i)}if(l.includes("vimeo.com")){let l=t.pathname.split("/").filter(Boolean).find(e=>/^\d+$/.test(e))||"";if(!l)return e;return"https://player.vimeo.com/video/".concat(l,"?autoplay=1&muted=0&playsinline=1")}let i=e.includes("?");return"".concat(e).concat(i?"&":"?","autoplay=1&muted=0&playsinline=1")}catch(t){return e}})(h.videoUrl),title:(null==(u=h.videoPreview)||null==(x=u.fields)?void 0:x.title)||"Video",allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,className:"absolute inset-0 w-full h-full"}):(0,i.jsx)("div",{onClick:()=>
1b(!0),className:"".concat(h.videoUrl?"cursor-pointer":""," absolute inset-0 w-full h-full group rounded-[25px] lg:rounded-[50px]"),children:h.videoPreview&&(0,i.jsx)(n.default,{src:"https:".concat(h.videoPreview.fields.file.url),alt:h.videoPreview.fields.title||"Video preview",width:v,height:w,className:"w-full h-full object-cover"})})]})}),h.videoCaption&&(0,i.jsx)("div",{className:"mt-[10px] text-small",children:h.videoCaption})]})})}},7441:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>c});var i=l(5155),n=l(5814),s=l(5854),a=l(5239),r=l(7406),o=l(7522),d=l(2115);let c=e=>{let t=e.items.fields,[l,c]=(0,d.useState)(0),{ref:m}=(0,o.T$)(l),{ref:f}=(0,o.T$)(l+.5);return(0,i.jsx)("section",{id:t.id?t.id:"",className:" bg-castro-gradient text-white\n            ".concat(!t.topIndent||"none"==t.topIndent?"pt-0":"pt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"pb-"+t.bottomIndent:"pb-0","\n        "),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"grid grid-cols-1 lgMin:grid-cols-2 gap-2 items-center",dir:t.imageLocationLeft?"rtl":"ltr",children:[(0,i.jsxs)("div",{className:"relative",dir:"ltr",children:[t.title&&(0,i.jsx)(r.A,{html:t.title,tag:"h2",onAnimationComplete:e=>{c(e)}}),t.description&&(0,i.jsx)("div",{ref:m,className:"fade-in check-list",children:(0,n.i)(t.description)}),t.button&&(0,i.jsx)("div",{ref:f,className:"flex mt-[20px] lg:mt-[30px] fade-in",children:(0,i.jsx)(s.A,{text:t.button.fields.linkTitle,link:t.button.fields.link,color:t.button.fields.style,target:t.button.fields.openInNewTab?"_blank":"_self"})})]}),(0,i.jsx)("div",{className:"flex flex-col justify-center items-center",dir:"ltr",children:t.image&&(0,i.jsx)(a.default,{className:"block mx-auto",src:"https:".concat(t.image.fields.file.url),alt:t.image.fields.title||"",width:t.image.fields.file.details.image.width,height:t.image.fields.file.details.image.height})})]})})})}},7652:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>o});var i=l(5155),n=l(2115),s=l(5239),a=l(2389);l(4960),l(4720);var r=l(5814);let o=e=>{var t;if(!(null==e||null==(t=e.items)?void 0:t.fields))return null;let l=e.items.fields,o=(0,n.useRef)(null);return(0,i.jsx)("section",{id:l.id?l.id:"",className:" bg-castro-gradient-2 text-white\n            ".concat(!l.topIndent||"none"==l.topIndent?"pt-0":"pt-"+l.topIndent,"\n            ").concat(l.bottomIndent&&"none"!=l.bottomIndent?"pb-"+l.bottomIndent:"pb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[l.title&&(0,i.jsx)("h3",{className:"mb-[40px] pr-[80px]",dangerouslySetInnerHTML:{__html:l.title}}),(0,i.jsx)("div",{className:"team-transactions relative mx-[-15px]",children:l.transactions&&l.transactions.length>0&&(0,i.jsx)(a.A,{ref:o,...{dots:!1,arrows:!0,infinite:!1,speed:500,slidesToShow:3,slidesToScroll:1,autoplay:!1,autoplaySpeed:5e3,pauseOnHover:!0,responsive:[{breakpoint:1025,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:1,slidesToScroll:1}}]},children:l.transactions.map((e,t)=>(0,i.jsxs)("div",{className:"text-white rounded-[25px] lg:rounded-[50px] overflow-hidden bg-[white]/5 p-[30px] xl:p-[50px]",children:[e.fields.image&&(0,i.jsx)(s.default,{className:"w-[60px] h-auto block mb-[20px] lg:mb-[30px]",src:"https:".concat(e.fields.image.fields.file.url),alt:e.fields.image.fields.title,width:e.fields.image.fields.file.details.image.width,height:e.fields.image.fields.file.details.image.height}),e.fields.description&&(0,i.jsx)("div",{children:(0,r.i)(e.fields.description)})]},t))})})]})})}},7666:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var i=l(5155),n=l(2115),s=l(2619),a=l.n(s),r=l(8321);function o(e){let{formEmail:t,formButtonText:l}=e,[s,o]=(0,n.useState)({name:"",email:"",phone:"",message:"",branch:""}),[d,c]=(0,n.useState)(!1),[m,f]=(0,n.useState)(null),[p,x]=(0,n.useState)(!1),u=e=>{let{name:t,value:l}=e.target;o(e=>({...e,[t]:l}))},h=async e=>{e.preventDefault(),c(!0),f(null);try{if(!window.grecaptcha)throw Error("reCAPTCHA not loaded");let e=await window.grecaptcha.execute("6LfeLlIsAAAAAChdjrvvoCLyBNNIPR-8AptkoZSK",{action:"submit_contact_form"}),l=await fetch("/api/formEmail",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...s,formEmail:t,formType:"contactForm",captchaToken:e})}),i=await l.json();
1l.ok?(f("success"),o({name:"",email:"",phone:"",message:"",branch:""})):(f("error"),console.error("Error:",i.error))}catch(e){f("error"),console.error("Error:",e)}finally{c(!1)}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.default,{src:"https://www.google.com/recaptcha/api.js?render=".concat("6LfeLlIsAAAAAChdjrvvoCLyBNNIPR-8AptkoZSK"),onLoad:()=>x(!0)}),(0,i.jsxs)("form",{onSubmit:h,children:[(0,i.jsxs)("div",{className:"mb-[20px]",children:[(0,i.jsx)("label",{htmlFor:"name",className:"block mb-[10px] text-medium font-[800]",children:"Name*"}),(0,i.jsx)("input",{type:"text",id:"name",name:"name",value:s.name,onChange:u,required:!0,className:"w-full px-1 border-none rounded-[10px] h-[50px] lg:h-[60px] bg-warm-gray text-medium focus:outline-none focus:ring-2 focus:ring-castro focus:border-transparent transition-colors"})]}),(0,i.jsxs)("div",{className:"mb-[20px]",children:[(0,i.jsx)("label",{htmlFor:"email",className:"block mb-[10px] text-medium font-[800]",children:"Email*"}),(0,i.jsx)("input",{type:"email",id:"email",name:"email",value:s.email,onChange:u,required:!0,className:"w-full px-1 border-none rounded-[10px] h-[50px] lg:h-[60px] bg-warm-gray text-medium focus:outline-none focus:ring-2 focus:ring-castro focus:border-transparent transition-colors"})]}),(0,i.jsxs)("div",{className:"mb-[20px]",children:[(0,i.jsx)("label",{htmlFor:"phone",className:"block mb-[10px] text-medium font-[800]",children:"Phone"}),(0,i.jsx)("input",{type:"tel",id:"phone",name:"phone",value:s.phone,onChange:u,className:"w-full px-1 border-none rounded-[10px] h-[50px] lg:h-[60px] bg-warm-gray text-medium focus:outline-none focus:ring-2 focus:ring-castro focus:border-transparent transition-colors"})]}),(0,i.jsxs)("div",{className:"mb-[20px]",children:[(0,i.jsx)("label",{htmlFor:"message",className:"block mb-[10px] text-medium font-[800]",children:"Message"}),(0,i.jsx)("textarea",{id:"message",name:"message",value:s.message,onChange:u,rows:4,className:"w-full px-1 py-1 border-none rounded-[10px] h-[100px] lg:h-[150px] bg-warm-gray text-medium focus:outline-none focus:ring-2 focus:ring-castro focus:border-transparent transition-colors resize-vertical"})]}),(0,i.jsxs)("div",{className:"mb-[20px]",children:[(0,i.jsx)("label",{htmlFor:"branch",className:"block mb-[10px] text-medium font-[800]",children:"Branch"}),(0,i.jsxs)("select",{id:"branch",name:"branch",value:s.branch,onChange:u,className:"w-full px-1 pr-[40px] appearance-none lg:pr-[45px] border-none rounded-[10px] h-[50px] lg:h-[60px] bg-warm-gray text-medium focus:outline-none focus:ring-2 focus:ring-castro focus:border-transparent transition-colors",children:[(0,i.jsx)("option",{value:"",children:"Select a branch"}),(0,i.jsx)("option",{value:"main",children:"Main Branch"}),(0,i.jsx)("option",{value:"downtown",children:"Downtown Branch"}),(0,i.jsx)("option",{value:"westside",children:"Westside Branch"}),(0,i.jsx)("option",{value:"eastside",children:"Eastside Branch"}),(0,i.jsx)("option",{value:"northside",children:"Northside Branch"})]})]}),(0,i.jsxs)("div",{className:"mb-[20px] text-medium",children:["By submitting, you agree to our ",(0,i.jsx)(a(),{href:"/privacy-policy",className:"underline hover:no-underline",children:"Privacy Policy"}),". This site is protected by reCAPTCHA and the Google"," ",(0,i.jsx)("a",{href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener noreferrer",className:"underline hover:no-underline",children:"Privacy Policy"})," and"," ",(0,i.jsx)("a",{href:"https://policies.google.com/terms",target:"_blank",rel:"noopener noreferrer",className:"underline hover:no-underline",children:"Terms of Service"})," apply."]}),"success"===m&&(0,i.jsx)("div",{className:"bg-[green] text-white text-small p-1 text-center mb-[20px] rounded-[10px]",children:"Thank you! Your message has been sent successfully."}),"error"===m&&(0,i.jsx)("div",{className:"bg-red text-white text-small p-1 text-center mb-[20px] rounded-[10px]",children:"Sorry, there was an error sending your message. Please try again."}),(0,i.jsx)("button",{type:"submit",disabled:d,className:'button relative text-center text-[16px] cursor-pointer inline-flex items-center justify-center font-[800] leading-[1.5] transition-all rounded-[30px] border-[2px] px-[15px] lg:px-[10px] xl:px-[18px] py-[10px] lg:py-[11px] xl:py-[13px] min-w-[120px] bg-red px-[17px] lg:px-[10px] xl:px-[18px] py-[9px] lg:py-[10px] xl:py-[12px] border-red text-white after:content-[""] after:rounded-[30px] after:absolute after:left-[-2px] after:top-[-2px] after:right-[-2px] after:bottom-[-2px] after:bg-gradient-to-r after:from-red after:to-[#FF6E46] after:transition-all after:opacity-0 hover:after:opacity-100 disabled:bg-gray-400 disabled:cursor-not-allowed disabled:border-gray-400 disabled:after:opacity-0 '.concat(d?"opacity-50":""),children:(0,i.jsx)("span",{className:"relative z-[4]",children:d?"Sending...":l||"Send Message"})})]})]})}}
1,7725:(e,t,l)=>{"use strict";l.d(t,{default:()=>c});var i=l(5155),n=l(5814),s=l(5239),a=l(2115),r=l(7522);let o={1:"lg:grid-cols-1",2:"lg:grid-cols-2",3:"lg:grid-cols-3",4:"lg:grid-cols-4"},d=e=>{let{value:t,duration:l=1,trigger:n}=e,[s,r]=(0,a.useState)(0),[o,d]=(0,a.useState)(!1),c=(e=>{if(Number.isInteger(e))return 0;let t=e.toString(),l=t.indexOf(".");return -1===l?0:t.length-l-1})(t);return(0,a.useEffect)(()=>{if(!n||o)return;let e=performance.now();requestAnimationFrame(function i(n){let s=Math.min((n-e)/1e3/l,1);r(Number((s*t).toFixed(c))),s<1?requestAnimationFrame(i):r(Number(t.toFixed(c)))}),d(!0)},[t,l,n,o,c]),(0,i.jsx)("span",{children:s})},c=e=>{let{cards:t=[],view:l="default",layout:a="3"}=e,c=o[String(a)]||"lg:grid-cols-3";return(0,i.jsx)("div",{className:"flex flex-col md:grid md:grid-cols-2 ".concat(c," gap-2 ").concat("transparent"==l?"bg-transparent":""),style:{gridAutoRows:"1fr"},children:t.map((e,a)=>{let{ref:o,isAnimated:c}=(0,r.GK)(.15*a),m=e.fields.title||e.fields.secondTitle;return(0,i.jsxs)("div",{ref:o,className:"h-full md:h-auto fade-in-up ".concat("text"!=e.fields.displayAs&&e.fields.displayAs?"":"".concat("transparent"==l?"bg-transparent text-white border-white border-[2px]":"bg-warm-gray"," ").concat("Plum"==e.fields.backgroundColor?"!bg-castro text-white":""," ").concat("Purple"==e.fields.backgroundColor?"!bg-purple text-white":""," rounded-[25px] lg:rounded-[50px] p-[30px] lg:p-[40px] 2xl:p-[70px]")),children:[e.fields.image&&"image"==e.fields.displayAs&&(0,i.jsx)(s.default,{className:"w-full h-full object-cover max-w-none rounded-bl-[125px] xl:rounded-bl-[200px] ".concat(a==t.length-1?"rounded-tr-[125px] xl:rounded-tr-[200px]":""),src:"https:".concat(e.fields.image.fields.file.url),alt:e.fields.image.fields.title,width:e.fields.image.fields.file.details.image.width,height:e.fields.image.fields.file.details.image.height}),e.fields.image&&"video"==e.fields.displayAs&&(0,i.jsx)("video",{className:"w-full h-full object-cover max-w-none rounded-bl-[125px] xl:rounded-bl-[200px] ".concat(a==t.length-1?"rounded-tr-[125px] xl:rounded-tr-[200px]":""),src:"https:".concat(e.fields.image.fields.file.url),autoPlay:!0,muted:!0,loop:!0,playsInline:!0}),("text"==e.fields.displayAs||!e.fields.displayAs)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"h3-wide",children:[e.fields.firstTitle&&(0,i.jsx)(i.Fragment,{children:e.fields.firstTitle}),e.fields.number&&(0,i.jsx)(d,{value:parseFloat(e.fields.number),duration:1.2,trigger:c}),m&&(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:m}})]}),e.fields.description&&(0,i.jsx)("div",{role:"heading",children:(0,n.i)(e.fields.description)})]})]},a)})})}},7777:e=>{e.exports={stepTitle:"timeline_stepTitle__9vVJX",active:"timeline_active__2cDbj",step:"timeline_step__BhgUD",line:"timeline_line__S0eVc",lineItem:"timeline_lineItem__22u_I"}},7892:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var i=l(2115),n=l(63);function s(e){let{serverSeed:t}=e,l=(0,n.useRouter)(),s=(0,n.useSearchParams)();return(0,i.useEffect)(()=>{let e=s.get("location")||s.get("service")||s.get("language")||"1"===s.get("premier"),i=s.get("seed");if(!e&&!i){let e=t||Date.now().toString(),i=new URLSearchParams(s.toString());i.set("seed",e),l.replace("?".concat(i.toString()),{scroll:!1})}},[l,s,t]),null}},8221:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>o});var i=l(5155),n=l(2619),s=l.n(n),a=l(4639),r=l(2115);let o=e=>{let t=e.items.fields,[l,n]=(0,r.useState)(null),o=(0,r.useRef)({}),d=()=>{n(null),Object.values(o.current).forEach(e=>{e&&e.stop&&e.stop()})};return(0,i.jsx)("section",{id:t.id?t.id:"",className:"  \n            ".concat(!t.topIndent||"none"==t.topIndent?"mt-0":"mt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"mb-"+t.bottomIndent:"mb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[t.title&&(0,i.jsx)("h3",{className:"mb-[40px]",dangerouslySetInnerHTML:{__html:t.title||""}}),t.communityPartners&&(0,i.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 gap-1 xl:gap-2",children:t.communityPartners.map((e,t)=>(0,i.jsx)("div",{className:"relative w-full flex justify-center items-center aspect-square rounded-full overflow-hidden bg-warm-gray",children:e.fields.featuredImage&&(()=>{var t,l,n,s;let a=e.fields.featuredImage.fields.file,r=(null==(l=a.details)||null==(t=l.image)?void 0:t.width)||100,o=(null==(s=a.details)||null==(n=s.image)?void 0:n.height)||100,d="https:".concat(a.url);return(0,i.jsx)("div",{className:"block",style:{width:"".concat(Math.min(r,100),"px"),height:"".concat(Math.min(o,25),"px"),background:"var(--castro-color)",WebkitMaskImage:"url(".concat(d,")"),maskImage:"url(".concat(d,")"),WebkitMaskSize:"contain",maskSize:"contain",WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskPosition:"center",maskPosition:"center"},"aria-label":e.fields.title,role:"img"})})()},t))}),t.listItems&&(0,i.jsx)("div",{className:"mt-[40px] grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-1 xl:gap-2",children:t.listItems.map((e,t)=>{var l,r;return(0,i.jsxs)(s(),{href:e.fields.link||"#",className:" ".concat(e.fields.link?"":"pointer-events-none","  block rounded-[25px] lg:rounded-[50px] p-[30px] xl:p-[50px] pr-[30px] overflow-hidden bg-warm-gray"),onMouseEnter:()=>(e=>{n(e);
1let t=o.current[e];t&&t.play&&t.play()})("".concat(e.fields.link,"-").concat(t)),onMouseLeave:d,children:[e.fields.subtitle&&(0,i.jsxs)("div",{className:"text-[16px] flex items-center gap-[5px] font-[800] mb-[30px] xl:mb-[45px]",children:[(null==(r=e.fields.animIcon)||null==(l=r.fields)?void 0:l.icon)&&(0,i.jsx)(a.default,{animationPath:"/animations/".concat(e.fields.animIcon.fields.icon.replace(/\s+/g,"-"),".json"),autoplay:!1,loop:!0,initialFrame:30,width:40,height:40,ref:l=>{o.current["".concat(e.fields.link,"-").concat(t)]=l}}),(0,i.jsx)("span",{className:"pt-[4px] block",children:e.fields.subtitle})]}),e.fields.title&&(0,i.jsx)("h4",{className:"!m-0",children:e.fields.title})]},t)})})]})})}},8309:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>d});var i=l(5155),n=l(5814),s=l(5239),a=l(2115),r=l(7522),o=l(2389);l(4960),l(4720);let d=e=>{let t=e.items.fields,{ref:l}=(0,r.GK)(),[d,c]=(0,a.useState)(null),[m,f]=(0,a.useState)(null),p=(0,a.useRef)(null),x=(0,a.useRef)(null);return(0,a.useEffect)(()=>{c(p.current),f(x.current)},[]),(0,i.jsx)("section",{className:" \n            bg-red-gradient overflow-hidden\n            ".concat(!t.topIndent||"none"==t.topIndent?"pt-0":"pt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"pb-"+t.bottomIndent:"pb-0","\n        "),children:(0,i.jsxs)("div",{className:"container relative",children:[t.title&&(0,i.jsx)("div",{className:"text-center text-white mb-[40px]",children:t.title&&(0,i.jsx)("h3",{ref:l,className:"fade-in-up",children:t.title})}),(0,i.jsx)("div",{className:"main-timeline-slider mb-[40px] mx-[-15px] md:mx-0 lg:mb-[66px]",children:(0,i.jsx)(o.A,{...{dots:!1,infinite:!1,speed:500,slidesToShow:1,slidesToScroll:1,arrows:!0,asNavFor:m,ref:p},children:t.timeSlots&&t.timeSlots.map((e,t)=>(0,i.jsx)("div",{children:(0,i.jsxs)("div",{className:"time-line-slider-item bg-white rounded-[25px] overflow-hidden lg:rounded-[50px] p-[30px] md:p-[25px] md:!flex",children:[e.fields.image&&(0,i.jsx)("div",{className:"md:w-[50%] md:pr-[15px]",children:(0,i.jsx)(s.default,{className:"w-full rounded-[25px] lg:rounded-[30px] aspect-[1.088/1] min-h-full object-cover",src:"https:".concat(e.fields.image.fields.file.url),alt:e.fields.title,width:e.fields.image.fields.file.details.image.width,height:e.fields.image.fields.file.details.image.height})}),(0,i.jsx)("div",{className:"pt-[20px] md:pt-0 md:w-[50%] md:pl-[15px] self-center",children:(0,i.jsxs)("div",{className:" xl:px-[30px] xxl:px-[75px]",children:[(0,i.jsx)("h3",{className:"font-[800] h3-wide lg:!mb-[30px] xl:!mb-[50px] font-pp_editorial_new",children:e.fields.mainTitle}),(0,i.jsx)("h3",{className:"mb-[20px]",children:e.fields.title}),(0,i.jsx)("div",{children:(0,n.i)(e.fields.description)})]})})]})},t))})}),(0,i.jsx)("div",{className:"nav-timeline-slider px-[40px]",children:(0,i.jsx)(o.A,{...{dots:!1,infinite:!1,speed:500,slidesToShow:6,slidesToScroll:1,arrows:!1,asNavFor:d,focusOnSelect:!0,ref:x,responsive:[{breakpoint:1024,settings:{slidesToShow:4}},{breakpoint:768,settings:{slidesToShow:3}},{breakpoint:480,settings:{slidesToShow:3}}]},children:t.timeSlots&&t.timeSlots.map((e,t)=>(0,i.jsx)("div",{className:"px-[10px]",children:(0,i.jsx)("div",{className:"font-[800] text-white text-center",children:(0,i.jsx)("span",{className:"cursor-pointer",children:e.fields.mainTitle})})},t))})})]})})}},8556:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>m});var i=l(5155),n=l(2115),s=l(5814),a=l(5239),r=l(5854),o=l(955),d=l(258),c=l.n(d);let m=e=>{let t=e.items.fields,l=n.useRef(null),[d,m]=n.useState(null);return n.useEffect(()=>{let e=()=>{l.current&&l.current.querySelectorAll("h6").forEach((e,t)=>{let l=e.offsetHeight,i=e.closest(".account");i&&i.style.setProperty("--h6-height","".concat(l,"px"))})},t=new MutationObserver(()=>{e()});return l.current&&t.observe(l.current,{childList:!0,subtree:!0}),setTimeout(e,200),window.addEventListener("resize",e),()=>{t.disconnect(),window.removeEventListener("resize",e)}},[t.accounts]),(0,i.jsx)("section",{className:"  \n            ".concat(!t.topIndent||"none"==t.topIndent?"mt-0":"mt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"mb-"+t.bottomIndent:"mb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[(0,i.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center md:gap-2 gap-1 lg:mb-[50px] mb-[25px]",children:[t.title&&(0,i.jsx)("h3",{className:"m-0",children:t.title}),t.button&&(0,i.jsx)("div",{className:"flex-shrink-0",children:(0,i.jsx)(r.A,{text:t.button.fields.linkTitle,link:t.button.fields.link,color:t.button.fields.style,target:t.button.fields.openInNewTab?"_blank":"_self"})})]}),t.accounts&&(0,i.jsx)("div",{ref:l,className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 gap-x-2 gap-y-2 lg:gap-y-[50px]",children:t.accounts.map((e,t)=>(0,i.jsxs)("div",{className:"bg-castro cursor-pointer text-white relative h-[380px] rounded-[25px] lg:rounded-[50px] overflow-hidden account ".concat(c().account," ").concat(d===t?c().active:""),onMouseEnter:()=>m(t),onMouseLeave:()=>m(null),children:[(0,i.jsxs)("div",{className:"absolute z-[2] top-0 left-0 w-full h-full p-[30px]  py-[30px] xl:py-[50px] px-[30px] xl:px-[35px] flex flex-col ".concat(c().accountContent),children:[e.fields.title&&(0,i.jsx)("h6",{className:"relative z-[2] mb-[10px] cursor-pointer",onClick:()=>m(null),dangerouslySetInnerHTML:{__html:e.fields.title}}),(0,i.jsxs)("div",{children:[e.fields.subtitle&&(0,i.jsx)("div",{className:"inline-flex text-[14px] font-[800] mb-[20px] px-[10px] py-[5px] rounded-[5px] border-[2px] border-white",dangerouslySetInnerHTML:{__html:e.fields.subtitle}}
1),e.fields.gridInfo&&(0,i.jsx)("div",{className:"text-small check-list ",children:(0,s.i)(e.fields.gridInfo)}),e.fields.link&&(0,i.jsx)("div",{className:"mt-[15px]",children:(0,i.jsx)(o.default,{text:e.fields.link.fields.linkTitle,link:e.fields.link.fields.link,target:e.fields.link.fields.openInNewTab?"_blank":"_self"})})]})]}),e.fields.featuredImage&&(0,i.jsx)(a.default,{className:"w-full h-full object-cover",src:"https:".concat(e.fields.featuredImage.fields.file.url),alt:e.fields.title,width:e.fields.featuredImage.fields.file.details.image.width,height:e.fields.featuredImage.fields.file.details.image.height})]},t))})]})})}},8684:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>p});var i=l(5155),n=l(5814),s=l(5854),a=l(955),r=l(5239),o=l(7406),d=l(7522),c=l(1493);let m={renderText:e=>e.split("\n").reduce((e,t,l)=>[...e,l>0?(0,i.jsx)("br",{},l):null,t],[])},f=e=>{let{card:t,index:l,style:o,decoration:f,cardsCount:p}=e,{ref:x}=(0,d.GK)(.15*l),{ref:u}=(0,d.T$)(0);return(0,i.jsxs)("div",{ref:x,className:"fade-in-up bg-warm-gray rounded-[25px] lg:rounded-[50px] p-[30px] lg:p-[50px]  flex flex-col relative z-[2] \n            ".concat(4==p?"":"after:opacity-0"," ").concat(f?"after:opacity-100":"after:opacity-0","\n        after:content-[''] after:hidden lg:after:block after:absolute after:rotate-180 after:top-0 after:left-0 after:z-[-1] after:w-full after:h-full after:bg-[url('/Bg-circle.svg')] after:bg-no-repeat after:bg-left-top after:bg-[length:60%_auto]\n        [&:nth-child(2)::after]:scale-x-[-1] [&:nth-child(4)::after]:scale-x-[-1]  [&:nth-child(4)::after]:scale-y-[-1] [&:nth-child(3)::after]:scale-y-[-1]\n        "),children:[t.fields.image&&(0,i.jsx)("div",{className:"mb-[20px] lg:mb-[30px]",children:(0,i.jsx)(r.default,{src:t.fields.image.fields.file.url,alt:t.fields.title,width:t.fields.image.fields.file.details.image.width,className:"w-auto h-[31px] object-cover",height:t.fields.image.fields.file.details.image.height})}),(0,i.jsxs)("div",{className:" ".concat("Style 2"==o?"mb-0":"mb-[20px] xl:mb-[30px]"),children:[t.fields.title&&(0,i.jsx)("h5",{className:"!mb-0",children:t.fields.title}),t.fields.subtitle&&(0,i.jsx)("div",{className:"text-[14px]",children:t.fields.subtitle})]}),t.fields.description&&(0,i.jsx)("div",{className:" ".concat(t.fields.disclaimersText?"":"mb-[20px] lg:mb-[30px]"," text-[16px] check-list  ").concat("Style 2"==o?"medium-indent2":"text-medium"," "),children:(0,n.i)(t.fields.description,m)}),(0,i.jsx)(c.A,{disclaimersText:t.fields.disclaimersText,disclaimersRef:u}),(0,i.jsxs)("div",{className:"flex flex-wrap gap-1 mt-auto",children:[t.fields.button&&(0,i.jsx)(s.A,{text:t.fields.button.fields.linkTitle,link:t.fields.button.fields.link,color:t.fields.button.fields.style,target:t.fields.button.fields.openInNewTab?"_blank":"_self"}),t.fields.link&&(0,i.jsx)(a.default,{text:t.fields.link.fields.linkTitle,link:t.fields.link.fields.link,target:t.fields.link.fields.openInNewTab?"_blank":"_self"})]})]})},p=e=>{let t=e.items.fields,{ref:l}=(0,d.T$)(.5);return(0,i.jsx)("section",{id:t.id?t.id:"",className:" \n            ".concat(!t.topIndent||"none"==t.topIndent?"mt-0":"mt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"mb-"+t.bottomIndent:"mb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[(t.title||t.description)&&(0,i.jsxs)("div",{className:" mb-[30px] ".concat("Style 2"==t.style?"text-left":"text-center"," "),children:["Style 2"==t.style?t.title?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("h3",{className:"!mb-[10px]",children:t.title}),Array.isArray(t.cards)&&t.cards.length>0&&(0,i.jsxs)("div",{className:"flex items-center gap-[5px] font-[800] text-[14px]",children:[(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"19",className:"flex-shrink-0",viewBox:"0 0 18 19",fill:"none",children:[(0,i.jsxs)("g",{clipPath:"url(#clip0_9365_15260)",children:[(0,i.jsx)("path",{d:"M15.75 8C15.75 13.25 9 17.75 9 17.75C9 17.75 2.25 13.25 2.25 8C2.25 6.20979 2.96116 4.4929 4.22703 3.22703C5.4929 1.96116 7.20979 1.25 9 1.25C10.7902 1.25 12.5071 1.96116 13.773 3.22703C15.0388 4.4929 15.75 6.20979 15.75 8Z",stroke:"#3A1C32",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.jsx)("path",{d:"M9 10.25C10.2426 10.25 11.25 9.24264 11.25 8C11.25 6.75736 10.2426 5.75 9 5.75C7.75736 5.75 6.75 6.75736 6.75 8C6.75 9.24264 7.75736 10.25 9 10.25Z",stroke:"#3A1C32",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"clip0_9365_15260",children:(0,i.jsx)("rect",{width:"18",height:"18",fill:"white",transform:"translate(0 0.5)"})})})]}),t.cards.length," locations in this area"]})]}):null:t.title?(0,i.jsx)(o.A,{html:t.title,tag:"h2"}):null,"Style 2"==t.style?t.description?(0,i.jsx)("div",{className:"text-medium",children:(0,n.i)(t.description)}):null:t.description?(0,i.jsx)("div",{ref:l,className:"max-w-[750px] mx-auto fade-in",children:(0,n.i)(t.description)}):null]}),(0,i.jsx)("div",{className:"grid grid-cols-1 gap-2 ".concat("3"==t.columnsPerRow?"md:grid-cols-2 xl:grid-cols-3":"lg:grid-cols-2"," relative"),children:t.cards.map((e,l)=>(0,i.jsx)(f,{card:e,index:l,style:t.style,decoration:!(t.columnsPerRow>="3"),cardsCount:t.cards.length},l))})]})})}},9057:(e,t,l)=>{"use strict";l.d(t,{default:()=>r});var i=l(5155),n=l(2619),s=l.n(n),a=l(2115);function r(e){let{currentPage:t,totalPages:l,selectedLocation:n,selectedService:r,selectedLanguage:o,premierOnly:d,shuffleSeed:c}=e,m=(0,a.useRef)(null),f=()=>{m.current?m.current.scrollIntoView({behavior:"smooth",block:"start"}):window.scrollTo({top:0,behavior:"smooth"})}
1,p=e=>{let t=new URLSearchParams;return n&&t.set("location",n),r&&t.set("service",r),o&&t.set("language",o),d&&t.set("premier","1"),c&&t.set("seed",c),t.set("page",String(e)),"?".concat(t.toString())};return l<=1?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{ref:m,className:"scroll-target",style:{position:"absolute",top:"-100px"}}),(0,i.jsx)("div",{className:"mt-[40px]",children:(0,i.jsxs)("nav",{className:"flex pagination-nav items-center max-w-[720px] mx-auto justify-between gap-1",children:[t>1?(0,i.jsx)(s(),{href:p(t-1),className:"",onClick:f,children:"Previous"}):(0,i.jsx)("span",{className:"!opacity-50 cursor-not-allowed",children:"Previous"}),(0,i.jsx)("div",{className:"flex items-center gap-[10px]",children:Array.from({length:Math.min(5,l)},(e,n)=>{let a,r=(a=l<=5||t<=3?n+1:t>=l-2?l-4+n:t-2+n)===t;return(0,i.jsx)(s(),{href:p(a),className:"bg-none pt-[2px] px-[5px] lg:text-[16px] text-[14px] font-[800] block w-[30px] h-[30px] lg:w-[38px] lg:h-[38px] flex items-center justify-center rounded-[5px] border-[2px] border-warm-gray ".concat(r?"!border-castro":"hover:border-castro"),onClick:f,children:a},a)})}),t<l?(0,i.jsx)(s(),{href:p(t+1),className:"",onClick:f,children:"Next"}):(0,i.jsx)("span",{className:"!opacity-50 cursor-not-allowed",children:"Next"})]})})]})}},9065:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>o});var i=l(5155),n=l(2115),s=l(5239),a=l(2389),r=l(5854);l(4960),l(4720);let o=e=>{let t=e.items.fields,l=(0,n.useRef)(null);return(0,i.jsx)("section",{id:t.id?t.id:"",className:"\n            bg-red-gradient\n            ".concat(!t.topIndent||"none"==t.topIndent?"pt-0":"pt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"pb-"+t.bottomIndent:"pb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[t.title&&(0,i.jsxs)("div",{className:"mb-[25px] flex flex-col lg:flex-row text-white lg:justify-between gap-1 items-start lg:items-center lg:mb-[50px]",children:[t.title&&(0,i.jsx)("h3",{className:"mb-0",dangerouslySetInnerHTML:{__html:t.title}}),t.button&&(0,i.jsx)(r.A,{text:t.button.fields.linkTitle,link:t.button.fields.link,color:t.button.fields.style,target:t.button.fields.openInNewTab?"_blank":"_self"})]}),(0,i.jsx)("div",{className:"team-images-slider mx-[-15px]",children:(0,i.jsx)(a.A,{ref:l,...{dots:!1,arrows:!0,infinite:!1,speed:500,slidesToShow:4,slidesToScroll:1,autoplay:!1,autoplaySpeed:5e3,pauseOnHover:!0,responsive:[{breakpoint:1025,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:1,arrows:!1,dots:!0}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1,arrows:!1,dots:!0}}]},children:t.images&&t.images.map((e,t)=>(0,i.jsx)("div",{children:(0,i.jsxs)("div",{className:"w-full overflow-hidden",children:[(0,i.jsx)(s.default,{className:"",src:"https:".concat(e.fields.image.fields.file.url),alt:e.fields.image.fields.title,width:e.fields.image.fields.file.details.image.width,height:e.fields.image.fields.file.details.image.height}),e.fields.linkTitle&&(0,i.jsx)("div",{className:"text-white font-[800] mt-[9px]",children:e.fields.linkTitle})]})},t))})})]})})}},9077:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>p});var i=l(5155),n=l(2115),s=l(5814),a=l(5854),r=l(7522),o=l(7406),d=l(2619),c=l.n(d),m=l(8321);function f(e){let{formEmail:t}=e,[l,s]=(0,n.useState)({name:"",email:"",phone:"",message:"",location:""}),[a,r]=(0,n.useState)(!1),[o,d]=(0,n.useState)(null),[f,p]=(0,n.useState)(!1),x=e=>{let{name:t,value:l}=e.target;s(e=>({...e,[t]:l}))},u=async e=>{e.preventDefault(),r(!0),d(null);try{if(!window.grecaptcha)throw Error("reCAPTCHA not loaded");let e=await window.grecaptcha.execute("6LfeLlIsAAAAAChdjrvvoCLyBNNIPR-8AptkoZSK",{action:"submit_contact_us"}),i=await fetch("/api/formEmail",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...l,formEmail:t,formType:"contactUs",captchaToken:e})}),n=await i.json();i.ok?(d("success"),s({name:"",email:"",phone:"",message:"",location:""})):(d("error"),console.error("Error:",n.error))}catch(e){d("error"),console.error("Error:",e)}finally{r(!1)}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.default,{src:"https://www.google.com/recaptcha/api.js?render=".concat("6LfeLlIsAAAAAChdjrvvoCLyBNNIPR-8AptkoZSK"),onLoad:()=>p(!0)}),(0,i.jsxs)("form",{onSubmit:u,children:[(0,i.jsxs)("div",{className:"mb-[20px]",children:[(0,i.jsx)("label",{htmlFor:"name",className:"block mb-[10px] text-medium font-[800]",children:"Name*"}),(0,i.jsx)("input",{type:"text",id:"name",name:"name",value:l.name,onChange:x,required:!0,className:"w-full px-1 border-none rounded-[10px] h-[50px] lg:h-[60px] bg-warm-gray text-medium focus:outline-none focus:ring-2 focus:ring-castro focus:border-transparent transition-colors"})]}),(0,i.jsxs)("div",{className:"mb-[20px]",children:[(0,i.jsx)("label",{htmlFor:"email",className:"block mb-[10px] text-medium font-[800]",children:"Email*"}),(0,i.jsx)("input",{type:"email",id:"email",name:"email",value:l.email,onChange:x,required:!0,className:"w-full px-1 border-none rounded-[10px] h-[50px] lg:h-[60px] bg-warm-gray text-medium focus:outline-none focus:ring-2 focus:ring-castro focus:border-transparent transition-colors"})]}),(0,i.jsxs)("div",{className:"mb-[20px]",children:[(0,i.jsx)("label",{htmlFor:"phone",className:"block mb-[10px] text-medium font-[800]",children:"Phone"}),(0,i.jsx)("input",{type:"tel",id:"phone",name:"phone",value:l.phone,onChange:x,className:"w-full px-1 border-none rounded-[10px] h-[50px] lg:h-[60px] bg-warm-gray text-medium focus:outline-none focus:ring-2 focus:ring-castro focus:border-transparent transition-colors"})]}),(0,i.jsxs)("div",{className:"mb-[20px]",children:[(0,i.jsx)("label",{htmlFor:"location",className:"block mb-[10px] text-medium font-[800]",children:"Location I would like to contact:"}),(0,i.jsxs)("select",{id:"location",name:"location",value:l.location,onChange:x,className:"w-full px-1 pr-[40px] appearance-none lg:pr-[45px] border-none rounded-[10px] h-[50px] lg:h-[60px] bg-warm-gray text-medium focus:outline-none focus:ring-2 focus:ring-castro focus:border-transparent transition-colors",children:[(0,i.jsx)("option",{value:"",children:"Please select"}),(0,i.jsx)("option",{value:"Brownsville",children:"Brownsville"}),(0,i.jsx)("option",{value:"Edinburg",children:"Edinburg"}),(0,i.jsx)("option",{value:"El Paso Downtown",children:"El Paso Downtown"}),(0,i.jsx)("option",{value:"El Paso East",children:"El Paso East"}),(0,i.jsx)("option",{value:"El Paso West",children:"El Paso West"}),(0,i.jsx)("option",{value:"Fort Worth Camp Bowie",children:"Fort Worth Camp Bowie"}),(0,i.jsx)("option",{value:"Fort Worth Club",children:"Fort Worth Club"}),(0,i.jsx)("option",{value:"Hondo",children:"Hondo"}),(0,i.jsx)("option",{value:"Laredo - I-35",children:"Laredo - I-35"}),(0,i.jsx)("option",{value:"Laredo - McPherson",children:"Laredo - McPherson"}),(0,i.jsx)("option",{value:"McAllen - 10th St",children:"McAllen - 10th St"}),(0,i.jsx)("option",{value:"McAllen Central Market Place",children:"McAllen Central Market Place"}),(0,i.jsx)("option",{value:"McAllen Main",children:"McAllen Main"}),(0,i.jsx)("option",{value:"McAllen McColl Rd",children:"McAllen McColl Rd"}),(0,i.jsx)("option",{value:"McAllen Nolana Ave",children:"McAllen Nolana Ave"}),(0,i.jsx)("option",{value:"Mission",children:"Mission"}
1),(0,i.jsx)("option",{value:"Refugio",children:"Refugio"}),(0,i.jsx)("option",{value:"San Antonio - Centre Plaza",children:"San Antonio - Centre Plaza"}),(0,i.jsx)("option",{value:"San Antonio - Stone Oak",children:"San Antonio - Stone Oak"}),(0,i.jsx)("option",{value:"Sharyland",children:"Sharyland"}),(0,i.jsx)("option",{value:"Sharyland Express",children:"Sharyland Express"}),(0,i.jsx)("option",{value:"Weslaco",children:"Weslaco"})]})]}),(0,i.jsxs)("div",{className:"mb-[20px]",children:[(0,i.jsx)("label",{htmlFor:"message",className:"block mb-[10px] text-medium font-[800]",children:"Message"}),(0,i.jsx)("textarea",{id:"message",name:"message",value:l.message,onChange:x,rows:4,className:"w-full px-1 py-1 border-none rounded-[10px] h-[100px] lg:h-[150px] bg-warm-gray text-medium focus:outline-none focus:ring-2 focus:ring-castro focus:border-transparent transition-colors resize-vertical"})]}),(0,i.jsxs)("div",{className:"mb-[20px] text-medium",children:["By submitting, you agree to our ",(0,i.jsx)(c(),{href:"/privacy-policy",className:"underline hover:no-underline",children:"Privacy Policy"}),". This site is protected by reCAPTCHA and the Google"," ",(0,i.jsx)("a",{href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener noreferrer",className:"underline hover:no-underline",children:"Privacy Policy"})," and"," ",(0,i.jsx)("a",{href:"https://policies.google.com/terms",target:"_blank",rel:"noopener noreferrer",className:"underline hover:no-underline",children:"Terms of Service"})," apply."]}),"success"===o&&(0,i.jsx)("div",{className:"bg-[green] text-white text-small p-1 text-center mb-[20px] rounded-[10px]",children:"Thank you! Your message has been sent successfully."}),"error"===o&&(0,i.jsx)("div",{className:"bg-red text-white text-small p-1 text-center mb-[20px] rounded-[10px]",children:"Sorry, there was an error sending your message. Please try again."}),(0,i.jsx)("button",{type:"submit",disabled:a,className:'button relative text-center text-[16px] cursor-pointer inline-flex items-center justify-center font-[800] leading-[1.5] transition-all rounded-[30px] border-[2px] px-[15px] lg:px-[10px] xl:px-[18px] py-[10px] lg:py-[11px] xl:py-[13px] min-w-[120px] bg-red px-[17px] lg:px-[10px] xl:px-[18px] py-[9px] lg:py-[10px] xl:py-[12px] border-red text-white after:content-[""] after:rounded-[30px] after:absolute after:left-[-2px] after:top-[-2px] after:right-[-2px] after:bottom-[-2px] after:bg-gradient-to-r after:from-red after:to-[#FF6E46] after:transition-all after:opacity-0 hover:after:opacity-100 disabled:bg-gray-400 disabled:cursor-not-allowed disabled:border-gray-400 disabled:after:opacity-0 '.concat(a?"opacity-50":""),children:(0,i.jsx)("span",{className:"relative z-[4]",children:a?"Sending...":"Send Message"})})]})]})}let p=e=>{var t;if(!(null==(t=e.items)?void 0:t.fields))return null;let l=e.items.fields,{ref:d}=(0,r.T$)(.5),{ref:c}=(0,r.T$)(1),m={renderText:e=>e.split("\n").map((e,t,l)=>(0,i.jsxs)(n.Fragment,{children:[e,t<l.length-1&&(0,i.jsx)("br",{})]},t))};return(0,i.jsx)("section",{className:"bg-red-gradient relative z-[2] \n            after:content-[''] after:z-[-1] after:opacity-5  after:absolute after:top-0 after:left-0 after:w-full after:h-full after:bg-[url('/pattern-light.svg')] after:bg-center after:bg-[length:100%_auto]'}\n        ",children:(0,i.jsx)("div",{className:" container \n                ".concat(!l.topIndent||"none"==l.topIndent?"pt-0":"pt-"+l.topIndent,"\n                ").concat(l.bottomIndent&&"none"!=l.bottomIndent?"pb-"+l.bottomIndent:"pb-0"),children:(0,i.jsxs)("div",{className:"grid grid-cols-1 lgMin:grid-cols-2 gap-2 md:gap-1 items-center",children:[(0,i.jsxs)("div",{className:"relative lg:max-w-[600px] heading-noindent text-white",children:[l.title&&(0,i.jsx)(o.A,{html:l.title,tag:"h2"}),l.description&&(0,i.jsx)("div",{className:"fade-in mb-[20px] medium-indent",ref:d,children:(0,s.i)(l.description,m)}),l.contactBlocks&&(0,i.jsx)("div",{className:"fade-in medium-indent",ref:c,children:l.contactBlocks.map((e,t)=>(0,i.jsxs)("div",{className:"border-t-[1px] border-white  pt-[20px] lg:pt-[30px]  mb-[20px] lg:mb-[30px] last:mb-0",children:[e.fields.description&&(0,i.jsx)("div",{className:"",children:(0,s.i)(e.fields.description,m)}),e.fields.buttonsList&&(0,i.jsx)("div",{className:"flex gap-1 flex-wrap mb-[20px]",children:e.fields.buttonsList.map((e,t)=>(0,i.jsx)("div",{children:(0,i.jsx)(a.A,{text:e.fields.linkTitle,link:e.fields.link,color:e.fields.style,target:e.fields.openInNewTab?"_blank":"_self","aria-label":e.fields.linkTitle,role:"button",tabIndex:0})},t))}),e.fields.textAfter&&(0,i.jsx)("div",{className:"mt-[20px]",children:(0,s.i)(e.fields.textAfter,m)})]},t))})]}),l.formEmail&&(0,i.jsxs)("div",{className:"bg-white rounded-[25px] lg:rounded-[50px] p-[30px] xl:p-[50px]",children:[l.formTitle&&(0,i.jsx)("h4",{className:"mb-[20px] lg:mb-[30px]",children:l.formTitle}),(0,i.jsx)(f,{formEmail:l.formEmail})]})]})})})}},9136:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>d});var i=l(5155),n=l(5814),s=l(5854),a=l(2115),r=l(1408),o=l(1130);let d=e=>{var t,l,d,c,m,f,p,x,u,h,g,b,v,w,j,N,y,k,A,I,T,C,S,_,M,L,E;let F=e.items.fields,P=F&&Array.isArray(F.tabs)?F.tabs:[],[R,B]=(0,a.useState)(0),[W,z]=(0,a.useState)(!1),[q,D]=(0,a.useState)(!1),H=(0,a.useRef)(null),O=(0,a.useRef)([]),$=(0,a.useRef)(null);return(0,a.useEffect)(()=>
1{if(H.current&&O.current[R]){let e=H.current.getBoundingClientRect();z(2>Math.abs(O.current[R].getBoundingClientRect().right-e.right))}},[R]),(0,a.useEffect)(()=>{if(q)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){$.current&&!$.current.contains(e.target)&&D(!1)}},[q]),(0,i.jsx)("section",{id:F.id?F.id:"",className:" text-white bg-castro-gradient\n            ".concat(!F.topIndent||"none"==F.topIndent?"pt-0":"pt-"+F.topIndent,"\n            ").concat(F.bottomIndent&&"none"!=F.bottomIndent?"pb-"+F.bottomIndent:"pb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[F.title&&(0,i.jsx)("div",{className:"mb-[25px] lg:mb-[50px]",children:F.title&&(0,i.jsx)("h3",{className:"m-0",children:F.title})}),(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[66%_auto] gap-2",children:[(0,i.jsxs)("div",{children:[F.tabs.length>1&&(0,i.jsxs)("div",{ref:H,className:"relative",children:[(0,i.jsx)("div",{className:"hidden md:flex justify-start",children:P&&P.map((e,t)=>(0,i.jsx)("div",{ref:e=>{O.current[t]=e},className:"cursor-pointer text-center flex items-center py-[5px] px-[30px] xl:px-[50px] h-[60px] rounded-t-[10px] transition-colors ".concat(R===t?"bg-white/5":""),onClick:()=>B(t),children:e.fields.tabTitle&&(0,i.jsx)("div",{className:"text-[16px] font-[800]",children:e.fields.tabTitle})},t))}),(0,i.jsxs)("div",{className:"block mb-[20px] md:hidden",ref:$,children:[(0,i.jsxs)("button",{className:"w-full p-[15px] px-[30px] gap-[10px] rounded-[10px] bg-white/5 text-white font-[800] text-[16px] flex items-center justify-between ".concat(q?"rounded-b-[0px]":"rounded-b-[10px]"),onClick:()=>D(e=>!e),"aria-label":"Toggle dropdown","aria-expanded":q,"aria-controls":"tabs-dropdown-menu",children:[(null==(l=P[R])||null==(t=l.fields)?void 0:t.tabTitle)&&(0,i.jsx)("div",{children:P[R].fields.tabTitle}),(0,i.jsx)("svg",{className:"transition-transform duration-300 ".concat(q?"rotate-180":""),width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]}),q&&(0,i.jsx)("div",{className:"absolute left-0 right-0 bg-white rounded-[10px] rounded-t-[0px] z-10 flex flex-col",children:P&&P.map((e,t)=>(0,i.jsx)("div",{className:"cursor-pointer hover:text-red text-left text-castro text-[16px] font-[800] p-[15px] px-[30px] flex items-center gap-[10px] ".concat(R===t?"bg-white/10":""),onClick:()=>{B(t),D(!1)},children:e.fields.tabTitle&&(0,i.jsx)("div",{children:e.fields.tabTitle})},t))})]})]}),(0,i.jsx)("div",{className:" relative z-[2] bg-white/5 ".concat(F.tabs.length>1?"min-h-[calc(100%-60px)]":"min-h-full !rounded-[10px]"," p-[30px] xl:p-[50px] rounded-[10px] ").concat(0===R?"md:rounded-tl-[0]":""," ").concat(W?"md:!rounded-tr-[0]":""," "),children:(0,i.jsx)(r.N,{mode:"wait",children:P.length>0&&P[R]&&(0,i.jsxs)(o.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},children:[(null==(p=P[R])||null==(f=p.fields)||null==(m=f.tabContent)||null==(c=m[0])||null==(d=c.fields)?void 0:d.title)&&(0,i.jsx)("h4",{className:"mb-[20px] lg:mb-[30px]",children:P[R].fields.tabContent[0].fields.title}),(null==(b=P[R])||null==(g=b.fields)||null==(h=g.tabContent)||null==(u=h[0])||null==(x=u.fields)?void 0:x.description)&&(0,i.jsxs)("div",{className:"text-white text-medium rounded-[10px] overflow-hidden bg-[#140A14]",children:[((null==(y=P[R])||null==(N=y.fields)||null==(j=N.tabContent)||null==(w=j[0])||null==(v=w.fields)?void 0:v.addTitle1)||(null==(C=P[R])||null==(T=C.fields)||null==(I=T.tabContent)||null==(A=I[0])||null==(k=A.fields)?void 0:k.addTitle2))&&(0,i.jsxs)("h5",{className:"px-[15px] !m-0 py-[18px] text-[16px] font-normal bg-white/10 flex flex-wrap items-start justify-between gap-1 md:px-[30px] xl:px-[50px]",children:[(0,i.jsx)("span",{children:P[R].fields.tabContent[0].fields.addTitle1})," ",(0,i.jsx)("span",{children:P[R].fields.tabContent[0].fields.addTitle2})]}),(0,i.jsx)("div",{className:"p-[15px] md:p-[30px] xl:p-[50px]",children:(0,n.i)(P[R].fields.tabContent[0].fields.description)})]}),(null==(E=P[R])||null==(L=E.fields)||null==(M=L.tabContent)||null==(_=M[0])||null==(S=_.fields)?void 0:S.addDescription)&&(0,i.jsx)("div",{className:"mt-[20px] lg:mt-[30px] check-list horizontal-list",children:(0,n.i)(P[R].fields.tabContent[0].fields.addDescription)})]},R)})})]}),(0,i.jsx)("div",{className:"".concat(F.tabs.length>1?"lg:pt-[60px]":""),children:(0,i.jsxs)("div",{className:"bg-white/5 min-h-full p-[30px] xl:p-[50px] rounded-[10px]",children:[F.sidebarTitle&&(0,i.jsx)("h5",{className:"",children:F.sidebarTitle}),F.sidebarContent&&(0,i.jsx)("div",{className:"mb-[20px] lg:mb-[30px] check-list text-medium marked-title",children:(0,n.i)(F.sidebarContent)}),F.sidebarButton&&(0,i.jsx)(s.A,{text:F.sidebarButton.fields.linkTitle,link:F.sidebarButton.fields.link,color:F.sidebarButton.fields.style,target:F.sidebarButton.fields.openInNewTab?"_blank":"_self"}),F.sidebarNote&&(0,i.jsx)("div",{className:"mt-[20px] lg:mt-[30px] text-small",children:F.sidebarNote})]})})]})]})})}},9406:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>r});var i=l(5155),n=l(2115),s=l(5239),a=l(2389);l(4960),l(4720);let r=e=>{let t=e.items.fields,l=(0,n.useRef)(null);return(0,i.jsx)("section",{id:t.id?t.id:"",className:"\n            ".concat(!t.topIndent||"none"==t.topIndent?"mt-0":"mt-"+t.topIndent,"\n            ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"mb-"+t.bottomIndent:"mb-0","\n        "),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"team-images-slider mx-[-15px]",children:(0,i.jsx)(a.A,{ref:l,...{dots:!1,arrows:!0,infinite:!0,speed:500,slidesToShow:4,slidesToScroll:1,autoplay:!1,autoplaySpeed:3e3,pauseOnHover:!0,responsive:[{breakpoint:1025,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:1,arrows:!1,autoplay:!0,dots:!0}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1,arrows:!1,autoplay:!0,dots:!0}}]},children:t.images&&t.images.map((e,t)=>(0,i.jsx)("div",{children:(0,i.jsx)("div",{className:"w-full md:aspect-[0.95/1] rounded-[25px] lg:rounded-[50px] overflow-hidden",children:(0,i.jsx)(s.default,{className:"w-full h-auto md:h-full object-cover rounded-[25px] lg:rounded-[50px]",src:"https:".concat(e.fields.image.fields.file.url),alt:e.fields.image.fields.title,width:e.fields.image.fields.file.details.image.width,height:e.fields.image.fields.file.details.image.height})})},t))})})})})}},9561:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>c});var i=l(5155),n=l(5814),s=l(5854),a=l(955),r=l(5239),o=l(7406),d=l(7522);let c=e=>{var t;let l=e.items.fields,c=(l.cards||[]).filter(e=>(null==e?void 0:e.fields)&&(null==e?void 0:e.sys)),{ref:m}=(0,d.T$)(.5),{ref:f}=(0,d.T$)(1);return(0,i.jsx)("section",{id:l.id?l.id:"",className:" \n            ".concat(!l.topIndent||"none"==l.topIndent?"mt-0":"mt-"+l.topIndent,"\n            ").concat(l.bottomIndent&&"none"!=l.bottomIndent?"mb-"+l.bottomIndent:"mb-0","\n        "),children:(0,i.jsxs)("div",{className:"container",children:[(l.title||l.description||l.button)&&(0,i.jsxs)("div",{className:"mb-[25px]  text-center lg:mb-[50px]",children:[l.title&&(0,i.jsx)(o.A,{html:l.title,tag:"h2"}),l.description&&(0,i.jsx)("div",{className:"max-w-[750px] mx-auto fade-in",ref:m,children:(0,n.i)(l.description)}),(null==(t=l.button)?void 0:t.fields)&&(0,i.jsx)("div",{className:"mt-[20px] fade-in",ref:f,children:(0,i.jsx)(s.A,{text:l.button.fields.linkTitle,link:l.button.fields.link,color:l.button.fields.style,target:l.button.fields.openInNewTab?"_blank":"_self"})})]}),(0,i.jsx)("div",{className:"grid grid-cols-1 gap-2 ".concat(1===parseInt(l.cardsPerRow||3)?"lgMin:grid-cols-1":2===parseInt(l.cardsPerRow||3)?"lgMin:grid-cols-2":3===parseInt(l.cardsPerRow||3)?"lgMin:grid-cols-3":4===parseInt(l.cardsPerRow||3)?"lgMin:grid-cols-2 xl:grid-cols-4":"lgMin:grid-cols-3"),children:c.map((e,t)=>{var l,s,o,d,m,f,p,x,u,h,g,b;let v="itemTestimonial"===(null==(o=e.sys)||null==(s=o.contentType)||null==(l=s.sys)?void 0:l.id);return(0,i.jsx)("div",{className:"".concat(v?"bg-red-gradient min-h-[300px] text-white flex justify-center relative after:bg-[url(/bg-heart.svg)] after:opacity-30 after:bg-no-repeat after:bg-right after:absolute after:right-0 after:top-[50%] after:translate-y-[-50%] after:w-[50%] after:h-full after:max-h-[380px] after:bg-[auto_60%]":"Grey"==e.fields.backgroundColor?"bg-warm-gray":"bg-castro-gradient text-white","  roun
1ded-[25px] lg:rounded-[50px] p-[30px] lg:p-[50px] md:min-w-[25%] flex flex-col ").concat(c.length>3?"lg:px-[35px]":""),children:v?(0,i.jsxs)("div",{className:"relative z-[2]",children:[e.fields.testimonial&&(0,i.jsx)("div",{children:(0,n.i)(e.fields.testimonial)}),e.fields.author&&(0,i.jsx)("div",{className:"mt-[15px] text-[16px] editorial-text",dangerouslySetInnerHTML:{__html:e.fields.author}})]}):(0,i.jsxs)(i.Fragment,{children:[(null==(f=e.fields.image)||null==(m=f.fields)||null==(d=m.file)?void 0:d.url)&&(0,i.jsx)("div",{className:"mb-[20px] lg:mb-[30px]",children:(0,i.jsx)(r.default,{src:e.fields.image.fields.file.url,alt:e.fields.title||"",width:(null==(x=e.fields.image.fields.file.details)||null==(p=x.image)?void 0:p.width)||100,height:(null==(h=e.fields.image.fields.file.details)||null==(u=h.image)?void 0:u.height)||100})}),(0,i.jsxs)("div",{className:"mb-[20px]",children:[e.fields.title&&(0,i.jsx)("h5",{className:"m-0",dangerouslySetInnerHTML:{__html:e.fields.title}}),e.fields.subtitle&&(0,i.jsx)("div",{className:"m-0",dangerouslySetInnerHTML:{__html:e.fields.subtitle}})]}),e.fields.description&&(0,i.jsx)("div",{className:"mb-[20px] lg:mb-[30px]",children:(0,n.i)(e.fields.description)}),(null==(g=e.fields.link)?void 0:g.fields)&&(0,i.jsx)("div",{className:"mt-auto",children:(0,i.jsx)(a.default,{text:e.fields.link.fields.linkTitle,link:e.fields.link.fields.link,target:e.fields.link.fields.openInNewTab?"_blank":"_self"})})]})},(null==(b=e.sys)?void 0:b.id)||t)})})]})})}},9726:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>o});var i=l(5155),n=l(5814),s=l(5854),a=l(7406),r=l(7522);let o=e=>{let t=e.items.fields,{ref:l}=(0,r.T$)(1);return(0,i.jsx)("section",{children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"rounded-t-[25px] lg:rounded-t-[50px] overflow-hidden md:flex justify-between gap-2 items-center text-white bg-red-gradient px-[30px] xl:px-[95px] relative\n                        after:content-[''] after:absolute after:w-full after:h-full after:top-0 after:left-0 after:bg-[url('/logo-bg.svg')] after:bg-no-repeat after:bg-center after:bg-[auto_100%] after:z-[1]\n                        ".concat(!t.topIndent||"none"==t.topIndent?"pt-0":"pt-"+t.topIndent,"\n                        ").concat(t.bottomIndent&&"none"!=t.bottomIndent?"pb-"+t.bottomIndent:"pb-0"),children:[(0,i.jsxs)("div",{className:"relative z-[2] md:w-[60%] lg:w-[70%]",children:[t.title&&(0,i.jsx)(a.A,{html:t.title,tag:"h2",className:"h1"}),t.description&&(0,i.jsx)("div",{ref:l,className:"fade-in",children:(0,n.i)(t.description)})]}),(0,i.jsx)("div",{className:"z-[2] relative md:w-[40%] lg:w-[30%] mt-2 md:mt-0",children:(0,i.jsx)("div",{className:"max-w-[300px] flex flex-col gap-[24px] md:ml-auto",children:t.buttonsList&&t.buttonsList.map((e,t)=>(0,i.jsx)(s.A,{text:e.fields.linkTitle,link:e.fields.link,color:e.fields.style,target:e.fields.openInNewTab?"_blank":"_self"},t))})})]})})})}}}]);

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.