1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CzMEFmtw.js","assets/index-BKdHRffB.css"])))=>i.map(i=>d[i]); 2import{u as N,t as S,r as x,j as e,S as C,a as A,N as D,E as u,M,Q as g,R as v,d as O,P as k,v as P,F as H,b as L,_ as E,x as b,y as f,z as F}from"./index-CzMEFmtw.js";const _=()=>{const{ref:w,isInView:l}=N(.1),t=S("contact"),[i,n]=x.useState("idle"),[a,r]=x.useState({name:"",email:"",whatsapp:"",service:"",message:""}),y=async s=>{var p;s.preventDefault();const{contactDetailsSchema:o}=await E(async()=>{const{contactDetailsSchema:d}=await import("./index-CzMEFmtw.js").then(j=>j.bg);return{contactDetailsSchema:d}},__vite__mapDeps([0,1])),h=o.safeParse({name:a.name,email:a.email,whatsapp:a.whatsapp});if(!h.success){b({title:"Missing info",description:((p=h.error.errors[0])==null?void 0:p.message)||"Name, email and WhatsApp are required.",variant:"destructive"});return}n("loading");const c=crypto.randomUUID(),{error:m}=await f.from("contact_messages").insert({id:c,name:a.name,email:a.email,whatsapp:a.whatsapp||null,service:a.service||null,message:a.message||null});if(m){console.error(m),b({title:"Something went wrong",description:"Please try again or WhatsApp us directly.",variant:"destructive"}),n("idle");return}f.functions.invoke("send-transactional-email",{body:{templateName:"contact-message-notification",recipientEmail:"[email protected]",idempotencyKey:`contact-${c}`,templateData:{...a,id:c}}}).catch(()=>{}),F("ContactMessages",[new Date().toISOString(),a.name,a.email,a.whatsapp,a.service||"",a.message||""]).catch(d=>console.warn("Sheet mirror failed (message already saved):",d)),n("success")};return e.jsxs(e.Fragment,{children:[e.jsx(C,{title:"Contact Healthserve â Talk to a Licensing Advisor",description:"Reach our UAE healthcare consultants for DHA, MOH, DOH licensing, training, or facility setup. Call, email, or WhatsApp us today.",path:"/contact",jsonLd:{"@context":"https://schema.org","@type":"LocalBusiness",name:"Healthserve Health Consultancy",image:"https://healthserve.ae/favicon.ico",url:"https://healthserve.ae/",telephone:"+971-52-394-1876",email:"[email protected]",address:{"@type":"PostalAddress",streetAddress:"#332, Sultan Business Center, Near Lamcy Plaza, Oud Metha",addressLocality:"Dubai",addressCountry:"AE"},areaServed:["AE","SA","QA","OM","BH","KW","DE"],openingHoursSpecification:{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],opens:"09:00",closes:"18:00"}}}),e.jsxs("div",{className:"dark",children:[e.jsx(A,{}),e.jsx(D,{}),e.jsxs("main",{children:[e.jsxs("section",{ref:w,className:"relative pt-28 pb-20 md:pt-36 md:pb-28 bg-hero-gradient overflow-hidden noise-overlay min-h-screen",children:[e.jsx("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:e.jsx("div",{className:"absolute w-[500px] h-[500px] rounded-full opacity-[0.10] blur-[100px] top-[-10%] right-[-5%]",style:{background:"#2CC5F4",animation:"float-orb 20s ease-in-out infinite"}})}),e.jsxs("div",{className:"relative z-10 max-w-[1320px] mx-auto px-6 md:px-10",children:[e.jsxs("div",{className:`text-center mb-14 ${l?"animate-fade-up":"opacity-0"}`,children:[e.jsx(u,{id:"hero.title",defaultValue:"Let's Talk About Your Healthcare Goals.",as:"h1",multiline:!0,className:"font-display font-extrabold text-white leading-tight mb-4 block",style:{fontSize:"clamp(36px, 5vw, 56px)",letterSpacing:"-1.5px"}}),e.jsx(u,{id:"hero.subtitle",defaultValue:"Whether you're a nurse in the Philippines, a doctor in India, or a clinic investor in Dubai â we have a solution for you.",as:"p",multiline:!0,className:"text-white/85 text-lg max-w-2xl mx-auto block"})]}),e.jsxs("div",{className:"grid lg:grid-cols-2 gap-10",children:[e.jsxs("div",{className:`space-y-5 ${l?"animate-fade-up":"opacity-0"}`,style:{animationDelay:"0.2s"},children:[[{icon:M,label:"Office Address",value:"#332, Sultan Business Center, Near Lamcy Plaza, Oud Metha, Dubai â UAE"},{icon:g,label:"Landline",value:"+971 4 552 1757",href:"tel:+97145521757"},{icon:g,label:"Mobile / WhatsApp",value:"+971 52 394 1876 ⢠+971 50 272 0059",href:"tel:+971523941876"},{icon:v,label:"Email",value:"[email protected]",href:"mailto:[email protected]"},{icon:v,label:"Alternate Email",value:"[email protected]",href:"mailto:[email protected]"},{icon:O,label:"Working Hours",value:"Monday â Saturday: 9:00 AM to 6:00 PM"}].map(s=>{const o=s.icon;return e.jsxs("div",{className:"glass-card p-5 flex items-center gap-4",children:[e.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#F9A01B]/10 flex items-center justify-center flex-shrink-0",children:e.jsx(o,{size:18,className:"text-[#F9A01B]"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-white/75 text-xs",children:s.label}),s.href?e.jsx("a",{href:s.href,target:s.href.startsWith("http")?"_blank":void 0,className:"text-white text-sm font-semibold hover:text-[#F9A01B] transition-colors",children:s.value}):e.jsx("p",{className:"text-white text-sm font-semibold",children:s.value})]})]},s.label)}),e.jsxs("div",{className:"glass-card p-4 text-center",children:[e.jsx("p",{className:"text-white/75 text-xs mb-2",children:"â° Response time"}),e.jsx("p",{className:"text-white text-sm font-semibold",children:"We typically respond within 1 hour during working hours"})]})]}),e.jsx("div",{className:`${i==="success"?"":"glass-card p-6 md:p-8"} ${l?"animate-fade-up":"opacity-0"}`,style:{animationDelay:"0.3s"},children:i==="success"?e.jsx(k,{formType:"contact",answers:{name:a.name,email:a.email,whatsapp:a.whatsapp,service:a.service,message:a.message},theme:"dark"}):e.jsxs("form",{onSubmit:y,className:"space-y-5",children:[e.jsx("h3",{className:"font-display font-bold text-white text-xl mb-2",children:"Send us a Message"}),e.jsxs("div",{children:[e.jsx("label",{className:"text-white/75 text-xs mb-1.5 block",children:t.label("service","Service Interested In")}),e.jsxs("select",{value:a.service,onChange:s=>r({...a,service:s.target.value}
2),className:"w-full h-14 px-4 rounded-xl bg-white/[0.04] border border-white/[0.12] text-white text-sm focus:border-[#2CC5F4] outline-none transition-all appearance-none",children:[e.jsx("option",{value:"",children:t.placeholder("service","Select a service...")}),t.options("service",["Healthcare Licensing (DHA / MOH / DOH / HAAD / GCC)","Facility Licensing & Medical Center Setup","Dataflow & Prometric Assistance","Clinical Training (BLS / ACLS / PALS / CNA)","German Nursing Recruitment","MCQ Preparation Packages","Free Consultation","Other"]).map(s=>e.jsx("option",{value:s,children:s},s))]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-white/75 text-xs mb-1.5 block",children:t.label("message","Message")}),e.jsx("textarea",{rows:4,value:a.message,onChange:s=>r({...a,message:s.target.value}),placeholder:t.placeholder("message",""),className:"w-full px-4 py-3 rounded-xl bg-white/[0.04] border border-white/[0.12] text-white text-sm focus:border-[#2CC5F4] outline-none transition-all resize-none"})]}),e.jsxs("div",{className:"pt-3 mt-2 border-t border-white/10",children:[e.jsx("p",{className:"text-white/85 text-sm font-semibold mb-3",children:"Your contact details"}),e.jsx(P,{theme:"dark",value:{name:a.name,email:a.email,whatsapp:a.whatsapp},onChange:s=>r({...a,...s})})]}),e.jsx("button",{type:"submit",disabled:i==="loading",className:"btn-primary-hs w-full !text-base",children:i==="loading"?"Sending...":t.submitLabel("Send Message")}),e.jsxs("p",{className:"text-center text-white/30 text-xs",children:["Or chat with us instantly on ",e.jsx("a",{href:"https://wa.me/971523941876",className:"text-[#25D366] hover:underline",children:"WhatsApp â"})]})]})})]})]})]}),e.jsx("section",{className:"bg-white",children:e.jsxs("div",{className:"max-w-[1320px] mx-auto px-6 md:px-10 py-16",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h2",{className:"font-display font-bold text-gray-900 text-2xl md:text-3xl tracking-tight",children:"Visit Our Office"}),e.jsx("p",{className:"text-gray-500 text-sm mt-2",children:"Sultan Business Center, Oud Metha, Dubai"})]}),e.jsx("div",{className:"rounded-2xl overflow-hidden border border-gray-100 shadow-[0_4px_32px_rgba(15,23,42,0.06)]",children:e.jsx("iframe",{title:"Healthserve Office Location",src:"https://www.google.com/maps?q=Sultan+Business+Center+Oud+Metha+Dubai&output=embed",width:"100%",height:"420",style:{border:0},loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})})]})})]}),e.jsx(H,{}),e.jsx(L,{})]})]})};export{_ 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.