1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,48531,e=>{"use strict";var t=e.i(98993),a=e.i(18319),l=e.i(16931);function r(e){let{data:r}=e,[i,n]=(0,a.useState)(!1);if(!r?.text)return null;let{text:s,icon:d,tooltip:o}=r;return(0,t.jsxs)("div",{className:"relative inline-flex items-center justify-center mb-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-[15px] py-[2px] bg-[#161820] border border-[#d8d8d8] rounded-[14px] cursor-pointer mx-auto",onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[(0,t.jsx)("span",{className:"text-neutral-100 font-bold text-lg leading-[1.667em]",children:s}),d&&(0,t.jsx)(l.default,{src:d,className:"w-[22px] h-[22px] invert",width:22,height:22,priority:!0})]}),o&&(o.rating||o.quote||o.image)&&(0,t.jsxs)("div",{className:`absolute left-1/2 -translate-x-1/2 z-10 flex flex-col items-center pt-[5px] top-[40px] transition-opacity duration-200 w-max max-w-[260px] pointer-events-none ${i?"opacity-100":"opacity-0"}`,children:[(0,t.jsx)("div",{className:"w-5 h-5 bg-neutral-100 rotate-45 relative -bottom-[10px]"}),(0,t.jsxs)("div",{className:"bg-neutral-100 rounded-[14px] px-[30px] py-5",children:[o.rating&&(0,t.jsxs)("div",{className:"flex items-center justify-center gap-[5px] mb-[10px]",children:[(0,t.jsx)("strong",{className:"text-black text-sm font-bold",children:o.rating}),o.image&&(0,t.jsx)(l.default,{src:o.image,className:"h-[20px] w-auto",width:18,height:20,priority:!0})]}),o.quote&&(0,t.jsx)("p",{className:"text-black text-center text-sm leading-[1.4em] max-w-[200px] mb-0",children:o.quote})]})]})]})}e.s(["default",()=>r])},25747,e=>{"use strict";var t=e.i(98993),a=e.i(18319),l=e.i(86789),r=e.i(67899),i=e.i(16931),n=e.i(43976),s=e.i(39370);e.i(63705);var d=e.i(34437),o=e.i(86205),c=e.i(57686);let x=(0,l.default)(()=>e.A(83060),{loadableGenerated:{modules:[24974]},ssr:!1}),m={heroLeft:{blur:110,opacity:28,className:"w-full max-w-[44%] min-h-[74%] top-[-80px] left-[-120px] em:left-[-180px]",blobs:[{color:"rgb(105, 35, 255)",className:"w-[70%] min-w-[70%] h-[70%] max-h-[70%] top-0 right-0"},{color:"rgb(254, 49, 111)",className:"w-[70%] min-w-[70%] min-h-[70%] max-h-[70%] bottom-0 right-0"},{color:"rgb(210, 32, 255)",className:"w-[70%] min-w-[70%] min-h-[70%] max-h-[70%] top-0 left-0"}]},heroRight:{blur:110,opacity:22,className:"w-full max-w-[44%] min-h-[74%] top-[40px] right-[-120px] em:right-[-180px]",blobs:[{color:"rgb(105, 35, 255)",className:"w-[70%] min-w-[70%] min-h-[70%] max-h-[70%] top-0 right-0"},{color:"rgb(44, 191, 222)",className:"w-[70%] min-w-[70%] min-h-[70%] max-h-[70%] bottom-0 right-0"},{color:"rgb(105, 35, 255)",className:"w-[70%] min-w-[70%] min-h-[70%] max-h-[70%] top-0 left-0"}]}};function u(e){return!!e?.custom_rich_text&&e.custom_rich_text.some(e=>!!(e.children&&Array.isArray(e.children))&&e.children.some(e=>e.text&&e.text.trim().length>0))}function p(e){let{data:l,locale:p=o.DEFAULT_LOCALE}=e,{topEyebrow:h,title:g,description:f,placeholder:b,loopingPlaceholders:w,attachPopover:v,promptTemplates:j,sendAriaLabel:N,decorations:y,customBackground:k,textTheme:_}=l||{},C=k?.trim()||"",L=C?{background:C}:void 0,A="dark"===_,E=A?"bg-[#13111A]/[0.06] border-[#13111A]/[0.55] text-[#13111A]/[0.92]":"bg-white/[0.06] border-white/[0.35] text-white/[0.92]",S=h?.variant,z="badge"===S&&!!h?.badgeLabel,T="image"===S&&!!h?.image?.asset,$=!!(h?.pillLogo?.asset||h?.pillPrimaryText||h?.pillSecondaryText),I=!!((h?.pillLogo?.asset||h?.pillPrimaryText)&&h?.pillSecondaryText),M=h?.pillLogo?.asset?(0,n.buildSanityImageUrl)(h?.pillLogo,320):null,[R,V]=(0,a.useState)(!1),[B,H]=(0,a.useState)(""),[W,F]=(0,a.useState)(!1),[P,q]=(0,a.useState)(!1),{prefetchOnIntent:O}=(0,s.useGsiPrefetch)(),[G,D]=(0,a.useState)(!1),U=(0,a.useRef)(!1),K=(0,a.useRef)(null),X=()=>{O(),U.current||(U.current=!0,K.current=function(e){if("requestIdleCallback"in window){let t=window,a=t.requestIdleCallback(e,{timeout:2e3});return()=>t.cancelIdleCallback?.(a)}let t=setTimeout(e,200);return()=>clearTimeout(t)}(()=>D(!0)))};(0,a.useEffect)(()=>()=>K.current?.(),[]);let Y=(w??[]).filter(e=>!!e&&e.trim().length>0),J=b?.trim()?[b]:[],Q=Y.length>0?Y:J,Z=Y.length>=2?"loop":"single",ee=Q[0]??"",et=(0,a.useRef)(null),ea=(0,a.useRef)(null),el=(0,a.useRef)(null),er=(0,a.useRef)(null),ei=(0,a.useRef)(null),en=(0,a.useRef)(null),es=(0,a.useRef)(0),ed=(0,a.useRef)(0),eo=(0,a.useRef)(0);
1!function(e){let{targetRef:t,prompts:l,mode:r,paused:i,fallback:n,typeMs:s=45,holdMs:d=1800,eraseMs:o=25,gapMs:c=400}=e,x=e=>{let a=t.current;a&&(a.placeholder=e)},[m,u]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if("function"!=typeof window.matchMedia)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)");u(e.matches);let t=e=>u(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let p=l.filter(e=>e?.trim().length>0).join("\x01");(0,a.useEffect)(()=>{let e;if(i||m)return void x(n);let t=l.filter(e=>e?.trim().length>0);if(0===t.length)return void x(n);let a=!1,u="erasing",p=0,h=t[0].length,g=(t,l)=>{e=setTimeout(()=>{a||l()},t)},f=()=>{if(a)return;let e=t[p];switch(u){case"typing":if(h+=1,x(e.slice(0,h)),h>=e.length){if("single"===r){u="done";return}u="holding",g(d,f)}else g(s,f);return;case"holding":u="erasing",g(o,f);return;case"erasing":h-=1,x(e.slice(0,Math.max(h,0))),h<=0?(u="gap",g(c,f)):g(o,f);return;case"gap":p=(p+1)%t.length,h=0,u="typing",g(s,f);return;case"done":return}};return"single"===r?(x(t[0]),()=>{a=!0,e&&clearTimeout(e)}):(x(t[0]),g(d,f),()=>{a=!0,e&&clearTimeout(e)})},[p,r,i,m,n,s,d,o,c])}({targetRef:et,prompts:Q,mode:Z,paused:R,fallback:ee});let ec=(0,a.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e.value){e.style.height="",es.current=0,ed.current=0,eo.current=0;return}if(!en.current){let t=getComputedStyle(e),a=parseFloat(t.paddingTop)||0,l=parseFloat(t.paddingBottom)||0,r=parseFloat(t.lineHeight),i=parseFloat(t.fontSize)||16;en.current={lineHeight:Number.isNaN(r)?1.4*i:r,paddingY:a+l}}let{lineHeight:a,paddingY:l}=en.current,r=(e.value.match(/\n/g)||[]).length,i=t||e.value.length<ed.current||r<eo.current;i&&(e.style.height="auto");let n=Math.min(e.scrollHeight,6*a+l);(i||n!==es.current)&&(e.style.height=`${n}px`,es.current=n),ed.current=e.value.length,eo.current=r},[]);(0,a.useEffect)(()=>{let e=()=>{en.current=null;let e=et.current;e&&ec(e,!0)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[ec]);let ex=!!C,em=y?.includes("none"),eu=(ex||em?[]:y?.length?y:["heroLeft","heroRight"]).map(e=>m[e]).filter(Boolean),ep=!!v&&!!(v.title||v.body||v.ctaLabel),eh=()=>{let e=et.current,t=(e?.value??"").trim(),a=t.slice(0,500),l=j?.some(e=>e.prompt.trim()===t)??!1,r=null!==ei.current&&e?.value===ei.current||l;(0,c.trackEvent)("chatbox_prompt_submitted",{prompt_length:a.length,prompt_preview:a.slice(0,50),custom_prompt:!r}),e&&(e.value=a,ec(e,!0)),H(a),V(a.length>0),q(!0)},eg=()=>{R&&eh()};return(0,a.useEffect)(()=>{let e=et.current;if(!e)return;let t=window.__cbxHero||e.value;t&&(e.value=t,ec(e,!0),V(t.trim().length>0),ei.current=null);try{window.__cbxHero=""}catch{}},[ec]),(0,a.useEffect)(()=>{if(!W)return;er.current?.focus();let e=e=>{"Escape"===e.key&&(F(!1),ea.current?.focus())},t=e=>{let t=e.target;el.current?.contains(t)||ea.current?.contains(t)||F(!1)};return document.addEventListener("keydown",e),document.addEventListener("mousedown",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("mousedown",t)}},[W]),(0,t.jsxs)("section",{className:"overflow-x-clip relative min-h-[100svh] emd:min-h-[100vh] flex flex-col items-center justify-center pt-[120px] emd:pt-[129px] pb-[140px] emd:pb-[200px]",children:[(0,t.jsx)("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:'(function(){try{if(!window.__cbxHeroListener){window.__cbxHeroListener=true;document.addEventListener("input",function(e){var t=e&&e.target;if(t&&t.tagName==="TEXTAREA"&&t.hasAttribute("data-cbx-hero")){window.__cbxHero=t.value;}},true);}}catch(e){}})();'}}),L&&(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 z-0 pointer-events-none",style:L}),eu.map((e,a)=>(0,t.jsx)(d.BlurBackground,{blobs:e.blobs,blur:e.blur,opacity:e.opacity,className:e.className},a)),(0,t.jsx)("div",{className:"container relative z-[5]",children:(0,t.jsxs)("div",{className:"max-w-[940px] w-full mx-auto",children:[z&&(0,t.jsx)("div",{className:"mb-5 em:mb-6 flex justify-center",children:(0,t.jsxs)("span",{className:`inline-flex items-center gap-2 px-3 py-1.5 rounded-full text-sm font-semibold ${A?"bg-[#13111A]/10 text-[#13111A]":"bg-white/10 text-white"}
1`,children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"w-1.5 h-1.5 rounded-full bg-[var(--primary)]"}),h?.badgeLabel]})}),T&&(0,t.jsx)("div",{className:"mb-5 em:mb-6 flex justify-center",children:(0,t.jsx)(i.default,{src:h?.image,className:"h-10 em:h-12 w-auto",sizes:"(max-width: 480px) 240px, 360px",priority:!0})}),"pill"===S&&$&&(0,t.jsx)("div",{className:"mb-5 em:mb-6 flex justify-center",children:(0,t.jsxs)("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full backdrop-blur-md bg-[#2f0048]/80 border border-white/10",children:[M&&(0,t.jsx)("img",{src:M,alt:h?.pillLogo?.alt||"",width:157,height:20,className:"h-5 w-auto",decoding:"async",loading:"eager"}),h?.pillPrimaryText&&(0,t.jsx)("span",{className:"text-white text-[13px] em:text-sm font-semibold leading-[150%] tracking-[-0.28px] whitespace-nowrap",children:h?.pillPrimaryText}),I&&(0,t.jsx)("span",{"aria-hidden":!0,className:"hidden md:inline text-white/50 text-[13px] em:text-sm font-semibold leading-[150%]",children:"â¢"}),h?.pillSecondaryText&&(0,t.jsx)("span",{className:"hidden md:inline text-white text-[13px] em:text-sm font-semibold leading-[150%] tracking-[-0.28px]",children:h?.pillSecondaryText})]})}),u(g)&&(0,t.jsx)("div",{className:`mb-4 em:mb-5 [&>*]:text-[36px] em:[&>*]:text-[56px] md:[&>*]:text-[60px] emd:[&>*]:text-[66px] 4xl:[&>*]:text-[72px] [&>*]:font-semibold ${A?"[&>*]:text-[#13111A]":"[&>*]:text-white"} [&>*]:tracking-[1.2px] [&>*]:text-center [&>*]:leading-[110%]`,children:(0,t.jsx)(r.default,{value:g})}),u(f)&&(0,t.jsx)("div",{className:`mb-8 em:mb-10 [&>*]:text-[18px] em:[&>*]:text-[22px] md:[&>*]:text-[24px] ${A?"[&>*]:text-[#13111A]/70":"[&>*]:text-white/70"} [&>*]:text-center [&>*]:leading-[140%]`,children:(0,t.jsx)(r.default,{value:f})}),(0,t.jsxs)("div",{className:"relative max-w-[760px] mx-auto w-full",children:[(0,t.jsxs)("div",{className:"relative flex flex-col gap-2 em:gap-3 w-full rounded-2xl border border-white/50 bg-white/[0.97] shadow-[0_20px_56px_-24px_rgba(0,0,0,0.45),0_0_0_1px_rgba(255,255,255,0.6)_inset] backdrop-blur-md px-4 em:px-5 py-3 em:py-4 focus-within:border-white focus-within:shadow-[0_24px_64px_-20px_rgba(105,35,255,0.35),0_0_0_1px_rgba(255,255,255,0.75)_inset] transition-all",children:[(0,t.jsx)("textarea",{ref:et,"data-cbx-hero":"",defaultValue:"",onChange:e=>{let t=e.target;ec(t);let a=t.value.trim().length>0;V(e=>e===a?e:a),null!==ei.current&&(ei.current=null)},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),eg())},onFocus:X,placeholder:ee,"aria-label":ee||"Chat prompt",rows:3,className:"w-full min-h-[88px] em:min-h-[92px] resize-none overflow-y-auto bg-transparent text-[#13111A] placeholder:text-[#13111A]/45 text-base em:text-lg leading-[140%] focus:outline-none px-0 py-1 [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:bg-[#13111A]/20 [&::-webkit-scrollbar-thumb]:rounded-full hover:[&::-webkit-scrollbar-thumb]:bg-[#13111A]/30 [scrollbar-width:thin] [scrollbar-color:rgba(19,17,26,0.22)_transparent]"}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[ep?(0,t.jsx)("button",{ref:ea,type:"button","aria-label":v?.title||"Attach","aria-expanded":W,"aria-haspopup":"dialog",onClick:()=>F(e=>!e),className:"shrink-0 w-9 h-9 em:w-10 em:h-10 rounded-full bg-[#13111A]/10 hover:bg-[#13111A]/15 text-[#13111A]/75 hover:text-[#13111A] flex items-center justify-center transition-colors cursor-pointer",children:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M10 4V16M4 10H16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})}):(0,t.jsx)("span",{"aria-hidden":!0}),(0,t.jsx)("button",{type:"button",onClick:eg,onMouseEnter:X,onFocus:X,disabled:!R,"aria-label":N||"Send",className:"shrink-0 w-9 h-9 em:w-10 em:h-10 rounded-full bg-gradient-to-br from-[#ad24e7] to-[#6923ff] text-white flex items-center justify-center transition-all disabled:opacity-40 disabled:cursor-not-allowed enabled:cursor-pointer enabled:hover:shadow-[0_0_20px_rgba(173,36,23
11,0.5)]",children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M10 16V4M10 4L4 10M10 4L16 10",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]}),W&&v&&(0,t.jsxs)("div",{ref:el,role:"dialog","aria-modal":"false","aria-label":v.title||"Attach options",className:"absolute z-20 left-0 top-full mt-3 w-[min(340px,calc(100vw-2rem))] rounded-2xl bg-white text-[#13111A] shadow-[0_24px_60px_-12px_rgba(0,0,0,0.4)] p-5",children:[v.title&&(0,t.jsx)("h3",{className:"text-[17px] font-semibold leading-[130%] mb-2",children:v.title}),v.body&&(0,t.jsx)("p",{className:"text-[14px] leading-[150%] text-[#13111A]/70 mb-4 whitespace-pre-line",children:v.body}),v.ctaLabel&&(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)("button",{ref:er,type:"button",onClick:()=>{F(!1),R?eh():q(!0)},onMouseEnter:X,onFocus:X,className:"px-4 py-2 rounded-full bg-[#13111A] text-white text-sm font-medium hover:bg-[#2a2637] transition-colors cursor-pointer",children:v.ctaLabel})})]})]}),j&&j.length>0&&(0,t.jsx)("div",{"data-text-theme":A?"dark":"light",className:"mt-5 em:mt-6 flex flex-wrap gap-2 em:gap-2.5 justify-center max-w-[760px] mx-auto",children:j.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>{(0,c.trackEvent)("chatbox_template_clicked",{label:e.label,prompt_length:e.prompt.length}),ei.current=e.prompt,V(e.prompt.trim().length>0),requestAnimationFrame(()=>{let t=et.current;if(!t)return;t.value=e.prompt,ec(t,!0),t.focus();let a=e.prompt.length;t.setSelectionRange(a,a)})},className:`chatbox-chip px-[18px] py-[10px] rounded-full border bg-transparent text-sm leading-[140%] font-medium whitespace-nowrap cursor-pointer ${E}`,children:e.label},e._key))})]})}),(G||P)&&(0,t.jsx)(x,{isOpen:P,onClose:()=>q(!1),prompt:B||void 0})]})}e.s(["default",()=>p],25747)},82043,e=>{"use strict";var t=e.i(98993),a=e.i(18319),l=e.i(7031),r=e.i(16931),i=e.i(36567),n=e.i(9461),s=e.i(86205),d=e.i(57686),o=e.i(33278);function c(e){let{data:c,locale:x,tone:m="dark"}=e,u="light"===m,p=x&&(0,s.getEnabledLocales)().includes(x)?x:s.DEFAULT_LOCALE,{t:h}=(0,o.useTranslationReact)(p),g=u?"text-[#1a1a1a]/80":"text-white/80",f=u?"text-[#1a1a1a]/80":"text-white/80",b=u?"bg-transparent text-[#1a1a1a] border border-[#1a1a1a]/20 hover:border-[#1a1a1a]/40":"bg-transparent text-white border border-white/20 hover:border-white/40 backdrop-blur-[4px]",w=c?.avatars??[],v=c?.useCaseChips??[],j=c?.overflowTile,N=c?.maxScriptLength??500,y=((0,l.stegaClean)(c?.placeholderScript)??"").slice(0,N),k=c?.generateButton,_=(0,l.stegaClean)(k?.label)||"Generate my free video",C=(0,l.stegaClean)(k?.variant)??"dark",L=(0,l.stegaClean)(k?.size)??"default",A=C in n.buttonVariants?n.buttonVariants[C]:n.buttonVariants.dark,E=L in n.buttonSizes?n.buttonSizes[L]:"",S=(0,l.stegaClean)(c?.noCreditCardCaption)??"",z=c?.showLanguageIndicator!==!1,T=(0,l.stegaClean)(c?.languageIndicatorText)||"Auto-detected: English",[$,I]=(0,a.useState)(0),[M,R]=(0,a.useState)(0),[V,B]=(0,a.useState)(y),[H,W]=(0,a.useState)(!1);if(0===w.length||0===v.length)return null;let F=Math.min($,w.length-1),P=w[F],q=(0,l.stegaClean)(P?.name)??void 0,O=(0,l.stegaClean)(P?.localeLabel),G=Math.max(0,N-V.length);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-col emd:flex-row gap-8 emd:gap-12 w-full emd:min-h-[720px]",children:[(0,t.jsxs)("div",{className:"flex flex-1 min-w-0 flex-col gap-6",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-8 w-full max-w-[800px]",children:[(0,t.jsxs)("div",{className:"flex flex-col items-start gap-2 w-full",children:[c?.eyebrow&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-[#dfcce9] text-[14px] font-semibold leading-[1.5] tracking-[-0.02em] text-[#1a1a1a]",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"w-1.5 h-1.5 rounded-full bg-[#782ba2] flex-shrink-0"}),c.eyebrow]}),c?.title&&(0,t.jsx)("h1",{className:`m-0 text-[28px] em:text-[36px] md:text-[44px] emd:text-[48px] font-semibold leading-[1.15] tracking-[-0.02em] ${u?"text-[#1a1a1a]":"text-white"}`,children:c.title})]}),c?.subtitle&&(0,t.jsx)("p",{className:`m-0 text-[16px] em:text-[18px] emd:text-[20px] font-medium leading-[1.5] tracking-[-0.02em] whitespace-pre-line ${u?"text-[#1a1a1a]":"text-white"}`,children:c.subtitle})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 w-full max-w-[576px]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"flex items-center justify-center w-[22px] h-[22px] rounded-full bg-[#f4edf7] text-[12px] font-semibold leading-[1.5] tracking-[-0.02em] text-[#1a1a1a]",children:"1"}),(0,t.jsx)("span",{className:`text-[14px] font-medium leading-[1.5] tracking-[-0.02em] ${g}`,children:h("aiVideoPickAvatar")})]}),(0,t.jsxs)("div",{className:"flex gap-2 w-full",children:[w.map((e,a)=>{let i=a===F;return(0,t.jsxs)("button",{type:"button","aria-pressed":i,"aria-label":`Select ${(0,l.stegaClean)(e.name)??"avatar"}`,onClick:()=>{I(a),(0,d.trackEvent)("ai_video_hero_avatar_selected",{avatar_name:(0,l.stegaClean)(w[a]?.name),avatar_index:a,locale:x})},className:"relative flex flex-1 min-w-0 flex-col items-center gap-2 bg-transparent border-0 p-0 cursor-pointer group",children:[(0,t.jsxs)("div",{className:`relative w-full aspect-square overflow-hidden rounded-[8px] shadow-[0_2px_2px_rgba(0,0,0,0.09),0_4px_2px_rgba(0,0,0,0.05),0_7px_3px_rgba(0,0,0,0.01)] ${i?"ring-2 ring-inset ring-[#f4edf7]":""}`,children:[e.image&&(0,t.jsx)(r.default,{src:e.image,alt:"",className:"absolute inset-0 w-full h-full object-cover"}),(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 bg-gradient-to-t from-black/40 to-transparent pointer-events-none"}),i&&(0,t.jsxs)("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",className:"absolute right-2 top-2 w-5 h-5 z-10",children:[(0,t.jsx)("circle",{cx:"10",cy:"10",r:"9",fill:"#f4edf7"}),(0,t.jsx)("path",{d:"M6 10.5l2.5 2.5L14 7.5",stroke:"#782ba2",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})]}),(0,t.jsx)("span",{className:"absolute left-1/2 -translate-x-1/2 bottom-1.5 text-[14px] font-medium leading-[1.5] tracking-[-0.02em] whitespace-nowrap z-[2] text-white",children:e.name})]},e._key??a)}),j?.enabled&&(0,t.jsx)("div",{className:"relative flex flex-1 min-w-0 flex-col items-center gap-2",children:(0,t.jsxs)("div",{className:"relative w-full aspect-square overflow-hidden rounded-[8px] bg-[#3a3548]",children:[j.image&&(0,t.jsx)(r.default,{src:j.image,alt:"",className:"absolute inset-0 w-full h-full object-cover"}),(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 bg-black/50"}),(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center text-center text-white",children:(0,t.jsxs)("span",{className:"block",children:[(0,t.jsx)("span",{className:"block text-[16px] font-bold leading-[1.3] tracking-[-0.02em]",children:j.topLine||"500+"}),(0,t.jsx)("span",{className:"block text-[12px] font-medium leading-[1.4] tracking-[-0.02em]",children:j.bottomLine||"to choose from"})]})})]})})]})]}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 w-full max-w-[576px]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"flex items-center justify-center w-[22px] h-[22px] rounded-full bg-[#f4edf7] text-[12px] font-semibold leading-[1.5] tracking-[-0.02em] text-[#1a1a1a]",children:"2"}),(0,t.jsx)("span",{className:`text-[14px] font-medium leading-[1.5] tracking-[-0.02em] ${g}`,children:h("aiVideoWriteScript")})]}),(0,t.jsx)("div",{className:"flex flex-wrap gap-2 items-center",children:v.map((e,a)=>{let r=a===M;return(0,t.jsx)("button",{type:"button","aria-pressed":r,onClick:()=>{let e,t;return e=v[a],t=((0,l.stegaClean)(e?.script)??"").slice(0,N),void(R(a),B(t),(0,d.trackEvent)("ai_video_hero_chip_clicked",{chip_label:(0,l.stegaClean)(e?.label),chip_index:a,locale:x}))},className:`px-2.5 py-0.5 rounded-full text-[12px] font-medium leading-[1.5] tracking-[-0.02em] transition-colors duration-200 cursor-pointer ${r?"bg-[#dfcce9] text-[#1a1a1a] border border-transparent":b}`,children:e.label},e._key??a)})}),(0,t.jsx)("textarea",{value:V,onChange:e=>
1B(e.target.value.slice(0,N)),maxLength:N,"aria-label":"Video script",className:`w-full h-[120px] p-3 rounded-[8px] text-[14px] font-medium leading-[1.5] tracking-[-0.02em] resize-none focus:outline-none focus:ring-2 focus:ring-[#9355b4]/60 ${u?"bg-white border border-[#1a1a1a]/20 text-[#1a1a1a] placeholder:text-[#1a1a1a]/40":"bg-white/10 border border-white/20 text-white"}`}),(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[z?(0,t.jsxs)("span",{className:`inline-flex items-center gap-1 text-[12px] font-medium leading-[1.5] tracking-[-0.02em] ${f}`,children:[(0,t.jsxs)("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",className:"w-4 h-4",children:[(0,t.jsx)("circle",{cx:"8",cy:"8",r:"6",stroke:"currentColor",strokeWidth:"1.2"}),(0,t.jsx)("path",{d:"M2 8h12M8 2c2 2 2 10 0 12M8 2c-2 2-2 10 0 12",stroke:"currentColor",strokeWidth:"1.2"})]}),(0,t.jsx)("span",{children:T})]}):(0,t.jsx)("span",{"aria-hidden":"true"}),(0,t.jsx)("span",{className:`text-[12px] font-medium leading-[1.5] tracking-[-0.02em] ${f}`,children:h("aiVideoCharactersLeft",{count:String(G)})})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2 w-full max-w-[576px]",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>{let e=V.slice(0,N);0!==e.trim().length&&(B(e),(0,d.trackEvent)("ai_video_hero_generate_clicked",{prompt_length:e.length,prompt_preview:e.slice(0,50),avatar_name:q,chip_label:(0,l.stegaClean)(v[M]?.label),locale:x}),W(!0))},disabled:0===V.trim().length||H,className:(0,s.cn)(A,E,"w-full gap-2 disabled:opacity-50 disabled:cursor-not-allowed"),children:[(0,t.jsx)("span",{children:_}),(0,t.jsx)("svg",{viewBox:"0 0 20 20",fill:"none","aria-hidden":"true",className:"w-5 h-5 rtl:-scale-x-100",children:(0,t.jsx)("path",{d:"M4 10h12m-4-4 4 4-4 4",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})]}),S&&(0,t.jsx)("span",{className:`text-[12px] font-semibold leading-[1.5] tracking-[-0.02em] text-center ${f}`,children:S})]})]}),(0,t.jsxs)("aside",{"aria-label":h("aiVideoSelectedAvatarPreview"),className:"hidden emd:flex relative flex-1 min-w-0 emd:self-stretch rounded-[16px] overflow-hidden bg-[#f2f2f2] emd:aspect-auto",children:[P?.image&&(0,t.jsx)(r.default,{src:P.image,alt:q?h("aiVideoAvatarPreview",{name:q}):h("aiVideoSelectedAvatarPreview"),className:"absolute inset-0 w-full h-full object-cover"}),O&&(0,t.jsx)("span",{className:"absolute right-4 top-4 flex items-center justify-center px-3 py-1.5 rounded-full bg-white text-[14px] font-semibold leading-[1.5] tracking-[-0.02em] text-[#1a1a1a] z-[2]",children:O})]})]}),(0,t.jsx)(i.default,{isOpen:H,onClose:()=>W(!1),prompt:V.slice(0,N)||void 0,selectedAvatarName:q})]})}function x(e){let{data:r,locale:i,variant:n}=e,s=r?.tabs??[],d=((0,l.stegaClean)(r?.customBackground)??"").trim(),o=(0,l.stegaClean)(r?.textTheme),x=!!d&&"dark"===o,m=d?x?"light":"dark":n??"dark",u="light"===m,[p,h]=(0,a.useState)(0),g=(0,a.useId)(),f=(0,a.useRef)([]);if(0===s.length)return null;let b=Math.min(p,s.length-1),w=s[b];if(!w?._type)return null;let v=s.length>=2,j=e=>`${g}-tab-${e}`,N=`${g}-panel`,y=e=>{if("ArrowLeft"!==e.key&&"ArrowRight"!==e.key&&"Home"!==e.key&&"End"!==e.key)return;e.preventDefault();let t=s.length-1,a=b;"ArrowRight"===e.key&&(a=b===t?0:b+1),"ArrowLeft"===e.key&&(a=0===b?t:b-1),"Home"===e.key&&(a=0),"End"===e.key&&(a=t),h(a),f.current[a]?.focus()};return(0,t.jsxs)("section",{className:"relative w-full pt-[64px] em:pt-[88px] emd:pt-[112px] pb-10 overflow-x-clip",children:[d&&(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-0 z-0 pointer-events-none",style:{background:d}}),(0,t.jsx)("div",{className:"container relative z-[5]",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-8 emd:gap-12 max-w-[1200px] mx-auto",children:[v&&(0,t.jsx)("div",{className:"w-full emd:w-auto overflow-x-auto emd:overflow-visible -mx-4 px-4 emd:mx-0 emd:px-0",children:(0,t.jsx)("div",{role:"tablist","aria-label":"AI video builder modes",className:`inline-flex items-start p-1 rounded-full backdrop-blur-[4px] ${u?"bg-[#1a1a1a]/10 ring-1 ring-inset ring-[#1a1a1a]/10":"bg-white/10 ring-1 ring-inset ring-white/15"}`,children:s.map((e,a)=>{let l=a===b;return(0,t.jsx)("button",{ref:e=>{f.current[a]=e},id:j(a),type:"button",role:"tab","aria-selected":l,"aria-controls":N,tabIndex:l?0:-1,onClick:()=>h(a),onKeyDown:y,className:`shrink-0 flex items-center justify-center w-[140px] em:w-[180px] px-4 py-2 rounded-full text-[16px] font-medium leading-[1.5] tracking-[-0.02em] transition-colors duration-200 cursor-pointer ${l?"bg-[#dfcce9] text-[#1a1a1a]":u?"bg-transparent text-[#1a1a1a] hover:text-[#1a1a1a]/80":"bg-transparent text-white hover:text-white/90"}`,children:e.tabLabel||`Tab ${a+1}`},e._key??a)})})}),(0,t.jsx)("div",{id:N,role:v?"tabpanel":void 0,"aria-labelledby":v?j(b):void 0,className:"w-full",children:"aiAvatarVideoTabContent"===w._type&&(0,t.jsx)(c,{data:w,locale:i,tone:m})})]})})]})}e.s(["default",()=>x],82043)},65728,e=>{"use strict";var t=e.i(98993),a=e.i(18319),l=e.i(83198),r=e.i(86205);let i=(0,l.cva)("rounded-[22px] py-10 px-5 flex justify-center",{variants:{theme:{dark:"bg-[#1d1a27a3] border border-[#ffffff29] shadow-[0_14px_74px_#00000073]",light:"bg-white border border-[var(--neutral-200)] shadow-[0_2px_20px_#5334eb4d,0_14px_74px_#900bd74d]"}},defaultVariants:{theme:"dark"}}),n=(0,l.cva)("text-[40px] em:text-[48px] md:text-[58px] font-bold leading-[100%]",{variants:{theme:{dark:"text-white",light:"text-[var(--neutral-800)]"}},defaultVariants:{theme:"dark"}}),s=(0,l.cva)("text-lg md:text-xl text-center",{variants:{theme:{dark:"text-neutral-400",light:"text-[var(--neutral-800)]"}},defaultVariants:{theme:"dark"}});function d(e){let{metrics:l,theme:d}=e,[o,c]=(0,a.useState)(l?.map(()=>0)||[]),[x,m]=(0,a.useState)(!1),u=(0,a.useRef)(null);return((0,a.useEffect)(()=>
1{if(!l||x)return;let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&!x&&(m(!0),l.forEach((e,t)=>{let a=Number(e.number),l=0,r=a/30,i=setInterval(()=>{(l+=r)>=a&&(l=a,clearInterval(i)),c(e=>{let a=[...e];return a[t]=Math.floor(l),a})},50)}))})},{threshold:.3});return u.current&&e.observe(u.current),()=>{u.current&&e.unobserve(u.current)}},[l,x]),l)?(0,t.jsx)("section",{ref:u,children:(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-[21px] sm:gap-[26px] max-w-[500px] md:max-w-full w-full mx-auto",children:l.map((e,a)=>{let l=0===a?"text-[#ff6795]":1===a?"text-[#285dad]":"text-[#2cbfde]";return(0,t.jsx)("div",{className:(0,r.cn)(i({theme:d})),children:(0,t.jsxs)("div",{className:"flex flex-col mx-auto",children:[(0,t.jsxs)("h3",{className:"countup-wrapper mb-[8px] flex items-center justify-center",children:[(0,t.jsxs)("span",{className:(0,r.cn)(n({theme:d})),children:[o[a],e.postfix||""]}),(0,t.jsx)("span",{className:`text-[40px] em:text-[48px] md:text-[58px] font-bold leading-[100%] ${l}`,children:"+"})]}),e.title&&(0,t.jsx)("p",{className:(0,r.cn)(s({theme:d})),children:e.title})]})},a)})})}):null}e.s(["default",()=>d])},76620,e=>{"use strict";var t=e.i(98993),a=e.i(33560),l=e.i(83198),r=e.i(7031),i=e.i(86205),n=e.i(36863),s=e.i(67899),d=e.i(9461),o=e.i(16931),c=e.i(65728);let x=(0,l.cva)("relative",{variants:{theme:{dark:"",light:""}},defaultVariants:{theme:"dark"}}),m=(0,l.cva)("[&>*]:text-[31px] em:[&>*]:text-[37px] md:[&>*]:text-[44px] [&>*]:font-bold [&>*]:text-center [&>*]:leading-[120%] em:[&>*]:leading-[130%]",{variants:{theme:{dark:"[&>*]:text-white",light:"[&>*]:text-[var(--neutral-800)]"}},defaultVariants:{theme:"dark"}}),u=(0,l.cva)("[&>*]:text-lg [&>*]:text-center",{variants:{theme:{dark:"[&>*]:text-neutral-400",light:"[&>*]:text-[var(--neutral-800)]"}},defaultVariants:{theme:"dark"}});function p(e){let{data:l,locale:p,theme:h}=e,{title:g,description:f,cta:b,features:w,metrics:v,variant:j,subHeading:N,anchorId:y,columnsCount:k,modules:_,modulesColumnsCount:C,hideGradient:L,backgroundColor:A,cardBackgroundColor:E,cardTextColor:S}=l||{},{image:z,logo:T,text:$}=N||{},I=(0,r.stegaClean)(A)||"",M=I?(0,n.getBgVariant)(I,"light"===h?"light":"dark"):h,R=(0,r.stegaClean)(E)||"",V=""!==R,B=V&&"light"===(0,n.getBgVariant)(R,"dark"),H=(0,r.stegaClean)(S)||"",W=H?{color:H}:void 0,F=T||$||z,P=(0,a.usePathname)(),q=["/integrations","/ar/ltkmlt","/es/integraciones","/de/integrationen","/fr/integrations","/pt/integracoes","/it/integrazioni","/zh/ji-cheng","/ko/tonghab","/ja/tong-he","/nl/integraties"].some(e=>P?.endsWith(e)),O={2:{cols:"grid-cols-1 md:grid-cols-2",wrapper:"max-w-[448px] md:max-w-[900px] mx-auto"},3:{cols:"grid-cols-1 md:grid-cols-2 emd:grid-cols-3",wrapper:"max-w-[448px] md:max-w-none mx-auto md:mx-0"},4:{cols:"grid-cols-1 md:grid-cols-2 emd:grid-cols-4",wrapper:"max-w-[448px] md:max-w-none mx-auto md:mx-0"}},G={default:{section:"",headerWrapper:"max-w-[756px] w-full mb-12",featuresGrid:"gap-x-[25px] gap-y-[25px]",featureCard:"pt-7 em:pt-10 pb-10 em:pb-[70px] px-5 md:px-8",featureImage:"w-15 em:w-[66px] h-15 em:h-[62px] mb-5.5",featureTitle:"mb-[9px] [&>*]:text-[20px] em:[&>*]:text-[22px] md:[&>*]:text-2xl [&>*]:text-white [&>*]:font-bold [&>*]:leading-[135%]",imageSize:{w:66,h:62}},primary:{section:"",headerWrapper:"max-w-full w-full mb-5 em:mb-10 md:mb-[45px]",featuresGrid:"gap-x-[25px] gap-y-[25px]",featureCard:"pt-7 em:pt-10 pb-10 em:pb-[70px] px-5 md:px-8 h-[182px] sm:h-[302px]",featureImage:"w-15 em:w-[66px] h-15 em:h-[62px] mb-5.5",featureTitle:"mb-[9px] [&>*]:text-[20px] em:[&>*]:text-[22px] md:[&>*]:text-2xl [&>*]:text-white [&>*]:font-bold [&>*]:leading-[135%]",imageSize:{w:66,h:62}},secondary:{section:"",headerWrapper:"max-w-[756px] w-full mb-12",featuresGrid:"gap-4.5",featureCard:"py-10 px-8",featureImage:"max-w-[100px] w-auto min-h-[25%] h-24 block [filter:brightness(0)_invert(1)] mb-5.5",featureTitle:"mb-[9px] [&>*]:text-[20px] em:[&>*]:text-[22px] md:[&>*]:text-2xl [&>*]:text-white [&>*]:font-bold [&>*]:leading-[135%]",imageSize:{w:100,h:96}},compact:{section:"",headerWrapper:"max-w-[756px] w-full mb-12",featuresGrid:"gap-4",featureCard:"py-[30px] px-[20px] overflow-hidden",featureImage:"w-[55px] h-[55px] mb-3",featureTitle:"mb-1 em:mb-1.5 md:mb-2 [&>*]:text-[20px] em:[&>*]:text-[18px] [&>*]:text-white [&>*]:font-bold [&>*]:leading-[1.3]",imageSize:{w:55,h:55},cols:"grid-cols-2 md:grid-cols-4",wrapper:""}},D=O[k]||O["3"],U=G[j]||G.default,K=U.cols||D.cols,X=void 0!==U.wrapper?U.wrapper:D.wrapper,Y={2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 emd:grid-cols-3",4:"grid-cols-1 md:grid-cols-2 emd:grid-cols-4"},J=Y[C]||Y["2"],Q={sm:{className:"w-[55px] h-[55px] mb-3",size:{w:55,h:55}},md:{className:"w-15 em:w-[66px] h-15 em:h-[62px] mb-5.5",size:{w:66,h:62}},lg:{className:"max-w-[100px] w-auto min-h-[25%] h-24 block mb-5.5",size:{w:100,h:96}}},Z={md:"mb-[9px] [&>*]:text-[20px] em:[&>*]:text-[22px] md:[&>*]:text-2xl [&>*]:text-white [&>*]:font-bold [&>*]:leading-[135%]",sm:"mb-1 em:mb-1.5 md:mb-2 [&>*]:text-[18px] md:[&>*]:text-[20px] [&>*]:text-white [&>*]:font-bold [&>*]:leading-[1.3]"};return(0,t.jsx)("section",{id:y||void 0,className:(0,i.cn)(x({theme:M}),U.section,I&&"py-[50px] md:py-[72px]"),style:I?{backgroundColor:I}:void 0,children:(0,t.jsxs)("div",{className:"container",children:[(g||f)&&(0,t.jsxs)("div",{className:`relative z-10 mx-auto md:px-6 flex flex-col justify-center items-center ${F?"gap-5 em:gap-15":"gap-4"} ${U.headerWrapper}`,children:[g&&(0,t.jsx)("div",{className:(0,i.cn)(m({theme:M})),children:(0,t.jsx)(s.default,{value:g})}),f&&(0,t.jsx)("div",{className:(0,i.cn)(u({theme:M})),children:(0,t.jsx)(s.default,{value:f})})]}),w&&w.length>0&&(0,t.jsx)("div",{className:`relative z-10 grid ${K} ${U.featuresGrid} ${X}`,children:w.map((e,a)=>
1{let{title:l,image:r,description:n,invertColor:d,imageSizeVariant:c,titleSizeVariant:x}=e||{},m=c&&Q[c]?Q[c]:{className:U.featureImage,size:U.imageSize},u=x&&Z[x]?Z[x]:U.featureTitle;return(0,t.jsxs)("div",{className:(0,i.cn)("rounded-[22px] border shadow-[0_5px_14px_0_#0000001a]",V?B?"border-black/[0.06]":"border-white/[0.08]":"bg-neutral-700 border-neutral-700",U.featureCard),style:V?{backgroundColor:R}:void 0,children:[r&&(0,t.jsx)(o.default,{src:r,className:`rounded-lg ${m.className} ${d?"[filter:brightness(0)_invert(1)]":""}`,width:m.size.w,height:m.size.h}),l&&(0,t.jsx)("div",{className:(0,i.cn)(u,H?"[&>*]:!text-inherit":B&&"[&>*]:!text-[var(--neutral-800)]"),style:W,children:(0,t.jsx)(s.default,{value:l})}),n&&(0,t.jsx)("div",{className:(0,i.cn)("[&>*]:text-lg [&>*]:leading-[170%]",H?"[&>*]:!text-inherit":B?"[&>*]:text-[var(--neutral-light-meta)]":"[&>*]:text-neutral-400"),style:W,children:(0,t.jsx)(s.default,{value:n})})]},a)})}),_&&_.length>0&&(0,t.jsx)("div",{className:"relative z-10 mt-15",children:(0,t.jsx)("div",{className:`grid ${J} gap-4`,children:_.map((e,a)=>{let{title:l,items:r}=e||{};return(0,t.jsxs)("div",{className:"border-2 border-white rounded-xl overflow-hidden",children:[l&&(0,t.jsx)("div",{className:"bg-neutral-700 border-b-2 border-white py-[15px] px-4 em:py-3.5 em:px-4.5 [&>*]:text-white [&>*]:text-[18px] md:[&>*]:text-[20px] [&>*]:font-light [&>*]:leading-[25px] md:[&>*]:leading-[30px]",children:(0,t.jsx)(s.default,{value:l})}),r&&r.length>0&&(0,t.jsx)("div",{className:"flex flex-col gap-[15px] em:gap-3.5 p-5 px-[18px] em:px-[15px] justify-start items-start bg-[var(--neutral-800)]",children:r.map((e,a)=>(0,t.jsx)("div",{className:"text-lg font-light leading-[25px] text-neutral-400",children:e},a))})]},a)})})}),(T||$||z)&&(0,t.jsxs)("div",{className:"flex flex-col em:flex-row gap-2.5 items-center justify-center mt-10 relative z-[2]",children:[T&&(0,t.jsx)(o.default,{src:T,className:"max-w-[100px] em:max-w-[130px] w-full",width:130,height:40}),$&&(0,t.jsx)("h6",{className:"text-base 4xl:text-xl text-white text-center font-bold",children:$}),z&&(0,t.jsx)(o.default,{src:z,width:70,height:26})]}),b?.label&&(0,t.jsx)("div",{className:"relative z-10 mt-10 em:mt-15 pb-15 em:pb-20 emd:pb-15 flex justify-center items-center",children:(0,t.jsx)(d.default,{block:b,className:"block w-fit !px-[25px] em:!px-[35px] md:!px-10 4xl:!px-15 !text-lg 4xl:!text-xl !py-[15px] 4xl:!py-5"})}),"light"!==M&&!L&&!q&&w&&w.length>0&&(0,t.jsxs)("div",{className:"max-w-[35%] min-h-[90%] top-[242px] bottom-[-48px] emd:bottom-[639px] opacity-50 blur-[100px] w-full absolute z-0 [&~*]:relative [&~*]:z-10",children:[(0,t.jsx)("div",{className:"w-[87%] min-w-[87%] min-h-[87%] max-h-[87%] bg-[#c831f0] absolute top-0 right-0 rounded-[1000000px]"}),(0,t.jsx)("div",{className:"w-[70%] min-w-[70%] min-h-[70%] max-h-[70%] bg-[#285dad] rounded-[1000000px] absolute bottom-0 right-0"}),(0,t.jsx)("div",{className:"w-[87%] min-w-[87%] min-h-[87%] max-h-[87%] bg-[#285dad] rounded-[1000000px] absolute bottom-0"})]}),v&&(0,t.jsx)(c.default,{metrics:v,theme:M})]})})}e.s(["default",()=>p])},2476,e=>{"use strict";var t=e.i(98993),a=e.i(67899),l=e.i(9461);function r(e){let{data:r,locale:i}=e,{title:n,cards:s,variant:d="default"}=r||{};return(0,t.jsx)("section",{children:(0,t.jsxs)("div",{className:"container mx-auto px-2.5 max-w-none max-lg:!max-w-[728px] lg:!max-w-[988px]",children:[n&&(0,t.jsx)("div",{className:"text-center mb-10 md:mb-[60px] [&>*]:text-[32px] md:[&>*]:text-[44px] [&>*]:leading-tight [&>*]:font-bold [&>*]:text-white",children:(0,t.jsx)(a.default,{value:n,locale:i})}),(0,t.jsxs)("div",{className:"relative flex flex-col items-center",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:s?.map((e,a)=>(0,t.jsxs)("div",{className:"relative z-[1] flex flex-col items-center justify-center bg-[rgb(19,17,26)] border border-white/[0.09] rounded-[22px] py-[30px] px-5 md:py-10 md:px-5 text-center shadow-[0_5px_14px_rgba(0,0,0,0.1)] gap-5 md:gap-0",children:[(0,t.jsx)("h2",{className:"lg:text-[25px] text-[20px] font-bold text-white md:mb-5 lg:mx-0",children:e.title}),e.button&&(0,t.jsx)("div",{className:"py-5",children:(0,t.jsx)(l.default,{block:e.button,locale:i,className:"px-[25px] md:px-10 py-[15px] text-base transition-all duration-500 scale-3d-custom"})})]},a))}),(0,t.jsx)("div",{className:"absolute inset-0 rounded-[22px] pointer-events-none",style:{filter:"blur(40px)",backgroundImage:"linear-gradient(90deg, #4d54ffa3, #d03f90a3 64%, #ff3868a3)"}})]})]})})}e.s(["default",()=>r])},29617,e=>{"use strict";var t=e.i(98993),a=e.i(18319),l=e.i(7031),r=e.i(67899),i=e.i(16931),n=e.i(9461),s=e.i(36567),d=e.i(33278),o=e.i(86205),c=e.i(57686),x=e.i(36863);function m(e){let{data:m,locale:u,variant:p}=e,{title:h,description:g,images:f,button:b,showSignupCta:w}=m||{},v=(0,l.stegaClean)(m?.backgroundColor)||void 0,[j,N]=(0,a.useState)(!1),y=u||o.defaultLanguage.locale,{t:k}=(0,d.useTranslationReact)(y),_="light"===(0,x.getBgVariant)(v,p);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{style:v?{background:v}:void 0,className:v?"py-20 md:py-30":void 0,children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"text-center mb-10",children:[h&&(0,t.jsx)("div",{className:`mb-4 [&>*]:text-3xl md:[&>*]:text-[44px] [&>*]:font-bold [&>*]:leading-tight ${_?"[&>*]:text-[#1a1a1a]":"[&>*]:text-white"}`,children:(0,t.jsx)(r.default,{value:h})}),g&&(0,t.jsx)("div",{className:`max-w-3xl mx-auto [&>*]:text-lg [&>*]:leading-relaxed ${_?"[&>*]:text-neutral-700":"[&>*]:text-neutral-400"}`,children:(0,t.jsx)(r.default,{value:g})})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 min-[480px]:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 md:gap-6",children:f?.map((e,a)=>(0,t.jsx)("div",{className:"bg-white overflow-hidden min-[480px]:h-[196px] [&>figure]:h-full",children:(0,t.jsx)(i.default,{src:e,className:"w-full h-full"})},a))}),w&&(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center mt-[1.875rem] md:mt-[3.75rem]",children:[(0,t.jsx)("button",{type:"button",onClick:()=>{N(!0),(0,c.trackEvent)("signup_button_clicked",{button_text:"start_free",button_location:"integrations_grid"})},className:"bg-neutral-500 text-white text-center border-2 border-[#ad24e7] rounded-lg self-center px-[3.75rem] py-5 font-medium text-xl leading-[1.111] tracking-[0.01em] inline-block emd:block emd:justify-center emd:items-center cursor-pointer transition-all duration-300 hover:text-white scale-3d-custom",children:k("startFree")}),(0,t.jsx)("div",{className:`${_?"text-[#1a1a1a]":"text-white"} text-center mt-5 font-bold text-lg`,children:k("buildCourseUnderMinute")})]}),b?.label&&(0,t.jsx)("div",{className:"flex justify-center pt-10 sm:pt-15",children:(0,t.jsx)(n.default,{block:b,locale:u})})]})}),w&&(0,t.jsx)(s.default,{isOpen:j,onClose:()=>N(!1)})]})}e.s(["default",()=>m])},59475,e=>{"use strict";var t=e.i(252),a=e.i(98993),l=e.i(18319);let r="true"===t.default.env.NEXT_PUBLIC_SANITY_VISUAL_EDITING_ENABLED,i="a[href], button, input, textarea, select, [tabindex]:not
1([tabindex='-1'])";function n(e){let{children:t,rootMargin:n="600px 0px",eager:s=!1}=e,d=(0,l.useId)(),o=(0,l.useRef)(null),c=(0,l.useRef)(null),[x,m]=(0,l.useState)(()=>!!s||!!r||!document.getElementById(d));return((0,l.useEffect)(()=>{if(!x||null===c.current||!o.current)return;let e=o.current.querySelectorAll(i);e[c.current]?.focus(),c.current=null},[x]),(0,l.useEffect)(()=>{if(x)return;let e=o.current;if(!e)return;if("undefined"==typeof IntersectionObserver)return void queueMicrotask(()=>m(!0));let t=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(m(!0),t.disconnect())},{rootMargin:n});t.observe(e);let a=()=>{let a=Array.from(e.querySelectorAll(i)).indexOf(document.activeElement);-1!==a&&(c.current=a),m(!0),t.disconnect()},l=()=>{m(!0),t.disconnect()};e.addEventListener("focusin",a,{once:!0});let r=window.matchMedia("(any-hover: hover)").matches;return r&&e.addEventListener("pointerenter",l,{once:!0}),()=>{t.disconnect(),e.removeEventListener("focusin",a),r&&e.removeEventListener("pointerenter",l)}},[x,n]),x)?(0,a.jsx)("div",{id:d,ref:o,children:t}):(0,a.jsx)("div",{id:d,ref:o,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:""},children:void 0})}e.s(["default",()=>n])}]);
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.