1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[264],{24554:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/request-signup-link",function(){return n(54341)}])},7703:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(85893),i=n(50447),a=n(92137);let o=e=>{let{header:t,subheader:n,subheaderTooltip:o,testId:l}=e;return(0,r.jsxs)(a.Z,{"data-testid":"auth-page-heading-block",container:!0,direction:"column",spacing:1,width:"100%",children:[(0,r.jsx)(i.Z,{variant:"h1","data-testid":"".concat(l,"-header"),children:t}),n&&(0,r.jsxs)(i.Z,{variant:"p2","data-testid":"".concat(l,"-subheader"),children:[n,o&&(0,r.jsxs)(r.Fragment,{children:[" ",o]})]})]})}},90341:function(e,t,n){"use strict";n.d(t,{D:function(){return c}});var r=n(85893),i=n(92137),a=n(84653),o=n(25675),l=n.n(o);let s=()=>(0,r.jsx)(i.Z,{"data-testid":"auth-page-header",position:"absolute",container:!0,top:0,width:"100%",bgcolor:"primary.main",display:"flex",justifyContent:"start",alignItems:"center",sx:e=>({height:"3.5rem",[e.breakpoints.up("md")]:{height:"5rem"}}),children:(0,r.jsx)(a.Z,{position:"relative",sx:e=>({height:"2.25rem",width:"2.25rem",marginLeft:2,[e.breakpoints.up("md")]:{marginLeft:3}}),children:(0,r.jsx)(l(),{"data-testid":"reup-header-logo",src:"/assets/reup-logo-white.svg",fill:!0,alt:"reup logo"})})}),c=e=>{let{bgColor:t,children:n}=e;return(0,r.jsxs)(i.Z,{"data-testid":"auth-page-wrapper",container:!0,justifyContent:"center",bgcolor:t||"background.default",position:"relative",sx:e=>({paddingTop:7,[e.breakpoints.up("md")]:{paddingTop:10}}),children:[(0,r.jsx)(s,{}),(0,r.jsx)(i.Z,{"data-testid":"auth-page-content-container",container:!0,alignItems:"start",justifyContent:"center",minHeight:"100%",width:"100%",position:"relative",sx:e=>({[e.breakpoints.down("md")]:{minWidth:"23.4375rem",maxWidth:"23.4375rem"},[e.breakpoints.up("md")]:{alignItems:"center"}}),children:n})]})}},6104:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(85893),i=n(84653);let a=e=>{let{children:t}=e;return(0,r.jsx)(i.Z,{"data-testid":"mobile-bottom-container",bgcolor:"background.paper",sx:e=>({width:"100%",zIndex:10,[e.breakpoints.down("md")]:{maxWidth:"23.4375rem",padding:2,position:"fixed",bottom:0,left:"50%",transform:"translateX(-50%)",boxShadow:"0px 0px 8px 0px #C0C0C073"}}),children:t})}},23553:function(e,t,n){"use strict";n.d(t,{_:function(){return s}});var r=n(85893),i=n(93087),a=n(32260),o=n(11163),l=n(67294);let s=e=>{let{children:t}=e,{isAuthenticated:n,isAuthLoading:s}=(0,a.p)(),c=(0,o.useRouter)();return((0,l.useEffect)(()=>{!s&&n&&c.replace("/dashboard")},[s,n,c]),s)?(0,r.jsx)(i.Y,{}):n?null:(0,r.jsx)(r.Fragment,{children:t})}},31637:function(e,t,n){"use strict";n.d(t,{r:function(){return d}});var r=n(85893),i=n(9008),a=n.n(i),o=n(86926),l=n.n(o),s=n(10847),c=n.n(s);let u=l()(c()),d=e=>{var t,n;let{title:i,description:o,urlPath:l,themeColor:s}=e,c="ReUp Education",d=()=>i?"".concat(i," - ").concat(c):c,p=s||(null==u?void 0:null===(n=u.theme)||void 0===n?void 0:null===(t=n.colors)||void 0===t?void 0:t.primary)||"#000000";return(0,r.jsxs)(a(),{children:[(0,r.jsx)("title",{children:d()}),(0,r.jsx)("meta",{charSet:"UTF-8"}),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=0"}),(0,r.jsx)("meta",{name:"theme-color",content:p}),(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,r.jsx)("meta",{name:"googlebot",content:"noindex,nofollow"}),(0,r.jsx)("meta",{name:"google",content:"nositelinkssearchbox"},"sitelinks"),(0,r.jsx)("meta",{name:"google",content:"notranslate"},"notranslate"),(0,r.jsx)("link",{rel:"canonical",href:l||"/"}),(0,r.jsx)("meta",{property:"og:locale",content:"en"}),(0,r.jsx)("meta",{property:"og:type",content:"article"}),(0,r.jsx)("meta",{property:"og:title",content:d()}),(0,r.jsx)("meta",{property:"og:description",content:o||"Weâre on a missionâempowering all adults to thrive in higher education. Imagine a world where the only barrier was a desire to succeed."}),(0,r.jsx)("meta",{property:"og:url",content:l||"/"}),(0,r.jsx)("meta",{property:"og:site_name",content:c}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:label1",content:"Est. reading time"}),(0,r.jsx)("meta",{name:"twitter:data1",content:"4 minutes"}),(0,r.jsx)("link",{rel:"icon",href:"/assets/reup-logo.svg",sizes:"192x192"}),(0,r.jsx)("link",{rel:"apple-touch-icon",href:"/assets/reup-logo.svg"}),(0,r.jsx)("meta",{name:"msapplication-TileImage",content:"/assets/reup-logo.svg"})]})}},54341:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return _}});var r=n(85893),i=n(71316),a=n(18844),o=n(67294),l=n(86501),s=n(90341),c=n(92137);let u=e=>{let{children:t}=e;return(0,r.jsx)(s.D,{children:(0,r.jsx)(c.Z,{"data-testid":"request-signup-link-base-container",container:!0,bgcolor:"background.paper",direction:"column",alignItems:"center",width:"100%",height:"100%",position:"relative",overflow:"hidden",spacing:5,sx:e=>({paddingTop:3.5,paddingX:2,[e.breakpoints.up("md")]:{padding:5.5,height:"fit-content",borderRadius:"1.5rem",width:"35.75rem"}}),children:t})})};var d=n(50447),p=n(48083);let m=()=>(0,r.jsxs)(c.Z,{"data-testid":"auth-page-heading-block",container:!0,direction:"column",spacing:1,width:"100%",children:[(0,r.jsx)(d.Z,{variant:"h1","data-testid":"request-signup-link-confirmation-header",children:"Link sent!"}),(0,r.jsxs)(d.Z,{variant:"p2","data-testid":"request-signup-link-confirmation-subheader",children:["Please check your inbox for the link to create your account. If you have any questions contact ReUp at"," ",(0,r.jsx)(p.Z,{href:"mailto:[email protected]",target:"_top",rel:"noopener noreferrer",children:"[email protected]"})]})]});var h=n(93087),g=n(7703),x=n(6104),f=n(77863),b=n(78738),j=n(55291),v=n(41664),y=n.n(v);let k=e=>{let{onSubmitForm:t,isSubmittingForm:n}=e,[i,a]=(0,o.useState)(""),[l,s]=(0,o.useState)(!0),u=(0,o.useCallback)(()=>{t(i)},[i,t]);return(0,o.useEffect)(()=>
1{if(!i.length){s(!0);return}let e=setTimeout(()=>{s(/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/i.test(i))},750);return()=>clearTimeout(e)},[i]),(0,r.jsxs)(r.Fragment,{children:[n&&(0,r.jsx)(h.Y,{}),(0,r.jsx)(g.U,{header:"Letâs confirm your email",subheader:"Please enter your email and a link will be sent to you.",testId:"request-signup-link-fill-user-info"}),(0,r.jsx)(f.Z,{"data-testid":"request-signup-link-fill-user-info-email-field",fullWidth:!0,label:"Email",variant:"outlined",type:"email",value:i,onChange:e=>{var t;return a(null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.value)},error:i.length>0&&!l,helperText:i.length>0&&!l?"Enter a valid email address":"",disabled:n}),(0,r.jsx)(x.n,{children:(0,r.jsxs)(c.Z,{container:!0,direction:"column",width:"100%",sx:e=>({gap:1.5,alignItems:"center",[e.breakpoints.up("md")]:{gap:3,alignItems:"start"}}),children:[(0,r.jsx)(b.Z,{"data-testid":"request-signup-link-fill-user-info-button",variant:"contained",color:"primary",size:"large",fullWidth:!0,onClick:u,disabled:n||!l||!i,children:j.I.continue}),(0,r.jsx)(p.Z,{"data-testid":"request-signup-link-fill-user-info-link",component:y(),href:"/signin",underline:"none",children:(0,r.jsx)(b.Z,{variant:"text",size:"large",children:"Back to log in"})})]})})]})},w=()=>{let[e,t]=(0,o.useState)(!1),[n,s]=(0,o.useState)(!1),c=(0,o.useCallback)(async e=>{if(!n){s(!0);try{await a.Fj.requestLogInEmail(e),t(!0)}catch(e){l.Am.error(i.N.something_went_wrong)}finally{s(!1)}}},[n]);return e?(0,r.jsx)(u,{children:(0,r.jsx)(m,{})}):(0,r.jsx)(u,{children:(0,r.jsx)(k,{onSubmitForm:c,isSubmittingForm:n})})};var Z=n(31637),C=n(23553),_=()=>(0,r.jsxs)(C._,{children:[(0,r.jsx)(Z.r,{title:"Request Signup Link"}),(0,r.jsx)(w,{})]})},48083:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(67294),i=n(90512),a=n(49348),o=n(94631),l=n(57315),s=n(26061),c=n(40533),u=n(70017),d=n(68377),p=n(63715),m=n(50447),h=n(57480),g=n(1801);function x(e){return(0,g.ZP)("MuiLink",e)}let f=(0,h.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var b=n(80474),j=n(93784),v=e=>{let{theme:t,ownerState:n}=e,r=n.color;if("colorSpace"in t&&t.colorSpace){let e=(0,b.DW)(t,"palette.".concat(r,".main"))||(0,b.DW)(t,"palette.".concat(r))||n.color;return t.alpha(e,.4)}let i=(0,b.DW)(t,"palette.".concat(r,".main"),!1)||(0,b.DW)(t,"palette.".concat(r),!1)||n.color,a=(0,b.DW)(t,"palette.".concat(r,".mainChannel"))||(0,b.DW)(t,"palette.".concat(r,"Channel"));return"vars"in t&&a?"rgba(".concat(a," / 0.4)"):(0,j.Fq)(i,.4)},y=n(85893);let k={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},w=e=>{let{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root","underline".concat((0,l.Z)(i)),"button"===n&&"button",r&&"focusVisible"]};return(0,a.Z)(o,x,t)},Z=(0,s.ZP)(m.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t["underline".concat((0,l.Z)(n.underline))],"button"===n.component&&t.button]}})((0,u.Z)(e=>{let{theme:t}=e;return{variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:e=>{let{underline:t,ownerState:n}=e;return"always"===t&&"inherit"!==n.color},style:{textDecorationColor:"var(--Link-underlineColor)"}},{props:e=>{let{underline:t,ownerState:n}=e;return"always"===t&&"inherit"===n.color},style:t.colorSpace?{textDecorationColor:t.alpha("currentColor",.4)}:null},...Object.entries(t.palette).filter((0,d.Z)()).map(e=>{let[n]=e;return{props:{underline:"always",color:n},style:{"--Link-underlineColor":t.alpha((t.vars||t).palette[n].main,.4)}}}),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":t.alpha((t.vars||t).palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":t.alpha((t.vars||t).palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(t.vars||t).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(f.focusVisible)]:{outline:"auto"}}}]}}));var C=r.forwardRef(function(e,t){let n=(0,p.i)({props:e,name:"MuiLink"}),a=(0,c.Z)(),{className:l,color:s="primary",component:u="a",onBlur:d,onFocus:m,TypographyClasses:h,underline:g="always",variant:x="inherit",sx:f,...b}=n,[j,C]=r.useState(!1),_={...n,color:s,component:u,focusVisible:j,underline:g,variant:x},S=w(_);return(0,y.jsx)(Z,{color:s,className:(0,i.Z)(S.root,l),classes:h,component:u,onBlur:e=>{(0,o.Z)(e.target)||C(!1),d&&d(e)},onFocus:e=>{(0,o.Z)(e.target)&&C(!0),m&&m(e)},ref:t,ownerState:_,variant:x,...b,sx:[...void 0===k[s]?[{color:s}]:[],...Array.isArray(f)?f:[f]],style:{...b.style,..."always"===g&&"inherit"!==s&&!k[s]&&{"--Link-underlineColor":v({theme:a,ownerState:_})}}})})}},function(e){e.O(0,[474,888,774,179],function(){return e(e.s=24554)}),_N_E=e.O()}]);
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.