1import{r as F,j as e}from"./vendor-react-ClavYo8A.js";import{u as A,e as T,N as I,C as v,B as w,I as d,S as E,f as B}from"./index-CZLAq4WD.js";import{B as V}from"./badge-CRthMKd5.js";import{T as R}from"./textarea-jWVaevfp.js";import{S as p,a as u,b as j,c as g,d as r}from"./select-BKLW9qtB.js";import{F as W}from"./footer-oum9f1ZA.js";import{u as O,z as s,t as z}from"./vendor-forms-YqIn9ZeP.js";import{F as L,a as n,b as i,c as l,d as o,e as c}from"./form-BQTn_UTl.js";import{u as D}from"./vendor-query-D-kZR7pU.js";import{m}from"./vendor-motion-C-LzQhpq.js";import{H as G,A as N,h as H,x as M,B as Y,Z as q,y as U,D as $,U as Z,z as J,G as K,g as Q,I as _}from"./vendor-icons-rgZjbh_V.js";import"./vendor-router-Cg0t-cNc.js";import"./vendor-radix-ODlfYYt7.js";import"./vendor-utils-B2rm_Apj.js";import"./label-BvSNd1Sh.js";const X=s.object({companyName:s.string().min(1,"Company name is required"),contactName:s.string().min(1,"Contact name is required"),email:s.string().email("Please enter a valid email"),phone:s.string().optional(),website:s.string().url("Please enter a valid URL").optional().or(s.literal("")),partnerType:s.string().min(1,"Please select a partner type"),companySize:s.string().optional(),currentClients:s.string().optional(),message:s.string().optional()});function ue(){A(E.partners);const[S,y]=F.useState(!1),{toast:b}=T(),a=O({resolver:z(X),defaultValues:{companyName:"",contactName:"",email:"",phone:"",website:"",partnerType:"",companySize:"",currentClients:"",message:""}}),x=D({mutationFn:async t=>B("POST","/api/partner-application",t),onSuccess:()=>{y(!0),b({title:"Application Submitted",description:"We'll review your application and get back to you within 2-3 business days."})},onError:()=>{b({title:"Error",description:"Something went wrong. Please try again.",variant:"destructive"})}}),C=t=>{x.mutate(t)},P=[{icon:Y,title:"Agency Partner",description:"For agencies ready to deliver journey-aware intelligence. Show clients exactly who's on their site AND where they are in the decision journey.",benefits:["Add $50K+ annual revenue per client","Prove ROI with journey-stage attribution","White-label our platform under your brand","Dedicated agency success manager"]},{icon:q,title:"Technology Partner",description:"For SaaS platforms that want to offer identity + behavioral intelligence natively. Embed our API and unlock new revenue streams.",benefits:["Full API access with 99.9% uptime SLA","Co-development on joint roadmap","Priority engineering support","Featured in our integration marketplace"]},{icon:U,title:"Reseller Partner",description:"For consultants and sales orgs who want to offer premium journey intelligence solutions. High margins, full support, protected deals.",benefits:["15-30% margins on every deal","Complete sales enablement toolkit","Deal registration with territory protection","Quarterly strategy reviews"]}],k=[{icon:$,title:"Industry-Leading Margins",desc:"Earn 15-30% recurring revenue on every client you bring"},{icon:Z,title:"Your Clients, Your Credit",desc:"White-label options let you own the relationship completely"},{icon:J,title:"Become the Expert",desc:"Get certified and position yourself as the journey intelligence authority"},{icon:K,title:"Co-Marketing That Works",desc:"Joint case studies, webinars, and campaigns that drive business to you"},{icon:Q,title:"Real-Time Dashboard",desc:"Track referrals, commissions, and client ROI in one place"},{icon:_,title:"Partner-Only Perks",desc:"Early feature access, exclusive pricing, and priority support"}];return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(I,{navCtaLabel:"Book a Call"}),e.jsx("main",{className:"pt-24 pb-20",children:e.jsxs("section",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsxs(m.div,{initial:{y:20},animate:{opacity:1,y:0},transition:{duration:.6},className:"text-center mb-16",children:[e.jsxs(V,{variant:"secondary",className:"mb-4 border-primary/30",children:[e.jsx(G,{className:"w-4 h-4 mr-2 text-primary"}),"Partner Program"]}),e.jsx("h1",{className:"font-display text-4xl lg:text-5xl font-bold mb-4","data-testid":"text-partners-headline",children:"Show Clients Who's Visiting - and What to Say Next"}),e.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto mb-8",children:"Most agencies only tell clients who's visiting. With LeadNavigator, you'll show them exactly where each visitor is in their decision journey and how to activate them at the right moment. Earn 15-30% margins while you do it."}),e.jsx("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:e.jsxs("button",{type:"button",onClick:()=>{var t;return(t=document.getElementById("partner-form"))==null?void 0:t.scrollIntoView({behavior:"smooth",block:"start"})},className:"inline-flex items-center justify-center gap-2 rounded-lg bg-primary px-8 py-4 text-base font-semibold text-primary-foreground shadow-md hover:bg-primary/90 transition-colors","data-testid":"button-partners-apply-cta",children:["Apply to Partner Program",e.jsx(N,{className:"w-4 h-4"})]})})]}),e.jsx("div",{className:"grid lg:grid-cols-3 gap-8 mb-20",children:P.map((t,h)=>e.jsx(m.div,{initial:{y:20}
1,animate:{opacity:1,y:0},transition:{duration:.6,delay:h*.1},children:e.jsxs(v,{className:"p-8 h-full transition-all duration-500 shadow-luxury hover:shadow-luxury-lg hover:border-primary/20","data-testid":`card-partner-type-${h}`,children:[e.jsx("div",{className:"w-14 h-14 rounded-xl bg-gradient-to-br from-primary via-primary/90 to-primary/70 flex items-center justify-center mb-5 shadow-md",children:e.jsx(t.icon,{className:"w-7 h-7 text-primary-foreground"})}),e.jsx("h3",{className:"text-xl font-bold mb-2 tracking-tight",children:t.title}),e.jsx("p",{className:"text-muted-foreground text-sm mb-6 leading-relaxed",children:t.description}),e.jsx("ul",{className:"space-y-3",children:t.benefits.map(f=>e.jsxs("li",{className:"flex items-start gap-2 text-sm",children:[e.jsx("div",{className:"w-5 h-5 rounded-full bg-gradient-to-br from-gold/25 to-gold/15 flex items-center justify-center flex-shrink-0 mt-0.5",children:e.jsx(H,{className:"w-3 h-3 text-primary"})}),e.jsx("span",{className:"font-medium",children:f})]},f))})]})},t.title))}),e.jsxs(m.div,{initial:{y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"bg-card border border-border rounded-2xl p-8 lg:p-12 mb-20",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h2",{className:"text-2xl lg:text-3xl font-bold mb-4",children:"Partner Benefits"}),e.jsx("p",{className:"text-muted-foreground max-w-xl mx-auto",children:"We invest in our partners' success with industry-leading support and rewards."})]}),e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-8",children:k.map((t,h)=>e.jsxs("div",{className:"flex items-start gap-4 group","data-testid":`benefit-${h}`,children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-gradient-to-br from-primary/15 to-primary/5 flex items-center justify-center flex-shrink-0 group-hover:from-primary/25 group-hover:to-primary/10 transition-all duration-300",children:e.jsx(t.icon,{className:"w-6 h-6 text-primary"})}),e.jsxs("div",{children:[e.jsx("h4",{className:"font-semibold mb-1 tracking-tight",children:t.title}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:t.desc})]})]},t.title))})]}),e.jsx(m.div,{initial:{y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6},className:"max-w-2xl mx-auto",id:"partner-form",children:e.jsx(v,{className:"p-8 lg:p-10","data-testid":"card-partner-form",children:S?e.jsxs(m.div,{initial:{scale:.95},animate:{opacity:1,scale:1},className:"text-center py-8",children:[e.jsx("div",{className:"w-16 h-16 rounded-full bg-green-500/10 flex items-center justify-center mx-auto mb-6",children:e.jsx(M,{className:"w-8 h-8 text-green-500"})}),e.jsx("h3",{className:"text-2xl font-bold mb-3",children:"Application Received!"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:"Thank you for your interest in partnering with LeadNavigator. Our partnerships team will review your application and reach out within 2-3 business days."}),e.jsx(w,{variant:"outline",onClick:()=>{y(!1),a.reset()},"data-testid":"button-submit-another",children:"Submit Another Application"})]}):e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h2",{className:"text-2xl font-bold mb-2",children:"Apply to Become a Partner"}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Fill out the form below and we'll be in touch shortly."})]}),e.jsx(L,{...a,children:e.jsxs("form",{onSubmit:a.handleSubmit(C),className:"space-y-6",children:[e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsx(n,{control:a.control,name:"companyName",render:({field:t})=>e.jsxs(i,{children:[e.jsx(l,{children:"Company Name *"}),e.jsx(o,{children:e.jsx(d,{placeholder:"Your company",...t,"data-testid":"input-company-name"})}),e.jsx(c,{})]})}),e.jsx(n,{control:a.control,name:"contactName",render:({field:t})=>e.jsxs(i,{children:[e.jsx(l,{children:"Contact Name *"}),e.jsx(o,{children:e.jsx(d,{placeholder:"Your name",...t,"data-testid":"input-contact-name"})}),e.jsx(c,{})]})})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsx(n,{control:a.control,name:"email",render:({field:t})=>e.jsxs(i,{children:[e.jsx(l,{children:"Email *"}),e.jsx(o,{children:e.jsx(d,{type:"email",placeholder:"[email protected]",...t,"data-testid":"input-email"})}),e.jsx(c,{})]})}),e.jsx(n,{control:a.control,name:"phone",render:({field:t})=>e.jsxs(i,{children:[e.jsx(l,{children:"Phone"}),e.jsx(o,{children:e.jsx(d,{type:"tel",placeholder:"+1 (555) 000-0000",...t,"data-testid":"input-phone"})}),e.jsx(c,{})]})})]}),e.jsx(n,{control:a.control,name:"website",render:({field:t})=>e.jsxs(i,{children:[e.jsx(l,{children:"Company Website"}),e.jsx(o,{children:e.jsx(d,{type:"url",placeholder:"https://yourcompany.com",...t,"data-testid":"input-website"})}),e.jsx(c,{})]})}),e.jsx(n,{control:a.control,name:"partnerType",render:({field:t})=>e.jsxs(i,{children:[e.jsx(l,{children:"Partner Type *"}),e.jsxs(p,{onValueChange:t.onChange,defaultValue:t.value,children:[e.jsx(o,{children:e.jsx(u,{"data-testid":"select-partner-type",children:e.jsx(j,{placeholder:"Select partner type"})})}),e.jsxs(g,{children:[e.jsx(r,{value:"agency",children:"Agency Partner"}),e.jsx(r,{value:"technology",children:"Technology Partner"}),e.jsx(r,{value:"reseller",children:"Reseller Partner"}),e.jsx(r,{value:"other",children:"Other"})]})]}),e.jsx(c,{})]})}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsx(n,{control:a.control,name:"companySize",render:({field:t})=>e.jsxs(i,{children:[e.jsx(l,{children:"Company Size"}),e.jsxs(p,{onValueChange:t.onChange,defaultValue:t.value,children:[e.jsx(o,{children:e.jsx(u,{"data-testid":"select-company-size",children:e.jsx(j,{placeholder:"Select size"})})}),e.jsxs(g,{children:[e.jsx(r,{value:"1-10",children:"1-10 employees"}),e.jsx(r,{value:"11-50",children:"11-50 employees"}),e.jsx(r,{value:"51-200",children:"51-200 employees"}),e.jsx(r,{value:"201-500",children:"201-500 employees"}),e.jsx(r,{value:"500+",children:"500+ employees"})]})]}),e.jsx(c,{})]})}),e.jsx(n,{control:a.control,name:"currentClients",render:({field:t})=>e.jsxs(i,{children:[e.jsx(l,{children:"Current Client Count"}),e.jsxs(p,{onValueChange:t.onChange,defaultValue:t.value,children:[e.jsx(o,{children:e.jsx(u,{"data-testid":"select-clients",children:e.jsx(j,{placeholder:"Select range"})})}),e.jsxs(g,{children:[e.jsx(r,{value:"0-5",children:"0-5 clients"}),e.jsx(r,{value:"6-20",children:"6-20 clients"}),e.jsx(r,{value:"21-50",children:"21-50 clients"}),e.jsx(r,{value:"51-100",children:"51-100 clients"}),e.jsx(r,{value:"100+",children:"100+ clients"})]})]}),e.jsx(c,{})]})})]}),e.jsx(n,{control:a.control,name:"message",render:({field:t})=>e.jsxs(i,{children:[e.jsx(l,{children:"Tell us about your partnership goals"}),e.jsx(o,{children:e.jsx(R,{placeholder:"What makes you interested in partnering with LeadNavigator?",className:"min-h-[100px]",...t,"data-testid":"textarea-message"})}),e.jsx(c,{})]})}),e.jsxs(w,{type:"submit",className:"w-full luxury-cta",disabled:x.isPending,"data-testid":"button-submit-partner",children:[x.isPending?"Submitting...":"Submit Application",e.jsx(N,{className:"ml-2 h-4 w-4"})]})]})})]})})})]})}),e.jsx(W,{})]})}
1export{ue 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.