PageSourceSearch

https://assets.yasno.live/packs/assets/recovery-CbRHJx30.js

js yasno.live collected 2026-10-01 11:44:48 UTC 2,129 bytes, 2 lines download raw bytes

1import{a as e}from"./vue-router-D3l1XyqW.js";import{I as t}from"./s-select-panel-DavwCpwZ-Dp2Y-hc3.js";import"./textbox.vue_vue_type_script_setup_true_lang-CVkomtMN-c7WEDb0k.js";import{a,I as o,g as r,b as s,k as i,N as l,x as p,l as n,V as u,a3 as c}from"./index-DW1DU9N7.js";import{A as m}from"./providers-C4Jan4WT.js";import{_}from"./form-wrapper.vue_vue_type_script_setup_true_lang-DYmOe8lc.js";import"./icon-DwGL9xFc.js";import"./preload-helper-8Mkc4Aqh.js";import"./index-CZiRt0bG-BxcbBi9W.js";import"./_commonjsHelpers-CQRjLznp.js";import"./merge-Dky0fUYC.js";import"./index-0QV-ifCR.js";import"./s-modal-header.vue_vue_type_script_setup_true_lang-BwlWvBF0-sEaX_icM.js";import"./pulsar-BDLdnsv2.js";import"./keyboard-DXoRDMPK.js";const d=a({__name:"recovery",props:{isTherapist:{type:Boolean}},setup(a){const d=e(),v=o(m,r({code:"",phone:"",email:""})),h=r(!1),f=async()=>{if(h.value)return;h.value=!0;const e={code:v.value.code,deleted_accepted:!0};v.value.phone?e.phone=v.value.phone:e.email=v.value.email;try{const t=await(new c).makeRequest(`/api/v1/public/${a.isTherapist?"therapists":"users"}/auth`,"put",e);t.redirect_to.startsWith("http")?window.location.href=t.redirect_to:window.location.href=`${window.location.origin}${t.redirect_to}`}catch(t){console.error(t)}finally{h.value=!1}},w=()=>{v.value.phone="",v.value.email="",d.push({name:"LoginByPhone"})};return(e,a)=>(s(),i(_,{class:"_text-center","no-legal-info":""},{title:l(()=>[...a[0]||(a[0]=[u(" Восстановление аккаунта ",-1)])]),description:l(()=>[...a[1]||(a[1]=[u(" Ранее вы отправляли запрос на удаление аккаунта. Хотите восстановить аккаунт? ",-1)])]),default:l(()=>[p(n(t),{size:"large",weight:"primary",loading:h.value,class:"_w-full _mb-3",onClick:f},{default:l(()=>[...a[2]||(a[2]=[u(" Восстановить ",-1)])]),_:1},8,["loading"]),p(n(t),{size:"large",weight:"secondary",class:"_w-full",onClick:w},{default:l(()=>[...a[3]||(a[3]=[u(" Отменить ",-1)])]),_:1})]),_:1}))}});export{d as default};
2//# sourceMappingURL=recovery-CbRHJx30.js.map

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.