(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[10],{a1aa:function(t,s,e){"use strict";e.r(s);var a=function(){var t=this,s=t._self._c;return s("q-page",{staticClass:"q-px-md flex items-center"},[s("div",{staticClass:"row justify-center full-width"},[s("div",{staticClass:"col-12 col-sm-12 col-md-5 col-lg-5 desktop-only flex flex-center"},[s("img",{staticStyle:{width:"75%"},attrs:{src:e("cf05"),alt:""}})]),s("div",{staticClass:"col-12 col-sm-12 col-md-5 col-lg-5"},[s("q-form",{ref:"submitForm",on:{submit:function(s){return s.preventDefault(),t.submitForm.apply(null,arguments)}}},[s("q-card",{staticClass:"shadow-0 q-pa-md"},[s("q-card-section",{staticClass:"q-pa-sm"},[s("LanguageSelect"),s("div",{staticClass:"text-h5 text-center text-weight-bold text-grey-9 q-mb-sm"},[t._v(t._s(t.$t("pages.forget_password.title")))]),s("div",{staticClass:"text-subtitle1 text-center text-weight-light text-grey-7 q-mb-md"},[t._v(t._s(t.$t("pages.forget_password.description")))])],1),s("q-card-section",{staticClass:"column q-col-gutter-md q-pa-sm"},[s("q-input",{ref:"email",attrs:{outlined:"",dense:"",placeholder:t.$t("pages.forget_password.email"),"lazy-rules":"",rules:[s=>s&&!t.validationErrors.email>0||t.validationErrors.email?t.validationErrors.email:t.$t("pages.forget_password.error.email")]},model:{value:t.email,callback:function(s){t.email=s},expression:"email"}})],1),s("q-card-section",{staticClass:"q-pa-sm"},[s("q-btn",{staticClass:"full-width",attrs:{color:"primary","text-color":"white",label:t.$t("pages.forget_password.reset_button"),unelevated:"",size:"16px",loading:t.submitting,type:"submit","no-caps":""}})],1),s("q-card-section",{staticClass:"q-pa-sm"},[s("q-separator")],1),s("q-card-section",{staticClass:"q-pa-sm row justify-center"},[s("router-link",{staticClass:"text-primary",attrs:{to:"/login"}},[t._v(t._s(t.$t("pages.forget_password.login_back")))])],1)],1)],1)],1)])])},r=[],i=e("8fb3"),o={data(){return{email:null,saveAction:"Auth/sendPasswordResetLINK",submitting:!1,validationErrors:{email:null}}},methods:{submitForm(){this.submitting=!0,this.$store.dispatch(this.saveAction,{email:this.email}).then((t=>{this.submitting=!1,this.$refs.submitForm.resetValidation(),Object(i["a"])({message:this.$t("pages.forget_password.link_send_notify"),type:"positive"},this)})).catch((t=>{this.submitting=!1;const s=t.response.data.message;var e=t.response.data.errors;this.validationErrors=e;var a=t.response.data.errors,r=this.$refs;for(var o in r){var l=r[o];a[o]?(l.innerError=!0,l.innerErrorMessage=a[o][0]):(l.innerError=!1,l.innerErrorMessage="")}Object(i["a"])({message:s,type:"negative"},this)}))}}},l=o,n=(e("d4f9"),e("2877")),c=e("9989"),d=e("0378"),m=e("f09f"),p=e("a370"),u=e("27f9"),g=e("9c40"),f=e("eb85"),b=e("eebe"),h=e.n(b),v=Object(n["a"])(l,a,r,!1,null,"34e34c8c",null);s["default"]=v.exports;h()(v,"components",{QPage:c["a"],QForm:d["a"],QCard:m["a"],QCardSection:p["a"],QInput:u["a"],QBtn:g["a"],QSeparator:f["a"]})},b720:function(t,s,e){},d4f9:function(t,s,e){"use strict";e("b720")}}]);