PageSourceSearch

https://aivlo.ai/assets/pricing-Dczm2-L8.js

js aivlo.ai collected 2026-10-05 14:36:55 UTC 19,348 bytes, 6 lines download raw bytes

1import{l as J,x as K,u as Q,h as Z,r as c,a as X,j as e,S as ee,ab as te,C as se,c as re,d as ae,e as ne,b as ie,t as $,B as d,L as g,ak as oe,f as ce,g as D}from"./index-4_WeQnh-.js";import{B as S}from"./badge-Cdo1laOX.js";import{B as le}from"./Breadcrumbs-CHE0H7Nr.js";import{S as M}from"./star-1yIfWNfD.js";import{A as p}from"./arrow-right-CwDlilh5.js";import{C as de}from"./clock-TaC8FSg2.js";import{B as me}from"./building-CoctRItT.js";/**
2 * @license lucide-react v0.453.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const ue=J("Crown",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]),z=[{name:"Free",price:{monthly:0,yearly:0},description:"Perfect for trying out our AI tools",features:["5 guest uses (no account needed)","20 credits/month","Basic AI metadata generation","Batch processing (up to 20 items)","Standard processing speed","Community support"],limitations:["Limited to 20 credits/month","Basic features only","Standard queue priority"],buttonText:"Get Started Free",buttonVariant:"outline",popular:!1,icon:e.jsx(M,{className:"w-5 h-5"}),color:"text-gray-600 dark:text-gray-300"},{name:"Starter",price:{monthly:9.99,yearly:99.99},description:"Ideal for hobbyists and students",features:["250 credits per month","All AI tools access","Advanced metadata generation","Unlimited batch processing","Priority processing","Basic support","Custom metadata fields","Export in multiple formats"],limitations:[],buttonText:"Get Started",buttonVariant:"default",popular:!1,icon:e.jsx(oe,{className:"w-5 h-5"}),color:"text-blue-600",isPaid:!0},{name:"Creator",price:{monthly:24.99,yearly:224.91},description:"Best value for freelancers and photographers",features:["1,500 credits per month","All AI tools + premium features","Advanced AI models","Unlimited batch processing","Fast-track processing","Priority support","Custom workflows (Coming Soon)","Metadata templates (Coming Soon)","Advanced export options (Coming Soon)"],limitations:[],buttonText:"Get Started",buttonVariant:"default",popular:!0,icon:e.jsx(ce,{className:"w-5 h-5"}),color:"text-purple-600",isPaid:!0},{name:"Pro",price:{monthly:59.99,yearly:499.99},description:"For agencies and marketing teams",features:["5,000 credits per month","All premium features","Latest AI models","Unlimited batch processing","Instant processing","Dedicated support","Team collaboration tools (Coming Soon)","White-label options (Coming Soon)","Custom integrations (Coming Soon)","Analytics & reporting (Coming Soon)"],limitations:[],buttonText:"Get Started",buttonVariant:"default",popular:!1,icon:e.jsx(ue,{className:"w-5 h-5"}),color:"text-orange-600",isPaid:!0},{name:"Agency / Enterprise",price:null,description:"In development - Custom solutions for large organizations",features:["Custom credit allocation","Custom AI model training (planned)","Dedicated infrastructure (planned)","24/7 priority support (planned)","Custom development (planned)","On-premise deployment options (planned)","Advanced security features (planned)","SLA guarantees (planned)","Custom billing & invoicing (planned)","Training & onboarding (planned)"],limitations:[],buttonText:"Coming Soon!",buttonVariant:"outline",popular:!1,icon:e.jsx(me,{className:"w-5 h-5"}),color:"text-gray-800 dark:text-gray-300"}],pe=Math.round(Math.max(...z.filter(l=>l.price&&l.price.monthly>0&&l.price.yearly>0).map(l=>{const a=l.price.monthly*12;return(a-l.price.yearly)/a*100})));function ve(){const{subscribe:l}=K(),{user:a}=Q(),{toast:m}=Z(),[o,E]=c.useState("month"),[P,k]=c.useState(null),[A,L]=c.useState(null),[x,U]=c.useState(null),[I,b]=c.useState(""),[R,j]=c.useState(!1);c.useEffect(()=>{var t,r;if((r=(t=window.LemonSqueezy)==null?void 0:t.Url)!=null&&r.Open){j(!0);return}if(document.querySelector('script[src*="lemon.js"]')){const s=setInterval(()=>{var n,i;(i=(n=window.LemonSqueezy)==null?void 0:n.Url)!=null&&i.Open&&(j(!0),clearInterval(s))},100);setTimeout(()=>clearInterval(s),5e3)}else{const s=document.createElement("script");s.src="https://app.lemonsqueezy.com/js/lemon.js",s.defer=!0,s.onload=()=>{setTimeout(()=>j(!0),100)},document.head.appendChild(s)}},[]),c.useEffect(()=>{if(!x){b("");return}const t=()=>{const s=Date.now(),n=x-s;if(n<=0){U(null),b(""),m({title:"Discount Expired",description:"Your upgrade discount has expired. Click upgrade again to get a new one.",variant:"destructive"});return}const i=Math.floor(n/6e4),O=Math.floor(n%6e4/1e3);b(`${i}:${O.toString().padStart(2,"0")}`)};t();const r=setInterval(t,1e3);return()=>clearInterval(r)},[x,m]);const{data:v,isLoading:q}=X({queryKey:["/api/stats/users-count"],refetchOnWindowFocus:!1,refetchOnMount:!0,staleTime:6e4}),[T,V]=c.useState(null);c.useEffect(()=>{const t=l("user-count-updated",r=>{V(r.count)});return()=>{t()}},[l]);const F=T!==null?T:(v==null?void 0:v.totalUsers)||0,W=q?"...":F>
60?F.toLocaleString():"...",Y=async t=>{var r,s;if(!(!("isPaid"in t)||!t.isPaid)&&a){k(t.name);try{const i=a.subscriptionStatus==="active"||a.subscriptionStatus==="trialing"?"/api/billing/upgrade":"/api/checkout";console.log("[Pricing] User Status:",a.subscriptionStatus),console.log("[Pricing] Routing to:",i);const y=await(await D("POST",i,{planName:t.name,interval:o})).json();if(!y.checkoutUrl){m({title:"Checkout Failed",description:y.message||"Unable to generate checkout URL. Please try again.",variant:"destructive"});return}(s=(r=window.LemonSqueezy)==null?void 0:r.Url)!=null&&s.Open?window.LemonSqueezy.Url.Open(y.checkoutUrl):window.location.href=y.checkoutUrl}catch(n){m({title:"Checkout Failed",description:n.message||"Failed to create checkout session",variant:"destructive"})}finally{k(null)}}},h={free:0,starter:1,creator:2,pro:3,enterprise:4},w=()=>{if(!a||!a.planType)return 0;const t=a.planType.toLowerCase();return h[t]??0},N=t=>{const r=t.toLowerCase();return r.includes("enterprise")||r.includes("agency")?h.enterprise:r==="pro"?h.pro:r==="creator"?h.creator:r==="starter"?h.starter:r==="free"?h.free:0},f=t=>{if(!a)return!1;const r=w(),s=N(t);return r===s},G=t=>{if(!a)return!1;const r=w(),s=N(t);return s<r&&s>0},B=t=>{if(!a)return!1;const r=w();return N(t)>r},C=()=>{if(!a)return!1;const t=a.subscriptionStatus==="active",r=(a.planType||"").toLowerCase(),s=["starter","creator","pro"].includes(r);return t&&s},H=async t=>{var r,s;if(!(!("isPaid"in t)||!t.isPaid)){L(t.name);try{const i=await(await D("POST","/api/billing/upgrade",{planName:t.name,interval:o})).json();if(!i.checkoutUrl){m({title:"Upgrade Failed",description:i.message||"Unable to generate checkout URL. Please try again.",variant:"destructive"});return}i.expiresIn&&U(Date.now()+i.expiresIn),i.creditValueCents>0&&m({title:"Credit Applied",description:i.message}),R&&((s=(r=window.LemonSqueezy)==null?void 0:r.Url)!=null&&s.Open)?window.LemonSqueezy.Url.Open(i.checkoutUrl):window.open(i.checkoutUrl,"_blank")}catch(n){m({title:"Upgrade Failed",description:n.message||"Failed to create upgrade checkout",variant:"destructive"})}finally{L(null)}}},u=t=>t.name==="Free"||t.name==="Agency / Enterprise"||!("checkoutUrl"in t)||!t.checkoutUrl?t.buttonText:a?f(t.name)?"Current Plan":G(t.name)?"Switch Plan":"Upgrade Now":"Log in to Upgrade",_=t=>f(t.name);return e.jsxs("div",{className:"container mx-auto px-4 py-8 max-w-7xl",children:[e.jsx(ee,{title:"Pricing Plans - Flexible Image Processing Credits | Aivlo",description:"Choose the right plan for your workflow. From free starter credits to high-volume professional archiving and e-commerce automation."}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication",name:"Aivlo",applicationCategory:"MultimediaApplication",operatingSystem:"Web",description:"Secure, AI-powered image processing and automation tools featuring hybrid cloud and 100% local WebAssembly edge computing.",offers:{"@type":"AggregateOffer",priceCurrency:"USD",lowPrice:"0.00",highPrice:"59.99",offerCount:"4",offers:[{"@type":"Offer",name:"Free Plan",price:"0.00",priceCurrency:"USD",description:"20 credits/month, local WASM tools completely free."},{"@type":"Offer",name:"Starter Plan",price:"9.99",priceCurrency:"USD",description:"250 credits/month, all AI tools access."},{"@type":"Offer",name:"Creator Plan",price:"24.99",priceCurrency:"USD",description:"1500 credits/month, premium AI features."},{"@type":"Offer",name:"Pro Plan",price:"59.99",priceCurrency:"USD",description:"5000 credits/month for agencies and marketing teams."}]}})}}),e.jsx(le,{items:[{label:"Pricing",href:"#"}]}),e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h1",{className:"text-4xl font-bold mb-4",children:"Simple, Transparent Pricing"}),e.jsx("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:"Choose the perfect plan for your image processing needs. Start free and upgrade as you grow."}),e.jsx("div",{className:"flex items-center justify-center gap-2 mt-6",children:e.jsxs(S,{variant:"secondary",className:"text-sm","data-testid":"badge-trusted-users",children:[e.jsx(te,{className:"w-3 h-3 mr-1"}),e.jsxs("span",{"data-testid":"text-user-count",children:["Trusted by ",W," users"]})]})}),e.jsxs("div",{className:"flex items-center justify-center gap-4 mt-8",children:[e.jsx("span",{className:`text-sm font-medium ${o==="month"?"text-foreground":"text-muted-foreground"}`,children:"Monthly"}),e.jsx("button",{onClick:()=>E(o==="month"?"year":"month"),className:`relative inline-flex h-6 w-11 items-center rounded-full transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ${o==="year"?"bg-primary":"bg-gray-200 dark:bg-gray-700"}`,role:"switch","aria-checked":o==="year",children:e.jsx("span",{className:`pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow-lg ring-0 transition-transform ${o==="year"?"translate-x-5":"translate-x-0.5"}`})}),e.jsx("span",{className:`text-sm font-medium ${o==="year"?"text-foreground":"text-muted-foreground"}`,children:"Yearly"}),o==="year"&&e.jsxs(S,{className:"bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200",children:["Save up to ",pe,"%"]})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 ga
6p-6 mb-12",children:z.map((t,r)=>e.jsxs(se,{className:`relative ${t.popular?"border-2 border-primary shadow-lg scale-105":"border"} hover:shadow-lg transition-all duration-200`,children:[t.popular&&e.jsx("div",{className:"absolute -top-3 left-1/2 transform -translate-x-1/2",children:e.jsxs(S,{className:"bg-gradient-to-r from-primary to-purple-600 text-white px-3 py-1 whitespace-nowrap",children:[e.jsx(M,{className:"w-3 h-3 mr-1"}),"Most Popular"]})}),e.jsxs(re,{className:"text-center pb-4",children:[e.jsx("div",{className:`inline-flex items-center justify-center w-10 h-10 rounded-full bg-gray-100 dark:bg-gray-800 mb-4 mx-auto ${t.color}`,children:t.icon}),e.jsx(ae,{className:"text-lg font-semibold",children:t.name}),e.jsx(ne,{className:"text-sm",children:t.description}),e.jsx("div",{className:"mt-4",children:t.price?e.jsxs("div",{className:"space-y-2",children:[o==="month"?e.jsxs("div",{className:"text-3xl font-bold",children:["$",t.price.monthly.toFixed(2),e.jsx("span",{className:"text-lg font-normal text-muted-foreground",children:"/month"})]}):e.jsxs("div",{className:"text-3xl font-bold",children:["$",(t.price.yearly/12).toFixed(2),e.jsx("span",{className:"text-lg font-normal text-muted-foreground",children:"/month"})]}),t.price.monthly>0&&o==="year"&&(()=>{const s=Math.round((1-t.price.yearly/(t.price.monthly*12))*100);return e.jsxs(e.Fragment,{children:[s>0&&e.jsxs("span",{className:"inline-block text-sm font-semibold text-green-600 dark:text-green-400 bg-green-50 dark:bg-green-950/40 px-2 py-0.5 rounded-full mt-1",children:["Save ",s,"%"]}),e.jsxs("div",{className:"text-sm text-muted-foreground",children:["Billed $",t.price.yearly.toFixed(2),"/year"]})]})})(),t.price.monthly>0&&o==="month"&&e.jsx("div",{className:"text-sm text-muted-foreground",children:"Billed monthly"})]}):e.jsx("div",{className:"text-2xl font-bold",children:"Custom"})})]}),e.jsxs(ie,{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-3",children:[t.features.map((s,n)=>e.jsxs("div",{className:"flex items-start gap-2 text-sm",children:[e.jsx($,{className:"w-4 h-4 text-green-500 mt-0.5 flex-shrink-0"}),e.jsx("span",{children:s})]},n)),t.limitations.map((s,n)=>e.jsxs("div",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[e.jsx("span",{className:"w-4 h-4 text-orange-500 mt-0.5 flex-shrink-0",children:"•"}),e.jsx("span",{children:s})]},n))]}),e.jsxs("div",{children:[_(t)?e.jsxs(d,{className:"w-full mt-6",variant:"secondary",disabled:!0,"data-testid":`button-get-started-${t.name.toLowerCase().replace(/\s+/g,"-")}`,children:[e.jsx($,{className:"w-4 h-4 mr-2"}),u(t)]}):a&&C()&&B(t.name)&&"isPaid"in t?e.jsx(d,{className:"w-full mt-6",variant:t.buttonVariant,onClick:()=>H(t),disabled:A===t.name,"data-testid":`button-get-started-${t.name.toLowerCase().replace(/\s+/g,"-")}`,children:A===t.name?e.jsx(e.Fragment,{children:"Processing..."}):e.jsxs(e.Fragment,{children:[u(t),e.jsx(p,{className:"w-4 h-4 ml-2"})]})}):t.name==="Agency / Enterprise"?e.jsx(d,{className:"w-full mt-6",variant:t.buttonVariant,asChild:!0,"data-testid":`button-get-started-${t.name.toLowerCase().replace(/\s+/g,"-")}`,children:e.jsxs(g,{href:"/enterprise",children:[u(t),e.jsx(p,{className:"w-4 h-4 ml-2"})]})}):t.name==="Free"?e.jsx(d,{className:"w-full mt-6",variant:t.buttonVariant,asChild:!0,"data-testid":`button-get-started-${t.name.toLowerCase().replace(/\s+/g,"-")}`,children:e.jsxs(g,{href:"/register",children:[u(t),e.jsx(p,{className:"w-4 h-4 ml-2"})]})}):"isPaid"in t?a?e.jsx(d,{className:"w-full mt-6",variant:t.buttonVariant,onClick:()=>Y(t),disabled:P===t.name,"data-testid":`button-get-started-${t.name.toLowerCase().replace(/\s+/g,"-")}`,children:P===t.name?e.jsx(e.Fragment,{children:"Processing..."}):e.jsxs(e.Fragment,{children:[u(t),e.jsx(p,{className:"w-4 h-4 ml-2"})]})}):e.jsx(d,{className:"w-full mt-6",variant:t.buttonVariant,asChild:!0,"data-testid":`button-get-started-${t.name.toLowerCase().replace(/\s+/g,"-")}`,children:e.jsxs(g,{href:"/auth",children:[u(t),e.jsx(p,{className:"w-4 h-4 ml-2"})]})}):e.jsx(d,{className:"w-full mt-6",variant:t.buttonVariant,asChild:!0,"data-testid":`button-get-started-${t.name.toLowerCase().replace(/\s+/g,"-")}`,children:e.jsxs(g,{href:"/register",children:[u(t),e.jsx(p,{className:"w-4 h-4 ml-2"})]})}
6),"isPaid"in t&&a&&!f(t.name)&&C()&&B(t.name)&&e.jsx("p",{className:"text-xs text-muted-foreground mt-2 text-center",children:"You'll receive credit for unused subscription time when upgrading."}),"isPaid"in t&&a&&!f(t.name)&&!C()&&e.jsxs("p",{className:"text-xs text-muted-foreground mt-2 text-center",children:["Please ensure you use your account email (",a.email,") at checkout to activate your subscription instantly."]})]})]})]},t.name))}),e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsx("h2",{className:"text-2xl font-bold text-center mb-8",children:"Frequently Asked Questions"}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold mb-2",children:"Are my images and metadata secure?"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Absolutely. We employ a privacy-first hybrid architecture. Tools like our Secure Batch Converter process everything locally in your browser via WebAssembly—your files never touch our servers. For cloud-processed tools, images are transmitted via bank-grade encryption and automatically deleted immediately after processing. We never use your data to train AI models."})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold mb-2",children:"How does the credit system work?"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"One credit equals one image processed through our AI tools. Local tools (like the Batch Converter) are 100% free and do not consume credits. Credits reset automatically at the beginning of your billing cycle."})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold mb-2",children:"Can I cancel or change plans anytime?"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Yes, you maintain full control. Upgrade, downgrade, or cancel your subscription at any time right from your dashboard. Plan changes take effect immediately, with unused time automatically prorated."})]})]}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold mb-2",children:"Do you claim ownership over my images?"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Never. You retain 100% copyright and ownership of all uploaded content. We act solely as a secure processing pipeline. Your intellectual property remains strictly yours."})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold mb-2",children:"Are there any hidden fees or contracts?"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"No hidden fees, no surprise charges, and no lock-in contracts. You are billed clearly and transparently via our secure payment partner using standard methods like Credit Card, Apple Pay, or PayPal."})]}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold mb-2",children:"What happens to my data if I cancel?"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"In accordance with strict GDPR and CCPA guidelines, we practice data minimization. Once you cancel and delete your account, all associated telemetry is permanently purged from our encrypted databases."})]})]})]})]}),e.jsxs("div",{className:"text-center mt-16 p-8 bg-gradient-to-r from-primary/10 to-purple-600/10 rounded-lg",children:[e.jsx("h2",{className:"text-2xl font-bold mb-4",children:"Ready to get started?"}),e.jsx("p",{className:"text-muted-foreground mb-6 max-w-2xl mx-auto",children:"Join thousands of creators, photographers, and businesses who trust our AI-powered image processing tools."}),e.jsxs("div",{className:"flex justify-center gap-4",children:[e.jsx(d,{asChild:!0,size:"lg",children:e.jsxs(g,{href:"/register",children:["Get Started",e.jsx(p,{className:"w-4 h-4 ml-2"})]})}),e.jsx(d,{variant:"outline",size:"lg",asChild:!0,children:e.jsx(g,{href:"/tools",children:"Explore Tools"})})]})]}),x&&I&&e.jsx("div",{className:"fixed bottom-0 left-0 right-0 z-50 bg-gradient-to-r from-orange-500 to-red-500 text-white py-3 px-4 shadow-lg",children:e.jsxs("div",{className:"container mx-auto flex items-center justify-center gap-3",children:[e.jsx(de,{className:"w-5 h-5 animate-pulse"}),e.jsxs("span",{className:"font-semibold",children:["Upgrade discount expires in ",e.jsx("span",{className:"text-xl font-bold",children:I})]}),e.jsx("span",{className:"text-sm opacity-90",children:"Complete your upgrade now to lock in your proration credit!"})]})})]})}export{ve as default};

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.