@hmcts/ccpay-web-component 5.0.8-beta05 → 5.0.8-beta11

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 (171) hide show
  1. package/bundles/hmcts-ccpay-web-component.umd.js +972 -7133
  2. package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
  3. package/bundles/hmcts-ccpay-web-component.umd.min.js +2 -2
  4. package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
  5. package/esm2015/hmcts-ccpay-web-component.js +2 -7
  6. package/esm2015/lib/components/add-remission/add-remission.component.js +43 -408
  7. package/esm2015/lib/components/allocate-payments/allocate-payments.component.js +46 -349
  8. package/esm2015/lib/components/card-details/card-details.component.js +7 -47
  9. package/esm2015/lib/components/case-transactions/case-transactions.component.js +112 -687
  10. package/esm2015/lib/components/error-banner/error-banner.component.js +2 -15
  11. package/esm2015/lib/components/fee-summary/fee-summary.component.js +36 -255
  12. package/esm2015/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +29 -182
  13. package/esm2015/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +33 -226
  14. package/esm2015/lib/components/page-not-found.component.js +2 -7
  15. package/esm2015/lib/components/payment-list/payment-list.component.js +7 -48
  16. package/esm2015/lib/components/payment-view/payment-view.component.js +44 -336
  17. package/esm2015/lib/components/pba-details/pba-details.component.js +2 -15
  18. package/esm2015/lib/components/pba-payment/pba-payment.component.js +15 -119
  19. package/esm2015/lib/components/process-refund/process-refund.component.js +23 -178
  20. package/esm2015/lib/components/processed-payments/processed-payments.component.js +6 -41
  21. package/esm2015/lib/components/refund-list/refund-list.component.js +12 -78
  22. package/esm2015/lib/components/refund-status/refund-status.component.js +30 -255
  23. package/esm2015/lib/components/reports/reports.component.js +28 -213
  24. package/esm2015/lib/components/service-request/service-request.component.js +40 -369
  25. package/esm2015/lib/components/status-history/status-history.component.js +7 -44
  26. package/esm2015/lib/components/table/table.component.js +13 -107
  27. package/esm2015/lib/components/unprocessed-payments/unprocessed-payments.component.js +18 -184
  28. package/esm2015/lib/interfaces/AddRemissionRequest.js +1 -29
  29. package/esm2015/lib/interfaces/AddRetroRemissionRequest.js +1 -16
  30. package/esm2015/lib/interfaces/AllocatePaymentRequest.js +1 -43
  31. package/esm2015/lib/interfaces/IAllocationPaymentsRequest.js +1 -27
  32. package/esm2015/lib/interfaces/IBSPayments.js +1 -46
  33. package/esm2015/lib/interfaces/ICardDetails.js +1 -22
  34. package/esm2015/lib/interfaces/IFee.js +1 -54
  35. package/esm2015/lib/interfaces/IOrderReferenceFee.js +1 -26
  36. package/esm2015/lib/interfaces/IPatchRefundAction.js +1 -16
  37. package/esm2015/lib/interfaces/IPayment.js +1 -66
  38. package/esm2015/lib/interfaces/IPaymentFailure.js +1 -34
  39. package/esm2015/lib/interfaces/IPaymentGroup.js +1 -20
  40. package/esm2015/lib/interfaces/IPaymentStatus.js +1 -26
  41. package/esm2015/lib/interfaces/IPaymentView.js +1 -18
  42. package/esm2015/lib/interfaces/IPayments.js +1 -14
  43. package/esm2015/lib/interfaces/IRefundAction.js +1 -16
  44. package/esm2015/lib/interfaces/IRefundList.js +1 -30
  45. package/esm2015/lib/interfaces/IRefundReasons.js +1 -20
  46. package/esm2015/lib/interfaces/IRefundRejectReason.js +1 -16
  47. package/esm2015/lib/interfaces/IRefundStatus.js +1 -24
  48. package/esm2015/lib/interfaces/IRefundStatusHistory.js +1 -16
  49. package/esm2015/lib/interfaces/IRemission.js +1 -26
  50. package/esm2015/lib/interfaces/IResubmitRefundRequest.js +1 -16
  51. package/esm2015/lib/interfaces/IStatusHistories.js +1 -20
  52. package/esm2015/lib/interfaces/IStatusHistory.js +1 -22
  53. package/esm2015/lib/interfaces/IserviceRequestCardPayment.js +1 -17
  54. package/esm2015/lib/interfaces/IserviceRequestPbaPayment.js +1 -24
  55. package/esm2015/lib/interfaces/IssueRefundRequest.js +1 -19
  56. package/esm2015/lib/interfaces/PayhubAntennaRequest.js +2 -22
  57. package/esm2015/lib/interfaces/PaymentToPayhubRequest.js +2 -28
  58. package/esm2015/lib/interfaces/PostIssueRefundRetroRemission.js +1 -13
  59. package/esm2015/lib/interfaces/PostRefundRetroRemission.js +1 -16
  60. package/esm2015/lib/interfaces/RefundsRequest.js +1 -16
  61. package/esm2015/lib/interfaces/UnidentifiedPaymentsRequest.js +1 -21
  62. package/esm2015/lib/interfaces/UnsolicitedPaymentsRequest.js +1 -30
  63. package/esm2015/lib/payment-lib.component.js +8 -149
  64. package/esm2015/lib/payment-lib.module.js +1 -6
  65. package/esm2015/lib/payment-lib.service.js +2 -46
  66. package/esm2015/lib/pipes/capitalize.pipe.js +1 -12
  67. package/esm2015/lib/pipes/ccd-hyphens.pipe.js +1 -13
  68. package/esm2015/lib/pipes/key-value.pipe.js +1 -12
  69. package/esm2015/lib/pipes/sanitize-html.pipe.js +5 -22
  70. package/esm2015/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +15 -103
  71. package/esm2015/lib/services/card-details/card-details.service.js +8 -40
  72. package/esm2015/lib/services/case-transactions/case-transactions.service.js +8 -40
  73. package/esm2015/lib/services/orderslist.service.js +2 -252
  74. package/esm2015/lib/services/payment-list/payment-list.service.js +8 -43
  75. package/esm2015/lib/services/payment-view/payment-view.service.js +11 -170
  76. package/esm2015/lib/services/refunds/refunds.service.js +14 -110
  77. package/esm2015/lib/services/shared/error-handler.service.js +2 -20
  78. package/esm2015/lib/services/shared/httpclient/webcomponent.http.client.js +10 -83
  79. package/esm2015/lib/services/shared/logger/console-logger.service.js +3 -28
  80. package/esm2015/lib/services/shared/logger/logger.service.js +3 -36
  81. package/esm2015/lib/services/status-history/status-history.service.js +8 -41
  82. package/esm2015/lib/services/xl-file/xl-file.service.js +2 -61
  83. package/esm2015/public_api.js +4 -9
  84. package/esm5/hmcts-ccpay-web-component.js +2 -7
  85. package/esm5/lib/components/add-remission/add-remission.component.js +65 -506
  86. package/esm5/lib/components/allocate-payments/allocate-payments.component.js +63 -411
  87. package/esm5/lib/components/card-details/card-details.component.js +10 -49
  88. package/esm5/lib/components/case-transactions/case-transactions.component.js +149 -842
  89. package/esm5/lib/components/error-banner/error-banner.component.js +3 -19
  90. package/esm5/lib/components/fee-summary/fee-summary.component.js +51 -310
  91. package/esm5/lib/components/mark-unidentified-payment/mark-unidentified-payment.component.js +38 -216
  92. package/esm5/lib/components/mark-unsolicited-payment/mark-unsolicited-payment.component.js +44 -270
  93. package/esm5/lib/components/page-not-found.component.js +2 -7
  94. package/esm5/lib/components/payment-list/payment-list.component.js +9 -55
  95. package/esm5/lib/components/payment-view/payment-view.component.js +69 -419
  96. package/esm5/lib/components/pba-details/pba-details.component.js +3 -19
  97. package/esm5/lib/components/pba-payment/pba-payment.component.js +21 -141
  98. package/esm5/lib/components/process-refund/process-refund.component.js +32 -262
  99. package/esm5/lib/components/processed-payments/processed-payments.component.js +9 -53
  100. package/esm5/lib/components/refund-list/refund-list.component.js +13 -79
  101. package/esm5/lib/components/refund-status/refund-status.component.js +46 -322
  102. package/esm5/lib/components/reports/reports.component.js +41 -268
  103. package/esm5/lib/components/service-request/service-request.component.js +58 -439
  104. package/esm5/lib/components/status-history/status-history.component.js +8 -44
  105. package/esm5/lib/components/table/table.component.js +21 -143
  106. package/esm5/lib/components/unprocessed-payments/unprocessed-payments.component.js +31 -242
  107. package/esm5/lib/interfaces/AddRemissionRequest.js +1 -22
  108. package/esm5/lib/interfaces/AddRetroRemissionRequest.js +1 -12
  109. package/esm5/lib/interfaces/AllocatePaymentRequest.js +1 -36
  110. package/esm5/lib/interfaces/IAllocationPaymentsRequest.js +1 -20
  111. package/esm5/lib/interfaces/IBSPayments.js +1 -46
  112. package/esm5/lib/interfaces/ICardDetails.js +1 -22
  113. package/esm5/lib/interfaces/IFee.js +1 -54
  114. package/esm5/lib/interfaces/IOrderReferenceFee.js +1 -26
  115. package/esm5/lib/interfaces/IPatchRefundAction.js +1 -16
  116. package/esm5/lib/interfaces/IPayment.js +1 -66
  117. package/esm5/lib/interfaces/IPaymentFailure.js +1 -34
  118. package/esm5/lib/interfaces/IPaymentGroup.js +1 -20
  119. package/esm5/lib/interfaces/IPaymentStatus.js +1 -26
  120. package/esm5/lib/interfaces/IPaymentView.js +1 -18
  121. package/esm5/lib/interfaces/IPayments.js +1 -14
  122. package/esm5/lib/interfaces/IRefundAction.js +1 -16
  123. package/esm5/lib/interfaces/IRefundList.js +1 -30
  124. package/esm5/lib/interfaces/IRefundReasons.js +1 -20
  125. package/esm5/lib/interfaces/IRefundRejectReason.js +1 -16
  126. package/esm5/lib/interfaces/IRefundStatus.js +1 -24
  127. package/esm5/lib/interfaces/IRefundStatusHistory.js +1 -16
  128. package/esm5/lib/interfaces/IRemission.js +1 -26
  129. package/esm5/lib/interfaces/IResubmitRefundRequest.js +1 -12
  130. package/esm5/lib/interfaces/IStatusHistories.js +1 -20
  131. package/esm5/lib/interfaces/IStatusHistory.js +1 -22
  132. package/esm5/lib/interfaces/IserviceRequestCardPayment.js +1 -14
  133. package/esm5/lib/interfaces/IserviceRequestPbaPayment.js +1 -18
  134. package/esm5/lib/interfaces/IssueRefundRequest.js +1 -14
  135. package/esm5/lib/interfaces/PayhubAntennaRequest.js +2 -17
  136. package/esm5/lib/interfaces/PaymentToPayhubRequest.js +2 -23
  137. package/esm5/lib/interfaces/PostIssueRefundRetroRemission.js +1 -10
  138. package/esm5/lib/interfaces/PostRefundRetroRemission.js +1 -12
  139. package/esm5/lib/interfaces/RefundsRequest.js +1 -12
  140. package/esm5/lib/interfaces/UnidentifiedPaymentsRequest.js +1 -16
  141. package/esm5/lib/interfaces/UnsolicitedPaymentsRequest.js +1 -22
  142. package/esm5/lib/payment-lib.component.js +10 -152
  143. package/esm5/lib/payment-lib.module.js +1 -6
  144. package/esm5/lib/payment-lib.service.js +10 -82
  145. package/esm5/lib/pipes/capitalize.pipe.js +2 -18
  146. package/esm5/lib/pipes/ccd-hyphens.pipe.js +2 -19
  147. package/esm5/lib/pipes/key-value.pipe.js +2 -17
  148. package/esm5/lib/pipes/sanitize-html.pipe.js +6 -24
  149. package/esm5/lib/services/bulk-scaning-payment/bulk-scaning-payment.service.js +24 -148
  150. package/esm5/lib/services/card-details/card-details.service.js +9 -39
  151. package/esm5/lib/services/case-transactions/case-transactions.service.js +9 -39
  152. package/esm5/lib/services/orderslist.service.js +38 -414
  153. package/esm5/lib/services/payment-list/payment-list.service.js +9 -43
  154. package/esm5/lib/services/payment-view/payment-view.service.js +36 -302
  155. package/esm5/lib/services/refunds/refunds.service.js +25 -159
  156. package/esm5/lib/services/shared/error-handler.service.js +4 -32
  157. package/esm5/lib/services/shared/httpclient/webcomponent.http.client.js +16 -117
  158. package/esm5/lib/services/shared/logger/console-logger.service.js +10 -40
  159. package/esm5/lib/services/shared/logger/logger.service.js +5 -49
  160. package/esm5/lib/services/status-history/status-history.service.js +9 -41
  161. package/esm5/lib/services/xl-file/xl-file.service.js +10 -111
  162. package/esm5/public_api.js +4 -9
  163. package/fesm2015/hmcts-ccpay-web-component.js +626 -5699
  164. package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
  165. package/fesm5/hmcts-ccpay-web-component.js +972 -7137
  166. package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
  167. package/hmcts-ccpay-web-component.metadata.json +1 -1
  168. package/lib/components/card-details/card-details.component.d.ts +1 -1
  169. package/lib/components/payment-view/payment-view.component.d.ts +2 -2
  170. package/lib/services/shared/logger/console-logger.service.d.ts +3 -3
  171. package/package.json +2 -2
