PageSourceSearch

https://cloud.agenty.com/assets/page-BgLaxd_5.js

js agenty.com collected 2026-09-24 12:15:28 UTC 4,328 bytes, 1 lines download raw bytes

1import{j as e,M as u,H as f,U as m,aJ as y,W as i}from"./ui-CfRm5DTA.js";import{C as j,r as p}from"./icons-CoWim_VM.js";import{a as b,A as N}from"./api-TVx_5Nik.js";import"./index-CO7lCi65.js";function v({plan:n,interval:r="month",onSubscribe:o}){const{name:a,description:l,price:s,features:t,popular:c}=n,d=s?s[r]:null,x="USD";return e.jsxs(u,{className:"relative p-6 border",children:[c&&e.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2",children:e.jsx("span",{className:"bg-primary px-3 py-1 text-xs font-semibold text-primary-foreground rounded-full",children:"Popular"})}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx("h3",{className:"font-semibold text-xl",children:a}),e.jsx("p",{className:"text-sm text-muted-foreground",children:l})]}),e.jsx("div",{className:"space-y-1",children:d?e.jsxs("div",{className:"flex items-baseline",children:[e.jsx("span",{className:"text-3xl font-bold",children:new Intl.NumberFormat("en",{style:"currency",currency:x,minimumFractionDigits:0}).format(d)}),e.jsxs("span",{className:"text-sm text-muted-foreground ml-1",children:["/",r]})]}):e.jsx("div",{className:"flex items-baseline",children:e.jsx("span",{className:"text-3xl font-bold",children:"Contact us"})})}),e.jsx(f,{className:"w-full",variant:c?"default":"outline",onClick:()=>o(a),children:a==="Enterprise"?"Contact":"Subscribe"}),e.jsx("div",{className:"space-y-2 pt-4",children:t.map((h,g)=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(j,{className:"h-4 w-4 text-primary"}),e.jsx("span",{className:"text-sm text-foreground",children:h})]},g))})]})]})}const S=[{name:"Basic",price:{month:29,year:319},description:"Perfect for individuals and hobby projects",features:["5,000 pages per month","10 agents","7 days data retention","15 minutes scheduling","Basic proxy support","Email support","API access"]},{name:"Professional",price:{month:99,year:1089},description:"Ideal for small businesses and teams",features:["25,000 pages per month","50 agents","15 days data retention","10 minutes scheduling","Professional proxy pool","Priority email support","Advanced API features","Team collaboration"]},{name:"Business",price:{month:249,year:2739},description:"For large-scale data collection and proxies",features:["100,000 pages per month","100 agents","30 days data retention","5 minutes scheduling","Unblocker proxy pool","Email, chat support","Advanced API features","Agent setup help","Custom AI integrations"]},{name:"Enterprise",price:null,description:"Custom solutions for large organizations",features:["Unlimited everything","Custom agent setup","365 days data retention","1 minutes scheduling","Custom proxy solutions","Audit log compliance","Security and legal reviews","SLA guarantees","Dedicated support"]}];function I(){const[n,r]=p.useState({plan:"Professional",gateway:"stripe",currency:"USD",frequency:"month",trial:!1}),[o,a]=p.useState(!1),l=async s=>{if(s.includes("enterprise")){window.open("https://agenty.com/contact");return}a(!0),i.loading("Redirecting to Stripe...",{id:"stripe-redirect"});try{const t=await b.post(N.subscription+"/create-checkout-session",{...n,plan:s});i.dismiss("stripe-redirect"),window.location.href=t.url}catch(t){i.dismiss("stripe-redirect"),i.error(t.message)}finally{a(!1)}};return e.jsxs("div",{className:"mx-auto p-6 space-y-6 max-w-6xl",children:[e.jsxs("div",{className:"space-y-2 text-center",children:[e.jsx("h1",{className:"text-3xl font-bold",children:"Plans & Pricing"}),e.jsx("p",{className:"text-muted-foreground",children:"Choose the perfect plan for your business needs"})]}),e.jsx(u,{className:"w-fit mx-auto p-4",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(m,{htmlFor:"billing-toggle",children:"Monthly billing"}),e.jsx(y,{id:"billing-toggle",checked:n.frequency==="year",onCheckedChange:s=>r(t=>({...t,frequency:s?"year":"month"}))}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{htmlFor:"billing-toggle",children:"Annual billing"}),e.jsx("span",{className:"bg-red-500 text-primary text-xs font-medium px-2 py-1 rounded-full",children:"Save 1 month"})]})]})}),e.jsx("div",{className:"grid gap-6 md:grid-cols-4",children:S.map(s=>e.jsx(v,{interval:n.frequency,plan:s,onSubscribe:l},s.name))})]})}export{I 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.