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,4EAA6B,oEAC7B,sEAAuB,sNAGX,2EAA4B;sHAjDzC,uBAAuB;QCtBpC,uFAAiH;QAGjH,gJAA6G;QAG7G,oHAiHM;QAGN,gJACqC;;QA3Hd,6EAAe;QAGqC,2DAAY;QAAZ,6EAAY;QAGlC,2DAAY;QAAZ,6EAAY;QAqH9D,2DAAY;QAAZ,6EAAY;;ADgJf,2EAAwB,CAAC,yEAA0B,EAAE,6GAA2C,EAAE,uBAAuB,EAAE,+BAA+B,CAAC,CAAC","sources":["./src/app/licensureCore/landingPage/license/license-landing-component.service.ts","./src/app/licensureCore/landingPage/license/license-landing-region-model.ts","./src/app/licensureCore/landingPage/license/license-landing.component.ts","./src/app/licensureCore/landingPage/license/license-landing.component.html"],"sourcesContent":["\r\n// Framework\r\nimport { Injectable, Inject, OnInit } from '@angular/core';\r\n\r\n// Core\r\nimport {\r\n CONSTANTS_SERVICE_TOKEN, ConstantsService,\r\n ServiceLocatorService,\r\n SystemSettingsManagerService,\r\n UtilitiesService\r\n} from \"@core/core.module\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LicenseLandingComponentService implements OnInit {\r\n\r\n // Fields\r\n public criminalBackgroundCheckFeeWizardFeatureConfiguration = null;\r\n public regionName: string = \"licenseTabRegion\";\r\n\r\n // CTOR\r\n constructor(\r\n @Inject(CONSTANTS_SERVICE_TOKEN) protected constantsService: ConstantsService,\r\n private serviceLocatorService: ServiceLocatorService,\r\n protected systemSettingsManagerService: SystemSettingsManagerService,\r\n private utilitiesService: UtilitiesService\r\n ) {\r\n }\r\n\r\n /**\r\n * A lifecycle hook that is called after Angular has initialized all data-bound properties of a directive. \r\n * Define an ngOnInit() method to handle any additional initialization tasks.\r\n */\r\n ngOnInit(): void {\r\n\r\n // Criminal Background Check Fee Wizard Feature Configuration\r\n if (this.systemSettingsManagerService.asBoolean(this.constantsService.SYSTEM_SETTING_KEYS.CRIMINAL_BACKGROUND_CHECK.FEE_WIZARD.ENABLED)) {\r\n this.criminalBackgroundCheckFeeWizardFeatureConfiguration = this.serviceLocatorService.getInstance(\"criminalBackgroundCheckFeeWizardFeatureConfiguration\");\r\n }\r\n }\r\n\r\n public canCollectCriminalBackgroundCheckFee(licenseInfo) {\r\n return this.criminalBackgroundCheckFeeWizardFeatureConfiguration != null &&\r\n this.criminalBackgroundCheckFeeWizardFeatureConfiguration.canCollectCriminalBackgroundCheckFee(licenseInfo);\r\n }\r\n\r\n public presentCriminalBackgroundCheckFeeWizard(licenseInfo, webServiceHistoryId) {\r\n if (this.criminalBackgroundCheckFeeWizardFeatureConfiguration != null) {\r\n this.criminalBackgroundCheckFeeWizardFeatureConfiguration.presentCriminalBackgroundCheckFeeWizard(\r\n licenseInfo.UnpaidCriminalBackgroundCheckId,\r\n webServiceHistoryId);\r\n }\r\n }\r\n\r\n public derivePendingStatusMessage(licenseInfo) {\r\n if (licenseInfo.PendingStatus) {\r\n return this.utilitiesService.stringFormatArgs(\"(pending {0})\", licenseInfo.PendingStatus.Description);\r\n }\r\n\r\n if (licenseInfo.PendingLicenseStatusChangeApplicationStatusTo) {\r\n return this.utilitiesService.stringFormatArgs(\"(applied for {0})\",\r\n licenseInfo.PendingLicenseStatusChangeApplicationStatusTo.Description);\r\n }\r\n\r\n return null;\r\n }\r\n}\r\n","import { ReachRegionConfiguration, ReachRegionModel } from \"src/app/core/components/reach-region/reach-region.component\";\r\nimport { IOnlineUserDto } from \"src/app/coreShared/core-shared.module\";\r\nimport { ILicenseDto } from \"src/app/licensureShared/licensure-shared.module\";\r\nimport { EmploymentListConfiguration } from \"../../components/employmentList/model/employment-list-configuration\";\r\nimport { EmploymentListModel } from \"../../components/employmentList/model/employment-list-model\";\r\n\r\nexport class LicenseLandingRegionModel extends ReachRegionModel {\r\n OnlineUser: IOnlineUserDto = null;\r\n license: ILicenseDto = null;\r\n EmploymentListModel: EmploymentListModel;\r\n}\r\n\r\nexport class LicenseLandingRegionConfiguration extends ReachRegionConfiguration {\r\n EmploymentListConfiguration: EmploymentListConfiguration;\r\n}\r\n\r\n","import { AfterViewChecked, ChangeDetectorRef, Component, Inject, OnChanges, OnDestroy, OnInit, Optional, SimpleChanges } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { BusyManagerService, CONSTANTS_SERVICE_TOKEN, ConstantsService, FEATURE_MANAGER_SERVICE_TOKEN, FeatureManagerService, LandingDetailBaseComponent, MODEL_CONFIG_INJECTION_TOKEN, MessageService, OnlineServiceLinkManagerService, OnlineServiceLinkSubscription, ReachModelConfigurationInjector, ReachScenarios, SummaryInfoManagerService, SystemSettingsManagerService, UserManagerService, UserProfileService, registerDynamicComponent } from '@core/core.module';\r\nimport { EntityEmploymentService, ILicenseConstantsService, LicenseCertificationFeatureConfigurationService, LicensureFeatureManagerService, LicensureLandingComponentKeys, LicensureOnlineServiceProcessTypes } from '@licensureCore/licensure-core.module';\r\nimport { LicenseStatusService } from '@licensureCoreServices/license-status.service';\r\nimport { LicenseTypeService } from '@licensureCoreServices/license-type.service';\r\nimport { LicenseService } from '@licensureCoreServices/license.service';\r\nimport { ILicenseDto, ILicensureUserProfileInfoDto, IRenewalDto, LicenseInfoDto, SupervisionPlanSearchResultItemDto, SupervisionVerificationSearchResultItemDto } from '@licensureShared/licensure-shared.module';\r\nimport * as _l from 'lodash-es';\r\nimport { Observable, forkJoin, from, of } from 'rxjs';\r\nimport { map, switchMap, tap } from 'rxjs/operators';\r\nimport { EmploymentListConfiguration } from '../../components/employmentList/model/employment-list-configuration';\r\nimport { EmploymentListModel } from '../../components/employmentList/model/employment-list-model';\r\nimport { LicenseLandingComponentService } from './license-landing-component.service';\r\nimport { LicenseLandingRegionConfiguration, LicenseLandingRegionModel } from './license-landing-region-model';\r\n\r\nexport const LicenseLandingComponentSelector = 'license-landing';\r\n@Component({\r\n selector: LicenseLandingComponentSelector,\r\n templateUrl: './license-landing.component.html',\r\n styleUrls: ['./license-landing.component.scss']\r\n})\r\nexport class LicenseLandingComponent extends LandingDetailBaseComponent implements OnInit, OnChanges, OnDestroy, AfterViewChecked {\r\n\r\n featureManagerService: LicensureFeatureManagerService = null;\r\n loaded: boolean = false;\r\n license: ILicenseDto = null;\r\n licenseType = null;\r\n LicenseStatus = null;\r\n plans: SupervisionPlanSearchResultItemDto[] = [];\r\n verifications: SupervisionVerificationSearchResultItemDto[] = [];\r\n pendingStatusChangeMessage = null;\r\n isOnlineSupervisionFeatureEnabled: boolean = false;\r\n isOnlineSupervisorAttestationFeatureEnabled: boolean = false;\r\n isSupervisionSummaryEnabled: boolean;\r\n isFeatureSupervisionOnlinePlansSuperviseeEnabled: boolean = false;\r\n isFeatureSupervisionOnlineVerificationsSuperviseeEnabled: boolean = false;\r\n canCollectCriminalBackgroundCheckFee: boolean = false;\r\n criminalBackgroundCheckFeeWizardFeatureConfiguration = null;\r\n isLicenseCertificationFeatureEnabled: boolean = false;\r\n licenseTypeSupportsCertification = false;\r\n isChecklistVisible: boolean;\r\n domainFormHost = null;\r\n pageSummaryMajorKey: string;\r\n pageSummaryMinorKey = \"Landing.LicenseTab.SummaryText\";\r\n title: string;\r\n featureShowCeDueDate: boolean;\r\n featureShowCeHours: boolean;\r\n fileUploadEnabled: boolean;\r\n isOrganization: boolean;\r\n licenseeEntityId: any;\r\n\r\n public get plansEnabled(): boolean {\r\n return this.isFeatureSupervisionOnlinePlansSuperviseeEnabled && this.license.LicenseType.SupervisionPlansSupported;\r\n }\r\n\r\n public get verificationsEnabled(): boolean {\r\n return this.isFeatureSupervisionOnlineVerificationsSuperviseeEnabled && this.license.LicenseType.SupervisionVerificationsSupported;\r\n }\r\n\r\n public relevantChecklistRenewal: IRenewalDto;\r\n public get showExpireDate(): boolean { return true; }\r\n\r\n public licenseLandingRegionModel: LicenseLandingRegionModel;\r\n public licenseLandingRegionConfiguration: LicenseLandingRegionConfiguration;\r\n\r\n constructor(private activatedRoute: ActivatedRoute\r\n , @Inject(FEATURE_MANAGER_SERVICE_TOKEN) featureManagerService: FeatureManagerService\r\n , @Inject(CONSTANTS_SERVICE_TOKEN) constantsService: ConstantsService\r\n \r\n , onlineServiceLinkManagerService: OnlineServiceLinkManagerService\r\n , @Optional() @Inject(MODEL_CONFIG_INJECTION_TOKEN) protected reachModelConfigurationInjector: ReachModelConfigurationInjector\r\n , summaryInfoManagerService: SummaryInfoManagerService\r\n , private licenseCertificationFeatureConfigurationService: LicenseCertificationFeatureConfigurationService\r\n , private busyManagerService: BusyManagerService\r\n , private licenseService: LicenseService\r\n , private licenseStatusService: LicenseStatusService\r\n , private licenseTypeService: LicenseTypeService\r\n , public licenseLandingComponentService: LicenseLandingComponentService\r\n , private systemSettingsManagerService: SystemSettingsManagerService\r\n , private userManagerService: UserManagerService\r\n , private userProfileService: UserProfileService\r\n , private readonly changeDetectorRef: ChangeDetectorRef\r\n , private entityEmploymentService: EntityEmploymentService) {\r\n\r\n super(constantsService, onlineServiceLinkManagerService, reachModelConfigurationInjector, activatedRoute, summaryInfoManagerService, (constantsService as ILicenseConstantsService).DOMAIN_IDS.LICENSE);\r\n this.featureManagerService = featureManagerService as LicensureFeatureManagerService;\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.Jurisprudence, () => { return this.domainKeyId; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.LicenseRenewal, () => { return this.domainKeyId; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.LicenseRenewalWithStatusChange, () => { return this.domainKeyId; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.LicenseRenewalFinalFee, () => { return this.domainKeyId; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.LicenseRenewalFinalFeeFirstInGroup, () => { return this.domainKeyId; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.DuplicateCard, () => { return this.domainKeyId; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.DuplicateWallCertificate, () => { return this.domainKeyId; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.LicenseReinstatement, () => { return this.domainKeyId; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.CriminalBackgroundCheckFee, () => { return this.domainKeyId; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.ProfessionalProfile, () => { return this.domainKeyId; }));\r\n this.onlineServiceLinkSubscriptions.push(new OnlineServiceLinkSubscription(LicensureOnlineServiceProcessTypes.LicenseStatusChange, () => { return this.domainKeyId; }));\r\n }\r\n\r\n ngOnInit(): void {\r\n super.ngOnInit();\r\n\r\n // If entity is supplied on the route, this is an assumed 'delegated' use case.\r\n if (this.activatedRoute.params[\"EntityId\"]) {\r\n this.licenseeEntityId = this.activatedRoute.params[\"EntityId\"];\r\n }\r\n\r\n this.isOnlineSupervisionFeatureEnabled = this.featureManagerService.isSupervisionEnabled;\r\n this.isSupervisionSummaryEnabled = this.systemSettingsManagerService.asBoolean(this.constantsService.SYSTEM_SETTING_KEYS.SUPERVISION.LICENSE_TAB.SUPERVISION_SUMMARY.ENABLED);\r\n this.featureShowCeDueDate = this.systemSettingsManagerService.asBoolean(this.constantsService.SYSTEM_SETTING_KEYS.LICENSE_TAB.SHOW_CE_DUE_DATE);\r\n this.featureShowCeHours = this.systemSettingsManagerService.asBoolean(this.constantsService.SYSTEM_SETTING_KEYS.LICENSE_TAB.SHOW_CE_HOURS);\r\n this.fileUploadEnabled = this.systemSettingsManagerService.asBoolean(this.constantsService.SYSTEM_SETTING_KEYS.ONLINE_LANDING.LICENSE.FILE_UPLOAD.ENABLED);\r\n this.isOrganization = !this.userManagerService.getCurrentPrincipal().user.IsIndividual;\r\n this.isFeatureSupervisionOnlinePlansSuperviseeEnabled = this.systemSettingsManagerService.asBoolean((this.constantsService.SYSTEM_SETTING_KEYS.SUPERVISION as any).ONLINE_PLANS.SUPERVISEE_ENABLED);\r\n this.isFeatureSupervisionOnlineVerificationsSuperviseeEnabled = this.systemSettingsManagerService.asBoolean((this.constantsService.SYSTEM_SETTING_KEYS.SUPERVISION as any).ONLINE_VERIFICATIONS.SUPERVISEE_ENABLED);\r\n this.isLicenseCertificationFeatureEnabled = this.systemSettingsManagerService.asBoolean(this.constantsService.SYSTEM_SETTING_KEYS.LICENSE.LICENSE_CERTIFICATION.ENABLED);\r\n this.licenseTypeSupportsCertification = false;\r\n this.pageSummaryMajorKey = this.majorKey;\r\n this.initialize();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n super.onInputChanges(changes);\r\n if (!this.majorKey) {\r\n this.majorKey = \"LicenseTab\";\r\n }\r\n }\r\n\r\n ngAfterViewChecked(): void {\r\n this.changeDetectorRef.detectChanges();\r\n }\r\n\r\n ngOnDestroy() { }\r\n\r\n public get functionNumber(): string {\r\n return this.license && this.license.LicenseNumber ? this.license.LicenseNumber.toString() : null;\r\n }\r\n\r\n public get featureRegionName() {\r\n return this.licenseLandingComponentService.regionName;\r\n }\r\n\r\n public save = (): Observable => {\r\n const doSave = async (): Promise => {\r\n this.license.ValidationMode = this.constantsService.VALIDATION_MODES.LADING_PAGE.WEB_LICENSE_RENEWAL_CONTACT_INFO;\r\n this.license = await this.licenseService.save(this.license).toPromise();\r\n this.domainFormHost = this.license.InProcessRenewal;\r\n\r\n this.assignRelevantChecklistRenewal();\r\n }\r\n return this.busyManagerService.resolve(from(doSave()), this.constantsService.BUSY_MANAGER_BUSY_TYPES.COMMAND);\r\n }\r\n\r\n public initCommands() {\r\n this.pendingStatusChangeMessage = this.licenseLandingComponentService.derivePendingStatusMessage(this.model);\r\n this.canCollectCriminalBackgroundCheckFee = this.licenseLandingComponentService.canCollectCriminalBackgroundCheckFee(this.model);\r\n\r\n if (this.isLicenseCertificationFeatureEnabled) {\r\n this.licenseTypeSupportsCertification = this.licenseCertificationFeatureConfigurationService.licenseTypeSupportsCertification(this.model.LicenseType.Code);\r\n }\r\n }\r\n\r\n public presentCriminalBackgroundCheckFeeWizard(licenseInfo, webServiceHistoryId) {\r\n if (this.criminalBackgroundCheckFeeWizardFeatureConfiguration != null) {\r\n this.criminalBackgroundCheckFeeWizardFeatureConfiguration.presentCriminalBackgroundCheckFeeWizard(licenseInfo.UnpaidCriminalBackgroundCheckId, webServiceHistoryId);\r\n }\r\n }\r\n\r\n public getSupervisionPlans(): Observable {\r\n if (this.isOnlineSupervisionFeatureEnabled && this.isFeatureSupervisionOnlinePlansSuperviseeEnabled) {\r\n this.plans = _l.filter((this.userManagerService.getCurrentPrincipal().user.UserAccount.profile as ILicensureUserProfileInfoDto).SuperviseePlans, (item: SupervisionPlanSearchResultItemDto) => {\r\n return item.LicenseId === this.model.Id;\r\n });\r\n }\r\n return of(this.plans);\r\n }\r\n\r\n public getSupervisionVerifications(): Observable {\r\n if (this.isOnlineSupervisionFeatureEnabled && this.isFeatureSupervisionOnlineVerificationsSuperviseeEnabled) {\r\n this.verifications = _l.filter((this.userManagerService.getCurrentPrincipal().user.UserAccount.profile as ILicensureUserProfileInfoDto).SuperviseeVerifications, (item: SupervisionVerificationSearchResultItemDto) => {\r\n return item.LicenseId === this.model.Id;\r\n });\r\n }\r\n\r\n return of(this.verifications);\r\n }\r\n\r\n\r\n public getLicense() {\r\n return this.licenseService.getById(this.model.Id);\r\n }\r\n\r\n public getLicenseType() {\r\n return this.licenseTypeService.getById(this.license.LicenseTypeId);\r\n }\r\n\r\n public getLicenseStatus() {\r\n return this.licenseStatusService.getById(this.license.LicenseStatusId);\r\n }\r\n\r\n private initialize(): void {\r\n\r\n // There are two routes that will land us here.\r\n // 1. The user come from their license card\r\n // 2. The user is a administrator and is viewing a license from their associated licenses list\r\n // In the former the model will be passed in, in the latter it will not.\r\n const modelObservable: Observable = this.model\r\n ? of(this.model)\r\n : forkJoin([\r\n this.licenseService.getLicenseInfo(this.domainKeyId),\r\n this.userProfileService.getAssociatedWebLinks((this.constantsService as ILicenseConstantsService).DOMAIN_IDS.LICENSE, this.domainKeyId)\r\n ]).pipe(\r\n map(([licenseInfo, webLinks]) => {\r\n this.onlineServiceLinkManagerService.addLinks(webLinks, true);\r\n this.getOnlineServiceLinksForCard();\r\n return licenseInfo\r\n })\r\n );\r\n\r\n modelObservable.pipe(\r\n tap((model) => {\r\n this.model = model;\r\n this.initCommands();\r\n }),\r\n switchMap(() => forkJoin([\r\n this.getLicense(),\r\n this.getSupervisionPlans(),\r\n this.getSupervisionVerifications()\r\n ])),\r\n switchMap(([license]) => {\r\n this.license = license;\r\n // TODO\r\n return forkJoin([this.getLicenseType(), this.getLicenseStatus(), this.entityEmploymentService.getByEmployeeLicenseId(license.Id)]);\r\n })\r\n ).subscribe(([licenseType, licenseStatus, employmentListDto]) => {\r\n\r\n this.isOnlineSupervisorAttestationFeatureEnabled = this.systemSettingsManagerService.asBoolean(this.constantsService.SYSTEM_SETTING_KEYS.SUPERVISION.SUPERVISORATTESTATION.ENABLED) && this.license.LicenseType.SupervisionAttestationSummarySupported;\r\n this.licenseLandingRegionModel = new LicenseLandingRegionModel();\r\n this.licenseLandingRegionConfiguration = new LicenseLandingRegionConfiguration();\r\n this.licenseLandingRegionModel.EmploymentListModel = new EmploymentListModel(undefined, employmentListDto, this.license.EntityId, this.license.Id, this.license.LicenseTypeId);\r\n this.licenseLandingRegionConfiguration.EmploymentListConfiguration = new EmploymentListConfiguration(this.systemSettingsManagerService, this.constantsService);\r\n\r\n this.assignRelevantChecklistRenewal();\r\n\r\n this.license.LicenseType = licenseType;\r\n this.license.Status = licenseStatus;\r\n this.title = `${this.license ? this.license.LicenseType.LicenseCardNumberType + ' ' : ''}Information`;\r\n this.licenseLandingRegionModel.license = this.license;\r\n this.loaded = true;\r\n });\r\n }\r\n\r\n public assignRelevantChecklistRenewal(): void {\r\n const systemSetting = this.systemSettingsManagerService.asBoolean(this.constantsService.SYSTEM_SETTING_KEYS.ONLINE_LANDING.LICENSE.CHECKLIST.ENABLED);\r\n\r\n if (!this.license.InProcessRenewal) this.relevantChecklistRenewal = this.license.ActiveRenewal;\r\n else if (this.license.InProcessRenewal.IsHold) this.relevantChecklistRenewal = this.license.InProcessRenewal;\r\n else this.relevantChecklistRenewal = null;\r\n\r\n this.isChecklistVisible = this.relevantChecklistRenewal\r\n && systemSetting\r\n && (this.license.InProcessRenewal?.IsHold || this.license.ActiveRenewal?.DomainChecklist?.length > 0);\r\n }\r\n\r\n}\r\n\r\nregisterDynamicComponent(ReachScenarios.LandingPage, LicensureLandingComponentKeys.LicenseDetail, LicenseLandingComponent, LicenseLandingComponentSelector);\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 {{license.LicenseType.Description}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{license.ReferenceValue}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{license.FacilityName}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{license.Status.Description}} {{pendingStatusChangeMessage}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{license.GrantDate | date:'MM/dd/yyyy' | whenEmpty: '-'}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{license.ExpireDate | date:'MM/dd/yyyy' | whenEmpty: '-'}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{model.CmeRequiredHoursMessage | whenEmpty: '-'}}\r\n
\r\n\r\n \r\n
\r\n \r\n {{license.CmeDueDate | date:'MM/dd/yyyy'| whenEmpty: '-'}}\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\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\n \r\n
\r\n\r\n
\r\n\r\n\r\n\r\n"],"names":[],"sourceRoot":"webpack:///"}