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AAEC,QAAS,MAC5B,IAAAC,YAAW,UAAU,IAAAC,SAAQ,kBAC7B,IAAAD,YAAW,UAAU,IAAAC,SAAQ,uB,EAbnC,E,uECJA,0B,yCAKaC,EAAc,E,mCAAdA,I,uCAFF,CAAC,EAAAC,aAAc,EAAAC,iB,EAH1B,E,gMCmBA,0B,yCAuCaC,EAAkC,E,mCAAlCA,I,wCAFA,CAAC,KAA+B,SAzBlC,CACP,EAAAD,aACA,EAAAE,YACA,EAAAH,aACA,EAAAI,oBACA,IACA,IACA,IACA,KACA,IACA,IACA,IACA,EAAAC,EACA,Q,EAzBJ,E,6DCpBA,0B,yCAKaC,EAAgC,E,mCAAhCA,I,uCAHF,CAAC,EAAAL,iB,EAFZ,E,kBCAA,IAAYM,EASAC,E,oCATZ,SAAYD,GACV,YACA,sBAEA,sBAEA,iBACD,CAPD,CAAYA,IAAAA,EAAoB,KAShC,SAAYC,GACV,sDACA,kCACA,oCACA,mCACD,CALD,CAAYA,IAAAA,EAAoB,KA2HhC,IAmDYC,EAKAC,GALZ,SAAYD,GACV,mBACA,kBACD,CAHD,CAAYA,IAAAA,EAAU,KAKtB,SAAYC,GACV,+BACA,kCACA,aACD,CAJD,CAAYA,IAAAA,EAAmB,I","sources":["webpack://@newday/servicing-main/./src/app/components/expander/expander-component.ts","webpack://@newday/servicing-main/./src/app/components/expander/expander-component.html","webpack://@newday/servicing-main/./src/app/components/form/strong-customer-authentication/authenticated-sca-options/authenticated-sca-options.service.ts","webpack://@newday/servicing-main/./src/app/components/form/strong-customer-authentication/otp-input/otp-input.component.html","webpack://@newday/servicing-main/./src/app/components/form/strong-customer-authentication/otp-input/otp-input.component.ts","webpack://@newday/servicing-main/./src/app/components/form/strong-customer-authentication/resend-countdown/resend-countdown.component.ts","webpack://@newday/servicing-main/./src/app/components/toast/toast.component.ts","webpack://@newday/servicing-main/./src/app/modules/components/expander/expander.module.ts","webpack://@newday/servicing-main/./src/app/modules/components/strong-customer-authentication/strong-customer-authentication.module.ts","webpack://@newday/servicing-main/./src/app/modules/directives/invalidInputFocusDirective/invalidInputFocusDirective.module.ts","webpack://@newday/servicing-main/./src/app/services/strong-customer-authentication/model.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter } from '@angular/core';\n\n@Component({\n selector: 'expander',\n templateUrl: './expander-component.html',\n})\nexport class ExpanderComponent {\n private readonly SPACEBAR_KEYCODE = 32;\n private readonly ENTER_KEYCODE = 13;\n\n private isExpandedValue: boolean;\n\n @Input()\n public heading: string;\n\n @Output()\n public isExpandedChange: EventEmitter = new EventEmitter();\n\n @Input()\n public get isExpanded() {\n return this.isExpandedValue;\n }\n\n public set isExpanded(value: boolean) {\n this.isExpandedValue = value;\n this.isExpandedChange.emit(this.isExpandedValue);\n }\n\n constructor() {\n this.isExpanded = true;\n }\n\n public invertExpansion(): void {\n this.isExpanded = !this.isExpanded;\n }\n\n public onKeyPress(e: KeyboardEvent): void {\n // Keycode for ENTER should not be required (the button should detect it as 'click' event)\n if (\n e.keyCode === this.SPACEBAR_KEYCODE ||\n e.keyCode === this.ENTER_KEYCODE\n ) {\n e.preventDefault();\n this.invertExpansion();\n }\n }\n}\n","

\n \n {{ heading }}\n \n

