1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,15128,e=>{"use strict";var t=e.i(63645),n=e.i(7706),r=e.i(87932),i=e.i(11470);e.s(["BuildersTogether",0,()=>{let{data:e}=(0,n.useSuspenseQuery)((0,i.homepageQueryOptions)()),{slides:a}=e.pageHome?.buildersTogetherSection??{};return(0,t.jsx)(r.OurEdgeSection,{flushBottomOnMobile:!0,slides:a})}])},42111,e=>{"use strict";e.s(["ITALIC_ACCENT_PATTERN",0,/\*([^*]+)\*/g,"parseAccentSegments",0,(e,t)=>{let n=[],r=0;for(let i of e.matchAll(t)){let t=i[0],a=i.index??0;a>r&&n.push({accent:!1,text:e.slice(r,a)}),n.push({accent:!0,text:i[1]??""}),r=a+t.length}return r<e.length&&n.push({accent:!1,text:e.slice(r)}),n.filter(e=>e.text.length>0)},"splitLines",0,e=>e?.split(/\r?\n/).map(e=>e.trim()).filter(e=>e.length>0)??[]])},94456,e=>{"use strict";var t=e.i(63645),n=e.i(49521),r=e.i(63266),i=e.i(7284),a=e.i(12086),o=e.i(65143),s=e.i(30694),l=e.i(27478),c=e.i(11470),d=e.i(42111);let u={once:!0,amount:.6,margin:"0px 0px -20% 0px"},m="self-stretch text-[18px] font-medium leading-[1.45] not-italic max-sm:text-[clamp(16px,4.186vw,18px)] sm:text-[18px] sm:leading-[1.45] xl:text-[21px] xl:leading-[28px]",p=[{pose:"left",quoteClassName:(0,i.default)(m,"text-[#C2CDF1]"),emClassName:"font-semibold italic text-[#819EFF]"},{pose:"center",quoteClassName:(0,i.default)(m,"text-[#A3C3D7]"),emClassName:"font-semibold italic text-[#60DEFA]"},{pose:"right",quoteClassName:(0,i.default)(m,"text-[#DDD4FB]"),emClassName:"font-medium italic text-[#BDAEFF]"}],x=[{lineTitle:"None Required",title:"Cleanup",bannerSrc:"/cleanup.png",backSrc:"/4c731e1c5f3e8a7db35151fc51cdf782269ed1d5.png",logoSrc:"/cleanup_logo.webp",logoWidth:400,logoHeight:400,logoLabel:"Cleanup",quote:"We can scale any product to millions worldwide if it is solving consumersâ problems. Cleanup was the first proof of that. *Still #1 in its category for 6 years.*"},{lineTitle:"Frontier Models, Orchestrated",title:"Learna",bannerSrc:"/learna_ai.png",backSrc:"/de261a64f389fe97f2b4f3cb413901860bca72aa.png",logoSrc:"/learna_logo.webp",logoWidth:35,logoHeight:35,logoLabel:"Learna AI",quote:"Learna leverages the power of LLMs and turns that into a valuable and disruptive language learning tool for *more than 40M users.*"},{lineTitle:"Frontier Models, Built In-house",title:"Retake",bannerSrc:"/retake.png",backSrc:"/12609da31b97de9f8824fc75f7517ad81f244e14.png",logoSrc:"/retake_logo.webp",logoWidth:96,logoHeight:96,logoLabel:"Retake",quote:"And if there is no tech for the problem weâd like to solve, *we build the tech ourselves.* Retake proves that."}],h=x.flatMap((e,t)=>{let n=p[t];return n?[{...e,...n}]:[]}),f={left:"aspect-[331/472]",center:"aspect-[331/472]",right:"aspect-[331/472]"};function g(){return(0,t.jsx)("span",{"aria-hidden":"true",className:(0,i.default)(s.navbarPillClassName,"absolute bottom-4 right-4 z-10 flex h-8 w-8 items-center justify-center [@media(hover:hover)]:hidden"),children:(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"h-3.5 w-3.5 text-white",children:[(0,t.jsx)("path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3"}),(0,t.jsx)("path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3"}),(0,t.jsx)("path",{d:"M12 2v2"}),(0,t.jsx)("path",{d:"M12 8v2"}),(0,t.jsx)("path",{d:"M12 14v2"}),(0,t.jsx)("path",{d:"M12 20v2"})]})})}let w=["text-[#3F80B1]","text-[#5B7B93]","text-[#7E5B93]"],b=["#0180FF","#3A5A7A","#7E5B93"],v=["#A9D4FF","#BCC7D2","#D3C7DA"],y=["#01AFFF","#779EC4","#D691FF"],j=["rgba(1, 175, 255, 0.34)","rgba(119, 158, 196, 0.34)","rgba(214, 145, 255, 0.34)"];function k({active:e,className:n,entryDelay:r,hoverColor:o,idleColor:s,prefersReducedMotion:l}){return(0,t.jsxs)(a.motion.span,{"aria-hidden":"true",className:(0,i.default)("absolute top-0 h-7 w-7 -translate-y-1/2",n),initial:!l&&{opacity:0,scale:.5},whileInView:l?void 0:{opacity:1,scale:1},viewport:{once:!0,amount:.6},transition:{duration:.34,delay:r,ease:[.22,1,.36,1]},children:[(0,t.jsx)(a.motion.span,{"aria-hidden":"true",className:"absolute inset-0 z-10 rounded-full",initial:!1,animate:{backgroundColor:`${e?o:s}57`},transition:{duration:.35,ease:[.22,1,.36,1]}}),(0,t.jsx)(a.motion.span,{"aria-hidden":"true",className:"absolute left-1/2 top-1/2 z-20 h-[17.2px] w-[17.2px] -translate-x-1/2 -translate-y-1/2 roun
1ded-full",initial:!1,animate:{backgroundColor:e?o:s},transition:{duration:.35,ease:[.22,1,.36,1]}})]})}function N({active:e,className:n,entryDelay:r,hoverColor:a,idleColor:o,prefersReducedMotion:s}){return(0,t.jsx)(k,{active:e,className:(0,i.default)("absolute top-0 h-7 w-7 -translate-y-1/2",n),entryDelay:r,hoverColor:a,idleColor:o,prefersReducedMotion:s})}function S({active:e,card:n,index:r,prefersReducedMotion:o}){let s=b[r]??b[2],l=v[r]??v[2],c=y[r]??y[2],d=j[r]??j[2];return(0,t.jsxs)("div",{className:"relative h-[38px] w-full sm:hidden",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute -bottom-[80px] left-1/2 top-7 w-px -translate-x-1/2",style:{backgroundColor:s}}),(0,t.jsx)(a.motion.span,{"aria-hidden":"true",className:"absolute left-1/2 top-0 z-10 size-7 -translate-x-1/2 rounded-full",initial:!o&&{opacity:0,scale:.5},animate:{backgroundColor:e?d:l},whileInView:o?void 0:{opacity:1,scale:1},viewport:{once:!0,amount:.6},transition:{duration:.34,ease:[.22,1,.36,1]},children:(0,t.jsx)(a.motion.span,{className:"absolute left-1/2 top-1/2 size-[17.2px] -translate-x-1/2 -translate-y-1/2 rounded-full",initial:!1,animate:{backgroundColor:e?c:s},transition:{duration:.35,ease:[.22,1,.36,1]}})}),(0,t.jsx)("span",{className:(0,i.default)("absolute left-[calc(50%_+_26px)] top-0 flex min-h-7 w-[calc(50%_-_26px)] items-center text-left text-[clamp(0.75rem,4.267vw,1rem)] font-medium leading-none",w[r]??w.at(-1)),children:n.lineTitle})]})}function _({cards:e,hoveredIndex:n,prefersReducedMotion:r}){return(0,t.jsx)("div",{className:"mt-16 hidden w-full max-w-[1020px] px-2 sm:mt-20 sm:block sm:px-0",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(a.motion.div,{"aria-hidden":"true",className:"absolute left-[16.6667%] right-[16.6667%] top-0 h-[3px] origin-left rounded-full bg-[#B6C9D8]",initial:!r&&{scaleX:0},whileInView:r?void 0:{scaleX:1},viewport:{once:!0,amount:.6},transition:{duration:.72,ease:[.22,1,.36,1]},children:(0,t.jsx)(a.motion.div,{"aria-hidden":"true",className:"absolute inset-0 rounded-full",style:{backgroundImage:"linear-gradient(90deg, #5CB6FF 0%, #B6C9D8 13%, #B6C9D8 37%, #378FD4 50%, #B6C9D8 63%, #B6C9D8 87%, #8B37D4 100%)"}})}),(0,t.jsx)(N,{active:0===n,className:"left-[16.6667%] -translate-x-1/2",idleColor:b[0],hoverColor:"#01AFFF",entryDelay:.38,prefersReducedMotion:r}),(0,t.jsx)(N,{active:1===n,className:"left-1/2 -translate-x-1/2",idleColor:b[1],hoverColor:"#779EC4",entryDelay:.52,prefersReducedMotion:r}),(0,t.jsx)(N,{active:2===n,className:"right-[16.6667%] translate-x-1/2",idleColor:b[2],hoverColor:"#D691FF",entryDelay:.66,prefersReducedMotion:r}),(0,t.jsx)("div",{className:"grid grid-cols-3 pt-5",children:e.slice(0,3).map((e,n)=>(0,t.jsx)("span",{className:(0,i.default)("min-w-0 px-1 text-center text-[11px] font-medium leading-[1.1] sm:px-2 sm:text-[16px] sm:leading-[1.09] xl:text-[20px]",w[n]??w.at(-1)),children:e.lineTitle},e.title))})]})})}function A({card:e,flipped:a,onFlip:o,onHoverChange:s}){return(0,t.jsx)("div",{className:(0,i.default)("group relative w-[80%] max-w-none transition-transform duration-500 ease-out sm:w-full sm:max-w-[331px] sm:[perspective:1400px]",f[e.pose],a&&"z-10","sm:hover:z-10"),onClick:o,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),children:(0,t.jsx)("div",{className:"h-full w-full [transform-style:preserve-3d]",children:(0,t.jsxs)("div",{className:(0,i.default)("relative h-full w-full transition-transform duration-700 ease-out [transform-style:preserve-3d]","sm:group-hover:[transform:rotateY(180deg)]",a&&"[transform:rotateY(180deg)]"),style:{transformOrigin:"center center"},children:[(0,t.jsxs)("div",{className:"absolute inset-0 [backface-visibility:hidden] [transform:rotateY(0deg)_translateZ(1px)]",children:[(0,t.jsx)(r.default,{src:e.bannerSrc,alt:e.title,fill:!0,quality:100,sizes:"(min-width: 640px) 331px, 90vw",className:"object-contain"}),(0,t.jsx)(g,{})]}),(0,t.jsxs)("div",{className:"absolute inset-0 overflow-hidden rounded-[34px] bg-[#080C18] [backface-visibility:hidden] [transform:rotateY(180deg)_translateZ(1px)]",children:[(0,t.jsx)(r.default,{src:e.backSrc,alt:"",fill:!0,quality:100,sizes:"(min-width: 640px) 331px, 90vw",className:"object-cover"}),(0,t.jsxs)("div",{className:"absolute inset-0 z-10 flex flex-col items-center px-[30px] py-[40px] text-center",children:[(0,t.jsx)("p",{className:e.quoteClassName,children:(0,d.parseAccentSegments)(e.quote,d.ITALIC_ACCENT_PATTERN).map((r,i)=>r.accent?(0,t.jsx)("em",{className:e.emClassName,children:r.text},i):(0,t.jsx)(n.Fragment,{children:r.text},i))}),(0,t.jsx)("div",{className:"mt-auto flex h-[52px] w-full max-w-[180px] items-center justify-center sm:h-[60px] sm:max-w-[200px]",children:(0,t.jsx)(r.default,{src:e.logoSrc,alt:e.logoAlt||e.logoLabel,width:e.logoWidth,height:e.logoHeight,quality:100,className:"h-full w-full object-contain"})})]}),(0,t.jsx)(g,{})]})]})})})}
1e.s(["ConsumerProblems",0,function(){let[e,r]=(0,n.useState)(null),[i,s]=(0,n.useState)(null),m=(0,o.useReducedMotion)()??!1,{data:f}=(0,l.usePageQuery)(c.Pages.HOMEPAGE),g=f.pageHome?.consumerProblemsSection,w=g?.heading?.trim()||"If thereâs a consumer problem worth tackling, *weâre in it.*",b=g?.description?.trim()||"Whether itâs a simple utility or advanced AI built from scratch.",v=(0,d.parseAccentSegments)(w,d.ITALIC_ACCENT_PATTERN).map((e,t,n)=>{if(e.accent)return e;let r=e.text;return n[t+1]?.accent&&(r=r.trimEnd()),n[t-1]?.accent&&(r=r.trimStart()),{...e,text:r}}),y=g?.cards?.flatMap((e,t)=>{let n=p[t]??p.at(-1),r=x[t];if(!n)return[];let i=e.title?.trim()||r?.title,a=e.banner?.url??r?.bannerSrc,o=e.backBackground?.url??r?.backSrc,s=e.logo?.url??r?.logoSrc,l=e.logo?.width??r?.logoWidth,c=e.logo?.height??r?.logoHeight;return i&&a&&o&&s&&l&&c?[{title:i,lineTitle:e.lineTitle?.trim()||r?.lineTitle||"",bannerSrc:a,backSrc:o,logoSrc:s,logoWidth:l,logoHeight:c,logoLabel:e.logoLabel?.trim()||r?.logoLabel||i,logoAlt:e.logo?.alt?.trim()||r?.logoLabel||i,quote:e.quote?.trim()||r?.quote||"",...n}]:[]})??[],j=y.length>0?y:h;return(0,t.jsxs)("section",{id:"consumer-problems","data-navbar-background":"#F1EDE9",className:"relative isolate -mt-px w-full bg-bottom bg-no-repeat md:mt-0",style:{backgroundImage:"linear-gradient(to bottom, #F1EDE9 0, rgba(241, 237, 233, 0) 96px), url(/3-sentence-section-bg.png)",backgroundPosition:"center bottom",backgroundSize:"cover"},children:[(0,t.jsx)(a.motion.div,{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 top-0 h-24 bg-[#F1EDE9] motion-reduce:hidden md:hidden",initial:{opacity:.85},whileInView:{opacity:0},viewport:{once:!1,amount:.2},transition:{duration:.7,ease:[.22,1,.36,1]}}),(0,t.jsxs)("div",{className:"relative z-10 mx-auto flex w-full max-w-6xl flex-col items-center px-5 py-[80px] lg:py-[96px] xl:max-w-[1284px] min-[1601px]:max-w-[2880px] min-[1601px]:px-[5.7vw]",children:[(0,t.jsxs)(a.motion.div,{className:"flex max-w-[760px] touch-manipulation flex-col items-center gap-6 text-center min-[1601px]:max-w-[min(62vw,1400px)] min-[1601px]:gap-8",initial:!m&&{opacity:0,y:32},whileInView:m?void 0:{opacity:1,y:0},viewport:{once:!0,amount:.45},transition:{duration:.68,ease:[.22,1,.36,1]},children:[(0,t.jsx)("h2",{className:"text-wrap text-[32px] font-medium leading-[1.143] tracking-[-0.6px] max-sm:max-w-[250px] max-sm:whitespace-normal max-sm:text-[clamp(28px,7.96vw,32px)] sm:whitespace-pre-line sm:text-balance xl:text-[44px] min-[1440px]:text-[57px] min-[1440px]:leading-[64px]",children:v.map((e,r)=>e.accent?(0,t.jsxs)("span",{className:"relative inline-flex items-center justify-center whitespace-nowrap px-[0.18em] italic text-white",children:[(0,t.jsx)(a.motion.span,{"aria-hidden":"true",className:"absolute inset-x-[4px] bottom-0 top-[4px] origin-left bg-[linear-gradient(90deg,#FF003E_0%,#D11844_99.99%)]",initial:{scaleX:0},whileInView:{scaleX:1},transition:{duration:.6,ease:[.22,1,.36,1]},viewport:u}),(0,t.jsx)(a.motion.span,{className:"relative z-10",initial:{opacity:0}
1,whileInView:{opacity:1},transition:{duration:.35,delay:.28,ease:[.22,1,.36,1]},viewport:u,children:e.text})]},r):(0,t.jsx)(n.Fragment,{children:e.text},r))}),(0,t.jsx)("div",{className:"max-sm:[&_p+p]:before:content-[' '] text-[18px] font-medium leading-[1.333] tracking-[-0.15px] text-[#303030] max-sm:w-[76.119vw] max-sm:max-w-[306px] max-sm:text-[clamp(15px,3.98vw,16px)] max-sm:leading-[24px] xl:text-[20px] min-[1440px]:text-[27px] min-[1440px]:leading-[32px] [&_p+p]:mt-2 max-sm:[&_p+p]:mt-0 [&_p]:m-0 max-sm:[&_p]:inline [&_strong]:font-semibold",dangerouslySetInnerHTML:{__html:b}})]}),(0,t.jsx)(_,{cards:j,hoveredIndex:i,prefersReducedMotion:m}),(0,t.jsx)("div",{className:"group/cards mt-10 grid w-full max-w-[1020px] grid-cols-1 justify-items-center gap-[30px] sm:grid-cols-3 sm:items-end sm:gap-3 xl:mt-10 min-[1601px]:mt-[clamp(40px,4vw,88px)]",children:j.map((n,i)=>(0,t.jsxs)(a.motion.div,{className:"flex w-full flex-col items-center justify-center md:flex-row",initial:!m&&{opacity:0,y:40,scale:.97},whileInView:m?void 0:{opacity:1,y:0,scale:1},viewport:{once:!0,amount:.25},transition:{duration:.58,delay:.2+.12*i,ease:[.22,1,.36,1]},children:[(0,t.jsx)(S,{active:e===n.title,card:n,index:i,prefersReducedMotion:m}),(0,t.jsx)(A,{card:n,flipped:e===n.title,onFlip:()=>r(e=>e===n.title?null:n.title),onHoverChange:e=>s(e?i:null)})]},n.title))})]})]})}])},26829,e=>{"use strict";var t=e.i(63645),n=e.i(49521),r=e.i(68864),i=e.i(63266),a=e.i(12086),o=e.i(90813),s=e.i(27478),l=e.i(11470),c=e.i(42111);let d={once:!0,amount:.25},u={hidden:{opacity:0,y:42,filter:"blur(10px)"},visible:{opacity:1,y:0,filter:"blur(0px)",transition:{duration:.8,ease:[.22,1,.36,1]}}},m={hidden:{},visible:{transition:{staggerChildren:.12,delayChildren:.08}}},p={hidden:{opacity:0,y:36,filter:"blur(10px)"},visible:{opacity:1,y:0,filter:"blur(0px)",transition:{duration:.7,ease:[.22,1,.36,1]}}},x={hidden:{opacity:0,y:28,filter:"blur(8px)"},visible:{opacity:1,y:0,filter:"blur(0px)",transition:{duration:.65,delay:.1,ease:[.22,1,.36,1]}}},h=[{className:"border-[#0C4156] bg-[linear-gradient(180deg,#090707_0%,#171A38_100%)]",titleClassName:"text-[#7096FF]",chipClassName:"bg-[#172144]",secondRowStartIndex:3},{className:"border-[#4B2222] bg-[linear-gradient(0deg,rgba(169,0,0,0.16)_0%,rgba(46,46,46,0.16)_91.91%)]",titleClassName:"text-[#FF0033]",chipClassName:"bg-[#3A1320]",secondRowStartIndex:5}];e.s(["HqLaunchpad",0,function(){let{data:e}
1=(0,s.usePageQuery)(l.Pages.HOMEPAGE),f=e.pageHome?.hqLaunchpadSection,g=f?.heading?.trim(),w=f?.description?.trim(),b=f?.cards??[],v=f?.bottomDescription?.trim(),y=f?.coloredText?.trim();return f?(0,t.jsxs)("section",{"data-navbar-background":"#09080f",className:"relative z-20 overflow-hidden bg-[#09080f] text-white",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 bg-[#09080f] bg-[url('/hq/hq-bg.png')] bg-cover bg-center bg-no-repeat"}),(0,t.jsxs)("div",{className:"relative z-10 mx-auto flex w-full max-w-[1232px] flex-col gap-[56px] px-5 pb-[80px] md:gap-[74px] md:px-10 xl:px-0 xl:pb-24",children:[(0,t.jsx)(a.motion.section,{id:"codeway-hq-intro",className:"text-white",initial:"hidden",whileInView:"visible",viewport:d,variants:u,children:(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-[980px] flex-col items-center pt-[80px] text-center lg:pt-[96px]",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-x-3 gap-y-4",children:[(0,t.jsx)(i.default,{alt:"Codeway",src:"/hq/codeway-svg-logo.svg",width:235,height:60,className:"h-auto w-[min(40vw,130px)] lg:w-[min(56vw,235px)]"}),(0,t.jsx)(i.default,{alt:"HQ",src:"/hq/hq-logo.svg",width:71,height:45,className:"relative top-1 h-auto w-[min(12vw,40px)] lg:w-[min(18vw,71px)]"})]}),(0,t.jsx)("h2",{className:"-mt-2 text-[clamp(2.25rem,1.75rem+2.5vw,3.5rem)] font-medium leading-[1.14] tracking-[-0.02em] text-[#F9F9F9] max-md:text-[32px] lg:text-[56px] lg:leading-[68px]",children:(0,c.parseAccentSegments)(g??"",c.ITALIC_ACCENT_PATTERN).map((e,r)=>e.accent?(0,t.jsx)("span",{className:"bg-[linear-gradient(90deg,#899AF1_0%,#BF45C3_41.35%,#BB2C6C_100%)] bg-clip-text text-transparent",children:e.text},r):(0,t.jsx)(n.Fragment,{children:e.text},r))}),(0,t.jsx)("p",{className:"mt-3 max-w-[760px] text-[clamp(1rem,0.85rem+0.75vw,1.25rem)] font-medium leading-[1.5] tracking-[-0.01em] text-[#C0C0C0] max-md:mt-4 md:mt-6 lg:text-[24px] lg:leading-[32px]",children:(w?.split(/\r?\n/)??[]).map((e,r)=>(0,t.jsxs)(n.Fragment,{children:[r>0&&(0,t.jsx)("br",{}),e]},e))})]})}),(0,t.jsxs)("section",{id:"codeway-hq-powers",className:"relative z-10",children:[(0,t.jsx)(a.motion.div,{className:"flex flex-col items-stretch gap-[26px] md:flex-row md:justify-center",initial:"hidden",whileInView:"visible",viewport:d,variants:m,children:b.map((e,n)=>{let r=h[n%h.length]??h[0],i=e.chips.map(e=>e.text?.trim()).filter(e=>!!e),o=[i.slice(0,r.secondRowStartIndex),i.slice(r.secondRowStartIndex)].filter(e=>e.length>0);return(0,t.jsxs)(a.motion.article,{className:`w-full rounded-[30px] border p-6 text-left md:w-1/2 md:min-w-0 md:px-10 md:py-[26px] xl:w-[600px] ${r.className}`,variants:p,children:[(0,t.jsx)("h2",{className:`mb-4 text-[24px] font-semibold leading-[1.05] tracking-[-0.02em] md:mb-[18px] md:text-[36.434px] md:leading-[50px] ${r.titleClassName}`,children:e.title}),(0,t.jsx)("ul",{className:"mb-5 flex flex-wrap gap-2 md:hidden","aria-label":`${e.title??`HQ card ${n+1}`} teams`,children:i.map(e=>(0,t.jsx)("li",{className:`rounded-full px-[9px] py-1.5 text-[14px] font-medium leading-none text-[rgba(255,243,243,0.89)] md:px-[15.87px] md:text-[20.713px] ${r.chipClassName}`,children:e},e))}),(0,t.jsx)("ul",{className:"mb-5 hidden flex-col gap-2 md:flex","aria-label":`${e.title??`HQ card ${n+1}`} teams`,children:o.map((e,n)=>(0,t.jsx)("li",{children:(0,t.jsx)("ul",{className:"flex flex-wrap gap-2",children:e.map(e=>(0,t.jsx)("li",{className:`rounded-full px-[9px] py-1.5 text-[14px] font-medium leading-none text-[rgba(255,243,243,0.89)] md:px-[15.87px] md:text-[20.713px] ${r.chipClassName}`,children:e},e))})},n))}),(0,t.jsx)("p",{className:"mb-4 text-[16px] font-semibold leading-[1.35] text-[#D8DDF4] md:mb-[18px] md:text-[21px] md:leading-[108%]",children:e.descriptionBold}),(0,t.jsx)("p",{className:"text-[16px] font-medium leading-[1.4] text-[#D8DDF4] md:text-[21px] md:leading-[108%]",children:e.description})]},`${e.title??"hq-card"}-${n}`)})}),(0,t.jsxs)(a.motion.div,{className:"mx-auto mt-[56px] flex max-w-[760px] flex-col items-center gap-[56px] text-center md:mt-[84px] md:gap-2",initial:"hidden",
1whileInView:"visible",viewport:{once:!0,amount:.45},variants:x,children:[v?(0,t.jsx)(r.default,{remarkPlugins:[o.default],components:{p:({children:e})=>(0,t.jsx)("p",{className:"text-[22.392px] font-medium leading-normal text-[#A6A3AF] max-md:mx-auto max-md:max-w-[300px] max-md:text-left",children:e}),strong:({children:e})=>(0,t.jsx)("strong",{className:"font-semibold italic text-[#A6A3AF]",children:e}),br:()=>(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)("br",{className:"hidden md:block"}),(0,t.jsx)("span",{className:"md:hidden",children:" "})]})},children:v}):null,y?(0,t.jsx)("p",{className:"bg-[linear-gradient(90deg,#7DBAFF_0%,#F54254_100%)] bg-clip-text text-[33.173px] font-semibold italic leading-normal text-transparent [-webkit-background-clip:text] [-webkit-text-fill-color:transparent] max-md:mx-auto max-md:w-full max-md:max-w-[300px] max-md:text-left max-md:text-[32px]",children:y}):null]})]})]})]}):null}])},54030,(e,t,n)=>{},36474,(e,t,n)=>{var r=e.i(17210);e.r(54030);var i=e.r(49521),a=i&&"object"==typeof i&&"default"in i?i:{default:i},o=void 0!==r.default&&r.default.env&&!0,s=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,n=t.name,r=void 0===n?"stylesheet":n,i=t.optimizeForSpeed,a=void 0===i?o:i;c(s(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",c("boolean"==typeof a,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=a,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,n=e.prototype;return n.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},n.isOptimizeForSpeed=function(){return this._optimizeForSpeed},n.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,n){return"number"==typeof n?e._serverSheet.cssRules[n]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),n},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},n.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},n.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},n.insertRule=function(e,t){if(c(s(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var n=this.getSheet();"number"!=typeof t&&(t=n.cssRules.length);try{n.insertRule(e,t)}catch(t){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},n.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var n="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!n.cssRules[e])return e;n.deleteRule(e);try{n.insertRule(t,e)}catch(r){o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),n.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];c(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},n.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},n.flush=function(){this._injected=!1,this._rulesCount=0,"u">
1typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},n.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,n){return n?t=t.concat(Array.prototype.map.call(e.getSheetForTag(n).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},n.makeStyleTag=function(e,t,n){t&&c(s(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return n?i.insertBefore(r,n):i.appendChild(r),r},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},u={};function m(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return u[r]||(u[r]="jsx-"+d(e+"-"+n)),u[r]}function p(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var n=e+t;return u[n]||(u[n]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[n]}var x=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,a=void 0!==i&&i;this._sheet=r||new l({name:"styled-jsx",optimizeForSpeed:a}),this._sheet.inject(),r&&"boolean"==typeof a&&(this._sheet.setOptimizeForSpeed(a),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var a=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=a,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,n;return t=this.cssRules(),void 0===(n=e)&&(n={}),t.map(function(e){var t=e[0],r=e[1];return a.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:n.nonce?n.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=m(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return p(i,e)}):[p(i,t)]}}return{styleId:m(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),h=i.createContext(null);function f(){return new x}function g(){return i.useContext(h)}h.displayName="StyleSheetContext";var w=a.default.useInsertionEffect||a.default.useLayoutEffect,b="u">typeof window?f():void 0;function v(e){var t=b||g();return t&&("u"<typeof window?t.add(e):w(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}v.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},n.StyleRegistry=function(e){var t=e.registry,n=e.children,r=i.useContext(h),o=i.useState(function(){return r||t||f()})[0];return a.default.createElement(h.Provider,{value:o},n)},n.createStyleRegistry=f,n.style=v,n.useStyleRegistry=g},19783,(e,t,n)=>{t.exports=e.r(36474).style},30166,e=>{"use strict";var t=e.i(63645),n=e.i(19783),r=e.i(49521),i=e.i(68864),a=e.i(63266),o=e.i(7706),s=e.i(12086),l=e.i(65143),c=e.i(90813);let d=()=>(0,t.jsx)("div",{className:"flex h-screen w-screen items-center justify-center",children:(0,t.jsx)("div",{className:"basic-spinner text-primary size-16",children:(0,t.jsx)("span",{className:"sr-only",children:"Loading..."})})});var u=e.i(9736),m=e.i(29985);let p=1238/1440,x="data-metrics-background-fit";var h=e.i(27478),f=e.i(11470),g=e.i(80647);let w="/Splash-screen_v03.lottie";async function b(){await Promise.all([e.A(69323),fetch(w)])}function v({onPlaybackStart:e}){let[n,i]=(0,r.useState)(!0),[a,o]=(0,r.useState)(null),s=(0,r.useRef)(e),l=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{s.current=e},[e]),(0,r.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=()=>{i(!e.matches)};return t(),e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[]),(0,r.useEffect)(()=>
1{if(!a||!n)return;let e=()=>{l.current||(l.current=!0,s.current?.())};return a.addEventListener("play",e),a.isPlaying&&e(),()=>{a.removeEventListener("play",e)}},[a,n]),(0,t.jsx)(g.DotLottieReact,{"aria-hidden":"true",autoplay:n,className:"pointer-events-none absolute left-1/2 top-[calc(50%+40px)] z-0 h-[84vh] w-[max(140vw,149.333vh)] max-w-none -translate-x-1/2 -translate-y-[44%] opacity-95 sm:top-1/2 sm:w-[max(120vw,149.333vh)] lg:-translate-y-[36%] 2xl:!-translate-y-[40%]",dotLottieRefCallback:o,layout:{fit:"cover",align:[.5,.5]},loop:n,renderConfig:{autoResize:!0,devicePixelRatio:1,freezeOnOffscreen:!0,quality:80},src:w,useFrameInterpolation:!1},n?"animated":"still")}let y=["/home-intro/background-intro.png"],j=e=>new Promise(t=>{let n=new window.Image;n.onload=()=>t(),n.onerror=()=>t(),n.src=e}),k=`Codeway is creating the industry 2standard for the new age of 3consumer AI.`,N=[[k],["We bring accessible and easy-to-use AI to millions of people worldwide.","Six years in. No investors. No board. Built from ground, backed by no one but ourselves."]],S=e=>{let t=0;return e.map(e=>({lines:e.split(/\r?\n/).map(e=>e.trim()).filter(e=>e.length>0).map(e=>{let n=Array.from(e.matchAll(/(\S+)(\s*)/g),([,e="",t=""])=>({suffix:t,value:e})),r={offset:t,tokens:n};return t+=n.length,r})}))},_=`Our bootstrapped 4success. *In numbers.*`,A=[{value:"500M+",label:"worldwide users"},{value:"$0",label:"external funding"},{value:"60+",label:"products"},{value:"400+",label:"team of builders"}],F=60,E=79,C=0,M="M 209 338 V 487 C 209 500 220 511 233 511 H 272 C 285 511 296 522 296 535 V 767 C 296 785 310 799 328 799 H 415",R=(e,t)=>{let n=e.getTotalLength(),r=0,i=n;for(;i-r>.5;){let n=(r+i)/2;e.getPointAtLength(n).y<t?r=n:i=n}return(r+i)/2},L=e=>e<=0?0:-e+18,D=(e,t)=>t-Math.min(e+100,t),P=[{ariaLabel:"Our structure follows a simple principle.",as:"p",lines:[[{value:"Our structure follows"},{accent:!0,value:" a simple principle."}]],positionClassName:"lg:left-[209px] lg:top-[230px] lg:w-[562px]"},{ariaLabel:"We give extreme ownership to people and double down on what works.",as:"p",lines:[[{value:"We give "},{accent:!0,value:"extreme ownership to people"},{value:" and"}],[{value:"double down on what works."}]],positionClassName:"lg:left-[329px] lg:top-[481px] lg:w-[1024px]"},{ariaLabel:"So every product we launch makes the next one smarter.",as:"p",lines:[[{value:"So every product we launch"}],[{value:"makes "},{accent:!0,value:"the next one smarter."}]],positionClassName:"lg:left-[446px] lg:top-[710px] lg:w-[994px]"}];e.s(["IntroTransition",0,function(){let{data:g}=(0,o.useSuspenseQuery)((0,f.generalQueryOptions)()),{data:w}=(0,h.usePageQuery)(f.Pages.HOMEPAGE),z=g.layout?.navbarLogoLink,T=g.layout?.navbarLinks,I=g.layout?.socialMediaIcons,B=g.layout?.hamburgerMenuIconMobile,$=g.layout?.closeMenuIconMobile,O=w.pageHome?.heroSectionNew,H=O?.splashtitle??"Small teams. Big impact.",V=O?.h1Title??"We Build Category-Leading Consumer AI Apps",W=O?.h1TitleMobile?.trim()||V,q=O?.h1Accent??"at Global Scale.",Y=O?.heroLabel??"Europe's Leading Consumer App Powerhouse",G=O?.splashscreenbackgroundimage,U=w.pageHome?.revealSection?.revealSlides,Q=(0,r.useMemo)(()=>{let e=U?.map(e=>{var t;let n;return t=e?.revealTextBlocks?.map(e=>e.content),(n=t?.flatMap(e=>e?.split(/\r?\n\s*\r?\n/)??[]).map(e=>e.trim()).filter(e=>!!e))&&n.length>0?n.map(e=>"Codeway is creating the industry standard for the new age of consumer AI."===e.replace(/\s+/g," ")?k:e):null}).filter(e=>!!e)??[];return e.length>0?e.map(e=>S(e)):N.map(e=>S(e))},[U]),X=160*Math.max(Q.length,1),Z=w.pageHome?.metricsSections,J=Z?.heading?.trim()||_,K=Z?.metricsitems?.map(e=>({label:e?.label?.trim()??"",value:e?.value?.trim()??""})).filter(e=>e.value.length>0&&e.label.length>0)??[],ee=K.length>0?K:A,et=Z?.recognition,en=(0,l.useReducedMotion)()??!1,[er,ei]=(0,r.useState)(120);(0,r.useEffect)(()=>{window.matchMedia("(min-width: 1024px)").matches||ei(60)},[]);let ea=108+er+X,eo=100+ea,es=(108+er/120*112)/ea,[el,ec]=(0,r.useState)(!1),[ed,eu]=(0,r.useState)(!0),[em,ep]=(0,r.useState)(!1),[ex,eh]=(0,r.useState)(0),ef=(0,r.useRef)(!1),eg=(0,r.useRef)(0),ew=(0,r.useRef)(null),eb=(0,r.useRef)(null),ev=(0,r.useRef)(null),ey=(0,r.useRef)(null),ej=(0,r.useRef)(null),ek=(0,r.useRef)(null),eN=(0,r.useRef)(null),eS=(0,r.useRef)(null),e_=(0,r.useRef)(null),eA=(0,r.useRef)(null),eF=(0,r.useRef)(null),eE=(0,r.useRef)(null),eC=(0,r.useRef)(null),eM=(0,r.useRef)(null),eR=(0,r.useRef)(null),eL=(0,r.useRef)(null),eD=(0,r.useRef)(null),eP=(0,r.useRef)([]);eP.current.length=Q.length;let ez=(0,r.useRef)(null),eT=(0,r.useRef)(null),eI=(0,r.useRef)(null),eB=(0,r.useRef)(null),e$=(0,r.useRef)(null),eO=(0,r.useRef)(null),eH=(0,r.useRef)(null),eV=(0,r.useRef)(null),eW=(0,r.useRef)(null),eq=(0,r.useRef)(null),eY=(0,r.useRef)(null),eG=(0,r.useRef)(null),eU=(0,r.useRef)([]),eQ=(0,r.useRef)([]),eX=(0,r.useRef)([]),eZ=(0,r.useRef)([]),eJ=(0,r.useRef)([]);return(0,r.useEffect)(()=>
4{if(!ed)return;let e=document.documentElement.style,t=document.body.style,n=e.overflow,r=t.overflow,i=t.touchAction,a=e.overscrollBehavior,o=e=>{e.preventDefault()},s=e=>{new Set(["ArrowDown","ArrowUp","PageDown","PageUp","Home","End"," "]).has(e.key)&&e.preventDefault()};return e.overflow="hidden",e.overscrollBehavior="none",t.overflow="hidden",t.touchAction="none",window.addEventListener("wheel",o,{passive:!1}),window.addEventListener("touchmove",o,{passive:!1}),window.addEventListener("keydown",s),()=>{e.overflow=n,e.overscrollBehavior=a,t.overflow=r,t.touchAction=i,window.removeEventListener("wheel",o),window.removeEventListener("touchmove",o),window.removeEventListener("keydown",s)}},[ed]),(0,r.useEffect)(()=>{let t=!1,n=0,r=window.history.scrollRestoration,i=()=>{window.scrollTo({top:0,left:0,behavior:"auto"}),document.documentElement.scrollTop=0,document.body.scrollTop=0},a=()=>new Promise(e=>{n=window.requestAnimationFrame(()=>e())});return"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),ef.current=!1,eg.current=0,i(),(async()=>{await a(),i();let n=[b(),e.A(30368),...y.map(j)];"fonts"in document&&n.push(document.fonts.ready.catch(()=>{})),await Promise.all(n),await a(),t||(i(),ec(!0))})(),()=>{t=!0,window.cancelAnimationFrame(n),"scrollRestoration"in window.history&&(window.history.scrollRestoration=r)}},[]),(0,r.useEffect)(()=>{let t;if(!el||!eb.current)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){eb.current.style.opacity="1",eb.current.style.transform="none",eu(!1);return}let n=!0,r=0,i=0,a=0,o=0;return(async()=>{let{gsap:s}=await e.A(30368);if(!n||!eb.current)return;let l=eb.current,c=s.context(()=>{let e=()=>{if(!n)return;let e=window.scrollY,t=e+1.08*window.innerHeight,r=performance.now(),i=o=>{if(!n)return;let s=Math.min((o-r)/700,1),l=.5-Math.cos(Math.PI*s)/2;if(window.scrollTo({top:e+(t-e)*l}),s<1)a=window.requestAnimationFrame(i);else{let e=Math.max(t,window.scrollY);eg.current=e,ef.current=!0,window.dispatchEvent(new CustomEvent("codeway:scrollbar-handoff",{detail:e})),eu(!1)}};a=window.requestAnimationFrame(i)};s.set(l,{y:24,autoAlpha:0,scale:.992,filter:"blur(4px)",force3D:!0,backfaceVisibility:"hidden",willChange:"transform, opacity, filter"}),r=window.requestAnimationFrame(()=>{i=window.requestAnimationFrame(()=>{s.to(l,{y:0,autoAlpha:1,scale:1,filter:"blur(0px)",duration:.72,ease:"power2.out",onComplete:()=>{o=window.setTimeout(e,1e3)},clearProps:"transform,opacity,filter,willChange,backfaceVisibility"})})})},l);t=()=>c.revert()})(),()=>{n=!1,window.cancelAnimationFrame(r),window.cancelAnimationFrame(i),window.cancelAnimationFrame(a),window.clearTimeout(o),t?.()}},[el]),(0,r.useEffect)(()=>{if(!el)return;let e=()=>ef.current&&window.scrollY<=eg.current+24,t=()=>{ef.current&&window.scrollY<eg.current&&window.scrollTo({top:eg.current,behavior:"auto"})},n=t=>{ef.current&&!(t.deltaY>=0)&&e()&&t.preventDefault()},r=e=>{ew.current=e.touches[0]?.clientY??null},i=t=>{if(!ef.current)return;let n=ew.current,r=t.touches[0]?.clientY;null===n||"number"!=typeof r||r-n>0&&e()&&t.preventDefault()},a=t=>{ef.current&&e()&&("ArrowUp"===t.key||"PageUp"===t.key||"Home"===t.key||" "===t.key&&t.shiftKey)&&t.preventDefault()};return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("wheel",n,{passive:!1}),window.addEventListener("touchstart",r,{passive:!0}),window.addEventListener("touchmove",i,{passive:!1}),window.addEventListener("keydown",a),()=>{window.removeEventListener("scroll",t),window.removeEventListener("wheel",n),window.removeEventListener("touchstart",r),window.removeEventListener("touchmove",i),window.removeEventListener("keydown",a)}},[el]),function({contentRef:e,deps:t,sectionRef:n}){(0,r.useEffect)(()=>{let t=n.current,r=e.current;if(!t||!r)return;let i=0,a=()=>{window.cancelAnimationFrame(i),i=window.requestAnimationFrame(()=>{if(window.innerWidth<1024||!(window.innerWidth/window.innerHeight>1.6)){t.removeAttribute(x),t.style.setProperty("--metrics-desktop-bottom-padding","160px");return}160>
4Math.max(t.clientWidth*p-160-r.scrollHeight,0)?t.setAttribute(x,"cover"):t.removeAttribute(x),t.style.setProperty("--metrics-desktop-bottom-padding","160px")})};a();let o=new ResizeObserver(a);return o.observe(r),window.addEventListener("resize",a),()=>{window.cancelAnimationFrame(i),o.disconnect(),window.removeEventListener("resize",a),t.removeAttribute(x),t.style.removeProperty("--metrics-desktop-bottom-padding")}},[e,n,...t])}({contentRef:eT,deps:[J,ee,et],sectionRef:ez}),(0,r.useEffect)(()=>{if(!el)return;let e=0,t=()=>{window.cancelAnimationFrame(e),e=window.requestAnimationFrame(()=>{let e=eP.current[0]?.filter(Boolean)??[],t=e[0]?.offsetTop;if("number"!=typeof t)return;let n=e.findIndex(e=>e.offsetTop!==t);eh(-1===n?e.length:n)})};return t(),window.addEventListener("resize",t),()=>{window.cancelAnimationFrame(e),window.removeEventListener("resize",t)}},[el]),(0,r.useEffect)(()=>{let t;if(!el||!eb.current||!ev.current||!ey.current||!ej.current||!ek.current||!eN.current||!eS.current||!e_.current||!eA.current||!eF.current||!eE.current||!eC.current||!eM.current||!eR.current||!eL.current||!eD.current||!ez.current||!eI.current||!eB.current||0===ex||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let n=!0,r=0,i=!1,a=e=>{window.cancelAnimationFrame(r),r=window.requestAnimationFrame(()=>e())},o=e=>{let t=e.getBoundingClientRect(),n=Math.max(Math.min(t.width,t.height)/2,1),r=t.left+t.width/2,i=t.top+t.height/2;return Math.max(Math.hypot(r,i),Math.hypot(window.innerWidth-r,i),Math.hypot(r,window.innerHeight-i),Math.hypot(window.innerWidth-r,window.innerHeight-i))/n+.2};return(async()=>{let s,[{gsap:l},{ScrollTrigger:c}]=await Promise.all([e.A(30368),e.A(38557)]);if(!n)return;window.scrollTo({top:0,left:0,behavior:"auto"}),l.registerPlugin(c),c.config({ignoreMobileResize:!0});let d=l.context(()=>{let e,t,n=ev.current,r=eb.current,i=ej.current,d=ek.current,u=eN.current,m=eS.current,p=e_.current,x=eA.current,h=eF.current,f=eE.current,g=eC.current,w=eM.current,b=eR.current,v=eL.current,y=eD.current,j=ey.current,k=ez.current,N=eI.current,S=eB.current,_=null!==S.offsetParent,A=e$.current,M=eO.current,P=eH.current,z=eV.current,T=eW.current,I=eq.current,B=eY.current,$=eG.current,O=[M,P].filter(e=>null!==e),H=[I,B].filter(e=>null!==e),V=M?.getTotalLength()??0,W=M?R(M,338):0,q=M?R(M,530):0,Y=M?R(M,760):V,G=L(0),U=L(q),Z=L(Y),J=L(V),K=D(W,V),ee=D(q,V),et=D(V,V),en=eU.current.filter(Boolean),ei=eQ.current.filter(Boolean),eo=eX.current.filter(Boolean),es=eZ.current.map(e=>e.filter(Boolean)),el=eJ.current.map(e=>e.filter(Boolean)),ec=es.flat(),ed=el.flat(),eu=window.matchMedia("(min-width: 768px)").matches,em=window.matchMedia("(hover: none)").matches,ep=/firefox/i.test(window.navigator.userAgent),eh=Q.map((e,t)=>eP.current[t]?.filter(Boolean)??[]),ef=Q.map((e,t)=>e.map(e=>e.lines.flatMap(e=>(eP.current[t]?.slice(e.offset,e.offset+e.tokens.length)??[]).filter(Boolean)))),eg=eh[0]??[],ew=eh.flat(),eT={frontX:Math.max(4,Math.min(.012*(t=window.innerWidth),8)),frontY:-Math.max(8,Math.min(.02*t,14)),frontScale:t<768?1.04:1.05,backX:-Math.max(3,Math.min(.01*t,7)),backY:-Math.max(6,Math.min(.016*t,10)),backScale:t<768?1.05:1.065,backDelay:t<768?.65:.8},eK=()=>window.matchMedia("(min-width: 1513px)").matches?-(.05*window.innerHeight):window.matchMedia("(min-width: 1024px)").matches?.15*window.innerHeight:0;if(!m)return;let e0=e=>{let t=Number.parseFloat(window.getComputedStyle(e).opacity);return Number.isFinite(t)?t:1},e1=e=>{e.style.removeProperty("mask-image"),e.style.removeProperty("-webkit-mask-image"),e.style.removeProperty("mask-mode"),e.style.removeProperty("-webkit-mask-mode"),e.style.removeProperty("mask-repeat"),e.style.removeProperty("-webkit-mask-repeat"),e.style.removeProperty("mask-size"),e.style.removeProperty("-webkit-mask-size"),e.style.removeProperty("mask-composite"),e.style.removeProperty("-webkit-mask-composite")},e2=(e,t)=>{let n=e0(e)*e0(t);if(n<=.01)return;let r=e.getBoundingClientRect(),i=m.getBoundingClientRect(),a=Math.max(Math.min(r.width,r.height)/2,1),o=r.left+r.width/2,s=r.top+r.height/2;if(Math.hypot(Math.min(Math.max(o,i.left),i.right)-o,Math.min(Math.max(s,i.top),i.bottom)-s)>=a)return;let l=o-i.left,c=s-i.top,d=1-n;return{brightMask:`radial-gradient(circle at ${l}px ${c}px, rgba(0, 0, 0, ${d}) 0, rgba(0, 0, 0, ${d}) ${a}px, #000 ${a+1}
4px)`}},e3=()=>{let e=[e2(f,x),e2(g,h)].filter(e=>void 0!==e);e.length?((e,t,n="",r="")=>{e.style.setProperty("mask-image",t),e.style.setProperty("-webkit-mask-image",t),e.style.setProperty("mask-mode","alpha"),e.style.setProperty("-webkit-mask-mode","alpha"),e.style.setProperty("mask-repeat","no-repeat"),e.style.setProperty("-webkit-mask-repeat","no-repeat"),e.style.setProperty("mask-size","100% 100%"),e.style.setProperty("-webkit-mask-size","100% 100%"),n?e.style.setProperty("mask-composite",n):e.style.removeProperty("mask-composite"),r?e.style.setProperty("-webkit-mask-composite",r):e.style.removeProperty("-webkit-mask-composite")})(m,e.map(e=>e.brightMask).join(", "),Array.from({length:e.length-1},()=>"intersect").join(", "),Array.from({length:e.length-1},()=>"source-in").join(", ")):e1(m)};l.set(r,{y:0,autoAlpha:1,filter:"blur(0px)",force3D:!0,backfaceVisibility:"hidden",willChange:"transform, opacity, filter"}),l.set(i,{yPercent:0,autoAlpha:0,willChange:"opacity"}),l.set([x,h],{y:eK(),transformOrigin:"50% 50%",willChange:"transform, opacity, filter"}),l.set([f,g],{transformOrigin:"50% 50%",willChange:"transform, opacity, filter"}),l.set([d,u,m,p,w,b,v,k,N,S,...A?[A]:[],...z?[z]:[],...O,...H,...$?[$]:[],...en,...ei,...eo,...ec,...ew],{willChange:"transform, opacity, filter"}),l.set(b,{autoAlpha:0,scale:.92,yPercent:8}),l.set(v,{autoAlpha:1,filter:"blur(0px)"}),l.set(w,{autoAlpha:0}),l.set(N,{autoAlpha:1}),l.set(y,{width:32}),ei.length>0&&l.set(ei,{width:32,transformOrigin:"left center"}),eo.length>0&&l.set(eo,{width:32,transformOrigin:"left center"});try{let t,a;if(A&&l.set(A,{autoAlpha:1,y:0}),z&&l.set(z,{autoAlpha:1,strokeDasharray:`${V} ${V}`,strokeDashoffset:V}),O.length>0&&l.set(O,{autoAlpha:0,strokeDasharray:`18 ${V}`,strokeDashoffset:G}),H.length>0&&l.set(H,{autoAlpha:+!eu,y:0}),eu&&T&&en[0]&&en[en.length-1]){let e=T.offsetParent,t=en[0],n=en[en.length-1];if(e instanceof HTMLElement){let r=e.getBoundingClientRect().top,i=t.getBoundingClientRect().top,a=n?.getBoundingClientRect().bottom;l.set(T,{top:Math.max(0,i-r),bottom:Math.max(0,e.getBoundingClientRect().bottom-(a??0))})}}if(!eu&&T&&en[0]&&en[en.length-1]){let e=T.offsetParent,t=en[0],n=en[en.length-1];if(e instanceof HTMLElement){let r=e.getBoundingClientRect().top,i=t.getBoundingClientRect().top,a=n?.getBoundingClientRect().bottom;l.set(T,{top:Math.max(0,i-r),bottom:Math.max(0,e.getBoundingClientRect().bottom-(a??0))})}}let m=0,N=0,M=0,R=0,L=0,D=0,P=0,B=0;if($&&T&&I){let e=T.offsetHeight,t=I.offsetHeight;R=Math.max(0,e-t);let n=Math.min(100,R),r=r=>Math.min(r+t+n,e),i=T.getBoundingClientRect(),a=(e,n)=>{if(!e)return R*n;let r=e.getBoundingClientRect(),a=r.top-i.top+r.height/2-t/2;return Math.min(Math.max(a,0),R)},o=eu?W/Math.max(Y,1):.3134,s=eu?q/Math.max(Y,1):.7427;m=a(en[0],o),N=a(en[1],s),M=a(en[2],1),L=eu?0:r(0),D=r(m),P=r(N),B=r(M),l.set($,{autoAlpha:1,height:L,transformOrigin:"top center"}),l.set(H,{y:0})}l.set(en,{autoAlpha:0,y:24}),l.set(ec,{opacity:0}),l.set(ed,{color:"#130A06"}),l.set(el[0]??[],{color:"#FD084D"}),en[0]&&l.set(en[0],{autoAlpha:1,y:0}),l.set(es[0]??[],{opacity:1});let ew=eg.slice(0,ex),eb=eg.slice(ex);l.set(ew,{autoAlpha:1,yPercent:0}),l.set(eb,{autoAlpha:0,yPercent:18}),eh.slice(1).forEach(e=>{l.set(e,{autoAlpha:0,yPercent:18})}),l.timeline({repeat:-1,yoyo:!0,onUpdate:e3,defaults:{duration:4.8,ease:"sine.inOut"}}).to(f,{y:eT.frontY,x:eT.frontX,scale:eT.frontScale},0).to(g,{y:eT.backY,x:eT.backX,scale:eT.backScale},eT.backDelay);let ev=er/120,ey=24*ev,ej=72*ev,ek=l.timeline({onUpdate:e3,scrollTrigger:{trigger:n,start:"top top",end:`+=${ea}%`,scrub:.45,pin:j,anticipatePin:1,invalidateOnRefresh:!0,onRefresh:()=>{l.set([x,h],{y:eK()}),e3()}}}),eN=.92*o(x),eS=.88*o(h),e_=108+er;ek.to(r,{y:()=>-(.28*window.innerHeight),duration:100,ease:"power2.out"},0).to(r,{autoAlpha:0,duration:64,ease:"power1.out",overwrite:"auto"},18).to(r,{filter:"blur(10px)",duration:72,ease:"power1.out",overwrite:"auto"},8).to(i,{autoAlpha:1,duration:100,ease:"none"},8).to(u,{yPercent:34,autoAlpha:0,duration:ej,ease:"none"},108+ey).to(h,{scale:eS,duration:er,ease:"none"},108).to(x,{scale:eN,duration:er,ease:"none"}
4,108).to([x,h],{autoAlpha:0,filter:"blur(18px)",duration:32*ev,ease:"none"},108+120*ev).to([f,g],{autoAlpha:0,filter:"blur(10px)",duration:28*ev,ease:"none"},108+124*ev).to(d,{autoAlpha:0,duration:20*ev,ease:"none"},108+64*ev).fromTo(p,{autoAlpha:1,yPercent:0,y:0,filter:"blur(0px)"},{autoAlpha:0,yPercent:20,y:0,filter:"blur(0px)",duration:ej,ease:"none",immediateRender:!1},108+ey).to(w,{autoAlpha:1,duration:46*ev,ease:"none"},108+132*ev).to(b,{autoAlpha:1,scale:1,yPercent:0,duration:60*ev,ease:"none"},108+112*ev).to(y,{width:"100vw",duration:X,ease:"none"},e_);let eA=(e,t,n,r)=>{let i=e.filter(e=>e.length>0),a=i.map(e=>r+(e.length-1)*1.28),o=a.reduce((e,t)=>e+t,0);if(0===o)return;let s=(n-t)/o,l=t;i.forEach((e,t)=>{ek.to(e,{autoAlpha:1,yPercent:0,duration:r*s,stagger:1.28*s,ease:"none",overwrite:"auto"},l),l+=(a[t]??0)*s})},eF=e=>e===Q.length-1?e_+X-24:e_+112+160*e-24,eE=0,eC=(ef[0]??[]).map(e=>{let t=e.slice(Math.max(0,ex-eE));return eE+=e.length,t});eA(eC,e_+0*X,eF(0),16),eh.slice(1).forEach((e,t)=>{let n=eh[t],r=160*t;n?.length&&ek.to(n,{autoAlpha:0,yPercent:-8,duration:32,stagger:.96,ease:"none",overwrite:"auto"},e_+112+r),eA(ef[t+1]??[],e_+166+r,eF(t+1),32)});let eM=eh[eh.length-1]??[];eM.length&&ek.to(eM,{autoAlpha:1,yPercent:0,duration:.01,ease:"none"},e_+X-12),l.timeline({scrollTrigger:{trigger:k,start:"top bottom",end:"top 55%",scrub:.35,invalidateOnRefresh:!0}}).to(v,{autoAlpha:0,filter:"blur(10px)",ease:"none",overwrite:"auto"});let eR=[.002,46/E,.998],eL=0,eD=(e,t)=>e.start+(e.end-e.start)*(eR[t]??0),eP=e=>0===e?0:eR[e]??0,ez=(e,n)=>{if(!e$)return;let r=eD(e$,e);if(em){t=l.to(eB,{progress:eP(e),duration:n?.duration??.6,ease:"power2.inOut"});return}let i={y:window.scrollY};t=l.to(i,{y:r,duration:n?.duration??.6,ease:"power2.inOut",onUpdate:()=>window.scrollTo(0,i.y)})},eI={trigger:S,start:ep?"top top-=140":"top top",end:em?"+=100%":`+=${C}%`,pin:!0,anticipatePin:1,invalidateOnRefresh:!0,onToggle:n=>{if(!n.isActive){if(a?.isActive())return;s?.disable(),em&&(t?.kill(),eB.progress(+(n.progress>.5)));return}if(e?.isActive())return void s?.enable();let r=s?.getRecentDirection()??0;if(em){let e=0!==r?r<0:n.direction<0;a?.kill(),eL=e?eR.length-1:0;let i=e?n.end-1:n.start+1;window.scrollTo(0,i),s?.enable(),s?.freezeAt(i);let o=eP(eL);Math.abs(eB.progress()-o)>.005?(t?.kill(),t=l.to(eB,{progress:o,duration:.5,ease:"power2.out"})):eB.progress(o,!0);return}if(0!==r){eL=r>0?0:eR.length-1,s?.enable();return}if(!t?.isActive()){let e;e=n.progress,eL=eR.reduce((t,n,r)=>Math.abs(n-e)<Math.abs((eR[t]??0)-e)?r:t,0),Math.abs(n.progress-(eR[eL]??0))>.005&&ez(eL,{duration:.35})}s?.enable()}},eB=_?em?l.timeline({paused:!0}):l.timeline({scrollTrigger:{...eI,scrub:.2}}):l.timeline({paused:!0}),e$=_?em?c.create(eI):eB.scrollTrigger:null;em&&_&&(s=function({onStep:e,isLocked:t,freezeWhileLocked:n=!1,touchActionTarget:r,entry:i}){let a=[],o=0,s=0,l=0,c=0,d=0,u=0,m=-1/0,p=!1,x=!1,h=null,f=null,g=!1,w="",b=null,v=0,y=r??document.documentElement,j=()=>{0!==v&&(window.cancelAnimationFrame(v),v=0)},k=()=>{x=!1,b=null,j(),y.style.touchAction=w},N=()=>{!x||null===b||t()&&!n||0!==v||(v=window.requestAnimationFrame(()=>{if(v=0,!x||null===b||t()&&!n)return;let e=window.scrollY-b;if(!(.5>=Math.abs(e))){if(Math.abs(e)>window.innerHeight)return void k();window.scrollTo(0,b)}}))},S=e=>{let t=a.slice(-e);return 0===t.length?0:t.reduce((e,t)=>e+t,0)/t.length},_=(e,t)=>{if(!i||!e.cancelable)return!1;let n=i.getBounds();if(!n)return!1;let r=window.scrollY,a=r+t,o=r<n.start&&a>=n.start?1:r>n.end&&a<=n.end?-1:0,s=o>0?n.start-r:r-n.end;return 0!==o&&!(s>window.innerHeight)&&(i.onEnter(o,n,t),e.preventDefault(),!0)},A=n=>{if(n.ctrlKey)return;let r=n.deltaY*(1===n.deltaMode?40:2===n.deltaMode?window.innerHeight:1),i=Math.abs(r);if(0===i)return;let h=n.deltaY>0?1:-1,f=n.timeStamp-o,g=p&&n.timeStamp-m>=320&&i>=18&&(i>=1.75*l||0!==c&&h!==c);if((f>250||g)&&(a=[],p=!1),o=n.timeStamp,s=Date.now(),l=i,c=h,d=s,u=h,a.push(i),a.length>150&&a.shift(),!x){_(n,r)&&(p=!0,m=n.timeStamp);return}if(t()){p=!0,m=n.timeStamp,n.preventDefault();return}p||!(S(10)>=S(70))?n.preventDefault():e(h)?(p=!0,m=n.timeStamp,n.preventDefault()):k()},F=e=>{if(x&&r&&e.target instanceof Node&&!r.contains(e.target)&&k(),1!==e.touches.length){h=null,f=null;return}f=h=e.touches[0]?.clientY??null,g=!1},E=n=>{if(null===h||1!==n.touches.length)return;let r=n.touches[0]?.clientY??h,i=h-r,a=null===f?0:f-r;if(f=r,Math.abs(i)>=1&&(d=Date.now(),u=i>0?1:-1),!x)return void _(n,a);if(n.cancelable){if(t()){g=!0,n.preventDefault();return}if(g||40>Math.abs(i))return void n.preventDefault();g=!0,e(i>0?1:-1)?n.preventDefault():k()}},C=()=>{h=null,f=null,g=!1};return window.addEventListener("wheel",A,{passive:!1}),window.addEventListener("scroll",N,{passive:!0}),document.addEventListener("touchstart",F,{passive:!0}),document.addEventListener("touchmove",E,{passive:!1}),document.addEventListener("touchend",C,{passive:!0}),document.addEventListener("touchcancel",C,{passive:!0}),{enable:()=>{x||(x=!0,Date.now()-s<=250&&(p=!0,m=o),null!==h&&(g=!0),w=y.style.touchAction,y.style.touchAction="none")},disable:()=>{x&&k()},isEnabled:()=>x,getRecentDirection:()=>Date.now()-d<=800?u:0,freezeAt:e=>{x&&(b=e)},unfreeze:()=>{b=null,j()},destroy:()=>{x?k():j(),window.removeEventListener("wheel",A),window.removeEventListener("scroll",N),document.removeEventListener("touchstart",F),document.removeEventListener("touchmove",E
4),document.removeEventListener("touchend",C),document.removeEventListener("touchcancel",C)}}}({touchActionTarget:S,isLocked:()=>(e?.isActive()??!1)||(t?.isActive()??!1)||(a?.isActive()??!1),entry:{getBounds:()=>e$?{start:e$.start,end:e$.end}:null,onEnter:(t,n)=>{a?.kill(),e?.kill(),eL=t>0?0:eR.length-1;let r=eP(eL),i=eD(n,eL),o={y:window.scrollY};em&&eB.progress(r,!0),s?.enable(),e=l.to(o,{y:i,duration:.4,ease:"power2.out",onUpdate:()=>window.scrollTo(0,o.y),onComplete:()=>{em&&s?.freezeAt(i)}})}},freezeWhileLocked:em,onStep:e=>{if(!e$?.isActive)return!1;let t=eL+e;if(t<0||t>=eR.length){if(!e$)return!1;let t={y:window.scrollY},n=e>0&&window.innerWidth<768;return s?.unfreeze(),a?.kill(),a=l.to(t,{y:e<0?Math.max(0,e$.start-.35*window.innerHeight):e$.end+window.innerHeight-40*(window.innerWidth<768),duration:e>0?n?.9:.65:.5,ease:e>0?n?"sine.inOut":"power2.inOut":"power2.out",onUpdate:()=>window.scrollTo(0,t.y),onComplete:()=>{em&&(eB.progress(+(e>0)),s?.freezeAt(t.y))}}),!0}return eL=t,ez(t),!0}})),ei.length>0&&eB.to(ei,{width:"100%",duration:E,ease:"none",stagger:0},0),eo.length>0&&eB.to(eo,{width:"100%",duration:E,ease:"none",stagger:0},0),O.length>0&&eB.fromTo(O,{autoAlpha:0},{autoAlpha:1,duration:4,ease:"power2.out"},0).fromTo(O,{strokeDashoffset:G},{strokeDashoffset:U,duration:28,ease:"none"},14).to(O,{strokeDashoffset:Z,duration:18,ease:"none"},42).to(O,{strokeDashoffset:J,duration:19,ease:"power2.out"},F),z&&eB.fromTo(z,{strokeDashoffset:V},{strokeDashoffset:K,duration:14,ease:"none"},0).fromTo(z,{strokeDashoffset:K},{strokeDashoffset:ee,duration:28,ease:"none"},14).to(z,{strokeDashoffset:et,duration:18,ease:"none"},42),T&&I&&H.length>0&&(eB.fromTo(H,{autoAlpha:+!eu},{autoAlpha:1,duration:4,ease:"power2.out"},0).fromTo(H,{y:0},{y:m,duration:14,ease:"none"},0).fromTo(H,{y:m},{y:N,duration:28,ease:"none",immediateRender:!1},14).to(H,{y:M,duration:14,ease:"none"},46).to(H,{y:R,duration:19,ease:"power2.out"},F),$&&eB.fromTo($,{height:L},{height:D,duration:14,ease:"none"},0).fromTo($,{height:D},{height:P,duration:28,ease:"none",immediateRender:!1},14).to($,{height:B,duration:14,ease:"none"},46));let eO=(e,t,n)=>{e&&eB.to(e,{autoAlpha:1,y:0,duration:1,ease:"none"},n),t.length&&eB.to(t,{opacity:1,duration:.001,ease:"none"},n)};eO(en[0],es[0]??[],14),eO(en[1],es[1]??[],42),eO(en[2],es[2]??[],F),eB.to(el[0]??[],{color:"#130A06",duration:3,ease:"power1.inOut"},39).to(el[1]??[],{color:"#FD084D",duration:3,ease:"power1.inOut"},42).to(el[1]??[],{color:"#130A06",duration:3,ease:"power1.inOut"},F-3).to(el[2]??[],{color:"#FD084D",duration:3,ease:"power1.inOut"},F)}catch(e){console.error("Ownership section animation fallback",e),A&&l.set(A,{autoAlpha:0,clearProps:"transform"}),z&&l.set(z,{autoAlpha:0}),O.length>0&&l.set(O,{autoAlpha:0}),H.length>0&&l.set(H,{autoAlpha:0,y:0}),$&&l.set($,{autoAlpha:0}),l.set(en,{autoAlpha:1,y:0,clearProps:"transform"}),l.set(ec,{opacity:1,clearProps:"opacity"}),l.set(ed,{color:"#FD084D"})}return a(()=>c.refresh()),()=>{e?.kill(),e1(m)}},ey),u=()=>{n&&a(()=>c.refresh())};"complete"!==document.readyState?window.addEventListener("load",u,{once:!0}):u(),"fonts"in document&&document.fonts.ready.then(()=>{n&&a(()=>c.refresh())}),t=()=>{i||(window.removeEventListener("load",u),i=!0),window.cancelAnimationFrame(r),s?.destroy(),d.revert()}})(),()=>{n=!1,window.cancelAnimationFrame(r),t?.()}},[er,el,P,X,Q,ea,ex]),(0,t.jsxs)(t.Fragment,{children:[!el&&(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 fixed inset-0 z-[101] flex items-center justify-center bg-[#130a06]",children:(0,t.jsx)(d,{})}),(z||T||I)&&(0,t.jsx)(u.Navbar,{introLogoCollapseDuration:u.NAVBAR_LOGO_COLLAPSE_DURATION_S,introLogoCollapseDelay:2.6666666666666665-u.NAVBAR_LOGO_COLLAPSE_DURATION_S,introLogoCollapseStart:em,introHeroEndSelector:"home-intro-flow",introHeroEndProgress:es,navbarLogoLink:z,navbarLinks:T,socialMediaIcons:I,hamburgerMenuIconMobile:B,closeMenuIconMobile:$}),(0,t.jsx)("div",{ref:ev,id:"home-intro-flow",style:{height:`${eo}vh`},className:"jsx-8209dc13f3968c41 text-primary-2 relative overflow-clip bg-black",children:(0,t.jsxs)("div",{ref:ey,"data-navbar-background":"#130a06",style:{backgroundImage:`url(${G?.url??"/home-intro/background-intro.png"})`},className:"jsx-8209dc13f3968c41 relative h-screen overflow-hidden bg-[#130a06] bg-cover bg-center",children:[(0,t.jsx)("div",{id:"splash-screen",className:"jsx-8209dc13f3968c41 absolute inset-0 z-10 flex -translate-y-[40px] items-center justify-center px-5 sm:px-6",children:(0,t.jsxs)("div",{ref:eb,style:{opacity:0}
4,className:"jsx-8209dc13f3968c41 relative flex items-center justify-center",children:[el&&(0,t.jsx)(v,{onPlaybackStart:()=>ep(!0)}),(0,t.jsx)("p",{className:"jsx-8209dc13f3968c41 relative -top-[10px] max-w-[234px] text-center text-[37.215px] font-[500] not-italic leading-[1.15] text-[#FFF] max-md:text-[27.357px] sm:max-w-none sm:whitespace-nowrap lg:-top-[16px]",children:(0,t.jsx)(i.default,{components:{br:()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{className:"jsx-8209dc13f3968c41 sm:hidden"})," "]}),em:({children:e})=>(0,t.jsx)("em",{className:"jsx-8209dc13f3968c41 italic",children:e}),p:({children:e})=>(0,t.jsx)(t.Fragment,{children:e}),strong:({children:e})=>(0,t.jsx)("strong",{className:"jsx-8209dc13f3968c41 font-[600]",children:e})},remarkPlugins:[c.default],children:H.replace(/\.(?=\s+)/g,".\n")})})]})}),(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 absolute inset-0 bg-[radial-gradient(circle_at_center,rgba(253,8,77,0.08),transparent_48%)]"}),(0,t.jsx)("div",{ref:eM,className:"jsx-8209dc13f3968c41 pointer-events-none absolute inset-0 z-0 bg-[#130a06] bg-[url('/home-intro/reveal-section-bg.png')] bg-cover bg-center bg-no-repeat opacity-0 md:bg-left-bottom"}),(0,t.jsxs)("div",{ref:ej,id:"hero-section",className:"jsx-8209dc13f3968c41 absolute inset-0 z-20 opacity-0",children:[(0,t.jsxs)("section",{className:"jsx-8209dc13f3968c41 absolute inset-0 z-30",children:[(0,t.jsx)("div",{ref:ek,className:"jsx-8209dc13f3968c41 max-w-360 mx-auto flex h-full w-full items-center px-5 pb-[14vh] text-center sm:px-6 md:px-8 lg:px-10 lg:pb-[16vh] xl:px-16 xl:pb-[14vh] min-[1440px]:[@media(min-height:1000px)]:items-end min-[1440px]:[@media(min-height:1000px)]:!pb-[33rem]",children:(0,t.jsx)("h1",{ref:eN,className:"jsx-8209dc13f3968c41 relative mx-auto w-full text-balance text-[clamp(2.25rem,4vw,4rem)] font-semibold not-italic leading-[1.05] text-white max-md:max-w-[288px] max-md:text-[clamp(28px,calc(11.111vw-4.444px),32px)] lg:w-[50vw] lg:min-w-[880px] xl:leading-[68px] xl:tracking-[0]",children:(0,t.jsxs)("span",{ref:eS,className:"jsx-8209dc13f3968c41 block",children:[(0,t.jsxs)("span",{className:"jsx-8209dc13f3968c41 sm:hidden",children:[(0,t.jsx)(i.default,{components:{p:({children:e})=>(0,t.jsx)(t.Fragment,{children:e})},remarkPlugins:[c.default],children:W}),q?(0,t.jsxs)("span",{className:"jsx-8209dc13f3968c41 text-secondary-2 font-medium! italic",children:[(0,t.jsx)("br",{className:"jsx-8209dc13f3968c41"}),q]}):null]}),(0,t.jsxs)("span",{className:"jsx-8209dc13f3968c41 hidden sm:block",children:[(0,t.jsx)(i.default,{components:{p:({children:e})=>(0,t.jsx)(t.Fragment,{children:e})},remarkPlugins:[c.default],children:V}),q?(0,t.jsxs)("span",{className:"jsx-8209dc13f3968c41 text-secondary-2 font-medium! italic",children:[(0,t.jsx)("br",{className:"jsx-8209dc13f3968c41"}),q]}):null]})]})})}),(0,t.jsx)("p",{ref:e_,className:"jsx-8209dc13f3968c41 text-subtitle absolute bottom-[calc(100vh-100svh+1.5rem)] left-1/2 z-30 w-[min(92vw,38rem)] -translate-x-1/2 px-5 text-center text-sm !text-white sm:text-base lg:bottom-[calc(100vh-100svh+2rem)] xl:text-[20px] xl:leading-6 xl:tracking-[0]",children:Y})]}),(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 pointer-events-none absolute inset-x-0 bottom-[clamp(3rem,7vh,5rem)] z-20 flex items-end justify-center",children:(0,t.jsxs)("div",{className:"jsx-8209dc13f3968c41 relative h-[clamp(14rem,42vh,32rem)] w-full max-w-[min(100%,87.5rem)]",children:[(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 absolute inset-x-0 bottom-[clamp(-56rem,-100vw,-30rem)] z-20 flex justify-center sm:bottom-[clamp(-64rem,-100vw,-34rem)] lg:bottom-[clamp(-72rem,-100vw,-38rem)] lg:translate-y-[calc(4rem+5vh)] 2xl:translate-y-[5vh]",children:(0,t.jsx)("div",{ref:eA,className:"jsx-8209dc13f3968c41 w-[min(180vw,91rem)] shrink-0 select-none sm:w-[min(146vw,91rem)] lg:w-[min(109vw,91rem)]",children:(0,t.jsx)("div",{ref:eE,className:"jsx-8209dc13f3968c41",children:(0,t.jsx)(a.default,{alt:"","aria-hidden":"true",src:"/home-intro/front-bubble.png",width:2890,height:2892,className:"h-auto w-full"})})})}),(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 absolute inset-x-0 bottom-[clamp(-46rem,-83vw,-22rem)] z-10 flex justify-center sm:bottom-[clamp(-51rem,-83vw,-26rem)] lg:bottom-[clamp(-57rem,-83vw,-29rem)] lg:translate-y-[calc(3rem+5vh)] 2xl:translate-y-[5vh]",children:(0,t.jsx)("div",{ref:eF,className:"jsx-8209dc13f3968c41 w-[min(152vw,79rem)] shrink-0 select-none sm:w-[min(122vw,79rem)] lg:w-[min(95vw,79rem)]",children:(0,t.jsx)("div",{ref:eC,className:"jsx-8209dc13f3968c41",children:(0,t.jsx)(a.default,{alt:"","aria-hidden":"true",src:"/home-intro/back-bubble.png",width:2460,height:2461,className:"h-auto w-full"})})})})]})})]}),(0,t.jsxs)("section",{id:"reveal-section",ref:eR,"data-navbar-background":"#130a06",className:"jsx-8209dc13f3968c41 pointer-events-none invisible absolute inset-x-0 top-0 z-30 flex h-[100svh] min-w-0 items-start justify-center overflow-x-clip opacity-0 md:inset-0 md:h-auto",children:[(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 pointer-events-none absolute left-0 top-[126px] z-20 h-px w-screen bg-[#E4E4E4] [transform:translateZ(0)] sm:top-[120px] lg:top-[160px]",children:(0,t.jsx)("div",{ref:eD,className:"jsx-8209dc13f3968c41 h-full w-8 bg-[#fd084d] [transform:translateZ(0)]"})}),(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 flex h-full w-full min-w-0 items-center justify-center max-md:items-start max-md:pt-[clamp(9.75rem,20svh,11.875rem)] md:max-lg:items-start md:max-lg:pt-[184px] lg:max-xl:[@media(max-height:820px)]:items-start lg:max-xl:[@media(max-height:820px)]:pt-[111px] xl:[@media(min-height:821px)]:items-start xl:[@media(min-height:821px)]:pt-[251px]",children:(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 intro-reveal-content mx-auto w-full min-w-0 max-w-full px-5 sm:px-6 md:px-8 lg:max-w-[1440px] lg:px-[150px] min-[1601px]:translate-x-3 min-[1920px]:max-w-[2214px] xl:[@media(max-height:820px)]:-translate-y-12",children:(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 mx-auto w-[240px] min-w-0 max-w-[1080px] text-left md:mx-0 md:w-full min-[1920px]:max-w-[1660px]",children:(0,t.jsx)("div",{ref:eL,className:"jsx-8209dc13f3968c41 relative min-h-[15rem] min-w-0 max-w-full overflow-x-clip text-white sm:min-h-[18rem] md:min-
4h-[21rem] lg:min-h-[23rem] xl:min-h-[26rem] min-[1920px]:min-h-[40rem] [@media(max-height:820px)]:flex [@media(max-height:820px)]:items-center max-lg:[@media(max-height:820px)]:items-start",children:(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 relative w-full min-w-0 max-w-full [@media(max-height:820px)]:min-h-[12rem]",children:Q.map((e,n)=>(0,t.jsx)("div",{className:`jsx-8209dc13f3968c41 ${0===n?"relative":"absolute inset-0"} top-0 flex w-full min-w-0 max-w-full flex-col justify-start lg:top-8 xl:-top-16 [@media(max-height:820px)]:absolute [@media(max-height:820px)]:inset-x-0 [@media(max-height:820px)]:bottom-auto [@media(max-height:820px)]:top-0`,children:e.map((e,i)=>(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 "+((i>0?"mt-[clamp(1rem,3svh,1.75rem)] md:mt-7 2xl:mt-10":"")||""),children:e.lines.map((e,a)=>(0,t.jsx)("span",{className:"jsx-8209dc13f3968c41 block w-full max-w-full whitespace-pre-wrap text-[28px] font-medium leading-[1.08] tracking-normal text-[#FFF] md:text-[36px] lg:text-[clamp(2.375rem,min(3.33vw,6.5vh),3rem)] xl:leading-[1.083] xl:tracking-[-0.6px] min-[1920px]:text-[73.8px] min-[1920px]:leading-[1.32] min-[1920px]:tracking-normal max-lg:[@media(max-height:750px)]:text-[28px] max-lg:[@media(max-height:750px)]:leading-[1.1]",children:e.tokens.map((o,s)=>(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)("span",{ref:t=>{eP.current[n]||(eP.current[n]=[]),eP.current[n][e.offset+s]=t},className:"jsx-8209dc13f3968c41 inline-block align-top",children:o.value}),o.suffix]},`reveal-slide-${n}-token-${i}-${a}-${s}`))},`reveal-slide-${n}-line-${i}-${a}`))},`reveal-slide-${n}-block-${i}`))},`reveal-slide-${n}`))})})})})})]})]})}),(0,t.jsxs)("div",{className:"jsx-8209dc13f3968c41 relative",children:[(0,t.jsxs)("section",{id:"metrics-section",ref:ez,"data-navbar-background":"#130a06","aria-labelledby":"brand-context-heading",className:"jsx-8209dc13f3968c41 intro-metrics-section relative z-0 -mt-px overflow-hidden bg-[#130a06] pt-20 md:pt-[160px]",children:[(0,t.jsx)("div",{ref:eI,"aria-hidden":"true",className:"jsx-8209dc13f3968c41 intro-metrics-background absolute -inset-y-px inset-x-0 z-0"}),(0,t.jsxs)("div",{ref:eT,className:"jsx-8209dc13f3968c41 intro-metrics-content relative z-10 mx-auto flex h-auto w-full max-w-[1100px] flex-col px-5 pb-[80px] sm:px-6 md:px-8 lg:px-12 lg:pb-[96px]",children:[(0,t.jsx)(s.motion.h2,{id:"brand-context-heading",initial:!en&&{opacity:0,y:28,filter:"blur(8px)"},whileInView:en?void 0:{opacity:1,y:0,filter:"blur(0px)"},viewport:{once:!0,amount:.5},transition:{duration:.72,ease:[.22,1,.36,1]},className:"mx-auto flex w-full max-w-[220px] flex-col items-center gap-2 text-center font-medium leading-[1.04] tracking-normal text-white md:max-w-none xl:leading-[64px] xl:tracking-[-0.6px]",children:(0,t.jsx)("span",{className:"jsx-8209dc13f3968c41 text-[clamp(2.25rem,4.4vw,3.5rem)]",children:(0,t.jsx)(i.default,{components:{br:()=>(0,t.jsx)("br",{className:"jsx-8209dc13f3968c41"}),em:({children:e})=>(0,t.jsx)("span",{className:"jsx-8209dc13f3968c41 text-secondary-2 italic",children:e}),p:({children:e})=>(0,t.jsx)(t.Fragment,{children:e})},remarkPlugins:[c.default],children:J})})}),(0,t.jsxs)("div",{className:"jsx-8209dc13f3968c41 gap-30 mt-10 flex flex-col pb-2 max-md:mt-14 md:mt-[100px] md:gap-7",children:[(0,t.jsxs)("div",{className:"jsx-8209dc13f3968c41 relative mx-auto grid w-full max-w-[667px] grid-cols-1 md:grid-cols-2",children:[(0,t.jsx)("div",{"aria-hidden":"true",style:{backgroundImage:"linear-gradient(90deg, rgba(255, 0, 62, 0.7) 0%, rgba(255, 0, 62, 0.45) 22%, transparent 50%, rgba(255, 0, 62, 0.45) 78%, rgba(255, 0, 62, 0.7) 100%)"},className:"jsx-8209dc13f3968c41 pointer-events-none absolute inset-x-0 top-1/2 z-0 hidden h-px -translate-y-1/2 md:block"}),(0,t.jsx)("div",{"aria-hidden":"true",className:"jsx-8209dc13f3968c41 pointer-events-none absolute bottom-0 left-1/2 top-0 z-0 hidden w-px -translate-x-1/2 bg-[#FF003E]/70 md:block"}),ee.map((e,n)=>(0,t.jsxs)(r.Fragment,{children:[n>0?(0,t.jsx)("div",{"aria-hidden":"true",style:{backgroundImage:"linear-gradient(90deg, #FA0064 0%, #BA1010 100%)"},className:"jsx-8209dc13f3968c41 mx-auto h-px w-[130px] opacity-50 md:hidden"}):null,(0,t.jsxs)(s.motion.article,{initial:{opacity:0,y:48},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.15},transition:{duration:.55,ease:[.22,1,.36,1],delay:.06*n},className:`relative z-10 my-5 flex flex-col items-center gap-1 text-center md:my-0 md:min-
4h-[164px] ${n<2?"md:justify-start":"md:justify-end"}`,children:[(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 text-[clamp(3rem,10vw,3.75rem)] font-semibold leading-[0.92] tracking-[-0.03em] text-[#FF003E] md:text-[clamp(4.5rem,7.5vw,5.9rem)] xl:leading-[94px] xl:tracking-[-0.8px] max-md:[@media(max-height:750px)]:text-[2.875rem]",children:e.value}),(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 flex flex-col gap-1 text-white",children:e.label?(0,t.jsx)("p",{className:"jsx-8209dc13f3968c41 text-[clamp(1rem,4vw,1.125rem)] font-medium italic leading-[1.3] tracking-normal text-white md:text-[clamp(1.5rem,2.8vw,1.75rem)] xl:leading-[34px] xl:tracking-[-0.3px] max-md:[@media(max-height:750px)]:text-[1rem]",children:e.label}):null})]})]},`${e.value}-${e.label}`))]}),et&&et.length>0&&(0,t.jsx)("div",{className:"jsx-8209dc13f3968c41 mx-auto flex min-h-[54px] w-full max-w-[656px] flex-row flex-nowrap items-center justify-center md:mt-[122px] md:flex-wrap",children:et.map((e,n)=>(0,t.jsxs)(r.Fragment,{children:[n>0?(0,t.jsx)("div",{"aria-hidden":"true",style:{backgroundImage:"linear-gradient(180deg, #000000 0%, #BA1010 50%, #FA0064 100%)"},className:"jsx-8209dc13f3968c41 h-[54px] w-px shrink-0 opacity-50 md:hidden"}):null,(0,t.jsx)(s.motion.div,{initial:!en&&{opacity:0,y:16,scale:.94},whileInView:en?void 0:{opacity:1,y:0,scale:1},viewport:{once:!0,amount:.4},transition:{duration:.5,delay:.12+.09*n,ease:[.22,1,.36,1]},className:`flex min-w-0 items-center justify-center px-3 first:pl-0 last:pr-0 md:px-7 ${0===n?"flex-[26.3158_1_0%]":1===n?"flex-[43.2331_1_0%]":"flex-[30.4511_1_0%]"} ${n>0?"md:border-l md:border-[#FF003E]/70":""}`,children:(0,t.jsx)(m.default,{image:e,alt:e.alt??"",width:e.width??180,height:e.height??54,className:"h-auto max-h-[40px] w-auto max-w-full object-contain md:max-h-[54px] md:max-w-[180px]"})})]},`${e.url}-${n}`))})]})]})]}),(0,t.jsx)("section",{ref:eB,"data-navbar-background":"#F1EDE9","aria-labelledby":"ownership-principles-heading",className:"jsx-8209dc13f3968c41 hidden",children:(0,t.jsxs)("div",{className:"jsx-8209dc13f3968c41 ownership-layout relative z-10 mx-auto flex min-h-screen w-full max-w-[1440px] flex-col justify-start gap-0 px-0 py-0 md:min-h-[1180px] lg:block lg:min-h-0 lg:max-w-none lg:gap-0 lg:px-0 lg:py-0 min-[1601px]:max-w-[2880px]",children:[(0,t.jsxs)("div",{ref:eW,"aria-hidden":"true",className:"jsx-8209dc13f3968c41 pointer-events-none absolute bottom-[8vh] left-4 top-[calc(20vh-32px)] z-10 w-px sm:left-6 md:bottom-[14vh] md:left-8 md:top-[18vh] lg:hidden",children:[(0,t.jsx)("div",{ref:eG,className:"jsx-8209dc13f3968c41 absolute left-1/2 top-0 w-px -translate-x-1/2 bg-[#A5A5A5] opacity-0"}),(0,t.jsx)("div",{ref:eY,className:"jsx-8209dc13f3968c41 absolute left-1/2 top-0 h-12 w-3 -translate-x-1/2 rounded-full bg-[#F40440]/35 opacity-0 blur-[7px]"}),(0,t.jsx)("div",{ref:eq,className:"jsx-8209dc13f3968c41 absolute left-1/2 top-0 h-12 w-1 -translate-x-1/2 rounded-full bg-[#F40440] opacity-0 shadow-[0_0_14px_#F40440]"})]}),(0,t.jsxs)("div",{className:"jsx-8209dc13f3968c41 ownership-artboard relative flex min-h-screen flex-col justify-between pb-[15vh] pt-[18vh] md:min-h-[1180px] lg:block lg:min-h-screen lg:p-0",children:[(0,t.jsx)("div",{ref:e$,"aria-hidden":"true",className:"jsx-8209dc13f3968c41 pointer-events-none hidden lg:block",children:(0,t.jsxs)("svg",{viewBox:"0 0 1440 980",fill:"none",className:"jsx-8209dc13f3968c41 absolute inset-0 overflow-visible",children:[(0,t.jsx)("path",{ref:eV,d:M,stroke:"#A5A5A5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1,className:"jsx-8209dc13f3968c41 opacity-0"}),(0,t.jsx)("path",{ref:eH,d:M,stroke:"#F40440",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:.34,strokeWidth:14,className:"jsx-8209dc13f3968c41 opacity-0 blur-[7px]"}),(0,t.jsx)("path",{ref:eO,d:M,stroke:"#F40440",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:4,className:"jsx-8209dc13f3968c41 opacity-0 drop-shadow-[0_0_18px_#F40440]"})]})}),P.map((e,n)=>{let i=e.as,a=0;return(0,t.jsx)("div",{ref:e=>{eU.current[n]=e},className:`jsx-8209dc13f3968c41 relative w-full px-5 sm:pl-12 sm:pr-6 md:pl-16 md:pr-8 lg:absolute lg:w-auto lg:p-0 ${e.positionClassName}`,children:(0,t.jsx)(i,{..."h2"===e.as?{id:"ownership-principles-heading"}:{},"aria-label":e.ariaLabel,className:`jsx-8209dc13f3968c41 ownership-copy w-full max-w-none touch-manipulation pb-1 text-left text-[32px] font-medium leading-[1.18] tracking-[-0.6px] text-[#130A06] md:text-[clamp(25px,3.33vw,48px)] md:leading-[1.143] lg:mx-0 lg:max-w-none lg:pb-2 lg:text-left lg:text-[48px] lg:leading-[52px] ${0===n?"lg:whitespace-nowrap":""}`,children:e.lines.map((i,o)=>{let s=[],l=[],c=a,d=()=>{0!==l.length&&(s.push((0,t.jsx)("span",{className:"jsx-8209dc13f3968c41 inline-flex whitespace-nowrap",children:l},`word-${n}-${o}-${c}`)),l=[])};
4return i.forEach((e,r)=>{Array.from(e.value).forEach(i=>{let s=a;if(a+=1," "===i){l.length>0&&(l.push((0,t.jsx)("span",{"aria-hidden":"true",className:"jsx-8209dc13f3968c41 inline-block whitespace-pre",children:" "},`space-${n}-${o}-${s}`)),d()),c=a;return}0===l.length&&(c=s),l.push((0,t.jsx)("span",{ref:t=>{eZ.current[n]||(eZ.current[n]=[]),e.accent&&!eJ.current[n]&&(eJ.current[n]=[]),eZ.current[n][s]=t,e.accent&&eJ.current[n]&&(eJ.current[n][s]=t)},"aria-hidden":"true",className:`jsx-8209dc13f3968c41 inline-block ${e.accent?"-mx-[0.2em] -my-[0.2em] px-[0.2em] py-[0.2em] font-semibold italic text-[#130A06]":""}`,children:i},`${n}-${o}-${r}-${s}-${i}`))})}),d(),(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)("span",{className:"jsx-8209dc13f3968c41 contents lg:block",children:s}),o<e.lines.length-1?(0,t.jsx)("span",{"aria-hidden":"true",className:"jsx-8209dc13f3968c41 inline whitespace-pre lg:hidden",children:" "}):null]},`line-${n}-${o}`)})})},e.ariaLabel)})]})]})})]}),(0,t.jsx)(n.default,{id:"8209dc13f3968c41",children:"@media (width>=1024px){.ownership-section{--ownership-scale:min(calc(100vw / 1440px), calc(100vh / 980px));--ownership-layout-height:calc(980px * var(--ownership-scale));min-height:max(var(--ownership-layout-height), 100vh);justify-content:flex-start;height:auto}.ownership-layout{height:var(--ownership-layout-height);min-height:var(--ownership-layout-height);flex-shrink:0}.ownership-artboard{height:980px;transform:translateX(-50%) scale(var(--ownership-scale));transform-origin:top;width:1440px;position:absolute;top:0;left:50%}}@supports ((-moz-appearance:none)){@media (width>=1024px){.ownership-artboard{transform:scale(var(--ownership-scale));margin-left:auto;margin-right:auto;position:relative;top:auto;left:auto}.ownership-copy{font-size:max(40px,min(4.9vh,48px))!important;line-height:max(42px,min(5.1vh,50px))!important}}}@media (width>=1601px){.ownership-section{--ownership-scale:min(1, calc(100vh / 980px));--ownership-layout-height:calc(980px * var(--ownership-scale));min-height:max(var(--ownership-layout-height), 100vh)}.ownership-copy{font-size:48px!important;line-height:52px!important}.intro-metrics-content{padding-left:0!important;padding-right:0!important}}.intro-metrics-background{background-image:url(/home-intro/metric-section-bg.png);background-position:50%;background-repeat:no-repeat;background-size:cover}.intro-metrics-section{--metrics-desktop-bottom-padding:160px}@media (width>=1024px){.intro-metrics-background{background-position:0 0;background-size:100%}.intro-metrics-section[data-metrics-background-fit=cover] .intro-metrics-background{background-position:top;background-size:cover}}@media (width>=1024px) and (aspect-ratio<=8/5){.intro-metrics-background{background-position:top;background-size:cover}}"})]})}],30166)},22941,e=>{"use strict";var t=e.i(63645),n=e.i(49521),r=e.i(63266);function i(){return"u">typeof window}e.i(17210);function a(){return(i()?window.vam:"production")||"production"}function o(){return"production"===a()}function s(e,t,n){var r,s;if(!i()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(o())console.warn(e);else throw Error(e);return}if(!t){null==(r=window.va)||r.call(window,"event",{name:e,options:n});return}try{let r=function(e,t){if(!e)return;let n=e,r=[];for(let[i,a]of Object.entries(e))"object"==typeof a&&null!==a&&(t.strip?n=function(e,{[e]:t,...n}){return n}(i,n):r.push(i));if(r.length>0&&!t.strip)throw Error(`The following properties are not valid: ${r.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return n}(t,{strip:o()});null==(s=window.va)||s.call(window,"event",{name:e,data:r,options:n})}catch(e){e instanceof Error&&"development"===a()&&console.error(e)}}function l(){return window.matchMedia("(min-width: 640px)").matches?"card":"compact"}let c=Date.parse("2026-10-10T00:00:00+02:00");
4e.s(["MeetupPopup",0,function(){let[e,i]=(0,n.useState)("hidden"),a=(0,n.useRef)(0);(0,n.useEffect)(()=>{if(Date.now()>=c)return;let e=0,t=()=>{window.clearTimeout(e),window.removeEventListener("codeway:scrollbar-handoff",t),i("open"),s("Meetup Popup Shown",{layout:l()})},n=window.matchMedia("(prefers-reduced-motion: reduce)").matches;return e=window.setTimeout(t,n?1500:6e3),window.addEventListener("codeway:scrollbar-handoff",t),()=>{window.clearTimeout(e),window.removeEventListener("codeway:scrollbar-handoff",t)}},[]),(0,n.useEffect)(()=>()=>window.clearTimeout(a.current),[]);let o=(0,n.useCallback)(()=>{s("Meetup Popup Dismissed",{layout:l()}),i("closing"),a.current=window.setTimeout(()=>i("hidden"),320)},[]);return"hidden"===e?null:(0,t.jsxs)("aside",{"aria-label":"Codeway Product Meetup","data-state":e,onKeyDown:e=>{"Escape"===e.key&&o()},className:"group/card fixed inset-x-0 bottom-[max(3.5rem,calc(env(safe-area-inset-bottom)+2.5rem))] z-40 mx-auto w-[min(260px,66vw)] sm:inset-x-auto sm:bottom-6 sm:right-6 sm:mx-0 sm:w-[320px] bg-[rgba(11,74,157,0.62)] backdrop-blur-[24px] backdrop-saturate-150 text-left text-white shadow-[0_24px_60px_-20px_rgba(0,8,30,0.6)] rounded-[24px] px-[10px] pb-3 pt-[11px] sm:rounded-[30px] sm:pb-6 animate-[meetup-popup-in_560ms_cubic-bezier(0.22,1,0.36,1)_both] data-[state=closing]:animate-[meetup-popup-out_320ms_cubic-bezier(0.4,0,1,1)_both] motion-reduce:animate-[meetup-popup-fade-in_240ms_linear_both] motion-reduce:data-[state=closing]:animate-[meetup-popup-fade-out_200ms_linear_both] transition-[translate,box-shadow] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] has-[a:hover]:-translate-y-1 has-[a:hover]:shadow-[0_32px_70px_-20px_rgba(0,8,30,0.75)] motion-reduce:has-[a:hover]:translate-y-0 has-[a:focus-visible]:outline-2 has-[a:focus-visible]:outline-offset-4 has-[a:focus-visible]:outline-white",children:[(0,t.jsx)("div",{className:"relative aspect-[1200/630] w-full overflow-hidden rounded-[20px] bg-[rgba(5,32,66,0.89)] sm:aspect-[601.217/457] sm:rounded-[30px]",children:(0,t.jsx)(r.default,{src:"/home-popup/product-meetup-banner-seamless.png",alt:"Product Meetup",fill:!0,sizes:"(min-width: 640px) 440px, 260px",quality:85,className:"object-cover transition-[scale] duration-500 ease-[cubic-bezier(0.22,1,0.36,1)] group-has-[a:hover]/card:scale-[1.04] motion-reduce:group-has-[a:hover]/card:scale-100"})}),(0,t.jsxs)("div",{className:"px-2 pt-2.5 sm:px-[27px] sm:pt-6",children:[(0,t.jsx)("p",{className:"sr-only text-pretty sm:not-sr-only sm:text-[16px] sm:font-medium sm:leading-[1.4] sm:tracking-[-0.005em]",children:"Codeway Meetup is back on October 21, this time about how our apps reached millions of people."}),(0,t.jsxs)("a",{href:"/productmeetup?utm_source=codeway.co&utm_medium=homepage_popup&utm_campaign=product_meetup_2026_10",onClick:()=>s("Meetup Popup Clicked",{layout:l()}),className:"group inline-flex items-center gap-1.5 text-[15px] font-medium leading-5 text-white underline-offset-4 outline-none after:absolute after:inset-0 after:rounded-[inherit] after:content-[''] hover:underline sm:mt-4 sm:text-[16px]",children:["Sign Up",(0,t.jsx)("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",className:"size-3.5 transition-transform duration-200 group-hover:translate-x-0.5 motion-reduce:group-hover:translate-x-0",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M3 8h9.5M8.5 4l4 4-4 4"})})]})]}),(0,t.jsx)("button",{type:"button",onClick:o,"aria-label":"Dismiss",className:"absolute right-4 top-[17px] z-10 grid size-7 cursor-pointer place-items-center rounded-full bg-white/15 text-white backdrop-blur-[10px] transition-colors duration-200 hover:bg-white/25 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white sm:right-[22px] sm:top-[23px] sm:size-9",children:(0,t.jsx)("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",className:"size-3 sm:size-3.5",fill:"none",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",children:(0,t.jsx)("path",{d:"M3.5 3.5l9 9M12.5 3.5l-9 9"})})})]})}],22941)},38745,e=>{"use strict";var t=e.i(63645),n=e.i(49521),r=e.i(68864),i=e.i(63266),a=e.i(42908),o=e.i(12086),s=e.i(49174),l=e.i(65143),c=e.i(90813),d=e.i(27478),u=e.i(11470);let m=["*Move like* **an indie.**","*Hit like* **a giant.**"],p=e=>Array.from(e.matchAll(/(\S+)(\s*)/g),([,e="",t=""])=>({suffix:t,value:e})),x=e=>{let t=[],n=0;for(let r of e.matchAll(/(\*\*[^*]+\*\*|__[^_]+__|\*[^*]+\*|_[^_]+_)/g)){let i=r[0],a=r.index??0;a>n&&t.push({bold:!1,italic:!1,text:e.slice(n,a)});let o=i.startsWith("**")||i.startsWith("__");t.push({bold:o,italic:!o,text:o?i.slice(2,-2):i.slice(1,-1)}),n=a+i.length}n<e.length&&t.push({bold:!1,italic:!1,text:e.slice(n)});let r=[];for(let e of t){let t=e.text.match(/^\s+/)?.[0],n=r[r.length-1];for(let i of(t&&n&&(n.suffix+=t),p(e.text)))r.push({...i,bold:e.bold,italic:e.italic})}return r};function h({ctaHref:e,ctaLabel:n,description:i,isInView:s,lines:l,prefersReducedMotion:d}){let u,m=(u=l.reduce((e,t)=>
4e+t.length,0))<=1?0:Math.min(.48/(u-1),.08);return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-[760px] flex-col items-center",children:[(0,t.jsx)("h2",{id:"motto-heading",className:"text-[clamp(2.5rem,8.6vw,5.073rem)] font-medium leading-[0.99] tracking-[-0.04em] lg:leading-none lg:tracking-[-0.8px]",children:(0,t.jsx)("span",{className:"block",children:l.map((e,n)=>{let r=l.slice(0,n).reduce((e,t)=>e+t.length,0);return(0,t.jsx)("span",{className:"mt-[0.08em] block whitespace-nowrap first:mt-0",children:e.map((e,i)=>(0,t.jsx)(f,{bold:e.bold,isInView:s,italic:e.italic,prefersReducedMotion:d,stagger:m*(r+i),suffix:e.suffix,value:e.value},`${n}-${e.value}-${i}`))},`line-${n}`)})})}),i?(0,t.jsx)(o.motion.div,{className:"mt-6 text-pretty text-[clamp(1rem,0.9rem+0.5vw,1.25rem)] font-medium leading-[1.5] tracking-[-0.01em] text-[#C4B8BB] [text-shadow:0_2px_12px_rgba(0,0,0,0.55)] [&_a]:underline [&_a]:underline-offset-4",initial:!d&&{opacity:0,y:20},animate:s||d?{opacity:1,y:0}:{},transition:{duration:.54,delay:.16,ease:[.22,1,.36,1]},children:(0,t.jsx)(r.default,{remarkPlugins:[c.default],children:i})}):null,n&&e?(0,t.jsx)(o.motion.div,{initial:!d&&{opacity:0,y:16,scale:.96},animate:s||d?{opacity:1,y:0,scale:1}:{},transition:{duration:.5,delay:.3,ease:[.22,1,.36,1]},children:(0,t.jsx)(a.default,{href:e,target:"_blank",rel:"noreferrer",className:"mt-10 inline-flex h-[45px] items-center justify-center rounded-[765.694px] border-0 bg-[#FF0033] px-[28px] py-0 text-[clamp(1rem,0.9rem+0.5vw,1.25rem)] font-medium leading-normal text-white transition hover:bg-[#E6002E] md:mt-[88px] md:h-auto md:min-h-12 md:py-3",children:n})}):null]})}function f({bold:e,isInView:r,italic:i,prefersReducedMotion:a,stagger:s,suffix:l,value:c}){return(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)(o.motion.span,{className:`-mx-[0.2em] -my-[0.2em] inline-block bg-[linear-gradient(180deg,#F0F0F0_0%,#E1BAC2_100%)] bg-clip-text px-[0.2em] py-[0.2em] align-top text-transparent will-change-transform [-webkit-background-clip:text] [-webkit-text-fill-color:transparent] ${i?"italic":""} ${e?"font-semibold":""}`,initial:!a&&{opacity:0,y:18},animate:r||a?{opacity:1,y:0}:{},transition:{delay:a?0:.22+s,duration:.58,ease:[.22,1,.36,1]},children:c}),l]})}e.s(["MottoSection",0,function(){let e=(0,n.useRef)(null),r=(0,l.useReducedMotion)()??!1,{data:a}=(0,d.usePageQuery)(u.Pages.HOMEPAGE),o=a.pageHome?.mottoSection,c=o?.headline?.trim()||m.join("\n"),p=o?.description?.trim(),f=o?.ctaLabel?.trim(),g=o?.ctaHref?.trim(),w=(0,n.useMemo)(()=>c.split(/\r?\n/).map(e=>e.trim()).filter(e=>e.length>0).map(x),[c]),b=(0,s.useInView)(e,{amount:.6,once:!0});return(0,t.jsx)("section",{ref:e,"data-navbar-background":"#310010","aria-labelledby":"motto-heading",className:"relative h-[140vh] bg-[#310010] md:z-40 md:-mt-9",children:(0,t.jsxs)("div",{className:"sticky top-0 h-screen overflow-hidden",children:[(0,t.jsx)(i.default,{src:"/motto-new-bg-mobile.png",alt:"",fill:!0,className:"pointer-events-none object-cover object-center md:hidden",sizes:"100vw",quality:100,unoptimized:!0}),(0,t.jsx)(i.default,{src:"/motto-new-bg.png",alt:"",fill:!0,className:"pointer-events-none hidden object-cover object-center md:block",sizes:"100vw",quality:100,unoptimized:!0}),(0,t.jsx)("div",{className:"relative z-10 flex h-full items-center justify-center px-5 py-16 text-center sm:px-8 sm:py-20 lg:px-12",children:(0,t.jsx)(h,{ctaHref:g,ctaLabel:f,description:p,isInView:b,lines:w,prefersReducedMotion:r})})]})})}])},35149,e=>{"use strict";var t=e.i(63645),n=e.i(49521),r=e.i(63266);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function a(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],o=t[n];return"function"==typeof r?`${r}`==`${o}`:i(r)&&i(o)?a(r,o):r===o})}function o(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function s(e){return"number"==typeof e}function l(e){return"string"==typeof e}function c(e){return"boolean"==typeof e}function d(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return Math.abs(e)}function m(e){return Math.sign(e)}function p(e){return g(e).map(Number)}function x(e){return e[h(e)]}function h(e){return Math.max(0,e.length-1)}function f(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function g(e){return Object.keys(e)}function w(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function b(){let e=[],t={add:function(n,r,i,a={passive:!0}){let o;return"addEventListener"in n?(n.addEventListener(r,i,a),o=()=>n.removeEventListener(r,i,a)):(n.addListener(i),o=()=>n.removeListener(i)),e.push(o),t},clear:function(){e=e.filter(e=>e())}};return t}function v(e=0,t=0){let n=u(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e}
4,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function y(e){let t=e;function n(e){return s(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function j(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,i=null,a=!1;return{clear:function(){!a&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(a)return;let o=Math.round(100*e.direction(t))/100;o!==i&&(r.transform=n(o),i=o)},toggleActive:function(e){a=!e}}}let k={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function N(e,t,n){let r,i,a,o,S,_,A,F,E=e.ownerDocument,C=E.defaultView,M=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(g(n).forEach(r=>{let i=t[r],a=n[r],o=d(i)&&d(a);t[r]=o?e(i,a):a}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=g(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>g(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(C),R=(F=[],{init:function(e,t){return(F=t.filter(({options:e})=>!1!==M.optionsAtMedia(e).active)).forEach(t=>t.init(e,M)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){F=F.filter(e=>e.destroy())}}),L=b(),D=(i={},a={init:function(e){r=e},emit:function(e){return(i[e]||[]).forEach(t=>t(r,e)),a},off:function(e,t){return i[e]=(i[e]||[]).filter(e=>e!==t),a},on:function(e,t){return i[e]=(i[e]||[]).concat([t]),a},clear:function(){i={}}}),{mergeOptions:P,optionsAtMedia:z,optionsMediaQueries:T}=M,{on:I,off:B,emit:$}=D,O=!1,H=P(k,N.globalOptions),V=P(H),W=[];function q(t,n){O||(V=z(H=P(H,t)),W=n||W,function(){let{container:t,slides:n}=V;_=(l(t)?e.querySelector(t):t)||e.children[0];let r=l(n)?_.querySelectorAll(n):n;A=[].slice.call(r||_.children)}(),o=function t(n){let r=function(e,t,n,r,i,a,o){var d,k;let N,S,_,A,F,E,C,M,R,L,D,P,z,T,{align:I,axis:B,direction:$,startIndex:O,loop:H,duration:V,dragFree:W,dragThreshold:q,inViewThreshold:Y,slidesToScroll:G,skipSnaps:U,containScroll:Q,watchResize:X,watchSlides:Z,watchDrag:J,watchFocus:K}=a,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},et=ee.measure(t),en=n.map(ee.measure),er=(S="rtl"===$,A=(_="y"===B)||!S?1:-1,F=_?"top":S?"right":"left",E=_?"bottom":S?"left":"right",{scroll:_?"y":"x",cross:_?"x":"y",startEdge:F,endEdge:E,measureSize:function(e){let{height:t,width:n}=e;return _?t:n},direction:function(e){return e*A}}),ei=er.measureSize(et),ea={measure:function(e){return e/100*ei}},eo=(d=I,k=ei,N={start:function(){return 0},center:function(e){return(k-e)/2},end:function(e){return k-e}},{measure:function(e,t){return l(d)?N[d](e):d(k,e,t)}}),es=!H&&!!Q,{slideSizes:el,slideSizesWithGaps:ec,startGap:ed,endGap:eu}=function(e,t,n,r,i,a){let{measureSize:o,startEdge:s,endEdge:l}=e,c=n[0]&&i,d=function(){if(!c)return 0;let e=n[0];return u(t[s]-e[s])}(),m=c?parseFloat(a.getComputedStyle(x(r)).getPropertyValue(`margin-${l}`)):0,p=n.map(o),f=n.map((e,t,n)=>{let r=t===h(n);return t?r?p[t]+m:n[t+1][s]-e[s]:p[t]+d}).map(u);return{slideSizes:p,slideSizesWithGaps:f,startGap:d,endGap:m}}(er,et,en,n,H||!!Q,i),em=function(e,t,n,r,i,a,o,l){let{startEdge:c,endEdge:d,direction:m}=e,f=s(n);return{groupSlides:function(e){return f?p(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?p(e).reduce((n,s,p)=>{let f=x(n)||0,g=s===h(e),w=i[c]-a[f][c],b=i[c]-a[s][d],v=r||0!==f?0:m(o),y=u(b-(!r&&g?m(l):0)-(w+v));return p&&y>t+2&&n.push(s),g&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(er,ei,G,H,et,en,ed,eu),{snaps:ep,snapsAligned:ex}=function(e,t,n,r,i){let{startEdge:a,endEdge:o}=e,{groupSlides:s}=i,l=s(r).map(e=>x(e)[o]-e[0][a]).map(u).map(t.measure),c=r.map(e=>n[a]-e[a]).map(e=>-u(e)),d=s(c).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:c,snapsAligned:d}}
4(er,eo,et,en,em),eh=-x(ep)+x(ec),{snapsContained:ef,scrollContainLimit:eg}=function(e,t,n,r){let i,a,o=v(-t+e,0),s=n.map((e,t)=>{let{min:r,max:i}=o,a=o.constrain(e),s=t===h(n);return t?s||function(e,t){return 1>=u(e-t)}(r,a)?r:function(e,t){return 1>=u(e-t)}(i,a)?i:a:i}).map(e=>parseFloat(e.toFixed(3))),l=(i=s[0],a=x(s),v(s.lastIndexOf(i),s.indexOf(a)+1));return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return s;let{min:n,max:i}=l;return s.slice(n,i)}(),scrollContainLimit:l}}(ei,eh,ex,Q),ew=es?ef:ex,{limit:eb}=(C=ew[0],{limit:v(H?C-eh:x(ew),C)}),ev=function e(t,n,r){let{constrain:i}=v(0,t),a=t+1,o=s(n);function s(e){return r?u((a+e)%a):i(e)}function l(){return e(t,o,r)}let c={get:function(){return o},set:function(e){return o=s(e),c},add:function(e){return l().set(o+e)},clone:l};return c}(h(ew),O,H),ey=ev.clone(),ej=p(n),ek=function(e,t,n,r){let i=b(),a=1e3/60,o=null,s=0,l=0;function c(e){if(!l)return;o||(o=e,n(),n());let i=e-o;for(o=e,s+=i;s>=a;)n(),s-=a;r(s/a),l&&(l=t.requestAnimationFrame(c))}function d(){t.cancelAnimationFrame(l),o=null,s=0,l=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(o=null,s=0)})},destroy:function(){d(),i.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:d,update:n,render:r}}(r,i,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()})(eT),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:a,slideLooper:o,dragHandler:s,animation:l,eventHandler:c,scrollBounds:d,options:{loop:u}},m)=>{let p=e.settled(),x=!d.shouldConstrain(),h=u?p:p&&x,f=h&&!s.pointerDown();f&&l.stop();let g=n.get()*m+i.get()*(1-m);r.set(g),u&&(a.loop(e.direction()),o.loop()),t.to(r.get()),f&&c.emit("settle"),h||c.emit("scroll")})(eT,e)),eN=ew[ev.get()],eS=y(eN),e_=y(eN),eA=y(eN),eF=y(eN),eE=function(e,t,n,r,i){let a=0,o=0,s=i,l=.68,c=e.get(),d=0;function p(e){return s=e,h}function x(e){return l=e,h}let h={direction:function(){return o},duration:function(){return s},velocity:function(){return a},seek:function(){let t=r.get()-e.get(),i=0;return s?(n.set(e),a+=t/s,a*=l,c+=a,e.add(a),i=c-d):(a=0,n.set(r),e.set(r),i=t),o=m(i),d=c,h},settled:function(){return .001>u(r.get()-t.get())},useBaseFriction:function(){return x(.68)},useBaseDuration:function(){return p(i)},useFriction:x,useDuration:p};return h}(eS,eA,e_,eF,V),eC=function(e,t,n,r,i){let{reachedAny:a,removeOffset:o,constrain:s}=r;function l(e){return e.concat().sort((e,t)=>u(e)-u(t))[0]}function c(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return l(i);let a=i.filter(e=>m(e)===r);return a.length?l(a):x(i)-n}return{byDistance:function(n,r){let l=i.get()+n,{index:d,distance:m}=function(n){let r=e?o(n):s(n),{index:i}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>u(e.diff)-u(t.diff))[0];return{index:i,distance:r}}(l),p=!e&&a(l);if(!r||p)return{index:d,distance:n};let x=n+c(t[d]-m,0);return{index:d,distance:x}},byIndex:function(e,n){let r=c(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:c}}(H,ew,eh,eb,eF),eM=function(e,t,n,r,i,a,o){function s(i){let s=i.distance,l=i.index!==t.get();
4a.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(n.set(t.get()),t.set(i.index),o.emit("select"))}return{distance:function(e,t){s(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);s(i.byIndex(r.get(),n))}}}(ek,ev,ey,eE,eC,eF,o),eR=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eb),eL=b(),eD=(R={},L=null,D=null,P=!1,{init:function(){M=new IntersectionObserver(e=>{P||(e.forEach(e=>{R[n.indexOf(e.target)]=e}),L=null,D=null,o.emit("slidesInView"))},{root:t.parentElement,threshold:Y}),n.forEach(e=>M.observe(e))},destroy:function(){M&&M.disconnect(),P=!0},get:function(e=!0){if(e&&L)return L;if(!e&&D)return D;let t=g(R).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=R[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(L=t),e||(D=t),t}}),{slideRegistry:eP}=function(e,t,n,r,i,a){let o,{groupSlides:s}=i,{min:l,max:c}=r;return{slideRegistry:(o=s(a),1===n.length?[a]:e&&"keepSnaps"!==t?o.slice(l,c).map((e,t,n)=>{let r=t===h(n);return t?r?f(h(a)-x(n)[0]+1,x(n)[0]):e:f(x(n[0])+1)}):o)}}(es,Q,ew,eg,em,ej),ez=function(e,t,n,r,i,a,o,l){let d={passive:!0,capture:!0},u=0;function m(e){"Tab"===e.code&&(u=new Date().getTime())}return{init:function(p){l&&(a.add(document,"keydown",m,!1),t.forEach((t,m)=>{a.add(t,"focus",t=>{(c(l)||l(p,t))&&function(t){if(new Date().getTime()-u>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;let a=n.findIndex(e=>e.includes(t));s(a)&&(i.useDuration(0),r.index(a,0),o.emit("slideFocus"))}(m)},d)}))}}}(e,n,eP,eM,eE,eL,o,K),eT={ownerDocument:r,ownerWindow:i,eventHandler:o,containerRect:et,slideRects:en,animation:ek,axis:er,dragHandler:function(e,t,n,r,i,a,o,s,l,d,p,x,h,f,g,y,j,k){let{cross:N,direction:S}=e,_=["INPUT","SELECT","TEXTAREA"],A={passive:!1},F=b(),E=b(),C=v(50,225).constrain(f.measure(20)),M={mouse:300,touch:400},R={mouse:500,touch:600},L=g?43:25,D=!1,P=0,z=0,T=!1,I=!1,B=!1,$=!1;function O(e){if(!w(e,r)&&e.touches.length>=2)return H(e);let t=a.readPoint(e),n=a.readPoint(e,N),o=u(t-P),l=u(n-z);if(!I&&!$&&(!e.cancelable||!(I=o>l)))return H(e);let c=a.pointerMove(e);o>y&&(B=!0),d.useFriction(.3).useDuration(.75),s.start(),i.add(S(c)),e.preventDefault()}function H(e){var t;let n,r,i=p.byDistance(0,!1).index!==x.get(),o=a.pointerUp(e)*(g?R:M)[$?"mouse":"touch"],s=(t=S(o),n=x.add(-1*m(t)),r=p.byDistance(t,!g).distance,g||u(t)<C?r:j&&i?.5*r:p.byIndex(n.get(),0).distance),c=function(e,t){var n,r;if(0===e||0===t||u(e)<=u(t))return 0;let i=(n=u(e),r=u(t),u(n-r));return u(i/e)}(o,s);I=!1,T=!1,E.clear(),d.useDuration(L-10*c).useFriction(.68+c/50),l.distance(s,!g),$=!1,h.emit("pointerUp")}function V(e){B&&(e.stopPropagation(),e.preventDefault(),B=!1)}return{init:function(e){k&&F.add(t,"dragstart",e=>e.preventDefault(),A).add(t,"touchmove",()=>void 0,A).add(t,"touchend",()=>void 0).add(t,"touchstart",s).add(t,"mousedown",s).add(t,"touchcancel",H).add(t,"contextmenu",H).add(t,"click",V,!0);function s(s){(c(k)||k(e,s))&&function(e){let s,l=w(e,r);if(($=l,B=g&&l&&!e.buttons&&D,D=u(i.get()-o.get())>=2,!l||0===e.button)&&(s=e.target.nodeName||"",!_.includes(s))){let r;T=!0,a.pointerDown(e),d.useFriction(0).useDuration(0),i.set(o),r=$?n:t,E.add(r,"touchmove",O,A).add(r,"touchend",H).add(r,"mousemove",O,A).add(r,"mouseup",H),P=a.readPoint(e),z=a.readPoint(e,N),h.emit("pointerDown")}}(s)}},destroy:function(){F.clear(),E.clear()},pointerDown:function(){return T}}}(er,e,r,i,eF,function(e,t){let n,r;function i(e){return e.timeStamp}function a(n,r){let i=r||e.scroll,a=`client${"x"===i?"X":"Y"}`;return(w(n,t)?n:n.touches[0])[a]}return{pointerDown:function(e){return n=e,r=e,a(e)},pointerMove:function(e){let t=a(e)-a(r),o=i(e)-i(n)>170;return r=e,o&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=a(r)-a(n),o=i(e)-i(n),s=i(e)-i(r)>170,l=t/o;return o&&!s&&u(l)>.1?l:0},readPoint:a}}(er,i),eS,ek,eM,eE,eC,ev,o,ea,W,q,U,J),eventStore:eL,percentOfView:ea,index:ev,indexPrevious:ey,limit:eb,location:eS,offsetLocation:eA,previousLocation:e_,options:a,resizeHandler:function(e,t,n,r,i,a,o){let s,l,d=[e].concat(r),m=[],p=!1;function x(e){return i.measureSize(o.measure(e))}return{init:function(i){a&&(l=x(e),m=r.map(x),s=new ResizeObserver(n=>{(c(a)||a(i,n))&&function(n){for(let a of n){if(p)return;let n=a.target===e,o=r.indexOf(a.target),s=n?l:m[o];if(u(x(n?e:r[o])-s)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
4{d.forEach(e=>s.observe(e))}))},destroy:function(){p=!0,s&&s.disconnect()}}}(t,o,i,n,er,X,ee),scrollBody:eE,scrollBounds:function(e,t,n,r,i){let a=i.measure(10),o=i.measure(50),s=v(.1,.99),l=!1;function c(){return!l&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(i){if(!c())return;let l=e.reachedMin(t.get())?"min":"max",d=u(e[l]-t.get()),m=n.get()-t.get(),p=s.constrain(d/o);n.subtract(m*p),!i&&u(m)<a&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(eb,eA,eF,eE,ea),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:a}=v(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?a(n.get()):-1===t&&i(n.get())))return;let o=-1*t*e;r.forEach(e=>e.add(o))}}}(eh,eb,eA,[eS,eA,e_,eF]),scrollProgress:eR,scrollSnapList:ew.map(eR.get),scrollSnaps:ew,scrollTarget:eC,scrollTo:eM,slideLooper:function(e,t,n,r,i,a,o,s,l){let c=p(i),d=p(i).reverse(),u=h(x(d,o[0]),n,!1).concat(h(x(c,t-o[0]-1),-n,!0));function m(e,t){return e.reduce((e,t)=>e-i[t],t)}function x(e,t){return e.reduce((e,n)=>m(e,t)>0?e.concat([n]):e,[])}function h(i,o,c){let d=a.map((e,n)=>({start:e-r[n]+.5+o,end:e+t-.5+o}));return i.map(t=>{let r=c?0:-n,i=c?n:0,a=d[t][c?"end":"start"];return{index:t,loopPoint:a,slideLocation:y(-1),translate:j(e,l[t]),target:()=>s.get()>a?r:i}})}return{canLoop:function(){return u.every(({index:e})=>.1>=m(c.filter(t=>t!==e),t))},clear:function(){u.forEach(e=>e.translate.clear())},loop:function(){u.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:u}}(er,ei,eh,el,ec,ep,ew,eA,n),slideFocus:ez,slidesHandler:(T=!1,{init:function(e){Z&&(z=new MutationObserver(t=>{!T&&(c(Z)||Z(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),o.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){z&&z.disconnect(),T=!0}}),slidesInView:eD,slideIndexes:ej,slideRegistry:eP,slidesToScroll:em,target:eF,translate:j(er,t)};return eT}(e,_,A,E,C,n,D);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(V),T([H,...W.map(({options:e})=>e)]).forEach(e=>L.add(e,"change",Y)),V.active&&(o.translate.to(o.location.get()),o.animation.init(),o.slidesInView.init(),o.slideFocus.init(X),o.eventHandler.init(X),o.resizeHandler.init(X),o.slidesHandler.init(X),o.options.loop&&o.slideLooper.loop(),_.offsetParent&&A.length&&o.dragHandler.init(X),S=R.init(X,W)))}function Y(e,t){let n=Q();G(),q(P({startIndex:n},e),t),D.emit("reInit")}function G(){o.dragHandler.destroy(),o.eventStore.clear(),o.translate.clear(),o.slideLooper.clear(),o.resizeHandler.destroy(),o.slidesHandler.destroy(),o.slidesInView.destroy(),o.animation.destroy(),R.destroy(),L.clear()}function U(e,t,n){V.active&&!O&&(o.scrollBody.useBaseFriction().useDuration(!0===t?0:V.duration),o.scrollTo.index(e,n||0))}function Q(){return o.index.get()}let X={canScrollNext:function(){return o.index.add(1).get()!==Q()},canScrollPrev:function(){return o.index.add(-1).get()!==Q()},containerNode:function(){return _},internalEngine:function(){return o},destroy:function(){O||(O=!0,L.clear(),G(),D.emit("destroy"),D.clear())},off:B,on:I,emit:$,plugins:function(){return S},previousScrollSnap:function(){return o.indexPrevious.get()},reInit:Y,rootNode:function(){return e},scrollNext:function(e){U(o.index.add(1).get(),e,-1)},scrollPrev:function(e){U(o.index.add(-1).get(),e,1)},scrollProgress:function(){return o.scrollProgress.get(o.offsetLocation.get())},scrollSnapList:function(){return o.scrollSnapList}
4,scrollTo:U,selectedScrollSnap:Q,slideNodes:function(){return A},slidesInView:function(){return o.slidesInView.get()},slidesNotInView:function(){return o.slidesInView.get(!1)}};return q(t,n),setTimeout(()=>D.emit("init"),0),X}function S(e={},t=[]){let r=(0,n.useRef)(e),i=(0,n.useRef)(t),[s,l]=(0,n.useState)(),[c,d]=(0,n.useState)(),u=(0,n.useCallback)(()=>{s&&s.reInit(r.current,i.current)},[s]);return(0,n.useEffect)(()=>{a(r.current,e)||(r.current=e,u())},[e,u]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=o(e),r=o(t);return n.every((e,t)=>a(e,r[t]))}(i.current,t)&&(i.current=t,u())},[t,u]),(0,n.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&c){N.globalOptions=S.globalOptions;let e=N(c,r.current,i.current);return l(e),()=>e.destroy()}l(void 0)},[c,l]),[d,s]}N.globalOptions=void 0,S.globalOptions=void 0;var _=e.i(12086),A=e.i(65143),F=e.i(27478),E=e.i(11470);let C=[{id:"barcelona-1",image:"/offices/barcelona-1.jpg",alt:"Barcelona office workspace",eyebrow:"Barcelona",caption:"Sunlit desks and product pods"},{id:"barcelona-2",image:"/offices/barcelona-2.jpg",alt:"Barcelona office lou
4nge",eyebrow:"Barcelona",caption:"Lounge corner for fast brainstorms"},{id:"barcelona-3",image:"/offices/barcelona-3.jpg",alt:"Barcelona office terrace",eyebrow:"Barcelona",caption:"Terrace energy with a city glow"},{id:"barcelona-4",image:"/offices/barcelona-4.jpg",alt:"Barcelona office",eyebrow:"Barcelona",caption:"A space to make work happen"},{id:"istanbul-1",image:"/offices/istanbul-1.svg",alt:"Istanbul office workspace",eyebrow:"Istanbul",caption:"Focused desks with Bosphorus blues"},{id:"istanbul-2",image:"/offices/istanbul-2.svg",alt:"Istanbul office meeting room",eyebrow:"Istanbul",caption:"Meeting room built for sharp calls"},{id:"istanbul-3",image:"/offices/istanbul-3.svg",alt:"Istanbul office cafe area",eyebrow:"Istanbul",caption:"Cafe nook with late-evening warmth"}];function M(){return(0,t.jsx)("span",{className:"relative top-[2px] flex h-[clamp(1.9rem,3.385vw,2.75rem)] shrink-0 items-center",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 219 133",fill:"none","aria-hidden":"true",className:"block h-full w-auto",children:(0,t.jsx)("path",{d:"M109.244 31.1021L0 0L15.6501 54.4899V85.592C15.6501 102.796 29.6431 116.755 46.8889 116.755H78.1277L109.305 132.306L140.483 116.755H171.721C188.967 116.755 202.899 102.796 202.899 85.592V54.4899L218.488 0L109.244 31.1633V31.1021Z",fill:"#F0F0F0"})})})}e.s(["Offices",0,function(){let e=(0,A.useReducedMotion)()??!1,[i,a]=(0,n.useState)(!1),{data:o}=(0,F.usePageQuery)(E.Pages.HOMEPAGE),s=o.pageHome?.officesSection,l=s?.heading?.trim()||"Offices",c=s?.description?.trim()||"Spaces we work are essential to how we build. They're designed to match our builder energy.",d=s?.cities?.flatMap(e=>{let t=e.name?.trim();return t?(e.slides??[]).flatMap((e,n)=>{let r=e.photo?.url;return r?[{id:`${t.toLowerCase()}-${n+1}`,image:r,alt:e.photo?.alt??"",eyebrow:t,caption:e.caption?.trim()??""}]:[]}):[]})??[],u=d.length>0?d:C,[m,p]=(0,n.useState)(0),[x,h]=S({loop:!0,align:"center",containScroll:!1,duration:30}),f=u[m]??u[0];(0,n.useEffect)(()=>{let e=window.matchMedia("(max-width: 699px)"),t=()=>a(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let g=(0,n.useCallback)(()=>{h&&p(h.selectedScrollSnap())},[h]);(0,n.useEffect)(()=>{if(h)return g(),h.on("select",g),h.on("reInit",g),()=>{h.off("select",g),h.off("reInit",g)}},[h,g]);let w=e=>{h?.scrollTo(e)};return(0,t.jsx)("section",{"data-navbar-background":"#020101","aria-labelledby":"offices-heading",className:"relative z-40 -mt-px flex min-h-screen overflow-hidden bg-[#020101] px-5 py-[80px] text-[#F0F0F0] max-md:min-h-0 md:px-10 xl:px-0 xl:py-24",children:(0,t.jsxs)("div",{className:"relative mx-auto flex w-full max-w-[1240px] flex-col items-center justify-center",children:[(0,t.jsxs)(_.motion.div,{className:"flex items-center gap-[6px]",initial:!e&&{opacity:0,y:20},whileInView:e?void 0:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.56,ease:[.22,1,.36,1]},children:[(0,t.jsx)(M,{}),(0,t.jsx)("h2",{id:"offices-heading",className:"text-[clamp(2.25rem,4vw,3.25rem)] font-medium leading-none tracking-[-0.04em]",children:l})]}),(0,t.jsx)(_.motion.p,{className:"mt-3 max-w-[620px] text-center text-[18px] font-medium leading-7 tracking-[-0.02em] text-[#C6BEC0] md:mt-5 md:text-[22px]",initial:!e&&{opacity:0,y:16},whileInView:e?void 0:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.5,delay:.1,ease:[.22,1,.36,1]},children:c}),(0,t.jsx)(_.motion.div,{className:"relative mt-12 flex w-full items-center justify-center md:mt-14",initial:!e&&{opacity:0,y:28,scale:.985},whileInView:e?void 0:{opacity:1,y:0,scale:1},viewport:{once:!0,amount:.35},transition:{duration:.64,delay:.2,ease:[.22,1,.36,1]},style:{"--office-main-width":"clamp(250px, min(48vw, 620px), 620px)"},children:(0,t.jsx)("div",{className:"relative h-[250px] w-full md:h-[320px] xl:h-[360px]",style:{width:"min(100%, calc(var(--office-main-width) * 2.15))"},children:(0,t.jsx)("div",{ref:x,className:"h-full overflow-hidden",children:(0,t.jsx)("div",{className:"flex h-full items-center",children:u.map((e,n)=>{var i;let a,o=n===m,s=0>(i=u.length,(a=n-m)>i/2?a-i:a<-i/2?a+i:a);return(0,t.jsx)("div",{className:"mr-3 flex h-full min-w-0 flex-[0_0_var(--office-main-width)] items-center justify-center md:mr-4",children:(0,t.jsx)(_.motion.button,{type:"button",onClick:()=>
4w(n),initial:!1,animate:{opacity:o?1:.58,scale:o?1:.94},transition:{scale:{type:"spring",stiffness:150,damping:24,mass:1},scaleY:{type:"spring",stiffness:150,damping:24,mass:1},opacity:{duration:.35,ease:[.22,1,.36,1]},filter:{duration:.35,ease:[.22,1,.36,1]}},className:"relative h-full w-full cursor-pointer overflow-hidden rounded-[18px] will-change-transform md:rounded-[24px]","aria-label":o?`${e.eyebrow} image ${n+1}`:`Show ${e.eyebrow} image ${n+1}`,"aria-pressed":o,children:(0,t.jsxs)(_.motion.div,{className:"relative h-full w-full",animate:{scale:o?1:1.02},transition:{type:"spring",stiffness:95,damping:24,mass:1},children:[(0,t.jsx)(r.default,{src:e.image,alt:e.alt,fill:!0,quality:100,unoptimized:e.image.endsWith(".jpg"),className:"object-cover",sizes:"(min-width: 1280px) 620px, (min-width: 768px) 58vw, 64vw"}),!o&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 md:hidden",style:{background:s?"linear-gradient(90deg, #000 3.32%, #000 68%, rgba(0, 0, 0, 0) 100%)":"linear-gradient(270deg, #000 3.32%, #000 68%, rgba(0, 0, 0, 0) 100%)"}}),(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 hidden md:block",style:{background:s?"linear-gradient(90deg, #000 3.32%, #000 58%, rgba(0, 0, 0, 0) 76%)":"linear-gradient(270deg, #000 3.32%, #000 58%, rgba(0, 0, 0, 0) 76%)"}})]}),o&&(0,t.jsxs)("div",{className:"absolute bottom-3 right-3 inline-flex h-[35px] items-center gap-[6px] rounded-[24.965px] bg-[rgba(19,14,14,0.89)] px-[9px] text-[14px] font-[500] text-[#EC334F] backdrop-blur-sm md:bottom-4 md:right-4 md:h-[36px] md:text-[17.296px]",children:[(0,t.jsx)("svg",{"aria-hidden":"true",width:"11",height:"14",viewBox:"0 0 11 14",fill:"none",className:"shrink-0",children:(0,t.jsx)("path",{d:"M4.89334.011C2.276.178.15 2.316.006 4.94c-.156 2.858 2.64 6.438 4.54 8.403.092.095.522.548.598.572.096.031.152.013.232-.042.138-.096.4-.394.53-.53 1.755-1.82 4.101-4.832 4.48-7.376C10.874 2.7 8.18-.198 4.893.011Zm2.457 6.32C6.553 7.883 4.353 8.065 3.31 6.663 2.197 5.165 3.146 3.004 5.002 2.84c1.882-.167 3.216 1.804 2.349 3.491Z",fill:"#F02D4E"})}),(0,t.jsx)("span",{children:e.eyebrow})]})]})})},e.id)})})})})}),(0,t.jsx)(_.motion.div,{className:"mt-[56px] flex h-[14px] items-center justify-center gap-[8px]",initial:!e&&{opacity:0,y:12,scale:.96},whileInView:e?void 0:{opacity:1,y:0,scale:1},viewport:{once:!0,amount:.5},transition:{duration:.45,delay:.44,ease:[.22,1,.36,1]},children:u.map((e,n)=>{var r;let a,o,s=n===m,l=(r=u.length,a=i?11.112:11.2,Math.max(o=i?7.44:8,a-Math.min(Math.abs(n-m),r-Math.abs(n-m))/2*(a-o)));return(0,t.jsx)("button",{type:"button",onClick:()=>w(n),"aria-pressed":s,"aria-label":`Show ${e.eyebrow} image ${n+1}`,className:"flex h-[14px] w-[14px] cursor-pointer items-center justify-center",children:(0,t.jsx)("span",{className:`block rounded-full transition-[width,height,background-color] duration-300 ${s?"bg-[#F02D4E]":"bg-[rgba(217,217,217,0.23)]"}`,style:{width:l,height:l}})},e.id)})}),(0,t.jsx)("div",{className:"sr-only","aria-live":"polite",children:f?`${f.eyebrow}: ${f.caption}`:""})]})})}],35149)},20321,e=>{"use strict";var t=e.i(63645),n=e.i(49521),r=e.i(68864),i=e.i(63266),a=e.i(12086),o=e.i(65143),s=e.i(27478),l=e.i(11470);let c=[{duration:32,gap:80,chipBackground:"#1F1B48",chipGradient:"linear-gradient(90deg, #ADABE8 0%, #C87CF7 43.75%, #FF848F 100%)",railMarginBottom:!0},{duration:56,gap:64,chipBackground:"#162938",chipGradient:"linear-gradient(90deg, #E6E9B7 0%, #7CF1F7 52.68%, #849BFF 100%)"}];function d({children:e}){return(0,t.jsx)("p",{className:"mb-[22px] max-w-[926px] text-[16px] font-medium leading-normal text-[#D0D0D0] sm:mb-10 sm:text-[22px] md:mb-[47px] md:text-[25px]",children:(0,t.jsx)(r.default,{components:{p:({children:e})=>(0,t.jsx)(t.Fragment,{children:e}),strong:({children:e})=>(0,t.jsx)("strong",{className:"font-semibold italic text-[#DDD]",children:e})},children:e})})}function u({delay:e,group:r,prefersReducedMotion:o}){let s=(0,n.useRef)(null),l=(0,n.useRef)(null),c=(0,n.useRef)(null),d=(0,n.useRef)(null),m=(0,n.useRef)(0),p=(0,n.useRef)(0),x=(0,n.useRef)(0),h=(0,n.useRef)(0),f=(0,n.useRef)(!1),[g,w]=(0,n.use
4State)(!1);(0,n.useEffect)(()=>{let e=s.current,t=l.current,n=window.matchMedia("(max-width: 767px)");if(!e||!t)return;let i=()=>{e.style.transform=`translate3d(${m.current}px, 0, 0)`},a=()=>{n.matches&&!o&&(p.current=t.offsetWidth,m.current=-p.current,i())},u=e=>{if(n.matches&&!o){if(null!==d.current&&!f.current){var t;let n,a=p.current/(1e3*r.duration);t=m.current+(e-d.current)*a,m.current=0===(n=p.current)?0:(t%n+n)%n-n,i()}d.current=e,c.current=window.requestAnimationFrame(u)}},x=()=>{null!==c.current&&(window.cancelAnimationFrame(c.current),c.current=null),e.style.removeProperty("transform")},h=()=>{x(),n.matches&&!o&&(a(),d.current=null,c.current=window.requestAnimationFrame(u))},g=()=>{f.current&&(f.current=!1,w(!1),d.current=null)},b=new ResizeObserver(a);return b.observe(t),n.addEventListener("change",h),window.addEventListener("blur",g),h(),()=>{b.disconnect(),n.removeEventListener("change",h),window.removeEventListener("blur",g),x()}},[r.duration,o]);let b=()=>{f.current&&(f.current=!1,w(!1),d.current=null)};return(0,t.jsxs)(a.motion.div,{className:`relative h-8 w-full max-w-[960px] touch-pan-y overflow-hidden rounded-[333px] bg-[rgba(66,69,92,0.48)] md:h-[53px] ${r.railMarginBottom?"mb-[72px] sm:mb-[88px] md:mb-[101px]":""}`,"aria-label":`${r.label} partners`,initial:!o&&{opacity:0,y:16,scale:.98},whileInView:o?void 0:{opacity:1,y:0,scale:1},viewport:{once:!0,amount:.5},transition:{duration:.7,delay:e,ease:[.22,1,.36,1]},onPointerDown:e=>{window.innerWidth>=768||"touch"!==e.pointerType||(e.currentTarget.setPointerCapture(e.pointerId),f.current=!0,h.current=e.clientX,x.current=m.current,w(!0))},onPointerMove:e=>{if(!f.current)return;let t=p.current;0===t||(m.current=((x.current+e.clientX-h.current)%t+t)%t-t,s.current?.style.setProperty("transform",`translate3d(${m.current}px, 0, 0)`))},onPointerUp:b,onPointerCancel:b,onLostPointerCapture:b,children:[(0,t.jsx)("div",{className:"partners-logo-viewport absolute inset-0",children:(0,t.jsx)("div",{ref:s,className:"partners-logo-track flex h-full w-max items-center",style:{animationDuration:`${r.duration}s`},children:[0,1].map(e=>(0,t.jsx)("div",{"aria-hidden":1===e,ref:0===e?l:void 0,className:"flex h-full shrink-0 items-center",style:{gap:r.gap,paddingRight:r.gap},children:r.logos.map(e=>{let n=e.displayHeight*(32/48);return(0,t.jsx)(i.default,{src:e.src,alt:e.alt,width:e.width,height:e.height,className:"h-[var(--partner-logo-mobile-height)] w-auto shrink-0 md:h-[var(--partner-logo-display-height)]",style:{"--partner-logo-mobile-height":`${n}px`,"--partner-logo-display-height":`${e.displayHeight}px`}},e.src)})},e))})}),(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 left-0 z-10 w-[clamp(48px,12vw,155px)] bg-[linear-gradient(90deg,#15161E_0%,#15161E_12%,rgba(21,22,30,0.43)_42%,rgba(21,22,30,0)_100%)]"}),(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 right-0 z-10 w-[clamp(48px,12vw,155px)] bg-[linear-gradient(90deg,rgba(21,22,30,0)_0%,rgba(21,22,30,0.43)_58%,#15161E_88%,#15161E_100%)]"}),g&&(0,t.jsx)("span",{className:"sr-only",children:"Logo carousel is paused"})]})}e.s(["Partners",0,function(){let e=(0,o.useReducedMotion)()??!1,{data:n}=(0,s.usePageQuery)(l.Pages.HOMEPAGE),i=n.pageHome?.partnersSections,m=i?.headline?.trim()||"The Best Choose Their Partners Carefully. **So Do We.**",p=(i?.partnerGroups??[]).flatMap((e,t)=>{let n=c[t]??c[0],r=e?.logos?.flatMap(e=>e.url&&e.width&&e.height?[{alt:e.alt??"",displayHeight:function(e){if(!e||"object"!=typeof e)return 24;let t=Number(e.displayHeight);return Number.isFinite(t)&&t>0?t:24}(e.customData),height:e.height,src:e.url,width:e.width}]:[])??[],i=e.label?.trim(),a=e.description?.trim();return i&&a&&0!==r.length?[{...n,label:i,description:a,duration:e.animationDurationSeconds&&e.animationDurationSeconds>0?e.animationDurationSeconds:n.duration,gap:e.logoGap&&e.logoGap>0?e.logoGap:n.gap,logos:r}]:[]});return 0===p.length?null:(0,t.jsx)("section",{"data-navbar-background":"#020101","aria-labelledby":"partners-heading",className:"bg-[#020101] px-5 py-20 text-left sm:px-10 sm:py-24 md:px-16 md:py-24 lg:px-24 xl:px-[clamp(8rem,13.44vw,15.125rem)]",children:(0,t.jsxs)("div",{className:"mx-auto w-full lg:max-w-[9
460px]",children:[(0,t.jsx)(a.motion.h2,{id:"partners-heading",className:"mb-14 max-w-[853px] text-[clamp(2.25rem,1.75rem+2.5vw,3.75rem)] font-medium leading-[1.16] tracking-[-0.025em] text-[#F1EDE9] max-md:max-w-[304px] max-md:text-[clamp(28px,calc(10.526vw-4.211px),32px)] sm:mb-16 md:mb-[84px]",initial:!e&&{opacity:0,y:24},whileInView:e?void 0:{opacity:1,y:0},viewport:{once:!0,amount:.5},transition:{duration:.78,ease:[.22,1,.36,1]},children:(0,t.jsx)(r.default,{components:{p:({children:e})=>(0,t.jsx)(t.Fragment,{children:e}),strong:({children:e})=>(0,t.jsx)("strong",{className:"bg-[linear-gradient(90deg,#CDB47D_0%,#80C6FF_100%)] bg-clip-text font-[600] italic [-webkit-background-clip:text] [-webkit-text-fill-color:transparent]",children:e})},children:m})}),p.map((n,r)=>(0,t.jsxs)("div",{children:[(0,t.jsxs)(a.motion.div,{initial:!e&&{opacity:0,x:-24},whileInView:e?void 0:{opacity:1,x:0},viewport:{once:!0,amount:.45},transition:{duration:.56,delay:.16+.12*r,ease:[.22,1,.36,1]},children:[(0,t.jsx)("span",{className:"mb-[14px] inline-flex h-9 items-center rounded-[81.032px] px-[18px] text-center font-['General_Sans'] text-[16px] font-[500] leading-[1.2] sm:mb-6 sm:h-12 sm:px-6 sm:text-[18px] md:mb-[27px] md:h-[50px] md:px-[30px] md:text-[20px]",style:{backgroundColor:n.chipBackground},children:(0,t.jsx)("span",{className:"bg-clip-text [-webkit-background-clip:text] [-webkit-text-fill-color:transparent]",style:{backgroundImage:n.chipGradient},children:n.label})}),(0,t.jsx)(d,{children:n.description})]}),(0,t.jsx)(u,{delay:.34+.14*r,group:n,prefersReducedMotion:e})]},n.label))]})})}])},89765,e=>{"use strict";var t=e.i(63645),n=e.i(49521),r=e.i(12086),i=e.i(65143),a=e.i(46946),o=e.i(2355),s=e.i(27478),l=e.i(11470),c=e.i(42111),d=e.i(68864),u=e.i(63266),m=e.i(90813);let p=["/vertical/artboard/artboard1.png","/vertical/artboard/artboard2.png","/vertical/artboard/artboard3.png"],x={background:"rgba(53, 67, 123, 0.45)",backdropFilter:"blur(5px)",WebkitBackdropFilter:"blur(5px)",boxShadow:"inset 1.2px 1.2px 1px -0.5px rgba(255, 255, 255, 0.4), inset -1.7px -1.7px 1px -1px rgba(38, 38, 38, 0.5), inset 0 0 0 1px rgba(166, 166, 166, 0.4), inset 0 0 7px 0 rgba(242, 242, 242, 0.35), 0 1px 7px 0 rgba(0, 0, 0, 0.15)"},h={background:"rgba(224, 224, 224, 0.2)",backdropFilter:"blur(5px)",WebkitBackdropFilter:"blur(5px)",boxShadow:"inset 1.2px 1.2px 1px -0.5px rgba(255, 255, 255, 0.4), inset -1.7px -1.7px 1px -1px rgba(38, 38, 38, 0.5), inset 0 0 0 1px rgba(166, 166, 166, 0.4), inset 0 0 7px 0 rgba(242, 242, 242, 0.35), 0 1px 7px 0 rgba(0, 0, 0, 0.15)"},f=[{logoClassName:"h-6 w-[112px]",buttonStyle:x,asset:{src:"/vertical/learna-asset.png",width:1378,height:1350,className:"top-[-15%] right-[-23%] w-[84%]"}},{logoClassName:"h-6 w-[165px]",buttonStyle:{background:"rgba(233, 22, 22, 0.45)",backdropFilter:"blur(5px)",WebkitBackdropFilter:"blur(5px)",boxShadow:"inset 1.2px 1.2px 1px -0.5px rgba(255, 255, 255, 0.4), inset -1.7px -1.7px 1px -1px rgba(38, 38, 38, 0.5), inset 0 0 0 1px rgba(166, 166, 166, 0.4), inset 0 0 7px 0 rgba(242, 242, 242, 0.35), 0 1px 7px 0 rgba(0, 0, 0, 0.15)"},asset:{src:"/vertical/cosmic-jam-asset.png",width:1761,height:1174,className:"bottom-[-10%] right-[-12%] w-[56%]"}},{logoClassName:"h-6 w-[101px]",buttonStyle:{background:"rgba(35, 121, 82, 0.45)",backdropFilter:"blur(5px)",WebkitBackdropFilter:"blur(5px)",boxShadow:"inset 1.2px 1.2px 1px -0.5px rgba(255, 255, 255, 0.4), inset -1.7px -1.7px 1px -1px rgba(38, 38, 38, 0.5), inset 0 0 0 1px rgba(166, 166, 166, 0.4), inset 0 0 7px 0 rgba(242, 242, 242, 0.35), 0 1px 7px 0 rgba(0, 0, 0, 0.15)"},gradient:"linear-gradient(130.07deg, #054E43 1.19%, rgba(6, 80, 86, 0.24) 70.44%, rgba(7, 68, 63, 0) 104.8%)"},{logoClassName:"h-6 w-[114px]",buttonStyle:{background:"rgba(119, 104, 36, 0.45)",backdropFilter:"blur(5px)",WebkitBackdropFilter:"blur(5px)",boxShadow:"inset 1.2px 1.2px 1px -0.5px rgba(255, 255, 255, 0.4), inset -1.7px -1.7px 1px -1px rgba(38, 38, 38, 0.5), inset 0 0 0 1px rgba(166, 166, 166, 0.4), inset 0 0 7px 0 rgba(242, 242, 242, 0.35), 0 1px 7px 0 rgba(0, 0, 0, 0.15)"},gradient:"linear-gradient(130.07deg, rgba(0, 0, 0, 0.6) 1.19%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.15) 104.8%)"},{logoClassName:"h-6 w-[128px]",buttonStyle:{background:"rgba(36, 8, 84, 0.45)",backdropFilter:"blur(5px)",WebkitBackdropFilter:"blur(5px)",boxShadow:"inset 1.2px 1.2px 1px -0.5px rgba(255, 255, 255, 0.4), inset -1.7px -1.7px 1px -1px rgba(38, 38, 38, 0.5), inset 0 0 0 1px rgba(166, 166, 166, 0.4), inset 0 0 7px 0 rgba(242, 242, 242, 0.35), 0 1px 7px 0 rgba(0, 0, 0, 0.15)"},gradient:"linear-gradient(130.07deg, #5B0568 1.19%, rgba(75, 13, 93, 0.24) 70.44%, rgba(255, 255, 255, 0) 104.8%)"},{logoClassName:"h-6 w-[158px]",buttonStyle:{background:"rgba(84, 20, 8, 0.45)",backdropFilter:"blur(5px)",WebkitBackdropFilter:"blur(5px)",boxShadow:"inset 1.2px 1.2px 1px -0.5px rgba(255, 255, 255, 0.4), inset -1.7px -1.7px 1px -1px rgba(38, 38, 38, 0.5), inset 0 0 0 1px rgba(166, 166, 166, 0.4), inset 0 0 7px 0 rgba(242, 242, 242, 0.35), 0 1px 7px 0 rgba(0, 0, 0, 0.15)"}}],g=[{name:"Wellture",logoSrc:"/vertical/artboard/wellture-logo.svg",backgroundSrc:"/vertical/wellture.png",description:"A small team, real traction, one year. Wellture is what going all in looks like: health, fitness, and sleep, rebuilt around AI.",thumbnails:p,moreLabel:"+8 more",buttonText:"Discover Wellture",link:"https://www.linkedin.com/company/wellture-ai"},{name:"Wishlabs",logoSrc:"/vertical/artboard/wishlabs-logo.svg",backgroundSrc:"/vertical/wishlabs.png",description:"Wishlabs brings visual AI into everyday life. Retake, built on a proprietary model, leads a 10+ app portfolio with 150M+ downloads worldwide.",thumbnails:p,moreLabel:"+8 more",buttonText:"Discover Wishlabs",link:"https://www.linkedin.com/company/wishlabs-ai/"},{name:"Sparked",logoSrc:"/vertical/artboard/sparked-logo.svg",backgroundSrc:"/vertical/sparked.png",description:"AI-powered learning across math, study tools, trivia, and skills. Built for people who learn on their own terms.",thumbnails:["/vertical/artboard/artboard4.png","/vertical/artboard/artboard5.png","/vertical/artboard/artboard6.png"],moreLabel:"+8 more",buttonText:"Discover Sparked",link:"https://www.linkedin.com/company/sparkedai/"},{name:"Learna",logoSrc:"/vertical/artboard/learna-logo.svg",backgroundSrc:"/vertical/learna.png",description:"Started as one app with an AI tutor. Now millions of learners worldwide. Belief is language learning isn't a privilege anymore.",thumbnails:["/vertical/artboard/artboard7.png"],buttonText:"Discover Learna",link:"https://www.linkedin.com/company/learnaai"},{name:"Cosmic Jam",logoSrc:"/vertical/artboard/cosmic-jam-logo.svg",backgroundSrc:"/vertical/cosmic-jam.png",description:"Cosmic Jam is our entertainment studio. Scripted vertical drama with real writers, real actors, real crews.",thumbnails:["/vertical/artboard/artboard8.png","/vertical/artboard/artboard9.png"],buttonText:"Discover Cosmic Jam"},{name:"In-Stealth",logoSrc:"/vertical/artboard/in-stealth-logo.svg",backgroundSrc:"/vertical/in-stealth.png",description:"The longest track record in our portfolio. Everyday AI tools: Cleanup since 2020, Chat & Ask AI among the App Store's first chatbot apps.",thumbnails:["/vertical/artboard/artboard10.png","/vertical/artboard/artboard11.png","/vertical/artboard/artboard12.png"],moreLabel:"+8 more",buttonText:"Discover In-Stealth"}];function w({content:e,isMobileViewport:n,presentation:a,index:o}){let s=(0,i.useReducedMotion)(),{asset:l,buttonStyle:c=x,gradient:p,logoClassName:f="h-6 w-auto"}=a;return(0,t.jsxs)(r.motion.div,{className:"relative aspect-auto w-full max-w-[525px] overflow-hidden rounded-[20px] md:aspect-[525/248]",initial:!s&&{opacity:0,y:24},whileInView:s?void 0:{opacity:1,y:0},transition:{duration:n?.5:.55,ease:[.22,1,.36,1],delay:n?0:.06*o},viewport:{once:!0,amount:n?.2:.35},children:[(0,t.jsx)(u.default,{src:e.backgroundSrc,alt:"","aria-hidden":"true",fill:!0,sizes:"(min-width: 1024px) 525px, calc(100vw - 60px)",className:"object-cover"}),(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0",style:{backgroundImage:p??"linear-gradient(130.07deg, rgba(0, 0, 0, 0.4) 1.19%, rgba(0, 0, 0, 0.1) 70.44%, rgba(0, 0, 0, 0) 104.8%)"}}),l?(0,t.jsx)(u.default,{src:l.src,alt:"","aria-hidden":"true",width:l.width,height:l.height,className:`pointer-events-none absolute ${l.className}`}):null,(0,t.jsxs)("div",{className:"relative flex h-full flex-col items-start px-5 pb-[18px] pt-6 text-left md:px-[30px] md:pt-[30px]",children:[e.link?(0,t.jsx)("a",{href:e.link,target:"_blank",rel:"noreferrer","aria-label":`Discover ${e.name}`,className:"pointer-events-auto absolute right-5 top-[30px] flex size-8 items-center justify-center rounded-full border border-white/40 transition-[transform,filter] duration-200 ease-out hover:-translate-y-
4px hover:brightness-110 md:right-[30px]",style:h,children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",viewBox:"0 0 25 25",fill:"none","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M6.64603 18.0421L16.8677 7.85922",stroke:"#E5E5E5",strokeWidth:"2.56066",strokeMiterlimit:"10"}),(0,t.jsx)("path",{d:"M18.7994 19.5799L18.1448 6.79451L18.1426 6.74627C18.1196 6.74517 18.0944 6.74408 18.0944 6.74408L5.30791 6.08842",stroke:"#E5E5E5",strokeWidth:"2.56066",strokeMiterlimit:"10"})]})}):(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute right-5 top-[30px] flex size-8 items-center justify-center rounded-full border border-white/40 md:right-[30px]",style:h,children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",children:[(0,t.jsx)("path",{d:"M6.64603 18.0421L16.8677 7.85922",stroke:"#E5E5E5",strokeWidth:"2.56066",strokeMiterlimit:"10"}),(0,t.jsx)("path",{d:"M18.7994 19.5799L18.1448 6.79451L18.1426 6.74627C18.1196 6.74517 18.0944 6.74408 18.0944 6.74408L5.30791 6.08842",stroke:"#E5E5E5",strokeWidth:"2.56066",strokeMiterlimit:"10"})]})}),(0,t.jsx)(u.default,{src:e.logoSrc,alt:e.name,width:1015,height:214,className:f}),(0,t.jsx)("div",{className:"mt-5 max-w-[282px] text-[14px] font-medium leading-[1.45] tracking-[-0.01em] text-white [&_em]:italic [&_p]:m-0 [&_strong]:font-semibold",children:(0,t.jsx)(d.default,{remarkPlugins:[m.default],children:e.description.split("\n").map(e=>e.replace(/(\*\*|__)([\s\S]*?\S)\s+\1/g,"$1$2$1 ").replace(/([*_])([\s\S]*?\S)\s+\1/g,"$1$2$1 ")).join("\n")})}),(0,t.jsxs)("div",{className:"mt-10 flex w-full items-center justify-between gap-4 md:mt-auto",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-1 md:gap-[6.369px]",children:[e.thumbnails.map(e=>(0,t.jsx)(u.default,{src:e,alt:"","aria-hidden":"true",width:1325,height:1340,className:"h-[28px] w-[28px] rounded-[6.369px] object-cover md:h-[38.234px] md:w-[38.234px]"},e)),e.moreLabel?(0,t.jsx)("span",{className:"text-[12px] font-medium leading-[22px] text-white md:text-[12px]",children:e.moreLabel}):null]}),(0,t.jsx)("span",{className:"inline-flex h-[30px] w-fit shrink-0 items-center justify-center rounded-[79.654px] border border-white/40 px-3 py-1 text-[12px] font-semibold leading-5 tracking-[-0.18px] text-[#D7D7D7] md:text-[14px]",style:c,children:e.buttonText})]})]})]})}function b({isMobileViewport:e=!1}){let{data:n}=(0,s.usePageQuery)(l.Pages.HOMEPAGE),r=n.pageHome?.theVerticalsSection,i=r?.cards?.flatMap((e,t)=>{let n=g[t],r=e.name?.trim()||n?.name,i=e.logo?.url??n?.logoSrc,a=e.background?.url??n?.backgroundSrc;if(!r||!i||!a)return[];let o=e.thumbnails?.map(e=>e.url).filter(e=>e.length>0)??[];return[{name:r,logoSrc:i,backgroundSrc:a,description:e.description?.trim()||n?.description||"",thumbnails:o.length>0?o:n?.thumbnails??[],...e.moreLabel?.trim()?{moreLabel:e.moreLabel.trim()}:{},buttonText:e.buttonText?.trim()||n?.buttonText||"",...e.link?.trim()?{link:e.link.trim()}:{}}]})??[],a=i.length>0?i:g;return(0,t.jsxs)("section",{id:"the-verticals",className:"relative w-full overflow-hidden text-white",children:[(0,t.jsx)("div",{className:"relative z-10 flex flex-col items-center px-5 py-[80px] lg:py-[96px]",children:(0,t.jsx)("div",{className:"mx-auto grid w-full max-w-[1080px] grid-cols-1 justify-items-center gap-6 md:gap-[30px] min-[1024px]:grid-cols-2",children:a.map((n,r)=>(0,t.jsx)(w,{content:n,isMobileViewport:e,presentation:f[r]??{},index:r},`${n.name}-${r}`))})}),(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-0 bottom-0 z-0 h-64 bg-[linear-gradient(180deg,transparent_0%,#000_100%)] md:h-96"})]})}let v={kicker:"We are not a one-product company.",title:"We're six focused verticals\nand *one shared HQ.*",text:"Inside every vertical, a shared playbook. Product turns ideas into businesses.\nGrowth and Creative take them to the top of the charts.\nAI and Engineering donât enable. They build at the core.",highlightedText:"Small teams, whole game, plugged into the HQ engine."};e.s(["Verticalization",0,function(){let{data:e}=(0,s.usePageQuery)(l.Pages.HOMEPAGE),d=(0,i.useReducedMotion)()??!1,u=e.pageHome?.verticalizationIntro,m={kicker:u?.kicker?.trim()??"",title:u?.title?.trim()??"",text:u?.text?.trim()??"",highlightedText:u?.highlightedText?.trim()??""},p=Object.values(m).every(Boolean)?m:v,x=p.kicker,h=p.title,f=p.text,g=p.highlightedText,w=(0,c.splitLines)(h),y=0,j=w.map(e=>{let t=(0,c.parseAccentSegments)(e,c.ITALIC_ACCENT_PATTERN),n=t.filter(e=>e.accent).length,r=n>0?0===y?"bg-[linear-gradient(90deg,#FF5457_8.17%,#CC4677_69.71%,#B61832_100%)]":"bg-[linear-gradient(90deg,#4E69C0_0%,#95A6FF_36.06%,#F2E5FF_100%)]":null;return y+=n,{line:e,segments:t,accentGradient:r}}),k=(0,c.splitLines)(f),N={once:!0,amount:.45},S={once:!0,amount:.25}
4,_=(0,n.useRef)(null),[A,F]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=window.matchMedia("(max-width: 767px)"),t=()=>F(e.matches);return t(),e.addEventListener("change",t),()=>{e.removeEventListener("change",t)}},[]);let{scrollYProgress:E}=(0,a.useScroll)({target:_,offset:["start end","start start"]}),C=(0,o.useTransform)(E,[0,.85,1],[48,24,0]),M={scale:(0,o.useTransform)(E,[0,.55,1],[.92,1,1]),transformOrigin:"top center",borderTopLeftRadius:C,borderTopRightRadius:C};return(0,t.jsxs)("div",{ref:_,"data-navbar-background":"#030814",className:"relative z-10",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-1/2 top-0 z-0 h-screen w-screen -translate-x-1/2 bg-no-repeat [transform:scaleY(-1)]",style:{backgroundImage:"url(/3-sentence-section-bg.png)",backgroundPosition:"center bottom",backgroundSize:"100% auto"}}),(0,t.jsxs)(r.motion.div,{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 overflow-hidden",style:M,children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[#030814]"}),(0,t.jsx)("div",{className:"absolute inset-x-0 top-0 aspect-[1440/5271] bg-[url('/combined-verticals-bg.png')] bg-top bg-no-repeat max-md:-top-[140px] max-md:aspect-[402/874] max-md:bg-[url('/vertical/verticalization-intro-bg.png')] max-md:[mask-image:linear-gradient(180deg,#000_calc(100%-240px),transparent_100%)]",style:{backgroundSize:"100% auto"}})]}),(0,t.jsx)(r.motion.div,{className:"relative z-10 overflow-clip",style:M,children:(0,t.jsxs)("div",{className:"relative z-10 text-white",id:"verticalization-intro",children:[(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(r.motion.section,{className:"z-10 mx-auto flex w-full max-w-[1440px] flex-col items-center justify-center overflow-hidden px-5 py-[80px] text-center md:px-10 lg:py-[96px] xl:min-h-screen",children:(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-[1080px] flex-col items-center text-center",children:[(0,t.jsx)(r.motion.p,{className:"text-[clamp(1.25rem,1.05rem+1vw,2rem)] font-medium leading-[1.2] tracking-[-0.02em] text-[#D4D4D4] max-md:text-[20px]",initial:!d&&{opacity:0,y:16},whileInView:d?void 0:{opacity:1,y:0},viewport:N,transition:{duration:.5,ease:[.22,1,.36,1]},children:x}),(0,t.jsx)("h2",{className:"mt-6 text-[clamp(2rem,1.5rem+2.5vw,3.5rem)] font-medium leading-[1.08] tracking-[-0.02em] text-white max-md:mx-auto max-md:w-full max-md:max-w-[306px] max-md:text-[32px] md:mt-7",children:j.map(({line:e,segments:i,accentGradient:a},o)=>(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)(r.motion.span,{className:`block max-md:inline ${a?`${a} bg-clip-text text-transparent`:""}`,initial:!d&&{opacity:0,y:28,filter:"blur(6px)"},whileInView:d?void 0:{opacity:1,y:0,filter:"blur(0px)"},viewport:N,transition:{duration:.62,delay:.14+.12*o,ease:[.22,1,.36,1]},children:i.map((e,r)=>e.accent?(0,t.jsx)("span",{className:"font-medium",children:e.text},r):a?(0,t.jsx)("span",{className:"bg-none text-white [-webkit-text-fill-color:#fff]",children:e.text},r):(0,t.jsx)(n.Fragment,{children:e.text},r))},`${e}-${o}`),o<w.length-1&&(0,t.jsx)("span",{className:"md:hidden",children:" "})]},`${e}-${o}`))}),(0,t.jsx)(r.motion.p,{className:"mt-8 text-[clamp(1rem,0.85rem+0.75vw,1.375rem)] font-medium leading-[1.5] tracking-[-0.01em] text-[#949DAC] max-md:mx-auto max-md:mt-6 max-md:w-full max-md:max-w-[306px] md:mt-9",initial:!d&&{opacity:0,y:20},whileInView:d?void 0:{opacity:1,y:0},viewport:{once:!0,amount:.28},transition:{duration:.56,delay:.4,ease:[.22,1,.36,1]},children:k.map((e,r)=>(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)("span",{className:"block first:[text-shadow:0_2px_16px_rgba(3,8,20,0.9)] max-md:inline max-md:text-balance",children:e}),r<k.length-1&&(0,t.jsx)("span",{className:"md:hidden",children:" "})]},`${e}-${r}`))}),(0,t.jsxs)(r.motion.div,{className:"mt-12 flex max-w-[calc(100vw-2rem)] flex-col items-center rounded-full bg-[#DA003E] px-[16px] pb-2 pt-1.5 text-center text-[clamp(1rem,0.85rem+0.75vw,1.25rem)] font-medium italic leading-[1.3] text-white max-md:w-[63.433vw] max-md:max-w-[255px] max-md:text-[13.355px] md:mt-20 md:px-8 md:pb-2.5 md:pt-2",initial:!d&&{opacity:0,y:16,scale:.96},whileInView:d?void 0:{opacity:1,y:0,scale:1},viewport:S,transition:{duration:.5,delay:.48,ease:[.22,1,.36,1]},children:[(0,t.jsx)("span",{className:"underline md:hidden",children:g}),(0,t.jsxs)("span",{className:"hidden flex-col items-stretch md:inline-flex",children:[(0,t.jsx)("span",{children:g}),(0,t.jsx)(r.motion.span,{"aria-hidden":"true",className:"mt-0.5 block h-[2px] w-full origin-left bg-white",initial:!d&&{scaleX:0},whileInView:d?void 0:{scaleX:1},viewport:S,transition:{duration:.48,delay:1.02,ease:[.22,1,.36,1]}})]})]})]})})}),(0,t.jsx)("div",{className:"relative z-20",children:(0,t.jsx)(b,{isMobileViewport:A})})]})})]})}],89765)}]);
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.