1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="96d073f1-a43c-9543-111f-53a4a8601ec5")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,136103,589576,947427,529147,562883,441663,100853,835462,14819,930076,606959,957941,272515,263183,575198,10205,338642,e=>{"use strict";var t=e.i(405680),a=e.i(982472),s=e.i(35259),l=e.i(335798),r=e.i(484272);function i({image:e,aspect:a="aspect-[4/3]",className:s}){return e?.videoSrc?(0,t.jsx)("video",{src:e.videoSrc,poster:e.poster,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,"aria-label":e.alt,className:(0,r.cn)("w-full rounded-[20px] object-cover",a,s,e.className)}):e?.src?(0,t.jsx)("img",{src:e.src,alt:e.alt,loading:e.loading??"lazy",decoding:"async",className:(0,r.cn)("w-full rounded-[20px] object-cover",a,s,e.className)}):(0,t.jsx)("div",{role:"img","aria-label":e?.alt??"",className:(0,r.cn)("w-full rounded-[20px] bg-[#d9d9d9]",a,s,e?.className)})}function n(){let e=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(!e.current||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let t=s.gsap.context(()=>{s.gsap.utils.toArray("[data-slice-reveal]").forEach((e,t)=>{let a="scale"===e.dataset.sliceReveal;s.gsap.fromTo(e,a?{opacity:0,scale:.96,y:24}:{opacity:0,y:28},{opacity:1,scale:1,y:0,duration:a?.8:.65,ease:"power2.out",delay:t%4*.08,scrollTrigger:{trigger:e,start:"top 92%",toggleActions:"play none none reverse"}})})},e);return()=>t.revert()},[]),e}function d({children:e,className:a,innerClassName:s,...l}){return(0,t.jsx)("section",{className:(0,r.cn)("px-6 md:px-16",a),...l,children:(0,t.jsx)("div",{className:(0,r.cn)("mx-auto max-w-[1320px]",s),children:e})})}s.gsap.registerPlugin(l.ScrollTrigger),e.s(["SliceMedia",0,i,"SliceShell",0,d,"useSliceReveal",0,n],589576);var c=e.i(162),o=e.i(174467),x=e.i(60446);e.s(["HeroSlice",0,function({topSlot:e,eyebrow:a,title:s,body:l,promptPlaceholder:m,promptCta:p,promptSideCta:u,primaryCta:g,secondaryCta:h,image:f,media:b,footSlot:j,className:v}){let N=n(),y=!!(m||p),w=!y&&!!(g||h);return(0,t.jsx)(d,{className:(0,r.cn)("bg-background py-16 md:py-24 lg:py-[120px]",v),children:(0,t.jsxs)("div",{ref:N,className:(0,r.cn)("flex flex-col items-center gap-12 lg:flex-row lg:justify-between lg:gap-16",y&&"lg:items-start"),children:[(0,t.jsxs)("div",{className:"flex w-full max-w-[537px] shrink-0 flex-col items-center gap-12 text-center md:gap-16 lg:items-start lg:gap-[80px] lg:text-left",children:[(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex flex-col items-center gap-6 md:gap-[40px] lg:items-start",children:[e,a&&(0,t.jsx)("span",{className:"inline-flex w-fit items-center rounded-full border border-border bg-muted px-3 py-1 text-sm text-muted-foreground",children:a}),(0,t.jsx)("h1",{className:"font-heading text-5xl leading-[1.05] text-[#161616] [text-box-edge:cap_alphabetic] [text-box-trim:trim-both] md:text-6xl lg:text-[72px] lg:leading-[1.01]",children:s}),l&&(0,t.jsx)("p",{className:(0,r.cn)("text-lg leading-[normal] text-[#161616] [text-box-edge:cap_alphabetic] [text-box-trim:trim-both] md:text-[20px]",y?"max-w-[425px]":"w-full"),children:l})]}),y&&(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex w-full flex-col items-center gap-3 sm:flex-row lg:items-center",children:[(0,t.jsxs)("div",{className:"group relative mx-auto flex w-full max-w-[440px] items-center gap-2 rounded-xl border border-border p-2 md:p-2.5 lg:mx-0",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"relative min-w-0 flex-1 pl-1",children:m&&(0,t.jsxs)("span",{className:"flex items-center truncate text-sm tracking-tight text-muted-foreground md:text-[15px]",children:[m,(0,t.jsx)("span",{className:"ml-0.5 inline-block h-4 w-px animate-pulse bg-muted-foreground/50"})]})}),p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"flex size-8 shrink-0 items-center justify-center rounded-xl bg-foreground text-background transition-colors group-hover:bg-foreground
2/90 md:size-9",children:(0,t.jsx)(x.ArrowUp,{className:"size-4"})}),(0,t.jsx)(c.default,{href:p.href,rel:p.rel,onClick:p.onClick,"aria-label":p.label,className:"absolute inset-0 rounded-xl outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50"})]})]}),u&&(0,t.jsx)(c.default,{href:u.href,rel:u.rel,onClick:u.onClick,className:"shrink-0 cursor-pointer",children:(0,t.jsx)(o.Button,{className:"h-[52px] rounded-xl bg-[#161616] px-6 text-sm font-medium text-white hover:bg-[#161616]/90 md:h-[56px]",children:u.label})})]}),w&&(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex flex-wrap items-center justify-center gap-[12px] lg:justify-start",children:[g&&(0,t.jsx)(c.default,{href:g.href,rel:g.rel,onClick:g.onClick,children:(0,t.jsx)(o.Button,{className:"h-[32px] min-w-[140px] rounded-[12px] bg-[#161616] px-5 text-[12px] font-medium text-white hover:bg-[#161616]/90",children:g.label})}),h&&(0,t.jsx)(c.default,{href:h.href,rel:h.rel,onClick:h.onClick,children:(0,t.jsx)(o.Button,{variant:"outline",className:"h-[32px] min-w-[140px] rounded-[12px] border-[#d9d9d9] bg-white px-5 text-[12px] font-medium text-[#161616] hover:bg-muted",children:h.label})})]}),j&&(0,t.jsx)("div",{"data-slice-reveal":!0,children:j})]}),(0,t.jsx)("div",{"data-slice-reveal":"scale",className:(0,r.cn)("w-full min-w-0",y?"lg:max-w-[647px]":"lg:max-w-[537px]"),children:b??(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(i,{image:f,aspect:y?"aspect-[4/3] lg:aspect-[647/537]":"aspect-square",className:"bg-[#d9d9d9]"})})})]})})}],947427),e.s(["CenteredHeroSlice",0,function({icon:e,title:a,body:s,primaryCta:l,secondaryCta:i,className:x}){let m=n();return(0,t.jsx)(d,{className:(0,r.cn)("bg-background py-16 md:py-24 lg:py-[120px]",x),children:(0,t.jsxs)("div",{ref:m,className:"flex flex-col items-center gap-8 text-center md:gap-[40px]",children:[e&&(0,t.jsx)("div",{"data-slice-reveal":"scale","aria-hidden":"true",className:"flex items-center justify-center text-foreground",children:e}),(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex w-full max-w-[537px] flex-col items-center gap-6 md:gap-[40px]",children:[(0,t.jsx)("h1",{className:"w-full font-heading text-5xl leading-[1.05] text-[#161616] [text-box-edge:cap_alphabetic] [text-box-trim:trim-both] md:text-6xl lg:text-[72px] lg:leading-[1.01]",children:a}),s&&(0,t.jsx)("p",{className:"w-full text-lg leading-[normal] text-[#161616] [text-box-edge:cap_alphabetic] [text-box-trim:trim-both] md:text-[20px]",children:s})]}),(l||i)&&(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex flex-wrap items-center justify-center gap-[12px]",children:[l&&(0,t.jsx)(c.default,{href:l.href,rel:l.rel,onClick:l.onClick,children:(0,t.jsx)(o.Button,{className:"h-[32px] w-[140px] rounded-[12px] bg-[#161616] px-0 text-[12px] font-medium text-white hover:bg-[#161616]/90",children:l.label})}),i&&(0,t.jsx)(c.default,{href:i.href,rel:i.rel,onClick:i.onClick,children:(0,t.jsx)(o.Button,{variant:"outline",className:"h-[32px] w-[140px] rounded-[12px] border-[#d9d9d9] bg-white px-0 text-[12px] font-medium text-[#161616] hover:bg-muted",children:i.label})})]})]})})}],529147),e.s(["LogoStripSlice",0,function({heading:e="Trusted by the worlds smartest companies",logos:a,className:s}){let l=n();return(0,t.jsx)(d,{className:(0,r.cn)("bg-background py-16 md:py-[120px]",s),children:(0,t.jsxs)("div",{ref:l,className:"flex flex-col items-center gap-10",children:[(0,t.jsx)("p",{"data-slice-reveal":!0,className:"[text-box:trim-both_cap_alphabetic] text-center text-base leading-normal text-foreground",children:e}),(0,t.jsx)("div",{className:"flex w-full flex-wrap items-center justify-center gap-x-6 gap-y-4 lg:flex-nowrap",children:a.map(e=>(0,t.jsx)("div",{"data-slice-reveal":!0,className:"flex h-12 items-center justify-center px-4 md:h-[66px] lg:flex-1 lg:px-0",children:e.src?(0,t.jsx)("img",{src:e.src,alt:e.name,className:"h-7 w-auto max-w-[160px] object-contain opacity-60 grayscale md:h-8"}):(0,t.jsx)("span",{className:"whitespace-nowrap text-xl font-semibold tracking-tight text-[#bdbdbd] md:text-[27px]",children:e.name})},e.name))})]})})}],562883),e.s(["ShowcaseSlice",0,function({eyebrow:e,title:a,body:s,tabs:l,image:c,media:o,className:x}){let m=n();return(0,t.jsx)(d,{className:(0,r.cn)("bg-background py-16 md:py-[120px]",x),innerClassName:"max-w-[1094px]",children:(0,t.jsxs)("div",{ref:m,className:"flex flex-col items-center gap-8 md:gap-10",children:[(0,t.jsxs)("div",{className:"flex w-full max-w-[438px] flex-col items-center gap-12 md:gap-20",children:[(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex w-full flex-col items-center gap-6 text-center md:gap-12",children:[e&&(0,t.jsx)("p",{className:"text-sm font-medium uppercase tracking-wide text-muted-foreground",children:e}),(0,t.jsx)("h2",{className:"[text-box:trim-both_cap_alphabetic] font-heading text-4xl font-light leading-[1.05] text-foreground sm:text-5xl md:text-6xl md:leading-[1.01] lg:text-[64px]",children:a}),s&&(0,t.jsx)("p",{className:"[text-box:trim-both_cap_alphabetic] text-lg leading-[normal] text-foreground md:text-xl",children:s})]}),l&&l.length>0&&(0,t.jsx)("div",{"data-slice-reveal":!0,className:"flex flex-wrap justify-center gap-2",children:l.map(e=>(0,t.jsxs)("span",{className:"inline-flex items-center justify-center gap-1.5 rounded-[12px] border border-[#d9d9d9] bg-background px-4 py-2 text-xs font-medium leading-none text-foreground transition-colors hover:bg-muted [&_svg]:size-[14.5px] [&_svg]:shrink-0",children:[e.icon&&(0,t.jsx)("span",{"aria-hidden":!0,
2className:"flex items-center text-foreground",children:e.icon}),e.label]},e.label))})]}),(0,t.jsx)("div",{"data-slice-reveal":"scale",className:"w-full",children:o??(0,t.jsx)(i,{image:c,aspect:"aspect-[16/9]"})})]})})}],441663),e.s(["FeatureCardsSlice",0,function({title:e,body:a,cards:s,columns:l=3,className:x}){let m=n();return(0,t.jsx)(d,{className:(0,r.cn)("bg-background px-6 py-16 md:px-[61px] md:py-[120px]",x),children:(0,t.jsxs)("div",{ref:m,className:"flex flex-col gap-14 md:gap-20",children:[(e||a)&&(0,t.jsxs)("div",{className:"mx-auto flex max-w-[438px] flex-col items-center gap-8 text-center md:gap-12",children:[e&&(0,t.jsx)("h2",{"data-slice-reveal":!0,className:"font-heading text-4xl leading-[1.01] text-[#161616] [text-box:trim-both_cap_alphabetic] md:text-5xl lg:text-[64px]",children:e}),a&&(0,t.jsx)("p",{"data-slice-reveal":!0,className:"w-full text-lg leading-normal text-[#161616] [text-box:trim-both_cap_alphabetic] md:text-xl",children:a})]}),(0,t.jsx)("div",{className:(0,r.cn)("grid gap-5 sm:grid-cols-2",4===l?"lg:grid-cols-4":"lg:grid-cols-3"),children:s.map(e=>(0,t.jsxs)("article",{"data-slice-reveal":!0,className:"flex flex-col gap-8 md:gap-10",children:[(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-6 md:gap-8",children:[e.media?(0,t.jsx)("div",{className:"w-full",children:e.media}):e.image?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(i,{image:e.image,aspect:"aspect-square",className:"bg-background"})}):e.icon?(0,t.jsx)("div",{className:"text-[#161616] [&_svg]:size-12 [&_svg]:stroke-1 md:[&_svg]:size-16",children:e.icon}):null,(0,t.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,t.jsx)("h3",{className:"text-lg leading-[normal] text-[#161616] [text-box:trim-both_cap_alphabetic] md:text-xl",children:e.title}),(0,t.jsx)("p",{className:"text-base leading-[1.48] text-[#161616] [text-box:trim-both_cap_alphabetic]",children:e.body})]})]}),e.cta&&(0,t.jsx)(c.default,{href:e.cta.href,rel:e.cta.rel,onClick:e.cta.onClick,className:"w-fit",children:(0,t.jsx)(o.Button,{variant:"outline",className:"h-8 w-[140px] rounded-[12px] border-[#d9d9d9] bg-background px-0 text-xs font-medium text-[#161616] hover:bg-muted",children:e.cta.label})})]},e.title))})]})})}],100853),e.s(["SplitFeatureSlice",0,function({title:e,body:a,bullets:s,primaryCta:l,secondaryCta:m,image:p,media:u,mediaSide:g="left",className:h}){let f=n();return(0,t.jsx)(d,{className:(0,r.cn)("bg-[#fafafa] py-16 md:py-[120px]",h),children:(0,t.jsx)("div",{ref:f,className:"mx-auto max-w-[1094px]",children:(0,t.jsxs)("div",{className:"grid lg:grid-cols-2",children:[(0,t.jsx)("div",{"data-slice-reveal":"scale",className:(0,r.cn)("relative min-h-[280px] rounded-t-[20px] sm:min-h-[360px] lg:min-h-0 lg:h-[438px]","right"===g?"lg:order-2 lg:rounded-t-none lg:rounded-r-[20px]":"lg:rounded-t-none lg:rounded-l-[20px]"),children:u??(0,t.jsx)(i,{image:p,aspect:"h-full",className:"absolute inset-0 w-full rounded-[inherit] bg-[#d9d9d9]"})}),(0,t.jsxs)("div",{className:(0,r.cn)("flex flex-col justify-center gap-6 rounded-b-[20px] bg-white px-6 py-10 md:gap-10 md:px-[60px] md:py-[70px] lg:h-[438px]","right"===g?"lg:order-1 lg:rounded-b-none lg:rounded-l-[20px]":"lg:rounded-b-none lg:rounded-r-[20px]"),children:[(0,t.jsx)("h2",{"data-slice-reveal":!0,className:"font-heading text-3xl leading-[1.01] text-[#161616] [text-box:trim-both_cap_alphabetic] md:text-4xl lg:text-[48px]",children:e}),a&&(0,t.jsx)("p",{"data-slice-reveal":!0,className:"max-w-[418px] text-base leading-[1.48] text-[#161616] [text-box:trim-both_cap_alphabetic]",children:a}),s&&s.length>0&&(0,t.jsx)("ul",{"data-slice-reveal":!0,className:"flex flex-col gap-3",children:s.map(e=>(0,t.jsxs)("li",{className:"flex items-start gap-2 text-sm leading-6 text-muted-foreground",children:[(0,t.jsx)(x.CheckCircle2,{className:"mt-0.5 size-4 shrink-0 text-[#161616]"}),(0,t.jsx)("span",{children:e})]},e))}),(l||m)&&(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex flex-wrap items-center gap-3",children:[l&&(0,t.jsx)(c.default,{href:l.href,rel:l.rel,onClick:l.onClick,children:(0,t.jsx)(o.Button,{className:"h-8 w-[140px] rounded-[12px] bg-[#161616] px-0 text-xs font-medium text-white hover:bg-[#161616]/90",children:l.label})}),m&&(0,t.jsx)(c.default,{href:m.href,rel:m.rel,onClick:m.onClick,children:(0,t.jsx)(o.Button,{variant:"outline",className:"h-8 w-[140px] rounded-[12px] border-[#d9d9d9] bg-white px-0 text-xs font-medium text-[#161616] hover:bg-muted",children:m.label})})]})]})]})})})}],835462),e.s(["StickyScrollSlice",0,function({title:e,blocks:a,image:s,media:l,className:c}){let o=n();return(0,t.jsx)(d,{className:(0,r.cn)("bg-background px-6 py-16 md:px-[62px] md:py-[120px]",c),children:(0,t.jsxs)("div",{ref:o,children:[e&&(0,t.jsx)("h2",{"data-slice-reveal":!0,className:"mx-auto mb-14 max-w-[720px] text-center font-heading text-3xl leading-[1.01] text-[#161616] [text-box:trim-both_cap_alphabetic] md:mb-20 md:text-5xl",children:e}),(0,t.jsxs)("div",{className:"grid gap-12 lg:grid-cols-[minmax(0,438px)_minmax(0,648px)] lg:justify-between lg:gap-8",children:[(0,t.jsx)("div",{className:"lg:order-2",children:(0,t.jsx)("div",{className:"lg:sticky lg:top-28",children:(0,t.jsx)("div",{"data-slice-reveal":"scale",className:"w-full",children:l??(0,t.jsx)(i,{image:s,aspect:"aspect-[648/519]",className:"rounded-[24px] bg-[#d9d9d9]"})})})}),(0,t.jsx)("div",{className:"flex flex-col gap-16 lg:order-1 lg:gap-40",children:a.map(e=>(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex max-w-[438px] flex-col gap-5 md:gap-8",children:[(0,t.jsx)("h3",{className:"font-heading text-2xl leading-[1.01] text-[#161616] [text-box:trim-both_cap_alphabetic] md:text-[32px]",children:e.title}),(0,t.jsx)("p",{className:"max-w-[418px] text-base leading-[1.48] text-[#161616] [text-box:trim-both_cap_alphabetic]",children:e.body})]},e.title))})]})]})})}],14819),e.s(["CtaBandSlice",0,function({title:e,body:a,cta:s,className:l}){let i=n();return(0,t.jsx)(d,{className:(0,r.cn)("bg-background py-[62px] md:px-[62px]",l),innerClassName:"max-w-[1316px]",children:(0,t.jsxs)("div",{ref:i,className:"flex flex-col items-center gap-10 rounded-[20px] border border-[#d9d9d9] bg-[#fafafa] px-6 py-20 text-center md:px-16 md:py-[120px]",children:[(0,t.jsx)("h2",{"data-slice-reveal":!0,className:"max-w-[568px] font-heading text-4xl leading-[1.01] text-[#161616] [text-box-edge:cap_alphabetic] [text-box-trim:trim-both] md:text-[48px]",children:e}),a&&(0,t.jsx)("p",{"data-slice-reveal":!0,className:"max-w-[568px] text-base leading-[1.48] text-[#161616]",children:a}),(0,t.jsx)("div",{"data-slice-reveal":!0,children:(0,t.jsx)(c.default,{href:s.href,rel:s.rel,onClick:s.onClick,children:(0,t.jsx)(o.Button,{className:"h-8 w-[140px] rounded-[12px] bg-[#161616] p-0 text-[12px] font-medium text-white hover:bg-[#161616]/90",children:s.label})})})]})})}],930076),e.s(["IconColumnsSlice",0,function({heading:e,items:a,className:s}){let l=n();return(0,t.jsx)(d,{className:(0,r.cn)("bg-[#fafafa] py-[62px] md:px-[62px]",s),innerClassName:"max-w-[1316px]",children:(0,t.jsxs)("div",{ref:l,className:"flex flex-col gap-[53px]",children:[e&&(0,t.jsx)("p",{"data-slice-reveal":!0,className:"text-[20px] leading-normal text-[#161616] [text-box-edge:cap_alphabetic] [text-box-trim:trim-both]",children:e}),(0,t.jsx)("div",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-4",children:a.map(e=>(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex flex-col gap-5 overflow-hidden rounded-[20px] border border-[#d9d9d9] bg-white p-6",children:[e.icon&&(0,t.jsx)("div",{className:"flex h-[66px] w-[67px] items-center text-[#161616] [&_svg]:size-14 [&_svg]:stroke-1",children:e.icon}),(0,t.jsx)("p",{className:"text-[20px] leading-normal text-[#161616] [text-box-edge:cap_alphabetic] [text-box-trim:trim-both]",children:e.title}),(0,t.jsx)("p",{className:"text-[16px] leading-[1.48] text-[#161616] [text-box-edge:cap_alphabetic] [text-box-trim:trim-both]",children:e.body})]},e.title))})]})})}],606959),e.s(["AlternatingSlice",0,function({title:e,body:a,rows:s,alternate:l,className:c}){let o=n();return(0,t.jsx)(d,{className:(0,r.cn)("bg-background py-[62px]",c),innerClassName:"max-w-[1094px]",children:(0,t.jsxs)("div",{ref:o,className:"flex flex-col gap-14 md:gap-20",children:[(e||a)&&(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6 text-center",children:[e&&(0,t.jsx)("h2",{"data-slice-reveal":!0,className:"w-full font-heading text-4xl leading-[1.01] text-[#161616] [text-box-edge:cap_alphabetic] [text-box-trim:trim-both] md:text-[48px]",children:e}),a&&(0,t.jsx)("p",{"data-slice-reveal":!0,className:"max-w-[640px] text-[16px] leading-[1.48] text-[#161616]",children:a})]}),(0,t.jsx)("div",{className:"flex flex-col gap-16 lg:gap-10",children:s.map((e,a)=>(0,t.jsxs)("div",{className:(0,r.cn)("flex flex-col gap-8 lg:flex-row lg:items-center lg:gap-[119px]",l&&a%2==1&&"lg:flex-row-reverse"),children:[(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex flex-col gap-6 md:gap-8 lg:w-[438px] lg:shrink-0",children:[(0,t.jsx)("h3",{className:"font-heading text-2xl leading-[1.01] text-[#161616] [text-box-edge:cap_alphabetic] [text-box-trim:trim-both] md:text-[32px]",children:e.title}),(0,t.jsx)("div",{className:"flex flex-col gap-4 lg:max-w-[418px]",children:e.body.split(/\n{2,}/).map(e=>(0,t.jsx)("p",{className:"text-[16px] leading-[1.48] text-[#161616] [text-box-edge:cap_alphabetic] [text-box-trim:trim-both]",children:e},e))})]}),(0,t.jsx)("div",{"data-slice-reveal":"scale",className:"min-w-0 flex-1",children:e.media??(0,t.jsx)(i,{image:e.image,aspect:"aspect-square",className:"rounded-[19.634px] bg-[#d9d9d9]"})})]},e.title))})]})})}],957941),e.s(["FaqSlice",0,function({title:e="Frequently asked questions",faqs:a,className:s}){let l=n();return 0===a.length?null:(0,t.jsx)(d,{className:(0,r.cn)("bg-muted py-16 md:py-24",s),children:(0,t.jsxs)("div",{ref:l,className:"grid gap-10 lg:grid-cols-[0.7fr_1.3fr] lg:gap-16",children:[(0,t.jsx)("h2",{"data-slice-reveal":!0,className:"font-heading text-3xl leading-[1.05] tracking-tight text-foreground md:text-4xl",children:e}),(0,t.jsx)("div",{className:"flex flex-col divide-y divide-border",children:a.map(e=>(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex flex-col gap-2 py-5 first:pt-0",children:[(0,t.jsx)("h3",{className:"text-base font-semibold text-foreground md:text-lg",children:e.question}),(0,t.jsx)("p",{className:"text-base leading-[1.55] text-muted-foreground",children:e.answer})]},e.question))})]})})}],272515),e.s(["QuoteSlice",0,function({quote:e,name:a,role:s,className:l}){let i=n();return(0,t.jsx)(d,{className:(0,r.cn)("bg-background py-20 md:py-[140px]",l),children:(0,t.jsxs)("figure",{ref:i,className:"flex flex-col items-center gap-10 text-center md:gap-14",children:[(0,t.jsxs)("blockquote",{"data-slice-reveal":!0,className:"max-w-[900px] font-heading text-3xl leading-[1.15] tracking-tight text-foreground md:text-4xl lg:text-[44px]",children:["â",e,"â"]}),(a||s)&&(0,t.jsxs)("figcaption",{"data-slice-reveal":!0,className:"flex flex-col items-center gap-4",children:[a&&(0,t.jsx)("span",{"aria-hidden":!0,
2className:"size-12 rounded-full bg-[#e4e4e2]"}),(0,t.jsxs)("span",{className:"flex flex-col gap-0.5",children:[a&&(0,t.jsx)("span",{className:"text-base font-medium text-foreground",children:a}),s&&(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:s})]})]})]})})}],263183),s.gsap.registerPlugin(l.ScrollTrigger),e.s(["StatsSlice",0,function({heading:e,stats:l,className:i}){let c=n();return(0,a.useEffect)(()=>{let e=c.current;if(!e||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let t=s.gsap.context(()=>{s.gsap.utils.toArray("[data-stat-value]").forEach(e=>{let t=e.dataset.statValue??"",a=t.match(/^([^0-9]*)([0-9][0-9.,]*)(.*)$/);if(!a)return;let[,l,r,i]=a,n=parseFloat(r.replace(/,/g,""));if(!Number.isFinite(n))return;let d=r.includes(".")?r.split(".")[1]?.length??0:0,c=r.includes(","),o={value:0};s.gsap.to(o,{value:n,duration:1.4,ease:"power2.out",scrollTrigger:{trigger:e,start:"top 92%",once:!0},onUpdate:()=>{let t=o.value.toLocaleString("en-US",{minimumFractionDigits:d,maximumFractionDigits:d,useGrouping:c});e.textContent=`${l}${t}${i}`},onComplete:()=>{e.textContent=t}})})},e);return()=>{t.revert(),e.querySelectorAll("[data-stat-value]").forEach(e=>{e.textContent=e.dataset.statValue??e.textContent})}},[c]),(0,t.jsx)(d,{className:(0,r.cn)("bg-background py-16 md:py-[120px]",i),children:(0,t.jsxs)("div",{ref:c,className:"flex flex-col gap-12 md:gap-16",children:[e&&(0,t.jsx)("h2",{"data-slice-reveal":!0,className:"mx-auto max-w-[720px] text-center font-heading text-3xl leading-[1.05] tracking-tight text-foreground md:text-4xl lg:text-5xl",children:e}),(0,t.jsx)("div",{className:(0,r.cn)("grid gap-12 text-center sm:grid-cols-2 md:gap-8",3===l.length?"lg:grid-cols-3":"lg:grid-cols-4"),children:l.map(e=>(0,t.jsxs)("div",{"data-slice-reveal":!0,className:"flex flex-col items-center gap-3 md:gap-4",children:[(0,t.jsx)("p",{"data-stat-value":e.value,className:"font-heading text-6xl leading-none tracking-tight text-foreground md:text-7xl lg:text-[80px]",children:e.value}),(0,t.jsx)("p",{className:"max-w-[240px] text-base leading-[1.48] text-muted-foreground",children:e.label})]},`${e.value}-${e.label}`))})]})})}],575198),s.gsap.registerPlugin(l.ScrollTrigger),e.s(["StickyScrollAltSlice",0,function({title:e,blocks:c,className:o}){let x=n();return(0,a.useEffect)(()=>{let e=x.current;if(!e)return;let t=window.matchMedia("(prefers-reduced-motion: reduce)").matches,a=s.gsap.context(()=>{let e=s.gsap.utils.toArray("[data-sticky-layer]"),a=s.gsap.utils.toArray("[data-sticky-block]");if(e.length<2||a.length!==e.length)return;let r=0,i=a=>{a!==r&&(r=a,e.forEach((e,l)=>{s.gsap.to(e,{opacity:+(l===a),duration:.45*!t,ease:"power2.out",overwrite:"auto"})}))};a.forEach((e,t)=>{l.ScrollTrigger.create({trigger:e,start:"top 55%",end:"bottom 45%",onEnter:()=>i(t),onEnterBack:()=>i(t)})})},e);return()=>a.revert()},[x]),(0,t.jsx)(d,{className:(0,r.cn)("bg-background py-16 md:py-[120px]",o),children:(0,t.jsxs)("div",{ref:x,children:[e&&(0,t.jsx)("h2",{"data-slice-reveal":!0,className:"mx-auto mb-14 max-w-[720px] text-center font-heading text-3xl leading-[1.05] tracking-tight text-foreground md:mb-20 md:text-5xl",children:e}),(0,t.jsxs)("div",{className:"grid gap-12 lg:grid-cols-[0.9fr_1.1fr] lg:gap-20",children:[(0,t.jsx)("div",{className:"lg:order-2",children:(0,t.jsx)("div",{className:"lg:sticky lg:top-0 lg:flex lg:h-screen lg:items-center",children:(0,t.jsx)("div",{"data-slice-reveal":"scale",className:"relative w-full",children:c.map((e,a)=>(0,t.jsx)("div",{"data-sticky-layer":!0,className:(0,r.cn)(a>0&&"absolute inset-0 opacity-0"),children:e.media??(0,t.jsx)(i,{image:e.image,aspect:"aspect-[5/4]",className:"rounded-[24px]"})},e.title))})})}),(0,t.jsx)("div",{className:"flex flex-col gap-16 lg:order-1 lg:gap-40 lg:py-16",children:c.map(e=>(0,t.jsxs)("div",{"data-sticky-block":!0,"data-slice-reveal":!0,className:"flex max-w-[440px] flex-col gap-5 md:gap-8",children:[(0,t.jsx)("h3",{className:"font-heading text-2xl leading-[1.05] tracking-tight text-foreground md:text-[32px]",children:e.title}),(0,t.jsx)("p",{className:"text-base leading-[1.48] text-foreground",children:e.body})]},e.title))})]})]})})}],10205),e.s(["LinkCardsSlice",0,function({heading:e,cards:a,className:s}){let l=n();return(0,t.jsx)(d,{className:(0,r.cn)("bg-muted py-16",s),children:(0,t.jsxs)("div",{ref:l,className:"flex flex-col gap-10 md:gap-12",children:[e&&(0,t.jsx)("p",{"data-slice-reveal":!0,className:"text-xl text-foreground",children:e}),(0,t.jsx)("div",{className:"grid gap-5 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5",children:a.map(e=>{let a=e.label.split(" "),s=a.pop(),l=a.length>0?`${a.join(" ")} `:"";return(0,t.jsxs)(c.default,{href:e.href,rel:e.rel,onClick:e.onClick,"data-slice-reveal":!0,className:"group flex flex-col gap-6 rounded-[20px] border border-border bg-background p-6 transition-colors hover:bg-background/60",children:[e.icon&&(0,t.jsx)("div",{className:"flex h-20 items-center text-foreground [&_svg]:size-16 [&_svg]:stroke-1",children:e.icon}),(0,t.jsxs)("span",{className:"text-base leading-snug text-foreground",children:[l,(0,t.jsxs)("span",{className:"whitespace-nowrap",children:[s,"Â ",(0,t.jsx)(x.ArrowRight,{"aria-hidden":!0,
2className:"inline size-4 align-[-2px] transition-transform group-hover:translate-x-0.5"})]})]})]},e.label)})})]})})}],338642),e.s([],136103)},838676,e=>{"use strict";var t=e.i(405680),a=e.i(982472),s=e.i(60446),l=e.i(484272);let r=[{type:"document",title:"Q4 Marketing Strategy",id:"doc-1"},{type:"database",title:"Campaign Tracker",id:"db-1"},{type:"document",title:"Team Standup Notes",id:"doc-2"}],i=[{type:"document",title:"Meeting Notes",id:"doc-3"},{type:"database",title:"Project Tasks",id:"db-2"}],n=[{type:"document",title:"Company Wiki",id:"doc-5"},{type:"document",title:"Design Brief",id:"doc-6"},{type:"database",title:"Customer CRM",id:"db-3"}],d=[{role:"user",text:"Summarize our top-performing campaigns and suggest where to increase budget."},{role:"assistant",text:"Based on your Campaign Tracker, here's the breakdown:\n\n**Email Launch** has the highest ROI at 340% â it's your clear winner. I'd recommend reallocating $2k from Social Ads (lowest performer at 120%) to scale email outreach.\n\nThe **Webinar** series is also strong at 210% ROI. Consider doubling down there with a follow-up series.\n\nThe Blog Series is still in draft â once published, it could complement the email funnel and drive organic traffic."}],c=["Campaign","Status","Budget","ROI"],o=[["Email Launch","Active","$12,000","+340%"],["Social Ads","Paused","$8,000","+120%"],["Blog Series","Draft","$3,000","--"],["Webinar","Active","$5,000","+210%"],["Referral Program","Active","$2,500","+180%"]],x={"doc-1":{title:"Q4 Marketing Strategy",blocks:[{id:"b1",type:"heading",text:"Key Objectives",level:2},{id:"b2",type:"paragraph",text:"This quarter we're focusing on three key initiatives to drive growth across all channels and increase our market presence."},{id:"b3",type:"list",text:"Increase organic traffic by 40% through SEO optimization"},{id:"b4",type:"list",text:"Launch automated email nurture sequence for new signups"},{id:"b5",type:"list",text:"Ship product demo video and distribute across channels"},{id:"b6",type:"paragraph",text:"Budget allocation will be reviewed in the weekly sync. The marketing team should prepare quarterly projections by Friday."},{id:"b7",type:"heading",text:"Timeline",level:2},{id:"b8",type:"paragraph",text:"Phase 1 launches in the first two weeks. Phase 2 runs through mid-quarter with a final review at the end of November."}]},"doc-2":{title:"Team Standup Notes",blocks:[{id:"sn1",type:"heading",text:"Monday Standup â Dec 9"},{id:"sn2",type:"paragraph",text:"All hands present. Sprint velocity is tracking at 42 points, up from 38 last week."},{id:"sn3",type:"heading",text:"Blockers"},{id:"sn4",type:"list",text:"API rate limiting issue affecting staging â Alex investigating"},{id:"sn5",type:"list",text:"Design handoff for mobile v2 delayed until Wednesday"},{id:"sn6",type:"heading",text:"Wins"},{id:"sn7",type:"list",text:"Customer portal search shipped to 100% of users"},{id:"sn8",type:"list",text:"Onboarding funnel conversion up 12% after copy changes"}]},"doc-3":{title:"Meeting Notes",blocks:[{id:"mn1",type:"heading",text:"Product Sync â Dec 6"},{id:"mn2",type:"paragraph",text:"Discussed roadmap priorities for Q1. Mobile app and API platform are the top two bets."},{id:"mn3",type:"list",text:"Mobile app: target 10K MAU in first 90 days post-launch"},{id:"mn4",type:"list",text:"API platform: finalize pricing tiers by end of December"},{id:"mn5",type:"list",text:"Customer portal: push launch to March to avoid holiday rush"},{id:"mn6",type:"paragraph",text:"Action items assigned in Tasks. Follow-up sync scheduled for Dec 13."}]},"doc-5":{title:"Company Wiki",blocks:[{id:"cw1",type:"heading",text:"About Acme Corp"},{id:"cw2",type:"paragraph",text:"Acme Corp builds productivity tools for modern teams. Founded in 2022, we're a team of 12 based in San Francisco."},{id:"cw3",type:"heading",text:"Team Structure"},{id:"cw4",type:"list",text:"Engineering (5): Alex (lead), Jordan, Sam, Taylor, Morgan"},{id:"cw5",type:"list",text:"Marketing (4): Riley (lead), Casey, Quinn, Drew"},{id:"cw6",type:"list",text:"Design (2): Jamie (lead), Avery"},{id:"cw7",type:"list",text:"Operations (1): Reese"},{id:"cw8",type:"heading",text:"Values"},{id:"cw9",type:"list",text:"Ship fast, iterate faster"},{id:"cw10",type:"list",text:"Default to transparency"}]},"doc-6":{title:"Design Brief",blocks:[{id:"db1",type:"heading",text:"Mobile App v2 â Design Brief"},{id:"db2",type:"paragraph",text:"Redesign the mobile experience to improve task completion rate and reduce time-to-insight."},{id:"db3",type:"heading",text:"Goals"},{id:"db4",type:"list",text:"Reduce average session time from 4.2min to under 2min"},{id:"db5",type:"list",text:"Increase daily active usage by 25%"},{id:"db6",type:"list",text:"Support offline document viewing"},{id:"db7",type:"heading",text:"Constraints"},{id:"db8",type:"paragraph",text:"Must support iOS 16+ and Android 13+. Design system tokens must stay in sync with web."}]}},m={"db-1":{title:"Campaign Tracker",columns:c,rows:o},"db-2":{title:"Project Tasks",columns:["Task","Status","Assignee","Due"],rows:[["Finalize Q4 budget","Active","Riley","Dec 12"],["API docs update","Active","Alex","Dec 15"],["Mobile wireframes","Active","Jamie","Dec 18"],["Blog post draft","Draft","Casey","Dec 20"],["Security audit","Paused","Jordan","Jan 5"],["Onboarding flow v2","Active","Avery","Dec 22"]]},"db-3":{title:"Customer CRM",columns:["Company","Plan","MRR","Health"],rows:[["TechFlow Inc.","Enterprise","$4,200","Good"],["DataPipe Co.","Pro","$2,800","Good"],["Nexus Labs","Pro","$1,500","At Risk"],["CloudBase","Starter","$800","Churned"],["InnovateCo","Enterprise","$3,100","Good"],["StartupXYZ","Starter","$0","Prospect"]]}},p=[{id:"home",icon:s.Home,label:"Home"},{id:"chat",icon:s.MessageSquare,label:"Conversations"},{id:"tasks",icon:s.CheckSquare,label:"Tasks"}];function u({title:e,items:r,activeItemId:i,onItemClick:n,defaultExpanded:d=!0}){let[c,o]=(0,a.useState)(d);return(0,t.jsxs)("div",{className:"mb-0.5",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>
2o(!c),className:"flex items-center gap-1 px-2 py-1 w-full text-[10px] font-medium uppercase tracking-wider text-muted-foreground hover:text-foreground transition-colors",children:[(0,t.jsx)(s.ChevronRight,{className:(0,l.cn)("size-2.5 transition-transform duration-150",c&&"rotate-90")}),e]}),c&&(0,t.jsx)("div",{className:"space-y-px pl-1",children:r.map(e=>{let a=i===e.id,r="document"===e.type?s.FileText:s.Database;return(0,t.jsxs)("button",{type:"button",onClick:()=>n(e),className:(0,l.cn)("flex items-center gap-2 rounded-md px-2 py-[5px] text-[11px] w-full text-left transition-colors",a?"bg-muted text-foreground font-medium":"text-foreground/60 hover:bg-muted/40 hover:text-foreground"),children:[(0,t.jsx)(r,{className:"size-3.5 shrink-0 text-muted-foreground"}),(0,t.jsx)("span",{className:"truncate",children:e.title})]},e.id)})})]})}function g(){return(0,t.jsxs)("div",{className:"mb-0.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1 px-2 py-1 text-[10px] font-medium uppercase tracking-wider text-muted-foreground",children:[(0,t.jsx)(s.ChevronRight,{className:"size-2.5 rotate-90"}),"Quick Access"]}),(0,t.jsx)("div",{className:"space-y-px pl-1",children:[{icon:s.Folder,label:"All Folders"},{icon:s.FileText,label:"All Documents"},{icon:s.Database,label:"All Databases"},{icon:s.PenTool,label:"All Whiteboards"}].map(({icon:e,label:a})=>(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-md px-2 py-[5px] text-[11px] text-foreground/60",children:[(0,t.jsx)(e,{className:"size-3.5 shrink-0 text-muted-foreground"}),(0,t.jsx)("span",{className:"truncate",children:a})]},a))})]})}function h({activeView:e,activeItemId:a,onViewChange:s}){return(0,t.jsxs)("div",{className:"w-[220px] border-r border-border bg-background/50 flex-col shrink-0 hidden sm:flex overflow-hidden",children:[(0,t.jsx)("div",{className:"px-3 py-3 shrink-0",children:(0,t.jsx)("span",{className:"text-xs font-semibold text-foreground",children:"Workspace"})}),(0,t.jsx)("div",{className:"px-2 mb-2 space-y-px shrink-0",children:p.map(({id:a,icon:r,label:i})=>{let n=a===e,d="home"===a||"chat"===a||"tasks"===a;return(0,t.jsxs)("button",{type:"button",onClick:()=>d&&s(a),className:(0,l.cn)("flex items-center gap-2 rounded-md px-2 py-[5px] text-[11px] w-full text-left transition-colors",n?"bg-muted text-foreground font-medium":d?"text-foreground/60 hover:bg-muted/40 hover:text-foreground cursor-pointer":"text-foreground/40 cursor-default"),children:[(0,t.jsx)(r,{className:"size-3.5 shrink-0"}),(0,t.jsx)("span",{children:i})]},a)})}),(0,t.jsx)("div",{className:"h-px bg-border mx-3 mb-2 shrink-0"}),(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto scrollbar-minimal px-1",children:[(0,t.jsx)(u,{title:"Recent",items:r,activeItemId:a,onItemClick:e=>s(e.type,e.id)}),(0,t.jsx)(u,{title:"Personal",items:i,activeItemId:a,onItemClick:e=>s(e.type,e.id)}),(0,t.jsx)(u,{title:"Workspace",items:n,activeItemId:a,onItemClick:e=>s(e.type,e.id)}),(0,t.jsx)(g,{})]})]})}e.i(384898);var f=e.i(343778);function b({onSendMessage:e}){let[l,r]=(0,a.useState)("");return(0,t.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center px-8",children:[(0,t.jsx)(f.WyattFrog,{size:56,mode:"idle",direction:"center"}),(0,t.jsx)("h3",{className:"font-heading text-2xl md:text-[35px] leading-[1.01] text-foreground mt-4 mb-8",children:"Hi, how can I help you?"}),(0,t.jsxs)("form",{onSubmit:t=>{t.preventDefault();let a=l.trim();a&&e&&e(a)},className:"w-full max-w-[420px] border border-border rounded-xl p-2 flex items-center gap-2",children:[(0,t.jsx)("input",{type:"text",value:l,onChange:e=>r(e.target.value.slice(0,200)),placeholder:"Ask Wyatt anything...",className:"flex-1 bg-transparent text-sm text-foreground outline-none placeholder:text-muted-foreground pl-1"}),(0,t.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,t.jsx)("div",{className:"size-7 rounded-lg flex items-center justify-center text-muted-foreground/50",children:(0,t.jsx)(s.Paperclip,{className:"size-3.5"})}),(0,t.jsx)("div",{className:"size-7 rounded-lg flex items-center justify-center text-muted-foreground
2/50",children:(0,t.jsx)(s.Globe,{className:"size-3.5"})})]}),(0,t.jsx)("button",{type:"submit",disabled:!l.trim(),className:"size-7 rounded-lg bg-foreground flex items-center justify-center transition-opacity disabled:opacity-30",children:(0,t.jsx)(s.ArrowUp,{className:"size-3.5 text-background"})})]})]})}function j({block:e}){return"heading"===e.type?(0,t.jsx)("h2",{className:"text-[15px] font-semibold text-foreground leading-snug",children:e.text}):"list"===e.type?(0,t.jsxs)("div",{className:"flex items-baseline gap-2.5 pl-1",children:[(0,t.jsx)("span",{className:"text-muted-foreground select-none shrink-0 text-xs",children:"â¢"}),(0,t.jsx)("span",{className:"flex-1 leading-relaxed text-[13px] text-foreground/85",children:e.text})]}):(0,t.jsx)("p",{className:"leading-relaxed text-[13px] text-foreground/85",children:e.text})}function v({itemId:e}){let l=e&&x[e]||x["doc-1"],[r,i]=(0,a.useState)(l.blocks);(0,a.useEffect)(()=>{i(l.blocks)},[l.blocks]);let n=(0,a.useRef)(null),[d,c]=(0,a.useState)(null),o=(0,a.useRef)([]),m=(0,a.useCallback)((e,t)=>{e.preventDefault(),e.target.setPointerCapture(e.pointerId),n.current={index:t,startY:e.clientY,currentY:e.clientY},c({fromIdx:t,toIdx:t})},[]),p=(0,a.useCallback)(e=>{if(!n.current)return;n.current.currentY=e.clientY;let t=o.current;for(let a=0;a<t.length;a++){let s=t[a];if(!s)continue;let l=s.getBoundingClientRect(),r=l.top+l.height/2;if(e.clientY<r)return void c(e=>e?{...e,toIdx:a}:null)}c(e=>e?{...e,toIdx:t.length-1}:null)},[]),u=(0,a.useCallback)(()=>{if(!n.current||!d){n.current=null,c(null);return}let{fromIdx:e,toIdx:t}=d;e!==t&&i(a=>{let s=[...a],[l]=s.splice(e,1);return s.splice(t>e?t-1:t,0,l),s}),n.current=null,c(null)},[d]);return(0,t.jsx)("div",{className:"flex-1 overflow-y-auto scrollbar-minimal",onPointerMove:p,onPointerUp:u,children:(0,t.jsxs)("div",{className:"max-w-2xl mx-auto py-6 px-4 sm:px-8",children:[(0,t.jsx)("h1",{className:"mb-5 text-xl font-heading font-medium text-foreground",children:l.title}),(0,t.jsx)("div",{className:"space-y-px",children:r.map((e,a)=>{let l=d?.fromIdx===a,r=null!==d&&d.fromIdx!==d.toIdx&&d.toIdx===a;return(0,t.jsxs)("div",{ref:e=>{o.current[a]=e},className:`group relative flex items-start py-[3px] rounded transition-all ${l?"opacity-30 scale-[0.98]":""}`,children:[r&&(0,t.jsx)("div",{className:"absolute -top-px left-6 right-0 h-0.5 bg-primary rounded-full"}),(0,t.jsx)("div",{className:"w-6 shrink-0 flex items-center justify-center pt-0.5 opacity-0 group-hover:opacity-50 transition-opacity cursor-grab active:cursor-grabbing select-none touch-none",onPointerDown:e=>m(e,a),children:(0,t.jsx)(s.GripVertical,{className:"size-3.5 text-muted-foreground"})}),(0,t.jsx)("div",{className:"flex-1 min-w-0",children:(0,t.jsx)(j,{block:e})})]},e.id)})})]})})}function N({text:e}){return(0,t.jsx)("div",{className:"flex py-1.5 justify-end",children:(0,t.jsx)("div",{className:"px-3 py-2 rounded-tl-2xl rounded-tr-2xl rounded-bl-2xl bg-muted text-foreground max-w-[85%]",children:(0,t.jsx)("p",{className:"whitespace-pre-wrap leading-relaxed text-sm",children:e})})})}function y({text:e,isTyping:a}){return(0,t.jsxs)("div",{className:"flex py-1.5 justify-start gap-2",children:[(0,t.jsx)("div",{className:"shrink-0 mt-1",children:(0,t.jsx)(f.WyattFrog,{size:20,mode:a?"reading":"idle"})}),(0,t.jsx)("div",{className:"px-1 py-1 max-w-[90%]",children:(0,t.jsxs)("div",{className:"leading-relaxed text-sm text-foreground whitespace-pre-wrap",children:[e.split("\n").map((e,a)=>(0,t.jsxs)("span",{children:[a>0&&(0,t.jsx)("br",{}),e.split(/(\*\*[^*]+\*\*)/).map((e,a)=>e.startsWith("**")&&e.endsWith("**")?(0,t.jsx)("strong",{children:e.slice(2,-2)},a):e)]},a)),a&&(0,t.jsx)("span",{className:"inline-block w-px h-4 bg-foreground ml-0.5 animate-pulse"})]})})]})}function w(){let e=d[1].text,[l,r]=(0,a.useState)(""),[i,n]=(0,a.useState)(!0),c=(0,a.useRef)(null);return(0,a.useEffect)(()=>{r(""),n(!0);let t=0,a=setTimeout(()=>{let a=setInterval(()=>{(t+=3)>=e.length?(r(e),n(!1),clearInterval(a)):r(e.slice(0,t))},25);return()=>clearInterval(a)},400);return()=>clearTimeout(a)},[e]),(0,a.useEffect)(()=>{c.current?.scrollTo({top:c.current.scrollHeight,behavior:"smooth"})},[l]),(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[(0,t.jsx)("div",{ref:c,className:"flex-1 overflow-y-auto scrollbar-minimal px-4",children:(0,t.jsxs)("div",{className:"max-w-lg mx-auto py-4 space-y-2",children:[(0,t.jsx)(N,{text:d[0].text}),(0,t.jsx)(y,{text:l,isTyping:i})]})}),(0,t.jsx)("div",{className:"px-4 pb-3",children:(0,t.jsxs)("div",{className:"max-w-lg mx-auto border border-border rounded-xl px-3 py-2 flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-xs text-muted-foreground flex-1",children:"Send a message..."}),(0,t.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,t.jsx)(s.Paperclip,{className:"size-3.5 text-muted-foreground
2/40"}),(0,t.jsx)(s.Globe,{className:"size-3.5 text-muted-foreground/40"})]}),(0,t.jsx)("div",{className:"size-5 rounded-md bg-foreground/50 flex items-center justify-center",children:(0,t.jsx)(s.ArrowUp,{className:"size-3 text-background"})})]})})]})}var k=e.i(138066);function C({text:e}){return(0,t.jsx)("div",{className:"flex py-1.5 justify-end",children:(0,t.jsx)("div",{className:"px-3 py-2 rounded-tl-2xl rounded-tr-2xl rounded-bl-2xl bg-muted text-foreground max-w-[85%]",children:(0,t.jsx)("p",{className:"whitespace-pre-wrap leading-relaxed text-sm",children:e})})})}function S({text:e,isTyping:a}){return(0,t.jsxs)("div",{className:"flex py-1.5 justify-start gap-2",children:[(0,t.jsx)("div",{className:"shrink-0 mt-1",children:(0,t.jsx)(f.WyattFrog,{size:20,mode:a?"reading":"idle"})}),(0,t.jsx)("div",{className:"px-1 py-1 max-w-[90%]",children:(0,t.jsxs)("div",{className:"leading-relaxed text-sm text-foreground whitespace-pre-wrap",children:[e.split("\n").map((e,a)=>(0,t.jsxs)("span",{children:[a>0&&(0,t.jsx)("br",{}),e.split(/(\*\*[^*]+\*\*)/).map((e,a)=>e.startsWith("**")&&e.endsWith("**")?(0,t.jsx)("strong",{children:e.slice(2,-2)},a):e)]},a)),a&&(0,t.jsx)("span",{className:"inline-block w-px h-4 bg-foreground ml-0.5 animate-pulse"})]})})]})}function A({initialMessage:e}){let[l,r]=(0,a.useState)([{role:"user",content:e}]),[i,n]=(0,a.useState)(""),[d,c]=(0,a.useState)(!1),[o,x]=(0,a.useState)(""),m=(0,a.useRef)(null),p=(0,a.useRef)(!1),u=l.filter(e=>"user"===e.role).length,g=u>=3&&!d,h=(0,a.useCallback)(async e=>{c(!0),x("");try{let t=await fetch("/api/demo-chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:e.map(e=>({role:e.role,content:e.content}))})});if(!t.ok||!t.body)throw Error("Failed");let a=t.body.getReader(),s=new TextDecoder,l="",i="";for(;;){let{done:e,value:t}=await a.read();if(e)break;let r=(l+=s.decode(t,{stream:!0})).split("\n");for(let e of(l=r.pop(),r)){if(!e.startsWith("data: "))continue;let t=e.slice(6).trim();if("[DONE]"!==t)try{let e=JSON.parse(t),a=e.choices?.[0]?.delta?.content;a&&(i+=a,x(i))}catch{}}}r(e=>[...e,{role:"assistant",content:i||"I couldn't generate a response."}])}catch{r(e=>[...e,{role:"assistant",content:"The demo chat isn't available right now. Sign up to try the full experience!"}])}finally{c(!1),x("")}},[]);return(0,a.useEffect)(()=>{p.current||(p.current=!0,h(l))},[]),(0,a.useEffect)(()=>{m.current?.scrollTo({top:m.current.scrollHeight,behavior:"smooth"})},[l,o]),(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[(0,t.jsx)("div",{ref:m,className:"flex-1 overflow-y-auto scrollbar-minimal px-4",children:(0,t.jsxs)("div",{className:"max-w-lg mx-auto py-4 space-y-2",children:[l.map((e,a)=>"user"===e.role?(0,t.jsx)(C,{text:e.content},a):(0,t.jsx)(S,{text:e.content,isTyping:!1},a)),d&&(0,t.jsx)(S,{text:o,isTyping:!0})]})}),(0,t.jsx)("div",{className:"px-4 pb-3",children:g?(0,t.jsx)("div",{className:"max-w-lg mx-auto text-center py-2",children:(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Demo limit reached â"," ",(0,t.jsx)("a",{href:"/login?intent=signup&next=/home",className:"text-primary hover:underline font-medium",onClick:()=>(0,k.trackLandingSignupClick)({cta_id:"demo_limit_signup",destination_url:"/login?intent=signup&next=/home",page_key:"home",page_path:"/"}),children:"sign up"})," ","for unlimited conversations"]})}):(0,t.jsxs)("form",{onSubmit:e=>{e.preventDefault();let t=i.trim();if(!t||d||u>=3||t.length>200)return;let a=[...l,{role:"user",content:t}];n(""),r(a),h(a)},className:"max-w-lg mx-auto border border-border rounded-xl px-3 py-2 flex items-center gap-2",children:[(0,t.jsx)("input",{type:"text",value:i,onChange:e=>n(e.target.value.slice(0,200)),placeholder:"Send a message...",disabled:d,className:"flex-1 bg-transparent text-xs text-foreground outline-none placeholder:text-muted-foreground disabled:opacity-50"}),(0,t.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,t.jsx)(s.Paperclip,{className:"size-3.5 text-muted-foreground/40"}
2),(0,t.jsx)(s.Globe,{className:"size-3.5 text-muted-foreground/40"})]}),(0,t.jsx)("button",{type:"submit",disabled:d||!i.trim(),className:"size-5 rounded-md bg-foreground/50 hover:bg-foreground flex items-center justify-center transition-colors disabled:opacity-30",children:(0,t.jsx)(s.ArrowUp,{className:"size-3 text-background"})})]})})]})}let _={Active:"bg-emerald-100 text-emerald-700",Good:"bg-emerald-100 text-emerald-700",Paused:"bg-amber-100 text-amber-700","At Risk":"bg-amber-100 text-amber-700",Churned:"bg-red-100 text-red-700",Draft:"bg-muted text-muted-foreground",Prospect:"bg-blue-100 text-blue-700",Enterprise:"bg-violet-100 text-violet-700",Pro:"bg-blue-100 text-blue-700",Starter:"bg-muted text-muted-foreground"};function z({value:e}){let a=_[e];return a?(0,t.jsx)("span",{className:`inline-block rounded-full px-2 py-0.5 text-[10px] font-medium ${a}`,children:e}):(0,t.jsx)(t.Fragment,{children:e})}function T({itemId:e}){let r=e&&m[e]||{title:"Campaign Tracker",columns:c,rows:o},[i,n]=(0,a.useState)(null),[d,x]=(0,a.useState)(null),[p,u]=(0,a.useState)(!0),g=(0,a.useMemo)(()=>Array.from(new Set(r.rows.map(e=>e[1]))),[r.rows]),h=(0,a.useMemo)(()=>{let e=r.rows;return i&&(e=e.filter(e=>e[1]===i)),null!==d&&(e=[...e].sort((e,t)=>{let a=e[d],s=t[d],l=a.localeCompare(s,void 0,{numeric:!0});return p?l:-l})),e},[r.rows,i,d,p]);return(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[(0,t.jsx)("div",{className:"border-b border-border px-4 py-2.5 shrink-0",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(s.Database,{className:"size-4 text-foreground"}),(0,t.jsx)("h2",{className:"text-sm font-semibold text-foreground",children:r.title})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>{if(i){let e=g.indexOf(i);e<g.length-1?n(g[e+1]):n(null)}else n(g[0]??null)},className:(0,l.cn)("flex items-center gap-1 rounded-md px-2 py-1 text-[10px] transition-colors",i?"bg-primary/10 text-primary font-medium":"text-muted-foreground hover:bg-muted"),children:[(0,t.jsx)(s.Filter,{className:"size-3"}),(0,t.jsx)("span",{children:i??"Filter"}),i&&(0,t.jsx)("span",{role:"button",onClick:e=>{e.stopPropagation(),n(null)},className:"ml-0.5",children:(0,t.jsx)(s.X,{className:"size-2.5"})})]}),(0,t.jsxs)("button",{type:"button",onClick:()=>{null===d?(x(0),u(!0)):p?u(!1):(x(null),u(!0))},className:(0,l.cn)("flex items-center gap-1 rounded-md px-2 py-1 text-[10px] transition-colors",null!==d?"bg-primary/10 text-primary font-medium":"text-muted-foreground hover:bg-muted"),children:[(0,t.jsx)(s.ArrowUpDown,{className:"size-3"}),(0,t.jsx)("span",{children:null!==d?`${r.columns[d]} ${p?"AâZ":"ZâA"}`:"Sort"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1 rounded-md px-2 py-1 text-[10px] text-primary font-medium hover:bg-primary/10 transition-colors cursor-default",children:[(0,t.jsx)(s.Plus,{className:"size-3"}),(0,t.jsx)("span",{children:"New"})]})]})]})}),(0,t.jsx)("div",{className:"flex-1 overflow-auto scrollbar-minimal",children:(0,t.jsxs)("table",{className:"w-full text-xs",children:[(0,t.jsx)("thead",{children:(0,t.jsx)("tr",{className:"border-b border-border bg-muted/30",children:r.columns.map((e,a)=>(0,t.jsxs)("th",{onClick:()=>{x(a),u(d!==a||!p)},className:"text-foreground/70 h-8 px-3 text-left align-middle font-medium whitespace-nowrap text-[11px] uppercase tracking-wider cursor-pointer hover:text-foreground transition-colors select-none",children:[e,d===a&&(0,t.jsx)("span",{className:"ml-1 text-primary",children:p?"â":"â"})]},e))})}),(0,t.jsxs)("tbody",{children:[h.map((e,a)=>(0,t.jsx)("tr",{className:"border-b border-border/50 hover:bg-muted/50 transition-colors",children:e.map((e,a)=>(0,t.jsx)("td",{className:"px-3 py-2.5 align-middle whitespace-nowrap text-foreground/80",children:(0,t.jsx)(z,{value:e})},a))},a)),0===h.length&&(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:r.columns.length,className:"px-3 py-6 text-center text-muted-foreground text-[11px]",children:"No rows match the filter"})}
2),(0,t.jsx)("tr",{className:"text-muted-foreground/40 hover:text-muted-foreground/60 transition-colors cursor-default",children:(0,t.jsxs)("td",{className:"px-3 py-2 flex items-center gap-1",children:[(0,t.jsx)(s.Plus,{className:"size-3"}),(0,t.jsx)("span",{className:"text-[11px]",children:"New row"})]})})]})]})})]})}let D=[{id:"t1",title:"Finalize Q4 marketing budget",status:"open",priority:"high",due:"Tomorrow"},{id:"t2",title:"Review campaign performance report",status:"open",due:"Friday"},{id:"t3",title:"Send partner outreach emails",status:"open",priority:"medium"},{id:"t4",title:"Update landing page copy",status:"open"},{id:"t5",title:"Set up analytics dashboard",status:"done"},{id:"t6",title:"Draft press release for launch",status:"done"}];function I({task:e,onToggle:a}){let r="done"===e.status;return(0,t.jsxs)("div",{className:(0,l.cn)("group flex items-start gap-3 px-3 py-2.5 rounded-lg border transition-all",r?"bg-background border-border/40 opacity-60":"bg-background border-border hover:shadow-sm"),children:[(0,t.jsx)("button",{type:"button",onClick:a,className:(0,l.cn)("mt-0.5 shrink-0 transition-all",r?"text-muted-foreground":"text-muted-foreground/50 hover:text-foreground hover:scale-110"),children:r?(0,t.jsx)(s.CheckCircle2,{className:"size-4 stroke-[1.5]"}):(0,t.jsx)(s.Circle,{className:"size-4 stroke-[1.5]"})}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("p",{className:(0,l.cn)("text-[13px]",r&&"line-through text-muted-foreground"),children:e.title}),!r&&(e.priority||e.due)&&(0,t.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:["high"===e.priority&&(0,t.jsx)(s.Flag,{className:"size-3 text-red-500"}),"medium"===e.priority&&(0,t.jsx)(s.Flag,{className:"size-3 text-amber-500"}),e.due&&(0,t.jsxs)("span",{className:"flex items-center gap-1 text-[10px] text-muted-foreground",children:[(0,t.jsx)(s.Calendar,{className:"size-2.5"}),e.due]})]})]})]})}function P(){let[e,s]=(0,a.useState)(D),l=e=>{s(t=>t.map(t=>t.id===e?{...t,status:"open"===t.status?"done":"open"}:t))},r=e.filter(e=>"open"===e.status),i=e.filter(e=>"done"===e.status);return(0,t.jsx)("div",{className:"flex-1 overflow-y-auto scrollbar-minimal",children:(0,t.jsxs)("div",{className:"max-w-2xl mx-auto py-6 px-4 sm:px-8",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,t.jsx)("h1",{className:"text-lg font-semibold text-foreground",children:"Tasks"}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-[11px] text-muted-foreground",children:[(0,t.jsxs)("span",{children:[r.length," open"]}),(0,t.jsx)("span",{className:"text-border",children:"|"}),(0,t.jsxs)("span",{children:[i.length," done"]})]})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[r.map(e=>(0,t.jsx)(I,{task:e,onToggle:()=>l(e.id)},e.id)),i.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"text-[10px] font-medium uppercase tracking-wider text-muted-foreground pt-3 pb-1 px-1",children:"Completed"}),i.map(e=>(0,t.jsx)(I,{task:e,onToggle:()=>l(e.id)},e.id))]})]})]})})}let F=[{id:"home",label:"Home",icon:s.Home},{id:"chat",label:"Chat",icon:s.MessageSquare},{id:"tasks",label:"Tasks",icon:s.CheckSquare},{id:"document",label:"Docs",icon:s.FileText},{id:"database",label:"Data",icon:s.Database}];function R({activeView:e,onSelect:a}){return(0,t.jsx)("div",{className:"flex sm:hidden shrink-0 items-center gap-1.5 overflow-x-auto scrollbar-minimal border-b border-border bg-background/50 px-2 py-2",children:F.map(({id:s,label:r,icon:i})=>{let n=s===e;return(0,t.jsxs)("button",{type:"button",onClick:()=>a(s),className:(0,l.cn)("flex shrink-0 items-center gap-1.5 rounded-lg px-3 py-1.5 text-xs font-medium transition-colors",n?"bg-muted text-foreground":"text-foreground/55 hover:bg-muted/50"),children:[(0,t.jsx)(i,{className:"size-3.5"}),r]},s)})})}e.s(["AppMockup",0,function(){let[e,s]=(0,a.useState)("home"),[l,r]=(0,a.useState)(null),[i,n]=(0,a.useState)(null),d=(e,t)=>{s(e),r(t??null),"chat"!==e&&n(null)};return(0,t.jsxs)("div",{className:"border border-border rounded-[20px] bg-background overflow-hidden h-[560px] md:h-[680px] flex flex-col sm:flex-row shadow-sm",children:[(0,t.jsx)(R,{activeView:e,onSelect:d}),(0,t.jsx)(h,{activeView:e,activeItemId:l,onViewChange:d}),(0,t.jsxs)("div",{className:"flex-1 flex flex-col min-w-0 min-h-0 overflow-hidden",children:["home"===e&&(0,t.jsx)(b,{onSendMessage:e=>{n(e),s("chat")}}),"document"===e&&(0,t.jsx)(v,{itemId:l}),"chat"===e&&(i?(0,t.jsx)(A,{initialMessage:i}):(0,t.jsx)(w,{})),"database"===e&&(0,t.jsx)(T,{itemId:l}),"tasks"===e&&(0,t.jsx)(P,{})]})]})}],838676)},424454,e=>{"use strict";e.i(838676),e.s([],424454)},394128,e=>{"use strict";function t(e){let t=5381;for(let a=0;a<e.length;a++)t=33*t+e.charCodeAt(a)>>>0;return t}e.s(["searchLandingRecipe",0,function(e){return t(e.key)%2},"seoPageRecipe",0,function(e){return t(e.path)%4}])}]); 3 4//# debugId=96d073f1-a43c-9543-111f-53a4a8601ec5
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.