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A,CAAAA,CAACC,MAAK,YAAEiG,EAAOU,KAAK,CAACoB,OAAO,MAGpE,GAAAnE,EAAAxE,GAAA,EAACnB,EAAAA,CAAMA,CAAAA,CAACQ,QAAS8H,EAAY5H,UAAS,YAAC,sBAIzC,GAAAiF,EAAAnE,IAAA,EAACJ,MAAAA,CAAId,UAAU,qCACb,GAAAqF,EAAAnE,IAAA,EAACJ,MAAAA,CAAId,UAAU,iBAAO,qCAEpB,GAAAqF,EAAAxE,GAAA,EAAC+I,IAAIA,CAACvJ,KAAK,kBACT,GAAAgF,EAAAxE,GAAA,EAACyG,OAAAA,CAAKtH,UAAU,8EAAqE,sBAKzF,GAAAqF,EAAAnE,IAAA,EAACJ,MAAAA,WAAI,6BAEH,GAAAuE,EAAAxE,GAAA,EAAC+I,IAAIA,CAACvJ,KAAK,oBACT,GAAAgF,EAAAxE,GAAA,EAACyG,OAAAA,CAAKtH,UAAU,8EAAqE,gCAUrG,qBChIA6J,EAAAC,OAAA,EAAkB,sHCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/?68a6","webpack://_N_E/./components/Button/Button.constants.ts","webpack://_N_E/./components/Button/Button.tsx","webpack://_N_E/./components/Button/index.tsx","webpack://_N_E/./components/HelperText/HelperText.tsx","webpack://_N_E/./components/HelperText/index.tsx","webpack://_N_E/./components/LoadingImage/LoadingImage.tsx","webpack://_N_E/./components/LoadingImage/index.tsx","webpack://_N_E/./components/LoadingSpinner/LoadingSpinner.tsx","webpack://_N_E/./components/LoadingSpinner/index.tsx","webpack://_N_E/./components/TextField/TextField.tsx","webpack://_N_E/./components/TextField/index.tsx","webpack://_N_E/./components/auth/LoggedOutOnly.js","webpack://_N_E/./components/loading/full_page.js","webpack://_N_E/./pages/reset_password.js","webpack://_N_E/./components/LoadingImage/LoadingImage.module.css","webpack://_N_E/./components/LoadingSpinner/LoadingSpinner.module.css"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/reset_password\",\n function () {\n return require(\"private-next-pages/reset_password.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/reset_password\"])\n });\n }\n ","import { ButtonSize } from 'components/Button/Button.types';\n\nexport const ButtonSizeToIconSize = new Map([\n ['sm', 16],\n ['md', 24],\n ['lg', 32],\n]);\n","import clsx from 'clsx';\nimport { LoadingSpinner } from '../LoadingSpinner';\nimport { ButtonProps } from './Button.types';\nimport { ButtonSizeToIconSize } from './Button.constants';\n\nexport const Button = (props: ButtonProps) => {\n const {\n as = 'button',\n size = 'md',\n children,\n variant = 'solid',\n color = 'pure-blue',\n className,\n disabled,\n loading: isLoading,\n fullWidth,\n href,\n onClick,\n debug,\n ...rootProps\n } = props;\n const loading = !disabled && isLoading;\n const isButtonDisabled = disabled || loading;\n\n const loaderComponent = loading ? (\n \n \n \n ) : null;\n\n const ButtonComponent = as;\n\n return (\n \n {loaderComponent}\n {children}\n \n );\n};\n\nButton.displayName = 'Button';\n","export { Button } from './Button';\nexport type { ButtonProps, AsButton, AsLink } from './Button.types';\n","import type { HelperTextProps } from './HelperText.types';\nimport type { PropsWithChildren } from 'react';\nimport clsx from 'clsx';\n\n/**\n * The HelperText component is used to display helper text for a form field. It\n * can be used to display validation errors with the boolean `error` prop.\n */\nexport const HelperText = (props: PropsWithChildren) => {\n const { children, disabled = false, error = false, ...rootProps } = props;\n\n if (!children) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nHelperText.displayName = 'HelperText';\n","export { HelperText } from './HelperText';\nexport type { HelperTextProps } from './HelperText.types';\n","import classes from './LoadingImage.module.css';\nimport type { LoadingImageProps } from './LoadingImage.types';\n\nexport const LoadingImage = (props: LoadingImageProps) => {\n const { text, src } = props;\n\n return (\n
\n \"Loading...\"\n {text &&

