(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,482022,e=>{let t=(0,e.i(456420).f)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["f",0,t],482022)},349597,e=>{var t=e.i(843476),r=e.i(522016),l=e.i(618566),a=e.i(271645),i=e.i(482022),s=e.i(311063),o=e.i(117213);let n="inline-flex h-12 items-center rounded-full border border-white/60 bg-transparent px-8 text-base font-semibold text-white transition-colors hover:bg-white/10";function d({cta:e,variant:l,page:c}){var u;let b="primary"===l?"btn-gradient inline-flex h-12 items-center rounded-full px-8 text-base font-semibold text-white":n,f=`hero-${l}-cta`,h="primary"===l?"hero-primary":"hero-secondary",m=(0,a.useRef)(null);if((0,o.f)(m),u=e.href,/^(https?|tel|mailto):/i.test(u)){let r=/^https?:/i.test(e.href);return(0,t.jsxs)("a",{ref:m,href:e.href,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,"aria-label":r?`${e.label} (opens in a new tab)`:void 0,"data-testid":f,className:b,onClick:()=>(0,s.p)(h,c),children:[e.label,r&&(0,t.jsx)(i.f,{className:"ml-2 size-4","aria-hidden":!0})]})}return(0,t.jsx)(r.default,{ref:m,href:e.href,"data-testid":f,className:b,onClick:()=>(0,s.p)(h,c),children:e.label})}e.s(["HERO_SECONDARY_CTA_CLASS",0,n,"HeroCtasTracked",0,function({primaryCta:e,secondaryCta:r,secondarySlot:a,align:i="center"}){let s=(0,l.usePathname)();return(0,t.jsxs)("div",{className:`mt-8 flex flex-wrap items-center ${"start"===i?"justify-start":"justify-center"} gap-4`,children:[e&&(0,t.jsx)(d,{cta:e,variant:"primary",page:s}),a??(r&&(0,t.jsx)(d,{cta:r,variant:"secondary",page:s}))]})}])},854453,e=>{var t=e.i(843476),r=e.i(522016),l=e.i(271645),a=e.i(117213);e.s(["CtaLink",0,function({describedBy:e,children:i,...s}){let o=(0,l.useRef)(null);return(0,a.f)(o,e),(0,t.jsx)(r.default,{ref:o,"aria-describedby":e,...s,children:i})}])},87791,e=>{var t=e.i(843476),r=e.i(271645),l=e.i(975157);e.s(["ScrollRegion",0,function({as:e,label:a,labelledBy:i,className:s,children:o,...n}){let d=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=d.current;if(!e)return;let t={label:a,labelledBy:i},r=()=>{var r;return r=e.scrollWidth>e.clientWidth+1||e.scrollHeight>e.clientHeight+1,void(e.setAttribute("data-measured","true"),r?(e.setAttribute("tabindex","0"),e.setAttribute("role","region"),e.setAttribute("data-scrolls","true"),t.labelledBy?(e.setAttribute("aria-labelledby",t.labelledBy),e.removeAttribute("aria-label")):t.label&&(e.setAttribute("aria-label",t.label),e.removeAttribute("aria-labelledby"))):(e.removeAttribute("tabindex"),e.removeAttribute("role"),e.removeAttribute("data-scrolls"),e.removeAttribute("aria-label"),e.removeAttribute("aria-labelledby")))};if(r(),"u"l.disconnect()},[a,i]),(0,t.jsx)(e??"div",{ref:d,"data-slot":"scroll-region",className:(0,l.f)("overflow-x-auto",s),...n,children:o})}])},429592,e=>{var t=e.i(843476),r=e.i(271645);e.s(["ConsentEmbed",0,function({url:e}){let l,[a,i]=(0,r.useState)(!1),s=(l=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/)|youtu\.be\/)([a-zA-Z0-9_-]{11})/),l?.[1]??null);return s?a?(0,t.jsx)("div",{className:"my-8 aspect-video w-full overflow-hidden rounded-lg",children:(0,t.jsx)("iframe",{src:`https://www.youtube-nocookie.com/embed/${s}`,title:"YouTube video",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,className:"h-full w-full"})}):(0,t.jsxs)("div",{className:"my-8 flex flex-col items-center justify-center rounded-lg border border-cbt-100 bg-cbt-50 p-8",children:[(0,t.jsx)("p",{className:"mb-4 text-sm text-muted-foreground",children:"This content is hosted by YouTube. Loading it may share data with Google."}),(0,t.jsx)("button",{onClick:()=>i(!0),className:"btn-gradient rounded-full px-6 py-2 text-sm font-semibold text-white",children:"Load embedded video"})]}):(0,t.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"text-cbt-600 underline hover:text-cbt-800",children:"Watch video"})}])}])})();