1import{f as S,d as k,r as C,j as e,H as F,R as M,B as I,o as $,s as K,i as A}from"./index-E8GC089e.js";import{u as E,a as P,b as i,c as o,d as n,e as l,f as m,F as U,t as V}from"./Footer-uwGStd5t.js";import{I as c}from"./input-DhTpLcTz.js";import{S as h,a as j,b,c as g,d as v}from"./select-DUrwTwxz.js";import{H as L}from"./Header-hgiEw8ws.js";import{U as T}from"./users-C-ymeIcL.js";import{N as R}from"./trophy-B5cf4UYb.js";import{C as H}from"./chart-column-B5PO6Gcp.js";import{o as O,s as d,l as q}from"./types-BvPt5XnJ.js";import"./checkbox-CN1iemFy.js";import"./check-Bv_HBq3i.js";import"./useMutation-BnY54WX_.js";import"./dialog-JxdI4R2D.js";import"./index-B2N46YtK.js";import"./Combination-D6m90wMP.js";import"./label-DUqiPH_v.js";import"./textarea-Bub5lRNf.js";import"./circle-check-big-CecXnidc.js";import"./arrow-right-DGiV2IJo.js";import"./LanguageSelector--JMZTO5g.js";import"./dropdown-menu-ChwcQYT-.js";import"./index-C51mqbtA.js";import"./chevron-right-BMbcmEuR.js";import"./globe-CPh_5QjK.js";import"./useConfetti-DbOV75fr.js";import"./confetti.module-ONDKWxYZ.js";import"./instagram-DzZPbwk0.js";import"./youtube-vyvUCD1-.js";import"./chevron-down-BxGK7Mnc.js";import"./chevron-up-DTVDJnee.js";import"./navigation-menu-C19oOOzE.js";import"./film-DOZ1kZBM.js";import"./square-play-BEwkEIEP.js";import"./book-open-BSsyrQJq.js";import"./search-BvQ8e150.js";import"./shield-Bfniijzz.js";import"./crown-BO4FezH_.js";import"./settings-BtyA-23z.js";import"./log-out-Bf4bExwP.js";import"./smartphone-B6XNLw_w.js";const B=O({first_name:d().trim().min(1,"First name is required").max(50),last_name:d().trim().min(1,"Last name is required").max(50),company_name:d().trim().min(1,"Company name is required").max(100),email:d().trim().email("Please enter a valid email").max(255),website:d().trim().url("Please enter a valid URL").max(255).optional().or(q("")),budget_range:d().min(1,"Please select a budget range"),start_timeline:d().min(1,"Please select a timeline")}),$e=()=>{const{language:f}=S(),r=f==="es",N=k(),[x,u]=C.useState(!1),t=E({resolver:V(B),defaultValues:{first_name:"",last_name:"",company_name:"",email:"",website:"",budget_range:"",start_timeline:""}}),_=[{value:"under_5k",label:r?"Menos de $5,000":"Under $5,000"},{value:"5k_15k",label:"$5,000 - $15,000"},{value:"15k_50k",label:"$15,000 - $50,000"},{value:"50k_100k",label:"$50,000 - $100,000"},{value:"over_100k",label:r?"Más de $100,000":"$100,000+"}],y=[{value:"immediately",label:r?"Inmediatamente":"Immediately"},{value:"within_1_month",label:r?"Dentro de 1 mes":"Within 1 month"},{value:"1_3_months",label:r?"1-3 meses":"1-3 months"},{value:"3_6_months",label:r?"3-6 meses":"3-6 months"},{value:"6_plus_months",label:r?"6+ meses":"6+ months"},{value:"exploring",label:r?"Solo explorando":"Just exploring"}],w=async s=>{u(!0);try{const{data:a,error:p}=await K.from("media_kit_leads").insert({first_name:s.first_name,last_name:s.last_name,company_name:s.company_name,email:s.email,website:s.website||null,budget_range:s.budget_range,start_timeline:s.start_timeline}).select("access_token").single();if(p)throw p;N(`/media-kit/view?token=${a.access_token}`)}catch(a){console.error("Error submitting lead:",a),A.error(r?"Error al enviar. Intente de nuevo.":"Error submitting. Please try again.")}finally{u(!1)}};return e.jsxs(e.Fragment,{children:[e.jsxs(F,{children:[e.jsx("title",{children:"Media Kit - UnoNext"}),e.jsx("meta",{name:"description",content:r?"Accede a nuestro media kit y descubre oportunidades de publicidad con UnoNext.":"Access our media kit and discover advertising opportunities with UnoNext."})]}),e.jsx(L,{}),e.jsx("main",{className:"min-h-screen bg-gradient-to-br from-primary/5 via-background to-secondary/5",children:e.jsx("div",{className:"container mx-auto px-4 py-16",children:e.jsxs("div",{className:"max-w-4xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-foreground mb-4",children:r?"Accede a Nuestro Media Kit":"Access Our Media Kit"}),e.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:r?"Descubre cómo puedes conectar con nuestra audie
1ncia a través de múltiples plataformas. Completa el formulario para acceso instantáneo.":"Discover how you can connect with our audience across multiple platforms. Complete the form for instant access."})]}),e.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 mb-12",children:[e.jsxs("div",{className:"bg-card border border-border rounded-xl p-4 text-center",children:[e.jsx(T,{className:"h-8 w-8 mx-auto mb-2 text-primary"}),e.jsx("div",{className:"text-2xl font-bold text-foreground",children:"500K+"}),e.jsx("div",{className:"text-sm text-muted-foreground",children:r?"Visitantes Mensuales":"Monthly Visitors"})]}),e.jsxs("div",{className:"bg-card border border-border rounded-xl p-4 text-center",children:[e.jsx(M,{className:"h-8 w-8 mx-auto mb-2 text-primary"}),e.jsx("div",{className:"text-2xl font-bold text-foreground",children:"100K+"}),e.jsx("div",{className:"text-sm text-muted-foreground",children:r?"Oyentes de Radio":"Radio Listeners"})]}),e.jsxs("div",{className:"bg-card border border-border rounded-xl p-4 text-center",children:[e.jsx(R,{className:"h-8 w-8 mx-auto mb-2 text-primary"}),e.jsx("div",{className:"text-2xl font-bold text-foreground",children:"50K+"}),e.jsx("div",{className:"text-sm text-muted-foreground",children:r?"Suscriptores":"Subscribers"})]}),e.jsxs("div",{className:"bg-card border border-border rounded-xl p-4 text-center",children:[e.jsx(H,{className:"h-8 w-8 mx-auto mb-2 text-primary"}),e.jsx("div",{className:"text-2xl font-bold text-foreground",children:"2M+"}),e.jsx("div",{className:"text-sm text-muted-foreground",children:r?"Impresiones":"Impressions"})]})]}),e.jsxs("div",{className:"bg-card border border-border rounded-2xl p-8 shadow-lg",children:[e.jsx("h2",{className:"text-2xl font-semibold text-foreground mb-6 text-center",children:r?"Cuéntanos sobre tu empresa":"Tell us about your company"}),e.jsx(P,{...t,children:e.jsxs("form",{onSubmit:t.handleSubmit(w),className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(i,{control:t.control,name:"first_name",render:({field:s})=>e.jsxs(o,{children:[e.jsxs(n,{children:[r?"Nombre":"First Name"," *"]}),e.jsx(l,{children:e.jsx(c,{placeholder:r?"Juan":"John",...s})}),e.jsx(m,{})]})}),e.jsx(i,{control:t.control,name:"last_name",render:({field:s})=>e.jsxs(o,{children:[e.jsxs(n,{children:[r?"Apellido":"Last Name"," *"]}),e.jsx(l,{children:e.jsx(c,{placeholder:r?"GarcÃa":"Smith",...s})}),e.jsx(m,{})]})})]}),e.jsx(i,{control:t.control,name:"company_name",render:({field:s})=>e.jsxs(o,{children:[e.jsxs(n,{children:[r?"Nombre de Empresa":"Company Name"," *"]}),e.jsx(l,{children:e.jsx(c,{placeholder:r?"Mi Empresa Inc.":"Acme Inc.",...s})}),e.jsx(m,{})]})}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(i,{control:t.control,name:"email",render:({field:s})=>e.jsxs(o,{children:[e.jsxs(n,{children:[r?"Correo Electrónico":"Email"," *"]}),e.jsx(l,{children:e.jsx(c,{type:"email",placeholder:"[email protected]",...s})}),e.jsx(m,{})]})}),e.jsx(i,{control:t.control,name:"website",render:({field:s})=>e.jsxs(o,{children:[e.jsx(n,{children:r?"Sitio Web":"Website"}),e.jsx(l,{children:e.jsx(c,{type:"url",placeholder:"https://www.company.com",...s})}),e.jsx(m,{})]})})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsx(i,{control:t.control,name:"budget_range",render:({field:s})=>e.jsxs(o,{children:[e.jsxs(n,{children:[r?"Presupuesto Publicitario":"Advertising Budget"," *"]}),e.jsxs(h,{onValueChange:s.onChange,defaultValue:s.value,children:[e.jsx(l,{children:e.jsx(j,{children:e.jsx(b,{placeholder:r?"Seleccionar rango":"Select range"})})}),e.jsx(g,{children:_.map(a=>e.jsx(v,{value:a.value,children:a.label},a.value))})]}),e.jsx(m,{})]})}),e.jsx(i,{control:t.control,name:"start_timeline",render:({field:s})=>e.jsxs(o,{children:[e.jsxs(n,{children:[r?"Fecha de Inicio":"Start Timeline"," *"]}),e.jsxs(h,{onValueChange:s.onChange,defaultValue:s.value,children:[e.jsx(l,{children:e.jsx(j,{children:e.jsx(b,{placeholder:r?"Seleccionar lÃnea de tiempo":"Select timeline"})})}),e.jsx(g,{children:y.map(a=>e.jsx(v,{value:a.value,children:a.label},a.value))})]}),e.jsx(m,{})]})})]}
1),e.jsx(I,{type:"submit",size:"lg",className:"w-full",disabled:x,children:x?e.jsxs(e.Fragment,{children:[e.jsx($,{className:"mr-2 h-4 w-4 animate-spin"}),r?"Procesando...":"Processing..."]}):r?"Acceder al Media Kit":"Access Media Kit"})]})})]}),e.jsx("div",{className:"mt-8 text-center text-sm text-muted-foreground",children:e.jsx("p",{children:r?"Tu información está segura y nunca será compartida con terceros.":"Your information is secure and will never be shared with third parties."})})]})})}),e.jsx(U,{})]})};export{$e 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.