PageSourceSearch

https://www.framecompose.com/_next/static/chunks/4617-86aab336e71feac5.js

js framecompose.com collected 2026-10-02 01:30:56 UTC 43,377 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="67eec155-565c-4eb3-9edc-54ee8bda598a",e._sentryDebugIdIdentifier="sentry-dbid-67eec155-565c-4eb3-9edc-54ee8bda598a")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4617],{34744:(e,t,r)=>{r.d(t,{s:()=>s});var a=r(12115);function s(e){let t=(0,a.useMemo)(()=>(function(e,t=Date.now()){if(e){let r=Date.parse(e);if(Number.isFinite(r)&&r>t)return r}return function(e=Date.now()){let t=new Date(e);return Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()+1)}(t)})(e),[e]),[r,s]=(0,a.useState)(()=>Math.max(0,t-Date.now()));return(0,a.useEffect)(()=>{let e=()=>{s(Math.max(0,t-Date.now()))};e();let r=window.setInterval(e,15e3);return()=>window.clearInterval(r)},[t]),{label:function(e){if(e<=6e4)return"under a minute";let t=Math.ceil(e/6e4),r=Math.floor(t/60),a=t%60;return r<=0?`${a}m`:`${r}h ${a}m`}(r),msRemaining:r,elapsed:r<=0}}},36690:(e,t,r)=>{r.d(t,{Jt:()=>s,WI:()=>i,Xh:()=>n});let a="fc_pending_checkout_v1";function s(e){try{let t={plan:e,at:Date.now()};window.sessionStorage.setItem(a,JSON.stringify(t))}catch{}}function i(){try{let e=window.sessionStorage.getItem(a);if(!e)return null;window.sessionStorage.removeItem(a);let t=JSON.parse(e);if(!t||"number"!=typeof t.at||"string"!=typeof t.plan)return null;let r=Date.now()-t.at;if(r<0||r>72e5)return null;return{plan:t.plan,awayMs:r}}catch{return null}}function n(){try{window.sessionStorage.removeItem(a)}catch{}}},54617:(e,t,r)=>{r.d(t,{default:()=>es});var a=r(95155),s=r(98500),i=r.n(s),n=r(12115),l=r(54921),o=r(73321);function d({onChange:e}){let t=(0,o.useSearchParams)(),r=t?.get("checkout")??void 0,a=t?.get("returnTo")??void 0,s=t?.get("from")??void 0;return(0,n.useEffect)(()=>e({checkout:r,returnTo:a,from:s}),[r,a,s,e]),null}var c=r(92571),x=r(12363),p=r(19707),u=r(49804),m=r(69072),h=r(44236),g=r(86272),b=r(64577),f=r(90467),w=r(6923),v=r(36565),j=r(80438),_=r(19690),y=r(5772),N=r(96412);function k(){let[e,t]=(0,n.useState)(!1);return(0,a.jsxs)("figure",{className:"w-full max-w-[680px]","data-testid":"pricing-demo",children:[(0,a.jsx)("div",{className:"overflow-hidden rounded-2xl border border-white/[0.12] bg-[#080e1a] shadow-[0_24px_64px_-16px_rgba(0,0,0,0.6)]",children:e?(0,a.jsxs)("div",{children:[(0,a.jsx)(y.default,{src:"/landing/pigeons-vs-drones-poster.jpg",alt:"Pigeons vs Drones in the FrameCompose video editor",width:1280,height:720,sizes:"(min-width: 1024px) 50vw, 100vw",className:"aspect-video w-full object-cover"}),(0,a.jsxs)("p",{role:"status",className:"px-4 py-3 text-sm text-slate-400",children:["The walkthrough could not load."," ",(0,a.jsx)("button",{type:"button",onClick:()=>t(!1),className:"rounded font-medium text-blue-300 underline underline-offset-4 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-300",children:"Try again"})]})]}):(0,a.jsx)("video",{ref:e=>{e&&(e.muted=!0,e.defaultMuted=!0),e?.error&&t(!0)},controls:!0,muted:!0,suppressHydrationWarning:!0,playsInline:!0,preload:"none",width:1280,height:720,src:"/landing/pigeons-vs-drones-demo.m4v",poster:"/landing/pigeons-vs-drones-poster.jpg","aria-label":"Pigeons vs Drones: a silent walkthrough from prompt to editable video","aria-describedby":"pricing-demo-description",className:"block aspect-video w-full bg-black",onPlay:()=>(0,N.trackEvent)("pricing_demo_played",{demo:"pigeons-vs-drones"}),onError:()=>t(!0)})}),(0,a.jsx)("figcaption",{id:"pricing-demo-description",className:"mt-3 text-xs text-slate-400",children:"A prompt, generated scenes, an editable timeline."})]})}var $=r(81715),A=r(34744);let S=500/5.99;function C(e,t){return Math.floor(Math.round(e/t/S*100)/10)/10}function I(e){let t=Number.isInteger(e)?String(e):e.toFixed(1);return`${t}x`}var E=r(96330),F=r(65729),P=r(45734),q=r(36690),M=r(66713);let D=["Full timeline editor, unlimited projects","Free browser exports","Captions, effects & selected AI voices","Cloud projects with autosave"],T=["Everything in Free","Every AI image & video model","Premium voices & reusable characters","Cloud exports & 1 GB uploads"],L={studio:{name:"Studio",tagline:"For daily creators."},max:{name:"Max",tagline:"For bigger productions."}},O={pro:1,premium:1,studio:2,max:3},U={pro:"Pro",premium:"Pro",studio:"Studio",max:"Max"}
1,z="font-[family-name:var(--font-outfit)]",W="inline-flex items-center justify-center gap-2 rounded-xl text-sm font-semibold transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-[#05080f] active:scale-[0.98] disabled:cursor-not-allowed disabled:active:scale-100",R=`${W} bg-gradient-to-b from-sky-400 via-blue-500 to-blue-600 text-white shadow-[0_10px_34px_-8px_rgba(59,130,246,0.7),inset_0_1px_0_rgba(255,255,255,0.28)] ring-1 ring-sky-300/50 hover:-translate-y-0.5 hover:from-sky-300 hover:via-blue-400 hover:to-blue-500 hover:shadow-[0_16px_44px_-8px_rgba(59,130,246,0.8),inset_0_1px_0_rgba(255,255,255,0.32)] focus-visible:ring-sky-300 disabled:translate-y-0 disabled:from-slate-700 disabled:via-slate-700 disabled:to-slate-700 disabled:text-slate-400 disabled:shadow-none disabled:ring-white/10`,G=`${W} border border-white/[0.16] bg-transparent text-slate-100 hover:border-white/[0.3] hover:bg-white/[0.05] hover:text-white focus-visible:ring-slate-300 disabled:opacity-60`,Y=`${W} bg-gradient-to-b from-emerald-400 via-emerald-500 to-emerald-600 text-white shadow-[0_10px_34px_-8px_rgba(16,185,129,0.6),inset_0_1px_0_rgba(255,255,255,0.25)] ring-1 ring-emerald-300/50 hover:-translate-y-0.5 hover:from-emerald-300 hover:via-emerald-400 hover:to-emerald-500 hover:shadow-[0_16px_44px_-8px_rgba(16,185,129,0.7)] focus-visible:ring-emerald-300 disabled:translate-y-0 disabled:from-slate-700 disabled:via-slate-700 disabled:to-slate-700 disabled:text-slate-400 disabled:shadow-none disabled:ring-white/10`,J=`${W} bg-gradient-to-b from-indigo-400 via-indigo-500 to-indigo-600 text-white shadow-[0_10px_34px_-8px_rgba(99,102,241,0.6),inset_0_1px_0_rgba(255,255,255,0.25)] ring-1 ring-indigo-300/50 hover:-translate-y-0.5 hover:from-indigo-300 hover:via-indigo-400 hover:to-indigo-500 hover:shadow-[0_16px_44px_-8px_rgba(99,102,241,0.7)] focus-visible:ring-indigo-300 disabled:translate-y-0 disabled:from-slate-700 disabled:via-slate-700 disabled:to-slate-700 disabled:text-slate-400 disabled:shadow-none disabled:ring-white/10`,B="cursor-default border border-white/[0.08] bg-white/[0.03] text-slate-500",H=(0,E.iQ)("gpt-image-2","low",0),Q=[{feature:"Timeline editor & exports",free:!0,starter:!0,pro:!0},{feature:"Projects",free:"Unlimited",starter:"Unlimited",pro:"Unlimited"},{feature:"Selected AI voices & auto captions",free:!0,starter:!0,pro:!0},{feature:"Effects & transitions",free:"100+",starter:"100+",pro:"100+"},{feature:"Max upload size",free:"200 MB/file",starter:"1 GB/file",pro:"1 GB/file"},{feature:"AI scene generation",free:"2 free/day",starter:"1,000 credits",pro:"1,000/week"},{feature:"Animate scenes into video",free:!1,starter:!0,pro:"Seedance 2.0 + more"},{feature:"One-shot video generation",free:!1,starter:!0,pro:!0},{feature:"Premium image & video models",free:!1,starter:!0,pro:!0},{feature:"Premium voice & TTS models",free:!1,starter:!0,pro:!0},{feature:"Marketing Studio",free:!1,starter:!0,pro:!0},{feature:"Reference images & characters",free:!1,starter:!0,pro:!0},{feature:"AI voice design",free:!1,starter:!0,pro:!0},{feature:"Cloud projects & autosave",free:!0,starter:!0,pro:!0},{feature:"Unused credits",free:!1,starter:"Stay until spent",pro:"Weekly allowance resets"}],K=[{q:"What are AI credits and what do they buy?",a:`Credits are spent on paid AI generation. For example, one GPT Image 2 image at low quality with no reference images costs ${H} credits. Other models, higher quality, references and regenerations change the cost. Standard AI video scenes start at 80 credits, with cost depending on the model and duration. You see the quoted credits before generating. Editing, captions, effects, browser exports, and selected AI voices are free. Other voice options require payment.`,slug:"credits-explained"},{q:"Is the Creator Pack a subscription?",a:"No. It’s a one-time purchase. You get 1,000 credits that never expire, and it unlocks every AI model and premium feature while you have credits left. Need fewer? The 500-credit option is still available on the same card. Nothing renews, and 
1you can upgrade to Pro later if you start creating regularly.",slug:"starter-pack-subscription"},{q:"What happens to unused credits?",a:"One-time pack credits stay in your account until you spend them. They never expire, whether or not you have a subscription. Pro, Studio and Max have a separate weekly allowance that resets every Monday at 00:00 UTC; unused weekly credits do not carry forward. If you have both, we use your weekly allowance first, then your purchased balance.",slug:"unused-credits"},{q:"Can I use FrameCompose for free?",a:"Yes, and not as a trial. The editor, captions, effects, browser exports, and selected AI voices are free. The Free plan also includes 2 free AI scene generations per day, resetting at midnight UTC, so you can see how generation works.",slug:"free-plan",showCta:!0},{q:"What happens if I run out of credits?",a:"You can keep editing and exporting everything you’ve made - nothing locks. Weekly credits refresh every Monday (1,000 on Pro, 2,750 on Studio, 5,500 on Max), you can top up extra credits anytime from the billing page, or upgrade to a bigger plan and Stripe simply charges the prorated difference.",slug:"out-of-credits",showCta:!0},{q:"Can I cancel anytime?",a:"Yes. Cancel Pro in two clicks from the billing page. You keep Pro access until the end of your billing period, and your projects stay yours.",slug:"cancel-anytime",showCta:!0},{q:"How is this different from other AI video generators?",a:"Most AI video tools hand you a finished file - if one scene is wrong, you regenerate the whole thing and pay again. FrameCompose gives you an editable draft on a real timeline, so you fix the one scene, caption, or voiceover that needs it. Edits are free; you only pay for generation.",slug:"different-from-others"}],V="Opening Google sign-in...";function X({pending:e,children:t}){return(0,a.jsxs)("span",{className:"grid",children:[(0,a.jsxs)("span",{"aria-hidden":"true",className:"invisible col-start-1 row-start-1 inline-flex items-center justify-center gap-2 whitespace-nowrap",children:[(0,a.jsx)(c.A,{className:"h-4 w-4 flex-shrink-0"}),(0,a.jsx)("span",{children:V})]}),(0,a.jsx)("span",{"aria-hidden":"true",className:"invisible col-start-1 row-start-1 inline-flex items-center justify-center gap-2",children:t}),(0,a.jsx)("span",{className:"col-start-1 row-start-1 inline-flex items-center justify-center gap-2",children:e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.A,{className:"h-4 w-4 flex-shrink-0 animate-spin"}),(0,a.jsx)("span",{className:"whitespace-nowrap",children:V})]}):t})]})}function Z({plan:e,currentTier:t,currentPlan:r,isAuthenticated:a,isLoading:s}){if("free"===e)return"free"===t?"Current plan":"Included";if(s)return"Loading...";if(!a)return"Sign in to continue";let i=U[e]??e;return r===e||"pro"===e&&"premium"===r?"Current plan":r?(O[e]??0)>(O[r]??0)?`Upgrade to ${i}`:`Switch to ${i}`:"admin"===t?`Open ${i} checkout`:`Start ${i}`}function ee({q:e,a:t,cta:r,onOpen:s}
1){let[i,l]=(0,n.useState)(!1);return(0,a.jsxs)("div",{className:"border-b border-white/[0.06] last:border-b-0",children:[(0,a.jsxs)("button",{type:"button",onClick:()=>{let e=!i;l(e),e&&s()},"aria-expanded":i,className:"group flex w-full items-center justify-between gap-4 px-6 py-5 text-left text-[15px] font-medium text-slate-200 transition-colors hover:bg-white/[0.02] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-400/60",children:[(0,a.jsx)("span",{children:e}),(0,a.jsx)("span",{"aria-hidden":"true",className:`inline-flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full border transition-all duration-200 ${i?"rotate-180 border-blue-400/30 bg-blue-500/10 text-blue-300":"border-white/[0.08] bg-white/[0.03] text-slate-500 group-hover:border-white/[0.16] group-hover:text-slate-300"}`,children:(0,a.jsx)(x.A,{className:"h-3.5 w-3.5"})})]}),(0,a.jsx)("div",{className:`overflow-hidden transition-all duration-200 ${i?"max-h-[32rem] pb-5":"max-h-0"}`,children:(0,a.jsxs)("div",{className:"px-6",children:[(0,a.jsx)("p",{className:"text-sm leading-7 text-slate-400",children:t}),r]})})]})}function et({name:e,price:t,tagline:r,allowance:s,features:i,children:n,featured:l=!1,promotion:o,priceComparison:d,className:c="",enterDelay:x="0s"}){let f="Free"===e,w="Max"===e,v=f?p.A:l?u.A:w?m.A:h.A,j=f?"text-slate-300":l?"text-blue-300":"text-indigo-300",_=f?"from-slate-700/50 to-slate-800/70 ring-white/[0.08] text-slate-300":l?"from-blue-400/40 to-blue-600/[0.15] ring-blue-300/40 text-blue-300 shadow-[0_0_24px_-6px_rgba(96,165,250,0.6)]":w?"from-amber-300/35 to-amber-600/[0.12] ring-amber-300/40 text-amber-200 shadow-[0_0_24px_-6px_rgba(251,191,36,0.5)]":"from-indigo-500/30 to-indigo-500/[0.08] ring-indigo-400/30 text-indigo-300",y=f?"bg-white/[0.04] ring-white/[0.07]":l?"bg-blue-500/20 ring-blue-400/30":"bg-indigo-500/15 ring-indigo-400/25",N=f?"border-white/[0.07] bg-white/[0.03]":l?"border-blue-400/25 bg-blue-500/[0.1]":"border-indigo-400/20 bg-indigo-500/[0.08]";return(0,a.jsxs)("article",{id:l?"pro-plan":void 0,"data-testid":`plan-card-${e.toLowerCase()}`,style:{"--enter-delay":x},className:`hero-enter relative flex min-w-0 scroll-mt-24 flex-col rounded-[22px] transition-all duration-300 ${l?"z-10 bg-gradient-to-b from-sky-300/80 via-blue-500/35 to-indigo-500/40 p-px shadow-[0_0_0_1px_rgba(59,130,246,0.15),0_30px_90px_-24px_rgba(59,130,246,0.55),0_0_80px_-20px_rgba(96,165,250,0.35)] hover:shadow-[0_0_0_1px_rgba(96,165,250,0.3),0_36px_100px_-24px_rgba(59,130,246,0.65),0_0_100px_-20px_rgba(96,165,250,0.45)] xl:-my-4":f?"bg-gradient-to-b from-white/[0.09] to-white/[0.03] p-px hover:-translate-y-1 hover:from-white/[0.14] hover:shadow-[0_24px_60px_-24px_rgba(0,0,0,0.8)]":"bg-gradient-to-b from-indigo-400/50 via-indigo-500/[0.15] to-indigo-500/[0.06] p-px hover:-translate-y-1 hover:shadow-[0_24px_60px_-20px_rgba(99,102,241,0.4)]"} ${c}`,children:[l&&(0,a.jsxs)("span",{className:"absolute -top-[15px] left-1/2 z-20 inline-flex -translate-x-1/2 items-center gap-1.5 whitespace-nowrap rounded-full bg-gradient-to-b from-sky-400 to-blue-600 px-3.5 py-1.5 text-[11px] font-bold uppercase tracking-[0.12em] text-white shadow-[0_6px_20px_-4px_rgba(59,130,246,0.7),inset_0_1px_0_rgba(255,255,255,0.25)] ring-1 ring-sky-300/60",children:[(0,a.jsx)(g.A,{className:"h-3 w-3","aria-hidden":"true"}),o??"Recommended"]}),(0,a.jsxs)("div",{className:`relative flex h-full flex-col overflow-hidden rounded-[21px] bg-gradient-to-b p-6 sm:p-7 ${l?"from-[#0c1733] via-[#080e1f] to-[#060a13] xl:py-10":f?"from-[#0a0f1c] via-[#070b15] to-[#060911
1]":"from-[#0c1129] via-[#080c1a] to-[#060a13]"}`,children:[(0,a.jsx)("div",{"aria-hidden":"true",className:`pointer-events-none absolute inset-x-8 top-0 h-px bg-gradient-to-r from-transparent to-transparent ${l?"via-sky-200/70":f?"via-white/[0.18]":w?"via-amber-200/45":"via-indigo-200/50"}`}),!f&&(0,a.jsx)("div",{"aria-hidden":"true",className:`pointer-events-none absolute -right-20 -top-24 h-56 w-56 rounded-full blur-3xl ${l?"bg-blue-500/[0.22]":"bg-indigo-500/[0.12]"}`}),l&&(0,a.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute -bottom-24 -left-24 h-56 w-56 rounded-full bg-indigo-500/[0.14] blur-3xl"}),(0,a.jsxs)("div",{className:"relative flex h-full flex-col",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3.5",children:[(0,a.jsx)("span",{"aria-hidden":"true",className:`inline-flex h-12 w-12 shrink-0 items-center justify-center rounded-2xl bg-gradient-to-b ring-1 ${_}`,children:(0,a.jsx)(v,{className:"h-5 w-5"})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h2",{className:`${z} text-[22px] font-bold tracking-tight text-white`,children:e}),(0,a.jsx)("p",{className:`mt-0.5 text-[13px] ${f?"text-slate-500":l?"text-sky-200/70":"text-indigo-200/70"}`,children:r})]})]}),(0,a.jsxs)("p",{className:"mt-7 flex flex-wrap items-baseline gap-x-2.5",children:[(0,a.jsx)("span",{className:`${z} text-[3.75rem] font-bold leading-none tracking-[-0.03em] tabular-nums ${l?"bg-gradient-to-b from-white to-sky-100 bg-clip-text text-transparent drop-shadow-[0_0_30px_rgba(96,165,250,0.35)]":"text-white"}`,children:t.replace(" USD","")}),(0,a.jsx)("span",{className:"text-sm font-medium text-slate-500",children:f?"forever":"USD / month"})]}),d&&(0,a.jsx)("p",{className:"mt-2.5 text-xs leading-5 text-slate-400",children:d}),(0,a.jsxs)("p",{className:`mt-5 flex items-center gap-2.5 rounded-xl border px-3.5 py-2.5 text-[13px] font-semibold ${N} ${j}`,children:[(0,a.jsx)("span",{"aria-hidden":"true",className:`h-1.5 w-1.5 shrink-0 rounded-full ${f?"bg-slate-400":l?"bg-sky-300 shadow-[0_0_10px_rgba(125,211,252,0.9)]":"bg-indigo-300 shadow-[0_0_10px_rgba(165,180,252,0.8)]"}`}),s]}),(0,a.jsx)("div",{className:"mt-5",children:n}),(0,a.jsx)("ul",{className:"mt-7 space-y-3.5 border-t border-white/[0.07] pt-6",children:i.map(e=>(0,a.jsxs)("li",{className:"flex items-start gap-3 text-[13.5px] leading-5 text-slate-200",children:[(0,a.jsx)("span",{"aria-hidden":"true",className:`mt-px inline-flex h-5 w-5 shrink-0 items-center justify-center rounded-full ring-1 ${y}`,children:(0,a.jsx)(b.A,{className:`h-3 w-3 ${j}`,strokeWidth:3})}),(0,a.jsx)("span",{children:e})]},e))})]})]})]})}function er({info:e,busy:t,disabled:r,label:s,onSelect:i,authErrorSlot:n,pendingAuth:l}){let o=L[e.plan],d="Current plan"===s;return(0,a.jsxs)(et,{name:o.name,price:(0,F.wE)(e.priceUsd),tagline:o.tagline,allowance:`${e.weeklyCredits.toLocaleString()} credits every week`,features:["All Pro features included"],className:"order-3",enterDelay:"max"===e.plan?"0.3s":"0.22s",children:[(0,a.jsx)("button",{type:"button",onClick:i,disabled:r||t||d,"data-testid":`plan-${e.plan}-checkout`,className:`${d?`${W} ${B}`:J} w-full px-3 py-3.5`,children:(0,a.jsxs)(X,{pending:l,children:[(0,a.jsx)("span",{children:t?"Opening checkout...":s}),!t&&!d&&(0,a.jsx)(f.A,{className:"h-4 w-4"})]})}),n,(0,a.jsx)("p",{className:"mt-3 text-center text-[11.5px] text-slate-500",children:"Cancel anytime"})]})}function ea({initialPlans:e=[],embedded:t=!1,onStartFree:r,isStartingFree:s=!1}){let c,p,u=t?"section":"main",m=t?"h2":"h1",h=(0,o.useRouter)(),[y,S]=(0,n.useState)(null),E=null!==y,{status:L}=(0,l.wV)(),{entitlements:J,isLoading:H}=(0,$.G)(),V=H||!t&&!E,es=(0,n.useRef)(!1),ei=(0,n.useRef)(null);(0,n.useEffect)(()=>{let e=()=>{es.current||(es.current=!0,(0,N.registerSuperProperties)({pricing_offer_version:"pro-value-v5"}),(0,N.trackEvent)("pricing_offer_viewed",{pricing_offer_version:"pro-value-v5",...t?{source:"homepage"}:{}}))};if(!t)return void e();let r=ei.current;if(!r||!("IntersectionObserver"in window))return;let a=new IntersectionObserver(t=>{t.some(e=>e.isIntersecting)&&(e(),a.disconnect())});return a.observe(r),()=>a.disconnect()},[t]);
1let[en,el]=(0,n.useState)(null),[eo,ed]=(0,n.useState)(null),[ec,ex]=(0,n.useState)(null),[ep,eu]=(0,n.useState)(null),em=null!==ec||!t&&!E,eh=t?null:y?.checkout??null,eg=t?null:(0,M.b$)(y?.returnTo),eb=!t&&y?.from==="free-limit",ef=(0,M.W9)(eb?"/pricing?from=free-limit":"/pricing",eg),ew=(0,A.s)(J.freeTierResetsAt),ev=(0,F.wE)(20),ej=4*F.y5.usd,[e_,ey]=(0,n.useState)(!1),[eN,ek]=(0,n.useState)(F.Fy),e$=F.RI[eN],eA=(0,F.wE)(e$.usd),eS=500===e$.credits,eC=F.RI.length>1?eN/(F.RI.length-1)*100:0,eI=J.tier,eE="authenticated"===L,eF=J.plan??("pro"===eI?"pro":null),eP="pro"===eF||"premium"===eF,eq=!eP&&"loading"!==L,eM="pro"===en,[eD,eT]=(0,n.useState)(e);(0,n.useEffect)(()=>{let e=!1;return(0,P._F)().then(t=>{e||eT(t)}).catch(()=>{}),()=>{e=!0}},[]);let eL=[...eD.filter(e=>e.available&&("studio"===e.plan||"max"===e.plan))].sort((e,t)=>(O[e.plan]??0)-(O[t.plan]??0)),eO=2+eL.length,eU=eO>=4?"max-w-7xl":3===eO?"max-w-6xl":"max-w-4xl";(0,n.useEffect)(()=>{if(t||!E)return;let e=()=>{let e=(0,q.WI)();"cancelled"===eh?(0,N.trackEvent)("subscription_checkout_cancelled",e?{plan:e.plan,away_ms:e.awayMs}:{}):e&&(0,N.trackEvent)("subscription_checkout_abandoned",{plan:e.plan,away_ms:e.awayMs})};e();let r=t=>{t.persisted&&e()};return window.addEventListener("pageshow",r),()=>window.removeEventListener("pageshow",r)},[eh,t,E]),(0,n.useEffect)(()=>{eb&&(0,N.trackEvent)("pricing_free_limit_banner_shown")},[eb]),(0,n.useEffect)(()=>{let e=Array.from(ei.current?.querySelectorAll(".reveal-section")??[]);if(0===e.length)return;if("function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches||!("IntersectionObserver"in window))return void e.forEach(e=>e.classList.add("is-visible"));let t=new Set(e),r=e=>{e.classList.add("is-visible"),t.delete(e),a.unobserve(e)},a=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&r(e.target)})},{rootMargin:"0px 0px -8% 0px",threshold:.1}),s=0,i=()=>{s=0,t.forEach(e=>{e.getBoundingClientRect().top<window.innerHeight&&r(e)}),0===t.size&&window.removeEventListener("scroll",n)},n=()=>{s||(s=window.requestAnimationFrame(i))};return e.forEach(e=>a.observe(e)),window.addEventListener("scroll",n,{passive:!0}),i(),()=>{a.disconnect(),window.removeEventListener("scroll",n),s&&window.cancelAnimationFrame(s)}},[]);let ez=(0,n.useMemo)(()=>"cancelled"===eh?"Checkout was cancelled. No charge was made.":null,[eh]),eW=async(e,t)=>{if(!em){eu(null),ex(e);try{await (0,l.Jv)("google",{callbackUrl:t},{prompt:"select_account"})}catch{ex(null),eu({ctaId:e,message:"Could not open Google sign-in. Please try again."})}}},eR=e=>ep?.ctaId===e?(0,a.jsx)("p",{role:"alert",className:"mt-2 text-[12px] text-rose-300",children:ep.message}):null,eG=async(e,r)=>{if(ed(null),!eE){(0,N.trackEvent)("pricing_sign_in_requested",{source:t?"homepage":"pricing",plan:e}),await eW(r,ef);return}let a=!!eF&&eF!==e;el(e),(0,N.trackEvent)(a?"subscription_plan_change_started":"subscription_checkout_started",{plan:e,currentTier:eI,from_plan:eF??void 0});try{let t=a?await (0,P.M6)(e,eg):await (0,P.fw)(e,eg);a||(0,q.Jt)(e),window.location.assign(t.url)}catch(r){let t=r instanceof Error?r.message:"We couldn't open checkout right now. Please try again in a moment.";ed(t),(0,N.trackEvent)(a?"subscription_plan_change_failed":"subscription_checkout_failed",{plan:e,message:t}),el(null)}},eY=async()=>{ed(null);let e=e$.credits,r=500===e;if(!eE){(0,N.trackEvent)("pricing_sign_in_requested",{source:t?"homepage":"pricing",plan:r?"starter_pack":"credit_pack",credits:e}),await eW("pack",ef);return}ey(!0),(0,N.trackEvent)(r?"starter_pack_checkout_started":"credit_checkout_started",{source:t?"homepage":"pricing_page",credits:e,currentTier:eI});try{let t=await (0,P.KS)(e,eg);(0,q.Jt)(r?"starter_pack":"credit_pack"),window.location.assign(t.url)}catch(a){let t=a instanceof Error?a.message:"We couldn't open checkout right now. Please try again in a moment.";ed(t),(0,N.trackEvent)(r?"starter_pack_checkout_failed":"credit_checkout_failed",{credits:e,message:t}),ey(!1)}};return(0,a.jsxs)(u,{ref:ei,"data-public-pricing":!0,id:t?"pricing":void 0,"data-testid":t?"home-pricing-section":void 0,"aria-labelledby":t?"home-pricing-heading":void 0,className:"relative min-h-[calc(100vh-64px)] overflow-x-clip bg-[#05080f] text-white selection:bg-blue-500/30 selection:text-white",children:[(0,a.jsxs)("noscript",{children:[(0,a.jsx)("style",{children:"[data-public-pricing] .reveal-section{opacity:1!important;transform:none!important}"}),(0,a.jsx)("p",{className:"px-6 pt-6 text-sm text-slate-300",children:"Prices and plan details are available here. Enable JavaScript to sign in or use checkout."})]}),!t&&(0,a.jsx)(n.Suspense,{fallback:null,children:(0,a.jsx)(d,{onChange:S})}),(0,a.jsxs)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 overflow-hidden",children:[(0,a.jsx)("div",{className:"absolute -top-[22%] left-1/2 h-[90vh] w-[150vw] -translate-x-1/2 roun
1ded-full bg-[radial-gradient(ellipse_at_center,rgba(59,130,246,0.16),transparent_58%)]"}),(0,a.jsx)("div",{className:"landing-aurora absolute left-[8%] top-[6%] h-[60vh] w-[46vw] rounded-full bg-[radial-gradient(ellipse_at_center,rgba(56,189,248,0.09),transparent_62%)] blur-2xl"}),(0,a.jsx)("div",{className:"landing-aurora-delayed absolute right-[-10%] top-[30%] h-[70vh] w-[55vw] rounded-full bg-[radial-gradient(ellipse_at_center,rgba(99,102,241,0.09),transparent_60%)] blur-2xl"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(to_right,rgba(148,163,184,0.045)_1px,transparent_1px),linear-gradient(to_bottom,rgba(148,163,184,0.045)_1px,transparent_1px)] bg-[size:64px_64px] [mask-image:radial-gradient(ellipse_80%_48%_at_50%_0%,black_20%,transparent_78%)]"}),(0,a.jsx)("div",{className:"landing-grain absolute inset-0 opacity-[0.045] mix-blend-soft-light"})]}),(0,a.jsxs)("section",{className:"relative mx-auto max-w-7xl px-5 pb-20 pt-9 sm:px-6 sm:pt-12",children:[eb&&(0,a.jsxs)("div",{className:"mx-auto mb-8 flex max-w-3xl items-center gap-3 rounded-xl border border-amber-400/25 bg-amber-950/40 px-4 py-3 text-sm text-amber-200/90","data-testid":"pricing-free-limit-banner",children:[(0,a.jsx)(w.A,{className:"h-4 w-4 flex-shrink-0 text-amber-400"}),(0,a.jsxs)("span",{children:["You’ve used today’s free generations."," ",ew.elapsed?(0,a.jsx)(a.Fragment,{children:"Your free generations are back - or go Pro and never wait."}):(0,a.jsxs)(a.Fragment,{children:["Next free generation in"," ",(0,a.jsx)("strong",{className:"tabular-nums text-amber-300",suppressHydrationWarning:!0,children:ew.label})," ","- or go Pro and never hit the wall."]})]})]}),ez&&(0,a.jsx)("div",{className:"mx-auto mb-8 max-w-3xl rounded-xl border border-amber-400/20 bg-amber-950/40 px-4 py-3 text-sm text-amber-200/90",children:ez}),(0,a.jsx)(_.H,{className:"mx-auto mb-8 max-w-3xl"}),(0,a.jsx)(j.P,{className:"mx-auto mb-8 max-w-3xl"}),eo&&(0,a.jsx)("div",{className:"mx-auto mb-8 max-w-3xl rounded-xl border border-rose-400/20 bg-rose-950/40 px-4 py-3 text-sm text-rose-200/90",children:eo}),(0,a.jsxs)("header",{className:"hero-enter-headline mb-9 text-center sm:mb-12",children:[(0,a.jsx)(m,{id:t?"home-pricing-heading":void 0,className:`${z} text-balance bg-gradient-to-b from-white via-white to-slate-300 bg-clip-text text-[2.35rem] font-bold leading-[1.05] tracking-[-0.03em] text-transparent sm:text-[3.1rem]`,children:"The editor is free. Forever."}),(0,a.jsxs)("p",{className:"mt-4 text-[15px] text-slate-400 sm:text-[17px]",children:["Choose a plan for AI generation, or"," ",(0,a.jsx)("a",{href:"#credit-packs",className:"rounded text-sky-300 underline decoration-sky-300/40 underline-offset-4 transition-colors hover:text-sky-200 hover:decoration-sky-200/70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky-300",children:"buy credits as you go"}),"."]})]}),(0,a.jsxs)("div",{className:`relative mx-auto ${eU}`,children:[(0,a.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute left-1/2 top-1/2 -z-10 h-[120%] w-[70%] -translate-x-1/2 -translate-y-1/2 rounded-full bg-[radial-gradient(ellipse_at_center,rgba(59,130,246,0.14),transparent_62%)] blur-3xl md:left-[62%] md:w-[55%]"}),(0,a.jsxs)("div",{id:"plans",className:`grid gap-6 lg:items-stretch ${eO>=4?"md:grid-cols-2 xl:grid-cols-4":3===eO?"lg:grid-cols-3":"md:grid-cols-2"} ${2===eO?"md:gap-7":""}`,children:[(0,a.jsxs)(et,{name:"Free",price:"$0",tagline:"For your first videos.",allowance:"2 free AI scenes every day",features:D,className:"order-2 md:order-1",enterDelay:"0.12s",children:[(0,a.jsx)("button",{type:"button",onClick:()=>{r?r():eE?h.push("/"):eW("plan-free","/")},disabled:em||s||!t&&null===y,className:`${G} w-full px-3 py-3.5`,children:(0,a.jsx)(X,{pending:"plan-free"===ec,children:"Start editing free"})}),eR("plan-free"),(0,a.jsx)("p",{className:"mt-3 text-center text-[11.5px] text-slate-500",children:"No credit card required."})]}),(0,a.jsxs)(et,{name:"Pro",price:ev,tagline:"For weekly creators.",allowance:"1,000 credits every week",features:T,featured:!0,promotion:"Nearly half price",priceComparison:(0,a.jsxs)(a.Fragment,{children:["Four ",F.y5.credits.toLocaleStr
1ing(),"-credit packs:"," ",(0,a.jsx)("strong",{className:"font-medium text-slate-500 line-through decoration-slate-500/70 decoration-[1.5px]",children:(0,F.wE)(ej).replace(" USD","")})]}),className:"order-1 md:order-2",enterDelay:"0.04s",children:[(0,a.jsx)("button",{type:"button",onClick:()=>eG("pro","plan-pro"),disabled:!eq||eM||V||em,"data-testid":"plan-pro-checkout",className:`${eP?`${W} ${B}`:`${R} pricing-cta-sheen`} w-full px-3 py-4 text-[15px]`,children:(0,a.jsxs)(X,{pending:"plan-pro"===ec,children:[(0,a.jsx)("span",{children:eM?"Opening checkout...":Z({plan:"pro",currentTier:eI,currentPlan:eF,isAuthenticated:eE,isLoading:V})}),eq&&!eM&&!V&&(0,a.jsx)(f.A,{className:"h-4 w-4","aria-hidden":"true"})]})}),eR("plan-pro"),(0,a.jsx)("p",{className:"mt-3 text-center text-[11.5px] text-slate-500",children:"Cancel anytime"})]}),eL.map(e=>{let t=Z({plan:e.plan,currentTier:eI,currentPlan:eF,isAuthenticated:eE,isLoading:V});return(0,a.jsx)(er,{info:e,busy:en===e.plan,disabled:V||em,label:t,onSelect:()=>eG(e.plan,`plan-${e.plan}`),authErrorSlot:eR(`plan-${e.plan}`),pendingAuth:ec===`plan-${e.plan}`},e.plan)})]})]}),(0,a.jsx)("p",{className:"mx-auto mt-5 max-w-3xl text-center text-xs leading-relaxed text-slate-500",children:"Subscription credits refresh weekly and don't roll over. Purchased credits never expire."}),(0,a.jsx)("div",{id:"credit-packs",style:{"--enter-delay":"0.34s"},className:`hero-enter mx-auto mt-8 scroll-mt-24 ${eU}`,children:(0,a.jsx)("article",{className:"relative rounded-[22px] bg-gradient-to-r from-emerald-300/60 via-emerald-500/20 to-emerald-500/[0.08] p-px shadow-[0_24px_70px_-28px_rgba(16,185,129,0.45)] transition-shadow duration-300 hover:shadow-[0_28px_80px_-28px_rgba(16,185,129,0.6)]",children:(0,a.jsxs)("div",{className:"relative overflow-hidden rounded-[21px] bg-gradient-to-r from-[#07160f] via-[#060c14] to-[#060a13] p-6 sm:p-7",children:[(0,a.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-10 top-0 h-px bg-gradient-to-r from-transparent via-emerald-200/60 to-transparent"}),(0,a.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute -left-24 -top-28 h-64 w-64 rounded-full bg-emerald-400/[0.14] blur-3xl"}),(0,a.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute -bottom-32 right-[30%] h-56 w-56 rounded-full bg-emerald-500/[0.07] blur-3xl"}),(0,a.jsxs)("div",{className:"relative grid min-w-0 gap-7 lg:grid-cols-[minmax(0,0.85fr)_minmax(0,1.65fr)] lg:items-center lg:gap-0",children:[(0,a.jsxs)("div",{className:"lg:pr-9",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3.5",children:[(0,a.jsx)("span",{"aria-hidden":"true",className:"inline-flex h-12 w-12 shrink-0 items-center justify-center rounded-2xl bg-gradient-to-b from-emerald-400/35 to-emerald-600/[0.12] text-emerald-200 shadow-[0_0_24px_-6px_rgba(52,211,153,0.6)] ring-1 ring-emerald-300/40",children:(0,a.jsx)(g.A,{className:"h-5 w-5"})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h2",{className:`${z} text-[22px] font-bold tracking-tight text-white`,children:e$.name}),(0,a.jsx)("p",{className:"mt-0.5 text-[13px] text-emerald-200/70",children:"One payment. Credits never expire."})]})]}),(0,a.jsxs)("p",{className:"mt-6 flex flex-wrap items-baseline gap-x-2.5",children:[(0,a.jsx)("span",{className:`${z} bg-gradient-to-b from-white to-emerald-100 bg-clip-text text-[3rem] font-bold leading-none tracking-[-0.03em] text-transparent tabular-nums`,children:eA.replace(" USD","")}),(0,a.jsx)("span",{className:"text-sm font-medium text-slate-500",children:"USD once"})]}),(0,a.jsx)("p",{className:"mt-4 text-[13px] text-slate-500",children:"Every AI model unlocked. No subscription."})]}),(0,a.jsxs)("div",{className:"lg:border-l lg:border-white/[0.07] lg:pl-9",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-x-3 gap-y-1.5",children:[(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[(0,a.jsxs)("span",{className:"text-[15px] font-semibold text-emerald-200",children:[e$.credits.toLocaleString()," credits"]}),(0,a.jsxs)("span",{className:"rounded-full bg-emerald-400/15 px-2 py-0.5 text-[11px] font-bold text-emerald-200 ring-1 ring-emerald-300/30","data-testid":"pack-value-badge",children:[I(C(e$.credits,e$.usd))," ","value"]})]}),(0,a.jsx)("span",{className:"text-[12px] tabular-nums text-slate-500",children:(p=(c=e$.usd/e$.credits*100)>=1?c.toFixed(1).replace(/\.0$/,""):c.toFixed(1),`${p}\xa2 per credit`)})]}),(0,a.jsx)("input",{type:"range",min:0,max:F.RI.length-1,step:1,value:eN,onChange:e=>ek(Number(e.target.value)),"aria-label":"Choose a credit pack size","data-testid":"credit-pack-slider",style:{backgroundImage:"linear-gradient(90deg, rgba(52,211,153,0.9), rgba(16,185,129,0.9))",backgroundSize:`${eC}% 100%`,backgroundRepeat:"no-repeat"},className:"mt-4 h-2 w-full cursor-pointer appearance-none rounded-full bg-white/[0.08] accent-emerald-500 [&::-webkit-slider-thumb]:h-5 [&::-webkit-slider-thumb]:w-5 [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-2 [&::-webkit-slider-thumb]:border-[#07160f] [&::-webkit-slider-thumb]:bg-emerald-300 [&::-webkit-slider-thumb]:shadow-[0_0_0_3px_rgba(52,211,153,0.35),0_0_16px_rgba(52,211,153,0.7)] [&::-webkit-slider-thumb]:transition-transform [&::-webkit-slider-thumb]:hover:scale-110 [&::-moz-range-thumb]:h-5 [&::-moz-range-thumb]:w-5 [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-2 [&::-moz-range-thumb]:border-[#07160f] [&::-moz-range-thumb]:bg-emerald-300"}),(0,a.jsx)("div",{className:"mt-3 grid grid-cols-4 gap-1.5",children:F.RI.map((e,t)=>(0,a.jsxs)("button",{type:"button",onClick:()=>ek(t),"aria-pressed":t===eN,className:`flex flex-col items-center rounded-lg border px-1 py-1.5 text-[12px] tabular-nums transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-emerald-300 ${t===eN?"border-emerald-300/40 bg-emerald-400/[0.14] font-semibold text-emerald-100 shadow-[0_0_20px_-6px_rgba(52,211,153,0.6)]":"border-transparent text-slate-500 hover:border-white/[0.08] hover:bg-white/[0.03] hover:text-slate-300"}`,children:[(0,a.jsx)("span",{children:e.credits>=1e3?`${e.credits/1e3}k`:e.credits}),(0,a.jsx)("span",{className:`text-[10px] ${t===eN?"text-emerald-300/90":"text-slate-600"}`,children:I(C(e.credits,e.usd))})]},e.credits))}),(0,a.jsxs)("div",{className:"mt-5 flex flex-col gap-3 sm:flex-row sm:items-center",children:[(0,a.jsx)("button",{type:"button",onClick:eY,disabled:e_||V||em,"data-testid":"credit-pack-checkout",className:`${Y}
1 w-full px-5 py-3.5 text-[15px] sm:w-auto sm:flex-1`,children:(0,a.jsxs)(X,{pending:"pack"===ec,children:[(0,a.jsx)("span",{children:e_?"Opening checkout...":`Get ${e$.credits.toLocaleString()} credits for ${eA}`}),!e_&&(0,a.jsx)(f.A,{className:"h-4 w-4","aria-hidden":"true"})]})}),!eS&&(0,a.jsxs)("button",{type:"button",onClick:()=>ek(F.LQ),"data-testid":"credit-pack-smaller-option",className:"rounded px-1 text-center text-[12px] leading-snug text-slate-500 transition-colors hover:text-emerald-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-emerald-300 sm:max-w-[190px] sm:text-left",children:["Need fewer credits? Get ",F.AT.credits.toLocaleString()," credits for ",(0,F.wE)(F.AT.usd)]})]}),eR("pack")]})]})]})})}),eE&&(0,a.jsxs)("div",{className:"mx-auto mt-7 flex w-fit max-w-full items-center justify-center gap-3 rounded-full border border-white/[0.08] bg-white/[0.03] px-4 py-2 text-[12px] text-slate-500 shadow-[0_2px_16px_-8px_rgba(0,0,0,0.5)]",children:[(0,a.jsxs)("span",{children:["Current plan:"," ",(0,a.jsx)("span",{className:"capitalize text-slate-300",children:eF?U[eF]??eF:eI})]}),(0,a.jsx)("span",{className:"text-slate-700",children:"\xb7"}),(0,a.jsxs)(i(),{href:"/billing",className:"inline-flex items-center gap-1 text-slate-400 transition-colors hover:text-white",children:["Manage billing",(0,a.jsx)(f.A,{className:"h-3 w-3"})]})]}),(0,a.jsxs)("div",{className:"reveal-section mx-auto mt-12 max-w-5xl divide-y divide-white/[0.06] overflow-hidden rounded-[22px] border border-white/[0.08] bg-white/[0.02] shadow-[0_2px_24px_-8px_rgba(0,0,0,0.4)]",children:[(0,a.jsxs)("details",{className:"group",children:[(0,a.jsxs)("summary",{className:"flex cursor-pointer list-none items-center justify-between gap-4 px-6 py-5 text-[15px] font-medium text-slate-200 transition-colors hover:bg-white/[0.02] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-400/60 [&::-webkit-details-marker]:hidden",children:["Compare all features",(0,a.jsx)("span",{"aria-hidden":"true",className:"inline-flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full border border-white/[0.08] bg-white/[0.03] text-slate-500 transition-all duration-200 group-hover:border-white/[0.16] group-hover:text-slate-300 group-open:rotate-180 group-open:border-blue-400/30 group-open:bg-blue-500/10 group-open:text-blue-300",children:(0,a.jsx)(x.A,{className:"h-3.5 w-3.5"})})]}),(0,a.jsx)("div",{className:"hidden border-t border-white/[0.06] sm:block",children:(0,a.jsxs)("table",{className:"w-full text-sm",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{className:"border-b border-white/[0.08] bg-white/[0.02]",children:[(0,a.jsx)("th",{className:"px-6 py-4 text-left text-[12px] font-semibold uppercase tracking-wider text-slate-500",children:"Feature"}),(0,a.jsx)("th",{className:"px-6 py-4 text-center text-[12px] font-semibold uppercase tracking-wider text-slate-500",children:"Free"}),(0,a.jsx)("th",{className:"px-6 py-4 text-center text-[12px] font-semibold uppercase tracking-wider text-emerald-400",children:"Creator Pack"}),(0,a.jsx)("th",{className:"border-x border-blue-500/[0.12] bg-blue-500/[0.07] px-6 py-4 text-center text-[12px] font-semibold uppercase tracking-wider text-blue-300",children:"Pro"})]})}),(0,a.jsx)("tbody",{children:Q.map(e=>(0,a.jsxs)("tr",{className:"border-b border-white/[0.04] transition-colors last:border-b-0 hover:bg-white/[0.02]",children:[(0,a.jsx)("td",{className:"px-6 py-4 text-slate-300",children:e.feature}),(0,a.jsx)("td",{className:"px-6 py-4 text-center",children:!0===e.free?(0,a.jsx)(b.A,{className:"mx-auto h-4 w-4 text-slate-500"}):!1===e.free?(0,a.jsx)(v.A,{className:"mx-auto h-4 w-4 text-slate-700"}):(0,a.jsx)("span",{className:"text-slate-400",children:e.free})}),(0,a.jsx)("td",{className:"px-6 py-4 text-center",children:!0===e.starter?(0,a.jsx)(b.A,{className:"mx-auto h-4 w-4 text-emerald-400"}):!1===e.starter?(0,a.jsx)(v.A,{className:"mx-auto h-4 w-4 text-slate-700"}):(0,a.jsx)("span",{className:"text-emerald-300/90",children:e.starter})}),(0,a.jsx)("td",{className:"border-x border-blue-500/[0.12] bg-blue-500/[0.04] px-6 py-4 text-center",children:!0===e.pro?(0,a.jsx)(b.A,{className:"mx-auto h-4 w-4 text-blue-400",strokeWidth:2.5}):!1===e.pro?(0,a.jsx)(v.A,{className:"mx-auto h-4 w-4 text-slate-700"}):(0,a.jsx)("span",{className:"font-medium text-blue-300",children:e.pro})})]},e.feature))})]})}),(0,a.jsx)("div",{className:"space-y-2.5 border-t border-white/[0.06] px-4 py-4 sm:hidden",children:Q.map(e=>(0,a.jsxs)("div",{className:"rounded-xl border border-white/[0.06] bg-white/[0.02] px-4 py-3",children:[(0,a.jsx)("span",{className:"text-sm text-slate-300",children:e.feature}),(0,a.jsxs)("div",{className:"mt-2 flex gap-6",children:[(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("span",{className:"block text-[10px] uppercase text-slate-600",children:"Free"}),!0===e.free?(0,a.jsx)(b.A,{className:"mx-auto mt-0.5 h-4 w-4 text-slate-500"}):!1===e.free?(0,a.jsx)(v.A,{className:"mx-auto mt-0.5 h-4 w-4 text-slate-700"}):(0,a.jsx)("span",{className:"mt-0.5 block text-[12px] text-slate-400",children:e.free})]}),(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("span",{className:"block text-[10px] uppercase text-emerald-400",children:"Creator Pack"}),!0===e.starter?(0,a.jsx)(b.A,{className:"mx-auto mt-0.5 h-4 w-4 text-emerald-400"}):!1===e.starter?(0,a.jsx)(v.A,{className:"mx-auto mt-0.5 h-4 w-4 text-slate-700"}):(0,a.jsx)("span",{className:"mt-0.5 block text-[12px] text-emerald-300/90",children:e.starter})]}),(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("span",{className:"block text-[10px] uppercase text-blue-400",children:"Pro"}),!0===e.pro?(0,a.jsx)(b.A,{className:"mx-auto mt-0.5 h-4 w-4 text-blue-400"}):!1===e.pro?(0,a.jsx)(v.A,{className:"mx-auto mt-0.5 h-4 w-4 text-slate-700"}):(0,a.jsx)("span",{className:"mt-0.5 block text-[12px] font-medium text-blue-300",children:e.pro})]})]})]},e.feature))})]}),(0,a.jsxs)("details",{className:"group","data-testid":"pricing-demo-disclosure",children:[(0,a.jsxs)("summary",{className:"flex cursor-pointer list-none items-center justify-between gap-4 px-6 py-5 text-[15px] font-medium text-slate-200 transition-colors hover:bg-white/[0.02] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-400/60 [&::-webkit-details-marker]:hidden",children:["Watch a 16-second walkthrough",(0,a.jsx)("span",{"aria-hidden":"true",className:"inline-flex h-7 w-7 flex-shrink-0 items-center justify-center rounded-full border border-white/[0.08] bg-white/[0.03] text-slate-500 transition-all duration-200 group-hover:border-white/[0.16] group-hover:text-slate-300 group-open:rotate-180 group-open:border-blue-400/30 group-open:bg-blue-500/10 group-open:text-blue-300",children:(0,a.jsx)(x.A,{className:"h-3.5 w-3.5"})})]}),(0,a.jsx)("div",{className:"mx-auto max-w-2xl border-t border-white/[0.06] px-4 pb-6 pt-5",children:(0,a.jsx)(k,{})})]})]}),(0,a.jsxs)("div",{className:"reveal-section mx-auto mt-16 max-w-3xl",children:[(0,a.jsxs)("div",{className:"mb-6 text-center",children:[(0,a.jsx)("h2",{className:`${z} text-2xl font-bold tracking-tight text-white sm:text-[1.9rem]`,children:"Frequently asked questions"}),(0,a.jsx)("div",{"aria-hidden":"true",className:"mx-auto mt-4 h-1 w-12 rounded-full bg-gradient-to-r from-sky-4
100/80 to-indigo-500/80"})]}),(0,a.jsx)("div",{className:"overflow-hidden rounded-[22px] border border-white/[0.08] bg-white/[0.02] shadow-[0_2px_24px_-8px_rgba(0,0,0,0.4)]",children:K.map(e=>(0,a.jsx)(ee,{q:e.q,a:e.a,onOpen:()=>(0,N.trackEvent)("pricing_faq_opened",{question:e.slug}),cta:e.showCta?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{type:"button",onClick:()=>{var t;return t=e.slug,void((0,N.trackEvent)("pricing_faq_cta_clicked",{question:t}),eE?h.push("/projects/create"):eW(`faq-${t}`,"/projects/create"))},disabled:em,"data-testid":`faq-cta-${e.slug}`,className:`${Y} mt-4 rounded-lg px-4 py-2 text-[13px]`,children:(0,a.jsx)(X,{pending:ec===`faq-${e.slug}`,children:"Start free, no card needed"})}),eR(`faq-${e.slug}`)]}):void 0},e.q))})]})]})]})}function es(e){return(0,a.jsx)(ea,{...e})}}}]);

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.