(this["webpackJsonpmatx-react"]=this["webpackJsonpmatx-react"]||[]).push([[54],{1653:function(e,t,i){"use strict";i.r(t);var a=i(9),n=i(6),r=i(5),s=i(1),c=i(60),l=i(194),o=i(27),j=i(57),d=i(519),b=i(532),m=i(322),u=i(707),x=i(2),h=Object(c.a)(l.a)((function(){return{display:"flex",alignItems:"center"}})),O=Object(c.a)(h)((function(){return{justifyContent:"center"}})),g=Object(c.a)(l.a)((function(){return{height:"100%",padding:"32px",position:"relative",background:"rgba(0, 0, 0, 0.01)"}})),f=Object(c.a)("img")((function(){return{width:"100%"}})),p=Object(c.a)(O)((function(){return{background:"#1A2038",minHeight:"100vh !important","& .card":{maxWidth:800,borderRadius:12,margin:"1rem"}}}));t.default=function(){var e=Object(o.f)(),t=Object(s.useState)({}),i=Object(r.a)(t,2),c=i[0],l=i[1],v=c.email;return Object(x.jsx)(p,{children:Object(x.jsx)(d.a,{className:"card",children:Object(x.jsxs)(b.a,{container:!0,children:[Object(x.jsx)(b.a,{item:!0,lg:5,md:5,sm:5,xs:12,children:Object(x.jsx)(O,{p:4,height:"100%",children:Object(x.jsx)(f,{src:"/assets/images/illustrations/dreamer.svg",alt:""})})}),Object(x.jsx)(b.a,{item:!0,lg:7,md:7,sm:7,xs:12,children:Object(x.jsx)(g,{children:Object(x.jsxs)(u.ValidatorForm,{onSubmit:function(e){console.log(c)},children:[Object(x.jsx)(u.TextValidator,{sx:{mb:3,width:"100%"},variant:"outlined",label:"Email",onChange:function(e){var t=e.target,i=t.name,r=t.value;l(Object(n.a)(Object(n.a)({},c),{},Object(a.a)({},i,r)))},type:"email",name:"email",size:"small",value:v||"",validators:["required","isEmail"],errorMessages:["this field is required","email is not valid"]}),Object(x.jsxs)(h,{children:[Object(x.jsx)(m.a,{variant:"contained",color:"primary",type:"submit",children:"Reset Password"}),Object(x.jsx)(j.e,{sx:{mr:1,ml:"16px"},children:"or"}),Object(x.jsx)(m.a,{sx:{textTransform:"capitalize"},onClick:function(){return e("/session/signin")},children:"Sign in"})]})]})})})]})})})}}}]);
//# sourceMappingURL=54.b232a3be.chunk.js.map