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I,IAA8BuB,MAAA,CAA1Bc,EAAiBC,KAAK,CAAC,IAAO,GAErE,EAEaC,EAAe,GAC1B,GAKOC,IADSC,YAAYC,eAAe,CAACC,EAAM,aACvCC,IAAI,CAACC,WAAW,EAAI,sBCvDjCC,EAAAC,OAAA,EAAkB,sHCAlBD,EAAAC,OAAA,EAAkB","sources":["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/Select/Select.tsx","webpack://_N_E/./components/Select/SelectOption/SelectOption.tsx","webpack://_N_E/./components/Select/SelectOption/index.tsx","webpack://_N_E/./components/Select/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/forms/errorBlock.js","webpack://_N_E/./components/loading/full_page.js","webpack://_N_E/./util/formatting/string.ts","webpack://_N_E/./components/LoadingImage/LoadingImage.module.css","webpack://_N_E/./components/LoadingSpinner/LoadingSpinner.module.css"],"sourcesContent":["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","// TODO: remove this bypass\n/* eslint-disable @typescript-eslint/no-unsafe-assignment,\n @typescript-eslint/no-unsafe-argument */\nimport { Listbox, Transition } from '@headlessui/react';\nimport clsx from 'clsx';\nimport { Fragment, PropsWithChildren } from 'react';\nimport type { SelectProps } from './Select.types';\nimport { ArrowDownIcon } from 'icons/outline';\nimport { SelectOptionProps } from 'components/Select/SelectOption';\n\nexport const Select = (props: PropsWithChildren) => {\n const {\n selectedOption,\n label,\n onChange,\n placeholder,\n size = 'md',\n fullWidth = false,\n children,\n debug = false,\n 'aria-label': ariaLabel,\n disabled = false,\n buttonProps: providedButtonProps,\n renderSelectedValue = (option: SelectOptionProps) => option.children,\n error = false,\n ...rootProps\n } = props;\n\n const buttonProps = {\n ...providedButtonProps,\n title: selectedOption?.label || placeholder,\n };\n\n return (\n \n {({ open }) => {\n return (\n <>\n {ariaLabel}\n \n \n {label && {label}}\n \n {selectedOption ? (\n \n {renderSelectedValue(selectedOption)}\n \n ) : (\n \n {placeholder}\n \n )}\n\n \n \n \n\n \n \n {children}\n \n \n \n \n );\n }}\n \n );\n};\n\nSelect.displayName = 'Select';\n","import { Listbox } from '@headlessui/react';\nimport clsx from 'clsx';\nimport type { SelectOptionProps } from './SelectOption.types';\nimport { CheckIcon } from 'icons/outline';\n\nexport const SelectOption = (props: SelectOptionProps) => {\n const { children, value, disabled = false, isHeader = false, description, ...rootProps } = props;\n\n const notSelectable = disabled || isHeader;\n const selectable = !notSelectable;\n\n return (\n \n clsx('relative flex items-center justify-start px-4 py-2 cursor-pointer select-none', {\n 'font-bold bg-secondary-sky text-neutral-ink-blue': selectable && active,\n 'text-neutral-dark': selectable && !active,\n 'cursor-not-allowed text-neutral': disabled,\n 'my-2 font-bold cursor-not-allowed bg-neutral-no-white text-neutral-ink-blue': isHeader,\n })\n }\n value={value}\n disabled={notSelectable}\n >\n {({ selected, active }) => (\n
\n \n {children}\n {selected ? (\n \n \n \n ) : null}\n

\n {description && (\n \n {description}\n

\n )}\n
\n )}\n \n );\n};\n\nSelectOption.displayName = 'SelectOption';\n","export { SelectOption } from './SelectOption';\nexport type { SelectOptionProps } from './SelectOption.types';\n","export { Select } from './Select';\nexport type { SelectProps } from './Select.types';\n\nexport { SelectOption } from './SelectOption';\nexport type { SelectOptionProps } from './SelectOption';\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 { XCircleIcon } from '@heroicons/react/20/solid';\n\nexport default function ErrorBlock({ errors }) {\n if (errors?.length === 0) {\n return null;\n }\n return (\n
\n
\n
\n \n
\n
\n

\n There were {errors?.length} errors with your submission\n

\n
\n
    \n {errors?.map((error, index) => (\n
  • {error}
  • \n ))}\n
\n
\n
\n
\n
\n );\n}\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 replace from 'lodash/replace';\nimport type { ChangeEvent } from 'react';\n\nexport const cleanUpInputValue =\n (type: 'extra-spaces' | 'all-spaces' = 'extra-spaces') =>\n (event: ChangeEvent) => {\n if (!event?.target) {\n return;\n }\n\n if (type === 'extra-spaces') {\n event.target.value = removeExtraSpaces(event.target.value);\n } else if (type === 'all-spaces') {\n event.target.value = removeAllSpaces(event.target.value);\n }\n };\n\nexport const removeExtraSpaces = (text: string) => text?.trim().replace(/\\s{2,}/g, ' ') || '';\n\nexport const removeAllSpaces = (text: string) => text?.trim().replace(/\\s/g, '') || '';\n\nexport const sanitizeTags = (htmlText: string) => {\n if (!htmlText) {\n return '';\n }\n\n // remove script tags\n htmlText = htmlText.replace(/)<[^<]*)*<\\/script>/gi, '');\n\n // remove style tags\n htmlText = htmlText.replace(/)<[^<]*)*<\\/style>/gi, '');\n\n // remove tags with actions\n htmlText = htmlText.replace(/<[^>]*\\s(on\\w+)[^>]*>/gi, '');\n\n return htmlText;\n};\n\nexport const formatZipCode = (zipCode: string) => {\n if (!zipCode) {\n return '';\n }\n\n const removedNonDigits = replace(zipCode, /\\D/g, '');\n return (\n removedNonDigits.slice(0, 5) +\n (removedNonDigits.length > 5 ? `-${removedNonDigits.slice(5)}` : '')\n );\n};\n\nexport const htmlToString = (html: string): string => {\n if (!html) {\n return '';\n }\n\n const doc = new DOMParser().parseFromString(html, 'text/html');\n return doc.body.textContent || '';\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":["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","Select","selectedOption","label","onChange","placeholder","ariaLabel","buttonProps","providedButtonProps","renderSelectedValue","option","title","Listbox","value","open","param","Fragment","Label","aria-label","span","ArrowDownIcon","aria-hidden","Transition","show","leave","leaveFrom","leaveTo","Options","static","SelectOption","isHeader","description","notSelectable","selectable","Option","active","selected","CheckIcon","role","TextField","forwardRef","ref","Icon","appendix","helperText","id","appendixRef","useRef","rightPadding","setRightPadding","useState","useEffect","current","clientWidth","htmlFor","input","style","paddingRight","LoggedOutOnly","React","componentDidMount","loaded","tokensExist","dispatch","fetchCurrentAccount","componentDidUpdate","prevProps","employerProfile","authenticated","userProfile","currentAccount","router","query","return_to","window","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","ErrorBlock","errors","length","XCircleIcon","h3","ul","map","index","li","footer","name","icon","fill","fillRule","clipRule","employerView","Head","Image","layout","priority","quality","renderLoader","teacherView","localStorage","getItem","concat","a","item","cleanUpInputValue","type","event","target","removeExtraSpaces","removeAllSpaces","trim","sanitizeTags","htmlText","formatZipCode","zipCode","removedNonDigits","slice","htmlToString","doc","DOMParser","parseFromString","html","body","textContent","module","exports"],"sourceRoot":""}