(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9742],{91686:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/forgot-password",function(){return a(7906)}])},37969:function(e,s,a){"use strict";a.d(s,{Z:function(){return Z}});var n=a(63366),i=a(87462),r=a(67294),t=a(90512),l=a(58510),o=a(89262),d=a(59145),c=a(4529),u=a(1977),m=a(8027);function h(e){return(0,m.ZP)("MuiList",e)}(0,u.Z)("MuiList",["root","padding","dense","subheader"]);var f=a(85893);let p=["children","className","component","dense","disablePadding","subheader"],g=e=>{let{classes:s,disablePadding:a,dense:n,subheader:i}=e;return(0,l.Z)({root:["root",!a&&"padding",n&&"dense",i&&"subheader"]},h,s)},x=(0,o.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,s)=>{let{ownerState:a}=e;return[s.root,!a.disablePadding&&s.padding,a.dense&&s.dense,a.subheader&&s.subheader]}})(e=>{let{ownerState:s}=e;return(0,i.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!s.disablePadding&&{paddingTop:8,paddingBottom:8},s.subheader&&{paddingTop:0})});var Z=r.forwardRef(function(e,s){let a=(0,d.Z)({props:e,name:"MuiList"}),{children:l,className:o,component:u="ul",dense:m=!1,disablePadding:h=!1,subheader:Z}=a,j=(0,n.Z)(a,p),N=r.useMemo(()=>({dense:m}),[m]),b=(0,i.Z)({},a,{component:u,dense:m,disablePadding:h}),w=g(b);return(0,f.jsx)(c.Z.Provider,{value:N,children:(0,f.jsxs)(x,(0,i.Z)({as:u,className:(0,t.Z)(w.root,o),ref:s,ownerState:b},j,{children:[Z,l]}))})})},4529:function(e,s,a){"use strict";let n=a(67294).createContext({});s.Z=n},7906:function(e,s,a){"use strict";a.r(s);var n=a(85893),i=a(67294),r=a(4466),t=a(41283),l=a.n(t),o=a(91444),d=a(53875),c=a(98163),u=a(11163),m=a(41664),h=a.n(m);s.default=e=>{let s=(0,u.useRouter)(),[a,t]=(0,i.useState)({email:""}),m=e=>{t({...a,[e.target.name]:e.target.value}),f.showMessages()},[f]=i.useState(new(l())({className:"errorMessage"}));return(0,n.jsx)(r.ZP,{className:"loginWrapper",children:(0,n.jsxs)(r.ZP,{className:"loginForm",children:[(0,n.jsx)("h2",{children:"Forgot Password"}),(0,n.jsx)("p",{children:"Reset your account password"}),(0,n.jsx)("form",{onSubmit:e=>{e.preventDefault(),f.allValid()?(t({email:""}),f.hideMessages(),o.Am.success("You successfully Reset!"),s.push("/login")):(f.showMessages(),o.Am.error("Empty field is not allowed!"))},children:(0,n.jsxs)(r.ZP,{container:!0,spacing:3,children:[(0,n.jsxs)(r.ZP,{item:!0,xs:12,children:[(0,n.jsx)(d.Z,{className:"inputOutline",fullWidth:!0,placeholder:"E-mail",value:a.email,variant:"outlined",name:"email",label:"E-mail",InputLabelProps:{shrink:!0},onBlur:e=>m(e),onChange:e=>m(e)}),f.message("email",a.email,"required|email")]}),(0,n.jsxs)(r.ZP,{item:!0,xs:12,children:[(0,n.jsx)(r.ZP,{className:"formFooter",children:(0,n.jsx)(c.Z,{fullWidth:!0,className:"cBtn cBtnLarge cBtnTheme",type:"submit",children:"Resend Password"})}),(0,n.jsxs)(r.ZP,{className:"loginWithSocial",children:[(0,n.jsx)(c.Z,{className:"facebook",children:(0,n.jsx)("i",{className:"fa fa-facebook"})}),(0,n.jsx)(c.Z,{className:"twitter",children:(0,n.jsx)("i",{className:"fa fa-twitter"})}),(0,n.jsx)(c.Z,{className:"linkedin",children:(0,n.jsx)("i",{className:"fa fa-linkedin"})})]}),(0,n.jsxs)("p",{className:"noteHelp",children:["Already have an account? ",(0,n.jsx)(h(),{href:"/login",children:"Return to Sign In"})]})]})]})}),(0,n.jsx)("div",{className:"shape-img",children:(0,n.jsx)("i",{className:"fi flaticon-honeycomb"})})]})})}}},function(e){e.O(0,[38,6534,1664,5711,4466,1684,2888,9774,179],function(){return e(e.s=91686)}),_N_E=e.O()}]);