1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="3bd0db4c-51d7-4e67-9b63-ce16f4abb45b",e._sentryDebugIdIdentifier="sentry-dbid-3bd0db4c-51d7-4e67-9b63-ce16f4abb45b")}catch(k){}import{C as e}from"./Card.5fbe726e.js";import{F as s}from"./FormError.7d759d9d.js";import{c7 as r,c5 as o,cN as t,c9 as a,ca as l,cs as d,cf as n,ce as i,cx as c,cZ as u,dt as f,fV as m,cG as b,ct as g,d0 as p}from"./index.061e774e.js";const y={class:"forgot-page background-grey"},h={class:"field"},w={class:"controls"},v={class:"field"},_={class:"controls"};var I=r({components:{card:e,"form-error":s},setup(){o({title:"Forgot Your Password?"})},data:()=>({errors:{},loading:!1,result:{email:null}}),methods:{async reset(e){var s,r;if(!this.loading){this.loading=!0;try{const o=await t.forgotPassword({email:null!=(r=null==(s=null==e?void 0:e.email)?void 0:s.trim())?r:""});o&&o.success?this.$router.push({name:"forgotSuccess"}):this.errors=o&&o.errors?o.errors:{server:["An error occurred while attempting to reset your password."]}}catch(k){throw this.loading=!1,k}this.loading=!1}}}},[["render",function(e,s,r,o,t,I){const k=a("form-error"),x=a("card");return l(),d("div",y,[n(x,null,{default:i((()=>[s[3]||(s[3]=c("h1",{class:"light"},"Reset Your Password",-1)),c("form",{method:"post",class:"reset-form",onSubmit:s[1]||(s[1]=u((e=>I.reset(t.result)),["prevent"]))},[c("div",h,[s[2]||(s[2]=c("label",{class:"control-label"},"Email Address",-1)),c("div",w,[f(c("input",{"onUpdate:modelValue":s[0]||(s[0]=e=>t.result.email=e),type:"text",name:"email",autocomplete:"off",class:"form-control control-medium padded"},null,512),[[m,t.result.email]])])]),n(k,{errors:t.errors},null,8,["errors"]),c("div",v,[c("div",_,[c("button",{type:"submit",class:b(["btn btn-primary uppercase",{disabled:t.loading}])},[t.loading?(l(),d(g,{key:0},[p("Resetting...")],64)):(l(),d(g,{key:1},[p("Reset")],64))],2)])])],32)])),_:1,__:[3]})])}]]);export{I as default}; 2//# sourceMappingURL=ForgotPage.d2a7d718.js.map
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.