1import{r as n,j as e}from"./vendor-react-pTgRmW_L.js";import{a as k,x as S,L as C,y as _}from"./index-fZroaDUW.js";import{R as j,aB as f,B as L,r as z,L as A,aa as N,al as R,A as E,l as I,X as O,ar as F}from"./vendor-lucide-C9Vpy6qL.js";const v=[{key:"",label:"All Sectors"},{key:"humanoid",label:"Humanoid Robots"},{key:"autonomous-vehicles",label:"Autonomous Vehicles"},{key:"drone",label:"Drones & UAV"},{key:"warehouse",label:"Warehouse & Logistics"},{key:"surgical",label:"Surgical / Medical"},{key:"agritech",label:"AgriTech"},{key:"industrial",label:"Industrial"},{key:"ai",label:"Artificial Intelligence"},{key:"defense",label:"Defense"},{key:"other",label:"Other"}],w=[{key:"",label:"All Stages"},{key:"pre-seed",label:"Pre-Seed"},{key:"seed",label:"Seed"},{key:"series-a",label:"Series A"},{key:"series-b",label:"Series B"},{key:"series-c",label:"Series C"},{key:"ipo",label:"IPO"}],T={"pre-seed":"bg-gray-100 text-gray-600",seed:"bg-green-100 text-green-700","series-a":"bg-blue-100 text-blue-700","series-b":"bg-purple-100 text-purple-700","series-c":"bg-orange-100 text-orange-700",ipo:"bg-red-100 text-red-700"},B=r=>{var o;return((o=v.find(s=>s.key===r))==null?void 0:o.label)||r},U=()=>{const[r,o]=n.useState([]),[s,b]=n.useState(null),[g,x]=n.useState(!0),[u,h]=n.useState(""),[c,m]=n.useState(""),[i,d]=n.useState(!1),l=window.location.origin,a=`${l}/startups`;return k({title:"Startup Radar â Robotics & AI Startups",description:"Discover the latest robotics and AI startups, their funding rounds and sectors. Submit your own startup to be listed.",canonical:a,jsonLd:{"@context":"https://schema.org","@type":"ItemList",name:"Robotics & AI startups",url:a,numberOfItems:r.length,itemListElement:r.slice(0,20).map((t,p)=>({"@type":"ListItem",position:p+1,url:`${l}/company/${t.slug}`,name:t.name}))}}),n.useEffect(()=>{x(!0),S({sector:u||void 0,stage:c||void 0}).then(t=>{o(t.data),t.stats&&b(t.stats)}).catch(()=>o([])).finally(()=>x(!1))},[u,c]),e.jsxs("div",{className:"bg-gray-50 min-h-screen",children:[e.jsxs("div",{className:"relative overflow-hidden bg-gradient-to-br from-[#01243a] via-[#004d73] to-[#007ab7]",children:[e.jsx("div",{className:"absolute inset-0 opacity-20",style:{backgroundImage:"radial-gradient(circle at 15% 20%, rgba(255,255,255,0.4) 0, transparent 45%)"}}),e.jsxs("div",{className:"relative max-w-[1440px] mx-auto px-6 py-12 lg:py-16",children:[e.jsxs("div",{className:"flex flex-col lg:flex-row lg:items-end lg:justify-between gap-6",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"inline-flex items-center gap-1.5 bg-white/10 backdrop-blur-sm text-white text-[11px] font-bold uppercase tracking-wider px-3 py-1.5 rounded-full mb-4 border border-white/15",children:[e.jsx(j,{size:12})," Startup Radar"]}),e.jsx("h1",{className:"text-3xl lg:text-5xl font-montserrat font-extrabold tracking-tight text-white mb-3",children:"Robotics & AI Startups"}),e.jsx("p",{className:"text-white/80 max-w-2xl leading-relaxed",children:"Track the companies shaping the future of robotics â funding, sectors and momentum. Building one? Get listed."})]}),e.jsxs("button",{onClick:()=>d(!0),className:"inline-flex items-center gap-2 bg-white text-[#007ab7] font-bold text-sm px-6 py-3 rounded-full hover:bg-white/90 transition-colors shadow-lg shadow-black/20 self-start",children:[e.jsx(f,{size:17})," List Your Startup"]})]}),s&&e.jsxs("div",{className:"grid grid-cols-3 gap-3 mt-9 max-w-2xl",children:[e.jsx(y,{icon:e.jsx(L,{size:15}),value:s.total.toLocaleString(),label:"Startups tracked"}),e.jsx(y,{icon:e.jsx(z,{size:15}),value:s.total_funding_display,label:"Total funding"}),e.jsx(y,{icon:e.jsx(A,{size:15}),value:String(s.sectors),label:"Sectors"})]})]})]}),e.jsxs("div",{className:"max-w-[1440px] mx-auto px-6 py-8",children:[e.jsxs("div",{className:"flex flex-col md:flex-row gap-4 mb-8",children:[e.jsx("div",{className:"flex flex-wrap gap-2 flex-1",children:v.map(t=>e.jsx("button",{onClick:()=>h(t.key),className:`px-3 py-1.5 rounded-full text-[11px] font-bold uppercase tracking-wide transition-colors ${u===t.key?"bg-[#007ab7] text-white":"bg-white border border-gray-200 text-gray-600 hover:border-[#007ab7] hover:text-[#007ab7]"}`,children:t.label},t.key))}),e.jsx("select",{value:c,onChange:t=>m(t.target.value),className:"px-3 py-2 border border-gray-200 rounded-lg text-xs font-bold bg-white h-9 self-start",children:w.map(t=>e.jsx("option",{value:t.key,children:t.label},t.key))})]}),g?e.jsx("div",{className:"flex justify-center py-20",children:e.jsx(N,{className:"animate-spin text-[#007ab7]",size:32})}):r.length===0?e.jsxs("div",{className:"text-center py-16",children:[e.jsx("p",{className:"text-gray-400 mb-4",children:"No startups found matching your filters."}),e.jsxs("button",{onClick:()=>d(!0),className:"text-[#007ab7] font-bold text-sm inline-flex items-center gap-1.5",children:[e.jsx(f,{size:15})," Be the first â list your startup"]})]}):e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5",children:r.map(t=>e.jsxs(C,{to:`/company/${t.slug}`,className:"group flex flex-col bg-white border border-gray-100 rounded-2xl p-6 hover:border-[#007ab7]/40 hover:shadow-lg transition-all text-inherit no-underline",children:[e.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[t.logo?e.jsx("img",{src:t.logo,alt:t.name,className:"h-12 w-12 object-contain rounded-lg bg-gray-50 border border-gray-100 flex-shrink-0"}):e.jsx("div",{className:"h-12 w-12 bg-[#007ab7]/10 rounded-lg flex items-center justify-center flex-shrink-0",children:e.jsx(j,{size:20,className:"text-[#007ab7]"})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h3",{className:"font-bold text-base leading-tight text-gray-900 group-hover:text-[#007ab7] transition-colors truncate",children:t.name}),e.jsxs("div",{className:"flex items-center gap-2 text-[11px] text-gray-400 mt-1",children:[t.country&&e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(R,{size:10}),t.country]}),t.founded_year&&e.jsxs("span",{children:["· Est. ",t.founded_year]})]})]}),t.is_featured&&e.jsx("span",{className:"text-[9px] font-bold text-amber-600 bg-amber-50 px-2 py-0.5 rounded-full uppercase tracking-wide flex-shrink-0",children:"Featured"})]}),(t.short_description||t.description)&&e.jsx("p",{className:"text-xs text-gray-500 line-clamp-2 mb-4 leading-relaxed flex-1",children:t.short_description||t.description}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2 mb-4",children:[e.jsx("span",{className:"text-[10px] font-bold uppercase tracking-wider bg-gray-100 text-gray-600 px-2.5 py-0.5 rounded-full",children:B(t.sector)}),t.funding_stage&&e.jsx("span",{className:`text-[10px] font-bold uppercase tracking-wider px-2.5 py-0.5 rounded-full ${T[t.funding_stage]||"bg-gray-100 text-gray-600"}`,children:t.funding_stage.replace("-"," ")}),t.funding_amount&&e.jsx("span",{className:"text-[10px] font-bold text-green-700 bg-green-50 px-2.5 py-0.5 rounded-full",children:t.funding_amount})]}),e.jsxs("div",{className:"flex items-center justify-between pt-3 border-t border-gray-50",children:[e.jsxs("span",{className:"text-xs font-bold text-[#007ab7] inline-flex items-center gap-1 group-hover:gap-2 transition-all",children:["View profile ",e.jsx(E,{size:13})]}),t.website_url&&e.jsx("a",{href:t.website_url,target:"_blank",rel:"noopener noreferrer",onClick:p=>p.stopPropagation(),className:"text-gray-300 hover:text-[#007ab7] transition-colors","aria-label":"Visit website",children:e.jsx(I,{size:14})})]})]},t.id))}),e.jsxs("div",{className:"mt-12 bg-gradient-to-br from-[#007ab7] to-[#005f8d] rounded-2xl p-8 text-center",children:[e.jsx("h2",{className:"text-xl lg:text-2xl font-montserrat font-bold text-white mb-2",children:"Building a robotics or AI startup?"}),e.jsx("p",{className:"text-white/80 text-sm mb-5 max-w-xl mx-auto",children:"Get listed on the Startup Radar and the Companies directory â reach investors, partners and our global audience."}),e.jsxs("button",{onClick:()=>d(!0),className:"inline-flex items-center gap-2 bg-white text-[#007ab7] font-bold text-sm px-6 py-3 rounded-full hover:bg-white/90 transition-colors",children:[e.jsx(f,{size:16})," List Your Startup"]})]})]}),e.jsx(D,{open:i,onClose:()=>d(!1)})]})},y=({icon:r,value:o,label:s})=>e.jsxs("div",{className:"bg-white/10 backdrop-blur-sm border border-white/15 rounded-xl p-4",children:[e.jsx("div",{className:"flex items-center gap-1.5 text-white/60 mb-1",children:r}),e.jsx("div",{className:"text-xl lg:text-2xl font-extrabold text-white leading-none",children:o}),e.jsx("div",{className:"text-[10px] uppercase tracking-wider text-white/50 mt-1.5",children:s})]}),D=({open:r,onClose:o})=>{const[s,b]=n.useState({name:"",email:""}),[g,x]=n.useState(!1),[u,h]=n.useState(!1),[c,m]=n.useState(null);if(n.useEffect(()=>(document.body.style.overflow=r?"hidden":"",()=>{document.body.style.overflow=""}),[r]),!r)return null;const i=(a,t)=>b(p=>({...p,[a]:t})),d=async a=>{if(a.preventDefault(),!s.name.trim()||!s.email.trim()){m("Name and email are required.");return}x(!0),m(null);try{await _({...s,founded_year:s.founded_year?Number(s.founded_year):null}),h(!0)}catch(t){m((t==null?void 0:t.message)||"Something went wrong. Please try again.")}finally{x(!1)}},l="w-full border border-gray-200 rounded-lg px-3 py-2.5 text-sm focus:outline-none focus:border-[#007ab7] transition-colors";return e.jsxs("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4",children:[e.jsx("div",{className:"absolute inset-0 bg-gray-900/60 backdrop-blur-sm",onClick:o}),e.jsxs("div",{className:"relative bg-white rounded-2xl shadow-2xl w-full max-w-lg max-h-[90vh] overflow-y-auto",children:[e.jsxs("div",{className:"sticky top-0 bg-white flex items-center justify-between px-6 py-4 border-b border-gray-100 z-10",children:[e.jsxs("h2",{className:"font-montserrat font-bold text-lg text-gray-900 flex items-center gap-2",children:[e.jsx(j,{size:18,className:"text-[#007ab7]"})," List Your Startup"]}),e.jsx("button",{onClick:o,className:"p-1.5 rounded-full bg-gray-100 text-gray-500 hover:bg-gray-200 transition-colors",children:e.jsx(O,{size:18})})]}),u?e.jsxs("div",{className:"px-6 py-12 text-center",children:[e.jsx("div",{className:"w-14 h-14 roun
1ded-full bg-green-50 text-green-600 flex items-center justify-center mx-auto mb-4",children:e.jsx(F,{size:30})}),e.jsx("h3",{className:"font-bold text-gray-900 mb-2",children:"Submitted!"}),e.jsx("p",{className:"text-sm text-gray-500 max-w-sm mx-auto",children:"Thanks â your startup is in review. Once an editor approves it, it will appear on the Startup Radar and in the Companies directory."}),e.jsx("button",{onClick:o,className:"mt-6 bg-[#007ab7] text-white font-bold text-sm px-6 py-2.5 rounded-full hover:bg-[#005f8d] transition-colors",children:"Done"})]}):e.jsxs("form",{onSubmit:d,className:"px-6 py-5 space-y-4",children:[e.jsx("p",{className:"text-xs text-gray-400 -mt-1",children:"Submissions are reviewed before going live. Email stays private."}),c&&e.jsx("div",{className:"text-xs text-red-600 bg-red-50 border border-red-100 rounded-lg px-3 py-2",children:c}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-[11px] font-bold uppercase tracking-wider text-gray-400 mb-1",children:"Company name *"}),e.jsx("input",{className:l,value:s.name,onChange:a=>i("name",a.target.value),placeholder:"Acme Robotics",required:!0})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-[11px] font-bold uppercase tracking-wider text-gray-400 mb-1",children:"Contact email *"}),e.jsx("input",{className:l,type:"email",value:s.email,onChange:a=>i("email",a.target.value),placeholder:"[email protected]",required:!0})]})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-[11px] font-bold uppercase tracking-wider text-gray-400 mb-1",children:"Website"}),e.jsx("input",{className:l,value:s.website_url||"",onChange:a=>i("website_url",a.target.value),placeholder:"https://acme.com"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-[11px] font-bold uppercase tracking-wider text-gray-400 mb-1",children:"Country"}),e.jsx("input",{className:l,value:s.country||"",onChange:a=>i("country",a.target.value),placeholder:"United States"})]})]}),e.jsxs("div",{className:"grid sm:grid-cols-3 gap-3",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-[11px] font-bold uppercase tracking-wider text-gray-400 mb-1",children:"Sector"}),e.jsxs("select",{className:l,value:s.sector||"",onChange:a=>i("sector",a.target.value),children:[e.jsx("option",{value:"",children:"Selectâ¦"}),v.filter(a=>a.key).map(a=>e.jsx("option",{value:a.key,children:a.label},a.key))]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-[11px] font-bold uppercase tracking-wider text-gray-400 mb-1",children:"Stage"}),e.jsxs("select",{className:l,value:s.funding_stage||"",onChange:a=>i("funding_stage",a.target.value),children:[e.jsx("option",{value:"",children:"Selectâ¦"}),w.filter(a=>a.key).map(a=>e.jsx("option",{value:a.key,children:a.label},a.key))]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-[11px] font-bold uppercase tracking-wider text-gray-400 mb-1",children:"Founded"}),e.jsx("input",{className:l,type:"number",value:s.founded_year??"",onChange:a=>i("founded_year",a.target.value),placeholder:"2023"})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-[11px] font-bold uppercase tracking-wider text-gray-400 mb-1",children:"One-line tagline"}),e.jsx("input",{className:l,value:s.short_description||"",onChange:a=>i("short_description",a.target.value),placeholder:"Humanoid robots for warehouse logistics",maxLength:300})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-[11px] font-bold uppercase tracking-wider text-gray-400 mb-1",children:"Description"}),e.jsx("textarea",{className:`${l} resize-none`,rows:4,value:s.description||"",onChange:a=>i("description",a.target.value),placeholder:"What does your company do?",maxLength:5e3})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-[11px] font-bold uppercase tracking-wider text-gray-400 mb-1",children:"LinkedIn"}),e.jsx("input",{className:l,value:s.linkedin_url||"",onChange:a=>i("linkedin_url",a.target.value),placeholder:"https://linkedin.com/company/acme"})]}),e.jsx("button",{type:"submit",disabled:g,className:"w-full bg-[#007ab7] text-white font-bold text-sm py-3 rounded-xl hover:bg-[#005f8d] transition-colors disabled:opacity-60 flex items-center justify-center gap-2",children:g?e.jsxs(e.Fragment,{children:[e.jsx(N,{size:16,className:"animate-spin"})," Submittingâ¦"]}):"Submit for review"})]})]})]})};export{U as StartupsPage};
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.