@zeniai/web-cockpit-ui 1.13.92-prod → 1.13.93-dev

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 (222) hide show
  1. package/dist/assets/{ACHDetailsPage-DSxVnTLA-DQ5hyRPZ.js → ACHDetailsPage-B7Osqlyb-BwlnvX_d.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DpJmdFIS-v3w0n1_t.js → AIPerformancePage-CEGqk2vj-DYer4sK1.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-UxE6vaxM-BKC2rl6V.js → AccountInfoPage-Dsi_xY1U-B-sH9O2B.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-B8luWP8D-D_9Ih9aO.js → AccountInfoPageContent-CmRpq4eF-B2DwYw45.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CRuSLa04-D-K1ZLZ6.js → AccountReconDetailsDrawerPage-Bwc-VZmp-CnpXttfi.js} +1 -1
  6. package/dist/assets/{AccountRow-DVnBiB7_-J44FakMX.js → AccountRow-DMeCdEPJ-0Td7rdjz.js} +14 -14
  7. package/dist/assets/{AccountsPromoCardStack-oPvi6hmo-OA0s77-O.js → AccountsPromoCardStack-NYQHh0uE-De_Ps0gr.js} +13 -13
  8. package/dist/assets/{AddAddressForCardDrawer-Bl8FShie-i1WSnUQT.js → AddAddressForCardDrawer-3WPrDfNL-BmoU8xMj.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-BykgUTfa-BDdyLcOr.js → AddToWalletPage-IjvBXyuu-LqJuRvIx.js} +18 -18
  10. package/dist/assets/{AgingReportsPage-CtpuS77Y-DtZ2PXub.js → AgingReportsPage-CIJTKbrN-CVdoyKAO.js} +5 -5
  11. package/dist/assets/{AllUserItems-zqRosy03-Cs4csIlw.js → AllUserItems-BuX43aPo-H0s42hTQ.js} +4 -4
  12. package/dist/assets/{ApAgingDetailPage-B4dHhJE1-DD149xB0.js → ApAgingDetailPage-02ejdrQy-CkSV3Gpj.js} +2 -2
  13. package/dist/assets/{AppBasePage-ntAldChd-CqmvMW4d.js → AppBasePage-CC3bbnnu-Ciqf55R8.js} +2 -2
  14. package/dist/assets/{AppDrawerContent-LRG0OW3a-D-Uu_dh-.js → AppDrawerContent-B_EAPC9w-BdR_mtmP.js} +5 -5
  15. package/dist/assets/ApprovalRulesSettingsPage-1AQm08qF-1bvo_sOv.js +47 -0
  16. package/dist/assets/{ArAgingChart-BmfMCB8_-DmvBDcyM.js → ArAgingChart-UnY648RV-B8ISkKOi.js} +6 -6
  17. package/dist/assets/{ArAgingDetailPage-C2lhYsGV-C5rZDRGB.js → ArAgingDetailPage-CMUpR-2N-CqTh98Ou.js} +3 -3
  18. package/dist/assets/{AttachmentView-CQlsMYN3-DzTpPq3-.js → AttachmentView-sbbFtu9R-wkkd2tSH.js} +1 -1
  19. package/dist/assets/{BankAccountSection-D1tQzNSO-C_sKIdwB.js → BankAccountSection-BJPkV-qV-DnIozyCI.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-Dj_S6brX-C9ELW6aN.js → BankAccountWarningSection-D9R1VhzE-GAcwzATB.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-UQAJXShM-Qhq0Pgu1.js → BankConnectionsSettingsPage-BG99PtV_-CvP1ZQFj.js} +1 -1
  22. package/dist/assets/{BillDetailPage-BOy1MkMT-DxTJJg4k.js → BillDetailPage-C_JDjRL0-Kxjam1W7.js} +6 -6
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-C7c04fyW-DVLpyOTC.js → BillPayApprovalRuleDetailPage-B_XMuvzZ-CuOSZOiJ.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-D7vn36vA-CMpZz5F0.js → BillPayApprovalRulesPage-CyZjNIsQ-DvR9HK7c.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-VCQ0v0Ko-xduBQZLD.js → BillPayPromoPage-ByDsqYfw-Bz6xfanS.js} +3 -3
  26. package/dist/assets/{BillPaySetUpPage-MD1PbTMB-C2K6g1vr.js → BillPaySetUpPage-yTO-xwRJ-D5LOIl5a.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-B0U9RKLC-xDKZksR_.js → BillingSettingsPage-BIAy1QHr-CdxSnuoN.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-CStmvhgL-Dbr4Aj-D.js → BillsBulkReviewDrawerPage-Cw1XCs0q-BPMOI-f-.js} +1 -1
  29. package/dist/assets/{BoxItem-D3v5T6bP-BOLCnSeA.js → BoxItem-UCX7eqiN-Bx4T9Ckg.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-BIba2-zs-DYcAve60.js → BusinessVerificationPage-CSsout2C-D0_Wr4yR.js} +3 -3
  31. package/dist/assets/{CardNumberSubText-DoWj5vAy-UIXS_891.js → CardNumberSubText-DuTv0ip1-BQ2cCq6Y.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-CPz0J2HA-6i9rTXwB.js → CashbackDetailPage-KdHf-_ZF-DMwQoPE0.js} +9 -9
  33. package/dist/assets/{ChargeCardDetailPage-DxE5h1S5-DoqsPVXx.js → ChargeCardDetailPage-DYGcQs0M-D9cSv6UR.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-fXayrykw-D_Av_aTf.js → ChargeCardListPage-CNrRrNbd-BjkSAo-I.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-C-WxFg6W-DaGBsMkN.js → ChargeCardListTable-B1a9-RYl-DFaeigKK.js} +103 -103
  36. package/dist/assets/ChargeCardPromoPage-DZ1f8Sus-BW8ozxyr.js +175 -0
  37. package/dist/assets/{ChargeCardSetupPage-ByLkUH5I-CkMXps05.js → ChargeCardSetupPage-DOrs_Bw8-DgkoLihJ.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-Dsv5AXrZ-DSUPLibI.js → ChargeCardStatementsPage-xvq2HeEr-DOI6TXvC.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-CVC43_6w-CF1lXmY5.js → ChargeCardUtils-Dt303NN_-05QPLa2p.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CHWBgNa9-BopXJjvt.js → ChaseOverlay-BK2ISNjj-S6c-qliM.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DySu5_BH-C-eiJPK5.js → CheckDepositDrawerPage-CbsRUWnx-BK3WXMqm.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-ZObwzBbY-BysjoVFa.js → CollapsableReportTable-D5D0ufUn-Bzt15FNd.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DVG0lvX--DVsfgUwx.js → CompanyOfficerDetailsSection-C7fuDGQk-IsFgAXuq.js} +6 -6
  44. package/dist/assets/{CompanyPassportCard-DBZRV0g0-BbdPQsC4.js → CompanyPassportCard-DwUqLcAr-DSkb28QS.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-BoaNol0L-BoQuDw9B.js → CompanyPassportPage-ClToBIAw-kZszHSwA.js} +10 -10
  46. package/dist/assets/{CompleteProfile-nkRKLJTF-Criq8Ljm.js → CompleteProfile-CLDWG3QK-CfBVYMEP.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BYoGZ66F-BF6awnnE.js → ConfettiBurst-DoZB9Us7-CMmPQCFc.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-C1Yx8t4M-Cm2ZBJu1.js → CreateOrEditVendorPage-B837xw8A-BAYCbcGJ.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DlnR16jr-B4-3qddP.js → CreditCardPaymentDrawerPage-zGaAOnnB-BsFRJBm4.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-CZ2vyMiF-Dv-Vc4T9.js → CreditCardPaymentPlgSection-BLbZFCcL-Bqc-C6eO.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-vH1oB0K8-wHe9UTtT.js → CurrencySelectField-DS3dOR3F-DalqX_lS.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-rpZmgNZo-yoY6ZZPd.js → CustomerOnboardingActivationPage-WWVaQenb-B8ztly-z.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-BmFfAaO1-BI9KTD4O.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CFIeHxxw-Ch_NCmop.js → CustomerOnboardingDetailPageSkeleton-BSXKMQ77-MLxx67vI.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BueMiyFl-Be70Dm6Q.js → CustomerOnboardingNoStepsPage-Dd5kCuRE-BcQg4Ohl.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CmHXtB9v-N2UU7_FI.js → CustomerOnboardingPage-CGJpD875-Dopxs2Zj.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-I9pftf_j-Cq5FoNJf.js → CustomerOnboardingProductSuitePage-BFmVLk0l-Dqe6wu_O.js} +3 -3
  58. package/dist/assets/{Dashboard-DcfkiicK-Cm9EkmBL.js → Dashboard-BLIK_ZsD-D6wuOJAN.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-B7J8yZR6-mwifnpEI.js → DashboardReportPage-BbYtKYEH-pc8ejgXI.js} +8 -8
  60. package/dist/assets/{DepositAccTransactionItem-CP_2AL3M-BUfk_EHJ.js → DepositAccTransactionItem-BMXQpKVB-DaF1MUuy.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-C4o1y1mJ-BCGYl-3q.js → DepositAccTransactionListPage-bwEdSihi-CXBTlKtY.js} +2 -2
  62. package/dist/assets/{DocumentSecurityBanner-C5w0d_S8-7kR46baw.js → DocumentSecurityBanner-DV9HE3MK-LQKK6f7V.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-t0Ebo518-DcWosEiy.js → DomesticWireDetailsPage-OI-gqVNE-BqvWfcoc.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-CPW9ebxu-CBIAqpEI.js → DownloadOverlay-De5uIGOt-g0Egf70Z.js} +1 -1
  65. package/dist/assets/{DrawerPage-Xc2rQipJ-vAGShlns.js → DrawerPage-n421ewDm-CnkmETxv.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CF5UleI0-IR4jULIP.js → EditPeoplePage-sO1qN6Uw-bGTiOwCj.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DGCkOykv-CxbUxJWC.js → EditReimbursementDetailPage-D5iKVGl3--EFA7JxG.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-BykQZo8S-BxO8SQOK.js → EntityDetailPage-CDk-oyYB-dhBDHyNo.js} +2 -2
  69. package/dist/assets/{EntitySummarySection-Dw4PBcg_-Bj_myq1U.js → EntitySummarySection-C4cC9rOJ-D8GGYrtb.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BwAaZVq3-Dh0_-ULP.js → ExpenseAutomationOverviewPage-BojhuW5i-BvXr37wt.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Cqiyk-AY-2jDbqfUl.js → ExpenseAutomationPage-D0BViJ7J-CWRMA15W.js} +44 -44
  72. package/dist/assets/{ExpressPayPage-D0lCczvw-BKP2pyII.js → ExpressPayPage-DdgtFYep-CUOKOoiC.js} +7 -7
  73. package/dist/assets/{FeaturePreviewPage-CxZIUB8l-DOVVe0bn.js → FeaturePreviewPage-CW0YmOgl-bNGEnD-g.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CILr1_vc-CyBQiJEA.js → FollowStepsSection-BfnTsu_D-DwG4wG8g.js} +7 -7
  75. package/dist/assets/{GlobalReviewListPage-DL6H7PZG-C2ENZA8V.js → GlobalReviewListPage-C0U7Y6dI-BkEZ_PU4.js} +1 -1
  76. package/dist/assets/{HelpButton-CkSfhBfN-l0ZmaZgI.js → HelpButton-DXFYhUL5-Co36EHOd.js} +1 -1
  77. package/dist/assets/{InformationCardStack-i76c5dym-B2hRo2sD.js → InformationCardStack-6BD3n76T-CKu_A2Jh.js} +2 -2
  78. package/dist/assets/{InsightsCardStack-wcWhovKK-D5i-CS8Q.js → InsightsCardStack-CwxJP-ic-nmTxa9wo.js} +3 -3
  79. package/dist/assets/{InsightsSection-CCzgI0uK-YzyDaTgw.js → InsightsSection-DYyHpcUE-N_KvwWiO.js} +4 -4
  80. package/dist/assets/{IntegrationsSettingsPage-B2CDE2Xd-DdpGmyZ0.js → IntegrationsSettingsPage-ZkvKZqwD-BFhl6nEA.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-DNT75nXv-DPS5Vbqb.js → InternationalWireSwiftDetailsPage-D3nyRM06-CLJCmyag.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-BDxujQK--DSmITxMC.js → InternationalWireVerificationPage-BOdAP6dN-Bwjg3gOc.js} +1 -1
  83. package/dist/assets/{InviteFormPage-BnLBPR7X-BUgP_pam.js → InviteFormPage-HJMhfa_f-tkS1HQ9G.js} +1 -1
  84. package/dist/assets/{InvitePageListView-7mhz_Fyy-DsAbeFJv.js → InvitePageListView-CjneWRfJ-Cqi-gRH8.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-B8gb9N_8-CpTkSYzD.js → InvitePeoplePage-By6TWsVZ-DcezDHDA.js} +2 -2
  86. package/dist/assets/{InvoiceUploadSection-Bes1nCJn-CI5aLm07.js → InvoiceUploadSection-CfAnZsV9-DBOTURQ6.js} +4 -4
  87. package/dist/assets/{IssueChargeCardPage-DC3yIsQd-DaEy5Twd.js → IssueChargeCardPage-pKF4dRNw-CboqmQ0I.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-Dtw8vM0g-BatSanO0.js → LabeledAddressValue-UYEy_1W0-Ci2tufnL.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-D72yUpQl-EukAFw0M.js → LabeledAddressValueField-BmSVDTMx-CBdRfhaZ.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BFaru2xf-BBWtrziO.js → LabeledControlledCheckBoxField-BFnLx9E0-ozh3nGkA.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CCXfjgxP-CnxEpEdS.js → LabeledCreatableSingleSelectField-Bh-cfR9F-Cgfy3beB.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-aYYBY16j-DiHUA7gr.js → LabeledDocumentField-YBoeNDoD-DV_I5uPN.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-Co7u6hHL-xLKIGiNZ.js → LabeledDropDownFormattedTextField-jrOUW9Ig-BtNHTfAs.js} +1 -1
  94. package/dist/assets/{LabeledText-BrOLGzO5-DZaVXgIe.js → LabeledText-BqO1wHro-DuRorhx4.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D-Huhkbq-B8D7YUkE.js → LabeledUserSingleSelectWithSubtitlesField-DiWgp4aE-C9gBIqih.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-WXH8xLJq-qoydEE07.js → LabeledZeniRolesDropDownField-Cgy0v5oD-DVkREz_1.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-NFV4Vo3i-BI2YmfkU.js → LinkJETransactionPage-PZAQ79zW-CK6GNIYR.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-Bxkd2pBR-_OwRs2WF.js → LowBalancePopup-BYeSnxBp-BI_shW18.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-BJFlUq7i-Dpmq3H_6.js → MagicLinkACHDetailsPage-D_FaPCmn-oM5m56GJ.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTuaNol6-DcoGcITs.js → MagicLinkDomesticWireDetailsPage-rnZdulCr-CM2OhcqO.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-L2dPsfWM-EuAyHUTS.js → MagicLinkInternationalWireDetailsPage-B7ScwCJc-hpVpOAMi.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-DutanrSJ-M6t2IhUS.js → MagicLinkSuccessPage-DVhVWuCR-C1ELLMXO.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-5B8jYoBn-oxb2T2eH.js → MagicLinkTitleSection-CjV-_WEQ-BZeg3Eo_.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DwWeiSC0-D_M7IxPH.js → MailingDetailsSection-CW6ShqHJ-CO_dTd-f.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.js → MeetingCalenderPopup-BhC8pSjM-Cnn0jkdk.js} +1 -1
  106. package/dist/assets/{Menu-CrSQ1yNo-Bv-dHYqs.js → Menu-LDwLOgxI-DZ0xBJbp.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CJjW9ymP-CrHV2cpA.js → MyBankConnectionsSettingsPage-BzxtuXEu-B9IXFZww.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CvxqOjc7-CtBP8g1r.js → MyPendingActivationChargeCardListPage-9jGJWmds-BAoE5bWC.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BX5dXulH-Dfifbw5G.js → MyProfileSettingsPage-9yk4H_yu-D2-h3k3L.js} +7 -7
  110. package/dist/assets/{NavBarWithPicker-CuVAj7o5-CEGVfhrc.js → NavBarWithPicker-DUpJ0EXp-43gjuBbT.js} +1 -1
  111. package/dist/assets/{NavigationArrow-BPQ9vRqR-CplDa_T1.js → NavigationArrow-lL3Ug8Mk-CKQ_08MZ.js} +1 -1
  112. package/dist/assets/{NavigationDots-Toh5TKEv-CA0n9HQq.js → NavigationDots-6Q5ZVqKl-C4jKPBGn.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-B4r1haCm-BkdFCE3S.js → NewGlobalMerchantPage-nrWvsRy4-DbM5W8Wn.js} +1 -1
  114. package/dist/assets/{NoDataChart-CVM-QPHf-C9B0uxva.js → NoDataChart-DGbfWo33-CtNbg73S.js} +1 -1
  115. package/dist/assets/{NoDataTable-CM-tApqo-BFJr-jl2.js → NoDataTable-CsvWc_ok-iHpzgtD5.js} +1 -1
  116. package/dist/assets/{NotFoundPage-I-EBmx2b-CdYXt2jJ.js → NotFoundPage-CzfiPkml-BQeqs7Av.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-CtZ7hdMN-DWIPkxdy.js → NotificationSettingsPage-Dmfqzy1H-CXBPPrT7.js} +6 -6
  118. package/dist/assets/{NotificationsListConfig-BAKipCDG-B8nCR-af.js → NotificationsListConfig-Cc3hEei0-BUGnkVM7.js} +1 -1
  119. package/dist/assets/{NotificationsPage-xyLmK3l7-Clly1YOz.js → NotificationsPage-BAj5p1zx-D_Mwv5JA.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-B63DEuJM-pkzuBzfO.js → OpExByVendorPage-CRt-VUTi-BSRoe6fS.js} +7 -7
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BJTXz7EF.js → OverlayContainerPage-C0rUb6-5-CpXI0Wjw.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-uY-ajYp4-U3FMr0Xz.js → PandLWithForecastPage-lT9GgcG2-Do2wpSYt.js} +5 -5
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DM9NYbmX-CPcRwkU8.js → PaymentAccountSetupBillingAddressSection-DY4eeS5C-DRjMzj0b.js} +4 -4
  124. package/dist/assets/{PeoplePage-DPZj6XeQ-Uf9hTrMZ.js → PeoplePage-CDQl7HVr-BdnTCUNW.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-De56plDa-C7xgHS3E.js → PortfolioAllocationFormPage-StMDGc2G-BtdTMk__.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-DiITguNZ-cyxUfNyR.js → PortfolioDetails-Dk_IIRuG-B_DxSJx7.js} +3 -3
  127. package/dist/assets/{ProductsCarousel-BojgZxY7-DdyXJr2w.js → ProductsCarousel-0-ksFQos-BOcG3c1-.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-DPAkjdDp-BGlT4RI_.js → PromoBaseCards-DNSnqS61-Al7XKWVe.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-CzuH4c1o-C7pXVe4U.js → QBOConnectionDialog-BmIUfW_i-DCw1_Zjz.js} +4 -4
  130. package/dist/assets/{QBOSetupSection-DJBfLeXn-n3W_hKe8.js → QBOSetupSection-BaNFiEPB-BQTYBa9Y.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CAcLCt68-z_TSwQVX.js → ReimbursementApprovalRuleDetailPage-CtTk4HV2-BFn-5msn.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-edz_6MDX-BBQCU7zZ.js → ReimbursementApprovalRulesPage-IhKSiGK_-xDcDckpI.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-DD_GbfiV-Br_JM6Bl.js → ReimbursementDetailPage-B2rT1dKM-BvN3K25P.js} +4 -4
  134. package/dist/assets/{ReimbursementPromoPage-B_HZWdXi-BTiGgxO3.js → ReimbursementPromoPage-d7XBUzip-Baqr_9HR.js} +18 -18
  135. package/dist/assets/{ReimbursementSetUpPage-C0SNbg5D-B3aU2e8W.js → ReimbursementSetUpPage-DWCUtN5c-B7jvTAZ2.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-NOK5jPjr-Cia2ZDC0.js → ReimbursementsBulkReviewDrawerPage-ByNvcTCn-CVr0tk48.js} +1 -1
  137. package/dist/assets/{ReloadCard-CqyGWGqs-_YURCGpq.js → ReloadCard-DZy28iWR-fdBnNVQp.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-B8ZW0kxU-8Kw8Bgrt.js → ReportTableViewSelector-DdZm4cOJ-noq_7l2G.js} +5 -5
  139. package/dist/assets/{ReportsPage-DdqQgvJt-ChJzejj9.js → ReportsPage-CJDkY9FT-BvINYvTj.js} +1 -1
  140. package/dist/assets/{RevenueChart-QoBLII7z-BxG5kvro.js → RevenueChart-B_jdFFPm-BXFiwU14.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BVoI7xF7-BZLZQS7P.js → ReviewDetailsPage-DjPVGzeL-DLDIfiIY.js} +9 -9
  142. package/dist/assets/{ReviewOverlay-CbpylyCx-DaZFUH7Y.js → ReviewOverlay-DGYnF07r-qnvuKuhQ.js} +6 -6
  143. package/dist/assets/{RoleWithToolTip-TxLTa63q-h_h2zj3V.js → RoleWithToolTip-VlYG_GPv-D1yDUHv7.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CuwxZJjj-DGJYOl0Z.js → ScheduleDetailsFixedAssetsPage-oPFQEE8g-DGu6MDH1.js} +3 -3
  145. package/dist/assets/{ScheduleDetailsPage-u0VNz7hA-BXvUVAFs.js → ScheduleDetailsPage-BdBgJEAl-DNQIOTck.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-usJjTfAn-BVSbI8s8.js → ScheduleSequenceTable-Ncft3mZN-BP3nA4Wm.js} +5 -5
  147. package/dist/assets/{ScreenRoutes-CSiIYQhL.js → ScreenRoutes-GKyBzI0O.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-DDe06VBR-B9IJiM9A.js → SetUpAccountSection-BrYiljyO-B0sFI8H-.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-B6pcOXMO-eZCrqrSe.js → SetUpDefaultSection-B361ojb9-CxOpM9AT.js} +1 -1
  150. package/dist/assets/{SignIn-BdhV8PbY-BtAifhPi.js → SignIn-B_-FUZwZ-DmmXPLIK.js} +1 -1
  151. package/dist/assets/{SignInScreen-Bz8feu1F.js → SignInScreen-DXQE8i8n.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DNgC__pX-B532HqYI.js → SpendManagementListViewPage-XbjqwHXx-DUJaDID4.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-BkiWOMch-DQ0tV62-.js → SpendManagementPerTabPage-D-4W-Ru9-BTwZxU7E.js} +8 -8
  154. package/dist/assets/{SpendManagementSection-DuR3sx7V-CT7Uld_h.js → SpendManagementSection-B7pMvj7Z-BAsdHFSu.js} +8 -8
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DoUKX4Sf-BldIeqnn.js → SpendMgmtSetupAccountSection-DdUs96r9-BtVu2Jjy.js} +1 -1
  156. package/dist/assets/{StatementItem-VYK0Vtgt-Bk5BgCtg.js → StatementItem-B4DJRmwy-B3hGXxas.js} +1 -1
  157. package/dist/assets/{StatementsPage-CLxned7l-BhLZL60e.js → StatementsPage-DzFEOmFA-wer7iddM.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-Jqpvk1VX-xLUVqT6G.js → StatusSwitcher-DGOwA8qO-D_gDSZQm.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-C7_JB54g-CphEJgto.js → SubTabSwitcher-Be-6o_mE-CbWpxIAQ.js} +1 -1
  160. package/dist/assets/{SummaryCard-oqK_zyxl-CPgSyc_4.js → SummaryCard-CD1amg78-BqcEBi2M.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BDOhB7Ny-BBdO0DDz.js → TaskManagementPage-C2UYhTtL-BjeaDszl.js} +12 -12
  162. package/dist/assets/{TimeRangeSwitcher-AWKZ7PNb-JsWizZnK.js → TimeRangeSwitcher-DxAmlHGP-Bw1t8DbY.js} +2 -2
  163. package/dist/assets/{TimeframeSwitcher-BlL5woGb-CYQePLIH.js → TimeframeSwitcher-ndYSpUa6-BlrKZqFe.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-CRnWI6xW-C86KiNGD.js → TimeframeSwitcherWithToggle-B3bxr-_s-BNVy54lX.js} +1 -1
  165. package/dist/assets/{TopExCard-B4T3kqhZ-5leQC_es.js → TopExCard-CcpyunQ3-BaDgbdKx.js} +2 -2
  166. package/dist/assets/{TopExDetailPage-Cx9T3i9O-BUFgQydG.js → TopExDetailPage-C_B0c8iP-ByXi3xQ5.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-CAGxHcQ9-DAEh18Kl.js → TransactionDetailPage-DVPGLobu-DL-y5UIM.js} +23 -23
  168. package/dist/assets/{TransactionList-CVrK_-YB-CzryXgTg.js → TransactionList-CvGyadHZ-CKr6j1Ej.js} +1 -1
  169. package/dist/assets/{TransactionListBig-BnI6EofP-CiyZQoDY.js → TransactionListBig-BeZjYsO0-CWaiI9xM.js} +14 -14
  170. package/dist/assets/{TransactionListPage-vK6DdhrP-DT6k2g4T.js → TransactionListPage-C8h-sa3V-ISAOcRCi.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-IyAfkyMv-lNTZZabw.js → TransactionVendorDetailPage-BcV8h3xR-BGD_XS9I.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-Bp0TG8fm-CznoIWIM.js → TransferDrawerPage-B_AJgZWp-BgCFpQ-3.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-Cr1liTpc-Cd33lmI2.js → TreasuryOverviewPage-kG1jZF28-DFMfLtUz.js} +17 -17
  174. package/dist/assets/{TreasuryPromoPage-Da7l7gv8-CKMiHpr6.js → TreasuryPromoPage-Dy3ExIiy-DKLmlPyB.js} +9 -9
  175. package/dist/assets/{TreasurySetupPage-DLNsPnS8-CDmeA1e-.js → TreasurySetupPage-Cjr-dp6O-D_HiOnt5.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-CNXxykvB-CuoSCyX7.js → TreasuryStatementsPage-CzOSIKGQ-CtcTNklQ.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-DUbt8ItG-CFIrAIuu.js → TreasuryTaxLetterPage-CWLf1Zxq-BkcKbbtq.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-qxabbCrK-NTQJ00iK.js → TreasuryTransferOrReviewPage-C5F3fmoI-C6lOcQ5d.js} +8 -8
  179. package/dist/assets/{TrendChart-SOAxSpv2-DgR01mAM.js → TrendChart-CtjfgQ9g-DU-bY5qU.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-BSQ2TJvu-C2vH4bQx.js → TrendWithTransactions-SmcM2UIp-SwKmDId5.js} +5 -5
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Caf242zp-VGuE3thQ.js → UncategorizedAccountsMappingPage-CXoadwja-CEPslaD_.js} +7 -7
  182. package/dist/assets/{UnitIntegrationPage-Bvc4wx_r-B7he8exM.js → UnitIntegrationPage-wYQVQqP7-CMNCVZiN.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-BTEhwmVL-C4lSvPpB.js → UploadAdditionalDocumentOverlay-8_c7UpvB-74BXxoUO.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DimcegQ_-WnSXqrLw.js → Vendor2FAPopup-DtNSOXbK-B54GFzKj.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-BOIRRgCy-UgegopbT.js → VendorACHDetailsPage-zNbGGe4q-8GlI6jYy.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-CWcqMMpT-9VL32fGD.js → VendorDetailPage-Cv-MG9iR-l4dRK0G1.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-9C2CIkhB-ZF2CrFpl.js → VendorDomesticWireDetailsPage-BkqtoYAw-CtX9mSuC.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-Crz_WLRG-BF546nfl.js → VendorFiling1099EditablePage-DYJudj3c-DQ_wjKTT.js} +5 -5
  189. package/dist/assets/{VendorFirstReviewPage-hQ0U61KD-C9g--4mo.js → VendorFirstReviewPage-BNFIAB9n-BN6v_Gep.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-mm1qIXTf-BLxRn49M.js → VendorInternationalWireDetailsPage-DHa8JoNl-BRi2UVJj.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BaOsJGNO-BH9lf0Lb.js → VendorInternationalWireSwiftDetailsPage-a5nSOMXK-BxkY5s8d.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-CGbDIAMd-ym1H8Uh3.js → VendorsAccountsSection-DwDGbjey-Bypo8ABo.js} +2 -2
  193. package/dist/assets/{WarningsDrawerPage-7DzlUfv7-BKqLm7L1.js → WarningsDrawerPage-CaSTx_8h-B-9jNZQU.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-B_U4d2iv-BManRlon.js → ZeniAccountDetailPage-BSOpxKiJ-Bcu_9TPK.js} +6 -6
  195. package/dist/assets/{ZeniAccountListViewPage-C2Yej3tG-BD_IZ5aS.js → ZeniAccountListViewPage-CZM1ODEE-CvbySLjB.js} +6 -6
  196. package/dist/assets/{ZeniAccountNavBarPieces-DsWyZL7N-D5tOjgeX.js → ZeniAccountNavBarPieces-CjNAr1N9-HkSrs5G-.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-D6S3o6xA-B-4D3zUQ.js → ZeniAccountPromoPage-PcyNGe7A-BLBuAvub.js} +9 -9
  198. package/dist/assets/{ZeniAccountSetupPage-YpW9LEB1-DY1tJUjA.js → ZeniAccountSetupPage-DhJ2zm6A-CuFLGcXY.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-Buv4_0jF-BUJ7afxM.js → ZeniCopyright-CSUSID-7-DBheoLGB.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CvuOgkEg-D9otBk72.js → ZeniTransferAmountSlider-DPl7porw-Dl84FVK1.js} +1 -1
  201. package/dist/assets/{analyticsHelper-B3QVnfWf-Cfyqi3Js.js → analyticsHelper-Cex5LOMD-Dxu2vm4u.js} +1 -1
  202. package/dist/assets/{analyticsHelper-RWvozMVr.js → analyticsHelper-CpvxdbQV.js} +1 -1
  203. package/dist/assets/{chartTypes-DYAHlgKd-H1smi7OR.js → chartTypes-Df8u7la0-CtDbCz1y.js} +1 -1
  204. package/dist/assets/{commonDimensions-Pkc8qIrn-CnS_lHb5.js → commonDimensions-OJhakpB_-Bbp60BrB.js} +1 -1
  205. package/dist/assets/{detailCommon-CsukAL3T-BWIfVtAp.js → detailCommon-4wAnHr6n-CdRaYMXz.js} +4 -4
  206. package/dist/assets/{downloadPdf-DlKRXI5W-OJRqS6Ne.js → downloadPdf-D02UNVHu-DqpjG06G.js} +1 -1
  207. package/dist/assets/{index-BFn0iyzF.js → index-DTlzo6Yx.js} +512 -512
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-KYsp1YPe-CLN9qM8e.js → mapLoadingInProgressToTreeNode-HsZI6Bdg-DBYPe0Tb.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-t5fK12Uc--riMsIoZ.js → mapSectionWithAcOnlyToTreeNode-B9KMXCTi-cXLO9gFn.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-1YBqnFwa-BUbNWLck.js → mapSpacerToTreeNode-BIZ_jwXi-CRlgAghX.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DD1v-gTG-CsfVJjJT.js → mapTimeframeBalancesToTreeNode-BOFrVlzJ-4iwTY3Ct.js} +1 -1
  212. package/dist/assets/{play-icon-19dLaWkG-Dp_fy0nZ.js → play-icon-BDRoJBSV-DFuHei9M.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-B8NxsLlK-f7IcEqR5.js → toCOABalancesWithID-RJhTPgAt-Cci2ybt-.js} +1 -1
  214. package/dist/assets/{toChartData-CxZEcdj_-BYbG-aHT.js → toChartData-K68FB3Iy-nDeLE4ni.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-BqwCUN2u-X_XE57yN.js → treasuryColorHelper-DjASf5JB-DoMbQSj9.js} +1 -1
  216. package/dist/assets/{uploadAttachment-CHFo3qZI-V-zea-FO.js → uploadAttachment-D7Rju7jS-SY7cBnUt.js} +1 -1
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-C9miDyXe.js → uploadReceipts-Buvz7DfG-JDslMarZ.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +2 -2
  220. package/dist/assets/ApprovalRulesSettingsPage-CFCbNOcB-DqUDrXZ1.js +0 -47
  221. package/dist/assets/ChargeCardPromoPage-CiwWzvym-mX5HHnvt.js +0 -175
  222. package/dist/assets/CustomerOnboardingContainerPage-DEDQrgtq-Bgtk1o5G.js +0 -1
