PageSourceSearch

https://www.bazar.club/_nuxt/utpz7itb.js

js bazar.club collected 2026-09-25 02:52:02 UTC 5,874 bytes, 1 lines download raw bytes

1import{ad as I,aD as T,b5 as z,an as E,ao as o,aq as s,ar as r,u as e,ap as l,i as g,b as L,aM as N,aO as U,aJ as q,bz as M,am as O,aA as i,bA as R,bB as j,c as H,aC as J}from"./Bh_ArxUo.js";import{_ as Q}from"./D1sUGSkn.js";import{_ as Y}from"./Dua0xCSY.js";import{_ as Z}from"./BeAdL3Eg.js";import{c as u}from"./FocMwlmn.js";import{u as G,t as K}from"./BmmU3J1j.js";import{u as W}from"./UKaI0-Zx.js";import{s as X}from"./BRzlt3cL.js";import"./Bsnhb1z6.js";import"./Bo1_Uykc.js";import"./BVuPXHH2.js";import"./BhZI3o7O.js";function ee(B){const n=u.phone.replace(/\D/g,"").match(/^(\d)(\d{3})(\d{3})(\d{2})(\d{2})$/);return n?B?`${n[2]} ${n[3]} ${n[4]} ${n[5]}`:`+${n[1]} ${n[2]} ${n[3]} ${n[4]} ${n[5]}`:u.phone}const te={class:"background-contact-us max-sm:-mt-4 md:-mb-30 max-md:-mb-20"},oe={class:"container"},se={class:"py-4"},ae={class:"mx-auto md:my-20 mb-20 md:max-w-230 bg-white/10 backdrop-blur-xl flex max-md:flex-col rounded-xl gap-4 md:px-6 pt-6"},ne={class:"pb-4 w-full space-y-6 flex flex-col max-md:px-6"},le={class:"text-2xl font-bold text-white"},re={class:"text-base text-white"},ce={class:"flex flex-col gap-4 mt-auto"},ie={class:"flex items-center gap-2"},de={class:"flex flex-col"},me={class:"bg-white rounded-t-xl max-md:rounded-b-xl p-4 w-full"},ue={class:"text-2xl font-bold text-foreground text-center"},pe={class:"flex items-center gap-1 text-muted-foreground"},fe={class:"text-xs"},_e={class:"text-xs text-muted-foreground"},xe=I({__name:"contact-us",setup(B){const{t:a}=T(),{contactUsFormSchema:n}=W(),D=L(!1),{handleSubmit:y,errors:d,defineField:f,resetForm:$}=G({validationSchema:K(n)}),[_]=f("name"),[x]=f("phone"),[v]=f("phone_country_code"),[h]=f("message"),w=y(async m=>{D.value=!0;const t=$instanceFetch("/v1/contact-us",{method:"POST",body:m,onResponse:({response:p})=>{p.ok&&$(),D.value=!1}});z.promise(t,{loading:a("Отправка формы..."),success:a("Форма успешно отправлена"),error:a("Ошибка при отправке формы"),position:"top-center"})},()=>{X()}),F=H(()=>_.value?.length&&!d.value.name&&x.value?.length&&!d.value.phone&&h.value?.length&&!d.value.message);return(m,t)=>{const p=N,k=U,b=q,S=Q,V=Y,C=j,P=M,A=Z;return O(),E("div",te,[o("div",oe,[o("div",se,[s(p,{class:"text-white! underline",variant:"link",onClick:"navigateToPreviousPage"in m?m.navigateToPreviousPage:e(R)},{default:r(()=>[i(l(e(a)("Назад")),1)]),_:1},8,["onClick"])]),o("div",ae,[o("div",ne,[o("h1",le,l(e(a)("Есть вопрос? Мы на связи.")),1),o("p",re,l(e(a)("Заполните короткую форму — и мы свяжемся с вами. Ответим быстро и по делу.")),1),s(p,{class:"w-fit",size:"lg",variant:"secondary","as-child":""},{default:r(()=>[s(k,{route:{name:"faq"}},{default:r(()=>[i(l(e(a)("Перейти к FAQ")),1)]),_:1})]),_:1}),o("div",ce,[t[7]||(t[7]=o("p",{class:"text-base text-white"}," Head office ",-1)),s(b,{to:`mailto:${e(u).email}`,class:"text-base text-white w-fit"},{default:r(()=>[i(l(e(u).email),1)]),_:1},8,["to"]),s(b,{to:`tel:${e(u).phone}`,class:"text-xl text-white w-fit"},{default:r(()=>[i(l(("contactInfoPhoneMask"in m?m.contactInfoPhoneMask:e(ee))(!0)),1)]),_:1},8,["to"]),o("div",ie,[s(b,{to:e(u).telegramSupport,rel:"nofollow",target:"_blank"},{default:r(()=>[s(S,{name:"social-telegram-white-special",size:"26"})]),_:1},8,["to"])]),o("div",de,[t[6]||(t[6]=o("p",{class:"text-base text-white font-light"}," MON-FRI: 8 am – 6 pm ",-1)),s(b,{class:"text-base text-white font-light w-fit",target:"_blank",to:"https://www.google.com/maps/place/BAZAR.club+%E2%80%94+%D0%B4%D0%BE%D1%81%D0%BA%D0%B0+%D0%BE%D0%B1%D1%8A%D1%8F%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B9+%D0%B4%D0%BB%D1%8F+%D0%B8%D0%BC%D0%BC%D0%B8%D0%B3%D1%80%D0%B0%D0%BD%D1%82%D0%BE%D0%B2+%D0%B2+%D0%A1%D0%A8%D0%90/@42.649693,-73.7554298,17z/data=!3m1!5s0x89de0a268149fcdb:0xf4be03eb42520f03!4m6!3m5!1s0x89c6ad5f3a86f2d9:0x9d4cf19abeb24902!8m2!3d42.6496491!4d-73.7532679!16s%2Fg%2F11j1_10hhb?entry=ttu",external:""},{default:r(()=>[...t[5]||(t[5]=[i(" 90 State St Suite 700,Ofс 40 Albany, NY 12207 ",-1)])]),_:1})])])]),o("div",me,[o("h2",ue,l(e(a)("Напишите нам")),1),o("form",{class:"space-y-4",onSubmit:t[4]||(t[4]=(...c)=>e(w)&&e(w)(...c))},[s(V,{id:"name",modelValue:e(_),"onUpdate:modelValue":t[0]||(t[0]=c=>g(_)?_.value=c:null),errors:e(d).name,autocomplete:"name",label:"Имя",placeholder:"Введите имя",required:""},null,8,["modelValue","errors"]),s(P,{id:"phone",modelValue:e(x),"onUpdate:modelValue":t[1]||(t[1]=c=>g(x)?x.value=c:null),"country-code":e(v),"onUpdate:countryCode":t[2]||(t[2]=c=>g(v)?v.value=c:null),errors:e(d).phone,"with-country-select":!0,label:"Контактный номер",placeholder:"Введите номер телефона","small-text":"Мы не отправляем спам нашим пользователям",required:""},{"small-text":r(()=>
1[o("div",pe,[s(C,{class:"size-3"}),o("span",fe,l(e(a)("Мы не отправляем спам нашим пользователям")),1)])]),_:1},8,["modelValue","country-code","errors"]),s(A,{id:"message",modelValue:e(h),"onUpdate:modelValue":t[3]||(t[3]=c=>g(h)?h.value=c:null),errors:e(d).message,"max-length":1e3,label:"Сообщение",placeholder:"Введите сообщение","textarea-class":"h-30",required:""},null,8,["modelValue","errors"]),s(p,{disabled:e(D)||!e(F),class:"w-full",size:"lg",type:"submit"},{default:r(()=>[i(l(e(a)("Отправить")),1)]),_:1},8,["disabled"]),o("p",_e,[o("span",null,l(e(a)("Отправляя форму, вы соглашаетесь с"))+"  ",1),s(k,{route:{name:"terms-of-use"},class:"underline!",target:"_blank"},{default:r(()=>[i(l(e(a)("условиями использования")),1)]),_:1})])],32)])])])])}}}),Ve=J(xe,[["__scopeId","data-v-c2d119fe"]]);export{Ve 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.