1import{M as N,H as $,a5 as k,r as u,A as y,c as B,b as a,e as d,d as i,f as m,g as s,o as R,a6 as c,N as S,k as U}from"./entry.9b670b50.js";import{N as p}from"./Input.5793b004.js";import{N as V}from"./Space.087a2213.js";import"./Suffix.a5c86b08.js";import"./use-merged-state.fcddd7aa.js";import"./get-slot.1efb97e5.js";const A={class:"container pt-5 pb-5",style:{"max-width":"500px"}},C={class:"global-card px-5"},q={class:"text-center"},x={class:"form-group"},z={class:"form-label"},D={class:"form-group"},E={class:"form-label"},F={class:"form-group"},H={class:"form-label"},K={__name:"[token]",setup(I){const f=N(),v=$(),h=k(),_=u(!1),l=u(""),o=u(""),r=u(""),w=f.params.token,b=y(()=>l.value&&o.value&&o.value===r.value),g=async()=>{await h.passwordResetFinish({email:l.value,password:o.value,password_confirmation:r.value,token:w})&&await v.push("/")};return(e,t)=>(R(),B("div",A,[a("div",C,[a("h1",q,d(e.$t("password_reset")),1),i(s(V),{vertical:"",size:[12,16],class:"mt-4"},{default:m(()=>[a("div",x,[a("label",z,d(e.$t("email")),1),i(s(p),{value:s(l),"onUpdate:value":t[0]||(t[0]=n=>c(l)?l.value=n:null),class:"form-control",placeholder:e.$t("email")},null,8,["value","placeholder"])]),a("div",D,[a("label",E,d(e.$t("password")),1),i(s(p),{value:s(o),"onUpdate:value":t[1]||(t[1]=n=>c(o)?o.value=n:null),type:"password",class:"form-control",placeholder:e.$t("password")},null,8,["value","placeholder"])]),a("div",F,[a("label",H,d(e.$t("confirm_password")),1),i(s(p),{value:s(r),"onUpdate:value":t[2]||(t[2]=n=>c(r)?r.value=n:null),type:"password",class:"form-control",placeholder:e.$t("confirm_password")},null,8,["value","placeholder"])]),i(s(S),{class:"btn-themed w-100 mt-3 lg btn-squared",loading:s(_),disabled:!s(b),onClick:g,text:""},{default:m(()=>[U(d(e.$t("reset")),1)]),_:1},8,["loading","disabled"])]),_:1})])]))}};export{K 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.