PageSourceSearch

https://musebix.ai/assets/ApiAccess-CyFpGWWr.js

js musebix.ai collected 2026-10-05 15:15:22 UTC 34,475 bytes, 6 lines download raw bytes

1import{z as B,j as e,A as te,a0 as G,d as re,aD as j,b5 as S,b0 as ae,b4 as oe,aK as se,b6 as ne,B as le,b7 as ie,b8 as de,k as M,X as _,s as ce,m as me,as as Y}from"./vendor-ui-BTisa7F-.js";import{a as x,L as O}from"./vendor-react-B9ReewUs.js";import{s as ue}from"./seo-CPrGbC_2.js";import{h as V,u as pe,j as xe,aI as he,B as d,a3 as v,aG as fe,aF as ge,a6 as A,an as z}from"./index-CkrHovZh.js";import{C as be}from"./CloudflareTurnstile-CXr2pp4S.js";const H={async recordReferralClick(t,n){var s;try{return((s=(await V.post("/ref/click",{code:t,sub:n,landingUrl:window.location.origin+window.location.pathname})).data.data)==null?void 0:s.clickId)??null}catch{return null}},async submit(t){return(await V.post("/api-access-requests",t)).data.data}};v.replace(/^https?:\/\//,"");const P=ge,k=`${fe}?text=${encodeURIComponent(`Hi! I would like to integrate ${d} API into my project.`)}`,R=`mailto:${A}?subject=${encodeURIComponent(`${d} API Access Inquiry`)}`,ye=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,24}$/,ve=/^https?:\/\/[^\s<>"']{3,}$/i,je=/^@?[a-zA-Z0-9_]{3,32}$/,we=/<\s*\/?\s*(script|iframe|object|embed|link|meta|style|svg|img|on[a-z]+=)/i,Ne=["website","bot","mobile_app","desktop_app","extension","other"],ke=["i2v","extend","dressChange","images","training","audio"],Ae=["<100","100-1000","1000-10000","10000-50000","50000+","unsure"],Z=12,Ce="v1";function Te(){var n,s;const t={};try{const a=new URLSearchParams(window.location.search),u=(n=a.get("ref"))==null?void 0:n.trim().toLowerCase(),l=(s=a.get("rc"))==null?void 0:s.trim();if(u&&(t.refCode=u.slice(0,64)),l&&(t.clickId=l.slice(0,64)),!t.refCode||!t.clickId){const g=localStorage.getItem("ref_v1");if(g){const c=JSON.parse(g);typeof(c==null?void 0:c.at)=="number"&&Date.now()-c.at<2160*60*60*1e3&&(!t.refCode&&c.code&&(t.refCode=String(c.code).slice(0,64)),!t.clickId&&c.clickId&&(t.clickId=String(c.clickId).slice(0,64)))}}}catch{}return t}const Ie={fullName:"",email:"",company:"",projectUrl:"",platformType:"",generationTypes:[],volumeDaily:"",description:"",notes:"",telegram:""},Le=200;function Fe(){var F;const{t}=pe("api-access"),n=xe(),s=he((F=n.catalog)==null?void 0:F.models)??Le,[a,u]=x.useState(Ie),[l,g]=x.useState(!1),[c,C]=x.useState(!1),[E,T]=x.useState(!1),[b,D]=x.useState({}),$=x.useRef(!1),J=x.useRef(Date.now());x.useEffect(()=>{let r=!1;return(async()=>{var h,I,L;let o,i,p;try{const N=new URLSearchParams(window.location.search);if(o=((h=N.get("ref"))==null?void 0:h.trim().toLowerCase())||void 0,i=((I=N.get("rc"))==null?void 0:I.trim())||void 0,p=((L=N.get("sub"))==null?void 0:L.trim())||void 0,!o&&!i)return;const W=localStorage.getItem("ref_v1"),q=W?JSON.parse(W):null;if(typeof(q==null?void 0:q.at)=="number"&&Date.now()-q.at<2160*60*60*1e3)return;localStorage.setItem("ref_v1",JSON.stringify({code:o??null,clickId:i??null,at:Date.now()}))}catch{}if(!o||i)return;const m=await H.recordReferralClick(o,p);if(!(!m||r))try{localStorage.setItem("ref_v1",JSON.stringify({code:o,clickId:m,at:Date.now()}))}catch{}})(),()=>{r=!0}},[]),x.useEffect(()=>{ue(t("meta.title",`${d} API Access — Plug AI Video Generation Into Your Product`),t("meta.description",`${d} API for partners — image-to-video, extend, dressChange and {{count}}+ models. Webhook delivery, priority queue, dedicated support. Pricing on request.`,{count:s}),`${v}/og/api-access.png`,{url:`${v}/api-access`});const r=document.createElement("script");return r.type="application/ld+json",r.dataset.schemaApiAccess="1",r.text=JSON.stringify([{"@context":"https://schema.org","@type":"Service",name:`${d} AI Video Generation API`,provider:{"@type":"Organization",name:`${d}`,url:v},areaServed:"Worldwide",url:`${v}/api-access`,description:`Programmatic access to AI image-to-video, extend, dressChange and ${s}+ models with webhook delivery and priority queue.`},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:`${d}`,item:v},{"@type":"ListItem",position:2,name:"API Access",item:`${v}/api-access`}]}]),document.head.appendChild(r),()=>{r.remove()}},[t,s]);const y=(r,o)=>{u(i=>({...i,[r]:o})),D(i=>({...i,[r]:void 0}))},K=r=>{u(o=>{const i=o.generationTypes.includes(r);return{...o,generationTypes:i?o.generationTypes.filter(p=>p!==r):[...o.generationTypes,r]}}),D(o=>({...o,generationTypes:void 0}))},Q=()=>{const r={},o=a.fullName.trim(),i=a.email.trim().toLowerCase(),p=a.projectUrl.trim(),m=a.description.trim(),h=a.telegram.trim(),I=a.company.trim(),L=a.notes.trim();o.length<2&&(r.fullName=t("errors.nameRequired","Please enter your full name")),ye.test(i)||(r.email=t("errors.emailInvalid","Please enter a valid email")),a.platformType||(r.platformType=t("errors.platformRequired","Select a platform type")),a.generationTypes.length||(r.generationTypes=t("errors.genTypesRequired","Pick at least one generation type")),m.length<Z&&(r.description=t("errors.descriptionShort","Tell us a bit more — at least {{count}} characters",{count:Z})),m.length>2e3&&(r.description=t("errors.descriptionLong","Description is too long")),p&&!ve.test(p)&&(r.projectUrl=t("errors.urlInvalid","Enter a valid http(s) URL or leave blank")),h&&!je.test(h)&&(r.telegram=t("errors.telegramInvalid","Telegram handle is invali
1d"));const N=`${o}
2${I}
3${p}
4${m}
5${L}
6${h}`;return we.test(N)&&(r.description=t("errors.markupNotAllowed","Plain text only — HTML and scripts are not allowed.")),D(r),Object.keys(r).length===0},X=x.useCallback(async r=>{var o,i,p;if(!$.current){$.current=!0,g(!0);try{const m={fullName:a.fullName.trim(),email:a.email.trim().toLowerCase(),company:a.company.trim()||void 0,projectUrl:a.projectUrl.trim()||void 0,platformType:a.platformType,generationTypes:a.generationTypes,volumeDaily:a.volumeDaily,description:a.description.trim(),notes:a.notes.trim()||void 0,telegram:a.telegram.trim()||void 0,turnstileToken:r,...Te(),landingUrl:window.location.href.slice(0,500),locale:(o=navigator.language)==null?void 0:o.slice(0,16),formVersion:Ce,fillMs:Date.now()-J.current},h=await H.submit(m);C(!0),T(!1),h.duplicate&&B(t("toast.duplicate","We already received your request today — we'll get back to you soon."),{icon:"👌"})}catch(m){const h=((p=(i=m==null?void 0:m.response)==null?void 0:i.data)==null?void 0:p.error)||t("toast.failed","Submission failed — please try again or contact us directly.");B.error(h)}finally{g(!1),$.current=!1}}},[a,t]),ee=r=>{if(r.preventDefault(),!Q()){const o=document.querySelector('[data-error="true"]');o==null||o.scrollIntoView({behavior:"smooth",block:"center"});return}T(!0)};return e.jsxs("div",{className:"min-h-screen bg-background text-foreground overflow-x-hidden",children:[e.jsxs("div",{className:"fixed inset-0 pointer-events-none",children:[e.jsx("div",{className:"absolute -top-40 -right-40 w-[500px] h-[500px] md:w-[600px] md:h-[600px] bg-accent/15 rounded-full blur-[150px]"}),e.jsx("div",{className:"absolute top-1/2 -left-40 w-[400px] h-[400px] md:w-[500px] md:h-[500px] bg-accent/10 rounded-full blur-[150px]"})]}),e.jsxs("main",{className:"relative z-10",children:[e.jsxs("nav",{className:"max-w-6xl mx-auto px-4 sm:px-6 py-5 flex items-center justify-between",children:[e.jsxs(O,{to:"/",className:"flex items-center gap-2 text-sm text-foreground-muted hover:text-foreground transition-colors",children:[e.jsx(te,{className:"w-4 h-4"}),e.jsx("span",{children:t("back","Back")})]}),e.jsx(O,{to:"/api-docs",className:"text-xs sm:text-sm font-medium text-foreground-muted hover:text-foreground transition-colors",children:t("viewDocs","View API Docs →")})]}),e.jsx("section",{className:"max-w-6xl mx-auto px-4 sm:px-6 pt-8 pb-16 md:pt-16 md:pb-24",children:e.jsxs("div",{className:"max-w-3xl",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-accent/10 border border-accent/20 mb-6",children:[e.jsx(G,{className:"w-3.5 h-3.5 text-accent"}),e.jsx("span",{className:"text-xs font-medium text-accent",children:t("hero.badge",`${d} API for Partners`)})]}),e.jsxs("h1",{className:"text-3xl sm:text-4xl md:text-6xl font-bold leading-[1.05] mb-5",children:[t("hero.title1","Ship AI video.")," ",e.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-accent to-[#7c8fff]",children:t("hero.title2","Skip the GPU bill.")})]}),e.jsx("p",{className:"text-foreground-muted text-base sm:text-lg mb-8 max-w-2xl leading-relaxed",children:t("hero.subtitle",`Plug ${d} into your product and ship image-to-video, extend, dressChange and {{count}}+ models with a single API key. Webhook delivery, priority queue, dedicated support — no infrastructure to babysit.`,{count:s})}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 mb-8",children:[e.jsxs("a",{href:"#apply",className:"inline-flex items-center justify-center gap-2 px-7 py-3.5 rounded-full bg-accent hover:bg-accent-hover text-white text-sm font-semibold transition-colors",children:[e.jsx(re,{className:"w-4 h-4"}),t("hero.applyCta","Apply for API Access")]}),e.jsxs("a",{href:k,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 px-7 py-3.5 rounded-full bg-background-elevated hover:bg-background-input border border-border text-sm font-semibold transition-colors",children:[e.jsx(j,{className:"w-4 h-4"}),t("hero.telegramCta","Talk on Telegram")]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3 sm:gap-6 text-xs sm:text-sm text-foreground-muted",children:[e.jsx("span",{className:"font-medium text-foreground",children:t("hero.urgent","Need to reach us fast?")}),e.jsxs("a",{href:k,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 hover:text-foreground transition-colors",children:[e.jsx(j,{className:"w-3.5 h-3.5 text-accent"}),P]}),e.jsxs("a",{href:R,className:"inline-flex items-center gap-1.5 hover:text-foreground transition-colors",children:[e.jsx(S,{className:"w-3.5 h-3.5 text-accent"}),A]})]})]})}),e.jsx("section",{className:"max-w-6xl mx-auto px-4 sm:px-6 pb-16 md:pb-20",children:e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3 md:gap-4",children:[{v:`${s}+`,l:t("stats.models","Production models")},{v:"<60s",l:t("stats.latency","Avg p50 latency")},{v:"99.9%",l:t("stats.uptime","Uptime target")},{v:"24/7",l:t("stats.support","Partner support")}].map(r=>e.jsxs("div",{className:"rounded-2xl bg-background-elevated backdrop-blur-xl border border-border p-4 md:p-5 text-center",children:[e.jsx("div",{className:"text-2xl md:text-3xl font-bold text-accent",children:r.v}),e.jsx("div",{className:"text-[11px] md:text-xs text-foreground-muted mt-1",children:r.l})]},r.l))})}),e.jsxs("section",{className:"max-w-6xl mx-auto px-4 sm:px-6 pb-16 md:pb-20",children:[e.jsxs("div",{className:"text-center mb-10 md:mb-12",children:[e.jsx("h2",{className:"text-2xl md:text-4xl font-bold mb-3",children:t("what.title","Everything your integration needs")}),e.jsx("p",{className:"text-foreground-muted text-sm md:text-base max-w-xl mx-auto",children:t("what.subtitle",`One key unlocks every ${d} capability we run in production for our own product.`)})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 md:gap-4",children:[{icon:ae,t:"what.f1t",td:"Full model catalog",d:"what.f1d",dd:"Image-to-vi
6deo, video extend, dressChange, image generation, custom LoRA training, audio — every endpoint, no model gating."},{icon:G,t:"what.f2t",td:"{{count}}+ working models",d:"what.f2d",dd:`Access the same catalog that powers ${z} today — and every new model we ship is automatically yours.`},{icon:oe,t:"what.f3t",td:"Webhook delivery",d:"what.f3d",dd:"POST completion callbacks to your URL — no polling, no socket babysitting, signed payloads with retry."},{icon:se,t:"what.f4t",td:"Priority queue",d:"what.f4d",dd:"Partner jobs jump the consumer queue — predictable latency even at peak hours."},{icon:ne,t:"what.f5t",td:"Dedicated capacity",d:"what.f5d",dd:"Higher-tier plans get reserved GPU slots so a viral consumer surge never starves your traffic."},{icon:le,t:"what.f6t",td:"Clean docs + key",d:"what.f6d",dd:"Single API key, OpenAPI-style reference, copy-paste examples for the typical flows."},{icon:ie,t:"what.f7t",td:"Usage dashboard",d:"what.f7d",dd:"Real-time spend, success rate, p50/p95 latency per endpoint — billing surprises don't happen here."},{icon:de,t:"what.f8t",td:"Mature content support",d:"what.f8d",dd:"Built for platforms in the niches mainstream APIs avoid. We handle the moderation surface so you don't."},{icon:j,t:"what.f9t",td:"Dedicated support",d:"what.f9d",dd:"A real engineer on Telegram for integration questions — not a tier-1 ticket queue."}].map(r=>e.jsxs("div",{className:"rounded-2xl bg-background-elevated backdrop-blur-xl border border-border p-5 h-full",children:[e.jsx("div",{className:"w-10 h-10 rounded-xl bg-accent/20 flex items-center justify-center mb-4",children:e.jsx(r.icon,{className:"w-5 h-5 text-accent"})}),e.jsx("h3",{className:"font-semibold mb-1.5 text-[15px]",children:t(r.t,r.td,{count:s})}),e.jsx("p",{className:"text-sm text-foreground-muted leading-relaxed",children:t(r.d,r.dd)})]},r.td))})]}),e.jsxs("section",{className:"max-w-6xl mx-auto px-4 sm:px-6 pb-16 md:pb-20",children:[e.jsxs("div",{className:"text-center mb-10 md:mb-12",children:[e.jsx("h2",{className:"text-2xl md:text-4xl font-bold mb-3",children:t("pricing.title","Tiered pricing, scaled to your volume")}),e.jsx("p",{className:"text-foreground-muted text-sm md:text-base max-w-xl mx-auto",children:t("pricing.subtitle","Every plan includes the full feature set. Rates depend on your volume and deposit level — your manager quotes the exact terms.")})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4 md:gap-5",children:[e.jsx(U,{name:t("pricing.starter.name","Starter"),price:t("pricing.priceByRequest","On request"),cadence:"",tagline:t("pricing.starter.tagline","Validate the integration"),perks:[t("pricing.starter.p1","Low monthly volume"),t("pricing.starter.p2","Standard priority queue"),t("pricing.starter.p3","Webhook delivery + retries"),t("pricing.starter.p4","Email support")],ctaLabel:t("pricing.applyCta","Apply")}),e.jsx(U,{featured:!0,name:t("pricing.pro.name","Pro"),price:t("pricing.priceByRequest","On request"),cadence:"",tagline:t("pricing.pro.tagline","For products in production"),perks:[t("pricing.pro.p1","Mid monthly volume"),t("pricing.pro.p2","Higher priority queue"),t("pricing.pro.p3","Webhook + signed callbacks"),t("pricing.pro.p4","Telegram support, same-day SLAs"),t("pricing.pro.p5","Custom LoRA training included")],ctaLabel:t("pricing.applyCta","Apply"),badge:t("pricing.pro.badge","Most popular")}),e.jsx(U,{name:t("pricing.studio.name","Studio"),price:t("pricing.priceByRequest","On request"),cadence:"",tagline:t("pricing.studio.tagline","Scaled platforms & studios"),perks:[t("pricing.studio.p1","High monthly volume"),t("pricing.studio.p2","Reserved GPU capacity"),t("pricing.studio.p3","Dedicated technical contact"),t("pricing.studio.p4","Custom rate limits, models, workflows"),t("pricing.studio.p5","Volume discounts")],ctaLabel:t("pricing.applyCta","Apply")})]}),e.jsxs("div",{className:"mt-10 rounded-2xl bg-background-elevated border border-border p-6 md:p-8 text-center",children:[e.jsx("h3",{className:"text-lg md:text-xl font-bold mb-2",children:t("priceList.title","Full price list on request")}),e.jsx("p",{className:"text-sm text-foreground-muted max-w-lg mx-auto mb-6",children:t("priceList.body","Per-generation rates depend on your volume and deposit level. Message our partner manager and we will send the full rate card and quote your terms.")}),e.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-3",children:[e.jsxs("a",{href:k,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 px-6 min-h-[44px] rounded-full bg-accent hover:bg-accent-hover text-white text-sm font-semibold transition-colors",children:[e.jsx(j,{className:"w-4 h-4"}),P]}),e.jsxs("a",{href:R,className:"inline-flex items-center justify-center gap-2 px-6 min-h-[44px] rounded-full bg-background-card hover:bg-background-input border border-border text-sm font-semibold transition-colors",children:[e.jsx(S,{className:"w-4 h-4"}),A]})]})]}),e.jsx("p",{className:"text-center text-xs text-foreground-muted mt-4",children:t("pricing.footer","Exact pricing scales with your monthly call volume — we'll quote you after reviewing your application.")})]}),e.jsxs("section",{className:"max-w-6xl mx-auto px-4 sm:px-6 pb-16 md:pb-20",children:[e.jsx("div",{className:"text-center mb-10 md:mb-12",children:e.jsx("h2",{className:"text-2xl md:text-4xl font-bold mb-3",children:t("builtFor.title","Built for teams that ship")})}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3 md:gap-4",children:[{i:"🤖",t:"builtFor.b1t",td:"Telegram & Discord bots",d:"builtFor.b1d",dd:"Drop-in image-to-vi
6deo for chat experiences — webhooks fit your bot loop natively."},{i:"🌐",t:"builtFor.b2t",td:"Dating & creator platforms",d:"builtFor.b2d",dd:"A processor-tolerant pipeline that already runs at scale on a platform like yours."},{i:"📱",t:"builtFor.b3t",td:"Mobile apps",d:"builtFor.b3d",dd:"Offload GPU to us, keep your client thin — webhooks finish the trip back to the device."},{i:"🎬",t:"builtFor.b4t",td:"Studios & creators",d:"builtFor.b4d",dd:"Train custom LoRAs at volume, batch-generate scenes, export to your editing pipeline."}].map(r=>e.jsxs("div",{className:"rounded-2xl bg-background-elevated backdrop-blur-xl border border-border p-5 h-full",children:[e.jsx("div",{className:"text-3xl mb-3",children:r.i}),e.jsx("h3",{className:"font-semibold mb-1.5 text-[15px]",children:t(r.t,r.td)}),e.jsx("p",{className:"text-sm text-foreground-muted leading-relaxed",children:t(r.d,r.dd)})]},r.td))})]}),e.jsxs("section",{className:"max-w-4xl mx-auto px-4 sm:px-6 pb-16 md:pb-20",children:[e.jsx("div",{className:"text-center mb-8 md:mb-10",children:e.jsx("h2",{className:"text-2xl md:text-4xl font-bold mb-3",children:t("compare.title",`Why partners pick ${d}`)})}),e.jsxs("div",{className:"rounded-2xl bg-background-elevated border border-border overflow-hidden",children:[e.jsxs("div",{className:"grid grid-cols-[1fr_auto_auto] gap-3 px-4 sm:px-6 py-3 border-b border-border bg-background-card",children:[e.jsx("span",{}),e.jsx("span",{className:"w-12 text-center text-[11px] uppercase tracking-wider text-foreground-dim font-semibold",children:t("compare.them","Others")}),e.jsx("span",{className:"w-12 text-center text-[11px] uppercase tracking-wider text-accent font-semibold",children:t("compare.us",`${d}`)})]}),[{l:t("compare.r1","All endpoints unlocked, no model gating"),us:!0,them:!1},{l:t("compare.r2","Mature content workflows production-ready"),us:!0,them:!1},{l:t("compare.r3","Webhook delivery with signed payloads"),us:!0,them:!0},{l:t("compare.r4","Priority queue with predictable latency"),us:!0,them:!1},{l:t("compare.r5","Custom LoRA training endpoint"),us:!0,them:!1},{l:t("compare.r6","Direct engineer on Telegram"),us:!0,them:!1}].map((r,o)=>e.jsxs("div",{className:"grid grid-cols-[1fr_auto_auto] items-center gap-3 px-4 sm:px-6 py-3 border-b border-border last:border-0",children:[e.jsx("span",{className:"text-sm",children:r.l}),e.jsx("span",{className:"w-12 text-center",children:r.them?e.jsx(M,{className:"w-4 h-4 text-foreground-muted/60 mx-auto"}):e.jsx(_,{className:"w-4 h-4 text-foreground-dim mx-auto"})}),e.jsx("span",{className:"w-12 text-center",children:r.us?e.jsx(M,{className:"w-4 h-4 text-accent mx-auto"}):e.jsx(_,{className:"w-4 h-4 text-foreground-dim mx-auto"})})]},o))]})]}),e.jsxs("section",{id:"apply",className:"max-w-2xl mx-auto px-4 sm:px-6 pb-16 md:pb-20 scroll-mt-8",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h2",{className:"text-2xl md:text-4xl font-bold mb-3",children:t("form.title","Apply for API access")}),e.jsx("p",{className:"text-foreground-muted text-sm md:text-base",children:t("form.subtitle","Tell us about your project. We review every application within 24 hours and reply on the channel you prefer.")})]}),c?e.jsxs("div",{className:"rounded-2xl bg-background-elevated border border-border p-8 md:p-10 text-center",children:[e.jsx(ce,{className:"w-14 h-14 text-emerald-500 mx-auto mb-4"}),e.jsx("h3",{className:"text-xl font-semibold mb-2",children:t("form.thanks.title","Application received")}),e.jsx("p",{className:"text-sm text-foreground-muted max-w-md mx-auto mb-6",children:t("form.thanks.body","We'll review your application and reply within 24 hours. If you need to reach us sooner, ping us on Telegram or email.")}),e.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-3",children:[e.jsxs("a",{href:k,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 px-5 py-2.5 rounded-full bg-accent hover:bg-accent-hover text-white text-sm font-semibold transition-colors",children:[e.jsx(j,{className:"w-4 h-4"}),P]}),e.jsxs("a",{href:R,className:"inline-flex items-center justify-center gap-2 px-5 py-2.5 rounded-full bg-background-elevated hover:bg-background-input border border-border text-sm font-semibold transition-colors",children:[e.jsx(S,{className:"w-4 h-4"}),A]})]})]}):e.jsxs("form",{onSubmit:ee,className:"space-y-5",children:[e.jsx(f,{label:t("form.fullName","Full name"),required:!0,error:b.fullName,children:e.jsx("input",{type:"text",value:a.fullName,onChange:r=>y("fullName",r.target.value),maxLength:120,autoComplete:"name",placeholder:t("form.fullNamePlaceholder","Jane Doe"),className:"w-full px-4 py-3 rounded-xl bg-background-card border border-border text-sm text-foreground placeholder:text-foreground-dim focus:outline-none focus:border-accent"})}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs(f,{label:t("form.email","Email"),required:!0,error:b.email,children:[e.jsx("input",{type:"email",value:a.email,onChange:r=>y("email",r.target.value),maxLength:200,autoComplete:"email",placeholder:"[email protected]",className:"w-full px-4 py-3 rounded-xl bg-background-card border border-border text-sm text-foreground placeholder:text-foreground-dim focus:outline-none focus:border-accent"}),e.jsx("p",{className:"mt-1.5 text-[11px] text-foreground-dim",children:t("form.emailHelp",`Use the email tied to your ${z} account if you have one.`)})]}),e.jsx(f,{label:t("form.telegram","Telegram"),hint:t("form.optional","(optional)"),error:b.telegram,children:e.jsx("input",{type:"text",value:a.telegram,onChange:r=>y("telegram",r.target.value),maxLength:100,placeholder:"@yourhandle",className:"w-full px-4 py-3 rounded-xl bg-background-card border border-border text-sm text-foreground placeholder:text-foreground-dim focus:outline-none focus:border-accent"})})]}),e.jsx(f,{label:t("form.company","Company / brand"),hint:t("form.optional","(optional)"),children:e.jsx("input",{type:"text",value:a.company,onChange:r=>y("company",r.target.value),maxLength:200,placeholder:t("form.companyPlaceholder","Acme Studio"),className:"w-full px-4 py-3 rounded-xl bg-background-card border border-border text-sm text-foreground placeholder:text-foreground-dim focus:outline-none focus:border-accent"})}),e.jsx(f,{label:t("form.projectUrl","Existing project / app link"),hint:t("form.optional","(optional)"),error:b.projectUrl,children:e.jsx("input",{type:"url",value:a.projectUrl,onChange:r=>y("projectUrl",r.target.value),maxLength:500,placeholder:"https://yourapp.com",className:"w-full px-4 py-3 rounded-xl bg-background-card border border-border text-sm text-foreground placeholder:text-foreground-dim focus:outline-none focus:border-accent"})}),e.jsx(f,{label:t("form.platform","What are you building?"),required:!0,error:b.platformType,children:e.jsx(Re,{options:Ne.map(r=>({value:r,label:t(`platform.${r}`,qe(r))}
6)),value:a.platformType,onChange:r=>y("platformType",r)})}),e.jsx(f,{label:t("form.genTypes","Generation types you need"),required:!0,error:b.generationTypes,children:e.jsx("div",{className:"flex flex-wrap gap-2",children:ke.map(r=>{const o=a.generationTypes.includes(r);return e.jsx("button",{type:"button",onClick:()=>K(r),className:`px-4 min-h-[40px] rounded-full text-xs font-medium transition-colors border ${o?"bg-accent text-white border-accent":"bg-background-card border-border text-foreground-muted hover:text-foreground hover:border-foreground-muted/40"}`,children:t(`genType.${r}`,Se(r))},r)})})}),e.jsx(f,{label:t("form.volumeDaily","Estimated calls / day"),hint:t("form.optional","(optional)"),error:b.volumeDaily,children:e.jsx(Ee,{value:a.volumeDaily,onChange:r=>y("volumeDaily",r),options:Ae.map(r=>({value:r,label:t(`volumeDaily.${r}`,Pe(r))})),placeholder:t("form.selectPlaceholder","Select…"),ariaLabel:t("form.volumeDaily","Estimated calls / day")})}),e.jsxs(f,{label:t("form.description","About your project"),required:!0,error:b.description,children:[e.jsx("textarea",{value:a.description,onChange:r=>y("description",r.target.value),maxLength:2e3,rows:4,placeholder:t("form.descriptionPlaceholder",`What are you building and where would ${d} fit in?`),className:"w-full px-4 py-3 rounded-xl bg-background-card border border-border text-sm text-foreground placeholder:text-foreground-dim focus:outline-none focus:border-accent resize-y"}),e.jsxs("p",{className:"mt-1.5 text-[11px] text-foreground-dim",children:[a.description.length,"/2000"]})]}),e.jsx("button",{type:"submit",disabled:l,className:"w-full py-3.5 rounded-full bg-accent hover:bg-accent-hover text-white text-sm font-semibold transition-colors disabled:opacity-40",children:l?t("form.submitting","Submitting…"):t("form.submit","Submit application")}),e.jsx("p",{className:"text-[11px] text-foreground-dim text-center",children:t("form.consent","By submitting you agree we'll contact you about your application at the email or Telegram you provided. Plain text only — HTML and scripts are stripped.")})]})]}),e.jsxs("section",{className:"max-w-3xl mx-auto px-4 sm:px-6 pb-16 md:pb-20",children:[e.jsx("h2",{className:"text-2xl md:text-4xl font-bold text-center mb-8 md:mb-10",children:t("faq.title","FAQ")}),e.jsxs("div",{className:"rounded-2xl bg-background-elevated border border-border px-5 sm:px-6",children:[e.jsx(w,{q:t("faq.q1","How long does approval take?"),a:t("faq.a1","We review every application within 24 hours and reply on the channel you give us. Higher-tier partners usually go through a brief intro call first.")}),e.jsx(w,{q:t("faq.q2","Do you have public pricing pages?"),a:t("faq.a2","We do not publish a public price list. Rates depend on your monthly volume, deposit level and which models you use — message our partner manager and we will send the full rate card and quote your terms.")}),e.jsx(w,{q:t("faq.q3","What payment methods do you accept?"),a:t("faq.a3","USDT (TRC20) is our default for international partners. Contact your manager and we'll share the deposit address after your application is approved.")}),e.jsx(w,{q:t("faq.q4","Can I test before paying?"),a:t("faq.a4","Once you're approved we issue a sandbox key with a small budget so you can integrate end-to-end before the first invoice.")}),e.jsx(w,{q:t("faq.q5","Do you offer mature-content workflows?"),a:t("faq.a5","Yes — those workflows are first-class on our platform. Bring your moderation policy and we plug in.")}),e.jsx(w,{q:t("faq.q6","What about webhook security?"),a:t("faq.a6","Every webhook delivery is signed with your private key so you can verify it came from us. Failed deliveries retry automatically with exponential backoff.")})]})]}),e.jsx("section",{className:"max-w-3xl mx-auto px-4 sm:px-6 pb-16 md:pb-20",children:e.jsxs("div",{className:"rounded-2xl bg-gradient-to-br from-accent/20 to-accent/5 border border-accent/20 p-6 md:p-12 text-center",children:[e.jsx("h2",{className:"text-xl md:text-3xl font-bold mb-3",children:t("cta.title","Need to talk to a human first?")}),e.jsx("p",{className:"text-foreground-muted mb-6 md:mb-8 max-w-md mx-auto text-sm md:text-base",children:t("cta.subtitle","Skip the form — message us directly. Engineers reply, not bots.")}),e.jsxs("div",{className:"flex flex-col sm:flex-row justify-center gap-3",children:[e.jsxs("a",{href:k,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 px-7 py-3.5 rounded-full bg-accent hover:bg-accent-hover text-white text-sm font-semibold transition-colors",children:[e.jsx(j,{className:"w-4 h-4"}),P]}),e.jsxs("a",{href:R,className:"inline-flex items-center justify-center gap-2 px-7 py-3.5 rounded-full bg-background-elevated hover:bg-background-input border border-border text-sm font-semibold transition-colors",children:[e.jsx(S,{className:"w-4 h-4"}),A]})]})]})}),e.jsx("footer",{className:"max-w-6xl mx-auto px-4 sm:px-6 py-8 border-t border-border",children:e.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4",children:[e.jsx(O,{to:"/",className:"text-sm font-semibold",children:d}),e.jsxs("div",{className:"text-xs text-foreground-dim",children:[d," / ",new Date().getFullYear()," / ",t("footer.rights","All rights reserved")]})]})})]}),E&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/70 px-4",onClick:()=>{l||T(!1)},children:e.jsxs("div",{className:"bg-background-card border border-border rounded-2xl p-5 max-w-sm w-full",onClick:r=>r.stopPropagation(),children:[e.jsxs("div",{className:"flex items-start justify-between gap-3 mb-3",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"text-base font-semibold text-foreground",children:t("captcha.title","Verify you are human")}),e.jsx("p",{className:"text-xs text-foreground-muted mt-0.5",children:t("captcha.body","One quick check before we send your application.")})]}),e.jsx("button",{onClick:()=>{l||T(!1)},className:"w-7 h-7 rounded-full bg-background-elevated text-foreground-muted hover:text-foreground flex items-center justify-center shrink-0","aria-label":t("captcha.close","Close"),children:e.jsx(_,{className:"w-4 h-4"})})]}),e.jsx("div",{className:"flex items-center justify-center min-h-[70px]",children:l?e.jsxs("div",{className:"flex items-center gap-2 text-sm text-foreground-muted",children:[e.jsx(me,{className:"w-4 h-4 animate-spin"}),t("form.submitting","Submitting…")]}):e.jsx(be,{onVerify:r=>{r&&X(r)},onExpire:()=>{}})})]})})]})}function qe(t){return{website:"Website",bot:"Telegram / Discord bot",mobile_app:"Mobile app",desktop_app:"Desktop app",extension:"Browser extension",other:"Other"}[t]||t}function Se(t){return{i2v:"Image → Video",extend:"Video extend",dressChange:"DressChange",images:"Image generation",training:"Custom LoRA training",audio:"Audio"}[t]||t}function Pe(t){return{"<100":"< 100 / day","100-1000":"100–1,000 / day","1000-10000":"1,000–10,000 / day","10000-50000":"10k–50k / day","50000+":"50,000+ / day",unsure:"Not sure yet"}[t]||t}function f({label:t,required:n,hint:s,error:a,children:u}){return e.jsxs("div",{"data-error":!!a,children:[e.jsxs("label",{className:"block text-xs font-medium text-foreground-muted mb-1.5",children:[t,n&&e.jsx("span",{className:"text-rose-400 ml-1",children:"*"}),s&&e.jsx("span",{className:"text-foreground-dim font-normal ml-1.5",children:s})]}),u,a&&e.jsx("p",{className:"mt-1.5 text-[11px] text-rose-400",children:a})]})}function Re({options:t,value:n,onChange:s}){return e.jsx("div",{className:"flex flex-wrap gap-2",children:t.map(a=>e.jsx("button",{type:"button",onClick:()=>
6s(a.value),className:`px-4 min-h-[40px] rounded-full text-xs font-medium transition-colors border ${n===a.value?"bg-accent text-white border-accent":"bg-background-card border-border text-foreground-muted hover:text-foreground hover:border-foreground-muted/40"}`,children:a.label},a.value))})}function Ee({value:t,onChange:n,options:s,placeholder:a,ariaLabel:u}){return e.jsxs("div",{className:"relative",children:[e.jsxs("select",{value:t,onChange:l=>n(l.target.value),"aria-label":u||a,className:"w-full appearance-none px-4 py-3 pr-10 rounded-xl bg-background-card border border-border text-sm text-foreground focus:outline-none focus:border-accent",children:[e.jsx("option",{value:"",disabled:!0,children:a}),s.map(l=>e.jsx("option",{value:l.value,children:l.label},l.value))]}),e.jsx(Y,{className:"absolute right-3 top-1/2 -translate-y-1/2 w-4 h-4 text-foreground-muted pointer-events-none"})]})}function U({name:t,price:n,cadence:s,tagline:a,perks:u,ctaLabel:l,featured:g,badge:c}){return e.jsxs("div",{className:`relative rounded-2xl border p-6 md:p-7 flex flex-col h-full ${g?"border-accent/50 bg-gradient-to-b from-accent/10 to-accent/5":"border-border bg-background-elevated"}`,children:[c&&e.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2",children:e.jsx("span",{className:"text-[10px] uppercase tracking-wider px-2.5 py-1 rounded-full bg-accent text-white font-semibold",children:c})}),e.jsxs("div",{className:"mb-4",children:[e.jsx("h3",{className:"text-lg font-semibold mb-1",children:t}),e.jsx("p",{className:"text-xs text-foreground-muted",children:a})]}),e.jsxs("div",{className:"mb-5",children:[e.jsx("span",{className:"text-3xl md:text-4xl font-bold",children:n}),s&&e.jsx("span",{className:"text-sm text-foreground-muted ml-1",children:s})]}),e.jsx("ul",{className:"space-y-2.5 mb-6 flex-1",children:u.map((C,E)=>e.jsxs("li",{className:"flex items-start gap-2 text-sm",children:[e.jsx(M,{className:"w-4 h-4 text-accent shrink-0 mt-0.5"}),e.jsx("span",{children:C})]},E))}),e.jsx("a",{href:"#apply",className:`block text-center py-3 rounded-full text-sm font-semibold transition-colors ${g?"bg-accent hover:bg-accent-hover text-white":"bg-background-input hover:bg-background-card border border-border text-foreground"}`,children:l})]})}function w({q:t,a:n}){const[s,a]=x.useState(!1);return e.jsxs("div",{className:"border-b border-border last:border-0",children:[e.jsxs("button",{type:"button",onClick:()=>a(!s),className:"w-full flex items-center justify-between py-5 text-left",children:[e.jsx("span",{className:"text-[15px] font-medium pr-4",children:t}),e.jsx(Y,{className:`w-5 h-5 text-foreground-muted shrink-0 transition-transform duration-300 ${s?"rotate-180":""}`})]}),e.jsx("div",{className:`overflow-hidden transition-all duration-300 ${s?"max-h-72 pb-5":"max-h-0"}`,children:e.jsx("p",{className:"text-sm text-foreground-muted leading-relaxed",children:n})})]})}export{Fe 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.