{"version":3,"sources":["webpack:///external \"_\"","webpack:///./portal/Components/Accounts/advocateAndAttorneyFields.tsx","webpack:///./portal/Components/Home/requestClaimAccess.tsx","webpack:///external \"React\"","webpack:///./portal/Components/Shared/errorBoundary.tsx","webpack:///./portal/Components/Shared/401ErrorDialog.tsx","webpack:///./portal/Components/Shared/advocatePortalApp.tsx","webpack:///external \"ReactDOM\"","webpack:///./portal/Components/Accounts/accountsApiClient.ts","webpack:///./portal/Components/Shared/pureG.tsx","webpack:///./portal/Components/Shared/setErrorsFromResponse.ts","webpack:///./portal/Components/Accounts/signIn.tsx","webpack:///./portal/Components/Shared/portalFullHeader.tsx","webpack:///./portal/Components/Shared/helpDialog.tsx","webpack:///./portal/Components/Accounts/changePasswordDialog.tsx","webpack:///./portal/Components/Accounts/updateProfileDialog.tsx","webpack:///./portal/Components/Shared/SiteNavigation/UserMenu.tsx","webpack:///./portal/Components/Shared/SiteNavigation/ClaimMenu.tsx","webpack:///./portal/Components/Shared/portalSiteNavigation.tsx","webpack:///./portal/Components/Shared/Layout/authenticatedUserLayout.ts","webpack:///./portal/Components/Shared/advocatePortalPage.tsx","webpack:///./portal/Components/Shared/advocatePortalFullPage.tsx","webpack:///./portal/Components/Home/dashboardApiClient.ts"],"names":["module","exports","_","props","emptyAddressSuggestionState","cities","states","lastDefaults","lastDefaultedCity","lastDefaultedState","lastDefaultedCounty","lastDefaultedCountry","onAssistingOrganizationChanged","value","onChange","data","assistingOrganization","onAddressStreetChanged","address","street","onAddressZipChanged","zipCode","onZipCodeBlur","autoFillAddressSuggestions","onAddressCityChanged","selectedOption","city","onAddressStateChanged","state","onFirmNameChanged","firmName","onFaxChanged","faxNumber","fax","onTaxIdChanged","taxId","addressSuggestionState","render","this","userType","errors","cityOptions","map","c","text","stateOptions","s","stateName","concat","systemKey","name","addressFields","label","required","errorMessage","getErrorMessage","size","onBlur","options","allowCustomInput","phone","onPhoneChange","errorMessages","getErrorMessages","zipCodesApiClient","getAddressSuggestion","then","suggestion","setState","defaultCity","defaultState","RequestClaimAccessDialog","closeDialog","portalUser","apiClient","appContext","claimNumberInputMask","recaptchaPublicSiteKey","claimNumber","setClaimNumber","victimName","setVictimName","representingClaimantName","setRepresentingClaimantName","recaptchaResponse","setRecaptchaResponse","setErrors","singleTabText","className","mask","isVictimClaimant","sitekey","color","onClick","createAccessRequest","portalUserId","userId","r","flashMessage","RequestClaimAccessSection","isRequestSubmitted","setIsRequestSubmitted","style","fontSize","AccessRequestSubmitted","onRequestAccessToAnotherClaim","RequestClaimAccessForm","onRequestSubmitted","role","React","error","errorInfo","children","componentDidCatch","Render401ErrorDialog","close","AdvocatePortalApp","renderChildren","openDialog","registerContextMenu","registerBeforeUnload","confirm","startSerialOperation","setWindowLocationHref","fetcher","handleNetworkError","handle500Error","handle404Error","handle401Error","handle403Error","getCsrfInfo","csrfInfo","context","serialFetcher","ReactDOM","accountsApiClientUrls","signInUrl","signOutUrl","createNewUserUrl","confirmCreateCodeUrl","resendCreateCodeUrl","accountSetupUrl","getChangePasswordInfoUrl","changePasswordUrl","forgotPasswordEmailUrl","confirmPasswordResetCodeUrl","resendPasswordResetCodeUrl","resetPasswordUrl","getUpdateProfileUrl","getEditUserAccountInfoUrl","updateProfileUrl","editUserAccountInfoUrl","signIn","postJson","signOut","createNewUser","confirmCreateCode","resendCreateCode","email","accountSetup","getChangePasswordInfo","getJson","undefined","changePassword","forgotPasswordEmail","confirmPasswordResetCode","resendPasswordResetCode","resetPassword","getUpdateProfile","updateProfile","alignRight","offset","sizeClass","offsetClass","inline","title","classes","styles","paddingBottom","setErrorsFromResponse","response","length","onEmailChanged","onPasswordChanged","password","onRecaptchaChanged","onSignInClicked","event","preventDefault","stopPropagation","request","returnUrl","accountsApiClient","catch","success","redirectUrl","requiresCaptcha","onCreateNewUserClicked","createNewUserPageUrl","showPassword","headerContent","forgotPasswordPageUrl","borderedHeader","layout","onSubmit","autoFocus","htmlFor","id","type","e","currentTarget","display","justifyContent","onToggle","prev","ref","url","href","accessibilityNoticeUrl","SignInPage","document","getElementById","homeUrl","homeLinkText","siteLinksContent","navContent","bordered","logoImageUrl","width","organizationPhoneNumber","officeTollFreePhoneNumber","onCurrentPasswordChanged","currentPassword","onNewPasswordChanged","newPassword","onConfirmNewPasswordChanged","confirmNewPassword","onChangePasswordClicked","flashMessageCallback","passwordPolicyRules","tabs","key","selectedTabKey","onTabSelect","updateData","producer","onFirstNameChanged","firstName","onMiddleNameChanged","middleName","onLastNameChanged","lastName","onPhoneChanged","onAttorneyAdvocateDataChanged","onSaveAccountClicked","receivePortalTaskNotificationDigest","initialData","for","d","UserMenu","iconClass","addressSuggestionUrl","onUpdateProfileClicked","siteRootUrl","onLogoutClicked","ClaimMenu","claimOrApplicationNumberAndIds","dashboardApiClient","applicationNumber","createNewClaimApplicationAndRedirect","PortalSiteNavigation","user","selectedClaimOrApplicationKey","iconClassName","victimClaimantClaimOrApplications","ClaimMenuLink","UserMenuLink","userInformalDisplayName","informalDisplayName","openUserMenu","openContextMenu","openMenu","selectedItem","selectedText","isAuthenticatedUserLayout","loggedInUser","header","dashboardApiUrls","dangerouslySetInnerHTML","__html","pageTitle","urls","newClaimApplication","createClaimApplicationUrl","newSupplementalClaimApplication","matterId","createSupplementalClaimApplicationUrl","filterClaims","filter","concurrencyContext","getAdvocateAttorneyClaimsUrl","createNewSupplementalClaimApplicationAndRedirect","createAccessRequestUrl"],"mappings":"sGAAAA,EAAOC,QAAUC,G,4qBCiCjB,cAYE,WAAYC,GAAZ,MACE,YAAMA,IAAM,K,OAZN,EAAAC,4BAAsD,CAC5DC,OAAQ,GACRC,OAAQ,GACRC,aAAc,CACZC,kBAAmB,GACnBC,mBAAoB,GACpBC,oBAAqB,GACrBC,qBAAsB,KA2GlB,EAAAC,+BAAiC,SAACC,GACxC,EAAKV,MAAMW,SAAS,EAAD,KAAM,EAAKX,MAAMY,MAAI,CAAEC,sBAAuBH,MAG3D,EAAAI,uBAAyB,SAACJ,GAChC,EAAKV,MAAMW,SAAS,EAA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AKW,uBAAwBhH,IAEzE,EApDA,K","file":"signin/signin.369b761d6fdb826e6198.js","sourcesContent":["module.exports = _;","import * as React from \"react\";\r\nimport { LabeledTextField } from \"spry-react/Text/textField\";\r\nimport { PortalUserType, AddressSuggestionState } from \"./accountsApiClient\";\r\nimport { Address } from \"spry-react/Address/addressField\";\r\nimport { PhoneNumber, LabeledPhoneField } from \"spry-react/Phone/phoneField\";\r\nimport { ErrorList } from \"spry-react/Errors/errorList\";\r\nimport { ZipCodesApiClient } from \"spry-react/Address/zipCodesApiClient\";\r\nimport { KeyedCode } from \"spry-react/utils/apiTypes\";\r\nimport { LabeledSelectField, SelectFieldOption } from \"spry-react/Select/selectField\";\r\nimport { getAddressSuggestion } from 'spry-react/Address/addressSuggestion';\r\nimport { PureGU1Field, Field, PureG } from \"Components/Shared/pureG\";\r\n\r\nexport interface AdvocateAndAttorneyData {\r\n assistingOrganization: string; // adv only\r\n address: Address; // both adv/attorney\r\n firmName: string; // atty only\r\n fax: PhoneNumber; // atty only\r\n taxId: string; // atty only\r\n}\r\n\r\nexport interface Props {\r\n zipCodesApiClient: ZipCodesApiClient;\r\n states: KeyedCode[];\r\n userType: PortalUserType;\r\n data: AdvocateAndAttorneyData;\r\n onChange: (data: AdvocateAndAttorneyData) => void;\r\n errors: ErrorList;\r\n}\r\n\r\nexport interface State {\r\n addressSuggestionState: AddressSuggestionState | null;\r\n}\r\n\r\nexport class AdvocateAndAttorneyFields extends React.Component {\r\n private emptyAddressSuggestionState: AddressSuggestionState = {\r\n cities: [],\r\n states: [],\r\n lastDefaults: {\r\n lastDefaultedCity: '',\r\n lastDefaultedState: '',\r\n lastDefaultedCounty: '',\r\n lastDefaultedCountry: ''\r\n }\r\n };\r\n\r\n constructor(props: Props) {\r\n super(props);\r\n\r\n this.state = {\r\n addressSuggestionState: this.emptyAddressSuggestionState\r\n };\r\n }\r\n\r\n render() {\r\n const { userType, errors } = this.props;\r\n const { assistingOrganization, address, firmName, fax, taxId } = this.props.data;\r\n const { addressSuggestionState } = this.state;\r\n\r\n const cityOptions = addressSuggestionState\r\n ? addressSuggestionState.cities.map(c => { return { value: c, text: c }; })\r\n : [];\r\n const stateOptions = addressSuggestionState\r\n ? addressSuggestionState.states.map(s => { return { value: s.state, text: s.stateName }; })\r\n : [{ value: \"\", text: \"\" }].concat(this.props.states.map(s => { return { value: s.systemKey, text: s.name }; }));\r\n\r\n const addressFields = <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ;\r\n\r\n return <>\r\n {userType === \"Advocate\" && <>\r\n \r\n \r\n \r\n {addressFields}\r\n }\r\n\r\n {userType === \"Attorney\" && <>\r\n \r\n \r\n \r\n {addressFields}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n ;\r\n }\r\n\r\n private onAssistingOrganizationChanged = (value: string) => {\r\n this.props.onChange({ ...this.props.data, assistingOrganization: value });\r\n\r\n }\r\n private onAddressStreetChanged = (value: string) => {\r\n this.props.onChange({ ...this.props.data, address: { ...this.props.data.address, street: value } });\r\n }\r\n private onAddressZipChanged = (value: string) => {\r\n this.props.onChange({ ...this.props.data, address: { ...this.props.data.address, zipCode: value } });\r\n }\r\n\r\n private onZipCodeBlur = () => {\r\n this.autoFillAddressSuggestions(this.props.data.address.zipCode);\r\n }\r\n\r\n private autoFillAddressSuggestions(zipCode: string) {\r\n getAddressSuggestion(zipCode, (zipCode: string) => {\r\n return this.props.zipCodesApiClient.getAddressSuggestion(zipCode, () => {/* silently fail here */});\r\n },\r\n this.props.data.address,\r\n this.state.addressSuggestionState.lastDefaults)\r\n .then(suggestion => {\r\n const lastDefaults = this.state.addressSuggestionState.lastDefaults;\r\n\r\n this.setState(state => {\r\n return {\r\n addressSuggestionState: {\r\n cities: suggestion.cities,\r\n states: suggestion.states,\r\n lastDefaults: {\r\n lastDefaultedCity: suggestion.defaultCity ? suggestion.city : lastDefaults.lastDefaultedCity,\r\n lastDefaultedState: suggestion.defaultState ? suggestion.state : lastDefaults.lastDefaultedState,\r\n lastDefaultedCountry: '',\r\n lastDefaultedCounty: ''\r\n }\r\n }\r\n };\r\n }, () => {\r\n this.props.onChange({\r\n ...this.props.data, address: {\r\n ...this.props.data.address,\r\n city: suggestion.defaultCity ? suggestion.city : lastDefaults.lastDefaultedCity,\r\n state: suggestion.defaultState ? suggestion.state : lastDefaults.lastDefaultedState\r\n }\r\n });\r\n });\r\n });\r\n }\r\n\r\n private onAddressCityChanged = (selectedOption: SelectFieldOption) => {\r\n this.props.onChange({ ...this.props.data, address: { ...this.props.data.address, city: selectedOption.value } });\r\n }\r\n private onAddressStateChanged = (selectedOption: SelectFieldOption) => {\r\n this.props.onChange({ ...this.props.data, address: { ...this.props.data.address, state: selectedOption.value } });\r\n }\r\n private onFirmNameChanged = (value: string) => {\r\n this.props.onChange({ ...this.props.data, firmName: value });\r\n }\r\n private onFaxChanged = (faxNumber: PhoneNumber) => {\r\n this.props.onChange({ ...this.props.data, fax: faxNumber });\r\n }\r\n private onTaxIdChanged = (value: string) => {\r\n this.props.onChange({ ...this.props.data, taxId: value });\r\n }\r\n}","import * as React from \"react\";\r\nimport { DashboardApiClient } from \"Components/Home/dashboardApiClient\";\r\nimport { Dialog } from \"spry-react/Dialog/dialog\";\r\nimport { ErrorDisplayListAutoScrolling } from \"spry-react/Errors/errorDisplayListAutoScrolling\";\r\nimport { LabeledMaskedTextField } from \"spry-react/Text/maskedTextField\";\r\nimport { useState } from \"react\";\r\nimport { ErrorList } from \"spry-react/Errors/errorList\";\r\nimport { LabeledTextField } from \"spry-react/Text/textField\";\r\nimport { Button } from \"spry-react/Buttons/button\";\r\nimport { IAppContext } from \"Components/Shared/appContext\";\r\nimport { LoggedInUser } from \"Components/Shared/Layout/authenticatedUserLayout\";\r\nimport { PureG, PureU, Field, PureGU1Field } from \"Components/Shared/pureG\";\r\nimport { setErrorsFromResponse } from \"Components/Shared/setErrorsFromResponse\";\r\nimport ReCAPTCHA from \"react-google-recaptcha\";\r\n\r\nexport function RequestClaimAccessDialog(props: {\r\n closeDialog: () => void;\r\n appContext: IAppContext;\r\n apiClient: DashboardApiClient;\r\n portalUser: LoggedInUser;\r\n claimNumberInputMask: string;\r\n recaptchaPublicSiteKey: string;\r\n}){\r\n const { closeDialog, portalUser, apiClient, appContext, claimNumberInputMask, recaptchaPublicSiteKey } = props;\r\n const [ claimNumber, setClaimNumber ] = useState(\"\");\r\n const [ victimName, setVictimName ] = useState(\"\")\r\n const [ representingClaimantName, setRepresentingClaimantName ] = useState(\"\");\r\n const [ recaptchaResponse, setRecaptchaResponse ] = useState(\"\");\r\n const [ errors, setErrors ] = useState(new ErrorList([]));\r\n\r\n return <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n portalUser.isVictimClaimant \r\n ? \r\n \r\n \r\n : <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n}\r\n\r\nexport function RequestClaimAccessSection(props: { \r\n portalUser: LoggedInUser,\r\n apiClient: DashboardApiClient,\r\n appContext: IAppContext,\r\n claimNumberInputMask: string;\r\n recaptchaPublicSiteKey: string;\r\n}){\r\n const { portalUser, apiClient, appContext, claimNumberInputMask, recaptchaPublicSiteKey } = props;\r\n const [ isRequestSubmitted, setIsRequestSubmitted ] = useState(false);\r\n\r\n return <>\r\n
\r\n

Request access to claim

\r\n

\r\n {\r\n portalUser.isVictimClaimant \r\n ? \"If you previsouly mailed in your claim application and want to track its progress online, add supporting information or file a supplemental claim, enter the claim number and the name of the victim. Then click Request Access. An investigator will review your request and respond shortly.\"\r\n : \"If you previsouly mailed in your claim application and want to track its progress online, add supporting information or file a supplemental claim, enter the claim number, the name of the victim, and the name of the claimant you are representing. Then click Request Access. An investigator will review your request and respond shortly.\"\r\n }\r\n \r\n

\r\n
\r\n
\r\n {\r\n !isRequestSubmitted \r\n ? setIsRequestSubmitted(true)}\r\n />\r\n : setIsRequestSubmitted(false)} \r\n />\r\n }\r\n
\r\n \r\n}\r\n\r\nexport function AccessRequestSubmitted(props: {\r\n onRequestAccessToAnotherClaim: () => void\r\n}){\r\n return <>\r\n
\r\n

\r\n Your access request has been submitted.\r\n

\r\n \r\n
\r\n \r\n}\r\n\r\nexport function RequestClaimAccessForm(props: { \r\n portalUser: LoggedInUser,\r\n apiClient: DashboardApiClient,\r\n appContext: IAppContext,\r\n claimNumberInputMask: string;\r\n recaptchaPublicSiteKey: string;\r\n onRequestSubmitted: () => void;\r\n}){\r\n const { portalUser, apiClient, appContext, claimNumberInputMask, onRequestSubmitted, recaptchaPublicSiteKey } = props;\r\n const [ claimNumber, setClaimNumber ] = useState(\"\");\r\n const [ victimName, setVictimName ] = useState(\"\")\r\n const [ representingClaimantName, setRepresentingClaimantName ] = useState(\"\");\r\n const [ recaptchaResponse, setRecaptchaResponse ] = useState(\"\");\r\n const [ errors, setErrors ] = useState(new ErrorList([]));\r\n\r\n return <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {\r\n portalUser.isVictimClaimant \r\n ? \r\n \r\n \r\n : <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n}\r\n","module.exports = React;","import * as React from \"react\";\r\n\r\ninterface Props {\r\n}\r\n\r\ninterface State {\r\n error: any;\r\n errorInfo: any;\r\n}\r\n\r\nexport class ErrorBoundary extends React.Component {\r\n constructor(props: Props) {\r\n super(props);\r\n this.state = {\r\n error: null,\r\n errorInfo: null\r\n };\r\n }\r\n\r\n render() {\r\n if (this.state.errorInfo) {\r\n return <>\r\n

An unexpected error has occurred

\r\n The details of the error have been logged. Try refreshing the page and trying the operation again. If the problem persists please contact technical support.\r\n ;\r\n }\r\n\r\n return this.props.children;\r\n }\r\n\r\n componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void {\r\n this.setState({ error, errorInfo });\r\n\r\n /* todo: log error to server */\r\n }\r\n}","import * as React from \"react\";\r\nimport { SimpleDialog } from \"spry-react/Dialog/dialog\";\r\n\r\nexport function Render401ErrorDialog(close: () => void) {\r\nreturn (\r\n \r\n

