(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-796ae0b2"],{5553:function(s,a,t){"use strict";t.r(a);var e=function(){var s=this,a=s._self._c;return a("div",{staticClass:"h-screen flex w-full bg-img"},[a("div",{staticClass:"vx-col sm:w-3/5 md:w-3/5 lg:w-3/4 xl:w-3/5 mx-auto self-center"},[a("vx-card",[a("div",{staticClass:"full-page-bg-color",attrs:{slot:"no-body"},slot:"no-body"},[a("div",{staticClass:"vx-row"},[a("div",{staticClass:"vx-col hidden sm:hidden md:hidden lg:block lg:w-1/2 mx-auto self-center"},[a("img",{staticClass:"mx-auto",attrs:{src:t("e0fb"),alt:"login"}})]),a("div",{staticClass:"vx-col sm:w-full md:w-full lg:w-1/2 mx-auto self-center d-theme-dark-bg"},[a("div",{staticClass:"vx-logo flex justify-items-center items-center mb-2 pt-4"},[a("img",{staticClass:"mx-auto",staticStyle:{"max-height":"25px"},attrs:{src:t("a4ef"),alt:"logo"}})]),a("div",{staticClass:"p-4"},[a("div",{staticClass:"vx-card__title mb-8"},[a("h4",{staticClass:"mb-4 grid justify-items-center"},[s._v(s._s(s.$t("email_template_types.reset_password")))]),a("p",[s._v(s._s(s.$t("por-favor-informe-seu-email-e-sua-nova-s")))])]),a("vs-input",{directives:[{name:"validate",rawName:"v-validate",value:"email",expression:"'email'"}],ref:"email",staticClass:"w-full",attrs:{type:"email","label-placeholder":"Email","data-vv-as":"email",name:"email"},model:{value:s.email,callback:function(a){s.email=a},expression:"email"}}),a("div",{staticClass:"pt-2 pb-2"},[a("span",{staticClass:"text-danger text-sm"},[s._v(s._s(s.errors.first("email")))])]),a("vs-input",{directives:[{name:"validate",rawName:"v-validate",value:"verify_password",expression:"'verify_password'"}],ref:"password",staticClass:"w-full",attrs:{type:"password",name:"password","label-placeholder":"Senha","data-vv-as":"password"},model:{value:s.password,callback:function(a){s.password=a},expression:"password"}}),s._v(" "+s._s(s.password)+" "),a("div",{staticClass:"pt-2 pb-2"},[a("span",{staticClass:"text-danger text-sm"},[s._v(s._s(s.errors.first("password")))])]),a("vs-input",{directives:[{name:"validate",rawName:"v-validate",value:"confirmed:password",expression:"'confirmed:password'"}],staticClass:"w-full",attrs:{type:"password",name:"password_confirmation","label-placeholder":"Confirmação Senha","data-vv-as":"password"},model:{value:s.passwordConfirm,callback:function(a){s.passwordConfirm=a},expression:"passwordConfirm"}}),a("div",{staticClass:"pt-2 pb-2"},[a("span",{staticClass:"text-danger text-sm"},[s._v(s._s(s.errors.first("password_confirmation")))])]),a("div",{staticClass:"flex flex-wrap justify-center sm:flex-row"},[a("vs-button",{staticClass:"w-full sm:w-auto mb-4 mt-4 mr-4 ml-4",attrs:{disabled:!s.validateForm},on:{click:s.resetPassword}},[s._v(s._s(s.$t("recuperar")))]),a("vs-button",{staticClass:"w-full sm:w-auto mb-4 mt-4 mr-4 ml-4 sm:mb-auto sm:mt-auto",attrs:{type:"border",to:"/login"}},[s._v(s._s(s.$t("common.back")))])],1)],1)])])])])],1)])},i=[],l={props:{token:{type:String,default:null}},data:function(){return{email:"",password:"",passwordConfirm:""}},computed:{validateForm:function(){return!this.errors.any()&&""!==this.email}},methods:{resetPassword:function(){this.$vs.loading();var s={userDetails:{token:this.token,email:this.email,password:this.password,passwordConfirm:this.passwordConfirm},vs:this.$vs,closeAnimation:this.$vs.loading.close};this.$store.dispatch("auth/resetPassword",s)}}},r=l,o=t("2877"),n=Object(o["a"])(r,e,i,!1,null,null,null);a["default"]=n.exports},a4ef:function(s,a,t){s.exports=t.p+"img/logo.e9192b58.png"},e0fb:function(s,a,t){s.exports=t.p+"img/reset-password.965156da.png"}}]);