@hmcts/ccpay-web-component 5.0.1-beta123 → 5.0.1-beta125

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +192 -841
  2. package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
  3. package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
  4. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-ccpay-web-component.js +33 -34
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +67 -390
  7. package/esm2015/lib/components/case-transactions/case-transactions.component.js +5 -32
  8. package/esm2015/lib/components/contact-details/contact-details.component.js +41 -18
  9. package/esm2015/lib/components/fee-summary/fee-summary.component.js +3 -1
  10. package/esm2015/lib/components/payment-view/payment-view.component.js +4 -6
  11. package/esm2015/lib/components/process-refund/process-refund.component.js +3 -8
  12. package/esm2015/lib/components/refund-status/refund-status.component.js +10 -6
  13. package/esm2015/lib/components/service-request/service-request.component.js +9 -28
  14. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +2 -1
  15. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +4 -16
  16. package/esm2015/lib/payment-lib.component.js +4 -6
  17. package/esm2015/lib/payment-lib.module.js +3 -3
  18. package/esm2015/lib/services/payment-view/payment-view.service.js +1 -29
  19. package/esm2015/lib/services/refunds/refunds.service.js +3 -16
  20. package/esm2015/lib/services/shared/error-handler.service.js +10 -19
  21. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +3 -16
  22. package/esm5/hmcts-ccpay-web-component.js +33 -34
  23. package/esm5/lib/components/add-remission/add-remission.component.js +77 -476
  24. package/esm5/lib/components/case-transactions/case-transactions.component.js +5 -38
  25. package/esm5/lib/components/contact-details/contact-details.component.js +42 -18
  26. package/esm5/lib/components/fee-summary/fee-summary.component.js +3 -1
  27. package/esm5/lib/components/payment-view/payment-view.component.js +4 -6
  28. package/esm5/lib/components/process-refund/process-refund.component.js +3 -8
  29. package/esm5/lib/components/refund-status/refund-status.component.js +12 -7
  30. package/esm5/lib/components/service-request/service-request.component.js +9 -32
  31. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +2 -1
  32. package/esm5/lib/interfaces/PostRefundRetroRemission.js +3 -12
  33. package/esm5/lib/payment-lib.component.js +3 -4
  34. package/esm5/lib/payment-lib.module.js +3 -3
  35. package/esm5/lib/services/payment-view/payment-view.service.js +1 -42
  36. package/esm5/lib/services/refunds/refunds.service.js +3 -16
  37. package/esm5/lib/services/shared/error-handler.service.js +10 -19
  38. package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +3 -16
  39. package/fesm2015/hmcts-ccpay-web-component.js +150 -719
  40. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  41. package/fesm5/hmcts-ccpay-web-component.js +160 -833
  42. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  43. package/hmcts-ccpay-web-component.d.ts +32 -33
  44. package/hmcts-ccpay-web-component.metadata.json +1 -1
  45. package/lib/components/add-remission/add-remission.component.d.ts +5 -26
  46. package/lib/components/case-transactions/case-transactions.component.d.ts +0 -5
  47. package/lib/components/contact-details/contact-details.component.d.ts +2 -1
  48. package/lib/components/payment-view/payment-view.component.d.ts +0 -1
  49. package/lib/components/process-refund/process-refund.component.d.ts +0 -1
  50. package/lib/components/refund-status/refund-status.component.d.ts +3 -3
  51. package/lib/components/service-request/service-request.component.d.ts +0 -2
  52. package/lib/interfaces/PostRefundRetroRemission.d.ts +2 -5
  53. package/lib/payment-lib.component.d.ts +0 -2
  54. package/lib/services/payment-view/payment-view.service.d.ts +0 -5
  55. package/package.json +1 -1
  56. package/esm2015/lib/components/pba-payment/pba-payment.component.js +0 -205
  57. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +0 -23
  58. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +0 -28
  59. package/esm5/lib/components/pba-payment/pba-payment.component.js +0 -222
  60. package/esm5/lib/interfaces/IserviceRequestCardPayment.js +0 -22
  61. package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +0 -25
  62. package/lib/components/pba-payment/pba-payment.component.d.ts +0 -28
  63. package/lib/interfaces/IserviceRequestCardPayment.d.ts +0 -6
  64. package/lib/interfaces/IserviceRequestPbaPayment.d.ts +0 -7
@@ -1,5 +1,5 @@
1
1
  import { OnInit, EventEmitter } from '@angular/core';
2
- import { FormBuilder, FormGroup, FormArray } from '@angular/forms';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { IFee } from '../../interfaces/IFee';
4
4
  import { Router } from '@angular/router';
5
5
  import { PaymentViewService } from '../../services/payment-view/payment-view.service';
@@ -11,7 +11,6 @@ import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
11
11
  import { ChangeDetectorRef } from '@angular/core';
12
12
  import { IRemission } from '../../interfaces/IRemission';
13
13
  import { OrderslistService } from '../../services/orderslist.service';
