PageSourceSearch

https://hooves.social/vite/ChskFzHH.js

js hooves.social collected 2026-10-08 08:05:49 UTC 1,677 bytes, 1 lines download raw bytes

1import{b as y,a as r,g as M,h as p,j as s,s as _,l as v,q as a,t as V,C as i,H as t,B as o}from"./BI8qgwQJ.js";import{d as b,W as g,i as l,M as x,V as C,a3 as E,E as P}from"./app-BAclpbpz.js";import"./BTqQ_sdn.js";const B={class:"_spacer",style:{"--MI_SPACER-min":"20px","--MI_SPACER-max":"28px"}},A={class:"_gaps_m"},S={key:1},$=y({__name:"MkForgotPassword",emits:["done","closed"],setup(h,{emit:k}){const f=k,d=r(),u=r(""),m=r(""),c=r(!1);async function w(){c.value=!0,await P("request-reset-password",{username:u.value,email:m.value}),f("done"),d.value?.close()}return(q,e)=>(p(),M(E,{ref_key:"dialog",ref:d,width:370,height:400,onClose:e[2]||(e[2]=n=>d.value?.close()),onClosed:e[3]||(e[3]=n=>f("closed"))},{header:s(()=>[t(o(a(l).ts.forgotPassword),1)]),default:s(()=>[_("div",B,[a(b).enableEmail?(p(),v("form",{key:0,onSubmit:V(w,["prevent"])},[_("div",A,[i(g,{modelValue:u.value,"onUpdate:modelValue":e[0]||(e[0]=n=>u.value=n),type:"text",pattern:"^[a-zA-Z0-9_]+$",spellcheck:!1,autofocus:"",required:""},{label:s(()=>[t(o(a(l).ts.username),1)]),prefix:s(()=>e[4]||(e[4]=[t("@")])),_:1},8,["modelValue"]),i(g,{modelValue:m.value,"onUpdate:modelValue":e[1]||(e[1]=n=>m.value=n),type:"email",spellcheck:!1,required:""},{label:s(()=>[t(o(a(l).ts.emailAddress),1)]),caption:s(()=>[t(o(a(l).ts._forgotPassword.enterEmail),1)]),_:1},8,["modelValue"]),i(x,{type:"submit",rounded:"",disabled:c.value,primary:"",style:{margin:"0 auto"}},{default:s(()=>[t(o(a(l).ts.send),1)]),_:1},8,["disabled"]),i(C,null,{default:s(()=>[t(o(a(l).ts._forgotPassword.ifNoEmail),1)]),_:1})])],32)):(p(),v("div",S,o(a(l).ts._forgotPassword.contactAdmin),1))])]),_:1},512))}});export{$ 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.