1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Bwt78Hkz.js","./DF3yUtla.js","./DlAUqK2U.js","./LipakMap.BDIlPwZw.css"])))=>i.map(i=>d[i]); 2import{_ as N}from"./DiII6vfo.js";import{d as h,D as S,a as n,c as p,b as e,e as t,O as b,p as f,w as o,f as c,t as i,K as w,u as F,aq as B,F as k,g as C,j as q,aw as A,n as U,at as E,H as I,N as D,ay as O,l as L,bt as R,bu as j,G as M}from"./DF3yUtla.js";import{_ as G}from"./6kuTtcPI.js";import{_ as z}from"./BW9iKLOz.js";import{n as H}from"./CLqSmCJl.js";import{u as K}from"./BIwuUWQN.js";import{u as J}from"./CgZyEdHh.js";import"./DSe4SG0s.js";import"./tn5-5MSf.js";const Q={class:"tw:max-w-222 tw:relative tw:overflow-hidden tw:flex tw:flex-col tw:items-center tw:gap-4"},W={class:"tw:flex tw:flex-col tw:items-center tw:gap-2 tw:z-10"},X=h({__name:"TopSection",setup(d){const{t:a}=S();return(u,x)=>{const l=z;return n(),p("div",Q,[e(t(b),{src:"about/Pattern.svg ",class:"tw:w-full tw:absolute"}),e(t(b),{src:"contact-us/Illustration.svg",class:"tw:z-10"}),f("div",W,[e(t(w),{tag:"h1",variant:"h1",weight:"bold",class:"tw:text-icon-primary"},{default:o(()=>[c(i(t(a)("staticPages.contactUs.topSection.title")),1)]),_:1}),e(t(w),{variant:"paragraph2",weight:"regular",class:"tw:text-icon-tertiary tw:text-center"},{default:o(()=>[c(i(t(a)("staticPages.contactUs.topSection.descriptionPart1"))+" ",1),e(l,{to:"/faq"},{default:o(()=>[e(t(w),{class:"tw:text-primary-main tw:cursor-pointer"},{default:o(()=>[c(i(t(a)("staticPages.contactUs.topSection.descriptionPart2")),1)]),_:1})]),_:1}),c(" "+i(t(a)("staticPages.contactUs.topSection.descriptionPart3")),1)]),_:1})])])}}});function Y(d){return{createContactUs(a){return d("/api/v1/shop/contact-us",{method:"POST",body:a})}}}const Z=()=>{const{$httpClient:d}=F(),a=Y(d);return K({mutationFn:u=>a.createContactUs(u)})},tt=[{title:"name",label:"ÙØ§Ù Ù ÙØ§Ù âØ®Ø§ÙÙØ§Ø¯Ú¯Û",required:!0,class:"tw:col-span-12 tw:lg:col-span-4",rules:"required"},{title:"phoneNumber",label:"تÙÙÙ Ù٠راÙ",required:!0,class:"tw:col-span-12 tw:lg:col-span-4",rules:"phone_required"},{title:"email",label:"آدرس اÛÙ ÛÙ",required:!1,class:"tw:col-span-12 tw:lg:col-span-4",rules:"email"},{title:"description",label:"Ù ØªÙ Ù¾ÛØ§Ù Ø®ÙØ¯ را بÙÙÛØ³Ûد",required:!0,rules:"required",class:"tw:col-span-12",inputType:"textarea"}],P=[{id:1,title:"آدرس",descriptionPart1:"ØªÙØ±Ø§ÙØ Ø¨Ø§ÙØ§ØªØ± از Ù ÛØ¯Ø§Ù ÙÙÛØ¹ØµØ±Ø Ú©ÙÚÙ Ø´ÙØ§Ù ØªÛØ Ù¾ÙØ§Ú© Û²Û±",descriptionPart2:"[email protected] Û°Û²Û±-ÛµÛ¸Û²ÛµÛ¶Û°Û°Û°"},{id:2,title:"تØÙÛÙ Ú©Ø§ÙØ§",descriptionPart1:"Ø´ÙØ¨Ù تا ÚÙØ§Ø±Ø´Ùب٠از 9 اÙÛ 17",descriptionPart2:"Ù¾ÙØ¬Ø´ÙبÙâÙØ§ از 9 اÙÛ 15"},{id:3,title:"پاسخگÙÛÛ Ù¾Ø´ØªÛØ¨Ø§ÙÛ",descriptionPart1:"7 Ø±ÙØ² ÙÙØªÙ",descriptionPart2:"از ساعت Û¹ اÙÛ Û²Û´"}],et={class:"tw:w-full tw:py-6 tw:flex tw:flex-col tw:gap-6"},at={key:0,class:"tw:text-xs tw:text-error-main"},st=h({__name:"FormSection",setup(d){const{t:a}=S(),u=B(),{mutate:x,isPending:l}=Z(),T={name:"",phoneNumber:"",email:"",description:""},v=L(()=>l.value),V=(g,{resetForm:y})=>{x(g,{onSuccess:()=>{u.show({position:"top-center",variant:"success",title:"Ù¾ÛØ§Ù ش٠ا با Ù ÙÙÙÛØª ارسا٠شد!",dismissible:!0}),y()},onError:r=>{var s,m,_;u.show({position:"top-center",variant:"error",title:((s=r==null?void 0:r.data)==null?void 0:s.message)||((_=(m=r==null?void 0:r.response)==null?void 0:m.data)==null?void 0:_.message)||"خطاÛÛ Ø±Ø® داد",dismissible:!0})}})};return(g,y)=>(n(),p("div",et,[e(t(w),{weight:"bold",variant:"h3",class:"tw:text-icon-primary tw:ml-auto"},{default:o(()=>[c(i(t(a)("staticPages.contactUs.formSection.title")),1)]),_:1}),e(t(O),{as:"form","initial-values":T,class:"tw:grid tw:grid-cols-12 tw:gap-6",onSubmit:V},{default:o(({meta:r})=>[(n(!0),p(k,null,C(t(tt),s=>(n(),q(t(A),{key:s.title,name:s.title,rules:s.rules,class:U(s.class),as:"div"},{default:o(({field:m,errorMessage:_})=>[e(t(E),{"model-value":m.value,size:"medium",variant:_?"error":"default",label:s.label,required:s.required,type:s==null?void 0:s.inputType,"onUpdate:modelValue":$=>m.onChange(("normalizeFieldValue"in g?g.normalizeFieldValue:t(H))(s,$)),onBlur:m.onBlur},null,8,["model-value","variant","label","required","type","onUpdate:modelValue","onBlur"]),_?(n(),p("span",at,i(_),1)):I("",!0)]),_:2},1032,["name","rules","class"]))),128)),e(t(D),{type:"submit",appearance:"solid",variant:"primary",size:"medium",class:"tw:ml-auto tw:!w-40",text:"ارساÙ",loading:v.value,disabled:!r.valid||v.value},null,8,["loading","disabled"])]),_:1})]))}}),lt={class:"tw:w-full tw:rounded-t-2xl tw:border-1 tw:border-solid tw:border-divider tw:flex tw:flex-col"},ot={class:"tw:relative tw:overflow-hidden tw:bg-overlay tw:rounded-t-[16px] tw:flex tw:w-full tw:max-md:flex-col tw:md:justify-center tw:max-md:items-center tw:gap-6 tw:z-10 tw:p-8 tw:md:p-4"},nt={class:"tw:h-[250px]"},it=h({__name:"AddressSection",setup(d){const a=R(()=>j(()=>import("./Bwt78Hkz.js"),__vite__mapDeps([0,1,2,3]),import.meta.url));return(u,x)=>(n(),p("div",lt,[f("div",ot,[e(t(b),{src:"about/PatternCard2.svg",class:"tw:absolute tw:w-full tw:h-full"}),(n(!0),p(k,null,C(t(P),l=>(n(),p("div",{key:l.id,class:"tw:flex tw:flex-col tw:gap-4 tw:w-full tw:grow tw:z-10"},[e(t(w),{tag:"h5",variant:"h5",class:"tw:text-icon-tertiary tw:text-nowrap"},{default:o(()=>
2[c(i(l.title),1)]),_:2},1024),f("div",{class:U(["tw:max-md:pb-4 tw:md:pl-6 tw:flex tw:flex-col tw:gap-2",t(P).length===l.id?"":"tw:max-md:border-b-1 tw:max-md:border-b-solid tw:max-md:border-b-divider tw:md:border-l-1 tw:md:border-l-solid tw:md:border-l-divider"])},[e(t(w),{tag:"h6",weight:"bold",class:"tw:text-h6 tw:lg:text-paragraph-2 tw:text-primary-alternative-dark tw:text-nowrap"},{default:o(()=>[c(i(l.descriptionPart1),1)]),_:2},1024),e(t(w),{tag:"h6",weight:"bold",class:"tw:text-h6 tw:lg:text-paragraph-2 tw:text-primary-alternative-dark tw:text-nowrap"},{default:o(()=>[c(i(l.descriptionPart2),1)]),_:2},1024)],2)]))),128))]),f("div",nt,[e(t(a))])]))}}),rt={class:"tw:flex tw:flex-col tw:items-center tw:gap-6"},gt=h({__name:"contact-us",setup(d){const a=[{title:"ÙÛÙ¾Ú©",link:"/"},{title:"تÙ
اس با ÙÛÙ¾Ú©",link:"/contact-us"}];return J({title:"تÙ
اس با Ù
ا â Ø¨Ø§ Ø®ÛØ§Ù Ø±Ø§ØØª اÙÙØ§Ø¹ Ú¯ÙØ´Û ساÙ
سÙÙÚ¯Ø Ø´ÛØ§Ø¦ÙÙ
ÛØ Ø§Ù¾ÙØ رÛÙÙ
Û Ø±Ø§ از ÙÛÙ¾Ú© Ø®Ø±ÛØ¯Ø§Ø±Û Ú©ÙÛØ¯.",description:"Ø¯ÙØªØ± Ù
Ø±Ú©Ø²Û ÙÛÙ¾Ú© در ØªÙØ±Ø§ÙØ Ø®ÛØ§Ø¨Ø§Ù ÙÙÛØ¹ØµØ±Ø Ú©ÙÚÙ Ø´ÙØ§Ù
ØªÛØ Ù¾ÙØ§Ú© 21 Ù
Ø³ØªÙØ± است. در ÙÛÙ¾Ú© اÙ
کا٠Ù
ÙØ§ÛØ³ÙØ ÙÙØ¯ Ù Ø¨Ø±Ø±Ø³Û Ù Ø®Ø±ÛØ¯ اÙÙØ§Ø¹ Ú¯ÙØ´Û ÙØ§Û Ù
ÙØ¨Ø§Û٠ساÙ
سÙÙÚ¯Ø Ø´ÛØ§Ø¦ÙÙ
ÛØ Ø§Ù¾ÙØ رÛÙÙ
Û Ù ØªÙ
اÙ
Û Ø¨Ø±ÙØ¯ÙØ§Û Ù
عتبر ÙØ¬Ùد دارد."}),(u,x)=>{const l=N;return n(),q(l,null,{default:o(()=>[f("div",rt,[e(t(M),{items:a,"link-component":t(z)},null,8,["link-component"]),e(X),e(st),e(it),e(G)])]),_:1})}}});
2export{gt 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.