1import l from"./CpS36SdX.js";import d from"./G3j9vhbu.js";import h from"./B0In8pSL.js";import{_,o as f,c as w,a as s,w as a,b as r,P as n,u as g,e as b,f as y}from"./XTQa8YUS.js";import"./BZ43YzsE.js";import"./BhoJsmip.js";import"./Cr-o-jRW.js";import"./Cm90wTCv.js";import"./CK8dhEFU.js";import"./BKB107OQ.js";import"./CDZ4d07M.js";import"./5A4n-nol.js";import"./BwdbQBY-.js";import"./sZ7IN-9v.js";import"./_xy9v4Dw.js";import"./NWo0mhHB.js";import"./DFA9KjnL.js";import"./CZO4HM_g.js";import"./BT3wfoC7.js";import"./BdKjXEdX.js";import"./BJaNOrjN.js";import"./9FwFhfL3.js";import"./DW_ImL6a.js";import"./B8kS8RxW.js";import"./Bpu5glOc.js";import"./D8eVXm9t.js";import"./BR4Uu2H-.js";import"./DKxLXqKr.js";import"./Ban-o0_8.js";import"./CIaVP96G.js";import"./CzrPQzkz.js";const $={name:"ResetPasswordPage",setup(){const{$sentryCaptureException:e}=g(),t=b(),o="Reset your password";return y({title:o,meta:[{property:"og:title",content:o}]}),{sentryCaptureException:e,authStore:t}},methods:{async handleSubmit(e){try{const{username:t}=e;await this.authStore.forgotPasswordSubmit(e),this.$router.push({name:"login"}),this.$growlBus.$emit("add",{title:"Success!",message:`Password successfully reset for ${t}`,timeout:15e3});return}catch(t){console.error(t);const{name:o,message:i}=t||{};throw this.$growlBus.$emit("add",{title:"Reset password failed",message:i,color:"error",timeout:-1}),this.sentryCaptureException(t),t}}}},P={class:"ResetPasswordPage"};function x(e,t,o,i,S,p){const m=l,c=d,u=h;return f(),w("div",P,[s(m,{"left-slim":"",fill:"",class:"pb-0"},{default:a(()=>[...t[0]||(t[0]=[r("section",{class:"mb-12"},[r("h1",{class:"text-h5 font-weight-bold"}," Reset password "),r("h2",{class:"text-h1 font-weight-bold"}," Don't overthink this. "),r("p",null," Choose wisely. Don't use the name of your pet. Unless your pet's name is a minimum of 16 characters and has a combination of uppercase, lowercase, and special characters. ")],-1)])]),_:1}),s(m,{slim:"",fill:"",class:"pt-0"},{default:a(()=>[s(u,{class:"xl-padding"},{default:a(()=>[s(c,{username:(e._.provides[n]||e.$route).query.email,code:(e._.provides[n]||e.$route).query.code,"on-submit":p.handleSubmit},null,8,["username","code","on-submit"])]),_:1})]),_:1})])}const ot=_($,[["render",x]]);export{ot 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.