(this["webpackJsonpshipyard-web"]=this["webpackJsonpshipyard-web"]||[]).push([[0],{231:function(e){e.exports=JSON.parse('{"a":{"AcceptDecline":{"AcceptExplanation":"AcceptDecline.AcceptExplanation","AcceptScholarship":"AcceptDecline.AcceptScholarship","ClearButton":"AcceptDecline.ClearButton","DateLabel":"AcceptDecline.DateLabel","DeclineExplanation":"AcceptDecline.DeclineExplanation","DeclineScholarship":"AcceptDecline.DeclineScholarship","GuardianLabel":"AcceptDecline.GuardianLabel","Header1":"AcceptDecline.Header1","Header2":"AcceptDecline.Header2","Header3":"AcceptDecline.Header3","Header4":"AcceptDecline.Header3","LegalDescription":"AcceptDecline.LegalDescription","ScholarshipCalculation":"AcceptDecline.ScholarshipCalculation","SelectLabel":"AcceptDecline.SelectLabel","SignButton":"AcceptDecline.SignButton","Step1Explanation1":"AcceptDecline.Step1Explanation1","Step1Explanation2":"AcceptDecline.Step1Explanation2","StudentLabel":"AcceptDecline.StudentLabel","Calc1":"AcceptDecline.Calc1","Calc2":"AcceptDecline.Calc2","Calc3":"AcceptDecline.Calc3","Calc4":"AcceptDecline.Calc4","WeightTotals":"AcceptDecline.WeightTotals","Scholarship1":"AcceptDecline.Scholarship1","Scholarship2":"AcceptDecline.Scholarship2","Scholarship3":"AcceptDecline.Scholarship3","Scholarship4":"AcceptDecline.Scholarship4","ResponseInstructions":"AcceptDecline.ResponseInstructions","AcceptedCalculation":"AcceptDecline.AcceptedCalculation","AcceptedNote":"AcceptDecline.AcceptedNote"},"AnnualStatements":{"AutoPopButton":"AnnualStatements.AutoPopButton","BackButtonLabel":"AnnualStatements.BackButtonLabel","DescriptionHeader":"AnnualStatements.DescriptionHeader","DiscountsLabel":"AnnualStatements.DiscountsLabel","DOBLabel":"AnnualStatements.DOBLabel","FeesLabel":"AnnualStatements.FeesLabel","GradeLevelLabel":"AnnualStatements.GradeLevelLabel","LoadingTitle":"AnnualStatements.LoadingTitle","ParentGuardianLabel":"AnnualStatements.ParentGuardianLabel","SaveButton":"AnnualStatements.SaveButton","StatementDateLabel":"AnnualStatements.StatementDateLabel","StatementInformationHeader":"AnnualStatements.StatementInformationHeader","Status":"AnnualStatements.Status","StudentLabel":"AnnualStatements.StudentLabel","SubmitButton":"AnnualStatements.SubmitButton","SubmittedBy":"AnnualStatements.SubmittedBy","SubmittedOn":"AnnualStatements.SubmittedOn","SummaryDescription":"AnnualStatements.SummaryDescription","Title":"AnnualStatements.Title","TotalsLabel":"AnnualStatements.TotalsLabel","AutoPopError":"AnnualStatements.AutoPopError"},"Application":{"BackToApplications":"Application.BackToApplications","BackToStep":"Application.BackToStep {{stepName}}","CheckboxTooFew":"Application.CheckboxTooFew {{min}}","CheckboxTooMany":"Application.CheckboxTooMany {{max}}","FilesTooFew":"Application.FilesTooFew {{min}}","FilesTooMany":"Application.FilesTooMany {{max}}","MissingDOB":"Application.MissingDOB","Required":"Application.Required","Submit":"Application.Submit","Submitting":"Application.Submitting","ValidationFailure":"Application.ValidationFailure","ReviewMessage":"Application.ReviewMessage"},"Applications":{"Create":{"Button":"Applications.Create.Button","Error":"Applications.Create.Error","Header":"Applications.Create.Header","Instructions":"Applications.Create.Instructions","NewStudent":"Applications.Create.NewStudent","Retrieving":"Applications.Create.Retrieving","Start":"Applications.Create.Start","Warning":"Applications.Create.Warning"},"Delete":{"Action":"Applications.Delete.Action","Body":"Applications.Delete.Body","Confirmation":"Applications.Delete.Confirmation","Header":"Applications.Delete.Header","Success":"Applications.Delete.Success"},"Header":"Applications.Header","List":{"Actions":{"AcceptDecline":"Applications.List.Actions.AcceptDecline","BeginRenewal":"Applications.List.Actions.BeginRenewal","ChangeSchool":"Applications.List.Actions.ChangeSchool","Delete":"Applications.List.Actions.Delete","Edit":"Applications.List.Actions.Edit","Placeholder":"Applications.List.Actions.Placeholder","Update":"Applications.List.Actions.Update","View":"Applications.List.Actions.View","WithdrawApplication":"Applications.List.Actions.WithdrawApplication","WithdrawProgram":"Applications.List.Actions.WithdrawProgram","ViewScholarship":"Applications.List.Actions.ViewScholarship"},"Amount":"Applications.List.Amount","Attachments":"Applications.List.Attachments","Date":"Applications.List.Date","Enrollment":"Applications.List.Enrollment","School":"Applications.List.School","Status":"Applications.List.Status"},"NoDocs":"Applications.NoDocs","NoName":"Applications.NoName","ReviewMessage":"Applications.ReviewMessage","ApprovedMessage":"Applications.ApprovedMessage","PendingMessage":"Applications.PendingMessage","ScholarshipOrg":{"Count":"Applications.ScholarshipOrg.Count","Grid":{"DateOfBirth":"Applications.ScholarshipOrg.Grid.DateOfBirth","Disability":"Applications.ScholarshipOrg.Grid.Disability","School":"Applications.ScholarshipOrg.Grid.School","Status":"Applications.ScholarshipOrg.Grid.Status","Student":"Applications.ScholarshipOrg.Grid.Student","StudentFirstName":"Applications.ScholarshipOrg.Grid.StudentFirstName","StudentLastName":"Applications.ScholarshipOrg.Grid.StudentLastName","UniqueID":"Applications.ScholarshipOrg.Grid.UniqueID","Type":"Applications.ScholarshipOrg.Grid.Type","UpdatedDate":"Applications.ScholarshipOrg.Grid.UpdatedDate","Term":"Applications.ScholarshipOrg.Grid.Term"},"StatusFilter":"Applications.ScholarshipOrg.StatusFilter:"}},"AppReview":{"AssignToLabel":"AppReview.AssignToLabel","CurrentStatusLabel":"AppReview.CurrentStatusLabel","DefaultTitle":"AppReview.DefaultTitle","NewStatusLabel":"AppReview.NewStatusLabel","ReviewMessage":"AppReview.ReviewMessage","ReviewReasons":"AppReview.ReviewReasons","UpdateButton":"AppReview.UpdateButton","UploadLetterLabel":"AppReview.UploadLetterLabel","LoadingMessage":"AppReview.LoadingMessage","ErrorMessage":"AppReview.ErrorMessage"},"AppStages":{"Accepted":"AppStages.Accepted","Approved":"AppStages.Approved","Declined":"AppStages.Declined","Denied":"AppStages.Denied","DHSReview":"AppStages.DHSReview","EnrollmentChange":"AppStages.EnrollmentChange","Funded":"AppStages.Funded","Pending":"AppStages.Pending","Returned":"AppStages.Returned","SchoolReview":"AppStages.SchoolReview","SDEReview":"AppStages.SDEReview","Started":"AppStages.Started","Undefined":"AppStages.Undefined","Withdrawn":"AppStages.Withdrawn"},"Authentication":{"AccountUnconfirmed":"Authentication.AccountUnconfirmed","AccountVerified":"Authentication.AccountVerified","AttemptsExceeded":"Authentication.AttemptsExceeded","ChangePassword":"Authentication.ChangePassword","ChangePasswordRequirements":"Authentication.ChangePasswordRequirements","CheckingCredentials":"Authentication.CheckingCredentials","ConfirmPassword":"Authentication.ConfirmPassword","ConfirmPasswordInstructions":"Authentication.ConfirmPasswordInstructions","CreateAccount":{"AccountExists":"Authentication.CreateAccount.AccountExists","AlreadyHave":"Authentication.CreateAccount.AlreadyHave","CodeInstructions":"Authentication.CreateAccount.CodeInstructions","CodeSubmit":"Authentication.CreateAccount.CodeSubmit","Email":"Authentication.CreateAccount.Email","EnterCode":"Authentication.CreateAccount.EnterCode","EnterEmail":"Authentication.CreateAccount.EnterEmail","EnterEmailValid":"Authentication.CreateAccount.EnterEmailValid","EnterFirstName":"Authentication.CreateAccount.EnterFirstName","EnterLastName":"Authentication.CreateAccount.EnterLastName","EnterMobile":"Authentication.CreateAccount.EnterMobile","EnterPasswordLength":"Authentication.CreateAccount.EnterPasswordLength","EnterPasswordNumber":"Authentication.CreateAccount.EnterPasswordNumber","EnterPasswordSymbol":"Authentication.CreateAccount.EnterPasswordSymbol","EnterUppercase":"Authentication.CreateAccount.EnterUppercase","EnterLowercase":"Authentication.CreateAccount.EnterLowercase","EnterPhone":"Authentication.CreateAccount.EnterPhone","EnterRepeatPassword":"Authentication.CreateAccount.EnterRepeatPassword","FirstName":"Authentication.CreateAccount.FirstName","Instructions":"Authentication.CreateAccount.Instructions","InvalidInput":"Authentication.CreateAccount.InvalidInput","LastName":"Authentication.CreateAccount.LastName","LogIn":"Authentication.CreateAccount.LogIn","Mobile":"Authentication.CreateAccount.Mobile","NotAllowed":"Authentication.CreateAccount.NotAllowed","PasswordsNotMatch":"Authentication.CreateAccount.PasswordsNotMatch","RepeatPassword":"Authentication.CreateAccount.RepeatPassword","SendCode":"Authentication.CreateAccount.SendCode","TermsAndConditions":"Authentication.CreateAccount.TermsAndConditions","Title":"Authentication.CreateAccount.Title","SessionExpired":"Authentication.CreateAccount.SessionExpired"},"CreateAnAccountLink":"Authentication.CreateAnAccountLink","CreateNewPassword":"Authentication.CreateNewPassword","CurrentPassword":"Authentication.CurrentPassword","Email":"Authentication.Email","EnterEmail":"Authentication.EnterEmail","EnterPassword":"Authentication.EnterPassword","ForgotPasswordLink":"Authentication.ForgotPasswordLink","ForgotPasswordPage":{"Email":"Authentication.ForgotPasswordPage.Email","EnterEmail":"Authentication.ForgotPasswordPage.EnterEmail","EnterVerificationCode":"Authentication.ForgotPasswordPage.EnterVerificationCode","Instructions":"Authentication.ForgotPasswordPage.Instructions","Return":"Authentication.ForgotPasswordPage.Return","SendInstructions":"Authentication.ForgotPasswordPage.SendInstructions","Title":"Authentication.ForgotPasswordPage.Title","VerificationCode":"Authentication.ForgotPasswordPage.VerificationCode","VerificationCodeInstructions":"Authentication.ForgotPasswordPage.VerificationCodeInstructions","VerificationCodeNoReceive":"Authentication.ForgotPasswordPage.VerificationCodeNoReceive","VerificationCodeResend":"Authentication.ForgotPasswordPage.VerificationCodeResend","VerificationCodeSubmit":"Authentication.ForgotPasswordPage.Submit"},"ForgotPasswordRequirements":"Authentication.ForgotPasswordRequirements","InvalidCredentials":"Authentication.InvalidCredentials","LogIn":"Authentication.LogIn","NewPassword":"Authentication.NewPassword","NotRegisteredYet":"Authentication.NotRegisteredYet","Password":"Authentication.Password","PasswordChanged":"Authentication.PasswordChanged","PasswordChangeError":"Authentication.PasswordChangeError","PasswordInstructions":"Authentication.PasswordInstructions","PasswordWeak":"Authentication.PasswordWeak","ResetPassword":"Authentication.ResetPassword","TooManyResetAttempts":"Authentication.TooManyResetAttempts","VerificationCodeExpired":"Authentication.VerificationCodeExpired","VerificationCodeIncorrect":"Authentication.VerificationCodeIncorrect","EnterEmailAndPassword":"Authentication.EnterEmailAndPassword"},"ChangeUsername":{"Title":"ChangeUsername.Title","UsernameLabel":"ChangeUsername.UsernameLabel","NewUsernameLabel":"ChangeUsername.NewUsernameLabel","UsernameError":"ChangeUsername.UsernameError"},"Cognito":{"ExpiredCodeException":"Cognito.ExpiredCodeException","ResendSuccess":"Cognito.ResendSuccess","ResendError":"Cognito.ResendError"},"EnrollmentChange":{"Title":"EnrollmentChange.Title","BackButtonLabel":"EnrollmentChange.BackButtonLabel","ChangeButtonLabel":"EnrollmentChange.ChangeButtonLabel","ReasonHeader":"EnrollmentChange.ReasonHeader","ExitSchoolHeader":"EnrollmentChange.ExitSchoolHeader","ExitDateHeader":"EnrollmentChange.ExitDateHeader","EnterSchoolHeader":"EnrollmentChange.EnterSchoolHeader","EntryDateHeader":"EnrollmentChange.EntryDateHeader","ActionsHeader":"EnrollmentChange.ActionsHeader","InitialReason":"EnrollmentChange.InitialReason","RenewalReason":"EnrollmentChange.RenewalReason","TransferReason":"EnrollmentChange.TransferReason","WithdrawalReason":"EnrollmentChange.WithdrawalReason","ImportInitialReason":"EnrollmentChange.ImportInitialReason","UpdatedInfo":"EnrollmentChange.UpdatedInfo","CreatedInfo":"EnrollmentChange.CreatedInfo","ImportRenewalReason":"EnrollmentChange.ImportRenewalReason","UnknownReason":"EnrollmentChange.UnknownReason","EnrollmentModal":{"AddEnrollmentTitle":"EnrollmentChange.EnrollmentModal.AddEnrollmentTitle","AddEnrollmentText":"EnrollmentChange.EnrollmentModal.AddEnrollmentText","EditEnrollmentTitle":"EnrollmentChange.EnrollmentModal.EditEnrollmentTitle","EditEnrollmentText":"EnrollmentChange.EnrollmentModal.EditEnrollmentText","ViewEnrollmentTitle":"EnrollmentChange.EnrollmentModal.ViewEnrollmentTitle","ViewEnrollmentText":"EnrollmentChange.EnrollmentModal.ViewEnrollmentText","DeleteEnrollmentTitle":"EnrollmentChange.EnrollmentModal.DeleteEnrollmentTitle","DeleteEnrollmentText":"EnrollmentChange.EnrollmentModal.DeleteEnrollmentText","ExitDateLabel":"EnrollmentChange.EnrollmentModal.ExitDateLabel","ExitSchoolLabel":"EnrollmentChange.EnrollmentModal.ExitSchoolLabel","EntryDateLabel":"EnrollmentChange.EnrollmentModal.EntryDateLabel","EnteringSchoolLabel":"EnrollmentChange.EnrollmentModal.EnteringSchoolLabel","ChangeReasonLabel":"EnrollmentChange.EnrollmentModal.ChangeReasonLabel"}},"ChangeSchool":{"Header":"ChangeSchool.Header","Instructions":"ChangeSchool.Instructions","SelectLabel":"ChangeSchool.SelectLabel","UpdateButton":"ChangeSchool.UpdateButton"},"Dashboard":{"Placeholder":"Dashboard.Placeholder","Title":"Dashboard.Title"},"DatePicker":{"DefaultTitle":"DatePicker.DefaultTitle","InvalidMessage":"DatePicker.InvalidMessage"},"Email":{"EmailLabel":"Email.EmailLabel","EnterEmail":"Email.EnterEmail","EnterEmailValid":"Email.EnterEmailValid"},"File":{"AcceptedTypes":"File.AcceptedTypes","IncorrectType":"File.IncorrectType"},"FileDrop":{"ClickText":"FileDrop.ClickText","DropText":"FileDrop.DropText","UploadedOnLabel":"FileDrop.UploadedOnLabel"},"Finances":{"AnnualStatementsTab":{"GridHeaderDiscount":"Finances.AnnualStatementsTab.GridHeaderDiscount","GridHeaderFees":"Finances.AnnualStatementsTab.GridHeaderFees","GridHeaderGrade":"Finances.AnnualStatementsTab.GridHeaderGrade","GridHeaderSchoolName":"Finances.AnnualStatementsTab.GridHeaderSchoolName","GridHeaderStatus":"Finances.AnnualStatementsTab.GridHeaderStatus","GridHeaderStudent":"Finances.AnnualStatementsTab.GridHeaderStudent","GridHeaderSubmitted":"Finances.AnnualStatementsTab.GridHeaderSubmitted","GridHeaderTotalAmt":"Finances.AnnualStatementsTab.GridHeaderTotalAmt","GridHeaderTuition":"Finances.AnnualStatementsTab.GridHeaderTuition","GridHeaderApplicationType":"Finances.AnnualStatementsTab.GridHeaderApplicationType","NoStatements":"Finances.AnnualStatementsTab.NoStatements","RetrievingStatements":"Finances.AnnualStatementsTab.RetrievingStatements","TabTitle":"Finances.AnnualStatementsTab.TabTitle","TermLabel":"Finances.AnnualStatementsTab.TermLabel","FeeDeleted":"Finances.AnnualStatementsTab.FeeDeleted"},"Invoices":{"TabTitle":"Invoices","DateSubmitted":"Date Submitted","FirstName":"First Name","InvoiceNumber":"Invoice #","LastName":"Last Name","Grade":"Grade","SchoolName":"School","Period":"Period","LNHAward":"LNH Award","InvoiceAmount":"Check Amt","Status":"Status","AttendanceRecord":"Finances.Invoices.AttendanceRecord","PrintingInvoice":"Finances.Invoices.PrintingInvoice","InvoicePrinted":"Finances.Invoices.InvoicePrinted"},"Placeholder":"Finances.Placeholder","Title":"Finances.Title"},"InvoiceStatus":{"NotStarted":"Not Started","Submitted":"Submitted","Returned":"Returned","Approved":"Approved","Mailed":"Mailed","Created":"Created","Paid":"Paid"},"Filters":{"ApplicationTypeID":"Filters.ApplicationTypeID","DisabilityList":"Filters.DisabilityList","SchoolName":"Filters.SchoolName","Schoolname":"Filters.Schoolname"},"General":{"AjaxError":"General.AjaxError","Answer":{"No":"General.Answer.No","Yes":"General.Answer.Yes"},"Cancel":"General.Cancel","ChangesSaved":"General.ChangesSaved","Confirm":"General.Confirm","Continue":"General.Continue","Delete":"General.Delete","Edit":"General.Edit","IncompleteFields":"Genera.IncompleteFields","InteractiveSave":"General.InteractiveSave","InvalidOption":"General.InvalidOption","Loading":"General.Loading","NA":"General.NA","NoResults":"General.NoResults","RetrievingUserData":"General.RetrievingUserData","Save":"General.Save","StepNum":"General.StepNum {{num}}","Submitting":"General.Submitting","Submitted":"General.Submitted","Success":"General.Success","UnknownError":"General.UnknownError","ValidationError":"General.ValidationError","View":"General.View","XofY":"General.XofY"},"GradeLevel":{"Component":{"AddFee":"GradeLevel.Component.AddFee","CheckboxGroupLabel":"GradeLevel.Component.CheckboxGroupLabel","DeleteFeeGroup":"GradeLevel.Component.DeleteFee","DeleteText":"GradeLevel.Component.DeleteText","DeleteTitle":"GradeLevel.Component.DeleteTitle","FeesGroupLabel":"GradeLevel.Component.FeesGroupLabel","LevelTitle":"GradeLevel.Component.LevelTitle"},"Control":{"Add":"GradeLevel.Control.Add"},"Levels":{"PreK":"GradeLevel.Levels.PreK","PreKH":"GradeLevel.Levels.PreKH","K":"GradeLevel.Levels.K","KH":"GradeLevel.Levels.KH","G1":"GradeLevel.Levels.G1","G2":"GradeLevel.Levels.G2","G3":"GradeLevel.Levels.G3","G4":"GradeLevel.Levels.G4","G5":"GradeLevel.Levels.G5","G6":"GradeLevel.Levels.G6","G7":"GradeLevel.Levels.G7","G8":"GradeLevel.Levels.G8","G9":"GradeLevel.Levels.G9","G10":"GradeLevel.Levels.G10","G11":"GradeLevel.Levels.G11","G12":"GradeLevel.Levels.G12"}},"LabeledSelect":{"InvalidMessage":"LabeledSelect.InvalidMessage"},"LanguageSelector":{"LanguageChanged":"LanguageSelector.LanguageChanged"},"Name":{"EnterName":"Name.EnterName","EnterNameValid":"Name.EnterNameValid","NameLabel":"Name.NameLabel"},"NavBar":{"Applications":"NavBar.Applications","Dashboard":"NavBar.Dashboard","Finances":"NavBar.Finances","LogOut":"NavBar.LogOut","Reports":"NavBar.Reports","Schools":"NavBar.Schools","Settings":"NavBar.Settings","SiteSettings":"NavBar.SiteSettings","Students":"NavBar.Students","UserSettings":"NavBar.UserSettings"},"OutputPreview":{"AnchorText":"OutputPreview.AnchorText"},"Password":{"EnterPassword":"Password.EnterPassword","EnterPasswordLength":"Password.EnterPasswordLength","EnterPasswordNumber":"Password.EnterPasswordNumber","EnterPasswordSymbol":"Password.EnterPasswordSymbol","PasswordLabel":"Password.PasswordLabel"},"Phone":{"EnterPhoneNumber":"Phone.EnterPhoneNumber","EnterPhoneValid":"Phone.EnterPhoneValid","PhoneNumberLabel":"Phone.PhoneNumberLabel"},"Record":{"ActionButtonLabel":"Record.ActionButtonLabel","BackButtonLabel":"Record.BackButtonLabel","CityLabel":"Record.CityLabel","CreateInvoiceAction":"Record.CreateInvoiceAction","DOBLabel":"Record.DOBLabel","EligibilityText":"Record.EligibilityText","EmailLabel":"Record.EmailLabel","EnrollmentText":"Record.EnrollmentText","FirstNameLabel":"Record.FirstNameLabel","GradeLabel":"Record.GradeLabel","LastNameLabel":"Record.LastNameLabel","NotificationMessage":"Record.NotificationMessage","ParentAddressLabel":"Record.ParentAddressLabel","PhoneLabel":"Record.PhoneLabel","PrimaryDisabilityLabel":"Record.PrimaryDisabilityLabel","RenewApplicationAction":"Record.RenewApplicationAction","ReviewApplicationAction":"Record.ReviewApplicationAction","SchoolDistrictIEPLabel":"Record.SchoolDistrictIEPLabel","SchoolDistrictResidenceLabel":"Record.SchoolDistrictResidenceLabel","SchoolNameLabel":"Record.SchoolNameLabel","SchoolText1":"Record.SchoolText1","SchoolText2":"Record.SchoolText2","SchoolText3":"Record.SchoolText3","SecondaryDisabilityLabel":"Record.SecondaryDisabilityLabel","SectionATitle":"Record.SectionATitle","SectionBTitle":"Record.SectionBTitle","SectionCTitle":"Record.SectionCTitle","SectionDTitle":"Record.SectionDTitle","SectionETitle":"Record.SectionETitle","DocumentsTitle":"Record.DocumentsTitle","DataTitle":"Record.DataTitle","StateLabel":"Record.StateLabel","StatusLabel":"Record.StatusLabel","STNLabel":"Record.STNLabel","STNWarning":"Record.STNWarning","SubmittedByLabel":"Record.SubmittedByLabel","SubmittedOnLabel":"RecordSubmittedOnLabel","ViewHistoryAction":"Record.ViewHistoryAction","ZipLabel":"Record.ZipLabel","AcceptanceDateLabel":"Record.AcceptanceDateLabel","FullPartTimeLabel":"Record.FullPartTimeLabel","RevocationDateLabel":"Record.RevocationDateLabel","InitialYearLabel":"Record.InitialYearLabel","IEPISPLabel":"Record.IEPISPLabel","PayeeNameLabel":"Record.PayeeNameLabel","PayeeNumberLabel":"Record.PayeeNumberLabel","LocationLabel":"Record.LocationLabel","SSNLabel":"Record.SSNLabel"},"Reports":{"Placeholder":"Reports.Placeholder"},"SchoolInfo":{"AffidavitLabel":"SchoolInfo.AffidavitLabel","ContactEmailLabel":"SchoolInfo.ContactEmailLabel","ContactInformationHeader":"SchoolInfo.ContactInformationHeader","ContactNameLabel":"SchoolInfo.ContactNameLabel","ContactPhoneLabel":"SchoolInfo.ContactPhoneLabel","DeleteSchool":"SchoolInfo.DeleteSchool","EndDateLabel":"SchoolInfo.EndDateLabel","Header":"SchoolInfo.Header","Quarter1Label":"SchoolInfo.Quarter1Label","Quarter2Label":"SchoolInfo.Quarter2Label","Quarter3Label":"SchoolInfo.Quarter3Label","Quarter4Label":"SchoolInfo.Quarter4Label","QuarterInformationHeader":"SchoolInfo.QuarterInformationHeader","SchoolAddressLabel":"SchoolInfo.SchoolAddressLabel","SchoolAddressPlaceholder":"SchoolInfo.SchoolAddressPlaceholder","SchoolCityLabel":"SchoolInfo.SchoolCityLabel","SchoolCityPlaceholder":"SchoolInfo.SchoolCityPlaceholder","SchoolEmailLabel":"SchoolInfo.SchoolEmailLabel","SchoolEmailPlaceholder":"SchoolInfo.SchoolEmailPlaceholder","SchoolInformationHeader":"SchoolInfo.SchoolInformationHeader","SchoolNameLabel":"SchoolInfo.SchoolNameLabel","SchoolNamePlaceholder":"SchoolInfo.SchoolNamePlaceholder","SchoolPhoneLabel":"SchoolInfo.SchoolPhoneLabel","SchoolPhonePlaceholder":"SchoolInfo.SchoolPhonePlaceholder","SchoolStateLabel":"SchoolInfo.SchoolStateLabel","SchoolStatePlaceholder":"SchoolInfo.SchoolStatePlaceholder","SchoolURLLabel":"SchoolInfo.SchoolURLLabel","SchoolURLPlaceholder":"SchoolInfo.SchoolURLPlaceholder","SchoolZipLabel":"SchoolInfo.SchoolZipLabel","SchoolZipPlaceholder":"SchoolInfo.SchoolZipPlaceholder","StartDateLabel":"SchoolInfo.StartDateLabel","TuitionAndFeesHeader":"SchoolInfo.TuitionAndFeesHeader","TuitionAndFeesInstructions1":"SchoolInfo.TuitionAndFeesInstructions1","TuitionAndFeesInstructions2":"SchoolInfo.TuitionAndFeesInstructions2"},"Schools":{"Placeholder":"Schools.Placeholder"},"Settings":{"Tab":{"Organization":"Settings.Tab.Organization","Schools":"Settings.Tab.Schools","Users":"Settings.Tab.Users"},"Title":"Settings.Title","Users":{"Email":"Settings.Users.Email","Name":"Settings.Users.Name","Phone":"Settings.Users.Phone","Type":"Settings.Users.Type","Updated":"Settings.Users.Updated"}},"StmtStages":{"Created":"StmtStages.Created","NotStarted":"StmtStages.NotStarted","Submitted":"StmtStages.Submitted"},"Students":{"AcceptRenewals":{"AcceptMessage1":"Students.AccountRenewals.AcceptMessage1","AcceptMessage2":"Students.AccountRenewals.AcceptMessage2","AcceptMessage3":"Students.AccountRenewals.AcceptMessage3","AcceptRenewalHeader":"Students.AcceptRenewals.AcceptRenewalHeader","AcceptRenewalsButton":"Students.AcceptRenewals.AcceptRenewalsButton","BackButton":"Students.AcceptRenewals.BackButton","GridDescription":"Students.AcceptRenewals.GridDescription","GridTitleSchoolYearAbbreviation":"Students.AcceptRenewals.GridTitleSchoolYearAbbreviation","ModalAccept":"Students.AccountRenewals.ModalAccept","ModalTitle":"Students.AcceptRenewals.ModalTitle","OnBehalfOf":"Students.AccountRenewals.OnBehalfOf","StudentNameHeader":"Students.AcceptRenewals.StudentNameHeader","TitleAccept":"Students.AcceptRenewals.TitleAccept","TitleRenewals":"Students.AcceptRenewals.TitleRenewals","WishTo":"Students.AccountRenewals.WishTo"},"CurrentRoster":"Students.CurrentRoster","FirstYear":"Students.FirstYear","Grade":"Students.Grade","LastInvoice":"Students.LastInvoice","LNHAward":"Students.LNHAward","NewApplications":"Students.NewApplications","Parent":"Students.Parent","RenewAcceptance":"Students.RenewAcceptance","SchoolReview":"Students.SchoolReview","Status":"Students.Status","STN":"Students.STN","Student":"Students.Student","Submitted":"Students.Submitted","TitleMy":"Students.TitleMy","TitleStudents":"Students.TitleStudents"},"UserSettings":{"AccountSectionTitle":"UserSettings.AccountSectionTitle","CancelChangePasswordButtonText":"UserSettings.CancelChangePasswordButtonText","ChangePasswordButtonText":"UserSettings.ChangePasswordButtonText","ChangeUsernameButtonText":"UserSettings.ChangeUsernameButtonText","EmailLabel":"UserSettings.EmailLabel","EmailNotifyDescription":"UserSettings.EmailNotifyDescription","EmailNotifyLabel":"UserSettings.EmailNotifyLabel","EnterFirstName":"UserSettings.EnterFirstName","EnterFirstNameValid":"UserSettings.EnterFirstNameValid","EnterLastName":"UserSettings.EnterLastName","EnterLastNameValid":"UserSettings.EnterLastNameValid","EnterUserName":"UserSettings.EnterUserName","FirstNameLabel":"UserSettings.FirstNameLabel","HeaderInfo":"UserSettings.HeaderInfo","HeaderMy":"UserSettings.HeaderMy","LanguagePref":"UserSettings.LanguagePref","LastNameLabel":"UserSettings.LastNameLabel","NotificationSectionTitle":"UserSettings.NotificationSectionTitle","Other":{"Active":"UserSettings.Other.Active","Back":"UserSettings.Other.Back","CreatedDate":"UserSettings.Other.CreatedDate","Delete":"UserSettings.Other.Delete","Deleted":"UserSettings.Other.Deleted","EmailLocation":"UserSettings.Other.EmailLocation","EmailToggle":"UserSettings.Other.EmailToggle","FirstName":"UserSettings.Other.FirstName","Header":"UserSettings.Other.Header","Inactive":"UserSettings.Other.Inactive","Language":"UserSettings.Other.Language","LastName":"UserSettings.Other.LastName","LastUpdated":"UserSettings.Other.LastUpdated","New":"UserSettings.Other.New","Organization":"UserSettings.Other.Organization","PasswordReset":"UserSettings.Other.PasswordReset","Save":"UserSettings.Other.Save","SmsLocation":"UserSettings.Other.SmsLocation","SmsToggle":"UserSettings.Other.SmsToggle","Status":"UserSettings.Other.Status","Title":"UserSettings.Other.Title","UnableToElevate":"UserSettings.Other.UnableToElevate","Undelete":"UserSettings.Other.Undelete","UserType":"UserSettings.Other.UserType","SameEmail":"UserSettings.Other.SameEmail","ScholarshipOrg":"UserSettings.Other.ScholarshipOrg","AdminOrg":"UserSettings.Other.AdminOrg"},"PersonalSectionTitle":"UserSettings.PersonalSectionTitle","SaveButtonText":"UserSettings.SaveButtonText","TextNotifyDescription":"UserSettings.TextNotifyDescription","TextNotifyLabel":"UserSettings.TextNotifyLabel","UserNameLabel":"UserSettings.UserNameLabel","WhichNumberLabel":"UserSettings.WhichNumberLabel"},"UserType":{"1":"UserType.1","2":"UserType.2","3":"UserType.3","4":"UserType.4"},"ViewHistory":{"AnswerLine1":"ViewHistory.AnswerLine1","AnswerLine2":"ViewHistory.AnswerLine2","AnswerLine3":"ViewHistory.AnswerLine3","AnswerLine4":"ViewHistory.AnswerLine4","ApplicationChangeLine1":"ViewHistory.ApplicationChangeLine1","ApplicationChangeLine2":"ViewHistory.ApplicationChangeLine2","ApplicationChangeLine3":"ViewHistory.ApplicationChangeLine3","ApplicationChangeLine4":"ViewHistory.ApplicationChangeLine4","StatementLine1":"ViewHistory.StatementLine1","StatementLine2":"ViewHistory.StatementLine2","StatusLine1":"ViewHistory.StatusLine1","StatusLine2":"ViewHistory.StatusLine2","StatusLine3":"ViewHistory.StatusLine3","Subtitle":"ViewHistory.Subtitle","Title":"ViewHistory.Title","FileAdded":"ViewHistory.FileAdded","FileRemoved":"ViewHistory.FileRemoved","AnnualStatementSubmitted":"ViewHistory.AnnualStatementSubmitted"},"WithdrawApp":{"CheckboxLabel":"WithdrawApp.CheckboxLabel","Instructions":"WithdrawApp.Instructions","WithdrawButton":"WithdrawApp.WithdrawButton"},"WithdrawProgram":{"AddInfoLabel":"WithdrawProgram.AddInfoLabel","Note":"WithdrawProgram.Note","SelectLabel":"WithdrawProgram.SelectLabel","Step1Instructions":"WithdrawProgram.Step1Instructions","Step2Exclamation":"WithdrawProgram.Step2Exclamation","Step2Instructions":"WithdrawProgram.Step2Instructions","SubmitButton":"WithdrawProgram.SubmitButton","Title":"WithdrawProgram.Title"}}}')},232:function(e){e.exports=JSON.parse('{"a":{"AcceptDecline":{"AcceptExplanation":"Please read the below statement regarding the revocation of consent and then electronically sign the document and submit your scholarship acceptance. You will be able to view the signed revocation of consent document on the \'My Applications\' page.","AcceptScholarship":"Accept scholarship","ClearButton":"Clear and try again","DateLabel":"Date","DeclineExplanation":"I understand that by declining the scholarship I will not be receiving tuition reimbursement for my child to attend private school. If I decide to seek reimbursement at a later date I will need to submit a new application and go through the approval process again.","DeclineScholarship":"Decline scholarship","GuardianLabel":"Parent/legal guardian","Header1":"Accept or decline scholarship.","Header2":"Sign revocation of consent.","Header3":"Decline scholarship.","Header4":"Scholarship details.","LegalDescription":"Pursuant to 34 C.F.R. \xa7 300.300(b)(4), I hereby revoke consent for my child listed above, to receive special education and related services in order to accept the Lindsey Nicole Henry (LNH) Scholarship. I understand that if I wish for special education and related services to be provided to my child at any time in the future, I must request a new evaluation under C.F.R. \xa7 300.300(a), and that special education services will only be available to my child upon completion of a new evaluation and a determination that my child is eligible for services under the Individuals with Disabilities Education Act (IDEA).","ScholarshipCalculation":"This maximum scholarship amount was calculated according to the following information:","SelectLabel":"Response","SignButton":"Sign","Step1Explanation1":"You have been awarded a maximum scholarship amount to attend **{{schoolName}}** in the amount of `{{scholarship}}` per year.","Step1Explanation2":"The amount of tuition reimbursement you will receive *may be less* than the maximum scholarship award if your tuition is less than the scholarship award *OR* if your student\'s attendance at the private school school begins after the school year has started, in which case the scholarship will be prorated.","StudentLabel":"Student name","Calc1":"Initial State Aid Factors:","Calc2":"Grade Level Weight:","Calc3":"Primary Disability Weight:","Calc4":"Secondary Disability Weight:","WeightTotals":"Total Grade and Special Education Weight:","Scholarship1":"Maximum Scholarship:","Scholarship2":"Less 2.5% Administrative Fee:","Scholarship3":"Annual Maximum Scholarship:","Scholarship4":"Four quarterly payments of:","ResponseInstructions":"Please choose \\"Accept\\" or \\"Decline\u2026\\" in the response field below. If you choose to accept the scholarship, you will then be prompted to complete the Revocation of Consent document.","AcceptedCalculation":"Below is the breakdown of your student\'s scholarship award, and how the final amount was determined.","AcceptedNote":"*Note: the amount of tuition reimbursement you will receive may be less than the maximum scholarship award if your tuition is less than the scholarship award OR if your student\'s attendance at the private school school begins after the school year has started, in which case the scholarship will be prorated.*"},"AnnualStatements":{"AutoPopButton":"Autopopulate table","BackButtonLabel":"Back to annual statements","DescriptionHeader":"Description","DiscountsLabel":"Discount(s)","DOBLabel":"Student DOB","FeesLabel":"Description","GradeLevelLabel":"Grade Level","LoadingTitle":"Retrieving Annual Statement information...","ParentGuardianLabel":"Parent/Guardian Name","SaveButton":"Save changes","StatementDateLabel":"Statement Date","StatementInformationHeader":"Details","Status":"Status:","StudentLabel":"Student Name","SubmitButton":"Submit statement","SubmittedBy":"Submitted by:","SubmittedOn":"Submitted on:","SummaryDescription":"Please enter the tuition and fees information below for the entire school year. **DO NOT enter prorated amounts.** Please itemize the fees including any special services and/or therapies needed to address the educational needs resulting from the student\'s disability, and also include any student/family discount(s) if applicable.","Title":"Annual Statement for **{{StudentName}}.**","TotalsLabel":"Total Annual Tuition + Fees + Discount(s)","AutoPopError":"The student\'s grade level does not have any tuition or fees data defined in the School Info page."},"Application":{"BackToApplications":"Back to My Applications","BackToStep":"Back to {{stepName}}","CheckboxTooFew":"(At least {{min}} checkboxes are required)","CheckboxTooMany":"(Please choose no more than {{max}} responses)","FilesTooFew":"(At least {{min}} files are required)","FilesTooMany":"(Please upload no more than {{max}} files)","MissingDOB":"(Must enter a Date of Birth)","Required":"(Required)","Submit":"Submit","Submitting":"Submitting","ValidationFailure":"Please review your application for errors. All section headers must be check-marked before you can submit your application.","ReviewMessage":"Attention! {{ApplicantName}}\'s application has been returned. Please make the appropriate corrections and sign and submit again."},"Applications":{"Create":{"Button":"Create application","Error":"An error occurred while creating a new application.","Header":"Create new application for the **{{schoolYear}}** school year.","Instructions":"To create a new application, please select the student from the list below. If it is for a new student, please select \'New Student\'. If you don\'t see a student you expect to see, they may already have an application for this school year, and you can access it from the previous page (\'My Applications\').","Warning":"**Attention: This application will be for the {{schoolYear}} school year.**","NewStudent":"New Student","Retrieving":"Retrieving term information","Start":"Start application"},"Delete":{"Action":"Delete","Body":"Please confirm that you would like to **delete** your student\'s application. This action _cannot be undone._","Confirmation":"I would like to **delete** the application","Header":"**Delete** application for {{studentName}}.","Success":"The application for {{studentName}} was deleted."},"Header":"My **Applications.**","List":{"Actions":{"AcceptDecline":"Accept/Decline scholarship","BeginRenewal":"Begin renewal","ChangeSchool":"Change private school","Delete":"Delete application","Edit":"Edit application","Placeholder":"Actions","Update":"Update application","View":"View application","WithdrawApplication":"Withdraw application","WithdrawProgram":"Withdraw from program","ViewScholarship":"View scholarship details"},"Amount":"Scholarship Amt","Attachments":"Application PDFs and Attachments","Date":"Application Date","Enrollment":"Enrollment Status","School":"Private School","Status":"Application Status"},"NoDocs":"No documents to display.","NoName":"No Name","ReviewMessage":"Attention! {{ApplicantName}}\'s application has been returned. Select \'Edit application\' from the Actions menu to see more information.","ApprovedMessage":"Hello! {{ApplicantName}}\'s application has been Approved. You will be contacted again with the final scholarship amount and a request for your acceptance of the scholarship in July.","PendingMessage":"Hello! {{ApplicantName}}\'s scholarship is now pending your acceptance. Please choose \'Accept or decline scholarship\' from the Actions menu to either accept or decline the scholarship.","ScholarshipOrg":{"Count":"{{count}} applications","Grid":{"DateOfBirth":"DOB","Disability":"Disability","School":"Private School","Status":"Status","Student":"Student","StudentFirstName":"First Name","StudentLastName":"Last Name","UniqueID":"ID","Type":"Type","UpdatedDate":"Updated","Term":"Term"},"StatusFilter":"Status filter:"}},"AppReview":{"AssignToLabel":"Assign To","CurrentStatusLabel":"Current Status","DefaultTitle":"Default Title","NewStatusLabel":"New Status","ReviewMessage":"Reason for status change","ReviewReasons":"Private School Review Reason(s)","UpdateButton":"Update Status","UploadLetterLabel":"Upload Acceptance Letter","LoadingMessage":"Retrieving statuses...","ErrorMessage":"Complete all required fields."},"AppStages":{"Accepted":"Accepted","Approved":"Approved","Declined":"Declined","Denied":"Denied","DHSReview":"DHS Review","EnrollmentChange":"Enrollment Change","Funded":"Funded","Pending":"Pending Acceptance","Returned":"Returned to Parent","SchoolReview":"School Review","SDEReview":"SDE Review","Started":"Started","Undefined":"Undefined","Withdrawn":"Withdrawn"},"Authentication":{"AccountUnconfirmed":"Unconfirmed account. Please check your email and enter the verification code.","AccountVerified":"Account verified. Please log in again.","AttemptsExceeded":"Too many authentication attempts. Please try again after some time.","ChangePassword":"Change password","ChangePasswordRequirements":"Please enter your current password and then a new password. Your new password must be different than your previous password, it must be at least 8 characters, it must contain at least one uppercase letter, one lowercase letter, one number, and one of the following symbols: ~,!,@,#,$,%,^,&","CheckingCredentials":"Checking credentials","ConfirmPassword":"Confirm new password","ConfirmPasswordInstructions":"Passwords must match.","CreateAccount":{"AccountExists":"Account already exists.","AlreadyHave":"Already have an account?","CodeInstructions":"We have sent a verification code to your email. Enter it below to continue to sign in.","CodeSubmit":"Verify and log in","Email":"Email","EnterCode":"Enter verification code","EnterEmail":"Enter your email address","EnterEmailValid":"Please enter your email in a valid email format","EnterFirstName":"Enter your first name","EnterLastName":"Enter your last name","EnterMobile":"Enter your mobile phone number","EnterPasswordLength":"Please enter a password that is at least 8 characters long","EnterPasswordNumber":"Please enter a password that contains at least one number","EnterPasswordSymbol":"Please enter a password that contains at least one symbol ( $,!,@,#,%,^,&,* )","EnterUppercase":"Please enter a password that contains at least one uppercase character","EnterLowercase":"Please enter a password that contains at least one lowercase character","EnterPhone":"Please enter a 10 digit phone number","EnterRepeatPassword":"Enter your password a second time","FirstName":"First Name","Instructions":"Complete the fields below and then click \'Send a verification code\' to log in to the application portal.","InvalidInput":"Invalid Input","LastName":"Last Name","LogIn":"Log in","Mobile":"Mobile Phone","NotAllowed":"Sign up is not permitted","PasswordsNotMatch":"Passwords do not match","RepeatPassword":"Repeat password","SendCode":"Send a verification code","TermsAndConditions":"By creating your account, you agree to our [Terms and Conditions](pcg_scholar_terms_of_service.pdf) and [Privacy Policy](pcg_scholar_privacy_notice.pdf)","Title":"Create your account","SessionExpired":"Session has expired, please login again with the temporary password provided."},"CreateAnAccountLink":"Create your account","CreateNewPassword":"Create new password","CurrentPassword":"Current Password","Email":"Email","EnterEmail":"Enter your Email","EnterPassword":"Enter your password","ForgotPasswordLink":"Forgot password?","ForgotPasswordPage":{"Email":"Email address","EnterEmail":"Enter your email address","EnterVerificationCode":"Enter verification code","Instructions":"Enter the email associated with your account and we\'ll send an email with instructions to reset your password.","Return":"Return to Sign In","SendInstructions":"Send instructions","Title":"Reset password","VerificationCode":"Verification Code","VerificationCodeInstructions":"We have sent a verification code to your email. Enter it below to continue to reset your password.","VerificationCodeNoReceive":"Didn\'t receive an email?","VerificationCodeResend":"Try again","VerificationCodeSubmit":"Verify me"},"ForgotPasswordRequirements":"Your new password must be different than your previous password, it must be at least 8 characters, it must contain at least one uppercase letter, one lowercase letter, one number, and one of the following symbols: ~,!,@,#,$,%,^,&","InvalidCredentials":"Incorrect Email or Password","LogIn":"Log in to your Account","NewPassword":"New password","NotRegisteredYet":"Not registered yet?","Password":"Password","PasswordChanged":"Password Changed","PasswordChangeError":"Error encountered while changing password","PasswordInstructions":"Must be at least 8 characters.","PasswordWeak":"Password does not meet requirements.","ResetPassword":"Reset password","TooManyResetAttempts":"Too many reset attempts. Please try again after some time.","VerificationCodeExpired":"Verification code expired. A new one has been sent. Please try again.","VerificationCodeIncorrect":"The verification code you entered is incorrect.","EnterEmailAndPassword":"Enter your Email and Password"},"ChangeUsername":{"Title":"Change username","UsernameLabel":"Username","NewUsernameLabel":"New username","UsernameError":"Please enter a valid email address as the new username."},"Cognito":{"ExpiredCodeException":"This verification code has expired. Please request a new one be sent to your email using the Resend code link.","ResendSuccess":"A new code has been sent to the email you\'ve attempted to verify.","ResendError":"Error occurred during resend request. Please wait a while and try again."},"EnrollmentChange":{"Title":"{{ApplicantName}} ({{UniqueID}})","BackButtonLabel":"Back to application","ChangeButtonLabel":"Add enrollment change","ReasonHeader":"Reason","ExitSchoolHeader":"Exiting school","ExitDateHeader":"Exit date","EnterSchoolHeader":"Entering school","EntryDateHeader":"Entry date","ActionsHeader":"Actions","InitialReason":"New application","RenewalReason":"Renewal application","TransferReason":"Transfer to new school","WithdrawalReason":"Withdrawal","ImportInitialReason":"**Import** - New application","ImportRenewalReason":"**Import** - Renewal application","UnknownReason":"Reason unknown","UpdatedInfo":"Updated on","CreatedInfo":"Created on","EnrollmentModal":{"AddEnrollmentTitle":"Add enrollment change.","AddEnrollmentText":"To add a new enrollment change select the Reason first, and then complete all required fields.","EditEnrollmentTitle":"Edit enrollment change.","EditEnrollmentText":"To edit the record you can update the editable fields below and save. The Reason field is not editable and you will need to delete this record and create a new one if you selected the incorrect reason.","ViewEnrollmentTitle":"View enrollment change.","ViewEnrollmentText":"Below are the details for this enrollment change.","DeleteEnrollmentTitle":"Delete enrollment change.","DeleteEnrollmentText":"**ATTENTION:** You are about to delete the below enrollment change. The student will be placed back into the previous school and/or enrollment status. This action cannot be undone.","ExitDateLabel":"Exit date","ExitSchoolLabel":"Exiting school:","EntryDateLabel":"Entry date","EnteringSchoolLabel":"Entering school","ChangeReasonLabel":"Change reason"}},"ChangeSchool":{"Header":"Change Private School","Instructions":"Please select the new private school and upload the acceptance letter","SelectLabel":"New private school","UpdateButton":"Update"},"Dashboard":{"Placeholder":"I am Dashboard component. This should only show post login.","Title":"Dashboard."},"DatePicker":{"DefaultTitle":"Date","InvalidMessage":"A date must be selected."},"Email":{"EmailLabel":"Email","EnterEmail":"Enter your email address","EnterEmailValid":"Please enter your email in a valid email format"},"File":{"AcceptedTypes":"Accepted file types are: {{acceptedFileTypes}}","IncorrectType":"Please upload one of the listed file types."},"FileDrop":{"ClickText":"Click here to browse for files","DropText":"Drag and drop files here to upload or","UploadedOnLabel":"Uploaded on"},"Finances":{"AnnualStatementsTab":{"GridHeaderDiscount":"Discount","GridHeaderFees":"Fees","GridHeaderGrade":"Grade","GridHeaderSchoolName":"School Name","GridHeaderStatus":"Status/Actions","GridHeaderStudent":"Student","GridHeaderSubmitted":"Date Submitted","GridHeaderTotalAmt":"Total Amt","GridHeaderTuition":"Tuition","GridHeaderApplicationType":"Application Type","NoStatements":"No pending Annual Statements to display.","RetrievingStatements":"Retrieving Annual Statements...","TabTitle":"Annual Statements","TermLabel":"School Year:","FeeDeleted":"Fee deleted."},"Invoices":{"TabTitle":"Invoices","DateSubmitted":"Date Submitted","FirstName":"First Name","InvoiceNumber":"Invoice #","LastName":"Last Name","Grade":"Grade","SchoolName":"School","Period":"Period","LNHAward":"LNH Award","InvoiceAmount":"Check Amt","Status":"Status","AttendanceRecord":"Attendance Record","PrintingInvoice":"Printing invoices...","InvoicePrinted":"Invoice printed."},"Placeholder":"I am Finances component. This should only show post login.","Title":"My **Finances.**"},"Filters":{"ApplicationTypeID":"Type","DisabilityList":"Disability","SchoolName":"Private School","Schoolname":"Private School"},"InvoiceStatus":{"NotStarted":"Not Started","Submitted":"Submitted","Returned":"Returned","Approved":"Approved","Mailed":"Mailed","Created":"Created","Paid":"Paid"},"General":{"AjaxError":"An error occurred, please contact your system administrator.","Answer":{"No":"No","Yes":"Yes"},"Cancel":"Cancel","ChangesSaved":"Changes saved.","Confirm":"Confirm","Continue":"Continue","Delete":"Delete","Edit":"Edit","IncompleteFields":"Incomplete required fields, please review, correct and resubmit.","InteractiveSave":"Saving","InvalidOption":"Selected option is not valid.","Loading":"Loading","NA":"N/A","NoResults":"No results to display.","RetrievingUserData":"Retrieving saved user settings...","Save":"Save","StepNum":"Step {{num}}","Submitting":"Submitting","Submitted":"Submitted","Success":"Success","UnknownError":"Unknown Error","ValidationError":"Please complete all required fields.","View":"View","XofY":"of"},"GradeLevel":{"Component":{"AddFee":"Click to add item","CheckboxGroupLabel":"Grade Levels","DeleteFeeGroup":"Delete this group","DeleteText":"Please confirm that you would like to **delete** Grade Level Group {{GroupNumber}}.","DeleteTitle":"**Delete** grade level group.","FeesGroupLabel":"Tuition and Fees","LevelTitle":"Grade Level Group {{GroupNumber}}"},"Control":{"Add":"Add new grade level group"},"Levels":{"PreK":"Pre-K","PreKH":"Pre-K - Half Day","K":"Kindergarten","KH":"Kindergarten - Half Day","G1":"1st Grade","G2":"2nd Grade","G3":"3rd Grade","G4":"4th Grade","G5":"5th Grade","G6":"6th Grade","G7":"7th Grade","G8":"8th Grade","G9":"9th Grade","G10":"10th Grade","G11":"11th Grade","G12":"12th Grade"}},"LabeledSelect":{"InvalidMessage":"An option must be selected."},"LanguageSelector":{"LanguageChanged":"Language preference updated."},"Name":{"EnterName":"Enter your name","EnterNameValid":"Please enter a valid name","NameLabel":"Name"},"NavBar":{"Applications":"Applications","Dashboard":"Dashboard","Finances":"Finances","LogOut":"Log out","Reports":"Reports","Schools":"Schools","Settings":"Settings","SiteSettings":"Site Settings","Students":"Students","UserSettings":"My Info"},"OutputPreview":{"AnchorText":"Click here to preview your application"},"Password":{"EnterPassword":"Enter your password","EnterPasswordLength":"Please enter a password that is at least 8 characters long","EnterPasswordNumber":"Please enter a password that contains at least one number","EnterPasswordSymbol":"Please enter a password that contains at least one symbol ( $,!,@,#,%,^,&,* )","PasswordLabel":"Password"},"Phone":{"EnterPhoneNumber":"Enter a 10 digit phone number","EnterPhoneValid":"Please enter your phone number in a valid 10 digit format","PhoneNumberLabel":"Phone Number"},"Record":{"ActionButtonLabel":"Actions","BackButtonLabel":"Back to all","CityLabel":"City:","CreateInvoiceAction":"Create invoice","DOBLabel":"DOB:","EligibilityText":"I verify that my child has an Individualized Education Program (IEP) in accordance with the Individuals with Disabilities Education Act (IDEA). The IEP and Multidisciplinary Evaluation and Eligibility Group Summary (MEEGS) is attached.","EmailLabel":"Email Address:","EnrollmentText":"I verify that my child has spent the prior school year in attendance at a public school in Oklahoma. For purposes of the scholarship, \u201cprior school year in attendance\u201d means that the student was enrolled in and reported by a school district for funding purposes during the preceding school year.","FirstNameLabel":"First Name:","GradeLabel":"Grade Entering:","LastNameLabel":"Last Name:","NotificationMessage":"Attention. Please upload the student\'s acceptance letter in the Attachments section below and then click the Submit button.","ParentAddressLabel":"Parent Address:","PhoneLabel":"Phone Number:","PrimaryDisabilityLabel":"Primary Disability:","RenewApplicationAction":"Renew acceptance","ReviewApplicationAction":"Edit Status","SchoolDistrictIEPLabel":"District of IEP:","SchoolDistrictResidenceLabel":"District of Residence:","SchoolNameLabel":"Private School:","SchoolText1":"This student has been accepted to attend","SchoolText2":"for the","SchoolText3":"school year.","SecondaryDisabilityLabel":"Secondary Disability:","SectionATitle":"Section A - Student Information","SectionBTitle":"Section B - Parent Information","SectionCTitle":"Section C - Eligibility Verification","SectionDTitle":"Section D - Enrollment Verification","SectionETitle":"Section E - Private School Verification","DocumentsTitle":"Documents","DataTitle":"LNH Required Data Collection","StateLabel":"State:","StatusLabel":"Status:","STNLabel":"STN:","STNWarning":"STN must only contain numeric values.","SubmittedByLabel":"Submitted by","SubmittedOnLabel":"Submitted on","ViewHistoryAction":"View history","ZipLabel":"Zip Code:","AcceptanceDateLabel":"Private School Acceptance Date:","FullPartTimeLabel":"Full-time or Part-time Enrollment:","RevocationDateLabel":"Revocation of Consent Date:","InitialYearLabel":"Initial Year:","IEPISPLabel":"IEP or ISP:","PayeeNameLabel":"Payee Name:","PayeeNumberLabel":"Payee Number:","LocationLabel":"Location:","SSNLabel":"SSN:"},"Reports":{"Placeholder":"I am Reports component. This should only show post login."},"SchoolInfo":{"AffidavitLabel":"Private school affidavit","ContactEmailLabel":"Contact Email","ContactInformationHeader":"Contact Information","ContactNameLabel":"Contact Name","ContactPhoneLabel":"Contact Phone Number","DeleteSchool":"Delete school","EndDateLabel":"End Date","Header":"My **School**","Quarter1Label":"Quarter 1","Quarter2Label":"Quarter 2","Quarter3Label":"Quarter 3","Quarter4Label":"Quarter 4","QuarterInformationHeader":"Quarter Information","SchoolAddressLabel":"Address","SchoolAddressPlaceholder":"Enter the school\'s address","SchoolCityLabel":"City","SchoolCityPlaceholder":"Enter the school\'s city","SchoolEmailLabel":"Email Address","SchoolEmailPlaceholder":"Enter the official email for your school","SchoolInformationHeader":"School Information","SchoolNameLabel":"Name","SchoolNamePlaceholder":"Enter the school\'s name","SchoolPhoneLabel":"Phone Number","SchoolPhonePlaceholder":"Enter the school\'s phone number","SchoolStateLabel":"State","SchoolStatePlaceholder":"Enter the school\'s state","SchoolURLLabel":"Website","SchoolURLPlaceholder":"Enter the URL for your school\'s website","SchoolZipLabel":"Zip code (9 digit)","SchoolZipPlaceholder":"Enter the school\'s zip code","StartDateLabel":"Start Date","TuitionAndFeesHeader":"Tuition and Fees","TuitionAndFeesInstructions1":"You may use this section to document your tuition and fees for your students\' annual statements. The information you provide here will populate the annual statements based on the student\'s grade level. To enter your tuition and fees, first start by selecting the grade levels that the tuition and fees apply to, and then add the tuition and fee information. Click on the \\"Add new grade level group\\" button to add more grade level groups.","TuitionAndFeesInstructions2":"Please enter the tuition and fees information below for the entire school year. **DO NOT enter prorated amounts.** Please itemize the fees including any special services and/or therapies needed to address the educational needs resulting from the student\'s disability."},"Schools":{"Placeholder":"I am Schools component. This should only show post login."},"Settings":{"Tab":{"Organization":"My Organization","Schools":"Private Schools","Users":"Users"},"Title":"Site **Settings.**","Users":{"Email":"Email Address","Name":"Name","Phone":"Phone Number","Type":"User Type","Updated":"Last Updated"}},"StmtStages":{"Created":"Created","NotStarted":"Not Started","Submitted":"Submitted"},"Students":{"AcceptRenewals":{"AcceptMessage1":"the selected students for the","AcceptMessage2":"school year.","AcceptMessage3":"This action will serve as the selected students\' acceptance letters and will not require the student\'s parents or legal guardians to submit new letters as part of their renewal applications.","AcceptRenewalHeader":"Accept Renewal","AcceptRenewalsButton":"Accept renewals","BackButton":"Back to students","GridDescription":"Select the checkbox(es) for the student(s) that are being accepted for another school year. This action will act as the student\'s acceptance letter to your school for the upcoming school year.","GridTitleSchoolYearAbbreviation":"SY","ModalAccept":"Accept","ModalTitle":"Accept Renewal","OnBehalfOf":"On behalf of","StudentNameHeader":"Students","TitleAccept":"Accept","TitleRenewals":"Renewals.","WishTo":"I wish to"},"CurrentRoster":"Current Roster","FirstYear":"First year","Grade":"Grade","LastInvoice":"Last invoice","LNHAward":"LNH Award","NewApplications":"New Applications","Parent":"Parent","RenewAcceptance":"Renew acceptance","SchoolReview":"School Review","Status":"Status","STN":"STN","Student":"Student","Submitted":"Submitted","TitleMy":"My","TitleStudents":"Students."},"UserSettings":{"AccountSectionTitle":"Account Information","CancelChangePasswordButtonText":"Cancel","ChangePasswordButtonText":"Change password","ChangeUsernameButtonText":"Change username","EmailLabel":"Email","EmailNotifyDescription":"Would you like to receive email notifications?","EmailNotifyLabel":"Email Notifications","EnterFirstName":"Enter your first name.","EnterFirstNameValid":"Please enter a valid first name.","EnterLastName":"Enter your last name","EnterLastNameValid":"Please enter a valid last name.","EnterUserName":"Enter your username.","FirstNameLabel":"First Name","HeaderInfo":"Info.","HeaderMy":"My","LanguagePref":"Language Preference","LastNameLabel":"Last Name","NotificationSectionTitle":"Notification Settings","Other":{"Active":"Active","Back":"Back to all users","CreatedDate":"Created date","Delete":"Delete user","Deleted":"User has been deactivated","EmailLocation":"Email address","EmailToggle":"Email notifications","FirstName":"First name","Header":"User Information","Inactive":"Inactive","Language":"Language preference","LastName":"Last name","LastUpdated":"Last updated date","New":"New User","Organization":"Organization","PasswordReset":"Initiate password reset","Save":"Save changes","SmsLocation":"Phone number","SmsToggle":"SMS notifications","Status":"Status","Title":"Edit user **{{userFullName}}**","UnableToElevate":"You are not allowed to elevate this user higher than your own permission level.","Undelete":"Reactivate User","UserType":"User type","SameEmail":"The email address you have entered is already in use by another user. Please verify this account doesn\'t already exist, or use a different email address for this user.","ScholarshipOrg":"OK SDE","AdminOrg":"Lindsey Nicole Henry Scholarship Program"},"PersonalSectionTitle":"Personal Information","SaveButtonText":"Save changes","TextNotifyDescription":"Would you like to receive text notifications on your mobile device?","TextNotifyLabel":"Text Notifications","UserNameLabel":"Username","WhichNumberLabel":"What number would you like to receive them at?"},"UserType":{"1":"Parent","2":"School Admin","3":"Scholarship Admin","4":"Admiral"},"ViewHistory":{"AnswerLine1":"{{QuestionName}} changed.","AnswerLine2":"From:","AnswerLine3":"To:","AnswerLine4":"Change Description:","ApplicationChangeLine1":"**{{ChangeUser}}** updated {{Applicant}}\'s {{Item}}:","ApplicationChangeLine2":"Changed {{QuestionName}}:","ApplicationChangeLine3":"From: {{PreviousValue}}","ApplicationChangeLine4":"To: **{{CurrentValue}}**","StatementLine1":"**{{ChangeUser}}** submitted **{{Applicant}}\'s**: *{{Type}}*","StatementLine2":"School: **{{SchoolName}}**","StatusLine1":"**{{ChangeUser}}** updated the status to: ","StatusLine2":"School: {{SchoolName}}","StatusLine3":"Status Change Reason:","Subtitle":"Below you will see all the history of this student\'s application and application data. This includes all status changes, data changes, and any accompanying messages.","Title":"System history for **{{ApplicantName}}**","FileAdded":"**{{ChangeUser}}** added the *{{FileName}}*","FileRemoved":"**{{ChangeUser}}** removed the *{{FileName}}*","AnnualStatementSubmitted":"**{{ActorName}}** submitted an Annual Statement for *{{PrivateSchool}}*."},"WithdrawApp":{"CheckboxLabel":"I would like to withdraw this application","Instructions":"Please confirm that you would like to withdraw your student\'s application.","WithdrawButton":"Withdraw"},"WithdrawProgram":{"AddInfoLabel":"Additional information:","Note":"Note: This action **cannot** be undone. If you wish to re-enroll {{name}} in the scholarship program at a later date you will need to apply for the scholarship again.","SelectLabel":"Withdraw from:","Step1Instructions":"Please enter the reason you are withdrawing your student from the scholarship program","Step2Exclamation":"Withdraw","Step2Instructions":"Please confirm the following action:","SubmitButton":"Submit","Title":"Withdraw {{name}} from program "}}}')},233:function(e){e.exports=JSON.parse('{"a":{"AcceptDecline":{"AcceptExplanation":"AcceptDecline.AcceptExplanation","AcceptScholarship":"AcceptDecline.AcceptScholarship","ClearButton":"AcceptDecline.ClearButton","DateLabel":"AcceptDecline.DateLabel","DeclineExplanation":"AcceptDecline.DeclineExplanation","DeclineScholarship":"AcceptDecline.DeclineScholarship","GuardianLabel":"AcceptDecline.GuardianLabel","Header1":"AcceptDecline.Header1","Header2":"AcceptDecline.Header2","Header3":"AcceptDecline.Header3","Header4":"AcceptDecline.Header3","LegalDescription":"AcceptDecline.LegalDescription","ScholarshipCalculation":"AcceptDecline.ScholarshipCalculation","SelectLabel":"AcceptDecline.SelectLabel","SignButton":"AcceptDecline.SignButton","Step1Explanation1":"AcceptDecline.Step1Explanation1","Step1Explanation2":"AcceptDecline.Step1Explanation2","StudentLabel":"AcceptDecline.StudentLabel","Calc1":"AcceptDecline.Calc1","Calc2":"AcceptDecline.Calc2","Calc3":"AcceptDecline.Calc3","Calc4":"AcceptDecline.Calc4","WeightTotals":"AcceptDecline.WeightTotals","Scholarship1":"AcceptDecline.Scholarship1","Scholarship2":"AcceptDecline.Scholarship2","Scholarship3":"AcceptDecline.Scholarship3","Scholarship4":"AcceptDecline.Scholarship4","ResponseInstructions":"AcceptDecline.ResponseInstructions","AcceptedCalculation":"AcceptDecline.AcceptedCalculation","AcceptedNote":"AcceptDecline.AcceptedNote"},"AnnualStatements":{"AutoPopButton":"AnnualStatements.AutoPopButton","BackButtonLabel":"AnnualStatements.BackButtonLabel","DescriptionHeader":"AnnualStatements.DescriptionHeader","DiscountsLabel":"AnnualStatements.DiscountsLabel","DOBLabel":"AnnualStatements.DOBLabel","FeesLabel":"AnnualStatements.FeesLabel","GradeLevelLabel":"AnnualStatements.GradeLevelLabel","LoadingTitle":"AnnualStatements.LoadingTitle","ParentGuardianLabel":"AnnualStatements.ParentGuardianLabel","SaveButton":"AnnualStatements.SaveButton","StatementDateLabel":"AnnualStatements.StatementDateLabel","StatementInformationHeader":"AnnualStatements.StatementInformationHeader","Status":"AnnualStatements.Status","StudentLabel":"AnnualStatements.StudentLabel","SubmitButton":"AnnualStatements.SubmitButton","SubmittedBy":"AnnualStatements.SubmittedBy","SubmittedOn":"AnnualStatements.SubmittedOn","SummaryDescription":"AnnualStatements.SummaryDescription","Title":"AnnualStatements.Title","TotalsLabel":"AnnualStatements.TotalsLabel","AutoPopError":"AnnualStatements.AutoPopError"},"Application":{"BackToApplications":"Application.BackToApplications","BackToStep":"Volver a {{stepName}}","CheckboxTooFew":"(Se requieren al menos {{min}} casillas de verificaci\xf3n)","CheckboxTooMany":"(Elija no m\xe1s de {{max}} respuestas)","FilesTooFew":"(Se requieren al menos {{min}} archivos)","FilesTooMany":"(Suba no m\xe1s de {{max}} archivos)","MissingDOB":"Application.MissingDOB","Required":"(Obligatorio)","Submit":"Application.Submit","Submitting":"Application.Submitting","ValidationFailure":"Application.ValidationFailure","ReviewMessage":"Application.ReviewMessage"},"Applications":{"Create":{"Button":"Crear solicitud","Error":"Hubo un error al crear la solicitud.","Header":"Nueva solicitud para el a\xf1o escolar **{{schoolYear}}.**","Instructions":"Para crear una nueva solicitud, seleccione el estudiante en la lista a continuaci\xf3n. Si es para un estudiante nuevo, seleccione \'Estudiante nuevo\'. Si no ve a un estudiante que debe estar en la lista, puede ser que ya tenga una solicitud para este a\xf1o escolar, y usted puede encontrarla en la p\xe1gina anterior (\'Mis Solicitudes\').","Warning":"**Atenci\xf3n: Esta solicitud es para el a\xf1o escolar {{schoolYear}}.**","NewStudent":"Estudiante nuevo","Retrieving":"Recuperando el periodo acad\xe9mico","Start":"Comenzar solicitud"},"Delete":{"Action":"Applications.Delete.Action","Body":"Applications.Delete.Body","Confirmation":"Applications.Delete.Confirmation","Header":"Applications.Delete.Header","Success":"Applications.Delete.Success"},"Header":"Applications.Header","List":{"Actions":{"AcceptDecline":"Applications.List.Actions.AcceptDecline","BeginRenewal":"Applications.List.Actions.BeginRenewal","ChangeSchool":"Applications.List.Actions.ChangeSchool","Delete":"Applications.List.Actions.Delete","Edit":"Applications.List.Actions.Edit","Placeholder":"Applications.List.Actions.Placeholder","Update":"Applications.List.Actions.Update","View":"Applications.List.Actions.View","WithdrawApplication":"Applications.List.Actions.WithdrawApplication","WithdrawProgram":"Applications.List.Actions.WithdrawProgram","ViewScholarship":"Applications.List.Actions.ViewScholarship"},"Amount":"Applications.List.Amount","Attachments":"Applications.List.Attachments","Date":"Applications.List.Date","Enrollment":"Applications.List.Enrollment","School":"Applications.List.School","Status":"Applications.List.Status"},"NoDocs":"Applications.NoDocs","NoName":"Ning\xfan Nombre","ReviewMessage":"Applications.ReviewMessage","ApprovedMessage":"Applications.ApprovedMessage","PendingMessage":"Applications.PendingMessage","ScholarshipOrg":{"Count":"Applications.ScholarshipOrg.Count","Grid":{"DateOfBirth":"Applications.ScholarshipOrg.Grid.DateOfBirth","Disability":"Applications.ScholarshipOrg.Grid.Disability","School":"Applications.ScholarshipOrg.Grid.School","Status":"Applications.ScholarshipOrg.Grid.Status","Student":"Applications.ScholarshipOrg.Grid.Student","StudentFirstName":"Applications.ScholarshipOrg.Grid.StudentFirstName","StudentLastName":"Applications.ScholarshipOrg.Grid.StudentLastName","UniqueID":"ID","Type":"Applications.ScholarshipOrg.Grid.Type","UpdatedDate":"Applications.ScholarshipOrg.Grid.UpdatedDate","Term":"Applications.ScholarshipOrg.Grid.Term"},"StatusFilter":"Applications.ScholarshipOrg.StatusFilter:"}},"AppReview":{"AssignToLabel":"AppReview.AssignToLabel","CurrentStatusLabel":"AppReview.CurrentStatusLabel","DefaultTitle":"AppReview.DefaultTitle","NewStatusLabel":"AppReview.NewStatusLabel","ReviewMessage":"AppReview.ReviewMessage","ReviewReasons":"AppReview.ReviewReasons","UpdateButton":"AppReview.UpdateButton","UploadLetterLabel":"AppReview.UploadLetterLabel","LoadingMessage":"AppReview.LoadingMessage","ErrorMessage":"AppReview.ErrorMessage"},"AppStages":{"Accepted":"AppStages.Accepted","Approved":"AppStages.Approved","Declined":"AppStages.Declined","Denied":"AppStages.Denied","DHSReview":"AppStages.DHSReview","EnrollmentChange":"AppStages.EnrollmentChange","Funded":"AppStages.Funded","Pending":"AppStages.Pending","Returned":"AppStages.Returned","SchoolReview":"AppStages.SchoolReview","SDEReview":"AppStages.SDEReview","Started":"AppStages.Started","Undefined":"AppStages.Undefined","Withdrawn":"AppStages.Withdrawn"},"Authentication":{"AccountUnconfirmed":"Cuenta no confirmada. Por favor revise su correo electr\xf3nico e ingrese el c\xf3digo de verificaci\xf3n.","AccountVerified":"Cuenta verificada. Inicie sesi\xf3n de nuevo.","AttemptsExceeded":"Demasiados intentos de autenticaci\xf3n. Int\xe9ntelo de nuevo despu\xe9s de un tiempo.","ChangePassword":"Cambia la contrase\xf1a","ChangePasswordRequirements":"Authentication.ChangePasswordRequirements","CheckingCredentials":"Comprobando credenciales","ConfirmPassword":"Confirmar contrase\xf1a","ConfirmPasswordInstructions":"Authentication.ConfirmPasswordInstructions","CreateAccount":{"AccountExists":"La cuenta ya existe.","AlreadyHave":"\xbfYa tienes una cuenta?","CodeInstructions":"Ingr\xe9selo a continuaci\xf3n para iniciar la sesi\xf3n","CodeSubmit":"Verificar e iniciar sesi\xf3n","Email":"Correo electr\xf3nico","EnterCode":"Ingresa el c\xf3digo de verificaci\xf3n. Hemos enviado un c\xf3digo de verificaci\xf3n a su correo electr\xf3nico","EnterEmail":"Ingrese su direcci\xf3n de correo electr\xf3nico","EnterEmailValid":"Ingrese su correo electr\xf3nico en un formato de correo electr\xf3nico v\xe1lido","EnterFirstName":"Ponga su primer nombre","EnterLastName":"Ingrese su apellido","EnterMobile":"Introduzca su n\xfamero de tel\xe9fono m\xf3vil","EnterPasswordLength":"Introduzca una contrase\xf1a de al menos 8 caracteres.","EnterPasswordNumber":"Ingrese una contrase\xf1a que contenga al menos un n\xfamero","EnterPasswordSymbol":"Ingrese una contrase\xf1a que contenga al menos un s\xedmbolo ($,!,@,#,%,^,&,*)","EnterUppercase":"Authentication.CreateAccount.EnterUppercase","EnterLowercase":"Authentication.CreateAccount.EnterLowercase","EnterPhone":"Ingrese un n\xfamero de tel\xe9fono de 10 d\xedgitos","EnterRepeatPassword":"Ingrese su contrase\xf1a nuevamente","FirstName":"Primer nombre","Instructions":"Complete los campos a continuaci\xf3n y luego haga clic en \'Enviar un c\xf3digo de verificaci\xf3n\' para iniciar sesi\xf3n en el portal de la aplicaci\xf3n.","InvalidInput":"entrada inv\xe1lida","LastName":"Apellido","LogIn":"Iniciar sesi\xf3n","Mobile":"Tel\xe9fono m\xf3vil","NotAllowed":"No se permite registrarse","PasswordsNotMatch":"Las contrase\xf1as no coinciden","RepeatPassword":"Repite la contrase\xf1a","SendCode":"Env\xede un c\xf3digo de verificaci\xf3n","TermsAndConditions":"Al crear su cuenta, acepta nuestros [T\xe9rminos y Condiciones](pcg_scholar_terms_of_service.pdf) y [Pol\xedtica de Privacidad](pcg_scholar_privacy_notice.pdf).","Title":"Crea tu cuenta","SessionExpired":"Authentication.CreateAccount.SessionExpired"},"CreateAnAccountLink":"Crea una cuenta","CreateNewPassword":"Crear una nueva contrase\xf1a","CurrentPassword":"Contrase\xf1a Actual","Email":"Correo electr\xf3nico","EnterEmail":"Introduce tu correo electr\xf3nico","EnterPassword":"Ingresa tu contrase\xf1a","ForgotPasswordLink":"\xbfSe te olvid\xf3 tu contrase\xf1a?","ForgotPasswordPage":{"Email":"Correo electr\xf3nico","EnterEmail":"Ingrese su direcci\xf3n de correo electr\xf3nico","EnterVerificationCode":"Ingrese el c\xf3digo de verificaci\xf3n","Instructions":"Ingrese el correo electr\xf3nico asociado con su cuenta y le enviaremos un correo electr\xf3nico con instrucciones para restablecer su contrase\xf1a.","Return":"Regresar para iniciar sesi\xf3n","SendInstructions":"Enviar instrucciones","Title":"Restablecer la contrase\xf1a","VerificationCode":"C\xf3digo de verificaci\xf3n","VerificationCodeInstructions":"Hemos enviado un c\xf3digo de verificaci\xf3n a su correo electr\xf3nico. Ingr\xe9selo a continuaci\xf3n para continuar restableciendo su contrase\xf1a.","VerificationCodeNoReceive":"\xbfNo recibiste un correo electr\xf3nico?","VerificationCodeResend":"Intente de nuevo","VerificationCodeSubmit":"Verif\xedcame"},"ForgotPasswordRequirements":"Su nueva contrase\xf1a debe ser diferente a su contrase\xf1a anterior y debe contener al menos un n\xfamero y al menos uno de los siguientes s\xedmbolos: ~,!, @, #, $,%, ^, &","InvalidCredentials":"Correo o contrase\xf1a incorrectos","LogIn":"Ingrese a su cuenta","NewPassword":"Nueva contrase\xf1a","NotRegisteredYet":"\xbfTodav\xeda no estas registrado?","Password":"Contrase\xf1a","PasswordChanged":"Contrase\xf1a cambiada","PasswordChangeError":"Se encontr\xf3 un error al cambiar la contrase\xf1a","PasswordInstructions":"La contrase\xf1a debe tener al menos 8 caracteres.","PasswordWeak":"La contrase\xf1a no cumple los requisitos.","ResetPassword":"Restablecer la contrase\xf1a","TooManyResetAttempts":"Demasiados intentos de reinicio. Int\xe9ntelo de nuevo despu\xe9s de un tiempo.","VerificationCodeExpired":"C\xf3digo de verificaci\xf3n expirado. Se ha enviado uno nuevo. Int\xe9ntalo de nuevo.","VerificationCodeIncorrect":"El c\xf3digo de verificaci\xf3n ingresado es incorrecto.","EnterEmailAndPassword":"Authentication.EnterEmailAndPassword"},"ChangeUsername":{"Title":"ChangeUsername.Title","UsernameLabel":"ChangeUsername.UsernameLabel","NewUsernameLabel":"ChangeUsername.NewUsernameLabel","UsernameError":"ChangeUsername.UsernameError"},"Cognito":{"ExpiredCodeException":"Cognito.ExpiredCodeException","ResendSuccess":"Cognito.ResendSuccess","ResendError":"Cognito.ResendError"},"EnrollmentChange":{"Title":"EnrollmentChange.Title","BackButtonLabel":"EnrollmentChange.BackButtonLabel","ChangeButtonLabel":"EnrollmentChange.ChangeButtonLabel","ReasonHeader":"EnrollmentChange.ReasonHeader","ExitSchoolHeader":"EnrollmentChange.ExitSchoolHeader","ExitDateHeader":"EnrollmentChange.ExitDateHeader","EnterSchoolHeader":"EnrollmentChange.EnterSchoolHeader","EntryDateHeader":"EnrollmentChange.EntryDateHeader","ActionsHeader":"EnrollmentChange.ActionsHeader","InitialReason":"EnrollmentChange.InitialReason","RenewalReason":"EnrollmentChange.RenewalReason","TransferReason":"EnrollmentChange.TransferReason","WithdrawalReason":"EnrollmentChange.WithdrawalReason","ImportInitialReason":"EnrollmentChange.ImportInitialReason","ImportRenewalReason":"EnrollmentChange.ImportRenewalReason","UnknownReason":"EnrollmentChange.UnknownReason","UpdatedInfo":"EnrollmentChange.UpdatedInfo","CreatedInfo":"EnrollmentChange.CreatedInfo","EnrollmentModal":{"AddEnrollmentTitle":"EnrollmentChange.EnrollmentModal.AddEnrollmentTitle","AddEnrollmentText":"EnrollmentChange.EnrollmentModal.AddEnrollmentText","EditEnrollmentTitle":"EnrollmentChange.EnrollmentModal.EditEnrollmentTitle","EditEnrollmentText":"EnrollmentChange.EnrollmentModal.EditEnrollmentText","ViewEnrollmentTitle":"EnrollmentChange.EnrollmentModal.ViewEnrollmentTitle","ViewEnrollmentText":"EnrollmentChange.EnrollmentModal.ViewEnrollmentText","DeleteEnrollmentTitle":"EnrollmentChange.EnrollmentModal.DeleteEnrollmentTitle","DeleteEnrollmentText":"EnrollmentChange.EnrollmentModal.DeleteEnrollmentText","ExitDateLabel":"EnrollmentChange.EnrollmentModal.ExitDateLabel","ExitSchoolLabel":"EnrollmentChange.EnrollmentModal.ExitSchoolLabel","EntryDateLabel":"EnrollmentChange.EnrollmentModal.EntryDateLabel","EnteringSchoolLabel":"EnrollmentChange.EnrollmentModal.EnteringSchoolLabel","ChangeReasonLabel":"EnrollmentChange.EnrollmentModal.ChangeReasonLabel"}},"ChangeSchool":{"Header":"ChangeSchool.Header","Instructions":"ChangeSchool.Instructions","SelectLabel":"ChangeSchool.SelectLabel","UpdateButton":"ChangeSchool.UpdateButton"},"Dashboard":{"Placeholder":"Soy un componente de Dashboard. Solo deber\xeda aparecer despu\xe9s de que inicies sesi\xf3n.","Title":"Panel"},"DatePicker":{"DefaultTitle":"DatePicker.DefaultTitle","InvalidMessage":"DatePicker.InvalidMessage"},"Email":{"EmailLabel":"Email.EmailLabel","EnterEmail":"Email.EnterEmail","EnterEmailValid":"Email.EnterEmailValid"},"File":{"AcceptedTypes":"File.AcceptedTypes","IncorrectType":"File.IncorrectType"},"FileDrop":{"ClickText":"FileDrop.ClickText","DropText":"FileDrop.DropText","UploadedOnLabel":"FileDrop.UploadedOnLabel"},"Finances":{"AnnualStatementsTab":{"GridHeaderDiscount":"Finances.AnnualStatementsTab.GridHeaderDiscount","GridHeaderFees":"Finances.AnnualStatementsTab.GridHeaderFees","GridHeaderGrade":"Finances.AnnualStatementsTab.GridHeaderGrade","GridHeaderSchoolName":"Finances.AnnualStatementsTab.GridHeaderSchoolName","GridHeaderStatus":"Finances.AnnualStatementsTab.GridHeaderStatus","GridHeaderStudent":"Finances.AnnualStatementsTab.GridHeaderStudent","GridHeaderSubmitted":"Finances.AnnualStatementsTab.GridHeaderSubmitted","GridHeaderTotalAmt":"Finances.AnnualStatementsTab.GridHeaderTotalAmt","GridHeaderTuition":"Finances.AnnualStatementsTab.GridHeaderTuition","GridHeaderApplicationType":"Finances.AnnualStatementsTab.GridHeaderApplicationType","NoStatements":"Finances.AnnualStatementsTab.NoStatements","RetrievingStatements":"Finances.AnnualStatementsTab.RetrievingStatements","TabTitle":"Finances.AnnualStatementsTab.TabTitle","TermLabel":"Finances.AnnualStatementsTab.TermLabel","FeeDeleted":"Finances.AnnualStatementsTab.FeeDeleted"},"Invoices":{"TabTitle":"Invoices","DateSubmitted":"Finances.Invoices.DateSubmitted","FirstName":"Finances.Invoices.FirstName","InvoiceNumber":"Finances.Invoices.InvoiceNumber","LastName":"Finances.Invoices.LastName","Grade":"Finances.Invoices.Grade","SchoolName":"Finances.Invoices.School","Period":"Finances.Invoices.Period","LNHAward":"Finances.Invoices.LNHAward","InvoiceAmount":"Finances.Invoices.InvoiceAmount","Status":"Finances.Invoices.Status","AttendanceRecord":"Finances.Invoices.AttendanceRecord","PrintingInvoice":"Finances.Invoices.PrintingInvoice","InvoicePrinted":"Finances.Invoices.InvoicePrinted"},"Placeholder":"Soy componente de Finanzas. Solo deber\xeda aparecer despu\xe9s de que inicies sesi\xf3n.","Title":"Finances.Title"},"InvoiceStatus":{"NotStarted":"Not Started","Submitted":"Submitted","Returned":"Returned","Approved":"Approved","Mailed":"Mailed","Created":"Created","Paid":"Paid"},"Filters":{"ApplicationTypeID":"Type","DisabilityList":"Disability","SchoolName":"Private School","Schoolname":"Private School"},"General":{"AjaxError":"Se produjo un error, comun\xedquese con el administrador del sistema.","Answer":{"No":"No","Yes":"S\xed"},"Cancel":"General.Cancel","ChangesSaved":"Cambios guardados.","Confirm":"Genera.Confirm","Continue":"Continuar","Delete":"General.Delete","Edit":"General.Edit","IncompleteFields":"Genera.IncompleteFields","InteractiveSave":"Guardando","InvalidOption":"General.InvalidOption","Loading":"General.Loading","NA":"General.NA","NoResults":"General.NoResults","RetrievingUserData":"Recuperando la configuraci\xf3n del usuario.","Save":"General.Save","StepNum":"Etapa {{num}}","Submitting":"General.Submitting","Submitted":"General.Submitted","Success":"\xc9xito","UnknownError":"Error desconocido","ValidationError":"Por favor completa todos los campos requeridos.","View":"General.View","XofY":"General.XofY"},"GradeLevel":{"Component":{"AddFee":"GradeLevel.Component.AddFee","CheckboxGroupLabel":"GradeLevel.Component.CheckboxGroupLabel","DeleteFeeGroup":"GradeLevel.Component.DeleteFeeGroup","DeleteText":"GradeLevel.Component.DeleteText","DeleteTitle":"GradeLevel.Component.DeleteTitle","FeesGroupLabel":"GradeLevel.Component.FeesGroupLabel","LevelTitle":"GradeLevel.Component.LevelTitle"},"Control":{"Add":"GradeLevel.Control.Add"},"Levels":{"PreK":"GradeLevel.Levels.PreK","PreKH":"GradeLevel.Levels.PreKH","K":"GradeLevel.Levels.K","KH":"GradeLevel.Levels.KH","G1":"GradeLevel.Levels.G1","G2":"GradeLevel.Levels.G2","G3":"GradeLevel.Levels.G3","G4":"GradeLevel.Levels.G4","G5":"GradeLevel.Levels.G5","G6":"GradeLevel.Levels.G6","G7":"GradeLevel.Levels.G7","G8":"GradeLevel.Levels.G8","G9":"GradeLevel.Levels.G9","G10":"GradeLevel.Levels.G10","G11":"GradeLevel.Levels.G11","G12":"GradeLevel.Levels.G12"}},"LabeledSelect":{"InvalidMessage":"LabeledSelect.InvalidMessage"},"LanguageSelector":{"LanguageChanged":"El idioma preferido ha sido actualizado."},"Name":{"EnterName":"Name.EnterName","EnterNameValid":"Name.EnterNameValid","NameLabel":"Name.NameLabel"},"NavBar":{"Applications":"Solicitudes","Dashboard":"Panel","Finances":"Finanzas","LogOut":"Cerrar sesi\xf3n","Reports":"Informes","Schools":"Escuelas","Settings":"Ajustes","SiteSettings":"Ajustes","Students":"NavBar.Students","UserSettings":"Mi informaci\xf3n"},"OutputPreview":{"AnchorText":"OutputPreview.AnchorText"},"Password":{"EnterPassword":"Password.EnterPassword","EnterPasswordLength":"Password.EnterPasswordLength","EnterPasswordNumber":"Password.EnterPasswordNumber","EnterPasswordSymbol":"Password.EnterPasswordSymbol","PasswordLabel":"Password.PasswordLabel"},"Phone":{"EnterPhoneNumber":"Ingrese su n\xfamero telef\xf3nico.","EnterPhoneValid":"Por favor ingrese un n\xfamero de tel\xe9fono v\xe1lido","PhoneNumberLabel":"N\xfamero de tel\xe9fono"},"Record":{"ActionButtonLabel":"Record.ActionButtonLabel","BackButtonLabel":"Record.BackButtonLabel","CityLabel":"Record.CityLabel","CreateInvoiceAction":"Record.CreateInvoiceAction","DOBLabel":"Record.DOBLabel","EligibilityText":"Record.EligibilityText","EmailLabel":"Record.EmailLabel","EnrollmentText":"Record.EnrollmentText","FirstNameLabel":"Record.FirstNameLabel","GradeLabel":"Record.GradeLabel","LastNameLabel":"Record.LastNameLabel","NotificationMessage":"Record.NotificationMessage","ParentAddressLabel":"Record.ParentAddressLabel","PhoneLabel":"Record.PhoneLabel","PrimaryDisabilityLabel":"Record.PrimaryDisabilityLabel","RenewApplicationAction":"Record.RenewApplicationAction","ReviewApplicationAction":"Record.ReviewApplicationAction","SchoolDistrictIEPLabel":"Record.SchoolDistrictIEPLabel","SchoolDistrictResidenceLabel":"Record.SchoolDistrictResidenceLabel","SchoolNameLabel":"Record.SchoolNameLabel","SchoolText1":"Record.SchoolText1","SchoolText2":"Record.SchoolText2","SchoolText3":"Record.SchoolText3","SecondaryDisabilityLabel":"Record.SecondaryDisabilityLabel","SectionATitle":"Record.SectionATitle","SectionBTitle":"Record.SectionBTitle","SectionCTitle":"Record.SectionCTitle","SectionDTitle":"Record.SectionDTitle","SectionETitle":"Record.SectionETitle","DocumentsTitle":"Record.DocumentsTitle","DataTitle":"Record.DataTitle","StateLabel":"Record.StateLabel","StatusLabel":"Record.StatusLabel","STNLabel":"Record.STNLabel","STNWarning":"Record.STNWarning","SubmittedByLabel":"Record.SubmittedByLabel","SubmittedOnLabel":"RecordSubmittedOnLabel","ViewHistoryAction":"Record.ViewHistoryAction","ZipLabel":"Record.ZipLabel","AcceptanceDateLabel":"Record.AcceptanceDateLabel","FullPartTimeLabel":"Record.FullPartTimeLabel","RevocationDateLabel":"Record.RevocationDateLabel","InitialYearLabel":"Record.InitialYearLabel","IEPISPLabel":"Record.IEPISPLabel","PayeeNameLabel":"Record.PayeeNameLabel","PayeeNumberLabel":"Record.PayeeNumberLabel","LocationLabel":"Record.LocationLabel","SSNLabel":"Record.SSNLabel"},"Reports":{"Placeholder":"Soy el componente de informes. Solo deber\xeda aparecer despu\xe9s de que inicies sesi\xf3n."},"SchoolInfo":{"AffidavitLabel":"SchoolInfo.AffidavitLabel","ContactEmailLabel":"SchoolInfo.ContactEmailLabel","ContactInformationHeader":"SchoolInfo.ContactInformationHeader","ContactNameLabel":"SchoolInfo.ContactNameLabel","ContactPhoneLabel":"SchoolInfo.ContactPhoneLabel","DeleteSchool":"SchoolInfo.DeleteSchool","EndDateLabel":"SchoolInfo.EndDateLabel","Header":"SchoolInfo.Header","Quarter1Label":"SchoolInfo.Quarter1Label","Quarter2Label":"SchoolInfo.Quarter2Label","Quarter3Label":"SchoolInfo.Quarter3Label","Quarter4Label":"SchoolInfo.Quarter4Label","QuarterInformationHeader":"SchoolInfo.QuarterInformationHeader","SchoolAddressLabel":"SchoolInfo.SchoolAddressLabel","SchoolAddressPlaceholder":"SchoolInfo.SchoolAddressPlaceholder","SchoolCityLabel":"SchoolInfo.SchoolCityLabel","SchoolCityPlaceholder":"SchoolInfo.SchoolCityPlaceholder","SchoolEmailLabel":"SchoolInfo.SchoolEmailLabel","SchoolEmailPlaceholder":"SchoolInfo.SchoolEmailPlaceholder","SchoolInformationHeader":"SchoolInfo.SchoolInformationHeader","SchoolNameLabel":"SchoolInfo.SchoolNameLabel","SchoolNamePlaceholder":"SchoolInfo.SchoolNamePlaceholder","SchoolPhoneLabel":"SchoolInfo.SchoolPhoneLabel","SchoolPhonePlaceholder":"SchoolInfo.SchoolPhonePlaceholder","SchoolStateLabel":"SchoolInfo.SchoolStateLabel","SchoolStatePlaceholder":"SchoolInfo.SchoolStatePlaceholder","SchoolURLLabel":"SchoolInfo.SchoolURLLabel","SchoolURLPlaceholder":"SchoolInfo.SchoolURLPlaceholder","SchoolZipLabel":"SchoolInfo.SchoolZipLabel","SchoolZipPlaceholder":"SchoolInfo.SchoolZipPlaceholder","StartDateLabel":"SchoolInfo.StartDateLabel","TuitionAndFeesHeader":"SchoolInfo.TuitionAndFeesHeader","TuitionAndFeesInstructions1":"SchoolInfo.TuitionAndFeesInstructions1","TuitionAndFeesInstructions2":"SchoolInfo.TuitionAndFeesInstructions2"},"Schools":{"Placeholder":"Soy componente de escuelas. Solo deber\xeda aparecer despu\xe9s de que inicies sesi\xf3n."},"Settings":{"Tab":{"Organization":"Settings.Tab.Organization","Schools":"Settings.Tab.Schools","Users":"Settings.Tab.Users"},"Title":"Settings.Title","Users":{"Email":"Settings.Users.Email","Name":"Settings.Users.Name","Phone":"Settings.Users.Phone","Type":"Settings.Users.Type","Updated":"Settings.Users.Updated"}},"StmtStages":{"Created":"StmtStages.Created","NotStarted":"StmtStages.NotStarted","Submitted":"StmtStages.Submitted"},"Students":{"AcceptRenewals":{"AcceptMessage1":"Students.AccountRenewals.AcceptMessage1","AcceptMessage2":"Students.AccountRenewals.AcceptMessage2","AcceptMessage3":"Students.AccountRenewals.AcceptMessage3","AcceptRenewalHeader":"Students.AcceptRenewals.AcceptRenewalHeader","AcceptRenewalsButton":"Students.AcceptRenewals.AcceptRenewalsButton","BackButton":"Students.AcceptRenewals.BackButton","GridDescription":"Students.AcceptRenewals.GridDescription","GridTitleSchoolYearAbbreviation":"Students.AcceptRenewals.GridTitleSchoolYearAbbreviation","ModalAccept":"Students.AccountRenewals.ModalAccept","ModalTitle":"Students.AcceptRenewals.ModalTitle","OnBehalfOf":"Students.AccountRenewals.OnBehalfOf","StudentNameHeader":"Students.AcceptRenewals.StudentNameHeader","TitleAccept":"Students.AcceptRenewals.TitleAccept","TitleRenewals":"Students.AcceptRenewals.TitleRenewals","WishTo":"Students.AccountRenewals.WishTo"},"CurrentRoster":"Students.CurrentRoster","FirstYear":"Students.FirstYear","Grade":"Students.Grade","LastInvoice":"Students.LastInvoice","LNHAward":"Students.LNHAward","NewApplications":"Students.NewApplications","Parent":"Students.Parent","RenewAcceptance":"Students.RenewAcceptance","SchoolReview":"Students.SchoolReview","Status":"Students.Status","STN":"Students.STN","Student":"Students.Student","Submitted":"Students.Submitted","TitleMy":"Students.TitleMy","TitleStudents":"Students.TitleStudents"},"UserSettings":{"AccountSectionTitle":"Informaci\xf3n de la cuenta","CancelChangePasswordButtonText":"Cancelar","ChangePasswordButtonText":"Cambia la contrase\xf1a","ChangeUsernameButtonText":"UserSettings.ChangeUsernameButtonText","EmailLabel":"Email","EmailNotifyDescription":"\xbfLe gustar\xeda recibir notificaciones por correo electr\xf3nico?","EmailNotifyLabel":"Notificaci\xf3nes de Correo Electr\xf3nico","EnterFirstName":"Ponga su primer nombre.","EnterFirstNameValid":"Por favor, ingrese un nombre v\xe1lido.","EnterLastName":"Ingrese su apellido","EnterLastNameValid":"Por favor ingrese un apellido v\xe1lido.","EnterUserName":"Ingrese su nombre de usuario.","FirstNameLabel":"Primer nombre","HeaderInfo":"informaci\xf3n","HeaderMy":"Mi","LanguagePref":"Preferencia de idioma","LastNameLabel":"Apellido","NotificationSectionTitle":"Configuraci\xf3n de las notificaciones","Other":{"Active":"UserSettings.Other.Active","Back":"UserSettings.Other.Back","CreatedDate":"UserSettings.Other.CreatedDate","Delete":"UserSettings.Other.Delete","Deleted":"UserSettings.Other.Deleted","EmailLocation":"UserSettings.Other.EmailLocation","EmailToggle":"UserSettings.Other.EmailToggle","FirstName":"UserSettings.Other.FirstName","Header":"UserSettings.Other.Header","Inactive":"UserSettings.Other.Inactive","Language":"UserSettings.Other.Language","LastName":"UserSettings.Other.LastName","LastUpdated":"UserSettings.Other.LastUpdated","New":"UserSettings.Other.New","Organization":"UserSettings.Other.Organization","PasswordReset":"UserSettings.Other.PasswordReset","Save":"UserSettings.Other.Save","SmsLocation":"UserSettings.Other.SmsLocation","SmsToggle":"UserSettings.Other.SmsToggle","Status":"UserSettings.Other.Status","Title":"UserSettings.Other.Title","UnableToElevate":"UserSettings.Other.UnableToElevate","Undelete":"UserSettings.Other.Undelete","UserType":"UserSettings.Other.UserType","SameEmail":"UserSettings.Other.SameEmail","ScholarshipOrg":"UserSettings.Other.ScholarshipOrg","AdminOrg":"UserSettings.Other.AdminOrg"},"PersonalSectionTitle":"Informacion personal","SaveButtonText":"Guardar cambios","TextNotifyDescription":"\xbfLe gustar\xeda recibir notificaciones por SMS en su dispositivo m\xf3vil?","TextNotifyLabel":"Notificaciones por SMS","UserNameLabel":"Nombre de usuario","WhichNumberLabel":"\xbfEn qu\xe9 n\xfamero le gustar\xeda recibirlos?"},"UserType":{"1":"UserType.1","2":"UserType.2","3":"UserType.3","4":"UserType.4"},"ViewHistory":{"AnswerLine1":"ViewHistory.AnswerLine1","AnswerLine2":"ViewHistory.AnswerLine2","AnswerLine3":"ViewHistory.AnswerLine3","AnswerLine4":"ViewHistory.AnswerLine4","ApplicationChangeLine1":"ViewHistory.ApplicationChangeLine1","ApplicationChangeLine2":"ViewHistory.ApplicationChangeLine2","ApplicationChangeLine3":"ViewHistory.ApplicationChangeLine3","ApplicationChangeLine4":"ViewHistory.ApplicationChangeLine4","StatementLine1":"ViewHistory.StatementLine1","StatementLine2":"ViewHistory.StatementLine2","StatusLine1":"ViewHistory.StatusLine1","StatusLine2":"ViewHistory.StatusLine2","StatusLine3":"ViewHistory.StatusLine3","Subtitle":"ViewHistory.Subtitle","Title":"ViewHistory.Title","FileAdded":"ViewHistory.FileAdded","FileRemoved":"ViewHistory.FileRemoved","AnnualStatementSubmitted":"ViewHistory.AnnualStatementSubmitted"},"WithdrawApp":{"CheckboxLabel":"WithdrawApp.CheckboxLabel","Instructions":"WithdrawApp.Instructions","WithdrawButton":"WithdrawApp.WithdrawButton"},"WithdrawProgram":{"AddInfoLabel":"WithdrawProgram.AddInfoLabel","Note":"WithdrawProgram.Note","SelectLabel":"WithdrawProgram.SelectLabel","Step1Instructions":"WithdrawProgram.Step1Instructions","Step2Exclamation":"WithdrawProgram.Step2Exclamation","Step2Instructions":"WithdrawProgram.Step2Instructions","SubmitButton":"WithdrawProgram.SubmitButton","Title":"WithdrawProgram.Title"}}}')},289:function(e,t,n){},296:function(e,t,n){},304:function(e,t){},371:function(e,t,n){},372:function(e,t,n){},373:function(e,t,n){},374:function(e,t,n){},375:function(e,t,n){},376:function(e,t,n){},377:function(e,t,n){},378:function(e,t,n){},381:function(e,t,n){},382:function(e,t,n){},383:function(e,t,n){},384:function(e,t,n){},385:function(e,t,n){},394:function(e,t,n){},395:function(e,t,n){},396:function(e,t,n){},397:function(e,t,n){},398:function(e,t,n){},399:function(e,t,n){},401:function(e,t,n){},402:function(e,t,n){},403:function(e,t,n){},404:function(e,t,n){},405:function(e,t,n){},406:function(e,t,n){},407:function(e,t,n){},408:function(e,t,n){},409:function(e,t,n){},410:function(e,t,n){},412:function(e,t,n){},413:function(e,t,n){},414:function(e,t,n){},415:function(e,t,n){},416:function(e,t,n){},417:function(e,t,n){},418:function(e,t,n){},419:function(e,t,n){},420:function(e,t,n){},421:function(e,t,n){},422:function(e,t,n){},423:function(e,t,n){},424:function(e,t,n){},425:function(e,t,n){},426:function(e,t,n){},427:function(e,t,n){},428:function(e,t,n){},429:function(e,t,n){},430:function(e,t,n){},431:function(e,t,n){},434:function(e,t,n){},435:function(e,t,n){},436:function(e,t,n){},437:function(e,t,n){},438:function(e,t,n){},439:function(e,t,n){},440:function(e,t,n){},441:function(e,t,n){},442:function(e){e.exports=JSON.parse('[{"name":"Afghanistan","dial_code":"+93","code":"AF"},{"name":"Aland Islands","dial_code":"+358","code":"AX"},{"name":"Albania","dial_code":"+355","code":"AL"},{"name":"Algeria","dial_code":"+213","code":"DZ"},{"name":"AmericanSamoa","dial_code":"+1 684","code":"AS"},{"name":"Andorra","dial_code":"+376","code":"AD"},{"name":"Angola","dial_code":"+244","code":"AO"},{"name":"Anguilla","dial_code":"+1 264","code":"AI"},{"name":"Antarctica","dial_code":"+672","code":"AQ"},{"name":"Antigua and Barbuda","dial_code":"+1268","code":"AG"},{"name":"Argentina","dial_code":"+54","code":"AR"},{"name":"Armenia","dial_code":"+374","code":"AM"},{"name":"Aruba","dial_code":"+297","code":"AW"},{"name":"Australia","dial_code":"+61","code":"AU"},{"name":"Austria","dial_code":"+43","code":"AT"},{"name":"Azerbaijan","dial_code":"+994","code":"AZ"},{"name":"Bahamas","dial_code":"+1 242","code":"BS"},{"name":"Bahrain","dial_code":"+973","code":"BH"},{"name":"Bangladesh","dial_code":"+880","code":"BD"},{"name":"Barbados","dial_code":"+1 246","code":"BB"},{"name":"Belarus","dial_code":"+375","code":"BY"},{"name":"Belgium","dial_code":"+32","code":"BE"},{"name":"Belize","dial_code":"+501","code":"BZ"},{"name":"Benin","dial_code":"+229","code":"BJ"},{"name":"Bermuda","dial_code":"+1 441","code":"BM"},{"name":"Bhutan","dial_code":"+975","code":"BT"},{"name":"Bolivia, Plurinational State of","dial_code":"+591","code":"BO"},{"name":"Bosnia and Herzegovina","dial_code":"+387","code":"BA"},{"name":"Botswana","dial_code":"+267","code":"BW"},{"name":"Brazil","dial_code":"+55","code":"BR"},{"name":"British Indian Ocean Territory","dial_code":"+246","code":"IO"},{"name":"Brunei Darussalam","dial_code":"+673","code":"BN"},{"name":"Bulgaria","dial_code":"+359","code":"BG"},{"name":"Burkina Faso","dial_code":"+226","code":"BF"},{"name":"Burundi","dial_code":"+257","code":"BI"},{"name":"Cambodia","dial_code":"+855","code":"KH"},{"name":"Cameroon","dial_code":"+237","code":"CM"},{"name":"Canada","dial_code":"+1","code":"CA"},{"name":"Cape Verde","dial_code":"+238","code":"CV"},{"name":"Cayman Islands","dial_code":"+ 345","code":"KY"},{"name":"Central African Republic","dial_code":"+236","code":"CF"},{"name":"Chad","dial_code":"+235","code":"TD"},{"name":"Chile","dial_code":"+56","code":"CL"},{"name":"China","dial_code":"+86","code":"CN"},{"name":"Christmas Island","dial_code":"+61","code":"CX"},{"name":"Cocos (Keeling) Islands","dial_code":"+61","code":"CC"},{"name":"Colombia","dial_code":"+57","code":"CO"},{"name":"Comoros","dial_code":"+269","code":"KM"},{"name":"Congo","dial_code":"+242","code":"CG"},{"name":"Congo, The Democratic Republic of the Congo","dial_code":"+243","code":"CD"},{"name":"Cook Islands","dial_code":"+682","code":"CK"},{"name":"Costa Rica","dial_code":"+506","code":"CR"},{"name":"Cote d\'Ivoire","dial_code":"+225","code":"CI"},{"name":"Croatia","dial_code":"+385","code":"HR"},{"name":"Cuba","dial_code":"+53","code":"CU"},{"name":"Cyprus","dial_code":"+357","code":"CY"},{"name":"Czech Republic","dial_code":"+420","code":"CZ"},{"name":"Denmark","dial_code":"+45","code":"DK"},{"name":"Djibouti","dial_code":"+253","code":"DJ"},{"name":"Dominica","dial_code":"+1 767","code":"DM"},{"name":"Dominican Republic","dial_code":"+1 849","code":"DO"},{"name":"Ecuador","dial_code":"+593","code":"EC"},{"name":"Egypt","dial_code":"+20","code":"EG"},{"name":"El Salvador","dial_code":"+503","code":"SV"},{"name":"Equatorial Guinea","dial_code":"+240","code":"GQ"},{"name":"Eritrea","dial_code":"+291","code":"ER"},{"name":"Estonia","dial_code":"+372","code":"EE"},{"name":"Ethiopia","dial_code":"+251","code":"ET"},{"name":"Falkland Islands (Malvinas)","dial_code":"+500","code":"FK"},{"name":"Faroe Islands","dial_code":"+298","code":"FO"},{"name":"Fiji","dial_code":"+679","code":"FJ"},{"name":"Finland","dial_code":"+358","code":"FI"},{"name":"France","dial_code":"+33","code":"FR"},{"name":"French Guiana","dial_code":"+594","code":"GF"},{"name":"French Polynesia","dial_code":"+689","code":"PF"},{"name":"Gabon","dial_code":"+241","code":"GA"},{"name":"Gambia","dial_code":"+220","code":"GM"},{"name":"Georgia","dial_code":"+995","code":"GE"},{"name":"Germany","dial_code":"+49","code":"DE"},{"name":"Ghana","dial_code":"+233","code":"GH"},{"name":"Gibraltar","dial_code":"+350","code":"GI"},{"name":"Greece","dial_code":"+30","code":"GR"},{"name":"Greenland","dial_code":"+299","code":"GL"},{"name":"Grenada","dial_code":"+1 473","code":"GD"},{"name":"Guadeloupe","dial_code":"+590","code":"GP"},{"name":"Guam","dial_code":"+1 671","code":"GU"},{"name":"Guatemala","dial_code":"+502","code":"GT"},{"name":"Guernsey","dial_code":"+44","code":"GG"},{"name":"Guinea","dial_code":"+224","code":"GN"},{"name":"Guinea-Bissau","dial_code":"+245","code":"GW"},{"name":"Guyana","dial_code":"+595","code":"GY"},{"name":"Haiti","dial_code":"+509","code":"HT"},{"name":"Holy See (Vatican City State)","dial_code":"+379","code":"VA"},{"name":"Honduras","dial_code":"+504","code":"HN"},{"name":"Hong Kong","dial_code":"+852","code":"HK"},{"name":"Hungary","dial_code":"+36","code":"HU"},{"name":"Iceland","dial_code":"+354","code":"IS"},{"name":"India","dial_code":"+91","code":"IN"},{"name":"Indonesia","dial_code":"+62","code":"ID"},{"name":"Iran, Islamic Republic of Persian Gulf","dial_code":"+98","code":"IR"},{"name":"Iraq","dial_code":"+964","code":"IQ"},{"name":"Ireland","dial_code":"+353","code":"IE"},{"name":"Isle of Man","dial_code":"+44","code":"IM"},{"name":"Israel","dial_code":"+972","code":"IL"},{"name":"Italy","dial_code":"+39","code":"IT"},{"name":"Jamaica","dial_code":"+1 876","code":"JM"},{"name":"Japan","dial_code":"+81","code":"JP"},{"name":"Jersey","dial_code":"+44","code":"JE"},{"name":"Jordan","dial_code":"+962","code":"JO"},{"name":"Kazakhstan","dial_code":"+7 7","code":"KZ"},{"name":"Kenya","dial_code":"+254","code":"KE"},{"name":"Kiribati","dial_code":"+686","code":"KI"},{"name":"Korea, Democratic People\'s Republic of Korea","dial_code":"+850","code":"KP"},{"name":"Korea, Republic of South Korea","dial_code":"+82","code":"KR"},{"name":"Kuwait","dial_code":"+965","code":"KW"},{"name":"Kyrgyzstan","dial_code":"+996","code":"KG"},{"name":"Laos","dial_code":"+856","code":"LA"},{"name":"Latvia","dial_code":"+371","code":"LV"},{"name":"Lebanon","dial_code":"+961","code":"LB"},{"name":"Lesotho","dial_code":"+266","code":"LS"},{"name":"Liberia","dial_code":"+231","code":"LR"},{"name":"Libyan Arab Jamahiriya","dial_code":"+218","code":"LY"},{"name":"Liechtenstein","dial_code":"+423","code":"LI"},{"name":"Lithuania","dial_code":"+370","code":"LT"},{"name":"Luxembourg","dial_code":"+352","code":"LU"},{"name":"Macao","dial_code":"+853","code":"MO"},{"name":"Macedonia","dial_code":"+389","code":"MK"},{"name":"Madagascar","dial_code":"+261","code":"MG"},{"name":"Malawi","dial_code":"+265","code":"MW"},{"name":"Malaysia","dial_code":"+60","code":"MY"},{"name":"Maldives","dial_code":"+960","code":"MV"},{"name":"Mali","dial_code":"+223","code":"ML"},{"name":"Malta","dial_code":"+356","code":"MT"},{"name":"Marshall Islands","dial_code":"+692","code":"MH"},{"name":"Martinique","dial_code":"+596","code":"MQ"},{"name":"Mauritania","dial_code":"+222","code":"MR"},{"name":"Mauritius","dial_code":"+230","code":"MU"},{"name":"Mayotte","dial_code":"+262","code":"YT"},{"name":"Mexico","dial_code":"+52","code":"MX"},{"name":"Micronesia, Federated States of Micronesia","dial_code":"+691","code":"FM"},{"name":"Moldova","dial_code":"+373","code":"MD"},{"name":"Monaco","dial_code":"+377","code":"MC"},{"name":"Mongolia","dial_code":"+976","code":"MN"},{"name":"Montenegro","dial_code":"+382","code":"ME"},{"name":"Montserrat","dial_code":"+1664","code":"MS"},{"name":"Morocco","dial_code":"+212","code":"MA"},{"name":"Mozambique","dial_code":"+258","code":"MZ"},{"name":"Myanmar","dial_code":"+95","code":"MM"},{"name":"Namibia","dial_code":"+264","code":"NA"},{"name":"Nauru","dial_code":"+674","code":"NR"},{"name":"Nepal","dial_code":"+977","code":"NP"},{"name":"Netherlands","dial_code":"+31","code":"NL"},{"name":"Netherlands Antilles","dial_code":"+599","code":"AN"},{"name":"New Caledonia","dial_code":"+687","code":"NC"},{"name":"New Zealand","dial_code":"+64","code":"NZ"},{"name":"Nicaragua","dial_code":"+505","code":"NI"},{"name":"Niger","dial_code":"+227","code":"NE"},{"name":"Nigeria","dial_code":"+234","code":"NG"},{"name":"Niue","dial_code":"+683","code":"NU"},{"name":"Norfolk Island","dial_code":"+672","code":"NF"},{"name":"Northern Mariana Islands","dial_code":"+1 670","code":"MP"},{"name":"Norway","dial_code":"+47","code":"NO"},{"name":"Oman","dial_code":"+968","code":"OM"},{"name":"Pakistan","dial_code":"+92","code":"PK"},{"name":"Palau","dial_code":"+680","code":"PW"},{"name":"Palestinian Territory, Occupied","dial_code":"+970","code":"PS"},{"name":"Panama","dial_code":"+507","code":"PA"},{"name":"Papua New Guinea","dial_code":"+675","code":"PG"},{"name":"Paraguay","dial_code":"+595","code":"PY"},{"name":"Peru","dial_code":"+51","code":"PE"},{"name":"Philippines","dial_code":"+63","code":"PH"},{"name":"Pitcairn","dial_code":"+872","code":"PN"},{"name":"Poland","dial_code":"+48","code":"PL"},{"name":"Portugal","dial_code":"+351","code":"PT"},{"name":"Puerto Rico","dial_code":"+1 939","code":"PR"},{"name":"Qatar","dial_code":"+974","code":"QA"},{"name":"Romania","dial_code":"+40","code":"RO"},{"name":"Russia","dial_code":"+7","code":"RU"},{"name":"Rwanda","dial_code":"+250","code":"RW"},{"name":"Reunion","dial_code":"+262","code":"RE"},{"name":"Saint Barthelemy","dial_code":"+590","code":"BL"},{"name":"Saint Helena, Ascension and Tristan Da Cunha","dial_code":"+290","code":"SH"},{"name":"Saint Kitts and Nevis","dial_code":"+1 869","code":"KN"},{"name":"Saint Lucia","dial_code":"+1 758","code":"LC"},{"name":"Saint Martin","dial_code":"+590","code":"MF"},{"name":"Saint Pierre and Miquelon","dial_code":"+508","code":"PM"},{"name":"Saint Vincent and the Grenadines","dial_code":"+1 784","code":"VC"},{"name":"Samoa","dial_code":"+685","code":"WS"},{"name":"San Marino","dial_code":"+378","code":"SM"},{"name":"Sao Tome and Principe","dial_code":"+239","code":"ST"},{"name":"Saudi Arabia","dial_code":"+966","code":"SA"},{"name":"Senegal","dial_code":"+221","code":"SN"},{"name":"Serbia","dial_code":"+381","code":"RS"},{"name":"Seychelles","dial_code":"+248","code":"SC"},{"name":"Sierra Leone","dial_code":"+232","code":"SL"},{"name":"Singapore","dial_code":"+65","code":"SG"},{"name":"Slovakia","dial_code":"+421","code":"SK"},{"name":"Slovenia","dial_code":"+386","code":"SI"},{"name":"Solomon Islands","dial_code":"+677","code":"SB"},{"name":"Somalia","dial_code":"+252","code":"SO"},{"name":"South Africa","dial_code":"+27","code":"ZA"},{"name":"South Georgia and the South Sandwich Islands","dial_code":"+500","code":"GS"},{"name":"Spain","dial_code":"+34","code":"ES"},{"name":"Sri Lanka","dial_code":"+94","code":"LK"},{"name":"Sudan","dial_code":"+249","code":"SD"},{"name":"Suriname","dial_code":"+597","code":"SR"},{"name":"Svalbard and Jan Mayen","dial_code":"+47","code":"SJ"},{"name":"Swaziland","dial_code":"+268","code":"SZ"},{"name":"Sweden","dial_code":"+46","code":"SE"},{"name":"Switzerland","dial_code":"+41","code":"CH"},{"name":"Syrian Arab Republic","dial_code":"+963","code":"SY"},{"name":"Taiwan","dial_code":"+886","code":"TW"},{"name":"Tajikistan","dial_code":"+992","code":"TJ"},{"name":"Tanzania, United Republic of Tanzania","dial_code":"+255","code":"TZ"},{"name":"Thailand","dial_code":"+66","code":"TH"},{"name":"Timor-Leste","dial_code":"+670","code":"TL"},{"name":"Togo","dial_code":"+228","code":"TG"},{"name":"Tokelau","dial_code":"+690","code":"TK"},{"name":"Tonga","dial_code":"+676","code":"TO"},{"name":"Trinidad and Tobago","dial_code":"+1 868","code":"TT"},{"name":"Tunisia","dial_code":"+216","code":"TN"},{"name":"Turkey","dial_code":"+90","code":"TR"},{"name":"Turkmenistan","dial_code":"+993","code":"TM"},{"name":"Turks and Caicos Islands","dial_code":"+1 649","code":"TC"},{"name":"Tuvalu","dial_code":"+688","code":"TV"},{"name":"Uganda","dial_code":"+256","code":"UG"},{"name":"Ukraine","dial_code":"+380","code":"UA"},{"name":"United Arab Emirates","dial_code":"+971","code":"AE"},{"name":"United Kingdom","dial_code":"+44","code":"GB"},{"name":"United States","dial_code":"+1","code":"US"},{"name":"Uruguay","dial_code":"+598","code":"UY"},{"name":"Uzbekistan","dial_code":"+998","code":"UZ"},{"name":"Vanuatu","dial_code":"+678","code":"VU"},{"name":"Venezuela, Bolivarian Republic of Venezuela","dial_code":"+58","code":"VE"},{"name":"Vietnam","dial_code":"+84","code":"VN"},{"name":"Virgin Islands, British","dial_code":"+1 284","code":"VG"},{"name":"Virgin Islands, U.S.","dial_code":"+1 340","code":"VI"},{"name":"Wallis and Futuna","dial_code":"+681","code":"WF"},{"name":"Yemen","dial_code":"+967","code":"YE"},{"name":"Zambia","dial_code":"+260","code":"ZM"},{"name":"Zimbabwe","dial_code":"+263","code":"ZW"}]')},443:function(e,t,n){},444:function(e,t,n){},445:function(e,t,n){},446:function(e,t,n){},447:function(e,t,n){},448:function(e,t,n){},449:function(e,t,n){},450:function(e,t,n){},451:function(e,t,n){},452:function(e,t,n){},453:function(e,t,n){},454:function(e,t,n){},455:function(e,t,n){},456:function(e,t,n){},458:function(e,t,n){"use strict";n.r(t);var a=n(2),r=n.n(a),i=n(42),c=n.n(i),o=(n(289),n(7)),s=n.n(o),l=n(11),d=n(3),u=n(123),p=n(78),b=n(4),h=n(230),m=n(138),j=n(231),v=n(232),f=n(233);b.a.use(h.a).use(m.e).init({fallbackLng:"en-US",debug:!1,keySeparator:".",interpolation:{escapeValue:!1,formatSeparator:","},react:{useSuspense:!1,bindI18n:"languageChanged"},resources:{"en-US":{translations:v.a},"es-US":{translations:f.a},debug:{translations:j.a}},ns:["translations"],defaultNS:"translations"});var O=b.a,g=n(30),x=n(35),S=n(535),y=n(255),A=Object(y.a)({palette:{primary:{main:"#014E8D"},grey:{header:"#586874",main:"#979797","table-text":"#6D7278","field-text":"#231C32","field-label":""}},typography:{h1:{fontSize:"36px",fontWeight:700},h2:{fontSize:"18px",fontWeight:600},button:{textTransform:"none"}}}),w={Unauthenticated:-1,Unknown:0,Parent:1,PrivateSchool:2,ScholarshipOrg:3,Admin:4},C=["AppStages.Undefined","AppStages.Started","AppStages.SDEReview","AppStages.Returned","AppStages.DHSReview","AppStages.SchoolReview","AppStages.Approved","AppStages.Denied","AppStages.Pending","AppStages.Accepted","AppStages.Declined","AppStages.Funded","AppStages.Withdrawn","AppStages.EnrollmentChange"],E=["StmtStages.Undefined","StmtStages.NotStarted","StmtStages.Created","StmtStages.Submitted"],L=1,N=2,I=3,T=4,D=5,P=6,k=7,R=8,F=9,G=10,U=12,M={UserResponse:0,"en-US":1,"es-US":187},H={Initial:1,Renewal:2,Transfer:3,Withdrawal:4,ImportInitial:5,ImportRenewal:6},B=function(e){switch(e){case w.Parent:case w.ScholarshipOrg:return"/applications";case w.PrivateSchool:return"/students";case w.Admin:return"/usersettings";case w.Unauthenticated:return"/signin";default:return console.error("Unknown user type encountered:",e),"/signin"}},V={PreK:"GradeLevel.Levels.PreK",PreKH:"GradeLevel.Levels.PreKH",K:"GradeLevel.Levels.K",KH:"GradeLevel.Levels.KH",G1:"GradeLevel.Levels.G1",G2:"GradeLevel.Levels.G2",G3:"GradeLevel.Levels.G3",G4:"GradeLevel.Levels.G4",G5:"GradeLevel.Levels.G5",G6:"GradeLevel.Levels.G6",G7:"GradeLevel.Levels.G7",G8:"GradeLevel.Levels.G8",G9:"GradeLevel.Levels.G9",G10:"GradeLevel.Levels.G10",G11:"GradeLevel.Levels.G11",G12:"GradeLevel.Levels.G12"},q=n(17),_=n(19),z=n(23),W=n(21),K=n(187),Z=n(8),Q=n(553),Y=r.a.createContext(),$=r.a.createContext({doingAjax:null}),J=r.a.createContext({triggerValidation:null,validationFinished:null}),X=r.a.createContext({user:null,userSettings:null,listSettings:{target:null,reducerState:null,useCache:!1}}),ee=(n(296),n(1));function te(e){var t=e.question,n=e.shouldShowErrors,r=e.disabled,i=e.appInstanceId,c=e.answerUpdated,o=t.chosenOptions.filter((function(e){return!!e})),u=Object(Q.a)(),p=Object(d.a)(u,1)[0],b=Object(a.useContext)(Y).userSettings,h=Object(a.useState)("string"===typeof(null===b||void 0===b?void 0:b.LanguagePreference)?b.LanguagePreference:O.language),m=Object(d.a)(h,2),j=m[0],v=m[1],f=Object(a.useState)(o),g=Object(d.a)(f,2),x=g[0],S=g[1],y=Object(a.useState)(!1),A=Object(d.a)(y,2),w=A[0],C=A[1];Object(a.useEffect)((function(){"string"===typeof(null===b||void 0===b?void 0:b.LanguagePreference)&&v(b.LanguagePreference)}),[b.LanguagePreference]);var E=function(){var e=Object(l.a)(s.a.mark((function e(n){var a,r,o,l,d;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=parseInt(n.target.value),r=x.indexOf(a),o=[],o=r<0?[].concat(Object(q.a)(x),[a]):x.filter((function(e,t){return t!==r})),C(!0),e.prev=5,e.next=8,_.a.put("ShipyardAPI","/application/".concat(i,"/answer/").concat(t.id),{body:{responseIds:o}});case 8:l=e.sent,e.next=15;break;case 11:return e.prev=11,e.t0=e.catch(5),Z.b.error(p("General.AjaxError")),e.abrupt("return");case 15:if(l.success){e.next=18;break}return Z.b.error(p("General.AjaxError")),e.abrupt("return");case 18:t.chosenOptions=o,S(o),d=t.validator(t),t.isValid=d.isValid,t.invalidReason=d.invalidReason,c(),C(!1);case 25:case"end":return e.stop()}}),e,null,[[5,11]])})));return function(t){return e.apply(this,arguments)}}();return Object(ee.jsxs)("div",{className:"question-wrapper checkbox"+(!t.isValid&&n?" invalid":"")+(r?" disabled":""),children:[Object(ee.jsx)("div",{className:"label",children:Object(ee.jsx)(K.a,{children:t.text[j],linkTarget:"_blank"})}),Object(ee.jsx)("span",{className:"invalid-reason",children:t.isValid?"":"string"===typeof t.invalidReason?p(t.invalidReason,{max:t.maxResponseRequired,min:t.minResponseRequired}):""}),t.options.map((function(e){var n=x.indexOf(e.id)>=0;return Object(ee.jsxs)("div",{className:"checkbox-option",children:[w?Object(ee.jsx)("div",{className:"saving",children:Object(ee.jsx)(z.a,{icon:W.q})}):null,w?null:Object(ee.jsx)("div",{className:"input-wrap",children:Object(ee.jsx)("input",{type:"checkbox",id:"quest-".concat(t.id,"-opt-").concat(e.id),value:e.id,checked:n,disabled:w,onChange:E})}),Object(ee.jsx)("label",{htmlFor:"quest-".concat(t.id,"-opt-").concat(e.id),children:e.text[j]})]},e.id)}))]})}var ne=0,ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"id";return ne++,"".concat(e).concat(ne)},re=n(247),ie=n.n(re),ce=(n(371),Object(a.forwardRef)((function(e,t){var n=e.changeHandler,r=e.blurHandler,i=Object(a.useContext)(X).userSettings,c=Object(a.useContext)($).doingAjax,o=Object(a.useContext)(J),s=o.triggerValidation,l=o.validationFinished,u=Object(a.useState)(ae()),p=Object(d.a)(u,1)[0],h=Object(a.useState)("boolean"===typeof c?c:"boolean"===typeof(null===e||void 0===e?void 0:e.disabled)&&e.disabled),m=Object(d.a)(h,2),j=m[0],v=m[1],f=Object(a.useState)("string"===typeof(null===e||void 0===e?void 0:e.value)?e.value:""),O=Object(d.a)(f,2),g=O[0],x=O[1],S=Object(a.useState)("string"===typeof(null===e||void 0===e?void 0:e.label)?e.label:""),y=Object(d.a)(S,2),A=y[0],w=y[1],C=Object(a.useState)((null===e||void 0===e?void 0:e.minDate)?new Date(e.minDate):null),E=Object(d.a)(C,2),L=E[0],N=E[1],I=Object(a.useState)((null===e||void 0===e?void 0:e.maxDate)?new Date(e.maxDate):null),T=Object(d.a)(I,2),D=T[0],P=T[1],k=Object(a.useState)(!0),R=Object(d.a)(k,2),F=R[0],G=R[1],U=Object(a.useState)("boolean"===typeof(null===e||void 0===e?void 0:e.validated)&&e.validated),M=Object(d.a)(U,2),H=M[0],B=M[1],V=Object(a.useState)(e.formKey?e.formKey:"date-picker-".concat(p)),_=Object(d.a)(V,1)[0],z=Object(a.useState)("boolean"===typeof(null===e||void 0===e?void 0:e.required)&&e.required),W=Object(d.a)(z,2),K=W[0],Z=W[1],Q=Object(a.useMemo)((function(){return function(e){"function"===typeof n&&n(e),x(e||""),e&&G(!0)}}),[n]),Y=function(e){e.currentTarget.contains(e.relatedTarget)||("function"===typeof r&&r(e),G(""!==g||!K),B(!0))},te=Object(a.useMemo)((function(){return Object(ee.jsx)(ie.a,{locale:(null===i||void 0===i?void 0:i.LanguagePreference)?i.LanguagePreference:"en-US",onChange:Q,disabled:c||(j||!1),value:g,minDate:L,maxDate:D,dayPlaceholder:"dd",monthPlaceholder:"mm",yearPlaceholder:"yyyy",nativeInputAriaLabel:A,openCalendarOnFocus:!1})}),[i.LanguagePreference,c,j,g,L,D,A,Q]);Object(a.useEffect)((function(){"string"===typeof(null===e||void 0===e?void 0:e.label)&&w(e.label)}),[e.label]),Object(a.useEffect)((function(){N((null===e||void 0===e?void 0:e.minDate)?new Date(e.minDate):null)}),[e.minDate]),Object(a.useEffect)((function(){P((null===e||void 0===e?void 0:e.maxDate)?new Date(e.maxDate):null)}),[e.maxDate]),Object(a.useEffect)((function(){B("boolean"===typeof(null===e||void 0===e?void 0:e.validated)&&e.validated),G((function(e){return e||!e}))}),[e.validated]),Object(a.useEffect)((function(){v((function(t){return"boolean"===typeof(null===e||void 0===e?void 0:e.disabled)?e.disabled:"boolean"===typeof c?c:t}))}),[e.disabled,c]),Object(a.useEffect)((function(){if(s&&K){if(B(!0),""===g)return G(!1),void l(!0);G(!0),l(!0)}}),[g,s,l,F,K]),Object(a.useEffect)((function(){x((function(t){return null!==(null===e||void 0===e?void 0:e.value)?e.value:t}))}),[e.value]),Object(a.useEffect)((function(){Z((function(t){return"boolean"===typeof(null===e||void 0===e?void 0:e.required)?e.required:t}))}),[e.required]);var ne=Object(a.useMemo)((function(){return!F&&H?Object(ee.jsx)("div",{className:"invalid-reason",id:"input_err-"+p,children:Object(b.b)("DatePicker.InvalidMessage")}):null}),[F,H,p]);return Object(ee.jsxs)("div",{className:Array.isArray(null===e||void 0===e?void 0:e.classes)?["date-picker-container"].concat(Object(q.a)(e.classes)).join(" "):"date-picker-container",onBlur:Y,children:[Object(ee.jsxs)("label",{id:"date-picker-"+p,children:[K&&A?Object(ee.jsx)("span",{className:"is-required",children:"\u204e"}):null," ",A||null,A?Object(ee.jsx)("br",{}):null,te]}),ne,Object(ee.jsx)("input",{className:"hidden",type:"hidden",value:g,ref:t,"data-form-key":_,disabled:!0,"aria-invalid":!F})]})})));n(372);function oe(e){var t=e.question,n=e.disabled,r=e.appInstanceId,i=e.answerUpdated,c=t.answerText,o=Object(Q.a)(),u=Object(d.a)(o,1)[0],p=Object(a.useContext)(Y).userSettings,b=Object(a.useState)("string"===typeof(null===p||void 0===p?void 0:p.LanguagePreference)?p.LanguagePreference:O.language),h=Object(d.a)(b,2),m=h[0],j=h[1],v=Object(a.useState)(c),f=Object(d.a)(v,2),g=f[0],x=f[1],S=Object(a.useState)(!1),y=Object(d.a)(S,2),A=y[0],w=y[1],C=Object(a.useState)(c),E=Object(d.a)(C,2),L=E[0],N=E[1],I=Object(a.useState)("boolean"===typeof(null===e||void 0===e?void 0:e.shouldShowErrors)&&e.shouldShowErrors),T=Object(d.a)(I,2),D=T[0],P=T[1],k=new Date,R=new Date(k);R.setDate(k.getDate()-1);var F=function(){var e=Object(l.a)(s.a.mark((function e(){var n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(L!==g&&t.isValid){e.next=3;break}return P(!1===t.isValid),e.abrupt("return");case 3:return w(!0),e.prev=4,e.next=7,_.a.put("ShipyardAPI","/application/".concat(r,"/answer/").concat(t.id),{body:{responseText:g}});case 7:n=e.sent,e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(4),Z.b.error(u("General.AjaxError")),w(!1),e.abrupt("return");case 15:n.success||Z.b.error(u("General.AjaxError")),w(!1),N(g);case 18:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(){return e.apply(this,arguments)}}(),G=function(){var e=Object(l.a)(s.a.mark((function e(n){var a,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=n&&"function"===typeof n.toISOString?n.toISOString():"",t.answerText=a,x(a),r=t.validator(t),t.isValid=r.isValid,t.invalidReason=r.invalidReason,i();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(a.useEffect)((function(){"string"===typeof(null===p||void 0===p?void 0:p.LanguagePreference)&&j(p.LanguagePreference)}),[p.LanguagePreference]),Object(ee.jsxs)("div",{className:"question-wrapper date-pick"+(!t.isValid&&D?" invalid":"")+(n?" disabled":""),children:[Object(ee.jsxs)("label",{children:[Object(ee.jsx)("span",{children:t.text[m]}),A?Object(ee.jsx)("span",{className:"saving",children:Object(ee.jsx)(z.a,{icon:W.q})}):null]}),Object(ee.jsx)(ce,{changeHandler:G,blurHandler:F,disabled:A,value:g?new Date(g):null,validated:!1,maxDate:R.toISOString()}),Object(ee.jsx)("span",{className:"invalid-reason",id:"quest-err-"+t.id,children:u(t.invalidReason)})]})}n(373);function se(e){var t=e.question,n=e.shouldShowErrors,r=e.disabled,i=e.appInstanceId,c=e.answerUpdated,o=t.chosenOptions&&t.chosenOptions.length>0?t.chosenOptions[0]:void 0,u=Object(Q.a)(),p=Object(d.a)(u,1)[0],b=Object(a.useContext)(Y).userSettings,h=Object(a.useState)("string"===typeof(null===b||void 0===b?void 0:b.LanguagePreference)?b.LanguagePreference:O.language),m=Object(d.a)(h,2),j=m[0],v=m[1],f=Object(a.useState)(o),g=Object(d.a)(f,2),x=g[0],S=g[1],y=Object(a.useState)(!1),A=Object(d.a)(y,2),w=A[0],C=A[1];Object(a.useEffect)((function(){"string"===typeof(null===b||void 0===b?void 0:b.LanguagePreference)&&v(b.LanguagePreference)}),[b.LanguagePreference]);var E=function(){var e=Object(l.a)(s.a.mark((function e(n){var a,r,o;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=parseInt(n.target.value),C(!0),e.prev=2,e.next=5,_.a.put("ShipyardAPI","/application/".concat(i,"/answer/").concat(t.id),{body:{responseIds:[a]}});case 5:r=e.sent,e.next=12;break;case 8:return e.prev=8,e.t0=e.catch(2),Z.b.error(p("General.AjaxError")),e.abrupt("return");case 12:if(r.success){e.next=15;break}return Z.b.error(p("General.AjaxError")),e.abrupt("return");case 15:t.chosenOptions=[a],S(a),o=t.validator(t),t.isValid=o.isValid,t.invalidReason=o.invalidReason,c(),C(!1);case 22:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(t){return e.apply(this,arguments)}}();return Object(ee.jsxs)("div",{className:"question-wrapper dropdown"+(!t.isValid&&n?" invalid":"")+(r?" disabled":""),children:[Object(ee.jsxs)("label",{htmlFor:"quest-"+t.id,children:[Object(ee.jsx)("span",{children:t.text[j]}),w?Object(ee.jsx)(z.a,{icon:W.q}):null]}),Object(ee.jsxs)("select",{id:"quest-"+t.id,"aria-describedby":"quest-err-"+t.id,disabled:w,value:x,onChange:E,children:[Object(ee.jsx)("option",{hidden:!0,value:""}),t.options.map((function(e){return Object(ee.jsx)("option",{value:e.id,children:e.text[j]},"quest-".concat(t.id,"-opt-").concat(e.id))}))]}),Object(ee.jsx)("span",{className:"invalid-reason",id:"quest-err-"+t.id,children:"string"===typeof t.invalidReason?p(t.invalidReason):t.invalidReason[b.LanguagePreference]})]})}n(374);var le,de=function(e){var t,n=Object(a.useContext)($).doingAjax,r=Object(a.useContext)(X).userSettings;switch(e.type){case"negative":t="negative";break;case"secondary":t="secondary";break;case"tertiary":t="tertiary";break;case"grey":t="grey";break;default:t="primary"}var i=Object(a.useState)("primary"===t&&!1!==(null===e||void 0===e?void 0:e.interactive)),c=Object(d.a)(i,1)[0],o=Object(a.useState)(n||"boolean"===typeof(null===e||void 0===e?void 0:e.disabled)&&e.disabled),s=Object(d.a)(o,2),l=s[0],u=s[1],p=Object(a.useState)(!1),b=Object(d.a)(p,2),h=b[0],m=b[1],j=Object(a.useState)(e.defaultText?e.defaultText:e.children),v=Object(d.a)(j,2),f=v[0],O=v[1],g=Object(a.useState)(e.interactiveText?e.interactiveText:f),x=Object(d.a)(g,1)[0],S=Object(a.useState)("."),y=Object(d.a)(S,2),A=y[0],w=y[1];return Object(a.useEffect)((function(){u(n||e.disabled),n||m(!1)}),[n,e.disabled]),Object(a.useEffect)((function(){var e=n&&c&&h?setInterval((function(){A.length<3?w(A+"."):w(".")}),1e3):w(".");return function(){clearInterval(e)}}),[n,c,h,A]),Object(a.useEffect)((function(){O(e.defaultText?e.defaultText:e.children)}),[r.LanguagePreference,e.defaultText,e.children]),Object(ee.jsx)("div",{className:"button-container"+("string"===typeof(null===e||void 0===e?void 0:e.className)?" "+e.className+"-container":""),children:Object(ee.jsx)("button",{className:(e.className?e.className+" ":"")+t,onClick:function(t){m(!0),"function"===typeof e.onClick&&e.onClick()},disabled:l,children:c&&h?x+A:f})})},ue=["title","titleId"];function pe(){return pe=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function he(e,t){var n=e.title,r=e.titleId,i=be(e,ue);return a.createElement("svg",pe({width:"24px",height:"33px",viewBox:"0 0 24 33",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,le||(le=a.createElement("g",{id:"Admin",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a.createElement("g",{id:"Admin-View-Student-Application---Full-data",transform:"translate(-617.000000, -2470.000000)",fill:"#1C55FF"},a.createElement("path",{d:"M634.191212,2480 L640.372661,2480 C640.37917,2479.9992 640.384052,2479.9992 640.389748,2480 C640.726607,2480 641,2479.72969 641,2479.39663 C641,2479.18988 640.894223,2479.00646 640.733116,2478.89785 L632.044752,2470.1788 C631.87144,2470.00503 631.608625,2469.95354 631.378356,2470.04365 C631.148902,2470.13777 631,2470.3574 631,2470.60277 L631,2476.84479 C631,2478.5849 632.432059,2480 634.191212,2480 L634.191212,2480 Z M632,2471 L640,2479 L634.354886,2479 C633.055907,2479 632,2477.95869 632,2476.6798 L632,2471 L632,2471 Z M633.420956,2486.98734 C633.569191,2486.98734 633.717426,2486.92681 633.830919,2486.80491 C634.05636,2486.56195 634.05636,2486.1689 633.830919,2485.92594 L629.412425,2481.18201 C629.186984,2480.93905 628.820256,2480.93988 628.594042,2481.18118 L624.170144,2485.91848 C623.94393,2486.16144 623.943158,2486.55532 624.1686,2486.79828 C624.394041,2487.04207 624.760769,2487.04207 624.986982,2486.79994 L628.429594,2483.11325 L628.431138,2493.37809 C628.431138,2493.72138 628.691322,2494 629.010182,2494 C629.330587,2494 629.589226,2493.72138 629.589226,2493.37809 L629.587682,2483.12901 L633.011764,2486.80491 C633.124485,2486.92681 633.27272,2486.98734 633.420956,2486.98734 L633.420956,2486.98734 Z M640.398757,2480.62423 C640.066872,2480.62423 639.798317,2480.90336 639.798317,2481.24728 L639.798317,2499.53917 C639.798317,2500.76035 638.841138,2501.7539 637.663505,2501.7539 L620.336495,2501.7539 C619.159663,2501.7539 618.202485,2500.76035 618.202485,2499.53917 L618.20489,2473.39769 C618.240163,2472.19064 619.1773,2471.2461 620.336495,2471.2461 L630.281047,2471.2461 C630.612933,2471.2461 630.88229,2470.96697 630.88229,2470.62305 C630.88229,2470.27913 630.612933,2470 630.281047,2470 L620.336495,2470 C618.522346,2470 617.058521,2471.47538 617.002405,2473.37776 L617,2499.53917 C617,2501.44736 618.496693,2503 620.336495,2503 L637.663505,2503 C639.503307,2503 641,2501.44736 641,2499.53917 L641,2481.24728 C641,2480.90336 640.730643,2480.62423 640.398757,2480.62423 L640.398757,2480.62423 Z",id:"Fill-75-Copy"})))))}var me,je=a.forwardRef(he),ve=(n.p,["title","titleId"]);function fe(){return fe=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ge(e,t){var n=e.title,r=e.titleId,i=Oe(e,ve);return a.createElement("svg",fe({width:"18px",height:"20px",viewBox:"0 0 18 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,me||(me=a.createElement("g",{id:"Admin",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",strokeLinecap:"round"},a.createElement("g",{id:"Admin-View-Student-Application---Full-data",transform:"translate(-815.000000, -2367.000000)",stroke:"#3763E8",strokeWidth:1.5},a.createElement("line",{x1:816.628108,y1:2385.37189,x2:831.702695,y2:2385.37189,id:"Line-7"}),a.createElement("path",{d:"M818.38058,2376.57987 L824.269129,2382.18787 C824.637191,2381.83541 825.410568,2381.09481 826.58926,2379.96607 C827.767951,2378.83734 828.946643,2377.70861 830.125335,2376.57987",id:"Path-8",strokeLinejoin:"round"}),a.createElement("path",{d:"M824.252957,2381.70433 C824.252957,2376.76876 824.252957,2372.20065 824.252957,2368",id:"Path-9"})))))}var xe,Se=a.forwardRef(ge),ye=(n.p,["title","titleId"]);function Ae(){return Ae=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ce(e,t){var n=e.title,r=e.titleId,i=we(e,ye);return a.createElement("svg",Ae({width:"16px",height:"20px",viewBox:"0 0 16 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,xe||(xe=a.createElement("g",{id:"Admin",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a.createElement("g",{id:"Admin-View-Student-Application---Full-data",transform:"translate(-866.000000, -2367.000000)",stroke:"#D55555",strokeWidth:1.25},a.createElement("line",{x1:867,y1:2370.68516,x2:881.065728,y2:2370.78025,id:"Path-2",strokeLinecap:"round"}),a.createElement("path",{d:"M868.254192,2370.68516 L868.254192,2384.68516 C868.254192,2385.23745 868.701907,2385.68516 869.254192,2385.68516 L878.907648,2385.68516 C879.459932,2385.68516 879.907648,2385.23745 879.907648,2384.68516 L879.907648,2370.7271 L879.907648,2370.7271",id:"Path-4",strokeLinejoin:"round"}),a.createElement("line",{x1:871.043756,y1:2373.73653,x2:871.043756,y2:2382.74138,id:"Path-5",strokeLinecap:"round"}),a.createElement("line",{x1:873.95712,y1:2373.73653,x2:873.95712,y2:2382.74138,id:"Path-6",strokeLinecap:"round"}),a.createElement("line",{x1:876.987018,y1:2373.73653,x2:876.987018,y2:2382.74138,id:"Path-6",strokeLinecap:"round"}),a.createElement("path",{d:"M870.694152,2370.68516 L870.694152,2369 C870.694152,2368.44772 871.141867,2368 871.694152,2368 L876.686225,2368 C877.23851,2368 877.686225,2368.44772 877.686225,2369 L877.686225,2370.73271 L877.686225,2370.73271",id:"Path-7"})))))}var Ee=a.forwardRef(Ce),Le=(n.p,function(e){switch(e){case"long":case"long-time":return"long";default:return"short"}}),Ne=function(e){return!("string"!==typeof e||!e.includes("time"))},Ie=function(e){var t=e;if(t>0){var n=Math.floor(t/1e3/60/60/24);if(1===n)return n+" day ago.";if(n>1)return n+" days ago.";t-=1e3*n*60*60*24;var a=Math.floor(t/1e3/60/60);if(1===a)return a+" hour ago.";if(a>1)return a+" hours ago.";if(a<0)return"in "+Math.abs(a)+" hours.";t-=1e3*a*60*60;var r=Math.floor(t/1e3/60);return r<3?"Just now.":r+" minutes ago."}var i=Math.ceil(t/1e3/60/60/24);if(-1===i)return"in "+Math.abs(i)+" day.";if(i<-1)return"in "+Math.abs(i)+" days.";t+=1e3*i*60*60*24;var c=Math.ceil(t/1e3/60/60);if(-1===c)return"in "+Math.abs(c)+" hour.";if(c<-1)return"in "+Math.abs(c)+" hours.";t+=1e3*c*60*60;var o=Math.ceil(t/1e3/60);return o>-3?"Just now.":o<-1?"in "+Math.abs(o)+" minutes.":void 0},Te=function(e,t,n){var a={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",timeZoneName:"short",timeZone:n};return"string"===typeof e?new Intl.DateTimeFormat(t,a).format(new Date(e)):e instanceof Date?new Intl.DateTimeFormat(t,a).format(e):new Intl.DateTimeFormat(t,a).format(new Date)};function De(e){var t=Object(a.useContext)(Y).userSettings,n=Object(a.useState)("string"===typeof(null===e||void 0===e?void 0:e.date)||(null===e||void 0===e?void 0:e.date)instanceof Date?new Date(e.date):new Date),r=Object(d.a)(n,2),i=r[0],c=r[1],o=Object(a.useState)("string"===typeof(null===e||void 0===e?void 0:e.type)?Le(e.type):"short"),s=Object(d.a)(o,2),l=s[0],u=s[1],p=Object(a.useState)("string"===typeof(null===e||void 0===e?void 0:e.type)&&Ne(e.type)),b=Object(d.a)(p,2),h=b[0],m=b[1],j=Object(a.useState)({}),v=Object(d.a)(j,2),f=v[0],O=v[1],g=Object(a.useState)((null===t||void 0===t?void 0:t.LanguagePreference)?t.LanguagePreference:"en-US"),x=Object(d.a)(g,2),S=x[0],y=x[1],A=Object(a.useState)("relative"===(null===e||void 0===e?void 0:e.type)&&"function"===typeof(null===i||void 0===i?void 0:i.getTime)?Date.now()-i.getTime():null),w=Object(d.a)(A,2),C=w[0],E=w[1],L=Object(a.useState)(Te(null===e||void 0===e?void 0:e.date,S,t.ClientTimeZone)),N=Object(d.a)(L,2),I=N[0],T=N[1];return Object(a.useEffect)((function(){O((function(e){var n=t.ClientTimeZone&&"string"===typeof t.ClientTimeZone?{timeZone:t.ClientTimeZone}:{};if(Object.assign(n,e),h&&(n=Object.assign(n,{hour:"numeric",minute:"numeric",timeZoneName:"short"})),"long"===l)n=Object.assign(n,{day:"numeric",month:"long",year:"numeric"});else n=Object.assign(n,{day:"numeric",month:"numeric",year:"2-digit"});return n}))}),[t.ClientTimeZone,h,l]),Object(a.useEffect)((function(){"string"===typeof(null===t||void 0===t?void 0:t.LanguagePreference)&&y(t.LanguagePreference)}),[t,t.Retrieved]),Object(a.useEffect)((function(){T(Te(null===e||void 0===e?void 0:e.date,S,t.ClientTimeZone))}),[S,e.date,t.ClientTimeZone]),Object(a.useEffect)((function(){var t=(null===e||void 0===e?void 0:e.date)?new Date(e.date):new Date;c((function(e){return e!==t?t:e}))}),[e.date]),Object(a.useEffect)((function(){e.type&&(u(Le(e.type)),m(Ne(e.type)),"relative"===e.type&&E(Date.now()-i.getTime()))}),[e.type,i]),Object(a.useEffect)((function(){var t=setInterval((function(){"relative"===(null===e||void 0===e?void 0:e.type)&&E(Date.now()-new Date(i).getTime())}),6e4);return function(){clearInterval(t)}})),Object(a.useMemo)((function(){return"relative"!==(null===e||void 0===e?void 0:e.type)?Object(ee.jsx)("div",{title:I,className:"string"===typeof(null===e||void 0===e?void 0:e.className)?e.className+" date-time-text-container":"date-time-text-container",children:Intl.DateTimeFormat(S,f).format(i)}):"relative"===(null===e||void 0===e?void 0:e.type)&&"string"===typeof(null===e||void 0===e?void 0:e.date)?Object(ee.jsx)("div",{title:I,children:Ie(C)}):null}),[i,f,C,S,e,I])}n(375);var Pe=Object(a.forwardRef)((function(e,t){var n,r=Object(a.useContext)($).doingAjax,i=Object(a.useContext)(J),c=i.triggerValidation,o=i.validationFinished,p=Object(a.useState)(ae()),h=Object(d.a)(p,1)[0],m=Object(a.useState)((null===e||void 0===e?void 0:e.classes)?e.classes.join(" ")+" file-drop":"file-drop"),j=Object(d.a)(m,1)[0],v=Object(a.useState)((null===e||void 0===e?void 0:e.files)?e.files:null),f=Object(d.a)(v,2),O=f[0],g=f[1],x=Object(a.useState)((null===e||void 0===e?void 0:e.labelText)?e.labelText:null),S=Object(d.a)(x,1)[0],y=Object(a.useState)(!1),A=Object(d.a)(y,2),w=A[0],C=A[1],E=Object(a.useState)(!0),L=Object(d.a)(E,2),N=L[0],I=L[1],T=Object(a.useState)("boolean"===typeof(null===e||void 0===e?void 0:e.required)&&e.required),D=Object(d.a)(T,2),P=D[0],k=D[1],R=Object(a.useState)(),F=Object(d.a)(R,2),G=F[0],U=F[1],M=Object(a.useState)(!1),H=Object(d.a)(M,2),B=H[0],V=H[1],q=Object(a.useState)("boolean"===typeof(null===e||void 0===e?void 0:e.disabled)?e.disabled:r||!1),_=Object(d.a)(q,2),K=_[0],Z=_[1],Q=Object(a.useState)("boolean"===typeof(null===e||void 0===e?void 0:e.downloadOnly)&&e.downloadOnly),Y=Object(d.a)(Q,2),X=Y[0],te=Y[1],ne=Object(a.useRef)(),re=Object(a.useRef)();Object(a.useEffect)((function(){g((function(t){return(null===e||void 0===e?void 0:e.files)?e.files:t}))}),[e.files]),Object(a.useEffect)((function(){Z(r)}),[r]),Object(a.useEffect)((function(){if(w){var e=function(){var e=Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.get("ShipyardAPI","/application/docs/".concat(O[0].fileId));case 3:t=e.sent,U(t.downloadURL),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.error(e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();C(!1),e()}}),[w,O]),Object(a.useEffect)((function(){c&&P&&(0===O.length?I(!1):I(!0),o(!0))}),[c,o,O,P]),Object(a.useEffect)((function(){var e;"function"===typeof(null===(e=re.current)||void 0===e?void 0:e.click)&&G&&(re.current.click(),U())}),[re,G]),Object(a.useEffect)((function(){"boolean"===typeof e.disabled&&Z(e.disabled)}),[e.disabled]),Object(a.useEffect)((function(){"boolean"===typeof e.required&&k(e.required)}),[e.required]),Object(a.useEffect)((function(){"boolean"===typeof e.downloadOnly&&te(e.downloadOnly)}),[e.downloadOnly]),Object(a.useEffect)((function(){"boolean"===typeof e.uploading&&(V(e.uploading),Z(e.uploading))}),[e.uploading]);var ie=function(e){e.target!==re.current&&C(!0)},ce=0===O.length?Object(ee.jsxs)("div",{className:"file-drop-area",children:[Object(ee.jsxs)("div",{className:j,onDrop:"function"===typeof(null===e||void 0===e?void 0:e.drop)&&!0!==K?e.drop:null,onDragOver:"function"===typeof(null===e||void 0===e?void 0:e.dragover)&&!0!==K?e.dragover:null,children:[Object(ee.jsx)("div",{className:"file-icon",children:B?Object(ee.jsx)(z.a,{className:"save-icon",icon:W.q}):Object(ee.jsx)(je,{className:"upload-icon"})}),Object(ee.jsxs)("div",{children:[Object(b.b)("FileDrop.DropText"),Object(ee.jsx)("br",{}),Object(ee.jsx)("span",{className:"blue-text",onClick:!0!==K?function(){ne.current.click()}:null,disabled:!0===K,children:Object(b.b)("FileDrop.ClickText")}),Object(ee.jsx)("input",{type:"file",ref:ne,onChange:"function"===typeof(null===e||void 0===e?void 0:e.drop)?e.drop:null,"data-key":(null===e||void 0===e?void 0:e.refKey)?e.refKey:null})]})]}),N?null:Object(ee.jsx)("div",{className:"invalid-reason",id:"file_drop_err-"+h,children:"This file is required."})]}):Object(ee.jsx)("div",{className:j+" dropped",children:O.map((function(t){var n;return Object(ee.jsxs)("div",{className:"files-list",children:[Object(ee.jsxs)("div",{children:[Object(ee.jsx)("span",{children:t.name}),Object(ee.jsxs)("span",{children:[Object(b.b)("FileDrop.UploadedOnLabel")+" ",Object(ee.jsx)(De,{className:"file-drop-date-time",date:t.uploadedOn,type:"short"})]}),G&&(null===(n=O[0])||void 0===n?void 0:n.name)?Object(ee.jsx)("a",{href:G,download:O[0].name,className:"hidden",ref:re,children:O[0].name}):null]}),Object(ee.jsxs)("div",{className:"type-icon",children:["\xa0",Object(ee.jsx)(Se,{onClick:ie})]}),X?null:Object(ee.jsxs)("div",{className:"remove-icon",children:["\xa0",Object(ee.jsx)(Ee,{onClick:"function"===typeof(null===e||void 0===e?void 0:e.remove)?function(){return e.remove(O[0].fileId)}:null})]})]},"file-".concat(t.name))}))});return Object(ee.jsxs)("div",{className:"file-drop-container",children:[S?Object(ee.jsx)("label",{children:Object(ee.jsxs)(ee.Fragment,{children:[S,Object(ee.jsx)("br",{})]})}):null,ce,Object(ee.jsx)("input",{type:"hidden",className:"hidden",ref:t,value:(null===(n=O[0])||void 0===n?void 0:n.name)?O[0].name:"","data-form-key":e.formKey?e.formKey:"file-drop-".concat(h)})]})})),ke=Pe;n(376);function Re(e){var t=e.question,n=e.shouldShowErrors,r=e.disabled,i=e.appInstanceId,c=e.answerUpdated,o=t.docData&&"function"===typeof t.docData.map?t.docData.map((function(e){return Object.assign({},{name:e.FileName,uploadedOn:e.LastUpdatedUTC,type:e.FileName.includes("pdf")?"pdf":e.FileName.includes(".docx")?"officedocument":"default",fileId:e.FileID})})):[],u=Object(a.useContext)(Y),p=u.userSettings,h=u.displayModal,m=Object(a.useState)("string"===typeof(null===p||void 0===p?void 0:p.LanguagePreference)?p.LanguagePreference:O.language),j=Object(d.a)(m,2),v=j[0],f=j[1],g=Object(a.useState)(!1),x=Object(d.a)(g,2),S=x[0],y=x[1],A=Object(a.useState)(o),w=Object(d.a)(A,2),C=w[0],E=w[1],L=Object(a.useState)(!1),N=Object(d.a)(L,2),I=N[0],T=N[1],D=Object(a.useState)(t.maxResponseRequired&&"number"===typeof t.maxResponseRequired?t.maxResponseRequired:0),P=Object(d.a)(D,1)[0];Object(a.useEffect)((function(){"string"===typeof(null===p||void 0===p?void 0:p.LanguagePreference)&&f(p.LanguagePreference)}),[p.LanguagePreference]),Object(a.useEffect)((function(){if(Number.isInteger(I)){var e=function(){var e=Object(l.a)(s.a.mark((function e(){var n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y(!0),e.prev=1,e.next=4,_.a.del("ShipyardAPI","/application/docs/".concat(I),{body:{status:"0"}});case 4:T(),t.chosenOptions=C.filter((function(e){return e.fileId!==I})).map((function(e){return e.fileId})),t.docData=C.filter((function(e){return e.fileId!==I})).map((function(e){return{FileName:e.name,FileID:e.fileId,LastUpdatedUTC:e.uploadedOn}})),n=t.validator(t),t.isValid=n.isValid,t.invalidReason=n.invalidReason,c(),E((function(e){return e.filter((function(e){return e.fileId!==I}))})),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(1),Z.b.error(Object(b.b)("General.AjaxError")),T();case 18:y(!1);case 19:case"end":return e.stop()}}),e,null,[[1,14]])})));return function(){return e.apply(this,arguments)}}();e()}}),[I,C,c,t]);var k=Object(a.useMemo)((function(){var e=function(){var e=Object(l.a)(s.a.mark((function e(n){var a,r,o,l,d,u,p,h,m,j;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===n||void 0===n||n.preventDefault(),null===n||void 0===n||n.stopPropagation(),o=(null===n||void 0===n||null===(a=n.dataTransfer)||void 0===a?void 0:a.files)||(null===n||void 0===n||null===(r=n.target)||void 0===r?void 0:r.files),l=t.responseRegexes.map((function(e){return new RegExp(e.rgx)})),!o||!l.every((function(e){return e.test(o[0].type)}))){e.next=67;break}return y(!0),e.prev=6,e.next=9,_.a.get("ShipyardAPI","/application/".concat(i,"/docs/").concat(t.id,"/target"),{queryStringParameters:{fileName:o[0].name,documentType:t.documentType,mimeType:o[0].type}});case 9:d=e.sent,e.next=17;break;case 12:return e.prev=12,e.t0=e.catch(6),Z.b.error(Object(b.b)("General.AjaxError")),y(!1),e.abrupt("return");case 17:return e.prev=17,u={body:o[0],headers:{"Content-Type":""},method:"PUT"},e.next=21,fetch(d.url,u);case 21:if(e.sent.ok){e.next=26;break}return Z.b.error(Object(b.b)("General.AjaxError")),y(!1),e.abrupt("return");case 26:e.next=33;break;case 28:return e.prev=28,e.t1=e.catch(17),Z.b.error(Object(b.b)("General.AjaxError")),y(!1),e.abrupt("return");case 33:return e.prev=33,e.next=36,_.a.put("ShipyardAPI","/application/docs/".concat(d.fileId),{body:{status:"1"}});case 36:e.next=43;break;case 38:return e.prev=38,e.t2=e.catch(33),Z.b.error(Object(b.b)("General.AjaxError")),y(!1),e.abrupt("return");case 43:return p={name:o[0].name,fileId:d.fileId,uploadedOn:(new Date).toISOString(),type:o[0].type},h=C.map((function(e){return e.fileId})),e.prev=45,m=[].concat(Object(q.a)(h),[d.fileId]),e.next=49,_.a.put("ShipyardAPI","/application/".concat(i,"/answer/").concat(t.id),{body:{responseIds:m}});case 49:e.next=56;break;case 51:return e.prev=51,e.t3=e.catch(45),Z.b.error(Object(b.b)("General.AjaxError")),y(!1),e.abrupt("return");case 56:h=C.map((function(e){return{FileName:e.name,FileID:e.fileId,LastUpdatedUTC:e.uploadedOn}})),t.chosenOptions=m,t.docData=[].concat(Object(q.a)(h),[{FileName:o[0].name,FileID:d.fileId,LastUpdatedUTC:(new Date).toISOString()}]),j=t.validator(t),t.isValid=j.isValid,t.invalidReason=j.invalidReason,c(),E((function(e){return[].concat(Object(q.a)(e),[p])})),y(!1),e.next=69;break;case 67:Z.b.error(Object(b.b)("File.IncorrectType")),y(!1);case 69:case"end":return e.stop()}}),e,null,[[6,12],[17,28],[33,38],[45,51]])})));return function(t){return e.apply(this,arguments)}}(),n=function(e){null===e||void 0===e||e.preventDefault(),null===e||void 0===e||e.stopPropagation()},a=function(e){h(!0,(function(){return Object(ee.jsxs)("div",{className:"deletion-warning-container",children:[Object(ee.jsxs)("div",{className:"deletion-warning-text",children:[Object(ee.jsx)("label",{children:"Are you sure you want to delete:"}),Object(ee.jsx)("br",{}),C.find((function(t){return t.fileId===e})).name]}),Object(ee.jsxs)("div",{className:"deletion-warning-buttons",children:[Object(ee.jsx)(de,{type:"negative",onClick:function(){h(!1,null)},children:"Cancel"}),Object(ee.jsx)(de,{onClick:function(){h(!1,null),T(e)},children:"Continue"})]})]})}))},r=[];return C.forEach((function(i,c){r.push(Object(ee.jsx)(ke,{drag:n,drop:e,remove:a,files:[i],required:t.minResponseRequired>0},"file-drop-".concat(c)))})),C.length0},"file-drop-".concat(C.length))),Object(ee.jsx)("div",{className:"attachments-files-list",onDragOver:n,onDrop:n,children:r})}),[C,t,P,c,i,h]),R=Object(a.useMemo)((function(){return C.length<1?Object(ee.jsx)("span",{children:Object(b.b)("File.AcceptedTypes",{acceptedFileTypes:t.acceptedFileTypes})}):null}),[C,t.acceptedFileTypes]);return Object(ee.jsxs)("div",{className:"question-wrapper file"+(!t.isValid&&n?" invalid":"")+(r?" disabled":""),children:[Object(ee.jsxs)("div",{className:"label label-file",children:[Object(ee.jsx)("span",{children:t.text[v]}),Object(ee.jsx)("div",{className:"line"}),S?Object(ee.jsx)("span",{className:"saving",children:Object(ee.jsx)(z.a,{icon:W.q})}):null]}),Object(ee.jsx)("span",{className:"invalid-reason",children:t.isValid?"":"string"===typeof t.invalidReason?Object(b.b)(t.invalidReason,{max:t.maxResponseRequired,min:t.minResponseRequired}):""}),k,R]})}n(377);function Fe(e){var t=e.question,n=Object(a.useContext)(Y).userSettings,r=Object(a.useState)("string"===typeof(null===n||void 0===n?void 0:n.LanguagePreference)?n.LanguagePreference:O.language),i=Object(d.a)(r,2),c=i[0],o=i[1];return t.isValid=!0,Object(a.useEffect)((function(){"string"===typeof(null===n||void 0===n?void 0:n.LanguagePreference)&&o(n.LanguagePreference)}),[n.LanguagePreference]),Object(ee.jsx)("div",{className:"question-wrapper label-only",children:Object(ee.jsx)(K.a,{children:t.text[c],linkTarget:"_blank"})})}n(378);function Ge(e){var t=e.question,n=e.shouldShowErrors,r=e.disabled,i=e.appInstanceId,c=e.answerUpdated,o=t.chosenOptions&&t.chosenOptions.length>0?t.chosenOptions[0]:void 0,u=Object(Q.a)(),p=Object(d.a)(u,1)[0],b=Object(a.useContext)(Y).userSettings,h=Object(a.useState)("string"===typeof(null===b||void 0===b?void 0:b.LanguagePreference)?b.LanguagePreference:O.language),m=Object(d.a)(h,2),j=m[0],v=m[1],f=Object(a.useState)(o),g=Object(d.a)(f,2),x=g[0],S=g[1],y=Object(a.useState)(!1),A=Object(d.a)(y,2),w=A[0],C=A[1];t.isValid=!!o,Object(a.useEffect)((function(){"string"===typeof(null===b||void 0===b?void 0:b.LanguagePreference)&&v(b.LanguagePreference)}),[b.LanguagePreference]);var E=function(){var e=Object(l.a)(s.a.mark((function e(n){var a,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=parseInt(n.target.value),C(!0),e.prev=2,e.next=5,_.a.put("ShipyardAPI","/application/".concat(i,"/answer/").concat(t.id),{body:{responseIds:[a]}});case 5:r=e.sent,e.next=12;break;case 8:return e.prev=8,e.t0=e.catch(2),Z.b.error(p("General.AjaxError")),e.abrupt("return");case 12:if(r.success){e.next=15;break}return Z.b.error(p("General.AjaxError")),e.abrupt("return");case 15:t.chosenOptions=[a],t.isValid=!0,c(),S(a),C(!1);case 20:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(t){return e.apply(this,arguments)}}();return Object(ee.jsx)("div",{className:"question-wrapper radio"+(!t.isValid&&n?" invalid":"")+(r?" disabled":""),role:"radiogroup",children:Object(ee.jsxs)("fieldset",{children:[Object(ee.jsx)("legend",{children:Object(ee.jsx)(K.a,{children:t.text[j],linkTarget:"_blank"})}),Object(ee.jsx)("span",{className:"invalid-reason",children:t.isValid?"":"string"===typeof t.invalidReason?p(t.invalidReason):""}),t.options.map((function(e){var n=x===e.id;return Object(ee.jsxs)("div",{className:"radio-option",children:[w?Object(ee.jsx)("div",{className:"saving",children:Object(ee.jsx)(z.a,{icon:W.q})}):null,w?null:Object(ee.jsx)("div",{className:"input-wrap",children:Object(ee.jsx)("input",{type:"radio",id:"quest-".concat(t.id,"-opt-").concat(e.id),name:"quest-opt-"+t.id,checked:n,disabled:w,onChange:E,value:e.id})}),Object(ee.jsx)("label",{htmlFor:"quest-".concat(t.id,"-opt-").concat(e.id),children:Object(ee.jsx)(K.a,{children:e.text[j],linkTarget:"_blank"})})]},e.id)}))]})})}var Ue=n(158),Me=n.n(Ue);n(381);function He(e){var t=e.question,n=e.appInstanceId,r=e.answerUpdated,i=e.disabled,c=e.shouldShowErrors,o=t.chosenOptions&&t.chosenOptions.length>0?t.chosenOptions[0]:void 0,u=Object(Q.a)(),p=Object(d.a)(u,1)[0],b=Object(a.useState)(!1),h=Object(d.a)(b,2),m=h[0],j=h[1],v=Object(a.useContext)(Y).userSettings,f=Object(a.useState)("string"===typeof(null===v||void 0===v?void 0:v.LanguagePreference)?v.LanguagePreference:O.language),g=Object(d.a)(f,2),x=g[0],S=g[1],y=Object(a.useState)(o),A=Object(d.a)(y,2),w=A[0],C=A[1],E=Object(a.useState)(!1),L=Object(d.a)(E,2),N=L[0],I=L[1],T=Object(a.useState)(""),D=Object(d.a)(T,2),P=D[0],k=D[1],R={};Object(a.useEffect)((function(){Object(l.a)(s.a.mark((function e(){var a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(w){e.next=2;break}return e.abrupt("return");case 2:return I(!0),e.next=5,_.a.get("ShipyardAPI","/application/".concat(n,"/answer/").concat(t.id,"/signature"));case 5:a=e.sent,k(a.location),I(!1);case 8:case"end":return e.stop()}}),e)})))()}),[n,w,t]),Object(a.useEffect)((function(){"string"===typeof(null===v||void 0===v?void 0:v.LanguagePreference)&&S(v.LanguagePreference)}),[v.LanguagePreference]);var F=function(){var e=Object(l.a)(s.a.mark((function e(){var a,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return I(!0),a=R.getTrimmedCanvas().toDataURL("image/png"),e.prev=2,e.next=5,_.a.put("ShipyardAPI","/application/".concat(n,"/answer/").concat(t.id,"/signature"),{body:{signatureImage:a}});case 5:i=e.sent,e.next=12;break;case 8:return e.prev=8,e.t0=e.catch(2),Z.b.error(p("General.AjaxError")),e.abrupt("return");case 12:if(i.fileId){e.next=15;break}return Z.b.error(p("General.AjaxError")),e.abrupt("return");case 15:t.chosenOptions=[i.fileId],t.isValid=!0,r(),C(i.fileId),I(!1);case 20:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(){return e.apply(this,arguments)}}();return Object(ee.jsxs)("div",{className:"question-wrapper signature"+(!t.isValid&&c?" invalid":"")+(i?" disabled":""),children:[Object(ee.jsx)("div",{className:"label",children:Object(ee.jsx)(K.a,{children:t.text[x],linkTarget:"_blank"})}),Object(ee.jsxs)("div",{className:"sig-wrapper",children:[N?Object(ee.jsx)("div",{className:"saving",children:Object(ee.jsx)(z.a,{icon:W.q})}):null,P?Object(ee.jsx)("img",{alt:"signature",src:P}):Object(ee.jsx)(Me.a,{ref:function(e){R=e},canvasProps:{className:"sigCanvas"},onEnd:function(){j(!0)}})]}),Object(ee.jsxs)("div",{className:"link-buttons",children:[Object(ee.jsx)("span",{onClick:function(){k(""),R&&R.clear&&R.clear(),r(),j(!1)},children:"Clear and try again"}),!m||N||P?null:Object(ee.jsx)("span",{onClick:F,children:"Apply signature"})]}),Object(ee.jsx)("span",{className:"invalid-reason",id:"quest-".concat(t.id,"-err"),children:p(t.invalidReason)})]})}n(382);function Be(e){var t=e.question,n=e.disabled,r=e.answerUpdated,i=e.appInstanceId,c=Object(Q.a)(),o=Object(d.a)(c,1)[0],u=Object(a.useContext)(Y).userSettings,p=Object(a.useState)("boolean"===typeof(null===e||void 0===e?void 0:e.shouldShowErrors)&&e.shouldShowErrors),b=Object(d.a)(p,2),h=b[0],m=b[1],j=Object(a.useState)("string"===typeof(null===u||void 0===u?void 0:u.LanguagePreference)?u.LanguagePreference:O.language),v=Object(d.a)(j,2),f=v[0],g=v[1],x=Object(a.useState)(t.answerText),S=Object(d.a)(x,2),y=S[0],A=S[1],w=Object(a.useState)(!1),C=Object(d.a)(w,2),E=C[0],L=C[1],N=Object(a.useState)(t.answerText+""),I=Object(d.a)(N,2),T=I[0],D=I[1],P=Object(a.useState)(!0),k=Object(d.a)(P,2),R=k[0],F=k[1];Object(a.useEffect)((function(){"string"===typeof(null===u||void 0===u?void 0:u.LanguagePreference)&&g(u.LanguagePreference)}),[u.LanguagePreference]);var G=function(){var e=Object(l.a)(s.a.mark((function e(n){var a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(T!==y&&t.isValid){e.next=3;break}return m(!1===t.isValid),e.abrupt("return");case 3:return L(!0),e.prev=4,e.next=7,_.a.put("ShipyardAPI","/application/".concat(i,"/answer/").concat(t.id),{body:{responseText:y}});case 7:a=e.sent,e.next=14;break;case 10:return e.prev=10,e.t0=e.catch(4),Z.b.error(o("General.AjaxError")),e.abrupt("return");case 14:if(a.success){e.next=17;break}return Z.b.error(o("General.AjaxError")),e.abrupt("return");case 17:L(!1),D(y);case 19:case"end":return e.stop()}}),e,null,[[4,10]])})));return function(t){return e.apply(this,arguments)}}(),U=function(){var e=Object(l.a)(s.a.mark((function e(n){var a,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=n.target.value,t.answerText=a,A(a),i=t.validator(t),t.isValid=i.isValid,t.invalidReason=i.invalidReason,r();case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(ee.jsxs)("div",{className:"question-wrapper plaintext"+(!t.isValid&&h?" invalid":"")+(n?" disabled":""),children:[Object(ee.jsxs)("label",{htmlFor:"quest-".concat(t.id),children:[Object(ee.jsx)("div",{className:"label label-plain",children:Object(ee.jsx)(K.a,{children:t.text[f],linkTarget:"_blank"})}),E?Object(ee.jsx)("span",{className:"saving",children:Object(ee.jsx)(z.a,{icon:W.q})}):null]}),Object(ee.jsx)("input",{"aria-labelledby":"quest-".concat(t.id,"-err"),autoComplete:"one-time-code",disabled:E,id:"quest-".concat(t.id),onBlur:G,onChange:U,type:t.masked&R?"password":"text",value:y}),t.masked?Object(ee.jsx)(z.a,{className:"mask-icon",icon:R?W.l:W.k,onClick:function(e){e.preventDefault(),F(!R)}}):null,Object(ee.jsx)("span",{className:"invalid-reason",id:"quest-".concat(t.id,"-err"),children:"string"===typeof t.invalidReason?o(t.invalidReason):t.invalidReason[u.LanguagePreference]})]})}n(383);function Ve(e){var t=e.question,n=e.shouldShowErrors,r=e.disabled,i=e.appInstanceId,c=e.answerUpdated,o=Object(Q.a)(),u=Object(d.a)(o,1)[0],p=Object(a.useContext)(Y).userSettings,b=Object(a.useState)("string"===typeof(null===p||void 0===p?void 0:p.LanguagePreference)?p.LanguagePreference:O.language),h=Object(d.a)(b,2),m=h[0],j=h[1],v=Object(a.useState)("1"===t.answerText),f=Object(d.a)(v,2),g=f[0],x=f[1],S=Object(a.useState)(!1),y=Object(d.a)(S,2),A=y[0],w=y[1];Object(a.useEffect)((function(){"string"===typeof(null===p||void 0===p?void 0:p.LanguagePreference)&&j(p.LanguagePreference)}),[p.LanguagePreference]);var C=function(){var e=Object(l.a)(s.a.mark((function e(){var n,a,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=!g,w(!0),e.prev=2,e.next=5,_.a.put("ShipyardAPI","/application/".concat(i,"/answer/").concat(t.id),{body:{responseText:n?"1":"0"}});case 5:a=e.sent,e.next=12;break;case 8:return e.prev=8,e.t0=e.catch(2),Z.b.error(u("General.AjaxError")),e.abrupt("return");case 12:if(a.success){e.next=15;break}return Z.b.error(u("General.AjaxError")),e.abrupt("return");case 15:w(!1),t.answerText=n?"1":"0",x(n),r=t.validator(t),t.isValid=r.isValid,t.invalidReason=r.invalidReason,c();case 22:case"end":return e.stop()}}),e,null,[[2,8]])})));return function(){return e.apply(this,arguments)}}();return Object(ee.jsxs)("div",{className:"question-wrapper strikethrough"+(!t.isValid&&n?" invalid":"")+(g?" marked":"")+(A?" saving":"")+(r?" disabled":""),children:[A?Object(ee.jsx)("div",{className:"saving",children:Object(ee.jsx)(z.a,{icon:W.q})}):null,Object(ee.jsx)("input",{type:"checkbox",id:"quest-".concat(t.id,"-strike"),value:"1",checked:g,disabled:A,onChange:C}),Object(ee.jsx)("label",{htmlFor:"quest-".concat(t.id,"-strike"),children:Object(ee.jsx)(K.a,{children:t.text[m],linkTarget:"_blank"})})]})}n(384);function qe(e){var t=e.question,n=e.appInstanceId,r=e.shouldShowErrors,i=e.disabled,c=Object(Q.a)(),o=Object(d.a)(c,1)[0],u=Object(a.useState)(),p=Object(d.a)(u,2),b=p[0],h=p[1],m=Object(a.useState)(!1),j=Object(d.a)(m,2),v=j[0],f=j[1],O=Object(a.useState)(null===t||void 0===t?void 0:t.reservedAttributeEnumID),g=Object(d.a)(O,1)[0],x=Object(a.useState)(!1),S=Object(d.a)(x,2),y=S[0],A=S[1],w=Object(a.useRef)();return Object(a.useEffect)((function(){if(v){f(!1),A(!0);var e=function(){var e=Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,_.a.get("ShipyardAPI","/application/docs/preview/".concat(g),{queryStringParameters:{appInstId:n}});case 3:t=e.sent,h(t.previewURL),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),Z.b.error(o("General.AjaxError")),A(!1);case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}();e()}}),[v,g,n,o]),Object(a.useEffect)((function(){b&&(w.current.click(),h(),A(!1))}),[b]),Object(ee.jsxs)("div",{className:"question-wrapper output-preview"+(!t.isValid&&r?" invalid":"")+(i?" disabled":""),children:[Object(ee.jsxs)("div",{className:"link-button-container",children:[Object(ee.jsxs)("div",{className:y?["link-button","disabled"].join(" "):"link-button",onClick:y?null:function(){f(!0)},children:["(",o("OutputPreview.AnchorText"),")"]}),y?Object(ee.jsx)("div",{className:"generating",children:Object(ee.jsx)(z.a,{icon:W.q})}):null]}),Object(ee.jsx)("a",{target:"_blank",rel:"noreferrer",href:b,className:"hidden",ref:w,children:" "})]})}var _e=n(68);n(385);function ze(e){for(var t,n,r,i=Object(a.useState)(ae()),c=Object(d.a)(i,1)[0],o=Object(a.useState)(!1),s=Object(d.a)(o,2),l=s[0],u=s[1],p=Object(a.useState)("boolean"!==typeof e.counter||e.counter),h=Object(d.a)(p,1)[0],m=Object(a.useState)((null===e||void 0===e?void 0:e.title)?e.title:""),j=Object(d.a)(m,1)[0],v=Object(a.useState)("boolean"!==typeof(null===e||void 0===e?void 0:e.selectable)||e.selectable),f=Object(d.a)(v,1)[0],O=Object(a.useState)("boolean"!==typeof(null===e||void 0===e?void 0:e.hoverable)||e.hoverable),g=Object(d.a)(O,1)[0],x=Object(a.useState)(-1),S=Object(d.a)(x,2),y=S[0],A=S[1],w=Object(a.useState)(-1),C=Object(d.a)(w,2),E=C[0],L=C[1],N=Object(a.useState)("boolean"===typeof(null===e||void 0===e?void 0:e.search)&&e.search),I=Object(d.a)(N,1)[0],T=Object(a.useState)(""),D=Object(d.a)(T,2),P=D[0],k=D[1],R=Object(a.useRef)(),F=Object(a.useState)((null===e||void 0===e?void 0:e.initialSort)?e.initialSort:null),G=Object(d.a)(F,2),U=G[0],M=G[1],H=Object(a.useState)("boolean"===typeof(null===e||void 0===e?void 0:e.initialSortDirection)?e.initialSortDirection:null),B=Object(d.a)(H,2),V=B[0],q=B[1],_=Object(a.useState)((null===e||void 0===e?void 0:e.headers)?e.headers:null),K=Object(d.a)(_,1)[0],Q=Object(a.useState)((function(){var e=[];return K.forEach((function(t){e.push("string"===typeof(null===t||void 0===t?void 0:t.colSize)?t.colSize:"auto")})),e})),Y=Object(d.a)(Q,1)[0],$=Object(a.useState)((null===e||void 0===e?void 0:e.data)?e.data:null),J=Object(d.a)($,2),X=J[0],te=J[1],ne=Object(a.useState)((null===e||void 0===e?void 0:e.pageSize)?e.pageSize:null===X||void 0===X||null===(t=X.rows)||void 0===t?void 0:t.length),re=Object(d.a)(ne,2),ie=re[0],ce=re[1],oe=Object(a.useState)(ie?0:null),se=Object(d.a)(oe,2),le=se[0],ue=se[1],pe=Object(a.useState)(isNaN(ie)||isNaN(null===X||void 0===X||null===(n=X.rows)||void 0===n?void 0:n.length)?null:Math.ceil(X.rows.length/ie)),be=Object(d.a)(pe,2),he=be[0],me=be[1],je=Object(a.useState)("boolean"!==typeof(null===e||void 0===e?void 0:e.filters)||e.filters),ve=Object(d.a)(je,1)[0],fe=Object(a.useState)((null===e||void 0===e?void 0:e.filters)&&!0===e.filters?[]:null),Oe=Object(d.a)(fe,2),ge=Oe[0],xe=Oe[1],Se=Object(a.useState)(!1),ye=Object(d.a)(Se,2),Ae=ye[0],we=ye[1],Ce=Object(a.useState)(),Ee=Object(d.a)(Ce,2),Le=Ee[0],Ne=Ee[1],Ie=Object(a.useState)((null===e||void 0===e?void 0:e.primaryFilter)?e.primaryFilter:null),Te=Object(d.a)(Ie,1)[0],De=Object(a.useState)(function(e,t,n){for(var a={},r=0,i=(null===e||void 0===e?void 0:e.length)?e.length:0;r0&&(t.rows=t.rows.filter((function(e){return Ve.includes(e[Te])}))),U){var n,a=null===(n=K.find((function(e){return"function"===typeof e.sortFunc&&e.colName===U})))||void 0===n?void 0:n.sortFunc;t.rows=t.rows.sort(a(V))}if(ge){var r=new Set,i=[];ge.forEach((function(e){return r.add(e.id)})),(r=Array.from(r)).forEach((function(e){var t={filterId:e,filterValues:[]};ge.forEach((function(n){n.id===e&&t.filterValues.push(n.filterValue)})),i.push(t)})),t.rows=t.rows.filter((function(e){var t=!0;return null===i||void 0===i||i.forEach((function(n){n.filterValues.includes(e[n.filterId])||(t=!1)})),t}))}if(I)if(P.includes(",")){var c=P.split(",");c=c.map((function(e){return e.trim()})),t.rows=t.rows.filter((function(e){var t=Object.values(e),n=[];return t.forEach((function(e){c.forEach((function(t){var a;("function"===typeof(null===e||void 0===e?void 0:e.toUpperCase)&&"function"===typeof(null===e||void 0===e||null===(a=e.toUpperCase())||void 0===a?void 0:a.includes)&&e.includes(t)||"function"===typeof(null===e||void 0===e?void 0:e.toString)&&e.toString().toUpperCase().includes(t)||"function"===typeof(null===e||void 0===e?void 0:e.toString)&&e.toString().includes(new Date(t)))&&n.push(!0)}))})),n.length===c.length}))}else t.rows=t.rows.filter((function(e){var t=Object.values(e),n=!1;return t.forEach((function(e){e&&("function"===typeof e.toUpperCase&&"function"===typeof e.toUpperCase().includes&&e.includes(P)||e.toString().toUpperCase().includes(P)||e.toString().includes(new Date(P)))&&(n=!0)})),n}));JSON.stringify(t)!==JSON.stringify(X)&&(te(t),ue(0)),e.pageSize||ce(t.rows.length)}),[ge,e.data,e.pageSize,I,P,X,Te,Ve,Ve.length,U,V,K]),Object(a.useEffect)((function(){Ze((function(t){return(null===e||void 0===e?void 0:e.name)&&"string"===typeof(null===e||void 0===e?void 0:e.name)?e.name:t}))}),[e.name]),Object(a.useEffect)((function(){var e=JSON.parse(window.sessionStorage.getItem(Ke));e&&(xe(e.secondaryFilters),qe(e.primaryFilters),k(e.search),ue(parseInt(e.page)))}),[Ke]),Object(a.useEffect)((function(){var e={primaryFilters:Ve,secondaryFilters:ge,search:P,page:le};window.sessionStorage.setItem(Ke,JSON.stringify(e))}),[ge,Ve,P,le,Ke]);var et=function(e){var t,n,a,r,i,c,o,s=null!==V&&(null===e||void 0===e||null===(t=e.target)||void 0===t||null===(n=t.attributes)||void 0===n||null===(a=n.colname)||void 0===a?void 0:a.value)===U&&!V,l=null===e||void 0===e||null===(r=e.target)||void 0===r||null===(i=r.attributes)||void 0===i||null===(c=i.colname)||void 0===c?void 0:c.value,d=null===(o=K.find((function(e){return"function"===typeof e.sortFunc&&e.colName===l})))||void 0===o?void 0:o.sortFunc;if(d){var u="function"===typeof d?Object.assign({},{rows:null===X||void 0===X?void 0:X.rows.sort(d(s))}):{};q(s),M(l),te(u),ue(0)}},tt=le*K.length*ie,nt=ie*K.length,at=function(e){var t=[];return U===(null===e||void 0===e?void 0:e.colName)&&(V?t.push("sorting-by-desc"):t.push("sorting-by-asc")),"function"===typeof(null===e||void 0===e?void 0:e.sortFunc)&&t.push("sortable"),t.push("grid-header"),t.join(" ")},rt=function(){it(),we(!Ae)},it=function(){Ne()},ct=Object(a.useMemo)((function(){var e=function(){var e,t,n=null===R||void 0===R||null===(e=R.current)||void 0===e||null===(t=e.value)||void 0===t?void 0:t.toUpperCase();"undefined"!==typeof n&&k(n)};return Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsx)(z.a,{icon:W.m,className:"grid-search-icon",onClick:e}),Object(ee.jsx)("input",{type:"text",placeholder:"Search",defaultValue:P,ref:R,onKeyDown:function(t){"Enter"===(null===t||void 0===t?void 0:t.key)&&e()},onChange:function(t){""===t.target.value&&e()}})]})}),[P]);return Object(ee.jsxs)("div",{className:(null===e||void 0===e?void 0:e.className)?e.className+" grid-component-container":"grid-component-container",children:[Xe,Object(ee.jsxs)("div",{className:(null===e||void 0===e?void 0:e.className)?e.className+" grid-container":"grid-container",onKeyUp:function(e){f&&"ArrowDown"===(null===e||void 0===e?void 0:e.key)&&y+1<=K.length-1&&ie&&y+1<=ie-1?A(y+1):f&&"ArrowUp"===(null===e||void 0===e?void 0:e.key)&&y-1>-1&&A(y-1)},tabIndex:0,children:[$e,ve?Object(ee.jsxs)("div",{className:"upper",children:[Object(ee.jsxs)("div",{className:"filter-container",children:[Object(ee.jsx)(de,{type:"secondary",onClick:rt,className:"add-filter",children:"+ Add filters"}),Ae?Object(ee.jsx)("div",{className:"filter-dropdown-container",children:Object(ee.jsx)("ul",{className:"filters-dropdown",children:Object.entries(Pe).map((function(e,t){return Object(ee.jsxs)("li",{children:[Object(ee.jsx)("div",{onClick:function(){var t;t=e[0],Ne(t)},children:e[0]}),Object(ee.jsxs)("div",{className:"filters-sub-dropdown"+(e[0]!==Le?" hidden":""),children:[Object(ee.jsx)("div",{className:"sub-dropdown-title",children:e[0]}),Object(ee.jsx)("select",{ref:Qe[t],children:e[1].options.map((function(t){return Object(ee.jsx)("option",{value:t,children:t},e[0]+"-option-"+t)}))}),Object(ee.jsxs)("div",{className:"filter-button-container",children:[Object(ee.jsx)(de,{type:"grey",onClick:it,children:"Cancel"}),Object(ee.jsx)(de,{type:"tertiary",onClick:function(){!function(e,t,n){var a=[],r={id:n,filterValue:Qe[t].current.value,label:e+": "+Qe[t].current.value};null!==ge&&(a=a.concat(ge)),(a=a.concat([r])).length>(a=a.filter((function(e,t){var n=JSON.stringify(e);return t===a.findIndex((function(e){return JSON.stringify(e)===n}))}))).length?Z.b.info(Object(b.b)("Grid.FilterAlreadyAdded")):(a.sort((function(e,t){return e.id1?Object(ee.jsxs)("div",{className:"page-buttons-container",children:[Object(ee.jsx)("button",{className:"prev-page-button",onClick:function(){le-1>=0&&ue(le-1)},disabled:0===le,children:Object(ee.jsx)(z.a,{icon:W.g})}),Object(ee.jsx)("span",{className:"current-page-display",children:le+1}),Object(ee.jsx)("span",{className:"current-of-max",children:Object(b.b)("General.XofY")}),Object(ee.jsx)("span",{className:"max-page-display",children:he}),Object(ee.jsx)("button",{className:"next-page-button",onClick:function(){le+10&&0===e.answerText.length)return{isValid:!1,invalidReason:"Application.Required"};var t=e.responseRegexes||[];if(t.length<1)return{isValid:!0,invalidReason:""};for(var n=0;n0?e.chosenOptions[0]:void 0;return e.minResponseRequired?t?{isValid:!0,invalidReason:""}:{isValid:!1,invalidReason:"Application.Required"}:{isValid:!0,invalidReason:""}},a=function(e){var t=e.chosenOptions&&e.chosenOptions.length>0?e.chosenOptions[0]:void 0;return e.minResponseRequired?t?{isValid:!0,invalidReason:""}:{isValid:!1,invalidReason:"Application.Required"}:{isValid:!0,invalidReason:""}},r=function(e){var t=e.chosenOptions.filter((function(e){return!!e}));return e.maxResponseRequired>0&&t.length>e.maxResponseRequired?{isValid:!1,invalidReason:"Application.CheckboxTooMany"}:e.minResponseRequired&&t.length0&&""===e.answerText?{isValid:!1,invalidReason:"Application.MissingDOB"}:{isValid:!0,invalidReason:""}},c=function(e){var t=e.chosenOptions&&e.chosenOptions.length>0?e.chosenOptions[0]:void 0;return e.minResponseRequired?t?{isValid:!0,invalidReason:""}:{isValid:!1,invalidReason:"Application.Required"}:{isValid:!0,invalidReason:""}},o=function(e){return{isValid:!0,invalidReason:""}},s=function(e){var t=e.chosenOptions.filter((function(e){return!!e}));return e.maxResponseRequired>0&&t.length>e.maxResponseRequired?{isValid:!1,invalidReason:"Application.FilesTooMany"}:e.minResponseRequired&&t.length0?Object(ee.jsx)(de,{type:"grey",disabled:te,onClick:function(){V>0&&$(V-1),window.scrollTo({top:0,behavior:"smooth"})},children:n("Application.BackToStep",{stepName:g.sections[V-1].name[o]})}):null,V+1===g.sections.length?Object(ee.jsx)(de,{className:"submit",interactive:!1,onClick:Le,disabled:te|he,children:te?Object(ee.jsxs)("div",{children:[Object(ee.jsx)(z.a,{icon:W.q}),Object(ee.jsx)("span",{children:n("Application.Submitting")})]}):Object(ee.jsx)("div",{children:Object(ee.jsx)("span",{children:n("Application.Submit")})})}):null,V+1!==g.sections.length?Object(ee.jsx)(de,{interactive:!1,onClick:function(){V0?H:null,c?B:Object(ee.jsxs)(Ze,{children:[y<1&&Object(ee.jsx)("div",{className:"no-app-instances",children:Object(ee.jsx)(K.a,{children:b[0].localizedText[T].headerText})}),v.map((function(t){return Object(ee.jsxs)("div",{className:"app-instance",children:[Object(ee.jsx)("div",{className:"student-name",children:t.StudentName&&t.StudentName.trim()?t.StudentName:n("Applications.NoName")}),Object(ee.jsx)("div",{className:"term",children:t.Term}),Object(ee.jsxs)("div",{className:"details",children:[Object(ee.jsxs)("div",{className:"detail",children:[Object(ee.jsx)("div",{className:"label",children:n("Applications.List.Date")}),Object(ee.jsx)("div",{className:"data",children:Object(ee.jsx)(De,{date:t.StartDate,type:"long"})})]}),Object(ee.jsxs)("div",{className:"detail",children:[Object(ee.jsx)("div",{className:"label",children:n("Applications.List.Status")}),Object(ee.jsx)("div",{className:"data",children:Object(ee.jsx)(ot,{status:t.Status})})]}),Object(ee.jsxs)("div",{className:"detail",children:[Object(ee.jsx)("div",{className:"label",children:n("Applications.List.Amount")}),Object(ee.jsx)("div",{className:"data",children:t.ScholarshipAmount?"$".concat(t.ScholarshipAmount.toFixed(2)):"- -"})]}),Object(ee.jsxs)("div",{className:"detail",children:[Object(ee.jsx)("div",{className:"label",children:n("Applications.List.School")}),Object(ee.jsx)("div",{className:"data",children:t.SchoolName})]}),Object(ee.jsxs)("div",{className:"detail",children:[Object(ee.jsx)("div",{className:"label",children:n("Applications.List.Enrollment")}),Object(ee.jsx)("div",{className:"data",children:t.EnrollmentStatus})]})]}),Object(ee.jsxs)("div",{className:"attachments-container",children:[Object(ee.jsx)("div",{className:"label",children:n("Applications.List.Attachments")}),Object(ee.jsx)("div",{className:"attachment-list",children:t.Attachments.length>0?t.Attachments.map((function(e){var t=new Date(e.LastUpdatedUTC),n=[{name:e.FileName,fileId:e.FileID,s3id:e.S3ID,uploadedOn:t,type:"pdf"}];return Object(ee.jsx)(ke,{files:n,labelText:e.DocumentType,downloadOnly:!0},"attachment-".concat(e.FileID))})):Object(ee.jsx)("p",{children:n("Applications.NoDocs")})})]}),Object(ee.jsx)("div",{className:"actions-container",children:Object(ee.jsx)(_e.a,{classNamePrefix:"action-select",isSearchable:!1,menuPlacement:"auto",options:t.actions,onChange:function(n){return function(t,n){switch(t.value){case"accept-decline":var a=Object(ee.jsx)(at,{close:function(e){E(!1),e&&M()},app:v.find((function(e){return e.ID===n}))});E(!0,a);break;case"change-pvt-school":var r=Object(ee.jsx)(rt,{close:function(){return E(!1)}});E(!0,r);break;case"view":e.push("/application/"+n);break;case"delete":var i=v.find((function(e){return e.ID===n})),c=Object(ee.jsx)(ct,{applicationInstance:i,close:function(e){E(!1),e&&M()}});E(!0,c);break;case"withdraw-program":var o=Object(ee.jsx)(lt,{close:function(){return E(!1)},app:v.find((function(e){return e.ID===n}))});E(!0,o);break;case"withdraw-app":var s=Object(ee.jsx)(st,{close:function(e){E(!1),e&&M()},app:v.find((function(e){return e.ID===n}))});E(!0,s);break;default:console.error("Action '".concat(t.value,"' not implemented."))}}(n,t.ID)},placeholder:Object(ee.jsx)("span",{children:n("Applications.List.Actions.Placeholder")}),value:null,formatOptionLabel:function(e){return Object(ee.jsx)("div",{className:"action-select__option",children:Object(ee.jsx)("span",{children:n(e.labelKey)})})}})})]},t.ID)}))]})]})},ut=n(13),pt=n(554),bt=n(556),ht=n(543),mt=Object(ht.a)((function(e){return{biColorHeader:{color:e.palette.grey.header},headerSpan:{color:e.palette.primary.main}}})),jt=function(e){var t=e.left,n=e.right,a=mt();return Object(ee.jsxs)(pt.a,{sx:{display:"flex"},children:[Object(ee.jsx)(bt.a,{variant:"h1",className:a.biColorHeader,children:t}),Object(ee.jsx)(bt.a,{variant:"h1",className:a.biColorHeader,children:"\xa0"}),Object(ee.jsx)(bt.a,{variant:"h1",className:a.headerSpan,children:n})]})},vt=Object(ht.a)((function(e){return{headerWrapper:{display:"flex",justifyContent:"space-between"},rightWrapper:{minWidth:"200px"}}})),ft=function(e){var t=e.headerTitle,n=e.headerRightComponent,a=vt();return Object(ee.jsxs)(pt.a,{className:a.headerWrapper,children:[Object(ee.jsx)(pt.a,{children:t}),Object(ee.jsx)(pt.a,{className:a.rightWrapper,children:n})]})},Ot=n(558),gt=n(559),xt=n(563),St=n(562),yt=n(557),At=n(560),wt=n(561),Ct=n(548),Et=n(549),Lt=n(547),Nt=n(533),It=n(536),Tt=function(e){var t=e.isTrue,n=e.children;return Object(ee.jsx)(ee.Fragment,{children:t?n:null})},Dt=Object(ht.a)((function(e){return{headerLabel:{fontSize:"13px",fontWeight:700,color:"red"}}})),Pt=function(e){var t=e.status,n=e.lastUpdated,a=e.children,r=e.justify,i=e.labelAction,c=Object(Q.a)().t,o=kt();return Object(ee.jsx)(pt.a,{children:Object(ee.jsxs)(pt.a,{children:[Object(ee.jsxs)(pt.a,{sx:{display:"flex",justifyContent:r||"flex-start",alignItems:"center"},children:[Object(ee.jsx)(pt.a,{className:o.dot,sx:{backgroundColor:(null===t||void 0===t?void 0:t.hex)||"black"}}),Object(ee.jsxs)(pt.a,{children:[Object(ee.jsxs)(bt.a,{className:o.status,children:[c(null===t||void 0===t?void 0:t.label),i]}),a]})]}),Object(ee.jsx)(pt.a,{children:Object(ee.jsx)(Tt,{isTrue:n,children:Object(ee.jsxs)(bt.a,{className:o.lastUpdated,variant:"secondary",children:["Updated on ",n]})})})]})})},kt=Object(ht.a)((function(e){return{dot:{width:"6px",height:"6px",borderRadius:"50%",marginRight:"6px"},lastUpdated:{color:e.palette.grey.secondary,fontSize:"10px",fontWeight:400},status:{color:"#231C32",fontSize:"13px"}}})),Rt=function(e){var t=e.list,n=e.loadMore,r=e.isFetching,i=e.hasMore,c=e.sortField,o=e.searchTerm,u=e.filterString,p=e.preparedColumns,b=e.handleSearchTerm,h=e.statusRef,m=e.isScholarshipAdmin,j=e.sortDirection,v=e.isSchoolAdmin,f=e.ctx,O=Dt(),g=a.useRef(),S=Object(x.g)(),y=a.useContext(X).setListSettings,A=a.useState(0),w=Object(d.a)(A,2),C=w[0],E=w[1],L=a.useCallback((function(){var e=g.current.scrollHeight-g.current.clientHeight;C||E(Math.round(.8*e)),g.current.scrollTop>e-C&&i&&!r&&n()}),[i,n,r,C]),N=function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.AppInstID,a=t.AppTermSchoolPeriodID,!t.InvoiceID){e.next=3;break}return e.abrupt("return",S.push({pathname:"/finances/invoices/".concat(n),state:{invoice:t,statusRef:h,filterString:u}}));case 3:return e.prev=3,e.next=6,_.a.patch("ShipyardAPI","/finances/invoices/".concat(n),{body:{pPeriodID:a}});case 6:S.push({pathname:"/finances/invoices/".concat(n),state:{invoice:t,statusRef:h}}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(3),console.log(" there was an error ");case 12:case"end":return e.stop()}}),e,null,[[3,9]])})));return function(t){return e.apply(this,arguments)}}(),I=function(t,n){switch(t.id){case"DOB":return Object(ee.jsx)(bt.a,{children:n.DOB?Object(ee.jsx)(De,{date:n.DOB,type:"short"}):""});case"StudentLastName":return Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsx)(Tt,{isTrue:n.Legacy,children:Object(ee.jsx)(bt.a,{variant:"body1",children:n.StudentLastName})}),Object(ee.jsx)(Tt,{isTrue:!n.Legacy,children:Object(ee.jsx)(bt.a,{className:"button-link",onClick:function(){y({useCache:!0,reducerState:Object(ut.a)(Object(ut.a)({},e),{},{recOffset:0}),target:f}),S.push("/scholarship/application/".concat(n.ApplicationInstanceId,"?admin"))},children:n.StudentLastName})})]});case"StudentFirstName":return Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsx)(Tt,{isTrue:n.Legacy,children:Object(ee.jsx)(bt.a,{variant:"body1",children:n.StudentFirstName})}),Object(ee.jsx)(Tt,{isTrue:!n.Legacy,children:Object(ee.jsx)(bt.a,{className:"button-link",onClick:function(){y({useCache:!0,reducerState:Object(ut.a)(Object(ut.a)({},e),{},{recOffset:0}),target:f}),S.push("/scholarship/application/".concat(n.ApplicationInstanceId,"?admin"))},children:n.StudentFirstName})})]});case"ApplicationTypeID":return Object(ee.jsx)(bt.a,{children:1===n.ApplicationTypeId?"Initial":"Renewal"});case"LastUpdatedUTC":return Object(ee.jsx)(bt.a,{children:n.LastUpdatedUTC?Object(ee.jsx)(De,{date:n.LastUpdatedUTC,type:"short"}):""});case"InvoiceSubmitUTC":return Object(ee.jsx)(bt.a,{children:n.InvoiceSubmitUTC?Object(ee.jsx)(De,{date:n.InvoiceSubmitUTC,type:"short"}):""});case"InvoiceAmount":case"LNHAward":return Object(ee.jsx)(bt.a,{children:"$ ".concat(n[t.id]||0)});case"StatusId":return Object(ee.jsx)(Pt,{status:n.StatusId,lastUpdated:n.LastUpdatedUTC?Object(It.a)(new Date(n.LastUpdatedUTC||""),"MM/dd/yyyy"):""});case"InvoiceNumber":return Object(ee.jsx)(bt.a,{children:n.InvoiceNumber});case"InvoiceStatus":return Object(ee.jsx)(Pt,{status:h[n.InvoiceStatus]||{},lastUpdated:n.InvoiceLastUpdatedUTC?Object(It.a)(new Date(n.InvoiceLastUpdatedUTC||""),"MM/dd/yyyy"):"",labelAction:function(t){if("Not Started"===t||"Created"===t){if(m)return"";if(v)return Object(ee.jsxs)(ee.Fragment,{children:[" / ",Object(ee.jsx)("span",{onClick:function(){y({useCache:!0,reducerState:Object(ut.a)(Object(ut.a)({},e),{},{recOffset:0}),target:f}),N(n)},className:"button-link",children:"Not Started"===t?"Start":"Edit"})]})}if("Returned"===t||"Mailed"===t||"Submitted"===t||"Approved"===t){var a="";return m&&(a="Mailed"===t||"Submitted"===t?"View":"Edit"),v&&(a="Mailed"===t||"Submitted"===t||"Approved"===t?"View":"Edit"),Object(ee.jsxs)(ee.Fragment,{children:[" / ",Object(ee.jsx)("span",{onClick:function(){y({useCache:!0,reducerState:Object(ut.a)(Object(ut.a)({},e),{},{recOffset:0}),target:f}),S.push({pathname:"/finances/invoices/".concat(n.AppInstID),state:{invoice:n,statusRef:h}})},className:"button-link",children:a})]})}}(n.InvoiceStatus)});default:return Object(ee.jsx)(bt.a,{children:n[t.id]})}};return a.useLayoutEffect((function(){var e=g.current;return e.addEventListener("scroll",L),function(){e.removeEventListener("scroll",L)}}),[L]),Object(ee.jsx)(pt.a,{children:Object(ee.jsx)(Lt.a,{children:Object(ee.jsxs)(yt.a,{sx:{margin:"16px",maxHeight:"700px"},ref:g,children:[Object(ee.jsx)(pt.a,{sx:{width:"100%",display:"flex",justifyContent:"flex-end"},children:Object(ee.jsx)(Ot.a,{placeholder:"Search",type:"text",sx:{margin:"24px 48px"},value:o,onChange:function(e){return b(e.target.value)}})}),Object(ee.jsxs)(gt.a,{"aria-labelledby":"tableTitle",size:"small",sx:{width:"98%"},stickyHeader:!0,children:[Object(ee.jsx)(At.a,{children:Object(ee.jsx)(wt.a,{children:p.map((function(e){return Object(ee.jsx)(St.a,{sx:{padding:"8px 16px",fontWeight:700},align:e.numeric?"right":"left",padding:"none",children:Object(ee.jsxs)(Ct.a,{active:c===e.id,direction:null===j||void 0===j?void 0:j.toLowerCase(),onClick:function(){return e.handleSort(e.id)},className:O.headerLabels,children:[e.label,c===e.id?Object(ee.jsx)(pt.a,{component:"span",sx:Nt.a,children:"Desc"===j?"sorted descending":"sorted ascending"}):null]})},e.id)}))})}),Object(ee.jsxs)(xt.a,{children:[null===t||void 0===t?void 0:t.map((function(e,n){var a="enhanced-table-checkbox-".concat(n);return Object(ee.jsx)(wt.a,{hover:!0,sx:{height:"45px",width:"100%"},tabIndex:-1,children:p.map((function(t,n){return Object(ee.jsx)(St.a,{component:"th",id:a,scope:"row",children:I(t,e)})}))},t.ApplicationInstanceId)})),Object(ee.jsx)(Tt,{isTrue:r,children:Object(q.a)(Array(10).fill("")).map((function(){return Object(ee.jsx)(wt.a,{hover:!0,sx:{height:"45px",width:"100%"},tabIndex:-1,children:Object(q.a)(Array(10).fill("")).map((function(e,t){return Object(ee.jsx)(St.a,{component:"th",id:"skeleton"+t,scope:"row",children:Object(ee.jsx)(Et.a,{})})}))},t.ApplicationInstanceId)}))})]})]})]})})})},Ft=n(10),Gt=function(e){return"".concat(e)},Ut=function(e){return"".concat(e.id," IN (").concat(e.value.map((function(e,t){return"string"===typeof e?"Initial"===e?Gt(1):"Renewal"===e?Gt(2):"'".concat(e,"'"):Gt(e)})).join(","),")")},Mt=function(e,t){var n=function(t){return"".concat(t," LIKE ('%").concat(e,"%')")};return"( ".concat(n("application"===t?"StudentFirstName":"FirstName")," OR ").concat(n("application"===t?"StudentLastName":"LastName")," OR ").concat(n("application"===t?"UniqueID":"InvoiceNumber")," )")},Ht=function(e,t,n){var a=e.filter((function(e){var t;return!!(null===e||void 0===e||null===(t=e.value)||void 0===t?void 0:t.length)}));if(!a.length&&!t)return"";if(t&&!a.length)return Mt(t,n);var r="".concat(a.map((function(e,t){return"".concat(Ut(e)," ").concat(a.length-1===t?"":" AND")})).join(" ")),i="".concat(r," AND ").concat(Mt(t,n));return t?i:r},Bt={filterString:"",page:1,searchTerm:"",filters:[],term:9,listData:[],isFetching:!1,tableHeaders:[],hasMore:!1,totalRecordCount:null,sortDirection:"Asc",recOffset:0,useCache:!1,statusRef:{}},Vt=function(e,t){var n,a=Object(Q.a)(),i=Object(d.a)(a,1)[0],c=r.a.useContext(X),o=c.listSettings,u=c.setListSettings,p=t!==o.target?{}:o.reducerState,b=Object(ut.a)(Object(ut.a)({},Bt),{},{sortString:"".concat(e," Asc"),sortField:"".concat(e)},p),h=r.a.useReducer(function(e){var t=function(e,t,n){return n===e&&"Asc"===t?"Desc":"Asc"};return function(n,a){var r={page:1,recOffset:0,isFetching:!0,listData:[]};switch(console.log("debugging the reducer type:",a.type,a.payload),a.type){case"patch":return Object(ut.a)(Object(ut.a)({},n),a.payload);case"set":return a.payload;case"sort":return Object(ut.a)(Object(ut.a)(Object(ut.a)({},n),r),{},{sortDirection:t(a.payload.field,n.sortDirection,n.sortField),sortField:a.payload.field,sortString:"".concat(a.payload.field," ").concat(t(a.payload.field,n.sortDirection,n.sortField))});case"search":return Object(ut.a)(Object(ut.a)(Object(ut.a)({},n),r),{},{searchTerm:a.payload.searchTerm,filterString:Ht(n.filters,a.payload.searchTerm,e)});case"toggleIsFetching":return Object(ut.a)(Object(ut.a)({},n),{},{isFetching:a.payload});case"setListWithHeaders":return Object(ut.a)(Object(ut.a)({},n),{},{listData:a.payload.listData,tableHeaders:a.payload.tableHeaders,isFetching:!1,totalRecordCount:a.payload.totalRecordCount,hasMore:a.payload.hasMore,recOffset:a.payload.hasMore?n.recOffset+25:0});case"setListWithoutHeaders":var i=[].concat(Object(q.a)(n.listData),Object(q.a)(a.payload.listData));return Object(ut.a)(Object(ut.a)({},n),{},{listData:i,hasMore:i.length1&&void 0!==arguments[1]?arguments[1]:800,n=r.a.useState(null),a=Object(d.a)(n,2),i=a[0],c=a[1];return function(n){if(i){clearTimeout(i);var a=setTimeout(e,t,n);return c(a)}e();var r=setTimeout((function(){}),t,n);return c(r)}},_t=n(565),zt=n(550),Wt=n(162),Kt=(Object(ht.a)((function(e){return{btn:{backgroundColor:e.palette.primary.main,margin:"0 16px"},btnText:{color:"#FFFFFF"}}})),n(546)),Zt=n(541),Qt=n(545),Yt=n(537),$t=Object(ht.a)((function(e){return{muiSelect:{}}})),Jt=function(e){var t=e.label,n=e.options,a=e.value,r=e.handleChange,i=e.isMultipleSelection,c=e.isDisabled,o=$t();return Object(ee.jsxs)(Qt.a,{fullWidth:!0,size:"small",children:[Object(ee.jsx)(Kt.a,{id:"termSelectLabel",children:t}),Object(ee.jsx)(Yt.a,{labelId:"termSelectLabel",id:"termSelect",value:a,label:t,size:"small",onChange:function(e){return r(e,t)},classes:{select:o.muiSelect},multiple:i,disabled:c,children:n.map((function(e){return Object(ee.jsx)(Zt.a,{disabled:e.isDisabled,value:e.value,children:e.label})}))})]})},Xt=Object(ht.a)((function(e){return{text:{color:e.palette.primary.main,fontSize:"10px",fontWeight:600},separator:{fontSize:"12px",color:e.palette.grey.main},controls:{display:"flex",alignItems:"center",marginLeft:"16px",marginBottom:"-2px"}}})),en=function(e){var t=e.handleClearFilters,n=(e.handleResetToDefault,e.handleSaveNewDefault,e.isDefaultFilters,Xt());return Object(ee.jsx)(pt.a,{className:n.controls,children:Object(ee.jsx)(zt.a,{onClick:function(){return t()},className:n.text,children:"clear all filters"})})},tn=(Object(ht.a)((function(e){return{flexCenter:{display:"flex",alignItems:"center"},paper:{marginTop:"16px",marginBottom:0,padding:"16px",paddingBottom:"8px",display:"flex",alignItems:"stretch",justifyContent:"space-between",minHeight:"42px"},currentFiltersWrapper:{padding:"16px",paddingTop:"8px"},filtersWrapper:{marginBottom:"16px"}}})),Object(ht.a)((function(e){return{flexCenter:{display:"flex",alignItems:"center"},paper:{marginTop:"16px",marginBottom:0,padding:"16px",paddingBottom:"8px",display:"flex",alignItems:"stretch",justifyContent:"space-between",minHeight:"42px"},currentFiltersWrapper:{padding:"16px",paddingTop:"8px"},filtersWrapper:{marginBottom:"16px"}}}))),nn=function(e){var t=e.filters,n=e.isFetching,a=e.handleFilterChange,r=e.handleClearFilters,i=tn();return Object(ee.jsx)(pt.a,{className:i.filtersWrapper,children:Object(ee.jsxs)(Lt.a,{children:[Object(ee.jsx)(pt.a,{className:i.paper,children:Object(ee.jsxs)(pt.a,{className:i.flexCenter,children:[Object(ee.jsx)(bt.a,{variant:"h2",children:"Filters"}),Object(ee.jsx)(en,{handleClearFilters:r,handleResetToDefault:function(){},handleSaveNewDefault:function(){},isDefaultFilters:!0})]})}),Object(ee.jsx)(Tt,{isTrue:!!(null===t||void 0===t?void 0:t.length),children:Object(ee.jsxs)(pt.a,{className:"".concat(i.flexCenter," ").concat(i.currentFiltersWrapper),children:[null===t||void 0===t?void 0:t.map((function(e){return Object(ee.jsx)(pt.a,{sx:{width:"200px",marginRight:"16px"},children:Object(ee.jsx)(Jt,Object(ut.a)(Object(ut.a)({},e),{},{handleChange:a,isMultipleSelection:!0}))})})),Object(ee.jsx)(Tt,{isTrue:n,children:Object(ee.jsx)(_t.a,{})})]})})]})})},an=function(){var e=r.a.useContext(X),t=e.userSettings,n=e.listSettings,a=e.setListSettings,i=r.a.useState([]),c=Object(d.a)(i,2),o=c[0],u=c[1],p=2===t.UserType,b=3===t.UserType,h=Object(Q.a)(),m=Object(d.a)(h,1)[0],j={UniqueID:m("Applications.ScholarshipOrg.Grid.UniqueID"),StudentFirstName:m("Applications.ScholarshipOrg.Grid.StudentFirstName"),StudentLastName:m("Applications.ScholarshipOrg.Grid.StudentLastName"),TermDescription:m("Applications.ScholarshipOrg.Grid.Term"),DOB:m("Applications.ScholarshipOrg.Grid.DateOfBirth"),SchoolName:m("Applications.ScholarshipOrg.Grid.School"),ApplicationTypeID:m("Applications.ScholarshipOrg.Grid.Type"),DisabilityList:m("Applications.ScholarshipOrg.Grid.Disability"),StatusId:m("Applications.ScholarshipOrg.Grid.Status")},v=function(){var e=Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,_.a.get("ShipyardAPI","/applications/terms");case 3:t=e.sent,u(Object(q.a)(t.Terms)),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),Z.b.error(m("General.AjaxError"));case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}}(),f=function(){var e=Object(l.a)(s.a.mark((function e(t){var n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,_.a.post("ShipyardAPI","/applications/scholarship",{body:{pFilterString:t.filterString,pSort:t.sortString,pRecOffset:t.recOffset}});case 3:return n=e.sent,e.abrupt("return",{headers:Object.entries(j).map((function(e){var t=Object(d.a)(e,2),n=t[0];return{label:t[1],id:n,handleSort:x.handleSort,key:n}})),data:n.data});case 7:e.prev=7,e.t0=e.catch(0),console.log("catch error",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),O=qt((function(){return x.getInvoices(f)})),g=qt((function(){return x.loadMore(f)}),200),x=Vt("StudentLastName","application");return r.a.useEffect((function(){"application"!==n.target&&a(Object(ut.a)(Object(ut.a)({},n),{},{useCache:!1})),x.getFilters("/applications/filters"),v()}),[]),r.a.useEffect((function(){O()}),[x.sortString,x.filterString,x.term]),Object(ee.jsxs)(pt.a,{sx:{padding:"16px"},children:[Object(ee.jsx)(ft,{headerTitle:Object(ee.jsx)(jt,{left:"My ",right:"Applications."}),headerRightComponent:Object(ee.jsx)(Jt,{label:"School Year",value:x.term,handleChange:function(e){return x.handleSelectTerm(e.target.value)},options:o})}),Object(ee.jsx)(nn,Object(ut.a)({},x)),Object(ee.jsx)(Rt,Object(ut.a)(Object(ut.a)({},x),{},{loadMore:g,list:x.listData,preparedColumns:x.tableHeaders,isScholarshipAdmin:b,isSchoolAdmin:p}))]})};function rn(){return function(e){switch(e){case w.Parent:return Object(ee.jsx)(dt,{});case w.ScholarshipOrg:return Object(ee.jsx)(an,{});default:return Object(ee.jsx)("div",{children:"SHIP error 7457"})}}(Object(a.useContext)(X).userSettings.UserType)}n(412);var cn=function(e){var t=(e.classes?e.classes:[]).concat(["panel-section"]).join(" ");return Object(ee.jsxs)("div",{className:t,children:[Object(ee.jsxs)("div",{className:"panel-header",children:[Object(ee.jsx)("span",{children:e.headerText}),Object(ee.jsx)("span",{})]}),Object(ee.jsx)("div",{className:"panel-section-content",children:e.children})]})};n(413);function on(e){var t=Object(a.useState)((function(){if("number"===typeof(null===e||void 0===e?void 0:e.status)){var t;switch(E[e.status]){case"StmtStages.NotStarted":t="grey";break;case"StmtStages.Created":t="lightblue";break;case"StmtStages.Submitted":t="green";break;default:t="red"}return t}})),n=Object(d.a)(t,2),r=n[0],i=n[1];Object(a.useEffect)((function(){i((function(){if("number"===typeof(null===e||void 0===e?void 0:e.status)){var t;switch(E[e.status]){case"StmtStages.NotStarted":t="grey";break;case"StmtStages.Created":t="lightblue";break;case"StmtStages.Submitted":t="green";break;default:t="red"}return t}}))}),[e.status]);var c=Object(ee.jsx)("span",{className:r+" circle"});return Object(ee.jsxs)("span",{className:(null===e||void 0===e?void 0:e.className)?e.className+" statement-status-component":"statement-status-component",children:[c,"\xa0",Object(b.b)(E[e.status])]})}n(414);var sn=function(e){var t=Object(x.g)(),n=Object(a.useContext)(Y).userSettings,r=Object(a.useState)(!1),i=Object(d.a)(r,2),c=i[0],o=i[1],p=Object(a.useState)(!1),h=Object(d.a)(p,2),m=h[0],j=h[1],v=Object(a.useState)([{FeeDescription:"Annual Tuition",Amount:0,IsTuition:!0,Ordinal:1}]),f=Object(d.a)(v,2),O=f[0],g=f[1],S=Object(a.useState)(!0),y=Object(d.a)(S,2),A=y[0],w=y[1],C=Object(a.useState)(),E=Object(d.a)(C,2),L=E[0],N=E[1],I=Object(a.useState)(),T=Object(d.a)(I,2),D=T[0],P=T[1],k=Object(a.useState)(0),R=Object(d.a)(k,2),F=R[0],G=R[1],U=Object(a.useState)(!1),M=Object(d.a)(U,2),H=M[0],B=M[1],V=Object(a.useState)(!1),q=Object(d.a)(V,2),_=q[0],Q=q[1],$=Object(a.useState)(""),X=Object(d.a)($,2),te=X[0],ne=X[1],ae=Object(a.useState)(!1),re=Object(d.a)(ae,2),ie=re[0],oe=re[1],se=Object(a.useMemo)((function(){return(null===O||void 0===O?void 0:O.length)&&"number"===typeof F?(O.map((function(e){return e.Amount})).reduce((function(e,t){return e+t}),0)+F).toFixed(2):0}),[O,F]),le=e.match.params.applicationId;Object(a.useEffect)((function(){if(!c){var e=function(){var e=Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(!0),e.prev=1,e.next=4,u.a.get("ShipyardAPI","/finances/annual_statement/".concat(le));case 4:t=e.sent,N(t.gradeList),P(t.statementInformation[0]),ne(t.statementInformation[0].EntryDate),B(1===t.gradeList.find((function(e){return e.GradeID===t.statementInformation[0].GradeLevelID})).HasDefault),G(t.statementInformation[0].Discounts),3===t.statementInformation[0].StatementStatusID&&3!==n.UserType&&j(!0),g(t.fees),o(!0),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(1),Z.b.error(Object(b.b)("General.AjaxError"));case 18:w(!1);case 19:case"end":return e.stop()}}),e,null,[[1,15]])})));return function(){return e.apply(this,arguments)}}();e()}}),[c,le,n]),Object(a.useEffect)((function(){if(_){var e=function(){var e=Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(!0),e.prev=1,e.next=4,u.a.get("ShipyardAPI","/finances/annual_statement/".concat(le));case 4:t=e.sent,g(t.fees),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),Z.b.error(Object(b.b)("General.AjaxError"));case 11:return e.prev=11,w(!1),e.finish(11);case 14:case"end":return e.stop()}}),e,null,[[1,8,11,14]])})));return function(){return e.apply(this,arguments)}}();Q(!1),e()}}),[_,le]);var ue=Object(a.useMemo)((function(){return(null===D||void 0===D?void 0:D.FirstName)&&D.LastName?Object(ee.jsx)("h2",{className:"annual-statements-title",children:Object(ee.jsx)(K.a,{children:Object(b.b)("AnnualStatements.Title",{StudentName:"".concat(D.FirstName," ").concat(D.LastName)})})}):Object(ee.jsx)("h2",{className:"annual-statements-title",children:Object(b.b)("AnnualStatements.LoadingTitle")})}),[D]),pe=Object(a.useMemo)((function(){return function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.preventDefault(),t.stopPropagation(),"fee"!==t.target.className){e.next=10;break}n=/^[\d.]+$/g,a=!isNaN(parseFloat(t.target.value))&&n.test(t.target.value)&&parseFloat(t.target.value)>0,t.target.value=""!==t.target.value&&a?parseFloat(t.target.value).toFixed(2):parseFloat(0).toFixed(2),a||1!==parseInt(t.target.dataset.feeOrdinal)?a||Z.b.error("Please enter fee amount(s) that are numeric and greater than $0.00."):Z.b.error("Please enter a tuition amount that is numeric and greater than $0.00."),g((function(e){return e.map((function(e){return e.Ordinal===parseInt(t.target.dataset.feeOrdinal)?(e.Amount=t.target.value?parseFloat(t.target.value):0,e):e}))})),e.next=31;break;case 10:if("desc"!==t.target.className||""===t.target.value){e.next=14;break}g((function(e){return e.map((function(e){return e.Ordinal===parseInt(t.target.dataset.feeOrdinal)?(e.Description=t.target.value?t.target.value:"",e):e}))})),e.next=31;break;case 14:if(!("desc"===t.target.className&&""===t.target.value&&parseInt(t.target.dataset.feeId)<=0)){e.next=18;break}g((function(e){return e.filter((function(e){return e.AppInstStmtFeeID!==parseInt(t.target.dataset.feeId)})).map((function(e,t){return e.Ordinal=t+1,e}))})),e.next=31;break;case 18:if(!("desc"===t.target.className&&""===t.target.value&&parseInt(t.target.dataset.feeId)>0)){e.next=31;break}return e.prev=19,w(!0),e.next=23,u.a.del("ShipyardAPI","/finances/annual_statement/".concat(D.AppInstStmtID),{queryStringParameters:{ordinal:t.target.dataset.feeOrdinal}});case 23:e.sent.success?Z.b.success(Object(b.b)("Finances.AnnualStatementsTab.FeeDeleted")):Z.b.error(Object(b.b)("General.AjaxError")),o(!1),e.next=31;break;case 28:e.prev=28,e.t0=e.catch(19),Z.b.error(Object(b.b)("General.AjaxError"));case 31:case"end":return e.stop()}}),e,null,[[19,28]])})));return function(t){return e.apply(this,arguments)}}()}),[D]),be=Object(a.useMemo)((function(){return O.map((function(e){return Object(ee.jsxs)("div",{children:[Object(ee.jsx)("div",{children:Object(ee.jsx)("input",{className:"desc",disabled:e.IsTuition||A||m,defaultValue:e.Description,"data-fee-ordinal":e.Ordinal,"data-fee-id":e.AppInstStmtFeeID,onBlur:pe,placeholder:"Enter a fee description."},"fee-desc-id-".concat(null!==e.AppInstStmtFeeID?e.AppInstStmtFeeID:Math.floor(9999*Math.random()+999)))}),Object(ee.jsx)("div",{children:Object(ee.jsxs)("label",{children:["$ ",Object(ee.jsx)("input",{className:"fee",defaultValue:e.Amount.toFixed(2),disabled:m||A,"data-fee-ordinal":e.Ordinal,onBlur:pe},"fee-amount-id-".concat(null!==e.AppInstStmtFeeID?e.AppInstStmtFeeID:Math.floor(9999*Math.random()+999)))]})})]},"".concat(e.FeeDescription,"-").concat(e.Ordinal))}))}),[O,A,m,pe]),he=Object(a.useMemo)((function(){return function(){var e=Object(l.a)(s.a.mark((function e(t){var n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=parseFloat(se),oe(!0),!(n>0&&!isNaN(n)&&O.every((function(e){return!!e.Description}))&&O.every((function(e){return e.Amount>0}))&&te)){e.next=17;break}return e.prev=3,w(!0),e.next=7,u.a.patch("ShipyardAPI","/finances/annual_statement/".concat(le),{body:{type:t,gradeLevelId:D.GradeLevelID,discount:D.Discounts,fees:O,appInstStmtId:D.AppInstStmtID,entryDate:te}});case 7:Z.b.success(2===t?Object(b.b)("General.Submitted"):Object(b.b)("General.ChangesSaved")),o(!1),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(3),Z.b.error(Object(b.b)("General.AjaxError")),w(!1);case 15:e.next=30;break;case 17:e.t1=!0,e.next=e.t1===(0===O[0].Amount)?20:e.t1===!O.slice(1).every((function(e){return e.Amount>0}))?22:e.t1===!O.every((function(e){return!!e.Description}))?24:e.t1===(n<=0||isNaN(n))?26:28;break;case 20:return Z.b.error("Please enter a tuition amount that is numeric and greater than $0.00."),e.abrupt("break",30);case 22:return Z.b.error("Please enter fee amount(s) that are numeric and greater than $0.00."),e.abrupt("break",30);case 24:return Z.b.error("Please enter a description for all fees."),e.abrupt("break",30);case 26:return Z.b.error("The total amount must be greater than $0.00."),e.abrupt("break",30);case 28:return Z.b.error("The page contains an error, please review, correct and resubmit the request."),e.abrupt("break",30);case 30:case"end":return e.stop()}}),e,null,[[3,11]])})));return function(t){return e.apply(this,arguments)}}()}),[le,O,D,se,te]),me=function(){var e=Object(l.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.push({pathname:"/finances",state:{tabConfig:{defaultView:"annual"}}});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(ee.jsxs)(Xe,{viewTitle:ue,name:"annual-statements",doingAjax:A,children:[Object(ee.jsxs)("button",{className:"back-button button-link",onClick:me,children:[Object(ee.jsx)(z.a,{icon:W.b})," ",Object(b.b)("AnnualStatements.BackButtonLabel")]}),Object(ee.jsxs)(Ze,{children:[Object(ee.jsxs)(cn,{headerText:"Status",classes:["status-panel"],children:[Object(ee.jsxs)("div",{children:[Object(ee.jsx)("span",{children:Object(b.b)("AnnualStatements.Status")}),Object(ee.jsx)("span",{children:(null===D||void 0===D?void 0:D.StatementStatusID)?Object(ee.jsx)(on,{status:D.StatementStatusID}):Object(ee.jsx)(et,{})})]}),Object(ee.jsxs)("div",{children:[Object(ee.jsx)("span",{children:Object(b.b)("AnnualStatements.SubmittedBy")}),Object(ee.jsx)("span",{children:(null===D||void 0===D?void 0:D.SubmittedFirstName)&&(null===D||void 0===D?void 0:D.SubmittedLastName)?"".concat(D.SubmittedFirstName," ").concat(D.SubmittedLastName):null===(null===D||void 0===D?void 0:D.SubmittedFirstName)&&null===(null===D||void 0===D?void 0:D.SubmittedLastName)?null:Object(ee.jsx)(et,{})})]}),Object(ee.jsxs)("div",{children:[Object(ee.jsx)("span",{children:Object(b.b)("AnnualStatements.SubmittedOn")}),Object(ee.jsx)("span",{children:(null===D||void 0===D?void 0:D.SubmittedUTC)?new Date(D.SubmittedUTC).toLocaleDateString():null===(null===D||void 0===D?void 0:D.SubmittedUTC)?"--/--/----":Object(ee.jsx)(et,{})})]})]}),Object(ee.jsxs)(cn,{headerText:Object(b.b)("AnnualStatements.StatementInformationHeader"),classes:["details-panel"],children:[Object(ee.jsxs)("div",{children:[Object(ee.jsxs)("span",{children:[Object(b.b)("AnnualStatements.StudentLabel"),":"]}),Object(ee.jsx)("span",{children:(null===D||void 0===D?void 0:D.FirstName)&&(null===D||void 0===D?void 0:D.LastName)?"".concat(D.FirstName," ").concat(D.LastName):Object(ee.jsx)(et,{})})]}),Object(ee.jsxs)("div",{children:[Object(ee.jsxs)("span",{children:[Object(b.b)("AnnualStatements.DOBLabel"),":"]}),Object(ee.jsx)("span",{children:(null===D||void 0===D?void 0:D.DateOfBirth)?Object(ee.jsx)(De,{date:D.DateOfBirth}):Object(ee.jsx)(et,{})})]}),Object(ee.jsxs)("div",{children:[Object(ee.jsx)("span",{children:Object(b.b)("AnnualStatements.StatementDateLabel")}),Object(ee.jsx)("span",{children:D?Object(ee.jsx)(De,{date:D.SubmittedUTC}):Object(ee.jsx)(et,{})})]}),Object(ee.jsxs)("div",{children:[Object(ee.jsx)("span",{children:Object(b.b)("AnnualStatements.ParentGuardianLabel")}),Object(ee.jsx)("span",{children:(null===D||void 0===D?void 0:D.ParentFirstName)&&(null===D||void 0===D?void 0:D.ParentLastName)?"".concat(D.ParentFirstName," ").concat(D.ParentLastName):Object(ee.jsx)(et,{})})]})]}),Object(ee.jsxs)(cn,{headerText:Object(b.b)("AnnualStatements.DescriptionHeader"),children:[Object(ee.jsx)("div",{children:c?Object(ee.jsx)(K.a,{className:"tuition-instructions",children:Object(b.b)("AnnualStatements.SummaryDescription")}):Object(ee.jsx)("div",{children:Object(ee.jsx)(et,{})})}),(null===D||void 0===D?void 0:D.GradeLevelID)?Object(ee.jsx)(nt,{labelText:Object(b.b)("AnnualStatements.GradeLevelLabel"),value:D.GradeLevelID,disabled:m||A,setValue:function(e){P((function(t){return t.GradeLevelID=e,Object.create(t)})),B(1===L.find((function(t){return t.GradeID===parseInt(e)})).HasDefault)},children:L.sort((function(e,t){return e.Ordinal=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function hn(e,t){var n=e.title,r=e.titleId,i=bn(e,un);return a.createElement("svg",pn({xmlns:"http://www.w3.org/2000/svg",id:"flag-icons-us",viewBox:"0 0 640 480",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,ln||(ln=a.createElement("g",{fillRule:"evenodd"},a.createElement("g",{strokeWidth:"1pt"},a.createElement("path",{fill:"#bd3d44",d:"M0 0h972.8v39.4H0zm0 78.8h972.8v39.4H0zm0 78.7h972.8V197H0zm0 78.8h972.8v39.4H0zm0 78.8h972.8v39.4H0zm0 78.7h972.8v39.4H0zm0 78.8h972.8V512H0z",transform:"scale(.9375)"}),a.createElement("path",{fill:"#fff",d:"M0 39.4h972.8v39.4H0zm0 78.8h972.8v39.3H0zm0 78.7h972.8v39.4H0zm0 78.8h972.8v39.4H0zm0 78.8h972.8v39.4H0zm0 78.7h972.8v39.4H0z",transform:"scale(.9375)"})),a.createElement("path",{fill:"#192f5d",d:"M0 0h389.1v275.7H0z",transform:"scale(.9375)"}),a.createElement("path",{fill:"#fff",d:"M32.4 11.8 36 22.7h11.4l-9.2 6.7 3.5 11-9.3-6.8-9.2 6.7 3.5-10.9-9.3-6.7H29zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.5 11-9.2-6.8-9.3 6.7 3.5-10.9-9.2-6.7h11.4zm64.8 0 3.6 10.9H177l-9.2 6.7 3.5 11-9.3-6.8-9.2 6.7 3.5-10.9-9.3-6.7h11.5zm64.9 0 3.5 10.9H242l-9.3 6.7 3.6 11-9.3-6.8-9.3 6.7 3.6-10.9-9.3-6.7h11.4zm64.8 0 3.6 10.9h11.4l-9.2 6.7 3.5 11-9.3-6.8-9.2 6.7 3.5-10.9-9.2-6.7h11.4zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.6 11-9.3-6.8-9.3 6.7 3.6-10.9-9.3-6.7h11.5zM64.9 39.4l3.5 10.9h11.5L70.6 57 74 67.9l-9-6.7-9.3 6.7L59 57l-9-6.7h11.4zm64.8 0 3.6 10.9h11.4l-9.3 6.7 3.6 10.9-9.3-6.7-9.3 6.7L124 57l-9.3-6.7h11.5zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.5 10.9-9.2-6.7-9.3 6.7 3.5-10.9-9.2-6.7H191zm64.8 0 3.6 10.9h11.4l-9.3 6.7 3.6 10.9-9.3-6.7-9.2 6.7 3.5-10.9-9.3-6.7H256zm64.9 0 3.5 10.9h11.5L330 57l3.5 10.9-9.2-6.7-9.3 6.7 3.5-10.9-9.2-6.7h11.4zM32.4 66.9 36 78h11.4l-9.2 6.7 3.5 10.9-9.3-6.8-9.2 6.8 3.5-11-9.3-6.7H29zm64.9 0 3.5 11h11.5l-9.3 6.7 3.5 10.9-9.2-6.8-9.3 6.8 3.5-11-9.2-6.7h11.4zm64.8 0 3.6 11H177l-9.2 6.7 3.5 10.9-9.3-6.8-9.2 6.8 3.5-11-9.3-6.7h11.5zm64.9 0 3.5 11H242l-9.3 6.7 3.6 10.9-9.3-6.8-9.3 6.8 3.6-11-9.3-6.7h11.4zm64.8 0 3.6 11h11.4l-9.2 6.7 3.5 10.9-9.3-6.8-9.2 6.8 3.5-11-9.2-6.7h11.4zm64.9 0 3.5 11h11.5l-9.3 6.7 3.6 10.9-9.3-6.8-9.3 6.8 3.6-11-9.3-6.7h11.5zM64.9 94.5l3.5 10.9h11.5l-9.3 6.7 3.5 11-9.2-6.8-9.3 6.7 3.5-10.9-9.2-6.7h11.4zm64.8 0 3.6 10.9h11.4l-9.3 6.7 3.6 11-9.3-6.8-9.3 6.7 3.6-10.9-9.3-6.7h11.5zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.5 11-9.2-6.8-9.3 6.7 3.5-10.9-9.2-6.7H191zm64.8 0 3.6 10.9h11.4l-9.2 6.7 3.5 11-9.3-6.8-9.2 6.7 3.5-10.9-9.3-6.7H256zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.5 11-9.2-6.8-9.3 6.7 3.5-10.9-9.2-6.7h11.4zM32.4 122.1 36 133h11.4l-9.2 6.7 3.5 11-9.3-6.8-9.2 6.7 3.5-10.9-9.3-6.7H29zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.5 10.9-9.2-6.7-9.3 6.7 3.5-10.9-9.2-6.7h11.4zm64.8 0 3.6 10.9H177l-9.2 6.7 3.5 11-9.3-6.8-9.2 6.7 3.5-10.9-9.3-6.7h11.5zm64.9 0 3.5 10.9H242l-9.3 6.7 3.6 11-9.3-6.8-9.3 6.7 3.6-10.9-9.3-6.7h11.4zm64.8 0 3.6 10.9h11.4l-9.2 6.7 3.5 11-9.3-6.8-9.2 6.7 3.5-10.9-9.2-6.7h11.4zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.6 11-9.3-6.8-9.3 6.7 3.6-10.9-9.3-6.7h11.5zM64.9 149.7l3.5 10.9h11.5l-9.3 6.7 3.5 10.9-9.2-6.8-9.3 6.8 3.5-11-9.2-6.7h11.4zm64.8 0 3.6 10.9h11.4l-9.3 6.7 3.6 10.9-9.3-6.8-9.3 6.8 3.6-11-9.3-6.7h11.5zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.5 10.9-9.2-6.8-9.3 6.8 3.5-11-9.2-6.7H191zm64.8 0 3.6 10.9h11.4l-9.2 6.7 3.5 10.9-9.3-6.8-9.2 6.8 3.5-11-9.3-6.7H256zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.5 10.9-9.2-6.8-9.3 6.8 3.5-11-9.2-6.7h11.4zM32.4 177.2l3.6 11h11.4l-9.2 6.7 3.5 10.8-9.3-6.7-9.2 6.7 3.5-10.9-9.3-6.7H29zm64.9 0 3.5 11h11.5l-9.3 6.7 3.6 10.8-9.3-6.7-9.3 6.7 3.6-10.9-9.3-6.7h11.4zm64.8 0 3.6 11H177l-9.2 6.7 3.5 10.8-9.3-6.7-9.2 6.7 3.5-10.9-9.3-6.7h11.5zm64.9 0 3.5 11H242l-9.3 6.7 3.6 10.8-9.3-6.7-9.3 6.7 3.6-10.9-9.3-6.7h11.4zm64.8 0 3.6 11h11.4l-9.2 6.7 3.5 10.8-9.3-6.7-9.2 6.7 3.5-10.9-9.2-6.7h11.4zm64.9 0 3.5 11h11.5l-9.3 6.7 3.6 10.8-9.3-6.7-9.3 6.7 3.6-10.9-9.3-6.7h11.5zM64.9 204.8l3.5 10.9h11.5l-9.3 6.7 3.5 11-9.2-6.8-9.3 6.7 3.5-10.9-9.2-6.7h11.4zm64.8 0 3.6 10.9h11.4l-9.3 6.7 3.6 11-9.3-6.8-9.3 6.7 3.6-10.9-9.3-6.7h11.5zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.5 11-9.2-6.8-9.3 6.7 3.5-10.9-9.2-6.7H191zm64.8 0 3.6 10.9h11.4l-9.2 6.7 3.5 11-9.3-6.8-9.2 6.7 3.5-10.9-9.3-6.7H256zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.5 11-9.2-6.8-9.3 6.7 3.5-10.9-9.2-6.7h11.4zM32.4 232.4l3.6 10.9h11.4l-9.2 6.7 3.5 10.9-9.3-6.7-9.2 6.7 3.5-11-9.3-6.7H29zm64.9 0 3.5 10.9h11.5L103 250l3.6 10.9-9.3-6.7-9.3 6.7 3.6-11-9.3-6.7h11.4zm64.8 0 3.6 10.9H177l-9 6.7 3.5 10.9-9.3-6.7-9.2 6.7 3.5-11-9.3-6.7h11.5zm64.9 0 3.5 10.9H242l-9.3 6.7 3.6 10.9-9.3-6.7-9.3 6.7 3.6-11-9.3-6.7h11.4zm64.8 0 3.6 10.9h11.4l-9.2 6.7 3.5 10.9-9.3-6.7-9.2 6.7 3.5-11-9.2-6.7h11.4zm64.9 0 3.5 10.9h11.5l-9.3 6.7 3.6 10.9-9.3-6.7-9.3 6.7 3.6-11-9.3-6.7h11.5z",transform:"scale(.9375)"}))))}var mn,jn,vn,fn=a.forwardRef(hn),On=(n.p,["title","titleId"]);function gn(){return gn=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Sn(e,t){var n=e.title,r=e.titleId,i=xn(e,On);return a.createElement("svg",gn({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 640 480",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,mn||(mn=a.createElement("rect",{width:750,height:500,fill:"#c60b1e"})),jn||(jn=a.createElement("rect",{width:750,height:250,y:125,fill:"#ffc400"})),vn||(vn=a.createElement("g",{id:"coa",stroke:"#000",strokeWidth:.39},a.createElement("g",{id:"supporters"},a.createElement("g",{id:"crown_left",strokeWidth:.26},a.createElement("path",{fill:"#ad1519",strokeLinejoin:"round",d:"m167.99 222.24s-0.51 0-0.79-0.16-1.13-0.96-1.13-0.96l-0.68-0.49-0.62-0.85s-0.73-1.18-0.4-2.09c0.34-0.91 0.91-1.23 1.42-1.5 0.51-0.26 1.58-0.59 1.58-0.59s0.85-0.37 1.13-0.42c0.28-0.06 1.3-0.32 1.3-0.32s0.28-0.16 0.56-0.27c0.29-0.11 0.68-0.11 0.91-0.16 0.22-0.06 0.79-0.24 1.13-0.26 0.52-0.02 1.36 0.1 1.64 0.1s1.24 0.05 1.64 0.05c0.39 0 1.8-0.11 2.2-0.11 0.39 0 0.68-0.05 1.13 0 0.45 0.06 1.24 0.32 1.47 0.43s1.58 0.59 2.09 0.75 1.75 0.37 2.32 0.64c0.56 0.27 0.91 0.72 1.19 1.1 0.28 0.37 0.34 0.78 0.45 1.05 0.11 0.26 0.11 0.84 0 1.11-0.11 0.26-0.51 0.81-0.51 0.81l-0.62 1.02-0.79 0.64s-0.57 0.54-1.02 0.48c-0.45-0.04-5.03-0.86-7.97-0.86s-7.64 0.86-7.64 0.86h0.01z"}),a.createElement("g",{fill:"#c8b100"},a.createElement("ellipse",{cx:175.66,cy:215.68,rx:1.38,ry:2.5}),a.createElement("ellipse",{cx:175.68,cy:215.68,rx:.64,ry:2.3}),a.createElement("ellipse",{stroke:"none",cx:175.68,cy:213.04,rx:.93,ry:.87}),a.createElement("path",{strokeWidth:.3,d:"m176.96 212.74v0.58h-2.53v-0.58h0.94v-1.32h-0.62v-0.57h0.62v-0.57h0.6v0.57h0.62v0.57h-0.62v1.32h0.99"}),a.createElement("path",{fill:"none",d:"m175.94,212.2a0.93,0.87 0 1,1 -0.5,0"}),a.createElement("path",{d:"m175.68 222.08h-4.81l-0.11-1.18-0.23-1.23-0.23-1.53c-1.33-1.75-2.55-2.9-2.96-2.65 0.1-0.32 0.22-0.56 0.47-0.71 1.18-0.7 3.61 0.98 5.44 3.74 0.16 0.25 0.32 0.5 0.46 0.75h3.97c0.14-0.25 0.3-0.5 0.46-0.75 1.82-2.76 4.26-4.44 5.43-3.74 0.26 0.15 0.37 0.39 0.47 0.71-0.41-0.24-1.62 0.9-2.96 2.65l-0.23 1.53-0.23 1.23-0.1 1.18h-4.84z"}),a.createElement("path",{fill:"none",d:"m167.55 215.44c0.91-0.53 3.02 1.14 4.73 3.74m11.55-3.74c-0.91-0.53-3.01 1.14-4.73 3.74"})),a.createElement("g",{id:"crown_pt1",fill:"#c8b100"},a.createElement("path",{d:"m168.58 224.25c-0.2-0.57-0.58-1.08-0.58-1.08 1.95-0.57 4.66-0.93 7.67-0.94 3.01 0.01 5.75 0.37 7.69 0.94 0 0-0.22 0.38-0.52 0.91-0.17 0.3-0.39 0.81-0.38 0.81-1.75-0.54-4.02-0.81-6.8-0.82-2.79 0.01-5.46 0.35-6.86 0.86 0.02 0-0.1-0.32-0.23-0.68h0.01"}),a.createElement("path",{d:"m175.67 226.73c2.43-0.01 5.11-0.38 6.1-0.63 0.66-0.2 1.05-0.49 0.98-0.84-0.04-0.16-0.18-0.3-0.37-0.38-1.46-0.47-4.07-0.8-6.71-0.8-2.63 0-5.27 0.33-6.72 0.8-0.19 0.08-0.33 0.22-0.37 0.38-0.07 0.35 0.32 0.64 0.98 0.84 0.99 0.25 3.68 0.62 6.11 0.63z"}),a.createElement("path",{d:"m183.48 222.08l-0.59-0.53s-0.57 0.34-1.28 0.24c-0.7-0.11-0.93-0.97-0.93-0.97s-0.79 0.67-1.44 0.62c-0.65-0.06-1.07-0.62-1.07-0.62s-0.71 0.51-1.33 0.46c-0.62-0.06-1.21-0.83-1.21-0.83s-0.63 0.8-1.25 0.86c-0.62 0.05-1.13-0.54-1.13-0.54s-0.28 0.59-1.07 0.72-1.47-0.62-1.47-0.62-0.45 0.73-0.99 0.92c-0.54 0.18-1.24-0.27-1.24-0.27s-0.12 0.27-0.2 0.43-0.31 0.19-0.31 0.19l0.18 0.47c1.93-0.56 4.56-0.91 7.53-0.91s5.67 0.35 7.61 0.92l0.2-0.54h-0.01z"}),a.createElement("path",{d:"m175.69 219.49l0.28 0.05c-0.05 0.12-0.06 0.24-0.06 0.38 0 0.58 0.5 1.05 1.12 1.05 0.49 0 0.91-0.31 1.06-0.73 0.01 0.01 0.11-0.38 0.15-0.38 0.03 0 0.03 0.41 0.05 0.41 0.07 0.53 0.55 0.89 1.1 0.89 0.62 0 1.11-0.47 1.11-1.06 0-0.04 0-0.08-0.01-0.12l0.35-0.35 0.19 0.44c-0.07 0.14-0.1 0.29-0.1 0.46 0 0.56 0.47 1.01 1.06 1.01 0.37 0 0.69-0.18 0.88-0.45l0.23-0.29v0.36c0 0.34 0.14 0.66 0.49 0.71 0 0 0.38 0.03 0.91-0.38 0.52-0.41 0.8-0.75 0.8-0.75l0.03 0.42s-0.51 0.84-0.97 1.1c-0.25 0.15-0.64 0.31-0.95 0.25-0.32-0.05-0.55-0.31-0.67-0.61-0.23 0.14-0.51 0.22-0.8 0.22-0.63 0-1.2-0.35-1.42-0.86-0.29 0.31-0.69 0.5-1.16 0.5-0.51 0-0.97-0.23-1.26-0.58-0.28 0.27-0.67 0.43-1.09 0.43-0.55 0-1.05-0.28-1.33-0.69-0.29 0.41-0.78 0.69-1.34 0.69-0.42 0-0.81-0.16-1.09-0.43-0.29 0.35-0.75 0.58-1.25 0.58-0.48 0-0.88-0.19-1.17-0.5-0.22 0.51-0.79 0.86-1.42 0.86-0.29 0-0.56-0.08-0.79-0.22-0.12 0.3-0.35 0.56-0.68 0.61-0.3 0.06-0.69-0.1-0.94-0.25-0.47-0.26-1.02-1.1-1.02-1.1l0.07-0.42s0.29 0.34 0.81 0.75 0.91 0.38 0.91 0.38c0.34-0.05 0.49-0.37 0.49-0.71v-0.36l0.22 0.29c0.19 0.27 0.51 0.45 0.88 0.45 0.59 0 1.06-0.45 1.06-1.01 0-0.17-0.02-0.32-0.1-0.46l0.19-0.44 0.35 0.35c-0.01 0.04-0.01 0.08-0.01 0.12 0 0.59 0.49 1.06 1.11 1.06 0.55 0 1.03-0.36 1.11-0.89 0.01 0 0.01-0.41 0.04-0.41 0.05 0 0.14 0.39 0.16 0.38 0.14 0.42 0.56 0.73 1.06 0.73 0.61 0 1.11-0.47 1.11-1.05 0-0.14 0-0.26-0.05-0.38l0.29-0.05h0.01z"}),a.createElement("path",{strokeLinejoin:"round",d:"m175.67 222.23c-3.01 0.01-5.72 0.37-7.67 0.94-0.13 0.04-0.29-0.06-0.33-0.17-0.04-0.13 0.05-0.28 0.18-0.32 1.95-0.6 4.73-0.98 7.82-0.98s5.88 0.38 7.83 0.98c0.13 0.04 0.22 0.19 0.18 0.32-0.04 0.11-0.2 0.21-0.33 0.17-1.95-0.57-4.67-0.93-7.68-0.94z"}),a.createElement("path",{d:"m165.43 221c-0.01 0.01-0.38-0.48-0.65-0.73-0.2-0.18-0.68-0.33-0.68-0.33 0-0.08 0.28-0.28 0.58-0.28 0.18 0 0.35 0.07 0.45 0.2l0.04-0.2s0.24 0.05 0.35 0.32c0.12 0.29 0.05 0.72 0.05 0.72s-0.05 0.2-0.14 0.3z"}),a.createElement("path",{d:"m167.32 220.22l-0.11 0.66-1.4 0.15-0.21-0.12 0.04-0.23 1.06-0.87 0.62 0.41"}),a.createElement("path",{d:"m165.45 220.75c0.12-0.12 0.36-0.09 0.53 0.06 0.18 0.15 0.24 0.38 0.12 0.5-0.12 0.13-0.36 0.1-0.53-0.06-0.18-0.15-0.24-0.38-0.12-0.5z"}),a.createElement("path",{d:"m168.02 220.88c-0.06-0.18 0-0.37 0.13-0.42 0.14-0.03 0.3 0.09 0.37 0.27 0.06 0.19 0 0.38-0.14 0.42-0.13 0.04-0.29-0.08-0.36-0.27z"}),a.createElement("path",{d:"m168.67 220.04l0.51 0.48 1.22-0.66 0.09-0.21-0.17-0.17-1.4-0.12-0.25 0.68"}),a.createElement("path",{d:"m170.08 217.76l-0.67 0.64 0.86 1.14 0.23 0.09 0.17-0.18 0.3-1.37-0.89-0.32"}),a.createElement("path",{d:"m172.36 219.3l-0.26 0.63-1.4-0.13-0.18-0.16 0.1-0.22 1.22-0.64 0.52 0.52"}),a.createElement("ellipse",{cx:170.51,cy:219.65,rx:.49,ry:.47}),a.createElement("path",{d:"m172.87 219.95c-0.03-0.2 0.07-0.37 0.21-0.39s0.28 0.13 0.3 0.33c0.03 0.19-0.07 0.37-0.21 0.38-0.14 0.02-0.28-0.13-0.3-0.32z"}),a.createElement("path",{d:"m173.78 219.24l0.4 0.57 1.34-0.42 0.14-0.18-0.15-0.2-1.33-0.39-0.4 0.62"}),a.createElement("path",{d:"m175.66 217.15l-0.86 0.52 0.64 1.38 0.22 0.14 0.22-0.14 0.64-1.38-0.86-0.52"}),a.createElement("path",{d:"m177.55 219.24l-0.39 0.57-1.34-0.42-0.14-0.18 0.14-0.2 1.34-0.39 0.39 0.62"}),a.createElement("ellipse",{cx:175.67,cy:219.21,rx:.49,ry:.47}),a.createElement("path",{d:"m178.5 219.95c0.02-0.2-0.08-0.37-0.22-0.39s-0.28 0.13-0.3 0.33c-0.02 0.19 0.07 0.37 0.21 0.38 0.14 0.02 0.28-0.13 0.31-0.32z"}),a.createElement("path",{d:"m178.99 219.3l0.26 0.63 1.4-0.13 0.18-0.16-0.1-0.22-1.22-0.64-0.52 0.52"}),a.createElement("path",{d:"m181.27 217.76l0.67 0.64-0.86 1.14-0.23 0.09-0.17-0.18-0.3-1.37 0.89-0.32"}),a.createElement("path",{d:"m182.68 220.04l-0.51 0.48-1.22-0.66-0.1-0.21 0.19-0.17 1.4-0.12 0.24 0.68"}),a.createElement("ellipse",{cx:180.85,cy:219.65,rx:.49,ry:.47}),a.createElement("path",{d:"m183.34 220.88c0.06-0.18 0-0.37-0.13-0.42-0.14-0.03-0.3 0.09-0.37 0.27-0.06 0.19 0 0.38 0.14 0.42 0.13 0.04 0.29-0.08 0.36-0.27z"}),a.createElement("path",{d:"m185.73 221c0.01 0.01 0.38-0.48 0.66-0.73 0.19-0.18 0.67-0.33 0.67-0.33 0-0.08-0.28-0.28-0.58-0.28-0.18 0-0.35 0.07-0.45 0.2l-0.04-0.2s-0.24 0.05-0.36 0.32c-0.11 0.29-0.03 0.72-0.03 0.72s0.04 0.2 0.13 0.3z"}),a.createElement("path",{d:"m183.84 220.22l0.11 0.66 1.4 0.15 0.21-0.12-0.05-0.23-1.05-0.87-0.62 0.41"}),a.createElement("path",{d:"m185.74 220.75c-0.11-0.12-0.35-0.09-0.53 0.06s-0.24 0.38-0.12 0.5c0.12 0.13 0.36 0.1 0.54-0.06 0.18-0.15 0.23-0.38 0.11-0.5z"})),a.createElement("g",{id:"crown_pt2",fill:"none"},a.createElement("path",{fill:"#ad1519",d:"m168.05 224.3l0.31-0.5 0.65 0.13-0.38 0.56-0.58-0.19"}),a.createElement("path",{fill:"#058e6e",d:"m170.85 223.81l-0.69 0.11c-0.18 0.02-0.35-0.09-0.38-0.26-0.02-0.17 0.1-0.32 0.27-0.35l0.7-0.1 0.71-0.11c0.18-0.02 0.34 0.09 0.37 0.25 0.02 0.17-0.1 0.33-0.27 0.35l-0.71 0.11"}),a.createElement("ellipse",{fill:"#fff",cx:173.19,cy:223.3,rx:.44,ry:.41}),a.createElement("path",{fill:"#ad1519",d:"m175.7 223.48h-0.96c-0.18 0-0.33-0.14-0.33-0.31s0.14-0.31 0.32-0.31h1.96c0.19 0 0.33 0.14 0.33 0.31s-0.15 0.31-0.33 0.31h-0.99"}),a.createElement("ellipse",{fill:"#fff",cx:178.16,cy:223.3,rx:.44,ry:.41}),a.createElement("path",{fill:"#058e6e",d:"m180.5 223.81l0.69 0.11c0.18 0.02 0.35-0.09 0.38-0.26 0.02-0.17-0.09-0.32-0.27-0.35l-0.7-0.1-0.71-0.11c-0.18-0.02-0.35 0.09-0.37 0.25-0.03 0.17 0.09 0.33 0.27 0.35l0.71 0.11"}),a.createElement("path",{fill:"#ad1519",d:"m183.24 224.33l-0.25-0.53-0.67 0.06 0.32 0.59 0.6-0.12"}),a.createElement("path",{fill:"#ad1519",strokeLinejoin:"round",d:"m175.66 226.16c-2.43 0-4.63-0.22-6.3-0.65 1.67-0.43 3.87-0.69 6.3-0.7 2.44 0 4.65 0.27 6.33 0.7-1.68 0.43-3.89 0.65-6.33 0.65z"}),a.createElement("path",{strokeWidth:.01,d:"m176.8 226.08v-1.16m-0.58 1.2l0.01-1.23m-0.43 1.25v-1.26"}),a.createElement("path",{strokeWidth:.02,d:"m175.44 226.15v-1.27"}),a.createElement("path",{strokeWidth:.03,d:"m175.09 226.15v-1.27"}),a.createElement("path",{strokeWidth:.04,d:"m174.77 226.15v-1.27"}),a.createElement("path",{strokeWidth:.04,d:"m174.44 226.15v-1.27"}),a.createElement("path",{strokeWidth:.05,d:"m174.16 226.15v-1.27"}),a.createElement("path",{strokeWidth:.06,d:"m173.61 226.08l-0.01-1.15m0.27 1.17v-1.21"}),a.createElement("path",{strokeWidth:.07,d:"m173.1 226.03v-1.06m0.26 1.09l-0.01-1.13"}),a.createElement("path",{strokeWidth:.08,d:"m172.42 225.97v-0.93m0.23 0.94v-0.98m0.23 1.02v-1.02"}),a.createElement("path",{strokeWidth:.09,d:"m172.19 225.96v-0.9"}),a.createElement("path",{strokeWidth:.1,d:"m171.97 225.92v-0.85"}),a.createElement("path",{strokeWidth:.11,d:"m171.73 225.89v-0.78"}),a.createElement("path",{strokeWidth:.12,d:"m171.24 225.82l-0.01-0.62m0.26 0.66v-0.7"}),a.createElement("path",{strokeWidth:.12,d:"m170.99 225.77v-0.55"}),a.createElement("path",{strokeWidth:.13,d:"m170.76 225.73v-0.46"}),a.createElement("path",{strokeWidth:.14,d:"m170.51 225.67v-0.36"}),a.createElement("path",{strokeWidth:.15,d:"m170.26 225.64v-0.27"}),a.createElement("path",{strokeWidth:.18,d:"m169.99 225.58v-0.13"}))),a.createElement("g",{id:"pillar_left"},a.createElement("g",{fill:"#005bbf"},a.createElement("path",{d:"m191.28 330.68c-1.54 0-2.91-0.33-3.93-0.87-1-0.51-2.36-0.82-3.86-0.82-1.51 0-2.9 0.32-3.91 0.83-1.01 0.53-2.4 0.86-3.92 0.86-1.54 0-2.92-0.36-3.93-0.9-1-0.49-2.33-0.79-3.79-0.79-1.52 0-2.86 0.29-3.86 0.81-1.02 0.54-2.42 0.88-3.95 0.88v2.41c1.53 0 2.93-0.35 3.95-0.88 1-0.52 2.34-0.82 3.86-0.82 1.45 0 2.79 0.31 3.79 0.8 1.01 0.53 2.39 0.9 3.93 0.9 1.52 0 2.91-0.33 3.92-0.86 1.01-0.52 2.4-0.84 3.91-0.84 1.5 0 2.86 0.32 3.86 0.83 1.02 0.54 2.37 0.87 3.91 0.87l0.02-2.41z"}),a.createElement("path",{fill:"#ccc",d:"m191.28 333.09c-1.54 0-2.91-0.33-3.93-0.87-1-0.51-2.36-0.83-3.86-0.83-1.51 0-2.9 0.32-3.91 0.84-1.01 0.53-2.4 0.86-3.92 0.86-1.54 0-2.92-0.37-3.93-0.9-1-0.49-2.33-0.8-3.79-0.8-1.52 0-2.86 0.3-3.86 0.82-1.02 0.53-2.42 0.88-3.95 0.88v2.41c1.53 0 2.93-0.35 3.95-0.88 1-0.52 2.34-0.82 3.86-0.82 1.45 0 2.79 0.31 3.79 0.8 1.01 0.54 2.39 0.9 3.93 0.9 1.52 0 2.91-0.34 3.92-0.86s2.4-0.84 3.91-0.84c1.5 0 2.86 0.32 3.86 0.84 1.02 0.53 2.37 0.86 3.91 0.86l0.02-2.41"}),a.createElement("path",{d:"m191.28 335.5c-1.54 0-2.91-0.33-3.93-0.86-1-0.52-2.36-0.84-3.86-0.84-1.51 0-2.9 0.32-3.91 0.84s-2.4 0.86-3.92 0.86c-1.54 0-2.92-0.36-3.93-0.9-1-0.49-2.33-0.8-3.79-0.8-1.52 0-2.86 0.3-3.86 0.82-1.02 0.53-2.42 0.88-3.95 0.88v2.4c1.53 0 2.93-0.34 3.95-0.88 1-0.51 2.34-0.8 3.86-0.8 1.45 0 2.79 0.3 3.79 0.79 1.01 0.54 2.39 0.89 3.93 0.89 1.52 0 2.91-0.32 3.92-0.85 1.01-0.52 2.4-0.83 3.91-0.83 1.5 0 2.86 0.31 3.86 0.82 1.02 0.55 2.37 0.86 3.91 0.86l0.02-2.4"}),a.createElement("path",{fill:"#ccc",d:"m191.26 340.32c-1.54 0-2.89-0.33-3.91-0.87-1-0.51-2.36-0.82-3.86-0.82-1.51 0-2.9 0.31-3.91 0.83s-2.4 0.86-3.92 0.86c-1.54 0-2.92-0.37-3.93-0.9-1-0.5-2.33-0.79-3.79-0.79-1.52 0-2.86 0.29-3.86 0.81-1.02 0.53-2.42 0.88-3.95 0.88v-2.4c1.53 0 2.93-0.36 3.95-0.9 1-0.51 2.34-0.8 3.86-0.8 1.45 0 2.79 0.3 3.79 0.79 1.01 0.54 2.39 0.89 3.93 0.89 1.52 0 2.91-0.32 3.92-0.85 1.01-0.52 2.4-0.83 3.91-0.83 1.5 0 2.86 0.31 3.86 0.82 1.02 0.55 2.39 0.86 3.93 0.86l-0.02 2.42"}),a.createElement("path",{d:"m191.26 342.73c-1.54 0-2.89-0.33-3.91-0.86-1-0.52-2.36-0.84-3.86-0.84-1.51 0-2.9 0.32-3.91 0.84s-2.4 0.86-3.92 0.86c-1.54 0-2.92-0.37-3.93-0.9-1-0.5-2.33-0.8-3.79-0.8-1.52 0-2.86 0.3-3.86 0.82-1.02 0.53-2.42 0.88-3.95 0.88v-2.39c1.53 0 2.93-0.37 3.95-0.9 1-0.52 2.34-0.81 3.86-0.81 1.45 0 2.79 0.3 3.79 0.79 1.01 0.53 2.39 0.9 3.93 0.9 1.52 0 2.91-0.34 3.92-0.86s2.4-0.83 3.91-0.83c1.5 0 2.86 0.31 3.86 0.82 1.02 0.54 2.38 0.87 3.93 0.87l-0.02 2.41z"})),a.createElement("g",{fill:"#c8b100"},a.createElement("path",{strokeLinejoin:"round",d:"m166.92 320.78c0.05 0.21 0.13 0.4 0.13 0.62 0 1.46-1.27 2.63-2.81 2.63h22.94c-1.55 0-2.81-1.17-2.81-2.63 0-0.21 0.04-0.41 0.09-0.62-0.13 0.05-0.29 0.06-0.44 0.06h-16.69c-0.13 0-0.29-0.02-0.41-0.06z"}),a.createElement("path",{d:"m167.33 319.27h16.69c0.57 0 1.02 0.35 1.02 0.78s-0.45 0.79-1.02 0.79h-16.69c-0.56 0-1.02-0.36-1.02-0.79s0.46-0.78 1.02-0.78z"}),a.createElement("path",{d:"m164.27 329.86h22.87v-5.83h-22.87v5.83z"})),a.createElement("path",{fill:"#ccc",d:"m167.55 318.32h16.25v-79.63h-16.25v79.63z"}),a.createElement("path",{fill:"none",d:"m179.13 238.8v79.46m1.83-79.46v79.46"}),a.createElement("g",{fill:"#c8b100"},a.createElement("path",{d:"m164.58 232.37h22.29v-5.84h-22.29v5.84z"}),a.createElement("path",{strokeLinejoin:"round",d:"m166.92 236.26c0.14-0.06 0.24-0.07 0.41-0.07h16.69c0.17 0 0.32 0.03 0.46 0.08-0.58-0.19-0.99-0.71-0.99-1.32s0.45-1.14 1.03-1.33c-0.14 0.04-0.33 0.08-0.49 0.08h-16.7c-0.17 0-0.33-0.01-0.47-0.06l0.09 0.02c0.6 0.18 0.94 0.71 0.94 1.29 0 0.56-0.38 1.13-0.97 1.31z"}),a.createElement("path",{d:"m167.33 236.19h16.69c0.57 0 1.02 0.35 1.02 0.78 0 0.44-0.45 0.79-1.02 0.79h-16.69c-0.56 0-1.02-0.35-1.02-0.79 0-0.43 0.46-0.78 1.02-0.78z"}),a.createElement("path",{d:"m167.33 232.37h16.7c0.57 0 1.03 0.3 1.03 0.66 0 0.37-0.46 0.67-1.03 0.67h-16.7c-0.56 0-1.02-0.3-1.02-0.67 0-0.36 0.46-0.66 1.02-0.66z"}))),a.createElement("g",{id:"ribbon_left",fill:"#ad1519"},a.createElement("path",{d:"m162.48 298.62c-2.26 1.3-3.8 2.64-3.55 3.31 0.12 0.61 0.84 1.07 1.87 1.75 1.62 1.13 2.6 3.14 1.83 4.07 1.34-1.08 2.19-2.69 2.19-4.49 0-1.87-0.9-3.56-2.34-4.64z"}),a.createElement("path",{strokeLinejoin:"round",d:"m200.4 268.47c-3.54-1.46-9.57-2.55-16.49-2.78-2.39 0.02-5.04 0.25-7.79 0.7-9.72 1.63-17.13 5.51-16.54 8.67 0.01 0.06 0.04 0.2 0.05 0.26 0 0-3.64-8.21-3.7-8.52-0.65-3.51 7.56-7.82 18.35-9.62 3.39-0.57 6.69-0.79 9.56-0.76 6.9 0 12.9 0.89 16.52 2.23l0.04 9.82"}),a.createElement("path",{d:"m167.52 278.47c-4.51-0.32-7.58-1.53-7.94-3.41-0.28-1.5 1.25-3.17 3.97-4.68 1.21 0.14 2.58 0.3 4 0.3l-0.03 7.79"}),a.createElement("path",{d:"m183.83 272.38c2.82 0.43 4.93 1.13 5.98 1.99l0.1 0.17c0.5 1.03-1.97 3.22-6.11 5.67l0.03-7.83"}),a.createElement("path",{strokeLinejoin:"round",d:"m157.42 293.83c-0.43-1.28 3.97-3.86 10.18-6.14 2.84-1.01 5.18-2.07 8.09-3.35 8.63-3.82 15-8.2 14.22-9.79l-0.09-0.17c0.46 0.38 1.18 8.24 1.18 8.24 0.78 1.46-5.05 5.78-13 9.58-2.54 1.22-7.91 3.2-10.44 4.09-4.54 1.57-9.04 4.54-8.63 5.64l-1.51-8.09v-0.01z"})),a.createElement("g",{id:"crown_right",strokeWidth:.26},a.createElement("path",{fill:"#ad1519",strokeWidth:.27,d:"m324.85 220.42s-0.74 0.78-1.28 0.89c-0.53 0.1-1.21-0.49-1.21-0.49s-0.48 0.51-1.08 0.64c-0.59 0.14-1.41-0.66-1.41-0.66s-0.57 0.8-1.07 0.99c-0.51 0.18-1.13-0.24-1.13-0.24s-0.23 0.39-0.65 0.61c-0.18 0.09-0.48-0.05-0.48-0.05l-0.6-0.38-0.68-0.72-0.62-0.24s-0.28-0.91-0.31-1.07c-0.02-0.16-0.08-0.57-0.08-0.57-0.13-0.65 0.87-1.4 2.3-1.72 0.82-0.19 1.54-0.18 2.06-0.02 0.57-0.48 1.78-0.82 3.2-0.82 1.29 0 2.42 0.27 3.04 0.7 0.61-0.43 1.74-0.7 3.03-0.7 1.42 0 2.62 0.34 3.19 0.82 0.53-0.16 1.24-0.17 2.07 0.02 1.42 0.32 2.43 1.07 2.3 1.72 0 0-0.06 0.41-0.08 0.57-0.03 0.16-0.32 1.07-0.32 1.07l-0.62 0.24-0.68 0.72-0.58 0.38s-0.3 0.14-0.48 0.05c-0.43-0.21-0.66-0.61-0.66-0.61s-0.62 0.42-1.13 0.24c-0.51-0.19-1.07-0.99-1.07-0.99s-0.82 0.8-1.42 0.66c-0.59-0.13-1.07-0.64-1.07-0.64s-0.68 0.59-1.21 0.49c-0.54-0.11-1.27-0.89-1.27-0.89z"}),a.createElement("g",{fill:"#c8b100"},a.createElement("ellipse",{cx:324.82,cy:216.2,rx:1.38,ry:1.96}),a.createElement("ellipse",{cx:324.85,cy:216.2,rx:.63,ry:1.81}),a.createElement("ellipse",{stroke:"none",cx:324.84,cy:213.95,rx:.93,ry:.88}),a.createElement("path",{strokeWidth:.3,d:"m326.13 213.64v0.58h-2.53v-0.58h0.94v-1.3h-0.62v-0.58h0.62v-0.58h0.61v0.58h0.61v0.58h-0.61v1.3h0.98"}),a.createElement("path",{fill:"none",d:"m325.11,213.12a0.93,0.88 0 1,1 -0.51,-0.01"})),a.createElement("g",{fill:"none",strokeWidth:.21},a.createElement("path",{strokeWidth:.26,strokeLinecap:"round",d:"m314.41 219.99c-0.13-0.33-0.22-0.7-0.22-1.08 0-1.59 1.26-2.88 2.83-2.88 0.5 0 0.96 0.13 1.37 0.37"}),a.createElement("path",{strokeWidth:.26,d:"m319.48 217.93c-0.15-0.26-0.29-0.54-0.29-0.84 0-1.15 1.19-2.08 2.64-2.08 0.62 0 1.2 0.17 1.65 0.45"}),a.createElement("path",{strokeWidth:.26,d:"m330.17 217.96c0.15-0.26 0.25-0.57 0.25-0.87 0-1.15-1.18-2.08-2.64-2.08-0.62 0-1.19 0.17-1.64 0.45"}),a.createElement("path",{strokeWidth:.26,strokeLinecap:"round",d:"m335.21 219.99c0.13-0.33 0.21-0.7 0.21-1.08 0-1.59-1.26-2.88-2.82-2.88-0.5 0-0.97 0.13-1.38 0.37"}),a.createElement("ellipse",{cx:313.57,cy:218.68,rx:.45,ry:.43}),a.createElement("ellipse",{cx:313.74,cy:217.1,rx:.45,ry:.43}),a.createElement("ellipse",{cx:314.76,cy:215.9,rx:.45,ry:.43}),a.createElement("ellipse",{cx:316.11,cy:215.25,rx:.45,ry:.43}),a.createElement("ellipse",{cx:317.55,cy:215.31,rx:.45,ry:.43}),a.createElement("ellipse",{fill:"#fff",cx:318.43,cy:217.08,rx:.45,ry:.43}),a.createElement("ellipse",{cx:318.68,cy:215.58,rx:.45,ry:.43}),a.createElement("ellipse",{cx:319.81,cy:214.64,rx:.45,ry:.43}),a.createElement("ellipse",{cx:321.23,cy:214.19,rx:.45,ry:.43}),a.createElement("ellipse",{cx:322.67,cy:214.24,rx:.45,ry:.43}),a.createElement("ellipse",{cx:326.94,cy:214.24,rx:.45,ry:.43}),a.createElement("ellipse",{cx:328.39,cy:214.19,rx:.45,ry:.43}),a.createElement("ellipse",{cx:329.8,cy:214.64,rx:.45,ry:.43}),a.createElement("ellipse",{cx:330.93,cy:215.58,rx:.45,ry:.43}),a.createElement("ellipse",{fill:"#fff",cx:331.18,cy:217.08,rx:.45,ry:.43}),a.createElement("ellipse",{cx:332.06,cy:215.31,rx:.45,ry:.43}),a.createElement("ellipse",{cx:333.51,cy:215.25,rx:.45,ry:.43}),a.createElement("ellipse",{cx:334.86,cy:215.9,rx:.45,ry:.43}),a.createElement("ellipse",{cx:335.88,cy:217.1,rx:.45,ry:.43}),a.createElement("ellipse",{cx:336.05,cy:218.68,rx:.45,ry:.43})),a.createElement("use",{xlinkHref:"#crown_pt1",x:149.17}),a.createElement("use",{xlinkHref:"#crown_pt2",x:149.17})),a.createElement("use",{id:"pillar_right",xlinkHref:"#pillar_left",x:149.17}),a.createElement("use",{id:"ribbon_right",xlinkHref:"#ribbon_left",transform:"matrix(-1,0,0,1,500.57,0)"}),a.createElement("g",{id:"plus_ultra",fill:"#c8b100",stroke:"none"},a.createElement("path",{d:"m166.42 264.65c1.99-0.72 3.29-1.58 2.66-3.14-0.41-1-1.43-1.19-2.97-0.63l-2.71 0.99 2.44 6.03c0.27-0.12 0.54-0.24 0.81-0.34 0.28-0.1 0.57-0.18 0.85-0.26l-1.08-2.64v-0.01zm-1.18-2.91l0.69-0.25c0.57-0.21 1.21 0.1 1.5 0.8 0.21 0.53 0.16 1.13-0.5 1.55-0.21 0.13-0.46 0.23-0.7 0.33l-0.99-2.43"}),a.createElement("path",{d:"m172.78 259.22c-0.29 0.08-0.57 0.16-0.86 0.22-0.29 0.05-0.59 0.09-0.88 0.12l1.41 6.28 4.38-0.88c-0.05-0.12-0.12-0.26-0.14-0.38-0.03-0.14-0.03-0.28-0.04-0.41-0.77 0.22-1.61 0.46-2.61 0.66l-1.26-5.61"}),a.createElement("path",{d:"m181.56 264.63c0.82-2.28 1.82-4.46 2.81-6.67-0.18 0.03-0.36 0.06-0.54 0.07s-0.37 0.01-0.54 0c-0.53 1.61-1.18 3.21-1.87 4.8-0.82-1.51-1.73-2.99-2.43-4.51-0.34 0.04-0.69 0.09-1.03 0.12-0.34 0.02-0.7 0.01-1.04 0.02 1.26 2.06 2.48 4.11 3.64 6.23 0.16-0.03 0.32-0.06 0.5-0.08 0.16-0.01 0.33 0.01 0.5 0.02"}),a.createElement("path",{d:"m190.72 259.8c0.15-0.31 0.31-0.6 0.48-0.89-0.24-0.22-0.96-0.55-1.81-0.63-1.79-0.18-2.81 0.61-2.93 1.69-0.26 2.26 3.31 2.07 3.14 3.57-0.07 0.64-0.75 0.9-1.48 0.83-0.81-0.08-1.41-0.53-1.51-1.19l-0.22-0.02c-0.12 0.39-0.29 0.77-0.48 1.15 0.53 0.34 1.21 0.53 1.85 0.59 1.83 0.19 3.22-0.54 3.35-1.74 0.23-2.15-3.37-2.27-3.23-3.54 0.06-0.53 0.47-0.88 1.4-0.79 0.67 0.07 1.08 0.43 1.26 0.95l0.18 0.02"}),a.createElement("path",{d:"m310.3 264.98c0.62-2.33 1.41-4.58 2.19-6.87-0.17 0.05-0.35 0.09-0.53 0.11-0.17 0.03-0.36 0.04-0.54 0.05-0.37 1.64-0.88 3.29-1.42 4.94-0.96-1.44-2-2.84-2.83-4.3-0.34 0.07-0.68 0.15-1.02 0.2s-0.69 0.07-1.04 0.11c1.45 1.94 2.85 3.89 4.2 5.91 0.16-0.04 0.32-0.1 0.5-0.12 0.16-0.02 0.33-0.02 0.49-0.03"}),a.createElement("path",{d:"m316.48 258.16c-0.29 0.01-0.59 0.04-0.88 0.03-0.3 0-0.6-0.04-0.89-0.06l-0.12 6.41 4.49 0.08c-0.03-0.13-0.06-0.28-0.06-0.41s0.04-0.27 0.07-0.4c-0.81 0.05-1.68 0.1-2.71 0.08l0.1-5.73"}),a.createElement("path",{d:"m323.52 259.21c0.72 0.06 1.41 0.19 2.1 0.31-0.01-0.13-0.03-0.27-0.02-0.41 0.01-0.13 0.06-0.26 0.1-0.39l-6.07-0.5c0.01 0.14 0.03 0.27 0.02 0.4-0.01 0.14-0.06 0.27-0.1 0.4 0.62-0.02 1.37-0.02 2.21 0.05l-0.53 5.77c0.29 0 0.59 0 0.88 0.03 0.3 0.02 0.59 0.07 0.88 0.11l0.53-5.77"}),a.createElement("path",{d:"m326.01 265.53c0.29 0.05 0.59 0.09 0.88 0.15 0.28 0.06 0.57 0.15 0.85 0.23l0.72-2.94 0.08 0.01c0.16 0.41 0.38 0.9 0.49 1.19l0.9 2.22c0.36 0.06 0.71 0.11 1.05 0.18 0.36 0.08 0.7 0.18 1.04 0.28l-0.31-0.67c-0.48-1-0.99-2.01-1.41-3.02 1.12 0.04 1.98-0.36 2.2-1.26 0.15-0.62-0.1-1.11-0.68-1.53-0.44-0.31-1.28-0.47-1.83-0.6l-2.44-0.53-1.54 6.29m3.14-5.42c0.71 0.16 1.59 0.27 1.59 1.07-0.01 0.21-0.03 0.35-0.06 0.48-0.23 0.94-0.94 1.26-2.13 0.91l0.6-2.46"}),a.createElement("path",{d:"m337.57 267.46c-0.05 0.69-0.18 1.37-0.31 2.1 0.3 0.14 0.61 0.27 0.9 0.44 0.3 0.16 0.57 0.34 0.86 0.52l0.6-7.23c-0.14-0.06-0.27-0.12-0.41-0.19-0.13-0.07-0.25-0.15-0.37-0.24l-6.38 4.05c0.17 0.08 0.35 0.16 0.51 0.25 0.17 0.09 0.31 0.19 0.47 0.28 0.54-0.45 1.1-0.82 1.74-1.3l2.39 1.31v0.01zm-1.81-1.66l2.13-1.37-0.25 2.4-1.88-1.03"}))),a.createElement("g",{id:"crown_crest"},a.createElement("path",{fill:"#ad1519",strokeWidth:.26,d:"m249.65 182.72c6.64 0 12.56 0.99 16.41 2.51 2.2 1 5.16 1.73 8.4 2.17 2.47 0.33 4.81 0.39 6.85 0.24 2.73-0.06 6.67 0.74 10.62 2.48 3.26 1.45 5.99 3.21 7.8 4.91l-1.57 1.4-0.45 3.96-4.3 4.92-2.15 1.83-5.09 4.07-2.6 0.21-0.79 2.25-32.91-3.86-33.02 3.86-0.79-2.25-2.61-0.21-5.08-4.07-2.15-1.83-4.3-4.92-0.44-3.96-1.58-1.4c1.82-1.7 4.54-3.46 7.8-4.91 3.95-1.74 7.89-2.54 10.62-2.48 2.04 0.15 4.38 0.09 6.85-0.24 3.24-0.44 6.2-1.17 8.4-2.17 3.86-1.52 9.44-2.51 16.08-2.51z"}),a.createElement("g",{fill:"#c8b100"},a.createElement("path",{d:"m225.34 191.42l1.38 1.11 2.08-3.4c-2.25-1.38-3.8-3.78-3.8-6.51 0-0.31 0.02-0.61 0.06-0.91 0.21-4.34 5.5-7.92 12.2-7.92 3.48 0 6.63 0.95 8.84 2.48 0.06-0.67 0.12-1.25 0.21-1.86-2.43-1.42-5.6-2.28-9.05-2.28-7.71 0-13.74 4.39-14.03 9.57-0.03 0.31-0.05 0.61-0.05 0.92 0 2.76 1.26 5.26 3.26 6.99l-1.1 1.81"}),a.createElement("path",{d:"m225.43 191.46c-2.63-1.97-4.27-4.64-4.27-7.58 0-3.38 2.22-6.4 5.58-8.41-2.07 1.67-3.33 3.83-3.51 6.23-0.03 0.31-0.05 0.61-0.05 0.92 0 2.76 1.26 5.26 3.26 6.99l-1.01 1.85"}),a.createElement("path",{d:"m202.21 194.89c-1.48-1.65-2.38-3.79-2.38-6.12 0-1.41 0.33-2.75 0.91-3.95 2.13-4.38 8.82-7.57 16.76-7.57 2.16 0 4.23 0.23 6.14 0.67-0.42 0.46-0.75 0.97-1.08 1.48-1.59-0.31-3.29-0.48-5.06-0.48-7.27 0-13.36 2.83-15.12 6.65-0.47 0.97-0.73 2.06-0.73 3.2 0 2.32 1.09 4.4 2.79 5.82l-2.63 4.3-1.41-1.12 1.81-2.88z"}),a.createElement("path",{d:"m204.9 180.48c-1.91 1.21-3.36 2.69-4.16 4.34-0.58 1.2-0.91 2.54-0.91 3.95 0 2.33 0.9 4.47 2.38 6.12l-1.6 2.59c-1.53-1.96-2.42-4.26-2.42-6.7 0-4.2 2.67-7.87 6.71-10.3z"}),a.createElement("path",{d:"m250.04 171.27c1.76 0 3.28 1.16 3.64 2.73 0.23 1.38 0.38 2.95 0.41 4.62 0.01 0.18-0.01 0.35-0.01 0.52 0 0.2 0.04 0.41 0.05 0.61 0.06 3.52 0.56 6.62 1.27 8.52l-5.36 5.14-5.43-5.14c0.72-1.9 1.22-5 1.29-8.52 0-0.2 0.04-0.41 0.04-0.61 0-0.17-0.01-0.34-0.01-0.52 0.03-1.67 0.18-3.24 0.41-4.62 0.36-1.57 1.94-2.73 3.7-2.73z"}),a.createElement("path",{d:"m250.04 172.94c0.91 0 1.68 0.58 1.87 1.39 0.23 1.31 0.37 2.8 0.4 4.38 0 0.16-0.01 0.32-0.01 0.48 0 0.2 0.03 0.39 0.04 0.59 0.05 3.32 0.53 6.25 1.21 8.05l-3.54 3.35-3.54-3.35c0.67-1.8 1.15-4.73 1.21-8.05 0-0.2 0.04-0.39 0.04-0.59 0-0.16-0.01-0.32-0.01-0.48 0.03-1.58 0.17-3.07 0.4-4.38 0.18-0.81 1.02-1.39 1.93-1.39z"}),a.createElement("path",{d:"m274.7 191.42l-1.39 1.11-2.08-3.4c2.26-1.38 3.81-3.78 3.81-6.51 0-0.31-0.02-0.61-0.06-0.91-0.21-4.34-5.5-7.92-12.2-7.92-3.49 0-6.63 0.95-8.84 2.48-0.06-0.67-0.12-1.25-0.22-1.86 2.44-1.42 5.6-2.28 9.06-2.28 7.71 0 13.74 4.39 14.03 9.57 0.03 0.31 0.05 0.61 0.05 0.92 0 2.76-1.27 5.26-3.27 6.99l1.11 1.81"}),a.createElement("path",{d:"m274.61 191.46c2.63-1.97 4.27-4.64 4.27-7.58 0-3.38-2.22-6.4-5.58-8.41 2.07 1.67 3.33 3.83 3.51 6.23 0.03 0.31 0.05 0.61 0.05 0.92 0 2.76-1.27 5.26-3.27 6.99l1.02 1.85"}),a.createElement("path",{d:"m297.83 194.89c1.47-1.65 2.38-3.79 2.38-6.12 0-1.41-0.33-2.75-0.91-3.95-2.14-4.38-8.82-7.57-16.76-7.57-2.16 0-4.23 0.23-6.15 0.67 0.43 0.46 0.76 0.97 1.09 1.48 1.58-0.31 3.29-0.48 5.06-0.48 7.27 0 13.35 2.83 15.11 6.65 0.47 0.97 0.73 2.06 0.73 3.2 0 2.32-1.09 4.4-2.79 5.82l2.63 4.3 1.42-1.12-1.81-2.88z"}),a.createElement("path",{d:"m295.14 180.48c1.91 1.21 3.36 2.69 4.16 4.34 0.58 1.2 0.91 2.54 0.91 3.95 0 2.33-0.91 4.47-2.38 6.12l1.6 2.59c1.53-1.96 2.41-4.26 2.41-6.7 0-4.2-2.67-7.87-6.7-10.3z"}),a.createElement("ellipse",{fill:"#005bbf",strokeWidth:.26,cx:250.05,cy:167.3,rx:4.43,ry:4.2}),a.createElement("path",{strokeWidth:.26,d:"m248.89 155.54v2.26h-2.42v2.3h2.42v3.15 3.46h-3.05c-0.03 0.21-0.22 0.37-0.22 0.59 0 0.58 0.12 1.14 0.35 1.64 0 0.02 0.02 0.02 0.03 0.03h8.12c0-0.01 0.02-0.01 0.03-0.03 0.22-0.5 0.35-1.06 0.35-1.64 0-0.22-0.19-0.38-0.22-0.59h-2.96v-3.43-3.18h2.42v-2.3h-2.42v-2.26h-2.43z"})),a.createElement("g",{fill:"#fff"},a.createElement("ellipse",{cx:250.04,cy:188.94,rx:1.91,ry:1.8}),a.createElement("ellipse",{cx:250.04,cy:185.4,rx:1.91,ry:1.8}),a.createElement("ellipse",{cx:250.04,cy:181.6,rx:1.52,ry:1.44}),a.createElement("ellipse",{cx:250.04,cy:178.18,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:250.04,cy:175.18,rx:.88,ry:.83}),a.createElement("ellipse",{cx:198.94,cy:198.67,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:197.44,cy:196.02,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:196.44,cy:192.94,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:196.31,cy:189.64,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:197.12,cy:186.4,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:198.81,cy:183.45,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:201.06,cy:181.02,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:203.68,cy:179.01,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:206.8,cy:177.36,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:210.04,cy:176.19,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:213.66,cy:175.54,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:217.1,cy:175.36,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:220.47,cy:175.48,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:224.21,cy:190.32,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:222.34,cy:187.65,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:221.35,cy:184.75,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:221.47,cy:181.57,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:222.16,cy:178.37,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:223.84,cy:175.48,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:226.4,cy:173.47,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:229.39,cy:171.81,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:232.7,cy:170.82,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:236.13,cy:170.23,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:239.5,cy:170.28,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:242.99,cy:170.87,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:246.23,cy:171.99,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:253.8,cy:171.99,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:257.04,cy:170.87,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:260.54,cy:170.28,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:263.9,cy:170.23,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:267.34,cy:170.82,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:270.64,cy:171.81,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:273.64,cy:173.47,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:276.19,cy:175.48,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:277.88,cy:178.37,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:278.57,cy:181.57,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:278.69,cy:184.75,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:277.69,cy:187.65,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:275.83,cy:190.32,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:279.57,cy:175.48,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:282.94,cy:175.36,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:286.38,cy:175.54,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:290,cy:176.19,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:293.24,cy:177.36,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:296.36,cy:179.01,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:298.97,cy:181.02,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:301.22,cy:183.45,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:302.91,cy:186.4,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:303.72,cy:189.64,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:303.6,cy:192.94,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:302.6,cy:196.02,rx:1.1,ry:1.04}),a.createElement("ellipse",{cx:301.1,cy:198.67,rx:1.1,ry:1.04})),a.createElement("g",{fill:"#c8b100"},a.createElement("path",{d:"m250.15 226.18c-12.26-0.02-23.25-1.47-31.09-3.83-0.57-0.18-0.87-0.7-0.84-1.25-0.01-0.52 0.29-1 0.84-1.17 7.84-2.36 18.83-3.81 31.09-3.83 12.27 0.02 23.25 1.47 31.09 3.83 0.55 0.17 0.84 0.65 0.83 1.17 0.03 0.55-0.27 1.07-0.83 1.25-7.84 2.36-18.82 3.81-31.09 3.83"}),a.createElement("path",{d:"m250.07 216.09c-12.41 0.03-23.55 1.58-31.39 4 0.65-0.31 0.59-1.12-0.22-3.2-0.98-2.53-2.5-2.42-2.5-2.42 8.66-2.56 20.73-4.16 34.16-4.18 13.44 0.02 25.6 1.62 34.27 4.18 0 0-1.53-0.11-2.51 2.42-0.81 2.08-0.87 2.89-0.21 3.2-7.84-2.42-19.19-3.97-31.6-4"}),a.createElement("path",{d:"m250.12 210.3c-13.43 0.02-25.5 1.62-34.16 4.18-0.58 0.17-1.19-0.05-1.38-0.6s0.12-1.18 0.7-1.35c8.71-2.67 21.08-4.35 34.84-4.38 13.77 0.03 26.19 1.71 34.9 4.38 0.58 0.17 0.89 0.8 0.7 1.35s-0.8 0.77-1.38 0.6c-8.67-2.56-20.78-4.16-34.22-4.18"}),a.createElement("path",{d:"m250.2 199.78l1.23 0.22c-0.19 0.5-0.24 1.05-0.24 1.63 0 2.57 2.21 4.65 4.92 4.65 2.18 0 4.04-1.35 4.67-3.21 0.08 0.05 0.47-1.68 0.68-1.66 0.17 0.02 0.15 1.8 0.22 1.77 0.31 2.34 2.46 3.93 4.87 3.93 2.71 0 4.91-2.08 4.91-4.65 0-0.19-0.01-0.38-0.04-0.57l1.54-1.52 0.83 1.94c-0.33 0.61-0.46 1.3-0.46 2.03 0 2.46 2.1 4.44 4.69 4.44 1.63 0 3.06-0.78 3.9-1.97l0.99-1.25-0.01 1.53c0 1.55 0.66 2.93 2.16 3.18 0 0 1.73 0.1 4.03-1.7 2.29-1.8 3.55-3.29 3.55-3.29l0.2 1.8s-1.9 2.95-3.97 4.15c-1.14 0.66-2.86 1.35-4.23 1.13-1.44-0.24-2.48-1.4-3.01-2.74-1.03 0.61-2.25 0.97-3.55 0.97-2.81 0-5.33-1.54-6.32-3.86-1.29 1.4-3.09 2.25-5.2 2.25-2.24 0-4.29-1.01-5.57-2.56-1.27 1.16-2.98 1.87-4.88 1.87-2.48 0-4.69-1.22-5.94-3.05-1.25 1.83-3.46 3.05-5.94 3.05-1.89 0-3.61-0.71-4.87-1.87-1.28 1.55-3.34 2.56-5.58 2.56-2.11 0-3.9-0.85-5.19-2.25-1 2.32-3.52 3.86-6.32 3.86-1.31 0-2.52-0.36-3.55-0.97-0.54 1.34-1.57 2.5-3.02 2.74-1.36 0.22-3.08-0.47-4.22-1.13-2.08-1.2-3.98-4.15-3.98-4.15l0.2-1.8s1.27 1.49 3.56 3.29c2.29 1.81 4.02 1.7 4.02 1.7 1.51-0.25 2.16-1.63 2.16-3.18l-0.01-1.53 0.99 1.25c0.84 1.19 2.28 1.97 3.9 1.97 2.59 0 4.69-1.98 4.69-4.44 0-0.73-0.13-1.42-0.46-2.03l0.83-1.94 1.54 1.52c-0.02 0.19-0.04 0.38-0.04 0.57 0 2.57 2.2 4.65 4.91 4.65 2.42 0 4.56-1.59 4.88-3.93 0.06 0.03 0.05-1.75 0.22-1.77 0.2-0.02 0.6 1.71 0.67 1.66 0.64 1.86 2.49 3.21 4.68 3.21 2.71 0 4.91-2.08 4.91-4.65 0-0.58-0.03-1.13-0.24-1.63l1.29-0.22"}),a.createElement("path",{d:"m208.37 206.32c-0.11-0.37-0.35-0.75-0.72-1.06-0.79-0.68-1.84-0.79-2.36-0.25-0.07 0.07-0.13 0.17-0.17 0.25 0 0-1.11-2.08-2.41-2.78-1.29-0.7-3.49-0.52-3.49-0.52 0-1.6 1.3-2.89 2.99-2.89 0.99 0 1.92 0.41 2.48 1.11l0.23-1.07s1.36 0.27 1.98 1.82-0.06 3.8-0.06 3.8 0.34-0.96 0.85-1.61c0.51-0.64 1.81-1.34 2.49-1.66 0.67-0.31 1.37-0.79 1.37-0.79s0.03 0.18 0.05 0.61c0.03 0.51-0.01 0.83-0.01 0.83 1.24-0.17 2.69 0.04 3.83 0.48-0.49 0.95-1.41 1.84-2.62 2.3 0 0 0.44 0.36 0.83 0.75 0.34 0.34 0.44 0.49 0.44 0.49s-0.85 0.13-1.27 0.19c-0.43 0.05-1.84 0.28-2.69 0.22-0.62-0.04-1.32-0.14-1.74-0.22"}),a.createElement("path",{fill:"#ad1519",d:"m205.29 205.01c0.52-0.54 1.57-0.43 2.36 0.25 0.8 0.67 1.02 1.66 0.51 2.19-0.51 0.54-1.57 0.42-2.36-0.25-0.79-0.68-1.02-1.66-0.51-2.19"}),a.createElement("path",{fill:"#fff",d:"m216.39 205.91c-0.28-0.83-0.03-1.65 0.57-1.83 0.6-0.19 1.32 0.33 1.6 1.16s0.03 1.65-0.57 1.84c-0.6 0.18-1.31-0.34-1.6-1.17"}),a.createElement("path",{d:"m226.12 201.86c-0.33-0.27-0.59-0.64-0.67-1.08s0.01-0.87 0.23-1.23c0 0-0.88-0.44-1.83-0.69-0.72-0.19-1.99-0.2-2.37-0.2-0.38-0.02-1.15-0.03-1.15-0.03s0.07 0.17 0.28 0.55c0.27 0.46 0.5 0.75 0.5 0.75-1.27 0.29-2.35 1.12-3.03 2.09 0.99 0.68 2.3 1.1 3.6 0.97 0 0-0.12 0.34-0.2 0.86-0.06 0.43-0.06 0.61-0.06 0.61s0.71-0.26 1.07-0.39c0.35-0.13 1.54-0.55 2.15-0.96 0.8-0.54 1.48-1.25 1.48-1.25"}),a.createElement("path",{d:"m225.68 191.65c1.06 0.67 1.98 1.79 2.3 3.03 0 0 0.13-0.25 0.71-0.59 0.59-0.33 1.09-0.32 1.09-0.32s-0.17 0.97-0.25 1.32c-0.09 0.34-0.09 1.38-0.32 2.32-0.23 0.93-0.63 1.68-0.63 1.68-0.42-0.34-0.99-0.51-1.58-0.41-0.58 0.1-1.06 0.44-1.32 0.9 0 0-0.66-0.58-1.21-1.38-0.55-0.81-0.93-1.78-1.13-2.08-0.21-0.3-0.72-1.15-0.72-1.15s0.47-0.18 1.14-0.05c0.67 0.12 0.88 0.32 0.88 0.32-0.14-1.28 0.28-2.62 1.04-3.59"}),a.createElement("path",{d:"m228.97 201.38c0.22-0.35 0.32-0.79 0.24-1.23s-0.32-0.81-0.66-1.07c0 0 0.67-0.71 1.47-1.26 0.6-0.41 1.8-0.82 2.15-0.95 0.36-0.13 1.07-0.4 1.07-0.4s0 0.18-0.06 0.61c-0.08 0.52-0.2 0.87-0.2 0.87 1.3-0.14 2.62 0.29 3.61 0.98-0.69 0.97-1.77 1.79-3.04 2.08 0 0 0.23 0.28 0.5 0.74 0.21 0.39 0.28 0.56 0.28 0.56s-0.77-0.02-1.15-0.03c-0.38 0-1.65-0.01-2.37-0.2-0.95-0.25-1.84-0.69-1.84-0.69"}),a.createElement("ellipse",{fill:"#ad1519",cx:227.37,cy:200.45,rx:2.17,ry:2.06}),a.createElement("path",{fill:"#fff",d:"m237.76 201.77c-0.11-0.87 0.31-1.63 0.93-1.7 0.63-0.07 1.23 0.57 1.34 1.44 0.11 0.86-0.3 1.63-0.93 1.7-0.62 0.07-1.22-0.57-1.34-1.44"}),a.createElement("path",{d:"m248.5 199.83c-0.32-0.36-0.53-0.82-0.53-1.33 0-0.5 0.19-0.97 0.51-1.32 0 0-0.89-0.67-1.89-1.12-0.77-0.35-2.18-0.59-2.6-0.67-0.43-0.08-1.28-0.24-1.28-0.24s0.04 0.2 0.2 0.67c0.2 0.56 0.4 0.93 0.4 0.93-1.47 0.08-2.85 0.81-3.81 1.76 0.96 0.94 2.34 1.66 3.81 1.75 0 0-0.2 0.36-0.4 0.93-0.16 0.46-0.2 0.67-0.2 0.67s0.85-0.16 1.28-0.24c0.42-0.08 1.83-0.32 2.6-0.67 1-0.46 1.91-1.11 1.91-1.11"}),a.createElement("path",{d:"m250.11 188.36c1.05 0.95 1.85 2.36 1.95 3.82 0 0 0.19-0.27 0.91-0.53 0.73-0.26 1.28-0.16 1.28-0.16s-0.39 1.05-0.55 1.42c-0.17 0.37-0.39 1.53-0.84 2.53-0.44 1-1.05 1.76-1.05 1.76-0.4-0.45-1-0.75-1.67-0.75-0.68 0-1.27 0.3-1.67 0.75 0 0-0.61-0.76-1.05-1.76-0.45-1-0.67-2.16-0.84-2.53s-0.56-1.42-0.56-1.42 0.56-0.1 1.28 0.16 0.92 0.53 0.92 0.53c0.1-1.46 0.86-2.87 1.89-3.82"}),a.createElement("path",{d:"m251.76 199.83c0.33-0.36 0.53-0.82 0.53-1.33 0-0.5-0.19-0.97-0.51-1.32 0 0 0.89-0.67 1.9-1.12 0.76-0.35 2.17-0.59 2.6-0.67 0.42-0.08 1.26-0.24 1.26-0.24s-0.02 0.2-0.19 0.67c-0.2 0.56-0.4 0.93-0.4 0.93 1.47 0.08 2.86 0.81 3.81 1.76-0.95 0.94-2.33 1.66-3.81 1.75 0 0 0.2 0.36 0.4 0.93 0.16 0.46 0.19 0.67 0.19 0.67l-1.26-0.24c-0.43-0.08-1.84-0.32-2.6-0.67-1.01-0.46-1.92-1.11-1.92-1.11"}),a.createElement("ellipse",{fill:"#ad1519",cx:250.14,cy:198.5,rx:2.17,ry:2.06}),a.createElement("path",{fill:"#fff",d:"m262.58 201.77c0.11-0.87-0.3-1.63-0.93-1.7s-1.23 0.57-1.34 1.44c-0.11 0.86 0.31 1.63 0.93 1.7 0.63 0.07 1.23-0.57 1.34-1.44"}),a.createElement("path",{d:"m271.38 201.38c-0.22-0.35-0.32-0.79-0.25-1.23 0.09-0.44 0.33-0.81 0.67-1.07 0 0-0.67-0.71-1.47-1.26-0.61-0.41-1.8-0.82-2.16-0.95-0.35-0.13-1.06-0.4-1.06-0.4s-0.01 0.18 0.06 0.61c0.08 0.52 0.19 0.87 0.19 0.87-1.29-0.14-2.61 0.29-3.6 0.98 0.68 0.97 1.77 1.79 3.03 2.08 0 0-0.23 0.28-0.49 0.74-0.22 0.39-0.28 0.56-0.28 0.56l1.14-0.03c0.38 0 1.66-0.01 2.37-0.2 0.95-0.25 1.84-0.69 1.84-0.69"}),a.createElement("path",{d:"m274.67 191.65c-1.06 0.67-1.98 1.79-2.31 3.03 0 0-0.12-0.25-0.71-0.59-0.58-0.33-1.09-0.32-1.09-0.32s0.17 0.97 0.26 1.32c0.09 0.34 0.09 1.38 0.31 2.32 0.23 0.93 0.64 1.68 0.64 1.68 0.42-0.34 0.99-0.51 1.57-0.41 0.59 0.1 1.06 0.44 1.33 0.9 0 0 0.66-0.58 1.21-1.38 0.54-0.81 0.92-1.78 1.12-2.08 0.21-0.3 0.72-1.15 0.72-1.15s-0.47-0.18-1.14-0.05c-0.67 0.12-0.88 0.32-0.88 0.32 0.15-1.28-0.28-2.62-1.03-3.59"}),a.createElement("path",{d:"m274.22 201.86c0.34-0.27 0.6-0.64 0.67-1.08 0.09-0.44 0-0.87-0.22-1.23 0 0 0.88-0.44 1.83-0.69 0.72-0.19 1.99-0.2 2.36-0.2 0.39-0.02 1.15-0.03 1.15-0.03s-0.06 0.17-0.28 0.55c-0.26 0.46-0.49 0.75-0.49 0.75 1.26 0.29 2.34 1.12 3.03 2.09-0.99 0.68-2.31 1.1-3.6 0.97 0 0 0.11 0.34 0.19 0.86 0.06 0.43 0.06 0.61 0.06 0.61s-0.71-0.26-1.06-0.39c-0.36-0.13-1.55-0.55-2.16-0.96-0.79-0.54-1.48-1.25-1.48-1.25"}),a.createElement("ellipse",{fill:"#ad1519",cx:272.98,cy:200.45,rx:2.17,ry:2.06}),a.createElement("path",{fill:"#fff",d:"m283.96 205.91c0.28-0.83 0.03-1.65-0.57-1.83-0.6-0.19-1.32 0.33-1.61 1.16-0.28 0.83-0.03 1.65 0.57 1.84 0.6 0.18 1.32-0.34 1.61-1.17"}),a.createElement("path",{d:"m291.97 206.32c0.11-0.37 0.36-0.75 0.72-1.06 0.79-0.68 1.85-0.79 2.36-0.25 0.07 0.07 0.14 0.17 0.18 0.25 0 0 1.1-2.08 2.4-2.78s3.5-0.52 3.5-0.52c0-1.6-1.31-2.89-3-2.89-0.99 0-1.92 0.41-2.47 1.11l-0.23-1.07s-1.36 0.27-1.98 1.82 0.05 3.8 0.05 3.8-0.33-0.96-0.84-1.61c-0.51-0.64-1.81-1.34-2.49-1.66-0.68-0.31-1.37-0.79-1.37-0.79s-0.03 0.18-0.06 0.61c-0.02 0.51 0.02 0.83 0.02 0.83-1.25-0.17-2.7 0.04-3.83 0.48 0.48 0.95 1.4 1.84 2.61 2.3 0 0-0.43 0.36-0.83 0.75-0.33 0.34-0.43 0.49-0.43 0.49s0.85 0.13 1.27 0.19c0.43 0.05 1.84 0.28 2.68 0.22 0.63-0.04 1.32-0.14 1.74-0.22"}),a.createElement("path",{fill:"#ad1519",d:"m295.05 205.01c-0.51-0.54-1.57-0.43-2.36 0.25-0.79 0.67-1.02 1.66-0.51 2.19 0.51 0.54 1.57 0.42 2.36-0.25 0.79-0.68 1.02-1.66 0.51-2.19"})),a.createElement("g",{fill:"none"},a.createElement("path",{fill:"#ad1519",strokeLinejoin:"round",d:"m250.12 224.57c-11.06-0.01-21.07-1.29-28.68-3.26 7.61-1.97 17.62-3.17 28.68-3.19 11.07 0.02 21.13 1.22 28.74 3.19-7.61 1.97-17.67 3.25-28.74 3.26z"}),a.createElement("path",{strokeWidth:.05,d:"m258.04 224.28v-6.01m-3.02 6.21l0.04-6.37m-2.24 6.45v-6.49"}),a.createElement("path",{strokeWidth:.09,d:"m250.95 224.64v-6.57"}),a.createElement("path",{strokeWidth:.14,d:"m249.16 224.64v-6.57"}),a.createElement("path",{strokeWidth:.18,d:"m247.48 224.64v-6.57"}),a.createElement("path",{strokeWidth:.23,d:"m245.81 224.64v-6.57"}),a.createElement("path",{strokeWidth:.28,d:"m244.32 224.64v-6.57"}),a.createElement("path",{strokeWidth:.33,d:"m241.48 224.28l-0.04-5.97m1.39 6.05v-6.25"}),a.createElement("path",{strokeWidth:.37,d:"m238.86 224.01v-5.5m1.33 5.66l-0.04-5.86"}),a.createElement("path",{strokeWidth:.42,d:"m235.35 223.7v-4.84m1.15 4.92v-5.08m1.19 5.24v-5.28"}),a.createElement("path",{strokeWidth:.46,d:"m234.12 223.66v-4.68"}),a.createElement("path",{strokeWidth:.51,d:"m232.97 223.42v-4.36"}),a.createElement("path",{strokeWidth:.56,d:"m231.74 223.31v-4.06"}),a.createElement("path",{strokeWidth:.6,d:"m229.22 222.95l-0.04-3.22m1.33 3.38v-3.62"}),a.createElement("path",{strokeWidth:.63,d:"m227.93 222.68v-2.84"}),a.createElement("path",{strokeWidth:.68,d:"m226.74 222.45v-2.36"}),a.createElement("path",{strokeWidth:.73,d:"m225.45 222.13v-1.85"}),a.createElement("path",{strokeWidth:.77,d:"m224.12 221.98v-1.38"}),a.createElement("path",{strokeWidth:.91,d:"m222.72 221.66v-0.67"}),a.createElement("path",{d:"m220.12 221.66c7.75-2.18 18.29-3.52 30-3.54 11.72 0.02 22.31 1.36 30.06 3.54"}),a.createElement("path",{fill:"#ad1519",d:"m216.72 217.16l1.22-1.59 3.37 0.43-2.69 1.96-1.9-0.8"}),a.createElement("path",{fill:"#fff",d:"m224.03 215.28c0-0.58 0.49-1.04 1.1-1.04s1.1 0.46 1.1 1.04c0 0.57-0.49 1.04-1.1 1.04s-1.1-0.47-1.1-1.04"}),a.createElement("path",{fill:"#058e6e",d:"m233.64 215.07l-2.36 0.27c-0.61 0.07-1.17-0.33-1.24-0.9-0.08-0.57 0.35-1.09 0.96-1.15l2.37-0.28 2.42-0.28c0.6-0.07 1.15 0.33 1.22 0.9s-0.36 1.09-0.96 1.16l-2.41 0.28"}),a.createElement("path",{fill:"#fff",d:"m240.54 213.35c0-0.58 0.49-1.04 1.1-1.04 0.6 0 1.1 0.46 1.1 1.04 0 0.57-0.5 1.04-1.1 1.04-0.61 0-1.1-0.47-1.1-1.04"}),a.createElement("path",{fill:"#ad1519",d:"m250.15 214.16h-3.29c-0.6 0-1.11-0.46-1.11-1.03 0-0.58 0.49-1.04 1.1-1.04h6.64c0.61 0 1.1 0.46 1.1 1.04 0 0.57-0.51 1.03-1.11 1.03h-3.33"}),a.createElement("path",{fill:"#fff",d:"m257.56 213.35c0-0.58 0.5-1.04 1.1-1.04 0.61 0 1.1 0.46 1.1 1.04 0 0.57-0.49 1.04-1.1 1.04-0.6 0-1.1-0.47-1.1-1.04"}),a.createElement("path",{fill:"#058e6e",d:"m266.66 215.07l2.36 0.27c0.6 0.07 1.17-0.33 1.24-0.9s-0.36-1.09-0.96-1.15l-2.37-0.28-2.42-0.28c-0.61-0.07-1.15 0.33-1.22 0.9-0.08 0.57 0.36 1.09 0.96 1.16l2.41 0.28"}),a.createElement("path",{fill:"#fff",d:"m274.07 215.28c0-0.58 0.49-1.04 1.1-1.04s1.1 0.46 1.1 1.04c0 0.57-0.49 1.04-1.1 1.04s-1.1-0.47-1.1-1.04"}),a.createElement("path",{fill:"#ad1519",d:"m283.57 217.16l-1.21-1.59-3.37 0.43 2.69 1.96 1.89-0.8"}))),a.createElement("g",{id:"shield",strokeWidth:.52},a.createElement("g",{id:"Granada"},a.createElement("path",{fill:"#ccc",d:"m250.49 344.33c-13.08 0-26.05-3.2-36.95-8.54-8.03-3.98-13.36-12-13.36-21.19v-33.3h100.42v33.3c0 9.19-5.32 17.21-13.36 21.19-10.9 5.34-23.66 8.54-36.75 8.54z"}),a.createElement("path",{fill:"#ffd691",d:"m252.91 329.55c2.09 0.63 3.15 2.19 3.15 4.01 0 2.38-2.3 4.18-5.3 4.18-2.99 0-5.42-1.8-5.42-4.18 0-1.79 1-3.8 3.08-3.94 0 0-0.06-0.19-0.24-0.5-0.22-0.23-0.64-0.66-0.64-0.66s0.79-0.15 1.25 0.02c0.46 0.18 0.77 0.47 0.77 0.47s0.21-0.43 0.52-0.76c0.3-0.33 0.7-0.53 0.7-0.53s0.46 0.38 0.61 0.64c0.15 0.27 0.25 0.59 0.25 0.59s0.42-0.35 0.79-0.49c0.37-0.15 0.84-0.26 0.84-0.26s-0.13 0.46-0.22 0.69-0.14 0.72-0.14 0.72"}),a.createElement("path",{fill:"#058e6e",d:"m250.32 340.32s-3.98-2.68-5.7-3.04c-2.21-0.47-4.69-0.09-5.76-0.15 0.03 0.03 1.29 0.93 1.84 1.48s2.39 1.65 3.43 1.91c3.22 0.81 6.19-0.2 6.19-0.2"}),a.createElement("path",{fill:"#058e6e",d:"m251.46 340.56s2.54-2.66 5.21-3.02c3.15-0.44 5.22 0.26 6.44 0.58 0.03 0-1.01 0.49-1.56 0.87-0.55 0.37-1.97 1.57-4.14 1.59-2.18 0.03-4.58-0.23-4.97-0.17-0.4 0.06-0.98 0.15-0.98 0.15"}),a.createElement("path",{fill:"#ad1519",d:"m250.69 337.28c-1-0.93-1.62-2.25-1.62-3.72 0-1.46 0.62-2.78 1.63-3.71 0.99 0.93 1.61 2.25 1.61 3.71 0 1.47-0.62 2.79-1.62 3.72"}),a.createElement("path",{fill:"#058e6e",d:"m249.68 342.71s0.61-1.52 0.67-2.83c0.06-1.09-0.15-2.17-0.15-2.17h0.52 0.28s0.39 1.16 0.39 2.17c0 1.02-0.18 2.37-0.18 2.37s-0.55 0.08-0.73 0.17c-0.19 0.09-0.8 0.29-0.8 0.29"})),a.createElement("g",{id:"Aragon",fill:"#c8b100"},a.createElement("path",{fill:"#ad1519",d:"m250.32 314.57c0 13.16-11.16 23.82-25.05 23.82s-25.15-10.66-25.15-23.82v-33.35h50.2v33.35"}),a.createElement("path",{d:"m200.03 314.12c0.15 7.02 2.95 12.25 5.73 15.67v-49.47h-5.66l-0.07 33.8z"}),a.createElement("path",{d:"m211.08 334.23c1.57 0.83 3.72 2.22 6.03 2.77l-0.15-56.96h-5.88v54.19z"}),a.createElement("path",{d:"m222.28 338.25c2.3 0.23 4.01 0.19 5.87 0v-58.21h-5.87v58.21z"}),a.createElement("path",{d:"m233.32 337c2.3-0.46 4.9-1.89 6.03-2.63v-54.33h-5.88l-0.15 56.96z"}),a.createElement("path",{d:"m244.81 329.24c2.45-2.18 4.75-7.12 5.59-12.76l0.14-36.44h-5.87l0.14 49.2z"})),a.createElement("g",{id:"Navarre"},a.createElement("path",{fill:"#ad1519",d:"m300.65 281.22v33.35c0 13.16-11.28 23.82-25.17 23.82-13.9 0-25.16-10.66-25.16-23.82v-33.35h50.33"}),a.createElement("path",{id:"chains_half",fill:"#c8b100",stroke:"#c8b100",strokeWidth:.26,d:"m272.71,306.14c0.05-0.14,0.12-0.27,0.19-0.4l-4.26-4.74-1.67,0.72-3.06-3.39,1-1.46-5.34-5.99c-0.07,0.02-0.2,0.02-0.27,0.04l0.03,4.02,1.75,0.5v4.46l-1.75,0.48-0.03,4.08c0.84,0.26,1.48,0.88,1.74,1.67l3.21,0.01,0.51-1.67h4.72l0.5,1.67zm-6.98-18.5,0,1.61,2.76,0,0-1.61zm-7.3,20.37c0.64,0,1.16-0.49,1.16-1.1s-0.52-1.11-1.16-1.11c-0.65,0-1.17,0.5-1.17,1.11s0.52,1.1,1.17,1.1zm15.99-9.73-1.76-0.48,0-4.46,1.76-0.5-0.01-1.92c-0.85-0.25-1.51-0.87-1.79-1.67h-2.68l-0.51,1.67h-4.71l-0.51-1.67h-3.09c-0.08,0.22-0.17,0.42-0.29,0.61l5.38,5.96,1.67-0.71,3.06,3.4-1,1.45,4.18,4.64c0.09-0.04,0.18-0.08,0.28-0.12zm-7.25-1.39-1.29,1.04,1.77,1.98,1.29-1.05zm8.00432,36.1859c-1.23998-0.065-2.25509-0.9022-2.51432-2.01593-1.67-0.23-3.25-0.66-4.73-1.3l0.84-1.43c1.29,0.55,2.66,0.91,4.08,1.11,0.31-0.66,0.86-1.16,1.58-1.4l0.01-5.62-1.76-0.49v-4.46l1.76-0.48v-7.64c-0.07-0.02-0.13-0.05-0.2-0.09l-3.98,4.42,1,1.44-3.06,3.4-1.67-0.71-3.3,3.67c0.57,0.87,0.55,2-0.11,2.85,0.94,1.05,2.03,1.98,3.24,2.75l-0.84,1.44c-1.42-0.89-2.7-1.99-3.79-3.22-0.87,0.26-1.86,0.11-2.6-0.5-1.15-0.93-1.29-2.56-0.3-3.64l0.14-0.16c-0.69-1.56-1.16-3.24-1.32-5l1.71,0.01c0.14,1.5,0.51,2.93,1.09,4.27,0.49-0.06,1-0.01,1.46,0.16l3.32-3.68-1-1.45,3.06-3.4,1.67,0.72,3.99-4.43c-0.09-0.14-0.15-0.29-0.21-0.46l-2.76,0.01-0.5,1.67h-4.72l-0.51-1.67-3.24-0.01c-0.27,0.76-0.9,1.36-1.69,1.62l-0.01,4.04-1.71-0.01v-4.01c-1.1-0.33-1.91-1.31-1.91-2.47,0-1.15,0.82-2.15,1.92-2.48l0.01-4.05-1.76-0.48v-4.46l1.76-0.5v-4.05c-1.08-0.35-1.84-1.32-1.84-2.45,0-1.43,1.22-2.58,2.73-2.58,1.22,0,2.25,0.74,2.61,1.78h3.09l0.51-1.67h4.71l0.51,1.67h2.68c0.35692-1.0311,1.36258-1.76731,2.55896-1.77984l0.0711,8.36984h-0.85v2.61h0.845l-0.0214,21.59h-0.7836v2.61h0.77946zm-5.914-18.306l-1.29-1.04-1.78,1.98,1.29,1.04zm-9.96-18.44-1.69,0-0.01,2.61,1.7,0zm9.16,11.41,0-1.6-2.85,0,0,1.6zm-10.6,9.69-1.76-0.39-0.25-4.45,1.75-0.58,0,2.56c0,0.99,0.09,1.92,0.26,2.86zm1.46-5.52,1.75,0.41s0.09,2.87,0.05,2.22c-0.04-0.74,0.19,2.24,0.19,2.24l-1.76,0.58c-0.18-0.9-0.24-1.84-0.24-2.79zm10.81,16.93,0.39-1.7c-1.52-0.48-2.93-1.18-4.17-2.09l-1.26,1.11c1.48,1.15,3.19,2.08,5.04,2.68zm-0.85,1.44-1.3,1.22c-1.47-0.54-2.86-1.26-4.12-2.11l0.38-1.77c1.5,1.13,3.21,2.03,5.04,2.66z"}),a.createElement("use",{xlinkHref:"#chains_half",transform:"matrix(-1,0,0,1,550.43,0)"}),a.createElement("path",{fill:"#058e6e",stroke:"none",d:"m272.59 306.94c0-1.44 1.23-2.6 2.74-2.6s2.73 1.16 2.73 2.6c0 1.43-1.22 2.58-2.73 2.58s-2.74-1.15-2.74-2.58"})),a.createElement("g",{id:"Castile",fill:"#c8b100",strokeWidth:.46},a.createElement("path",{fill:"#ad1519",strokeWidth:.52,d:"m200.12 281.25h50.18v-55.72h-50.18v55.72z"}),a.createElement("path",{d:"m217.34 238.41h-0.92v-0.92h-1.62v3.69h1.62v2.55h-3.47v7.39h1.85v14.79h-3.7v7.63h28.42v-7.63h-3.69v-14.79h1.85v-7.39h-3.47v-2.55h1.62v-3.69h-1.62v0.92h-0.93v-0.92h-1.61v0.92h-1.16v-0.92h-1.62v3.69h1.62v2.55h-3.46v-8.09h1.84v-3.7h-1.84v0.93h-0.93v-0.93h-1.62v0.93h-0.92v-0.93h-1.85v3.7h1.85v8.09h-3.47v-2.55h1.62v-3.69h-1.62v0.92h-0.92v-0.92h-1.85v0.92zm-6.24 35.13h28.42m-28.42-1.85h28.42m-28.42-1.85h28.42m-28.42-1.85h28.42m-28.42-2.08h28.42m-24.72-1.62h21.03m-21.03-1.85h21.03m-21.03-2.08h21.03m-21.03-1.84h21.03m-21.03-1.85h21.03m-21.03-1.85h21.03m-21.03-1.85h21.03m-22.88-1.85h24.73m-24.73-1.85h24.73m-24.73-1.85h24.73m-24.73-1.84h24.73m-21.26-1.85h17.79m-10.63-1.85h3.47m-3.47-1.85h3.47m-3.47-1.85h3.47m-3.47-1.85h3.47m-5.32-2.31h7.16m-12.47 7.86h3.69m-5.31-2.31h6.93m-6.93 33.97v-1.85m0-1.85v-1.85m-1.85 1.85v1.85m3.47 0v-1.85m1.84 3.7v-1.85m0-1.85v-1.85m0-2.08v-1.62m0-1.85v-2.08m-1.84 7.63v-2.08m-3.47 2.08v-2.08m7.16 0v2.08m1.62-2.08v-1.62m-5.31-1.85v1.85m3.69-1.85v1.85m3.47-1.85v1.85m-1.85-1.85v-2.08m1.85-1.84v1.84m0-5.54v1.85m-1.85-3.7v1.85m1.85-3.7v1.85m-3.47-1.85v1.85m-3.69-1.85v1.85m-1.62-3.7v1.85m3.46-1.85v1.85m3.47-1.85v1.85m1.85-3.7v1.85m-3.47-1.85v1.85m-3.69-1.85v1.85m-1.62-3.69v1.84m6.93-1.84v1.84m-3.47-5.54v1.85m15.95-1.85h-3.7m5.32-2.31h-6.94m6.94 33.97v-1.85m0-1.85v-1.85m1.85 1.85v1.85m-3.47 0v-1.85m-1.85 3.7v-1.85m0-1.85v-1.85m0-2.08v-1.62m0-1.85v-2.08m1.85 7.63v-2.08m3.47 2.08v-2.08m-7.17 0v2.08m-1.62-2.08v-1.62m5.32-1.85v1.85m-3.7-1.85v1.85m-3.46-1.85v1.85m1.84-1.85v-2.08m-1.84-1.84v1.84m0-5.54v1.85m1.84-3.7v1.85m-1.84-3.7v1.85m3.46-1.85v1.85m3.7-1.85v1.85m1.62-3.7v1.85m-3.47-1.85v1.85m-3.47-1.85v1.85m-1.84-3.7v1.85m3.46-1.85v1.85m3.7-1.85v1.85m1.62-3.69v1.84m-6.94-1.84v1.84m3.47-5.54v1.85m-7.16 18.71v-2.08m0-5.54v-1.85m0 5.55v-1.85m0-5.55v-1.85m0-1.85v-1.84m0-3.7v-1.85m0-1.85v-1.85m-8.78 4.85h3.69m3.47-5.54h3.47m3.46 5.54h3.7"}),a.createElement("path",{d:"m230.05 273.54v-4.86c0-0.92-0.46-3.7-4.85-3.7-4.16 0-4.62 2.78-4.62 3.7v4.86h9.47z"}),a.createElement("path",{d:"m222.19 268.91l-2.31-0.23c0-0.92 0.23-2.31 0.93-2.77l2.08 1.62c-0.23 0.23-0.7 0.92-0.7 1.38z"}),a.createElement("path",{d:"m226.12 266.6l1.16-2.08c-0.46-0.23-1.39-0.46-2.08-0.46-0.46 0-1.39 0.23-1.85 0.46l1.15 2.08h1.62z"}),a.createElement("path",{d:"m228.43 268.91l2.31-0.23c0-0.92-0.23-2.31-0.92-2.77l-2.08 1.62c0.23 0.23 0.69 0.92 0.69 1.38z"}),a.createElement("path",{d:"m221.73 260.83v-5.09c0-1.38-0.92-2.54-2.54-2.54s-2.54 1.16-2.54 2.54v5.09h5.08z"}),a.createElement("path",{d:"m228.89 260.83v-5.09c0-1.38 0.93-2.54 2.55-2.54 1.61 0 2.54 1.16 2.54 2.54v5.09h-5.09z"}),a.createElement("path",{d:"m220.11 248.35l0.23-4.62h-4.39l0.47 4.62h3.69z"}),a.createElement("path",{d:"m227.05 248.35l0.46-4.62h-4.39l0.23 4.62h3.7z"}),a.createElement("path",{d:"m230.51 248.35l-0.46-4.62h4.62l-0.46 4.62h-3.7z"}),a.createElement("g",{fill:"#0039f0",stroke:"none"},a.createElement("path",{d:"m228.43 273.54v-4.16c0-0.7-0.46-2.78-3.23-2.78-2.54 0-3.01 2.08-3.01 2.78v4.16h6.24z"}),a.createElement("path",{d:"m221.27 260.36v-4.39c0-1.15-0.69-2.31-2.08-2.31s-2.08 1.16-2.08 2.31v4.39h4.16z"}),a.createElement("path",{d:"m229.36 260.36v-4.39c0-1.15 0.69-2.31 2.08-2.31 1.38 0 2.08 1.16 2.08 2.31v4.39h-4.16z"}))),a.createElement("g",{id:"Leon"},a.createElement("path",{fill:"#ccc",d:"m250.28 281.25h50.32v-55.72h-50.32v55.72z"}),a.createElement("path",{fill:"#db4446",strokeWidth:.39,d:"m275.93 239.26l0.05-0.62 0.09-0.34s-1.61 0.13-2.46-0.11-1.61-0.59-2.4-1.25c-0.79-0.68-1.1-1.1-1.67-1.18-1.36-0.22-2.4 0.4-2.4 0.4s1.02 0.37 1.78 1.31 1.59 1.41 1.95 1.53c0.59 0.18 2.66 0.05 3.22 0.07 0.57 0.03 1.84 0.19 1.84 0.19z"}),a.createElement("g",{fill:"none",strokeWidth:.39},a.createElement("path",{fill:"#ed72aa",d:"m283.46 237s0.01 0.72 0.08 1.4c0.06 0.67-0.22 1.24-0.11 1.61s0.16 0.66 0.3 0.93c0.14 0.26 0.21 0.94 0.21 0.94s-0.38-0.28-0.74-0.54c-0.35-0.27-0.6-0.44-0.6-0.44s0.07 0.72 0.1 1.03c0.04 0.31 0.22 0.89 0.51 1.24 0.29 0.33 0.87 0.89 1.05 1.33 0.18 0.45 0.14 1.44 0.14 1.44s-0.46-0.75-0.87-0.89c-0.39-0.14-1.26-0.62-1.26-0.62s0.79 0.79 0.79 1.55c0 0.75-0.32 1.6-0.32 1.6s-0.36-0.68-0.83-1.12c-0.47-0.45-1.13-0.9-1.13-0.9s0.52 1.17 0.52 1.95c0 0.79-0.15 2.47-0.15 2.47s-0.39-0.64-0.79-0.96c-0.4-0.31-0.87-0.58-1.02-0.78-0.14-0.21 0.48 0.64 0.54 1.16 0.07 0.51 0.32 2.35 1.92 4.69 0.94 1.37 2.39 3.77 5.5 2.98 3.11-0.78 1.96-4.97 1.3-6.92-0.65-1.95-0.98-4.11-0.94-4.87 0.04-0.75 0.58-2.97 0.51-3.39-0.07-0.41-0.24-2 0.14-3.28 0.4-1.33 0.73-1.85 0.95-2.4 0.21-0.55 0.39-0.86 0.46-1.34s0.07-1.37 0.07-1.37 0.58 1.06 0.73 1.44c0.14 0.38 0.14 1.5 0.14 1.5s0.11-1.12 0.98-1.67 1.88-1.13 2.13-1.44 0.33-0.51 0.33-0.51-0.08 1.92-0.62 2.67c-0.36 0.49-1.77 2.09-1.77 2.09s0.73-0.28 1.23-0.3c0.51-0.04 0.87 0 0.87 0s-0.62 0.48-1.41 1.64c-0.8 1.16-0.47 1.26-1.05 2.22s-1.05 1-1.78 1.58c-1.08 0.87-0.5 4.34-0.36 4.86 0.15 0.51 2.03 4.76 2.07 5.79 0.03 1.03 0.21 3.33-1.6 4.8-1.16 0.95-3.07 0.96-3.51 1.23-0.43 0.28-1.29 1.13-1.29 2.91 0 1.79 0.64 2.06 1.15 2.51 0.51 0.44 1.16 0.2 1.3 0.55 0.15 0.34 0.22 0.54 0.44 0.75 0.21 0.2 0.36 0.44 0.29 0.82-0.08 0.38-0.91 1.23-1.2 1.85-0.29 0.61-0.87 2.23-0.87 2.47s-0.07 0.99 0.18 1.37c0 0 0.91 1.06 0.29 1.26-0.4 0.14-0.78-0.25-0.97-0.2-0.54 0.14-0.83 0.47-0.98 0.45-0.36-0.07-0.36-0.25-0.4-0.76-0.03-0.51-0.01-0.72-0.17-0.72-0.22 0-0.33 0.18-0.37 0.45s-0.04 0.89-0.29 0.89-0.61-0.45-0.83-0.55-0.83-0.2-0.87-0.48c-0.03-0.27 0.36-0.85 0.76-0.96 0.4-0.1 0.76-0.3 0.51-0.51-0.26-0.2-0.51-0.2-0.76 0-0.25 0.21-0.79 0.04-0.76-0.27 0.04-0.31 0.11-0.69 0.07-0.86-0.03-0.17-0.47-0.51 0.1-0.82 0.59-0.31 0.84 0.27 1.42 0.17s0.86-0.31 1.08-0.65 0.18-1.06-0.22-1.5c-0.39-0.45-0.79-0.52-0.94-0.8-0.14-0.27-0.36-0.92-0.36-0.92s0.11 1.2 0.04 1.37-0.04 0.89-0.04 0.89-0.39-0.45-0.72-0.79c-0.32-0.34-0.65-1.37-0.65-1.37s-0.03 0.96-0.03 1.34c0 0.37 0.43 0.72 0.29 0.86-0.15 0.13-0.83-0.72-1.02-0.86-0.18-0.14-0.76-0.58-1.01-1.06s-0.44-1.16-0.51-1.41c-0.07-0.24-0.19-1.31-0.07-1.58 0.18-0.4 0.47-1.13 0.47-1.13h-1.41c-0.76 0-1.3-0.23-1.59 0.28s-0.15 1.54 0.21 2.88c0.37 1.33 0.58 1.98 0.48 2.22-0.11 0.24-0.58 0.79-0.76 0.89-0.19 0.11-0.69 0.07-0.91-0.03-0.21-0.1-0.57-0.27-1.26-0.27s-1.12 0.03-1.37-0.03c-0.26-0.07-0.88-0.38-1.17-0.31s-0.79 0.32-0.65 0.72c0.22 0.61-0.21 0.75-0.51 0.72-0.29-0.04-0.53-0.14-0.9-0.24-0.36-0.11-0.9 0-0.83-0.42 0.07-0.41 0.22-0.44 0.4-0.74 0.18-0.32 0.25-0.52 0.04-0.54-0.25-0.02-0.51-0.05-0.7 0.11-0.2 0.16-0.51 0.51-0.76 0.38-0.26-0.14-0.46-0.43-0.46-1.08 0-0.64-0.68-1.2-0.05-1.17 0.62 0.03 1.41 0.48 1.55 0.13s0.06-0.51-0.28-0.78-0.76-0.43-0.31-0.77c0.45-0.35 0.56-0.35 0.74-0.54 0.17-0.18 0.41-0.79 0.73-0.64 0.62 0.3 0.02 0.73 0.65 1.42 0.62 0.69 1.01 0.94 2.06 0.83 1.04-0.11 1.33-0.24 1.33-0.54 0-0.29-0.09-0.82-0.12-1.04-0.02-0.21 0.15-0.99 0.15-0.99s-0.48 0.3-0.63 0.59c-0.13 0.29-0.42 0.8-0.42 0.8s-0.11-0.6-0.08-1.09c0.02-0.29 0.12-0.79 0.11-0.89-0.03-0.27-0.23-0.94-0.23-0.94s-0.16 0.73-0.28 0.94c-0.11 0.21-0.16 1.07-0.16 1.07s-0.67-0.58-0.48-1.55c0.13-0.75-0.12-1.74 0.11-2.06 0.22-0.33 0.75-1.64 2.06-1.69 1.3-0.05 2.31 0.05 2.77 0.03 0.45-0.03 2.06-0.33 2.06-0.33s-2.97-1.52-3.64-1.98c-0.68-0.45-1.73-1.63-2.07-2.16-0.34-0.54-0.65-1.58-0.65-1.58s-0.53 0.02-1.02 0.29c-0.48 0.27-0.96 0.67-1.24 0.99s-0.73 1.05-0.73 1.05 0.08-0.94 0.08-1.23-0.06-0.86-0.06-0.86-0.33 1.28-1.01 1.76c-0.68 0.49-1.47 1.15-1.47 1.15s0.08-0.71 0.08-0.88c0-0.16 0.17-0.99 0.17-0.99s-0.48 0.72-1.21 0.86c-0.74 0.13-1.81 0.11-1.9 0.56-0.08 0.45 0.2 1.07 0.03 1.39s-0.54 0.54-0.54 0.54-0.42-0.35-0.79-0.38c-0.36-0.03-0.71 0.16-0.71 0.16s-0.31-0.4-0.19-0.67c0.11-0.26 0.67-0.66 0.54-0.83-0.15-0.16-0.6 0.06-0.88 0.19-0.28 0.14-0.88 0.27-0.82-0.19 0.05-0.45 0.2-0.72 0.05-1.04-0.14-0.32-0.05-0.53 0.18-0.61 0.22-0.08 1.12 0.02 1.21-0.19 0.08-0.21-0.22-0.48-0.82-0.61-0.59-0.14-0.88-0.49-0.57-0.78 0.32-0.3 0.4-0.38 0.54-0.64 0.14-0.27 0.2-0.76 0.74-0.51 0.53 0.24 0.42 0.83 0.99 1.01 0.56 0.19 1.89-0.08 2.17-0.24s1.19-0.83 1.5-0.99c0.31-0.15 1.61-1.12 1.61-1.12s-0.76-0.53-1.05-0.8c-0.28-0.27-0.78-0.91-1.04-1.05-0.25-0.13-1.5-0.61-1.92-0.64-0.42-0.02-1.72-0.48-1.72-0.48s0.59-0.19 0.79-0.35c0.19-0.16 0.64-0.56 0.87-0.53 0.22 0.02 0.28 0.02 0.28 0.02s-1.21-0.05-1.47-0.13c-0.25-0.08-0.99-0.54-1.27-0.54s-0.84 0.11-0.84 0.11 0.76-0.48 1.38-0.59c0.62-0.1 1.1-0.08 1.1-0.08s-0.96-0.27-1.19-0.58c-0.22-0.33-0.45-0.8-0.62-1.02-0.17-0.21-0.28-0.56-0.59-0.59s-0.85 0.38-1.16 0.35-0.54-0.22-0.57-0.67c-0.02-0.46 0-0.3-0.1-0.54-0.12-0.24-0.57-0.8-0.15-0.93 0.43-0.14 1.33 0.08 1.42-0.08 0.08-0.16-0.48-0.65-0.85-0.83-0.37-0.19-0.96-0.51-0.65-0.78 0.31-0.26 0.62-0.37 0.79-0.61s0.37-0.91 0.74-0.7c0.36 0.21 0.87 1.26 1.16 1.18 0.28-0.08 0.3-0.83 0.25-1.15-0.06-0.32 0-0.88 0.28-0.83s0.51 0.43 0.96 0.46c0.45 0.02 1.13-0.11 1.07 0.21-0.05 0.32-0.31 0.71-0.62 1.06-0.3 0.36-0.45 1.05-0.25 1.5 0.2 0.46 0.71 1.19 1.16 1.48s1.3 0.51 1.84 0.85c0.53 0.35 1.78 1.34 2.2 1.45s0.85 0.32 0.85 0.32 0.48-0.21 1.13-0.21 2.14 0.1 2.71-0.14 1.3-0.64 1.08-1.15c-0.23-0.51-1.47-0.96-1.36-1.36s0.57-0.43 1.33-0.46c0.76-0.02 1.8 0.14 2-0.94 0.2-1.06 0.26-1.68-0.81-1.92-1.08-0.24-1.87-0.27-2.07-1.04-0.2-0.78-0.39-0.97-0.17-1.18 0.23-0.21 0.62-0.32 1.41-0.37 0.8-0.06 1.7-0.06 1.96-0.25 0.25-0.18 0.3-0.69 0.61-0.91 0.31-0.21 1.53-0.4 1.53-0.4s1.46 0.71 2.8 1.71c1.21 0.9 2.3 2.23 2.3 2.23"}),a.createElement("path",{d:"m269 243.39s-0.8 0.23-1.1 0.67c-0.37 0.53-0.34 1.07-0.34 1.07s0.68-0.56 1.56-0.33c0.87 0.24 0.96 0.33 1.33 0.3s1.27-0.35 1.27-0.35-0.74 0.86-0.65 1.45c0.08 0.58 0.19 0.85 0.17 1.15-0.06 0.72-0.6 1.61-0.6 1.61s0.31-0.19 1.05-0.35c0.73-0.16 1.36-0.51 1.75-0.81 0.39-0.29 0.9-1.02 0.9-1.02s-0.16 1 0 1.42c0.17 0.44 0.23 1.67 0.23 1.67s0.47-0.42 0.85-0.62c0.19-0.11 0.7-0.38 0.9-0.7 0.14-0.22 0.32-1.06 0.32-1.06s0.11 0.9 0.39 1.34c0.28 0.42 0.7 1.74 0.7 1.74s0.29-0.86 0.6-1.21 0.68-0.8 0.7-1.07c0.03-0.27-0.08-0.85-0.08-0.85l0.39 0.85m-11.41 0.61s0.48-0.83 0.93-1.1c0.46-0.26 1.08-0.74 1.25-0.8 0.16-0.05 0.9-0.46 0.9-0.46m0.99 5.17s1.09-0.55 1.41-0.75c0.68-0.4 1.16-1.12 1.16-1.12"}),a.createElement("path",{fill:"none",strokeWidth:.26,d:"m282.57 240.9s-0.34-0.48-0.42-0.65c-0.09-0.15-0.23-0.48-0.23-0.48"}),a.createElement("path",{fill:"none",d:"m278.33 257.41s2.04 1.26 1.98 2.31c-0.06 1.04-1.13 2.41-1.13 2.41"})),a.createElement("path",{fill:"#000",strokeWidth:.26,d:"m273.05 236.24s-0.17-0.48-0.2-0.62c-0.03-0.13-0.12-0.29-0.12-0.29s0.88 0 0.85 0.27c-0.02 0.27-0.28 0.27-0.34 0.37-0.05 0.11-0.19 0.27-0.19 0.27z"}),a.createElement("path",{fill:"#000",strokeWidth:.05,d:"m277.06 234.85l-0.06-0.43s0.77 0 1.13 0.26c0.57 0.4 0.93 1.02 0.91 1.05-0.1 0.09-0.54-0.27-0.85-0.37 0 0-0.23 0.05-0.45 0.05-0.23 0-0.34-0.11-0.37-0.21-0.03-0.12 0.03-0.3 0.03-0.3l-0.34-0.05z"}),a.createElement("g",{fill:"#000",strokeWidth:.26},a.createElement("path",{d:"m273.08 240.14l0.33-0.53 0.34 0.49-0.67 0.04"}),a.createElement("path",{d:"m273.89 240.12l0.4-0.53 0.43 0.48-0.83 0.05"}),a.createElement("path",{d:"m273.53 236.83l0.82 0.29-0.74 0.38-0.08-0.67"}),a.createElement("path",{d:"m274.52 237.1l0.73 0.18-0.59 0.46-0.14-0.64"})),a.createElement("g",{fill:"#db4446",strokeWidth:.39},a.createElement("path",{d:"m261.88 236.08s0.48 0.34 0.85 0.4c0.37 0.05 0.76 0.05 0.82 0.05 0.05 0 0.17-0.54 0.11-0.91-0.2-1.2-1.3-1.47-1.3-1.47s0.33 0.73 0.17 1.07c-0.23 0.48-0.65 0.86-0.65 0.86z"}),a.createElement("path",{d:"m259.59 237.12s-0.43-0.77-1.33-0.67c-0.9 0.11-1.5 0.81-1.5 0.81s1-0.03 1.25 0.13c0.37 0.24 0.48 0.86 0.48 0.86s0.54-0.32 0.71-0.54c0.16-0.21 0.39-0.59 0.39-0.59z"}),a.createElement("path",{d:"m258.49 240.25s-0.77 0.11-1.19 0.59c-0.43 0.49-0.36 1.4-0.36 1.4s0.5-0.54 0.95-0.54c0.46 0 1.16 0.16 1.16 0.16s-0.22-0.56-0.22-0.8-0.34-0.81-0.34-0.81z"}),a.createElement("path",{d:"m261.06 250.37s-0.42-0.45-1.16-0.32c-0.74 0.14-1.22 0.97-1.22 0.97s0.63-0.17 1-0.08c0.36 0.08 0.62 0.45 0.62 0.45s0.34-0.29 0.45-0.45 0.31-0.57 0.31-0.57z"}),a.createElement("path",{d:"m260.21 253.34s-0.62-0.1-1.16 0.33c-0.53 0.43-0.56 1.25-0.56 1.25s0.51-0.43 0.91-0.37c0.39 0.05 0.87 0.27 0.87 0.27s0.08-0.51 0.11-0.64c0.09-0.38-0.17-0.84-0.17-0.84z"}),a.createElement("path",{d:"m261.66 256.08s-0.05 0.79 0.33 1.28c0.4 0.51 1.13 0.59 1.13 0.59s-0.24-0.53-0.28-0.8c-0.06-0.4 0.34-0.75 0.34-0.75s-0.37-0.38-0.73-0.38c-0.37 0-0.79 0.06-0.79 0.06z"}),a.createElement("path",{d:"m269 263.12s-0.51-0.64-1.21-0.62c-0.71 0.03-1.45 0.69-1.45 0.69s0.88-0.07 1.11 0.22c0.23 0.3 0.45 0.67 0.45 0.67s0.4-0.21 0.57-0.35c0.17-0.13 0.53-0.61 0.53-0.61z"}),a.createElement("path",{d:"m266.83 265.93s-0.93-0.14-1.39 0.35c-0.45 0.48-0.42 1.36-0.42 1.36s0.56-0.61 1.07-0.56 1.08 0.32 1.08 0.32-0.09-0.53-0.15-0.78c-0.05-0.24-0.19-0.69-0.19-0.69z"}),a.createElement("path",{d:"m268.84 268.9s-0.46 0.64-0.12 1.15 1.05 0.75 1.05 0.75-0.26-0.37-0.14-0.8c0.09-0.34 0.67-0.8 0.67-0.8l-1.46-0.3z"}),a.createElement("path",{d:"m281.24 270.11s-0.81-0.19-1.27 0.08c-0.45 0.26-0.82 1.39-0.82 1.39s0.74-0.62 1.28-0.54c0.53 0.08 0.93 0.3 0.93 0.3s0.08-0.46 0.02-0.78c-0.03-0.19-0.14-0.45-0.14-0.45z"}),a.createElement("path",{d:"m281.64 273.1s-0.62 0.64-0.4 1.18c0.23 0.54 0.62 1.1 0.62 1.1s-0.02-0.8 0.23-1.02c0.37-0.32 1.05-0.37 1.05-0.37s-0.54-0.48-0.71-0.54c-0.17-0.05-0.79-0.35-0.79-0.35z"}),a.createElement("path",{d:"m284.75 274.04s-0.31 0.78 0.28 1.28c0.59 0.52 1.11 0.57 1.11 0.57s-0.46-0.81-0.32-1.23c0.15-0.45 0.54-0.72 0.54-0.72s-0.74-0.25-0.85-0.22c-0.11 0.02-0.76 0.32-0.76 0.32z"})),a.createElement("g",{fill:"#c8b100",strokeWidth:.26},a.createElement("path",{d:"m282.88 232.71l-0.29 0.02c-0.01 0.03-0.14 0.24-0.26 0.35-0.26 0.25-0.65 0.28-0.86 0.07-0.11-0.11-0.16-0.26-0.14-0.41-0.17 0.09-0.35 0.09-0.51-0.01-0.26-0.15-0.32-0.5-0.14-0.79 0.03-0.06 0.06-0.14 0.11-0.18l-0.02-0.32-0.35 0.08-0.1 0.19c-0.22 0.25-0.54 0.31-0.7 0.17-0.08-0.07-0.14-0.26-0.13-0.27 0 0.01-0.09 0.09-0.17 0.11-0.54 0.13-0.75-1.05-0.77-1.35l-0.17 0.25s0.16 0.7 0.08 1.3c-0.08 0.59-0.29 1.19-0.29 1.19 0.74 0.19 1.86 0.8 2.97 1.65s1.98 1.78 2.34 2.42c0 0 0.58-0.32 1.18-0.51s1.36-0.2 1.36-0.2l0.22-0.21c-0.32 0.05-1.58 0.1-1.56-0.43 0-0.08 0.07-0.18 0.08-0.18-0.01 0.01-0.21-0.01-0.3-0.06-0.18-0.13-0.18-0.43 0.02-0.69l0.18-0.13 0.01-0.34-0.34 0.05c-0.03 0.04-0.11 0.09-0.15 0.13-0.27 0.23-0.65 0.25-0.86 0.03-0.13-0.12-0.17-0.29-0.11-0.46-0.16 0.04-0.32 0.03-0.45-0.05-0.26-0.15-0.31-0.52-0.11-0.8 0.09-0.14 0.28-0.31 0.31-0.32l-0.07-0.3h-0.01z"}),a.createElement("g",{fill:"#000",strokeWidth:.05},a.createElement("path",{d:"m280.63 233.4c0.05-0.07 0.15-0.06 0.23 0s0.1 0.16 0.06 0.21c-0.05 0.06-0.15 0.06-0.24-0.01-0.07-0.05-0.1-0.15-0.05-0.2z"}),a.createElement("path",{d:"m281.58 234.19l-0.33-0.25c-0.06-0.04-0.07-0.12-0.04-0.16 0.04-0.04 0.12-0.04 0.18 0l0.33 0.26 0.33 0.25c0.05 0.04 0.08 0.12 0.04 0.16s-0.12 0.04-0.18 0l-0.33-0.26"}),a.createElement("path",{d:"m279.84 233l-0.26-0.15c-0.07-0.04-0.1-0.12-0.07-0.17s0.11-0.06 0.17-0.02l0.26 0.16 0.26 0.15c0.06 0.03 0.09 0.11 0.07 0.16-0.03 0.05-0.11 0.06-0.17 0.02l-0.26-0.15"}),a.createElement("path",{d:"m278.8 232.29c0.05-0.06 0.16-0.06 0.24 0 0.08 0.07 0.1 0.16 0.05 0.22-0.05 0.05-0.15 0.05-0.23-0.01s-0.1-0.15-0.06-0.21z"}),a.createElement("path",{d:"m282.63 234.92c0.05-0.05 0.03-0.14-0.05-0.21-0.08-0.06-0.19-0.06-0.24 0-0.04 0.05-0.02 0.15 0.06 0.21s0.18 0.06 0.23 0z"}),a.createElement("path",{d:"m283.2 235.58l0.22 0.21c0.05 0.05 0.13 0.07 0.18 0.03 0.04-0.04 0.04-0.11-0.01-0.16l-0.21-0.21-0.22-0.21c-0.05-0.05-0.14-0.07-0.18-0.03-0.05 0.03-0.04 0.11 0.01 0.16l0.21 0.21"}),a.createElement("path",{d:"m284.15 236.39c0.05-0.06 0.03-0.15-0.05-0.21-0.08-0.07-0.18-0.07-0.23-0.01s-0.03 0.15 0.05 0.22c0.08 0.05 0.18 0.06 0.23 0z"})),a.createElement("path",{d:"m281.4 230.36l-0.59 0.01-0.11 0.87 0.06 0.14 0.15-0.01 0.76-0.51-0.27-0.5"}),a.createElement("path",{d:"m281.4 230.36l-0.59 0.01-0.11 0.87 0.06 0.14 0.15-0.01 0.76-0.51-0.27-0.5"}),a.createElement("path",{d:"m279.8 230.84l-0.02 0.54 0.92 0.12 0.15-0.07-0.02-0.15-0.53-0.71-0.5 0.27"}),a.createElement("path",{d:"m281.7 231.92l-0.49 0.27-0.54-0.71-0.01-0.15 0.14-0.06 0.93 0.11-0.03 0.54"}),a.createElement("path",{d:"m280.51 231.25c0.08-0.13 0.26-0.17 0.39-0.09 0.14 0.07 0.18 0.24 0.1 0.37s-0.26 0.17-0.39 0.09c-0.14-0.08-0.18-0.24-0.1-0.37z"}),a.createElement("path",{d:"m278.36 230.35c-0.02 0.01-0.13-0.46-0.26-0.71-0.08-0.19-0.39-0.43-0.39-0.43 0.03-0.05 0.42-0.19 0.87 0.09 0.38 0.31-0.03 0.87-0.03 0.87s-0.09 0.14-0.19 0.18z"}),a.createElement("path",{d:"m279.39 230.66l-0.42 0.37-0.68-0.6 0.06-0.08 0.03-0.15 0.92-0.07 0.09 0.53"}),a.createElement("path",{d:"m278.24 230.29c0.05-0.15 0.18-0.23 0.28-0.2 0.11 0.04 0.15 0.18 0.1 0.33s-0.18 0.23-0.29 0.2c-0.11-0.04-0.15-0.18-0.09-0.33z"}),a.createElement("path",{d:"m283.67 231.77l-0.59-0.06-0.25 0.85 0.05 0.14 0.15 0.01 0.83-0.41-0.19-0.53"}),a.createElement("path",{d:"m282.01 232.03l-0.1 0.54 0.9 0.23 0.15-0.04 0.01-0.14-0.43-0.79-0.53 0.2"}),a.createElement("path",{d:"m283.73 233.36l-0.53 0.2-0.42-0.78 0.01-0.15 0.15-0.03 0.89 0.23-0.1 0.53"}),a.createElement("path",{d:"m282.65 232.54c0.1-0.12 0.28-0.13 0.4-0.04 0.13 0.09 0.15 0.26 0.05 0.38s-0.28 0.13-0.41 0.04c-0.12-0.09-0.14-0.26-0.04-0.38z"}),a.createElement("path",{d:"m285.64 233.61l0.11 0.55-0.87 0.3-0.16-0.04-0.01-0.14 0.36-0.81 0.57 0.14"}),a.createElement("path",{d:"m285.49 235.2l-0.56 0.13-0.31-0.83 0.04-0.15 0.15-0.02 0.85 0.35-0.17 0.52"}),a.createElement("path",{d:"m283.97 233.66l-0.18 0.52 0.85 0.34 0.16-0.02 0.03-0.14-0.3-0.83-0.56 0.13"}),a.createElement("path",{d:"m284.91 234.63c0.12-0.11 0.12-0.28 0.02-0.39-0.11-0.11-0.29-0.11-0.41-0.02-0.11 0.11-0.12 0.28-0.01 0.39 0.1 0.11 0.29 0.12 0.4 0.02z"}),a.createElement("path",{d:"m286.29 236.43c0 0.01 0.5 0.03 0.79 0.09 0.2 0.04 0.52 0.27 0.52 0.27 0.06-0.04 0.12-0.42-0.28-0.79-0.39-0.28-0.88 0.22-0.88 0.22s-0.12 0.12-0.15 0.21z"}),a.createElement("path",{d:"m285.75 235.54l-0.29 0.46 0.76 0.51 0.09-0.08 0.13-0.04-0.12-0.88-0.57 0.03"}),a.createElement("path",{d:"m286.37 236.53c0.14-0.07 0.21-0.22 0.15-0.31s-0.22-0.1-0.36-0.02-0.2 0.22-0.14 0.31c0.05 0.09 0.21 0.1 0.35 0.02z"}))),a.createElement("g",{id:"inescutcheon",strokeWidth:.61},a.createElement("ellipse",{fill:"#ad1519",cx:250.43,cy:281.01,rx:16.26,ry:18.3}),a.createElement("ellipse",{fill:"#005bbf",cx:250.44,cy:280.97,rx:11.44,ry:13.42}),a.createElement("g",{id:"fdl",fill:"#c8b100",strokeWidth:.34},a.createElement("path",{strokeLinejoin:"round",d:"m245.03 271.74s-1.35 1.48-1.35 2.86c0 1.39 0.57 2.54 0.57 2.54-0.21-0.55-0.76-0.94-1.41-0.94-0.83 0-1.5 0.63-1.5 1.42 0 0.22 0.14 0.58 0.24 0.77l0.49 0.99c0.16-0.37 0.54-0.57 0.98-0.57 0.59 0 1.08 0.45 1.08 1.01 0 0.09-0.01 0.17-0.04 0.25l-1.22 0.01v1.03h1.09l-0.81 1.61 1.07-0.42 0.81 0.91 0.84-0.91 1.07 0.42-0.8-1.61h1.08v-1.03l-1.22-0.01c-0.02-0.08-0.02-0.16-0.02-0.25 0-0.56 0.47-1.01 1.06-1.01 0.44 0 0.82 0.2 0.98 0.57l0.49-0.99c0.1-0.19 0.24-0.55 0.24-0.77 0-0.79-0.67-1.42-1.49-1.42-0.66 0-1.21 0.39-1.41 0.94 0 0 0.57-1.15 0.57-2.54 0-1.38-1.39-2.86-1.39-2.86z"}),a.createElement("path",{d:"m242.87 281.11h4.36v-1.03h-4.36v1.03z"})),a.createElement("use",{xlinkHref:"#fdl",x:10.63}),a.createElement("use",{xlinkHref:"#fdl",x:5.31,y:9.14}))))))}var yn=a.forwardRef(Sn),An=(n.p,n(415),Object(a.forwardRef)((function(e,t){var n=Object(a.useContext)($).doingAjax,r=Object(a.useContext)(X),i=r.userSettings,c=r.updateUserSettings,o=Object(a.useState)((null===i||void 0===i?void 0:i.LanguagePreference)?i.LanguagePreference:O.language),s=Object(d.a)(o,2),l=s[0],p=s[1],h=Object(a.useState)(!1),m=Object(d.a)(h,2),j=m[0],v=m[1];Object(a.useEffect)((function(){e.changeCallback||null!==l&&O.changeLanguage(l)}),[l,e.changeCallback]),Object(a.useEffect)((function(){e.value&&p(e.value)}),[e.value]),Object(a.useEffect)((function(){(null===i||void 0===i?void 0:i.LanguagePreference)&&p(i.LanguagePreference)}),[i.Retrieved,i.LanguagePreference]);var f=[{value:"en-US",label:"English",image:fn},{value:"es-US",label:"Espa\xf1ol",image:yn}];return Object(ee.jsxs)("div",{className:"language-selector-container",children:[Object(ee.jsx)("div",{id:"language-selector-label",children:Object(b.b)("UserSettings.LanguagePref")}),e.showDataPlaceholder?Object(ee.jsx)(et,{}):Object(ee.jsx)(_e.a,{value:f.find((function(e){return e.value===l})),"aria-labelledby":"language-selector-label",ref:t,options:f,onChange:function(t){p(t.value),e.changeCallback?e.changeCallback(t.value):(c((function(e){return Object.assign(e,{LanguagePreference:t.value})})),i.Retrieved&&(v(!0),u.a.patch("ShipyardAPI","/usersettings",{body:{LanguagePreference:t.value}}).then((function(e){v(!1),Z.b.success(Object(b.b)("LanguageSelector.LanguageChanged"))})).catch((function(e){v(!1),Z.b.error(Object(b.b)("General.AjaxError"))}))))},className:"language-selector",classNamePrefix:"language-select",isSearchable:!1,isDisabled:e.disabled|(n||(j||!1)),menuPlacement:"auto",formatOptionLabel:function(e){return Object(ee.jsxs)("div",{className:"option-container option-container-"+e.value,children:[Object(ee.jsx)("span",{className:"language-selector-icon",children:Object(ee.jsx)(e.image,{height:"2rem"})}),Object(ee.jsx)("span",{children:" - "}),Object(ee.jsx)("span",{className:"language-selector-text",children:e.label})]})},components:{IndicatorSeparator:function(){return null}}})]})})));An.displayName="LanguageSelector";var wn=An,Cn=(n(416),["blue","pink","orange","green"]);function En(e){var t=Object(a.useContext)(X).userSettings,n=Object(a.useState)("string"===typeof(null===e||void 0===e?void 0:e.color)&&Cn.includes(e.color)?e.color+"-tile":"default"),r=Object(d.a)(n,1)[0],i=Object(a.useState)("string"===typeof(null===e||void 0===e?void 0:e.title)?e.title:null),c=Object(d.a)(i,1)[0],o=Object(a.useState)("number"===typeof(null===e||void 0===e?void 0:e.count)?e.count.toLocaleString((null===t||void 0===t?void 0:t.LanguagePreference)?t.LanguagePreference:"en-US"):0),s=Object(d.a)(o,1)[0];return Object(ee.jsx)("div",{className:"tile-container",children:Object(ee.jsxs)("div",{className:(e.className?e.className+" tile":"tile")+" "+r,children:[Object(ee.jsx)("div",{className:"tile-count-display",children:s}),Object(ee.jsx)("div",{className:"tile-title-display",children:c})]})})}n(417),n(418);function Ln(e){return e.children}function Nn(e){var t=Object(a.useState)("number"===typeof(null===e||void 0===e?void 0:e.defaultTab)?e.defaultTab:0),n=Object(d.a)(t,2),r=n[0],i=n[1],c=a.Children.toArray(e.children);a.Children.map(c,(function(e){if(e.type.name!==Ln.name)throw Error('"'.concat(e.type.name,'" is not a valid child of TabContainer.'))}));var o=function(e,t){var n=[];return n.push("tab-control-selector"),r===t&&n.push("selected-tab"),e.props.disabled&&n.push("disabled"),n.join(" ")};return Object(ee.jsxs)("div",{className:"tab-control",children:[Object(ee.jsx)("div",{className:"tab-control-selector-row",role:"tablist",children:c.map((function(t,n){return Object(ee.jsx)("div",{className:o(t,n),onClick:function(){var t;t=n,a.Children.toArray(e.children)[t].props.disabled||i(t)},"aria-selected":n===r,role:"tab",children:t.props.title?t.props.title:""},"tab-key-"+n)}))}),Object(ee.jsx)("div",{className:"tab-control-content",role:"tabpanel",children:c[r]})]})}n(419);function In(e){var t,n,r=Object(a.useState)((null===e||void 0===e||null===(t=e.actions)||void 0===t?void 0:t.length)>0?e.actions:null),i=Object(d.a)(r,2),c=i[0],o=i[1];return Object(a.useEffect)((function(){o((function(t){var n;return(null===e||void 0===e||null===(n=e.actions)||void 0===n?void 0:n.length)>0?e.actions:t}))}),[e.actions]),Object(ee.jsx)("div",{className:(null===e||void 0===e||null===(n=e.classes)||void 0===n?void 0:n.length)>0?[].concat(Object(q.a)(e.classes),["menu-button-container"]).join(" "):"menu-button-container",children:Object(ee.jsx)(_e.a,{classNamePrefix:"menu-button-select",isSearchable:!1,menuPlacement:"auto",options:c,placeholder:Object(ee.jsx)("span",{children:e.children}),value:null,formatOptionLabel:function(e){return Object(ee.jsx)("div",{className:"menu-button-select__option",onClick:function(){"function"===typeof e.action&&e.action(Object(b.b)(e.labelKey))},children:Object(ee.jsx)("span",{children:Object(b.b)(e.labelKey)})})}})})}var Tn=function(){var e=Object(Q.a)(),t=Object(d.a)(e,1)[0],n=Object(a.useContext)(X).userSettings,r=Object(a.useState)(!0),i=Object(d.a)(r,2),c=i[0],o=i[1],u=Object(a.useState)(null),p=Object(d.a)(u,2),b=p[0],h=p[1],m=Object(a.useState)(),j=Object(d.a)(m,2),v=j[0],f=j[1],O=Object(a.useState)(),g=Object(d.a)(O,2),x=g[0],S=g[1],y=Object(a.useState)(null),A=Object(d.a)(y,2),w=A[0],C=A[1];Object(a.useEffect)((function(){Object(l.a)(s.a.mark((function e(){var t,n,a,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Object(ee.jsx)("span",{className:"blue circle"}),n=Object(ee.jsx)("span",{className:"purple circle"}),a=Object(ee.jsx)("span",{className:"pink circle"}),null!==b){e.next=10;break}return e.next=6,_.a.get("ShipyardAPI","/dashboard");case 6:r=e.sent,h(r),S([{colLabel:"STN",colName:"studentNumber",sortFunc:function(e){return e?function(e,t){return t.studentNumber-e.studentNumber}:function(e,t){return e.studentNumber-t.studentNumber}},filterOn:!1},{colLabel:"Student",colName:"name",sortFunc:function(e){return e?function(e,t){return t.name0?Object(ee.jsx)(ze,{title:"Enrollment History",name:"enrollment-change-grid",className:"enrollment-change-grid",headers:B,data:I,filters:!1,pageSize:100,search:!1,hoverable:!0,counter:!1}):S?null:Object(ee.jsx)("p",{children:Object(b.b)("General.NoResults")})}),[v,S,B,I]),Q=Object(a.useMemo)((function(){return Object(ee.jsx)("div",{className:"enrollment-change-view-title",children:S?"".concat(Object(b.b)("General.Loading"),"..."):Object(b.b)("EnrollmentChange.Title",{ApplicantName:k,UniqueID:U})})}),[k,U,S]);return Object(a.useEffect)((function(){if(v&&"function"===typeof(null===C||void 0===C?void 0:C.map)){T({rows:C.map((function(e){for(var t,n={},a=0,r=Object.entries(e);a=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function _n(e,t){var n=e.title,r=e.titleId,i=qn(e,Bn);return a.createElement("svg",Vn({className:"right-arrow",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512",style:{enableBackground:"new 0 0 512 512"},xmlSpace:"preserve",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Un||(Un=a.createElement("g",null,a.createElement("g",null,a.createElement("path",{d:"M506.134,241.843c-0.006-0.006-0.011-0.013-0.018-0.019l-104.504-104c-7.829-7.791-20.492-7.762-28.285,0.068 c-7.792,7.829-7.762,20.492,0.067,28.284L443.558,236H20c-11.046,0-20,8.954-20,20c0,11.046,8.954,20,20,20h423.557 l-70.162,69.824c-7.829,7.792-7.859,20.455-0.067,28.284c7.793,7.831,20.457,7.858,28.285,0.068l104.504-104 c0.006-0.006,0.011-0.013,0.018-0.019C513.968,262.339,513.943,249.635,506.134,241.843z"})))))}var zn=a.forwardRef(_n);n.p;var Wn=function(e){var t=e.action,n=e.disabled;return"undefined"===typeof n&&(n=!1),Object(ee.jsxs)("button",{type:"submit",onClick:t,className:"next-button",disabled:n,children:[Object(ee.jsx)("span",{children:e.children}),Object(ee.jsx)(zn,{})]})},Kn=n(71),Zn=n(79),Qn=(n(424),Object(a.forwardRef)((function(e,t){var n=e.validatedObject,r=void 0===n?null:n,i=e.forceValidation,c=e.disabled,o=e.labelText,s=e.placeholder,l=e.type,u=e.autofocus,p=e.validators,b=e.initialValue,h=e.onChange,m=e.onBlur,j=e.autoComplete,v=e.showDataPlaceholder,f=e.formKey,O=e.required,g=e.formatter,x=Object(a.useContext)($).doingAjax;l||(l="text");var S=Object(a.useContext)(J),y=S.triggerValidation,A=S.validationFinished,w=Object(a.useState)(ae()),C=Object(d.a)(w,1)[0],E=Object(a.useState)("boolean"===typeof x?x:"boolean"===typeof(null===e||void 0===e?void 0:e.disabled)&&e.disabled),L=Object(d.a)(E,2),N=L[0],I=L[1],T=Object(a.useState)(!1),D=Object(d.a)(T,2),P=D[0],k=D[1],R=Object(a.useState)(""),F=Object(d.a)(R,2),G=F[0],U=F[1],M=Object(a.useState)(b?"function"===typeof g?g(b):b:""),H=Object(d.a)(M,2),B=H[0],V=H[1],q=Object(a.useState)(!0),_=Object(d.a)(q,2),K=_[0],Z=_[1],Q=Object(a.useState)("boolean"===typeof showDataPlaceHolder&&v),Y=Object(d.a)(Q,2),X=Y[0],te=Y[1],ne=Object(a.useState)(null!==r),re=Object(d.a)(ne,1)[0],ie=Object(a.useState)(j||null),ce=Object(d.a)(ie,1)[0],oe=Object(a.useState)("boolean"===typeof(null===e||void 0===e?void 0:e.masked)&&e.masked),se=Object(d.a)(oe,2),le=se[0],de=se[1],ue=Object(a.useState)("boolean"===typeof O&&O),pe=Object(d.a)(ue,2),be=pe[0],he=pe[1],me=Object(a.useMemo)((function(){return Object(ee.jsx)(z.a,{icon:le?W.l:W.k,onClick:function(){return de((function(e){return!e}))}})}),[le]),je=Object(a.useMemo)((function(){return Object(ee.jsx)("input",{type:le?"password":l,id:"input-"+C,ref:t,disabled:N,placeholder:s,value:re?r.value:B,onChange:function(e){if(k(!0),re?r.setValue(e.target.value):V(e.target.value),"function"===typeof h&&h(e.target.value),i)for(var t=0,n=re?r.validators.length:p.length;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ia(e,t){var n=e.title,r=e.titleId,i=ra(e,na);return a.createElement("svg",aa({width:"554px",height:"142px",viewBox:"0 0 554 142",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},i),void 0===n?a.createElement("title",{id:r},"PCG Scholar. Tuition just got easier."):n?a.createElement("title",{id:r},n):null,ea||(ea=a.createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(-97.000000, -49.000000)",fillRule:"nonzero"},a.createElement("g",{transform:"translate(289.450000, 126.490000)",fill:"#0B3777"},a.createElement("path",{d:"M6.09,18.15 C6.09,18.75 5.79,18.93 5.22,18.99 L3.63,19.08 L3.63,21.51 L12.09,21.51 L12.09,18.96 L9.72,18.87 L9.72,4.53 L11.76,4.53 C12.57,4.53 12.63,4.89 12.63,5.46 L12.63,6.87 L15.69,6.66 L15.69,1.56 L0,1.56 L0,6.66 L3.06,6.87 L3.06,5.46 C3.06,4.95 3.12,4.53 3.75,4.53 L6.09,4.53 L6.09,18.15 Z",id:"Path"}),a.createElement("path",{d:"M33.03,19.14 L31.98,19.05 C31.41,18.99 31.23,18.84 31.23,18.18 L31.23,6.42 L25.95,6.42 L25.95,8.88 L26.91,8.94 C27.48,8.97 27.66,9.18 27.66,9.84 L27.66,16.17 C27.66,17.73 26.55,19.14 24.45,19.14 C22.53,19.14 22.23,17.76 22.23,15.93 L22.23,6.42 L16.95,6.42 L16.95,8.88 L17.91,8.94 C18.42,8.97 18.66,9.15 18.66,9.78 L18.66,16.71 C18.66,20.25 20.31,21.9 23.31,21.9 C25.29,21.9 27.12,21.06 28.17,19.56 L28.17,21.51 L33.03,21.51 L33.03,19.14 Z",id:"Path"}),a.createElement("path",{d:"M40.29,6.42 L34.92,6.42 L34.92,8.91 L35.97,8.97 C36.54,8.97 36.72,9.18 36.72,9.84 L36.72,18.18 C36.72,18.9 36.39,19.08 35.85,19.14 L34.86,19.23 L34.86,21.51 L42,21.51 L42,19.11 L40.29,19.02 L40.29,6.42 Z M35.88,2.25 C35.88,3.51 36.78,4.44 38.16,4.44 C39.51,4.44 40.47,3.51 40.47,2.25 C40.47,0.99 39.51,0 38.19,0 C36.78,0 35.88,0.99 35.88,2.25 Z",id:"Shape"}),a.createElement("path",{d:"M47.07,3.24 C46.44,4.95 45.72,6.57 43.62,6.75 L43.32,8.94 L45.45,8.94 L45.45,16.95 C45.45,19.05 45.42,21.93 50.1,21.93 C51.51,21.93 53.01,21.51 53.91,20.88 L53.01,18.57 C52.53,18.87 51.78,19.2 50.97,19.2 C49.74,19.2 49.02,18.66 49.02,16.83 L49.02,8.94 L52.71,8.94 L53.01,6.42 L49.02,6.42 L49.02,3.24 L47.07,3.24 Z",id:"Path"}),a.createElement("path",{d:"M60.48,6.42 L55.11,6.42 L55.11,8.91 L56.16,8.97 C56.73,8.97 56.91,9.18 56.91,9.84 L56.91,18.18 C56.91,18.9 56.58,19.08 56.04,19.14 L55.05,19.23 L55.05,21.51 L62.19,21.51 L62.19,19.11 L60.48,19.02 L60.48,6.42 Z M56.07,2.25 C56.07,3.51 56.97,4.44 58.35,4.44 C59.7,4.44 60.66,3.51 60.66,2.25 C60.66,0.99 59.7,0 58.38,0 C56.97,0 56.07,0.99 56.07,2.25 Z",id:"Shape"}),a.createElement("path",{d:"M70.83,19.32 C67.95,19.32 67.56,16.32 67.56,13.53 C67.56,10.65 68.52,8.61 70.89,8.61 C73.29,8.61 74.1,10.68 74.1,14.04 C74.1,17.16 73.17,19.32 70.83,19.32 Z M63.93,13.95 C63.93,19.38 66.57,21.96 70.59,21.96 C74.55,21.96 77.76,19.32 77.76,13.56 C77.76,6.66 73.29,5.97 71.07,5.97 C67.98,5.97 63.93,7.71 63.93,13.95 Z",id:"Shape"}),a.createElement("path",{d:"M79.59,8.82 L80.85,8.91 C81.39,8.94 81.6,9.18 81.6,9.84 L81.6,18.15 C81.6,18.9 81.3,19.08 80.73,19.14 L79.74,19.23 L79.74,21.51 L86.88,21.51 L86.88,19.11 L85.17,19.02 L85.17,11.76 C85.17,10.2 86.28,8.73 88.26,8.73 C90.3,8.73 90.72,9.99 90.72,11.97 L90.72,18.15 C90.72,18.9 90.42,19.08 89.85,19.14 L88.86,19.23 L88.86,21.51 L96,21.51 L96,19.11 L94.29,19.02 L94.29,11.19 C94.29,7.65 92.52,5.97 89.52,5.97 C87.54,5.97 85.71,6.87 84.66,8.37 L84.66,6.42 L79.59,6.42 L79.59,8.82 Z",id:"Path"}),a.createElement("path",{d:"M109.02,6.42 L103.65,6.42 L103.65,8.91 L104.7,8.97 C105.27,9 105.45,9.18 105.45,9.84 L105.45,22.38 C105.45,24.36 104.82,25.02 103.68,25.02 C102.9,25.02 102.18,24.78 101.46,24.39 L100.38,26.88 C101.43,27.54 102.99,27.93 104.22,27.93 C108.48,27.93 109.02,25.11 109.02,22.23 L109.02,6.42 Z M104.61,2.25 C104.61,3.51 105.51,4.44 106.89,4.44 C108.24,4.44 109.2,3.51 109.2,2.25 C109.2,0.99 108.24,0 106.92,0 C105.51,0 104.61,0.99 104.61,2.25 Z",id:"Shape"}),a.createElement("path",{d:"M128.16,19.14 L127.11,19.05 C126.54,18.99 126.36,18.84 126.36,18.18 L126.36,6.42 L121.08,6.42 L121.08,8.88 L122.04,8.94 C122.61,8.97 122.79,9.18 122.79,9.84 L122.79,16.17 C122.79,17.73 121.68,19.14 119.58,19.14 C117.66,19.14 117.36,17.76 117.36,15.93 L117.36,6.42 L112.08,6.42 L112.08,8.88 L113.04,8.94 C113.55,8.97 113.79,9.15 113.79,9.78 L113.79,16.71 C113.79,20.25 115.44,21.9 118.44,21.9 C120.42,21.9 122.25,21.06 123.3,19.56 L123.3,21.51 L128.16,21.51 L128.16,19.14 Z",id:"Path"}),a.createElement("path",{d:"M137.85,8.7 C138.39,8.91 138.54,9.15 138.54,9.72 L138.54,10.98 L141.24,10.77 L141.24,7.17 C140.07,6.6 138.3,5.97 136.26,5.97 C133.11,5.97 130.47,7.62 130.47,10.74 C130.47,14.07 132.9,14.82 135.12,15.39 C136.74,15.81 138.06,16.08 138.06,17.52 C138.06,18.78 137.19,19.35 135.69,19.35 C134.97,19.35 134.28,19.26 133.71,19.05 C133.17,18.84 133.02,18.6 133.02,18.03 L133.02,16.59 L130.32,16.8 L130.32,20.97 C131.58,21.6 133.95,21.9 135.84,21.9 C139.05,21.9 141.63,20.22 141.63,17.1 C141.63,13.83 139.05,13.08 136.71,12.42 C135.3,12.03 133.86,11.61 133.86,10.23 C133.86,9.03 134.82,8.43 136.11,8.43 C136.83,8.43 137.28,8.49 137.85,8.7 Z",id:"Path"}),a.createElement("path",{d:"M146.85,3.24 C146.22,4.95 145.5,6.57 143.4,6.75 L143.1,8.94 L145.23,8.94 L145.23,16.95 C145.23,19.05 145.2,21.93 149.88,21.93 C151.29,21.93 152.79,21.51 153.69,20.88 L152.79,18.57 C152.31,18.87 151.56,19.2 150.75,19.2 C149.52,19.2 148.8,18.66 148.8,16.83 L148.8,8.94 L152.49,8.94 L152.79,6.42 L148.8,6.42 L148.8,3.24 L146.85,3.24 Z",id:"Path"}),a.createElement("path",{d:"M167.25,27.93 C171.75,27.93 173.82,25.89 174.18,21.48 C174.27,20.4 174.24,19.26 174.24,18.21 L174.24,7.08 C172.47,6.33 170.13,5.97 168.69,5.97 C164.16,5.97 160.89,8.52 160.89,13.95 C160.89,17.37 162.39,20.97 166.77,20.97 C168.24,20.97 169.74,20.49 170.76,19.29 L170.76,20.94 C170.76,23.46 170.04,25.35 167.28,25.35 C166.38,25.35 165.72,25.26 165.15,25.05 C164.61,24.84 164.46,24.54 164.46,23.97 L164.46,22.53 L161.61,22.77 L161.61,26.94 C162.87,27.57 165.36,27.93 167.25,27.93 Z M170.76,15.39 C170.76,17.22 169.38,18.33 167.7,18.33 C164.91,18.33 164.58,15.63 164.58,13.59 C164.58,10.56 165.87,8.58 168.36,8.58 C169.2,8.58 170.07,8.7 170.76,8.94 L170.76,15.39 Z",id:"Shape"}),a.createElement("path",{d:"M184.05,19.32 C181.17,19.32 180.78,16.32 180.78,13.53 C180.78,10.65 181.74,8.61 184.11,8.61 C186.51,8.61 187.32,10.68 187.32,14.04 C187.32,17.16 186.39,19.32 184.05,19.32 Z M177.15,13.95 C177.15,19.38 179.79,21.96 183.81,21.96 C187.77,21.96 190.98,19.32 190.98,13.56 C190.98,6.66 186.51,5.97 184.29,5.97 C181.2,5.97 177.15,7.71 177.15,13.95 Z",id:"Shape"}),a.createElement("path",{d:"M196.32,3.24 C195.69,4.95 194.97,6.57 192.87,6.75 L192.57,8.94 L194.7,8.94 L194.7,16.95 C194.7,19.05 194.67,21.93 199.35,21.93 C200.76,21.93 202.26,21.51 203.16,20.88 L202.26,18.57 C201.78,18.87 201.03,19.2 200.22,19.2 C198.99,19.2 198.27,18.66 198.27,16.83 L198.27,8.94 L201.96,8.94 L202.26,6.42 L198.27,6.42 L198.27,3.24 L196.32,3.24 Z",id:"Path"}),a.createElement("path",{d:"M217.83,5.97 C212.91,5.97 210.42,9.87 210.42,14.31 C210.42,18.78 212.4,21.9 217.5,21.9 C220.32,21.9 222.3,20.64 222.78,20.22 L221.64,17.79 C220.92,18.3 219.63,19.11 217.86,19.11 C215.31,19.11 214.29,17.52 214.17,15.57 C217.71,15.54 222.72,14.76 222.72,10.14 C222.72,7.47 220.77,5.97 217.83,5.97 Z M219.42,10.2 C219.42,12.51 216.27,13.02 214.05,13.05 C214.14,10.83 215.22,8.52 217.62,8.52 C218.7,8.52 219.42,9.09 219.42,10.2 Z",id:"Shape"}),a.createElement("path",{d:"M238.29,7.02 C236.13,6.21 233.94,5.97 232.95,5.97 C227.55,5.97 225.03,9.33 225.03,14.61 C225.03,18.9 226.8,21.9 231.03,21.9 C232.68,21.9 234.21,21.09 235.14,19.74 L235.23,19.77 L235.23,21.51 L240,21.51 L240,19.11 L239.04,19.05 C238.47,19.02 238.29,18.84 238.29,18.18 L238.29,7.02 Z M234.81,16.74 C234.81,18.03 233.67,19.35 231.81,19.35 C229.29,19.35 228.69,16.98 228.69,14.49 C228.69,11.25 229.65,8.58 232.5,8.58 C233.43,8.58 234.36,8.76 234.81,8.97 L234.81,16.74 Z",id:"Shape"}),a.createElement("path",{d:"M249.69,8.7 C250.23,8.91 250.38,9.15 250.38,9.72 L250.38,10.98 L253.08,10.77 L253.08,7.17 C251.91,6.6 250.14,5.97 248.1,5.97 C244.95,5.97 242.31,7.62 242.31,10.74 C242.31,14.07 244.74,14.82 246.96,15.39 C248.58,15.81 249.9,16.08 249.9,17.52 C249.9,18.78 249.03,19.35 247.53,19.35 C246.81,19.35 246.12,19.26 245.55,19.05 C245.01,18.84 244.86,18.6 244.86,18.03 L244.86,16.59 L242.16,16.8 L242.16,20.97 C243.42,21.6 245.79,21.9 247.68,21.9 C250.89,21.9 253.47,20.22 253.47,17.1 C253.47,13.83 250.89,13.08 248.55,12.42 C247.14,12.03 245.7,11.61 245.7,10.23 C245.7,9.03 246.66,8.43 247.95,8.43 C248.67,8.43 249.12,8.49 249.69,8.7 Z",id:"Path"}),a.createElement("path",{d:"M260.79,6.42 L255.42,6.42 L255.42,8.91 L256.47,8.97 C257.04,8.97 257.22,9.18 257.22,9.84 L257.22,18.18 C257.22,18.9 256.89,19.08 256.35,19.14 L255.36,19.23 L255.36,21.51 L262.5,21.51 L262.5,19.11 L260.79,19.02 L260.79,6.42 Z M256.38,2.25 C256.38,3.51 257.28,4.44 258.66,4.44 C260.01,4.44 260.97,3.51 260.97,2.25 C260.97,0.99 260.01,0 258.69,0 C257.28,0 256.38,0.99 256.38,2.25 Z",id:"Shape"}),a.createElement("path",{d:"M271.77,5.97 C266.85,5.97 264.36,9.87 264.36,14.31 C264.36,18.78 266.34,21.9 271.44,21.9 C274.26,21.9 276.24,20.64 276.72,20.22 L275.58,17.79 C274.86,18.3 273.57,19.11 271.8,19.11 C269.25,19.11 268.23,17.52 268.11,15.57 C271.65,15.54 276.66,14.76 276.66,10.14 C276.66,7.47 274.71,5.97 271.77,5.97 Z M273.36,10.2 C273.36,12.51 270.21,13.02 267.99,13.05 C268.08,10.83 269.16,8.52 271.56,8.52 C272.64,8.52 273.36,9.09 273.36,10.2 Z",id:"Shape"}),a.createElement("path",{d:"M280.62,18.15 C280.62,18.9 280.32,19.08 279.75,19.14 L278.76,19.23 L278.76,21.51 L286.8,21.51 L286.8,19.14 L284.19,19.02 L284.19,12.06 C284.19,10.32 285.3,9.03 286.92,9.03 C287.25,9.03 287.46,9.06 287.73,9.18 C287.97,9.3 288.03,9.57 288.03,9.93 L288.03,11.31 L290.82,11.1 L290.82,6.63 C289.83,6.15 288.93,5.97 287.94,5.97 C285.96,5.97 284.37,7.17 283.68,8.67 L283.68,6.42 L278.61,6.42 L278.61,8.85 L279.87,8.94 C280.44,8.97 280.62,9.18 280.62,9.84 L280.62,18.15 Z",id:"Path"}),a.createElement("path",{d:"M292.83,19.83 C292.83,21.09 293.58,21.96 295.08,21.96 C296.43,21.96 297.21,21 297.21,19.8 C297.21,18.54 296.4,17.67 294.96,17.67 C293.64,17.67 292.83,18.6 292.83,19.83 Z",id:"Path"})),a.createElement("path",{d:"M289.288703,104.023262 L289.288703,70.0232621 L302.778899,70.0232621 C309.501588,70.0232621 313.288703,74.7150049 313.288703,80.2694228 C313.288703,85.8238408 309.419421,90.5155835 302.778899,90.5155835 L293.471709,90.5155835 L293.471709,104.023262 L289.288703,104.023262 Z M301.792071,74.0232621 L293.288703,74.0232621 L293.288703,87.0232621 L301.792071,87.0232621 C305.632302,87.0232621 308.288703,84.3639986 308.288703,80.5194632 C308.288703,76.6749278 305.632302,74.0232621 301.792071,74.0232621 Z",id:"Shape",fill:"#0F428C"}),a.createElement("path",{d:"M318.952276,86.7565655 C318.952276,76.4574802 326.536758,69.4323257 336.030412,69.4323257 C341.167188,69.3012245 346.015502,71.8013118 348.887488,76.062222 L345.374911,78.0161397 C343.24447,74.9617285 339.754414,73.1428887 336.030412,73.1462609 C328.848645,73.1462609 323.270285,78.7693676 323.270285,86.7565655 C323.270285,94.7437635 328.848645,100.36687 336.030412,100.36687 C339.760071,100.393538 343.260325,98.5693834 345.374911,95.4969913 L348.909861,97.4583667 C346.098308,101.27671 342.078607,104.095721 336.000581,104.095721 C326.506927,104.088263 318.952276,97.0556509 318.952276,86.7565655 Z",id:"Path",fill:"#0F428C"}),a.createElement("path",{d:"M372.177889,69.4323257 C377.267059,69.3312647 382.099998,71.6604919 385.191578,75.7042524 L381.872901,77.7625779 C379.514982,74.8249994 375.944678,73.1249854 372.177889,73.1462609 C364.854427,73.1462609 359.276066,78.7693676 359.276066,86.7565655 C359.276066,94.7437635 364.854427,100.441447 372.177889,100.441447 C375.525823,100.418622 378.7403,99.1259008 381.171877,96.8244621 L381.171877,90.0006655 L369.664644,90.0006655 L369.664644,86.271815 L385.325816,86.271815 L385.325816,98.3607486 C381.980672,102.095327 377.191408,104.211513 372.177889,104.170298 C362.639489,104.170298 354.958057,97.1898895 354.958057,86.793854 C354.958057,76.3978186 362.639489,69.4323257 372.177889,69.4323257 Z",id:"Path",fill:"#0F428C"}),a.createElement("path",{d:"M406.612343,90.2866086 C409.524255,93.0586677 413.390704,94.6047134 417.411095,94.6046176 C419.320266,94.6046176 421.139945,93.9483399 421.139945,92.6432422 C421.139945,91.3381445 419.737897,90.6818668 416.41922,90.077793 C410.900521,89.078461 402.458404,87.7733633 402.458404,79.3834495 C402.458404,73.7081388 407.186586,68.5324942 416.374474,68.5324942 C421.848427,68.5324942 426.77051,70.0911538 430.588853,73.2084729 L425.167104,80.3902391 C422.461315,78.3611958 419.20208,77.2036861 415.822604,77.0715621 C413.309359,77.0715621 412.757489,77.9739439 412.757489,78.8315796 C412.757489,80.1366773 414.114791,80.591597 417.679572,81.1882131 C423.205728,82.1502566 431.394284,83.7536624 431.394284,91.4872985 C431.394284,98.8704227 425.912874,103.143685 416.926344,103.143685 C409.789324,103.143685 404.919445,101.033156 401.354664,97.8188868 L406.612343,90.2866086 Z",id:"Path",fill:"#0F428C"}),a.createElement("path",{d:"M434.966523,85.8119879 C434.966523,75.4681563 442.901517,68.487748 453.148399,68.487748 C462.187132,68.487748 466.572261,73.603731 468.615671,78.2275058 L459.875245,82.2994106 C458.898316,79.4150048 456.208429,77.4603535 453.163314,77.422074 C448.539539,77.422074 445.273066,81.1509246 445.273066,85.8119879 C445.273066,90.4730511 448.539539,94.2019017 453.163314,94.2019017 C456.20721,94.166953 458.897664,92.2148793 459.875245,89.3320228 L468.615671,93.3442661 C466.654296,97.8188868 462.187132,103.143685 453.148399,103.143685 C442.901517,103.143685 434.966523,96.1110732 434.966523,85.8119879 Z",id:"Path",fill:"#0F428C"}),a.createElement("polygon",{id:"Path",fill:"#0F428C",points:"496.007807 89.727281 484.008366 89.727281 484.008366 102.539612 473.858435 102.539612 473.858435 69.0321602 484.008366 69.0321602 484.008366 80.8899051 496.007807 80.8899051 496.007807 69.0321602 506.157739 69.0321602 506.157739 102.539612 496.007807 102.539612"}),a.createElement("path",{d:"M530.5,68 C540.939178,68 549,75.0948999 549,85.4962341 C549,95.8975683 540.969284,103 530.5,103 C520.030716,103 512,95.8975683 512,85.4962341 C512,75.0948999 520.090928,68 530.5,68 Z M529.996288,77.0150977 C525.148028,77.0150977 522,80.7895204 522,85.5075488 C522,90.2255773 525.148028,94 529.996288,94 C534.844548,94 538,90.2255773 538,85.5075488 C538,80.7895204 534.874246,77 529.996288,77 L529.996288,77.0150977 Z",id:"Shape",fill:"#0F428C"}),a.createElement("polygon",{id:"Path",fill:"#0F428C",points:"554.222623 69.0321602 564.365097 69.0321602 564.365097 93.694778 577.043189 93.694778 577.043189 102.539612 554.222623 102.539612"}),a.createElement("path",{d:"M604.804058,98.6185177 L592.14442,98.6185177 L590.856376,103 L580,103 L592.195942,69 L604.804058,69 L617,103 L606.128904,103 L604.804058,98.6185177 Z M594,90 L602,90 L597.99609,78 L594,90 Z",id:"Shape",fill:"#0F428C"}),a.createElement("path",{d:"M634.803132,92.0954819 L631.141685,92.0954819 L631.141685,103 L621,103 L621,69 L638.897092,69 C646.734526,69 650.9478,74.2971289 650.9478,80.6763855 C650.9478,86.5334966 647.584638,89.6436679 644.929903,90.9679501 L651,103 L639.426547,103 L634.803132,92.0954819 Z M636.853888,77 L631,77 L631,83 L636.853888,83 C638.472899,83 640,81.8730964 640,79.9543147 C640,78.035533 638.472899,77 636.853888,77 L636.853888,77 Z",id:"Shape",fill:"#0F428C"}),a.createElement("path",{d:"M253.165112,77.1828813 L187.470222,50.6707536 C184.817579,49.5705779 181.974423,49.0029604 179.102682,49 C176.234193,48.9869179 173.392772,49.5552021 170.750056,50.6707536 L104.376516,77.4215278 C99.876754,79.2022941 96.942686,83.5752124 97,88.4141793 L97,136.143467 C96.9707988,140.982861 99.9101253,145.34597 104.406347,147.136118 L169.072074,173.170953 C172.046075,174.41726 175.244451,175.039166 178.468777,174.99809 C181.733555,175.027151 184.970476,174.395495 187.984804,173.141123 L212.438606,163.296957 C211.649005,162.267409 211.135584,161.053169 210.947066,159.769464 L186.493264,169.643461 C181.35199,171.661748 175.637768,171.661748 170.496494,169.643461 L105.830767,143.541507 C102.797169,142.336136 100.807426,139.400304 100.811735,136.136009 L100.811735,88.4067216 C100.838934,85.1395984 102.814331,82.2043869 105.830767,80.9490204 L172.174477,54.1758732 C174.376695,53.2865855 176.72772,52.8234663 179.102682,52.8111138 C181.476996,52.8298785 183.826835,53.2927639 186.030886,54.1758732 L251.725776,80.6880009 C254.736049,81.95215 256.710118,84.8810369 256.752266,88.1457021 L256.752266,135.87499 C256.753284,139.140495 254.760944,142.075797 251.725776,143.280487 L226.429253,153.512453 L224.609574,154.258223 C225.375421,155.311888 225.858157,156.544405 226.011622,157.83792 C226.011622,157.83792 226.011622,157.83792 226.011622,157.83792 L226.488915,157.636562 L253.165112,146.867641 C257.658583,145.074083 260.596467,140.713116 260.570989,135.87499 L260.570989,88.1457021 C260.609438,83.3107894 257.66495,78.9518789 253.165112,77.1828813 Z",id:"Path",fill:"#0F428C"}),a.createElement("path",{d:"M246.311485,100.920744 L223.781769,109.534389 L223.707192,109.534389 L222.506503,108.900484 L196.307598,95.8420497 L186.73191,91.6060754 C184.897315,90.718609 180.474899,90.569455 179.438278,92.2325223 L187.164457,96.058323 L217.666455,111.189999 L218.143747,111.428645 L219.732238,112.226619 L220.530212,112.629335 C220.752297,112.738108 220.942427,112.902544 221.082082,113.106628 C221.183317,113.342645 221.238986,113.595685 221.246151,113.852398 L221.246151,151.692774 C219.556392,151.034919 217.688034,150.997922 215.973556,151.588366 L215.973556,116.537171 L215.332194,116.209032 L213.743704,115.373769 L212.94573,114.985969 L212.19996,114.665288 L183.301367,126.291844 C182.447504,126.671349 181.521029,126.859699 180.586764,126.843714 C179.657311,126.859692 178.735695,126.671296 177.887076,126.291844 L141.836549,111.749326 L114.899332,100.920744 C113.70584,100.427063 112.927488,99.2627896 112.927488,97.9712234 C112.927488,96.6796572 113.70584,95.5153835 114.899332,95.0217026 L177.916907,69.6207723 C178.777467,69.2798876 179.691295,69.093083 180.616595,69.0689024 C181.546734,69.0930377 182.465468,69.2798133 183.331198,69.6207723 L246.311485,95.0217026 C247.504976,95.5153835 248.283329,96.6796572 248.283329,97.9712234 C248.283329,99.2627896 247.504976,100.427063 246.311485,100.920744 Z",id:"Path",fill:"#0F428C"}),a.createElement("path",{d:"M222.476693,158.725386 C222.477207,158.905324 222.462237,159.084973 222.431926,159.262341 C222.172855,161.25436 220.473216,162.743141 218.464429,162.737629 C218.417451,162.74457 218.369709,162.74457 218.322732,162.737629 C217.776683,162.727614 217.2395,162.597773 216.749157,162.357287 C216.484357,162.225065 216.234362,162.065068 216.003387,161.879994 C215.068486,161.126479 214.521023,159.993231 214.511847,158.792505 L214.511847,158.740302 C214.511847,158.606063 214.511847,158.48674 214.511847,158.352501 C214.657663,156.867957 215.616485,155.587484 216.999965,155.029705 C218.383444,154.471926 219.962278,154.729291 221.096997,155.697559 L221.268524,155.861629 C222.043957,156.612177 222.480192,157.646217 222.476693,158.725386 Z",id:"Path",fill:"#0F428C"}),a.createElement("path",{d:"M211.752497,120.191444 L211.752497,145.115081 C204.906328,150.134114 193.272314,153.39313 180.221337,153.39313 C159.116042,153.39313 142.075195,145.033047 142.075195,134.748877 C142.075195,134.51023 141.836549,132.27292 141.836549,131.318334 L141.836549,117.081583 L176.954864,131.251215 C178.115529,131.734912 179.359205,131.988206 180.616595,131.996985 C181.874853,131.99666 183.120169,131.743031 184.278326,131.251215 L211.752497,120.191444 Z",id:"Path",fill:"#0F428C"}),a.createElement("path",{d:"M226.201139,190.74 L214.881139,190.74 C213.789789,190.735538 212.766917,190.207459 212.131267,189.320321 C211.495617,188.433183 211.324463,187.294833 211.671139,186.26 L216.361139,165.79 L216.361139,165.79 L216.551139,165.85 C217.278455,166.113448 218.047676,166.242216 218.821139,166.23 C219.28439,166.249746 219.748249,166.20941 220.201139,166.11 L226.201139,190.74 Z",id:"Path",fill:"#014E8D"})))))}var ca=a.forwardRef(ia),oa=(n.p,["labelText","validators","placeHolder"]),sa=Object(a.forwardRef)((function(e,t){var n=e.labelText,a=e.validators,r=e.placeHolder,i=Object(Zn.a)(e,oa),c=[{rgx:/.+@.+\..+/,failText:Object(b.b)("Email.EnterEmailValid")}];if(a){var o,s=c.values(),l=Object(Kn.a)(s);try{for(l.s();!(o=l.n()).done;){var d,u=o.value,p=a.values(),h=Object(Kn.a)(p);try{for(h.s();!(d=h.n()).done;){var m=d.value;u.rgx.toString()===m.rgx.toString()&&(u.failText=m.failText)}}catch(j){h.e(j)}finally{h.f()}}}catch(j){l.e(j)}finally{l.f()}c.concat(a),c=Object(q.a)(new Set(c))}return Object(ee.jsx)(Yn,Object(ut.a)({validators:c,labelText:n||Object(b.b)("Email.EmailLabel"),ref:t,placeholder:r||Object(b.b)("Email.EnterEmail")},i))}));sa.displayName="Email";var la=sa;n(426);var da=function(e){var t=e.callback,n=e.disabled,r=Object(Q.a)(),i=Object(d.a)(r,1)[0],c=Object(a.useRef)(),o=Object(a.useState)(!1),s=Object(d.a)(o,2),l=s[0],u=s[1],p=Object(a.useState)(!1),b=Object(d.a)(p,2),h=b[0],m=b[1],j=Object(a.useState)(!0),v=Object(d.a)(j,2),f=v[0],O=v[1],x=Object(a.useState)(n),S=Object(d.a)(x,2),y=S[0],A=S[1];return Object(a.useEffect)((function(){var e;h&&("true"!==c.current.attributes["aria-invalid"].value&&t(null===(e=c.current)||void 0===e?void 0:e.value),A(!1),u(!1),m(!1))}),[h,t]),Object(ee.jsx)("div",{id:"form-forgot-password-init",role:"main",children:Object(ee.jsxs)(J.Provider,{value:{triggerValidation:l,validationFinished:m},children:[Object(ee.jsx)("h2",{children:i("Authentication.ForgotPasswordPage.Title")}),Object(ee.jsx)("p",{children:i("Authentication.ForgotPasswordPage.Instructions")}),Object(ee.jsx)(la,{ref:c,labelText:i("Authentication.ForgotPasswordPage.Email"),placeholder:i("Authentication.ForgotPasswordPage.EnterEmail"),disabled:n,autofocus:!0,onChange:function(e){return O(0===e.length)}}),Object(ee.jsx)(Wn,{action:function(e){e.preventDefault(),A(!0),u(!0),m(!1)},disabled:y||f,children:i("Authentication.ForgotPasswordPage.SendInstructions")}),Object(ee.jsx)(g.b,{to:"/signin",id:"cancel",children:i("Authentication.ForgotPasswordPage.Return")})]})})};n(427);var ua=function(e){var t=e.digits,n=e.value,a=e.onChange,i=e.label,c=e.autofocus,o=e.disabled;t||(t=6);for(var s=[],l=0;l=l+1?n[l]:""});var u=r.a.useState(s),p=Object(d.a)(u,2),b=p[0],h=p[1],m=function(e,t){t.target.value=t.target.value.slice(0,1);var n=Object(q.a)(b);n[e].value=t.target.value,h(n);var r=n.map((function(e){return e.value})).join("");if(a(r),0!==t.target.value.length){var i=t.target.parentElement.parentElement.querySelectorAll("input")[e+1];i&&(i.focus(),i.type="text",i.setSelectionRange(0,0),i.type="number")}};return Object(ee.jsx)("div",{className:"multi-digit-input",children:Object(ee.jsxs)("fieldset",{children:[Object(ee.jsx)("legend",{children:i}),Object(ee.jsx)("ul",{children:b.map((function(e,t){return Object(ee.jsxs)("li",{children:[Object(ee.jsx)("label",{htmlFor:e.id,className:"visually-hidden",children:e.label}),Object(ee.jsx)("input",{id:e.id,value:e.value,onChange:function(e){return m(t,e)},onKeyDown:function(e){return function(e,t){if(8===t.keyCode&&0!==e){t.target.value="";var n=Object(q.a)(b);n[e].value="",h(n);var r=n.map((function(e){return e.value})).join("");a(r),t.target.parentElement.parentElement.querySelectorAll("input")[e-1].focus()}}(t,e)},autoFocus:c&&0===t,disabled:o,type:"number",maxLength:"1",step:"1",min:"0",max:"9"})]},e.id)}))})]})})};n(428);var pa=function(e){var t=e.callback,n=e.cancelCallback,a=e.disabled,i=Object(Q.a)(),c=Object(d.a)(i,1)[0],o=r.a.useState(""),s=Object(d.a)(o,2),l=s[0],u=s[1],p=function(e){e.preventDefault(),t(l)};return Object(ee.jsx)("div",{id:"form-forgot-password-verify",role:"main",children:Object(ee.jsxs)("form",{onSubmit:p,children:[Object(ee.jsx)("h2",{children:c("Authentication.ForgotPasswordPage.EnterVerificationCode")}),Object(ee.jsx)("p",{children:c("Authentication.ForgotPasswordPage.VerificationCodeInstructions")}),Object(ee.jsx)(ua,{digits:"6",value:l,onChange:u,label:c("Authentication.ForgotPasswordPage.VerificationCode"),autofocus:!0,disabled:a}),Object(ee.jsx)(Wn,{action:p,disabled:a||l.length<6,children:c("Authentication.ForgotPasswordPage.VerificationCodeSubmit")}),Object(ee.jsxs)("div",{id:"no-receive",children:[c("Authentication.ForgotPasswordPage.VerificationCodeNoReceive")," ",Object(ee.jsx)("button",{className:"button-link",onClick:n,children:c("Authentication.ForgotPasswordPage.VerificationCodeResend")})]})]})})};n(429);var ba=function(){var e=Object(Q.a)(),t=Object(d.a)(e,1)[0],n=r.a.useState(!1),a=Object(d.a)(n,2),i=a[0],c=a[1],o=r.a.useState(1),s=Object(d.a)(o,2),l=s[0],u=s[1],p=r.a.useState(),b=Object(d.a)(p,2),h=b[0],m=b[1],j=r.a.useState(),v=Object(d.a)(j,2),f=v[0],O=v[1],g=Object(x.g)();return Object(ee.jsxs)("div",{id:"page-forgot-password",children:[Object(ee.jsxs)("div",{id:"page-forgot-password-foreground",children:[Object(ee.jsx)("h1",{children:Object(ee.jsx)(ca,{})}),1===l&&Object(ee.jsx)(da,{callback:function(e){c(!0),Hn.a.forgotPassword(e).then((function(){c(!1),m(e),u(2)})).catch((function(e){c(!1),"LimitExceededException"===e.name&&Z.b.error(t("Authentication.TooManyResetAttempts"))}))},disabled:i}),2===l&&Object(ee.jsx)(pa,{callback:function(e){O(e),u(3)},cancelCallback:function(){u(1)},disabled:i}),3===l&&Object(ee.jsx)(ta,{callback:function(e){c(!0),Hn.a.forgotPasswordSubmit(h,f,e).then((function(e){if(c(!1),"SUCCESS"===e)return Z.b.success(t("Authentication.PasswordChanged")),void g.push("/signin");Z.b.error(t("Authentication.PasswordChangeError")),console.error("Shipyard: Unrecognized response",e),u(1)})).catch((function(e){return"CodeMismatchException"===e.name?(Z.b.error(t("Authentication.VerificationCodeIncorrect")),c(!1),void u(2)):"InvalidPasswordException"===e.name?(Z.b.error(t("Authentication.PasswordWeak")),void c(!1)):(console.error("Shipyard: Unhandled error in handleSubmitNewPassword",e),c(!1),void u(1))}))},disabled:i})]}),Object(ee.jsx)("div",{id:"page-forgot-password-background"})]})},ha=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";return Object.keys(t).reduce((function(r,i){return Object.assign({},r,"object"===typeof t[i]?e(t[i],n.concat([i]),a):Object(Ft.a)({},n.concat([i]).join(a),t[i]))}),{})};n(430);var ma=function(e){var t=e.callback,n=e.cancelCallback,a=e.resendCallback,i=e.disabled,c=r.a.useState(""),o=Object(d.a)(c,2),s=o[0],l=o[1],u=function(e){e.preventDefault(),t(s)};return Object(ee.jsxs)("div",{id:"form-login-verification-code",children:[Object(ee.jsx)("div",{role:"main",children:Object(ee.jsxs)("form",{onSubmit:u,children:[Object(ee.jsx)("h2",{children:"Enter verification code"}),Object(ee.jsx)("p",{children:"We have sent a verification code to your mobile phone. Enter it below to continue to log in."}),Object(ee.jsx)(ua,{digits:"6",value:s,onChange:l,label:"Verification Code",disabled:i}),Object(ee.jsx)(Wn,{action:u,disabled:i||s.length<6,children:"Verify and Log In"}),Object(ee.jsxs)("div",{id:"no-receive",children:["Didn't receive a code? ",Object(ee.jsx)("button",{type:"button",className:"button-link",onClick:a,children:"Resend code"})]})]})}),Object(ee.jsx)("button",{type:"button",className:"button-link",onClick:n,children:"Restart login process"})]})};n(431);var ja,va=function(){var e=Object(x.g)(),t=Object(a.useContext)(X),n=t.user,i=t.userSettings,c=t.updateUser,o=t.updateUserSettings,p=r.a.useState(!1),h=Object(d.a)(p,2),m=h[0],j=h[1],v=r.a.useState(!1),f=Object(d.a)(v,2),O=f[0],S=f[1],y=r.a.useState(!1),A=Object(d.a)(y,1)[0],w=r.a.useState(!1),C=Object(d.a)(w,2),E=C[0],L=C[1],N=r.a.useState(!1),I=Object(d.a)(N,2),T=I[0],D=I[1],P=r.a.useState(!0),k=Object(d.a)(P,2),R=k[0],F=k[1],G=r.a.useState(!0),U=Object(d.a)(G,2),M=U[0],H=U[1],V=Object(a.useRef)(),q=Object(a.useRef)();Object(a.useEffect)((function(){var e=setInterval((function(){var t,n,a,r;V.current&&(F(0===(null===V||void 0===V||null===(t=V.current)||void 0===t||null===(n=t.value)||void 0===n?void 0:n.length)),H(0===(null===q||void 0===q||null===(a=q.current)||void 0===a||null===(r=a.value)||void 0===r?void 0:r.length)),clearInterval(e))}),100)}));var _=function(){return new Promise((function(e,t){var n,a;Hn.a.signIn(null===(n=V.current)||void 0===n?void 0:n.value,null===(a=q.current)||void 0===a?void 0:a.value).then((function(t){e(t)})).catch((function(e){t(e)}))}))},z=function(){var t=Object(l.a)(s.a.mark((function t(n){var a;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!A){t.next=3;break}return console.error("handleVerifySubmit verificationCodeStep not implemented yet"),t.abrupt("return");case 3:return D(!0),t.prev=4,t.next=7,Hn.a.confirmSignUp(null===i||void 0===i?void 0:i.UserName,n);case 7:Z.b.success(Object(b.b)("Authentication.AccountVerified")),e.push("/dashboard"),t.next=16;break;case 11:t.prev=11,t.t0=t.catch(4),console.error("Shipyard: Account confirmation error",t.t0),a=Object(b.b)("Cognito.".concat(t.t0.code)),Z.b.error(a!=="Cognito.".concat(t.t0.code)?a:t.t0.message);case 16:return t.prev=16,D(!1),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[4,11,16,19]])})));return function(e){return t.apply(this,arguments)}}(),W=function(t){t.preventDefault(),O||(R&&M?Z.b.error(Object(b.b)("Authentication.EnterEmailAndPassword")):R?Z.b.error(Object(b.b)("Authentication.EnterEmail")):M?Z.b.error(Object(b.b)("Authentication.EnterPassword")):(S(!0),Z.b.promise(_,{pending:{render:function(){return Object(b.b)("Authentication.CheckingCredentials")}},success:{render:function(e){e.data;return Object(b.b)("General.Success")}},error:{render:function(e){var t=e.data,n=Object(b.b)("Authentication.InvalidCredentials");if(t.message&&t.message.indexOf("attempts exceeded")>0&&(n=Object(b.b)("Authentication.AttemptsExceeded")),t.message&&t.message.indexOf("not confirmed")>0){var a;n=Object(b.b)("Authentication.AccountUnconfirmed");var r={UserName:null===(a=V.current)||void 0===a?void 0:a.value};o(r),L(!0)}return n}}}).then(function(){var t=Object(l.a)(s.a.mark((function t(n){var a,r,i;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c(n),"NEW_PASSWORD_REQUIRED"!==n.challengeName){t.next=5;break}return S(!1),j(!0),t.abrupt("return");case 5:if(!n.challengeName){t.next=8;break}return console.error("Unknown challenge name",n.challengeName),t.abrupt("return");case 8:return t.prev=8,t.next=11,Hn.a.currentUserInfo();case 11:return a=t.sent,Z.b.info(Object(b.b)("General.RetrievingUserData")),t.next=15,u.a.get("ShipyardAPI","/usersettings",{queryStringParameters:{login:!0}});case 15:r=t.sent,i={UserName:a.attributes.email,PhoneNumber:a.attributes.phone_number,Retrieved:!0},i=Object.assign(i,ha(r)),o(i),S(!1),e.push(B(i.UserType)),t.next=26;break;case 23:t.prev=23,t.t0=t.catch(8),Z.b.error(Object(b.b)("General.AjaxError"));case 26:case"end":return t.stop()}}),t,null,[[8,23]])})));return function(e){return t.apply(this,arguments)}}()).catch((function(){S(!1),V.current&&V.current.focus()}))))},K=Object(a.useMemo)((function(){return Object(l.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return D(!0),e.prev=1,e.next=4,Hn.a.resendSignUp(null===i||void 0===i?void 0:i.UserName);case 4:Z.b.success(Object(b.b)("Cognito.ResendSuccess")),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(1),Z.b.error(Object(b.b)("Cognito.ResendError"));case 10:return e.prev=10,D(!1),e.finish(10);case 13:case"end":return e.stop()}}),e,null,[[1,7,10,13]])})))}),[i]);return Object(ee.jsxs)("div",{id:"page-login",children:[Object(ee.jsxs)("div",{id:"page-login-foreground",children:[Object(ee.jsx)("h1",{children:Object(ee.jsx)(ca,{})}),(A||E)&&Object(ee.jsx)(ma,{callback:z,cancelCallback:function(){return L(!1)},resendCallback:K,disabled:T}),m&&Object(ee.jsx)(ta,{callback:function(t){D(!0),Hn.a.completeNewPassword(n,t,{given_name:n.challengeParam.userAttributes.given_name||"N/A",family_name:n.challengeParam.userAttributes.family_name||"N/A"}).then(function(){var t=Object(l.a)(s.a.mark((function t(n){var a,r;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n||n.challengeName){t.next=10;break}return Z.b.success(Object(b.b)("Authentication.PasswordChanged")),Z.b.info(Object(b.b)("General.RetrievingUserData")),t.next=5,u.a.get("ShipyardAPI","/usersettings",{queryStringParameters:{login:!0}});case 5:a=t.sent,r={UserName:n.challengeParam.userAttributes.email,PhoneNumber:n.challengeParam.userAttributes.phone_number,Retrieved:!0},r=Object.assign(r,ha(a)),o(r),e.push(B(r.UserType));case 10:D(!1);case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(e){switch(D(!1),null===e||void 0===e?void 0:e.code){case"InvalidPasswordException":Z.b.error(Object(b.b)("Authentication.PasswordWeak"));break;case"NotAuthorizedException":Z.b.error(Object(b.b)("Authentication.CreateAccount.SessionExpired")),j(!1);break;default:Z.b.error((null===e||void 0===e?void 0:e.message)?e.message:Object(b.b)("General.AjaxError"))}}))},disabled:T}),!A&&!m&&!E&&Object(ee.jsxs)("div",{id:"form-login",children:[Object(ee.jsxs)("p",{children:["The ",Object(ee.jsx)("span",{id:"scholarship-org-name",children:"Lindsey Nicole Henry Scholarship Program"}),' is accepting applications. Please log in now to begin the application process, or click on "Create your account" to get started.']}),Object(ee.jsx)("div",{role:"main",children:Object(ee.jsxs)("form",{onSubmit:W,children:[Object(ee.jsx)(Yn,{labelText:Object(b.b)("Authentication.Email"),placeholder:Object(b.b)("Authentication.EnterEmail"),disabled:O,ref:V,autofocus:!0,onChange:function(e){return F(0===e.length)},autoComplete:"email",name:"email"}),Object(ee.jsx)(Xn,{labelText:Object(b.b)("Authentication.Password"),placeholder:Object(b.b)("Authentication.EnterPassword"),innerRef:q,disabled:O,onChange:function(e){return H(0===e.length)},autoComplete:"current-password",name:"password"}),Object(ee.jsx)(g.b,{to:"/forgotPassword",id:"forgot-password",children:Object(b.b)("Authentication.ForgotPasswordLink")}),Object(ee.jsx)(Wn,{action:W,disabled:O,children:Object(b.b)("Authentication.LogIn")}),Object(ee.jsxs)("div",{id:"not-registered",children:[Object(b.b)("Authentication.NotRegisteredYet"),Object(ee.jsxs)(g.b,{to:"/signup",children:["\xa0",Object(b.b)("Authentication.CreateAnAccountLink")]})]})]})})]})]}),Object(ee.jsx)("div",{id:"page-login-background"})]})},fa=n(185),Oa=["title","titleId"];function ga(){return ga=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Sa(e,t){var n=e.title,r=e.titleId,i=xa(e,Oa);return a.createElement("svg",ga({width:"23px",height:"23px",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,ja||(ja=a.createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(-43.000000, -627.000000)",fill:"#0F428C"},a.createElement("g",{transform:"translate(43.000210, 627.000000)"},a.createElement("path",{d:"M11.2632855,0 C17.745272,0 22.9999602,5.14872538 22.9999602,11.5 C22.9999602,17.8512746 17.745272,23 11.2632855,23 C6.38120075,23 2.19533276,20.0792518 0.426421692,15.923796 L3.02844799,15.9233971 C4.62470814,18.7703813 7.71401588,20.7 11.2632855,20.7 C16.4488747,20.7 20.6526253,16.5810197 20.6526253,11.5 C20.6526253,6.4189803 16.4488747,2.3 11.2632855,2.3 C7.24310081,2.3 3.81303006,4.77562876 2.47433836,8.25589479 L-4.85167462e-14,8.2561973 C1.42910822,3.48437117 5.93091327,0 11.2632855,0 Z M9.52274273,7.2985119 C9.82561721,7.00211802 10.3156022,7.00314532 10.6171225,7.30109917 C10.918604,7.59897692 10.9174433,8.08077868 10.6145301,8.37724866 L10.6145301,8.37724866 L7.89988033,11.0339119 L16.5009297,11.0339119 C16.9283123,11.0339119 17.274753,11.3745936 17.274753,11.7948718 C17.274753,12.2151499 16.9283123,12.5558317 16.5009297,12.5558317 L16.5009297,12.5558317 L7.89984164,12.5558316 L10.6145688,15.2124948 C10.917482,15.5089648 10.9186427,15.9907666 10.6171611,16.2886443 C10.3156409,16.5865601 9.82569459,16.5876635 9.52278142,16.2912316 L9.52278142,16.2912316 L5.47870303,12.3335172 C5.17656369,12.0370472 5.17559641,11.5536855 5.47936078,11.2555034 L5.47936078,11.2555034 Z",id:"Combined-Shape"}))))))}var ya=a.forwardRef(Sa);n.p,n(434);var Aa,wa=function(e){var t=(e.classes?e.classes:[]).concat(["modal"]).join(" "),n=Object(a.useState)((null===e||void 0===e?void 0:e.titleText)?e.titleText:null),r=Object(d.a)(n,1)[0];return Object(ee.jsxs)("div",{className:t,children:[r?Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsx)("h2",{children:r}),Object(ee.jsx)("hr",{className:"modal-title-break"})]}):null,Object(ee.jsx)("div",{className:"modal-content","aria-modal":"true",role:"alertdialog",children:e.children})]})},Ca=["title","titleId"];function Ea(){return Ea=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Na(e,t){var n=e.title,r=e.titleId,i=La(e,Ca);return a.createElement("svg",Ea({width:"25px",height:"25px",viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Aa||(Aa=a.createElement("g",{id:"Symbols",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a.createElement("g",{id:"Side-Nav-/-Admin-/-Thin-Applications",transform:"translate(-42.000000, -292.000000)"},a.createElement("g",{id:"$",transform:"translate(50.984375, 298.144531)",fill:"#FFFFFF",fillRule:"nonzero"},a.createElement("path",{d:"M3.72216797,10.7119141 C4.4444987,10.7119141 5.08878581,10.6013997 5.6550293,10.3803711 C6.22127279,10.1593424 6.66788737,9.8363444 6.99487305,9.41137695 C7.32185872,8.98640951 7.48535156,8.46972656 7.48535156,7.86132812 L7.48535156,7.84765625 C7.48535156,7.09798177 7.24495443,6.51806641 6.76416016,6.10791016 C6.28336589,5.69775391 5.57470703,5.38785807 4.63818359,5.17822266 L3.61962891,4.94921875 C3.07047526,4.82389323 2.67285156,4.66780599 2.42675781,4.48095703 C2.18066406,4.29410807 2.05761719,4.05826823 2.05761719,3.7734375 L2.05761719,3.75976562 C2.05761719,3.55013021 2.12141927,3.36328125 2.24902344,3.19921875 C2.3766276,3.03515625 2.56575521,2.90527344 2.81640625,2.80957031 C3.06705729,2.71386719 3.3758138,2.66601562 3.74267578,2.66601562 C4.07307943,2.66601562 4.36588542,2.71614583 4.62109375,2.81640625 C4.87630208,2.91666667 5.08308919,3.06420898 5.24145508,3.2590332 C5.39982096,3.45385742 5.49609375,3.69482422 5.53027344,3.98193359 L5.53369141,3.9921875 L7.34863281,3.98876953 L7.35546875,3.98193359 C7.33268229,3.40315755 7.16748047,2.90071615 6.85986328,2.47460938 C6.55224609,2.0485026 6.13069661,1.71866862 5.59521484,1.48510742 C5.05973307,1.25154622 4.43424479,1.13476562 3.71875,1.13476562 C3.0328776,1.13476562 2.42163086,1.24584961 1.88500977,1.46801758 C1.34838867,1.69018555 0.925130208,2.0086263 0.615234375,2.42333984 C0.305338542,2.83805339 0.150390625,3.33365885 0.150390625,3.91015625 L0.150390625,3.92382812 C0.150390625,4.65755208 0.387369792,5.23632812 0.861328125,5.66015625 C1.33528646,6.08398438 2.01888021,6.39729818 2.91210938,6.60009766 L3.93066406,6.82910156 C4.54817708,6.96809896 4.97713216,7.12760417 5.2175293,7.30761719 C5.45792643,7.48763021 5.578125,7.7360026 5.578125,8.05273438 L5.578125,8.06640625 C5.578125,8.29654948 5.51090495,8.49536133 5.37646484,8.6628418 C5.24202474,8.83032227 5.03979492,8.95849609 4.76977539,9.04736328 C4.49975586,9.13623047 4.16080729,9.18066406 3.75292969,9.18066406 C3.35872396,9.18066406 3.02718099,9.13053385 2.75830078,9.03027344 C2.48942057,8.93001302 2.27864583,8.78531901 2.12597656,8.59619141 C1.97330729,8.4070638 1.87532552,8.18375651 1.83203125,7.92626953 L1.82861328,7.91601562 L0.0068359375,7.91943359 L0,7.92626953 C0.0205078125,8.52327474 0.193684896,9.02913411 0.51953125,9.44384766 C0.845377604,9.8585612 1.28572591,10.173584 1.84057617,10.388916 C2.39542643,10.604248 3.0226237,10.7119141 3.72216797,10.7119141 Z M3.37011719,11.8295898 L4.15625,11.8295898 L4.15625,0 L3.37011719,0 L3.37011719,11.8295898 Z",id:"Shape"})),a.createElement("circle",{id:"Oval",stroke:"#FFFFFF",strokeWidth:2,cx:54.5,cy:304.5,r:11.5})))))}var Ia,Ta=a.forwardRef(Na),Da=(n.p,["title","titleId"]);function Pa(){return Pa=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ra(e,t){var n=e.title,r=e.titleId,i=ka(e,Da);return a.createElement("svg",Pa({width:"23px",height:"24px",viewBox:"0 0 23 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Ia||(Ia=a.createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(-43.000000, -220.000000)",fill:"#FFFFFF",fillRule:"nonzero"},a.createElement("g",{transform:"translate(43.000000, 220.000000)"},a.createElement("path",{d:"M20.125,0 L2.875,0 C1.28993164,0 0,1.34601562 0,3 L0,21 C0,22.6539844 1.28993164,24 2.875,24 L20.125,24 C21.7100684,24 23,22.6539844 23,21 L23,3 C23,1.34601562 21.7100684,0 20.125,0 Z M21.9458483,21.6000306 C21.9458483,22.1888315 21.4825508,22.6666823 20.9140573,22.6666823 L2.34152824,22.6666823 C1.77298637,22.6666823 1.3097372,22.1888315 1.3097372,21.6000306 L1.3097372,2.40000062 C1.3097372,1.81224971 1.77303474,1.33334896 2.34152824,1.33334896 L20.9140573,1.33334896 C21.4825991,1.33334896 21.9458483,1.81229971 21.9458483,2.40000062 L21.9458483,21.6000306 L21.9458483,21.6000306 Z",id:"Shape"}),a.createElement("path",{d:"M6.02085247,3.74665538 C5.99049672,3.66000101 5.94802142,3.59331496 5.89339812,3.52666016 C5.86304237,3.50000449 5.83271506,3.47331756 5.8023593,3.44666189 C5.76594377,3.42000622 5.72952824,3.40000666 5.69311272,3.38666319 C5.65669719,3.36666363 5.62028166,3.35332017 5.58386613,3.34666406 C5.46247155,3.32000839 5.34110542,3.33333333 5.23185884,3.38666319 C5.15902778,3.42000622 5.09225649,3.46666146 5.03157343,3.52666016 C4.97695013,3.59331496 4.93447483,3.66000101 4.90411908,3.74665538 C4.87376332,3.82665365 4.85555556,3.91330802 4.85555556,3.99999363 C4.85555556,4.08667925 4.87376332,4.17333362 4.90411908,4.25333189 C4.93447483,4.33998626 4.97695013,4.40667231 5.03157343,4.47332711 C5.14687979,4.59332451 5.30468989,4.66666667 5.4625,4.66666667 C5.49891553,4.66666667 5.54139083,4.66001056 5.58389458,4.65332321 C5.62031011,4.6466671 5.65672564,4.63332364 5.69314116,4.61332407 C5.72955669,4.59998061 5.76597222,4.57998105 5.80238775,4.55332538 C5.83274351,4.5266697 5.86307082,4.49998278 5.89342657,4.47332711 C6.00267316,4.34667361 6.06944444,4.17333362 6.06944444,3.99999363 C6.06938755,3.91333927 6.05117978,3.82665365 6.02085247,3.74665538 Z",id:"Path"}),a.createElement("path",{d:"M17.4736232,3.33333333 L10.573599,3.33333333 C10.0974982,3.33333333 9.71111111,3.63199425 9.71111111,4 C9.71111111,4.36800575 10.0974982,4.66666667 10.573599,4.66666667 L17.4736232,4.66666667 C17.949724,4.66666667 18.3361111,4.36800575 18.3361111,4 C18.3361111,3.63199425 17.949724,3.33333333 17.4736232,3.33333333 Z",id:"Path"}),a.createElement("path",{d:"M5.99337911,7.86464446 C5.98731934,7.82454492 5.97517135,7.78444537 5.95696358,7.74434583 C5.94481559,7.70424628 5.92660783,7.66414674 5.90234029,7.6240472 C5.87807276,7.59062047 5.85377677,7.55722506 5.82950923,7.52379834 C5.76882617,7.46364902 5.70205488,7.41687666 5.62922383,7.38344993 C5.48356171,7.3166278 5.31363206,7.3166278 5.16796995,7.38344993 C5.09513889,7.41687666 5.0283676,7.46364902 4.96768454,7.52379834 C4.943417,7.55722506 4.91912102,7.59062047 4.89485348,7.6240472 C4.87058595,7.66414674 4.85237818,7.70424628 4.84023019,7.74434583 C4.82202242,7.78444537 4.80987443,7.82454492 4.80381466,7.86464446 C4.79775489,7.91141682 4.79166667,7.9582205 4.79166667,7.99832005 C4.79166667,8.17209518 4.85843795,8.34583899 4.96768454,8.47284176 C5.0829909,8.59314039 5.240801,8.66666667 5.39861111,8.66666667 C5.55642122,8.66666667 5.71420288,8.59314039 5.82953768,8.47284176 C5.93878427,8.34587031 6.00555556,8.17209518 6.00555556,7.99832005 C6.00549866,7.9582205 5.99943888,7.91144815 5.99337911,7.86464446 Z",id:"Path"}),a.createElement("path",{d:"M17.3458455,7.33333333 L10.4458212,7.33333333 C9.96972046,7.33333333 9.58333333,7.63199425 9.58333333,8 C9.58333333,8.36800575 9.96972046,8.66666667 10.4458212,8.66666667 L17.3458455,8.66666667 C17.8219462,8.66666667 18.2083333,8.36800575 18.2083333,8 C18.2083333,7.63199425 17.8219462,7.33333333 17.3458455,7.33333333 Z",id:"Path"}),a.createElement("path",{d:"M5.99337911,11.8646445 C5.98731934,11.8245449 5.97517135,11.7844454 5.95696358,11.7443458 C5.94481559,11.7042463 5.92660783,11.6641467 5.90234029,11.6240472 C5.87807276,11.5906205 5.85377677,11.5572251 5.82950923,11.5237983 C5.76882617,11.463649 5.70205488,11.4168767 5.62922383,11.3834499 C5.48356171,11.3166278 5.31363206,11.3166278 5.16796995,11.3834499 C5.09513889,11.4168767 5.0283676,11.463649 4.96768454,11.5237983 C4.943417,11.5572251 4.91912102,11.5906205 4.89485348,11.6240472 C4.87058595,11.6641467 4.85237818,11.7042463 4.84023019,11.7443458 C4.82202242,11.7844454 4.80987443,11.8245449 4.80381466,11.8646445 C4.79775489,11.9114168 4.79166667,11.9582205 4.79166667,11.99832 C4.79166667,12.1720952 4.85843795,12.345839 4.96768454,12.4728418 C5.0829909,12.5931404 5.240801,12.6666667 5.39861111,12.6666667 C5.55642122,12.6666667 5.71420288,12.5931404 5.82953768,12.4728418 C5.93878427,12.3458703 6.00555556,12.1720952 6.00555556,11.99832 C6.00549866,11.9582205 5.99943888,11.9114481 5.99337911,11.8646445 Z",id:"Path"}),a.createElement("path",{d:"M17.3458455,11.3333333 L10.4458212,11.3333333 C9.96972046,11.3333333 9.58333333,11.6319942 9.58333333,12 C9.58333333,12.3680058 9.96972046,12.6666667 10.4458212,12.6666667 L17.3458455,12.6666667 C17.8219462,12.6666667 18.2083333,12.3680058 18.2083333,12 C18.2083333,11.6319942 17.8219462,11.3333333 17.3458455,11.3333333 Z",id:"Path"}),a.createElement("path",{d:"M5.95696358,15.7431809 C5.92660783,15.6561993 5.88413253,15.5892614 5.82950923,15.5223549 C5.65957958,15.3410203 5.39252289,15.2814538 5.16796995,15.3818292 C5.09513889,15.4152982 5.0283676,15.4621296 4.96768454,15.5223549 C4.91306125,15.5892614 4.87058595,15.6628806 4.84023019,15.7431809 C4.80987443,15.8234813 4.79166667,15.9104629 4.79166667,15.9974759 C4.79166667,16.1781518 4.85234973,16.3454338 4.96768454,16.472597 C5.0829909,16.5990701 5.23474123,16.6666667 5.39861111,16.6666667 C5.56248099,16.6666667 5.71420288,16.5990701 5.82953768,16.472597 C5.94484404,16.3454652 6.00555556,16.1781518 6.00555556,15.9974759 C6.00549866,15.9104943 5.99337911,15.8234813 5.95696358,15.7431809 Z",id:"Path"}),a.createElement("path",{d:"M17.3458455,15.3333333 L10.4458212,15.3333333 C9.96972046,15.3333333 9.58333333,15.631338 9.58333333,16 C9.58333333,16.368662 9.96972046,16.6666667 10.4458212,16.6666667 L17.3458455,16.6666667 C17.8219462,16.6666667 18.2083333,16.368662 18.2083333,16 C18.2083333,15.631338 17.8219462,15.3333333 17.3458455,15.3333333 Z",id:"Path"}),a.createElement("path",{d:"M5.95696358,19.7431809 C5.92660783,19.6561993 5.88413253,19.5892614 5.82950923,19.5223549 C5.65957958,19.3410203 5.39252289,19.2814538 5.16796995,19.3818292 C5.09513889,19.4152982 5.0283676,19.4621296 4.96768454,19.5223549 C4.91306125,19.5892614 4.87058595,19.6628806 4.84023019,19.7431809 C4.80987443,19.8234813 4.79166667,19.9104629 4.79166667,19.9974759 C4.79166667,20.1781518 4.85234973,20.3454338 4.96768454,20.472597 C5.0829909,20.5990701 5.23474123,20.6666667 5.39861111,20.6666667 C5.56248099,20.6666667 5.71420288,20.5990701 5.82953768,20.472597 C5.94484404,20.3454652 6.00555556,20.1781518 6.00555556,19.9974759 C6.00549866,19.9104943 5.99337911,19.8234813 5.95696358,19.7431809 Z",id:"Path"}),a.createElement("path",{d:"M17.3458455,19.3333333 L10.4458212,19.3333333 C9.96972046,19.3333333 9.58333333,19.631338 9.58333333,20 C9.58333333,20.368662 9.96972046,20.6666667 10.4458212,20.6666667 L17.3458455,20.6666667 C17.8219462,20.6666667 18.2083333,20.368662 18.2083333,20 C18.2083333,19.631338 17.8219462,19.3333333 17.3458455,19.3333333 Z",id:"Path"}))))))}var Fa,Ga,Ua=a.forwardRef(Ra),Ma=(n.p,["title","titleId"]);function Ha(){return Ha=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Va(e,t){var n=e.title,r=e.titleId,i=Ba(e,Ma);return a.createElement("svg",Ha({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:512,height:512,ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Fa||(Fa=a.createElement("path",{d:"M36.169,415.023C39.836,417.023,126.983,464,216,464a332.012,332.012,0,0,0,66.576-7.032l23.2,23.2a8,8,0,0,0,11.315,0l15.57-15.571q1.662.731,3.341,1.391V488a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V465.987q1.68-.66,3.341-1.391l15.57,15.571a8,8,0,0,0,11.315,0l33.941-33.942a8,8,0,0,0,0-11.314l-15.57-15.57q.731-1.661,1.39-3.341H472a8,8,0,0,0,8-8V360a8,8,0,0,0-8-8H449.986q-.658-1.68-1.39-3.341l15.57-15.57a8,8,0,0,0,0-11.314l-33.941-33.942a8,8,0,0,0-11.315,0L403.341,303.4q-1.662-.731-3.341-1.391V280a8,8,0,0,0-8-8H361.5c-25.407-37.911-61.172-63.734-101.992-74.438a96,96,0,1,0-86.978.017c-33.16,8.7-63.155,27.408-87.009,54.772C51.007,291.941,32,347.218,32,408A8,8,0,0,0,36.169,415.023ZM352,307.668V288h32v19.668a8,8,0,0,0,5.6,7.632,71.781,71.781,0,0,1,11.68,4.86,8,8,0,0,0,9.362-1.433L424.568,304.8,447.2,327.432l-13.923,13.922a8,8,0,0,0-1.433,9.362A71.682,71.682,0,0,1,436.7,362.4a8,8,0,0,0,7.633,5.6H464v32H444.332a8,8,0,0,0-7.633,5.6,71.682,71.682,0,0,1-4.859,11.681,8,8,0,0,0,1.433,9.362L447.2,440.568,424.568,463.2l-13.922-13.923a8,8,0,0,0-9.362-1.433,71.781,71.781,0,0,1-11.68,4.86,8,8,0,0,0-5.6,7.632V480H352V460.332a8,8,0,0,0-5.6-7.632,71.781,71.781,0,0,1-11.68-4.86,8,8,0,0,0-9.362,1.433L311.432,463.2,288.8,440.568l13.923-13.922a8,8,0,0,0,1.433-9.362A71.682,71.682,0,0,1,299.3,405.6a8,8,0,0,0-7.633-5.6H272V368h19.668a8,8,0,0,0,7.633-5.6,71.682,71.682,0,0,1,4.859-11.681,8,8,0,0,0-1.433-9.362L288.8,327.432,311.432,304.8l13.922,13.923a8,8,0,0,0,9.362,1.433,71.781,71.781,0,0,1,11.68-4.86A8,8,0,0,0,352,307.668ZM136,112a80,80,0,1,1,80,80A80.091,80.091,0,0,1,136,112ZM97.579,262.865C128.422,227.485,170.478,208,216,208c49.753,0,94.956,23.239,126.038,64.252A8,8,0,0,0,336,280v22.013q-1.68.66-3.341,1.391l-15.57-15.571a8,8,0,0,0-11.315,0l-33.941,33.942a8,8,0,0,0,0,11.314l15.57,15.57q-.731,1.661-1.39,3.341H264a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h22.014q.658,1.68,1.39,3.341l-15.57,15.57a7.955,7.955,0,0,0-1.925,8.187A310.493,310.493,0,0,1,216,448c-74.188,0-149.593-35.583-167.957-44.844C49.014,348.164,66.517,298.5,97.579,262.865Z"})),Ga||(Ga=a.createElement("path",{d:"M368,416a32,32,0,1,0-32-32A32.036,32.036,0,0,0,368,416Zm0-48a16,16,0,1,1-16,16A16.019,16.019,0,0,1,368,368Z"})))}var qa,_a,za,Wa,Ka,Za,Qa,Ya,$a,Ja,Xa,er,tr,nr,ar,rr,ir,cr,or=a.forwardRef(Va),sr=(n.p,["title","titleId"]);function lr(){return lr=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ur(e,t){var n=e.title,r=e.titleId,i=dr(e,sr);return a.createElement("svg",lr({"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 285.02 309.17",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,qa||(qa=a.createElement("defs",null,a.createElement("style",null,".cls-1{fill:#014E8D;}"))),_a||(_a=a.createElement("path",{className:"cls-1",d:"M100.46,248.87v-30h12.05c6,0,9.4,4.14,9.4,9s-3.46,9-9.4,9h-8.32v11.91Zm11.6-26.66h-7.87v11.42h7.87c3.55,0,6-2.34,6-5.71S115.61,222.21,112.06,222.21Z"})),za||(za=a.createElement("path",{className:"cls-1",d:"M127.5,233.9c0-9.22,6.79-15.51,15.29-15.51a13.48,13.48,0,0,1,11.51,5.93l-3.15,1.76a10.18,10.18,0,0,0-8.36-4.37c-6.43,0-11.42,5-11.42,12.19s5,12.18,11.42,12.18a10,10,0,0,0,8.36-4.36l3.19,1.76a13.63,13.63,0,0,1-11.55,5.93C134.29,249.41,127.5,243.12,127.5,233.9Z"})),Wa||(Wa=a.createElement("path",{className:"cls-1",d:"M175.18,218.39A14.3,14.3,0,0,1,186.82,224l-3,1.84a11,11,0,0,0-8.67-4.14c-6.57,0-11.56,5-11.56,12.19s5,12.23,11.56,12.23a11.82,11.82,0,0,0,8-3.24v-6.11h-10.3v-3.33h14v10.84a15.63,15.63,0,0,1-11.78,5.17c-8.55,0-15.42-6.25-15.42-15.56S166.63,218.39,175.18,218.39Z"})),Ka||(Ka=a.createElement("path",{className:"cls-1",d:"M6,294.49a17.84,17.84,0,0,0,12.33,4.93c2.18,0,4.25-.75,4.25-2.23S21,295,17.2,294.26C10.9,293.11,1.26,291.62,1.26,282c0-6.48,5.4-12.38,15.89-12.38A25.21,25.21,0,0,1,33.38,275l-6.19,8.2a19.09,19.09,0,0,0-10.67-3.79c-2.87,0-3.5,1-3.5,2,0,1.49,1.55,2,5.62,2.7C25,285.2,34.3,287,34.3,295.86c0,8.43-6.26,13.31-16.52,13.31-8.15,0-13.71-2.41-17.78-6.08Z"})),Za||(Za=a.createElement("path",{className:"cls-1",d:"M38.4,289.38c0-11.81,9.06-19.78,20.76-19.78,10.32,0,15.36,5.85,17.66,11.12l-10,4.65a8.19,8.19,0,0,0-7.68-5.56c-5.28,0-9,4.24-9,9.57s3.73,9.58,9,9.58a8.19,8.19,0,0,0,7.68-5.56l10,4.59c-2.24,5.1-7.34,11.18-17.66,11.18C47.46,309.17,38.4,301.14,38.4,289.38Z"})),Qa||(Qa=a.createElement("path",{className:"cls-1",d:"M108.1,293.86H94.39v14.62H82.81V270.23H94.39v13.53H108.1V270.23h11.59v38.25H108.1Z"})),Ya||(Ya=a.createElement("path",{className:"cls-1",d:"M147.13,269.6c11.81,0,20.93,8,20.93,19.78s-9.12,19.79-20.93,19.79-20.93-8-20.93-19.79S135.32,269.6,147.13,269.6Zm0,10.21c-5.56,0-9.18,4.24-9.18,9.57s3.62,9.58,9.18,9.58,9.18-4.24,9.18-9.58S152.69,279.81,147.13,279.81Z"})),$a||($a=a.createElement("path",{className:"cls-1",d:"M174.58,270.23h11.58v28.16h14.51v10.09H174.58Z"})),Ja||(Ja=a.createElement("path",{className:"cls-1",d:"M232.29,303.55H217.61l-1.49,4.93H203.55l14.11-38.25h14.57l14.11,38.25H233.78Zm-11.7-9.64h8.72L225,280.44Z"})),Xa||(Xa=a.createElement("path",{className:"cls-1",d:"M266.56,296.21h-4.19v12.27H250.79V270.23h20.42c8.94,0,13.76,6,13.76,13.13A12.33,12.33,0,0,1,278.09,295L285,308.48H271.83Zm2.87-16.35h-7.06v6.71h7.06a3.38,3.38,0,1,0,0-6.71Z"})),er||(er=a.createElement("path",{className:"cls-1",d:"M263.12,235.81H204.19a1.89,1.89,0,1,1,0-3.77h58.93a1.89,1.89,0,1,1,0,3.77Z"})),tr||(tr=a.createElement("path",{className:"cls-1",d:"M83.23,235.81H24.29a1.89,1.89,0,0,1,0-3.77H83.23a1.89,1.89,0,0,1,0,3.77Z"})),nr||(nr=a.createElement("path",{className:"cls-1",d:"M248.87,40.53,154.39,2.4a31.33,31.33,0,0,0-12-2.4,30.46,30.46,0,0,0-12,2.4L35,40.87A16.79,16.79,0,0,0,24.3,56.68v68.59A16.91,16.91,0,0,0,35,141.08l93,37.44a33.91,33.91,0,0,0,13.52,2.63,34.84,34.84,0,0,0,13.62-2.63l35.17-14.16a11.06,11.06,0,0,1-2.1-5.07L153,173.49a31.61,31.61,0,0,1-23,0L37,135.92a11.45,11.45,0,0,1-7.22-10.65V56.68A11.74,11.74,0,0,1,37,45.91L132.4,7.44a26.91,26.91,0,0,1,10-2,27.3,27.3,0,0,1,10,2L246.8,45.57A11.72,11.72,0,0,1,254,56.33v68.6a11.44,11.44,0,0,1-7.22,10.65l-36.38,14.71-2.62,1.07a10.75,10.75,0,0,1,2,5.14s0,0,0,0l.69-.29,38.36-15.49a16.91,16.91,0,0,0,10.65-15.8V56.33A16.79,16.79,0,0,0,248.87,40.53Z"})),ar||(ar=a.createElement("path",{className:"cls-1",d:"M189.31,102.37v35.84c-9.84,7.22-26.56,11.91-45.33,11.91-30.36,0-54.86-12-54.86-26.79,0-.35-.34-3.56-.34-4.94V97.9l50.5,20.38a13.86,13.86,0,0,0,5.26,1,13.43,13.43,0,0,0,5.27-1Z"})),rr||(rr=a.createElement("path",{className:"cls-1",d:"M239,74.66,206.61,87.05h-.11l-1.73-.91L167.1,67.35l-13.77-6.09c-2.63-1.26-9-1.48-10.48.91l11.1,5.5,43.86,21.76.69.34,2.29,1.15,1.14.58a2.06,2.06,0,0,1,.8.69,2.86,2.86,0,0,1,.24,1v54.41a10.86,10.86,0,0,0-4-.76,10.68,10.68,0,0,0-3.58.61V97.11l-.92-.47-2.29-1.15L191,94.93l-1-.46-41.56,16.72a9.36,9.36,0,0,1-3.9.8,9.21,9.21,0,0,1-3.88-.8l-51.88-21L50.07,74.66a4.59,4.59,0,0,1,0-8.48l90.59-36.53a11.29,11.29,0,0,1,3.88-.8,11.5,11.5,0,0,1,3.9.8L239,66.18A4.59,4.59,0,0,1,239,74.66Z"})),ir||(ir=a.createElement("path",{className:"cls-1",d:"M207.9,195.35H195.76a3.64,3.64,0,0,1-3.44-4.8l5-22v0a.86.86,0,0,0,.21.07,6.72,6.72,0,0,0,2.42.4,6.21,6.21,0,0,0,1.49-.12Z"})),cr||(cr=a.createElement("path",{className:"cls-1",d:"M204.73,157.79a4.9,4.9,0,0,1,0,.77,5.75,5.75,0,0,1-5.71,5h-.2a5.45,5.45,0,0,1-2.26-.55,5.36,5.36,0,0,1-1.12-.69,5.75,5.75,0,0,1-2.16-4.44v-.07c0-.19,0-.37,0-.56a5.76,5.76,0,0,1,9.47-3.82l.25.23A5.75,5.75,0,0,1,204.73,157.79Z"})))}var pr,br,hr,mr,jr,vr,fr,Or,gr,xr,Sr,yr,Ar,wr,Cr,Er,Lr,Nr,Ir,Tr,Dr=a.forwardRef(ur),Pr=(n.p,["title","titleId"]);function kr(){return kr=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Fr(e,t){var n=e.title,r=e.titleId,i=Rr(e,Pr);return a.createElement("svg",kr({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 464 464",style:{enableBackground:"new 0 0 464 464"},xmlSpace:"preserve",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,pr||(pr=a.createElement("g",null,a.createElement("g",null,a.createElement("path",{d:"M456,217.12H353.68v-19.76c-0.005-2.886-1.564-5.546-4.08-6.96L240,128.8V97.44h21.68v11.92c0,4.418,3.582,8,8,8h65.36 c4.418-0.002,7.998-3.585,7.997-8.003c0-0.926-0.162-1.845-0.477-2.717L336,88l6.64-18.24c1.502-4.155-0.648-8.741-4.803-10.243 c-0.871-0.315-1.79-0.476-2.717-0.477h-29.76v-11.6c0-4.418-3.582-8-8-8H240v-9.76c0-4.418-3.582-8-8-8s-8,3.582-8,8v99.12 l-109.6,61.52c-2.516,1.414-4.075,4.074-4.08,6.96v19.76H8c-4.418,0-8,3.582-8,8v209.28c0,4.418,3.582,8,8,8h448 c4.418,0,8-3.582,8-8v-209.2C464,220.702,460.418,217.12,456,217.12z M305.36,89.44l-0.32-0.32V75.36h18.24L320,85.6 c-0.655,1.782-0.655,3.738,0,5.52l3.76,10.24h-46.08v-3.92h19.68C301.778,97.44,305.36,93.858,305.36,89.44z M240,55.44h49.36 v11.92v14.08H240V55.44z M110.32,426.32H16v-193.2h94.32V426.32z M224,426.32h-42v-91.36h42V426.32z M282,426.32h-42v-91.36h42 V426.32z M338,426.32h-40v-99.36c0-4.418-3.582-8-8-8H174c-4.418,0-8,3.582-8,8v99.36h-40v-224l106-59.68L337.68,202l0.32,23.04 V426.32z M448,426.32h-94.32v-193.2H448V426.32z"})))),br||(br=a.createElement("g",null,a.createElement("g",null,a.createElement("path",{d:"M232,167.12c-18.526,0.044-33.52,15.074-33.52,33.6c0.044,18.513,15.087,33.484,33.6,33.44 c18.513-0.044,33.484-15.087,33.44-33.6C265.476,182.079,250.481,167.12,232,167.12z M232,218.16 c-9.676-0.044-17.484-7.924-17.44-17.6c0.044-9.613,7.826-17.396,17.44-17.44c9.689,0.044,17.52,7.911,17.52,17.6h0.08 C249.556,210.396,241.676,218.204,232,218.16z"})))),hr||(hr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:35.28,y:250.72,width:16,height:32})))),mr||(mr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:74.72,y:250.72,width:16,height:32})))),jr||(jr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:150.32,y:250.72,width:32,height:16})))),vr||(vr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:216,y:250.72,width:32,height:16})))),fr||(fr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:281.68,y:250.72,width:32,height:16})))),Or||(Or=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:150.32,y:288,width:32,height:16})))),gr||(gr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:216,y:288,width:32,height:16})))),xr||(xr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:281.68,y:288,width:32,height:16})))),Sr||(Sr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:35.28,y:313.68,width:16,height:32})))),yr||(yr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:74.72,y:313.68,width:16,height:32})))),Ar||(Ar=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:35.28,y:376.72,width:16,height:32})))),wr||(wr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:74.72,y:376.72,width:16,height:32})))),Cr||(Cr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:373.28,y:250.72,width:16,height:32})))),Er||(Er=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:412.72,y:250.72,width:16,height:32})))),Lr||(Lr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:373.28,y:313.68,width:16,height:32})))),Nr||(Nr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:412.72,y:313.68,width:16,height:32})))),Ir||(Ir=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:373.28,y:376.72,width:16,height:32})))),Tr||(Tr=a.createElement("g",null,a.createElement("g",null,a.createElement("rect",{x:412.72,y:376.72,width:16,height:32})))))}var Gr,Ur=a.forwardRef(Fr),Mr=(n.p,["title","titleId"]);function Hr(){return Hr=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Vr(e,t){var n=e.title,r=e.titleId,i=Br(e,Mr);return a.createElement("svg",Hr({enableBackground:"new 0 0 512 512",height:512,viewBox:"0 0 512 512",width:512,xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,Gr||(Gr=a.createElement("g",null,a.createElement("path",{d:"m256 101c-85.467 0-155 69.533-155 155s69.533 155 155 155 155-69.533 155-155-69.533-155-155-155zm0 280c-23.756 0-45.985-6.663-64.918-18.216 1.682-34.353 30.155-61.784 64.918-61.784s63.236 27.431 64.918 61.784c-18.933 11.553-41.162 18.216-64.918 18.216zm-35-145c0-19.299 15.701-35 35-35s35 15.701 35 35-15.701 35-35 35-35-15.701-35-35zm126.629 104.927c-6.888-25.148-23.871-46.164-46.307-58.396 12.126-11.815 19.678-28.303 19.678-46.531 0-35.841-29.159-65-65-65s-65 29.159-65 65c0 18.228 7.552 34.716 19.678 46.531-22.435 12.233-39.42 33.247-46.308 58.395-20.695-22.313-33.37-52.165-33.37-84.926 0-68.925 56.075-125 125-125s125 56.075 125 125c0 32.761-12.675 62.614-33.371 84.927z"}),a.createElement("path",{d:"m497 201h-22.785c-5.339-21.312-13.722-41.546-25.026-60.407l16.115-16.114c2.813-2.813 4.394-6.628 4.394-10.607 0-3.978-1.581-7.793-4.394-10.606l-56.569-56.569c-2.813-2.813-6.628-4.394-10.606-4.394-3.979 0-7.794 1.581-10.607 4.394l-16.114 16.115c-18.86-11.305-39.097-19.688-60.408-25.027v-22.785c0-8.284-6.716-15-15-15h-80c-8.284 0-15 6.716-15 15v22.785c-21.311 5.338-41.548 13.722-60.407 25.026l-16.114-16.115c-2.813-2.813-6.628-4.394-10.607-4.394s-7.793 1.581-10.606 4.394l-56.568 56.569c-5.858 5.858-5.858 15.355 0 21.213l16.114 16.115c-11.305 18.86-19.688 39.094-25.027 60.407h-22.785c-8.284 0-15 6.716-15 15v80c0 8.284 6.716 15 15 15h22.785c5.339 21.313 13.722 41.547 25.026 60.407l-16.114 16.115c-5.858 5.858-5.858 15.355 0 21.213l56.568 56.568c5.857 5.858 15.355 5.858 21.213 0l16.115-16.114c18.86 11.303 39.097 19.687 60.407 25.025v22.786c0 8.284 6.716 15 15 15h80c8.284 0 15-6.716 15-15v-22.786c21.31-5.338 41.547-13.722 60.407-25.025l16.115 16.114c5.857 5.858 15.355 5.858 21.213 0l56.569-56.568c2.813-2.813 4.394-6.628 4.394-10.606s-1.581-7.793-4.394-10.607l-16.115-16.114c11.304-18.861 19.687-39.095 25.025-60.407h22.786c8.284 0 15-6.716 15-15v-80c0-8.285-6.716-15.001-15-15.001zm-15 80h-19.821c-7.189 0-13.367 5.1-14.729 12.159-4.992 25.877-15.019 50.082-29.803 71.941-4.027 5.954-3.264 13.928 1.818 19.01l14.018 14.018-35.355 35.355-14.018-14.018c-5.082-5.083-13.057-5.845-19.01-1.818-21.86 14.784-46.064 24.811-71.941 29.802-7.059 1.361-12.159 7.54-12.159 14.729v19.822h-50v-19.822c0-7.189-5.101-13.367-12.159-14.729-25.877-4.991-50.082-15.018-71.941-29.802-5.953-4.027-13.927-3.264-19.01 1.818l-14.018 14.018-35.355-35.355 14.018-14.018c5.083-5.083 5.845-13.056 1.818-19.01-14.784-21.858-24.811-46.062-29.803-71.941-1.362-7.059-7.54-12.159-14.729-12.159h-19.821v-50h19.821c7.189 0 13.367-5.1 14.729-12.159 4.992-25.878 15.019-50.083 29.803-71.941 4.027-5.954 3.265-13.928-1.818-19.01l-14.018-14.018 35.355-35.355 14.018 14.018c5.083 5.083 13.056 5.845 19.011 1.818 21.859-14.785 46.063-24.812 71.941-29.803 7.057-1.362 12.158-7.54 12.158-14.729v-19.821h50v19.821c0 7.189 5.101 13.367 12.159 14.729 25.877 4.991 50.082 15.018 71.941 29.803 5.955 4.028 13.927 3.265 19.011-1.818l14.018-14.018 35.355 35.355-14.018 14.018c-5.083 5.083-5.845 13.057-1.818 19.01 14.784 21.859 24.811 46.064 29.803 71.941 1.361 7.059 7.539 12.159 14.728 12.159h19.821z"}))))}var qr=a.forwardRef(Vr);n.p,n(435);var _r=function(){var e=Object(x.g)(),t=Object(x.h)().pathname.slice(1),n=Object(Q.a)(),r=Object(d.a)(n,1)[0],i=Object(a.useContext)(X),c=i.userSettings,o=i.updateUserSettings,s=i.resetValue,l=Object(a.useContext)(Y),u=l.displayModal,p=l.warning,b=l.setWarning,h=Object(a.useState)(!1),m=Object(d.a)(h,2),j=m[0],v=m[1],f=Object(a.useState)(t),O=Object(d.a)(f,2),g=O[0],S=O[1],y=Object(a.useState)(null),A=Object(d.a)(y,2),C=A[0],E=A[1],L=function(t){if(p){u(!0,(function(){return Object(ee.jsxs)("div",{className:"navigation-warning-container",children:[Object(ee.jsx)("div",{className:"navigation-warning-text",children:p}),Object(ee.jsxs)("div",{className:"navigation-warning-buttons",children:[Object(ee.jsx)(de,{type:"negative",onClick:function(){u(!1,null)},children:"Cancel"}),Object(ee.jsx)(de,{onClick:function(){u(!1,null),b(null),E(t)},children:"Continue"})]})]})}))}else e.push("/"+t),v(!1),S(t)};Object(a.useEffect)((function(){C&&null===p&&(e.push("/"+C),S(C),v(!1))}),[p,C,e]);var N=Object(ee.jsxs)("li",{onClick:function(){L("applications")},className:"applications"===g?"selected":null,children:[Object(ee.jsx)(Ua,{}),Object(ee.jsx)("span",{children:r("NavBar.Applications")})]},"li-applications"),I=Object(ee.jsxs)("li",{onClick:function(){L("students")},className:"students"===g?"selected":null,children:[Object(ee.jsx)(Ua,{}),Object(ee.jsx)("span",{children:r("NavBar.Students")})]},"li-students"),T=Object(ee.jsxs)("li",{onClick:function(){L("finances")},className:"finances"===g?"selected":null,children:[Object(ee.jsx)(Ta,{}),Object(ee.jsx)("span",{children:r("NavBar.Finances")})]},"li-finances"),D=Object(ee.jsxs)("li",{onClick:function(){L("settings")},className:"settings"===g?"selected":null,children:[Object(ee.jsx)(qr,{}),Object(ee.jsx)("span",{children:r("NavBar.Settings")})]},"li-settings"),P=Object(ee.jsxs)("li",{onClick:function(){L("sitesettings")},className:"sitesettings"===g?"selected":null,children:[Object(ee.jsx)(z.a,{icon:W.i}),Object(ee.jsx)("span",{children:r("NavBar.SiteSettings")})]},"li-sitesettings"),k=Object(ee.jsxs)("li",{onClick:function(){L("usersettings")},className:"usersettings"===g?"selected":null,children:[Object(ee.jsx)(or,{}),Object(ee.jsx)("span",{children:r("NavBar.UserSettings")})]},"li-usersettings"),R=Object(ee.jsxs)("li",{onClick:function(){L("schoolinfo")},className:"schoolinfo"===g?"selected":null,children:[Object(ee.jsx)(Ur,{}),Object(ee.jsx)("span",{children:"School Info"})]},"li-schoolinfo"),F=[];switch(null===c||void 0===c?void 0:c.UserType){case w.Parent:F.push(N,k);break;case w.PrivateSchool:F.push(I,T,R,k);break;case w.ScholarshipOrg:F.push(N,T,D);break;case w.Admin:F.push(P,k)}return Object(ee.jsxs)("nav",{id:"nav-bar","aria-label":"Main",className:j?"expanded":"",children:[Object(ee.jsx)("h1",{children:Object(ee.jsx)(Dr,{})}),Object(ee.jsx)("div",{className:"expando",onClick:function(){v(!j)},children:Object(ee.jsx)(z.a,{icon:W.c})}),Object(ee.jsx)("ul",{children:F}),Object(ee.jsx)("div",{className:"log-out",children:Object(ee.jsxs)("button",{onClick:function(){window.sessionStorage.clear(),Hn.a.signOut(),o(s),e.push("/signin"),v(!1)},children:[Object(ee.jsx)(ya,{}),Object(ee.jsx)("span",{children:r("NavBar.LogOut")})]})})]})};n(436);var zr=function(e){return Object(ee.jsx)("div",{className:"main-page","aria-label":"Main",children:e.children})};n(437);var Wr=function(e){return Object(ee.jsx)("div",{id:"post-auth","aria-label":"Main",children:e.children})};n(438);var Kr=function(e){var t=e.initialMin>0?e.initialMin:0,n=e.initialSec>0?e.initialSec:0,r=Object(a.useState)(t),i=Object(d.a)(r,2),c=i[0],o=i[1],s=Object(a.useState)(n),l=Object(d.a)(s,2),u=l[0],p=l[1];return Object(a.useEffect)((function(){var e=setInterval((function(){u>0&&p(u-1),0===u&&(0===c?clearInterval(e):(o(c-1),p(59)))}),1e3);return function(){clearInterval(e)}})),Object(ee.jsx)("div",{children:0===c&&0===u?null:Object(ee.jsxs)("h1",{className:"timer",children:[c," min ",u<10?"0"+u:u," secs"]})})},Zr=(n(439),["component","restrictedTo"]);var Qr=function(e){var t=e.component,n=e.restrictedTo,i=void 0===n?Array.from(w):n,c=Object(Zn.a)(e,Zr),o=Object(Q.a)(),p=Object(d.a)(o,1)[0],b=r.a.useState(!1),h=Object(d.a)(b,2),m=h[0],j=h[1],v=r.a.useState(!0),f=Object(d.a)(v,2),O=f[0],g=f[1],S=Object(a.useState)(!1),y=Object(d.a)(S,2),A=y[0],C=y[1],E=Object(x.g)(),L=Object(a.useContext)(X),N=L.user,I=L.userSettings,T=L.updateUser,D=L.updateUserSettings,P=L.resetValue,k=L.setListSettings,R=Object(a.useState)(!1),F=Object(d.a)(R,2),G=F[0],U=F[1],M=Object(a.useState)(!1),H=Object(d.a)(M,2),B=H[0],V=H[1],q=Object(a.useState)(!1),_=Object(d.a)(q,2),z=_[0],W=_[1],K=Object(a.useState)(null),$=Object(d.a)(K,2),J=$[0],te=$[1],ne=Object(a.useState)(!1),ae=Object(d.a)(ne,2),re=ae[0],ie=ae[1],ce=Object(a.useState)(null),oe=Object(d.a)(ce,2),se=oe[0],le=oe[1],ue=Object(a.useState)(p("General.AjaxError")),pe=Object(d.a)(ue,1)[0],be=Object(a.useState)(null),he=Object(d.a)(be,2),me=he[0],je=he[1],ve=function(){U(!1)},fe=function(){window.sessionStorage.clear(),Hn.a.signOut(),D(P),E.push("/signin")},Oe=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;W(e),te(t),ie(n),le(a)},ge=Object(fa.a)({timeout:48e4,onIdle:function(e){U(ge.isIdle())},debounce:500}),xe=Object(fa.a)({timeout:6e5,onIdle:function(e){xe.isIdle()&&(k({target:null,reducerState:null,useCache:!1}),fe())},debounce:500});return r.a.useEffect((function(){Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=null,e.prev=1,e.next=4,Hn.a.currentAuthenticatedUser();case 4:t=e.sent,e.next=9;break;case 7:e.prev=7,e.t0=e.catch(1);case 9:null!==t?(T(t),j(!0)):(T(null),j(!1),g(!1));case 10:case"end":return e.stop()}}),e,null,[[1,7]])})))()}),[T]),r.a.useEffect((function(){Object(l.a)(s.a.mark((function e(){var t,n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!m||!1!==I.Retrieved){e.next=21;break}return e.prev=1,e.next=4,Hn.a.currentUserInfo();case 4:return t=e.sent,e.next=7,u.a.get("ShipyardAPI","/usersettings");case 7:n=e.sent,a={UserName:t.attributes.email,PhoneNumber:t.attributes.phone_number,Retrieved:!0},a=Object.assign(a,ha(n)),C(i.includes(a.UserType)),D(a),g(!1),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(1),Z.b.error(pe),V(!0);case 19:e.next=22;break;case 21:m&&I.Retrieved&&(C(i.includes(I.UserType)),g(!1));case 22:case"end":return e.stop()}}),e,null,[[1,15]])})))()}),[m,pe,I.Retrieved,I.UserType,D,i]),r.a.useEffect((function(){W(G||B)}),[G,B]),Object(ee.jsx)(x.b,Object(ut.a)(Object(ut.a)({},c),{},{render:function(e){return O?null:m&&A?Object(ee.jsx)(zr,{className:"page",children:Object(ee.jsxs)(Y.Provider,{value:{displayModal:Oe,user:N,userSettings:I,updateUserSettings:D,warning:me,setWarning:je},children:[Object(ee.jsx)("div",{className:z?"blur":"",children:Object(ee.jsx)(_r,{})}),Object(ee.jsx)("div",{className:z?"blur view":"view",children:Object(ee.jsx)(Wr,{children:Object(ee.jsx)(t,Object(ut.a)({},e))})}),G?Object(ee.jsxs)(wa,{classes:["session-timeout"],titleText:se,children:[Object(ee.jsx)("p",{className:"modal-title",children:"Your session is about to expire."}),Object(ee.jsxs)("p",{children:[Object(ee.jsx)(ya,{}),Object(ee.jsx)("span",{children:"You will be logged out in:"})]}),Object(ee.jsx)(Kr,{initialMin:2,initialSec:0}),Object(ee.jsx)("p",{className:"instructions",children:'If you wish to continue working, click "Stay Logged In" or click "Log out" to end your session now.'}),Object(ee.jsxs)("div",{className:"logout-buttons",children:[Object(ee.jsx)(de,{type:"negative",onClick:fe,children:"Log out"}),Object(ee.jsx)(de,{onClick:ve,children:"Stay logged in"})]})]}):B?Object(ee.jsxs)(wa,{classes:["session-timeout"],children:[Object(ee.jsx)("p",{className:"modal-title",children:"Your session has expired."}),Object(ee.jsxs)("p",{children:[Object(ee.jsx)(ya,{}),Object(ee.jsx)("span",{children:"You will be redirected to the signin page in:"})]}),Object(ee.jsx)(Kr,{initialMin:2,initialSec:0}),Object(ee.jsx)("p",{className:"instructions",children:'Click the "Log out" button to be redirected now.'}),Object(ee.jsx)("div",{className:"logout-buttons",children:Object(ee.jsx)(de,{type:"negative",onClick:fe,children:"Log out"})})]}):z&&J?Object(ee.jsx)(wa,{classes:re?["side-modal"]:null,children:J}):null]})}):Object(ee.jsx)(x.a,{to:"/signin"})}}))};n(440);var Yr=function(){var e=Object(Q.a)(),t=Object(d.a)(e,1)[0];return Object(a.useEffect)((function(){Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_.a.get("ShipyardAPI","/reports");case 2:t=e.sent,console.log("API Gateway responded with",t);case 4:case"end":return e.stop()}}),e)})))()}),[]),Object(ee.jsx)("div",{children:t("Reports.Placeholder")})};n(441);var $r=function(){var e=Object(Q.a)(),t=Object(d.a)(e,1)[0];return Object(a.useEffect)((function(){Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_.a.get("ShipyardAPI","/schools");case 2:t=e.sent,console.log("API Gateway responded with",t);case 4:case"end":return e.stop()}}),e)})))()}),[]),Object(ee.jsx)("div",{children:t("Schools.Placeholder")})},Jr=n(442).map((function(e){return{name:e.name,code:e.code,dial_code:e.dial_code.replace(" ","")}}));var Xr=function(){var e=Object(a.useMemo)((function(){return/^\+[1-9]\d{10,14}$/}),[]),t=function(t,n){if(!t||!e.test(t))return t;if(n)return n.split("").map((function(e){return Number.isInteger(parseInt(e))?t[parseInt(e)+2]:e})).join("");var a=function(e){return Jr.filter((function(t){return e.startsWith(t.dial_code)}))}(t)[0],r=function(e){switch(e){case"AS":case"AI":case"AG":case"BS":case"BB":case"BM":case"VG":case"CA":case"KY":case"DM":case"DO":case"GD":case"GU":case"JM":case"MS":case"MP":case"PR":case"KN":case"LC":case"VC":case"TT":case"TC":case"US":case"VI":return function(e){return"(".concat(e.substring(2,5),") ").concat(e.substring(5,8),"-").concat(e.substring(8,12))};case"IN":return function(e){return"".concat(e.substring(0,3),"-").concat(e.substring(3,8)," ").concat(e.substring(8,13))};case"MX":return function(e){return"".concat(e.substring(3,5)," ").concat(e.substring(5,9)," ").concat(e.substring(9,13))};default:return!1}}(a.code);return r?r(t):(console.error("No phone formatting method written for ".concat(a.name)),t)},n=function(e){var t=e.replace(/\D/g,"");return!t||10!==t.length&&11!==t.length?e:11===t.length?"+".concat(t):"+1".concat(t)};return{fromE164:t,toE164:n,normalize:function(e){var a=e.replace(/\D/g,"");return!a||10!==a.length&&11!==a.length?e:(a=n(a),t(a))}}};var ei,ti=function(e){var t=Xr().normalize,n=Object(a.useMemo)((function(){return t(e.phoneNumber)}),[e.phoneNumber,t]);return e.link?Object(ee.jsx)("a",{className:"E164-component",href:"tel:".concat(e.phoneNumber),children:n}):Object(ee.jsx)("span",{className:"E164-component",children:n})},ni=["title","titleId"];function ai(){return ai=Object.assign||function(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ii(e,t){var n=e.title,r=e.titleId,i=ri(e,ni);return a.createElement("svg",ai({width:"21px",height:"47px",viewBox:"0 0 21 47",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:t,"aria-labelledby":r},i),n?a.createElement("title",{id:r},n):null,ei||(ei=a.createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(-1118.000000, -777.000000)",fill:"#CA9400"},a.createElement("path",{d:"M1123.29772,777 L1123.29772,803.105173 C1120.47589,800.74805 1119.01754,799.525757 1118.92266,799.438296 C1118.78034,799.307105 1118.65508,799.124418 1118.65508,798.825616 C1118.65508,798.526813 1118.5308,779.11016 1118.65508,778.208562 C1118.77936,777.306963 1119.37599,777 1119.61704,777 C1119.77774,777 1121.00463,777 1123.29772,777 Z",id:"Path-2"}),a.createElement("path",{d:"M1137.94107,777 L1137.94107,803.105173 C1135.11924,800.74805 1133.66089,799.525757 1133.566,799.438296 C1133.42368,799.307105 1133.29842,799.124418 1133.29842,798.825616 C1133.29842,798.526813 1133.17414,779.11016 1133.29842,778.208562 C1133.4227,777.306963 1134.01933,777 1134.26038,777 C1134.42108,777 1135.64798,777 1137.94107,777 Z",id:"Path-2",transform:"translate(1135.592126, 790.052586) scale(-1, 1) translate(-1135.592126, -790.052586) "}),a.createElement("path",{d:"M1130.32708,777 L1130.32708,802.545308 C1129.70925,802.262111 1129.25619,802.076984 1128.96792,801.989928 C1128.5355,801.859343 1128.27376,801.849687 1127.57807,801.989928 C1127.11428,802.083422 1126.64026,802.268548 1126.15601,802.545308 L1126.15601,777 L1130.32708,777 Z",id:"Path-3"}),a.createElement("path",{d:"M1125.22687,810.902783 C1126.17705,807.331041 1126.80032,805.406191 1127.0967,805.128235 C1127.54126,804.7113 1127.77713,804.634151 1128.22248,804.634151 C1128.66783,804.634151 1129.06599,805.016828 1129.22928,805.21377 C1129.33814,805.345064 1130.00284,807.241402 1131.22339,810.902783 L1137.27032,810.902783 C1137.91365,811.054047 1138.27516,811.365168 1138.35486,811.836144 C1138.4744,812.542609 1137.94315,812.963166 1138.02812,812.879241 C1138.08476,812.82329 1136.44363,814.096942 1133.10471,816.700195 C1134.31202,820.128987 1134.91568,821.970085 1134.91568,822.223491 C1134.91568,822.603599 1135.03212,822.932041 1134.62802,823.42277 C1134.22393,823.9135 1133.58889,824.097547 1133.24319,823.858705 C1133.01272,823.699477 1131.33915,822.492466 1128.22248,820.237672 C1125.22767,822.456569 1123.54945,823.66358 1123.18781,823.858705 C1122.64535,824.151393 1122.30028,823.944014 1121.9016,823.648142 C1121.50292,823.352271 1121.50292,822.964698 1121.49659,822.603599 C1121.49236,822.362866 1122.09274,820.395065 1123.29772,816.700195 C1120.2775,814.55383 1118.65704,813.334008 1118.43636,813.040727 C1118.10534,812.600806 1117.89627,812.339669 1118.05314,811.836144 C1118.21,811.332619 1118.61097,811.088384 1119.06389,811.026395 C1119.36584,810.985068 1121.42017,810.943864 1125.22687,810.902783 Z",id:"Path-4"})))))}var ci=a.forwardRef(ii);n.p,n(443);var oi=function(e){var t=e.userType;return Object(ee.jsxs)("div",{className:"user-type-component user-type-"+t,children:[Object(ee.jsx)("div",{className:"icon",children:Object(ee.jsx)(ci,{})}),Object(ee.jsx)("span",{children:Object(b.b)("UserType."+t)})]})};n(444);var si=function(){var e=Object(a.useContext)(Y).userSettings,t=Object(x.h)(),n=Object(a.useState)(e.ClientOrgId),r=Object(d.a)(n,2),i=r[0],c=r[1],o=Object(a.useState)(!0),u=Object(d.a)(o,2),p=u[0],b=u[1],h=Object(a.useState)([]),m=Object(d.a)(h,2),j=m[0],v=m[1],f=Object(a.useState)(!0),O=Object(d.a)(f,2),S=O[0],y=O[1],A=Object(a.useState)([]),C=Object(d.a)(A,2),E=C[0],L=C[1],N=Object(Q.a)(),I=Object(d.a)(N,1)[0],T=Object(x.g)(),D=Object(a.useState)(t.search.slice(1)),P=Object(d.a)(D,1)[0],k=[{colLabel:I("Settings.Users.Name"),colName:"Name",sortFunc:function(e){return e?function(e,t){var n="".concat(e.FirstName," ").concat(e.LastName);return"".concat(t.FirstName," ").concat(t.LastName).localeCompare(n)}:function(e,t){var n="".concat(e.FirstName," ").concat(e.LastName),a="".concat(t.FirstName," ").concat(t.LastName);return n.localeCompare(a)}},filterOn:!1},{colLabel:I("Settings.Users.Phone"),colName:"PhoneNumber",sortFunc:function(e){return e?function(e,t){return t.Phone.localeCompare(e.Phone)}:function(e,t){return e.Phone.localeCompare(t.Phone)}}},{colLabel:I("Settings.Users.Email"),colName:"EmailAddress",sortFunc:function(e){return e?function(e,t){return t.Email.localeCompare(e.Email)}:function(e,t){return e.Email.localeCompare(t.Email)}}},{colLabel:I("Settings.Users.Type"),colName:"UserType",sortFunc:function(e){return e?function(e,t){return t.UserTypeID-e.UserTypeID}:function(e,t){return e.UserTypeID-t.UserTypeID}}},{colLabel:I("Settings.Users.Updated"),colName:"LastUpdated",sortFunc:function(e){return e?function(e,t){return new Date(t.LastUpdatedUTC)-new Date(e.LastUpdatedUTC)}:function(e,t){return new Date(e.LastUpdatedUTC)-new Date(t.LastUpdatedUTC)}}}],R=function(){var e=Object(l.a)(s.a.mark((function e(t){var n;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=parseInt(t.target.value),c(n);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),F=function(){var e=Object(l.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:T.push("/sitesettings/user/0?1");case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(a.useEffect)((function(){Object(l.a)(s.a.mark((function e(){var t,n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=function(e){var t="".concat(e.FirstName," ").concat(e.LastName).trim();t=t||"User ".concat(e.UserID);var n=[Object(ee.jsx)("span",{colname:"Name",children:Object(ee.jsx)("span",{className:e.IsActive?"":"inactive",children:Object(ee.jsx)(g.b,{to:"/sitesettings/user/".concat(e.UserID,"?1"),children:t})})}),Object(ee.jsx)("span",{colname:"PhoneNumber",children:Object(ee.jsx)(ti,{phoneNumber:e.Phone})}),Object(ee.jsx)("span",{colname:"EmailAddress",children:e.Email}),Object(ee.jsx)("span",{colname:"UserType",children:Object(ee.jsx)(oi,{userType:e.UserTypeID})}),Object(ee.jsx)("span",{colname:"LastUpdated",children:Object(ee.jsx)(De,{date:e.LastUpdatedUTC,type:"short-time"})})];return Object.assign({},e,{columns:n})},e.next=3,_.a.get("ShipyardAPI","/sitesettings/"+i);case 3:n=e.sent,a=n.users.map(t),v(n.clients),L({rows:a}),b(!1),y(!1);case 9:case"end":return e.stop()}}),e)})))()}),[i]),Object(ee.jsxs)("div",{className:"settings-component",children:[Object(ee.jsxs)("div",{className:"header",children:[Object(ee.jsx)("h2",{children:Object(ee.jsx)(K.a,{children:I("Settings.Title")})}),Object(ee.jsxs)("div",{className:"client-picker",hidden:j.length<2,children:[Object(ee.jsx)("label",{htmlFor:"client-picker",children:"Site"}),Object(ee.jsx)("select",{id:"client-picker",disabled:p,value:i,onChange:R,children:j.map((function(e){return Object(ee.jsx)("option",{value:e.ClientOrgID,children:e.OrgName},"client-opt-".concat(e.ClientOrgID))}))})]})]}),Object(ee.jsxs)(Nn,{defaultTab:P?parseInt(P):null,children:[Object(ee.jsx)(Ln,{title:I("Settings.Tab.Organization"),children:"TODO: My Organization"}),Object(ee.jsxs)(Ln,{title:I("Settings.Tab.Users"),children:[e.UserType!==w.Admin&&e.UserType!==w.ScholarshipOrg?null:Object(ee.jsx)("div",{className:"buttons",children:Object(ee.jsx)(de,{type:"primary",disabled:S,onClick:F,interactive:!1,children:"Add User"})}),S?null:Object(ee.jsx)(ze,{name:"users-grid",className:"users-grid-component",counter:!1,data:E,filters:!1,headers:k,pageSize:20,search:!0})]}),Object(ee.jsx)(Ln,{title:I("Settings.Tab.Schools"),disabled:!0,children:"TODO: Private Schools"})]})]})},li=["labelText","validators","placeHolder"],di=Object(a.forwardRef)((function(e,t){var n=e.labelText,a=e.validators,r=e.placeHolder,i=Object(Zn.a)(e,li),c=[{rgx:/^[a-zA-Z][a-zA-Z '-]*[a-zA-Z]$/,failText:Object(b.b)("Name.EnterNameValid")}];if(a){var o,s=c.values(),l=Object(Kn.a)(s);try{for(l.s();!(o=l.n()).done;){var d,u=o.value,p=a.values(),h=Object(Kn.a)(p);try{for(h.s();!(d=h.n()).done;){var m=d.value;u.rgx.toString()===m.rgx.toString()&&(u.failText=m.failText)}}catch(j){h.e(j)}finally{h.f()}}}catch(j){l.e(j)}finally{l.f()}c.concat(a),c=Object(q.a)(new Set(c))}return Object(ee.jsx)(Yn,Object(ut.a)({validators:c,labelText:n||Object(b.b)("Name.NameLabel"),placeholder:r||Object(b.b)("Name.EnterName"),ref:t},i))}));di.displayName="Name";var ui=di,pi=["labelText","validators","placeHolder"],bi=Object(a.forwardRef)((function(e,t){var n=e.labelText,a=e.validators,r=e.placeHolder,i=Object(Zn.a)(e,pi),c=Xr().normalize,o=[{rgx:/^(?:(?:\+)?1|)?[(\-. ]*(\d{3})[)\-. ]*(\d{3})[-. ]*(\d{4})$/,failText:Object(b.b)("Phone.EnterPhoneValid")}];if(a){var s,l=o.values(),d=Object(Kn.a)(l);try{for(d.s();!(s=d.n()).done;){var u,p=s.value,h=a.values(),m=Object(Kn.a)(h);try{for(m.s();!(u=m.n()).done;){var j=u.value;p.rgx.toString()===j.rgx.toString()&&(p.failText=j.failText)}}catch(v){m.e(v)}finally{m.f()}}}catch(v){d.e(v)}finally{d.f()}o.concat(a),o=Object(q.a)(new Set(o))}return Object(ee.jsx)(Yn,Object(ut.a)(Object(ut.a)({validators:o,type:"phone",labelText:n||Object(b.b)("Phone.PhoneNumberLabel"),placeholder:r||Object(b.b)("Phone.EnterPhoneNumber"),formatter:c},i),{},{ref:t}))}));bi.displayName="Phone";var hi=bi;n(445);var mi=function(){var e=Object(Q.a)(),t=Object(d.a)(e,1)[0],n=function(e){return"true"!==e.attributes["aria-invalid"].value},i=r.a.useState(""),c=Object(d.a)(i,2),o=c[0],u=c[1],p=r.a.useState(1),b=Object(d.a)(p,2),h=b[0],m=b[1],j=Object(a.useState)(!1),v=Object(d.a)(j,2),f=v[0],O=v[1],S=Object(a.useState)(!1),y=Object(d.a)(S,2),A=y[0],w=y[1],C=Object(a.useState)(!0),E=Object(d.a)(C,2),L=E[0],N=E[1],I=Object(a.useState)(!0),T=Object(d.a)(I,2),D=T[0],P=T[1],k=Object(a.useState)(!0),R=Object(d.a)(k,2),F=R[0],G=R[1],U=Object(a.useState)(!0),M=Object(d.a)(U,2),H=M[0],B=M[1],V=Object(a.useState)(!0),q=Object(d.a)(V,2),_=q[0],z=q[1],W=Object(a.useState)(!0),Y=Object(d.a)(W,2),$=Y[0],X=Y[1],te=r.a.useState(!1),ne=Object(d.a)(te,2),ae=ne[0],re=ne[1],ie=Object(a.useState)(),ce=Object(d.a)(ie,2),oe=ce[0],se=ce[1],le=Object(x.g)(),de=Object(a.useRef)(),ue=Object(a.useRef)(),pe=Object(a.useRef)(),be=Object(a.useRef)(),he=Object(a.useRef)(),me=Object(a.useRef)(),je=function(){var e=Object(l.a)(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.preventDefault(),O(!0);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ve=function(){var e=Object(l.a)(s.a.mark((function e(n){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.preventDefault(),e.prev=1,re(!0),e.next=5,Hn.a.confirmSignUp(null===oe||void 0===oe?void 0:oe.email,o);case 5:return e.next=7,Hn.a.signIn(null===oe||void 0===oe?void 0:oe.email,null===oe||void 0===oe?void 0:oe.password);case 7:re(!1),le.push("/applications"),e.next=19;break;case 11:e.prev=11,e.t0=e.catch(1),console.error("Shipyard: Error verifying sign up",e.t0),re(!1),"CodeMismatchException"===e.t0.name&&Z.b.error(t("Authentication.VerificationCodeIncorrect")),"ExpiredCodeException"===e.t0.name&&(Z.b.error(t("Authentication.VerificationCodeExpired")),Hn.a.resendSignUp(null===oe||void 0===oe?void 0:oe.email),u("")),"InvalidLambdaResponseException"===e.t0.name&&Z.b.error(t("General.UnknownError")),e.t0.message&&e.t0.message.indexOf("status is CONFIRMED")>0&&(Z.b.success(t("Authentication.AccountVerified")),le.push("/signin"));case 19:case"end":return e.stop()}}),e,null,[[1,11]])})));return function(t){return e.apply(this,arguments)}}();return Object(a.useEffect)((function(){if(O(!1),A){var e=/^(?:(?:\+)?1|)?[(\-. ]*(\d{3})[)\-. ]*(\d{3})[-. ]*(\d{4})$/;w(!1);var a=function(){var a=Object(l.a)(s.a.mark((function a(){var r,i,c,o,l,d;return s.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(n(pe.current)&&n(be.current)&&n(de.current)&&n(he.current)){a.next=5;break}return Z.b.error(t("Authentication.CreateAccount.InvalidInput")),(c=document.getElementsByClassName("validated-input invalid")).length&&c[0].querySelector("input").focus(),a.abrupt("return");case 5:if((null===ue||void 0===ue||null===(r=ue.current)||void 0===r?void 0:r.value)===(null===me||void 0===me||null===(i=me.current)||void 0===i?void 0:i.value)){a.next=8;break}return Z.b.error(t("Authentication.CreateAccount.PasswordsNotMatch")),a.abrupt("return");case 8:return o=he.current.value.match(e),l="+1"+o[1]+o[2]+o[3],re(!0),a.prev=11,a.next=14,Hn.a.signUp({username:de.current.value,password:ue.current.value,attributes:{email:de.current.value,phone_number:l,given_name:pe.current.value,family_name:be.current.value}});case 14:if(d=a.sent,re(!1),!d||!d.codeDeliveryDetails||"EMAIL"!==d.codeDeliveryDetails.DeliveryMedium){a.next=20;break}return se({email:de.current.value,password:ue.current.value}),m(2),a.abrupt("return");case 20:Z.b.error(t("General.UnknownError")),a.next=37;break;case 23:if(a.prev=23,a.t0=a.catch(11),re(!1),console.error("Shipyard: error signing up:",a.t0),"InvalidPasswordException"!==a.t0.name){a.next=30;break}return Z.b.error(t("Authentication.PasswordWeak")),a.abrupt("return");case 30:if("UsernameExistsException"!==a.t0.name){a.next=33;break}return Z.b.error(t("Authentication.CreateAccount.AccountExists")),a.abrupt("return");case 33:if(!(a.t0.message&&a.t0.message.indexOf("SignUp is not permitted")>=0)){a.next=36;break}return Z.b.error(t("Authentication.CreateAccount.NotAllowed")),a.abrupt("return");case 36:Z.b.error(t("General.UnknownError"));case 37:case"end":return a.stop()}}),a,null,[[11,23]])})));return function(){return a.apply(this,arguments)}}();a()}}),[A,t]),Object(ee.jsxs)("div",{id:"page-signup",children:[Object(ee.jsxs)("div",{id:"page-signup-foreground",children:[Object(ee.jsx)("h1",{children:Object(ee.jsx)(ca,{})}),Object(ee.jsxs)("div",{role:"main",children:[1===h&&Object(ee.jsx)("form",{id:"form-signup",children:Object(ee.jsxs)(J.Provider,{value:{triggerValidation:f,validationFinished:w},children:[Object(ee.jsx)("h2",{children:t("Authentication.CreateAccount.Title")}),Object(ee.jsx)("p",{children:t("Authentication.CreateAccount.Instructions")}),Object(ee.jsx)(ui,{ref:pe,labelText:t("Authentication.CreateAccount.FirstName"),placeholder:t("Authentication.CreateAccount.EnterFirstName"),disabled:ae,autofocus:!0,onChange:function(e){return G(0===e.length)}}),Object(ee.jsx)(ui,{ref:be,labelText:t("Authentication.CreateAccount.LastName"),placeholder:t("Authentication.CreateAccount.EnterLastName"),disabled:ae,onChange:function(e){return B(0===e.length)}}),Object(ee.jsx)(la,{ref:de,labelText:t("Authentication.CreateAccount.Email"),placeholder:t("Authentication.CreateAccount.EnterEmail"),disabled:ae,onChange:function(e){return N(0===e.length)}}),Object(ee.jsx)(hi,{ref:he,labelText:t("Authentication.CreateAccount.Mobile"),placeholder:t("Authentication.CreateAccount.EnterMobile"),type:"tel",disabled:ae,onChange:function(e){return z(0===e.length)}}),Object(ee.jsx)(Xn,{innerRef:ue,labelText:t("Authentication.Password"),placeholder:t("Authentication.EnterPassword"),disabled:ae,onChange:function(e){return P(0===e.length)}}),Object(ee.jsx)(Xn,{innerRef:me,labelText:t("Authentication.CreateAccount.RepeatPassword"),placeholder:t("Authentication.CreateAccount.EnterRepeatPassword"),disabled:ae,onChange:function(e){return X(0===e.length)}}),Object(ee.jsx)(Wn,{action:je,disabled:ae||F||H||L||_||D||$,children:t("Authentication.CreateAccount.SendCode")}),Object(ee.jsx)("div",{id:"terms",children:Object(ee.jsx)(K.a,{linkTarget:"_blank",children:t("Authentication.CreateAccount.TermsAndConditions")})}),Object(ee.jsxs)("div",{id:"return-to-login",children:[t("Authentication.CreateAccount.AlreadyHave")+" "," ",Object(ee.jsx)(g.b,{to:"/signin",children:t("Authentication.CreateAccount.LogIn")})]})]})}),2===h&&Object(ee.jsxs)("form",{id:"form-verify",onSubmit:ve,children:[Object(ee.jsx)("h2",{children:t("Authentication.CreateAccount.EnterCode")}),Object(ee.jsx)("p",{children:t("Authentication.CreateAccount.CodeInstructions")}),Object(ee.jsx)(ua,{digits:"6",value:o,onChange:u,label:"Verification Code",autofocus:!0,disabled:ae}),Object(ee.jsx)(Wn,{action:ve,disabled:ae||o.length<6,children:t("Authentication.CreateAccount.CodeSubmit")})]})]})]}),Object(ee.jsx)("div",{id:"page-signup-background"})]})},ji=n(73);var vi=function(e){var t=Xr().toE164,n=r.a.useState(!1),i=Object(d.a)(n,2),c=i[0],o=i[1],s=r.a.useState(!!(null===e||void 0===e?void 0:e.validate)&&e.validate),l=Object(d.a)(s,2),u=l[0],p=l[1],h=r.a.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.children;return r.a.Children.map(t,(function(e){var t,n,a,r,i;return e&&(null===(t=e.props)||void 0===t?void 0:t.children)&&"LabeledSelect"!==(null===e||void 0===e||null===(n=e.type)||void 0===n?void 0:n.displayName)?h(e.props.children):"LabeledSelect"===(null===e||void 0===e||null===(a=e.type)||void 0===a?void 0:a.displayName)&&(null===e||void 0===e||null===(r=e.props)||void 0===r?void 0:r.formKey)||(null===e||void 0===e||null===(i=e.props)||void 0===i?void 0:i.formKey)?e:void 0}))}),[e.children]),m=r.a.useMemo((function(){return(null===e||void 0===e?void 0:e.refs)?e.refs:h(e.children)}),[h,e]);return Object(a.useEffect)((function(){var t=e.onValidSave,n=e.onInvalidSave;c&&(m.every((function(e){var t;return void 0===(null===e||void 0===e?void 0:e.attributes["aria-invalid"])||"false"===(null===e||void 0===e||null===(t=e.attributes["aria-invalid"])||void 0===t?void 0:t.nodeValue)}))?"function"===typeof t&&t():("function"===typeof n&&n(),Z.b.error(Object(b.b)("General.ValidationError"))),p(!1),o(!1))}),[c,m,e.onValidSave,e.onInvalidSave]),Object(ee.jsx)("div",{className:(e.className?e.className+" ":"")+"form-component",children:Object(ee.jsxs)(J.Provider,{value:{triggerValidation:u,validationFinished:o},children:[e.children,Object(ee.jsxs)($e,{classes:["form-buttons-container","bottom"],children:[(null===e||void 0===e?void 0:e.otherButtons)?e.otherButtons:null,e.primaryButton?Object(ee.jsx)(de,{className:"save-button",onClick:function(){var n,a={};m.forEach((function(e){var n;return a[e.dataset.formKey]="phone"===(null===e||void 0===e||null===(n=e.dataset)||void 0===n?void 0:n.type)?t(e.value):e.value})),"function"===typeof(null===e||void 0===e||null===(n=e.onUserInteract)||void 0===n?void 0:n.handleSave)&&e.onUserInteract.handleSave(a),p(!0),c&&o(!1)},interactiveText:(null===e||void 0===e?void 0:e.primaryButtonInteractiveText)?e.primaryButtonInteractiveText:"Submitting",children:(null===e||void 0===e?void 0:e.primaryButtonText)?e.primaryButtonText:"Submit"}):null]})]})})};n(446);var fi=function(e){var t=Object(Q.a)(),n=Object(d.a)(t,1)[0],i=Object(a.useContext)(Y),c=i.displayModal,o=i.user,u=i.userSettings,p=i.updateUserSettings,b=r.a.useState(!1),h=Object(d.a)(b,2),m=h[0],j=h[1],v=r.a.useState(),f=Object(d.a)(v,2),O=f[0],g=f[1],x=r.a.useState(!0),S=Object(d.a)(x,2),y=S[0],A=S[1],w=r.a.useState(n("General.AjaxError")),C=Object(d.a)(w,1)[0],E=Object(a.useRef)([]);function L(e){A(e);var t=[Object(ee.jsx)(de,{type:"grey",onClick:function(){return L(!1)},children:n("UserSettings.CancelChangePasswordButtonText")})];c(e,e?function(){return Object(ee.jsx)("div",{className:"change-password-modal",children:Object(ee.jsx)(ta,{callback:N,usingCurrentPassword:!0,nextButton:!1,extraButtons:t})})}:null)}var N=function(e,t){A(!0),ji.a.changePassword(o,e,t,{given_name:"Tucker",family_name:"Brown"}).then((function(e){e&&!e.challengeName&&Z.b.success(n("Authentication.PasswordChanged")),A(!1),L(!1)})).catch((function(e){switch(e.code){case"LimitExceededException":Z.b.error(n("Authentication.AttemptsExceeded"));break;case"NotAuthorizedException":Z.b.error(n("Authentication.InvalidCredentials"));break;default:Z.b.error(n("General.AjaxError"))}A(!1)}))},I=function(e){e&&!E.current.includes(e)&&E.current.push(e)};Object(a.useEffect)((function(){u.Retrieved&&"undefined"===typeof O&&(g(u),A(!1))}),[u.Retrieved,O,u]);var T=Object(ee.jsxs)("h2",{children:[Object(ee.jsx)("span",{children:n("UserSettings.HeaderMy")})," ",Object(ee.jsx)("span",{children:n("UserSettings.HeaderInfo")})]});return Object(ee.jsx)(Xe,{viewTitle:T,doingAjax:y,name:"user-settings",children:Object(ee.jsx)(vi,{ajaxErrorMessage:C,onValidSave:function(){Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t={body:{FirstName:O.FirstName,LastName:O.LastName,Notifications:{Email:O["Notifications.Email"]}}},e.next=4,_.a.patch("ShipyardAPI","/usersettings",t);case 4:Z.b.success(n("General.ChangesSaved")),A(!1),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),Z.b.error(C),A(!1);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})))()},refs:E.current,onInvalidSave:function(){A(!1)},primaryButton:!0,primaryButtonText:n("UserSettings.SaveButtonText"),primaryButtonInteractiveText:n("General.InteractiveSave"),onUserInteract:{handleSave:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p(Object.assign(u,e)),g(e),A(!0),j(!0)},handleForm:g},children:Object(ee.jsxs)(Ze,{children:[Object(ee.jsxs)(cn,{classes:["personal-info"],headerText:n("UserSettings.PersonalSectionTitle"),children:[Object(ee.jsxs)("div",{className:"same-row",children:[Object(ee.jsx)(ui,{value:(null===O||void 0===O?void 0:O.FirstName)?O.FirstName:"",formKey:"FirstName",validators:[{rgx:/.+/,failText:n("UserSettings.EnterFirstNameValid")}],ref:I,forceValidation:m,labelText:n("UserSettings.FirstNameLabel"),placeholder:n("UserSettings.EnterFirstName")}),Object(ee.jsx)(ui,{value:(null===O||void 0===O?void 0:O.LastName)?O.LastName:"",formKey:"LastName",validators:[{rgx:/.+/,failText:n("UserSettings.EnterLastNameValid")}],initialValue:"",ref:I,forceValidation:m,labelText:n("UserSettings.LastNameLabel"),placeholder:n("UserSettings.EnterLastName")})]}),Object(ee.jsx)(la,{value:O&&O["Notifications.Email"]?O["Notifications.Email"]:"",formKey:"Notifications.Email",ref:I,forceValidation:m}),Object(ee.jsx)(hi,{value:(null===O||void 0===O?void 0:O.PhoneNumber)?O.PhoneNumber:"",formKey:"PhoneNumber",ref:I,forceValidation:m}),Object(ee.jsx)("div",{className:"language-container"})]}),Object(ee.jsxs)(cn,{headerText:n("UserSettings.AccountSectionTitle"),children:[Object(ee.jsx)(Yn,{value:o.attributes.email,formKey:"UserName",labelText:n("UserSettings.UserNameLabel"),placeholder:n("UserSettings.EnterUserName"),ref:I,disabled:!0}),Object(ee.jsx)(Yn,{value:Array(8).fill("*").join(""),labelText:n("Authentication.Password"),placeholder:n("Authentication.EnterPassword"),disabled:!0}),Object(ee.jsx)(de,{className:"change-password-button",onClick:function(){return L(!0)},type:"secondary",children:n("UserSettings.ChangePasswordButtonText")}),Object(ee.jsx)("div",{style:{height:"350px"}})]})]})})})};n(447);var Oi=function(e){var t,n=e.callback,r=e.userId,i=e.buttons,c=Object(a.useState)(!0),o=Object(d.a)(c,2),u=o[0],p=o[1],h=Object(a.useState)(""),m=Object(d.a)(h,2),j=m[0],v=m[1],f=Object(a.useState)(""),O=Object(d.a)(f,2),g=O[0],x=O[1],S=Object(a.useState)(!1),y=Object(d.a)(S,2),A=y[0],w=y[1],C=Object(a.useRef)();function E(){return(E=Object(l.a)(s.a.mark((function e(){var t,a,i,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(p(!0),e.prev=1,A){e.next=7;break}throw w(!0),new Error("ChangeUsername.UsernameError");case 7:if("true"!==(null===(t=C.current)||void 0===t||null===(a=t.attributes["aria-invalid"])||void 0===a?void 0:a.nodeValue)){e.next=11;break}throw new Error("ChangeUsername.UsernameError");case 11:return e.next=13,_.a.patch("ShipyardAPI","/usersettings/".concat(r),{body:{newUsername:g},queryStringParameters:{changeUsername:!0}});case 13:Z.b.success("Username changed successfully!"),null===n||void 0===n||n(g);case 15:e.next=21;break;case 17:e.prev=17,e.t0=e.catch(1),(null===e.t0||void 0===e.t0||null===(i=e.t0.response)||void 0===i||null===(c=i.data)||void 0===c?void 0:c.message)?Z.b.error(Object(b.b)(e.t0.response.data.message)):(null===e.t0||void 0===e.t0?void 0:e.t0.message)?Z.b.error(Object(b.b)(e.t0.message)):Z.b.error(Object(b.b)("General.AjaxError")),p(!1);case 21:case"end":return e.stop()}}),e,null,[[1,17]])})))).apply(this,arguments)}return Object(a.useEffect)((function(){if(r){var e=function(){var e=Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p(!0),e.next=3,_.a.get("ShipyardAPI","/usersettings/".concat(r),{queryStringParameters:{userNameOnly:!0}});case 3:t=e.sent,v((null===t||void 0===t?void 0:t.userName)?t.userName:""),p(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[r]),Object(ee.jsxs)(Xe,{viewTitle:Object(ee.jsxs)("h2",{children:[Object(b.b)("ChangeUsername.Title"),Object(ee.jsx)("hr",{})]}),name:"change-username",children:[Object(ee.jsx)(Yn,{labelText:Object(b.b)("ChangeUsername.UsernameLabel"),disabled:!0,value:j}),Object(ee.jsx)(la,{labelText:Object(b.b)("ChangeUsername.NewUsernameLabel"),disabled:u,value:g,onBlur:function(e){w(!0),x(e)},required:!0,forceValidation:A,ref:C}),Object(ee.jsxs)("div",{className:"button-row",children:[Object(a.isValidElement)(i)||(null===i||void 0===i||null===(t=i.every)||void 0===t?void 0:t.call(i,(function(e){return Object(a.isValidElement)(e)})))?i:null,Object(ee.jsx)(de,{interactive:!1,onClick:function(){return E.apply(this,arguments)},disabled:u,children:Object(b.b)("General.Save")})]})]})};n(448);var gi=function(e){var t,n,r=Xr().toE164,i=parseInt(e.match.params.userId),c=Object(x.h)(),o=Object(Q.a)(),u=Object(d.a)(o,1)[0],p=Object(a.useContext)(Y),b=p.displayModal,h=p.userSettings,m=Object(x.g)(),j=Object(a.useState)(!0),v=Object(d.a)(j,2),f=v[0],O=v[1],g=Object(a.useState)(!1),S=Object(d.a)(g,2),y=S[0],A=S[1],C=Object(a.useState)({}),E=Object(d.a)(C,2),L=E[0],N=E[1],I=Object(a.useState)([]),T=Object(d.a)(I,2),D=T[0],P=T[1],k=Object(a.useState)(c.search.slice(1)),R=Object(d.a)(k,1)[0],F=Object(a.useState)(!1),G=Object(d.a)(F,2),U=G[0],M=G[1],H=Object(a.useState)(!1),V=Object(d.a)(H,2),q=V[0],z=V[1],W=Object(a.useRef)(),$=Object(a.useRef)(),X=Object(a.useRef)(),te=Object(a.useRef)(),ne=Object(a.useRef)();Object(a.useEffect)((function(){var e=function(){var e=Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return N({Active:!0,ClientName:"",ClientOrgId:h.ClientOrgId,CreatedUTC:void 0,FirstName:"",LanguagePreference:"en-US",LastName:"",Notifications:{ByEmail:!1,BySms:!1,Email:"",Sms:""},UpdatedUTC:void 0,UserId:0,UserType:w.Parent,SchoolId:""}),e.prev=1,e.next=4,_.a.get("ShipyardAPI","/sitesettings/schools");case 4:t=e.sent,P(t.schoolsList),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0),Z.b.error(u("General.AjaxError"));case 12:O(!1);case 13:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(){return e.apply(this,arguments)}}();Object(l.a)(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==i){t.next=2;break}return t.abrupt("return",e());case 2:return t.prev=2,t.next=5,_.a.get("ShipyardAPI","/usersettings/"+i);case 5:n=t.sent,N(n.userDetails),P(n.schoolList),O(!1),t.next=16;break;case 11:t.prev=11,t.t0=t.catch(2),console.error(t.t0),Z.b.error(u("General.AjaxError")),m.push(B(h.UserType));case 16:case"end":return t.stop()}}),t,null,[[2,11]])})))()}),[m,u,i,h.ClientOrgId,h.UserType]);var ae=[{Id:w.Parent},{Id:w.PrivateSchool},{Id:w.ScholarshipOrg},{Id:w.Admin}],re=Object(a.useCallback)((function(){h.UserType!==w.Admin?m.push("/settings?".concat(R)):m.push("/sitesettings?".concat(R))}),[R,m,h.UserType]),ie=function(){var e=Object(l.a)(s.a.mark((function e(){var t,n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=function(){b(!1)},n=function(){var e=Object(l.a)(s.a.mark((function e(n){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(!0),e.prev=1,e.next=4,_.a.patch("ShipyardAPI","/usersettings/".concat(L.UserId,"/password"),{body:{newPass:n}});case 4:Z.b.success(u("General.ChangesSaved")),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(1),console.error(e.t0),Z.b.error(u("General.AjaxError"));case 11:A(!1),t();case 13:case"end":return e.stop()}}),e,null,[[1,7]])})));return function(t){return e.apply(this,arguments)}}(),a=[Object(ee.jsx)(de,{type:"grey",onClick:t,children:u("UserSettings.CancelChangePasswordButtonText")})],b(!0,(function(){return Object(ee.jsx)("div",{className:"change-password-modal",children:Object(ee.jsx)(ta,{callback:n,usingCurrentPassword:!1,nextButton:!1,extraButtons:a})})}));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ce=function(){var e=Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=function(e){b(!1),"string"===typeof e&&N((function(t){var n=Object.assign({},t,{UserName:e});return console.log(n),n}))},b(!0,Object(ee.jsx)(Oi,{userId:i,callback:t,buttons:Object(ee.jsx)(de,{type:"grey",onClick:t,children:u("UserSettings.CancelChangePasswordButtonText")})}));case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),oe=function(){var e=Object(l.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(L.Active){e.next=3;break}return Z.b.error("Reactivating users not implemented yet."),e.abrupt("return");case 3:return A(!0),e.prev=4,e.next=7,_.a.del("ShipyardAPI","/usersettings/"+L.UserId);case 7:Z.b.success(u("UserSettings.Other.Deleted")),re(),e.next=16;break;case 11:e.prev=11,e.t0=e.catch(4),console.error(e.t0),Z.b.error(u("General.AjaxError")),re();case 16:A(!1);case 17:case"end":return e.stop()}}),e,null,[[4,11]])})));return function(){return e.apply(this,arguments)}}(),se=function(){var e=Object(l.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:N((function(e){return Object.assign(Object(ut.a)({},e),{Active:"true"===X.current.value,ClientOrgId:h.ClientOrgId,FirstName:W.current.value,LastName:$.current.value,Notifications:{ByEmail:!1,BySms:!1,Email:ne.current.value,Sms:te.current.value}})})),M(!0);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();Object(a.useEffect)((function(){if(q){var e=function(e){var t;return void 0===(null===e||void 0===e?void 0:e.attributes["aria-invalid"])||"false"===(null===e||void 0===e||null===(t=e.attributes["aria-invalid"])||void 0===t?void 0:t.nodeValue)};if(z(!1),M(!1),e(W.current)&&e($.current)&&e(ne.current)&&e(te.current)){var t,n,a=function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(!0),e.prev=1,e.next=4,_.a.post("ShipyardAPI","/usersettings",{body:t});case 4:Z.b.success(u("General.ChangesSaved")),re(),e.next=13;break;case 8:e.prev=8,e.t0=e.catch(1),console.error(e.t0),A(!1),Z.b.error((null===e.t0||void 0===e.t0||null===(n=e.t0.response)||void 0===n||null===(a=n.data)||void 0===a?void 0:a.message)?u(e.t0.response.data.message):u("General.AjaxError"));case 13:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}(),i=function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A(!0),e.prev=1,e.next=4,_.a.patch("ShipyardAPI","/usersettings/"+L.UserId,{body:t});case 4:Z.b.success(u("General.ChangesSaved")),e.next=12;break;case 7:e.prev=7,e.t0=e.catch(1),console.error(e.t0),A(!1),Z.b.error((null===e.t0||void 0===e.t0||null===(n=e.t0.response)||void 0===n||null===(a=n.data)||void 0===a?void 0:a.message)?u(e.t0.response.data.message):u("General.AjaxError"));case 12:A(!1);case 13:case"end":return e.stop()}}),e,null,[[1,7]])})));return function(t){return e.apply(this,arguments)}}(),c={firstName:W.current.value,lastName:$.current.value,userType:L.UserType,languagePreference:L.LanguagePreference,isActive:"true"===X.current.value,notificationBySms:null===(t=L.Notifications)||void 0===t?void 0:t.BySms,notificationByEmail:null===(n=L.Notifications)||void 0===n?void 0:n.ByEmail,phone:r(te.current.value),email:ne.current.value,schoolId:L.SchoolId?L.SchoolId:null};return 0===L.UserId?a(c):i(c)}Z.b.error(u("General.ValidationError")),A(!1)}}),[q,L,re,u,r]);var le=Object(ee.jsxs)("div",{className:"header",children:[Object(ee.jsx)("button",{onClick:re,children:u("UserSettings.Other.Back")}),Object(ee.jsx)("h2",{children:f?Object(ee.jsx)(et,{width:"10em"}):Object(ee.jsx)("div",{children:0===i?Object(ee.jsx)(K.a,{components:{p:"span"},children:u("UserSettings.Other.New")}):Object(ee.jsx)(K.a,{components:{p:"span"},children:u("UserSettings.Other.Title",{userFullName:"".concat(L.FirstName," ").concat(L.LastName).trim()})})})})]}),ue=Object(a.useMemo)((function(){if(f)return{created:null,updated:null};var e={year:"2-digit",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",timeZoneName:"short",timeZone:h.ClientTimeZone};return{created:void 0!==L.CreatedUTC?"".concat(new Intl.DateTimeFormat(h.LanguagePreference,e).format(new Date(L.CreatedUTC))):"".concat(new Intl.DateTimeFormat(h.LanguagePreference,e).format(new Date)),updated:void 0!==L.UpdatedUTC?"".concat(new Intl.DateTimeFormat(h.LanguagePreference,e).format(new Date(L.UpdatedUTC))):"".concat(new Intl.DateTimeFormat(h.LanguagePreference,e).format(new Date))}}),[L,f,h]),pe=Object(a.useMemo)((function(){var e;switch(L.UserType){case 1:e=Object(ee.jsx)(Yn,{labelText:u("UserSettings.Other.Organization"),value:u("General.NA"),disabled:!0,showDataPlaceholder:f});break;case 2:e=Object(ee.jsx)(nt,{labelText:u("UserSettings.Other.Organization"),setValue:function(e){N((function(t){return Object.assign(Object(ut.a)({},t),{SchoolId:parseInt(e)})}))},value:L.SchoolId,disabled:y||0!==L.UserId&&4!==h.UserType,children:D.map((function(e){return Object(ee.jsx)("option",{value:e.SchoolID,children:e.SchoolName},"school-".concat(e.SchoolID))}))});break;case 3:e=Object(ee.jsx)(Yn,{labelText:u("UserSettings.Other.Organization"),value:u("UserSettings.Other.ScholarshipOrg"),disabled:!0,showDataPlaceholder:f});break;default:e=Object(ee.jsx)(Yn,{labelText:u("UserSettings.Other.Organization"),value:(null===L||void 0===L?void 0:L.ClientName)?L.ClientName:u("UserSettings.Other.AdminOrg"),disabled:!0,showDataPlaceholder:f})}return e}),[L,y,f,D,u,h.UserType]);return Object(ee.jsx)("div",{className:"user-settings-other-component",children:Object(ee.jsx)(Xe,{viewTitle:le,children:Object(ee.jsxs)(J.Provider,{value:{triggerValidation:U,validationFinished:z},children:[Object(ee.jsx)(Ze,{children:Object(ee.jsxs)(cn,{classes:["user-info"],headerText:u("UserSettings.Other.Header"),children:[Object(ee.jsx)(ui,{labelText:u("UserSettings.Other.FirstName"),value:L.FirstName,ref:W,disabled:y,showDataPlaceholder:f}),Object(ee.jsx)(ui,{labelText:u("UserSettings.Other.LastName"),value:L.LastName,ref:$,disabled:y,showDataPlaceholder:f}),Object(ee.jsx)(Yn,{labelText:u("UserSettings.Other.CreatedDate"),value:ue.created,disabled:!0,showDataPlaceholder:f}),Object(ee.jsx)(Yn,{labelText:u("UserSettings.Other.LastUpdated"),value:ue.updated,disabled:!0,showDataPlaceholder:f}),Object(ee.jsxs)("div",{className:"user-type",children:[Object(ee.jsx)("div",{id:"user-type-label",children:u("UserSettings.Other.UserType")}),f?Object(ee.jsx)(et,{width:"100%"}):Object(ee.jsx)(_e.a,{className:"user-type-selector",isDisabled:y||0!==L.UserId&&4!==h.UserType,value:ae.find((function(e){return e.Id===L.UserType})),"aria-labelledby":"user-type-label",onChange:function(e){h.UserTypeh.UserType?Z.b.error(u("UserSettings.Other.UnableToElevate")):N((function(t){return Object.assign(Object(ut.a)({},t),{Active:"true"===X.current.value,ClientOrgId:h.ClientOrgId,FirstName:W.current.value,LastName:$.current.value,Notifications:{ByEmail:!1,BySms:!1,Email:ne.current.value,Sms:te.current.value},UserType:e.Id})}))},options:ae,isSearchable:!1,isMulti:!1,classNamePrefix:"user-type-selector",isClearable:!1,menuPlacement:"auto",formatOptionLabel:function(e){return Object(ee.jsx)(oi,{userType:e.Id})}})]}),pe,Object(ee.jsx)(wn,{changeCallback:function(e){var t=Object.assign({},L,{LanguagePreference:e});N(t)},disabled:!0,showDataPlaceholder:f,value:L.LanguagePreference}),Object(ee.jsxs)(nt,{labelText:u("UserSettings.Other.Status"),value:L.Active,ref:X,disabled:y,showDataPlaceholder:f,children:[Object(ee.jsx)("option",{value:!0,children:u("UserSettings.Other.Active")}),Object(ee.jsx)("option",{value:!1,children:u("UserSettings.Other.Inactive")})]}),Object(ee.jsx)(hi,{labelText:u("UserSettings.Other.SmsLocation"),value:null===(t=L.Notifications)||void 0===t?void 0:t.Sms,ref:te,disabled:y,showDataPlaceholder:f}),Object(ee.jsx)(la,{labelText:u("UserSettings.Other.EmailLocation"),value:null===(n=L.Notifications)||void 0===n?void 0:n.Email,ref:ne,disabled:y,showDataPlaceholder:f}),(null===L||void 0===L?void 0:L.UserId)>0?Object(ee.jsx)(la,{labelText:"Username",value:null===L||void 0===L?void 0:L.UserName,disabled:!0,showDataPlaceholder:f}):null,(null===L||void 0===L?void 0:L.UserId)>0?Object(ee.jsx)(Yn,{labelText:"Password",value:"********",disabled:!0,showDataPlaceholder:f}):null]})}),Object(ee.jsxs)("div",{className:"buttons",children:[Object(ee.jsx)(de,{type:"negative",onClick:oe,disabled:f||y||0===(null===L||void 0===L?void 0:L.UserId),children:L.Active?u("UserSettings.Other.Delete"):u("UserSettings.Other.Undelete")}),h.UserType===w.Admin&&(null===L||void 0===L?void 0:L.UserId)>0?Object(ee.jsx)(de,{type:"tertiary",onClick:ce,disabled:f||y,children:u("UserSettings.ChangeUsernameButtonText")}):null,h.UserType===w.Admin&&(null===L||void 0===L?void 0:L.UserId)>0?Object(ee.jsx)(de,{type:"tertiary",onClick:ie,disabled:f||y,children:u("UserSettings.ChangePasswordButtonText")}):null,Object(ee.jsx)(de,{type:"grey",onClick:re,disabled:f||y,children:u("General.Cancel")}),Object(ee.jsx)(de,{type:"primary",onClick:se,interactive:!1,disabled:f||y,children:u("UserSettings.Other.Save")})]})]})})})},xi=(n(449),[{colLabel:Object(b.b)("Students.STN"),colName:"StateStudentID",sortFunc:function(e){return e?function(e,t){return t.StateStudentID-e.StateStudentID}:function(e,t){return e.StateStudentID-t.StateStudentID}}},{colLabel:Object(b.b)("Students.Student"),colName:"StudentName",sortFunc:function(e){return e?function(e,t){return t.StudentName.localeCompare(e.StudentName)}:function(e,t){return e.StudentName.localeCompare(t.StudentName)}}},{colLabel:Object(b.b)("Students.Grade"),colName:"Grade",sortFunc:function(e){return e?function(e,t){return t.Grade-e.Grade}:function(e,t){return e.Grade-t.Grade}}},{colLabel:Object(b.b)("Students.Parent"),colName:"ParentName",sortFunc:function(e){return e?function(e,t){return t.ParentName.localeCompare(e.ParentName)}:function(e,t){return e.ParentName.localeCompare(t.ParentName)}}},{colLabel:Object(b.b)("Students.Submitted"),colName:"Submitted",sortFunc:function(e){return e?function(e,t){return t.Submitted-e.Submitted}:function(e,t){return e.Submitted-t.Submitted}}},{colLabel:Object(b.b)("Students.Status"),colName:"StatusID",sortFunc:function(e){return e?function(e,t){return t.StatusID0?Object(ee.jsx)(ze,{name:"school-review-grid",className:"school-review-grid",title:Object(b.b)("Students.SchoolReview"),headers:xi,data:v,pageSize:5,filters:!1}):null,(null===S||void 0===S||null===(n=S.rows)||void 0===n?void 0:n.length)>0?Object(ee.jsx)(ze,{name:"new-applications-grid",className:"new-applications-grid",title:Object(b.b)("Students.NewApplications"),headers:xi,data:S,pageSize:5,filters:!1}):null,(null===C||void 0===C||null===(r=C.rows)||void 0===r?void 0:r.length)>0?Object(ee.jsx)(ze,{name:"current-roster-grid",className:"current-roster-grid",title:Object(b.b)("Students.CurrentRoster"),headers:Si,data:C,pageSize:5,filters:!1}):null,Object(ee.jsx)(de,{type:"grey",className:"renew-acceptance-button",onClick:function(){c.push("/students/renewals")},children:Object(b.b)("Students.RenewAcceptance")})]})}var Ai=function(){var e,t=new Date;t.getMonth()<=6?e=t.getFullYear()-1+" - "+t.getFullYear():e=t.getFullYear()+" - "+(t.getFullYear()+1);return e},wi=(n(450),[{colLabel:Object(b.b)("Students.AcceptRenewals.StudentNameHeader"),colName:"StudentName",colSize:"10%"},{colLabel:Object(b.b)("Students.AcceptRenewals.AcceptRenewalHeader"),colName:"checkbox"}]);function Ci(e){var t,n,r=Object(a.useContext)(Y),i=r.userSettings,c=r.displayModal,o=Object(x.g)(),p=Object(a.useState)(!0),h=Object(d.a)(p,2),m=h[0],j=h[1],v=Object(a.useState)(!1),f=Object(d.a)(v,2),O=f[0],g=f[1],S=Object(a.useState)(null),y=Object(d.a)(S,2),A=y[0],w=y[1],C=Object(a.useState)((function(){return new Set})),E=Object(d.a)(C,2),L=E[0],N=E[1],I=Object(a.useState)(Ai()),T=Object(d.a)(I,1)[0],D=Object(a.useState)((T.slice(2,7)+T.slice(9)).replace(/ /g,"")),P=Object(d.a)(D,1)[0],k=Object(a.useState)("string"===typeof(null===i||void 0===i?void 0:i.SchoolName)?i.SchoolName:"School Name Here"),R=Object(d.a)(k,2),F=R[0],G=R[1],U=Object(a.useState)(Object(b.b)("General.AjaxError")),M=Object(d.a)(U,1)[0],H=Object(ee.jsxs)("h2",{children:[Object(ee.jsx)("span",{children:Object(b.b)("Students.AcceptRenewals.TitleAccept")+" "}),Object(ee.jsx)("span",{className:"renewals-title-blue",children:Object(b.b)("Students.AcceptRenewals.TitleRenewals")})]}),B=Object(ee.jsxs)("div",{children:[Object(ee.jsx)("div",{className:"grid-title",children:Object(b.b)("Students.AcceptRenewals.GridTitleSchoolYearAbbreviation")+" "+P+" "+Object(b.b)("Students.AcceptRenewals.TitleRenewals")}),Object(ee.jsx)("div",{className:"grid-description",children:Object(b.b)("Students.AcceptRenewals.GridDescription")})]}),V=function e(t){j(t),c(t,t?function(){return Object(ee.jsxs)("div",{className:"accept-renewals-modal",children:[Object(ee.jsx)("div",{className:"accept-renewals-modal-title",children:Object(b.b)("Students.AcceptRenewals.ModalTitle")}),Object(ee.jsx)("div",{className:"break accept-renewals-modal-break"}),Object(ee.jsx)("div",{className:"accept-renewals-sentence intro-sentence",children:Object(b.b)("Students.AcceptRenewals.OnBehalfOf")+" "+F+" "+Object(b.b)("Students.AcceptRenewals.WishTo")}),Object(ee.jsxs)("div",{className:"accept-renewals-modal-boxed-sentence",children:[Object(ee.jsx)("span",{className:"green-text",children:Object(b.b)("Students.AcceptRenewals.ModalAccept")})," "+Object(b.b)("Students.AcceptRenewals.AcceptMessage1")+" "+T+" "+Object(b.b)("Students.AcceptRenewals.AcceptMessage2")]}),Object(ee.jsx)("div",{className:"accept-renewals-sentence description-sentence",children:Object(b.b)("Students.AcceptRenewals.AcceptMessage3")}),Object(ee.jsxs)("div",{className:"accept-renewals-modal-buttons",children:[Object(ee.jsx)(de,{type:"grey",onClick:function(){e(!1)},children:Object(b.b)("General.Cancel")}),Object(ee.jsx)(de,{type:"primary",interactive:!1,onClick:q,children:Object(b.b)("General.Confirm")})]})]})}:null)},q=function(){var e=Object(l.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.patch("ShipyardAPI","/students/renewals",{queryStringParameters:{selectedIds:Array.from(L).join(",")}});case 3:Z.b.success(Object(b.b)("Students.Renewals.UpdateSuccess")),g(!1),V(!1),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),Z.b.error(Object(b.b)("Students.Renewals.UpdateFailure"));case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}();return Object(a.useEffect)((function(){if(!O&&i.Retrieved){var e=function(){var e=Object(l.a)(s.a.mark((function e(){var t,n,r,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,j(!0),e.next=4,u.a.get("ShipyardAPI","/students/renewals",{queryStringParameters:{term:8}});case 4:t=e.sent,n=function(e,t){var n;(null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.checked)?N((function(e){return new Set(e).add(t)})):N((function(e){var n=new Set(e);return n.delete(t),n}))},j(!1),r=Object(ee.jsx)("input",{type:"checkbox"}),c=t.renewals.map((function(e){var t=Object(a.cloneElement)(r,{key:"renewal-"+e.AppInstID,onClick:function(t){n(t,e.AppInstID)}});t=Object(ee.jsx)("span",{children:t});var i=Object(ee.jsx)("button",{className:"button-link",colname:"studentName",onClick:function(){o.push("/students/record/"+e.AppInstID+"?renewals")},children:e.StudentName});return{data:e,columns:[i,t]}})),c=Object.assign({rows:null},{rows:c}),w(c),G("string"===typeof(null===i||void 0===i?void 0:i.SchoolName)?i.SchoolName:"Your School Here"),g(!0),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(0),Z.b.error(M),j(!1);case 19:case"end":return e.stop()}}),e,null,[[0,15]])})));return function(){return e.apply(this,arguments)}}();e()}}),[O,i,o,i.Retrieved,M]),Object(ee.jsxs)(Xe,{viewTitle:H,doingAjax:m,className:"renewals-view",name:"renewals",children:[O&&(null===A||void 0===A||null===(t=A.rows)||void 0===t?void 0:t.length)>0?Object(ee.jsx)(de,{className:"renewals-button",type:"tertiary",onClick:function(){L.size>0?V(!0):Z.b.error("At least one student needs to be selected for acceptance.")},children:Object(b.b)("Students.AcceptRenewals.AcceptRenewalsButton")}):null,(null===A||void 0===A||null===(n=A.rows)||void 0===n?void 0:n.length)>0?Object(ee.jsx)(ze,{name:"renewals-grid",className:"renewals-grid",title:B,headers:wi,data:A,pageSize:5,filters:!1}):O?Object(ee.jsx)("div",{className:"no-renewals",children:"No pending renewals to display."}):null,Object(ee.jsx)(de,{className:"back-button",type:"primary",onClick:function(){o.push("/students")},children:Object(b.b)("Students.AcceptRenewals.BackButton")})]})}n(451);function Ei(e,t){return Object(ee.jsx)("span",{className:e,children:t.children})}function Li(e){var t=Object(a.useContext)(X).userSettings,n=Object(a.useState)(!1),r=Object(d.a)(n,2),i=r[0],c=r[1],o=Object(a.useState)(!0),u=Object(d.a)(o,2),p=u[0],h=u[1],m=Object(a.useState)(e.appId),j=Object(d.a)(m,1)[0],v=Object(a.useState)([]),f=Object(d.a)(v,2),O=f[0],g=f[1],x=Object(a.useState)(w),S=Object(d.a)(x,1)[0],y=Object(a.useState)(""),A=Object(d.a)(y,2),C=A[0],E=A[1],L=Object(a.useRef)([]),N=Object(a.useRef)(),I=Object(a.useRef)();Object(a.useEffect)((function(){if(!i){var e=function(){var e=Object(l.a)(s.a.mark((function e(){var n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,_.a.get("ShipyardAPI","/application/"+j+"/history");case 3:n=e.sent,a=n.history.find((function(e){return"string"===typeof e.ApplicantName})).ApplicantName,E(a),g(n.history.filter((function(e){return e.LanguageID===M[t.LanguagePreference]}))),c(!0),h(!1),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),Z.b.error(Object(b.b)("General.AjaxError"));case 14:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}();e()}}),[i,j,S,t]);var T=Object(a.useMemo)((function(){return O.map((function(e,t){var n,a,r,i,c,o=Object.entries(S).find((function(t){return t[1]===e.UserTypeID}));switch(e.QueryType){case"STATUS CHANGE":return Object(ee.jsxs)("div",{className:"history-object",ref:function(e){return L.current.push(e)},children:[Object(ee.jsxs)("span",{className:"timestamp",children:[Object(ee.jsx)("span",{className:"grey-dot"}),"\xa0",Object(ee.jsx)(De,{type:"long-time",date:e.ChangeDate})]}),Object(ee.jsxs)("div",{className:"changes",children:[Object(ee.jsx)(K.a,{disallowedElements:["p"],unwrapDisallowed:!0,components:{strong:function(e){return Ei(["bold",o[0]].join(" "),e)}},children:Object(b.b)("ViewHistory.StatusLine1",{ChangeUser:(null===(n=e.ActorName)||void 0===n?void 0:n.trim())?e.ActorName.trim():"Unknown User"})})," ",Object(ee.jsx)(ot,{status:e.StatusID}),e.PrivateSchoolName?Object(ee.jsx)("div",{className:"school-container",children:Object(b.b)("ViewHistory.StatusLine2",{SchoolName:e.PrivateSchoolName})}):null,e.StatusChgDesc?Object(ee.jsxs)("div",{className:"change-reason-container",children:[Object(ee.jsx)("span",{className:"change-reason-title",children:Object(b.b)("ViewHistory.StatusLine3")}),Object(ee.jsx)("div",{className:"change-reason",children:e.StatusChgDesc})]}):null]})]},"history-"+t);case"FILE ADD":case"FILE REMOVE":return Object(ee.jsxs)("div",{className:"history-object",ref:function(e){return L.current.push(e)},children:[Object(ee.jsxs)("span",{className:"timestamp",children:[Object(ee.jsx)("span",{className:"grey-dot"}),"\xa0",Object(ee.jsx)(De,{type:"long-time",date:e.ChangeDate})]}),Object(ee.jsx)("div",{className:"changes",children:Object(ee.jsx)(K.a,{disallowedElements:["p"],unwrapDisallowed:!0,components:{strong:function(e){return Ei(["bold",o[0]].join(" "),e)}},children:"FILE ADD"===e.QueryType?Object(b.b)("ViewHistory.FileAdded",{ChangeUser:e.ActorName,FileName:e.QuestionText}):Object(b.b)("ViewHistory.FileRemoved",{ChangeUser:e.ActorName,FileName:e.QuestionText})})})]},"history-".concat(t));case"ANNUAL STMT SUBMIT":return Object(ee.jsxs)("div",{className:"history-object",ref:function(e){return L.current.push(e)},children:[Object(ee.jsxs)("span",{className:"timestamp",children:[Object(ee.jsx)("span",{className:"grey-dot"}),"\xa0",Object(ee.jsx)(De,{type:"long-time",date:e.ChangeDate})]}),Object(ee.jsx)("div",{className:"changes",children:Object(ee.jsx)(K.a,{disallowedElements:["p"],unwrapDisallowed:!0,components:{strong:function(e){return Ei(["bold",o[0]].join(" "),e)}},children:Object(b.b)("ViewHistory.AnnualStatementSubmitted",{ActorName:e.ActorName,PrivateSchool:null===(a=e.PrivateSchoolName)||void 0===a||null===(r=a.trim)||void 0===r?void 0:r.call(a)})})})]},"history-".concat(t));default:return Object(ee.jsxs)("div",{className:"history-object",ref:function(e){return L.current.push(e)},children:[Object(ee.jsxs)("span",{className:"timestamp",children:[Object(ee.jsx)("span",{className:"grey-dot"}),"\xa0",Object(ee.jsx)(De,{type:"long-time",date:e.ChangeDate})]}),Object(ee.jsxs)("div",{className:"changes",children:[Object(ee.jsx)(K.a,{disallowedElements:["p"],unwrapDisallowed:!0,components:{strong:function(e){return Ei(["bold",o[0]].join(" "),e)}},children:Object(b.b)("ViewHistory.ApplicationChangeLine1",{ChangeUser:"function"===typeof(null===e||void 0===e||null===(i=e.ActorName)||void 0===i?void 0:i.trim)?e.ActorName.trim():"Unknown User",Applicant:e.ApplicantName,Item:"ANNUAL STMT"===e.QueryType?"statement":"application"})}),Object(ee.jsx)("div",{className:"app-change-2 change-object",children:Object(b.b)("ViewHistory.ApplicationChangeLine2",{QuestionName:e.QuestionText})}),Object(ee.jsx)("div",{className:"app-change-3",children:Object(b.b)("ViewHistory.ApplicationChangeLine3",{PreviousValue:e.ChgFromDesc})}),Object(ee.jsx)("div",{className:"app-change-4",children:Object(ee.jsx)(K.a,{disallowedElements:["p"],unwrapDisallowed:!0,components:{strong:function(e){return Ei(["bold",o[0]].join(" "),e)}},children:Object(b.b)("ViewHistory.ApplicationChangeLine4",{CurrentValue:(null===e||void 0===e?void 0:e.ChgToDesc)&&"function"===typeof(null===e||void 0===e||null===(c=e.ChgToDesc)||void 0===c?void 0:c.trim)?e.ChgToDesc.trim():"Field Cleared"})})})]})]},"history-"+t)}}))}),[O,L,S]),D=Object(ee.jsxs)("div",{ref:N,children:[Object(ee.jsxs)("h2",{children:[Object(ee.jsx)(K.a,{disallowedElements:["p"],unwrapDisallowed:!0,components:{strong:function(e){return Ei("title-text",e)}},children:Object(b.b)("ViewHistory.Title",{ApplicantName:C||"No Name"})})," ",Object(ee.jsx)(z.a,{icon:Qe.b,className:"close-button",onClick:function(){"function"===typeof(null===e||void 0===e?void 0:e.onClose)&&e.onClose()}})]}),Object(ee.jsx)("div",{className:"view-history-subtitle",children:Object(b.b)("ViewHistory.Subtitle")})]});return Object(ee.jsx)(Xe,{viewTitle:D,doingAjax:p,className:"view-history-view",name:"view-history",children:(null===O||void 0===O?void 0:O.length)>0?Object(ee.jsx)("div",{className:"history-object-container",ref:I,children:T}):Object(ee.jsx)("div",{className:"loading",children:Object(ee.jsx)(z.a,{icon:W.q})})})}n(452);function Ni(e){var t=Object(a.useContext)(Y).userSettings,n=Object(a.useState)(Object(b.b)("AppReview.DefaultTitle")),r=Object(d.a)(n,2),i=r[0],c=r[1],o=Object(a.useState)("number"===typeof(null===e||void 0===e?void 0:e.status)?e.status:-1),p=Object(d.a)(o,1)[0],h=Object(a.useState)(-1),m=Object(d.a)(h,2),j=m[0],v=m[1],f=Object(a.useState)(""),O=Object(d.a)(f,2),g=O[0],x=O[1],S=Object(a.useState)(!0),y=Object(d.a)(S,2),A=y[0],w=y[1],E=Object(a.useState)(!1),L=Object(d.a)(E,2),N=L[0],I=L[1],T=Object(a.useState)(new Set),D=Object(d.a)(T,2),P=D[0],k=D[1],R=Object(a.useState)(!1),F=Object(d.a)(R,2),G=F[0],U=F[1],M=Object(a.useState)([]),H=Object(d.a)(M,2),B=H[0],V=H[1],_=Object(a.useState)(),K=Object(d.a)(_,2),Q=K[0],$=K[1],J=Object(a.useState)(!0),X=Object(d.a)(J,2),te=X[0],ne=X[1],ae=function(){var t=Object(l.a)(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!N){t.next=12;break}return t.prev=1,t.next=4,u.a.patch("ShipyardAPI","/statuschange/".concat(e.appId),{body:{newStatusId:j,changeReason:g}});case 4:"function"===typeof(null===e||void 0===e?void 0:e.onUpdate)&&e.onUpdate(),t.next=10;break;case 7:t.prev=7,t.t0=t.catch(1),Z.b.error(Object(b.b)("General.AjaxError"));case 10:t.next=18;break;case 12:n=new Set,-1===j&&n.add("status"),3!==j&&5!==j||""!==g||n.add("message"),k(n),U(!0),Z.b.error(Object(b.b)("AppReview.ErrorMessage"));case 18:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(){return t.apply(this,arguments)}}(),re=Object(ee.jsxs)("div",{className:"app-review-header",children:[Object(ee.jsx)("div",{className:"app-review-title",children:i}),Object(ee.jsxs)("div",{className:"app-review-status",children:[Object(ee.jsx)("span",{children:Object(b.b)("AppReview.CurrentStatusLabel")+":"}),"\xa0",p>=0&&p<=13?Object(ee.jsx)(ot,{status:p}):Object(ee.jsx)("span",{children:"N/A"})]}),Object(ee.jsx)(z.a,{icon:W.r,className:"app-review-close",onClick:function(){"function"===typeof(null===e||void 0===e?void 0:e.onClose)&&e.onClose()}})]}),ie=Object(a.useMemo)((function(){return Object(q.a)(B).map((function(e){return{value:e.StatusID,label:Object(b.b)(C[e.StatusID])}}))}),[B]),ce=Object(a.useMemo)((function(){return function(e){return e.toLocaleString("en-US",{style:"currency",currency:"USD"})}}),[]);Object(a.useEffect)((function(){c(e.title)}),[e.title]),Object(a.useEffect)((function(){if(t.Retrieved&&te){var e=function(){var e=Object(l.a)(s.a.mark((function e(){var t;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.get("ShipyardAPI","/statuschange/statuses/".concat(p));case 3:t=e.sent,V(t.statuses),w(!1),ne(!1),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),Z.b.error(Object(b.b)("General.AjaxError"));case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}();e()}}),[t,p,te]),Object(a.useEffect)((function(){if(-1!==j)switch(j){case 3:case 5:I(""!==g);break;case 8:var t=function(){var t=Object(l.a)(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,u.a.get("ShipyardAPI","/applications/".concat(e.appId,"/scholarship_data"),{queryStringParameters:{status:j}});case 3:n=t.sent,$(n.scholarshipData),I(!0),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),console.error(t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(){return t.apply(this,arguments)}}();t();break;default:I(!0)}else I(!1),k((function(e){return e.add("status"),new Set(e)}))}),[g,j,e.appId]);var oe=Object(a.useMemo)((function(){return Object(ee.jsxs)("div",{className:G&&P.has("status")?["status-selector-container","invalid"].join(" "):"status-selector-container",children:[Object(ee.jsxs)("div",{className:"app-review-label",children:[Object(ee.jsx)("span",{children:"*"})," ",Object(b.b)("AppReview.NewStatusLabel")]}),Object(ee.jsx)(_e.a,{disabled:A,options:ie,isSearchable:!1,className:"status-selector",classNamePrefix:"status-select",components:{IndicatorSeparator:function(){return null}},onChange:function(e){v(e.value),P.has("status")&&k((function(e){return e.delete("status"),new Set(e)}))},"aria-required":"true"})]})}),[A,ie,G,P]),se=Object(a.useMemo)((function(){return Object(ee.jsxs)("div",{className:G&&P.has("message")?["app-review-message-container","invalid"].join(" "):"app-review-message-container",children:[Object(ee.jsxs)("div",{className:"app-review-label",children:[3===j||5===j?Object(ee.jsx)("span",{children:"*"}):null," ",Object(b.b)("AppReview.ReviewMessage")]}),Object(ee.jsx)("div",{className:"app-review-message-input",children:Object(ee.jsx)("textarea",{onChange:function(e){x(e.target.value),P.has("message")&&k((function(e){return e.delete("message"),new Set(e)}))},"aria-required":3===j||5===j?"true":"false"})})]})}),[j,G,P]);return Object(ee.jsx)(Xe,{name:"app-review",className:"app-review-view",viewTitle:re,doingAjax:A,children:Object(ee.jsxs)("div",{className:"app-review-container",children:[Object(ee.jsx)("div",{className:"app-review-body",children:te?Object(ee.jsxs)("div",{children:[Object(ee.jsx)(z.a,{className:"loading-icon",icon:W.q})," ",Object(b.b)("AppReview.LoadingMessage")]}):Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsx)("div",{children:Object(ee.jsx)("div",{className:"status-row",children:oe})}),6===j?Object(ee.jsx)("div",{children:Object(ee.jsx)("div",{className:"process-text",children:"Note: This application will remain in the Approved status until funding has been finalized by the state legislature. You may update the status to Pending Acceptance at that time."})}):null,8===j&&Q?Object(ee.jsxs)("div",{children:[Object(ee.jsx)("div",{className:"process-text",children:"Note: This application will remain in the Pending Acceptance status until the parent either Accepts or Declines the scholarship."}),Object(ee.jsxs)("div",{className:"scholarship-row",children:[Object(ee.jsx)("div",{children:Object(ee.jsx)(Yn,{labelText:"Max Scholarship Amount",disabled:!0,value:ce(Q.MaxScholarshipAmtCalc)})}),Object(ee.jsx)("div",{children:Object(ee.jsx)(Yn,{labelText:"Administrative Fee",disabled:!0,value:ce(Q.AdminFee)})}),Object(ee.jsx)("div",{children:Object(ee.jsx)(Yn,{labelText:"Net Scholarship Amount",disabled:!0,value:ce(Q.NetScholarshipAmtCalc)})})]})]}):8===j&&void 0===Q?Object(ee.jsxs)("div",{children:[Object(ee.jsx)(z.a,{className:"loading-icon",icon:W.q})," Retrieving scholarship information..."]}):null,se]})}),Object(ee.jsx)("div",{className:"app-review-footer",children:Object(ee.jsx)(de,{type:"primary",onClick:ae,children:Object(b.b)("AppReview.UpdateButton")})})]})})}n(453);function Ii(e){var t,n,r,i,c,o,p,h,m,j,v,f,O,g,S,y,A,w,C,E,L,N,I,T,D,P,k,R,F,G,U,M,H,B,V,_,Q=Object(a.useContext)(Y),$=Q.displayModal,J=Q.userSettings,X=Object(x.h)(),te=Object(x.g)(),ne=Object(a.useState)(!1),ae=Object(d.a)(ne,2),re=ae[0],ie=ae[1],oe=Object(a.useState)(X.pathname.slice(X.pathname.lastIndexOf("/")+1)),se=Object(d.a)(oe,1)[0],le=Object(a.useState)(X.search.slice(1)),ue=Object(d.a)(le,1)[0],pe=Object(a.useState)(null),be=Object(d.a)(pe,2),he=be[0],me=be[1],je=Object(a.useState)(Ai()),ve=Object(d.a)(je,1)[0],fe=Object(a.useState)(!1),Oe=Object(d.a)(fe,2),ge=Oe[0],xe=Oe[1],Se=Object(a.useState)(!0),ye=Object(d.a)(Se,2),Ae=ye[0],we=ye[1],Ce=Object(a.useState)([]),Ee=Object(d.a)(Ce,2),Le=Ee[0],Ne=Ee[1],Ie=Object(a.useState)(!0),Te=Object(d.a)(Ie,2),Pe=Te[0],Re=Te[1],Fe=Object(a.useState)("admin"===ue),Ge=Object(d.a)(Fe,1)[0],Ue=Object(a.useState)(!1),Me=Object(d.a)(Ue,2),He=Me[0],Be=Me[1],Ve=Object(a.useState)(Object(b.b)("General.AjaxError")),qe=Object(d.a)(Ve,1)[0],_e=Object(a.useState)(new Set),ze=Object(d.a)(_e,2),We=ze[0],Ke=ze[1],Qe=Object(a.useState)(Math.random()),Ye=Object(d.a)(Qe,2),$e=Ye[0],Je=Ye[1],et=Object(a.useState)(),tt=Object(d.a)(et,2),at=tt[0],rt=tt[1],it=Object(a.useState)(!0),ct=Object(d.a)(it,2),st=ct[0],lt=ct[1],dt=e.match.params.applicationId,pt=Object(a.useRef)([]);Object(a.useEffect)((function(){if(He){var e=function(){var e=Object(l.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.del("ShipyardAPI","/application/docs/".concat(He),{body:{status:"0"}});case 3:me(null),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),Z.b.error(Object(b.b)("General.AjaxError"));case 9:Be();case 10:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(){return e.apply(this,arguments)}}();e()}}),[He]),Object(a.useEffect)((function(){if(null===he){var e=function(){var e=Object(l.a)(s.a.mark((function e(){var t,n,a,r,i,c,o,l,d,p,h,m,j,v,f,O,g,x,S,y,A,w,C,E,L,N,I,T,D,P,k,R,F,G,U,M,H,B,V,_,z,W,K,Q,Y,ne,ae,re,ie,ce,oe,le,de,ue,pe,be,he,je,ve,fe,Oe,ge,Se,ye,Ae,Ce,Ee,Le,Ie,Te,De,Pe,ke,Fe,Ge,Ue,Me,He,Be,Ve,_e,ze,We,Ke,Ze,Qe,Ye,$e,Je,Xe,et,tt,nt,at,it,ct,ot,st,lt,pt,bt,ht,mt,jt,vt,ft,Ot,gt,xt,St,yt,At,wt,Ct,Et,Lt,Nt,It,Tt,Dt,Pt,kt,Rt;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.get("ShipyardAPI","/application/".concat(se),{queryStringParameters:{userType:J.UserType}});case 3:return ze=e.sent,e.next=6,u.a.get("ShipyardAPI","/application/disabilities");case 6:return We=e.sent,e.next=9,u.a.get("ShipyardAPI","/admin/action_check/status/".concat(ze.appInstance.statusId));case 9:Ke=e.sent,Ze=[{id:-1,text:{"en-US":""}}].concat(Object(q.a)(We.map((function(e){return{id:e.OptionID,text:{"en-US":e.OptionText}}})))),ze.docs=ze.docs.map((function(e){return{docData:[e]}})),Qe=(null===ze||void 0===ze||null===(v=ze.appDef)||void 0===v||null===(f=v.sections[0])||void 0===f||null===(O=f.questions)||void 0===O?void 0:O.find((function(e){return 39===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 39===e.id})):null,Ye=(null===ze||void 0===ze||null===(g=ze.appDef)||void 0===g||null===(x=g.sections[0])||void 0===x||null===(S=x.questions)||void 0===S?void 0:S.find((function(e){return 36===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 36===e.id})):null,$e=(null===ze||void 0===ze||null===(y=ze.appDef)||void 0===y||null===(A=y.sections[0])||void 0===A||null===(w=A.questions)||void 0===w?void 0:w.find((function(e){return 37===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 37===e.id})):null,Je=(null===ze||void 0===ze||null===(C=ze.appDef)||void 0===C||null===(E=C.sections[0])||void 0===E||null===(L=E.questions)||void 0===L?void 0:L.find((function(e){return 38===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 38===e.id})):null,Xe=(null===ze||void 0===ze||null===(N=ze.appDef)||void 0===N||null===(I=N.sections[0])||void 0===I||null===(T=I.questions)||void 0===T?void 0:T.find((function(e){return 102===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 102===e.id})):null,et=(null===ze||void 0===ze||null===(D=ze.appDef)||void 0===D||null===(P=D.sections[0])||void 0===P||null===(k=P.questions)||void 0===k?void 0:k.find((function(e){return 75===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 75===e.id})):null,tt=(null===ze||void 0===ze||null===(R=ze.appDef)||void 0===R||null===(F=R.sections[0])||void 0===F||null===(G=F.questions)||void 0===G?void 0:G.find((function(e){return 111===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 111===e.id})):null,nt=(null===ze||void 0===ze||null===(U=ze.appDef)||void 0===U||null===(M=U.sections[1])||void 0===M||null===(H=M.questions)||void 0===H?void 0:H.find((function(e){return 112===e.id})))?ze.appDef.sections[1].questions.find((function(e){return 112===e.id})):null,at=(null===ze||void 0===ze||null===(B=ze.appDef)||void 0===B||null===(V=B.sections[1])||void 0===V||null===(_=V.questions)||void 0===_?void 0:_.find((function(e){return 50===e.id})))?ze.appDef.sections[1].questions.find((function(e){return 50===e.id})):null,it=(null===ze||void 0===ze||null===(z=ze.appDef)||void 0===z||null===(W=z.sections[0])||void 0===W||null===(K=W.questions)||void 0===K||null===(Q=K.find((function(e){return 33===e.id})))||void 0===Q?void 0:Q.answerText)?ze.appDef.sections[0].questions.find((function(e){return 33===e.id})).answerText:"",ct=(null===ze||void 0===ze||null===(Y=ze.appDef)||void 0===Y||null===(ne=Y.sections[0])||void 0===ne||null===(ae=ne.questions)||void 0===ae?void 0:ae.find((function(e){return 33===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 33===e.id})):null,ot=(null===ze||void 0===ze||null===(re=ze.appDef)||void 0===re||null===(ie=re.sections[0])||void 0===ie||null===(ce=ie.questions)||void 0===ce||null===(oe=ce.find((function(e){return 34===e.id})))||void 0===oe?void 0:oe.answerText)?ze.appDef.sections[0].questions.find((function(e){return 34===e.id})).answerText:"",st=(null===ze||void 0===ze||null===(le=ze.appDef)||void 0===le||null===(de=le.sections[0])||void 0===de||null===(ue=de.questions)||void 0===ue?void 0:ue.find((function(e){return 34===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 34===e.id})):null,lt=(null===ze||void 0===ze||null===(pe=ze.appDef)||void 0===pe||null===(be=pe.sections[1])||void 0===be||null===(he=be.questions)||void 0===he?void 0:he.find((function(e){return 44===e.id})))?ze.appDef.sections[1].questions.find((function(e){return 44===e.id})):null,pt=(null===ze||void 0===ze||null===(je=ze.appDef)||void 0===je||null===(ve=je.sections[1])||void 0===ve||null===(fe=ve.questions)||void 0===fe?void 0:fe.find((function(e){return 45===e.id})))?ze.appDef.sections[1].questions.find((function(e){return 45===e.id})):null,bt=(null===ze||void 0===ze||null===(Oe=ze.appDef)||void 0===Oe||null===(ge=Oe.sections[1])||void 0===ge||null===(Se=ge.questions)||void 0===Se?void 0:Se.find((function(e){return 45===e.id})))?null===ze||void 0===ze||null===(ye=ze.appDef)||void 0===ye?void 0:ye.sections[1].questions.find((function(e){return 46===e.id})):null,ht=(null===ze||void 0===ze||null===(Ae=ze.appDef)||void 0===Ae||null===(Ce=Ae.sections[1])||void 0===Ce||null===(Ee=Ce.questions)||void 0===Ee?void 0:Ee.find((function(e){return 47===e.id})))?ze.appDef.sections[1].questions.find((function(e){return 47===e.id})):null,mt=(null===ze||void 0===ze||null===(Le=ze.appDef)||void 0===Le||null===(Ie=Le.sections[1])||void 0===Ie||null===(Te=Ie.questions)||void 0===Te?void 0:Te.find((function(e){return 48===e.id})))?ze.appDef.sections[1].questions.find((function(e){return 48===e.id})):null,jt=(null===ze||void 0===ze||null===(De=ze.appDef)||void 0===De||null===(Pe=De.sections[1])||void 0===Pe||null===(ke=Pe.questions)||void 0===ke?void 0:ke.find((function(e){return 49===e.id})))?ze.appDef.sections[1].questions.find((function(e){return 49===e.id})):null,e.t0=null===ze||void 0===ze||null===(t=ze.appInstance)||void 0===t?void 0:t.applicationType,e.next=1===e.t0?34:2===e.t0?37:40;break;case 34:return vt=(null===ze||void 0===ze||null===(n=ze.appDef)||void 0===n||null===(a=n.sections[0])||void 0===a||null===(r=a.questions)||void 0===r?void 0:r.find((function(e){return 40===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 40===e.id})):null,ft=(null===ze||void 0===ze||null===(i=ze.appDef)||void 0===i||null===(c=i.sections[0])||void 0===c||null===(o=c.questions)||void 0===o?void 0:o.find((function(e){return 41===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 41===e.id})):null,e.abrupt("break",43);case 37:return vt=(null===ze||void 0===ze||null===(l=ze.appDef)||void 0===l||null===(d=l.sections[0])||void 0===d||null===(p=d.questions)||void 0===p?void 0:p.find((function(e){return 57===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 57===e.id})):null,ft=(null===ze||void 0===ze||null===(h=ze.appDef)||void 0===h||null===(m=h.sections[0])||void 0===m||null===(j=m.questions)||void 0===j?void 0:j.find((function(e){return 58===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 58===e.id})):null,e.abrupt("break",43);case 40:return vt=null,ft=null,e.abrupt("break",43);case 43:Ot={name:"".concat(it," ").concat(ot),uid:(null===ze||void 0===ze||null===(Fe=ze.uid)||void 0===Fe?void 0:Fe.answerText)?ze.uid.answerText:"No Unique ID",stn:ze.stn.answerText,appType:ze.appInstance.applicationType,statusRow:{status:ze.appInstance.statusId},appInfo:null!==(null===ze||void 0===ze?void 0:ze.appInfo)&&"function"===typeof(null===ze||void 0===ze||null===(Ge=ze.appInfo)||void 0===Ge?void 0:Ge.filter)?ze.appInfo.filter((function(e){return 1===e.LanguageID})):null,sectionA:{studentFirstName:ct,studentLastName:st,dob:(null===ze||void 0===ze||null===(Ue=ze.appDef)||void 0===Ue?void 0:Ue.sections[0].questions.find((function(e){return 35===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 35===e.id})):null,nextGrade:Ye,districtResidence:$e,districtIEP:Je,school:Qe},sectionB:{parentFirstName:lt,parentLastName:pt,email:bt,phoneNumber:ht,address:mt,city:jt,state:at,zip:null===ze||void 0===ze||null===(Me=ze.appDef)||void 0===Me?void 0:Me.sections[1].questions.find((function(e){return 51===e.id}))},sectionC:{eligibility:vt},sectionD:{enrollment:ft},docs:J.UserType>=3?ze.appDef.sections[2].questions.filter((function(e){return 6===e.questionType&&4!==e.documentType})).concat(ze.docs):ze.appDef.sections[2].questions.filter((function(e){return 6===e.questionType&&3===e.documentType})),osde:{nationality:null===ze||void 0===ze||null===(He=ze.appDef)||void 0===He?void 0:He.sections[0].questions.find((function(e){return 42===e.id})),eds:null===ze||void 0===ze||null===(Be=ze.appDef)||void 0===Be?void 0:Be.sections[0].questions.find((function(e){return 43===e.id}))}},J.UserType>=3&&(Ot=Object.assign({},Ot,{sectionA:Object(ut.a)(Object(ut.a)({},Ot.sectionA),{},{primaryDisability:(null===ze||void 0===ze||null===(gt=ze.primDis)||void 0===gt?void 0:gt.chosenOptions)&&void 0!==(null===ze||void 0===ze||null===(xt=ze.primDis)||void 0===xt?void 0:xt.chosenOptions[0])?ze.primDis.chosenOptions[0]:Ze[0].id,secondaryDisability:(null===ze||void 0===ze||null===(St=ze.secDis)||void 0===St?void 0:St.chosenOptions)&&void 0!==(null===ze||void 0===ze||null===(yt=ze.secDis)||void 0===yt?void 0:yt.chosenOptions[0])?ze.secDis.chosenOptions[0]:Ze[0].id,primaryDisabilityOptions:Ze,secondaryDisabilityOptions:Ze,acceptanceDate:(null===ze||void 0===ze||null===(At=ze.appDef)||void 0===At||null===(wt=At.sections[0])||void 0===wt?void 0:wt.questions.find((function(e){return 109===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 109===e.id})):null,revocationDate:(null===ze||void 0===ze||null===(Ct=ze.appDef)||void 0===Ct||null===(Et=Ct.sections[0])||void 0===Et?void 0:Et.questions.find((function(e){return 110===e.id})))?ze.appDef.sections[0].questions.find((function(e){return 110===e.id})):null,initYear:tt,IEPorISP:Xe}),sectionB:Object(ut.a)(Object(ut.a)({},Ot.sectionB),{},{payeeNum:null===ze||void 0===ze||null===(Lt=ze.appDef)||void 0===Lt?void 0:Lt.sections[1].questions.find((function(e){return 94===e.id})),tin:null===ze||void 0===ze||null===(Nt=ze.appDef)||void 0===Nt?void 0:Nt.sections[3].questions.find((function(e){return 52===e.id})),location:nt})})),2!==ze.appInstance.applicationType&&(Ot=Object.assign({},Ot,{sectionA:Object(ut.a)(Object(ut.a)({},Ot.sectionA),{},{fullOrPart:et})})),It=[],Tt=function e(t){we(t),xe(!1),$(t,t?function(){var t,n;return Object(ee.jsx)(Ni,{title:Ot.name+" ("+Ot.uid+")",status:"number"===typeof(null===(t=Ot)||void 0===t||null===(n=t.statusRow)||void 0===n?void 0:n.status)?Ot.statusRow.status:null,appId:dt,onUpdate:function(){e(!1),Re(!1),me(null)},onClose:function(){e(!1)}})}:null,t)},Dt=function e(t){we(t),xe(!1),$(t,t?function(){return Object(ee.jsx)(Li,{appId:dt,onClose:function(){e(!1)}})}:null,t)},Pt=Object(ee.jsx)("li",{children:Object(ee.jsx)("div",{onClick:function(){Tt(!0)},children:Object(b.b)("Record.ReviewApplicationAction")})},"action-review"),kt=Object(ee.jsx)("li",{children:Object(ee.jsx)("div",{onClick:function(){te.push(X.pathname+"/enrollment_change")},children:"Change enrollment"})},"enrollment-change"),Rt=Object(ee.jsx)("li",{children:Object(ee.jsx)("div",{onClick:function(){Dt(!0)},children:Object(b.b)("Record.ViewHistoryAction")})},"action-view-history"),Ke.canChange&&It.push(Pt),It.push(Rt),J.UserType>2&&It.push(kt),Ne(It),rt((null===ze||void 0===ze||null===(Ve=ze.appInstance)||void 0===Ve?void 0:Ve.message)?null===ze||void 0===ze||null===(_e=ze.appInstance)||void 0===_e?void 0:_e.message:void 0),me(Ot),J&&we(!1),e.next=64;break;case 61:e.prev=61,e.t1=e.catch(0),Z.b.error(qe);case 64:case"end":return e.stop()}}),e,null,[[0,61]])})));return function(){return e.apply(this,arguments)}}();e()}}),[he,se,J,$,ve,dt,qe,te,X.pathname]),Object(a.useEffect)((function(){J&&!re&&(he&&we(!1),ie(!0))}),[he,J,re]);var bt=Object(a.useMemo)((function(){return at?Object(ee.jsxs)("div",{className:"review-message",children:[Object(ee.jsxs)("div",{children:[Object(ee.jsx)(z.a,{icon:W.j})," ",Object(b.b)("Record.NotificationMessage")," ",Object(ee.jsx)(z.a,{className:"collapse-button",icon:st?W.e:W.f,onClick:function(){return lt((function(e){return!e}))}})]}),st?Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsx)("hr",{}),Object(ee.jsxs)("div",{className:"change-reason-container",children:[Object(ee.jsx)("div",{className:"message-container",children:at.ChangeReason}),Object(ee.jsxs)("div",{className:"signature-container",children:[at.LastUpdatedByName,Object(ee.jsx)(De,{type:"long-time",date:at.LastUpdatedUTC})]})]})]}):null]},"app-".concat(at.AppInstID)):null}),[at,st]),ht=function(e,t,n){n=parseInt(n),isNaN(n)||me((function(a){if("osde"===e)a[e][t].chosenOptions[0]=n;else a[e][t]=n,a[e]["".concat(t,"Question")].chosenOptions=[n];return a}))},mt=function(e){var t,n=new Set(he.osde.nationality.chosenOptions);!0===(null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.checked)?n.add(parseInt(e.target.value)):n.delete(parseInt(e.target.value)),me((function(e){return e.osde.nationality.chosenOptions=Array.from(n),e}))},jt=function(){var e=Object(l.a)(s.a.mark((function e(){var t,n,a,r,i,c;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(we(!0),t={stn:he.stn,firstName:he.sectionA.studentFirstName.answerText,lastName:he.sectionA.studentLastName.answerText,dob:he.sectionA.dob.answerText,grade:he.sectionA.nextGrade.chosenOptions[0],primaryDisability:he.sectionA.primaryDisability,secondaryDisability:he.sectionA.secondaryDisability,resSD:he.sectionA.districtResidence.chosenOptions[0],iepSD:he.sectionA.districtIEP.chosenOptions[0],school:he.sectionA.school.chosenOptions[0],initYear:he.sectionA.initYear.chosenOptions[0],revocationDate:he.sectionA.revocationDate.answerText,acceptanceDate:he.sectionA.acceptanceDate.answerText,IEPorISP:he.sectionA.IEPorISP.chosenOptions[0]},n={firstName:he.sectionB.parentFirstName.answerText,lastName:he.sectionB.parentLastName.answerText,email:he.sectionB.email.answerText,phone:he.sectionB.phoneNumber.answerText,addr1:he.sectionB.address.answerText,city:he.sectionB.city.answerText,state:he.sectionB.state.chosenOptions[0],zip:he.sectionB.zip.answerText,payeeNum:he.sectionB.payeeNum.answerText,location:he.sectionB.location.chosenOptions[0],ssn:he.sectionB.tin.answerText},a=[],i=Object.values(he.osde),c=0;c0?o.chosenOptions[0]:-1,required:1===o.minResponseRequired&&J.UserType>=3,children:c.map((function(e){return Object(ee.jsx)("option",{id:e.id,value:e.id,children:e.text["en-US"]},"".concat(s[1],"-option-").concat(e.id))}))});case"primaryDisability":case"secondaryDisability":return c=he[arguments[1]]["".concat(arguments[2],"Options")],Object(ee.jsx)(nt,{labelText:arguments[0],formKey:i,ref:xt,id:arguments[1],disabled:!Ge,value:he[arguments[1]][arguments[2]],children:c.map((function(e){return Object(ee.jsx)("option",{id:e.id,value:e.id,children:e.text["en-US"]},"".concat(s[1],"-option-").concat(e.id))}))});case"dob":case"acceptanceDate":case"revocationDate":return o=he[arguments[1]][arguments[2]],Object(ee.jsx)(ce,{value:(null===(e=o)||void 0===e?void 0:e.answerText)&&"0000-00-00 00:00:00"!==o.answerText&&""!==o.answerText?new Date(o.answerText):null,disabled:!Ge,validated:!0,classes:["dob"],label:arguments[0],formKey:i,ref:xt,required:1===o.minResponseRequired&&J.UserType>=3});case"payeeName":return Object(ee.jsx)(Yn,{labelText:arguments[0],id:arguments[2],value:"".concat(null===he||void 0===he||null===(t=he.sectionB)||void 0===t||null===(n=t.parentFirstName)||void 0===n?void 0:n.answerText," ").concat(null===he||void 0===he||null===(a=he.sectionB)||void 0===a||null===(r=a.parentLastName)||void 0===r?void 0:r.answerText),disabled:!0});case"tin":return o=he[arguments[1]][arguments[2]],Object(ee.jsx)(Yn,{masked:!0,disabled:!Ge,validators:o.responseRegexes.map(l),labelText:arguments[0],formKey:i,ref:xt,id:arguments[2],value:o.answerText,required:1===o.minResponseRequired&&J.UserType>=3});case"phoneNumber":return o=he[arguments[1]][arguments[2]],Object(ee.jsx)(hi,{disabled:!Ge,labelText:arguments[0],formKey:i,ref:xt,id:arguments[2],value:o.answerText,required:o.minResponseRequired>0});default:return o=he[arguments[1]][arguments[2]],Object(ee.jsx)(Yn,{labelText:arguments[0],validators:o.responseRegexes.map(l),formKey:i,ref:xt,id:arguments[2],value:o.answerText,disabled:!Ge,required:1===o.minResponseRequired&&J.UserType>=3})}default:console.error("Invalid amount of arguments: ".concat(arguments.length),arguments)}}var yt=Object(a.useMemo)((function(){return Le.length>0?Object(ee.jsxs)("div",{className:"actions-container",children:[Object(ee.jsxs)(de,{type:"tertiary",className:"actions-button",onClick:function(){xe(!ge)},children:[Object(b.b)("Record.ActionButtonLabel"),"\xa0",Object(ee.jsx)(z.a,{icon:W.a})]}),ge?Object(ee.jsx)("div",{className:"actions-dropdown-container",children:Object(ee.jsx)("ul",{className:"actions-dropdown",children:Le})}):null]}):null}),[Le,ge]),At=Object(a.useMemo)((function(){var e,t;return he&&(null===he||void 0===he||null===(e=he.sectionC)||void 0===e?void 0:e.eligibility)?Object(ee.jsx)(cn,{classes:["eligibility-verification"],headerText:Object(b.b)("Record.SectionCTitle"),children:function(){var e=arguments;if(2===arguments.length){if(he){var t=he[arguments[0]][arguments[1]],n=t.options.map((function(n){return Object(ee.jsx)("div",{"data-ident":n.id,className:Ge?["verify","options"].join(" "):"verify",children:Ge?Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsx)("input",{type:3===t.questionType?"radio":"checkbox",id:"".concat(e[1],"-").concat(n.id),defaultChecked:n.id===t.chosenOptions[0],name:e[1],value:n.id,onClick:3===t.type?function(){return ht(e[0],e[1],n.id)}:function(e){var t,n=new Set(he.sectionC.eligibility.chosenOptions);!0===(null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.checked)?n.add(parseInt(e.target.value)):n.delete(parseInt(e.target.value)),me((function(e){return e.sectionC.eligibility.chosenOptions=Array.from(n),e}))}}),Object(ee.jsx)("label",{className:"".concat(e[1],"-text"),children:Object(ee.jsx)(K.a,{className:"question-option",children:n.text["en-US"]})})]}):Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsx)("span",{className:"check-mark",children:Ot}),Object(ee.jsx)("span",{className:"".concat(e[1],"-text"),children:Object(ee.jsx)(K.a,{children:n.text["en-US"]})})]})},"".concat(e[1],"-key-").concat(n.id,"-").concat(Math.floor(100*Math.random($e))))}));return Ge||(n=n.filter((function(e){return e.props["data-ident"]===t.chosenOptions[0]}))),n}return vt}console.error("Invalid arguments passed: ".concat(arguments))}("sectionC","eligibility")},"sectionC"):he&&null===(null===he||void 0===he||null===(t=he.sectionC)||void 0===t?void 0:t.eligibility)?Object(ee.jsx)(cn,{classes:["eligibility-verification"],headerText:Object(b.b)("Record.SectionCTitle"),children:"No eligibility questions."},"sectionC"):Object(ee.jsx)(cn,{classes:["eligibility-verification"],headerText:Object(b.b)("Record.SectionCTitle"),children:vt},"sectionC")}),[$e,he,Ot,vt,Ge]),wt=Object(a.useMemo)((function(){var e,t;return he&&(null===he||void 0===he||null===(e=he.sectionD)||void 0===e?void 0:e.enrollment)?Object(ee.jsx)(cn,{classes:["enrollment-verification"],headerText:Object(b.b)("Record.SectionDTitle"),children:function(){var e=arguments;if(2===arguments.length){if(he){var t=he[arguments[0]][arguments[1]],n=t.options.map((function(n){return Object(ee.jsx)("div",{"data-ident":n.id,className:Ge?["verify","options"].join(" "):"verify",children:Ge?Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsx)("input",{type:3===t.questionType?"radio":"checkbox",id:"".concat(e[1],"-").concat(n.id),defaultChecked:n.id===t.chosenOptions[0],name:e[1],value:n.id,onClick:3===t.type?function(){return ht(e[0],e[1],n.id)}:function(e){var t,n=new Set(he.sectionD.enrollment.chosenOptions);!0===(null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.checked)?n.add(parseInt(e.target.value)):n.delete(parseInt(e.target.value)),me((function(e){return e.sectionD.enrollment.chosenOptions=Array.from(n),e}))}}),Object(ee.jsx)("label",{className:"".concat(e[1],"-text"),children:Object(ee.jsx)(K.a,{className:"question-option",children:n.text["en-US"]})})]}):Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsx)("span",{className:"check-mark",children:Ot}),Object(ee.jsx)("span",{className:"".concat(e[1],"-text"),children:Object(ee.jsx)(K.a,{children:n.text["en-US"]})})]})},"".concat(e[1],"-key-").concat(n.id,"-").concat(Math.floor(100*Math.random($e))))}));return Ge||(n=n.filter((function(e){return e.props["data-ident"]===t.chosenOptions[0]}))),n}return vt}console.error("Invalid arguments passed: ".concat(arguments))}("sectionD","enrollment")},"sectionD"):he&&null===(null===he||void 0===he||null===(t=he.sectionD)||void 0===t?void 0:t.enrollment)?Object(ee.jsx)(cn,{classes:["enrollment-verification"],headerText:Object(b.b)("Record.SectionDTitle"),children:"No enrollment questions."},"sectionD"):Object(ee.jsx)(cn,{classes:["enrollment-verification"],headerText:Object(b.b)("Record.SectionDTitle"),children:vt},"sectionD")}),[$e,he,Ot,vt,Ge]);return Object(ee.jsx)(Xe,{viewTitle:ft,doingAjax:Ae,className:"record-view",name:"record",children:Object(ee.jsxs)(vi,{ajaxErrorMessage:qe,onValidSave:jt,refs:pt.current,onInvalidSave:function(){we(!1)},primaryButton:Ge,primaryButtonText:Object(b.b)("UserSettings.SaveButtonText"),primaryButtonInteractiveText:Object(b.b)("General.InteractiveSave"),otherButtons:yt,onUserInteract:{handleSave:function(e){we(!0),me((function(t){var n=Object.keys(e),a=Object.values(e);t.name="".concat(e["sectionA.studentFirstName"]," ").concat(e["sectionA.studentLastName"]),t.statusRow.submittedBy="".concat(e["sectionB.parentFirstName"]," ").concat(e["sectionB.parentLastName"]);for(var r=0;r=3?Object(ee.jsxs)("div",{children:[Object(ee.jsxs)("div",{children:[Object(ee.jsxs)("div",{className:"label-div",children:[Object(b.b)("Record.SubmittedOnLabel"),":"]}),Object(ee.jsx)("div",{children:(null===he||void 0===he||null===(p=he.appInfo)||void 0===p?void 0:p.find((function(e){return 106===e.QuestionID})))?null!==he.appInfo.find((function(e){return 106===e.QuestionID})).AnswerDate?Object(ee.jsx)(De,{date:null===he||void 0===he||null===(h=he.appInfo)||void 0===h?void 0:h.find((function(e){return 106===e.QuestionID})).AnswerDate}):"N/A":vt})]}),Object(ee.jsxs)("div",{children:[Object(ee.jsxs)("div",{className:"label-div",children:["10 Day Timeline Expiration",":"]}),Object(ee.jsx)("div",{children:(null===he||void 0===he||null===(m=he.appInfo)||void 0===m?void 0:m.find((function(e){return 107===e.QuestionID})))?null!==he.appInfo.find((function(e){return 107===e.QuestionID})).AnswerDate?Object(ee.jsx)(De,{date:null===he||void 0===he||null===(j=he.appInfo)||void 0===j?void 0:j.find((function(e){return 107===e.QuestionID})).AnswerDate}):"N/A":vt})]}),Object(ee.jsxs)("div",{children:[Object(ee.jsxs)("div",{className:"label-div",children:["Date Approved",":"]}),Object(ee.jsx)("div",{children:(null===he||void 0===he||null===(v=he.appInfo)||void 0===v?void 0:v.find((function(e){return 108===e.QuestionID})))?null!==he.appInfo.find((function(e){return 108===e.QuestionID})).AnswerDate?Object(ee.jsx)(De,{date:null===he||void 0===he||null===(f=he.appInfo)||void 0===f?void 0:f.find((function(e){return 108===e.QuestionID})).AnswerDate}):"N/A":vt})]})]}):null]})}),Object(ee.jsx)(cn,{classes:["student-info"],headerText:Object(b.b)("Record.SectionATitle"),children:Object(ee.jsxs)("div",{className:"student-info-grid",children:[Object(ee.jsxs)("div",{children:[Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(O=he.sectionA)||void 0===O?void 0:O.studentFirstName)?St(Object(b.b)("Record.FirstNameLabel"),"sectionA","studentFirstName"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(g=he.sectionA)||void 0===g?void 0:g.studentLastName)?St(Object(b.b)("Record.LastNameLabel"),"sectionA","studentLastName"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(S=he.sectionA)||void 0===S?void 0:S.dob)?St(Object(b.b)("Record.DOBLabel"),"sectionA","dob"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(y=he.sectionA)||void 0===y?void 0:y.nextGrade)?St(Object(b.b)("Record.GradeLabel"),"sectionA","nextGrade"):vt}),Object(ee.jsx)("span",{children:null!==he?St(Object(b.b)("Record.STNLabel"),"stn"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(A=he.sectionA)||void 0===A?void 0:A.districtResidence)?St(Object(b.b)("Record.SchoolDistrictResidenceLabel"),"sectionA","districtResidence"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(w=he.sectionA)||void 0===w?void 0:w.districtIEP)?St(Object(b.b)("Record.SchoolDistrictIEPLabel"),"sectionA","districtIEP"):vt}),(null===J||void 0===J?void 0:J.UserType)>=3?Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(C=he.sectionA)||void 0===C?void 0:C.IEPorISP)?St(Object(b.b)("Record.IEPISPLabel"),"sectionA","IEPorISP"):vt}):null]}),J.UserType>=3?Object(ee.jsxs)("div",{children:[Object(ee.jsx)("span",{children:Number.isInteger(null===he||void 0===he||null===(E=he.sectionA)||void 0===E?void 0:E.primaryDisability)?St(Object(b.b)("Record.PrimaryDisabilityLabel"),"sectionA","primaryDisability"):vt}),Object(ee.jsx)("span",{children:Number.isInteger(null===he||void 0===he||null===(L=he.sectionA)||void 0===L?void 0:L.secondaryDisability)?St(Object(b.b)("Record.SecondaryDisabilityLabel"),"sectionA","secondaryDisability"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(N=he.sectionA)||void 0===N?void 0:N.school)?St(Object(b.b)("Record.SchoolNameLabel"),"sectionA","school"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(I=he.sectionA)||void 0===I?void 0:I.acceptanceDate)?St(Object(b.b)("Record.AcceptanceDateLabel"),"sectionA","acceptanceDate"):vt}),null!==he&&2!==he.appType?Object(ee.jsx)("span",{children:St(Object(b.b)("Record.FullPartTimeLabel"),"sectionA","fullOrPart")}):null,Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(T=he.sectionA)||void 0===T?void 0:T.revocationDate)?St(Object(b.b)("Record.RevocationDateLabel"),"sectionA","revocationDate"):vt}),Object(ee.jsx)("span",{children:null!==he?St(Object(b.b)("Record.InitialYearLabel"),"sectionA","initYear"):vt})]}):null]})}),Object(ee.jsx)(cn,{classes:["parent-info"],headerText:Object(b.b)("Record.SectionBTitle"),children:Object(ee.jsxs)("div",{className:"parent-info-grid",children:[Object(ee.jsxs)("div",{children:[Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(D=he.sectionB)||void 0===D?void 0:D.parentFirstName)?St(Object(b.b)("Record.FirstNameLabel"),"sectionB","parentFirstName"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(P=he.sectionB)||void 0===P?void 0:P.parentLastName)?St(Object(b.b)("Record.LastNameLabel"),"sectionB","parentLastName"):vt}),J.UserType>=3?Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(k=he.sectionB)||void 0===k?void 0:k.tin)?St(Object(b.b)("Record.SSNLabel"),"sectionB","tin"):vt}):null,Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(R=he.sectionB)||void 0===R?void 0:R.address)?St(Object(b.b)("Record.ParentAddressLabel"),"sectionB","address"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(F=he.sectionB)||void 0===F?void 0:F.city)?St(Object(b.b)("Record.CityLabel"),"sectionB","city"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(G=he.sectionB)||void 0===G?void 0:G.state)?St(Object(b.b)("Record.StateLabel"),"sectionB","state"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(U=he.sectionB)||void 0===U?void 0:U.zip)?St(Object(b.b)("Record.ZipLabel"),"sectionB","zip"):vt})]}),Object(ee.jsxs)("div",{children:[Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(M=he.sectionB)||void 0===M?void 0:M.phoneNumber)?St(Object(b.b)("Record.PhoneLabel"),"sectionB","phoneNumber"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(H=he.sectionB)||void 0===H?void 0:H.email)?St(Object(b.b)("Record.EmailLabel"),"sectionB","email"):vt}),J.UserType>=3?Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(B=he.sectionB)||void 0===B?void 0:B.parentFirstName)?St(Object(b.b)("Record.PayeeNameLabel"),"sectionB","payeeName"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(V=he.sectionB)||void 0===V?void 0:V.payeeNum)?St(Object(b.b)("Record.PayeeNumberLabel"),"sectionB","payeeNum"):vt}),Object(ee.jsx)("span",{children:gt(null===he||void 0===he||null===(_=he.sectionB)||void 0===_?void 0:_.location)?St(Object(b.b)("Record.LocationLabel"),"sectionB","location"):vt})]}):null]})]})}),Ge?At:null,Ge?wt:null,Object(ee.jsx)(cn,{classes:["documents"],headerText:Object(b.b)("Record.DocumentsTitle"),children:function(){if(0===arguments.length){if(he){var e=he.docs.map((function(e,t){var n,a,r=function(){var e=Object(l.a)(s.a.mark((function e(t,n){var a,r,i,c,o,l,d,p;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===t||void 0===t||t.preventDefault(),null===t||void 0===t||t.stopPropagation(),i=(null===t||void 0===t||null===(a=t.dataTransfer)||void 0===a?void 0:a.files)||(null===t||void 0===t||null===(r=t.target)||void 0===r?void 0:r.files),c=n.responseRegexes.map((function(e){return new RegExp(e.rgx)})),!i||!c.every((function(e){return e.test(i[0].type)}))){e.next=60;break}return Ke((function(e){return e.add(n.id),new Set(e)})),e.prev=6,e.next=9,u.a.get("ShipyardAPI","/application/".concat(dt,"/docs/").concat(n.id,"/target"),{queryStringParameters:{fileName:i[0].name,documentType:n.documentType,mimeType:i[0].type}});case 9:o=e.sent,e.next=17;break;case 12:return e.prev=12,e.t0=e.catch(6),Z.b.error(Object(b.b)("General.AjaxError")),Ke((function(e){return e.delete(n.id),new Set(e)})),e.abrupt("return");case 17:return e.prev=17,l={body:i[0],headers:{"Content-Type":""},method:"PUT"},e.next=21,fetch(o.url,l);case 21:if(e.sent.ok){e.next=26;break}return Z.b.error(Object(b.b)("General.AjaxError")),Ke((function(e){return e.delete(n.id),new Set(e)})),e.abrupt("return");case 26:e.next=33;break;case 28:return e.prev=28,e.t1=e.catch(17),Z.b.error(Object(b.b)("General.AjaxError")),Ke((function(e){return e.delete(n.id),new Set(e)})),e.abrupt("return");case 33:return e.prev=33,e.next=36,u.a.put("ShipyardAPI","/application/docs/".concat(o.fileId),{body:{status:"1"}});case 36:e.next=43;break;case 38:return e.prev=38,e.t2=e.catch(33),Z.b.error(Object(b.b)("General.AjaxError")),Ke((function(e){return e.delete(n.id),new Set(e)})),e.abrupt("return");case 43:return e.prev=43,d=[o.fileId],e.next=47,u.a.put("ShipyardAPI","/application/".concat(dt,"/answer/").concat(n.id),{body:{responseIds:d}});case 47:e.next=54;break;case 49:return e.prev=49,e.t3=e.catch(43),Z.b.error(Object(b.b)("General.AjaxError")),Ke((function(e){return e.delete(n.id),new Set(e)})),e.abrupt("return");case 54:p={FileName:i[0].name,FileID:o.fileId,LastUpdatedUTC:(new Date).toISOString()},me((function(e){return e.docs=e.docs.map((function(e){return e.id===n.id&&(e.docData[0]=p),e})),e})),Je(Math.random()),Ke((function(e){return e.delete(n.id),new Set(e)})),e.next=61;break;case 60:Z.b.error(Object(b.b)("File.IncorrectType"));case 61:case"end":return e.stop()}}),e,null,[[6,12],[17,28],[33,38],[43,49]])})));return function(t,n){return e.apply(this,arguments)}}();return a=void 0!==e.docData[0]?[{name:e.docData[0].FileName,fileId:e.docData[0].FileID,s3id:e.docData[0].S3ID,uploadedOn:e.docData[0].LastUpdatedUTC,type:"pdf"}]:[],Object(ee.jsxs)("div",{children:[Object(ee.jsx)(ke,{labelText:e.text?e.text[J.LanguagePreference]:"string"===typeof(null===(n=e.docData[0])||void 0===n?void 0:n.DocumentType)?e.docData[0].DocumentType:"Miscellaneous or Generated Document",classes:["parent-record-doc"],uploading:We.has(e.id),disabled:He===e.id,downloadOnly:!Number.isInteger(null===e||void 0===e?void 0:e.id),files:a,drop:function(t){return r(t,e)},required:(null===e||void 0===e?void 0:e.minResponseRequired)>0,dragover:function(e){e.preventDefault(),e.stopPropagation()},remove:function(e){var t=he.docs.find((function(t){return t.docData[0].FileID===e}));$(!0,(function(){return Object(ee.jsxs)("div",{className:"deletion-warning-container",children:[Object(ee.jsxs)("div",{className:"deletion-warning-text",children:[Object(ee.jsxs)("label",{children:["Are you sure you want to delete the ",t.text[J.LanguagePreference],":"]}),Object(ee.jsx)("br",{}),t.docData[0].FileName]}),Object(ee.jsxs)("div",{className:"deletion-warning-buttons",children:[Object(ee.jsx)(de,{type:"negative",onClick:function(){$(!1,null)},children:"Cancel"}),Object(ee.jsx)(de,{onClick:function(){$(!1,null),Be(e)},children:"Continue"})]})]})}))}},"file-drop-".concat(void 0!==e.docData[0]?e.docData[0].FileID:Math.floor(100*Math.random()))),a.length<1?Object(ee.jsx)("span",{children:Object(b.b)("File.AcceptedTypes",{acceptedFileTypes:e.acceptedFileTypes})}):null]},"doc-key-".concat(t))}));return e}return vt}console.error("Invalid number of arguments passed: ".concat(arguments))}()}),Ge?Object(ee.jsx)(cn,{classes:["osde"],headerText:Object(b.b)("Record.DataTitle"),children:function(){if(0===arguments.length)return he?Object(ee.jsxs)(ee.Fragment,{children:[Object(ee.jsxs)("div",{className:"osde-question-container",children:[Object(ee.jsx)(K.a,{className:"question-text",children:he.osde.nationality.text["en-US"]}),Object(ee.jsx)("div",{children:he.osde.nationality.options.map((function(e){return Object(ee.jsx)("div",{className:"osde-options-container",children:Object(ee.jsxs)("label",{className:"options",children:[Object(ee.jsx)("input",{type:"checkbox",id:"nationality-".concat(e.id),defaultChecked:he.osde.nationality.chosenOptions.includes(e.id),value:e.id,onClick:mt}),Object(ee.jsx)(K.a,{className:"question-option",children:e.text["en-US"]})]})},"nationality-option-".concat(e.id))}))})]}),Object(ee.jsxs)("div",{className:"osde-question-container",children:[Object(ee.jsx)(K.a,{className:"question-text",children:he.osde.eds.text["en-US"]}),Object(ee.jsx)("div",{children:he.osde.eds.options.map((function(e){return Object(ee.jsx)("div",{className:"osde-options-container",children:Object(ee.jsxs)("label",{className:"options",children:[Object(ee.jsx)("input",{type:"radio",id:"eds-".concat(e.id),defaultChecked:e.id===he.osde.eds.chosenOptions[0],name:"eds",value:e.id,onClick:function(){ht("osde","eds",e.id)}}),Object(ee.jsx)(K.a,{className:"question-option",children:e.text["en-US"]})]})},"eds-option-".concat(e.id))}))})]})]}):vt;console.error("Invalid number of arguments: ".concat(arguments))}()}):null]})]})})}n(454);var Ti=Object(a.createContext)();function Di(e){var t=Object(a.useContext)($).doingAjax,n=Object(a.useContext)(Ti),r=n.updateGradeLevels,i=n.chooseGrades,c=Object(a.useContext)(Y),o=c.displayModal,p=c.userSettings,h=function(e){switch(null===e||void 0===e?void 0:e.className){case"grade-level-group-fee":e&&!m.current.includes(e)&&m.current.push(e);break;case"grade-level-group-tuition":v.current=e;break;default:e&&!j.current.includes(e)&&j.current.push(e)}},m=Object(a.useRef)([]),j=Object(a.useRef)([]),v=Object(a.useRef)(),f=Object(a.useState)(e.level),O=Object(d.a)(f,2),g=O[0],x=O[1],S=Object(a.useState)(!1),y=Object(d.a)(S,2),A=y[0],w=y[1],C=Object(a.useMemo)((function(){return Object.keys(g.levels).map((function(e){return Object(ee.jsx)("div",{children:Object(ee.jsxs)("label",{children:[Object(ee.jsx)("input",{type:"checkbox",defaultChecked:!0===g.levels[e],disabled:-1===g.levels[e]||t,onClick:function(t){r((function(n){return n.map((function(n){return n.GradeLevelGroupID===g.GradeLevelGroupID?n.levels[e]=t.target.checked:n.levels[e]=!!t.target.checked&&-1,n}))})),i((function(n){return t.target.checked?n.add(e):n.delete(e),n}))}}),Object(b.b)(V[e])]})},"level-".concat(e))}))}),[g,t,i,r]),E=Object(a.useMemo)((function(){var e=function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=!1,"grade-level-group-fee"!==t.target.className){e.next=13;break}if(a=/^[\d.]+$/g,i=!isNaN(parseFloat(t.target.value))&&a.test(t.target.value)&&parseFloat(t.target.value)>0,t.target.value=""!==t.target.value&&i?parseFloat(t.target.value).toFixed(2):parseFloat(0).toFixed(2),i||1!==parseInt(t.target.dataset.feeOrdinal)){e.next=9;break}return e.abrupt("return",Z.b.error("Please enter a tuition amount that is numeric and greater than $0.00."));case 9:if(i){e.next=11;break}return e.abrupt("return",Z.b.error("Please enter fee amount(s) that are numeric and greater than $0.00."));case 11:e.next=23;break;case 13:if("grade-level-group-desc"!==t.target.className||""!==t.target.value){e.next=23;break}return e.prev=14,e.next=17,u.a.del("ShipyardAPI","/schoolsettings/grade_level_group/fee",{body:{feeId:t.target.dataset.feeId}});case 17:n=!0,e.next=23;break;case 20:e.prev=20,e.t0=e.catch(14),Z.b.error(Object(b.b)("General.AjaxError"));case 23:r((function(e){return e.map((function(e){if(e.GradeLevelGroupID===parseInt(t.target.dataset.groupId))if("grade-level-group-fee"===t.target.className)e.fees[parseInt(t.target.dataset.feeOrdinal)-1].Amount=parseFloat(t.target.value);else n?e.fees=e.fees.filter((function(e){return e.GroupFeeID!==parseInt(t.target.dataset.feeId)})):e.fees[parseInt(t.target.dataset.feeOrdinal)-1].FeeDescription=t.target.value;return e}))}));case 24:case"end":return e.stop()}}),e,null,[[14,20]])})));return function(t){return e.apply(this,arguments)}}();return g.fees.map((function(n){return Object(ee.jsxs)("div",{children:[Object(ee.jsx)("div",{children:Object(ee.jsx)("input",{ref:h,className:"grade-level-group-desc",onBlur:e,defaultValue:n.FeeDescription,placeholder:"Enter a fee description.","data-group-id":g.GradeLevelGroupID,"data-fee-ordinal":n.Ordinal,"data-fee-id":n.GroupFeeID,disabled:t||n.IsTuition})}),Object(ee.jsx)("div",{children:Object(ee.jsxs)("label",{children:["$ ",Object(ee.jsx)("input",{ref:h,className:"grade-level-group-fee",onBlur:e,defaultValue:n.Amount.toFixed(2),"data-group-id":g.GradeLevelGroupID,"data-fee-ordinal":n.Ordinal,disabled:t})]})})]},"".concat(n.FeeDescription,"-").concat(n.Ordinal))}))}),[g,t,r]);Object(a.useEffect)((function(){x(e.level)}),[e.level]),Object(a.useEffect)((function(){if(A){var e=function(){var e=Object(l.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.del("ShipyardAPI","/schoolsettings/grade_level_group",{body:{schoolId:p.SchoolId,groupNumber:g.GroupNumber}});case 3:i((function(e){for(var t=0,n=Object.entries(g.levels);t0?e.fees:[{FeeDescription:"Annual Tuition",Amount:0,IsTuition:!0,Ordinal:1}]}}))}))}}),[e.gradeLevels]),Object(a.useEffect)((function(){var t;if((null===(t=e.onSave)||void 0===t?void 0:t.trigger)||g){var n=function(){var t=Object(l.a)(s.a.mark((function t(){var n,a;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,u.a.patch("ShipyardAPI","/schoolsettings/grade_level_group",{body:{schoolId:r.SchoolId,gradeLevels:o}});case 3:t.next=8;break;case 5:t.prev=5,t.t0=t.catch(0),console.error(t.t0);case 8:"function"===typeof(null===(n=e.onSave)||void 0===n?void 0:n.after)&&e.onSave.after(!1),g&&(x(!1),"function"===typeof(null===e||void 0===e||null===(a=e.onSave)||void 0===a?void 0:a.reload)&&e.onSave.reload(!0));case 10:case"end":return t.stop()}}),t,null,[[0,5]])})));return function(){return t.apply(this,arguments)}}();n()}}),[e.onSave,o,r.SchoolId,g]);var S=Object(a.useMemo)((function(){return"function"===typeof(null===o||void 0===o?void 0:o.map)?o.map((function(e){return Object(ee.jsx)(Di,{level:Object.create(e)},"".concat(e.GradeLevelGroupID))})):null}),[o]);return Object(ee.jsxs)("div",{className:"function"===typeof(null===e||void 0===e||null===(t=e.classes)||void 0===t?void 0:t.join)?e.classes.join(" ")+" grade-level-control":"grade-level-control",children:[Object(ee.jsx)(Ti.Provider,{value:{chooseGrades:v,updateGradeLevels:p},children:S}),Object(ee.jsx)(de,{className:"new-grade-level",type:"secondary",onClick:function(){p((function(e){return[].concat(Object(q.a)(e),[{GradeLevelGroupID:null,GroupNumber:e.length+1,levels:{PreK:!!j.has("PreK")&&-1,PreKH:!!j.has("PreKH")&&-1,K:!!j.has("K")&&-1,KH:!!j.has("KH")&&-1,G1:!!j.has("G1")&&-1,G2:!!j.has("G2")&&-1,G3:!!j.has("G3")&&-1,G4:!!j.has("G4")&&-1,G5:!!j.has("G5")&&-1,G6:!!j.has("G6")&&-1,G7:!!j.has("G7")&&-1,G8:!!j.has("G8")&&-1,G9:!!j.has("G9")&&-1,G10:!!j.has("G10")&&-1,G11:!!j.has("G11")&&-1,G12:!!j.has("G12")&&-1},fees:[{FeeDescription:"Annual Tuition",Amount:0,IsTuition:!0,Ordinal:1}]}])})),x(!0)},disabled:n||14===j.size,children:Object(b.b)("GradeLevel.Control.Add")})]})}n(455);function ki(e){var t,n,r,i,c,o,p,h,m,j,v,f,O,g,x,S,y,A,w,C,E,L,N,I=Object(a.useContext)(Y),T=I.displayModal,D=I.userSettings,P=Object(a.useState)(!0),k=Object(d.a)(P,2),R=k[0],F=k[1],G=Object(a.useState)(!1),U=Object(d.a)(G,2),M=U[0],H=U[1],B=Object(a.useState)(!1),V=Object(d.a)(B,2),q=V[0],_=V[1],z=Object(a.useState)([]),W=Object(d.a)(z,2),Q=W[0],$=W[1],J=Object(a.useState)(),X=Object(d.a)(J,2),te=X[0],ne=X[1],ae=Object(a.useState)([{rgx:/^[0-9]*$/,failText:"Please enter a valid number of days"}]),re=Object(d.a)(ae,1)[0],ie=Object(a.useState)(!1),oe=Object(d.a)(ie,2),se=oe[0],le=oe[1],ue=Object(a.useRef)([]),pe=function(e){e&&!ue.current.includes(e)&&ue.current.push(e)};Object(a.useEffect)((function(){if(D.Retrieved&&R){var e=function(){var e=Object(l.a)(s.a.mark((function e(){var t,n,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.get("ShipyardAPI","/schoolsettings",{queryStringParameters:{schoolId:D.SchoolId}});case 3:t=e.sent,n={schoolGrades:t.schoolGrades,schoolInfo:t.schoolInfo},a=(null===t||void 0===t?void 0:t.affidavit)?[{name:t.affidavit.SchoolFileDescription,fileId:t.affidavit.FileID,uploadedOn:new Date(t.affidavit.UploadedOn).toISOString(),type:"pdf"}]:[],ne(n),$(a),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error(e.t0);case 13:F(!1);case 14:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(){return e.apply(this,arguments)}}();e()}}),[R,D.SchoolId,D.Retrieved]),Object(a.useEffect)((function(){if(q){_(!1);var e=function(){var e=Object(l.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u.a.del("ShipyardAPI","/schoolsettings/affidavit",{body:{fileId:Q[0].fileId,status:"0"}});case 3:$([]),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),Z.b.error(Object(b.b)("General.AjaxError"));case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(){return e.apply(this,arguments)}}();e()}}),[q,Q]);var be=Object(ee.jsx)("h2",{children:Object(ee.jsx)(K.a,{children:Object(b.b)("SchoolInfo.Header")})}),he=function(){var e=Object(l.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return H(!0),e.prev=1,e.next=4,u.a.patch("ShipyardAPI","/schoolsettings",{body:te.schoolInfo});case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),Z.b.error(Object(b.b)("General.AjaxError"));case 9:le(!0);case 10:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(){return e.apply(this,arguments)}}();Object(a.useEffect)((function(){se||H(!1)}),[se]);var me=function(){var e=Object(l.a)(s.a.mark((function e(t){var n,a,r,i,c,o;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return null===t||void 0===t||t.preventDefault(),null===t||void 0===t||t.stopPropagation(),H(!0),r=(null===t||void 0===t||null===(n=t.dataTransfer)||void 0===n?void 0:n.files)||(null===t||void 0===t||null===(a=t.target)||void 0===a?void 0:a.files),e.prev=4,e.next=7,u.a.get("ShipyardAPI","/schoolsettings/affidavit_presign",{queryStringParameters:{fileName:r[0].name,documentType:6,mimeType:r[0].type}});case 7:i=e.sent,e.next=15;break;case 10:return e.prev=10,e.t0=e.catch(4),Z.b.error(Object(b.b)("General.AjaxError")),H(!1),e.abrupt("return");case 15:return e.prev=15,c={body:r[0],headers:{"Content-Type":""},method:"PUT"},e.next=19,fetch(i.url,c);case 19:if(e.sent.ok){e.next=24;break}return Z.b.error(Object(b.b)("General.AjaxError")),H(!1),e.abrupt("return");case 24:e.next=31;break;case 26:return e.prev=26,e.t1=e.catch(15),Z.b.error(Object(b.b)("General.AjaxError")),H(!1),e.abrupt("return");case 31:return e.prev=31,e.next=34,u.a.put("ShipyardAPI","/schoolsettings/affidavit",{queryStringParameters:{schoolId:te.schoolInfo.SchoolID,fileId:i.fileId,status:"1"}});case 34:e.next=41;break;case 36:return e.prev=36,e.t2=e.catch(31),Z.b.error(Object(b.b)("General.AjaxError")),H(!1),e.abrupt("return");case 41:o={name:r[0].name,fileId:i.fileId,uploadedOn:(new Date).toISOString(),type:r[0].type},$([o]),H(!1);case 44:case"end":return e.stop()}}),e,null,[[4,10],[15,26],[31,36]])})));return function(t){return e.apply(this,arguments)}}(),je=Object(a.useMemo)((function(){var e,t;return"function"===typeof(null===te||void 0===te||null===(e=te.schoolInfo)||void 0===e||null===(t=e.stateOptions)||void 0===t?void 0:t.map)?te.schoolInfo.stateOptions.map((function(e){return Object(ee.jsx)("option",{value:e.StateID,children:e.StateName},"option-".concat(e.StateID))})):null}),[te]);return Object(ee.jsx)(Xe,{viewTitle:be,doingAjax:R||M,name:"school-info",children:Object(ee.jsx)(vi,{refs:ue.current,primaryButton:!0,primaryButtonText:Object(b.b)("UserSettings.SaveButtonText"),primaryButtonInteractiveText:Object(b.b)("General.InteractiveSave"),otherButtons:Object(ee.jsx)(de,{type:"negative",children:Object(b.b)("SchoolInfo.DeleteSchool")}),onUserInteract:{handleSave:function(e){ne((function(t){for(var n=Object.assign({},t),a=0,r=Object.entries(e);a