PageSourceSearch

https://fc-anji.ru/_nuxt/i3oLN2e6.js

js fc-anji.ru collected 2026-10-02 05:33:22 UTC 1,784 bytes, 1 lines download raw bytes

1import{_}from"./BrLYIolL.js";import{e as b,X as y,c as n,a as l,i as t,C as g,p as v,D as h,q as w,t as p,h as k,b as N,w as V,r,o as i,d as C}from"./d8VkLmwX.js";const B={class:"mt-[224px] xs:mt-[134px]"},D={class:"container max-w-[480px] mx-auto"},E={key:0,class:"text-green-500 text-[16px]"},S={key:0,class:"text-red-500 text-[16px]"},q=["disabled"],L=b({__name:"forgot-password",setup(M){const{forgotPassword:d}=y(),s=r(""),a=r(null),x=r(!1),o=r(!1);async function c(){a.value=null,o.value=!0;try{await d(s.value),x.value=!0}catch(u){a.value=u instanceof Error?u.message:"Не удалось отправить ссылку"}finally{o.value=!1}}return(u,e)=>{const m=_;return i(),n("section",B,[l("div",D,[e[2]||(e[2]=l("h1",{class:"text-[48px] font-semibold leading-[1] uppercase text-neutral100 xs:text-[32px] mb-[40px]"}," Восстановление пароля ",-1)),t(x)?(i(),n("p",E," Если такой e-mail зарегистрирован, мы отправили ссылку для восстановления. ")):(i(),n("form",{key:1,class:"flex flex-col gap-[24px]",onSubmit:g(c,["prevent"])},[v(l("input",{"onUpdate:modelValue":e[0]||(e[0]=f=>w(s)?s.value=f:null),name:"email",type:"email",required:"",placeholder:"E-mail",class:"px-6 py-5 bg-neutral20 rounded-xl text-neutral100 text-[20px] leading-[1]"},null,512),[[h,t(s)]]),t(a)?(i(),n("p",S,p(t(a)),1)):k("",!0),l("button",{type:"submit",disabled:t(o),class:"px-6 py-5 bg-yellow rounded-xl text-neutral100 font-medium text-[20px] disabled:opacity-50"},p(t(o)?"Отправляем…":"Отправить ссылку"),9,q),N(m,{to:"/auth/login",class:"text-[16px] text-neutral50 underline"},{default:V(()=>[...e[1]||(e[1]=[C("Назад к входу",-1)])]),_:1})],32))])])}}});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.