@@ -1,41 +1,15 @@
1
- /**
2
- * @fileoverview added by tsickle
3
- * Generated from: lib/components/payment-list/payment-list.component.ts
4
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5
- */
6
1
  import { Component } from '@angular/core';
7
2
  import { PaymentListService } from '../../services/payment-list/payment-list.service';
8
3
  import { PaymentLibComponent } from '../../payment-lib.component';
9
4
  export class PaymentListComponent {
10
- /**
11
- * @param {?} paymentListService
12
- * @param {?} paymentLibComponent
13
- */
14
5
  constructor(paymentListService, paymentLibComponent) {
15
6
  this.paymentListService = paymentListService;
16
7
  this.paymentLibComponent = paymentLibComponent;
17
8
  }
18
- /**
19
- * @return {?}
20
- */
21
9
  ngOnInit() {
22
10
  this.paymentListService.getPaymentByCcdCaseNumber(this.paymentLibComponent.CCD_CASE_NUMBER, this.paymentLibComponent.PAYMENT_METHOD)
23
- .subscribe((/**
24
- * @param {?} payments
25
- * @return {?}
26
- */
27
- payments => this.payments = payments), (/**
28
- * @param {?} error
29
- * @return {?}
30
- */
31
- (error) => this.errorMessage = (/** @type {?} */ (error))));
11
+ .subscribe(payments => this.payments = payments, (error) => this.errorMessage = error);
32
12
  }
33
- /**
34
- * @param {?} paymentGroupReference
35
- * @param {?} paymentReference
36
- * @param {?} paymentMethod
37
- * @return {?}
38
- */
39
13
  loadPaymentViewComponent(paymentGroupReference, paymentReference, paymentMethod) {
40
14
  this.paymentLibComponent.paymentMethod = paymentMethod;
41
15
  this.paymentLibComponent.paymentGroupReference = paymentGroupReference;
@@ -43,34 +17,19 @@ export class PaymentListComponent {
43
17
  this.paymentLibComponent.viewName = 'payment-view';
44
18
  }
45
19
  }
20
+ PaymentListComponent.ctorParameters = () => [
21
+ { type: PaymentListService },
22
+ { type: PaymentLibComponent }
23
+ ];
46
24
  PaymentListComponent.decorators = [
47
25
  { type: Component, args: [{
48
26
  selector: 'ccpay-payment-list',
49
27
  template: "<div class=\"govuk-width-container\">\n\n <div *ngIf=\"errorMessage\">\n <div class=\"error-summary\" role=\"group\" aria-labelledby=\"failure-error-summary-heading\" tabindex=\"-1\">\n <h2 class=\"heading-medium error-summary-heading\" id=\"failure-error-summary-heading\">\n Payments list could not be retrieved\n </h2>\n <div class=\"govuk-error-summary__body\">\n {{ errorMessage }}\n </div>\n </div>\n </div>\n\n <div *ngIf=\"!errorMessage && payments\">\n\n <table class=\"table\">\n <tr>\n <th class=\"bold font-xsmall\">Payment group reference</th>\n <th class=\"bold font-xsmall\">Payment reference</th>\n <th class=\"bold font-xsmall\">Date created</th>\n <th class=\"bold font-xsmall\">Channel</th>\n <th class=\"bold font-xsmall\">Method</th>\n <th class=\"bold font-xsmall\">Amount</th>\n <th class=\"bold font-xsmall\">Status</th>\n </tr>\n <tr *ngFor=\"let payment of payments.payments\">\n <td class=\"font-xsmall\">\n <a href=\"javascript:void(0)\" (click)=\"loadPaymentViewComponent(payment.payment_group_reference, payment.payment_reference, payment.method)\">{{ payment.payment_group_reference }}</a>\n <td class=\"font-xsmall\">{{ payment.payment_reference }}</td>\n <td class=\"font-xsmall\">{{ payment.date_created | date:'dd MMM yyyy' }}</td>\n <td class=\"font-xsmall\">{{ payment.channel | titlecase }}</td>\n <td class=\"font-xsmall\">{{ payment.method | titlecase }}</td>\n <td class=\"font-xsmall\">\u00A3{{ payment.amount | number:'.2' }}</td>\n <td *ngIf=\"payment.method === 'card' && payment.channel === 'online'\">\n <details>\n <summary><span class=\"summary font-xsmall\">{{ payment.status }}</span></summary>\n <div class=\"panel panel-border-narrow\" *ngIf=\"payment.status === 'Failed'\">\n <div *ngFor=\"let statusHistory of payment.status_histories\">\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0010'\">\n Payment rejected due to payment method selected or payment information entered, for example, failed fraud check, a 3D Secure authentication failure, or the user does not have enough money in account\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0020'\">\n Payment was not confirmed and completed within 90 minutes of being created\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0030'\">\n User clicked on the \u201CCancel payment\u201D button during the payment journey\n </p>\n <p class=\"font-xsmall\" *ngIf=\"statusHistory.error_code === 'P0050'\">\n Multiple possible causes, for example a configuration problem with the payment provider, or incorrect login credentials\n </p>\n </div>\n </div>\n </details>\n </td>\n <td *ngIf=\"payment.method === 'card' && payment.channel === 'telephony'\" class=\"font-xsmall\">\n {{ payment.status}}\n </td>\n <td *ngIf=\"payment.method === 'payment by account'\">\n <details>\n <summary><span class=\"summary font-xsmall\">{{ payment.status }}</span></summary>\n <div class=\"panel panel-border-narrow\" *ngIf=\"payment.status === 'Pending'\">\n <p class=\"font-xsmall\">This means the transaction is being processed by Liberata.</p>\n </div>\n </details>\n </td>\n </tr>\n </table>\n\n </div>\n\n</div>\n",
50
28
  styles: [""]
51
- }] }
29
+ },] }
52
30
  ];
