"use strict";var b=Object.create;var p=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var x=Object.getPrototypeOf;var y=Object.prototype.hasOwnProperty;var l=(o,r)=>p(o,"name",{value:r,configurable:true});var P=(o,r)=>{for(var e in r)p(o,e,{get:r[e],enumerable:true})};var R=(o,r,e,t)=>{if(r&&typeof r==="object"||typeof r==="function"){for(let s of c(r))if(!y.call(o,s)&&s!==e)p(o,s,{get:()=>r[s],enumerable:!(t=a(r,s))||t.enumerable})}return o};var T=(o,r,e)=>(e=o!=null?b(x(o)):{},R(r||!o||!o.__esModule?p(e,"default",{value:o,enumerable:true}):e,o));var k=o=>R(p({},"__esModule",{value:true}),o);var d=(o,r,e,t)=>{var s=t>1?void 0:t?a(r,e):r;for(var n=o.length-1,m;n>=0;n--)if(m=o[n])s=(t?m(r,e,s):m(s))||s;if(t&&s)p(r,e,s);return s};var w={};P(w,{default:()=>v});module.exports=k(w);var g=require("react/jsx-runtime");var i=require("mobx-react");var E=require("react");var f=T(require("../../components/auth/Login"));let u=class extends E.Component{render(){const{actions:r,stores:e,error:t}=this.props;return(0,g.jsx)(f.default,{onSubmit:r.user.login,isSubmitting:e.user.loginRequest.isExecuting,isTokenExpired:e.user.isTokenExpired,isServerLogout:e.user.logoutReason===e.user.logoutReasonTypes.SERVER,signupRoute:e.user.signupRoute,passwordRoute:e.user.passwordRoute,error:t})}};l(u,"LoginScreen");u=d([(0,i.inject)("stores","actions"),i.observer],u);var v=u;
