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TiJ,aAAcA,EACd4Y,oBAAqBA,EACrBiD,WAAYA,QAKtB,CAEAD,CAAAA,GAAe7oB,WAAW,CAAG,iBAY7B,IAAAupB,GAAexd,CAAAA,EAAAA,EAAAA,EAAAA,EAVf,SAAyB/I,CAAK,EAC5B,MAAO,CACLgL,UAAWhL,EAAMgJ,QAAQ,CAACgC,SAAS,CACnChK,QAAShB,EAAMiK,YAAY,CAACjJ,OAAO,CACnCiJ,aAAcjK,EAAMiK,YAAY,CAACuL,eAAe,CAChDqN,oBAAqB7iB,EAAMiK,YAAY,CAACwQ,IAAI,CAC5CqL,WAAY9lB,EAAMiK,YAAY,CAAC6b,UAAU,CAE7C,EAEwC,CAAE3V,kBAAiBA,GAAAA,EAAAA,GAAI0V,uBCvD/DW,EAAAC,OAAA,EAAkB,qqBCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/?9df9","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ActionButtons/ActionButtonTooltip.tsx","webpack://_N_E/./features/HiringHeroProgressbar/HiringHeroProgressbar.tsx","webpack://_N_E/./features/HiringHeroProgressbar/index.tsx","webpack://_N_E/./features/HiringHeroStatusbar/HiringHeroStatusbar.tsx","webpack://_N_E/./features/HiringHeroStatusbar/index.tsx","webpack://_N_E/./hooks/redux/useCertificationOptions.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/HeaderCell/HeaderCell.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/HeaderCell/index.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/DownloadPdfButton/DownloadPdfButton.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/DownloadPdfButton/index.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ContactInfoPopover/ContactInfoPopoverButton.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ContactInfoPopover/ContactInfoPopover.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ContactInfoPopover/index.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/NotesButton/NotesTutorial.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/NotesButton/NotesTour.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/NotesButton/NotesButton.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ViewMoreButtons/ViewMoreButtons.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ViewMoreButtons/index.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/OtherApplicationsPopover/OtherApplicationsPopover.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/OtherApplicationsPopover/index.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/StatusChangedMessage/StatusChangedMessage.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/StatusChangedMessage/index.tsx","webpack://_N_E/./hooks/useSendMessageFeature.tsx","webpack://_N_E/./hooks/useInviteToInterviewFeature.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/MassSelectApplicants/ApplicantsCheckBox.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ActionButtons/ActionButtonWithTooltip.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ApplicantsTableRow.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/index.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTable.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/index.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/useApplicantsTrackingFilter.ts","webpack://_N_E/./features/ApplicantsTrackingSystem/VideoModal.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/filters/BaseDrawer.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/filters/ClearFiltersButton.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/filters/NameInput.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/filters/SortButton.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/filters/StatusFilterButton.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/filters/FiltersDrawer.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/filters/FiltersBanner/BannerFilterChip.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/filters/FiltersBanner/BannerFilterChips.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/filters/FiltersBanner.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTrackingSystem.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/index.tsx","webpack://_N_E/./pages/employer/applicants.tsx","webpack://_N_E/./features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ApplicantsTableRow.module.css","webpack://_N_E/./features/ApplicantsTrackingSystem/filters/FiltersBanner/BannerFilterChip.module.css"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/employer/applicants\",\n function () {\n return require(\"private-next-pages/employer/applicants.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/employer/applicants\"])\n });\n }\n ","import ReactTooltip from 'react-tooltip';\nimport { ReactNode, useEffect, useMemo, useRef } from 'react';\nimport clsx from 'clsx';\nimport noop from 'lodash/noop';\nimport { CloseIcon } from 'icons/outline';\n\ntype ActionButtonTooltipProps = {\n id: string;\n className: string;\n dataTip: ReactNode;\n children: ReactNode;\n alwaysShow: boolean;\n background: 'dark' | 'light';\n textSize?: string;\n clickable?: boolean;\n delayHide?: number;\n onClose?: () => void;\n};\nexport const ActionButtonTooltip = ({\n id,\n dataTip = 'Tooltip',\n children = 'Tooltip Content',\n clickable = false,\n delayHide = 0,\n alwaysShow = false,\n background = 'light',\n onClose = noop,\n}: ActionButtonTooltipProps) => {\n const dataTipRef = useRef();\n\n useEffect(() => {\n if (alwaysShow) {\n ReactTooltip.show(dataTipRef.current);\n }\n }, [alwaysShow]);\n\n const backgroundColor = useMemo(() => {\n if (background === 'light') {\n return '#FFF'; // bg-neutral-full-white\n }\n return '#525A63'; // bg-neutral-darker\n }, [background]);\n\n if (!id) {\n return null;\n }\n\n const close = () => {\n ReactTooltip.hide(dataTipRef.current);\n };\n\n const spanAlwaysShow = alwaysShow\n ? {\n 'data-event': 'no-event-manually-handled',\n 'data-event-off': 'no-event-manually-handled',\n 'data-tip': 'alwaysShown',\n }\n : {};\n\n return (\n
\n \n {dataTip}\n \n \n
\n {children}\n {alwaysShow && (\n \n )}\n
\n \n
\n );\n};\n\nActionButtonTooltip.displayName = 'ActionButtonTooltip';\n","import clsx from 'clsx';\nimport { useEffect, useRef, useState } from 'react';\nimport type { HiringHeroProgressbarProps } from './HiringHeroProgressbar.types';\n\nconst ANIMATION_DURATION = 2000;\nconst TROPHY_SHOW_DURATION = ANIMATION_DURATION + 500;\n\nexport const HiringHeroProgressbar = (props: HiringHeroProgressbarProps) => {\n const { value: providedValue, max, className } = props;\n const [showTrophy, setShowTrophy] = useState(false);\n const initRef = useRef(false);\n\n const value = Math.max(0, Math.min(providedValue, max));\n const ratio = value / max;\n const progressWidth = ratio * 100;\n\n useEffect(() => {\n if (!initRef.current) {\n initRef.current = true;\n } else {\n setShowTrophy(true);\n const timeout = setTimeout(() => setShowTrophy(false), TROPHY_SHOW_DURATION);\n\n return () => clearTimeout(timeout);\n }\n }, [ratio]);\n\n return (\n \n = 50,\n 'bg-primary-poppy-red': progressWidth < 50,\n })}\n style={{ width: `${progressWidth}%`, transitionDuration: `${ANIMATION_DURATION}ms` }}\n data-testid=\"hiring-hero-progress\"\n >\n {showTrophy && (\n \n 🏆\n \n )}\n \n \n );\n};\n\nHiringHeroProgressbar.displayName = 'HiringHeroProgressbar';\n","export { HiringHeroProgressbar } from './HiringHeroProgressbar';\nexport type { HiringHeroProgressbarProps } from './HiringHeroProgressbar.types';\n","import clsx from 'clsx';\nimport { Link } from 'components/Link';\nimport { HiringHeroProgressbar } from 'features/HiringHeroProgressbar';\nimport { ArrowRightLongIcon } from 'icons/outline';\nimport type { HiringHeroStatusbarProps } from './HiringHeroStatusbar.types';\nimport { AppRoutes } from 'util/urlFactory';\nimport { useHiringHeroMetric } from 'hooks/redux/useHiringHeroMetric';\n\nexport const HiringHeroStatusbar = (props: HiringHeroStatusbarProps) => {\n const { className, actionText, hideStatsLink } = props;\n const { isHiringHero, enabled, metrics, avgProgress } = useHiringHeroMetric();\n\n if (!enabled) {\n return null;\n }\n\n const metApplicantRequirements = metrics?.receivedApplicants.met;\n\n const leftElement = isHiringHero ? (\n <>\n 🦸‍♀️ {actionText} to keep your \n Hiring Hero status!\n \n ) : (\n <>\n {actionText} to become a \n Hiring Hero\n  🦸‍♀️\n \n );\n\n return (\n \n

{leftElement}