53
- /** @nocollapse */
54
31
  PaymentListComponent.ctorParameters = () => [
55
32
  { type: PaymentListService },
56
33
  { type: PaymentLibComponent }
57
34
  ];
58
- if (false) {
59
- /** @type {?} */
60
- PaymentListComponent.prototype.payments;
61
- /** @type {?} */
62
- PaymentListComponent.prototype.errorMessage;
63
- /** @type {?} */
64
- PaymentListComponent.prototype.code;
65
- /**
66
- * @type {?}
67
- * @private
68
- */
69
- PaymentListComponent.prototype.paymentListService;
70
- /**
71
- * @type {?}
72
- * @private
73
- */
74
- PaymentListComponent.prototype.paymentLibComponent;
75
- }
76
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcGF5bWVudC1saXN0L3BheW1lbnQtbGlzdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFTLE1BQU0sZUFBZSxDQUFDO0FBRWhELE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFNLGtEQUFrRCxDQUFDO0FBRXBGLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLDZCQUE2QixDQUFDO0FBUWhFLE1BQU0sT0FBTyxvQkFBb0I7Ozs7O0lBSy9CLFlBQW9CLGtCQUFzQyxFQUN0QyxtQkFBd0M7UUFEeEMsdUJBQWtCLEdBQW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NDRF9DQVNFX05VTUJFUiwgdGhpcy5wYXltZW50TGliQ29tcG9uZW50LlBBWU1FTlRfTUVUSE9EKVxuICAgICAgLnN1YnNjcmliZShcbiAgICAgICAgcGF5bWVudHMgPT4gdGhpcy5wYXltZW50cyA9IHBheW1lbnRzLFxuICAgICAgICAoZXJyb3I6IGFueSkgPT4gdGhpcy5lcnJvck1lc3NhZ2UgPSA8YW55PmVycm9yXG4gICAgICApO1xuICB9XG5cbiAgbG9hZFBheW1lbnRWaWV3Q29tcG9uZW50KHBheW1lbnRHcm91cFJlZmVyZW5jZTogc3RyaW5nLCBwYXltZW50UmVmZXJlbmNlOiBzdHJpbmcsIHBheW1lbnRNZXRob2Q6IHN0cmluZykge1xuICAgIHRoaXMucGF5bWVudExpYkNvbXBvbmVudC5wYXltZW50TWV0aG9kID0gcGF5bWVudE1ldGhvZDtcbiAgICB0aGlzLnBheW1lbnRMaWJDb21wb25lbnQucGF5bWVudEdyb3VwUmVmZXJlbmNlID0gcGF5bWVudEdyb3VwUmVmZXJlbmNlO1xuICAgIHRoaXMucGF5bWVudExpYkNvbXBvbmVudC5wYXltZW50UmVmZXJlbmNlID0gcGF5bWVudFJlZmVyZW5jZTtcbiAgICB0aGlzLnBheW1lbnRMaWJDb21wb25lbnQudmlld05hbWUgPSAncGF5bWVudC12aWV3JztcbiAgfVxufVxuIl19
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BobWN0cy9jY3BheS13ZWItY29tcG9uZW50LyIsInNvdXJjZXMiOlsibGliL2NvbXBvbmVudHMvcGF5bWVudC1saXN0L3BheW1lbnQtbGlzdC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBUyxNQUFNLGVBQWUsQ0FBQztBQUVoRCxPQUFPLEVBQU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