14
- import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
15
14
  export declare class AddRemissionComponent implements OnInit {
16
15
  private formBuilder;
17
16
  private router;
@@ -21,7 +20,6 @@ export declare class AddRemissionComponent implements OnInit {
21
20
  private cd;
22
21
  private OrderslistService;
23
22
  fee: IFee;
24
- fees: any[];
25
23
  payment: IPayment;
26
24
  remission: IRemission;
27
25
  ccdCaseNumber: string;
@@ -64,6 +62,7 @@ export declare class AddRemissionComponent implements OnInit {
64
62
  };
65
63
  };
66
64
  contactDetailsObj: IRefundContactDetails;
65
+ notification: any;
67
66
  remissionForm: FormGroup;
68
67
  hasErrors: boolean;
69
68
  viewStatus: string;
@@ -93,7 +92,6 @@ export declare class AddRemissionComponent implements OnInit {
93
92
  isPaymentSuccess: boolean;
94
93
  isRemissionApplied: boolean;
95
94
  remissionamt: number;
96
- elementId: any;
97
95
  commonRefundReasons: any[];
98
96
  showReasonText: boolean;
99
97
  isRefundReasonsSelected: boolean;
@@ -104,17 +102,6 @@ export declare class AddRemissionComponent implements OnInit {
104
102
  pattern2: string;
105
103
  sendOrderDetail: any[];
106
104
  sendOrderRef: string;
107
- paymentReference: string;
108
- class: string;
109
- errorMsg: any[];
110
- totalRefundAmount: number;
111
- quantityUpdated: number;
112
- fullRefund: boolean;
113
- allowedRefundAmount: number;
114
- isRemissionsMatch: boolean;
115
- paymentFees: IFee[];
116
- paymentGroup: IPaymentGroup;
117
- isStatusAllocated: boolean;
118
105
  component: {
119
106
  account_number: string;
120
107
  amount: number;
@@ -136,10 +123,6 @@ export declare class AddRemissionComponent implements OnInit {
136
123
  };
137
124
  constructor(formBuilder: FormBuilder, router: Router, paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, refundService: RefundsService, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
138
125
  ngOnInit(): void;
139
- refundFeesList(): void;
140
- readonly feesList: FormArray;
141
- noneSelected(): boolean;
142
- check_en(v1: any): void;
143
126
  addRemission(): void;
144
127
  confirmRemission(): void;
145
128
  resetRemissionForm(val: any, field: any): void;
@@ -148,18 +131,15 @@ export declare class AddRemissionComponent implements OnInit {
148
131
  gotoCheckRetroRemissionPage(payment: IPayment): void;
149
132
  gotoAmountRetroRemission(): void;
150
133
  gotoProcessRetroRemissionPage(): void;
151
- gotoProcessRetroRemission(): void;
134
+ gotoProcessRetroRemission(note?: IRefundContactDetails): void;
152
135
  confirmRetroRemission(): void;
153
136
  processRefund(): void;
154
137
  gotoIssueRefundConfirmation(payment: IPayment): void;
155
138
  gotoIssueRefundPage(): void;
156
- gotoIssuePage(): void;
157
- calAmtToRefund(event: any, amount: any, index: number): void;
158
- gotoContactDetailsPage(): void;
159
- getRefundReasons(): void;
160
- getErrorClass(elementId: any): void;
139
+ gotoContactDetailsPage(note?: IRefundContactDetails): void;
161
140
  changeIssueRefundReason(): void;
162
141
  confirmIssueRefund(): void;
142
+ confirmRetroRefund(): void;
163
143
  selectRadioButton(key: any, value: any): void;
164
144
  selectchange(args: any): void;
165
145
  getContactDetails(obj: IRefundContactDetails, type: any): void;
@@ -169,6 +149,5 @@ export declare class AddRemissionComponent implements OnInit {
169
149
  gotoCasetransationPage(): void;
170
150
  gotoCasetransationPageCancelBtnClicked(event: Event): void;
171
151
  resetOrderData(): void;
172
- changeRefundAmount(): void;
173
152
  getFormattedCurrency(currency: number): string | number;
174
153
  }
@@ -67,7 +67,6 @@ export declare class CaseTransactionsComponent implements OnInit {
67
67
  isAddRemissionEnable: boolean;
68
68
  orderRemissionDetails: any[];
69
69
  orderLevelFees: IOrderReferenceFee[];
70
- ispaymentGroupApisuccess: boolean;
71
70
  cpoDetails: any;
72
71
  orderRef: string;
73
72
  orderStatus: string;
@@ -87,8 +86,6 @@ export declare class CaseTransactionsComponent implements OnInit {
87
86
  isAddRemissionBtnEnabled: boolean;
88
87
  isRefundRemissionBtnEnable: boolean;
89
88
  allowedRolesToAccessRefund: string[];
90
- isEligible4PBAPayment: string[];
91
- currentDate: Date;
92
89
  isFromServiceRequestPage: boolean;
93
90
  navigationpage: string;
94
91
  remissionFeeAmt: number;
@@ -125,7 +122,5 @@ export declare class CaseTransactionsComponent implements OnInit {
125
122
  chkIssueRefundBtnEnable(payment: IPayment): boolean;
126
123
  chkIsRefundRemissionBtnEnable(): boolean;
127
124
  check4AllowedRoles2AccessRefund: () => boolean;
128
- check4AllowedRoles2AccessPBApayment: () => boolean;
129
125
  allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
130
- loadPBAAccountPage(orderRef: IPayment): void;
131
126
  }
@@ -19,6 +19,7 @@ export declare class ContactDetailsComponent implements OnInit {
19
19
  postCodeForm: FormGroup;
20
20
  manualAddressForm: FormGroup;
21
21
  addressPostcodeList: any[];
22
+ postcodeAddress: any;
22
23
  isEmailEmpty: boolean;
23
24
  emailHasError: boolean;
24
25
  isPostcodeEmpty: boolean;
@@ -38,7 +39,7 @@ export declare class ContactDetailsComponent implements OnInit {
38
39
  setEditDetails(): void;
39
40
  selectContactOption(type: any, isLinkedClied: any): void;
40
41
  finalFormSubmit(): void;
41
- postcodeValidation(): void;
42
+ postcodeValidation(str: any): void;
42
43
  redirection(event: any): void;
43
44
  resetForm(val: any, field: any): void;
44
45
  }
@@ -48,7 +48,6 @@ export declare class PaymentViewComponent implements OnInit {
48
48
  serviceReference: string;
49
49
  isFromServiceRequestPage: boolean;
50
50
  isFromPaymentDetailPage: boolean;
51
- paymentFees: IFee[];
52
51
  constructor(paymentViewService: PaymentViewService, paymentLibComponent: PaymentLibComponent, cd: ChangeDetectorRef, OrderslistService: OrderslistService);
53
52
  ngAfterContentChecked(): void;
54
53
  ngOnInit(): void;
@@ -43,7 +43,6 @@ export declare class ProcessRefundComponent implements OnInit {
43
43
  successMsg: string;
44
44
  navigationpage: string;
45
45
  ccdCaseNumber: string;
46
- isFromRefundListPage: boolean;
47
46
  cpoDetails: any;
48
47
  isCPODown: boolean;
49
48
  isConfirmButtondisabled: boolean;
@@ -24,7 +24,7 @@ export declare class RefundStatusComponent implements OnInit {
24
24
  selectedRefundReason: string;
25
25
  rejectedRefundList: IRefundList[];
26
26
  notificationList: IRefundsNotifications;
27
- notification: IRefundsNotifications;
27
+ notification: any;
28
28
  approvalStatus: string;
29
29
  rejectStatus: string;
30
30
  errorMessage: any;
@@ -77,9 +77,9 @@ export declare class RefundStatusComponent implements OnInit {
77
77
  gotoReviewRefundConfirmationPage(): void;
78
78
  gotoEditAddressDetails(note: IRefundsNotifications): void;
79
79
  getContactDetails(obj: IRefundContactDetails): void;
80
- gotoEditDetailsPage(): void;
80
+ gotoEditDetailsPage(note?: any): void;
81
81
  submitEditDetail(): void;
82
82
  putResend(notification: IRefundsNotifications): void;
83
- gotoCasetransationPageCancelBtnClicked(obj: any): void;
83
+ gotoCasetransationPageCancelBtnClicked(Event: Event): void;
84
84
  goToRefundProcessComponent(refundReference: string, refundList: IRefundList): void;
85
85
  }
@@ -27,7 +27,6 @@ export declare class ServiceRequestComponent implements OnInit {
27
27
  orderRemissionTotal: number;
28
28
  takePayment: boolean;
29
29
  ccdCaseNumber: boolean;
30
- isServiceRequest: string;
31
30
  servicerequest: string;
32
31
  excReference: string;
33
32
  paymentGroups: any[];
@@ -98,7 +97,6 @@ export declare class ServiceRequestComponent implements OnInit {
98
97
  check4AllowedRoles2AccessRefund: () => boolean;
99
98
  allowFurtherAccessAfter4Days: (payment: IPayment) => boolean;
100
99
  issueRefund(payment: IPayment): void;
101
- goToServiceRequestPage(event: any): void;
102
100
  goToPayementView(paymentGroupReference: string, paymentReference: string, paymentMethod: string): void;
103
101
  goToPaymentViewComponent(paymentGroup: any): void;
104
102
  resetOrderData(): void;
@@ -1,10 +1,7 @@
1
- import { IRefundContactDetails } from "./IRefundContactDetails";
1
+ import { IRefundContactDetails } from './IRefundContactDetails';
2
2
  export declare class PostRefundRetroRemission {
3
- ccd_case_number: string;
4
3
  payment_reference: string;
5
4
  refund_reason: string;
6
- refund_amount: any;
7
- fees: any[];
8
5
  contact_details: IRefundContactDetails;
9
- constructor(ccd_case_number: string, payment_reference: string, refund_reason: string, refund_amount: any, fees: any[], contact_details: any);
6
+ constructor(payment_reference: string, refund_reason: string, contactDeatils: any);
10
7
  }
@@ -2,7 +2,6 @@ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { PaymentLibService } from './payment-lib.service';
3
3
  import { IBSPayments } from './interfaces/IBSPayments';
4
4
  import { OrderslistService } from './services/orderslist.service';
5
- import { IPayment } from './interfaces/IPayment';
6
5
  export declare class PaymentLibComponent implements OnInit {
7
6
  private paymentLibService;
8
7
  private cd;
@@ -52,7 +51,6 @@ export declare class PaymentLibComponent implements OnInit {
52
51
  isFromRefundStatusPage: boolean;
53
52
  iscancelClicked: boolean;
54
53
  isFromPaymentDetailPage: boolean;
55
- pbaPayOrderRef: IPayment;
56
54
  isTakePayment: boolean;
57
55
  orderDetail: any[];
58
56
  orderRef: string;
@@ -15,8 +15,6 @@ import { AllocatePaymentRequest } from '../../interfaces/AllocatePaymentRequest'
15
15
  import { IAllocationPaymentsRequest } from '../../interfaces/IAllocationPaymentsRequest';
16
16
  import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
17
17
  import { BehaviorSubject } from 'rxjs';
18
- import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPayment';
19
- import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
20
18
  import { AddRetroRemissionRequest } from '../../interfaces/AddRetroRemissionRequest';
21
19
  import { PostRefundRetroRemission } from '../../interfaces/PostRefundRetroRemission';
22
20
  import { PostIssueRefundRetroRemission } from '../../interfaces/PostIssueRefundRetroRemission';
@@ -32,9 +30,6 @@ export declare class PaymentViewService {
32
30
  getPaymentDetails(paymentReference: string, paymentMethod: string): Observable<IPayment>;
33
31
  getPaymentGroupDetails(paymentGroupReference: string): Observable<IPaymentGroup>;
34
32
  getApportionPaymentDetails(paymentReference: string): Observable<IPaymentGroup>;
35
- getPBAaccountDetails(): Observable<any>;
36
- postWays2PayCardPayment(serviceRef: string, body: IserviceRequestCardPayment): Observable<any>;
37
- postPBAaccountPayment(serviceRef: string, body: IserviceRequestPbaPayment): Observable<any>;
38
33
  postBSPayments(body: AllocatePaymentRequest): Observable<any>;
39
34
  postBSUnidentifiedPayments(body: UnidentifiedPaymentsRequest): Observable<any>;
40
35
  postBSUnsolicitedPayments(body: UnsolicitedPaymentsRequest): Observable<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "5.0.1-beta123",
3
+ "version": "5.0.1-beta125",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,205 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- import { Component, Input } from '@angular/core';
6
- import { PaymentViewService } from '../../services/payment-view/payment-view.service';
7
- import { PaymentLibComponent } from '../../payment-lib.component';
8
- import { IserviceRequestCardPayment } from '../../interfaces/IserviceRequestCardPayment';
9
- import { IserviceRequestPbaPayment } from '../../interfaces/IserviceRequestPbaPayment';
10
- /** @type {?} */
11
- const BS_ENABLE_FLAG = 'bulk-scan-enabling-fe';
12
- export class PbaPaymentComponent {
13
- /**
14
- * @param {?} paymentLibComponent
15
- * @param {?} paymentViewService
16
- */
17
- constructor(paymentLibComponent, paymentViewService) {
18
- this.paymentLibComponent = paymentLibComponent;
19
- this.paymentViewService = paymentViewService;
20
- this.isPBAAccountHold = false;
21
- this.isCardPaymentSuccess = true;
22
- this.isInSufficiantFund = false;
23
- this.isPBAAccountNotExist = false;
24
- this.isPBAServerError = false;
25
- this.isGetPBAAccountSucceed = false;
26
- this.selectedPbaAccount = '';
27
- this.pbaAccountRef = '';
28
- this.isContinueButtondisabled = true;
29
- this.isPBAAccountPaymentSuccess = false;
30
- }
31
- /**
32
- * @return {?}
33
- */
34
- ngOnInit() {
35
- this.pbaPayOrderRef = this.paymentLibComponent.pbaPayOrderRef;
36
- this.viewStatus = 'pba-payment';
37
- this.errorMsg = null;
38
- this.paymentViewService.getPBAaccountDetails()
39
- .subscribe((/**
40
- * @param {?} result
41
- * @return {?}
42
- */
43
- result => {
44
- this.isGetPBAAccountSucceed = true;
45
- this.pbaAccountList = result.organisationEntityResponse.paymentAccount;
46
- }), (/**
47
- * @param {?} error
48
- * @return {?}
49
- */
50
- error => {
51
- this.errorMsg = error;
52
- }));
53
- }
54
- /**
55
- * @param {?} args
56
- * @return {?}
57
- */
58
- selectpbaaccount(args) {
59
- if (args.currentTarget.id === 'pbaAccountNumber') {
60
- this.selectedPbaAccount = args.target.value;
61
- }
62
- if (args.currentTarget.id === 'pbaAccountRef') {
63
- this.pbaAccountRef = args.target.value;
64
- }
65
- if (this.selectedPbaAccount !== '' && this.pbaAccountRef !== "") {
66
- this.isContinueButtondisabled = false;
67
- }
68
- else {
69
- this.isContinueButtondisabled = true;
70
- }
71
- }
72
- /**
73
- * @return {?}
74
- */
75
- saveAndContinue() {
76
- this.isInSufficiantFund = false;
77
- this.isPBAAccountNotExist = false;
78
- this.isPBAServerError = false;
79
- this.isPBAAccountPaymentSuccess = false;
80
- if (this.pbaAccountList.indexOf(this.selectedPbaAccount) !== -1) {
81
- /** @type {?} */
82
- const requestBody = new IserviceRequestPbaPayment(this.selectedPbaAccount, this.pbaPayOrderRef.orderTotalFees, this.pbaAccountRef);
83
- this.paymentViewService.postPBAaccountPayment(this.pbaPayOrderRef.orderRefId, requestBody)
84
- .subscribe((/**
85
- * @param {?} r
86
- * @return {?}
87
- */
88
- r => {
89
- this.pbaAccountrPaymentResult = JSON.parse(r).data;
90
- this.isPBAAccountPaymentSuccess = true;
91
- }), (/**
92
- * @param {?} e
93
- * @return {?}
94
- */
95
- e => {
96
- if (e.status == '402') {
97
- this.isInSufficiantFund = true;
98
- }
99
- else if (e.status == '410') {
100
- this.isPBAAccountNotExist = true;
101
- }
102
- else if (e.status == '412') {
103
- this.isPBAAccountHold = true;
104
- }
105
- else {
106
- this.isPBAServerError = true;
107
- }
108
- }));
109
- }
110
- else {
111
- this.isPBAServerError = true;
112
- }
113
- }
114
- /**
115
- * @return {?}
116
- */
117
- cardPayment() {
118
- this.isCardPaymentSuccess = true;
119
- /** @type {?} */
120
- const requestBody = new IserviceRequestCardPayment(this.pbaPayOrderRef.orderTotalFees);
121
- this.paymentViewService.postWays2PayCardPayment(this.pbaPayOrderRef.orderRefId, requestBody)
122
- .subscribe((/**
123
- * @param {?} result
124
- * @return {?}
125
- */
126
- result => {
127
- /** @type {?} */
128
- const paymentUrl = JSON.parse(result).next_url;
129
- window.location.href = paymentUrl;
130
- }), (/**
131
- * @param {?} error
132
- * @return {?}
133
- */
134
- error => {
135
- this.isCardPaymentSuccess = false;
136
- }));
137
- }
138
- /**
139
- * @return {?}
140
- */
141
- gotoCasetransationPage() {
142
- this.paymentLibComponent.viewName = 'case-transactions';
143
- this.paymentLibComponent.TAKEPAYMENT = false;
144
- this.paymentLibComponent.ISBSENABLE = true;
145
- this.paymentLibComponent.isFromServiceRequestPage = true;
146
- }
147
- }
148
- PbaPaymentComponent.decorators = [
149
- { type: Component, args: [{
150
- selector: 'ccpay-pba-payment',
151
- template: "<ng-container *ngIf=\"viewStatus === 'pba-payment'\">\n\n <div class=\"govuk-breadcrumbs\" *ngIf=\"!errorMsg && !isPBAAccountPaymentSuccess && !isCardPaymentSuccess\">\n <ol class=\"govuk-breadcrumbs__list\">\n <li class=\"govuk-breadcrumbs__list-item\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\" class=\"govuk-back-link pba-payments-16-font\">Back</a>\n </li>\n </ol>\n </div>\n <div class=\"pba-payment\" *ngIf=\"(pbaAccountList?.length > 0 || errorMsg) && !isInSufficiantFund && !isPBAAccountNotExist && !isPBAServerError && !isPBAAccountPaymentSuccess && isCardPaymentSuccess\">\n \n <div *ngIf=\"errorMsg\" class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\" >\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account cannot be found.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you know your organisation has a PBA, try again.\n </li>\n <li class=\"pba-payments-error-16-font\">\n You can also pay by credit or debit card.\n </li>\n </ul>\n </div>\n </div>\n <h1 class=\"heading-medium margin-top-10-px\">Pay fee using Payment by Account (PBA)</h1>\n <div class=\"govuk-form-group\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\">\n Amount to pay \n </label>\n <span class=\"pba-payments-19-font\">{{pbaPayOrderRef.orderTotalFees | currency :'GBP':'symbol':'1.2-2'}}</span>\n </div>\n\n <div class=\"govuk-form-group pba-payments-select-box--size\" *ngIf=\"!errorMsg\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-19-font\" for=\"pbaAccountNumber\">\n Select a PBA \n </label>\n <select class=\"form-control short-input\" id=\"pbaAccountNumber\" (change)=\"selectpbaaccount($event)\">\n <option value=\"\" selected='selected'>Select option</option>\n <option *ngFor=\"let pbaAccount of pbaAccountList;\" value=\"{{pbaAccount}}\">{{pbaAccount}}</option>\n </select>\n </div>\n <div class=\"govuk-form-group\" *ngIf=\"!errorMsg && selectedPbaAccount\">\n <label class=\"govuk-label pba-payments-govuk__label pba-payments-24-font\" for=\"pbaAccountNumber\">\n Enter a reference for your PBA account statements \n </label>\n <div id=\"event-name-hint\" class=\"govuk-hint pba-payments-19-font pba-payment-width\">\n This should be your own unique reference to identify the case. It will appear on your statements.\n </div>\n <input class=\"govuk-input pba-payments-ref-box--size pba-payments-19-font\" id=\"pbaAccountRef\" (change)=\"selectpbaaccount($event)\" name=\"pbaAccountRef\" type=\"text\" aria-describedby=\"pbaAccountRef-hint\">\n </div>\n <div class=\"govuk-button--group\" *ngIf=\"errorMsg\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n <div class=\"govuk-button--group\" *ngIf=\"!errorMsg\">\n <button type=\"submit\" [disabled]=\"isContinueButtondisabled\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"saveAndContinue()\">\n Continue\n </button>\n </div>\n </div>\n<ng-container *ngIf=\"pbaAccountList?.length <= 0 && !errorMsg && isGetPBAAccountSucceed && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-warning-text\">\n <span class=\"govuk-warning-text__icon\" aria-hidden=\"true\">!</span>\n <strong class=\"govuk-warning-text__text\">\n <span class=\"govuk-warning-text__assistive\">Warning</span>\n <h2 class=\"warning-heading-m\">You don\u2019t have a registered PBA.</h2>\n </strong>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Pay by credit or debit card</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n We recommend that you apply to get a new PBA to pay for fees.\n </p>\n <p class=\"govuk-bod ypba-payments-19-font\">\n you can also pay by credit or debit card if you need to pay now\n </p>\n <p class=\"govuk-body\">\n <button type=\"submit\" (click)=\"cardPayment()\" class=\"button pba-payments-19-font pba-payments-20-margin\">\n Pay by card\n </button>\n </p>\n \n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Register an existing PBA with MyHMCTS</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You may find it easier in future to pay by PBA, your organisation administrator will need to \n email <a href=\"mailto: MyHMCTSsupport@justice.gov.uk\">MyHMCTSsupport@justice.gov.uk</a> to ask for your PBA to be registered with your \n MyHMCTS account. You should include your organisation name and PBA number.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n It can then take up to 3 days for your account to be updated. You\u2019ll need to start your claim \n again to pay the fee.\n </p>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Apply to get a new PBA </h2>\n <p class=\"govuk-body pba-payments-19-font\">\n You\u2019ll need to provide details for you and your organisation, including the required credit\n limit for your account.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Once your account has been registered, you\u2019ll need to start your claim again to pay the fee.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n Read more information on <a target=\"_blank\" href=\"https://www.gov.uk/guidance/hmcts-payment-by-account-for-online-services\">registering for PBA</a>.\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isInSufficiantFund && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n You don't have enough funds in your PBA account to pay for this fee.\n </li>\n <li class=\"pba-payments-error-16-font\">\n If you have already topped up your PBA account, wait up to 24 hours for the new balance to become available.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAAccountNotExist && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account ({{selectedPbaAccount}}) no longer exists.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font govuk-body-width\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAAccountHold && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-error-summary pba-payments-error-box--size\" aria-labelledby=\"error-summary-title\">\n <h2 class=\"govuk-error-summary__title govuk-error-summary__title-custom pba-payments-24-font\" id=\"error-summary-title\">\n There is a problem\n </h2>\n <div class=\"govuk-error-summary__body\">\n <ul class=\"govuk-list govuk-error-summary__list\">\n <li class=\"pba-payments-error-16-font\">\n Your PBA account ({{selectedPbaAccount}}) has been put on hold.\n </li>\n </ul>\n </div>\n </div>\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"heading-medium\">Should you need any further advice</h2>\n <p class=\"govuk-body pba-payments-19-font govuk-body-width\">\n Email <a href=\"mailto:MiddleOffice.DDservices@liberata.com\">MiddleOffice.DDservices@liberata.com</a> or call <a href=\"tel:01633-652-125\">01633 652 125</a> (option 3) to try to fix the issue.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n<ng-container *ngIf=\"isPBAServerError && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"pba-payments-heading-lg\">Sorry, there is a problem with the service</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Try again later.\n </p>\n <p class=\"govuk-body pba-payments-19-font\">\n you can also pay by credit or debit card.\n </p>\n <div class=\"govuk-button--group\">\n <button type=\"button\" class=\"button pba-payments-19-font govuk-button--secondary pba-payments-margin-10\" (click)=\"gotoCasetransationPage()\">\n View Service Request\n </button>\n <button type=\"submit\" class=\"button pba-payments-19-font pba-payments-20-margin\" (click)=\"cardPayment()\">\n Pay by card\n </button>\n </div>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"isPBAAccountPaymentSuccess && isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"govuk-panel govuk-panel--confirmation pba-payments--confirmation\">\n <h1 class=\"govuk-panel__title pba-payments--title\">\n Payment successful\n </h1>\n <div class=\"govuk-panel__body pba-payments__body\">\n Your payment reference is <br><strong>{{pbaAccountrPaymentResult.payment_reference}}</strong>\n </div>\n </div>\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </main>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"!isCardPaymentSuccess\">\n <div class=\"govuk-width-container\">\n <main class=\"govuk-main-wrapper govuk-main-wrapper--l\" id=\"main-content\" role=\"main\">\n <div class=\"govuk-grid-row\">\n <div class=\"pba-payments-margin-top-10\">\n <h2 class=\"pba-payments-heading-lg\">Sorry, there is a problem with the service</h2>\n <p class=\"govuk-body pba-payments-19-font\">\n Try again later.\n </p>\n <!-- <p class=\"govuk-body pba-payments-19-font\">\n you can also <a href=\"javascript:void(0)\" (click)=\"cardPayment()\" >pay by credit or debit card</a>.\n </p> -->\n <p class=\"govuk-body pba-payments-19-font\">\n <a href=\"javascript:void(0)\" (click)=\"gotoCasetransationPage()\">View service requests</a>\n </p>\n </div>\n </div>\n </main>\n </div>\n</ng-container>\n</ng-container>\n\n\n\n",
152
- styles: [".pba-payments-govuk__label{font-weight:700;line-height:1.31578947}.pba-payments-19-font{font-size:19px}.pba-payments-16-font{font-size:16px}.pba-payments-24-font{font-size:24px}.pba-payments-20-margin{margin-bottom:20px}.pba-payments-select-box--size{width:40%}.pba-payments-error-box--size{width:80%}.pba-payments-ref-box--size{width:60%}.pba-payments-error-16-font{font-size:16px;line-height:34px}.pba-payments-margin-10{margin-right:10px}.pba-payments-margin-top-10{margin-top:15px}.pba-payments-heading-lg{font-size:40px;font-weight:700;line-height:72px}.pba-payments--confirmation{background:#00703c!important}.pba-payments__body{font-size:36px!important}.pba-payments--title{font-size:48px!important}.warning-heading-m{font-size:29px;font-weight:700}.pba-payment-width{width:75%}.margin-top-10-px{margin-top:10px}.govuk-error-summary:focus{outline:#fd0 solid 3px}.govuk-body-width{width:750px}"]
153
- }] }
154
- ];
155
- /** @nocollapse */
156
- PbaPaymentComponent.ctorParameters = () => [
157
- { type: PaymentLibComponent },
158
- { type: PaymentViewService }
159
- ];
160
- PbaPaymentComponent.propDecorators = {
161
- pbaPayOrderRef: [{ type: Input }]
162
- };
163
- if (false) {
164
- /** @type {?} */
165
- PbaPaymentComponent.prototype.pbaPayOrderRef;
166
- /** @type {?} */
167
- PbaPaymentComponent.prototype.viewStatus;
168
- /** @type {?} */
169
- PbaPaymentComponent.prototype.pbaAccountList;
170
- /** @type {?} */
171
- PbaPaymentComponent.prototype.isPBAAccountHold;
172
- /** @type {?} */
173
- PbaPaymentComponent.prototype.errorMsg;
174
- /** @type {?} */
175
- PbaPaymentComponent.prototype.isCardPaymentSuccess;
176
- /** @type {?} */
177
- PbaPaymentComponent.prototype.isInSufficiantFund;
178
- /** @type {?} */
179
- PbaPaymentComponent.prototype.isPBAAccountNotExist;
180
- /** @type {?} */
181
- PbaPaymentComponent.prototype.isPBAServerError;
182
- /** @type {?} */
183
- PbaPaymentComponent.prototype.isGetPBAAccountSucceed;
184
- /** @type {?} */
185
- PbaPaymentComponent.prototype.selectedPbaAccount;
186
- /** @type {?} */
187
- PbaPaymentComponent.prototype.pbaAccountRef;
188
- /** @type {?} */
189
- PbaPaymentComponent.prototype.isContinueButtondisabled;
190
- /** @type {?} */
191
- PbaPaymentComponent.prototype.isPBAAccountPaymentSuccess;
192
- /** @type {?} */
193
- PbaPaymentComponent.prototype.pbaAccountrPaymentResult;
194
- /**
195
- * @type {?}
196
- * @private
197
- */
198
- PbaPaymentComponent.prototype.paymentLibComponent;
199
- /**
200
- * @type {?}
201
- * @private
202
- */
203
- PbaPaymentComponent.prototype.paymentViewService;
204
- }
205
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGJhLXBheW1lbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGhtY3RzL2NjcGF5LXdlYi1jb21wb25lbnQvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9wYmEtcGF5bWVudC9wYmEtcGF5bWVudC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FB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G4gICAgICB9XG4gICAgKTtcblxuICB9XG4gIGdvdG9DYXNldHJhbnNhdGlvblBhZ2UoKSB7XG4gICAgdGhpcy5wYXltZW50TGliQ29tcG9uZW50LnZpZXdOYW1lID0gJ2Nhc2UtdHJhbnNhY3Rpb25zJztcbiAgICB0aGlzLnBheW1lbnRMaWJDb21wb25lbnQuVEFLRVBBWU1FTlQgPSBmYWxzZTtcbiAgICB0aGlzLnBheW1lbnRMaWJDb21wb25lbnQuSVNCU0VOQUJMRSA9IHRydWU7XG4gICAgdGhpcy5wYXltZW50TGliQ29tcG9uZW50LmlzRnJvbVNlcnZpY2VSZXF1ZXN0UGFnZSA9IHRydWU7XG4gIH1cbn1cbiJdfQ==
@@ -1,23 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- export class IserviceRequestCardPayment {
6
- /**
7
- * @param {?} amount
8
- */
9
- constructor(amount) {
10
- this.amount = amount;
11
- this.currency = 'GBP';
12
- this.language = 'string';
13
- }
14
- }
15
- if (false) {
16
- /** @type {?} */
17
- IserviceRequestCardPayment.prototype.amount;
18
- /** @type {?} */
19
- IserviceRequestCardPayment.prototype.currency;
20
- /** @type {?} */
21
- IserviceRequestCardPayment.prototype.language;
22
- }
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSXNlcnZpY2VSZXF1ZXN0Q2FyZFBheW1lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaG1jdHMvY2NwYXktd2ViLWNvbXBvbmVudC8iLCJzb3VyY2VzIjpbImxpYi9pbnRlcmZhY2VzL0lzZXJ2aWNlUmVxdWVzdENhcmRQYXltZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxNQUFNLE9BQU8sMEJBQTBCOzs7O0lBS25DLFlBQVksTUFBZTtRQUN2QixJQUFJLENBQUMsTUFBTSxHQUFHLE1BQU0sQ0FBQztRQUNyQixJQUFJLENBQUMsUUFBUSxHQUFHLEtBQUssQ0FBQztRQUN0QixJQUFJLENBQUMsUUFBUSxHQUFHLFFBQVEsQ0FBQztJQUM3QixDQUFDO0NBQ0o7OztJQVRHLDRDQUFjOztJQUNkLDhDQUFnQjs7SUFDaEIsOENBQWdCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNsYXNzIElzZXJ2aWNlUmVxdWVzdENhcmRQYXltZW50IHtcbiAgICBhbW91bnQ6IHN0cmluZ1xuICAgIGN1cnJlbmN5OiBzdHJpbmdcbiAgICBsYW5ndWFnZTogc3RyaW5nXG4gICAgXG4gICAgY29uc3RydWN0b3IoYW1vdW50IDogc3RyaW5nKSB7XG4gICAgICAgIHRoaXMuYW1vdW50ID0gYW1vdW50O1xuICAgICAgICB0aGlzLmN1cnJlbmN5ID0gJ0dCUCc7XG4gICAgICAgIHRoaXMubGFuZ3VhZ2UgPSAnc3RyaW5nJztcbiAgICB9IFxufVxuICAgICJdfQ==
@@ -1,28 +0,0 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
4
- */
5
- export class IserviceRequestPbaPayment {
6
- /**
7
- * @param {?} account_number
8
- * @param {?} amount
9
- * @param {?} customer_reference
10
- */
11
- constructor(account_number, amount, customer_reference) {
12
- this.account_number = account_number;
13
- this.amount = amount;
14
- this.currency = 'GBP';
15
- this.customer_reference = customer_reference;
16
- }
17
- }
18
- if (false) {
19
- /** @type {?} */
20
- IserviceRequestPbaPayment.prototype.account_number;
21
- /** @type {?} */
22
- IserviceRequestPbaPayment.prototype.amount;
23
- /** @type {?} */
24
- IserviceRequestPbaPayment.prototype.currency;
25
- /** @type {?} */
26
- IserviceRequestPbaPayment.prototype.customer_reference;
27
- }
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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