{"version":3,"sources":["assets/svg/spinner.svg","apibridge/checkUserSession.ts","utils/index.ts","apibridge/azure-file-upload.ts","api/base.ts","api/apis/account-api.ts","api/apis/audit-api.ts","api/apis/authentication-api.ts","api/apis/checklist-template-api.ts","api/apis/child-safe-standard-api.ts","api/apis/complaint-api.ts","api/apis/complaint-advice-api.ts","api/apis/dashboard-api.ts","api/apis/families-api.ts","api/apis/feedback-api.ts","api/apis/global-api.ts","api/apis/help-desk-api.ts","api/apis/incident-api.ts","api/apis/incident-archive-api.ts","api/apis/invite-api.ts","api/apis/leadership-team-api.ts","api/apis/navigation-api.ts","api/apis/organisation-api.ts","api/apis/payment-api.ts","api/apis/policy-api.ts","api/apis/policy-template-api.ts","api/apis/requests-to-join-api.ts","api/apis/safety-checklist-api.ts","api/apis/staff-api.ts","api/apis/training-api.ts","api/apis/training-module-api.ts","api/apis/upload-api.ts","api/apis/visitors-api.ts","apibridge/index.ts","store/slices/User.ts","store/slices/MainMenu.ts","store/slices/Lists.ts","store/slices/NotificationCount.ts","store/index.ts","utils/GoogleAnalyticsHelper.ts","assets/img/bell.svg","components/LoadingSpinner.tsx","utils/useUpdateTotalNotification.ts","assets/svg/arrow-down.svg","assets/svg/arrow-up.svg","assets/svg/settings-black.svg","assets/svg/logout.svg","assets/svg/alert-circle.svg","assets/svg/early-learning.svg","assets/svg/image-fallback.svg","components/CircleImage.tsx","components/Button.tsx","components/MainMenu.tsx","assets/svg/burger.svg","components/OrganisationLogo.tsx","assets/svg/menu-close.svg","assets/svg/arrow-right.svg","assets/svg/link.svg","assets/svg/login.svg","assets/svg/image-fallback-square.svg","components/OrganisationMenu.tsx","assets/svg/settings.svg","assets/img/logo-main.svg","api/models/domain-certification-review-type.ts","api/models/domain-certification-type.ts","api/models/domain-checklist-action-status.ts","api/models/domain-checklist-status-type.ts","api/models/domain-complaint-logging-type.ts","api/models/domain-complaint-status-type.ts","api/models/domain-feedback-status.ts","api/models/domain-organisation-status.ts","api/models/domain-parent-volunteer-status.ts","api/models/domain-payment-status.ts","api/models/domain-profile-type.ts","components/AccountMenu.tsx","assets/svg/arrow-left.svg","assets/svg/calendar.svg","components/PageName.tsx","components/Layout/LayoutTwoColumn.tsx","components/Layout/LayoutOneColumn.tsx","assets/svg/close-small.svg","components/DateInput.tsx","assets/svg/upload.svg","components/FilesList.tsx","components/GlobalModal.tsx","assets/svg/chevron-down.svg","components/FileUpload.tsx","assets/svg/eye-on.svg","components/SingleSelect.tsx","assets/svg/eye-off.svg","assets/svg/mail-sent.svg","pages/CreateAccount/AccountForm.tsx","assets/svg/tick-circle.svg","assets/svg/alert.svg","pages/CreateAccount/CheckEmail.tsx","pages/CreateAccount/CreateAccount.tsx","assets/svg/celebrate.svg","assets/svg/status-success.svg","pages/Login/LoginForm.tsx","pages/ConfirmEmail/ConfirmEmail.tsx","pages/Login/LoginModal.tsx","pages/Login/Login.tsx","pages/ForgotPassword/ForgotForm.tsx","pages/ForgotPassword/ForgotPassword.tsx","pages/ResetPassword/ResetForm.tsx","pages/ResetPassword/ResetPassword.tsx","pages/Login/LoginCreateModal.tsx","pages/Plans/Plans.tsx","components/FormGroupWithError.tsx","pages/RegisterOrganisation/RegisterOrganisationForm.tsx","pages/RegisterOrganisation/RegisterOrganisation.tsx","pages/AddCertification/Staff/PartOne.tsx","components/DateDayExpiryInput.tsx","pages/AddCertification/ComponentForms/TeacherRegistrationForm.tsx","pages/AddCertification/ComponentForms/WorkingWithChildrenForm.tsx","pages/AddCertification/ComponentForms/ChooseCertification.tsx","components/DisplayDate.tsx","assets/svg/status-warning.svg","assets/svg/status-danger.svg","assets/svg/status-archived.svg","assets/svg/status-read.svg","assets/svg/status-todo.svg","assets/svg/status-training-plus.svg","assets/svg/status-document.svg","assets/svg/status-school.svg","assets/svg/status-community.svg","assets/svg/status-business.svg","assets/svg/download.svg","components/StatusIcon.tsx","assets/svg/plus.svg","components/ExistingCertification.tsx","components/AddLaterRadio.tsx","assets/svg/minus.svg","assets/svg/search.svg","pages/AddCertification/Staff/PartTwo.tsx","pages/AddCertification/Staff/PartThree.tsx","pages/AddCertification/Staff/PartFour.tsx","pages/AddCertification/Staff/PartFive.tsx","pages/AddCertification/ComponentForms/CertificationSuccess.tsx","components/ErrorMessage.tsx","pages/AddCertification/Staff/CertificationStaff.tsx","pages/AddCertification/Parent/CertificationParent.tsx","pages/AddCertification/Visitor/PartOne.tsx","pages/AddCertification/Visitor/certificationVisitor.tsx","pages/AddCertification/Student/CertificationStudent.tsx","pages/AddCertification/AddCertification.tsx","pages/Dashboard/ActivityFeedModal.tsx","components/SearchOrganisation.tsx","pages/FindOrganisation/FindOrganisation.tsx","components/DisplayDateTime.tsx","components/SafeHtml.tsx","components/DownloadLink.tsx","pages/Dashboard/ReadActivity.tsx","components/MultiSelect.tsx","components/DateTimeInput.tsx","pages/Dashboard/UpdateActivity.tsx","pages/Dashboard/DeleteActivity.tsx","assets/svg/chevron-left-purple.svg","pages/Dashboard/ActivityFeed.tsx","assets/img/welcome-background.png","assets/img/welcome-dashboard-leader.png","assets/img/welcome-dashboard-staff.png","assets/img/welcome-dashboard-family-visitor.png","assets/img/welcome-side-menu-leader.png","assets/img/welcome-side-menu-standard.png","assets/img/welcome-activity-feed.png","assets/img/welcome-switch-org.png","assets/img/welcome-complete.png","assets/svg/chevron-right-purple.svg","assets/svg/purple-dot.svg","assets/svg/grey-dot.svg","assets/svg/dashboard-complete.svg","pages/Dashboard/WelcomeModal.tsx","assets/svg/edit.svg","pages/Dashboard/Dashboard.tsx","components/ScrollToTopButton.tsx","components/EditProfileImage.tsx","components/DisplayPhoneNumber.tsx","assets/svg/Information.svg","components/ProfileSummary.tsx","components/ProfileLinkedAccounts.tsx","pages/MyAccount/Modals/AccountPasswordModal.tsx","pages/MyAccount/Modals/RequestVolunteerModal.tsx","pages/MyAccount/Modals/InviteToLinkModal.tsx","pages/MyAccount/Modals/AccountEmailModal.tsx","pages/MyAccount/Modals/RemoveModal.tsx","components/MyAccountOrganisations.tsx","pages/MyAccount/Modals/DocumentModal.tsx","pages/MyAccount/Modals/AccountPhoneModal.tsx","pages/MyAccount/MyAccount.tsx","pages/LinkAccount/LinkAccount.tsx","components/SearchInput.tsx","pages/Staff/RoleListItem.tsx","pages/Staff/RoleList.tsx","pages/Staff/Staff.tsx","pages/StaffProfile/AddDocumentModal.tsx","pages/StaffProfile/CitedDocumentModal.tsx","components/ProfileCertifications.tsx","components/ProfileOrganisations.tsx","components/ProfileComplaints.tsx","components/ProfileFeedback.tsx","components/ProfileIncidents.tsx","components/ProfilePolicies.tsx","components/ProfileChecklists.tsx","components/ProfileTraining.tsx","pages/StaffProfile/RemoveStaffModal.tsx","assets/svg/shield-color.svg","pages/StaffProfile/StaffProfile.tsx","components/SearchLeadershipTeam.tsx","pages/LeadershipTeam/RemoveModal.tsx","pages/LeadershipTeam/LeadershipTeam.tsx","assets/svg/shield-grey.svg","Interfaces.ts","pages/Families/Families.tsx","pages/FamiliesProfile/RemoveFamiliesMemberModal.tsx","pages/FamiliesProfile/ChildrenCheckModal.tsx","pages/FamiliesProfile/FamiliesProfile.tsx","components/NoInfoMessage.tsx","pages/Visitors/Visitors.tsx","pages/VisitorsProfile/RemoveVisitorModal.tsx","pages/VisitorsProfile/ChildrenCheckModal.tsx","pages/VisitorsProfile/VisitorsProfile.tsx","components/DisplayTimeFromNow.tsx","pages/RequestsToJoin/RequestsToJoinItem.tsx","assets/svg/arrow-down-white.svg","pages/RequestsToJoin/RequestsToJoinItemList.tsx","pages/RequestsToJoin/RequestsToJoin.tsx","components/DisplayDateExpiry.tsx","pages/RequestsToJoinDetail/DetailModal.tsx","pages/RequestsToJoinDetail/ApproveModal.tsx","pages/RequestsToJoinDetail/DenyModal.tsx","pages/RequestsToJoinDetail/RequestsToJoinDetail.tsx","pages/InviteToJoin/InviteItem.tsx","pages/InviteToJoin/InviteToJoin.tsx","assets/svg/training-icon.svg","components/Accordion.tsx","pages/ChildSafeStandards/ChildSafeStandards.tsx","pages/ChildSafetyStandardsDetail/ChildSafeStandardsDetail.tsx","pages/Training/AdditionalTrainingModal.tsx","pages/Training/EditDeadlineModal.tsx","pages/Training/RemoveModal.tsx","assets/svg/switch-user.svg","pages/Training/AssignTrainingModal.tsx","pages/Training/AssignAllTrainingModal.tsx","assets/svg/switch.svg","assets/svg/drag-down.svg","pages/Training/Training.tsx","pages/TrainingDetail/CompleteModal.tsx","pages/TrainingDetail/TrainingDetail.tsx","pages/SafetyChecklists/SafetyChecklists.tsx","pages/SafetyChecklistsNewChecklist/SafetyChecklistsNewChecklist.tsx","pages/SafetyChecklistsTemplatesPreview/SafetyChecklistsTemplatesPreview.tsx","pages/SafetyChecklistsSubmit/RemoveModal.tsx","assets/svg/drag.svg","assets/svg/drag-up.svg","assets/svg/chevron-left.svg","components/DisplayDragIcon.tsx","pages/SafetyChecklistsSubmit/ChecklistItem.tsx","pages/SafetyChecklistsSubmit/StepOne.tsx","assets/svg/chevron-right.svg","pages/SafetyChecklistsSubmit/StepTwo.tsx","assets/svg/comments.svg","pages/SafetyChecklistsSubmit/SafetyChecklistsSubmit.tsx","pages/SafetyChecklistsDetail/CommentModal.tsx","pages/SafetyChecklistsDetail/AttachmentModal.tsx","assets/svg/attachment.svg","assets/svg/tick-icon.svg","assets/svg/plus-icon.svg","assets/svg/questionmark.svg","assets/svg/device.svg","pages/SafetyChecklistsDetail/SafetyChecklistsDetail.tsx","pages/Policies/AcceptModal.tsx","assets/svg/document.svg","pages/Policies/Policies.tsx","pages/FeedbackDetail/FeedbackProgress/FeedbackProgressModal.tsx","pages/PolicyTemplates/PolicyTemplates.tsx","pages/PolicySubmit/ArchiveModal.tsx","pages/PolicySubmit/ReInstateModal.tsx","pages/PolicySubmit/PolicySubmit.tsx","pages/Feedback/Feedback.tsx","pages/FeedbackDetail/FeedbackProgress/ReadActivity.tsx","pages/FeedbackDetail/FeedbackProgress/UpdateActivity.tsx","assets/svg/anonymous-icon.svg","pages/FeedbackDetail/FeedbackProgress/FeedbackProgress.tsx","pages/FeedbackDetail/ResolveModal.tsx","pages/FeedbackDetail/WithdrawModal.tsx","pages/FeedbackDetail/FeedbackDetail.tsx","pages/FeedbackSubmit/StepOne.tsx","assets/svg/tick.svg","pages/FeedbackSubmit/StepTwo.tsx","pages/FeedbackSubmit/FeedbackSubmit.tsx","pages/IncidentReports/IncidentReports.tsx","components/DownloadRemoveLink.tsx","pages/IncidentReportsDetailArchive/AcceptModal.tsx","pages/IncidentReportsDetailArchive/AcknowledgeModal.tsx","assets/svg/tick-success.svg","assets/svg/envelope-icon.svg","assets/svg/email.svg","pages/IncidentReportsDetailArchive/IncidentReportsDetail.tsx","pages/IncidentReportsDetail/AcceptModal.tsx","pages/IncidentReportsDetail/AcknowledgeModal.tsx","pages/IncidentReportsDetail/IncidentReportsDetail.tsx","pages/IncidentSubmitArchive/StepOne.tsx","pages/IncidentSubmitArchive/SearchOtherRecipients.tsx","pages/ComplaintsDetail/ComplaintsProgress/ComplaintsProgressModal.tsx","pages/IncidentSubmitArchive/StepTwo.tsx","pages/IncidentSubmitArchive/StepThree.tsx","pages/IncidentSubmitArchive/IncidentSubmit.tsx","pages/Complaints/Complaints.tsx","pages/ComplaintsDetail/ComplaintsProgress/ReadActivity.tsx","pages/ComplaintsDetail/ComplaintsProgress/UpdateActivity.tsx","pages/ComplaintsDetail/ComplaintsProgress/DeleteActivity.tsx","assets/svg/note-icon.svg","pages/ComplaintsDetail/ComplaintsProgress/ComplaintsProgress.tsx","pages/ComplaintsDetail/Modals/ResolveModal.tsx","pages/ComplaintsDetail/Modals/ReviewResolutionModal.tsx","pages/ComplaintsDetail/Modals/ViewResolutionModal.tsx","pages/ComplaintsDetail/Modals/ReOpenModal.tsx","pages/ComplaintsDetail/Modals/WithdrawComplaintModal.tsx","pages/ComplaintsDetail/Modals/EditResolutionModal.tsx","pages/ComplaintsDetail/SearchAdditionalStaff.tsx","pages/ComplaintsDetail/Modals/RemoveModal.tsx","assets/svg/bill-children.svg","pages/ComplaintsDetail/ComplaintsDetail.tsx","pages/ComplaintsAdviceTemplates/ComplaintsAdviceTemplates.tsx","pages/ComplaintsSubmit/StepOne.tsx","pages/ComplaintsSubmit/StepTwo.tsx","pages/ComplaintsSubmit/StepThree.tsx","pages/ComplaintsSubmit/ComplaintsSubmit.tsx","assets/img/spinner.gif","pages/Audit/Audit.tsx","pages/Settings/EditLogoModal.tsx","pages/Settings/CancelPlanModal.tsx","pages/Settings/UpdateNumberOfChildrenModal.tsx","assets/svg/bill-receipt.svg","assets/svg/tick-purple.svg","pages/Settings/Settings.tsx","pages/HelpDesk/HelpDesk.tsx","pages/HelpDeskDetail/HelpDeskDetail.tsx","pages/Companies/ActivateModal.tsx","pages/Companies/Companies.tsx","components/SearchOrganisationMembers.tsx","pages/CompaniesDetail/AdminsModal.tsx","pages/CompaniesDetail/DeActivateModal.tsx","pages/CompaniesDetail/EnableModal.tsx","pages/CompaniesDetail/CompaniesDetail.tsx","components/CircleText.tsx","pages/ContentTrainingModule/RemoveModal.tsx","pages/ContentTrainingModule/ContentTrainingModule.tsx","pages/ContentTrainingModuleDetail/VideoModal.tsx","components/FormCheckBox.tsx","pages/ContentTrainingModuleDetail/ContentTrainingModuleDetail.tsx","pages/ContentPolicyTemplates/RemoveModal.tsx","pages/ContentPolicyTemplates/ContentPolicyTemplates.tsx","pages/ContentPolicyTemplatesDetail/ContentPolicyTemplatesDetail.tsx","pages/ContentChecklistTemplates/RemoveModal.tsx","pages/ContentChecklistTemplates/ContentChecklistTemplates.tsx","pages/ContentChecklistTemplatesDetail/ChecklistItem.tsx","pages/ContentChecklistTemplatesDetail/ContentChecklistTemplatesDetail.tsx","pages/ContentComplaintsAdvice/RemoveModal.tsx","pages/ContentComplaintsAdvice/ContentComplaintsAdvice.tsx","pages/ContentComplaintsAdviceDetail/ContentComplaintsAdviceDetail.tsx","pages/ContentChildSafeStandards/RemoveModal.tsx","pages/ContentChildSafeStandards/ContentChildSafeStandards.tsx","pages/ContentChildSafeStandardsDetail/ContentChildSafeStandardsDetail.tsx","pages/ContentHelpDesk/RemoveModal.tsx","pages/ContentHelpDesk/ContentHelpDesk.tsx","pages/ContentHelpDeskDetail/ContentHelpDeskDetail.tsx","pages/MyAccount/ConfirmNewEmail.tsx","pages/LandingDashboard/LandingDashboard.tsx","pages/Errors/ProfileError.tsx","assets/svg/checklist.svg","pages/LinkAccount/LinkSuccess.tsx","pages/IncidentReportLinking/IncidentReportLinking.tsx","pages/Attachment/Attachment.tsx","pages/RegisterOrganisation/RegisterOrganisationSummary.tsx","assets/svg/twoFA.svg","pages/CreateAccount/ParentConfirm.tsx","pages/Login/TwoFactorAuthentication.tsx","pages/TrainingSubmit/VideoModal.tsx","pages/TrainingSubmit/RemoveModal.tsx","pages/TrainingSubmit/TrainingSubmit.tsx","pages/IncidentSubmit/Modals/AddWitnessModal.tsx","pages/IncidentSubmit/StepOne.tsx","pages/IncidentSubmit/Modals/AddMedicationModal.tsx","pages/IncidentSubmit/Modals/AddMedicalPersonnelModal.tsx","pages/IncidentSubmit/Modals/AddEmergencyServiceModal.tsx","pages/IncidentSubmit/StepTwo.tsx","pages/IncidentSubmit/SearchOtherRecipients.tsx","pages/IncidentSubmit/Modals/AddIndividualModal.tsx","pages/IncidentSubmit/Modals/AddAuthorityModal.tsx","pages/IncidentSubmit/StepThree.tsx","pages/IncidentSubmit/StepFour.tsx","pages/IncidentSubmit/Modals/ExitConfirmationModal.tsx","pages/IncidentSubmit/IncidentSubmit.tsx","pages/IncidentReportLinkingArchive/IncidentReportLinkingArchive.tsx","App.tsx","index.tsx"],"names":["_path","userSession","comparisonCheckForUser","set","token","check","localStorage","getItem","window","location","reload","setUserSession","checkUserSession","listenForOutsideClicks","elementRef","isOpen","setIsOpen","checkClickOutside","e","current","contains","target","React","forEach","type","document","addEventListener","removeEventListener","queryStringToObject","str","queryString","search","queryObject","slice","split","map","p","decodeURIComponent","key","value","validationErrorsToString","validationErrors","entry","reason","sort","join","checkAndLogErrors","response","length","console","log","message","formatToCurrency","val","currentVal","toFixed","replace","SITE_KEY","loadScriptByURL","id","callback","url","isScriptExist","getElementById","script","createElement","src","async","defer","onload","body","appendChild","emailRegex","rteSettings","modules","toolbar","header","font","size","color","background","indent","direction","align","list","formats","azureFileUpload","file","credentials","progressCallback","a","sasUri","fileName","blockBlobClient","BlockBlobClient","options","blobHTTPHeaders","blobContentType","onProgress","event","loadedBytes","uploadData","setMetadata","OriginalFileName","name","ContentDisposition","BASE_PATH","BaseAPI","configuration","basePath","axios","globalAxios","this","AccountApiAxiosParamCreator","Error","apiAccountCertificationGet","localVarPath","localVarUrlObj","URL","baseOptions","localVarRequestOptions","method","localVarHeaderParameter","localVarQueryParameter","apiKey","localVarApiKeyValue","undefined","query","URLSearchParams","toString","headersFromBaseOptions","headers","pathname","hash","apiAccountCertificationPost","needsSerialization","data","JSON","stringify","apiAccountCertificationassetGet","apiAccountChangeemailPost","apiAccountEditphonenumberPost","apiAccountEditprofileimagePost","apiAccountEmailchangerequestPost","apiAccountEmailverificationPost","apiAccountExistingcertificationsGet","apiAccountJoinorganisationPost","apiAccountLinkaccountsPost","apiAccountLinkchildnamePost","apiAccountLinkrequestGet","apiAccountLinkrequestapprovePost","apiAccountLinkrequestrejectPost","apiAccountLinkrequestremovePost","apiAccountLinkrequestrevokePost","apiAccountMyaccountGet","apiAccountParentverificationGet","email","organisationIdentifier","apiAccountParentverificationPost","apiAccountProfileimageassetGet","cacheKey","apiAccountRegisterPost","apiAccountSendemailverificationPost","apiAccountSendparentverificationPost","apiAccountUserGet","apiAccountVolunteerremovePost","apiAccountVolunteerrequestGet","userProfileId","apiAccountVolunteerrequestPost","apiAccountVolunteerrevokePost","apiAccountWalkthroughcompletePost","AccountApiFp","localVarAxiosArgs","axiosRequestArgs","request","AccountApi","then","AuditApiAxiosParamCreator","apiAuditAssetGet","apiAuditGeneratePost","apiAuditReadyGet","requestId","AuditApiFp","AuditApi","AuthenticationApiAxiosParamCreator","apiAuthenticationChangepasswordPost","apiAuthenticationForgotpasswordPost","apiAuthenticationLoginPost","apiAuthenticationResendtwofactortokenPost","apiAuthenticationResetpasswordPost","apiAuthenticationSwitchprofilePost","apiAuthenticationTokenrefreshPost","apiAuthenticationValidatetwofactorPost","AuthenticationApiFp","AuthenticationApi","ChecklistTemplateApiAxiosParamCreator","apiChecklisttemplateDashboardGet","apiChecklisttemplateDeletePost","apiChecklisttemplateEditGet","apiChecklisttemplateEditPost","apiChecklisttemplateReorderPost","ChecklistTemplateApiFp","ChecklistTemplateApi","ChildSafeStandardApiAxiosParamCreator","apiChildsafestandardAdmindashboardGet","apiChildsafestandardDeletePost","apiChildsafestandardEditGet","apiChildsafestandardEditPost","apiChildsafestandardFetchGet","apiChildsafestandardReorderPost","apiChildsafestandardUserdashboardGet","ChildSafeStandardApiFp","ChildSafeStandardApi","ComplaintApiAxiosParamCreator","apiComplaintAcceptresolutionGet","apiComplaintAcceptresolutionPost","apiComplaintActionassetGet","apiComplaintActionsGet","apiComplaintAddstaffPost","apiComplaintAdmindashboardGet","apiComplaintAssetGet","apiComplaintComplaintadviceGet","apiComplaintCreatePost","apiComplaintEditactionGet","apiComplaintEditactionPost","apiComplaintFetchGet","apiComplaintMembercandidatesGet","apiComplaintRemoveactionPost","apiComplaintRemovefamilymemberPost","apiComplaintReopenPost","apiComplaintResolutionGet","apiComplaintResolutionPost","apiComplaintReviewPost","apiComplaintStaffcandidatesGet","searchTerm","apiComplaintSummarypdfassetGet","apiComplaintUserdashboardGet","apiComplaintWithdrawPost","ComplaintApiFp","ComplaintApi","ComplaintAdviceApiAxiosParamCreator","apiComplaintadviceAssetGet","apiComplaintadviceDashboardGet","apiComplaintadviceDeletePost","apiComplaintadviceEditGet","apiComplaintadviceEditPost","apiComplaintadviceReorderPost","ComplaintAdviceApiFp","ComplaintAdviceApi","DashboardApiAxiosParamCreator","apiDashboardActivityfeedGet","apiDashboardActivityfeedPost","apiDashboardActivityfeedassetGet","apiDashboardRemoveactivityfeedPost","apiDashboardSectionsummariesGet","DashboardApiFp","DashboardApi","FamiliesApiAxiosParamCreator","apiFamiliesDashboardGet","apiFamiliesDisableprofilePost","apiFamiliesFetchGet","FamiliesApiFp","FamiliesApi","FeedbackApiAxiosParamCreator","apiFeedbackActionassetGet","apiFeedbackActionsGet","apiFeedbackAdmindashboardGet","apiFeedbackAssetGet","apiFeedbackCreatePost","apiFeedbackFetchGet","apiFeedbackLogactionPost","apiFeedbackResolvePost","apiFeedbackSummarypdfassetGet","apiFeedbackUserdashboardGet","apiFeedbackWithdrawPost","FeedbackApiFp","FeedbackApi","GlobalApiAxiosParamCreator","apiGlobalLookupsGet","GlobalApiFp","GlobalApi","HelpDeskApiAxiosParamCreator","apiHelpdeskAdmindashboardGet","apiHelpdeskDeletePost","apiHelpdeskEditGet","apiHelpdeskEditPost","apiHelpdeskFetchGet","apiHelpdeskReorderPost","apiHelpdeskUserdashboardGet","HelpDeskApiFp","HelpDeskApi","IncidentApiAxiosParamCreator","apiIncidentAcknowledgePost","apiIncidentAcknowledgeassetGet","apiIncidentAcknowledgeonbehalfGet","recipientId","apiIncidentAcknowledgeonbehalfPost","apiIncidentAdmindashboardGet","apiIncidentAssetGet","apiIncidentEditGet","apiIncidentEditPost","apiIncidentLinkincidentPost","apiIncidentLinkrequestGet","apiIncidentRecipientsGet","apiIncidentSummarypdfassetGet","apiIncidentUserdashboardGet","IncidentApiFp","IncidentApi","IncidentArchiveApiAxiosParamCreator","apiIncidentarchiveAcknowledgePost","apiIncidentarchiveAcknowledgeassetGet","apiIncidentarchiveAcknowledgeonbehalfGet","apiIncidentarchiveAcknowledgeonbehalfPost","apiIncidentarchiveAdmindashboardGet","apiIncidentarchiveAssetGet","apiIncidentarchiveEditGet","apiIncidentarchiveEditPost","apiIncidentarchiveLinkincidentPost","apiIncidentarchiveLinkrequestGet","apiIncidentarchiveRecipientsGet","apiIncidentarchiveSummarypdfassetGet","apiIncidentarchiveUserdashboardGet","IncidentArchiveApiFp","IncidentArchiveApi","InviteApiAxiosParamCreator","apiInviteInvitelinksGet","InviteApiFp","InviteApi","LeadershipTeamApiAxiosParamCreator","apiLeadershipteamAssignPost","apiLeadershipteamMembersGet","apiLeadershipteamSearchGet","apiLeadershipteamUnassignPost","LeadershipTeamApiFp","LeadershipTeamApi","NavigationApiAxiosParamCreator","apiNavigationActiontickerGet","apiNavigationMenuaccessrightsGet","NavigationApiFp","NavigationApi","OrganisationApiAxiosParamCreator","apiOrganisationActivatePost","apiOrganisationAddadministratorPost","apiOrganisationAddressGet","apiOrganisationAddressPost","apiOrganisationAdministratorcandidatesGet","organisationId","apiOrganisationAdministratorsGet","apiOrganisationAustralianbusinessnumberGet","australianBusinessNumber","apiOrganisationAvailableprofilesGet","apiOrganisationCancelplanPost","apiOrganisationDeactivatePost","apiOrganisationDetailsGet","apiOrganisationEditprofileimagePost","apiOrganisationFindGet","apiOrganisationListGet","apiOrganisationNumberofchildrenPost","apiOrganisationPaymentinfoGet","apiOrganisationPaymentinfoPost","apiOrganisationPaymentmethodPost","apiOrganisationProfileimageassetGet","apiOrganisationRegistrationGet","apiOrganisationRegistrationPost","apiOrganisationRemoveadministratorPost","apiOrganisationSearchGet","apiOrganisationSettingsGet","OrganisationApiFp","OrganisationApi","PaymentApiAxiosParamCreator","apiPaymentCreatePost","apiPaymentCustomerPost","apiPaymentPlansGet","apiPaymentWebhookPost","PaymentApiFp","PaymentApi","PolicyApiAxiosParamCreator","apiPolicyAcknowledgePost","apiPolicyAdmindashboardGet","apiPolicyArchivePost","apiPolicyEditGet","apiPolicyEditPost","apiPolicyPolicytemplatesGet","apiPolicyReinstatePost","apiPolicyUserdashboardGet","apiPolicyVersionassetGet","PolicyApiFp","PolicyApi","PolicyTemplateApiAxiosParamCreator","apiPolicytemplateAssetGet","apiPolicytemplateDashboardGet","apiPolicytemplateDeletePost","apiPolicytemplateEditGet","apiPolicytemplateEditPost","apiPolicytemplateReorderPost","PolicyTemplateApiFp","PolicyTemplateApi","RequestsToJoinApiAxiosParamCreator","apiRequeststojoinApprovePost","apiRequeststojoinCitecertificationPost","apiRequeststojoinDenyPost","apiRequeststojoinFetchGet","profileId","apiRequeststojoinOrganisationadminPost","apiRequeststojoinPendingrequestsGet","apiRequeststojoinReviewcertificationGet","apiRequeststojoinStafftypePost","apiRequeststojoinVolunteerapprovePost","apiRequeststojoinVolunteerdenyPost","RequestsToJoinApiFp","RequestsToJoinApi","SafetyChecklistApiAxiosParamCreator","apiSafetychecklistActionPost","apiSafetychecklistAdmindashboardGet","apiSafetychecklistAllassetsGet","apiSafetychecklistApprovePost","apiSafetychecklistApproversGet","apiSafetychecklistAssetGet","apiSafetychecklistAttachmentdeletePost","apiSafetychecklistAttachmentsGet","apiSafetychecklistAttachmentuploadPost","apiSafetychecklistChecklistGet","apiSafetychecklistCommentGet","apiSafetychecklistCommentPost","apiSafetychecklistEditGet","checklistId","templateId","checklistTemplateId","apiSafetychecklistEditPost","apiSafetychecklistEnableeditPost","apiSafetychecklistSubmitPost","apiSafetychecklistSummarypdfassetGet","apiSafetychecklistTemplateGet","apiSafetychecklistTemplatesGet","apiSafetychecklistUserdashboardGet","SafetyChecklistApiFp","SafetyChecklistApi","StaffApiAxiosParamCreator","apiStaffDashboardGet","apiStaffDisableprofilePost","apiStaffFetchGet","apiStaffOrganisationadminPost","apiStaffReferenceGet","apiStaffReferencePost","apiStaffStafftypePost","StaffApiFp","StaffApi","TrainingApiAxiosParamCreator","apiTrainingAdditionaltrainingassetGet","apiTrainingAdditionaltrainingeditGet","apiTrainingAdditionaltrainingeditPost","apiTrainingAdmindashboardGet","apiTrainingDeletemodulePost","apiTrainingEditPost","apiTrainingEditmoduleGet","apiTrainingEditmodulePost","apiTrainingMarkascompletePost","apiTrainingRemovePost","apiTrainingUserdashboardGet","apiTrainingViewGet","TrainingApiFp","TrainingApi","TrainingModuleApiAxiosParamCreator","apiTrainingmoduleDashboardGet","apiTrainingmoduleDeletePost","apiTrainingmoduleEditGet","apiTrainingmoduleEditPost","apiTrainingmoduleReorderPost","TrainingModuleApiFp","TrainingModuleApi","UploadApiAxiosParamCreator","apiUploadTokenPost","UploadApiFp","UploadApi","VisitorsApiAxiosParamCreator","apiVisitorsDashboardGet","apiVisitorsDisableprofilePost","apiVisitorsFetchGet","VisitorsApiFp","VisitorsApi","api","tokenTimer","cookie","Date","getTimezoneOffset","authenticationTokenRefresh","fields","refreshToken","destroyToken","clearTimeout","removeItem","apiCall","catch","error","obj","errorData","isError","constructor","Object","detail","host","indexOf","interceptors","use","config","Authorization","CATimezoneOffset","Promise","reject","result","maxAge","cookieExpiry","setItem","tokenInterval","setTimeout","originalRequest","_captchaRetry","grecaptcha","params","parse","resolve","ready","execute","action","captchaToken","status","_retry","getGlobalLookups","bind","refreshAuthenticationToken","getUploadCredentials","uploadFile","getMainMenu","getNavigationActionTicker","getUserDetails","doSwitchOrganisation","doCreateAccount","doResendEmailVerification","doEmailConfirmation","doForgotPassword","doResetPassword","sendParentVerification","getParentVerificationStatus","checkAbnInUse","AustralianBusinessNumber","doOrganisationSearch","getOrganisationByIdentifier","getOrganisationPaymentinfo","postOrganisationPaymentInfo","doRegisterOrganisation","getOrganisationRegistration","doRegisterOrganisationPayment","doJoinOrganisation","addCertification","getAccountExistingCertifications","getRequestsTojoinReviewCertification","postAccountLinkChildName","postAccountLinkAccounts","postAccountLinkRequestRevoke","postAccountLinkRequestRemove","getAccountLinkRequest","postAccountLinkRequestApprove","postAccountLinkRequestReject","doLogin","postAuthenticationValidateTwoFactor","postAuthenticationResendTwoFactorToken","doLogout","getPlanTypes","getDashboardItems","postAccountWalkthroughComplete","getActivityFeed","updateActivityFeed","deleteFeedItem","getAccountMyAccount","postAccountEmailChangeRequest","postAccountChangeEmail","postAccountEditProfileImage","getAccountCertification","postAuthenticationChangePassword","postAccountEditPhoneNumber","postAccountVolunteerRemove","postAccountVolunteerRequest","postAccountVolunteerRevoke","getStaffData","getStaffProfileData","assignStaffOrganisationRole","disableStaff","assignOrganisationAdminStatus","postStaffReference","getStaffReference","getLeadershipTeamData","removeLeadershipTeamMember","searchLeadershipTeamMember","addLeadershipTeamMember","getFamiliesData","getFamiliesProfileData","disableFamilyMember","getVisitorsData","getVisitorsProfileData","disableVisitor","getRequestsToJoinData","getRequestsToJoinDetailData","assignRequestsToJoinOrganisationRole","assignRequestsToJoinOrganisationAdminStatus","approveRequestsToJoin","denyRequestsToJoin","confirmDocumentsCited","getCertificationDetail","postRequestsToJoinVolunteerApprove","postRequestsToJoinVolunteerDeny","getInviteToJoinsData","getChildSafeStandardDashboard","getChildSafeStandardEdit","postChildSafeStandardEdit","postChildSafeStandardDelete","postChildSafeStandardReorder","getChildSafeStandardsData","getChildSafeStandardsDetailData","getPolicyTemplateAsset","getPolicyTemplateDashboard","getPolicyTemplateEdit","postPolicyTemplateEdit","postPolicyTemplateDelete","postPolicyTemplateReorder","getPoliciesAdminData","getPoliciesUserData","getPoliciesDetailsData","submitPolicy","getPolicyTemplatesData","archivePolicy","reInstatePolicy","acceptPolicy","getTrainingAdminDashboard","postTrainingEdit","getTrainingView","postTrainingRemove","getTrainingUserDashboard","getAdditionalTrainingDetail","postTrainingAdditionalTrainingEdit","postTrainingMarkAsComplete","submitOrganisationNewTrainingModule","getOrganisationNewTrainingModule","deleteOrganisationNewTrainingModule","getSafetyChecklistAsset","getSafetyChecklistsTemplates","getSafetyChecklistTemplate","getAdminSafetyChecklistDashboard","getUserSafetyChecklistDashboard","getSafetyChecklistEdit","postSafetyChecklistEdit","getSafetyChecklistChecklist","getSafetyChecklistComment","postSafetyChecklistComment","getSafetyChecklistAttachments","postSafetyChecklistAttachmentUpload","postSafetyChecklistAttachmentDelete","postSafetyChecklistSubmit","postSafetyChecklistApprove","getSafetyChecklistApprovers","postSafetyChecklistAction","getSafetyChecklistSummaryPdf","getChecklistTemplateDashboard","postChecklistTemplateEdit","getChecklistTemplateEdit","postChecklistTemplateDelete","postChecklistTemplateReorder","getAdminFeedbackData","getUserFeedbackData","getFeedbackDetailsData","getFeedbackProgress","logFeedbackProgress","createFeedback","resolveFeedback","withdrawFeedback","getAdminIncidentReportsData","getUserIncidentReportsData","getIncidentReportsDetailsDataArchive","getIncidentReportsDetailsData","acknowledgeYourselfArchive","acknowledgeYourself","getAcceptModalDetailArchive","getAcceptModalDetail","acceptAcknowledgementArchive","acceptAcknowledgement","searchOthersRecipientsArchive","searchOthersRecipients","createIncidentReport","submitIncidentReport","loadIncidentReportArchive","loadIncidentReport","getIncidentLinkRequestArchive","getIncidentLinkRequest","postIncidentLinkIncidentArchive","postIncidentLinkIncident","getComplaintAdviceDashboard","getComplaintAdviceEdit","postComplaintAdviceEdit","postComplaintAdviceDelete","postComplaintAdviceReorder","getComplaintAdviceAsset","getAdminComplaintsData","getUserComplaintsData","getComplaintsNotifiedMembersList","submitComplaint","getComplaintsDetailsData","resolveComplaint","getComplaintResolution","getComplaintsAdviceData","getComplaintsProgress","logComplaintsProgress","removeComplaintsProgress","getResolutionReviewDetail","acceptResolution","reOpenComplaint","withdrawComplaint","searchComplaintResolveStaffMember","addComplaintResolveStaffMember","removeFamilyMember","getAuditId","getAuditReport","cancelPlan","getOrganisationDetail","getOrganisationAddress","submitOrganisationAddress","submitOrganisationLogo","getPaymentUpdateLink","updateNumberOfChildren","getHelpDeskData","getHelpDeskDetailData","getHelpDeskAdminDashboard","getHelpDeskAdminDetailData","postHelpDeskEdit","postHelpDeskDelete","postHelpDeskReorder","getCompaniesData","getCompaniesDetailData","postOrganisationDeactivate","postOrganisationActivate","getOrganisationAdminCandidates","getOrganisationAdministrators","postOrganisationAddAdmin","postOrganisationRemoveAdmin","getTrainingModuleDashboard","getTrainingModuleEdit","postTrainingModuleEdit","postTrainingModuleReorder","postTrainingModuleDelete","initialState","forceUpdate","loggedIn","viewTrainingAsAdmin","viewPoliciesAsAdmin","viewChecklistAsAdmin","viewFeedbackAsAdmin","viewComplaintAsAdmin","viewIncidentAsAdmin","profileImage","childAwareId","firstName","lastName","activeProfileId","profiles","UserSlice","createSlice","reducers","logOut","state","apibridge","update","assign","payload","initialMainMenuState","dashboard","canRead","canUpdate","totalCount","newCount","toActionCount","MainMenuSlice","ListsSlice","NotificationCountSlice","updateNotificationCount","store","configureStore","reducer","user","mainMenu","lists","notificationCount","useAppDispatch","useDispatch","useAppSelector","useSelector","GoogleAnalyticsHelper","gtag","sendPageView","page_location","origin","page_path","send_to","process","_excluded","_extends","i","arguments","source","prototype","hasOwnProperty","call","apply","_objectWithoutProperties","excluded","sourceKeys","keys","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","SvgSpinner","_ref","svgRef","title","titleId","props","width","height","viewBox","xmlns","ref","fill","d","_path2","ForwardRef","LoadingSpinner","show","CSSTransition","in","timeout","enter","exit","classNames","appear","className","useUpdateTotalNotification","dispatch","actions","SvgBell","stroke","strokeWidth","strokeLinecap","strokeLinejoin","SvgArrowDown","SvgArrowUp","SvgSettingsBlack","SvgLogout","_g","_defs","SvgAlertCircle","clipPath","_path3","_path4","_path5","_path6","_path7","_path8","_path9","_path10","_path11","_path12","_path13","_path14","_path15","_path16","_path17","_path18","_path19","_path20","_path21","_path22","_path23","_path24","CircleImage","extraClass","alt","isColorBorder","isProfileInComplete","textLarge","fullName","noGap","mounted","setIsMounted","imageError","setImageError","imageSrc","setImageSrc","incompleteProfileTooltipOpen","setincompleteProfileTooltipOpen","Tooltip","placement","autohide","toggle","style","onError","FallbackImage","text","firstLetter","toUpperCase","secondLetter","returnInitialFullName","substring","Button","children","disabled","buttonIcon","buttonIconPath","onClick","MainMenu","isBurgerMenuShow","setIsBurgerMenuShow","totalNotificationCount","isActiveOrganisation","isOrganisationActive","setFormErrorMessage","mainMenuItems","setMainMenuItems","isAccountMenuOpen","setIsAccountMenuOpen","menuRef","staff","leadershipTeam","families","visitors","requestsToJoin","inviteToJoins","childSafetyStandards","policies","training","safetyChecklists","feedback","incidentReports","complaints","audit","settings","helpDesk","companies","trainingModules","policyTemplates","checklistTemplates","complaintsAdvice","childSafetyTemplates","helpDeskTemplates","useLocation","mobileMenuHandler","to","filter","link","SvgEarlyLearning","strokeMiterlimit","OrganisationLogo","isLoading","setIsLoading","SvgBurger","SvgMenuClose","SvgArrowRight","SvgLink","OrganisationMenu","activeOrganisation","setActiveOrganisation","inActiveOrganisation","setInActiveOrganisation","isOrganisationMenuShow","setIsOrganisationMenuShow","organisationItemClickHandler","profile","prevState","image","roleName","organisation","SvgLogin","SvgSettings","DomainCertificationReviewType","DomainCertificationType","DomainChecklistActionStatus","DomainChecklistStatusType","DomainComplaintLoggingType","DomainComplaintStatusType","DomainFeedbackStatus","DomainOrganisationStatus","DomainParentVolunteerStatus","DomainPaymentStatus","DomainProfileType","SuperAdministrator","Staff","Parent","Student","Visitor","AccountMenu","isSuperAdmin","activeProfileType","menuToggle","SvgLogoMain","x1","y1","x2","y2","gradientUnits","offset","stopColor","SvgArrowLeft","PageName","showBack","showLogo","history","useHistory","goBack","scrollTo","LayoutTwoColumn","LayoutOneColumn","isLoggedIn","websiteUrl","href","SvgCalendar","DateInput","dateTimeString","onChange","showDropdowns","excludeFuture","excludePast","minAge","dateTimeObject","setDateTimeObject","maxDate","moment","subtract","format","parseDate","parsedDate","isValid","toDate","currentDate","dateStr","returnDateTime","dateFormat","selected","date","handleDateChange","placeholderText","showMonthDropdown","showYearDropdown","dropdownMode","minDate","SvgCloseSmall","FilesList","files","multiple","removedFileIds","setRemovedFileIds","index","includes","displayFileName","uploadInProgress","percentComplete","newRemovedFileIds","push","removeFile","initialModalState","outer","visibility","overflow","inner","scrollbarWidth","offsetWidth","parentNode","removeChild","documentElement","setProperty","useDefaultStructure","closeOnOutsideClick","titleText","closeText","GlobalModal","el","modalState","setModalState","afterClose","classList","remove","closeModal","childrenWithProps","child","customProps","add","ReactDOM","mountOnEnter","unmountOnExit","onExited","tabIndex","role","stopPropagation","SvgUpload","allAllowedFileTypes","imageAllowedFileTypes","FileUpload","keyValue","label","placeholder","maxSizeMb","imagesOnly","fileInput","filesInitialised","setFilesInitialised","previousFileIds","selectedFiles","setSelectedFiles","setError","documentModal","setDocumentModal","handleRemove","updateUploadProgress","kbComplete","tempFiles","tempFile","Math","ceil","selectedFile","errorMessage","fileSize","uploadFilePartTwo","credentialsResponse","tempLink","tempId","newFile","newFiles","completedFiles","fileIds","handleChange","ids","SvgChevronDown","SingleSelect","isDisabled","selectedValue","setSelectedValue","toggleOpen","open","onKeyDown","option","SvgEyeOn","SvgEyeOff","fillRule","clipRule","AccountForm","previousUrl","userInfo","returnUrl","setUserInfo","loading","setLoading","formErrorMessage","formRef","showPassword","setShowPassword","showConfirmPassword","setShowConfirmPassword","isStudent","profileType","toLowerCase","years","currentYear","year","startYear","endYear","reverse","doCreate","values","createAccount","fieldValues","paymentPlanId","agreeToTerms","overMinAge","parentEmail","initialValues","profileImageName","dateOfBirth","phoneNumber","password","confirmPassword","validationSchema","Yup","required","when","is","matches","min","oneOf","enableReinitialize","onSubmit","formik","translate","htmlFor","setFieldValue","component","checked","SvgMailSent","SvgTickCircle","CheckEmail","emailSent","setEmailSent","resendEmail","CreateAccount","setReturnUrl","setPreviousUrl","locationParams","queryParams","checkLocationParams","SvgAlert","SvgCelebrate","transform","LoginForm","emailAddress","userName","toggleShowPassword","login","isTwoFa","username","twoFaToken","ConfirmEmail","isUserLoggedIn","confirmationSuccess","setConfirmationSuccess","confirmToken","decideReturnUrl","SwitchTransition","mode","LoginModal","Login","setParams","ForgotForm","ForgotPassword","ResetForm","doReset","tokenSuccess","setTokenSuccess","resetSuccess","setResetSuccess","LoginCreateModal","Plans","modalIsOpen","setModalIsOpen","selectedPlanId","setSelectedPlanId","planData","setPlanData","registerOrganisation","getPlans","paymentPlans","planIds","plan","icon","description","dangerouslySetInnerHTML","__html","costPerChild","FormGroupWithError","showError","useField","meta","touched","RegisterOrganisationForm","organisationDetails","setOrganisationDetails","planName","doRegister","planItemName","setPlanItemName","formikInstance","statesList","states","plansList","maxPlan","max","maximumChildren","stripSpaces","formatAbnSpaces","stripStr","trim","isAbnUnique","resultType","cachedIsAbnUnique","asyncValidationFunction","previousValue","responseData","asyncInProgress","throwErrorMessage","cacheAsyncTest","imageFileName","numberOfChildren","confirmAuthority","confirmAgreement","organisationAddress","address1","address2","city","postcode","mailingAddress","sameAddresses","test","setFieldError","path","msg","createError","parent","existingOrganisationStatus","existingOrganisationIdentifier","contactEmail","newData","getPlanName","RegisterOrganisation","currentOrganisationId","setCurrentOrganisationId","paymentCycle","getOrganisationDetails","register","PartOne","certificationData","setFormSection","setCertificationFormData","staffTypes","formValidationSchema","shape","organisationRole","initialFormValuesPartOne","DateDayExpiryInput","setMinDate","setMaxDate","now","getFullYear","getMonth","getDate","connect","accountCertification","expiry","certificationNumber","attachments","userAcknowledgement","hasExisting","certificationTypesLists","authorityOfWorkCertifications","hasValidExisitingCertificate","concat","certificationType","addLater","switchForm","DisplayDate","SvgStatusSuccess","mixBlendMode","_circle","_circle2","_circle3","SvgStatusWarning","cx","cy","r","SvgStatusDanger","SvgStatusArchived","SvgStatusRead","SvgStatusTodo","_rect","SvgStatusTrainingPlus","rx","SvgStatusDocument","SvgStatusSchool","SvgStatusCommunity","SvgStatusBusiness","StatusIcon","statusType","SvgDownload","existingCertifications","existingTeacherRegistration","existingWWCCRegistration","hasValidWWCC","item","validCertification","hasValidTR","hasValidCertificate","x","download","form","teacherReg","WWCCReg","AddLaterRadio","changeToUseExisting","SvgPlus","SvgMinus","PartTwo","certificationTemplate","createAttachments","teacherRegFields","WWCCRegFields","otherwise","of","isCertificationValid","setIsCertificationValid","some","initialFormValuesPartTwo","authorityToWork","hasExistingCertification","hasValidExisitingWWCCCertificate","hasValidExisitingTRCertificate","selectedNewWWCC","selectedNewTeacherRegistration","useExistingCertifications","certificate","certificateType","validateOnMount","errors","PartThree","onboardingDocs","PartThreeInitialValues","policeCheck","formTwoValidationSchema","PartFour","qualificationCertificationsList","qualificationCertifications","qualificationCertificateType","PartFourInitialValues","qualificationCertificate","formThreeValidationSchema","qualification","PartFive","doJoin","updateCount","PartFiveInitialValues","vaccinationCertificate","acknowledge","formFiveValidationSchema","CertificationSuccess","organisationName","newlyCreatedOrganisationId","isActive","websiteURL","hasMultipleProfiles","submit","ErrorMessage","CertificationStaff","organisationData","profileData","certificationFormData","formSection","setShowError","setExistingCertifications","setExistingTeacherRegistration","setExistingWWCCRegistration","setNewlyCreatedOrganisationId","isProfileActive","setIsProfileActive","getExistingCertifications","normalisedCertificationData","formatCertificationData","noneEmptyData","identifier","staffType","certifications","cert","reviewType","CertificationParent","success","setSuccess","existingCertification","setExistingCertification","relationship","relationshipTypes","initalParentValues","relationshipWithChild","childsName","workingWithChildren","volunteerStatus","validExistingWorkingWithChildrenCheck","existingWorkingWithChildren","parentFormValidation","parentFormSubmit","volunteerRequest","childData","relationshipType","res","find","setFormData","formData","initalVisitorsValues","purposeForVisit","businessName","visitorsFormValidation","handleUpdateState","field","CertificationVisitor","visitPurpose","CertificationStudent","parentsNames","parentName","parentsPhoneNumber","parentPhone","validation","AddCertification","setProfile","setOrganisation","setParamsSuccess","selectedProfile","profileTypes","SvgSearch","ViewTypes","SearchOrganisation","isFullWidth","setQuery","searchResults","setSearchResults","hasError","setHasError","setIsActive","searchData","searchContainerRef","onClickPostHandler","FindOrganisation","setOrganisationIdentifier","setProfileType","setOrganisationName","DisplayDateTime","defaultOptions","ALLOWED_TAGS","ALLOWED_ATTR","SafeHtml","setState","dirty","DOMPurify","sanitize","DownloadLink","ReadActivity","activity","showView","standards","childSafeStandards","standardsMap","toLocaleLowerCase","standard","attachment","Update","Delete","MultiSelect","selectedValues","setSelectedValues","selectedValueIndex","newValues","splice","DateTimeInput","timeValue","setTimeValue","amPmValue","setAmPmValue","pad","num","handleAmPmChange","newDate","getHours","setHours","getMinutes","formatTime","onBlur","timeArr","hours","isNaN","parseInt","minutes","setMinutes","setSeconds","UpdateActivity","refreshActivityFeed","activityFeedSharedWith","sharedWith","deleteAttachmentIds","useFormik","validate","handleSubmit","handleBlur","vals","Read","DeleteActivity","defaultViewTypes","Create","ActivityFeedModal","viewType","showCreate","showRead","showUpdate","showDelete","ActivityFeed","activityFeedData","activityFeedFormErrorMessage","showCreateModal","setShowCreateModal","showReadModal","setShowReadModal","modalData","setModalData","readItem","SvgChevronLeftPurple","SvgChevronRightPurple","SvgPurpleDot","SvgGreyDot","WelcomeModal","isOrgAdmin","isOrganisationAdmin","setOpen","currentStep","setCurrentStep","closeWelcomeModal","isWalkThroughCompleted","DashboardImageLeader","DashboardImageStaff","DashboardImageFamilyVisitor","sideMenuImageLeader","sideMenuImageStandard","ActivityImage","SwitchOrganisationImage","CompleteImage","WelcomeImage","sideImageDisplay","SvgDashboardComplete","Dashboard","setMounted","getDashboardDetail","accountsEmail","userProfiles","isSuperAdministrator","isOrganisationPending","organisationStatus","activeOrganisationId","dashboardFormErrorMessage","setDashboardFormErrorMessage","setActivityFeedFormErrorMessage","dashboardItems","setDashboardItems","setActivityFeedData","canViewActivityFeed","isUpToDate","counts","expiredCertifications","members","joinRequests","incompleteProfiles","expired","forOthersToAcknowledge","forYouToAcknowledge","assigned","overdueByOthers","forYouToComplete","inProgress","forOthersToApprove","forYouToApprove","newlySubmitted","submittedByYou","ScrollToTopButton","offsetValue","visible","setVisible","scrollControl","pageYOffset","preventDefault","top","behavior","display","EditProfileImage","isUpdated","updateProfileImage","imageFile","DisplayPhoneNumber","numberArray","formatPhoneNumber","SvgEdit","ProfileSummary","canUpdateProfileImage","showEditModal","setShowEditModal","ProfileLinkedAccounts","linkedAccounts","defaultMaxItems","setClicked","setLinkedAccountsUpdated","userId","maxLinkedAccountsItem","setMaxLinkedAccountsItem","isYou","isParent","revokeInvite","removeLinkedAccount","isPending","linked","AccountPasswordModal","accountDetails","showNewPassword","setShowNewPassword","childawareId","currentPassword","newPassword","submitFormData","oldPassword","readOnly","RequestVolunteerModal","showForm","setShowForm","initalWorkingWithChildrenCheckValues","workingWithChildrenCheckValidation","submitVolunteerRequest","validateOnChange","InviteToLinkModal","childId","setChildId","submitInviteRequest","close","initalFormData","formValidation","AccountEmailModal","isEmailSent","setIsEmailSent","newlyCreatedEmail","setNewlyCreatedEmail","newEmail","RemoveModal","removeVolunteerStatus","widthdrawVolunteerStatus","MyAccountOrganisations","organisations","setRequestVolunteerModalShow","setOrganisationId","maxOrganisationsItem","setMaxOrganisationsItem","volunteerId","setVolunteerId","setVolunteerStatus","isRemoveModalOpen","setIsRemoveModalOpen","changeProfile","requestVolunteerStatus","imageUrl","isCurrentMember","isEligibleVolunteer","DocumentModal","formId","setTitle","certificationTypes","formType","setFormType","initialFormState","getDocumentData","deletedItems","AccountPhoneModal","getMyAccountData","MyAccount","initialData","myAccountData","setMyAccountData","isMounted","profileUpdate","setProfileUpdated","linkedAccountsUpdated","imageVersion","missingCertifications","accountPasswordModalShow","setAccountPasswordModalShow","accountEmailModalShow","setAccountEmailModalShow","accountPhoneModalShow","setAccountPhoneModalShow","newDocumentModalShow","setNewDocumentsModalShow","currentFormModal","setCurrentFormModal","setFormId","requestVolunteerModalShow","inviteToLinkModalShow","setInviteToLinkModalShow","displayName","isExpired","editDocumentHandler","LinkAccount","setParentName","organisationImage","requestingProfileId","getLinkRequestName","acceptInvitation","rejectInviation","SearchInput","searchPlaceholder","originalStaffData","setStaffData","searchValue","setSearchValue","newSearchValue","newStaffData","RoleListItem","roleId","needsAttention","isPastStaff","userIsAdmin","staffTypesLookup","RoleList","peopleList","maxItem","setMaxItem","people","staffData","setOriginalStaffData","currentStaffData","setCurrentStaffData","pastStaffData","setPastStaffData","defaultSectionOrder","setDefaultSectionOrder","dynamicSectionOrder","setDynamicSectionOrder","defaultDataOrder","dynamicDataOrder","currentStaff","pastStaff","isCurrentStaff","filterData","activeTab","setActiveTab","AddDocumentModal","staffId","currentFormID","setReadOnly","referenceCheckTemplate","position","contactDetails","verifiedBy","referenceIsChecked","setReferenceIsChecked","initialFormStateReferenceCheck","refChecks","isReferenceChecked","getModalDetail","referenceChecksValidationSchema","CitedDocumentModal","initialFormData","country","confirmed","cited","certificationReviewId","locale","ProfileCertifications","referenceChecks","didUpdate","maxCertificationsItem","setMaxCertificationsItem","showAddDocumentModal","setShowAddDocumentModal","showCitedDocumentModal","setShowCitedDocumentModal","setCurrentFormId","modalMounted","setModalMounted","certificationJoin","statusLabel","viewCertification","isLeadershipTeamMember","ProfileComplaints","maxComplainsItem","setMaxComplainsItem","subject","complaintStatus","updated","created","creator","ProfileFeedback","maxFeedbackItem","setMaxFeedbackItem","feedbackStatus","ProfileIncidents","incidents","maxIncidentsItem","setMaxIncidentsItem","incidentStatus","ProfilePolicies","maxPolicyItem","setMaxPolicyItem","goToPolicies","policyAcknowledgementStatus","ProfileChecklists","checklists","maxChecklistsItem","setMaxChecklistsItem","purpose","checklistStatus","ProfileTraining","maxTrainingItem","setMaxTrainingItem","summary","completionStatus","completed","RemoveStaffModal","confirmRemove","SvgInformation","StaffProfile","showStaffRoleError","setShowStaffRoleError","showAdminStatusError","setShowAdminStatusError","initialStaffProfileData","trainings","staffProfileData","setStaffProfileData","useParams","selectedRole","setSelectedRole","adminTooltipOpen","setAdminTooltipOpen","showRemoveStaffModal","setShowRemoveStaffModal","changeRoleHandler","ProfileOrganisations","SearchLeadershipTeam","memberDetail","LeadershipTeam","showRemoveModal","setShowRemoveModal","setMemberDetail","leadershipTeamData","setLeadershipTeamData","removeMemberHandler","addLeadershipHandler","isCurrentUser","SvgShieldColor","SvgShieldGrey","ExtraDomainProfileType","Families","familiesData","setFamiliesData","originalFamiliesData","setOriginalFamiliesData","parentsData","studentData","parentsVolunteersData","isVolunteer","isVolunteerValidated","newSearchResult","RemoveFamiliesMemberModal","familiesMemberId","ChildrenCheckModal","documentId","FamiliesProfile","familiesId","initialProfileData","setProfileData","showRemoveFamiliesMemberModal","setShowRemoveFamiliesMemberModal","showChildrenCheckModal","setShowChildrenCheckModal","setDocumentId","displayProfileName","displayProfileRole","NoInfoMessage","Visitors","visitorsData","setVisitorsData","currentVisitorsData","RemoveVisitorModal","visitorId","VisitorsProfile","visitorsId","showRemoveVisitorModal","setShowRemoveVisitorModal","DisplayTimeFromNow","fromNow","RequestsToJoinItem","timeRequested","isStaff","volunteer","ParentVolunteer","RequestsToJoinItemList","displayRoleName","RequestsToJoin","requestsToJoinData","setRequestsToJoinData","currentData","setCurrentData","isVolunteerRequest","DisplayDateExpiry","DetailModal","modalDetail","requiredValidationCertificationsStatus","setRequiredValidationCertificationsStatus","certificationTypeDisplayName","initialCertificationDetail","certificationDetail","setCertificationDetail","registrationStatus","registrationId","isCertificationsConfirmed","isRegistrationConfirmed","submitHandler","teacherRegistrationConfirmInput","childrenCheckConfirmInput","attachmentUrl","ApproveModal","confirmedIdentity","confirmApprove","DenyModal","confirmDeny","RequestsToJoinDetail","showDenyActionError","showApproveActionError","initialDetailData","requested","requestToJoinId","isChildawareAdmin","setIsChildawareAdmin","showDetailModal","setShowDetailModal","showApproveModal","setShowApproveModal","showDenyModal","setShowDenyModal","setModalDetail","detailModalControl","identityConfirmed","setIdentityConfirmed","isActionRequired","workingWithChildrenCheckCertificate","isWorkingWithChildrenCheckPresent","teacherRegistrationCertificate","isTeacherRegistrationPresent","otherCertifications","requiredValidationCertifications","requiredValidationInitialStatus","InviteItem","copySuccess","setCopySuccess","copyToClipBoard","copiedText","navigator","clipboard","writeText","displayRole","InviteToJoin","inviteToJoinsData","setInviteToJoins","availableRoles","SvgArrowDownWhite","Accordion","heading","content","colorCode","redirectLink","backgroundColor","borderColor","ChildSafeStandards","childSafeStandardColors","childSafeStandardsData","setChildSafeStandardsData","orderedData","b","orderA","order","orderB","reorderData","ChildSafeStandardsDetail","childSafeStandardId","pageContent","childSafetyStandardsDetailData","setChildSafetyStandardsDetailData","getChildSafetyStandardDetailData","decodedpageContent","AddAdditionalTrainingModal","trainingId","getUserTrainingData","additionalTrainingTypes","initialAddAdditionalTraining","other","dateOfTraining","addAdditionalTraining","setAddAdditionalTraining","typeInput","otherInput","dateOfTrainingInput","expiryInput","descriptionInput","as","EditDeadlineModal","getTrainingData","trainingTimeFrames","initialFormValues","deadlineType","deadlineTimeFrameType","deadlineDate","fixedDate","timeFrom","assignedTrainingId","assignedTrainingTitle","SvgTrainingIcon","AssignTrainingModal","confirmAssignTraining","moduleIds","AssignAllTrainingModal","assignedTrainingIdArray","confirmAssignAllTraining","SvgSwitchUser","SvgSwitch","Training","initialTrainingData","leadership","parents","volunteers","trainingData","setTrainingData","initialUserTrainingData","additionalTrainings","acknowledgements","userTrainingData","setUserTrainingData","availableLeadershipModules","moduleId","availableStaffModules","availableParentModules","availableVolunteerModules","availableChildrenModules","availableVisitorModules","uniqueCompletedUserTraining","completedUserTraining","dateA","overdueUserTraining","deadline","availableUserTraining","showAddTrainingModal","setShowAddTrainingModal","showEditDeadlineModal","setShowEditDeadlineModal","showAssignTrainingModal","setShowAssignTrainingModal","showAssignAllTrainingModal","setShowAssignAllTrainingModal","setAssignedTrainingId","setAssignedTrainingIdArray","setAssignedTrainingTitle","switchRole","itemData","setItemData","editDeadline","setTrainingId","activeProfile","isOwnTraining","editable","subtitle","allIDs","CompleteModal","acknowledgementId","confirmCompleted","TrainingDetail","overview","videoEmbedCode","isAcknowledged","canAcknowledge","trainingDetailData","setTrainingDetailData","getTrainingDetailData","showCompleteModal","setShowCompleteModal","controls","SafetyChecklists","initialAdminData","inProgressList","completedList","adminSafetyChecklistsData","setAdminSafetyChecklistsData","getAdminSafetyChecklistsData","initialUserData","myList","approvalList","userSafetyChecklistsData","setUserSafetyChecklistsData","getUserSafetyChecklistsData","inProgressAdminSafetyChecklistsData","completedAdminSafetyChecklistsData","maxInProgressAdminSafetyChecklists","setMaxInProgressAdminSafetyChecklists","maxCompletedAdminSafetyChecklists","setMaxCompletedAdminSafetyChecklists","myListUserSafetyChecklistsData","approvalUserSafetyChecklistsData","completedUserSafetyChecklistsData","maxMyListUserSafetyChecklistsData","setMaxMyListUserSafetyChecklistsData","maxApprovalUserSafetyChecklistsData","setMaxApprovalUserSafetyChecklistsData","maxcompletedUserSafetyChecklistsData","setMaxcompletedUserSafetyChecklistsData","displayStatus","submitter","approver","SafetyChecklistsNewChecklist","safetyChecklistsTemplatesData","setSafetyChecklistsTemplatesData","getSafetyChecklistsTemplatesData","createOption","setCreateOption","fromTemplate","SafetyChecklistsTemplatePreview","templateType","setTemplateType","usage","checklistItems","safetyChecklistsTemplateItemsData","setSafetyChecklistsTemplateItemsData","getSafetyChecklistsTemplateItemsData","checklistParams","startsWith","removeHandler","SvgDragDown","SvgDrag","SvgDragUp","DisplayDragIcon","array","CheckListItem","renderedChecklistItems","setRenderedChecklistItems","onChangeHandler","StepOne","safetyChecklistsFormData","setSafetyChecklistsFormData","setActiveStep","currentAprroversStaffList","validationSchemaStepOne","purposeInput","approverInput","initialValuesStepOne","approverId","onDragEndHandler","destination","items","Array","from","reorderedItem","addChecklistHandler","newArray","uuid","itemIndex","onDragEnd","droppableId","provided","droppableProps","innerRef","draggableId","draggableProps","dragHandleProps","SvgChevronLeft","StepTwo","formSubmitHandler","userImg","userRole","SvgChevronRight","SafetyChecklistsSubmit","initialSafetyChecklistsFormData","setCurrentApproversStaffList","getCurrentStaff","initialRenderedItemsState","activeStep","mobileStepHandler","pageState","listen","initialCommentFormData","comment","CommentModal","canEdit","commentFormData","setCommentFormData","setReadonly","getSafetyChecklistsDetailCommentDetailData","commentInput","AttachmentModal","attachmentId","attachmentModalData","setAttachmentModalData","downloadAllUrl","setDownloadAllUrl","setUpdateCount","noFiles","setNoFiles","getSafetyChecklistsDetailAttachmentDetailData","fileUploadHandler","fileData","fileRemoveHandler","checklistItemId","SvgComments","SvgAttachment","SvgTickIcon","SvgPlusIcon","SvgQuestionmark","SafetyChecklistsDetail","template","statusDescription","additionalComments","safetyChecklistsDetailData","setSafetyChecklistsDetailData","getSafetyChecklistsDetailData","canApprove","onFormSubmit","submitData","additionalCommentsInput","initialDetailFormValues","updateStatus","checklistStatusData","showCommentModal","setShowCommentModal","commentId","setCommentId","showAttachmentModal","setShowAttachmentModal","setAttachmentId","newCheckListItems","finalData","onChangeYesHandler","onChangeNoHandler","onChangeNAHandler","hasComment","itemId","summaryPdfUrl","AcceptModal","policyId","SvgDevice","Policies","showAcceptModal","setShowAcceptModal","setPolicyId","policyTitle","setPolicyTitle","policiesAdminData","setPoliciesAdminData","policiesUserData","setPoliciesUserData","archivedPoliciesAdminData","notArchivedPoliciesAdminData","expiredPoliciesAdminData","activePoliciesAdminData","maxExpiredPolicies","setMaxExpiredPolicies","maxActivePolicies","setMaxActivePolicies","maxArchivedPolicies","setMaxArchivedPolicies","activePoliciesUserData","archivedPoliciesUserData","acceptHandler","expiryDate","acknowledged","SvgDocument","PolicyTemplates","policyTemplatesData","setPolicyTemplatesData","ArchiveModal","ReInstateModal","PolicySubmit","policyAccessTypes","showArchiveModal","setShowArchiveModal","showReInstateModal","setShowReInstateModal","initialPoliciesDetailData","leadershipTeamAccess","staffAccess","siteVisitorAccess","parentAccess","volunteerAccess","childrenAccess","isDocumentUpdated","versions","policiesFormData","setPoliciesFormData","titleInput","expiryDateInput","fileNameInput","leadershipTeamAccessInput","staffAccessInput","siteVisitorAccessInput","parentAccessInput","childrenAccessInput","parentVolunteerAccessInput","versionNumber","Feedback","adminFeedbackData","setAdminFeedbackData","userFeedbackData","setUserFeedbackData","submittedAdminFeedbackData","inProgressAdminFeedbackData","resolvedAdminFeedbackData","maxAdminSubmittedFeedback","setMaxAdminSubmittedFeedback","maxAdminInProgressFeedback","setMaxAdminInProgressFeedback","maxAdminResolvedFeedback","setMaxAdminResolvedFeedback","submittedUserFeedbackData","inProgressUserFeedbackData","resolvedUserFeedbackData","maxUserSubmittedFeedback","setMaxUserSubmittedFeedback","maxUserInProgressFeedback","setMaxUserInProgressFeedback","maxUserResolvedFeedback","setMaxUserResolvedFeedback","daysOpen","resolved","occurrence","refreshFeedbackProgress","feedbackId","logProgress","FeedbackProgressModal","FeedbackProgress","feedbackProgressData","feedbackProgressFormErrorMessage","ResolveModal","feedbackOccurrence","feedbackResolutions","initialFeedbackResolveFormData","resolution","notes","feedbackResolveFormData","setFeedbackResolveFormData","resolutionInput","notesInput","displayActions","WithdrawModal","FeedbackDetail","feedbackDetailFormErrorMessage","setFeedbackDetailFormErrorMessage","setFeedbackProgressFormErrorMessage","initialFeedbackDetailData","category","categoryDescription","summaryUrl","isResponseRequired","isAnonymous","anonymousContact","canViewActions","canWithdraw","showResolveModal","setShowResolveModal","showWithdrawModal","setShowWithdrawModal","feedbackDetailData","setFeedbackDetailData","setFeedbackProgressData","getFeedbackDetailDashboardData","resolver","feedbackFormData","setFeedbackFormData","feedbackCategories","subjectInput","occurrenceInput","categoryInput","summaryInput","anonymouslyInput","isResponseRequiredInput","anonymously","anonymousContactInput","SvgAnonymousIcon","userActiveProfileId","allProfiles","feedbackSubmissionRoleName","currentCategory","displayCategory","FeedbackSubmit","initialFeedbackFormData","IncidentReports","adminIncidentReportsData","setAdminIncidentReportsData","userIncidentReportsData","setUserIncidentReportsData","newAdminIncidentReportsData","acknowledgedAdminIncidentReportsData","maxNewAdminIncidentReports","setMaxNewAdminIncidentReports","maxAcknowledgedAdminIncidentReports","setMaxAcknowledgedAdminIncidentReports","newUserIncidentReportsData","acknowledgedUserIncidentReportsData","maxNewUserIncidentReports","setMaxNewUserIncidentReports","maxAcknowledgedUserIncidentReports","setMaxAcknowledgedUserIncidentReports","isArchivedIncident","DownloadRemoveLink","downloadOnly","setDiasabled","acceptor","acknowledgementFileName","acknowledgementFileUrl","prev","AcknowledgeModal","incidentId","SvgTick","SvgTickSuccess","SvgEnvelopeIcon","IncidentReportsDetail","showAcknowledgeModal","setShowAcknowledgeModal","modalId","setModalId","openModal","initialIncidentReportsDetailData","typeDescription","impacted","wasWitnessedFirstHand","wasAuthorityAlerted","notifiedAuthorities","notified","contacts","incidentReportsDetailData","setIncidentReportsDetailData","allAcknowledged","isExternal","acknowledgmentDocument","informationConfirmed","signatureConfirmed","currentRole","incidentTypes","incidentSpecifications","age","specification","witness","witnesses","firstAidAdministered","firstAid","medicationAdministered","medication","medicalPersonnelContacted","medicalPersonnel","emergencyServiceContacted","emergencyServices","takenToHospital","hospital","dateAndTimeTakenToHospital","personTakenToHospital","relationshipToChild","otherActions","otherActionsTaken","individualsNotified","individuals","authorityNotified","authorities","leaderRecipientIds","otherRecipientIds","otherRecipientEmails","otherRecipients","leaders","reviewer","reviewerRole","creatorRole","specificationName","displayIncidentType","currentType","phone","dosage","dateAndTime","personAdministered","phoneOrEmail","attend","contactMethod","isNotifiedSuccess","authorityName","notifiedName","incidentFormData","setIncidentFormData","incidentArchiveTypes","locationInput","impactedInput","wasWitnessedFirstHandInput","wasAuthorityAlertedInput","notifiedAuthoritiesInput","actionsInput","notifiedInput","newAttachments","SearchOtherRecipients","setShowExistingMemberError","SvgEmail","otherRecipientsData","setOtherRecipientsData","selectedLeadershipMemberId","setSelectedLeadershipMemberId","setSelectedEmails","selectLeadershipMemberHandler","showExistingMemberError","selectedEmails","emailInput","setEmailInput","emailInputError","setEmailInputError","isAddEmailFieldActive","setIsAddEmailFieldActive","addOtherRecipientsHandler","newEmailInput","match","newList","incidentIds","removeOtherRecipientsHandler","newSelectedEmail","removeEmailHandler","StepThree","IncidentSubmit","initialIncidentFormData","Complaints","canAccessAdminView","setCanAccessAdminView","isStaffMember","adminComplaintsData","setAdminComplaintsData","userComplaintsData","setUserComplaintsData","newAdminList","inProgressAdminList","completedAdminList","maxNewAdminList","setMaxNewAdminList","maxInProgressAdminList","setMaxInProgressAdminList","maxCompletedAdminList","setMaxCompletedAdminList","newUserList","inProgressUserList","completedUserList","maxNewUserList","setMaxNewUserList","maxInProgressUserList","setMaxInProgressUserList","maxCompletedUserList","setMaxCompletedUserList","createdBy","datesOpen","updatedBy","resolvedBy","complaintId","refreshComplaintsProgress","removeComplaintsProgressItem","ComplaintsProgressModal","ComplaintsProgress","canAddActions","complaintProgressData","complaintProgressFormErrorMessage","complaintResolutionStatuses","complaintsResolveFormData","setComplaintsResolveFormData","displayLabel","ReviewResolutionModal","proposal","resolutionReviewDetail","setResolutionReviewDetail","ViewResolutionModal","ReOpenModal","comments","WithdrawComplaintModal","complaintSubject","EditResolutionModal","SearchAdditionalStaff","setShowAddStaffControl","displayClickResult","setDisplayClickResult","initialDisplayResult","familyMemberDetail","SvgNoteIcon","ComplaintsDetail","complaintDetailFormErrorMessage","setComplaintDetailFormErrorMessage","setComplaintProgressFormErrorMessage","showEditResolutionModal","setShowEditResolutionModal","showReviewResolutionModal","setShowReviewResolutionModal","showViewResolutionModal","setShowViewResolutionModal","showWidthdrawComplaintModal","setShowWidthdrawComplaintModal","showReOpenModal","setShowReOpenModal","loggingOnBehalf","accused","accusedRelationship","impactedRelationship","othersInvolved","initialComplaint","authority","canAccessSummary","assignees","familyMembers","resolutionReviewers","complaintsDetailData","setComplaintsDetailData","setComplaintProgressData","getComplaintDetailDashboardData","loggingType","canCreateResolution","canEditResolution","canViewResolution","canReviewResolution","canReopen","canRemoveFamilyMember","canAddStaff","initialStaffProfile","staffProfile","setStaffProfile","showAddStaffControl","addStaffToComplaint","setFamilyMemberDetail","approved","addStaffClickHandler","ComplaintsAdviceTemplates","complaintsAdviceData","setComplaintsAdviceData","complaintsFormData","setComplaintsFormData","complaintCategories","loggingTypeInput","loggingOnBehalfInput","accusedInput","accusedRelationshipInput","impactedRelationshipInput","othersInvolvedInput","witnessesInput","isFirstComplaintInput","commentsInput","authorityInput","isInitialComplaint","minimumLeaders","familyMembersData","leaderIds","excludedLeadershipTeamMembers","setExcludedLeadershipTeamMembers","selectedFamilyMembers","setSelectedFamilyMembers","excludedLeaders","memberId","newExcludedLeadershipMembers","leadershipMemberAddHandler","newLeadershipMembers","leadershipMemberRemoveHandler","newFamilyMembers","familyMemberRemoveHandler","familyMemberAddHandler","notifiedLeadershipTeamMembers","notifiedFamilyMembers","author","displayComplaintAuthor","ComplaintsSubmit","initialComplaintsFormData","initialAssigneesData","assigneesData","setAssigneesData","Audit","showGenerateButton","setShowGenerateButton","showLoading","setShowLoading","showDownloadButton","setShowDownloadButton","timer","initialAuditData","isReady","auditData","setAuditData","generateAudit","Spinner","EditLogoModal","getSettingsData","uploadLogoData","confirmUploadLogo","CancelPlanModal","UpdateNumberOfChildrenModal","showInputError","setShowInputError","inputValue","setInputValue","SvgBillChildren","SvgBillReceipt","Settings","showEditLogoModal","setShowEditLogoModal","showCancelPlanModal","setShowCancelPlanModal","showUpdateNumberOfChildrenModal","setShowUpdateNumberOfChildrenModal","initialOrganisationDetail","logo","canCancelPlan","planType","cost","unitCost","nextInvoiceDate","paymentHistory","organisationDetail","setOrganisationDetail","initialOrganisationAddress","organisationAddressData","setOrganisationAddressData","currentPaymentIconPath","setCurrentPaymentIconPath","currentPaymentPlan","currentPaymentIcon","updatePaymentDetail","paymentUrl","autoComplete","amount","downloadLink","HelpDesk","helpDeskData","setHelpDeskData","HelpDeskDetail","helpDeskId","helpDeskDetailData","setHelpDeskDetailData","ActivateModal","confirmActivate","Companies","showActivateModal","setShowActivateModal","companiesData","setCompaniesData","activeCompanies","deactiveCompanies","incompleteCompanies","activateOrganisation","organisationType","statusDate","SearchOrganisationMembers","AdminsModal","adminsFormData","setAdminsFormData","newAdmins","setnewAdmins","getAdminsData","admins","admin","profileIds","removeData","removeAdminData","addAdminHandler","DeActivateModal","companiesDetailData","confirmDeActivate","EnableModal","confirmEnable","CompaniesDetail","showAdminsModal","setShowAdminsModal","showDeActivateModal","setShowDeActivateModal","showEnableModal","setShowEnableModal","administrators","payments","setCompaniesDetailData","pricePerChild","formatABN","abn","parts","paymentDate","CircleText","getTrainingModulesData","trainingModulesData","setTrainingModulesData","moduleTitle","removeModule","ContentTrainingModule","setModuleId","setModuleTitle","isDragDisabled","VideoModal","FormCheckBox","ContentTrainingModuleDetail","selectedChildSafeStandards","selectedPlans","moduleData","setModuledata","showVideoModal","setShowVideoModal","getTrainingModulesDetailData","subtitleInput","overviewInput","childSafetyStandardsInput","selectedPlansInput","templateTitle","removeTemplate","ContentPolicyTemplates","setTemplateId","setTemplateTitle","ContentPolicyTemplatesDetail","filename","fileDisplayName","policyTemplatesDetailData","setPolicyTemplatesDetailData","getPolicyTemplatesDetailData","policyData","ContentChecklistTemplates","ContentChecklistTemplatesDetail","initialItemsState","safetyChecklistsTemplateItemsDetailData","setSafetyChecklistsTemplateItemsDetailData","usageInput","checklistData","adviceId","adviceTitle","removeAdvice","ContentComplaintsAdvice","setAdviceId","setAdviceTitle","ContentComplaintsAdviceDetail","complaintAdviceDetailData","setComplaintAdviceDetailData","getContentComplaintAdviceDetailData","complaintsData","getChildSafetyStandardData","childSafetyStandardsData","setChildSafetyStandardsData","standardId","standardTitle","removeStandard","ContentChildSafeStandards","setStandardId","setStandardTitle","ContentChildSafeStandardsDetail","textEditor","setTextEditor","textEditorChangeHandler","encodeURIComponent","childSafeData","headingInput","subheadingInput","statesAppliedInput","helpDeskTitle","ContentHelpDesk","setHelpDeskId","setHelpDeskTitle","ContentHelpDeskDetail","helpDeskAdminDetailData","setHelpDeskAdminDetailData","ConfirmNewEmail","get","LandingDashboard","hasIncompleteProfile","setHasIncompleteProfile","incompletProfileId","setIncompleteProfileId","hasRequireAdminOrganisationIdentifier","setHasRequireAdminOrganisationIdentifier","hasPendingRequest","setHasPendingRequest","hasPendingRequests","incompleteOrganisationId","requireAdminOrganisationIdentifier","goToJoin","ProfileError","SvgTickPurple","LinkSuccess","IncidentReportLinking","incidentRecipientId","initialIncidentLinkData","isAuthenticated","isMemberOfOrganisation","switchProfileId","isAssigned","incidentLinkingData","setIncidentLinkingData","getLinkRequestDetails","doSwitchProfile","submitReport","Attachment","Id","loggedInRedirectUrl","notLoggedInRedirectUrl","RegisterOrganisationSummary","updatedOrganisationDetails","setUpdatedOrganisationDetails","monthlyAmount","setMonthlyAmount","annualAmount","setAnnualAmount","setPaymentCycle","info","getPaymentUrl","updatePaymentCycle","cycle","doOrganisationRegistrationPayment","paymentPlanName","SvgChecklist","ParentConfirm","isTermsConfirmed","setIsTermsConfirmed","isPolicyConfirmed","setIsPolicyConfirmed","setIsVerificationDone","organisationLogo","setOrganisationLogo","isVerified","confirmTermsInput","confirmPolicyInput","SvgTwoFa","TwoFactorAuthentication","emailToken","reSendCode","resend","trainingTitle","TrainingSubmit","confirmDeclaration","setConfirmDeclaration","AddWitnessModal","currentWitnesses","newWitnesses","specificationTypes","setSpecificationTypes","showAddWitnessModal","setShowAddWitnessModal","ageOptions","toLocaleString","validateOnBlur","typeVal","specificationFilter","AddMedicationModal","currentMedication","newMedication","AddMedicalPersonnelModal","phoneRegExp","isValidSync","integer","positive","currentMedicalPersonnel","newMedicalPersonnel","AddEmergencyServiceModal","dateAndTimeAttended","currentEmergencyServices","newEmergencyServices","showAddMedicationModal","setShowAddMedicationModal","showAddMedicalPersonnelModal","setShowAddMedicalPersonnelModal","showAddEmergencyServiceModal","setShowAddEmergencyServiceModal","initialValuesStepTwo","validationSchemaStepTwo","AddIndividualModal","currentIndividuals","newIndividuals","AddAuthorityModal","currentAuthorities","newAuthorities","showAddIndividualModal","setShowAddIndividualModal","showAddAuthorityModal","setShowAddAuthorityModal","emailInputHandler","addEmailHandler","initialValuesStepThree","validationSchemaStepThree","StepFour","initialValuesStepFour","reviewerConfirmed","validationSchemaStepFour","allTypes","allSpecifications","currentAllSpecification","currentSpecification","ExitConfirmationModal","confirmExit","showExitConfirmationModal","setShowExitConfirmationModal","IncidentReportLinkingArchive","App","previousUserState","usePrevious","authenticateUserFromToken","getGlobalLists","left","behaviour","scroll","checkForSwitchProfile","userDataHasChanged","currentActiveProfileId","exact","ResetPassword","SafetyChecklistsTemplatesPreview"],"mappings":"gKAAIA,E,4ECCEC,EAAe,WACpB,IAAIC,EAAwC,KAE5C,MAAO,CACNC,IAAK,SAACC,GACLF,EAAyBE,CACzB,EACDC,MAAO,WAGN,OAAIH,GAA0BA,KAA4BI,aAAaC,QAAQ,UAAY,MAC1FC,OAAOC,SAASC,UACT,EAIR,EAEF,CAlBoB,GAoBRC,EAAiBV,EAAYE,IAC7BS,EAAmBX,EAAYI,M,wCCf/BQ,EAAyB,SACrCC,EACAC,EACAC,GAEA,IAAMC,EAAoB,SAACC,GACC,OAAvBJ,EAAWK,SAAqBL,EAAWK,QAAgBC,SAASF,EAAEG,SAC1EL,GAAU,EACV,EAED,OA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AAC9uD,KAAK,2BACjB,gBAAC,GAAD,CAAiBte,MAAM,yBAAyB6L,UAAU,GACzD,gBAAC,GAAD,QAIF,gBAAC,KAAD,CAAOuhE,OAAK,EAAC9uD,KAAK,+BACjB,gBAAC,GAAD,CAAiBte,MAAM,yBAAyB6L,UAAU,GACzD,gBAAC,GAAD,QAIF,gBAAC,KAAD,CAAOuhE,OAAK,EAAC9uD,KAAK,eACjB,gBAAC,GAAD,CAAiBte,MAAM,cAEtB,gBAAC,GAAD,QAKDpC,EAAKpC,UACL,gBAAC,KAAD,CAAO8iB,KAAK,KACX,gBAAC,KAAD,CAAUlW,GAAG,gBAMlB,EC96BD2I,SACC,gBAAC,IAAD,KACC,gBAAC,IAAD,CAAUtT,MAAOA,IAChB,gBAAC,GAAD,QAGFrvB,SAASsC,eAAe,Q","file":"static/js/main.571aea2a.chunk.js","sourcesContent":["var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgSpinner(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 60,\n height: 60,\n viewBox: \"0 0 512 512\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n fill: \"#a52ebe\",\n d: \"M288 32c0 17.673-14.327 32-32 32s-32-14.327-32-32 14.327-32 32-32 32 14.327 32 32zm-32 416c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm256-192c0-17.673-14.327-32-32-32s-32 14.327-32 32 14.327 32 32 32 32-14.327 32-32zm-448 0c0-17.673-14.327-32-32-32S0 238.327 0 256s14.327 32 32 32 32-14.327 32-32zm33.608 126.392c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm316.784 0c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zM97.608 65.608c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32s32-14.327 32-32c0-17.673-14.327-32-32-32z\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgSpinner);\nexport default __webpack_public_path__ + \"static/media/spinner.41f61312.svg\";\nexport { ForwardRef as ReactComponent };","// if user has opened a new tab and logged in - the token will differ to what is stored in this scope\nconst userSession = (() => {\n\tlet comparisonCheckForUser: string | null = null;\n\n\treturn {\n\t\tset: (token: string | null) => {\n\t\t\tcomparisonCheckForUser = token;\n\t\t},\n\t\tcheck: () => {\n\t\t\t// check for multiple tabs that are logged in\n\n\t\t\tif (comparisonCheckForUser && comparisonCheckForUser !== (localStorage.getItem('token') || '')) {\n\t\t\t\twindow.location.reload();\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\t};\n})();\n\nexport const setUserSession = userSession.set;\nexport const checkUserSession = userSession.check;\n","import moment from 'moment';\nimport * as React from 'react';\n\nexport const isObject = (obj: any) => {\n\treturn !!obj && obj.constructor === Object;\n};\n\nexport const listenForOutsideClicks = (\n\telementRef: React.MutableRefObject,\n\tisOpen: boolean,\n\tsetIsOpen: React.Dispatch>\n) => {\n\tconst checkClickOutside = (e: any) => {\n\t\tif (elementRef.current !== null && (elementRef.current as any).contains(e.target)) return;\n\t\tsetIsOpen(false);\n\t};\n\n\treturn React.useEffect(() => {\n\t\tif (!elementRef.current) return;\n\n\t\tif (isOpen) {\n\t\t\t['click', 'touchstart'].forEach((type) => {\n\t\t\t\tdocument.addEventListener(type, checkClickOutside);\n\t\t\t});\n\t\t} else {\n\t\t\t['click', 'touchstart'].forEach((type) => {\n\t\t\t\tdocument.removeEventListener(type, checkClickOutside);\n\t\t\t});\n\t\t}\n\n\t\t// cleanup on unmount\n\t\treturn () => {\n\t\t\t['click', 'touchstart'].forEach((type) => {\n\t\t\t\tdocument.removeEventListener(type, checkClickOutside);\n\t\t\t});\n\t\t};\n\t}, [isOpen]);\n};\n\nexport const queryStringToObject = (str?: string) => {\n\tconst queryString = str || location.search;\n\tlet queryObject: { [key: string]: string } = {};\n\n\tqueryString\n\t\t.slice(1)\n\t\t.split('&')\n\t\t.map((p) => {\n\t\t\tconst pair = p.split('=');\n\t\t\tconst [key, value] = pair.map(decodeURIComponent);\n\t\t\tqueryObject[key] = value;\n\t\t});\n\n\treturn queryObject;\n};\n\nexport const validationErrorsToString = (validationErrors: { [key: string]: string }[]) => {\n\tconst errors = validationErrors.map((entry) => {\n\t\treturn `${entry.reason} \\n`;\n\t});\n\n\treturn errors.sort().join('');\n};\n\nexport const checkAndLogErrors = (response: any) => {\n\tif (response.validationErrors.length) {\n\t\tconsole.log(validationErrorsToString(response.validationErrors));\n\t} else {\n\t\tconsole.log(response.message);\n\t}\n};\n\nexport const formatToCurrency = (val: number) => {\n\tlet currentVal = val.toFixed(2);\n\n\t// put in thousand separators for the integer part\n\tif (currentVal.length > 1) {\n\t\tcurrentVal = currentVal.replace(/(\\d)(?=(\\d\\d\\d)+(?!\\d))/g, '$1,');\n\t}\n\n\treturn currentVal;\n};\n\nexport const parseDate = (str: string) => {\n\tconst parsedDate = moment(str, 'YYYY-MM-DDTHH:mm:ss.SSSSSSSZ');\n\tconst newDate = parsedDate.isValid() ? parsedDate.toDate() : new Date();\n\n\treturn newDate;\n};\n\n///Google Recaptcha V3 Invisible\nexport const SITE_KEY = '6LfoBlwhAAAAAMhlhqK5IVeMKZsas3czgvdqbpLT';\n\nexport const loadScriptByURL = (id: any, callback: any) => {\n\tconst url = `https://www.google.com/recaptcha/api.js?render=${SITE_KEY}`;\n\tconst isScriptExist = document.getElementById(id);\n\n\tif (!isScriptExist) {\n\t\tvar script = document.createElement('script');\n\t\tscript.type = 'text/javascript';\n\t\tscript.src = url;\n\t\tscript.id = id;\n\t\tscript.async;\n\t\tscript.defer;\n\t\tscript.onload = function () {\n\t\t\tif (callback) callback();\n\t\t};\n\t\tdocument.body.appendChild(script);\n\t}\n\n\tif (isScriptExist && callback) callback();\n};\n\nexport type ListType = [] | { value: string; label: string }[];\n\nexport const statesList = [\n\t{ label: 'Australian Capital Territory', value: 'act' },\n\t{ label: 'New South Wales', value: 'nsw' },\n\t{ label: 'Northern Territory', value: 'nt' },\n\t{ label: 'Queensland', value: 'qld' },\n\t{ label: 'South Australia', value: 'sa' },\n\t{ label: 'Tasmania', value: 'tas' },\n\t{ label: 'Victoria', value: 'vic' },\n\t{ label: 'Western Australia', value: 'wa' }\n];\n\nexport const complaintsCategoryList = [\n\t{ label: 'Unsafe teacher behaviour', value: 'unsafe teacher behaviour' },\n\t{ label: 'Discrimination', value: 'discrimination' },\n\t{ label: 'Category 3', value: 'category 3' }\n];\n\nexport const complaintsResolveTypes = [\n\t{ label: 'Insufficient information', action: 'No further action required', value: 'insufficient information' },\n\t{\n\t\tlabel: 'Complaint withdrawn by complainant',\n\t\taction: 'No further action required',\n\t\tvalue: 'complaint withdrawn by complainant'\n\t},\n\t{\n\t\tlabel: 'Complaint investigated and not substantiated',\n\t\taction: 'Please ensure all actions & reasons recorded and notes retained',\n\t\tvalue: 'complaint investigated and not substantiated'\n\t},\n\t{\n\t\tlabel: 'Complaint investigated and substantiated',\n\t\taction:\n\t\t\t'Please record disciplinary actions taken, authorities notified, communication with parents & child and support provided, actionstaken by the organisation to reduce the risk of this occurring again.',\n\t\tvalue: 'complaint investigated and substantiated'\n\t}\n];\n\nexport const incidentCategoryList = [\n\t{ label: 'Others', value: 'Others' }\n\t// { label: 'Negligence', value: 'negligence' },\n\t// { label: 'Accident', value: 'accident' },\n\t// { label: 'Category 3', value: 'category 3' }\n];\n\nexport const feedbackCategoryList = [\n\t{ label: 'Negligence', value: 'negligence' },\n\t{ label: 'Accident', value: 'accident' },\n\t{ label: 'Category 3', value: 'category 3' }\n];\n\nexport const feedbackResolveTypes = [\n\t{ label: 'Insufficient information', action: 'No further action required', value: 'insufficient information' },\n\t{ label: 'Further enquiries made', action: 'No further action required', value: 'further enquiries made' },\n\t{ label: 'Actions taken', action: 'Please describe below', value: 'actions taken' },\n\t{ label: 'Escalated to an incident report', action: '', value: 'escalated to an incident report' },\n\t{ label: 'Escalated to a complaint', action: '', value: 'escalated to a complaint' },\n\t{ label: 'Other...', action: 'Please describe below', value: 'other' }\n];\n\nexport const permissionsList = [\n\t{ label: 'Must view and acknowledge', value: 'must view and acknowledge' },\n\t{ label: 'Can view', value: 'can view' },\n\t{ label: 'Can not view', value: 'can not view' }\n];\n\nexport const trainingTypes = [\n\t{ label: 'CPR training', value: 'cpr training' },\n\t{ label: 'Others', value: 'others' }\n];\n\nexport const staffList = [\n\t{ label: 'Tim Larkin', value: 'tim larkin', id: '12345' },\n\t{ label: 'Peter Parker', value: 'peter parker', id: '12345' },\n\t{ label: 'John Smith', value: 'john smith', id: '12345' }\n];\n\nexport const childSafetyStandardsList = [\n\t{ label: 'Leadership, governance and culture', value: 'leadership' },\n\t{ label: 'Children’s participation and empowerment', value: 'children participation' },\n\t{ label: 'Family and community involvement', value: 'family' },\n\t{ label: 'Equity and diverse needs', value: 'equity' },\n\t{ label: 'Human resources management', value: 'hr' },\n\t{ label: 'Child-focused complaints process', value: 'complaints' },\n\t{ label: 'Staff education and training', value: 'training' },\n\t{ label: 'Physical and online environment', value: 'environment' },\n\t{ label: 'Review and continuous improvement', value: 'improvement' },\n\t{ label: 'Child safe policy and procedures', value: 'policy' }\n];\n\nexport const emailRegex =\n\t/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\nexport const usePrevious = (value: any) => {\n\tconst ref = React.useRef(value);\n\n\tReact.useEffect(() => {\n\t\tref.current = value; //assign the value of ref to the argument\n\t}, [value]); //this code will run when the value of 'value' changes\n\n\treturn ref.current; //in the end, return the current ref value.\n};\n\nexport const rteSettings = {\n\tmodules: {\n\t\ttoolbar: [\n\t\t\t[{ header: [1, 2, 3, 4, 5, 6] }, { font: [] }],\n\t\t\t[{ size: [] }],\n\t\t\t[{ color: [] }, { background: [] }],\n\t\t\t['bold', 'italic', 'underline', 'blockquote', 'strike'],\n\t\t\t[{ script: 'sub' }, { script: 'super' }],\n\t\t\t[{ indent: '-1' }, { indent: '+1' }],\n\t\t\t[{ direction: 'rtl' }],\n\t\t\t[{ align: [] }],\n\t\t\t[{ list: 'ordered' }, { list: 'bullet' }],\n\t\t\t['link', 'image', 'video']\n\t\t]\n\t},\n\n\tformats: [\n\t\t'header',\n\t\t'font',\n\t\t'size',\n\t\t'bold',\n\t\t'italic',\n\t\t'underline',\n\t\t'strike',\n\t\t'blockquote',\n\t\t'list',\n\t\t'bullet',\n\t\t'indent',\n\t\t'color',\n\t\t'background',\n\t\t'link',\n\t\t'image',\n\t\t'video',\n\t\t'direction',\n\t\t'align',\n\t\t'script'\n\t]\n};\n\nexport const staffRoleList = [\n\t{ label: 'Teacher', value: 'Teacher' },\n\t{ label: 'Parent', value: 'Parent' },\n\t{ label: 'Student', value: 'Student' },\n\t{ label: 'Visitor', value: 'Visitor' }\n];\n\nexport const staffTypeList = [\n\t{ label: 'Principal', value: 'Principal' },\n\t{ label: 'Vice or Assistant Principal', value: 'VicePrincipal' },\n\t{ label: 'Teacher', value: 'Teacher' },\n\t{ label: 'Teacher aides', value: 'TeacherAides' },\n\t{ label: 'Librarian', value: 'Librarian' }\n];\n\nexport const photoIDTypes = [\n\t{ label: 'Drivers Licence', value: 'DriversLicenceCertification' },\n\t{ label: 'Passport', value: 'PassportCertification' }\n];\nexport const qualificationTypes = [\n\t{ label: 'Bachelors Degree', value: 'BachelorsDegree' },\n\t{ label: 'Associate Degree', value: 'AssociateDegree' },\n\t{ label: 'Advanced Diploma', value: 'AdvancedDiploma' },\n\t{ label: 'Diploma', value: 'Diploma' }\n];\nexport const parentRelationshipTypes = [\n\t{ label: 'Parent', value: 'Parent' },\n\t{ label: 'Guardian', value: 'Guardian' }\n];\n\nexport const childSafeStandardsColorCodes = [\n\t'#D25DAF',\n\t'#E02F15',\n\t'#F99935',\n\t'#FFCD39',\n\t'#CDD747',\n\t'#30BC4D',\n\t'#5AD1AA',\n\t'#58AFDA',\n\t'#3878BB',\n\t'#7224A9'\n];\n","import { BlockBlobClient } from '@azure/storage-blob';\nimport { UploadTokenAzureStorageSasResult } from '../api/models';\nimport { boundProgressType } from '../components/FileUpload';\n\nconst azureFileUpload = async (\n\tfile: File,\n\tcredentials: UploadTokenAzureStorageSasResult,\n\tprogressCallback?: boundProgressType\n) => {\n\tconst { sasUri, fileName } = credentials;\n\n\tif (!sasUri || !fileName) return false;\n\n\tconst blockBlobClient = new BlockBlobClient(sasUri);\n\n\tconst options = {\n\t\tblobHTTPHeaders: { blobContentType: file.type },\n\t\tonProgress: (event: { loadedBytes: number }) => {\n\t\t\tif (progressCallback) {\n\t\t\t\tprogressCallback(event.loadedBytes);\n\t\t\t}\n\t\t}\n\t};\n\ttry {\n\t\tconst response = await blockBlobClient.uploadData(file, options);\n\t\tblockBlobClient.setMetadata({\n\t\t\tOriginalFileName: file.name,\n\t\t\tContentDisposition: \"attachment; filename=\" + file.name\n\t\t});\n\n\t\treturn !!response;\n\t} catch (err) {\n\t\tconsole.log(err);\n\t\treturn false;\n\t}\n};\n\nexport default azureFileUpload;\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport { Configuration } from \"./configuration\";\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\n\nexport const BASE_PATH = \"/\".replace(/\\/+$/, \"\");\n\n/**\n *\n * @export\n */\nexport const COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n\n/**\n *\n * @export\n * @interface RequestArgs\n */\nexport interface RequestArgs {\n url: string;\n options: any;\n}\n\n/**\n *\n * @export\n * @class BaseAPI\n */\nexport class BaseAPI {\n protected configuration: Configuration | undefined;\n\n constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {\n if (configuration) {\n this.configuration = configuration;\n this.basePath = configuration.basePath || this.basePath;\n }\n }\n};\n\n/**\n *\n * @export\n * @class RequiredError\n * @extends {Error}\n */\nexport class RequiredError extends Error {\n name: \"RequiredError\" = \"RequiredError\";\n constructor(public field: string, msg?: string) {\n super(msg);\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { AccountCertificationCommand } from '../models';\nimport { AccountCertificationQueryResponse } from '../models';\nimport { AccountChangeEmailCommand } from '../models';\nimport { AccountEditPhoneNumberCommand } from '../models';\nimport { AccountEditProfileImageCommand } from '../models';\nimport { AccountEditProfileImageResponse } from '../models';\nimport { AccountEmailChangeRequestCommand } from '../models';\nimport { AccountEmailVerificationCommand } from '../models';\nimport { AccountEmailVerificationResponse } from '../models';\nimport { AccountExistingCertificationsResponse } from '../models';\nimport { AccountJoinOrganisationCommand } from '../models';\nimport { AccountJoinOrganisationResponse } from '../models';\nimport { AccountLinkAccountsCommand } from '../models';\nimport { AccountLinkChildNameCommand } from '../models';\nimport { AccountLinkRequestApproveCommand } from '../models';\nimport { AccountLinkRequestRejectCommand } from '../models';\nimport { AccountLinkRequestRemoveCommand } from '../models';\nimport { AccountLinkRequestResponse } from '../models';\nimport { AccountLinkRequestRevokeCommand } from '../models';\nimport { AccountMyAccountResponse } from '../models';\nimport { AccountParentVerificationCommand } from '../models';\nimport { AccountParentVerificationQueryResponse } from '../models';\nimport { AccountRegistrationCommand } from '../models';\nimport { AccountSendEmailVerificationCommand } from '../models';\nimport { AccountSendParentVerificationCommand } from '../models';\nimport { AccountUserResponse } from '../models';\nimport { AccountVolunteerRemoveCommand } from '../models';\nimport { AccountVolunteerRequestCommand } from '../models';\nimport { AccountVolunteerRequestQueryResponse } from '../models';\nimport { AccountVolunteerRevokeCommand } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * AccountApi - axios parameter creator\n * @export\n */\nexport const AccountApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountCertificationGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/account/certification`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountCertificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountCertificationPost: async (body?: AccountCertificationCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/certification`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountCertificationassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/account/certificationasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountChangeEmailCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountChangeemailPost: async (body?: AccountChangeEmailCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/changeemail`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountEditPhoneNumberCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountEditphonenumberPost: async (body?: AccountEditPhoneNumberCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/editphonenumber`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountEditProfileImageCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountEditprofileimagePost: async (body?: AccountEditProfileImageCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/editprofileimage`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountEmailChangeRequestCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountEmailchangerequestPost: async (body?: AccountEmailChangeRequestCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/emailchangerequest`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountEmailVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountEmailverificationPost: async (body?: AccountEmailVerificationCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/emailverification`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountExistingcertificationsGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/account/existingcertifications`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountJoinOrganisationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountJoinorganisationPost: async (body?: AccountJoinOrganisationCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/joinorganisation`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountLinkAccountsCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkaccountsPost: async (body?: AccountLinkAccountsCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/linkaccounts`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountLinkChildNameCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkchildnamePost: async (body?: AccountLinkChildNameCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/linkchildname`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkrequestGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/account/linkrequest`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountLinkRequestApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkrequestapprovePost: async (body?: AccountLinkRequestApproveCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/linkrequestapprove`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountLinkRequestRejectCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkrequestrejectPost: async (body?: AccountLinkRequestRejectCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/linkrequestreject`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountLinkRequestRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkrequestremovePost: async (body?: AccountLinkRequestRemoveCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/linkrequestremove`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountLinkRequestRevokeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkrequestrevokePost: async (body?: AccountLinkRequestRevokeCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/linkrequestrevoke`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountMyaccountGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/account/myaccount`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [token] \n * @param {string} [email] \n * @param {string} [organisationIdentifier] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountParentverificationGet: async (token?: string, email?: string, organisationIdentifier?: string, options: any = {}): Promise => {\n const localVarPath = `/api/account/parentverification`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (token !== undefined) {\n localVarQueryParameter['Token'] = token;\n }\n\n if (email !== undefined) {\n localVarQueryParameter['Email'] = email;\n }\n\n if (organisationIdentifier !== undefined) {\n localVarQueryParameter['OrganisationIdentifier'] = organisationIdentifier;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountParentVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountParentverificationPost: async (body?: AccountParentVerificationCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/parentverification`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {string} [cacheKey] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountProfileimageassetGet: async (id?: string, cacheKey?: string, options: any = {}): Promise => {\n const localVarPath = `/api/account/profileimageasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n if (cacheKey !== undefined) {\n localVarQueryParameter['CacheKey'] = cacheKey;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountRegistrationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountRegisterPost: async (body?: AccountRegistrationCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/register`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountSendEmailVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountSendemailverificationPost: async (body?: AccountSendEmailVerificationCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/sendemailverification`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountSendParentVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountSendparentverificationPost: async (body?: AccountSendParentVerificationCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/sendparentverification`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountUserGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/account/user`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountVolunteerRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountVolunteerremovePost: async (body?: AccountVolunteerRemoveCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/volunteerremove`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [userProfileId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountVolunteerrequestGet: async (userProfileId?: string, options: any = {}): Promise => {\n const localVarPath = `/api/account/volunteerrequest`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (userProfileId !== undefined) {\n localVarQueryParameter['UserProfileId'] = userProfileId;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountVolunteerRequestCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountVolunteerrequestPost: async (body?: AccountVolunteerRequestCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/volunteerrequest`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AccountVolunteerRevokeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountVolunteerrevokePost: async (body?: AccountVolunteerRevokeCommand, options: any = {}): Promise => {\n const localVarPath = `/api/account/volunteerrevoke`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountWalkthroughcompletePost: async (options: any = {}): Promise => {\n const localVarPath = `/api/account/walkthroughcomplete`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * AccountApi - functional programming interface\n * @export\n */\nexport const AccountApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountCertificationGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountCertificationGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountCertificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountCertificationPost(body?: AccountCertificationCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountCertificationPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountCertificationassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountCertificationassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountChangeEmailCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountChangeemailPost(body?: AccountChangeEmailCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountChangeemailPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountEditPhoneNumberCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountEditphonenumberPost(body?: AccountEditPhoneNumberCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountEditphonenumberPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountEditProfileImageCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountEditprofileimagePost(body?: AccountEditProfileImageCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountEditprofileimagePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountEmailChangeRequestCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountEmailchangerequestPost(body?: AccountEmailChangeRequestCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountEmailchangerequestPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountEmailVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountEmailverificationPost(body?: AccountEmailVerificationCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountEmailverificationPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountExistingcertificationsGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountExistingcertificationsGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountJoinOrganisationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountJoinorganisationPost(body?: AccountJoinOrganisationCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountJoinorganisationPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountLinkAccountsCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountLinkaccountsPost(body?: AccountLinkAccountsCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountLinkaccountsPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountLinkChildNameCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountLinkchildnamePost(body?: AccountLinkChildNameCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountLinkchildnamePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountLinkrequestGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountLinkrequestGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountLinkRequestApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountLinkrequestapprovePost(body?: AccountLinkRequestApproveCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountLinkrequestapprovePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountLinkRequestRejectCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountLinkrequestrejectPost(body?: AccountLinkRequestRejectCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountLinkrequestrejectPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountLinkRequestRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountLinkrequestremovePost(body?: AccountLinkRequestRemoveCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountLinkrequestremovePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountLinkRequestRevokeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountLinkrequestrevokePost(body?: AccountLinkRequestRevokeCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountLinkrequestrevokePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountMyaccountGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountMyaccountGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [token] \n * @param {string} [email] \n * @param {string} [organisationIdentifier] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountParentverificationGet(token?: string, email?: string, organisationIdentifier?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountParentverificationGet(token, email, organisationIdentifier, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountParentVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountParentverificationPost(body?: AccountParentVerificationCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountParentverificationPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {string} [cacheKey] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountProfileimageassetGet(id?: string, cacheKey?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountProfileimageassetGet(id, cacheKey, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountRegistrationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountRegisterPost(body?: AccountRegistrationCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountRegisterPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountSendEmailVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountSendemailverificationPost(body?: AccountSendEmailVerificationCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountSendemailverificationPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountSendParentVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountSendparentverificationPost(body?: AccountSendParentVerificationCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountSendparentverificationPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountUserGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountUserGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountVolunteerRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountVolunteerremovePost(body?: AccountVolunteerRemoveCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountVolunteerremovePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [userProfileId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountVolunteerrequestGet(userProfileId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountVolunteerrequestGet(userProfileId, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountVolunteerRequestCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountVolunteerrequestPost(body?: AccountVolunteerRequestCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountVolunteerrequestPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AccountVolunteerRevokeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountVolunteerrevokePost(body?: AccountVolunteerRevokeCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountVolunteerrevokePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAccountWalkthroughcompletePost(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AccountApiAxiosParamCreator(configuration).apiAccountWalkthroughcompletePost(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * AccountApi - factory interface\n * @export\n */\nexport const AccountApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountCertificationGet(id?: string, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountCertificationGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountCertificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountCertificationPost(body?: AccountCertificationCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountCertificationPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountCertificationassetGet(id?: string, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountCertificationassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountChangeEmailCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountChangeemailPost(body?: AccountChangeEmailCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountChangeemailPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountEditPhoneNumberCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountEditphonenumberPost(body?: AccountEditPhoneNumberCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountEditphonenumberPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountEditProfileImageCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountEditprofileimagePost(body?: AccountEditProfileImageCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountEditprofileimagePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountEmailChangeRequestCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountEmailchangerequestPost(body?: AccountEmailChangeRequestCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountEmailchangerequestPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountEmailVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountEmailverificationPost(body?: AccountEmailVerificationCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountEmailverificationPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountExistingcertificationsGet(options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountExistingcertificationsGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountJoinOrganisationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountJoinorganisationPost(body?: AccountJoinOrganisationCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountJoinorganisationPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountLinkAccountsCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkaccountsPost(body?: AccountLinkAccountsCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountLinkaccountsPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountLinkChildNameCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkchildnamePost(body?: AccountLinkChildNameCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountLinkchildnamePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkrequestGet(id?: string, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountLinkrequestGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountLinkRequestApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkrequestapprovePost(body?: AccountLinkRequestApproveCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountLinkrequestapprovePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountLinkRequestRejectCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkrequestrejectPost(body?: AccountLinkRequestRejectCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountLinkrequestrejectPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountLinkRequestRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkrequestremovePost(body?: AccountLinkRequestRemoveCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountLinkrequestremovePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountLinkRequestRevokeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountLinkrequestrevokePost(body?: AccountLinkRequestRevokeCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountLinkrequestrevokePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountMyaccountGet(options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountMyaccountGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [token] \n * @param {string} [email] \n * @param {string} [organisationIdentifier] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountParentverificationGet(token?: string, email?: string, organisationIdentifier?: string, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountParentverificationGet(token, email, organisationIdentifier, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountParentVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountParentverificationPost(body?: AccountParentVerificationCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountParentverificationPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {string} [cacheKey] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountProfileimageassetGet(id?: string, cacheKey?: string, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountProfileimageassetGet(id, cacheKey, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountRegistrationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountRegisterPost(body?: AccountRegistrationCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountRegisterPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountSendEmailVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountSendemailverificationPost(body?: AccountSendEmailVerificationCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountSendemailverificationPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountSendParentVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountSendparentverificationPost(body?: AccountSendParentVerificationCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountSendparentverificationPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountUserGet(options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountUserGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountVolunteerRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountVolunteerremovePost(body?: AccountVolunteerRemoveCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountVolunteerremovePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [userProfileId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountVolunteerrequestGet(userProfileId?: string, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountVolunteerrequestGet(userProfileId, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountVolunteerRequestCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountVolunteerrequestPost(body?: AccountVolunteerRequestCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountVolunteerrequestPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AccountVolunteerRevokeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountVolunteerrevokePost(body?: AccountVolunteerRevokeCommand, options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountVolunteerrevokePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAccountWalkthroughcompletePost(options?: any): AxiosPromise {\n return AccountApiFp(configuration).apiAccountWalkthroughcompletePost(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * AccountApi - object-oriented interface\n * @export\n * @class AccountApi\n * @extends {BaseAPI}\n */\nexport class AccountApi extends BaseAPI {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountCertificationGet(id?: string, options?: any) {\n return AccountApiFp(this.configuration).apiAccountCertificationGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountCertificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountCertificationPost(body?: AccountCertificationCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountCertificationPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountCertificationassetGet(id?: string, options?: any) {\n return AccountApiFp(this.configuration).apiAccountCertificationassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountChangeEmailCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountChangeemailPost(body?: AccountChangeEmailCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountChangeemailPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountEditPhoneNumberCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountEditphonenumberPost(body?: AccountEditPhoneNumberCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountEditphonenumberPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountEditProfileImageCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountEditprofileimagePost(body?: AccountEditProfileImageCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountEditprofileimagePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountEmailChangeRequestCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountEmailchangerequestPost(body?: AccountEmailChangeRequestCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountEmailchangerequestPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountEmailVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountEmailverificationPost(body?: AccountEmailVerificationCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountEmailverificationPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountExistingcertificationsGet(options?: any) {\n return AccountApiFp(this.configuration).apiAccountExistingcertificationsGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountJoinOrganisationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountJoinorganisationPost(body?: AccountJoinOrganisationCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountJoinorganisationPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountLinkAccountsCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountLinkaccountsPost(body?: AccountLinkAccountsCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountLinkaccountsPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountLinkChildNameCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountLinkchildnamePost(body?: AccountLinkChildNameCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountLinkchildnamePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountLinkrequestGet(id?: string, options?: any) {\n return AccountApiFp(this.configuration).apiAccountLinkrequestGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountLinkRequestApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountLinkrequestapprovePost(body?: AccountLinkRequestApproveCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountLinkrequestapprovePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountLinkRequestRejectCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountLinkrequestrejectPost(body?: AccountLinkRequestRejectCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountLinkrequestrejectPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountLinkRequestRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountLinkrequestremovePost(body?: AccountLinkRequestRemoveCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountLinkrequestremovePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountLinkRequestRevokeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountLinkrequestrevokePost(body?: AccountLinkRequestRevokeCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountLinkrequestrevokePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountMyaccountGet(options?: any) {\n return AccountApiFp(this.configuration).apiAccountMyaccountGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [token] \n * @param {string} [email] \n * @param {string} [organisationIdentifier] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountParentverificationGet(token?: string, email?: string, organisationIdentifier?: string, options?: any) {\n return AccountApiFp(this.configuration).apiAccountParentverificationGet(token, email, organisationIdentifier, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountParentVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountParentverificationPost(body?: AccountParentVerificationCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountParentverificationPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {string} [cacheKey] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountProfileimageassetGet(id?: string, cacheKey?: string, options?: any) {\n return AccountApiFp(this.configuration).apiAccountProfileimageassetGet(id, cacheKey, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountRegistrationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountRegisterPost(body?: AccountRegistrationCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountRegisterPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountSendEmailVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountSendemailverificationPost(body?: AccountSendEmailVerificationCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountSendemailverificationPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountSendParentVerificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountSendparentverificationPost(body?: AccountSendParentVerificationCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountSendparentverificationPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountUserGet(options?: any) {\n return AccountApiFp(this.configuration).apiAccountUserGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountVolunteerRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountVolunteerremovePost(body?: AccountVolunteerRemoveCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountVolunteerremovePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [userProfileId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountVolunteerrequestGet(userProfileId?: string, options?: any) {\n return AccountApiFp(this.configuration).apiAccountVolunteerrequestGet(userProfileId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountVolunteerRequestCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountVolunteerrequestPost(body?: AccountVolunteerRequestCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountVolunteerrequestPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AccountVolunteerRevokeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountVolunteerrevokePost(body?: AccountVolunteerRevokeCommand, options?: any) {\n return AccountApiFp(this.configuration).apiAccountVolunteerrevokePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AccountApi\n */\n public apiAccountWalkthroughcompletePost(options?: any) {\n return AccountApiFp(this.configuration).apiAccountWalkthroughcompletePost(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { AuditReadyResponse } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\n/**\n * AuditApi - axios parameter creator\n * @export\n */\nexport const AuditApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuditAssetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/audit/asset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuditGeneratePost: async (options: any = {}): Promise => {\n const localVarPath = `/api/audit/generate`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [requestId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuditReadyGet: async (requestId?: string, options: any = {}): Promise => {\n const localVarPath = `/api/audit/ready`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (requestId !== undefined) {\n localVarQueryParameter['RequestId'] = requestId;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * AuditApi - functional programming interface\n * @export\n */\nexport const AuditApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAuditAssetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AuditApiAxiosParamCreator(configuration).apiAuditAssetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAuditGeneratePost(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AuditApiAxiosParamCreator(configuration).apiAuditGeneratePost(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [requestId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAuditReadyGet(requestId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AuditApiAxiosParamCreator(configuration).apiAuditReadyGet(requestId, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * AuditApi - factory interface\n * @export\n */\nexport const AuditApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuditAssetGet(id?: string, options?: any): AxiosPromise {\n return AuditApiFp(configuration).apiAuditAssetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuditGeneratePost(options?: any): AxiosPromise {\n return AuditApiFp(configuration).apiAuditGeneratePost(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [requestId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuditReadyGet(requestId?: string, options?: any): AxiosPromise {\n return AuditApiFp(configuration).apiAuditReadyGet(requestId, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * AuditApi - object-oriented interface\n * @export\n * @class AuditApi\n * @extends {BaseAPI}\n */\nexport class AuditApi extends BaseAPI {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuditApi\n */\n public apiAuditAssetGet(id?: string, options?: any) {\n return AuditApiFp(this.configuration).apiAuditAssetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuditApi\n */\n public apiAuditGeneratePost(options?: any) {\n return AuditApiFp(this.configuration).apiAuditGeneratePost(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [requestId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuditApi\n */\n public apiAuditReadyGet(requestId?: string, options?: any) {\n return AuditApiFp(this.configuration).apiAuditReadyGet(requestId, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { AuthenticationChangePasswordCommand } from '../models';\nimport { AuthenticationForgotPasswordCommand } from '../models';\nimport { AuthenticationLoginCommand } from '../models';\nimport { AuthenticationLoginResponse } from '../models';\nimport { AuthenticationResendTwoFactorTokenCommand } from '../models';\nimport { AuthenticationResetPasswordCommand } from '../models';\nimport { AuthenticationSwitchProfileCommand } from '../models';\nimport { AuthenticationSwitchProfileResponse } from '../models';\nimport { AuthenticationTokenRefreshCommand } from '../models';\nimport { AuthenticationTokenRefreshResponse } from '../models';\nimport { AuthenticationValidateTwoFactorCommand } from '../models';\nimport { AuthenticationValidateTwoFactorResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * AuthenticationApi - axios parameter creator\n * @export\n */\nexport const AuthenticationApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {AuthenticationChangePasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationChangepasswordPost: async (body?: AuthenticationChangePasswordCommand, options: any = {}): Promise => {\n const localVarPath = `/api/authentication/changepassword`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AuthenticationForgotPasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationForgotpasswordPost: async (body?: AuthenticationForgotPasswordCommand, options: any = {}): Promise => {\n const localVarPath = `/api/authentication/forgotpassword`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AuthenticationLoginCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationLoginPost: async (body?: AuthenticationLoginCommand, options: any = {}): Promise => {\n const localVarPath = `/api/authentication/login`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AuthenticationResendTwoFactorTokenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationResendtwofactortokenPost: async (body?: AuthenticationResendTwoFactorTokenCommand, options: any = {}): Promise => {\n const localVarPath = `/api/authentication/resendtwofactortoken`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AuthenticationResetPasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationResetpasswordPost: async (body?: AuthenticationResetPasswordCommand, options: any = {}): Promise => {\n const localVarPath = `/api/authentication/resetpassword`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AuthenticationSwitchProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationSwitchprofilePost: async (body?: AuthenticationSwitchProfileCommand, options: any = {}): Promise => {\n const localVarPath = `/api/authentication/switchprofile`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AuthenticationTokenRefreshCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationTokenrefreshPost: async (body?: AuthenticationTokenRefreshCommand, options: any = {}): Promise => {\n const localVarPath = `/api/authentication/tokenrefresh`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {AuthenticationValidateTwoFactorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationValidatetwofactorPost: async (body?: AuthenticationValidateTwoFactorCommand, options: any = {}): Promise => {\n const localVarPath = `/api/authentication/validatetwofactor`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * AuthenticationApi - functional programming interface\n * @export\n */\nexport const AuthenticationApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {AuthenticationChangePasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAuthenticationChangepasswordPost(body?: AuthenticationChangePasswordCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator(configuration).apiAuthenticationChangepasswordPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AuthenticationForgotPasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAuthenticationForgotpasswordPost(body?: AuthenticationForgotPasswordCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator(configuration).apiAuthenticationForgotpasswordPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AuthenticationLoginCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAuthenticationLoginPost(body?: AuthenticationLoginCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator(configuration).apiAuthenticationLoginPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AuthenticationResendTwoFactorTokenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAuthenticationResendtwofactortokenPost(body?: AuthenticationResendTwoFactorTokenCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator(configuration).apiAuthenticationResendtwofactortokenPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AuthenticationResetPasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAuthenticationResetpasswordPost(body?: AuthenticationResetPasswordCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator(configuration).apiAuthenticationResetpasswordPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AuthenticationSwitchProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAuthenticationSwitchprofilePost(body?: AuthenticationSwitchProfileCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator(configuration).apiAuthenticationSwitchprofilePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AuthenticationTokenRefreshCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAuthenticationTokenrefreshPost(body?: AuthenticationTokenRefreshCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator(configuration).apiAuthenticationTokenrefreshPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {AuthenticationValidateTwoFactorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiAuthenticationValidatetwofactorPost(body?: AuthenticationValidateTwoFactorCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator(configuration).apiAuthenticationValidatetwofactorPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * AuthenticationApi - factory interface\n * @export\n */\nexport const AuthenticationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {AuthenticationChangePasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationChangepasswordPost(body?: AuthenticationChangePasswordCommand, options?: any): AxiosPromise {\n return AuthenticationApiFp(configuration).apiAuthenticationChangepasswordPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AuthenticationForgotPasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationForgotpasswordPost(body?: AuthenticationForgotPasswordCommand, options?: any): AxiosPromise {\n return AuthenticationApiFp(configuration).apiAuthenticationForgotpasswordPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AuthenticationLoginCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationLoginPost(body?: AuthenticationLoginCommand, options?: any): AxiosPromise {\n return AuthenticationApiFp(configuration).apiAuthenticationLoginPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AuthenticationResendTwoFactorTokenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationResendtwofactortokenPost(body?: AuthenticationResendTwoFactorTokenCommand, options?: any): AxiosPromise {\n return AuthenticationApiFp(configuration).apiAuthenticationResendtwofactortokenPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AuthenticationResetPasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationResetpasswordPost(body?: AuthenticationResetPasswordCommand, options?: any): AxiosPromise {\n return AuthenticationApiFp(configuration).apiAuthenticationResetpasswordPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AuthenticationSwitchProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationSwitchprofilePost(body?: AuthenticationSwitchProfileCommand, options?: any): AxiosPromise {\n return AuthenticationApiFp(configuration).apiAuthenticationSwitchprofilePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AuthenticationTokenRefreshCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationTokenrefreshPost(body?: AuthenticationTokenRefreshCommand, options?: any): AxiosPromise {\n return AuthenticationApiFp(configuration).apiAuthenticationTokenrefreshPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {AuthenticationValidateTwoFactorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiAuthenticationValidatetwofactorPost(body?: AuthenticationValidateTwoFactorCommand, options?: any): AxiosPromise {\n return AuthenticationApiFp(configuration).apiAuthenticationValidatetwofactorPost(body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * AuthenticationApi - object-oriented interface\n * @export\n * @class AuthenticationApi\n * @extends {BaseAPI}\n */\nexport class AuthenticationApi extends BaseAPI {\n /**\n * \n * @param {AuthenticationChangePasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthenticationApi\n */\n public apiAuthenticationChangepasswordPost(body?: AuthenticationChangePasswordCommand, options?: any) {\n return AuthenticationApiFp(this.configuration).apiAuthenticationChangepasswordPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AuthenticationForgotPasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthenticationApi\n */\n public apiAuthenticationForgotpasswordPost(body?: AuthenticationForgotPasswordCommand, options?: any) {\n return AuthenticationApiFp(this.configuration).apiAuthenticationForgotpasswordPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AuthenticationLoginCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthenticationApi\n */\n public apiAuthenticationLoginPost(body?: AuthenticationLoginCommand, options?: any) {\n return AuthenticationApiFp(this.configuration).apiAuthenticationLoginPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AuthenticationResendTwoFactorTokenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthenticationApi\n */\n public apiAuthenticationResendtwofactortokenPost(body?: AuthenticationResendTwoFactorTokenCommand, options?: any) {\n return AuthenticationApiFp(this.configuration).apiAuthenticationResendtwofactortokenPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AuthenticationResetPasswordCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthenticationApi\n */\n public apiAuthenticationResetpasswordPost(body?: AuthenticationResetPasswordCommand, options?: any) {\n return AuthenticationApiFp(this.configuration).apiAuthenticationResetpasswordPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AuthenticationSwitchProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthenticationApi\n */\n public apiAuthenticationSwitchprofilePost(body?: AuthenticationSwitchProfileCommand, options?: any) {\n return AuthenticationApiFp(this.configuration).apiAuthenticationSwitchprofilePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AuthenticationTokenRefreshCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthenticationApi\n */\n public apiAuthenticationTokenrefreshPost(body?: AuthenticationTokenRefreshCommand, options?: any) {\n return AuthenticationApiFp(this.configuration).apiAuthenticationTokenrefreshPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {AuthenticationValidateTwoFactorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof AuthenticationApi\n */\n public apiAuthenticationValidatetwofactorPost(body?: AuthenticationValidateTwoFactorCommand, options?: any) {\n return AuthenticationApiFp(this.configuration).apiAuthenticationValidatetwofactorPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { ChecklistTemplateDashboardResponse } from '../models';\nimport { ChecklistTemplateDeleteCommand } from '../models';\nimport { ChecklistTemplateEditCommand } from '../models';\nimport { ChecklistTemplateEditQueryResponse } from '../models';\nimport { ChecklistTemplateReorderCommand } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * ChecklistTemplateApi - axios parameter creator\n * @export\n */\nexport const ChecklistTemplateApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChecklisttemplateDashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/checklisttemplate/dashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ChecklistTemplateDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChecklisttemplateDeletePost: async (body?: ChecklistTemplateDeleteCommand, options: any = {}): Promise => {\n const localVarPath = `/api/checklisttemplate/delete`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChecklisttemplateEditGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/checklisttemplate/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ChecklistTemplateEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChecklisttemplateEditPost: async (body?: ChecklistTemplateEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/checklisttemplate/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ChecklistTemplateReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChecklisttemplateReorderPost: async (body?: ChecklistTemplateReorderCommand, options: any = {}): Promise => {\n const localVarPath = `/api/checklisttemplate/reorder`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * ChecklistTemplateApi - functional programming interface\n * @export\n */\nexport const ChecklistTemplateApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChecklisttemplateDashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChecklistTemplateApiAxiosParamCreator(configuration).apiChecklisttemplateDashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ChecklistTemplateDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChecklisttemplateDeletePost(body?: ChecklistTemplateDeleteCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChecklistTemplateApiAxiosParamCreator(configuration).apiChecklisttemplateDeletePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChecklisttemplateEditGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChecklistTemplateApiAxiosParamCreator(configuration).apiChecklisttemplateEditGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ChecklistTemplateEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChecklisttemplateEditPost(body?: ChecklistTemplateEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChecklistTemplateApiAxiosParamCreator(configuration).apiChecklisttemplateEditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ChecklistTemplateReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChecklisttemplateReorderPost(body?: ChecklistTemplateReorderCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChecklistTemplateApiAxiosParamCreator(configuration).apiChecklisttemplateReorderPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * ChecklistTemplateApi - factory interface\n * @export\n */\nexport const ChecklistTemplateApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChecklisttemplateDashboardGet(options?: any): AxiosPromise {\n return ChecklistTemplateApiFp(configuration).apiChecklisttemplateDashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ChecklistTemplateDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChecklisttemplateDeletePost(body?: ChecklistTemplateDeleteCommand, options?: any): AxiosPromise {\n return ChecklistTemplateApiFp(configuration).apiChecklisttemplateDeletePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChecklisttemplateEditGet(id?: string, options?: any): AxiosPromise {\n return ChecklistTemplateApiFp(configuration).apiChecklisttemplateEditGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ChecklistTemplateEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChecklisttemplateEditPost(body?: ChecklistTemplateEditCommand, options?: any): AxiosPromise {\n return ChecklistTemplateApiFp(configuration).apiChecklisttemplateEditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ChecklistTemplateReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChecklisttemplateReorderPost(body?: ChecklistTemplateReorderCommand, options?: any): AxiosPromise {\n return ChecklistTemplateApiFp(configuration).apiChecklisttemplateReorderPost(body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * ChecklistTemplateApi - object-oriented interface\n * @export\n * @class ChecklistTemplateApi\n * @extends {BaseAPI}\n */\nexport class ChecklistTemplateApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChecklistTemplateApi\n */\n public apiChecklisttemplateDashboardGet(options?: any) {\n return ChecklistTemplateApiFp(this.configuration).apiChecklisttemplateDashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ChecklistTemplateDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChecklistTemplateApi\n */\n public apiChecklisttemplateDeletePost(body?: ChecklistTemplateDeleteCommand, options?: any) {\n return ChecklistTemplateApiFp(this.configuration).apiChecklisttemplateDeletePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChecklistTemplateApi\n */\n public apiChecklisttemplateEditGet(id?: string, options?: any) {\n return ChecklistTemplateApiFp(this.configuration).apiChecklisttemplateEditGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ChecklistTemplateEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChecklistTemplateApi\n */\n public apiChecklisttemplateEditPost(body?: ChecklistTemplateEditCommand, options?: any) {\n return ChecklistTemplateApiFp(this.configuration).apiChecklisttemplateEditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ChecklistTemplateReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChecklistTemplateApi\n */\n public apiChecklisttemplateReorderPost(body?: ChecklistTemplateReorderCommand, options?: any) {\n return ChecklistTemplateApiFp(this.configuration).apiChecklisttemplateReorderPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { ChildSafeStandardAdminDashboardResponse } from '../models';\nimport { ChildSafeStandardDeleteCommand } from '../models';\nimport { ChildSafeStandardEditCommand } from '../models';\nimport { ChildSafeStandardEditQueryResponse } from '../models';\nimport { ChildSafeStandardFetchResponse } from '../models';\nimport { ChildSafeStandardReorderCommand } from '../models';\nimport { ChildSafeStandardUserDashboardResponse } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * ChildSafeStandardApi - axios parameter creator\n * @export\n */\nexport const ChildSafeStandardApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardAdmindashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/childsafestandard/admindashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ChildSafeStandardDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardDeletePost: async (body?: ChildSafeStandardDeleteCommand, options: any = {}): Promise => {\n const localVarPath = `/api/childsafestandard/delete`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardEditGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/childsafestandard/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ChildSafeStandardEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardEditPost: async (body?: ChildSafeStandardEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/childsafestandard/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardFetchGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/childsafestandard/fetch`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ChildSafeStandardReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardReorderPost: async (body?: ChildSafeStandardReorderCommand, options: any = {}): Promise => {\n const localVarPath = `/api/childsafestandard/reorder`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardUserdashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/childsafestandard/userdashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * ChildSafeStandardApi - functional programming interface\n * @export\n */\nexport const ChildSafeStandardApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChildsafestandardAdmindashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChildSafeStandardApiAxiosParamCreator(configuration).apiChildsafestandardAdmindashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ChildSafeStandardDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChildsafestandardDeletePost(body?: ChildSafeStandardDeleteCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChildSafeStandardApiAxiosParamCreator(configuration).apiChildsafestandardDeletePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChildsafestandardEditGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChildSafeStandardApiAxiosParamCreator(configuration).apiChildsafestandardEditGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ChildSafeStandardEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChildsafestandardEditPost(body?: ChildSafeStandardEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChildSafeStandardApiAxiosParamCreator(configuration).apiChildsafestandardEditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChildsafestandardFetchGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChildSafeStandardApiAxiosParamCreator(configuration).apiChildsafestandardFetchGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ChildSafeStandardReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChildsafestandardReorderPost(body?: ChildSafeStandardReorderCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChildSafeStandardApiAxiosParamCreator(configuration).apiChildsafestandardReorderPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiChildsafestandardUserdashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ChildSafeStandardApiAxiosParamCreator(configuration).apiChildsafestandardUserdashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * ChildSafeStandardApi - factory interface\n * @export\n */\nexport const ChildSafeStandardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardAdmindashboardGet(options?: any): AxiosPromise {\n return ChildSafeStandardApiFp(configuration).apiChildsafestandardAdmindashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ChildSafeStandardDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardDeletePost(body?: ChildSafeStandardDeleteCommand, options?: any): AxiosPromise {\n return ChildSafeStandardApiFp(configuration).apiChildsafestandardDeletePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardEditGet(id?: string, options?: any): AxiosPromise {\n return ChildSafeStandardApiFp(configuration).apiChildsafestandardEditGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ChildSafeStandardEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardEditPost(body?: ChildSafeStandardEditCommand, options?: any): AxiosPromise {\n return ChildSafeStandardApiFp(configuration).apiChildsafestandardEditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardFetchGet(id?: string, options?: any): AxiosPromise {\n return ChildSafeStandardApiFp(configuration).apiChildsafestandardFetchGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ChildSafeStandardReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardReorderPost(body?: ChildSafeStandardReorderCommand, options?: any): AxiosPromise {\n return ChildSafeStandardApiFp(configuration).apiChildsafestandardReorderPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiChildsafestandardUserdashboardGet(options?: any): AxiosPromise {\n return ChildSafeStandardApiFp(configuration).apiChildsafestandardUserdashboardGet(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * ChildSafeStandardApi - object-oriented interface\n * @export\n * @class ChildSafeStandardApi\n * @extends {BaseAPI}\n */\nexport class ChildSafeStandardApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChildSafeStandardApi\n */\n public apiChildsafestandardAdmindashboardGet(options?: any) {\n return ChildSafeStandardApiFp(this.configuration).apiChildsafestandardAdmindashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ChildSafeStandardDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChildSafeStandardApi\n */\n public apiChildsafestandardDeletePost(body?: ChildSafeStandardDeleteCommand, options?: any) {\n return ChildSafeStandardApiFp(this.configuration).apiChildsafestandardDeletePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChildSafeStandardApi\n */\n public apiChildsafestandardEditGet(id?: string, options?: any) {\n return ChildSafeStandardApiFp(this.configuration).apiChildsafestandardEditGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ChildSafeStandardEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChildSafeStandardApi\n */\n public apiChildsafestandardEditPost(body?: ChildSafeStandardEditCommand, options?: any) {\n return ChildSafeStandardApiFp(this.configuration).apiChildsafestandardEditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChildSafeStandardApi\n */\n public apiChildsafestandardFetchGet(id?: string, options?: any) {\n return ChildSafeStandardApiFp(this.configuration).apiChildsafestandardFetchGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ChildSafeStandardReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChildSafeStandardApi\n */\n public apiChildsafestandardReorderPost(body?: ChildSafeStandardReorderCommand, options?: any) {\n return ChildSafeStandardApiFp(this.configuration).apiChildsafestandardReorderPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ChildSafeStandardApi\n */\n public apiChildsafestandardUserdashboardGet(options?: any) {\n return ChildSafeStandardApiFp(this.configuration).apiChildsafestandardUserdashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { ComplaintAcceptResolutionCommand } from '../models';\nimport { ComplaintAcceptResolutionQueryResponse } from '../models';\nimport { ComplaintActionsResponse } from '../models';\nimport { ComplaintAddStaffCommand } from '../models';\nimport { ComplaintAdminDashboardResponse } from '../models';\nimport { ComplaintComplaintAdviceResponse } from '../models';\nimport { ComplaintCreateCommand } from '../models';\nimport { ComplaintEditActionCommand } from '../models';\nimport { ComplaintEditActionResponse } from '../models';\nimport { ComplaintFetchResponse } from '../models';\nimport { ComplaintMemberCandidatesResponse } from '../models';\nimport { ComplaintRemoveActionCommand } from '../models';\nimport { ComplaintRemoveFamilyMemberCommand } from '../models';\nimport { ComplaintReopenCommand } from '../models';\nimport { ComplaintResolutionCommand } from '../models';\nimport { ComplaintResolutionResponse } from '../models';\nimport { ComplaintStaffCandidatesResponse } from '../models';\nimport { ComplaintUserDashboardResponse } from '../models';\nimport { ComplaintWithdrawCommand } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * ComplaintApi - axios parameter creator\n * @export\n */\nexport const ComplaintApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintAcceptresolutionGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/acceptresolution`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintAcceptResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintAcceptresolutionPost: async (body?: ComplaintAcceptResolutionCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/acceptresolution`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintActionassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/actionasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintActionsGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/actions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintAddStaffCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintAddstaffPost: async (body?: ComplaintAddStaffCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/addstaff`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintAdmindashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/complaint/admindashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintAssetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/asset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintComplaintadviceGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/complaint/complaintadvice`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintCreatePost: async (body?: ComplaintCreateCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/create`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintEditactionGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/editaction`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintEditActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintEditactionPost: async (body?: ComplaintEditActionCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/editaction`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintFetchGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/fetch`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintMembercandidatesGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/complaint/membercandidates`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintRemoveActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintRemoveactionPost: async (body?: ComplaintRemoveActionCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/removeaction`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintRemoveFamilyMemberCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintRemovefamilymemberPost: async (body?: ComplaintRemoveFamilyMemberCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/removefamilymember`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintReopenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintReopenPost: async (body?: ComplaintReopenCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/reopen`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintResolutionGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/resolution`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintResolutionPost: async (body?: ComplaintResolutionCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/resolution`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintAcceptResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintReviewPost: async (body?: ComplaintAcceptResolutionCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/review`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintStaffcandidatesGet: async (id?: string, searchTerm?: string, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/staffcandidates`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n if (searchTerm !== undefined) {\n localVarQueryParameter['SearchTerm'] = searchTerm;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintSummarypdfassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/summarypdfasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintUserdashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/complaint/userdashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintWithdrawCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintWithdrawPost: async (body?: ComplaintWithdrawCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaint/withdraw`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * ComplaintApi - functional programming interface\n * @export\n */\nexport const ComplaintApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintAcceptresolutionGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintAcceptresolutionGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintAcceptResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintAcceptresolutionPost(body?: ComplaintAcceptResolutionCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintAcceptresolutionPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintActionassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintActionassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintActionsGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintActionsGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintAddStaffCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintAddstaffPost(body?: ComplaintAddStaffCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintAddstaffPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintAdmindashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintAdmindashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintAssetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintAssetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintComplaintadviceGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintComplaintadviceGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintCreatePost(body?: ComplaintCreateCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintCreatePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintEditactionGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintEditactionGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintEditActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintEditactionPost(body?: ComplaintEditActionCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintEditactionPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintFetchGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintFetchGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintMembercandidatesGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintMembercandidatesGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintRemoveActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintRemoveactionPost(body?: ComplaintRemoveActionCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintRemoveactionPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintRemoveFamilyMemberCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintRemovefamilymemberPost(body?: ComplaintRemoveFamilyMemberCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintRemovefamilymemberPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintReopenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintReopenPost(body?: ComplaintReopenCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintReopenPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintResolutionGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintResolutionGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintResolutionPost(body?: ComplaintResolutionCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintResolutionPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintAcceptResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintReviewPost(body?: ComplaintAcceptResolutionCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintReviewPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintStaffcandidatesGet(id?: string, searchTerm?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintStaffcandidatesGet(id, searchTerm, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintSummarypdfassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintSummarypdfassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintUserdashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintUserdashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintWithdrawCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintWithdrawPost(body?: ComplaintWithdrawCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintApiAxiosParamCreator(configuration).apiComplaintWithdrawPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * ComplaintApi - factory interface\n * @export\n */\nexport const ComplaintApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintAcceptresolutionGet(id?: string, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintAcceptresolutionGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintAcceptResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintAcceptresolutionPost(body?: ComplaintAcceptResolutionCommand, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintAcceptresolutionPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintActionassetGet(id?: string, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintActionassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintActionsGet(id?: string, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintActionsGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintAddStaffCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintAddstaffPost(body?: ComplaintAddStaffCommand, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintAddstaffPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintAdmindashboardGet(options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintAdmindashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintAssetGet(id?: string, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintAssetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintComplaintadviceGet(options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintComplaintadviceGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintCreatePost(body?: ComplaintCreateCommand, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintCreatePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintEditactionGet(id?: string, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintEditactionGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintEditActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintEditactionPost(body?: ComplaintEditActionCommand, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintEditactionPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintFetchGet(id?: string, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintFetchGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintMembercandidatesGet(options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintMembercandidatesGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintRemoveActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintRemoveactionPost(body?: ComplaintRemoveActionCommand, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintRemoveactionPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintRemoveFamilyMemberCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintRemovefamilymemberPost(body?: ComplaintRemoveFamilyMemberCommand, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintRemovefamilymemberPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintReopenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintReopenPost(body?: ComplaintReopenCommand, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintReopenPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintResolutionGet(id?: string, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintResolutionGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintResolutionPost(body?: ComplaintResolutionCommand, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintResolutionPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintAcceptResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintReviewPost(body?: ComplaintAcceptResolutionCommand, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintReviewPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintStaffcandidatesGet(id?: string, searchTerm?: string, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintStaffcandidatesGet(id, searchTerm, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintSummarypdfassetGet(id?: string, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintSummarypdfassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintUserdashboardGet(options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintUserdashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintWithdrawCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintWithdrawPost(body?: ComplaintWithdrawCommand, options?: any): AxiosPromise {\n return ComplaintApiFp(configuration).apiComplaintWithdrawPost(body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * ComplaintApi - object-oriented interface\n * @export\n * @class ComplaintApi\n * @extends {BaseAPI}\n */\nexport class ComplaintApi extends BaseAPI {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintAcceptresolutionGet(id?: string, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintAcceptresolutionGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintAcceptResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintAcceptresolutionPost(body?: ComplaintAcceptResolutionCommand, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintAcceptresolutionPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintActionassetGet(id?: string, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintActionassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintActionsGet(id?: string, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintActionsGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintAddStaffCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintAddstaffPost(body?: ComplaintAddStaffCommand, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintAddstaffPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintAdmindashboardGet(options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintAdmindashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintAssetGet(id?: string, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintAssetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintComplaintadviceGet(options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintComplaintadviceGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintCreatePost(body?: ComplaintCreateCommand, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintCreatePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintEditactionGet(id?: string, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintEditactionGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintEditActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintEditactionPost(body?: ComplaintEditActionCommand, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintEditactionPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintFetchGet(id?: string, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintFetchGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintMembercandidatesGet(options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintMembercandidatesGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintRemoveActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintRemoveactionPost(body?: ComplaintRemoveActionCommand, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintRemoveactionPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintRemoveFamilyMemberCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintRemovefamilymemberPost(body?: ComplaintRemoveFamilyMemberCommand, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintRemovefamilymemberPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintReopenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintReopenPost(body?: ComplaintReopenCommand, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintReopenPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintResolutionGet(id?: string, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintResolutionGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintResolutionPost(body?: ComplaintResolutionCommand, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintResolutionPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintAcceptResolutionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintReviewPost(body?: ComplaintAcceptResolutionCommand, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintReviewPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintStaffcandidatesGet(id?: string, searchTerm?: string, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintStaffcandidatesGet(id, searchTerm, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintSummarypdfassetGet(id?: string, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintSummarypdfassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintUserdashboardGet(options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintUserdashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintWithdrawCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintApi\n */\n public apiComplaintWithdrawPost(body?: ComplaintWithdrawCommand, options?: any) {\n return ComplaintApiFp(this.configuration).apiComplaintWithdrawPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { ComplaintAdviceDashboardResponse } from '../models';\nimport { ComplaintAdviceDeleteCommand } from '../models';\nimport { ComplaintAdviceEditCommand } from '../models';\nimport { ComplaintAdviceEditResponse } from '../models';\nimport { ComplaintAdviceReorderCommand } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * ComplaintAdviceApi - axios parameter creator\n * @export\n */\nexport const ComplaintAdviceApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceAssetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/complaintadvice/asset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceDashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/complaintadvice/dashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintAdviceDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceDeletePost: async (body?: ComplaintAdviceDeleteCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaintadvice/delete`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceEditGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/complaintadvice/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintAdviceEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceEditPost: async (body?: ComplaintAdviceEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaintadvice/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {ComplaintAdviceReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceReorderPost: async (body?: ComplaintAdviceReorderCommand, options: any = {}): Promise => {\n const localVarPath = `/api/complaintadvice/reorder`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * ComplaintAdviceApi - functional programming interface\n * @export\n */\nexport const ComplaintAdviceApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintadviceAssetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintAdviceApiAxiosParamCreator(configuration).apiComplaintadviceAssetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintadviceDashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintAdviceApiAxiosParamCreator(configuration).apiComplaintadviceDashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintAdviceDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintadviceDeletePost(body?: ComplaintAdviceDeleteCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintAdviceApiAxiosParamCreator(configuration).apiComplaintadviceDeletePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintadviceEditGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintAdviceApiAxiosParamCreator(configuration).apiComplaintadviceEditGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintAdviceEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintadviceEditPost(body?: ComplaintAdviceEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintAdviceApiAxiosParamCreator(configuration).apiComplaintadviceEditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {ComplaintAdviceReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiComplaintadviceReorderPost(body?: ComplaintAdviceReorderCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await ComplaintAdviceApiAxiosParamCreator(configuration).apiComplaintadviceReorderPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * ComplaintAdviceApi - factory interface\n * @export\n */\nexport const ComplaintAdviceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceAssetGet(id?: string, options?: any): AxiosPromise {\n return ComplaintAdviceApiFp(configuration).apiComplaintadviceAssetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceDashboardGet(options?: any): AxiosPromise {\n return ComplaintAdviceApiFp(configuration).apiComplaintadviceDashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintAdviceDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceDeletePost(body?: ComplaintAdviceDeleteCommand, options?: any): AxiosPromise {\n return ComplaintAdviceApiFp(configuration).apiComplaintadviceDeletePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceEditGet(id?: string, options?: any): AxiosPromise {\n return ComplaintAdviceApiFp(configuration).apiComplaintadviceEditGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintAdviceEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceEditPost(body?: ComplaintAdviceEditCommand, options?: any): AxiosPromise {\n return ComplaintAdviceApiFp(configuration).apiComplaintadviceEditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {ComplaintAdviceReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiComplaintadviceReorderPost(body?: ComplaintAdviceReorderCommand, options?: any): AxiosPromise {\n return ComplaintAdviceApiFp(configuration).apiComplaintadviceReorderPost(body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * ComplaintAdviceApi - object-oriented interface\n * @export\n * @class ComplaintAdviceApi\n * @extends {BaseAPI}\n */\nexport class ComplaintAdviceApi extends BaseAPI {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintAdviceApi\n */\n public apiComplaintadviceAssetGet(id?: string, options?: any) {\n return ComplaintAdviceApiFp(this.configuration).apiComplaintadviceAssetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintAdviceApi\n */\n public apiComplaintadviceDashboardGet(options?: any) {\n return ComplaintAdviceApiFp(this.configuration).apiComplaintadviceDashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintAdviceDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintAdviceApi\n */\n public apiComplaintadviceDeletePost(body?: ComplaintAdviceDeleteCommand, options?: any) {\n return ComplaintAdviceApiFp(this.configuration).apiComplaintadviceDeletePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintAdviceApi\n */\n public apiComplaintadviceEditGet(id?: string, options?: any) {\n return ComplaintAdviceApiFp(this.configuration).apiComplaintadviceEditGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintAdviceEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintAdviceApi\n */\n public apiComplaintadviceEditPost(body?: ComplaintAdviceEditCommand, options?: any) {\n return ComplaintAdviceApiFp(this.configuration).apiComplaintadviceEditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {ComplaintAdviceReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof ComplaintAdviceApi\n */\n public apiComplaintadviceReorderPost(body?: ComplaintAdviceReorderCommand, options?: any) {\n return ComplaintAdviceApiFp(this.configuration).apiComplaintadviceReorderPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { DashboardActivityFeedCommand } from '../models';\nimport { DashboardActivityFeedQueryResponse } from '../models';\nimport { DashboardRemoveActivityFeedCommand } from '../models';\nimport { DashboardSectionSummariesResponse } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * DashboardApi - axios parameter creator\n * @export\n */\nexport const DashboardApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiDashboardActivityfeedGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/dashboard/activityfeed`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {DashboardActivityFeedCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiDashboardActivityfeedPost: async (body?: DashboardActivityFeedCommand, options: any = {}): Promise => {\n const localVarPath = `/api/dashboard/activityfeed`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiDashboardActivityfeedassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/dashboard/activityfeedasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {DashboardRemoveActivityFeedCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiDashboardRemoveactivityfeedPost: async (body?: DashboardRemoveActivityFeedCommand, options: any = {}): Promise => {\n const localVarPath = `/api/dashboard/removeactivityfeed`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiDashboardSectionsummariesGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/dashboard/sectionsummaries`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * DashboardApi - functional programming interface\n * @export\n */\nexport const DashboardApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiDashboardActivityfeedGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await DashboardApiAxiosParamCreator(configuration).apiDashboardActivityfeedGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {DashboardActivityFeedCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiDashboardActivityfeedPost(body?: DashboardActivityFeedCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await DashboardApiAxiosParamCreator(configuration).apiDashboardActivityfeedPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiDashboardActivityfeedassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await DashboardApiAxiosParamCreator(configuration).apiDashboardActivityfeedassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {DashboardRemoveActivityFeedCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiDashboardRemoveactivityfeedPost(body?: DashboardRemoveActivityFeedCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await DashboardApiAxiosParamCreator(configuration).apiDashboardRemoveactivityfeedPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiDashboardSectionsummariesGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await DashboardApiAxiosParamCreator(configuration).apiDashboardSectionsummariesGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * DashboardApi - factory interface\n * @export\n */\nexport const DashboardApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiDashboardActivityfeedGet(options?: any): AxiosPromise {\n return DashboardApiFp(configuration).apiDashboardActivityfeedGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {DashboardActivityFeedCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiDashboardActivityfeedPost(body?: DashboardActivityFeedCommand, options?: any): AxiosPromise {\n return DashboardApiFp(configuration).apiDashboardActivityfeedPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiDashboardActivityfeedassetGet(id?: string, options?: any): AxiosPromise {\n return DashboardApiFp(configuration).apiDashboardActivityfeedassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {DashboardRemoveActivityFeedCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiDashboardRemoveactivityfeedPost(body?: DashboardRemoveActivityFeedCommand, options?: any): AxiosPromise {\n return DashboardApiFp(configuration).apiDashboardRemoveactivityfeedPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiDashboardSectionsummariesGet(options?: any): AxiosPromise {\n return DashboardApiFp(configuration).apiDashboardSectionsummariesGet(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * DashboardApi - object-oriented interface\n * @export\n * @class DashboardApi\n * @extends {BaseAPI}\n */\nexport class DashboardApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DashboardApi\n */\n public apiDashboardActivityfeedGet(options?: any) {\n return DashboardApiFp(this.configuration).apiDashboardActivityfeedGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {DashboardActivityFeedCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DashboardApi\n */\n public apiDashboardActivityfeedPost(body?: DashboardActivityFeedCommand, options?: any) {\n return DashboardApiFp(this.configuration).apiDashboardActivityfeedPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DashboardApi\n */\n public apiDashboardActivityfeedassetGet(id?: string, options?: any) {\n return DashboardApiFp(this.configuration).apiDashboardActivityfeedassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {DashboardRemoveActivityFeedCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DashboardApi\n */\n public apiDashboardRemoveactivityfeedPost(body?: DashboardRemoveActivityFeedCommand, options?: any) {\n return DashboardApiFp(this.configuration).apiDashboardRemoveactivityfeedPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof DashboardApi\n */\n public apiDashboardSectionsummariesGet(options?: any) {\n return DashboardApiFp(this.configuration).apiDashboardSectionsummariesGet(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { FamiliesDashboardResponse } from '../models';\nimport { FamiliesDisableProfileCommand } from '../models';\nimport { FamiliesFetchResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * FamiliesApi - axios parameter creator\n * @export\n */\nexport const FamiliesApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFamiliesDashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/families/dashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {FamiliesDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFamiliesDisableprofilePost: async (body?: FamiliesDisableProfileCommand, options: any = {}): Promise => {\n const localVarPath = `/api/families/disableprofile`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFamiliesFetchGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/families/fetch`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * FamiliesApi - functional programming interface\n * @export\n */\nexport const FamiliesApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFamiliesDashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FamiliesApiAxiosParamCreator(configuration).apiFamiliesDashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {FamiliesDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFamiliesDisableprofilePost(body?: FamiliesDisableProfileCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FamiliesApiAxiosParamCreator(configuration).apiFamiliesDisableprofilePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFamiliesFetchGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FamiliesApiAxiosParamCreator(configuration).apiFamiliesFetchGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * FamiliesApi - factory interface\n * @export\n */\nexport const FamiliesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFamiliesDashboardGet(options?: any): AxiosPromise {\n return FamiliesApiFp(configuration).apiFamiliesDashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {FamiliesDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFamiliesDisableprofilePost(body?: FamiliesDisableProfileCommand, options?: any): AxiosPromise {\n return FamiliesApiFp(configuration).apiFamiliesDisableprofilePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFamiliesFetchGet(id?: string, options?: any): AxiosPromise {\n return FamiliesApiFp(configuration).apiFamiliesFetchGet(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * FamiliesApi - object-oriented interface\n * @export\n * @class FamiliesApi\n * @extends {BaseAPI}\n */\nexport class FamiliesApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FamiliesApi\n */\n public apiFamiliesDashboardGet(options?: any) {\n return FamiliesApiFp(this.configuration).apiFamiliesDashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {FamiliesDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FamiliesApi\n */\n public apiFamiliesDisableprofilePost(body?: FamiliesDisableProfileCommand, options?: any) {\n return FamiliesApiFp(this.configuration).apiFamiliesDisableprofilePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FamiliesApi\n */\n public apiFamiliesFetchGet(id?: string, options?: any) {\n return FamiliesApiFp(this.configuration).apiFamiliesFetchGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { FeedbackActionsResponse } from '../models';\nimport { FeedbackAdminDashboardResponse } from '../models';\nimport { FeedbackCreateCommand } from '../models';\nimport { FeedbackFetchResponse } from '../models';\nimport { FeedbackLogActionCommand } from '../models';\nimport { FeedbackResolveCommand } from '../models';\nimport { FeedbackUserDashboardResponse } from '../models';\nimport { FeedbackWithdrawCommand } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * FeedbackApi - axios parameter creator\n * @export\n */\nexport const FeedbackApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackActionassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/feedback/actionasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackActionsGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/feedback/actions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackAdmindashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/feedback/admindashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackAssetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/feedback/asset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {FeedbackCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackCreatePost: async (body?: FeedbackCreateCommand, options: any = {}): Promise => {\n const localVarPath = `/api/feedback/create`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackFetchGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/feedback/fetch`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {FeedbackLogActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackLogactionPost: async (body?: FeedbackLogActionCommand, options: any = {}): Promise => {\n const localVarPath = `/api/feedback/logaction`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {FeedbackResolveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackResolvePost: async (body?: FeedbackResolveCommand, options: any = {}): Promise => {\n const localVarPath = `/api/feedback/resolve`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackSummarypdfassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/feedback/summarypdfasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackUserdashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/feedback/userdashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {FeedbackWithdrawCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackWithdrawPost: async (body?: FeedbackWithdrawCommand, options: any = {}): Promise => {\n const localVarPath = `/api/feedback/withdraw`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * FeedbackApi - functional programming interface\n * @export\n */\nexport const FeedbackApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFeedbackActionassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FeedbackApiAxiosParamCreator(configuration).apiFeedbackActionassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFeedbackActionsGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FeedbackApiAxiosParamCreator(configuration).apiFeedbackActionsGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFeedbackAdmindashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FeedbackApiAxiosParamCreator(configuration).apiFeedbackAdmindashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFeedbackAssetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FeedbackApiAxiosParamCreator(configuration).apiFeedbackAssetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {FeedbackCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFeedbackCreatePost(body?: FeedbackCreateCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FeedbackApiAxiosParamCreator(configuration).apiFeedbackCreatePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFeedbackFetchGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FeedbackApiAxiosParamCreator(configuration).apiFeedbackFetchGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {FeedbackLogActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFeedbackLogactionPost(body?: FeedbackLogActionCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FeedbackApiAxiosParamCreator(configuration).apiFeedbackLogactionPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {FeedbackResolveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFeedbackResolvePost(body?: FeedbackResolveCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FeedbackApiAxiosParamCreator(configuration).apiFeedbackResolvePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFeedbackSummarypdfassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FeedbackApiAxiosParamCreator(configuration).apiFeedbackSummarypdfassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFeedbackUserdashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FeedbackApiAxiosParamCreator(configuration).apiFeedbackUserdashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {FeedbackWithdrawCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiFeedbackWithdrawPost(body?: FeedbackWithdrawCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await FeedbackApiAxiosParamCreator(configuration).apiFeedbackWithdrawPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * FeedbackApi - factory interface\n * @export\n */\nexport const FeedbackApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackActionassetGet(id?: string, options?: any): AxiosPromise {\n return FeedbackApiFp(configuration).apiFeedbackActionassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackActionsGet(id?: string, options?: any): AxiosPromise {\n return FeedbackApiFp(configuration).apiFeedbackActionsGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackAdmindashboardGet(options?: any): AxiosPromise {\n return FeedbackApiFp(configuration).apiFeedbackAdmindashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackAssetGet(id?: string, options?: any): AxiosPromise {\n return FeedbackApiFp(configuration).apiFeedbackAssetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {FeedbackCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackCreatePost(body?: FeedbackCreateCommand, options?: any): AxiosPromise {\n return FeedbackApiFp(configuration).apiFeedbackCreatePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackFetchGet(id?: string, options?: any): AxiosPromise {\n return FeedbackApiFp(configuration).apiFeedbackFetchGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {FeedbackLogActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackLogactionPost(body?: FeedbackLogActionCommand, options?: any): AxiosPromise {\n return FeedbackApiFp(configuration).apiFeedbackLogactionPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {FeedbackResolveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackResolvePost(body?: FeedbackResolveCommand, options?: any): AxiosPromise {\n return FeedbackApiFp(configuration).apiFeedbackResolvePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackSummarypdfassetGet(id?: string, options?: any): AxiosPromise {\n return FeedbackApiFp(configuration).apiFeedbackSummarypdfassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackUserdashboardGet(options?: any): AxiosPromise {\n return FeedbackApiFp(configuration).apiFeedbackUserdashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {FeedbackWithdrawCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiFeedbackWithdrawPost(body?: FeedbackWithdrawCommand, options?: any): AxiosPromise {\n return FeedbackApiFp(configuration).apiFeedbackWithdrawPost(body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * FeedbackApi - object-oriented interface\n * @export\n * @class FeedbackApi\n * @extends {BaseAPI}\n */\nexport class FeedbackApi extends BaseAPI {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FeedbackApi\n */\n public apiFeedbackActionassetGet(id?: string, options?: any) {\n return FeedbackApiFp(this.configuration).apiFeedbackActionassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FeedbackApi\n */\n public apiFeedbackActionsGet(id?: string, options?: any) {\n return FeedbackApiFp(this.configuration).apiFeedbackActionsGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FeedbackApi\n */\n public apiFeedbackAdmindashboardGet(options?: any) {\n return FeedbackApiFp(this.configuration).apiFeedbackAdmindashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FeedbackApi\n */\n public apiFeedbackAssetGet(id?: string, options?: any) {\n return FeedbackApiFp(this.configuration).apiFeedbackAssetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {FeedbackCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FeedbackApi\n */\n public apiFeedbackCreatePost(body?: FeedbackCreateCommand, options?: any) {\n return FeedbackApiFp(this.configuration).apiFeedbackCreatePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FeedbackApi\n */\n public apiFeedbackFetchGet(id?: string, options?: any) {\n return FeedbackApiFp(this.configuration).apiFeedbackFetchGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {FeedbackLogActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FeedbackApi\n */\n public apiFeedbackLogactionPost(body?: FeedbackLogActionCommand, options?: any) {\n return FeedbackApiFp(this.configuration).apiFeedbackLogactionPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {FeedbackResolveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FeedbackApi\n */\n public apiFeedbackResolvePost(body?: FeedbackResolveCommand, options?: any) {\n return FeedbackApiFp(this.configuration).apiFeedbackResolvePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FeedbackApi\n */\n public apiFeedbackSummarypdfassetGet(id?: string, options?: any) {\n return FeedbackApiFp(this.configuration).apiFeedbackSummarypdfassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FeedbackApi\n */\n public apiFeedbackUserdashboardGet(options?: any) {\n return FeedbackApiFp(this.configuration).apiFeedbackUserdashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {FeedbackWithdrawCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof FeedbackApi\n */\n public apiFeedbackWithdrawPost(body?: FeedbackWithdrawCommand, options?: any) {\n return FeedbackApiFp(this.configuration).apiFeedbackWithdrawPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { GlobalLookupsResponse } from '../models';\n/**\n * GlobalApi - axios parameter creator\n * @export\n */\nexport const GlobalApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiGlobalLookupsGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/global/lookups`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * GlobalApi - functional programming interface\n * @export\n */\nexport const GlobalApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiGlobalLookupsGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await GlobalApiAxiosParamCreator(configuration).apiGlobalLookupsGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * GlobalApi - factory interface\n * @export\n */\nexport const GlobalApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiGlobalLookupsGet(options?: any): AxiosPromise {\n return GlobalApiFp(configuration).apiGlobalLookupsGet(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * GlobalApi - object-oriented interface\n * @export\n * @class GlobalApi\n * @extends {BaseAPI}\n */\nexport class GlobalApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof GlobalApi\n */\n public apiGlobalLookupsGet(options?: any) {\n return GlobalApiFp(this.configuration).apiGlobalLookupsGet(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { HelpDeskAdminDashboardResponse } from '../models';\nimport { HelpDeskDeleteCommand } from '../models';\nimport { HelpDeskEditCommand } from '../models';\nimport { HelpDeskEditQueryResponse } from '../models';\nimport { HelpDeskFetchResponse } from '../models';\nimport { HelpDeskReorderCommand } from '../models';\nimport { HelpDeskUserDashboardResponse } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * HelpDeskApi - axios parameter creator\n * @export\n */\nexport const HelpDeskApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskAdmindashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/helpdesk/admindashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {HelpDeskDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskDeletePost: async (body?: HelpDeskDeleteCommand, options: any = {}): Promise => {\n const localVarPath = `/api/helpdesk/delete`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskEditGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/helpdesk/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {HelpDeskEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskEditPost: async (body?: HelpDeskEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/helpdesk/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskFetchGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/helpdesk/fetch`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {HelpDeskReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskReorderPost: async (body?: HelpDeskReorderCommand, options: any = {}): Promise => {\n const localVarPath = `/api/helpdesk/reorder`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskUserdashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/helpdesk/userdashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * HelpDeskApi - functional programming interface\n * @export\n */\nexport const HelpDeskApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiHelpdeskAdmindashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await HelpDeskApiAxiosParamCreator(configuration).apiHelpdeskAdmindashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {HelpDeskDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiHelpdeskDeletePost(body?: HelpDeskDeleteCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await HelpDeskApiAxiosParamCreator(configuration).apiHelpdeskDeletePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiHelpdeskEditGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await HelpDeskApiAxiosParamCreator(configuration).apiHelpdeskEditGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {HelpDeskEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiHelpdeskEditPost(body?: HelpDeskEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await HelpDeskApiAxiosParamCreator(configuration).apiHelpdeskEditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiHelpdeskFetchGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await HelpDeskApiAxiosParamCreator(configuration).apiHelpdeskFetchGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {HelpDeskReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiHelpdeskReorderPost(body?: HelpDeskReorderCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await HelpDeskApiAxiosParamCreator(configuration).apiHelpdeskReorderPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiHelpdeskUserdashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await HelpDeskApiAxiosParamCreator(configuration).apiHelpdeskUserdashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * HelpDeskApi - factory interface\n * @export\n */\nexport const HelpDeskApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskAdmindashboardGet(options?: any): AxiosPromise {\n return HelpDeskApiFp(configuration).apiHelpdeskAdmindashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {HelpDeskDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskDeletePost(body?: HelpDeskDeleteCommand, options?: any): AxiosPromise {\n return HelpDeskApiFp(configuration).apiHelpdeskDeletePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskEditGet(id?: string, options?: any): AxiosPromise {\n return HelpDeskApiFp(configuration).apiHelpdeskEditGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {HelpDeskEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskEditPost(body?: HelpDeskEditCommand, options?: any): AxiosPromise {\n return HelpDeskApiFp(configuration).apiHelpdeskEditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskFetchGet(id?: string, options?: any): AxiosPromise {\n return HelpDeskApiFp(configuration).apiHelpdeskFetchGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {HelpDeskReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskReorderPost(body?: HelpDeskReorderCommand, options?: any): AxiosPromise {\n return HelpDeskApiFp(configuration).apiHelpdeskReorderPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiHelpdeskUserdashboardGet(options?: any): AxiosPromise {\n return HelpDeskApiFp(configuration).apiHelpdeskUserdashboardGet(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * HelpDeskApi - object-oriented interface\n * @export\n * @class HelpDeskApi\n * @extends {BaseAPI}\n */\nexport class HelpDeskApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HelpDeskApi\n */\n public apiHelpdeskAdmindashboardGet(options?: any) {\n return HelpDeskApiFp(this.configuration).apiHelpdeskAdmindashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {HelpDeskDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HelpDeskApi\n */\n public apiHelpdeskDeletePost(body?: HelpDeskDeleteCommand, options?: any) {\n return HelpDeskApiFp(this.configuration).apiHelpdeskDeletePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HelpDeskApi\n */\n public apiHelpdeskEditGet(id?: string, options?: any) {\n return HelpDeskApiFp(this.configuration).apiHelpdeskEditGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {HelpDeskEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HelpDeskApi\n */\n public apiHelpdeskEditPost(body?: HelpDeskEditCommand, options?: any) {\n return HelpDeskApiFp(this.configuration).apiHelpdeskEditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HelpDeskApi\n */\n public apiHelpdeskFetchGet(id?: string, options?: any) {\n return HelpDeskApiFp(this.configuration).apiHelpdeskFetchGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {HelpDeskReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HelpDeskApi\n */\n public apiHelpdeskReorderPost(body?: HelpDeskReorderCommand, options?: any) {\n return HelpDeskApiFp(this.configuration).apiHelpdeskReorderPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof HelpDeskApi\n */\n public apiHelpdeskUserdashboardGet(options?: any) {\n return HelpDeskApiFp(this.configuration).apiHelpdeskUserdashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { IncidentAcknowledgeCommand } from '../models';\nimport { IncidentAcknowledgeOnBehalfCommand } from '../models';\nimport { IncidentAcknowledgeOnBehalfQueryResponse } from '../models';\nimport { IncidentAdminDashboardResponse } from '../models';\nimport { IncidentEditCommand } from '../models';\nimport { IncidentEditQueryResponse } from '../models';\nimport { IncidentLinkIncidentCommand } from '../models';\nimport { IncidentLinkRequestResponse } from '../models';\nimport { IncidentRecipientsResponse } from '../models';\nimport { IncidentUserDashboardResponse } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * IncidentApi - axios parameter creator\n * @export\n */\nexport const IncidentApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {IncidentAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAcknowledgePost: async (body?: IncidentAcknowledgeCommand, options: any = {}): Promise => {\n const localVarPath = `/api/incident/acknowledge`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAcknowledgeassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incident/acknowledgeasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAcknowledgeonbehalfGet: async (recipientId?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incident/acknowledgeonbehalf`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (recipientId !== undefined) {\n localVarQueryParameter['RecipientId'] = recipientId;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {IncidentAcknowledgeOnBehalfCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAcknowledgeonbehalfPost: async (body?: IncidentAcknowledgeOnBehalfCommand, options: any = {}): Promise => {\n const localVarPath = `/api/incident/acknowledgeonbehalf`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAdmindashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/incident/admindashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAssetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incident/asset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentEditGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incident/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {IncidentEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentEditPost: async (body?: IncidentEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/incident/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {IncidentLinkIncidentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentLinkincidentPost: async (body?: IncidentLinkIncidentCommand, options: any = {}): Promise => {\n const localVarPath = `/api/incident/linkincident`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentLinkrequestGet: async (recipientId?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incident/linkrequest`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (recipientId !== undefined) {\n localVarQueryParameter['RecipientId'] = recipientId;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentRecipientsGet: async (searchTerm?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incident/recipients`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (searchTerm !== undefined) {\n localVarQueryParameter['SearchTerm'] = searchTerm;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentSummarypdfassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incident/summarypdfasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentUserdashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/incident/userdashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * IncidentApi - functional programming interface\n * @export\n */\nexport const IncidentApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {IncidentAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentAcknowledgePost(body?: IncidentAcknowledgeCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentAcknowledgePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentAcknowledgeassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentAcknowledgeassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentAcknowledgeonbehalfGet(recipientId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentAcknowledgeonbehalfGet(recipientId, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {IncidentAcknowledgeOnBehalfCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentAcknowledgeonbehalfPost(body?: IncidentAcknowledgeOnBehalfCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentAcknowledgeonbehalfPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentAdmindashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentAdmindashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentAssetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentAssetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentEditGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentEditGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {IncidentEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentEditPost(body?: IncidentEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentEditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {IncidentLinkIncidentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentLinkincidentPost(body?: IncidentLinkIncidentCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentLinkincidentPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentLinkrequestGet(recipientId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentLinkrequestGet(recipientId, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentRecipientsGet(searchTerm?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentRecipientsGet(searchTerm, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentSummarypdfassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentSummarypdfassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentUserdashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentApiAxiosParamCreator(configuration).apiIncidentUserdashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * IncidentApi - factory interface\n * @export\n */\nexport const IncidentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {IncidentAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAcknowledgePost(body?: IncidentAcknowledgeCommand, options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentAcknowledgePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAcknowledgeassetGet(id?: string, options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentAcknowledgeassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAcknowledgeonbehalfGet(recipientId?: string, options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentAcknowledgeonbehalfGet(recipientId, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {IncidentAcknowledgeOnBehalfCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAcknowledgeonbehalfPost(body?: IncidentAcknowledgeOnBehalfCommand, options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentAcknowledgeonbehalfPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAdmindashboardGet(options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentAdmindashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentAssetGet(id?: string, options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentAssetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentEditGet(id?: string, options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentEditGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {IncidentEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentEditPost(body?: IncidentEditCommand, options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentEditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {IncidentLinkIncidentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentLinkincidentPost(body?: IncidentLinkIncidentCommand, options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentLinkincidentPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentLinkrequestGet(recipientId?: string, options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentLinkrequestGet(recipientId, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentRecipientsGet(searchTerm?: string, options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentRecipientsGet(searchTerm, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentSummarypdfassetGet(id?: string, options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentSummarypdfassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentUserdashboardGet(options?: any): AxiosPromise {\n return IncidentApiFp(configuration).apiIncidentUserdashboardGet(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * IncidentApi - object-oriented interface\n * @export\n * @class IncidentApi\n * @extends {BaseAPI}\n */\nexport class IncidentApi extends BaseAPI {\n /**\n * \n * @param {IncidentAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentAcknowledgePost(body?: IncidentAcknowledgeCommand, options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentAcknowledgePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentAcknowledgeassetGet(id?: string, options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentAcknowledgeassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentAcknowledgeonbehalfGet(recipientId?: string, options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentAcknowledgeonbehalfGet(recipientId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {IncidentAcknowledgeOnBehalfCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentAcknowledgeonbehalfPost(body?: IncidentAcknowledgeOnBehalfCommand, options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentAcknowledgeonbehalfPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentAdmindashboardGet(options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentAdmindashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentAssetGet(id?: string, options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentAssetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentEditGet(id?: string, options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentEditGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {IncidentEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentEditPost(body?: IncidentEditCommand, options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentEditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {IncidentLinkIncidentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentLinkincidentPost(body?: IncidentLinkIncidentCommand, options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentLinkincidentPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentLinkrequestGet(recipientId?: string, options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentLinkrequestGet(recipientId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentRecipientsGet(searchTerm?: string, options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentRecipientsGet(searchTerm, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentSummarypdfassetGet(id?: string, options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentSummarypdfassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentApi\n */\n public apiIncidentUserdashboardGet(options?: any) {\n return IncidentApiFp(this.configuration).apiIncidentUserdashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { IncidentArchiveAcknowledgeCommand } from '../models';\nimport { IncidentArchiveAcknowledgeOnBehalfCommand } from '../models';\nimport { IncidentArchiveAcknowledgeOnBehalfQueryResponse } from '../models';\nimport { IncidentArchiveAdminDashboardResponse } from '../models';\nimport { IncidentArchiveEditCommand } from '../models';\nimport { IncidentArchiveEditQueryResponse } from '../models';\nimport { IncidentArchiveLinkIncidentCommand } from '../models';\nimport { IncidentArchiveLinkRequestResponse } from '../models';\nimport { IncidentArchiveRecipientsResponse } from '../models';\nimport { IncidentArchiveUserDashboardResponse } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * IncidentArchiveApi - axios parameter creator\n * @export\n */\nexport const IncidentArchiveApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {IncidentArchiveAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAcknowledgePost: async (body?: IncidentArchiveAcknowledgeCommand, options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/acknowledge`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAcknowledgeassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/acknowledgeasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAcknowledgeonbehalfGet: async (recipientId?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/acknowledgeonbehalf`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (recipientId !== undefined) {\n localVarQueryParameter['RecipientId'] = recipientId;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {IncidentArchiveAcknowledgeOnBehalfCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAcknowledgeonbehalfPost: async (body?: IncidentArchiveAcknowledgeOnBehalfCommand, options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/acknowledgeonbehalf`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAdmindashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/admindashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAssetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/asset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveEditGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {IncidentArchiveEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveEditPost: async (body?: IncidentArchiveEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {IncidentArchiveLinkIncidentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveLinkincidentPost: async (body?: IncidentArchiveLinkIncidentCommand, options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/linkincident`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveLinkrequestGet: async (recipientId?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/linkrequest`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (recipientId !== undefined) {\n localVarQueryParameter['RecipientId'] = recipientId;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveRecipientsGet: async (searchTerm?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/recipients`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (searchTerm !== undefined) {\n localVarQueryParameter['SearchTerm'] = searchTerm;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveSummarypdfassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/summarypdfasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveUserdashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/incidentarchive/userdashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * IncidentArchiveApi - functional programming interface\n * @export\n */\nexport const IncidentArchiveApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {IncidentArchiveAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveAcknowledgePost(body?: IncidentArchiveAcknowledgeCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveAcknowledgePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveAcknowledgeassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveAcknowledgeassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveAcknowledgeonbehalfGet(recipientId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveAcknowledgeonbehalfGet(recipientId, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {IncidentArchiveAcknowledgeOnBehalfCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveAcknowledgeonbehalfPost(body?: IncidentArchiveAcknowledgeOnBehalfCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveAcknowledgeonbehalfPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveAdmindashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveAdmindashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveAssetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveAssetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveEditGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveEditGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {IncidentArchiveEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveEditPost(body?: IncidentArchiveEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveEditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {IncidentArchiveLinkIncidentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveLinkincidentPost(body?: IncidentArchiveLinkIncidentCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveLinkincidentPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveLinkrequestGet(recipientId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveLinkrequestGet(recipientId, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveRecipientsGet(searchTerm?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveRecipientsGet(searchTerm, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveSummarypdfassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveSummarypdfassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiIncidentarchiveUserdashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await IncidentArchiveApiAxiosParamCreator(configuration).apiIncidentarchiveUserdashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * IncidentArchiveApi - factory interface\n * @export\n */\nexport const IncidentArchiveApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {IncidentArchiveAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAcknowledgePost(body?: IncidentArchiveAcknowledgeCommand, options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveAcknowledgePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAcknowledgeassetGet(id?: string, options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveAcknowledgeassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAcknowledgeonbehalfGet(recipientId?: string, options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveAcknowledgeonbehalfGet(recipientId, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {IncidentArchiveAcknowledgeOnBehalfCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAcknowledgeonbehalfPost(body?: IncidentArchiveAcknowledgeOnBehalfCommand, options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveAcknowledgeonbehalfPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAdmindashboardGet(options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveAdmindashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveAssetGet(id?: string, options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveAssetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveEditGet(id?: string, options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveEditGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {IncidentArchiveEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveEditPost(body?: IncidentArchiveEditCommand, options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveEditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {IncidentArchiveLinkIncidentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveLinkincidentPost(body?: IncidentArchiveLinkIncidentCommand, options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveLinkincidentPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveLinkrequestGet(recipientId?: string, options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveLinkrequestGet(recipientId, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveRecipientsGet(searchTerm?: string, options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveRecipientsGet(searchTerm, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveSummarypdfassetGet(id?: string, options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveSummarypdfassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiIncidentarchiveUserdashboardGet(options?: any): AxiosPromise {\n return IncidentArchiveApiFp(configuration).apiIncidentarchiveUserdashboardGet(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * IncidentArchiveApi - object-oriented interface\n * @export\n * @class IncidentArchiveApi\n * @extends {BaseAPI}\n */\nexport class IncidentArchiveApi extends BaseAPI {\n /**\n * \n * @param {IncidentArchiveAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveAcknowledgePost(body?: IncidentArchiveAcknowledgeCommand, options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveAcknowledgePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveAcknowledgeassetGet(id?: string, options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveAcknowledgeassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveAcknowledgeonbehalfGet(recipientId?: string, options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveAcknowledgeonbehalfGet(recipientId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {IncidentArchiveAcknowledgeOnBehalfCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveAcknowledgeonbehalfPost(body?: IncidentArchiveAcknowledgeOnBehalfCommand, options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveAcknowledgeonbehalfPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveAdmindashboardGet(options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveAdmindashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveAssetGet(id?: string, options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveAssetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveEditGet(id?: string, options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveEditGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {IncidentArchiveEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveEditPost(body?: IncidentArchiveEditCommand, options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveEditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {IncidentArchiveLinkIncidentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveLinkincidentPost(body?: IncidentArchiveLinkIncidentCommand, options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveLinkincidentPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [recipientId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveLinkrequestGet(recipientId?: string, options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveLinkrequestGet(recipientId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveRecipientsGet(searchTerm?: string, options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveRecipientsGet(searchTerm, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveSummarypdfassetGet(id?: string, options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveSummarypdfassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof IncidentArchiveApi\n */\n public apiIncidentarchiveUserdashboardGet(options?: any) {\n return IncidentArchiveApiFp(this.configuration).apiIncidentarchiveUserdashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { InviteInviteLinksResponse } from '../models';\n/**\n * InviteApi - axios parameter creator\n * @export\n */\nexport const InviteApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiInviteInvitelinksGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/invite/invitelinks`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * InviteApi - functional programming interface\n * @export\n */\nexport const InviteApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiInviteInvitelinksGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await InviteApiAxiosParamCreator(configuration).apiInviteInvitelinksGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * InviteApi - factory interface\n * @export\n */\nexport const InviteApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiInviteInvitelinksGet(options?: any): AxiosPromise {\n return InviteApiFp(configuration).apiInviteInvitelinksGet(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * InviteApi - object-oriented interface\n * @export\n * @class InviteApi\n * @extends {BaseAPI}\n */\nexport class InviteApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof InviteApi\n */\n public apiInviteInvitelinksGet(options?: any) {\n return InviteApiFp(this.configuration).apiInviteInvitelinksGet(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { LeadershipTeamAssignCommand } from '../models';\nimport { LeadershipTeamMembersResponse } from '../models';\nimport { LeadershipTeamSearchResponse } from '../models';\nimport { LeadershipTeamUnAssignCommand } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * LeadershipTeamApi - axios parameter creator\n * @export\n */\nexport const LeadershipTeamApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {LeadershipTeamAssignCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiLeadershipteamAssignPost: async (body?: LeadershipTeamAssignCommand, options: any = {}): Promise => {\n const localVarPath = `/api/leadershipteam/assign`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiLeadershipteamMembersGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/leadershipteam/members`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiLeadershipteamSearchGet: async (searchTerm?: string, options: any = {}): Promise => {\n const localVarPath = `/api/leadershipteam/search`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (searchTerm !== undefined) {\n localVarQueryParameter['SearchTerm'] = searchTerm;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {LeadershipTeamUnAssignCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiLeadershipteamUnassignPost: async (body?: LeadershipTeamUnAssignCommand, options: any = {}): Promise => {\n const localVarPath = `/api/leadershipteam/unassign`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * LeadershipTeamApi - functional programming interface\n * @export\n */\nexport const LeadershipTeamApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {LeadershipTeamAssignCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiLeadershipteamAssignPost(body?: LeadershipTeamAssignCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await LeadershipTeamApiAxiosParamCreator(configuration).apiLeadershipteamAssignPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiLeadershipteamMembersGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await LeadershipTeamApiAxiosParamCreator(configuration).apiLeadershipteamMembersGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiLeadershipteamSearchGet(searchTerm?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await LeadershipTeamApiAxiosParamCreator(configuration).apiLeadershipteamSearchGet(searchTerm, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {LeadershipTeamUnAssignCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiLeadershipteamUnassignPost(body?: LeadershipTeamUnAssignCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await LeadershipTeamApiAxiosParamCreator(configuration).apiLeadershipteamUnassignPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * LeadershipTeamApi - factory interface\n * @export\n */\nexport const LeadershipTeamApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {LeadershipTeamAssignCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiLeadershipteamAssignPost(body?: LeadershipTeamAssignCommand, options?: any): AxiosPromise {\n return LeadershipTeamApiFp(configuration).apiLeadershipteamAssignPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiLeadershipteamMembersGet(options?: any): AxiosPromise {\n return LeadershipTeamApiFp(configuration).apiLeadershipteamMembersGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiLeadershipteamSearchGet(searchTerm?: string, options?: any): AxiosPromise {\n return LeadershipTeamApiFp(configuration).apiLeadershipteamSearchGet(searchTerm, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {LeadershipTeamUnAssignCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiLeadershipteamUnassignPost(body?: LeadershipTeamUnAssignCommand, options?: any): AxiosPromise {\n return LeadershipTeamApiFp(configuration).apiLeadershipteamUnassignPost(body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * LeadershipTeamApi - object-oriented interface\n * @export\n * @class LeadershipTeamApi\n * @extends {BaseAPI}\n */\nexport class LeadershipTeamApi extends BaseAPI {\n /**\n * \n * @param {LeadershipTeamAssignCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LeadershipTeamApi\n */\n public apiLeadershipteamAssignPost(body?: LeadershipTeamAssignCommand, options?: any) {\n return LeadershipTeamApiFp(this.configuration).apiLeadershipteamAssignPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LeadershipTeamApi\n */\n public apiLeadershipteamMembersGet(options?: any) {\n return LeadershipTeamApiFp(this.configuration).apiLeadershipteamMembersGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LeadershipTeamApi\n */\n public apiLeadershipteamSearchGet(searchTerm?: string, options?: any) {\n return LeadershipTeamApiFp(this.configuration).apiLeadershipteamSearchGet(searchTerm, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {LeadershipTeamUnAssignCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof LeadershipTeamApi\n */\n public apiLeadershipteamUnassignPost(body?: LeadershipTeamUnAssignCommand, options?: any) {\n return LeadershipTeamApiFp(this.configuration).apiLeadershipteamUnassignPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { NavigationActionTickerResponse } from '../models';\nimport { NavigationMenuAccessRightsResponse } from '../models';\n/**\n * NavigationApi - axios parameter creator\n * @export\n */\nexport const NavigationApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiNavigationActiontickerGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/navigation/actionticker`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiNavigationMenuaccessrightsGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/navigation/menuaccessrights`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * NavigationApi - functional programming interface\n * @export\n */\nexport const NavigationApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiNavigationActiontickerGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await NavigationApiAxiosParamCreator(configuration).apiNavigationActiontickerGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiNavigationMenuaccessrightsGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await NavigationApiAxiosParamCreator(configuration).apiNavigationMenuaccessrightsGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * NavigationApi - factory interface\n * @export\n */\nexport const NavigationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiNavigationActiontickerGet(options?: any): AxiosPromise {\n return NavigationApiFp(configuration).apiNavigationActiontickerGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiNavigationMenuaccessrightsGet(options?: any): AxiosPromise {\n return NavigationApiFp(configuration).apiNavigationMenuaccessrightsGet(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * NavigationApi - object-oriented interface\n * @export\n * @class NavigationApi\n * @extends {BaseAPI}\n */\nexport class NavigationApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof NavigationApi\n */\n public apiNavigationActiontickerGet(options?: any) {\n return NavigationApiFp(this.configuration).apiNavigationActiontickerGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof NavigationApi\n */\n public apiNavigationMenuaccessrightsGet(options?: any) {\n return NavigationApiFp(this.configuration).apiNavigationMenuaccessrightsGet(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { OrganisationActivateCommand } from '../models';\nimport { OrganisationAddAdministratorCommand } from '../models';\nimport { OrganisationAddressCommand } from '../models';\nimport { OrganisationAddressQueryResponse } from '../models';\nimport { OrganisationAdministratorCandidatesResponse } from '../models';\nimport { OrganisationAdministratorsResponse } from '../models';\nimport { OrganisationAustralianBusinessNumberResponse } from '../models';\nimport { OrganisationAvailableProfilesResponse } from '../models';\nimport { OrganisationDeactivateCommand } from '../models';\nimport { OrganisationDetailsResponse } from '../models';\nimport { OrganisationEditProfileImageCommand } from '../models';\nimport { OrganisationEditProfileImageResponse } from '../models';\nimport { OrganisationFindResponse } from '../models';\nimport { OrganisationListResponse } from '../models';\nimport { OrganisationNumberOfChildrenCommand } from '../models';\nimport { OrganisationPaymentInfoCommand } from '../models';\nimport { OrganisationPaymentInfoResponse } from '../models';\nimport { OrganisationPaymentMethodCommand } from '../models';\nimport { OrganisationRegistrationCommand } from '../models';\nimport { OrganisationRegistrationQueryResponse } from '../models';\nimport { OrganisationRegistrationResponse } from '../models';\nimport { OrganisationRemoveAdministratorCommand } from '../models';\nimport { OrganisationSearchResponse } from '../models';\nimport { OrganisationSettingsResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * OrganisationApi - axios parameter creator\n * @export\n */\nexport const OrganisationApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {OrganisationActivateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationActivatePost: async (body?: OrganisationActivateCommand, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/activate`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {OrganisationAddAdministratorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAddadministratorPost: async (body?: OrganisationAddAdministratorCommand, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/addadministrator`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAddressGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/organisation/address`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {OrganisationAddressCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAddressPost: async (body?: OrganisationAddressCommand, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/address`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [organisationId] \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAdministratorcandidatesGet: async (organisationId?: string, searchTerm?: string, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/administratorcandidates`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (organisationId !== undefined) {\n localVarQueryParameter['OrganisationId'] = organisationId;\n }\n\n if (searchTerm !== undefined) {\n localVarQueryParameter['SearchTerm'] = searchTerm;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [organisationId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAdministratorsGet: async (organisationId?: string, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/administrators`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (organisationId !== undefined) {\n localVarQueryParameter['OrganisationId'] = organisationId;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [organisationId] \n * @param {string} [australianBusinessNumber] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAustralianbusinessnumberGet: async (organisationId?: string, australianBusinessNumber?: string, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/australianbusinessnumber`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (organisationId !== undefined) {\n localVarQueryParameter['OrganisationId'] = organisationId;\n }\n\n if (australianBusinessNumber !== undefined) {\n localVarQueryParameter['AustralianBusinessNumber'] = australianBusinessNumber;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAvailableprofilesGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/organisation/availableprofiles`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationCancelplanPost: async (options: any = {}): Promise => {\n const localVarPath = `/api/organisation/cancelplan`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {OrganisationDeactivateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationDeactivatePost: async (body?: OrganisationDeactivateCommand, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/deactivate`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationDetailsGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/details`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {OrganisationEditProfileImageCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationEditprofileimagePost: async (body?: OrganisationEditProfileImageCommand, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/editprofileimage`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [organisationIdentifier] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationFindGet: async (organisationIdentifier?: string, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/find`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (organisationIdentifier !== undefined) {\n localVarQueryParameter['OrganisationIdentifier'] = organisationIdentifier;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationListGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/organisation/list`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {OrganisationNumberOfChildrenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationNumberofchildrenPost: async (body?: OrganisationNumberOfChildrenCommand, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/numberofchildren`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationPaymentinfoGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/paymentinfo`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {OrganisationPaymentInfoCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationPaymentinfoPost: async (body?: OrganisationPaymentInfoCommand, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/paymentinfo`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {OrganisationPaymentMethodCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationPaymentmethodPost: async (body?: OrganisationPaymentMethodCommand, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/paymentmethod`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {string} [cacheKey] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationProfileimageassetGet: async (id?: string, cacheKey?: string, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/profileimageasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n if (cacheKey !== undefined) {\n localVarQueryParameter['CacheKey'] = cacheKey;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationRegistrationGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/registration`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {OrganisationRegistrationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationRegistrationPost: async (body?: OrganisationRegistrationCommand, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/registration`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {OrganisationRemoveAdministratorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationRemoveadministratorPost: async (body?: OrganisationRemoveAdministratorCommand, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/removeadministrator`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationSearchGet: async (searchTerm?: string, options: any = {}): Promise => {\n const localVarPath = `/api/organisation/search`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (searchTerm !== undefined) {\n localVarQueryParameter['SearchTerm'] = searchTerm;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationSettingsGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/organisation/settings`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * OrganisationApi - functional programming interface\n * @export\n */\nexport const OrganisationApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {OrganisationActivateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationActivatePost(body?: OrganisationActivateCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationActivatePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {OrganisationAddAdministratorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationAddadministratorPost(body?: OrganisationAddAdministratorCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationAddadministratorPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationAddressGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationAddressGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {OrganisationAddressCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationAddressPost(body?: OrganisationAddressCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationAddressPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [organisationId] \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationAdministratorcandidatesGet(organisationId?: string, searchTerm?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationAdministratorcandidatesGet(organisationId, searchTerm, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [organisationId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationAdministratorsGet(organisationId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationAdministratorsGet(organisationId, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [organisationId] \n * @param {string} [australianBusinessNumber] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationAustralianbusinessnumberGet(organisationId?: string, australianBusinessNumber?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationAustralianbusinessnumberGet(organisationId, australianBusinessNumber, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationAvailableprofilesGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationAvailableprofilesGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationCancelplanPost(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationCancelplanPost(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {OrganisationDeactivateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationDeactivatePost(body?: OrganisationDeactivateCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationDeactivatePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationDetailsGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationDetailsGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {OrganisationEditProfileImageCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationEditprofileimagePost(body?: OrganisationEditProfileImageCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationEditprofileimagePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [organisationIdentifier] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationFindGet(organisationIdentifier?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationFindGet(organisationIdentifier, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationListGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationListGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {OrganisationNumberOfChildrenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationNumberofchildrenPost(body?: OrganisationNumberOfChildrenCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationNumberofchildrenPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationPaymentinfoGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationPaymentinfoGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {OrganisationPaymentInfoCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationPaymentinfoPost(body?: OrganisationPaymentInfoCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationPaymentinfoPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {OrganisationPaymentMethodCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationPaymentmethodPost(body?: OrganisationPaymentMethodCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationPaymentmethodPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {string} [cacheKey] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationProfileimageassetGet(id?: string, cacheKey?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationProfileimageassetGet(id, cacheKey, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationRegistrationGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationRegistrationGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {OrganisationRegistrationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationRegistrationPost(body?: OrganisationRegistrationCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationRegistrationPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {OrganisationRemoveAdministratorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationRemoveadministratorPost(body?: OrganisationRemoveAdministratorCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationRemoveadministratorPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationSearchGet(searchTerm?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationSearchGet(searchTerm, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiOrganisationSettingsGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await OrganisationApiAxiosParamCreator(configuration).apiOrganisationSettingsGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * OrganisationApi - factory interface\n * @export\n */\nexport const OrganisationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {OrganisationActivateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationActivatePost(body?: OrganisationActivateCommand, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationActivatePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {OrganisationAddAdministratorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAddadministratorPost(body?: OrganisationAddAdministratorCommand, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationAddadministratorPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAddressGet(options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationAddressGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {OrganisationAddressCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAddressPost(body?: OrganisationAddressCommand, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationAddressPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [organisationId] \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAdministratorcandidatesGet(organisationId?: string, searchTerm?: string, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationAdministratorcandidatesGet(organisationId, searchTerm, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [organisationId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAdministratorsGet(organisationId?: string, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationAdministratorsGet(organisationId, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [organisationId] \n * @param {string} [australianBusinessNumber] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAustralianbusinessnumberGet(organisationId?: string, australianBusinessNumber?: string, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationAustralianbusinessnumberGet(organisationId, australianBusinessNumber, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationAvailableprofilesGet(options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationAvailableprofilesGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationCancelplanPost(options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationCancelplanPost(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {OrganisationDeactivateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationDeactivatePost(body?: OrganisationDeactivateCommand, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationDeactivatePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationDetailsGet(id?: string, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationDetailsGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {OrganisationEditProfileImageCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationEditprofileimagePost(body?: OrganisationEditProfileImageCommand, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationEditprofileimagePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [organisationIdentifier] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationFindGet(organisationIdentifier?: string, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationFindGet(organisationIdentifier, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationListGet(options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationListGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {OrganisationNumberOfChildrenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationNumberofchildrenPost(body?: OrganisationNumberOfChildrenCommand, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationNumberofchildrenPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationPaymentinfoGet(id?: string, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationPaymentinfoGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {OrganisationPaymentInfoCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationPaymentinfoPost(body?: OrganisationPaymentInfoCommand, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationPaymentinfoPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {OrganisationPaymentMethodCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationPaymentmethodPost(body?: OrganisationPaymentMethodCommand, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationPaymentmethodPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {string} [cacheKey] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationProfileimageassetGet(id?: string, cacheKey?: string, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationProfileimageassetGet(id, cacheKey, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationRegistrationGet(id?: string, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationRegistrationGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {OrganisationRegistrationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationRegistrationPost(body?: OrganisationRegistrationCommand, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationRegistrationPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {OrganisationRemoveAdministratorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationRemoveadministratorPost(body?: OrganisationRemoveAdministratorCommand, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationRemoveadministratorPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationSearchGet(searchTerm?: string, options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationSearchGet(searchTerm, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiOrganisationSettingsGet(options?: any): AxiosPromise {\n return OrganisationApiFp(configuration).apiOrganisationSettingsGet(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * OrganisationApi - object-oriented interface\n * @export\n * @class OrganisationApi\n * @extends {BaseAPI}\n */\nexport class OrganisationApi extends BaseAPI {\n /**\n * \n * @param {OrganisationActivateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationActivatePost(body?: OrganisationActivateCommand, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationActivatePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {OrganisationAddAdministratorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationAddadministratorPost(body?: OrganisationAddAdministratorCommand, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationAddadministratorPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationAddressGet(options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationAddressGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {OrganisationAddressCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationAddressPost(body?: OrganisationAddressCommand, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationAddressPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [organisationId] \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationAdministratorcandidatesGet(organisationId?: string, searchTerm?: string, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationAdministratorcandidatesGet(organisationId, searchTerm, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [organisationId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationAdministratorsGet(organisationId?: string, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationAdministratorsGet(organisationId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [organisationId] \n * @param {string} [australianBusinessNumber] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationAustralianbusinessnumberGet(organisationId?: string, australianBusinessNumber?: string, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationAustralianbusinessnumberGet(organisationId, australianBusinessNumber, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationAvailableprofilesGet(options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationAvailableprofilesGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationCancelplanPost(options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationCancelplanPost(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {OrganisationDeactivateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationDeactivatePost(body?: OrganisationDeactivateCommand, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationDeactivatePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationDetailsGet(id?: string, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationDetailsGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {OrganisationEditProfileImageCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationEditprofileimagePost(body?: OrganisationEditProfileImageCommand, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationEditprofileimagePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [organisationIdentifier] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationFindGet(organisationIdentifier?: string, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationFindGet(organisationIdentifier, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationListGet(options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationListGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {OrganisationNumberOfChildrenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationNumberofchildrenPost(body?: OrganisationNumberOfChildrenCommand, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationNumberofchildrenPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationPaymentinfoGet(id?: string, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationPaymentinfoGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {OrganisationPaymentInfoCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationPaymentinfoPost(body?: OrganisationPaymentInfoCommand, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationPaymentinfoPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {OrganisationPaymentMethodCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationPaymentmethodPost(body?: OrganisationPaymentMethodCommand, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationPaymentmethodPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {string} [cacheKey] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationProfileimageassetGet(id?: string, cacheKey?: string, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationProfileimageassetGet(id, cacheKey, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationRegistrationGet(id?: string, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationRegistrationGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {OrganisationRegistrationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationRegistrationPost(body?: OrganisationRegistrationCommand, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationRegistrationPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {OrganisationRemoveAdministratorCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationRemoveadministratorPost(body?: OrganisationRemoveAdministratorCommand, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationRemoveadministratorPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [searchTerm] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationSearchGet(searchTerm?: string, options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationSearchGet(searchTerm, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OrganisationApi\n */\n public apiOrganisationSettingsGet(options?: any) {\n return OrganisationApiFp(this.configuration).apiOrganisationSettingsGet(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { PaymentCreateCommand } from '../models';\nimport { PaymentCreateResponse } from '../models';\nimport { PaymentCustomerCommand } from '../models';\nimport { PaymentCustomerResponse } from '../models';\nimport { PaymentPlansResponse } from '../models';\n/**\n * PaymentApi - axios parameter creator\n * @export\n */\nexport const PaymentApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {PaymentCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPaymentCreatePost: async (body?: PaymentCreateCommand, options: any = {}): Promise => {\n const localVarPath = `/api/payment/create`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {PaymentCustomerCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPaymentCustomerPost: async (body?: PaymentCustomerCommand, options: any = {}): Promise => {\n const localVarPath = `/api/payment/customer`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPaymentPlansGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/payment/plans`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPaymentWebhookPost: async (options: any = {}): Promise => {\n const localVarPath = `/api/payment/webhook`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * PaymentApi - functional programming interface\n * @export\n */\nexport const PaymentApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {PaymentCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPaymentCreatePost(body?: PaymentCreateCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PaymentApiAxiosParamCreator(configuration).apiPaymentCreatePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {PaymentCustomerCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPaymentCustomerPost(body?: PaymentCustomerCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PaymentApiAxiosParamCreator(configuration).apiPaymentCustomerPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPaymentPlansGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PaymentApiAxiosParamCreator(configuration).apiPaymentPlansGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPaymentWebhookPost(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PaymentApiAxiosParamCreator(configuration).apiPaymentWebhookPost(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * PaymentApi - factory interface\n * @export\n */\nexport const PaymentApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {PaymentCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPaymentCreatePost(body?: PaymentCreateCommand, options?: any): AxiosPromise {\n return PaymentApiFp(configuration).apiPaymentCreatePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {PaymentCustomerCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPaymentCustomerPost(body?: PaymentCustomerCommand, options?: any): AxiosPromise {\n return PaymentApiFp(configuration).apiPaymentCustomerPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPaymentPlansGet(options?: any): AxiosPromise {\n return PaymentApiFp(configuration).apiPaymentPlansGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPaymentWebhookPost(options?: any): AxiosPromise {\n return PaymentApiFp(configuration).apiPaymentWebhookPost(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * PaymentApi - object-oriented interface\n * @export\n * @class PaymentApi\n * @extends {BaseAPI}\n */\nexport class PaymentApi extends BaseAPI {\n /**\n * \n * @param {PaymentCreateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PaymentApi\n */\n public apiPaymentCreatePost(body?: PaymentCreateCommand, options?: any) {\n return PaymentApiFp(this.configuration).apiPaymentCreatePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {PaymentCustomerCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PaymentApi\n */\n public apiPaymentCustomerPost(body?: PaymentCustomerCommand, options?: any) {\n return PaymentApiFp(this.configuration).apiPaymentCustomerPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PaymentApi\n */\n public apiPaymentPlansGet(options?: any) {\n return PaymentApiFp(this.configuration).apiPaymentPlansGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PaymentApi\n */\n public apiPaymentWebhookPost(options?: any) {\n return PaymentApiFp(this.configuration).apiPaymentWebhookPost(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { PolicyAcknowledgeCommand } from '../models';\nimport { PolicyAdminDashboardResponse } from '../models';\nimport { PolicyArchiveCommand } from '../models';\nimport { PolicyEditCommand } from '../models';\nimport { PolicyEditQueryResponse } from '../models';\nimport { PolicyPolicyTemplatesResponse } from '../models';\nimport { PolicyReinstateCommand } from '../models';\nimport { PolicyUserDashboardResponse } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * PolicyApi - axios parameter creator\n * @export\n */\nexport const PolicyApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {PolicyAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyAcknowledgePost: async (body?: PolicyAcknowledgeCommand, options: any = {}): Promise => {\n const localVarPath = `/api/policy/acknowledge`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyAdmindashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/policy/admindashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {PolicyArchiveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyArchivePost: async (body?: PolicyArchiveCommand, options: any = {}): Promise => {\n const localVarPath = `/api/policy/archive`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyEditGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/policy/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {PolicyEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyEditPost: async (body?: PolicyEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/policy/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyPolicytemplatesGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/policy/policytemplates`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {PolicyReinstateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyReinstatePost: async (body?: PolicyReinstateCommand, options: any = {}): Promise => {\n const localVarPath = `/api/policy/reinstate`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyUserdashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/policy/userdashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyVersionassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/policy/versionasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * PolicyApi - functional programming interface\n * @export\n */\nexport const PolicyApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {PolicyAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicyAcknowledgePost(body?: PolicyAcknowledgeCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyApiAxiosParamCreator(configuration).apiPolicyAcknowledgePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicyAdmindashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyApiAxiosParamCreator(configuration).apiPolicyAdmindashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {PolicyArchiveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicyArchivePost(body?: PolicyArchiveCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyApiAxiosParamCreator(configuration).apiPolicyArchivePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicyEditGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyApiAxiosParamCreator(configuration).apiPolicyEditGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {PolicyEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicyEditPost(body?: PolicyEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyApiAxiosParamCreator(configuration).apiPolicyEditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicyPolicytemplatesGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyApiAxiosParamCreator(configuration).apiPolicyPolicytemplatesGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {PolicyReinstateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicyReinstatePost(body?: PolicyReinstateCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyApiAxiosParamCreator(configuration).apiPolicyReinstatePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicyUserdashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyApiAxiosParamCreator(configuration).apiPolicyUserdashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicyVersionassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyApiAxiosParamCreator(configuration).apiPolicyVersionassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * PolicyApi - factory interface\n * @export\n */\nexport const PolicyApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {PolicyAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyAcknowledgePost(body?: PolicyAcknowledgeCommand, options?: any): AxiosPromise {\n return PolicyApiFp(configuration).apiPolicyAcknowledgePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyAdmindashboardGet(options?: any): AxiosPromise {\n return PolicyApiFp(configuration).apiPolicyAdmindashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {PolicyArchiveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyArchivePost(body?: PolicyArchiveCommand, options?: any): AxiosPromise {\n return PolicyApiFp(configuration).apiPolicyArchivePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyEditGet(id?: string, options?: any): AxiosPromise {\n return PolicyApiFp(configuration).apiPolicyEditGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {PolicyEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyEditPost(body?: PolicyEditCommand, options?: any): AxiosPromise {\n return PolicyApiFp(configuration).apiPolicyEditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyPolicytemplatesGet(options?: any): AxiosPromise {\n return PolicyApiFp(configuration).apiPolicyPolicytemplatesGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {PolicyReinstateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyReinstatePost(body?: PolicyReinstateCommand, options?: any): AxiosPromise {\n return PolicyApiFp(configuration).apiPolicyReinstatePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyUserdashboardGet(options?: any): AxiosPromise {\n return PolicyApiFp(configuration).apiPolicyUserdashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicyVersionassetGet(id?: string, options?: any): AxiosPromise {\n return PolicyApiFp(configuration).apiPolicyVersionassetGet(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * PolicyApi - object-oriented interface\n * @export\n * @class PolicyApi\n * @extends {BaseAPI}\n */\nexport class PolicyApi extends BaseAPI {\n /**\n * \n * @param {PolicyAcknowledgeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyApi\n */\n public apiPolicyAcknowledgePost(body?: PolicyAcknowledgeCommand, options?: any) {\n return PolicyApiFp(this.configuration).apiPolicyAcknowledgePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyApi\n */\n public apiPolicyAdmindashboardGet(options?: any) {\n return PolicyApiFp(this.configuration).apiPolicyAdmindashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {PolicyArchiveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyApi\n */\n public apiPolicyArchivePost(body?: PolicyArchiveCommand, options?: any) {\n return PolicyApiFp(this.configuration).apiPolicyArchivePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyApi\n */\n public apiPolicyEditGet(id?: string, options?: any) {\n return PolicyApiFp(this.configuration).apiPolicyEditGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {PolicyEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyApi\n */\n public apiPolicyEditPost(body?: PolicyEditCommand, options?: any) {\n return PolicyApiFp(this.configuration).apiPolicyEditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyApi\n */\n public apiPolicyPolicytemplatesGet(options?: any) {\n return PolicyApiFp(this.configuration).apiPolicyPolicytemplatesGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {PolicyReinstateCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyApi\n */\n public apiPolicyReinstatePost(body?: PolicyReinstateCommand, options?: any) {\n return PolicyApiFp(this.configuration).apiPolicyReinstatePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyApi\n */\n public apiPolicyUserdashboardGet(options?: any) {\n return PolicyApiFp(this.configuration).apiPolicyUserdashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyApi\n */\n public apiPolicyVersionassetGet(id?: string, options?: any) {\n return PolicyApiFp(this.configuration).apiPolicyVersionassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { PolicyTemplateDashboardResponse } from '../models';\nimport { PolicyTemplateDeleteCommand } from '../models';\nimport { PolicyTemplateEditCommand } from '../models';\nimport { PolicyTemplateEditQueryResponse } from '../models';\nimport { PolicyTemplateReorderCommand } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * PolicyTemplateApi - axios parameter creator\n * @export\n */\nexport const PolicyTemplateApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateAssetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/policytemplate/asset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateDashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/policytemplate/dashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {PolicyTemplateDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateDeletePost: async (body?: PolicyTemplateDeleteCommand, options: any = {}): Promise => {\n const localVarPath = `/api/policytemplate/delete`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateEditGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/policytemplate/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {PolicyTemplateEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateEditPost: async (body?: PolicyTemplateEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/policytemplate/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {PolicyTemplateReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateReorderPost: async (body?: PolicyTemplateReorderCommand, options: any = {}): Promise => {\n const localVarPath = `/api/policytemplate/reorder`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * PolicyTemplateApi - functional programming interface\n * @export\n */\nexport const PolicyTemplateApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicytemplateAssetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyTemplateApiAxiosParamCreator(configuration).apiPolicytemplateAssetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicytemplateDashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyTemplateApiAxiosParamCreator(configuration).apiPolicytemplateDashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {PolicyTemplateDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicytemplateDeletePost(body?: PolicyTemplateDeleteCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyTemplateApiAxiosParamCreator(configuration).apiPolicytemplateDeletePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicytemplateEditGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyTemplateApiAxiosParamCreator(configuration).apiPolicytemplateEditGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {PolicyTemplateEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicytemplateEditPost(body?: PolicyTemplateEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyTemplateApiAxiosParamCreator(configuration).apiPolicytemplateEditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {PolicyTemplateReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiPolicytemplateReorderPost(body?: PolicyTemplateReorderCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await PolicyTemplateApiAxiosParamCreator(configuration).apiPolicytemplateReorderPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * PolicyTemplateApi - factory interface\n * @export\n */\nexport const PolicyTemplateApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateAssetGet(id?: string, options?: any): AxiosPromise {\n return PolicyTemplateApiFp(configuration).apiPolicytemplateAssetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateDashboardGet(options?: any): AxiosPromise {\n return PolicyTemplateApiFp(configuration).apiPolicytemplateDashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {PolicyTemplateDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateDeletePost(body?: PolicyTemplateDeleteCommand, options?: any): AxiosPromise {\n return PolicyTemplateApiFp(configuration).apiPolicytemplateDeletePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateEditGet(id?: string, options?: any): AxiosPromise {\n return PolicyTemplateApiFp(configuration).apiPolicytemplateEditGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {PolicyTemplateEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateEditPost(body?: PolicyTemplateEditCommand, options?: any): AxiosPromise {\n return PolicyTemplateApiFp(configuration).apiPolicytemplateEditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {PolicyTemplateReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiPolicytemplateReorderPost(body?: PolicyTemplateReorderCommand, options?: any): AxiosPromise {\n return PolicyTemplateApiFp(configuration).apiPolicytemplateReorderPost(body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * PolicyTemplateApi - object-oriented interface\n * @export\n * @class PolicyTemplateApi\n * @extends {BaseAPI}\n */\nexport class PolicyTemplateApi extends BaseAPI {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyTemplateApi\n */\n public apiPolicytemplateAssetGet(id?: string, options?: any) {\n return PolicyTemplateApiFp(this.configuration).apiPolicytemplateAssetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyTemplateApi\n */\n public apiPolicytemplateDashboardGet(options?: any) {\n return PolicyTemplateApiFp(this.configuration).apiPolicytemplateDashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {PolicyTemplateDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyTemplateApi\n */\n public apiPolicytemplateDeletePost(body?: PolicyTemplateDeleteCommand, options?: any) {\n return PolicyTemplateApiFp(this.configuration).apiPolicytemplateDeletePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyTemplateApi\n */\n public apiPolicytemplateEditGet(id?: string, options?: any) {\n return PolicyTemplateApiFp(this.configuration).apiPolicytemplateEditGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {PolicyTemplateEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyTemplateApi\n */\n public apiPolicytemplateEditPost(body?: PolicyTemplateEditCommand, options?: any) {\n return PolicyTemplateApiFp(this.configuration).apiPolicytemplateEditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {PolicyTemplateReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof PolicyTemplateApi\n */\n public apiPolicytemplateReorderPost(body?: PolicyTemplateReorderCommand, options?: any) {\n return PolicyTemplateApiFp(this.configuration).apiPolicytemplateReorderPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { RequestsToJoinApproveCommand } from '../models';\nimport { RequestsToJoinCiteCertificationCommand } from '../models';\nimport { RequestsToJoinDenyCommand } from '../models';\nimport { RequestsToJoinFetchResponse } from '../models';\nimport { RequestsToJoinOrganisationAdminCommand } from '../models';\nimport { RequestsToJoinPendingRequestsResponse } from '../models';\nimport { RequestsToJoinReviewCertificationResponse } from '../models';\nimport { RequestsToJoinStaffTypeCommand } from '../models';\nimport { RequestsToJoinVolunteerApproveCommand } from '../models';\nimport { RequestsToJoinVolunteerDenyCommand } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * RequestsToJoinApi - axios parameter creator\n * @export\n */\nexport const RequestsToJoinApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {RequestsToJoinApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinApprovePost: async (body?: RequestsToJoinApproveCommand, options: any = {}): Promise => {\n const localVarPath = `/api/requeststojoin/approve`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {RequestsToJoinCiteCertificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinCitecertificationPost: async (body?: RequestsToJoinCiteCertificationCommand, options: any = {}): Promise => {\n const localVarPath = `/api/requeststojoin/citecertification`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {RequestsToJoinDenyCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinDenyPost: async (body?: RequestsToJoinDenyCommand, options: any = {}): Promise => {\n const localVarPath = `/api/requeststojoin/deny`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [profileId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinFetchGet: async (profileId?: string, options: any = {}): Promise => {\n const localVarPath = `/api/requeststojoin/fetch`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (profileId !== undefined) {\n localVarQueryParameter['ProfileId'] = profileId;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {RequestsToJoinOrganisationAdminCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinOrganisationadminPost: async (body?: RequestsToJoinOrganisationAdminCommand, options: any = {}): Promise => {\n const localVarPath = `/api/requeststojoin/organisationadmin`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinPendingrequestsGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/requeststojoin/pendingrequests`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinReviewcertificationGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/requeststojoin/reviewcertification`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {RequestsToJoinStaffTypeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinStafftypePost: async (body?: RequestsToJoinStaffTypeCommand, options: any = {}): Promise => {\n const localVarPath = `/api/requeststojoin/stafftype`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {RequestsToJoinVolunteerApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinVolunteerapprovePost: async (body?: RequestsToJoinVolunteerApproveCommand, options: any = {}): Promise => {\n const localVarPath = `/api/requeststojoin/volunteerapprove`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {RequestsToJoinVolunteerDenyCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinVolunteerdenyPost: async (body?: RequestsToJoinVolunteerDenyCommand, options: any = {}): Promise => {\n const localVarPath = `/api/requeststojoin/volunteerdeny`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * RequestsToJoinApi - functional programming interface\n * @export\n */\nexport const RequestsToJoinApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {RequestsToJoinApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiRequeststojoinApprovePost(body?: RequestsToJoinApproveCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await RequestsToJoinApiAxiosParamCreator(configuration).apiRequeststojoinApprovePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {RequestsToJoinCiteCertificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiRequeststojoinCitecertificationPost(body?: RequestsToJoinCiteCertificationCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await RequestsToJoinApiAxiosParamCreator(configuration).apiRequeststojoinCitecertificationPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {RequestsToJoinDenyCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiRequeststojoinDenyPost(body?: RequestsToJoinDenyCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await RequestsToJoinApiAxiosParamCreator(configuration).apiRequeststojoinDenyPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [profileId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiRequeststojoinFetchGet(profileId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await RequestsToJoinApiAxiosParamCreator(configuration).apiRequeststojoinFetchGet(profileId, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {RequestsToJoinOrganisationAdminCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiRequeststojoinOrganisationadminPost(body?: RequestsToJoinOrganisationAdminCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await RequestsToJoinApiAxiosParamCreator(configuration).apiRequeststojoinOrganisationadminPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiRequeststojoinPendingrequestsGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await RequestsToJoinApiAxiosParamCreator(configuration).apiRequeststojoinPendingrequestsGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiRequeststojoinReviewcertificationGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await RequestsToJoinApiAxiosParamCreator(configuration).apiRequeststojoinReviewcertificationGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {RequestsToJoinStaffTypeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiRequeststojoinStafftypePost(body?: RequestsToJoinStaffTypeCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await RequestsToJoinApiAxiosParamCreator(configuration).apiRequeststojoinStafftypePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {RequestsToJoinVolunteerApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiRequeststojoinVolunteerapprovePost(body?: RequestsToJoinVolunteerApproveCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await RequestsToJoinApiAxiosParamCreator(configuration).apiRequeststojoinVolunteerapprovePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {RequestsToJoinVolunteerDenyCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiRequeststojoinVolunteerdenyPost(body?: RequestsToJoinVolunteerDenyCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await RequestsToJoinApiAxiosParamCreator(configuration).apiRequeststojoinVolunteerdenyPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * RequestsToJoinApi - factory interface\n * @export\n */\nexport const RequestsToJoinApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {RequestsToJoinApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinApprovePost(body?: RequestsToJoinApproveCommand, options?: any): AxiosPromise {\n return RequestsToJoinApiFp(configuration).apiRequeststojoinApprovePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {RequestsToJoinCiteCertificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinCitecertificationPost(body?: RequestsToJoinCiteCertificationCommand, options?: any): AxiosPromise {\n return RequestsToJoinApiFp(configuration).apiRequeststojoinCitecertificationPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {RequestsToJoinDenyCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinDenyPost(body?: RequestsToJoinDenyCommand, options?: any): AxiosPromise {\n return RequestsToJoinApiFp(configuration).apiRequeststojoinDenyPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [profileId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinFetchGet(profileId?: string, options?: any): AxiosPromise {\n return RequestsToJoinApiFp(configuration).apiRequeststojoinFetchGet(profileId, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {RequestsToJoinOrganisationAdminCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinOrganisationadminPost(body?: RequestsToJoinOrganisationAdminCommand, options?: any): AxiosPromise {\n return RequestsToJoinApiFp(configuration).apiRequeststojoinOrganisationadminPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinPendingrequestsGet(options?: any): AxiosPromise {\n return RequestsToJoinApiFp(configuration).apiRequeststojoinPendingrequestsGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinReviewcertificationGet(id?: string, options?: any): AxiosPromise {\n return RequestsToJoinApiFp(configuration).apiRequeststojoinReviewcertificationGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {RequestsToJoinStaffTypeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinStafftypePost(body?: RequestsToJoinStaffTypeCommand, options?: any): AxiosPromise {\n return RequestsToJoinApiFp(configuration).apiRequeststojoinStafftypePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {RequestsToJoinVolunteerApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinVolunteerapprovePost(body?: RequestsToJoinVolunteerApproveCommand, options?: any): AxiosPromise {\n return RequestsToJoinApiFp(configuration).apiRequeststojoinVolunteerapprovePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {RequestsToJoinVolunteerDenyCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiRequeststojoinVolunteerdenyPost(body?: RequestsToJoinVolunteerDenyCommand, options?: any): AxiosPromise {\n return RequestsToJoinApiFp(configuration).apiRequeststojoinVolunteerdenyPost(body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * RequestsToJoinApi - object-oriented interface\n * @export\n * @class RequestsToJoinApi\n * @extends {BaseAPI}\n */\nexport class RequestsToJoinApi extends BaseAPI {\n /**\n * \n * @param {RequestsToJoinApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof RequestsToJoinApi\n */\n public apiRequeststojoinApprovePost(body?: RequestsToJoinApproveCommand, options?: any) {\n return RequestsToJoinApiFp(this.configuration).apiRequeststojoinApprovePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {RequestsToJoinCiteCertificationCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof RequestsToJoinApi\n */\n public apiRequeststojoinCitecertificationPost(body?: RequestsToJoinCiteCertificationCommand, options?: any) {\n return RequestsToJoinApiFp(this.configuration).apiRequeststojoinCitecertificationPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {RequestsToJoinDenyCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof RequestsToJoinApi\n */\n public apiRequeststojoinDenyPost(body?: RequestsToJoinDenyCommand, options?: any) {\n return RequestsToJoinApiFp(this.configuration).apiRequeststojoinDenyPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [profileId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof RequestsToJoinApi\n */\n public apiRequeststojoinFetchGet(profileId?: string, options?: any) {\n return RequestsToJoinApiFp(this.configuration).apiRequeststojoinFetchGet(profileId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {RequestsToJoinOrganisationAdminCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof RequestsToJoinApi\n */\n public apiRequeststojoinOrganisationadminPost(body?: RequestsToJoinOrganisationAdminCommand, options?: any) {\n return RequestsToJoinApiFp(this.configuration).apiRequeststojoinOrganisationadminPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof RequestsToJoinApi\n */\n public apiRequeststojoinPendingrequestsGet(options?: any) {\n return RequestsToJoinApiFp(this.configuration).apiRequeststojoinPendingrequestsGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof RequestsToJoinApi\n */\n public apiRequeststojoinReviewcertificationGet(id?: string, options?: any) {\n return RequestsToJoinApiFp(this.configuration).apiRequeststojoinReviewcertificationGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {RequestsToJoinStaffTypeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof RequestsToJoinApi\n */\n public apiRequeststojoinStafftypePost(body?: RequestsToJoinStaffTypeCommand, options?: any) {\n return RequestsToJoinApiFp(this.configuration).apiRequeststojoinStafftypePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {RequestsToJoinVolunteerApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof RequestsToJoinApi\n */\n public apiRequeststojoinVolunteerapprovePost(body?: RequestsToJoinVolunteerApproveCommand, options?: any) {\n return RequestsToJoinApiFp(this.configuration).apiRequeststojoinVolunteerapprovePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {RequestsToJoinVolunteerDenyCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof RequestsToJoinApi\n */\n public apiRequeststojoinVolunteerdenyPost(body?: RequestsToJoinVolunteerDenyCommand, options?: any) {\n return RequestsToJoinApiFp(this.configuration).apiRequeststojoinVolunteerdenyPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { SafetyChecklistActionCommand } from '../models';\nimport { SafetyChecklistAdminDashboardResponse } from '../models';\nimport { SafetyChecklistApproveCommand } from '../models';\nimport { SafetyChecklistApproversResponse } from '../models';\nimport { SafetyChecklistAttachmentDeleteCommand } from '../models';\nimport { SafetyChecklistAttachmentUploadCommand } from '../models';\nimport { SafetyChecklistAttachmentsResponse } from '../models';\nimport { SafetyChecklistChecklistResponse } from '../models';\nimport { SafetyChecklistCommentCommand } from '../models';\nimport { SafetyChecklistCommentQueryResponse } from '../models';\nimport { SafetyChecklistEditCommand } from '../models';\nimport { SafetyChecklistEditQueryResponse } from '../models';\nimport { SafetyChecklistEnableEditCommand } from '../models';\nimport { SafetyChecklistSubmitCommand } from '../models';\nimport { SafetyChecklistTemplateResponse } from '../models';\nimport { SafetyChecklistTemplatesResponse } from '../models';\nimport { SafetyChecklistUserDashboardResponse } from '../models';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\n/**\n * SafetyChecklistApi - axios parameter creator\n * @export\n */\nexport const SafetyChecklistApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {SafetyChecklistActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistActionPost: async (body?: SafetyChecklistActionCommand, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/action`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAdmindashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/admindashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAllassetsGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/allassets`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {SafetyChecklistApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistApprovePost: async (body?: SafetyChecklistApproveCommand, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/approve`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistApproversGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/approvers`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAssetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/asset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {SafetyChecklistAttachmentDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAttachmentdeletePost: async (body?: SafetyChecklistAttachmentDeleteCommand, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/attachmentdelete`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAttachmentsGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/attachments`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {SafetyChecklistAttachmentUploadCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAttachmentuploadPost: async (body?: SafetyChecklistAttachmentUploadCommand, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/attachmentupload`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistChecklistGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/checklist`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistCommentGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/comment`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {SafetyChecklistCommentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistCommentPost: async (body?: SafetyChecklistCommentCommand, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/comment`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [checklistId] \n * @param {string} [templateId] \n * @param {string} [checklistTemplateId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistEditGet: async (checklistId?: string, templateId?: string, checklistTemplateId?: string, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (checklistId !== undefined) {\n localVarQueryParameter['ChecklistId'] = checklistId;\n }\n\n if (templateId !== undefined) {\n localVarQueryParameter['TemplateId'] = templateId;\n }\n\n if (checklistTemplateId !== undefined) {\n localVarQueryParameter['ChecklistTemplateId'] = checklistTemplateId;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {SafetyChecklistEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistEditPost: async (body?: SafetyChecklistEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {SafetyChecklistEnableEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistEnableeditPost: async (body?: SafetyChecklistEnableEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/enableedit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {SafetyChecklistSubmitCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistSubmitPost: async (body?: SafetyChecklistSubmitCommand, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/submit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistSummarypdfassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/summarypdfasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [templateId] \n * @param {string} [checklistId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistTemplateGet: async (templateId?: string, checklistId?: string, options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/template`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (templateId !== undefined) {\n localVarQueryParameter['TemplateId'] = templateId;\n }\n\n if (checklistId !== undefined) {\n localVarQueryParameter['ChecklistId'] = checklistId;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistTemplatesGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/templates`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistUserdashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/safetychecklist/userdashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * SafetyChecklistApi - functional programming interface\n * @export\n */\nexport const SafetyChecklistApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {SafetyChecklistActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistActionPost(body?: SafetyChecklistActionCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistActionPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistAdmindashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistAdmindashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistAllassetsGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistAllassetsGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {SafetyChecklistApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistApprovePost(body?: SafetyChecklistApproveCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistApprovePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistApproversGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistApproversGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistAssetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistAssetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {SafetyChecklistAttachmentDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistAttachmentdeletePost(body?: SafetyChecklistAttachmentDeleteCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistAttachmentdeletePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistAttachmentsGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistAttachmentsGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {SafetyChecklistAttachmentUploadCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistAttachmentuploadPost(body?: SafetyChecklistAttachmentUploadCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistAttachmentuploadPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistChecklistGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistChecklistGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistCommentGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistCommentGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {SafetyChecklistCommentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistCommentPost(body?: SafetyChecklistCommentCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistCommentPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [checklistId] \n * @param {string} [templateId] \n * @param {string} [checklistTemplateId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistEditGet(checklistId?: string, templateId?: string, checklistTemplateId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistEditGet(checklistId, templateId, checklistTemplateId, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {SafetyChecklistEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistEditPost(body?: SafetyChecklistEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistEditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {SafetyChecklistEnableEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistEnableeditPost(body?: SafetyChecklistEnableEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistEnableeditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {SafetyChecklistSubmitCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistSubmitPost(body?: SafetyChecklistSubmitCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistSubmitPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistSummarypdfassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistSummarypdfassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [templateId] \n * @param {string} [checklistId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistTemplateGet(templateId?: string, checklistId?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistTemplateGet(templateId, checklistId, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistTemplatesGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistTemplatesGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiSafetychecklistUserdashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await SafetyChecklistApiAxiosParamCreator(configuration).apiSafetychecklistUserdashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * SafetyChecklistApi - factory interface\n * @export\n */\nexport const SafetyChecklistApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {SafetyChecklistActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistActionPost(body?: SafetyChecklistActionCommand, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistActionPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAdmindashboardGet(options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistAdmindashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAllassetsGet(id?: string, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistAllassetsGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {SafetyChecklistApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistApprovePost(body?: SafetyChecklistApproveCommand, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistApprovePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistApproversGet(options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistApproversGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAssetGet(id?: string, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistAssetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {SafetyChecklistAttachmentDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAttachmentdeletePost(body?: SafetyChecklistAttachmentDeleteCommand, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistAttachmentdeletePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAttachmentsGet(id?: string, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistAttachmentsGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {SafetyChecklistAttachmentUploadCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistAttachmentuploadPost(body?: SafetyChecklistAttachmentUploadCommand, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistAttachmentuploadPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistChecklistGet(id?: string, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistChecklistGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistCommentGet(id?: string, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistCommentGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {SafetyChecklistCommentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistCommentPost(body?: SafetyChecklistCommentCommand, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistCommentPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [checklistId] \n * @param {string} [templateId] \n * @param {string} [checklistTemplateId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistEditGet(checklistId?: string, templateId?: string, checklistTemplateId?: string, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistEditGet(checklistId, templateId, checklistTemplateId, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {SafetyChecklistEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistEditPost(body?: SafetyChecklistEditCommand, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistEditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {SafetyChecklistEnableEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistEnableeditPost(body?: SafetyChecklistEnableEditCommand, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistEnableeditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {SafetyChecklistSubmitCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistSubmitPost(body?: SafetyChecklistSubmitCommand, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistSubmitPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistSummarypdfassetGet(id?: string, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistSummarypdfassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [templateId] \n * @param {string} [checklistId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistTemplateGet(templateId?: string, checklistId?: string, options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistTemplateGet(templateId, checklistId, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistTemplatesGet(options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistTemplatesGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiSafetychecklistUserdashboardGet(options?: any): AxiosPromise {\n return SafetyChecklistApiFp(configuration).apiSafetychecklistUserdashboardGet(options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * SafetyChecklistApi - object-oriented interface\n * @export\n * @class SafetyChecklistApi\n * @extends {BaseAPI}\n */\nexport class SafetyChecklistApi extends BaseAPI {\n /**\n * \n * @param {SafetyChecklistActionCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistActionPost(body?: SafetyChecklistActionCommand, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistActionPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistAdmindashboardGet(options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistAdmindashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistAllassetsGet(id?: string, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistAllassetsGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {SafetyChecklistApproveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistApprovePost(body?: SafetyChecklistApproveCommand, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistApprovePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistApproversGet(options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistApproversGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistAssetGet(id?: string, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistAssetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {SafetyChecklistAttachmentDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistAttachmentdeletePost(body?: SafetyChecklistAttachmentDeleteCommand, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistAttachmentdeletePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistAttachmentsGet(id?: string, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistAttachmentsGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {SafetyChecklistAttachmentUploadCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistAttachmentuploadPost(body?: SafetyChecklistAttachmentUploadCommand, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistAttachmentuploadPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistChecklistGet(id?: string, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistChecklistGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistCommentGet(id?: string, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistCommentGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {SafetyChecklistCommentCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistCommentPost(body?: SafetyChecklistCommentCommand, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistCommentPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [checklistId] \n * @param {string} [templateId] \n * @param {string} [checklistTemplateId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistEditGet(checklistId?: string, templateId?: string, checklistTemplateId?: string, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistEditGet(checklistId, templateId, checklistTemplateId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {SafetyChecklistEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistEditPost(body?: SafetyChecklistEditCommand, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistEditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {SafetyChecklistEnableEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistEnableeditPost(body?: SafetyChecklistEnableEditCommand, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistEnableeditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {SafetyChecklistSubmitCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistSubmitPost(body?: SafetyChecklistSubmitCommand, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistSubmitPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistSummarypdfassetGet(id?: string, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistSummarypdfassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [templateId] \n * @param {string} [checklistId] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistTemplateGet(templateId?: string, checklistId?: string, options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistTemplateGet(templateId, checklistId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistTemplatesGet(options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistTemplatesGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof SafetyChecklistApi\n */\n public apiSafetychecklistUserdashboardGet(options?: any) {\n return SafetyChecklistApiFp(this.configuration).apiSafetychecklistUserdashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\nimport { StaffDashboardResponse } from '../models';\nimport { StaffDisableProfileCommand } from '../models';\nimport { StaffFetchResponse } from '../models';\nimport { StaffOrganisationAdminCommand } from '../models';\nimport { StaffReferenceCommand } from '../models';\nimport { StaffReferenceQueryResponse } from '../models';\nimport { StaffStaffTypeCommand } from '../models';\n/**\n * StaffApi - axios parameter creator\n * @export\n */\nexport const StaffApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffDashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/staff/dashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {StaffDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffDisableprofilePost: async (body?: StaffDisableProfileCommand, options: any = {}): Promise => {\n const localVarPath = `/api/staff/disableprofile`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffFetchGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/staff/fetch`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {StaffOrganisationAdminCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffOrganisationadminPost: async (body?: StaffOrganisationAdminCommand, options: any = {}): Promise => {\n const localVarPath = `/api/staff/organisationadmin`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffReferenceGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/staff/reference`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {StaffReferenceCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffReferencePost: async (body?: StaffReferenceCommand, options: any = {}): Promise => {\n const localVarPath = `/api/staff/reference`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {StaffStaffTypeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffStafftypePost: async (body?: StaffStaffTypeCommand, options: any = {}): Promise => {\n const localVarPath = `/api/staff/stafftype`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * StaffApi - functional programming interface\n * @export\n */\nexport const StaffApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiStaffDashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await StaffApiAxiosParamCreator(configuration).apiStaffDashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {StaffDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiStaffDisableprofilePost(body?: StaffDisableProfileCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await StaffApiAxiosParamCreator(configuration).apiStaffDisableprofilePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiStaffFetchGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await StaffApiAxiosParamCreator(configuration).apiStaffFetchGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {StaffOrganisationAdminCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiStaffOrganisationadminPost(body?: StaffOrganisationAdminCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await StaffApiAxiosParamCreator(configuration).apiStaffOrganisationadminPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiStaffReferenceGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await StaffApiAxiosParamCreator(configuration).apiStaffReferenceGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {StaffReferenceCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiStaffReferencePost(body?: StaffReferenceCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await StaffApiAxiosParamCreator(configuration).apiStaffReferencePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {StaffStaffTypeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiStaffStafftypePost(body?: StaffStaffTypeCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await StaffApiAxiosParamCreator(configuration).apiStaffStafftypePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * StaffApi - factory interface\n * @export\n */\nexport const StaffApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffDashboardGet(options?: any): AxiosPromise {\n return StaffApiFp(configuration).apiStaffDashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {StaffDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffDisableprofilePost(body?: StaffDisableProfileCommand, options?: any): AxiosPromise {\n return StaffApiFp(configuration).apiStaffDisableprofilePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffFetchGet(id?: string, options?: any): AxiosPromise {\n return StaffApiFp(configuration).apiStaffFetchGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {StaffOrganisationAdminCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffOrganisationadminPost(body?: StaffOrganisationAdminCommand, options?: any): AxiosPromise {\n return StaffApiFp(configuration).apiStaffOrganisationadminPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffReferenceGet(id?: string, options?: any): AxiosPromise {\n return StaffApiFp(configuration).apiStaffReferenceGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {StaffReferenceCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffReferencePost(body?: StaffReferenceCommand, options?: any): AxiosPromise {\n return StaffApiFp(configuration).apiStaffReferencePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {StaffStaffTypeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiStaffStafftypePost(body?: StaffStaffTypeCommand, options?: any): AxiosPromise {\n return StaffApiFp(configuration).apiStaffStafftypePost(body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * StaffApi - object-oriented interface\n * @export\n * @class StaffApi\n * @extends {BaseAPI}\n */\nexport class StaffApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof StaffApi\n */\n public apiStaffDashboardGet(options?: any) {\n return StaffApiFp(this.configuration).apiStaffDashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {StaffDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof StaffApi\n */\n public apiStaffDisableprofilePost(body?: StaffDisableProfileCommand, options?: any) {\n return StaffApiFp(this.configuration).apiStaffDisableprofilePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof StaffApi\n */\n public apiStaffFetchGet(id?: string, options?: any) {\n return StaffApiFp(this.configuration).apiStaffFetchGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {StaffOrganisationAdminCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof StaffApi\n */\n public apiStaffOrganisationadminPost(body?: StaffOrganisationAdminCommand, options?: any) {\n return StaffApiFp(this.configuration).apiStaffOrganisationadminPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof StaffApi\n */\n public apiStaffReferenceGet(id?: string, options?: any) {\n return StaffApiFp(this.configuration).apiStaffReferenceGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {StaffReferenceCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof StaffApi\n */\n public apiStaffReferencePost(body?: StaffReferenceCommand, options?: any) {\n return StaffApiFp(this.configuration).apiStaffReferencePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {StaffStaffTypeCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof StaffApi\n */\n public apiStaffStafftypePost(body?: StaffStaffTypeCommand, options?: any) {\n return StaffApiFp(this.configuration).apiStaffStafftypePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\nimport { TrainingAdditionalTrainingEditCommand } from '../models';\nimport { TrainingAdditionalTrainingEditQueryResponse } from '../models';\nimport { TrainingAdminDashboardResponse } from '../models';\nimport { TrainingDeleteModuleCommand } from '../models';\nimport { TrainingEditCommand } from '../models';\nimport { TrainingEditModuleCommand } from '../models';\nimport { TrainingEditModuleQueryResponse } from '../models';\nimport { TrainingMarkAsCompleteCommand } from '../models';\nimport { TrainingRemoveCommand } from '../models';\nimport { TrainingUserDashboardResponse } from '../models';\nimport { TrainingViewResponse } from '../models';\n/**\n * TrainingApi - axios parameter creator\n * @export\n */\nexport const TrainingApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingAdditionaltrainingassetGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/training/additionaltrainingasset`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingAdditionaltrainingeditGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/training/additionaltrainingedit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {TrainingAdditionalTrainingEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingAdditionaltrainingeditPost: async (body?: TrainingAdditionalTrainingEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/training/additionaltrainingedit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingAdmindashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/training/admindashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {TrainingDeleteModuleCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingDeletemodulePost: async (body?: TrainingDeleteModuleCommand, options: any = {}): Promise => {\n const localVarPath = `/api/training/deletemodule`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {TrainingEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingEditPost: async (body?: TrainingEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/training/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingEditmoduleGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/training/editmodule`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {TrainingEditModuleCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingEditmodulePost: async (body?: TrainingEditModuleCommand, options: any = {}): Promise => {\n const localVarPath = `/api/training/editmodule`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {TrainingMarkAsCompleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingMarkascompletePost: async (body?: TrainingMarkAsCompleteCommand, options: any = {}): Promise => {\n const localVarPath = `/api/training/markascomplete`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {TrainingRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingRemovePost: async (body?: TrainingRemoveCommand, options: any = {}): Promise => {\n const localVarPath = `/api/training/remove`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingUserdashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/training/userdashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingViewGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/training/view`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * TrainingApi - functional programming interface\n * @export\n */\nexport const TrainingApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingAdditionaltrainingassetGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingAdditionaltrainingassetGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingAdditionaltrainingeditGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingAdditionaltrainingeditGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {TrainingAdditionalTrainingEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingAdditionaltrainingeditPost(body?: TrainingAdditionalTrainingEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingAdditionaltrainingeditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingAdmindashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingAdmindashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {TrainingDeleteModuleCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingDeletemodulePost(body?: TrainingDeleteModuleCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingDeletemodulePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {TrainingEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingEditPost(body?: TrainingEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingEditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingEditmoduleGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingEditmoduleGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {TrainingEditModuleCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingEditmodulePost(body?: TrainingEditModuleCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingEditmodulePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {TrainingMarkAsCompleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingMarkascompletePost(body?: TrainingMarkAsCompleteCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingMarkascompletePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {TrainingRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingRemovePost(body?: TrainingRemoveCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingRemovePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingUserdashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingUserdashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingViewGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingApiAxiosParamCreator(configuration).apiTrainingViewGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * TrainingApi - factory interface\n * @export\n */\nexport const TrainingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingAdditionaltrainingassetGet(id?: string, options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingAdditionaltrainingassetGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingAdditionaltrainingeditGet(id?: string, options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingAdditionaltrainingeditGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {TrainingAdditionalTrainingEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingAdditionaltrainingeditPost(body?: TrainingAdditionalTrainingEditCommand, options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingAdditionaltrainingeditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingAdmindashboardGet(options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingAdmindashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {TrainingDeleteModuleCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingDeletemodulePost(body?: TrainingDeleteModuleCommand, options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingDeletemodulePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {TrainingEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingEditPost(body?: TrainingEditCommand, options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingEditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingEditmoduleGet(id?: string, options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingEditmoduleGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {TrainingEditModuleCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingEditmodulePost(body?: TrainingEditModuleCommand, options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingEditmodulePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {TrainingMarkAsCompleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingMarkascompletePost(body?: TrainingMarkAsCompleteCommand, options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingMarkascompletePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {TrainingRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingRemovePost(body?: TrainingRemoveCommand, options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingRemovePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingUserdashboardGet(options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingUserdashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingViewGet(id?: string, options?: any): AxiosPromise {\n return TrainingApiFp(configuration).apiTrainingViewGet(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * TrainingApi - object-oriented interface\n * @export\n * @class TrainingApi\n * @extends {BaseAPI}\n */\nexport class TrainingApi extends BaseAPI {\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingAdditionaltrainingassetGet(id?: string, options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingAdditionaltrainingassetGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingAdditionaltrainingeditGet(id?: string, options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingAdditionaltrainingeditGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {TrainingAdditionalTrainingEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingAdditionaltrainingeditPost(body?: TrainingAdditionalTrainingEditCommand, options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingAdditionaltrainingeditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingAdmindashboardGet(options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingAdmindashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {TrainingDeleteModuleCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingDeletemodulePost(body?: TrainingDeleteModuleCommand, options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingDeletemodulePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {TrainingEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingEditPost(body?: TrainingEditCommand, options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingEditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingEditmoduleGet(id?: string, options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingEditmoduleGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {TrainingEditModuleCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingEditmodulePost(body?: TrainingEditModuleCommand, options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingEditmodulePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {TrainingMarkAsCompleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingMarkascompletePost(body?: TrainingMarkAsCompleteCommand, options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingMarkascompletePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {TrainingRemoveCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingRemovePost(body?: TrainingRemoveCommand, options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingRemovePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingUserdashboardGet(options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingUserdashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingApi\n */\n public apiTrainingViewGet(id?: string, options?: any) {\n return TrainingApiFp(this.configuration).apiTrainingViewGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { SharedModelsCommandIdResponse } from '../models';\nimport { SharedModelsCommandResponse } from '../models';\nimport { TrainingModuleDashboardResponse } from '../models';\nimport { TrainingModuleDeleteCommand } from '../models';\nimport { TrainingModuleEditCommand } from '../models';\nimport { TrainingModuleEditQueryResponse } from '../models';\nimport { TrainingModuleReorderCommand } from '../models';\n/**\n * TrainingModuleApi - axios parameter creator\n * @export\n */\nexport const TrainingModuleApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingmoduleDashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/trainingmodule/dashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {TrainingModuleDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingmoduleDeletePost: async (body?: TrainingModuleDeleteCommand, options: any = {}): Promise => {\n const localVarPath = `/api/trainingmodule/delete`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingmoduleEditGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/trainingmodule/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {TrainingModuleEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingmoduleEditPost: async (body?: TrainingModuleEditCommand, options: any = {}): Promise => {\n const localVarPath = `/api/trainingmodule/edit`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {TrainingModuleReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingmoduleReorderPost: async (body?: TrainingModuleReorderCommand, options: any = {}): Promise => {\n const localVarPath = `/api/trainingmodule/reorder`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * TrainingModuleApi - functional programming interface\n * @export\n */\nexport const TrainingModuleApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingmoduleDashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingModuleApiAxiosParamCreator(configuration).apiTrainingmoduleDashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {TrainingModuleDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingmoduleDeletePost(body?: TrainingModuleDeleteCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingModuleApiAxiosParamCreator(configuration).apiTrainingmoduleDeletePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingmoduleEditGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingModuleApiAxiosParamCreator(configuration).apiTrainingmoduleEditGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {TrainingModuleEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingmoduleEditPost(body?: TrainingModuleEditCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingModuleApiAxiosParamCreator(configuration).apiTrainingmoduleEditPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {TrainingModuleReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiTrainingmoduleReorderPost(body?: TrainingModuleReorderCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await TrainingModuleApiAxiosParamCreator(configuration).apiTrainingmoduleReorderPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * TrainingModuleApi - factory interface\n * @export\n */\nexport const TrainingModuleApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingmoduleDashboardGet(options?: any): AxiosPromise {\n return TrainingModuleApiFp(configuration).apiTrainingmoduleDashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {TrainingModuleDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingmoduleDeletePost(body?: TrainingModuleDeleteCommand, options?: any): AxiosPromise {\n return TrainingModuleApiFp(configuration).apiTrainingmoduleDeletePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingmoduleEditGet(id?: string, options?: any): AxiosPromise {\n return TrainingModuleApiFp(configuration).apiTrainingmoduleEditGet(id, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {TrainingModuleEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingmoduleEditPost(body?: TrainingModuleEditCommand, options?: any): AxiosPromise {\n return TrainingModuleApiFp(configuration).apiTrainingmoduleEditPost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {TrainingModuleReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiTrainingmoduleReorderPost(body?: TrainingModuleReorderCommand, options?: any): AxiosPromise {\n return TrainingModuleApiFp(configuration).apiTrainingmoduleReorderPost(body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * TrainingModuleApi - object-oriented interface\n * @export\n * @class TrainingModuleApi\n * @extends {BaseAPI}\n */\nexport class TrainingModuleApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingModuleApi\n */\n public apiTrainingmoduleDashboardGet(options?: any) {\n return TrainingModuleApiFp(this.configuration).apiTrainingmoduleDashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {TrainingModuleDeleteCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingModuleApi\n */\n public apiTrainingmoduleDeletePost(body?: TrainingModuleDeleteCommand, options?: any) {\n return TrainingModuleApiFp(this.configuration).apiTrainingmoduleDeletePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingModuleApi\n */\n public apiTrainingmoduleEditGet(id?: string, options?: any) {\n return TrainingModuleApiFp(this.configuration).apiTrainingmoduleEditGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {TrainingModuleEditCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingModuleApi\n */\n public apiTrainingmoduleEditPost(body?: TrainingModuleEditCommand, options?: any) {\n return TrainingModuleApiFp(this.configuration).apiTrainingmoduleEditPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {TrainingModuleReorderCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof TrainingModuleApi\n */\n public apiTrainingmoduleReorderPost(body?: TrainingModuleReorderCommand, options?: any) {\n return TrainingModuleApiFp(this.configuration).apiTrainingmoduleReorderPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { UploadTokenCommand } from '../models';\nimport { UploadTokenResponse } from '../models';\n/**\n * UploadApi - axios parameter creator\n * @export\n */\nexport const UploadApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {UploadTokenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiUploadTokenPost: async (body?: UploadTokenCommand, options: any = {}): Promise => {\n const localVarPath = `/api/upload/token`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * UploadApi - functional programming interface\n * @export\n */\nexport const UploadApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {UploadTokenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiUploadTokenPost(body?: UploadTokenCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await UploadApiAxiosParamCreator(configuration).apiUploadTokenPost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * UploadApi - factory interface\n * @export\n */\nexport const UploadApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {UploadTokenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiUploadTokenPost(body?: UploadTokenCommand, options?: any): AxiosPromise {\n return UploadApiFp(configuration).apiUploadTokenPost(body, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * UploadApi - object-oriented interface\n * @export\n * @class UploadApi\n * @extends {BaseAPI}\n */\nexport class UploadApi extends BaseAPI {\n /**\n * \n * @param {UploadTokenCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof UploadApi\n */\n public apiUploadTokenPost(body?: UploadTokenCommand, options?: any) {\n return UploadApiFp(this.configuration).apiUploadTokenPost(body, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\nimport globalAxios, { AxiosPromise, AxiosInstance } from 'axios';\nimport { Configuration } from '../configuration';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';\nimport { SharedModelsCommandResponse } from '../models';\nimport { VisitorsDashboardResponse } from '../models';\nimport { VisitorsDisableProfileCommand } from '../models';\nimport { VisitorsFetchResponse } from '../models';\n/**\n * VisitorsApi - axios parameter creator\n * @export\n */\nexport const VisitorsApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiVisitorsDashboardGet: async (options: any = {}): Promise => {\n const localVarPath = `/api/visitors/dashboard`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {VisitorsDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiVisitorsDisableprofilePost: async (body?: VisitorsDisableProfileCommand, options: any = {}): Promise => {\n const localVarPath = `/api/visitors/disableprofile`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n const needsSerialization = (typeof body !== \"string\") || localVarRequestOptions.headers['Content-Type'] === 'application/json';\n localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || \"\");\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiVisitorsFetchGet: async (id?: string, options: any = {}): Promise => {\n const localVarPath = `/api/visitors/fetch`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, 'https://example.com');\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n // authentication Bearer required\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(\"Authorization\")\n : await configuration.apiKey;\n localVarHeaderParameter[\"Authorization\"] = localVarApiKeyValue;\n }\n\n if (id !== undefined) {\n localVarQueryParameter['Id'] = id;\n }\n\n const query = new URLSearchParams(localVarUrlObj.search);\n for (const key in localVarQueryParameter) {\n query.set(key, localVarQueryParameter[key]);\n }\n for (const key in options.query) {\n query.set(key, options.query[key]);\n }\n localVarUrlObj.search = (new URLSearchParams(query)).toString();\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n\n return {\n url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * VisitorsApi - functional programming interface\n * @export\n */\nexport const VisitorsApiFp = function(configuration?: Configuration) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiVisitorsDashboardGet(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await VisitorsApiAxiosParamCreator(configuration).apiVisitorsDashboardGet(options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {VisitorsDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiVisitorsDisableprofilePost(body?: VisitorsDisableProfileCommand, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await VisitorsApiAxiosParamCreator(configuration).apiVisitorsDisableprofilePost(body, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async apiVisitorsFetchGet(id?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {\n const localVarAxiosArgs = await VisitorsApiAxiosParamCreator(configuration).apiVisitorsFetchGet(id, options);\n return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};\n return axios.request(axiosRequestArgs);\n };\n },\n }\n};\n\n/**\n * VisitorsApi - factory interface\n * @export\n */\nexport const VisitorsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n return {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiVisitorsDashboardGet(options?: any): AxiosPromise {\n return VisitorsApiFp(configuration).apiVisitorsDashboardGet(options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {VisitorsDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiVisitorsDisableprofilePost(body?: VisitorsDisableProfileCommand, options?: any): AxiosPromise {\n return VisitorsApiFp(configuration).apiVisitorsDisableprofilePost(body, options).then((request) => request(axios, basePath));\n },\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n apiVisitorsFetchGet(id?: string, options?: any): AxiosPromise {\n return VisitorsApiFp(configuration).apiVisitorsFetchGet(id, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * VisitorsApi - object-oriented interface\n * @export\n * @class VisitorsApi\n * @extends {BaseAPI}\n */\nexport class VisitorsApi extends BaseAPI {\n /**\n * \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof VisitorsApi\n */\n public apiVisitorsDashboardGet(options?: any) {\n return VisitorsApiFp(this.configuration).apiVisitorsDashboardGet(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {VisitorsDisableProfileCommand} [body] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof VisitorsApi\n */\n public apiVisitorsDisableprofilePost(body?: VisitorsDisableProfileCommand, options?: any) {\n return VisitorsApiFp(this.configuration).apiVisitorsDisableprofilePost(body, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n * \n * @param {string} [id] \n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof VisitorsApi\n */\n public apiVisitorsFetchGet(id?: string, options?: any) {\n return VisitorsApiFp(this.configuration).apiVisitorsFetchGet(id, options).then((request) => request(this.axios, this.basePath));\n }\n}\n","import * as React from 'react';\nimport { setUserSession, checkUserSession } from './checkUserSession';\n\n// PACKAGES\nimport axios from 'axios';\n\n// UTILS\nimport { isObject, SITE_KEY } from '../utils';\n\n// MODELS\nimport {\n\tAccountChangeEmailCommand,\n\tAccountEditPhoneNumberCommand,\n\tAccountLinkAccountsCommand,\n\tAccountLinkChildNameCommand,\n\tAccountLinkRequestApproveCommand,\n\tAccountLinkRequestRejectCommand,\n\tAccountLinkRequestRemoveCommand,\n\tAccountLinkRequestRevokeCommand,\n\tAccountVolunteerRequestCommand,\n\tAccountVolunteerRevokeCommand,\n\tAuthenticationResendTwoFactorTokenCommand,\n\tAuthenticationValidateTwoFactorCommand,\n\tIncidentArchiveLinkIncidentCommand,\n\tOrganisationPaymentInfoCommand,\n\tRequestsToJoinVolunteerApproveCommand,\n\tRequestsToJoinVolunteerDenyCommand\n} from '../api/models';\nimport { AccountEditProfileImageCommand } from '../api/models';\nimport { AccountEmailChangeRequestCommand } from '../api/models';\nimport { AuthenticationChangePasswordCommand } from '../api/models';\nimport { OrganisationActivateCommand } from '../api/models';\nimport { OrganisationAddAdministratorCommand } from '../api/models';\nimport { PaymentCreateCommand } from '../api/models';\nimport { StaffReferenceCommand } from '../api/models';\nimport { OrganisationDeactivateCommand } from '../api/models';\nimport { OrganisationPaymentMethodCommand } from '../api/models';\nimport { UploadTokenCommand } from '../api/models';\nimport { UploadTokenAzureStorageSasResult } from '../api/models';\nimport { AuthenticationForgotPasswordCommand } from '../api/models';\nimport { AuthenticationResetPasswordCommand } from '../api/models';\nimport { AuthenticationLoginCommand } from '../api/models';\n// import { AuthenticationLoginResponse } from '../api/models';\nimport { AuthenticationTokenRefreshCommand } from '../api/models';\nimport { AuthenticationTokenRefreshResponse } from '../api/models';\nimport { AuthenticationSwitchProfileCommand } from '../api/models';\nimport { AccountRegistrationCommand } from '../api/models';\nimport { AccountSendEmailVerificationCommand } from '../api/models';\nimport { OrganisationRegistrationCommand } from '../api/models';\nimport { AccountJoinOrganisationCommand } from '../api/models';\nimport { LeadershipTeamUnAssignCommand } from '../api/models';\nimport { LeadershipTeamAssignCommand } from '../api/models';\nimport { AccountCertificationCommand } from '../api/models';\nimport { IncidentArchiveAcknowledgeOnBehalfCommand } from '../api/models';\nimport { IncidentAcknowledgeOnBehalfCommand } from '../api/models';\nimport { PolicyAcknowledgeCommand } from '../api/models';\nimport { TrainingModuleEditCommand } from '../api/models';\nimport { DashboardActivityFeedCommand } from '../api/models';\nimport { DashboardRemoveActivityFeedCommand } from '../api/models';\nimport { FeedbackCreateCommand } from '../api/models';\nimport { FeedbackResolveCommand } from '../api/models';\nimport { FeedbackLogActionCommand } from '../api/models';\nimport { FeedbackWithdrawCommand } from '../api/models';\nimport { SafetyChecklistSubmitCommand } from '../api/models';\nimport { SafetyChecklistActionCommand } from '../api/models';\nimport { SafetyChecklistApproveCommand } from '../api/models';\nimport { SafetyChecklistAttachmentDeleteCommand } from '../api/models';\nimport { SafetyChecklistAttachmentUploadCommand } from '../api/models';\nimport { SafetyChecklistCommentCommand } from '../api/models';\nimport { SafetyChecklistEditCommand } from '../api/models';\nimport { StaffStaffTypeCommand } from '../api/models';\nimport { StaffDisableProfileCommand } from '../api/models';\nimport { VisitorsDisableProfileCommand } from '../api/models';\nimport { FamiliesDisableProfileCommand } from '../api/models';\nimport { StaffOrganisationAdminCommand } from '../api/models';\nimport { IncidentArchiveEditCommand } from '../api/models';\nimport { IncidentArchiveAcknowledgeCommand } from '../api/models';\nimport { IncidentAcknowledgeCommand } from '../api/models';\nimport { IncidentEditCommand } from '../api/models';\nimport { IncidentLinkIncidentCommand } from '../api/models';\nimport { boundProgressType } from '../components/FileUpload';\nimport { ChildSafeStandardDeleteCommand } from '../api/models';\nimport { ChildSafeStandardEditCommand } from '../api/models';\nimport { ChildSafeStandardReorderCommand } from '../api/models';\nimport { ComplaintAdviceEditCommand } from '../api/models';\nimport { ComplaintAdviceDeleteCommand } from '../api/models';\nimport { ComplaintAdviceReorderCommand } from '../api/models';\nimport { PolicyTemplateDeleteCommand } from '../api/models';\nimport { PolicyTemplateEditCommand } from '../api/models';\nimport { PolicyTemplateReorderCommand } from '../api/models';\nimport { TrainingModuleDeleteCommand } from '../api/models';\nimport { TrainingModuleReorderCommand } from '../api/models';\nimport { TrainingAdditionalTrainingEditCommand } from '../api/models';\nimport { TrainingEditCommand } from '../api/models';\nimport { TrainingMarkAsCompleteCommand } from '../api/models';\nimport { TrainingRemoveCommand } from '../api/models';\nimport { TrainingEditModuleCommand } from '../api/models';\nimport { TrainingDeleteModuleCommand } from '../api/models';\nimport { ChecklistTemplateDeleteCommand } from '../api/models';\nimport { ChecklistTemplateReorderCommand } from '../api/models';\nimport { ChecklistTemplateEditCommand } from '../api/models';\nimport { RequestsToJoinDenyCommand } from '../api/models';\nimport { RequestsToJoinApproveCommand } from '../api/models';\nimport { RequestsToJoinStaffTypeCommand } from '../api/models';\nimport { RequestsToJoinOrganisationAdminCommand } from '../api/models';\nimport { RequestsToJoinCiteCertificationCommand } from '../api/models';\nimport { PolicyArchiveCommand } from '../api/models';\nimport { PolicyReinstateCommand } from '../api/models';\nimport { PolicyEditCommand } from '../api/models';\nimport { ComplaintCreateCommand } from '../api/models';\nimport { ComplaintResolutionCommand } from '../api/models';\nimport { ComplaintEditActionCommand } from '../api/models';\nimport { ComplaintRemoveActionCommand } from '../api/models';\nimport { ComplaintAcceptResolutionCommand } from '../api/models';\nimport { ComplaintReopenCommand } from '../api/models';\nimport { ComplaintWithdrawCommand } from '../api/models';\nimport { ComplaintAddStaffCommand } from '../api/models';\nimport { ComplaintRemoveFamilyMemberCommand } from '../api/models';\nimport { OrganisationAddressCommand } from '../api/models';\nimport { OrganisationEditProfileImageCommand } from '../api/models';\nimport { OrganisationRemoveAdministratorCommand } from '../api/models/organisation-remove-administrator-command';\nimport { HelpDeskReorderCommand } from '../api/models';\nimport { HelpDeskDeleteCommand } from '../api/models';\nimport { HelpDeskEditCommand } from '../api/models';\nimport { OrganisationNumberOfChildrenCommand } from '../api/models';\nimport { AccountParentVerificationCommand } from '../api/models';\n\n// API\nimport azureFileUpload from './azure-file-upload';\nimport { SafetyChecklistApi } from '../api/api';\nimport { TrainingApi } from '../api/api';\nimport { UploadApi } from '../api/api';\nimport { PolicyTemplateApi } from '../api/api';\nimport { ComplaintAdviceApi } from '../api/api';\nimport { ChildSafeStandardApi } from '../api/api';\nimport { TrainingModuleApi } from '../api/api';\nimport { ChecklistTemplateApi } from '../api/api';\nimport { GlobalApi } from '../api/api';\nimport { AuthenticationApi } from '../api/api';\nimport { AccountApi } from '../api/api';\nimport { OrganisationApi } from '../api/api';\nimport { VisitorsApi } from '../api/api';\nimport { NavigationApi } from '../api/api';\nimport { DashboardApi } from '../api/api';\nimport { LeadershipTeamApi } from '../api/api';\nimport { RequestsToJoinApi } from '../api/api';\nimport { FeedbackApi } from '../api/api';\nimport { InviteApi } from '../api/api';\nimport { IncidentArchiveApi } from '../api/api';\nimport { IncidentApi } from '../api/api';\nimport { StaffApi } from '../api/api';\nimport { FamiliesApi } from '../api/api';\nimport { PolicyApi } from '../api/api';\nimport { ComplaintApi } from '../api/api';\nimport { PaymentApi } from '../api/api';\nimport { AuditApi } from '../api/api';\nimport { HelpDeskApi } from '../api/api';\n\ninterface AccountEmailVerificationCommand {\n\ttoken?: string;\n\temail?: string;\n}\n\ninterface PaymentInfoCommand {\n\tpaymentPlanId?: string;\n\tnumberOfChildren?: number;\n}\n\ninterface RequestErrorTypes {\n\tisError: boolean;\n\tmessage: string;\n\tvalidationErrors: {\n\t\tname?: string;\n\t\treason?: string;\n\t}[];\n}\n\nconst api = () => {\n\tlet tokenTimer: ReturnType;\n\n\tdocument.cookie = `CATimezoneOffset=${new Date().getTimezoneOffset()};max-age=${\n\t\t30 * 24 * 60 * 60\n\t};secure;samesite=strict;path=/`;\n\n\tconst authenticationTokenRefresh = async () => {\n\t\tconst fields: AuthenticationTokenRefreshCommand = {\n\t\t\ttoken: localStorage.getItem('token') || '',\n\t\t\trefreshToken: localStorage.getItem('refreshToken') || ''\n\t\t};\n\n\t\treturn new AuthenticationApi().apiAuthenticationTokenrefreshPost(fields);\n\t};\n\n\tconst destroyToken = () => {\n\t\tclearTimeout(tokenTimer);\n\t\tsetUserSession(null);\n\t\tlocalStorage.removeItem('token');\n\t\tlocalStorage.removeItem('refreshToken');\n\t\tdocument.cookie = `AuthorizationToken=;expires=Thu, 01 Jan 1970 00:00:00 GMT;secure;samesite=strict`;\n\t};\n\n\t// initialisation\n\t// before request\n\taxios.interceptors.request.use(\n\t\t(config) => {\n\t\t\tconst token = localStorage.getItem('token') || '';\n\n\t\t\tif (token) {\n\t\t\t\tconfig.headers = {\n\t\t\t\t\t...config.headers,\n\t\t\t\t\tAuthorization: `Bearer ${token}`,\n\t\t\t\t\tCATimezoneOffset: new Date().getTimezoneOffset()\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn config;\n\t\t},\n\t\t(error) => {\n\t\t\treturn Promise.reject(error);\n\t\t}\n\t);\n\n\t// before response\n\taxios.interceptors.response.use(\n\t\t(response: any) => {\n\t\t\t// Any status code that lie within the range of 2xx cause this function to trigger\n\n\t\t\tif (response.data && response.data.result) {\n\t\t\t\tif (response.data.result.token) {\n\t\t\t\t\tconst maxAge =\n\t\t\t\t\t\tresponse.data.result.cookieExpiry !== undefined ? response.data.result.cookieExpiry * 60 : 86400;\n\t\t\t\t\tconst token = response.data.result.token;\n\t\t\t\t\tsetUserSession(token);\n\t\t\t\t\tlocalStorage.setItem('token', token);\n\t\t\t\t\tdocument.cookie = `AuthorizationToken=${token};max-age=${maxAge};secure;samesite=strict;path=/`;\n\n\t\t\t\t\t// should output something reasonable like (30 mins - 5 mins). Or 5 mins if something goes wrong\n\t\t\t\t\tconst tokenInterval = (maxAge - 300 > 300 ? maxAge - 300 : 300) * 1000; // seconds to milliseconds\n\n\t\t\t\t\t// setup a timeout to run again before the token expires\n\t\t\t\t\tclearTimeout(tokenTimer);\n\t\t\t\t\ttokenTimer = setTimeout(() => {\n\t\t\t\t\t\tauthenticationTokenRefresh();\n\t\t\t\t\t}, tokenInterval);\n\t\t\t\t}\n\n\t\t\t\tif (response.data.result.refreshToken) {\n\t\t\t\t\tconst refreshToken = response.data.result.refreshToken;\n\t\t\t\t\tlocalStorage.setItem('refreshToken', refreshToken);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Retry axios request 1 time if recaptcha token is bad\n\t\t\tif (\n\t\t\t\tresponse.data &&\n\t\t\t\tresponse.data.isError &&\n\t\t\t\tresponse.data.validationErrors[0].name === 'CaptchaToken' &&\n\t\t\t\tresponse.data.validationErrors[0].reason === 'Recaptcha token is invalid.'\n\t\t\t) {\n\t\t\t\tconst originalRequest = response.config;\n\n\t\t\t\tif (!originalRequest._captchaRetry && window.grecaptcha) {\n\t\t\t\t\toriginalRequest._captchaRetry = true;\n\n\t\t\t\t\tconst params = JSON.parse(originalRequest.data);\n\n\t\t\t\t\treturn new Promise((resolve) => {\n\t\t\t\t\t\twindow.grecaptcha.ready(() => {\n\t\t\t\t\t\t\twindow.grecaptcha.execute(SITE_KEY, { action: 'submit' }).then((token: string) => {\n\t\t\t\t\t\t\t\tparams.captchaToken = token;\n\t\t\t\t\t\t\t\toriginalRequest.data = JSON.stringify(params);\n\t\t\t\t\t\t\t\tresolve(axios(originalRequest));\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn response;\n\t\t},\n\t\t(error) => {\n\t\t\t// Any status codes that falls outside the range of 2xx cause this function to trigger\n\n\t\t\tif (error && error.response && error.response.status === 401) {\n\t\t\t\tconst originalRequest = error.config;\n\n\t\t\t\tif (!originalRequest._retry) {\n\t\t\t\t\toriginalRequest._retry = true;\n\n\t\t\t\t\treturn authenticationTokenRefresh()\n\t\t\t\t\t\t.then((response: any) => {\n\t\t\t\t\t\t\tif (response.data.isError) {\n\t\t\t\t\t\t\t\t// token refresh failed\n\t\t\t\t\t\t\t\tdestroyToken();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn axios(originalRequest);\n\t\t\t\t\t\t})\n\t\t\t\t\t\t.catch((error: any) => {\n\t\t\t\t\t\t\t// token refresh failed\n\t\t\t\t\t\t\tdestroyToken();\n\t\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\t// 2 x 401 error in a row - token refresh failed\n\t\t\t\t\tdestroyToken();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn Promise.reject(error);\n\t\t}\n\t);\n\n\tfunction request(apiCall: any) {\n\t\t// check for multiple tabs that are logged in\n\t\tcheckUserSession();\n\n\t\treturn apiCall()\n\t\t\t.then((response: any) => {\n\t\t\t\treturn response.data;\n\t\t\t})\n\t\t\t.catch((error: any) => {\n\t\t\t\tconst errorData: RequestErrorTypes = {\n\t\t\t\t\tisError: true,\n\t\t\t\t\tmessage: 'An error has occurred',\n\t\t\t\t\tvalidationErrors: []\n\t\t\t\t};\n\n\t\t\t\tif (error) {\n\t\t\t\t\tif (error.response && isObject(error.response.data)) {\n\t\t\t\t\t\t// Request made and server responded\n\t\t\t\t\t\terrorData.message = error.response.data.detail || errorData.message;\n\t\t\t\t\t\tif (error.response.data.validationErrors) {\n\t\t\t\t\t\t\terrorData.validationErrors = [...error.response.data.validationErrors];\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (error.request) {\n\t\t\t\t\t\t// The request was made but no response was received\n\t\t\t\t\t\terrorData.message = 'A communication error has occurred';\n\n\t\t\t\t\t\t// fix for cloudflare expiry on Dev and Staging\n\t\t\t\t\t\tif (window.location.host.indexOf('studiobravo') !== -1) {\n\t\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconsole.log(errorData);\n\t\t\t\treturn errorData;\n\t\t\t});\n\t}\n\n\treturn {\n\t\t// GLOBAL\n\t\tasync getGlobalLookups() {\n\t\t\treturn request(new GlobalApi().apiGlobalLookupsGet.bind(this));\n\t\t},\n\n\t\tasync refreshAuthenticationToken() {\n\t\t\t// special case - no need to bind\n\t\t\treturn request(authenticationTokenRefresh);\n\t\t},\n\n\t\tasync getUploadCredentials(file: File, token: string) {\n\t\t\t// get azure credentials\n\n\t\t\tconst fields: UploadTokenCommand = { fileName: file.name, captchaToken: token };\n\n\t\t\treturn request(new UploadApi().apiUploadTokenPost.bind(this, fields));\n\t\t},\n\n\t\tasync uploadFile(file: File, credentials: UploadTokenAzureStorageSasResult, progressCallback?: boundProgressType) {\n\t\t\treturn await azureFileUpload(file, credentials, progressCallback);\n\t\t},\n\n\t\tasync getMainMenu() {\n\t\t\treturn request(new NavigationApi().apiNavigationMenuaccessrightsGet.bind(this));\n\t\t},\n\n\t\tasync getNavigationActionTicker() {\n\t\t\treturn request(new NavigationApi().apiNavigationActiontickerGet.bind(this));\n\t\t},\n\n\t\tasync getUserDetails() {\n\t\t\treturn request(new AccountApi().apiAccountUserGet.bind(this));\n\t\t},\n\n\t\tasync doSwitchOrganisation(profileId: AuthenticationSwitchProfileCommand['profileId']) {\n\t\t\tconst fields = { profileId };\n\t\t\treturn request(new AuthenticationApi().apiAuthenticationSwitchprofilePost.bind(this, fields));\n\t\t},\n\n\t\t// REGISTER\n\t\tasync doCreateAccount(fields: AccountRegistrationCommand) {\n\t\t\treturn request(new AccountApi().apiAccountRegisterPost.bind(this, fields));\n\t\t},\n\n\t\tasync doResendEmailVerification(fields: AccountSendEmailVerificationCommand) {\n\t\t\treturn request(new AccountApi().apiAccountSendemailverificationPost.bind(this, fields));\n\t\t},\n\n\t\tasync doEmailConfirmation(fields: AccountEmailVerificationCommand) {\n\t\t\treturn request(new AccountApi().apiAccountEmailverificationPost.bind(this, fields));\n\t\t},\n\n\t\tasync doForgotPassword(fields: AuthenticationForgotPasswordCommand) {\n\t\t\treturn request(new AuthenticationApi().apiAuthenticationForgotpasswordPost.bind(this, fields));\n\t\t},\n\n\t\tasync doResetPassword(fields: AuthenticationResetPasswordCommand) {\n\t\t\treturn request(new AuthenticationApi().apiAuthenticationResetpasswordPost.bind(this, fields));\n\t\t},\n\n\t\tasync sendParentVerification(fields: AccountParentVerificationCommand) {\n\t\t\treturn request(new AccountApi().apiAccountParentverificationPost.bind(this, fields));\n\t\t},\n\n\t\tasync getParentVerificationStatus(token: string, email: string, organisationIdentifier: string) {\n\t\t\treturn request(new AccountApi().apiAccountParentverificationGet.bind(this, token, email, organisationIdentifier));\n\t\t},\n\n\t\tasync checkAbnInUse(AustralianBusinessNumber: string, organisationId: string) {\n\t\t\treturn request(\n\t\t\t\tnew OrganisationApi().apiOrganisationAustralianbusinessnumberGet.bind(\n\t\t\t\t\tthis,\n\t\t\t\t\torganisationId,\n\t\t\t\t\tAustralianBusinessNumber\n\t\t\t\t)\n\t\t\t);\n\t\t},\n\n\t\tasync doOrganisationSearch(searchTerm: string) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationSearchGet.bind(this, searchTerm));\n\t\t},\n\n\t\tasync getOrganisationByIdentifier(organisationIdentifier: string) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationFindGet.bind(this, organisationIdentifier));\n\t\t},\n\n\t\tasync getOrganisationPaymentinfo(id: string) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationPaymentinfoGet.bind(this, id));\n\t\t},\n\n\t\tasync postOrganisationPaymentInfo(fields: OrganisationPaymentInfoCommand) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationPaymentinfoPost.bind(this, fields));\n\t\t},\n\n\t\tasync doRegisterOrganisation(fields: OrganisationRegistrationCommand) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationRegistrationPost.bind(this, fields));\n\t\t},\n\n\t\tasync getOrganisationRegistration(id: string) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationRegistrationGet.bind(this, id));\n\t\t},\n\n\t\tasync doRegisterOrganisationPayment(organisationId: PaymentCreateCommand['organisationId']) {\n\t\t\tconst fields = { organisationId };\n\t\t\treturn request(new PaymentApi().apiPaymentCreatePost.bind(this, fields));\n\t\t},\n\n\t\tasync doJoinOrganisation(fields: AccountJoinOrganisationCommand) {\n\t\t\treturn request(new AccountApi().apiAccountJoinorganisationPost.bind(this, fields));\n\t\t},\n\n\t\tasync addCertification(fields: AccountCertificationCommand) {\n\t\t\treturn request(new AccountApi().apiAccountCertificationPost.bind(this, fields));\n\t\t},\n\n\t\tasync getAccountExistingCertifications() {\n\t\t\treturn request(new AccountApi().apiAccountExistingcertificationsGet.bind(this));\n\t\t},\n\n\t\tasync getRequestsTojoinReviewCertification(id?: string) {\n\t\t\treturn request(new RequestsToJoinApi().apiRequeststojoinReviewcertificationGet.bind(this, id));\n\t\t},\n\n\t\tasync postAccountLinkChildName(fields: AccountLinkChildNameCommand) {\n\t\t\treturn request(new AccountApi().apiAccountLinkchildnamePost.bind(this, fields));\n\t\t},\n\n\t\tasync postAccountLinkAccounts(fields: AccountLinkAccountsCommand) {\n\t\t\treturn request(new AccountApi().apiAccountLinkaccountsPost.bind(this, fields));\n\t\t},\n\n\t\tasync postAccountLinkRequestRevoke(fields: AccountLinkRequestRevokeCommand) {\n\t\t\treturn request(new AccountApi().apiAccountLinkrequestrevokePost.bind(this, fields));\n\t\t},\n\n\t\tasync postAccountLinkRequestRemove(fields: AccountLinkRequestRemoveCommand) {\n\t\t\treturn request(new AccountApi().apiAccountLinkrequestremovePost.bind(this, fields));\n\t\t},\n\n\t\tasync getAccountLinkRequest(id?: string) {\n\t\t\treturn request(new AccountApi().apiAccountLinkrequestGet.bind(this, id));\n\t\t},\n\n\t\tasync postAccountLinkRequestApprove(fields: AccountLinkRequestApproveCommand) {\n\t\t\treturn request(new AccountApi().apiAccountLinkrequestapprovePost.bind(this, fields));\n\t\t},\n\n\t\tasync postAccountLinkRequestReject(fields: AccountLinkRequestRejectCommand) {\n\t\t\treturn request(new AccountApi().apiAccountLinkrequestrejectPost.bind(this, fields));\n\t\t},\n\n\t\t// LOGIN\n\t\tasync doLogin(fields: AuthenticationLoginCommand) {\n\t\t\tdestroyToken();\n\n\t\t\treturn request(new AuthenticationApi().apiAuthenticationLoginPost.bind(this, fields));\n\t\t},\n\n\t\tasync postAuthenticationValidateTwoFactor(fields: AuthenticationValidateTwoFactorCommand) {\n\t\t\treturn request(new AuthenticationApi().apiAuthenticationValidatetwofactorPost.bind(this, fields));\n\t\t},\n\n\t\tasync postAuthenticationResendTwoFactorToken(fields: AuthenticationResendTwoFactorTokenCommand) {\n\t\t\treturn request(new AuthenticationApi().apiAuthenticationResendtwofactortokenPost.bind(this, fields));\n\t\t},\n\n\t\tasync doLogout() {\n\t\t\tdestroyToken();\n\t\t},\n\n\t\t// PLANS\n\t\tasync getPlanTypes() {\n\t\t\treturn request(new PaymentApi().apiPaymentPlansGet.bind(this));\n\t\t},\n\n\t\t// DASHBOARD\n\t\tasync getDashboardItems() {\n\t\t\treturn request(new DashboardApi().apiDashboardSectionsummariesGet.bind(this));\n\t\t},\n\n\t\tasync postAccountWalkthroughComplete() {\n\t\t\treturn request(new AccountApi().apiAccountWalkthroughcompletePost.bind(this));\n\t\t},\n\n\t\t// ACTIVITY FEED\n\t\tasync getActivityFeed() {\n\t\t\treturn request(new DashboardApi().apiDashboardActivityfeedGet.bind(this));\n\t\t},\n\n\t\tasync updateActivityFeed(fields: DashboardActivityFeedCommand) {\n\t\t\treturn request(new DashboardApi().apiDashboardActivityfeedPost.bind(this, fields));\n\t\t},\n\n\t\tasync deleteFeedItem(fields: DashboardRemoveActivityFeedCommand) {\n\t\t\treturn request(new DashboardApi().apiDashboardRemoveactivityfeedPost.bind(this, fields));\n\t\t},\n\n\t\t// MY ACCOUNT\n\t\tasync getAccountMyAccount() {\n\t\t\treturn request(new AccountApi().apiAccountMyaccountGet.bind(this));\n\t\t},\n\n\t\tasync postAccountEmailChangeRequest(fields: AccountEmailChangeRequestCommand) {\n\t\t\treturn request(new AccountApi().apiAccountEmailchangerequestPost.bind(this, fields));\n\t\t},\n\n\t\tasync postAccountChangeEmail(fields: AccountChangeEmailCommand) {\n\t\t\treturn request(new AccountApi().apiAccountChangeemailPost.bind(this, fields));\n\t\t},\n\n\t\tasync postAccountEditProfileImage(fields: AccountEditProfileImageCommand) {\n\t\t\treturn request(new AccountApi().apiAccountEditprofileimagePost.bind(this, fields));\n\t\t},\n\n\t\tasync getAccountCertification(id?: string) {\n\t\t\treturn request(new AccountApi().apiAccountCertificationGet.bind(this, id));\n\t\t},\n\n\t\tasync postAuthenticationChangePassword(fields: AuthenticationChangePasswordCommand) {\n\t\t\treturn request(new AuthenticationApi().apiAuthenticationChangepasswordPost.bind(this, fields));\n\t\t},\n\t\tasync postAccountEditPhoneNumber(fields: AccountEditPhoneNumberCommand) {\n\t\t\treturn request(new AccountApi().apiAccountEditphonenumberPost.bind(this, fields));\n\t\t},\n\n\t\tasync postAccountVolunteerRemove(fields: AccountVolunteerRevokeCommand) {\n\t\t\treturn request(new AccountApi().apiAccountVolunteerremovePost.bind(this, fields));\n\t\t},\n\n\t\tasync postAccountVolunteerRequest(fields: AccountVolunteerRequestCommand) {\n\t\t\treturn request(new AccountApi().apiAccountVolunteerrequestPost.bind(this, fields));\n\t\t},\n\n\t\tasync postAccountVolunteerRevoke(fields: AccountVolunteerRevokeCommand) {\n\t\t\treturn request(new AccountApi().apiAccountVolunteerrevokePost.bind(this, fields));\n\t\t},\n\n\t\t// STAFF\n\t\tasync getStaffData() {\n\t\t\treturn request(new StaffApi().apiStaffDashboardGet.bind(this));\n\t\t},\n\n\t\tasync getStaffProfileData(id: string) {\n\t\t\treturn request(new StaffApi().apiStaffFetchGet.bind(this, id));\n\t\t},\n\n\t\tasync assignStaffOrganisationRole(fields: StaffStaffTypeCommand) {\n\t\t\treturn request(new StaffApi().apiStaffStafftypePost.bind(this, fields));\n\t\t},\n\n\t\tasync disableStaff(fields: StaffDisableProfileCommand) {\n\t\t\treturn request(new StaffApi().apiStaffDisableprofilePost.bind(this, fields));\n\t\t},\n\n\t\tasync assignOrganisationAdminStatus(fields: StaffOrganisationAdminCommand) {\n\t\t\treturn request(new StaffApi().apiStaffOrganisationadminPost.bind(this, fields));\n\t\t},\n\n\t\tasync postStaffReference(fields: StaffReferenceCommand) {\n\t\t\treturn request(new StaffApi().apiStaffReferencePost.bind(this, fields));\n\t\t},\n\n\t\tasync getStaffReference(id?: string) {\n\t\t\treturn request(new StaffApi().apiStaffReferenceGet.bind(this, id));\n\t\t},\n\n\t\t// LEADERSHIP\n\t\tasync getLeadershipTeamData() {\n\t\t\treturn request(new LeadershipTeamApi().apiLeadershipteamMembersGet.bind(this));\n\t\t},\n\n\t\tasync removeLeadershipTeamMember(fields: LeadershipTeamUnAssignCommand) {\n\t\t\treturn request(new LeadershipTeamApi().apiLeadershipteamUnassignPost.bind(this, fields));\n\t\t},\n\n\t\tasync searchLeadershipTeamMember(searchTerm: string) {\n\t\t\treturn request(new LeadershipTeamApi().apiLeadershipteamSearchGet.bind(this, searchTerm));\n\t\t},\n\n\t\tasync addLeadershipTeamMember(fields: LeadershipTeamAssignCommand) {\n\t\t\treturn request(new LeadershipTeamApi().apiLeadershipteamAssignPost.bind(this, fields));\n\t\t},\n\n\t\t// FAMILIES\n\t\tasync getFamiliesData() {\n\t\t\treturn request(new FamiliesApi().apiFamiliesDashboardGet.bind(this));\n\t\t},\n\n\t\tasync getFamiliesProfileData(id?: string) {\n\t\t\treturn request(new FamiliesApi().apiFamiliesFetchGet.bind(this, id));\n\t\t},\n\n\t\tasync disableFamilyMember(fields: FamiliesDisableProfileCommand) {\n\t\t\treturn request(new FamiliesApi().apiFamiliesDisableprofilePost.bind(this, fields));\n\t\t},\n\n\t\t// VISITORS\n\t\tasync getVisitorsData() {\n\t\t\treturn request(new VisitorsApi().apiVisitorsDashboardGet.bind(this));\n\t\t},\n\n\t\tasync getVisitorsProfileData(id?: string) {\n\t\t\treturn request(new VisitorsApi().apiVisitorsFetchGet.bind(this, id));\n\t\t},\n\n\t\tasync disableVisitor(fields: VisitorsDisableProfileCommand) {\n\t\t\treturn request(new VisitorsApi().apiVisitorsDisableprofilePost.bind(this, fields));\n\t\t},\n\n\t\t// REQUESTS TO JOIN\n\t\tasync getRequestsToJoinData() {\n\t\t\treturn request(new RequestsToJoinApi().apiRequeststojoinPendingrequestsGet.bind(this));\n\t\t},\n\n\t\tasync getRequestsToJoinDetailData(profileId: string) {\n\t\t\treturn request(new RequestsToJoinApi().apiRequeststojoinFetchGet.bind(this, profileId));\n\t\t},\n\n\t\tasync assignRequestsToJoinOrganisationRole(fields: RequestsToJoinStaffTypeCommand) {\n\t\t\treturn request(new RequestsToJoinApi().apiRequeststojoinStafftypePost.bind(this, fields));\n\t\t},\n\n\t\tasync assignRequestsToJoinOrganisationAdminStatus(fields: RequestsToJoinOrganisationAdminCommand) {\n\t\t\treturn request(new RequestsToJoinApi().apiRequeststojoinOrganisationadminPost.bind(this, fields));\n\t\t},\n\n\t\tasync approveRequestsToJoin(fields: RequestsToJoinApproveCommand) {\n\t\t\treturn request(new RequestsToJoinApi().apiRequeststojoinApprovePost.bind(this, fields));\n\t\t},\n\n\t\tasync denyRequestsToJoin(fields: RequestsToJoinDenyCommand) {\n\t\t\treturn request(new RequestsToJoinApi().apiRequeststojoinDenyPost.bind(this, fields));\n\t\t},\n\n\t\tasync confirmDocumentsCited(fields: RequestsToJoinCiteCertificationCommand) {\n\t\t\treturn request(new RequestsToJoinApi().apiRequeststojoinCitecertificationPost.bind(this, fields));\n\t\t},\n\n\t\tasync getCertificationDetail(id: string) {\n\t\t\treturn request(new RequestsToJoinApi().apiRequeststojoinReviewcertificationGet.bind(this, id));\n\t\t},\n\n\t\tasync postRequestsToJoinVolunteerApprove(fields: RequestsToJoinVolunteerApproveCommand) {\n\t\t\treturn request(new RequestsToJoinApi().apiRequeststojoinVolunteerapprovePost.bind(this, fields));\n\t\t},\n\n\t\tasync postRequestsToJoinVolunteerDeny(fields: RequestsToJoinVolunteerDenyCommand) {\n\t\t\treturn request(new RequestsToJoinApi().apiRequeststojoinVolunteerdenyPost.bind(this, fields));\n\t\t},\n\n\t\t// INVITE TO JOIN\n\t\tasync getInviteToJoinsData() {\n\t\t\treturn request(new InviteApi().apiInviteInvitelinksGet.bind(this));\n\t\t},\n\n\t\t// CHILD SAFE STANDARDS SUPER ADMIN\n\t\tasync getChildSafeStandardDashboard() {\n\t\t\treturn request(new ChildSafeStandardApi().apiChildsafestandardAdmindashboardGet.bind(this));\n\t\t},\n\n\t\tasync getChildSafeStandardEdit(id?: string) {\n\t\t\treturn request(new ChildSafeStandardApi().apiChildsafestandardEditGet.bind(this, id));\n\t\t},\n\n\t\tasync postChildSafeStandardEdit(fields: ChildSafeStandardEditCommand) {\n\t\t\treturn request(new ChildSafeStandardApi().apiChildsafestandardEditPost.bind(this, fields));\n\t\t},\n\n\t\tasync postChildSafeStandardDelete(fields: ChildSafeStandardDeleteCommand) {\n\t\t\treturn request(new ChildSafeStandardApi().apiChildsafestandardDeletePost.bind(this, fields));\n\t\t},\n\n\t\tasync postChildSafeStandardReorder(fields: ChildSafeStandardReorderCommand) {\n\t\t\treturn request(new ChildSafeStandardApi().apiChildsafestandardReorderPost.bind(this, fields));\n\t\t},\n\n\t\t// CHILD SAFE STANDARDS\n\t\tasync getChildSafeStandardsData() {\n\t\t\treturn request(new ChildSafeStandardApi().apiChildsafestandardUserdashboardGet.bind(this));\n\t\t},\n\n\t\tasync getChildSafeStandardsDetailData(id?: string) {\n\t\t\treturn request(new ChildSafeStandardApi().apiChildsafestandardFetchGet.bind(this, id));\n\t\t},\n\n\t\t// POLICIES SUPER ADMIN\n\t\tasync getPolicyTemplateAsset(id?: string) {\n\t\t\treturn request(new PolicyTemplateApi().apiPolicytemplateAssetGet.bind(this, id));\n\t\t},\n\n\t\tasync getPolicyTemplateDashboard() {\n\t\t\treturn request(new PolicyTemplateApi().apiPolicytemplateDashboardGet.bind(this));\n\t\t},\n\n\t\tasync getPolicyTemplateEdit(id?: string) {\n\t\t\treturn request(new PolicyTemplateApi().apiPolicytemplateEditGet.bind(this, id));\n\t\t},\n\n\t\tasync postPolicyTemplateEdit(fields: PolicyTemplateEditCommand) {\n\t\t\treturn request(new PolicyTemplateApi().apiPolicytemplateEditPost.bind(this, fields));\n\t\t},\n\n\t\tasync postPolicyTemplateDelete(fields: PolicyTemplateDeleteCommand) {\n\t\t\treturn request(new PolicyTemplateApi().apiPolicytemplateDeletePost.bind(this, fields));\n\t\t},\n\n\t\tasync postPolicyTemplateReorder(fields: PolicyTemplateReorderCommand) {\n\t\t\treturn request(new PolicyTemplateApi().apiPolicytemplateReorderPost.bind(this, fields));\n\t\t},\n\n\t\t// POLICIES\n\t\tasync getPoliciesAdminData() {\n\t\t\treturn request(new PolicyApi().apiPolicyAdmindashboardGet.bind(this));\n\t\t},\n\n\t\tasync getPoliciesUserData() {\n\t\t\treturn request(new PolicyApi().apiPolicyUserdashboardGet.bind(this));\n\t\t},\n\n\t\tasync getPoliciesDetailsData(id: string) {\n\t\t\treturn request(new PolicyApi().apiPolicyEditGet.bind(this, id));\n\t\t},\n\n\t\tasync submitPolicy(fields: PolicyEditCommand) {\n\t\t\treturn request(new PolicyApi().apiPolicyEditPost.bind(this, fields));\n\t\t},\n\n\t\tasync getPolicyTemplatesData() {\n\t\t\treturn request(new PolicyApi().apiPolicyPolicytemplatesGet.bind(this));\n\t\t},\n\n\t\tasync archivePolicy(fields: PolicyArchiveCommand) {\n\t\t\treturn request(new PolicyApi().apiPolicyArchivePost.bind(this, fields));\n\t\t},\n\n\t\tasync reInstatePolicy(fields: PolicyReinstateCommand) {\n\t\t\treturn request(new PolicyApi().apiPolicyReinstatePost.bind(this, fields));\n\t\t},\n\n\t\tasync acceptPolicy(fields: PolicyAcknowledgeCommand) {\n\t\t\treturn request(new PolicyApi().apiPolicyAcknowledgePost.bind(this, fields));\n\t\t},\n\n\t\t// TRAINING\n\t\tasync getTrainingAdminDashboard() {\n\t\t\treturn request(new TrainingApi().apiTrainingAdmindashboardGet.bind(this));\n\t\t},\n\n\t\tasync postTrainingEdit(fields: TrainingEditCommand) {\n\t\t\treturn request(new TrainingApi().apiTrainingEditPost.bind(this, fields));\n\t\t},\n\n\t\tasync getTrainingView(id?: string) {\n\t\t\treturn request(new TrainingApi().apiTrainingViewGet.bind(this, id));\n\t\t},\n\n\t\tasync postTrainingRemove(fields: TrainingRemoveCommand) {\n\t\t\treturn request(new TrainingApi().apiTrainingRemovePost.bind(this, fields));\n\t\t},\n\n\t\tasync getTrainingUserDashboard() {\n\t\t\treturn request(new TrainingApi().apiTrainingUserdashboardGet.bind(this));\n\t\t},\n\n\t\tasync getAdditionalTrainingDetail(id?: string) {\n\t\t\treturn request(new TrainingApi().apiTrainingAdditionaltrainingeditGet.bind(this, id));\n\t\t},\n\n\t\tasync postTrainingAdditionalTrainingEdit(fields: TrainingAdditionalTrainingEditCommand) {\n\t\t\treturn request(new TrainingApi().apiTrainingAdditionaltrainingeditPost.bind(this, fields));\n\t\t},\n\n\t\tasync postTrainingMarkAsComplete(fields: TrainingMarkAsCompleteCommand) {\n\t\t\treturn request(new TrainingApi().apiTrainingMarkascompletePost.bind(this, fields));\n\t\t},\n\n\t\tasync submitOrganisationNewTrainingModule(fields: TrainingEditModuleCommand) {\n\t\t\treturn request(new TrainingApi().apiTrainingEditmodulePost.bind(this, fields));\n\t\t},\n\n\t\tasync getOrganisationNewTrainingModule(id?: string) {\n\t\t\treturn request(new TrainingApi().apiTrainingEditmoduleGet.bind(this, id));\n\t\t},\n\n\t\tasync deleteOrganisationNewTrainingModule(fields: TrainingDeleteModuleCommand) {\n\t\t\treturn request(new TrainingApi().apiTrainingDeletemodulePost.bind(this, fields));\n\t\t},\n\n\t\t// SAFETY CHECKLIST\n\t\tasync getSafetyChecklistAsset(id?: string) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistAssetGet.bind(this, id));\n\t\t},\n\n\t\tasync getSafetyChecklistsTemplates() {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistTemplatesGet.bind(this));\n\t\t},\n\n\t\tasync getSafetyChecklistTemplate(templateId?: string, checklistId?: string) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistTemplateGet.bind(this, templateId, checklistId));\n\t\t},\n\n\t\tasync getAdminSafetyChecklistDashboard() {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistAdmindashboardGet.bind(this));\n\t\t},\n\n\t\tasync getUserSafetyChecklistDashboard() {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistUserdashboardGet.bind(this));\n\t\t},\n\n\t\tasync getSafetyChecklistEdit(checklistId?: string, templateId?: string, checklistTemplateId?: string) {\n\t\t\treturn request(\n\t\t\t\tnew SafetyChecklistApi().apiSafetychecklistEditGet.bind(this, checklistId, templateId, checklistTemplateId)\n\t\t\t);\n\t\t},\n\n\t\tasync postSafetyChecklistEdit(fields: SafetyChecklistEditCommand) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistEditPost.bind(this, fields));\n\t\t},\n\n\t\tasync getSafetyChecklistChecklist(id?: string) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistChecklistGet.bind(this, id));\n\t\t},\n\n\t\tasync getSafetyChecklistComment(id?: string) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistCommentGet.bind(this, id));\n\t\t},\n\n\t\tasync postSafetyChecklistComment(fields: SafetyChecklistCommentCommand) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistCommentPost.bind(this, fields));\n\t\t},\n\n\t\tasync getSafetyChecklistAttachments(id?: string) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistAttachmentsGet.bind(this, id));\n\t\t},\n\n\t\tasync postSafetyChecklistAttachmentUpload(fields: SafetyChecklistAttachmentUploadCommand) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistAttachmentuploadPost.bind(this, fields));\n\t\t},\n\n\t\tasync postSafetyChecklistAttachmentDelete(fields: SafetyChecklistAttachmentDeleteCommand) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistAttachmentdeletePost.bind(this, fields));\n\t\t},\n\n\t\tasync postSafetyChecklistSubmit(fields: SafetyChecklistSubmitCommand) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistSubmitPost.bind(this, fields));\n\t\t},\n\n\t\tasync postSafetyChecklistApprove(fields: SafetyChecklistApproveCommand) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistApprovePost.bind(this, fields));\n\t\t},\n\n\t\tasync getSafetyChecklistApprovers() {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistApproversGet.bind(this));\n\t\t},\n\n\t\tasync postSafetyChecklistAction(fields: SafetyChecklistActionCommand) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistActionPost.bind(this, fields));\n\t\t},\n\n\t\tasync getSafetyChecklistSummaryPdf(id?: string) {\n\t\t\treturn request(new SafetyChecklistApi().apiSafetychecklistSummarypdfassetGet.bind(this, id));\n\t\t},\n\n\t\t// SUPER ADMIN CHECKLISTS\n\t\tasync getChecklistTemplateDashboard() {\n\t\t\treturn request(new ChecklistTemplateApi().apiChecklisttemplateDashboardGet.bind(this));\n\t\t},\n\n\t\tasync postChecklistTemplateEdit(fields: ChecklistTemplateEditCommand) {\n\t\t\treturn request(new ChecklistTemplateApi().apiChecklisttemplateEditPost.bind(this, fields));\n\t\t},\n\n\t\tasync getChecklistTemplateEdit(id?: string) {\n\t\t\treturn request(new ChecklistTemplateApi().apiChecklisttemplateEditGet.bind(this, id));\n\t\t},\n\n\t\tasync postChecklistTemplateDelete(fields: ChecklistTemplateDeleteCommand) {\n\t\t\treturn request(new ChecklistTemplateApi().apiChecklisttemplateDeletePost.bind(this, fields));\n\t\t},\n\n\t\tasync postChecklistTemplateReorder(fields: ChecklistTemplateReorderCommand) {\n\t\t\treturn request(new ChecklistTemplateApi().apiChecklisttemplateReorderPost.bind(this, fields));\n\t\t},\n\n\t\t// FEEDBACK\n\t\tasync getAdminFeedbackData() {\n\t\t\treturn request(new FeedbackApi().apiFeedbackAdmindashboardGet.bind(this));\n\t\t},\n\n\t\tasync getUserFeedbackData() {\n\t\t\treturn request(new FeedbackApi().apiFeedbackUserdashboardGet.bind(this));\n\t\t},\n\n\t\tasync getFeedbackDetailsData(id: string) {\n\t\t\treturn request(new FeedbackApi().apiFeedbackFetchGet.bind(this, id));\n\t\t},\n\n\t\tasync getFeedbackProgress(id: string) {\n\t\t\treturn request(new FeedbackApi().apiFeedbackActionsGet.bind(this, id));\n\t\t},\n\n\t\tasync logFeedbackProgress(fields: FeedbackLogActionCommand) {\n\t\t\treturn request(new FeedbackApi().apiFeedbackLogactionPost.bind(this, fields));\n\t\t},\n\n\t\tasync createFeedback(fields: FeedbackCreateCommand) {\n\t\t\treturn request(new FeedbackApi().apiFeedbackCreatePost.bind(this, fields));\n\t\t},\n\n\t\tasync resolveFeedback(fields: FeedbackResolveCommand) {\n\t\t\treturn request(new FeedbackApi().apiFeedbackResolvePost.bind(this, fields));\n\t\t},\n\n\t\tasync withdrawFeedback(fields: FeedbackWithdrawCommand) {\n\t\t\treturn request(new FeedbackApi().apiFeedbackWithdrawPost.bind(this, fields));\n\t\t},\n\n\t\t// INCIDENT REPORT\n\t\tasync getAdminIncidentReportsData() {\n\t\t\treturn request(new IncidentApi().apiIncidentAdmindashboardGet.bind(this));\n\t\t},\n\n\t\tasync getUserIncidentReportsData() {\n\t\t\treturn request(new IncidentApi().apiIncidentUserdashboardGet.bind(this));\n\t\t},\n\n\t\tasync getIncidentReportsDetailsDataArchive(id: string) {\n\t\t\treturn request(new IncidentArchiveApi().apiIncidentarchiveEditGet.bind(this, id));\n\t\t},\n\n\t\tasync getIncidentReportsDetailsData(id: string) {\n\t\t\treturn request(new IncidentApi().apiIncidentEditGet.bind(this, id));\n\t\t},\n\n\t\tasync acknowledgeYourselfArchive(fields: IncidentArchiveAcknowledgeCommand) {\n\t\t\treturn request(new IncidentArchiveApi().apiIncidentarchiveAcknowledgePost.bind(this, fields));\n\t\t},\n\n\t\tasync acknowledgeYourself(fields: IncidentAcknowledgeCommand) {\n\t\t\treturn request(new IncidentApi().apiIncidentAcknowledgePost.bind(this, fields));\n\t\t},\n\n\t\tasync getAcceptModalDetailArchive(id?: string) {\n\t\t\treturn request(new IncidentArchiveApi().apiIncidentarchiveAcknowledgeonbehalfGet.bind(this, id));\n\t\t},\n\n\t\tasync getAcceptModalDetail(id?: string) {\n\t\t\treturn request(new IncidentApi().apiIncidentAcknowledgeonbehalfGet.bind(this, id));\n\t\t},\n\n\t\tasync acceptAcknowledgementArchive(fields: IncidentArchiveAcknowledgeOnBehalfCommand) {\n\t\t\treturn request(new IncidentArchiveApi().apiIncidentarchiveAcknowledgeonbehalfPost.bind(this, fields));\n\t\t},\n\n\t\tasync acceptAcknowledgement(fields: IncidentAcknowledgeOnBehalfCommand) {\n\t\t\treturn request(new IncidentApi().apiIncidentAcknowledgeonbehalfPost.bind(this, fields));\n\t\t},\n\n\t\tasync searchOthersRecipientsArchive(searchTerm: string) {\n\t\t\treturn request(new IncidentArchiveApi().apiIncidentarchiveRecipientsGet.bind(this, searchTerm));\n\t\t},\n\n\t\tasync searchOthersRecipients(searchTerm: string) {\n\t\t\treturn request(new IncidentApi().apiIncidentRecipientsGet.bind(this, searchTerm));\n\t\t},\n\n\t\t// Archive Incident Report Submit\n\t\tasync createIncidentReport(fields: IncidentArchiveEditCommand) {\n\t\t\treturn request(new IncidentArchiveApi().apiIncidentarchiveEditPost.bind(this, fields));\n\t\t},\n\n\t\t// Incident Report Submit\n\t\tasync submitIncidentReport(fields: IncidentEditCommand) {\n\t\t\treturn request(new IncidentApi().apiIncidentEditPost.bind(this, fields));\n\t\t},\n\n\t\t// Archive Incident Report\n\t\tasync loadIncidentReportArchive(id?: string) {\n\t\t\treturn request(new IncidentArchiveApi().apiIncidentarchiveEditGet.bind(this, id));\n\t\t},\n\n\t\tasync loadIncidentReport(id?: string) {\n\t\t\treturn request(new IncidentApi().apiIncidentEditGet.bind(this, id));\n\t\t},\n\n\t\t// Archive Link Request\n\t\tasync getIncidentLinkRequestArchive(recipientId?: string) {\n\t\t\treturn request(new IncidentArchiveApi().apiIncidentarchiveLinkrequestGet.bind(this, recipientId));\n\t\t},\n\n\t\tasync getIncidentLinkRequest(recipientId?: string) {\n\t\t\treturn request(new IncidentApi().apiIncidentLinkrequestGet.bind(this, recipientId));\n\t\t},\n\n\t\tasync postIncidentLinkIncidentArchive(fields: IncidentArchiveLinkIncidentCommand) {\n\t\t\treturn request(new IncidentArchiveApi().apiIncidentarchiveLinkincidentPost.bind(this, fields));\n\t\t},\n\n\t\tasync postIncidentLinkIncident(fields: IncidentLinkIncidentCommand) {\n\t\t\treturn request(new IncidentApi().apiIncidentLinkincidentPost.bind(this, fields));\n\t\t},\n\n\t\t// COMPLAINTS SUPER ADMIN\n\t\tasync getComplaintAdviceDashboard() {\n\t\t\treturn request(new ComplaintAdviceApi().apiComplaintadviceDashboardGet.bind(this));\n\t\t},\n\n\t\tasync getComplaintAdviceEdit(id?: string) {\n\t\t\treturn request(new ComplaintAdviceApi().apiComplaintadviceEditGet.bind(this, id));\n\t\t},\n\n\t\tasync postComplaintAdviceEdit(fields: ComplaintAdviceEditCommand) {\n\t\t\treturn request(new ComplaintAdviceApi().apiComplaintadviceEditPost.bind(this, fields));\n\t\t},\n\n\t\tasync postComplaintAdviceDelete(fields: ComplaintAdviceDeleteCommand) {\n\t\t\treturn request(new ComplaintAdviceApi().apiComplaintadviceDeletePost.bind(this, fields));\n\t\t},\n\n\t\tasync postComplaintAdviceReorder(fields: ComplaintAdviceReorderCommand) {\n\t\t\treturn request(new ComplaintAdviceApi().apiComplaintadviceReorderPost.bind(this, fields));\n\t\t},\n\n\t\tasync getComplaintAdviceAsset(id?: string) {\n\t\t\treturn request(new ComplaintAdviceApi().apiComplaintadviceAssetGet.bind(this, id));\n\t\t},\n\n\t\t// COMPLAINTS\n\t\tasync getAdminComplaintsData() {\n\t\t\treturn request(new ComplaintApi().apiComplaintAdmindashboardGet.bind(this));\n\t\t},\n\n\t\tasync getUserComplaintsData() {\n\t\t\treturn request(new ComplaintApi().apiComplaintUserdashboardGet.bind(this));\n\t\t},\n\n\t\tasync getComplaintsNotifiedMembersList() {\n\t\t\treturn request(new ComplaintApi().apiComplaintMembercandidatesGet.bind(this));\n\t\t},\n\n\t\tasync submitComplaint(fields: ComplaintCreateCommand) {\n\t\t\treturn request(new ComplaintApi().apiComplaintCreatePost.bind(this, fields));\n\t\t},\n\n\t\tasync getComplaintsDetailsData(id: string) {\n\t\t\treturn request(new ComplaintApi().apiComplaintFetchGet.bind(this, id));\n\t\t},\n\n\t\tasync resolveComplaint(fields: ComplaintResolutionCommand) {\n\t\t\treturn request(new ComplaintApi().apiComplaintResolutionPost.bind(this, fields));\n\t\t},\n\n\t\tasync getComplaintResolution(id?: string) {\n\t\t\treturn request(new ComplaintApi().apiComplaintResolutionGet.bind(this, id));\n\t\t},\n\n\t\tasync getComplaintsAdviceData() {\n\t\t\treturn request(new ComplaintApi().apiComplaintComplaintadviceGet.bind(this));\n\t\t},\n\n\t\tasync getComplaintsProgress(id?: string) {\n\t\t\treturn request(new ComplaintApi().apiComplaintActionsGet.bind(this, id));\n\t\t},\n\n\t\tasync logComplaintsProgress(fields: ComplaintEditActionCommand) {\n\t\t\treturn request(new ComplaintApi().apiComplaintEditactionPost.bind(this, fields));\n\t\t},\n\n\t\tasync removeComplaintsProgress(fields: ComplaintRemoveActionCommand) {\n\t\t\treturn request(new ComplaintApi().apiComplaintRemoveactionPost.bind(this, fields));\n\t\t},\n\n\t\tasync getResolutionReviewDetail(id?: string) {\n\t\t\treturn request(new ComplaintApi().apiComplaintAcceptresolutionGet.bind(this, id));\n\t\t},\n\n\t\tasync acceptResolution(fields: ComplaintAcceptResolutionCommand) {\n\t\t\treturn request(new ComplaintApi().apiComplaintAcceptresolutionPost.bind(this, fields));\n\t\t},\n\n\t\tasync reOpenComplaint(fields: ComplaintReopenCommand) {\n\t\t\treturn request(new ComplaintApi().apiComplaintReopenPost.bind(this, fields));\n\t\t},\n\n\t\tasync withdrawComplaint(fields: ComplaintWithdrawCommand) {\n\t\t\treturn request(new ComplaintApi().apiComplaintWithdrawPost.bind(this, fields));\n\t\t},\n\n\t\tasync searchComplaintResolveStaffMember(id: string, searchTerm: string) {\n\t\t\treturn request(new ComplaintApi().apiComplaintStaffcandidatesGet.bind(this, id, searchTerm));\n\t\t},\n\n\t\tasync addComplaintResolveStaffMember(fields: ComplaintAddStaffCommand) {\n\t\t\treturn request(new ComplaintApi().apiComplaintAddstaffPost.bind(this, fields));\n\t\t},\n\n\t\tasync removeFamilyMember(fields: ComplaintRemoveFamilyMemberCommand) {\n\t\t\treturn request(new ComplaintApi().apiComplaintRemovefamilymemberPost.bind(this, fields));\n\t\t},\n\n\t\t// AUDITS\n\t\tasync getAuditId() {\n\t\t\treturn request(new AuditApi().apiAuditGeneratePost.bind(this));\n\t\t},\n\n\t\tasync getAuditReport(id: string) {\n\t\t\treturn request(new AuditApi().apiAuditReadyGet.bind(this, id));\n\t\t},\n\n\t\tasync cancelPlan() {\n\t\t\treturn request(new OrganisationApi().apiOrganisationCancelplanPost.bind(this));\n\t\t},\n\n\t\t// SETTING\n\t\tasync getOrganisationDetail() {\n\t\t\treturn request(new OrganisationApi().apiOrganisationSettingsGet.bind(this));\n\t\t},\n\n\t\tasync getOrganisationAddress() {\n\t\t\treturn request(new OrganisationApi().apiOrganisationAddressGet.bind(this));\n\t\t},\n\n\t\tasync submitOrganisationAddress(fields: OrganisationAddressCommand) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationAddressPost.bind(this, fields));\n\t\t},\n\n\t\tasync submitOrganisationLogo(fields: OrganisationEditProfileImageCommand) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationEditprofileimagePost.bind(this, fields));\n\t\t},\n\n\t\tasync getPaymentUpdateLink() {\n\t\t\treturn request(new PaymentApi().apiPaymentCustomerPost.bind(this));\n\t\t},\n\n\t\tasync updateNumberOfChildren(fields: OrganisationNumberOfChildrenCommand) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationNumberofchildrenPost.bind(this, fields));\n\t\t},\n\n\t\t// HELP DESK\n\t\tasync getHelpDeskData() {\n\t\t\treturn request(new HelpDeskApi().apiHelpdeskUserdashboardGet.bind(this));\n\t\t},\n\n\t\tasync getHelpDeskDetailData(id?: string) {\n\t\t\treturn request(new HelpDeskApi().apiHelpdeskFetchGet.bind(this, id));\n\t\t},\n\n\t\t// HELP DESK SUPER ADMIN\n\t\tasync getHelpDeskAdminDashboard() {\n\t\t\treturn request(new HelpDeskApi().apiHelpdeskAdmindashboardGet.bind(this));\n\t\t},\n\n\t\tasync getHelpDeskAdminDetailData(id?: string) {\n\t\t\treturn request(new HelpDeskApi().apiHelpdeskEditGet.bind(this, id));\n\t\t},\n\n\t\tasync postHelpDeskEdit(fields: HelpDeskEditCommand) {\n\t\t\treturn request(new HelpDeskApi().apiHelpdeskEditPost.bind(this, fields));\n\t\t},\n\n\t\tasync postHelpDeskDelete(fields: HelpDeskDeleteCommand) {\n\t\t\treturn request(new HelpDeskApi().apiHelpdeskDeletePost.bind(this, fields));\n\t\t},\n\n\t\tasync postHelpDeskReorder(fields: HelpDeskReorderCommand) {\n\t\t\treturn request(new HelpDeskApi().apiHelpdeskReorderPost.bind(this, fields));\n\t\t},\n\n\t\t// COMPANIES\n\t\tasync getCompaniesData() {\n\t\t\treturn request(new OrganisationApi().apiOrganisationListGet.bind(this));\n\t\t},\n\n\t\tasync getCompaniesDetailData(id?: string) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationDetailsGet.bind(this, id));\n\t\t},\n\n\t\tasync postOrganisationDeactivate(fields: OrganisationDeactivateCommand) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationDeactivatePost.bind(this, fields));\n\t\t},\n\n\t\tasync postOrganisationActivate(fields: OrganisationActivateCommand) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationActivatePost.bind(this, fields));\n\t\t},\n\n\t\tasync getOrganisationAdminCandidates(organisationId?: string, searchTerm?: string) {\n\t\t\treturn request(\n\t\t\t\tnew OrganisationApi().apiOrganisationAdministratorcandidatesGet.bind(this, organisationId, searchTerm)\n\t\t\t);\n\t\t},\n\n\t\tasync getOrganisationAdministrators(organisationId?: string) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationAdministratorsGet.bind(this, organisationId));\n\t\t},\n\n\t\tasync postOrganisationAddAdmin(fields: OrganisationAddAdministratorCommand) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationAddadministratorPost.bind(this, fields));\n\t\t},\n\n\t\tasync postOrganisationRemoveAdmin(fields: OrganisationRemoveAdministratorCommand) {\n\t\t\treturn request(new OrganisationApi().apiOrganisationRemoveadministratorPost.bind(this, fields));\n\t\t},\n\n\t\t// SUPER ADMIN TRAINING MODULES\n\t\tasync getTrainingModuleDashboard() {\n\t\t\treturn request(new TrainingModuleApi().apiTrainingmoduleDashboardGet.bind(this));\n\t\t},\n\n\t\tasync getTrainingModuleEdit(id?: string) {\n\t\t\treturn request(new TrainingModuleApi().apiTrainingmoduleEditGet.bind(this, id));\n\t\t},\n\n\t\tasync postTrainingModuleEdit(fields: TrainingModuleEditCommand) {\n\t\t\treturn request(new TrainingModuleApi().apiTrainingmoduleEditPost.bind(this, fields));\n\t\t},\n\n\t\tasync postTrainingModuleReorder(fields: TrainingModuleReorderCommand) {\n\t\t\treturn request(new TrainingModuleApi().apiTrainingmoduleReorderPost.bind(this, fields));\n\t\t},\n\n\t\tasync postTrainingModuleDelete(fields: TrainingModuleDeleteCommand) {\n\t\t\treturn request(new TrainingModuleApi().apiTrainingmoduleDeletePost.bind(this, fields));\n\t\t}\n\t};\n};\n\nexport default api();\n","// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { createSlice, PayloadAction } from '@reduxjs/toolkit';\n\n// TYPES\nimport { AccountUserUserDetails } from '../../api/models';\n\nexport interface UserType extends AccountUserUserDetails {\n\tforceUpdate?: boolean;\n\tloggedIn?: boolean;\n\tviewTrainingAsAdmin?: boolean;\n\tviewPoliciesAsAdmin?: boolean;\n\tviewChecklistAsAdmin?: boolean;\n\tviewFeedbackAsAdmin?: boolean;\n\tviewComplaintAsAdmin?: boolean;\n\tviewIncidentAsAdmin?: boolean;\n}\n\nconst initialState: UserType = {\n\tforceUpdate: false,\n\tloggedIn: false,\n\tviewTrainingAsAdmin: true,\n\tviewPoliciesAsAdmin: true,\n\tviewChecklistAsAdmin: true,\n\tviewFeedbackAsAdmin: true,\n\tviewComplaintAsAdmin: true,\n\tviewIncidentAsAdmin: true,\n\tid: '',\n\tprofileImage: '',\n\tchildAwareId: undefined,\n\temail: '',\n\tfirstName: '',\n\tlastName: '',\n\tactiveProfileId: '',\n\tprofiles: []\n};\n\nexport const UserSlice = createSlice({\n\tname: 'user',\n\tinitialState,\n\treducers: {\n\t\tlogOut: (state) => {\n\t\t\tapibridge.doLogout();\n\t\t\treturn { ...initialState };\n\t\t},\n\t\tupdate: (state, action: PayloadAction) => {\n\t\t\tstate = Object.assign(state, action.payload);\n\t\t},\n\t\tforceUpdate: (state, action: PayloadAction<{}>) => {\n\t\t\tstate = Object.assign(state, {\n\t\t\t\tforceUpdate: true\n\t\t\t});\n\t\t}\n\t}\n});\n\nexport default UserSlice;\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\n\nexport interface MainMenuItemType {\n\tcanRead: boolean;\n\tcanUpdate: boolean;\n\ttotalCount: number;\n\tnewCount: number;\n\ttoActionCount: number;\n}\n\nconst initialMainMenuItemState: MainMenuItemType = {\n\tcanRead: true,\n\tcanUpdate: true,\n\ttotalCount: 107,\n\tnewCount: 35,\n\ttoActionCount: 50\n};\n\nexport interface MainMenuType {\n\tdashboard: MainMenuItemType;\n\t[key: string]: MainMenuItemType;\n}\n\nconst initialMainMenuState: MainMenuType = {\n\tdashboard: { ...initialMainMenuItemState }\n};\n\nexport const MainMenuSlice = createSlice({\n\tname: 'mainMenu',\n\tinitialState: initialMainMenuState,\n\treducers: {\n\t\tupdate: (state, action: PayloadAction) => {\n\t\t\t// -- THIS --\n\t\t\t// state = Object.assign(state, action.payload);\n\t\t\t// -- OR --\n\t\t\t// return { ...state, ...action.payload };\n\t\t\t// Nothing else actually updates the state. Good job plugin.\n\n\t\t\tstate = Object.assign(state, action.payload);\n\t\t}\n\t}\n});\n\nexport default MainMenuSlice;\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\n\nimport { GlobalLookupsCollections } from '../../api/models';\n// import { GlobalLookupsCollections, GlobalLookupsEntry } from '../../api/models';\n\nexport interface ListsType extends GlobalLookupsCollections {\n\t// roleCategories?: Array;\n}\n\nconst initialState: ListsType = {\n\t// roleCategories: [\n\t// \t{\n\t// \t\tlabel: 'Staff Member',\n\t// \t\tvalue: 'staffmember'\n\t// \t},\n\t// \t{\n\t// \t\tlabel: 'Parent or Guardian',\n\t// \t\tvalue: 'parentorguardian'\n\t// \t},\n\t// \t{\n\t// \t\tlabel: 'Child or Student',\n\t// \t\tvalue: 'childorstudent'\n\t// \t},\n\t// \t{\n\t// \t\tlabel: 'Site Visitor',\n\t// \t\tvalue: 'sitevisitor'\n\t// \t}\n\t// ]\n};\n\nexport const ListsSlice = createSlice({\n\tname: 'lists',\n\tinitialState,\n\treducers: {\n\t\tupdate: (state, action: PayloadAction) => {\n\t\t\tstate = Object.assign(state, action.payload);\n\t\t}\n\t}\n});\n\nexport default ListsSlice;\n","import { createSlice, PayloadAction } from '@reduxjs/toolkit';\n\nexport interface NotificationCountType {\n\ttotalCount?: number;\n}\n\nconst initialState: NotificationCountType = {\n\ttotalCount: undefined\n};\n\nexport const NotificationCountSlice = createSlice({\n\tname: 'notificationCount',\n\tinitialState,\n\treducers: {\n\t\tupdateNotificationCount: (state, action: PayloadAction) => {\n\t\t\tstate = Object.assign(state, action.payload);\n\t\t}\n\t}\n});\n\nexport default NotificationCountSlice;\n","import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux';\nimport { configureStore } from '@reduxjs/toolkit';\n\nimport UserSlice from './slices/User';\nimport MainMenuSlice from './slices/MainMenu';\nimport ListsSlice from './slices/Lists';\nimport NotificationCountSlice from './slices/NotificationCount';\n\nexport const store = configureStore({\n\treducer: {\n\t\tuser: UserSlice.reducer,\n\t\tmainMenu: MainMenuSlice.reducer,\n\t\tlists: ListsSlice.reducer,\n\t\tnotificationCount: NotificationCountSlice.reducer\n\t}\n});\n\n// Infer the `StateType` (RootState) and `DispatchType` (AppDispatch) types from the store itself\nexport type StateType = ReturnType;\nexport type DispatchType = typeof store.dispatch;\n\n// Use throughout your app instead of plain `useDispatch` and `useSelector`\nexport const useAppDispatch = () => useDispatch();\nexport const useAppSelector: TypedUseSelectorHook = useSelector;\n","// Google Analytics ID is stored in .env, .env.development in app root\nconst GoogleAnalyticsHelper = () => {\n\tconst gtag = window.gtag || false;\n\tconst gaId = process.env.REACT_APP_GOOGLE_ANALYTICS_ID;\n\n\treturn {\n\t\tsendPageView() {\n\t\t\tif (gtag) {\n\t\t\t\tgtag('event', 'page_view', {\n\t\t\t\t\tpage_location: window.location.origin,\n\t\t\t\t\tpage_path: window.location.pathname,\n\t\t\t\t\tsend_to: gaId\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n};\n\nexport default GoogleAnalyticsHelper();\n","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgBell(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16.6667 9.4C16.6667 6.96533 14.5744 5 12 5C9.41778 5 7.33333 6.96533 7.33333 9.4C7.33333 14.5333 5 16 5 16H19C19 16 16.6667 14.5333 16.6667 9.4Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14 19.01C13.3545 19.9568 11.9481 20.2857 10.8415 19.7276C10.4841 19.5482 10.196 19.299 10 19\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgBell);\nexport default __webpack_public_path__ + \"static/media/bell.9e6ddcf0.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// PACKAGES\nimport { CSSTransition } from 'react-transition-group';\n\n// ICON\nimport { ReactComponent as SpinnerIcon } from '../assets/svg/spinner.svg';\n\ninterface LoadingSpinnerTypes {\n\tshow: boolean;\n}\n\nexport const LoadingSpinner: React.FC = ({ show = false }) => {\n\treturn (\n\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default LoadingSpinner;\n","// API\nimport apibridge from '../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../utils';\n\n// REDUX\nimport { store } from '../store';\nimport NotificationCountSlice from '../store/slices/NotificationCount';\n\nexport const useUpdateTotalNotification = async () => {\n\tconst response = await apibridge.getNavigationActionTicker();\n\n\tresponse.result = response.result || 0;\n\n\tif (response.isError) {\n\t\tconsole.log(\n\t\t\tresponse.validationErrors.length ? validationErrorsToString(response.validationErrors) : response.message\n\t\t);\n\t} else {\n\t\tstore.dispatch(\n\t\t\tNotificationCountSlice.actions.updateNotificationCount({\n\t\t\t\ttotalCount: response.result\n\t\t\t})\n\t\t);\n\t}\n};\n","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgArrowDown(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 12,\n height: 7,\n viewBox: \"0 0 12 7\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.3337 1.33398L6.00033 6.00065L1.66699 1.33398\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowDown);\nexport default __webpack_public_path__ + \"static/media/arrow-down.f3b3ce46.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgArrowUp(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 12,\n height: 7,\n viewBox: \"0 0 12 7\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.3337 6.00065L6.00033 1.33398L1.66699 6.00065\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowUp);\nexport default __webpack_public_path__ + \"static/media/arrow-up.0ba59ca2.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgSettingsBlack(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.3903 4.31731C10.8205 2.5609 13.3409 2.5609 13.7711 4.31731C14.049 5.45193 15.3606 5.99038 16.3666 5.38285C17.924 4.44239 19.7061 6.2087 18.7573 7.75218C18.1442 8.74925 18.6875 10.0492 19.8323 10.3246C21.6045 10.751 21.6045 13.249 19.8323 13.6754C18.6875 13.9508 18.1442 15.2507 18.7573 16.2478C19.7061 17.7913 17.924 19.5576 16.3666 18.6172C15.3606 18.0096 14.049 18.5481 13.7711 19.6827C13.3409 21.4391 10.8205 21.4391 10.3903 19.6827C10.1124 18.5481 8.80082 18.0096 7.79481 18.6172C6.23747 19.5576 4.45532 17.7913 5.40422 16.2478C6.0172 15.2507 5.47392 13.9508 4.32912 13.6754C2.55696 13.249 2.55696 10.751 4.32912 10.3246C5.47392 10.0492 6.01719 8.74926 5.40422 7.75218C4.45532 6.2087 6.23747 4.44239 7.79481 5.38285C8.80082 5.99037 10.1124 5.45193 10.3903 4.31731Z\",\n stroke: \"#000000\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.1075 12C15.1075 13.6569 13.7524 15 12.0806 15C10.4089 15 9.05371 13.6569 9.05371 12C9.05371 10.3431 10.4089 9 12.0806 9C13.7524 9 15.1075 10.3431 15.1075 12Z\",\n stroke: \"#000000\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgSettingsBlack);\nexport default __webpack_public_path__ + \"static/media/settings-black.c0604bf8.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgLogout(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13 16V17C13 18.6569 11.6569 20 10 20H6C4.34315 20 3 18.6569 3 17V7C3 5.34315 4.34315 4 6 4H10C11.6569 4 13 5.34315 13 7V8M17 16L21 12L17 16ZM21 12L17 8L21 12ZM21 12H7H21Z\",\n stroke: \"#001B2E\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgLogout);\nexport default __webpack_public_path__ + \"static/media/logout.afbec461.svg\";\nexport { ForwardRef as ReactComponent };","var _g, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgAlertCircle(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n clipPath: \"url(#clip0_1942_29775)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.0706 24.0006C18.737 24.0006 24.1412 18.6563 24.1412 12.0638C24.1412 5.47126 18.737 0.126953 12.0706 0.126953C5.40419 0.126953 0 5.47126 0 12.0638C0 18.6563 5.40419 24.0006 12.0706 24.0006Z\",\n fill: \"white\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.0706 19.7999C16.3914 19.7999 19.8941 16.336 19.8941 12.063C19.8941 7.79007 16.3914 4.32617 12.0706 4.32617C7.74978 4.32617 4.24707 7.79007 4.24707 12.063C4.24707 16.336 7.74978 19.7999 12.0706 19.7999Z\",\n stroke: \"#D7258F\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.0703 8.19531L12.0703 12.0006\",\n stroke: \"#D7258F\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.0703 15V15.6\",\n stroke: \"#D7258F\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"clip0_1942_29775\"\n }, /*#__PURE__*/React.createElement(\"rect\", {\n width: 24,\n height: 24,\n fill: \"white\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgAlertCircle);\nexport default __webpack_public_path__ + \"static/media/alert-circle.1e04e187.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _path14, _path15, _path16, _path17, _path18, _path19, _path20, _path21, _path22, _path23, _path24;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgEarlyLearning(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 48,\n height: 48,\n viewBox: \"0 0 48 48\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19.3333 10L20.3669 6.32828L11.9812 4L11.2613 6.49041L2.61621 36.1873L11.0019 38.5221L17.6667 16.6667\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14.6271 8.26083L11.0342 7.26855\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13.8749 10.8489L10.282 9.8501\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13.1225 13.4363L9.52307 12.4375\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.3703 16.0241L8.77087 15.0254\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.6115 18.6116L8.01855 17.6128\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.8592 21.1994L7.26624 20.2007\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path8 || (_path8 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.1069 23.7873L6.51392 22.7886\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path9 || (_path9 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9.35454 26.3747L5.7616 25.376\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path10 || (_path10 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8.60222 28.9558L5.00928 27.957\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path11 || (_path11 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.8499 31.5437L4.25696 30.5449\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path12 || (_path12 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.09746 34.1316L3.50452 33.1328\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path13 || (_path13 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19.9322 9.70067L14.0952 14.2405C14.0399 14.2841 13.9965 14.3412 13.9693 14.4062C13.9421 14.4713 13.9319 14.5422 13.9397 14.6123C13.9475 14.6824 13.9729 14.7493 14.0138 14.8068C14.0546 14.8643 14.1094 14.9105 14.1731 14.9409L20.8401 18.1836L45.4849 15.6284C45.6641 15.6106 45.838 15.5574 45.9965 15.472C46.1551 15.3865 46.2951 15.2705 46.4085 15.1305C46.5219 14.9906 46.6064 14.8296 46.6572 14.6568C46.7079 14.4839 46.7239 14.3028 46.7041 14.1237L46.0556 8.37114C46.0148 8.0117 45.834 7.68284 45.5523 7.45582C45.2707 7.2288 44.9108 7.12193 44.5509 7.15836L19.9322 9.70067Z\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeMiterlimit: 10\n })), _path14 || (_path14 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M21.1126 18.1448L20.1917 9.6748\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path15 || (_path15 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M40.6664 16.115L39.7455 7.64502\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path16 || (_path16 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16.8712 16.1342L16.4756 12.5088\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path17 || (_path17 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M43.1437 15.8621L42.2228 7.39209\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path18 || (_path18 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M31.1096 14.6347C34.188 14.3172 36.5994 13.2452 36.4957 12.2405C36.3921 11.2357 33.8126 10.6787 30.7343 10.9963C27.6559 11.3138 25.2444 12.3858 25.3481 13.3905C25.4517 14.3953 28.0313 14.9523 31.1096 14.6347Z\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path19 || (_path19 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M24.7445 42.0889C25.8621 42.0889 26.768 41.183 26.768 40.0655C26.768 38.9479 25.8621 38.042 24.7445 38.042C23.627 38.042 22.7211 38.9479 22.7211 40.0655C22.7211 41.183 23.627 42.0889 24.7445 42.0889Z\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path20 || (_path20 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M31.1132 31.907C31.7507 31.907 32.2676 31.3901 32.2676 30.7526C32.2676 30.115 31.7507 29.5981 31.1132 29.5981C30.4756 29.5981 29.9587 30.115 29.9587 30.7526C29.9587 31.3901 30.4756 31.907 31.1132 31.907Z\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path21 || (_path21 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M28.8498 38.6777L40.2123 22.062C40.3852 21.8081 40.4929 21.5154 40.5257 21.21C40.5585 20.9046 40.5155 20.5957 40.4004 20.3109L38.6818 16.037C38.6575 15.9793 38.6181 15.9292 38.5678 15.8919C38.5176 15.8545 38.4583 15.8313 38.396 15.8247C38.3338 15.8181 38.2709 15.8283 38.214 15.8542C38.157 15.8801 38.108 15.9209 38.0721 15.9721L24.5499 35.7398C23.6402 35.7801 22.7663 36.1056 22.0519 36.6701C21.3374 37.2347 20.8188 38.0097 20.5693 38.8854C20.3198 39.7612 20.3521 40.6932 20.6617 41.5495C20.9713 42.4058 21.5424 43.143 22.2943 43.6567C23.0461 44.1704 23.9405 44.4346 24.8508 44.4117C25.761 44.3889 26.641 44.0802 27.3662 43.5295C28.0913 42.9788 28.6248 42.2138 28.891 41.3431C29.1573 40.4723 29.1429 39.5398 28.8498 38.6777V38.6777Z\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path22 || (_path22 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M40.0437 39.1773C41.1613 39.1773 42.0672 38.2714 42.0672 37.1538C42.0672 36.0363 41.1613 35.1304 40.0437 35.1304C38.9262 35.1304 38.0203 36.0363 38.0203 37.1538C38.0203 38.2714 38.9262 39.1773 40.0437 39.1773Z\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path23 || (_path23 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M27.2155 31.5306L19.1022 25.9855C18.8494 25.8113 18.6433 25.5777 18.5019 25.3052C18.3606 25.0326 18.2883 24.7295 18.2915 24.4225L18.3434 19.8179C18.3458 19.7548 18.3649 19.6935 18.3987 19.6402C18.4325 19.5869 18.4798 19.5435 18.5359 19.5145C18.5919 19.4855 18.6547 19.4719 18.7177 19.4751C18.7808 19.4782 18.8418 19.498 18.8947 19.5325L30.0366 27.1529\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path24 || (_path24 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M34.81 30.4219L38.6558 33.0485C39.5179 32.7554 40.4504 32.7409 41.3212 33.0072C42.192 33.2735 42.9569 33.807 43.5077 34.5321C44.0584 35.2572 44.367 36.1373 44.3898 37.0475C44.4127 37.9578 44.1486 38.8522 43.6349 39.604C43.1212 40.3559 42.384 40.927 41.5277 41.2366C40.6713 41.5462 39.7393 41.5785 38.8636 41.329C37.9879 41.0795 37.2128 40.5608 36.6483 39.8464C36.0837 39.132 35.7582 38.258 35.7179 37.3483L31.9888 34.7996\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgEarlyLearning);\nexport default __webpack_public_path__ + \"static/media/early-learning.511773d8.svg\";\nexport { ForwardRef as ReactComponent };","export default __webpack_public_path__ + \"static/media/image-fallback.d0d49fa0.svg\";","import * as React from 'react';\n\n// PACKAGES\nimport { Tooltip } from 'reactstrap';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../assets/svg/alert-circle.svg';\nimport FallbackImage from '../assets/svg/image-fallback.svg';\n\ninterface CircleImageTypes {\n\tsrc?: string;\n\tisColorBorder?: Boolean;\n\textraClass?: string;\n\talt?: string;\n\tsize?: number;\n\tisProfileInComplete?: boolean;\n\tfirstName?: string;\n\tlastName?: string;\n\tfullName?: string;\n\ttextLarge?: boolean;\n\tnoGap?: boolean;\n}\n\nconst CircleImage: React.FC = ({\n\tsrc,\n\textraClass,\n\talt,\n\tsize,\n\tisColorBorder,\n\tisProfileInComplete,\n\tfirstName,\n\tlastName,\n\ttextLarge,\n\tfullName,\n\tnoGap\n}) => {\n\tconst returnInitialFullName = (text: string) => {\n\t\tconst firstLetter = text.split(' ')[0].toUpperCase();\n\t\tconst secondLetter = text.split(' ')[1].toUpperCase();\n\t\treturn firstLetter[0] + secondLetter[0];\n\t};\n\n\tconst [mounted, setIsMounted] = React.useState(false);\n\tconst [imageError, setImageError] = React.useState(false);\n\n\tReact.useEffect(() => {\n\t\tsetIsMounted(true);\n\t}, []);\n\n\tconst [imageSrc, setImageSrc] = React.useState(src || '');\n\n\tReact.useEffect(() => {\n\t\tif (mounted) {\n\t\t\tsetImageSrc(src || '');\n\t\t}\n\t}, [src]);\n\n\t// Tools tip\n\tconst [incompleteProfileTooltipOpen, setincompleteProfileTooltipOpen] = React.useState(false);\n\n\tconst toggleincompleteProfileTooltip = () => setincompleteProfileTooltipOpen(!incompleteProfileTooltipOpen);\n\n\treturn (\n\t\t<>\n\t\t\t{isProfileInComplete && (\n\t\t\t\t<>\n\t\t\t\t\t{' '}\n\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\tProfile is incomplete. Please review to resolve any outstanding issues.\n\t\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{src && !imageError && (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tif (imageSrc !== FallbackImage) {\n\t\t\t\t\t\t\t\t\tsetImageError(true);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tsrc={imageSrc}\n\t\t\t\t\t\t\talt={alt}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{(imageError || !src) && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{fullName ? (\n\t\t\t\t\t\t\t\treturnInitialFullName(fullName)\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t{firstName && firstName.substring(0, 1).toUpperCase()}{' '}\n\t\t\t\t\t\t\t\t\t{lastName && lastName.substring(0, 1).toUpperCase()}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t\n\t\t\n\t);\n};\n\nexport default CircleImage;\n","import * as React from 'react';\n\ninterface ButtonTypes {\n\tchildren?: React.ReactNode;\n\ttype?: 'submit' | 'reset' | 'button';\n\tclassName?: string;\n\tdisabled?: boolean;\n\tbuttonIcon?: React.ReactElement;\n\tbuttonIconPath?: string;\n\tonClick?: React.MouseEventHandler;\n}\n\nconst Button: React.FC = ({\n\tchildren,\n\ttype = 'button',\n\tclassName = '',\n\tdisabled,\n\tbuttonIcon,\n\tbuttonIconPath,\n\tonClick\n}) => {\n\treturn (\n\t\t\n\t);\n};\n\nexport default Button;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../apibridge';\n\n// UTILS\nimport { useUpdateTotalNotification } from '../utils/useUpdateTotalNotification';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../store';\nimport UserSlice from '../store/slices/User';\n\n// PACKAGES\nimport { Link, useLocation } from 'react-router-dom';\n\n// UTILS\nimport { listenForOutsideClicks, validationErrorsToString } from '../utils';\n\n// ICON\nimport { ReactComponent as BellIcon } from '../assets/img/bell.svg';\nimport { ReactComponent as ArrowDownIcon } from '../assets/svg/arrow-down.svg';\nimport { ReactComponent as ArrowUpIcon } from '../assets/svg/arrow-up.svg';\nimport { ReactComponent as SettingsIcon } from '../assets/svg/settings-black.svg';\nimport { ReactComponent as LogOutIcon } from '../assets/svg/logout.svg';\n\n// COMPONENTS\nimport CircleImage from './CircleImage';\nimport Button from '../components/Button';\n\n// TYPES\nimport { NavigationMenuAccessRightsMenuPermissions } from '../api/models/navigation-menu-access-rights-menu-permissions';\n\ninterface MainMenuTypes {\n\tisBurgerMenuShow: boolean;\n\tsetIsBurgerMenuShow: React.Dispatch>;\n}\n\nconst MainMenu: React.FC = ({ isBurgerMenuShow, setIsBurgerMenuShow }) => {\n\tconst dispatch = useAppDispatch();\n\n\t// Get user info from Redux Store\n\tconst user = useAppSelector(({ user }) => user);\n\tconst profileImage = user.profileImage;\n\n\t// Get total Notification Count from Redux store\n\tconst totalNotificationCount = useAppSelector((state) => state.notificationCount.totalCount);\n\n\t// Check if Organisation is active\n\tconst isActiveOrganisation = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [mainMenuItems, setMainMenuItems] = React.useState({});\n\n\t// State to control Account Menu\n\tconst [isAccountMenuOpen, setIsAccountMenuOpen] = React.useState(false);\n\tconst menuRef = React.useRef(null);\n\tconst menuToggle = () => setIsAccountMenuOpen(!isAccountMenuOpen);\n\n\tlistenForOutsideClicks(menuRef, isAccountMenuOpen, setIsAccountMenuOpen);\n\n\tconst doLogout = () => {\n\t\tdispatch(UserSlice.actions.logOut());\n\t};\n\n\tconst getMainMenu = async () => {\n\t\tconst response = await apibridge.getMainMenu();\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length ? validationErrorsToString(response.validationErrors) : response.message\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetMainMenuItems(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tuseUpdateTotalNotification();\n\t}, [user.id]);\n\n\t// Load data from api\n\tReact.useEffect(() => {\n\t\tgetMainMenu();\n\t}, []);\n\n\tconst {\n\t\tdashboard,\n\n\t\tstaff,\n\t\tleadershipTeam,\n\t\tfamilies,\n\t\tvisitors,\n\t\trequestsToJoin,\n\t\tinviteToJoins,\n\n\t\tchildSafetyStandards,\n\t\tpolicies,\n\t\ttraining,\n\t\tsafetyChecklists,\n\n\t\tfeedback,\n\t\tincidentReports,\n\t\tcomplaints,\n\n\t\taudit,\n\t\tsettings,\n\t\thelpDesk,\n\n\t\tcompanies,\n\t\ttrainingModules,\n\t\tpolicyTemplates,\n\t\tchecklistTemplates,\n\t\tcomplaintsAdvice,\n\t\tchildSafetyTemplates,\n\t\thelpDeskTemplates\n\t} = mainMenuItems;\n\n\tconst hasPeopleLinks = () => {\n\t\treturn !![staff, leadershipTeam, families, visitors, requestsToJoin, inviteToJoins].filter(\n\t\t\t(link) => link && link.canRead\n\t\t).length;\n\t};\n\n\tconst hasResourcesLinks = () => {\n\t\treturn !![childSafetyStandards, policies, training, safetyChecklists].filter((link) => link && link.canRead).length;\n\t};\n\n\tconst hasIssuesLinks = () => {\n\t\treturn !![feedback, incidentReports, complaints].filter((link) => link && link.canRead).length;\n\t};\n\n\tconst hasContentLinks = () => {\n\t\treturn !![trainingModules, policyTemplates, checklistTemplates, complaintsAdvice, childSafetyTemplates].filter(\n\t\t\t(link) => link && link.canRead\n\t\t).length;\n\t};\n\n\t// Detect pathname on the url to load pages accordingly\n\tconst { pathname } = useLocation();\n\n\t// Close menu on mobile when clicking on a sidebar link\n\tconst mobileMenuHandler = () => {\n\t\tsetIsBurgerMenuShow(!isBurgerMenuShow);\n\t};\n\n\t// Close mobile account menu\n\tconst closeMobileAccountMenu = () => {\n\t\tsetIsAccountMenuOpen(!isAccountMenuOpen);\n\n\t\tsetIsBurgerMenuShow(!isBurgerMenuShow);\n\t};\n\n\treturn (\n\t\t\n\t);\n};\n\nexport default MainMenu;\n","var _path, _path2, _path3;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgBurger(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.667 13.334H28.3337\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.667 26.666H28.3337\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.667 20H28.3337\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgBurger);\nexport default __webpack_public_path__ + \"static/media/burger.17ffcc7c.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// ICONS\nimport { ReactComponent as DefaultIcon } from '../assets/svg/early-learning.svg';\n\ninterface OrganisationLogoTypes {\n\tsrc?: string;\n\textraClass?: string;\n\talt?: string;\n\tsize?: number;\n\tisProfileInComplete?: boolean;\n}\n\nconst OrganisationLogo: React.FC = ({ src, extraClass, alt, size, isProfileInComplete }) => {\n\tconst [mounted, setIsMounted] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\t\n\tconst [imageError, setImageError] = React.useState(false);\n\n\tReact.useEffect(() => {\n\t\tsetIsMounted(true);\n\t}, []);\n\n\tconst [imageSrc, setImageSrc] = React.useState(src || '');\n\n\tReact.useEffect(() => {\n\t\tif (mounted) {\n\t\t\tsetImageSrc(src || '');\n\t\t}\n\n\t\tif (src !== undefined) {\n\t\t\tsetIsLoading(false);\n\t\t}\n\t}, [src]);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t{isLoading ? null : src && !imageError ? (\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetImageError(true);\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\t\t\t\t) : (\n\t\t\t\t\t(imageError || !src) && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t)\n\t\t\t\t)}\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default OrganisationLogo;\n","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgMenuClose(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M25 15L15 25\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15 15L25 25\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgMenuClose);\nexport default __webpack_public_path__ + \"static/media/menu-close.6286d63a.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgArrowRight(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 9,\n height: 14,\n viewBox: \"0 0 9 14\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1.91602 1.58398L7.74935 7.00065L1.91602 12.4173\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowRight);\nexport default __webpack_public_path__ + \"static/media/arrow-right.377b2818.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgLink(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 18,\n height: 18,\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.3713 7.6287C9.19972 6.45711 7.30025 6.45711 6.12868 7.6287L3.12868 10.6287C1.95711 11.8003 1.95711 13.6997 3.12868 14.8713C4.30025 16.0429 6.19975 16.0429 7.37132 14.8713L8.1975 14.0452M7.6287 10.3713C8.80027 11.5429 10.6997 11.5429 11.8713 10.3713L14.8713 7.37132C16.0429 6.19975 16.0429 4.30025 14.8713 3.12868C13.6997 1.95711 11.8003 1.95711 10.6287 3.12868L9.804 3.95338\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgLink);\nexport default __webpack_public_path__ + \"static/media/link.fcdb40fa.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgLogin(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 19,\n height: 18,\n viewBox: \"0 0 19 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.5 12V12.75C6.5 13.9927 7.50732 15 8.75 15H14C15.2426 15 16.25 13.9927 16.25 12.75V5.25C16.25 4.00736 15.2426 3 14 3H8.75C7.50732 3 6.5 4.00736 6.5 5.25V6M10.25 12L13.25 9L10.25 12ZM13.25 9L10.25 6L13.25 9ZM13.25 9H2.75H13.25Z\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgLogin);\nexport default __webpack_public_path__ + \"static/media/login.4b8ddadb.svg\";\nexport { ForwardRef as ReactComponent };","export default __webpack_public_path__ + \"static/media/image-fallback-square.6ff7c7de.svg\";","import * as React from 'react';\n\n// API\nimport apibridge from '../apibridge';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport OrganisationLogo from './OrganisationLogo';\nimport Button from './Button';\n\n// REDUX\nimport { useAppSelector, useAppDispatch } from '../store';\nimport UserSlice from '../store/slices/User';\n\n// ICONS\nimport { ReactComponent as BurgerMenuIcon } from '../assets/svg/burger.svg';\nimport { ReactComponent as BurgerMenuCloseIcon } from '../assets/svg/menu-close.svg';\nimport { ReactComponent as ArrowUpIcon } from '../assets/svg/arrow-up.svg';\nimport { ReactComponent as ArrowDownIcon } from '../assets/svg/arrow-down.svg';\nimport { ReactComponent as ArrowRightIcon } from '../assets/svg/arrow-right.svg';\nimport { ReactComponent as LinkIcon } from '../assets/svg/link.svg';\nimport FallbackImage from '../assets/svg/image-fallback-square.svg';\n\ninterface organisationMenuTypes {\n\tisBurgerMenuShow: boolean;\n\tsetIsBurgerMenuShow: React.Dispatch>;\n}\nimport { AccountUserUserProfile as OrganisationItemType } from '../api/models';\n\nconst OrganisationMenu: React.FC = ({ isBurgerMenuShow, setIsBurgerMenuShow }) => {\n\tconst dispatch = useAppDispatch();\n\n\tconst user = useAppSelector((state) => state.user);\n\n\t// State for display which organisation is active, and which ones are not\n\tconst [activeOrganisation, setActiveOrganisation] = React.useState(null);\n\tconst [inActiveOrganisation, setInActiveOrganisation] = React.useState([]);\n\n\t// State to hide and show menu\n\tconst [isOrganisationMenuShow, setIsOrganisationMenuShow] = React.useState(false);\n\n\t// Hide and Show Burger Menu\n\tconst burgerMenuHandler = () => {\n\t\tif (isOrganisationMenuShow) {\n\t\t\tsetIsOrganisationMenuShow(false);\n\t\t}\n\t\tsetIsBurgerMenuShow(!isBurgerMenuShow);\n\t};\n\n\t// Hide and Show organisation Menu\n\tconst organisationMenuHandler = () => {\n\t\tif (isBurgerMenuShow) {\n\t\t\tsetIsBurgerMenuShow(false);\n\t\t}\n\t\tsetIsOrganisationMenuShow(!isOrganisationMenuShow);\n\t};\n\n\t// Fuctions to Reset Active Organisation when click on an inactive organisations on menu\n\tconst organisationItemClickHandler = async (profileId?: string) => {\n\t\tsetIsOrganisationMenuShow(!isOrganisationMenuShow);\n\n\t\tconst response = await apibridge.doSwitchOrganisation(profileId);\n\n\t\tif (response.isError) {\n\t\t\tconsole.log(response.validationErrors.map((error: any) => 'Error: ' + (error.name + ' - ' + error.reason)));\n\t\t} else {\n\t\t\tdispatch(UserSlice.actions.forceUpdate({}));\n\t\t}\n\t};\n\n\tconst [mounted, setIsMounted] = React.useState(false);\n\n\t// Getting all organisations and filter which organisation is active, and which ones are not.\n\tReact.useEffect(() => {\n\t\tif (user.profiles && user.profiles.length) {\n\t\t\tuser.profiles.map((profile) => {\n\t\t\t\tif (profile.id === user.activeProfileId) {\n\t\t\t\t\tsetActiveOrganisation(profile);\n\t\t\t\t} else {\n\t\t\t\t\tsetInActiveOrganisation((prevState) => [...prevState, profile]);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tsetIsOrganisationMenuShow(true);\n\t\t}\n\t\tsetIsMounted(true);\n\t}, []);\n\n\t// Set up fall back image\n\tconst [imageSrc, setImageSrc] = React.useState(\n\t\tactiveOrganisation ? activeOrganisation.image : FallbackImage\n\t);\n\n\tReact.useEffect(() => {\n\t\tif (mounted) {\n\t\t\tsetImageSrc((activeOrganisation && activeOrganisation.image) || FallbackImage);\n\t\t}\n\t}, [activeOrganisation && activeOrganisation.image]);\n\n\treturn (\n\t\t\n\t);\n};\n\nexport default OrganisationMenu;\n","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgSettings(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.3903 4.31731C10.8205 2.5609 13.3409 2.5609 13.7711 4.31731C14.049 5.45193 15.3606 5.99038 16.3666 5.38285C17.924 4.44239 19.7061 6.2087 18.7573 7.75218C18.1442 8.74925 18.6875 10.0492 19.8323 10.3246C21.6045 10.751 21.6045 13.249 19.8323 13.6754C18.6875 13.9508 18.1442 15.2507 18.7573 16.2478C19.7061 17.7913 17.924 19.5576 16.3666 18.6172C15.3606 18.0096 14.049 18.5481 13.7711 19.6827C13.3409 21.4391 10.8205 21.4391 10.3903 19.6827C10.1124 18.5481 8.80082 18.0096 7.79481 18.6172C6.23747 19.5576 4.45532 17.7913 5.40422 16.2478C6.0172 15.2507 5.47392 13.9508 4.32912 13.6754C2.55696 13.249 2.55696 10.751 4.32912 10.3246C5.47392 10.0492 6.01719 8.74926 5.40422 7.75218C4.45532 6.2087 6.23747 4.44239 7.79481 5.38285C8.80082 5.99037 10.1124 5.45193 10.3903 4.31731Z\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.1075 12C15.1075 13.6569 13.7524 15 12.0806 15C10.4089 15 9.05371 13.6569 9.05371 12C9.05371 10.3431 10.4089 9 12.0806 9C13.7524 9 15.1075 10.3431 15.1075 12Z\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgSettings);\nexport default __webpack_public_path__ + \"static/media/settings.5d33618b.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _path13, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgLogoMain(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 210,\n height: 40,\n viewBox: \"0 0 210 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.916 12.4698C19.0833 9.07346 26.2331 7.12891 33.8603 7.12891C36.6129 7.12891 39.3028 7.38197 41.909 7.86811C41.0345 20.7375 33.8185 31.952 23.2122 38.688C16.8219 31.6623 12.9439 22.4989 12.916 12.4698Z\",\n fill: \"url(#paint0_linear_1230_8274)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.9164 12.4698C19.0836 9.0735 26.2335 7.12894 33.8606 7.12894C36.6132 7.12894 39.3031 7.382 41.9094 7.86814C41.9652 7.05236 41.9965 6.22992 42 5.40082C35.8084 1.96787 28.6202 0 20.9443 0C13.3171 0 6.16376 1.94456 0 5.34088C0.0418119 20.1515 8.47735 33.0775 21 40C21.7526 39.5838 22.4878 39.1476 23.2125 38.6881C16.8223 31.6624 12.9443 22.499 12.9164 12.4698Z\",\n fill: \"url(#paint1_linear_1230_8274)\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M26.2126 25.2728C25.9269 23.3981 25.7736 21.4802 25.7666 19.5323C27.5088 18.5734 29.3345 17.7276 31.223 17.0117C29.8955 19.9619 28.2056 22.7355 26.2126 25.2728Z\",\n fill: \"white\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M60.5421 33.4963C65.483 33.4963 69.6713 30.4715 70.7511 25.7282H68.2315C67.2172 28.8904 64.2723 31.0902 60.5748 31.0902C55.5031 31.0902 52.0019 27.0687 52.0019 20.813C52.0019 14.626 55.4376 10.5013 60.5748 10.5013C64.076 10.5013 66.9881 12.5637 68.0025 16.1384H70.5547C69.5731 11.2919 65.6466 8.06093 60.673 8.06093C54.1615 8.06093 49.5479 13.148 49.5479 20.813C49.5479 28.478 54.0961 33.4963 60.5421 33.4963Z\",\n fill: \"#2D2C2C\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M76.1015 33.0838V23.9065C76.1015 20.4693 78.1629 18.2007 81.3041 18.2007C83.5946 18.2007 85.4597 19.335 85.4597 23.4596V33.1182H87.7174V22.9441C87.7174 18.8194 85.9832 16.0353 81.7949 16.0353C79.1445 16.0353 77.1158 17.307 76.1015 19.3006V8.06093H73.8437V33.0838H76.1015Z\",\n fill: \"#2D2C2C\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M92.7674 11.7387C93.6509 11.7387 94.338 11.0513 94.338 10.0889C94.338 9.12647 93.6509 8.40465 92.7674 8.40465C91.8512 8.40465 91.1968 9.12647 91.1968 10.0889C91.1968 11.0513 91.8512 11.7387 92.7674 11.7387ZM91.6549 33.1182H93.9127V16.4821H91.6549V33.1182Z\",\n fill: \"#2D2C2C\"\n })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M100.356 33.1182V8.06093H98.0981V33.1182H100.356Z\",\n fill: \"#2D2C2C\"\n })), _path8 || (_path8 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M110.783 33.5307C113.335 33.5307 115.691 32.362 116.836 29.6122L117.032 33.1182H118.963V8.06093H116.803V19.7131C115.691 17.307 113.498 16.0353 110.881 16.0353C106.169 16.0353 103.453 19.8162 103.453 24.8345C103.453 29.8185 106.169 33.5307 110.783 33.5307ZM111.143 31.3652C107.674 31.3652 105.744 28.6154 105.744 24.7658C105.744 20.9505 107.674 18.1663 111.143 18.1663C114.611 18.1663 116.574 20.9505 116.574 24.7658C116.574 28.6154 114.611 31.3652 111.143 31.3652Z\",\n fill: \"#2D2C2C\"\n })), _path9 || (_path9 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M125.407 33.1182L127.37 27.3093H136.303L138.234 33.1182H142.651L134.013 7.99219H129.726L121.088 33.1182H125.407ZM131.362 15.4853C131.591 14.8666 131.82 14.076 131.886 13.5605C131.951 14.076 132.18 14.8666 132.376 15.4853L135.125 23.6315H128.581L131.362 15.4853Z\",\n fill: \"#2D2C2C\"\n })), _path10 || (_path10 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M146.268 33.1182H150.162L152.518 25.8313C153.205 23.5628 153.467 22.5316 153.631 21.6035C153.794 22.5316 154.056 23.5627 154.678 25.7626L157.034 33.1182H160.764L166.392 16.1384H162.138L159.978 23.4253C159.782 24.1471 159.095 26.6219 158.899 27.7905C158.702 26.6562 158.048 24.1127 157.852 23.4253L155.692 16.1384H151.635L149.41 23.4253C149.017 24.7658 148.591 26.2438 148.297 27.5499C148.003 26.2438 147.643 24.7658 147.315 23.4253L145.189 16.1384H140.869L146.268 33.1182Z\",\n fill: \"#2D2C2C\"\n })), _path11 || (_path11 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M172.242 33.565C174.794 33.565 176.724 32.362 177.412 30.609L177.706 33.1182H181.207V22.8066C181.207 18.3038 178.72 15.6228 174.172 15.6228C169.984 15.6228 167.104 18.0632 167.137 21.7067H170.54C170.507 19.9537 171.784 18.8881 173.976 18.8881C175.939 18.8881 177.313 19.7818 177.313 22.1191V22.4972L172.7 22.8753C169.068 23.1847 166.712 24.972 166.712 28.2717C166.712 31.434 168.773 33.565 172.242 33.565ZM173.55 30.4028C171.751 30.4028 170.769 29.5779 170.769 28.0999C170.769 26.725 171.62 25.9001 173.976 25.6594L177.346 25.3501V26.2438C177.346 29.406 175.252 30.4028 173.55 30.4028Z\",\n fill: \"#2D2C2C\"\n })), _path12 || (_path12 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M194.166 16.0696C191.712 15.4853 188.931 16.0696 187.949 18.132L187.72 16.1727H184.055V33.1182H188.047V24.8689C188.047 21.5692 189.716 19.7131 192.595 19.7131H194.166V16.0696Z\",\n fill: \"#2D2C2C\"\n })), _path13 || (_path13 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M193.934 24.6283C193.934 30.0247 197.075 33.565 201.754 33.565C205.648 33.565 208.691 31.1246 209.378 27.5155H205.681C205.288 28.9935 203.75 30.0247 201.82 30.0247C199.398 30.0247 197.893 28.5467 197.795 25.8313H209.313V24.5595C209.313 19.1631 206.466 15.6228 201.754 15.6228C197.108 15.6228 193.934 19.1631 193.934 24.6283ZM197.86 23.1503C197.893 20.5724 199.431 19.0944 201.623 19.0944C203.783 19.0944 205.321 20.5036 205.353 23.1503H197.86Z\",\n fill: \"#2D2C2C\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1230_8274\",\n x1: 17.0833,\n y1: 8.4847,\n x2: 35.6552,\n y2: 27.9189,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint1_linear_1230_8274\",\n x1: 6.16418,\n y1: -0.550537,\n x2: 33.8998,\n y2: 28.4728,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n stopColor: \"#D6248E\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.7653,\n stopColor: \"#FE714D\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgLogoMain);\nexport default __webpack_public_path__ + \"static/media/logo-main.f6cab6e3.svg\";\nexport { ForwardRef as ReactComponent };","/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport type DomainCertificationReviewType = 'TeacherRegistration' | 'WorkingWithChildrenCheck' | 'Qualification' | 'Training' | 'Vaccination' | 'PoliceCheck';\n\nexport const DomainCertificationReviewType = {\n TeacherRegistration: 'TeacherRegistration' as DomainCertificationReviewType,\n WorkingWithChildrenCheck: 'WorkingWithChildrenCheck' as DomainCertificationReviewType,\n Qualification: 'Qualification' as DomainCertificationReviewType,\n Training: 'Training' as DomainCertificationReviewType,\n Vaccination: 'Vaccination' as DomainCertificationReviewType,\n PoliceCheck: 'PoliceCheck' as DomainCertificationReviewType\n};","/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport type DomainCertificationType = 'TeacherRegistration' | 'WorkingWithChildrenCheck' | 'Degree' | 'Diploma' | 'Certificate' | 'FirstAid' | 'Cpr' | 'Anaphylaxis' | 'Other' | 'VaccinationCertificate' | 'PoliceCheck';\n\nexport const DomainCertificationType = {\n TeacherRegistration: 'TeacherRegistration' as DomainCertificationType,\n WorkingWithChildrenCheck: 'WorkingWithChildrenCheck' as DomainCertificationType,\n Degree: 'Degree' as DomainCertificationType,\n Diploma: 'Diploma' as DomainCertificationType,\n Certificate: 'Certificate' as DomainCertificationType,\n FirstAid: 'FirstAid' as DomainCertificationType,\n Cpr: 'Cpr' as DomainCertificationType,\n Anaphylaxis: 'Anaphylaxis' as DomainCertificationType,\n Other: 'Other' as DomainCertificationType,\n VaccinationCertificate: 'VaccinationCertificate' as DomainCertificationType,\n PoliceCheck: 'PoliceCheck' as DomainCertificationType\n};","/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport type DomainChecklistActionStatus = 'Yes' | 'No' | 'NotApplicable';\n\nexport const DomainChecklistActionStatus = {\n Yes: 'Yes' as DomainChecklistActionStatus,\n No: 'No' as DomainChecklistActionStatus,\n NotApplicable: 'NotApplicable' as DomainChecklistActionStatus\n};","/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport type DomainChecklistStatusType = 'InProgress' | 'AwaitingApproval' | 'Approved';\n\nexport const DomainChecklistStatusType = {\n InProgress: 'InProgress' as DomainChecklistStatusType,\n AwaitingApproval: 'AwaitingApproval' as DomainChecklistStatusType,\n Approved: 'Approved' as DomainChecklistStatusType\n};","/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport type DomainComplaintLoggingType = 'Myself' | 'SomeoneElse' | 'Anonymous';\n\nexport const DomainComplaintLoggingType = {\n Myself: 'Myself' as DomainComplaintLoggingType,\n SomeoneElse: 'SomeoneElse' as DomainComplaintLoggingType,\n Anonymous: 'Anonymous' as DomainComplaintLoggingType\n};","/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport type DomainComplaintStatusType = 'Open' | 'InProgress' | 'Closed' | 'Withdrawn';\n\nexport const DomainComplaintStatusType = {\n Open: 'Open' as DomainComplaintStatusType,\n InProgress: 'InProgress' as DomainComplaintStatusType,\n Closed: 'Closed' as DomainComplaintStatusType,\n Withdrawn: 'Withdrawn' as DomainComplaintStatusType\n};","/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport type DomainFeedbackStatus = 'Submitted' | 'InProgress' | 'Resolved' | 'Withdrawn';\n\nexport const DomainFeedbackStatus = {\n Submitted: 'Submitted' as DomainFeedbackStatus,\n InProgress: 'InProgress' as DomainFeedbackStatus,\n Resolved: 'Resolved' as DomainFeedbackStatus,\n Withdrawn: 'Withdrawn' as DomainFeedbackStatus\n};","/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport type DomainOrganisationStatus = 'Pending' | 'Active' | 'Inactive';\n\nexport const DomainOrganisationStatus = {\n Pending: 'Pending' as DomainOrganisationStatus,\n Active: 'Active' as DomainOrganisationStatus,\n Inactive: 'Inactive' as DomainOrganisationStatus\n};","/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport type DomainParentVolunteerStatus = 'Requested' | 'Approved' | 'Rejected' | 'Revoked' | 'Removed';\n\nexport const DomainParentVolunteerStatus = {\n Requested: 'Requested' as DomainParentVolunteerStatus,\n Approved: 'Approved' as DomainParentVolunteerStatus,\n Rejected: 'Rejected' as DomainParentVolunteerStatus,\n Revoked: 'Revoked' as DomainParentVolunteerStatus,\n Removed: 'Removed' as DomainParentVolunteerStatus\n};","/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport type DomainPaymentStatus = 'Paid' | 'Failed';\n\nexport const DomainPaymentStatus = {\n Paid: 'Paid' as DomainPaymentStatus,\n Failed: 'Failed' as DomainPaymentStatus\n};","/**\n * ChildAware Website\n * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)\n *\n * OpenAPI spec version: 1.0.0.0\n * \n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n * Do not edit the class manually.\n */\n\nexport type DomainProfileType = 'SuperAdministrator' | 'Staff' | 'Parent' | 'Student' | 'Visitor';\n\nexport const DomainProfileType = {\n SuperAdministrator: 'SuperAdministrator' as DomainProfileType,\n Staff: 'Staff' as DomainProfileType,\n Parent: 'Parent' as DomainProfileType,\n Student: 'Student' as DomainProfileType,\n Visitor: 'Visitor' as DomainProfileType\n};","import * as React from 'react';\n\n// PACKAGES\nimport { Link, useLocation } from 'react-router-dom';\n\n// UTILS\nimport { listenForOutsideClicks } from '../utils';\n\n// REDUX\nimport { useAppSelector, useAppDispatch } from '../store';\nimport UserSlice from '../store/slices/User';\n\n// COMPONENTS\nimport CircleImage from './CircleImage';\nimport Button from '../components/Button';\n\n// ICONS\nimport { ReactComponent as LoginIcon } from '../assets/svg/login.svg';\nimport { ReactComponent as ArrowDownIcon } from '../assets/svg/arrow-down.svg';\nimport { ReactComponent as ArrowUpIcon } from '../assets/svg/arrow-up.svg';\nimport { ReactComponent as SettingsIcon } from '../assets/svg/settings.svg';\nimport { ReactComponent as LogOutIcon } from '../assets/svg/logout.svg';\n\n// TYPES\nimport { DomainProfileType } from '../api/models';\n\nconst AccountMenu: React.FC = () => {\n\t// Detect pathname on the url\n\tconst { pathname } = useLocation();\n\n\tconst dispatch = useAppDispatch();\n\tconst user = useAppSelector(({ user }) => user);\n\n\tconst isSuperAdmin = user.activeProfileType === DomainProfileType.SuperAdministrator;\n\n\tconst isActiveOrganisation = useAppSelector((state) => state.user.isOrganisationActive);\n\n\tconst profileImage = user.profileImage;\n\n\tconst [isAccountMenuOpen, setIsAccountMenuOpen] = React.useState(false);\n\tconst menuRef = React.useRef(null);\n\tconst menuToggle = () => setIsAccountMenuOpen(!isAccountMenuOpen);\n\n\tlistenForOutsideClicks(menuRef, isAccountMenuOpen, setIsAccountMenuOpen);\n\n\tconst doLogout = () => {\n\t\tdispatch(UserSlice.actions.logOut());\n\t};\n\n\tif (!user.loggedIn) {\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{pathname !== '/login' && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t Log in\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t} else {\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\t{user.firstName} {user.lastName}\n\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\n\t\t\t\t\t{isAccountMenuOpen && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{isActiveOrganisation && !isSuperAdmin && (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t My Account\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t
\n\t\t);\n\t}\n};\n\nexport default AccountMenu;\n","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgArrowLeft(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 18,\n height: 19,\n viewBox: \"0 0 18 19\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.6875 5.5625L3.5625 9.5L7.6875 13.4375\",\n stroke: \"#A52EBE\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14.4375 9.5H3.75\",\n stroke: \"#A52EBE\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowLeft);\nexport default __webpack_public_path__ + \"static/media/arrow-left.79f61938.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgCalendar(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4.75 8.75C4.75 7.64543 5.64543 6.75 6.75 6.75H17.25C18.3546 6.75 19.25 7.64543 19.25 8.75V17.25C19.25 18.3546 18.3546 19.25 17.25 19.25H6.75C5.64543 19.25 4.75 18.3546 4.75 17.25V8.75Z\",\n stroke: \"#A52EBE\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8 4.75V8.25\",\n stroke: \"#A52EBE\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16 4.75V8.25\",\n stroke: \"#A52EBE\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.75 10.75H16.25\",\n stroke: \"#A52EBE\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgCalendar);\nexport default __webpack_public_path__ + \"static/media/calendar.57ae7000.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// PACKAGES\nimport { Link, useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from './Button';\n\n// ICONS\nimport { ReactComponent as MainLogo } from '../assets/img/logo-main.svg';\nimport { ReactComponent as ArrowLeft } from '../assets/svg/arrow-left.svg';\n\n// TYPES\ninterface PageNameType {\n\ttitle?: string;\n\ttext?: string;\n\tshowBack?: boolean;\n\tshowLogo?: boolean;\n}\n\nconst PageName: React.FC = ({ title = '', text = '', showBack = false, showLogo = false }) => {\n\tconst history = useHistory();\n\n\tconst goBack = () => {\n\t\thistory.goBack();\n\n\t\twindow.scrollTo(0, 0);\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{(!!title || showBack || showLogo) && (\n\t\t\t\t
\n\t\t\t\t\t{showLogo && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\n\t\t\t\t\t{showBack && (\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\n\t\t\t\t\t{!!title &&

{title}

}\n\t\t\t\t
\n\t\t\t)}\n\n\t\t\t{!!text &&

{text}

}\n\t\t\n\t);\n};\n\nexport default PageName;\n","import * as React from 'react';\n\n// COMPONENTS\nimport MainMenu from '../MainMenu';\nimport OrganisationMenu from '../OrganisationMenu';\nimport AccountMenu from '../AccountMenu';\nimport PageName from '../PageName';\n\ninterface propsType {\n\ttitle?: string;\n\ttext?: string;\n\tshowBack?: boolean;\n\tshowLogo?: boolean;\n\tchildren: React.ReactNode;\n\tclassName?: string;\n}\n\nconst LayoutTwoColumn: React.FunctionComponent = ({\n\ttitle,\n\ttext,\n\tshowBack,\n\tshowLogo,\n\tchildren,\n\tclassName = ''\n}) => {\n\t// Controls Burger Menu show or hide\n\tconst [isBurgerMenuShow, setIsBurgerMenuShow] = React.useState(false);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t
{children}
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default LayoutTwoColumn;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport AccountMenu from '../AccountMenu';\n\n// ICONS\nimport { ReactComponent as MainLogo } from '../../assets/img/logo-main.svg';\n\n// TYPES\ninterface propsType {\n\tchildren: React.ReactNode;\n\tclassName?: string;\n}\n\nconst LayoutOneColumn: React.FC = ({ children, className = '' }) => {\n\t// Check if the user is logged in\n\tconst isLoggedIn = useAppSelector(({ user }) => user.loggedIn);\n\n\t// Get website url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\n\t\t\t\t\t
\n\t\t\t\t\t\t{isLoggedIn ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
{children}
\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default LayoutOneColumn;\n","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgCloseSmall(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 20,\n height: 20,\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.5 7.5L7.5 12.5\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.5 7.5L12.5 12.5\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgCloseSmall);\nexport default __webpack_public_path__ + \"static/media/close-small.a2ad2a38.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\nimport DatePicker from 'react-datepicker';\nimport moment from 'moment';\n\nimport { ReactComponent as CalendarIcon } from '../assets/svg/calendar.svg';\n\ninterface DateInputTypes {\n\tdateTimeString: string;\n\tonChange?: any;\n\tshowDropdowns?: boolean;\n\texcludeFuture?: boolean;\n\texcludePast?: boolean;\n\tdisabled?: boolean;\n\tclassName?: string;\n\tminAge?: boolean;\n}\n\nexport const DateInput: React.FC = ({\n\tdateTimeString,\n\tonChange,\n\tshowDropdowns = false,\n\texcludeFuture = false,\n\texcludePast = false,\n\tdisabled = false,\n\tminAge = false,\n\tclassName\n}) => {\n\tconst [dateTimeObject, setDateTimeObject] = React.useState();\n\n\t//Set min age\n\tconst minimunAge = 13;\n\tconst maxDate = moment().subtract(minimunAge, 'years').format();\n\n\t// date comes in as a string: 2022-04-22T11:28:07.1994149+10:00\n\t// date is returned as a date object\n\tconst parseDate = (str: string) => {\n\t\tconst parsedDate = moment(str, 'YYYY-MM-DDTHH:mm:ss.SSSSSSSZ');\n\t\tconst newDate = parsedDate.isValid() ? parsedDate.toDate() : new Date();\n\n\t\treturn newDate;\n\t};\n\n\t// date is returned as a string: 2022-04-22T11:28:07\n\tconst returnDateTime = (obj: Date) => {\n\t\t// do not return the timezone offset\n\t\tconst dateStr = moment(obj).format('YYYY-MM-DDTHH:mm:ss');\n\n\t\tif (onChange) {\n\t\t\tonChange(dateStr);\n\t\t}\n\t};\n\n\tconst handleDateChange = (date: Date) => {\n\t\tsetDateTimeObject(date);\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (dateTimeString) {\n\t\t\tconst currentDate = parseDate(dateTimeString);\n\t\t\tsetDateTimeObject(currentDate);\n\t\t}\n\t}, [dateTimeString]);\n\n\tReact.useEffect(() => {\n\t\tif (dateTimeObject) {\n\t\t\treturnDateTime(dateTimeObject);\n\t\t} else {\n\t\t\t//pass back the null value\n\t\t\tif (onChange) {\n\t\t\t\tonChange('');\n\t\t\t}\n\t\t}\n\t}, [dateTimeObject]);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t handleDateChange(date)}\n\t\t\t\t\t\tplaceholderText=\"DD/MM/YYYY\"\n\t\t\t\t\t\tclassName={`form-control ${className}`}\n\t\t\t\t\t\tshowMonthDropdown={showDropdowns}\n\t\t\t\t\t\tshowYearDropdown={showDropdowns}\n\t\t\t\t\t\tdropdownMode=\"select\"\n\t\t\t\t\t\tmaxDate={excludeFuture ? (minAge ? new Date(parseDate(maxDate)) : new Date()) : null}\n\t\t\t\t\t\tminDate={excludePast ? new Date() : null}\n\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t/>\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default DateInput;\n","var _path, _path2, _path3;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgUpload(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 18,\n height: 18,\n fill: \"none\",\n viewBox: \"0 0 18 18\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m3.5625 11.062v1.125c0 1.2427 1.0074 2.25 2.25 2.25h6.375c1.2427 0 2.25-1.0073 2.25-2.25v-1.125\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m9 10.687v-6.9375\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"m6.5625 6.1875 2.4375-2.625 2.4375 2.625\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgUpload);\nexport default __webpack_public_path__ + \"static/media/upload.96cdf36e.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// COMPONENTS\nimport Button from './Button';\n\n// ICONS\nimport { ReactComponent as CrossIcon } from '../assets/svg/close-small.svg';\n\n// TYPES\ninterface FileType {\n\tid?: string;\n\tdisplayFileName?: string;\n\tlink?: string;\n\tname?: string;\n\tsize?: number;\n\ttype?: string;\n\tuploadInProgress?: boolean;\n\tpercentComplete?: number;\n}\n\ninterface FilesListTypes {\n\tfiles?: FileType[];\n\tonChange?: any;\n\tmultiple?: boolean;\n\tdisabled?: boolean;\n}\n\n// NOTE: files are always passed in as an array, whether there are 1 or many\n// The return for the callback will be a string or an array - depending on the multiple property\n\nexport const FilesList: React.FC = ({ files, onChange, multiple = false, disabled }) => {\n\tconst [removedFileIds, setRemovedFileIds] = React.useState([]);\n\n\tconst removeFile = (id: string | undefined) => {\n\t\tif (id !== undefined) {\n\t\t\tconst newRemovedFileIds = removedFileIds.slice();\n\t\t\tnewRemovedFileIds.push(id);\n\t\t\tif (onChange) {\n\t\t\t\tif (multiple) {\n\t\t\t\t\t// if multiple - return an array of ids\n\t\t\t\t\tonChange(newRemovedFileIds);\n\t\t\t\t} else {\n\t\t\t\t\t// if single - return only id\n\t\t\t\t\tonChange(id);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tsetRemovedFileIds(newRemovedFileIds);\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{files &&\n\t\t\t\tfiles.length > 0 &&\n\t\t\t\tfiles.map((file, index) => {\n\t\t\t\t\tif (!removedFileIds.includes(file.id || '')) {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{file.displayFileName ? file.displayFileName : file.name}\n\t\t\t\t\t\t\t\t{file.uploadInProgress ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{file.percentComplete + '%'}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t
removeFile(file.id)}>\n\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t})}\n\t\t\n\t);\n};\n\nexport default FilesList;\n","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\n\n// PACKAGES\nimport { CSSTransition } from 'react-transition-group';\n\n// ## closeModal function is passed down to dynamic children ##\n\nconst getScrollbarWidth = ((): void => {\n\t// https://stackoverflow.com/a/13382873\n\n\tconst outer = document.createElement('div');\n\touter.style.visibility = 'hidden';\n\touter.style.overflow = 'scroll';\n\tdocument.body.appendChild(outer);\n\n\tconst inner = document.createElement('div');\n\touter.appendChild(inner);\n\n\tconst scrollbarWidth = outer.offsetWidth - inner.offsetWidth;\n\n\tif (outer.parentNode) {\n\t\touter.parentNode.removeChild(outer);\n\t}\n\n\tdocument.documentElement.style.setProperty('--scrollbar-width', scrollbarWidth + 'px');\n})();\n\nexport interface GlobalModalPropsTypes {\n\tisOpen: boolean;\n\tsetIsOpen: React.Dispatch>;\n\tclassName?: string;\n\tuseDefaultStructure?: boolean;\n\tcloseOnOutsideClick?: boolean;\n\ttitleText?: string;\n\tcloseText?: string;\n\tchildren?: React.ReactNode;\n}\n\nexport interface GlobalModalStateTypes {\n\tisOpen: boolean;\n\tuseDefaultStructure?: boolean;\n\tcloseOnOutsideClick?: boolean;\n\ttitleText?: string;\n\tcloseText?: string;\n}\n\nconst initialModalState: GlobalModalStateTypes = {\n\tisOpen: false,\n\tuseDefaultStructure: true,\n\tcloseOnOutsideClick: false,\n\ttitleText: '',\n\tcloseText: 'Close'\n};\n\nexport type closeModalType = () => void;\n\nexport const GlobalModal: React.FC = (props) => {\n\tconst el = document.getElementById('modal');\n\n\tconst [modalState, setModalState] = React.useState(initialModalState);\n\n\tconst afterClose = () => {\n\t\tdocument.body.classList.remove('modal-open');\n\t};\n\n\tconst closeModal = () => {\n\t\tprops.setIsOpen(false);\n\n\t\tsetModalState({\n\t\t\t...modalState,\n\t\t\tisOpen: false\n\t\t});\n\t};\n\n\tconst childrenWithProps = React.Children.map(props.children, (child) => {\n\t\tif (React.isValidElement(child)) {\n\t\t\tconst customProps = { closeModal };\n\t\t\treturn React.cloneElement(child, customProps);\n\t\t}\n\n\t\treturn child;\n\t});\n\n\tReact.useEffect(() => {\n\t\tif (props.isOpen) {\n\t\t\tdocument.body.classList.add('modal-open');\n\n\t\t\tsetModalState({\n\t\t\t\tisOpen: props.isOpen,\n\t\t\t\tuseDefaultStructure:\n\t\t\t\t\tprops.useDefaultStructure !== undefined ? props.useDefaultStructure : initialModalState.useDefaultStructure,\n\t\t\t\tcloseOnOutsideClick:\n\t\t\t\t\tprops.closeOnOutsideClick !== undefined ? props.closeOnOutsideClick : initialModalState.closeOnOutsideClick,\n\t\t\t\ttitleText: props.titleText || initialModalState.titleText,\n\t\t\t\tcloseText: props.closeText || initialModalState.closeText\n\t\t\t});\n\t\t}\n\n\t\t// on unmount (which can also be a page change)\n\t\treturn () => {\n\t\t\tafterClose();\n\t\t};\n\t}, [props.isOpen]);\n\n\tReact.useEffect(() => {\n\t\tsetModalState((prevState) => ({ ...prevState, titleText: props.titleText || initialModalState.titleText }));\n\t}, [props.titleText]);\n\n\tif (el) {\n\t\treturn ReactDOM.createPortal(\n\t\t\t\n\t\t\t\t {\n\t\t\t\t\t\tmodalState.closeOnOutsideClick && closeModal();\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t
e.stopPropagation()}>\n\t\t\t\t\t\t{modalState.useDefaultStructure ? (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t{modalState.titleText}\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
{childrenWithProps}
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t{modalState.titleText}\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t{childrenWithProps}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t,\n\t\t\tel\n\t\t);\n\t} else {\n\t\treturn null;\n\t}\n};\n\nexport default GlobalModal;\n","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgChevronDown(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15.25 10.75L12 14.25L8.75 10.75\",\n stroke: \"#001B2E\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgChevronDown);\nexport default __webpack_public_path__ + \"static/media/chevron-down.babfb7b4.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../apibridge';\n\n// UTILS\nimport { loadScriptByURL, SITE_KEY, validationErrorsToString } from '../utils';\n\n// COMPONENTS\nimport FilesList from './FilesList';\nimport GlobalModal from './GlobalModal';\n\n// ICONS\nimport { ReactComponent as UploadIcon } from '../assets/svg/upload.svg';\nimport Button from './Button';\nimport { Link } from 'react-router-dom';\n\n// TYPES\nexport interface FileType {\n\tid?: string;\n\tdisplayFileName?: string;\n\tlink?: string;\n\tname?: string;\n\tsize?: number;\n\ttype?: string;\n\tuploadInProgress?: boolean;\n\tpercentComplete?: number;\n}\n\ninterface FileUploadTypes {\n\tkeyValue?: string;\n\tlabel?: string;\n\tname: string;\n\tplaceholder?: string;\n\tonChange?: any;\n\tmultiple?: boolean;\n\tmaxSizeMb?: number; // specify in mb // defaults to 5mb\n\timagesOnly?: boolean;\n\tfiles?: FileType[];\n\tdisabled?: boolean;\n}\n\nexport type progressType = (file: FileType, kbComplete: number | undefined) => void;\nexport type boundProgressType = (kbComplete: number | undefined) => void;\n\nconst allAllowedFileTypes = [\n\t'image/jpg',\n\t'image/jpeg',\n\t'image/png',\n\t'application/pdf'\n\t// 'application/msword', // .doc, .rtf\n\t// 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', // .docx\n\t// 'application/vnd.oasis.opendocument.text', // .odt google open doc\n\t// 'text/plain'\n];\n\nconst imageAllowedFileTypes = ['image/jpg', 'image/jpeg', 'image/png'];\n\n// NOTE: files are always passed in as an array, whether there are 1 or many\n// The return for the callback will be a string or an array - depending on the multiple property\n\nexport const FileUpload: React.FC = ({\n\tkeyValue = '',\n\tlabel = '',\n\tname = '',\n\tplaceholder = '',\n\tonChange,\n\tmultiple = false,\n\tmaxSizeMb = 5,\n\timagesOnly = false,\n\tfiles,\n\tdisabled = false\n}) => {\n\tconst fileInput = React.useRef(null);\n\tconst [filesInitialised, setFilesInitialised] = React.useState(false);\n\tconst previousFileIds = React.useRef('');\n\tconst [selectedFiles, setSelectedFiles] = React.useState([]);\n\tconst [error, setError] = React.useState('');\n\tconst [documentModal, setDocumentModal] = React.useState(false);\n\n\tReact.useEffect(() => {\n\t\tloadScriptByURL('recaptcha-key', function () {\n\t\t\t// console.log('Script Loaded');\n\t\t});\n\t}, []);\n\n\tconst handleChange = () => {\n\t\tif (onChange) {\n\t\t\tconst completedFiles = selectedFiles.filter((file) => !file.uploadInProgress);\n\t\t\t// if (!completedFiles.length) return;\n\n\t\t\tconst fileIds = completedFiles.map((file) => file.id);\n\t\t\tif (fileIds.join('') === previousFileIds.current) return;\n\t\t\tpreviousFileIds.current = fileIds.join('');\n\n\t\t\tif (multiple) {\n\t\t\t\t// if multiple - return an array of ids\n\t\t\t\tonChange(fileIds || [], completedFiles);\n\t\t\t} else {\n\t\t\t\t// if single - return only id\n\t\t\t\tonChange(fileIds[0] || '', completedFiles);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst handleRemove = (id: string) => {\n\t\tsetSelectedFiles((prevState) => {\n\t\t\tconst newFiles = prevState.filter((file) => file.id !== id);\n\n\t\t\treturn newFiles;\n\t\t});\n\t};\n\n\tconst handleRemoveMultiple = (ids: string[]) => {\n\t\tsetSelectedFiles((prevState) => {\n\t\t\tconst newFiles = prevState.filter((file) => !ids.includes(file.id || ''));\n\t\t\treturn newFiles;\n\t\t});\n\t};\n\n\tconst updateUploadProgress: progressType = (file, kbComplete) => {\n\t\tsetSelectedFiles((prevState) => {\n\t\t\tconst tempFiles = prevState.slice();\n\n\t\t\ttempFiles.forEach((tempFile) => {\n\t\t\t\tif (tempFile.id === file.id) {\n\t\t\t\t\tif (typeof kbComplete === 'number' && typeof file.size === 'number') {\n\t\t\t\t\t\ttempFile.percentComplete = Math.ceil((kbComplete / file.size) * 100);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn tempFiles;\n\t\t});\n\t};\n\n\tconst completeUploadProgress = (file: FileType) => {\n\t\tsetSelectedFiles((prevState) => {\n\t\t\tconst tempFiles = prevState.slice();\n\n\t\t\ttempFiles.forEach((tempFile) => {\n\t\t\t\tif (tempFile.id === file.id) {\n\t\t\t\t\ttempFile.uploadInProgress = false;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn tempFiles;\n\t\t});\n\t};\n\n\tconst uploadFile = async (e: React.ChangeEvent) => {\n\t\tif (!e.target.files || !e.target.files.length) return;\n\n\t\tconst selectedFile = e.target.files[0];\n\t\tlet errorMessage = '';\n\t\t\n\t\tconst fileSize = selectedFile.size / 1024 / 1024; // Mb\n\n\t\tif (maxSizeMb && fileSize > maxSizeMb) {\n\t\t\terrorMessage = 'File size is too large';\n\t\t}\n\n\t\tconst allowedFileTypes = imagesOnly ? imageAllowedFileTypes : allAllowedFileTypes;\n\n\t\tif (!allowedFileTypes.includes(selectedFile.type)) {\n\t\t\terrorMessage = 'File type is not allowed';\n\t\t}\n\n\t\tsetError(errorMessage);\n\t\tif (errorMessage) return;\n\n\t\tawait window.grecaptcha.ready(async () => {\n\t\t\tawait window.grecaptcha.execute(SITE_KEY, { action: 'submit' }).then((token: string) => {\n\t\t\t\tuploadFilePartTwo(e, selectedFile, token);\n\t\t\t});\n\t\t});\n\t};\n\n\tconst uploadFilePartTwo = async (e: React.ChangeEvent, selectedFile: any, token: string) => {\n\t\tconst credentialsResponse = await apibridge.getUploadCredentials(selectedFile, token);\n\n\t\tif (credentialsResponse.isError) {\n\t\t\t// This error message is too long to display on the site, console.log instead and replace with a placeholder error message\n\t\t\tconsole.log(\n\t\t\t\tcredentialsResponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(credentialsResponse.validationErrors)\n\t\t\t\t\t: credentialsResponse.message || 'An error has occurred'\n\t\t\t);\n\n\t\t\tsetError('An error has occurred');\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst credentials = credentialsResponse.result;\n\n\t\tconst tempLink = credentials.sasUri;\n\t\tconst tempId = credentials.fileName;\n\n\t\tconst newFile = {\n\t\t\tid: tempId,\n\t\t\tdisplayFileName: selectedFile.name,\n\t\t\tlink: tempLink,\n\t\t\tname: selectedFile.name,\n\t\t\tsize: selectedFile.size,\n\t\t\ttype: selectedFile.type,\n\t\t\tuploadInProgress: true,\n\t\t\tpercentComplete: 0\n\t\t};\n\n\t\tsetSelectedFiles((prevState) => {\n\t\t\t// if multiple get all selected files, if single clear array\n\t\t\tconst newFiles = multiple ? prevState.slice() : [];\n\t\t\tnewFiles.push(newFile);\n\t\t\treturn newFiles;\n\t\t});\n\n\t\t// reset the input\n\t\tif (fileInput.current) {\n\t\t\tfileInput.current.value = '';\n\t\t}\n\n\t\tconst progressCallback: boundProgressType = updateUploadProgress.bind(null, newFile);\n\n\t\tconst response = await apibridge.uploadFile(selectedFile, credentials, progressCallback);\n\n\t\tif (!response) {\n\t\t\thandleRemove(newFile.id);\n\t\t\tsetError('An error occurred while uploading your file');\n\t\t} else {\n\t\t\tsetTimeout(() => {\n\t\t\t\tcompleteUploadProgress(newFile);\n\t\t\t}, 300);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (!filesInitialised && files && files.length) {\n\t\t\tsetFilesInitialised(true);\n\t\t\tsetSelectedFiles(files);\n\t\t}\n\t}, [files]);\n\n\tReact.useEffect(() => {\n\t\thandleChange();\n\t}, [selectedFiles]);\n\n\treturn (\n\t\t
\n\t\t\t{label && selectedFiles.length > 0 && }\n\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\n\t\t\t{!!error &&
{error}
}\n\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t{placeholder || 'Choose file...'}\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t

\n\t\t\t\t\tMax. {maxSizeMb}MB, JPG, PNG{!imagesOnly && ', PDF'}\n\t\t\t\t

\n\n\t\t\t\t{!imagesOnly && (\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t
\n\n\t\t\t\n\t\t\t\t<>\n\t\t\t\t\t

\n\t\t\t\t\t\tFor security reasons, ChildAware does not accept DOCX file uploads.\n\t\t\t\t\t

\n\t\t\t\t\t

\n\t\t\t\t\t\tIf you work with Microsoft Word, converting to PDF is easy, and the general steps to{' '}\n\t\t\t\t\t\t'Save a PDF' within a Microsoft application include:\n\t\t\t\t\t

\n\t\t\t\t\t
    \n\t\t\t\t\t\t
  1. \n\t\t\t\t\t\t\tSelect 'File {'>'} Save a Copy' or{' '}\n\t\t\t\t\t\t\t'File {'>'} Save As' to begin.\n\t\t\t\t\t\t
  2. \n\t\t\t\t\t\t
  3. \n\t\t\t\t\t\t\tAfter selecting the location to save the file, open the 'Save as type'{' '}\n\t\t\t\t\t\t\tdrop-down list and select 'PDF'.\n\t\t\t\t\t\t
  4. \n\t\t\t\t\t\t
  5. Select Save.
  6. \n\t\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\tIf you require further help saving your Microsoft documents as PDF, please review the detailed instructions\n\t\t\t\t\t\tvia{' '}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tMicrosoft's Support page.\n\t\t\t\t\t\t\n\t\t\t\t\t

\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default FileUpload;\n","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgEyeOn(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14.9998 12C14.9998 13.6569 13.6566 15 11.9998 15C10.3429 15 8.99976 13.6569 8.99976 12C8.99976 10.3431 10.3429 9 11.9998 9C13.6566 9 14.9998 10.3431 14.9998 12Z\",\n fill: \"#001B2E\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2.45801 12C3.73228 7.94288 7.52257 5 12.0002 5C16.4778 5 20.2681 7.94291 21.5424 12C20.2681 16.0571 16.4778 19 12.0002 19C7.52256 19 3.73226 16.0571 2.45801 12Z\",\n stroke: \"#001B2E\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgEyeOn);\nexport default __webpack_public_path__ + \"static/media/eye-on.9a3a5293.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// UTILS\nimport { listenForOutsideClicks } from '../utils';\n\n// ICONS\nimport { ReactComponent as ChevronDown } from '../assets/svg/chevron-down.svg';\n\ninterface SingleSelectTypes {\n\tname?: string;\n\tplaceholder?: string;\n\toptions?: { label?: string; value?: string }[];\n\tvalue?: string;\n\tonChange?: any;\n\tisDisabled?: boolean;\n\tclassName?: string;\n}\n\nexport const SingleSelect: React.FC = ({\n\tname = '',\n\tplaceholder = 'Please select...',\n\toptions,\n\tvalue,\n\tisDisabled = false,\n\tonChange,\n\tclassName\n}) => {\n\tconst [selectedValue, setSelectedValue] = React.useState(value === undefined ? value : '');\n\n\tconst [isOpen, setIsOpen] = React.useState(false);\n\tconst elementRef = React.useRef(null);\n\n\tlistenForOutsideClicks(elementRef, isOpen, setIsOpen);\n\n\tconst toggleOpen = (open?: boolean) => {\n\t\tif (open !== undefined) {\n\t\t\tsetIsOpen(open);\n\t\t} else {\n\t\t\tsetIsOpen(!isOpen);\n\t\t}\n\t};\n\n\tconst handleChange = (value: string | undefined) => {\n\t\tif (value !== undefined) {\n\t\t\ttoggleOpen(false);\n\n\t\t\tconst selectedValue = value.toString();\n\n\t\t\tsetSelectedValue(selectedValue);\n\n\t\t\tif (onChange) {\n\t\t\t\tonChange(selectedValue);\n\t\t\t}\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (value !== undefined) {\n\t\t\tsetSelectedValue(value);\n\t\t}\n\t}, [value]);\n\n\treturn (\n\t\t
\n\t\t\t toggleOpen()}\n\t\t\t\tonKeyDown={(e) => {\n\t\t\t\t\tif (e.key === 'Enter') {\n\t\t\t\t\t\ttoggleOpen();\n\t\t\t\t\t}\n\n\t\t\t\t\tif (e.key === 'Escape') {\n\t\t\t\t\t\ttoggleOpen();\n\t\t\t\t\t}\n\t\t\t\t}}\n\t\t\t\ttabIndex={0}\n\t\t\t>\n\t\t\t\t{!selectedValue ? (\n\t\t\t\t\t{placeholder}\n\t\t\t\t) : (\n\t\t\t\t\toptions &&\n\t\t\t\t\toptions.length &&\n\t\t\t\t\toptions\n\t\t\t\t\t\t.filter((option) => selectedValue === option.value || '')\n\t\t\t\t\t\t.map((option, index, options) => (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{option.label}\n\t\t\t\t\t\t\t\t{index !== options.length - 1 && ','}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t))\n\t\t\t\t)}\n\t\t\t\t\n\t\t\t
\n\n\t\t\t{options && options.length > 0 && isOpen ? (\n\t\t\t\t
\n\t\t\t\t\t
    \n\t\t\t\t\t\t{options.map((option, index) => {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t handleChange(option.value)}\n\t\t\t\t\t\t\t\t\ttabIndex={0}\n\t\t\t\t\t\t\t\t\tonKeyDown={(e) => {\n\t\t\t\t\t\t\t\t\t\tif (e.key === 'Enter') {\n\t\t\t\t\t\t\t\t\t\t\thandleChange(option.value);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif (e.key === 'Escape') {\n\t\t\t\t\t\t\t\t\t\t\ttoggleOpen();\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{option.label}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t) : null}\n\t\t\n\t);\n};\n\nexport default SingleSelect;\n","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgEyeOff(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13.8747 18.8246C13.2675 18.9398 12.6409 19 12.0003 19C7.52257 19 3.73227 16.0571 2.45801 12C2.80491 10.8955 3.33827 9.87361 4.02119 8.97118M6.58892 6.58916L2.99976 3M6.58892 6.58916C8.14874 5.58354 10.0064 5 12.0002 5C16.4779 5 20.2682 7.94291 21.5424 12C20.8355 14.2507 19.3543 16.1585 17.411 17.4112M6.58892 6.58916L17.411 17.4112M17.411 17.4112L20.9998 21\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M14.2424 14.364C15.414 13.1924 15.414 11.2929 14.2424 10.1213C13.0708 8.94974 11.1714 8.94972 9.99977 10.1213L14.2424 14.364Z\",\n fill: \"#8E18A8\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgEyeOff);\nexport default __webpack_public_path__ + \"static/media/eye-off.7875fd9b.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _path12, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgMailSent(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2 30.5006V69.5006H69.63V30.5006L35.5 1.64062L2 30.5006Z\",\n stroke: \"url(#paint0_linear_1505_40032)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2 30.5L24.58 49.74\",\n stroke: \"url(#paint1_linear_1505_40032)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M69.58 30.5L47 49.74\",\n stroke: \"url(#paint2_linear_1505_40032)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M57.5 40V12H13.5V40\",\n fill: \"white\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M57.5 40V12H13.5V40\",\n stroke: \"url(#paint3_linear_1505_40032)\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20.5 20H39.5\",\n stroke: \"url(#paint4_linear_1505_40032)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20.5 27H44.5\",\n stroke: \"url(#paint5_linear_1505_40032)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path8 || (_path8 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20.5 34H49.5\",\n stroke: \"url(#paint6_linear_1505_40032)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path9 || (_path9 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M57 26C63.9036 26 69.5 20.4036 69.5 13.5C69.5 6.59644 63.9036 1 57 1C50.0964 1 44.5 6.59644 44.5 13.5C44.5 20.4036 50.0964 26 57 26Z\",\n fill: \"white\"\n })), _path10 || (_path10 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M57 26C63.9036 26 69.5 20.4036 69.5 13.5C69.5 6.59644 63.9036 1 57 1C50.0964 1 44.5 6.59644 44.5 13.5C44.5 20.4036 50.0964 26 57 26Z\",\n stroke: \"url(#paint7_linear_1505_40032)\",\n strokeWidth: 2\n })), _path11 || (_path11 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M50.5 15L55 19.5L63.5 10\",\n stroke: \"url(#paint8_linear_1505_40032)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path12 || (_path12 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2 69.5004L35.82 39.9004L69.63 69.5004\",\n stroke: \"url(#paint9_linear_1505_40032)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1505_40032\",\n x1: 11.7207,\n y1: 4.55593,\n x2: 51.3769,\n y2: 49.5731,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint1_linear_1505_40032\",\n x1: 5.24551,\n y1: 31.3266,\n x2: 16.1183,\n y2: 45.8611,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint2_linear_1505_40032\",\n x1: 50.2455,\n y1: 31.3266,\n x2: 61.1183,\n y2: 45.8611,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint3_linear_1505_40032\",\n x1: 19.8243,\n y1: 13.2029,\n x2: 33.8704,\n y2: 38.3445,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint4_linear_1505_40032\",\n x1: 23.2309,\n y1: 20.043,\n x2: 23.2853,\n y2: 21.2186,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint5_linear_1505_40032\",\n x1: 23.9496,\n y1: 27.043,\n x2: 23.9927,\n y2: 28.2196,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint6_linear_1505_40032\",\n x1: 24.6683,\n y1: 34.043,\n x2: 24.7039,\n y2: 35.2201,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint7_linear_1505_40032\",\n x1: 48.0933,\n y1: 2.07401,\n x2: 62.6966,\n y2: 18.7078,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint8_linear_1505_40032\",\n x1: 52.3685,\n y1: 10.4081,\n x2: 57.4555,\n y2: 18.3372,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint9_linear_1505_40032\",\n x1: 11.7207,\n y1: 41.172,\n x2: 23.397,\n y2: 71.5594,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgMailSent);\nexport default __webpack_public_path__ + \"static/media/mail-sent.1751572d.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { loadScriptByURL, SITE_KEY, validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { Link, useHistory } from 'react-router-dom';\nimport moment from 'moment';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport DateInput from '../../components/DateInput';\nimport FileUpload from '../../components/FileUpload';\nimport SingleSelect from '../../components/SingleSelect';\n\n// ICONS\nimport { ReactComponent as ArrowLeft } from '../../assets/svg/arrow-left.svg';\nimport { ReactComponent as EyeOn } from '../../assets/svg/eye-on.svg';\nimport { ReactComponent as EyeOff } from '../../assets/svg/eye-off.svg';\n\n// TYPES\nimport { UserInfoType } from './CreateAccount';\nimport { AccountRegistrationCommand, DomainProfileType } from '../../api/models';\n\ninterface AccountFormTypes {\n\tpreviousUrl?: string;\n\treturnUrl?: string;\n\tuserInfo: UserInfoType;\n\tsetUserInfo: React.Dispatch>;\n}\n\nexport interface FormTypes extends Omit {\n\tagreeToTerms?: boolean;\n\toverMinAge?: boolean;\n\tdateOfBirth?: string;\n}\n\nexport const AccountForm: React.FC = ({ previousUrl, returnUrl, userInfo, setUserInfo }) => {\n\tconst history = useHistory();\n\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Error and loading state\n\tconst [loading, setLoading] = React.useState(false);\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst formRef = React.createRef();\n\n\tconst [showPassword, setShowPassword] = React.useState(false);\n\tconst [showConfirmPassword, setShowConfirmPassword] = React.useState(false);\n\n\tconst isStudent = userInfo.profileType?.toLowerCase() === DomainProfileType.Student.toLowerCase();\n\n\t/// Setup years for student to select\n\tconst years = () => {\n\t\tconst currentYear = moment().year();\n\n\t\t// Student should only cover from 13-18 years old.\n\t\tconst minAge = 13;\n\t\tconst maxAge = 18;\n\n\t\tlet startYear = currentYear - minAge;\n\t\tlet endYear = currentYear - maxAge;\n\n\t\tconst years = [];\n\n\t\twhile (endYear <= startYear) {\n\t\t\tconst year = endYear++;\n\t\t\tyears.push({ label: year.toString(), value: year.toString() });\n\t\t}\n\n\t\treturn years.reverse();\n\t};\n\n\tconst goBack = () => {\n\t\tif (previousUrl) {\n\t\t\thistory.push(previousUrl);\n\t\t} else {\n\t\t\thistory.goBack();\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\t// load google reCAPTCHA script\n\t\tloadScriptByURL('recaptcha-key', function () {});\n\t}, []);\n\n\tconst doCreate = async (values: FormTypes) => {\n\t\tsetLoading(true);\n\n\t\tawait window.grecaptcha.ready(() => {\n\t\t\twindow.grecaptcha.execute(SITE_KEY, { action: 'submit' }).then((token: string) => {\n\t\t\t\tcreateAccount(values, token);\n\t\t\t});\n\t\t});\n\t};\n\n\tconst createAccount = async (values: FormTypes, token: string) => {\n\t\tconst fieldValues = {\n\t\t\t...values,\n\t\t\torganisationIdentifier: userInfo.organisationIdentifier || '',\n\t\t\tpaymentPlanId: userInfo.paymentPlanId || undefined,\n\t\t\tprofileType: userInfo.profileType || undefined,\n\t\t\tcaptchaToken: token || undefined\n\t\t};\n\n\t\tdelete fieldValues.agreeToTerms;\n\n\t\tdelete fieldValues.overMinAge;\n\n\t\tconst response = await apibridge.doCreateAccount(fieldValues);\n\n\t\tsetLoading(false);\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length ? validationErrorsToString(response.validationErrors) : response.message\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetUserInfo({\n\t\t\t\temail: values.email,\n\t\t\t\tparentEmail: values.parentEmail,\n\t\t\t\torganisationIdentifier: fieldValues.organisationIdentifier,\n\t\t\t\tpaymentPlanId: fieldValues.paymentPlanId,\n\t\t\t\tprofileType: fieldValues.profileType\n\t\t\t});\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (formRef.current) {\n\t\t\tformRef.current.addEventListener('click', setFormErrorMessage.bind(null, ''));\n\t\t}\n\n\t\treturn () => {\n\t\t\tif (formRef.current) {\n\t\t\t\tformRef.current.removeEventListener('click', setFormErrorMessage.bind(null, ''));\n\t\t\t}\n\t\t};\n\t}, []);\n\n\tconst initialValues: FormTypes = {\n\t\tprofileImageName: '',\n\t\tfirstName: '',\n\t\tlastName: '',\n\t\tdateOfBirth: '',\n\t\tphoneNumber: '',\n\t\temail: '',\n\t\tparentEmail: '',\n\t\tpassword: '',\n\t\tconfirmPassword: '',\n\t\tagreeToTerms: false,\n\t\toverMinAge: false,\n\t\torganisationIdentifier: userInfo.organisationIdentifier || '',\n\t\tpaymentPlanId: userInfo.paymentPlanId || undefined,\n\t\tprofileType: userInfo.profileType || undefined\n\t};\n\n\t// FORM VALIDATION FOR AUSTRALIAN PHONE NUMBERS\n\tconst phoneRegExp =\n\t\t/^(?:\\+?(61))? ?(?:\\((?=.*\\)))?(0?[2-57-8])\\)? ?(\\d\\d(?:[- ](?=\\d{3})|(?!\\d\\d[- ]?\\d[- ]))\\d\\d[- ]?\\d[- ]?\\d{3})$/;\n\n\tconst validationSchema = Yup.object({\n\t\tfirstName: Yup.string().required('Required'),\n\t\tlastName: Yup.string().required('Required'),\n\t\tdateOfBirth: Yup.string().required('Required'),\n\t\tphoneNumber: Yup.string().when('profileType', {\n\t\t\tis: (value: DomainProfileType) =>\n\t\t\t\tvalue !== undefined ? value.toLowerCase() !== DomainProfileType.Student.toLowerCase() : false,\n\t\t\tthen: Yup.string().matches(phoneRegExp, 'Phone number is not valid').required('Required')\n\t\t}),\n\t\temail: Yup.string().required('Required').email('Please enter a valid email address'),\n\t\tparentEmail: Yup.string().when('profileType', {\n\t\t\tis: (value: DomainProfileType) =>\n\t\t\t\tvalue !== undefined ? value.toLowerCase() === DomainProfileType.Student.toLowerCase() : false,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\tpassword: Yup.string()\n\t\t\t.required('Required')\n\t\t\t.min(12, 'Minimum of 12 characters')\n\t\t\t.matches(\n\t\t\t\t/^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*(),.?\":{}|<>]).{12,}$/,\n\t\t\t\t'Please enter a valid password'\n\t\t\t),\n\t\tconfirmPassword: Yup.string()\n\t\t\t.required('Required')\n\t\t\t.oneOf([Yup.ref('password'), null], 'Passwords must match'),\n\t\tagreeToTerms: Yup.bool().required('Required').oneOf([true], 'You must agree to continue'),\n\t\toverMinAge: Yup.bool().when('profileType', {\n\t\t\tis: (value: DomainProfileType) =>\n\t\t\t\tvalue !== undefined ? value.toLowerCase() === DomainProfileType.Student.toLowerCase() : false,\n\t\t\tthen: Yup.bool().required('Required').oneOf([true], 'You must agree to continue')\n\t\t})\n\t});\n\n\treturn (\n\t\t<>\n\t\t\t\n\n\t\t\t\n\t\t\t\t{(formik) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t

Create your account

\n\n\t\t\t\t\t\t\t\t{!!previousUrl && (\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\tAlready have an account?{' '}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tLogin here\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{!isStudent && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('profileImageName', val)}\n\t\t\t\t\t\t\t\t\t\t\tmultiple={false}\n\t\t\t\t\t\t\t\t\t\t\tmaxSizeMb={5}\n\t\t\t\t\t\t\t\t\t\t\timagesOnly={true}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t{!isStudent ? (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('dateOfBirth', val)}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('dateOfBirth', `01/01/${val}`)}\n\t\t\t\t\t\t\t\t\t\t\t\toptions={years()}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('overMinAge', !formik.values.overMinAge)}\n\t\t\t\t\t\t\t\t\t\t\t\t\tchecked={formik.values.overMinAge}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\tI am 13 years or older\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\tPlease use an email address for your ChildAware account that is secure and only you have access to.\n\t\t\t\t\t\t\t\t\t\tTo help keep your ChildAware account secure we will send two factor authentication codes to this\n\t\t\t\t\t\t\t\t\t\temail address.\n\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t{isStudent && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{!isStudent && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t

For a landline, please include an area code e.g. 03 XXX

\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t : }\n\t\t\t\t\t\t\t\t\t\t\tonClick={() => setShowPassword(!showPassword)}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t : }\n\t\t\t\t\t\t\t\t\t\t\tonClick={() => setShowConfirmPassword(!showConfirmPassword)}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
  • Minimum of 12 characters
  • \n\t\t\t\t\t\t\t\t\t\t\t
  • At least one lower case letter
  • \n\t\t\t\t\t\t\t\t\t\t\t
  • At least one upper case letter
  • \n\t\t\t\t\t\t\t\t\t\t\t
  • At least one number
  • \n\t\t\t\t\t\t\t\t\t\t\t
  • At least one special character (e.g. ! @ ?)
  • \n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{!!formErrorMessage &&
{formErrorMessage}
}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t);\n\t\t\t\t}}\n\t\t\t\n\t\t\n\t);\n};\n\nexport default AccountForm;\n","var _path, _path2, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgTickCircle(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12Z\",\n fill: \"url(#paint0_linear_1505_40165)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.79999 12.3913L10.3454 15L16.2 9\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1505_40165\",\n x1: 4.5,\n y1: 3.3,\n x2: 16.7847,\n y2: 17.2039,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#7FDE8E\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#1DC072\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgTickCircle);\nexport default __webpack_public_path__ + \"static/media/tick-circle.d83bd9af.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgAlert(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M32.2837 6.23876C32.6477 5.56129 33.1849 4.99583 33.8389 4.60187C34.4929 4.20791 35.2394 4 36 4C36.7606 4 37.5071 4.20791 38.1611 4.60187C38.8151 4.99583 39.3523 5.56129 39.7163 6.23876L55.098 33.7916L70.3877 61.1583C70.7796 61.8388 70.9905 62.6109 70.9997 63.399C71.0089 64.187 70.8161 64.9639 70.4403 65.6537C70.0645 66.3434 69.5185 66.9223 68.8558 67.3336C68.1931 67.7449 67.4364 67.9746 66.6599 68H5.34009C4.5636 67.9746 3.80689 67.7449 3.14419 67.3336C2.4815 66.9223 1.93551 66.3434 1.55969 65.6537C1.18386 64.9639 0.991106 64.187 1.00032 63.399C1.00952 62.6109 1.22043 61.8388 1.61226 61.1583L16.902 33.7916L32.2837 6.23876Z\",\n stroke: \"url(#paint0_linear_1289_16489)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M33.398 49.4178C32.4336 43.422 31.9665 37.3507 32.0019 31.2713V23H40.9944V31.2713C41.058 37.3537 40.5759 43.429 39.5543 49.4178H33.398ZM32.4306 56.7383C32.4306 55.6081 32.8615 54.524 33.6284 53.7248C34.3953 52.9256 35.4356 52.4766 36.5202 52.4766C37.6048 52.4766 38.645 52.9256 39.4119 53.7248C40.1789 54.524 40.6097 55.6081 40.6097 56.7383C40.6097 57.8686 40.1789 58.9526 39.4119 59.7518C38.645 60.551 37.6048 61 36.5202 61C35.4356 61 34.3953 60.551 33.6284 59.7518C32.8615 58.9526 32.4306 57.8686 32.4306 56.7383V56.7383Z\",\n stroke: \"url(#paint1_linear_1289_16489)\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1289_16489\",\n x1: 11.0614,\n y1: 6.74948,\n x2: 47.8701,\n y2: 52.607,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint1_linear_1289_16489\",\n x1: 33.2936,\n y1: 24.6325,\n x2: 44.5522,\n y2: 27.6698,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgAlert);\nexport default __webpack_public_path__ + \"static/media/alert.e6f85b4e.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// COMPONENTS\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as MailIcon } from '../../assets/svg/mail-sent.svg';\nimport { ReactComponent as TickIcon } from '../../assets/svg/tick-circle.svg';\n\n// TYPES\nimport { UserInfoType } from './CreateAccount';\n\ninterface CheckEmailTypes {\n\tuserInfo: UserInfoType;\n}\n\nexport const CheckEmail: React.FC = ({ userInfo }) => {\n\tconst [loading, setLoading] = React.useState(false);\n\tconst [emailSent, setEmailSent] = React.useState(false);\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst resendEmail = async () => {\n\t\tsetEmailSent(false);\n\n\t\tsetLoading(true);\n\n\t\tconst fieldValues = { ...userInfo };\n\n\t\tconst response = await apibridge.doResendEmailVerification(fieldValues);\n\n\t\tsetLoading(false);\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length ? validationErrorsToString(response.validationErrors) : response.message\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetEmailSent(true);\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t

You’re almost done...

\n\t\t\t
\n\n\t\t\t{!userInfo.parentEmail ? (\n\t\t\t\t<>\n\t\t\t\t\t
\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tA confirmation email has been sent to {userInfo.email}\n\t\t\t\t\t\t

\n\n\t\t\t\t\t\t

Please follow the link in the email to activate and confirm your account.

\n\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tIf you don’t receive an email, it may be because you already have a ChildAware account associated with\n\t\t\t\t\t\t\tthis email address. Please log in with your existing account.\n\t\t\t\t\t\t

\n\t\t\t\t\t
\n\n\t\t\t\t\t
\n\t\t\t\t\t\t{!!formErrorMessage &&
{formErrorMessage}
}\n\n\t\t\t\t\t\t{!!emailSent && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tEmail sent\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t) : (\n\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\tA verification email has been sent to your parent’s email address: {userInfo.parentEmail}\n\t\t\t\t\t

\n\n\t\t\t\t\t

Your parent must verify your account before you can start using ChildAware.

\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default CheckEmail;\n","import * as React from 'react';\n\n// UTILS\nimport { queryStringToObject } from '../../utils';\n\n// PACKAGES\nimport { useLocation } from 'react-router-dom';\n\n// COMPONENTS\nimport AccountForm from './AccountForm';\nimport CheckEmail from './CheckEmail';\n\n// TYPES\nimport { AccountRegistrationCommand, DomainProfileType } from '../../api/models';\n\nexport interface UserInfoType {\n\temail?: string;\n\tparentEmail?: string;\n\torganisationIdentifier?: AccountRegistrationCommand['organisationIdentifier'];\n\tpaymentPlanId?: AccountRegistrationCommand['paymentPlanId'];\n\tprofileType?: DomainProfileType;\n}\n\ninterface CreateAccountTypes {}\n\nexport const CreateAccount: React.FC = ({}) => {\n\tconst location = useLocation();\n\n\tconst [returnUrl, setReturnUrl] = React.useState('');\n\tconst [previousUrl, setPreviousUrl] = React.useState('');\n\n\tconst [userInfo, setUserInfo] = React.useState({\n\t\temail: '',\n\t\tparentEmail: '',\n\t\torganisationIdentifier: '',\n\t\tpaymentPlanId: undefined,\n\t\tprofileType: undefined\n\t});\n\n\tconst checkLocationParams = () => {\n\t\tconst locationParams = location.state;\n\t\tconst queryParams = queryStringToObject();\n\t\tconst params = { ...locationParams, ...queryParams };\n\n\t\tif (params.previousUrl) {\n\t\t\tsetPreviousUrl(params.previousUrl);\n\t\t}\n\n\t\tif (params.returnUrl) {\n\t\t\tsetReturnUrl(params.returnUrl);\n\t\t}\n\n\t\tif (params.organisationIdentifier || params.paymentPlanId || params.profileType) {\n\t\t\tsetReturnUrl(params.returnUrl);\n\n\t\t\tsetUserInfo({\n\t\t\t\t...userInfo,\n\t\t\t\torganisationIdentifier: params.organisationIdentifier || '',\n\t\t\t\tpaymentPlanId: params.paymentPlanId || undefined,\n\t\t\t\tprofileType: params.profileType || undefined\n\t\t\t});\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tcheckLocationParams();\n\t}, []);\n\n\treturn (\n\t\t
\n\t\t\t{!userInfo.email ? (\n\t\t\t\t\n\t\t\t) : (\n\t\t\t\t\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default CreateAccount;\n","var _g, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgCelebrate(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n clipPath: \"url(#clip0_1505_40042)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M45.6904 43.6702C48.5304 48.5702 49.4004 52.7802 47.5304 54.5202C44.6604 57.1902 36.3904 52.9802 29.0704 45.1102C21.7504 37.2402 18.1504 28.6902 21.0704 26.0202C22.7204 24.4802 26.1604 25.2202 30.1804 27.6302\",\n stroke: \"url(#paint0_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M46.79 55.01L5 70L20.03 27.5\",\n stroke: \"url(#paint1_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14.6602 42.6895L34.5502 50.2395\",\n stroke: \"url(#paint2_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.5498 49.5L36.5498 58.5\",\n stroke: \"url(#paint3_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.6602 55.6895L26.5502 62.4995\",\n stroke: \"url(#paint4_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M7.66016 62.6895L16.5502 65.4995\",\n stroke: \"url(#paint5_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M28.5498 37.5C28.5498 37.5 38.5498 27.5 37.5498 15.5\",\n stroke: \"url(#paint6_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M37.1904 37.4C37.1904 37.4 46.8804 33.4 48.5504 25.5\",\n stroke: \"url(#paint7_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M52.5501 7.49936L47.0488 1.99805L41.5475 7.49936L47.0488 13.0007L52.5501 7.49936Z\",\n stroke: \"url(#paint8_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M67.5511 43.5033L62.0498 38.002L56.5485 43.5033L62.0498 49.0046L67.5511 43.5033Z\",\n stroke: \"url(#paint9_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M24.7998 7.5V12.03\",\n stroke: \"url(#paint10_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M24.7998 17.4707V22.0007\",\n stroke: \"url(#paint11_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M32.0495 14.75H27.5195\",\n stroke: \"url(#paint12_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M22.0798 14.75H17.5498\",\n stroke: \"url(#paint13_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M29.9197 19.8799L26.7197 16.6699\",\n stroke: \"url(#paint14_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M22.8799 12.8291L19.6699 9.61914\",\n stroke: \"url(#paint15_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M29.7295 9.7207L26.5195 12.9207\",\n stroke: \"url(#paint16_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M22.6797 16.7695L19.4697 19.9695\",\n stroke: \"url(#paint17_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M60.7998 16.5V21.03\",\n stroke: \"url(#paint18_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M60.7998 26.4707V31.0007\",\n stroke: \"url(#paint19_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M68.0495 23.75H63.5195\",\n stroke: \"url(#paint20_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M58.0798 23.75H53.5498\",\n stroke: \"url(#paint21_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M65.9197 28.8799L62.7197 25.6699\",\n stroke: \"url(#paint22_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M58.8799 21.8291L55.6699 18.6191\",\n stroke: \"url(#paint23_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M65.7295 18.7207L62.5195 21.9207\",\n stroke: \"url(#paint24_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M58.6797 25.7695L55.4697 28.9695\",\n stroke: \"url(#paint25_linear_1505_40042)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1505_40042\",\n x1: 24.147,\n y1: 26.5083,\n x2: 41.8346,\n y2: 45.5559,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint1_linear_1505_40042\",\n x1: 11.0066,\n y1: 29.3258,\n x2: 35.8828,\n y2: 57.1876,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint2_linear_1505_40042\",\n x1: 17.519,\n y1: 43.0138,\n x2: 20.1871,\n y2: 51.0199,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint3_linear_1505_40042\",\n x1: 15.9994,\n y1: 49.8866,\n x2: 19.149,\n y2: 59.4533,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint4_linear_1505_40042\",\n x1: 12.9441,\n y1: 55.982,\n x2: 15.5885,\n y2: 63.0104,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint5_linear_1505_40042\",\n x1: 8.93795,\n y1: 62.8102,\n x2: 9.79097,\n y2: 65.8841,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint6_linear_1505_40042\",\n x1: 29.8535,\n y1: 16.4451,\n x2: 39.8264,\n y2: 21.1285,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint7_linear_1505_40042\",\n x1: 38.8232,\n y1: 26.0112,\n x2: 45.8089,\n y2: 33.6071,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint8_linear_1505_40042\",\n x1: 47.6032,\n y1: 3.02511,\n x2: 47.1564,\n y2: 9.89889,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint9_linear_1505_40042\",\n x1: 62.6042,\n y1: 39.029,\n x2: 62.1574,\n y2: 45.9028,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint10_linear_1505_40042\",\n x1: 24.9435,\n y1: 7.69461,\n x2: 26.2057,\n y2: 8.01198,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint11_linear_1505_40042\",\n x1: 24.9435,\n y1: 17.6653,\n x2: 26.2057,\n y2: 17.9827,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint12_linear_1505_40042\",\n x1: 28.1706,\n y1: 14.793,\n x2: 28.3907,\n y2: 15.9285,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint13_linear_1505_40042\",\n x1: 18.2009,\n y1: 14.793,\n x2: 18.421,\n y2: 15.9285,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint14_linear_1505_40042\",\n x1: 27.1797,\n y1: 16.8078,\n x2: 29.0555,\n y2: 18.9378,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint15_linear_1505_40042\",\n x1: 20.1313,\n y1: 9.75704,\n x2: 22.0064,\n y2: 11.8928,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint16_linear_1505_40042\",\n x1: 26.9809,\n y1: 9.85818,\n x2: 28.8494,\n y2: 11.9931,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint17_linear_1505_40042\",\n x1: 19.9311,\n y1: 16.907,\n x2: 21.7996,\n y2: 19.0419,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint18_linear_1505_40042\",\n x1: 60.9435,\n y1: 16.6946,\n x2: 62.2057,\n y2: 17.012,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint19_linear_1505_40042\",\n x1: 60.9435,\n y1: 26.6653,\n x2: 62.2057,\n y2: 26.9827,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint20_linear_1505_40042\",\n x1: 64.1706,\n y1: 23.793,\n x2: 64.3907,\n y2: 24.9285,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint21_linear_1505_40042\",\n x1: 54.2009,\n y1: 23.793,\n x2: 54.421,\n y2: 24.9285,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint22_linear_1505_40042\",\n x1: 63.1797,\n y1: 25.8078,\n x2: 65.0555,\n y2: 27.9378,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint23_linear_1505_40042\",\n x1: 56.1313,\n y1: 18.757,\n x2: 58.0064,\n y2: 20.8928,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint24_linear_1505_40042\",\n x1: 62.9809,\n y1: 18.8582,\n x2: 64.8494,\n y2: 20.9931,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint25_linear_1505_40042\",\n x1: 55.9311,\n y1: 25.907,\n x2: 57.7996,\n y2: 28.0419,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"clip0_1505_40042\"\n }, /*#__PURE__*/React.createElement(\"rect\", {\n width: 65.05,\n height: 70,\n fill: \"white\",\n transform: \"translate(4 1)\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgCelebrate);\nexport default __webpack_public_path__ + \"static/media/celebrate.a545ab4a.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStatusSuccess(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z\",\n fill: \"url(#paint0_linear_1625_50614)\"\n })), /*#__PURE__*/React.createElement(\"g\", {\n style: {\n mixBlendMode: \"soft-light\"\n }\n }, _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19.9997 34.7689C28.1565 34.7689 34.7689 28.1565 34.7689 19.9997C34.7689 11.8429 28.1565 5.23047 19.9997 5.23047C11.8429 5.23047 5.23047 11.8429 5.23047 19.9997C5.23047 28.1565 11.8429 34.7689 19.9997 34.7689Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }))), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13 20.6522L17.2424 25L27 15\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1625_50614\",\n x1: 7.5,\n y1: 5.5,\n x2: 27.9745,\n y2: 28.6731,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#7FDE8E\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#1DC072\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStatusSuccess);\nexport default __webpack_public_path__ + \"static/media/status-success.c38726e6.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { loadScriptByURL, SITE_KEY, validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { Link } from 'react-router-dom';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as EyeOn } from '../../assets/svg/eye-on.svg';\nimport { ReactComponent as EyeOff } from '../../assets/svg/eye-off.svg';\n\n// TYPES\nimport { AuthenticationLoginCommand, AccountRegistrationCommand } from '../../api/models';\n\ninterface LoginFormTypes {\n\temailAddress?: string;\n\torganisationIdentifier?: AccountRegistrationCommand['organisationIdentifier'];\n\tpaymentPlanId?: AccountRegistrationCommand['paymentPlanId'];\n\tprofileType?: AccountRegistrationCommand['profileType'];\n\tpreviousUrl?: string;\n\treturnUrl?: string;\n}\n\nexport const LoginForm: React.FC = ({\n\temailAddress,\n\torganisationIdentifier,\n\tpaymentPlanId,\n\tprofileType,\n\tpreviousUrl,\n\treturnUrl = '/dashboard'\n}) => {\n\tlet history = useHistory();\n\tconst dispatch = useAppDispatch();\n\tconst [loading, setLoading] = React.useState(false);\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst formRef = React.createRef();\n\tconst [showPassword, setShowPassword] = React.useState(false);\n\n\tReact.useEffect(() => {\n\t\tif (formRef.current) {\n\t\t\tformRef.current.addEventListener('click', setFormErrorMessage.bind(null, ''));\n\t\t}\n\n\t\treturn () => {\n\t\t\tif (formRef.current) {\n\t\t\t\tformRef.current.removeEventListener('click', setFormErrorMessage.bind(null, ''));\n\t\t\t}\n\t\t};\n\t}, []);\n\n\tReact.useEffect(() => {\n\t\t// load google reCAPTCHA script\n\t\tloadScriptByURL('recaptcha-key', function () {});\n\t}, []);\n\n\tconst initialValues: AuthenticationLoginCommand = {\n\t\tuserName: emailAddress || '',\n\t\tpassword: ''\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\tuserName: Yup.string().required('Required'),\n\t\tpassword: Yup.string().required('Required')\n\t});\n\n\tconst toggleShowPassword = () => {\n\t\tsetShowPassword(!showPassword);\n\t};\n\n\tconst login = async (values: AuthenticationLoginCommand, token: string) => {\n\t\tconst response = await apibridge.doLogin({\n\t\t\tuserName: values.userName,\n\t\t\tpassword: values.password,\n\t\t\tcaptchaToken: token\n\t\t});\n\n\t\tsetLoading(false);\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length ? validationErrorsToString(response.validationErrors) : response.message\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tif (response.result.isTwoFa) {\n\t\t\t\thistory.push({\n\t\t\t\t\tpathname: '/two-factor-authentication',\n\t\t\t\t\tstate: {\n\t\t\t\t\t\tusername: values.userName,\n\t\t\t\t\t\ttoken: response.result.twoFaToken,\n\t\t\t\t\t\treturnUrl,\n\t\t\t\t\t\torganisationIdentifier,\n\t\t\t\t\t\tpaymentPlanId,\n\t\t\t\t\t\tprofileType\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tdispatch(\n\t\t\t\t\tUserSlice.actions.update({\n\t\t\t\t\t\tchildAwareId: response.result.childAwareId,\n\t\t\t\t\t\temail: response.result.email,\n\t\t\t\t\t\tfirstName: response.result.firstName,\n\t\t\t\t\t\tlastName: response.result.lastName,\n\t\t\t\t\t\tloggedIn: true\n\t\t\t\t\t})\n\t\t\t\t);\n\n\t\t\t\thistory.push({\n\t\t\t\t\tpathname: returnUrl ? returnUrl.split('?')[0] : '/dashboard',\n\t\t\t\t\tsearch: returnUrl ? returnUrl.split('?')[1] : '/dashboard',\n\t\t\t\t\tstate: {\n\t\t\t\t\t\torganisationIdentifier: organisationIdentifier,\n\t\t\t\t\t\tpaymentPlanId: paymentPlanId,\n\t\t\t\t\t\tprofileType: profileType\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n\n\tconst doLogin = async (values: AuthenticationLoginCommand) => {\n\t\tsetLoading(true);\n\n\t\tawait window.grecaptcha.ready(() => {\n\t\t\twindow.grecaptcha.execute(SITE_KEY, { action: 'submit' }).then((token: string) => {\n\t\t\t\tlogin(values, token);\n\t\t\t});\n\t\t});\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t : }\n\t\t\t\t\t\t\t\t\t\tonClick={toggleShowPassword}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tForgot your password\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{!!formErrorMessage &&
{formErrorMessage}
}\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t);\n\t\t\t}}\n\t\t
\n\t);\n};\n\nexport default LoginForm;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { useAppSelector, useAppDispatch } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { useLocation } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// UTILS\nimport { queryStringToObject, validationErrorsToString } from '../../utils';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\nimport { ReactComponent as CelebrateIcon } from '../../assets/svg/celebrate.svg';\n\n// COMPONENTS\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport LoginForm from '../Login/LoginForm';\n\n// TYPES\nimport { AccountRegistrationCommand } from '../../api/models';\n\nexport interface UserInfoType {\n\tchildAwareId?: string;\n\tfirstName?: string;\n\temail?: string;\n\ttoken?: string;\n\torganisationIdentifier?: AccountRegistrationCommand['organisationIdentifier'];\n\tpaymentPlanId?: AccountRegistrationCommand['paymentPlanId'];\n\tprofileType?: AccountRegistrationCommand['profileType'];\n}\n\ninterface ConfirmEmailTypes {}\n\nexport const ConfirmEmail: React.FC = ({}) => {\n\tconst location = useLocation();\n\tconst dispatch = useAppDispatch();\n\n\t// Check if user is logged in\n\tconst isUserLoggedIn = useAppSelector((state) => state.user.loggedIn);\n\n\tReact.useEffect(() => {\n\t\tif (isUserLoggedIn) {\n\t\t\tdispatch(UserSlice.actions.logOut());\n\t\t}\n\t}, []);\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\tconst [confirmationSuccess, setConfirmationSuccess] = React.useState(false);\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [returnUrl, setReturnUrl] = React.useState(undefined);\n\n\tconst [userInfo, setUserInfo] = React.useState({\n\t\tchildAwareId: '',\n\t\tfirstName: '',\n\t\temail: '',\n\t\ttoken: '',\n\t\torganisationIdentifier: '',\n\t\tpaymentPlanId: undefined,\n\t\tprofileType: undefined\n\t});\n\n\tconst decideReturnUrl = () => {\n\t\tlet url = undefined;\n\n\t\tif (userInfo.organisationIdentifier && !userInfo.profileType) {\n\t\t\turl = `/find-organisation?id=${userInfo.organisationIdentifier}`;\n\t\t} else if (userInfo.paymentPlanId) {\n\t\t\turl = '/register-organisation';\n\t\t} else if (userInfo.profileType) {\n\t\t\turl = `/find-organisation?id=${userInfo.organisationIdentifier}&type=${userInfo.profileType}`;\n\t\t}\n\n\t\tsetReturnUrl(url);\n\t};\n\n\tconst confirmToken = async () => {\n\t\tconst locationParams = location.state;\n\t\tconst queryParams = queryStringToObject();\n\t\tconst params = { ...locationParams, ...queryParams };\n\n\t\tsetIsLoading(true);\n\n\t\tconst data = {\n\t\t\t...userInfo,\n\t\t\temail: params.email || '',\n\t\t\ttoken: params.token || '',\n\t\t\torganisationIdentifier: params.organisationIdentifier || '',\n\t\t\tpaymentPlanId: params.paymentPlanId || undefined,\n\t\t\tprofileType: params.profileType || undefined\n\t\t};\n\n\t\tif (data.token && data.email) {\n\t\t\tconst fields = {\n\t\t\t\temail: params.email,\n\t\t\t\ttoken: params.token\n\t\t\t};\n\n\t\t\tconst response = await apibridge.doEmailConfirmation(fields);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetFormErrorMessage('An error has occurred \\nPlease check your link and try again');\n\t\t\t} else if (response.result) {\n\t\t\t\tsetUserInfo({\n\t\t\t\t\t...data,\n\t\t\t\t\tchildAwareId: response.result.childAwareId,\n\t\t\t\t\tfirstName: response.result.firstName\n\t\t\t\t});\n\n\t\t\t\tsetConfirmationSuccess(true);\n\t\t\t}\n\t\t} else {\n\t\t\tsetFormErrorMessage('An error has occurred \\nPlease check your link and try again');\n\n\t\t\tsetConfirmationSuccess(false);\n\t\t}\n\n\t\tsetIsLoading(false);\n\t};\n\n\tReact.useEffect(() => {\n\t\tdecideReturnUrl();\n\t}, [userInfo]);\n\n\tReact.useEffect(() => {\n\t\tconfirmToken();\n\t}, []);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : !confirmationSuccess ? (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t

{formErrorMessage}

\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t

Welcome{!!userInfo.firstName && ' ' + userInfo.firstName + '!'}

\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t{!!userInfo.childAwareId && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\tYour ChildAware ID is {userInfo.childAwareId}\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t

Your ID has been emailed to you

\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default ConfirmEmail;\n","import * as React from 'react';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoginForm from './LoginForm';\n\n// ICONS\nimport { ReactComponent as MainLogo } from '../../assets/img/logo-main.svg';\n\n// TYPES\nimport { AccountRegistrationCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface LoginModalTypes {\n\torganisationIdentifier?: AccountRegistrationCommand['organisationIdentifier'];\n\tpaymentPlanId?: AccountRegistrationCommand['paymentPlanId'];\n\tprofileType?: AccountRegistrationCommand['profileType'];\n\tpreviousUrl?: string;\n\treturnUrl?: string;\n\tcloseModal?: closeModalType;\n}\n\nexport const LoginModal: React.FC = ({\n\torganisationIdentifier,\n\tpaymentPlanId,\n\tprofileType,\n\tpreviousUrl,\n\treturnUrl = '/dashboard',\n\tcloseModal\n}) => {\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{!!closeModal && (\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\n\t\t\t\t\t\n\n\t\t\t\t\t

Log in to your ChildAware account to continue

\n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default LoginModal;\n","import * as React from 'react';\n\n// UTILS\nimport { queryStringToObject } from '../../utils';\n\n// PACKAGES\nimport { useLocation } from 'react-router-dom';\n\n// COMPONENTS\nimport LoginModal from './LoginModal';\n\ninterface LoginTypes {}\n\nexport const Login: React.FC = ({}) => {\n\tconst location = useLocation();\n\tconst [params, setParams] = React.useState<{ [key: string]: any }>();\n\n\tconst checkLocationParams = () => {\n\t\tconst locationParams = location.state;\n\n\t\tconst queryParams = queryStringToObject();\n\t\t\n\t\tsetParams({ ...locationParams, ...queryParams });\n\t};\n\n\tReact.useEffect(() => {\n\t\tcheckLocationParams();\n\t}, []);\n\n\treturn ;\n};\n\nexport default Login;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { loadScriptByURL, SITE_KEY, validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as TickIcon } from '../../assets/svg/tick-circle.svg';\n\n// TYPES\nimport { AuthenticationForgotPasswordCommand, AccountRegistrationCommand } from '../../api/models';\n\ninterface ForgotFormTypes {\n\torganisationIdentifier?: AccountRegistrationCommand['organisationIdentifier'];\n\tpaymentPlanId?: AccountRegistrationCommand['paymentPlanId'];\n\tprofileType?: AccountRegistrationCommand['profileType'];\n}\n\nexport const ForgotForm: React.FC = ({ organisationIdentifier, paymentPlanId, profileType }) => {\n\tconst [loading, setLoading] = React.useState(false);\n\tconst [emailSent, setEmailSent] = React.useState(false);\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst formRef = React.createRef();\n\n\tReact.useEffect(() => {\n\t\tif (formRef.current) {\n\t\t\tformRef.current.addEventListener('click', setFormErrorMessage.bind(null, ''));\n\t\t}\n\n\t\treturn () => {\n\t\t\tif (formRef.current) {\n\t\t\t\tformRef.current.removeEventListener('click', setFormErrorMessage.bind(null, ''));\n\t\t\t}\n\t\t};\n\t}, []);\n\n\tconst initialValues: AuthenticationForgotPasswordCommand = {\n\t\temail: ''\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\temail: Yup.string().required('Required')\n\t});\n\n\tReact.useEffect(() => {\n\t\t// load google reCAPTCHA script\n\t\tloadScriptByURL('recaptcha-key', function () {});\n\t}, []);\n\n\tconst doLogin = async (values: AuthenticationForgotPasswordCommand) => {\n\t\tsetLoading(true);\n\n\t\tawait window.grecaptcha.ready(() => {\n\t\t\twindow.grecaptcha.execute(SITE_KEY, { action: 'submit' }).then((token: string) => {\n\t\t\t\tlogin(values, token);\n\t\t\t});\n\t\t});\n\t};\n\n\tconst login = async (values: AuthenticationForgotPasswordCommand, token: string) => {\n\t\tconst response = await apibridge.doForgotPassword({\n\t\t\temail: values.email,\n\t\t\tcaptchaToken: token\n\t\t});\n\n\t\tsetLoading(false);\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length ? validationErrorsToString(response.validationErrors) : response.message\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetEmailSent(true);\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{!!formErrorMessage &&
{formErrorMessage}
}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t{!!emailSent && (\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tEmail sent\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t);\n\t\t\t}}\n\t\t
\n\t);\n};\n\nexport default ForgotForm;\n","import * as React from 'react';\n\n// ICONS\nimport { ReactComponent as MainLogo } from '../../assets/img/logo-main.svg';\n\n// COMPONENTS\nimport ForgotForm from './ForgotForm';\n\ninterface ForgotPasswordTypes {}\n\nexport const ForgotPassword: React.FC = ({}) => {\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

Forgot your password?

\n\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tEnter your details below to receive an email with a link to reset your password\n\t\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default ForgotPassword;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as EyeOn } from '../../assets/svg/eye-on.svg';\nimport { ReactComponent as EyeOff } from '../../assets/svg/eye-off.svg';\n\n// TYPES\nimport { AuthenticationResetPasswordCommand } from '../../api/models';\n\ninterface ResetFormTypes {\n\ttoken?: string;\n\temail?: string;\n\tcallback: () => void;\n}\n\nexport const ResetForm: React.FC = ({ token, email, callback }) => {\n\tconst [loading, setLoading] = React.useState(false);\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst formRef = React.createRef();\n\tconst [showPassword, setShowPassword] = React.useState(false);\n\tconst [showConfirmPassword, setShowConfirmPassword] = React.useState(false);\n\n\tReact.useEffect(() => {\n\t\tif (formRef.current) {\n\t\t\tformRef.current.addEventListener('click', setFormErrorMessage.bind(null, ''));\n\t\t}\n\n\t\treturn () => {\n\t\t\tif (formRef.current) {\n\t\t\t\tformRef.current.removeEventListener('click', setFormErrorMessage.bind(null, ''));\n\t\t\t}\n\t\t};\n\t}, []);\n\n\tconst initialValues: AuthenticationResetPasswordCommand = {\n\t\ttoken,\n\t\temail,\n\t\tpassword: '',\n\t\tconfirmPassword: ''\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\tpassword: Yup.string()\n\t\t\t.required('Required')\n\t\t\t.min(12, 'Minimum of 12 characters')\n\t\t\t.matches(\n\t\t\t\t/^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*(),.?\":{}|<>]).{12,}$/,\n\t\t\t\t'Please enter a valid password'\n\t\t\t),\n\t\tconfirmPassword: Yup.string()\n\t\t\t.required('Required')\n\t\t\t.oneOf([Yup.ref('password'), null], 'Passwords must match')\n\t});\n\n\tconst doReset = async (values: AuthenticationResetPasswordCommand) => {\n\t\tsetLoading(true);\n\n\t\tconst response = await apibridge.doResetPassword(values);\n\n\t\tsetLoading(false);\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length ? validationErrorsToString(response.validationErrors) : response.message\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tif (callback) {\n\t\t\t\tcallback();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t : }\n\t\t\t\t\t\t\t\t\t\tonClick={() => setShowPassword(!showPassword)}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t : }\n\t\t\t\t\t\t\t\t\t\tonClick={() => setShowConfirmPassword(!showConfirmPassword)}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
  • Minimum of 12 characters
  • \n\t\t\t\t\t\t\t\t\t\t
  • At least one lower case letter
  • \n\t\t\t\t\t\t\t\t\t\t
  • At least one upper case letter
  • \n\t\t\t\t\t\t\t\t\t\t
  • At least one number
  • \n\t\t\t\t\t\t\t\t\t\t
  • At least one special character (e.g. ! @ ?)
  • \n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{!!formErrorMessage &&
{formErrorMessage}
}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default ResetForm;\n","import * as React from 'react';\n\n// PACKAGES\nimport { useLocation } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// UTILS\nimport { queryStringToObject } from '../../utils';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\nimport { ReactComponent as CelebrateIcon } from '../../assets/svg/celebrate.svg';\n\n// COMPONENTS\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport LoginForm from '../Login/LoginForm';\nimport ResetForm from './ResetForm';\n\n// TYPES\nimport { AccountRegistrationCommand } from '../../api/models';\n\nexport interface UserInfoType {\n\temail?: string;\n\ttoken?: string;\n\torganisationIdentifier?: AccountRegistrationCommand['organisationIdentifier'];\n\tpaymentPlanId?: AccountRegistrationCommand['paymentPlanId'];\n\tprofileType?: AccountRegistrationCommand['profileType'];\n}\n\ninterface ConfirmEmailTypes {}\n\nexport const ConfirmEmail: React.FC = ({}) => {\n\tconst location = useLocation();\n\n\tconst [loading, setLoading] = React.useState(true);\n\tconst [tokenSuccess, setTokenSuccess] = React.useState(false);\n\tconst [resetSuccess, setResetSuccess] = React.useState(false);\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [returnUrl, setReturnUrl] = React.useState(undefined);\n\n\tconst [userInfo, setUserInfo] = React.useState({\n\t\temail: '',\n\t\ttoken: '',\n\t\torganisationIdentifier: '',\n\t\tpaymentPlanId: undefined,\n\t\tprofileType: undefined\n\t});\n\n\tconst decideReturnUrl = () => {\n\t\tlet url = undefined;\n\n\t\tif (userInfo.organisationIdentifier) {\n\t\t\turl = '/join-organisation';\n\t\t} else if (userInfo.paymentPlanId) {\n\t\t\turl = '/register-organisation';\n\t\t}\n\n\t\tsetReturnUrl(url);\n\t};\n\n\tconst confirmToken = async () => {\n\t\tconst locationParams = location.state;\n\t\tconst queryParams = queryStringToObject();\n\t\tconst params = { ...locationParams, ...queryParams };\n\n\t\tconst data = {\n\t\t\t...userInfo,\n\t\t\temail: params.email || '',\n\t\t\ttoken: params.token || '',\n\t\t\torganisationIdentifier: params.organisationIdentifier || '',\n\t\t\tpaymentPlanId: params.paymentPlanId || undefined,\n\t\t\tprofileType: params.profileType || undefined\n\t\t};\n\n\t\tsetLoading(true);\n\n\t\tif (data.token && data.email) {\n\t\t\tsetUserInfo(data);\n\t\t\tsetTokenSuccess(true);\n\t\t} else {\n\t\t\tsetFormErrorMessage('An error has occurred \\nPlease check your link and try again');\n\t\t\tsetTokenSuccess(false);\n\t\t}\n\n\t\tsetLoading(false);\n\t};\n\n\tReact.useEffect(() => {\n\t\tdecideReturnUrl();\n\t}, [userInfo]);\n\n\tReact.useEffect(() => {\n\t\tconfirmToken();\n\t}, []);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{() => {\n\t\t\t\t\t\t\t// not using inline conditional for better readability\n\n\t\t\t\t\t\t\tif (loading) {\n\t\t\t\t\t\t\t\treturn ;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// show error - no token in url\n\t\t\t\t\t\t\t\tif (!tokenSuccess && !resetSuccess) {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t

{formErrorMessage}

\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// show reset password\n\t\t\t\t\t\t\t\tif (tokenSuccess && !resetSuccess) {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{/* */}\n\t\t\t\t\t\t\t\t\t\t\t\t

Reset password

\n\t\t\t\t\t\t\t\t\t\t\t\t

Enter your new details below to reset your password

\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t setResetSuccess(true)} />\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// show login\n\t\t\t\t\t\t\t\tif (tokenSuccess && resetSuccess) {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t

Your password has been reset

\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t

Login

\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}}\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default ConfirmEmail;\n","import * as React from 'react';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoginForm from './LoginForm';\n\n// ICONS\nimport { ReactComponent as MainLogo } from '../../assets/img/logo-main.svg';\nimport { ReactComponent as TickCircle } from '../../assets/svg/tick-circle.svg';\n\n// TYPES\nimport { AccountRegistrationCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface LoginCreateModalTypes {\n\torganisationIdentifier?: AccountRegistrationCommand['organisationIdentifier'];\n\tpaymentPlanId?: AccountRegistrationCommand['paymentPlanId'];\n\tprofileType?: AccountRegistrationCommand['profileType'];\n\tpreviousUrl?: string;\n\treturnUrl?: string;\n\tcloseModal?: closeModalType;\n}\n\nexport const LoginCreateModal: React.FC = ({\n\torganisationIdentifier,\n\tpaymentPlanId,\n\tprofileType,\n\tpreviousUrl,\n\treturnUrl = '/dashboard',\n\tcloseModal\n}) => {\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{!!closeModal && (\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\n\t\t\t\t\t\n\n\t\t\t\t\t

Log in to your ChildAware account to continue

\n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{!!closeModal && (\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\n\t\t\t\t\t

Don't have an account?

\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t
    \n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t Quick and easy sign up\n\t\t\t\t\t\t
  • \n\n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t Safe and secure\n\t\t\t\t\t\t
  • \n\n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t Link your account to multiple organisations\n\t\t\t\t\t\t
  • \n\n\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t Essential for staff, parents, children, volunteer and visitors\n\t\t\t\t\t\t
  • \n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\tCreate an account\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default LoginCreateModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge/';\n\n// UTILS\nimport { queryStringToObject } from '../../utils';\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useLocation, useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport Button from '../../components/Button';\nimport PageName from '../../components/PageName';\nimport GlobalModal from '../../components/GlobalModal';\nimport LoginCreateModal from '../Login/LoginCreateModal';\n\n// ICONS\n// static assets are placed in: C:\\work\\childaware-website\\src\\Portal\\ClientApp\\public\\assets\n// when react is built they are copied to: C:\\work\\childaware-website\\src\\Portal\\ClientApp\\build\\assets\n// or if react is not rebuilt - then place the svg in both folders\nimport { ReactComponent as ArrowLeft } from '../../assets/svg/arrow-left.svg';\n\n// TYPES\nimport { PaymentPlansPaymentPlan } from '../../api/models';\ninterface PlansTypes {}\n\nexport const Plans: React.FC = ({}) => {\n\tconst history = useHistory();\n\tconst location = useLocation();\n\n\t// Check if the user is logged in\n\tconst isLoggedIn = useAppSelector(({ user }) => user.loggedIn);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to control Modal\n\tconst [modalIsOpen, setModalIsOpen] = React.useState(false);\n\n\t// State for Selected Plan Id\n\tconst [selectedPlanId, setSelectedPlanId] = React.useState();\n\n\t// Set up Data state\n\tconst [planData, setPlanData] = React.useState([]);\n\n\tconst returnUrl = '/register-organisation';\n\n\tconst previousUrl = '/plans';\n\n\tconst registerOrganisation = (paymentPlanId: string | undefined) => {\n\t\tif (paymentPlanId) {\n\t\t\tif (isLoggedIn) {\n\t\t\t\thistory.push({\n\t\t\t\t\tpathname: returnUrl,\n\t\t\t\t\tstate: {\n\t\t\t\t\t\tpaymentPlanId: paymentPlanId\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tsetSelectedPlanId(paymentPlanId);\n\n\t\t\t\tsetModalIsOpen(true);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst getPlans = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getPlanTypes();\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result?.paymentPlans) {\n\t\t\tsetPlanData(response.result.paymentPlans);\n\t\t}\n\n\t\tsetIsLoading(false);\n\t};\n\n\tconst checkLocationParams = () => {\n\t\tconst locationParams = location.state;\n\n\t\tconst queryParams = queryStringToObject();\n\n\t\tconst params = { ...locationParams, ...queryParams };\n\n\t\tconst planIds = planData.map((plan) => plan.id);\n\n\t\tconst selectedPlanId =\n\t\t\tparams.paymentPlanId !== undefined && planIds.includes(params.paymentPlanId) ? params.paymentPlanId : undefined;\n\n\t\tif (selectedPlanId && !isLoggedIn) {\n\t\t\tregisterOrganisation(selectedPlanId);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetPlans();\n\t}, []);\n\n\tReact.useEffect(() => {\n\t\tif (planData?.length) {\n\t\t\tcheckLocationParams();\n\t\t}\n\t}, [planData]);\n\n\tconst goBack = () => {\n\t\thistory.goBack();\n\t};\n\n\treturn (\n\t\t
\n\t\t\t\n\n\t\t\t\n\n\t\t\t
\n\t\t\t\t{!!formErrorMessage ? (\n\t\t\t\t\t
{formErrorMessage}
\n\t\t\t\t) : (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t{planData && planData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{planData.map((plan) => (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{!!plan.icon && }\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

{plan.name}

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{!!plan.description && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t${plan.costPerChild?.toFixed(2)}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tper child per year\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{plan.status === 'Active' ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t
\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default Plans;\n","import * as React from 'react';\n\n// PACKAGES\nimport { useField, ErrorMessage } from 'formik';\n\n// TYPES\ninterface FormGroupWithErrorTypes {\n\tname: string;\n\tclassName?: string;\n\tshowError?: boolean;\n\tchildren?: React.ReactNode;\n}\n\nexport const FormGroupWithError: React.FC = ({\n\tname,\n\tclassName = '',\n\tshowError = true,\n\tchildren\n}) => {\n\tconst [field, meta, helpers] = useField(name);\n\n\treturn (\n\t\t
\n\t\t\t{children}\n\n\t\t\t{showError && }\n\t\t
\n\t);\n};\n\nexport default FormGroupWithError;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport FileUpload from '../../components/FileUpload';\nimport SingleSelect from '../../components/SingleSelect';\nimport FormGroupWithError from '../../components/FormGroupWithError';\n\n// TYPES\nimport { OrganisationRegistrationCommand, PaymentPlansPaymentPlan, DomainOrganisationStatus } from '../../api/models';\n\ninterface RegisterOrganisationFormTypes {\n\torganisationDetails: OrganisationRegistrationCommand;\n\tsetOrganisationDetails: React.Dispatch>;\n\tplanName: string;\n\tdoRegister: (values: OrganisationRegistrationCommand) => Promise;\n}\n\ninterface OrganisationDetailFullFormTypes extends OrganisationRegistrationCommand {\n\tconfirmAuthority?: boolean;\n\tconfirmAgreement?: boolean;\n}\n\nexport const RegisterOrganisationForm: React.FC = ({\n\torganisationDetails,\n\tsetOrganisationDetails,\n\tplanName,\n\tdoRegister\n}) => {\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Error and Loading state\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\t// Set up Data state\n\tconst [planData, setPlanData] = React.useState([]);\n\n\tconst [planItemName, setPlanItemName] = React.useState(planName);\n\n\tconst formRef = React.createRef();\n\tconst formikInstance = React.useRef();\n\n\tconst statesList = useAppSelector((state) => state.lists.states);\n\tconst plansList = useAppSelector((state) => state.lists.paymentPlans);\n\n\tconst getPlans = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getPlanTypes();\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result?.paymentPlans) {\n\t\t\tsetPlanData(response.result.paymentPlans);\n\t\t}\n\n\t\tsetIsLoading(false);\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetPlans();\n\t}, []);\n\n\tconst getPlanName = (val: string) => {\n\t\tconst name = planData.filter((plan) => plan.id === val)[0].name;\n\n\t\tif (name) {\n\t\t\tsetPlanItemName(name);\n\t\t}\n\t};\n\n\tconst maxPlan = () => {\n\t\tconst plan = planData.filter((plan) => plan.name === planItemName)[0];\n\n\t\tconst max = (plan && plan.maximumChildren) || undefined;\n\n\t\tif (max) {\n\t\t\treturn max;\n\t\t} else {\n\t\t\treturn 99999999;\n\t\t}\n\t};\n\n\tconst cacheAsyncTest = (asyncValidationFunction: any) => {\n\t\tlet asyncInProgress: boolean = false;\n\t\tlet previousValue: any;\n\t\tlet responseData: any;\n\n\t\treturn async (value: any, organisationId: any, throwErrorMessage: (msg: string) => any) => {\n\t\t\tif (asyncInProgress) {\n\t\t\t\treturn throwErrorMessage('Please wait');\n\t\t\t} else if (value !== previousValue) {\n\t\t\t\tasyncInProgress = true;\n\t\t\t\tconst response = await asyncValidationFunction(value, organisationId);\n\t\t\t\tpreviousValue = value;\n\t\t\t\tresponseData = response;\n\t\t\t\tasyncInProgress = false;\n\t\t\t}\n\n\t\t\treturn responseData;\n\t\t};\n\t};\n\n\tconst stripSpaces = (str: string) => {\n\t\treturn str.replace(/\\s/g, '');\n\t};\n\n\tconst formatAbnSpaces = (str?: string) => {\n\t\tif (!str) {\n\t\t\treturn str;\n\t\t}\n\n\t\tconst stripStr = stripSpaces(str);\n\n\t\t// prettier-ignore\n\t\treturn [\n\t\t\tstripStr.substring(0, 2),\n\t\t\tstripStr.substring(2, 5),\n\t\t\tstripStr.substring(5, 8),\n\t\t\tstripStr.substring(8)\n\t\t].join(' ').trim();\n\t};\n\n\tconst isAbnUnique = async (str?: string, organisationId?: string) => {\n\t\t// \"Valid\"|\"Invalid\"|\"InUse\"\n\t\tlet status = { resultType: 'Invalid' };\n\n\t\tif (!str || str.length !== 11) {\n\t\t\treturn status;\n\t\t}\n\n\t\tconst response = await apibridge.checkAbnInUse(str, organisationId || '');\n\n\t\tif (response.result) {\n\t\t\tstatus = response.result;\n\t\t}\n\n\t\treturn status;\n\t};\n\n\tconst cachedIsAbnUnique = React.useRef(cacheAsyncTest(isAbnUnique));\n\n\tconst saveForm = (values: OrganisationDetailFullFormTypes) => {\n\t\tconst newData: any = {\n\t\t\torganisationAddress: {\n\t\t\t\taddress1: values.organisationAddress?.address1,\n\t\t\t\taddress2: values.organisationAddress?.address2,\n\t\t\t\tcity: values.organisationAddress?.city,\n\t\t\t\tpostcode: values.organisationAddress?.postcode,\n\t\t\t\tstate: values.organisationAddress?.state\n\t\t\t},\n\t\t\tsameAddresses: values.sameAddresses,\n\t\t\tmailingAddress: {\n\t\t\t\taddress1: values.mailingAddress?.address1,\n\t\t\t\taddress2: values.mailingAddress?.address2,\n\t\t\t\tcity: values.mailingAddress?.city,\n\t\t\t\tpostcode: values.mailingAddress?.postcode,\n\t\t\t\tstate: values.mailingAddress?.state\n\t\t\t},\n\t\t\t...values\n\t\t};\n\n\t\tsetOrganisationDetails(newData);\n\n\t\tdoRegister(newData);\n\t};\n\n\tconst initialValues: OrganisationDetailFullFormTypes = {\n\t\tid: undefined,\n\t\timageFileName: undefined,\n\t\tname: '',\n\t\tpaymentPlanId: undefined,\n\t\taustralianBusinessNumber: '',\n\t\tnumberOfChildren: 0,\n\t\tphoneNumber: '',\n\t\temail: '',\n\t\tconfirmAuthority: false,\n\t\tconfirmAgreement: false,\n\t\torganisationAddress: {\n\t\t\taddress1: '',\n\t\t\taddress2: '',\n\t\t\tcity: '',\n\t\t\tpostcode: '',\n\t\t\tstate: ''\n\t\t},\n\t\tmailingAddress: {\n\t\t\taddress1: '',\n\t\t\taddress2: '',\n\t\t\tcity: '',\n\t\t\tpostcode: '',\n\t\t\tstate: ''\n\t\t},\n\t\tsameAddresses: false,\n\n\t\t...organisationDetails\n\t};\n\n\t// FORM VALIDATION FOR AUSTRALIAN PHONE NUMBERS\n\tconst phoneRegExp =\n\t\t/^(?:\\+?(61))? ?(?:\\((?=.*\\)))?(0?[2-57-8])\\)? ?(\\d\\d(?:[- ](?=\\d{3})|(?!\\d\\d[- ]?\\d[- ]))\\d\\d[- ]?\\d[- ]?\\d{3})$/;\n\n\tconst validationSchema = Yup.object({\n\t\tname: Yup.string().required('Required'),\n\t\tpaymentPlanId: Yup.string().required('Required'),\n\t\taustralianBusinessNumber: Yup.string()\n\t\t\t.required('Required')\n\t\t\t.matches(/^[\\d]+$/, 'Only numbers are allowed')\n\t\t\t.length(11, 'ABN must be 11 numbers')\n\t\t\t.test(\n\t\t\t\t'abn-check',\n\t\t\t\t'This ABN matches with another organisation registered with ChildAware',\n\t\t\t\tfunction (value, organisationId) {\n\t\t\t\t\tformikInstance.current.setFieldError(this.path, 'Please wait');\n\n\t\t\t\t\tconst throwErrorMessage = (msg: any) => this.createError({ message: msg, path: this.path });\n\n\t\t\t\t\treturn new Promise(async (resolve) => {\n\t\t\t\t\t\t// \"Valid\"|\"Invalid\"|\"InUse\"\n\n\t\t\t\t\t\tconst response = await cachedIsAbnUnique.current(value, organisationId.parent.id, throwErrorMessage);\n\n\t\t\t\t\t\tif (response && response.resultType === 'Valid') {\n\t\t\t\t\t\t\t// no error message\n\t\t\t\t\t\t\tresolve(true);\n\t\t\t\t\t\t} else if (response && response.resultType === 'InUse') {\n\t\t\t\t\t\t\t// error message defined on rule (html markup)\n\t\t\t\t\t\t\t// resolve(false);\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\tthrowErrorMessage(() => (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t{response.existingOrganisationStatus === DomainOrganisationStatus.Active ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\tThis ABN matches with another organisation registered with ChildAware. You can{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tjoin this organisation\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t, or please contact ChildAware for\n\t\t\t\t\t\t\t\t\t\t\t\tassistance.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\tThis organisation matches another organisation registered with ChildAware. Please{' '}\n\t\t\t\t\t\t\t\t\t\t\t\tcontact ChildAware for assistance.\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t))\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else if (response && response.resultType === 'Invalid') {\n\t\t\t\t\t\t\t// custom error message\n\t\t\t\t\t\t\tresolve(throwErrorMessage('Please enter a valid ABN'));\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// passthrough error message from async call ('Please wait')\n\t\t\t\t\t\t\tresolve(response);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t),\n\t\tnumberOfChildren: Yup.number()\n\t\t\t.required('Required')\n\t\t\t.min(50, 'A minimum of 50 children is required')\n\t\t\t.max(maxPlan(), `Maximum of ${maxPlan()}`),\n\t\temail: Yup.string().required('Required'),\n\t\tphoneNumber: Yup.string().matches(phoneRegExp, 'Phone number is not valid'),\n\t\torganisationAddress: Yup.object({\n\t\t\taddress1: Yup.string().required('Required'),\n\t\t\tcity: Yup.string().required('Required'),\n\t\t\tstate: Yup.string().required('Required'),\n\t\t\tpostcode: Yup.string()\n\t\t\t\t.required('Required')\n\t\t\t\t.matches(/^[\\d]+$/, 'Only numbers are allowed')\n\t\t\t\t.length(4, 'Postcode must be 4 numbers')\n\t\t}),\n\t\tmailingAddress: Yup.object({\n\t\t\taddress1: Yup.string().when('sameAddresses', {\n\t\t\t\tis: false,\n\t\t\t\tthen: Yup.string().required('Required')\n\t\t\t}),\n\t\t\tcity: Yup.string().when('sameAddresses', {\n\t\t\t\tis: false,\n\t\t\t\tthen: Yup.string().required('Required')\n\t\t\t}),\n\t\t\tpostcode: Yup.string().when('sameAddresses', {\n\t\t\t\tis: false,\n\t\t\t\tthen: Yup.string()\n\t\t\t\t\t.required('Required')\n\t\t\t\t\t.matches(/^[\\d]+$/, 'Only numbers are allowed')\n\t\t\t\t\t.length(4, 'Postcode must be 4 numbers')\n\t\t\t}),\n\t\t\tstate: Yup.string().when('sameAddresses', {\n\t\t\t\tis: false,\n\t\t\t\tthen: Yup.string().required('Required')\n\t\t\t})\n\t\t}),\n\t\tconfirmAuthority: Yup.bool().oneOf([true], 'Required').required('Required'),\n\t\tconfirmAgreement: Yup.bool().oneOf([true], 'Required').required('Required')\n\t});\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t

Register an organisation

\n\t\t\t\t

Let's collect some simple details to begin

\n\t\t\t
\n\n\t\t\t\n\t\t\t\t{(formik) => {\n\t\t\t\t\tformikInstance.current = formik;\n\t\t\t\t\treturn (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t

Organisation details

\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('imageFileName', val)}\n\t\t\t\t\t\t\t\t\t\tmultiple={false}\n\t\t\t\t\t\t\t\t\t\tmaxSizeMb={5}\n\t\t\t\t\t\t\t\t\t\timagesOnly={true}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('paymentPlanId', val), getPlanName(val);\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) =>\n\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('australianBusinessNumber', stripSpaces(e.target.value))\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

For a landline, please include an area code e.g. 03 XXX

\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* ORGANISATION ADDRESS */}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

Organisation address

\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('organisationAddress.state', val)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t{/* MAILING ADDRESS */}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{formik.values.sameAddresses === false && (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t

Mailing address

\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('mailingAddress.state', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t);\n\t\t\t\t}}\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default RegisterOrganisationForm;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// UTILS\nimport { SITE_KEY, validationErrorsToString } from '../../utils';\nimport { queryStringToObject } from '../../utils';\n\n// PACKAGES\nimport { useHistory, useLocation } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport RegisterOrganisationForm from './RegisterOrganisationForm';\nimport RegisterOrganisationSummary from './RegisterOrganisationSummary';\nimport RegisterOrganisationPayment from './RegisterOrganisationPayment';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { OrganisationRegistrationCommand } from '../../api/models';\n\ninterface RegisterOrganisationTypes {}\n\nexport const RegisterOrganisation: React.FC = ({}) => {\n\tconst location = useLocation();\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [currentOrganisationId, setCurrentOrganisationId] = React.useState('');\n\n\tconst [organisationDetails, setOrganisationDetails] = React.useState({\n\t\tpaymentCycle: 'Monthly',\n\t\t// Get paymentPlan id from react-router state for initial load\n\t\tpaymentPlanId: location.state ? location.state.paymentPlanId : ''\n\t});\n\n\tconst [planName, setPlanName] = React.useState('');\n\n\tconst getOrganisationDetails = async (organisationId: string) => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getOrganisationRegistration(organisationId);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetOrganisationDetails(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tconst queryParams = queryStringToObject();\n\t\tconst organisationId = queryParams.id;\n\n\t\tif (organisationId) {\n\t\t\tsetCurrentOrganisationId(queryParams.id);\n\n\t\t\tgetOrganisationDetails(organisationId);\n\t\t}\n\t\tsetIsLoading(false);\n\t}, []);\n\n\tconst register = async (values: OrganisationRegistrationCommand, token: string) => {\n\t\tsetIsLoading(true);\n\n\t\tvalues.captchaToken = token;\n\n\t\tconst response = await apibridge.doRegisterOrganisation(values);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (currentOrganisationId) {\n\t\t\t\thistory.push(`/register-organisation-payment?id=${currentOrganisationId}`);\n\t\t\t} else {\n\t\t\t\thistory.push(`/register-organisation-payment?id=${response.result.organisationId}`);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst doRegister = async (values: OrganisationRegistrationCommand) => {\n\t\tsetIsLoading(true);\n\n\t\tawait window.grecaptcha.ready(() => {\n\t\t\twindow.grecaptcha.execute(SITE_KEY, { action: 'submit' }).then((token: string) => {\n\t\t\t\tregister(values, token);\n\t\t\t});\n\t\t});\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default RegisterOrganisation;\n","import * as React from 'react';\n\n// PACKAGES\nimport { Formik, Form, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport SingleSelect from '../../../components/SingleSelect';\nimport Button from '../../../components/Button';\n\n// TYPES\nimport { CertificationTypes } from './CertificationStaff';\nimport { OrganisationFindLookupEntry } from '../../../api/models';\n\ninterface PartOneTypes {\n\tcertificationData: CertificationTypes;\n\tsetFormSection: React.Dispatch>;\n\tsetCertificationFormData: React.Dispatch>;\n\tstaffTypes?: Array;\n}\n\nconst PartOne: React.FC = ({\n\tcertificationData,\n\tsetFormSection,\n\tsetCertificationFormData,\n\tstaffTypes\n}) => {\n\t// Submit part one form data to AddCertification\n\tconst continueFormStepOne = (values: any) => {\n\t\tsetFormSection('2');\n\t\tsetCertificationFormData((prevState) => ({\n\t\t\t...prevState,\n\t\t\torganisationRole: values.organisationRole\n\t\t}));\n\t};\n\n\t// Validation\n\tconst formValidationSchema = Yup.object().shape({\n\t\torganisationRole: Yup.string().required('Required')\n\t});\n\n\t// Set initial form values\n\tconst initialFormValuesPartOne = {\n\t\torganisationRole: certificationData ? certificationData.organisationRole : ''\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t formik.setFieldValue('organisationRole', e)}\n\t\t\t\t\t\t\t\toptions={staffTypes}\n\t\t\t\t\t\t\t\tname=\"organisationRole\"\n\t\t\t\t\t\t\t\tvalue={formik.values.organisationRole}\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default PartOne;\n","import * as React from 'react';\nimport DatePicker from 'react-datepicker';\nimport moment from 'moment';\n\nimport { ReactComponent as CalendarIcon } from '../assets/svg/calendar.svg';\n\ninterface DateDayExpiryInputTypes {\n\tdateTimeString: string;\n\tonChange?: any;\n\tshowDropdowns?: boolean;\n\texcludeFuture?: boolean;\n\texcludePast?: boolean;\n\tclassName?: string;\n\tdisabled?: boolean;\n}\n\nexport const DateDayExpiryInput: React.FC = ({\n\tdateTimeString,\n\tonChange,\n\tshowDropdowns = false,\n\texcludeFuture = false,\n\texcludePast = false,\n\tclassName,\n\tdisabled = false\n}) => {\n\tconst [dateTimeObject, setDateTimeObject] = React.useState();\n\tconst [minDate, setMinDate] = React.useState(null);\n\tconst [maxDate, setMaxDate] = React.useState(null);\n\n\t// date comes in as a string: 2022-04-22T11:28:07.1994149+10:00\n\t// date is returned as a date object\n\tconst parseDate = (str: string) => {\n\t\tconst parsedDate = moment(str, 'YYYY-MM-DDTHH:mm:ss.SSSSSSSZ');\n\t\tconst newDate = parsedDate.isValid() ? parsedDate.toDate() : new Date();\n\n\t\treturn newDate;\n\t};\n\n\t// date is returned as a string: 2022-04-22T11:28:07\n\tconst returnDateTime = (obj: Date) => {\n\t\t// do not return the timezone offset\n\t\tconst dateStr = moment(obj).format('YYYY-MM-DDTHH:mm:ss');\n\n\t\tif (onChange) {\n\t\t\tonChange(dateStr);\n\t\t}\n\t};\n\n\tconst handleDateChange = (date: Date) => {\n\t\tdate = date || new Date();\n\t\t// changing date to the last second of the selected month\n\t\tdate = new Date(date.getFullYear(), date.getMonth(), date.getDate(), 23, 59, 59);\n\n\t\tsetDateTimeObject(date);\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (dateTimeString) {\n\t\t\tconst currentDate = parseDate(dateTimeString);\n\t\t\tsetDateTimeObject(currentDate);\n\t\t}\n\t}, [dateTimeString]);\n\n\tReact.useEffect(() => {\n\t\tif (dateTimeObject) {\n\t\t\treturnDateTime(dateTimeObject);\n\t\t} else {\n\t\t\t//pass back the null value\n\t\t\tif (onChange) {\n\t\t\t\tonChange('');\n\t\t\t}\n\t\t}\n\t}, [dateTimeObject]);\n\n\tReact.useEffect(() => {\n\t\tconst now = new Date();\n\n\t\tif (excludePast) {\n\t\t\tsetMinDate(new Date(now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0));\n\t\t}\n\n\t\tif (excludeFuture) {\n\t\t\tsetMaxDate(new Date(now.getFullYear(), now.getMonth(), now.getDate(), 11, 59, 59));\n\t\t}\n\t}, []);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t handleDateChange(date)}\n\t\t\t\t\t\tplaceholderText=\"DD/MM/YYYY\"\n\t\t\t\t\t\tclassName={`form-control ${className}`}\n\t\t\t\t\t\tshowMonthDropdown={showDropdowns}\n\t\t\t\t\t\tshowYearDropdown={showDropdowns}\n\t\t\t\t\t\tdropdownMode=\"select\"\n\t\t\t\t\t\tminDate={minDate}\n\t\t\t\t\t\tmaxDate={maxDate}\n\t\t\t\t\t\tdisabled={disabled}\n\t\t\t\t\t/>\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default DateDayExpiryInput;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { Field, ErrorMessage, connect, FastField } from 'formik';\n\n// COMPONENTS\nimport FileUpload from '../../../components/FileUpload';\nimport SingleSelect from '../../../components/SingleSelect';\nimport DateDayExpiryInput from '../../../components/DateDayExpiryInput';\n\n// TYPES\ninterface TeacherRegistrationFormTypes {\n\tformik?: any;\n\tindex: number;\n}\n\nconst TeacherRegistrationForm: React.FC = ({ formik, index }) => {\n\t// Get all States from Redux store\n\tconst statesList = useAppSelector((state) => state?.lists.states);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t formik.setFieldValue(`accountCertification[${index}].state`, val)}\n\t\t\t\t\t\t\t\t\t\tvalue={formik.values.accountCertification[index].state}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t\n\n\t\t\t\t\t (\n\t\t\t\t\t\t\t formik.setFieldValue(`accountCertification[${index}].expiry`, val)}\n\t\t\t\t\t\t\t\texcludePast={true}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t {\n\t\t\t\t\t\tformik.setFieldValue(`accountCertification[${index}].certificationNumber`, val.target.value);\n\t\t\t\t\t}}\n\t\t\t\t\tvalue={formik.values.accountCertification[index].certificationNumber}\n\t\t\t\t/>\n\n\t\t\t\t\n\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`accountCertification[${index}].createAttachments`, val);\n\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`accountCertification[${index}].attachments`, files);\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\tlabel=\"Photo of registration\"\n\t\t\t\t\t\t\t\t\tfiles={formik.values.accountCertification[index].attachments}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t);\n\t\t\t\t\t}}\n\t\t\t\t/>\n\n\t\t\t\t\n\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default connect(TeacherRegistrationForm);\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { Field, ErrorMessage, connect, FastField } from 'formik';\n\n// COMPONENTS\nimport FileUpload from '../../../components/FileUpload';\nimport SingleSelect from '../../../components/SingleSelect';\nimport DateDayExpiryInput from '../../../components/DateDayExpiryInput';\n\n// TYPES\ninterface WorkingWithChildrenFormTypes {\n\tformik?: any;\n\tindex: number;\n}\n\nconst WorkingWithChildrenForm: React.FC = ({ formik, index }) => {\n\t// Get all States from Redux store\n\tconst statesList = useAppSelector((state) => state?.lists.states);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t formik.setFieldValue(`accountCertification[${index}].state`, val)}\n\t\t\t\t\t\t\t\t\t\tvalue={formik.values.accountCertification[index].state}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t\n\n\t\t\t\t\t (\n\t\t\t\t\t\t\t formik.setFieldValue(`accountCertification[${index}].expiry`, val)}\n\t\t\t\t\t\t\t\texcludePast={true}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`accountCertification[${index}].createAttachments`, val);\n\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`accountCertification[${index}].attachments`, files);\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\tlabel=\"Photo of registration\"\n\t\t\t\t\t\t\t\t\tfiles={formik.values.accountCertification[index].attachments}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t);\n\t\t\t\t\t}}\n\t\t\t\t/>\n\n\t\t\t\t\n\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default connect(WorkingWithChildrenForm);\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { ErrorMessage, connect, FastField, Field } from 'formik';\n\n// COMPONENTS\nimport SingleSelect from '../../../components/SingleSelect';\nimport TeacherRegistrationForm from './TeacherRegistrationForm';\nimport WorkingWithChildrenForm from './WorkingWithChildrenForm';\n\n// TYPES\nimport { DomainCertificationType } from '../../../api/models';\n\ninterface ChooseCertificationTypes {\n\tformik?: any;\n\tindex: number;\n\thasExisting?: boolean;\n}\n\nexport const ChooseCertification: React.FC = ({ formik, index, hasExisting }) => {\n\tlet certificationTypesLists = useAppSelector((state) => state?.lists.authorityOfWorkCertifications);\n\n\tif (hasExisting && formik.values.hasValidExisitingCertificate && index === 0) {\n\t\tcertificationTypesLists = certificationTypesLists?.concat([\n\t\t\t{ value: 'useExisting' as DomainCertificationType, label: 'Use Existing' }\n\t\t]);\n\t}\n\n\tconst switchForm = (role: string, index: number) => {\n\t\tswitch (role) {\n\t\t\tcase 'TeacherRegistration':\n\t\t\t\treturn } />;\n\n\t\t\tcase 'WorkingWithChildrenCheck':\n\t\t\t\treturn } />;\n\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`accountCertification[${index}].certificationType`, val);\n\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('useExistingCertifications', false);\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t);\n\t\t\t\t\t}}\n\t\t\t\t/>\n\n\t\t\t\t\n\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t
\n\n\t\t\t\t{!formik.values.addLater\n\t\t\t\t\t? switchForm(formik.values.accountCertification[index].certificationType, index)\n\t\t\t\t\t: null}\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default connect(ChooseCertification);\n","import * as React from 'react';\nimport Moment from 'react-moment';\n\ninterface DisplayDateTypes {\n\tchildren?: string | number | Date | moment.Moment;\n}\n\nexport const DisplayDate: React.FC = ({ children }) => {\n\treturn (\n\t\t\n\t\t\t{children}\n\t\t\n\t);\n};\n\nexport default DisplayDate;\n","var _path, _path2, _circle, _circle2, _circle3, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStatusWarning(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z\",\n fill: \"url(#paint0_linear_1625_50534)\"\n })), /*#__PURE__*/React.createElement(\"g\", {\n style: {\n mixBlendMode: \"soft-light\"\n }\n }, _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19.9997 34.7689C28.1565 34.7689 34.7689 28.1565 34.7689 19.9997C34.7689 11.8429 28.1565 5.23047 19.9997 5.23047C11.8429 5.23047 5.23047 11.8429 5.23047 19.9997C5.23047 28.1565 11.8429 34.7689 19.9997 34.7689Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }))), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 13,\n cy: 20,\n r: 2,\n fill: \"white\"\n })), _circle2 || (_circle2 = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 20,\n cy: 20,\n r: 2,\n fill: \"white\"\n })), _circle3 || (_circle3 = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 27,\n cy: 20,\n r: 2,\n fill: \"white\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1625_50534\",\n x1: 7.5,\n y1: 5.5,\n x2: 27.9745,\n y2: 28.6731,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#DEBE7F\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#F19931\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStatusWarning);\nexport default __webpack_public_path__ + \"static/media/status-warning.e1abc975.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStatusDanger(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z\",\n fill: \"url(#paint0_linear_1625_50406)\"\n })), /*#__PURE__*/React.createElement(\"g\", {\n style: {\n mixBlendMode: \"soft-light\"\n }\n }, _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19.9997 34.7689C28.1565 34.7689 34.7689 28.1565 34.7689 19.9997C34.7689 11.8429 28.1565 5.23047 19.9997 5.23047C11.8429 5.23047 5.23047 11.8429 5.23047 19.9997C5.23047 28.1565 11.8429 34.7689 19.9997 34.7689Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }))), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20 12L20 21.8462\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20 26.1523V26.7677\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1625_50406\",\n x1: 7.5,\n y1: 5.5,\n x2: 27.9745,\n y2: 28.6731,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#FF7C7C\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#A61B1B\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStatusDanger);\nexport default __webpack_public_path__ + \"static/media/status-danger.3ae5dc8e.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStatusArchived(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z\",\n fill: \"url(#paint0_linear_1286_15649)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M28 16V28H12V16\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M30 12H10V16H30V12Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18 20H22\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1286_15649\",\n x1: 5.74936,\n y1: 1.71842,\n x2: 29.1145,\n y2: 28.3324,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStatusArchived);\nexport default __webpack_public_path__ + \"static/media/status-archived.ed35268d.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStatusRead(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z\",\n fill: \"url(#paint0_linear_1576_52104)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 20H23H17ZM17 24H23H17ZM25 29H15C13.8954 29 13 28.1046 13 27V13C13 11.8954 13.8954 11 15 11H20.5858C20.851 11 21.1054 11.1054 21.2929 11.2929L26.7071 16.7071C26.8946 16.8946 27 17.149 27 17.4142V27C27 28.1046 26.1046 29 25 29Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1576_52104\",\n x1: 5.74936,\n y1: 1.71842,\n x2: 29.1145,\n y2: 28.3324,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStatusRead);\nexport default __webpack_public_path__ + \"static/media/status-read.37d2ec6e.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStatusTodo(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z\",\n fill: \"url(#paint0_linear_2991_7772)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M30 17V20\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M26 19V24.7848C24.3646 26.1737 22.2348 26.9617 20.0128 27C17.7838 26.9589 15.647 26.1717 14 24.7848V19\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10 16.5L20 20L30 16.5L20 13L10 16.5Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_2991_7772\",\n x1: 5.74936,\n y1: 1.71842,\n x2: 29.1145,\n y2: 28.3324,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStatusTodo);\nexport default __webpack_public_path__ + \"static/media/status-todo.f1d93ca1.svg\";\nexport { ForwardRef as ReactComponent };","var _rect, _path, _path2, _path3, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStatusTrainingPlus(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _rect || (_rect = /*#__PURE__*/React.createElement(\"rect\", {\n width: 40,\n height: 40,\n rx: 20,\n fill: \"url(#paint0_linear_7654_35232)\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M30 17V20\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M26 19V24.7848C24.3646 26.1737 22.2348 26.9617 20.0128 27C17.7838 26.9589 15.647 26.1717 14 24.7848V19\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10 16.5L20 20L30 16.5L20 13L10 16.5Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_7654_35232\",\n x1: 5.74936,\n y1: 1.71842,\n x2: 29.1145,\n y2: 28.3324,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#001B2E\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#75138A\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStatusTrainingPlus);\nexport default __webpack_public_path__ + \"static/media/status-training-plus.42f076fe.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStatusDocument(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z\",\n fill: \"url(#paint0_linear_1829_55026)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 24H17.01H17Z\",\n fill: \"white\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 13H15C13.8954 13 13 13.8954 13 15V27C13 28.1046 13.8954 29 15 29H25C26.1046 29 27 28.1046 27 27V15C27 13.8954 26.1046 13 25 13H23M17 13C17 14.1046 17.8954 15 19 15H21C22.1046 15 23 14.1046 23 13M17 13C17 11.8954 17.8954 11 19 11C19 11 19.8954 11 21 11C22.1046 11 23 11.8954 23 13M20 20H23M20 24H23M17 20H17.01M17 24H17.01\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1829_55026\",\n x1: 5.74936,\n y1: 1.71842,\n x2: 29.1145,\n y2: 28.3324,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStatusDocument);\nexport default __webpack_public_path__ + \"static/media/status-document.8cb737ea.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStatusSchool(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z\",\n fill: \"url(#paint0_linear_3207_79947)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M30 17V20\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M26 19V24.7848C24.3646 26.1737 22.2348 26.9617 20.0128 27C17.7838 26.9589 15.647 26.1717 14 24.7848V19\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10 16.5L20 20L30 16.5L20 13L10 16.5Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_3207_79947\",\n x1: 5.74936,\n y1: 1.71842,\n x2: 29.1145,\n y2: 28.3324,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStatusSchool);\nexport default __webpack_public_path__ + \"static/media/status-school.04512bfe.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _path5, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStatusCommunity(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z\",\n fill: \"url(#paint0_linear_3207_79961)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.0049 15.716C14.0383 14.8152 17.998 15.7477 21.2449 18.4308C24.5426 21.1559 26.2054 24.9435 25.8245 28.1234\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18.1018 29.8003C17.3392 27.3596 18.0104 23.6144 20.0774 20.0342C22.1383 16.4647 25.0349 14.0148 27.5249 13.4453\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19.4419 10C19.2615 11.9442 18.5157 14.2298 17.2254 16.4647C15.2916 19.8142 12.6475 22.1615 10.4014 22.7854\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20 30C25.5228 30 30 25.5228 30 20C30 14.4772 25.5228 10 20 10C14.4772 10 10 14.4772 10 20C10 25.5228 14.4772 30 20 30Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_3207_79961\",\n x1: 5.74936,\n y1: 1.71842,\n x2: 29.1145,\n y2: 28.3324,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStatusCommunity);\nexport default __webpack_public_path__ + \"static/media/status-community.f56f1347.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgStatusBusiness(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0V0C31.0457 0 40 8.95431 40 20V20C40 31.0457 31.0457 40 20 40V40C8.95431 40 0 31.0457 0 20V20Z\",\n fill: \"url(#paint0_linear_3207_79935)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18 29H22M27 29V13C27 11.8954 26.1046 11 25 11H15C13.8954 11 13 11.8954 13 13V29H27ZM27 29H29H27ZM27 29H22H27ZM13 29H11H13ZM13 29H18H13ZM17 15H18H17ZM17 19H18H17ZM22 15H23H22ZM22 19H23H22ZM18 29V24C18 23.4477 18.4477 23 19 23H21C21.5523 23 22 23.4477 22 24V29H18Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_3207_79935\",\n x1: 5.74936,\n y1: 1.71842,\n x2: 29.1145,\n y2: 28.3324,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgStatusBusiness);\nexport default __webpack_public_path__ + \"static/media/status-business.25d08fa8.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgDownload(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 18,\n height: 18,\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M3.5625 11.0625V12.1875C3.5625 13.4302 4.56986 14.4375 5.8125 14.4375H12.1875C13.4302 14.4375 14.4375 13.4302 14.4375 12.1875V11.0625\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9 10.6875V3.5625\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.5625 8.0625L9 10.6875L11.4375 8.0625\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgDownload);\nexport default __webpack_public_path__ + \"static/media/download.d2d00919.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// ICONS\nimport { ReactComponent as SuccessIcon } from '../assets/svg/status-success.svg';\nimport { ReactComponent as WarningIcon } from '../assets/svg/status-warning.svg';\nimport { ReactComponent as DangerIcon } from '../assets/svg/status-danger.svg';\nimport { ReactComponent as ArchivedIcon } from '../assets/svg/status-archived.svg';\nimport { ReactComponent as ReadIcon } from '../assets/svg/status-read.svg';\nimport { ReactComponent as TodoIcon } from '../assets/svg/status-todo.svg';\nimport { ReactComponent as TrainingPlusIcon } from '../assets/svg/status-training-plus.svg';\nimport { ReactComponent as DocumentIcon } from '../assets/svg/status-document.svg';\nimport { ReactComponent as SchoolIcon } from '../assets/svg/status-school.svg';\nimport { ReactComponent as CommunityIcon } from '../assets/svg/status-community.svg';\nimport { ReactComponent as BusinessIcon } from '../assets/svg/status-business.svg';\n\ninterface StatusIconTypes {\n\tstatusType: string;\n}\n\nconst StatusIcon: React.FC = ({ statusType }) => {\n\treturn (\n\t\t<>\n\t\t\t{statusType === 'success' && }\n\t\t\t{statusType === 'Success' && }\n\n\t\t\t{statusType === 'warning' && }\n\t\t\t{statusType === 'Warning' && }\n\n\t\t\t{statusType === 'danger' && }\n\t\t\t{statusType === 'Error' && }\n\n\t\t\t{statusType === 'archived' && }\n\t\t\t{statusType === 'read' && }\n\t\t\t{statusType === 'todo' && }\n\t\t\t{statusType === 'training' && }\n\t\t\t{statusType === 'training-plus' && }\n\t\t\t{statusType === 'document' && }\n\t\t\t{statusType === 'school' && }\n\t\t\t{statusType === 'community' && }\n\t\t\t{statusType === 'business' && }\n\t\t\n\t);\n};\n\nexport default StatusIcon;\n","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgPlus(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 19,\n height: 18,\n viewBox: \"0 0 19 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.682 9.00034H6.31802\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9.5 5.81836V12.1823\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgPlus);\nexport default __webpack_public_path__ + \"static/media/plus.3ecac6ed.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// PACKAGES\nimport 'moment/locale/en-au';\n\n// COMPONENTS\nimport DisplayDate from './DisplayDate';\nimport StatusIcon from './StatusIcon';\nimport Button from './Button';\n\n// ICONS\nimport { ReactComponent as DownloadIcon } from '../assets/svg/download.svg';\n\n// TYPES\nimport {\n\tAccountCertificationCommand,\n\tAccountExistingCertificationsCertification,\n\tDomainCertificationType\n} from '../api/models';\nimport { connect, ErrorMessage, Field, FieldArray } from 'formik';\n\ninterface ExistingCertificationTypes {\n\texistingCertifications?: AccountExistingCertificationsCertification[];\n\texistingTeacherRegistration?: AccountExistingCertificationsCertification[];\n\texistingWWCCRegistration?: AccountExistingCertificationsCertification[];\n\tformik?: any;\n}\n\nconst ExistingCertification: React.FC = ({\n\texistingCertifications,\n\tformik,\n\texistingTeacherRegistration,\n\texistingWWCCRegistration\n}) => {\n\tconst hasValidWWCC =\n\t\texistingWWCCRegistration && existingWWCCRegistration.filter((item) => item.validCertification).length > 0;\n\n\tconst hasValidTR =\n\t\texistingTeacherRegistration && existingTeacherRegistration.filter((item) => item.validCertification).length > 0;\n\n\tconst hasValidCertificate = hasValidWWCC || hasValidTR;\n\n\tReact.useEffect(() => {\n\t\tsetTimeout(() => {\n\t\t\thasValidCertificate && formik.setFieldValue('hasValidExisitingCertificate', true);\n\n\t\t\thasValidWWCC && formik.setFieldValue('hasValidExisitingWWCCCertificate', true);\n\n\t\t\thasValidTR && formik.setFieldValue('hasValidExisitingTRCertificate', true);\n\n\t\t\tif (formik.values.existingTeacherRegistration)\n\t\t\t\tformik.values.existingTeacherRegistration.map((x: any, index: any) => {\n\t\t\t\t\tif (x.validCertification === false)\n\t\t\t\t\t\tformik.setFieldValue(`existingTeacherRegistration[${index}].teacherReg`, true);\n\t\t\t\t});\n\n\t\t\tif (formik.values.existingWWCCRegistration)\n\t\t\t\tformik.values.existingWWCCRegistration.map((x: any, index: any) => {\n\t\t\t\t\tif (x.validCertification === false) formik.setFieldValue(`existingWWCCRegistration[${index}].WWCCReg`, true);\n\t\t\t\t});\n\t\t}, 1);\n\t}, []);\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\tWe have detected your ChildAware account already contains the following document\n\t\t\t\t{existingCertifications && existingCertifications.concat(existingCertifications).length > 1 ? 's' : null}.\n\t\t\t
\n\n\t\t\t
\n\n\t\t\t{existingCertifications &&\n\t\t\t\texistingCertifications.length > 0 &&\n\t\t\t\texistingCertifications\n\t\t\t\t\t.filter(\n\t\t\t\t\t\t(item) =>\n\t\t\t\t\t\t\titem.certificationType !== DomainCertificationType.WorkingWithChildrenCheck &&\n\t\t\t\t\t\t\titem.certificationType !== DomainCertificationType.TeacherRegistration\n\t\t\t\t\t)\n\t\t\t\t\t.map((item, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{item.validCertification ? : }\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t{item.name}\n\t\t\t\t\t\t\t\t\t\t\t{!item.validCertification && (Expired)}\n\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t{item.certificationNumber &&

#{item.certificationNumber}

}\n\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t{item.state && `${item.state}, `}\n\t\t\t\t\t\t\t\t\t\t\t{item.expiry && {item.expiry}}\n\t\t\t\t\t\t\t\t\t\t\t{item.date && {item.date}}\n\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t{item.attachments && item.attachments.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t

Attachments

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\n\t\t\t\n\t\t\t\t{(props) => {\n\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\tconst { values } = form;\n\t\t\t\t\tconst { existingTeacherRegistration } = values;\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{existingTeacherRegistration &&\n\t\t\t\t\t\t\t\texistingTeacherRegistration.map((item: any, index: number) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{item.validCertification ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.name}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{!item.validCertification && (Expired)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{item.certificationNumber &&

#{item.certificationNumber}

}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.state && `${item.state}, `}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.expiry && {item.expiry}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.date && {item.date}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{item.attachments && item.attachments.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Attachments

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{formik.values.existingTeacherRegistration[index].validCertification ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\n\t\t\t\t\t);\n\t\t\t\t}}\n\t\t\t
\n\n\t\t\t\n\t\t\t\t{(props) => {\n\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\tconst { values } = form;\n\t\t\t\t\tconst { existingWWCCRegistration } = values;\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{existingWWCCRegistration &&\n\t\t\t\t\t\t\t\texistingWWCCRegistration.map((item: any, index: number) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{item.validCertification ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.name}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{!item.validCertification && (Expired)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{item.certificationNumber &&

#{item.certificationNumber}

}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.state && `${item.state}, `}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.expiry && {item.expiry}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.date && {item.date}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{item.attachments && item.attachments.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Attachments

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{formik.values.existingWWCCRegistration[index].validCertification ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\n\t\t\t\t\t);\n\t\t\t\t}}\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default connect(ExistingCertification);\n","import * as React from 'react';\n\ninterface AddLaterRadioTypes {\n\tonChange?: any;\n\tvalue?: boolean;\n\tclassName?: string;\n\tchangeToUseExisting?: boolean;\n}\n\nconst AddLaterRadio: React.FC = ({ onChange, value, className, changeToUseExisting }) => {\n\tconst handleChange = () => {\n\t\tif (onChange) {\n\t\t\tonChange(!value);\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t handleChange()}\n\t\t\t\t\tonClick={() => handleChange()}\n\t\t\t\t\ttype=\"radio\"\n\t\t\t\t\tplaceholder=\"add later\"\n\t\t\t\t\ttitle=\"\"\n\t\t\t\t/>\n\t\t\t\t\n\t\t\t
\n\n\t\t\t{changeToUseExisting === true ? null :

This may be required by the organisation

}\n\t\t
\n\t);\n};\n\nexport default AddLaterRadio;\n","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgMinus(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 18,\n height: 18,\n viewBox: \"0 0 18 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.182 8.99985H5.81802\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgMinus);\nexport default __webpack_public_path__ + \"static/media/minus.c14bf08a.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgSearch(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19.5 19.5L15.75 15.75L19.5 19.5ZM5 11.25C5 7.79822 7.79822 5 11.25 5C14.7018 5 17.5 7.79822 17.5 11.25C17.5 14.7018 14.7018 17.5 11.25 17.5C7.79822 17.5 5 14.7018 5 11.25Z\",\n stroke: \"#A52EBE\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgSearch);\nexport default __webpack_public_path__ + \"static/media/search.2ad08449.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport ChooseCertification from '../ComponentForms/ChooseCertification';\nimport ExistingCertification from '../../../components/ExistingCertification';\nimport AddLaterRadio from '../../../components/AddLaterRadio';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../../assets/svg/plus.svg';\nimport { ReactComponent as MinusIcon } from '../../../assets/svg/minus.svg';\n\n// TYPES\nimport { CertificationTypes } from './CertificationStaff';\nimport { FileType } from '../../../components/FileUpload';\nimport { AccountExistingCertificationsCertification, DomainCertificationType } from '../../../api/models';\n\ninterface PartTwoTypes {\n\tcertificationData: CertificationTypes;\n\tsetFormSection: React.Dispatch>;\n\tsetCertificationFormData: React.Dispatch>;\n\texistingCertifications: AccountExistingCertificationsCertification[];\n\texistingTeacherRegistration: AccountExistingCertificationsCertification[];\n\texistingWWCCRegistration: AccountExistingCertificationsCertification[];\n}\n\ninterface certificationTemplateTypes {\n\tcertificationType?: string;\n\tstate?: string;\n\texpiry?: string;\n\tcertificationNumber?: string;\n\tuserAcknowledgement?: boolean;\n\tattachments?: FileType[];\n\tcreateAttachments?: string[];\n}\n\nconst PartTwo: React.FC = ({\n\tcertificationData,\n\tsetFormSection,\n\tsetCertificationFormData,\n\texistingCertifications,\n\texistingTeacherRegistration,\n\texistingWWCCRegistration\n}) => {\n\t// Set initial certification template\n\tconst certificationTemplate: certificationTemplateTypes = {\n\t\tcertificationType: '',\n\t\tstate: '',\n\t\texpiry: '',\n\t\tcertificationNumber: '',\n\t\tuserAcknowledgement: false,\n\t\tattachments: [],\n\t\tcreateAttachments: []\n\t};\n\n\tconst teacherRegFields = {\n\t\tteacherReg: false\n\t};\n\n\tconst WWCCRegFields = {\n\t\tWWCCReg: false\n\t};\n\n\t//Submit part one form data to AddCertification\n\tconst continueFormStepOne = (values: any) => {\n\t\tsetFormSection('3');\n\n\t\tsetCertificationFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\tauthorityToWork: values.accountCertification.map((certificate: any) => {\n\t\t\t\treturn certificate.certificateType === ''\n\t\t\t\t\t? {}\n\t\t\t\t\t: {\n\t\t\t\t\t\t\tcertificationType: certificate.certificationType,\n\t\t\t\t\t\t\tcertificationNumber: certificate.certificationNumber,\n\t\t\t\t\t\t\texpiry: certificate.expiry,\n\t\t\t\t\t\t\tstate: certificate.state,\n\t\t\t\t\t\t\tuserAcknowledgement: certificate.userAcknowledgement,\n\t\t\t\t\t\t\tcreateAttachments: certificate.createAttachments,\n\t\t\t\t\t\t\tattachments: [...certificate.attachments]\n\t\t\t\t\t };\n\t\t\t})\n\t\t}));\n\t};\n\n\t// Validation\n\tconst formValidationSchema = Yup.object().shape({\n\t\taccountCertification: Yup.array().when('hasExistingCertification', {\n\t\t\tis: true,\n\t\t\tthen: Yup.array().when('useExistingCertifications', {\n\t\t\t\tis: true,\n\t\t\t\tthen: Yup.array(),\n\t\t\t\totherwise: Yup.array().of(\n\t\t\t\t\tYup.object({\n\t\t\t\t\t\tcertificationType: Yup.string().required('Required'),\n\t\t\t\t\t\tstate: Yup.string().required('Required'),\n\t\t\t\t\t\texpiry: Yup.string().required('Required'),\n\t\t\t\t\t\tcertificationNumber: Yup.string().required('Required'),\n\t\t\t\t\t\tcreateAttachments: Yup.array().min(1, 'Required').required(),\n\t\t\t\t\t\tuserAcknowledgement: Yup.boolean().oneOf([true], 'You must agree to continue').required('Required')\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t}),\n\t\t\totherwise: Yup.array().of(\n\t\t\t\tYup.object({\n\t\t\t\t\tcertificationType: Yup.string().required('Required'),\n\t\t\t\t\tstate: Yup.string().required('Required'),\n\t\t\t\t\texpiry: Yup.string().required('Required'),\n\t\t\t\t\tcertificationNumber: Yup.string().required('Required'),\n\t\t\t\t\tcreateAttachments: Yup.array().min(1, 'Required').required(),\n\t\t\t\t\tuserAcknowledgement: Yup.boolean().oneOf([true], 'You must agree to continue').required('Required')\n\t\t\t\t})\n\t\t\t)\n\t\t}),\n\n\t\texistingTeacherRegistration: Yup.array().when('hasValidExisitingTRCertificate', {\n\t\t\tis: true,\n\t\t\tthen: Yup.array().of(\n\t\t\t\tYup.object({\n\t\t\t\t\tteacherReg: Yup.boolean().oneOf([true], 'You must agree to continue').required('Required')\n\t\t\t\t})\n\t\t\t)\n\t\t}),\n\t\texistingWWCCRegistration: Yup.array().when('hasValidExisitingWWCCCertificate', {\n\t\t\tis: true,\n\t\t\tthen: Yup.array().of(\n\t\t\t\tYup.object({\n\t\t\t\t\tWWCCReg: Yup.boolean().oneOf([true], 'You must agree to continue').required('Required')\n\t\t\t\t})\n\t\t\t)\n\t\t})\n\t});\n\n\t// Check to see if certificate is valid or not\n\tconst checkIfCertificationValid = () => {\n\t\tif (existingTeacherRegistration && existingTeacherRegistration.length > 0) {\n\t\t\tif (existingTeacherRegistration.some((item) => item.validCertification === true)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\tif (existingWWCCRegistration && existingWWCCRegistration.length > 0) {\n\t\t\tif (existingWWCCRegistration.some((item) => item.validCertification === true)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t};\n\n\tconst [isCertificationValid, setIsCertificationValid] = React.useState(false);\n\n\tReact.useEffect(() => {\n\t\tconst isValid = checkIfCertificationValid() || false;\n\t\tsetIsCertificationValid(isValid);\n\t}, []);\n\n\t// Set initial form values\n\tconst initialFormValuesPartTwo = {\n\t\taccountCertification: certificationData.authorityToWork\n\t\t\t? [...certificationData.authorityToWork]\n\t\t\t: [{ ...certificationTemplate }],\n\t\thasExistingCertification: isCertificationValid,\n\t\thasValidExisitingCertificate: false,\n\t\thasValidExisitingWWCCCertificate: false,\n\t\thasValidExisitingTRCertificate: false,\n\t\texistingTeacherRegistration:\n\t\t\t(existingTeacherRegistration &&\n\t\t\t\texistingTeacherRegistration.map((item) => {\n\t\t\t\t\treturn { ...item, ...teacherRegFields };\n\t\t\t\t})) ||\n\t\t\t[],\n\t\texistingWWCCRegistration:\n\t\t\t(existingWWCCRegistration &&\n\t\t\t\texistingWWCCRegistration.map((item) => {\n\t\t\t\t\treturn { ...item, ...WWCCRegFields };\n\t\t\t\t})) ||\n\t\t\t[],\n\t\tselectedNewWWCC: false,\n\t\tselectedNewTeacherRegistration: false,\n\t\tuseExistingCertifications:\n\t\t\tcertificationData &&\n\t\t\tcertificationData.authorityToWork &&\n\t\t\tcertificationData.authorityToWork.length > 0 &&\n\t\t\tcertificationData.authorityToWork[0].certificationType !== ''\n\t\t\t\t? false\n\t\t\t\t: true\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\tReact.useEffect(() => {\n\t\t\t\t\tformik.values.accountCertification.filter(\n\t\t\t\t\t\t(item) =>\n\t\t\t\t\t\t\titem.certificationType === DomainCertificationType.WorkingWithChildrenCheck\n\t\t\t\t\t\t\t\t? formik.setFieldValue('selectedNewWWCC', true)\n\t\t\t\t\t\t\t\t: item.certificationType === DomainCertificationType.TeacherRegistration\n\t\t\t\t\t\t\t\t? formik.setFieldValue('selectedNewTeacherRegistration', true)\n\t\t\t\t\t\t\t\t: formik.setFieldValue('selectedNewWWCC', false),\n\t\t\t\t\t\tformik.setFieldValue('selectedNewTeacherRegistration', false)\n\t\t\t\t\t);\n\t\t\t\t}, [formik.values.accountCertification]);\n\n\t\t\t\treturn (\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(props) => {\n\t\t\t\t\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\t\t\t\t\tconst { values } = form;\n\t\t\t\t\t\t\t\t\tconst { accountCertification } = values;\n\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{accountCertification.map((accountCertification: any, index: any) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{formik.values.accountCertification[0].certificationType ===\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDomainCertificationType.WorkingWithChildrenCheck ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(formik.values.accountCertification[0].certificationType ===\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDomainCertificationType.TeacherRegistration &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tindex === 0) ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{formik.values.hasValidExisitingCertificate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t!formik.errors.accountCertification &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.values.accountCertification[index].certificationType !== undefined &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.values.accountCertification.length - 1 === index &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t!formik.values.useExistingCertifications ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t push({ ...certificationTemplate })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"add-more-credentials full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd another credential\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : formik.values.accountCertification[index].certificationType &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.values.accountCertification.length - 1 === index &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t !formik.values.useExistingCertifications ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t push({ ...certificationTemplate })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"add-more-credentials full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd another credential\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : !formik.values.useExistingCertifications && index > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{index > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t remove(index)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"remove-credentials full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{formik.values.accountCertification[index].certificationType &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.values.accountCertification.length - 1 === index ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t push({ ...certificationTemplate })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"add-more-credentials full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd another credential\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t{isCertificationValid ? (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('useExistingCertifications', val);\n\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`accountCertification[0].certificationType`, '');\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\tvalue={formik.values.useExistingCertifications}\n\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default PartTwo;\n","import * as React from 'react';\n\n// PACKAGES\nimport { Formik, Field, ErrorMessage, Form } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport SingleSelect from '../../../components/SingleSelect';\nimport FileUpload from '../../../components/FileUpload';\nimport AddLaterRadio from '../../../components/AddLaterRadio';\nimport Button from '../../../components/Button';\nimport DateInput from '../../../components/DateInput';\nimport ExistingCertification from '../../../components/ExistingCertification';\n\n// TYPES\nimport { CertificationTypes } from './CertificationStaff';\nimport { FileType } from '../../../components/FileUpload';\nimport { AccountExistingCertificationsCertification } from '../../../api/models';\n\ninterface PartThreeTypes {\n\tcertificationData: CertificationTypes;\n\tsetFormSection: React.Dispatch>;\n\tsetCertificationFormData: React.Dispatch>;\n\texistingCertifications: AccountExistingCertificationsCertification[];\n}\n\ninterface policeCheck {\n\tcertificationType?: string;\n\tdate?: string;\n\tcreateAttachments?: string[];\n\tattachments?: FileType[];\n\taddLater?: boolean;\n}\n\nconst PartThree: React.FC = ({\n\tcertificationData,\n\tsetFormSection,\n\tsetCertificationFormData,\n\texistingCertifications\n}) => {\n\tconst onboardingDocs = [{ label: 'Police Check', value: 'PoliceCheck' }];\n\n\t// Set Initial Values\n\tconst PartThreeInitialValues: policeCheck = {\n\t\tcertificationType: (certificationData.policeCheck && certificationData.policeCheck.certificationType) || '',\n\t\tdate: (certificationData.policeCheck && certificationData.policeCheck.date) || '',\n\t\tattachments:\n\t\t\tcertificationData && certificationData.policeCheck?.attachments ? certificationData.policeCheck.attachments : [],\n\t\tcreateAttachments:\n\t\t\tcertificationData && certificationData.policeCheck?.createAttachments\n\t\t\t\t? certificationData.policeCheck.createAttachments\n\t\t\t\t: [],\n\t\taddLater:\n\t\t\tcertificationData && certificationData.policeCheck?.certificationType\n\t\t\t\t? false\n\t\t\t\t: existingCertifications &&\n\t\t\t\t existingCertifications.length > 0 &&\n\t\t\t\t existingCertifications.filter((item) => item.validCertification).length > 0\n\t\t\t\t? true\n\t\t\t\t: false\n\t};\n\n\t//Submit form\n\tconst continueFormStepTwo = (values: any) => {\n\t\tsetFormSection('4');\n\t\tif (values.addLater) {\n\t\t\tsetCertificationFormData((prevState) => ({\n\t\t\t\t...prevState,\n\t\t\t\tpoliceCheck: {\n\t\t\t\t\tcertificationType: '',\n\t\t\t\t\tdate: '',\n\t\t\t\t\tcreateAttachments: []\n\t\t\t\t}\n\t\t\t}));\n\t\t}\n\t};\n\n\t// Validation\n\tconst formTwoValidationSchema = Yup.object().shape({\n\t\tcertificationType: Yup.string().when('addLater', { is: false, then: Yup.string().required('Required') }),\n\t\tdate: Yup.string().when('addLater', { is: false, then: Yup.string().required('Required') }),\n\t\tcreateAttachments: Yup.array().when('addLater', {\n\t\t\tis: false,\n\t\t\tthen: Yup.array().min(1, 'Required').required('Required')\n\t\t})\n\t});\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('certificationType', val);\n\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('addLater', false);\n\t\t\t\t\t\t\t\t\t\t\t\tsetCertificationFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\t\t\t\t\t\t\t\t\t\t\t\t\tpoliceCheck: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState.policeCheck,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcertificationType: val\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t}));\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t{!formik.values.addLater && formik.values.certificationType ? (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('date', val);\n\t\t\t\t\t\t\t\t\t\t\tsetCertificationFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\t\t\t\t\t\t\t\t\t\t\t\tpoliceCheck: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState.policeCheck,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdate: val\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}));\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('createAttachments', val);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetCertificationFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpoliceCheck: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState.policeCheck,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcreateAttachments: [val],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tattachments: files\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}));\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmultiple={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfiles={formik.values.attachments}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel=\"Photo of identification\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t 0}\n\t\t\t\t\t\t\tonChange={(val: boolean) => {\n\t\t\t\t\t\t\t\tformik.setFieldValue('addLater', val);\n\t\t\t\t\t\t\t\tformik.setFieldValue('certificationType', '');\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\tvalue={formik.values.addLater}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t{existingCertifications && existingCertifications.length > 0 ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default PartThree;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { Formik, Field, Form, ErrorMessage, FieldArray } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport SingleSelect from '../../../components/SingleSelect';\nimport FileUpload from '../../../components/FileUpload';\nimport AddLaterRadio from '../../../components/AddLaterRadio';\nimport Button from '../../../components/Button';\nimport ExistingCertification from '../../../components/ExistingCertification';\nimport DateInput from '../../../components/DateInput';\n\n// TYPES\nimport { CertificationTypes } from './CertificationStaff';\nimport { FileType } from '../../../components/FileUpload';\nimport { AccountExistingCertificationsCertification, DomainCertificationType } from '../../../api/models';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../../assets/svg/plus.svg';\nimport { ReactComponent as MinusIcon } from '../../../assets/svg/minus.svg';\n\ninterface PartFourTypes {\n\tcertificationData: CertificationTypes;\n\tsetFormSection: React.Dispatch>;\n\tsetCertificationFormData: React.Dispatch>;\n\texistingCertifications: AccountExistingCertificationsCertification[];\n}\n\ninterface qualificationCertificateTypes {\n\tqualificationCertificateType?: string;\n\ttitle?: string;\n\tdate?: string;\n\torganisation?: string;\n\tcreateAttachments?: string[];\n\tattachments?: FileType[];\n}\n\nconst PartFour: React.FC = ({\n\tcertificationData,\n\tsetFormSection,\n\tsetCertificationFormData,\n\texistingCertifications\n}) => {\n\tconst qualificationCertificationsList = useAppSelector((state) => state?.lists.qualificationCertifications);\n\n\t// Set initial certification template\n\tconst certificationTemplate: qualificationCertificateTypes = {\n\t\tqualificationCertificateType: '',\n\t\ttitle: '',\n\t\tdate: '',\n\t\torganisation: '',\n\t\tattachments: [],\n\t\tcreateAttachments: []\n\t};\n\n\t//Set Initial Values\n\tconst PartFourInitialValues = {\n\t\tqualificationCertifications: certificationData.qualificationCertificate\n\t\t\t? [...certificationData.qualificationCertificate]\n\t\t\t: [{ ...certificationTemplate }],\n\n\t\taddLater:\n\t\t\texistingCertifications &&\n\t\t\texistingCertifications.length > 0 &&\n\t\t\texistingCertifications.filter((item) => item.validCertification).length > 0\n\t\t\t\t? true\n\t\t\t\t: false\n\t};\n\n\t//Submit form\n\tfunction continueFormStepThree(values: any) {\n\t\tsetFormSection('5');\n\t\tif (!values.addLater) {\n\t\t\tsetCertificationFormData((prevState) => ({\n\t\t\t\t...prevState,\n\t\t\t\tqualificationCertificate: values.qualificationCertifications.map(\n\t\t\t\t\t(qualification: qualificationCertificateTypes) => ({\n\t\t\t\t\t\tqualificationCertificateType: qualification.qualificationCertificateType as DomainCertificationType,\n\t\t\t\t\t\ttitle: qualification.title,\n\t\t\t\t\t\tdate: qualification.date,\n\t\t\t\t\t\torganisation: qualification.organisation,\n\t\t\t\t\t\tattachments: qualification.attachments,\n\t\t\t\t\t\tcreateAttachments: qualification.createAttachments\n\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t}));\n\t\t} else {\n\t\t\tsetCertificationFormData((prevState) => ({\n\t\t\t\t...prevState,\n\t\t\t\tqualificationCertificate: [{ ...certificationTemplate }]\n\t\t\t}));\n\t\t}\n\t}\n\n\t//Validation\n\tconst formThreeValidationSchema = Yup.object().shape({\n\t\tqualificationCertifications: Yup.array().when('addLater', {\n\t\t\tis: false,\n\t\t\tthen: Yup.array().of(\n\t\t\t\tYup.object({\n\t\t\t\t\tqualificationCertificateType: Yup.string().required('Required'),\n\t\t\t\t\ttitle: Yup.string().required('Required'),\n\t\t\t\t\tdate: Yup.string().required('Required'),\n\t\t\t\t\torganisation: Yup.string().required('Required'),\n\t\t\t\t\tcreateAttachments: Yup.array().min(1, 'Required').required()\n\t\t\t\t})\n\t\t\t)\n\t\t})\n\t});\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(props) => {\n\t\t\t\t\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\t\t\t\t\tconst { values } = form;\n\t\t\t\t\t\t\t\t\tconst { qualificationCertifications } = values;\n\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t{qualificationCertifications.map((certificate: any, index: number) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{!formik.values.addLater && index !== 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t remove(index)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"remove-credentials full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`qualificationCertifications[${index}].qualificationCertificateType`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tval\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`addLater`, false);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\toptions={qualificationCertificationsList}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.values.addLater\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? ''\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: formik.values.qualificationCertifications[index]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.qualificationCertificateType\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Select level of qualification...\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : index === 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`qualificationCertifications[${index}].qualificationCertificateType`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tval\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`addLater`, false);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\toptions={qualificationCertificationsList}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.values.addLater\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? ''\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: formik.values.qualificationCertifications[index]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.qualificationCertificateType\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Select level of qualification...\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{!formik.values.addLater &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.values.qualificationCertifications[index].qualificationCertificateType ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`qualificationCertifications[${index}].title`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tval.target.value\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={formik.values.qualificationCertifications[index].title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`qualificationCertifications[${index}].date`, val);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`qualificationCertifications[${index}].organisation`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tval.target.value\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={formik.values.qualificationCertifications[index].organisation}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`qualificationCertifications[${index}].createAttachments`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tval\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfiles={formik.values.qualificationCertifications[index].attachments}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{formik.isValid &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.values.qualificationCertifications[index].qualificationCertificateType &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.values.qualificationCertifications.length - 1 === index ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t push({ ...certificationTemplate })}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"add-more-credentials full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd another credential\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t 0}\n\t\t\t\t\t\t\t\tonChange={(val: boolean) => formik.setFieldValue('addLater', val)}\n\t\t\t\t\t\t\t\tvalue={formik.values.addLater}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t{existingCertifications && existingCertifications.length > 0 ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default PartFour;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { Formik, Field, ErrorMessage, Form } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport FileUpload from '../../../components/FileUpload';\nimport AddLaterRadio from '../../../components/AddLaterRadio';\nimport Button from '../../../components/Button';\nimport ExistingCertification from '../../../components/ExistingCertification';\n\n// TYPES\nimport { FileType } from '../../../components/FileUpload';\nimport { CertificationTypes } from './CertificationStaff';\nimport { AccountExistingCertificationsCertification } from '../../../api/models';\n\ninterface PartFiveTypes {\n\tcertificationData: CertificationTypes;\n\tsetCertificationFormData: React.Dispatch>;\n\tsetFormSection: React.Dispatch>;\n\tdoJoin: () => void;\n\tloading: boolean;\n\tformErrorMessage?: string;\n\texistingCertifications: AccountExistingCertificationsCertification[];\n}\n\ninterface vaccinationType {\n\tvaccinationCertificate?: string;\n\tcreateAttachments?: string[];\n\tattachments?: FileType[];\n\taddLater?: boolean;\n\tacknowledge?: boolean;\n\tuserAcknowledgement?: boolean;\n\thasExistingCertification?: boolean;\n}\n\nconst PartFive: React.FC = ({\n\tcertificationData,\n\tsetCertificationFormData,\n\tdoJoin,\n\tloading,\n\tformErrorMessage,\n\texistingCertifications\n}) => {\n\t// Check if User is logged in or not\n\tconst isUserLoggedIn = useAppSelector((state) => state.user.loggedIn);\n\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\tconst [updateCount, setUpdateCount] = React.useState(0);\n\n\t// Set Initial Values\n\tconst PartFiveInitialValues: vaccinationType = {\n\t\tattachments:\n\t\t\tcertificationData && certificationData.vaccinationCertificate\n\t\t\t\t? certificationData.vaccinationCertificate.attachments\n\t\t\t\t: [],\n\t\tcreateAttachments:\n\t\t\tcertificationData && certificationData.vaccinationCertificate\n\t\t\t\t? certificationData.vaccinationCertificate.createAttachments\n\t\t\t\t: [],\n\t\taddLater:\n\t\t\texistingCertifications &&\n\t\t\texistingCertifications.length > 0 &&\n\t\t\texistingCertifications.filter((item) => item.validCertification).length > 0\n\t\t\t\t? true\n\t\t\t\t: false,\n\t\tacknowledge: certificationData && certificationData.vaccinationCertificate ? certificationData.acknowledge : false,\n\t\tuserAcknowledgement:\n\t\t\tcertificationData && certificationData.vaccinationCertificate\n\t\t\t\t? certificationData.vaccinationCertificate.userAcknowledgement\n\t\t\t\t: false,\n\t\thasExistingCertification: existingCertifications && existingCertifications.length > 0 ? true : false\n\t};\n\n\t// Submit form\n\tconst continueFormStepFive = (values: any) => {\n\t\tsetCertificationFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\tacknowledge: values.acknowledge,\n\t\t\tvaccinationCertificate: {\n\t\t\t\tuserAcknowledgement: values.userAcknowledgement,\n\t\t\t\tcreateAttachments: values.createAttachments\n\t\t\t}\n\t\t}));\n\n\t\tif (values.addLater) {\n\t\t\tsetCertificationFormData((prevState) => ({\n\t\t\t\t...prevState,\n\n\t\t\t\tvaccinationCertificate: {\n\t\t\t\t\tcreateAttachments: [],\n\t\t\t\t\tattachments: [],\n\t\t\t\t\tuserAcknowledgement: values.userAcknowledgement\n\t\t\t\t},\n\t\t\t\tacknowledge: values.acknowledge\n\t\t\t}));\n\t\t}\n\n\t\tdoJoin();\n\t};\n\n\t// Validation\n\tconst formFiveValidationSchema = Yup.object().shape({\n\t\tcreateAttachments: Yup.array().when('addLater', {\n\t\t\tis: false,\n\t\t\tthen: Yup.array().min(1, 'Required').required('Required')\n\t\t}),\n\t\tuserAcknowledgement: Yup.bool().when('addLater', {\n\t\t\tis: true,\n\t\t\tthen: Yup.bool().when('hasExistingCertification', {\n\t\t\t\tis: true,\n\t\t\t\tthen: Yup.bool().oneOf([true], 'Required').required('Required')\n\t\t\t}),\n\t\t\totherwise: Yup.bool().oneOf([true], 'Required').required('Required')\n\t\t}),\n\t\tacknowledge: Yup.bool().oneOf([true], 'Required').required('Required')\n\t});\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\tconst uploadFile = (val: string[], files: any[]) => {\n\t\t\t\t\tif (!formik.values.addLater) {\n\t\t\t\t\t\tif (formik.values.createAttachments) {\n\t\t\t\t\t\t\tsetCertificationFormData((prevState) => ({\n\t\t\t\t\t\t\t\t...prevState,\n\t\t\t\t\t\t\t\tvaccinationCertificate: {\n\t\t\t\t\t\t\t\t\t...prevState.vaccinationCertificate,\n\t\t\t\t\t\t\t\t\tcreateAttachments: val,\n\t\t\t\t\t\t\t\t\tattachments: files\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t

Please provide evidence of your vaccination status

\n\n\t\t\t\t\t\t\t\t (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('createAttachments', val), uploadFile(val, files);\n\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('addLater', false);\n\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t 0}\n\t\t\t\t\t\t\t\tonChange={(val: boolean) => {\n\t\t\t\t\t\t\t\t\tformik.setFieldValue('addLater', !formik.values.addLater);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\tvalue={formik.values.addLater}\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t{existingCertifications && existingCertifications.length > 0 ? (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t{!!formErrorMessage &&
{formErrorMessage}
}\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default PartFive;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../../store';\nimport UserSlice from '../../../store/slices/User';\n\n// PACKAGES\nimport { Link, useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\n\n// ICONS\nimport { ReactComponent as TickIcon } from '../../../assets/svg/tick-circle.svg';\nimport { ReactComponent as LogOutIcon } from '../../../assets/svg/logout.svg';\n\n// TYPES\ninterface CertificationSuccessTypes {\n\torganisationName?: string;\n\tnewlyCreatedOrganisationId?: string;\n\tisActive?: boolean;\n}\n\nconst CertificationSuccess: React.FC = ({\n\torganisationName,\n\tnewlyCreatedOrganisationId,\n\tisActive\n}) => {\n\tconst history = useHistory();\n\n\tconst dispatch = useAppDispatch();\n\n\tconst websiteURL = useAppSelector((store) => store.lists.websiteUrl);\n\n\tconst hasMultipleProfiles = useAppSelector((store) => store.user.profiles && store.user.profiles.length > 0);\n\n\tconst doLogout = () => {\n\t\tdispatch(UserSlice.actions.logOut());\n\t};\n\n\tconst goToHomepage = () => {\n\t\twindow.location.href = websiteURL || '';\n\t};\n\n\tconst goToJoin = () => {\n\t\thistory.push('/find-organisation');\n\t};\n\n\tconst submit = async () => {\n\t\tif (isActive) {\n\t\t\tconst response = await apibridge.doSwitchOrganisation(newlyCreatedOrganisationId);\n\n\t\t\tif (response.isError) {\n\t\t\t\tconsole.log(response.validationErrors.map((error: any) => 'Error: ' + (error.name + ' - ' + error.reason)));\n\t\t\t} else {\n\t\t\t\tdispatch(UserSlice.actions.forceUpdate({}));\n\n\t\t\t\thistory.push('/dashboard');\n\t\t\t}\n\t\t} else {\n\t\t\tdispatch(UserSlice.actions.forceUpdate({}));\n\n\t\t\thistory.push('/dashboard');\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t\n\n\t\t\t\n\t\t\t\t{newlyCreatedOrganisationId && isActive ? (\n\t\t\t\t\t<>Your new Organisation {organisationName} has been created\n\t\t\t\t) : (\n\t\t\t\t\t<>Your request to join {organisationName} has been sent and you will be notified when it has been reviewed.\n\t\t\t\t)}\n\t\t\t\n\n\t\t\t{(newlyCreatedOrganisationId && isActive) || hasMultipleProfiles ? (\n\t\t\t\t\n\t\t\t) : (\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default CertificationSuccess;\n","import * as React from 'react';\n\ninterface ErrorMessageTypes {\n\tmessage?: string;\n\textraClass?: string;\n}\n\nconst ErrorMessage: React.FC = ({ message, extraClass }) => {\n\treturn (\n\t\t

\n\t\t\t{message ? message : <>Oops, there is something wrong. Please come back later!}\n\t\t

\n\t);\n};\n\nexport default ErrorMessage;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport PartOne from './PartOne';\nimport PartTwo from './PartTwo';\nimport PartThree from './PartThree';\nimport PartFour from './PartFour';\nimport PartFive from './PartFive';\nimport CertificationSuccess from '../ComponentForms/CertificationSuccess';\nimport ErrorMessage from '../../../components/ErrorMessage';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\nimport OrganisationLogo from '../../../components/OrganisationLogo';\n\n// ICONS\nimport { ReactComponent as LeftArrrow } from '../../../assets/svg/arrow-left.svg';\n\n// TYPES\nimport {\n\tAccountExistingCertificationsCertification,\n\tAccountJoinOrganisationCertification,\n\tAccountJoinOrganisationCommand,\n\tDomainCertificationReviewType,\n\tDomainCertificationType,\n\tDomainProfileType,\n\tOrganisationFindOrganisationSummary\n} from '../../../api/models';\nimport { FileType } from '../../../components/FileUpload';\n\nexport interface CertificationTypes {\n\torganisationRole?: string;\n\tauthorityToWork?: {\n\t\tcertificationType?: string;\n\t\tstate?: string;\n\t\texpiry?: string;\n\t\tcertificationNumber?: string;\n\t\tcreateAttachments?: string[];\n\t\tattachments?: FileType[];\n\t\tuserAcknowledgement?: boolean;\n\t}[];\n\tpoliceCheck?: {\n\t\tcertificationType?: string;\n\t\tdate?: string;\n\t\tcreateAttachments?: string[];\n\t\tattachments?: FileType[];\n\t};\n\tqualificationCertificate?: {\n\t\tqualificationCertificateType?: string;\n\t\ttitle?: string;\n\t\tdate?: string;\n\t\torganisation?: string;\n\t\tcreateAttachments?: string[];\n\t\tattachments?: FileType[];\n\t}[];\n\tvaccinationCertificate?: {\n\t\tcreateAttachments?: string[];\n\t\tattachments?: FileType[];\n\t\tuserAcknowledgement?: boolean;\n\t};\n\tacknowledge?: boolean;\n}\n\ninterface CertificationStaffTypes {\n\torganisationData?: OrganisationFindOrganisationSummary;\n\tprofileData?: { label?: string; value?: string } | undefined;\n}\n\nconst CertificationStaff: React.FC = ({ organisationData, profileData }) => {\n\t// STATES\n\tconst [certificationFormData, setCertificationFormData] = React.useState({});\n\n\tconst [formSection, setFormSection] = React.useState('1');\n\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [existingCertifications, setExistingCertifications] = React.useState<\n\t\tAccountExistingCertificationsCertification[]\n\t>([]);\n\n\tconst [existingTeacherRegistration, setExistingTeacherRegistration] = React.useState<\n\t\tAccountExistingCertificationsCertification[]\n\t>([]);\n\n\tconst [existingWWCCRegistration, setExistingWWCCRegistration] = React.useState<\n\t\tAccountExistingCertificationsCertification[]\n\t>([]);\n\n\tconst [newlyCreatedOrganisationId, setNewlyCreatedOrganisationId] = React.useState('');\n\tconst [isProfileActive, setIsProfileActive] = React.useState(false);\n\n\tconst getExistingCertifications = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getAccountExistingCertifications();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\t\t} else {\n\t\t\tsetExistingCertifications(response.result);\n\n\t\t\tsetExistingTeacherRegistration(\n\t\t\t\tresponse.result &&\n\t\t\t\t\tresponse.result.filter(\n\t\t\t\t\t\t(item: AccountExistingCertificationsCertification) =>\n\t\t\t\t\t\t\titem.certificationType === DomainCertificationType.TeacherRegistration\n\t\t\t\t\t)\n\t\t\t);\n\n\t\t\tsetExistingWWCCRegistration(\n\t\t\t\tresponse.result &&\n\t\t\t\t\tresponse.result.filter(\n\t\t\t\t\t\t(item: AccountExistingCertificationsCertification) =>\n\t\t\t\t\t\t\titem.certificationType === DomainCertificationType.WorkingWithChildrenCheck\n\t\t\t\t\t)\n\t\t\t);\n\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetShowError(false);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetExistingCertifications();\n\t}, []);\n\n\t// REFS\n\tconst normalisedCertificationData = React.useRef([]);\n\n\t// Go back to previous form section\n\tconst goBack = () => {\n\t\tswitch (formSection!) {\n\t\t\tcase '2':\n\t\t\t\tsetFormSection('1');\n\t\t\t\tbreak;\n\t\t\tcase '3':\n\t\t\t\tsetFormSection('2');\n\t\t\t\tbreak;\n\t\t\tcase '4':\n\t\t\t\tsetFormSection('3');\n\t\t\t\tbreak;\n\t\t\tcase '5':\n\t\t\t\tsetFormSection('4');\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t};\n\n\tconst formatCertificationData = (certificationFormData: CertificationTypes) => {\n\t\tconst authorityToWork: AccountJoinOrganisationCertification[] =\n\t\t\tcertificationFormData && certificationFormData.authorityToWork\n\t\t\t\t? certificationFormData.authorityToWork.map((form: any) => {\n\t\t\t\t\t\treturn form.certificationType !== ''\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\tcertificationType: form.certificationType,\n\t\t\t\t\t\t\t\t\tstate: form.state,\n\t\t\t\t\t\t\t\t\texpiry: form.expiry,\n\t\t\t\t\t\t\t\t\tcertificationNumber: form.certificationNumber,\n\t\t\t\t\t\t\t\t\tcreateAttachments: form.createAttachments,\n\t\t\t\t\t\t\t\t\tuserAcknowledgement: form.userAcknowledgement\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t: {};\n\t\t\t\t })\n\t\t\t\t: [];\n\n\t\tconst policeCheck: AccountJoinOrganisationCertification =\n\t\t\tcertificationFormData.policeCheck && certificationFormData.policeCheck.date\n\t\t\t\t? {\n\t\t\t\t\t\tcertificationType: DomainCertificationType.PoliceCheck,\n\t\t\t\t\t\tdate: certificationFormData.policeCheck && certificationFormData.policeCheck.date,\n\t\t\t\t\t\tcreateAttachments: certificationFormData.policeCheck && certificationFormData.policeCheck.createAttachments\n\t\t\t\t }\n\t\t\t\t: {};\n\n\t\tconst qualificationCertificate: AccountJoinOrganisationCertification[] =\n\t\t\tcertificationFormData && certificationFormData.qualificationCertificate\n\t\t\t\t? certificationFormData.qualificationCertificate.map((form: any) => {\n\t\t\t\t\t\treturn form.qualificationCertificateType\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\tcertificationType: form.qualificationCertificateType,\n\t\t\t\t\t\t\t\t\ttitle: form.title,\n\t\t\t\t\t\t\t\t\tdate: form.date,\n\t\t\t\t\t\t\t\t\torganisation: form.organisation,\n\t\t\t\t\t\t\t\t\tcreateAttachments: form.createAttachments\n\t\t\t\t\t\t\t }\n\t\t\t\t\t\t\t: {};\n\t\t\t\t })\n\t\t\t\t: [];\n\n\t\tconst vaccinationCertificate: AccountJoinOrganisationCertification =\n\t\t\tcertificationFormData.vaccinationCertificate?.createAttachments &&\n\t\t\tcertificationFormData.vaccinationCertificate?.createAttachments.length > 0\n\t\t\t\t? {\n\t\t\t\t\t\tcertificationType: DomainCertificationType.VaccinationCertificate,\n\t\t\t\t\t\tcreateAttachments: certificationFormData.vaccinationCertificate?.createAttachments,\n\t\t\t\t\t\tuserAcknowledgement: certificationFormData.vaccinationCertificate?.userAcknowledgement\n\t\t\t\t }\n\t\t\t\t: {};\n\n\t\tnormalisedCertificationData.current = [\n\t\t\t...authorityToWork,\n\t\t\tpoliceCheck,\n\t\t\t...qualificationCertificate,\n\t\t\tvaccinationCertificate\n\t\t]; // all the normalized certification data\n\t};\n\n\tconst doJoin = async () => {\n\t\tformatCertificationData(certificationFormData);\n\n\t\tconst noneEmptyData: AccountJoinOrganisationCertification[] = [];\n\n\t\tnormalisedCertificationData.current.map((item) => Object.keys(item).length > 0 && noneEmptyData.push(item));\n\n\t\tconst fields: AccountJoinOrganisationCommand = {\n\t\t\torganisationIdentifier: organisationData?.identifier,\n\t\t\tprofileType: profileData && (profileData.value as DomainProfileType),\n\t\t\tstaffType: certificationFormData.organisationRole,\n\t\t\tcertifications: noneEmptyData\n\t\t};\n\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.doJoinOrganisation(fields);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetShowError(true);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetShowError(false);\n\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetNewlyCreatedOrganisationId(response.result.profileId);\n\n\t\t\tsetIsProfileActive(response.result.isActive);\n\n\t\t\tsetFormSection('success');\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{showError ? (\n\t\t\t\t\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{formSection !== '1' && formSection !== 'success' ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{formSection === 'success' ? null : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t

{organisationData?.name}

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

Please provide additional certification information.

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

Part {formSection} of 5

\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{formSection === '1' ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : formSection === '2' ? (\n\t\t\t\t\t\t\t\t\t\t item.certificationType === DomainCertificationReviewType.WorkingWithChildrenCheck\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\texistingWWCCRegistration={existingWWCCRegistration}\n\t\t\t\t\t\t\t\t\t\t\texistingTeacherRegistration={existingTeacherRegistration}\n\t\t\t\t\t\t\t\t\t\t\tcertificationData={certificationFormData}\n\t\t\t\t\t\t\t\t\t\t\tsetFormSection={setFormSection}\n\t\t\t\t\t\t\t\t\t\t\tsetCertificationFormData={setCertificationFormData}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t) : formSection === '3' ? (\n\t\t\t\t\t\t\t\t\t\t cert.reviewType === DomainCertificationReviewType.PoliceCheck\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tcertificationData={certificationFormData}\n\t\t\t\t\t\t\t\t\t\t\tsetFormSection={setFormSection}\n\t\t\t\t\t\t\t\t\t\t\tsetCertificationFormData={setCertificationFormData}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t) : formSection === '4' ? (\n\t\t\t\t\t\t\t\t\t\t cert.reviewType === DomainCertificationReviewType.Qualification\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tcertificationData={certificationFormData}\n\t\t\t\t\t\t\t\t\t\t\tsetFormSection={setFormSection}\n\t\t\t\t\t\t\t\t\t\t\tsetCertificationFormData={setCertificationFormData}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t) : formSection === '5' ? (\n\t\t\t\t\t\t\t\t\t\t cert.reviewType === DomainCertificationReviewType.Vaccination\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tcertificationData={certificationFormData}\n\t\t\t\t\t\t\t\t\t\t\tsetCertificationFormData={setCertificationFormData}\n\t\t\t\t\t\t\t\t\t\t\tloading={isLoading}\n\t\t\t\t\t\t\t\t\t\t\tformErrorMessage={formErrorMessage}\n\t\t\t\t\t\t\t\t\t\t\tsetFormSection={setFormSection}\n\t\t\t\t\t\t\t\t\t\t\tdoJoin={doJoin}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t) : formSection === 'success' ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default CertificationStaff;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { ErrorMessage, Field, FastField, FieldArray, Form, Formik } from 'formik';\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport SingleSelect from '../../../components/SingleSelect';\nimport Button from '../../../components/Button';\nimport FileUpload from '../../../components/FileUpload';\nimport ErrorMes from '../../../components/ErrorMessage';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\nimport OrganisationLogo from '../../../components/OrganisationLogo';\nimport CertificationSuccess from '../ComponentForms/CertificationSuccess';\nimport ExistingCertification from '../../../components/ExistingCertification';\nimport DateDayExpiryInput from '../../../components/DateDayExpiryInput';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../../assets/svg/plus.svg';\n\n// TYPES\nimport {\n\tAccountExistingCertificationsCertification,\n\tAccountJoinOrganisationCertification,\n\tAccountJoinOrganisationCommand,\n\tDomainCertificationType,\n\tDomainProfileType,\n\tDomainRelationshipType,\n\tOrganisationSearchOrganisationSearchSummary,\n\tAccountLinkChildNameCommand,\n\tAccountExistingCertificationsResponse\n} from '../../../api/models';\n\ninterface CertificationParentTypes {\n\torganisationData?: OrganisationSearchOrganisationSearchSummary;\n\tprofileData?: { label?: string; value?: string } | undefined;\n}\n\nconst CertificationParent: React.FC = ({ organisationData, profileData }) => {\n\t// Check if User is logged in or not\n\tconst isUserLoggedIn = useAppSelector((state) => state.user.loggedIn);\n\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Get all states from Redux store\n\tconst states = useAppSelector((state) => state?.lists.states);\n\n\t// Error and Loading states\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState();\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst [success, setSuccess] = React.useState(false);\n\n\tconst [existingCertification, setExistingCertification] = React.useState<\n\t\tAccountExistingCertificationsCertification[] | undefined\n\t>([]);\n\n\tconst getExistingCertifications = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response: AccountExistingCertificationsResponse = await apibridge.getAccountExistingCertifications();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\t\t} else {\n\t\t\tsetExistingCertification(\n\t\t\t\tresponse.result &&\n\t\t\t\t\tresponse.result.filter(\n\t\t\t\t\t\t(item: AccountExistingCertificationsCertification) =>\n\t\t\t\t\t\t\titem.certificationType === DomainCertificationType.WorkingWithChildrenCheck && item.validCertification\n\t\t\t\t\t)\n\t\t\t);\n\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetShowError(false);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetExistingCertifications();\n\t}, []);\n\n\t// Get all Relationship Types from Redux store\n\tconst relationship = useAppSelector((state) => state?.lists.relationshipTypes);\n\n\t// Set initial template\n\tconst certificationTemplate: AccountJoinOrganisationCertification = {\n\t\tcertificationType: DomainCertificationType.WorkingWithChildrenCheck,\n\t\tstate: '',\n\t\texpiry: '',\n\t\tcertificationNumber: '',\n\t\tcreateAttachments: [],\n\t\tuserAcknowledgement: false\n\t};\n\n\tconst existingWWCCRegistration = existingCertification?.filter(\n\t\t(item: AccountExistingCertificationsCertification) =>\n\t\t\titem.certificationType === DomainCertificationType.WorkingWithChildrenCheck\n\t);\n\n\t// Set Initial Values\n\tconst initalParentValues = {\n\t\trelationshipWithChild: '',\n\t\tchildren: [{ childsName: '' }],\n\t\texistingWWCCRegistration: existingWWCCRegistration || [],\n\t\tworkingWithChildren: { ...certificationTemplate },\n\t\tvolunteerStatus: '',\n\t\tuserAcknowledgement: false,\n\t\tvalidExistingWorkingWithChildrenCheck: (existingCertification && existingCertification.length > 0) || false,\n\t\texistingWorkingWithChildren: false,\n\t\tacknowledge: false\n\t};\n\n\t// Validation\n\tconst parentFormValidation = Yup.object().shape({\n\t\trelationshipWithChild: Yup.string().required('Required'),\n\t\tchildren: Yup.array().of(\n\t\t\tYup.object().shape({\n\t\t\t\tchildsName: Yup.string().required('Required')\n\t\t\t})\n\t\t),\n\t\tworkingWithChildren: Yup.object().when('volunteerStatus', {\n\t\t\tis: 'workingWithChildren',\n\t\t\tthen: Yup.object().shape({\n\t\t\t\tstate: Yup.string().required('Required'),\n\t\t\t\texpiry: Yup.string().required('Required'),\n\t\t\t\tcreateAttachments: Yup.array().min(1, 'Required').required('Required'),\n\t\t\t\tcertificationNumber: Yup.string().required('Required'),\n\t\t\t\tuserAcknowledgement: Yup.boolean().oneOf([true], 'You must agree to continue').required('Required')\n\t\t\t})\n\t\t}),\n\t\texistingWWCCRegistration: Yup.array().when('volunteerStatus', {\n\t\t\tis: 'useExisting',\n\t\t\tthen: Yup.array(),\n\t\t\totherwise: Yup.array().of(\n\t\t\t\tYup.object({\n\t\t\t\t\tcertificationType: Yup.string().required('Required'),\n\t\t\t\t\tstate: Yup.string().required('Required'),\n\t\t\t\t\texpiry: Yup.string().required('Required'),\n\t\t\t\t\tcertificationNumber: Yup.string().required('Required'),\n\t\t\t\t\tcreateAttachments: Yup.array().min(1, 'Required').required(),\n\t\t\t\t\tuserAcknowledgement: Yup.boolean().oneOf([true], 'You must agree to continue').required('Required')\n\t\t\t\t})\n\t\t\t)\n\t\t}),\n\t\tvolunteerStatus: Yup.string().required('Required'),\n\t\tacknowledge: Yup.boolean().oneOf([true], 'You must agree to continue').required('Required')\n\t});\n\n\t// Submit Form\n\tconst parentFormSubmit = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: AccountJoinOrganisationCommand = {\n\t\t\torganisationIdentifier: organisationData?.identifier,\n\t\t\tprofileType: profileData?.value as DomainProfileType,\n\t\t\tvolunteerRequest:\n\t\t\t\tvalues.volunteerStatus === 'workingWithChildren' || values.volunteerStatus === 'useExisting' ? true : false,\n\t\t\tcertifications: values.workingWithChildren.certificationNumber ? [{ ...values.workingWithChildren }] : []\n\t\t};\n\n\t\tconst response = await apibridge.doJoinOrganisation(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetShowError(true);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tvalues.children.map(async (child: any) => {\n\t\t\t\tconst childData: AccountLinkChildNameCommand = {\n\t\t\t\t\tuserProfileId: response.result.profileId,\n\t\t\t\t\tname: child.childsName,\n\t\t\t\t\trelationshipType: values.relationshipWithChild as DomainRelationshipType\n\t\t\t\t};\n\n\t\t\t\tconst res = await apibridge.postAccountLinkChildName(childData);\n\n\t\t\t\tif (res.isError) {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetShowError(true);\n\n\t\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\t\tres.validationErrors.length\n\t\t\t\t\t\t\t? validationErrorsToString(res.validationErrors)\n\t\t\t\t\t\t\t: res.message || 'An error has occurred'\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tsetSuccess(true);\n\n\t\t\t\t\tsetShowError(false);\n\n\t\t\t\t\tsetIsLoading(false);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{showError ? (\n\t\t\t\t\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{!success ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t

Joining {organisationData?.name} as a Parent or Guardian

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

Please provide additional certification information.

\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('relationshipWithChild', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"relationshipWithChild\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\toptions={relationship}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(props) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst { values } = form;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst { children } = values;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{children.map((child: any, index: number) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
1 ? 'form-group' : ''} key={index}>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`children[${index}].childsName`,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tval.target.value\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"form-control\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{index !== 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t remove(index)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-secondary mleft-10\"\n\t\t\t\t\t\t\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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou will need to provide your Working With Children Check before you will be permitted\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tto volunteer at this organisation\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{existingCertification &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\texistingCertification.find((cert) => cert.validCertification) && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYes, use my existing WWCC details\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{formik.values.volunteerStatus === 'useExisting' ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYes here are my Working With Children Check details\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{formik.values.volunteerStatus === 'workingWith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t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{!!formErrorMessage &&
{formErrorMessage}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default CertificationParent;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { ErrorMessage, Field, FastField, Form, Formik } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport FileUpload from '../../../components/FileUpload';\nimport SingleSelect from '../../../components/SingleSelect';\nimport ExistingCertification from '../../../components/ExistingCertification';\nimport DateDayExpiryInput from '../../../components/DateDayExpiryInput';\n\n// TYPES\nimport { VisitorCertificationTypes } from './certificationVisitor';\nimport { AccountExistingCertificationsCertification, DomainCertificationType } from '../../../api/models';\n\ninterface PartOneTypes {\n\tsetFormSection: React.Dispatch>;\n\tsetFormData: React.Dispatch>;\n\tformData: VisitorCertificationTypes;\n\texistingCertification: AccountExistingCertificationsCertification[];\n\tdoJoin: () => Promise;\n\tloading: boolean;\n}\n\ninterface certificationTemplateTypes {\n\tcertificationType?: string;\n\tstate?: string;\n\texpiry?: string;\n\tcertificationNumber?: string;\n\tcreateAttachments?: string[];\n\tuserAcknowledgement: boolean;\n}\n\nconst PartOne: React.FC = ({\n\tsetFormSection,\n\tsetFormData,\n\tformData,\n\tdoJoin,\n\tloading,\n\texistingCertification\n}) => {\n\tconst WWCCRegFields = {\n\t\tWWCCReg: false\n\t};\n\n\t// Get all states from Redux store\n\tconst states = useAppSelector((state) => state?.lists.states);\n\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Set initial template\n\tconst certificationTemplate: certificationTemplateTypes = {\n\t\tcertificationType: DomainCertificationType.WorkingWithChildrenCheck,\n\t\tstate: '',\n\t\texpiry: '',\n\t\tcertificationNumber: '',\n\t\tcreateAttachments: [],\n\t\tuserAcknowledgement: false\n\t};\n\n\tconst existingWWCCRegistration =\n\t\texistingCertification &&\n\t\texistingCertification.filter(\n\t\t\t(item: AccountExistingCertificationsCertification) =>\n\t\t\t\titem.certificationType === DomainCertificationType.WorkingWithChildrenCheck\n\t\t);\n\n\t// Set Initial Values\n\tconst initalVisitorsValues = {\n\t\tpurposeForVisit: formData.purposeForVisit,\n\t\tbusinessName: formData ? formData.businessName : '',\n\t\texistingWWCCRegistration:\n\t\t\t(existingWWCCRegistration &&\n\t\t\t\texistingWWCCRegistration.map((item) => {\n\t\t\t\t\treturn { ...item, ...WWCCRegFields };\n\t\t\t\t})) ||\n\t\t\t[],\n\t\tworkingWithChildren: formData ? { ...formData.workingWithChildren } : { ...certificationTemplate },\n\t\tacknowledge: false,\n\t\thasValidExisitingWWCCCertificate: false,\n\t\tvolunteerStatus: 'workingWithChildren'\n\t};\n\n\t// Validation\n\tconst visitorsFormValidation = Yup.object().shape({\n\t\tpurposeForVisit: Yup.string().required('Required'),\n\t\tbusinessName: Yup.string().required('Required'),\n\t\tworkingWithChildren: Yup.object().when('volunteerStatus', {\n\t\t\tis: 'workingWithChildren',\n\t\t\tthen: Yup.object().shape({\n\t\t\t\tstate: Yup.string().required('Required'),\n\t\t\t\texpiry: Yup.string().required('Required'),\n\t\t\t\tcreateAttachments: Yup.array().min(1, 'Required').required('Required'),\n\t\t\t\tcertificationNumber: Yup.string().required('Required'),\n\t\t\t\tuserAcknowledgement: Yup.boolean().oneOf([true], 'You must agree to continue').required('Required')\n\t\t\t})\n\t\t}),\n\t\texistingWWCCRegistration: Yup.array().when('volunteerStatus', {\n\t\t\tis: 'useExisting',\n\t\t\tthen: Yup.array().of(\n\t\t\t\tYup.object({\n\t\t\t\t\tWWCCReg: Yup.boolean().oneOf([true], 'You must agree to continue').required('Required')\n\t\t\t\t})\n\t\t\t)\n\t\t}),\n\t\tacknowledge: Yup.bool().oneOf([true], 'Required').required('Required')\n\t});\n\n\t// Submit Form\n\n\tconst visitorsFormSubmit = (values: any) => {\n\t\tsetFormData((prevState) => ({\n\t\t\tpurposeForVisit: values.purposeForVisit,\n\t\t\tbusinessName: values.businessName,\n\t\t\tworkingWithChildren: {\n\t\t\t\t...prevState.workingWithChildren,\n\n\t\t\t\tstate: values.workingWithChildren.state,\n\t\t\t\texpiry: values.workingWithChildren.expiry,\n\t\t\t\tcertificationNumber: values.workingWithChildren.certificationNumber,\n\t\t\t\tcreateAttachments: values.workingWithChildren.createAttachments,\n\t\t\t\tuserAcknowledgement: values.workingWithChildren.userAcknowledgement\n\t\t\t},\n\t\t\tacknowledge: values.acknowledge\n\t\t}));\n\n\t\tdoJoin();\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\tconst handleUpdateState = (field: any, val: any) => {\n\t\t\t\t\tformik.setFieldValue(field, val);\n\n\t\t\t\t\tsetFormData((prevState) => ({ ...prevState, [field]: val }));\n\t\t\t\t};\n\n\t\t\t\tReact.useEffect(() => {\n\t\t\t\t\texistingCertification &&\n\t\t\t\t\t\texistingCertification.length > 0 &&\n\t\t\t\t\t\tformik.setFieldValue('volunteerStatus', 'useExisting');\n\t\t\t\t}, []);\n\n\t\t\t\treturn (\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t handleUpdateState('purposeForVisit', val.target.value)}\n\t\t\t\t\t\t\t\tplaceholder=\"Please specify... \"\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t handleUpdateState('businessName', val.target.value)}\n\t\t\t\t\t\t\t\tplaceholder=\"Please specify... \"\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t

You will need to provide this to be on site with our children

\n\n\t\t\t\t\t\t\t{existingCertification && existingCertification.length > 0 && (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tUse my existing WWCC details\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{formik.values.volunteerStatus === 'useExisting' ? (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tHere are my Working With Children Check details\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t{formik.values.volunteerStatus === 'workingWithChildren' && (\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t (\n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('workingWithChildren.state', val);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tworkingWithChildren: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState.workingWithChildren,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstate: val\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}));\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={formik.values.workingWithChildren.state}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('workingWithChildren.certificationNumber', val.target.value);\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tworkingWithChildren: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState.workingWithChildren,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcertificationNumber: val.target.value\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}));\n\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\tvalue={formik.values.workingWithChildren.certificationNumber}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t (\n\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`workingWithChildren.expiry`, val),\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tworkingWithChildren: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState.workingWithChildren,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\texpiry: val\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}));\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\texcludePast={true}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('workingWithChildren.createAttachments', val);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tworkingWithChildren: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState.workingWithChildren,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcreateAttachments: val\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}));\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t/>{' '}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default PartOne;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport PartOne from './PartOne';\nimport CertificationSuccess from '../ComponentForms/CertificationSuccess';\nimport ErrorMessage from '../../../components/ErrorMessage';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\nimport OrganisationLogo from '../../../components/OrganisationLogo';\n\n// TYPES\nimport {\n\tAccountExistingCertificationsCertification,\n\tAccountJoinOrganisationCertification,\n\tAccountJoinOrganisationCommand,\n\tDomainCertificationType,\n\tDomainProfileType,\n\tOrganisationSearchOrganisationSearchSummary\n} from '../../../api/models';\n\ninterface CertificationVisitorTypes {\n\torganisationData?: OrganisationSearchOrganisationSearchSummary;\n\tprofileData?: { label?: string; value?: string } | undefined;\n}\n\nexport interface VisitorCertificationTypes {\n\tpurposeForVisit?: string;\n\tbusinessName?: string;\n\texistingWWCCRegistration?: AccountJoinOrganisationCertification[];\n\tworkingWithChildren: AccountJoinOrganisationCertification;\n\tworkingWithChildrenStatus?: string;\n\tacknowledge: boolean;\n}\n\nconst CertificationVisitor: React.FC = ({ organisationData, profileData }) => {\n\tconst [formData, setFormData] = React.useState({\n\t\tpurposeForVisit: '',\n\t\tbusinessName: '',\n\t\texistingWWCCRegistration: [\n\t\t\t{\n\t\t\t\tcertificationType: DomainCertificationType.WorkingWithChildrenCheck,\n\t\t\t\tstate: '',\n\t\t\t\texpiry: '',\n\t\t\t\tcertificationNumber: '',\n\t\t\t\tcreateAttachments: [],\n\t\t\t\tuserAcknowledgement: false\n\t\t\t}\n\t\t],\n\t\tworkingWithChildren: {\n\t\t\tcertificationType: DomainCertificationType.WorkingWithChildrenCheck,\n\t\t\tstate: '',\n\t\t\texpiry: '',\n\t\t\tcertificationNumber: '',\n\t\t\tcreateAttachments: [],\n\t\t\tuserAcknowledgement: false\n\t\t},\n\t\tacknowledge: false\n\t});\n\tconst [formSection, setFormSection] = React.useState('partOne');\n\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [existingCertification, setExistingCertification] = React.useState<\n\t\tAccountExistingCertificationsCertification[]\n\t>([]);\n\n\tconst getExistingCertifications = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getAccountExistingCertifications();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\t\t} else {\n\t\t\tsetExistingCertification(\n\t\t\t\tresponse.result &&\n\t\t\t\t\tresponse.result.filter(\n\t\t\t\t\t\t(item: AccountExistingCertificationsCertification) =>\n\t\t\t\t\t\t\titem.certificationType === DomainCertificationType.WorkingWithChildrenCheck && item.validCertification\n\t\t\t\t\t)\n\t\t\t);\n\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetShowError(false);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetExistingCertifications();\n\t}, []);\n\n\t// Submit form data to API\n\n\tconst doJoin = async () => {\n\t\tconst data: AccountJoinOrganisationCommand = {\n\t\t\torganisationIdentifier: organisationData?.identifier,\n\t\t\tprofileType: profileData?.value as DomainProfileType,\n\t\t\tvisitPurpose: formData?.purposeForVisit,\n\t\t\tbusinessName: formData?.businessName,\n\t\t\tvolunteerRequest: true,\n\t\t\tcertifications: [{ ...formData.workingWithChildren }] || []\n\t\t};\n\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.doJoinOrganisation(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetShowError(true);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormSection('success');\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{showError ? (\n\t\t\t\t\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{formSection === 'success' ? null : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t

Registering with {organisationData?.name} as a Site Visitor

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

Please provide additional certification information.

\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t{formSection === 'partOne' ? (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : formSection === 'success' ? (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default CertificationVisitor;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { ErrorMessage, Field, Form, Formik } from 'formik';\n\n// COMPONENTS\nimport CertificationSuccess from '../ComponentForms/CertificationSuccess';\nimport ErrorMes from '../../../components/ErrorMessage';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\nimport Button from '../../../components/Button';\nimport OrganisationLogo from '../../../components/OrganisationLogo';\n\n// TYPES\nimport {\n\tDomainProfileType,\n\tOrganisationSearchOrganisationSearchSummary,\n\tAccountJoinOrganisationCommand\n} from '../../../api/models';\n\ninterface CertificationStudentTypes {\n\torganisationData?: OrganisationSearchOrganisationSearchSummary;\n\tprofileData?: { label?: string; value?: string } | undefined;\n}\n\nconst CertificationStudent: React.FC = ({ organisationData, profileData }) => {\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Error and Loading state\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [success, setSuccess] = React.useState(false);\n\n\tconst doJoinOrganisation = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: AccountJoinOrganisationCommand = {\n\t\t\torganisationIdentifier: organisationData?.identifier,\n\t\t\tprofileType: DomainProfileType.Student,\n\t\t\tparentsNames: values.parentName,\n\t\t\tparentsPhoneNumber: values.parentPhone\n\t\t};\n\n\t\tconst response = await apibridge.doJoinOrganisation(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetShowError(true);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetShowError(false);\n\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetSuccess(true);\n\t\t}\n\t};\n\n\t// Initial Values\n\tconst initialChildValues = {\n\t\tparentName: '',\n\t\tparentPhone: '',\n\t\tacknowledge: false\n\t};\n\n\t// FORM VALIDATION FOR AUSTRALIAN PHONE NUMBERS\n\tconst phoneRegExp =\n\t\t/^(?:\\+?(61))? ?(?:\\((?=.*\\)))?(0?[2-57-8])\\)? ?(\\d\\d(?:[- ](?=\\d{3})|(?!\\d\\d[- ]?\\d[- ]))\\d\\d[- ]?\\d[- ]?\\d{3})$/;\n\n\t//Validation\n\tconst validation = Yup.object({\n\t\tparentName: Yup.string().required('Required'),\n\t\tparentPhone: Yup.string().matches(phoneRegExp, 'Phone number is not valid').required('Required'),\n\t\tacknowledge: Yup.boolean().required('Required').oneOf([true], 'You must agree to continue')\n\t});\n\n\treturn (\n\t\t
\n\t\t\t{showError ? (\n\t\t\t\t\n\t\t\t) : success ? (\n\t\t\t\t\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{!success ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t

Joining {organisationData?.name} as a Child or Student

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

Please provide additional information.

\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default CertificationStudent;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { queryStringToObject, validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useLocation } from 'react-router-dom';\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport CertificationStaff from './Staff/CertificationStaff';\nimport CertificationParent from './Parent/CertificationParent';\nimport CertificationVisitor from './Visitor/certificationVisitor';\nimport CertificationStudent from './Student/CertificationStudent';\n\n// TYPES\nimport { OrganisationFindOrganisationSummary } from '../../api/models';\n\ninterface AddCertificationTypes {}\n\nexport const AddCertification: React.FC = ({}) => {\n\tconst location = useLocation();\n\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState();\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst lists = useAppSelector((state) => state.lists);\n\n\tconst [profile, setProfile] = React.useState<{ label?: string; value?: string } | undefined>();\n\n\tconst [organisation, setOrganisation] = React.useState();\n\n\tconst [paramsSuccess, setParamsSuccess] = React.useState(false);\n\n\t//Get Organisation ID and TYPE\n\tconst checkLocationParams = async () => {\n\t\tsetFormErrorMessage('');\n\n\t\tsetShowError(false);\n\n\t\tconst locationParams = location.state;\n\n\t\tconst queryParams = queryStringToObject();\n\n\t\t// merge in location state and query string\n\t\t// short names in query string, id becomes organisationIdentifier, type becomes profileType\n\t\tconst params = {\n\t\t\torganisationIdentifier: queryParams.id || undefined,\n\n\t\t\tprofileType: queryParams.type || undefined,\n\n\t\t\t...locationParams\n\t\t};\n\n\t\tsetIsLoading(true);\n\n\t\tif (params.organisationIdentifier && params.profileType) {\n\t\t\tconst selectedProfile =\n\t\t\t\tlists?.profileTypes?.filter((item) => item.value?.toLowerCase() === params.profileType?.toLowerCase())[0] ||\n\t\t\t\tundefined;\n\n\t\t\tif (selectedProfile) {\n\t\t\t\tsetProfile(selectedProfile);\n\t\t\t}\n\n\t\t\tconst response = await apibridge.getOrganisationByIdentifier(params.organisationIdentifier);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetShowError(true);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else if (response.result) {\n\t\t\t\tsetShowError(false);\n\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetOrganisation({\n\t\t\t\t\t...response.result\n\t\t\t\t});\n\n\t\t\t\tsetParamsSuccess(true);\n\t\t\t} else {\n\t\t\t\tsetShowError(false);\n\n\t\t\t\tsetIsLoading(false);\n\t\t\t}\n\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (lists) {\n\t\t\tcheckLocationParams();\n\t\t}\n\t}, [lists]);\n\n\tif (showError) {\n\t\treturn
{formErrorMessage}
;\n\t} else {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t{profile?.value === 'Staff' ? (\n\t\t\t\t\t\n\t\t\t\t) : profile?.value === 'Parent' ? (\n\t\t\t\t\t\n\t\t\t\t) : profile?.value === 'Visitor' ? (\n\t\t\t\t\t\n\t\t\t\t) : profile?.value === 'Student' ? (\n\t\t\t\t\t\n\t\t\t\t) : (\n\t\t\t\t\t\n\t\t\t\t\t\tJoin an Organisation\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\n\t\t);\n\t}\n};\n\nexport default AddCertification;\n","import * as React from 'react';\n\n// COMPONENTS\nimport ReadActivity from './ReadActivity';\nimport UpdateActivity from './UpdateActivity';\nimport DeleteActivity from './DeleteActivity';\n\n// TYPES\nimport { DashboardActivityFeedActivity } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\nexport enum ViewTypes {\n\tCreate = 'showCreate',\n\tRead = 'showRead',\n\tUpdate = 'showUpdate',\n\tDelete = 'showDelete'\n}\n\nconst defaultViewTypes = {\n\t[ViewTypes.Create]: false,\n\t[ViewTypes.Read]: false,\n\t[ViewTypes.Update]: false,\n\t[ViewTypes.Delete]: false\n};\n\ntype ShowViewType = (type: string) => void;\n\ninterface ActivityFeedModalTypes {\n\tviewType: ViewTypes;\n\tactivity?: DashboardActivityFeedActivity;\n\tcloseModal?: closeModalType;\n\trefreshActivityFeed: () => {};\n}\n\nexport interface ActivityFeedViewTypes {\n\tactivity?: DashboardActivityFeedActivity;\n\tshowView: ShowViewType;\n\tcloseModal?: closeModalType;\n\trefreshActivityFeed: () => {};\n}\n\nconst ActivityFeedModal: React.FC = ({\n\tviewType,\n\tactivity,\n\tcloseModal,\n\trefreshActivityFeed\n}) => {\n\tconst [state, setState] = React.useState({ ...defaultViewTypes, [viewType || ViewTypes.Read]: true });\n\n\tconst showView: ShowViewType = (viewType) => {\n\t\tsetState({ ...defaultViewTypes, [viewType]: true });\n\t};\n\n\tif (state.showCreate) {\n\t\treturn ;\n\t} else if (state.showRead) {\n\t\tif (activity) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\t} else return null;\n\t} else if (state.showUpdate) {\n\t\treturn (\n\t\t\t\n\t\t);\n\t} else if (state.showDelete) {\n\t\tif (activity) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\t} else return null;\n\t} else {\n\t\treturn null;\n\t}\n};\n\nexport default ActivityFeedModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../apibridge';\n\n// UTILS\nimport { listenForOutsideClicks } from '../utils';\n\n// COMPONENTS\nimport OrganisationLogo from './OrganisationLogo';\n\n// ICONS\nimport { ReactComponent as SeachIcon } from '../assets/svg/search.svg';\n\n// TYPES\nexport interface SearchOrganisationTypes {\n\tplaceholder?: string;\n\tonChange?: any;\n\tisFullWidth?: boolean;\n}\nimport { OrganisationSearchOrganisationSearchSummary } from '../api/models';\n\nconst SearchOrganisation: React.FC = ({\n\tplaceholder = 'Search...',\n\tonChange,\n\tisFullWidth\n}) => {\n\tconst [query, setQuery] = React.useState('');\n\n\tconst [searchResults, setSearchResults] = React.useState([]);\n\n\tconst [hasError, setHasError] = React.useState(false);\n\n\tconst [isActive, setIsActive] = React.useState(false);\n\n\tconst searchData = async (name: string) => {\n\t\tconst response = await apibridge.doOrganisationSearch(name);\n\n\t\tif (response.result) {\n\t\t\tsetHasError(false);\n\n\t\t\tsetSearchResults(response.result);\n\t\t} else {\n\t\t\tsetHasError(true);\n\n\t\t\tsetSearchResults([]);\n\t\t}\n\t};\n\n\tconst onChangeHandler = (e: React.ChangeEvent) => {\n\t\tconst val = e.target.value;\n\n\t\tsetQuery(val);\n\n\t\tif (onChange) {\n\t\t\tonChange(undefined);\n\t\t}\n\n\t\tif (!val) {\n\t\t\tsetIsActive(false);\n\t\t} else {\n\t\t\tsetIsActive(true);\n\n\t\t\tsearchData(val);\n\t\t}\n\t};\n\n\tconst onClickPostHandler = (item: OrganisationSearchOrganisationSearchSummary) => {\n\t\tsetIsActive(false);\n\n\t\tsetQuery(item.name);\n\n\t\tif (onChange) {\n\t\t\tonChange(item);\n\t\t}\n\t};\n\n\t// Logic to detect outside click and close search container\n\tconst searchContainerRef = React.useRef(null);\n\n\tlistenForOutsideClicks(searchContainerRef, isActive, setIsActive);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t\n\n\t\t\t\t setIsActive(!!query)}\n\t\t\t\t/>\n\t\t\t
\n\n\t\t\t{(hasError || searchResults) && (\n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t{hasError ? (\n\t\t\t\t\t\t\t
  • No results found
  • \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\tsearchResults.map((item) => {\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t
  • onClickPostHandler(item)} key={item.id} className=\"search-result-item\">\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t{item.name}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    {item.type}
    \n\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default SearchOrganisation;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { queryStringToObject, validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useLocation, useHistory } from 'react-router-dom';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport FormGroupWithError from '../../components/FormGroupWithError';\nimport SearchOrganisation from '../../components/SearchOrganisation';\nimport GlobalModal from '../../components/GlobalModal';\nimport LoginCreateModal from '../Login/LoginCreateModal';\nimport OrganisationLogo from '../../components/OrganisationLogo';\n\n// ICONS\nimport { ReactComponent as ArrowLeft } from '../../assets/svg/arrow-left.svg';\n\n// TYPES\nimport {\n\tDomainProfileType,\n\tOrganisationSearchOrganisationSearchSummary,\n\tOrganisationFindOrganisationSummary\n} from '../../api/models';\n\ninterface FindOrganisationTypes {}\n\nexport interface FormTypes {\n\torganisationIdentifier?: string;\n\tprofileType?: DomainProfileType;\n}\n\nexport const FindOrganisation: React.FC = ({}) => {\n\tconst location = useLocation();\n\tconst history = useHistory();\n\tconst lists = useAppSelector((state) => state?.lists);\n\tconst isLoggedIn = useAppSelector(({ user }) => user.loggedIn);\n\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState();\n\n\tconst [modalIsOpen, setModalIsOpen] = React.useState(false);\n\tconst [returnUrl, setReturnUrl] = React.useState('');\n\tconst [organisationIdentifier, setOrganisationIdentifier] = React.useState('');\n\tconst [profileType, setProfileType] = React.useState();\n\tconst [organisationName, setOrganisationName] = React.useState('');\n\n\tconst [organisation, setOrganisation] = React.useState();\n\n\tconst locationParams = location.state;\n\tconst queryParams = queryStringToObject();\n\tconst params = { ...locationParams, ...queryParams };\n\n\tconst getOrganisationDetail = async () => {\n\t\tif (params.id !== undefined) {\n\t\t\tconst response = await apibridge.getOrganisationByIdentifier(params.id);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetShowError(true);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else if (response.result) {\n\t\t\t\tsetShowError(false);\n\n\t\t\t\tsetOrganisation({\n\t\t\t\t\t...response.result\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetOrganisationDetail();\n\t}, []);\n\n\tconst goBack = () => {\n\t\thistory.goBack();\n\t};\n\n\tconst doContinue = (values: FormTypes) => {\n\t\tconst url = '/join-organisation';\n\t\t// const query = `?id=${values.organisationIdentifier}&type=${values.profileType}`;\n\n\t\tif (isLoggedIn) {\n\t\t\thistory.push({\n\t\t\t\tpathname: url,\n\t\t\t\tstate: {\n\t\t\t\t\torganisationIdentifier: values.organisationIdentifier,\n\t\t\t\t\tprofileType: values.profileType\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tsetReturnUrl(url);\n\n\t\t\tsetOrganisationIdentifier(values.organisationIdentifier);\n\n\t\t\tsetProfileType(values.profileType);\n\n\t\t\tsetModalIsOpen(true);\n\t\t}\n\t};\n\n\tconst checkLocationParams = (params: any) => {\n\t\tconst url = '/join-organisation';\n\n\t\tif (!isLoggedIn) {\n\t\t\tsetReturnUrl(url);\n\n\t\t\tsetModalIsOpen(true);\n\n\t\t\tsetOrganisationIdentifier(params.id);\n\n\t\t\tsetProfileType(params.type);\n\t\t} else {\n\t\t\thistory.push({\n\t\t\t\tpathname: url,\n\t\t\t\tstate: {\n\t\t\t\t\torganisationIdentifier: params.id,\n\t\t\t\t\tprofileType: params.type\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tconst locationParams = location.state;\n\t\tconst queryParams = queryStringToObject();\n\t\tconst params = { ...locationParams, ...queryParams };\n\n\t\tif (params.id !== undefined && params.type !== undefined) {\n\t\t\tcheckLocationParams(params);\n\t\t} else if (params.id !== undefined) {\n\t\t\tsetOrganisationIdentifier(params.id);\n\t\t} else {\n\t\t\tsetOrganisationIdentifier(params.id);\n\n\t\t\tsetOrganisationName(params.name);\n\t\t}\n\t}, []);\n\n\tconst initialValues: FormTypes = {\n\t\torganisationIdentifier: organisationIdentifier || '',\n\t\tprofileType: lists?.profileTypes\n\t\t\t? (lists.profileTypes.filter((item) => item.value !== DomainProfileType.SuperAdministrator)[0]\n\t\t\t\t\t.value as DomainProfileType)\n\t\t\t: undefined\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\torganisationIdentifier: Yup.string().required('Required'),\n\t\tprofileType: Yup.string().required('Required')\n\t});\n\n\t// Display Role Text\n\tconst displayRoleText = (value: string, label: string) => {\n\t\tif (value === DomainProfileType.Staff) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\tStaff or Volunteer\n\t\t\t\t\t

\n\t\t\t\t\t\tAny person 18+ years of age, with an official role at the organisation, paid or unpaid.\n\t\t\t\t\t

\n\t\t\t\t
\n\t\t\t);\n\t\t} else if (value === DomainProfileType.Parent) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\tParent or Parent Volunteer\n\t\t\t\t\t

Includes carers or guardians.

\n\t\t\t\t
\n\t\t\t);\n\t\t} else if (value === DomainProfileType.Student) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\tChild or Student\n\t\t\t\t\t

\n\t\t\t\t\t\t13yrs+ years of age, including children or youth working, volunteering or studying.\n\t\t\t\t\t

\n\t\t\t\t
\n\t\t\t);\n\t\t} else if (value === DomainProfileType.Visitor) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\tVisitor\n\t\t\t\t\t

Any other adult visiting the organisation

\n\t\t\t\t
\n\t\t\t);\n\t\t} else {\n\t\t\treturn {label};\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t\n\n\t\t\t
\n\t\t\t\t{organisationName || (organisation && organisation.name) ? (\n\t\t\t\t\t<>\n\t\t\t\t\t\t{organisation && organisation.image ? : null}\n\n\t\t\t\t\t\t

Join {organisationName || (organisation && organisation.name)}

\n\t\t\t\t\t\n\t\t\t\t) : (\n\t\t\t\t\t

Find an organisation to join

\n\t\t\t\t)}\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{params.id || organisationName ? null : (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('organisationIdentifier', item ? item.identifier : '');\n\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t{lists.profileTypes &&\n\t\t\t\t\t\t\t\t\t\t\tlists.profileTypes\n\t\t\t\t\t\t\t\t\t\t\t\t.filter((item) => item.value !== DomainProfileType.SuperAdministrator)\n\t\t\t\t\t\t\t\t\t\t\t\t.map((item) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t}}\n\t\t\t\t\n\t\t\t
\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default FindOrganisation;\n","import * as React from 'react';\n\n// PACKAGES\nimport Moment from 'react-moment';\n\n// TYPES\ninterface DisplayDateTimeTypes {\n\tchildren?: string | number | Date | moment.Moment;\n}\n\nexport const DisplayDateTime: React.FC = ({ children }) => {\n\treturn (\n\t\t\n\t\t\t{children}\n\t\t\n\t);\n};\n\nexport default DisplayDateTime;\n","import * as React from 'react';\nimport DOMPurify from 'dompurify';\n\ninterface OptionTypes {\n\t[key: string]: any;\n}\n\ninterface SafeHtmlTypes {\n\tclassName?: string;\n\tchildren?: React.ReactNode;\n\toptions?: OptionTypes;\n}\n\nconst defaultOptions: OptionTypes = {\n\tALLOWED_TAGS: ['p', 'b', 'i', 'em', 'strong', 'a'],\n\tALLOWED_ATTR: ['href']\n};\n\nconst sanitize = (dirty: string, options: {}) => {\n\treturn {\n\t\t__html: DOMPurify.sanitize(dirty, { ...defaultOptions, ...options })\n\t};\n};\n\nexport const SafeHtml: React.FC = ({ className = '', children, options }) => {\n\tconst [state, setState] = React.useState({ __html: '' });\n\n\tReact.useEffect(() => {\n\t\tif (children) {\n\t\t\tsetState(sanitize(children.toString(), { ...options }));\n\t\t}\n\t}, [children]);\n\n\tif (children) {\n\t\treturn
;\n\t} else {\n\t\treturn null;\n\t}\n};\n\nexport default SafeHtml;\n","import * as React from 'react';\n\n// ICONS\nimport { ReactComponent as DownloadIcon } from '../assets/svg/download.svg';\n\n// TYPES\ninterface DownloadLinkTypes {\n\tclassName?: string;\n\turl?: string;\n\tname?: string;\n}\n\nexport const DownloadLink: React.FC = ({ className = '', url, name }) => {\n\treturn (\n\t\t\n\t\t\t{name}\n\n\t\t\tDownload\n\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default DownloadLink;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport SafeHtml from '../../components/SafeHtml';\nimport DownloadLink from '../../components/DownloadLink';\nimport DisplayDateTime from '../../components/DisplayDateTime';\n\n// TYPES\nimport { ActivityFeedViewTypes, ViewTypes } from './ActivityFeedModal';\n\nconst ReadActivity: React.FC = ({ activity = {}, showView, closeModal }) => {\n\tconst { canUpdate, title, date, userName, description, standards, attachments } = activity;\n\n\tconst childSafeStandards = useAppSelector((state) => state.lists.childSafeStandards);\n\n\tconst standardsMap = childSafeStandards?.filter(\n\t\t(item) => standards && standards.indexOf(item.value?.toLocaleLowerCase() || '') !== -1\n\t);\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t

{title}

\n\n\t\t\t\t\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t

Logged By

\n\n\t\t\t\t

{userName}

\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t

Description of action taken

\n\t\t\t\t{description ? {description} :

None

}\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t

Child Safe Standards supported

\n\n\t\t\t\t{standardsMap && standardsMap.length > 0 ? (\n\t\t\t\t\t
    \n\t\t\t\t\t\t{standardsMap.map((standard) => (\n\t\t\t\t\t\t\t
  • {standard.label}
  • \n\t\t\t\t\t\t))}\n\t\t\t\t\t
\n\t\t\t\t) : (\n\t\t\t\t\t

None

\n\t\t\t\t)}\n\t\t\t
\n\n\t\t\t
\n\t\t\t\t

Attachments

\n\t\t\t\t{attachments && attachments.length > 0 ? (\n\t\t\t\t\t
    \n\t\t\t\t\t\t{attachments.map((attachment, index) => (\n\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t))}\n\t\t\t\t\t
\n\t\t\t\t) : (\n\t\t\t\t\t

None

\n\t\t\t\t)}\n\t\t\t
\n\n\t\t\t{canUpdate && isOrganisationActive && (\n\t\t\t\t
\n\t\t\t\t\t{canUpdate && (\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t)}\n\n\t\t\t
\n\t\t\t\t\n\t\t\t
\n\n\t\t\t{canUpdate && isOrganisationActive && (\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default ReadActivity;\n","import * as React from 'react';\n\n// UTILS\nimport { listenForOutsideClicks } from '../utils';\n\n// ICONS\nimport { ReactComponent as ChevronDown } from '../assets/svg/chevron-down.svg';\n\n// TYPES\ninterface MultiSelectTypes {\n\tname?: string;\n\tplaceholder?: string;\n\toptions?: { label?: string; value?: string }[];\n\tvalues: string[];\n\tonChange?: any;\n\tisDisabled?: boolean;\n}\n\nexport const MultiSelect: React.FC = ({\n\tname = '',\n\tplaceholder = ' ',\n\toptions,\n\tvalues,\n\tisDisabled = false,\n\tonChange\n}) => {\n\tconst [selectedValues, setSelectedValues] = React.useState([]);\n\n\tconst [isOpen, setIsOpen] = React.useState(false);\n\tconst elementRef = React.useRef(null);\n\n\tlistenForOutsideClicks(elementRef, isOpen, setIsOpen);\n\n\tconst toggleOpen = (open?: boolean) => {\n\t\tif (open !== undefined) {\n\t\t\tsetIsOpen(open);\n\t\t} else {\n\t\t\tsetIsOpen(!isOpen);\n\t\t}\n\t};\n\n\tconst handleChange = (value: string | undefined) => {\n\t\tif (value !== undefined) {\n\t\t\tconst selectedValue = value.toString().toLowerCase();\n\t\t\tconst selectedValueIndex = selectedValues.indexOf(selectedValue);\n\t\t\tconst newValues = selectedValues.slice();\n\n\t\t\tif (selectedValueIndex !== -1) {\n\t\t\t\tnewValues.splice(selectedValueIndex, 1);\n\t\t\t} else {\n\t\t\t\tnewValues.push(selectedValue);\n\t\t\t}\n\n\t\t\tsetSelectedValues(newValues);\n\n\t\t\tif (onChange) {\n\t\t\t\tonChange(newValues);\n\t\t\t}\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (values && values.length) {\n\t\t\tsetSelectedValues(values);\n\t\t}\n\t}, [values]);\n\n\treturn (\n\t\t
\n\t\t\t toggleOpen()}\n\t\t\t\ttabIndex={1}\n\t\t\t>\n\t\t\t\t{!selectedValues || !selectedValues.length ? (\n\t\t\t\t\t{placeholder}\n\t\t\t\t) : (\n\t\t\t\t\toptions &&\n\t\t\t\t\toptions.length > 0 &&\n\t\t\t\t\toptions\n\t\t\t\t\t\t.filter((option) => selectedValues.includes(option.value?.toLowerCase() || ''))\n\t\t\t\t\t\t.map((option, index, options) => (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{option.label}\n\t\t\t\t\t\t\t\t{index !== options.length - 1 && ','}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t))\n\t\t\t\t)}\n\t\t\t\t\n\t\t\t
\n\n\t\t\t{options && options.length > 0 && isOpen ? (\n\t\t\t\t
\n\t\t\t\t\t
    \n\t\t\t\t\t\t{options.map((option, index) => (\n\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t))}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t) : null}\n\t\t
\n\t);\n};\n\nexport default MultiSelect;\n","import * as React from 'react';\nimport DatePicker from 'react-datepicker';\nimport moment from 'moment';\n\nimport { ReactComponent as CalendarIcon } from '../assets/svg/calendar.svg';\n\ninterface DateTimeInputTypes {\n\tdateTimeString: string;\n\tonChange?: any;\n\texcludeFuture?: boolean;\n}\n\nexport const DateTimeInput: React.FC = ({ dateTimeString, onChange, excludeFuture = false }) => {\n\tconst [dateTimeObject, setDateTimeObject] = React.useState();\n\tconst [timeValue, setTimeValue] = React.useState('');\n\tconst [amPmValue, setAmPmValue] = React.useState('am');\n\n\tconst pad = (num: number): string => {\n\t\treturn num < 10 ? '0' + num : num.toString();\n\t};\n\n\tconst isAmPm = (num: number): string => {\n\t\treturn num < 12 ? 'am' : 'pm';\n\t};\n\n\tconst to12hour = (num: number): number => {\n\t\treturn num > 12 ? num - 12 : num;\n\t};\n\n\t// date comes in as a string: 2022-04-22T11:28:07.1994149+10:00\n\t// date is returned as a date object\n\tconst parseDate = (str: string) => {\n\t\tconst parsedDate = moment(str, 'YYYY-MM-DDTHH:mm:ss.SSSSSSSZ');\n\t\tconst newDate = parsedDate.isValid() ? parsedDate.toDate() : new Date();\n\n\t\treturn newDate;\n\t};\n\n\t// date is returned as a string: 2022-04-22T11:28:07\n\tconst returnDateTime = (obj: Date) => {\n\t\t// do not return the timezone offset\n\t\tconst dateStr = moment(obj).format('YYYY-MM-DDTHH:mm:ss');\n\n\t\tif (onChange) {\n\t\t\tonChange(dateStr);\n\t\t}\n\t};\n\n\tconst formatTime = (obj: Date): string => {\n\t\treturn `${pad(to12hour(obj.getHours()))}:${pad(obj.getMinutes())}`;\n\t};\n\n\tconst handleDateChange = (date: Date) => {\n\t\tsetDateTimeObject(date);\n\t};\n\n\tconst handleTimeChange = (e: React.ChangeEvent) => {\n\t\tconst timeValue = e.target.value;\n\t\tsetTimeValue(timeValue);\n\t};\n\n\tconst handleTimeBlur = (e: React.ChangeEvent) => {\n\t\tconst timeValue = e.target.value;\n\t\tconst newDate = dateTimeObject ? new Date(dateTimeObject) : new Date();\n\n\t\tif (timeValue) {\n\t\t\tconst timeArr = timeValue.split(':');\n\t\t\tlet hours = !isNaN(parseInt(timeArr[0])) ? parseInt(timeArr[0]) : 0;\n\t\t\tlet minutes = !isNaN(parseInt(timeArr[1])) ? parseInt(timeArr[1]) : 0;\n\n\t\t\thours = hours < 0 ? 0 : hours > 23 ? 23 : hours;\n\t\t\tminutes = minutes < 0 ? 0 : minutes > 59 ? 59 : minutes;\n\n\t\t\tif (amPmValue && amPmValue.toLowerCase() === 'pm' && hours < 12) {\n\t\t\t\t// 12 hour to 24 hour\n\t\t\t\thours += 12;\n\t\t\t} else if (amPmValue && amPmValue.toLowerCase() === 'am' && hours === 12) {\n\t\t\t\t// 12 midnight is 0\n\t\t\t\thours = 0;\n\t\t\t}\n\t\t\tnewDate.setHours(hours);\n\t\t\tnewDate.setMinutes(minutes);\n\t\t\tnewDate.setSeconds(0);\n\t\t}\n\n\t\tsetDateTimeObject(newDate);\n\t};\n\n\tconst handleAmPmChange = (e: React.ChangeEvent) => {\n\t\tconst amPmValue = e.target.value;\n\n\t\tif (dateTimeObject) {\n\t\t\tconst newDate = new Date(dateTimeObject);\n\t\t\tif (amPmValue === 'am' && newDate.getHours() >= 12) {\n\t\t\t\tnewDate.setHours(newDate.getHours() - 12);\n\t\t\t} else if (amPmValue === 'pm' && newDate.getHours() < 12) {\n\t\t\t\tnewDate.setHours(newDate.getHours() + 12);\n\t\t\t}\n\n\t\t\tsetDateTimeObject(newDate);\n\t\t}\n\t\tsetAmPmValue(amPmValue);\n\t};\n\n\tReact.useEffect(() => {\n\t\tconst currentDate = parseDate(dateTimeString);\n\n\t\tsetDateTimeObject(currentDate);\n\t}, []);\n\n\tReact.useEffect(() => {\n\t\tif (dateTimeObject) {\n\t\t\tsetTimeValue(formatTime(dateTimeObject));\n\t\t\tsetAmPmValue(isAmPm(dateTimeObject.getHours()));\n\t\t\treturnDateTime(dateTimeObject);\n\t\t} else {\n\t\t\t//pass back the null value\n\t\t\tif (onChange) {\n\t\t\t\tonChange('');\n\t\t\t}\n\t\t}\n\t}, [dateTimeObject]);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t handleDateChange(date)}\n\t\t\t\t\t\tplaceholderText=\"DD/MM/YYYY\"\n\t\t\t\t\t\tclassName=\"form-control\"\n\t\t\t\t\t\tmaxDate={excludeFuture ? new Date() : null}\n\t\t\t\t\t/>\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default DateTimeInput;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useFormik } from 'formik';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport MultiSelect from '../../components/MultiSelect';\nimport FileUpload from '../../components/FileUpload';\nimport FilesList from '../../components/FilesList';\nimport Button from '../../components/Button';\nimport DateTimeInput from '../../components/DateTimeInput';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { ActivityFeedViewTypes, ViewTypes } from './ActivityFeedModal';\nimport { DashboardActivityFeedCommand } from '../../api/models';\n\nconst UpdateActivity: React.FC = ({\n\tactivity = {},\n\tshowView,\n\tcloseModal,\n\trefreshActivityFeed\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst activityFeedSharedWith = useAppSelector((state) => state.lists.activityFeedSharedWith);\n\n\tconst childSafeStandards = useAppSelector((state) => state.lists.childSafeStandards);\n\n\tconst {\n\t\tid = '',\n\t\ttitle = '',\n\t\tdate = '',\n\t\tdescription = '',\n\t\tstandards = [],\n\t\tattachments = [],\n\t\tsharedWith = 'Internal'\n\t} = activity;\n\n\tconst createAttachments: string[] = [];\n\tconst deleteAttachmentIds: string[] = [];\n\n\tconst mode = !id ? 'create' : 'update';\n\n\tconst updateActivityFeed = async (values: DashboardActivityFeedCommand) => {\n\t\tif (values !== undefined && values.id !== undefined) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.updateActivityFeed(values);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\trefreshActivityFeed();\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tconst initialValues: DashboardActivityFeedCommand = {\n\t\tid,\n\t\ttitle,\n\t\tdate,\n\t\tdescription,\n\t\tstandards,\n\t\tcreateAttachments,\n\t\tdeleteAttachmentIds,\n\t\tsharedWith\n\t};\n\n\tconst formik = useFormik({\n\t\tinitialValues,\n\t\tvalidate: (values) => {\n\t\t\tconst errors: any = {};\n\n\t\t\tif (!values.title) {\n\t\t\t\terrors.title = 'Required';\n\t\t\t}\n\n\t\t\tif (!values.description) {\n\t\t\t\terrors.description = 'Required';\n\t\t\t}\n\n\t\t\tif (!values.sharedWith) {\n\t\t\t\terrors.sharedWith = 'Required';\n\t\t\t}\n\n\t\t\treturn errors;\n\t\t},\n\t\tonSubmit: (values) => {\n\t\t\tupdateActivityFeed(values);\n\t\t}\n\t});\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{formik.touched.title && formik.errors.title ? (\n\t\t\t\t\t\t\t\t\t\t
{formik.errors.title}
\n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('date', val)}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('standards', vals)}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('deleteAttachmentIds', vals)}\n\t\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('createAttachments', vals)}\n\t\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\t\tmaxSizeMb={5}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{formik.touched.description && formik.errors.description ? (\n\t\t\t\t\t\t\t\t\t\t
{formik.errors.description}
\n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{activityFeedSharedWith &&\n\t\t\t\t\t\t\t\t\t\tactivityFeedSharedWith.length > 0 &&\n\t\t\t\t\t\t\t\t\t\tactivityFeedSharedWith.map((item) => (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t))}\n\n\t\t\t\t\t\t\t\t\t{formik.touched.sharedWith && formik.errors.sharedWith ? (\n\t\t\t\t\t\t\t\t\t\t
{formik.errors.sharedWith}
\n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{mode === 'update' && (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default UpdateActivity;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { ActivityFeedViewTypes, ViewTypes } from './ActivityFeedModal';\nimport { DashboardRemoveActivityFeedCommand } from '../../api/models';\n\nconst DeleteActivity: React.FC = ({\n\tactivity = {},\n\tshowView,\n\tcloseModal,\n\trefreshActivityFeed\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst history = useHistory();\n\n\tconst deleteFeedItem = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: DashboardRemoveActivityFeedCommand = { id: activity.id };\n\n\t\tconst response = await apibridge.deleteFeedItem(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\thistory.push('/dashboard');\n\n\t\t\trefreshActivityFeed();\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove '{activity.title}'?\n\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default DeleteActivity;\n","var _circle, _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgChevronLeftPurple(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 36,\n height: 36,\n viewBox: \"0 0 36 36\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 18,\n cy: 18,\n r: 18,\n fill: \"#F9F9F9\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19.875 13.125L14.625 18L19.875 22.875\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgChevronLeftPurple);\nexport default __webpack_public_path__ + \"static/media/chevron-left-purple.b1f71275.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport GlobalModal from '../../components/GlobalModal';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport ActivityFeedModal, { ViewTypes } from './ActivityFeedModal';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { DomainProfileType, DashboardActivityFeedActivity } from '../../api/models';\n\ninterface ActivityFeedTypes {\n\tactivityFeedData: DashboardActivityFeedActivity[];\n\tgetActivityFeed: () => Promise;\n\tisLoading: boolean;\n\tactivityFeedFormErrorMessage: string;\n}\n\nexport const ActivityFeed: React.FC = ({\n\tactivityFeedData,\n\tgetActivityFeed,\n\tisLoading,\n\tactivityFeedFormErrorMessage\n}) => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Check Profile Type of the Active User\n\tconst activeProfileType = useAppSelector((state) => state.user.activeProfileType);\n\n\t// State to control Modals\n\tconst [showCreateModal, setShowCreateModal] = React.useState(false);\n\n\tconst [showReadModal, setShowReadModal] = React.useState(false);\n\n\tconst [modalData, setModalData] = React.useState();\n\n\tconst createItem = () => {\n\t\tsetShowReadModal(false);\n\n\t\tsetShowCreateModal(true);\n\t};\n\n\tconst readItem = (index: number) => {\n\t\tconst item = activityFeedData[index];\n\n\t\tsetModalData(item);\n\n\t\tsetShowCreateModal(false);\n\n\t\tsetShowReadModal(true);\n\t};\n\n\treturn (\n\t\t\n\t);\n};\n\nexport default ActivityFeed;\n","export default __webpack_public_path__ + \"static/media/welcome-background.caeb6035.png\";","export default __webpack_public_path__ + \"static/media/welcome-dashboard-leader.e50c6faa.png\";","export default __webpack_public_path__ + \"static/media/welcome-dashboard-staff.0b564674.png\";","export default __webpack_public_path__ + \"static/media/welcome-dashboard-family-visitor.ba901c8c.png\";","export default __webpack_public_path__ + \"static/media/welcome-side-menu-leader.1f394951.png\";","export default __webpack_public_path__ + \"static/media/welcome-side-menu-standard.5af42931.png\";","export default __webpack_public_path__ + \"static/media/welcome-activity-feed.f77f2f61.png\";","export default __webpack_public_path__ + \"static/media/welcome-switch-org.ea779aee.png\";","export default __webpack_public_path__ + \"static/media/welcome-complete.4ddb40c8.png\";","var _circle, _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgChevronRightPurple(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 36,\n height: 36,\n viewBox: \"0 0 36 36\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 18,\n cy: 18,\n r: 18,\n fill: \"#F9F9F9\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16.125 13.125L21.375 18L16.125 22.875\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgChevronRightPurple);\nexport default __webpack_public_path__ + \"static/media/chevron-right-purple.250e0b59.svg\";\nexport { ForwardRef as ReactComponent };","var _circle;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgPurpleDot(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 8,\n height: 8,\n viewBox: \"0 0 8 8\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 4,\n cy: 4,\n r: 4,\n fill: \"#D7258F\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgPurpleDot);\nexport default __webpack_public_path__ + \"static/media/purple-dot.b913d5d8.svg\";\nexport { ForwardRef as ReactComponent };","var _circle;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgGreyDot(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 8,\n height: 8,\n viewBox: \"0 0 8 8\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 4,\n cy: 4,\n r: 4,\n fill: \"#E1E1E1\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgGreyDot);\nexport default __webpack_public_path__ + \"static/media/grey-dot.af3e5223.svg\";\nexport { ForwardRef as ReactComponent };","var _rect, _path, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgDashboardComplete(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 20,\n height: 20,\n viewBox: \"0 0 20 20\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _rect || (_rect = /*#__PURE__*/React.createElement(\"rect\", {\n width: 20,\n height: 20,\n rx: 10,\n fill: \"url(#paint0_linear_6166_14579)\"\n })), _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M6.5 10.3261L8.62121 12.5L13.5 7.5\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_6166_14579\",\n x1: 3.75,\n y1: 2.75,\n x2: 13.9873,\n y2: 14.3366,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#7FDE8E\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#1DC072\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgDashboardComplete);\nexport default __webpack_public_path__ + \"static/media/dashboard-complete.0f177ec4.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { useAppSelector, useAppDispatch } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// COMPONENTS\nimport Button from '../../components/Button';\n\n// IMAGES\nimport WelcomeImage from '../../assets/img/welcome-background.png';\n\nimport DashboardImageLeader from '../../assets/img/welcome-dashboard-leader.png';\nimport DashboardImageStaff from '../../assets/img/welcome-dashboard-staff.png';\nimport DashboardImageFamilyVisitor from '../../assets/img/welcome-dashboard-family-visitor.png';\n\nimport sideMenuImageLeader from '../../assets/img/welcome-side-menu-leader.png';\nimport sideMenuImageStandard from '../../assets/img/welcome-side-menu-standard.png';\n\nimport ActivityImage from '../../assets/img/welcome-activity-feed.png';\nimport SwitchOrganisationImage from '../../assets/img/welcome-switch-org.png';\nimport CompleteImage from '../../assets/img/welcome-complete.png';\n\n// ICONS\nimport { ReactComponent as LeftArrrow } from '../../assets/svg/chevron-left-purple.svg';\nimport { ReactComponent as RightArrrow } from '../../assets/svg/chevron-right-purple.svg';\nimport { ReactComponent as ActiveDot } from '../../assets/svg/purple-dot.svg';\nimport { ReactComponent as DeactiveDot } from '../../assets/svg/grey-dot.svg';\n\n// TYPES\nimport { DomainProfileType } from '../../api/models';\n\ninterface WelcomeModalTypes {\n\tisOpen: boolean;\n\tuserName: string;\n\tisOrgAdmin: boolean;\n\tcontactEmail?: string;\n}\n\nconst WelcomeModal: React.FC = ({ isOpen, userName, isOrgAdmin, contactEmail }) => {\n\tconst dispatch = useAppDispatch();\n\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Check Profile Type of the User\n\tconst activeProfileType = useAppSelector((state) => state.user.activeProfileType);\n\n\t// Check if User is Org Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\tconst [open, setOpen] = React.useState(isOpen);\n\n\tconst [currentStep, setCurrentStep] = React.useState(1);\n\n\tconst previousStep = () => {\n\t\tif (currentStep <= 6 && currentStep > 1) {\n\t\t\tsetCurrentStep(currentStep - 1);\n\t\t}\n\t};\n\tconst nextStep = () => {\n\t\tif (currentStep < 6 && currentStep > 1) {\n\t\t\tsetCurrentStep(currentStep + 1);\n\t\t}\n\t};\n\n\tconst sideImageDisplay = () => {\n\t\tswitch (currentStep) {\n\t\t\tcase 2:\n\t\t\t\tif (isOrganisationAdmin === true) {\n\t\t\t\t\treturn \"welcome-image\";\n\t\t\t\t} else if (isOrganisationAdmin === false && activeProfileType === DomainProfileType.Staff) {\n\t\t\t\t\treturn \"welcome-image\";\n\t\t\t\t} else {\n\t\t\t\t\treturn \"welcome-image\";\n\t\t\t\t}\n\t\t\tcase 3:\n\t\t\t\tif (isOrganisationAdmin === true) {\n\t\t\t\t\treturn \"welcome-image\";\n\t\t\t\t} else {\n\t\t\t\t\treturn \"welcome-image\";\n\t\t\t\t}\n\t\t\tcase 4:\n\t\t\t\treturn \"welcome-image\";\n\t\t\tcase 5:\n\t\t\t\treturn \"welcome-image\";\n\t\t\tcase 6:\n\t\t\t\treturn \"welcome-image\";\n\t\t\tdefault:\n\t\t\t\treturn \"welcome-image\";\n\t\t}\n\t};\n\n\tconst closeWelcomeModal = async () => {\n\t\tawait apibridge.postAccountWalkthroughComplete();\n\n\t\tsetOpen(false);\n\n\t\tdispatch(UserSlice.actions.update({ isWalkThroughCompleted: true }));\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{open ? (\n\t\t\t\t<>\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{currentStep !== 1 ? (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{currentStep === 2 ? (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t

Dashboard

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\tThe Dashboard is your home screen. Explore the functions of ChildAware in the Side Menu.\n\t\t\t\t\t\t\t\t\t\t\t\t\tActions for your attention will be highlighted in the middle section of the Dashboard.\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\tReturn to the Dashboard at any time by clicking on ‘Dashboard’ in the Side Menu.\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t) : currentStep === 3 ? (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t

Side menu

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\tThe Side Menu lists the functions of ChildAware. Click on a function and follow the prompts.\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\tIf you need help you can ask within your organisation or you can{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontact us\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t.\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t) : currentStep === 4 ? (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t

Activity feed

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\tThe Activity Feed lists activities undertaken by an organisation to make it a safe place for\n\t\t\t\t\t\t\t\t\t\t\t\t\tchildren.\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\tOrganisations can add an activity at any time and users can view details of these activities.\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t) : currentStep === 5 ? (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t

Switching organisations

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\tYou can use the toggle at the top of the Side Menu to switch between organisations. For\n\t\t\t\t\t\t\t\t\t\t\t\t\texample, you may work at a school, volunteer at a sporting club and be a parent of a child\n\t\t\t\t\t\t\t\t\t\t\t\t\tattending childcare. You can link your ChildAware account to all of these organisations and\n\t\t\t\t\t\t\t\t\t\t\t\t\tswitch between these organisations.\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t

Thanks!

\n\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\tThanks for using ChildAware to keep children safe. Remember that everything you need is on the\n\t\t\t\t\t\t\t\t\t\t\t\t\tDashboard. If you need help you can ask within your organisation or you can{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontact us\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t.\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{currentStep === 2 ? : }\n\t\t\t\t\t\t\t\t\t\t\t\t{currentStep === 3 ? : }\n\t\t\t\t\t\t\t\t\t\t\t\t{currentStep === 4 ? : }\n\t\t\t\t\t\t\t\t\t\t\t\t{currentStep === 5 ? : }\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t nextStep()}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
{sideImageDisplay()}
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t

Welcome {userName}!

\n\n\t\t\t\t\t\t\t\t\t\t\t

Let’s start with an overview of the main features of ChildAware.

\n\n\t\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin && (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tAs a leader of your organisation, you have oversight of your organisation’s ChildAware\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tportal.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tBy clicking on Help Desk in the Side Bar you will find simple information explaining how to\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tuse each part of the portal.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tIf you can’t find what you are looking for or need more help, please{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcontact us\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t) : null}\n\t\t\n\t);\n};\n\nexport default WelcomeModal;\n","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgEdit(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11.75 5.59375H6.5C5.6675 5.59375 5 6.26125 5 7.09375V17.5938C5 18.4188 5.6675 19.0938 6.5 19.0938H17C17.825 19.0938 18.5 18.4188 18.5 17.5938V12.3438\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17.375 4.46762V4.46688C17.99 3.84438 19.0025 3.84438 19.625 4.46688C20.24 5.08188 20.24 6.09438 19.625 6.71688L12.5 13.8419L9.5 14.5919L10.25 11.5919L17.375 4.46688V4.46762Z\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgEdit);\nexport default __webpack_public_path__ + \"static/media/edit.606bab4f.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { Link, useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport ActivityFeed from './ActivityFeed';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport WelcomeModal from './WelcomeModal';\n\n// ICONS\nimport { ReactComponent as TickSuccessIcon } from '../../assets/svg/dashboard-complete.svg';\n\n// TYPES\nimport { DomainProfileType, DashboardSectionSummariesSections, DashboardActivityFeedActivity } from '../../api/models';\n\nconst Dashboard: React.FC = () => {\n\tconst history = useHistory();\n\tconst dispatch = useAppDispatch();\n\n\tconst [mounted, setMounted] = React.useState(false);\n\tconst count = React.useRef(0);\n\n\tReact.useEffect(() => {\n\t\tif (mounted) {\n\t\t\tgetDashboardDetail();\n\t\t}\n\t}, [mounted]);\n\n\t// Get userName from Redux store\n\tconst userName = useAppSelector((state) => state?.user.firstName);\n\n\tconst accountsEmail = useAppSelector((store) => store.lists.accountsEmail);\n\n\tconst userProfiles = useAppSelector((state) => state?.user.profiles);\n\n\t// Check if user is a Super Admin\n\tconst isSuperAdministrator = useAppSelector(\n\t\t(state) => state?.user.activeProfileType === DomainProfileType.SuperAdministrator\n\t);\n\n\t// Check if the user has completed the walkthrough\n\tconst isWalkThroughCompleted = useAppSelector((state) => state?.user.isWalkThroughCompleted);\n\n\t// Check to see if the Organisation is active\n\tconst isActiveOrganisation = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Check to see if the Organisation is pending\n\tconst isOrganisationPending = useAppSelector((state) => state.user.organisationStatus === 'Pending');\n\n\t// Check to see if the OrganisationID is active\n\tconst activeOrganisationId = useAppSelector((state) => state.user.activeOrganisationId);\n\n\t// Check to see if use is Org Admin\n\tconst isOrgAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// Contact email\n\tconst contactEmail = useAppSelector((state) => state.lists.contactEmail);\n\n\t// Error and Loading state\n\tconst [dashboardFormErrorMessage, setDashboardFormErrorMessage] = React.useState('');\n\n\tconst [activityFeedFormErrorMessage, setActivityFeedFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up Dashboard Data state\n\tconst [dashboardItems, setDashboardItems] = React.useState({});\n\n\tconst getDashboardItems = async () => {\n\t\tif (userProfiles && userProfiles.length >= 1) {\n\t\t\tif (activeOrganisationId) {\n\t\t\t\tconst response = await apibridge.getDashboardItems();\n\n\t\t\t\tresponse.result = response.result || {};\n\n\t\t\t\tif (response.isError) {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetDashboardFormErrorMessage(\n\t\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetDashboardItems(response.result);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst response = await apibridge.doSwitchOrganisation(userProfiles[0].id);\n\n\t\t\t\tif (response.isError) {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetDashboardFormErrorMessage(\n\t\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tdispatch(UserSlice.actions.forceUpdate({}));\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (mounted) {\n\t\t\thistory.push('/landingDashboard');\n\t\t}\n\t};\n\n\t// Set up Activity Feed Data state\n\tconst [activityFeedData, setActivityFeedData] = React.useState([]);\n\n\tconst getActivityFeed = async () => {\n\t\tconst response = await apibridge.getActivityFeed();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetActivityFeedFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetActivityFeedData(response.result);\n\t\t}\n\t};\n\n\t// Combine 2 API calls to avoid spinner flashing\n\tconst getDashboardDetail = async () => {\n\t\tsetIsLoading(true);\n\n\t\tawait getDashboardItems();\n\n\t\tawait getActivityFeed();\n\n\t\tsetIsLoading(false);\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (isSuperAdministrator) {\n\t\t\thistory.push('/companies');\n\t\t}\n\t\tsetMounted(true);\n\t}, []);\n\n\tconst {\n\t\tprofile,\n\n\t\tstaff,\n\t\tleadershipTeam,\n\t\tfamilies,\n\t\tvisitors,\n\n\t\ttraining,\n\t\tsafetyChecklists,\n\t\tpolicies,\n\n\t\tcomplaints,\n\t\tfeedback,\n\t\tincidentReports,\n\n\t\tcanViewActivityFeed\n\t} = dashboardItems;\n\n\treturn (\n\t\t
\n\t\t\t{isOrganisationPending && (\n\t\t\t\t
\n\t\t\t\t\tPayment for your organisation’s ChildAware account has not been completed. If you have made a payment please\n\t\t\t\t\tcontact ChildAware at accounts@childaware.com for assistance.\n\t\t\t\t\tOtherwise, please make a payment{' '}\n\t\t\t\t\tto complete this process.\n\t\t\t\t
\n\t\t\t)}\n\n\t\t\t{!!dashboardFormErrorMessage && !isOrganisationPending ? (\n\t\t\t\t
{dashboardFormErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{profile ? (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{profile.canRead && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Your profile

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{profile.isUpToDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

up to date

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{profile.counts?.expiredCertifications && profile.counts.expiredCertifications > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{profile.counts.expiredCertifications}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdocument{profile.counts.expiredCertifications > 1 ? 's' : null} require\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{profile.counts.expiredCertifications > 1 ? null : 's'} your attention\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t{staff || leadershipTeam || families ? (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{staff && staff.canRead && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Staff or Volunteer

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{staff.counts?.members && staff.counts?.members > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{staff.counts?.members}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{staff.counts?.members && staff.counts?.members === 1 ? 'member' : 'members'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{staff.counts?.joinRequests && staff.counts?.joinRequests > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{staff.counts.joinRequests}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tnew join request\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{staff.counts?.joinRequests && staff.counts?.joinRequests > 1 ? 's' : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{staff.counts?.incompleteProfiles && staff.counts?.incompleteProfiles > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{staff.counts?.incompleteProfiles}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tincomplete profile\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{staff.counts?.incompleteProfiles && staff.counts?.incompleteProfiles > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 's'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t{leadershipTeam && leadershipTeam.canRead && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Leadership Team

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{leadershipTeam.counts?.members && leadershipTeam.counts?.members > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{leadershipTeam.counts?.members}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{leadershipTeam.counts?.members && leadershipTeam.counts?.members === 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'member'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: 'members'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t{families && families.canRead && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Families

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{families.counts?.members && families.counts?.members > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{families.counts?.members}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{families.counts?.members && families.counts?.members === 1 ? 'member' : 'members'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{families.counts?.joinRequests && families.counts?.joinRequests > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{families.counts?.joinRequests}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

join requests

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{families.counts?.incompleteProfiles && families.counts?.incompleteProfiles > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{families.counts?.incompleteProfiles}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

incomplete profiles

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t{visitors && visitors.canRead && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Visitors

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{visitors.counts?.members && visitors.counts?.members > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{visitors.counts?.members}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{visitors.counts?.members && visitors.counts?.members === 1 ? 'member' : 'members'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{visitors.counts?.joinRequests && visitors.counts?.joinRequests > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{visitors.counts?.joinRequests}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjoin request{visitors.counts?.joinRequests > 1 ? 's' : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{visitors.counts?.incompleteProfiles && visitors.counts?.incompleteProfiles > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{visitors.counts?.incompleteProfiles}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tincomplete profile{visitors.counts?.incompleteProfiles > 1 ? 's' : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t{training || safetyChecklists || policies ? (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{policies && policies.canRead && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Policies

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{policies.isUpToDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

up to date

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{policies.counts?.expired && policies.counts?.expired > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{policies.counts?.expired}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

expired

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{policies.counts?.forOthersToAcknowledge &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpolicies.counts?.forOthersToAcknowledge > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{policies.counts?.forOthersToAcknowledge}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

for others to acknowledge

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{policies.counts?.forYouToAcknowledge && policies.counts?.forYouToAcknowledge > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{policies.counts?.forYouToAcknowledge}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

for you to acknowledge

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t{training && training.canRead && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Training

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{training.isUpToDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

up to date

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{training.counts?.assigned && training.counts?.assigned > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{training.counts?.assigned}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

assigned

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{training.counts?.overdueByOthers && training.counts?.overdueByOthers > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{training.counts?.overdueByOthers}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

overdue by others

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{training.counts?.forYouToComplete && training.counts?.forYouToComplete > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{training.counts?.forYouToComplete}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

for you to complete

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t{safetyChecklists && safetyChecklists.canRead && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Safety Checklists

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{safetyChecklists.isUpToDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

up to date

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{safetyChecklists.counts?.inProgress && safetyChecklists.counts?.inProgress > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{safetyChecklists.counts?.inProgress}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

in progress

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{safetyChecklists.counts?.forOthersToApprove &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsafetyChecklists.counts?.forOthersToApprove > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{safetyChecklists.counts?.forOthersToApprove}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

for others to approve

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{safetyChecklists.counts?.forYouToComplete &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsafetyChecklists.counts?.forYouToComplete > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{safetyChecklists.counts?.forYouToComplete}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

in progress by you

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{safetyChecklists.counts?.forYouToApprove &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsafetyChecklists.counts?.forYouToApprove > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{safetyChecklists.counts?.forYouToApprove}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

for you to approve

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t{complaints || feedback || incidentReports ? (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{feedback && feedback.canRead && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Feedback

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{feedback.isUpToDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

up to date

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{feedback.counts?.newlySubmitted && feedback.counts?.newlySubmitted > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{feedback.counts?.newlySubmitted}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

newly submitted

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{feedback.counts?.inProgress && feedback.counts?.inProgress > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{feedback.counts?.inProgress}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

in progress

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{feedback.counts?.submittedByYou && feedback.counts?.submittedByYou > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{feedback.counts?.submittedByYou}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

submitted by you

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t{complaints && complaints.canRead && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Complaints

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{complaints.isUpToDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

up to date

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{complaints.counts?.newlySubmitted && complaints.counts?.newlySubmitted > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{complaints.counts?.newlySubmitted}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

newly submitted

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{complaints.counts?.inProgress && complaints.counts?.inProgress > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{complaints.counts?.inProgress}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

in progress

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{complaints.counts?.submittedByYou && complaints.counts?.submittedByYou > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{complaints.counts?.submittedByYou}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

submitted by you

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t{incidentReports && incidentReports.canRead && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Incident Reports

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{incidentReports.isUpToDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

up to date

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{incidentReports.counts?.forOthersToAcknowledge &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tincidentReports.counts?.forOthersToAcknowledge > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{incidentReports.counts?.forOthersToAcknowledge}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

in progress

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{incidentReports.counts?.forYouToAcknowledge &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tincidentReports.counts?.forYouToAcknowledge > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{incidentReports.counts?.forYouToAcknowledge}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

for you to acknowledge

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t{canViewActivityFeed && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default Dashboard;\n","import * as React from 'react';\n\n// ICONS\nimport { ReactComponent as ArrowUpIcon } from '../assets/svg/arrow-up.svg';\n\nexport interface ScrollToTopButtonTypes {\n\textraClass?: string;\n\toffsetValue?: number;\n}\n\nconst ScrollToTopButton: React.FC = ({ extraClass, offsetValue }) => {\n\tconst [visible, setVisible] = React.useState(false);\n\n\tconst scrollToTop = (e: React.MouseEvent) => {\n\t\te.preventDefault();\n\n\t\twindow.scrollTo({\n\t\t\ttop: 0,\n\t\t\tbehavior: 'smooth'\n\t\t});\n\t};\n\n\tReact.useEffect(() => {\n\t\tconst scrollControl = () => {\n\t\t\tif (!visible && window.pageYOffset > 100) {\n\t\t\t\tsetVisible(true);\n\t\t\t} else if (visible && window.pageYOffset <= 100) {\n\t\t\t\tsetVisible(false);\n\t\t\t}\n\t\t};\n\t\t\n\t\twindow.addEventListener('scroll', scrollControl);\n\n\t\treturn () => {\n\t\t\twindow.removeEventListener('scroll', scrollControl);\n\t\t};\n\t}, []);\n\n\treturn (\n\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\tBack to top\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default ScrollToTopButton;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../utils';\n\n// REDUX\nimport { useAppSelector } from '../store';\n\n// PACKAGES\nimport { Form, Formik } from 'formik';\n\n// COMPONENTS\nimport Button from './Button';\nimport FileUpload from './FileUpload';\n\n// TYPES\nimport { closeModalType } from './GlobalModal';\n\ninterface EditProfileImageTypes {\n\tcloseModal?: closeModalType;\n\tisUpdated?: React.Dispatch>;\n}\n\nconst EditProfileImage: React.FC = ({ closeModal, isUpdated }) => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst updateProfileImage = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.postAccountEditProfileImage({ imageFile: values.profileImageName });\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (isUpdated) {\n\t\t\t\tisUpdated(true);\n\t\t\t}\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\t\t}\n\t};\n\treturn (\n\t\t<>\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('profileImageName', val)}\n\t\t\t\t\t\t\t\t\t\tmultiple={false}\n\t\t\t\t\t\t\t\t\t\tmaxSizeMb={5}\n\t\t\t\t\t\t\t\t\t\timagesOnly={true}\n\t\t\t\t\t\t\t\t\t\tdisabled={!isOrganisationActive}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tSubmit\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t}}\n\t\t\t\t
\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default EditProfileImage;\n","import * as React from 'react';\n\n// TYPES\ninterface DisplayPhoneNumberTypes {\n\tchildren?: string;\n}\n\nexport const DisplayPhoneNumber: React.FC = ({ children }) => {\n\tconst formatPhoneNumber = (phoneNumber?: string) => {\n\t\tif (phoneNumber) {\n\t\t\tconst numberArray = phoneNumber.toString().split('');\n\n\t\t\tif (numberArray[0] === '1' && numberArray.length === 10) {\n\t\t\t\t// 1800 160 401 or 1300 975 707\n\t\t\t\tnumberArray.splice(4, 0, ' ');\n\n\t\t\t\tnumberArray.splice(8, 0, ' ');\n\t\t\t} else if (numberArray[0] === '1' && numberArray.length === 6) {\n\t\t\t\t// 13 00 00\n\t\t\t\tnumberArray.splice(2, 0, ' ');\n\n\t\t\t\tnumberArray.splice(5, 0, ' ');\n\t\t\t} else if (numberArray[0] === '0' && numberArray[1] === '4' && numberArray.length === 10) {\n\t\t\t\t// 0491 570 159\n\t\t\t\tnumberArray.splice(4, 0, ' ');\n\n\t\t\t\tnumberArray.splice(8, 0, ' ');\n\t\t\t} else if (numberArray[0] === '0' && numberArray.length === 10) {\n\t\t\t\t// 02 5550 4321\n\t\t\t\tnumberArray.splice(2, 0, ' ');\n\n\t\t\t\tnumberArray.splice(7, 0, ' ');\n\t\t\t} else {\n\t\t\t\t// Fallback Do nothing\n\t\t\t}\n\n\t\t\treturn numberArray.join('');\n\t\t}\n\t};\n\treturn <>{formatPhoneNumber(children)};\n};\n\nexport default DisplayPhoneNumber;\n","var _path, _path2, _path3;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgInformation(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 21,\n height: 21,\n viewBox: \"0 0 21 21\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.5614 17.3246C14.3421 17.3246 17.407 14.2937 17.407 10.5549C17.407 6.81607 14.3421 3.78516 10.5614 3.78516C6.78069 3.78516 3.71582 6.81607 3.71582 10.5549C3.71582 14.2937 6.78069 17.3246 10.5614 17.3246Z\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.5 14L10.5 10.0625\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.5615 7.52344L10.5615 6.99844\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgInformation);\nexport default __webpack_public_path__ + \"static/media/Information.66610f1a.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport CircleImage from '../components/CircleImage';\nimport GlobalModal from './GlobalModal';\nimport EditProfileImage from './EditProfileImage';\nimport DisplayDate from './DisplayDate';\nimport DisplayPhoneNumber from './DisplayPhoneNumber';\n\n// ICONS\nimport { ReactComponent as EditIcon } from '../assets/svg/edit.svg';\n\ninterface ProfileSummaryTypes {\n\tid?: string;\n\tprofileImage?: string;\n\tfirstName?: string;\n\tlastName?: string;\n\tchildAwareId?: number;\n\temail?: string;\n\tdateOfBirth?: string;\n\tphoneNumber?: string;\n\tcanUpdate?: boolean;\n\tcanUpdateProfileImage?: boolean;\n\tisUpdated?: React.Dispatch>;\n\tisStudent?: boolean;\n}\n\nconst ProfileSummary: React.FC = ({\n\tid,\n\tprofileImage,\n\tfirstName,\n\tlastName,\n\tchildAwareId,\n\temail,\n\tphoneNumber,\n\tdateOfBirth,\n\tcanUpdate,\n\tcanUpdateProfileImage,\n\tisUpdated,\n\tisStudent\n}) => {\n\tconst [showEditModal, setShowEditModal] = React.useState(false);\n\tconst [isMounted, setIsMounted] = React.useState(false);\n\n\tReact.useEffect(() => {\n\t\tsetIsMounted(true);\n\t}, []);\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t

\n\t\t\t\t\t\t{firstName} {lastName}\n\t\t\t\t\t

\n\n\t\t\t\t\t{!isStudent && (\n\t\t\t\t\t\t
setShowEditModal(true)}>\n\t\t\t\t\t\t\t{canUpdateProfileImage && (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t

Edit profile picture

\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{childAwareId && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
ChildAware ID
\n\n\t\t\t\t\t\t\t\t\t\t
{childAwareId}
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{email && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
Email
\n\n\t\t\t\t\t\t\t\t\t\t
{email}
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{phoneNumber && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
Phone
\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{phoneNumber}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{dateOfBirth && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
Date of Birth
\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{dateOfBirth}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\n\t\t\t\t\t{canUpdate && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tEdit your ChildAware details in \"My Account\"\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tEdit Profile\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t
\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default ProfileSummary;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../utils';\n\n// REDUX\nimport { useAppSelector } from '../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from './Button';\nimport DisplayDate from './DisplayDate';\nimport CircleImage from '../components/CircleImage';\nimport ErrorMessage from './ErrorMessage';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../assets/svg/plus.svg';\n\n// TYPES\nimport { FamiliesFetchLinkedAccount } from '../api/models/families-fetch-linked-account';\nimport { DomainProfileType } from '../api/models';\n\ninterface ProfileLinkedAccountsTypes {\n\tlinkedAccounts?: Array;\n\tdefaultMaxItems?: number;\n\tsetClicked?: React.Dispatch>;\n\tsetLinkedAccountsUpdated?: React.Dispatch>;\n\tuserId?: string;\n\tprofileType?: DomainProfileType;\n}\n\nconst ProfileLinkedAccounts: React.FC = ({\n\tlinkedAccounts,\n\tdefaultMaxItems,\n\tsetClicked,\n\tsetLinkedAccountsUpdated,\n\tuserId,\n\tprofileType\n}) => {\n\tconst [maxLinkedAccountsItem, setMaxLinkedAccountsItem] = React.useState(defaultMaxItems || 5);\n\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState();\n\n\tconst adminUserId = useAppSelector((state) => state.user.id);\n\n\tconst isYou = userId === adminUserId;\n\n\tconst isParent = profileType === DomainProfileType.Parent;\n\tconst isStudent = profileType === DomainProfileType.Student;\n\n\tconst revokeInvite = async (id: string) => {\n\t\tconst data = await apibridge.postAccountLinkRequestRevoke({ id });\n\n\t\tif (data.isError) {\n\t\t\tsetShowError(true);\n\t\t\tsetFormErrorMessage(\n\t\t\t\tdata.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(data.validationErrors)\n\t\t\t\t\t: data.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetShowError(false);\n\t\t\tsetLinkedAccountsUpdated && setLinkedAccountsUpdated(true);\n\t\t}\n\t};\n\n\tconst removeLinkedAccount = async (id: string) => {\n\t\tconst data = await apibridge.postAccountLinkRequestRemove({ id });\n\n\t\tif (data.isError) {\n\t\t\tsetShowError(true);\n\t\t\tsetFormErrorMessage(\n\t\t\t\tdata.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(data.validationErrors)\n\t\t\t\t\t: data.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetShowError(false);\n\t\t\tsetLinkedAccountsUpdated && setLinkedAccountsUpdated(true);\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t{((linkedAccounts && linkedAccounts.length > 0) || isYou) && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{linkedAccounts && linkedAccounts.length > 0 &&

Linked Accounts

}\n\n\t\t\t\t\t\t{isYou && isParent && (\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetClicked!(true);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\tclassName=\"btn-text-icon d-none d-lg-block\"\n\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\tInvite to account\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t)}\n\n\t\t\t\t{linkedAccounts &&\n\t\t\t\t\tlinkedAccounts.length > 0 &&\n\t\t\t\t\tlinkedAccounts.slice(0, maxLinkedAccountsItem).map((item, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
{item.name}
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
Relationship
\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.relationship}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{item.isPending ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Linked
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Pending invitation
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.linked && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Linked
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{isYou &&\n\t\t\t\t\t\t\t\t\t\t\tisParent &&\n\t\t\t\t\t\t\t\t\t\t\t(item.isPending ? (\n\t\t\t\t\t\t\t\t\t\t\t\t item && item.id && revokeInvite(item.id)}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-text pdr-0\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tRevoke Request\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t item && item.id && removeLinkedAccount(item.id)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-text remove\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\n\t\t\t\t{showError && }\n\n\t\t\t\t{linkedAccounts && maxLinkedAccountsItem < linkedAccounts!.length && (\n\t\t\t\t\t setMaxLinkedAccountsItem(linkedAccounts!.length)}\n\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t>\n\t\t\t\t\t\tShow {linkedAccounts!.length - maxLinkedAccountsItem} more\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default ProfileLinkedAccounts;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { Form, Formik, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\n\n// ICONS\nimport { ReactComponent as EyeOnIcon } from '../../../assets/svg/eye-on.svg';\nimport { ReactComponent as EyeOffIcon } from '../../../assets/svg/eye-off.svg';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\n\ninterface AccountPasswordModalTypes {\n\taccountDetails: {\n\t\tchildAwareId?: string;\n\t};\n\tcloseModal?: closeModalType;\n}\n\nconst AccountPasswordModal: React.FC = ({ accountDetails, closeModal }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\t// State for Password Control\n\tconst [showPassword, setShowPassword] = React.useState(false);\n\n\tconst [showNewPassword, setShowNewPassword] = React.useState(false);\n\n\tconst [showConfirmPassword, setShowConfirmPassword] = React.useState(false);\n\n\t// INITIAL FORM VALUES\n\tconst initialValues = {\n\t\tchildawareId: accountDetails.childAwareId || '',\n\t\tcurrentPassword: '',\n\t\tnewPassword: '',\n\t\tconfirmPassword: ''\n\t};\n\n\t// VALIDATION\n\tconst validationSchema = Yup.object({\n\t\tcurrentPassword: Yup.string()\n\t\t\t.required('Required')\n\t\t\t.min(12, 'Minimum of 12 characters')\n\t\t\t.matches(\n\t\t\t\t/^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*(),.?\":{}|<>]).{12,}$/,\n\t\t\t\t'Please enter a valid password'\n\t\t\t),\n\t\tnewPassword: Yup.string()\n\t\t\t.required('Required')\n\t\t\t.min(12, 'Minimum of 12 characters')\n\t\t\t.matches(\n\t\t\t\t/^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*(),.?\":{}|<>]).{12,}$/,\n\t\t\t\t'Please enter a valid password'\n\t\t\t),\n\t\tconfirmPassword: Yup.string()\n\t\t\t.required('Required')\n\t\t\t.oneOf([Yup.ref('newPassword'), null], 'Passwords must match')\n\t});\n\n\t// SUBMIT\n\tconst submitFormData = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.postAuthenticationChangePassword({\n\t\t\tnewPassword: values.newPassword,\n\t\t\tconfirmPassword: values.confirmPassword,\n\t\t\toldPassword: values.currentPassword\n\t\t});\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t : }\n\t\t\t\t\t\t\t\t\tonClick={() => setShowPassword(!showPassword)}\n\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t : }\n\t\t\t\t\t\t\t\t\tonClick={() => setShowNewPassword(!showNewPassword)}\n\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t : }\n\t\t\t\t\t\t\t\t\tonClick={() => setShowConfirmPassword(!showConfirmPassword)}\n\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
  • Minimum of 12 characters
  • \n\t\t\t\t\t\t\t\t
  • At least one lower case letter
  • \n\t\t\t\t\t\t\t\t
  • At least one upper case letter
  • \n\t\t\t\t\t\t\t\t
  • At least one number
  • \n\t\t\t\t\t\t\t\t
  • At least one special character (e.g. ! @ ?)
  • \n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t);\n\t\t\t}}\n\t\t
\n\t);\n};\n\nexport default AccountPasswordModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport * as Yup from 'yup';\nimport { ErrorMessage, FastField, Field, Form, Formik } from 'formik';\n\n// STORE\nimport { useAppSelector } from '../../../store';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\nimport SingleSelect from '../../../components/SingleSelect';\nimport FileUpload from '../../../components/FileUpload';\nimport ExistingCertification from '../../../components/ExistingCertification';\nimport DateDayExpiryInput from '../../../components/DateDayExpiryInput';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../../assets/svg/plus.svg';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\nimport { AccountExistingCertificationsCertification, DomainCertificationType } from '../../../api/models';\n\ninterface RequestVolunteerModalTypes {\n\tcloseModal?: closeModalType;\n\tupdate: () => void;\n\torganisationId: string;\n}\n\nconst RequestVolunteerModal: React.FC = ({ closeModal, update, organisationId }) => {\n\tconst states = useAppSelector((state) => state?.lists.states);\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst [currentStep, setCurrentStep] = React.useState('stepOne');\n\n\tconst [showForm, setShowForm] = React.useState(true);\n\n\tconst stepOneComplete = () => {\n\t\tsetCurrentStep('stepTwo');\n\t};\n\n\tconst goBack = () => {\n\t\tsetShowForm(false);\n\t};\n\n\tconst [existingCertifications, setExistingCertifications] = React.useState<\n\t\tAccountExistingCertificationsCertification[]\n\t>([]);\n\n\tconst getExistingCertifications = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getAccountExistingCertifications();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\t\t} else {\n\t\t\tsetExistingCertifications(\n\t\t\t\tresponse.result &&\n\t\t\t\t\tresponse.result.filter(\n\t\t\t\t\t\t(item: AccountExistingCertificationsCertification) =>\n\t\t\t\t\t\t\titem.certificationType === DomainCertificationType.WorkingWithChildrenCheck && item.validCertification\n\t\t\t\t\t)\n\t\t\t);\n\t\t\tsetShowForm(false);\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetExistingCertifications();\n\t}, []);\n\n\t//Set initial template\n\tconst certificationTemplate = {\n\t\tcertificationType: DomainCertificationType.WorkingWithChildrenCheck,\n\t\tstate: '',\n\t\texpiry: '',\n\t\tcertificationNumber: '',\n\t\tattachments: [],\n\t\tcreateAttachments: [],\n\t\texistingCertifications: true,\n\t\tuserAcknowledgement: false,\n\t\texistingWorkingWithChildren: false\n\t};\n\n\t//Set Initial Values\n\tconst initalWorkingWithChildrenCheckValues = {\n\t\t...certificationTemplate\n\t};\n\n\t//Validation\n\tconst workingWithChildrenCheckValidation = Yup.object().shape({\n\t\tstate: Yup.string().when('existingCertifications', { is: true, then: Yup.string().required('Required') }),\n\t\texpiry: Yup.string().when('existingCertifications', { is: true, then: Yup.string().required('Required') }),\n\t\t// createAttachments: Yup.array().when('existingCertifications', {\n\t\t// \tis: true,\n\t\t// \tthen: Yup.array().min(1, 'Required').required('Required')\n\t\t// }),\n\t\tcertificationNumber: Yup.string().when('existingCertifications', {\n\t\t\tis: true,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\tuserAcknowledgement: Yup.boolean().oneOf([true], 'You must agree to continue').required('Required')\n\t});\n\n\tconst submitVolunteerRequest = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tif (existingCertifications && existingCertifications.length > 0 && !showForm) {\n\t\t\tconst response = await apibridge.postAccountVolunteerRequest({ userProfileId: organisationId });\n\n\t\t\tresponse.result = response.result || [];\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\t\t\t\tupdate();\n\t\t\t\tcloseModal && closeModal();\n\t\t\t}\n\t\t} else {\n\t\t\tconst data = await apibridge.addCertification({\n\t\t\t\tcertificationType: DomainCertificationType.WorkingWithChildrenCheck,\n\t\t\t\tstate: values.state,\n\t\t\t\texpiry: values.expiry,\n\t\t\t\tcreateAttachments: values.createAttachments,\n\t\t\t\tcertificationNumber: values.certificationNumber,\n\t\t\t\tuserAcknowledgement: values.userAcknowledgement\n\t\t\t});\n\n\t\t\tdata.result = data.result || [];\n\n\t\t\tif (data.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tdata.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(data.validationErrors)\n\t\t\t\t\t\t: data.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tconst response = await apibridge.postAccountVolunteerRequest({ userProfileId: organisationId });\n\n\t\t\t\tresponse.result = response.result || [];\n\n\t\t\t\tif (response.isError) {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tsetIsLoading(false);\n\t\t\t\t\tupdate();\n\t\t\t\t\tcloseModal && closeModal();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tPlease provide your Working With Children Check (WWCC) to apply for Parent Volunteer status.\n\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\t\tconst addAnother = () => {\n\t\t\t\t\t\t\t\t\t\t\tsetShowForm(true);\n\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('userAcknowledgement', false);\n\t\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\t\tReact.useEffect(() => {\n\t\t\t\t\t\t\t\t\t\t\t!showForm && existingCertifications && existingCertifications.length > 0\n\t\t\t\t\t\t\t\t\t\t\t\t? formik.setFieldValue('existingCertifications', false)\n\t\t\t\t\t\t\t\t\t\t\t\t: formik.setFieldValue('existingCertifications', true);\n\t\t\t\t\t\t\t\t\t\t}, [showForm]);\n\n\t\t\t\t\t\t\t\t\t\tReact.useEffect(() => {\n\t\t\t\t\t\t\t\t\t\t\tformik.values.existingWorkingWithChildren && formik.setFieldValue('userAcknowledgement', true);\n\t\t\t\t\t\t\t\t\t\t}, [formik.values.existingWorkingWithChildren]);\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{!showForm && existingCertifications && existingCertifications.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue(`state`, val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`createAttachments`, val);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`attachments`, files);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel=\"Photo of registration\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfiles={formik.values.attachments}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t// \t) : null}\n\t\t\t\t\t\t\t// \n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default RequestVolunteerModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { Form, Formik, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport SingleSelect from '../../../components/SingleSelect';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n//ICONS\nimport { ReactComponent as MailSentIcon } from '../../../assets/svg/mail-sent.svg';\n\n//TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\nimport { AccountLinkAccountsCommand } from '../../../api/models';\n\ninterface InviteToLinkModalTypes {\n\tcloseModal?: closeModalType;\n\tupdate?: () => void;\n}\n\nconst InviteToLinkModal: React.FC = ({ closeModal, update }) => {\n\t// Get all Relationship Types from Redux store\n\tconst relationship = useAppSelector((state) => state?.lists.relationshipTypes);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst [emailSent, setEmailSent] = React.useState(false);\n\n\tconst [childId, setChildId] = React.useState('');\n\n\tconst submitInviteRequest = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.postAccountLinkAccounts({\n\t\t\trelationshipType: values.relationshipType,\n\t\t\tchildAwareId: values.childAwareId\n\t\t});\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetEmailSent(true);\n\n\t\t\tsetChildId(values.childAwareId);\n\t\t}\n\t};\n\n\tconst close = () => {\n\t\tcloseModal && closeModal();\n\t\tupdate && update();\n\t};\n\n\tconst initalFormData: AccountLinkAccountsCommand = {\n\t\trelationshipType: undefined,\n\t\tchildAwareId: undefined\n\t};\n\n\tconst formValidation = Yup.object({\n\t\trelationshipType: Yup.string().required('Required'),\n\t\tchildAwareId: Yup.number().required('Required')\n\t});\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\tconst resetFields = () => {\n\t\t\t\t\t\t\t\t\t\tsetEmailSent(false);\n\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('relationshipType', undefined);\n\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('childAwareId', undefined);\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{!emailSent ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tInvite a family member to link your account.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Enter either their ChildAware ID below.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('relationshipType', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tname=\"relationshipType\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\toptions={relationship}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tYour invitation has been successfully sent to:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tChildAware ID #{childId}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t resetFields()}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-primary full-width mbtom-16\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tSend another link invite\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default InviteToLinkModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { Form, Formik, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as EyeOnIcon } from '../../../assets/svg/eye-on.svg';\nimport { ReactComponent as EyeOffIcon } from '../../../assets/svg/eye-off.svg';\nimport { ReactComponent as MailSentIcon } from '../../../assets/svg/mail-sent.svg';\n\n// TYPES\nimport { AccountEmailChangeRequestCommand } from '../../../api/models';\nimport { closeModalType } from '../../../components/GlobalModal';\n\ninterface AccountEmailModalTypes {\n\taccountDetails: {\n\t\tchildAwareId?: string;\n\t\temail?: string;\n\t};\n\tcloseModal?: closeModalType;\n}\n\nconst AccountEmailModal: React.FC = ({ accountDetails, closeModal }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst [showPassword, setShowPassword] = React.useState(false);\n\n\tconst [isEmailSent, setIsEmailSent] = React.useState(false);\n\n\tconst [newlyCreatedEmail, setNewlyCreatedEmail] = React.useState('');\n\n\t// INITIAL FORM VALUES\n\tconst initialValues = {\n\t\tchildawareId: accountDetails.childAwareId || '',\n\t\temail: accountDetails.email || '',\n\t\tcurrentPassword: ''\n\t};\n\n\t// VALIDATION\n\tconst validationSchema = Yup.object({\n\t\temail: Yup.string().required('Required').email('Please enter a valid email address'),\n\t\tcurrentPassword: Yup.string()\n\t\t\t.required('Required')\n\t\t\t.min(12, 'Minimum of 12 characters')\n\t\t\t.matches(/^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[!@#$%^&*(),.?\":{}|<>]).{12,}$/, 'Please enter a valid password')\n\t});\n\n\t// SUBMIT\n\tconst submitFormData = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: AccountEmailChangeRequestCommand = { newEmail: values.email, password: values.currentPassword };\n\n\t\tconst response = await apibridge.postAccountEmailChangeRequest(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetNewlyCreatedEmail(values.email);\n\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetIsEmailSent(true);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {}, [isEmailSent]);\n\n\treturn (\n\t\t
\n\t\t\t{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\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tA confirmation email has been sent to your new email address.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{newlyCreatedEmail}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (closeModal) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcloseModal();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-primary full-width mbtom-16\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tClose\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default AccountEmailModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\tcloseModal?: closeModalType;\n\tupdate: () => void;\n\tuserProfileId: string;\n\tvolunteerStatus: string;\n}\n\nconst RemoveModal: React.FC = ({ closeModal, update, userProfileId, volunteerStatus }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst removeVolunteerStatus = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.postAccountVolunteerRemove({ userProfileId: userProfileId });\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t\tcloseModal && closeModal();\n\t\t\tupdate();\n\t\t}\n\t};\n\n\tconst widthdrawVolunteerStatus = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.postAccountVolunteerRevoke({ userProfileId: userProfileId });\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t\tcloseModal && closeModal();\n\t\t\tupdate();\n\t\t}\n\t};\n\n\tconst submit = () => {\n\t\tif (volunteerStatus === 'Withdraw') {\n\t\t\twidthdrawVolunteerStatus();\n\t\t} else {\n\t\t\tremoveVolunteerStatus();\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tAre you sure you wish to {volunteerStatus.toLowerCase()} your volunteer status?\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t submit()}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{volunteerStatus}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tcloseModal && closeModal();\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tCancel\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default RemoveModal;\n","import * as React from 'react';\n\n//PACKAGES\nimport { useHistory } from 'react-router-dom';\n\n// API\nimport apibridge from '../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../utils';\n\n// REDUX\nimport UserSlice from '../store/slices/User';\nimport { useAppDispatch } from '../store';\n\n// COMPONENTS\nimport Button from './Button';\nimport ErrorMessage from './ErrorMessage';\nimport GlobalModal from './GlobalModal';\nimport RemoveModal from '../pages/MyAccount/Modals/RemoveModal';\nimport OrganisationLogo from './OrganisationLogo';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../assets/svg/plus.svg';\n\n// TYPES\nimport { AccountMyAccountOrganisation, DomainParentVolunteerStatus } from '../api/models';\n\ninterface MyAccountOrganisationsTypes {\n\torganisations?: Array;\n\tdefaultMaxItems?: number;\n\tsetRequestVolunteerModalShow: React.Dispatch>;\n\tupdate: () => Promise;\n\tsetOrganisationId: React.Dispatch>;\n}\n\nconst MyAccountOrganisations: React.FC = ({\n\torganisations,\n\tdefaultMaxItems,\n\tsetRequestVolunteerModalShow,\n\tupdate,\n\tsetOrganisationId\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst [maxOrganisationsItem, setMaxOrganisationsItem] = React.useState(defaultMaxItems || 5);\n\n\tconst [volunteerId, setVolunteerId] = React.useState('');\n\n\tconst [volunteerStatus, setVolunteerStatus] = React.useState('');\n\n\tconst [isRemoveModalOpen, setIsRemoveModalOpen] = React.useState(false);\n\n\tconst history = useHistory();\n\n\tconst dispatch = useAppDispatch();\n\n\tconst changeProfile = async (profileId: string) => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.doSwitchOrganisation(profileId);\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tdispatch(UserSlice.actions.forceUpdate({ profileId }));\n\t\t\thistory.push('/dashboard');\n\t\t}\n\t};\n\n\tconst removeVolunteerStatus = async (id: string) => {\n\t\tsetIsRemoveModalOpen(true);\n\n\t\tsetVolunteerStatus('Remove');\n\n\t\tsetVolunteerId(id);\n\t};\n\n\tconst widthdrawVolunteerStatus = async (id: string) => {\n\t\tsetIsRemoveModalOpen(true);\n\n\t\tsetVolunteerStatus('Withdraw');\n\n\t\tsetVolunteerId(id);\n\t};\n\n\tconst requestVolunteerStatus = async (id: string) => {\n\t\tsetRequestVolunteerModalShow(true);\n\n\t\tsetOrganisationId(id);\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t

Organisations

\n\t\t\t\t
\n\n\t\t\t\t{organisations &&\n\t\t\t\t\torganisations.length > 0 &&\n\t\t\t\t\torganisations.slice(0, maxOrganisationsItem).map((item, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
{item.name}
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.isCurrentMember ? '' : 'Past'} Role
\n\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.role}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{item.volunteerStatus === DomainParentVolunteerStatus.Approved\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Approved Volunteer'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.volunteerStatus === DomainParentVolunteerStatus.Requested\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Volunteer Status Pending'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: ''}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{item.isEligibleVolunteer ? (\n\t\t\t\t\t\t\t\t\t\t\titem.volunteerStatus === DomainParentVolunteerStatus.Approved ? (\n\t\t\t\t\t\t\t\t\t\t\t\t removeVolunteerStatus(item.userProfileId || '')}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-text pdr-0 \"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tRemove Volunteer Status\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : item.volunteerStatus === DomainParentVolunteerStatus.Requested ? (\n\t\t\t\t\t\t\t\t\t\t\t\t widthdrawVolunteerStatus(item.userProfileId || '')}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-text pdr-0 alert-danger-text\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tWithdraw Volunteer Request\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t requestVolunteerStatus(item.userProfileId || '')}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-text pdr-0 \"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tRequest Volunteer Status\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t) : item.isCurrentMember ? (\n\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\tchangeProfile(item.userProfileId!);\n\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tDashboard\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\n\t\t\t\t{organisations && organisations.length > 0 && maxOrganisationsItem < organisations.length && (\n\t\t\t\t\t setMaxOrganisationsItem(organisations.length)}\n\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t>\n\t\t\t\t\t\tShow {organisations.length - maxOrganisationsItem} more\n\t\t\t\t\t\n\t\t\t\t)}\n\n\t\t\t\t{!!formErrorMessage && }\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default MyAccountOrganisations;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils/index';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport * as Yup from 'yup';\nimport { ErrorMessage, Field, Form, Formik } from 'formik';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport FileUpload from '../../../components/FileUpload';\nimport SingleSelect from '../../../components/SingleSelect';\nimport FilesList from '../../../components/FilesList';\nimport DateDayExpiryInput from '../../../components/DateDayExpiryInput';\n\n// TYPES\nimport { AccountCertificationCommand, DomainCertificationType } from '../../../api/models';\nimport { closeModalType } from '../../../components/GlobalModal';\n\ninterface DocumentModalTypes {\n\tcloseModal?: closeModalType;\n\tformId?: string;\n\tsetTitle?: React.Dispatch>;\n\tuserProfileId?: string | undefined;\n}\n\nconst DocumentModal: React.FC = ({ closeModal, formId, setTitle, userProfileId }) => {\n\t// Get all States from Redux store\n\tconst statesList = useAppSelector((state) => state?.lists.states);\n\n\t// Get all Qualification Certification from Redux store\n\tconst qualificationCertifications = useAppSelector((state) => state?.lists.qualificationCertifications);\n\n\t// Get all Authority of Work Certifications from Redux store\n\tconst authorityOfWorkCertifications = useAppSelector((state) => state?.lists.authorityOfWorkCertifications);\n\n\tconst certificationTypes = authorityOfWorkCertifications;\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up Data state and Initial Data\n\tconst [formType, setFormType] = React.useState('');\n\n\tconst initialFormState: AccountCertificationCommand = {\n\t\tid: undefined,\n\t\tcertificationType: undefined,\n\t\tcertificationNumber: '',\n\t\tstate: undefined,\n\t\tdate: undefined,\n\t\texpiry: undefined,\n\t\ttitle: '',\n\t\torganisation: '',\n\t\tuserAcknowledgement: undefined,\n\t\tattachments: [],\n\t\tcreateAttachments: [],\n\t\tdeleteAttachmentIds: []\n\t};\n\n\tconst [formData, setFormData] = React.useState(initialFormState);\n\n\tconst getDocumentData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getAccountCertification(formId);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormType(\n\t\t\t\tqualificationCertifications?.filter((item) => item.label === response.result.certificationType)[0]\n\t\t\t\t\t? 'Qualification'\n\t\t\t\t\t: response.result.certificationType\n\t\t\t);\n\n\t\t\tsetFormData((prevState) => ({\n\t\t\t\t...prevState,\n\n\t\t\t\t...response.result\n\t\t\t}));\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (formId) {\n\t\t\tgetDocumentData();\n\t\t}\n\t\tsetIsLoading(false);\n\t}, []);\n\n\t// Validation\n\tconst formValidationSchema = Yup.object().shape({\n\t\tstate: Yup.string().when('certificationType', {\n\t\t\tis: (value: string) =>\n\t\t\t\tvalue === DomainCertificationType.TeacherRegistration ||\n\t\t\t\tvalue === DomainCertificationType.WorkingWithChildrenCheck,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\tcertificationNumber: Yup.string().when('certificationType', {\n\t\t\tis: (value: string) =>\n\t\t\t\tvalue === DomainCertificationType.TeacherRegistration ||\n\t\t\t\tvalue === DomainCertificationType.WorkingWithChildrenCheck,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\texpiry: Yup.string().when('certificationType', {\n\t\t\tis: (value: string) =>\n\t\t\t\tvalue === DomainCertificationType.TeacherRegistration ||\n\t\t\t\tvalue === DomainCertificationType.WorkingWithChildrenCheck,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\tdate: Yup.string().when('certificationType', {\n\t\t\tis: (value: string) =>\n\t\t\t\tvalue === DomainCertificationType.Degree ||\n\t\t\t\tvalue === DomainCertificationType.Diploma ||\n\t\t\t\tvalue === DomainCertificationType.Certificate ||\n\t\t\t\tvalue === DomainCertificationType.PoliceCheck,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\ttitle: Yup.string().when('certificationType', {\n\t\t\tis: (value: string) =>\n\t\t\t\tvalue === DomainCertificationType.Degree ||\n\t\t\t\tvalue === DomainCertificationType.Diploma ||\n\t\t\t\tvalue === DomainCertificationType.Certificate,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\torganisation: Yup.string().when('certificationType', {\n\t\t\tis: (value: string) =>\n\t\t\t\tvalue === DomainCertificationType.Degree ||\n\t\t\t\tvalue === DomainCertificationType.Diploma ||\n\t\t\t\tvalue === DomainCertificationType.Certificate,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\tcertificationType: Yup.string().required('Required'),\n\t\tcreateAttachments: Yup.array().when(['attachments', 'deleteAttachmentIds'], {\n\t\t\tis: (attachments: any[], deletedItems: any[]) => {\n\t\t\t\tif (attachments?.length === 1 && deletedItems?.length > 0) {\n\t\t\t\t\tif (deletedItems.includes(attachments[0].id)) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t} else if (attachments?.length === 0) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tthen: Yup.array().min(1, 'Required')\n\t\t}),\n\n\t\tuserAcknowledgement: Yup.boolean().when('certificationType', {\n\t\t\tis: (value: string) =>\n\t\t\t\tvalue === DomainCertificationType.TeacherRegistration ||\n\t\t\t\tvalue === DomainCertificationType.WorkingWithChildrenCheck ||\n\t\t\t\tvalue === 'VaccinationCertificate',\n\t\t\tthen: Yup.boolean().oneOf([true], 'You must agree to continue').required('Required')\n\t\t})\n\t});\n\n\t//Submit form data to API\n\tconst submitFormData = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: AccountCertificationCommand = {\n\t\t\tid: formId ? formId : '',\n\t\t\tcertificationType: values.certificationType as DomainCertificationType,\n\t\t\tcertificationNumber: values.certificationNumber,\n\t\t\tstate: values.state,\n\t\t\ttitle: values.title,\n\t\t\torganisation: values.organisation,\n\t\t\tdate: values.date,\n\t\t\texpiry: values.expiry,\n\t\t\tuserAcknowledgement: values.userAcknowledgement,\n\t\t\tcreateAttachments: values.createAttachments.filter((id: string) => values.attachments.id !== id),\n\t\t\tattachments: values.attachments,\n\t\t\tdeleteAttachmentIds: values.deleteAttachmentIds\n\t\t};\n\n\t\tconst response = await apibridge.addCertification(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t\n\t\t\t\t{(formik) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{!formId && !formType ? (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t

Which document do you wish to add?

\n\n\t\t\t\t\t\t\t\t\t{certificationTypes?.map((cert, i) => (\n\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\tsetFormType(cert.value!),\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetTitle!(cert.label!),\n\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('certificationType', cert.value);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-secondary mbtom-20 full-width\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t{cert.label}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t))}\n\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tsetFormType('Qualification'), setTitle!('Qualification');\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-secondary mbtom-20 full-width\"\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tQualification\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tsetFormType('VaccinationCertificate'),\n\t\t\t\t\t\t\t\t\t\t\t\tsetTitle!('Vaccination'),\n\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('certificationType', 'VaccinationCertificate');\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-secondary mbtom-20 full-width\"\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tVaccination\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tsetFormType('PoliceCheck'),\n\t\t\t\t\t\t\t\t\t\t\t\tsetTitle!('Police Check'),\n\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('certificationType', 'PoliceCheck');\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-secondary mbtom-20 full-width\"\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tPolice Check\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t{formType === 'PoliceCheck' ? (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('date', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tshowDropdowns={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\texcludeFuture={true}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : formType === 'TeacherRegistration' || formType === 'WorkingWithChildrenCheck' ? (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('state', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('expiry', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\texcludePast={true}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`certificationNumber`, val.target.value);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={formik.values.certificationNumber}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t{formType === 'Qualification' ? (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('certificationType', val);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\toptions={qualificationCertifications}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={formik.values.certificationType}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"Select qualification...\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`title`, val.target.value);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={formik.values.title}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`date`, val);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`organisation`, val.target.value);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\tvalue={formik.values.organisation}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t{formType === 'VaccinationCertificate' ? (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t

You may choose to provide evidence of vaccination status.

\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tid: file.id,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisplayFileName: file.fileName,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlink: file.link\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}))}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonChange={(val: string[]) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('deleteAttachmentIds', [val]);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn formik.setFieldValue('createAttachments', val);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t{formType === 'TeacherRegistration' ? (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t) : formType === 'WorkingWithChildrenCheck' ? (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t) : formType === 'VaccinationCertificate' ? (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
{error}
}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t);\n\t\t\t\t}}\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default DocumentModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { Form, Formik, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\n\n// ICONS\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\n\ninterface AccountPhoneModalTypes {\n\taccountDetails: {\n\t\tchildAwareId?: string;\n\t\temail?: string;\n\t\tphoneNumber?: string;\n\t};\n\tcloseModal?: closeModalType;\n\tgetMyAccountData: () => Promise;\n}\n\nconst AccountPhoneModal: React.FC = ({ accountDetails, closeModal, getMyAccountData }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\t// INITIAL FORM VALUES\n\tconst initialValues = {\n\t\tchildawareId: accountDetails.childAwareId || undefined,\n\t\tphoneNumber: accountDetails.phoneNumber || undefined\n\t};\n\n\t// FORM VALIDATION FOR AUSTRALIAN PHONE NUMBERS\n\tconst phoneRegExp =\n\t\t/^(?:\\+?(61))? ?(?:\\((?=.*\\)))?(0?[2-57-8])\\)? ?(\\d\\d(?:[- ](?=\\d{3})|(?!\\d\\d[- ]?\\d[- ]))\\d\\d[- ]?\\d[- ]?\\d{3})$/;\n\n\t// VALIDATION\n\tconst validationSchema = Yup.object({\n\t\tphoneNumber: Yup.string().matches(phoneRegExp, 'Phone number is not valid').required('Required')\n\t});\n\n\t// SUBMIT\n\tconst submitFormData = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.postAccountEditPhoneNumber({\n\t\t\tphoneNumber: values.phoneNumber\n\t\t});\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tgetMyAccountData();\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t

For a landline, please include an area code e.g. 03 XXX

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default AccountPhoneModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport Button from '../../components/Button';\nimport ProfileSummary from '../../components/ProfileSummary';\nimport ProfileLinkedAccounts from '../../components/ProfileLinkedAccounts';\nimport GlobalModal from '../../components/GlobalModal';\nimport AccountPasswordModal from './Modals/AccountPasswordModal';\nimport RequestVolunteerModal from './Modals/RequestVolunteerModal';\nimport InviteToLinkModal from './Modals/InviteToLinkModal';\nimport AccountEmailModal from './Modals/AccountEmailModal';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport MyAccountOrganisations from '../../components/MyAccountOrganisations';\nimport DocumentModal from './Modals/DocumentModal';\nimport AccountPhoneModal from './Modals/AccountPhoneModal';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { AccountMyAccountAccount, DomainProfileType } from '../../api/models';\n\nconst MyAccount: React.FC = () => {\n\tconst dispatch = useAppDispatch();\n\n\t// Check Profile Type of the Active User\n\tconst activeProfileType = useAppSelector((state) => state.user.activeProfileType);\n\n\t// Get all Qualification Certifications from Redux store\n\tconst qualificationCertifications = useAppSelector((state) => state?.lists.qualificationCertifications);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up Data state and Initial Data\n\tconst initialData = {\n\t\tuserId: undefined,\n\t\tuserProfileId: undefined,\n\t\tchildAwareId: undefined,\n\t\tprofileImage: undefined,\n\t\tfirstName: undefined,\n\t\tlastName: undefined,\n\t\temail: undefined,\n\t\tphoneNumber: undefined,\n\t\tpassword: undefined,\n\t\tprofileType: undefined,\n\t\tcertifications: [],\n\t\torganisations: [],\n\t\tlinkedAccounts: []\n\t};\n\n\tconst [myAccountData, setMyAccountData] = React.useState(initialData);\n\n\t// Set up state for Clean up function\n\tconst [isMounted, setIsMounted] = React.useState(false);\n\n\t// State to detect whether the image was updated or not\n\tconst [profileUpdate, setProfileUpdated] = React.useState(false);\n\n\tconst [linkedAccountsUpdated, setLinkedAccountsUpdated] = React.useState(false);\n\n\tconst getMyAccountData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getAccountMyAccount();\n\n\t\timageVersion.current = imageVersion.current + 1;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetMyAccountData(response.result);\n\n\t\t\tdispatch(UserSlice.actions.update({ profileImage: response.result.profileImage + '&v=' + imageVersion.current }));\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tsetIsMounted(true);\n\n\t\tgetMyAccountData();\n\t}, []);\n\n\tReact.useEffect(() => {\n\t\tif (profileUpdate && isMounted) {\n\t\t\tgetMyAccountData();\n\n\t\t\tsetProfileUpdated(false);\n\t\t}\n\t}, [profileUpdate]);\n\n\tReact.useEffect(() => {\n\t\tif (isMounted && linkedAccountsUpdated) {\n\t\t\tgetMyAccountData();\n\t\t}\n\t}, [linkedAccountsUpdated]);\n\n\tconst {\n\t\tuserId,\n\t\tuserProfileId,\n\t\tchildAwareId,\n\t\tprofileImage,\n\t\tfirstName,\n\t\tlastName,\n\t\temail,\n\t\tphoneNumber,\n\t\tprofileType,\n\t\tcertifications,\n\t\tmissingCertifications,\n\t\torganisations,\n\t\tlinkedAccounts\n\t} = myAccountData;\n\n\t// Account Password, Email & Phone Modal\n\tconst [accountPasswordModalShow, setAccountPasswordModalShow] = React.useState(false);\n\n\tconst [accountEmailModalShow, setAccountEmailModalShow] = React.useState(false);\n\n\tconst [accountPhoneModalShow, setAccountPhoneModalShow] = React.useState(false);\n\n\tconst accountDetails = {\n\t\tchildAwareId,\n\t\temail,\n\t\tphoneNumber\n\t};\n\n\t// Add New Document Modal\n\tconst [newDocumentModalShow, setNewDocumentsModalShow] = React.useState(false);\n\n\tconst [currentFormModal, setCurrentFormModal] = React.useState('');\n\n\tconst [formId, setFormId] = React.useState('');\n\n\tconst addNewDocumentHandler = () => {\n\t\tsetFormId('');\n\n\t\tsetCurrentFormModal('');\n\n\t\tsetNewDocumentsModalShow(true);\n\t};\n\n\tconst editDocumentHandler = (formId: string, type: string) => {\n\t\tsetFormId(formId);\n\n\t\tsetCurrentFormModal(type);\n\n\t\tsetNewDocumentsModalShow(true);\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (!newDocumentModalShow && isMounted) {\n\t\t\tgetMyAccountData();\n\t\t}\n\t}, [newDocumentModalShow]);\n\n\t// Check if user is a student\n\tconst isStudent = profileType === DomainProfileType.Student;\n\n\t// Request Volunteer Status Modal\n\tconst [requestVolunteerModalShow, setRequestVolunteerModalShow] = React.useState(false);\n\n\tconst [organisationId, setOrganisationId] = React.useState('');\n\n\t// Invite to link account\n\tconst [inviteToLinkModalShow, setInviteToLinkModalShow] = React.useState(false);\n\n\tconst imageVersion = React.useRef(1);\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* DOCUMENTS */}\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{activeProfileType !== DomainProfileType.Student && (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t

Documents

\n\n\t\t\t\t\t\t\t\t\t\t\t addNewDocumentHandler()}\n\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-text-icon\"\n\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tAdd new document\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t{activeProfileType === DomainProfileType.Student && certifications && certifications.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t

Documents

\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t{certifications &&\n\t\t\t\t\t\t\t\t\t\tcertifications.length > 0 &&\n\t\t\t\t\t\t\t\t\t\tcertifications.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{qualificationCertifications &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tqualificationCertifications.filter(({ label }) => label === item.displayName)[0]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Qualification certificate'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.displayName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isExpired === true && 'Expired'}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isExpired === false &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(qualificationCertifications &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tqualificationCertifications.filter(({ label }) => label === item.displayName)[0]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? item.displayName\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.displayName === 'Passport'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? item.certificationNumber\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.displayName === 'Vaccination Certificate' ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t item.displayName === 'Police Check'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? item.fileName\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: `${item.certificationNumber}, ${item.state}`)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\teditDocumentHandler(item.id || '', item.displayName || '');\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t{missingCertifications &&\n\t\t\t\t\t\t\t\t\t\tmissingCertifications.length > 0 &&\n\t\t\t\t\t\t\t\t\t\tmissingCertifications.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{item.name}
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Missing document
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t{/* ORGANISATIONS */}\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* LINKED ACCOUNT */}\n\t\t\t\t\t\t\t\t{(profileType === DomainProfileType.Parent || profileType === DomainProfileType.Student) && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default MyAccount;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { queryStringToObject, validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport Button from '../../components/Button';\n\n// TYPES\ninterface LinkAccountTypes {}\nimport { AccountLinkRequestApproveCommand, AccountLinkRequestRejectCommand } from '../../api/models';\n\nconst LinkAccount: React.FC = ({}) => {\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState();\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst [parentName, setParentName] = React.useState('');\n\n\tconst history = useHistory();\n\n\tconst organisationName = useAppSelector(\n\t\t(state) => state.user.profiles?.filter((profile) => profile.isOrganisationActive)[0].name\n\t);\n\n\tconst organisationImage = useAppSelector(\n\t\t(state) => state.user.profiles?.filter((profile) => profile.isOrganisationActive)[0].image\n\t);\n\n\t// Getting the Ids from Params and query\n\tconst queryParams = queryStringToObject();\n\tconst requestingProfileId = queryParams.id;\n\n\tconst getLinkRequestName = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getAccountLinkRequest(requestingProfileId);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetParentName(response.result.parentName);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (requestingProfileId) {\n\t\t\tgetLinkRequestName();\n\t\t}\n\n\t\tsetIsLoading(false);\n\t}, []);\n\n\tconst acceptInvitation = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: AccountLinkRequestApproveCommand = { id: requestingProfileId };\n\n\t\tconst response = await apibridge.postAccountLinkRequestApprove(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/link-success');\n\t\t}\n\t};\n\n\tconst rejectInviation = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: AccountLinkRequestRejectCommand = { id: requestingProfileId };\n\n\t\tconst response = await apibridge.postAccountLinkRequestReject(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/link-success');\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t{parentName} has invited you to link accounts with {organisationName}\n\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default LinkAccount;\n","import * as React from 'react';\n\n// ICONS\nimport { ReactComponent as SearchIcon } from '../assets/svg/search.svg';\n\n// TYPES\nimport { StaffDashboardStaffMember } from '../api/models/staff-dashboard-staff-member';\n\ninterface SearchInputTypes {\n\tsearchPlaceholder: string;\n\toriginalStaffData: StaffDashboardStaffMember[];\n\tsetStaffData: React.Dispatch>;\n}\n\nconst SearchInput: React.FC = ({ searchPlaceholder, originalStaffData, setStaffData }) => {\n\tconst [searchValue, setSearchValue] = React.useState('');\n\n\tconst onChangeHandler = (e: React.ChangeEvent) => {\n\t\tconst newSearchValue = e.target.value;\n\n\t\tif (!newSearchValue) {\n\t\t\tsetStaffData(originalStaffData);\n\t\t} else {\n\t\t\tconst newStaffData = originalStaffData.filter(\n\t\t\t\t(data) =>\n\t\t\t\t\t(data.firstName && data.firstName.toLowerCase().includes(newSearchValue.toLowerCase())) ||\n\t\t\t\t\t(data.lastName && data.lastName.toLowerCase().includes(newSearchValue.toLowerCase()))\n\t\t\t);\n\n\t\t\tsetStaffData(newStaffData);\n\t\t}\n\n\t\tsetSearchValue(newSearchValue);\n\t};\n\n\treturn (\n\t\t
\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default SearchInput;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { Tooltip } from 'reactstrap';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert-circle.svg';\n\n// TYPES\ninterface RoleListItemTypes {\n\troleId?: string;\n\tprofileImage?: string;\n\tfirstName?: string;\n\tlastName?: string;\n\tstaffType?: string;\n\tisYou?: boolean;\n\trole?: string;\n\tcanUpdate?: boolean;\n\tneedsAttention?: boolean;\n\tisPastStaff?: boolean;\n}\n\nconst RoleListItem: React.FC = ({\n\tprofileImage,\n\tcanUpdate,\n\troleId,\n\tfirstName,\n\tlastName,\n\tstaffType,\n\tisYou,\n\tneedsAttention,\n\tisPastStaff\n}) => {\n\tconst staffTypes = useAppSelector((state) => state.lists.staffTypes);\n\tconst userIsAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\tconst [incompleteProfileTooltipOpen, setincompleteProfileTooltipOpen] = React.useState(false);\n\n\tconst toggleincompleteProfileTooltip = () => setincompleteProfileTooltipOpen(!incompleteProfileTooltipOpen);\n\n\tconst staffTypesLookup: {\n\t\t[key: string]: string | undefined;\n\t} = {};\n\n\tif (staffTypes) {\n\t\tstaffTypes.forEach((type) => {\n\t\t\tif (type && type.value) {\n\t\t\t\tstaffTypesLookup[type.value] = type.label;\n\t\t\t}\n\t\t});\n\t}\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{firstName} {lastName} {isYou && (You)}\n\t\t\t\t\t\t
\n\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
{staffTypesLookup[staffType || ''] || staffType}
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t{isYou ? (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\n\t\t\t\t\t) : userIsAdmin && isPastStaff === false ? (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\n\t\t\t\t\t) : null}\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default RoleListItem;\n","import * as React from 'react';\n\n// COMPONENTS\nimport RoleListItem from './RoleListItem';\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { StaffDashboardStaffMember } from '../../api/models';\n\ninterface RoleListTypes {\n\trole: string;\n\tpeopleList: StaffDashboardStaffMember[];\n\tisPastStaff?: boolean;\n}\n\nconst RoleList: React.FC = ({ role, peopleList, isPastStaff }) => {\n\tconst [maxItem, setMaxItem] = React.useState(5);\n\n\treturn (\n\t\t
\n\t\t\t{peopleList && peopleList.length > 0 && (\n\t\t\t\t<>\n\t\t\t\t\t
\n\t\t\t\t\t\t{role}\n\t\t\t\t\t\t{peopleList.length}\n\t\t\t\t\t
\n\n\t\t\t\t\t{peopleList.slice(0, maxItem).map((people: StaffDashboardStaffMember) => {\n\t\t\t\t\t\tconst { profileImage, firstName, lastName, isYou, staffType, id, canUpdate, needsAttention } = people;\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t\t{maxItem < peopleList.length && (\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\tclassName=\"btn-secondary btn-show-more\"\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tonClick={() => setMaxItem(peopleList.length)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tShow {peopleList.length - maxItem} more\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default RoleList;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport SearchInput from '../../components/SearchInput';\nimport RoleList from './RoleList';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { StaffDashboardStaffMember } from '../../api/models';\n\nexport interface StaffDataTypes {\n\t[key: string]: any[];\n}\n\nconst Staff: React.FC = () => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get staff types from Redux store\n\tconst staffTypes = useAppSelector((state) => state.lists.staffTypes);\n\n\t// Check if User is Organisation Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// Data to filter\n\tconst [staffData, setStaffData] = React.useState([]);\n\n\t// Data used to search, it will not be changed and will always remain as its inital set value\n\tconst [originalStaffData, setOriginalStaffData] = React.useState([]);\n\n\t// data to store current staff and past staff\n\tconst [currentStaffData, setCurrentStaffData] = React.useState({});\n\tconst [pastStaffData, setPastStaffData] = React.useState({});\n\n\t// data used for ordering the sections.\n\tconst [defaultSectionOrder, setDefaultSectionOrder] = React.useState<(string | undefined)[]>([]);\n\tconst [dynamicSectionOrder, setDynamicSectionOrder] = React.useState<(string | undefined)[]>([]);\n\n\t// Function to get Staff data from api and update state\n\tconst getStaffData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getStaffData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetStaffData(response.result);\n\n\t\t\tsetOriginalStaffData(response.result);\n\t\t}\n\t};\n\n\t// filter logic\n\tconst filterData = () => {\n\t\tif (staffTypes && staffTypes.length) {\n\t\t\tconst defaultDataOrder = staffTypes.map((item) => item.value);\n\n\t\t\tconst dynamicDataOrder: string[] = [];\n\t\t\tlet currentStaff: StaffDataTypes = {};\n\t\t\tlet pastStaff: StaffDataTypes = {};\n\n\t\t\tif (staffData.length > 0) {\n\t\t\t\tstaffData.forEach((staff) => {\n\t\t\t\t\tif (staff.staffType) {\n\t\t\t\t\t\tconst role = staff.staffType;\n\n\t\t\t\t\t\tif (!defaultDataOrder.includes(role)) {\n\t\t\t\t\t\t\tdefaultDataOrder.push(role);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (!dynamicDataOrder.includes(role)) {\n\t\t\t\t\t\t\tdynamicDataOrder.push(role);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (staff.isCurrentStaff) {\n\t\t\t\t\t\t\tif (currentStaff[role]) {\n\t\t\t\t\t\t\t\tcurrentStaff[role].push(staff);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcurrentStaff[role] = [];\n\t\t\t\t\t\t\t\tcurrentStaff[role].push(staff);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (pastStaff[role]) {\n\t\t\t\t\t\t\t\tpastStaff[role].push(staff);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tpastStaff[role] = [];\n\t\t\t\t\t\t\t\tpastStaff[role].push(staff);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\tsetCurrentStaffData(currentStaff);\n\t\t\t\tsetPastStaffData(pastStaff);\n\n\t\t\t\tsetDefaultSectionOrder(defaultDataOrder);\n\t\t\t\tsetDynamicSectionOrder(dynamicDataOrder);\n\t\t\t}\n\t\t}\n\t};\n\n\t// Calling data from api and set staff data from api to staffData state\n\tReact.useEffect(() => {\n\t\tgetStaffData();\n\t}, []);\n\n\t// filter data once we get the data from api.\n\tReact.useEffect(() => {\n\t\tfilterData();\n\t}, [staffData]);\n\n\t// State to control active tab and active content\n\tconst [activeTab, setActiveTab] = React.useState('tab1');\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{activeTab === 'tab1' && (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{defaultSectionOrder.map((role, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (role && dynamicSectionOrder.includes(role)) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tconst peopleList: StaffDashboardStaffMember[] = currentStaffData[role] || [];\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn ;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t{activeTab === 'tab2' && (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{defaultSectionOrder.map((role, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (role && dynamicSectionOrder.includes(role)) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tconst peopleList: StaffDashboardStaffMember[] = pastStaffData[role] || [];\n\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn ;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default Staff;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils/index';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// REDUX\nimport { useAppDispatch } from '../../store';\n\n// PACKAGES\nimport * as Yup from 'yup';\nimport { ErrorMessage, Field, FieldArray, Form, Formik } from 'formik';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n//COMPONENTS\nimport Button from '../../components/Button';\nimport DateInput from '../../components/DateInput';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { StaffReferenceCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface AddDocumentModalTypes {\n\tcloseModal?: closeModalType;\n\tformType: string;\n\tstaffId?: string;\n\tcurrentFormID?: string;\n\tgetStaffProfileData: () => Promise;\n}\n\nconst AddDocumentModal: React.FC = ({\n\tcloseModal,\n\tformType,\n\tstaffId,\n\tgetStaffProfileData,\n\tcurrentFormID\n}) => {\n\tconst dispatch = useAppDispatch();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t//Set read only if form has been filled out and submitted already to prevent changes\n\tconst [readOnly, setReadOnly] = React.useState(false);\n\n\t// Set up templates for Reference Form and Police Check Form\n\tconst referenceCheckTemplate: StaffReferenceCommand = {\n\t\tid: undefined,\n\t\tuserProfileId: undefined,\n\t\tchecked: undefined,\n\t\tname: undefined,\n\t\tposition: undefined,\n\t\torganisation: undefined,\n\t\tcontactDetails: undefined,\n\t\tverifiedBy: undefined\n\t};\n\n\t// State for radio button\n\tconst [referenceIsChecked, setReferenceIsChecked] = React.useState(false);\n\n\t//Initial form State\n\tconst initialFormStateReferenceCheck = [{ ...referenceCheckTemplate }];\n\n\t// Set up form data state for both Reference Check and Police Check\n\tconst [formData, setFormData] = React.useState({\n\t\trefChecks: initialFormStateReferenceCheck,\n\t\tisReferenceChecked: referenceIsChecked\n\t});\n\n\t// If there is an Id, then call api and load either Reference Check form or Police Check form based on formType\n\t// If there is No Id, then load initial blank form of either Reference Check form or Police Check form based on formType\n\tconst getModalDetail = async () => {\n\t\tsetIsLoading(true);\n\n\t\tif (currentFormID) {\n\t\t\tif (formType === 'Reference checks') {\n\t\t\t\tconst response = await apibridge.getStaffReference(currentFormID);\n\n\t\t\t\tif (response.isError) {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetFormData({\n\t\t\t\t\t\trefChecks: [response.result],\n\n\t\t\t\t\t\tisReferenceChecked: response.result.checked ? true : referenceIsChecked\n\t\t\t\t\t});\n\n\t\t\t\t\tsetReferenceIsChecked(true);\n\n\t\t\t\t\tsetReadOnly(true);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tsetFormData({\n\t\t\t\trefChecks: initialFormStateReferenceCheck,\n\n\t\t\t\tisReferenceChecked: referenceIsChecked\n\t\t\t});\n\t\t}\n\t\tsetIsLoading(false);\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetModalDetail();\n\t}, []);\n\n\t// Validation\n\tconst referenceChecksValidationSchema = Yup.object({\n\t\trefChecks: Yup.array().when('isReferenceChecked', {\n\t\t\tis: true,\n\t\t\tthen: Yup.array().of(\n\t\t\t\tYup.object({\n\t\t\t\t\tchecked: Yup.string().required('Required'),\n\t\t\t\t\tname: Yup.string().required('Required'),\n\t\t\t\t\tposition: Yup.string().required('Required'),\n\t\t\t\t\torganisation: Yup.string().required('Required'),\n\t\t\t\t\tcontactDetails: Yup.string().required('Required')\n\t\t\t\t})\n\t\t\t)\n\t\t})\n\t});\n\n\t// Submit form data to API\n\tconst submitFormData = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tif (formType === 'Reference checks') {\n\t\t\tif (values.isReferenceChecked) {\n\t\t\t\tvalues.refChecks.map(async (ref: StaffReferenceCommand) => {\n\t\t\t\t\tconst data: StaffReferenceCommand = {\n\t\t\t\t\t\tid: ref.id,\n\t\t\t\t\t\tuserProfileId: staffId,\n\t\t\t\t\t\tchecked: ref.checked,\n\t\t\t\t\t\tname: ref.name,\n\t\t\t\t\t\tposition: ref.position,\n\t\t\t\t\t\torganisation: ref.organisation,\n\t\t\t\t\t\tcontactDetails: ref.contactDetails\n\t\t\t\t\t};\n\n\t\t\t\t\tconst response = await apibridge.postStaffReference(data);\n\n\t\t\t\t\tif (response.isError) {\n\t\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\t\tif (closeModal) {\n\t\t\t\t\t\t\tcloseModal();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tgetStaffProfileData();\n\n\t\t\t\t\t\tuseUpdateTotalNotification();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (formType === 'Police check') {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{formType === 'Reference checks' ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{referenceIsChecked && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(props) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst { values } = form;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst { refChecks } = values;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{refChecks.map((ref: any, index: number) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{ref.verifiedBy && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue(`refChecks[${index}].checked`, val)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\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\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default AddDocumentModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils/index';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport moment from 'moment';\nimport 'moment/locale/en-au';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { RequestsToJoinReviewCertificationCertificationReview } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface CitedDocumentModalTypes {\n\tcloseModal?: closeModalType;\n\tformId?: string;\n\tsetTitle?: React.Dispatch>;\n\tcanUpdate?: boolean;\n\tisYou?: boolean;\n\tupdate?: () => void;\n}\n\nconst CitedDocumentModal: React.FC = ({\n\tcloseModal,\n\tformId,\n\tsetTitle,\n\tcanUpdate,\n\tupdate,\n\tisYou\n}) => {\n\t// Get all states from Redux store\n\tconst statesList = useAppSelector((state) => state?.lists.states);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst [formType, setFormType] = React.useState('');\n\n\t// Set up Form Data state and initial Data\n\tconst initialFormData = {\n\t\tid: undefined,\n\t\tcertificationType: undefined,\n\t\treviewType: undefined,\n\t\tdisplayName: undefined,\n\t\tdate: undefined,\n\t\texpiry: undefined,\n\t\tstate: undefined,\n\t\tcountry: undefined,\n\t\tcertificationNumber: undefined,\n\t\tconfirmed: undefined,\n\t\tcited: undefined,\n\t\tattachments: []\n\t};\n\n\tconst [formData, setFormData] = React.useState(initialFormData);\n\n\tconst getDocumentData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getRequestsTojoinReviewCertification(formId);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormType(response.result.reviewType);\n\n\t\t\tsetTitle!(response.result.displayName);\n\n\t\t\tsetFormData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (formId) {\n\t\t\tgetDocumentData();\n\t\t}\n\t\tsetIsLoading(false);\n\t}, []);\n\n\t// Submit form data to API\n\tconst submitFormData = async (e: React.MouseEvent) => {\n\t\te.preventDefault();\n\n\t\tsetIsLoading(true);\n\n\t\tif (canUpdate && !isYou) {\n\t\t\tconst data = {\n\t\t\t\tcertificationReviewId: formData?.id,\n\t\t\t\tcited: formData.cited,\n\t\t\t\tconfirmed: formData.confirmed\n\t\t\t};\n\n\t\t\tconst response = await apibridge.confirmDocumentsCited(data);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\t\t\t\tupdate && update();\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{formType !== 'Vaccination' && formType !== 'Qualification' && formType !== 'PoliceCheck' ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t state.value === formData.state?.toLowerCase())[0].label\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: ''\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t{formType !== 'Vaccination' && formType !== 'Qualification' && formType !== 'PoliceCheck' && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{formType === 'Qualification' && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{formType === 'Vaccination' && (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\tThis is a certificate that shows all record of your vaccination history, which can be downloaded\n\t\t\t\t\t\t\t\t\t\t\t\tvia Medicare website.\n\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{formType === 'PoliceCheck' && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t{formData.attachments?.map((file, index) => {\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t{file.fileName ? file.fileName : file.id}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tDownload\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t{canUpdate && !isYou && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{formType === 'TeacherRegistration' ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t{/* */}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : formType === 'WorkingWithChildrenCheck' ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t{/* */}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t{/* IMPORTANT NOTE: CLIENT SPECIFICALLY ASKED NOT TO DELETE THESE \"SIGHTED FUNCTIONALITY\" AND\n\t\t\t\t\t\t\t\t\t\t\t\tONLY COMMENT THEM OUT */}\n\t\t\t\t\t\t\t\t\t\t{/* */}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t submitFormData(e)}\n\t\t\t\t\t\t\t\t\tclassName=\"btn-primary full-width\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{canUpdate && !isYou ? 'Save and Close' : 'Close'}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default CitedDocumentModal;\n","import * as React from 'react';\n\n// COMPONENTS\nimport Button from './Button';\nimport StatusIcon from './StatusIcon';\nimport GlobalModal from './GlobalModal';\nimport AddDocumentModal from '../pages/StaffProfile/AddDocumentModal';\nimport CitedDocumentModal from '../pages/StaffProfile/CitedDocumentModal';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../assets/svg/plus.svg';\n\n// TYPES\nimport { StaffFetchDocument } from '../api/models';\n\ninterface ProfileCertificationsTypes {\n\tcertifications?: Array;\n\tdefaultMaxItems?: number;\n\treferenceChecks?: Array;\n\tstaffId?: string;\n\tcanUpdate?: boolean;\n\tdidUpdate?: React.Dispatch>;\n\tgetStaffProfileData: () => Promise;\n\tisYou: boolean | undefined;\n}\n\nconst ProfileCertifications: React.FC = ({\n\tcertifications,\n\tdefaultMaxItems,\n\treferenceChecks,\n\tstaffId,\n\tcanUpdate,\n\tisYou,\n\tdidUpdate,\n\tgetStaffProfileData\n}) => {\n\tconst [maxCertificationsItem, setMaxCertificationsItem] = React.useState(defaultMaxItems || 5);\n\n\tconst [showAddDocumentModal, setShowAddDocumentModal] = React.useState(false);\n\n\tconst [showCitedDocumentModal, setShowCitedDocumentModal] = React.useState(false);\n\n\tconst [currentFormID, setCurrentFormId] = React.useState('');\n\n\tconst [currentFormModal, setCurrentFormModal] = React.useState('');\n\n\tconst [modalMounted, setModalMounted] = React.useState(false);\n\n\tconst certificationJoin =\n\t\tisYou && !canUpdate\n\t\t\t? certifications && [...certifications]\n\t\t\t: canUpdate && certifications\n\t\t\t? referenceChecks && certifications && [...referenceChecks!, ...certifications!]\n\t\t\t: [...referenceChecks!];\n\n\tReact.useEffect(() => {\n\t\tsetModalMounted(true);\n\t}, []);\n\n\tReact.useEffect(() => {\n\t\tif (!showCitedDocumentModal && modalMounted) {\n\t\t\tdidUpdate!(true);\n\t\t}\n\t}, []);\n\n\tconst viewCertification = (item: any) => {\n\t\tif (item.displayName === 'Reference checks') {\n\t\t\tsetCurrentFormModal(item.displayName || '');\n\n\t\t\tsetCurrentFormId(item.id || '');\n\n\t\t\tsetShowAddDocumentModal(true);\n\t\t} else {\n\t\t\tsetShowCitedDocumentModal(true);\n\n\t\t\tsetCurrentFormModal(item.displayName || '');\n\n\t\t\tsetCurrentFormId(item.id || '');\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{certificationJoin && certificationJoin.length > 0 && (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

Documents

\n\t\t\t\t\t
\n\n\t\t\t\t\t{certificationJoin.slice(0, maxCertificationsItem).map((item, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
{item.displayName}
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{item.statusLabel}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{canUpdate && item.status === 'Error' && item.displayName === 'Reference checks' && !isYou ? (\n\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAddDocumentModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetCurrentFormModal(item.displayName || '');\n\t\t\t\t\t\t\t\t\t\t\t\t\tsetCurrentFormId('');\n\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tAdd\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : item.displayName === 'Reference checks' && isYou ? null : (\n\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\tviewCertification(item);\n\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\n\t\t\t\t\t{certificationJoin && certificationJoin.length > 0 && maxCertificationsItem < certificationJoin.length && (\n\t\t\t\t\t\t setMaxCertificationsItem(certificationJoin.length)}\n\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tShow {certificationJoin.length - maxCertificationsItem} more\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t)}\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default ProfileCertifications;\n","import * as React from 'react';\n\n// COMPONENTS\nimport Button from './Button';\nimport OrganisationLogo from './OrganisationLogo';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../assets/svg/plus.svg';\n\n// TYPES\nimport { StaffFetchOrganisation } from '../api/models/staff-fetch-organisation';\n\ninterface ProfileLinkedAccountsTypes {\n\torganisations?: Array;\n\tisStudent?: boolean;\n\tdefaultMaxItems?: number;\n\tisYou?: boolean;\n}\n\nconst ProfileLinkedAccounts: React.FC = ({\n\torganisations,\n\tisStudent,\n\tdefaultMaxItems,\n\tisYou\n}) => {\n\tconst [maxOrganisationsItem, setMaxOrganisationsItem] = React.useState(defaultMaxItems || 5);\n\n\treturn (\n\t\t<>\n\t\t\t{organisations && organisations.length > 0 && (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

Organisations

\n\t\t\t\t\t
\n\n\t\t\t\t\t{organisations.slice(0, maxOrganisationsItem).map((item, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
{item.name}
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.isCurrentMember ? \"\" : \"Past\"} Role
\n\n\t\t\t\t\t\t\t\t\t\t\t\t
{isStudent ? <>Child / Student : item.role}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.isLeadershipTeamMember}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\n\t\t\t\t\t{maxOrganisationsItem < organisations.length && (\n\t\t\t\t\t\t setMaxOrganisationsItem(organisations.length)}\n\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tShow {organisations.length - maxOrganisationsItem} more\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ProfileLinkedAccounts;\n","import * as React from 'react';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from './Button';\nimport DisplayDate from './DisplayDate';\nimport StatusIcon from './StatusIcon';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../assets/svg/plus.svg';\n\n// TYPES\nimport { StaffFetchComplaint } from '../api/models/staff-fetch-complaint';\n\ninterface ProfileComplaintsTypes {\n\tcomplaints?: Array;\n\tdefaultMaxItems?: number;\n}\n\nconst ProfileComplaints: React.FC = ({ complaints, defaultMaxItems }) => {\n\tconst [maxComplainsItem, setMaxComplainsItem] = React.useState(defaultMaxItems || 5);\n\n\treturn (\n\t\t<>\n\t\t\t{complaints && complaints.length > 0 && (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

Complaints

\n\t\t\t\t\t
\n\n\t\t\t\t\t{complaints.slice(0, maxComplainsItem).map((item, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
{item.subject}
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{item.complaintStatus}\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.updated ? <>Last updated : <>Submitted}
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
By
\n\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.creator}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{item.status === 'Success' ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tReview\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\n\t\t\t\t\t{maxComplainsItem < complaints.length && (\n\t\t\t\t\t\t setMaxComplainsItem(complaints.length)}\n\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tShow {complaints.length - maxComplainsItem} more\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ProfileComplaints;\n","import * as React from 'react';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from './Button';\nimport DisplayDate from './DisplayDate';\nimport StatusIcon from './StatusIcon';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../assets/svg/plus.svg';\n\n// TYPES\nimport { StaffFetchFeedbackItem } from '../api/models/staff-fetch-feedback-item';\n\ninterface ProfileFeedbackTypes {\n\tfeedback?: Array;\n\tdefaultMaxItems?: number;\n}\n\nconst ProfileFeedback: React.FC = ({ feedback, defaultMaxItems }) => {\n\tconst [maxFeedbackItem, setMaxFeedbackItem] = React.useState(defaultMaxItems || 5);\n\n\treturn (\n\t\t<>\n\t\t\t{feedback && feedback.length > 0 && (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

Feedback

\n\t\t\t\t\t
\n\n\t\t\t\t\t{feedback.slice(0, maxFeedbackItem).map((item, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
{item.subject}
\n\n\t\t\t\t\t\t\t\t\t\t\t
{item.feedbackStatus}
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.updated ? <>Last updated : <>Submitted}
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
By
\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.creator}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{item.status === 'Success' ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tReview\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\n\t\t\t\t\t{maxFeedbackItem < feedback.length && (\n\t\t\t\t\t\t setMaxFeedbackItem(feedback.length)}\n\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tShow {feedback.length - maxFeedbackItem} more\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ProfileFeedback;\n","import * as React from 'react';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from './Button';\nimport DisplayDate from './DisplayDate';\nimport StatusIcon from './StatusIcon';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../assets/svg/plus.svg';\n\n// TYPES\nimport { StaffFetchIncident } from '../api/models/staff-fetch-incident';\n\ninterface ProfileIncidentsTypes {\n\tincidents?: Array;\n\tdefaultMaxItems?: number;\n}\n\nconst ProfileIncidents: React.FC = ({ incidents, defaultMaxItems }) => {\n\tconst [maxIncidentsItem, setMaxIncidentsItem] = React.useState(defaultMaxItems || 5);\n\n\treturn (\n\t\t<>\n\t\t\t{incidents && incidents.length > 0 && (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

Incident Reports

\n\t\t\t\t\t
\n\n\t\t\t\t\t{incidents.slice(0, maxIncidentsItem).map((item, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
{item.title}
\n\n\t\t\t\t\t\t\t\t\t\t\t
{item.incidentStatus}
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.updated ? <>Last updated : <>Submitted}
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
By
\n\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.creator}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{item.status === 'Success' ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tReview\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\n\t\t\t\t\t{maxIncidentsItem < incidents.length && (\n\t\t\t\t\t\t setMaxIncidentsItem(incidents.length)}\n\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tShow {incidents.length - maxIncidentsItem} more\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ProfileIncidents;\n","import * as React from 'react';\n\n// PACKAGES\nimport { Link, useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from './Button';\nimport DisplayDate from './DisplayDate';\nimport StatusIcon from './StatusIcon';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../assets/svg/plus.svg';\n\n// TYPES\nimport { StaffFetchPolicy } from '../api/models/staff-fetch-policy';\nimport { useAppDispatch, useAppSelector } from '../store';\nimport UserSlice from '../store/slices/User';\n\ninterface ProfilePoliciesTypes {\n\tpolicies?: Array;\n\tdefaultMaxItems?: number;\n}\n\nconst ProfilePolicies: React.FC = ({ policies, defaultMaxItems }) => {\n\tconst [maxPolicyItem, setMaxPolicyItem] = React.useState(defaultMaxItems || 5);\n\n\tconst dispatch = useAppDispatch();\n\tconst history = useHistory();\n\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\tconst goToPolicies = () => {\n\t\tif (isOrganisationAdmin) {\n\t\t\tdispatch(UserSlice.actions.update({ viewPoliciesAsAdmin: false }));\n\t\t}\n\n\t\thistory.push('/policies');\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{policies && policies.length > 0 && (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

Policies

\n\t\t\t\t\t
\n\n\t\t\t\t\t{policies.slice(0, maxPolicyItem).map((item, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
{item.title}
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{item.policyAcknowledgementStatus}\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
Last updated
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
By
\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.creator}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{item.status === 'Success' ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\n\t\t\t\t\t{maxPolicyItem < policies.length && (\n\t\t\t\t\t\t setMaxPolicyItem(policies.length)}\n\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tShow {policies.length - maxPolicyItem} more\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ProfilePolicies;\n","import * as React from 'react';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from './Button';\nimport DisplayDate from './DisplayDate';\nimport StatusIcon from './StatusIcon';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../assets/svg/plus.svg';\n\n// TYPES\nimport { StaffFetchChecklist } from '../api/models/staff-fetch-checklist';\n\ninterface ProfileChecklistsTypes {\n\tchecklists?: Array;\n\tdefaultMaxItems?: number;\n}\n\nconst ProfileChecklists: React.FC = ({ checklists, defaultMaxItems }) => {\n\tconst [maxChecklistsItem, setMaxChecklistsItem] = React.useState(defaultMaxItems || 5);\n\n\treturn (\n\t\t<>\n\t\t\t{checklists && checklists.length > 0 && (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

Checklists

\n\t\t\t\t\t
\n\n\t\t\t\t\t{checklists.slice(0, maxChecklistsItem).map((item, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
{item.purpose}
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{item.checklistStatus}\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{item.updated ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Last updated
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
By
\n\n\t\t\t\t\t\t\t\t\t\t\t\t
{item.creator}
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{item.status === 'Success' ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tReview\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\n\t\t\t\t\t{maxChecklistsItem < checklists.length && (\n\t\t\t\t\t\t setMaxChecklistsItem(checklists.length)}\n\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tShow {checklists.length - maxChecklistsItem} more\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ProfileChecklists;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from './Button';\nimport DisplayDate from './DisplayDate';\nimport StatusIcon from './StatusIcon';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../assets/svg/plus.svg';\n\n// TYPES\nimport { StaffFetchTraining } from '../api/models/staff-fetch-training';\n\ninterface ProfileTrainingTypes {\n\ttraining?: Array;\n\tdefaultMaxItems?: number;\n\tisYou?: boolean;\n}\n\nconst ProfileTraining: React.FC = ({ training, defaultMaxItems, isYou }) => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\tconst [maxTrainingItem, setMaxTrainingItem] = React.useState(defaultMaxItems || 5);\n\n\treturn (\n\t\t<>\n\t\t\t{training && training.length > 0 && (\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t

Training

\n\t\t\t\t\t
\n\n\t\t\t\t\t{training.slice(0, maxTrainingItem).map((item, index) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{item.title}\n\t\t\t\t\t\t\t\t\t\t\t\t

{item.summary}

\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{item.completionStatus ? item.completionStatus : null}\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t{item.status === 'Success' && (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
Date
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{item.status === 'Success' || !isYou ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tStart\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\n\t\t\t\t\t{maxTrainingItem < training.length && (\n\t\t\t\t\t\t setMaxTrainingItem(training.length)}\n\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tShow {training.length - maxTrainingItem} more\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ProfileTraining;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { StaffDisableProfileCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveStaffModalTypes {\n\tstaffId?: string;\n\tcloseModal?: closeModalType;\n\tgetStaffProfileData: () => Promise;\n\tfirstName?: string;\n\tlastName?: string;\n}\n\nconst RemoveStaffModal: React.FC = ({\n\tstaffId,\n\tcloseModal,\n\tgetStaffProfileData,\n\tfirstName,\n\tlastName\n}) => {\n\tconst history = useHistory();\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmRemove = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: StaffDisableProfileCommand = { id: staffId };\n\n\t\tconst response = await apibridge.disableStaff(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\thistory.push('/staff');\n\n\t\t\tgetStaffProfileData();\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove{' '}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t'{firstName} {lastName}'?\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\tOnce removed, you will no longer be able to access their profile.\n\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default RemoveStaffModal;\n","var _path, _path2, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgShieldColor(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M21.1249 3.99762C15.5881 4.79922 14.4901 3.39882 12.0001 1.19922C9.51011 3.39882 8.41211 4.79922 2.87531 3.99762C-0.0754874 18.6952 12.0001 22.7992 12.0001 22.7992C12.0001 22.7992 24.0757 18.6952 21.1249 3.99762Z\",\n fill: \"url(#paint0_linear_2197_34407)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8 12.3913L10.4242 15L16 9\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_2197_34407\",\n x1: 5.16748,\n y1: 2.12717,\n x2: 17.8909,\n y2: 14.995,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgShieldColor);\nexport default __webpack_public_path__ + \"static/media/shield-color.eabc2dde.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useParams } from 'react-router-dom';\nimport { Tooltip } from 'reactstrap';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport Button from '../../components/Button';\nimport ProfileSummary from '../../components/ProfileSummary';\nimport ProfileCertifications from '../../components/ProfileCertifications';\nimport ProfileOrganisations from '../../components/ProfileOrganisations';\nimport ProfileComplaints from '../../components/ProfileComplaints';\nimport ProfileFeedback from '../../components/ProfileFeedback';\nimport ProfileIncidents from '../../components/ProfileIncidents';\nimport ProfilePolicies from '../../components/ProfilePolicies';\nimport ProfileChecklists from '../../components/ProfileChecklists';\nimport ProfileTraining from '../../components/ProfileTraining';\nimport SingleSelect from '../../components/SingleSelect';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport GlobalModal from '../../components/GlobalModal';\nimport RemoveStaffModal from './RemoveStaffModal';\n\n// ICONS\nimport { ReactComponent as InfoIcon } from '../../assets/svg/Information.svg';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport { StaffFetchStaffMember, StaffOrganisationAdminCommand, StaffStaffTypeCommand } from '../../api/models';\n\nconst StaffProfile: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Get all Staff Types from Redux store\n\tconst staffTypes = useAppSelector((state) => state.lists.staffTypes);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// All Error State\n\tconst [showStaffRoleError, setShowStaffRoleError] = React.useState('');\n\n\tconst [showAdminStatusError, setShowAdminStatusError] = React.useState('');\n\n\t// Set up Data state and Initial Data\n\tconst initialStaffProfileData: StaffFetchStaffMember = {\n\t\tid: undefined,\n\t\tchildAwareId: undefined,\n\t\tfirstName: undefined,\n\t\tlastName: undefined,\n\t\temail: undefined,\n\t\tprofileImage: undefined,\n\t\tstaffType: undefined,\n\t\tisCurrentStaff: undefined,\n\t\tisOrganisationAdmin: undefined,\n\t\tisYou: undefined,\n\t\tcanUpdate: undefined,\n\n\t\tcertifications: [],\n\t\torganisations: [],\n\t\tcomplaints: [],\n\t\tfeedback: [],\n\t\tincidents: [],\n\t\tpolicies: [],\n\t\tchecklists: [],\n\t\ttrainings: []\n\t};\n\n\tconst [staffProfileData, setStaffProfileData] = React.useState(initialStaffProfileData);\n\n\t// Get the id from params\n\tconst params = useParams();\n\tconst staffId = params.id;\n\n\t// Function to Get staff profile data from api call\n\tconst getStaffProfileData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getStaffProfileData(staffId);\n\n\t\tresponse.result = response.result || initialStaffProfileData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetStaffProfileData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetStaffProfileData();\n\t}, []);\n\n\tconst {\n\t\tid,\n\t\tchildAwareId,\n\t\tprofileImage,\n\t\tfirstName,\n\t\tlastName,\n\t\temail,\n\t\tphoneNumber,\n\t\tdateOfBirth,\n\n\t\tstaffType,\n\t\tisCurrentStaff,\n\t\tisOrganisationAdmin,\n\n\t\tcertifications,\n\t\torganisations,\n\t\tcomplaints,\n\t\tfeedback,\n\t\tincidents,\n\t\tpolicies,\n\t\tchecklists,\n\t\ttrainings,\n\t\treferenceChecks,\n\n\t\tisYou,\n\t\tcanUpdate\n\t} = staffProfileData;\n\n\t// State and Logic to manage Organisation Role\n\tconst [selectedRole, setSelectedRole] = React.useState(staffType);\n\n\tReact.useEffect(() => {\n\t\tsetSelectedRole(staffType);\n\t}, [staffType]);\n\n\tconst assignStaffOrganisationRole = async (id: string, staffType: string) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: StaffStaffTypeCommand = { id, staffType };\n\n\t\tconst response = await apibridge.assignStaffOrganisationRole(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetShowStaffRoleError(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tconst changeRoleHandler = (val: string) => {\n\t\tsetSelectedRole(val);\n\n\t\tassignStaffOrganisationRole(staffId, val);\n\t};\n\n\tconst assignOrganisationAdminStatus = async (id: string, isOrganisationAdmin: boolean | undefined) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: StaffOrganisationAdminCommand = { id, isOrganisationAdmin };\n\n\t\tconst response = await apibridge.assignOrganisationAdminStatus(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetShowAdminStatusError(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tconst isChildawareAdminHandler = () => {\n\t\tsetStaffProfileData((prevState) => ({ ...prevState, isOrganisationAdmin: !isOrganisationAdmin }));\n\n\t\tassignOrganisationAdminStatus(staffId, !isOrganisationAdmin);\n\t};\n\n\tconst [adminTooltipOpen, setAdminTooltipOpen] = React.useState(false);\n\tconst toggleAdminTooltip = () => setAdminTooltipOpen(!adminTooltipOpen);\n\n\t// Maximum number of items per section\n\tconst defaultMaxItems: number = 4;\n\n\t// State to manage Remove Staff Modal\n\tconst [showRemoveStaffModal, setShowRemoveStaffModal] = React.useState(false);\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{/* PROFILE SUMMARY */}\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* ORGANISATION ROLES */}\n\t\t\t\t\t\t\t\t{canUpdate && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t

Organisation role

\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{/* Assign Staff Role */}\n\t\t\t\t\t\t\t\t\t\t\t changeRoleHandler(val)}\n\t\t\t\t\t\t\t\t\t\t\t\tisDisabled={isOrganisationActive === false}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t{!!showStaffRoleError ?
{showStaffRoleError}
: null}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{/* PERMISSION LEVELS */}\n\t\t\t\t\t\t\t\t{canUpdate && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t{/* Remove Staff */}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t

Currently on staff

\n\n\t\t\t\t\t\t\t\t\t\t\t\t setShowRemoveStaffModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t{/* Assign as Leader */}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\tAssign as Leader\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tOrganisation Leaders will be responsible for managing complaints and feedback sent through\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChildAware. They will be listed on the Leadership page for all organisation members to\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsee.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t{!!showAdminStatusError ? (\n\t\t\t\t\t\t\t\t\t\t\t\t
{showAdminStatusError}
\n\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{/* DOCUMENTS */}\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* ORGANISATIONS */}\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* COMPLAINTS */}\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* FEEDBACK */}\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* INCIDENTS REPORT */}\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* POLICIES */}\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* CHECKLISTS*/}\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* TRAINING*/}\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default StaffProfile;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../apibridge';\n\n// UTILS\nimport { listenForOutsideClicks } from '../utils';\n\n// COMPONENTS\nimport CircleImage from './CircleImage';\n\n// ICONS\nimport { ReactComponent as SeachIcon } from '../assets/svg/search.svg';\n\n// TYPES\nexport interface SearchLeadershipTeamTypes {\n\tplaceholder?: string;\n\tonChange?: any;\n\tisFullWidth?: boolean;\n}\n\nimport { LeadershipTeamSearchUserSearchSummary } from '../api/models/leadership-team-search-user-search-summary';\n\nconst SearchLeadershipTeam: React.FC = ({\n\tplaceholder = 'Search...',\n\tonChange,\n\tisFullWidth\n}) => {\n\tconst [query, setQuery] = React.useState('');\n\tconst [searchResults, setSearchResults] = React.useState([]);\n\tconst [hasError, setHasError] = React.useState(false);\n\tconst [isActive, setIsActive] = React.useState(false);\n\n\tconst searchData = async (name: string) => {\n\t\tconst response = await apibridge.searchLeadershipTeamMember(name);\n\n\t\tif (response.result) {\n\t\t\tsetHasError(false);\n\t\t\tsetSearchResults(response.result);\n\t\t} else {\n\t\t\tsetHasError(true);\n\t\t\tsetSearchResults([]);\n\t\t}\n\t};\n\n\tconst onChangeHandler = (e: React.ChangeEvent) => {\n\t\tconst val = e.target.value;\n\n\t\tsetQuery(val);\n\n\t\tif (onChange) {\n\t\t\tonChange(undefined);\n\t\t}\n\n\t\tif (!val) {\n\t\t\tsetIsActive(false);\n\t\t} else {\n\t\t\tsetIsActive(true);\n\t\t\tsearchData(val);\n\t\t}\n\t};\n\n\tconst onClickPostHandler = (item: LeadershipTeamSearchUserSearchSummary) => {\n\t\tsetIsActive(false);\n\t\tsetQuery('');\n\n\t\tif (onChange) {\n\t\t\tonChange(item);\n\t\t}\n\t};\n\n\t// Logic to detect outside click and close search container\n\tconst searchContainerRef = React.useRef(null);\n\tlistenForOutsideClicks(searchContainerRef, isActive, setIsActive);\n\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t\n\t\t\t\t setIsActive(!!query)}\n\t\t\t\t/>\n\t\t\t
\n\n\t\t\t{(hasError || searchResults) && (\n\t\t\t\t\n\t\t\t\t\t
    \n\t\t\t\t\t\t{hasError ? (\n\t\t\t\t\t\t\t
  • No results found
  • \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\tsearchResults.map((item) => {\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t
  • onClickPostHandler(item)} key={item.id} className=\"search-result-item\">\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t{item.firstName}\n\t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t{item.lastName}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    {item.position}
    \n\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default SearchLeadershipTeam;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { LeadershipTeamMembersLeadershipTeamMember, LeadershipTeamUnAssignCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\tmemberDetail?: LeadershipTeamMembersLeadershipTeamMember;\n\tgetLeadershipTeamData: () => Promise;\n\tcloseModal?: closeModalType;\n}\n\nconst RemoveModal: React.FC = ({ memberDetail, getLeadershipTeamData, closeModal }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmRemove = async () => {\n\t\tif (memberDetail && memberDetail.userId) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst data: LeadershipTeamUnAssignCommand = { userId: memberDetail.userId };\n\n\t\t\tconst response = await apibridge.removeLeadershipTeamMember(data);\n\n\t\t\tresponse.result = response.result || [];\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\n\t\t\t\tgetLeadershipTeamData();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove{' '}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t'{memberDetail?.firstName} {memberDetail?.lastName}'?\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default RemoveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport SearchLeadershipTeam from '../../components/SearchLeadershipTeam';\nimport GlobalModal from '../../components/GlobalModal';\nimport RemoveModal from './RemoveModal';\n\n// TYPES\nimport {\n\tLeadershipTeamMembersLeadershipTeamMember,\n\tLeadershipTeamSearchUserSearchSummary,\n\tLeadershipTeamAssignCommand\n} from '../../api/models';\n\nconst LeadershipTeam: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Check if User is Organisation Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to control Modal\n\tconst [showRemoveModal, setShowRemoveModal] = React.useState(false);\n\n\t// State to store Member Id\n\tconst [memberDetail, setMemberDetail] = React.useState({});\n\n\t// Set up Data state\n\tconst [leadershipTeamData, setLeadershipTeamData] = React.useState([]);\n\n\t// function to Get leadership team data from api call\n\tconst getLeadershipTeamData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getLeadershipTeamData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetLeadershipTeamData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetLeadershipTeamData();\n\t}, []);\n\n\tconst removeMemberHandler = async (item: LeadershipTeamMembersLeadershipTeamMember) => {\n\t\tsetMemberDetail(item);\n\n\t\tsetShowRemoveModal(true);\n\t};\n\n\tconst addLeadershipHandler = async (item: LeadershipTeamSearchUserSearchSummary) => {\n\t\tif (item !== undefined && item.id !== undefined) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst data: LeadershipTeamAssignCommand = { userId: item.id };\n\n\t\t\tconst response = await apibridge.addLeadershipTeamMember(data);\n\n\t\t\tresponse.result = response.result || [];\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tgetLeadershipTeamData();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{leadershipTeamData && leadershipTeamData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t

Members

\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t{leadershipTeamData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.firstName} {item.lastName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isCurrentUser && (You)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.position}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t
You have not yet added any Leadership Team Members.
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{isOrganisationAdmin && isOrganisationActive ? (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t

Add a member

\n\n\t\t\t\t\t\t\t\t\t\t addLeadershipHandler(item)}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default LeadershipTeam;\n","var _path, _path2, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgShieldGrey(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M21.1249 3.99762C15.5881 4.79922 14.4901 3.39882 12.0001 1.19922C9.51011 3.39882 8.41211 4.79922 2.87531 3.99762C-0.0754874 18.6952 12.0001 22.7992 12.0001 22.7992C12.0001 22.7992 24.0757 18.6952 21.1249 3.99762Z\",\n fill: \"url(#paint0_linear_2197_34424)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M8 12.3913L10.4242 15L16 9\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_2197_34424\",\n x1: 5.16748,\n y1: 2.12717,\n x2: 17.8909,\n y2: 14.995,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#A7A7A7\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D0CFCF\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgShieldGrey);\nexport default __webpack_public_path__ + \"static/media/shield-grey.3e3b65f7.svg\";\nexport { ForwardRef as ReactComponent };","// placeholder for interfaces that are shared across the whole app\n\nexport interface RouteParams {\n\tid: string;\n}\n\nexport interface Window {\n\tgtag: any;\n\tgrecaptcha: any;\n}\n\nexport enum ExtraDomainProfileType {\n\tParentVolunteer = 'ParentVolunteer'\n}\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as ValidatedIcon } from '../../assets/svg/shield-color.svg';\nimport { ReactComponent as InValidatedIcon } from '../../assets/svg/shield-grey.svg';\nimport { ReactComponent as SeachIcon } from '../../assets/svg/search.svg';\n\n// TYPES\nimport { FamiliesDashboardFamilyMember, DomainProfileType } from '../../api/models';\n\nconst Families: React.FC = () => {\n\t// Check if User is Organisation Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up data state\n\tconst [familiesData, setFamiliesData] = React.useState([]);\n\n\t// Data used to search, it will not be changed and will always remain as its inital set value\n\tconst [originalFamiliesData, setOriginalFamiliesData] = React.useState([]);\n\n\t// function to Get Families data from api call\n\tconst getFamiliesData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getFamiliesData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFamiliesData(response.result);\n\n\t\t\tsetOriginalFamiliesData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetFamiliesData();\n\t}, []);\n\n\tconst parentsData = familiesData.filter(\n\t\t(item) => item.profileType === DomainProfileType.Parent && item.isCurrentMember === true\n\t);\n\n\tconst studentData = familiesData.filter(\n\t\t(item) => item.profileType === DomainProfileType.Student && item.isCurrentMember === true\n\t);\n\n\tconst parentsVolunteersData = parentsData.filter(\n\t\t(item) => item.isVolunteer === true && item.isVolunteerValidated === true && item.isCurrentMember === true\n\t);\n\n\t// State to control active tab and active content\n\tconst [activeTab, setActiveTab] = React.useState('tab1');\n\tconst [searchValue, setSearchValue] = React.useState('');\n\n\t// Filter Function\n\tconst onChangeHandler = (e: React.ChangeEvent) => {\n\t\tconst newSearchValue = e.target.value;\n\n\t\tif (!newSearchValue) {\n\t\t\tsetFamiliesData(originalFamiliesData);\n\t\t} else {\n\t\t\tconst currentOriginalFamiliesData = originalFamiliesData.filter((item) => item.isCurrentMember === true);\n\n\t\t\tconst newSearchResult = currentOriginalFamiliesData.filter(\n\t\t\t\t(data) =>\n\t\t\t\t\t(data.firstName && data.firstName.toLowerCase().includes(newSearchValue.toLowerCase())) ||\n\t\t\t\t\t(data.lastName && data.lastName.toLowerCase().includes(newSearchValue.toLowerCase()))\n\t\t\t);\n\n\t\t\tsetFamiliesData(newSearchResult);\n\t\t}\n\n\t\tsetSearchValue(newSearchValue);\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{activeTab === 'tab1' && (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin &&\n\t\t\t\t\t\t\t\t\t\t\t\tparentsData &&\n\t\t\t\t\t\t\t\t\t\t\t\tparentsData.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\tparentsData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isVolunteerValidated ? : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.firstName} {item.lastName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t{activeTab === 'tab2' && (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin &&\n\t\t\t\t\t\t\t\t\t\t\t\tstudentData &&\n\t\t\t\t\t\t\t\t\t\t\t\tstudentData.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\tstudentData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.firstName} {item.lastName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t{activeTab === 'tab3' && (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin &&\n\t\t\t\t\t\t\t\t\t\t\t\tparentsVolunteersData &&\n\t\t\t\t\t\t\t\t\t\t\t\tparentsVolunteersData.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\tparentsVolunteersData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.firstName} {item.lastName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isVolunteerValidated ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tParent Volunteer\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tParent Volunteer: Validation Required\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default Families;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { FamiliesDisableProfileCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveFamiliesMemberModalTypes {\n\tfamiliesMemberId?: string;\n\tcloseModal?: closeModalType;\n\tgetFamiliesProfileData: () => Promise;\n\tfirstName?: string;\n\tlastName?: string;\n}\n\nconst RemoveFamiliesMemberModal: React.FC = ({\n\tfamiliesMemberId,\n\tcloseModal,\n\tgetFamiliesProfileData,\n\tfirstName,\n\tlastName\n}) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmRemove = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: FamiliesDisableProfileCommand = { id: familiesMemberId };\n\n\t\tconst response = await apibridge.disableFamilyMember(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\thistory.push('/families');\n\n\t\t\tgetFamiliesProfileData();\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove{' '}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t'{firstName} {lastName}'?\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\tOnce removed, you will no longer be able to access their profile.\n\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default RemoveFamiliesMemberModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils/index';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport moment from 'moment';\nimport 'moment/locale/en-au';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { RequestsToJoinReviewCertificationCertificationReview } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface ChildrenCheckModalTypes {\n\tcloseModal?: closeModalType;\n\tdocumentId?: string;\n\tcanUpdate?: boolean;\n\tgetFamiliesProfileData?: () => void;\n}\n\nconst ChildrenCheckModal: React.FC = ({\n\tcloseModal,\n\tdocumentId,\n\tcanUpdate,\n\tgetFamiliesProfileData\n}) => {\n\t// Get all states from Redux store\n\tconst statesList = useAppSelector((state) => state?.lists.states);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up Form Data state and initial Data\n\tconst initialFormData = {\n\t\tid: undefined,\n\t\tcertificationType: undefined,\n\t\treviewType: undefined,\n\t\tdisplayName: undefined,\n\t\tdate: undefined,\n\t\texpiry: undefined,\n\t\tstate: undefined,\n\t\tcountry: undefined,\n\t\tcertificationNumber: undefined,\n\t\tconfirmed: undefined,\n\t\tcited: undefined,\n\t\tattachments: []\n\t};\n\n\tconst [formData, setFormData] = React.useState(initialFormData);\n\n\tconst getDocumentData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getRequestsTojoinReviewCertification(documentId);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (documentId) {\n\t\t\tgetDocumentData();\n\t\t}\n\n\t\tsetIsLoading(false);\n\t}, []);\n\n\t// Submit form data to API\n\tconst submitFormData = async (e: React.MouseEvent) => {\n\t\te.preventDefault();\n\n\t\tsetIsLoading(true);\n\n\t\tif (canUpdate) {\n\t\t\tconst data = {\n\t\t\t\tcertificationReviewId: formData?.id,\n\t\t\t\tcited: formData.cited,\n\t\t\t\tconfirmed: formData.confirmed\n\t\t\t};\n\n\t\t\tconst response = await apibridge.confirmDocumentsCited(data);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\n\t\t\t\tif (getFamiliesProfileData) {\n\t\t\t\t\tgetFamiliesProfileData();\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t state.value === formData.state?.toLowerCase())[0].label\n\t\t\t\t\t\t\t\t\t\t\t\t: ''\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{formData.attachments?.map((file, index) => {\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{file.fileName ? file.fileName : file.id}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tDownload\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t{canUpdate && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t submitFormData(e)}\n\t\t\t\t\t\t\t\t\tclassName=\"btn-primary full-width\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{canUpdate ? 'Save and Close' : 'Close'}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default ChildrenCheckModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport PageName from '../../components/PageName';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport ProfileSummary from '../../components/ProfileSummary';\nimport ProfileLinkedAccounts from '../../components/ProfileLinkedAccounts';\nimport ProfileOrganisations from '../../components/ProfileOrganisations';\nimport ProfileComplaints from '../../components/ProfileComplaints';\nimport ProfileFeedback from '../../components/ProfileFeedback';\nimport ProfileIncidents from '../../components/ProfileIncidents';\nimport ProfilePolicies from '../../components/ProfilePolicies';\nimport ProfileTraining from '../../components/ProfileTraining';\nimport GlobalModal from '../../components/GlobalModal';\nimport RemoveFamiliesMemberModal from './RemoveFamiliesMemberModal';\nimport ChildrenCheckModal from './ChildrenCheckModal';\nimport Button from '../../components/Button';\nimport StatusIcon from '../../components/StatusIcon';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport { FamiliesFetchFamilyMember, DomainProfileType } from '../../api/models';\n\nconst FamiliesProfile: React.FC = () => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// getting the id from params\n\tconst params = useParams();\n\tconst familiesId = params.id;\n\n\t// Set up data state and initial data\n\tconst initialProfileData: FamiliesFetchFamilyMember = {\n\t\tid: undefined,\n\t\tchildAwareId: undefined,\n\t\tprofileImage: undefined,\n\t\tfirstName: undefined,\n\t\tlastName: undefined,\n\t\temail: undefined,\n\t\tprofileType: undefined,\n\t\tcanUpdate: undefined,\n\n\t\tcertifications: [],\n\t\torganisations: [],\n\t\tlinkedAccounts: [],\n\t\tcomplaints: [],\n\t\tfeedback: [],\n\t\tincidents: [],\n\t\tpolicies: [],\n\t\ttrainings: []\n\t};\n\n\tconst [profileData, setProfileData] = React.useState(initialProfileData);\n\n\tconst getFamiliesProfileData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getFamiliesProfileData(familiesId);\n\n\t\tresponse.result = response.result || initialProfileData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetProfileData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetFamiliesProfileData();\n\t}, []);\n\n\tconst {\n\t\tid,\n\t\tchildAwareId,\n\t\tuserId,\n\t\temail,\n\t\tprofileImage,\n\t\tfirstName,\n\t\tlastName,\n\t\tprofileType,\n\n\t\tcertifications,\n\t\tlinkedAccounts,\n\t\torganisations,\n\t\tcomplaints,\n\t\tfeedback,\n\t\tincidents,\n\t\tpolicies,\n\t\ttrainings,\n\n\t\tcanUpdate\n\t} = profileData;\n\n\tconst displayProfileName = (profileType?: string) => {\n\t\tif (profileType === DomainProfileType.Parent) {\n\t\t\treturn 'Parent profile';\n\t\t} else if (profileType === DomainProfileType.Student) {\n\t\t\treturn 'Child profile';\n\t\t} else return 'Profile';\n\t};\n\n\tconst displayProfileRole = (profileType?: string) => {\n\t\tif (profileType === DomainProfileType.Parent) {\n\t\t\treturn <>Parent or Parent Volunteer;\n\t\t} else if (profileType === DomainProfileType.Student) {\n\t\t\treturn <>Child or Student;\n\t\t} else return null;\n\t};\n\n\t// Maximum number of items per section\n\tconst defaultMaxItems: number = 4;\n\n\t//Check if user is a student\n\tconst isStudent = profileType === DomainProfileType.Student;\n\n\t// State to manage Modals\n\tconst [showRemoveFamiliesMemberModal, setShowRemoveFamiliesMemberModal] = React.useState(false);\n\n\tconst [showChildrenCheckModal, setShowChildrenCheckModal] = React.useState(false);\n\n\t// State to manage Document Id\n\tconst [documentId, setDocumentId] = React.useState('');\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* Remove Family Member */}\n\t\t\t\t\t\t\t\t{canUpdate && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t setShowRemoveFamiliesMemberModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{isStudent ? 'Remove Child from Organisation' : 'Remove Parent from Organisation'}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{/* ACCOUNT INFO */}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t

Role

\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
Organisation role
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Role
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{displayProfileRole(profileType)}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t{profileType === DomainProfileType.Parent && certifications && certifications.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t

Documents

\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t{certifications.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{item.displayName}
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.statusLabel}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowChildrenCheckModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetDocumentId(item.id || '');\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t{profileType === DomainProfileType.Parent && (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t{linkedAccounts && linkedAccounts.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

Children

\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{linkedAccounts.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\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t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default FamiliesProfile;\n","import * as React from 'react';\n\ninterface NoInfoMessageTypes {\n\tname?: string;\n\tmessage?: string;\n}\n\nconst NoInfoMessage: React.FC = ({ message, name }) => {\n\treturn
{message ? message : <>There are no {name} at the moment}
;\n};\n\nexport default NoInfoMessage;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport NoInfoMessage from '../../components/NoInfoMessage';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { VisitorsDashboardVisitor } from '../../api/models';\n\nconst Visitors: React.FC = () => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to hold fetch data\n\tconst [visitorsData, setVisitorsData] = React.useState([]);\n\n\tconst userIsAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\tconst getVisitorsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getVisitorsData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetVisitorsData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetVisitorsData();\n\t}, []);\n\n\tconst currentVisitorsData = visitorsData.filter((item) => item.isCurrentMember === true);\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{userIsAdmin && currentVisitorsData && currentVisitorsData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t{currentVisitorsData &&\n\t\t\t\t\t\t\t\t\t\t\t\tcurrentVisitorsData.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\tcurrentVisitorsData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.firstName} {item.lastName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.visitPurpose && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.visitPurpose}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.businessName}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
  • \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default Visitors;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { VisitorsDisableProfileCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveVisitorModalTypes {\n\tvisitorId?: string;\n\tcloseModal?: closeModalType;\n\tgetVisitorsProfileData: () => Promise;\n\tfirstName?: string;\n\tlastName?: string;\n}\n\nconst RemoveVisitorModal: React.FC = ({\n\tvisitorId,\n\tcloseModal,\n\tgetVisitorsProfileData,\n\tfirstName,\n\tlastName\n}) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmRemove = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: VisitorsDisableProfileCommand = { id: visitorId };\n\n\t\tconst response = await apibridge.disableVisitor(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\thistory.push('/visitors');\n\n\t\t\tgetVisitorsProfileData();\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove{' '}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t'{firstName} {lastName}'?\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\tOnce removed, you will no longer be able to access their profile.\n\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default RemoveVisitorModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils/index';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport moment from 'moment';\nimport 'moment/locale/en-au';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { RequestsToJoinReviewCertificationCertificationReview } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface ChildrenCheckModalTypes {\n\tcloseModal?: closeModalType;\n\tdocumentId?: string;\n\tcanUpdate?: boolean;\n\tgetVisitorsProfileData?: () => void;\n}\n\nconst ChildrenCheckModal: React.FC = ({\n\tcloseModal,\n\tdocumentId,\n\tcanUpdate,\n\tgetVisitorsProfileData\n}) => {\n\t// Get all states from Redux store\n\tconst statesList = useAppSelector((state) => state?.lists.states);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up Form Data state and initial Data\n\tconst initialFormData = {\n\t\tid: undefined,\n\t\tcertificationType: undefined,\n\t\treviewType: undefined,\n\t\tdisplayName: undefined,\n\t\tdate: undefined,\n\t\texpiry: undefined,\n\t\tstate: undefined,\n\t\tcountry: undefined,\n\t\tcertificationNumber: undefined,\n\t\tconfirmed: undefined,\n\t\tcited: undefined,\n\t\tattachments: []\n\t};\n\n\tconst [formData, setFormData] = React.useState(initialFormData);\n\n\tconst getDocumentData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getRequestsTojoinReviewCertification(documentId);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (documentId) {\n\t\t\tgetDocumentData();\n\t\t}\n\n\t\tsetIsLoading(false);\n\t}, []);\n\n\t// Submit form data to API\n\tconst submitFormData = async (e: React.MouseEvent) => {\n\t\te.preventDefault();\n\n\t\tsetIsLoading(true);\n\n\t\tif (canUpdate) {\n\t\t\tconst data = {\n\t\t\t\tcertificationReviewId: formData?.id,\n\t\t\t\tcited: formData.cited,\n\t\t\t\tconfirmed: formData.confirmed\n\t\t\t};\n\n\t\t\tconst response = await apibridge.confirmDocumentsCited(data);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\n\t\t\t\tif (getVisitorsProfileData) {\n\t\t\t\t\tgetVisitorsProfileData();\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t state.value === formData.state?.toLowerCase())[0].label\n\t\t\t\t\t\t\t\t\t\t\t\t: ''\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{formData.attachments?.map((file, index) => {\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t{file.fileName ? file.fileName : file.id}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tDownload\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t{canUpdate && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t submitFormData(e)}\n\t\t\t\t\t\t\t\t\tclassName=\"btn-primary full-width\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{canUpdate ? 'Save and Close' : 'Close'}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default ChildrenCheckModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport ProfileSummary from '../../components/ProfileSummary';\nimport ProfileOrganisations from '../../components/ProfileOrganisations';\nimport ProfileComplaints from '../../components/ProfileComplaints';\nimport ProfileFeedback from '../../components/ProfileFeedback';\nimport ProfileIncidents from '../../components/ProfileIncidents';\nimport ProfilePolicies from '../../components/ProfilePolicies';\nimport ProfileTraining from '../../components/ProfileTraining';\nimport GlobalModal from '../../components/GlobalModal';\nimport RemoveVisitorModal from './RemoveVisitorModal';\nimport ChildrenCheckModal from './ChildrenCheckModal';\nimport Button from '../../components/Button';\nimport StatusIcon from '../../components/StatusIcon';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport { VisitorsFetchVisitor } from '../../api/models';\n\nconst VisitorsProfile: React.FC = () => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Getting the Id from Params\n\tconst params = useParams();\n\tconst visitorsId = params.id;\n\n\t// Set up data state and initial data\n\tconst initialProfileData: VisitorsFetchVisitor = {\n\t\tid: undefined,\n\t\tchildAwareId: undefined,\n\t\tprofileImage: undefined,\n\t\tfirstName: undefined,\n\t\tlastName: undefined,\n\t\temail: undefined,\n\t\tvisitPurpose: undefined,\n\t\tbusinessName: undefined,\n\t\tcanUpdate: undefined,\n\n\t\tcertifications: [],\n\t\torganisations: [],\n\t\tcomplaints: [],\n\t\tfeedback: [],\n\t\tincidents: [],\n\t\tpolicies: [],\n\t\ttrainings: []\n\t};\n\n\tconst [profileData, setProfileData] = React.useState(initialProfileData);\n\n\tconst getVisitorsProfileData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getVisitorsProfileData(visitorsId);\n\n\t\tresponse.result = response.result || initialProfileData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetProfileData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetVisitorsProfileData();\n\t}, []);\n\n\tconst {\n\t\tid,\n\t\tchildAwareId,\n\t\temail,\n\t\tprofileImage,\n\t\tfirstName,\n\t\tlastName,\n\t\tvisitPurpose,\n\t\tbusinessName,\n\n\t\tcertifications,\n\t\torganisations,\n\t\tcomplaints,\n\t\tfeedback,\n\t\tincidents,\n\t\tpolicies,\n\t\ttrainings,\n\n\t\tcanUpdate\n\t} = profileData;\n\n\t// Max number of item for each sections\n\tconst defaultMaxItems: number = 4;\n\n\t// State to manage Modals\n\tconst [showRemoveVisitorModal, setShowRemoveVisitorModal] = React.useState(false);\n\n\tconst [showChildrenCheckModal, setShowChildrenCheckModal] = React.useState(false);\n\n\t// State to manage Document Id\n\tconst [documentId, setDocumentId] = React.useState('');\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{/* Remove Visitor */}\n\t\t\t\t\t\t\t\t{canUpdate && (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t setShowRemoveVisitorModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tRemove Visitor from Organisation\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{/* ACCOUNT INFO */}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{businessName ||\n\t\t\t\t\t\t\t\t\t\t(visitPurpose && (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t

Detail

\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t))}\n\n\t\t\t\t\t\t\t\t\t{businessName && (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Business Name
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{businessName}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t{visitPurpose && (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Visit Purpose
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{visitPurpose}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t{/* DOCUMENTS */}\n\t\t\t\t\t\t\t\t{certifications && certifications.length > 0 ? (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t

Documents

\n\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t{certifications.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{item.displayName}
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t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t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default VisitorsProfile;\n","import * as React from 'react';\n\n// PACKAGES\nimport Moment from 'react-moment';\n\n// TYPES\ninterface DisplayTimeFromNowTypes {\n\tchildren?: string | number | Date | moment.Moment;\n}\n\nexport const DisplayTimeFromNow: React.FC = ({ children }) => {\n\treturn (\n\t\t\n\t\t\t{children}\n\t\t\n\t);\n};\n\nexport default DisplayTimeFromNow;\n","import * as React from 'react';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport DisplayTimeFromNow from '../../components/DisplayTimeFromNow';\n\ninterface RequestsToJoinItemTypes {\n\tid?: string;\n\tfirstName?: string;\n\tlastName?: string;\n\timage?: string;\n\torganisationRole?: string[];\n\ttimeRequested?: string;\n\trole: string;\n}\nimport { ExtraDomainProfileType } from '../../Interfaces';\nimport { DomainProfileType } from '../../api/models';\n\nconst RequestsToJoinItem: React.FC = ({\n\tid,\n\tfirstName,\n\tlastName,\n\timage,\n\ttimeRequested,\n\trole\n}) => {\n\treturn (\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{firstName} {lastName}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
Date Requested
\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default RequestsToJoinItem;\n","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgArrowDownWhite(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 12,\n height: 7,\n viewBox: \"0 0 12 7\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.3327 1.33594L5.99935 6.0026L1.66602 1.33594\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgArrowDownWhite);\nexport default __webpack_public_path__ + \"static/media/arrow-down-white.bdc4d968.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// COMPONENTS\nimport RequestsToJoinItem from './RequestsToJoinItem';\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\ninterface RequestsToJoinItemListTypes {\n\trole?: string;\n\tpeopleList?: {\n\t\tid?: string;\n\t\tfirstName?: string;\n\t\tlastName?: string;\n\t\timage?: string;\n\t\torganisationRole?: string[];\n\t\ttimeRequested?: string;\n\t}[];\n}\nimport { ExtraDomainProfileType } from '../../Interfaces';\nimport { DomainProfileType } from '../../api/models';\n\nconst RequestsToJoinItemList: React.FC = ({ role, peopleList }) => {\n\tconst [maxItem, setMaxItem] = React.useState(5);\n\n\tconst displayRoleName = (role: string) => {\n\t\tif (role === DomainProfileType.Staff) {\n\t\t\treturn <>Staff or Volunteer;\n\t\t} else if (role === DomainProfileType.Visitor) {\n\t\t\treturn <>Visitor;\n\t\t} else if (role === DomainProfileType.Parent) {\n\t\t\treturn <>Parent or Parent Volunteer;\n\t\t} else if (role === ExtraDomainProfileType.ParentVolunteer) {\n\t\t\treturn <>Parent Volunteer;\n\t\t} else if (role === DomainProfileType.Student) {\n\t\t\treturn <>Child or Student;\n\t\t} else return role;\n\t};\n\n\tif (peopleList !== undefined) {\n\t\treturn (\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t{displayRoleName(role || '')}\n\t\t\t\t\t{peopleList?.length}\n\t\t\t\t
\n\n\t\t\t\t{peopleList?.slice(0, maxItem).map((people) => {\n\t\t\t\t\tconst { id, firstName, lastName, image, timeRequested } = people;\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t\n\t\t\t\t\t);\n\t\t\t\t})}\n\n\t\t\t\t{maxItem < peopleList.length && (\n\t\t\t\t\t}\n\t\t\t\t\t\tclassName=\"btn-secondary btn-show-more\"\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tonClick={() => setMaxItem(peopleList.length)}\n\t\t\t\t\t>\n\t\t\t\t\t\tShow {peopleList.length - maxItem} more\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t
\n\t\t);\n\t} else {\n\t\treturn null;\n\t}\n};\n\nexport default RequestsToJoinItemList;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport RequestsToJoinItemList from './RequestsToJoinItemList';\nimport NoInfoMessage from '../../components/NoInfoMessage';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { RequestsToJoinPendingRequestsUserJoinRequest } from '../../api/models';\n\nexport interface StaffDataTypes {\n\tid?: string;\n\tfirstName?: string;\n\tlastName?: string;\n\timage?: string;\n\torganisationRole?: string[];\n\ttimeRequested?: string;\n}\n\ninterface CurrentDataTypes {\n\t[key: string]: any[];\n}\n\nconst RequestsToJoin: React.FC = () => {\n\t// Check if User is Organisation Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Data to filter\n\tconst [requestsToJoinData, setRequestsToJoinData] = React.useState(\n\t\t[]\n\t);\n\n\t// data used for ordering the sections.\n\tconst [defaultSectionOrder, setDefaultSectionOrder] = React.useState([]);\n\tconst [dynamicSectionOrder, setDynamicSectionOrder] = React.useState([]);\n\n\t// function to Get staff data from api call\n\tconst getRequestsToJoinData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getRequestsToJoinData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetRequestsToJoinData(response.result);\n\t\t}\n\t};\n\n\t// state to store current data\n\tconst [currentData, setCurrentData] = React.useState({});\n\n\t// filter logic\n\tconst filterData = () => {\n\t\tconst defaultDataOrder: string[] = ['Staff', 'Visitor', 'Parent', 'ParentVolunteer', 'Student'];\n\t\tconst dynamicDataOrder: string[] = [];\n\t\tlet currentData: CurrentDataTypes = {};\n\n\t\trequestsToJoinData.forEach((item) => {\n\t\t\tif (item !== undefined) {\n\t\t\t\tif (item.profileType !== undefined) {\n\t\t\t\t\tif (item.isVolunteerRequest && item.profileType === 'Parent') {\n\t\t\t\t\t\tif (!defaultDataOrder.includes('ParentVolunteer')) {\n\t\t\t\t\t\t\tdefaultDataOrder.push('ParentVolunteer');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (!dynamicDataOrder.includes('ParentVolunteer')) {\n\t\t\t\t\t\t\tdynamicDataOrder.push('ParentVolunteer');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (currentData['ParentVolunteer']) {\n\t\t\t\t\t\t\tcurrentData['ParentVolunteer'].push(item);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcurrentData['ParentVolunteer'] = [];\n\t\t\t\t\t\t\tcurrentData['ParentVolunteer'].push(item);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (!defaultDataOrder.includes(item.profileType)) {\n\t\t\t\t\t\t\tdefaultDataOrder.push(item.profileType);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (!dynamicDataOrder.includes(item.profileType)) {\n\t\t\t\t\t\t\tdynamicDataOrder.push(item.profileType);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (currentData[item.profileType]) {\n\t\t\t\t\t\t\tcurrentData[item.profileType].push(item);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcurrentData[item.profileType] = [];\n\t\t\t\t\t\t\tcurrentData[item.profileType].push(item);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\n\t\tsetCurrentData(currentData);\n\n\t\tif (dynamicSectionOrder.length === 0) {\n\t\t\tsetDefaultSectionOrder(defaultDataOrder);\n\t\t\tsetDynamicSectionOrder(dynamicDataOrder);\n\t\t}\n\t};\n\n\t// Calling data from api and set request to join data from api to requestsToJoinData state\n\tReact.useEffect(() => {\n\t\tgetRequestsToJoinData();\n\t}, []);\n\n\t// filter data once we get the data from api.\n\tReact.useEffect(() => {\n\t\tfilterData();\n\t}, [requestsToJoinData]);\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t{isOrganisationAdmin && requestsToJoinData && requestsToJoinData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{defaultSectionOrder.map((role: string, index) => {\n\t\t\t\t\t\t\t\t\t\t\tif (dynamicSectionOrder.includes(role)) {\n\t\t\t\t\t\t\t\t\t\t\t\tconst peopleList: StaffDataTypes[] = currentData[role] || [];\n\n\t\t\t\t\t\t\t\t\t\t\t\treturn ;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default RequestsToJoin;\n","import * as React from 'react';\nimport Moment from 'react-moment';\n\ninterface DisplayDateExpiryTypes {\n\tchildren?: string | number | Date | moment.Moment;\n}\n\nexport const DisplayDateExpiry: React.FC = ({ children }) => {\n\treturn (\n\t\t\n\t\t\t{children}\n\t\t\n\t);\n};\n\nexport default DisplayDateExpiry;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport FormErrorMessage from '../../components/ErrorMessage';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport DisplayDateExpiry from '../../components/DisplayDateExpiry';\nimport DisplayDate from '../../components/DisplayDate';\n\n// ICONS\nimport { ReactComponent as DownloadIcon } from '../../assets/svg/download.svg';\n\n// TYPES\nimport {\n\tDomainCertificationType,\n\tRequestsToJoinFetchCertification,\n\tRequestsToJoinReviewCertificationCertificationReview\n} from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\nimport { RequiredValidationCertificationsStatus } from './RequestsToJoinDetail';\n\ninterface DetailModalTypes {\n\tmodalDetail: RequestsToJoinFetchCertification;\n\tcloseModal?: closeModalType;\n\trequiredValidationCertificationsStatus: RequiredValidationCertificationsStatus[] | undefined;\n\tsetRequiredValidationCertificationsStatus: React.Dispatch<\n\t\tReact.SetStateAction\n\t>;\n}\n\nconst DetailModal: React.FC = ({\n\tmodalDetail,\n\tcloseModal,\n\trequiredValidationCertificationsStatus,\n\tsetRequiredValidationCertificationsStatus\n}) => {\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState();\n\n\tconst {\n\t\tcertificationTypeDisplayName,\n\t\tcertificationType,\n\t\tstate,\n\t\tcertificationNumber,\n\t\tuserAcknowledgement,\n\t\texpiry,\n\t\tdate,\n\t\tid,\n\t\tattachments\n\t} = modalDetail;\n\n\t// Set up State to get all Certification Detail Data\n\tconst initialCertificationDetail: RequestsToJoinReviewCertificationCertificationReview = {\n\t\tid: undefined,\n\t\tcertificationType: undefined,\n\t\treviewType: undefined,\n\t\tdisplayName: undefined,\n\t\tdate: undefined,\n\t\texpiry: undefined,\n\t\tstate: undefined,\n\t\tcertificationNumber: undefined,\n\t\tconfirmed: undefined,\n\t\torganisation: undefined,\n\t\ttitle: undefined,\n\t\tcited: undefined,\n\t\tattachments: []\n\t};\n\n\tconst [certificationDetail, setCertificationDetail] =\n\t\tReact.useState(initialCertificationDetail);\n\n\tconst getCertificationDetail = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getCertificationDetail(id || '');\n\n\t\tresponse.result = response.result || initialCertificationDetail;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetCertificationDetail(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetCertificationDetail();\n\t}, []);\n\n\t// Find the Id of the registration\n\tconst registrationStatus = requiredValidationCertificationsStatus?.find((item) => item.id === modalDetail.id);\n\n\tconst registrationId = registrationStatus?.id;\n\n\t// Check if the certification is confirmed\n\tconst isCertificationsConfirmed = registrationStatus?.isRegistrationConfirmed;\n\n\t// Submit Logic\n\tconst submitHandler = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tif (certificationType === DomainCertificationType.TeacherRegistration) {\n\t\t\trequiredValidationCertificationsStatus?.forEach((item) => {\n\t\t\t\tif (item.id === registrationId) {\n\t\t\t\t\titem.isRegistrationConfirmed = values.teacherRegistrationConfirmInput;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tsetRequiredValidationCertificationsStatus(requiredValidationCertificationsStatus);\n\t\t}\n\n\t\tif (certificationType === DomainCertificationType.WorkingWithChildrenCheck) {\n\t\t\trequiredValidationCertificationsStatus?.forEach((item) => {\n\t\t\t\tif (item.id === registrationId) {\n\t\t\t\t\titem.isRegistrationConfirmed = values.childrenCheckConfirmInput;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tsetRequiredValidationCertificationsStatus(requiredValidationCertificationsStatus);\n\t\t}\n\n\t\tif (closeModal) {\n\t\t\tcloseModal();\n\t\t}\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\t// isCitedInput: Yup.boolean().required('Required')\n\t});\n\n\tconst initialValues = {\n\t\tcertificationType: certificationDetail.certificationType,\n\t\tteacherRegistrationConfirmInput: isCertificationsConfirmed,\n\t\tchildrenCheckConfirmInput: isCertificationsConfirmed\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{showError ? (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t

{certificationTypeDisplayName}

\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t{certificationType && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Type
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{certificationTypeDisplayName}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{certificationDetail.organisation && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Organisation
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{certificationDetail.organisation}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t{certificationDetail.title && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Title
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{certificationDetail.title}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{state && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
State
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{state}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{certificationNumber && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Number
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{certificationNumber}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{expiry && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Expiry
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{expiry}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{date && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Date
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{date}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{userAcknowledgement &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcertificationType !== DomainCertificationType.VaccinationCertificate && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
Notified Authority
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{userAcknowledgement &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcertificationType === DomainCertificationType.VaccinationCertificate && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
User acknowledged
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t{attachments && attachments.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{/* IMPORTANT NOTE: CLIENT SPECIFICALLY ASKED NOT TO DELETE THESE \"SIGHTED FUNCTIONALITY\" AND\n\t\t\t\t\t\t\t\t\t\t\t\tONLY COMMENT THEM OUT */}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{/*
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
*/}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{certificationType === DomainCertificationType.TeacherRegistration && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{certificationType === DomainCertificationType.WorkingWithChildrenCheck && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{(certificationType === DomainCertificationType.WorkingWithChildrenCheck ||\n\t\t\t\t\t\t\t\t\t\t\t\t\tcertificationType === DomainCertificationType.TeacherRegistration) && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (closeModal) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcloseModal();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tCancel\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default DetailModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// PACKAGES\nimport { useHistory } from 'react-router';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface ApproveModalTypes {\n\tisVolunteer?: boolean;\n\tid?: string;\n\tfirstName?: string;\n\tlastName?: string;\n\tcloseModal?: closeModalType;\n\tconfirmedIdentity: boolean;\n}\n\nconst ApproveModal: React.FC = ({\n\tcloseModal,\n\tisVolunteer,\n\tid,\n\tfirstName,\n\tlastName,\n\tconfirmedIdentity\n}) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmApprove = async () => {\n\t\tsetIsLoading(true);\n\n\t\tif (confirmedIdentity) {\n\t\t\tif (isVolunteer) {\n\t\t\t\tconst response = await apibridge.postRequestsToJoinVolunteerApprove({\n\t\t\t\t\tuserProfileId: id\n\t\t\t\t});\n\n\t\t\t\tif (response.isError) {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tuseUpdateTotalNotification();\n\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\thistory.push('/requests-to-join');\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst response = await apibridge.approveRequestsToJoin({\n\t\t\t\t\tprofileId: id\n\t\t\t\t});\n\n\t\t\t\tif (response.isError) {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tuseUpdateTotalNotification();\n\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\thistory.push('/requests-to-join');\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\treturn;\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tAre you sure you wish to approve{' '}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t'{firstName} {lastName}'\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default ApproveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// PACKAGES\nimport { useHistory } from 'react-router';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface DenyModalTypes {\n\tisVolunteer?: boolean;\n\tid?: string;\n\tfirstName?: string;\n\tlastName?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst DenyModal: React.FC = ({ closeModal, isVolunteer, id, firstName, lastName }) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmDeny = async () => {\n\t\tsetIsLoading(true);\n\n\t\tif (isVolunteer) {\n\t\t\tconst response = await apibridge.postRequestsToJoinVolunteerDeny({\n\t\t\t\tuserProfileId: id\n\t\t\t});\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tuseUpdateTotalNotification();\n\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\thistory.push('/requests-to-join');\n\t\t\t}\n\t\t} else {\n\t\t\tconst response = await apibridge.denyRequestsToJoin({\n\t\t\t\tprofileId: id\n\t\t\t});\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tuseUpdateTotalNotification();\n\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\thistory.push('/requests-to-join');\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tAre you sure you wish to deny{' '}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t'{firstName} {lastName}'\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default DenyModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useParams, useLocation } from 'react-router-dom';\nimport { Tooltip } from 'reactstrap';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport SingleSelect from '../../components/SingleSelect';\nimport CircleImage from '../../components/CircleImage';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport GlobalModal from '../../components/GlobalModal';\nimport DetailModal from './DetailModal';\nimport ApproveModal from './ApproveModal';\nimport DenyModal from './DenyModal';\nimport DisplayTimeFromNow from '../../components/DisplayTimeFromNow';\nimport ProfileLinkedAccounts from '../../components/ProfileLinkedAccounts';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport DisplayDate from '../../components/DisplayDate';\n\n// ICONS\nimport { ReactComponent as InfoIcon } from '../../assets/svg/Information.svg';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport {\n\tRequestsToJoinFetchCertification,\n\tRequestsToJoinFetchProfile,\n\tRequestsToJoinOrganisationAdminCommand,\n\tDomainProfileType,\n\tDomainCertificationType\n} from '../../api/models';\n\nexport interface RequiredValidationCertificationsStatus extends RequestsToJoinFetchCertification {\n\tisRegistrationConfirmed?: boolean;\n}\n\nconst RequestsToJoinDetail: React.FC = () => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// All Error state\n\tconst [showStaffRoleError, setShowStaffRoleError] = React.useState('');\n\n\tconst [showAdminStatusError, setShowAdminStatusError] = React.useState('');\n\n\tconst [showDenyActionError, setShowDenyActionError] = React.useState('');\n\n\tconst [showApproveActionError, setShowApproveActionError] = React.useState('');\n\n\t// Check if volunteer request\n\tconst { state } = useLocation();\n\tconst isVolunteer = state && state.volunteer;\n\tconst isStaff = state && state.isStaff;\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Get all Staff types from Redux store\n\tconst staffTypes = useAppSelector((state) => state.lists.staffTypes);\n\n\tconst initialDetailData: RequestsToJoinFetchProfile = {\n\t\tid: undefined,\n\t\tprofileImage: undefined,\n\t\tfirstName: undefined,\n\t\tlastName: undefined,\n\t\tdateOfBirth: undefined,\n\t\temail: undefined,\n\t\trequested: undefined,\n\t\tcanUpdate: undefined,\n\n\t\tstaffType: undefined,\n\t\tisOrganisationAdmin: undefined,\n\n\t\tlinkedAccounts: [],\n\t\tcertifications: []\n\t};\n\n\tconst [profileData, setProfileData] = React.useState(initialDetailData);\n\n\t// getting the id\n\tconst params = useParams();\n\tconst requestToJoinId = params.id;\n\n\t// function to Get staff profile data from api call\n\tconst getRequestsToJoinDetailData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getRequestsToJoinDetailData(requestToJoinId);\n\n\t\tresponse.result = response.result || initialDetailData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetProfileData(response.result);\n\t\t}\n\t};\n\n\t// Setting data getting from api to profileData state\n\tReact.useEffect(() => {\n\t\tgetRequestsToJoinDetailData();\n\t}, []);\n\n\tconst {\n\t\tid,\n\t\tprofileImage,\n\t\tfirstName,\n\t\tlastName,\n\t\tdateOfBirth,\n\t\temail,\n\t\tphoneNumber,\n\t\trequested,\n\t\tcanUpdate,\n\n\t\tstaffType,\n\t\tisOrganisationAdmin,\n\t\tprofileType,\n\n\t\tlinkedAccounts,\n\t\tcertifications\n\t} = profileData;\n\n\tconst [adminTooltipOpen, setAdminTooltipOpen] = React.useState(false);\n\tconst toggleAdminTooltip = () => setAdminTooltipOpen(!adminTooltipOpen);\n\n\t// State and Logic to manage Organisation Role\n\tconst [selectedRole, setSelectedRole] = React.useState(staffType);\n\n\tReact.useEffect(() => {\n\t\tsetSelectedRole(staffType);\n\t}, [staffType]);\n\n\tconst assignRequestsToJoinOrganisationRole = async (id: string, staffType: string) => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.assignRequestsToJoinOrganisationRole({ id, staffType });\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetShowStaffRoleError(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tconst changeRoleHandler = (val: string) => {\n\t\tsetSelectedRole(val);\n\n\t\tassignRequestsToJoinOrganisationRole(requestToJoinId, val);\n\t};\n\n\t// State and Logic to manage isOrganisationAdmin\n\tconst [isChildawareAdmin, setIsChildawareAdmin] = React.useState(isOrganisationAdmin);\n\n\tReact.useEffect(() => {\n\t\tsetIsChildawareAdmin(isOrganisationAdmin);\n\t}, [isOrganisationAdmin]);\n\n\tconst assignRequestsToJoinOrganisationAdminStatus = async (id: string, isOrganisationAdmin: boolean | undefined) => {\n\t\tconst data: RequestsToJoinOrganisationAdminCommand = {\n\t\t\tprofileId: id,\n\t\t\tisOrganisationAdmin\n\t\t};\n\n\t\tconst response = await apibridge.assignRequestsToJoinOrganisationAdminStatus(data);\n\n\t\tif (response.isError) {\n\t\t\tsetShowAdminStatusError(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t}\n\t};\n\n\tconst isChildawareAdminHandler = () => {\n\t\tsetIsLoading(true);\n\n\t\tsetIsChildawareAdmin(!isChildawareAdmin);\n\n\t\tassignRequestsToJoinOrganisationAdminStatus(requestToJoinId, !isChildawareAdmin);\n\n\t\tsetIsLoading(false);\n\t};\n\n\t// State to manage Modal\n\tconst [showDetailModal, setShowDetailModal] = React.useState(false);\n\tconst [showApproveModal, setShowApproveModal] = React.useState(false);\n\tconst [showDenyModal, setShowDenyModal] = React.useState(false);\n\n\tconst [modalDetail, setModalDetail] = React.useState({});\n\n\tconst detailModalControl = (item: RequestsToJoinFetchCertification) => {\n\t\tif (item !== undefined) {\n\t\t\tsetModalDetail(item);\n\n\t\t\tsetShowDetailModal(true);\n\t\t}\n\t};\n\n\t// Confirm Identity validation\n\tconst [identityConfirmed, setIdentityConfirmed] = React.useState(false);\n\n\tReact.useEffect(() => {\n\t\t!isStaff && setIdentityConfirmed(true);\n\t}, []);\n\n\t// Function to decide if a document need attention or not\n\tconst isActionRequired = (item: any) => {\n\t\tif (\n\t\t\titem.certificationType === DomainCertificationType.WorkingWithChildrenCheck &&\n\t\t\titem.isRegistrationConfirmed === false\n\t\t) {\n\t\t\treturn true;\n\t\t} else if (\n\t\t\titem.certificationType === DomainCertificationType.TeacherRegistration &&\n\t\t\titem.isRegistrationConfirmed === false\n\t\t) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\t// Logic to check if there is Working With Children Check or Teacher Registration in the certification from backend, and if yes each needs to be validated by using the disabled condition in the Approve Button.\n\tconst workingWithChildrenCheckCertificate = certifications?.filter(\n\t\t(item) => item.certificationType === DomainCertificationType.WorkingWithChildrenCheck\n\t);\n\n\tconst isWorkingWithChildrenCheckPresent =\n\t\tworkingWithChildrenCheckCertificate && workingWithChildrenCheckCertificate.length > 0;\n\n\tconst teacherRegistrationCertificate = certifications?.filter(\n\t\t(item) => item.certificationType === DomainCertificationType.TeacherRegistration\n\t);\n\n\tconst isTeacherRegistrationPresent = teacherRegistrationCertificate && teacherRegistrationCertificate.length > 0;\n\n\t// Separate Teacher Registration and Working With Children Checks from other Certifications\n\tconst otherCertifications = certifications?.filter(\n\t\t(item) =>\n\t\t\titem.certificationType !== DomainCertificationType.TeacherRegistration &&\n\t\t\titem.certificationType !== DomainCertificationType.WorkingWithChildrenCheck\n\t);\n\n\tconst requiredValidationCertifications = certifications?.filter(\n\t\t(item) =>\n\t\t\titem.certificationType === DomainCertificationType.TeacherRegistration ||\n\t\t\titem.certificationType === DomainCertificationType.WorkingWithChildrenCheck\n\t);\n\n\t// Add in isRegistrationConfirmed value pair to the initial requiredValidationCertificationsStatus\n\tconst requiredValidationInitialStatus = requiredValidationCertifications?.map((item) => {\n\t\treturn {\n\t\t\t...item,\n\t\t\tisRegistrationConfirmed: false\n\t\t};\n\t});\n\n\t// State to control the isRegistrationConfirmed\n\tconst [requiredValidationCertificationsStatus, setRequiredValidationCertificationsStatus] = React.useState<\n\t\tRequiredValidationCertificationsStatus[] | undefined\n\t>(requiredValidationInitialStatus);\n\n\tReact.useEffect(() => {\n\t\tsetRequiredValidationCertificationsStatus(requiredValidationInitialStatus);\n\t}, [certifications]);\n\n\tconst areAllTeacherRegistrationConfirmed = () => {\n\t\tif (\n\t\t\trequiredValidationCertificationsStatus &&\n\t\t\trequiredValidationCertificationsStatus?.filter((item) => item.isRegistrationConfirmed === false).length > 0\n\t\t) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\treturn true;\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\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t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t{/* ORGANISATION ROLES */}\n\n\t\t\t\t\t\t\t\t\t{canUpdate && isStaff && (\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t changeRoleHandler(val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\tisDisabled={isOrganisationActive === false}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t{!!showStaffRoleError ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
{showStaffRoleError}
\n\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t{/* LEADER PERMISSION */}\n\t\t\t\t\t\t\t\t\t{canUpdate &&\n\t\t\t\t\t\t\t\t\t\tisStaff &&\n\t\t\t\t\t\t\t\t\t\t(profileType === DomainProfileType.SuperAdministrator ||\n\t\t\t\t\t\t\t\t\t\t\tprofileType === DomainProfileType.Staff) && (\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t

Assign Leader Permissions

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

You can also edit this later on their staff profile page.

\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign as Leader\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tOrganisation Leaders will be responsible for managing complaints and feedback sent\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tthrough ChildAware. They will be listed on the Leadership page for all organisation\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmembers to see.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{!!showAdminStatusError ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{showAdminStatusError}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{/* Teacher Registration and WWCC Certification */}\n\t\t\t\t\t\t\t\t\t\t{requiredValidationCertificationsStatus && requiredValidationCertificationsStatus.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{requiredValidationCertificationsStatus.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.certificationTypeDisplayName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{item.summary}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t detailModalControl(item)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isActionRequired(item) ? 'Action required' : 'View details'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{/* Other Certifications */}\n\t\t\t\t\t\t\t\t\t\t{otherCertifications && otherCertifications.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{otherCertifications.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.certificationTypeDisplayName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{item.summary}
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t detailModalControl(item)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isActionRequired(item) ? 'Action required' : 'View details'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t{canUpdate && isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t{isStaff && (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t setShowApproveModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{isVolunteer ? 'Approve Volunteer' : 'Approve member'}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
\n\n\t\t\t\t\t\t\t\t\t\t\t{!!showDenyActionError ? (\n\t\t\t\t\t\t\t\t\t\t\t\t
{showDenyActionError}
\n\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t{!!showApproveActionError ? (\n\t\t\t\t\t\t\t\t\t\t\t\t
{showApproveActionError}
\n\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default RequestsToJoinDetail;\n","import * as React from 'react';\n\n// COMPONENTS\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as LinkIcon } from '../../assets/svg/link.svg';\n\n// TYPES\nimport { DomainProfileType } from '../../api/models';\n\ninterface InviteItemTypes {\n\trole?: string;\n\torganisationIdentifier?: string;\n}\n\nconst InviteItem: React.FC = ({ role, organisationIdentifier }) => {\n\tconst displayRole = (role: string) => {\n\t\tif (role === DomainProfileType.Staff) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t

\n\t\t\t\t\t\tInvite a Staff or Volunteer{' '}\n\t\t\t\t\t

\n\n\t\t\t\t\t

\n\t\t\t\t\t\tAny person 18+ years of age, with an official role at the organisation, paid or unpaid.\n\t\t\t\t\t

\n\t\t\t\t\n\t\t\t);\n\t\t} else if (role === DomainProfileType.Parent) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t

\n\t\t\t\t\t\tInvite a Parent or Parent Volunteer{' '}\n\t\t\t\t\t

\n\n\t\t\t\t\t

Includes carers or guardians.

\n\t\t\t\t\n\t\t\t);\n\t\t} else if (role === DomainProfileType.Student) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t

\n\t\t\t\t\t\tInvite a Child or Student{' '}\n\t\t\t\t\t

\n\n\t\t\t\t\t

13yrs+ years of age, including children or youth working, volunteering or studying.

\n\t\t\t\t\n\t\t\t);\n\t\t} else if (role === DomainProfileType.Visitor) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t

\n\t\t\t\t\t\tInvite a Visitor{' '}\n\t\t\t\t\t

\n\n\t\t\t\t\t

Any other adult visiting the organisation

\n\t\t\t\t\n\t\t\t);\n\t\t} else {\n\t\t\treturn (\n\t\t\t\t

\n\t\t\t\t\tInvite a {role.substring(0, 1).toUpperCase() + role.substring(1)}\n\t\t\t\t

\n\t\t\t);\n\t\t}\n\t};\n\n\tconst [copySuccess, setCopySuccess] = React.useState('');\n\n\tconst copyToClipBoard = async (copiedText: string) => {\n\t\ttry {\n\t\t\tawait navigator.clipboard.writeText(window.location.origin + copiedText);\n\t\t\tsetCopySuccess('Link Copied!');\n\t\t\tsetTimeout(() => {\n\t\t\t\tsetCopySuccess('');\n\t\t\t}, 3000);\n\t\t} catch (err) {\n\t\t\tsetCopySuccess('Failed to copy!');\n\t\t}\n\t};\n\n\treturn (\n\t\t
\n\t\t\t
{displayRole(role || '')}
\n\n\t\t\t\n\t\t\t\t\tcopyToClipBoard(`/find-organisation?id=${organisationIdentifier}&type=${(role && role.toLowerCase()) || ''}`)\n\t\t\t\t}\n\t\t\t\ttype=\"button\"\n\t\t\t\tclassName=\"btn-secondary\"\n\t\t\t>\n\t\t\t\t{copySuccess ? (\n\t\t\t\t\t<>{copySuccess}\n\t\t\t\t) : (\n\t\t\t\t\t<>\n\t\t\t\t\t\t\n\t\t\t\t\t\tCopy link\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default InviteItem;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport InviteItem from './InviteItem';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// IMAGES\nimport FallbackImage from '../../assets/svg/image-fallback-square.svg';\n\n// TYPES\nimport { InviteInviteLinksInviteDetails, AccountUserUserProfile as OrganisationItemType } from '../../api/models';\n\nconst InviteToJoin: React.FC = () => {\n\tconst user = useAppSelector((state) => state.user);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Set up Data state\n\tconst [activeOrganisation, setActiveOrganisation] = React.useState({});\n\n\tconst [inviteToJoinsData, setInviteToJoins] = React.useState({});\n\n\tconst { organisationIdentifier, availableRoles } = inviteToJoinsData;\n\n\tconst getInviteToJoinsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getInviteToJoinsData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetInviteToJoins(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (user.activeProfileId && user.profiles) {\n\t\t\tgetInviteToJoinsData();\n\n\t\t\tsetActiveOrganisation(user.profiles?.filter((profile) => profile.id === user.activeProfileId)[0]);\n\t\t}\n\t}, [user]);\n\n\t// Set up fall back image\n\tconst [imageSrc, setImageSrc] = React.useState(\n\t\tactiveOrganisation ? activeOrganisation.image : FallbackImage\n\t);\n\n\tReact.useEffect(() => {\n\t\tsetImageSrc((activeOrganisation && activeOrganisation.image) || FallbackImage);\n\t}, [activeOrganisation && activeOrganisation.image]);\n\n\treturn (\n\t\t
\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
{formErrorMessage}
\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tif (imageSrc !== FallbackImage) {\n\t\t\t\t\t\t\t\t\t\t\tsetImageSrc(FallbackImage);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t

Invite staff, families or visitors to join

\n\n\t\t\t\t\t\t\t\t

{activeOrganisation?.name}

\n\n\t\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\t\tSelect the role the invitee should join as, copy the link and send via email or SMS.\n\t\t\t\t\t\t\t\t

\n\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t{isOrganisationActive &&\n\t\t\t\t\t\t\t\t\t\tavailableRoles &&\n\t\t\t\t\t\t\t\t\t\tavailableRoles.length > 0 &&\n\t\t\t\t\t\t\t\t\t\tavailableRoles.map((role, index) => {\n\t\t\t\t\t\t\t\t\t\t\treturn ;\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default InviteToJoin;\n","var _g, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgTrainingIcon(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 73,\n viewBox: \"0 0 72 73\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n clipPath: \"url(#clip0_7458_22784)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M35.9999 10.4359L65.8325 4.52858C66.4532 4.39322 67.0962 4.39651 67.7154 4.53821C68.3346 4.67991 68.9146 4.95649 69.4138 5.34809C69.9129 5.73968 70.3187 6.23655 70.602 6.80298C70.8854 7.36942 71.0392 7.99135 71.0525 8.62407V59.176C71.042 60.1536 70.6902 61.097 70.0575 61.8443C69.4248 62.5916 68.5507 63.0962 67.5852 63.2715L35.9999 69.5563L4.41463 63.2998C3.44435 63.1236 2.56652 62.6149 1.93325 61.8617C1.29998 61.1086 0.951173 60.1585 0.947266 59.176V8.62407C0.960553 7.99135 1.1144 7.36942 1.39775 6.80298C1.68111 6.23655 2.08692 5.73968 2.58603 5.34809C3.08515 4.95649 3.66515 4.67991 4.28437 4.53821C4.90358 4.39651 5.54662 4.39322 6.16727 4.52858L35.9999 10.4359Z\",\n stroke: \"url(#paint0_linear_7458_22784)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M36.227 56.4582C45.5822 56.4582 53.166 48.9041 53.166 39.5856C53.166 30.267 45.5822 22.7129 36.227 22.7129C26.8719 22.7129 19.2881 30.267 19.2881 39.5856C19.2881 48.9041 26.8719 56.4582 36.227 56.4582Z\",\n stroke: \"url(#paint1_linear_7458_22784)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M31.9922 46.6158V32.5647L44.6964 39.5855L31.9922 46.6158Z\",\n stroke: \"url(#paint2_linear_7458_22784)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M35.9995 11.0493L35.8574 22.7224\",\n stroke: \"url(#paint3_linear_7458_22784)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M35.9995 57.2888L35.8574 68.9619\",\n stroke: \"url(#paint4_linear_7458_22784)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_7458_22784\",\n x1: 11.0238,\n y1: 7.22733,\n x2: 48.6055,\n y2: 53.307,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint1_linear_7458_22784\",\n x1: 24.1575,\n y1: 24.1626,\n x2: 43.859,\n y2: 46.6917,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint2_linear_7458_22784\",\n x1: 33.8182,\n y1: 33.1683,\n x2: 42.092,\n y2: 41.6891,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint3_linear_7458_22784\",\n x1: 35.8778,\n y1: 11.5508,\n x2: 36.0685,\n y2: 11.5534,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint4_linear_7458_22784\",\n x1: 35.8778,\n y1: 57.7903,\n x2: 36.0685,\n y2: 57.7929,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"clip0_7458_22784\"\n }, /*#__PURE__*/React.createElement(\"rect\", {\n width: 72,\n height: 72,\n fill: \"white\",\n transform: \"translate(0 0.5)\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgTrainingIcon);\nexport default __webpack_public_path__ + \"static/media/training-icon.dc68616a.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\n\n// ICONS\nimport { ReactComponent as ArrowDownIcon } from '../assets/svg/arrow-down-white.svg';\n\nexport interface AccordionTypes {\n\theading?: string;\n\tcontent?: string;\n\tcolorCode?: string;\n\tredirectLink?: string;\n}\n\nconst Accordion: React.FC = ({ heading, content, colorCode, redirectLink }) => {\n\tconst [isActive, setIsActive] = React.useState(false);\n\n\treturn (\n\t\t
  • \n\t\t\t
    setIsActive(!isActive)}>\n\t\t\t\t

    {heading}

    \n\t\t\t\t\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t{content}\n\n\t\t\t\t\t\n\t\t\t\t\t\tRead more\n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\t\t
  • \n\t);\n};\n\nexport default Accordion;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Accordion from '../../components/Accordion';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport NoInfoMessage from '../../components/NoInfoMessage';\n\n// TYPES\nimport { ChildSafeStandardUserDashboardChildSafeStandard } from '../../api/models';\n\nconst ChildSafeStandards: React.FC = () => {\n\t// Getting color list from redux store\n\tconst childSafeStandardColors = useAppSelector((state) => state.lists.childSafeStandardColors);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to hold fetch data\n\tconst [childSafeStandardsData, setChildSafeStandardsData] = React.useState<\n\t\tChildSafeStandardUserDashboardChildSafeStandard[]\n\t>([]);\n\n\tconst getChildSafeStandardsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getChildSafeStandardsData();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetChildSafeStandardsData(response.result);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetChildSafeStandardsData();\n\t}, []);\n\n\t// Reorder Data\n\tconst reorderData = (data: ChildSafeStandardUserDashboardChildSafeStandard[]) => {\n\t\tconst orderedData = data.sort((a, b) => {\n\t\t\tconst orderA = a.order || 1;\n\t\t\tconst orderB = b.order || -1;\n\t\t\treturn orderA < orderB ? -1 : orderA > orderB ? 1 : 0;\n\t\t});\n\n\t\tsetChildSafeStandardsData(orderedData);\n\t};\n\n\tReact.useEffect(() => {\n\t\treorderData(childSafeStandardsData);\n\t}, [childSafeStandardsData]);\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tThe Child Safe Standards are a set of standards that all child-related organisations must meet if\n\t\t\t\t\t\t\t\t\t\tthey are to be considered child-safe. Click on the coloured buttons below to find out more about\n\t\t\t\t\t\t\t\t\t\teach standard and actions your organisation can take to be child-safe.\n\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t{childSafeStandardsData && childSafeStandardsData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\tchildSafeStandardsData.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default ChildSafeStandards;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { ChildSafeStandardFetchChildSafeStandard } from '../../api/models/';\nimport { RouteParams } from '../../Interfaces';\n\nconst ChildSafeStandardsDetail: React.FC = () => {\n\t// Getting the Id from params\n\tconst params = useParams();\n\tconst childSafeStandardId = params.id;\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Initial Data for state\n\tconst initialData: ChildSafeStandardFetchChildSafeStandard = {\n\t\tid: undefined,\n\t\ttitle: undefined,\n\t\tdescription: undefined,\n\t\tpageContent: ''\n\t};\n\n\tconst [childSafetyStandardsDetailData, setChildSafetyStandardsDetailData] =\n\t\tReact.useState(initialData);\n\n\tconst getChildSafetyStandardDetailData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getChildSafeStandardsDetailData(childSafeStandardId);\n\n\t\tresponse.result = response.result || initialData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetChildSafetyStandardsDetailData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetChildSafetyStandardDetailData();\n\t}, []);\n\n\tconst { title, description, pageContent } = childSafetyStandardsDetailData;\n\n\tconst decodedpageContent = decodeURIComponent(pageContent || '');\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t

    Child Safe Standard

    \n\n\t\t\t\t\t\t\t\t

    {title}

    \n\n\t\t\t\t\t\t\t\t

    {description}

    \n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default ChildSafeStandardsDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n//UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport SingleSelect from '../../components/SingleSelect';\nimport DateInput from '../../components/DateInput';\nimport DateDayExpiryInput from '../../components/DateDayExpiryInput';\nimport FileUpload from '../../components/FileUpload';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport FilesList from '../../components/FilesList';\n\n//TYPES\nimport { TrainingAdditionalTrainingEditCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface AddAdditionalTrainingModalTypes {\n\ttrainingId?: string;\n\tcloseModal?: closeModalType;\n\tgetUserTrainingData?: () => {};\n}\n\nconst AddAdditionalTrainingModal: React.FC = ({\n\ttrainingId,\n\tcloseModal,\n\tgetUserTrainingData\n}) => {\n\t// Get all Additional Training Types from Redux store\n\tconst additionalTrainingTypes = useAppSelector((state) => state.lists.additionalTrainingTypes);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(!!trainingId);\n\n\t// Set up Data state and initial Data\n\tconst initialAddAdditionalTraining: TrainingAdditionalTrainingEditCommand = {\n\t\tid: undefined,\n\t\ttype: undefined,\n\t\tother: undefined,\n\t\tdateOfTraining: undefined,\n\t\texpiry: undefined,\n\t\tdescription: undefined,\n\t\tfileName: undefined,\n\t\tdisplayFileName: undefined,\n\t\tattachmentUrl: undefined\n\t};\n\n\tconst [addAdditionalTraining, setAddAdditionalTraining] = React.useState(initialAddAdditionalTraining);\n\n\tconst getAdditionalTrainingDetail = async () => {\n\t\tif (trainingId) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getAdditionalTrainingDetail(trainingId);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetAddAdditionalTraining(response.result);\n\n\t\t\t\tsetIsLoading(false);\n\t\t\t}\n\t\t} else {\n\t\t\tsetAddAdditionalTraining(initialAddAdditionalTraining);\n\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetAdditionalTrainingDetail();\n\t}, []);\n\n\tconst submitHandler = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: TrainingAdditionalTrainingEditCommand = {\n\t\t\tid: addAdditionalTraining.id,\n\t\t\ttype: values.typeInput,\n\t\t\tother: values.otherInput,\n\t\t\tdateOfTraining: values.dateOfTrainingInput,\n\t\t\texpiry: values.expiryInput,\n\t\t\tdescription: values.descriptionInput,\n\t\t\tfileName: values.fileName,\n\t\t\tdisplayFileName: values.displayFileName,\n\t\t\tattachmentUrl: values.attachmentUrl\n\t\t};\n\n\t\tconst response = await apibridge.postTrainingAdditionalTrainingEdit(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tif (getUserTrainingData) {\n\t\t\t\tgetUserTrainingData();\n\t\t\t}\n\t\t}\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\ttypeInput: Yup.string().required('Required'),\n\t\totherInput: Yup.string().when('typeInput', {\n\t\t\tis: 'Other',\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\tdateOfTrainingInput: Yup.string().required('Required'),\n\t\tdescriptionInput: Yup.string().required('Required')\n\t});\n\n\tconst initialValues = {\n\t\ttypeInput: addAdditionalTraining.type || '',\n\t\totherInput: addAdditionalTraining.other || '',\n\t\tdateOfTrainingInput: addAdditionalTraining.dateOfTraining || '',\n\t\texpiryInput: addAdditionalTraining.expiry || '',\n\t\tdescriptionInput: addAdditionalTraining.description || '',\n\t\tfileName: addAdditionalTraining.fileName,\n\t\tdisplayFileName: addAdditionalTraining.displayFileName,\n\t\tattachmentUrl: addAdditionalTraining.attachmentUrl\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('typeInput', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t{formik.values.typeInput === 'Other' && (\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('dateOfTrainingInput', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\texcludeFuture={true}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('expiryInput', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\texcludePast={true}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('displayFileName', '');\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmultiple={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfiles={\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t!formik.values.displayFileName\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? []\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tid: formik.values.displayFileName,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisplayFileName: formik.values.displayFileName,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlink: formik.values.attachmentUrl\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t ]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('fileName', val);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default AddAdditionalTrainingModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { ErrorMessage, Field, Form, Formik } from 'formik';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport DateInput from '../../components/DateInput';\nimport SingleSelect from '../../components/SingleSelect';\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { TrainingEditCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface EditDeadlineModalTypes {\n\titem?: TrainingEditCommand;\n\tcloseModal?: closeModalType;\n\tgetTrainingData?: () => {};\n}\n\ninterface formTypes {\n\tdeadlineType?: string;\n\tfixedDate?: string;\n\ttimeFrom?: string;\n}\n\nconst EditDeadlineModal: React.FC = ({ item, closeModal, getTrainingData }) => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Get all Training Timeframes from Redux store\n\tconst trainingTimeFrames = useAppSelector((state) => state.lists.trainingTimeFrames);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\t// Initial Values\n\tconst initialFormValues: formTypes = {\n\t\tdeadlineType: item!.deadlineTimeFrameType ? 'timeFrom' : item!.deadlineDate ? 'fixed' : 'none',\n\t\tfixedDate: item!.deadlineDate || '',\n\t\ttimeFrom: item!.deadlineTimeFrameType || ''\n\t};\n\n\tconst formValidation = Yup.object({\n\t\tfixedDate: Yup.string().when('deadlineType', { is: 'fixed', then: Yup.string().required('Required') }),\n\t\ttimeFrom: Yup.string().when('deadlineType', { is: 'timeFrom', then: Yup.string().required('Required') })\n\t});\n\n\t// Submit form to api\n\tconst submitFormData = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: TrainingEditCommand = {\n\t\t\tid: item!.id,\n\t\t\tprofileType: item!.profileType,\n\t\t\tdeadlineDate: values.deadlineType === 'fixed' ? values.fixedDate : '',\n\t\t\tdeadlineTimeFrameType: values.deadlineType === 'timeFrom' ? values.timeFrom : ''\n\t\t};\n\n\t\tconst response = await apibridge.postTrainingEdit(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tif (getTrainingData) {\n\t\t\t\tgetTrainingData();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Set completion deadline

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\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t\t\t\t\t\t\t\t\t\t\tUpdate\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default EditDeadlineModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\tassignedTrainingId: string;\n\tassignedTrainingTitle: string;\n\tgetTrainingData: () => Promise;\n\tcloseModal?: closeModalType;\n}\n\nconst RemoveModal: React.FC = ({\n\tassignedTrainingId,\n\tassignedTrainingTitle,\n\tgetTrainingData,\n\tcloseModal\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmRemove = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.postTrainingRemove({\n\t\t\tid: assignedTrainingId\n\t\t});\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetTrainingData();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove '{assignedTrainingTitle}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default RemoveModal;\n","var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgSwitchUser(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 48,\n height: 48,\n viewBox: \"0 0 48 48\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M30.8261 24H41.1736C42.7346 24 44 25.2566 44 26.8068V35H28V26.8068C28 25.2566 29.2654 24 30.8264 24H30.8261Z\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeMiterlimit: 10,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M40 16.5C40 18.433 38.433 20 36.5 20C34.567 20 33 18.433 33 16.5C33 14.567 34.567 13 36.5 13C38.433 13 40 14.567 40 16.5Z\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeMiterlimit: 10,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M5.82609 24H16.1736C17.7346 24 19 25.2566 19 26.8068V35H3V26.8068C3 25.2566 4.26539 24 5.82643 24H5.82609Z\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeMiterlimit: 10,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14 16.5C14 18.433 12.433 20 10.5 20C8.56698 20 7 18.433 7 16.5C7 14.567 8.56698 13 10.5 13C12.433 13 14 14.567 14 16.5Z\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeMiterlimit: 10,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 8L14 6.94007L14.9681 3\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeMiterlimit: 10,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M33 7C27.2298 3.05529 19.8171 2.99916 14 6.84109\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeMiterlimit: 10,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M30 40L33 41.0599L32.0316 45\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeMiterlimit: 10,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path8 || (_path8 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M14 41C19.7702 44.9447 27.1829 45.0008 33 41.1589\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeMiterlimit: 10,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgSwitchUser);\nexport default __webpack_public_path__ + \"static/media/switch-user.207e99b1.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as TrainingIcon } from '../../assets/svg/training-icon.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\nimport { DomainTrainingProfileType, TrainingEditCommand } from '../../api/models';\n\ninterface AssignTrainingModalTypes {\n\tassignedTrainingId: string;\n\tassignedTrainingTitle: string;\n\tgetTrainingData: () => Promise;\n\tprofileType: DomainTrainingProfileType;\n\tsetActiveTab: React.Dispatch>;\n\tcloseModal?: closeModalType;\n}\n\nconst AssignTrainingModal: React.FC = ({\n\tassignedTrainingId,\n\tassignedTrainingTitle,\n\tgetTrainingData,\n\tprofileType,\n\tsetActiveTab,\n\tcloseModal\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmAssignTraining = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: TrainingEditCommand = {\n\t\t\tmoduleIds: [assignedTrainingId],\n\t\t\tprofileType\n\t\t};\n\n\t\tconst response = await apibridge.postTrainingEdit(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tawait getTrainingData();\n\n\t\t\tsetActiveTab(profileType);\n\n\t\t\tif (closeModal) closeModal();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tYou are about to assign the '{assignedTrainingTitle}' training module to the{' '}\n\t\t\t\t\t\t\t\t\t{profileType} group.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tPlease confirm you have viewed the training module(s) and have determined that its contents are\n\t\t\t\t\t\t\t\t\tappropriate for the group to which it is being assigned.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default AssignTrainingModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as TrainingIcon } from '../../assets/svg/training-icon.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\nimport { DomainTrainingProfileType, TrainingEditCommand } from '../../api/models';\n\ninterface AssignAllTrainingModalTypes {\n\tassignedTrainingIdArray: string[];\n\tgetTrainingData: () => Promise;\n\tprofileType: DomainTrainingProfileType;\n\tsetActiveTab: React.Dispatch>;\n\tcloseModal?: closeModalType;\n}\n\nconst AssignAllTrainingModal: React.FC = ({\n\tassignedTrainingIdArray,\n\tgetTrainingData,\n\tprofileType,\n\tsetActiveTab,\n\tcloseModal\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmAssignAllTraining = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: TrainingEditCommand = {\n\t\t\tmoduleIds: assignedTrainingIdArray,\n\t\t\tprofileType\n\t\t};\n\n\t\tconst response = await apibridge.postTrainingEdit(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tawait getTrainingData();\n\n\t\t\tsetActiveTab(profileType);\n\n\t\t\tif (closeModal) closeModal();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tYou are about to assign the all available training modules to the{' '}\n\t\t\t\t\t\t\t\t\t{profileType} group.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tPlease confirm you have viewed the training module(s) and have determined that its contents are\n\t\t\t\t\t\t\t\t\tappropriate for the group to which it is being assigned.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default AssignAllTrainingModal;\n","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgSwitch(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 19,\n height: 18,\n viewBox: \"0 0 19 18\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M3.93614 6.75H3.5V3L3.93614 6.75ZM3.93614 6.75C4.82622 4.55113 6.98197 3 9.5 3C12.5597 3 15.0845 5.29027 15.4536 8.25M3.93614 6.75H7.25M15.0639 11.25H15.5V15L15.0639 11.25ZM15.0639 11.25C14.1738 13.4488 12.018 15 9.5 15C6.44029 15 3.91549 12.7097 3.54642 9.75M15.0639 11.25H11.75\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgSwitch);\nexport default __webpack_public_path__ + \"static/media/switch.89c046c2.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgDragDown(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4 12H20\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4 16H20\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4 8H20\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.3273 22.7165C12.1394 22.8792 11.8606 22.8792 11.6727 22.7165L8.68366 20.128C8.33371 19.8249 8.54804 19.25 9.01099 19.25L14.989 19.25C15.452 19.25 15.6663 19.8249 15.3163 20.128L12.3273 22.7165Z\",\n fill: \"#8E18A8\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgDragDown);\nexport default __webpack_public_path__ + \"static/media/drag-down.5b4f79d1.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { Link, useLocation } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// UTILS\nimport { validationErrorsToString, parseDate } from '../../utils';\n\n// COMPONENTS\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport Button from '../../components/Button';\nimport CircleText from '../../components/CircleText';\nimport GlobalModal from '../../components/GlobalModal';\nimport AddAdditionalTrainingModal from './AdditionalTrainingModal';\nimport EditDeadlineModal from './EditDeadlineModal';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport StatusIcon from '../../components/StatusIcon';\nimport DisplayDate from '../../components/DisplayDate';\nimport RemoveModal from './RemoveModal';\nimport AssignTrainingModal from './AssignTrainingModal';\nimport AssignAllTrainingModal from './AssignAllTrainingModal';\nimport CircleImage from '../../components/CircleImage';\n\n// ICONS\nimport { ReactComponent as SwitchUserIcon } from '../../assets/svg/switch-user.svg';\nimport { ReactComponent as SwitchIcon } from '../../assets/svg/switch.svg';\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport {\n\tDomainTrainingProfileType,\n\tTrainingAdminDashboardTrainings,\n\tTrainingUserDashboardDashboard,\n\tTrainingEditCommand\n} from '../../api/models';\n\nconst Training: React.FC = () => {\n\tconst dispatch = useAppDispatch();\n\tconst location = useLocation();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get all Training Time Frames from Redux store\n\tconst trainingTimeFrames = useAppSelector((state) => state.lists.trainingTimeFrames);\n\n\t// Check if User is Organisation Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// Check if User is viewing Training as an Admin or not\n\tconst viewTrainingAsAdmin = useAppSelector((state) => state.user.viewTrainingAsAdmin);\n\n\t// State for Clean up function\n\tconst [isMounted, setIsMounted] = React.useState(false);\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Set up Admin Data state and initial Admin data\n\tconst initialTrainingData: TrainingAdminDashboardTrainings = {\n\t\tmodules: [],\n\t\tleadership: [],\n\t\tstaff: [],\n\t\tparents: [],\n\t\tvolunteers: [],\n\t\tchildren: [],\n\t\tvisitors: []\n\t};\n\n\tconst [trainingData, setTrainingData] = React.useState(initialTrainingData);\n\n\tconst getTrainingData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getTrainingAdminDashboard();\n\n\t\tresponse.result = response.result || initialTrainingData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetTrainingData(response.result);\n\t\t}\n\t};\n\n\t// Set up User Data state and initial User data\n\tconst initialUserTrainingData: TrainingUserDashboardDashboard = {\n\t\tadditionalTrainings: [],\n\t\tacknowledgements: []\n\t};\n\n\tconst [userTrainingData, setUserTrainingData] =\n\t\tReact.useState(initialUserTrainingData);\n\n\tconst getUserTrainingData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getTrainingUserDashboard();\n\n\t\tresponse.result = response.result || initialUserTrainingData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetUserTrainingData(response.result);\n\t\t}\n\t};\n\n\t// Check if User follow the Assigned Link from Dashboard\n\tReact.useEffect(() => {\n\t\tif (location.pathname === '/training/user-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewTrainingAsAdmin: false }));\n\n\t\t\tgetUserTrainingData();\n\t\t} else if (isOrganisationAdmin && location.pathname === '/training/admin-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewTrainingAsAdmin: true }));\n\n\t\t\tgetTrainingData();\n\t\t}\n\t}, []);\n\n\t// Load data based on which view is loaded\n\tReact.useEffect(() => {\n\t\tif (isOrganisationAdmin && viewTrainingAsAdmin) {\n\t\t\tsetIsMounted(true);\n\n\t\t\tgetTrainingData();\n\t\t} else {\n\t\t\tsetIsMounted(true);\n\n\t\t\tgetUserTrainingData();\n\t\t}\n\n\t\tsetIsLoading(false);\n\t}, []);\n\n\t// Filter Admin Training Data\n\tconst { modules, leadership, staff, parents, children, visitors, volunteers } = trainingData;\n\n\tconst availableLeadershipModules = modules?.filter(({ id }) => {\n\t\treturn !leadership?.find((item) => item.moduleId === id);\n\t});\n\n\tconst availableStaffModules = modules?.filter(({ id }) => {\n\t\treturn !staff?.find((item) => item.moduleId === id);\n\t});\n\n\tconst availableParentModules = modules?.filter(({ id }) => {\n\t\treturn !parents?.find((item) => item.moduleId === id);\n\t});\n\n\tconst availableVolunteerModules = modules?.filter(({ id }) => {\n\t\treturn !volunteers?.find((item) => item.moduleId === id);\n\t});\n\n\tconst availableChildrenModules = modules?.filter(({ id }) => {\n\t\treturn !children?.find((item) => item.moduleId === id);\n\t});\n\n\tconst availableVisitorModules = modules?.filter(({ id }) => {\n\t\treturn !visitors?.find((item) => item.moduleId === id);\n\t});\n\n\t// Filter User Training Data\n\tconst { additionalTrainings, acknowledgements } = userTrainingData;\n\n\tconst uniqueCompletedUserTraining: any = [];\n\n\tconst completedUserTraining = acknowledgements?.filter((item) => {\n\t\tif (item.completed) {\n\t\t\tconst isDuplicate = uniqueCompletedUserTraining.includes(item.moduleId);\n\n\t\t\tif (!isDuplicate) {\n\t\t\t\tuniqueCompletedUserTraining.push(item.moduleId);\n\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t});\n\n\t// Filter by date and time completed before mapping and display\n\tcompletedUserTraining?.sort(function (a, b) {\n\t\tlet dateA: Date = new Date(a.completed || '');\n\t\tlet dateB: Date = new Date(b.completed || '');\n\n\t\treturn +dateB - +dateA;\n\t});\n\n\tconst overdueUserTraining = acknowledgements?.filter(\n\t\t(item) => item.deadline && !item.completed && new Date() >= parseDate(item.deadline)\n\t);\n\n\tconst availableUserTraining =\n\t\tacknowledgements &&\n\t\tacknowledgements.filter(({ id, completed }) => {\n\t\t\treturn !completed && !overdueUserTraining?.find((item) => item.id === id);\n\t\t});\n\n\t// State to control active tab and active content\n\tconst [activeTab, setActiveTab] = React.useState('leadership');\n\n\t// State to control Modals\n\tconst [showAddTrainingModal, setShowAddTrainingModal] = React.useState(false);\n\n\tconst [showEditDeadlineModal, setShowEditDeadlineModal] = React.useState(false);\n\n\tconst [showRemoveModal, setShowRemoveModal] = React.useState(false);\n\n\tconst [showAssignTrainingModal, setShowAssignTrainingModal] = React.useState(false);\n\n\tconst [showAssignAllTrainingModal, setShowAssignAllTrainingModal] = React.useState(false);\n\n\t// State to store Asigned Training Id\n\tconst [assignedTrainingId, setAssignedTrainingId] = React.useState('');\n\n\t// State to store Asigned Training Id Arrays\n\tconst [assignedTrainingIdArray, setAssignedTrainingIdArray] = React.useState([]);\n\n\t// State to store Asigned Training Title\n\tconst [assignedTrainingTitle, setAssignedTrainingTitle] = React.useState('');\n\n\tconst addAllHandler = async (array: string[]) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: TrainingEditCommand = {\n\t\t\tmoduleIds: array,\n\t\t\tprofileType: activeTab as DomainTrainingProfileType\n\t\t};\n\n\t\tconst response = await apibridge.postTrainingEdit(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tgetTrainingData();\n\t\t}\n\t};\n\n\tconst switchRole = () => {\n\t\tif (isOrganisationAdmin) {\n\t\t\tif (viewTrainingAsAdmin) {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewTrainingAsAdmin: false }));\n\n\t\t\t\tgetUserTrainingData();\n\t\t\t} else {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewTrainingAsAdmin: true }));\n\n\t\t\t\tgetTrainingData();\n\t\t\t}\n\t\t}\n\t};\n\n\tconst [itemData, setItemData] = React.useState();\n\n\tconst editDeadline = (item: any) => {\n\t\tsetItemData(item);\n\n\t\tsetShowEditDeadlineModal(true);\n\t};\n\n\t// State to keep track of Additional Training Id\n\tconst [trainingId, setTrainingId] = React.useState('');\n\n\tReact.useEffect(() => {\n\t\tsetTimeout(() => {\n\t\t\tsetFormErrorMessage('');\n\t\t}, 5000);\n\t}, [formErrorMessage]);\n\n\t// Logic to work out organisation logo\n\tconst activeProfileId = useAppSelector((state) => state.user.activeProfileId);\n\tconst profiles = useAppSelector((state) => state.user.profiles);\n\tconst activeProfile = profiles?.find((item) => item.id === activeProfileId);\n\tconst organisationLogo = activeProfile?.image;\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{isOrganisationAdmin && viewTrainingAsAdmin ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tBelow is a list of child safety training modules available to your organisation to assign to\n\t\t\t\t\t\t\t\t\t\t\tleaders, staff, parents, children, volunteers and visitors. Choose which training modules you\n\t\t\t\t\t\t\t\t\t\t\twould like users to complete and set a completion deadline.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tAs a Leader, you can manage your organisation’s training by assigning\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttraining modules to users from the available menu for completion by a deadline.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou can also complete training modules assigned to you by your\n\t\t\t\t\t\t\t\t\t\t\t\t\t\torganisation. Click on ‘View my training’ to switch roles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t setActiveTab('leadership')}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={`staff-category ${activeTab === 'leadership' ? 'active' : ''}`}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tLeadership\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t setActiveTab('staff')}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={`staff-category ${activeTab === 'staff' ? 'active' : ''}`}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tStaff & Volunteers\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t setActiveTab('Volunteers')}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={`staff-category ${activeTab === 'Volunteers' ? 'active' : ''}`}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tParent Volunteers\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t setActiveTab('parents')}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={`staff-category ${activeTab === 'parents' ? 'active' : ''}`}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tParents\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t setActiveTab('children')}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={`staff-category ${activeTab === 'children' ? 'active' : ''}`}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tChildren\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t setActiveTab('visitors')}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName={`staff-category ${activeTab === 'visitors' ? 'active' : ''}`}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tVisitors\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{/* LEADERSHIP TAB */}\n\t\t\t\t\t\t\t\t\t\t{activeTab === 'leadership' && (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Assigned

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{leadership && leadership.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tleadership.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules && modules.filter((i) => i.id === item.moduleId)[0].editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].title}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].subtitle}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0].standards!.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: modules!.filter((i) => i.id === item.moduleId)[0].standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDeadline\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    editDeadline(item)} className=\"sub-purple-text pointer\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineTimeFrameType ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttrainingTimeFrames?.filter(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t({ value }) => value === item.deadlineTimeFrameType\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)[0].label\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : item.deadlineDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineDate}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'No deadline'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingId(item.id || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingTitle(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${modules && modules.filter((i) => i.id === item.moduleId)[0].title}`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowRemoveModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not assigned any training modules to the ‘Leadership’ group.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSelect from the available modules below that you wish to assign to this group.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Available

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t Add new training module\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst allIDs =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(availableLeadershipModules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableLeadershipModules.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableLeadershipModules.map((item) => item.id || '')) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[];\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingIdArray(allIDs);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAssignAllTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign all\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{availableLeadershipModules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableLeadershipModules.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableLeadershipModules.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining = item?.editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.subtitle}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.standards && item.standards?.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingId(item.id || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingTitle(item.title || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAssignTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{/* STAFF TAB */}\n\t\t\t\t\t\t\t\t\t\t{activeTab === 'staff' && (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Assigned

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{staff && staff.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tstaff.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules && modules.filter((i) => i.id === item.moduleId)[0].editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].subtitle}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0].standards!.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: modules && modules.filter((i) => i.id === item.moduleId)[0].standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDeadline\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    editDeadline(item)} className=\"sub-purple-text pointer\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineTimeFrameType ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttrainingTimeFrames?.filter(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t({ value }) => value === item.deadlineTimeFrameType\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)[0].label\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : item.deadlineDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineDate}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'No deadline'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingId(item.id || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingTitle(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${modules && modules.filter((i) => i.id === item.moduleId)[0].title}`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowRemoveModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not assigned any training modules to the ‘Staff’ group. Select\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfrom the available modules below that you wish to assign to this group.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Available

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t Add new training module\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst allIDs =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(availableStaffModules && availableStaffModules.map((item) => item.id || '')) || [];\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingIdArray(allIDs);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAssignAllTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign all\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{availableStaffModules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableStaffModules.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining = item?.editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.subtitle}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.standards && item.standards?.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingId(item.id || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingTitle(item.title || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAssignTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{/* PARENTS TAB */}\n\t\t\t\t\t\t\t\t\t\t{activeTab === 'parents' && (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Assigned

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{parents && parents.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tparents.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules && modules.filter((i) => i.id === item.moduleId)[0].editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].subtitle}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0].standards!.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: modules && modules.filter((i) => i.id === item.moduleId)[0].standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDeadline\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    editDeadline(item)} className=\"sub-purple-text pointer\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineTimeFrameType ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttrainingTimeFrames?.filter(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t({ value }) => value === item.deadlineTimeFrameType\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)[0].label\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : item.deadlineDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineDate}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'No deadline'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingId(item.id || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingTitle(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${modules && modules.filter((i) => i.id === item.moduleId)[0].title}`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowRemoveModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not assigned any training modules to the ‘Parents’ group. Select\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfrom the available modules below that you wish to assign to this group.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Available

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t Add new training module\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst allIDs =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(availableParentModules && availableParentModules.map((item) => item.id || '')) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[];\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingIdArray(allIDs);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAssignAllTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign all\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{availableParentModules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableParentModules.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableParentModules.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining = item?.editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.subtitle}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.standards && item.standards?.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingId(item.id || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingTitle(item.title || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAssignTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{/* VOLUNTEERS TAB */}\n\t\t\t\t\t\t\t\t\t\t{activeTab === 'Volunteers' && (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Assigned

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{volunteers && volunteers.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvolunteers.map((item: any) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules && modules.filter((i) => i.id === item.moduleId)[0].editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].subtitle}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0].standards!.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: modules && modules.filter((i) => i.id === item.moduleId)[0].standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDeadline\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    editDeadline(item)} className=\"sub-purple-text pointer\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineTimeFrameType ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttrainingTimeFrames?.filter(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t({ value }) => value === item.deadlineTimeFrameType\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)[0].label\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : item.deadlineDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineDate}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'No deadline'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingId(item.id || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingTitle(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${modules && modules.filter((i) => i.id === item.moduleId)[0].title}`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowRemoveModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not assigned any training modules to the ‘Parent Volunteers’{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tgroup. Select from the available modules below that you wish to assign to this group.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Available

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t Add new training module\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst allIDs = availableVolunteerModules\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? availableVolunteerModules.map((item) => item.id || '')\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: [];\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingIdArray(allIDs);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAssignAllTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign all\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{availableVolunteerModules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableVolunteerModules.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableVolunteerModules.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining = item?.editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.subtitle}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.standards && item.standards?.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingId(item.id || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingTitle(item.title || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAssignTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{/* CHILDREN TAB */}\n\t\t\t\t\t\t\t\t\t\t{activeTab === 'children' && (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Assigned

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{children && children.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchildren.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules && modules.filter((i) => i.id === item.moduleId)[0].editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].subtitle}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0].standards!.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: modules && modules.filter((i) => i.id === item.moduleId)[0].standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDeadline\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    editDeadline(item)} className=\"sub-purple-text pointer\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineTimeFrameType ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttrainingTimeFrames?.filter(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t({ value }) => value === item.deadlineTimeFrameType\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)[0].label\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : item.deadlineDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineDate}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'No deadline'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingId(item.id || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingTitle(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${modules && modules.filter((i) => i.id === item.moduleId)[0].title}`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowRemoveModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not assigned any training modules to the ‘Children’ group.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSelect from the available modules below that you wish to assign to this group.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Available

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t Add new training module\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst allIDs =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(availableChildrenModules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableChildrenModules.map((item) => item.id || '')) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[];\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingIdArray(allIDs);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAssignAllTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign all\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{availableChildrenModules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableChildrenModules.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableChildrenModules.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining = item?.editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.subtitle}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.standards && item.standards?.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingId(item.id || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingTitle(item.title || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAssignTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{/* Visitors TAB */}\n\t\t\t\t\t\t\t\t\t\t{activeTab === 'visitors' && (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Assigned

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{visitors && visitors.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tvisitors.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules && modules.filter((i) => i.id === item.moduleId)[0].editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules && modules.filter((i) => i.id === item.moduleId)[0].subtitle}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{modules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0] &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmodules.filter((i) => i.id === item.moduleId)[0].standards!.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: modules && modules.filter((i) => i.id === item.moduleId)[0].standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDeadline\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    editDeadline(item)} className=\"sub-purple-text pointer\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineTimeFrameType ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttrainingTimeFrames?.filter(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t({ value }) => value === item.deadlineTimeFrameType\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)[0].label\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : item.deadlineDate ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadlineDate}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t'No deadline'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingId(item.id || '');\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingTitle(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`${modules && modules.filter((i) => i.id === item.moduleId)[0].title}`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowRemoveModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not assigned any training modules to the ‘Visitors’ group.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSelect from the available modules below that you wish to assign to this group.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Available

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t Add new training module\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst allIDs =\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t(availableVisitorModules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableVisitorModules.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableVisitorModules.map((item) => item.id || '')) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[];\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetAssignedTrainingIdArray(allIDs);\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAssignAllTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAssign all\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{availableVisitorModules &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableVisitorModules.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tavailableVisitorModules.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tconst isOwnTraining = item?.editable;\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.subtitle}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.standards && item.standards?.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOwnTraining ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t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\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tYour organisation has assigned the following child safety training modules to you for completion.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tBelow are the training modules assigned to you by your organisation for\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcompletion.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAs a Leader, you can also manage your organisation’s training. Click on\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t‘Manage training’ to switch roles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{/* OVERDUE TRAINING */}\n\t\t\t\t\t\t\t\t\t\t{overdueUserTraining && overdueUserTraining.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    Overdue

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{overdueUserTraining.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.subtitle}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.standards && item.standards?.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDeadline\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadline ? {item.deadline} : 'No deadline'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{/* TODO TRAINING */}\n\t\t\t\t\t\t\t\t\t\t{availableUserTraining && availableUserTraining.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    To-do

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{availableUserTraining.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.subtitle}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.standards && item.standards?.length > 1\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? 'Multiple selected'\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: item.standards}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDeadline\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.deadline ? {item.deadline} : 'No deadline'}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{/* COMPLETED TRAINING */}\n\t\t\t\t\t\t\t\t\t\t{completedUserTraining && completedUserTraining.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    Completed

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{completedUserTraining.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.title}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.subtitle}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tCompleted\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {{item.completed}}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{/* ADDITIONAL TRAINING */}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Additional training

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\tIf you’ve completed additional training outside ChildAware, add it here to keep a record.\n\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t{additionalTrainings &&\n\t\t\t\t\t\t\t\t\t\t\t\tadditionalTrainings.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\tadditionalTrainings.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.title}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tCompleted\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.dateOfTraining}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetTrainingId(item.id || '');\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAddTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetTrainingId('');\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAddTrainingModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tAdd additional training\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default Training;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// PACKAGES\nimport { useHistory } from 'react-router';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\nimport { closeModalType } from '../../components/GlobalModal';\nimport { TrainingMarkAsCompleteCommand } from '../../api/models';\n\ninterface CompleteModalTypes {\n\tacknowledgementId?: string;\n\ttitle?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst CompleteModal: React.FC = ({ closeModal, acknowledgementId, title }) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmCompleted = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: TrainingMarkAsCompleteCommand = { id: acknowledgementId };\n\n\t\tconst response = await apibridge.postTrainingMarkAsComplete(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/training');\n\n\t\t\tuseUpdateTotalNotification();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you completed '{title}'\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default CompleteModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport ReactPlayer from 'react-player';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport GlobalModal from '../../components/GlobalModal';\nimport CompleteModal from './CompleteModal';\n\n// TYPES\nimport { TrainingViewTrainingModule } from '../../api/models';\nimport { RouteParams } from '../../Interfaces';\n\nconst TrainingDetail: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get Id from params\n\tconst params = useParams();\n\tconst trainingId = params.id;\n\n\t// Set up Data state and initial Data\n\tconst initialData = {\n\t\tid: undefined,\n\t\tsubtitle: undefined,\n\t\ttitle: undefined,\n\t\toverview: undefined,\n\t\tvideoEmbedCode: undefined,\n\t\tisAcknowledged: undefined,\n\t\tcanAcknowledge: undefined\n\t};\n\n\tconst [trainingDetailData, setTrainingDetailData] = React.useState(initialData);\n\n\tconst getTrainingDetailData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getTrainingView(trainingId);\n\n\t\tresponse.result = response.result || initialData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetTrainingDetailData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetTrainingDetailData();\n\t}, []);\n\n\tconst { subtitle, title, overview, videoEmbedCode, isAcknowledged, canAcknowledge, standards, acknowledgementId } =\n\t\ttrainingDetailData;\n\n\t// State to control Modal\n\tconst [showCompleteModal, setShowCompleteModal] = React.useState(false);\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    Child Safe Standard

    \n\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t{standards &&\n\t\t\t\t\t\t\t\t\t\t\tstandards.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\tstandards.map((standard, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (index + 1 === standards.length) {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn standard;\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn standard + ', ';\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t

    {title}

    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    Abiding by {title}

    \n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    Overview

    \n\n\t\t\t\t\t\t\t\t\t

    {overview}

    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t setShowCompleteModal(true)}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\tMark as complete\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default TrainingDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { Link, useLocation } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport StatusIcon from '../../components/StatusIcon';\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\nimport { ReactComponent as SwitchUserIcon } from '../../assets/svg/switch-user.svg';\nimport { ReactComponent as SwitchIcon } from '../../assets/svg/switch.svg';\nimport { ReactComponent as DeviceIcon } from '../../assets/svg/device.svg';\n\n// TYPES\nimport {\n\tSafetyChecklistAdminDashboardChecklist,\n\tSafetyChecklistUserDashboardChecklist,\n\tDomainChecklistStatusType\n} from '../../api/models';\n\nconst SafetyChecklists: React.FC = () => {\n\tconst dispatch = useAppDispatch();\n\tconst location = useLocation();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Check if User is Organisation Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// State to manage maximum number of items per section\n\tconst defaultMaxItems: number = 5;\n\n\t// Check if User is viewing Checklist as an Admin or not\n\tconst viewChecklistAsAdmin = useAppSelector((state) => state.user.viewChecklistAsAdmin);\n\n\t// SET UP ADMIN DATA STATE AND INITIAL ADMIN DATA\n\tconst initialAdminData: SafetyChecklistAdminDashboardChecklist = {\n\t\tinProgressList: [],\n\t\tcompletedList: []\n\t};\n\n\tconst [adminSafetyChecklistsData, setAdminSafetyChecklistsData] =\n\t\tReact.useState(initialAdminData);\n\n\tconst getAdminSafetyChecklistsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getAdminSafetyChecklistDashboard();\n\n\t\tresponse.result = response.result || initialAdminData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetAdminSafetyChecklistsData(response.result);\n\t\t}\n\t};\n\n\t// SET UP USER DATA STATE AND INITIAL USER DATA\n\tconst initialUserData: SafetyChecklistUserDashboardChecklist = {\n\t\tmyList: [],\n\t\tapprovalList: [],\n\t\tcompletedList: []\n\t};\n\n\tconst [userSafetyChecklistsData, setUserSafetyChecklistsData] =\n\t\tReact.useState(initialUserData);\n\n\tconst getUserSafetyChecklistsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getUserSafetyChecklistDashboard();\n\n\t\tresponse.result = response.result || initialUserData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetUserSafetyChecklistsData(response.result);\n\t\t}\n\t};\n\n\t// Check if User follow the user-view Link from Dashboard\n\tReact.useEffect(() => {\n\t\tif (location.pathname === '/safety-checklists/user-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewChecklistAsAdmin: false }));\n\n\t\t\tgetUserSafetyChecklistsData();\n\t\t} else if (isOrganisationAdmin && location.pathname === '/safety-checklists/admin-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewChecklistAsAdmin: true }));\n\n\t\t\tgetAdminSafetyChecklistsData();\n\t\t}\n\t}, []);\n\n\t// Load data based on which view is loaded\n\tReact.useEffect(() => {\n\t\tif (isOrganisationAdmin && viewChecklistAsAdmin) {\n\t\t\tgetAdminSafetyChecklistsData();\n\t\t} else {\n\t\t\tgetUserSafetyChecklistsData();\n\t\t}\n\n\t\tsetIsLoading(false);\n\t}, []);\n\n\t// Filter Admin Data\n\tconst inProgressAdminSafetyChecklistsData = adminSafetyChecklistsData?.inProgressList;\n\tconst completedAdminSafetyChecklistsData = adminSafetyChecklistsData?.completedList;\n\n\tconst [maxInProgressAdminSafetyChecklists, setMaxInProgressAdminSafetyChecklists] =\n\t\tReact.useState(defaultMaxItems);\n\tconst [maxCompletedAdminSafetyChecklists, setMaxCompletedAdminSafetyChecklists] =\n\t\tReact.useState(defaultMaxItems);\n\n\t// Filter User Data\n\tconst myListUserSafetyChecklistsData = userSafetyChecklistsData?.myList;\n\tconst approvalUserSafetyChecklistsData = userSafetyChecklistsData?.approvalList;\n\tconst completedUserSafetyChecklistsData = userSafetyChecklistsData?.completedList;\n\n\tconst [maxMyListUserSafetyChecklistsData, setMaxMyListUserSafetyChecklistsData] =\n\t\tReact.useState(defaultMaxItems);\n\tconst [maxApprovalUserSafetyChecklistsData, setMaxApprovalUserSafetyChecklistsData] =\n\t\tReact.useState(defaultMaxItems);\n\tconst [maxcompletedUserSafetyChecklistsData, setMaxcompletedUserSafetyChecklistsData] =\n\t\tReact.useState(defaultMaxItems);\n\n\t// SWITCH ROLE FUNCTION\n\tconst switchRole = () => {\n\t\tif (isOrganisationAdmin) {\n\t\t\tif (viewChecklistAsAdmin) {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewChecklistAsAdmin: false }));\n\n\t\t\t\tgetUserSafetyChecklistsData();\n\t\t\t} else {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewChecklistAsAdmin: true }));\n\n\t\t\t\tgetAdminSafetyChecklistsData();\n\t\t\t}\n\t\t}\n\t};\n\n\tconst displayStatus = (status?: string) => {\n\t\tif (status) {\n\t\t\tif (status === DomainChecklistStatusType.InProgress) {\n\t\t\t\treturn 'In Progress';\n\t\t\t} else if (status === DomainChecklistStatusType.AwaitingApproval) {\n\t\t\t\treturn 'Awaiting approval';\n\t\t\t} else if (status === DomainChecklistStatusType.Approved) {\n\t\t\t\treturn 'Approved';\n\t\t\t} else {\n\t\t\t\treturn status;\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{isOrganisationAdmin && viewChecklistAsAdmin ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tSafety checklists are a critical risk management tool to manage safety and minimise the risk of\n\t\t\t\t\t\t\t\t\t\t\tharm to children in your organisation. Below, you can view all safety checklists created\n\t\t\t\t\t\t\t\t\t\t\tthroughout your organisation and create a checklist.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tAs a Leader you can view all safety checklists{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcreated throughout your organisation.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou can also view safety checklists created by you or{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tassigned to you for approval. Click on ‘View my checklists’ to switch\n\t\t\t\t\t\t\t\t\t\t\t\t\t\troles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tCreate a checklist\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Checklists in progress
    \n\n\t\t\t\t\t\t\t\t\t\t\t{inProgressAdminSafetyChecklistsData && inProgressAdminSafetyChecklistsData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{inProgressAdminSafetyChecklistsData\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.slice(0, maxInProgressAdminSafetyChecklists)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.purpose}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Submitted by
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.submitter}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Status
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {displayStatus(item.status)}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{maxInProgressAdminSafetyChecklists < inProgressAdminSafetyChecklistsData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetMaxInProgressAdminSafetyChecklists(inProgressAdminSafetyChecklistsData.length)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {inProgressAdminSafetyChecklistsData.length - maxInProgressAdminSafetyChecklists}{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmore\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    You have no active checklists.

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    To create a checklist click ‘Create a checklist’.

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou can choose to customise a checklist template to suit your needs or create an entirely\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tnew checklist.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Completed checklists
    \n\n\t\t\t\t\t\t\t\t\t\t\t{completedAdminSafetyChecklistsData && completedAdminSafetyChecklistsData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{completedAdminSafetyChecklistsData\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.slice(0, maxCompletedAdminSafetyChecklists)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.purpose}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Approved by
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.approver}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Status
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {displayStatus(item.status)}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{maxCompletedAdminSafetyChecklists < completedAdminSafetyChecklistsData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetMaxCompletedAdminSafetyChecklists(completedAdminSafetyChecklistsData.length)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {completedAdminSafetyChecklistsData.length - maxCompletedAdminSafetyChecklists} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    You have no completed checklists.

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tSafety checklists are a critical risk management tool to manage safety and minimise the risk of\n\t\t\t\t\t\t\t\t\t\t\tharm to children in your organisation. You can create checklists, view your checklists and approve\n\t\t\t\t\t\t\t\t\t\t\tchecklists assigned to you.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tBelow are safety checklists created by you or{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tassigned to you for approval.{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAs a Leader, you can also view all safety checklists created throughout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tyour organisation. Click on ‘View all checklists’ to switch roles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tCreate a checklist\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    My active checklists
    \n\n\t\t\t\t\t\t\t\t\t\t\t{myListUserSafetyChecklistsData && myListUserSafetyChecklistsData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{myListUserSafetyChecklistsData.slice(0, maxMyListUserSafetyChecklistsData).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.purpose}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Approval by
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.approver}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Status
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {displayStatus(item.status)}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{maxMyListUserSafetyChecklistsData < myListUserSafetyChecklistsData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetMaxMyListUserSafetyChecklistsData(myListUserSafetyChecklistsData.length)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {myListUserSafetyChecklistsData.length - maxMyListUserSafetyChecklistsData} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    You have no active checklists.

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    To create a checklist, select ‘Create new checklist.

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou can choose to edit a checklist to suit your needs, or create a new checklist from\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tscratch.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Submitted for my approval
    \n\n\t\t\t\t\t\t\t\t\t\t\t{approvalUserSafetyChecklistsData && approvalUserSafetyChecklistsData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{approvalUserSafetyChecklistsData\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.slice(0, maxApprovalUserSafetyChecklistsData)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.purpose}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Submitted by
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.submitter}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Status
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {displayStatus(item.status)}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{maxApprovalUserSafetyChecklistsData < approvalUserSafetyChecklistsData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetMaxApprovalUserSafetyChecklistsData(approvalUserSafetyChecklistsData.length)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {approvalUserSafetyChecklistsData.length - maxApprovalUserSafetyChecklistsData} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    You have no checklists to approve.

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    My completed checklists
    \n\n\t\t\t\t\t\t\t\t\t\t\t{completedUserSafetyChecklistsData && completedUserSafetyChecklistsData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{completedUserSafetyChecklistsData\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.slice(0, maxcompletedUserSafetyChecklistsData)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.purpose}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Approval by
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.approver}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Status
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {displayStatus(item.status)}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{maxcompletedUserSafetyChecklistsData < completedUserSafetyChecklistsData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetMaxcompletedUserSafetyChecklistsData(completedUserSafetyChecklistsData.length)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {completedUserSafetyChecklistsData.length - maxcompletedUserSafetyChecklistsData}{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmore\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    You have no completed checklists.

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default SafetyChecklists;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// COMPONENTS\nimport StatusIcon from '../../components/StatusIcon';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { SafetyChecklistTemplatesTemplate } from '../../api/models';\n\nconst SafetyChecklistsNewChecklist: React.FC = () => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up Data state\n\tconst [safetyChecklistsTemplatesData, setSafetyChecklistsTemplatesData] = React.useState<\n\t\tSafetyChecklistTemplatesTemplate[]\n\t>([]);\n\n\tconst getSafetyChecklistsTemplatesData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getSafetyChecklistsTemplates();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetSafetyChecklistsTemplatesData(response.result || []);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetSafetyChecklistsTemplatesData();\n\t}, []);\n\n\tconst [createOption, setCreateOption] = React.useState('new');\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    To begin, select from the following option...

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t setCreateOption('new')}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t

    Create a brand new checklist to suit your needs.

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t setCreateOption('templates')}\n\t\t\t\t\t\t\t\t\t\tdisabled={safetyChecklistsTemplatesData.length <= 0}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tChoose from our menu of checklist templates and customise for your needs.\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{createOption === 'templates' &&\n\t\t\t\t\t\t\t\t\tsafetyChecklistsTemplatesData &&\n\t\t\t\t\t\t\t\t\tsafetyChecklistsTemplatesData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t{safetyChecklistsTemplatesData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.title}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tPreview\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tUse checklist\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{createOption === 'new' && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tContinue\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default SafetyChecklistsNewChecklist;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { Link, useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { SafetyChecklistTemplateChecklistTemplate } from '../../api/models';\nimport { RouteParams } from '../../Interfaces';\n\nconst SafetyChecklistsTemplatePreview: React.FC = (props) => {\n\tconst params = useParams();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst [templateType, setTemplateType] = React.useState();\n\n\t// Set up Data state and Initial Data\n\tconst initialState = {\n\t\tid: undefined,\n\t\ttitle: undefined,\n\t\tusage: undefined,\n\t\tchecklistItems: []\n\t};\n\n\tconst [safetyChecklistsTemplateItemsData, setSafetyChecklistsTemplateItemsData] =\n\t\tReact.useState(initialState);\n\n\tconst getSafetyChecklistsTemplateItemsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst checklistParams = async () => {\n\t\t\tif (params.id.startsWith('TemplateId=')) {\n\t\t\t\tsetTemplateType('TemplateId');\n\n\t\t\t\treturn await apibridge.getSafetyChecklistTemplate(params.id.split('=')[1], '');\n\t\t\t} else {\n\t\t\t\tsetTemplateType('ChecklistId');\n\n\t\t\t\treturn await apibridge.getSafetyChecklistTemplate(``, params.id.split('=')[1]);\n\t\t\t}\n\t\t};\n\n\t\tconst response = await checklistParams();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\n\t\t\tsetIsLoading(false);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetSafetyChecklistsTemplateItemsData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetSafetyChecklistsTemplateItemsData();\n\t}, []);\n\n\tconst { id, title, usage, checklistItems } = safetyChecklistsTemplateItemsData;\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t

    Safety Checklist Templates

    \n\n\t\t\t\t\t\t\t\t

    {title}

    \n\n\t\t\t\t\t\t\t\t{usage ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    Usage

    \n\n\t\t\t\t\t\t\t\t\t\t

    {usage}

    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t

    Checklist items

    \n\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t{checklistItems &&\n\t\t\t\t\t\t\t\t\t\tchecklistItems.length > 0 &&\n\t\t\t\t\t\t\t\t\t\tchecklistItems.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t{item}\n\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tUse this template\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default SafetyChecklistsTemplatePreview;\n","import * as React from 'react';\n\n// COMPONENTS\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\tindex: number;\n\tremoveHandler: (index: number) => void;\n\tcloseModal?: closeModalType;\n}\n\nconst RemoveModal: React.FC = ({ index, removeHandler, closeModal }) => {\n\tconst confirmRemove = () => {\n\t\tremoveHandler(index);\n\n\t\tif (closeModal) {\n\t\t\tcloseModal();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t

    Are you sure you wish to remove this Checklist item?

    \n\n\t\t\t
    \n\t\t\t\t\n\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t);\n};\n\nexport default RemoveModal;\n","var _path, _path2, _path3, _path4, _path5;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgDrag(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4 12H20\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4 16H20\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4 8H20\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.3273 22.7165C12.1394 22.8792 11.8606 22.8792 11.6727 22.7165L8.68366 20.128C8.33371 19.8249 8.54804 19.25 9.01099 19.25L14.989 19.25C15.452 19.25 15.6663 19.8249 15.3163 20.128L12.3273 22.7165Z\",\n fill: \"#8E18A8\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.3273 1.28347C12.1394 1.12076 11.8606 1.12076 11.6727 1.28347L8.68366 3.87204C8.33371 4.1751 8.54804 4.75 9.01099 4.75L14.989 4.75C15.452 4.75 15.6663 4.1751 15.3163 3.87203L12.3273 1.28347Z\",\n fill: \"#8E18A8\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgDrag);\nexport default __webpack_public_path__ + \"static/media/drag.023a25fb.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgDragUp(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4 12H20\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4 16H20\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M4 8H20\",\n stroke: \"#8E18A8\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12.3273 1.28347C12.1394 1.12076 11.8606 1.12076 11.6727 1.28347L8.68366 3.87204C8.33371 4.1751 8.54804 4.75 9.01099 4.75L14.989 4.75C15.452 4.75 15.6663 4.1751 15.3163 3.87203L12.3273 1.28347Z\",\n fill: \"#8E18A8\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgDragUp);\nexport default __webpack_public_path__ + \"static/media/drag-up.3fc9058e.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgChevronLeft(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13.25 8.75L9.75 12L13.25 15.25\",\n stroke: \"#001B2E\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgChevronLeft);\nexport default __webpack_public_path__ + \"static/media/chevron-left.8abd0c62.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// ICONS\nimport { ReactComponent as DragDownIcon } from '../assets/svg/drag-down.svg';\nimport { ReactComponent as DragIcon } from '../assets/svg/drag.svg';\nimport { ReactComponent as DragUpIcon } from '../assets/svg/drag-up.svg';\n\n// TYPES\ninterface DisplayDragIconTypes {\n\tindex: number;\n\tarray: any[];\n}\n\nconst DisplayDragIcon: React.FC = ({ index, array }) => {\n\tconst renderDragIcon = () => {\n\t\tif (index === 0) {\n\t\t\treturn ;\n\t\t} else if (index === array.length - 1) {\n\t\t\treturn ;\n\t\t} else {\n\t\t\treturn ;\n\t\t}\n\t};\n\n\treturn <>{renderDragIcon()};\n};\n\nexport default DisplayDragIcon;\n","import * as React from 'react';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport GlobalModal from '../../components/GlobalModal';\nimport RemoveModal from './RemoveModal';\n\n// ICONS\nimport DisplayDragIcon from '../../components/DisplayDragIcon';\n\n// TYPES\nimport { SafetyChecklistEditChecklistItem } from '../../api/models';\n\ninterface CheckListItemTypes {\n\titem: SafetyChecklistEditChecklistItem;\n\tindex: number;\n\trenderedChecklistItems: SafetyChecklistEditChecklistItem[];\n\tsetRenderedChecklistItems: React.Dispatch>;\n\tremoveHandler: (index: number) => void;\n}\n\nconst CheckListItem: React.FC = ({\n\titem,\n\tindex,\n\trenderedChecklistItems,\n\tsetRenderedChecklistItems,\n\tremoveHandler\n}) => {\n\tconst [showError, setShowError] = React.useState(false);\n\n\t// State to control Modal\n\tconst [showRemoveModal, setShowRemoveModal] = React.useState(false);\n\n\tconst onChangeHandler = (e: React.ChangeEvent, index: number) => {\n\t\tconst { value } = e.target;\n\n\t\tlet newData = [...renderedChecklistItems];\n\n\t\tnewData[index].text = value;\n\n\t\tsetRenderedChecklistItems(newData);\n\n\t\tif (value === '') {\n\t\t\tsetShowError(true);\n\t\t} else {\n\t\t\tsetShowError(false);\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t onChangeHandler(e, index)}\n\t\t\t\t\t/>\n\n\t\t\t\t\t\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t{showError &&
    This field can not be blank
    }\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default CheckListItem;\n","import * as React from 'react';\n\n// PACKAGES\nimport { DragDropContext, Droppable, Draggable, DropResult, DroppableProvided } from 'react-beautiful-dnd';\nimport { v4 as uuid } from 'uuid';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport CheckListItem from './ChecklistItem';\nimport SingleSelect from '../../components/SingleSelect';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { SafetyChecklists } from './SafetyChecklistsSubmit';\nimport { SafetyChecklistApproversStaffMember, SafetyChecklistEditChecklistItem } from '../../api/models';\n\ninterface StepOneTypes {\n\tsafetyChecklistsFormData: SafetyChecklists;\n\tsetSafetyChecklistsFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n\trenderedChecklistItems: SafetyChecklistEditChecklistItem[];\n\tsetRenderedChecklistItems: React.Dispatch>;\n\tcurrentAprroversStaffList: SafetyChecklistApproversStaffMember[];\n}\n\nconst StepOne: React.FC = ({\n\tsafetyChecklistsFormData,\n\tsetSafetyChecklistsFormData,\n\tsetActiveStep,\n\trenderedChecklistItems,\n\tsetRenderedChecklistItems,\n\tcurrentAprroversStaffList\n}) => {\n\t// SET UP GENERAL FORM\n\tconst validationSchemaStepOne = Yup.object({\n\t\tpurposeInput: Yup.string().required('Required'),\n\t\tapproverInput: Yup.string().required('Required')\n\t});\n\n\tconst initialValuesStepOne = {\n\t\tpurposeInput: safetyChecklistsFormData.purpose || '',\n\t\tapproverInput: safetyChecklistsFormData.approverId || ''\n\t};\n\n\t// Handling when we drag\n\tconst onDragEndHandler = (result: DropResult) => {\n\t\tif (!result.destination) return;\n\n\t\tconst items = Array.from(renderedChecklistItems);\n\n\t\tconst [reorderedItem] = items.splice(result.source.index, 1);\n\n\t\titems.splice(result.destination.index, 0, reorderedItem);\n\n\t\tsetRenderedChecklistItems(items);\n\t};\n\n\t// ON SUBMIT\n\tconst onSubmitStepOne = (values: any) => {\n\t\tsetSafetyChecklistsFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\tpurpose: values.purposeInput,\n\t\t\tchecklistItems: [...renderedChecklistItems],\n\t\t\tapproverId: values.approverInput,\n\t\t\tapprover: currentAprroversStaffList.filter((staff) => staff.id === values.approverInput)[0]\n\t\t}));\n\n\t\tsetActiveStep('step2');\n\t};\n\n\tconst addChecklistHandler = (e: React.MouseEvent) => {\n\t\te.preventDefault();\n\n\t\tconst newArray = [\n\t\t\t...renderedChecklistItems,\n\t\t\t{\n\t\t\t\ttext: undefined,\n\t\t\t\tid: uuid()\n\t\t\t}\n\t\t];\n\n\t\tsetRenderedChecklistItems(newArray);\n\t};\n\n\tconst removeHandler = (itemIndex: number) => {\n\t\tconst newArray = renderedChecklistItems.filter((item, index) => index !== itemIndex);\n\n\t\tsetRenderedChecklistItems(newArray);\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{renderedChecklistItems && renderedChecklistItems.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(provided: DroppableProvided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{renderedChecklistItems.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(provided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{provided.placeholder}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tonClick={addChecklistHandler}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tAdd another item\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t ({\n\t\t\t\t\t\t\t\t\t\t\tlabel: staff.firstName + ' ' + staff.lastName,\n\t\t\t\t\t\t\t\t\t\t\tvalue: staff.id\n\t\t\t\t\t\t\t\t\t\t}))}\n\t\t\t\t\t\t\t\t\t\tname=\"approverInput\"\n\t\t\t\t\t\t\t\t\t\tvalue={formik.values.approverInput}\n\t\t\t\t\t\t\t\t\t\tonChange={(val: string) => {\n\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('approverInput', val);\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default StepOne;\n","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgChevronRight(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M10.75 8.75L14.25 12L10.75 15.25\",\n stroke: \"#001B2E\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgChevronRight);\nexport default __webpack_public_path__ + \"static/media/chevron-right.7aefcecd.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport CircleImage from '../../components/CircleImage';\n\n// ICONS\nimport { ReactComponent as ArrowLeftIcon } from '../../assets/svg/chevron-left.svg';\n\n// TYPES\nimport { SafetyChecklists } from './SafetyChecklistsSubmit';\n\ninterface StepTwoTypes {\n\tsafetyChecklistsFormData: SafetyChecklists;\n\tsetActiveStep: React.Dispatch>;\n\tformSubmitHandler: () => void;\n}\n\nconst StepTwo: React.FC = ({ safetyChecklistsFormData, setActiveStep, formSubmitHandler }) => {\n\tconst userImg = safetyChecklistsFormData.approver?.profileImage;\n\n\tconst userRole = safetyChecklistsFormData.approver?.staffType;\n\n\tconst userName = safetyChecklistsFormData.approver?.firstName + ' ' + safetyChecklistsFormData.approver?.lastName;\n\n\tconst { purpose, checklistItems } = safetyChecklistsFormData;\n\n\tconst renderedChecklistItems = checklistItems?.filter((item) => item.text !== '');\n\n\treturn (\n\t\t<>\n\t\t\t

    Please review your safety checklists.

    \n\n\t\t\t

    \n\t\t\t\tOnce submitted your checklist will be sent to your nominated staff member for approval.\n\t\t\t

    \n\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    Title

    \n\n\t\t\t\t\t\t

    {purpose}

    \n\t\t\t\t\t
    \n\n\t\t\t\t\t{renderedChecklistItems &&\n\t\t\t\t\t\trenderedChecklistItems.length > 0 &&\n\t\t\t\t\t\trenderedChecklistItems.map((item, index) => {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t{item.text && (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t

    Item {index + 1}

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {item.text}

    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t

    Approving staff member

    \n\n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t
      {userName}
      \n\n\t\t\t\t\t\t\t\t
      {userRole}
      \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t}\n\t\t\t\t\tclassName=\"btn-secondary edit-btn\"\n\t\t\t\t\tonClick={() => setActiveStep('step1')}\n\t\t\t\t>\n\t\t\t\t\tEdit details\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t
    \n\t\t\n\t);\n};\n\nexport default StepTwo;\n","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgComments(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13.3333 20.0013H13.35H13.3333ZM20 20.0013H20.0167H20ZM26.6667 20.0013H26.6833H26.6667ZM35 20.0013C35 27.3651 28.2843 33.3346 20 33.3346C17.4345 33.3346 15.0195 32.7621 12.9078 31.7531L5 33.3346L7.32498 27.1346C5.8526 25.0718 5 22.6251 5 20.0013C5 12.6375 11.7157 6.66797 20 6.66797C28.2843 6.66797 35 12.6375 35 20.0013Z\",\n stroke: \"#C8C8C8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgComments);\nexport default __webpack_public_path__ + \"static/media/comments.66403f55.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { v4 as uuid } from 'uuid';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory, useLocation, useParams } from 'react-router-dom';\n\n// COMPONENTS\nimport StepOne from './StepOne';\nimport StepTwo from './StepTwo';\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as ArrowLeftIcon } from '../../assets/svg/chevron-left.svg';\nimport { ReactComponent as ArrowRightIcon } from '../../assets/svg/chevron-right.svg';\nimport { ReactComponent as ArrowLeft } from '../../assets/svg/arrow-left.svg';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport {\n\tSafetyChecklistApproversStaffMember,\n\tSafetyChecklistEditChecklistItem,\n\tSafetyChecklistEditCommand\n} from '../../api/models';\n\nexport interface SafetyChecklists {\n\tid?: string;\n\ttemplateId?: string;\n\tchecklistTemplateId?: string;\n\tpurpose?: string;\n\tchecklistItems: SafetyChecklistEditChecklistItem[];\n\tapproverId?: string;\n\tapprover?: SafetyChecklistApproversStaffMember;\n}\n\nconst SafetyChecklistsSubmit: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Getting the route id\n\tconst params = useParams();\n\n\t// ALL FORMS DATA\n\tconst initialSafetyChecklistsFormData: SafetyChecklists = {\n\t\tid: undefined,\n\t\ttemplateId: undefined,\n\t\tchecklistTemplateId: undefined,\n\t\tpurpose: undefined,\n\t\tchecklistItems: [\n\t\t\t{\n\t\t\t\tid: uuid(),\n\t\t\t\ttext: undefined\n\t\t\t}\n\t\t],\n\t\tapproverId: undefined,\n\t\tapprover: {\n\t\t\tid: undefined,\n\t\t\tfirstName: undefined,\n\t\t\tlastName: undefined,\n\t\t\tprofileImage: undefined,\n\t\t\tstaffType: undefined\n\t\t}\n\t};\n\n\tconst [safetyChecklistsFormData, setSafetyChecklistsFormData] = React.useState(initialSafetyChecklistsFormData);\n\n\tconst { state } = useLocation();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get list of current staff\n\tconst [currentAprroversStaffList, setCurrentApproversStaffList] = React.useState<\n\t\tSafetyChecklistApproversStaffMember[]\n\t>([]);\n\n\tconst getCurrentStaff = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getSafetyChecklistApprovers();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetCurrentApproversStaffList(response.result);\n\t\t}\n\t};\n\n\tconst initialRenderedItemsState = [\n\t\t{\n\t\t\ttext: undefined\n\t\t}\n\t];\n\n\tconst [renderedChecklistItems, setRenderedChecklistItems] = React.useState([\n\t\t...initialRenderedItemsState\n\t]);\n\n\tconst getSafetyChecklistsTemplateItemsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\t// Detect if creating a checklist from a template ( with route id)\n\t\tif (params.id) {\n\t\t\tconst checklistParams = async () => {\n\t\t\t\tif (state && state.fromTemplate) {\n\t\t\t\t\tif (params.id.startsWith('TemplateId=')) {\n\t\t\t\t\t\treturn await apibridge.getSafetyChecklistEdit(``, params.id.split('=')[1]);\n\t\t\t\t\t} else if (params.id.startsWith('ChecklistId=')) {\n\t\t\t\t\t\treturn await apibridge.getSafetyChecklistEdit('', '', params.id.split('=')[1]);\n\t\t\t\t\t}\n\t\t\t\t} else if (params.id.startsWith('TemplateId=')) {\n\t\t\t\t\treturn await apibridge.getSafetyChecklistEdit(``, params.id.split('=')[1]);\n\t\t\t\t} else if (params.id.startsWith('ChecklistId=')) {\n\t\t\t\t\treturn await apibridge.getSafetyChecklistEdit(params.id.split('=')[1], '');\n\t\t\t\t} else {\n\t\t\t\t\tsetSafetyChecklistsFormData((prevState) => ({ ...prevState, checklistTemplateId: params.id }));\n\n\t\t\t\t\treturn await apibridge.getSafetyChecklistEdit(params.id);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tconst response = await checklistParams();\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tconst { checklistItems } = response.result;\n\n\t\t\t\tsetRenderedChecklistItems(checklistItems || []);\n\n\t\t\t\tsetSafetyChecklistsFormData(response.result);\n\n\t\t\t\tif (state && state.fromTemplate) {\n\t\t\t\t\tsetSafetyChecklistsFormData((prevState) => ({ ...prevState, id: '' }));\n\t\t\t\t} else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\t// Detect if creating a checklist from blank ( without route id)\n\t\t\tsetIsLoading(false);\n\n\t\t\tconst data = safetyChecklistsFormData;\n\n\t\t\tconst { checklistItems } = data;\n\n\t\t\tsetRenderedChecklistItems(checklistItems);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetCurrentStaff();\n\t\tgetSafetyChecklistsTemplateItemsData();\n\t}, []);\n\n\tconst formSubmitHandler = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst formData: SafetyChecklistEditCommand = {\n\t\t\tid: safetyChecklistsFormData.id,\n\t\t\tchecklistTemplateId: safetyChecklistsFormData.checklistTemplateId,\n\t\t\ttemplateId: safetyChecklistsFormData.templateId,\n\t\t\tpurpose: safetyChecklistsFormData.purpose,\n\t\t\tchecklistItems: [...renderedChecklistItems],\n\t\t\tapproverId: safetyChecklistsFormData.approverId\n\t\t};\n\n\t\tconst response = await apibridge.postSafetyChecklistEdit(formData);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/safety-checklists');\n\t\t}\n\t};\n\n\t// State to control active step\n\tconst [activeStep, setActiveStep] = React.useState('step1');\n\n\t// Logic for Back Button\n\tconst mobileStepHandler = () => {\n\t\tif (activeStep === 'step2') {\n\t\t\tsetActiveStep('step1');\n\t\t}\n\n\t\tif (activeStep === 'step1') {\n\t\t\thistory.push('/safety-checklists');\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tconst pageState = history.location.state;\n\n\t\tif (pageState === undefined || pageState.activeStep === undefined || pageState.activeStep === null) {\n\t\t\thistory.replace(window.location.pathname, { activeStep });\n\t\t} else if (pageState.activeStep !== activeStep) {\n\t\t\thistory.push(window.location.pathname, { activeStep });\n\t\t}\n\n\t\tlet unlisten = history.listen((location, action) => {\n\t\t\tif (\n\t\t\t\taction === 'POP' &&\n\t\t\t\tlocation.state &&\n\t\t\t\tlocation.state.activeStep !== undefined &&\n\t\t\t\tlocation.state.activeStep !== null\n\t\t\t) {\n\t\t\t\tsetActiveStep(location.state.activeStep);\n\t\t\t}\n\t\t});\n\n\t\treturn unlisten;\n\t}, [activeStep]);\n\n\tconst goBack = () => {\n\t\tmobileStepHandler();\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\n\t\t\t\t

    {params.id ? <>Copy an existing checklist : <>Create a new checklist}

    \n\t\t\t
    \n\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{activeStep === 'step2' ? (\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tYou have added the following items to your checklist. To add more items click on edit details.\n\t\t\t\t\t\t\t\t\t\tOtherwise create your checklist and start marking items off.\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t setActiveStep('step1')}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t1. Checklist details\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t setActiveStep('step2')}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t2. Preview & Submit\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step1' &&
    1. Checklists details
    }\n\n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step2' &&
    2. Review & Submit
    }\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{activeStep === 'step1' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{activeStep === 'step2' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default SafetyChecklistsSubmit;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { SafetyChecklistCommentCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface CommentType {\n\tid: string;\n\tcloseModal?: closeModalType;\n\tcanEdit?: boolean;\n}\n\nconst initialCommentFormData: SafetyChecklistCommentCommand = {\n\tid: undefined,\n\tcomment: undefined\n};\n\nconst CommentModal: React.FC = ({ id, closeModal, canEdit }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up Data state\n\tconst [commentFormData, setCommentFormData] = React.useState(initialCommentFormData);\n\n\t// Set up Read Only state\n\tconst [readonly, setReadonly] = React.useState(false);\n\n\tconst getSafetyChecklistsDetailCommentDetailData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getSafetyChecklistComment(id);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (response.result.comment && response.result.comment.length > 0) {\n\t\t\t\tsetReadonly(true);\n\t\t\t}\n\n\t\t\tsetCommentFormData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetSafetyChecklistsDetailCommentDetailData();\n\t}, []);\n\n\tconst submitHandler = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tsetCommentFormData((prevState) => ({\n\t\t\t...prevState,\n\t\t\tcomment: values.commentInput\n\t\t}));\n\n\t\tconst response = await apibridge.postSafetyChecklistComment({\n\t\t\tid: id,\n\t\t\tcomment: values.commentInput\n\t\t});\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\t\t}\n\t};\n\n\tconst readOnlyHandler = () => {\n\t\tsetTimeout(() => {\n\t\t\tsetReadonly(false);\n\t\t}, 100);\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\tcommentInput: Yup.string().required('Required')\n\t});\n\n\tconst initialValues = {\n\t\tcommentInput: commentFormData.comment\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t{!canEdit ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default CommentModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// COMPONENTS\nimport FileUpload from '../../components/FileUpload';\nimport FilesList from '../../components/FilesList';\nimport ErrorMes from '../../components/ErrorMessage';\n\n// TYPES\nimport { SafetyChecklistAttachmentsAttachment, SafetyChecklistAttachmentDeleteCommand } from '../../api/models';\nimport { FileType } from '../../components/FileUpload';\n\ninterface AttachmentModalTypes {\n\tattachmentId: string;\n\tcanEdit?: boolean;\n}\n\nconst AttachmentModal: React.FC = ({ attachmentId, canEdit }) => {\n\tconst [attachmentModalData, setAttachmentModalData] = React.useState([]);\n\tconst [downloadAllUrl, setDownloadAllUrl] = React.useState('');\n\tconst [updateCount, setUpdateCount] = React.useState(0);\n\tconst [noFiles, setNoFiles] = React.useState(true);\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState();\n\n\tconst getSafetyChecklistsDetailAttachmentDetailData = async () => {\n\t\tconst response = await apibridge.getSafetyChecklistAttachments(attachmentId);\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tif (response.result.attachments && response.result.attachments.length > 0) {\n\t\t\t\tsetAttachmentModalData(response.result.attachments);\n\n\t\t\t\tsetNoFiles(false);\n\t\t\t} else {\n\t\t\t\tsetAttachmentModalData([]);\n\n\t\t\t\tsetNoFiles(true);\n\t\t\t}\n\n\t\t\tsetDownloadAllUrl(response.result.downloadAllUrl);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetSafetyChecklistsDetailAttachmentDetailData();\n\t}, []);\n\n\tconst fileUploadHandler = async (fileName: any, fileData: FileType[]) => {\n\t\tconst response =\n\t\t\tfileName && (await apibridge.postSafetyChecklistAttachmentUpload({ id: attachmentId, fileName: fileName }));\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tgetSafetyChecklistsDetailAttachmentDetailData();\n\t\t}\n\n\t\tsetUpdateCount(updateCount + 1);\n\t};\n\n\tconst fileRemoveHandler = async (file: string) => {\n\t\tconst data: SafetyChecklistAttachmentDeleteCommand = {\n\t\t\tchecklistItemId: attachmentId,\n\t\t\tid: file\n\t\t};\n\n\t\tconst response = await apibridge.postSafetyChecklistAttachmentDelete(data);\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetUpdateCount(updateCount + 1);\n\n\t\t\tgetSafetyChecklistsDetailAttachmentDetailData();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\n\t\t\t\t fileRemoveHandler(val)}\n\t\t\t\t\tfiles={attachmentModalData}\n\t\t\t\t\tmultiple={false}\n\t\t\t\t\tdisabled={!canEdit}\n\t\t\t\t/>\n\n\t\t\t\t
    \n\t\t\t\t\t fileUploadHandler(val, files)}\n\t\t\t\t\t\tdisabled={!canEdit}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t{!!formErrorMessage ? : null}\n\t\t\t{noFiles ? (\n\t\t\t\t<>\n\t\t\t\t\t
    \n\n\t\t\t\t\t

    No attachments have been uploaded

    \n\n\t\t\t\t\t
    \n\t\t\t\t\n\t\t\t) : null}\n\n\t\t\t
    \n\t\t\t\t{attachmentModalData && attachmentModalData.length > 0 && (\n\t\t\t\t\t\n\t\t\t\t\t\tDownload {attachmentModalData.length > 1 ? 'all files' : ''}\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t
    \n\t\t
    \n\t);\n};\n\nexport default AttachmentModal;\n","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgAttachment(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M25.286 11.6667L14.3096 22.643C13.0079 23.9447 13.0079 26.0553 14.3096 27.357C15.6114 28.6588 17.722 28.6588 19.0236 27.357L29.714 16.3807C32.3175 13.7772 32.3175 9.55611 29.714 6.95261C27.1105 4.34913 22.8895 4.34913 20.286 6.95261L9.59556 17.929C5.69031 21.8342 5.69031 28.1658 9.59556 32.071C13.5008 35.9763 19.8325 35.9763 23.7376 32.071L34.1666 21.6667\",\n stroke: \"#C8C8C8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgAttachment);\nexport default __webpack_public_path__ + \"static/media/attachment.0dcd1214.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgTickIcon(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 10,\n height: 9,\n viewBox: \"0 0 10 9\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1 4.3913L3.42424 7L9 1\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgTickIcon);\nexport default __webpack_public_path__ + \"static/media/tick-icon.2581904f.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgPlusIcon(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16.2426 12.0005H7.75736\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 7.75781V16.2431\",\n stroke: \"white\",\n strokeWidth: 1.5,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgPlusIcon);\nexport default __webpack_public_path__ + \"static/media/plus-icon.3298ccc1.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _circle, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgQuestionmark(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 48,\n height: 48,\n viewBox: \"0 0 48 48\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M24 45C35.5981 45 45 35.5981 45 24C45 12.402 35.5981 3 24 3C12.402 3 3 12.402 3 24C3 35.5981 12.402 45 24 45Z\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 23.5,\n cy: 36.5,\n r: 1,\n fill: \"#8E18A8\",\n stroke: \"#8E18A8\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15 16.6667C16.2717 13.9479 19.7029 12 23.7365 12C28.8525 12 33 15.134 33 19C33 22.2653 30.041 25.0086 26.0389 25.7821C24.7828 26.0247 23.5002 27.5446 23.5002 28.8333V31\",\n stroke: \"#8E18A8\",\n strokeWidth: 3,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgQuestionmark);\nexport default __webpack_public_path__ + \"static/media/questionmark.6f8c000e.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _path3, _path4, _path5, _path6, _circle;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgDevice(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 48,\n height: 48,\n viewBox: \"0 0 48 48\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15 32H4C2.89543 32 2 31.1046 2 30V12C2 10.8954 2.89543 10 4 10H29C30.1046 10 31 10.8954 31 12V18\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19 34V20C19 18.8954 19.8954 18 21 18H28\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M43 35V20C43 18.8954 42.1046 18 41 18H30\",\n stroke: \"#8E18A8\",\n strokeWidth: 2\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17.8 35H27.7188V33H17.8V35ZM29.2573 36.5385H33.4883V34.5385H29.2573V36.5385ZM35.0268 35H45.2V33H35.0268V35ZM42.8 37H20.2V39H42.8V37ZM20.2 37C18.985 37 18 36.015 18 34.8H16C16 37.1196 17.8804 39 20.2 39V37ZM45 34.8C45 36.015 44.015 37 42.8 37V39C45.1196 39 47 37.1196 47 34.8H45ZM45.2 35C45.0895 35 45 34.9105 45 34.8H47C47 33.8059 46.1941 33 45.2 33V35ZM35.807 34.2198C35.807 34.6507 35.4577 35 35.0268 35V33C34.3531 33 33.807 33.5461 33.807 34.2198H35.807ZM33.4883 36.5385C34.7689 36.5385 35.807 35.5004 35.807 34.2198H33.807C33.807 34.3958 33.6643 34.5385 33.4883 34.5385V36.5385ZM26.9386 34.2198C26.9386 35.5004 27.9767 36.5385 29.2573 36.5385V34.5385C29.0813 34.5385 28.9386 34.3958 28.9386 34.2198H26.9386ZM27.7188 35C27.2879 35 26.9386 34.6507 26.9386 34.2198H28.9386C28.9386 33.5461 28.3925 33 27.7188 33V35ZM17.8 33C16.8059 33 16 33.8059 16 34.8H18C18 34.9105 17.9105 35 17.8 35V33Z\",\n fill: \"#8E18A8\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M9 38H12.4545M14.5 38H12.4545M13.5455 33L12.4545 38\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2 25C1.44772 25 1 25.4477 1 26C1 26.5523 1.44772 27 2 27V25ZM15 27C15.5523 27 16 26.5523 16 26C16 25.4477 15.5523 25 15 25V27ZM2 27H15V25H2V27Z\",\n fill: \"#8E18A8\"\n })), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 31,\n cy: 21,\n r: 1,\n fill: \"#8E18A8\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgDevice);\nexport default __webpack_public_path__ + \"static/media/device.155edc18.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link, useHistory, useParams } from 'react-router-dom';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport GlobalModal from '../../components/GlobalModal';\nimport CommentModal from './CommentModal';\nimport AttachmentModal from './AttachmentModal';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as CommentIcon } from '../../assets/svg/comments.svg';\nimport { ReactComponent as AttachmentIcon } from '../../assets/svg/attachment.svg';\nimport { ReactComponent as TickIcon } from '../../assets/svg/tick-icon.svg';\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus-icon.svg';\nimport { ReactComponent as QuestionMarkIcon } from '../../assets/svg/questionmark.svg';\nimport { ReactComponent as DownloadIcon } from '../../assets/svg/download.svg';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport {\n\tDomainChecklistActionStatus,\n\tSafetyChecklistChecklistSafetyChecklist,\n\tDomainChecklistStatusType\n} from '../../api/models';\n\nconst SafetyChecklistsDetail: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Get Id from params\n\tconst params = useParams();\n\tconst checklistId = params.id;\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up Data state and Initial Data\n\tconst initialData = {\n\t\tid: undefined,\n\t\tidentifier: undefined,\n\t\tpurpose: undefined,\n\t\ttemplate: undefined,\n\t\tstatus: undefined,\n\t\tcreator: undefined,\n\t\tstatusDescription: undefined,\n\t\tadditionalComments: undefined,\n\t\tchecklistItems: []\n\t};\n\n\tconst [safetyChecklistsDetailData, setSafetyChecklistsDetailData] =\n\t\tReact.useState(initialData);\n\n\tconst getSafetyChecklistsDetailData = async (useLoading: boolean = true) => {\n\t\tif (useLoading) {\n\t\t\tsetIsLoading(true);\n\t\t}\n\n\t\tconst response = await apibridge.getSafetyChecklistChecklist(checklistId);\n\n\t\tresponse.result = response.result || initialData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetSafetyChecklistsDetailData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetSafetyChecklistsDetailData();\n\t}, []);\n\n\tconst {\n\t\tid,\n\t\tidentifier,\n\t\tcreator,\n\t\tstatus,\n\t\tstatusDescription,\n\t\ttemplate,\n\t\tcanApprove,\n\t\tcanEdit,\n\t\tchecklistItems,\n\t\tpurpose,\n\t\tadditionalComments\n\t} = safetyChecklistsDetailData!;\n\n\t// Submit form data\n\tconst onFormSubmit = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst submitData = {\n\t\t\tid: params.id,\n\t\t\tadditionalComments: values.additionalCommentsInput\n\t\t};\n\n\t\tconst response = !canApprove\n\t\t\t? await apibridge.postSafetyChecklistSubmit(submitData)\n\t\t\t: await apibridge.postSafetyChecklistApprove(submitData);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/safety-checklists');\n\n\t\t\tuseUpdateTotalNotification();\n\t\t}\n\t};\n\n\t// Validation\n\tconst validationSchema = Yup.object({\n\t\tadditionalCommentsInput: Yup.string().required('Required')\n\t});\n\n\t// Initial values\n\tconst initialDetailFormValues = {\n\t\tadditionalCommentsInput: additionalComments\n\t};\n\n\t// Update Checklist status\n\tconst updateStatus = async (id: string, status: DomainChecklistActionStatus) => {\n\t\tconst checklistStatusData = {\n\t\t\tid: id,\n\t\t\tstatus: status\n\t\t};\n\n\t\tconst response = await apibridge.postSafetyChecklistAction(checklistStatusData);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\t// OnChange Handler logic for checklist Items\n\tconst onChangeYesHandler = (id: string) => {\n\t\tupdateStatus(id, 'Yes');\n\n\t\tconst newData = { ...safetyChecklistsDetailData };\n\n\t\tconst { checklistItems } = newData;\n\n\t\tconst newCheckListItems = checklistItems?.map((item) => {\n\t\t\tif (item.id === id) {\n\t\t\t\treturn {\n\t\t\t\t\t...item,\n\t\t\t\t\tstatus: DomainChecklistActionStatus.Yes\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\treturn {\n\t\t\t\t\t...item\n\t\t\t\t};\n\t\t\t}\n\t\t});\n\n\t\tconst finalData = { ...newData, checklistItems: newCheckListItems };\n\n\t\tsetSafetyChecklistsDetailData(finalData);\n\t};\n\n\tconst onChangeNoHandler = (id: string) => {\n\t\tupdateStatus(id, 'No');\n\n\t\tconst newData = { ...safetyChecklistsDetailData };\n\n\t\tconst { checklistItems } = newData;\n\n\t\tconst newCheckListItems = checklistItems?.map((item) => {\n\t\t\tif (item.id === id) {\n\t\t\t\treturn {\n\t\t\t\t\t...item,\n\t\t\t\t\tstatus: DomainChecklistActionStatus.No\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\treturn {\n\t\t\t\t\t...item\n\t\t\t\t};\n\t\t\t}\n\t\t});\n\n\t\tconst finalData = { ...newData, checklistItems: newCheckListItems };\n\n\t\tsetSafetyChecklistsDetailData(finalData);\n\t};\n\n\tconst onChangeNAHandler = (id: string) => {\n\t\tupdateStatus(id, 'NotApplicable');\n\n\t\tconst newData = { ...safetyChecklistsDetailData };\n\n\t\tconst { checklistItems } = newData;\n\n\t\tconst newCheckListItems = checklistItems?.map((item) => {\n\t\t\tif (item.id === id) {\n\t\t\t\treturn {\n\t\t\t\t\t...item,\n\t\t\t\t\tstatus: DomainChecklistActionStatus.NotApplicable\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\treturn {\n\t\t\t\t\t...item\n\t\t\t\t};\n\t\t\t}\n\t\t});\n\n\t\tconst finalData = { ...newData, checklistItems: newCheckListItems };\n\n\t\tsetSafetyChecklistsDetailData(finalData);\n\t};\n\n\t// State to manage Modal and pass in id\n\tconst [isMounted, setIsMounted] = React.useState(false);\n\n\tconst [showCommentModal, setShowCommentModal] = React.useState(false);\n\n\tconst [commentId, setCommentId] = React.useState('');\n\n\tconst commentModalControl = (itemId: string | undefined) => {\n\t\tif (itemId !== undefined) {\n\t\t\tsetCommentId(itemId);\n\t\t\tsetShowCommentModal(true);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (showCommentModal === false && isMounted === true) {\n\t\t\tgetSafetyChecklistsDetailData(false);\n\t\t}\n\n\t\tsetIsMounted(true);\n\t}, [showCommentModal]);\n\n\tconst [showAttachmentModal, setShowAttachmentModal] = React.useState(false);\n\n\tconst [attachmentId, setAttachmentId] = React.useState('');\n\n\tconst attachmentModalControl = (itemId: string | undefined) => {\n\t\tif (itemId !== undefined) {\n\t\t\tsetAttachmentId(itemId);\n\t\t\tsetShowAttachmentModal(true);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (showAttachmentModal === false && isMounted === true) {\n\t\t\tgetSafetyChecklistsDetailData(false);\n\t\t}\n\n\t\tsetIsMounted(true);\n\t}, [showAttachmentModal]);\n\n\treturn (\n\t\t
    \n\t\t\t\n\t\t\t\t{(formik) => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t{!!formErrorMessage ? (\n\t\t\t\t\t\t\t\t
    {formErrorMessage}
    \n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Checklist purpose

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {purpose}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tMark items off your checklist and once completed submit your checklist for approval.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tOnce submitted your checklist will be sent to your nominated staff member for approval.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Created by
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {creator}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    ID
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {identifier}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Template
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {template ? template : 'None'}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Status
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {statusDescription}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit checklist\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Checklist items

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{checklistItems &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tchecklistItems.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tchecklistItems.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.text}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t onChangeYesHandler(item.id!)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t onChangeNoHandler(item.id!)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\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\t\t\t\t\t\t\t\t\t\t\t\t attachmentModalControl(item.id)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisabled={!isOrganisationActive}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.attachments === 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.attachments}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{safetyChecklistsDetailData.status === DomainChecklistStatusType.Approved ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t Download Checklist Summary\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : canApprove ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{canEdit ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit for approval\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{canApprove ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Not ready to approve this checklist?

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tPlease discuss any required changes to this checklist with the staff member who created\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tit.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
    \n\t\t\t\t\t);\n\t\t\t\t}}\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default SafetyChecklistsDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface AcceptModalTypes {\n\ttitle?: string;\n\tpolicyId?: string;\n\tcloseModal?: closeModalType;\n\tgetPoliciesUserData: () => Promise;\n}\n\nconst AcceptModal: React.FC = ({ title, policyId, closeModal, getPoliciesUserData }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst acceptPolicy = async () => {\n\t\tif (policyId) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.acceptPolicy({ id: policyId });\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\n\t\t\t\tgetPoliciesUserData();\n\n\t\t\t\tuseUpdateTotalNotification();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to accept '{title}'\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default AcceptModal;\n","var _path, _path2, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgDocument(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z\",\n fill: \"url(#paint0_linear_2331_32331)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17 20H23H17ZM17 24H23H17ZM25 29H15C13.8954 29 13 28.1046 13 27V13C13 11.8954 13.8954 11 15 11H20.5858C20.851 11 21.1054 11.1054 21.2929 11.2929L26.7071 16.7071C26.8946 16.8946 27 17.149 27 17.4142V27C27 28.1046 26.1046 29 25 29Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_2331_32331\",\n x1: 5.74936,\n y1: 1.71842,\n x2: 29.1145,\n y2: 28.3324,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgDocument);\nexport default __webpack_public_path__ + \"static/media/document.f4daccbc.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { Link, useLocation } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport StatusIcon from '../../components/StatusIcon';\nimport Button from '../../components/Button';\nimport DisplayDate from '../../components/DisplayDate';\nimport DisplayDateExpiry from '../../components/DisplayDateExpiry';\nimport NoInfoMessage from '../../components/NoInfoMessage';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport GlobalModal from '../../components/GlobalModal';\nimport AcceptModal from './AcceptModal';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\nimport { ReactComponent as DownloadIcon } from '../../assets/svg/download.svg';\nimport { ReactComponent as SwitchUserIcon } from '../../assets/svg/switch-user.svg';\nimport { ReactComponent as SwitchIcon } from '../../assets/svg/switch.svg';\nimport { ReactComponent as DeviceIcon } from '../../assets/svg/device.svg';\n\n// TYPES\nimport { PolicyAdminDashboardPolicy, PolicyUserDashboardAcknowledgement } from '../../api/models';\n\nconst Policies: React.FC = () => {\n\tconst dispatch = useAppDispatch();\n\tconst location = useLocation();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Check if User is Organisation Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// Check if User is viewing Policy as an Admin or not\n\tconst viewPoliciesAsAdmin = useAppSelector((state) => state.user.viewPoliciesAsAdmin);\n\n\t// State to control Modals\n\tconst [showAcceptModal, setShowAcceptModal] = React.useState(false);\n\n\tconst [policyId, setPolicyId] = React.useState('');\n\tconst [policyTitle, setPolicyTitle] = React.useState('');\n\n\t// Set up Admin Data state and initial Admin data\n\tconst [policiesAdminData, setPoliciesAdminData] = React.useState([]);\n\n\tconst getPoliciesAdminData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getPoliciesAdminData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetPoliciesAdminData(response.result);\n\t\t}\n\t};\n\n\t// Set up User Data state and initial User data\n\tconst [policiesUserData, setPoliciesUserData] = React.useState([]);\n\n\tconst getPoliciesUserData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getPoliciesUserData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetPoliciesUserData(response.result);\n\t\t}\n\t};\n\n\t// Check if User follow the user-view Link from Dashboard\n\tReact.useEffect(() => {\n\t\tif (location.pathname === '/policies/user-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewPoliciesAsAdmin: false }));\n\n\t\t\tgetPoliciesUserData();\n\t\t} else if (isOrganisationAdmin && location.pathname === '/policies/admin-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewPoliciesAsAdmin: true }));\n\n\t\t\tgetPoliciesAdminData();\n\t\t}\n\t}, []);\n\n\t// Load data based on which view is loaded\n\tReact.useEffect(() => {\n\t\tif (isOrganisationAdmin && viewPoliciesAsAdmin) {\n\t\t\tgetPoliciesAdminData();\n\t\t} else {\n\t\t\tgetPoliciesUserData();\n\t\t}\n\n\t\tsetIsLoading(false);\n\t}, []);\n\n\t// State to manage maximum number of items per section\n\tconst defaultMaxItems: number = 5;\n\n\t// FILTER ADMIN VIEW DATA\n\tconst archivedPoliciesAdminData = policiesAdminData.filter((item) => item.status === 'Archived');\n\tconst notArchivedPoliciesAdminData = policiesAdminData.filter((item) => item.status === 'Active');\n\n\tconst expiredPoliciesAdminData = notArchivedPoliciesAdminData.filter((item) => item.isExpired === true);\n\tconst activePoliciesAdminData = notArchivedPoliciesAdminData.filter((item) => item.isExpired === false);\n\n\tconst [maxExpiredPolicies, setMaxExpiredPolicies] = React.useState(defaultMaxItems);\n\tconst [maxActivePolicies, setMaxActivePolicies] = React.useState(defaultMaxItems);\n\tconst [maxArchivedPolicies, setMaxArchivedPolicies] = React.useState(defaultMaxItems);\n\n\t// FILTER USER VIEW DATA\n\tconst activePoliciesUserData = policiesUserData.filter((item) => item.status === 'Active');\n\tconst archivedPoliciesUserData = policiesUserData.filter((item) => item.status === 'Archived');\n\n\t// User Accept Policies logic\n\tconst acceptHandler = async (item?: PolicyUserDashboardAcknowledgement) => {\n\t\tsetShowAcceptModal(true);\n\n\t\tsetPolicyTitle(item?.title || '');\n\n\t\tsetPolicyId(item?.id || '');\n\t};\n\n\t// SWITCH ROLE FUNCTION\n\tconst switchRole = () => {\n\t\tif (isOrganisationAdmin) {\n\t\t\tif (viewPoliciesAsAdmin) {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewPoliciesAsAdmin: false }));\n\n\t\t\t\tgetPoliciesUserData();\n\t\t\t} else {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewPoliciesAsAdmin: true }));\n\n\t\t\t\tgetPoliciesAdminData();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t<>\n\t\t\t\t\t{isOrganisationAdmin && viewPoliciesAsAdmin ? (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Switch device

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\tTo provide our users with the best experience, some features of ChildAware{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\tare only available to use on a laptop or similar desktop{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\tcomputer.\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tYour organisation’s child safety policies are listed below. You can upload a new policy, manage\n\t\t\t\t\t\t\t\t\t\t\texisting policies, access policy templates and assign policies to users within your organisation.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tAs a Leader you can upload and manage your organisation’s policies and\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tassign policies to staff, parents, children, volunteers and visitors for review and\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tacceptance.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou must also review and accept policies assigned to you by your\n\t\t\t\t\t\t\t\t\t\t\t\t\t\torganisation. Click on ‘View my policies’ to switch roles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{policiesAdminData && policiesAdminData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tUpload new policy\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{expiredPoliciesAdminData && expiredPoliciesAdminData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Expired
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{expiredPoliciesAdminData.slice(0, maxExpiredPolicies).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.title}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Expired
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Last updated
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tUpdate\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item && item.attachmentUrl && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDownload\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxExpiredPolicies < expiredPoliciesAdminData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxExpiredPolicies(expiredPoliciesAdminData.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {expiredPoliciesAdminData.length - maxExpiredPolicies} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{activePoliciesAdminData && activePoliciesAdminData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Active
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{activePoliciesAdminData.slice(0, maxActivePolicies).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.title}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Expiry
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxActivePolicies < activePoliciesAdminData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxActivePolicies(activePoliciesAdminData.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {activePoliciesAdminData.length - maxActivePolicies} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{archivedPoliciesAdminData && archivedPoliciesAdminData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Archived
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{archivedPoliciesAdminData.slice(0, maxArchivedPolicies).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxArchivedPolicies < archivedPoliciesAdminData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxArchivedPolicies(archivedPoliciesAdminData.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {archivedPoliciesAdminData.length - maxArchivedPolicies} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not yet submitted any Policies.\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit new policy\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Policy templates

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\tIf you need assistance with policies for your organisation, review our helpful policy\n\t\t\t\t\t\t\t\t\t\t\t\t\ttemplates.\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tView Policy templates\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t) : (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tYour organisation has assigned the following child safety policies to you for your review and\n\t\t\t\t\t\t\t\t\t\t\tacceptance.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tBelow are the policies assigned to you by your organisation to review and\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taccept.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAs a Leader, you can also manage your organisation’s policies. Click on\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t‘Manage policies’ to switch roles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{policiesUserData && policiesUserData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{activePoliciesUserData && activePoliciesUserData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    To review and accept
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{activePoliciesUserData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.title}
    \n\n\t\t\t\t\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\t\t\t\t\tDownload\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{archivedPoliciesUserData && archivedPoliciesUserData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Available to view
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{archivedPoliciesUserData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.title}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item && item.attachmentUrl && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDownload\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t)}\n\t\t\t\t\n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default Policies;\n","import * as React from 'react';\n\n// COMPONENTS\nimport ReadActivity from './ReadActivity';\nimport UpdateActivity from './UpdateActivity';\n\n// TYPES\nimport { FeedbackActionsAction } from '../../../api/models';\nimport { closeModalType } from '../../../components/GlobalModal';\n\nexport enum ViewTypes {\n\tCreate = 'showCreate',\n\tRead = 'showRead'\n}\n\nconst defaultViewTypes = {\n\t[ViewTypes.Create]: false,\n\t[ViewTypes.Read]: false\n};\n\ntype ShowViewType = (type: string) => void;\n\ninterface FeedbackProgressModalTypes {\n\tviewType: ViewTypes;\n\tactivity?: FeedbackActionsAction;\n\tcloseModal?: closeModalType;\n\trefreshFeedbackProgress: (feedbackId: string | undefined) => Promise;\n\tfeedbackId?: string;\n}\n\nexport interface FeedbackProgressViewTypes {\n\tactivity?: FeedbackActionsAction;\n\tshowView: ShowViewType;\n\tcloseModal?: closeModalType;\n\trefreshFeedbackProgress: (feedbackId: string | undefined) => Promise;\n\tfeedbackId?: string;\n}\n\nconst FeedbackProgressModal: React.FC = ({\n\tviewType,\n\tactivity,\n\tcloseModal,\n\trefreshFeedbackProgress,\n\tfeedbackId\n}) => {\n\tconst [state, setState] = React.useState({ ...defaultViewTypes, [viewType || ViewTypes.Read]: true });\n\n\tconst showView: ShowViewType = (viewType) => {\n\t\tsetState({ ...defaultViewTypes, [viewType]: true });\n\t};\n\n\tif (state.showCreate) {\n\t\treturn (\n\t\t\t\n\t\t);\n\t} else if (state.showRead) {\n\t\tif (activity) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\t} else return null;\n\t} else {\n\t\treturn null;\n\t}\n};\n\nexport default FeedbackProgressModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport NoInfoMessage from '../../components/NoInfoMessage';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as DocumentIcon } from '../../assets/svg/document.svg';\n\n// TYPES\nimport { PolicyPolicyTemplatesPolicyTemplate } from '../../api/models';\n\nconst PolicyTemplates: React.FC = () => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up data state\n\tconst [policyTemplatesData, setPolicyTemplatesData] = React.useState([]);\n\n\tconst getPolicyTemplatesData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getPolicyTemplatesData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetPolicyTemplatesData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetPolicyTemplatesData();\n\t}, []);\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tChildAware has created the following policy templates which your organisation may find useful when\n\t\t\t\t\t\t\t\t\tdrafting or updating your policies.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t{policyTemplatesData && policyTemplatesData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Templates

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{policyTemplatesData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.title}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item && item.attachmentUrl && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDownload\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default PolicyTemplates;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { useHistory } from 'react-router';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\nimport { PolicyArchiveCommand } from '../../api/models';\n\ninterface ArchiveModalTypes {\n\ttitle?: string;\n\tpolicyId?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst ArchiveModal: React.FC = ({ title, policyId, closeModal }) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst archivePolicy = async () => {\n\t\tif (policyId) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst data: PolicyArchiveCommand = { id: policyId };\n\n\t\t\tconst response = await apibridge.archivePolicy(data);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\n\t\t\t\thistory.push('/policies');\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to archive '{title}'\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default ArchiveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { checkAndLogErrors } from '../../utils';\n\n// PACKAGES\nimport { useHistory } from 'react-router';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport ErrorMessage from '../../components/ErrorMessage';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\nimport { PolicyReinstateCommand } from '../../api/models';\n\ninterface ReInstateModalTypes {\n\ttitle?: string;\n\tpolicyId?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst ReInstateModal: React.FC = ({ title, policyId, closeModal }) => {\n\tconst history = useHistory();\n\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst reInstatePolicy = async () => {\n\t\tif (policyId) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst data: PolicyReinstateCommand = { id: policyId };\n\n\t\t\tconst response = await apibridge.reInstatePolicy(data);\n\n\t\t\tif (response.isError) {\n\t\t\t\tcheckAndLogErrors(response);\n\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetShowError(true);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetShowError(false);\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\n\t\t\t\thistory.push('/policies');\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{showError ? (\n\t\t\t\t\n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to Re-instate{' '}\n\t\t\t\t\t\t\t\t\t'{title}'\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default ReInstateModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport SingleSelect from '../../components/SingleSelect';\nimport FileUpload from '../../components/FileUpload';\nimport GlobalModal from '../../components/GlobalModal';\nimport ArchiveModal from './ArchiveModal';\nimport ReInstateModal from './ReInstateModal';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport DisplayDate from '../../components/DisplayDate';\nimport DateInput from '../../components/DateInput';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport { PolicyEditCommand } from '../../api/models';\n\nconst PolicySubmit: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get Id from params\n\tconst params = useParams();\n\tconst policyId = params.id;\n\n\t// Get all Policy Access Types from Redux Store\n\tconst policyAccessTypes = useAppSelector((state) => state.lists.policyAccessTypes);\n\n\t// State to control Modals\n\tconst [showArchiveModal, setShowArchiveModal] = React.useState(false);\n\tconst [showReInstateModal, setShowReInstateModal] = React.useState(false);\n\n\t// Set up data state and initial data\n\tconst initialPoliciesDetailData: PolicyEditCommand = {\n\t\tid: undefined,\n\t\ttitle: undefined,\n\t\tstatus: undefined,\n\t\texpiryDate: undefined,\n\t\tleadershipTeamAccess: undefined,\n\t\tstaffAccess: undefined,\n\t\tsiteVisitorAccess: undefined,\n\t\tparentAccess: undefined,\n\t\tvolunteerAccess: undefined,\n\t\tchildrenAccess: undefined,\n\t\tfileName: undefined,\n\t\tisDocumentUpdated: undefined,\n\t\tdisplayFileName: undefined,\n\t\tattachmentUrl: undefined,\n\t\tversions: [],\n\t\tupdated: undefined\n\t};\n\n\tconst [policiesFormData, setPoliciesFormData] = React.useState(initialPoliciesDetailData);\n\n\tconst getPoliciesDetailsData = async () => {\n\t\tif (policyId) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getPoliciesDetailsData(policyId);\n\n\t\t\tresponse.result = response.result || initialPoliciesDetailData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetPoliciesFormData(response.result);\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetPoliciesFormData(initialPoliciesDetailData);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetPoliciesDetailsData();\n\t}, []);\n\n\tconst {\n\t\tid,\n\t\ttitle,\n\t\texpiryDate,\n\t\tleadershipTeamAccess,\n\t\tstaffAccess,\n\t\tsiteVisitorAccess,\n\t\tvolunteerAccess,\n\t\tparentAccess,\n\t\tchildrenAccess,\n\t\tversions,\n\t\tstatus,\n\t\tdisplayFileName,\n\t\tattachmentUrl,\n\t\tfileName,\n\t\tupdated\n\t} = policiesFormData;\n\n\tconst submitPolicy = async (policiesFormData: PolicyEditCommand) => {\n\t\tif (policiesFormData !== undefined) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.submitPolicy(policiesFormData);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\thistory.push('/policies');\n\t\t\t}\n\t\t}\n\t};\n\n\tconst onFormSubmit = (values: any) => {\n\t\tconst data: PolicyEditCommand = {\n\t\t\t...policiesFormData,\n\n\t\t\ttitle: values.titleInput,\n\t\t\texpiryDate: values.expiryDateInput,\n\t\t\tleadershipTeamAccess: values.leadershipTeamAccessInput,\n\t\t\tstaffAccess: values.staffAccessInput,\n\t\t\tsiteVisitorAccess: values.siteVisitorAccessInput,\n\t\t\tparentAccess: values.parentAccessInput,\n\t\t\tchildrenAccess: values.childrenAccessInput,\n\t\t\tvolunteerAccess: values.parentVolunteerAccessInput,\n\n\t\t\tfileName: values.fileNameInput !== policiesFormData.displayFileName ? values.fileNameInput : '',\n\t\t\tdisplayFileName: '',\n\t\t\tattachmentUrl: ''\n\t\t};\n\n\t\tsubmitPolicy(data);\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\ttitleInput: Yup.string().required('Required'),\n\t\texpiryDateInput: Yup.string().required('Required'),\n\t\tfileNameInput: Yup.string().required('Required'),\n\t\tleadershipTeamAccessInput: Yup.string().required('Required'),\n\t\tstaffAccessInput: Yup.string().required('Required'),\n\t\tsiteVisitorAccessInput: Yup.string().required('Required'),\n\t\tparentAccessInput: Yup.string().required('Required'),\n\t\tchildrenAccessInput: Yup.string().required('Required'),\n\t\tparentVolunteerAccessInput: Yup.string().required('Required')\n\t});\n\n\tconst initialValues = {\n\t\ttitleInput: title || '',\n\t\texpiryDateInput: expiryDate || '',\n\t\tfileNameInput: fileName || '',\n\t\tleadershipTeamAccessInput: leadershipTeamAccess || '',\n\t\tstaffAccessInput: staffAccess || '',\n\t\tsiteVisitorAccessInput: siteVisitorAccess || '',\n\t\tparentAccessInput: parentAccess || '',\n\t\tchildrenAccessInput: childrenAccess || '',\n\t\tparentVolunteerAccessInput: volunteerAccess || ''\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{status === 'Archived' && (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    This policy is archived

    \n\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tyou will need to re-instate it to make it available to users again.\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{updated && (\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tUpdated {updated}\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('fileNameInput', vals)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfiles={\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisplayFileName\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? [{ id: displayFileName, displayFileName: displayFileName, link: attachmentUrl }]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: []\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('expiryDateInput', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\texcludePast={true}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Policy access

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('leadershipTeamAccessInput', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('staffAccessInput', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('siteVisitorAccessInput', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('parentVolunteerAccessInput', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('parentAccessInput', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('childrenAccessInput', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{versions && versions.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Version history
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{versions.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Version {item.versionNumber}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t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t\t{isOrganisationActive && status === 'Active' && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Need to archive this policy completely?

    \n\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tYou can archive this policy to make it unavailable to all users, however it will be kept on file\n\t\t\t\t\t\t\t\t\t\t\tfor future reference.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default PolicySubmit;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { Link, useLocation } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport StatusIcon from '../../components/StatusIcon';\nimport Button from '../../components/Button';\nimport DisplayDate from '../../components/DisplayDate';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\nimport { ReactComponent as SwitchUserIcon } from '../../assets/svg/switch-user.svg';\nimport { ReactComponent as SwitchIcon } from '../../assets/svg/switch.svg';\n\n// TYPES\nimport { FeedbackAdminDashboardFeedback, FeedbackUserDashboardFeedback, DomainFeedbackStatus } from '../../api/models';\n\nconst Feedback: React.FC = () => {\n\tconst dispatch = useAppDispatch();\n\tconst location = useLocation();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Check if User is Organisation Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// Check if User is viewing Feedback as an Admin or not\n\tconst viewFeedbackAsAdmin = useAppSelector((state) => state.user.viewFeedbackAsAdmin);\n\n\t// Set up Admin Data state and initial Admin data\n\tconst [adminFeedbackData, setAdminFeedbackData] = React.useState([]);\n\n\tconst getAdminFeedbackData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getAdminFeedbackData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetAdminFeedbackData(response.result);\n\t\t}\n\t};\n\n\t// Set up User Data state and initial User data\n\tconst [userFeedbackData, setUserFeedbackData] = React.useState([]);\n\n\tconst getUserFeedbackData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getUserFeedbackData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetUserFeedbackData(response.result);\n\t\t}\n\t};\n\n\t// Check if User follow the user-view Link from Dashboard\n\tReact.useEffect(() => {\n\t\tif (location.pathname === '/feedback/user-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewFeedbackAsAdmin: false }));\n\n\t\t\tgetUserFeedbackData();\n\t\t} else if (isOrganisationAdmin && location.pathname === '/feedback/admin-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewFeedbackAsAdmin: true }));\n\n\t\t\tgetAdminFeedbackData();\n\t\t}\n\t}, []);\n\n\t// Load data based on which view is loaded\n\tReact.useEffect(() => {\n\t\tif (isOrganisationAdmin && viewFeedbackAsAdmin) {\n\t\t\tgetAdminFeedbackData();\n\t\t} else {\n\t\t\tgetUserFeedbackData();\n\t\t}\n\n\t\tsetIsLoading(false);\n\t}, []);\n\n\tconst defaultMaxItems: number = 5;\n\n\t// FILTER ADMIN DATA\n\tconst submittedAdminFeedbackData = adminFeedbackData.filter(\n\t\t(item) => item?.status === DomainFeedbackStatus.Submitted\n\t);\n\tconst inProgressAdminFeedbackData = adminFeedbackData.filter(\n\t\t(item) => item?.status === DomainFeedbackStatus.InProgress\n\t);\n\tconst resolvedAdminFeedbackData = adminFeedbackData.filter(\n\t\t(item) => item?.status === DomainFeedbackStatus.Resolved || item?.status === DomainFeedbackStatus.Withdrawn\n\t);\n\n\t// State to manage maximum number of Admin items per section\n\tconst [maxAdminSubmittedFeedback, setMaxAdminSubmittedFeedback] = React.useState(defaultMaxItems);\n\tconst [maxAdminInProgressFeedback, setMaxAdminInProgressFeedback] = React.useState(defaultMaxItems);\n\tconst [maxAdminResolvedFeedback, setMaxAdminResolvedFeedback] = React.useState(defaultMaxItems);\n\n\t// FILTER USER DATA\n\tconst submittedUserFeedbackData = userFeedbackData.filter((item) => item?.status === DomainFeedbackStatus.Submitted);\n\tconst inProgressUserFeedbackData = userFeedbackData.filter(\n\t\t(item) => item?.status === DomainFeedbackStatus.InProgress\n\t);\n\tconst resolvedUserFeedbackData = userFeedbackData.filter(\n\t\t(item) => item?.status === DomainFeedbackStatus.Resolved || item?.status === DomainFeedbackStatus.Withdrawn\n\t);\n\n\t// State to manage maximum number of User items per section\n\tconst [maxUserSubmittedFeedback, setMaxUserSubmittedFeedback] = React.useState(defaultMaxItems);\n\tconst [maxUserInProgressFeedback, setMaxUserInProgressFeedback] = React.useState(defaultMaxItems);\n\tconst [maxUserResolvedFeedback, setMaxUserResolvedFeedback] = React.useState(defaultMaxItems);\n\n\t// Switch Role Function\n\tconst switchRole = () => {\n\t\tif (isOrganisationAdmin) {\n\t\t\tif (viewFeedbackAsAdmin) {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewFeedbackAsAdmin: false }));\n\n\t\t\t\tgetUserFeedbackData();\n\t\t\t} else {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewFeedbackAsAdmin: true }));\n\n\t\t\t\tgetAdminFeedbackData();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{isOrganisationAdmin && viewFeedbackAsAdmin ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tFeedback is a vital way for organisations to improve child safety. As a Leader, you can view and\n\t\t\t\t\t\t\t\t\t\t\tmanage feedback received by your organisation.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tBelow is the feedback that your organisation has received. As a Leader, you\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcan view and manage this feedback.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou can also submit and view your own feedback. Click on ‘View my feedback’\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tto switch roles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{adminFeedbackData && adminFeedbackData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit feedback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{submittedAdminFeedbackData && submittedAdminFeedbackData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tNew\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{submittedAdminFeedbackData.length}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{submittedAdminFeedbackData.slice(0, maxAdminSubmittedFeedback).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\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\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxAdminSubmittedFeedback < submittedAdminFeedbackData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxAdminSubmittedFeedback(submittedAdminFeedbackData.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {submittedAdminFeedbackData.length - maxAdminSubmittedFeedback} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{inProgressAdminFeedbackData && inProgressAdminFeedbackData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    In Progress
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{inProgressAdminFeedbackData.slice(0, maxAdminInProgressFeedback).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.subject}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Last updated
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    By
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.creator}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Days open
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxAdminInProgressFeedback < inProgressAdminFeedbackData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxAdminInProgressFeedback(inProgressAdminFeedbackData.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {inProgressAdminFeedbackData.length - maxAdminInProgressFeedback} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{resolvedAdminFeedbackData && resolvedAdminFeedbackData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Resolved
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{resolvedAdminFeedbackData.slice(0, maxAdminResolvedFeedback).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.subject}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.status === DomainFeedbackStatus.Resolved ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Resolved
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.status === DomainFeedbackStatus.Withdrawn ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Withdrawn
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    By
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.creator}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Days open
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxAdminResolvedFeedback < resolvedAdminFeedbackData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxAdminResolvedFeedback(resolvedAdminFeedbackData.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {resolvedAdminFeedbackData.length - maxAdminResolvedFeedback} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not yet submitted any Feedback.\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit feedback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tFeedback is a vital way for organisations to improve child safety. As a member of your\n\t\t\t\t\t\t\t\t\t\t\torganisation, you can submit feedback and view your own feedback.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tBelow is the feedback that you have submitted to your\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\torganisation.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAs a Leader, you can also view and manage feedback received by your\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\torganisation. Click on ‘Manage feedback’ to switch roles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{userFeedbackData && userFeedbackData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit feedback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{submittedUserFeedbackData && submittedUserFeedbackData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tNew\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{submittedUserFeedbackData.length}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{submittedUserFeedbackData.slice(0, maxUserSubmittedFeedback).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.subject}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Submitted
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Days open
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxUserSubmittedFeedback < submittedUserFeedbackData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxUserSubmittedFeedback(submittedUserFeedbackData.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {submittedUserFeedbackData.length - maxUserSubmittedFeedback} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{inProgressUserFeedbackData && inProgressUserFeedbackData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    In Progress
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{inProgressUserFeedbackData.slice(0, maxUserInProgressFeedback).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.subject}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Last updated
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Days open
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxUserInProgressFeedback < inProgressUserFeedbackData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxUserInProgressFeedback(inProgressUserFeedbackData.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {inProgressUserFeedbackData.length - maxUserInProgressFeedback} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{resolvedUserFeedbackData && resolvedUserFeedbackData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Resolved
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{resolvedUserFeedbackData.slice(0, maxUserResolvedFeedback).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.subject}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.status === DomainFeedbackStatus.Resolved ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Resolved
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.status === DomainFeedbackStatus.Withdrawn ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Withdrawn
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Days open
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxUserResolvedFeedback < resolvedUserFeedbackData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxUserResolvedFeedback(resolvedUserFeedbackData.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {resolvedUserFeedbackData.length - maxUserResolvedFeedback} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not yet submitted any Feedback.\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit feedback\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default Feedback;\n","import * as React from 'react';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport SafeHtml from '../../../components/SafeHtml';\nimport DownloadLink from '../../../components/DownloadLink';\nimport DisplayDateTime from '../../../components/DisplayDateTime';\n\n// TYPES\nimport { FeedbackProgressViewTypes } from './FeedbackProgressModal';\n\nconst ReadActivity: React.FC = ({ activity = {}, closeModal }) => {\n\tconst { title, occurrence, description, attachments, creator } = activity;\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    {title}

    \n\n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t

    Logged By

    \n\n\t\t\t\t

    {creator}

    \n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t

    Description of action taken

    \n\n\t\t\t\t{description ? {description} :

    None

    }\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t

    Attachments

    \n\n\t\t\t\t{attachments && attachments.length > 0 ? (\n\t\t\t\t\t
      \n\t\t\t\t\t\t{attachments.map((attachment, index) => (\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t))}\n\t\t\t\t\t
    \n\t\t\t\t) : (\n\t\t\t\t\t

    None

    \n\t\t\t\t)}\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t);\n};\n\nexport default ReadActivity;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { useFormik } from 'formik';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport FileUpload from '../../../components/FileUpload';\nimport FilesList from '../../../components/FilesList';\nimport Button from '../../../components/Button';\nimport DateTimeInput from '../../../components/DateTimeInput';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// TYPES\nimport { FeedbackProgressViewTypes } from './FeedbackProgressModal';\nimport { FeedbackLogActionCommand } from '../../../api/models';\n\nconst UpdateActivity: React.FC = ({\n\tactivity = {},\n\tcloseModal,\n\trefreshFeedbackProgress,\n\tfeedbackId\n}) => {\n\tconst { title = '', occurrence = '', description = '', attachments = [], creator = '' } = activity;\n\tconst createAttachments: FeedbackLogActionCommand['createAttachments'] = [];\n\tconst id = feedbackId;\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst logFeedbackProgress = async (values: FeedbackLogActionCommand) => {\n\t\tif (values !== undefined) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.logFeedbackProgress(values);\n\n\t\t\tresponse.result = response.result || [];\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst logProgress = async (values: FeedbackLogActionCommand) => {\n\t\tawait logFeedbackProgress(values);\n\n\t\trefreshFeedbackProgress(id);\n\n\t\tif (closeModal) {\n\t\t\tcloseModal();\n\t\t}\n\t};\n\n\tconst initialValues: FeedbackLogActionCommand = {\n\t\tid,\n\t\ttitle,\n\t\toccurrence,\n\t\tdescription,\n\t\tcreateAttachments\n\t};\n\n\tconst formik = useFormik({\n\t\tinitialValues,\n\t\tvalidate: (values) => {\n\t\t\tconst errors: any = {};\n\n\t\t\tif (!values.title) {\n\t\t\t\terrors.title = 'Required';\n\t\t\t}\n\n\t\t\tif (!values.description) {\n\t\t\t\terrors.description = 'Required';\n\t\t\t}\n\n\t\t\treturn errors;\n\t\t},\n\t\tonSubmit: (values) => {\n\t\t\tlogProgress(values);\n\t\t}\n\t});\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{formik.touched.title && formik.errors.title ? (\n\t\t\t\t\t\t\t\t\t\t
    {formik.errors.title}
    \n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('occurrence', val)}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{formik.touched.description && formik.errors.description ? (\n\t\t\t\t\t\t\t\t\t\t
    {formik.errors.description}
    \n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('deleteAttachmentIds', vals)}\n\t\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('createAttachments', vals)}\n\t\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\t\tmaxSizeMb={5}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default UpdateActivity;\n","var _path, _path2, _path3, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgAnonymousIcon(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z\",\n fill: \"url(#paint0_linear_1242_11256)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M21.8756 26.8246C21.2684 26.9398 20.6418 27 20.0012 27C15.5235 27 11.7332 24.0571 10.459 20C10.8059 18.8955 11.3392 17.8736 12.0222 16.9712M14.5899 14.5892L11.0007 11M14.5899 14.5892C16.1497 13.5835 18.0073 13 20.0011 13C24.4788 13 28.2691 15.9429 29.5433 20C28.8364 22.2507 27.3552 24.1585 25.4119 25.4112M14.5899 14.5892L25.4119 25.4112M25.4119 25.4112L29.0007 29\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M22.2424 22.364C23.414 21.1924 23.414 19.2929 22.2424 18.1213C21.0708 16.9497 19.1714 16.9497 17.9998 18.1213L22.2424 22.364Z\",\n fill: \"white\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1242_11256\",\n x1: 5.74936,\n y1: 1.71842,\n x2: 29.1145,\n y2: 28.3324,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgAnonymousIcon);\nexport default __webpack_public_path__ + \"static/media/anonymous-icon.88a836c4.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport GlobalModal from '../../../components/GlobalModal';\nimport DisplayDateTime from '../../../components/DisplayDateTime';\nimport FeedbackProgressModal, { ViewTypes } from './FeedbackProgressModal';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../../assets/svg/plus.svg';\n\n// TYPES\nimport { FeedbackActionsAction } from '../../../api/models';\n\ninterface FeedbackProgressType {\n\tfeedbackId?: string;\n\tcanUpdate?: boolean;\n\tfeedbackProgressData: FeedbackActionsAction[];\n\tgetFeedbackProgress: (id: string | undefined) => Promise;\n\tfeedbackProgressFormErrorMessage?: string;\n\tisLoading: boolean;\n}\n\nexport const FeedbackProgress: React.FC = ({\n\tfeedbackId,\n\tcanUpdate,\n\tfeedbackProgressData,\n\tgetFeedbackProgress,\n\tfeedbackProgressFormErrorMessage,\n\tisLoading\n}) => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Set up Modal States\n\tconst [showCreateModal, setShowCreateModal] = React.useState(false);\n\n\tconst [showReadModal, setShowReadModal] = React.useState(false);\n\n\tconst [modalData, setModalData] = React.useState();\n\n\tconst createItem = () => {\n\t\tsetShowReadModal(false);\n\n\t\tsetShowCreateModal(true);\n\t};\n\n\tconst readItem = (index: number) => {\n\t\tconst item = feedbackProgressData[index];\n\n\t\tsetModalData(item);\n\n\t\tsetShowCreateModal(false);\n\n\t\tsetShowReadModal(true);\n\t};\n\n\treturn (\n\t\t\n\t);\n};\n\nexport default FeedbackProgress;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport moment from 'moment';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { FeedbackResolveCommand } from '../../api/models';\n\ninterface ResolveModalTypes {\n\tfeedbackOccurrence?: string;\n\tfeedbackId?: string;\n}\n\nconst ResolveModal: React.FC = ({ feedbackOccurrence, feedbackId }) => {\n\tconst history = useHistory();\n\n\t// Get all Feedback Resolution from Redux store\n\tconst feedbackResolutions = useAppSelector((state) => state.lists.feedbackResolutions);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\t// Set up data state and initial data\n\tconst initialFeedbackResolveFormData: FeedbackResolveCommand = {\n\t\tid: feedbackId,\n\t\toccurrence: feedbackOccurrence,\n\t\tresolution: undefined,\n\t\tnotes: ''\n\t};\n\n\tconst [feedbackResolveFormData, setFeedbackResolveFormData] = React.useState(initialFeedbackResolveFormData);\n\n\tconst displayActions = (value: string | undefined) => {\n\t\tif (value !== undefined) {\n\t\t\tif (value === 'InsufficientInformation') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tInsufficient information — No further action required\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else if (value === 'FurtherEnquiriesMade') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tFurther enquiries made — No further action required\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else if (value === 'ActionTaken') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tAction taken — Please describe below\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else if (value === 'EscalatedToIncident') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tEscalated to an incident report\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else if (value === 'EscalatedToComplaint') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tEscalated to a complaint\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else if (value === 'Other') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tOther... — Please describe below\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t};\n\n\tconst resolveFeedback = async (feedbackResolveFormData: FeedbackResolveCommand) => {\n\t\tif (feedbackResolveFormData !== undefined) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.resolveFeedback(feedbackResolveFormData);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\thistory.push('/feedback');\n\n\t\t\t\tuseUpdateTotalNotification();\n\t\t\t}\n\t\t}\n\t};\n\n\tconst submitHandler = (values: any) => {\n\t\tconst data: FeedbackResolveCommand = {\n\t\t\t...feedbackResolveFormData,\n\n\t\t\tid: feedbackId,\n\t\t\toccurrence: moment().format('YYYY-MM-DDTHH:mm:ss'),\n\t\t\tresolution: values.resolutionInput,\n\t\t\tnotes: values.notesInput\n\t\t};\n\n\t\tsetFeedbackResolveFormData(data);\n\n\t\tresolveFeedback(data);\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\tresolutionInput: Yup.string().required('Required'),\n\t\tnotesInput: Yup.string().when('resolutionInput', {\n\t\t\tis: (resolutionInput: string) => resolutionInput === 'ActionTaken' || resolutionInput === 'Other',\n\t\t\tthen: Yup.string().required('Required')\n\t\t})\n\t});\n\n\tconst initialValues = {\n\t\tresolutionInput: feedbackResolveFormData.resolution,\n\t\tnotesInput: feedbackResolveFormData.notes\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t{feedbackResolutions &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfeedbackResolutions.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfeedbackResolutions.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('resolutionInput', item.value)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ResolveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// PACKAGES\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\nimport { FeedbackWithdrawCommand } from '../../api/models';\n\ninterface WithdrawModalTypes {\n\tfeedbackId?: string;\n\tcloseModal?: closeModalType;\n\tsubject?: string;\n}\n\nconst WithdrawModal: React.FC = ({ feedbackId, closeModal, subject }) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst withdrawFeedback = async () => {\n\t\tif (feedbackId !== undefined) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst data: FeedbackWithdrawCommand = { id: feedbackId };\n\n\t\t\tconst response = await apibridge.withdrawFeedback(data);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\thistory.push('/feedback');\n\n\t\t\t\tuseUpdateTotalNotification();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to withdraw '{subject}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tif (closeModal) {\n\t\t\t\t\t\t\t\t\t\t\t\tcloseModal();\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tCancel\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default WithdrawModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport FeedbackProgress from './FeedbackProgress/FeedbackProgress';\nimport GlobalModal from '../../components/GlobalModal';\nimport ResolveModal from './ResolveModal';\nimport WithdrawModal from './WithdrawModal';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as DownloadIcon } from '../../assets/svg/download.svg';\n\n// TYPES\nimport { FeedbackActionsAction, FeedbackFetchFeedback } from '../../api/models';\nimport { RouteParams } from '../../Interfaces';\n\nconst FeedbackDetail: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [feedbackDetailFormErrorMessage, setFeedbackDetailFormErrorMessage] = React.useState('');\n\n\tconst [feedbackProgressFormErrorMessage, setFeedbackProgressFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get Feedback ID from params\n\tconst params = useParams();\n\tconst feedbackId = params.id;\n\n\t// Set up data state and initial data\n\tconst initialFeedbackDetailData: FeedbackFetchFeedback = {\n\t\tid: undefined,\n\t\tidentifier: undefined,\n\t\tsubject: undefined,\n\t\tcategory: undefined,\n\t\tstatus: undefined,\n\t\tcategoryDescription: undefined,\n\t\tstatusDescription: undefined,\n\t\tcreator: undefined,\n\t\toccurrence: undefined,\n\t\tsummary: undefined,\n\t\tsummaryUrl: undefined,\n\t\tattachments: [],\n\t\tisResponseRequired: undefined,\n\t\tisAnonymous: undefined,\n\t\tanonymousContact: undefined,\n\t\tcanViewActions: undefined,\n\t\tcanWithdraw: undefined\n\t};\n\n\t// State to control modal\n\tconst [showResolveModal, setShowResolveModal] = React.useState(false);\n\n\tconst [showWithdrawModal, setShowWithdrawModal] = React.useState(false);\n\n\t// Set up Feedback Detail Data state\n\tconst [feedbackDetailData, setFeedbackDetailData] = React.useState(initialFeedbackDetailData);\n\n\tconst getFeedbackDetailsData = async (feedbackId: string) => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getFeedbackDetailsData(feedbackId);\n\n\t\tresponse.result = response.result || initialFeedbackDetailData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFeedbackDetailFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFeedbackDetailData(response.result);\n\t\t}\n\t};\n\n\t// Set up Feedback Progress Data state\n\tconst [feedbackProgressData, setFeedbackProgressData] = React.useState([]);\n\n\tconst getFeedbackProgress = async (id: string | undefined) => {\n\t\tif (id) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getFeedbackProgress(id);\n\n\t\t\tresponse.result = response.result || [];\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFeedbackProgressFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFeedbackProgressData(response.result);\n\t\t\t}\n\t\t}\n\t};\n\n\t// Combine 2 api call to hide and show loading spinner at the same time\n\tconst getFeedbackDetailDashboardData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tawait getFeedbackDetailsData(feedbackId);\n\n\t\tawait getFeedbackProgress(feedbackId);\n\n\t\tsetIsLoading(false);\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetFeedbackDetailDashboardData();\n\t}, []);\n\n\tconst {\n\t\tid,\n\t\tidentifier,\n\t\tresolver,\n\t\tsubject,\n\t\tcreator,\n\t\tcategory,\n\t\tstatus,\n\t\tcategoryDescription,\n\t\tstatusDescription,\n\t\toccurrence,\n\t\tsummary,\n\t\tsummaryUrl,\n\t\tattachments,\n\t\tisResponseRequired,\n\t\tisAnonymous,\n\t\tanonymousContact,\n\t\tcanUpdate,\n\t\tcanViewActions,\n\t\tcanWithdraw\n\t} = feedbackDetailData;\n\n\treturn (\n\t\t
    \n\t\t\t{!!feedbackDetailFormErrorMessage ? (\n\t\t\t\t
    {feedbackDetailFormErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t

    {subject}

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Submitted by
    \n\t\t\t\t\t\t\t\t\t\t\t
    {creator}
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    FeedbackID
    \n\t\t\t\t\t\t\t\t\t\t\t
    {identifier}
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Category
    \n\t\t\t\t\t\t\t\t\t\t\t
    {categoryDescription}
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Status
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t{resolver ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tResolved by {resolver}{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>{statusDescription}\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{canWithdraw && (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && canUpdate && (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{isAnonymous && anonymousContact && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Submitted by

    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Anonymous ({anonymousContact})

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Date and time of relevant event

    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Feedback summary

    \n\t\t\t\t\t\t\t\t\t\t\t

    {summary}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{attachments && attachments.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Attachments

    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Is a response required?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {isResponseRequired ? 'Yes' : 'No'}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tDownload Feedback Summary\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t{canViewActions && (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default FeedbackDetail;\n","import * as React from 'react';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { Link } from 'react-router-dom';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport DateTimeInput from '../../components/DateTimeInput';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport SingleSelect from '../../components/SingleSelect';\nimport FileUpload from '../../components/FileUpload';\n\n// ICONS\nimport { ReactComponent as QuestionMarkIcon } from '../../assets/svg/questionmark.svg';\n\n// TYPES\nimport { FeedbackFormTypes } from './FeedbackSubmit';\n\ninterface StepOneTypes {\n\tfeedbackFormData: FeedbackFormTypes;\n\tsetFeedbackFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n}\n\nconst StepOne: React.FC = ({ feedbackFormData, setFeedbackFormData, setActiveStep }) => {\n\tconst feedbackCategories = useAppSelector((state) => state.lists.feedbackCategories);\n\n\tconst onSubmitStepOne = (values: any) => {\n\t\tsetActiveStep('step2');\n\n\t\twindow.scrollTo(0, 0);\n\n\t\tsetFeedbackFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\tsubject: values.subjectInput,\n\t\t\toccurrence: values.occurrenceInput,\n\t\t\tcategory: values.categoryInput,\n\t\t\tsummary: values.summaryInput,\n\t\t\tanonymously: values.anonymouslyInput,\n\t\t\tanonymousContact: values.anonymousContactInput,\n\t\t\tisResponseRequired: values.isResponseRequiredInput,\n\t\t\tcreateAttachments: values.createAttachments,\n\t\t\tattachments: values.attachments\n\t\t}));\n\t};\n\n\tconst validationSchemaStepOne = Yup.object({\n\t\tsubjectInput: Yup.string().required('Required'),\n\t\toccurrenceInput: Yup.string().required('Required'),\n\t\tcategoryInput: Yup.string().required('Required'),\n\t\tsummaryInput: Yup.string().required('Required'),\n\t\tanonymouslyInput: Yup.boolean().required('Required'),\n\t\tisResponseRequiredInput: Yup.boolean().required('Required')\n\t});\n\n\tconst initialValuesStepOne = {\n\t\tsubjectInput: feedbackFormData.subject,\n\t\toccurrenceInput: feedbackFormData.occurrence,\n\t\tcategoryInput: feedbackFormData.category,\n\t\tsummaryInput: feedbackFormData.summary,\n\t\tanonymouslyInput: feedbackFormData.anonymously,\n\t\tanonymousContactInput: feedbackFormData.anonymousContact,\n\t\tisResponseRequiredInput: feedbackFormData.isResponseRequired,\n\t\tcreateAttachments: feedbackFormData.createAttachments,\n\t\tattachments: feedbackFormData.attachments\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('occurrenceInput', val)}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('categoryInput', val)}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('createAttachments', vals);\n\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('attachments', files);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\tfiles={formik.values.attachments}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('anonymouslyInput', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('anonymouslyInput', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t{formik.values.anonymouslyInput === true && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('isResponseRequiredInput', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('isResponseRequiredInput', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t

    When to submit Feedback

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tFeedback is an important way for organisations to improve safety practices. You may have observed a\n\t\t\t\t\t\t\t\t\tsafety risk or have a suggestion about what could be done better to improve children’s safety.\n\t\t\t\t\t\t\t\t\tChildAware organisations welcome feedback as part of their commitment to continuous improvement. If\n\t\t\t\t\t\t\t\t\tyour concern is of a serious nature or relates to a specific incident, it may be appropriate to submit\n\t\t\t\t\t\t\t\t\ta \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tComplaint\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t  instead.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tNote: If a child is in immediate danger, call police or emergency services on 000.\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default StepOne;\n","var _path, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgTick(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13 20.6522L17.2424 25L27 15\",\n stroke: \"#E1E1E1\",\n strokeWidth: 2,\n strokeLinecap: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20 39C9.50659 39 1 30.4934 1 20H-1C-1 31.598 8.40202 41 20 41V39ZM39 20C39 30.4934 30.4934 39 20 39V41C31.598 41 41 31.598 41 20H39ZM20 1C30.4934 1 39 9.50659 39 20H41C41 8.40202 31.598 -1 20 -1V1ZM20 -1C8.40202 -1 -1 8.40202 -1 20H1C1 9.50659 9.50659 1 20 1V-1Z\",\n fill: \"#E1E1E1\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgTick);\nexport default __webpack_public_path__ + \"static/media/tick.b28620a6.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link, useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport Button from '../../components/Button';\nimport CircleImage from '../../components/CircleImage';\n\n// ICONS\nimport { ReactComponent as ArrowLeftIcon } from '../../assets/svg/chevron-left.svg';\nimport { ReactComponent as QuestionMarkIcon } from '../../assets/svg/questionmark.svg';\nimport { ReactComponent as AnonymousIcon } from '../../assets/svg/anonymous-icon.svg';\n\n// TYPES\nimport { FeedbackCreateCommand, DomainFeedbackCategory } from '../../api/models';\nimport { FeedbackFormTypes } from './FeedbackSubmit';\n\ninterface StepTwoTypes {\n\tfeedbackFormData: FeedbackFormTypes;\n\tsetActiveStep: React.Dispatch>;\n\n\tisLoading: boolean;\n\tsetIsLoading: React.Dispatch>;\n}\n\nconst StepTwo: React.FC = ({ feedbackFormData, setActiveStep, isLoading, setIsLoading }) => {\n\tconst history = useHistory();\n\n\tconst user = useAppSelector(({ user }) => user);\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Get all Feedback Categories from Redux store\n\tconst feedbackCategories = useAppSelector((state) => state.lists.feedbackCategories);\n\n\t// Error state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\t// Logic to find the role of the submitter from store.\n\tconst userActiveProfileId = user.activeProfileId;\n\tconst allProfiles = user.profiles;\n\tconst activeProfile = allProfiles?.find((item) => item.id === userActiveProfileId);\n\tconst feedbackSubmissionRoleName = activeProfile?.roleName;\n\n\tconst {\n\t\tsubject,\n\t\toccurrence,\n\t\tcategory,\n\t\tsummary,\n\t\tcreateAttachments,\n\t\tanonymously,\n\t\tanonymousContact,\n\t\tisResponseRequired,\n\t\tattachments\n\t} = feedbackFormData;\n\n\tconst createFeedback = async (feedbackFormData: FeedbackCreateCommand) => {\n\t\tif (feedbackFormData !== undefined) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.createFeedback(feedbackFormData);\n\n\t\t\tresponse.result = response.result || [];\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\thistory.push('/feedback');\n\n\t\t\t\tuseUpdateTotalNotification();\n\t\t\t}\n\t\t}\n\t};\n\n\tconst displayCategory = (category?: DomainFeedbackCategory) => {\n\t\tif (category) {\n\t\t\tconst currentCategory = feedbackCategories?.find((item) => item.value === category);\n\t\t\treturn currentCategory?.label;\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t<>\n\t\t\t\t\t

    Please review your feedback before submitting.

    \n\n\t\t\t\t\t

    \n\t\t\t\t\t\tThe leadership team for this organisation will be notified of your feedback. If you are submitting this\n\t\t\t\t\t\tfeedback anonymously, the leadership team cannot see who has submitted the feedback.\n\t\t\t\t\t

    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Subject

    \n\n\t\t\t\t\t\t\t\t

    {subject}

    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Date and time of relevant event

    \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Category

    \n\n\t\t\t\t\t\t\t\t

    {displayCategory(category)}

    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Feedback Summary

    \n\n\t\t\t\t\t\t\t\t

    {summary}

    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t{attachments && attachments.length > 0 && (\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    Attachments

    \n\n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t{attachments.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.displayFileName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Feedback submission by

    \n\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t{anonymously ? (\n\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t
      Anonymous
      \n\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t{user.firstName} {user.lastName}\n\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t
      {feedbackSubmissionRoleName}
      \n\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Is the feedback required to be anonymous?

    \n\n\t\t\t\t\t\t\t\t

    {anonymously ? 'Yes' : 'No'}

    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t{anonymously && anonymousContact && (\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    Anonymous contact detail

    \n\n\t\t\t\t\t\t\t\t\t

    {anonymousContact}

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Is a response required?

    \n\n\t\t\t\t\t\t\t\t

    {isResponseRequired ? 'Yes' : 'No'}

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    When to submit Feedback

    \n\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\tFeedback is an important way for organisations to improve safety practices. You may have observed a\n\t\t\t\t\t\t\t\tsafety risk or have a suggestion about what could be done better to improve children’s safety.\n\t\t\t\t\t\t\t\tChildAware organisations welcome feedback as part of their commitment to continuous improvement. If your\n\t\t\t\t\t\t\t\tconcern is of a serious nature or relates to a specific incident, it may be appropriate to submit\n\t\t\t\t\t\t\t\ta \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\tComplaint\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t  instead.\n\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\tNote: If a child is in immediate danger, call police or emergency services on 000.\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t}\n\t\t\t\t\t\t\tclassName=\"btn-secondary edit-btn\"\n\t\t\t\t\t\t\tonClick={() => setActiveStep('step1')}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tEdit details\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t\n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default StepTwo;\n","import * as React from 'react';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport StepOne from './StepOne';\nimport StepTwo from './StepTwo';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as ArrowLeftIcon } from '../../assets/svg/chevron-left.svg';\nimport { ReactComponent as ArrowRightIcon } from '../../assets/svg/chevron-right.svg';\nimport { ReactComponent as ArrowLeft } from '../../assets/svg/arrow-left.svg';\n\n// TYPES\nimport { DomainFeedbackCategory } from '../../api/models';\nimport { FileType } from '../../components/FileUpload';\n\nexport interface FeedbackFormTypes {\n\tsubject?: string;\n\toccurrence?: string;\n\tcategory?: DomainFeedbackCategory;\n\tsummary?: string;\n\tanonymously?: boolean;\n\tisResponseRequired?: boolean;\n\tanonymousContact?: string;\n\tcreateAttachments?: string[];\n\tattachments: FileType[];\n}\n\nconst FeedbackSubmit: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\t// Set up Form State and initial Form Data\n\tconst initialFeedbackFormData: FeedbackFormTypes = {\n\t\tsubject: '',\n\t\toccurrence: '',\n\t\tcategory: undefined,\n\t\tsummary: '',\n\t\tanonymously: false,\n\t\tanonymousContact: undefined,\n\t\tisResponseRequired: true,\n\t\tcreateAttachments: [],\n\t\tattachments: []\n\t};\n\n\tconst [feedbackFormData, setFeedbackFormData] = React.useState(initialFeedbackFormData);\n\n\t// State to control active step\n\tconst [activeStep, setActiveStep] = React.useState('step1');\n\n\t// Logic for Back Button\n\tconst mobileStepHandler = () => {\n\t\tif (activeStep === 'step2') {\n\t\t\tsetActiveStep('step1');\n\t\t}\n\n\t\tif (activeStep === 'step1') {\n\t\t\thistory.push('/feedback');\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tconst pageState = history.location.state;\n\n\t\tif (pageState === undefined || pageState.activeStep === undefined || pageState.activeStep === null) {\n\t\t\thistory.replace(window.location.pathname, { activeStep });\n\t\t} else if (pageState.activeStep !== activeStep) {\n\t\t\thistory.push(window.location.pathname, { activeStep });\n\t\t}\n\n\t\tlet unlisten = history.listen((location, action) => {\n\t\t\tif (\n\t\t\t\taction === 'POP' &&\n\t\t\t\tlocation.state &&\n\t\t\t\tlocation.state.activeStep !== undefined &&\n\t\t\t\tlocation.state.activeStep !== null\n\t\t\t) {\n\t\t\t\tsetActiveStep(location.state.activeStep);\n\t\t\t}\n\t\t});\n\n\t\treturn unlisten;\n\t}, [activeStep]);\n\n\tconst goBack = () => {\n\t\tmobileStepHandler();\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\n\t\t\t\t

    Submit feedback

    \n\t\t\t
    \n\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t setActiveStep('step1')}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t1. Feedback\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t setActiveStep('step2')}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t2. Review & Submit\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step1' &&
    1. Feedback details
    }\n\n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step2' &&
    2. Review & Submit
    }\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{activeStep === 'step1' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{activeStep === 'step2' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default FeedbackSubmit;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { Link, useLocation } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport StatusIcon from '../../components/StatusIcon';\nimport Button from '../../components/Button';\nimport DisplayDate from '../../components/DisplayDate';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\nimport { ReactComponent as DownloadIcon } from '../../assets/svg/download.svg';\nimport { ReactComponent as SwitchUserIcon } from '../../assets/svg/switch-user.svg';\nimport { ReactComponent as SwitchIcon } from '../../assets/svg/switch.svg';\n\n// TYPES\nimport { DomainProfileType, IncidentAdminDashboardIncident, IncidentUserDashboardIncident } from '../../api/models';\n\nconst IncidentReports = () => {\n\tconst dispatch = useAppDispatch();\n\tconst location = useLocation();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Check if User is Organisation Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// Check if User is viewing Incident as an Admin or not\n\tconst viewIncidentAsAdmin = useAppSelector((state) => state.user.viewIncidentAsAdmin);\n\n\t// Check Profile Type of the Active User\n\tconst activeProfileType = useAppSelector((state) => state.user.activeProfileType);\n\n\t// State to manage maximum number of items per section\n\tconst defaultMaxItems: number = 5;\n\n\t// Set up Admin Data state and initial Admin data\n\tconst [adminIncidentReportsData, setAdminIncidentReportsData] = React.useState([]);\n\n\tconst getAdminIncidentReportsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getAdminIncidentReportsData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetAdminIncidentReportsData(response.result);\n\t\t}\n\t};\n\n\t// Set up User Data state and initial User data\n\tconst [userIncidentReportsData, setUserIncidentReportsData] = React.useState([]);\n\n\tconst getUserIncidentReportsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getUserIncidentReportsData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetUserIncidentReportsData(response.result);\n\t\t}\n\t};\n\n\t// Check if User follow the user-view Link from Dashboard\n\tReact.useEffect(() => {\n\t\tif (location.pathname === '/incident-reports/user-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewIncidentAsAdmin: false }));\n\n\t\t\tgetUserIncidentReportsData();\n\t\t} else if (isOrganisationAdmin && location.pathname === '/incident-reports/admin-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewIncidentAsAdmin: true }));\n\n\t\t\tgetAdminIncidentReportsData();\n\t\t}\n\t}, []);\n\n\t// Load data based on which view is loaded\n\tReact.useEffect(() => {\n\t\tif (isOrganisationAdmin && viewIncidentAsAdmin) {\n\t\t\tgetAdminIncidentReportsData();\n\t\t} else {\n\t\t\tgetUserIncidentReportsData();\n\t\t}\n\n\t\tsetIsLoading(false);\n\t}, []);\n\n\t// FILTER ADMIN DATA\n\tconst newAdminIncidentReportsData = adminIncidentReportsData.filter((item) => item.isAcknowledged === false);\n\tconst acknowledgedAdminIncidentReportsData = adminIncidentReportsData.filter((item) => item.isAcknowledged === true);\n\n\tconst [maxNewAdminIncidentReports, setMaxNewAdminIncidentReports] = React.useState(defaultMaxItems);\n\tconst [maxAcknowledgedAdminIncidentReports, setMaxAcknowledgedAdminIncidentReports] =\n\t\tReact.useState(defaultMaxItems);\n\n\t// FILTER USER DATA\n\tconst newUserIncidentReportsData = userIncidentReportsData.filter((item) => item.isAcknowledged === false);\n\tconst acknowledgedUserIncidentReportsData = userIncidentReportsData.filter((item) => item.isAcknowledged === true);\n\n\tconst [maxNewUserIncidentReports, setMaxNewUserIncidentReports] = React.useState(defaultMaxItems);\n\tconst [maxAcknowledgedUserIncidentReports, setMaxAcknowledgedUserIncidentReports] =\n\t\tReact.useState(defaultMaxItems);\n\n\t// Switch Role Function\n\tconst switchRole = () => {\n\t\tif (isOrganisationAdmin) {\n\t\t\tif (viewIncidentAsAdmin) {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewIncidentAsAdmin: false }));\n\n\t\t\t\tgetUserIncidentReportsData();\n\t\t\t} else {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewIncidentAsAdmin: true }));\n\n\t\t\t\tgetAdminIncidentReportsData();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{isOrganisationAdmin && viewIncidentAsAdmin ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tIncident reports record child safety incidents – whether minor or serious – within your\n\t\t\t\t\t\t\t\t\t\t\torganisation. You can submit an incident report, view reports submitted by you and acknowledge\n\t\t\t\t\t\t\t\t\t\t\treports assigned to you.{' '}\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tBelow are all incident reports submitted throughout your organisation. As a{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tLeader you can view and acknowledge incident reports.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou can also view incident reports submitted by you or{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tassigned to you for acknowledgement. Click on ‘View my incident reports’ to\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tswitch roles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{adminIncidentReportsData && adminIncidentReportsData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t(activeProfileType === DomainProfileType.SuperAdministrator ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveProfileType === DomainProfileType.Staff) && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit incident report\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{newAdminIncidentReportsData && newAdminIncidentReportsData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tIn Progress\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{newAdminIncidentReportsData.length}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{newAdminIncidentReportsData.slice(0, maxNewAdminIncidentReports).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.title}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Date Created
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    By
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.creator}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isArchivedIncident ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxNewAdminIncidentReports < newAdminIncidentReportsData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxNewAdminIncidentReports(newAdminIncidentReportsData.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {newAdminIncidentReportsData.length - maxNewAdminIncidentReports} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{acknowledgedAdminIncidentReportsData && acknowledgedAdminIncidentReportsData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Acknowledged
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{acknowledgedAdminIncidentReportsData\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.slice(0, maxAcknowledgedAdminIncidentReports)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.title}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Date Created
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    By
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.creator}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isArchivedIncident ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxAcknowledgedAdminIncidentReports < acknowledgedAdminIncidentReportsData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetMaxAcknowledgedAdminIncidentReports(acknowledgedAdminIncidentReportsData.length)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {acknowledgedAdminIncidentReportsData.length - maxAcknowledgedAdminIncidentReports}{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmore\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{(activeProfileType === DomainProfileType.SuperAdministrator ||\n\t\t\t\t\t\t\t\t\t\t\t\t\tactiveProfileType === DomainProfileType.Staff) && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not yet submitted any Incident Reports.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit incident report\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tIncident reports record child safety incidents – whether minor or serious – within your\n\t\t\t\t\t\t\t\t\t\t\torganisation. You can submit an incident report, view reports submitted by you and acknowledge\n\t\t\t\t\t\t\t\t\t\t\treports assigned to you.{' '}\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tBelow are incident reports submitted by you or{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tassigned to you for acknowledgement.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAs a Leader, you can also view all incident reports submitted throughout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tyour organisation. Click on ‘Manage incident reports’ to switch roles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{userIncidentReportsData && userIncidentReportsData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t(activeProfileType === DomainProfileType.SuperAdministrator ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveProfileType === DomainProfileType.Staff) && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit incident report\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{newUserIncidentReportsData && newUserIncidentReportsData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tIn Progress\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{newUserIncidentReportsData.length}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{newUserIncidentReportsData.slice(0, maxNewUserIncidentReports).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.title}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Date Created
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    By
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.creator}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isArchivedIncident ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxNewUserIncidentReports < newUserIncidentReportsData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxNewUserIncidentReports(newUserIncidentReportsData.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {newUserIncidentReportsData.length - maxNewUserIncidentReports} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{acknowledgedUserIncidentReportsData && acknowledgedUserIncidentReportsData.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Acknowledged
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{acknowledgedUserIncidentReportsData\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.slice(0, maxAcknowledgedUserIncidentReports)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.title}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Date Created
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    By
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.creator}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isArchivedIncident ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxAcknowledgedUserIncidentReports < acknowledgedUserIncidentReportsData.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetMaxAcknowledgedUserIncidentReports(acknowledgedUserIncidentReportsData.length)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {acknowledgedUserIncidentReportsData.length - maxAcknowledgedUserIncidentReports}{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmore\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{(activeProfileType === DomainProfileType.SuperAdministrator ||\n\t\t\t\t\t\t\t\t\t\t\t\t\tactiveProfileType === DomainProfileType.Staff) && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not yet submitted any Incident Reports.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit incident report\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default IncidentReports;\n","import * as React from 'react';\n\n// COMPONENTS\nimport Button from './Button';\n\n// ICONS\nimport { ReactComponent as CrossIcon } from '../assets/svg/close-small.svg';\n\nimport { ReactComponent as DownloadIcon } from '../assets/svg/download.svg';\n\n// TYPES\ninterface FileType {\n\tid?: string;\n\tdisplayFileName?: string;\n\tlink?: string;\n\tname?: string;\n\tsize?: number;\n\ttype?: string;\n\tuploadInProgress?: boolean;\n\tpercentComplete?: number;\n}\n\ninterface DownloadRemoveLinkTypes {\n\tfiles?: FileType[];\n\tonChange?: any;\n\tmultiple?: boolean;\n\tdisabled?: boolean;\n\tdownloadOnly?: boolean;\n}\n\n// NOTE: files are always passed in as an array, whether there are 1 or many\n// The return for the callback will be a string or an array - depending on the multiple property\n\nexport const DownloadRemoveLink: React.FC = ({\n\tfiles,\n\tonChange,\n\tmultiple = false,\n\tdisabled,\n\tdownloadOnly\n}) => {\n\tconst [removedFileIds, setRemovedFileIds] = React.useState([]);\n\n\tconst removeFile = (id: string | undefined) => {\n\t\tif (id !== undefined) {\n\t\t\tconst newRemovedFileIds = removedFileIds.slice();\n\t\t\tnewRemovedFileIds.push(id);\n\t\t\tif (onChange) {\n\t\t\t\tif (multiple) {\n\t\t\t\t\t// if multiple - return an array of ids\n\t\t\t\t\tonChange(newRemovedFileIds);\n\t\t\t\t} else {\n\t\t\t\t\t// if single - return only id\n\t\t\t\t\tonChange(id);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tsetRemovedFileIds(newRemovedFileIds);\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{files &&\n\t\t\t\tfiles.length > 0 &&\n\t\t\t\tfiles.map((file, index) => {\n\t\t\t\t\tif (!removedFileIds.includes(file.id || '')) {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t{file.displayFileName ? file.displayFileName : file.name}\n\t\t\t\t\t\t\t\t{file.uploadInProgress ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{file.percentComplete + '%'}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tDownload\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{!downloadOnly && (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t})}\n\t\t
    \n\t);\n};\n\nexport default DownloadRemoveLink;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport FileUpload from '../../components/FileUpload';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport DownloadRemoveLink from '../../components/DownloadRemoveLink';\n\n// TYPES\nimport {\n\tIncidentArchiveAcknowledgeOnBehalfRecipient,\n\tIncidentArchiveAcknowledgeOnBehalfCommand\n} from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface AcceptModalTypes {\n\trecipientId?: string;\n\tgetIncidentReportsDetailsDataArchive: () => Promise;\n\tcloseModal?: closeModalType;\n}\n\nconst AcceptModal: React.FC = ({ recipientId, closeModal, getIncidentReportsDetailsDataArchive }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst [disabled, setDiasabled] = React.useState(false);\n\n\t// Set up data state and initial data\n\tconst initialData = {\n\t\trecipientId: '',\n\t\temail: '',\n\t\tacceptor: '',\n\t\tacknowledged: '',\n\t\tacknowledgementFileName: '',\n\t\tacknowledgementFileUrl: ''\n\t};\n\n\tconst [modalDetail, setModalDetail] = React.useState(initialData);\n\n\tconst getAcceptModalDetailArchive = async () => {\n\t\tif (recipientId) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getAcceptModalDetailArchive(recipientId);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\n\t\t\t\tsetIsLoading(false);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetDiasabled(true);\n\n\t\t\t\tsetModalDetail(response.result);\n\t\t\t}\n\t\t}\n\t\tsetIsLoading(false);\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetAcceptModalDetailArchive();\n\t}, []);\n\n\tconst { email, acceptor, acknowledged, acknowledgementFileName, acknowledgementFileUrl } = modalDetail;\n\n\tconst acceptAcknowledgementArchive = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: IncidentArchiveAcknowledgeOnBehalfCommand = {\n\t\t\trecipientId: recipientId,\n\t\t\tfileName: acknowledgementFileName || ''\n\t\t};\n\n\t\tconst response = await apibridge.acceptAcknowledgementArchive(data);\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\n\t\t\tsetIsLoading(false);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetIncidentReportsDetailsDataArchive();\n\n\t\t\tuseUpdateTotalNotification();\n\t\t}\n\t};\n\n\tconst fileUploadHandler = (value: string) => {\n\t\tsetModalDetail((prev) => ({ ...prev, acknowledgementFileName: value }));\n\n\t\tsetDiasabled(false);\n\t};\n\n\tconst submitHandler = () => {\n\t\tacceptAcknowledgementArchive();\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t

    {email}

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{acceptor && acknowledged ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t{acceptor}, {acknowledged}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tYou may only accept an incident report on behalf of a recipient if you upload a copy of the report\n\t\t\t\t\t\t\t\t\t\t\tbearing their signature.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{acceptor && acknowledged && acknowledgementFileName !== '' ? (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t setModalDetail((prev) => ({ ...prev, acknowledgementFileName: '' }))}\n\t\t\t\t\t\t\t\t\t\t\tfiles={[\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\tid: acknowledgementFileUrl,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdisplayFileName: 'Acknowledge Document',\n\t\t\t\t\t\t\t\t\t\t\t\t\tlink: acknowledgementFileUrl\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t fileUploadHandler(val)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default AcceptModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\nimport { IncidentArchiveAcknowledgeCommand } from '../../api/models';\n\ninterface AcknowledgeModalTypes {\n\tgetIncidentReportsDetailsDataArchive: () => Promise;\n\tcloseModal?: closeModalType;\n\tincidentId?: string;\n\ttitle?: string;\n}\n\nconst AcknowledgeModal: React.FC = ({\n\tgetIncidentReportsDetailsDataArchive,\n\tcloseModal,\n\tincidentId,\n\ttitle\n}) => {\n\t// Error and loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst acknowledgeYourselfArchive = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: IncidentArchiveAcknowledgeCommand = { incidentId: incidentId };\n\n\t\tconst response = await apibridge.acknowledgeYourselfArchive(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetIncidentReportsDetailsDataArchive();\n\n\t\t\tuseUpdateTotalNotification();\n\t\t}\n\t};\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to acknowledge '{title}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default AcknowledgeModal;\n","var _path, _path2, _path3, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgTickSuccess(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z\",\n fill: \"url(#paint0_linear_1402_25562)\"\n })), /*#__PURE__*/React.createElement(\"g\", {\n style: {\n mixBlendMode: \"soft-light\"\n }\n }, _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M19.9997 34.7689C28.1565 34.7689 34.7689 28.1565 34.7689 19.9997C34.7689 11.8429 28.1565 5.23047 19.9997 5.23047C11.8429 5.23047 5.23047 11.8429 5.23047 19.9997C5.23047 28.1565 11.8429 34.7689 19.9997 34.7689Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }))), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M13 20.6522L17.2424 25L27 15\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1402_25562\",\n x1: 7.5,\n y1: 5.5,\n x2: 27.9745,\n y2: 28.6731,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#7FDE8E\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#1DC072\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgTickSuccess);\nexport default __webpack_public_path__ + \"static/media/tick-success.76c29b48.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgEnvelopeIcon(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 40,\n height: 40,\n viewBox: \"0 0 40 40\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 20C0 8.95431 8.95431 0 20 0C31.0457 0 40 8.95431 40 20C40 31.0457 31.0457 40 20 40C8.95431 40 0 31.0457 0 20Z\",\n fill: \"url(#paint0_linear_1402_25099)\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M11 16L18.8906 21.2604C19.5624 21.7083 20.4376 21.7083 21.1094 21.2604L29 16M13 27H27C28.1046 27 29 26.1046 29 25V15C29 13.8954 28.1046 13 27 13H13C11.8954 13 11 13.8954 11 15V25C11 26.1046 11.8954 27 13 27Z\",\n stroke: \"white\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1402_25099\",\n x1: 5.74936,\n y1: 1.71842,\n x2: 29.1145,\n y2: 28.3324,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgEnvelopeIcon);\nexport default __webpack_public_path__ + \"static/media/envelope-icon.1622e901.svg\";\nexport { ForwardRef as ReactComponent };","var _path;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgEmail(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 20,\n height: 16,\n viewBox: \"0 0 20 16\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M1 4L8.8906 9.2604C9.5624 9.7083 10.4376 9.7083 11.1094 9.2604L19 4M3 15H17C18.1046 15 19 14.1046 19 13V3C19 1.89543 18.1046 1 17 1H3C1.89543 1 1 1.89543 1 3V13C1 14.1046 1.89543 15 3 15Z\",\n stroke: \"#A52EBE\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgEmail);\nexport default __webpack_public_path__ + \"static/media/email.89853a6e.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link, useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport PageName from '../../components/PageName';\nimport Button from '../../components/Button';\nimport CircleImage from '../../components/CircleImage';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport GlobalModal from '../../components/GlobalModal';\nimport AcceptModal from './AcceptModal';\nimport AcknowledgeModal from './AcknowledgeModal';\n\n// ICONS\nimport { ReactComponent as DownloadIcon } from '../../assets/svg/download.svg';\nimport { ReactComponent as TickIcon } from '../../assets/svg/tick.svg';\nimport { ReactComponent as TickSuccessIcon } from '../../assets/svg/tick-success.svg';\nimport { ReactComponent as EnvelopeIcon } from '../../assets/svg/envelope-icon.svg';\n\n// TYPES\nimport { IncidentArchiveEditCommand } from '../../api/models';\nimport { RouteParams } from '../../Interfaces';\n\nconst IncidentReportsDetail: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// get ID from params\n\tconst params = useParams();\n\tconst incidentId = params.id;\n\n\t// State to control modals\n\tconst [showAcceptModal, setShowAcceptModal] = React.useState(false);\n\tconst [showAcknowledgeModal, setShowAcknowledgeModal] = React.useState(false);\n\tconst [modalId, setModalId] = React.useState('');\n\n\tconst openModal = (id: string) => {\n\t\tsetModalId(id);\n\n\t\tsetShowAcceptModal(true);\n\t};\n\n\t// Set up data state and initial data\n\tconst initialIncidentReportsDetailData: IncidentArchiveEditCommand = {\n\t\tid: undefined,\n\t\ttitle: undefined,\n\t\tcreator: undefined,\n\t\ttype: undefined,\n\t\ttypeDescription: undefined,\n\t\toccurrence: undefined,\n\t\tlocation: undefined,\n\t\timpacted: undefined,\n\t\twasWitnessedFirstHand: undefined,\n\t\twasAuthorityAlerted: undefined,\n\t\tnotifiedAuthorities: undefined,\n\t\tnotified: undefined,\n\t\tdescription: undefined,\n\t\tactions: undefined,\n\t\tsummaryUrl: undefined,\n\t\tattachments: [],\n\t\tcontacts: []\n\t};\n\n\tconst [incidentReportsDetailData, setIncidentReportsDetailData] = React.useState(\n\t\tinitialIncidentReportsDetailData\n\t);\n\n\tconst getIncidentReportsDetailsDataArchive = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getIncidentReportsDetailsDataArchive(incidentId);\n\n\t\tresponse.result = response.result || initialIncidentReportsDetailData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetIncidentReportsDetailData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetIncidentReportsDetailsDataArchive();\n\t}, []);\n\n\tconst {\n\t\ttitle,\n\t\tcreator,\n\t\tid,\n\t\tidentifier,\n\t\ttype,\n\t\ttypeDescription,\n\t\toccurrence,\n\t\tlocation,\n\t\timpacted,\n\t\twasWitnessedFirstHand,\n\t\twasAuthorityAlerted,\n\t\tnotifiedAuthorities,\n\t\tnotified,\n\t\tdescription,\n\t\tactions,\n\t\tattachments,\n\t\tcontacts,\n\t\tsummaryUrl,\n\t\tcanEdit,\n\t\tcanAcknowledge,\n\t\tisAcknowledged,\n\t\tallAcknowledged\n\t} = incidentReportsDetailData;\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Submitted by
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    {creator}
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Incident ID
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    {identifier}
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Category
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    {typeDescription}
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && canEdit && (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && canAcknowledge && (\n\t\t\t\t\t\t\t\t\t\t\t setShowAcknowledgeModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t\tdisabled={isAcknowledged}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tAcknowledge\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Date and time of incident

    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Incident type

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {typeDescription}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Where did the incident happen?

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {location}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Who was involved in this incident?

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {impacted}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Did you witness the incident first hand?

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {wasWitnessedFirstHand ? 'Yes' : 'No'}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Was an authority alerted?

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {wasAuthorityAlerted ? 'Yes' : 'No'}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{notifiedAuthorities && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\tName, organisation, position and contact details of notified authority\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    {notifiedAuthorities}

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Date and time authority was notified

    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Incident description

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {description}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    What were the actions taken?

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {actions}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{attachments && attachments.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Attachments

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t{attachments.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item && item.link && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.displayFileName}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDownload\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tDownload Incident Summary\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Notified contacts

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    Acknowledged

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t{contacts &&\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontacts.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontacts.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isExternal ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.email}

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && item.isAcknowledged && item.canAcknowledge && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t openModal(item.recipientId || '')}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tUpdate Document\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isAcknowledged ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : isOrganisationActive && item.canAcknowledge ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.firstName} {item.lastName} {item.isYou ? (You) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.role}

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isAcknowledged ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\tPlease note: \n\t\t\t\t\t\t\t\t\t\t\t\tManually accepting a report on behalf of a recipient requires the uploading of a signed\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default IncidentReportsDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport FileUpload from '../../components/FileUpload';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport DownloadRemoveLink from '../../components/DownloadRemoveLink';\n\n// TYPES\nimport { IncidentAcknowledgeOnBehalfRecipient, IncidentAcknowledgeOnBehalfCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface AcceptModalTypes {\n\trecipientId?: string;\n\tgetIncidentReportsDetailsData: () => Promise;\n\tcloseModal?: closeModalType;\n}\n\nconst AcceptModal: React.FC = ({ recipientId, closeModal, getIncidentReportsDetailsData }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst [disabled, setDiasabled] = React.useState(false);\n\n\t// Set up data state and initial data\n\tconst initialData = {\n\t\trecipientId: '',\n\t\temail: '',\n\t\tacceptor: '',\n\t\tacknowledged: '',\n\t\tacknowledgementFileName: '',\n\t\tacknowledgementFileUrl: ''\n\t};\n\n\tconst [modalDetail, setModalDetail] = React.useState(initialData);\n\n\tconst getAcceptModalDetail = async () => {\n\t\tif (recipientId) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getAcceptModalDetail(recipientId);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\n\t\t\t\tsetIsLoading(false);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetDiasabled(true);\n\n\t\t\t\tsetModalDetail(response.result);\n\t\t\t}\n\t\t}\n\t\tsetIsLoading(false);\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetAcceptModalDetail();\n\t}, []);\n\n\tconst { email, acceptor, acknowledged, acknowledgementFileName, acknowledgementFileUrl } = modalDetail;\n\n\tconst acceptAcknowledgement = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: IncidentAcknowledgeOnBehalfCommand = {\n\t\t\trecipientId: recipientId,\n\t\t\tfileName: acknowledgementFileName || ''\n\t\t};\n\n\t\tconst response = await apibridge.acceptAcknowledgement(data);\n\n\t\tif (response.isError) {\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\n\t\t\tsetIsLoading(false);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetIncidentReportsDetailsData();\n\n\t\t\tuseUpdateTotalNotification();\n\t\t}\n\t};\n\n\tconst fileUploadHandler = (value: string) => {\n\t\tsetModalDetail((prev) => ({ ...prev, acknowledgementFileName: value }));\n\n\t\tsetDiasabled(false);\n\t};\n\n\tconst submitHandler = () => {\n\t\tacceptAcknowledgement();\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t

    {email}

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{acceptor && acknowledged ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t{acceptor}, {acknowledged}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tYou may only accept an incident report on behalf of a recipient if you upload a copy of the report\n\t\t\t\t\t\t\t\t\t\t\tbearing their signature.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{acceptor && acknowledged && acknowledgementFileName !== '' ? (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t setModalDetail((prev) => ({ ...prev, acknowledgementFileName: '' }))}\n\t\t\t\t\t\t\t\t\t\t\tfiles={[\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\tid: acknowledgementFileUrl,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdisplayFileName: 'Acknowledge Document',\n\t\t\t\t\t\t\t\t\t\t\t\t\tlink: acknowledgementFileUrl\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t]}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t fileUploadHandler(val)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default AcceptModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport FormErrorMessage from '../../components/ErrorMessage';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\nimport { IncidentAcknowledgeCommand } from '../../api/models';\n\ninterface AcknowledgeModalTypes {\n\tgetIncidentReportsDetailsData: () => Promise;\n\tcloseModal?: closeModalType;\n\tincidentId?: string;\n\ttitle?: string;\n}\n\nconst AcknowledgeModal: React.FC = ({\n\tgetIncidentReportsDetailsData,\n\tcloseModal,\n\tincidentId,\n\ttitle\n}) => {\n\t// Error and loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst acknowledgeYourself = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: IncidentAcknowledgeCommand = { incidentId: incidentId };\n\n\t\tconst response = await apibridge.acknowledgeYourself(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetIncidentReportsDetailsData();\n\n\t\t\tuseUpdateTotalNotification();\n\t\t}\n\t};\n\n\tconst initialValues = {\n\t\tinformationConfirmed: undefined,\n\t\tsignatureConfirmed: undefined\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\tinformationConfirmed: Yup.bool().oneOf([true], 'Required').required('Required'),\n\t\tsignatureConfirmed: Yup.bool().oneOf([true], 'Required').required('Required')\n\t});\n\n\tconst submitHandler = (values: any) => {\n\t\tacknowledgeYourself();\n\t};\n\n\t// Logic to work out current User Detail\n\tconst activeProfileId = useAppSelector((state) => state.user.activeProfileId);\n\tconst profiles = useAppSelector((state) => state.user.profiles);\n\tconst activeProfile = profiles?.find((item) => item.id === activeProfileId);\n\n\tconst firstName = useAppSelector((state) => state.user.firstName);\n\tconst lastName = useAppSelector((state) => state.user.lastName);\n\tconst currentRole = activeProfile?.roleName;\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{showError ? (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Signee

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{firstName} {lastName} (yourself)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Role

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {currentRole}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    Electronic Signature Acknowledgement

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{firstName} {lastName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
    {error}
    }\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
    {error}
    }\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default AcknowledgeModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link, useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport PageName from '../../components/PageName';\nimport Button from '../../components/Button';\nimport CircleImage from '../../components/CircleImage';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport GlobalModal from '../../components/GlobalModal';\nimport AcceptModal from './AcceptModal';\nimport AcknowledgeModal from './AcknowledgeModal';\nimport DisplayDate from '../../components/DisplayDate';\n\n// ICONS\nimport { ReactComponent as DownloadIcon } from '../../assets/svg/download.svg';\nimport { ReactComponent as TickIcon } from '../../assets/svg/tick.svg';\nimport { ReactComponent as TickSuccessIcon } from '../../assets/svg/tick-success.svg';\nimport { ReactComponent as EnvelopeIcon } from '../../assets/svg/envelope-icon.svg';\n\n// TYPES\nimport { IncidentEditCommand, DomainIncidentType } from '../../api/models';\nimport { RouteParams } from '../../Interfaces';\n\nconst IncidentReportsDetail: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get all incident Types from Redux store\n\tconst incidentTypes = useAppSelector((state) => state.lists.incidentTypes);\n\tconst incidentSpecifications = useAppSelector((state) => state.lists.incidentSpecifications) || [];\n\n\t// get ID from params\n\tconst params = useParams();\n\tconst incidentId = params.id;\n\n\t// State to control modals\n\tconst [showAcceptModal, setShowAcceptModal] = React.useState(false);\n\tconst [showAcknowledgeModal, setShowAcknowledgeModal] = React.useState(false);\n\tconst [modalId, setModalId] = React.useState('');\n\n\tconst openModal = (id: string) => {\n\t\tsetModalId(id);\n\n\t\tsetShowAcceptModal(true);\n\t};\n\n\t// Set up data state and initial data\n\tconst initialIncidentReportsDetailData: IncidentEditCommand = {\n\t\tid: '',\n\t\tsummaryUrl: '',\n\t\tcreator: '',\n\t\t// creatorRole: '',\n\t\t// createdDateTime: '',\n\t\tidentifier: undefined,\n\t\tcanEdit: false,\n\t\tcanAcknowledge: false,\n\t\tisAcknowledged: false,\n\t\tallAcknowledged: false,\n\t\tcontacts: [],\n\t\t// leadersNotified: [],\n\n\t\t// STEP ONE\n\t\tname: '',\n\t\tage: '',\n\t\ttitle: '',\n\t\toccurrence: '',\n\t\ttype: undefined,\n\t\tspecification: undefined,\n\t\tlocation: '',\n\t\tdescription: '',\n\t\twitness: false,\n\t\twitnesses: [],\n\n\t\t// STEP TWO\n\t\tfirstAidAdministered: false,\n\t\tfirstAid: '',\n\t\tmedicationAdministered: false,\n\t\tmedication: [],\n\t\tmedicalPersonnelContacted: false,\n\t\tmedicalPersonnel: [],\n\t\temergencyServiceContacted: false,\n\t\temergencyServices: [],\n\t\ttakenToHospital: false,\n\t\thospital: '',\n\t\tdateAndTimeTakenToHospital: '',\n\t\tpersonTakenToHospital: '',\n\t\trelationshipToChild: '',\n\t\totherActions: false,\n\t\totherActionsTaken: '',\n\n\t\t// STEP THREE\n\t\tindividualsNotified: true,\n\t\tindividuals: [],\n\t\tauthorityNotified: true,\n\t\tauthorities: [],\n\t\tnotes: '',\n\t\tcreateAttachments: [],\n\t\tattachments: [],\n\t\tdeleteAttachmentIds: [],\n\n\t\tleaderRecipientIds: [],\n\t\totherRecipientIds: [],\n\n\t\totherRecipientEmails: [],\n\n\t\totherRecipients: [],\n\t\tleaders: [],\n\n\t\t// STEP FOUR:\n\t\treviewer: '',\n\t\treviewerRole: ''\n\t};\n\n\tconst [incidentReportsDetailData, setIncidentReportsDetailData] = React.useState(\n\t\tinitialIncidentReportsDetailData\n\t);\n\n\tconst getIncidentReportsDetailsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getIncidentReportsDetailsData(incidentId);\n\n\t\tresponse.result = response.result || initialIncidentReportsDetailData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetIncidentReportsDetailData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetIncidentReportsDetailsData();\n\t}, []);\n\n\tconst {\n\t\t// DETAILS FIELDS\n\t\tid,\n\t\tsummaryUrl,\n\t\tcontacts,\n\t\tcreator,\n\t\tcreatorRole,\n\t\t// createdDateTime,\n\t\tidentifier,\n\n\t\tcanEdit,\n\t\tcanAcknowledge,\n\t\tisAcknowledged,\n\t\tallAcknowledged,\n\t\t// leadersNotified,\n\n\t\t// FORM FIELDS\n\t\tname,\n\t\tage,\n\t\tdateOfBirth,\n\t\ttitle,\n\t\toccurrence,\n\t\ttype,\n\t\tspecification,\n\t\tspecificationName,\n\t\tlocation,\n\t\tdescription,\n\t\twitness,\n\t\twitnesses,\n\t\tfirstAidAdministered,\n\t\tfirstAid,\n\t\tmedicationAdministered,\n\t\tmedication,\n\t\tmedicalPersonnelContacted,\n\t\tmedicalPersonnel,\n\t\temergencyServiceContacted,\n\t\temergencyServices,\n\t\ttakenToHospital,\n\t\thospital,\n\t\tdateAndTimeTakenToHospital,\n\t\tpersonTakenToHospital,\n\t\trelationshipToChild,\n\t\totherActions,\n\t\totherActionsTaken,\n\t\tindividualsNotified,\n\t\tindividuals,\n\t\tauthorityNotified,\n\t\tauthorities,\n\t\tnotes,\n\t\tattachments,\n\t\treviewer,\n\t\treviewerRole,\n\t\tcreated\n\t} = incidentReportsDetailData;\n\n\tconst displayIncidentType = (type?: DomainIncidentType) => {\n\t\tif (type) {\n\t\t\tconst currentType = incidentTypes?.find((item) => item.value === type);\n\t\t\treturn currentType?.label;\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Submitted by
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    {creator}
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Incident ID
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    {identifier}
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Category
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t{displayIncidentType(type)} - {specificationName}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && canEdit && (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && canAcknowledge && (\n\t\t\t\t\t\t\t\t\t\t\t setShowAcknowledgeModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t\tdisabled={isAcknowledged}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tAcknowledge\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Incident details

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Child's name

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    {name}

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Child's age

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    {age}

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{dateOfBirth ? (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Child's date of birth

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Incident title

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {title}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{identifier ? (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Incident ID

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    {identifier}

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Date and time of incident

    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Incident type

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t{displayIncidentType(type)} - {specificationName}\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Location of the incident

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {location}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Description of the incident

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {description}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Incident witnesses

    \n\n\t\t\t\t\t\t\t\t\t\t\t{witness ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{witnesses &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twitnesses.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twitnesses.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.email}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.phone}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{/* ACTIONS TAKEN */}\n\t\t\t\t\t\t\t\t\t\t

    Actions taken

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    First aid administered

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {firstAidAdministered ? <>{firstAid} : 'None'}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Medication administered

    \n\n\t\t\t\t\t\t\t\t\t\t\t{medicationAdministered ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{medication &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedication.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedication.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Dosage of {item.dosage}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    by {item.personAdministered}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Medical personnel contacted

    \n\n\t\t\t\t\t\t\t\t\t\t\t{medicalPersonnelContacted ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{medicalPersonnel &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicalPersonnel.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicalPersonnel.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tContacted {item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.phoneOrEmail}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Emergency services contacted

    \n\n\t\t\t\t\t\t\t\t\t\t\t{emergencyServiceContacted ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{emergencyServices &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\temergencyServices.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\temergencyServices.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tContacted {item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.attend ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tArrived {item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Did not attend

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Transported to hospital

    \n\n\t\t\t\t\t\t\t\t\t\t\t{takenToHospital ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    {hospital}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{dateAndTimeTakenToHospital}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tby {personTakenToHospital}, {relationshipToChild}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Other actions taken

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {otherActions ? <>{otherActionsTaken} : 'None'}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{/* NOTIFICATION */}\n\n\t\t\t\t\t\t\t\t\t\t

    Notification

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Individuals notified

    \n\n\t\t\t\t\t\t\t\t\t\t\t{individualsNotified ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{individuals &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tindividuals.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tindividuals.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.contactMethod}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Notification {item.isNotifiedSuccess ? 'successful' : 'unsuccessful'}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Authorities notified

    \n\n\t\t\t\t\t\t\t\t\t\t\t{authorityNotified ? (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{authorities &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tauthorities.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tauthorities.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.authorityName}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.notifiedName}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.reason}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.contactMethod}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Notification {item.isNotifiedSuccess ? 'successful' : 'unsuccessful'}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{/* ADDITIONAL INFORMATION */}\n\t\t\t\t\t\t\t\t\t\t{notes || (attachments && attachments.length > 0) ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t

    Additional information

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t{notes ? (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Notes

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    {notes}

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t{attachments && attachments.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Attachments

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t{attachments &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tattachments.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tattachments.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.displayFileName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{/* PERSON WHO REVIEWED THIS REPORT */}\n\t\t\t\t\t\t\t\t\t\t

    Person who reviewed this report

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Reviewed by

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    {reviewer}

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Role

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    {reviewerRole}

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{/* PERSON WHO CREATED THIS REPORT */}\n\t\t\t\t\t\t\t\t\t\t

    Person who created this report

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Reported by

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    {creator}

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Role

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    {creatorRole}

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Electronic Signature Acknowledgement

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {creator}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Report signed and created on

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t{created}\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Notified contacts

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    Acknowledged

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t{contacts &&\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontacts.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontacts.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isExternal ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.email}

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && item.isAcknowledged && item.canAcknowledge && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.acknowledgmentDocument ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t openModal(item.recipientId || '')}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tUpdate Document\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isAcknowledged ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : isOrganisationActive && item.canAcknowledge ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.firstName} {item.lastName} {item.isYou ? (You) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.role}

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isAcknowledged ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\tPlease note: \n\t\t\t\t\t\t\t\t\t\t\t\tManually accepting a report on behalf of a recipient requires the uploading of a signed\n\t\t\t\t\t\t\t\t\t\t\t\tdocument.\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tDownload Incident Summary\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default IncidentReportsDetail;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport DateTimeInput from '../../components/DateTimeInput';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport SingleSelect from '../../components/SingleSelect';\nimport FileUpload from '../../components/FileUpload';\nimport FilesList from '../../components/FilesList';\n\n// TYPES\nimport { IncidentFormTypes } from './IncidentSubmit';\n\ninterface StepOneTypes {\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n}\n\nconst StepOne: React.FC = ({ incidentFormData, setIncidentFormData, setActiveStep }) => {\n\t// Get all incident Types from Redux store\n\tconst incidentArchiveTypes = useAppSelector((state) => state.lists.incidentArchiveTypes);\n\n\tconst onSubmitStepOne = (values: any) => {\n\t\tsetActiveStep('step2');\n\n\t\twindow.scrollTo(0, 0);\n\n\t\tsetIncidentFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\ttitle: values.titleInput,\n\t\t\toccurrence: values.occurrenceInput,\n\t\t\ttype: values.typeInput,\n\t\t\tlocation: values.locationInput,\n\t\t\timpacted: values.impactedInput,\n\t\t\twasWitnessedFirstHand: values.wasWitnessedFirstHandInput,\n\t\t\twasAuthorityAlerted: values.wasAuthorityAlertedInput,\n\t\t\tnotifiedAuthorities: values.notifiedAuthoritiesInput,\n\t\t\tnotified: values.notifiedInput,\n\t\t\tdescription: values.descriptionInput,\n\t\t\tactions: values.actionsInput,\n\n\t\t\tnewAttachments: values.newAttachments,\n\t\t\tcreateAttachments: values.createAttachments,\n\n\t\t\tattachments: values.attachments,\n\t\t\tdeleteAttachmentIds: values.deleteAttachmentIds\n\t\t}));\n\t};\n\n\tconst validationSchemaStepOne = Yup.object({\n\t\ttitleInput: Yup.string().required('Required'),\n\t\toccurrenceInput: Yup.string().required('Required'),\n\t\ttypeInput: Yup.string().required('Required'),\n\t\tlocationInput: Yup.string().required('Required'),\n\t\timpactedInput: Yup.string().required('Required'),\n\t\twasWitnessedFirstHandInput: Yup.boolean().required('Required'),\n\t\twasAuthorityAlertedInput: Yup.boolean().required('Required'),\n\t\tnotifiedAuthoritiesInput: Yup.string().when('wasAuthorityAlertedInput', {\n\t\t\tis: true,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\tdescriptionInput: Yup.string().required('Required'),\n\t\tactionsInput: Yup.string().required('Required')\n\t});\n\n\tconst initialValuesStepOne = {\n\t\ttitleInput: incidentFormData.title || '',\n\t\toccurrenceInput: incidentFormData.occurrence || '',\n\t\ttypeInput: incidentFormData.type || '',\n\t\tlocationInput: incidentFormData.location || '',\n\t\timpactedInput: incidentFormData.impacted || '',\n\t\twasWitnessedFirstHandInput: incidentFormData.wasWitnessedFirstHand || false,\n\t\twasAuthorityAlertedInput: incidentFormData.wasAuthorityAlerted || false,\n\t\tnotifiedAuthoritiesInput: incidentFormData.notifiedAuthorities || '',\n\t\tnotifiedInput: incidentFormData.notified || '',\n\t\tdescriptionInput: incidentFormData.description || '',\n\t\tactionsInput: incidentFormData.actions || '',\n\t\tnewAttachments: incidentFormData.newAttachments || [],\n\t\tcreateAttachments: incidentFormData.createAttachments || [],\n\n\t\tattachments: incidentFormData.attachments || [],\n\t\tdeleteAttachmentIds: incidentFormData.deleteAttachmentIds || []\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('occurrenceInput', val)}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('typeInput', val)}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('wasWitnessedFirstHandInput', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('wasWitnessedFirstHandInput', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('wasAuthorityAlertedInput', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('wasAuthorityAlertedInput', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{formik.values.wasAuthorityAlertedInput === true && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('notifiedInput', val)}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t !incidentFormData.deleteAttachmentIds?.includes(item.id || '')\n\t\t\t\t\t\t\t\t\t\t\t\t)) ||\n\t\t\t\t\t\t\t\t\t\t\t[]\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tonChange={(vals: string[]) => formik.setFieldValue('deleteAttachmentIds', vals)}\n\t\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('createAttachments', vals);\n\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('newAttachments', files);\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\tfiles={incidentFormData.newAttachments}\n\t\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\t\tmaxSizeMb={5}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default StepOne;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { listenForOutsideClicks } from '../../utils';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\n\n// ICONS\nimport { ReactComponent as SeachIcon } from '../../assets/svg/search.svg';\n\n// TYPES\nexport interface SearchOtherRecipientsTypes {\n\tplaceholder?: string;\n\tonChange?: any;\n\tisFullWidth?: boolean;\n\tsetShowExistingMemberError: React.Dispatch>;\n}\n\nimport { IncidentArchiveRecipientsUser } from '../../api/models/incident-archive-recipients-user';\n\nconst SearchOtherRecipients: React.FC = ({\n\tplaceholder = 'Search...',\n\tonChange,\n\tisFullWidth,\n\tsetShowExistingMemberError\n}) => {\n\tconst [query, setQuery] = React.useState('');\n\tconst [searchResults, setSearchResults] = React.useState([]);\n\tconst [hasError, setHasError] = React.useState(false);\n\tconst [isActive, setIsActive] = React.useState(false);\n\n\tconst searchData = async (name: string) => {\n\t\tconst response = await apibridge.searchOthersRecipientsArchive(name);\n\n\t\tif (response.result) {\n\t\t\tsetHasError(false);\n\n\t\t\tsetSearchResults(response.result);\n\t\t} else {\n\t\t\tsetHasError(true);\n\n\t\t\tsetSearchResults([]);\n\t\t}\n\t};\n\n\tconst onChangeHandler = (e: React.ChangeEvent) => {\n\t\tsetShowExistingMemberError(false);\n\n\t\tconst val = e.target.value;\n\n\t\tsetQuery(val);\n\n\t\tif (onChange) {\n\t\t\tonChange(undefined);\n\t\t}\n\n\t\tif (!val) {\n\t\t\tsetIsActive(false);\n\t\t} else {\n\t\t\tsetIsActive(true);\n\n\t\t\tsearchData(val);\n\t\t}\n\t};\n\n\tconst onClickPostHandler = (item: IncidentArchiveRecipientsUser) => {\n\t\tsetIsActive(false);\n\n\t\tsetQuery('');\n\n\t\tif (onChange) {\n\t\t\tonChange(item);\n\t\t}\n\t};\n\n\t// Logic to detect outside click and close search container\n\tconst searchContainerRef = React.useRef(null);\n\tlistenForOutsideClicks(searchContainerRef, isActive, setIsActive);\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t setIsActive(!!query)}\n\t\t\t\t/>\n\t\t\t
    \n\n\t\t\t{(hasError || searchResults) && (\n\t\t\t\t\n\t\t\t\t\t
      \n\t\t\t\t\t\t{hasError ? (\n\t\t\t\t\t\t\t
    • No results found
    • \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\tsearchResults.map((item) => {\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t
    • onClickPostHandler(item)} key={item.id} className=\"search-result-item\">\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{item.name}\n\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t
      {item.role}
      \n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default SearchOtherRecipients;\n","import * as React from 'react';\n\n// COMPONENTS\nimport ReadActivity from './ReadActivity';\nimport UpdateActivity from './UpdateActivity';\nimport DeleteActivity from './DeleteActivity';\n\n// TYPES\nimport { ComplaintActionsAction } from '../../../api/models';\nimport { closeModalType } from '../../../components/GlobalModal';\n\nexport enum ViewTypes {\n\tCreate = 'showCreate',\n\tRead = 'showRead',\n\tUpdate = 'showUpdate',\n\tDelete = 'showDelete'\n}\n\nconst defaultViewTypes = {\n\t[ViewTypes.Create]: false,\n\t[ViewTypes.Read]: false,\n\t[ViewTypes.Update]: false,\n\t[ViewTypes.Delete]: false\n};\n\ntype ShowViewType = (type: string) => void;\n\ninterface ComplaintsProgressModalTypes {\n\tcomplaintId?: string;\n\tviewType: ViewTypes;\n\tactivity?: ComplaintActionsAction;\n\tcloseModal?: closeModalType;\n\trefreshComplaintsProgress: () => {};\n\tgetComplaintsDetailsData: () => {};\n}\n\nexport interface ComplaintsProgressViewTypes {\n\tcomplaintId?: string;\n\tactivity?: ComplaintActionsAction;\n\tshowView: ShowViewType;\n\tcloseModal?: closeModalType;\n\trefreshComplaintsProgress: () => {};\n\tgetComplaintsDetailsData: () => {};\n}\n\nconst ComplaintsProgressModal: React.FC = ({\n\tcomplaintId,\n\tviewType,\n\tactivity,\n\tcloseModal,\n\trefreshComplaintsProgress,\n\tgetComplaintsDetailsData\n}) => {\n\tconst [state, setState] = React.useState({ ...defaultViewTypes, [viewType || ViewTypes.Read]: true });\n\n\tconst showView: ShowViewType = (viewType) => {\n\t\tsetState({ ...defaultViewTypes, [viewType]: true });\n\t};\n\n\tif (state.showCreate) {\n\t\treturn (\n\t\t\t\n\t\t);\n\t} else if (state.showRead) {\n\t\tif (activity) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\t} else return null;\n\t} else if (state.showUpdate) {\n\t\treturn (\n\t\t\t\n\t\t);\n\t} else if (state.showDelete) {\n\t\tif (activity) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t);\n\t\t} else return null;\n\t} else {\n\t\treturn null;\n\t}\n};\n\nexport default ComplaintsProgressModal;\n","import * as React from 'react';\n\n// UTILS\nimport { emailRegex } from '../../utils';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport Button from '../../components/Button';\nimport SearchOtherRecipients from './SearchOtherRecipients';\n\n// ICONS\nimport { ReactComponent as EmailIcon } from '../../assets/svg/email.svg';\nimport { ReactComponent as EnvelopeIcon } from '../../assets/svg/envelope-icon.svg';\n\n// TYPES\nimport { IncidentFormTypes } from './IncidentSubmit';\nimport { IncidentArchiveEditUser } from '../../api/models';\n\nexport interface StepTwoTypes {\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n\tleadershipTeamData: IncidentArchiveEditUser[];\n\totherRecipientsData: IncidentArchiveEditUser[];\n\tsetOtherRecipientsData: React.Dispatch>;\n}\n\nimport { IncidentArchiveRecipientsUser } from '../../api/models/incident-archive-recipients-user';\n\nconst StepTwo: React.FC = ({\n\tincidentFormData,\n\tsetIncidentFormData,\n\n\tsetActiveStep,\n\n\tleadershipTeamData,\n\n\totherRecipientsData,\n\tsetOtherRecipientsData\n}) => {\n\t// Error state\n\tconst [showError, setShowError] = React.useState(false);\n\n\t// LOGIC FOR LEADERSHIP\n\tconst [selectedLeadershipMemberId, setSelectedLeadershipMemberId] = React.useState([]);\n\n\tReact.useEffect(() => {\n\t\tsetSelectedLeadershipMemberId(incidentFormData.leaderRecipientIds || []);\n\n\t\tsetOtherRecipientsData(incidentFormData.otherRecipients || []);\n\n\t\tsetSelectedEmails(incidentFormData.otherRecipientEmails || []);\n\t}, []);\n\n\tconst selectLeadershipMemberHandler = (e: React.ChangeEvent) => {\n\t\tconst { value, checked } = e.target;\n\n\t\tif (checked) {\n\t\t\tif (!selectedLeadershipMemberId.includes(value)) {\n\t\t\t\tsetSelectedLeadershipMemberId((prev) => [...prev, value]);\n\t\t\t}\n\t\t} else {\n\t\t\tsetSelectedLeadershipMemberId((prev) => prev.filter((item) => item !== value));\n\t\t}\n\n\t\tif (showError) {\n\t\t\tsetShowError(false);\n\t\t}\n\t};\n\n\tconst removeSelectLeadershipMemberHandler = (id: string | undefined) => {\n\t\tif (id !== undefined) {\n\t\t\tsetSelectedLeadershipMemberId((prev) => prev.filter((item) => item !== id));\n\t\t}\n\t};\n\n\t// LOGIC FOR OTHER RECIPENTS\n\tconst [showExistingMemberError, setShowExistingMemberError] = React.useState(false);\n\n\tconst addOtherRecipientsHandler = (item: IncidentArchiveRecipientsUser) => {\n\t\tif (item !== undefined && item.id !== undefined && !incidentFormData.otherRecipientIds?.includes(item.id)) {\n\t\t\tsetShowExistingMemberError(false);\n\n\t\t\tsetOtherRecipientsData([...otherRecipientsData, item]);\n\n\t\t\tsetIncidentFormData({\n\t\t\t\t...incidentFormData,\n\n\t\t\t\totherRecipientIds: [...(incidentFormData.otherRecipientIds || []), item.id || '']\n\t\t\t});\n\t\t} else if (item !== undefined && item.id !== undefined && incidentFormData.otherRecipientIds?.includes(item.id)) {\n\t\t\tsetShowExistingMemberError(true);\n\t\t}\n\t};\n\n\tconst removeOtherRecipientsHandler = (id: string | undefined) => {\n\t\tif (id !== undefined) {\n\t\t\tconst newList = otherRecipientsData.filter((item) => item.id !== id);\n\n\t\t\tsetOtherRecipientsData(newList);\n\n\t\t\tconst incidentIds =\n\t\t\t\tincidentFormData.otherRecipientIds && incidentFormData.otherRecipientIds.filter((item) => item !== id);\n\n\t\t\tsetIncidentFormData({\n\t\t\t\t...incidentFormData,\n\n\t\t\t\totherRecipientIds: [...(incidentIds || [])]\n\t\t\t});\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tsetOtherRecipientsData(otherRecipientsData);\n\t}, [otherRecipientsData]);\n\n\t// LOGIC FOR EMAIL INPUT\n\tconst [selectedEmails, setSelectedEmails] = React.useState(incidentFormData.otherRecipientEmails || []);\n\n\tconst [emailInput, setEmailInput] = React.useState('');\n\n\tconst [emailInputError, setEmailInputError] = React.useState(false);\n\n\tconst [isAddEmailFieldActive, setIsAddEmailFieldActive] = React.useState(false);\n\n\tReact.useEffect(() => {\n\t\tsetSelectedEmails(selectedEmails);\n\t}, [selectedEmails]);\n\n\tconst emailInputHandler = (e: React.ChangeEvent) => {\n\t\tconst newEmailInput = e.target.value;\n\n\t\tsetEmailInput(newEmailInput);\n\n\t\tif (emailInputError && newEmailInput.match(emailRegex)) {\n\t\t\tsetEmailInputError(false);\n\t\t}\n\t};\n\n\tconst addEmailHandler = (e: React.MouseEvent) => {\n\t\tif (emailInput.match(emailRegex)) {\n\t\t\tsetEmailInputError(false);\n\n\t\t\tsetSelectedEmails((prevState) => [...prevState, emailInput]);\n\n\t\t\tsetEmailInput('');\n\n\t\t\tsetIncidentFormData({\n\t\t\t\t...incidentFormData,\n\n\t\t\t\totherRecipientEmails: [...(incidentFormData.otherRecipientEmails || []), emailInput]\n\t\t\t});\n\t\t} else {\n\t\t\tsetEmailInputError(true);\n\t\t}\n\t};\n\n\tconst removeEmailHandler = (index: number) => {\n\t\tconst newSelectedEmail = selectedEmails.filter((item, itemIndex) => itemIndex !== index);\n\t\tsetSelectedEmails(newSelectedEmail);\n\n\t\tsetIncidentFormData({\n\t\t\t...incidentFormData,\n\t\t\totherRecipientEmails: [...(newSelectedEmail || [])]\n\t\t});\n\t};\n\n\t// SUBMIT LOGIC\n\tconst onSubmitStepTwo = (values: any) => {\n\t\tif (selectedLeadershipMemberId.length < 1) {\n\t\t\tsetShowError(true);\n\t\t} else {\n\t\t\tsetShowError(false);\n\n\t\t\tsetIncidentFormData({\n\t\t\t\t...incidentFormData,\n\n\t\t\t\tleaderRecipientIds: [...selectedLeadershipMemberId]\n\t\t\t});\n\n\t\t\tsetActiveStep('step3');\n\n\t\t\twindow.scrollTo(0, 0);\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\n\n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t{leadershipTeamData &&\n\t\t\t\t\t\t\t\tleadershipTeamData.length > 0 &&\n\t\t\t\t\t\t\t\tleadershipTeamData.map((item, index) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t
    \n\t\t\t

    Who else should be notified about this incident?

    \n\n\t\t\t

    \n\t\t\t\tSearch by name for contacts you wish to notify. If a contact is not listed, add them via email below.\n\t\t\t

    \n\n\t\t\t
    \n\t\t\t\t

    Search

    \n\n\t\t\t\t addOtherRecipientsHandler(item)}\n\t\t\t\t\tsetShowExistingMemberError={setShowExistingMemberError}\n\t\t\t\t/>\n\n\t\t\t\t{showExistingMemberError &&
    This member has already been added
    }\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t
    or
    \n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t

    Enter email address if contact isn't listed above.

    \n\n\t\t\t\t
    setIsAddEmailFieldActive(!isAddEmailFieldActive)}>\n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\t\t\t\t\t
    \n\n\t\t\t\t\t\n\t\t\t\t
    \n\n\t\t\t\t{emailInputError &&
    Invalid email format
    }\n\t\t\t
    \n\n\t\t\t

    Recipient of the incident report

    \n\n\t\t\t
    \n\t\t\t\t{leadershipTeamData && leadershipTeamData.length > 0 && (\n\t\t\t\t\t
      \n\t\t\t\t\t\t{leadershipTeamData.map((item) => {\n\t\t\t\t\t\t\tif (item.id && selectedLeadershipMemberId.includes(item.id)) {\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.role}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t} else return null;\n\t\t\t\t\t\t})}\n\t\t\t\t\t
    \n\t\t\t\t)}\n\n\t\t\t\t
      \n\t\t\t\t\t{otherRecipientsData &&\n\t\t\t\t\t\totherRecipientsData.length > 0 &&\n\t\t\t\t\t\totherRecipientsData.map((item, index) => {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t{item.role}\n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t
    \n\n\t\t\t\t
      \n\t\t\t\t\t{selectedEmails &&\n\t\t\t\t\t\tselectedEmails.length > 0 &&\n\t\t\t\t\t\tselectedEmails.map((item, index) => {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
      {item}
      \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t
    \n\n\t\t\t{showError &&
    You need to add at least 1 leadership Team member
    }\n\n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t);\n};\n\nexport default StepTwo;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as ArrowLeftIcon } from '../../assets/svg/chevron-left.svg';\nimport { ReactComponent as EnvelopeIcon } from '../../assets/svg/envelope-icon.svg';\n\n// TYPES\nimport { IncidentArchiveEditUser, DomainIncidentArchiveType } from '../../api/models';\nimport { IncidentFormTypes } from './IncidentSubmit';\n\ninterface StepThreeTypes {\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n\n\tleadershipTeamData: IncidentArchiveEditUser[];\n\totherRecipientsData: IncidentArchiveEditUser[];\n\n\tisLoading: boolean;\n\tsetIsLoading: React.Dispatch>;\n}\n\nconst StepThree: React.FC = ({\n\tincidentFormData,\n\tsetIncidentFormData,\n\tsetActiveStep,\n\n\tleadershipTeamData,\n\totherRecipientsData,\n\n\tisLoading,\n\tsetIsLoading\n}) => {\n\tconst history = useHistory();\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Get all incident Types from Redux store\n\tconst incidentArchiveTypes = useAppSelector((state) => state.lists.incidentArchiveTypes);\n\n\t// Error state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst {\n\t\ttitle,\n\t\toccurrence,\n\t\ttype,\n\t\tlocation,\n\t\timpacted,\n\t\twasWitnessedFirstHand,\n\t\twasAuthorityAlerted,\n\t\tnotifiedAuthorities,\n\t\tnotified,\n\t\tdescription,\n\t\tactions,\n\t\tattachments,\n\t\tnewAttachments,\n\t\tdeleteAttachmentIds,\n\t\totherRecipientEmails\n\t} = incidentFormData;\n\n\tconst createIncidentReport = async () => {\n\t\tif (incidentFormData !== undefined) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.createIncidentReport(incidentFormData);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\thistory.push('/incident-reports');\n\n\t\t\t\tuseUpdateTotalNotification();\n\t\t\t}\n\t\t}\n\t};\n\n\tconst displayIncidentType = (type?: DomainIncidentArchiveType) => {\n\t\tif (type) {\n\t\t\tconst currentType = incidentArchiveTypes?.find((item) => item.value === type);\n\t\t\treturn currentType?.label;\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t

    Please review your incident report before submitting it

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tThe nominated contacts will be notified of this incident report and asked to acknowledge it.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Incident title

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {title}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Date and time of incident

    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Incident type

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {displayIncidentType(type)}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Where did the incident happen?

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {location}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Who was involved in this incident?

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {impacted}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Did you witness the incident first hand?

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {wasWitnessedFirstHand ? 'Yes' : 'No'}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Was an authority alerted?

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {wasAuthorityAlerted ? 'Yes' : 'No'}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{notifiedAuthorities && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\tName, organisation, position and contact details of notified authority\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    {notifiedAuthorities}

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Date and time authority was notified

    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Incident description

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {description}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    What were the actions taken?

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    {actions}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{attachments && attachments.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Attachments

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t{attachments &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tattachments.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tattachments\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.filter((item) => !deleteAttachmentIds?.includes(item.id || ''))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.displayFileName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{newAttachments &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tnewAttachments.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tnewAttachments.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.displayFileName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Incident report notified to:

    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t{leadershipTeamData &&\n\t\t\t\t\t\t\t\t\t\t\tleadershipTeamData.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\tleadershipTeamData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t\t\titem.id &&\n\t\t\t\t\t\t\t\t\t\t\t\t\tincidentFormData.leaderRecipientIds &&\n\t\t\t\t\t\t\t\t\t\t\t\t\tincidentFormData.leaderRecipientIds.includes(item.id.toString())\n\t\t\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.role}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t{otherRecipientsData &&\n\t\t\t\t\t\t\t\t\t\t\totherRecipientsData.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\totherRecipientsData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t\t\titem.id &&\n\t\t\t\t\t\t\t\t\t\t\t\t\tincidentFormData.otherRecipientIds &&\n\t\t\t\t\t\t\t\t\t\t\t\t\tincidentFormData.otherRecipientIds.includes(item.id.toString())\n\t\t\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.role}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t{otherRecipientEmails &&\n\t\t\t\t\t\t\t\t\t\t\totherRecipientEmails.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\totherRecipientEmails.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tclassName=\"btn-secondary edit-btn\"\n\t\t\t\t\t\t\t\t\t\tonClick={() => setActiveStep('step1')}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tEdit details\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default StepThree;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport StepOne from './StepOne';\nimport StepTwo from './StepTwo';\nimport StepThree from './StepThree';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as ArrowLeftIcon } from '../../assets/svg/chevron-left.svg';\nimport { ReactComponent as ArrowRightIcon } from '../../assets/svg/chevron-right.svg';\nimport { ReactComponent as ArrowLeft } from '../../assets/svg/arrow-left.svg';\n\n// TYPES\nimport { IncidentArchiveEditUser, IncidentArchiveEditCommand } from '../../api/models';\nimport { RouteParams } from '../../Interfaces';\nimport { FileType } from '../../components/FileUpload';\n\nexport interface IncidentFormTypes extends IncidentArchiveEditCommand {\n\tnewAttachments: FileType[];\n}\n\nconst IncidentSubmit: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// get ID from params\n\tconst params = useParams();\n\tconst incidentId = params.id;\n\n\t// Set up form state and initial form data\n\tconst initialIncidentFormData: IncidentFormTypes = {\n\t\tid: undefined,\n\t\ttitle: undefined,\n\t\toccurrence: undefined,\n\t\tidentifier: undefined,\n\t\ttype: undefined,\n\t\tlocation: undefined,\n\t\timpacted: undefined,\n\t\twasWitnessedFirstHand: undefined,\n\t\twasAuthorityAlerted: undefined,\n\t\tnotifiedAuthorities: undefined,\n\t\tnotified: undefined,\n\t\tdescription: undefined,\n\t\tactions: undefined,\n\t\tcreator: undefined,\n\n\t\tnewAttachments: [],\n\t\tcreateAttachments: [],\n\n\t\tattachments: [],\n\t\tdeleteAttachmentIds: [],\n\n\t\tleaderRecipientIds: [],\n\t\totherRecipientIds: [],\n\n\t\totherRecipientEmails: [],\n\n\t\totherRecipients: [],\n\t\tleaders: []\n\t};\n\n\tconst [incidentFormData, setIncidentFormData] = React.useState(initialIncidentFormData);\n\n\t// If there is an id, then load Edit screen, otherwise load blank to create new\n\tconst loadIncidentReportArchive = async () => {\n\t\tif (incidentId) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.loadIncidentReportArchive(incidentId);\n\n\t\t\tresponse.result = response.result || initialIncidentFormData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetIncidentFormData(response.result);\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.loadIncidentReportArchive();\n\n\t\t\tresponse.result = response.result || initialIncidentFormData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetIncidentFormData({\n\t\t\t\t\t...initialIncidentFormData,\n\n\t\t\t\t\tleaders: response.result.leaders\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tloadIncidentReportArchive();\n\t}, []);\n\n\tconst [leadershipTeamData, setLeadershipTeamData] = React.useState([]);\n\n\tReact.useEffect(() => {\n\t\tsetLeadershipTeamData(incidentFormData.leaders || []);\n\t}, [incidentFormData.leaders]);\n\n\tconst [otherRecipientsData, setOtherRecipientsData] = React.useState([]);\n\n\tReact.useEffect(() => {\n\t\tsetOtherRecipientsData(incidentFormData.otherRecipients || []);\n\t}, [incidentFormData.otherRecipients]);\n\n\t// State to control active step\n\tconst [activeStep, setActiveStep] = React.useState('step1');\n\n\t// Logic for Back Button\n\tconst mobileStepHandler = () => {\n\t\tif (activeStep === 'step3') {\n\t\t\tsetActiveStep('step2');\n\t\t}\n\n\t\tif (activeStep === 'step2') {\n\t\t\tsetActiveStep('step1');\n\t\t}\n\n\t\tif (activeStep === 'step1') {\n\t\t\thistory.push('/incident-reports');\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tconst pageState = history.location.state;\n\n\t\tif (pageState === undefined || pageState.activeStep === undefined || pageState.activeStep === null) {\n\t\t\thistory.replace(window.location.pathname, { activeStep });\n\t\t} else if (pageState.activeStep !== activeStep) {\n\t\t\thistory.push(window.location.pathname, { activeStep });\n\t\t}\n\n\t\tlet unlisten = history.listen((location, action) => {\n\t\t\tif (\n\t\t\t\taction === 'POP' &&\n\t\t\t\tlocation.state &&\n\t\t\t\tlocation.state.activeStep !== undefined &&\n\t\t\t\tlocation.state.activeStep !== null\n\t\t\t) {\n\t\t\t\tsetActiveStep(location.state.activeStep);\n\t\t\t}\n\t\t});\n\n\t\treturn unlisten;\n\t}, [activeStep]);\n\n\tconst goBack = () => {\n\t\tmobileStepHandler();\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\n\t\t\t\t

    Submit an incident

    \n\t\t\t
    \n\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t setActiveStep('step1')}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t1. Incident details\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t setActiveStep('step2')}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t2. Who to notify\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    3. Review & Submit
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step1' &&
    1. Incident details
    }\n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step2' &&
    2. Who to notify
    }\n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step3' &&
    3. Review & Submit
    }\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{activeStep === 'step1' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{activeStep === 'step2' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{activeStep === 'step3' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default IncidentSubmit;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { Link, useLocation } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport StatusIcon from '../../components/StatusIcon';\nimport Button from '../../components/Button';\nimport DisplayDate from '../../components/DisplayDate';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\nimport { ReactComponent as SwitchUserIcon } from '../../assets/svg/switch-user.svg';\nimport { ReactComponent as SwitchIcon } from '../../assets/svg/switch.svg';\n\n// TYPES\nimport {\n\tComplaintAdminDashboardComplaints,\n\tComplaintUserDashboardComplaints,\n\tDomainProfileType\n} from '../../api/models';\n\nconst Complaints: React.FC = () => {\n\tconst dispatch = useAppDispatch();\n\tconst location = useLocation();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Check if User is Organisation Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// State to manage Admin view\n\tconst [canAccessAdminView, setCanAccessAdminView] = React.useState(false);\n\n\t// Check if User is viewing Complaint as an Admin or not\n\tconst viewComplaintAsAdmin = useAppSelector((state) => state.user.viewComplaintAsAdmin);\n\n\t// Check Profile Type of the Active User\n\tconst activeProfileType = useAppSelector((state) => state.user.activeProfileType);\n\n\t// Check if User is a Staff member\n\tconst isStaffMember = useAppSelector((state) => state.user.activeProfileType === DomainProfileType.Staff);\n\n\t// State to manage maximum number of items per section\n\tconst defaultMaxItems: number = 5;\n\n\t// Set up Admin Data state and initial Admin data\n\tconst initialAdminData: ComplaintAdminDashboardComplaints = {\n\t\tnewList: [],\n\t\tinProgressList: [],\n\t\tcompletedList: []\n\t};\n\n\tconst [adminComplaintsData, setAdminComplaintsData] =\n\t\tReact.useState(initialAdminData);\n\n\tconst getAdminComplaintsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getAdminComplaintsData();\n\n\t\tresponse.result = response.result || initialAdminData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetAdminComplaintsData(response.result);\n\t\t}\n\t};\n\n\t// Set up User Data state and initial User data\n\tconst initialUserData: ComplaintUserDashboardComplaints = {\n\t\tnewList: [],\n\t\tinProgressList: [],\n\t\tcompletedList: []\n\t};\n\n\tconst [userComplaintsData, setUserComplaintsData] = React.useState(initialUserData);\n\n\tconst getUserComplaintsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getUserComplaintsData();\n\n\t\tresponse.result = response.result || initialUserData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetUserComplaintsData(response.result);\n\t\t}\n\t};\n\n\t// Check if user is a staff and change the view accordingly\n\tReact.useEffect(() => {\n\t\tif (isStaffMember || isOrganisationAdmin) {\n\t\t\tsetCanAccessAdminView(true);\n\t\t} else {\n\t\t\tsetCanAccessAdminView(false);\n\t\t}\n\t}, []);\n\n\t// Check if User follow the user-view Link from Dashboard\n\tReact.useEffect(() => {\n\t\tif (location.pathname === '/complaints/user-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewComplaintAsAdmin: false }));\n\n\t\t\tgetUserComplaintsData();\n\t\t} else if (canAccessAdminView && location.pathname === '/complaints/admin-view') {\n\t\t\tdispatch(UserSlice.actions.update({ viewComplaintAsAdmin: true }));\n\n\t\t\tgetAdminComplaintsData();\n\t\t}\n\t}, []);\n\n\t// Load data based on which view is loaded\n\tReact.useEffect(() => {\n\t\tif (canAccessAdminView && viewComplaintAsAdmin) {\n\t\t\tgetAdminComplaintsData();\n\t\t} else {\n\t\t\tgetUserComplaintsData();\n\t\t}\n\n\t\tsetIsLoading(false);\n\t}, [canAccessAdminView]);\n\n\t// FILTER ADMIN DATA\n\tconst {\n\t\tnewList: newAdminList,\n\t\tinProgressList: inProgressAdminList,\n\t\tcompletedList: completedAdminList\n\t} = adminComplaintsData;\n\n\tconst [maxNewAdminList, setMaxNewAdminList] = React.useState(defaultMaxItems);\n\tconst [maxInProgressAdminList, setMaxInProgressAdminList] = React.useState(defaultMaxItems);\n\tconst [maxCompletedAdminList, setMaxCompletedAdminList] = React.useState(defaultMaxItems);\n\n\t// FILTER USER DATA\n\tconst {\n\t\tnewList: newUserList,\n\t\tinProgressList: inProgressUserList,\n\t\tcompletedList: completedUserList\n\t} = userComplaintsData;\n\n\tconst [maxNewUserList, setMaxNewUserList] = React.useState(defaultMaxItems);\n\tconst [maxInProgressUserList, setMaxInProgressUserList] = React.useState(defaultMaxItems);\n\tconst [maxCompletedUserList, setMaxCompletedUserList] = React.useState(defaultMaxItems);\n\n\t// Switch Role Function\n\tconst switchRole = () => {\n\t\tif (canAccessAdminView) {\n\t\t\tif (viewComplaintAsAdmin) {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewComplaintAsAdmin: false }));\n\n\t\t\t\tgetUserComplaintsData();\n\t\t\t} else {\n\t\t\t\tdispatch(UserSlice.actions.update({ viewComplaintAsAdmin: true }));\n\n\t\t\t\tgetAdminComplaintsData();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{canAccessAdminView && viewComplaintAsAdmin ? (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tComplaints are an important way for members of organisations to raise serious safety concerns. As\n\t\t\t\t\t\t\t\t\t\t\ta Leader, you can view, manage and resolve complaints received by your organisation. If you need\n\t\t\t\t\t\t\t\t\t\t\tassistance managing complaints, access our helpful guidance documents.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tBelow are complaints received by your organisation. As a Leader, you can\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tview, manage and resolve these complaints.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou can also submit a complaint and view your own complaints. Click on\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t‘View my complaints’ to switch roles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{(newAdminList && newAdminList.length > 0) ||\n\t\t\t\t\t\t\t\t\t\t(inProgressAdminList && inProgressAdminList.length > 0) ||\n\t\t\t\t\t\t\t\t\t\t(completedAdminList && completedAdminList.length > 0) ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit a complaint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{newAdminList && newAdminList.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tNew\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{newAdminList.length}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{newAdminList.slice(0, maxNewAdminList).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.subject}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Submitted
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    By
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.createdBy}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Days open
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxNewAdminList < newAdminList.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxNewAdminList(newAdminList.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {newAdminList.length - maxNewAdminList} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{inProgressAdminList && inProgressAdminList.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    In Progress
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{inProgressAdminList.slice(0, maxInProgressAdminList).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.subject}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Last updated
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    By
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.updatedBy}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Days open
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxInProgressAdminList < inProgressAdminList.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxInProgressAdminList(inProgressAdminList.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {inProgressAdminList.length - maxInProgressAdminList} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{completedAdminList && completedAdminList.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Resolved
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{completedAdminList.slice(0, maxCompletedAdminList).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t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\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxCompletedAdminList < completedAdminList.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxCompletedAdminList(completedAdminList.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {completedAdminList.length - maxCompletedAdminList} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not yet submitted any Complaints.\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit a complaint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tComplaints are an important way for members of organisations to raise serious safety concerns. As\n\t\t\t\t\t\t\t\t\t\t\ta member of your organisation, you can submit a complaint and view your own complaints.{' '}\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t{canAccessAdminView && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tBelow are the complaints that you have submitted to your\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\torganisation.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAs a Leader , you can also view, manage and resolve complaints\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treceived by your organisation. Click on ‘Manage complaints’ to switch roles.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tBelow are the complaints that you have submitted to your organisation.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{(newUserList && newUserList.length > 0) ||\n\t\t\t\t\t\t\t\t\t\t(inProgressUserList && inProgressUserList.length > 0) ||\n\t\t\t\t\t\t\t\t\t\t(completedUserList && completedUserList.length > 0) ? (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit a complaint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{newUserList && newUserList.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tNew\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{newUserList.length}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{newUserList.slice(0, maxNewUserList).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t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t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxNewUserList < newUserList.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxNewUserList(newUserList.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {newUserList.length - maxNewUserList} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{inProgressUserList && inProgressUserList.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    In Progress
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{inProgressUserList.slice(0, maxInProgressUserList).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.subject}
    \n\n\t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t{maxInProgressUserList < inProgressUserList.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxInProgressUserList(inProgressUserList.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {inProgressUserList.length - maxInProgressUserList} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{completedUserList && completedUserList.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Resolved
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{completedUserList.slice(0, maxCompletedUserList).map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.subject}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Resolved
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    By
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {item.resolvedBy}
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    Days open
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{maxCompletedUserList < completedUserList.length && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setMaxCompletedUserList(completedUserList.length)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuttonIcon={}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShow {completedUserList.length - maxCompletedUserList} more\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\tYou have not yet submitted any Complaints.\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tSubmit a complaint\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{isOrganisationActive &&\n\t\t\t\t\t\t\t\t\t(activeProfileType === DomainProfileType.SuperAdministrator ||\n\t\t\t\t\t\t\t\t\t\tactiveProfileType === DomainProfileType.Staff) && (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Complaints management guides

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\tIf you need assistance managing complaints, review our helpful guidance documents.\n\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tView Complaints Management Guides\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default Complaints;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport SafeHtml from '../../../components/SafeHtml';\nimport DownloadLink from '../../../components/DownloadLink';\nimport DisplayDateTime from '../../../components/DisplayDateTime';\n\n// TYPES\nimport { ComplaintsProgressViewTypes, ViewTypes } from './ComplaintsProgressModal';\n\nconst ReadActivity: React.FC = ({ complaintId, activity = {}, showView, closeModal }) => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\tconst { canUpdate, id, title, occurrence, creator, description, attachments } = activity;\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t

    {title}

    \n\n\t\t\t\t\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t

    Logged By

    \n\n\t\t\t\t

    {creator}

    \n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t

    Description of action taken

    \n\n\t\t\t\t{description ? {description} :

    None

    }\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t

    Attachments

    \n\n\t\t\t\t{attachments && attachments.length > 0 ? (\n\t\t\t\t\t
      \n\t\t\t\t\t\t{attachments.map((attachment, index) => (\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t))}\n\t\t\t\t\t
    \n\t\t\t\t) : (\n\t\t\t\t\t

    None

    \n\t\t\t\t)}\n\t\t\t
    \n\n\t\t\t{isOrganisationActive && canUpdate && (\n\t\t\t\t
    \n\t\t\t\t\t{canUpdate && (\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
    \n\t\t\t)}\n\n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\n\t\t\t{isOrganisationActive && canUpdate && (\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default ReadActivity;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { useFormik } from 'formik';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport FileUpload from '../../../components/FileUpload';\nimport FilesList from '../../../components/FilesList';\nimport Button from '../../../components/Button';\nimport DateTimeInput from '../../../components/DateTimeInput';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// TYPES\nimport { ComplaintsProgressViewTypes, ViewTypes } from './ComplaintsProgressModal';\nimport { ComplaintEditActionCommand } from '../../../api/models';\n\nconst UpdateActivity: React.FC = ({\n\tcomplaintId,\n\tactivity = {},\n\tshowView,\n\tcloseModal,\n\trefreshComplaintsProgress,\n\tgetComplaintsDetailsData\n}) => {\n\tconst { id = '', title = '', occurrence = '', description = '', attachments = [] } = activity;\n\tconst createAttachments: ComplaintEditActionCommand['createAttachments'] = [];\n\tconst deleteAttachmentIds: ComplaintEditActionCommand['deleteAttachmentIds'] = [];\n\n\tconst mode = !id ? 'create' : 'update';\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst logComplaintsProgress = async (values: ComplaintEditActionCommand) => {\n\t\tif (values !== undefined) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.logComplaintsProgress(values);\n\n\t\t\tresponse.result = response.result || [];\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst logProgress = async (values: ComplaintEditActionCommand) => {\n\t\tawait logComplaintsProgress(values);\n\n\t\trefreshComplaintsProgress();\n\n\t\tgetComplaintsDetailsData();\n\n\t\tif (closeModal) {\n\t\t\tcloseModal();\n\t\t}\n\t};\n\n\tconst initialValues: ComplaintEditActionCommand = {\n\t\tid,\n\t\tcomplaintId,\n\t\ttitle,\n\t\toccurrence,\n\t\tdescription,\n\t\tcreateAttachments,\n\t\tdeleteAttachmentIds\n\t};\n\n\tconst formik = useFormik({\n\t\tinitialValues,\n\t\tvalidate: (values) => {\n\t\t\tconst errors: any = {};\n\n\t\t\tif (!values.title) {\n\t\t\t\terrors.title = 'Required';\n\t\t\t}\n\n\t\t\tif (!values.description) {\n\t\t\t\terrors.description = 'Required';\n\t\t\t}\n\n\t\t\treturn errors;\n\t\t},\n\t\tonSubmit: (values) => {\n\t\t\tlogProgress(values);\n\t\t}\n\t});\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{formik.touched.title && formik.errors.title ? (\n\t\t\t\t\t\t\t\t\t\t
    {formik.errors.title}
    \n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('occurrence', val)}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{formik.touched.description && formik.errors.description ? (\n\t\t\t\t\t\t\t\t\t\t
    {formik.errors.description}
    \n\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('deleteAttachmentIds', vals)}\n\t\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('createAttachments', vals)}\n\t\t\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\t\t\tmaxSizeMb={5}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{mode === 'update' && (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default UpdateActivity;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../../assets/svg/alert.svg';\n\n// TYPES\nimport { ComplaintsProgressViewTypes, ViewTypes } from './ComplaintsProgressModal';\nimport { ComplaintRemoveActionCommand } from '../../../api/models';\n\nconst DeleteActivity: React.FC = ({\n\tcomplaintId,\n\tactivity = {},\n\tshowView,\n\tcloseModal,\n\trefreshComplaintsProgress\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst removeComplaintsProgressItem = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: ComplaintRemoveActionCommand = { id: activity.id };\n\n\t\tconst response = await apibridge.removeComplaintsProgress(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\trefreshComplaintsProgress();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove '{activity.title}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default DeleteActivity;\n","var _path, _circle, _path2;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgNoteIcon(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 48,\n height: 48,\n viewBox: \"0 0 48 48\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M24 45C35.5981 45 45 35.5981 45 24C45 12.402 35.5981 3 24 3C12.402 3 3 12.402 3 24C3 35.5981 12.402 45 24 45Z\",\n stroke: \"#8E18A8\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _circle || (_circle = /*#__PURE__*/React.createElement(\"circle\", {\n cx: 24,\n cy: 35.5,\n r: 1.5,\n fill: \"#8E18A8\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M24 13L24 30\",\n stroke: \"#8E18A8\",\n strokeWidth: 3,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgNoteIcon);\nexport default __webpack_public_path__ + \"static/media/note-icon.8f329ab2.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport GlobalModal from '../../../components/GlobalModal';\nimport DisplayDateTime from '../../../components/DisplayDateTime';\nimport ComplaintsProgressModal, { ViewTypes } from './ComplaintsProgressModal';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../../assets/svg/plus.svg';\n\n// TYPES\nimport { ComplaintActionsAction } from '../../../api/models';\n\ninterface ComplaintsProgressTypes {\n\tcomplaintId?: string;\n\tcanAddActions?: boolean;\n\tcanViewActions?: boolean;\n\tgetComplaintsDetailsData: () => Promise;\n\tcomplaintProgressData: ComplaintActionsAction[];\n\tgetComplaintsProgress: () => Promise;\n\tcomplaintProgressFormErrorMessage?: string;\n\tisLoading: boolean;\n}\n\nexport const ComplaintsProgress: React.FC = ({\n\tcomplaintId,\n\tcanAddActions,\n\tcanViewActions,\n\tgetComplaintsDetailsData,\n\tcomplaintProgressData,\n\tgetComplaintsProgress,\n\tcomplaintProgressFormErrorMessage,\n\tisLoading\n}) => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Set up Modal States\n\tconst [showCreateModal, setShowCreateModal] = React.useState(false);\n\n\tconst [showReadModal, setShowReadModal] = React.useState(false);\n\n\tconst [modalData, setModalData] = React.useState();\n\n\tconst createItem = () => {\n\t\tsetShowReadModal(false);\n\n\t\tsetShowCreateModal(true);\n\t};\n\n\tconst readItem = (index: number) => {\n\t\tconst item = complaintProgressData[index];\n\n\t\tsetModalData(item);\n\n\t\tsetShowCreateModal(false);\n\n\t\tsetShowReadModal(true);\n\t};\n\n\treturn (\n\t\t\n\t);\n};\n\nexport default ComplaintsProgress;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\nimport { useUpdateTotalNotification } from '../../../utils/useUpdateTotalNotification';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// TYPES\nimport { ComplaintResolutionCommand } from '../../../api/models';\ninterface ResolveModalTypes {\n\tcomplaintId?: string;\n}\n\nconst ResolveModal: React.FC = ({ complaintId }) => {\n\tconst history = useHistory();\n\n\t// Get all complaint resolutions from Redux store\n\tconst complaintResolutionStatuses = useAppSelector((state) => state.lists.complaintResolutionStatuses);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst displayLabel = (value?: string) => {\n\t\tif (value) {\n\t\t\tif (value === 'InsufficientInformation') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tInsufficient information — No further action required\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else if (value === 'Withdrawn') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tComplaint withdrawn by complainant — No further action required\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else if (value === 'NotSubstantiated') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tComplaint investigated and not substantiated — Please ensure that the reasons for this\n\t\t\t\t\t\tdecision have been recorded.\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else if (value === 'Substantiated') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tComplaint investigated and substantiated — Please ensure that all of the following\n\t\t\t\t\t\tinformation has been recorded: authorities notified, the reasons for this decision, the disciplinary action\n\t\t\t\t\t\ttaken, communication with parents and child and support provided, and actions taken by the organisation to\n\t\t\t\t\t\treduce the risk of this occurring again.\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t};\n\n\t// Set up data state and initial data\n\tconst initialFormData: ComplaintResolutionCommand = {\n\t\tid: undefined,\n\t\tresolution: undefined,\n\t\tnotes: ''\n\t};\n\n\tconst [complaintsResolveFormData, setComplaintsResolveFormData] = React.useState(initialFormData);\n\n\tconst resolveComplaint = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: ComplaintResolutionCommand = {\n\t\t\tid: complaintId,\n\t\t\tresolution: values.resolutionInput,\n\t\t\tnotes: values.notesInput\n\t\t};\n\n\t\tsetComplaintsResolveFormData(data);\n\n\t\tconst response = await apibridge.resolveComplaint(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/complaints');\n\n\t\t\tuseUpdateTotalNotification();\n\t\t}\n\t};\n\n\t// Set up Formik\n\tconst validationSchemaStepOne = Yup.object({\n\t\tresolutionInput: Yup.string().required('Required'),\n\t\tnotesInput: Yup.string().required('Required')\n\t});\n\n\tconst initialValuesStepOne = {\n\t\tresolutionInput: complaintsResolveFormData.resolution,\n\t\tnotesInput: complaintsResolveFormData.notes\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{complaintResolutionStatuses &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcomplaintResolutionStatuses.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcomplaintResolutionStatuses.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('resolutionInput', item.value)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{displayLabel(item.value)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ResolveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// TYPES\nimport { ComplaintAcceptResolutionResolution } from '../../../api/models';\n\ninterface ReviewResolutionModalTypes {\n\tcomplaintId?: string;\n}\n\nconst ReviewResolutionModal: React.FC = ({ complaintId }) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\t// Set up data state and initial data\n\tconst initialData = {\n\t\tresolver: '',\n\t\tproposal: '',\n\t\tnotes: ''\n\t};\n\n\tconst [resolutionReviewDetail, setResolutionReviewDetail] =\n\t\tReact.useState(initialData);\n\n\tconst getResolutionReviewDetail = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getResolutionReviewDetail(complaintId);\n\n\t\tresponse.result = response.result || initialData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetResolutionReviewDetail(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetResolutionReviewDetail();\n\t}, []);\n\n\tconst { resolver, proposal, notes } = resolutionReviewDetail;\n\n\tconst acceptResolution = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.acceptResolution({ id: complaintId });\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/complaints');\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    {resolver} proposes that

    \n\n\t\t\t\t\t\t\t\t\t\t

    {proposal}

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Notes

    \n\n\t\t\t\t\t\t\t\t\t\t

    {notes}

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Don't agree with this resolution?

    \n\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tPlease discuss the proposed resolution with the other leaders resolving this complaint and\n\t\t\t\t\t\t\t\t\t\t\tdetermine the next steps towards resolution. You can record any actions taken to resolve the\n\t\t\t\t\t\t\t\t\t\t\tcomplaint by clicking on ‘log action’.\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ReviewResolutionModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// TYPES\nimport { ComplaintAcceptResolutionResolution } from '../../../api/models';\n\ninterface ViewResolutionModalTypes {\n\tcomplaintId?: string;\n}\n\nconst ViewResolutionModal: React.FC = ({ complaintId }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\t// Set up data state and initial data\n\tconst initialData = {\n\t\tresolver: '',\n\t\tproposal: '',\n\t\tnotes: ''\n\t};\n\n\tconst [resolutionReviewDetail, setResolutionReviewDetail] =\n\t\tReact.useState(initialData);\n\n\tconst getResolutionReviewDetail = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getResolutionReviewDetail(complaintId);\n\n\t\tresponse.result = response.result || initialData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetResolutionReviewDetail(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetResolutionReviewDetail();\n\t}, []);\n\n\tconst { resolver, proposal, notes } = resolutionReviewDetail;\n\n\treturn (\n\t\t<>\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    {resolver} proposes that

    \n\n\t\t\t\t\t\t\t\t\t\t

    {proposal}

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Notes

    \n\n\t\t\t\t\t\t\t\t\t\t

    {notes}

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ViewResolutionModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\nimport { useUpdateTotalNotification } from '../../../utils/useUpdateTotalNotification';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// TYPES\nimport { ComplaintReopenCommand } from '../../../api/models';\n\ninterface ReOpenModalTypes {\n\tcomplaintId?: string;\n}\n\nconst ReOpenModal: React.FC = ({ complaintId }) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\t// Set up Formik\n\tconst validationSchema = Yup.object({\n\t\tcommentInput: Yup.string().required('Required')\n\t});\n\n\tconst initialValues = {\n\t\tcommentInput: ''\n\t};\n\n\tconst reOpenComplaint = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: ComplaintReopenCommand = {\n\t\t\tid: complaintId,\n\t\t\tcomments: values.commentInput\n\t\t};\n\n\t\tconst response = await apibridge.reOpenComplaint(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/complaints');\n\n\t\t\tuseUpdateTotalNotification();\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Please provide details around why this complaint is being re-opened.

    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ReOpenModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\nimport { useUpdateTotalNotification } from '../../../utils/useUpdateTotalNotification';\n\n// PACKAGES\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\n\ninterface WithdrawComplaintModalTypes {\n\tcomplaintId?: string;\n\tcomplaintSubject?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst WithdrawComplaintModal: React.FC = ({\n\tcomplaintId,\n\tcomplaintSubject,\n\tcloseModal\n}) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst withdrawComplaint = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.withdrawComplaint({ id: complaintId });\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/complaints');\n\n\t\t\tuseUpdateTotalNotification();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to withdraw '{complaintSubject}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default WithdrawComplaintModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// TYPES\nimport { ComplaintResolutionCommand } from '../../../api/models';\ninterface EditResolutionModalTypes {\n\tcomplaintId?: string;\n}\n\nconst EditResolutionModal: React.FC = ({ complaintId }) => {\n\tconst history = useHistory();\n\n\t// Get Complaint Resolution status from Redux store\n\tconst complaintResolutionStatuses = useAppSelector((state) => state.lists.complaintResolutionStatuses);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst displayLabel = (value?: string) => {\n\t\tif (value) {\n\t\t\tif (value === 'InsufficientInformation') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tInsufficient information — No further action required\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else if (value === 'Withdrawn') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tComplaint withdrawn by complainant — No further action required\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else if (value === 'NotSubstantiated') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tComplaint investigated and not substantiated — Please ensure all actions & reasons recorded\n\t\t\t\t\t\tand notes retained\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else if (value === 'Substantiated') {\n\t\t\t\treturn (\n\t\t\t\t\t<>\n\t\t\t\t\t\tComplaint investigated and substantiated — Please record disciplinary actions taken,\n\t\t\t\t\t\tauthorities notified, communication with parents & child and support provided, actions taken by the\n\t\t\t\t\t\torganisation to reduce the risk of this occuring again.\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t};\n\n\t// Set up data state and initial data\n\tconst initialFormData: ComplaintResolutionCommand = {\n\t\tid: undefined,\n\t\tresolution: undefined,\n\t\tnotes: ''\n\t};\n\n\tconst [complaintsResolveFormData, setComplaintsResolveFormData] = React.useState(initialFormData);\n\n\tconst getComplaintResolution = async () => {\n\t\tif (complaintId) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getComplaintResolution(complaintId);\n\n\t\t\tresponse.result = response.result || initialFormData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetComplaintsResolveFormData(response.result);\n\t\t\t}\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetComplaintResolution();\n\t}, []);\n\n\tconst resolveComplaint = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: ComplaintResolutionCommand = {\n\t\t\tid: complaintId,\n\t\t\tresolution: values.resolutionInput,\n\t\t\tnotes: values.notesInput\n\t\t};\n\n\t\tsetComplaintsResolveFormData(data);\n\n\t\tconst response = await apibridge.resolveComplaint(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/complaints');\n\t\t}\n\t};\n\n\t// Set up Formik\n\tconst validationSchema = Yup.object({\n\t\tresolutionInput: Yup.string().required('Required'),\n\t\tnotesInput: Yup.string().required('Required')\n\t});\n\n\tconst initialValues = {\n\t\tresolutionInput: complaintsResolveFormData.resolution,\n\t\tnotesInput: complaintsResolveFormData.notes\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t{complaintResolutionStatuses &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcomplaintResolutionStatuses.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcomplaintResolutionStatuses.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('resolutionInput', item.value)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{displayLabel(item.value)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default EditResolutionModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { listenForOutsideClicks } from '../../utils';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as SeachIcon } from '../../assets/svg/search.svg';\n\n// TYPES\nexport interface SearchAdditionalStaffTypes {\n\tplaceholder?: string;\n\tonChange?: any;\n\tisFullWidth?: boolean;\n\tcomplaintId?: string;\n\tsetShowAddStaffControl: React.Dispatch>;\n\tdisplayClickResult: ComplaintStaffCandidatesStaffProfile;\n\tsetDisplayClickResult: React.Dispatch>;\n}\n\nimport { ComplaintStaffCandidatesStaffProfile } from '../../api/models';\n\nconst SearchAdditionalStaff: React.FC = ({\n\tplaceholder = 'Search...',\n\tonChange,\n\tisFullWidth,\n\tcomplaintId,\n\tsetShowAddStaffControl,\n\tdisplayClickResult,\n\tsetDisplayClickResult\n}) => {\n\tconst [query, setQuery] = React.useState('');\n\n\tconst [searchResults, setSearchResults] = React.useState([]);\n\n\tconst [hasError, setHasError] = React.useState(false);\n\n\tconst [isActive, setIsActive] = React.useState(false);\n\n\tconst initialDisplayResult: ComplaintStaffCandidatesStaffProfile = {\n\t\tid: undefined,\n\t\tuserId: undefined,\n\t\tname: undefined,\n\t\trole: undefined,\n\t\tprofileImage: undefined\n\t};\n\n\tconst searchData = async (complaintId: string, name: string) => {\n\t\tconst response = await apibridge.searchComplaintResolveStaffMember(complaintId, name);\n\n\t\tif (response.result) {\n\t\t\tsetHasError(false);\n\n\t\t\tsetSearchResults(response.result);\n\t\t} else {\n\t\t\tsetHasError(true);\n\n\t\t\tsetSearchResults([]);\n\t\t}\n\t};\n\n\tconst onChangeHandler = (e: React.ChangeEvent) => {\n\t\tconst val = e.target.value;\n\n\t\tsetQuery(val);\n\n\t\tif (onChange) {\n\t\t\tonChange(undefined);\n\t\t}\n\n\t\tif (!val) {\n\t\t\tsetIsActive(false);\n\t\t} else {\n\t\t\tsetIsActive(true);\n\n\t\t\tsearchData(complaintId || '', val);\n\t\t}\n\t};\n\n\tconst onClickPostHandler = (item: ComplaintStaffCandidatesStaffProfile) => {\n\t\tsetIsActive(false);\n\n\t\tsetDisplayClickResult(item);\n\n\t\tsetQuery('');\n\n\t\tif (onChange) {\n\t\t\tonChange(item);\n\t\t}\n\t};\n\n\tconst removeStaffDisplay = () => {\n\t\tsetDisplayClickResult(initialDisplayResult);\n\n\t\tsetShowAddStaffControl(false);\n\t};\n\n\t// Logic to detect outside click and close search container\n\tconst searchContainerRef = React.useRef(null);\n\tlistenForOutsideClicks(searchContainerRef, isActive, setIsActive);\n\n\treturn (\n\t\t
    \n\t\t\t{displayClickResult && displayClickResult.id ? (\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t

    {displayClickResult.name}

    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t) : (\n\t\t\t\t
    \n\t\t\t\t\t\n\n\t\t\t\t\t setIsActive(!!query)}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\t\t\t)}\n\n\t\t\t{(hasError || searchResults) && (\n\t\t\t\t\n\t\t\t\t\t
      \n\t\t\t\t\t\t{hasError ? (\n\t\t\t\t\t\t\t
    • No results found
    • \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\tsearchResults.map((item) => {\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t
    • onClickPostHandler(item)} key={item.id} className=\"search-result-item\">\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{item.name}\n\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t
      {item.role}
      \n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default SearchAdditionalStaff;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../../assets/svg/alert.svg';\n\n// TYPES\nimport { ComplaintFetchUserProfile, ComplaintRemoveFamilyMemberCommand } from '../../../api/models';\nimport { closeModalType } from '../../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\tcloseModal?: closeModalType;\n\tcomplaintId: string;\n\tfamilyMemberDetail: ComplaintFetchUserProfile;\n\tgetComplaintsDetailsData: () => Promise;\n}\n\nconst RemoveModal: React.FC = ({\n\tcloseModal,\n\tcomplaintId,\n\tgetComplaintsDetailsData,\n\tfamilyMemberDetail\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmRemove = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: ComplaintRemoveFamilyMemberCommand = {\n\t\t\tid: familyMemberDetail.id,\n\t\t\tcomplaintId: complaintId\n\t\t};\n\n\t\tconst response = await apibridge.removeFamilyMember(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetComplaintsDetailsData();\n\t\t}\n\t};\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove '{familyMemberDetail.name}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default RemoveModal;\n","var _path, _path2, _path3, _path4, _path5, _path6, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgBillChildren(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M17.5 22C21.0899 22 24 19.0899 24 15.5C24 11.9101 21.0899 9 17.5 9C13.9101 9 11 11.9101 11 15.5C11 19.0899 13.9101 22 17.5 22Z\",\n stroke: \"url(#paint0_linear_1370_26340)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M25 39V55.9635C25 57.8297 24.2098 59.6194 22.8033 60.939C21.3968 62.2587 19.4891 63 17.5 63V63C15.5109 63 13.6032 62.2587 12.1967 60.939C10.7902 59.6194 10 57.8297 10 55.9635V39\",\n stroke: \"url(#paint1_linear_1370_26340)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M61.0025 39.0338L63 54.1802L61.0025 56.6802C61.054 58.5642 60.3983 60.3929 59.1793 61.7651C57.9603 63.1374 56.2774 63.9411 54.5 64V64C52.7235 63.9412 51.0418 63.137 49.8245 61.7645C48.6071 60.3919 47.9538 58.5631 48.0081 56.6802L46 54.4279L48.0081 39\",\n stroke: \"url(#paint2_linear_1370_26340)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M33 46C33 27.25 22.8113 26 22.8113 26C19.4151 29.75 17.717 29.575 17.717 29.575H18.283C18.283 29.575 16.5849 29.75 13.1887 26C13.1887 26 3 27.25 3 46\",\n stroke: \"url(#paint3_linear_1370_26340)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M69 46C69 27.25 58.8113 26 58.8113 26C55.4151 29.75 53.717 29.575 53.717 29.575H54.283C54.283 29.575 52.5849 29.75 49.1887 26C49.1887 26 39 27.25 39 46\",\n stroke: \"url(#paint4_linear_1370_26340)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M49.9541 21C49.9541 21 45.8763 9 54.5813 9C63.2862 9 58.8898 21 58.8898 21\",\n stroke: \"url(#paint5_linear_1370_26340)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1370_26340\",\n x1: 12.8685,\n y1: 9.55849,\n x2: 20.4622,\n y2: 18.208,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint1_linear_1370_26340\",\n x1: 12.156,\n y1: 40.0311,\n x2: 25.5153,\n y2: 49.5416,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint2_linear_1370_26340\",\n x1: 48.4435,\n y1: 40.074,\n x2: 62.7028,\n y2: 51.1186,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint3_linear_1370_26340\",\n x1: 7.31202,\n y1: 26.8592,\n x2: 17.5844,\n y2: 44.4104,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint4_linear_1370_26340\",\n x1: 43.312,\n y1: 26.8592,\n x2: 53.5844,\n y2: 44.4104,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint5_linear_1370_26340\",\n x1: 50.5811,\n y1: 9.51553,\n x2: 57.6435,\n y2: 16.8896,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgBillChildren);\nexport default __webpack_public_path__ + \"static/media/bill-children.dddedf3a.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport PageName from '../../components/PageName';\nimport Button from '../../components/Button';\nimport CircleImage from '../../components/CircleImage';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport ComplaintsProgress from './ComplaintsProgress/ComplaintsProgress';\nimport GlobalModal from '../../components/GlobalModal';\nimport ResolveModal from './Modals/ResolveModal';\nimport ReviewResolutionModal from './Modals/ReviewResolutionModal';\nimport ViewResolutionModal from './Modals/ViewResolutionModal';\nimport ReOpenModal from './Modals/ReOpenModal';\nimport WithdrawComplaintModal from './Modals/WithdrawComplaintModal';\nimport EditResolutionModal from './Modals/EditResolutionModal';\nimport SearchAdditionalStaff from './SearchAdditionalStaff';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport RemoveModal from './Modals/RemoveModal';\n\n// ICONS\nimport { ReactComponent as DownloadIcon } from '../../assets/svg/download.svg';\nimport { ReactComponent as NoteIcon } from '../../assets/svg/note-icon.svg';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport {\n\tComplaintFetchComplaint,\n\tComplaintStaffCandidatesStaffProfile,\n\tComplaintActionsAction,\n\tComplaintFetchUserProfile,\n\tDomainComplaintLoggingType,\n\tDomainComplaintStatusType,\n\tComplaintAddStaffCommand\n} from '../../api/models';\n\nconst ComplaintsDetail: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [complaintDetailFormErrorMessage, setComplaintDetailFormErrorMessage] = React.useState('');\n\n\tconst [complaintProgressFormErrorMessage, setComplaintProgressFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Getting Id from params\n\tconst params = useParams();\n\tconst complaintId = params.id;\n\n\t// All Modal control state\n\tconst [showResolveModal, setShowResolveModal] = React.useState(false);\n\n\tconst [showEditResolutionModal, setShowEditResolutionModal] = React.useState(false);\n\n\tconst [showReviewResolutionModal, setShowReviewResolutionModal] = React.useState(false);\n\n\tconst [showViewResolutionModal, setShowViewResolutionModal] = React.useState(false);\n\n\tconst [showWidthdrawComplaintModal, setShowWidthdrawComplaintModal] = React.useState(false);\n\n\tconst [showReOpenModal, setShowReOpenModal] = React.useState(false);\n\n\tconst [showRemoveModal, setShowRemoveModal] = React.useState(false);\n\n\t// Set up data state and initial data\n\tconst initialData: ComplaintFetchComplaint = {\n\t\tid: undefined,\n\t\tsubject: undefined,\n\t\tcreator: undefined,\n\t\tanonymousContact: undefined,\n\t\tloggingOnBehalf: undefined,\n\t\tcategoryDescription: undefined,\n\t\tstatusDescription: undefined,\n\t\toccurrence: undefined,\n\t\tlocation: undefined,\n\t\taccused: undefined,\n\t\taccusedRelationship: undefined,\n\t\timpacted: undefined,\n\t\timpactedRelationship: undefined,\n\t\tothersInvolved: undefined,\n\t\twitnesses: undefined,\n\t\tinitialComplaint: undefined,\n\t\tdescription: undefined,\n\t\tauthority: undefined,\n\t\tcomments: undefined,\n\t\tsummaryUrl: undefined,\n\t\tcanAccessSummary: undefined,\n\n\t\tattachments: [],\n\t\tassignees: [],\n\t\tfamilyMembers: [],\n\t\tleaders: [],\n\t\tresolutionReviewers: []\n\t};\n\n\t// Set up Complaind Detail Data state and initial data\n\tconst [complaintsDetailData, setComplaintsDetailData] = React.useState(initialData);\n\n\tconst getComplaintsDetailsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getComplaintsDetailsData(complaintId);\n\n\t\tresponse.result = response.result || initialData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetComplaintDetailFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (response.result.assignees === undefined) {\n\t\t\t\tresponse.result.assignees = [];\n\t\t\t}\n\n\t\t\tsetComplaintsDetailData(response.result);\n\t\t}\n\t};\n\n\t// Set up Complaint Progress Data State\n\tconst [complaintProgressData, setComplaintProgressData] = React.useState([]);\n\n\tconst getComplaintsProgress = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getComplaintsProgress(complaintId);\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetComplaintProgressFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetComplaintProgressData(response.result);\n\t\t}\n\t};\n\n\t// Combine 2 api call to hide and show loading spinner at the same time\n\tconst getComplaintDetailDashboardData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tawait getComplaintsDetailsData();\n\n\t\tawait getComplaintsProgress();\n\n\t\tsetIsLoading(false);\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetComplaintDetailDashboardData();\n\t}, []);\n\n\tconst {\n\t\tid,\n\t\tidentifier,\n\t\tsubject,\n\t\tcreator,\n\t\tloggingType,\n\t\tloggingOnBehalf,\n\t\tanonymousContact,\n\t\tcategoryDescription,\n\t\tstatus,\n\t\tstatusDescription,\n\t\toccurrence,\n\t\tlocation,\n\t\taccused,\n\t\taccusedRelationship,\n\t\timpacted,\n\t\timpactedRelationship,\n\t\tothersInvolved,\n\t\twitnesses,\n\t\tinitialComplaint,\n\t\tdescription,\n\t\tcomments,\n\t\tauthority,\n\t\tattachments,\n\t\tassignees,\n\t\tfamilyMembers,\n\t\tsummaryUrl,\n\t\tcanCreateResolution,\n\t\tcanEditResolution,\n\t\tcanViewResolution,\n\t\tcanReviewResolution,\n\t\tcanReopen,\n\t\tcanWithdraw,\n\t\tcanRemoveFamilyMember,\n\t\tcanViewActions,\n\t\tcanAddActions,\n\t\tcanAddStaff,\n\t\tcanAccessSummary,\n\t\tresolutionReviewers,\n\t\tleaders\n\t} = complaintsDetailData;\n\n\t// LOGIC TO ADD MORE STAFF\n\tconst initialStaffProfile = {\n\t\tid: undefined,\n\t\tuserId: undefined,\n\t\tname: undefined,\n\t\trole: undefined,\n\t\tprofileImage: undefined\n\t};\n\n\tconst [staffProfile, setStaffProfile] = React.useState(initialStaffProfile);\n\n\t// Toogle Section to add more staff\n\tconst [showAddStaffControl, setShowAddStaffControl] = React.useState(false);\n\n\t// State to display the staff chosen/clicked\n\tconst [displayClickResult, setDisplayClickResult] =\n\t\tReact.useState(initialStaffProfile);\n\n\tconst addStaffClickHandler = (item: ComplaintStaffCandidatesStaffProfile) => {\n\t\tif (item) {\n\t\t\tsetStaffProfile(item);\n\n\t\t\tsetShowAddStaffControl(true);\n\t\t} else {\n\t\t\tsetShowAddStaffControl(false);\n\t\t}\n\t};\n\n\tconst addStaffToComplaint = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: ComplaintAddStaffCommand = {\n\t\t\tid: complaintId,\n\t\t\tprofileId: staffProfile.id\n\t\t};\n\n\t\tconst response = await apibridge.addComplaintResolveStaffMember(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetComplaintDetailFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetStaffProfile(initialStaffProfile);\n\n\t\t\tsetDisplayClickResult(initialStaffProfile);\n\n\t\t\tsetShowAddStaffControl(false);\n\n\t\t\tgetComplaintsDetailsData();\n\t\t}\n\t};\n\n\t// LOGIC TO REMOVE FAMILY MEMBER\n\tconst [familyMemberDetail, setFamilyMemberDetail] = React.useState({});\n\n\tconst removeFamilyMember = async (item: ComplaintFetchUserProfile) => {\n\t\tsetFamilyMemberDetail(item);\n\n\t\tsetShowRemoveModal(true);\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!complaintDetailFormErrorMessage ? (\n\t\t\t\t
    {complaintDetailFormErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Submitted by
    \n\t\t\t\t\t\t\t\t\t\t\t
    {creator}
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Complaint ID
    \n\t\t\t\t\t\t\t\t\t\t\t
    {identifier}
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Category
    \n\t\t\t\t\t\t\t\t\t\t\t
    {categoryDescription}
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Status
    \n\t\t\t\t\t\t\t\t\t\t\t{status !== DomainComplaintStatusType.Closed && (\n\t\t\t\t\t\t\t\t\t\t\t\t
    {statusDescription}
    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t{status === DomainComplaintStatusType.Closed && (\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t{resolutionReviewers && resolutionReviewers.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Resolved by

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{resolutionReviewers\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.filter((item) => item.approved === true)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.name}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{index !== resolutionReviewers.length - 1 && ','}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && canCreateResolution && (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && canEditResolution && (\n\t\t\t\t\t\t\t\t\t\t\t setShowEditResolutionModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tEdit resolution\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && canReviewResolution && (\n\t\t\t\t\t\t\t\t\t\t\t setShowReviewResolutionModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tReview resolution\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && !canReviewResolution && !canEditResolution && canViewResolution && (\n\t\t\t\t\t\t\t\t\t\t\t setShowViewResolutionModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tView resolution\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && canReopen && (\n\t\t\t\t\t\t\t\t\t\t\t setShowReOpenModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tRe-open Complaint\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && canWithdraw && (\n\t\t\t\t\t\t\t\t\t\t\t setShowWidthdrawComplaintModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\tWithdraw complaint\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{isOrganisationActive &&\n\t\t\t\t\t\t\t\t\t\t\t(status === DomainComplaintStatusType.Open || status === DomainComplaintStatusType.InProgress) &&\n\t\t\t\t\t\t\t\t\t\t\tcanAddStaff && (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{leaders && assignees && leaders.length + assignees.length < 3 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tInsufficient number of members to resolve a complaint. Please add additional staff\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmembers.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t addStaffClickHandler(item)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcomplaintId={complaintId}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAddStaffControl={setShowAddStaffControl}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisplayClickResult={displayClickResult}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetDisplayClickResult={setDisplayClickResult}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{showAddStaffControl ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\tSubmitted{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t{loggingType === DomainComplaintLoggingType.SomeoneElse && loggingOnBehalf\n\t\t\t\t\t\t\t\t\t\t\t\t\t? 'on behalf of'\n\t\t\t\t\t\t\t\t\t\t\t\t\t: 'by'}{' '}\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t{loggingType === DomainComplaintLoggingType.Myself && 'Myself'}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{loggingType === DomainComplaintLoggingType.SomeoneElse && loggingOnBehalf && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>{loggingOnBehalf}\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{loggingType === DomainComplaintLoggingType.Anonymous && <>Anonymous ({anonymousContact})}\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Date and time of relevant event

    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Location of relevant event

    \n\t\t\t\t\t\t\t\t\t\t\t

    {location}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Who is the complaint about?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {accused}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    What is your relationship to this person(s)?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {accusedRelationship}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Name of person(s) impacted

    \n\t\t\t\t\t\t\t\t\t\t\t

    {impacted}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    What is your relationship to this person(s)?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {impactedRelationship}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Who else was involved in the relevant event?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {othersInvolved}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Who witnessed the relevant event?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {witnesses}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Is this your first complaint about this matter?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {initialComplaint ? 'Yes' : 'No'}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\tPlease detail your complaint including details of relevant event/s.\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t

    {description}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{authority ? (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\tPlease provide the name of the authority and the contact details of the person that you spoke\n\t\t\t\t\t\t\t\t\t\t\t\t\tto at that authority\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t

    {authority}

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Additional comments

    \n\t\t\t\t\t\t\t\t\t\t\t

    {comments}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{attachments && attachments.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Attachments

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Complaint notified to:

    \n\n\t\t\t\t\t\t\t\t\t\t\t{((leaders && leaders.length > 0) || (assignees && assignees.length > 0)) && (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    Leadership Team members

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{leaders &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tleaders.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tleaders.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.role}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{assignees &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tassignees.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tassignees.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.role}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t{familyMembers && familyMembers.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    Family members

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{familyMembers.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.role}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{canRemoveFamilyMember && isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{canAccessSummary && summaryUrl && (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tDownload Complaint Summary\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t{canViewActions && (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default ComplaintsDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as DocumentIcon } from '../../assets/svg/document.svg';\n\n// TYPES\nimport { ComplaintComplaintAdviceDocument } from '../../api/models';\n\nconst ComplaintsAdviceTemplates: React.FC = () => {\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to hold fetch data\n\tconst [complaintsAdviceData, setComplaintsAdviceData] = React.useState([]);\n\n\tconst getComplaintsAdviceData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getComplaintsAdviceData();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetComplaintsAdviceData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetComplaintsAdviceData();\n\t}, []);\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{complaintsAdviceData && complaintsAdviceData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Documents

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{complaintsAdviceData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.title}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item && item.attachmentUrl && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDownload\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\tInformation in this section is coming soon. In the meantime feel free to{' '}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tcontact us\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t.\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default ComplaintsAdviceTemplates;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { Link } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport DateTimeInput from '../../components/DateTimeInput';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport SingleSelect from '../../components/SingleSelect';\nimport FileUpload from '../../components/FileUpload';\n\n// ICONS\nimport { ReactComponent as QuestionMarkIcon } from '../../assets/svg/questionmark.svg';\n\n// TYPES\nimport { ComplaintsFormDataTypes } from './ComplaintsSubmit';\nimport { DomainProfileType } from '../../api/models';\n\ninterface StepOneTypes {\n\tcomplaintsFormData: ComplaintsFormDataTypes;\n\tsetComplaintsFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n}\n\nconst StepOne: React.FC = ({ complaintsFormData, setComplaintsFormData, setActiveStep }) => {\n\t// Check Profile Type of the Active User\n\tconst activeProfileType = useAppSelector((state) => state.user.activeProfileType);\n\n\t// Get all Complaint Categories from Redux store\n\tconst complaintCategories = useAppSelector((state) => state.lists.complaintCategories);\n\n\t// Submit Step One Function\n\tconst onSubmitStepOne = (values: any) => {\n\t\tsetActiveStep('step2');\n\n\t\twindow.scrollTo(0, 0);\n\n\t\tsetComplaintsFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\tloggingType: values.loggingTypeInput,\n\t\t\tloggingOnBehalf: values.loggingOnBehalfInput,\n\t\t\tanonymousContact: values.anonymousContactInput,\n\t\t\tcategory: values.categoryInput,\n\t\t\tsubject: values.subjectInput,\n\t\t\toccurrence: values.occurrenceInput,\n\t\t\tauthority: values.authorityInput,\n\t\t\tlocation: values.locationInput,\n\t\t\taccused: values.accusedInput,\n\t\t\taccusedRelationship: values.accusedRelationshipInput,\n\t\t\timpacted: values.impactedInput,\n\t\t\timpactedRelationship: values.impactedRelationshipInput,\n\t\t\tothersInvolved: values.othersInvolvedInput,\n\t\t\twitnesses: values.witnessesInput,\n\t\t\tisInitialComplaint: values.isFirstComplaintInput,\n\t\t\tdescription: values.descriptionInput,\n\t\t\tcomments: values.commentsInput,\n\t\t\tcreateAttachments: values.createAttachments,\n\t\t\tattachments: values.attachments\n\t\t}));\n\t};\n\n\tconst validationSchemaStepOne = Yup.object({\n\t\tloggingTypeInput: Yup.string().required('Required'),\n\t\tloggingOnBehalfInput: Yup.string().when('loggingTypeInput', {\n\t\t\tis: 'SomeoneElse',\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\tcategoryInput: Yup.string().required('Required'),\n\t\tsubjectInput: Yup.string().required('Required'),\n\t\toccurrenceInput: Yup.string().required('Required'),\n\t\tlocationInput: Yup.string().required('Required'),\n\t\taccusedInput: Yup.string().required('Required'),\n\t\taccusedRelationshipInput: Yup.string().required('Required'),\n\t\timpactedInput: Yup.string().required('Required'),\n\t\timpactedRelationshipInput: Yup.string().required('Required'),\n\t\tothersInvolvedInput: Yup.string().required('Required'),\n\t\twitnessesInput: Yup.string().required('Required'),\n\t\tisFirstComplaintInput: Yup.boolean().required('Required'),\n\t\tdescriptionInput: Yup.string().required('Required'),\n\t\tcommentsInput: Yup.string().required('Required')\n\t});\n\n\tconst initialValuesStepOne = {\n\t\tloggingTypeInput: complaintsFormData.loggingType || '',\n\t\tloggingOnBehalfInput: complaintsFormData.loggingOnBehalf || '',\n\t\tanonymousContactInput: complaintsFormData.anonymousContact || '',\n\t\tcategoryInput: complaintsFormData.category || '',\n\t\tsubjectInput: complaintsFormData.subject || '',\n\t\toccurrenceInput: complaintsFormData.occurrence || '',\n\t\tauthorityInput: complaintsFormData.authority || '',\n\t\tlocationInput: complaintsFormData.location || '',\n\t\taccusedInput: complaintsFormData.accused || '',\n\t\taccusedRelationshipInput: complaintsFormData.accusedRelationship || '',\n\t\timpactedInput: complaintsFormData.impacted || '',\n\t\timpactedRelationshipInput: complaintsFormData.impacted || '',\n\t\tothersInvolvedInput: complaintsFormData.othersInvolved || '',\n\t\twitnessesInput: complaintsFormData.witnesses || '',\n\t\tisFirstComplaintInput: complaintsFormData.isInitialComplaint || false,\n\t\tdescriptionInput: complaintsFormData.description || '',\n\t\tcommentsInput: complaintsFormData.comments || '',\n\t\tcreateAttachments: complaintsFormData.createAttachments,\n\t\tattachments: complaintsFormData.attachments\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('loggingTypeInput', 'Myself')}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tI am making a complaint\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{(activeProfileType === DomainProfileType.SuperAdministrator ||\n\t\t\t\t\t\t\t\t\t\t\tactiveProfileType === DomainProfileType.Staff) && (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('loggingTypeInput', 'SomeoneElse')}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tI am recording a complaint received by the organisation (e.g. phone call, email, letter)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{formik.values.loggingTypeInput === 'SomeoneElse' && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('loggingTypeInput', 'Anonymous')}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tAnonymously\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{formik.values.loggingTypeInput === 'Anonymous' && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('categoryInput', val)}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('occurrenceInput', val)}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('isFirstComplaintInput', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('isFirstComplaintInput', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('createAttachments', vals);\n\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('attachments', files);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\tfiles={formik.values.attachments}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t

    When to submit a complaint

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tComplaints are the most serious way for individuals to voice their safety concerns. Complaints about\n\t\t\t\t\t\t\t\t\tchildren’s safety must be taken seriously, investigated thoroughly, and actioned appropriately. A\n\t\t\t\t\t\t\t\t\tChildAware organisation will have a comprehensive, child-focused complaints handling policy available\n\t\t\t\t\t\t\t\t\tto staff, parents, children, volunteers and visitors that will guide how complaints are to be handled.\n\t\t\t\t\t\t\t\t\tChildAware organisations recognise that complaints present an opportunity for complainants to have\n\t\t\t\t\t\t\t\t\ttheir concerns addressed and for organisations to continually improve child safety practices.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tIf you have a general suggestion or comment about how an organisation might improve children’s safety\n\t\t\t\t\t\t\t\t\tyou may wish to submit \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tFeedback\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t instead.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tNote: If a child is in immediate danger, call police or emergency services on 000.\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default StepOne;\n","import * as React from 'react';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as NoteIcon } from '../../assets/svg/note-icon.svg';\n\n// TYPES\nimport { ComplaintsFormDataTypes } from './ComplaintsSubmit';\nimport { ComplaintMemberCandidatesUserProfile } from '../../api/models';\n\nexport interface StepTwoTypes {\n\tcomplaintsFormData: ComplaintsFormDataTypes;\n\tsetComplaintsFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n\tminimumLeaders: number;\n\tleaders: ComplaintMemberCandidatesUserProfile[];\n\tfamilyMembersData: ComplaintMemberCandidatesUserProfile[];\n}\n\nconst StepTwo: React.FC = ({\n\tcomplaintsFormData,\n\tsetComplaintsFormData,\n\tsetActiveStep,\n\tminimumLeaders,\n\tleaders,\n\tfamilyMembersData\n}) => {\n\t// Error State\n\tconst [showError, setShowError] = React.useState(false);\n\n\t// Filter all leaders Id\n\tconst leaderIds = leaders.map((item) => item.id || '');\n\n\t// Set up Data state for Excluded Leadership Team Members and Selected Family Members\n\tconst [excludedLeadershipTeamMembers, setExcludedLeadershipTeamMembers] = React.useState([]);\n\n\tconst [selectedFamilyMembers, setSelectedFamilyMembers] = React.useState([]);\n\n\tReact.useEffect(() => {\n\t\tsetExcludedLeadershipTeamMembers(complaintsFormData.excludedLeaders);\n\n\t\tsetSelectedFamilyMembers(complaintsFormData.familyMembers);\n\t}, [complaintsFormData.excludedLeaders, complaintsFormData.familyMembers, complaintsFormData.assignees]);\n\n\t// Show or Hide error when at least one member is added to Selected Leadership team members list\n\tReact.useEffect(() => {\n\t\tif (excludedLeadershipTeamMembers && excludedLeadershipTeamMembers.length < leaderIds.length) {\n\t\t\tsetShowError(false);\n\t\t}\n\t}, [excludedLeadershipTeamMembers]);\n\n\t// Leadership Team members Filter Logic\n\tconst leadershipMemberAddHandler = (memberId: string | undefined) => {\n\t\tif (memberId !== undefined) {\n\t\t\tconst newExcludedLeadershipMembers = complaintsFormData.excludedLeaders?.filter((item) => item !== memberId);\n\n\t\t\tsetComplaintsFormData({\n\t\t\t\t...complaintsFormData,\n\n\t\t\t\tassignees: [...(complaintsFormData.assignees || []), memberId],\n\t\t\t\texcludedLeaders: [...(newExcludedLeadershipMembers || [])]\n\t\t\t});\n\n\t\t\tif (complaintsFormData.assignees && complaintsFormData.assignees.length > 1) {\n\t\t\t\tsetShowError(false);\n\t\t\t}\n\t\t}\n\t};\n\n\tconst leadershipMemberRemoveHandler = (memberId: string | undefined) => {\n\t\tif (memberId !== undefined) {\n\t\t\tconst newLeadershipMembers = complaintsFormData.assignees?.filter((item) => item !== memberId);\n\n\t\t\tsetComplaintsFormData({\n\t\t\t\t...complaintsFormData,\n\n\t\t\t\tassignees: [...(newLeadershipMembers || [])],\n\t\t\t\texcludedLeaders: [...(complaintsFormData.excludedLeaders || []), memberId]\n\t\t\t});\n\t\t}\n\t};\n\n\t// Family members Filter Logic\n\tconst familyMemberAddHandler = (memberId: string | undefined) => {\n\t\tif (memberId !== undefined) {\n\t\t\tif (complaintsFormData.familyMembers?.filter((item) => item === memberId).length) return;\n\n\t\t\tsetComplaintsFormData({\n\t\t\t\t...complaintsFormData,\n\n\t\t\t\tfamilyMembers: [...(complaintsFormData.familyMembers || []), memberId]\n\t\t\t});\n\t\t}\n\t};\n\n\tconst familyMemberRemoveHandler = (memberId: string | undefined) => {\n\t\tif (memberId !== undefined) {\n\t\t\tconst newFamilyMembers = complaintsFormData.familyMembers?.filter((item) => item !== memberId);\n\n\t\t\tsetComplaintsFormData({\n\t\t\t\t...complaintsFormData,\n\n\t\t\t\tfamilyMembers: [...(newFamilyMembers || [])]\n\t\t\t});\n\t\t}\n\t};\n\n\t// Step two Click Handler\n\tconst stepTwoClickHandler = (e: React.MouseEvent) => {\n\t\te.preventDefault();\n\n\t\tif (excludedLeadershipTeamMembers && excludedLeadershipTeamMembers.length >= leaderIds.length) {\n\t\t\tsetShowError(true);\n\t\t} else {\n\t\t\tsetShowError(false);\n\n\t\t\tsetActiveStep('step3');\n\n\t\t\twindow.scrollTo(0, 0);\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{leaders && leaders.length < (minimumLeaders || 3) ? (\n\t\t\t\t
    \n\t\t\t\t\t\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\tPlease note: This organisation has not assigned the minimum number of leaders to resolve complaints.\n\t\t\t\t\t\t\tPlease be aware that your complaint may be shared with other staff members not listed here in order to\n\t\t\t\t\t\t\tresolve the issue.\n\t\t\t\t\t\t

    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t) : null}\n\n\t\t\t{leaders &&\n\t\t\tleaders.length >= (minimumLeaders || 3) &&\n\t\t\texcludedLeadershipTeamMembers &&\n\t\t\texcludedLeadershipTeamMembers.length >= leaderIds.length - 2 ? (\n\t\t\t\t
    \n\t\t\t\t\t\n\n\t\t\t\t\t
    \n\t\t\t\t\t\t

    \n\t\t\t\t\t\t\tPlease note: You have included fewer leaders then the maximum number required to resolve complaints. If\n\t\t\t\t\t\t\tyou do not wish to add more leaders to the issue, please be aware that your complaint may be shared with\n\t\t\t\t\t\t\tother staff members not listed here in order to resolve the issue.\n\t\t\t\t\t\t

    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t) : null}\n\n\t\t\t

    Who should be notified about this complaint?

    \n\n\t\t\t

    A minimum of 3 people should be notified

    \n\n\t\t\t{leaders && leaders.length > 0 ? (\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    Leadership Team members

    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
      \n\t\t\t\t\t\t{leaders.map((item) => {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isOrganisationAdmin ? 'Leader' : item.role}\n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{excludedLeadershipTeamMembers?.includes(item.id || '') ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t) : null}\n\n\t\t\t{familyMembersData && familyMembersData.length > 0 ? (\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t

    Family members

    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
      \n\t\t\t\t\t\t{familyMembersData.map((item) => {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t{item.isOrganisationAdmin ? 'Leader' : item.role}\n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{selectedFamilyMembers?.includes(item.id || '') ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t) : null}\n\n\t\t\t{showError && (\n\t\t\t\t
    You need to add at least 1 Leadership Team member or Leader
    \n\t\t\t)}\n\n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t);\n};\n\nexport default StepTwo;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link, useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as ArrowLeftIcon } from '../../assets/svg/chevron-left.svg';\nimport { ReactComponent as QuestionMarkIcon } from '../../assets/svg/questionmark.svg';\n\n// TYPES\nimport { ComplaintsFormDataTypes } from './ComplaintsSubmit';\nimport {\n\tDomainComplaintCategory,\n\tComplaintMemberCandidatesUserProfile,\n\tComplaintCreateCommand\n} from '../../api/models';\n\ninterface StepThreeTypes {\n\tcomplaintsFormData: ComplaintsFormDataTypes;\n\tsetComplaintsFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n\tleaders: ComplaintMemberCandidatesUserProfile[];\n\tfamilyMembersData: ComplaintMemberCandidatesUserProfile[];\n}\nimport { DomainComplaintLoggingType } from '../../api/models';\n\nconst StepThree: React.FC = ({\n\tcomplaintsFormData,\n\tsetComplaintsFormData,\n\tsetActiveStep,\n\tleaders,\n\tfamilyMembersData\n}) => {\n\tconst history = useHistory();\n\n\t// Get all Complaint Categories from Redux store\n\tconst complaintCategories = useAppSelector((state) => state.lists.complaintCategories);\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst {\n\t\tsubject,\n\t\tloggingType,\n\t\tloggingOnBehalf,\n\t\tanonymousContact,\n\t\tcategory,\n\t\toccurrence,\n\t\tauthority,\n\t\tlocation,\n\t\taccused,\n\t\taccusedRelationship,\n\t\timpacted,\n\t\timpactedRelationship,\n\t\tothersInvolved,\n\t\twitnesses,\n\t\tisInitialComplaint,\n\t\tdescription,\n\t\tcomments,\n\t\tcreateAttachments,\n\t\tassignees,\n\t\texcludedLeaders,\n\t\tfamilyMembers,\n\t\tattachments\n\t} = complaintsFormData;\n\n\tconst notifiedLeadershipTeamMembers = leaders.filter((item) => !excludedLeaders?.includes(item.id || ''));\n\tconst notifiedFamilyMembers = familyMembersData.filter((item) => familyMembers?.includes(item.id || ''));\n\n\tconst formData: ComplaintCreateCommand = {\n\t\tcategory,\n\t\tloggingType,\n\t\tloggingOnBehalf,\n\t\tanonymousContact,\n\t\tsubject,\n\t\toccurrence,\n\t\tauthority,\n\t\tlocation,\n\t\taccused,\n\t\taccusedRelationship,\n\t\timpacted,\n\t\timpactedRelationship,\n\t\tothersInvolved,\n\t\twitnesses,\n\t\tisInitialComplaint,\n\t\tdescription,\n\t\tcomments,\n\t\tcreateAttachments,\n\t\texcludedLeaders,\n\t\tfamilyMembers\n\t};\n\n\tconst submitComplaint = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.submitComplaint(formData);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/complaints');\n\n\t\t\tuseUpdateTotalNotification();\n\t\t}\n\t};\n\n\tconst displayComplaintAuthor = (author?: string) => {\n\t\tif (author) {\n\t\t\tif (author === 'Myself') {\n\t\t\t\treturn <>Myself;\n\t\t\t} else if (author === 'SomeoneElse' && loggingOnBehalf) {\n\t\t\t\treturn <>{loggingOnBehalf};\n\t\t\t} else if (author === 'Anonymous' && anonymousContact) {\n\t\t\t\treturn <>Anonymously ({anonymousContact});\n\t\t\t} else if (author === 'Anonymous' && !anonymousContact) {\n\t\t\t\treturn <>Anonymously;\n\t\t\t} else return null;\n\t\t}\n\t};\n\n\tconst displayCategory = (category?: DomainComplaintCategory) => {\n\t\tif (category) {\n\t\t\tconst currentCategory = complaintCategories?.find((item) => item.value === category);\n\t\t\treturn currentCategory?.label;\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t

    Please review your complaint before submitting it

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tThe leadership team for this organisation will be notified of your complaint, other than those members\n\t\t\t\t\t\t\t\t\tyou have chosen not to notify.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\tComplaint logged{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t{loggingType === DomainComplaintLoggingType.SomeoneElse && loggingOnBehalf\n\t\t\t\t\t\t\t\t\t\t\t\t\t? 'on behalf of'\n\t\t\t\t\t\t\t\t\t\t\t\t\t: 'by'}{' '}\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t

    {displayComplaintAuthor(loggingType)}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Complaint subject

    \n\t\t\t\t\t\t\t\t\t\t\t

    {subject}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Complaint Type

    \n\t\t\t\t\t\t\t\t\t\t\t

    {displayCategory(category)}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Date and time of relevant event

    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Location of relevant event

    \n\t\t\t\t\t\t\t\t\t\t\t

    {location}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Who is the complaint about?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {accused}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    What is your relationship to this person(s)?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {accusedRelationship}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Name of person(s) impacted

    \n\t\t\t\t\t\t\t\t\t\t\t

    {impacted}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    What is your relationship to this person(s)?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {impactedRelationship}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Who else was involved in the relevant event?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {othersInvolved}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Who witnessed the relevant event?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {witnesses}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Is this your first complaint about this matter?

    \n\t\t\t\t\t\t\t\t\t\t\t

    {isInitialComplaint ? 'Yes' : 'No'}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\tPlease detail your complaint including details of relevant event/s.\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t

    {description}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\tPlease provide the name of the authority and the contact details of the person that you spoke to\n\t\t\t\t\t\t\t\t\t\t\t\tat that authority\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t

    {authority}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Additional comments

    \n\t\t\t\t\t\t\t\t\t\t\t

    {comments}

    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{attachments && attachments.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Attachments

    \n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t{attachments.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.displayFileName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Complaint notified to:

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    Leadership Team members

    \n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t{notifiedLeadershipTeamMembers &&\n\t\t\t\t\t\t\t\t\t\t\t\t\tnotifiedLeadershipTeamMembers.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\tnotifiedLeadershipTeamMembers.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.role}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t{notifiedFamilyMembers && notifiedFamilyMembers.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    Family members

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{notifiedFamilyMembers.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.role}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t

    When to submit a complaint

    \n\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tComplaints are the most serious way for individuals to voice their safety concerns. Complaints\n\t\t\t\t\t\t\t\t\t\t\tabout children’s safety must be taken seriously, investigated thoroughly, and actioned\n\t\t\t\t\t\t\t\t\t\t\tappropriately. A ChildAware organisation will have a comprehensive, child-focused complaints\n\t\t\t\t\t\t\t\t\t\t\thandling policy available to staff, parents, children, volunteers and visitors that will guide how\n\t\t\t\t\t\t\t\t\t\t\tcomplaints are to be handled. ChildAware organisations recognise that complaints present an\n\t\t\t\t\t\t\t\t\t\t\topportunity for complainants to have their concerns addressed and for organisations to continually\n\t\t\t\t\t\t\t\t\t\t\timprove child safety practices.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tIf you have a general suggestion or comment about how an organisation might improve children’s\n\t\t\t\t\t\t\t\t\t\t\tsafety you may wish to submit \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tFeedback\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t instead.\n\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\tNote: If a child is in immediate danger, call police or emergency services on\n\t\t\t\t\t\t\t\t\t\t\t000.\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tclassName=\"btn-secondary edit-btn\"\n\t\t\t\t\t\t\t\t\t\tonClick={() => {\n\t\t\t\t\t\t\t\t\t\t\tsetActiveStep('step1');\n\n\t\t\t\t\t\t\t\t\t\t\twindow.scrollTo(0, 0);\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\tEdit details\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default StepThree;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport StepOne from './StepOne';\nimport StepTwo from './StepTwo';\nimport StepThree from './StepThree';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as ArrowLeftIcon } from '../../assets/svg/chevron-left.svg';\nimport { ReactComponent as ArrowRightIcon } from '../../assets/svg/chevron-right.svg';\nimport { ReactComponent as ArrowLeft } from '../../assets/svg/arrow-left.svg';\n\n// TYPES\nimport { ComplaintMemberCandidatesMembers, ComplaintCreateCommand } from '../../api/models';\nimport { FileType } from '../../components/FileUpload';\n\nexport interface ComplaintsFormDataTypes extends ComplaintCreateCommand {\n\tassignees?: string[];\n\tattachments?: FileType[];\n}\n\nconst ComplaintsSubmit: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up form state and initial form data\n\tconst initialComplaintsFormData: ComplaintsFormDataTypes = {\n\t\tloggingType: undefined,\n\t\tloggingOnBehalf: undefined,\n\t\tanonymousContact: undefined,\n\t\tcategory: undefined,\n\t\tsubject: undefined,\n\t\toccurrence: undefined,\n\t\tauthority: undefined,\n\t\tlocation: undefined,\n\t\taccused: undefined,\n\t\taccusedRelationship: undefined,\n\t\timpacted: undefined,\n\t\timpactedRelationship: undefined,\n\t\tothersInvolved: undefined,\n\t\twitnesses: undefined,\n\t\tisInitialComplaint: undefined,\n\t\tdescription: undefined,\n\t\tcomments: undefined,\n\t\tassignees: [],\n\t\texcludedLeaders: [],\n\t\tfamilyMembers: [],\n\t\tcreateAttachments: [],\n\t\tattachments: []\n\t};\n\n\tconst [complaintsFormData, setComplaintsFormData] = React.useState(initialComplaintsFormData);\n\n\tconst initialAssigneesData = {\n\t\tminimumLeaders: 1,\n\t\tleaders: [],\n\t\tfamilyMembers: []\n\t};\n\n\tconst [assigneesData, setAssigneesData] = React.useState(initialAssigneesData);\n\n\tconst getComplaintsNotifiedMembersList = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getComplaintsNotifiedMembersList();\n\n\t\tresponse.result = response.result || initialAssigneesData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetAssigneesData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetComplaintsNotifiedMembersList();\n\t}, []);\n\n\tconst { minimumLeaders, leaders, familyMembers: familyMembersData } = assigneesData;\n\n\t// State to control form steps\n\tconst [activeStep, setActiveStep] = React.useState('step1');\n\n\t// Logic for Back Button\n\tconst mobileStepHandler = () => {\n\t\tif (activeStep === 'step3') {\n\t\t\tsetActiveStep('step2');\n\t\t}\n\n\t\tif (activeStep === 'step2') {\n\t\t\tsetActiveStep('step1');\n\t\t}\n\n\t\tif (activeStep === 'step1') {\n\t\t\thistory.push('/complaints');\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tconst pageState = history.location.state;\n\n\t\tif (pageState === undefined || pageState.activeStep === undefined || pageState.activeStep === null) {\n\t\t\thistory.replace(window.location.pathname, { activeStep });\n\t\t} else if (pageState.activeStep !== activeStep) {\n\t\t\thistory.push(window.location.pathname, { activeStep });\n\t\t}\n\n\t\tlet unlisten = history.listen((location, action) => {\n\t\t\tif (\n\t\t\t\taction === 'POP' &&\n\t\t\t\tlocation.state &&\n\t\t\t\tlocation.state.activeStep !== undefined &&\n\t\t\t\tlocation.state.activeStep !== null\n\t\t\t) {\n\t\t\t\tsetActiveStep(location.state.activeStep);\n\t\t\t}\n\t\t});\n\n\t\treturn unlisten;\n\t}, [activeStep]);\n\n\tconst goBack = () => {\n\t\tmobileStepHandler();\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\n\t\t\t\t

    Submit a complaint

    \n\t\t\t
    \n\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tsetActiveStep('step1');\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t1. Complaint details\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tsetActiveStep('step2');\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t2. Who to notify\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    3. Review & Submit
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step1' &&
    1. Complaint details
    }\n\n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step2' &&
    2. Who to notify
    }\n\n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step3' &&
    3. Review & Submit
    }\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{activeStep === 'step1' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{activeStep === 'step2' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{activeStep === 'step3' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default ComplaintsSubmit;\n","export default __webpack_public_path__ + \"static/media/spinner.98f1a0f1.gif\";","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport OrganisationLogo from '../../components/OrganisationLogo';\n\n// ICONS\nimport { ReactComponent as DownloadIcon } from '../../assets/svg/link.svg';\nimport Spinner from '../../assets/img/spinner.gif';\n\n// TYPES\nimport { AuditReadyAudit, AccountUserUserProfile as OrganisationItemType } from '../../api/models';\n\nconst Audit: React.FC = () => {\n\tconst user = useAppSelector((state) => state.user);\n\n\tconst [activeOrganisation, setActiveOrganisation] = React.useState({});\n\n\tReact.useEffect(() => {\n\t\tif (user.activeProfileId && user.profiles) {\n\t\t\tsetActiveOrganisation(user.profiles?.filter((profile) => profile.id === user.activeProfileId)[0]);\n\t\t}\n\t}, [user]);\n\n\t// Error state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\t// State to show and hide buttons\n\tconst [showGenerateButton, setShowGenerateButton] = React.useState(true);\n\tconst [showLoading, setShowLoading] = React.useState(false);\n\tconst [showDownloadButton, setShowDownloadButton] = React.useState(false);\n\n\t// Data for clean up function\n\tconst timer = React.useRef(null);\n\tconst [isMounted, setIsMounted] = React.useState(false);\n\n\t// Audit Data\n\tconst initialAuditData: AuditReadyAudit = {\n\t\tisReady: undefined,\n\t\turl: undefined\n\t};\n\n\tconst [auditData, setAuditData] = React.useState(initialAuditData);\n\n\tconst getAuditReport = async (id: string) => {\n\t\tsetIsMounted(true);\n\n\t\tconst response = await apibridge.getAuditReport(id);\n\n\t\tresponse.result = response.result || '';\n\n\t\tif (response.result.isReady) {\n\t\t\t// The isReady flag is ready but the file might not be, we should wait 5s more before user can see and click the download button, otherwise the file will error out.\n\t\t\tsetTimeout(() => {\n\t\t\t\tsetShowLoading(false);\n\n\t\t\t\tsetShowDownloadButton(true);\n\n\t\t\t\tsetAuditData(response.result);\n\t\t\t}, 5000);\n\t\t} else if (response.error) {\n\t\t\tsetShowLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\ttimer.current = setTimeout(() => {\n\t\t\t\tgetAuditReport(id);\n\t\t\t}, 2000);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\treturn () => {\n\t\t\tsetIsMounted(true);\n\n\t\t\tclearTimeout(timer.current);\n\t\t};\n\t});\n\n\tconst generateAudit = async () => {\n\t\tsetShowGenerateButton(false);\n\t\tsetShowLoading(true);\n\n\t\t// Getting Audit Id\n\t\tconst response = await apibridge.getAuditId();\n\n\t\tresponse.result = response.result || '';\n\n\t\t// Fetch using Audit Id\n\t\tif (isMounted === true) {\n\t\t\tgetAuditReport(response.result);\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t\n\n\t\t\t

    Audit of {activeOrganisation?.name}

    \n\n\t\t\t

    Generate an audit report for your organisation's child-safety compliance.

    \n\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t<>\n\t\t\t\t\t{showGenerateButton && (\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\n\t\t\t\t\t{showLoading && (\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\"spinner\"\n\t\t\t\t\t\t\tGenerating audit, please wait...\n\t\t\t\t\t\t
    \n\t\t\t\t\t)}\n\n\t\t\t\t\t{showDownloadButton && auditData.url && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tDownload your organisation's audit report\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default Audit;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { Formik, Form } from 'formik';\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport FileUpload from '../../components/FileUpload';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { OrganisationEditProfileImageCommand } from '../../api/models';\nimport { FileType } from '../../components/FileUpload';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface EditLogoModalTypes {\n\tgetSettingsData: () => Promise;\n\tcloseModal?: closeModalType;\n}\n\ninterface LogoUploadData {\n\tcreateAttachments?: string[];\n\tattachments: FileType[];\n}\n\nconst EditLogoModal: React.FC = ({ closeModal, getSettingsData }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst initialData: LogoUploadData = {\n\t\tcreateAttachments: [],\n\t\tattachments: []\n\t};\n\n\t// Set up data state and initial data\n\tconst [uploadLogoData, setUploadLogoData] = React.useState(initialData);\n\n\tconst validationSchema = Yup.object({});\n\n\tconst initialValues = {\n\t\tcreateAttachments: uploadLogoData.createAttachments,\n\t\tattachments: uploadLogoData.attachments\n\t};\n\n\tconst confirmUploadLogo = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tif (values.attachments.length !== 0) {\n\t\t\tconst data: OrganisationEditProfileImageCommand = {\n\t\t\t\timageFile: values.attachments[0].id\n\t\t\t};\n\n\t\t\tconst response = await apibridge.submitOrganisationLogo(data);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tawait getSettingsData();\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('createAttachments', vals);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('attachments', files);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfiles={formik.values.attachments}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default EditLogoModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { useAppDispatch } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface CancelPlanModalTypes {\n\tcloseModal?: closeModalType;\n}\n\nconst CancelPlanModal: React.FC = ({ closeModal }) => {\n\tconst history = useHistory();\n\tconst dispatch = useAppDispatch();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst cancelPlan = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.cancelPlan();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tdispatch(UserSlice.actions.forceUpdate({}));\n\n\t\t\thistory.push('/');\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to cancel your plan?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default CancelPlanModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { OrganisationNumberOfChildrenCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface ModalType {\n\tnumberOfChildren?: number;\n\tgetSettingsData: () => Promise;\n\tcloseModal?: closeModalType;\n}\n\nconst UpdateNumberOfChildrenModal: React.FC = ({ numberOfChildren, closeModal, getSettingsData }) => {\n\t// Get Website URL\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [showInputError, setShowInputError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\t// Set up Number input state\n\tconst [inputValue, setInputValue] = React.useState(numberOfChildren?.toString() || '');\n\n\tconst onChangeHandler = (e: React.ChangeEvent) => {\n\t\tsetInputValue(e.target.value);\n\t};\n\n\t// Update number of Children\n\tconst updateNumberOfChildren = async (values: any) => {\n\t\tif (!inputValue || parseInt(inputValue) < 50) {\n\t\t\tsetShowInputError(true);\n\t\t} else {\n\t\t\tsetShowInputError(false);\n\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst data: OrganisationNumberOfChildrenCommand = { numberOfChildren: parseInt(inputValue) };\n\n\t\t\tconst response = await apibridge.updateNumberOfChildren(data);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\n\t\t\t\tgetSettingsData();\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tThank you for updating the number of children in your organisation. ChildAware will charge your\n\t\t\t\t\t\t\t\t\t\taccount for these additional children in accordance with the Customer{' '}\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tTerms and Conditions\n\t\t\t\t\t\t\t\t\t\t{' '}\n\t\t\t\t\t\t\t\t\t\t. Please note that you cannot reduce the number of children in your organisation during the Term of\n\t\t\t\t\t\t\t\t\t\tyour agreement.\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t{showInputError &&
    A minimum of 50 children is required
    }\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default UpdateNumberOfChildrenModal;\n","var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgBillReceipt(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M15 62V14.7919C15 7.72589 21.3556 2.30457 28.4444 2.30457L59.7089 2C59.7089 2 70 2.30457 70 14.4873H40.6667C40.6667 12.0508 40.6667 2.30457 28.4444 2.30457\",\n stroke: \"url(#paint0_linear_1370_26296)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M60 14.7695C60 15.0005 60 57.0063 60 57.2373C60 60.6223 58.6633 63.8687 56.2839 66.2622C53.9046 68.6558 50.6774 70.0005 47.3125 70.0005L14.6875 69.9154C11.3226 69.9154 8.09545 68.5707 5.71608 66.1771C3.33671 63.7836 2 60.5372 2 57.1522C2 56.9212 2 56.6903 2 56.4593H14.6875\",\n stroke: \"url(#paint1_linear_1370_26296)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M29.0329 39.9488L28.4058 40.0175L28.0221 39.9746C27.1523 39.8771 26.471 39.4847 25.9686 38.8022C25.9677 38.8011 25.9669 38.8 25.9661 38.7988C26.4588 39.2293 27.0587 39.5243 27.712 39.6402L28.1178 39.7122V39.8212L28.4469 39.7706L28.8866 39.8486V39.7029L29.2698 39.6439C30.0492 39.524 30.7545 39.1374 31.2856 38.5627C31.2381 38.6369 31.1885 38.7079 31.1372 38.7757C30.6371 39.4366 29.928 39.8506 29.0329 39.9488ZM30.8816 23.8031C30.957 23.8989 31.0302 24.0036 31.1006 24.1177C30.6387 23.6347 30.0577 23.2798 29.4095 23.0998L28.9107 22.9613V22.7546L29.0139 22.7679C29.7705 22.8656 30.3986 23.189 30.8816 23.8031ZM28.7318 22.7315L28.4489 22.8331L28.1419 22.7478V22.9433L27.5727 23.1478C26.9606 23.3676 26.4226 23.747 26.0035 24.2396C26.5144 23.387 27.2623 22.8771 28.0852 22.752L28.455 22.6957L28.7318 22.7315ZM25.8853 29.6072C25.8763 29.5925 25.8673 29.5777 25.8585 29.5629C26.2728 30.0965 26.8265 30.5056 27.4632 30.7335L28.9107 31.5008V31.2834L29.3137 31.4446L29.3343 31.4529L29.3553 31.4602C30.1476 31.737 30.8425 32.2874 31.3239 33.0377C30.8857 32.523 30.3184 32.1339 29.6751 31.921L29.538 31.8576L28.1178 31.1999V31.2816L27.7536 31.1348L27.7363 31.1278L27.7188 31.1215C26.9758 30.8536 26.3269 30.325 25.8853 29.6072L25.0336 30.1312L25.8853 29.6072Z\",\n stroke: \"url(#paint2_linear_1370_26296)\",\n strokeWidth: 2\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M41 24H51\",\n stroke: \"url(#paint3_linear_1370_26296)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M41 32H51\",\n stroke: \"url(#paint4_linear_1370_26296)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M41 41H51\",\n stroke: \"url(#paint5_linear_1370_26296)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M25 49H52\",\n stroke: \"url(#paint6_linear_1370_26296)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path8 || (_path8 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M25 57H52\",\n stroke: \"url(#paint7_linear_1370_26296)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_1370_26296\",\n x1: 22.9054,\n y1: 4.57763,\n x2: 58.2176,\n y2: 41.4481,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint1_linear_1370_26296\",\n x1: 10.3366,\n y1: 17.1423,\n x2: 42.3574,\n y2: 55.4441,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint2_linear_1370_26296\",\n x1: 25.2936,\n y1: 20.9881,\n x2: 35.3698,\n y2: 25.4792,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint3_linear_1370_26296\",\n x1: 42.4373,\n y1: 24.043,\n x2: 42.54,\n y2: 25.2121,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint4_linear_1370_26296\",\n x1: 42.4373,\n y1: 32.043,\n x2: 42.54,\n y2: 33.2121,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint5_linear_1370_26296\",\n x1: 42.4373,\n y1: 41.043,\n x2: 42.54,\n y2: 42.2121,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint6_linear_1370_26296\",\n x1: 28.8808,\n y1: 49.043,\n x2: 28.9191,\n y2: 50.2199,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint7_linear_1370_26296\",\n x1: 28.8808,\n y1: 57.043,\n x2: 28.9191,\n y2: 58.2199,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgBillReceipt);\nexport default __webpack_public_path__ + \"static/media/bill-receipt.f39a5814.svg\";\nexport { ForwardRef as ReactComponent };","var _path, _path2, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgTickPurple(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 74,\n height: 74,\n viewBox: \"0 0 74 74\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M37 73C56.8823 73 73 56.8823 73 37C73 17.1178 56.8823 1 37 1C17.1178 1 1 17.1178 1 37C1 56.8823 17.1178 73 37 73Z\",\n stroke: \"url(#paint0_linear_4961_84412)\",\n strokeWidth: 2\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M18 41.2105L31.1538 54L56 27\",\n stroke: \"url(#paint1_linear_4961_84412)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_4961_84412\",\n x1: 11.3488,\n y1: 4.09316,\n x2: 53.4061,\n y2: 51.9984,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint1_linear_4961_84412\",\n x1: 23.4619,\n y1: 28.1599,\n x2: 37.7467,\n y2: 51.0599,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgTickPurple);\nexport default __webpack_public_path__ + \"static/media/tick-purple.712f6945.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport SingleSelect from '../../components/SingleSelect';\nimport DisplayDate from '../../components/DisplayDate';\nimport GlobalModal from '../../components/GlobalModal';\nimport EditLogoModal from './EditLogoModal';\nimport CancelPlanModal from './CancelPlanModal';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport OrganisationLogo from '../../components/OrganisationLogo';\nimport UpdateNumberOfChildrenModal from './UpdateNumberOfChildrenModal';\nimport FormGroupWithError from '../../components/FormGroupWithError';\n\n// ICONS\nimport { ReactComponent as BillChildrenIcon } from '../../assets/svg/bill-children.svg';\nimport { ReactComponent as BillReceiptIcon } from '../../assets/svg/bill-receipt.svg';\nimport { ReactComponent as EditIcon } from '../../assets/svg/edit.svg';\nimport { ReactComponent as DownloadIcon } from '../../assets/svg/download.svg';\n\n// TYPES\nimport {\n\tOrganisationSettingsOrganisationDetails,\n\tOrganisationAddressCommand,\n\tDomainPaymentStatus\n} from '../../api/models';\n\nconst Settings: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Get all States Names from Redux Store\n\tconst states = useAppSelector((state) => state.lists.states);\n\n\t// Check if user is Organisation Admin\n\tconst isOrganisationAdmin = useAppSelector((state) => state.user.isOrganisationAdmin);\n\n\t// Get all Payment Plans from Redux Store\n\tconst paymentPlans = useAppSelector((state) => state.lists.paymentPlans);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// States to control Modal\n\tconst [showEditLogoModal, setShowEditLogoModal] = React.useState(false);\n\n\tconst [showCancelPlanModal, setShowCancelPlanModal] = React.useState(false);\n\n\tconst [showUpdateNumberOfChildrenModal, setShowUpdateNumberOfChildrenModal] = React.useState(false);\n\n\t// ORGANISATION DETAIL DATA FETCH\n\tconst initialOrganisationDetail: OrganisationSettingsOrganisationDetails = {\n\t\tid: undefined,\n\t\tidentifier: undefined,\n\t\tname: undefined,\n\t\tlogo: undefined,\n\t\taustralianBusinessNumber: undefined,\n\t\tnumberOfChildren: undefined,\n\t\tcanCancelPlan: undefined,\n\t\tplanType: undefined,\n\t\tcost: undefined,\n\t\tunitCost: undefined,\n\t\tpaymentCycle: undefined,\n\t\tnextInvoiceDate: undefined,\n\t\tpaymentHistory: []\n\t};\n\n\tconst [organisationDetail, setOrganisationDetail] =\n\t\tReact.useState(initialOrganisationDetail);\n\n\tconst getOrganisationDetail = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getOrganisationDetail();\n\n\t\timageVersion.current = imageVersion.current + 1;\n\n\t\tresponse.result = response.result || initialOrganisationDetail;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetOrganisationDetail(response.result);\n\t\t}\n\t};\n\n\t// ORGANISATION ADDRESS DATA FETCH\n\tconst initialOrganisationAddress: OrganisationAddressCommand = {\n\t\torganisationAddress: undefined,\n\t\tsameAddresses: undefined,\n\t\temail: undefined,\n\t\tphoneNumber: undefined,\n\t\tmailingAddress: undefined\n\t};\n\n\tconst [organisationAddressData, setOrganisationAddressData] =\n\t\tReact.useState(initialOrganisationAddress);\n\n\tconst getOrganisationAddress = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getOrganisationAddress();\n\n\t\tresponse.result = response.result || initialOrganisationDetail;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetOrganisationAddressData(response.result);\n\t\t}\n\t};\n\n\t// Function to combine 2 fetch call\n\tconst getSettingsData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tawait getOrganisationDetail();\n\n\t\tawait getOrganisationAddress();\n\n\t\tsetIsLoading(false);\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetSettingsData();\n\t}, []);\n\n\tconst { organisationAddress, mailingAddress, sameAddresses, email, phoneNumber } = organisationAddressData;\n\n\tconst {\n\t\tname,\n\t\tlogo,\n\t\taustralianBusinessNumber,\n\t\tnumberOfChildren,\n\t\tcanCancelPlan,\n\t\tplanType,\n\t\tcost,\n\t\tunitCost,\n\t\tpaymentCycle,\n\t\tnextInvoiceDate,\n\t\tpaymentHistory\n\t} = organisationDetail;\n\n\t// Logic to load current payment Icon first to avoid slow loading of the icon itself\n\tconst [currentPaymentIconPath, setCurrentPaymentIconPath] = React.useState('');\n\n\tReact.useEffect(() => {\n\t\tconst currentPaymentPlan = paymentPlans?.find((item) => item.label === planType);\n\n\t\tconst currentPaymentIcon = currentPaymentPlan?.icon;\n\n\t\tsetCurrentPaymentIconPath(`/assets/${currentPaymentIcon}`);\n\t}, [planType]);\n\n\t// STATE TO CONTROL ACTIVE TAB\n\tconst [activeTab, setActiveTab] = React.useState('tab1');\n\n\t// FORMS SETUP\n\tconst onSubmit = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.submitOrganisationAddress(values);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tgetSettingsData();\n\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\t// FORM VALIDATION FOR AUSTRALIAN PHONE NUMBERS\n\tconst phoneRegExp =\n\t\t/^(?:\\+?(61))? ?(?:\\((?=.*\\)))?(0?[2-57-8])\\)? ?(\\d\\d(?:[- ](?=\\d{3})|(?!\\d\\d[- ]?\\d[- ]))\\d\\d[- ]?\\d[- ]?\\d{3})$/;\n\n\tconst validationSchema = Yup.object({\n\t\torganisationAddress: Yup.object({\n\t\t\taddress1: Yup.string().required('Required'),\n\t\t\tcity: Yup.string().required('Required'),\n\t\t\tstate: Yup.string().required('Required'),\n\t\t\tpostcode: Yup.string()\n\t\t\t\t.required('Required')\n\t\t\t\t.matches(/^[\\d]+$/, 'Only numbers are allowed')\n\t\t\t\t.length(4, 'Postcode must be 4 numbers')\n\t\t}),\n\t\tmailingAddress: Yup.object({\n\t\t\taddress1: Yup.string().when('sameAddresses', {\n\t\t\t\tis: false,\n\t\t\t\tthen: Yup.string().required('Required')\n\t\t\t}),\n\t\t\tcity: Yup.string().when('sameAddresses', {\n\t\t\t\tis: false,\n\t\t\t\tthen: Yup.string().required('Required')\n\t\t\t}),\n\t\t\tpostcode: Yup.string().when('sameAddresses', {\n\t\t\t\tis: false,\n\t\t\t\tthen: Yup.string()\n\t\t\t\t\t.required('Required')\n\t\t\t\t\t.matches(/^[\\d]+$/, 'Only numbers are allowed')\n\t\t\t\t\t.length(4, 'Postcode must be 4 numbers')\n\t\t\t}),\n\t\t\tstate: Yup.string().when('sameAddresses', {\n\t\t\t\tis: false,\n\t\t\t\tthen: Yup.string().required('Required')\n\t\t\t})\n\t\t}),\n\t\tphoneNumber: Yup.string().matches(phoneRegExp, 'Phone number is not valid'),\n\t\temail: Yup.string().required('Required')\n\t});\n\n\tconst initialValues = {\n\t\torganisationAddress,\n\t\tmailingAddress,\n\t\tsameAddresses,\n\t\tphoneNumber,\n\t\temail\n\t};\n\n\t// Set up version to reload the image since the image url does not change and browswer will not reload/\n\tconst imageVersion = React.useRef(1);\n\n\t// Get stripe Url from api call and redirect to that link\n\tconst updatePaymentDetail = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getPaymentUpdateLink();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tconst paymentUrl = response.result.url;\n\n\t\t\twindow.location.href = paymentUrl;\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\tOrganisation details\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\tsetActiveTab('tab2');\n\t\t\t\t\t\t\t\t\t\t\t\tgetSettingsData();\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\tclassName={`staff-category settings-page ${activeTab === 'tab2' ? 'active' : ''}`}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\tPayment & Billing\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t{activeTab === 'tab1' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {numberOfChildren}
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationAdmin && isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t setShowUpdateNumberOfChildrenModal(true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tUpdate\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Organisation address

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('organisationAddress.state', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tisDisabled={isOrganisationActive === false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tFor a landline, please include an area code e.g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\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('mailingAddress.state', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tisDisabled={isOrganisationActive === false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{activeTab === 'tab2' && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t

    {planType}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t{cost && <>${cost} }\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{paymentCycle === 'Monthly' ? '/month' : '/year'} excl. GST\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && canCancelPlan && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tUpdate Payment Detail\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t{numberOfChildren && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {numberOfChildren}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Children

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{unitCost &&

    ${unitCost} per child, per year

    }\n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t{nextInvoiceDate && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{nextInvoiceDate}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Next invoice issue date

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t{paymentCycle &&

    Billed {paymentCycle}

    }\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t{paymentHistory && paymentHistory.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    Payment History

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    Date
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    Amount
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    Status
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t{paymentHistory.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.date}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.amount &&
      ${item.amount}
      }\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.statusDescription}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.downloadLink && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDownload\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default Settings;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Accordion from '../../components/Accordion';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { HelpDeskUserDashboardHelpDeskItem } from '../../api/models';\n\nconst HelpDesk: React.FC = () => {\n\t// Set Color Code\n\tconst helpDeskColorCode = '#A52EBE';\n\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to hold fetch data\n\tconst [helpDeskData, setHelpDeskData] = React.useState([]);\n\n\tconst getHelpDeskData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getHelpDeskData();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetHelpDeskData(response.result);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetHelpDeskData();\n\t}, []);\n\n\t// Reorder Data\n\tconst reorderData = (data: HelpDeskUserDashboardHelpDeskItem[]) => {\n\t\tconst orderedData = data.sort((a, b) => {\n\t\t\tconst orderA = a.order || 1;\n\t\t\tconst orderB = b.order || -1;\n\t\t\treturn orderA < orderB ? -1 : orderA > orderB ? 1 : 0;\n\t\t});\n\n\t\tsetHelpDeskData(orderedData);\n\t};\n\n\tReact.useEffect(() => {\n\t\treorderData(helpDeskData);\n\t}, [helpDeskData]);\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t{helpDeskData && helpDeskData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\thelpDeskData.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\tInformation in this section is coming soon. In the meantime feel free to{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontact us\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t.\n\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default HelpDesk;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { HelpDeskFetchHelpDeskItem } from '../../api/models';\nimport { RouteParams } from '../../Interfaces';\n\nconst HelpDeskDetail: React.FC = () => {\n\t// Getting the Id from params\n\tconst params = useParams();\n\tconst helpDeskId = params.id;\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Initial Data for state\n\tconst initialData: HelpDeskFetchHelpDeskItem = {\n\t\tid: undefined,\n\t\ttitle: undefined,\n\t\tdescription: undefined,\n\t\tpageContent: ''\n\t};\n\n\tconst [helpDeskDetailData, setHelpDeskDetailData] = React.useState(initialData);\n\n\tconst getHelpDeskDetailData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getHelpDeskDetailData(helpDeskId);\n\n\t\tresponse.result = response.result || initialData;\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetHelpDeskDetailData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetHelpDeskDetailData();\n\t}, []);\n\n\tconst { title, description, pageContent } = helpDeskDetailData;\n\n\tconst decodedpageContent = decodeURIComponent(pageContent || '');\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t

    Help Desk

    \n\n\t\t\t\t\t\t\t\t

    {title}

    \n\n\t\t\t\t\t\t\t\t

    {description}

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default HelpDeskDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { OrganisationListOrganisation, OrganisationActivateCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface ActivateModalTypes {\n\torganisationDetail?: OrganisationListOrganisation;\n\tgetCompaniesData: () => Promise;\n\tsetActiveTab: React.Dispatch>;\n\tcloseModal?: closeModalType;\n}\n\nconst ActivateModal: React.FC = ({\n\tcloseModal,\n\torganisationDetail,\n\tgetCompaniesData,\n\tsetActiveTab\n}) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmActivate = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: OrganisationActivateCommand = { id: organisationDetail?.id };\n\n\t\tconst response = await apibridge.postOrganisationActivate(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tawait getCompaniesData();\n\n\t\t\tsetActiveTab('active');\n\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to Enable '{organisationDetail?.name}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default ActivateModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport DisplayDate from '../../components/DisplayDate';\nimport CircleImage from '../../components/CircleImage';\nimport GlobalModal from '../../components/GlobalModal';\nimport ActivateModal from './ActivateModal';\nimport OrganisationLogo from '../../components/OrganisationLogo';\n\n// TYPES\nimport { OrganisationListOrganisation, DomainOrganisationStatus } from '../../api/models';\n\nconst Companies = () => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to control Modal\n\tconst [showActivateModal, setShowActivateModal] = React.useState(false);\n\n\t// Set up data state\n\tconst [companiesData, setCompaniesData] = React.useState([]);\n\n\tconst getCompaniesData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getCompaniesData();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetCompaniesData(response.result);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetCompaniesData();\n\t}, []);\n\n\t// Filter data\n\tconst activeCompanies = companiesData.filter((item) => item.status === DomainOrganisationStatus.Active);\n\tconst deactiveCompanies = companiesData.filter((item) => item.status === DomainOrganisationStatus.Inactive);\n\tconst incompleteCompanies = companiesData.filter((item) => item.status === DomainOrganisationStatus.Pending);\n\n\t// State to control active tab and active content\n\tconst [activeTab, setActiveTab] = React.useState('active');\n\n\t// Activate organisation\n\tconst [organisationDetail, setOrganisationDetail] = React.useState({});\n\n\tconst activateOrganisation = async (item: OrganisationListOrganisation) => {\n\t\tsetOrganisationDetail(item);\n\n\t\tsetShowActivateModal(true);\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t setActiveTab('active')}\n\t\t\t\t\t\t\t\t\t\t\tclassName={`staff-category pdl-0 ${activeTab === 'active' ? 'active' : ''}`}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\tActive\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t setActiveTab('deactive')}\n\t\t\t\t\t\t\t\t\t\t\tclassName={`staff-category ${activeTab === 'deactive' ? 'active' : ''}`}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\tDeactivated\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t setActiveTab('incomplete')}\n\t\t\t\t\t\t\t\t\t\t\tclassName={`staff-category ${activeTab === 'incomplete' ? 'active' : ''}`}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\tIncomplete\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{activeTab === 'active' ? (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{activeCompanies &&\n\t\t\t\t\t\t\t\t\t\t\t\tactiveCompanies.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\tactiveCompanies.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.organisationType}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t{activeTab === 'deactive' ? (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{deactiveCompanies &&\n\t\t\t\t\t\t\t\t\t\t\t\tdeactiveCompanies.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\tdeactiveCompanies.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.organisationType}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.statusDate && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tDate Deactivated  \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.statusDate}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t{activeTab === 'incomplete' ? (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{incompleteCompanies &&\n\t\t\t\t\t\t\t\t\t\t\t\tincompleteCompanies.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\tincompleteCompanies.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.organisationType}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tView\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default Companies;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../apibridge';\n\n// UTILS\nimport { listenForOutsideClicks } from '../utils';\n\n// COMPONENTS\nimport CircleImage from './CircleImage';\n\n// ICONS\nimport { ReactComponent as SeachIcon } from '../assets/svg/search.svg';\n\n// TYPES\nimport { OrganisationAdministratorCandidatesUserProfile } from '../api/models';\n\nexport interface SearchOrganisationMembersTypes {\n\tplaceholder?: string;\n\tonChange?: any;\n\tisFullWidth?: boolean;\n\tid?: string;\n}\n\nconst SearchOrganisationMembers: React.FC = ({\n\tplaceholder = 'Search...',\n\tonChange,\n\tisFullWidth,\n\tid\n}) => {\n\tconst [query, setQuery] = React.useState('');\n\tconst [searchResults, setSearchResults] = React.useState([]);\n\tconst [hasError, setHasError] = React.useState(false);\n\tconst [isActive, setIsActive] = React.useState(false);\n\n\tconst searchData = async (name: string) => {\n\t\tconst response = await apibridge.getOrganisationAdminCandidates(id, name);\n\n\t\tif (response.result) {\n\t\t\tsetHasError(false);\n\t\t\tsetSearchResults(response.result);\n\t\t} else {\n\t\t\tsetHasError(true);\n\t\t}\n\t};\n\n\tconst onChangeHandler = (e: React.ChangeEvent) => {\n\t\tconst val = e.target.value;\n\n\t\tsetQuery(val);\n\n\t\tif (onChange) {\n\t\t\tonChange(undefined);\n\t\t}\n\n\t\tif (!val) {\n\t\t\tsetIsActive(false);\n\t\t} else {\n\t\t\tsetIsActive(true);\n\t\t\tsearchData(val);\n\t\t}\n\t};\n\n\tconst onClickPostHandler = (item: OrganisationAdministratorCandidatesUserProfile) => {\n\t\tsetIsActive(false);\n\t\tsetQuery('');\n\n\t\tif (onChange) {\n\t\t\tonChange(item);\n\t\t}\n\t};\n\n\t// Logic to detect outside click and close search container\n\tconst searchContainerRef = React.useRef(null);\n\tlistenForOutsideClicks(searchContainerRef, isActive, setIsActive);\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t setIsActive(!!query)}\n\t\t\t\t/>\n\t\t\t
    \n\n\t\t\t{(hasError || searchResults) && (\n\t\t\t\t\n\t\t\t\t\t
      \n\t\t\t\t\t\t{hasError ? (\n\t\t\t\t\t\t\t
    • No results found
    • \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\tsearchResults.map((item) => {\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t
    • onClickPostHandler(item)} key={item.id} className=\"search-result-item\">\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{item.name}\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t
      {item.staffType}
      \n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default SearchOrganisationMembers;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport CircleImage from '../../components/CircleImage';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport SearchOrganisationMembers from '../../components/SearchOrganisationMembers';\n\n// TYPES\nimport {\n\tOrganisationAdministratorCandidatesUserProfile,\n\tOrganisationAdministratorsAdministrator,\n\tOrganisationAddAdministratorCommand,\n\tOrganisationRemoveAdministratorCommand\n} from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface AdminsModalTypes {\n\tname: string | undefined;\n\tid: string | undefined;\n\tcloseModal?: closeModalType;\n\tgetCompaniesDetailData: () => Promise;\n}\n\nconst AdminsModal: React.FC = ({ name, id, closeModal, getCompaniesDetailData }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Set up Data state\n\tconst [adminsFormData, setAdminsFormData] = React.useState([]);\n\n\tconst [newAdmins, setnewAdmins] = React.useState([]);\n\n\tconst getAdminsData = async (reload: boolean = true) => {\n\t\tif (reload) {\n\t\t\tsetIsLoading(true);\n\t\t}\n\n\t\tconst response = await apibridge.getOrganisationAdministrators(id);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetAdminsFormData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetAdminsData();\n\t}, []);\n\n\tconst submitHandler = async (values: any) => {\n\t\tconst admins: any[] = [];\n\n\t\tnewAdmins.map((admin: any) => admins.push(admin.id));\n\n\t\tif (newAdmins.length) {\n\t\t\tconst data: OrganisationAddAdministratorCommand = { profileIds: admins, organisationId: id };\n\n\t\t\tconst response = await apibridge.postOrganisationAddAdmin(data);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\n\t\t\t\tgetCompaniesDetailData();\n\t\t\t}\n\t\t} else {\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\t\t}\n\t};\n\n\tconst removeHandler = async (itemId: string, index: number) => {\n\t\tif (index === 0 && newAdmins.length >= 1) {\n\t\t\tconst admins: string[] = [];\n\n\t\t\tnewAdmins.map((item) => admins.push(item.id || ''));\n\n\t\t\tif (newAdmins.length) {\n\t\t\t\tconst data: OrganisationAddAdministratorCommand = { profileIds: admins, organisationId: id };\n\n\t\t\t\tconst response = await apibridge.postOrganisationAddAdmin(data);\n\n\t\t\t\tif (response.isError) {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetnewAdmins([]);\n\n\t\t\t\t\tconst removeData: OrganisationRemoveAdministratorCommand = { profileId: itemId, organisationId: id };\n\n\t\t\t\t\tconst response = await apibridge.postOrganisationRemoveAdmin(removeData);\n\n\t\t\t\t\tif (response.isError) {\n\t\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t\t\t);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\t\tgetAdminsData(false);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif (newAdmins.filter((user) => user.id === itemId)[0]) {\n\t\t\t\tsetnewAdmins(newAdmins.filter((user) => user.id !== itemId));\n\n\t\t\t\tsetIsLoading(false);\n\t\t\t} else {\n\t\t\t\tconst removeAdminData: OrganisationRemoveAdministratorCommand = { profileId: itemId, organisationId: id };\n\n\t\t\t\tconst response = await apibridge.postOrganisationRemoveAdmin(removeAdminData);\n\n\t\t\t\tif (response.isError) {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t\t);\n\t\t\t\t} else {\n\t\t\t\t\tsetIsLoading(false);\n\n\t\t\t\t\tgetAdminsData(false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tconst addAdminHandler = async (item: OrganisationAdministratorCandidatesUserProfile) => {\n\t\tif (item) {\n\t\t\tif (newAdmins.find((admin) => admin.id === item.id)) {\n\t\t\t\treturn;\n\t\t\t} else {\n\t\t\t\tsetnewAdmins((prevState) => [\n\t\t\t\t\t...prevState,\n\n\t\t\t\t\t{ id: item.id, userId: item.userId, name: item.name, profileImage: item.profileImage }\n\t\t\t\t]);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t<>\n\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t

    {name}

    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    Current Leaders
    \n\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t{adminsFormData &&\n\t\t\t\t\t\t\t\t\t\tadminsFormData.length > 0 &&\n\t\t\t\t\t\t\t\t\t\tadminsFormData.concat(newAdmins).map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.name}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{adminsFormData.concat(newAdmins).length <= 1 ? null : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t removeHandler(item.id!, index)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Add a member

    \n\n\t\t\t\t\t\t\t\t addAdminHandler(item)}\n\t\t\t\t\t\t\t\t\tplaceholder=\"Begin typing a staff name...\"\n\t\t\t\t\t\t\t\t\tid={id}\n\t\t\t\t\t\t\t\t\tisFullWidth={true}\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default AdminsModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { OrganisationDetailsOrganisation, OrganisationDeactivateCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface DeActivateModalTypes {\n\tcompaniesDetailData?: OrganisationDetailsOrganisation;\n\tcloseModal?: closeModalType;\n}\n\nconst DeActivateModal: React.FC = ({ closeModal, companiesDetailData }) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmDeActivate = async () => {\n\t\tif (companiesDetailData && companiesDetailData.id) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst data: OrganisationDeactivateCommand = { id: companiesDetailData.id };\n\n\t\t\tconst response = await apibridge.postOrganisationDeactivate(data);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\n\t\t\t\thistory.push('/companies');\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to Deactivate '{companiesDetailData?.name}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default DeActivateModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { OrganisationDetailsOrganisation, OrganisationActivateCommand } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface EnableModalTypes {\n\tcompaniesDetailData?: OrganisationDetailsOrganisation;\n\tcloseModal?: closeModalType;\n}\n\nconst EnableModal: React.FC = ({ closeModal, companiesDetailData }) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmEnable = async () => {\n\t\tif (companiesDetailData && companiesDetailData.id) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst data: OrganisationActivateCommand = { id: companiesDetailData.id };\n\n\t\t\tconst response = await apibridge.postOrganisationActivate(data);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tif (closeModal) {\n\t\t\t\t\tcloseModal();\n\t\t\t\t}\n\n\t\t\t\thistory.push('/companies');\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to Enable '{companiesDetailData?.name}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default EnableModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { useHistory, useParams } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport DisplayDate from '../../components/DisplayDate';\nimport GlobalModal from '../../components/GlobalModal';\nimport AdminsModal from './AdminsModal';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport CircleImage from '../../components/CircleImage';\nimport DeActivateModal from './DeActivateModal';\nimport EnableModal from './EnableModal';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport DisplayPhoneNumber from '../../components/DisplayPhoneNumber';\n\n// TYPES\nimport { OrganisationDetailsOrganisation, DomainOrganisationStatus } from '../../api/models';\n\nconst CompaniesDetail = () => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to control Modal\n\tconst [showAdminsModal, setShowAdminsModal] = React.useState(false);\n\n\tconst [showDeActivateModal, setShowDeActivateModal] = React.useState(false);\n\n\tconst [showEnableModal, setShowEnableModal] = React.useState(false);\n\n\t// State for clean up function\n\tconst [isMounted, setIsMounted] = React.useState(false);\n\n\tconst [isActive, setIsActive] = React.useState(false);\n\n\t// Get the id from params.\n\tconst params = useParams<{ id: string }>();\n\n\t// Set up data state and initial data\n\tconst initialData: OrganisationDetailsOrganisation = {\n\t\tid: undefined,\n\t\tstatus: undefined,\n\t\tname: undefined,\n\t\ttype: undefined,\n\t\tlogo: undefined,\n\t\taustralianBusinessNumber: undefined,\n\t\tnumberOfChildren: undefined,\n\t\taddress1: undefined,\n\t\taddress2: undefined,\n\t\tphoneNumber: undefined,\n\t\temail: undefined,\n\t\tcity: undefined,\n\t\tpostcode: undefined,\n\t\tstate: undefined,\n\t\tadministrators: undefined,\n\t\tpayments: [],\n\t\tstatusDate: undefined\n\t};\n\n\tconst [companiesDetailData, setCompaniesDetailData] = React.useState(initialData);\n\n\tconst getCompaniesDetailData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tsetIsMounted(true);\n\n\t\tconst response = await apibridge.getCompaniesDetailData(params.id);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetIsActive(response.result.status === DomainOrganisationStatus.Active);\n\n\t\t\tsetCompaniesDetailData(response.result);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetCompaniesDetailData();\n\t}, []);\n\n\tconst {\n\t\tstatus,\n\t\tname,\n\t\ttype,\n\t\tlogo,\n\t\taustralianBusinessNumber,\n\t\tnumberOfChildren,\n\t\taddress1,\n\t\taddress2,\n\t\tphoneNumber,\n\t\temail,\n\t\tcity,\n\t\tpostcode,\n\t\tstate,\n\t\tadministrators,\n\t\tpayments,\n\t\tamount,\n\t\tpaymentCycle,\n\t\tpricePerChild,\n\t\tstatusDate\n\t} = companiesDetailData;\n\n\t// Format ABN\n\tconst formatABN = (abn?: string) => {\n\t\tif (abn) {\n\t\t\tconst parts = abn.toString().split('.');\n\n\t\t\tparts[0] = parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, ' ');\n\n\t\t\treturn parts.join('.');\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t<>\n\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{status === DomainOrganisationStatus.Inactive && (\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    This company is deactivated

    \n\n\t\t\t\t\t\t\t\t\t{statusDate && (\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\ton {statusDate}\n\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t{status === DomainOrganisationStatus.Pending && (\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    This company is incomplete

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t

    {name}

    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t{type}\n\n\t\t\t\t\t\t\t\t{type && australianBusinessNumber &&
    }\n\n\t\t\t\t\t\t\t\t{formatABN(australianBusinessNumber)}\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    {numberOfChildren}
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Details

    \n\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t
      ABN
      \n\n\t\t\t\t\t\t\t\t\t\t
      {formatABN(australianBusinessNumber)}
      \n\t\t\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t
      Phone number
      \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{phoneNumber}\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t
      Email
      \n\n\t\t\t\t\t\t\t\t\t\t
      {email}
      \n\t\t\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t
      Address line 1
      \n\n\t\t\t\t\t\t\t\t\t\t
      {address1}
      \n\t\t\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t
      Address line 2
      \n\n\t\t\t\t\t\t\t\t\t\t
      {address2}
      \n\t\t\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t
      City
      \n\n\t\t\t\t\t\t\t\t\t\t
      {city}
      \n\t\t\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t
      State
      \n\n\t\t\t\t\t\t\t\t\t\t
      {state}
      \n\t\t\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t
      Postcode
      \n\n\t\t\t\t\t\t\t\t\t\t
      {postcode}
      \n\t\t\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t
      ChildAware Leaders
      \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{administrators}\n\n\t\t\t\t\t\t\t\t\t\t\t{isActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t
      Subscription
      \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{amount && (\n\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{type} Plan, ${amount}  \n\t\t\t\t\t\t\t\t\t\t\t\t\t{paymentCycle}\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t{payments && payments.length > 0 && (\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t

    Payment History

    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    Date
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    Amount
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{payments.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.paymentDate}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      ${item.amount?.toFixed(2)}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t{status === DomainOrganisationStatus.Inactive && (\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t{status === DomainOrganisationStatus.Active && (\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default CompaniesDetail;\n","import * as React from 'react';\n\ninterface CircleTextTypes {\n\ttext?: number | string;\n\tsize?: number;\n}\n\nconst CircleText: React.FC = ({ text, size }) => {\n\treturn (\n\t\t
    \n\t\t\t
    {text}
    \n\t\t
    \n\t);\n};\n\nexport default CircleText;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { TrainingModuleDashboardTrainingModule } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\tgetTrainingModulesData: () => Promise;\n\ttrainingModulesData: TrainingModuleDashboardTrainingModule[];\n\tsetTrainingModulesData: React.Dispatch>;\n\tmoduleId?: string;\n\tmoduleTitle?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst RemoveModal: React.FC = ({\n\tcloseModal,\n\tgetTrainingModulesData,\n\ttrainingModulesData,\n\tsetTrainingModulesData,\n\tmoduleId,\n\tmoduleTitle\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst removeModule = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst newData = trainingModulesData.filter((item) => item.id !== moduleId);\n\n\t\tsetTrainingModulesData(newData);\n\n\t\tconst response = await apibridge.postTrainingModuleDelete({ id: moduleId });\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetTrainingModulesData();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove '{moduleTitle}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default RemoveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { DragDropContext, Droppable, Draggable, DropResult, DroppableProvided } from 'react-beautiful-dnd';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport CircleText from '../../components/CircleText';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport DisplayDragIcon from '../../components/DisplayDragIcon';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport NoInfoMessage from '../../components/NoInfoMessage';\nimport GlobalModal from '../../components/GlobalModal';\nimport RemoveModal from './RemoveModal';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { TrainingModuleDashboardTrainingModule, TrainingModuleReorderCommand } from '../../api/models';\n\nconst ContentTrainingModule: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to control Modal\n\tconst [showRemoveModal, setShowRemoveModal] = React.useState(false);\n\n\t// State to store Module Id\n\tconst [moduleId, setModuleId] = React.useState('');\n\n\t// State to store Module title\n\tconst [moduleTitle, setModuleTitle] = React.useState('');\n\n\t// Set up data state\n\tconst [trainingModulesData, setTrainingModulesData] = React.useState([]);\n\n\tconst getTrainingModulesData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getTrainingModuleDashboard();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetTrainingModulesData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetTrainingModulesData();\n\t}, []);\n\n\t// Handling when we drag\n\tconst onDragEndHandler = (result: DropResult) => {\n\t\tif (!result.destination) return;\n\n\t\tconst items = Array.from(trainingModulesData);\n\n\t\tconst [reorderedItem] = items.splice(result.source.index, 1);\n\n\t\titems.splice(result.destination.index, 0, reorderedItem);\n\n\t\tsetTrainingModulesData(items);\n\n\t\tconst data: TrainingModuleReorderCommand = { id: reorderedItem.id, order: result.destination.index + 1 };\n\n\t\tapibridge.postTrainingModuleReorder(data);\n\t};\n\n\tconst removeHandler = async (item: TrainingModuleDashboardTrainingModule) => {\n\t\tsetModuleId(item.id || '');\n\n\t\tsetModuleTitle(item.title || '');\n\n\t\tsetShowRemoveModal(true);\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tAdd new\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t{trainingModulesData && trainingModulesData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(provided: DroppableProvided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{trainingModulesData.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(provided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.title}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.subtitle}

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChild Safe Standard\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item && item.standards && item.standards.length > 1 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tMultiple selected\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item && item.standards && item.standards.length === 1 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.standards[0]}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{provided.placeholder}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default ContentTrainingModule;\n","import * as React from 'react';\n\n// COMPONENTS\nimport Button from '../../components/Button';\n\n// PACKAGES;\nimport ReactPlayer from 'react-player';\n\n//TYPES\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface VideoModalTypes {\n\tvideoEmbedCode?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst VideoModal: React.FC = ({ videoEmbedCode, closeModal }) => {\n\treturn (\n\t\t
    \n\t\t\t\n\n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t);\n};\n\nexport default VideoModal;\n","import * as React from 'react';\n\ninterface FormCheckBoxTypes {\n\toptions?: { label?: string; value?: string }[];\n\tvalues: string[];\n\tonChange?: any;\n}\n\nexport const FormCheckBox: React.FC = ({ options, values, onChange }) => {\n\tconst [selectedValues, setSelectedValues] = React.useState([]);\n\n\tconst handleChange = (value: string) => {\n\t\tconst selectedValue = value.toString();\n\t\tconst selectedValueIndex = selectedValues.indexOf(selectedValue);\n\t\tconst newValues = selectedValues.slice();\n\n\t\tif (selectedValueIndex !== -1) {\n\t\t\tnewValues.splice(selectedValueIndex, 1);\n\t\t} else {\n\t\t\tnewValues.push(selectedValue);\n\t\t}\n\n\t\tsetSelectedValues(newValues);\n\n\t\tif (onChange) {\n\t\t\tonChange(newValues);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (values && values.length) {\n\t\t\tsetSelectedValues(values);\n\t\t}\n\t}, [values]);\n\n\treturn (\n\t\t<>\n\t\t\t{options && options.length && options && (\n\t\t\t\t
    \n\t\t\t\t\t
      \n\t\t\t\t\t\t{options.map((option, index) => (\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t))}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default FormCheckBox;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory, useParams } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport GlobalModal from '../../components/GlobalModal';\nimport VideoModal from './VideoModal';\nimport FormCheckBox from '../../components/FormCheckBox';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { TrainingModuleEditCommand } from '../../api/models';\nimport { RouteParams } from '../../Interfaces';\n\nconst ContentTrainingModuleDetail: React.FC = ({}) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Getting the route id\n\tconst params = useParams();\n\n\t// Get all Standards from Redux store\n\tconst childSafeStandards = useAppSelector((state) => state.lists.childSafeStandards);\n\n\t// Get all Payment Plans from Redux store\n\tconst paymentPlans = useAppSelector((state) => state.lists.paymentPlans);\n\n\t// Set up data state and initial data\n\tconst initialData: TrainingModuleEditCommand = {\n\t\tid: undefined,\n\t\torder: undefined,\n\t\ttitle: undefined,\n\t\tsubtitle: undefined,\n\t\toverview: undefined,\n\t\tvideoEmbedCode: undefined,\n\t\tselectedChildSafeStandards: [],\n\t\tselectedPlans: []\n\t};\n\n\tconst [moduleData, setModuledata] = React.useState(initialData);\n\n\t// State to control Modal\n\tconst [showVideoModal, setShowVideoModal] = React.useState(false);\n\n\t// function to Get training modules data from api call\n\tconst getTrainingModulesDetailData = async () => {\n\t\tif (params.id) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getTrainingModuleEdit(params.id);\n\n\t\t\tresponse.result = response.result || initialData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetModuledata(response.result);\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetModuledata(initialData);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetTrainingModulesDetailData();\n\t}, []);\n\n\tconst onSubmit = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst trainingData: TrainingModuleEditCommand = {\n\t\t\tid: values.id,\n\t\t\torder: values.order,\n\t\t\ttitle: values.titleInput,\n\t\t\tsubtitle: values.subtitleInput,\n\t\t\toverview: values.overviewInput,\n\t\t\tvideoEmbedCode: values.videoEmbedCode,\n\t\t\tselectedChildSafeStandards: values.childSafetyStandardsInput,\n\t\t\tselectedPlans: values.selectedPlansInput\n\t\t};\n\n\t\tconst response = await apibridge.postTrainingModuleEdit(trainingData);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/content-training-module');\n\t\t}\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\ttitleInput: Yup.string().required('Required'),\n\t\tsubtitleInput: Yup.string().required('Required'),\n\t\toverviewInput: Yup.string().required('Required'),\n\t\tchildSafetyStandardsInput: Yup.array().min(1, 'Required'),\n\t\tselectedPlansInput: Yup.array().min(1, 'Required')\n\t\t// videoEmbedCode: Yup.string().required('Required')\n\t});\n\n\tconst initialValues = {\n\t\tid: moduleData.id || '',\n\t\torder: moduleData.order || 1,\n\t\ttitleInput: moduleData.title || '',\n\t\tsubtitleInput: moduleData.subtitle || '',\n\t\toverviewInput: moduleData.overview || '',\n\t\tvideoEmbedCode: moduleData.videoEmbedCode || '',\n\t\tchildSafetyStandardsInput: moduleData.selectedChildSafeStandards || [],\n\t\tselectedPlansInput: moduleData.selectedPlans || []\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t{!!formErrorMessage ? (\n\t\t\t\t\t\t\t
    {formErrorMessage}
    \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tSupported video formats from either Vimeo or YouTube only.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{formik.values.videoEmbedCode && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('childSafetyStandardsInput', vals)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('selectedPlansInput', vals)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t
    \n\t);\n};\n\nexport default ContentTrainingModuleDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { PolicyTemplateDashboardPolicyTemplate } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\tgetPolicyTemplatesData: () => Promise;\n\tpolicyTemplatesData: PolicyTemplateDashboardPolicyTemplate[];\n\tsetPolicyTemplatesData: React.Dispatch>;\n\ttemplateId?: string;\n\ttemplateTitle?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst RemoveModal: React.FC = ({\n\tcloseModal,\n\tgetPolicyTemplatesData,\n\tpolicyTemplatesData,\n\tsetPolicyTemplatesData,\n\ttemplateId,\n\ttemplateTitle\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst removeTemplate = async () => {\n\t\tconst newData = policyTemplatesData.filter((item) => item.id !== templateId);\n\n\t\tsetPolicyTemplatesData(newData);\n\n\t\tconst response = await apibridge.postPolicyTemplateDelete({ id: templateId });\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetPolicyTemplatesData();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove '{templateTitle}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default RemoveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { DragDropContext, Droppable, Draggable, DropResult, DroppableProvided } from 'react-beautiful-dnd';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport DisplayDate from '../../components/DisplayDate';\nimport DisplayDragIcon from '../../components/DisplayDragIcon';\nimport Button from '../../components/Button';\nimport StatusIcon from '../../components/StatusIcon';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport NoInfoMessage from '../../components/NoInfoMessage';\nimport GlobalModal from '../../components/GlobalModal';\nimport RemoveModal from './RemoveModal';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { PolicyTemplateDashboardPolicyTemplate, PolicyTemplateReorderCommand } from '../../api/models';\n\nconst ContentPolicyTemplates: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to control Modal\n\tconst [showRemoveModal, setShowRemoveModal] = React.useState(false);\n\n\t// State to store Template Id\n\tconst [templateId, setTemplateId] = React.useState('');\n\n\t// State to store Child Safe Templates title\n\tconst [templateTitle, setTemplateTitle] = React.useState('');\n\n\t// Set up Data state\n\tconst [policyTemplatesData, setPolicyTemplatesData] = React.useState([]);\n\n\tconst getPolicyTemplatesData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getPolicyTemplateDashboard();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetPolicyTemplatesData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetPolicyTemplatesData();\n\t}, []);\n\n\t// Handling when we drag\n\tconst onDragEndHandler = (result: DropResult) => {\n\t\tif (!result.destination) return;\n\n\t\tconst items = Array.from(policyTemplatesData);\n\n\t\tconst [reorderedItem] = items.splice(result.source.index, 1);\n\n\t\titems.splice(result.destination.index, 0, reorderedItem);\n\n\t\tsetPolicyTemplatesData(items);\n\n\t\tconst data: PolicyTemplateReorderCommand = { id: reorderedItem.id, order: result.destination.index + 1 };\n\n\t\tapibridge.postPolicyTemplateReorder(data);\n\t};\n\n\tconst removeHandler = async (item: PolicyTemplateDashboardPolicyTemplate) => {\n\t\tsetTemplateId(item.id || '');\n\n\t\tsetTemplateTitle(item.title || '');\n\n\t\tsetShowRemoveModal(true);\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t Add new\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t{policyTemplatesData && policyTemplatesData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(provided: DroppableProvided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{policyTemplatesData.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(provided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\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\t\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default ContentPolicyTemplates;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport FileUpload from '../../components/FileUpload';\nimport FilesList from '../../components/FilesList';\nimport DisplayDate from '../../components/DisplayDate';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport FormCheckBox from '../../components/FormCheckBox';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport { PolicyTemplateEditCommand } from '../../api/models';\n\nconst ContentPolicyTemplatesDetail: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Get all Payment Plans from Redux store\n\tconst paymentPlans = useAppSelector((state) => state.lists.paymentPlans);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get Id from params\n\tconst params = useParams();\n\n\t// Set up data state and initial data\n\tconst initialData: PolicyTemplateEditCommand = {\n\t\tid: undefined,\n\t\ttitle: undefined,\n\t\tfilename: undefined,\n\t\tattachmentUrl: undefined,\n\t\tfileDisplayName: undefined,\n\t\torder: undefined,\n\t\tupdated: undefined,\n\t\tselectedPlans: []\n\t};\n\n\tconst [policyTemplatesDetailData, setPolicyTemplatesDetailData] =\n\t\tReact.useState(initialData);\n\n\tconst getPolicyTemplatesDetailData = async () => {\n\t\tif (params.id) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getPolicyTemplateEdit(params.id);\n\n\t\t\tresponse.result = response.result || initialData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetPolicyTemplatesDetailData(response.result);\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetPolicyTemplatesDetailData(initialData);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetPolicyTemplatesDetailData();\n\t}, []);\n\n\tconst onSubmit = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst policyData: PolicyTemplateEditCommand = {\n\t\t\tid: values.id,\n\t\t\ttitle: values.titleInput,\n\t\t\tfilename: values.filename,\n\t\t\torder: values.order,\n\t\t\tselectedPlans: values.selectedPlansInput\n\t\t};\n\n\t\tconst response = await apibridge.postPolicyTemplateEdit(policyData);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/content-policy-templates');\n\t\t}\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\ttitleInput: Yup.string().required('Required'),\n\t\tfilename: Yup.string().when('fileDisplayName', { is: undefined, then: Yup.string().required('Required') }),\n\t\tselectedPlansInput: Yup.array().min(1, 'Required')\n\t});\n\n\tconst initialValues = {\n\t\tid: policyTemplatesDetailData.id,\n\t\ttitleInput: policyTemplatesDetailData.title,\n\t\tfilename: policyTemplatesDetailData.filename,\n\t\torder: policyTemplatesDetailData.order,\n\t\tfileDisplayName: policyTemplatesDetailData.fileDisplayName,\n\t\tattachmentUrl: policyTemplatesDetailData.attachmentUrl,\n\t\tselectedPlansInput: policyTemplatesDetailData.selectedPlans || []\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t{!!formErrorMessage ? (\n\t\t\t\t\t\t\t
    {formErrorMessage}
    \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{policyTemplatesDetailData.updated ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLast Update {policyTemplatesDetailData.updated}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('fileDisplayName', '');\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmultiple={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfiles={\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t!formik.values.fileDisplayName\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? []\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tid: formik.values.fileDisplayName,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisplayFileName: formik.values.fileDisplayName\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t ]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('fileDisplayName', '');\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('filename', val);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmultiple={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmaxSizeMb={5}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('selectedPlansInput', vals)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t);\n\t\t\t}}\n\t\t
    \n\t);\n};\n\nexport default ContentPolicyTemplatesDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { ChecklistTemplateDashboardTemplate } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\tgetSafetyChecklistsTemplatesData: () => Promise;\n\tsafetyChecklistsTemplatesData: ChecklistTemplateDashboardTemplate[];\n\tsetSafetyChecklistsTemplatesData: React.Dispatch>;\n\ttemplateId?: string;\n\ttemplateTitle?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst RemoveModal: React.FC = ({\n\tcloseModal,\n\tgetSafetyChecklistsTemplatesData,\n\tsafetyChecklistsTemplatesData,\n\tsetSafetyChecklistsTemplatesData,\n\ttemplateId,\n\ttemplateTitle\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst removeTemplate = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst newData = safetyChecklistsTemplatesData.filter((item) => item.id !== templateId);\n\n\t\tsetSafetyChecklistsTemplatesData(newData);\n\n\t\tconst response = await apibridge.postChecklistTemplateDelete({ id: templateId });\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetSafetyChecklistsTemplatesData();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove '{templateTitle}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default RemoveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { DragDropContext, Droppable, Draggable, DropResult, DroppableProvided } from 'react-beautiful-dnd';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport DisplayDate from '../../components/DisplayDate';\nimport Button from '../../components/Button';\nimport StatusIcon from '../../components/StatusIcon';\nimport DisplayDragIcon from '../../components/DisplayDragIcon';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport NoInfoMessage from '../../components/NoInfoMessage';\nimport GlobalModal from '../../components/GlobalModal';\nimport RemoveModal from './RemoveModal';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { ChecklistTemplateDashboardTemplate, ChecklistTemplateReorderCommand } from '../../api/models';\n\nconst ContentChecklistTemplates: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to control Modal\n\tconst [showRemoveModal, setShowRemoveModal] = React.useState(false);\n\n\t// State to store Template Id\n\tconst [templateId, setTemplateId] = React.useState('');\n\n\t// State to store Child Safe Templates title\n\tconst [templateTitle, setTemplateTitle] = React.useState('');\n\n\t// Set up Data state\n\tconst [safetyChecklistsTemplatesData, setSafetyChecklistsTemplatesData] = React.useState<\n\t\tChecklistTemplateDashboardTemplate[]\n\t>([]);\n\n\tconst getSafetyChecklistsTemplatesData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getChecklistTemplateDashboard();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetSafetyChecklistsTemplatesData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetSafetyChecklistsTemplatesData();\n\t}, []);\n\n\t// Handling when we drag\n\tconst onDragEndHandler = (result: DropResult) => {\n\t\tif (!result.destination) return;\n\n\t\tconst items = Array.from(safetyChecklistsTemplatesData);\n\n\t\tconst [reorderedItem] = items.splice(result.source.index, 1);\n\n\t\titems.splice(result.destination.index, 0, reorderedItem);\n\n\t\tsetSafetyChecklistsTemplatesData(items);\n\n\t\tconst data: ChecklistTemplateReorderCommand = { id: reorderedItem.id, order: result.destination.index + 1 };\n\n\t\tapibridge.postChecklistTemplateReorder(data);\n\t};\n\n\tconst removeHandler = async (item: ChecklistTemplateDashboardTemplate) => {\n\t\tsetTemplateId(item.id || '');\n\n\t\tsetTemplateTitle(item.title || '');\n\n\t\tsetShowRemoveModal(true);\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t Add new\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t{safetyChecklistsTemplatesData && safetyChecklistsTemplatesData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(provided: DroppableProvided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{safetyChecklistsTemplatesData.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(provided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.title}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLast updated    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.updated}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\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t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default ContentChecklistTemplates;\n","import * as React from 'react';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport DisplayDragIcon from '../../components/DisplayDragIcon';\n\ninterface CheckListItemTypes {\n\titem: string;\n\tindex: number;\n\trenderedChecklistItems: Array;\n\tsetRenderedChecklistItems: React.Dispatch>;\n\tremoveHandler: (index: number) => void;\n}\n\nconst CheckListItem: React.FC = ({\n\titem,\n\tindex,\n\trenderedChecklistItems,\n\tsetRenderedChecklistItems,\n\tremoveHandler\n}) => {\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst onChangeHandler = (e: React.ChangeEvent, index: number) => {\n\t\tconst { value } = e.target;\n\n\t\tlet newData = [...renderedChecklistItems];\n\n\t\tnewData[index] = value;\n\n\t\tsetRenderedChecklistItems(newData);\n\n\t\tif (value === '') {\n\t\t\tsetShowError(true);\n\t\t} else {\n\t\t\tsetShowError(false);\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t onChangeHandler(e, index)} />\n\t\t\t\t\t\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t\n\t\t\t\t
    \n\t\t\t
    \n\n\t\t\t{showError &&
    This field can not be blank
    }\n\t\t
    \n\t);\n};\n\nexport default CheckListItem;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { DragDropContext, Droppable, Draggable, DropResult, DroppableProvided } from 'react-beautiful-dnd';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport CheckListItem from './ChecklistItem';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport FormCheckBox from '../../components/FormCheckBox';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { ChecklistTemplateEditCommand } from '../../api/models';\nimport { RouteParams } from '../../Interfaces';\n\nconst ContentChecklistTemplatesDetail: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Get all Payment Plans from Redux store\n\tconst paymentPlans = useAppSelector((state) => state.lists.paymentPlans);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get Id from params\n\tconst params = useParams();\n\n\t// Set up data state and initial data\n\tconst initialItemsState = {\n\t\tid: undefined,\n\t\ttitle: undefined,\n\t\tusage: undefined,\n\t\tchecklistItems: [],\n\t\tselectedPlans: []\n\t};\n\n\tconst initialRenderedItemsState = [''];\n\n\tconst [safetyChecklistsTemplateItemsDetailData, setSafetyChecklistsTemplateItemsDetailData] =\n\t\tReact.useState(initialItemsState);\n\n\tconst [renderedChecklistItems, setRenderedChecklistItems] = React.useState(initialRenderedItemsState);\n\n\tconst getSafetyChecklistsTemplateItemsData = async () => {\n\t\t// Detect if creating a checklist from a template ( with route id)\n\t\tif (params.id) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getChecklistTemplateEdit(params.id);\n\n\t\t\tresponse.result = response.result || initialItemsState;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetRenderedChecklistItems(response.result.checklistItems);\n\n\t\t\t\tsetSafetyChecklistsTemplateItemsDetailData(response.result);\n\t\t\t}\n\t\t} else {\n\t\t\t// Detect if creating a checklist from blank ( without route id)\n\t\t\tsetIsLoading(false);\n\n\t\t\tconst data = initialItemsState;\n\n\t\t\tconst { checklistItems } = data;\n\n\t\t\tsetRenderedChecklistItems(checklistItems);\n\n\t\t\tsetSafetyChecklistsTemplateItemsDetailData(data);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetSafetyChecklistsTemplateItemsData();\n\t}, []);\n\n\t// SET UP GENERAL FORM\n\tconst validationSchema = Yup.object({\n\t\ttitleInput: Yup.string().required('Required'),\n\t\tusageInput: Yup.string().required('Required'),\n\t\tselectedPlansInput: Yup.array().min(1, 'Required')\n\t});\n\n\tconst initialValues = {\n\t\tid: safetyChecklistsTemplateItemsDetailData.id || '',\n\t\ttitleInput: safetyChecklistsTemplateItemsDetailData.title || '',\n\t\tusageInput: safetyChecklistsTemplateItemsDetailData.usage || '',\n\t\tselectedPlansInput: safetyChecklistsTemplateItemsDetailData.selectedPlans || []\n\t};\n\n\t// Handling when we drag\n\tconst onDragEndHandler = (result: DropResult) => {\n\t\tif (!result.destination) return;\n\n\t\tconst items = Array.from(renderedChecklistItems);\n\n\t\tconst [reorderedItem] = items.splice(result.source.index, 1);\n\n\t\titems.splice(result.destination.index, 0, reorderedItem);\n\n\t\tsetRenderedChecklistItems(items);\n\t};\n\n\t// ON SUBMIT\n\tconst onSubmit = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst checklistData: ChecklistTemplateEditCommand = {\n\t\t\tid: values.id,\n\t\t\ttitle: values.titleInput,\n\t\t\tusage: values.usageInput,\n\t\t\tchecklistItems: [...renderedChecklistItems],\n\t\t\tselectedPlans: values.selectedPlansInput\n\t\t};\n\n\t\tconst response = await apibridge.postChecklistTemplateEdit(checklistData);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/content-checklist-templates');\n\t\t}\n\t};\n\n\tconst addChecklistHandler = (e: React.MouseEvent) => {\n\t\te.preventDefault();\n\n\t\tconst newArray = [...renderedChecklistItems, ''];\n\n\t\tsetRenderedChecklistItems(newArray);\n\t};\n\n\tconst removeHandler = (itemIndex: number) => {\n\t\tconst newArray = renderedChecklistItems.filter((item, index) => index !== itemIndex);\n\n\t\tsetRenderedChecklistItems(newArray);\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t{!!formErrorMessage ? (\n\t\t\t\t\t\t\t
    {formErrorMessage}
    \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{renderedChecklistItems && renderedChecklistItems.length > 0 && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(provided: DroppableProvided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{renderedChecklistItems.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(provided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{provided.placeholder}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tonClick={addChecklistHandler}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd another item\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('selectedPlansInput', vals)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t);\n\t\t\t}}\n\t\t
    \n\t);\n};\n\nexport default ContentChecklistTemplatesDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { ComplaintAdviceDashboardComplaintAdvice } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\tgetComplaintsAdviceData: () => Promise;\n\tcomplaintsAdviceData: ComplaintAdviceDashboardComplaintAdvice[];\n\tsetComplaintsAdviceData: React.Dispatch>;\n\tadviceId?: string;\n\tadviceTitle?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst RemoveModal: React.FC = ({\n\tcloseModal,\n\tgetComplaintsAdviceData,\n\tcomplaintsAdviceData,\n\tsetComplaintsAdviceData,\n\tadviceId,\n\tadviceTitle\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst removeAdvice = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst newData = complaintsAdviceData.filter((item) => item.id !== adviceId);\n\t\tsetComplaintsAdviceData(newData);\n\n\t\tconst response = await apibridge.postComplaintAdviceDelete({ id: adviceId });\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetComplaintsAdviceData();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove '{adviceTitle}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default RemoveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { DragDropContext, Droppable, Draggable, DropResult, DroppableProvided } from 'react-beautiful-dnd';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport DisplayDate from '../../components/DisplayDate';\nimport Button from '../../components/Button';\nimport StatusIcon from '../../components/StatusIcon';\nimport DisplayDragIcon from '../../components/DisplayDragIcon';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport GlobalModal from '../../components/GlobalModal';\nimport RemoveModal from './RemoveModal';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { ComplaintAdviceDashboardComplaintAdvice, ComplaintAdviceReorderCommand } from '../../api/models';\n\nconst ContentComplaintsAdvice: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to control Modal\n\tconst [showRemoveModal, setShowRemoveModal] = React.useState(false);\n\n\t// State to store Advice Id\n\tconst [adviceId, setAdviceId] = React.useState('');\n\n\t// State to store Child Safe Advices title\n\tconst [adviceTitle, setAdviceTitle] = React.useState('');\n\n\t// Set up Data state\n\tconst [complaintsAdviceData, setComplaintsAdviceData] = React.useState([]);\n\n\tconst getComplaintsAdviceData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getComplaintAdviceDashboard();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetComplaintsAdviceData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetComplaintsAdviceData();\n\t}, []);\n\n\t// Handling when we drag\n\tconst onDragEndHandler = (result: DropResult) => {\n\t\tif (!result.destination) return;\n\n\t\tconst items = Array.from(complaintsAdviceData);\n\n\t\tconst [reorderedItem] = items.splice(result.source.index, 1);\n\n\t\titems.splice(result.destination.index, 0, reorderedItem);\n\n\t\tsetComplaintsAdviceData(items);\n\n\t\tconst data: ComplaintAdviceReorderCommand = { id: reorderedItem.id, order: result.destination.index + 1 };\n\n\t\tapibridge.postComplaintAdviceReorder(data);\n\t};\n\n\tconst removeHandler = async (item: ComplaintAdviceDashboardComplaintAdvice) => {\n\t\tsetAdviceId(item.id || '');\n\n\t\tsetAdviceTitle(item.title || '');\n\n\t\tsetShowRemoveModal(true);\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t Add new\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t{complaintsAdviceData && complaintsAdviceData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(provided: DroppableProvided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{complaintsAdviceData.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(provided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.title}
      \n\n\t\t\t\t\t\t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\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{provided.placeholder}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\tInformation in this section is coming soon. In the meantime feel free to{' '}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tcontact us\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t.\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default ContentComplaintsAdvice;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory, useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport FileUpload from '../../components/FileUpload';\nimport FilesList from '../../components/FilesList';\nimport DisplayDate from '../../components/DisplayDate';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport FormCheckBox from '../../components/FormCheckBox';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport { ComplaintAdviceEditCommand } from '../../api/models';\n\nconst ContentComplaintsAdviceDetail: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Get all Payment Plans from Redux store\n\tconst paymentPlans = useAppSelector((state) => state.lists.paymentPlans);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get Id from params\n\tconst params = useParams();\n\n\t// Set up data state and initial data\n\tconst initialData: ComplaintAdviceEditCommand = {\n\t\tid: undefined,\n\t\ttitle: undefined,\n\t\tfilename: undefined,\n\t\tattachmentUrl: undefined,\n\t\tfileDisplayName: undefined,\n\t\torder: undefined,\n\t\tupdated: undefined,\n\t\tselectedPlans: []\n\t};\n\n\tconst [complaintAdviceDetailData, setComplaintAdviceDetailData] =\n\t\tReact.useState(initialData);\n\n\tconst getContentComplaintAdviceDetailData = async () => {\n\t\tif (params.id) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getComplaintAdviceEdit(params.id);\n\n\t\t\tresponse.result = response.result || initialData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetComplaintAdviceDetailData(response.result);\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetComplaintAdviceDetailData(initialData);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetContentComplaintAdviceDetailData();\n\t}, []);\n\n\t// On Submit Function\n\tconst onSubmit = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst complaintsData: ComplaintAdviceEditCommand = {\n\t\t\tid: values.id,\n\t\t\ttitle: values.titleInput,\n\t\t\tfilename: values.filename,\n\t\t\torder: values.order,\n\t\t\tselectedPlans: values.selectedPlansInput\n\t\t};\n\n\t\tconst response = await apibridge.postComplaintAdviceEdit(complaintsData);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/content-complaints-advice');\n\t\t}\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\ttitleInput: Yup.string().required('Required'),\n\t\tfilename: Yup.string().when('fileDisplayName', { is: undefined, then: Yup.string().required('Required') }),\n\t\tselectedPlansInput: Yup.array().min(1, 'Required')\n\t});\n\n\tconst initialValues = {\n\t\tid: complaintAdviceDetailData.id,\n\t\ttitleInput: complaintAdviceDetailData.title,\n\t\tfilename: complaintAdviceDetailData.filename,\n\t\torder: complaintAdviceDetailData.order,\n\t\tfileDisplayName: complaintAdviceDetailData.fileDisplayName,\n\t\tattachmentUrl: complaintAdviceDetailData.attachmentUrl,\n\t\tselectedPlansInput: complaintAdviceDetailData.selectedPlans\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t{!!formErrorMessage ? (\n\t\t\t\t\t\t\t
    {formErrorMessage}
    \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{complaintAdviceDetailData.updated ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tLast Update {complaintAdviceDetailData.updated}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t''\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('fileDisplayName', '');\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmultiple={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfiles={\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t!formik.values.fileDisplayName\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? []\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t: [\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tid: formik.values.fileDisplayName,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisplayFileName: formik.values.fileDisplayName\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t ]\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('fileDisplayName', '');\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('filename', val);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmultiple={false}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmaxSizeMb={5}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('selectedPlansInput', vals)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t);\n\t\t\t}}\n\t\t
    \n\t);\n};\n\nexport default ContentComplaintsAdviceDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { ChildSafeStandardAdminDashboardChildSafeStandard } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\tgetChildSafetyStandardData: () => Promise;\n\tchildSafetyStandardsData: ChildSafeStandardAdminDashboardChildSafeStandard[];\n\tsetChildSafetyStandardsData: React.Dispatch>;\n\tstandardId?: string;\n\tstandardTitle?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst RemoveModal: React.FC = ({\n\tcloseModal,\n\tgetChildSafetyStandardData,\n\tchildSafetyStandardsData,\n\tsetChildSafetyStandardsData,\n\tstandardId,\n\tstandardTitle\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst removeStandard = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst newData = childSafetyStandardsData.filter((item) => item.id !== standardId);\n\n\t\tsetChildSafetyStandardsData(newData);\n\n\t\tconst response = await apibridge.postChildSafeStandardDelete({ id: standardId });\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetChildSafetyStandardData();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove '{standardTitle}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default RemoveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { DragDropContext, Droppable, Draggable, DropResult, DroppableProvided } from 'react-beautiful-dnd';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport DisplayDate from '../../components/DisplayDate';\nimport Button from '../../components/Button';\nimport DisplayDragIcon from '../../components/DisplayDragIcon';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport NoInfoMessage from '../../components/NoInfoMessage';\nimport GlobalModal from '../../components/GlobalModal';\nimport RemoveModal from './RemoveModal';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { ChildSafeStandardAdminDashboardChildSafeStandard, ChildSafeStandardReorderCommand } from '../../api/models';\n\nconst ContentChildSafeStandards: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get all Standards Color from Redux Store\n\tconst childSafeStandardColors = useAppSelector((state) => state.lists.childSafeStandardColors);\n\n\t// State to control Modal\n\tconst [showRemoveModal, setShowRemoveModal] = React.useState(false);\n\n\t// State to store Child Safe Standards Id\n\tconst [standardId, setStandardId] = React.useState('');\n\n\t// State to store Child Safe Standards title\n\tconst [standardTitle, setStandardTitle] = React.useState('');\n\n\t// Set up Data state\n\tconst [childSafetyStandardsData, setChildSafetyStandardsData] = React.useState<\n\t\tChildSafeStandardAdminDashboardChildSafeStandard[]\n\t>([]);\n\n\tconst getChildSafetyStandardData = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getChildSafeStandardDashboard();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetChildSafetyStandardsData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetChildSafetyStandardData();\n\t}, []);\n\n\t// Handling when we drag\n\tconst onDragEndHandler = (result: DropResult) => {\n\t\tif (!result.destination) return;\n\n\t\tconst items = Array.from(childSafetyStandardsData);\n\n\t\tconst [reorderedItem] = items.splice(result.source.index, 1);\n\n\t\titems.splice(result.destination.index, 0, reorderedItem);\n\n\t\tsetChildSafetyStandardsData(items);\n\n\t\tconst data: ChildSafeStandardReorderCommand = { id: reorderedItem.id, order: result.destination.index + 1 };\n\n\t\tapibridge.postChildSafeStandardReorder(data);\n\t};\n\n\tconst removeHandler = async (item: ChildSafeStandardAdminDashboardChildSafeStandard) => {\n\t\tsetStandardId(item.id || '');\n\n\t\tsetStandardTitle(item.title || '');\n\n\t\tsetShowRemoveModal(true);\n\t};\n\n\tconst constantColorCode: string = '#9437BF';\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t Add new\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t{childSafetyStandardsData && childSafetyStandardsData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(provided: DroppableProvided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{childSafetyStandardsData.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(provided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{index + 1}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.title}
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.updated && <>Last updated    }\n\n\t\t\t\t\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\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{provided.placeholder}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default ContentChildSafeStandards;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { rteSettings } from '../../utils';\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory, useParams } from 'react-router-dom';\nimport ReactQuill from 'react-quill';\nimport '../../../node_modules/react-quill/dist/quill.snow.css';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport FormCheckBox from '../../components/FormCheckBox';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport { ChildSafeStandardEditCommand } from '../../api/models';\n\nconst ContentChildSafeStandardsDetail: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get all states from Redux store\n\tconst states = useAppSelector((state) => state.lists.states);\n\n\t// Get Id from params\n\tconst params = useParams();\n\n\t// Setting up RTE State\n\tconst [textEditor, setTextEditor] = React.useState(' ');\n\n\tconst textEditorChangeHandler = (e: string) => {\n\t\tsetTextEditor(e);\n\t};\n\n\t// Set up data state and initial data\n\tconst initialData = {\n\t\tid: undefined,\n\t\ttitle: undefined,\n\t\tdescription: undefined,\n\t\tpageContent: undefined,\n\t\tstates: []\n\t};\n\n\tconst [childSafetyStandardsDetailData, setChildSafetyStandardsDetailData] =\n\t\tReact.useState(initialData);\n\n\tconst getChildSafetyStandardDetailData = async () => {\n\t\tif (params.id) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getChildSafeStandardEdit(params.id);\n\n\t\t\tresponse.result = response.result || initialData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetChildSafetyStandardsDetailData(response.result);\n\n\t\t\t\tsetTextEditor(decodeURIComponent(response.result.pageContent));\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetChildSafetyStandardsDetailData(initialData);\n\n\t\t\tsetTextEditor(initialData.pageContent || '');\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetChildSafetyStandardDetailData();\n\t}, []);\n\n\tconst onSubmit = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst text = encodeURIComponent(textEditor);\n\n\t\tconst childSafeData: ChildSafeStandardEditCommand = {\n\t\t\tid: childSafetyStandardsDetailData.id,\n\t\t\ttitle: values.headingInput,\n\t\t\tdescription: values.subheadingInput,\n\t\t\tpageContent: text, //textEditor,\n\t\t\tstates: values.statesAppliedInput\n\t\t};\n\n\t\tconst response = await apibridge.postChildSafeStandardEdit(childSafeData);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/content-child-safe-standards');\n\t\t}\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\theadingInput: Yup.string().required('Required'),\n\t\tsubheadingInput: Yup.string().required('Required'),\n\t\tstatesAppliedInput: Yup.array().required('Required')\n\t});\n\n\tconst initialValues = {\n\t\theadingInput: childSafetyStandardsDetailData.title,\n\t\tsubheadingInput: childSafetyStandardsDetailData.description,\n\t\tstatesAppliedInput: childSafetyStandardsDetailData.states\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t{!!formErrorMessage ? (\n\t\t\t\t\t\t\t
    {formErrorMessage}
    \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n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t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t);\n\t\t\t}}\n\t\t
    \n\t);\n};\n\nexport default ContentChildSafeStandardsDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { HelpDeskAdminDashboardHelpDeskItem } from '../../api/models';\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\tgetHelpDeskAdminDashboard: () => Promise;\n\thelpDeskData: HelpDeskAdminDashboardHelpDeskItem[];\n\tsetHelpDeskData: React.Dispatch>;\n\thelpDeskId?: string;\n\thelpDeskTitle?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst RemoveModal: React.FC = ({\n\tcloseModal,\n\tgetHelpDeskAdminDashboard,\n\thelpDeskData,\n\tsetHelpDeskData,\n\thelpDeskId,\n\thelpDeskTitle\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst removeAdvice = async () => {\n\t\tconst newData = helpDeskData.filter((item) => item.id !== helpDeskId);\n\n\t\tsetHelpDeskData(newData);\n\n\t\tconst response = await apibridge.postHelpDeskDelete({ id: helpDeskId });\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\tgetHelpDeskAdminDashboard();\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to remove '{helpDeskTitle}'?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default RemoveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Link } from 'react-router-dom';\nimport { DragDropContext, Droppable, Draggable, DropResult, DroppableProvided } from 'react-beautiful-dnd';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport DisplayDate from '../../components/DisplayDate';\nimport Button from '../../components/Button';\nimport DisplayDragIcon from '../../components/DisplayDragIcon';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport GlobalModal from '../../components/GlobalModal';\nimport RemoveModal from './RemoveModal';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { HelpDeskAdminDashboardHelpDeskItem, HelpDeskReorderCommand } from '../../api/models';\n\nconst ContentHelpDesk: React.FC = () => {\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// State to control Modal\n\tconst [showRemoveModal, setShowRemoveModal] = React.useState(false);\n\n\t// State to store Help Desk Id\n\tconst [helpDeskId, setHelpDeskId] = React.useState('');\n\n\t// State to store Child Safe Help Desk title\n\tconst [helpDeskTitle, setHelpDeskTitle] = React.useState('');\n\n\t// Set up Data state\n\tconst [helpDeskData, setHelpDeskData] = React.useState([]);\n\n\tconst getHelpDeskAdminDashboard = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getHelpDeskAdminDashboard();\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetHelpDeskData(response.result);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetHelpDeskAdminDashboard();\n\t}, []);\n\n\t// Handling when we drag\n\tconst onDragEndHandler = (result: DropResult) => {\n\t\tif (!result.destination) return;\n\n\t\tconst items = Array.from(helpDeskData);\n\n\t\tconst [reorderedItem] = items.splice(result.source.index, 1);\n\n\t\titems.splice(result.destination.index, 0, reorderedItem);\n\n\t\tsetHelpDeskData(items);\n\n\t\tconst data: HelpDeskReorderCommand = { id: reorderedItem.id, order: result.destination.index + 1 };\n\n\t\tapibridge.postHelpDeskReorder(data);\n\t};\n\n\tconst removeHandler = async (item: HelpDeskAdminDashboardHelpDeskItem) => {\n\t\tsetHelpDeskId(item.id || '');\n\n\t\tsetHelpDeskTitle(item.title || '');\n\n\t\tsetShowRemoveModal(true);\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t Add new\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t{helpDeskData && helpDeskData.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t{(provided: DroppableProvided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{helpDeskData.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(provided) => (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item.title}
      \n\n\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t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tEdit\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{provided.placeholder}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\tInformation in this section is coming soon. In the meantime feel free to{' '}\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\tcontact us\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t.\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default ContentHelpDesk;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { rteSettings } from '../../utils';\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory, useParams } from 'react-router-dom';\nimport ReactQuill from 'react-quill';\nimport '../../../node_modules/react-quill/dist/quill.snow.css';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport FormCheckBox from '../../components/FormCheckBox';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// TYPES\nimport { RouteParams } from '../../Interfaces';\nimport { HelpDeskEditCommand } from '../../api/models';\n\nconst ContentHelpDeskDetail: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get all Payment Plans from Redux store\n\tconst paymentPlans = useAppSelector((state) => state.lists.paymentPlans);\n\n\t// Get Id from params\n\tconst params = useParams();\n\n\t// Setting up RTE State\n\tconst [textEditor, setTextEditor] = React.useState(' ');\n\n\tconst textEditorChangeHandler = (e: string) => {\n\t\tsetTextEditor(e);\n\t};\n\n\t// Set up data state and initial data\n\tconst initialData: HelpDeskEditCommand = {\n\t\tid: undefined,\n\t\ttitle: undefined,\n\t\tdescription: undefined,\n\t\tpageContent: '',\n\t\tselectedPlans: []\n\t};\n\n\tconst [helpDeskAdminDetailData, setHelpDeskAdminDetailData] = React.useState(initialData);\n\n\tconst getHelpDeskAdminDetailData = async () => {\n\t\tif (params.id) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getHelpDeskAdminDetailData(params.id);\n\n\t\t\tresponse.result = response.result || initialData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetHelpDeskAdminDetailData(response.result);\n\n\t\t\t\tsetTextEditor(decodeURIComponent(response.result.pageContent));\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetHelpDeskAdminDetailData(initialData);\n\n\t\t\tsetTextEditor(initialData.pageContent || '');\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetHelpDeskAdminDetailData();\n\t}, []);\n\n\tconst onSubmit = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst text = encodeURIComponent(textEditor);\n\n\t\tconst data: HelpDeskEditCommand = {\n\t\t\tid: helpDeskAdminDetailData.id,\n\t\t\ttitle: values.headingInput,\n\t\t\tdescription: values.subheadingInput,\n\t\t\tpageContent: text, //textEditor\n\t\t\tselectedPlans: values.selectedPlansInput\n\t\t};\n\n\t\tconst response = await apibridge.postHelpDeskEdit(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/content-help-desk');\n\t\t}\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\theadingInput: Yup.string().required('Required'),\n\t\tsubheadingInput: Yup.string().required('Required'),\n\t\tselectedPlansInput: Yup.array().min(1, 'Required')\n\t});\n\n\tconst initialValues = {\n\t\theadingInput: helpDeskAdminDetailData.title,\n\t\tsubheadingInput: helpDeskAdminDetailData.description,\n\t\tselectedPlansInput: helpDeskAdminDetailData.selectedPlans\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t{!!formErrorMessage ? (\n\t\t\t\t\t\t\t
    {formErrorMessage}
    \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('selectedPlansInput', vals)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t);\n\t\t\t}}\n\t\t
    \n\t);\n};\n\nexport default ContentHelpDeskDetail;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { useHistory, useLocation } from 'react-router';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\nconst ConfirmNewEmail: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get token from query string\n\tconst { search } = useLocation();\n\tconst token = new URLSearchParams(search).get('token');\n\n\tconst confirmToken = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.postAccountChangeEmail({ token: token || '' });\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/my-account');\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tconfirmToken();\n\t}, []);\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tAn error has occurred
    \n\t\t\t\t\t\t\t\t\t\tPlease check your link and try again\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default ConfirmNewEmail;\n","import * as React from 'react';\n\n//PACKAGES\nimport { Link, useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n//UTILS\nimport { validationErrorsToString } from '../../utils';\n\n//API\nimport apibridge from '../../apibridge';\n\n//STORE\nimport { useAppDispatch, useAppSelector } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// ICONS\nimport { ReactComponent as LogOutIcon } from '../../assets/svg/logout.svg';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n//COMPONENTS\nimport Button from '../../components/Button';\n\n// TYPES\nimport { AccountUserResponse } from '../../api/models';\n\ninterface LandingDashboardTypes {}\n\nconst LandingDashboard: React.FC = ({}) => {\n\tconst dispatch = useAppDispatch();\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Get the website URL and admin email from the store\n\tconst websiteURL = useAppSelector((store) => store.lists.websiteUrl);\n\tconst accountsEmail = useAppSelector((store) => store.lists.accountsEmail);\n\n\t// Check if the user has an incomplete organisation\n\tconst [hasIncompleteProfile, setHasIncompleteProfile] = React.useState(false);\n\tconst [incompletProfileId, setIncompleteProfileId] = React.useState('');\n\n\t// Check if has RequireAdminOrganisationIdentifier\n\tconst [hasRequireAdminOrganisationIdentifier, setHasRequireAdminOrganisationIdentifier] =\n\t\tReact.useState(false);\n\tconst [organisationIdentifier, setOrganisationIdentifier] = React.useState('');\n\n\t//Check is the user has a pending request\n\tconst [hasPendingRequest, setHasPendingRequest] = React.useState(false);\n\n\tconst getUserDetails = async () => {\n\t\tsetIsLoading(true);\n\t\tconst response = await apibridge.getUserDetails();\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\t\t\tif (response?.result?.profiles && response?.result?.profiles.length > 0) {\n\t\t\t\t// If they land on landing dashboard and they have a profile, redirect them to dashboard\n\t\t\t\thistory.push('/dashboard');\n\t\t\t} else {\n\t\t\t\t// Has pending request\n\t\t\t\tif (response?.result?.hasPendingRequests) {\n\t\t\t\t\tsetHasPendingRequest(true);\n\t\t\t\t} else {\n\t\t\t\t\t// Has incomplete organisation\n\t\t\t\t\tif (response?.result?.incompleteOrganisationId) {\n\t\t\t\t\t\tsetHasIncompleteProfile(true);\n\t\t\t\t\t\tsetIncompleteProfileId(response.result.incompleteOrganisationId);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t//Has RequireAdminOrganisationIdentifier\n\t\t\t\t\t\tif (response?.result?.requireAdminOrganisationIdentifier) {\n\t\t\t\t\t\t\tsetHasRequireAdminOrganisationIdentifier(true);\n\t\t\t\t\t\t\tsetOrganisationIdentifier(response.result.requireAdminOrganisationIdentifier);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetUserDetails();\n\t}, []);\n\n\tconst doLogout = () => {\n\t\tdispatch(UserSlice.actions.logOut());\n\t};\n\n\tconst goToHomepage = () => {\n\t\twindow.location.href = websiteURL || '';\n\t};\n\n\tconst goToJoin = () => {\n\t\thistory.push('/find-organisation');\n\t};\n\n\tconst goToRegister = () => {\n\t\thistory.push('/register-organisation');\n\t};\n\n\tconst goToContinueJoin = () => {\n\t\thistory.push(`/join-organisation?id=${organisationIdentifier}&type=staff`);\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\n\t\t\t\t\t) : !!formErrorMessage ? (\n\t\t\t\t\t\t
    {formErrorMessage}
    \n\t\t\t\t\t) : hasPendingRequest ? (\n\t\t\t\t\t\t// Has pending request\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\tThank you for requesting to join this organisation.\n\t\t\t\t\t\t\t\t
    Your request has been sent to the organisation and you will be notified via email when it has\n\t\t\t\t\t\t\t\tbeen reviewed.\n\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t) : hasIncompleteProfile ? (\n\t\t\t\t\t\t// Has incomplete organisation\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tPayment for your organisation’s ChildAware account has not been completed. If you have made a payment\n\t\t\t\t\t\t\t\t\tplease contact ChildAware at accounts@childaware.com for\n\t\t\t\t\t\t\t\t\tassistance. Otherwise, please make a{' '}\n\t\t\t\t\t\t\t\t\tpayment to complete this\n\t\t\t\t\t\t\t\t\tprocess.\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t) : hasRequireAdminOrganisationIdentifier ? (\n\t\t\t\t\t\t// Has RequireAdminOrganisationIdentifier\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\tThank you for joining ChildAware. You previously created an organisation on ChildAware but did not\n\t\t\t\t\t\t\t\tfinalise joining it.\n\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t// No pending request\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\tThank you for joining ChildAware. Your account is not currently associated with organisations on\n\t\t\t\t\t\t\t\tChildAware.\n\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t);\n};\n\nexport default LandingDashboard;\n","import * as React from 'react';\n\n// PACKAGES\nimport { useLocation } from 'react-router';\n\n// COMPONENTS\nimport ErrorMessage from '../../components/ErrorMessage';\n\ninterface ProfileErrorTypes {}\n\nconst ProfileError: React.FC = ({}) => {\n\tconst location = useLocation();\n\tconst error = location.state.error;\n\n\treturn (\n\t\t
    \n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default ProfileError;\n","var _g, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgChecklist(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _g || (_g = /*#__PURE__*/React.createElement(\"g\", {\n clipPath: \"url(#clip0_6262_98311)\"\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: \"M24.1061 10.2456H13.9853C13.1876 10.2533 12.4255 10.5802 11.8659 11.1547C11.3063 11.7292 10.995 12.5044 11.0001 13.3105V67.9526C10.9963 68.3526 11.0705 68.7493 11.2185 69.1203C11.3664 69.4913 11.5853 69.8291 11.8625 70.1147C12.1397 70.4002 12.4698 70.6277 12.8341 70.7843C13.1983 70.9409 13.5895 71.0234 13.9853 71.0272H58.089C58.4849 71.0234 58.8761 70.9409 59.2403 70.7843C59.6045 70.6277 59.9347 70.4002 60.2119 70.1147C60.4891 69.8291 60.7079 69.4913 60.8559 69.1203C61.0038 68.7493 61.078 68.3526 61.0742 67.9526V13.3105C61.0794 12.5044 60.768 11.7292 60.2085 11.1547C59.6489 10.5802 58.8867 10.2533 58.089 10.2456H47.1401\",\n stroke: \"url(#paint0_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M40.4956 6.11997C40.5221 5.94924 40.5381 5.77702 40.5437 5.6043C40.5437 4.39663 40.0689 3.23842 39.2238 2.38447C38.3786 1.53053 37.2323 1.05078 36.0371 1.05078C34.8418 1.05078 33.6955 1.53053 32.8504 2.38447C32.0052 3.23842 31.5304 4.39663 31.5304 5.6043C31.536 5.77702 31.5521 5.94924 31.5785 6.11997H24.0193V15.3924H48.0934V6.11997H40.4956Z\",\n stroke: \"url(#paint1_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M16.0942 10.2456V71.0272\",\n stroke: \"url(#paint2_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M56.1533 10.2456V71.0272\",\n stroke: \"url(#paint3_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M24.4431 58.3395L26.1476 60.1005L29.3831 56.3838\",\n stroke: \"url(#paint4_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M24.4431 42.8888L26.1476 44.6499L29.3831 40.9331\",\n stroke: \"url(#paint5_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M24.4431 27.4376L26.1476 29.189L29.3831 25.4819\",\n stroke: \"url(#paint6_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M37.1252 23.6333H49.326\",\n stroke: \"url(#paint7_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M37.1252 28.79H45.4549\",\n stroke: \"url(#paint8_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M37.1252 40.1255H49.326\",\n stroke: \"url(#paint9_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M37.1252 45.2725H45.4549\",\n stroke: \"url(#paint10_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M37.1252 55.5762H49.326\",\n stroke: \"url(#paint11_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M37.1252 60.7231H45.4549\",\n stroke: \"url(#paint12_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M33.1193 21.5806H21.1016V32.9157H33.1193V21.5806Z\",\n stroke: \"url(#paint13_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M33.1193 37.0312H21.1016V48.3664H33.1193V37.0312Z\",\n stroke: \"url(#paint14_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }), /*#__PURE__*/React.createElement(\"path\", {\n d: \"M33.1193 52.4819H21.1016V63.8171H33.1193V52.4819Z\",\n stroke: \"url(#paint15_linear_6262_98311)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n }))), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_6262_98311\",\n x1: 18.1974,\n y1: 12.8568,\n x2: 53.9307,\n y2: 46.3888,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint1_linear_6262_98311\",\n x1: 27.4795,\n y1: 1.66691,\n x2: 34.4186,\n y2: 14.9346,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint2_linear_6262_98311\",\n x1: 16.238,\n y1: 12.8568,\n x2: 17.5795,\n y2: 12.882,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint3_linear_6262_98311\",\n x1: 56.2971,\n y1: 12.8568,\n x2: 57.6386,\n y2: 12.882,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint4_linear_6262_98311\",\n x1: 25.1532,\n y1: 56.5435,\n x2: 27.167,\n y2: 59.5922,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint5_linear_6262_98311\",\n x1: 25.1532,\n y1: 41.0928,\n x2: 27.167,\n y2: 44.1416,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint6_linear_6262_98311\",\n x1: 25.1532,\n y1: 25.6412,\n x2: 27.1596,\n y2: 28.6868,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint7_linear_6262_98311\",\n x1: 38.8789,\n y1: 23.6763,\n x2: 38.9632,\n y2: 24.8484,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint8_linear_6262_98311\",\n x1: 38.3225,\n y1: 28.833,\n x2: 38.4453,\n y2: 29.9982,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint9_linear_6262_98311\",\n x1: 38.8789,\n y1: 40.1684,\n x2: 38.9632,\n y2: 41.3406,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint10_linear_6262_98311\",\n x1: 38.3225,\n y1: 45.3154,\n x2: 38.4453,\n y2: 46.4806,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint11_linear_6262_98311\",\n x1: 38.8789,\n y1: 55.6191,\n x2: 38.9632,\n y2: 56.7912,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint12_linear_6262_98311\",\n x1: 38.3225,\n y1: 60.7661,\n x2: 38.4453,\n y2: 61.9313,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint13_linear_6262_98311\",\n x1: 22.8289,\n y1: 22.0675,\n x2: 29.3892,\n y2: 29.99,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint14_linear_6262_98311\",\n x1: 22.8289,\n y1: 37.5182,\n x2: 29.3892,\n y2: 45.4407,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint15_linear_6262_98311\",\n x1: 22.8289,\n y1: 52.9689,\n x2: 29.3892,\n y2: 60.8914,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"clipPath\", {\n id: \"clip0_6262_98311\"\n }, /*#__PURE__*/React.createElement(\"rect\", {\n width: 72,\n height: 72,\n fill: \"white\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgChecklist);\nexport default __webpack_public_path__ + \"static/media/checklist.57abc7a9.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// PACKAGES\nimport { useHistory } from 'react-router';\n\n// COMPONENTS\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as TickSuccessIcon } from '../../assets/svg/tick-purple.svg';\n\ninterface LinkSuccessTypes {}\n\nconst LinkSuccess: React.FC = ({}) => {\n\tconst history = useHistory();\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\n\t\t\t\t

    Your selection is complete

    \n\n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t);\n};\n\nexport default LinkSuccess;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { queryStringToObject, validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport LoginCreateModal from '../Login/LoginCreateModal';\nimport GlobalModal from '../../components/GlobalModal';\n\n// ICONS\nimport Button from '../../components/Button';\n\n// TYPES\nimport { IncidentArchiveLinkRequestRequestDetails, IncidentArchiveLinkIncidentCommand } from '../../api/models';\n\ninterface IncidentReportLinkingTypes {}\n\nconst IncidentReportLinking: React.FC = ({}) => {\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState();\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst isLoggedIn = useAppSelector((state) => state.user.loggedIn);\n\n\tconst dispatch = useAppDispatch();\n\n\tconst history = useHistory();\n\n\tconst [mounted, setMounted] = React.useState(false);\n\n\t// State to control Modal\n\tconst [modalIsOpen, setModalIsOpen] = React.useState(false);\n\n\t// State for Selected Plan Id\n\tconst [selectedPlanId, setSelectedPlanId] = React.useState();\n\n\t//Get incidentRecipientId from params\n\tconst queryParams = queryStringToObject();\n\n\tconst recipientId = queryParams.incidentRecipientId || '';\n\n\tconst returnUrl = `/incident-invite?incidentRecipientId=${recipientId}`;\n\n\tconst previousUrl = returnUrl;\n\n\t//Set IncidentLinkData\n\tconst initialIncidentLinkData: IncidentArchiveLinkRequestRequestDetails = {\n\t\torganisationId: undefined,\n\t\torganisationIdentifier: undefined,\n\t\torganisation: undefined,\n\t\torganisationImage: undefined,\n\t\tisAuthenticated: undefined,\n\t\tisMemberOfOrganisation: undefined,\n\t\tswitchProfileId: undefined,\n\t\tincidentId: undefined,\n\t\tisAssigned: undefined\n\t};\n\tconst [incidentLinkingData, setIncidentLinkingData] =\n\t\tReact.useState(initialIncidentLinkData);\n\n\tconst getLinkRequestDetails = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getIncidentLinkRequest(recipientId);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetIncidentLinkingData(response.result);\n\n\t\t\tif (response.result.isAssigned === true && response.result.incidentId) {\n\t\t\t\thistory.push(`/incident-reports/${response.result.incidentId}`);\n\t\t\t} else if (response.result.isAuthenticated && response.result.isMemberOfOrganisation) {\n\t\t\t\tdoSwitchProfile(response.result.switchProfileId);\n\t\t\t}\n\t\t}\n\t};\n\n\t//Get current active profile\n\tconst isActiveOrganisation = useAppSelector((state) => state.user.activeProfileId);\n\n\tconst doSwitchProfile = async (switchProfileId: string) => {\n\t\tsetIsLoading(true);\n\n\t\tif (isActiveOrganisation === switchProfileId) {\n\t\t\tsetIsLoading(false);\n\n\t\t\treturn;\n\t\t} else {\n\t\t\tconst response = await apibridge.doSwitchOrganisation(switchProfileId);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tdispatch(UserSlice.actions.forceUpdate({}));\n\t\t\t}\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (recipientId) {\n\t\t\tgetLinkRequestDetails();\n\t\t}\n\n\t\tsetMounted(true);\n\n\t\tsetIsLoading(false);\n\t}, []);\n\n\t//Submit report\n\n\tconst submitReport = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: IncidentArchiveLinkIncidentCommand = {\n\t\t\trecipientId: recipientId.toLowerCase()\n\t\t};\n\n\t\tconst response = await apibridge.postIncidentLinkIncident(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/incident-reports');\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t

    {incidentLinkingData.organisation} has shared an incident report with you

    \n\n\t\t\t\t\t\t\t\t\t\t{!incidentLinkingData.isAuthenticated && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetModalIsOpen(!modalIsOpen);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-primary full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tLog in or Sign up to view\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{incidentLinkingData.isAuthenticated && incidentLinkingData.isMemberOfOrganisation && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsubmitReport();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-primary full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tAdd report to my account and view\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{incidentLinkingData.isAuthenticated && !incidentLinkingData.isMemberOfOrganisation && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\thistory.push(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`/find-organisation?id=${incidentLinkingData.organisationIdentifier}&name=${incidentLinkingData.organisation}`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-primary full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tJoin organisation\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default IncidentReportLinking;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useLocation, useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport LoginModal from '../../pages/Login/LoginModal';\n\n// TYPES\ninterface AttachmentType {}\n\nexport const Attachment: React.FC = ({}) => {\n\tconst history = useHistory();\n\n\t// Check if User is Logged in\n\tconst loggedIn = useAppSelector((state) => state.user.loggedIn);\n\n\t// Get Id from search Param\n\tconst { search } = useLocation();\n\tconst Id = new URLSearchParams(search).get('Id');\n\n\t// Build Redirect Url based on if User is logged in or not\n\tconst loggedInRedirectUrl = `/api/incident/asset?Id=${Id}`;\n\n\tconst notLoggedInRedirectUrl = `/attachment/api/incident/asset?Id=${Id}`;\n\n\tif (loggedIn) {\n\t\twindow.location.href = loggedInRedirectUrl;\n\n\t\thistory.push('/dashboard');\n\t}\n\n\treturn ;\n};\n\nexport default Attachment;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString, formatToCurrency, queryStringToObject } from '../../utils';\n\n// COMPONENTS\nimport Button from '../../components/Button';\n\n// ICONS\nimport { ReactComponent as ArrowLeft } from '../../assets/svg/arrow-left.svg';\nimport { ReactComponent as TickCircle } from '../../assets/svg/tick-circle.svg';\n\n// TYPES\nimport {\n\tDomainPaymentCycle,\n\tOrganisationPaymentInfoPaymentData,\n\tOrganisationPaymentInfoPaymentItem,\n\tOrganisationRegistrationCommand\n} from '../../api/models';\nimport { useHistory } from 'react-router-dom';\n\ninterface RegisterOrganisationSummaryTypes {\n\t// showView: (type: string) => void;\n\t// organisationDetails: OrganisationRegistrationCommand;\n\t// setOrganisationDetails: React.Dispatch>;\n\t// summaryErrorMessage: string;\n\t// setSummaryErrorMessage: React.Dispatch>;\n\t// doRegister: (values: OrganisationRegistrationCommand) => Promise;\n\t// planName: string;\n\t// planIcon: string;\n}\n\nexport const RegisterOrganisationSummary: React.FC = (\n\t{\n\t\t// showView,\n\t\t// organisationDetails,\n\t\t// setOrganisationDetails,\n\t\t// summaryErrorMessage,\n\t\t// setSummaryErrorMessage,\n\t\t// doRegister,\n\t\t// planName,\n\t\t// planIcon\n\t}\n) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst [updatedOrganisationDetails, setUpdatedOrganisationDetails] =\n\t\tReact.useState();\n\n\tconst [monthlyAmount, setMonthlyAmount] = React.useState('');\n\tconst [annualAmount, setAnnualAmount] = React.useState('');\n\tconst [paymentCycle, setPaymentCycle] = React.useState('Monthly');\n\n\tconst history = useHistory();\n\n\tconst queryParams = queryStringToObject();\n\tconst organisationId = queryParams.id;\n\n\tconst goBack = () => {\n\t\thistory.push(`/register-organisation?id=${organisationId}`);\n\t};\n\n\tconst getOrganisationDetails = async () => {\n\t\tsetIsLoading(true);\n\t\tconst response = await apibridge.getOrganisationPaymentinfo(organisationId);\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetUpdatedOrganisationDetails(response.result);\n\n\t\t\tresponse.result.payments.forEach((info: OrganisationPaymentInfoPaymentItem) => {\n\t\t\t\tif (info.paymentCycle === paymentCycle && info.monthlyAmount !== undefined && info.annualAmount !== undefined) {\n\t\t\t\t\tsetMonthlyAmount('$' + formatToCurrency(info.monthlyAmount));\n\n\t\t\t\t\tsetAnnualAmount('$' + formatToCurrency(info.annualAmount));\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetOrganisationDetails();\n\t}, []);\n\n\tconst getPaymentUrl = async (organisationId: string) => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.doRegisterOrganisationPayment(organisationId);\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\twindow.location.href = response.result.url;\n\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tconst updatePaymentCycle = (e: React.ChangeEvent) => {\n\t\tif (e.target.value === 'Monthly' || e.target.value === 'Annually') {\n\t\t\tconst cycle = e.target.value;\n\n\t\t\tsetPaymentCycle(cycle);\n\t\t}\n\t};\n\n\tconst updateAmount = () => {\n\t\tupdatedOrganisationDetails &&\n\t\t\tupdatedOrganisationDetails.payments &&\n\t\t\tupdatedOrganisationDetails.payments.forEach((info: OrganisationPaymentInfoPaymentItem) => {\n\t\t\t\tif (info.paymentCycle === paymentCycle && info.monthlyAmount !== undefined && info.annualAmount !== undefined) {\n\t\t\t\t\tsetMonthlyAmount('$' + formatToCurrency(info.monthlyAmount));\n\n\t\t\t\t\tsetAnnualAmount('$' + formatToCurrency(info.annualAmount));\n\t\t\t\t}\n\t\t\t});\n\t};\n\n\tReact.useEffect(() => {\n\t\tupdateAmount();\n\t}, [paymentCycle]);\n\n\tconst doOrganisationRegistrationPayment = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.postOrganisationPaymentInfo({\n\t\t\tid: organisationId,\n\t\t\tpaymentCycle: paymentCycle as DomainPaymentCycle\n\t\t});\n\n\t\tresponse.result = response.result || [];\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else if (response.result) {\n\t\t\tgetPaymentUrl(organisationId);\n\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t goBack()}\n\t\t\t\tbuttonIcon={}\n\t\t\t>\n\t\t\t\tBack\n\t\t\t\n\n\t\t\t
    \n\t\t\t\t

    Register an organisation

    \n\n\t\t\t\t

    Let's go through the payment plan

    \n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\tHere is your payment plan based on a{' '}\n\t\t\t\t\t\n\t\t\t\t\t\t{updatedOrganisationDetails && updatedOrganisationDetails.paymentPlanName} plan with{' '}\n\t\t\t\t\t\t{updatedOrganisationDetails && updatedOrganisationDetails.numberOfChildren} children\n\t\t\t\t\t\n\t\t\t\t

    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t Assists compliance with the Child Safe Standards\n\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t Equips leaders to build a child safe culture\n\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t Comprehensive onboarding of staff, volunteers and visitors\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t Upskills staff to identify and manage risk\n\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t Educates and empowers parents and children\n\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t Up to date training and resources developed by industry experts\n\t\t\t\t\t\t\t
    • \n\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t Safe and secure records management\n\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t\t
    \n\t\t\t\t\t\t{updatedOrganisationDetails && updatedOrganisationDetails.icon && (\n\t\t\t\t\t\t\t\"icon\"\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t

    {updatedOrganisationDetails && updatedOrganisationDetails.paymentPlanName} Plan

    \n\n\t\t\t\t\t\t{paymentCycle !== 'Monthly' ? (\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t{annualAmount} /year ({monthlyAmount}/month)*\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t{monthlyAmount} /month ({annualAmount}/year)*\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    *Prices above are not inclusive of GST or any other taxes.
    \n\t\t\t\t\t
    \n\t\t\t\t
    {' '}\n\t\t\t
    \n\n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t);\n};\n\nexport default RegisterOrganisationSummary;\n","var _path, _path2, _path3, _path4, _path5, _path6, _path7, _path8, _path9, _path10, _path11, _defs;\n\nvar _excluded = [\"title\", \"titleId\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport * as React from \"react\";\n\nfunction SvgTwoFa(_ref, svgRef) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 72,\n height: 72,\n viewBox: \"0 0 72 72\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2 30.5V69.5H69.63V30.5L35.5 1.64L2 30.5Z\",\n stroke: \"url(#paint0_linear_6539_98274)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2 30.5L24.58 49.74\",\n stroke: \"url(#paint1_linear_6539_98274)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path3 || (_path3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M69.58 30.5L47 49.74\",\n stroke: \"url(#paint2_linear_6539_98274)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path4 || (_path4 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M57.5 40V12H13.5V40\",\n fill: \"white\"\n })), _path5 || (_path5 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M57.5 40V12H13.5V40\",\n stroke: \"url(#paint3_linear_6539_98274)\",\n strokeWidth: 2,\n strokeLinejoin: \"round\"\n })), _path6 || (_path6 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M57 26C63.9036 26 69.5 20.4036 69.5 13.5C69.5 6.59644 63.9036 1 57 1C50.0964 1 44.5 6.59644 44.5 13.5C44.5 20.4036 50.0964 26 57 26Z\",\n fill: \"white\"\n })), _path7 || (_path7 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M26 31C27.6569 31 29 29.6569 29 28C29 26.3431 27.6569 25 26 25C24.3431 25 23 26.3431 23 28C23 29.6569 24.3431 31 26 31Z\",\n fill: \"url(#paint4_linear_6539_98274)\"\n })), _path8 || (_path8 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M36 31C37.6569 31 39 29.6569 39 28C39 26.3431 37.6569 25 36 25C34.3431 25 33 26.3431 33 28C33 29.6569 34.3431 31 36 31Z\",\n fill: \"url(#paint5_linear_6539_98274)\"\n })), _path9 || (_path9 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M46 31C47.6569 31 49 29.6569 49 28C49 26.3431 47.6569 25 46 25C44.3431 25 43 26.3431 43 28C43 29.6569 44.3431 31 46 31Z\",\n fill: \"url(#paint6_linear_6539_98274)\"\n })), _path10 || (_path10 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M2 69.5L35.82 39.9L69.63 69.5\",\n stroke: \"url(#paint7_linear_6539_98274)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _path11 || (_path11 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M57 15.6667V17.4444M51.75 21H62.25C63.2165 21 64 20.2041 64 19.2222V13.8889C64 12.907 63.2165 12.1111 62.25 12.1111H51.75C50.7835 12.1111 50 12.907 50 13.8889V19.2222C50 20.2041 50.7835 21 51.75 21ZM60.5 12.1111V8.55556C60.5 6.59188 58.933 5 57 5C55.067 5 53.5 6.59188 53.5 8.55556V12.1111H60.5Z\",\n stroke: \"url(#paint8_linear_6539_98274)\",\n strokeWidth: 2,\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\"\n })), _defs || (_defs = /*#__PURE__*/React.createElement(\"defs\", null, /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint0_linear_6539_98274\",\n x1: 11.7207,\n y1: 4.5553,\n x2: 51.3769,\n y2: 49.5725,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint1_linear_6539_98274\",\n x1: 5.24551,\n y1: 31.3266,\n x2: 16.1183,\n y2: 45.8611,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint2_linear_6539_98274\",\n x1: 50.2455,\n y1: 31.3266,\n x2: 61.1183,\n y2: 45.8611,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint3_linear_6539_98274\",\n x1: 19.8243,\n y1: 13.2029,\n x2: 33.8704,\n y2: 38.3445,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint4_linear_6539_98274\",\n x1: 23.8624,\n y1: 25.2578,\n x2: 27.3672,\n y2: 29.2499,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint5_linear_6539_98274\",\n x1: 33.8624,\n y1: 25.2578,\n x2: 37.3672,\n y2: 29.2499,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint6_linear_6539_98274\",\n x1: 43.8624,\n y1: 25.2578,\n x2: 47.3672,\n y2: 29.2499,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint7_linear_6539_98274\",\n x1: 11.7207,\n y1: 41.1716,\n x2: 23.397,\n y2: 71.559,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })), /*#__PURE__*/React.createElement(\"linearGradient\", {\n id: \"paint8_linear_6539_98274\",\n x1: 52.0123,\n y1: 5.68737,\n x2: 61.4376,\n y2: 15.0813,\n gradientUnits: \"userSpaceOnUse\"\n }, /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.1092,\n stopColor: \"#9B01B3\"\n }), /*#__PURE__*/React.createElement(\"stop\", {\n offset: 0.9139,\n stopColor: \"#D6248E\"\n })))));\n}\n\nvar ForwardRef = /*#__PURE__*/React.forwardRef(SvgTwoFa);\nexport default __webpack_public_path__ + \"static/media/twoFA.e1fe4b1c.svg\";\nexport { ForwardRef as ReactComponent };","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useLocation } from 'react-router';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport Button from '../../components/Button';\nimport OrganisationLogo from '../../components/OrganisationLogo';\n\n// ICONS\nimport { ReactComponent as ChecklistIcon } from '../../assets/svg/checklist.svg';\n\n// TYPES\nimport { AccountParentVerificationCommand } from '../../api/models';\n\ninterface ParentConfirmTypes {}\n\nconst ParentConfirm: React.FC = ({}) => {\n\t// Get Website Url from Redux store\n\tconst websiteUrl = useAppSelector((state) => state.lists.websiteUrl);\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Confirm State on initial load\n\tconst [isTermsConfirmed, setIsTermsConfirmed] = React.useState(false);\n\tconst [isPolicyConfirmed, setIsPolicyConfirmed] = React.useState(false);\n\n\t// Parent Verification State\n\tconst [isVerificationDone, setIsVerificationDone] = React.useState(false);\n\n\t// Get token, email and organisationIdentifier from query string\n\tconst { search } = useLocation();\n\tconst token = new URLSearchParams(search).get('token');\n\tconst email = new URLSearchParams(search).get('email');\n\tconst organisationIdentifier = new URLSearchParams(search).get('organisationIdentifier');\n\n\t// State to store logo\n\tconst [organisationLogo, setOrganisationLogo] = React.useState('');\n\n\t// Get the Parent Verification Status on page load\n\tconst getParentVerificationStatus = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getParentVerificationStatus(\n\t\t\ttoken || '',\n\t\t\temail || '',\n\t\t\torganisationIdentifier || ''\n\t\t);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsVerificationDone(response.result.isVerified);\n\n\t\t\tsetOrganisationLogo(response.result.organisationLogo);\n\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetParentVerificationStatus();\n\t}, []);\n\n\t// On Submit\n\tconst sendParentVerification = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: AccountParentVerificationCommand = {\n\t\t\ttoken: token || '',\n\t\t\temail: email || '',\n\t\t\torganisationIdentifier: organisationIdentifier || ''\n\t\t};\n\n\t\tconst response = await apibridge.sendParentVerification(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsTermsConfirmed(true);\n\n\t\t\tsetIsPolicyConfirmed(true);\n\n\t\t\tsetIsLoading(false);\n\t\t}\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\tconfirmTermsInput: Yup.bool().required('Required').oneOf([true], 'You must agree to continue'),\n\t\tconfirmPolicyInput: Yup.bool().required('Required').oneOf([true], 'You must agree to continue')\n\t});\n\n\tconst initialValues = {\n\t\tconfirmTermsInput: isTermsConfirmed,\n\t\tconfirmPolicyInput: isPolicyConfirmed\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t{!!formErrorMessage ? (\n\t\t\t\t\t\t\t
    {formErrorMessage}
    \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t{isTermsConfirmed === false || isPolicyConfirmed === false ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Supervision agreement requested

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tPlease review and accept the following to continue\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Thank you

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tThank you – Your agreement for your child to create a ChildAware account has been\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treceived. Your child will now receive an email to finalise their account creation and\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twill then be able to access their organisation’s child safety information through\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tChildAware.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default ParentConfirm;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { loadScriptByURL, queryStringToObject, SITE_KEY, validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { ErrorMessage, Field, Form, Formik } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory, useLocation } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// SVG\nimport { ReactComponent as Twofa } from '../../assets/svg/twoFA.svg';\n\n// TYPES\nimport { AuthenticationValidateTwoFactorCommand } from '../../api/models';\n\ninterface twoFactorAuthenticationTypes {}\n\nconst TwoFactorAuthentication: React.FC = ({}) => {\n\tconst dispatch = useAppDispatch();\n\tconst location = useLocation();\n\n\tconst [isLoading, setLoading] = React.useState(true);\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tlet history = useHistory();\n\tconst [params, setParams] = React.useState<{ [key: string]: any }>();\n\n\tconst initialValues = {\n\t\ttoken: ''\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\ttoken: Yup.string().required('Required')\n\t});\n\n\tconst checkLocationParams = () => {\n\t\tconst locationParams = location.state;\n\n\t\tconst queryParams = queryStringToObject();\n\n\t\tsetParams({ ...locationParams, ...queryParams });\n\t};\n\n\tReact.useEffect(() => {\n\t\t// load google reCAPTCHA script\n\t\tloadScriptByURL('recaptcha-key', function () {});\n\t\tcheckLocationParams();\n\t\tsetLoading(false);\n\t}, []);\n\n\tconst login = async (values: AuthenticationValidateTwoFactorCommand, captchaToken: string) => {\n\t\tsetLoading(true);\n\n\t\tif (params) {\n\t\t\tconst response = await apibridge.postAuthenticationValidateTwoFactor({\n\t\t\t\temailToken: params.token,\n\t\t\t\ttoken: values.token,\n\t\t\t\tcaptchaToken: captchaToken\n\t\t\t});\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length ? validationErrorsToString(response.validationErrors) : response.message\n\t\t\t\t);\n\n\t\t\t\tsetLoading(false);\n\t\t\t} else if (response.result) {\n\t\t\t\tsetLoading(false);\n\n\t\t\t\tdispatch(\n\t\t\t\t\tUserSlice.actions.update({\n\t\t\t\t\t\tchildAwareId: response.result.childAwareId,\n\t\t\t\t\t\temail: response.result.email,\n\t\t\t\t\t\tfirstName: response.result.firstName,\n\t\t\t\t\t\tlastName: response.result.lastName,\n\t\t\t\t\t\tloggedIn: true\n\t\t\t\t\t})\n\t\t\t\t);\n\n\t\t\t\thistory.push({\n\t\t\t\t\tpathname: params.returnUrl ? params.returnUrl.split('?')[0] : '/dashboard',\n\t\t\t\t\tsearch: params.returnUrl ? params.returnUrl.split('?')[1] : '/dashboard',\n\t\t\t\t\tstate: {\n\t\t\t\t\t\torganisationIdentifier: params.organisationIdentifier,\n\t\t\t\t\t\tpaymentPlanId: params.paymentPlanId,\n\t\t\t\t\t\tprofileType: params.profileType\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tsetLoading(false);\n\t\t}\n\t};\n\n\tconst doLogin = async (values: AuthenticationValidateTwoFactorCommand) => {\n\t\tawait window.grecaptcha.ready(() => {\n\t\t\twindow.grecaptcha.execute(SITE_KEY, { action: 'submit' }).then((token: string) => {\n\t\t\t\tlogin(values, token);\n\t\t\t});\n\t\t});\n\t};\n\n\tconst reSendCode = async (captchaToken: string) => {\n\t\tsetLoading(true);\n\n\t\tif (params) {\n\t\t\tconst response = await apibridge.postAuthenticationResendTwoFactorToken({\n\t\t\t\temailToken: params.token,\n\t\t\t\tcaptchaToken: captchaToken\n\t\t\t});\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length ? validationErrorsToString(response.validationErrors) : response.message\n\t\t\t\t);\n\n\t\t\t\tsetLoading(false);\n\t\t\t} else if (response.result) {\n\t\t\t\tsetLoading(false);\n\t\t\t}\n\t\t}\n\n\t\tsetLoading(false);\n\t};\n\n\tconst resend = async () => {\n\t\tawait window.grecaptcha.ready(() => {\n\t\t\twindow.grecaptcha.execute(SITE_KEY, { action: 'submit' }).then((token: string) => {\n\t\t\t\treSendCode(token);\n\t\t\t});\n\t\t});\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Login code required

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAn authentication code has been sent to{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{params && params.username ? params.username : ''}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tI didn’t receive a code,{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{!!formErrorMessage &&
    {formErrorMessage}
    }\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t
    \n\t\t\t\t\t)}\n\t\t\t\t
    \n\t\t\t
    \n\t\t
    \n\t);\n};\n\nexport default TwoFactorAuthentication;\n","import * as React from 'react';\n\n// COMPONENTS\nimport Button from '../../components/Button';\n\n// PACKAGES;\nimport ReactPlayer from 'react-player';\n\n//TYPES\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface VideoModalTypes {\n\tvideoEmbedCode?: string;\n\tcloseModal?: closeModalType;\n}\n\nconst VideoModal: React.FC = ({ videoEmbedCode, closeModal }) => {\n\treturn (\n\t\t
    \n\t\t\t\n\n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t);\n};\n\nexport default VideoModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../components/GlobalModal';\n\ninterface RemoveModalTypes {\n\ttrainingId: string;\n\ttrainingTitle: string;\n\tcloseModal?: closeModalType;\n}\n\nconst RemoveModal: React.FC = ({ trainingId, trainingTitle, closeModal }) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmRemove = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.deleteOrganisationNewTrainingModule({\n\t\t\tid: trainingId\n\t\t});\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tif (closeModal) {\n\t\t\t\tcloseModal();\n\t\t\t}\n\n\t\t\thistory.push('/training');\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAre you sure you wish to delete the '{trainingTitle}' training module?\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tAll information will be lost and currently assigned modules will be detached from all users within the\n\t\t\t\t\t\t\t\t\torganisation.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default RemoveModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { useHistory, useParams } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport GlobalModal from '../../components/GlobalModal';\nimport VideoModal from './VideoModal';\nimport FormCheckBox from '../../components/FormCheckBox';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport RemoveModal from './RemoveModal';\n\n// ICONS\nimport { ReactComponent as NoteIcon } from '../../assets/svg/note-icon.svg';\n\n// TYPES\nimport { TrainingEditModuleCommand } from '../../api/models';\nimport { RouteParams } from '../../Interfaces';\n\nconst TrainingSubmit: React.FC = ({}) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// Getting the route id\n\tconst params = useParams();\n\n\t// Get all Standards from Redux store\n\tconst childSafeStandards = useAppSelector((state) => state.lists.childSafeStandards);\n\n\t// Set up data state and initial data\n\tconst initialData: TrainingEditModuleCommand = {\n\t\tid: undefined,\n\t\torder: undefined,\n\t\ttitle: undefined,\n\t\tsubtitle: undefined,\n\t\toverview: undefined,\n\t\tvideoEmbedCode: undefined,\n\t\tselectedChildSafeStandards: []\n\t};\n\n\tconst [moduleData, setModuledata] = React.useState(initialData);\n\n\t// State to control Modal\n\tconst [showVideoModal, setShowVideoModal] = React.useState(false);\n\n\tconst [showRemoveModal, setShowRemoveModal] = React.useState(false);\n\n\t// State to control confirm Declaration\n\tconst [confirmDeclaration, setConfirmDeclaration] = React.useState(false);\n\n\t// Function to Get training modules data from api call\n\tconst getTrainingModulesDetailData = async () => {\n\t\tif (params.id) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.getOrganisationNewTrainingModule(params.id);\n\n\t\t\tresponse.result = response.result || initialData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetModuledata(response.result);\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetModuledata(initialData);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tgetTrainingModulesDetailData();\n\t}, []);\n\n\tconst onSubmit = async (values: any) => {\n\t\tsetIsLoading(true);\n\n\t\tconst trainingData: TrainingEditModuleCommand = {\n\t\t\tid: values.id,\n\t\t\torder: values.order,\n\t\t\ttitle: values.titleInput,\n\t\t\tsubtitle: values.subtitleInput,\n\t\t\toverview: values.overviewInput,\n\t\t\tvideoEmbedCode: values.videoEmbedCode,\n\t\t\tselectedChildSafeStandards: values.childSafetyStandardsInput\n\t\t};\n\n\t\tconst response = await apibridge.submitOrganisationNewTrainingModule(trainingData);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/training');\n\t\t}\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\ttitleInput: Yup.string().required('Required'),\n\t\tsubtitleInput: Yup.string().required('Required'),\n\t\toverviewInput: Yup.string().required('Required'),\n\t\tchildSafetyStandardsInput: Yup.array().min(1, 'Required')\n\t});\n\n\tconst initialValues = {\n\t\tid: moduleData.id || '',\n\t\ttitleInput: moduleData.title || '',\n\t\tsubtitleInput: moduleData.subtitle || '',\n\t\toverviewInput: moduleData.overview || '',\n\t\tvideoEmbedCode: moduleData.videoEmbedCode || '',\n\t\tchildSafetyStandardsInput: moduleData.selectedChildSafeStandards || []\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t{!!formErrorMessage ? (\n\t\t\t\t\t\t\t
    {formErrorMessage}
    \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tPlease carefully review any content prior to adding it to your ChildAware Portal\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t. ChildAware is not responsible whatsoever, in any way, for content that is uploaded by\n\t\t\t\t\t\t\t\t\t\t\t\t\tindividual users or organisations including for the accuracy, appropriateness or lawfulness of\n\t\t\t\t\t\t\t\t\t\t\t\t\tthe content.\n\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tSupported video formats from either Vimeo or YouTube only.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{formik.values.videoEmbedCode && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('childSafetyStandardsInput', vals)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t{params.id ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t
    \n\t);\n};\n\nexport default TrainingSubmit;\n","import * as React from 'react';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\nimport FormErrorMessage from '../../../components/ErrorMessage';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\nimport { IncidentFormTypes } from '../IncidentSubmit';\n\ninterface AddWitnessModalTypes {\n\tcloseModal?: closeModalType;\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n}\n\nconst AddWitnessModal: React.FC = ({ closeModal, incidentFormData, setIncidentFormData }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst initialValues = {\n\t\tname: '',\n\t\trole: '',\n\t\tphone: '',\n\t\temail: ''\n\t};\n\n\tconst phoneRegExp =\n\t\t/^(?:\\+?(61))? ?(?:\\((?=.*\\)))?(0?[2-57-8])\\)? ?(\\d\\d(?:[- ](?=\\d{3})|(?!\\d\\d[- ]?\\d[- ]))\\d\\d[- ]?\\d[- ]?\\d{3})$/;\n\n\tconst validationSchema = Yup.object({\n\t\tname: Yup.string().required('Required'),\n\t\trole: Yup.string().required('Required'),\n\t\tphone: Yup.string().matches(phoneRegExp, 'Phone number is not valid'),\n\t\temail: Yup.string().email('Please enter a valid email address')\n\t});\n\n\tconst submitHandler = (values: any) => {\n\t\tconst formData = {\n\t\t\tname: values.name as string,\n\t\t\trole: values.role as string,\n\t\t\tphone: values.phone as string,\n\t\t\temail: values.email as string\n\t\t};\n\n\t\tconst currentWitnesses = incidentFormData.witnesses || [];\n\n\t\tconst newWitnesses = [...currentWitnesses, formData];\n\n\t\tsetIncidentFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\twitnesses: newWitnesses\n\t\t}));\n\n\t\tif (closeModal) {\n\t\t\tcloseModal();\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\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\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default AddWitnessModal;\n","import * as React from 'react';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport DateTimeInput from '../../components/DateTimeInput';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport SingleSelect from '../../components/SingleSelect';\nimport GlobalModal from '../../components/GlobalModal';\nimport AddWitnessModal from './Modals/AddWitnessModal';\nimport DisplayPhoneNumber from '../../components/DisplayPhoneNumber';\nimport DateInput from '../../components/DateInput';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\nimport { ReactComponent as NoteIcon } from '../../assets/svg/note-icon.svg';\n\n// TYPES\nimport { IncidentFormTypes } from './IncidentSubmit';\nimport { GlobalLookupsuid } from '../../api/models';\n\ninterface StepOneTypes {\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n}\n\nconst StepOne: React.FC = ({ incidentFormData, setIncidentFormData, setActiveStep }) => {\n\tconst [specificationTypes, setSpecificationTypes] = React.useState([]);\n\n\t// Get all incident Types from Redux store\n\tconst incidentTypes = useAppSelector((state) => state.lists.incidentTypes);\n\tconst incidentSpecifications = useAppSelector((state) => state.lists.incidentSpecifications) || [];\n\n\t// State to manage Modal\n\tconst [showAddWitnessModal, setShowAddWitnessModal] = React.useState(false);\n\n\t// Creat all age Options for age field\n\tconst ageOptions: { label: string; value: string }[] = [];\n\n\t[...Array(18)].map((item, i) => {\n\t\tageOptions.push({ value: (i + 1).toLocaleString(), label: (i + 1).toLocaleString() });\n\t});\n\n\t// Submit function\n\tconst onSubmitStepOne = (values: any) => {\n\t\tsetActiveStep('step2');\n\n\t\twindow.scrollTo(0, 0);\n\n\t\tsetIncidentFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\tname: values.name,\n\t\t\tage: values.age,\n\t\t\tdateOfBirth: values.dateOfBirth,\n\t\t\ttitle: values.title,\n\t\t\toccurrence: values.occurrence,\n\t\t\ttype: values.type,\n\t\t\tspecification: values.specification,\n\t\t\tlocation: values.location,\n\t\t\tdescription: values.description,\n\t\t\twitness: values.witness,\n\t\t\twitnesses: values.witnesses\n\t\t}));\n\t};\n\n\tconst validationSchemaStepOne = Yup.object({\n\t\tname: Yup.string().required('Required'),\n\t\tage: Yup.string().required('Required'),\n\t\ttitle: Yup.string().required('Required'),\n\t\toccurrence: Yup.string().required('Required'),\n\t\ttype: Yup.string().required('Required'),\n\t\tspecification: Yup.string().required('Required'),\n\t\tlocation: Yup.string().required('Required'),\n\t\tdescription: Yup.string().required('Required'),\n\t\twitnesses: Yup.array().when('witness', {\n\t\t\tis: true,\n\t\t\tthen: Yup.array().min(1, 'Required')\n\t\t})\n\t});\n\n\tconst initialValuesStepOne = {\n\t\tname: incidentFormData.name || '',\n\t\tage: incidentFormData.age || '',\n\t\tdateOfBirth: incidentFormData.dateOfBirth || '',\n\t\ttitle: incidentFormData.title || '',\n\t\toccurrence: incidentFormData.occurrence || '',\n\t\ttype: incidentFormData.type || '',\n\t\tspecification: incidentFormData.specification || '',\n\t\tlocation: incidentFormData.location || '',\n\t\tdescription: incidentFormData.description || '',\n\t\twitness: incidentFormData.witness || false,\n\t\twitnesses: incidentFormData.witnesses || []\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\tReact.useEffect(() => {\n\t\t\t\t\tconst typeVal = formik.values.type;\n\n\t\t\t\t\tconst specificationFilter = incidentSpecifications.find((type) => type.value === typeVal)?.items || [];\n\n\t\t\t\t\tsetSpecificationTypes(specificationFilter);\n\t\t\t\t}, [formik.values.type]);\n\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t

    Electronic signature acknowledgement

    \n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tPlease note that at the end of this form you will be asked to sign the form with an Electronic\n\t\t\t\t\t\t\t\t\t\tSignature.\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tBy submitting this form you consent to the use of an Electronic Signature as the legal equivalent of\n\t\t\t\t\t\t\t\t\tyour handwritten signature.\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    Child's details

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('age', val)}\n\t\t\t\t\t\t\t\t\t\t\t\tplaceholder=\"\"\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('dateOfBirth', val)}\n\t\t\t\t\t\t\t\t\t\tshowDropdowns={true}\n\t\t\t\t\t\t\t\t\t\texcludeFuture={true}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    Details of incident, injury, trauma or illness

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t formik.setFieldValue('occurrence', val)}\n\t\t\t\t\t\t\t\t\t\texcludeFuture\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\tformik.setFieldValue('type', val);\n\n\t\t\t\t\t\t\t\t\t\t\tconst specificationFilter =\n\t\t\t\t\t\t\t\t\t\t\t\tincidentSpecifications.find((type) => type.value === val)?.items || [];\n\n\t\t\t\t\t\t\t\t\t\t\tsetSpecificationTypes(specificationFilter);\n\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{formik.values.type ? (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('specification', val)}\n\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tPlease include the address and a description of where on the premises the incident, injury, trauma\n\t\t\t\t\t\t\t\t\t\tor illness occurred.\n\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tPlease describe what occurred. What were the surrounding circumstances that led to the incident,\n\t\t\t\t\t\t\t\t\t\tinjury, trauma or illness, including any symptoms\n\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tPlease record the full name, contact details and role of all witnesses\n\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('witness', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('witness', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{formik.values.witness === true && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(props) => {\n\t\t\t\t\t\t\t\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { values } = form;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { witnesses } = values;\n\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{witnesses?.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twitnesses.map((item: any, index: number) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.email}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.phone}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tremove(index);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-text\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetIncidentFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tname: values.name,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tage: values.age,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttitle: values.title,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\toccurrence: values.occurrence,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype: values.type,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tspecification: values.specification,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlocation: values.location,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdescription: values.description,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twitness: values.witness,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twitnesses: values.witnesses\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}));\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAddWitnessModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"add-witness\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd a witness\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(error) =>
    {error}
    }\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default StepOne;\n","import * as React from 'react';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\nimport FormErrorMessage from '../../../components/ErrorMessage';\nimport DateTimeInput from '../../../components/DateTimeInput';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\nimport { IncidentFormTypes } from '../IncidentSubmit';\n\ninterface AddMedicationModalTypes {\n\tcloseModal?: closeModalType;\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n}\n\nconst AddMedicationModal: React.FC = ({\n\tcloseModal,\n\tincidentFormData,\n\tsetIncidentFormData\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst initialValues = {\n\t\tname: '',\n\t\tdosage: '',\n\t\tdateAndTime: '',\n\t\tpersonAdministered: '',\n\t\trole: ''\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\tname: Yup.string().required('Required'),\n\t\tdosage: Yup.string().required('Required'),\n\t\tdateAndTime: Yup.string().required('Required'),\n\t\tpersonAdministered: Yup.string().required('Required'),\n\t\trole: Yup.string().required('Required')\n\t});\n\n\tconst submitHandler = (values: any) => {\n\t\tconst formData = {\n\t\t\tname: values.name as string,\n\t\t\tdosage: values.dosage as string,\n\t\t\tdateAndTime: values.dateAndTime as string,\n\t\t\tpersonAdministered: values.personAdministered as string,\n\t\t\trole: values.role as string\n\t\t};\n\n\t\tconst currentMedication = incidentFormData.medication || [];\n\n\t\tconst newMedication = [...currentMedication, formData];\n\n\t\tsetIncidentFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\tmedication: newMedication\n\t\t}));\n\n\t\tif (closeModal) {\n\t\t\tcloseModal();\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{showError ? (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('dateAndTime', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\texcludeFuture\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default AddMedicationModal;\n","import * as React from 'react';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\nimport FormErrorMessage from '../../../components/ErrorMessage';\nimport DateTimeInput from '../../../components/DateTimeInput';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\nimport { IncidentFormTypes } from '../IncidentSubmit';\n\ninterface AddMedicalPersonnelModalTypes {\n\tcloseModal?: closeModalType;\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n}\n\nconst AddMedicalPersonnelModal: React.FC = ({\n\tcloseModal,\n\tincidentFormData,\n\tsetIncidentFormData\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst initialValues = {\n\t\tname: '',\n\t\trole: '',\n\t\tphoneOrEmail: '',\n\t\tdateAndTime: ''\n\t};\n\n\tconst validateEmail = (email: string | undefined) => {\n\t\treturn Yup.string().email().isValidSync(email);\n\t};\n\n\tconst phoneRegExp =\n\t\t/^(?:\\+?(61))? ?(?:\\((?=.*\\)))?(0?[2-57-8])\\)? ?(\\d\\d(?:[- ](?=\\d{3})|(?!\\d\\d[- ]?\\d[- ]))\\d\\d[- ]?\\d[- ]?\\d{3})$/;\n\n\tconst validatePhone = (phone: number | undefined) => {\n\t\treturn Yup.number()\n\t\t\t.integer()\n\t\t\t.positive()\n\t\t\t.test((phone) => {\n\t\t\t\treturn phone && phoneRegExp.test(phone.toString()) ? true : false;\n\t\t\t})\n\t\t\t.isValidSync(phone);\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\tname: Yup.string().required('Required'),\n\t\trole: Yup.string().required('Required'),\n\t\tphoneOrEmail: Yup.string()\n\t\t\t.required('Phone or email is required')\n\t\t\t.test('phoneOrEmail', 'Phone or email is invalid', (value) => {\n\t\t\t\treturn validateEmail(value) || validatePhone(parseInt(value ?? '0'));\n\t\t\t}),\n\t\tdateAndTime: Yup.string().required('Required')\n\t});\n\n\tconst submitHandler = (values: any) => {\n\t\tconst formData = {\n\t\t\tname: values.name as string,\n\t\t\trole: values.role as string,\n\t\t\tphoneOrEmail: values.phoneOrEmail as string,\n\t\t\tdateAndTime: values.dateAndTime as string\n\t\t};\n\n\t\tconst currentMedicalPersonnel = incidentFormData.medicalPersonnel || [];\n\n\t\tconst newMedicalPersonnel = [...currentMedicalPersonnel, formData];\n\n\t\tsetIncidentFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\tmedicalPersonnel: newMedicalPersonnel\n\t\t}));\n\n\t\tif (closeModal) {\n\t\t\tcloseModal();\n\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\t\t\t\t\t\t\t\t\t\t\t\t\texcludeFuture\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default AddMedicalPersonnelModal;\n","import * as React from 'react';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\nimport FormErrorMessage from '../../../components/ErrorMessage';\nimport DateTimeInput from '../../../components/DateTimeInput';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\nimport { IncidentFormTypes } from '../IncidentSubmit';\n\ninterface AddEmergencyServiceModalTypes {\n\tcloseModal?: closeModalType;\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n}\n\nconst AddEmergencyServiceModal: React.FC = ({\n\tcloseModal,\n\tincidentFormData,\n\tsetIncidentFormData\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst initialValues = {\n\t\tname: '',\n\t\tdateAndTime: '',\n\t\tattend: false,\n\t\tdateAndTimeAttended: ''\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\tname: Yup.string().required('Required'),\n\t\tdateAndTime: Yup.string().required('Required'),\n\t\tdateAndTimeAttended: Yup.string().when('attend', {\n\t\t\tis: true,\n\t\t\tthen: Yup.string().required('Required')\n\t\t})\n\t});\n\n\tconst submitHandler = (values: any) => {\n\t\tconst formData = {\n\t\t\tname: values.name as string,\n\t\t\tdateAndTime: values.dateAndTime as string,\n\t\t\tattend: values.attend as boolean,\n\t\t\tdateAndTimeAttended: values.dateAndTimeAttended as string\n\t\t};\n\n\t\tconst currentEmergencyServices = incidentFormData.emergencyServices || [];\n\n\t\tconst newEmergencyServices = [...currentEmergencyServices, formData];\n\n\t\tsetIncidentFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\temergencyServices: newEmergencyServices\n\t\t}));\n\n\t\tif (closeModal) {\n\t\t\tcloseModal();\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{showError ? (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('dateAndTime', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\texcludeFuture\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('attend', true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('attend', false)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t{formik.values.attend === true && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('dateAndTimeAttended', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\texcludeFuture\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default AddEmergencyServiceModal;\n","import * as React from 'react';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../components/Button';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport DateTimeInput from '../../components/DateTimeInput';\nimport GlobalModal from '../../components/GlobalModal';\nimport AddMedicationModal from './Modals/AddMedicationModal';\nimport AddMedicalPersonnelModal from './Modals/AddMedicalPersonnelModal';\nimport AddEmergencyServiceModal from './Modals/AddEmergencyServiceModal';\n\n// ICONS\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\n\n// TYPES\nimport { IncidentFormTypes } from './IncidentSubmit';\nimport { IncidentEditUser } from '../../api/models';\n\nexport interface StepTwoTypes {\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n}\n\nimport { IncidentRecipientsUser } from '../../api/models/incident-recipients-user';\n\nconst StepTwo: React.FC = ({ incidentFormData, setIncidentFormData, setActiveStep }) => {\n\t// State to manage Modal\n\tconst [showAddMedicationModal, setShowAddMedicationModal] = React.useState(false);\n\tconst [showAddMedicalPersonnelModal, setShowAddMedicalPersonnelModal] = React.useState(false);\n\tconst [showAddEmergencyServiceModal, setShowAddEmergencyServiceModal] = React.useState(false);\n\n\tconst initialValuesStepTwo = {\n\t\tfirstAidAdministered: incidentFormData.firstAidAdministered || false,\n\t\tfirstAid: incidentFormData.firstAid || '',\n\t\tmedicationAdministered: incidentFormData.medicationAdministered || false,\n\t\tmedication: incidentFormData.medication || [],\n\t\tmedicalPersonnelContacted: incidentFormData.medicalPersonnelContacted || false,\n\t\tmedicalPersonnel: incidentFormData.medicalPersonnel || [],\n\t\temergencyServiceContacted: incidentFormData.emergencyServiceContacted || false,\n\t\temergencyServices: incidentFormData.emergencyServices || [],\n\t\ttakenToHospital: incidentFormData.takenToHospital || false,\n\t\thospital: incidentFormData.hospital || '',\n\t\tdateAndTimeTakenToHospital: incidentFormData.dateAndTimeTakenToHospital || '',\n\t\tpersonTakenToHospital: incidentFormData.personTakenToHospital || '',\n\t\trelationshipToChild: incidentFormData.relationshipToChild || '',\n\t\totherActions: incidentFormData.otherActions || false,\n\t\totherActionsTaken: incidentFormData.otherActionsTaken || ''\n\t};\n\n\tconst validationSchemaStepTwo = Yup.object({\n\t\tfirstAid: Yup.string().when('firstAidAdministered', {\n\t\t\tis: true,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\tmedication: Yup.array().when('medicationAdministered', {\n\t\t\tis: true,\n\t\t\tthen: Yup.array().min(1, 'Required')\n\t\t}),\n\t\tmedicalPersonnel: Yup.array().when('medicalPersonnelContacted', {\n\t\t\tis: true,\n\t\t\tthen: Yup.array().min(1, 'Required')\n\t\t}),\n\t\temergencyServices: Yup.array().when('emergencyServiceContacted', {\n\t\t\tis: true,\n\t\t\tthen: Yup.array().min(1, 'Required')\n\t\t}),\n\t\t// hospital: Yup.string().when('takenToHospital', {\n\t\t// \tis: true,\n\t\t// \tthen: Yup.string().required('Required')\n\t\t// }),\n\t\tdateAndTimeTakenToHospital: Yup.string().when('takenToHospital', {\n\t\t\tis: true,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\tpersonTakenToHospital: Yup.string().when('takenToHospital', {\n\t\t\tis: true,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\trelationshipToChild: Yup.string().when('takenToHospital', {\n\t\t\tis: true,\n\t\t\tthen: Yup.string().required('Required')\n\t\t}),\n\t\totherActionsTaken: Yup.string().when('otherActions', {\n\t\t\tis: true,\n\t\t\tthen: Yup.string().required('Required')\n\t\t})\n\t});\n\n\t// SUBMIT LOGIC\n\tconst onSubmitStepTwo = (values: any) => {\n\t\tsetActiveStep('step3');\n\n\t\tsetIncidentFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\tfirstAidAdministered: values.firstAidAdministered,\n\t\t\tfirstAid: values.firstAid,\n\t\t\tmedicationAdministered: values.medicationAdministered,\n\t\t\tmedication: values.medication,\n\t\t\tmedicalPersonnelContacted: values.medicalPersonnelContacted,\n\t\t\tmedicalPersonnel: values.medicalPersonnel,\n\t\t\temergencyServiceContacted: values.emergencyServiceContacted,\n\t\t\temergencyServices: values.emergencyServices,\n\t\t\ttakenToHospital: values.takenToHospital,\n\t\t\thospital: values.hospital,\n\t\t\tdateAndTimeTakenToHospital: values.dateAndTimeTakenToHospital,\n\t\t\tpersonTakenToHospital: values.personTakenToHospital,\n\t\t\trelationshipToChild: values.relationshipToChild,\n\t\t\totherActions: values.otherActions,\n\t\t\totherActionsTaken: values.otherActionsTaken\n\t\t}));\n\n\t\twindow.scrollTo(0, 0);\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    First aid

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('firstAidAdministered', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('firstAidAdministered', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t{formik.values.firstAidAdministered === true && (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    Medication

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tPlease record the name of the medication, the dosage, who administered the medication and the date and\n\t\t\t\t\t\t\t\t\ttime of administration\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('medicationAdministered', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('medicationAdministered', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{formik.values.medicationAdministered === true && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(props) => {\n\t\t\t\t\t\t\t\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { values } = form;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { medication } = values;\n\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{medication?.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedication.map((item: any, index: number) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Dosage of {item.dosage}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    by {item.personAdministered}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tremove(index);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-text pd-0 \"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetIncidentFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfirstAidAdministered: values.firstAidAdministered,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfirstAid: values.firstAid,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicationAdministered: values.medicationAdministered,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedication: values.medication,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicalPersonnelContacted: values.medicalPersonnelContacted,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicalPersonnel: values.medicalPersonnel,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\temergencyServiceContacted: values.emergencyServiceContacted,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\temergencyServices: values.emergencyServices,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttakenToHospital: values.takenToHospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\thospital: values.hospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdateAndTimeTakenToHospital: values.dateAndTimeTakenToHospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpersonTakenToHospital: values.personTakenToHospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trelationshipToChild: values.relationshipToChild,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\totherActions: values.otherActions,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\totherActionsTaken: values.otherActionsTaken\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}));\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAddMedicationModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"add-witness mbtom-0\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd medication\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(error) =>
    {error}
    }\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t

    Medical personnel

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tPlease record the name and contact details of the medical personnel and the date and time they were\n\t\t\t\t\t\t\t\t\tcontacted\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('medicalPersonnelContacted', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('medicalPersonnelContacted', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{formik.values.medicalPersonnelContacted === true && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(props) => {\n\t\t\t\t\t\t\t\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { values } = form;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { medicalPersonnel } = values;\n\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{medicalPersonnel?.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicalPersonnel.map((item: any, index: number) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tremove(index);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-text pd-0\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.phoneOrEmail}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetIncidentFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfirstAidAdministered: values.firstAidAdministered,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfirstAid: values.firstAid,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicationAdministered: values.medicationAdministered,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedication: values.medication,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicalPersonnelContacted: values.medicalPersonnelContacted,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicalPersonnel: values.medicalPersonnel,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\temergencyServiceContacted: values.emergencyServiceContacted,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\temergencyServices: values.emergencyServices,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttakenToHospital: values.takenToHospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\thospital: values.hospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdateAndTimeTakenToHospital: values.dateAndTimeTakenToHospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpersonTakenToHospital: values.personTakenToHospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trelationshipToChild: values.relationshipToChild,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\totherActions: values.otherActions,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\totherActionsTaken: values.otherActionsTaken\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}));\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAddMedicalPersonnelModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"add-witness mbtom-0\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd medical personnel\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(error) =>
    {error}
    }\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t

    Emergency services

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tPlease record the date and time of contact and which emergency services were contacted\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('emergencyServiceContacted', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('emergencyServiceContacted', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{formik.values.emergencyServiceContacted === true && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(props) => {\n\t\t\t\t\t\t\t\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { values } = form;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { emergencyServices } = values;\n\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{emergencyServices?.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\temergencyServices.map((item: any, index: number) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tContacted {item.dateAndTime}{' '}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    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\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetIncidentFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfirstAidAdministered: values.firstAidAdministered,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfirstAid: values.firstAid,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicationAdministered: values.medicationAdministered,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedication: values.medication,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicalPersonnelContacted: values.medicalPersonnelContacted,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicalPersonnel: values.medicalPersonnel,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\temergencyServiceContacted: values.emergencyServiceContacted,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\temergencyServices: values.emergencyServices,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttakenToHospital: values.takenToHospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\thospital: values.hospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdateAndTimeTakenToHospital: values.dateAndTimeTakenToHospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpersonTakenToHospital: values.personTakenToHospital,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trelationshipToChild: values.relationshipToChild,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\totherActions: values.otherActions,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\totherActionsTaken: values.otherActionsTaken\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}));\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAddEmergencyServiceModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"add-witness mbtom-0\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd emergency service\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(error) =>
    {error}
    }\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t

    Hospital

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tPlease record the date and time the child was taken to hospital and which hospital\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('takenToHospital', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('takenToHospital', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{formik.values.takenToHospital === true && (\n\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('dateAndTimeTakenToHospital', val)}\n\t\t\t\t\t\t\t\t\t\t\t\texcludeFuture\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t

    Other actions taken

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('otherActions', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('otherActions', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{formik.values.otherActions === true && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default StepTwo;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { listenForOutsideClicks } from '../../utils';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\n\n// ICONS\nimport { ReactComponent as SeachIcon } from '../../assets/svg/search.svg';\n\n// TYPES\nexport interface SearchOtherRecipientsTypes {\n\tplaceholder?: string;\n\tonChange?: any;\n\tisFullWidth?: boolean;\n\tsetShowExistingMemberError: React.Dispatch>;\n}\n\nimport { IncidentRecipientsUser } from '../../api/models/incident-recipients-user';\n\nconst SearchOtherRecipients: React.FC = ({\n\tplaceholder = 'Search...',\n\tonChange,\n\tisFullWidth,\n\tsetShowExistingMemberError\n}) => {\n\tconst [query, setQuery] = React.useState('');\n\tconst [searchResults, setSearchResults] = React.useState([]);\n\tconst [hasError, setHasError] = React.useState(false);\n\tconst [isActive, setIsActive] = React.useState(false);\n\n\tconst searchData = async (name: string) => {\n\t\tconst response = await apibridge.searchOthersRecipients(name);\n\n\t\tif (response.result) {\n\t\t\tsetHasError(false);\n\n\t\t\tsetSearchResults(response.result);\n\t\t} else {\n\t\t\tsetHasError(true);\n\n\t\t\tsetSearchResults([]);\n\t\t}\n\t};\n\n\tconst onChangeHandler = (e: React.ChangeEvent) => {\n\t\tsetShowExistingMemberError(false);\n\n\t\tconst val = e.target.value;\n\n\t\tsetQuery(val);\n\n\t\tif (onChange) {\n\t\t\tonChange(undefined);\n\t\t}\n\n\t\tif (!val) {\n\t\t\tsetIsActive(false);\n\t\t} else {\n\t\t\tsetIsActive(true);\n\t\t\t\n\t\t\tsearchData(val);\n\t\t}\n\t};\n\n\tconst onClickPostHandler = (item: IncidentRecipientsUser) => {\n\t\tsetIsActive(false);\n\n\t\tsetQuery('');\n\n\t\tif (onChange) {\n\t\t\tonChange(item);\n\t\t}\n\t};\n\n\t// Logic to detect outside click and close search container\n\tconst searchContainerRef = React.useRef(null);\n\tlistenForOutsideClicks(searchContainerRef, isActive, setIsActive);\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t\t setIsActive(!!query)}\n\t\t\t\t/>\n\t\t\t
    \n\n\t\t\t{(hasError || searchResults) && (\n\t\t\t\t\n\t\t\t\t\t
      \n\t\t\t\t\t\t{hasError ? (\n\t\t\t\t\t\t\t
    • No results found
    • \n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\tsearchResults.map((item) => {\n\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t
    • onClickPostHandler(item)} key={item.id} className=\"search-result-item\">\n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t{item.name}\n\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t
      {item.role}
      \n\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default SearchOtherRecipients;\n","import * as React from 'react';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\nimport FormErrorMessage from '../../../components/ErrorMessage';\nimport DateTimeInput from '../../../components/DateTimeInput';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\nimport { IncidentFormTypes } from '../IncidentSubmit';\n\ninterface AddIndividualModalTypes {\n\tcloseModal?: closeModalType;\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n}\n\nconst AddIndividualModal: React.FC = ({\n\tcloseModal,\n\tincidentFormData,\n\tsetIncidentFormData\n}) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst initialValues = {\n\t\tname: '',\n\t\trole: '',\n\t\tdateAndTime: '',\n\t\tcontactMethod: '',\n\t\tisNotifiedSuccess: false\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\tname: Yup.string().required('Required'),\n\t\trole: Yup.string().required('Required'),\n\t\tdateAndTime: Yup.string().required('Required')\n\t});\n\n\tconst submitHandler = (values: any) => {\n\t\tconst formData = {\n\t\t\tname: values.name as string,\n\t\t\trole: values.role as string,\n\t\t\tdateAndTime: values.dateAndTime as string,\n\t\t\tcontactMethod: values.contactMethod as string,\n\t\t\tisNotifiedSuccess: values.isNotifiedSuccess as boolean\n\t\t};\n\n\t\tconst currentIndividuals = incidentFormData.individuals || [];\n\n\t\tconst newIndividuals = [...currentIndividuals, formData];\n\n\t\tsetIncidentFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\tindividuals: newIndividuals\n\t\t}));\n\n\t\tif (closeModal) {\n\t\t\tcloseModal();\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{showError ? (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('dateAndTime', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\texcludeFuture\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('isNotifiedSuccess', true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('isNotifiedSuccess', false)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default AddIndividualModal;\n","import * as React from 'react';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\nimport FormErrorMessage from '../../../components/ErrorMessage';\nimport DateTimeInput from '../../../components/DateTimeInput';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\nimport { IncidentFormTypes } from '../IncidentSubmit';\n\ninterface AddAuthorityModalTypes {\n\tcloseModal?: closeModalType;\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n}\n\nconst AddAuthorityModal: React.FC = ({ closeModal, incidentFormData, setIncidentFormData }) => {\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\tconst [showError, setShowError] = React.useState(false);\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst initialValues = {\n\t\tauthorityName: '',\n\t\tnotifiedName: '',\n\t\tdateAndTime: '',\n\t\tcontactMethod: '',\n\t\treason: '',\n\t\tisNotifiedSuccess: false\n\t};\n\n\tconst validationSchema = Yup.object({\n\t\tauthorityName: Yup.string().required('Required'),\n\t\tnotifiedName: Yup.string().required('Required'),\n\t\tdateAndTime: Yup.string().required('Required'),\n\t\treason: Yup.string().required('Required')\n\t});\n\n\tconst submitHandler = (values: any) => {\n\t\tconst formData = {\n\t\t\tauthorityName: values.authorityName as string,\n\t\t\tnotifiedName: values.notifiedName as string,\n\t\t\tdateAndTime: values.dateAndTime as string,\n\t\t\tcontactMethod: values.contactMethod as string,\n\t\t\treason: values.reason as string,\n\t\t\tisNotifiedSuccess: values.isNotifiedSuccess as boolean\n\t\t};\n\n\t\tconst currentAuthorities = incidentFormData.authorities || [];\n\n\t\tconst newAuthorities = [...currentAuthorities, formData];\n\n\t\tsetIncidentFormData((prevState) => ({\n\t\t\t...prevState,\n\n\t\t\tauthorities: newAuthorities\n\t\t}));\n\n\t\tif (closeModal) {\n\t\t\tcloseModal();\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t{showError ? (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('dateAndTime', val)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\texcludeFuture\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('isNotifiedSuccess', true)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('isNotifiedSuccess', false)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default AddAuthorityModal;\n","import * as React from 'react';\n\n// UTILS\nimport { emailRegex } from '../../utils';\n\n// PACKAGES\nimport { Formik, Form, Field, ErrorMessage, FieldArray } from 'formik';\nimport * as Yup from 'yup';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport Button from '../../components/Button';\nimport SearchOtherRecipients from './SearchOtherRecipients';\nimport GlobalModal from '../../components/GlobalModal';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport FileUpload from '../../components/FileUpload';\nimport FilesList from '../../components/FilesList';\nimport ScrollToTopButton from '../../components/ScrollToTopButton';\nimport AddIndividualModal from './Modals/AddIndividualModal';\nimport AddAuthorityModal from './Modals/AddAuthorityModal';\n\n// ICONS\nimport { ReactComponent as EmailIcon } from '../../assets/svg/email.svg';\nimport { ReactComponent as EnvelopeIcon } from '../../assets/svg/envelope-icon.svg';\nimport { ReactComponent as PlusIcon } from '../../assets/svg/plus.svg';\nimport { ReactComponent as NoteIcon } from '../../assets/svg/note-icon.svg';\n\n// TYPES\nimport { IncidentFormTypes } from './IncidentSubmit';\nimport { IncidentEditUser, IncidentRecipientsUser } from '../../api/models';\n\nexport interface StepThreeTypes {\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n\tleadershipTeamData: IncidentEditUser[];\n\totherRecipientsData: IncidentRecipientsUser[];\n\tsetOtherRecipientsData: React.Dispatch>;\n}\n\nconst StepThree: React.FC = ({\n\tincidentFormData,\n\tsetIncidentFormData,\n\n\tsetActiveStep,\n\n\tleadershipTeamData,\n\n\totherRecipientsData,\n\tsetOtherRecipientsData\n}) => {\n\t// Error state\n\tconst [showError, setShowError] = React.useState(false);\n\n\t// State to manage Modal\n\tconst [showAddIndividualModal, setShowAddIndividualModal] = React.useState(false);\n\tconst [showAddAuthorityModal, setShowAddAuthorityModal] = React.useState(false);\n\n\t// LOGIC FOR LEADERSHIP\n\tconst [selectedLeadershipMemberId, setSelectedLeadershipMemberId] = React.useState([]);\n\n\tReact.useEffect(() => {\n\t\tsetSelectedLeadershipMemberId(incidentFormData.leaderRecipientIds || []);\n\n\t\tsetOtherRecipientsData(incidentFormData.otherRecipients || []);\n\n\t\tsetSelectedEmails(incidentFormData.otherRecipientEmails || []);\n\t}, []);\n\n\tconst selectLeadershipMemberHandler = (e: React.ChangeEvent) => {\n\t\tconst { value, checked } = e.target;\n\n\t\tif (checked) {\n\t\t\tif (!selectedLeadershipMemberId.includes(value)) {\n\t\t\t\tsetSelectedLeadershipMemberId((prev) => [...prev, value]);\n\t\t\t}\n\t\t} else {\n\t\t\tsetSelectedLeadershipMemberId((prev) => prev.filter((item) => item !== value));\n\t\t}\n\n\t\tif (showError) {\n\t\t\tsetShowError(false);\n\t\t}\n\t};\n\n\tconst removeSelectLeadershipMemberHandler = (id: string | undefined) => {\n\t\tif (id !== undefined) {\n\t\t\tsetSelectedLeadershipMemberId((prev) => prev.filter((item) => item !== id));\n\t\t}\n\t};\n\n\t// LOGIC FOR OTHER RECIPENTS\n\tconst [showExistingMemberError, setShowExistingMemberError] = React.useState(false);\n\n\tconst addOtherRecipientsHandler = (item: IncidentRecipientsUser) => {\n\t\tif (item !== undefined && item.id !== undefined && !incidentFormData.otherRecipientIds?.includes(item.id)) {\n\t\t\tsetShowExistingMemberError(false);\n\n\t\t\tsetOtherRecipientsData([...otherRecipientsData, item]);\n\n\t\t\tsetIncidentFormData({\n\t\t\t\t...incidentFormData,\n\n\t\t\t\totherRecipientIds: [...(incidentFormData.otherRecipientIds || []), item.id || '']\n\t\t\t});\n\t\t} else if (item !== undefined && item.id !== undefined && incidentFormData.otherRecipientIds?.includes(item.id)) {\n\t\t\tsetShowExistingMemberError(true);\n\t\t}\n\t};\n\n\tconst removeOtherRecipientsHandler = (id: string | undefined) => {\n\t\tif (id !== undefined) {\n\t\t\tconst newList = otherRecipientsData.filter((item) => item.id !== id);\n\n\t\t\tsetOtherRecipientsData(newList);\n\n\t\t\tconst incidentIds =\n\t\t\t\tincidentFormData.otherRecipientIds && incidentFormData.otherRecipientIds.filter((item) => item !== id);\n\n\t\t\tsetIncidentFormData({\n\t\t\t\t...incidentFormData,\n\n\t\t\t\totherRecipientIds: [...(incidentIds || [])]\n\t\t\t});\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tsetOtherRecipientsData(otherRecipientsData);\n\t}, [otherRecipientsData]);\n\n\t// LOGIC FOR EMAIL INPUT\n\tconst [selectedEmails, setSelectedEmails] = React.useState(incidentFormData.otherRecipientEmails || []);\n\n\tconst [emailInput, setEmailInput] = React.useState('');\n\n\tconst [emailInputError, setEmailInputError] = React.useState(false);\n\n\tconst [isAddEmailFieldActive, setIsAddEmailFieldActive] = React.useState(false);\n\n\tReact.useEffect(() => {\n\t\tsetSelectedEmails(selectedEmails);\n\t}, [selectedEmails]);\n\n\tconst emailInputHandler = (e: React.ChangeEvent) => {\n\t\tconst newEmailInput = e.target.value;\n\n\t\tsetEmailInput(newEmailInput);\n\n\t\tif (emailInputError && newEmailInput.match(emailRegex)) {\n\t\t\tsetEmailInputError(false);\n\t\t}\n\t};\n\n\tconst addEmailHandler = (e: React.MouseEvent) => {\n\t\tif (emailInput.match(emailRegex)) {\n\t\t\tsetEmailInputError(false);\n\n\t\t\tsetSelectedEmails((prevState) => [...prevState, emailInput]);\n\n\t\t\tsetEmailInput('');\n\n\t\t\tsetIncidentFormData({\n\t\t\t\t...incidentFormData,\n\n\t\t\t\totherRecipientEmails: [...(incidentFormData.otherRecipientEmails || []), emailInput]\n\t\t\t});\n\t\t} else {\n\t\t\tsetEmailInputError(true);\n\t\t}\n\t};\n\n\tconst removeEmailHandler = (index: number) => {\n\t\tconst newSelectedEmail = selectedEmails.filter((item, itemIndex) => itemIndex !== index);\n\t\tsetSelectedEmails(newSelectedEmail);\n\n\t\tsetIncidentFormData({\n\t\t\t...incidentFormData,\n\t\t\totherRecipientEmails: [...(newSelectedEmail || [])]\n\t\t});\n\t};\n\n\t// FORM SET UP\n\tconst initialValuesStepThree = {\n\t\tindividualsNotified: incidentFormData.individualsNotified || false,\n\t\tindividuals: incidentFormData.individuals || [],\n\t\tauthorityNotified: incidentFormData.authorityNotified || false,\n\t\tauthorities: incidentFormData.authorities || [],\n\t\tnotes: incidentFormData.notes || '',\n\t\tnewAttachments: incidentFormData.newAttachments || [],\n\t\tcreateAttachments: incidentFormData.createAttachments || [],\n\t\tattachments: incidentFormData.attachments || [],\n\t\tdeleteAttachmentIds: incidentFormData.deleteAttachmentIds || []\n\t};\n\n\tconst validationSchemaStepThree = Yup.object({\n\t\tindividuals: Yup.array().when('individualsNotified', {\n\t\t\tis: true,\n\t\t\tthen: Yup.array().min(1, 'Required')\n\t\t}),\n\t\tauthorities: Yup.array().when('authorityNotified', {\n\t\t\tis: true,\n\t\t\tthen: Yup.array().min(1, 'Required')\n\t\t})\n\t});\n\n\t// SUBMIT LOGIC\n\tconst onSubmitStepThree = (values: any) => {\n\t\tif (selectedLeadershipMemberId.length < 1) {\n\t\t\tsetShowError(true);\n\t\t} else {\n\t\t\tsetShowError(false);\n\n\t\t\tsetIncidentFormData({\n\t\t\t\t...incidentFormData,\n\n\t\t\t\tleaderRecipientIds: [...selectedLeadershipMemberId],\n\n\t\t\t\tindividualsNotified: values.individualsNotified,\n\t\t\t\tindividuals: values.individuals,\n\t\t\t\tauthorityNotified: values.authorityNotified,\n\t\t\t\tauthorities: values.authorities,\n\t\t\t\tnotes: values.notes,\n\n\t\t\t\tnewAttachments: values.newAttachments,\n\t\t\t\tcreateAttachments: values.createAttachments,\n\t\t\t\tattachments: values.attachments,\n\t\t\t\tdeleteAttachmentIds: values.deleteAttachmentIds\n\t\t\t});\n\n\t\t\tsetActiveStep('step4');\n\n\t\t\twindow.scrollTo(0, 0);\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{(formik) => {\n\t\t\t\treturn (\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t{/* INDIVIDUAL NOTIFIED */}\n\t\t\t\t\t\t\t\t

    Individuals notified

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tPlease record the details of all people who were notified, or all attempted notifications, for this\n\t\t\t\t\t\t\t\t\tincident, injury, trauma or illness.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('individualsNotified', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('individualsNotified', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{formik.values.individualsNotified === true && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(props) => {\n\t\t\t\t\t\t\t\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { values } = form;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { individuals } = values;\n\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{individuals?.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tindividuals.map((item: any, index: number) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.contactMethod}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tremove(index);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-text pd-0\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Notification {item.isNotifiedSuccess ? 'successful' : 'unsuccessful'}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetIncidentFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tleaderRecipientIds: [...selectedLeadershipMemberId],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tindividualsNotified: values.individualsNotified,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tindividuals: values.individuals,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tauthorityNotified: values.authorityNotified,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tauthorities: values.authorities,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tnotes: values.notes,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tnewAttachments: values.newAttachments,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcreateAttachments: values.createAttachments,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tattachments: values.attachments,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdeleteAttachmentIds: values.deleteAttachmentIds\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}));\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAddIndividualModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"add-witness mbtom-0\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd individual\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(error) =>
    {error}
    }\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{/* AUTHORITY NOTIFIED */}\n\t\t\t\t\t\t\t\t

    Authorities notified

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tThere are some instances where an authority must be notified (E.g. mandatory reporting, reportable\n\t\t\t\t\t\t\t\t\tconduct or serious incidents where government authorities or regulators must be notified).\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tPlease record the details of all authorities that were notified, or all attempted notifications, for\n\t\t\t\t\t\t\t\t\tthis incident, injury, trauma or illness.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('authorityNotified', true)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tYes\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t formik.setFieldValue('authorityNotified', false)}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t\t\t\tNo\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{formik.values.authorityNotified === true && (\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(props) => {\n\t\t\t\t\t\t\t\t\t\t\t\tconst { push, remove, form } = props;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { values } = form;\n\t\t\t\t\t\t\t\t\t\t\t\tconst { authorities } = values;\n\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{authorities?.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tauthorities.map((item: any, index: number) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.authorityName}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.reason}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.notifiedName}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.contactMethod}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tremove(index);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-text pd-0\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Notification {item.isNotifiedSuccess ? 'successful' : 'unsuccessful'}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetIncidentFormData((prevState) => ({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t...prevState,\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tleaderRecipientIds: [...selectedLeadershipMemberId],\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tindividualsNotified: values.individualsNotified,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tindividuals: values.individuals,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tauthorityNotified: values.authorityNotified,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tauthorities: values.authorities,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tnotes: values.notes,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tnewAttachments: values.newAttachments,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tcreateAttachments: values.createAttachments,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tattachments: values.attachments,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdeleteAttachmentIds: values.deleteAttachmentIds\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}));\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetShowAddAuthorityModal(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"add-witness mbtom-0\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAdd an authority\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t{(error) =>
    {error}
    }\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{/* INCIDENT REPORT RECIPIENTS */}\n\n\t\t\t\t\t\t\t\t

    Incident report recipients

    \n\n\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\tSelect recipients who should receive a copy of this report. At least 1 leader must be selected.\n\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{/* LEADERS NOTIFIED */}\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\tUnder no circumstances should an alleged perpetrator receive an incident\n\t\t\t\t\t\t\t\t\t\t\t\treport.\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    Leaders
    \n\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tPlease select which leaders should receive this incident report. Leaders of organisations should\n\t\t\t\t\t\t\t\t\t\tgenerally receive copies of incident reports so that they are aware of safety issues unless it would\n\t\t\t\t\t\t\t\t\t\tcause harm to a victim by notifying them.\n\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{leadershipTeamData &&\n\t\t\t\t\t\t\t\t\t\t\tleadershipTeamData.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\tleadershipTeamData.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t{/* PARENTS, GUARDIANS AND CARERS */}\n\t\t\t\t\t\t
    Parents, guardians and staff
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\tPlease select (or enter an email address for) the parents or guardians who should receive this incident\n\t\t\t\t\t\t\t\treport.\n\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\tPlease add any other staff who need to receive this incident report, balancing the need to protect the\n\t\t\t\t\t\t\t\tvictim's privacy with the need to alert relevant staff for the child's safety.\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t addOtherRecipientsHandler(item)}\n\t\t\t\t\t\t\t\tsetShowExistingMemberError={setShowExistingMemberError}\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t{showExistingMemberError &&
    This member has already been added
    }\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    or
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t

    Enter email address if contact isn't listed above.

    \n\n\t\t\t\t\t\t\t
    setIsAddEmailFieldActive(!isAddEmailFieldActive)}>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t{emailInputError &&
    Invalid email format
    }\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t{/* LIST OF RECIPIENTS */}\n\t\t\t\t\t\t

    List of recipients

    \n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t{selectedLeadershipMemberId?.length === 0 &&\n\t\t\t\t\t\totherRecipientsData?.length === 0 &&\n\t\t\t\t\t\tselectedEmails?.length === 0 ? (\n\t\t\t\t\t\t\t

    No contacts added

    \n\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t{leadershipTeamData && leadershipTeamData.length > 0 && (\n\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t{leadershipTeamData.map((item) => {\n\t\t\t\t\t\t\t\t\t\tif (item.id && selectedLeadershipMemberId.includes(item.id)) {\n\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.name}

      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.role}

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t removeSelectLeadershipMemberHandler(item.id)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t} else return null;\n\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t{otherRecipientsData &&\n\t\t\t\t\t\t\t\t\totherRecipientsData.length > 0 &&\n\t\t\t\t\t\t\t\t\totherRecipientsData.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.name}

      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.children && item.children.length > 0 ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tParent to {item.children.join(', ')}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.role}

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t removeOtherRecipientsHandler(item.id)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t{selectedEmails &&\n\t\t\t\t\t\t\t\t\tselectedEmails.length > 0 &&\n\t\t\t\t\t\t\t\t\tselectedEmails.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t{/* ADDITIONAL INFORMATION */}\n\n\t\t\t\t\t\t

    Additional information

    \n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t

    Are there any other notes relating to this incident?

    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t

    Add any supporting documents or images.

    \n\n\t\t\t\t\t\t\t !incidentFormData.deleteAttachmentIds?.includes(item.id || '')\n\t\t\t\t\t\t\t\t\t\t)) ||\n\t\t\t\t\t\t\t\t\t[]\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tonChange={(vals: string[]) => formik.setFieldValue('deleteAttachmentIds', vals)}\n\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tformik.setFieldValue('createAttachments', vals);\n\t\t\t\t\t\t\t\t\tformik.setFieldValue('newAttachments', files);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\tfiles={incidentFormData.newAttachments}\n\t\t\t\t\t\t\t\tmultiple={true}\n\t\t\t\t\t\t\t\tmaxSizeMb={5}\n\t\t\t\t\t\t\t>\n\n\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\tYou may \n\t\t\t\t\t\t\t\tupload documents that provide further details about the incident, injury, trauma or illness. For\n\t\t\t\t\t\t\t\texample, you may attach a more detailed description of the incident, a photograph of the location where\n\t\t\t\t\t\t\t\tthe incident occurred, or a diagram of the part of the body where the child was injured.\n\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\tYou must not upload any images that may identify a child, or any intimate images of\n\t\t\t\t\t\t\t\t\t\ta child’s body parts e.g. you must not upload images of nappy rash or injuries to the bottom or\n\t\t\t\t\t\t\t\t\t\tgenitals of a child.\n\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t{/* SUBMIT BUTTON AND GENERAL ERROR MESSAGE */}\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t{showError && (\n\t\t\t\t\t\t\t
    You need to add at least 1 leadership Team member
    \n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t);\n\t\t\t}}\n\t\t\n\t);\n};\n\nexport default StepThree;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// REDUX\nimport { useAppSelector } from '../../store';\n\n// PACKAGES\nimport { useParams, useHistory } from 'react-router-dom';\nimport { Formik, Form, Field, ErrorMessage } from 'formik';\nimport * as Yup from 'yup';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\nimport { useUpdateTotalNotification } from '../../utils/useUpdateTotalNotification';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport DisplayDateTime from '../../components/DisplayDateTime';\nimport Button from '../../components/Button';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport DisplayDate from '../../components/DisplayDate';\n\n// ICONS\nimport { ReactComponent as ArrowLeftIcon } from '../../assets/svg/chevron-left.svg';\nimport { ReactComponent as EnvelopeIcon } from '../../assets/svg/envelope-icon.svg';\nimport { ReactComponent as SwitchUserIcon } from '../../assets/svg/switch-user.svg';\n\n// TYPES\nimport { IncidentEditUser, DomainIncidentType } from '../../api/models';\nimport { IncidentFormTypes } from './IncidentSubmit';\nimport { RouteParams } from '../../Interfaces';\n\ninterface StepFourTypes {\n\tincidentFormData: IncidentFormTypes;\n\tsetIncidentFormData: React.Dispatch>;\n\tsetActiveStep: React.Dispatch>;\n\n\tleadershipTeamData: IncidentEditUser[];\n\totherRecipientsData: IncidentEditUser[];\n\n\tisLoading: boolean;\n\tsetIsLoading: React.Dispatch>;\n}\n\nconst StepFour: React.FC = ({\n\tincidentFormData,\n\tsetIncidentFormData,\n\tsetActiveStep,\n\n\tleadershipTeamData,\n\totherRecipientsData,\n\n\tisLoading,\n\tsetIsLoading\n}) => {\n\tconst history = useHistory();\n\n\t// Get ID from params\n\tconst params = useParams();\n\tconst incidentId = params.id;\n\n\t// Check if Organisation is active\n\tconst isOrganisationActive = useAppSelector((state) => state.user.isOrganisationActive);\n\n\t// Get all incident Types from Redux store\n\tconst incidentTypes = useAppSelector((state) => state.lists.incidentTypes);\n\n\t// Error state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst {\n\t\t// STEP ONE\n\t\tname,\n\t\tage,\n\t\tdateOfBirth,\n\t\ttitle,\n\t\toccurrence,\n\t\ttype,\n\t\tspecification,\n\t\tlocation,\n\t\tdescription,\n\t\twitness,\n\t\twitnesses,\n\t\tidentifier,\n\n\t\t// STEP TWO\n\t\tfirstAidAdministered,\n\t\tfirstAid,\n\t\tmedicationAdministered,\n\t\tmedication,\n\t\tmedicalPersonnelContacted,\n\t\tmedicalPersonnel,\n\t\temergencyServiceContacted,\n\t\temergencyServices,\n\t\ttakenToHospital,\n\t\thospital,\n\t\tdateAndTimeTakenToHospital,\n\t\tpersonTakenToHospital,\n\t\trelationshipToChild,\n\t\totherActions,\n\t\totherActionsTaken,\n\n\t\t// STEP THREE\n\t\tindividualsNotified,\n\t\tindividuals,\n\t\tauthorityNotified,\n\t\tauthorities,\n\t\tnotes,\n\t\tnewAttachments,\n\t\tcreateAttachments,\n\t\tattachments,\n\t\tdeleteAttachmentIds,\n\t\tleaderRecipientIds,\n\t\totherRecipientIds,\n\t\totherRecipientEmails,\n\t\totherRecipients,\n\t\tleaders\n\t} = incidentFormData;\n\n\tconst createIncidentReport = async (values: any) => {\n\t\tif (incidentFormData !== undefined) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst formData = {\n\t\t\t\t...incidentFormData,\n\n\t\t\t\treviewer: values.reviewer,\n\t\t\t\treviewerRole: values.reviewerRole,\n\n\t\t\t\t// Reformat some fields data because if we don't do this, when we summitted a form and provide a Yes field with extra info, once we're in edit mode and changed the field value to No, the extra info will not be removed and will still be submmited when finish editing and resubmit the form again.\n\t\t\t\twitnesses: incidentFormData.witness ? incidentFormData.witnesses : [],\n\t\t\t\tfirstAid: incidentFormData.firstAidAdministered ? incidentFormData.firstAid : '',\n\t\t\t\tmedication: incidentFormData.medicationAdministered ? incidentFormData.medication : [],\n\t\t\t\tmedicalPersonnel: incidentFormData.medicalPersonnelContacted ? incidentFormData.medicalPersonnel : [],\n\t\t\t\temergencyServices: incidentFormData.emergencyServiceContacted ? incidentFormData.emergencyServices : [],\n\t\t\t\thospital: incidentFormData.takenToHospital ? incidentFormData.hospital : '',\n\t\t\t\tdateAndTimeTakenToHospital: incidentFormData.takenToHospital ? incidentFormData.dateAndTimeTakenToHospital : '',\n\t\t\t\tpersonTakenToHospital: incidentFormData.takenToHospital ? incidentFormData.personTakenToHospital : '',\n\t\t\t\trelationshipToChild: incidentFormData.takenToHospital ? incidentFormData.relationshipToChild : '',\n\t\t\t\totherActionsTaken: incidentFormData.otherActions ? incidentFormData.otherActionsTaken : '',\n\t\t\t\tindividuals: incidentFormData.individualsNotified ? incidentFormData.individuals : [],\n\t\t\t\tauthorities: incidentFormData.authorityNotified ? incidentFormData.authorities : []\n\t\t\t};\n\n\t\t\tsetIncidentFormData(formData);\n\n\t\t\tconst response = await apibridge.submitIncidentReport(formData);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\thistory.push('/incident-reports');\n\n\t\t\t\tuseUpdateTotalNotification();\n\t\t\t}\n\t\t}\n\t};\n\n\t// FORM SET UP\n\tconst initialValuesStepFour = {\n\t\treviewer: incidentFormData.reviewer || '',\n\t\treviewerRole: incidentFormData.reviewerRole || '',\n\t\treviewerConfirmed: undefined,\n\t\tinformationConfirmed: undefined,\n\t\tsignatureConfirmed: undefined\n\t};\n\n\tconst validationSchemaStepFour = Yup.object({\n\t\treviewer: Yup.string().required('Required'),\n\t\treviewerRole: Yup.string().required('Required'),\n\t\treviewerConfirmed: Yup.bool().oneOf([true], 'Required').required('Required'),\n\t\tinformationConfirmed: Yup.bool().oneOf([true], 'Required').required('Required'),\n\t\tsignatureConfirmed: Yup.bool().oneOf([true], 'Required').required('Required')\n\t});\n\n\t// Logic to work out current User Detail\n\tconst activeProfileId = useAppSelector((state) => state.user.activeProfileId);\n\tconst profiles = useAppSelector((state) => state.user.profiles);\n\tconst activeProfile = profiles?.find((item) => item.id === activeProfileId);\n\n\tconst firstName = useAppSelector((state) => state.user.firstName);\n\tconst lastName = useAppSelector((state) => state.user.lastName);\n\tconst currentRole = activeProfile?.roleName;\n\n\t// Display Type and Specification\n\tconst allTypes = useAppSelector((state) => state.lists.incidentTypes);\n\tconst allSpecifications = useAppSelector((state) => state.lists.incidentSpecifications) || [];\n\n\tconst currentType = allTypes?.find((item) => item.value === type);\n\n\tconst currentAllSpecification = allSpecifications.find((item) => item.value === currentType?.value) || {\n\t\titems: [{ value: '', label: '' }],\n\t\tvalue: ''\n\t};\n\n\tconst currentSpecification = currentAllSpecification?.items?.find((item: any) => item.value === specification);\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{(formik) => {\n\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t

    Please review this incident report before submitting

    \n\n\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\tThe nominated contacts will be notified to acknowledge the incident.\n\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\tPlease have a supervisor or manager review this incident report before submitting it for\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tacknowledgement.\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t{/* INCIDENT DETAILS */}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    Incident Details

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Child's name

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Child's age

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {age}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{dateOfBirth ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Child’s date of birth

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{dateOfBirth}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Incident title

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {title}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{identifier ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Incident ID

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {identifier}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Date and time of incident

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Incident type

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{currentType?.label} - {currentSpecification?.label}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Location of the incident

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {location}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Description of the incident

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {description}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Incident witnesses

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{witness ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{witnesses &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twitnesses.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\twitnesses.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.email}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.phone}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{/* ACTIONS TAKEN */}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    Actions taken

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    First aid administered

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {firstAidAdministered ? <>{firstAid} : 'None'}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Medication administered

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{medicationAdministered ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{medication &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedication.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedication.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Dosage of {item.dosage}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    by {item.personAdministered}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Medical personnel contacted

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{medicalPersonnelContacted ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{medicalPersonnel &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicalPersonnel.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmedicalPersonnel.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tContacted {item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.phoneOrEmail}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Emergency services contacted

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{emergencyServiceContacted ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{emergencyServices &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\temergencyServices.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\temergencyServices.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tContacted {item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.attend ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tArrived {item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Did not attend

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Transported to hospital

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{takenToHospital ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {hospital}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{dateAndTimeTakenToHospital}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tby {personTakenToHospital}, {relationshipToChild}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Other actions taken

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {otherActions ? <>{otherActionsTaken} : 'None'}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{/* NOTIFICATION */}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    Notification

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Individuals notified

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{individualsNotified ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{individuals &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tindividuals.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tindividuals.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.name}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.role}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.contactMethod}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Notification {item.isNotifiedSuccess ? 'successful' : 'unsuccessful'}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Authorities notified

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{authorityNotified ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{authorities &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tauthorities.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tauthorities.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.authorityName}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.notifiedName}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.dateAndTime}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.reason}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {item.contactMethod}

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Notification {item.isNotifiedSuccess ? 'successful' : 'unsuccessful'}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    None

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{/* RECIPIENTS OF THE REPORT */}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    Recipients of the report

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{leadershipTeamData &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tleadershipTeamData.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tleadershipTeamData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\titem.id &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tincidentFormData.leaderRecipientIds &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tincidentFormData.leaderRecipientIds.includes(item.id.toString())\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.name}

      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.role}

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{otherRecipientsData &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\totherRecipientsData.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\totherRecipientsData.map((item) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tif (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\titem.id &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tincidentFormData.otherRecipientIds &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tincidentFormData.otherRecipientIds.includes(item.id.toString())\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.name}

      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

      {item.role}

      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn null;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{otherRecipientEmails &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\totherRecipientEmails.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\totherRecipientEmails.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      {item}
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{/* ADDITIONAL INFORMATION */}\n\t\t\t\t\t\t\t\t\t\t\t\t\t{notes ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t(attachments && attachments.length > 0) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t(newAttachments && newAttachments.length > 0) ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Additional information

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{notes ? (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Notes

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {notes}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t) : null}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{((attachments && attachments.length > 0) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t(newAttachments && newAttachments.length > 0)) && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Attachments

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{attachments &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tattachments.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tattachments\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.filter((item) => !deleteAttachmentIds?.includes(item.id || ''))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.displayFileName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{newAttachments &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tnewAttachments.length > 0 &&\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tnewAttachments.map((item, index) => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    • \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{item.displayFileName}\n\t\t\t\t\t\t\t\t\t\t\t\t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{(error) =>
    {error}
    }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t{/* PERSON WHO CREATED THIS REPORT */}\n\t\t\t\t\t\t\t\t\t\t\t\t\t

    Person who created this report

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Reported by

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{firstName} {lastName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    (yourself)

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Role

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {currentRole}

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    Electronic Signature Acknowledgement

    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{firstName} {lastName}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
    {error}
    }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{(error) =>
    {error}
    }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t{/* SUBMIT BUTTON */}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn-secondary edit-btn\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tonClick={() => setActiveStep('step1')}\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tEdit details\n\t\t\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t\t{isOrganisationActive && (\n\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default StepFour;\n","import * as React from 'react';\n\n// PACKAGES\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport Button from '../../../components/Button';\nimport LoadingSpinner from '../../../components/LoadingSpinner';\n\n// ICONS\nimport { ReactComponent as AlertIcon } from '../../../assets/svg/alert.svg';\n\n// TYPES\nimport { closeModalType } from '../../../components/GlobalModal';\n\ninterface ExitConfirmationModalTypes {\n\tcloseModal?: closeModalType;\n}\n\nconst ExitConfirmationModal: React.FC = ({ closeModal }) => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(false);\n\n\tconst confirmExit = async () => {\n\t\thistory.push('/incident-reports');\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t

    Are you sure you wish to leave and cancel the incident report?

    \n\n\t\t\t\t\t\t\t\t

    All information will be lost

    \n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\t\t
    \n\t);\n};\n\nexport default ExitConfirmationModal;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { validationErrorsToString } from '../../utils';\n\n// PACKAGES\nimport { useParams } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\nimport { useHistory } from 'react-router-dom';\n\n// COMPONENTS\nimport StepOne from './StepOne';\nimport StepTwo from './StepTwo';\nimport StepThree from './StepThree';\nimport StepFour from './StepFour';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport Button from '../../components/Button';\nimport GlobalModal from '../../components/GlobalModal';\nimport ExitConfirmationModal from './Modals/ExitConfirmationModal';\n\n// ICONS\nimport { ReactComponent as ArrowLeftIcon } from '../../assets/svg/chevron-left.svg';\nimport { ReactComponent as ArrowRightIcon } from '../../assets/svg/chevron-right.svg';\nimport { ReactComponent as ArrowLeft } from '../../assets/svg/arrow-left.svg';\n\n// TYPES\nimport { IncidentEditUser, IncidentEditCommand, IncidentEditAttachment } from '../../api/models';\nimport { RouteParams } from '../../Interfaces';\nimport { FileType } from '../../components/FileUpload';\n\nexport interface IncidentFormTypes extends IncidentEditCommand {\n\tnewAttachments: FileType[];\n}\n\nconst IncidentSubmit: React.FC = () => {\n\tconst history = useHistory();\n\n\t// Error and Loading state\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState('');\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\t// get ID from params\n\tconst params = useParams();\n\tconst incidentId = params.id;\n\n\t// Set up form state and initial form data\n\tconst initialIncidentFormData: IncidentFormTypes = {\n\t\t// STEP ONE\n\t\tname: '',\n\t\tage: '',\n\t\tdateOfBirth: '',\n\t\ttitle: '',\n\t\toccurrence: '',\n\t\ttype: undefined,\n\t\tspecification: '',\n\t\tlocation: '',\n\t\tdescription: '',\n\t\twitness: false,\n\t\twitnesses: [],\n\n\t\t// STEP TWO\n\t\tfirstAidAdministered: false,\n\t\tfirstAid: '',\n\t\tmedicationAdministered: false,\n\t\tmedication: [],\n\t\tmedicalPersonnelContacted: false,\n\t\tmedicalPersonnel: [],\n\t\temergencyServiceContacted: false,\n\t\temergencyServices: [],\n\t\ttakenToHospital: false,\n\t\thospital: '',\n\t\tdateAndTimeTakenToHospital: '',\n\t\tpersonTakenToHospital: '',\n\t\trelationshipToChild: '',\n\t\totherActions: false,\n\t\totherActionsTaken: '',\n\n\t\t// STEP THREE\n\t\tindividualsNotified: false,\n\t\tindividuals: [],\n\t\tauthorityNotified: false,\n\t\tauthorities: [],\n\t\tnotes: '',\n\t\tnewAttachments: [],\n\t\tcreateAttachments: [],\n\t\tattachments: [],\n\t\tdeleteAttachmentIds: [],\n\n\t\tleaderRecipientIds: [],\n\t\totherRecipientIds: [],\n\n\t\totherRecipientEmails: [],\n\n\t\totherRecipients: [],\n\t\tleaders: [],\n\n\t\t// STEP FOUR:\n\t\treviewer: '',\n\t\treviewerRole: ''\n\t};\n\n\tconst [incidentFormData, setIncidentFormData] = React.useState(initialIncidentFormData);\n\n\t// If there is an id, then load Edit screen, otherwise load blank to create new\n\tconst loadIncidentReport = async () => {\n\t\tif (incidentId) {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.loadIncidentReport(incidentId);\n\n\t\t\tresponse.result = response.result || initialIncidentFormData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetIncidentFormData(response.result);\n\t\t\t}\n\t\t} else {\n\t\t\tsetIsLoading(true);\n\n\t\t\tconst response = await apibridge.loadIncidentReport();\n\n\t\t\tresponse.result = response.result || initialIncidentFormData;\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetIncidentFormData({\n\t\t\t\t\t...initialIncidentFormData,\n\n\t\t\t\t\tleaders: response.result.leaders\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tloadIncidentReport();\n\t}, []);\n\n\tconst [leadershipTeamData, setLeadershipTeamData] = React.useState([]);\n\n\tReact.useEffect(() => {\n\t\tsetLeadershipTeamData(incidentFormData.leaders || []);\n\t}, [incidentFormData.leaders]);\n\n\tconst [otherRecipientsData, setOtherRecipientsData] = React.useState([]);\n\n\tReact.useEffect(() => {\n\t\tsetOtherRecipientsData(incidentFormData.otherRecipients || []);\n\t}, [incidentFormData.otherRecipients]);\n\n\t// State to manage Modal\n\tconst [showExitConfirmationModal, setShowExitConfirmationModal] = React.useState(false);\n\n\t// State to control active step\n\tconst [activeStep, setActiveStep] = React.useState('step1');\n\n\t// Logic for Back Button\n\tconst mobileStepHandler = () => {\n\t\tif (activeStep === 'step4') {\n\t\t\tsetActiveStep('step3');\n\t\t}\n\n\t\tif (activeStep === 'step3') {\n\t\t\tsetActiveStep('step2');\n\t\t}\n\n\t\tif (activeStep === 'step2') {\n\t\t\tsetActiveStep('step1');\n\t\t}\n\n\t\tif (activeStep === 'step1') {\n\t\t\tsetShowExitConfirmationModal(true);\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tconst pageState = history.location.state;\n\n\t\tif (pageState === undefined || pageState.activeStep === undefined || pageState.activeStep === null) {\n\t\t\thistory.replace(window.location.pathname, { activeStep });\n\t\t} else if (pageState.activeStep !== activeStep) {\n\t\t\thistory.push(window.location.pathname, { activeStep });\n\t\t}\n\n\t\tlet unlisten = history.listen((location, action) => {\n\t\t\tif (\n\t\t\t\taction === 'POP' &&\n\t\t\t\tlocation.state &&\n\t\t\t\tlocation.state.activeStep !== undefined &&\n\t\t\t\tlocation.state.activeStep !== null\n\t\t\t) {\n\t\t\t\tsetActiveStep(location.state.activeStep);\n\t\t\t}\n\t\t});\n\n\t\treturn unlisten;\n\t}, [activeStep]);\n\n\tconst goBack = () => {\n\t\tmobileStepHandler();\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\n\t\t\t\t

    Submit an incident report

    \n\t\t\t
    \n\n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t setActiveStep('step1')}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t1. Incident details\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t setActiveStep('step2')}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t2. Actions taken\n\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t setActiveStep('step3')}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t3. Notification\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t
    4. Review & Submit
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step1' &&
    1. Incident details
    }\n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step2' &&
    2. Actions taken
    }\n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step3' &&
    3. Notification
    }\n\t\t\t\t\t\t\t\t\t\t{activeStep === 'step3' &&
    3. Review & Submit
    }\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t{activeStep === 'step1' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{activeStep === 'step2' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{activeStep === 'step3' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{activeStep === 'step4' && (\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default IncidentSubmit;\n","import * as React from 'react';\n\n// API\nimport apibridge from '../../apibridge';\n\n// UTILS\nimport { queryStringToObject, validationErrorsToString } from '../../utils';\n\n// REDUX\nimport { useAppDispatch, useAppSelector } from '../../store';\nimport UserSlice from '../../store/slices/User';\n\n// PACKAGES\nimport { useHistory } from 'react-router-dom';\nimport { SwitchTransition, CSSTransition } from 'react-transition-group';\n\n// COMPONENTS\nimport CircleImage from '../../components/CircleImage';\nimport LoadingSpinner from '../../components/LoadingSpinner';\nimport LoginCreateModal from '../Login/LoginCreateModal';\nimport GlobalModal from '../../components/GlobalModal';\n\n// ICONS\nimport Button from '../../components/Button';\n\n// TYPES\nimport { IncidentArchiveLinkRequestRequestDetails, IncidentArchiveLinkIncidentCommand } from '../../api/models';\n\ninterface IncidentReportLinkingArchiveTypes {}\n\nconst IncidentReportLinkingArchive: React.FC = ({}) => {\n\tconst [formErrorMessage, setFormErrorMessage] = React.useState();\n\n\tconst [isLoading, setIsLoading] = React.useState(true);\n\n\tconst isLoggedIn = useAppSelector((state) => state.user.loggedIn);\n\n\tconst dispatch = useAppDispatch();\n\n\tconst history = useHistory();\n\n\tconst [mounted, setMounted] = React.useState(false);\n\n\t// State to control Modal\n\tconst [modalIsOpen, setModalIsOpen] = React.useState(false);\n\n\t// State for Selected Plan Id\n\tconst [selectedPlanId, setSelectedPlanId] = React.useState();\n\n\t//Get incidentRecipientId from params\n\tconst queryParams = queryStringToObject();\n\n\tconst recipientId = queryParams.incidentRecipientId || '';\n\n\tconst returnUrl = `/incident-archive-invite?incidentRecipientId=${recipientId}`;\n\n\tconst previousUrl = returnUrl;\n\n\t//Set IncidentLinkData\n\tconst initialIncidentLinkData: IncidentArchiveLinkRequestRequestDetails = {\n\t\torganisationId: undefined,\n\t\torganisationIdentifier: undefined,\n\t\torganisation: undefined,\n\t\torganisationImage: undefined,\n\t\tisAuthenticated: undefined,\n\t\tisMemberOfOrganisation: undefined,\n\t\tswitchProfileId: undefined,\n\t\tincidentId: undefined,\n\t\tisAssigned: undefined\n\t};\n\tconst [incidentLinkingData, setIncidentLinkingData] =\n\t\tReact.useState(initialIncidentLinkData);\n\n\tconst getLinkRequestDetails = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst response = await apibridge.getIncidentLinkRequestArchive(recipientId);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetIncidentLinkingData(response.result);\n\n\t\t\tif (response.result.isAssigned === true && response.result.incidentId) {\n\t\t\t\thistory.push(`/incident-reports-archive/${response.result.incidentId}`);\n\t\t\t} else if (response.result.isAuthenticated && response.result.isMemberOfOrganisation) {\n\t\t\t\tdoSwitchProfile(response.result.switchProfileId);\n\t\t\t}\n\t\t}\n\t};\n\n\t//Get current active profile\n\tconst isActiveOrganisation = useAppSelector((state) => state.user.activeProfileId);\n\n\tconst doSwitchProfile = async (switchProfileId: string) => {\n\t\tsetIsLoading(true);\n\n\t\tif (isActiveOrganisation === switchProfileId) {\n\t\t\tsetIsLoading(false);\n\n\t\t\treturn;\n\t\t} else {\n\t\t\tconst response = await apibridge.doSwitchOrganisation(switchProfileId);\n\n\t\t\tif (response.isError) {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tsetFormErrorMessage(\n\t\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tsetIsLoading(false);\n\n\t\t\t\tdispatch(UserSlice.actions.forceUpdate({}));\n\t\t\t}\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\tif (recipientId) {\n\t\t\tgetLinkRequestDetails();\n\t\t}\n\n\t\tsetMounted(true);\n\n\t\tsetIsLoading(false);\n\t}, []);\n\n\t//Submit report\n\n\tconst submitReport = async () => {\n\t\tsetIsLoading(true);\n\n\t\tconst data: IncidentArchiveLinkIncidentCommand = {\n\t\t\trecipientId: recipientId.toLowerCase()\n\t\t};\n\n\t\tconst response = await apibridge.postIncidentLinkIncidentArchive(data);\n\n\t\tif (response.isError) {\n\t\t\tsetIsLoading(false);\n\n\t\t\tsetFormErrorMessage(\n\t\t\t\tresponse.validationErrors.length\n\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t);\n\t\t} else {\n\t\t\tsetIsLoading(false);\n\n\t\t\thistory.push('/incident-reports');\n\t\t}\n\t};\n\n\treturn (\n\t\t
    \n\t\t\t{!!formErrorMessage ? (\n\t\t\t\t
    {formErrorMessage}
    \n\t\t\t) : (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{isLoading ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t

    {incidentLinkingData.organisation} has shared an incident report with you

    \n\n\t\t\t\t\t\t\t\t\t\t{!incidentLinkingData.isAuthenticated && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsetModalIsOpen(!modalIsOpen);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-primary full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tLog in or Sign up to view\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{incidentLinkingData.isAuthenticated && incidentLinkingData.isMemberOfOrganisation && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tsubmitReport();\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-primary full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tAdd report to my account and view\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t\t\t{incidentLinkingData.isAuthenticated && !incidentLinkingData.isMemberOfOrganisation && (\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\thistory.push(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t`/find-organisation?id=${incidentLinkingData.organisationIdentifier}&name=${incidentLinkingData.organisation}`\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}}\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName=\"btn btn-primary full-width\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\tJoin organisation\n\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t)}\n\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default IncidentReportLinkingArchive;\n","import * as React from 'react';\nimport { checkUserSession } from './apibridge/checkUserSession';\n\n// API\nimport apibridge from './apibridge';\n\n// PACKAGES\nimport { Switch, Route, Redirect, useLocation, useHistory } from 'react-router-dom';\n\n// UTILS\nimport { queryStringToObject, usePrevious, validationErrorsToString } from './utils';\n\n// ANALYTICS\nimport GoogleAnalyticsHelper from './utils/GoogleAnalyticsHelper';\n\n// REDUX\nimport { useAppSelector, useAppDispatch } from './store';\nimport { UserType } from './store/slices/User';\nimport UserSlice from './store/slices/User';\nimport ListsSlice from './store/slices/Lists';\n\n// COMPONENTS\nimport LoadingSpinner from './components/LoadingSpinner';\n\n// LAYOUT\nimport LayoutTwoColumn from './components/Layout/LayoutTwoColumn';\nimport LayoutOneColumn from './components/Layout/LayoutOneColumn';\n\n// PAGES\nimport CreateAccount from './pages/CreateAccount/CreateAccount';\nimport ConfirmEmail from './pages/ConfirmEmail/ConfirmEmail';\nimport Login from './pages/Login/Login';\nimport ForgotPassword from './pages/ForgotPassword/ForgotPassword';\nimport ResetPassword from './pages/ResetPassword/ResetPassword';\nimport Plans from './pages/Plans/Plans';\nimport RegisterOrganisation from './pages/RegisterOrganisation/RegisterOrganisation';\nimport AddCertification from './pages/AddCertification/AddCertification';\nimport FindOrganisation from './pages/FindOrganisation/FindOrganisation';\n\nimport Dashboard from './pages/Dashboard/Dashboard';\nimport MyAccount from './pages/MyAccount/MyAccount';\nimport LinkAccount from './pages/LinkAccount/LinkAccount';\n\nimport Staff from './pages/Staff/Staff';\nimport StaffProfile from './pages/StaffProfile/StaffProfile';\n\nimport LeadershipTeam from './pages/LeadershipTeam/LeadershipTeam';\n\nimport Families from './pages/Families/Families';\nimport FamiliesProfile from './pages/FamiliesProfile/FamiliesProfile';\n\nimport Visitors from './pages/Visitors/Visitors';\nimport VisitorsProfile from './pages/VisitorsProfile/VisitorsProfile';\n\nimport RequestsToJoin from './pages/RequestsToJoin/RequestsToJoin';\nimport RequestsToJoinDetail from './pages/RequestsToJoinDetail/RequestsToJoinDetail';\n\nimport InviteToJoin from './pages/InviteToJoin/InviteToJoin';\n\nimport ChildSafeStandards from './pages/ChildSafeStandards/ChildSafeStandards';\nimport ChildSafeStandardsDetail from './pages/ChildSafetyStandardsDetail/ChildSafeStandardsDetail';\n\nimport Training from './pages/Training/Training';\nimport TrainingDetail from './pages/TrainingDetail/TrainingDetail';\n\nimport SafetyChecklists from './pages/SafetyChecklists/SafetyChecklists';\nimport SafetyChecklistsNewChecklist from './pages/SafetyChecklistsNewChecklist/SafetyChecklistsNewChecklist';\nimport SafetyChecklistsTemplatesPreview from './pages/SafetyChecklistsTemplatesPreview/SafetyChecklistsTemplatesPreview';\nimport SafetyChecklistsSubmit from './pages/SafetyChecklistsSubmit/SafetyChecklistsSubmit';\nimport SafetyChecklistsDetail from './pages/SafetyChecklistsDetail/SafetyChecklistsDetail';\n\nimport Policies from './pages/Policies/Policies';\nimport PolicyTemplates from './pages/PolicyTemplates/PolicyTemplates';\nimport PolicySubmit from './pages/PolicySubmit/PolicySubmit';\n\nimport Feedback from './pages/Feedback/Feedback';\nimport FeedbackDetail from './pages/FeedbackDetail/FeedbackDetail';\nimport FeedbackSubmit from './pages/FeedbackSubmit/FeedbackSubmit';\n\nimport IncidentReports from './pages/IncidentReports/IncidentReports';\nimport IncidentReportsDetailArchive from './pages/IncidentReportsDetailArchive/IncidentReportsDetail';\nimport IncidentReportsDetail from './pages/IncidentReportsDetail/IncidentReportsDetail';\nimport IncidentSubmitArchive from './pages/IncidentSubmitArchive/IncidentSubmit';\n\nimport Complaints from './pages/Complaints/Complaints';\nimport ComplaintsDetail from './pages/ComplaintsDetail/ComplaintsDetail';\nimport ComplaintsAdviceTemplates from './pages/ComplaintsAdviceTemplates/ComplaintsAdviceTemplates';\nimport ComplaintsSubmit from './pages/ComplaintsSubmit/ComplaintsSubmit';\n\nimport Audit from './pages/Audit/Audit';\nimport Settings from './pages/Settings/Settings';\n\nimport HelpDesk from './pages/HelpDesk/HelpDesk';\nimport HelpDeskDetail from './pages/HelpDeskDetail/HelpDeskDetail';\n\nimport Companies from './pages/Companies/Companies';\nimport CompaniesDetail from './pages/CompaniesDetail/CompaniesDetail';\n\nimport ContentTrainingModule from './pages/ContentTrainingModule/ContentTrainingModule';\nimport ContentTrainingModuleDetail from './pages/ContentTrainingModuleDetail/ContentTrainingModuleDetail';\n\nimport ContentPolicyTemplates from './pages/ContentPolicyTemplates/ContentPolicyTemplates';\nimport ContentPolicyTemplatesDetail from './pages/ContentPolicyTemplatesDetail/ContentPolicyTemplatesDetail';\n\nimport ContentChecklistTemplates from './pages/ContentChecklistTemplates/ContentChecklistTemplates';\nimport ContentChecklistTemplatesDetail from './pages/ContentChecklistTemplatesDetail/ContentChecklistTemplatesDetail';\n\nimport ContentComplaintsAdvice from './pages/ContentComplaintsAdvice/ContentComplaintsAdvice';\nimport ContentComplaintsAdviceDetail from './pages/ContentComplaintsAdviceDetail/ContentComplaintsAdviceDetail';\n\nimport ContentChildSafeStandards from './pages/ContentChildSafeStandards/ContentChildSafeStandards';\nimport ContentChildSafeStandardsDetail from './pages/ContentChildSafeStandardsDetail/ContentChildSafeStandardsDetail';\n\nimport ContentHelpDesk from './pages/ContentHelpDesk/ContentHelpDesk';\nimport ContentHelpDeskDetail from './pages/ContentHelpDeskDetail/ContentHelpDeskDetail';\n\nimport ConfirmNewEmail from './pages/MyAccount/ConfirmNewEmail';\nimport LandingDashboard from './pages/LandingDashboard/LandingDashboard';\nimport ProfileError from './pages/Errors/ProfileError';\nimport LinkSuccess from './pages/LinkAccount/LinkSuccess';\nimport IncidentReportLinking from './pages/IncidentReportLinking/IncidentReportLinking';\nimport Attachment from './pages/Attachment/Attachment';\nimport RegisterOrganisationSummary from './pages/RegisterOrganisation/RegisterOrganisationSummary';\nimport ParentConfirm from './pages/CreateAccount/ParentConfirm';\nimport TwoFactorAuthentication from './pages/Login/TwoFactorAuthentication';\nimport TrainingSubmit from './pages/TrainingSubmit/TrainingSubmit';\nimport IncidentSubmit from './pages/IncidentSubmit/IncidentSubmit';\nimport IncidentReportLinkingArchive from './pages/IncidentReportLinkingArchive/IncidentReportLinkingArchive';\n\nconst App: React.FunctionComponent = () => {\n\tconst location = useLocation();\n\tconst dispatch = useAppDispatch();\n\tconst [mounted, setMounted] = React.useState(false);\n\tconst [loading, setLoading] = React.useState(true);\n\tconst returnUrl = React.useRef('');\n\tconst user: UserType = useAppSelector((state) => state.user);\n\tconst previousUserState: UserType = usePrevious(user);\n\tconst history = useHistory();\n\n\tconst authenticateUserFromToken = async () => {\n\t\tsetLoading(true);\n\n\t\t// on page first load or refresh - if localstorage has token - they are/were loggedIn\n\t\tlet hasToken = !!localStorage.getItem('token');\n\n\t\tif (!hasToken) {\n\t\t\tsetLoading(false);\n\t\t\treturn;\n\t\t}\n\n\t\t// authenticate token\n\t\tconst response = await apibridge.getUserDetails();\n\n\t\tif (response.isError) {\n\t\t\tdispatch(UserSlice.actions.logOut());\n\t\t} else if (response.result) {\n\t\t\tawait apibridge.refreshAuthenticationToken();\n\n\t\t\tconst data = {\n\t\t\t\t...response.result,\n\t\t\t\tforceUpdate: false,\n\t\t\t\tloggedIn: true\n\t\t\t};\n\t\t\tdispatch(UserSlice.actions.update(data));\n\t\t}\n\n\t\t// setloading(false) for returning users/hasToken has been moved to useeffect\n\t\t// as it needs to happen after user details are populated or redirects misfire\n\t};\n\n\tconst createReturnUrl = () => {\n\t\tif (\n\t\t\t!user.loggedIn &&\n\t\t\tlocation.pathname &&\n\t\t\tlocation.pathname.indexOf('//') === -1 &&\n\t\t\tlocation.pathname.indexOf('/') === 0 &&\n\t\t\tlocation.pathname.length > 1\n\t\t) {\n\t\t\treturnUrl.current = '?returnUrl=' + location.pathname + encodeURIComponent(location.search);\n\t\t}\n\t};\n\n\tconst getGlobalLists = async () => {\n\t\tconst response = await apibridge.getGlobalLookups();\n\n\t\tif (response.result) {\n\t\t\tdispatch(ListsSlice.actions.update(response.result));\n\t\t}\n\t};\n\n\tReact.useEffect(() => {\n\t\thistory.listen(() => {\n\t\t\tif (checkUserSession() === false) {\n\t\t\t\tsetLoading(true);\n\t\t\t}\n\t\t});\n\t}, []);\n\n\tReact.useEffect(() => {\n\t\t// page changed\n\n\t\treturnUrl.current = '';\n\t\tconst options = { top: 0, left: 0, behaviour: 'smooth' };\n\t\twindow.scrollTo !== undefined ? window.scrollTo(options) : window.scroll(options);\n\n\t\t// push page view to GA tracking\n\t\tGoogleAnalyticsHelper.sendPageView();\n\t}, [location]);\n\n\tReact.useEffect(() => {\n\t\t// this will run on first mount and every time the user store object changes\n\t\tif (!mounted) {\n\t\t\tsetMounted(true);\n\t\t\tcreateReturnUrl();\n\t\t\tgetGlobalLists();\n\t\t\tauthenticateUserFromToken();\n\t\t} else {\n\t\t\t// after component has mounted and user has updated\n\t\t\tsetLoading(false);\n\n\t\t\tcheckForSwitchProfile();\n\n\t\t\tlet userDataHasChanged = false;\n\n\t\t\tif (user.loggedIn && !user.id) {\n\t\t\t\t// user has just logged in but not retrieved complete user data\n\t\t\t\tuserDataHasChanged = true;\n\t\t\t} else if (previousUserState.loggedIn && user.loggedIn && previousUserState.id) {\n\t\t\t\t// user is logged in and has all data\n\n\t\t\t\tif (user.forceUpdate) {\n\t\t\t\t\tuserDataHasChanged = true;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (userDataHasChanged) {\n\t\t\t\tgetGlobalLists();\n\t\t\t\tauthenticateUserFromToken();\n\t\t\t}\n\t\t}\n\t}, [user]);\n\n\tconst checkForSwitchProfile = async () => {\n\t\tconst queryParams = queryStringToObject();\n\t\tconst switchProfileId = queryParams.switchProfileId || undefined;\n\t\tconst currentActiveProfileId = user.activeProfileId || undefined;\n\t\tconst userProfiles = user.profiles;\n\n\t\t//Check if user is logged in, switchProfileId exists and userProfiles exist\n\t\tif (user.loggedIn && switchProfileId && userProfiles && userProfiles.length > 0) {\n\t\t\t//Check if the current profile is not already active and also that the profile exists for the user\n\t\t\tif (currentActiveProfileId !== switchProfileId && userProfiles?.filter(({ id }) => id === switchProfileId)[0]) {\n\t\t\t\tconst response = await apibridge.doSwitchOrganisation(switchProfileId);\n\t\t\t\tif (response.isError) {\n\t\t\t\t\thistory.push({\n\t\t\t\t\t\tpathname: '/profile-error',\n\t\t\t\t\t\tstate: {\n\t\t\t\t\t\t\terror: response.validationErrors.length\n\t\t\t\t\t\t\t\t? validationErrorsToString(response.validationErrors)\n\t\t\t\t\t\t\t\t: response.message || 'An error has occurred'\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\tgetGlobalLists();\n\t\t\t\t\tauthenticateUserFromToken();\n\t\t\t\t}\n\t\t\t} else if (!userProfiles?.filter(({ id }) => id === switchProfileId)[0]) {\n\t\t\t\thistory.push({\n\t\t\t\t\tpathname: '/profile-error',\n\t\t\t\t\tstate: { error: 'No profile associated with requested organisation' }\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t};\n\n\t// special case for logging out directly after a hard refresh\n\tif (previousUserState.loggedIn && !user.loggedIn) {\n\t\treturnUrl.current = '';\n\t}\n\n\tif (loading) {\n\t\treturn ;\n\t} else {\n\t\treturn (\n\t\t\t\n\t\t\t\t{/* --- ############## --- */}\n\t\t\t\t{/* --- EXTERNAL PAGES --- */}\n\t\t\t\t{/* --- ############## --- */}\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t{user.loggedIn ? (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t{user.loggedIn ? (\n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t{/* Incident Report Linking Landing Page */}\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t{/* --- Error Pages --- */}\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t{/* // temporary redirect */}\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t{/* // temporary redirect */}\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t{/* Attachment Route */}\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t{/* --- if none of the above routes are satisfied then redirect --- */}\n\t\t\t\t{!user.loggedIn && (\n\t\t\t\t\t\n\t\t\t\t\t\t{/* */}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t)}\n\n\t\t\t\t{/* --- ############## --- */}\n\t\t\t\t{/* --- INTERNAL PAGES --- */}\n\t\t\t\t{/* --- ############## --- */}\n\n\t\t\t\t{/* --- Link-accounts --- */}\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\n\t\t\t\t{/* DASHBOARD */}\n\t\t\t\t\n\t\t\t\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satisfied then redirect --- */}\n\t\t\t\t{user.loggedIn && (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\n\t\t);\n\t}\n};\n\nexport default App;\n","import './assets/styles/style.scss';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { BrowserRouter as Router } from 'react-router-dom';\nimport { Provider } from 'react-redux';\n\nimport { store } from './store';\nimport App from './App';\n\n// import registerServiceWorker from './registerServiceWorker';\n\nReactDOM.render(\n\t\n\t\t\n\t\t\t\n\t\t\n\t,\n\tdocument.getElementById('root')\n);\n\n// registerServiceWorker();\n"],"sourceRoot":""}