@@ -1 +1 @@
1
- import{M as V,j as b,bO as q,bQ as M,bR as W,jk as z,l as H,aJ as J}from"./index-BFn0iyzF.js";import{b as _}from"./vendor-CnQcJ2Lu.js";import{m as Q}from"./ReviewOverlay-CbpylyCx-DaZFUH7Y.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const{common:n,spendManagement:{billPay:C}}=V.getLocalizedStrings(),o=C.bulkActions;let x;const ce=({billsReviewView:t,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:e,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:w}=t,u=i==="review",[B,h]=_.useState(!1),[s,v]=_.useState(j(t,u)),[p,k]=_.useState(u),[P,E]=_.useState(0),[f,T]=_.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});_.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,L)=>(clearInterval(x),L===P?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),P===s.length&&p&&(k(!1),clearInterval(x)),!u&&t.fetchState==="Completed"&&v(j(t,!1)),()=>{clearInterval(x)}),[s.length,P,p,t.fetchState,u,t]);const R=s.length,y=s.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=Y(y);T({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,w),h(!0)},F={onOkClick:d=>{h(!1),r.trackBillPayBulkPopupConfirm(i,g,w,X(t)),l("reject",d)},onCancelClick:()=>{h(!1)}},{title:N,description:$}=Z(m,y,R,p),I=t.fetchState==="Completed"&&y===0,U=()=>{r.trackBillPayBulkSubmit(i,g,w),l(i)},D={label:I?n.texts.close:i==="send_for_approval"?n.footer.submit:n.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:I?c:U,style:i==="send_for_approval"?{minWidth:"92px"}:{}},O={label:i==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[B?b.jsx(q,{titleComponent:b.jsx(W,{children:f.title}),descriptionComponent:b.jsx(M,{children:f.description}),primaryButtonText:f.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:f.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Q,{title:N,description:{content:$,isError:t.fetchState==="Completed"&&y===0},reviewItems:s,onCloseReviewItem:e,onCloseOverlay:c,showFooter:t.fetchState==="Completed"&&!p,footerProps:{primaryButton:D,cancelButton:O,hideCancel:I}})]})},j=(t,r)=>{const l=t.fetchState==="In-Progress";return t.billsForReview.map(e=>({id:e.transactionId,leftSideText:{title:e.vendorName?e.vendorName:C.billDetails.newBillTitle,subTitle:`${C.billDetails.invoiceNo} ${e.invoiceNumber?e.invoiceNumber:n.strings.hyphen}`},rightSideText:{title:J("0,0.[00]",e.amount?.amount,e.amount?.currencySymbol),showThunderIcon:e.reviewErrors?.length===1&&H.isBillConditionallyValid(e.reviewErrors[0].reviewErrorCode),subTitle:G(e.reviewStatus==="warning",e.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:e.reviewErrors!=null&&e.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:e.reviewErrors?.length===1&&e.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":e.reviewStatus??""}}))},X=t=>{const r=t.billsForReview;let l=[];return r.forEach(e=>{l=z([...l,e.isRecurring?"recurring":"one-time"])}),l},Y=t=>{const{this_:r,these:l,bill:e,bills:c,payment:m,payments:a}=n.texts;return t>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",e)}},Z=(t,r,l,e)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:w,do_:u,does:B}=n.texts,h=r>1,s=l>1;let v="",p="";return t==="Completed"&&!e?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",s?C.bulkActions.bills:o.bill).replace("<_has_>",s?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",s?i:a).replace("<_do_>",s?u:B):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",h?g:w)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:p}},G=(t,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${n.strings.dividerDot} `);if(r.length===1)return t?r[0]+`${n.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{ce as default,X as getBillsUniqueType};
1
+ import{M as V,j as b,bO as q,bQ as M,bR as W,jk as z,l as H,aJ as J}from"./index-DTlzo6Yx.js";import{b as _}from"./vendor-CnQcJ2Lu.js";import{m as Q}from"./ReviewOverlay-DGYnF07r-qnvuKuhQ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const{common:n,spendManagement:{billPay:C}}=V.getLocalizedStrings(),o=C.bulkActions;let x;const ce=({billsReviewView:t,analytics:r,onProceedForBulkActionClick:l,onCloseReviewItem:e,onCloseOverlay:c})=>{const{fetchState:m,bulkSubmissionFetchState:a,bulkOperationTypeSelected:i,currentTab:g,currentSubTab:w}=t,u=i==="review",[B,h]=_.useState(!1),[s,v]=_.useState(j(t,u)),[p,k]=_.useState(u),[P,E]=_.useState(0),[f,T]=_.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});_.useEffect(()=>(u&&(x=setInterval(()=>{v(d=>d.map((S,L)=>(clearInterval(x),L===P?{...S,reviewStatus:{isLoading:!1,code:"valid"}}:S))),E(d=>d+1)},1e3)),P===s.length&&p&&(k(!1),clearInterval(x)),!u&&t.fetchState==="Completed"&&v(j(t,!1)),()=>{clearInterval(x)}),[s.length,P,p,t.fetchState,u,t]);const R=s.length,y=s.filter(d=>d.reviewStatus.code!=="error").length,A=()=>{const{title:d,description:S}=Y(y);T({type:"reject",title:d,description:S,primaryButtonText:n.texts.confirm,secondaryButtonText:n.texts.close}),r.trackBillPayBulkSubmit(i,g,w),h(!0)},F={onOkClick:d=>{h(!1),r.trackBillPayBulkPopupConfirm(i,g,w,X(t)),l("reject",d)},onCancelClick:()=>{h(!1)}},{title:N,description:$}=Z(m,y,R,p),I=t.fetchState==="Completed"&&y===0,U=()=>{r.trackBillPayBulkSubmit(i,g,w),l(i)},D={label:I?n.texts.close:i==="send_for_approval"?n.footer.submit:n.footer.approve,isDisabled:m!=="Completed"||i==="reject"&&a==="In-Progress",isLoading:a==="In-Progress"&&(i==="send_for_approval"||i==="approve"),onClick:I?c:U,style:i==="send_for_approval"?{minWidth:"92px"}:{}},O={label:i==="send_for_approval"?n.texts.goBack:n.footer.reject,isDisabled:i!=="reject"&&a==="In-Progress",isLoading:i==="reject"&&a==="In-Progress",reverseSpinnerColor:!1,onClick:i==="send_for_approval"?c:A,style:i==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[B?b.jsx(q,{titleComponent:b.jsx(W,{children:f.title}),descriptionComponent:b.jsx(M,{children:f.description}),primaryButtonText:f.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:f.secondaryButtonText,action:F,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Q,{title:N,description:{content:$,isError:t.fetchState==="Completed"&&y===0},reviewItems:s,onCloseReviewItem:e,onCloseOverlay:c,showFooter:t.fetchState==="Completed"&&!p,footerProps:{primaryButton:D,cancelButton:O,hideCancel:I}})]})},j=(t,r)=>{const l=t.fetchState==="In-Progress";return t.billsForReview.map(e=>({id:e.transactionId,leftSideText:{title:e.vendorName?e.vendorName:C.billDetails.newBillTitle,subTitle:`${C.billDetails.invoiceNo} ${e.invoiceNumber?e.invoiceNumber:n.strings.hyphen}`},rightSideText:{title:J("0,0.[00]",e.amount?.amount,e.amount?.currencySymbol),showThunderIcon:e.reviewErrors?.length===1&&H.isBillConditionallyValid(e.reviewErrors[0].reviewErrorCode),subTitle:G(e.reviewStatus==="warning",e.reviewErrors?.map(c=>c.reviewInfoMessage)),additonalInfo:e.reviewErrors!=null&&e.reviewErrors.length>1?o.reviewPage.removeOrProceed:void 0},reviewStatus:{isLoading:r?!0:l,code:e.reviewErrors?.length===1&&e.reviewErrors[0].reviewErrorCode==="ERR_INSUFFICIENT_FUNDS"?"low-balance":e.reviewStatus??""}}))},X=t=>{const r=t.billsForReview;let l=[];return r.forEach(e=>{l=z([...l,e.isRecurring?"recurring":"one-time"])}),l},Y=t=>{const{this_:r,these:l,bill:e,bills:c,payment:m,payments:a}=n.texts;return t>1?{title:o.popUps.reject.title.replace("<_payment_>",o.payments),description:o.popUps.reject.description.replaceAll("<_this_>",l).replaceAll("<_payment_>",a).replaceAll("<_bill_>",c)}:{title:o.popUps.reject.title.replace("<_payment_>",o.payment),description:o.popUps.reject.description.replaceAll("<_this_>",r).replaceAll("<_payment_>",m).replaceAll("<_bill_>",e)}},Z=(t,r,l,e)=>{const{has:c,have:m,bill:a,bills:i,are:g,is:w,do_:u,does:B}=n.texts,h=r>1,s=l>1;let v="",p="";return t==="Completed"&&!e?(v=o.reviewPage.billsReviewed.title.replace("<_bill_>",s?C.bulkActions.bills:o.bill).replace("<_has_>",s?m:c),r===0?p=o.reviewPage.billsReviewed.descriptionError.replace("<_bill_>",s?i:a).replace("<_do_>",s?u:B):p=`${r}/${l} ${o.reviewPage.billsReviewed.description.replace("<_bill_>",l>1?i:a).replace("<_is_>",h?g:w)}`):(v=o.reviewPage.billsReviewing.title.replace("<_bill_>",s?i:a),p=o.reviewPage.billsReviewing.description.replace("<_bill_>",s?i:a)),{title:v,description:p}},G=(t,r)=>{if(r?.length!=null){if(r.length>1)return r.join(` ${n.strings.dividerDot} `);if(r.length===1)return t?r[0]+`${n.strings.colon} ${o.reviewPage.removeOrProceed}`:r[0]}return""};export{ce as default,X as getBillsUniqueType};
@@ -1,4 +1,4 @@
1
- import{X as a,j as s,Y as b,o as r}from"./index-BFn0iyzF.js";import{n as p}from"./vendor-CnQcJ2Lu.js";import{o as l}from"./commonDimensions-Pkc8qIrn-CnS_lHb5.js";const $=(o,e)=>e===1?"roundedBox":o===0?"topRoundedBox":o===e-1?"bottomRoundedBox":"box";function f({content:o,boxType:e,isDisabled:d=!1,isNotClickable:t=!1}){const i=a();switch(e??"roundedBox"){case"topRoundedBox":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",e),children:o});case"bottomRoundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",e),children:o});case"box":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",e),children:o});case"roundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",e),children:o})}}const h=p.div`
1
+ import{X as a,j as s,Y as b,o as r}from"./index-DTlzo6Yx.js";import{n as p}from"./vendor-CnQcJ2Lu.js";import{o as l}from"./commonDimensions-OJhakpB_-Bbp60BrB.js";const $=(o,e)=>e===1?"roundedBox":o===0?"topRoundedBox":o===e-1?"bottomRoundedBox":"box";function f({content:o,boxType:e,isDisabled:d=!1,isNotClickable:t=!1}){const i=a();switch(e??"roundedBox"){case"topRoundedBox":return s.jsx(x,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("top-rounded-box",e),children:o});case"bottomRoundedBox":return s.jsx(n,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("bottom-rounded-box",e),children:o});case"box":return s.jsx(u,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("box",e),children:o});case"roundedBox":return s.jsx(h,{isDisabled:d,windowSize:i,hideCursor:t,"data-testid":b("rounded-box",e),children:o})}}const h=p.div`
2
2
  box-sizing: border-box;
