1import{_ as f}from"./CpYkDtmB.js";import{u as m,g as w}from"./Bq-Xa4_E.js";import{V as y,F as b,a0 as _,u as P,aZ as g,B as r,aY as h}from"./D182WECn.js";import{u as k}from"./BRT79dK-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="553d76d3-3a77-4bee-8314-a27274bb37da",e._sentryDebugIdIdentifier="sentry-dbid-553d76d3-3a77-4bee-8314-a27274bb37da")}catch{}})();const x=y({__name:"ResetPasswordForm",props:{type:{}},emits:["close"],setup(e,{emit:o}){const{t:s}=m(),a=w(),i=b(),d=_(),{$toast:u}=P(),c=o,p=k(async({newPwd:n})=>{await a.updatePassword(e.type,n,d.query),i.replace({query:{}}),c("close"),setTimeout(()=>{u.success(s("session.successUpdatePassword"))},100)});return(n,T)=>(h(),g(f,{fields:[{fieldType:"input",key:"newPwd",label:r(s)("session.newPwd"),autocomplete:"new-password",type:"password",checkError:t=>t.length<7||!/[a-zA-Z]/.test(t)||!/[0-9]/.test(t)?r(s)("errors.invalidPassword"):"",required:!0},{fieldType:"input",key:"confirmationPwd",label:r(s)("session.confirmationPwd"),type:"password",autocomplete:"new-password",checkError:(t,l)=>t===l.newPwd?"":r(s)("errors.invalidConfirmationPassword"),required:!0}],submit:r(p)},null,8,["fields","submit"]))}});export{x as _};
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.