1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},i=(new e.Error).stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="1a2a58ae-0df2-40a4-808c-aeedeeaa0d6b",e._sentryDebugIdIdentifier="sentry-dbid-1a2a58ae-0df2-40a4-808c-aeedeeaa0d6b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6179],{743:(e,i,t)=>{"use strict";t.d(i,{PricingPersonalizedSection:()=>n});var o=t(4364),a=t(94160),r=t(89917);function n(){let{user:e}=(0,a.U)();return(0,o.jsx)(r.PricingClient,{user:e??null,analyticsSurface:"pricing_page"})}},820:(e,i,t)=>{"use strict";t.d(i,{q:()=>n});var o=t(44032),a=t(47127);let r=e=>String(e).padStart(2,"0");function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.T4,[i,t]=(0,o.useState)(null),n=e instanceof Date?e.getTime():"number"==typeof e?e:new Date(e).getTime();return(0,o.useEffect)(()=>{let e=Date.now();if(t(e),!Number.isFinite(n)||e>=n)return;let i=window.setInterval(()=>{let e=Date.now();t(e),e>=n&&window.clearInterval(i)},1e3);return()=>window.clearInterval(i)},[n]),(0,o.useMemo)(()=>{let e,t,o,a;if(null==i)return{isReady:!1,isExpired:!1,parts:null};let s=n-i;return!Number.isFinite(s)||s<=0?{isReady:!0,isExpired:!0,parts:null}:{isReady:!0,isExpired:!1,parts:(e=Math.floor(s/864e5),t=Math.floor(s%864e5/36e5),o=Math.floor(s%36e5/6e4),a=Math.floor(s%6e4/1e3),{days:String(e).padStart(2,"0"),hours:r(t),minutes:r(o),seconds:r(a)})}},[n,i])}},3549:(e,i,t)=>{"use strict";t.d(i,{g:()=>o});let o="raphael:show-annual-pricing"},4586:(e,i,t)=>{"use strict";t.d(i,{default:()=>c});var o=t(4364),a=t(44032),r=t(23955),n=t(27995),s=t(38406),d=t(46957),l=t(820),m=t(47127);function c(){let e=(0,r.c)("promo.newYear"),i=(0,r.c)("promo.hero"),t=(0,r.c)("promo.countdown"),{isReady:c,isExpired:u,parts:p}=(0,l.q)(),g=(0,a.useMemo)(()=>({days:t("days"),hours:t("hours"),minutes:t("minutes"),seconds:t("seconds")}),[t]);return m.$v.showPricingPromo&&c&&!u&&p?(0,o.jsxs)("div",{className:"relative mx-auto mb-16 mt-8 w-full max-w-5xl overflow-hidden rounded-[2rem] border border-[#FDB931]/50 shadow-2xl shadow-[#FFD700]/20",children:[(0,o.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-[#FFD700] via-[#FDB931] to-[#FFC857]",children:(0,o.jsx)("div",{className:"absolute -top-1/2 -left-1/2 h-[200%] w-[200%] bg-gradient-to-br from-transparent via-white/20 to-transparent rotate-12 animate-shine opacity-30"})}),(0,o.jsxs)("div",{className:"relative z-10 flex flex-col items-center justify-between gap-10 px-6 py-12 md:flex-row md:px-12 md:py-16",children:[(0,o.jsxs)("div",{className:"flex flex-col items-start gap-6 text-left max-w-lg",children:[(0,o.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-[#3A1D00]/10 bg-white/20 px-3 py-1 backdrop-blur-md shadow-sm",children:[(0,o.jsx)(n.A,{className:"h-3.5 w-3.5 text-[#D93025]"}),(0,o.jsx)("span",{className:"text-xs font-bold uppercase tracking-widest text-[#3A1D00]",children:e("badge")})]}),(0,o.jsxs)("h3",{className:"text-4xl font-black leading-tight text-[#3A1D00] md:text-5xl lg:text-6xl",children:[(0,o.jsx)("span",{className:"block opacity-90",children:i("headline")}),(0,o.jsxs)("span",{className:"block",children:[(0,o.jsx)("span",{className:"text-[#D93025] drop-shadow-sm",children:i("highlight")}),(0,o.jsx)("span",{className:"ml-3 text-3xl font-bold text-[#3A1D00]/60",children:i("subline")})]})]}),(0,o.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row",children:[(0,o.jsx)("button",{type:"button",onClick:()=>document.getElementById("plans")?.scrollIntoView({behavior:"smooth"}),className:"group relative inline-flex items-center justify-center gap-2 overflow-hidden rounded-full bg-[#3A1D00] px-8 py-3.5 text-base font-bold text-white transition-all hover:scale-105 active:scale-95 shadow-xl shadow-[#3A1D00]/20",children:(0,o.jsxs)("span",{className:"relative z-10 inline-flex items-center gap-2",children:[e("cta")," ",(0,o.jsx)(s.A,{className:"h-4 w-4"})]})}),(0,o.jsx)("p",{className:"whitespace-pre-line text-sm text-[#3A1D00]/60 max-w-[200px] leading-relaxed font-medium",children:i("notice")})]})]}),(0,o.jsx)("div",{className:"relative",children:(0,o.jsxs)("div",{className:"relative rounded-2xl border border-[#3A1D00]/5 bg-white/20 p-6 backdrop-blur-md shadow-lg ring-1 ring-[#3A1D00]/5",children:[(0,o.jsx)("div",{className:"mb-4 text-center text-xs font-bold uppercase tracking-[0.2em] text-[#3A1D00]/60",children:i("timerLabel")}),(0,o.jsx)(d.A,{parts:p,labels:g,variant:"hero"})]})})]})]}):null}},7298:(e,i,t)=>{"use strict";t.d(i,{KV:()=>b,ML:()=>f,N7:()=>r,T1:()=>s,Z3:()=>x,lC:()=>g,sh:()=>v,xD:()=>h,yb:()=>n});var o=t(93423),a=t(90938);let r="NEW",n="HOT",s="FREE",d=new Set(["minimax-h3-turbo","raphael-video-pro"]),l=new Set(["minimax-h3-turbo","minimax-h3"]),m={"nano-banana-2-lite":"Nano Banana 2 Lite","seedream-5-flash":"Seedream 5.0 Flash","seedream-5-pro":"Seedream 5.0 Pro","gpt-image-2-5":"GPT Image 2.5","gpt-image-2":"GPT Image 2","nano-banana-2":"Nano Banana 2","seedream-5":"Seedream 5.0 Lite","seedream-4-5":"Seedream 4.5","seedream-4":"Seedream 4.0","nano-banana-pro":"Nano Banana Pro","nano-banana":"Nano Banana","raphael-image-model":"Seedream 3.5 Pro","seedance-2-mini":"Seedance 2.0 Mini","minimax-h3-turbo":"MiniMax H3 Turbo","minimax-h3":"MiniMax H3","minimax-h3-max-turbo":"MiniMax H3 Max Turbo","minimax-h3-max":"MiniMax H3 Max","gemini-omni":"Gemini Omni Flash","seedance-2-5":"Seedance 2.5","seedance-1-5":"Seedance 1.5 Pro","seedance-1":"Seedance 1.0 Pro Fast","kling-3-turbo":"Kling 3.0 Turbo","seedance-2":"Seedance 2.0","veo-3-1":"Veo 3.1","kling-3":"Kling 3.0","raphael-video-pro":"MiniMax H3 Turbo","topaz-video-upscaler":"Topaz Video Upscaler"},c={"gpt-image-2-5":"/images/logos/image-models/openai.svg","gpt-image-2":"/images/logos/image-models/openai.svg","seedream-5-flash":"/images/logos/image-models/seedream.svg","seedream-5-pro":"/images/logos/image-models/seedream.svg","seedream-5":"/images/logos/image-models/seedream.svg","seedream-4-5":"/images/logos/image-models/seedream.svg","seedream-4":"/images/logos/image-models/seedream.svg","raphael-image-model":"/images/logos/image-models/seedream.svg","seedance-2-mini":"/images/logos/video-models/seedance.svg","minimax-h3-turbo":"/images/logos/video-models/minimax-h3-icon.png","minimax-h3":"/images/logos/video-models/minimax-h3-icon.png","minimax-h3-max-turbo":"/images/logos/video-models/minimax-h3-icon.png","minimax-h3-max":"/images/logos/video-models/minimax-h3-icon.png","gemini-omni":"/images/logos/video-models/gemini-omni-flash-aurora.svg","seedance-2-5":"/images/logos/video-models/seedance.svg","seedance-1-5":"/images/logos/video-models/seedance.svg","seedance-1":"/images/logos/video-models/seedance.svg","kling-3-turbo":"/images/logos/video-models/kling-official.png","seedance-2":"/images/logos/video-models/seedance.svg","veo-3-1":"/images/logos/video-models/google-g.svg","kling-3":"/images/logos/video-models/kling-official.png","raphael-video-pro":"/images/logos/video-models/minimax-h3-icon.png","topaz-video-upscaler":"/images/logos/video-models/topaz.png"},u={"nano-banana-2-lite":"\uD83C\uDF4C","nano-banana-2":"\uD83C\uDF4C","nano-banana-pro":"\uD83C\uDF4C","nano-banana":"\uD83C\uDF4C"},p={"gpt-image-2-5":"gpt-image-2-5-flare","seedance-2-mini":"seedance-2.0-mini","seedance-2-5":"seedance-2.5"};function g(e){return(0,o.Xm)(p[e]??e)}function f(e){return m[e]}function x(e){return c[e]}function h(e){return u[e]}function b(e,i){let t;if("gpt-image-2-5"===e||"gpt-image-2-5-flare"===e)return["-50%"];if(d.has(e))return[s];let n=a.i6.find(i=>i.id===e),m=n?Object.keys(n.pricing).find(e=>(0,a.d7)(n,e)):void 0;return n?.promotion&&m?[`-${Math.round((1-n.promotion.priceRate)*100)}%`]:l.has(e)?["-70%"]:"seedream-5-flash"===e?["-40%"]:(t=p[e]??e,(0,o.Kx)(t))?[r]:[]}function v(e){return e?b(e,"").find(e=>/^-\d+%$/.test(e))??null:null}},10613:(e,i,t)=>{Promise.resolve().then(t.bind(t,743)),Promise.resolve().then(t.bind(t,4586)
1),Promise.resolve().then(t.bind(t,82130)),Promise.resolve().then(t.bind(t,89931)),Promise.resolve().then(t.bind(t,10937)),Promise.resolve().then(t.t.bind(t,43815,23))},22583:(e,i,t)=>{"use strict";t.d(i,{B5:()=>p,Sc:()=>x,V$:()=>f,Zn:()=>s,af:()=>a,d2:()=>l,fM:()=>h,gS:()=>m,hf:()=>d,ik:()=>g,lB:()=>r,m2:()=>n,ws:()=>c,xu:()=>u});var o=t(46325);let a="rounded-[16px] bg-[rgba(72,52,38,0.22)] shadow-[inset_0_1px_0_rgba(255,255,255,0.018)]",r="p-0.5",n="space-y-0",s="scrollbar-ui-thin [scrollbar-gutter:stable] p-1.5 pr-1",d="rounded-[20px] bg-[rgba(41,30,23,0.992)] shadow-[0_40px_80px_-12px_rgba(0,0,0,0.66)] backdrop-blur-2xl",l="flex gap-0.5 rounded-[11px] bg-[rgba(72,52,38,0.2)] p-0.5 shadow-[inset_0_1px_0_rgba(255,255,255,0.015)]",m="rounded-[13px] bg-[rgba(72,52,38,0.2)] p-1 shadow-[inset_0_1px_0_rgba(255,255,255,0.015)]",c="border-transparent bg-[rgba(120,87,60,0.9)] text-foreground shadow-[inset_0_1px_0_rgba(255,255,255,0.045)]",u="border-transparent bg-transparent text-foreground/68 hover:bg-[rgba(98,71,51,0.28)] hover:text-foreground/88",p="border-transparent bg-[rgba(110,80,56,0.54)] text-foreground shadow-[0_18px_32px_-28px_rgba(57,34,19,0.4),inset_0_1px_0_rgba(255,255,255,0.038)]",g="border-transparent bg-transparent text-foreground/76 hover:bg-[rgba(96,69,50,0.28)] hover:text-foreground/90",f=`${o.FB} ${o.Jg}`,x=`${o.FB} ${o._x}`,h="rounded-[5px] bg-primary/20 text-primary"},23992:(e,i,t)=>{"use strict";t.d(i,{Cf:()=>u,Es:()=>g,HM:()=>m,L3:()=>f,c7:()=>p,lG:()=>s,rr:()=>x,zM:()=>d});var o=t(4364),a=t(44032),r=t(38551),n=t(14423);let s=r.bL,d=r.l9,l=r.ZL,m=r.bm,c=a.forwardRef((e,i)=>{let{className:t,...a}=e;return(0,o.jsx)(r.hJ,{ref:i,className:(0,n.cn)("fixed inset-0 z-[300] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...a})});c.displayName=r.hJ.displayName;let u=a.forwardRef((e,i)=>{let{className:t,children:a,hideClose:s,...d}=e;return(0,o.jsxs)(l,{children:[(0,o.jsx)(c,{}),(0,o.jsx)(r.UC,{ref:i,className:(0,n.cn)("fixed left-[50%] top-[50%] z-[300] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...d,children:a})]})});u.displayName=r.UC.displayName;let p=e=>{let{className:i,...t}=e;return(0,o.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-1.5 text-center sm:text-left",i),...t})};p.displayName="DialogHeader";let g=e=>{let{className:i,...t}=e;return(0,o.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",i),...t})};g.displayName="DialogFooter";let f=a.forwardRef((e,i)=>{let{className:t,...a}=e;return(0,o.jsx)(r.hE,{ref:i,className:(0,n.cn)("text-lg font-semibold leading-none tracking-tight",t),...a})});f.displayName=r.hE.displayName;let x=a.forwardRef((e,i)=>{let{className:t,...a}=e;return(0,o.jsx)(r.VY,{ref:i,className:(0,n.cn)("text-sm text-muted-foreground",t),...a})});x.displayName=r.VY.displayName},32650:(e,i,t)=>{"use strict";t.d(i,{LR:()=>r,hs:()=>n});var o=t(62093);let a=[{id:"raphael-basic",label:"Seedream 3.5",logoSrc:"/images/logos/image-models/seedream.svg",detailKey:"basic"},{id:"raphael-pro",label:"Seedream 3.5 Pro",logoSrc:"/images/logos/image-models/seedream.svg",detailKey:"image",upgradeNameKey:"raphaelImage"},{id:"minimax-h3-turbo",label:"MiniMax H3 Turbo",logoSrc:"/images/logos/video-models/minimax-h3-icon.png",detailKey:"video",upgradeNameKey:"raphaelVideo"},{id:"minimax-h3",label:"MiniMax H3",logoSrc:"/images/logos/video-models/minimax-h3-icon.png",detailKey:"video",upgradeNameKey:"minimaxH3"}];function r(e){return["pro","ultimate","max"].includes(e)?a.filter(i=>"basic"===i.detailKey||(0,o.$2)(e,"image"===i.detailKey?{kind:"image",modelId:i.id,resolution:"1.5k",quality:"low"}:{kind:"video",modelId:i.id,resolution:"480p",durationSeconds:4})):[]}function n(e){let i=new Set(r(e).map(e=>e.id));return i.size?a.map(e=>({model:e,included:i.has(e.id)}
1)):[]}},46325:(e,i,t)=>{"use strict";t.d(i,{FB:()=>o,Jg:()=>a,_x:()=>r});let o="rounded-[5px]",a="bg-primary text-primary-foreground shadow-[inset_0_1px_0_rgba(255,255,255,0.08)]",r="bg-[#e05256] text-white shadow-[inset_0_1px_0_rgba(255,255,255,0.10)]"},46957:(e,i,t)=>{"use strict";t.d(i,{A:()=>r});var o=t(4364),a=t(14423);function r(e){let{parts:i,labels:t,variant:r="hero",className:n}=e,s=[{label:t.days,value:i.days},{label:t.hours,value:i.hours},{label:t.minutes,value:i.minutes},{label:t.seconds,value:i.seconds}],d="compact"===r;return(0,o.jsx)("div",{className:(0,a.cn)("flex items-center justify-center",d?"gap-2":"gap-3 sm:gap-4",n),children:s.map(e=>(0,o.jsxs)("div",{className:"flex flex-col items-center",children:[(0,o.jsxs)("div",{className:(0,a.cn)("relative flex items-center justify-center overflow-hidden rounded-xl border tabular-nums transition-all duration-300",d?"h-9 w-10 border-[#3A1D00]/10 bg-[#3A1D00]/5 text-sm font-bold text-[#3A1D00] backdrop-blur-sm sm:h-10 sm:w-11 sm:text-base":"h-16 w-14 border-[#3A1D00]/10 bg-[#3A1D00]/5 text-2xl font-bold text-[#3A1D00] backdrop-blur-md sm:h-24 sm:w-20 sm:text-4xl sm:font-bold shadow-sm"),children:[!d&&(0,o.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-white/20 to-transparent pointer-events-none"}),(0,o.jsx)("span",{className:"relative z-10 drop-shadow-sm",children:e.value})]}),!d&&(0,o.jsx)("span",{className:"mt-2 text-[10px] font-medium uppercase tracking-widest text-[#3A1D00]/60 sm:text-xs",children:e.label})]},e.label))})}},47127:(e,i,t)=>{"use strict";t.d(i,{$v:()=>o,C4:()=>r,T4:()=>a,fZ:()=>n});let o={showLanguageBanner:!1,showPromoTopBanner:!1,showUnlimitedTopBanner:!0,showPricingPromo:!0},a=Date.parse("2026-01-14T00:00:00Z"),r=5e3,n=108e5},50278:(e,i,t)=>{"use strict";t.d(i,{K:()=>l,x:()=>m});var o=t(4364),a=t(61810),r=t(68494),n=t(99909),s=t(77886),d=t(14423);function l(e){let{children:i,className:t}=e;return(0,o.jsx)("div",{className:(0,d.cn)("mx-auto grid max-w-[1180px] gap-4 md:grid-cols-3",t),children:i})}function m(e){let{planType:i,planName:t,billingInterval:l,monthlyPrice:m,yearlyMonthlyPrice:c,badgeLabel:u,isRecommended:p=!1,action:g}=e;return(0,o.jsxs)("section",{className:(0,d.cn)("relative rounded-xl p-5 transition-all duration-300 hover:-translate-y-1 hover:shadow-xl",p?"order-1 border-2 border-primary/80 bg-primary/[0.08] shadow-2xl shadow-primary/25 ring-2 ring-primary/20 md:order-none":"order-2 border border-primary/20 bg-card/95 shadow-lg shadow-black/10 ring-1 ring-primary/10 md:order-none"),children:[u?(0,o.jsx)(r.X,{className:"absolute right-0 top-0 rounded-bl-md rounded-br-none rounded-tl-none rounded-tr-[11px]",children:u}):null,(0,o.jsx)("div",{className:"flex h-full flex-col justify-between gap-4",children:(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:"mb-3 flex min-h-7 flex-wrap items-center gap-1.5",children:[(0,o.jsx)("h3",{className:"text-lg font-semibold",children:t}),"yearly"===l?(0,o.jsx)(n.u,{className:"h-[18px] px-2 text-[11px]"}):null]}),(0,o.jsx)("div",{className:"mb-3 min-h-[76px]",children:(0,o.jsx)(s.Z,{billingInterval:l,monthlyPrice:m,yearlyMonthlyPrice:c,compact:!0})}),g?(0,o.jsx)("div",{className:"mb-4",children:g}):null,(0,o.jsx)(a.PricingPlanFeatures,{planType:i,compact:!0})]})})]})}},57257:(e,i,t)=>{"use strict";t.d(i,{Bc:()=>s,ZI:()=>m,k$:()=>l,m_:()=>d});var o=t(4364),a=t(44032),r=t(41735),n=t(14423);function s(e){let{delayDuration:i=0,skipDelayDuration:t=0,...a}=e;return(0,o.jsx)(r.Kq,{delayDuration:i,skipDelayDuration:t,...a})}let d=r.bL,l=r.l9,m=a.forwardRef((e,i)=>{let{className:t,sideOffset:a=3,collisionPadding:s=8,...d}=e;return(0,o.jsx)(r.ZL,{children:(0,o.jsx)(r.UC,{ref:i,sideOffset:a,collisionPadding:s,className:(0,n.cn)("z-[10000] max-w-[14rem] overflow-hidden rounded-md border bg-popover px-2 py-1 text-[11px] leading-snug text-popover-foreground shadow-md animate-in fade-in-0 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",t),...d})})});m.displayName=r.UC.displayName},61810:(e,i,t)=>{"use strict";t.d(i,{PricingPlanFeatures:()=>b});var o=t(4364),a=t(38536),r=t(55188),n=t(21208),s=t(69248),d=t(23955
1),l=t(98244),m=t(14423);let c=[{modelId:"minimax-h3",name:"MiniMax H3",src:"/images/logos/video-models/minimax-h3-icon.png"},{modelId:"gemini-omni",name:"Gemini",src:"/images/logos/video-models/gemini-omni-flash-aurora.svg"},{name:"Nano Banana",src:"/images/logos/video-models/google-g.svg"},{modelId:"gpt-image-2-5",name:"GPT",src:"/images/logos/image-models/openai.svg"},{modelId:"seedream-5-flash",name:"Seedream",src:"/images/logos/image-models/seedream.svg"},{name:"Veo",src:"/images/logos/video-models/google-g.svg"},{modelId:"seedance-2.5",name:"Seedance 2.5",src:"/images/logos/video-models/seedance.svg"},{name:"Kling",src:"/images/logos/video-models/kling-color.svg"}];function u(e){let{label:i,className:t,tone:a="default"}=e,r="inverse"===a;return(0,o.jsxs)("div",{className:(0,m.cn)("min-w-0",t),children:[(0,o.jsx)("div",{className:(0,m.cn)("font-medium",r?"text-white":"text-foreground"),children:i}),(0,o.jsx)("div",{className:"mt-2.5 grid grid-cols-8 gap-x-0.5",children:c.map(e=>(0,o.jsxs)("span",{className:"flex min-w-0 flex-col items-center gap-1 text-center",children:[(0,o.jsx)("span",{className:(0,m.cn)("inline-flex size-6 shrink-0 items-center justify-center overflow-hidden rounded-full border shadow-sm",r?"border-white/15 bg-black":"border-border/60 bg-background"),children:(0,o.jsx)("img",{src:e.src,alt:"",className:"size-4 object-contain",loading:"lazy"})}),(0,o.jsx)("span",{className:(0,m.cn)("min-w-0 text-[8px] leading-[10px] sm:text-[9px]",r?"text-white/65":"text-muted-foreground"),children:e.name}),(0,o.jsx)(l.s,{modelId:e.modelId})]},e.modelId??e.name))})]})}var p=t(57257),g=t(60226),f=t(90938);function x(e,i,t){return[e,i,t].filter(Boolean).join(" ")}function h(e){let{text:i,emphasis:t}=e;if(!t)return i;let a=i.indexOf(t);return -1===a?i:(0,o.jsxs)(o.Fragment,{children:[i.slice(0,a),(0,o.jsx)("span",{className:"font-semibold text-primary",children:t}),i.slice(a+t.length)]})}function b(e){let{planType:i,compact:t=!1}=e,l=(0,d.c)("pricing"),c=(0,d.c)("upgradeModal.insufficientCredits"),b=(0,g.YB)("pro")?.amount||2e3,v=(0,g.YB)("ultimate")?.amount||5e3,y=(0,g.YB)("max")?.amount||1e4,w=(0,f.Dr)(),M=(0,f.QH)(b),S=(0,f.QH)(v),I=(0,f.QH)(y),j=c("models.title"),P=b.toLocaleString(),N=v.toLocaleString(),_=y.toLocaleString(),k=M.toLocaleString(),R=S.toLocaleString(),V=I.toLocaleString(),T=x(c("benefits.maxImagesPrefix"),P,c("benefits.maxImagesSuffix")),A=x(c("benefits.maxImagesPrefix"),N,c("benefits.maxImagesSuffix")),C=x(c("benefits.maxImagesPrefix"),_,c("benefits.maxImagesSuffix")),D=x(c("benef
1its.maxVideosPrefix"),k,c("benefits.maxVideosSuffix")),L=x(c("benefits.maxVideosPrefix"),R,c("benefits.maxVideosSuffix")),F=x(c("benefits.maxVideosPrefix"),V,c("benefits.maxVideosSuffix")),G=c("benefits.imageEstimateHint"),E=c("benefits.videoEstimateHint",{model:w.modelLabel,resolution:w.resolutionLabel,duration:w.durationSeconds,credits:w.creditsPerVideo}),O={[l("features.priorityQueue.title")]:l("features.priorityQueue.tooltip"),[l("features.highestPriority.title")]:l("features.highestPriority.tooltip"),[l("features.refineSpeed.title")]:l("features.refineSpeed.tooltip"),[l("features.privateGen.title")]:l("features.privateGen.tooltip"),[l("features.fullPrivacy.title")]:l("features.fullPrivacy.tooltip"),[l("features.hdImages.title")]:l("features.hdImages.tooltip"),[l("features.aiPhotoEditorSlow.title")]:l("features.aiPhotoEditorSlow.tooltip"),[T]:G,[A]:G,[C]:G,[D]:E,[L]:E,[F]:E,[l("features.noVideoGeneration.title")]:l("features.noVideoGeneration.tooltip")},q={pro:[j,{text:l("features.credits.monthly",{amount:P}),emphasis:P},{text:T,emphasis:P,hasTooltip:!0},{text:D,emphasis:k,hasTooltip:!0},[l("features.priorityQueue.title"),!0],l("features.noWatermarks"),c("benefits.batchImageUpscaling"),[l("features.fullPrivacy.title"),!0]],ultimate:[j,{text:l("features.credits.monthly",{amount:N}),emphasis:N},{text:A,emphasis:N,hasTooltip:!0},{text:L,emphasis:R,hasTooltip:!0},[l("features.highestPriority.title"),!0],l("features.noWatermarks"),c("benefits.batchImageUpscaling"),[l("features.fullPrivacy.title"),!0]],max:[j,{text:l("features.credits.monthly",{amount:_}),emphasis:_},{text:C,emphasis:_,hasTooltip:!0},{text:F,emphasis:V,hasTooltip:!0},[l("features.highestPriority.title"),!0],l("features.noWatermarks"),c("benefits.batchImageUpscaling"),[l("features.fullPrivacy.title"),!0]]},B="pro"===i||"ultimate"===i||"max"===i?q[i]:null;return B?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a.Jm,{planType:i}),(0,o.jsx)("ul",{className:(0,m.cn)("flex flex-col",t?"gap-2 text-sm leading-5":"gap-3"),children:B.map((e,a)=>{let{text:d,hasTooltip:c,emphasis:g}=Array.isArray(e)?{text:e[0],hasTooltip:e[1],emphasis:void 0}:"string"==typeof e?{text:e,hasTooltip:!1,emphasis:void 0}:{text:e.text,hasTooltip:e.hasTooltip??!1,emphasis:e.emphasis},f=d===l("features.noHdImages")||d===l("features.noVideoGeneration.title")||"pro"===i&&d===l("features.fullPrivacy.title"),x=d===j;return(0,o.jsxs)("li",{className:(0,m.cn)("flex items-start",t?"gap-1.5":"gap-2",x&&"border-t border-border/60 pt-3"),children:[x?null:f?(0,o.jsx)(r.A,{className:(0,m.cn)("shrink-0 text-muted-foreground/70",t?"mt-0.5 size-3.5":"mt-1 size-4")}):(0,o.jsx)(n.A,{className:(0,m.cn)("shrink-0 text-primary",t?"mt-0.5 size-3.5":"mt-1 size-4")}),(0,o.jsxs)("div",{className:f?"flex items-center gap-1 text-muted-foreground":x?"min-w-0 flex-1":"flex items-center gap-1",children:[x?(0,o.jsx)(u,{label:d}):(0,o.jsx)(h,{text:d,emphasis:g}),c&&O[d]?(0,o.jsx)(p.Bc,{children:(0,o.jsxs)(p.m_,{children:[(0,o.jsx)(p.k$,{asChild:!0,children:(0,o.jsx)(s.A,{className:(0,m.cn)("cursor-pointer text-muted-foreground",t?"h-3.5 w-3.5":"h-4 w-4")})}),(0,o.jsx)(p.ZI,{side:"right",children:(0,o.jsx)("p",{className:"w-[200px]",children:O[d]})})]})}):null]})]},a)})})]}):null}},62093:(e,i,t)=>{"use strict";function o(e){return["pro","ultimate","max"].includes(e)}function a(e){return"video"===e.kind&&"minimax-h3-turbo"===e.modelId&&(e.outputCount??1)===1&&4===e.durationSeconds&&(!e.quality||"low"===r(e.quality))&&["480p","480p-low"].includes(r(e.resolution))}function r(e){return"string"==typeof e?e.trim().toLowerCase():""}function n(e,i){return("image"===i.kind&&"ultimate"===e||"max"===e)&&function(e){let i=e.outputCount??1;if(!Number.isInteger(i)||i<1)return!1;let t=r(e.resolution);if("image"===e.kind)return"raphael-pro"===e.modelId&&["1k","1.5k"].includes(t)&&"low"===r(e.quality)&&i<=4;if(1!==i)return!1;let o="minimax-h3-turbo"===e.modelId?"low":"minimax-h3"===e.modelId?"medium":null;if(!o)return!1;let a=t.replace(/-(low|medium|high)$/,"");if(!["480p","768p"].includes(a)||t!==a&&t!==`${a}-${o}`||e.quality&&r(e.quality)!==o)return!1;let n=e.durationSeconds;return Number.isInteger(n)&&n>=4&&n<=("480p"===a?8:6)}(i)}function s(e,i){return n(e,{kind:"video",modelId:i,resolution:"480p",durationSeconds:4,outputCount:1})}t.d(i,{$2:()=>n,fy:()=>a,j5:()=>o,t9:()=>s})},67864:(e,i,t)=>{"use strict";t.d(i,{$:()=>m,r:()=>l});var o=t(4364),a=t(44032),r=t(67330),n=t(20720),s=t(41166),d=t(14423);let l=(0,n.F)("relative inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-[var(--ui-radius-control)] text-sm font-medium ring-offset-background transition-[background-color,border-color,color,box-shadow,transform] duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-[var(--ui-disabled-opacity)] disabled:shadow-none active:translate-y-
1px [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"border border-transparent bg-[var(--ui-button-primary-bg)] text-[var(--ui-button-primary-fg)] shadow-[var(--ui-shadow-button)] hover:bg-[var(--ui-button-primary-bg-hover)] hover:shadow-[var(--ui-shadow-button-hover)]",destructive:"border border-transparent bg-[var(--ui-button-danger-bg)] text-[var(--ui-button-danger-fg)] shadow-[var(--ui-shadow-button)] hover:bg-[var(--ui-button-danger-bg-hover)] hover:shadow-[var(--ui-shadow-button-hover)]",outline:"border border-[var(--ui-button-secondary-border)] bg-[var(--ui-button-secondary-bg)] text-[var(--ui-button-secondary-fg)] shadow-[var(--ui-shadow-soft)] hover:border-[var(--ui-button-secondary-border-strong)] hover:bg-[var(--ui-button-secondary-bg-hover)]",secondary:"border border-[var(--ui-button-secondary-border)] bg-[var(--ui-button-secondary-bg)] text-[var(--ui-button-secondary-fg)] shadow-[var(--ui-shadow-soft)] hover:border-[var(--ui-button-secondary-border-strong)] hover:bg-[var(--ui-button-secondary-bg-hover)]",ghost:"border border-transparent bg-transparent text-foreground shadow-none hover:bg-[var(--ui-button-ghost-bg-hover)] hover:text-foreground",link:"h-auto rounded-none border-none bg-transparent px-0 py-0 text-primary shadow-none underline-offset-4 hover:text-primary/80 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 px-3.5 text-sm",lg:"h-11 px-6 text-base",icon:"h-10 w-10 p-0"}},defaultVariants:{variant:"default",size:"default"}}),m=a.forwardRef((e,i)=>{let{className:t,variant:a,size:n,asChild:m=!1,loading:c=!1,disabled:u,children:p,...g}=e,f=m?r.DX:"button",x=u||c;return(0,o.jsxs)(f,{className:(0,d.cn)(l({variant:a,size:n}),c?"pointer-events-none opacity-[var(--ui-disabled-opacity)] shadow-none":null,t),ref:i,disabled:"button"===f?x:void 0,"aria-disabled":x||void 0,"aria-busy":c||void 0,"data-loading":c?"true":void 0,...g,children:[c?(0,o.jsx)(s.A,{className:"animate-spin","aria-hidden":"true"}):null,(0,o.jsx)(r.xV,{children:p})]})});m.displayName="Button"},70121:(e,i,t)=>{"use strict";t.d(i,{E:()=>s});var o=t(4364);t(44032);var a=t(20720),r=t(14423);let n=(0,a.F)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function s(e){let{className:i,variant:t,...a}=e;return(0,o.jsx)("div",{className:(0,r.cn)(n({variant:t}),i),...a})}},80668:(e,i,t)=>{"use strict";t.d(i,{Tabs:()=>s,TabsContent:()=>m,TabsList:()=>d,TabsTrigger:()=>l});var o=t(4364),a=t(44032),r=t(35458),n=t(14423);let s=r.bL,d=a.forwardRef((e,i)=>{let{className:t,...a}=e;return(0,o.jsx)(r.B8,{ref:i,className:(0,n.cn)("inline-flex items-center justify-center gap-1 rounded-[calc(var(--ui-radius-control)+4px)] border border-border/40 bg-muted/40 p-1 text-muted-foreground shadow-[var(--ui-shadow-soft)]",t),...a})});d.displayName=r.B8.displayName;let l=a.forwardRef((e,i)=>{let{className:t,...a}=e;return(0,o.jsx)(r.l9,{ref:i,className:(0,n.cn)("inline-flex h-9 items-center justify-center whitespace-nowrap rounded-[var(--ui-radius-control)] border border-transparent px-3.5 py-2 text-sm font-medium ring-offset-background transition-[background-color,border-color,color,box-shadow,transform] duration-150 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-[var(--ui-disabled-opacity)] active:translate-y-px data-[state=active]:border-[var(--ui-selection-border)] data-[state=active]:bg-[var(--ui-selection-bg)] data-[state=active]:text-foreground data-[state=active]:shadow-[var(--ui-shadow-selected)] data-[state=inactive]:text-muted-foreground data-[state=inactive]:hover:bg-background/70 data-[state=inactive]:hover:text-foreground",t),...a})});l.displayName=r.l9.displayName;let m=a.forwardRef((e,i)=>{let{className:t,...a}=e;return(0,o.jsx)(r.UC,{ref:i,className:(0,n.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...a})});m.displayName=r.UC.displayName},82130:(e,i,t)=>{"use strict";t.d(i,{Accordion:()=>d,AccordionContent:()=>c,AccordionItem:()=>l,AccordionTrigger:()=>m});var o=t(4364),a=t(44032),r=t(86251),n=t(5886),s=t(14423);let d=r.bL,l=a.forwardRef((e,i)=>{let{className:t,...a}=e;return(0,o.jsx)(r.q7,{ref:i,className:(0,s.cn)("border-b",t),...a})});l.displayName="AccordionItem";let m=a.forwardRef((e,i)=>{let{className:t,children:a,...d}=e;return(0,o.jsx)(r.Y9,{className:"flex",children:(0,o.jsxs)(r.l9,{ref:i,className:(0,s.cn)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",t),...d,children:[a,(0,o.jsx)(n.A,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})})});m.displayName=r.l9.displayName;let c=a.forwardRef((e,i)=>{let{className:t,children:a,...n}=e;return(0,o.jsx)(r.UC,{ref:i,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:(0,o.jsx)("div",{className:(0,s.cn)("pb-4 pt-0",t),children:a})})});c.displayName=r.UC.displayName},89917:(e,i,t)=>{"use strict";t.r(i),t.d(i,{PricingClient:()=>_});
1var o=t(4364),a=t(44032),r=t(67864),n=t(41166),s=t(23955),d=t(91760),l=t(30869),m=t(94160),c=t(9115),u=t(89113),p=t(2530),g=t(48041),f=t(63035),x=t(69893),h=t(72755),b=t(80668),v=t(45001),y=t(99909),w=t(50278),M=t(14423),S=t(61564),I=t(10785),j=t(3549);let P="raphael_subscription_checkout_started";function N(){try{window.localStorage.removeItem(P)}catch{}}function _(e){let{user:i,analyticsSurface:t}=e,_=(0,s.c)("pricing"),k=(0,d.Ym)(),{setShowSignModal:R}=(0,m.U)(),{trackEvent:V}=(0,p.s)(),[T,A]=(0,a.useState)("yearly"),[C,D]=(0,a.useState)("yearly");(0,a.useEffect)(()=>{if("pricing_page"!==t)return;let e=()=>{A("yearly"),D("yearly")};return window.addEventListener(j.g,e),()=>window.removeEventListener(j.g,e)},[t]);let[L,F]=(0,a.useState)(null),G=(0,a.useRef)(null),E=(0,a.useRef)(!1),O=_("creditPacks.tab"),q=(0,u.e)(i?.membership?.paymentGateway),B=!!(i?.plan&&"free"!==i.plan),$=i?.membership?.paymentGateway==="admin";(0,S.Z)(()=>{F(null),N()}),(0,a.useEffect)(()=>{V("pricing_page_viewed",{billing_type:"credit_packs"===T?"credit_packs":C},g.E)},[T,C,V]),(0,a.useEffect)(()=>{let e=G.current;if(!e||E.current)return;let i=null,o=()=>{null!==i&&(window.clearTimeout(i),i=null)},a=()=>{E.current||(E.current=!0,V("pricing_component_view_qualified",{surface_type:t,engagement_ms:1e3,visible_ratio:.25},g.E))};if(!("IntersectionObserver"in window))return void a();let r=new IntersectionObserver(e=>{let[t]=e;!t?.isIntersecting||t.intersectionRatio<.25?o():null===i&&(i=window.setTimeout(()=>{i=null,a(),r.disconnect()},1e3))},{threshold:[0,.25]});return r.observe(e),()=>{o(),r.disconnect()}},[t,V]),(0,a.useEffect)(()=>{("credit_packs"===new URLSearchParams(window.location.search).get("tab")||"#credit-packs"===window.location.hash)&&A("credit_packs")},[]);let z=[{name:_("plans.pro.name"),type:"pro",price:{monthly:"--",yearly:"--"},button:{text:_("plans.pro.button")}},{name:_("plans.ultimate.name"),type:"ultimate",price:{monthly:"--",yearly:"--"},button:{text:_("plans.ultimate.button")}},{name:_("plans.max.name"),type:"max",price:{monthly:"--",yearly:"--"},button:{text:_("plans.max.button")}},{name:"Enterprise",type:"enterprise",price:{monthly:_("plans.enterprise.price"),yearly:_("plans.enterprise.price")},button:{text:_("plans.enterprise.button")}}].filter(e=>"enterprise"!==e.type).map(e=>{let i=(0,c.fm)(e.type)?(0,c.RQ)(e.type,"monthly"):null,t=(0,c.fm)(e.type)?(0,c.RQ)(e.type,"yearly"):null,o="Enterprise"===e.name||!!("monthly"===C?i:t);return{...e,price:{monthly:i??e.price.monthly,yearly:t??e.price.yearly},hasValidPrice:o}}),K=async e=>{let o=(0,c.fm)(e)?(0,c.RQ)(e,C):null,a=o?Number(o):null,r=null!==a&&Number.isFinite(a)?"yearly"===C?12*a:a:null,n={plan_type:e,billing_type:C,payment_provider:"configured",checkout_entry:"pricing",checkout_surface:t,...null!==r?{currency:"USD",value:r}:{}};if(V("plan_selected",n),!i){V("paywall_shown",{...n,paywall_reason:"login_required"}),R(!0,"pricing");return}if(B&&(0,c.fm)(e)){if(V("upgrade_cta_clicked",{...n,cta_location:"pricing_existing_subscription"}),q)return void window.open(q,"_blank","noopener,noreferrer");if(!$)return void l.oR.error(_("errors.processingFailed"),{duration:3e3})}if(!(0,c.fm)(e))return;let s=`${e}:${C}`;F(s);let d=(0,x.VU)(),m=(0,x.zz)(d);try{window.localStorage.setItem(P,JSON.stringify({checkoutKey:s,at:Date.now()}))}catch{}V("checkout_intent",{...n,redirect_method:d});let u=!1;try{let i=await fetch("/api/billing/subscription-checkouts",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({plan_type:e,billing_interval:C,return_to:(0,h.D)(),language:k,analytics_context:{...(0,f.SK)("pricing"),checkout_surface:t,redirect_method:d}})}),o=await i.json();if(0===o.code&&o.data.checkout_url){let e=(0,x.oU)(d,m);V("checkout_link_created",{...n,payment_provider:o.data.payment_provider??"configured",redirect_method:e}),V("checkout_redirected",{...n,payment_provider:o.data.payment_provider??"configured",redirect_method:e}),(0,x.jP)(o.data.checkout_url,m,e),u=(0,x.iq)(e)}else V("checkout_link_failed",{...n,failure_reason:"api_error"}),m?.close(),N(),console.error("Subscription request failed:",o?.message),l.oR.error(_("errors.processingFailed"),{duration:3e3})}catch(e){V("checkout_link_failed",{...n,failure_reason:"network_error"}),m?.close(),N(),l.oR.error(_("errors.processingFailed"),{duration:3e3}),console.error("Subscription request error:",e)}finally{u||F(null)}},H=e=>
1{("monthly"===e||"yearly"===e||"credit_packs"===e)&&(A(e),("monthly"===e||"yearly"===e)&&D(e))},U=function(e,i){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=T===e;return(0,o.jsxs)("button",{type:"button",onClick:()=>H(e),className:(0,M.cn)("flex h-9 items-center gap-2 rounded-full px-4 text-sm font-medium transition sm:px-5",a?"bg-primary text-primary-foreground shadow-sm":"text-muted-foreground hover:text-foreground"),children:[i,t.showDiscount?(0,o.jsx)(y.u,{className:"h-4 px-1.5 text-[10px]"}):null]})},Q=()=>(0,o.jsx)(w.K,{children:z.map(e=>{if(!(0,c.fm)(e.type))return null;let i=(0,I.l)(e.type,C),t=B&&!!q,a=`${e.type}:${C}`,s=B&&!q&&!$;return(0,o.jsx)(w.x,{planType:e.type,planName:e.name,billingInterval:C,monthlyPrice:e.price.monthly,yearlyMonthlyPrice:e.price.yearly,badgeLabel:i?_("recommended"):void 0,isRecommended:i,action:s?null:(0,o.jsx)(r.$,{className:"h-9 w-full shadow-lg shadow-primary/30 hover:shadow-xl",disabled:!e.hasValidPrice||L===a,style:e.hasValidPrice?void 0:{pointerEvents:"none",opacity:.6},onClick:()=>K(e.type),children:L===a?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.A,{className:"mr-2 h-4 w-4 animate-spin"}),_("checkout.preparing")]}):t?_("manageSubscription"):e.button.text})},e.type)})});return(0,o.jsx)("div",{ref:G,children:(0,o.jsxs)(b.Tabs,{value:T,onValueChange:H,className:"w-full",children:[(0,o.jsx)("div",{className:"mb-8 flex justify-center",children:(0,o.jsxs)("div",{className:"flex max-w-full flex-wrap items-center gap-1 rounded-full border border-border/40 bg-muted/30 p-1 shadow-sm",children:[U("monthly",_("billing.monthly")),U("yearly",_("billing.yearly"),{showDiscount:!0}),U("credit_packs",O)]})}),(0,o.jsx)(b.TabsContent,{value:"monthly",className:"mt-0",children:Q()}),(0,o.jsx)(b.TabsContent,{value:"yearly",className:"mt-0",children:Q()}),(0,o.jsx)(b.TabsContent,{value:"credit_packs",className:"mt-0",children:(0,o.jsx)(v.Y,{user:i,surface:t,variant:"pricing"})})]})})}},90938:(e,i,t)=>{"use strict";t.d(i,{$w:()=>V,Ch:()=>r,Dr:()=>U,Jg:()=>J,QA:()=>C,QH:()=>Q,UD:()=>N,UG:()=>G,UT:()=>_,Ul:()=>k,Xd:()=>T,Yc:()=>L,Zb:()=>D,d7:()=>B,g2:()=>b,hL:()=>$,i6:()=>P,p1:()=>E,pI:()=>a,q3:()=>F,qd:()=>K,sf:()=>A,td:()=>Y,vc:()=>z,xW:()=>Z,xh:()=>O});let o="minimax-h3-turbo";function a(e,i){return!Number.isFinite(e)||e<=0||!Number.isFinite(i)||i<=0?0:Math.ceil(e)*i}function r(e){return e?.promptMaxLength??2e3}function n(e,i){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"round";return Object.fromEntries(e.map(e=>[String(e),Math.max(1,"ceil"===t?Math.ceil(e*i):Math.round(e*i))]))}let s=Array.from({length:12},(e,i)=>i+4),d=Array.from({length:27},(e,i)=>i+4),l=Array.from({length:11},(e,i)=>i+2),m=Array.from({length:9},(e,i)=>i+4),c=Array.from({length:23},(e,i)=>i+8),u=Array.from({length:12},(e,i)=>i+4),p=Array.from({length:11},(e,i)=>i+5),g=Array.from({length:27},(e,i)=>i+4),f=["16:9","9:16","1:1","4:3","3:4","21:9"],x=Array.from({length:8},(e,i)=>i+3),h={priceRate:.3,excludedOutputIds:["2k"]},b="2026-09-30T16:00:00.000Z",v={priceRate:.5,endsAt:b},y=["16:9","9:16","1:1","4:3","3:4","21:9","adaptive"],w=[4,6,8],M=["auto","16:9","9:16"],S=Array.from({length:13},(e,i)=>i+3),I=["16:9","9:16","1:1"];function j(e){let i=String(e).trim().toLowerCase();return!i||/^\d+p-(?:low|medium|high)$/.test(i)?i:/^\d+-(?:low|medium|high)$/.test(i)?i.replace(/^(\d+)-/,"$1p-"):/^\d+k$/.test(i)||i.endsWith("p")?i:`${i}p`}let P=[{id:"sdw_standard",apiModelId:"sdw_standard",provider:"raphael",providerLabel:"Seedance",providerDescription:"Seedance video models",label:"Seedance 1.0 Turbo",logoSrc:"/images/logos/video-models/seedance.svg",visibleInGenerator:!1,description:"Fast video generation with smooth motion",supportsAudio:!1,estimatedTimeLabel:"~1 min",ratios:["16:9","4:3","1:1","3:4","9:16"],maxImageCount:1,pricing:{"480p":{5:10},"720p":{5:20}}},{id:"sdw_plus",apiModelId:"sdw_plus",provider:"raphael",providerLabel:"Raphael",providerDescription:"Raphael video models",label:"Raphael Video Plus",logoSrc:"/logo.webp",visibleInGenerator:!1,description:"Better visuals with efficient generation",supportsAudio:!1,estimatedTimeLabel:"~2 min",ratios:["16:9","4:3","1:1","3:4","9:16"],maxImageCount:1,pricing:{"480p":{4:25,8:50,12:75},"720p":{4:55,8:110,12:165}}},{id:"sdw_pro",apiModelId:"sdw_pro",provider:"raphael",providerLabel:"Raphael",providerDescription:"Raphael video models",label:"Raphael Video Pro",logoSrc:"/logo.webp",visibleInGenerator:!1,description:"High quality with start & end frame support",supportsAudio:!1,estimatedTimeLabel:"~3 min",ratios:["16:9","4:3","1:1","3:4","9:16"],maxImageCount:2,pricing:{"480p":{4:60,8:120,12:180},"720p":{4:120,8:240,12:360}}},{id:"seedance-1.0-pro-fast",apiModelId:"doubao-seedance-1.0-pro-fast",provider:"seedance",imageRatioPolicy:"adaptive",providerLabel:"Seedance",providerDescription:"Seedance video models",label:"Seedance 1.0 Pro Fast",logoSrc:"/images/logos/video-models/seedance.svg",description:"Fast, lower-cost text and image animation up to 1080p",supportsAudio:!1,defaultGenerateAudio:!1,estimatedTimeLabel:"~1 min",ratios:y,maxImageCount:1,pricing:{"480p":n(l,4),"720p":n(l,8),"1080p":n(l,17)}},{id:"seedance-1.5-pro",apiModelId:"seedance-1.5-pro",provider:"seedance",imageRatioPolicy:"adaptive",providerLabel:"Seedance",providerDescription:"Seedance video models",label:"Seedance 1.5 Pro",logoSrc:"/images/logos/video-models/seedance.svg",description:"Cinematic video up to 1080p with synchronized native audio",supportsAudio:!0,defaultGenerateAudio:!1,estimatedTimeLabel:"~2 min",ratios:y,maxImageCount:2,pricing:{"480p":n(m,5),"720p":n(m,11),"1080p":n(m,23)},audioPricing:{"480p":n(m,10),"720p":n(m,21),"1080p":n(m,46)}},{id:"seedance-2.5",apiModelId:"seedance-2.5",apiModelVariants:{textToVideo:"seedance-2.5-text-to-vi
1deo",imageToVideo:"seedance-2.5-image-to-video",referenceToVideo:"seedance-2.5-reference-to-video",videoEdit:"seedance-2.5-video-edit",videoExtend:"seedance-2.5-video-extend"},provider:"seedance",imageRatioPolicy:"adaptive",providerLabel:"Seedance",providerDescription:"Seedance video models",label:"Seedance 2.5",logoSrc:"/images/logos/video-models/seedance.svg",description:"Up to 30-second video with multimodal references, native audio, and production-ready output",supportsAudio:!0,audioPolicy:"optional",defaultGenerateAudio:!0,defaultDurationSeconds:5,supportsReferenceMode:!0,estimatedTimeLabel:"~3 min",ratios:y,maxImageCount:2,maxReferenceImageCount:30,maxReferenceVideoCount:10,maxReferenceAudioCount:10,maxReferenceTotalCount:50,referenceVideoMinDurationSeconds:2,referenceVideoMaxDurationSeconds:30,referenceVideoTotalMaxDurationSeconds:30,referenceAudioMinDurationSeconds:2,referenceAudioMaxDurationSeconds:30,referenceAudioTotalMaxDurationSeconds:30,referenceRequiresVisual:!0,promptMaxLength:6e3,supportsWebSearch:!0,webSearchCreditsPerEnabledTask:1,supportsContentFilter:!0,outputFormats:["mp4","mov"],defaultOutputFormat:"mp4",relaxedContentSurchargePercent:10,pricing:{"480p":n(d,53),"720p":n(d,113)},referenceVideoPricing:{"480p":n(d,32),"720p":n(d,69)},referenceVideoInputBilling:"exact-input-duration",referenceVideoInputCreditsPerSecond:{"480p":32,"720p":69}},{id:"seedance-2.0",apiModelId:"seedance-2.0",apiModelVariants:{textToVideo:"seedance-2.0-text-to-video",imageToVideo:"seedance-2.0-image-to-video",referenceToVideo:"seedance-2.0-reference-to-video"},provider:"seedance",imageRatioPolicy:"adaptive",providerLabel:"Seedance",providerDescription:"Seedance video models",label:"Seedance 2.0",logoSrc:"/images/logos/video-models/seedance.svg",description:"Image, video, and audio references for controllable motion",supportsAudio:!0,defaultGenerateAudio:!1,supportsReferenceMode:!0,estimatedTimeLabel:"~2 min",ratios:y,maxImageCount:2,maxReferenceImageCount:9,maxReferenceVideoCount:3,maxReferenceAudioCount:3,promptMaxLength:4e3,pricing:{"480p":n(s,36),"720p":n(s,77),"1080p":n(s,191)},referenceVideoPricing:{"480p":n(c,22),"720p":n(c,47),"1080p":n(c,117)}},{id:"seedance-2.0-fast",apiModelId:"seedance-2.0-fast",apiModelVariants:{textToVideo:"seedance-2.0-fast-text-to-vi
1deo",imageToVideo:"seedance-2.0-fast-image-to-video",referenceToVideo:"seedance-2.0-fast-reference-to-video"},provider:"seedance",imageRatioPolicy:"adaptive",providerLabel:"Seedance",providerDescription:"Fast Seedance video models",label:"Seedance 2.0 Fast",logoSrc:"/images/logos/video-models/seedance.svg",description:"Faster drafts and social clips with reference control",supportsAudio:!0,defaultGenerateAudio:!1,supportsReferenceMode:!0,estimatedTimeLabel:"~1 min",ratios:y,maxImageCount:2,maxReferenceImageCount:9,maxReferenceVideoCount:3,maxReferenceAudioCount:3,promptMaxLength:4e3,pricing:{"480p":n(s,29),"720p":n(s,62)},referenceVideoPricing:{"480p":n(c,18),"720p":n(c,37)}},{id:"seedance-2.0-mini",apiModelId:"seedance-2.0-mini",apiModelVariants:{textToVideo:"seedance-2.0-mini-text-to-video",imageToVideo:"seedance-2.0-mini-image-to-video",referenceToVideo:"seedance-2.0-mini-reference-to-video"},provider:"seedance",imageRatioPolicy:"adaptive",providerLabel:"Seedance",providerDescription:"Seedance video models",label:"Seedance 2.0 Mini",logoSrc:"/images/logos/video-models/seedance.svg",description:"Lower-cost drafts with image, video, and audio references",supportsAudio:!0,defaultGenerateAudio:!1,supportsReferenceMode:!0,estimatedTimeLabel:"~1 min",ratios:y,maxImageCount:2,maxReferenceImageCount:9,maxReferenceVideoCount:3,maxReferenceAudioCount:3,promptMaxLength:4e3,pricing:{"480p":n(s,18),"720p":n(s,39)},referenceVideoPricing:{"480p":n(c,11),"720p":n(c,24)}},{id:"minimax-h3-turbo",apiModelId:"minimax-h3-turbo",provider:"minimax",imageRatioPolicy:"adaptive",providerLabel:"MiniMax",providerDescription:"MiniMax video models",label:"MiniMax H3 Turbo",logoSrc:"/images/logos/video-models/minimax-h3-icon.png",description:"Fast, lower-cost generation with native stereo audio",supportsAudio:!0,audioPolicy:"optional",defaultGenerateAudio:!0,supportsReferenceMode:!1,estimatedTimeLabel:"~30â60s",ratios:f,maxImageCount:2,promptMaxLength:5e3,outputOptions:[{id:"480p-low",label:"480P",resolution:"480p",quality:"low",apiModelId:"sdw_standard",audioPolicy:"optional",supportsReferenceMode:!1,requiresPaidAccess:!1},{id:"768p-low",label:"768P",resolution:"768p",quality:"low",apiModelId:"sdw_standard",audioPolicy:"optional",supportsReferenceMode:!1,requiresPaidAccess:!1}],pricing:{"480p-low":{4:10,5:12,6:15,7:17,8:20,9:24,10:29,11:34,12:40},"768p-low":{4:30,5:34,6:37,7:40,8:44,9:52,10:60,11:70,12:81}},promotion:h},{id:"minimax-h3",apiModelId:"minimax-h3",apiModelVariants:{textToVideo:"minimax-h3-text-to-video",imageToVideo:"minimax-h3-image-to-video",referenceToVideo:"minimax-h3-reference-to-video"},provider:"minimax",imageRatioPolicy:"adaptive",providerLabel:"MiniMax",providerDescription:"MiniMax video models",label:"MiniMax H3",logoSrc:"/images/logos/video-models/minimax-h3-icon.png",description:"2K high-quality generation with native stereo audio and multimodal references",supportsAudio:!0,audioPolicy:"optional",defaultGenerateAudio:!0,supportsReferenceMode:!0,estimatedTimeLabel:"~30â60s",ratios:f,maxImageCount:2,maxReferenceImageCount:9,maxReferenceVideoCount:3,maxReferenceAudioCount:3,maxReferenceTotalCount:12,referenceRequiresVisual:!0,promptMaxLength:5e3,outputOptions:[{id:"480p-medium",label:"480P",resolution:"480p",quality:"medium",apiModelId:"sdw_standard",audioPolicy:"optional",supportsReferenceMode:!1,requiresPaidAccess:!1},{id:"768p-medium",label:"768P",resolution:"768p",quality:"medium",apiModelId:"sdw_standard",audioPolicy:"optional",supportsReferenceMode:!1,requiresPaidAccess:!1},{id:"2k",label:"2K",resolution:"2k",audioPolicy:"always",supportsReferenceMode:!0,requiresPaidAccess:!0}],pricing:{"480p-medium":{4:14,5:16,6:20,7:23,8:27,9:33,10:40,11:48,12:57},"768p-medium":{4:35,5:41,6:50,7:60,8:71,9:86,10:102,11:122,12:146},"2k":n(u,48)},referenceVideoPricing:{"2k":n(g,48)},referenceVideoInputBilling:"exact-input-duration",referenceVideoInputCreditsPerSecond:{"2k":48},includedReferenceImageCount:5,extraReferenceImageCredits:16,promotion:h},{id:"minimax-h3-max-turbo",apiModelId:"minimax/h3-max-turbo/text-to-vi
1deo",apiModelVariants:{textToVideo:"minimax/h3-max-turbo/text-to-video",imageToVideo:"minimax/h3-max-turbo/image-to-video"},provider:"minimax",imageRatioPolicy:"adaptive",providerLabel:"MiniMax",providerDescription:"MiniMax video models",label:"MiniMax H3 Max Turbo",logoSrc:"/images/logos/video-models/minimax-h3-icon.png",description:"Fast flagship generation with native stereo audio",supportsAudio:!0,audioPolicy:"always",defaultGenerateAudio:!0,defaultDurationSeconds:5,supportsReferenceMode:!1,estimatedTimeLabel:"~5â10s",ratios:f,maxImageCount:2,promptMaxLength:5e4,pricing:{"480p":n(p,5),"768p":n(p,8),"1080p":n(p,16)},promotion:v},{id:"minimax-h3-max",apiModelId:"minimax/h3-max/text-to-video",apiModelVariants:{textToVideo:"minimax/h3-max/text-to-video",imageToVideo:"minimax/h3-max/image-to-video"},provider:"minimax",imageRatioPolicy:"adaptive",providerLabel:"MiniMax",providerDescription:"MiniMax video models",label:"MiniMax H3 Max",logoSrc:"/images/logos/video-models/minimax-h3-icon.png",description:"Highest-quality flagship generation with native stereo audio",supportsAudio:!0,audioPolicy:"always",defaultGenerateAudio:!0,defaultDurationSeconds:5,supportsReferenceMode:!1,estimatedTimeLabel:"~5â10s",ratios:f,maxImageCount:2,promptMaxLength:5e4,pricing:{"480p":n(p,10),"768p":n(p,16),"1080p":n(p,31)},promotion:v},{id:"gemini-omni",apiModelId:"gemini-omni",apiModelVariants:{textToVideo:"gemini-omni-flash-text-to-video",imageToVideo:"gemini-omni-flash-image-to-video",referenceToVideo:"gemini-omni-flash-reference-to-video"},provider:"gemini",providerLabel:"Gemini",providerDescription:"Google Gemini video models",label:"Gemini Omni Flash",logoSrc:"/images/logos/video-models/gemini-omni-flash-aurora.svg",description:"720p video generation from text, one image, or up to six reference images",supportsAudio:!0,audioSelectable:!1,defaultGenerateAudio:!1,defaultDurationSeconds:10,supportsAutoDuration:!0,autoDurationReservationSeconds:10,supportsReferenceMode:!0,estimatedTimeLabel:"~2 min",ratios:["auto","16:9","9:16"],maxImageCount:1,maxReferenceImageCount:6,maxReferenceVideoCount:0,maxReferenceAudioCount:0,maxReferenceTotalCount:6,promptMaxLength:2e3,inputImageCreditsPerImage:1,durationCreditsPerSecond:35,pricing:{"720p":n(x,35)}},{id:"video-editor",apiModelId:"gemini-omni-flash-video-edit",provider:"gemini",providerLabel:"Gemini",providerDescription:"Google Gemini video editing",label:"Video Editor",logoSrc:"/images/logos/video-models/gemini-omni-flash-aurora.svg",visibleInGenerator:!1,description:"Edit an MP4 or MOV video with text instructions",supportsAudio:!1,estimatedTimeLabel:"~2 min",ratios:[],maxImageCount:0,pricing:{},durationCreditsPerSecond:35},{id:"kling-3",apiModelId:"kling-3",apiModelVariants:{textToVideo:"kling-v3-text-to-vi
1deo",imageToVideo:"kling-v3-image-to-video"},provider:"kling",providerLabel:"Kling",providerDescription:"Kling video models",label:"Kling 3.0",logoSrc:"/images/logos/video-models/kling-official.png",description:"Strong motion, camera moves, and optional sound",supportsAudio:!0,defaultGenerateAudio:!1,estimatedTimeLabel:"~3 min",ratios:I,maxImageCount:2,promptMaxLength:2500,pricing:{"720p":n(S,31),"1080p":n(S,41),"4k":n(S,153)},audioPricing:{"720p":n(S,46),"1080p":n(S,62),"4k":n(S,153)}},{id:"kling-3-turbo",apiModelId:"kling-3-turbo",apiModelVariants:{textToVideo:"kling-v3-turbo-text-to-video",imageToVideo:"kling-v3-turbo-image-to-video"},provider:"kling",providerLabel:"Kling",providerDescription:"Kling video models",label:"Kling 3.0 Turbo",logoSrc:"/images/logos/video-models/kling-official.png",description:"Faster short-form generation with text or a first frame",supportsAudio:!1,defaultGenerateAudio:!1,estimatedTimeLabel:"~2 min",ratios:I,maxImageCount:1,promptMaxLength:2500,pricing:{"720p":n(S,41),"1080p":n(S,51)}},{id:"veo-3.1-fast",apiModelId:"veo-3.1-fast-generate-preview",provider:"veo",imageRatioPolicy:"provider-pad",providerLabel:"Veo",providerDescription:"Google Veo video models",label:"Veo 3.1 Fast",logoSrc:"/images/logos/video-models/google-g.svg",description:"Quick Veo previews for fast iteration",supportsAudio:!0,defaultGenerateAudio:!1,supportsReferenceMode:!0,estimatedTimeLabel:"~2 min",ratios:M,maxImageCount:2,maxReferenceImageCount:3,maxReferenceVideoCount:0,maxReferenceAudioCount:0,pricing:{"720p":n(w,33),"1080p":n(w,33),"4k":n(w,98)},audioPricing:{"720p":n(w,49),"1080p":n(w,49),"4k":n(w,115)}},{id:"veo-3.1-pro",apiModelId:"veo-3.1-generate-preview",provider:"veo",imageRatioPolicy:"provider-pad",providerLabel:"Veo",providerDescription:"Google Veo video models",label:"Veo 3.1 Pro",logoSrc:"/images/logos/video-models/google-g.svg",description:"Polished Veo output with higher visual fidelity",supportsAudio:!0,defaultGenerateAudio:!1,supportsReferenceMode:!0,estimatedTimeLabel:"~3 min",ratios:M,maxImageCount:2,maxReferenceImageCount:3,maxReferenceVideoCount:0,maxReferenceAudioCount:0,pricing:{"720p":n(w,65),"1080p":n(w,65),"4k":n(w,131)},audioPricing:{"720p":n(w,131),"1080p":n(w,131),"4k":n(w,196)}}];function N(e){let i=P.map(e=>({...e,ratios:[...e.ratios],outputOptions:e.outputOptions?.map(e=>({...e})),pricing:Object.fromEntries(Object.entries(e.pricing).map(e=>{let[i,t]=e;return[i,{...t}]})),referenceVideoPricing:e.referenceVideoPricing?Object.fromEntries(Object.entries(e.referenceVideoPricing).map(e=>{let[i,t]=e;return[i,{...t}]})):void 0,audioPricing:e.audioPricing?Object.fromEntries(Object.entries(e.audioPricing).map(e=>{let[i,t]=e;return[i,{...t}]})):void 0,promotion:e.promotion?{...e.promotion,excludedOutputIds:e.promotion.excludedOutputIds?[...e.promotion.excludedOutputIds]:void 0}:void 0})),t=e?.defaultModelId,a=t&&i.some(e=>e.id===t)?t:i.some(e=>e.id===o)?o:i.find(e=>!1!==e.visibleInGenerator)?.id??"sdw_standard";return{defaultResolution:e?.defaultResolution??"480p-low",defaultModelId:a,models:i}}function _(e,i){return e?.models.find(e=>e.id===i)}function k(e,i){return e?.outputFormats?.includes(i)?i:void 0}function R(e,i){let t=j(i);return e?.outputOptions?.find(e=>e.id===t)}function V(e,i){return R(e,i)?.label??i.toUpperCase()}function T(e,i){let t=R(e,i)?.resolution;return t||j(i).replace(/-(?:low|medium|high)$/,"")}function A(e,i){let t=R(e,i)?.quality;return t||j(i).match(/-(low|medium|high)$/)?.[1]}function C(e){let i=new Set;for(let t of Y(e))i.add(T(e,t));return Array.from(i)}function D(e,i){let t=j(i),o=new Set;for(let i of e?.outputOptions??[])i.resolution===t&&i.quality&&o.add(i.quality);return Array.from(o)}function L(e,i,t){if(!e)return;let o=j(i),a=(e.outputOptions??[]).filter(e=>e.resolution===o),r=t?a.find(e=>e.quality===t):void 0;return r?r.id:a.length>0?a[0].id:e.pricing[o]?o:void 0}function F(e,i){return e?.supportsAudio?R(e,i)?.audioPolicy??e.audioPolicy??"optional":"unsupported"}function G(e,i){return!!e?.supportsReferenceMode&&(R(e,i)?.supportsReferenceMode??!0)}function E(e){return e?.outputOptions?.find(e=>e.supportsReferenceMode)?.id}function O(e,i){return R(e,i)?.requiresPaidAccess??!1}function q(e,i,t){let o=e?.promotion,a=o?.priceRate;if(!(a&&a>0&&a<1&&!o?.excludedOutputIds?.includes(i))||!a)return{eligible:!1,active:!1,priceRate:null};if(!o.endsAt)return{eligible:!0,active:!0,priceRate:a};let r=t??Date.now(),n=r instanceof Date?r.getTime():new Date(r).getTime(),s=new Date(o.endsAt).getTime();return{eligible:!0,active:Number.isFinite(n)&&Number.isFinite(s)&&n<s,priceRate:a}}function B(e,i,t){return q(e,j(i),t).active}function $(e,i,t){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!e)return null;let n=j(i),s=(r.hasReferenceVideoInput&&e.referenceVideoPricing?e.referenceVideoPricing:o&&e.audioPricing?e.audioPricing:e.pricing)[n];if(!s)return null;let d=e.referenceVideoInputCreditsPerSecond?.[n];if(r.hasReferenceVideoInput&&"exact-input-duration"===e.referenceVideoInputBilling&&void 0===d)return null;let l=r.hasReferenceVideoInput&&"exact-input-duration"===e.referenceVideoInputBilling?a(r.referenceVideoInputSeconds??0,d??0):null,m=r.hasReferenceVideoInput&&e.referenceVideoPricing?t+("exact-input-duration"===e.referenceVideoInputBilling?0:Math.max(t,Math.ceil(Math.max(0,r.referenceVideoInputSeconds??0)))):t,c=null!==l?void 0!==s[String(t)]?s[String(t)]+l:void 0:s[String(m)];if(void 0===c)return null;let u=Math.max(0,Math.floor(r.referenceImageInputCount??0)-(e.includedReferenceImageCount??1/0)),p=Math.max(0,Math.floor(r.inputImageCount??0))*Math.max(0,e.inputImageCreditsPerImage??0),g=c+u*(e.extraReferenceImageCredits??0),f=Math.max(0,Math.round(e.relaxedContentSurchargePercent??0)),x=(r.relaxedContent?Math.ceil(g*(100+f)/100):g)+p+(r.webSearch?e.webSearchCreditsPerEnabledTask??0:0),h=q(e,n,r.pricingAt);return h.eligible&&!h.active&&h.priceRate?Math.max(x+1,Math.round(x/h.priceRate)):x}function z(e,i,t){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=$(e,i,t,o,a);if(null===r)return null;let n=q(e,j(i),a.pricingAt);return n.active&&n.priceRate?{credits:r,originalCredits:Math.max(r+1,Math.round(r/n.priceRate)),priceRate:n.priceRate,discountPercent:Math.round((1-n.priceRate)*100)}:{credits:r,originalCredits:null,priceRate:null,discountPercent:null}}function K(e){let i;for(let[t,o]of Object.entries(e.pricing))for(let[e,a]of Object.entries(o))(!i||a<i.credits)&&(i={outputId:t,durationSeconds:Number(e),credits:a});return i?z(e,i.outputId,i.durationSeconds)??{credits:i.credits,originalCredits:null,priceRate:null,discountPercent:null}:{credits:0,originalCredits:null,priceRate:null,discountPercent:null}}let H={modelId:"minimax-h3-turbo",resolution:"480p-low",resolutionLabel:"480P",durationSeconds:4};function U(){let e=P.find(e=>e.id===H.modelId),i=$(e,H.resolution,H.durationSeconds);if(!e||null===i)throw Error("Paid video plan estimate baseline is not configured");return{...H,modelLabel:e.label,creditsPerVideo:i}}function Q(e){let{creditsPerVideo:i}=U();return Math.max(0,Math.floor(e/i))}function Z(e){if(!e)return[];let i=new Set;for(let t of Object.values(e.pricing))for(let e of Object.keys(t))i.add(Number(e));return Array.from(i).sort((e,i)=>e-i)}function Y(e){return e?Object.keys(e.pricing):[]}function J(e,i){if(!e)return[];let t=e.pricing[i];return t?Object.keys(t).map(Number).sort((e,i)=>e-i):[]}},93423:(e,i,t)=>{"use strict";t.d(i,{Kx:()=>n,Xm:()=>r,r:()=>s});let o=new Set(["gpt-image-2-5-flare","nano-banana-2-lite","seedream-5-pro","seedance-2.0-mini","kling-3-turbo","minimax-h3-turbo","minimax-h3","minimax-h3-max-turbo","minimax-h3-max","seedance-2.5","gemini-omni","topaz-video-upscaler"]),a=new Set(["nano-banana-2-lite","seedream-5-pro","gpt-image-2-5-flare","seedance-2.0-mini","kling-3-turbo","minimax-h3-turbo","minimax-h3"]);function r(e){return o.has(e)}function n(e){return!a.has(e)&&r(e)}function s(e){return e.map((e,i)=>({model:e,index:i})).sort((e,i)=>Number(r(i.model.id))-Number(r(e.model.id))||e.index-i.index).map(e=>{let{model:i}=e;return i})}}},e=>{e.O(0,[3815,6400,6441,5466,869,9521,6058,1735,6926,1760,4160,8195,6133,9016,7358],()=>e(e.s=10613)),_N_E=e.O()}]);
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.