PageSourceSearch

https://webmedic.com/build/assets/ArContact-BroxyLyE.js

js webmedic.com collected 2026-09-29 11:40:09 UTC 7,414 bytes, 1 lines download raw bytes

1import{b as o,d as p,f as e,j as c,e as f,w as g,k as n,v as d,t as w,l as h,m,n as v,i as a,p as D}from"./vendor-D3cu6k9a.js";import{c as y}from"./useAbVariant-BC_9Gfna.js";import{_ as A}from"./NavigationArabic-CwlSc4Vo.js";import{_ as k}from"./FooterSection-yheUsIyJ.js";const B={class:"min-h-screen bg-[#080d14] text-white relative"},C={class:"relative overflow-hidden pt-32 pb-24 px-6 lg:px-8"},V={class:"relative z-10 max-w-2xl mx-auto"},M={class:"gradient-border-card p-8 md:p-10"},X={key:0,class:"text-center py-8"},z={key:0,class:"text-red-400 text-sm"},S=["disabled"],N={key:0,class:"inline-flex items-center gap-2"},U={key:1},j="https://wa.me/601110301337?text=%D9%85%D8%B1%D8%AD%D8%A8%D8%A7%D8%8C%20%D8%A3%D8%B1%D9%8A%D8%AF%20%D8%A7%D9%84%D8%A7%D8%B3%D8%AA%D9%81%D8%B3%D8%A7%D8%B1%20%D8%B9%D9%86%20%D8%AE%D8%AF%D9%85%D8%A7%D8%AA%20%D8%B4%D9%88%D8%A8%D9%8A%D9%81%D8%A7%D9%8A",L={__name:"ArContact",setup(E){const l=v({name:"",email:"",phone:"",message:""}),r=m(!1),u=m(!1),i=m(""),b=async()=>{r.value=!0,i.value="";try{await D.post("/api/applications",{stage:"arabic-contact",name:l.name,email:l.email,phone:l.phone,message:l.message,_meta:{...y(),locale:"ar"}}),u.value=!0,setTimeout(()=>{l.name="",l.email="",l.phone="",l.message="",u.value=!1},5e3)}catch{i.value="حدث خطأ. يرجى المحاولة مرة أخرى."}finally{r.value=!1}};return(x,t)=>(a(),o("div",B,[p(A),e("section",C,[t[13]||(t[13]=e("div",{class:"dot-grid dot-grid-mask absolute inset-0 z-0"},null,-1)),t[14]||(t[14]=e("div",{class:"glow-blob absolute -top-32 right-1/3 h-64 w-64 bg-brand-500/20"},null,-1)),e("div",V,[t[11]||(t[11]=e("div",{class:"text-center mb-12"},[e("span",{class:"section-label text-brand-400 mb-4 inline-block"},"WebMedic"),e("h1",{class:"font-serif text-fluid-hero mb-4 leading-[1.1]"}," تواصل معنا "),e("p",{class:"text-white/50 text-lg max-w-xl mx-auto"}," نحن هنا لمساعدتك في بناء وتطوير متجرك الإلكتروني على شوبيفاي ")],-1)),e("div",{class:"mb-12"},[e("a",{href:j,target:"_blank",rel:"noopener noreferrer",class:"flex items-center justify-center gap-3 w-full py-4 px-6 rounded-xl bg-emerald-500 hover:bg-emerald-600 text-white text-lg font-semibold transition-all duration-300",style:{"box-shadow":"0 0 20px rgba(0,195,106,0.3), 0 8px 32px rgba(0,195,106,0.2)"}},[...t[4]||(t[4]=[e("svg",{class:"w-6 h-6",viewBox:"0 0 24 24",fill:"currentColor"},[e("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})],-1),c(" تواصل معنا مباشرة عبر واتساب ",-1)])])]),t[12]||(t[12]=e("div",{class:"flex items-center gap-4 mb-12"},[e("div",{class:"flex-1 h-px bg-gradient-to-l from-white/10 to-transparent"}),e("span",{class:"text-white/30 text-sm"},"أو أرسل رسالة"),e("div",{class:"flex-1 h-px bg-gradient-to-r from-white/10 to-transparent"})],-1)),e("div",M,[u.value?(a(),o("div",X,[...t[5]||(t[5]=[f('<div class="w-16 h-16 mx-auto mb-4 rounded-full bg-emerald-500/20 flex items-center justify-center"><svg class="w-8 h-8 text-emerald-400" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"></path></svg></div><h3 class="text-xl font-semibold mb-2">تم الإرسال بنجاح</h3><p class="text-white/50">
1سنتواصل معك في أقرب وقت</p>',3)])])):(a(),o("form",{key:1,onSubmit:g(b,["prevent"]),class:"space-y-6"},[e("div",null,[t[6]||(t[6]=e("label",{for:"name",class:"block text-sm font-medium text-white/60 mb-2"},"الاسم",-1)),n(e("input",{id:"name","onUpdate:modelValue":t[0]||(t[0]=s=>l.name=s),type:"text",required:"",class:"w-full px-4 py-3 rounded-lg bg-white/[0.05] border border-white/[0.08] text-white placeholder-white/30 focus:outline-none focus:border-brand-500/50 focus:ring-1 focus:ring-brand-500/30 transition-all duration-200",placeholder:"اسمك الكامل"},null,512),[[d,l.name]])]),e("div",null,[t[7]||(t[7]=e("label",{for:"email",class:"block text-sm font-medium text-white/60 mb-2"},"البريد الإلكتروني",-1)),n(e("input",{id:"email","onUpdate:modelValue":t[1]||(t[1]=s=>l.email=s),type:"email",required:"",dir:"ltr",class:"w-full px-4 py-3 rounded-lg bg-white/[0.05] border border-white/[0.08] text-white placeholder-white/30 focus:outline-none focus:border-brand-500/50 focus:ring-1 focus:ring-brand-500/30 transition-all duration-200 text-left",placeholder:"[email protected]"},null,512),[[d,l.email]])]),e("div",null,[t[8]||(t[8]=e("label",{for:"phone",class:"block text-sm font-medium text-white/60 mb-2"},"رقم الهاتف",-1)),n(e("input",{id:"phone","onUpdate:modelValue":t[2]||(t[2]=s=>l.phone=s),type:"tel",required:"",dir:"ltr",class:"w-full px-4 py-3 rounded-lg bg-white/[0.05] border border-white/[0.08] text-white placeholder-white/30 focus:outline-none focus:border-brand-500/50 focus:ring-1 focus:ring-brand-500/30 transition-all duration-200 text-left",placeholder:"+966 5X XXX XXXX"},null,512),[[d,l.phone]])]),e("div",null,[t[9]||(t[9]=e("label",{for:"message",class:"block text-sm font-medium text-white/60 mb-2"},"رسالتك",-1)),n(e("textarea",{id:"message","onUpdate:modelValue":t[3]||(t[3]=s=>l.message=s),rows:"4",class:"w-full px-4 py-3 rounded-lg bg-white/[0.05] border border-white/[0.08] text-white placeholder-white/30 focus:outline-none focus:border-brand-500/50 focus:ring-1 focus:ring-brand-500/30 transition-all duration-200 resize-none",placeholder:"كيف يمكننا مساعدتك؟"},null,512),[[d,l.message]])]),i.value?(a(),o("p",z,w(i.value),1)):h("",!0),e("button",{type:"submit",disabled:r.value,class:"w-full py-3.5 px-6 rounded-lg bg-brand-500 hover:bg-brand-600 text-white font-semibold text-lg transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed cta-glow"},[r.value?(a(),o("span",N,[...t[10]||(t[10]=[e("svg",{class:"animate-spin h-5 w-5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[e("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),e("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1),c(" جاري الإرسال... ",-1)])])):(a(),o("span",U,"إرسال"))],8,S)],32))])])]),p(k,{locale:"ar"})]))}};export{L 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.