3
3
  cursor: ${o=>o.isDisabled||o.hideCursor===!0?"default":"pointer"};
4
4
  min-height: ${o=>l.transactionItemHeightResponsive.valuePx(o.windowSize)};
@@ -1,4 +1,4 @@
1
- import{u as et,X as tt,a5 as Se,j as i,M as Te,i as G,a as it,ch as at,l as L,A as st,c3 as nt,aJ as ot,a0 as rt,K as lt,aW as ct,Y as dt,c4 as mt,bO as pt,bQ as ut,bR as ft,e as yt,F as ht,a7 as gt,o as r,C as P,m as $e,fE as xt,fc as Ce,cw as wt,c0 as St,a6 as Ct,t as ke,Q as bt,h as vt,q as k}from"./index-BFn0iyzF.js";import{b as j,n as d}from"./vendor-CnQcJ2Lu.js";import{o as Dt,G as Tt}from"./CompanyOfficerDetailsSection-DVG0lvX--DVsfgUwx.js";import{r as $t}from"./verification-CW6uEyev-DdkqedMU.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-D72yUpQl-EukAFw0M.js";import"./LabeledCreatableSingleSelectField-CCXfjgxP-CnxEpEdS.js";import"./LabeledDocumentField-aYYBY16j-DiHUA7gr.js";import"./DocumentSecurityBanner-C5w0d_S8-7kR46baw.js";const x={width:new P(343,580,726),titleWidth:new P(343,580,726,826),subTitlePaddingTop:new P(12,k[3]),subTitlePaddingBottom:new P(k[3],k[3]),verificationDetailsRowGap:new P(12,k[5],k[5]),termsPaddingLeftRight:new P(k[0],k[3])},kt={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:It,currency:Nt,footer:ve,strings:{empty:Pt}}}=Te.getLocalizedStrings(),pi=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:F,isRefreshingViewInBackground:_,filesEndPoint:o,authParams:B,productType:y,allIndustries:E,companyTitles:z,maxInsuredAmount:p,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,onAddressClick:H,onRegisteredAddressClick:Ne,onBackClick:O,onGetOtp:Pe,onVerifyOtp:je,onResendOtp:Fe,onSendForVerificationClick:Oe,onEditFileName:ee,onCompanyDetailsChanged:Ve,updateFilesEntity:te,onDeleteFile:ie,onDeleteFileList:Le,onCompanyOfficerUpdated:Ae,saveNewAddressInLocalStore:ae,onSaveDetailsClick:_e,onClickMenuIcon:Be})=>{const Ee=et(),m=tt(),{updateStatus:R,companyView:V,companyDetailsLocalData:l,companyOfficerLocalData:S}=t,ze=Se(R.fetchState),U=V?.company.company.featuresActivationInfo.connectedAccountProvider,Re=U==="unit"?i.jsxs(Et,{children:[s.terms.term1,i.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,i.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,i.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,i.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ue,W]=j.useState(!1),[M,se]=j.useState("save"),[Z,Me]=j.useState(!1),u=it({mode:"all",reValidateMode:"onChange",defaultValues:jt(t,E,z,A)}),{isValid:Ge}=u.formState,q=V?.company.company.companyBillPayInfo,K=V?.company.company.companyTreasuryInfo,N=y==="zeni_treasury"?K?.companyVerificationStatus:q?.companyVerificationStatus,D=Object.values(S).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,We=()=>{const e=S[T],a=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,$=e?.lastName,re=e?.titleAtCompany,le=e?.documentTypeSelectedForVerification,ce=e?.phone,de=e?.addressStatus?.addressToCreate,me=de!=null?L.getFormattedAddress(de):void 0,pe=l?.companyDescription,J=l?.companyLegalName,ue=l?.companyIndustry,fe=l?.phone,ye=l?.website,he=l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,Y=l?.primaryContactLocalData,ge=Y?.firstName,xe=Y?.lastName,we=Y?.email;a!=null&&f!=null&&C!=null&&$!=null&&c!=null&&re!=null&&ce!=null&&me!=null&&le!=null&&pe!=null&&J!=null&&fe!=null&&ye!=null&&ue!=null&&J!=null&&he!=null&&ge!=null&&xe!=null&&we!=null&&g?.trackBusinessVerificationSend({email:a,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:$,companyRole:re,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:J,phone:fe,website:ye.toString(),industry:ue,formattedAddress:he},{firstName:ge,lastName:xe,email:we},y,n?"Settings":void 0)},Ze=()=>{const e=S[T],a=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=a?.email??"",$=!!a?.firstName&&!!a?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&u.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!$?((!a?.firstName||!a?.lastName)&&u.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},qe=()=>{const e=S[T],a=l?.primaryContactLocalData,c=e?.email,f=a?.email;if(c){if(!f)return(a?.firstName||a?.lastName)&&u.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||Q!=null&&Q?.length>0)return u.trigger(`${v}.${D<0?0:D}.email`,{shouldFocus:!0}),!1;return!0},Ke=u.handleSubmit(()=>{if(M!=="verification"&&se("verification"),U==="unit"&&S[T]?.isPhoneVerified!==!0){u.setError(`${v}.${D}.phone`,{type:"custom"});return}const e=at(Object.values(S).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),a=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);L.reduceAllFetchState(e.concat(a)).fetchState!=="In-Progress"&&Ge&&(We(),Oe?.(T))}),Qe=async(e,a)=>{e.includes(b)?Ve?.(a[b]):e.includes(v)&&Ae?.(a[v])},Xe=j.useCallback(st((e,a)=>{Qe(e,a)},300),[]);j.useEffect(()=>{const e=u.watch((a,{name:c})=>{c!=null&&a!=null&&nt(()=>Xe(c,a))});return()=>{e.unsubscribe()}});const ne=Se(t.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&ne==null&&(ae?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,ne,ae,u]);const oe=V?.companyOfficers.slice(0,10).sort((e,a)=>e.user.createTime?.isAfter(a.user.createTime)===!0?1:-1),Q=oe?.map(e=>e.user),Je=oe?.map(e=>e.role),Ye={onOkClick:()=>{W(!1),O();const e=[],a=V?.company.company.incInfo.fileIds??[];u.getValues(`${b}.fileIds`).forEach(c=>{a.includes(c)||e.push(c)}),Je?.forEach((c,f)=>{const C=c?.fileIds??[];u.getValues(`${v}.${f}.fileIds`).forEach($=>{C.includes($)||e.push($)})}),e.length!==0&&Le?.(e)},onCancelClick:()=>{W(!1)}},He=ot(rt(p),p,Nt.currencySymbol).toUpperCase(),X=N?.code==="pending_review"||N?.code==="verified";return y==="zeni_treasury"&&N?.code==="pending_review"&&ze==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(qt,{children:[i.jsxs(Kt,{children:[i.jsx($t,{}),i.jsx(Qt,{windowSize:m,children:s.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:s.submittedDescription})]}),i.jsx(lt,{label:s.submittedButton,onClick:O,variant:"primary"})]}):i.jsxs(Ft,{isSettings:n,children:[i.jsx(ct,{title:h&&w===!0?Pt:s.header,backgroundColor:Ee.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{mt(u.formState.dirtyFields)?W(!0):O()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:Be,rightSideComponent:h?i.jsx(Xt,{"data-testid":dt("nav-bar-close-business-verification-overlay"),onClick:()=>{O()}}):null,source:"BusinessVerificationPage"}),Ue===!0?i.jsx(pt,{titleComponent:i.jsx(ft,{children:s.discardTitle}),descriptionComponent:i.jsx(ut,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:Ye}):null,i.jsxs(Lt,{windowSize:m,children:[(!h||w===!1)&&i.jsx(Vt,{windowSize:m,children:n?It.infoText.businessVerification:s.title}),F==="In-Progress"||F==="Not-Started"?i.jsx(At,{children:i.jsx(yt,{size:"ExtraLarge",start:!0})}):i.jsx(ht,{...u,children:i.jsxs("form",{id:De(be),onSubmit:Ke,children:[h&&w===!0&&i.jsxs(Ot,{children:[i.jsxs(zt,{windowSize:m,children:[i.jsx(Rt,{windowSize:m,children:X?s.businessVerificationDetails:s.verifyBusinessDetails}),!X&&i.jsx(Ut,{children:i.jsxs(Mt,{children:[i.jsx(Gt,{}),i.jsx(Wt,{})]})})]}),i.jsx(Ie,{isReadonly:X,children:s.verifyBusinessDetailsDescription})]}),i.jsxs(_t,{children:[i.jsx(Dt,{companyOfficerData:S,allNationalityCountries:A,allOfficers:Q??[],sectionId:v,isRefreshingViewInBackground:_,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:te,onEditFileName:ee,onOfficerAddressClick:H,onDeleteFile:ie,isDisabled:I,filesEndPoint:o,authParams:B,isPopupOpen:Z,openPopup:Me,onGetOtp:Pe,onVerifyOtp:je,onResendOtp:Fe,companyTitles:z,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:N,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:N?.code==="pending_review"||N?.code==="verified"?"readonly":I,fileProps:{authParams:B,filesEndPoint:o,onEditFileName:ee,onDeleteFile:ie,updateFilesEntity:te},onCompanyAddressClick:H,onRegisteredAddressClick:Ne,connectedAccountProvider:U,allIndustries:E})]}),y==="zeni_accounts"?i.jsx(Bt,{windowSize:m,children:s.threadText.replace("__amount__",He)}):null]})})]}),F==="Completed"&&(y==="zeni_treasury"?K?.companyVerificationStatus?.code!=="pending_review"&&K?.companyVerificationStatus?.code!=="verified":q?.businessVerificationStatus?.code!=="pending_review"&&q?.businessVerificationStatus?.code!=="verified")?i.jsx(gt,{formId:De(be),primaryBtn:{label:w?ve.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:I!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ve.back:s.saveDetailsButton,style:{width:m==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)O();else{const e=S[T],a=l?.primaryContactLocalData;M!=="save"&&se("save");const c=e?.email??"",f=Ze(),C=qe();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0},{firstName:a?.firstName,lastName:a?.lastName,email:a?.email},y,n?"Settings":void 0),_e?.(T))}}},helperText:Re,style:{padding:`12px ${r.sp3}`,zIndex:Z?0:4}}):null]})},jt=(t,A,F,_)=>{const{companyDetailsLocalData:o,companyOfficerLocalData:B,companyView:y}=t,E=Te.getLocalizedStrings().companyPassport,z=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[b]:{companyDescription:o?.companyDescription??"",ein:o?.companyFiles.find(p=>p.documentType==="tax_ein"),companyId:o?.companyId??"",syncToken:o?.syncToken,companyLegalName:o?.companyLegalName??"",companyWebsite:o?.website?.toString()??"",companyAddress:o?.addressStatus?.addressToCreate,registeredAddress:o?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:o?.companyIndustry,allOptions:A?.map(p=>p.code)},companyPhone:o?.phone??"",companyTaxId:o?.taxIdOrEIN??"",primaryContactName:{firstName:o?.primaryContactLocalData?.firstName??"",lastName:o?.primaryContactLocalData?.lastName??""},primaryContactEmail:o?.primaryContactLocalData?.email??"",primaryContactUserId:o?.primaryContactLocalData?.userId,primaryContactSyncToken:o?.primaryContactLocalData?.syncToken,fileIds:o?.companyFiles.map(p=>p.fileId)??[],certificateOfIncorporation:o?.companyFiles.find(p=>p.documentType==="certificate_of_incorporation"),incDate:o?.incDate?.toDate(),typeOfIncorporation:{selectedOption:o?.typeOfIncorporation,allOptions:E.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:o?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},formationDocument:o?.companyFiles.find(p=>p.documentType==="company_formation_document")},[v]:Object.values(B).map((p,I)=>{const n=p,h=xt(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${I+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:wt(n?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:F?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:Ce(!0,n?.userFiles??[],h),back:Ce(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!z&&I===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},De=t=>`${t}_form`,Ft=d.div`
1
+ import{u as et,X as tt,a5 as Se,j as i,M as Te,i as G,a as it,ch as at,l as L,z as st,c3 as nt,aJ as ot,a0 as rt,K as lt,aW as ct,Y as dt,c4 as mt,bO as pt,bQ as ut,bR as ft,e as yt,F as ht,a7 as gt,o as r,C as P,m as $e,fE as xt,fc as Ce,cw as wt,c0 as St,a6 as Ct,t as ke,Q as bt,h as vt,q as k}from"./index-DTlzo6Yx.js";import{b as j,n as d}from"./vendor-CnQcJ2Lu.js";import{o as Dt,G as Tt}from"./CompanyOfficerDetailsSection-C7fuDGQk-IsFgAXuq.js";import{r as $t}from"./verification-CW6uEyev-DdkqedMU.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-BmSVDTMx-CBdRfhaZ.js";import"./LabeledCreatableSingleSelectField-Bh-cfR9F-Cgfy3beB.js";import"./LabeledDocumentField-YBoeNDoD-DV_I5uPN.js";import"./DocumentSecurityBanner-DV9HE3MK-LQKK6f7V.js";const x={width:new P(343,580,726),titleWidth:new P(343,580,726,826),subTitlePaddingTop:new P(12,k[3]),subTitlePaddingBottom:new P(k[3],k[3]),verificationDetailsRowGap:new P(12,k[5],k[5]),termsPaddingLeftRight:new P(k[0],k[3])},kt={stepTitle:new bt("h6Regular","h5Regular")},be="businessVerificationPage",b="companyDetails",v="companyOfficerDetails",{commonSetUp:{businessVerification:s},common:{settings:It,currency:Nt,footer:ve,strings:{empty:Pt}}}=Te.getLocalizedStrings(),pi=({businessVerificationDetails:t,allNationalityCountries:A,verficationDetailsFetchState:F,isRefreshingViewInBackground:_,filesEndPoint:o,authParams:B,productType:y,allIndustries:z,companyTitles:E,maxInsuredAmount:p,isDisabled:I,isSettings:n=!1,isOverlay:h=!1,analytics:g,isStepInProgress:w=!1,onAddressClick:H,onRegisteredAddressClick:Ne,onBackClick:O,onGetOtp:Pe,onVerifyOtp:je,onResendOtp:Fe,onSendForVerificationClick:Oe,onEditFileName:ee,onCompanyDetailsChanged:Ve,updateFilesEntity:te,onDeleteFile:ie,onDeleteFileList:Le,onCompanyOfficerUpdated:Ae,saveNewAddressInLocalStore:ae,onSaveDetailsClick:_e,onClickMenuIcon:Be})=>{const ze=et(),m=tt(),{updateStatus:R,companyView:V,companyDetailsLocalData:l,companyOfficerLocalData:S}=t,Ee=Se(R.fetchState),U=V?.company.company.featuresActivationInfo.connectedAccountProvider,Re=U==="unit"?i.jsxs(zt,{children:[s.terms.term1,i.jsx(G,{href:s.terms.consentUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.consent}),s.terms.term2,i.jsx(G,{href:s.terms.depositUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.depositTerms}),s.terms.term3,i.jsx(G,{href:s.terms.privacyPolicyUrl,onZeniLinkClick:()=>(g?.trackBillPayAgreement(),!0),linkText:s.terms.privacy}),s.terms.term4,i.jsx(G,{href:s.terms.tosUrl,onZeniLinkClick:()=>(g?.trackBillPayPrivacyPolicy(),!0),linkText:s.terms.tos}),s.terms.term5]}):s.terms.termsForStripe,[Ue,W]=j.useState(!1),[M,se]=j.useState("save"),[Z,Me]=j.useState(!1),u=it({mode:"all",reValidateMode:"onChange",defaultValues:jt(t,z,E,A)}),{isValid:Ge}=u.formState,q=V?.company.company.companyBillPayInfo,K=V?.company.company.companyTreasuryInfo,N=y==="zeni_treasury"?K?.companyVerificationStatus:q?.companyVerificationStatus,D=Object.values(S).findIndex(e=>e?.isSelectedForVerification===!0),T=`Officer_${D<0?1:D+1}`,We=()=>{const e=S[T],a=e?.email,c=e?.birthday?.toString(),f=e?.ownershipInCompany,C=e?.firstName,$=e?.lastName,re=e?.titleAtCompany,le=e?.documentTypeSelectedForVerification,ce=e?.phone,de=e?.addressStatus?.addressToCreate,me=de!=null?L.getFormattedAddress(de):void 0,pe=l?.companyDescription,J=l?.companyLegalName,ue=l?.companyIndustry,fe=l?.phone,ye=l?.website,he=l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0,Y=l?.primaryContactLocalData,ge=Y?.firstName,xe=Y?.lastName,we=Y?.email;a!=null&&f!=null&&C!=null&&$!=null&&c!=null&&re!=null&&ce!=null&&me!=null&&le!=null&&pe!=null&&J!=null&&fe!=null&&ye!=null&&ue!=null&&J!=null&&he!=null&&ge!=null&&xe!=null&&we!=null&&g?.trackBusinessVerificationSend({email:a,birthday:c.toString(),companyOwnership:f,firstName:C,lastName:$,companyRole:re,phone:ce,formattedAddress:me,documentTypeForVerification:le},{companyDescription:pe,legalName:J,phone:fe,website:ye.toString(),industry:ue,formattedAddress:he},{firstName:ge,lastName:xe,email:we},y,n?"Settings":void 0)},Ze=()=>{const e=S[T],a=l?.primaryContactLocalData,c=e?.email??"",f=!!e?.firstName&&!!e?.lastName,C=a?.email??"",$=!!a?.firstName&&!!a?.lastName;return c&&!f?((!e?.firstName||!e?.lastName)&&u.trigger(`${v}.${D<0?0:D}.name`,{shouldFocus:!0}),!1):C&&!$?((!a?.firstName||!a?.lastName)&&u.trigger(`${b}.primaryContactName`,{shouldFocus:!0}),!1):!0},qe=()=>{const e=S[T],a=l?.primaryContactLocalData,c=e?.email,f=a?.email;if(c){if(!f)return(a?.firstName||a?.lastName)&&u.trigger(`${b}.primaryContactEmail`,{shouldFocus:!0}),!1}else if(e?.firstName||e?.lastName||e?.birthday||e?.nationalityCountryCode||e?.ownershipInCompany||e?.phone||e?.ssn||e?.titleAtCompany||e?.addressStatus?.addressToCreate||e?.fileIds!=null&&e?.fileIds.length>0||Q!=null&&Q?.length>0)return u.trigger(`${v}.${D<0?0:D}.email`,{shouldFocus:!0}),!1;return!0},Ke=u.handleSubmit(()=>{if(M!=="verification"&&se("verification"),U==="unit"&&S[T]?.isPhoneVerified!==!0){u.setError(`${v}.${D}.phone`,{type:"custom"});return}const e=at(Object.values(S).map(c=>Object.values(c?.deleteFileStatusById??{}).filter(f=>f!=null))),a=Object.values(l?.deleteFileStatusById??{}).filter(c=>c!=null);L.reduceAllFetchState(e.concat(a)).fetchState!=="In-Progress"&&Ge&&(We(),Oe?.(T))}),Qe=async(e,a)=>{e.includes(b)?Ve?.(a[b]):e.includes(v)&&Ae?.(a[v])},Xe=j.useCallback(st((e,a)=>{Qe(e,a)},300),[]);j.useEffect(()=>{const e=u.watch((a,{name:c})=>{c!=null&&a!=null&&nt(()=>Xe(c,a))});return()=>{e.unsubscribe()}});const ne=Se(t.companyDetailsLocalData?.addressStatus);j.useEffect(()=>{t.companyDetailsLocalData?.addressStatus?.addressToCreate!=null&&t.companyDetailsLocalData?.registeredAddressStatus?.addressToCreate==null&&ne==null&&(ae?.("company_registered_address",t.companyDetailsLocalData?.addressStatus?.addressToCreate),u.setValue(`${b}.registeredAddress`,t.companyDetailsLocalData?.addressStatus?.addressToCreate))},[t.companyDetailsLocalData?.addressStatus,t.companyDetailsLocalData?.registeredAddressStatus,ne,ae,u]);const oe=V?.companyOfficers.slice(0,10).sort((e,a)=>e.user.createTime?.isAfter(a.user.createTime)===!0?1:-1),Q=oe?.map(e=>e.user),Je=oe?.map(e=>e.role),Ye={onOkClick:()=>{W(!1),O();const e=[],a=V?.company.company.incInfo.fileIds??[];u.getValues(`${b}.fileIds`).forEach(c=>{a.includes(c)||e.push(c)}),Je?.forEach((c,f)=>{const C=c?.fileIds??[];u.getValues(`${v}.${f}.fileIds`).forEach($=>{C.includes($)||e.push($)})}),e.length!==0&&Le?.(e)},onCancelClick:()=>{W(!1)}},He=ot(rt(p),p,Nt.currencySymbol).toUpperCase(),X=N?.code==="pending_review"||N?.code==="verified";return y==="zeni_treasury"&&N?.code==="pending_review"&&Ee==="In-Progress"&&R.fetchState==="Completed"?i.jsxs(qt,{children:[i.jsxs(Kt,{children:[i.jsx($t,{}),i.jsx(Qt,{windowSize:m,children:s.submittedTitle}),i.jsx(Zt,{isReadonly:!1,children:s.submittedDescription})]}),i.jsx(lt,{label:s.submittedButton,onClick:O,variant:"primary"})]}):i.jsxs(Ft,{isSettings:n,children:[i.jsx(ct,{title:h&&w===!0?Pt:s.header,backgroundColor:ze.colors.grey5,style:{zIndex:Z?1:4},onBackClick:()=>{mt(u.formState.dirtyFields)?W(!0):O()},showBackButton:!n&&!h,showMenuIcon:n?m==="medium-compact"||m==="small":!1,onClickMenuIcon:Be,rightSideComponent:h?i.jsx(Xt,{"data-testid":dt("nav-bar-close-business-verification-overlay"),onClick:()=>{O()}}):null,source:"BusinessVerificationPage"}),Ue===!0?i.jsx(pt,{titleComponent:i.jsx(ft,{children:s.discardTitle}),descriptionComponent:i.jsx(ut,{children:s.discardDescription}),primaryButtonText:s.discard,secondaryButtonText:s.cancel,action:Ye}):null,i.jsxs(Lt,{windowSize:m,children:[(!h||w===!1)&&i.jsx(Vt,{windowSize:m,children:n?It.infoText.businessVerification:s.title}),F==="In-Progress"||F==="Not-Started"?i.jsx(At,{children:i.jsx(yt,{size:"ExtraLarge",start:!0})}):i.jsx(ht,{...u,children:i.jsxs("form",{id:De(be),onSubmit:Ke,children:[h&&w===!0&&i.jsxs(Ot,{children:[i.jsxs(Et,{windowSize:m,children:[i.jsx(Rt,{windowSize:m,children:X?s.businessVerificationDetails:s.verifyBusinessDetails}),!X&&i.jsx(Ut,{children:i.jsxs(Mt,{children:[i.jsx(Gt,{}),i.jsx(Wt,{})]})})]}),i.jsx(Ie,{isReadonly:X,children:s.verifyBusinessDetailsDescription})]}),i.jsxs(_t,{children:[i.jsx(Dt,{companyOfficerData:S,allNationalityCountries:A,allOfficers:Q??[],sectionId:v,isRefreshingViewInBackground:_,connectedAccountProvider:U,productType:"business_verification",updateFilesEntity:te,onEditFileName:ee,onOfficerAddressClick:H,onDeleteFile:ie,isDisabled:I,filesEndPoint:o,authParams:B,isPopupOpen:Z,openPopup:Me,onGetOtp:Pe,onVerifyOtp:je,onResendOtp:Fe,companyTitles:E,isForTreasury:y==="zeni_treasury",isOverlay:h}),i.jsx(Tt,{companyDetails:l,businessVerificationProps:{companyVerificationStatus:N,isRefreshingViewInBackground:_},productType:"business_verification",showTreasuryFields:y==="zeni_treasury",sectionId:b,isDisabled:N?.code==="pending_review"||N?.code==="verified"?"readonly":I,fileProps:{authParams:B,filesEndPoint:o,onEditFileName:ee,onDeleteFile:ie,updateFilesEntity:te},onCompanyAddressClick:H,onRegisteredAddressClick:Ne,connectedAccountProvider:U,allIndustries:z})]}),y==="zeni_accounts"?i.jsx(Bt,{windowSize:m,children:s.threadText.replace("__amount__",He)}):null]})})]}),F==="Completed"&&(y==="zeni_treasury"?K?.companyVerificationStatus?.code!=="pending_review"&&K?.companyVerificationStatus?.code!=="verified":q?.businessVerificationStatus?.code!=="pending_review"&&q?.businessVerificationStatus?.code!=="verified")?i.jsx(gt,{formId:De(be),primaryBtn:{label:w?ve.submit:s.sendForVerificationButton,style:{width:"auto",minWidth:m==="small"?"auto":w?"83px":"181px"},isLoading:M==="verification"&&R.fetchState==="In-Progress",isDisabled:I!=null},containerStyle:{width:m==="small"?x.width.valuePx(m):"auto",justifyContent:m==="small"?"space-between":"center"},helperStyle:{width:m==="small"?x.width.valuePx(m):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(m),paddingRight:x.termsPaddingLeftRight.valuePx(m),textAlign:m==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:w?ve.back:s.saveDetailsButton,style:{width:m==="small"?"auto":w?"83px":"181px"},isLoading:M==="save"&&R.fetchState==="In-Progress",onClick:()=>{if(w)O();else{const e=S[T],a=l?.primaryContactLocalData;M!=="save"&&se("save");const c=e?.email??"",f=Ze(),C=qe();f&&C&&(g?.trackBusinessVerificationSave({email:c,birthday:e?.birthday?.toString(),companyOwnership:e?.ownershipInCompany,firstName:e?.firstName,lastName:e?.lastName,companyRole:e?.titleAtCompany,phone:e?.phone,formattedAddress:e?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(e?.addressStatus?.addressToCreate):void 0,documentTypeForVerification:e?.documentTypeSelectedForVerification},{companyDescription:l?.companyDescription,legalName:l?.companyLegalName,phone:l?.phone,website:l?.website?.toString(),industry:l?.companyIndustry??"",formattedAddress:l?.addressStatus?.addressToCreate!=null?L.getFormattedAddress(l?.addressStatus?.addressToCreate):void 0},{firstName:a?.firstName,lastName:a?.lastName,email:a?.email},y,n?"Settings":void 0),_e?.(T))}}},helperText:Re,style:{padding:`12px ${r.sp3}`,zIndex:Z?0:4}}):null]})},jt=(t,A,F,_)=>{const{companyDetailsLocalData:o,companyOfficerLocalData:B,companyView:y}=t,z=Te.getLocalizedStrings().companyPassport,E=y?.companyOfficers!=null&&y?.companyOfficers.length>0;return{[b]:{companyDescription:o?.companyDescription??"",ein:o?.companyFiles.find(p=>p.documentType==="tax_ein"),companyId:o?.companyId??"",syncToken:o?.syncToken,companyLegalName:o?.companyLegalName??"",companyWebsite:o?.website?.toString()??"",companyAddress:o?.addressStatus?.addressToCreate,registeredAddress:o?.registeredAddressStatus?.addressToCreate,companyIndustry:{selectedOption:o?.companyIndustry,allOptions:A?.map(p=>p.code)},companyPhone:o?.phone??"",companyTaxId:o?.taxIdOrEIN??"",primaryContactName:{firstName:o?.primaryContactLocalData?.firstName??"",lastName:o?.primaryContactLocalData?.lastName??""},primaryContactEmail:o?.primaryContactLocalData?.email??"",primaryContactUserId:o?.primaryContactLocalData?.userId,primaryContactSyncToken:o?.primaryContactLocalData?.syncToken,fileIds:o?.companyFiles.map(p=>p.fileId)??[],certificateOfIncorporation:o?.companyFiles.find(p=>p.documentType==="certificate_of_incorporation"),incDate:o?.incDate?.toDate(),typeOfIncorporation:{selectedOption:o?.typeOfIncorporation,allOptions:z.companyIncInfo.allTypesOfIncorporation},sourceOfFunds:{selectedOption:o?.sourceOfFunds??"",allOptions:Object.keys(s.sourceOfFundOptions)},formationDocument:o?.companyFiles.find(p=>p.documentType==="company_formation_document")},[v]:Object.values(B).map((p,I)=>{const n=p,h=xt(n?.documentTypeSelectedForVerification);return{userId:n?.userId,officerType:n?.officerType??`Officer_${I+1}`,name:{firstName:n?.firstName,lastName:n?.lastName},email:n?.email,fileIds:n?.fileIds??[],dob:n?.birthday?.toDate(),nationalityCountryCode:wt(n?.nationalityCountryCode,_.map(g=>g.countryCode)),ssn:n?.ssn,role:{selectedOption:n?.titleAtCompany,allOptions:F?.map(g=>g.code)},phone:n?.phone??"",ownership:n?.ownershipInCompany,officerAddress:n?.addressStatus?.addressToCreate,selectDocument:{front:Ce(!0,n?.userFiles??[],h),back:Ce(!1,n?.userFiles??[],h),selectDocumentType:h},isSelectedForVerification:!E&&I===0?!0:n?.isSelectedForVerification??!1,userVerificationStatus:n?.userVerificationStatus,treasuryUserVerificationStatus:n?.treasuryUserVerificationStatus,syncToken:n?.syncToken,isPhoneVerified:n?.isPhoneVerified,otpChallenge:n?.otpChallenge}})}},De=t=>`${t}_form`,Ft=d.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -48,11 +48,11 @@ import{u as et,X as tt,a5 as Se,j as i,M as Te,i as G,a as it,ch as at,l as L,A
48
48
  text-align: center;
49
49
  color: ${t=>t.theme.colors.grey1};
50
50
  width: ${t=>x.width.valuePx(t.windowSize)};
51
- `,Et=d($e)`
51
+ `,zt=d($e)`
52
52
  text-align: center;
53
53
  max-width: 750px;
54
54
  color: ${t=>t.theme.colors.hero};
55
- `,zt=d.div`
55
+ `,Et=d.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  gap: ${r.sp3};
@@ -1,4 +1,4 @@
1
- import{X as g,M as w,j as t,r as x,Q as $,o as s,h as C}from"./index-BFn0iyzF.js";import{n as o,b as d}from"./vendor-CnQcJ2Lu.js";const y=e=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:n,spendManagement:{chargeCard:r}}=w.getLocalizedStrings(),f={subText:new $("extraSmallRegular","standardRegular")},R=({cardDetail:e,forDetailPage:a})=>{const h=g(),u=e.type.code.includes("credit")?r.chargeCardsPromo.credit:r.chargeCardsPromo.debit;let l=e.type.code.includes("physical")?r.cardList.physicalCard:r.cardList.virtualCard;const i=n.strings.space+r.cardDetails.expiryHideOut+n.strings.space+e.accountLast4,m=e.status.code==="request_on_hold"||!a?l:i,c=e.type.code.includes("physical");return t.jsxs(v,{windowSize:h,forDetailPage:a,className:"cardName",title:`${m}`,children:[u,t.jsx(H,{}),l,c&&!a?t.jsx(p,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!a?null:i,c&&a?t.jsx(p,{}):null]})},v=o(C)`
1
+ import{X as g,M as w,j as t,r as x,Q as $,o as s,h as C}from"./index-DTlzo6Yx.js";import{n as o,b as d}from"./vendor-CnQcJ2Lu.js";const y=e=>d.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.802551 6.92395C0.802551 5.2671 2.1457 3.92395 3.80255 3.92395H20.2009C21.8578 3.92395 23.2009 5.2671 23.2009 6.92395V17.076C23.2009 18.7329 21.8578 20.076 20.2009 20.076H3.80255C2.1457 20.076 0.802551 18.7329 0.802551 17.076V10.8805H23.1896V9.01135H0.802551V6.92395ZM0.802551 9.01135H0.799072V10.8805H0.802551V9.01135ZM14.5443 15.6222C14.5443 15.0935 14.9728 14.6649 15.5015 14.6649H18.1386C18.6673 14.6649 19.0959 15.0935 19.0959 15.6222C19.0959 16.1509 18.6673 16.5795 18.1386 16.5795H15.5015C14.9728 16.5795 14.5443 16.1509 14.5443 15.6222Z",fill:"currentColor"})),{common:n,spendManagement:{chargeCard:r}}=w.getLocalizedStrings(),f={subText:new $("extraSmallRegular","standardRegular")},R=({cardDetail:e,forDetailPage:a})=>{const h=g(),u=e.type.code.includes("credit")?r.chargeCardsPromo.credit:r.chargeCardsPromo.debit;let l=e.type.code.includes("physical")?r.cardList.physicalCard:r.cardList.virtualCard;const i=n.strings.space+r.cardDetails.expiryHideOut+n.strings.space+e.accountLast4,m=e.status.code==="request_on_hold"||!a?l:i,c=e.type.code.includes("physical");return t.jsxs(v,{windowSize:h,forDetailPage:a,className:"cardName",title:`${m}`,children:[u,t.jsx(H,{}),l,c&&!a?t.jsx(p,{className:"physical-card-icon"}):null,e.status.code==="request_on_hold"||!a?null:i,c&&a?t.jsx(p,{}):null]})},v=o(C)`
2
2
  ${e=>e.forDetailPage?{...x.extraSmallRegular.cssObject}:`${f.subText.style(e.windowSize)}`};
3
3
  color: ${e=>e.theme.colors.hero};
4
4
  max-width: 100%;
@@ -1,4 +1,4 @@
1
- import{u as k,X as f,j as t,aW as te,M as w,cO as P,r as u,ao as q,bC as ie,o as i,g as B,C as h,t as v,de as oe,l as y,q as l,b6 as re,b7 as ae,aB as se,aA as ne,aJ as de,b8 as le,ba as ce,ix as he,_ as O,bm as pe,Y as z,v as $,iy as X,iz as _,ig as me,bY as ge,b$ as xe,m as T,ih as we,ii as ue}from"./index-BFn0iyzF.js";import{n as o,f as Y,b as V}from"./vendor-CnQcJ2Lu.js";import{F as ye}from"./InsightsSection-CCzgI0uK-YzyDaTgw.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-Toh5TKEv-CA0n9HQq.js";const be=({x:e,y:s,width:n,height:a,payload:r})=>{const c=k();return t.jsx(he,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:s,width:n,height:a})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,fe=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,$e=({active:e,payload:s,label:n})=>e===!0&&(s?.[0].payload).showTooltip===!0?t.jsx(ve,{children:t.jsx(je,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(G,{children:W.month})," ",t.jsx(A,{children:y.getZeniDateFromPeriod(n).format(fe)})]}),t.jsxs(E,{children:[t.jsx(G,{children:W.cashback}),t.jsx(A,{children:O("0,0.[00]",{amount:s?.[0].value??0,currencyCode:(s?.[0].payload).currencyCode,currencySymbol:(s?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
1
+ import{u as k,X as f,j as t,aW as te,M as w,cO as L,r as u,ao as q,bC as ie,o as i,g as B,C as h,t as v,de as oe,l as y,q as l,b6 as re,b7 as ae,aB as se,aA as ne,aJ as de,b8 as le,ba as ce,ix as he,_ as O,bm as pe,Y as P,v as $,iy as X,iz as _,ig as me,bY as ge,b$ as xe,m as T,ih as we,ii as ue}from"./index-DTlzo6Yx.js";import{n as o,f as Y,b as V}from"./vendor-CnQcJ2Lu.js";import{F as ye}from"./InsightsSection-DYyHpcUE-N_KvwWiO.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-6Q5ZVqKl-C4jKPBGn.js";const be=({x:e,y:s,width:n,height:a,payload:r})=>{const c=k();return t.jsx(he,{fill:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",stroke:(r?.[0].payload).showTooltip===!0?c.colors.background:"transparent",x:e,y:s,width:n,height:a})},W=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,fe=w.getLocalizedStrings().dateFormat.visual.MMMMFormat,$e=({active:e,payload:s,label:n})=>e===!0&&(s?.[0].payload).showTooltip===!0?t.jsx(ve,{children:t.jsx(je,{children:t.jsxs("div",{children:[t.jsxs(E,{children:[t.jsx(G,{children:W.month})," ",t.jsx(A,{children:y.getZeniDateFromPeriod(n).format(fe)})]}),t.jsxs(E,{children:[t.jsx(G,{children:W.cashback}),t.jsx(A,{children:O("0,0.[00]",{amount:s?.[0].value??0,currencyCode:(s?.[0].payload).currencyCode,currencySymbol:(s?.[0].payload).currencySymbol})})]})]})})}):null,E=o.div`
2
2
  display: flex;
3
3
  gap: ${i.sp1};
4
4
  `,ve=o.div`
@@ -20,11 +20,11 @@ import{u as k,X as f,j as t,aW as te,M as w,cO as P,r as u,ao as q,bC as ie,o as
20
20
  `,G=o($)`
21
21
  color: ${e=>e.theme.colors.hero};
22
22
  min-width: 107px;
23
- `,ke=Y.memo($e),{dateFormat:{visual:{MMMYYFormat:Se,YYYYDashMMFormat:Q}},common:{currency:D}}=w.getLocalizedStrings(),Ce=({chartData:e,customToolTipContent:s,width:n,height:a})=>{const r=k();return t.jsx(Me,{width:n,height:a,children:t.jsx(q,{children:({height:c,width:p})=>t.jsxs(re,{width:p,height:c,data:e,barCategoryGap:"25%",margin:{top:5,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(ae,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(se,{dataKey:"period",type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:m=>y.getZeniDateFromPeriod(m).format(Se)}),t.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:m=>de("0,0.[00]a",m,e?.[0].currencySymbol??D.currencySymbol)}),t.jsx(le,{cursor:t.jsx(be,{}),content:s}),t.jsx(ce,{dataKey:"amount",fill:r.colors.brandColorJadeDark,barSize:36})]})})})};function Pe({cashbackByPeriod:e,width:s,height:n}){const a=oe(e,c=>y.getZeniDateFromPeriod(c.period),"asc"),r=Le(a);return t.jsx(Ce,{chartData:r,customToolTipContent:({active:c,payload:p,label:m})=>t.jsx(ke,{active:c,payload:p,label:m}),width:s,height:n})}const ze=e=>e.format(Q),Le=e=>{const s=e.map(r=>({...r,showTooltip:!0})),n=e[e.length-1];let a=n?.period??y.dateNow().subtract(1,"M").format(Q);for(;s.length<12;){const r={amount:0,period:ze(y.getZeniDateFromPeriod(a).add(1,"M")),showTooltip:!1,currencyCode:n?.currencyCode??D.currencyCode,currencySymbol:n?.currencySymbol??D.currencySymbol};s.push(r),a=r.period}return s},Me=o.div`
23
+ `,ke=Y.memo($e),{dateFormat:{visual:{MMMYYFormat:Se,YYYYDashMMFormat:Q}},common:{currency:D}}=w.getLocalizedStrings(),Ce=({chartData:e,customToolTipContent:s,width:n,height:a})=>{const r=k();return t.jsx(Me,{width:n,height:a,children:t.jsx(q,{children:({height:c,width:p})=>t.jsxs(re,{width:p,height:c,data:e,barCategoryGap:"25%",margin:{top:5,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},children:[t.jsx(ae,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:r.colors.grey3}),t.jsx(se,{dataKey:"period",type:"category",axisLine:{stroke:r.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:m=>y.getZeniDateFromPeriod(m).format(Se)}),t.jsx(ne,{type:"number",axisLine:!1,tickLine:!1,tick:{color:r.colors.hero,...u.extraSmallRegular.cssObject},tickFormatter:m=>de("0,0.[00]a",m,e?.[0].currencySymbol??D.currencySymbol)}),t.jsx(le,{cursor:t.jsx(be,{}),content:s}),t.jsx(ce,{dataKey:"amount",fill:r.colors.brandColorJadeDark,barSize:36})]})})})};function Le({cashbackByPeriod:e,width:s,height:n}){const a=oe(e,c=>y.getZeniDateFromPeriod(c.period),"asc"),r=ze(a);return t.jsx(Ce,{chartData:r,customToolTipContent:({active:c,payload:p,label:m})=>t.jsx(ke,{active:c,payload:p,label:m}),width:s,height:n})}const Pe=e=>e.format(Q),ze=e=>{const s=e.map(r=>({...r,showTooltip:!0})),n=e[e.length-1];let a=n?.period??y.dateNow().subtract(1,"M").format(Q);for(;s.length<12;){const r={amount:0,period:Pe(y.getZeniDateFromPeriod(a).add(1,"M")),showTooltip:!1,currencyCode:n?.currencyCode??D.currencyCode,currencySymbol:n?.currencySymbol??D.currencySymbol};s.push(r),a=r.period}return s},Me=o.div`
24
24
  width: ${e=>e.width}px;
25
25
  height: ${e=>e.height}px;
26
26
  background: ${e=>e.theme.colors.grey5};
27
- `,U=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,De={key:"month",value:U.month,sortOrder:"ascending",width:new h(50,50)},Fe={key:"cashback",value:U.cashback,sortOrder:"ascending",width:new h(50,50)},ee=()=>[De,Fe],b={headerLastColumnTopPadding:new h(l[0],l[4]),headerLastColumnRightPadding:new h(l[3],l[11]),headerLastColumnBottomPadding:new h(l[0],l[4]),headerLastColumnLeftPadding:new h(l[3],l[11]),headerHeight:new h(we,ue)};function Ie({sortConfig:e,onColumnSortConfigChanged:s}){const n=k(),a=f(),[r,c]=V.useState(ee());V.useEffect(()=>{const d=[...r];for(const g of d)g.key===e.sortKey?g.sortOrder=e.sortOrder:g.sortOrder="ascending";c(d)},[e.sortKey,e.sortOrder]);const p=(d,g)=>{let K=g;e.sortKey===d&&(K=g==="ascending"?"descending":"ascending"),s(d,K)},m=r.find(d=>d.key===e.sortKey)??r[0],S=d=>r.find(g=>g.key===d)?.value??"",C=r.map(d=>d.key),R=w.getLocalizedStrings().spendManagement.chargeCard.cardList;return a==="small"?t.jsxs(Z,{windowSize:a,children:[t.jsxs(Ye,{children:[t.jsx(Ke,{children:t.jsx(Re,{})}),t.jsx(pe,{title:R.sortBy,placeholder:R.sortBy,pickerValues:C,valueToLabel:S,selectedValue:e.sortKey,onPickerSelectionChanged:d=>{p(d,"ascending")},optionTextStyle:u.smallRegular,titleTextStyle:u.smallRegular,titleColor:n.colors.primary,selectedOptionColor:n.colors.hero,optionBackgroundColor:n.colors.grey5,downChevronVisible:!1,backgroundColor:n.colors.grey4})]}),t.jsxs(Ee,{onClick:()=>p(m.key,m.sortOrder),"data-testid":z("cashback-list-header-mobile",m.value),children:[t.jsx($,{children:m.value}),t.jsx(H,{sortDataValue:e.sortKey,headerdata:m,children:t.jsx(J,{})})]})]}):t.jsx(Z,{windowSize:a,children:r.map((d,g)=>t.jsxs(Oe,{sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isLastItem:g===r.length-1,windowSize:a,children:[t.jsxs(We,{onClick:()=>p(d.key,d.sortOrder),"data-testid":z("cashback-list-header",d.value),children:[t.jsx($,{children:d.value}),t.jsx(H,{sortDataValue:e.sortKey,headerdata:d,children:t.jsx(J,{})})]}),t.jsx(Ve,{sortDataValue:e.sortKey,windowSize:a,isVisible:e.sortKey===d.key&&d.key!=="month",children:t.jsx(Te,{onClick:()=>p("month","ascending"),"data-testid":z("cashback-list-close-sort",d.key)})})]},d.key))})}const Be=Y.memo(Ie),Z=o($)`
27
+ `,U=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail.header,De={key:"month",value:U.month,sortOrder:"ascending",width:new h(50,50)},Fe={key:"cashback",value:U.cashback,sortOrder:"ascending",width:new h(50,50)},ee=()=>[De,Fe],b={headerLastColumnTopPadding:new h(l[0],l[4]),headerLastColumnRightPadding:new h(l[3],l[11]),headerLastColumnBottomPadding:new h(l[0],l[4]),headerLastColumnLeftPadding:new h(l[3],l[11]),headerHeight:new h(we,ue)};function Ie({sortConfig:e,onColumnSortConfigChanged:s}){const n=k(),a=f(),[r,c]=V.useState(ee());V.useEffect(()=>{const d=[...r];for(const g of d)g.key===e.sortKey?g.sortOrder=e.sortOrder:g.sortOrder="ascending";c(d)},[e.sortKey,e.sortOrder]);const p=(d,g)=>{let K=g;e.sortKey===d&&(K=g==="ascending"?"descending":"ascending"),s(d,K)},m=r.find(d=>d.key===e.sortKey)??r[0],S=d=>r.find(g=>g.key===d)?.value??"",C=r.map(d=>d.key),R=w.getLocalizedStrings().spendManagement.chargeCard.cardList;return a==="small"?t.jsxs(Z,{windowSize:a,children:[t.jsxs(Ye,{children:[t.jsx(Ke,{children:t.jsx(Re,{})}),t.jsx(pe,{title:R.sortBy,placeholder:R.sortBy,pickerValues:C,valueToLabel:S,selectedValue:e.sortKey,onPickerSelectionChanged:d=>{p(d,"ascending")},optionTextStyle:u.smallRegular,titleTextStyle:u.smallRegular,titleColor:n.colors.primary,selectedOptionColor:n.colors.hero,optionBackgroundColor:n.colors.grey5,downChevronVisible:!1,backgroundColor:n.colors.grey4})]}),t.jsxs(Ee,{onClick:()=>p(m.key,m.sortOrder),"data-testid":P("cashback-list-header-mobile",m.value),children:[t.jsx($,{children:m.value}),t.jsx(J,{sortDataValue:e.sortKey,headerdata:m,children:t.jsx(H,{})})]})]}):t.jsx(Z,{windowSize:a,children:r.map((d,g)=>t.jsxs(Oe,{sortDataValue:e.sortKey,actualDataValue:d.key,wrapperWidth:d.width,isLastItem:g===r.length-1,windowSize:a,children:[t.jsxs(We,{onClick:()=>p(d.key,d.sortOrder),"data-testid":P("cashback-list-header",d.value),children:[t.jsx($,{children:d.value}),t.jsx(J,{sortDataValue:e.sortKey,headerdata:d,children:t.jsx(H,{})})]}),t.jsx(Ve,{sortDataValue:e.sortKey,windowSize:a,isVisible:e.sortKey===d.key&&d.key!=="month",children:t.jsx(Te,{onClick:()=>p("month","ascending"),"data-testid":P("cashback-list-close-sort",d.key)})})]},d.key))})}const Be=Y.memo(Ie),Z=o($)`
28
28
  top: ${i.sp0};
29
29
  left: ${i.sp0};
30
30
  min-height: ${e=>b.headerHeight.valuePx(e.windowSize)};
@@ -55,12 +55,12 @@ import{u as k,X as f,j as t,aW as te,M as w,cO as P,r as u,ao as q,bC as ie,o as
55
55
  height: 12px;
56
56
  cursor: pointer;
57
57
  color: ${e=>e.theme.colors.hero};
58
- `,H=o.div`
58
+ `,J=o.div`
59
59
  display: flex;
60
60
  align-items: center;
61
61
  transform: ${e=>e.sortDataValue===e.headerdata.key&&e.headerdata.sortOrder==="descending"?"rotate(180deg)":"rotate(0deg)"};
62
62
  ${e=>e.headerdata.sortOrder==="ascending"?"padding-top: 2px":"padding-bottom: 2px"}
63
- `,J=o(ge)`
63
+ `,H=o(ge)`
64
64
  width: 12px;
65
65
  height: 12px;
66
66
  cursor: pointer;
@@ -94,9 +94,9 @@ import{u as k,X as f,j as t,aW as te,M as w,cO as P,r as u,ao as q,bC as ie,o as
94
94
  &:hover {
95
95
  color: ${e=>e.theme.colors.primary};
96
96
  }
97
- `,x={containerPaddingLeft:new h(l[3],l[4]),containerPaddingRight:new h(l[3],l[4]),containerPaddingTop:new h(l[2],16),containerPaddingBottom:new h(l[2],16),containerMarginLeft:new h(l[4],l[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:Ae}},dateFormat:{visual:Ge}}=w.getLocalizedStrings(),Ze=({cashbackPeriod:e,isFirstItem:s,isLastItem:n})=>{const a=f(),r=ee(),c=X(e.period),p=_(c);return t.jsx(qe,{windowSize:a,isFirstItem:s,isLastItem:n,children:t.jsx(Xe,{children:t.jsxs(_e,{children:[t.jsx(Qe,{windowSize:a,responsiveWidth:r[0].width,children:t.jsxs(Ue,{windowSize:a,children:[y.getZeniDateFromPeriod(e.period).format(Ge.MMMMYYYYFormat),p?t.jsxs(Je,{children:[t.jsx(Ne,{}),t.jsx(He,{children:Ae.tillDate})]}):null]})}),t.jsx(et,{windowSize:a,responsiveWidth:r[1].width,children:t.jsx(tt,{windowSize:a,children:O("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},He=o(T)`
97
+ `,x={containerPaddingLeft:new h(l[3],l[4]),containerPaddingRight:new h(l[3],l[4]),containerPaddingTop:new h(l[2],16),containerPaddingBottom:new h(l[2],16),containerMarginLeft:new h(l[4],l[8]),webkitLineClamp:new h(2,1,1,1,1)},{spendManagement:{chargeCard:{cashbackDetail:Ae}},dateFormat:{visual:Ge}}=w.getLocalizedStrings(),Ze=({cashbackPeriod:e,isFirstItem:s,isLastItem:n})=>{const a=f(),r=ee(),c=X(e.period),p=_(c);return t.jsx(qe,{windowSize:a,isFirstItem:s,isLastItem:n,children:t.jsx(Xe,{children:t.jsxs(_e,{children:[t.jsx(Qe,{windowSize:a,responsiveWidth:r[0].width,children:t.jsxs(Ue,{windowSize:a,children:[y.getZeniDateFromPeriod(e.period).format(Ge.MMMMYYYYFormat),p?t.jsxs(He,{children:[t.jsx(Ne,{}),t.jsx(Je,{children:Ae.tillDate})]}):null]})}),t.jsx(et,{windowSize:a,responsiveWidth:r[1].width,children:t.jsx(tt,{windowSize:a,children:O("0,0.[00]",{amount:e.amount,currencyCode:e.currencyCode,currencySymbol:e.currencySymbol})})})]})})})},Je=o(T)`
98
98
  color: ${e=>e.theme.colors.grey1};
99
- `,Je=o.div`
99
+ `,He=o.div`
100
100
  display: flex;
101
101
  align-items: center;
102
102
  `,Ne=o.div`
@@ -243,13 +243,13 @@ import{u as k,X as f,j as t,aW as te,M as w,cO as P,r as u,ao as q,bC as ie,o as
243
243
  max-height: 1px;
244
244
  margin-left: ${e=>N.separatorMarginLeftRight.valuePx(e.windowSize)};
245
245
  margin-right: ${e=>N.separatorMarginLeftRight.valuePx(e.windowSize)};
246
- `,I={pageContentPaddingLeftRight:new h(l[3],l[8]),cashbackSummaryContainerGap:new h(l[3],96)},j=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail,Yt=({insightsData:e,cashbackByPeriod:s,uiState:n,cashbackSummary:a,onBackClick:r,onColumnSortConfigChanged:c})=>{const p=k(),m=f();return t.jsxs(St,{children:[t.jsx(te,{title:j.title,showBackButton:!0,showMenuIcon:!1,style:{zIndex:3},onBackClick:r,backgroundColor:p.colors.grey5,source:"CashbackDetailPage"}),t.jsxs(ft,{windowSize:m,children:[t.jsxs($t,{windowSize:m,children:[t.jsxs(L,{children:[t.jsx(M,{children:j.totalEarned}),t.jsx(P,{amount:a.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(L,{children:[t.jsx(M,{children:j.redeemed}),t.jsx(P,{amount:a.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(L,{children:[t.jsx(M,{children:j.available}),t.jsx(P,{amount:a.cashbackAvailable,style:{color:p.colors.brandColorGoldDark},decimalStyles:u.largeSemiBold.cssObject})]})]}),t.jsx(vt,{children:t.jsx(q,{children:({height:S,width:C})=>t.jsx(Pe,{cashbackByPeriod:s,width:C,height:S})})}),t.jsx(jt,{children:t.jsx(ye,{insights:[{...e}],summaryTextStyles:{fontWeight:ie.regular,color:p.colors.primary}})})]}),t.jsx(kt,{children:t.jsx(xt,{cashbackByPeriod:s,uiState:n,onColumnSortConfigChanged:c})})]})},ft=o.div`
246
+ `,I={pageContentPaddingLeftRight:new h(l[3],l[8]),cashbackSummaryContainerGap:new h(l[3],96)},j=w.getLocalizedStrings().spendManagement.chargeCard.cashbackDetail,Yt=({insightsData:e,cashbackByPeriod:s,uiState:n,cashbackSummary:a,onBackClick:r,onColumnSortConfigChanged:c})=>{const p=k(),m=f();return t.jsxs(St,{children:[t.jsx(te,{title:j.title,showBackButton:!0,showMenuIcon:!1,style:{zIndex:3},onBackClick:r,backgroundColor:p.colors.grey5,source:"CashbackDetailPage"}),t.jsxs(ft,{windowSize:m,children:[t.jsxs($t,{windowSize:m,children:[t.jsxs(z,{children:[t.jsx(M,{children:j.totalEarned}),t.jsx(L,{amount:a.cashbackEarned,style:{color:p.colors.brandColorJadeDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(z,{children:[t.jsx(M,{children:j.redeemed}),t.jsx(L,{amount:a.cashbackRedeemed,style:{color:p.colors.brandColorOpalDark},decimalStyles:u.largeSemiBold.cssObject})]}),t.jsxs(z,{children:[t.jsx(M,{children:j.available}),t.jsx(L,{amount:a.cashbackAvailable,style:{color:p.colors.brandColorGoldDark},decimalStyles:u.largeSemiBold.cssObject})]})]}),t.jsx(vt,{children:t.jsx(q,{children:({height:S,width:C})=>t.jsx(Le,{cashbackByPeriod:s,width:C,height:S})})}),t.jsx(jt,{children:t.jsx(ye,{insights:[{...e}],summaryTextStyles:{fontWeight:ie.regular,color:p.colors.primary}})})]}),t.jsx(kt,{children:t.jsx(xt,{cashbackByPeriod:s,uiState:n,onColumnSortConfigChanged:c})})]})},ft=o.div`
247
247
  position: relative;
248
248
  box-shadow: ${B.dropShadowNormalLight} 2px 2px ${i.sp1};
249
249
  background-color: ${e=>e.theme.colors.grey5};
250
250
  padding-left: ${e=>I.pageContentPaddingLeftRight.valuePx(e.windowSize)};
251
251
  padding-right: ${e=>I.pageContentPaddingLeftRight.valuePx(e.windowSize)};
252
- `,L=o.div`
252
+ `,z=o.div`
253
253
  min-width: 103px;
254
254
  display: flex;
255
255
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{u as Ye,X as Ce,y as st,d3 as dt,fe as Ka,l as Ze,gY as qr,ab as _e,M as he,ff as Xa,j as t,gm as Gr,aW as Kr,q as c,fn as Ja,_ as xe,Y,o as a,bt as Pt,g as p,ij as Qa,r as Z,bO as Xr,ik as Jr,cI as Qr,gd as ei,a as ti,gg as ai,co as ri,C as I,p as ii,F as oi,fF as ni,K as ft,aZ as si,bf as er,a9 as Mt,il as di,im as tr,b5 as ar,av as Vt,eS as ci,aa as rr,ak as li,io as hi,ip as pi,aq as Ot,v as me,ew as ui,ie as mi,ee as ct,fg as ir,e as nt,ao as gi,dj as Ci,bT as fi,bQ as wi,cv as xi,gV as yi,t as ye,eY as or,iq as bi,fh as je,dr as wt,c_ as Si,Q as ha,h as nr,as as $i,ir as vi,eQ as ki,bY as sr,is as Li,w as mt,bC as pa,aR as ji,db as Ii,eB as Di,m as at,fb as Ai,Z as Ti,k as Ri,a6 as Fi,a$ as Ei,it as yt,cW as zi,bm as Pi,iu as dr,iv as cr,f$ as lr,iw as xt,hH as hr,ig as Mi,b$ as Vi,eb as pr,ih as Oi,ii as Hi,c$ as Ni,cq as Bi,ei as Wi,bF as Ui,bG as _i}from"./index-BFn0iyzF.js";import{b as o,n as r,j as pe,f as Zi,k as ur}from"./vendor-CnQcJ2Lu.js";import{f as Yi}from"./NavigationDots-Toh5TKEv-CA0n9HQq.js";import{L as qi,H as et,U as ua,M as mr,F as gr,_ as Cr}from"./ChargeCardUtils-CVC43_6w-CF1lXmY5.js";import{A as Gi,i as Ki,a as Xi,l as Ji,r as Qi,t as eo,n as to}from"./add-to-wallet-DgdBD8_G-DcfyMc0W.js";import{R as ao}from"./CardNumberSubText-DoWj5vAy-UIXS_891.js";import{r as fr}from"./mui-C5LQ0bMa.js";import{l as wr}from"./uploadReceipts-Buvz7DfG-C9miDyXe.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const xr=he.getLocalizedStrings().spendManagement.chargeCard,ro=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:m,isChargeCardSetupEnabled:u,chargeCardDetailView:s,productInformation:x,creditAccountInformation:l,debitAccountInformation:f,creditAccount:w,creditAccountRepayment:n,cardIssuedByRoles:C,cardIssuedByDepartmentName:b,cardHolderRoles:L,cardHolderDepartmentName:S,appleWalletLink:$,googleWalletLink:y,style:g,showDrawerAnimation:D,setWalletType:v,setIsAddToWalletDrawerOpen:O,isDebitCard:T})=>{const z=dt().analytics,{isIPadScreen:G}=hi(),{isAndroidScreen:J}=pi(),U=st(),A=Ze.hasChargeCardAdminLevelAccess(U.loggedInUserRoleMap);return t.jsx(io,{style:g,children:G===!0?t.jsx(zt,{onClick:()=>{et({chargeCardDetailView:s,classListFetchState:i,analytics:z,isDebitCard:T,isChargeCardAdmin:A,cardIssuedByRoles:C,cardIssuedByDepartmentName:b,cardHolderRoles:L,cardHolderDepartmentName:S,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:x,creditAccountInformation:l,debitAccountInformation:f,isChargeCardFeatureEnabled:d,creditAccount:w,creditAccountRepayment:n}),window.open($,"_blank")}}):J===!0?t.jsx(Et,{onClick:()=>{et({chargeCardDetailView:s,classListFetchState:i,analytics:z,isDebitCard:T,isChargeCardAdmin:A,cardIssuedByRoles:C,cardIssuedByDepartmentName:b,cardHolderRoles:L,cardHolderDepartmentName:S,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:x,creditAccountInformation:l,debitAccountInformation:f,isChargeCardFeatureEnabled:d,creditAccount:w,creditAccountRepayment:n}),window.open(y,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(zt,{onClick:()=>{v("apple"),D.current="slide-in-right-to-left-add-to-wallet",et({chargeCardDetailView:s,classListFetchState:i,analytics:z,isDebitCard:T,isChargeCardAdmin:A,cardIssuedByRoles:C,cardIssuedByDepartmentName:b,cardHolderRoles:L,cardHolderDepartmentName:S,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:d,productInformation:x,creditAccountInformation:l,debitAccountInformation:f,creditAccount:w,creditAccountRepayment:n}),O(!0)}}),t.jsx(Et,{onClick:()=>{v("google"),D.current="slide-in-right-to-left-add-to-wallet",et({chargeCardDetailView:s,classListFetchState:i,analytics:z,isDebitCard:T,isChargeCardAdmin:A,cardIssuedByRoles:C,cardIssuedByDepartmentName:b,cardHolderRoles:L,cardHolderDepartmentName:S,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:d,productInformation:x,creditAccountInformation:l,debitAccountInformation:f,creditAccount:w,creditAccountRepayment:n}),O(!0)}})]})})},Et=({onClick:e})=>{const i=Ye();return t.jsx(ft,{prefixIcon:t.jsx(oo,{}),label:xr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Y("add-to-google-wallet-button")})},zt=({onClick:e})=>{const i=Ye();return t.jsx(ft,{prefixIcon:t.jsx(no,{}),label:xr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Y("add-to-apple-wallet-button")})},io=r.div`
1
+ import{u as Ye,X as Ce,V as st,d3 as dt,fe as Ka,l as Ze,gY as qr,ab as _e,M as he,ff as Xa,j as t,gm as Gr,aW as Kr,q as c,fn as Ja,_ as xe,Y,o as a,bt as Pt,g as p,ij as Qa,r as Z,bO as Xr,ik as Jr,cI as Qr,gd as ei,a as ti,gg as ai,co as ri,C as I,p as ii,F as oi,fF as ni,K as ft,aZ as si,bf as er,a9 as Mt,il as di,im as tr,b5 as ar,av as Vt,eS as ci,aa as rr,ak as li,io as hi,ip as pi,aq as Ot,v as me,ew as ui,ie as mi,ee as ct,fg as ir,e as nt,ao as gi,dj as Ci,bT as fi,bQ as wi,cv as xi,gV as yi,t as ye,eY as or,iq as bi,fh as je,dr as wt,c_ as Si,Q as ha,h as nr,as as $i,ir as vi,eQ as ki,bY as sr,is as Li,w as mt,bC as pa,aR as ji,db as Ii,eB as Di,m as at,fb as Ai,Z as Ti,k as Ri,a6 as Fi,a$ as Ei,it as yt,cW as zi,bm as Pi,iu as dr,iv as cr,f$ as lr,iw as xt,hH as hr,ig as Mi,b$ as Vi,eb as pr,ih as Oi,ii as Hi,c$ as Ni,cq as Bi,ei as Wi,bF as Ui,bG as _i}from"./index-DTlzo6Yx.js";import{b as o,n as r,j as pe,f as Zi,k as ur}from"./vendor-CnQcJ2Lu.js";import{f as Yi}from"./NavigationDots-6Q5ZVqKl-C4jKPBGn.js";import{L as qi,H as et,U as ua,M as mr,F as gr,_ as Cr}from"./ChargeCardUtils-Dt303NN_-05QPLa2p.js";import{A as Gi,i as Ki,a as Xi,l as Ji,r as Qi,t as eo,n as to}from"./add-to-wallet-DgdBD8_G-DcfyMc0W.js";import{R as ao}from"./CardNumberSubText-DuTv0ip1-BQ2cCq6Y.js";import{r as fr}from"./mui-C5LQ0bMa.js";import{l as wr}from"./uploadReceipts-Buvz7DfG-JDslMarZ.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const xr=he.getLocalizedStrings().spendManagement.chargeCard,ro=({controllerEmails:e,classListFetchState:i,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:m,isChargeCardSetupEnabled:u,chargeCardDetailView:s,productInformation:x,creditAccountInformation:l,debitAccountInformation:f,creditAccount:w,creditAccountRepayment:n,cardIssuedByRoles:C,cardIssuedByDepartmentName:b,cardHolderRoles:L,cardHolderDepartmentName:S,appleWalletLink:$,googleWalletLink:y,style:g,showDrawerAnimation:D,setWalletType:v,setIsAddToWalletDrawerOpen:O,isDebitCard:T})=>{const z=dt().analytics,{isIPadScreen:G}=hi(),{isAndroidScreen:J}=pi(),U=st(),A=Ze.hasChargeCardAdminLevelAccess(U.loggedInUserRoleMap);return t.jsx(io,{style:g,children:G===!0?t.jsx(zt,{onClick:()=>{et({chargeCardDetailView:s,classListFetchState:i,analytics:z,isDebitCard:T,isChargeCardAdmin:A,cardIssuedByRoles:C,cardIssuedByDepartmentName:b,cardHolderRoles:L,cardHolderDepartmentName:S,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",productInformation:x,creditAccountInformation:l,debitAccountInformation:f,isChargeCardFeatureEnabled:d,creditAccount:w,creditAccountRepayment:n}),window.open($,"_blank")}}):J===!0?t.jsx(Et,{onClick:()=>{et({chargeCardDetailView:s,classListFetchState:i,analytics:z,isDebitCard:T,isChargeCardAdmin:A,cardIssuedByRoles:C,cardIssuedByDepartmentName:b,cardHolderRoles:L,cardHolderDepartmentName:S,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",productInformation:x,creditAccountInformation:l,debitAccountInformation:f,isChargeCardFeatureEnabled:d,creditAccount:w,creditAccountRepayment:n}),window.open(y,"_blank")}}):t.jsxs(t.Fragment,{children:[t.jsx(zt,{onClick:()=>{v("apple"),D.current="slide-in-right-to-left-add-to-wallet",et({chargeCardDetailView:s,classListFetchState:i,analytics:z,isDebitCard:T,isChargeCardAdmin:A,cardIssuedByRoles:C,cardIssuedByDepartmentName:b,cardHolderRoles:L,cardHolderDepartmentName:S,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Apple Wallet",isChargeCardFeatureEnabled:d,productInformation:x,creditAccountInformation:l,debitAccountInformation:f,creditAccount:w,creditAccountRepayment:n}),O(!0)}}),t.jsx(Et,{onClick:()=>{v("google"),D.current="slide-in-right-to-left-add-to-wallet",et({chargeCardDetailView:s,classListFetchState:i,analytics:z,isDebitCard:T,isChargeCardAdmin:A,cardIssuedByRoles:C,cardIssuedByDepartmentName:b,cardHolderRoles:L,cardHolderDepartmentName:S,controllerEmails:e,pageName:"Card Detail",addToWalletType:"Add to Google Wallet",isChargeCardFeatureEnabled:d,productInformation:x,creditAccountInformation:l,debitAccountInformation:f,creditAccount:w,creditAccountRepayment:n}),O(!0)}})]})})},Et=({onClick:e})=>{const i=Ye();return t.jsx(ft,{prefixIcon:t.jsx(oo,{}),label:xr.cardDetails.addToGoogleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Y("add-to-google-wallet-button")})},zt=({onClick:e})=>{const i=Ye();return t.jsx(ft,{prefixIcon:t.jsx(no,{}),label:xr.cardDetails.addToAppleWallet,buttonColors:{borderColor:{default:i.colors.grey1,hover:i.colors.primary,disabled:i.colors.primary},backgroundColor:{default:i.colors.grey5,hover:i.colors.grey5,disabled:i.colors.grey5},textColor:{default:i.colors.primary,hover:i.colors.primary,disabled:i.colors.grey5}},textStyle:{color:i.colors.primary},style:{width:"239px",justifyContent:"center"},onClick:e,"data-testid":Y("add-to-apple-wallet-button")})},io=r.div`
2
2
  margin-top: ${a.sp4};
3
3
  display: flex;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{d3 as $t,y as St,fm as jt,l as T,fh as v,X as he,M as Be,o as a,u as _e,j as t,aW as vt,fA as kt,cO as A,r as C,bt as le,g as n,_ as Pt,aJ as de,Y as pe,C as B,v as L,Q as It,h as Mt,cl as Tt,b4 as Fe,b5 as At,ak as me,a9 as Lt,m as ue,q as I,d4 as Et,Z as Rt,t as Dt,c0 as zt,ck as Ot,aP as Nt}from"./index-BFn0iyzF.js";import{b as N,n as i,j as ge,k as Bt}from"./vendor-CnQcJ2Lu.js";import{Y as _t}from"./SpendManagementSection-DuR3sx7V-CT7Uld_h.js";import{ChargeCardPromoUserContent as Ft}from"./ChargeCardPromoPage-CiwWzvym-mX5HHnvt.js";import{A as Ut,J as Wt}from"./PromoBaseCards-DPAkjdDp-BGlT4RI_.js";import{M as Yt}from"./ChargeCardListTable-C-WxFg6W-DaGBsMkN.js";import{r as Gt,i as Jt}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{t as Ht,o as Vt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-rC3PQdjG-DYE6kzDs.js";import"./NavigationDots-Toh5TKEv-CA0n9HQq.js";import"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./Menu-CrSQ1yNo-Bv-dHYqs.js";import"./RoleWithToolTip-TxLTa63q-h_h2zj3V.js";import"./CardNumberSubText-DoWj5vAy-UIXS_891.js";import"./ChargeCardUtils-CVC43_6w-CF1lXmY5.js";const xe={infoSubheadingTextMarginTop:new B(I[0],I[0]),cardsMinWidth:new B(343,353)},ve=Be.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,ke=({cardPromoType:e,cardText:s,header:d,title:h,subTitle:r,slidingTextList:u,onClick:l})=>{const p=he();return t.jsxs(Qt,{windowSize:p,cardPromoType:e,"data-testid":pe("list-page-promo-card",e),onClick:()=>l(e),children:[t.jsxs(Ue,{children:[t.jsxs(Ye,{children:[t.jsx(We,{children:d}),t.jsx(Xt,{children:h}),t.jsx(aa,{children:r})]}),t.jsxs(ia,{children:[t.jsx(ra,{}),u.length>0&&t.jsx(ce,{slideUpCount:u.length,children:u.map((g,x)=>t.jsx(Ge,{children:g},`card-promo-${x.toString()}`))}),t.jsx(na,{})]})]}),t.jsx(oa,{children:t.jsx(Ut,{cardPromoType:e,cardText:s,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(sa,{children:t.jsx(Wt,{cardPromoType:e,cardText:s,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Pe=({cardType:e,header:s,title:d,creditLimit:h,onCreateNowClick:r})=>{const u=he();return t.jsx(Zt,{windowSize:u,cardType:e,children:t.jsxs(Kt,{children:[t.jsxs(Ye,{children:[t.jsx(We,{children:s}),t.jsx(ta,{children:t.jsx(ea,{children:d})}),t.jsx(la,{windowSize:u,children:t.jsxs(da,{windowSize:u,onClick:()=>r(e),"data-testid":pe("total-cashback-info"),children:[t.jsx(Ge,{children:ve.createNow}),t.jsx(ca,{})]})})]}),e==="creditCard"?t.jsxs(ha,{children:[t.jsx(pa,{children:ve.creditLimit}),t.jsx(ma,{children:h})]}):null]})})},qt=e=>{const s=e-1;let d=`
1
+ import{d3 as $t,V as St,fm as jt,l as T,fh as v,X as he,M as Be,o as a,u as _e,j as t,aW as vt,fA as kt,cO as A,r as C,bt as le,g as n,_ as Pt,aJ as de,Y as pe,C as B,v as L,Q as It,h as Mt,cl as Tt,b4 as Fe,b5 as At,ak as me,a9 as Lt,m as ue,q as I,d4 as Et,Z as Rt,t as Dt,c0 as zt,ck as Ot,aP as Nt}from"./index-DTlzo6Yx.js";import{b as N,n as i,j as ge,k as Bt}from"./vendor-CnQcJ2Lu.js";import{Y as _t}from"./SpendManagementSection-B7pMvj7Z-BAsdHFSu.js";import{ChargeCardPromoUserContent as Ft}from"./ChargeCardPromoPage-DZ1f8Sus-BW8ozxyr.js";import{A as Ut,J as Wt}from"./PromoBaseCards-DNSnqS61-Al7XKWVe.js";import{M as Yt}from"./ChargeCardListTable-B1a9-RYl-DFaeigKK.js";import{r as Gt,i as Jt}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{t as Ht,o as Vt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-BhC8pSjM-Cnn0jkdk.js";import"./NavigationDots-6Q5ZVqKl-C4jKPBGn.js";import"./usp-line-BBd1wKwW-CgKq8-Xn.js";import"./Menu-LDwLOgxI-DZ0xBJbp.js";import"./RoleWithToolTip-VlYG_GPv-D1yDUHv7.js";import"./CardNumberSubText-DuTv0ip1-BQ2cCq6Y.js";import"./ChargeCardUtils-Dt303NN_-05QPLa2p.js";const xe={infoSubheadingTextMarginTop:new B(I[0],I[0]),cardsMinWidth:new B(343,353)},ve=Be.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,ke=({cardPromoType:e,cardText:s,header:d,title:h,subTitle:r,slidingTextList:u,onClick:l})=>{const p=he();return t.jsxs(Qt,{windowSize:p,cardPromoType:e,"data-testid":pe("list-page-promo-card",e),onClick:()=>l(e),children:[t.jsxs(Ue,{children:[t.jsxs(Ye,{children:[t.jsx(We,{children:d}),t.jsx(Xt,{children:h}),t.jsx(aa,{children:r})]}),t.jsxs(ia,{children:[t.jsx(ra,{}),u.length>0&&t.jsx(ce,{slideUpCount:u.length,children:u.map((g,x)=>t.jsx(Ge,{children:g},`card-promo-${x.toString()}`))}),t.jsx(na,{})]})]}),t.jsx(oa,{children:t.jsx(Ut,{cardPromoType:e,cardText:s,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(sa,{children:t.jsx(Wt,{cardPromoType:e,cardText:s,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Pe=({cardType:e,header:s,title:d,creditLimit:h,onCreateNowClick:r})=>{const u=he();return t.jsx(Zt,{windowSize:u,cardType:e,children:t.jsxs(Kt,{children:[t.jsxs(Ye,{children:[t.jsx(We,{children:s}),t.jsx(ta,{children:t.jsx(ea,{children:d})}),t.jsx(la,{windowSize:u,children:t.jsxs(da,{windowSize:u,onClick:()=>r(e),"data-testid":pe("total-cashback-info"),children:[t.jsx(Ge,{children:ve.createNow}),t.jsx(ca,{})]})})]}),e==="creditCard"?t.jsxs(ha,{children:[t.jsx(pa,{children:ve.creditLimit}),t.jsx(ma,{children:h})]}):null]})})},qt=e=>{const s=e-1;let d=`
2
2
  0% {
3
3
  transform: translateY(0);
4
4
  }