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CACP,CACA,OAAOzG,EAAIuH,EACZ,CACAqC,EAAeO,KAAO,WACrB,OAAOrK,OAAOqK,KAAKnK,EACpB,EACA4J,EAAeQ,QAAUN,EACzBO,EAAOC,QAAUV,EACjBA,EAAeC,GAAK,K","sources":["webpack://iadviser/./src/login/login.html","webpack://iadviser/./src/endpoints/admin/qce/find-approved-questions.ts","webpack://iadviser/./src/endpoints/admin/qce/get-calculation-sources-for-display-type.ts","webpack://iadviser/./src/endpoints/admin/qce/get-document-sections-endpoint.ts","webpack://iadviser/./src/endpoints/admin/qce/get-question-collection-apply-types-endpoint.ts","webpack://iadviser/./src/endpoints/admin/qce/get-question-collection-question-display-types-endpoint.ts","webpack://iadviser/./src/endpoints/admin/qce/get-question-collection-types-endpoint.ts","webpack://iadviser/./src/endpoints/admin/qce/get-question-report-codes-endpoint.ts","webpack://iadviser/./src/endpoints/admin/qce/shared-models.ts","webpack://iadviser/./src/endpoints/adviser-funder-credentials-endpoint.ts","webpack://iadviser/./src/endpoints/auth/token-endpoint.ts","webpack://iadviser/./src/endpoints/change-password-endpoint.ts","webpack://iadviser/./src/endpoints/create-funder-password-endpoint.ts","webpack://iadviser/./src/endpoints/delete-funder-password-endpoint.ts","webpack://iadviser/./src/endpoints/fill-document-tree-endpoint.ts","webpack://iadviser/./src/endpoints/get-all-folders-endpoint.ts","webpack://iadviser/./src/endpoints/get-external-system-password-endpoint.ts","webpack://iadviser/./src/endpoints/home/notifications-endpoint.ts","webpack://iadviser/./src/endpoints/licence-acceptance-endpoint.ts","webpack://iadviser/./src/endpoints/licence-agreement-endpoint.ts","webpack://iadviser/./src/endpoints/messages-endpoint.ts","webpack://iadviser/./src/endpoints/post-external-system-password-endpoint.ts","webpack://iadviser/./src/endpoints/put-external-system-password-endpoint.ts","webpack://iadviser/./src/endpoints/search/search-endpoint.ts","webpack://iadviser/./src/endpoints/update-funder-password-endpoint.ts","webpack://iadviser/./src/environments/dev.ts","webpack://iadviser/./src/environment.ts","webpack://iadviser/./src/environments/prod.ts","webpack://iadviser/./src/feature-flags.ts","webpack://iadviser/./src/feature-support.ts","webpack://iadviser/./src/login/login.css?c9c8","webpack://iadviser/./src/endpoints/auth/reset-password-endpoint.ts","webpack://iadviser/./src/login/login.ts","webpack://iadviser/./src/img/loaders/ ./src/img/loaders/ sync ^\\.\\/.*$"],"sourcesContent":["// Module\nvar code = \"\\r\\n\";\n// Exports\nexport default code;","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { IQuestionSearchResult } from './shared-models';\r\n\r\nexport interface IFindApprovedQuestionsRequest {\r\n questionText: string | null;\r\n questionTextOperator: string | null;\r\n}\r\n\r\nexport class FindApprovedQuestionsEndpoint extends JsonEndpoint<\r\n IFindApprovedQuestionsRequest,\r\n void,\r\n IQuestionSearchResult[]\r\n> {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IFindApprovedQuestionsRequest): string {\r\n const uri = `${environment.apiHost}/api/admin/qce/questions/findApproved`;\r\n\r\n const queryString = Object.entries(parameters)\r\n .map(([key, value]) => {\r\n return `${encodeURIComponent(key)}=${encodeURIComponent(value as string | number | boolean)}`;\r\n })\r\n .join('&');\r\n\r\n if (queryString) {\r\n return `${uri}?${queryString}`;\r\n }\r\n\r\n return uri;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionCalculationSource } from './shared-models';\r\n\r\nexport interface IRequestGetCalculationSourcesForDisplayType {\r\n collectionType: string | number;\r\n collectionSetId: number;\r\n collectionId: number;\r\n displayType: string | number;\r\n}\r\n\r\nexport class GetCalculationSourcesForDisplayTypeEndpoint extends JsonEndpoint<\r\n IRequestGetCalculationSourcesForDisplayType,\r\n void,\r\n IQuestionCalculationSource[]\r\n> {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IRequestGetCalculationSourcesForDisplayType): string {\r\n const uri = `${environment.apiHost}/api/admin/qce/sets/${parameters.collectionType}/${parameters.collectionSetId}/collections/${parameters.collectionId}/calculationSources/${parameters.displayType}`;\r\n\r\n return uri;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionDocumentSection } from './shared-models';\r\n\r\nexport class GetDocumentSectionsEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/admin/qce/documentSections`;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionCollectionApplyType } from './shared-models';\r\n\r\nexport class GetQuestionCollectionApplyTypesEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/admin/qce/collections/applyTypes`;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionDisplayType } from './shared-models';\r\n\r\nexport class GetQuestionCollectionQuestionDisplayTypesEndpoint extends JsonEndpoint<\r\n void,\r\n void,\r\n IQuestionDisplayType[]\r\n> {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/admin/qce/questions/displayTypes`;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionCollectionType } from './shared-models';\r\n\r\nexport class GetQuestionCollectionTypesEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/admin/qce/collections/types`;\r\n }\r\n}\r\n","import { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport type { IQuestionReportCode } from './shared-models';\r\n\r\nexport class GetQuestionReportCodesEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/admin/qce/questions/reportCodes`;\r\n }\r\n}\r\n","export const NextQuestion = {\r\n GoToEnd: -1,\r\n};\r\n\r\nexport enum QuestionDocumentSection {\r\n Header = 600_000_000,\r\n Underwriting = 600_000_001,\r\n DoNotPrint = 600_000_002,\r\n}\r\n\r\n// This is an enum for representing optional question features via bitwise flags\r\n// Thus each value should is a power of 2 (1, 2, 4, 8, etc.)\r\nexport enum QuestionFeature {\r\n None = 0,\r\n\r\n Autorate = 1 << 0,\r\n\r\n Interface = 1 << 1,\r\n\r\n PremiumRating = 1 << 2,\r\n\r\n // Represents a collection type that supports recording whether a question is mandatory\r\n Mandatory = 1 << 3,\r\n\r\n // Represents a collection type where the mandatory question value is handled by two values\r\n MandatorySplit = 1 << 4,\r\n\r\n LMI = 1 << 5,\r\n\r\n CoverageDocument = 1 << 6,\r\n\r\n Web = 1 << 7,\r\n}\r\n\r\nexport enum ResponseType {\r\n DropDownList = 600_000_000,\r\n AnyAnswer = 600_000_001,\r\n Currency = 600_000_002,\r\n Date = 600_000_003,\r\n Decimal = 600_000_004,\r\n FreeText = 600_000_005,\r\n Number = 600_000_006,\r\n}\r\n\r\nexport interface IPolicyVersionCreatedToday {\r\n actionType: string;\r\n coverNumber: string;\r\n policyVersionId: number;\r\n versionNo: number;\r\n}\r\n\r\nexport interface IQuestionAnswer {\r\n answerId: number | null;\r\n answerText: string;\r\n}\r\n\r\nexport interface IQuestionCalculationSource {\r\n sourceGroupDisplayName: string;\r\n sourceGroupSequenceNo: number;\r\n sourceQuestionId: number;\r\n sourceQuestionSequenceNo: number;\r\n sourceQuestionText: string;\r\n}\r\n\r\nexport interface IQuestionCollectionLight {\r\n applyType: number | null;\r\n approved: boolean;\r\n comment: string | null;\r\n questionCollectionId: number;\r\n validFrom: string;\r\n}\r\n\r\nexport interface IQuestionCollection {\r\n applyType: number | null;\r\n approved: boolean;\r\n comment: string | null;\r\n questionCollectionId: number;\r\n questionGroups: IQuestionCollectionGroup[];\r\n validFrom: string;\r\n}\r\n\r\nexport interface IQuestionCollectionApprovalChangeModel {\r\n incompletePolicyVersionToDelete?: number[] | null;\r\n policyVersionsToDelete?: number[] | null;\r\n quoteWebFormsToDelete?: number[] | null;\r\n quotesToDelete?: number[] | null;\r\n}\r\n\r\nexport interface IQuestionCollectionExistingEntitiesState {\r\n incompletePolicyVersionsCreatedToday: IQuoteCreatedToday[];\r\n policyVersionsCreatedToday: IPolicyVersionCreatedToday[];\r\n quoteWebFormsCreatedToday: IQuoteWebFormCreatedToday[];\r\n quotesCreatedToday: IQuoteCreatedToday[];\r\n}\r\n\r\nexport interface IQuestionCollectionUpdate {\r\n applyType: number | null;\r\n comment: string | null;\r\n validFrom: string;\r\n}\r\n\r\nexport interface IQuestionCollectionApplyType {\r\n id: number;\r\n name: string;\r\n synopsis: string | null;\r\n system: boolean;\r\n}\r\n\r\nexport interface IQuestionCollectionFlow {\r\n applyType: number | null;\r\n approved: boolean;\r\n comment: string | null;\r\n questionCollectionId: number;\r\n questionGroups: IQuestionCollectionGroupFlow[];\r\n validFrom: string;\r\n}\r\n\r\nexport interface IQuestionCollectionFlowUpdate {\r\n [key: number]: number;\r\n}\r\n\r\nexport interface IQuestionCollectionFormatOptions {\r\n bold: boolean;\r\n italics: boolean;\r\n underline: boolean;\r\n}\r\n\r\nexport interface IQuestionCollectionGroup extends IQuestionCollectionGroupLight {\r\n questions: IQuestionSimple[];\r\n}\r\n\r\nexport interface IQuestionCollectionGroupLight {\r\n displayGroupFlag: boolean;\r\n questionGroupDescription: string | null;\r\n questionGroupDescriptionFormat: IQuestionCollectionGroupFormatOptions;\r\n questionGroupId: number;\r\n questionGroupName: string;\r\n questionGroupNameFormat: IQuestionCollectionGroupFormatOptions;\r\n}\r\n\r\nexport interface IQuestionCollectionGroupFlow {\r\n questionGroupId: number;\r\n questionGroupName: string;\r\n questionGroupDescription: string;\r\n questions: IQuestionFlow[];\r\n}\r\n\r\nexport interface IQuestionCollectionGroupAddOrUpdate {\r\n displayGroupFlag: boolean;\r\n questionGroupDescription: string | null;\r\n questionGroupDescriptionFormat: IQuestionCollectionGroupFormatOptions;\r\n questionGroupName: string;\r\n questionGroupNameFormat: IQuestionCollectionGroupFormatOptions;\r\n}\r\n\r\nexport interface IQuestionCollectionGroupAndQuestionIds {\r\n questionGroupId: number;\r\n questionIds: number[];\r\n}\r\n\r\nexport type IQuestionCollectionGroupsWithQuestionIds = IQuestionCollectionGroupAndQuestionIds[];\r\n\r\nexport interface IQuestionCollectionGroupFormatOptions extends IQuestionCollectionFormatOptions {\r\n doNotPrint: boolean;\r\n}\r\n\r\nexport interface IQuestionCollectionSetSimple {\r\n collectionSetDescription: string;\r\n collectionSetId: number;\r\n collectionType: number | string;\r\n}\r\n\r\nexport interface IQuestionCollectionType {\r\n approvableFromToday: boolean;\r\n collectionType: number;\r\n description: string;\r\n filterBy: string[];\r\n optionalFeatures: QuestionFeature;\r\n}\r\n\r\nexport interface IQuestionDetail {\r\n alertText: string | null;\r\n answerLength: number | null;\r\n autorateFlag: boolean;\r\n autorateQuestionName: string | null;\r\n defaultScheduleText: string | null;\r\n displayOnDocument: IQuestionDisplayOnDocument;\r\n displayType: number | string;\r\n documentSection: QuestionDocumentSection;\r\n hideOnWebQuoteFlag: boolean;\r\n interfaceQuestionFlag: boolean;\r\n interfaceQuestionName: string | null;\r\n lmiIdentifier: string | null;\r\n mandatoryOnPolicyFlag: boolean;\r\n mandatoryOnQuoteFlag: boolean;\r\n mandatoryOnWebFormFlag: boolean;\r\n onlyDisplayOnWebFormFlag: boolean;\r\n premiumRatingFlag: boolean;\r\n questionText: string;\r\n quickQuoteFlag: boolean;\r\n readOnlyFlag: boolean;\r\n reportCode: IQuestionReportCode | null;\r\n scheduleAnswerFormatOptions: IQuestionCollectionFormatOptions;\r\n scheduleQuestionFormatOptions: IQuestionCollectionFormatOptions;\r\n scheduleText: string;\r\n summaryQuestionFlag: boolean;\r\n summaryText: string | null;\r\n suppressOptions: IQuestionSuppressOptions;\r\n useOnWebFormFlag: boolean;\r\n webFormAlertText: string | null;\r\n webFormQuestionText: string | null;\r\n wizardQuestionFormatOptions: IQuestionCollectionFormatOptions;\r\n}\r\n\r\nexport interface IQuestionDisplayOnDocument {\r\n clientIncompleteScheduleFlag: boolean;\r\n clientPolicyScheduleFlag: boolean;\r\n clientQuoteScheduleFlag: boolean;\r\n insurerIncompleteScheduleFlag: boolean;\r\n insurerPolicyScheduleFlag: boolean;\r\n insurerQuoteScheduleFlag: boolean;\r\n}\r\n\r\nexport interface IQuestionDisplayType {\r\n attributes: IQuestionDisplayTypeAttribute[];\r\n description: string;\r\n displayType: number;\r\n hasAnswerOptions: boolean;\r\n hasDefaultAnswerTextComponent: boolean;\r\n hasFreeTextComponent: boolean;\r\n isCalculated: boolean;\r\n validCalculationDisplayTypes: number[];\r\n validCollectionTypes: (number | string)[];\r\n}\r\n\r\nexport interface IQuestionDisplayTypeAttribute {\r\n attributeId: number;\r\n attributeName: string;\r\n attributeType: number;\r\n defaultOption: number | null;\r\n defaultValue: number | null;\r\n options: IQuestionDisplayTypeAttributeOption[];\r\n required: boolean;\r\n synopsis: string;\r\n}\r\n\r\nexport interface IQuestionDisplayTypeAttributeOption {\r\n optionId: number;\r\n optionValue: string | null;\r\n}\r\n\r\nexport interface IQuestionDocumentSection {\r\n documentSection: QuestionDocumentSection;\r\n description: string;\r\n synopsis: string;\r\n}\r\n\r\nexport interface IQuestionFlow extends IQuestionSimple {\r\n responseFlows: IQuestionResponseFlow[];\r\n}\r\n\r\nexport interface IQuestionFull {\r\n answerOptions: IQuestionAnswer[];\r\n approved: boolean;\r\n calculated: boolean;\r\n calculationSources: IQuestionCalculationSource[];\r\n defaultAnswer: IQuestionAnswer | null;\r\n defaultAnswerText: string | null;\r\n detail: IQuestionDetail;\r\n isNew: boolean;\r\n questionAttributes: Record;\r\n questionId: number;\r\n questionNo: number;\r\n relatedQuestion: IRelatedQuestion | null;\r\n}\r\n\r\nexport interface IQuestionInGroupDescription {\r\n questionGroupId: number;\r\n questionGroupSequenceNo: number;\r\n questionGroupName: string;\r\n questionId: number;\r\n questionSequenceNo: number;\r\n questionText: string;\r\n}\r\n\r\nexport interface IQuestionReportCode {\r\n questionReportCodeId: number;\r\n questionReportCode: string;\r\n}\r\n\r\nexport interface IQuestionResponseFlow {\r\n answerText: string | null;\r\n nextQuestionId: number | null;\r\n questionFlowId: number;\r\n responseType: ResponseType;\r\n}\r\n\r\nexport interface IQuestionSimple {\r\n questionId: number;\r\n questionText: string;\r\n}\r\n\r\nexport interface IQuestionSearchResult extends IQuestionSimple {\r\n collectionBy: string;\r\n collectionType: number | string;\r\n questionNo: number;\r\n sequenceNo: number;\r\n}\r\n\r\nexport interface IQuestionSuppressOptions {\r\n suppressIfNullFlag: boolean;\r\n suppressIfZeroFlag: boolean;\r\n}\r\n\r\nexport interface IQuestionAddOrUpdate {\r\n alertText: string | null;\r\n answerLength: number | null;\r\n answerOptions: IQuestionAnswer[];\r\n autorateFlag: boolean;\r\n autorateQuestionName: string | null;\r\n calculationSources: number[];\r\n defaultAnswer: IQuestionAnswer | null;\r\n defaultAnswerText: string | null;\r\n defaultScheduleText: string | null;\r\n displayOnDocument: IQuestionDisplayOnDocument;\r\n displayType: string | number;\r\n documentSection: string | number;\r\n hideOnWebQuoteFlag: boolean;\r\n interfaceQuestionFlag: boolean;\r\n interfaceQuestionName: string | null;\r\n lmiIdentifier: string | null;\r\n mandatoryOnPolicyFlag: boolean;\r\n mandatoryOnQuoteFlag: boolean;\r\n mandatoryOnWebFormFlag: boolean;\r\n onlyDisplayOnWebFormFlag: boolean;\r\n premiumRatingFlag: boolean;\r\n questionAttributes: Record;\r\n questionText: string;\r\n quickQuoteFlag: boolean;\r\n readOnlyFlag: boolean;\r\n relatedQuestionNo: number | null;\r\n reportCodeId: number | null;\r\n scheduleAnswerFormatOptions: IQuestionCollectionFormatOptions;\r\n scheduleQuestionFormatOptions: IQuestionCollectionFormatOptions;\r\n scheduleText: string;\r\n summaryQuestionFlag: boolean;\r\n summaryText: string | null;\r\n suppressOptions: IQuestionSuppressOptions;\r\n useOnWebFormFlag: boolean;\r\n webFormAlertText: string | null;\r\n webFormQuestionText: string | null;\r\n wizardQuestionFormatOptions: IQuestionCollectionFormatOptions;\r\n}\r\n\r\nexport interface IQuoteCreatedToday {\r\n coverNumber: string;\r\n quoteId: number;\r\n quoteStatusType: string;\r\n quoteType: string;\r\n versionNo: number;\r\n}\r\n\r\nexport interface IQuoteWebFormCreatedToday extends IQuoteCreatedToday {\r\n webFormId: number;\r\n}\r\n\r\nexport interface IRelatedQuestion {\r\n questionNo: number;\r\n questionText: string;\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { IAdviserFunderCredentials } from 'interfaces/i-adviser-funder-credentials';\r\n\r\nexport interface IRouteParamsAdviserFunderCredentials {\r\n adviserId: number;\r\n}\r\n\r\nexport class AdviserFunderCredentialsEndpoint extends JsonEndpoint<\r\n IRouteParamsAdviserFunderCredentials,\r\n void,\r\n IAdviserFunderCredentials\r\n> {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IRouteParamsAdviserFunderCredentials): string {\r\n return `${environment.apiHost}/api/premiumfunder/passwords?adviserId=${parameters.adviserId}`;\r\n }\r\n}\r\n","import { FormEndpoint } from 'resources/endpoints/form-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface ITokenResponse {\r\n access_token: string;\r\n token_type: string;\r\n expires_in: number;\r\n refresh_token: string;\r\n 'as:client_id': string;\r\n 'as:tenant': string | null;\r\n userName: string;\r\n '.issued': string;\r\n '.expires': string;\r\n}\r\n\r\nexport class AuthTokenEndpoint extends FormEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/token`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRequestBodyChangePassword {\r\n currentPassword: string;\r\n newPassword: string;\r\n confirmPassword: string;\r\n}\r\n\r\nexport interface IResponseChangePassword {\r\n errors: {\r\n errorKey: string;\r\n }[];\r\n}\r\n\r\nexport class ChangePasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/users/changepassword`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { FunderCredential } from 'resources/models/client';\r\n\r\nexport class CreateFunderPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/premiumfunder/passwords`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRouteParamsDeleteFunderPassword {\r\n adviserFunderCredentialsId: number;\r\n}\r\n\r\nexport class DeleteFunderPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.delete;\r\n\r\n protected uri(parameters: IRouteParamsDeleteFunderPassword): string {\r\n return `${environment.apiHost}/api/premiumfunder/passwords/${parameters.adviserFunderCredentialsId}`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRouteParamsFillDocTree {\r\n clientId: number;\r\n}\r\n\r\nexport class FillDocumentTreeEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(parameters: IRouteParamsFillDocTree): string {\r\n return `${environment.apiHost}/api/clients/${parameters.clientId}/docmgmt`;\r\n }\r\n}\r\n","import * as Dtos from 'components/document-management/dtos';\r\nimport { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRouteParamsGetAllFolders {\r\n clientId: number;\r\n}\r\n\r\nexport class GetAllFoldersEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IRouteParamsGetAllFolders): string {\r\n return `${environment.apiHost}/api/clients/${parameters.clientId}/docmgmt`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRouteParamsGetExternalSystemPassword {\r\n systemKey: string;\r\n}\r\n\r\nexport class GetExternalSystemPasswordEndpoint extends JsonEndpoint> {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IRouteParamsGetExternalSystemPassword): string {\r\n return `${environment.apiHost}/api/users/current/externalsystemcredentials?externalSystemIdentifier=${parameters.systemKey}`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { INotificationGroup } from 'interfaces/i-notification-group';\r\n\r\nexport class NotificationsEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/homepage/notifications`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport class LicenceAcceptanceEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/users/current/licenceacceptance`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport class LicenceAgreementEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/users/current/licenceagreement`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { IMessage } from 'interfaces/i-message';\r\n\r\nexport interface IRouteParamsMessages {\r\n priority: string;\r\n status: string;\r\n}\r\n\r\nexport class MessagesEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(parameters: IRouteParamsMessages = { priority: 'all', status: 'all' }): string {\r\n return `${environment.apiHost}/api/homepage/messages?priority=${parameters.priority}&status=${parameters.status}`;\r\n }\r\n}\r\n\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { IExternalSystemCredential } from 'interfaces/i-external-system-credential';\r\n\r\nexport interface IRouteParamsPostExternalSystemPassword {\r\n systemKey: string;\r\n}\r\n\r\nexport interface IRequestBodyPostExternalSystemPassword {\r\n userName: string;\r\n password: string;\r\n confirmPassword: string;\r\n externalSystemCredentialId?: string;\r\n}\r\n\r\nexport class PostExternalSystemPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(parameters: IRouteParamsPostExternalSystemPassword): string {\r\n return `${environment.apiHost}/api/users/current/externalsystemcredentials?externalSystemIdentifier=${parameters.systemKey}`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IRouteParamsPutExternalSystemPassword {\r\n externalSystemCredentialId: number;\r\n systemKey: string;\r\n}\r\n\r\nexport interface IRequestBodyPutExternalSystemPassword {\r\n userName: string;\r\n password: string;\r\n confirmPassword: string;\r\n externalSystemCredentialId?: string;\r\n}\r\n\r\nexport class PutExternalSystemPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.put;\r\n\r\n protected uri(parameters: IRouteParamsPutExternalSystemPassword): string {\r\n return `${environment.apiHost}/api/users/current/externalsystemcredentials/${parameters.externalSystemCredentialId}?externalSystemIdentifier=${parameters.systemKey}`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { ISearchResponse } from 'interfaces/i-search-response';\r\n\r\nexport interface ISearchParams {\r\n query: string;\r\n}\r\n\r\nexport class SearchEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.get;\r\n\r\n protected uri(routeParams: ISearchParams): string {\r\n return `${environment.apiHost}/api/search?searchString=${encodeURIComponent(routeParams.query)}`;\r\n }\r\n}\r\n","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\nimport { FunderCredential } from 'resources/models/client';\r\n\r\nexport interface IRouteParamsUpdateFunderPassword {\r\n adviserFunderCredentialsId: number;\r\n}\r\n\r\nexport class UpdateFunderPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.put;\r\n\r\n protected uri(parameters: IRouteParamsUpdateFunderPassword): string {\r\n return `${environment.apiHost}/api/premiumfunder/passwords/${parameters.adviserFunderCredentialsId}`;\r\n }\r\n}\r\n","import { Environment, PartialEnvironment } from 'base-environment';\r\n\r\nconst environmentOverrides: PartialEnvironment = {\r\n // ### Include all the development release settings overrides ###\r\n debug: true\r\n};\r\n\r\nexport const DevEnvironment = new Environment(environmentOverrides);\r\n","import { DevEnvironment } from './environments/dev';\r\nimport { ProdEnvironment } from './environments/prod';\r\n\r\nconst environmentMap = {\r\n development: DevEnvironment,\r\n production: ProdEnvironment,\r\n};\r\n\r\n// note, this will resolve at build time\r\nconst environment = environmentMap[process.env.NODE_ENV] || DevEnvironment;\r\n\r\nexport { environment };\r\n","import { Environment, PartialEnvironment } from 'base-environment';\r\n\r\nconst environmentOverrides: PartialEnvironment = {\r\n // ### Include all the production release settings overrides ###\r\n debug: false\r\n};\r\n\r\nexport const ProdEnvironment = new Environment(environmentOverrides);\r\n","export enum FeatureFlag {\r\n qceDebug = 'qceDebug',\r\n christmas = 'christmas',\r\n darkTheme = 'darkTheme',\r\n}\r\n","export const features = {\r\n supportsAnchorPositioning:\r\n typeof CSS !== 'undefined' && CSS.supports('anchor-name: --test') && CSS.supports('top: anchor(bottom)'),\r\n};\r\n","// extracted by mini-css-extract-plugin\nexport default {\"btn\":\"btn____9I9-3\",\"btn--delete\":\"btn--delete____9I9-3 btn____9I9-3\",\"btnDelete\":\"btn--delete____9I9-3 btn____9I9-3\",\"btn--footer\":\"btn--footer____9I9-3 btn____9I9-3\",\"btnFooter\":\"btn--footer____9I9-3 btn____9I9-3\",\"btn--footer-delete\":\"btn--footer-delete____9I9-3 btn--delete____9I9-3 btn____9I9-3 btn--footer____9I9-3\",\"btnFooterDelete\":\"btn--footer-delete____9I9-3 btn--delete____9I9-3 btn____9I9-3 btn--footer____9I9-3\",\"btn--footer-combo\":\"btn--footer-combo____9I9-3 btn--footer____9I9-3 btn____9I9-3\",\"btnFooterCombo\":\"btn--footer-combo____9I9-3 btn--footer____9I9-3 btn____9I9-3\",\"btn--lmi-bicalc\":\"btn--lmi-bicalc____9I9-3 btn____9I9-3\",\"btnLmiBicalc\":\"btn--lmi-bicalc____9I9-3 btn____9I9-3\",\"btn--lmi-risk\":\"btn--lmi-risk____9I9-3 btn____9I9-3\",\"btnLmiRisk\":\"btn--lmi-risk____9I9-3 btn____9I9-3\",\"btn--lmi-policy-comparison\":\"btn--lmi-policy-comparison____9I9-3 btn____9I9-3\",\"btnLmiPolicyComparison\":\"btn--lmi-policy-comparison____9I9-3 btn____9I9-3\",\"btn--lmi-policy-coach\":\"btn--lmi-policy-coach____9I9-3 btn____9I9-3\",\"btnLmiPolicyCoach\":\"btn--lmi-policy-coach____9I9-3 btn____9I9-3\",\"btn--andrew-nock\":\"btn--andrew-nock____9I9-3 btn____9I9-3\",\"btnAndrewNock\":\"btn--andrew-nock____9I9-3 btn____9I9-3\",\"btn--construction-cost-consultants\":\"btn--construction-cost-consultants____9I9-3 btn____9I9-3\",\"btnConstructionCostConsultants\":\"btn--construction-cost-consultants____9I9-3 btn____9I9-3\",\"btn--5-star\":\"btn--5-star____9I9-3 btn____9I9-3\",\"btn5Star\":\"btn--5-star____9I9-3 btn____9I9-3\",\"btn--thermoscan\":\"btn--thermoscan____9I9-3 btn____9I9-3\",\"btnThermoscan\":\"btn--thermoscan____9I9-3 btn____9I9-3\",\"btn--risk-survey-services\":\"btn--risk-survey-services____9I9-3 btn____9I9-3\",\"btnRiskSurveyServices\":\"btn--risk-survey-services____9I9-3 btn____9I9-3\",\"btn--risk-management\":\"btn--risk-management____9I9-3 btn____9I9-3\",\"btnRiskManagement\":\"btn--risk-management____9I9-3 btn____9I9-3\",\"btn--business-360-hr-consultancy\":\"btn--business-360-hr-consultancy____9I9-3 btn____9I9-3\",\"btnBusiness360HrConsultancy\":\"btn--business-360-hr-consultancy____9I9-3 btn____9I9-3\",\"btn--lmi-bicalc--disabled\":\"btn--lmi-bicalc--disabled____9I9-3 btn--lmi-bicalc____9I9-3 btn____9I9-3\",\"btnLmiBicalcDisabled\":\"btn--lmi-bicalc--disabled____9I9-3 btn--lmi-bicalc____9I9-3 btn____9I9-3\",\"btn--lmi-risk--disabled\":\"btn--lmi-risk--disabled____9I9-3 btn--lmi-risk____9I9-3 btn____9I9-3\",\"btnLmiRiskDisabled\":\"btn--lmi-risk--disabled____9I9-3 btn--lmi-risk____9I9-3 btn____9I9-3\",\"btn--lmi-policy-comparison--disabled\":\"btn--lmi-policy-comparison--disabled____9I9-3 btn--lmi-policy-comparison____9I9-3 btn____9I9-3\",\"btnLmiPolicyComparisonDisabled\":\"btn--lmi-policy-comparison--disabled____9I9-3 btn--lmi-policy-comparison____9I9-3 btn____9I9-3\",\"btn--icon\":\"btn--icon____9I9-3 btn____9I9-3\",\"btnIcon\":\"btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-no-border\":\"btn--icon-no-border____9I9-3\",\"btnIconNoBorder\":\"btn--icon-no-border____9I9-3\",\"btn--icon-task\":\"btn--icon-task____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconTask\":\"btn--icon-task____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-document\":\"btn--icon-document____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconDocument\":\"btn--icon-document____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-add\":\"btn--icon-add____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconAdd\":\"btn--icon-add____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--add-risk\":\"btn--add-risk____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnAddRisk\":\"btn--add-risk____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-close\":\"btn--icon-close____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconClose\":\"btn--icon-close____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-delete\":\"btn--icon-delete____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconDelete\":\"btn--icon-delete____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-download\":\"btn--icon-download____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconDownload\":\"btn--icon-download____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-edit\":\"btn--icon-edit____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconEdit\":\"btn--icon-edit____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-email\":\"btn--icon-email____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconEmail\":\"btn--icon-email____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-download-email\":\"btn--icon-download-email____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconDownloadEmail\":\"btn--icon-download-email____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-folder\":\"btn--icon-folder____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconFolder\":\"btn--icon-folder____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-folder-locked\":\"btn--icon-folder-locked____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconFolderLocked\":\"btn--icon-folder-locked____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-folder-locked-active\":\"btn--icon-folder-locked-active____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconFolderLockedActive\":\"btn--icon-folder-locked-active____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-history\":\"btn--icon-history____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconHistory\":\"btn--icon-history____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-info\":\"btn--icon-info____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconInfo\":\"btn--icon-info____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-link\":\"btn--icon-link____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconLink\":\"btn--icon-link____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-unlink\":\"btn--icon-unlink____9I9-3 btn--icon-delete____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconUnlink\":\"btn--icon-unlink____9I9-3 btn--icon-delete____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-map\":\"btn--icon-map____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconMap\":\"btn--icon-map____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-more\":\"btn--icon-more____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconMore\":\"btn--icon-more____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-move-down\":\"btn--icon-move-down____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconMoveDown\":\"btn--icon-move-down____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-move-up\":\"btn--icon-move-up____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconMoveUp\":\"btn--icon-move-up____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-open-in-new-window\":\"btn--icon-open-in-new-window____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconOpenInNewWindow\":\"btn--icon-open-in-new-window____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-favourite--selected\":\"btn--icon-favourite--selected____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconFavouriteSelected\":\"btn--icon-favourite--selected____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-favourite--deselected\":\"btn--icon-favourite--deselected____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconFavouriteDeselected\":\"btn--icon-favourite--deselected____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-preview\":\"btn--icon-preview____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconPreview\":\"btn--icon-preview____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-pre-printed\":\"btn--icon-pre-printed____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconPrePrinted\":\"btn--icon-pre-printed____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-print\":\"btn--icon-print____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconPrint\":\"btn--icon-print____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-save\":\"btn--icon-save____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconSave\":\"btn--icon-save____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-settings\":\"btn--icon-settings____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconSettings\":\"btn--icon-settings____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-show-details\":\"btn--icon-show-details____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconShowDetails\":\"btn--icon-show-details____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-show-details--alert\":\"btn--icon-show-details--alert____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconShowDetailsAlert\":\"btn--icon-show-details--alert____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-show-summary\":\"btn--icon-show-summary____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconShowSummary\":\"btn--icon-show-summary____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-attachment\":\"btn--icon-attachment____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconAttachment\":\"btn--icon-attachment____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-tag\":\"btn--icon-tag____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconTag\":\"btn--icon-tag____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-undo\":\"btn--icon-undo____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconUndo\":\"btn--icon-undo____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-sync\":\"btn--icon-sync____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconSync\":\"btn--icon-sync____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-arrow-forward\":\"btn--icon-arrow-forward____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconArrowForward\":\"btn--icon-arrow-forward____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--aside-collapse\":\"btn--aside-collapse____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnAsideCollapse\":\"btn--aside-collapse____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-expand-more\":\"btn--icon-expand-more____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconExpandMore\":\"btn--icon-expand-more____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-expand-less\":\"btn--icon-expand-less____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconExpandLess\":\"btn--icon-expand-less____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-general\":\"btn--icon-general____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconGeneral\":\"btn--icon-general____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-sales\":\"btn--icon-sales____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconSales\":\"btn--icon-sales____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-branch\":\"btn--icon-branch____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconBranch\":\"btn--icon-branch____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-contact\":\"btn--icon-contact____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconContact\":\"btn--icon-contact____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-consent\":\"btn--icon-consent____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconConsent\":\"btn--icon-consent____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-questions\":\"btn--icon-questions____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconQuestions\":\"btn--icon-questions____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-associated\":\"btn--icon-associated____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconAssociated\":\"btn--icon-associated____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-notes\":\"btn--icon-notes____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconNotes\":\"btn--icon-notes____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--back\":\"btn--back____9I9-3 btn____9I9-3\",\"btnBack\":\"btn--back____9I9-3 btn____9I9-3\",\"btn--back-to-sign-in\":\"btn--back-to-sign-in____9I9-3 btn--back____9I9-3 btn____9I9-3\",\"btnBackToSignIn\":\"btn--back-to-sign-in____9I9-3 btn--back____9I9-3 btn____9I9-3\",\"btn--icon-advanced-search\":\"btn--icon-advanced-search____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconAdvancedSearch\":\"btn--icon-advanced-search____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--wizard\":\"btn--wizard____9I9-3 btn____9I9-3\",\"btnWizard\":\"btn--wizard____9I9-3 btn____9I9-3\",\"btn--wizard-back\":\"btn--wizard-back____9I9-3 btn--wizard____9I9-3 btn____9I9-3\",\"btnWizardBack\":\"btn--wizard-back____9I9-3 btn--wizard____9I9-3 btn____9I9-3\",\"btn--wizard-next\":\"btn--wizard-next____9I9-3 btn--wizard____9I9-3 btn____9I9-3\",\"btnWizardNext\":\"btn--wizard-next____9I9-3 btn--wizard____9I9-3 btn____9I9-3\",\"fieldset\":\"fieldset____77k0T fieldset____POzw7\",\"fieldset-instruction\":\"fieldset-instruction____POzw7\",\"fieldsetInstruction\":\"fieldset-instruction____POzw7\",\"fieldset--no-padding\":\"fieldset--no-padding____77k0T fieldset____77k0T fieldset____POzw7\",\"fieldsetNoPadding\":\"fieldset--no-padding____77k0T fieldset____77k0T fieldset____POzw7\",\"fieldset--alt\":\"fieldset--alt____77k0T fieldset____77k0T fieldset____POzw7\",\"fieldsetAlt\":\"fieldset--alt____77k0T fieldset____77k0T fieldset____POzw7\",\"view-password\":\"view-password____77k0T\",\"viewPassword\":\"view-password____77k0T\",\"input-search\":\"input-search____77k0T\",\"inputSearch\":\"input-search____77k0T\",\"ia-currency-input\":\"ia-currency-input____77k0T\",\"iaCurrencyInput\":\"ia-currency-input____77k0T\",\"ia-currency-negative\":\"ia-currency-negative____77k0T\",\"iaCurrencyNegative\":\"ia-currency-negative____77k0T\",\"select--mini\":\"select--mini____77k0T\",\"selectMini\":\"select--mini____77k0T\",\"required-label\":\"required-label____77k0T required-label____POzw7\",\"requiredLabel\":\"required-label____77k0T required-label____POzw7\",\"alert\":\"alert____77k0T alert____POzw7\",\"alert--important\":\"alert--important____77k0T alert--important____POzw7\",\"alertImportant\":\"alert--important____77k0T alert--important____POzw7\",\"input-label\":\"input-label____77k0T\",\"inputLabel\":\"input-label____77k0T\",\"input-toggle\":\"input-toggle____77k0T\",\"inputToggle\":\"input-toggle____77k0T\",\"w-100\":\"w-100____77k0T\",\"w100\":\"w-100____77k0T\",\"search-input-wrapper\":\"search-input-wrapper____77k0T\",\"searchInputWrapper\":\"search-input-wrapper____77k0T\",\"search-input--results\":\"search-input--results____77k0T\",\"searchInputResults\":\"search-input--results____77k0T\",\"search-input--result\":\"search-input--result____77k0T\",\"searchInputResult\":\"search-input--result____77k0T\",\"search-input--result--highlighted\":\"search-input--result--highlighted____77k0T\",\"searchInputResultHighlighted\":\"search-input--result--highlighted____77k0T\",\"date-range-selections\":\"date-range-selections____77k0T date-range-selections____POzw7\",\"dateRangeSelections\":\"date-range-selections____77k0T date-range-selections____POzw7\",\"qce-dropdown\":\"qce-dropdown____77k0T\",\"qceDropdown\":\"qce-dropdown____77k0T\",\"qce-or\":\"qce-or____77k0T qce-or____POzw7\",\"qceOr\":\"qce-or____77k0T qce-or____POzw7\",\"qce-dropdown-with-dropdown\":\"qce-dropdown-with-dropdown____77k0T qce-dropdown-with-dropdown____POzw7\",\"qceDropdownWithDropdown\":\"qce-dropdown-with-dropdown____77k0T qce-dropdown-with-dropdown____POzw7\",\"qce-vehicle-registration-search\":\"qce-vehicle-registration-search____77k0T qce-vehicle-registration-search____POzw7\",\"qceVehicleRegistrationSearch\":\"qce-vehicle-registration-search____77k0T qce-vehicle-registration-search____POzw7\",\"row-gap\":\"row-gap____77k0T\",\"rowGap\":\"row-gap____77k0T\",\"row-group\":\"row-group____77k0T\",\"rowGroup\":\"row-group____77k0T\",\"row-group--three\":\"row-group--three____77k0T row-group--three____POzw7 row-group____77k0T\",\"rowGroupThree\":\"row-group--three____77k0T row-group--three____POzw7 row-group____77k0T\",\"grid-14\":\"grid-14____POzw7\",\"grid14\":\"grid-14____POzw7\",\"row-group--four\":\"row-group--four____77k0T row-group____77k0T\",\"rowGroupFour\":\"row-group--four____77k0T row-group____77k0T\",\"row-group--auto\":\"row-group--auto____77k0T row-group____77k0T\",\"rowGroupAuto\":\"row-group--auto____77k0T row-group____77k0T\",\"row-group--three-auto\":\"row-group--three-auto____77k0T row-group--auto____77k0T row-group____77k0T\",\"rowGroupThreeAuto\":\"row-group--three-auto____77k0T row-group--auto____77k0T row-group____77k0T\",\"space\":\"space____77k0T\",\"display-none--lg\":\"display-none--lg____77k0T\",\"displayNoneLg\":\"display-none--lg____77k0T\",\"display-none--md\":\"display-none--md____77k0T\",\"displayNoneMd\":\"display-none--md____77k0T\",\"card-heading\":\"card-heading____798gg card-heading____POzw7\",\"cardHeading\":\"card-heading____798gg card-heading____POzw7\",\"card-heading--alert\":\"card-heading--alert____798gg card-heading____798gg card-heading____POzw7\",\"cardHeadingAlert\":\"card-heading--alert____798gg card-heading____798gg card-heading____POzw7\",\"card--status-message\":\"card--status-message____798gg\",\"cardStatusMessage\":\"card--status-message____798gg\",\"card--status-message--left\":\"card--status-message--left____798gg card--status-message____798gg\",\"cardStatusMessageLeft\":\"card--status-message--left____798gg card--status-message____798gg\",\"card-heading--sticky-header\":\"card-heading--sticky-header____798gg\",\"cardHeadingStickyHeader\":\"card-heading--sticky-header____798gg\",\"card-heading--no-icon\":\"card-heading--no-icon____798gg card-heading____798gg card-heading____POzw7\",\"cardHeadingNoIcon\":\"card-heading--no-icon____798gg card-heading____798gg card-heading____POzw7\",\"card-heading--bold-title\":\"card-heading--bold-title____798gg\",\"cardHeadingBoldTitle\":\"card-heading--bold-title____798gg\",\"date-arrow-forward\":\"date-arrow-forward____POzw7\",\"dateArrowForward\":\"date-arrow-forward____POzw7\",\"card-content\":\"card-content____POzw7\",\"cardContent\":\"card-content____POzw7\",\"control-group\":\"control-group____POzw7\",\"controlGroup\":\"control-group____POzw7\",\"label-group\":\"label-group____POzw7\",\"labelGroup\":\"label-group____POzw7\",\"label-group-item\":\"label-group-item____POzw7\",\"labelGroupItem\":\"label-group-item____POzw7\",\"constrained-width\":\"constrained-width____POzw7\",\"constrainedWidth\":\"constrained-width____POzw7\",\"button-group\":\"button-group____POzw7\",\"buttonGroup\":\"button-group____POzw7\",\"btn--flat\":\"btn--flat_____Pqc5 btn--flat____9I9-3 btn____9I9-3\",\"btnFlat\":\"btn--flat_____Pqc5 btn--flat____9I9-3 btn____9I9-3\",\"btn--submit\":\"btn--submit____nemVE btn--submit____9I9-3 btn____9I9-3\",\"btnSubmit\":\"btn--submit____nemVE btn--submit____9I9-3 btn____9I9-3\",\"btn--link\":\"btn--link____dFMiz btn--link____9I9-3 btn____9I9-3 btn--link____dFMiz btn--link____9I9-3 btn____9I9-3\",\"btnLink\":\"btn--link____dFMiz btn--link____9I9-3 btn____9I9-3 btn--link____dFMiz btn--link____9I9-3 btn____9I9-3\",\"btn--inline-text-link\":\"btn--inline-text-link____Fzpz5 btn--inline-text-link____9I9-3 btn--link____dFMiz btn--link____9I9-3 btn____9I9-3\",\"btnInlineTextLink\":\"btn--inline-text-link____Fzpz5 btn--inline-text-link____9I9-3 btn--link____dFMiz btn--link____9I9-3 btn____9I9-3\",\"btn--footer-submit\":\"btn--footer-submit____Fa_Ml btn--footer-submit____9I9-3 btn--footer____9I9-3 btn____9I9-3 btn--submit____nemVE btn--submit____9I9-3 btn____9I9-3\",\"btnFooterSubmit\":\"btn--footer-submit____Fa_Ml btn--footer-submit____9I9-3 btn--footer____9I9-3 btn____9I9-3 btn--submit____nemVE btn--submit____9I9-3 btn____9I9-3\",\"btn--footer-cancel\":\"btn--footer-cancel____tFEup btn--footer-cancel____9I9-3 btn--footer____9I9-3 btn____9I9-3 btn--flat_____Pqc5 btn--flat____9I9-3 btn____9I9-3\",\"btnFooterCancel\":\"btn--footer-cancel____tFEup btn--footer-cancel____9I9-3 btn--footer____9I9-3 btn____9I9-3 btn--flat_____Pqc5 btn--flat____9I9-3 btn____9I9-3\",\"btn--qce-dropdown\":\"btn--qce-dropdown____LaQOx btn--qce-dropdown____9I9-3 btn--footer-submit____Fa_Ml btn--footer-submit____9I9-3 btn--footer____9I9-3 btn____9I9-3 btn--submit____nemVE btn--submit____9I9-3 btn____9I9-3\",\"btnQceDropdown\":\"btn--qce-dropdown____LaQOx btn--qce-dropdown____9I9-3 btn--footer-submit____Fa_Ml btn--footer-submit____9I9-3 btn--footer____9I9-3 btn____9I9-3 btn--submit____nemVE btn--submit____9I9-3 btn____9I9-3\",\"btn--initial-insured-location-risk\":\"btn--initial-insured-location-risk____R_8iQ btn--initial-insured-location-risk____9I9-3 btn____9I9-3 btn--flat_____Pqc5 btn--flat____9I9-3 btn____9I9-3\",\"btnInitialInsuredLocationRisk\":\"btn--initial-insured-location-risk____R_8iQ btn--initial-insured-location-risk____9I9-3 btn____9I9-3 btn--flat_____Pqc5 btn--flat____9I9-3 btn____9I9-3\",\"btn--icon-eye\":\"btn--icon-eye____ZFHeS btn--icon-eye____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconEye\":\"btn--icon-eye____ZFHeS btn--icon-eye____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btn--icon-eye-slash\":\"btn--icon-eye-slash____wbhLP btn--icon-eye-slash____9I9-3 btn--icon-eye____ZFHeS btn--icon-eye____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"btnIconEyeSlash\":\"btn--icon-eye-slash____wbhLP btn--icon-eye-slash____9I9-3 btn--icon-eye____ZFHeS btn--icon-eye____9I9-3 btn--icon____9I9-3 btn____9I9-3\",\"card\":\"card____K9iQ2 card____798gg card____POzw7\",\"card--alert\":\"card--alert____RWv57 card--alert____798gg card____K9iQ2 card____798gg card____POzw7\",\"cardAlert\":\"card--alert____RWv57 card--alert____798gg card____K9iQ2 card____798gg card____POzw7\",\"validation-errors\":\"validation-errors____YPpuN\",\"validationErrors\":\"validation-errors____YPpuN\",\"validation-feedback\":\"validation-feedback____h0MaH\",\"validationFeedback\":\"validation-feedback____h0MaH\",\"screen-container\":\"screen-container____cC9bJ\",\"screenContainer\":\"screen-container____cC9bJ\",\"content\":\"content____IuoTX card____K9iQ2 card____798gg card____POzw7\",\"content--broker\":\"content--broker____SR2e2 content____IuoTX card____K9iQ2 card____798gg card____POzw7\",\"contentBroker\":\"content--broker____SR2e2 content____IuoTX card____K9iQ2 card____798gg card____POzw7\",\"form-group\":\"form-group____dIPZw\",\"formGroup\":\"form-group____dIPZw\",\"login-button-group\":\"login-button-group____Q3Nuv\",\"loginButtonGroup\":\"login-button-group____Q3Nuv\",\"btn--sign-in\":\"btn--sign-in____qt1XP btn--flat_____Pqc5 btn--flat____9I9-3 btn____9I9-3 btn--submit____nemVE btn--submit____9I9-3 btn____9I9-3\",\"btnSignIn\":\"btn--sign-in____qt1XP btn--flat_____Pqc5 btn--flat____9I9-3 btn____9I9-3 btn--submit____nemVE btn--submit____9I9-3 btn____9I9-3\",\"btn--reset-password\":\"btn--reset-password____XUTfY btn--flat_____Pqc5 btn--flat____9I9-3 btn____9I9-3 btn--submit____nemVE btn--submit____9I9-3 btn____9I9-3\",\"btnResetPassword\":\"btn--reset-password____XUTfY btn--flat_____Pqc5 btn--flat____9I9-3 btn____9I9-3 btn--submit____nemVE btn--submit____9I9-3 btn____9I9-3\",\"login-copyright\":\"login-copyright____RoYDq\",\"loginCopyright\":\"login-copyright____RoYDq\",\"password-reset-btn-group\":\"password-reset-btn-group____InZ__ login-button-group____Q3Nuv\",\"passwordResetBtnGroup\":\"password-reset-btn-group____InZ__ login-button-group____Q3Nuv\",\"qr-code\":\"qr-code____hps1W\",\"qrCode\":\"qr-code____hps1W\",\"manual-setup-key\":\"manual-setup-key____pLQp7\",\"manualSetupKey\":\"manual-setup-key____pLQp7\",\"step-group\":\"step-group____sTLEE\",\"stepGroup\":\"step-group____sTLEE\"};","import { JsonEndpoint } from 'resources/endpoints/json-endpoint';\r\nimport { environment } from 'environment';\r\nimport { RequestMethod } from 'resources/endpoints/endpoints';\r\n\r\nexport interface IResetPasswordBody {\r\n emailAddress: string;\r\n}\r\n\r\nexport interface IResetPasswordResponse {\r\n success: boolean;\r\n message: string;\r\n}\r\n\r\nexport class ResetPasswordEndpoint extends JsonEndpoint {\r\n protected method: RequestMethod = RequestMethod.post;\r\n\r\n protected uri(): string {\r\n return `${environment.apiHost}/api/users/resetpassword`;\r\n }\r\n}\r\n","import { IaToastService } from 'resources/services/ia-toast-service';\r\nimport { AppClientConfig } from 'config/app-client-config';\r\nimport { PLATFORM } from 'aurelia-pal';\r\nimport { autoinject, Aurelia } from 'aurelia-framework';\r\nimport { environment } from 'environment';\r\nimport { TokenService } from 'resources/services/token-service';\r\nimport { User } from 'resources/models/user';\r\nimport { HttpClient } from 'aurelia-fetch-client';\r\nimport styles from './login.css';\r\nimport { AppRouter } from 'aurelia-router';\r\nimport { ValidationController, ValidationControllerFactory, ValidationRules } from 'aurelia-validation';\r\nimport { FormValidationRenderer } from 'resources/form-validation-renderer';\r\nimport { CountryCode } from 'libphonenumber-js';\r\nimport { configureScope } from '@sentry/core';\r\nimport { applyTheme } from 'resources/utilities/apply-theme';\r\nimport { Api } from 'components/top-nav/api';\r\nimport { addDeviceTokenForUser } from 'resources/device-token-manager';\r\nimport { parseJwt } from 'resources/parse-jwt';\r\nimport { ResetPasswordEndpoint } from 'endpoints/auth/reset-password-endpoint';\r\n\r\n@autoinject()\r\nexport class Login {\r\n styles = styles;\r\n public validationController: ValidationController;\r\n\r\n public showUserNamePasswordError: boolean;\r\n public showPasswordExpiredError: boolean;\r\n public showTwoFactorError: boolean;\r\n\r\n public resetPasswordBtnText = 'buttonLabels:login.resetPassword';\r\n public forgotPassword = false;\r\n public username = '';\r\n public password = '';\r\n public passwordResetEmail = '';\r\n public showForgotPasswordFields = true;\r\n public currentYear: number = new Date().getFullYear();\r\n public appClientType: CountryCode;\r\n public appClientInstance: string;\r\n public allowLocaleChangeOnLogin: boolean = environment.allowLocaleChangeOnLogin;\r\n public loading = false;\r\n\r\n public showTwoFactor = false;\r\n public forceTwoFactorSetup = false;\r\n public forceTwoFactorCodeRequest = false;\r\n public twoFactorAccepted = false;\r\n public processingTwoFactorAuthentication = false;\r\n\r\n public twoFactorAuthModel = {\r\n isInitialSetupFlag: false,\r\n qrCodeImage: '',\r\n manualSetupKey: '',\r\n totpCode: '',\r\n };\r\n\r\n public setFocus = false;\r\n\r\n constructor(\r\n private tokenService: TokenService,\r\n private au: Aurelia,\r\n private validationControllerFactory: ValidationControllerFactory,\r\n private toast: IaToastService,\r\n private router: AppRouter,\r\n private http: HttpClient,\r\n private api: Api,\r\n private appClientConfig: AppClientConfig,\r\n private endpoint: ResetPasswordEndpoint,\r\n ) {\r\n this.validationController = this.validationControllerFactory.createForCurrentScope();\r\n this.validationController.addRenderer(new FormValidationRenderer());\r\n }\r\n\r\n async bind() {\r\n if (localStorage.getItem('theme')) {\r\n applyTheme(localStorage.getItem('theme'));\r\n }\r\n\r\n this.appClientType = this.appClientConfig.appClientType;\r\n this.appClientInstance = this.appClientConfig.appClientInstance;\r\n if (this.appClientType) {\r\n document.title = this.appClientType === 'AU' ? 'iAdviser' : 'iBroker';\r\n }\r\n }\r\n\r\n async activate() {\r\n this.initializeValidation();\r\n }\r\n\r\n initializeValidation() {\r\n ValidationRules.off(this);\r\n\r\n ValidationRules\r\n .ensure((x: any) => x.username)\r\n .required()\r\n .when((x: any) => !x.forgotPassword)\r\n .email()\r\n .ensure((x: any) => x.password)\r\n .required()\r\n .when((x: any) => !x.forgotPassword)\r\n .ensure((x: any) => x.passwordResetEmail)\r\n .required()\r\n .when((x: any) => x.forgotPassword)\r\n .email()\r\n .on(this);\r\n\r\n ValidationRules.ensure((x: any) => x.totpCode)\r\n .required()\r\n .on(this.twoFactorAuthModel);\r\n }\r\n\r\n backToSignIn() {\r\n if (this.forgotPassword) {\r\n this.forgotPassword = false;\r\n }\r\n\r\n if (this.showTwoFactor) {\r\n this.showTwoFactor = false;\r\n this.setFocus = false;\r\n this.resetTwoFactorModal();\r\n }\r\n }\r\n\r\n forgotPasswordLinkClicked() {\r\n this.showUserNamePasswordError = false;\r\n this.showPasswordExpiredError = false;\r\n this.forgotPassword = true;\r\n this.showForgotPasswordFields = true;\r\n this.passwordResetEmail = '';\r\n }\r\n\r\n async passwordReset() {\r\n const itemIsValid = (await this.validationController.validate({ object: this })).valid;\r\n\r\n if (itemIsValid) {\r\n this.loading = true;\r\n\r\n const { response } = await this.endpoint.fetch(null, { emailAddress: this.passwordResetEmail });\r\n\r\n if (response.ok) {\r\n this.showForgotPasswordFields = false;\r\n } else {\r\n this.showForgotPasswordFields = true;\r\n }\r\n\r\n this.loading = false;\r\n }\r\n }\r\n\r\n public createUserRequestObject(): User {\r\n return {\r\n appClientType: this.appClientType,\r\n appClientInstance: this.appClientInstance,\r\n username: this.username,\r\n password: this.password,\r\n };\r\n }\r\n\r\n public async handleTwoFactorSetup() {\r\n const twoFactorSetup = await this.api.setupTwoFactorAuthentication();\r\n\r\n this.twoFactorAuthModel.isInitialSetupFlag = true;\r\n this.twoFactorAuthModel.qrCodeImage = twoFactorSetup.qrCodeImage;\r\n this.twoFactorAuthModel.manualSetupKey = twoFactorSetup.manualSetupKey;\r\n this.twoFactorAuthModel.totpCode = '';\r\n\r\n this.showTwoFactor = true;\r\n this.setFocus = true;\r\n this.forceTwoFactorSetup = true;\r\n\r\n this.loading = false;\r\n }\r\n\r\n public handleTwoFactorCodeRequest() {\r\n this.twoFactorAuthModel.isInitialSetupFlag = false;\r\n this.twoFactorAuthModel.qrCodeImage = '';\r\n this.twoFactorAuthModel.manualSetupKey = '';\r\n this.twoFactorAuthModel.totpCode = '';\r\n\r\n this.showTwoFactor = true;\r\n this.setFocus = true;\r\n this.forceTwoFactorCodeRequest = true;\r\n\r\n this.loading = false;\r\n }\r\n\r\n async handleError(e) {\r\n this.loading = false;\r\n\r\n if (e instanceof Response) {\r\n const serverErrors = await this.parseServerError(e);\r\n\r\n if (this.isPasswordExpired(serverErrors)) {\r\n this.showPasswordExpiredError = true;\r\n return;\r\n }\r\n\r\n if (this.isInvalidCredentialsError(serverErrors)) {\r\n this.showUserNamePasswordError = true;\r\n return;\r\n }\r\n } else {\r\n console.error('Error is not a server response', e);\r\n }\r\n }\r\n\r\n async parseServerError(response: Response) {\r\n try {\r\n return await response.json();\r\n } catch (error) {\r\n console.error('Error parsing server response', error);\r\n }\r\n }\r\n\r\n isPasswordExpired(serverErrors) {\r\n return 'password' in serverErrors && serverErrors.password?.toString().includes('expired');\r\n }\r\n\r\n isInvalidCredentialsError(serverErrors) {\r\n return 'SignIn' in serverErrors && serverErrors.SignIn?.toString().includes('Credentials Invalid');\r\n }\r\n\r\n async login() {\r\n const req: User = this.createUserRequestObject();\r\n\r\n const itemIsValid = (await this.validationController.validate({ object: this })).valid;\r\n\r\n if (itemIsValid) {\r\n try {\r\n this.showUserNamePasswordError = false;\r\n this.showPasswordExpiredError = false;\r\n\r\n this.loading = true;\r\n await this.tokenService.createAuthToken(req);\r\n\r\n if (\r\n localStorage.getItem('twoFactorSetupRequired') &&\r\n localStorage.getItem('twoFactorSetupRequired') === 'true'\r\n ) {\r\n this.handleTwoFactorSetup();\r\n } else if (\r\n localStorage.getItem('twoFactorCodeRequired') &&\r\n localStorage.getItem('twoFactorCodeRequired') === 'true'\r\n ) {\r\n this.handleTwoFactorCodeRequest();\r\n } else {\r\n await this.processPostLogin();\r\n }\r\n } catch (e) {\r\n await this.handleError(e);\r\n }\r\n }\r\n }\r\n\r\n async processTwoFactorAuthentication() {\r\n //TODO - validation\r\n // clear any server errors since Update Password was last clicked\r\n // this.pageErrors = [];\r\n //const validate = await this.validationController.validate();\r\n\r\n const itemIsValid = (await this.validationController.validate({ object: this.twoFactorAuthModel })).valid;\r\n\r\n if (itemIsValid) {\r\n this.processingTwoFactorAuthentication = true;\r\n this.showTwoFactorError = false;\r\n\r\n try {\r\n const result = await this.api.validateTotpCode(this.twoFactorAuthModel);\r\n\r\n if (result) {\r\n this.twoFactorAccepted = true;\r\n this.twoFactorAuthModel.isInitialSetupFlag = false;\r\n this.twoFactorAuthModel.qrCodeImage = '';\r\n this.twoFactorAuthModel.manualSetupKey = '';\r\n this.twoFactorAuthModel.totpCode = '';\r\n localStorage.removeItem('twoFactorSetupRequired');\r\n localStorage.removeItem('twoFactorCodeRequired');\r\n\r\n const token = this.tokenService.getAuthToken();\r\n const emailAddress = parseJwt(token).sub;\r\n addDeviceTokenForUser(emailAddress, result.deviceToken);\r\n\r\n await this.processPostLogin();\r\n } else {\r\n this.showTwoFactorError = true;\r\n this.toast.destroyAllToasts();\r\n }\r\n\r\n this.processingTwoFactorAuthentication = false;\r\n } catch (e) {\r\n this.processingTwoFactorAuthentication = false;\r\n this.twoFactorAccepted = false;\r\n this.showTwoFactorError = true;\r\n }\r\n }\r\n }\r\n\r\n async resetTwoFactorModal() {\r\n //TODO - validation\r\n this.validationController.reset();\r\n this.processingTwoFactorAuthentication = false;\r\n this.showTwoFactor = false;\r\n this.twoFactorAccepted = false;\r\n this.showTwoFactorError = false;\r\n try {\r\n if (this.forceTwoFactorSetup) {\r\n // Delete user's key so they can try setting up again\r\n const result = await this.api.resetTwoFactorSetupForCurrentUser();\r\n }\r\n\r\n this.twoFactorAuthModel.qrCodeImage = '';\r\n this.twoFactorAuthModel.manualSetupKey = '';\r\n this.twoFactorAuthModel.totpCode = '';\r\n\r\n this.toast.destroyAllToasts();\r\n this.tokenService.removeToken();\r\n } catch (e) {\r\n this.processingTwoFactorAuthentication = false;\r\n }\r\n }\r\n\r\n async processPostLogin() {\r\n configureScope((scope) => {\r\n scope.setUser({\r\n email: this.username,\r\n appClientType: this.appClientType,\r\n appClientInstance: this.appClientInstance,\r\n });\r\n });\r\n\r\n if (!window.location.href.includes('localhost')) {\r\n const url = `/index_${this.appClientType.toLowerCase()}_${this.appClientInstance.toLowerCase()}.html`;\r\n\r\n await this.http\r\n .fetch(url, {\r\n method: 'HEAD',\r\n })\r\n .then((response) => {\r\n if (response.headers.get('Last-modified')) {\r\n localStorage.setItem('indexLastModified', response.headers.get('Last-modified'));\r\n }\r\n });\r\n }\r\n\r\n // Reset the router before switching the root or we encounter routing problems\r\n this.router.reset();\r\n this.router.deactivate();\r\n this.au.setRoot(PLATFORM.moduleName('shell/shell'));\r\n }\r\n\r\n handleKeyDown(event: KeyboardEvent, type: 'sign-in' | '2FA'): boolean {\r\n if (event.which === 13) {\r\n if (type === 'sign-in') {\r\n this.login();\r\n }\r\n\r\n if (type === '2FA') {\r\n this.processTwoFactorAuthentication();\r\n }\r\n\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n}\r\n","var map = {\n\t\"./audio.svg\": 34318,\n\t\"./ball-triangle.svg\": 24916,\n\t\"./bars.svg\": 31062,\n\t\"./circles.svg\": 64967,\n\t\"./green-tick.svg\": 7829,\n\t\"./grid.svg\": 55048,\n\t\"./hearts.svg\": 39855,\n\t\"./oval.svg\": 38268,\n\t\"./puff.svg\": 43261,\n\t\"./red-cross.svg\": 91282,\n\t\"./rings.svg\": 50273,\n\t\"./spinning-circles.svg\": 14030,\n\t\"./tail-spin.svg\": 73027,\n\t\"./three-dots.svg\": 73217\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 30179;"],"names":["method","get","uri","parameters","apiHost","queryString","Object","entries","map","key","value","encodeURIComponent","join","collectionType","collectionSetId","collectionId","displayType","QuestionDocumentSection","QuestionFeature","ResponseType","NextQuestion","GoToEnd","adviserId","post","delete","adviserFunderCredentialsId","clientId","systemKey","priority","status","put","externalSystemCredentialId","routeParams","query","DevEnvironment","debug","environment","FeatureFlag","features","supportsAnchorPositioning","CSS","supports","tokenService","au","validationControllerFactory","toast","router","http","api","appClientConfig","endpoint","styles","resetPasswordBtnText","forgotPassword","username","password","passwordResetEmail","showForgotPasswordFields","currentYear","Date","getFullYear","allowLocaleChangeOnLogin","loading","showTwoFactor","forceTwoFactorSetup","forceTwoFactorCodeRequest","twoFactorAccepted","processingTwoFactorAuthentication","twoFactorAuthModel","isInitialSetupFlag","qrCodeImage","manualSetupKey","totpCode","setFocus","this","validationController","createForCurrentScope","addRenderer","bind","localStorage","getItem","appClientType","appClientInstance","document","title","activate","initializeValidation","ValidationRules","off","ensure","x","required","when","email","on","backToSignIn","resetTwoFactorModal","forgotPasswordLinkClicked","showUserNamePasswordError","showPasswordExpiredError","passwordReset","validate","object","valid","fetch","emailAddress","ok","createUserRequestObject","handleTwoFactorSetup","setupTwoFactorAuthentication","twoFactorSetup","handleTwoFactorCodeRequest","handleError","e","Response","parseServerError","serverErrors","isPasswordExpired","isInvalidCredentialsError","console","error","response","json","toString","includes","SignIn","login","req","createAuthToken","processPostLogin","processTwoFactorAuthentication","showTwoFactorError","validateTotpCode","result","removeItem","token","getAuthToken","sub","deviceToken","destroyAllToasts","reset","resetTwoFactorSetupForCurrentUser","removeToken","scope","setUser","window","location","href","url","toLowerCase","then","headers","setItem","deactivate","setRoot","handleKeyDown","event","type","which","autoinject","Aurelia","ValidationControllerFactory","ResetPasswordEndpoint","Login","webpackContext","id","webpackContextResolve","__webpack_require__","o","Error","code","keys","resolve","module","exports"],"sourceRoot":""}