"use strict";var l=Object.create;var n=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var d=Object.getPrototypeOf;var b=Object.prototype.hasOwnProperty;var p=(o,e)=>n(o,"name",{value:e,configurable:true});var y=(o,e)=>{for(var r in e)n(o,r,{get:e[r],enumerable:true})};var m=(o,e,r,s)=>{if(e&&typeof e==="object"||typeof e==="function"){for(let t of f(e))if(!b.call(o,t)&&t!==r)n(o,t,{get:()=>e[t],enumerable:!(s=a(e,t))||s.enumerable})}return o};var E=(o,e,r)=>(r=o!=null?l(d(o)):{},m(e||!o||!o.__esModule?n(r,"default",{value:o,enumerable:true}):r,o));var R=o=>m(n({},"__esModule",{value:true}),o);var x={};y(x,{default:()=>h});module.exports=R(x);var S=require("react/jsx-runtime");var i=require("mobx-react");var c=require("react");var g=E(require("../../components/auth/Signup"));class u extends c.Component{onSignup(e){const{actions:r}=this.props;r.user.signup(e)}render(){const{stores:e,error:r}=this.props;return(0,S.jsx)(g.default,{onSubmit:s=>this.onSignup(s),isSubmitting:e.user.signupRequest.isExecuting,loginRoute:e.user.loginRoute,error:r})}}p(u,"SignupScreen");var h=(0,i.inject)("stores","actions")((0,i.observer)(u));