Your session has expired. Please refresh the page and login.

\r\n
\r\n );\r\n}","import * as React from \"react\";\r\nimport { App } from \"spry-react/App/app\";\r\nimport { ErrorBoundary } from \"./errorBoundary\";\r\nimport { IAppContext } from \"./appContext\";\r\nimport { RenderNetworkErrorDialog } from \"spry-react/Errors/networkErrorDialog\";\r\nimport { Render500ErrorDialog } from \"spry-react/Errors/500ErrorDialog\";\r\nimport { Render404ErrorDialog } from \"spry-react/Errors/404ErrorDialog\";\r\nimport { Render403ErrorDialog } from \"spry-react/Errors/403ErrorDialog\";\r\nimport { Render401ErrorDialog } from \"./401ErrorDialog\";\r\nimport { FetchWithStandardErrorHandling } from \"spry-react/utils/fetchWithStandardErrorHandling\";\r\nimport { FetchWithSerialOperationHandling } from 'spry-react/utils/fetchWithSerialOperationHandling';\r\n\r\nimport \"./site.less\";\r\nimport { CrossSiteRequestForgeryTokenInfo } from \"spry-react/utils/fetchExtensions\";\r\n\r\nexport interface Props {\r\n renderChildren: (appContext: IAppContext) => React.ReactElement | React.ReactElement[] | React.ReactPortal | string | number | null | false;\r\n csrfInfo: CrossSiteRequestForgeryTokenInfo;\r\n}\r\n\r\nexport function AdvocatePortalApp(props: Props){\r\n return (\r\n \r\n {\r\n const openNetworkErrorDialog = () => { openDialog(RenderNetworkErrorDialog); };\r\n const open500ErrorDialog = () => { openDialog(Render500ErrorDialog); };\r\n const open404ErrorDialog = () => { openDialog(Render404ErrorDialog); };\r\n const open401ErrorDialog = () => { openDialog(Render401ErrorDialog); };\r\n const open403ErrorDialog = () => { openDialog(Render403ErrorDialog); };\r\n const fetcher = new FetchWithStandardErrorHandling({\r\n handleNetworkError: openNetworkErrorDialog,\r\n handle500Error: open500ErrorDialog,\r\n handle404Error: open404ErrorDialog,\r\n handle401Error: open401ErrorDialog,\r\n handle403Error: open403ErrorDialog,\r\n getCsrfInfo: () => props.csrfInfo\r\n });\r\n const serialFetcher = new FetchWithSerialOperationHandling(startSerialOperation, fetcher);\r\n\r\n const context: IAppContext = {\r\n registerContextMenu,\r\n fetcher,\r\n serialFetcher,\r\n openDialog,\r\n confirm,\r\n flashMessage,\r\n registerBeforeUnload,\r\n setWindowLocationHref\r\n };\r\n\r\n return props.renderChildren(context);\r\n }} />\r\n \r\n );\r\n}","module.exports = ReactDOM;","import { IFetcher } from \"spry-react/utils/IFetcher\";\r\nimport { PhoneNumber } from \"spry-react/Phone/phoneField\";\r\nimport { SimpleCode, KeyedCode } from \"spry-react/utils/apiTypes\";\r\nimport { ApiEditResponse } from \"shared/DTOs/ApiEditResponse\";\r\nimport { ApiValidationResponse } from \"shared/DTOs/ApiValidationResponse\";\r\nimport { Address } from \"spry-react/Address/addressField\";\r\nimport { SuggestionState } from \"spry-react/Address/addressSuggestion\";\r\nimport { FetchWithSerialOperationHandling } from \"spry-react/utils/fetchWithSerialOperationHandling\";\r\nimport { Layout } from \"Components/Shared/Layout/layout\";\r\n\r\nexport interface AccountsApiClientUrls {\r\n signInUrl: string;\r\n signOutUrl: string;\r\n createNewUserUrl: string;\r\n confirmCreateCodeUrl: string;\r\n resendCreateCodeUrl: string;\r\n accountSetupUrl: string;\r\n getChangePasswordInfoUrl: string;\r\n changePasswordUrl: string;\r\n forgotPasswordEmailUrl: string;\r\n confirmPasswordResetCodeUrl: string;\r\n resendPasswordResetCodeUrl: string;\r\n resetPasswordUrl: string;\r\n getEditUserAccountInfoUrl: string;\r\n editUserAccountInfoUrl: string;\r\n}\r\n\r\nexport interface SignInRequest {\r\n email: string;\r\n password: string;\r\n returnUrl: string;\r\n recaptchaResponse: string;\r\n}\r\n\r\nexport interface SignInResponse extends ApiEditResponse {\r\n requiresCaptcha: boolean;\r\n redirectUrl: string;\r\n}\r\n\r\nexport interface SignInPageResponse {\r\n accountsApiClientUrls: AccountsApiClientUrls;\r\n createNewUserPageUrl: string;\r\n forgotPasswordPageUrl: string;\r\n forgotUsernamePageUrl: string;\r\n recaptchaPublicSiteKey: string;\r\n returnUrl: string;\r\n layout: Layout;\r\n}\r\n\r\nexport interface SignOutResponse {\r\n siteRootUrl: string;\r\n}\r\n\r\nexport interface CreateNewUserPageResponse {\r\n accountsApiClientUrls: AccountsApiClientUrls;\r\n signInPageUrl: string;\r\n addressSuggestionUrl: string;\r\n states: KeyedCode[];\r\n recaptchaPublicSiteKey: string;\r\n passwordPolicyRules: string[];\r\n layout: Layout;\r\n}\r\n\r\nexport interface CreateNewUserRequest {\r\n firstName: string;\r\n middleName: string;\r\n lastName: string;\r\n email: string;\r\n phoneNumber: PhoneNumber;\r\n recaptchaResponse: string;\r\n userType: PortalUserType;\r\n assistingOrganization: string; // adv only\r\n address: Address; // both adv/attorney\r\n firmName: string; // atty only\r\n fax: PhoneNumber; // atty only\r\n taxId: string; // atty only\r\n}\r\n\r\nexport interface AddressSuggestionState {\r\n cities: string[];\r\n states: { state: string; stateName: string; }[];\r\n lastDefaults: SuggestionState;\r\n}\r\n\r\nexport type PortalUserType = 'VictimClaimant' | 'Advocate' | 'Attorney';\r\n\r\nexport interface CreateNewUserResponse extends ApiEditResponse {\r\n email: string;\r\n expiresOn: string;\r\n}\r\n\r\nexport interface ConfirmCreateCodeRequest {\r\n email: string;\r\n code: string;\r\n}\r\n\r\nexport interface ResendCreateCodeResponse {\r\n didSend: boolean;\r\n}\r\n\r\nexport interface AccountSetupRequest {\r\n email: string;\r\n code: string;\r\n password: string;\r\n confirmPassword: string;\r\n}\r\n\r\nexport interface AccountSetupResponse extends ApiValidationResponse {\r\n accountCreatedRedirectUrl: string;\r\n}\r\n\r\nexport interface GetChangePasswordInfoResponse {\r\n passwordPolicyRules: string[];\r\n}\r\n\r\nexport interface ChangePasswordRequest {\r\n currentPassword: string;\r\n newPassword: string;\r\n confirmNewPassword: string;\r\n}\r\n\r\nexport interface ForgotPasswordEmailRequest {\r\n email: string;\r\n recaptchaResponse: string;\r\n}\r\n\r\nexport interface ForgotPasswordPageResponse {\r\n defaultEmail: string | null;\r\n accountsApiClientUrls: AccountsApiClientUrls;\r\n signInPageUrl: string;\r\n recaptchaPublicSiteKey: string;\r\n passwordPolicyRules: string[];\r\n layout: Layout;\r\n}\r\n\r\nexport interface ForgotPasswordEmailResponse extends ApiValidationResponse {\r\n userMatchWasFound: boolean;\r\n portalUserId: number | null;\r\n email: string;\r\n expiresOn: string;\r\n}\r\n\r\nexport interface ConfirmPasswordResetCodeRequest {\r\n portalUserId: number;\r\n code: string;\r\n}\r\n\r\nexport interface ResendPasswordResetCodeRequest {\r\n portalUserId: number;\r\n}\r\n\r\nexport interface ResendPasswordResetCodeResponse {\r\n didSend: boolean;\r\n}\r\n\r\nexport interface ResetPasswordRequest {\r\n portalUserId: number;\r\n code: string;\r\n password: string;\r\n confirmPassword: string;\r\n}\r\n\r\nexport interface ResetPasswordResponse extends ApiValidationResponse {\r\n redirectUrl: string;\r\n}\r\n\r\nexport interface GetUpdateProfileResponse {\r\n firstName: string;\r\n middleName: string;\r\n lastName: string;\r\n email: string;\r\n phone: PhoneNumber;\r\n userType: PortalUserType;\r\n assistingOrganization: string;\r\n address: Address;\r\n firmName: string;\r\n fax: PhoneNumber;\r\n taxId: string;\r\n receivePortalTaskNotificationDigest: boolean;\r\n namePrefixes: SimpleCode[];\r\n nameSuffixes: SimpleCode[];\r\n states: KeyedCode[];\r\n addressSuggestionUrl: string;\r\n}\r\n\r\nexport interface UpdateProfileRequest {\r\n firstName: string;\r\n middleName: string;\r\n lastName: string;\r\n email: string;\r\n phone: PhoneNumber;\r\n userType: PortalUserType;\r\n assistingOrganization: string;\r\n address: Address;\r\n firmName: string;\r\n fax: PhoneNumber;\r\n taxId: string;\r\n receivePortalTaskNotificationDigest: boolean;\r\n}\r\n\r\nexport class AccountsApiClient {\r\n private readonly signInUrl: string;\r\n private readonly signOutUrl: string;\r\n private readonly createNewUserUrl: string;\r\n private readonly confirmCreateCodeUrl: string;\r\n private readonly resendCreateCodeUrl: string;\r\n private readonly accountSetupUrl: string;\r\n private readonly getChangePasswordInfoUrl: string;\r\n private readonly changePasswordUrl: string;\r\n private readonly forgotPasswordEmailUrl: string;\r\n private readonly confirmPasswordResetCodeUrl: string;\r\n private readonly resendPasswordResetCodeUrl: string;\r\n private readonly resetPasswordUrl: string;\r\n private readonly getUpdateProfileUrl: string;\r\n private readonly updateProfileUrl: string;\r\n\r\n private readonly fetcher: FetchWithSerialOperationHandling;\r\n\r\n constructor(accountsApiClientUrls: AccountsApiClientUrls, fetcher: FetchWithSerialOperationHandling) {\r\n this.signInUrl = accountsApiClientUrls.signInUrl;\r\n this.signOutUrl = accountsApiClientUrls.signOutUrl;\r\n this.createNewUserUrl = accountsApiClientUrls.createNewUserUrl;\r\n this.confirmCreateCodeUrl = accountsApiClientUrls.confirmCreateCodeUrl;\r\n this.resendCreateCodeUrl = accountsApiClientUrls.resendCreateCodeUrl;\r\n this.accountSetupUrl = accountsApiClientUrls.accountSetupUrl;\r\n this.getChangePasswordInfoUrl = accountsApiClientUrls.getChangePasswordInfoUrl;\r\n this.changePasswordUrl = accountsApiClientUrls.changePasswordUrl;\r\n this.forgotPasswordEmailUrl = accountsApiClientUrls.forgotPasswordEmailUrl;\r\n this.confirmPasswordResetCodeUrl = accountsApiClientUrls.confirmPasswordResetCodeUrl;\r\n this.resendPasswordResetCodeUrl = accountsApiClientUrls.resendPasswordResetCodeUrl;\r\n this.resetPasswordUrl = accountsApiClientUrls.resetPasswordUrl;\r\n this.getUpdateProfileUrl = accountsApiClientUrls.getEditUserAccountInfoUrl;\r\n this.updateProfileUrl = accountsApiClientUrls.editUserAccountInfoUrl;\r\n\r\n this.fetcher = fetcher;\r\n }\r\n\r\n public signIn(data: SignInRequest): Promise {\r\n return this.fetcher.postJson(this.signInUrl, data);\r\n }\r\n\r\n public signOut(): Promise {\r\n return this.fetcher.postJson(this.signOutUrl, null);\r\n }\r\n\r\n public createNewUser(data: CreateNewUserRequest) : Promise {\r\n return this.fetcher.postJson(this.createNewUserUrl, data);\r\n }\r\n\r\n public confirmCreateCode(data: ConfirmCreateCodeRequest) : Promise {\r\n return this.fetcher.postJson(this.confirmCreateCodeUrl, data);\r\n }\r\n\r\n public resendCreateCode(email: string) : Promise {\r\n return this.fetcher.postJson(this.resendCreateCodeUrl, { email });\r\n }\r\n\r\n public accountSetup(data: AccountSetupRequest) : Promise {\r\n return this.fetcher.postJson(this.accountSetupUrl, data);\r\n }\r\n\r\n public getChangePasswordInfo() : Promise {\r\n return this.fetcher.getJson(this.getChangePasswordInfoUrl, undefined);\r\n }\r\n\r\n public changePassword(data: ChangePasswordRequest) : Promise {\r\n return this.fetcher.postJson(this.changePasswordUrl, data);\r\n }\r\n\r\n public forgotPasswordEmail(data: ForgotPasswordEmailRequest) : Promise {\r\n return this.fetcher.postJson(this.forgotPasswordEmailUrl, data);\r\n }\r\n\r\n public confirmPasswordResetCode(data: ConfirmPasswordResetCodeRequest) : Promise {\r\n return this.fetcher.postJson(this.confirmPasswordResetCodeUrl, data);\r\n }\r\n\r\n public resendPasswordResetCode(data: ResendPasswordResetCodeRequest) : Promise {\r\n return this.fetcher.postJson(this.resendPasswordResetCodeUrl, data);\r\n }\r\n\r\n public resetPassword(data: ResetPasswordRequest) : Promise {\r\n return this.fetcher.postJson(this.resetPasswordUrl, data);\r\n }\r\n\r\n public getUpdateProfile(): Promise {\r\n return this.fetcher.getJson(this.getUpdateProfileUrl);\r\n }\r\n\r\n public updateProfile(data: UpdateProfileRequest): Promise {\r\n return this.fetcher.postJson(this.updateProfileUrl, data);\r\n }\r\n}","import * as React from \"react\";\r\nimport * as classNames from \"classnames\";\r\nimport { produce } from \"immer\";\r\n\r\nexport type PureSize =\r\n'1'\r\n| '1-1'\r\n| '1-5'\r\n| '2-5'\r\n| '3-5'\r\n| '4-5'\r\n| '5-5'\r\n| '1-24'\r\n| '1-12'\r\n| '2-24'\r\n| '3-24'\r\n| '1-8'\r\n| '4-24'\r\n| '1-6'\r\n| '5-24'\r\n| '1-4'\r\n| '6-24'\r\n| '7-24'\r\n| '1-3'\r\n| '8-24'\r\n| '3-8'\r\n| '9-24'\r\n| '5-12'\r\n| '10-24'\r\n| '11-24'\r\n| '1-2'\r\n| '12-24'\r\n| '13-24'\r\n| '7-12'\r\n| '14-24'\r\n| '5-8'\r\n| '15-24'\r\n| '2-3'\r\n| '16-24'\r\n| '17-24'\r\n| '3-4'\r\n| '18-24'\r\n| '19-24'\r\n| '5-6'\r\n| '20-24'\r\n| '7-8'\r\n| '21-24'\r\n| '11-12'\r\n| '22-24'\r\n| '23-24'\r\n| '24-24';\r\n\r\nexport class PureG extends React.Component<{className?: string}, {}> {\r\n render() {\r\n return
\r\n {this.props.children}\r\n
;\r\n }\r\n}\r\n\r\nexport interface PureUProps {\r\n size?: PureSize;\r\n offset?: PureSize;\r\n alignRight?: boolean;\r\n className?: string;\r\n title?: string;\r\n}\r\n\r\nexport class PureU extends React.Component {\r\n render() {\r\n const { size, children, alignRight, offset } = this.props;\r\n const sizeClass = size ? `pure-u-${size}` : 'pure-u-1';\r\n const offsetClass = offset ? `pure-offset-${offset}` : undefined;\r\n return
\r\n {children}\r\n
;\r\n }\r\n}\r\n\r\nexport interface FieldProps extends PureUProps {\r\n inline?: boolean;\r\n style?: React.CSSProperties;\r\n}\r\n\r\nexport class Field extends React.Component {\r\n render() {\r\n const { inline, size, children, style, alignRight, offset, className, title } = this.props;\r\n const sizeClass = size ? `pure-u-${size}` : 'pure-u-1';\r\n const offsetClass = offset ? `pure-offset-${offset}` : undefined;\r\n const inlineClass = inline ? 'field-inline' : '';\r\n const classes = classNames('field', 'field-h', sizeClass, offsetClass, inlineClass, { 'align-right': alignRight }, className);\r\n\r\n let styles = style;\r\n if (inline) {\r\n styles = style ? produce(style, style => { style.paddingBottom = '1rem'; }) : { paddingBottom: '1rem' };\r\n }\r\n\r\n return
\r\n {children}\r\n
;\r\n }\r\n}\r\n\r\nexport class PureGU1Field extends React.Component<{}, {}> {\r\n render() {\r\n return
\r\n
\r\n {this.props.children}\r\n
\r\n
;\r\n }\r\n}\r\n\r\n\r\nexport class PureGU1 extends React.Component<{}, {}> {\r\n render() {\r\n return
\r\n
\r\n {this.props.children}\r\n
\r\n
;\r\n }\r\n}","import { ErrorList } from \"spry-react/Errors/errorList\";\r\nimport { ApiEditResponse } from \"shared/DTOs/ApiEditResponse\";\r\n\r\nexport function setErrorsFromResponse(setErrors: (errorList: ErrorList) => void, response: ApiEditResponse): boolean {\r\n if(!response.errors?.length){\r\n setErrors(new ErrorList([]));\r\n return false;\r\n }\r\n \r\n setErrors(new ErrorList(response.errors));\r\n return true;\r\n}","import * as React from \"react\";\r\nimport * as ReactDOM from \"react-dom\";\r\nimport ReCAPTCHA from 'react-google-recaptcha';\r\nimport { AccountsApiClient, SignInPageResponse } from \"./accountsApiClient\";\r\nimport { ErrorList } from 'spry-react/Errors/errorList';\r\nimport { ErrorDisplayListAutoScrolling } from 'spry-react/Errors/errorDisplayListAutoScrolling';\r\nimport { LabeledTextField } from 'spry-react/Text/textField';\r\nimport { CheckboxField } from 'spry-react/Checkbox/checkboxField';\r\nimport { onLoad } from \"spry-react/utils/onLoad\";\r\nimport PortalFullPage from \"Components/Shared/advocatePortalFullPage\";\r\nimport { AdvocatePortalApp } from \"Components/Shared/advocatePortalApp\";\r\nimport { IAppContext } from 'Components/Shared/appContext';\r\nimport { Link } from \"spry-react/Link/link\";\r\n\r\nimport './signin.less';\r\nimport { Layout } from \"Components/Shared/Layout/layout\";\r\nimport { ContentContainer } from \"spry-react/Page/contentContainer\";\r\n\r\nexport interface Props {\r\n context: IAppContext;\r\n layout: Layout;\r\n accountsApiClient: AccountsApiClient;\r\n recaptchaPublicSiteKey: string;\r\n createNewUserPageUrl: string;\r\n forgotPasswordPageUrl: string;\r\n returnUrl: string;\r\n}\r\n\r\nexport interface State {\r\n email: string;\r\n password: string;\r\n recaptchaResponse?: string;\r\n requiresCaptcha: boolean;\r\n errors: ErrorList;\r\n showPassword: boolean;\r\n}\r\n\r\nexport class SignInPage extends React.Component {\r\n constructor(props: Props) {\r\n super(props);\r\n\r\n this.state = {\r\n email: '',\r\n password: '',\r\n requiresCaptcha: false,\r\n errors: new ErrorList([]),\r\n showPassword: false\r\n };\r\n }\r\n\r\n render() {\r\n const props = this.props;\r\n const state = this.state;\r\n const headerContent =

