PageSourceSearch

https://seventech.uz/_nuxt/BlF-_0as.js

js seventech.uz collected 2026-10-07 13:25:42 UTC 6,060 bytes, 1 lines download raw bytes

1import{d as k,i as I,E as C,c as x,a as t,t as r,u as e,H as T,f as p,I as v,J as F,K as S,L as z,o as c,r as f,M as D,G as E,N as U}from"./B0NJ795m.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new n.Error().stack;s&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[s]="118d029d-5fbd-469f-8226-32830be2bfd5",n._sentryDebugIdIdentifier="sentry-dbid-118d029d-5fbd-469f-8226-32830be2bfd5")}catch{}})();const q={class:"custom-container"},B={class:"max-w-[1200px] mx-auto grid max-sm:grid-cols-1 grid-cols-2 gap-[30px] max-sm:gap-[20px] pt-[20px] max-md:pt-[0] pb-[40px]"},R={class:"border border-theme p-5 max-sm:p-4 py-[30px] max-sm:py-[20px] flex flex-col gap-5 max-sm:gap-4"},G={class:"text-2xl max-sm:text-xl font-semibold text-theme-primary"},H={class:"flex flex-col w-full text-sm sm:text-base"},L={class:"flex max-sm:flex-col sm:justify-between sm:items-start gap-1 sm:gap-2 py-[14px] sm:py-[17px] border-b border-theme font-medium"},M={class:"text-theme-primary max-sm:text-theme-tertiary max-sm:text-xs"},j={class:"flex max-sm:flex-col sm:justify-between sm:items-start gap-1 sm:gap-2 py-[14px] sm:py-[17px] border-b border-theme font-medium"},P={class:"text-theme-primary max-sm:text-theme-tertiary max-sm:text-xs"},A={class:"text-primary sm:text-right"},W={class:"flex max-sm:flex-col sm:justify-between sm:items-start gap-1 sm:gap-2 py-[14px] sm:py-[17px] border-b border-theme font-medium"},X={class:"text-theme-primary max-sm:text-theme-tertiary max-sm:text-xs"},Y={class:"text-primary sm:text-right"},K={class:"border border-theme p-5 max-sm:p-4 flex flex-col gap-5 max-sm:gap-4"},O={class:"flex flex-col gap-3"},Q={class:"text-2xl max-sm:text-xl font-semibold text-theme-primary"},$={class:"text-theme-primary text-base max-sm:text-sm"},J={key:0},Z={key:1},ee={href:"https://t.me/seventechchat",target:"_blank",class:"text-primary underline"},te=k({__name:"support",setup(n){const{t:s}=I(),{success:h,error:b}=U(),y=C(),a=f({fullName:"",email:"",phone:"",message:""}),o=f({fullName:"",email:"",phone:"",message:""}),d=f(!1),_=()=>{o.value={fullName:"",email:"",phone:"",message:""};let m=!0;return a.value.fullName.trim()||(o.value.fullName=s("auth.fieldIsRequired"),m=!1),a.value.phone.trim()||(o.value.phone=s("auth.fieldIsRequired"),m=!1),a.value.message.trim()||(o.value.message=s("auth.fieldIsRequired"),m=!1),a.value.email&&!w(a.value.email)&&(o.value.email=s("auth.enterValidEmail"),m=!1),m},w=m=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(m),g=async()=>{if(_())try{d.value=!0;const m={full_name:a.value.fullName,phone_number:a.value.phone,email:a.value.email||null,message:a.value.message};await D("/contact",{method:"POST",body:m}),h(s("support.yourMessageSentSuccessfully")),a.value={fullName:"",email:"",phone:"",message:""},setTimeout(()=>{E(y.value)},1500)}catch(m){b(s("common.errorOccured")),console.error("Contact form error:",m)}finally{d.value=!1}};return(m,l)=>{const u=F,N=S,V=z("i18n-t");return c(),x("div",q,[t("div",B,[t("div",R,[t("h2",G,r(e(s)("support.serviceCenter")),1),t("div",H,[t("div",L,[t("p",M,r(e(s)("profile.phone")),1),l[4]||(l[4]=t("a",{href:"tel:+998712307000",class:"text-primary sm:text-right"},"+998 71 230 70 00",-1))]),t("div",j,[t("p",P,r(e(s)("support.workingHours")),1),t("p",A,r(e(s)("support.workingHoursTime")),1)]),t("div",W,[t("p",X,r(e(s)("support.address")),1),t("p",Y,r(e(s)("support.serviceCenterFullAddress")),1)]),l[5]||(l[5]=t("div",{class:"flex max-sm:flex-col sm:justify-between sm:items-start gap-1 sm:gap-2 py-[14px] sm:py-[17px] border-b border-theme font-medium"},[t("p",{class:"text-theme-primary max-sm:text-theme-tertiary max-sm:text-xs"},"e-mail"),t("a",{href:"mailto:[email protected]",class:"text-primary sm:text-right break-all"},"[email protected]")],-1))]),l[6]||(l[6]=t("div",{class:"w-full h-[280px] max-sm:h-[200px] overflow-hidden relative"},[t("iframe",{src:"https://yandex.uz/map-widget/v1/?ll=69.227149%2C41.323260&mode=search&ol=geo&ouri=ymapsbm1%3A%2F%2Fgeo%3Fdata%3DCgo1NzU5MTcxNDQxEkBPyrt6YmVraXN0b24sIFRvc2hrZW50LCBTaGF5eG9udG9odXIgdHVtYW5pLCBHdWxvYm9kIGRhaGFzaSwgMTAzIgoNTXSKQhUFSyVC&z=16.99",width:"100%",height:"100%",frameborder:"0",allowfullscreen:"",loading:"lazy",class:"relative"})],-1))]),t("div",K,[t("div",O,[t("h2",Q,r(e(s)("support.support")),1),t("p",$,r(e(s)("support.supportDescription")),1)]),t("form",{onSubmit:T(g,["prevent"]),class:"flex flex-col gap-5 max-sm:gap-4"},[p(u,{modelValue:e(a).fullName,"onUpdate:modelValue":l[0]||(l[0]=i=>e(a).fullName=i),label:e(s)("support.yourSNP"),placeholder:e(s)("support.enterSNP"),required:"","is-invalid":!!e(o
1).fullName,"validation-message":e(o).fullName},null,8,["modelValue","label","placeholder","is-invalid","validation-message"]),p(u,{modelValue:e(a).email,"onUpdate:modelValue":l[1]||(l[1]=i=>e(a).email=i),type:"email",label:"Email",placeholder:e(s)("support.enterEmail"),"is-invalid":!!e(o).email,"validation-message":e(o).email},null,8,["modelValue","placeholder","is-invalid","validation-message"]),p(u,{modelValue:e(a).phone,"onUpdate:modelValue":l[2]||(l[2]=i=>e(a).phone=i),type:"tel",label:e(s)("support.phoneNumber"),placeholder:"+998",required:"","is-invalid":!!e(o).phone,"validation-message":e(o).phone},null,8,["modelValue","label","is-invalid","validation-message"]),p(u,{modelValue:e(a).message,"onUpdate:modelValue":l[3]||(l[3]=i=>e(a).message=i),type:"textarea",label:e(s)("support.message"),placeholder:e(s)("support.message"),required:"","is-invalid":!!e(o).message,"validation-message":e(o).message},null,8,["modelValue","label","placeholder","is-invalid","validation-message"]),p(N,{class:"!w-full",disabled:e(d),onClick:g},{default:v(()=>[e(d)?(c(),x("span",Z,r(e(s)("common.loading"))+"...",1)):(c(),x("span",J,r(e(s)("common.send")),1))]),_:1},8,["disabled"]),p(V,{keypath:"support.supportTelegramNote",tag:"p",class:"text-theme-primary text-base max-sm:text-sm"},{link:v(()=>[t("a",ee,r(e(s)("support.supportTelegramLink")),1)]),_:1})],32)])])])}}});export{te 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.