(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-69130cb0"],{"3da8":function(e,t,n){},"5b9f":function(e,t,n){},"66c5":function(e,t,n){"use strict";var s=n("3da8"),a=n.n(s);a.a},"6b56":function(e,t,n){"use strict";var s=n("5b9f"),a=n.n(s);a.a},a55b:function(e,t,n){"use strict";n.r(t);var s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("login")],1)},a=[],r=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"main-login"},[s("div",{staticClass:"container-login"},[s("img",{attrs:{src:n("d69b"),alt:"Odorata"}}),s("b-form",{on:{submit:function(t){return t.preventDefault(),e.sendForm(t)}}},[s("b-form-group",[s("b-form-input",{attrs:{type:"text",required:"",placeholder:"E-mail ou Código"},model:{value:e.credentials.username,callback:function(t){e.$set(e.credentials,"username",t)},expression:"credentials.username"}})],1),s("b-form-group",[s("b-form-input",{attrs:{type:"password",required:"",placeholder:"Senha"},model:{value:e.credentials.password,callback:function(t){e.$set(e.credentials,"password",t)},expression:"credentials.password"}})],1),s("b-button",{attrs:{type:"submit",disabled:e.sending}},[s("b-spinner",{directives:[{name:"show",rawName:"v-show",value:e.sending,expression:"sending"}],attrs:{small:"",type:"grow"}}),e._v(" Acessar ")],1)],1),s("div",{staticClass:"text-center text-dark"},[s("a",{staticStyle:{color:"#000 !important"},attrs:{href:"#"},on:{click:e.recoveryPassword}},[e._v(" Esqueci minha senha")])])],1)])},i=[],o=(n("4be7"),{data:function(){return{credentials:{username:"",password:"",remember:!1},sending:!1}},methods:{sendForm:function(){var e=this;this.sending=!0,this.$store.dispatch("loginRequest",this.credentials).catch((function(t){e.$store.commit("pushNotification",{type:"danger",timeout:5,message:"Falha na autenticação. Verifique o usuário e senha."}),e.sending=!1}))},recoveryPassword:function(){this.$router.push({name:"Esqueci minha senha"})}},mounted:function(){}}),c=o,u=(n("66c5"),n("6b56"),n("2877")),l=Object(u["a"])(c,r,i,!1,null,"eadcb7da",null),d=l.exports,m={components:{login:d}},p=m,f=Object(u["a"])(p,s,a,!1,null,null,null);t["default"]=f.exports},d69b:function(e,t,n){e.exports=n.p+"img/logo-white.038cb870.svg"}}]);
//# sourceMappingURL=chunk-69130cb0.d934832e.js.map