Crime Victims Compensation Login

;\r\n const forgotPasswordPageUrl = this.props.forgotPasswordPageUrl + (state.email.length > 0 ? `?email=${state.email}` : \"\");\r\n\r\n return \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n { this.onPasswordChanged(e.currentTarget.value); }} />\r\n
\r\n
\r\n
\r\n
\r\n \r\n this.setState(prev => ({...prev, showPassword: !prev.showPassword}))} />\r\n
\r\n
\r\n
\r\n {state.requiresCaptcha &&\r\n
\r\n \r\n
\r\n }\r\n \r\n
\r\n Forgot your password?\r\n
\r\n \r\n\r\n
\r\n New user?\r\n Register here.\r\n
\r\n\r\n
\r\n

Information submitted to the Ohio Attorney General’s Office, including transcripts of electronic discussions, may be disclosed pursuant to a public records request.

\r\n
\r\n

More information about public records can be found in Ohio Rev. Code § 149.43, and at https://www.ohioattorneygeneral.gov/About-AG/Public-Records-Access.

\r\n
\r\n {\r\n this.props.layout.accessibilityNoticeUrl && \r\n
\r\n Notice under the Americans with Disabilities Act and Rehabilitation Act\r\n
\r\n }\r\n
\r\n
\r\n ;\r\n }\r\n\r\n private onEmailChanged = (email: string) => this.setState({email});\r\n\r\n private onPasswordChanged = (password: string) => this.setState({password});\r\n\r\n private onRecaptchaChanged = (value: string) => {\r\n this.setState({recaptchaResponse: value});\r\n }\r\n\r\n private onSignInClicked = (event: React.SyntheticEvent) => {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n\r\n var request = {\r\n email: this.state.email,\r\n password: this.state.password,\r\n recaptchaResponse: this.state.recaptchaResponse,\r\n returnUrl: this.props.returnUrl\r\n };\r\n this.props.accountsApiClient.signIn(request)\r\n .catch()\r\n .then(\r\n response => {\r\n if (response.success) {\r\n this.props.context.setWindowLocationHref(response.redirectUrl);\r\n }\r\n else {\r\n this.setState({\r\n requiresCaptcha: response.requiresCaptcha,\r\n errors: new ErrorList(response.errors || []),\r\n password: \"\"\r\n });\r\n }\r\n });\r\n }\r\n\r\n private onCreateNewUserClicked = () => {\r\n this.props.context.setWindowLocationHref(this.props.createNewUserPageUrl);\r\n }\r\n}\r\n\r\nonLoad((data: SignInPageResponse) => {\r\n ReactDOM.render( {\r\n const accountsApiClient = new AccountsApiClient(data.accountsApiClientUrls, context.serialFetcher);\r\n return ;\r\n }} />, document.getElementById(\"root\"));\r\n});","import * as React from \"react\";\r\nimport { SiteHeader } from \"spry-react/Page/siteHeader\";\r\nimport { SiteNavigation } from \"spry-react/Page/siteNavigation\";\r\nimport { Link } from \"spry-react/Link/link\";\r\n\r\nimport './portalFullHeader.less';\r\n\r\nexport interface Props {\r\n homeUrl: string;\r\n homeLinkText: string;\r\n logoImageUrl: string;\r\n bordered?: boolean;\r\n navContent?: React.ReactNode;\r\n children?: React.ReactNode;\r\n}\r\n\r\nexport class PortalFullHeader extends React.Component {\r\n render() {\r\n const props = this.props;\r\n return
\r\n
\r\n
\r\n \r\n {props.homeLinkText}\r\n \r\n
\r\n
\r\n
\r\n } navContent={this.props.navContent} />\r\n
\r\n
\r\n
\r\n {props.children}\r\n
;\r\n }\r\n}","import * as React from \"react\";\r\nimport { Dialog } from \"spry-react/Dialog/dialog\";\r\nimport { PureGU1Field } from \"./pureG\";\r\nimport { Button } from \"spry-react/Buttons/button\";\r\n\r\nexport interface Props {\r\n officeTollFreePhoneNumber: string;\r\n organizationPhoneNumber: string;\r\n closeDialog: () => void;\r\n}\r\n\r\nexport class HelpDialog extends React.Component {\r\n render() {\r\n return (\r\n \r\n \r\n

Why should I apply?

\r\n If you were the victim of a violent crime and you have related expenses, we may be able to help.\r\n We pay for a wide range of expenses such as medical or counseling bills, work loss, and funeral expenses.\r\n We generally can't pay for property expenses.\r\n
\r\n \r\n

If you have previously applied:

\r\n If you have previously applied for compensation and are filing for additional compensation as a result of the same incident, please provide your claim number on the first page.\r\n
\r\n \r\n

What will I need?

\r\n
    \r\n
  1. \r\n Want help applying? \r\n If you want help with this form you should contact us, a local victim advocate, or an attorney (If you decide to have an attorney assist you with filing an application, that attorney cannot charge you. The attorney must send their bill to Crime Victim Services for consideration.).\r\n The more information you provide, the faster we can process your claim.\r\n
  2. \r\n
  3. \r\n Information about you. You will need personal information for the victim (such as name, Social Security Number, date of birth, and address). \r\n If you're not the victim, you're a \"claimant,\" and you'll need to provide information for both you and the victim.\r\n
  4. \r\n
  5. \r\n Information about the crime. You should also try to gather information about the crime (date it occurred, law enforcement agency you reported to, criminal offense that was committed).\r\n
  6. \r\n
  7. \r\n Expenses. You'll want to get as much information about your expenses as possible. By law, we need to verify any claim you file, so we'll probably be requesting additional documentation from you.\r\n
  8. \r\n
\r\n
\r\n \r\n

When should I apply?

\r\n You can apply whenever you want, so apply when you feel comfortable and ready to begin the process. If you don't have all the information in these forms, you can still apply and we can help you work through the process.\r\n If you have expenses later (such as unexpected medical complications), you can apply again anytime within 6 years of the last time we granted or denied any of your applications.\r\n
\r\n \r\n

Do I need to complete this whole form?

\r\n No.\r\n
\r\n \r\n

Can I fill out one application for multiple victims?

\r\n No. You must file a seperate claim for each victim.\r\n
\r\n \r\n

Emergency Award:

\r\n After an application has been filed, if a final award is likely, the law may provide for payment of an emergency award of up to $2,000 to qualified victims/claimants who, because of the crime, will suffer undue hardship without immediate economic relief.\r\n
\r\n \r\n

Need help? Call {this.props.organizationPhoneNumber} or {this.props.officeTollFreePhoneNumber}

\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n );\r\n }\r\n\r\n}","import * as React from 'react';\r\nimport { Dialog } from 'spry-react/Dialog/dialog';\r\nimport { ErrorList } from 'spry-react/Errors/errorList';\r\nimport { TabList } from 'spry-react/Tabs/tabList';\r\nimport { LabeledTextField } from 'spry-react/Text/textField';\r\nimport { ErrorDisplayListAutoScrolling } from 'spry-react/Errors/errorDisplayListAutoScrolling';\r\nimport { FlashMessageCallback } from 'spry-react/App/app';\r\nimport { AccountsApiClient } from './accountsApiClient';\r\nimport { PureGU1Field } from 'Components/Shared/pureG';\r\n\r\ninterface Props {\r\n passwordPolicyRules: string[];\r\n closeDialog: () => void;\r\n accountsApiClient: AccountsApiClient;\r\n flashMessageCallback: FlashMessageCallback;\r\n}\r\n\r\ninterface State {\r\n currentPassword: string;\r\n newPassword: string;\r\n confirmNewPassword: string;\r\n errors: ErrorList;\r\n}\r\n\r\nexport class ChangePasswordDialog extends React.Component {\r\n constructor(props: Props) {\r\n super(props);\r\n\r\n this.state = {\r\n currentPassword: \"\",\r\n newPassword: \"\",\r\n confirmNewPassword: \"\",\r\n errors: new ErrorList([])\r\n };\r\n }\r\n\r\n render() {\r\n const state = this.state;\r\n const { passwordPolicyRules } = this.props;\r\n const errors = state.errors;\r\n\r\n const tabKey = \"changePassword\";\r\n const tabs = [\r\n {\r\n key: tabKey,\r\n text: \"Change Password\"\r\n }\r\n ];\r\n\r\n return \r\n { }} />\r\n \r\n \r\n \r\n \r\n

{passwordPolicyRules}

\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
;\r\n }\r\n\r\n private onCurrentPasswordChanged = (currentPassword: string) => {\r\n this.setState({currentPassword});\r\n }\r\n\r\n private onNewPasswordChanged = (newPassword: string) => {\r\n this.setState({newPassword});\r\n }\r\n\r\n private onConfirmNewPasswordChanged = (confirmNewPassword: string) => {\r\n this.setState({confirmNewPassword});\r\n }\r\n\r\n private onChangePasswordClicked = () => {\r\n this.props.accountsApiClient.changePassword({\r\n currentPassword: this.state.currentPassword,\r\n newPassword: this.state.newPassword,\r\n confirmNewPassword: this.state.confirmNewPassword\r\n }).then(\r\n response => {\r\n if (response.success) {\r\n this.props.closeDialog();\r\n this.props.flashMessageCallback(\"Password changed.\");\r\n }\r\n else {\r\n this.setState({\r\n errors: new ErrorList(response.errors)\r\n });\r\n }\r\n }\r\n );\r\n }\r\n}","import * as React from 'react';\r\n\r\nimport { PhoneNumber, LabeledPhoneField } from 'spry-react/Phone/phoneField';\r\nimport { Dialog } from 'spry-react/Dialog/dialog';\r\nimport { ErrorDisplayListAutoScrolling } from 'spry-react/Errors/errorDisplayListAutoScrolling';\r\nimport { ErrorList } from 'spry-react/Errors/errorList';\r\nimport { toSelectFieldOptions } from 'spry-react/utils/ListUtils';\r\nimport { LabeledTextField } from 'spry-react/Text/textField';\r\nimport { Link } from 'spry-react/Link/link';\r\nimport { NamedCode, KeyedCode } from 'spry-react/utils/apiTypes';\r\nimport { Address } from 'spry-react/Address/addressField';\r\nimport { ZipCodesApiClient } from 'spry-react/Address/zipCodesApiClient';\r\n\r\nimport { PureGU1Field, PureG, Field } from 'Components/Shared/pureG';\r\nimport { AccountsApiClient, PortalUserType, UpdateProfileRequest } from './accountsApiClient';\r\nimport { ChangePasswordDialog } from './changePasswordDialog';\r\nimport { AdvocateAndAttorneyFields, AdvocateAndAttorneyData } from './advocateAndAttorneyFields';\r\nimport { IAppContext } from \"Components/Shared/appContext\";\r\nimport { YesNoField } from 'spry-react/YesNo/yesNoField';\r\nimport { FieldLabel } from 'spry-react/Label/fieldLabel';\r\n\r\ninterface Props {\r\n context: IAppContext;\r\n accountsApiClient: AccountsApiClient;\r\n closeDialog: () => void;\r\n initialData: Data;\r\n zipCodesApiClient: ZipCodesApiClient;\r\n states: KeyedCode[];\r\n}\r\n\r\ninterface State {\r\n data: Data;\r\n errors: ErrorList;\r\n}\r\n\r\ninterface Data {\r\n firstName: string;\r\n middleName: string;\r\n lastName: string;\r\n email: string;\r\n phone: PhoneNumber;\r\n userType: PortalUserType;\r\n assistingOrganization: string;\r\n address: Address;\r\n firmName: string;\r\n fax: PhoneNumber;\r\n receivePortalTaskNotificationDigest: boolean;\r\n taxId: string;\r\n}\r\n\r\nexport class UpdateProfileDialog extends React.Component {\r\n constructor(props: Props) {\r\n super(props);\r\n\r\n this.state = {\r\n data: props.initialData,\r\n errors: new ErrorList([])\r\n };\r\n }\r\n\r\n render() {\r\n const data = this.state.data;\r\n const errors = this.state.errors;\r\n\r\n return \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n Receive Portal Task Notification Digest\r\n \r\n \r\n }\r\n for=\"receivePortalTaskNotificationDigest\" \r\n />\r\n { this.updateData(d => { return {...d, receivePortalTaskNotificationDigest: !d.receivePortalTaskNotificationDigest }}) }} />\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n You can also change your password.\r\n
\r\n
;\r\n }\r\n\r\n private updateData = (producer: (data : Data) => Data ) => {\r\n return this.setState(state => {\r\n return { data: producer(state.data) };\r\n });\r\n }\r\n\r\n private onFirstNameChanged = (firstName: string) => this.updateData((data) => { return { ...data, firstName: firstName }; });\r\n private onMiddleNameChanged = (middleName: string) => this.updateData((data) => { return { ...data, middleName: middleName }; });\r\n private onLastNameChanged = (lastName: string) => this.updateData((data) => { return { ...data, lastName: lastName }; });\r\n private onEmailChanged = (value: string) => this.updateData((data) => { return { ...data, email: value }; });\r\n private onPhoneChanged = (phone: PhoneNumber) => this.updateData((data) => { return { ...data, phone: phone }; });\r\n\r\n private onAttorneyAdvocateDataChanged = (data: AdvocateAndAttorneyData) => {\r\n this.updateData(state => {\r\n return {\r\n ...state,\r\n assistingOrganization: data.assistingOrganization,\r\n address: data.address,\r\n firmName: data.firmName,\r\n fax: data.fax,\r\n taxId: data.taxId\r\n };\r\n });\r\n }\r\n\r\n private onSaveAccountClicked = () => {\r\n const data = this.state.data;\r\n const request : UpdateProfileRequest = {\r\n firstName: data.firstName,\r\n middleName: data.middleName,\r\n lastName: data.lastName,\r\n email: data.email,\r\n phone: data.phone,\r\n userType: data.userType,\r\n assistingOrganization: data.assistingOrganization,\r\n address: data.address,\r\n firmName: data.firmName,\r\n fax: data.fax,\r\n taxId: data.taxId,\r\n receivePortalTaskNotificationDigest: data.receivePortalTaskNotificationDigest\r\n };\r\n this.props.accountsApiClient.updateProfile(request).then(\r\n response => {\r\n if (!response.success) {\r\n this.setState({ errors: new ErrorList(response.errors) });\r\n }\r\n else {\r\n this.props.context.flashMessage(\"Profile updated\");\r\n this.props.closeDialog();\r\n }\r\n }\r\n )\r\n }\r\n\r\n private onChangePasswordClicked = () => {\r\n this.props.accountsApiClient.getChangePasswordInfo().then(\r\n response => {\r\n this.props.context.openDialog(closeDialog => {\r\n return ;\r\n });\r\n }\r\n );\r\n }\r\n}","import * as React from \"react\";\r\nimport { ContextMenu, ContextMenuItem } from \"spry-react/ContextMenu/contextMenu\";\r\nimport { ZipCodesApiClient } from \"spry-react/Address/zipCodesApiClient\";\r\nimport { UpdateProfileDialog } from \"Components/Accounts/updateProfileDialog\";\r\nimport { AccountsApiClient } from \"Components/Accounts/accountsApiClient\";\r\nimport { ChangePasswordDialog } from \"Components/Accounts/changePasswordDialog\";\r\nimport { IAppContext } from \"../appContext\";\r\n\r\nexport function UserMenu(props: { \r\n appContext: IAppContext,\r\n accountsApiClient: AccountsApiClient \r\n}){\r\n const {appContext, accountsApiClient} = props;\r\n return <>\r\n \r\n onUpdateProfileClicked(appContext, accountsApiClient)} />\r\n onChangePasswordClicked(appContext, accountsApiClient)} />\r\n onLogoutClicked(appContext, accountsApiClient)} />\r\n \r\n ;\r\n}\r\n\r\n\r\nfunction onChangePasswordClicked(appContext: IAppContext, accountsApiClient: AccountsApiClient) {\r\n accountsApiClient.getChangePasswordInfo().then(\r\n response => {\r\n appContext.openDialog(closeDialog => {\r\n return ;\r\n });\r\n }\r\n );\r\n}\r\n\r\nfunction onLogoutClicked(appContext: IAppContext, accountsApiClient: AccountsApiClient) {\r\n accountsApiClient.signOut().then(\r\n (response) => {\r\n appContext.setWindowLocationHref(response.siteRootUrl);\r\n }\r\n );\r\n}\r\n\r\nfunction onUpdateProfileClicked(appContext: IAppContext, accountsApiClient: AccountsApiClient) {\r\n accountsApiClient.getUpdateProfile().then(\r\n response => {\r\n appContext.openDialog(closeDialog => {\r\n return ;\r\n });\r\n }\r\n );\r\n}\r\n","import { IAppContext } from \"../appContext\";\r\nimport { ContextMenu, ContextMenuItem, NavigateContextMenuItem } from \"spry-react/ContextMenu/contextMenu\";\r\nimport * as React from \"react\";\r\nimport { ClaimOrApplicationNumberAndId, LoggedInUser } from \"../Layout/authenticatedUserLayout\";\r\nimport { DashboardApiClient } from \"Components/Home/dashboardApiClient\";\r\nimport { RequestClaimAccessDialog } from \"Components/Home/requestClaimAccess\";\r\n\r\nexport function ClaimMenu(props: {\r\n appContext: IAppContext;\r\n dashboardApiClient: DashboardApiClient;\r\n claimOrApplicationNumberAndIds: ClaimOrApplicationNumberAndId[],\r\n portalUser: LoggedInUser;\r\n recaptchaPublicSiteKey: string;\r\n}){\r\n const { appContext, claimOrApplicationNumberAndIds, dashboardApiClient, portalUser, recaptchaPublicSiteKey } = props;\r\n\r\n return <>\r\n \r\n {claimOrApplicationNumberAndIds.map(c => \r\n \r\n )}\r\n { dashboardApiClient.createNewClaimApplicationAndRedirect(appContext) }\r\n } />\r\n { \r\n appContext.openDialog((closeDialog) => {\r\n return ;\r\n })\r\n }} />\r\n \r\n ;\r\n}\r\n","import * as React from \"react\";\r\nimport { SiteNavigationLink } from \"spry-react/Page/siteNavigation\";\r\nimport { HelpDialog } from \"./helpDialog\";\r\nimport { IAppContext } from \"Components/Shared/appContext\";\r\nimport { Link } from \"spry-react/Link/link\";\r\nimport { OpenContextMenuCallback } from \"spry-react/App/app\";\r\nimport { ContextMenu, ContextMenuItem, ContextMenuTrigger } from \"spry-react/ContextMenu/contextMenu\";\r\nimport { UpdateProfileDialog } from \"Components/Accounts/updateProfileDialog\";\r\nimport { ChangePasswordDialog } from \"Components/Accounts/changePasswordDialog\";\r\nimport { ZipCodesApiClient } from \"spry-react/Address/zipCodesApiClient\";\r\nimport { AccountsApiClient } from \"Components/Accounts/accountsApiClient\";\r\nimport { UserMenu } from \"./SiteNavigation/UserMenu\";\r\nimport { ClaimMenu } from \"./SiteNavigation/ClaimMenu\";\r\nimport { find } from \"spry-react/utils/arrayExtensions\";\r\nimport { LoggedInUser, ClaimOrApplicationNumberAndId } from \"./Layout/authenticatedUserLayout\";\r\nimport { DashboardApiClient } from \"Components/Home/dashboardApiClient\";\r\n\r\nexport interface Props {\r\n appContext: IAppContext;\r\n user?: LoggedInUser;\r\n dashboardApiClient: DashboardApiClient;\r\n selectedClaimOrApplicationKey: string;\r\n accountsApiClient: AccountsApiClient;\r\n recaptchaPublicSiteKey: string;\r\n officeTollFreePhoneNumber: string;\r\n organizationPhoneNumber: string;\r\n}\r\n\r\nexport function PortalSiteNavigation(props: Props) {\r\n const { user, appContext, accountsApiClient, selectedClaimOrApplicationKey, dashboardApiClient, recaptchaPublicSiteKey, organizationPhoneNumber, officeTollFreePhoneNumber } = props;\r\n const openHelpDialog = () => {\r\n const renderDialog = (closeDialog: () => void) => ;\r\n props.appContext.openDialog(renderDialog);\r\n };\r\n\r\n return <>\r\n \r\n { \r\n user?.isVictimClaimant && user?.victimClaimantClaimOrApplications?.length > 0 && \r\n \r\n }\r\n {\r\n user &&\r\n \r\n }\r\n ;\r\n}\r\n\r\nfunction UserMenuLink(props: { \r\n appContext: IAppContext,\r\n accountsApiClient: AccountsApiClient,\r\n userInformalDisplayName: string,\r\n}){\r\n const { userInformalDisplayName, appContext, accountsApiClient } = props;\r\n const openUserMenu = appContext.registerContextMenu(() => \r\n \r\n );\r\n\r\n return <> \r\n \r\n \r\n {userInformalDisplayName}\r\n \r\n \r\n ;\r\n}\r\n\r\nfunction ClaimMenuLink(props: {\r\n appContext: IAppContext,\r\n selectedClaimOrApplicationKey: string,\r\n dashboardApiClient: DashboardApiClient;\r\n claimOrApplicationNumberAndIds: ClaimOrApplicationNumberAndId[],\r\n portalUser: LoggedInUser,\r\n recaptchaPublicSiteKey: string\r\n}) {\r\n const { appContext, claimOrApplicationNumberAndIds, selectedClaimOrApplicationKey, dashboardApiClient, portalUser, recaptchaPublicSiteKey } = props;\r\n\r\n const openMenu = appContext.registerContextMenu(() => \r\n \r\n );\r\n\r\n const selectedItem = find(claimOrApplicationNumberAndIds, c => c.key == selectedClaimOrApplicationKey);\r\n const selectedText = (selectedItem?.claimNumber ?? selectedItem?.applicationNumber) ?? \"Claims\";\r\n return <>\r\n \r\n \r\n {selectedText}\r\n \r\n \r\n ;\r\n}\r\n","import { Layout } from \"./layout\";\r\nimport { DashboardApiUrls } from \"Components/Home/dashboardApiClient\";\r\n\r\nexport interface AuthenticatedUserLayout extends Layout {\r\n loggedInUser: LoggedInUser;\r\n selectedClaimOrApplicationKey: string | null;\r\n dashboardApiUrls: DashboardApiUrls;\r\n advocateAttorneyAddClaimPageUrl: string | null;\r\n}\r\n\r\nexport interface LoggedInUser {\r\n userId: number;\r\n informalDisplayName: string;\r\n formalDisplayName: string;\r\n phoneNumber: string;\r\n email: string;\r\n isVictimClaimant: boolean;\r\n victimClaimantClaimOrApplications: ClaimOrApplicationNumberAndId[];\r\n}\r\n\r\nexport type ClaimOrApplication = \"Claim\" | \"Application\";\r\n\r\nexport interface ClaimOrApplicationNumberAndId {\r\n claimId: number | null;\r\n claimApplicationId: number;\r\n applicationNumber: string;\r\n claimNumber: string | null;\r\n type: ClaimOrApplication;\r\n key: string;\r\n url: string;\r\n}\r\n\r\nexport function isAuthenticatedUserLayout(layout: Layout | AuthenticatedUserLayout): layout is AuthenticatedUserLayout {\r\n return !!(layout as AuthenticatedUserLayout).loggedInUser;\r\n}\r\n","import * as React from \"react\";\r\nimport { Page } from \"spry-react/Page/page\";\r\nimport { IAppContext } from \"Components/Shared/appContext\";\r\nimport { PortalFullHeader } from \"./portalFullHeader\";\r\nimport { AccountsApiClientUrls, AccountsApiClient } from \"Components/Accounts/accountsApiClient\";\r\nimport { PortalSiteNavigation } from \"./portalSiteNavigation\";\r\nimport { AuthenticatedUserLayout, isAuthenticatedUserLayout } from 'Components/Shared/Layout/authenticatedUserLayout';\r\nimport { Layout } from \"./Layout/layout\";\r\nimport { DashboardApiClient } from \"Components/Home/dashboardApiClient\";\r\n\r\ninterface Props {\r\n appContext: IAppContext;\r\n title?: string;\r\n headerContent?: React.ReactNode;\r\n children?: React.ReactNode;\r\n borderedHeader?: boolean;\r\n layout: Layout | AuthenticatedUserLayout\r\n}\r\n\r\nexport class PortalPage extends React.Component {\r\n\r\n render() {\r\n const title = this.props.title ? `${this.props.title} - MatrixAdvocate Portal` : \"MatrixAdvocate Portal\";\r\n return }\r\n title={title}\r\n children={this.props.children}\r\n />;\r\n }\r\n}\r\n\r\nexport interface AdvocateHeaderProps {\r\n appContext: IAppContext;\r\n layout: Layout | AuthenticatedUserLayout;\r\n title?: string;\r\n headerContent?: React.ReactNode;\r\n borderedHeader?: boolean;\r\n selectedClaimOrApplicationKey: string | null;\r\n}\r\nexport class AdvocateHeader extends React.PureComponent {\r\n render() {\r\n const { appContext, layout, selectedClaimOrApplicationKey } = this.props;\r\n\r\n const navContent = ;\r\n\r\n return <>\r\n