\n","import { Injectable, Inject } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport {\n IOtpResponse,\n IStepUpOtpRequest,\n OtpChannel,\n} from '../../../../services/strong-customer-authentication/model';\n\n@Injectable()\nexport class AuthenticatedScaOptionsService {\n constructor(\n private readonly http: HttpClient,\n @Inject('ORIGIN_URL') private originUrl: string\n ) {}\n\n async requestResendOTP(\n verificationToken: string,\n channel: OtpChannel\n ): Promise {\n return this.http\n .post(\n this.originUrl + '/api/StepUp/ResendOtp',\n AuthenticatedScaOptionsService.createRequest(verificationToken, channel)\n )\n .toPromise();\n }\n\n async requestSendOTP(\n verificationToken: string,\n channel: OtpChannel\n ): Promise {\n return this.http\n .post(\n this.originUrl + '/api/StepUp/SendOtp',\n AuthenticatedScaOptionsService.createRequest(verificationToken, channel)\n )\n .toPromise();\n }\n\n private static createRequest(\n verificationToken: string,\n channel: OtpChannel\n ): IStepUpOtpRequest {\n return {\n verificationToken,\n channel,\n };\n }\n}\n","
\n \n\n
\n \n {{\n requiredErrorMessage\n }}\n \n
\n
\n","import {\n AfterViewInit,\n Component,\n EventEmitter,\n Input,\n Output,\n} from '@angular/core';\nimport { FormControl, Validators } from '@angular/forms';\nimport { WindowRef } from '../../../../services/windowRef';\nimport { ConfigService } from '../../../../services/configuration.service';\n\n@Component({\n selector: 'otp-input',\n templateUrl: './otp-input.component.html',\n})\nexport class OtpInputComponent implements AfterViewInit {\n @Input()\n submitted: boolean = false;\n\n @Input()\n fieldName: string = 'code';\n\n @Input()\n requiredErrorMessage: string;\n\n @Input() ariaLabel: string;\n\n get fieldNameError(): string {\n return `${this.fieldName}Error`;\n }\n\n get fieldErrorTestId(): string {\n return `text-inline-required-${this.fieldName}`;\n }\n\n @Output()\n onChange = new EventEmitter();\n codeInput = new FormControl(\n null,\n Validators.compose([Validators.required, Validators.pattern('^[0-9]{6}$')])\n );\n isMobileView: boolean;\n\n constructor(\n private windowRef: WindowRef,\n private configService: ConfigService\n ) {}\n\n ngOnInit() {\n this.isMobileView = this.configService.Get('mobileView');\n }\n\n ngAfterViewInit() {\n this.windowRef.getElementById(this.fieldName).focus();\n }\n\n onInputChangeHandler(): void {\n this.onChange.emit(this.submit());\n }\n\n keyPress(event: KeyboardEvent) {\n // Avoid enter key being disabled\n if (event.key === 'Enter') return true;\n return /^([0-9])$/.test(event.key);\n }\n\n public submit(): string {\n return this.codeInput.value.toLocaleString();\n }\n\n public reset(): void {\n this.codeInput.setValue('');\n }\n\n public isValid(): boolean {\n return this.codeInput.valid;\n }\n\n public showError(): boolean {\n return this.requiredErrorMessage && !this.isValid() && this.submitted;\n }\n}\n","import {\n Component,\n EventEmitter,\n Input,\n Output,\n OnDestroy,\n} from '@angular/core';\nimport { AnalyticsService } from '../../../../services/analytics.service';\nimport { GTMTracking } from '../../../../enums/google-analytics-tracking';\n\n@Component({\n selector: 'resend-countdown',\n template: `\n \n

\n {{ text }}\n \n {{ resendLinkText }}\n \n

\n
0\">\n Please wait {{ secondsLeft }} second{{ secondsLeft > 1 ? 's' : '' }}\n before trying to resend\n
\n
\n `,\n})\nexport class ResendCountdownComponent implements OnDestroy {\n @Input()\n seconds: number = 60;\n @Input()\n text: string;\n @Input()\n resendLinkText: string;\n @Input()\n formName: string;\n @Output()\n onResentRequested = new EventEmitter();\n linkClicked: boolean;\n secondsLeft: number;\n\n @Input() set resendSuccessful(val: boolean) {\n if (val) {\n this.linkClicked = false;\n this.startOtpResendCountdown();\n }\n }\n\n private intervalId: number;\n\n constructor(private analyticsService: AnalyticsService) {}\n\n ngOnDestroy(): void {\n if (this.intervalId) {\n clearInterval(this.intervalId);\n }\n }\n\n resentClicked(event: Event): void {\n event.preventDefault();\n this.linkClicked = true;\n\n this.onResentRequested.emit();\n if (this.formName === 'register') {\n this.analyticsService.trackCtaActions(GTMTracking.ResendOrn);\n }\n }\n\n private startOtpResendCountdown(): void {\n this.secondsLeft = this.seconds;\n\n this.intervalId = setInterval(\n (() => {\n this.secondsLeft = this.secondsLeft - 1;\n\n if (this.secondsLeft == 0) {\n this.secondsLeft = undefined;\n clearInterval(this.intervalId);\n }\n }) as TimerHandler,\n 1000\n );\n }\n}\n","import { Component, Input, OnInit } from '@angular/core';\nimport {\n animate,\n state,\n style,\n transition,\n trigger,\n} from '@angular/animations';\n\n@Component({\n selector: 'toast',\n template: `\n
\n \n
{{ message }}
\n
\n `,\n animations: [\n trigger('animation', [\n state('void', style({ opacity: 0 })),\n state('*', style({ opacity: 1 })),\n transition(':enter', animate('0.3s ease-in')),\n transition(':leave', animate('0.3s ease-in')),\n ]),\n ],\n})\nexport class ToastComponent implements OnInit {\n @Input()\n message: string;\n show: boolean = true;\n\n ngOnInit() {\n setTimeout(() => {\n this.show = false;\n }, 5000);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { ExpanderComponent } from '../../../components/expander/expander-component';\nimport { RouterModule } from '@angular/router';\nimport { CommonModule } from '@angular/common';\n\n@NgModule({\n declarations: [ExpanderComponent],\n exports: [ExpanderComponent],\n imports: [RouterModule, CommonModule],\n})\nexport class ExpanderModule {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { RouterModule } from '@angular/router';\nimport { OtpFormControlComponent } from '../../../components/form/strong-customer-authentication/otp/otp-form-control.component';\nimport { AuthenticatedSCAOptionsComponent } from '../../../components/form/strong-customer-authentication/authenticated-sca-options/authenticated-sca-options.component';\nimport { PasscodeModule } from '../passcode/passcode.module';\nimport { CommonComponentsModule } from '../common/common.module';\nimport { LoadingModule } from '../loading/loading.module';\nimport { TextMaskModule } from 'angular2-text-mask';\nimport { ExpanderModule } from '../expander/expander.module';\nimport { OtpInputComponent } from '../../../components/form/strong-customer-authentication/otp-input/otp-input.component';\nimport { MoveFocusOnNumberInputDirective } from '../../../components/form/strong-customer-authentication/directives/moveFocusOnNumberInput.directive';\nimport { InvalidInputFocusDirectiveModule } from '../../directives/invalidInputFocusDirective/invalidInputFocusDirective.module';\nimport { ShowSecretToggleModule } from '../show-secret-toggle/show-secret-toggle.module';\nimport { CommonLoggedOutComponentsModule } from '../common-logged-out/common-logged-out.module';\nimport { ValidationMessagesModule } from '../validation-messages/validation-messages.module';\nimport { SelectOtpChannelFormComponent } from '../../../components/form/strong-customer-authentication/select-otp-channel-form/select-otp-channel-form.component';\nimport { DynamicAccountQuestionFormComponent } from '../../../components/form/strong-customer-authentication/dynamic-account-question-form/dynamic-account-question-form.component';\nimport { InputCodeFormComponent } from '../../../components/form/strong-customer-authentication/input-code-form/input-code-form.component';\nimport { ErrorSectionComponent } from '../../../components/form/strong-customer-authentication/error-section/error-section.component';\nimport { AuthenticatedScaOptionsService } from '../../../components/form/strong-customer-authentication/authenticated-sca-options/authenticated-sca-options.service';\nimport { ResendCountdownComponent } from '../../../components/form/strong-customer-authentication/resend-countdown/resend-countdown.component';\n\n@NgModule({\n declarations: [\n OtpFormControlComponent,\n AuthenticatedSCAOptionsComponent,\n OtpInputComponent,\n MoveFocusOnNumberInputDirective,\n SelectOtpChannelFormComponent,\n DynamicAccountQuestionFormComponent,\n InputCodeFormComponent,\n ErrorSectionComponent,\n ResendCountdownComponent,\n ],\n imports: [\n CommonModule,\n FormsModule,\n RouterModule,\n ReactiveFormsModule,\n CommonComponentsModule,\n PasscodeModule,\n LoadingModule,\n TextMaskModule,\n ExpanderModule,\n InvalidInputFocusDirectiveModule,\n ShowSecretToggleModule,\n CommonLoggedOutComponentsModule,\n ValidationMessagesModule,\n ],\n exports: [\n OtpFormControlComponent,\n AuthenticatedSCAOptionsComponent,\n OtpInputComponent,\n SelectOtpChannelFormComponent,\n DynamicAccountQuestionFormComponent,\n InputCodeFormComponent,\n ErrorSectionComponent,\n ResendCountdownComponent,\n ],\n providers: [AuthenticatedScaOptionsService],\n})\nexport class StrongCustomerAuthenticationModule {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { InvalidInputFocusDirective } from '../../../directives/invalidInputFocus.directive';\n\n@NgModule({\n declarations: [InvalidInputFocusDirective],\n imports: [CommonModule],\n exports: [InvalidInputFocusDirective],\n})\nexport class InvalidInputFocusDirectiveModule {}\n","import { PasscodeChallenge, PasscodeDigit } from '../authentication.service';\nimport { ActivateCardsRequest } from '../../models/card-activation';\nimport { JourneyType } from '../../models/journey-type';\n\nexport enum AuthenticationFactor {\n OTP = 'OTP',\n Passcode = 'Passcode',\n // @deprecated\n EmailOTP = 'EmailOTP',\n // @deprecated\n SMSOTP = 'SMSOTP',\n}\n\nexport enum SecurityQuestionType {\n PreviousStatementBalance = 'PreviousStatementBalance',\n LastPaymentDue = 'LastPaymentDue',\n LastPaymentMade = 'LastPaymentMade',\n LastTransaction = 'LastTransaction',\n}\n\nexport interface AskForAuthorizationResponse {\n isSuccessful: boolean;\n errors: Map;\n signatureForRequestAndIsSuccessfulFlag: string;\n}\n\nexport interface StepUpModel {\n passcodeDigits: PasscodeDigit[];\n otpValue?: string;\n verificationToken: string;\n}\n\nexport interface ResendOTPResponse {\n isSuccessful: boolean;\n anyRetriesLeft: boolean;\n}\n\nexport interface IOTPRequestBuilder {\n isResend: boolean;\n}\n\nexport interface IOtpResponse {\n canResend: boolean;\n verificationToken: string;\n}\n\nexport interface IStepUpResult {\n isSuccess: boolean;\n accountLocked: boolean;\n remainingAttempts: number;\n}\n\nexport interface IStepUpResponse {\n stepUpResult: IStepUpResult;\n actionResult: TActionResult;\n}\n\nexport interface IScaChallenge {\n passcodeChallenge: PasscodeChallenge;\n isOtpRequired: boolean;\n canResend: boolean;\n verificationToken: string;\n}\n\nexport interface IScaRequest {\n stepUpModel?: StepUpModel;\n}\n\nexport interface IStepUpOtpRequest {\n verificationToken: string;\n channel: OtpChannel;\n}\n\nexport interface IUsernameValidationRequest {\n username: string;\n}\n\nexport interface IValidationResponse {\n result: boolean;\n error?: string;\n}\n\nexport interface IRegisterAccountRequest {\n email: string;\n emailUpdated: boolean;\n username: string;\n password: string;\n passcode: string;\n token: string;\n}\n\nexport interface IUserAccountDetails {\n lastName: string;\n postcode: string;\n cardNumber: string;\n cardExpiry: string;\n useAccountNumber: boolean;\n accountNumber: string;\n journey: JourneyType;\n}\n\nexport interface IRegistrationDetailsResponse {\n isScaRequired: boolean;\n isTextOtpPossible: boolean;\n isCallOtpPossible: boolean;\n isEmailPossible: boolean;\n mobilePhone: string;\n homePhone: string;\n email: string;\n verificationToken: string;\n}\n\nexport interface IRegistrationCodeAndOtpRequest {\n codeValue: string;\n otpValue: string;\n verificationToken: string;\n}\n\nexport interface ISecurityQuestionAndOtpRequest {\n answerId: string;\n otpValue: string;\n verificationToken: string;\n}\n\nexport interface IRegistrationScaResponse {\n isSuccess: boolean;\n accountLocked: boolean;\n remainingAttempts: number;\n email: string;\n verificationToken: string;\n}\n\nexport interface IActivateCardsScaRequest extends ActivateCardsRequest {\n verificationToken: string;\n}\n\nexport class ISendOtpRequest {\n channel: OtpChannel;\n verificationToken: string;\n}\n\nexport class IResendOtpRequest {\n verificationToken: string;\n}\n\nexport class IOtpChallenge {\n canResend: boolean;\n verificationToken: string;\n}\n\nexport interface ISecurityQuestionAndOtpRequest {\n answerId: string;\n otpValue: string;\n verificationToken: string;\n}\n\nexport interface IGetSecurityQuestionRequest {\n verificationToken: string;\n}\n\nexport interface ISkipSecurityQuestionRequest {\n verificationToken: string;\n}\n\nexport interface IResendRegistrationCodeRequest {\n verificationToken: string;\n}\n\nexport interface IResendRegistrationCodeResponse {\n verificationToken: string;\n obfuscatedEmail: string;\n canResend: boolean;\n}\n\nexport interface ISecurityQuestionAnswer {\n id: string;\n value: string;\n}\n\nexport interface IGetSecurityQuestionResponse {\n isGenerated: boolean;\n question: SecurityQuestionType;\n paymentDate: Date;\n answers: ISecurityQuestionAnswer[];\n verificationToken: string;\n}\n\nexport enum OtpChannel {\n Text,\n Call,\n}\n\nexport enum AuthenticationLevel {\n PartialBound = 'partial_bound',\n PartialStepUp = 'partial_step_up',\n Full = 'full',\n}\n"],"names":["SPACEBAR_KEYCODE","ENTER_KEYCODE","isExpandedChange","EventEmitter","this","isExpanded","isExpandedValue","value","emit","invertExpansion","onKeyPress","e","keyCode","preventDefault","ExpanderComponent","http","originUrl","requestResendOTP","verificationToken","channel","post","AuthenticatedScaOptionsService","createRequest","toPromise","requestSendOTP","windowRef","configService","submitted","fieldName","onChange","codeInput","FormControl","Validators","ngOnInit","isMobileView","Get","ngAfterViewInit","getElementById","focus","onInputChangeHandler","submit","keyPress","event","key","test","toLocaleString","reset","setValue","isValid","valid","showError","requiredErrorMessage","OtpInputComponent","analyticsService","seconds","onResentRequested","val","linkClicked","startOtpResendCountdown","ngOnDestroy","intervalId","clearInterval","resentClicked","formName","trackCtaActions","secondsLeft","setInterval","undefined","ResendCountdownComponent","show","setTimeout","ToastComponent","trigger","state","style","opacity","transition","animate","ExpanderModule","RouterModule","CommonModule","StrongCustomerAuthenticationModule","FormsModule","ReactiveFormsModule","C","InvalidInputFocusDirectiveModule","AuthenticationFactor","SecurityQuestionType","OtpChannel","AuthenticationLevel"],"sourceRoot":""}