\n {!isHiringHero && (\n <>\n
\n \n \n )}\n\n {!hideStatsLink && (\n \n See my stats\n \n \n )}\n\n {/* comment out for now (no blogpost yet) */}\n {/* {!metApplicantRequirements && (\n
\n
\n

\n 🤔 \n \n How can I increase applicants?\n \n

\n
\n )} */}\n
\n );\n};\n\nHiringHeroStatusbar.displayName = 'HiringHeroStatusbar';\n","export { HiringHeroStatusbar } from './HiringHeroStatusbar';\nexport type { HiringHeroStatusbarProps } from './HiringHeroStatusbar.types';\n","import { RootStateOrAny, useDispatch, useSelector } from 'react-redux';\nimport { useEffect } from 'react';\nimport {\n fetchCertificationCategories,\n selectStateCertificationOptions,\n} from 'redux/certification_categories';\nimport { CertificationOptionResource } from 'util/resources/CertificationOption';\n\nexport const useCertificationOptions = () => {\n const dispatch = useDispatch();\n\n const certificationOptions: CertificationOptionResource[] = useSelector(\n (state: RootStateOrAny) =>\n selectStateCertificationOptions(state) as CertificationOptionResource[],\n );\n\n useEffect(() => {\n dispatch(fetchCertificationCategories());\n }, [dispatch]);\n\n return {\n certificationOptions,\n };\n};\n","import type { HeaderCellProps } from 'features/ApplicantsTrackingSystem/ApplicantsTable/HeaderCell/HeaderCell.types';\nimport { SortTableIcon } from 'icons/solid';\nimport clsx from 'clsx';\n\nexport const HeaderCell = (props: HeaderCellProps) => {\n const { colName, sortName, sortData, isSelected, colSpan = 1, className } = props;\n\n return (\n {\n if (sortName) {\n sortData(sortName);\n }\n }}\n >\n
\n {colName}\n {!sortName ? null : }\n
\n \n );\n};\n\nHeaderCell.displayName = 'HeaderCell';\n","export { HeaderCell } from 'features/ApplicantsTrackingSystem/ApplicantsTable/HeaderCell/HeaderCell';\nexport type { HeaderCellProps } from 'features/ApplicantsTrackingSystem/ApplicantsTable/HeaderCell/HeaderCell.types';\n","import type { DownloadPdfButtonProps } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/DownloadPdfButton/DownloadPdfButton.types';\nimport { fetchUserProfileResume } from 'util/api/employer';\nimport { MouseEvent, useMemo, useState } from 'react';\nimport { LoadingSpinner } from 'components/LoadingSpinner';\nimport clsx from 'clsx';\nimport { PdfIcon } from 'icons/outline';\n\nexport const DownloadPdfButton = (props: DownloadPdfButtonProps) => {\n const { userProfile, onClick, disabled, debug, className, label = 'Download Resume' } = props;\n const [loading, setLoading] = useState(false);\n\n const handleClick = (event: MouseEvent) => {\n setLoading(true);\n fetchUserProfileResume(userProfile)\n .then(() => {\n setLoading(false);\n })\n .catch((error) => {\n console.error(error);\n setLoading(false);\n });\n onClick?.(event);\n };\n\n const isClickable = useMemo(\n () => !disabled && !loading && !debug?.loading,\n [disabled, loading, debug?.loading],\n );\n\n return (\n \n {loading || debug?.loading ? (\n \n ) : (\n \n )}\n {label}\n \n );\n};\n\nDownloadPdfButton.displayName = 'DownloadPdfButton';\n","export { DownloadPdfButton } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/DownloadPdfButton/DownloadPdfButton';\nexport type { DownloadPdfButtonProps } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/DownloadPdfButton/DownloadPdfButton.types';\n","import { Popover } from '@headlessui/react';\nimport clsx from 'clsx';\nimport { ArrowDownIcon, UserIcon } from 'icons/outline';\nimport { UserProfileResource } from 'util/resources/UserProfile';\n\nexport type ContactInfoPopoverButtonProps = {\n disabled: boolean;\n userProfile: UserProfileResource;\n onClick: () => void;\n open: boolean;\n};\n\nexport const ContactInfoPopoverButton = ({\n disabled,\n userProfile,\n onClick,\n open,\n}: ContactInfoPopoverButtonProps) => {\n const hasObfuscatedData = [userProfile.email, userProfile.phoneNumber].join(',').includes('*');\n\n return (\n \n \n Contact Info\n \n \n );\n};\n\nContactInfoPopoverButton.displayName = 'ContactInfoPopoverButton';\n","import { Fragment, useEffect, useState } from 'react';\nimport { Popover, Transition } from '@headlessui/react';\nimport { Alert } from 'components/Alert';\nimport { AlertIcon } from 'icons/outline';\nimport { DuplicateIcon, MailIcon, PhoneIcon } from 'icons/solid';\nimport { useCopyToClipboard } from 'hooks/useCopyToClipboard';\nimport { Banner } from 'components/Banner';\nimport { Link } from 'components/Link';\nimport { AppRoutes } from 'util/urlFactory';\nimport { postHogCapture } from 'components/analytics/PostHog';\nimport type { ContactInfoPopoverProps } from './ContactInfoPopover.types';\nimport noop from 'lodash/noop';\nimport { TrackedCallback } from 'components/TrackedCallback';\nimport { AnalyticsEvents } from 'util/analyticsEvents';\nimport { ContactInfoPopoverButton } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ContactInfoPopover/ContactInfoPopoverButton';\nimport { useCurrentEmployerProfile } from 'hooks/redux/useCurrentEmployerProfile';\n\nconst eventCapture = postHogCapture();\n\nexport const ContactInfoPopover = (props: ContactInfoPopoverProps) => {\n const { userProfile, jobApplicationId } = props;\n const hasObfuscatedData = [userProfile.email, userProfile.phoneNumber].join(',').includes('*');\n\n const [copiedSuccessfully, setCopiedSuccessfully] = useState(null);\n const [showAlert, setShowAlert] = useState(false);\n\n const lastChar = userProfile.firstName.slice(-1);\n const { currentEmployerProfile } = useCurrentEmployerProfile();\n\n useEffect(() => {\n if (copiedSuccessfully === null) {\n return;\n }\n\n setShowAlert(true);\n\n setTimeout(() => {\n setShowAlert(false);\n setTimeout(() => {\n setCopiedSuccessfully(null);\n }, 100);\n }, 2000);\n }, [copiedSuccessfully]);\n\n const { copyToClipboard } = useCopyToClipboard({\n onSuccess: () => {\n setCopiedSuccessfully(true);\n },\n onError: () => {\n setCopiedSuccessfully(false);\n },\n });\n return (\n \n {({ open }) => (\n <>\n \n {copiedSuccessfully ? 'Copied to clipboard' : 'Failed to copy to clipboard'}\n \n \n \n \n {hasObfuscatedData ? (\n \n
\n
\n \n\n

\n You must{' '}\n \n upgrade\n {' '}\n to see the applicants contact info.\n

\n
\n
\n
\n ) : (\n <>\n

\n {userProfile.firstName}'{lastChar === 's' ? '' : 's'} Contact Info:\n

\n
\n {userProfile.phoneNumber && (\n

\n \n {userProfile.phoneNumber}\n {\n eventCapture('Click on Copy Phone Number [ATS]');\n await copyToClipboard(userProfile.phoneNumber, event);\n }}\n title=\"Copy to clipboard\"\n data-cy=\"ApplicantsInfoCopyToClipboardPhoneNumber\"\n >\n Copy number to clipboard\n \n \n

\n )}\n

\n \n \n {userProfile.email}\n \n {\n eventCapture('Click on Copy Email [ATS]');\n await copyToClipboard(userProfile.email, event);\n }}\n title=\"Copy to clipboard\"\n data-cy=\"ApplicantsInfoCopyToClipboardEmail\"\n >\n Copy email to clipboard\n \n \n

\n
\n \n )}\n
\n \n \n )}\n
\n );\n};\n\nContactInfoPopover.displayName = 'ContactInfoPopover';\n","export { ContactInfoPopover } from './ContactInfoPopover';\nexport type { ContactInfoPopoverProps } from './ContactInfoPopover.types';\n","import { Avatar } from 'components/Avatar';\nimport defaultImage from 'public/images/defaults/candidate_image.png';\nimport React from 'react';\nimport { UserIcon } from '../../../../../icons/outline';\n\nexport const NotesTutorial = () => {\n return (\n
\n
\n \n \n \n Mel \n from EarlyDay:\n
\n\n
\n Let your team know what you think about the applicants!\n
\n
\n You can now \n \n add internal notes on applicants\n \n \n {' '}\n for the rest of your team to read your feedback about them.\n \n
\n
\n
\n Don’t worry, applicants won’t see them.\n
\n
\n
\n );\n};\n\nNotesTutorial.displayName = 'NotesTutorial';\n","import Joyride, { CallBackProps, STATUS, Step, EVENTS } from 'react-joyride';\nimport React, { useEffect, useState } from 'react';\nimport { NotesTutorial } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/NotesButton/NotesTutorial';\n\nexport const NotesTour = ({\n show = false,\n setShow,\n}: {\n show: boolean;\n setShow: (arg: boolean) => void;\n}) => {\n const steps = [\n {\n target: '[data-joyride=\"notes_tutorial\"]',\n disableBeacon: true,\n disableScrolling: true,\n hideBackButton: true,\n hideCloseButton: true,\n content: ,\n placement: 'left',\n },\n ];\n\n const handleJoyrideCallback = (data: CallBackProps) => {\n const { status, type } = data;\n const finishedStatuses: string[] = [STATUS.FINISHED, STATUS.SKIPPED];\n\n if (status === STATUS.RUNNING && type === EVENTS.TOUR_START) {\n const body = document.querySelector('body');\n body.classList.add('!h-screen');\n body.classList.add('!overflow-hidden');\n window.scrollTo({ top: 0, behavior: 'smooth' });\n }\n\n if (finishedStatuses.includes(status)) {\n setShow(false);\n const body = document.querySelector('body');\n body.classList.remove('!h-screen');\n body.classList.remove('!overflow-hidden');\n }\n };\n\n return (\n <>\n }\n run={show}\n hideCloseButton\n hideBackButton\n styles={{\n buttonNext: {\n display: 'none',\n },\n tooltipContent: {\n padding: '0px',\n },\n }}\n />\n \n );\n};\n\nNotesTour.displayName = 'NotesTour';\n","import { ChatEllipsisIcon } from 'icons/outline';\nimport { useEffect, useState } from 'react';\nimport { NotesTour } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/NotesButton/NotesTour';\nimport { connect } from 'react-redux';\nimport { EmployerProfileResource } from 'util/resources/EmployerProfile';\nimport { NotificationType, SystemNotificationResource } from 'util/resources/SystemNotification';\nimport clsx from 'clsx';\n\ntype NotesButtonProps = {\n notesCount: number;\n onClick: (initialTab?) => void;\n isFirst: boolean;\n currentEmployerProfile: EmployerProfileResource;\n disabled: boolean;\n};\nconst NotesButtonComponent = ({\n notesCount,\n onClick,\n isFirst,\n currentEmployerProfile,\n disabled = false,\n}: NotesButtonProps) => {\n const notesCountIndicator = notesCount > 0 ? `(${notesCount})` : null;\n\n const [show, setShow] = useState(false);\n\n useEffect(() => {\n if (!currentEmployerProfile) {\n return;\n }\n\n let timeout = null;\n\n const seeNotesTutorialNotification = currentEmployerProfile\n .systemNotifications()\n .toArray()\n .find(\n (sysNotif: SystemNotificationResource) =>\n sysNotif.notificationType === NotificationType.NOTES_TUTORIAL,\n );\n\n if (seeNotesTutorialNotification) {\n // The only thing update does is mark the notification as seen, which is the only modification\n // that makes sense for now at least\n void seeNotesTutorialNotification.update({});\n\n timeout = setTimeout(() => {\n setShow(true);\n }, 1000);\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n return () => (timeout ? clearTimeout(timeout) : null);\n }, [currentEmployerProfile.id]);\n\n const joyRideProps = isFirst ? { 'data-joyride': 'notes_tutorial' } : {};\n\n return (\n <>\n {isFirst && }\n\n \n \n Notes{' '}\n \n {notesCountIndicator}\n \n \n \n );\n};\n\nNotesButtonComponent.displayName = 'NotesButtonComponent';\n\nfunction mapStateToProps(state) {\n return {\n currentEmployerProfile: state.employer.currentEmployerProfile,\n };\n}\n\nexport default connect(mapStateToProps)(NotesButtonComponent);\n","import type { ViewMoreButtonsProps } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ViewMoreButtons/ViewMoreButtons.types';\nimport { DownloadPdfButton } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/DownloadPdfButton';\nimport { WatchInterviewButton } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/WatchInterviewButton';\nimport PostHog from 'components/analytics/PostHog';\nimport { ContactInfoPopover } from '../ContactInfoPopover';\nimport NotesButton from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/NotesButton/NotesButton';\nimport { filters } from 'features/EducatorProfileViews/ApplicantProfile/ApplicationDetails/ApplicationDetails';\nimport { useContext } from 'react';\nimport { SelectedApplicantsContext } from 'features/ApplicantsTrackingSystem/ApplicantsTable/SelectedApplicantsContext';\nimport clsx from 'clsx';\nimport { TrackedCallback } from 'components/TrackedCallback';\nimport { AnalyticsEvents } from 'util/analyticsEvents';\nimport { useCurrentEmployerProfile } from 'hooks/redux/useCurrentEmployerProfile';\n\nexport const ViewMoreButtons = (props: ViewMoreButtonsProps) => {\n const { userProfile, onView, notesCount, isFirst, jobApplicationId } = props;\n const { selectedApplicantsCount } = useContext(SelectedApplicantsContext);\n\n const disableButton = selectedApplicantsCount > 1;\n\n const { currentEmployerProfile } = useCurrentEmployerProfile();\n\n return (\n
\n \n\n {\n onView(filters.APPLICANT_NOTES);\n }}\n disabled={disableButton}\n />\n\n \n \n \n\n \n Video}\n className={clsx('!gap-1 !text-xs !border-none !p-0 !min-h-fit', {\n 'text-neutral text-feedback-disabled cursor-not-allowed': disableButton,\n })}\n iconClassName=\"w-[18px] h-18px]\"\n disabled={disableButton}\n />\n \n
\n );\n};\n\nViewMoreButtons.displayName = 'ViewMoreButtons';\n","export { ViewMoreButtons } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ViewMoreButtons/ViewMoreButtons';\nexport type { ViewMoreButtonsProps } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ViewMoreButtons/ViewMoreButtons.types';\n","import { Fragment } from 'react';\nimport { Popover, Transition } from '@headlessui/react';\nimport clsx from 'clsx';\nimport sortBy from 'lodash/sortBy';\nimport { AlertIcon, ArrowDownIcon, ClockIcon } from 'icons/outline';\nimport { getLastActiveInterval } from 'features/ContactCard/ContactCard.utils';\n\nimport type { OtherApplicationsPopoverProps } from './OtherApplicationsPopover.types';\n\nexport const OtherApplicationsPopover = (props: OtherApplicationsPopoverProps) => {\n const { applications, condensed, currentApplicationId } = props;\n\n const filteredApplications = applications.filter((app) => app.id !== currentApplicationId);\n\n if (!filteredApplications.length) return null;\n\n const sortedApplications = sortBy(filteredApplications, (app) => new Date(app.createdAt));\n const numOtherApplications = sortedApplications.length;\n const roleText = `role${numOtherApplications > 1 ? 's' : ''}`;\n const btnText = condensed ? (\n <>\n Applied to {numOtherApplications} {roleText}\n \n ) : (\n <>\n Also applied to {numOtherApplications} other {roleText}\n \n );\n\n return (\n \n {({ open }) => (\n <>\n \n \n {btnText}\n \n \n \n \n {sortedApplications.map((application) => {\n const locations = application.locations;\n const locationsToDisplay = locations.slice(0, 2);\n const locationsToDisplayAsText = locationsToDisplay.join(' / ');\n const numMoreLocations = locations.slice(2).length;\n const numMoreLocationsText = numMoreLocations ? ` / +${numMoreLocations}` : null;\n\n return (\n
  • \n

    \n \n Applied {getLastActiveInterval(new Date(application.createdAt))}\n

    \n

    {application.title}

    \n

    \n ({locationsToDisplayAsText}\n {numMoreLocationsText})\n

    \n
  • \n );\n })}\n \n \n \n )}\n
    \n );\n};\n\nOtherApplicationsPopover.displayName = 'OtherApplicationsPopover';\n","export { OtherApplicationsPopover } from './OtherApplicationsPopover';\nexport type { OtherApplicationsPopoverProps } from './OtherApplicationsPopover.types';\n","import { Fragment, useMemo } from 'react';\nimport { Transition } from '@headlessui/react';\nimport clsx from 'clsx';\nimport type { StatusChangedMessageProps } from './StatusChangedMessage.types';\n\nexport const StatusChangedMessage = (props: StatusChangedMessageProps) => {\n const { statusCategory, show } = props;\n\n const isRejected = statusCategory === 'rejected';\n const isReviewed = statusCategory === 'reviewed';\n\n const tabName = useMemo(() => {\n if (isReviewed) {\n return 'Reviewed';\n }\n if (isRejected) {\n return 'Rejected';\n }\n\n return 'Awaiting Review';\n }, [statusCategory]);\n\n return (\n \n \n Applicant moved to {tabName} tab\n \n \n );\n};\n\nStatusChangedMessage.displayName = 'StatusChangedMessage';\n","export { StatusChangedMessage } from './StatusChangedMessage';\nexport type { StatusChangedMessageProps } from './StatusChangedMessage.types';\n","import { ReactNode, useState } from 'react';\nimport { can } from 'components/casl/EmployerAbility';\nimport { createConversation } from 'util/api/messages';\nimport { fetchMetadata } from 'redux/candidates/actions';\nimport { MessagingApplicantsRequiresSubscriptionModal } from 'features/MessagingApplicantsRequiresSubscriptionModal';\nimport { MessagingApplicantsRequiresUpgradeDialog } from 'features/MessagingApplicantsRequiresUpgradeDialog';\nimport { MessagingApplicantsMessageLimitExceededDialog } from 'features/MessagingApplicantsMessageLimitExceededDialog';\nimport { useRouter } from 'next/router';\nimport { useEmployer } from 'hooks/redux/useEmployer';\nimport { useDispatch } from 'react-redux';\n\ntype UseSendMessageFeatureProps = {\n educatorId: string;\n isEducatorApplicant?: boolean;\n newTab?: boolean;\n};\n\nexport const useSendMessageFeature = (\n props: UseSendMessageFeatureProps,\n): {\n modals: ReactNode;\n handleClick: () => Promise;\n} => {\n const { educatorId, isEducatorApplicant, newTab = false } = props;\n\n const { employer: currentEmployer } = useEmployer();\n const router = useRouter();\n const dispatch = useDispatch();\n\n const [showSubscribeModal, setShowSubscribeModal] = useState(false);\n const [showUpgradePlanModal, setShowUpgradePlanModal] = useState(false);\n const [showLimitModal, setShowLimitModal] = useState(false);\n\n const handleClick = async () => {\n if (currentEmployer?.hasActivePlan()) {\n const employerCanSendMessage = Boolean(can('message', 'candidate') || isEducatorApplicant);\n\n if (employerCanSendMessage) {\n const { data, errors } = (await createConversation({\n id: educatorId,\n type: 'UserProfile',\n })) as {\n data: { id: string };\n errors: Record;\n };\n if (errors) {\n return setShowLimitModal(true);\n }\n\n if (newTab) {\n setTimeout(() => {\n window.open(`/employer/messages?conversation=${data.id}`, '_blank');\n dispatch(fetchMetadata([educatorId]));\n });\n return;\n }\n\n await router.push({\n pathname: '/employer/messages',\n query: { conversation: data.id },\n });\n } else {\n setShowUpgradePlanModal(true);\n }\n } else {\n setShowSubscribeModal(true);\n }\n };\n\n const Component = () => (\n <>\n setShowSubscribeModal(false)}\n />\n\n setShowUpgradePlanModal(false)}\n />\n\n setShowLimitModal(false)}\n />\n \n );\n\n return {\n modals: (\n <>\n setShowSubscribeModal(false)}\n />\n\n setShowUpgradePlanModal(false)}\n />\n\n setShowLimitModal(false)}\n />\n \n ),\n handleClick,\n };\n};\n","import { ReactNode, useMemo, useState } from 'react';\nimport { SendInviteModal } from 'features/EmployerInterviewButton/SendInviteModal';\nimport { CompleteInterviewRequirementsModal } from 'features/CompleteInterviewRequirementsModal';\nimport { InterviewSentModal } from 'features/InterviewSentModal';\nimport { EmployerInterviewEventTypeResource } from 'util/resources/EmployerInterviewEventType';\nimport { UserProfileMetadataResource } from 'util/resources/UserProfileMetadata';\nimport format from 'date-fns/format';\nimport isAfter from 'date-fns/isAfter';\n\ntype UseInviteToInterviewFeatureProps = {\n educatorId: string;\n interviewEventTypes: EmployerInterviewEventTypeResource[];\n hasAvailability: boolean;\n userProfileMetaData: UserProfileMetadataResource;\n};\n\nexport const useInviteToInterviewFeature = (\n props: UseInviteToInterviewFeatureProps,\n): {\n modals: ReactNode;\n handleClick: () => Promise | void;\n text: ReactNode;\n shouldAllowInvitation: boolean;\n} => {\n const { educatorId, interviewEventTypes, userProfileMetaData, hasAvailability } = props;\n\n const hasEventTypes = !!interviewEventTypes?.length;\n const interview = userProfileMetaData?.interview();\n\n const [inviteModalOpen, setInviteModalOpen] = useState(false);\n const [invitationSentModal, setInvitationSentModal] = useState(false);\n const [invitationRequirementsOpen, setInvitationRequirementsOpen] = useState(false);\n\n const handleClick = () => {\n if (!hasEventTypes || !hasAvailability) {\n setInvitationRequirementsOpen(true);\n } else {\n setInviteModalOpen(true);\n }\n };\n\n const modals = (\n <>\n {\n setInviteModalOpen(false);\n }}\n onInviteSend={() => {\n setInviteModalOpen(false);\n setInvitationSentModal(true);\n }}\n educatorId={educatorId}\n interviewEventTypes={interviewEventTypes}\n />\n {\n setInvitationRequirementsOpen(false);\n }}\n hasAvailability={hasAvailability}\n />\n {\n setInvitationSentModal(false);\n }}\n />\n \n );\n\n const shouldAllowInvitation = useMemo(() => {\n const interview = userProfileMetaData?.interview();\n const invitationDateString = userProfileMetaData?.conversation?.lastInterviewMessage?.createdAt;\n\n if (!invitationDateString) {\n return true;\n }\n\n if (interview?.status?.toLowerCase() === 'canceled') {\n return true;\n }\n\n if (interview?.time) {\n const interviewDate = new Date(interview.time);\n const currentDate = new Date();\n return isAfter(currentDate, interviewDate);\n }\n\n return false;\n }, [userProfileMetaData?.conversation?.lastInterviewMessage?.createdAt, interview?.time]);\n\n const text = useMemo(() => {\n const invitationDateString = userProfileMetaData?.conversation?.lastInterviewMessage?.createdAt;\n\n if (!invitationDateString) {\n return null;\n }\n\n if (interview?.status?.toLowerCase() === 'canceled') {\n const cancellationDate = new Date(interview.updatedAt);\n\n switch (interview.canceledByType) {\n case 'UserProfile':\n return (\n

    \n They canceled interview on{' '}\n {format(cancellationDate, 'MM/dd/yy')}\n

    \n );\n case 'EmployerProfile':\n return (\n

    \n You canceled interview on{' '}\n {format(cancellationDate, 'MM/dd/yy')}\n

    \n );\n default:\n return (\n

    \n Interview canceled on {format(cancellationDate, 'MM/dd/yy')}\n

    \n );\n }\n }\n\n if (interview?.time) {\n const interviewDate = new Date(interview.time);\n const currentDate = new Date();\n return isAfter(currentDate, interviewDate) ? (\n

    \n Last interview was on {format(interviewDate, 'MM/dd/yy')}\n

    \n ) : (\n

    \n Interview scheduled for {format(interviewDate, 'MM/dd/yy')}\n

    \n );\n }\n\n return (\n

    \n You sent invite on{' '}\n {format(new Date(invitationDateString), 'MM/dd/yy')}\n

    \n );\n }, [\n userProfileMetaData?.conversation?.lastInterviewMessage?.createdAt,\n interview?.id,\n interview?.status,\n ]);\n\n return {\n modals,\n handleClick,\n text,\n shouldAllowInvitation,\n };\n};\n","import { Checkbox } from 'components/Checkbox';\n\nexport type ApplicantsCheckboxProps = {\n onClick: () => void;\n checked: boolean;\n className?: string;\n};\n\nexport const ApplicantsCheckBox = ({\n onClick,\n checked,\n className = '',\n}: ApplicantsCheckboxProps) => {\n return (\n
    \n \n
    \n );\n};\n\nApplicantsCheckBox.displayName = 'ApplicantsCheckbox';\n","import { Button } from 'components/Button';\nimport { ActionButtonTooltip } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ActionButtons/ActionButtonTooltip';\nimport { ElementType, ReactComponentElement, ReactNode, useEffect, useRef } from 'react';\nimport { EmployerJobApplicationResource } from 'util/resources/EmployerJobApplication';\nimport ReactTooltip from 'react-tooltip';\nimport noop from 'lodash/noop';\n\ntype ActionButtonWithTooltipProps = {\n tooltipId: string;\n tooltipMessage: ReactNode;\n showTooltip: boolean;\n TooltipTargetComponent: ElementType;\n alwaysShow?: boolean;\n background?: 'light' | 'dark';\n children?: ReactNode;\n tooltipTargetComponentProps: object;\n onClose?: () => void;\n};\n\nexport const ActionButtonWithTooltip = ({\n children,\n tooltipId,\n tooltipMessage,\n showTooltip,\n TooltipTargetComponent,\n alwaysShow = false,\n background = 'dark',\n onClose = noop,\n tooltipTargetComponentProps,\n}: ActionButtonWithTooltipProps) => {\n return (\n <>\n {showTooltip ? (\n \n {children}\n \n }\n className=\"font-medium !w-full !bg-neutral-full-white\"\n alwaysShow={alwaysShow}\n background={background}\n onClose={onClose}\n >\n {tooltipMessage}\n \n ) : (\n {children}\n )}\n \n );\n};\n\nActionButtonWithTooltip.displayName = 'ActionButtonWithTooltip';\n","import { Transition } from '@headlessui/react';\nimport { Avatar } from 'components/Avatar';\nimport { IconButton } from 'components/IconButton';\nimport format from 'date-fns/format';\nimport { ViewMoreButtons } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ViewMoreButtons';\nimport { ApplicationStatusDropdown } from 'features/ApplicationStatusDropdown';\nimport { Options } from 'features/ApplicationStatusDropdown/ApplicationStatusDropdown.constants';\nimport { getLastActiveInterval } from 'features/ContactCard/ContactCard.utils';\nimport { UserGraphic } from 'graphics';\nimport { CalendarIcon, ClockIcon, MessageIcon, ViewIcon } from 'icons/outline';\nimport sortBy from 'lodash/sortBy';\nimport { useRouter } from 'next/router';\nimport { Fragment, useContext, useEffect, useMemo, useState } from 'react';\nimport type { ApplicantsTableRowProps } from './ApplicantsTableRow.types';\nimport { MatchScore } from './MatchScore';\nimport { OtherApplicationsPopover } from './OtherApplicationsPopover';\nimport { StatusChangedMessage } from './StatusChangedMessage';\nimport { filters } from 'features/EducatorProfileViews/ApplicantProfile/ApplicationDetails/ApplicationDetails';\nimport { ApplicationStatusYesNo } from 'features/ApplicationStatusYesNo';\nimport clsx from 'clsx';\nimport { useSendMessageFeature } from 'hooks/useSendMessageFeature';\nimport { TrackedCallback } from 'components/TrackedCallback';\nimport { AnalyticsEvents } from 'util/analyticsEvents';\nimport { useInviteToInterviewFeature } from 'hooks/useInviteToInterviewFeature';\nimport { ApplicantsCheckBox } from 'features/ApplicantsTrackingSystem/ApplicantsTable/MassSelectApplicants/ApplicantsCheckBox';\nimport classes from './ApplicantsTableRow.module.css';\nimport { SelectedApplicantsContext } from 'features/ApplicantsTrackingSystem/ApplicantsTable/SelectedApplicantsContext';\nimport { ActionButtonWithTooltip } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ActionButtons/ActionButtonWithTooltip';\nimport { Button } from 'components/Button';\nimport { useCurrentEmployerProfile } from 'hooks/redux/useCurrentEmployerProfile';\n\nexport const ApplicantsTableRow = (props: ApplicantsTableRowProps) => {\n const {\n application,\n dataCy,\n isAwaitingReview,\n fetchApplications,\n userProfileMetaData,\n interviewEventTypes,\n availabilitySlots,\n onView,\n isFirst,\n applicantCheckboxChecked,\n onCheckboxClick,\n } = props;\n\n const { selectedApplicantsCount, isApplicantOnlySelected, isApplicantSelected } =\n useContext(SelectedApplicantsContext);\n const router = useRouter();\n const queryLocationId = router.query.locationId;\n const locationsArr = application.locations().toArray();\n const locations = queryLocationId\n ? sortBy(locationsArr, (loc) => loc.id !== queryLocationId)\n : locationsArr;\n const locationsToDisplay = locations.slice(0, 2);\n const locationsToDisplayAsText = locationsToDisplay.map((loc) => loc.name).join(' / ');\n const numMoreLocations = locations.slice(2).length;\n const numMoreLocationsText = numMoreLocations ? ` / +${numMoreLocations}` : null;\n const applicationStatus: string = application.aasmState;\n\n const [currentStatus, setCurrentStatus] = useState(applicationStatus);\n const [showMoved, setShowMoved] = useState(false);\n const [hideEl, setHideEl] = useState(false);\n\n const person = application.userProfile();\n\n const { modals: messageModals, handleClick: handleMessageClick } = useSendMessageFeature({\n educatorId: person.id,\n isEducatorApplicant: true,\n newTab: true,\n });\n const {\n handleClick: handleInterviewClick,\n modals: interviewModals,\n text: interviewText,\n shouldAllowInvitation,\n } = useInviteToInterviewFeature({\n educatorId: person.id,\n interviewEventTypes,\n hasAvailability: !!availabilitySlots?.length,\n userProfileMetaData,\n });\n\n const optCurrentStatus = useMemo(\n () => Options.find((option) => option.value === currentStatus),\n [currentStatus],\n );\n const optIncomingStatus = useMemo(\n () => Options.find((option) => option.value === applicationStatus),\n [applicationStatus],\n );\n\n useEffect(() => {\n if (currentStatus === applicationStatus || showMoved) {\n return;\n }\n\n if (\n optCurrentStatus.statusCategory !== optIncomingStatus.statusCategory &&\n !application.withdrawn\n ) {\n setShowMoved(true);\n setTimeout(() => setHideEl(true), 4000);\n return;\n }\n setCurrentStatus(applicationStatus);\n return;\n }, [\n applicationStatus,\n application.withdrawn,\n currentStatus,\n optCurrentStatus.statusCategory,\n optIncomingStatus.statusCategory,\n showMoved,\n ]);\n\n const { currentEmployerProfile } = useCurrentEmployerProfile();\n const convoMetadata = userProfileMetaData?.conversation;\n\n const lastMessageBy = useMemo(() => {\n if (\n !convoMetadata?.lastUserProfileMessage?.createdAt &&\n !convoMetadata?.lastEmployerMessage?.createdAt\n ) {\n return null;\n }\n\n if (!convoMetadata?.lastUserProfileMessage?.createdAt) {\n return 'Employer';\n }\n\n if (!convoMetadata?.lastEmployerMessage?.createdAt) {\n return 'UserProfile';\n }\n\n return convoMetadata.lastEmployerMessage.createdAt >=\n convoMetadata.lastUserProfileMessage.createdAt\n ? 'Employer'\n : 'UserProfile';\n }, [\n convoMetadata?.lastUserProfileMessage?.createdAt,\n convoMetadata?.lastEmployerMessage?.createdAt,\n ]);\n\n const convoData = convoMetadata && {\n conversationInitialized: true,\n employerLastMessaged: convoMetadata.lastEmployerMessage?.createdAt,\n userProfileLastMessaged: convoMetadata.lastUserProfileMessage?.createdAt,\n lastMessagedDate:\n convoMetadata.lastUserProfileMessage?.createdAt >\n (convoMetadata.lastEmployerMessage?.createdAt || '1970-01-01')\n ? convoMetadata.lastUserProfileMessage?.createdAt\n : convoMetadata.lastEmployerMessage?.createdAt,\n lastMessage:\n convoMetadata.lastUserProfileMessage?.createdAt >\n (convoMetadata.lastEmployerMessage?.createdAt || '1970-01-01')\n ? convoMetadata.lastUserProfileMessage\n : convoMetadata.lastEmployerMessage,\n educatorHasMessaged: !!convoMetadata.lastUserProfileMessage,\n hasUnreadMessages:\n !!convoMetadata.lastUserProfileMessage && !convoMetadata.lastUserProfileMessage?.readAt,\n lastMessageBy,\n };\n\n const qualificationMatches = application?.qualificationMatches;\n const job = application.jobListing();\n const otherApplications = person.previouslyApplied;\n\n const lastEducationHistory = person.getMostRelevantEducation();\n\n const isOnlySelected = useMemo(() => {\n return isApplicantOnlySelected(application.id);\n }, [application.id, isApplicantOnlySelected]);\n\n const yesNoButtonDisabled = useMemo(() => {\n if (selectedApplicantsCount === 0) {\n return false;\n }\n if (selectedApplicantsCount >= 1) {\n if (isApplicantSelected(application.id)) {\n return false;\n }\n return true;\n }\n\n // fallback\n return false;\n }, [selectedApplicantsCount, isApplicantSelected, application.id]);\n\n return (\n <>\n \n \n \n onCheckboxClick(application.id)}\n />\n \n \n \n
    \n \n
    \n
    \n \n \n \n\n onView(filters.APPLICATION_DETAILS)}\n >\n View applicant\n \n
    \n\n
    \n
    \n
    \n
    \n \n

    Applied {getLastActiveInterval(new Date(application.createdAt))}

    \n
    \n onView(filters.APPLICATION_DETAILS)}\n className=\"text-lg font-bold text-left underline text-neutral-ink-blue underline-offset-4\"\n >\n {person.firstName} {person.lastName}\n \n
    \n
    \n\n
    \n \n
    \n
    \n
    \n
    \n \n \n\n \n
    \n
    \n

    {job.title}

    \n {locationsToDisplayAsText && (\n

    \n ({locationsToDisplayAsText}\n {numMoreLocationsText})\n

    \n )}\n \n
    \n
    \n \n \n {lastEducationHistory ? (\n <>\n

    \n {lastEducationHistory.getEducationTitle()}\n

    \n

    \n {lastEducationHistory.current ? '(In Progress)' : '(Completed)'}\n

    \n \n ) : (\n

    -

    \n )}\n \n \n {isAwaitingReview ? (\n \n ) : (\n \n )}\n \n \n
    \n
    \n 1 || !isOnlySelected}\n TooltipTargetComponent={Button}\n tooltipTargetComponentProps={{\n type: 'button',\n onClick: handleMessageClick,\n size: 'sm',\n fullWidth: true,\n disabled: selectedApplicantsCount > 1 || !isOnlySelected,\n }}\n >\n \n Send message\n \n\n {((convoData && convoData.lastMessagedDate && convoData.lastMessage.data) ||\n null) && (\n

    \n \n {convoData.lastMessageBy === 'Employer' ? 'You' : 'They'}\n {' '}\n last messaged on {format(new Date(convoData?.lastMessagedDate), 'MM/dd/yy')}\n

    \n )}\n
    \n\n
    \n 1 || !isOnlySelected}\n tooltipId=\"invite-to-interview-action-button\"\n tooltipMessage=\"🚫 This action is not allowed because you have multiple applicants selected.\"\n TooltipTargetComponent={Button}\n tooltipTargetComponentProps={{\n type: 'button',\n onClick: handleInterviewClick,\n size: 'sm',\n fullWidth: true,\n disabled:\n !shouldAllowInvitation || selectedApplicantsCount > 1 || !isOnlySelected,\n }}\n >\n \n Invite to interview\n \n\n
    {interviewText}
    \n
    \n
    \n \n \n
    \n \n
    \n \n \n \n\n {messageModals}\n {interviewModals}\n \n );\n};\n\nApplicantsTableRow.displayName = 'ApplicantsTableRow';\n","export { ApplicantsTableRow } from './ApplicantsTableRow';\nexport type { ApplicantsTableRowProps } from './ApplicantsTableRow.types';\n","import { RootStateOrAny, useDispatch, useSelector } from 'react-redux';\nimport type { ApplicantsTableProps } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTable.types';\nimport { LoadingImage } from 'components/LoadingImage';\nimport { Button } from 'components/Button';\nimport { HeaderCell } from 'features/ApplicantsTrackingSystem/ApplicantsTable/HeaderCell';\nimport { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { useRouter } from 'next/router';\nimport { ApplicantDetailsRequiresSubscriptionModal } from 'features/ApplicantDetailsRequiresSubscriptionModal';\nimport { split, uniq } from 'lodash';\nimport { ApplicantsTableRow } from './ApplicantsTableRow';\nimport { postHogCapture } from 'components/analytics/PostHog';\nimport { Paginate } from 'components/Paginate';\nimport { fetchUserProfileMetadata } from 'redux/user_profile_metadata';\nimport { EducatorDrawer } from 'features/EducatorProfileViews/EducatorDrawer';\nimport { EmployerJobApplicationResource } from 'util/resources/EmployerJobApplication';\nimport { useEventTypes } from 'hooks/useEventTypes';\nimport { useAvailabilitySlots } from 'hooks/useAvailabilitySlots';\nimport { filters } from 'features/EducatorProfileViews/ApplicantProfile/ApplicationDetails/ApplicationDetails';\nimport { ApplicantsCheckBox } from 'features/ApplicantsTrackingSystem/ApplicantsTable/MassSelectApplicants/ApplicantsCheckBox';\nimport isEqual from 'lodash/isEqual';\nimport { SelectedApplicantsContext } from 'features/ApplicantsTrackingSystem/ApplicantsTable/SelectedApplicantsContext';\nimport { ActionButtonWithTooltip } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTableRow/ActionButtons/ActionButtonWithTooltip';\nimport clsx from 'clsx';\nimport { useCurrentEmployerProfile } from 'hooks/redux/useCurrentEmployerProfile';\nimport noop from 'lodash/noop';\nimport { ApplicationStatusYesNo } from 'features/ApplicationStatusYesNo';\nimport { ApplicationStatusDropdown } from 'features/ApplicationStatusDropdown';\n\nconst eventCapture = postHogCapture(false);\nconst BORDER_SPACING_Y_IN_PX = 8;\n\nexport const ApplicantsTable = (props: ApplicantsTableProps) => {\n const {\n jobApplications,\n loading,\n total,\n onSort,\n clearFilters,\n currentPage,\n setCurrentPage,\n isAwaitingReview,\n fetchApplications,\n } = props;\n\n const router = useRouter();\n const dispatch = useDispatch();\n const { sort, order } = router.query;\n const [selectedColumn, setSelectedColumn] = useState(sort || 'createdAt');\n const usersMetaData = useSelector((state: RootStateOrAny) => state.userProfileMetadata.items);\n const [openApplicantDrawer, setOpenApplicantDrawer] = useState(false);\n const [selectedApplication, setSelectedApplication] =\n useState(null);\n const [selectedTab, setSelectedTab] = useState(filters.APPLICATION_DETAILS);\n\n const { eventTypes: interviewEventTypes } = useEventTypes();\n const { availabilitySlots } = useAvailabilitySlots();\n\n useEffect(() => {\n if (router.isReady) {\n setSelectedColumn(sort || 'createdAt');\n }\n }, [router.isReady, router.query.sort]);\n\n const [selectedApplicantsCheckboxes, setSelectedApplicantsCheckboxes] = useState(new Set());\n const clearSelectedApplicants = () => setSelectedApplicantsCheckboxes(new Set());\n\n const sortData = (sortBy: string) => {\n let dirVal = 'desc';\n\n if (selectedColumn === sortBy) {\n dirVal = !order || order === 'desc' ? 'asc' : 'desc';\n }\n\n eventCapture('Sort applicants [ATS]', {\n sortBy,\n sortDirection: dirVal,\n });\n\n setSelectedColumn(sortBy);\n clearSelectedApplicants();\n onSort({ sort: sortBy, order: dirVal });\n };\n\n const [open, setOpen] = useState(false);\n\n const applicantsUniqueIds = uniq(\n jobApplications.map((application) => application.userProfile().id),\n );\n const [metaDataUserIds, setMetaDataUserIds] = useState([]);\n\n const applicantUniqueIdsAsPrimitive = JSON.stringify(applicantsUniqueIds);\n const metaDataUserIdsAsPrimitive = JSON.stringify(metaDataUserIds);\n\n useEffect(() => {\n if (\n applicantsUniqueIds.length &&\n metaDataUserIdsAsPrimitive !== applicantUniqueIdsAsPrimitive\n ) {\n dispatch(fetchUserProfileMetadata(applicantsUniqueIds));\n setMetaDataUserIds(applicantsUniqueIds);\n }\n }, [applicantUniqueIdsAsPrimitive, metaDataUserIdsAsPrimitive]);\n\n const filterStatusName = useMemo(() => {\n clearSelectedApplicants();\n if (!router.query.statusCategory) {\n return 'awaiting review';\n }\n\n if (router.query.statusCategory === 'withdrawn') {\n return 'withdrawn';\n }\n\n return split(router.query.statusCategory.toString());\n }, [router.query.statusCategory]);\n\n const tableRef = useRef(null);\n const tableHeight = useMemo(() => {\n if (!tableRef.current?.getBoundingClientRect().top) {\n return 0;\n }\n\n return `calc(100vh - ${\n tableRef.current?.getBoundingClientRect().top\n }px - ${BORDER_SPACING_Y_IN_PX}px)`;\n }, [jobApplications, selectedTab]);\n\n const selectAllApplicantsCheckbox = (jobApplicationIds: Array) => {\n setSelectedApplicantsCheckboxes((prev) => {\n const newSet = new Set(prev);\n\n if (isEqual(new Set(jobApplicationIds), newSet)) {\n jobApplicationIds.forEach((jobApplicationId: string) => {\n newSet.delete(jobApplicationId);\n });\n } else {\n jobApplicationIds.forEach((jobApplicationId: string) => {\n newSet.add(jobApplicationId);\n });\n }\n\n return newSet;\n });\n };\n\n const selectApplicantCheckbox = (jobApplicationId: string) => {\n setSelectedApplicantsCheckboxes((prev) => {\n const newSet = new Set(prev);\n\n if (newSet.has(jobApplicationId)) {\n newSet.delete(jobApplicationId);\n } else {\n newSet.add(jobApplicationId);\n }\n\n return newSet;\n });\n };\n\n const { currentEmployerProfile } = useCurrentEmployerProfile();\n\n const multipleApplicantsTutorialNotification = currentEmployerProfile\n .systemNotifications()\n .toArray()\n .find((notif) => notif.notificationType === 'multiple_applicants_selection_tutorial');\n\n const [\n showMultipleApplicantsTutorialNotification,\n setShowMultipleApplicantsTutorialNotification,\n ] = useState(!!multipleApplicantsTutorialNotification?.id);\n\n const selectedApplicantCheckboxesCount = selectedApplicantsCheckboxes.size;\n\n const isApplicantSelected = useCallback(\n (jobApplicationId: string) => {\n return selectedApplicantsCheckboxes.has(jobApplicationId);\n },\n [selectedApplicantsCheckboxes],\n );\n\n return (\n <>\n {\n return (\n (selectedApplicantsCheckboxes.has(jobApplicationId) &&\n selectedApplicantsCheckboxes.size === 1) ||\n selectedApplicantsCheckboxes.size === 0\n );\n },\n currentPage,\n clearSelectedApplicants,\n deselectApplicant: (jobApplicationId: string) => {\n if (isApplicantSelected(jobApplicationId)) {\n selectApplicantCheckbox(jobApplicationId);\n }\n },\n }}\n >\n setOpen(false)} />\n {\n setOpenApplicantDrawer(false);\n }}\n />\n \n \n \n \n 0,\n })}\n colSpan={0}\n colName={\n
    \n {\n if (!showMultipleApplicantsTutorialNotification) return;\n multipleApplicantsTutorialNotification\n .update({})\n .then((_resp) => {\n setShowMultipleApplicantsTutorialNotification(false);\n })\n .catch(noop);\n }}\n tooltipTargetComponentProps={{\n checked:\n jobApplications.length == selectedApplicantsCheckboxes.size &&\n jobApplications.length > 0,\n onClick: () => {\n selectAllApplicantsCheckbox(jobApplications.map((ja) => ja.id));\n },\n }}\n />\n
    \n }\n />\n 0,\n })}\n colName={'Applicant'}\n />\n 0,\n })}\n />\n 0,\n })}\n />\n {isAwaitingReview ? (\n 0,\n })}\n />\n ) : (\n 0,\n })}\n />\n )}\n 0,\n })}\n />\n 0,\n })}\n />\n
    \n\n \n {selectedApplicantsCheckboxes.size > 1 && (\n <>\n \n \n {selectedApplicantsCheckboxes.size} applicants selected\n \n \n\n \n {isAwaitingReview ? (\n \n ) : (\n \n )}\n \n \n )}\n \n \n\n \n {loading || !jobApplications.length ? (\n \n \n {loading ? (\n \n ) : (\n <>\n {Object.keys(router.query).length &&\n Object.keys(router.query).join() !== 'statusCategory' ? (\n <>\n
    \n

    \n There are no applicants that match the filters provided.\n

    \n \n
    \n \n ) : (\n <>\n {filterStatusName === 'withdrawn' ? (\n <>You don’t have any withdrawn applications\n ) : (\n <>\n You don’t have any applicants marked as “\n {filterStatusName}\n ”\n \n )}\n \n )}\n \n )}\n \n
    \n ) : (\n jobApplications.map((application, i) => {\n const person = application.userProfile();\n const metaData = usersMetaData.find((meta) => meta.id === person.id);\n\n return (\n {\n setSelectedTab(selectedTab);\n setSelectedApplication(application);\n setOpenApplicantDrawer(true);\n }}\n interviewEventTypes={interviewEventTypes}\n availabilitySlots={availabilitySlots}\n isFirst={i === 0}\n applicantCheckboxChecked={selectedApplicantsCheckboxes.has(application.id)}\n onCheckboxClick={selectApplicantCheckbox}\n selectedApplicantsCount={selectedApplicantsCheckboxes.size}\n />\n );\n })\n )}\n\n {!!jobApplications.length && !loading && (\n \n \n \n )}\n \n
    \n {\n clearSelectedApplicants();\n window.scrollTo({ top: 0, behavior: 'smooth' });\n setCurrentPage(page);\n }}\n />\n
    \n \n \n \n );\n};\n\nApplicantsTable.displayName = 'ApplicantsTable';\n","export { ApplicantsTable } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTable';\nexport type { ApplicantsTableProps } from 'features/ApplicantsTrackingSystem/ApplicantsTable/ApplicantsTable.types';\n","import { useEffect, useState } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { fetchApplications } from 'redux/applications/actions';\nimport { fetchJobApplicationsCsv } from 'util/api/employer';\n\ntype FetchApplicantsParams = {\n currentPage: number;\n name: string;\n jobListingId: string;\n locationId: string;\n sortBy: string;\n sortDir: string;\n status: string;\n statusCategory: StatusCategory;\n byWithdrawn: boolean;\n};\n\nconst FILTERS_INITIAL_STATE = {\n job: '',\n locationId: '',\n name: '',\n};\n\nexport interface Filters {\n job: string;\n locationId: string;\n name: string;\n}\n\nexport type StatusCategory =\n | 'awaiting_review'\n | 'reviewed'\n | 'rejected'\n | 'withdrawn'\n | 'change_status';\n\nexport const useApplicantsTrackingFilter = (\n defaultValues: {\n filters?: Partial;\n statusCategory?: StatusCategory;\n page?: number;\n sort?: string;\n order?: string;\n video?: string;\n } = {},\n): {\n setVideo: (value: ((prevState: string) => string) | string) => void;\n filters: { locationId: string; name: string; job: string };\n sort: string;\n clearFilters: () => void;\n video: string;\n statusCategory: StatusCategory;\n setSort: (value: ((prevState: string) => string) | string) => void;\n updateStatusCategory: (newStatusCategory: StatusCategory) => void;\n setOrder: (value: ((prevState: string) => string) | string) => void;\n downloadApplicationsCsvFile: () => void;\n fetchData: () => void;\n fetchDataWithUserFilters: () => void;\n updateFilters: (newFilters: Partial) => void;\n page: number;\n setPage: (value: ((prevState: number) => number) | number) => void;\n order: string;\n} => {\n const [filters, setFilters] = useState({\n job: defaultValues.filters?.job || FILTERS_INITIAL_STATE.job,\n locationId: defaultValues.filters?.locationId || FILTERS_INITIAL_STATE.locationId,\n name: defaultValues.filters?.name || FILTERS_INITIAL_STATE.name,\n });\n const [statusCategory, setStatusCategory] = useState(\n defaultValues.statusCategory || 'awaiting_review',\n );\n const [page, setPage] = useState(defaultValues.page || 1);\n const [sort, setSort] = useState(defaultValues.sort || '');\n const [order, setOrder] = useState(defaultValues.order || '');\n const [video, setVideo] = useState(defaultValues.video);\n\n const dispatch = useDispatch();\n\n const paramsFromFilters: () => FetchApplicantsParams = () => {\n return {\n currentPage: page,\n name: filters.name,\n jobListingId: filters.job,\n locationId: filters.locationId,\n sortBy: sort || 'createdAt',\n sortDir: order || 'desc',\n status,\n statusCategory: statusCategory === 'withdrawn' ? undefined : statusCategory,\n byWithdrawn: statusCategory === 'withdrawn',\n };\n };\n\n const fetchData = () => {\n return dispatch(fetchApplications(paramsFromFilters()));\n };\n\n const fetchDataWithUserFilters = () => {\n return dispatch(fetchApplications(paramsFromFilters(), true));\n };\n\n const downloadApplicationsCsvFile = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n void fetchJobApplicationsCsv(paramsFromFilters());\n };\n\n useEffect(() => {\n fetchData();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [page, filters, statusCategory]);\n\n const updateFilters = (newFilters: Partial) => {\n setFilters({\n ...filters,\n ...newFilters,\n });\n setPage(1);\n };\n\n const clearFilters = () => {\n setFilters(FILTERS_INITIAL_STATE);\n setPage(1);\n setOrder('');\n setSort('');\n setVideo(undefined);\n };\n\n const updateStatusCategory = (newStatusCategory: StatusCategory) => {\n setStatusCategory(newStatusCategory);\n setPage(1);\n setOrder('');\n setSort('');\n };\n\n return {\n filters,\n updateFilters,\n statusCategory,\n updateStatusCategory,\n page,\n setPage,\n sort,\n setSort,\n order,\n setOrder,\n clearFilters,\n fetchData,\n fetchDataWithUserFilters,\n video,\n setVideo,\n downloadApplicationsCsvFile,\n };\n};\n","import { ModalBody } from 'components/Modal/ModalBody';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { Button } from 'components/Button';\nimport { Modal } from 'components/Modal';\nimport { UserProfileResource } from 'util/resources/UserProfile';\nimport { useEffect, useState } from 'react';\nimport { EmployerJobApplication } from 'util/resources';\nimport { StatusCategory } from 'features/ApplicantsTrackingSystem/useApplicantsTrackingFilter';\n\ntype VideoModalProps = {\n userProfileSlug: string;\n onGoToApplicantClick: (userProfileName: string, statusCategory: StatusCategory) => void;\n onClose: () => void;\n};\n\nexport const VideoModal = ({ userProfileSlug, onGoToApplicantClick, onClose }: VideoModalProps) => {\n const [modalRelatedData, setModalRelatedData] = useState<{\n userProfile: UserProfileResource;\n jobApplicationStatusCategory: StatusCategory;\n }>(null);\n const [open, setOpen] = useState(false);\n const getUser = async (userProfileSlug: string) => {\n if (!userProfileSlug) {\n return;\n }\n const response = await EmployerJobApplication.includes(\n 'user_profile',\n 'user_profile.video_ask_answers',\n ).findBy({ applicant_slug: userProfileSlug });\n if (!response) {\n return;\n }\n\n setModalRelatedData({\n userProfile: response.userProfile(),\n jobApplicationStatusCategory: response.statusCategory as StatusCategory,\n });\n setOpen(true);\n };\n\n useEffect(() => {\n void getUser(userProfileSlug);\n }, [userProfileSlug]);\n\n const userProfile = modalRelatedData?.userProfile;\n const userFullName: string = userProfile?.fullName();\n const lastChar = userFullName?.slice(-1);\n const videoAskAnswers = userProfile?.videoAskAnswers().toArray();\n const interviewUrl = videoAskAnswers && videoAskAnswers[0]?.contactShareUrl;\n\n const handleGoToApplicant = () => {\n setOpen(false);\n onGoToApplicantClick(\n modalRelatedData.userProfile.fullName(),\n modalRelatedData.jobApplicationStatusCategory,\n );\n };\n\n return (\n {\n setOpen(false);\n onClose();\n }}\n size=\"xl\"\n overlayDismiss\n heading={`${userFullName}'${\n lastChar === 's' ? '' : 's'\n } Video Response to our interview questions:`}\n >\n \n \n \n \n \n \n \n );\n};\n","import { Fragment, ReactNode } from 'react';\nimport { Dialog, Transition } from '@headlessui/react';\nimport noop from 'lodash/noop';\n\ntype BaseDrawerProps = {\n open: boolean;\n onClose: () => void;\n children: ReactNode;\n};\nexport const BaseDrawer = ({ open = false, onClose = noop, children }: BaseDrawerProps) => {\n return (\n \n \n \n \n \n\n \n {children}\n \n \n \n );\n};\n","import clsx from 'clsx';\nimport { AppliedFilter } from 'redux/shared/filters';\n\ntype ClearFiltersButtonProps = {\n clearFilters: () => void;\n appliedFilters: AppliedFilter[];\n};\nexport const ClearFiltersButton = ({ clearFilters, appliedFilters }: ClearFiltersButtonProps) => {\n return (\n
    \n
    \n

    Filters

    \n {Boolean(appliedFilters?.length) && (\n \n {appliedFilters.length}\n \n )}\n
    \n \n Clear Filters\n \n
    \n );\n};\n","import { SearchTextInput } from 'components/SearchTextInput';\nimport { debounce } from 'lodash';\nimport { ChangeEvent, Ref } from 'react';\nimport { cleanUpInputValue, removeExtraSpaces } from 'util/formatting/string';\nimport { FilterChips } from 'features/SearchEducatorsFilter/FilterChips/FilterChips';\nimport {\n AppliedFilter,\n JobApplicationCheckboxFilterOption,\n JobApplicationsFilter,\n} from 'redux/shared/filters';\n\ntype NameInputProps = {\n textFilter: JobApplicationsFilter;\n textInputRef: Ref;\n handleFilterChange: (\n section: JobApplicationsFilter,\n option: JobApplicationCheckboxFilterOption | string,\n ) => void;\n appliedFilters: AppliedFilter[];\n handleRemoveFilter: (\n section: JobApplicationsFilter,\n option: JobApplicationCheckboxFilterOption,\n ) => void;\n};\nexport const NameInput = ({\n textFilter,\n textInputRef,\n handleFilterChange,\n appliedFilters,\n handleRemoveFilter,\n}: NameInputProps) => {\n return (\n <>\n {['mobile-only', 'desktop-only'].map((className) => (\n ) => {\n handleFilterChange(textFilter, removeExtraSpaces(e.target.value));\n }, 1000)}\n onBlur={cleanUpInputValue()}\n defaultValue={textFilter.value as string}\n ref={textInputRef}\n aria-label=\"Search Educators by Name\"\n />\n ))}\n\n \n \n );\n};\n\nNameInput.displayName = 'NameInput';\n","import { SelectButton } from 'components/SelectButton';\nimport { SortIcon } from 'icons/outline';\n\ntype SortButtonProps = {\n sort: string;\n setSort: (option: string) => void;\n order: string;\n setOrder: (order: string) => void;\n};\nexport const SortButton = ({ sort, setSort, order, setOrder }: SortButtonProps) => {\n const sortButtonProps = {\n defaultValue: {\n id: 'newest_to_oldest',\n label: 'Newest to Oldest',\n value: 'created_at',\n },\n options: [\n {\n id: 'newest_to_oldest',\n label: 'Newest to Oldest (Default)',\n value: 'created_at',\n },\n {\n id: 'oldest_to_newest',\n label: 'Oldest to Newest',\n value: '-created_at',\n },\n {\n id: 'lower_match_score',\n label: 'Lower Match Score',\n value: 'qualification',\n },\n {\n id: 'highest_match_score',\n label: 'Highest Match Score',\n value: '-qualification',\n },\n {\n id: 'last_messaged',\n label: 'Most Recent Message',\n value: '-last_messaged',\n },\n {\n id: 'alphabetically_a_z',\n label: 'Alphabetically (A - Z)',\n value: 'name',\n },\n {\n id: 'alphabetically_z_a',\n label: 'Alphabetically (Z - A)',\n value: '-name',\n },\n ],\n onChange: (option: { id: string; label: string; value: string }) => {\n const value = option.value;\n const order = value.startsWith('-') ? 'desc' : 'asc';\n const sort = value.startsWith('-') ? value.slice(1) : value;\n setSort(sort);\n setOrder(order);\n },\n };\n return (\n
    \n {\n const currentOrder = order === 'desc' ? '-' : '';\n const value = currentOrder + sort;\n return option.value === value;\n }) || sortButtonProps.defaultValue\n }\n value={sortButtonProps.options.find((option) => {\n const currentOrder = order === 'desc' ? '-' : '';\n const value = currentOrder + sort;\n return option.value === value;\n })}\n buttonLabel={\n <>\n \n Sort:\n \n }\n />\n
    \n );\n};\n","import { SelectButton } from 'components/SelectButton';\nimport { ViewIcon } from 'icons/outline';\nimport { useSelector, useDispatch } from 'react-redux';\nimport { JobApplicationsFilter, ApplicationDropdownFilterOptions } from 'redux/shared/filters';\nimport { RootStateOrAny } from 'react-redux';\nimport { changeFilter } from 'redux/applications/actions';\n\nexport const StatusFilterButton = () => {\n const { filters }: { filters: JobApplicationsFilter[] } = useSelector(\n (state: RootStateOrAny) =>\n (state as { applications: { filters: JobApplicationsFilter[] } }).applications,\n );\n const section = filters.find((filter) => filter.id === 'show_status');\n const options = section.options as ApplicationDropdownFilterOptions[];\n const selectedOption =\n options.find((option) => option.selected) || options.find((option) => option.defaultValue);\n\n const dispatch = useDispatch();\n\n return (\n
    \n \n selectedOption?.value !== option.value && dispatch(changeFilter(section, option))\n }\n options={options}\n defaultValue={selectedOption}\n value={selectedOption}\n buttonLabel={\n <>\n \n Show:\n \n }\n />\n
    \n );\n};\n","import { Dispatch, SetStateAction, useMemo, useRef } from 'react';\nimport { CloseIcon } from 'icons/outline';\nimport { useDispatch } from 'react-redux';\nimport { useEmployer } from 'hooks/redux/useEmployer';\nimport { BaseDrawer } from 'features/ApplicantsTrackingSystem/filters/BaseDrawer';\nimport { CheckboxListSection } from 'features/ApplicantsTrackingSystem/filters/CheckboxListSection';\nimport { ClearFiltersButton } from 'features/ApplicantsTrackingSystem/filters/ClearFiltersButton';\nimport { Button } from 'components/Button';\nimport { useCertificationOptions } from 'hooks/redux/useCertificationOptions';\nimport { useGeographies } from 'hooks/redux/useGeographies';\nimport { changeFilter, resetFilters } from 'redux/applications/actions';\nimport { NameInput } from 'features/ApplicantsTrackingSystem/filters/NameInput';\nimport { SortButton } from 'features/ApplicantsTrackingSystem/filters/SortButton';\nimport { StatusFilterButton } from './StatusFilterButton';\nimport {\n AppliedFilter,\n checkboxFiltersGenerator,\n JobApplicationCheckboxFilterOption,\n JobApplicationsFilter,\n} from 'redux/shared/filters';\n\ntype FiltersDrawerProps = {\n open: boolean;\n onClose: () => void;\n filters: JobApplicationsFilter[];\n appliedFilters: AppliedFilter[];\n getApplicationDataUsingFilters: () => void;\n sort: string;\n setSort: Dispatch>;\n order: string;\n setOrder: Dispatch>;\n};\nexport const FiltersDrawer = ({\n open,\n onClose,\n filters,\n appliedFilters,\n getApplicationDataUsingFilters,\n sort,\n setSort,\n order,\n setOrder,\n}: FiltersDrawerProps) => {\n const applyFiltersAndClose = () => {\n getApplicationDataUsingFilters();\n onClose();\n };\n\n const dispatch = useDispatch();\n\n // I need these to be loaded and have their data in the store, so I call these despite not needing anything from\n // them in this specific component\n useCertificationOptions();\n useGeographies();\n\n const { employer } = useEmployer();\n const geographyId = employer?.geographyId;\n\n const textInputRef = useRef(null);\n\n const primitiveAppliedFilters = JSON.stringify(appliedFilters);\n\n const textFilter = useMemo(\n () => filters.find((filter: { type: string }) => filter.type === 'text'),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [primitiveAppliedFilters, filters],\n );\n\n const handleRemoveFilter = (\n section: JobApplicationsFilter,\n option: JobApplicationCheckboxFilterOption,\n ) => {\n dispatch(changeFilter(section, option, 1, '', geographyId));\n };\n\n const handleClearFilters = () => {\n dispatch(resetFilters());\n textInputRef.current.value = '';\n };\n\n const checkboxFilters = useMemo(\n () => checkboxFiltersGenerator(filters, geographyId),\n [geographyId, filters],\n );\n\n const handleFilterChange = (section, option) => {\n dispatch(changeFilter(section, option, 1, '', geographyId));\n };\n\n return (\n \n
    \n \n\n
    \n \n\n {textFilter && (\n \n )}\n\n
    \n
    \n \n \n
    \n
    \n\n {checkboxFilters.map((section) => {\n const activeOptions = section.options.filter((option) => option.checked);\n return (\n \n );\n })}\n
    \n
    \n \n
    \n
    \n
    \n );\n};\n\nFiltersDrawer.displayName = 'FiltersDrawer';\n","import { CloseIcon } from 'icons/outline';\nimport { BannerFilterChipProps } from './BannerFilterChip.types';\nimport classes from './BannerFilterChip.module.css';\nimport clsx from 'clsx';\nimport { useLayoutEffect, useRef, useState } from 'react';\n\nexport const BannerFilterChip = (props: BannerFilterChipProps) => {\n const { onRemove, children, remainingItems = 0, openFiltersDrawer, isLast } = props;\n\n const chipRef = useRef();\n const [visible, setVisible] = useState(true);\n\n useLayoutEffect(() => {\n if (!chipRef || !chipRef.current) {\n return;\n }\n const elem = chipRef.current;\n\n if (!elem || !elem.offsetParent) {\n return;\n }\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n /* @ts-ignore-next-line */\n // eslint-disable-next-line @typescript-eslint/restrict-plus-operands,@typescript-eslint/no-unsafe-assignment\n const elemOffsetAndHeight = elem.offsetParent.offsetTop + elem.offsetTop + elem.clientHeight;\n\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n /* @ts-ignore-next-line */\n // eslint-disable-next-line @typescript-eslint/restrict-plus-operands,@typescript-eslint/no-unsafe-assignment\n const parentOffsetAndHeight = elem.offsetParent.offsetTop + elem.offsetParent.clientHeight;\n\n if (elemOffsetAndHeight > parentOffsetAndHeight - 20) {\n setVisible(false);\n } else {\n setVisible(true);\n }\n }, []);\n\n return (\n \n \n {/* hiding the parent element is not enough, unfortunately*/}\n \n {children}\n \n {onRemove && (\n \n \n \n )}\n \n \n \n +{remainingItems} more\n \n \n \n );\n};\n\nBannerFilterChip.displayName = 'BannerFilterChip';\n","import { BannerFilterChip } from './BannerFilterChip';\nimport { BannerFilterChipsProps } from './BannerFilterChips.types';\nimport { useRef } from 'react';\nimport { FilterIcon } from 'icons/outline';\n\nexport const BannerFilterChips = ({\n appliedFilters,\n onRemoveFilter,\n openFiltersDrawer,\n total,\n}: BannerFilterChipsProps) => {\n const chips = appliedFilters.filter(\n ({ section }) => section.type === 'checkbox' || section.type === 'dropdown',\n );\n const textRef = useRef();\n\n if (!chips.length) {\n return null;\n }\n\n return (\n \n \n \n Filters\n ({total} applicants found):\n \n {chips.map(({ section, option }, index) => (\n {\n onRemoveFilter(section, option);\n }}\n >\n {option.label}\n \n ))}\n \n );\n};\n","import {\n AppliedFilter,\n JobApplicationCheckboxFilterOption,\n JobApplicationsFilter,\n} from 'redux/shared/filters';\nimport { BannerFilterChips } from 'features/ApplicantsTrackingSystem/filters/FiltersBanner/BannerFilterChips';\nimport { changeFilter } from 'redux/applications/actions';\nimport { postHogCapture } from 'components/analytics/PostHog';\nimport { useEmployer } from 'hooks/redux/useEmployer';\nimport { useDispatch } from 'react-redux';\nimport { useCallback, useMemo } from 'react';\nimport debounce from 'lodash/debounce';\n\ntype FiltersBannerProps = {\n bannerOpen: boolean;\n appliedFilters: AppliedFilter[];\n loading: boolean;\n total: number;\n fetchDataWithUserFilters: () => void;\n openFiltersDrawer?: () => void;\n};\nexport const FiltersBanner = ({\n bannerOpen,\n appliedFilters,\n loading,\n total,\n fetchDataWithUserFilters,\n openFiltersDrawer,\n}: FiltersBannerProps) => {\n const { employer } = useEmployer();\n const geographyId = employer?.geographyId;\n const dispatch = useDispatch();\n const eventCapture = postHogCapture(false);\n\n const handleRemoveFilter = useCallback(\n (section: JobApplicationsFilter, option: JobApplicationCheckboxFilterOption) => {\n eventCapture('Remove a filter [School] (Filters Banner)', {\n 'Filter by': section.name,\n 'Filter value': undefined,\n });\n\n dispatch(changeFilter(section, option, 1, '', geographyId, fetchDataWithUserFilters));\n },\n [dispatch, eventCapture, fetchDataWithUserFilters, geographyId],\n );\n\n const debouncedSetFilters = useMemo(\n () => debounce(handleRemoveFilter, 500),\n [handleRemoveFilter],\n );\n\n if (appliedFilters.length === 0 || !bannerOpen || loading) {\n return null;\n }\n\n return (\n
    \n
    \n \n
    \n
    \n );\n};\n\nFiltersBanner.displayName = 'FiltersBanner';\n","import clsx from 'clsx';\nimport sortBy from 'lodash/sortBy';\nimport map from 'lodash/map';\nimport noop from 'lodash/noop';\n\nimport { useRouter } from 'next/router';\nimport { Button } from 'components/Button';\nimport { Select, SelectOption } from 'components/Select';\nimport { postHogCapture } from 'components/analytics/PostHog';\nimport { ApplicantsTable } from './ApplicantsTable';\nimport { AlertIcon, CsvIcon, FilterIcon, ThumbsDownIcon, ThumbsUpIcon } from 'icons/outline';\nimport { ReactNode, useEffect, useMemo, useRef, useState } from 'react';\nimport type { ApplicantsTrackingSystemProps } from './ApplicantsTrackingSystem.types';\nimport { StatusCategory, useApplicantsTrackingFilter } from './useApplicantsTrackingFilter';\nimport { Tag } from 'components/Tag';\nimport { useEmployerJobListings } from 'hooks/useEmployerJobListings';\nimport { VideoModal } from './VideoModal';\nimport { FilterButton } from 'components/FilterButton';\nimport { HiringHeroStatusbar } from 'features/HiringHeroStatusbar';\nimport { useHiringHeroMetric } from 'hooks/redux/useHiringHeroMetric';\nimport { useFeatureFlag } from 'hooks/redux/useFeatureFlag';\nimport { FiltersDrawer } from 'features/ApplicantsTrackingSystem/filters/FiltersDrawer';\nimport { JobApplicationsFilter } from 'redux/shared/filters';\nimport { RootStateOrAny, useSelector } from 'react-redux';\nimport { getAppliedFilters } from 'features/SearchEducatorsFilter/SearchEducatorsFilter.utils';\nimport { FiltersBanner } from 'features/ApplicantsTrackingSystem/filters/FiltersBanner';\n\nconst eventCapture = postHogCapture(false);\n\nconst ALL_JOB_LISTINGS_OPTION = {\n value: '',\n children: 'All job listings',\n};\n\nconst ORDERED_STATUSES = ['open', 'draft', 'closed'];\n\nexport const ApplicantsTrackingSystem = (props: ApplicantsTrackingSystemProps) => {\n const {\n applications: jobApplications = [],\n loading,\n jobApplicationsMeta = {\n reviewedCount: 0,\n awaitingReviewCount: 0,\n rejectedCount: 0,\n withdrawnCount: 0,\n },\n } = props;\n\n const nameInputRef = useRef();\n\n const router = useRouter();\n\n const {\n filters: { job, locationId, name },\n updateFilters,\n clearFilters,\n statusCategory,\n updateStatusCategory,\n page,\n setPage,\n sort,\n setSort,\n order,\n setOrder,\n fetchData,\n fetchDataWithUserFilters,\n video,\n setVideo,\n downloadApplicationsCsvFile,\n } = useApplicantsTrackingFilter({\n filters: {\n job: router.query.job as string,\n locationId: router.query.locationId as string,\n name: router.query.name as string,\n },\n statusCategory: router.query.statusCategory as StatusCategory,\n page: parseInt(router.query.page as string),\n sort: router.query.sort as string,\n order: router.query.order as string,\n video: router.query.video as string,\n });\n\n const { jobs } = useEmployerJobListings({\n includes: ['locations'],\n });\n\n const [noLoading, setNoLoading] = useState(false);\n const [selectedJob, setSelectedJob] = useState<{\n value: string;\n children: ReactNode;\n }>(ALL_JOB_LISTINGS_OPTION);\n const { enabled } = useHiringHeroMetric();\n\n useEffect(() => {\n if (!loading) {\n setNoLoading(false);\n }\n }, [loading]);\n\n useEffect(() => {\n if (!job || !jobs?.length) {\n setSelectedJob(ALL_JOB_LISTINGS_OPTION);\n return noop;\n }\n\n const newJob = jobs.find((jobItem) => jobItem.id === job);\n return setSelectedJob({\n value: newJob.id,\n children: (\n
    \n {newJob.title}\n {newJob.listingStatus === 'open' ? null : (\n \n {newJob.listingStatus.toUpperCase()}\n \n )}\n
    \n ),\n });\n }, [job, jobs]);\n\n useEffect(() => {\n const newQuery: {\n job?: string;\n locationId?: string;\n name?: string;\n statusCategory?: StatusCategory;\n page?: number;\n sort?: string;\n order?: string;\n video?: string;\n } = {};\n\n if (job) {\n newQuery.job = job;\n }\n if (locationId) {\n newQuery.locationId = locationId;\n }\n if (name) {\n newQuery.name = name;\n }\n if (statusCategory && statusCategory !== 'awaiting_review') {\n newQuery.statusCategory = statusCategory;\n }\n if (page && page !== 1) {\n newQuery.page = page;\n }\n if (order) {\n newQuery.order = order;\n }\n if (sort) {\n newQuery.sort = sort;\n }\n\n if (video) {\n newQuery.video = video;\n }\n\n void router.replace({\n pathname: router.pathname,\n query: {\n ...newQuery,\n },\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [job, locationId, name, statusCategory, page, sort, order, video]);\n\n const handleClear = () => {\n clearFilters();\n nameInputRef.current.value = '';\n };\n\n const jobOptions: {\n id: string;\n title: string;\n listingStatus: string;\n listingStatusOrder: number;\n locationText: string;\n }[] = useMemo(\n () =>\n sortBy(\n map(jobs, (job) => ({\n id: job.id,\n title: job.title,\n listingStatus: job.listingStatus,\n listingStatusOrder: ORDERED_STATUSES.indexOf(job.listingStatus),\n locationText: job?.firstLocation?.()\n ? `${job.firstLocation().name} - ${job.getLocationText?.(true)}`\n : '',\n })),\n ['listingStatusOrder', 'title'],\n ),\n [jobs],\n );\n\n const selectedCategoryCount = useMemo(() => {\n switch (statusCategory) {\n case 'awaiting_review':\n return jobApplicationsMeta.awaitingReviewCount;\n case 'reviewed':\n return jobApplicationsMeta.reviewedCount;\n case 'rejected':\n return jobApplicationsMeta.rejectedCount;\n case 'withdrawn':\n return jobApplicationsMeta.withdrawnCount;\n default:\n return 0;\n }\n }, [\n jobApplicationsMeta.awaitingReviewCount,\n jobApplicationsMeta.rejectedCount,\n jobApplicationsMeta.reviewedCount,\n jobApplicationsMeta.withdrawnCount,\n statusCategory,\n ]);\n\n const hasCsvDownload = useFeatureFlag('allow_csv_applicants_download');\n\n const [filterOpen, setFilterOpen] = useState(false);\n\n const onFilterOpen = () => setFilterOpen(true);\n\n const { filters }: { filters: JobApplicationsFilter[] } = useSelector(\n (state: RootStateOrAny) =>\n (state as { applications: { filters: JobApplicationsFilter[] } }).applications,\n );\n\n const appliedFilters = getAppliedFilters(filters);\n\n const [bannerOpen, setBannerOpen] = useState(false);\n const [bannerAppliedFilters, setBannerAppliedFilters] = useState(appliedFilters);\n useEffect(() => {\n setBannerAppliedFilters(appliedFilters);\n\n if (!appliedFilters || appliedFilters.length === 0) {\n setBannerOpen(false);\n return undefined;\n }\n\n setBannerAppliedFilters(appliedFilters);\n setBannerOpen(true);\n return undefined;\n // Here we dont want this to refresh when the filters change, only when the loaded job applications change\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [jobApplications]);\n\n return (\n
    \n
    \n \n
    \n

    \n Applicants\n

    \n\n
    \n {\n eventCapture('Filter by job listing [ATS]');\n updateFilters({ job: newValue.toString() });\n }}\n >\n \n {ALL_JOB_LISTINGS_OPTION.children}\n \n\n {jobOptions.map((option) => {\n return (\n \n \n {option.title}\n {option.listingStatus === 'open' ? null : (\n {option.listingStatus.toUpperCase()}\n )}\n \n \n );\n })}\n \n
    \n {(hasCsvDownload || null) && (\n \n \n Export all\n \n )}\n
    \n
    \n\n \n setFilterOpen(false)}\n filters={filters}\n appliedFilters={appliedFilters}\n getApplicationDataUsingFilters={fetchDataWithUserFilters}\n sort={sort}\n setSort={setSort}\n order={order}\n setOrder={setOrder}\n />\n\n
    \n
    \n {\n if (statusCategory === 'awaiting_review') {\n return;\n }\n eventCapture('View Awaiting Review [ATS]');\n updateStatusCategory('awaiting_review');\n }}\n counter={jobApplicationsMeta.awaitingReviewCount}\n loading={loading}\n >\n Awaiting Review\n \n\n {\n if (statusCategory === 'reviewed') {\n return;\n }\n\n eventCapture('View Reviewed [ATS]');\n updateStatusCategory('reviewed');\n }}\n counter={jobApplicationsMeta.reviewedCount}\n loading={loading}\n >\n Reviewed\n \n\n {\n if (statusCategory === 'rejected') {\n return;\n }\n\n eventCapture('View Rejected [ATS]');\n updateStatusCategory('rejected');\n }}\n counter={jobApplicationsMeta.rejectedCount}\n loading={loading}\n >\n Rejected\n \n\n {\n if (statusCategory === 'withdrawn') {\n return;\n }\n\n eventCapture('View Withdrawn [ATS]');\n updateStatusCategory('withdrawn');\n }}\n counter={jobApplicationsMeta.withdrawnCount}\n loading={loading}\n >\n Withdrawn\n \n
    \n\n
    \n \n \n Filters\n {!!appliedFilters.length && (\n \n {appliedFilters.length}\n \n )}\n \n
    \n
    \n \n\n <>\n {\n updateFilters({\n name: userProfileName,\n });\n\n updateStatusCategory(statusCategory);\n setVideo(undefined);\n }}\n onClose={() => setVideo(undefined)}\n />\n\n {\n setSort(sort);\n setOrder(order);\n }}\n isAwaitingReview={!statusCategory || statusCategory === 'awaiting_review'}\n fetchApplications={() => {\n setNoLoading(true);\n fetchData();\n }}\n />\n \n \n
    \n );\n};\n\nApplicantsTrackingSystem.displayName = 'ApplicantsTrackingSystem';\n","export { ApplicantsTrackingSystem } from './ApplicantsTrackingSystem';\nexport type { ApplicantsTrackingSystemProps } from './ApplicantsTrackingSystem.types';\n","// TODO: remove this eslint bypass\n/* eslint-disable @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access */\nimport { ApplicantsTrackingSystem } from 'features/ApplicantsTrackingSystem';\nimport EmployerLayout from 'components/layouts/employer';\nimport Head from 'next/head';\nimport Authenticated from 'components/auth/Authenticated';\nimport { connect } from 'react-redux';\nimport { fetchApplications } from 'redux/applications/actions';\nimport { AddPaymentMethodModal } from 'components/modals/Stripe/AddPaymentMethodModal';\nimport { TrialEndingSoonModal } from 'features/Stripe/TrialEndingSoonModal';\nimport { TrialEndedModal } from 'features/Stripe/TrialEndedModal';\n\ntype ApplicantsPageProps = {\n applications: any;\n locations: any;\n loading: boolean;\n totalPages: number;\n jobApplicationsMeta: any;\n};\n\nconst ApplicantsPage = (props: ApplicantsPageProps) => {\n const { totalPages, applications, jobApplicationsMeta, locations, loading } = props;\n\n return (\n \n \n \n Applicants - EarlyDay.com\n \n \n \n \n \n \n \n );\n};\n\nApplicantsPage.displayName = 'ApplicantsPage';\n\nfunction mapStateToProps(state) {\n return {\n locations: state.employer.locations,\n loading: state.applications.loading,\n applications: state.applications.jobApplications,\n jobApplicationsMeta: state.applications.meta,\n totalPages: state.applications.totalPages,\n };\n}\n\nexport default connect(mapStateToProps, { fetchApplications })(ApplicantsPage);\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"ApplicantsTableRow_container__dgdKX\",\"prose\":\"ApplicantsTableRow_prose__DriJG\",\"prose-sm\":\"ApplicantsTableRow_prose-sm__ZfVcl\",\"prose-view\":\"ApplicantsTableRow_prose-view__K_0cc\",\"selectedTdBorderFirst\":\"ApplicantsTableRow_selectedTdBorderFirst__RSmyR\",\"unselectedTdBorderFirst\":\"ApplicantsTableRow_unselectedTdBorderFirst__c3Jm1\",\"selectedTdBorderLast\":\"ApplicantsTableRow_selectedTdBorderLast__mudme\",\"unselectedTdBorderLast\":\"ApplicantsTableRow_unselectedTdBorderLast__xPZW5\",\"selectedTdBorder\":\"ApplicantsTableRow_selectedTdBorder__F2knR\",\"unselectedTdBorder\":\"ApplicantsTableRow_unselectedTdBorder__k6MW8\",\"sm:prose\":\"ApplicantsTableRow_sm__prose__UofwA\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"BannerFilterChip_root__ly2Ip\",\"text\":\"BannerFilterChip_text__s5kC5\",\"more-items\":\"BannerFilterChip_more-items__ZNqgV\",\"icon\":\"BannerFilterChip_icon__gHlPw\"};"],"names":["window","__NEXT_P","push","__webpack_require__","ActionButtonTooltip","id","dataTip","children","clickable","delayHide","alwaysShow","background","onClose","noop","param","dataTipRef","useRef","useEffect","ReactTooltip","show","current","backgroundColor","useMemo","spanAlwaysShow","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","div","className","jsx","span","data-tip","ref","data-for","place","effect","offset","left","clsx","border","borderClass","afterHide","CloseIcon","onClick","hide","displayName","HiringHeroProgressbar","value","providedValue","max","props","showTrophy","setShowTrophy","useState","initRef","ratio","Math","min","progressWidth","timeout","setTimeout","ANIMATION_DURATION","clearTimeout","jsx_runtime","data-testid","style","width","concat","transitionDuration","HiringHeroStatusbar","actionText","hideStatsLink","isHiringHero","enabled","metrics","avgProgress","useHiringHeroMetric","receivedApplicants","met","leftElement","Fragment","p","Link","href","AppRoutes","EMPLOYER_HIRING_HERO_STATS_PAGE","ArrowRightLongIcon","useCertificationOptions","dispatch","useDispatch","certificationOptions","useSelector","selectStateCertificationOptions","state","fetchCertificationCategories","HeaderCell","colName","sortName","sortData","isSelected","colSpan","th","scope","SortTableIcon","DownloadPdfButton","userProfile","disabled","debug","label","loading","setLoading","isClickable","button","fetchUserProfileResume","then","catch","console","error","event","hover","LoadingSpinner","PdfIcon","ContactInfoPopoverButton","open","hasObfuscatedData","email","phoneNumber","join","includes","Popover","Button","title","UserIcon","ArrowDownIcon","eventCapture","postHogCapture","ContactInfoPopover","jobApplicationId","copiedSuccessfully","setCopiedSuccessfully","showAlert","setShowAlert","lastChar","firstName","slice","currentEmployerProfile","useCurrentEmployerProfile","copyToClipboard","useCopyToClipboard","onSuccess","onError","Alert","variant","TrackedCallback","Component","callbacks","eventKey","AnalyticsEvents","ATS_CLICK_CONTACT_INFO","payload","job_application_id","employer_profile_id","Transition","as","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo","Panel","Banner","intent","AlertIcon","data-cy","target","EMPLOYER_UPGRADE","PhoneIcon","DuplicateIcon","MailIcon","NotesTutorial","Avatar","name","imageProps","src","defaultImage","NotesTour","setShow","steps","disableBeacon","disableScrolling","hideBackButton","hideCloseButton","content","placement","Joyride","callback","status","type","data","finishedStatuses","STATUS","FINISHED","SKIPPED","RUNNING","EVENTS","TOUR_START","body","document","querySelector","classList","add","scrollTo","top","behavior","remove","run","styles","buttonNext","display","tooltipContent","padding","NotesButtonComponent","notesCount","isFirst","seeNotesTutorialNotification","systemNotifications","toArray","find","sysNotif","notificationType","NotificationType","NOTES_TUTORIAL","update","ChatEllipsisIcon","NotesButton","connect","employer","ViewMoreButtons","onView","selectedApplicantsCount","useContext","SelectedApplicantsContext","disableButton","ATS_CLICK_NOTES","filters","APPLICANT_NOTES","PostHog","eventName","noDebounce","ATS_CLICK_DOWNLOAD_RESUME","WatchInterviewButton","iconClassName","OtherApplicationsPopover","applications","condensed","currentApplicationId","filteredApplications","filter","app","length","sortedApplications","sortBy","Date","createdAt","numOtherApplications","roleText","btnText","map","locations","application","locationsToDisplayAsText","locationsToDisplay","numMoreLocations","li","ClockIcon","getLastActiveInterval","StatusChangedMessage","statusCategory","isRejected","isReviewed","tabName","useSendMessageFeature","educatorId","isEducatorApplicant","newTab","currentEmployer","useEmployer","router","useRouter","showSubscribeModal","setShowSubscribeModal","showUpgradePlanModal","setShowUpgradePlanModal","showLimitModal","setShowLimitModal","handleClick","hasActivePlan","can","errors","createConversation","fetchMetadata","pathname","query","conversation","modals","MessagingApplicantsRequiresSubscriptionModal","MessagingApplicantsRequiresUpgradeDialog","MessagingApplicantsMessageLimitExceededDialog","useInviteToInterviewFeature","userProfileMetaData","interviewEventTypes","hasAvailability","hasEventTypes","interview","inviteModalOpen","setInviteModalOpen","invitationSentModal","setInvitationSentModal","invitationRequirementsOpen","setInvitationRequirementsOpen","SendInviteModal","onInviteSend","CompleteInterviewRequirementsModal","InterviewSentModal","shouldAllowInvitation","lastInterviewMessage","toLowerCase","time","interviewDate","currentDate","isAfter","text","invitationDateString","cancellationDate","updatedAt","canceledByType","format","ApplicantsCheckBox","checked","Checkbox","ActionButtonWithTooltip","tooltipId","tooltipMessage","showTooltip","TooltipTargetComponent","tooltipTargetComponentProps","ApplicantsTableRow","convoMetadata","person","dataCy","isAwaitingReview","fetchApplications","availabilitySlots","applicantCheckboxChecked","onCheckboxClick","isApplicantOnlySelected","isApplicantSelected","queryLocationId","locationId","locationsArr","loc","applicationStatus","aasmState","currentStatus","setCurrentStatus","showMoved","setShowMoved","hideEl","setHideEl","messageModals","handleMessageClick","handleInterviewClick","interviewModals","interviewText","optCurrentStatus","Options","option","optIncomingStatus","withdrawn","lastMessageBy","lastUserProfileMessage","lastEmployerMessage","convoData","conversationInitialized","employerLastMessaged","userProfileLastMessaged","lastMessagedDate","lastMessage","educatorHasMessaged","hasUnreadMessages","readAt","qualificationMatches","job","jobListing","otherApplications","previouslyApplied","lastEducationHistory","getMostRelevantEducation","isOnlySelected","yesNoButtonDisabled","appear","afterLeave","tr","td","classes","fullName","avatar","downloadUrl","objectFit","UserGraphic","IconButton","ATS_CLICK_APPLICANT","current_employer_profile_id","size","shape","Icon","ViewIcon","APPLICATION_DETAILS","lastName","MatchScore","maxRequirements","metRequirementsCount","getEducationTitle","ApplicationStatusYesNo","eventLocation","ApplicationStatusDropdown","posthog","properties","ATS_CLICK_SEND_MESSAGE","fullWidth","MessageIcon","ATS_CLICK_INVITE_TO_INTERVIEW","CalendarIcon","notes","count","ApplicantsTable","jobApplications","total","onSort","clearFilters","currentPage","setCurrentPage","sort","order","selectedColumn","setSelectedColumn","usersMetaData","userProfileMetadata","items","openApplicantDrawer","setOpenApplicantDrawer","selectedApplication","setSelectedApplication","selectedTab","setSelectedTab","eventTypes","useEventTypes","useAvailabilitySlots","isReady","selectedApplicantsCheckboxes","setSelectedApplicantsCheckboxes","Set","clearSelectedApplicants","dirVal","sortDirection","setOpen","applicantsUniqueIds","uniq","metaDataUserIds","setMetaDataUserIds","applicantUniqueIdsAsPrimitive","JSON","stringify","metaDataUserIdsAsPrimitive","fetchUserProfileMetadata","filterStatusName","split","toString","tableRef","tableHeight","getBoundingClientRect","BORDER_SPACING_Y_IN_PX","selectAllApplicantsCheckbox","newSet","prev","isEqual","jobApplicationIds","forEach","delete","selectApplicantCheckbox","has","multipleApplicantsTutorialNotification","notif","showMultipleApplicantsTutorialNotification","setShowMultipleApplicantsTutorialNotification","selectedApplicantCheckboxesCount","useCallback","Provider","selectedApplicants","selectedStatusCategory","deselectApplicant","ApplicantDetailsRequiresSubscriptionModal","EducatorDrawer","applicationId","initialTab","maxHeight","table","thead","ja","allowMassUpdate","tbody","align","LoadingImage","Object","keys","i","metaData","meta","Paginate","pageSize","onPageChange","page","FILTERS_INITIAL_STATE","useApplicantsTrackingFilter","defaultValues","setFilters","setStatusCategory","setPage","setSort","setOrder","video","setVideo","paramsFromFilters","jobListingId","sortDir","undefined","byWithdrawn","fetchData","updateFilters","newFilters","updateStatusCategory","newStatusCategory","fetchDataWithUserFilters","downloadApplicationsCsvFile","fetchJobApplicationsCsv","VideoModal","videoAskAnswers","userProfileSlug","onGoToApplicantClick","modalRelatedData","setModalRelatedData","getUser","response","EmployerJobApplication","findBy","applicant_slug","jobApplicationStatusCategory","userFullName","interviewUrl","contactShareUrl","Modal","overlayDismiss","heading","ModalBody","iframe","allow","height","ModalActions","BaseDrawer","Root","Dialog","Child","Overlay","ClearFiltersButton","appliedFilters","h1","Boolean","NameInput","textFilter","textInputRef","handleFilterChange","handleRemoveFilter","SearchTextInput","placeholder","onChange","debounce","removeExtraSpaces","e","onBlur","cleanUpInputValue","defaultValue","aria-label","FilterChips","onRemoveFilter","SortButton","sortButtonProps","options","startsWith","SelectButton","withCaret","currentOrder","buttonLabel","SortIcon","aria-hidden","StatusFilterButton","section","selectedOption","selected","changeFilter","FiltersDrawer","getApplicationDataUsingFilters","applyFiltersAndClose","useGeographies","geographyId","primitiveAppliedFilters","checkboxFilters","checkboxFiltersGenerator","resetFilters","hr","activeOptions","CheckboxListSection","footer","BannerFilterChip","onRemove","remainingItems","openFiltersDrawer","isLast","chipRef","visible","setVisible","useLayoutEffect","elem","offsetParent","elemOffsetAndHeight","offsetTop","clientHeight","parentOffsetAndHeight","hidden","BannerFilterChips","chips","textRef","FilterIcon","index","FiltersBanner","bannerOpen","debouncedSetFilters","ALL_JOB_LISTINGS_OPTION","ORDERED_STATUSES","ApplicantsTrackingSystem","jobApplicationsMeta","reviewedCount","awaitingReviewCount","rejectedCount","withdrawnCount","nameInputRef","parseInt","jobs","useEmployerJobListings","noLoading","setNoLoading","selectedJob","setSelectedJob","newJob","jobItem","listingStatus","Tag","toUpperCase","newQuery","replace","jobOptions","listingStatusOrder","indexOf","locationText","firstLocation","getLocationText","selectedCategoryCount","hasCsvDownload","useFeatureFlag","filterOpen","setFilterOpen","onFilterOpen","getAppliedFilters","setBannerOpen","bannerAppliedFilters","setBannerAppliedFilters","main","Select","newValue","SelectOption","description","CsvIcon","FilterButton","active","counter","ThumbsUpIcon","ThumbsDownIcon","userProfileName","ApplicantsPage","totalPages","Authenticated","redirectLoggedOut","EmployerLayout","showHiringHeroBanner","Head","AddPaymentMethodModal","TrialEndingSoonModal","TrialEndedModal","applicants","module","exports"],"sourceRoot":""}