1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[935],{54749:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/password-reset",function(){return t(96449)}])},96449:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return C}});var r=t(85893),i=t(67294),a=t(41120),o=t(28889),s=t(18463),l=t(9008),d=t(11163),c=t(73400),u=t(39657),f=t(95791),m=t.n(f),p=t(282),h=t(55517),x=t(33426),g=t(22318),b=t(41664),v=t(91523);var w=(0,a.Z)((function(){return{subtitle:(e={color:u.rS.palette.neutral[700],fontSize:15,fontWeight:400,lineHeight:"25px",marginTop:14},n=u.rS.breakpoints.up("sm"),t={fontSize:20},n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e),contactUs:{fontSize:20}};var e,n,t}));var S=function(e){var n=e.email,t=e.errors,i=e.handleResetSend,a=e.isLoading,s=e.setEmail,l=e.handleBackClick,d=w();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v.Z,{onClick:l,path:"/login",label:"Back to sign in"}),(0,r.jsxs)("form",{autoComplete:"off",noValidate:!0,onSubmit:i,children:[(0,r.jsx)(g.Z,{variant:"h3",children:"Password Reset"}),(0,r.jsxs)(g.Z,{className:d.subtitle,children:["Forgot your password?",(0,r.jsx)("br",{}),"We will get you a new one."]}),(0,r.jsx)(o.Z,{mt:4,mb:3,children:(0,r.jsx)(x.Z,{id:"reset-email",error:!!t.email,helperText:t.email,label:"Email address",onChange:function(e){return s(e.target.value)},placeholder:"[email protected]",required:!0,value:n})}),(0,r.jsx)(o.Z,{mt:3,children:(0,r.jsx)(p.Z,{variant:"contained",type:"submit",disabled:!n||a,children:"Send"})}),(0,r.jsx)(h.Z,{}),(0,r.jsx)(b.default,{href:"/",children:(0,r.jsx)("a",{className:d.contactUs,children:"contact us"})})]})]})},j=t(4626),k=t(56610),Z=t(21675),z=t(68966);function _(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var y=(0,a.Z)((function(){var e,n,t;return{container:(e={alignItems:"center",display:"flex",flexDirection:"column",paddingTop:80,maxWidth:"100vw",overflow:"hidden",justifyContent:"center",paddingBottom:100},_(e,u.rS.breakpoints.up("sm"),{alignItems:"center",display:"flex",flexDirection:"column",paddingTop:"100px !important",paddingBottom:10}),_(e,u.rS.breakpoints.up("lg"),{alignItems:"flex-start",flexDirection:"row",paddingTop:"10% !important",paddingBottom:0}),e),formContainer:(n={maxWidth:448,width:"calc(100vw - 32px)",zIndex:1,"& h2":{fontSize:21},"& h3":{fontSize:21},"& h6":{fontSize:15}},_(n,u.rS.breakpoints.up("sm"),{"& h2":{fontSize:34},"& h3":{fontSize:34},"& h6":{fontSize:20}}),_(n,u.rS.breakpoints.up("lg"),{"& h2":{fontSize:55}}),n),signupbox:{padding:"32px 0",textAlign:"center","& p":{color:u.rS.palette.neutral[700],fontSize:20,margin:"0 4px"},"& a":{fontSize:20,margin:"0 4px"}},welcome:(t={minWidth:900,order:0,zIndex:0,"& svg":{height:"auto",maxWidth:"100%",transform:"translateY(-5%)",width:122}},_(t,u.rS.breakpoints.up("sm"),{display:"flex",maxHeight:294,order:2,overflow:"hidden",zIndex:2,marginTop:100,"& svg":{transform:"translateY(-5%)",width:"318px"}}),_(t,u.rS.breakpoints.up("lg"),{marginRight:-18,marginTop:0,marginBottom:100,maxHeight:"unset",order:0,overflow:"visible","& svg":{transform:"translateY(12%)",width:"525px"}}),t)}}));function C(){var e=(0,i.useState)(""),n=e[0],t=e[1],a=(0,i.useState)({}),u=a[0],f=a[1],p=(0,c.Ds)().enqueueSnackbar,h=(0,d.useRouter)(),x=y({login:!1});(0,i.useEffect)((function(){(0,j.L9)({event:"passwordreset_view"})}),[]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.default,{children:(0,r.jsx)("title",{children:k.Z["/password-reset"].title})}),(0,r.jsxs)(o.Z,{className:x.container,children:[(0,r.jsx)(o.Z,{className:x.welcome,display:"flex",justifyContent:"center",children:(0,r.jsx)(m(),{})}),(0,r.jsx)(o.Z,{className:x.formContainer,children:(0,r.jsx)(s.Z,{children:(0,r.jsx)(S,{email:n,errors:u,handleResetSend:function(e){e.preventDefault(),Z.Z.forgotPassword(n).then((function(e){var n=e.errors,t=e.message;if(e.success)p(t);else if(Object.keys(n).length>0){var r=(0,z.GB)(n);f(r)}else p(t,{variant:"error"})}))},handleTabClick:function(e,n){0===n&&h.push("/login")},setEmail:t})})})]})]})}}},function(e){e.O(0,[98,774,888,179],(function(){return n=54749,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.