1/*! For license information please see 788.32882fb8.chunk.js.LICENSE.txt */ 2"use strict";(globalThis.webpackChunkfrontend=globalThis.webpackChunkfrontend||[]).push([[788],{2788(e,s,r){r.r(s),r.d(s,{default:()=>m});var t=r(5043),l=r(2024),a=r(5692),n=r(6210),d=r(3390),o=r(1140),i=(r(5949),r(5847)),c=r(3866),x=r(579);const h=e=>{let{children:s,tooltip:r,dark:t=!1}=e;return(0,x.jsxs)("div",{className:"flex items-start gap-3",children:[(0,x.jsx)("div",{className:`w-5 h-5 rounded-full ${t?"bg-brand-tint/20":"bg-success-bg"} flex items-center justify-center flex-shrink-0 mt-0.5`,children:(0,x.jsx)(n.A,{className:"w-3 h-3 "+(t?"text-brand":"text-success")})}),(0,x.jsx)("span",{className:"text-sm flex items-center gap-1.5 "+(t?"text-white/85":"text-foreground/80"),children:s})]})};function m(e){let{compact:s=!1,showFooter:r=!0,className:n="",title:m="Simple, Transparent Pricing",subtitle:u="Start free. Upgrade when you need more. No hidden fees."}=e;const g=(0,i.Zp)(),{getToken:p}=(0,c.As)(),[f,b]=(0,t.useState)("annual"),[j,N]=(0,t.useState)(!1),[w,v]=(0,t.useState)(null),y="annual"===f,k=Math.floor(8.25),C=Math.round(25),A=Math.floor(29.25),P=(Math.round(25),async e=>{if(!j){N(!0),v(e);try{const s=`${{NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_CLERK_PUBLISHABLE_KEY:"pk_live_Y2xlcmsudXBsb2FkdG91cmwuY29tJA"}.REACT_APP_BACKEND_URL||""}/api`,r=`${e}_${y?"annual":"monthly"}`;console.log("Creating checkout session for:",{packageId:r,planType:e,billingPeriod:y?"annual":"monthly"});const t=await p(),l=window.location.origin,a=await fetch(`${s}/checkout/session?package_id=${r}&origin_url=${encodeURIComponent(l)}`,{method:"POST",headers:{Authorization:`Bearer ${t}`}});if(!a.ok)throw new Error("Failed to create checkout session");const n=a.headers.get("content-type");if(!n||!n.includes("application/json"))throw new Error("Server returned non-JSON response");const d=await a.json();if(!d.url)throw new Error("No checkout URL received");window.location.href=d.url}catch(s){console.error("Payment error:",s);g(`/billing?plan=${e}&billing=${y?"annual":"monthly"}`)}finally{N(!1),v(null)}}}),S=Math.floor(74.25),$=(Math.round(25),s?"grid grid-cols-1 md:grid-cols-3 gap-6 max-w-6xl mx-auto":"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-7xl mx-auto"),F="bg-card border border-border rounded-2xl p-8 relative overflow-hidden shadow-soft hover:shadow-card transition-all duration-300";return(0,x.jsxs)("div",{className:n,children:[(0,x.jsxs)("div",{className:"text-center mb-20",children:[m&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("p",{className:"text-sm font-bold text-brand uppercase tracking-widest mb-4",children:"Pricing"}),(0,x.jsx)("h2",{className:"text-4xl md:text-5xl font-extrabold tracking-tight mb-6 text-foreground",children:m}),(0,x.jsx)("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto mb-8",children:u})]}),(0,x.jsxs)("div",{className:"inline-flex items-center bg-muted rounded-full p-1 border border-border shadow-soft",children:[(0,x.jsx)("button",{onClick:()=>b("monthly"),className:"px-8 py-2.5 rounded-full text-sm font-bold transition-all "+("monthly"===f?"bg-brand text-brand-foreground shadow-soft":"text-muted-foreground hover:text-foreground"),children:"Monthly"}),(0,x.jsxs)("button",{onClick:()=>b("annual"),className:"px-8 py-2.5 rounded-full text-sm font-bold transition-all flex items-center gap-2 "+("annual"===f?"bg-brand text-brand-foreground shadow-soft":"text-muted-foreground hover:text-foreground"),children:["Annual",(0,x.jsx)("span",{className:"px-2 py-0.5 rounded-full text-[10px] uppercase font-bold tracking-wider "+("annual"===f?"bg-white/20 text-white":"bg-success-bg text-success"),children:"3 months free"})]})]})]}),(0,x.jsxs)("div",{className:$,children:[(0,x.jsxs)(o.Zp,{className:F,children:[y&&(0,x.jsxs)("div",{className:"absolute top-0 right-0 bg-success text-white px-4 py-1.5 text-[10px] font-bold uppercase tracking-widest rounded-bl-xl shadow-soft z-20",children:["Save ",C,"%"]}),(0,x.jsxs)("div",{className:"mb-8",children:[(0,x.jsx)("h3",{className:"text-2xl font-bold mb-2 text-foreground",children:"Starter"}),(0,x.jsx)("p",{className:"text-muted-foreground text-sm",children:"Best for early-stage projects"})]}),(0,x.jsx)("div",{className:"mb-8",children:y?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",{className:"flex items-baseline gap-1",children:[(0,x.jsxs)("span",{className:"text-5xl font-extrabold text-foreground",children:["$",k]}),(0,x.jsx)("span",{className:"text-muted-foreground font-medium",children:"/mo"})]}),(0,x.jsxs)("p",{className:"text-xs text-brand font-bold mt-2 uppercase tracking-tight",children:["$",99," billed annually"]})]}):(0,x.jsxs)("div",{className:"flex items-baseline gap-1",children:[(0,x.jsxs)("span",{className:"text-5xl font-extrabold text-foreground",children:["$",11]}),(0,x.jsx)("span",{className:"text-muted-foreground font-medium",children:"/mo"})]})}),(0,x.jsxs)("ul",{className:"space-y-4 mb-10",children:[(0,x.jsxs)(h,{children:[(0,x.jsx)("strong",{children:"1000"})," uploads/month"]}),(0,x.jsx)(h,{children:"Customizable retention"}),(0,x.jsxs)(h,{children:[(0,x.jsx)("strong",{children:"16 MB"})," max size (per upload)"]}),(0,x.jsxs)(h,{children:[(0,x.jsx)("strong",{children:"10 GB"})," total storage"]}),(0,x.jsx)(h,{children:"Priority Email support"}),(0,x.jsx)(h,{children:"Full API access"})]}),(0,x.jsx)(c.wv,{when:"signed-out",children:(0,x.jsx)(c.Ny,{mode:"modal",redirectUrl:"/billing?plan=starter&billing="+(y?"annual"
2:"monthly"),children:(0,x.jsxs)(d.$,{className:"w-full bg-foreground hover:bg-foreground/90 text-background rounded-xl py-6 text-lg font-bold transition-all active:scale-95 group",children:["Choose Starter",(0,x.jsx)(a.A,{className:"w-5 h-5 ml-2 transition-transform group-hover:translate-x-1"})]})})}),(0,x.jsx)(c.wv,{when:"signed-in",children:(0,x.jsx)(d.$,{onClick:()=>P("starter"),disabled:j,className:"w-full bg-foreground hover:bg-foreground/90 text-background rounded-xl py-6 text-lg font-bold transition-all active:scale-95 group",children:j&&"starter"===w?(0,x.jsx)(l.A,{className:"w-5 h-5 animate-spin"}):(0,x.jsxs)(x.Fragment,{children:["Choose Starter ",(0,x.jsx)(a.A,{className:"w-5 h-5 ml-2 transition-transform group-hover:translate-x-1"})]})})})]}),(0,x.jsxs)(o.Zp,{className:"bg-[#12141C] border border-white/10 rounded-2xl p-8 relative overflow-hidden shadow-elevated md:-translate-y-2 z-10",children:[(0,x.jsx)("div",{className:"absolute top-0 right-0 bg-brand text-white px-5 py-2 text-[10px] font-black uppercase tracking-widest rounded-bl-xl shadow-soft z-20",children:"Most Popular"}),(0,x.jsxs)("div",{className:"mb-8",children:[(0,x.jsx)("h3",{className:"text-2xl font-bold mb-2 text-[#FF9C63]",children:"Pro"}),(0,x.jsx)("p",{className:"text-white/60 text-sm",children:"Perfect for scaling automation"})]}),(0,x.jsx)("div",{className:"mb-8",children:y?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",{className:"flex items-baseline gap-1",children:[(0,x.jsxs)("span",{className:"text-5xl font-extrabold text-white",children:["$",A]}),(0,x.jsx)("span",{className:"text-white/50 font-medium",children:"/mo"})]}),(0,x.jsxs)("p",{className:"text-xs text-[#FF9C63] font-bold mt-2 uppercase tracking-tight",children:["$",351," billed annually"]})]}):(0,x.jsxs)("div",{className:"flex items-baseline gap-1",children:[(0,x.jsxs)("span",{className:"text-5xl font-extrabold text-white",children:["$",39]}),(0,x.jsx)("span",{className:"text-white/50 font-medium",children:"/mo"})]})}),(0,x.jsxs)("ul",{className:"space-y-4 mb-10",children:[(0,x.jsxs)(h,{dark:!0,children:[(0,x.jsx)("strong",{className:"text-white",children:"6000"})," uploads/month"]}),(0,x.jsx)(h,{dark:!0,children:"Customizable retention"}),(0,x.jsxs)(h,{dark:!0,children:[(0,x.jsx)("strong",{className:"text-white",children:"Custom Domain"})," (files.yourbrand.com)"]}),(0,x.jsxs)(h,{dark:!0,children:[(0,x.jsx)("strong",{className:"text-white",children:"Custom File Names"})," (/my-file.pdf)"]}),(0,x.jsxs)(h,{dark:!0,children:[(0,x.jsx)("strong",{className:"text-white",children:"32 MB"})," max size (per upload)"]}),(0,x.jsxs)(h,{dark:!0,children:[(0,x.jsx)("strong",{className:"text-white",children:"50 GB"})," total storage"]}),(0,x.jsx)(h,{dark:!0,children:"Priority Support (Chat & Email)"}),(0,x.jsx)(h,{dark:!0,children:"Full API access"})]}),(0,x.jsx)(c.wv,{when:"signed-out",children:(0,x.jsx)(c.Ny,{mode:"modal",redirectUrl:"/billing?plan=pro&billing="+(y?"annual":"monthly"),children:(0,x.jsxs)(d.$,{className:"w-full bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl py-6 text-lg font-bold transition-all hover:shadow-glow active:scale-95 group",children:["Choose Pro",(0,x.jsx)(a.A,{className:"w-5 h-5 ml-2 transition-transform group-hover:translate-x-1"})]})})}),(0,x.jsx)(c.wv,{when:"signed-in",children:(0,x.jsx)(d.$,{onClick:()=>P("pro"),disabled:j,className:"w-full bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl py-6 text-lg font-bold transition-all hover:shadow-glow active:scale-95 group",children:j&&"pro"===w?(0,x.jsx)(l.A,{className:"w-5 h-5 animate-spin"}):(0,x.jsxs)(x.Fragment,{children:["Choose Pro ",(0,x.jsx)(a.A,{className:"w-5 h-5 ml-2 transition-transform group-hover:translate-x-1"})]})})})]}),(0,x.jsxs)(o.Zp,{className:F,children:[(0,x.jsxs)("div",{className:"mb-8",children:[(0,x.jsx)("h3",{className:"text-2xl font-bold mb-2 text-foreground",children:"Business"}),(0,x.jsx)("p",{className:"text-muted-foreground text-sm",children:"For massive workloads"})]}),(0,x.jsx)("div",{className:"mb-8",children:y?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",{className:"flex items-baseline gap-1",children:[(0,x.jsxs)("span",{className:"text-5xl font-extrabold text-foreground",children:["$",S]}),(0,x.jsx)("span",{className:"text-muted-foreground font-medium",children:"/mo"})]}),(0,x.jsxs)("p",{className:"text-xs text-brand font-bold mt-2 uppercase tracking-tight",children:["$",891," billed annually"]})]}):(0,x.jsxs)("div",{className:"flex items-baseline gap-1",children:[(0,x.jsxs)("span",{className:"text-5xl font-extrabold text-foreground",children:["$",99]}),(0,x.jsx)("span",{className:"text-muted-foreground font-medium",children:"/mo"})]})}),(0,x.jsxs)("ul",{className:"space-y-4 mb-10",children:[(0,x.jsxs)(h,{children:[(0,x.jsx)("strong",{children:"15000"})," uploads/month"]}),(0,x.jsx)(h,{children:"Unlimited retention"}),(0,x.jsx)(h,{children:(0,x.jsx)("strong",{children:"Custom Domain & File Names"})}),(0,x.jsxs)(h,{children:[(0,x.jsx)("strong",{children:"100 MB"})," max size (per upload)"]}),(0,x.jsxs)(h,{children:[(0,x.jsx)("strong",{children:"500 GB"})," total storage"]}
2),(0,x.jsx)(h,{children:"Elite Support (24/7 Priority)"}),(0,x.jsx)(h,{children:"Custom Integrations"})]}),(0,x.jsx)(c.wv,{when:"signed-out",children:(0,x.jsx)(c.Ny,{mode:"modal",redirectUrl:"/billing?plan=business&billing="+(y?"annual":"monthly"),children:(0,x.jsxs)(d.$,{className:"w-full bg-foreground hover:bg-foreground/90 text-background rounded-xl py-6 text-lg font-bold transition-all active:scale-95 group",children:["Choose Business",(0,x.jsx)(a.A,{className:"w-5 h-5 ml-2 transition-transform group-hover:translate-x-1"})]})})}),(0,x.jsx)(c.wv,{when:"signed-in",children:(0,x.jsx)(d.$,{onClick:()=>P("business"),disabled:j,className:"w-full bg-foreground hover:bg-foreground/90 text-background rounded-xl py-6 text-lg font-bold transition-all active:scale-95 group",children:j&&"business"===w?(0,x.jsx)(l.A,{className:"w-5 h-5 animate-spin"}):(0,x.jsxs)(x.Fragment,{children:["Choose Business ",(0,x.jsx)(a.A,{className:"w-5 h-5 ml-2 transition-transform group-hover:translate-x-1"})]})})})]})]}),(0,x.jsx)("div",{className:"mt-12 max-w-7xl mx-auto",children:(0,x.jsx)(o.Zp,{className:"bg-card border border-border rounded-2xl p-8 relative overflow-hidden group shadow-soft hover:shadow-card transition-all duration-300",children:(0,x.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between gap-8",children:[(0,x.jsxs)("div",{className:"flex-1",children:[(0,x.jsx)("h3",{className:"text-2xl font-bold mb-2 text-foreground",children:"Free Plan"}),(0,x.jsx)("p",{className:"text-muted-foreground mb-6 max-w-xl",children:"Perfect for side projects and developers just getting started. No credit card required."}),(0,x.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-y-4 gap-x-8",children:[(0,x.jsxs)(h,{children:[(0,x.jsx)("strong",{children:"15"})," uploads / month"]}),(0,x.jsx)(h,{children:"7-day file retention"}),(0,x.jsxs)(h,{children:[(0,x.jsx)("strong",{children:"5 MB"})," max size (per upload)"]}),(0,x.jsxs)(h,{children:[(0,x.jsx)("strong",{children:"500 MB"})," total storage"]}),(0,x.jsx)(h,{children:"Full API access"}),(0,x.jsx)(h,{children:"Community support"})]})]}),(0,x.jsxs)("div",{className:"flex flex-col items-center justify-center p-6 bg-background rounded-2xl border border-border shadow-soft min-w-[240px]",children:[(0,x.jsx)("div",{className:"text-4xl font-black text-foreground mb-1",children:"$0"}),(0,x.jsx)("div",{className:"text-muted-foreground text-sm font-medium mb-6",children:"Always free"}),(0,x.jsx)(c.wv,{when:"signed-out",children:(0,x.jsx)(c.Ny,{mode:"modal",redirectUrl:"/billing?plan=free",children:(0,x.jsx)(d.$,{className:"w-full bg-brand hover:bg-brand/90 text-brand-foreground rounded-xl py-5 font-bold transition-all hover:shadow-glow active:scale-95",children:"Get Started for Free"})})}),(0,x.jsx)(c.wv,{when:"signed-in",children:(0,x.jsx)(d.$,{onClick:()=>g("/dashboard"),className:"w-full bg-foreground text-background rounded-xl px-8 py-4 font-bold hover:opacity-90 transition-all",children:"Go to Dashboard"})})]})]})})}),!s&&(0,x.jsx)("div",{className:"mt-20 text-center",children:(0,x.jsxs)("div",{className:"bg-card border border-border rounded-2xl p-10 py-12 shadow-soft",children:[(0,x.jsx)("h3",{className:"text-2xl font-bold text-foreground mb-6",children:"All plans include"}),(0,x.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 text-left",children:[(0,x.jsxs)("div",{className:"space-y-3",children:[(0,x.jsx)(h,{children:"Secure HTTPS uploads"}),(0,x.jsx)(h,{children:"Instant public URLs"}),(0,x.jsx)(h,{children:"File metadata API"})]}),(0,x.jsxs)("div",{className:"space-y-3",children:[(0,x.jsx)(h,{children:"File deletion API"}),(0,x.jsx)(h,{children:"CORS support"}),(0,x.jsx)(h,{children:"Webhook notifications"})]}),(0,x.jsxs)("div",{className:"space-y-3",children:[(0,x.jsx)(h,{children:"99.9% uptime SLA"}),(0,x.jsx)(h,{children:"Advanced analytics"})]})]})]})})]})}},1140(e,s,r){r.d(s,{Zp:()=>n});var t=r(5043),l=r(9766),a=r(579);const n=t.forwardRef((e,s)=>{let{className:r,...t}=e;return(0,a.jsx)("div",{ref:s,className:(0,l.cn)("rounded-xl border bg-card text-card-foreground shadow",r),...t})});
2n.displayName="Card";t.forwardRef((e,s)=>{let{className:r,...t}=e;return(0,a.jsx)("div",{ref:s,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",r),...t})}).displayName="CardHeader";t.forwardRef((e,s)=>{let{className:r,...t}=e;return(0,a.jsx)("div",{ref:s,className:(0,l.cn)("font-semibold leading-none tracking-tight",r),...t})}).displayName="CardTitle";t.forwardRef((e,s)=>{let{className:r,...t}=e;return(0,a.jsx)("div",{ref:s,className:(0,l.cn)("text-sm text-muted-foreground",r),...t})}).displayName="CardDescription";t.forwardRef((e,s)=>{let{className:r,...t}=e;return(0,a.jsx)("div",{ref:s,className:(0,l.cn)("p-6 pt-0",r),...t})}).displayName="CardContent";t.forwardRef((e,s)=>{let{className:r,...t}=e;return(0,a.jsx)("div",{ref:s,className:(0,l.cn)("flex items-center p-6 pt-0",r),...t})}).displayName="CardFooter"},2024(e,s,r){r.d(s,{A:()=>t});const t=(0,r(1212).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])}}]); 3//# sourceMappingURL=788.32882fb8.chunk.js.map
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.