{text}

}\n
\n );\n};\n\nLoadingImage.displayName = 'LoadingImage';\n","export { LoadingImage } from './LoadingImage';\nexport type { LoadingImageProps } from './LoadingImage.types';\n","import clsx from 'clsx';\nimport classes from './LoadingSpinner.module.css';\nimport type { LoadingSpinnerProps } from './LoadingSpinner.types';\n\nexport const LoadingSpinner = (props: LoadingSpinnerProps) => {\n const { size = 24, className, ...rootProps } = props;\n\n return (\n \n \n \n \n );\n};\n\nLoadingSpinner.displayName = 'LoadingSpinner';\n","export { LoadingSpinner } from './LoadingSpinner';\nexport type { LoadingSpinnerProps } from './LoadingSpinner.types';\n","import type { TextFieldProps } from './TextField.types';\nimport clsx from 'clsx';\nimport { HelperText } from 'components/HelperText';\nimport { forwardRef, useEffect, useRef, useState } from 'react';\n\nconst APPENDIX_RIGHT_POSITION = 16;\nconst PADDING_TO_APPENDIX = 12;\n\nexport const TextField = forwardRef(\n (props: TextFieldProps, ref) => {\n const {\n Icon,\n appendix,\n disabled = false,\n error = false,\n helperText = '',\n className,\n fullWidth = false,\n id,\n ...rootProps\n } = props;\n\n const appendixRef = useRef(null);\n const [rightPadding, setRightPadding] = useState(null);\n\n useEffect(() => {\n if (appendixRef.current && rightPadding === null) {\n setRightPadding(\n appendixRef.current.clientWidth + APPENDIX_RIGHT_POSITION + PADDING_TO_APPENDIX,\n );\n }\n });\n\n return (\n \n \n {!Icon ? null : (\n \n )}\n\n \n\n {!appendix ? null : (\n \n {appendix}\n \n )}\n \n\n {!helperText ? null : (\n \n {helperText}\n \n )}\n \n );\n },\n);\n\nTextField.displayName = 'TextField';\n","export { TextField } from './TextField';\nexport type { TextFieldProps } from './TextField.types';\n","import { LoadingImage } from 'components/LoadingImage';\nimport { withRouter } from 'next/router';\nimport React from 'react';\nimport { connect } from 'react-redux';\nimport { fetchCurrentAccount } from 'redux/account/actions';\nimport { tokensExist } from 'util/api/auth';\nimport FullPageLoading from '../loading/full_page';\n\nclass LoggedOutOnly extends React.Component {\n async componentDidMount() {\n if (!this.props.loaded && tokensExist()) {\n this.props.dispatch(fetchCurrentAccount(true));\n }\n }\n\n async componentDidUpdate(prevProps) {\n const { authenticated, userProfile, currentAccount, loading, router, employerProfile } =\n this.props;\n\n if (!loading && (authenticated || prevProps.currentAccount?.id != currentAccount?.id)) {\n if (router.query.return_to) {\n window.location = router.query.return_to;\n return;\n }\n\n if (this.props.registration) {\n if (userProfile) {\n return router.replace('/register/teacher/onboarding');\n } else {\n if (employerProfile?.employer?.geography?.employerPendingLaunch) {\n return router.replace('/register/employer/other');\n }\n return router.replace('/register/employer/locations');\n }\n } else {\n if (userProfile) {\n return router.replace('/profile');\n } else {\n return (window.location.href = '/employer/jobs');\n }\n }\n }\n }\n\n render() {\n const { authenticated, loading } = this.props;\n if (loading || authenticated) {\n return (\n \n \n \n );\n }\n\n return this.props.children;\n }\n}\n\nfunction mapStateToProps(state) {\n return {\n authenticated: state.account.authenticated,\n currentAccount: state.account.currentAccount,\n loading: state.account.loading,\n userProfile: state.currentUserProfile.currentUserProfile,\n employerProfile: state.employer.currentEmployerProfile,\n };\n}\n\nexport default connect(mapStateToProps)(withRouter(LoggedOutOnly));\n","import Head from 'next/head';\nimport Image from 'next/legacy/image';\nimport { useSelector } from 'react-redux';\nimport { LoadingImage } from 'components/LoadingImage';\nimport { tokensExist } from 'util/api/auth';\n\n// Will create a resable Footer Component shortly after this PR\nconst footer = [\n {\n name: 'Facebook',\n href: 'https://www.facebook.com/joinearlyday',\n icon: (props) => (\n \n \n \n ),\n },\n {\n name: 'Instagram',\n href: 'https://www.instagram.com/joinearlyday/',\n icon: (props) => (\n \n \n \n ),\n },\n];\n\nexport default function FullPageLoading({\n children = null,\n loaderOnly = true,\n employerView = false,\n}) {\n const renderLoader = () => {\n if (children) return children;\n\n if (tokensExist()) {\n const teacherView = localStorage.getItem('userType') === 'teacher';\n return (\n \n );\n }\n\n //fallback\n return (\n \n );\n };\n\n return (\n
\n \n Loading\n \n {!loaderOnly && (\n
\n \n
\n )}\n
{renderLoader()}
\n {!loaderOnly && (\n
\n
\n
\n {footer.map((item) => (\n \n {item.name}\n \n \n ))}\n
\n\n

© 2023 EarlyDay, Inc. All rights reserved.

\n
\n
\n )}\n
\n );\n}\n","import { Button } from 'components/Button';\nimport { HelperText } from 'components/HelperText';\nimport { TextField } from 'components/TextField';\nimport LoggedOutOnly from 'components/auth/LoggedOutOnly';\nimport Head from 'next/head';\nimport Image from 'next/legacy/image';\nimport Link from 'next/link';\nimport { useRouter } from 'next/router';\nimport React from 'react';\nimport { Controller, useForm } from 'react-hook-form';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { resetPassword } from 'redux/account/actions';\nimport { useBrand } from '../contexts/BrandContext';\n\nexport default function ResetPassword(props) {\n const { accountErrors } = useSelector((state) => state.account);\n const account = useSelector((state) => state.account);\n const dispatch = useDispatch();\n const router = useRouter();\n const { brand } = useBrand();\n\n const [submitting, setSubmitting] = React.useState(false);\n\n const reset = async (data) => {\n try {\n setSubmitting(submitting);\n const { email } = data;\n await dispatch(resetPassword(email));\n } catch (e) {\n console.error(e);\n }\n router.push('/reset_password/completed');\n };\n\n const {\n handleSubmit,\n formState: { errors },\n control,\n } = useForm();\n const onSubmit = (data) => {\n reset(data);\n };\n\n return (\n \n
\n \n Reset Password - {brand?.name}\n \n
\n
\n
\n {brand?.logo && (\n \n )}\n
\n

Reset Password

\n

\n Provide your email address used to register and we'll send you an email to reset\n your password.\n

\n
\n
\n \n\n
\n (\n \n )}\n />\n {errors?.email?.message && {errors.email.message}}\n
\n\n \n
\n
\n
\n Do you remember your password? \n \n \n Sign in here\n \n \n
\n
\n Don't have an account? \n \n \n Sign up here\n \n \n
\n
\n
\n
\n
\n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"LoadingImage_root__dwFAc\",\"text\":\"LoadingImage_text__mG5bc\",\"image\":\"LoadingImage_image__S77Nc\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"LoadingSpinner_root__nbOZ_\",\"spin\":\"LoadingSpinner_spin__ZxfpH\"};"],"names":["window","__NEXT_P","push","__webpack_require__","ButtonSizeToIconSize","Map","Button","as","size","children","variant","color","className","disabled","loading","isLoading","fullWidth","href","onClick","debug","rootProps","props","isButtonDisabled","loaderComponent","jsx_runtime","jsx","div","clsx","LoadingSpinner","get","jsxs","ButtonComponent","undefined","focus","hover","displayName","HelperText","error","LoadingImage","text","src","classes","img","data-chromatic","alt","p","svg","width","height","viewBox","xmlns","path","d","opacity","TextField","forwardRef","ref","Icon","appendix","helperText","id","appendixRef","useRef","rightPadding","setRightPadding","useState","useEffect","current","clientWidth","label","htmlFor","input","style","paddingRight","LoggedOutOnly","React","componentDidMount","loaded","tokensExist","dispatch","fetchCurrentAccount","componentDidUpdate","prevProps","employerProfile","authenticated","userProfile","currentAccount","router","query","return_to","location","registration","replace","employer","geography","employerPendingLaunch","render","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","FullPageLoading","loaderOnly","__webpack_exports__","Z","connect","state","account","currentUserProfile","currentEmployerProfile","withRouter","footer","name","icon","fill","fillRule","clipRule","param","employerView","Head","title","Image","layout","priority","quality","renderLoader","teacherView","localStorage","getItem","concat","map","a","item","span","aria-hidden","ResetPassword","brand","errors","accountErrors","useSelector","useDispatch","useRouter","useBrand","submitting","setSubmitting","reset","data","email","resetPassword","e","console","handleSubmit","formState","control","useForm","logo","mediumUrl","h2","form","onSubmit","type","defaultValue","Controller","rules","required","pattern","value","message","maxLength","field","placeholder","Link","module","exports"],"sourceRoot":""}