PageSourceSearch

https://smartnoter.ai/_nuxt/C3WZOmjX.js

js smartnoter.ai collected 2026-10-05 12:39:46 UTC 1,852 bytes, 1 lines download raw bytes

1import{u as h,c as w,a as y,r as i,t as x,v as u,b as P,w as d,o,z as m,F as _,h as c,j as r,M as k,B as s,T as V,V as $,k as E,a1 as N,Y as B}from"#entry";import{_ as b}from"./B7KryvF9.js";import{_ as F}from"./BC6M8K_0.js";import{E as M}from"./_bLZBmLJ.js";import C from"./CXy5wBRA.js";import"./CLMpSiT6.js";import"./1AlW6HdF.js";import"./6qLrMlnH.js";import"./DZ5cFooK.js";import"./CNr1nkuz.js";const I={class:"heading-5 text-center text-primary"},S={class:"paragraph-s mt-2 text-center text-secondary"},T={key:0,class:"paragraph-s mt-3 text-center text-red-500"},j={class:"heading-5 mt-2 text-center text-primary"},L={__name:"forgot-password",setup(z){const{t:l}=h(),f=w(()=>({meta:[{name:"description",content:l("seo.forgotPassword.description")}],title:l("seo.forgotPassword.title")}));y(f);const n=i(""),t=i("idle"),a=i(""),g=()=>{t.value==="idle"&&(a.value="",t.value="sending",N(B(),n.value).then(()=>{t.value="sent",u({eventName:"password_reset_email_page_view"})}).catch(e=>{console.error(e),e.code==="auth/invalid-email"?a.value="Invalid email.":a.value=l("common.error.unexpectedError"),t.value="idle"}))};return x(()=>{u({eventName:"forget_password_page_view"})}),(e,p)=>(o(),P(C,null,{left:d(()=>[r(F,{type:"meeting"})]),right:d(()=>[t.value!=="sent"?(o(),m(_,{key:0},[c("h1",I,s(e.$t("forgotPassword.title")),1),c("p",S,s(e.$t("forgotPassword.description")),1),r(b,{modelValue:n.value,"onUpdate:modelValue":p[0]||(p[0]=v=>n.value=v),type:"email",class:"mt-8"},null,8,["modelValue"]),r(V,{class:"mt-6 w-full",disabled:t.value!=="idle",onClick:g},{default:d(()=>[$(s(e.$t("forgotPassword.resetPassword")),1)]),_:1},8,["disabled"]),a.value?(o(),m("p",T,s(a.value),1)):k("",!0)],64)):(o(),m(_,{key:1},[r(E(M),{class:"h-8 w-8 fill-brand-primary"}),c("h1",j,s(e.$t("forgotPassword.emailSentMessage")),1)],64))]),_:1}))}};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.