1var __IMPORT_META_ENV={};var __PROCESS_ENV={NODE_ENV:"production"}; 2import{a as b}from"/chunks/chunk-2XUIOWK2.js";import{a as S}from"/chunks/chunk-USA23I4G.js";import{a as p,b as s}from"/chunks/chunk-I7B43NG3.js";import{a as i}from"/chunks/chunk-QZYIXIG6.js";import"/chunks/chunk-5SUK3PAY.js";import{h as l}from"/chunks/chunk-N2X75UD3.js";import"/chunks/chunk-IAU5P7G3.js";import{H as j,La as g,O as P,Q as F,Sa as T,V as A,ac as I,d as y,e as O,f as k,j as C,pb as E,sb as v}from"/chunks/chunk-S3UOBGPZ.js";var m=y(O());var e=y(k()),L=[{value:"General Question",label:"\u{1F4AC} General Question"},{value:"Beta Program Support",label:"\u{1F9EA} Beta Program Support"},{value:"Technical Issue",label:"\u{1F6E0}\uFE0F Technical Issue"},{value:"NIL & Compliance Help",label:"\u2696\uFE0F NIL & Compliance Help"},{value:"Account & Billing",label:"\u{1F4B3} Account & Billing"},{value:"Partnership / Sponsorship",label:"\u{1F91D} Partnership / Sponsorship"},{value:"Feature Request",label:"\u2728 Feature Request"},{value:"Security Concern",label:"\u{1F512} Security Concern"},{value:"Other",label:"\u{1F4CC} Other"}],R=[{icon:g,color:"text-cyan-400",bg:"bg-cyan-500/10 border-cyan-500/20",title:"Email Us Directly",body:b,isEmail:!0},{icon:A,color:"text-blue-400",bg:"bg-blue-500/10 border-blue-500/20",title:"Response Time",body:"We aim to reply within 24\u201348 hours on business days."},{icon:v,color:"text-emerald-400",bg:"bg-emerald-500/10 border-emerald-500/20",title:"Your Privacy",body:"Your message is private. We never share your info with third parties."},{icon:I,color:"text-yellow-400",bg:"bg-yellow-500/10 border-yellow-500/20",title:"Faster Help",body:"For instant answers, try the AI assistant available on every page."}],M={name:"",email:"",phone:"",subject:"",message:""};function H(){let[a,x]=(0,m.useState)(M),[f,N]=(0,m.useState)(!1),[c,d]=(0,m.useState)("idle"),[w,h]=(0,m.useState)(""),u=t=>r=>x(B=>({...B,[t]:r.target.value})),q=async t=>{if(t.preventDefault(),!a.subject){h("Please select a subject.");return}h(""),d("submitting");try{await S.post("/api/taskade/projects/BaCUoGtduYiwYFkj/nodes",{"/text":`${a.subject} \u2014 ${a.name}`,"/attributes/@cont4":a.name,"/attributes/@emai5":a.email,"/attributes/@phon6":a.phone||"","/attributes/@titl7":a.subject,"/attributes/@msgs9":a.message,"/attributes/@subm0":new Date().toISOString(),"/attributes/@stat1":"new"}),d("success"),x(M)}catch{d("error"),h("Something went wrong. Please try again in a moment.")}},o="w-full px-4 py-3 bg-slate-800/60 border border-slate-700/80 rounded-xl text-white placeholder-slate-500 focus:outline-none focus:ring-2 focus:ring-cyan-500/50 focus:border-cyan-500/50 transition-all duration-200",n="block text-sm font-medium text-slate-300 mb-2";return(0,e.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-slate-900 to-slate-950",children:[(0,e.jsx)("header",{className:"border-b border-white/5 bg-slate-950/70 backdrop-blur-xl sticky top-0 z-50",children:(0,e.jsxs)("div",{className:"max-w-5xl mx-auto px-6 h-16 flex items-center gap-4",children:[(0,e.jsxs)(l,{to:"/",className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-white/5 transition-all text-sm font-medium",children:[(0,e.jsx)(C,{className:"w-4 h-4"}),"Back"]}),(0,e.jsx)("span",{className:"text-white/20",children:"|"}),(0,e.jsx)("span",{className:"text-white font-semibold",children:"Contact Support"})]})}),(0,e.jsxs)("div",{className:"max-w-5xl mx-auto px-6 py-14 lg:py-20",children:[(0,e.jsxs)(s.div,{initial:{opacity:0,y:18},animate:{opacity:1,y:0},transition:{duration:.5},className:"text-center mb-14",children:[(0,e.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-cyan-500/10 border border-cyan-500/25 text-cyan-400 text-sm font-medium mb-5",children:[(0,e.jsx)(F,{className:"w-4 h-4"}),"We're here to help"]}),(0,e.jsx)("h1",{className:"text-4xl md:text-5xl font-bold text-white mb-4 tracking-tight",children:"Get in Touch"}),(0,e.jsx)("p",{className:"text-lg text-slate-400 max-w-xl mx-auto leading-relaxed",children:"Questions about the beta, NIL rules, or how Portal Path Pro works? Send us a message and we'll get back to you quickly."})]}
2),(0,e.jsxs)("div",{className:"grid lg:grid-cols-5 gap-10 items-start",children:[(0,e.jsxs)("div",{className:"lg:col-span-2 space-y-4",children:[R.map((t,r)=>(0,e.jsxs)(s.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.1+r*.1},className:i("flex gap-4 p-5 rounded-2xl border backdrop-blur-sm",t.bg),children:[(0,e.jsx)(t.icon,{className:i("w-6 h-6 mt-0.5 flex-shrink-0",t.color)}),(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"font-semibold text-white mb-1",children:t.title}),t.isEmail?(0,e.jsx)("a",{href:`mailto:${t.body}`,className:"text-sm text-cyan-400 hover:text-cyan-300 underline underline-offset-2 transition-colors font-medium break-all",children:t.body}):(0,e.jsx)("div",{className:"text-sm text-slate-400 leading-relaxed",children:t.body})]})]},t.title)),(0,e.jsxs)(s.div,{initial:{opacity:0,x:-20},animate:{opacity:1,x:0},transition:{delay:.4},className:"p-5 rounded-2xl bg-white/3 border border-white/8",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,e.jsx)(T,{className:"w-5 h-5 text-purple-400"}),(0,e.jsx)("span",{className:"font-semibold text-white text-sm",children:"Check the FAQ first"})]}),(0,e.jsx)("p",{className:"text-sm text-slate-400 mb-3",children:"Many common questions are already answered in our FAQ."}),(0,e.jsx)(l,{to:"/faq",className:"inline-flex items-center gap-1.5 text-sm text-purple-400 hover:text-purple-300 font-medium transition-colors",children:"Browse FAQ \u2192"})]})]}),(0,e.jsx)(s.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.15,duration:.5},className:"lg:col-span-3",children:(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("div",{className:"absolute -inset-px bg-gradient-to-br from-cyan-500/20 via-blue-500/10 to-purple-500/20 rounded-3xl blur-lg pointer-events-none"}),(0,e.jsx)("div",{className:"relative bg-slate-900/70 backdrop-blur-xl border border-white/10 rounded-2xl p-8",children:(0,e.jsx)(p,{mode:"wait",children:c==="success"?(0,e.jsxs)(s.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0},className:"text-center py-10",children:[(0,e.jsx)(s.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:220,delay:.1},children:(0,e.jsx)(P,{className:"w-20 h-20 text-emerald-400 mx-auto mb-6"})}),(0,e.jsx)("h2",{className:"text-2xl font-bold text-white mb-3",children:"Message Sent!"}),(0,e.jsx)("p",{className:"text-slate-400 max-w-sm mx-auto mb-2",children:"Thanks for reaching out. We've received your message and will reply within 24\u201348 hours."}),(0,e.jsx)("p",{className:"text-sm text-slate-500 mb-2",children:"Check your inbox \u2014 we'll follow up at the email address you provided."}),(0,e.jsxs)("p",{className:"text-sm text-slate-500 mb-8",children:["Need faster help? Email us directly at"," ",(0,e.jsx)("a",{href:`mailto:${b}`,className:"text-cyan-400 hover:text-cyan-300 underline underline-offset-2 transition-colors",children:b})]}),(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[(0,e.jsx)("button",{onClick:()=>d("idle"),className:"px-6 py-2.5 rounded-xl bg-white/8 border border-white/10 text-slate-300 hover:text-white hover:bg-white/12 transition-all text-sm font-medium",children:"Send another message"}),(0,e.jsx)(l,{to:"/",className:"px-6 py-2.5 rounded-xl bg-gradient-to-r from-cyan-500 to-blue-500 text-white font-semibold text-sm hover:shadow-lg hover:shadow-cyan-500/25 transition-all text-center",children:"Return home"})]})]},"success"):(0,e.jsxs)(s.form,{initial:{opacity:0}
2,animate:{opacity:1},exit:{opacity:0},onSubmit:q,className:"space-y-5",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,e.jsx)(g,{className:"w-5 h-5 text-cyan-400"}),(0,e.jsx)("h2",{className:"text-lg font-semibold text-white",children:"Send us a message"})]}),(0,e.jsxs)("div",{className:"grid sm:grid-cols-2 gap-4",children:[(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{className:n,children:["Full Name ",(0,e.jsx)("span",{className:"text-red-400",children:"*"})]}),(0,e.jsx)("input",{type:"text",required:!0,value:a.name,onChange:u("name"),placeholder:"Jane Smith",className:o})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{className:n,children:["Email Address ",(0,e.jsx)("span",{className:"text-red-400",children:"*"})]}),(0,e.jsx)("input",{type:"email",required:!0,value:a.email,onChange:u("email"),placeholder:"[email protected]",className:o})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{className:n,children:["Phone"," ",(0,e.jsx)("span",{className:"text-slate-500 font-normal",children:"(optional)"})]}),(0,e.jsx)("input",{type:"tel",value:a.phone,onChange:u("phone"),placeholder:"(555) 123-4567",className:o})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{className:n,children:["Subject ",(0,e.jsx)("span",{className:"text-red-400",children:"*"})]}),(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsxs)("button",{type:"button",onClick:()=>N(t=>!t),className:i(o,"flex items-center justify-between cursor-pointer text-left",!a.subject&&"text-slate-500"),children:[(0,e.jsx)("span",{children:a.subject?L.find(t=>t.value===a.subject)?.label:"Select a topic\u2026"}),(0,e.jsx)(j,{className:i("w-4 h-4 text-slate-400 transition-transform duration-200",f&&"rotate-180")})]}),(0,e.jsx)(p,{children:f&&(0,e.jsx)(s.ul,{initial:{opacity:0,y:-6},animate:{opacity:1,y:0},exit:{opacity:0,y:-6},transition:{duration:.15},className:"absolute z-20 mt-1 w-full bg-slate-800 border border-slate-700 rounded-xl shadow-2xl overflow-hidden",children:L.map(t=>(0,e.jsx)("li",{children:(0,e.jsx)("button",{type:"button",onClick:()=>{x(r=>({...r,subject:t.value})),N(!1)},className:i("w-full text-left px-4 py-2.5 text-sm transition-colors",a.subject===t.value?"bg-cyan-500/20 text-cyan-300":"text-slate-300 hover:bg-white/5 hover:text-white"),children:t.label})},t.value))})})]})]}),(0,e.jsxs)("div",{children:[(0,e.jsxs)("label",{className:n,children:["Message ",(0,e.jsx)("span",{className:"text-red-400",children:"*"})]}),(0,e.jsx)("textarea",{required:!0,rows:5,value:a.message,onChange:u("message"),placeholder:"Tell us what's on your mind\u2026",className:i(o,"resize-none")}),(0,e.jsxs)("div",{className:"text-right text-xs text-slate-600 mt-1",children:[a.message.length," chars"]})]}),(0,e.jsx)(p,{children:w&&(0,e.jsxs)(s.div,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0},className:"flex items-center gap-2 px-4 py-3 rounded-xl bg-red-500/10 border border-red-500/30 text-red-400 text-sm",children:[(0,e.jsx)(v,{className:"w-4 h-4 flex-shrink-0"}),w]})}),(0,e.jsx)("button",{type:"submit",disabled:c==="submitting",className:i("w-full py-3.5 rounded-xl font-semibold text-white flex items-center justify-center gap-2 transition-all duration-200",c==="submitting"?"bg-slate-700 cursor-not-allowed opacity-70":"bg-gradient-to-r from-cyan-500 to-blue-600 hover:from-cyan-400 hover:to-blue-500 shadow-lg shadow-cyan-500/20 hover:shadow-cyan-500/35"),children:c==="submitting"?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("div",{className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin"}),"Sending\u2026"]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(E,{className:"w-4 h-4"}),"Send Message"]})}),(0,e.jsxs)("p",{className:"text-xs text-slate-500 text-center",children:["By submitting, you agree to our"," ",(0,e.jsx)(l,{to:"/terms",className:"underline hover:text-slate-400 transition-colors",children:"Terms"})," ","and"," ",(0,e.jsx)(l,{to:"/privacy",className:"underline hover:text-slate-400 transition-colors",children:"Privacy Policy"}),". We never share your information."]})]},"form")})})]})})]})]})]})}export{H 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.