@zeniai/web-cockpit-ui 1.15.13-qa → 1.15.14-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.

Potentially problematic release.


This version of @zeniai/web-cockpit-ui might be problematic. Click here for more details.

Files changed (323) hide show
  1. package/dist/assets/{ACHDetailsPage-BlujuoRH-Dd5Jdtmf.js → ACHDetailsPage-BOZmOJHO-CTkTIAbj.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-DfgPUakC-ZgXRgVKD.js → AIPerformancePage-ZVCJizP9-lO42v2Da.js} +103 -103
  3. package/dist/assets/AccountInfoPage-DF6IU0EG-Dri9KZDQ.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CTvsml8u-BgWKlEhB.js → AccountInfoPageContent-D0wuuzMd-CYUOf7Yy.js} +16 -16
  5. package/dist/assets/AccountLockedInfoModal-Cfx-lPAZ-YxipIVg7.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D6WT5Co_-Caf4DPub.js → AccountReconDetailsDrawerPage-DbHX6rPG-C26CYTpl.js} +8 -8
  7. package/dist/assets/{AccountRow-FmhkZVL4-B4hjOMzk.js → AccountRow-Bk_25FCy-D6n4Wyn2.js} +30 -30
  8. package/dist/assets/{AccountsPromoCardStack-B5Mri6qW-cjKgMtIm.js → AccountsPromoCardStack-DAXRwY1f-RsUU3rub.js} +29 -29
  9. package/dist/assets/AddAddressForCardDrawer-DNGQGGYg-CnD6PCyg.js +6 -0
  10. package/dist/assets/{AddToWalletPage-fBplELoj-DIi5wnhQ.js → AddToWalletPage-CzziHgi7-CkYda4Rq.js} +21 -21
  11. package/dist/assets/{AgingReportsPage-CgeLN6Su-CYUQwEno.js → AgingReportsPage-Bdi3krKK-CkVmkoJN.js} +5 -5
  12. package/dist/assets/{AllUserItems-vOFCgjs7-CZxF22QA.js → AllUserItems-XWDuiug6-BJAl8j2p.js} +10 -10
  13. package/dist/assets/ApAgingDetailPage-CaM_AzrU-DKImzj6b.js +46 -0
  14. package/dist/assets/{AppBasePage-DrIjva6e-CIH4lORb.js → AppBasePage-B7_L4R6d-C9IdAuSh.js} +9 -9
  15. package/dist/assets/{AppDrawerContent-Co1DpiWD-C1aJG4Zb.js → AppDrawerContent-DSX1364T-B5p_fokJ.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-DrjPOeyp-CtFbj7lh.js +47 -0
  17. package/dist/assets/{ArAgingChart-B2zTJJgb-CxGZOD7f.js → ArAgingChart-M7KUNA4G-B-NjvlhZ.js} +1 -1
  18. package/dist/assets/ArAgingDetailPage-7lby5mXn-Dx6TaWmh.js +46 -0
  19. package/dist/assets/{AttachmentView-vlVaH4YF-B4GAfoTh.js → AttachmentView-Bsa0u92o-C5Ith7Dl.js} +9 -9
  20. package/dist/assets/{BankAccountSection-CDKiTWgn-BmAeSXp7.js → BankAccountSection-BkOlwayA-BzRDpgU5.js} +4 -4
  21. package/dist/assets/{BankAccountWarningSection-tSnRJm3S-B1s5Qbs5.js → BankAccountWarningSection-uMOXLH0B-oIIZXk5D.js} +6 -6
  22. package/dist/assets/{BankConnectionsSettingsPage-O_L8CHJf-r9FaHN_N.js → BankConnectionsSettingsPage-C_YytTke-D0UJIore.js} +37 -37
  23. package/dist/assets/{BillDetailPage-DR3JefXf-DQcSQBQN.js → BillDetailPage-DvU5_Rsp-BboSjxSV.js} +9 -9
  24. package/dist/assets/BillPayApprovalRuleDetailPage-UeVxIxfF-ChvhrNL4.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-yFoEpHK8-DvqKTU1y.js → BillPayApprovalRulesPage-CA9eufjt-vJvDNiXo.js} +18 -18
  26. package/dist/assets/{BillPayPromoPage-DZkA_0AV-B7Z2nWn1.js → BillPayPromoPage-DsXPWKAf-y7kYOpnD.js} +6 -6
  27. package/dist/assets/{BillPaySetUpPage-B2j-es9G-BzaThv8U.js → BillPaySetUpPage-CeMhzZ_3-CRMj2J_Q.js} +4 -4
  28. package/dist/assets/BillingSettingsPage-BygJjDSp-BaaSCOrk.js +44 -0
  29. package/dist/assets/{BillsBulkReviewDrawerPage-B2LDJ9-N-Bk0TD_dk.js → BillsBulkReviewDrawerPage-WrR46NRa-CIbrXxhM.js} +1 -1
  30. package/dist/assets/{BoxItem-B0bHU_KA-Dy4QmdXc.js → BoxItem-C0M4PSXY-C-i-BYiZ.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DZ27apcr-BQW590Mb.js → BusinessVerificationPage-C63pUk4d-D7ADEeIx.js} +15 -15
  32. package/dist/assets/{CardNumberSubText-CpqumrS--CXxxAA8f.js → CardNumberSubText-B4dAoYDE-B-faaYZL.js} +8 -8
  33. package/dist/assets/{CashbackDetailPage-C3oNmfln-Cu2JEVGt.js → CashbackDetailPage-B6xvn-y3-yUoVzYGM.js} +20 -20
  34. package/dist/assets/ChargeCardDetailPage-eJJ4MEE6-C0LSLa5V.js +1467 -0
  35. package/dist/assets/{ChargeCardListPage-B_PxtkQX-BnMys8lA.js → ChargeCardListPage-BYI2HIjA-8seyP4-1.js} +22 -22
  36. package/dist/assets/{ChargeCardListTable-kp0WwIZo-Cm-Owd6-.js → ChargeCardListTable-DAVYmKCK-COsfkC8-.js} +45 -45
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-D1l3Qgr_-DI6gSbof.js → ChargeCardPaymentHistoryPage-BX5HtOxd-DIJQAhYy.js} +26 -26
  38. package/dist/assets/ChargeCardPromoPage-DuQe7BpX-CdXkhoNK.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-DG1eKhYR-GcD8Xbgo.js +36 -0
  40. package/dist/assets/{ChargeCardStatementsPage-a5u9wGDg-Brg2gDI9.js → ChargeCardStatementsPage-CvtZtuVC-D5_HpJbR.js} +9 -9
  41. package/dist/assets/{CheckDepositDrawerPage-_DvlXSse-B_BucfsH.js → CheckDepositDrawerPage-BdacGDpy-NH0B7hCl.js} +18 -18
  42. package/dist/assets/{CollapsableReportTable-DgteU0nB-Cxehs4Kl.js → CollapsableReportTable-UADp1m_8-0iD5_esu.js} +41 -41
  43. package/dist/assets/{CompanyOfficerDetailsSection-DG1ZQ-UL-DV2WNNsF.js → CompanyOfficerDetailsSection-CaAR0Wvk-xuxahQFB.js} +29 -29
  44. package/dist/assets/{CompanyPassportCard-JfMVwFHV-yhZW8SN7.js → CompanyPassportCard-BJN2GEVm-BAPQ7zZ1.js} +7 -7
  45. package/dist/assets/{CompanyPassportPage-2j8z-oge-BKw2EluX.js → CompanyPassportPage-D2ALJDF_-rREFezcB.js} +35 -35
  46. package/dist/assets/{CompleteProfile-Cm8XlcS3-tX4c8EKJ.js → CompleteProfile-C8X8Z3C2-C4M22bfo.js} +2 -2
  47. package/dist/assets/ConfettiBurst-DxHzdDPp-DbSVEJuf.js +1 -0
  48. package/dist/assets/ConstrainedInnerElement-BeIpAPjB-o1dQwSVr.js +5 -0
  49. package/dist/assets/{CreateOrEditVendorPage-BxSAnKo6-D4OGgB6l.js → CreateOrEditVendorPage-y-COpdhs-Vjb6QXyJ.js} +14 -14
  50. package/dist/assets/{CreditCardPaymentDrawerPage-a2j9Vyid-A-8aAfdw.js → CreditCardPaymentDrawerPage-CntYJJ8v-DG1CtNGi.js} +14 -14
  51. package/dist/assets/{CurrencySelectField-CbBlYqRB-C0JlTtQx.js → CurrencySelectField-Dn-hE2az-FKP6XCyG.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-CG508vOx-DfM0MC9z.js → CustomerOnboardingActivationPage-B9MZHJVc-E8apuJFB.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-eR0yY2uX-B417jal6.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BszHZi0e-4lgjtzgv.js → CustomerOnboardingDetailPageSkeleton-BCe8BvQF-DP4PpY7E.js} +12 -12
  55. package/dist/assets/CustomerOnboardingNoStepsPage-BHk7rDAg-KOMcZLiU.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-DM-gDkp1-DzvdKtNr.js → CustomerOnboardingPage-1LvpVpHC-CqEiTKL-.js} +9 -9
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BryLMJRG-IKtHrSqJ.js → CustomerOnboardingProductSuitePage-DMYHMJXg-CZpT_ybG.js} +6 -6
  58. package/dist/assets/{Dashboard-BRm1rkFD-CRrn0mlI.js → Dashboard-CCV0_aCP-DgaReFiA.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-rtbUwJSW-DlJn5Hkl.js → DashboardReportPage-CmoH9Vrc-rbpJkvEW.js} +29 -29
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-DVTdlTEZ-BGfu-u_U.js → DashboardSidebarBackgroundAnimation-hw3einS7-B0933NPk.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BbKLxsPR-WtW7LWPm.js → DepositAccTransactionItem-DgdkYGjP-Cn-RreCN.js} +4 -4
  62. package/dist/assets/{DepositAccTransactionListPage-0AV-fx2Z-CWuRJMem.js → DepositAccTransactionListPage-CF0WJn9M-Du5Uwrua.js} +3 -3
  63. package/dist/assets/{DomesticWireDetailsPage-BKumlfKE-CU_KFPsO.js → DomesticWireDetailsPage-B12tNa6e-D84j30Sh.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-C6GFjg2N-dHGiNNT4.js → DownloadOverlay-Dt9yt4Fz-CZwt4xVi.js} +18 -18
  65. package/dist/assets/{DrawerPage-BjfQ_wvz-BAoek7CI.js → DrawerPage-Clki97FA-CKaiaKnY.js} +12 -12
  66. package/dist/assets/EditPeoplePage-CKS_aEZm-BLkXTTsd.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-D5cPRveU-XVZs5ANF.js → EditReimbursementDetailPage-CXy2ZWfZ-CZqOBA94.js} +36 -36
  68. package/dist/assets/EntityDetailPage-B3TQ5hCP-xkG_PJz4.js +18 -0
  69. package/dist/assets/EntitySummarySection-D_YLsP_P-DnjHmEt2.js +151 -0
  70. package/dist/assets/{ExpenseAutomationOverviewPage-D9JnRKeQ-DcgUsBHj.js → ExpenseAutomationOverviewPage-4z3yzHEA-DHRMbZ6T.js} +23 -23
  71. package/dist/assets/ExpenseAutomationPage-BJ4H_c2z-_vJX_cQS.js +1700 -0
  72. package/dist/assets/{ExpressPayPage-iL1BYLic-DNZMOaZn.js → ExpressPayPage-CTBD4y1v-NypzcPst.js} +15 -15
  73. package/dist/assets/{FeaturePreviewPage-CFz7RpI6-DGwrwI6h.js → FeaturePreviewPage-CYuTQWpP-B7pk5shZ.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Crd9GwnW-C67UFUxv.js → FollowStepsSection-BrpI2HyW-DjU7Bj21.js} +9 -9
  75. package/dist/assets/{GlobalReviewListPage-xUatsnwu-B_jOR6kE.js → GlobalReviewListPage-BcvxLqIL-CWsSxlvQ.js} +16 -16
  76. package/dist/assets/{InformationCardStack-CgSYiHdK-TXOis1xL.js → InformationCardStack-CU4Moqky-DbD2DWow.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-dkuf5D9A-Bi0NlGwc.js → InsightsCardStack-D8UQiuXZ-BsOtVtjF.js} +8 -8
  78. package/dist/assets/{InsightsSection-CUk29Ace-Bs7LOW5A.js → InsightsSection-C3X6ZNEt-Dpfjh86q.js} +4 -4
  79. package/dist/assets/{IntegrationsSettingsPage-As-313jz-gWQZcbmC.js → IntegrationsSettingsPage-CsLv00HW-40iwxCCz.js} +8 -8
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-CqMsBHlO-hyhi_VT_.js → InternationalWireSwiftDetailsPage-DgrN5Xg7-DjSCCsjb.js} +28 -28
  81. package/dist/assets/InternationalWireVerificationPage-CvysJNBQ-C883JmDe.js +65 -0
  82. package/dist/assets/{InviteFormPage-D7yOmbjN-DRh2E_al.js → InviteFormPage-B3KmRWXd-CA_rBrtH.js} +27 -27
  83. package/dist/assets/{InvitePageListView-CUeSQD7S-DqLMS2jC.js → InvitePageListView-DfpJBZru-C-jbSwOL.js} +43 -43
  84. package/dist/assets/InvitePeoplePage-C5Qgk24s-oyDKpik2.js +12 -0
  85. package/dist/assets/{InvoiceUploadSection-fjn4uF_l-CtGULxDA.js → InvoiceUploadSection-BO1i-e_D-BbCUnOdb.js} +6 -6
  86. package/dist/assets/{IssueChargeCardPage-B30u11O2-BbnI_a88.js → IssueChargeCardPage-mPsxt52d-D9F3L6UU.js} +28 -28
  87. package/dist/assets/{LabeledAddressValue-CJZ_1zh1-DgOJaHiW.js → LabeledAddressValue-C4fnQSyi-DMq7zZU4.js} +1 -1
  88. package/dist/assets/LabeledAddressValueField-D6dEaI69-BamQLjwy.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-DqtbWhaH-DCCVcSia.js → LabeledControlledCheckBoxField-B1QdZmvd-C7yRnNIt.js} +2 -2
  90. package/dist/assets/{LabeledCountryMultiSelectField-t7lnpz15-D8FuO5XK.js → LabeledCountryMultiSelectField-XeBih_-f-j0Io7uqC.js} +5 -5
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DSrFEwMO-BKreuFG-.js → LabeledCreatableSingleSelectField-BPX2Nrlf-CpM2CK18.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-Bjg8sNsg-DrkrUAxI.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-IohlqRi7-BIeZ8HiN.js → LabeledDropDownFormattedTextField-A-rgip1E-yZVcOc80.js} +7 -7
  94. package/dist/assets/{LabeledMultiSelectField-CveBXp8L-VcfEoi4D.js → LabeledMultiSelectField-Di9Wnifv-Bms3kN_s.js} +3 -3
  95. package/dist/assets/{LabeledText-C9CoADG4-kebiAoiw.js → LabeledText-38fqkkE--D6H2xkOy.js} +4 -4
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B6q4n0f5-mzAsluz6.js → LabeledUserSingleSelectWithSubtitlesField-BbF25dUP-CTkTJ07P.js} +19 -19
  97. package/dist/assets/{LabeledZeniRolesDropDownField-B-0ZfQFs-DQJ7lIYd.js → LabeledZeniRolesDropDownField-Dg9_Ww-A-Cs6KyXMg.js} +18 -18
  98. package/dist/assets/{LinkJETransactionPage-CLo-jbfZ-BP0AwRKd.js → LinkJETransactionPage-66mQ4nrK-cIqp9Xxp.js} +9 -9
  99. package/dist/assets/{LockCardPage-CmWzTH0n-BFlTHvg4.js → LockCardPage-BCqN4K17--IT5TUT0.js} +43 -43
  100. package/dist/assets/{LowBalancePopup-BUAKDPHL-B-KZGBlT.js → LowBalancePopup-BPk1-eAb-D_kd3qTx.js} +6 -6
  101. package/dist/assets/MagicLinkACHDetailsPage-DM7EUUU7-Cq8k80JE.js +1 -0
  102. package/dist/assets/MagicLinkDomesticWireDetailsPage-DKrGgFTu-DnFKtq_b.js +1 -0
  103. package/dist/assets/MagicLinkInternationalWireDetailsPage-B3OpSWB3-BEZ904x4.js +1 -0
  104. package/dist/assets/{MagicLinkSuccessPage-BGSpNBaK-CW6IvAZN.js → MagicLinkSuccessPage-CphaJa4k-DULBLAf5.js} +2 -2
  105. package/dist/assets/{MagicLinkTitleSection-BKIOmha4-DeepZ9HN.js → MagicLinkTitleSection-77rxhjLm-CO0H-7bF.js} +8 -8
  106. package/dist/assets/MailingDetailsSection-BJfZvT0b-Bt66H1X1.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-B3HEwRST-gjCWp3eD.js → MyBankConnectionsSettingsPage-z0tHaSl1-Ctot5bNh.js} +9 -9
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-Cy_JIUO5-CYi0CFHo.js → MyPendingActivationChargeCardListPage-CwGYwufd-DusBmTPf.js} +2 -2
  109. package/dist/assets/{MyProfileSettingsPage-D4XR8lj4-Dp3XDCA2.js → MyProfileSettingsPage-8yBXAre6-BxgUU9tS.js} +9 -9
  110. package/dist/assets/NavBarWithPicker-C3LVyiC9-DNxUvw98.js +30 -0
  111. package/dist/assets/{NavigationArrow-C1HvrCIx-eBcwRB_h.js → NavigationArrow-NuJEpE7O-DkE8Jq2l.js} +5 -5
  112. package/dist/assets/{NavigationDots-Ttv3r4BR-BmNd3gQF.js → NavigationDots-C7Na64B9-BQCsm-PU.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-rrVa4Iiv-BIwnJ-_Z.js → NewGlobalMerchantPage-Cus6zYV_-D7RK-O2G.js} +39 -39
  114. package/dist/assets/NoDataChart-B3s_7m2n-6UR_W8KE.js +26 -0
  115. package/dist/assets/NoDataTable-CMpypnTw-DQkMwHu9.js +8 -0
  116. package/dist/assets/{NotFoundPage-C-RS1j9W-DQWzTEg5.js → NotFoundPage-RjXioqc8-D0YYrGvp.js} +7 -7
  117. package/dist/assets/{NotificationSettingsPage-Bt94GV9--BVC4OLZo.js → NotificationSettingsPage-DrDW_LU_-CoIFciaQ.js} +30 -30
  118. package/dist/assets/{NotificationsListConfig-CbWdzORJ-MhsBqOYT.js → NotificationsListConfig-C6_ap0JT-B7HvA4xZ.js} +1 -1
  119. package/dist/assets/{NotificationsPage-kZGgGVaC-zvIXXIC-.js → NotificationsPage-DOM-Gf5P-CLjwV-Lp.js} +17 -17
  120. package/dist/assets/{OpExByVendorPage-BSoM5hsv-Bb8IrTkh.js → OpExByVendorPage-CTuBB827-C5GnWYFy.js} +11 -11
  121. package/dist/assets/{OverlayContainerPage-IDTUbuAC-Bhrq7EM_.js → OverlayContainerPage-D4QU0p4o-CaOVtIUy.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-C181kEf--TKHh2C5l.js → PandLWithForecastPage-BXaENYdR-C9QORNqG.js} +14 -14
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DqDvhQwH-CYm2Hw3U.js → PaymentAccountSetupBillingAddressSection-DSnQX90O-BNyF-R2t.js} +6 -6
  124. package/dist/assets/{PeoplePage-ByvK4lsu-vcFsHNs3.js → PeoplePage-BlyVVthI-BvlkSarj.js} +29 -29
  125. package/dist/assets/{Preview-B0RnB2Yn.js → Preview-1YaMlOZx.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-CCLEQfr4-I7QWzOtX.js → ProductsCarousel-CAcPH--E-CypMj_aV.js} +8 -8
  127. package/dist/assets/{PromoBaseCards-BESaQCrl-CNjEFCSA.js → PromoBaseCards-BVwZMVeE-z_DbgbjQ.js} +12 -12
  128. package/dist/assets/{QBOConnectionDialog-BhmH5aji-CFc8C6Qx.js → QBOConnectionDialog-C3OYyhYO-BwQj_jEn.js} +5 -5
  129. package/dist/assets/QBOSetupSection-DQjol-D0-sxxCB5FU.js +79 -0
  130. package/dist/assets/ReimbursementApprovalRuleDetailPage-llw4ONPo-Dr8oEiGp.js +32 -0
  131. package/dist/assets/{ReimbursementApprovalRulesPage-CCo730ny-SbXFn_0A.js → ReimbursementApprovalRulesPage-Cx0gs7sS-BPzyINOc.js} +14 -14
  132. package/dist/assets/{ReimbursementDetailPage-D8G3Aoci-bE7GSifH.js → ReimbursementDetailPage-Cs_rmkS8-CDIuQvBq.js} +8 -8
  133. package/dist/assets/ReimbursementPromoPage-CCFl0kQK-DrE0eENq.js +84 -0
  134. package/dist/assets/{ReimbursementSetUpPage-KRQIL0VK-7SnWIfaP.js → ReimbursementSetUpPage-lf3xTVFh-Bme_YQP5.js} +14 -14
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B77ypxnc-C-JnzSc1.js → ReimbursementsBulkReviewDrawerPage-C5MTFJLG-BXkXcGS3.js} +1 -1
  136. package/dist/assets/{ReloadCard-0KQtayY--Bl87L1FQ.js → ReloadCard-V_tv6YLR-COjEvLaN.js} +6 -6
  137. package/dist/assets/{ReportTableViewSelector-wrUJSIfk-2LsgXwby.js → ReportTableViewSelector-CWEvGn8L-DJHNnxty.js} +7 -7
  138. package/dist/assets/{ReportsPage-D-r0S90r-lHJmVa6A.js → ReportsPage-BJOH1wgv-BdRcuTXJ.js} +9 -9
  139. package/dist/assets/{RevenueChart-4kIDtnAc-CuxrvYRm.js → RevenueChart-C_tSBw_N-BYRoGv9-.js} +12 -12
  140. package/dist/assets/{ReviewDetailsPage-BqIBTewY-DCDTcOA3.js → ReviewDetailsPage-CScPf4w3-y6nDHfDS.js} +17 -17
  141. package/dist/assets/{ReviewOverlay-DjazNKfI-BvB_z9vd.js → ReviewOverlay-BQVwPzKa-BObyNWD7.js} +27 -27
  142. package/dist/assets/RoleWithToolTip-GCV_l8Ly-CXlGB2I2.js +22 -0
  143. package/dist/assets/ScheduleDetailsFixedAssetsPage-Cgqgn7nk-CcoeiAn4.js +37 -0
  144. package/dist/assets/ScheduleDetailsPage-D1EJbzxN-Cq8TagJn.js +37 -0
  145. package/dist/assets/{ScheduleSequenceTable-Dnapx3YK-B3LHOpVc.js → ScheduleSequenceTable-DDhoyPGX-DxfsGAJA.js} +53 -53
  146. package/dist/assets/{ScreenRoutes-Bw_CLYj-.js → ScreenRoutes-B0ae_HKZ.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-D7Nf4cYj-D_9hYtq8.js → SetUpAccountSection-AVL_16HQ-5LWynyPp.js} +6 -6
  148. package/dist/assets/{SignIn-Cl1If8Mq-ChOhS8Cq.js → SignIn-BLUwTp1l-DezfyWtW.js} +24 -24
  149. package/dist/assets/SignInScreen-3zG8eu4e.js +1 -0
  150. package/dist/assets/{SpendManagementListViewPage-B8AdQD7w-2SnG46U-.js → SpendManagementListViewPage-DJbNFHvP-B8BL4nbi.js} +16 -16
  151. package/dist/assets/{SpendManagementPerTabPage-BJxGbUNp-DBWLG06i.js → SpendManagementPerTabPage-J5pIRm-Q-DcJo9Q94.js} +35 -35
  152. package/dist/assets/{SpendManagementSection-CJ-vMwcf-CkjKdsg7.js → SpendManagementSection-DZaP5ai6-brwNtSLw.js} +25 -25
  153. package/dist/assets/StatementItem-D2Fx65LN-DIl2HCYS.js +31 -0
  154. package/dist/assets/{StatementsPage-BaDmSL9L-CUCTBhjX.js → StatementsPage-BCh51lDW-BlH-XzL8.js} +3 -3
  155. package/dist/assets/{StatusSwitcher-BZ2svcz0-BuztCmym.js → StatusSwitcher-C5ZrzI8Y-BU_eEikH.js} +4 -4
  156. package/dist/assets/{SubTabSwitcher-C3216C6m-Dl7lU-_D.js → SubTabSwitcher-BXZxKeq9-D-owiWdX.js} +1 -1
  157. package/dist/assets/{SummaryCard-CSkw4qa9-Bd0y6BWn.js → SummaryCard-194UToy6-BHlsJtk1.js} +1 -1
  158. package/dist/assets/TaskManagementPage-zcxDUo0t-xKHoHXew.js +508 -0
  159. package/dist/assets/{TimeRangeSwitcher-C9jo91ZR-uL_SpSuM.js → TimeRangeSwitcher-Bsv7zQmN-BpGkJwVm.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-453JT8qD-BpIL1ddE.js → TimeframeSwitcher-DtxsNy1Z-2NM_x6iy.js} +6 -6
  161. package/dist/assets/{TimeframeSwitcherWithToggle-CkiICrjF-Ca-cPuHv.js → TimeframeSwitcherWithToggle-B5bFhbvL-I--dN0nD.js} +2 -2
  162. package/dist/assets/{TopExCard-Qae08TpE-CJNE7KqM.js → TopExCard-CBua66Cj-BJvS6xJO.js} +6 -6
  163. package/dist/assets/{TopExDetailPage-BpwMO-8K-BBtgOSB1.js → TopExDetailPage-DtMA-XMp-xn5xDKk9.js} +14 -14
  164. package/dist/assets/TransactionActivityLogPage-C3BPL8hi-CA_HOoFB.js +195 -0
  165. package/dist/assets/TransactionDetailPage-CeKaduBe-BQ8y5vaC.js +903 -0
  166. package/dist/assets/TransactionList-CSx8ZCZ--C1_8IqfL.js +153 -0
  167. package/dist/assets/{TransactionListBig-B6-3iOkU-euksbchR.js → TransactionListBig-B4cNQY2d-DerU8Hj9.js} +41 -41
  168. package/dist/assets/TransactionListPage-DHr64V-b-CrCMOxVS.js +35 -0
  169. package/dist/assets/{TransactionVendorDetailPage-BJzVtpnF-C5UXCtBB.js → TransactionVendorDetailPage-DsxI8U5b-D1fN8ld2.js} +4 -4
  170. package/dist/assets/{TransferDrawerPage-DCxNnGwu-CqUkcOyj.js → TransferDrawerPage-C91TQwZi-DM1mVvlx.js} +29 -29
  171. package/dist/assets/{TreasuryOverviewPage-DfIkj3v1-CgYmBgC-.js → TreasuryOverviewPage-BoBn_gtF-DBcXx8Ip.js} +46 -46
  172. package/dist/assets/{TreasuryPromoPage-BBdOyiO--AbQPyk6J.js → TreasuryPromoPage-CQ-VYEQC-G8WxsccX.js} +23 -23
  173. package/dist/assets/{TreasuryStatementsPage-NgiurO36-BX47gTKN.js → TreasuryStatementsPage-taTRE54D-F5NQNl6B.js} +3 -3
  174. package/dist/assets/{TreasuryTaxLetterPage-DcI8sKk8-_uuJ4o58.js → TreasuryTaxLetterPage-Cxhr51TD-tMoEVMoJ.js} +4 -4
  175. package/dist/assets/{TrendChart-DVp0Led--BygMKz23.js → TrendChart-DATgAEKG-DyojY-Xn.js} +5 -5
  176. package/dist/assets/{TrendWithTransactions-C5Zfe4RN-Dl9T676s.js → TrendWithTransactions-DqPFuOvC-CC97f1Ct.js} +7 -7
  177. package/dist/assets/{UncategorizedAccountsMappingPage-DKQj6Y2Z-CoDcx3gH.js → UncategorizedAccountsMappingPage-BQjXazj4-CJhXrmDs.js} +15 -15
  178. package/dist/assets/{UnitIntegrationPage-DzP4Z8GG-DXvLno6N.js → UnitIntegrationPage-BiRGRtpI-BcDsBpFu.js} +5 -5
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-BGFTh8Ed-37xDqOmK.js → UploadAdditionalDocumentOverlay-DCldWCol-DPHHKajn.js} +4 -4
  180. package/dist/assets/Vendor2FAPopup-BpkAiYTA-DRH1-U3Y.js +1 -0
  181. package/dist/assets/VendorACHDetailsPage-tUuZzJnN-BuHGP8HY.js +1 -0
  182. package/dist/assets/VendorDetailPage-DY4iaLtz-BCpMBYhZ.js +257 -0
  183. package/dist/assets/VendorDomesticWireDetailsPage-B5Nym5J9-2vvRJbsc.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-Bw_Igktf-B-WbIArD.js → VendorFiling1099EditablePage-Dep7O8Uz-D-aakTeI.js} +32 -32
  185. package/dist/assets/{VendorFirstReviewPage-CCCVS8n7-CKlRdVUB.js → VendorFirstReviewPage-CJQIZn8g-CYXImF6f.js} +33 -33
  186. package/dist/assets/{VendorInternationalWireDetailsPage-DsBGMjtN-Bfva6Pym.js → VendorInternationalWireDetailsPage-CJG5RIa2-I232damR.js} +15 -15
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZabfieM-BiiacAMT.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-Bd1rg5Tw-CL7IEwEP.js → VendorsAccountsSection-D65ewlO6-qVucxRZa.js} +3 -3
  189. package/dist/assets/{VerifyDevice-B52Vuja4-UTWR3Ig3.js → VerifyDevice-B1_jgwgY-Ch7QTXrL.js} +11 -11
  190. package/dist/assets/{VideoPlayer-Cfh9VY-B-ufbtxIAv.js → VideoPlayer-vWSXteQ6-3WYEiLtc.js} +2 -2
  191. package/dist/assets/{VideoPopup-BLRMOVnP-fkReY2U7.js → VideoPopup-CdsmU6H4-DhRBOj6Y.js} +4 -4
  192. package/dist/assets/{WarningsDrawerPage-CnUUMlFZ-BeDBXJT0.js → WarningsDrawerPage-CjgOsD00-jsNE65_x.js} +8 -8
  193. package/dist/assets/{ZeniAccountDetailPage-DrBVs3G5-Th6GazP4.js → ZeniAccountDetailPage-DiLnoonB-DlTvBibz.js} +27 -27
  194. package/dist/assets/{ZeniAccountListViewPage-C3WwakQr-DfevQgF9.js → ZeniAccountListViewPage-YfPsO8ls-zJTfihep.js} +14 -14
  195. package/dist/assets/ZeniAccountNavBarPieces-CHStBvRa-CxRUkBZQ.js +14 -0
  196. package/dist/assets/{ZeniAccountPromoPage-DYAVwX1I-Bfs8WOV7.js → ZeniAccountPromoPage-cEfW88p8-BqXYqpjk.js} +24 -24
  197. package/dist/assets/{ZeniAccountSetupPage-D4y3RRC0-CePwWlun.js → ZeniAccountSetupPage-B20DHYex-Cr26cRx5.js} +2 -2
  198. package/dist/assets/ZeniCopyright-BROHmszx-BdOjLSgU.js +1 -0
  199. package/dist/assets/ZeniTransferAmountSlider-DZZrrFXf-B042YBIr.js +63 -0
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-DsgRUVgA.js → add-to-wallet-DgdBD8_G-BTS0au4y.js} +1 -1
  201. package/dist/assets/{analytics-CSlaNB19.js → analytics-CiM00cgl.js} +1 -1
  202. package/dist/assets/analyticsHelper-CYVcHgk4.js +1 -0
  203. package/dist/assets/{analyticsHelper-C35dM-yG-DEMSy98E.js → analyticsHelper-FJ-cS8qS-BuiSmKz8.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-yHNADvS4.js → arrow-south-east-round-PEovUgvH-D3YhHzhy.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-Ccdjr6D8.js → auto-transfer-rule-mbafm5D3-TWGQh9DI.js} +1 -1
  206. package/dist/assets/chartTypes-DJdbX13L-kAvAG8Kn.js +1 -0
  207. package/dist/assets/{commonDimensions-Pu55v5lV-z8x_VKwC.js → commonDimensions-BpYNnQtf-ywoc-6eN.js} +1 -1
  208. package/dist/assets/{commonTypes-BElGElM--CDiTtN3P.js → commonTypes-BVbA7QjV-BQLFb0kw.js} +1 -1
  209. package/dist/assets/{constants-D-PeI_mM.js → constants-B0jEPb-7.js} +1 -1
  210. package/dist/assets/{core-CqdPXR9B.js → core-C99WDMlL.js} +1 -1
  211. package/dist/assets/{dash.all.min-DbcV3v7u.js → dash.all.min-0Hz96YMr.js} +1 -1
  212. package/dist/assets/{detailCommon-CM8F8nQy-BxwdCC90.js → detailCommon-BRja9H93-DkTefmWX.js} +4 -4
  213. package/dist/assets/downloadPdf-WDHjFv79-CcJ5DqX0.js +1 -0
  214. package/dist/assets/empty-C_JxotMu.js +1 -0
  215. package/dist/assets/{empty-DTh_Ij2M.js → empty-Dxj4kD7e.js} +1 -1
  216. package/dist/assets/epic-D-wOw91K.js +2 -0
  217. package/dist/assets/{gift-box-Cmt9OgIZ-Bn-y1hvl.js → gift-box-Cmt9OgIZ-5rTUYVv5.js} +1 -1
  218. package/dist/assets/{graphic-no-data-l-DU4J8fDt-a_iKaRv1.js → graphic-no-data-l-DU4J8fDt-CfThc3hK.js} +1 -1
  219. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C9dTXMJH.js → graphic-no-data-net-burn-l-CzmycA0m-BgtCb-Eb.js} +1 -1
  220. package/dist/assets/{handshake-BPg58FML-DqlUuE7u.js → handshake-BPg58FML-BTJKo4cA.js} +1 -1
  221. package/dist/assets/{index-DzUx431K.js → index-8lR-flGE.js} +1 -1
  222. package/dist/assets/index-B3gry9uw.js +1 -0
  223. package/dist/assets/{empty-DPq645sP.js → index-B66qV-7m.js} +1 -1
  224. package/dist/assets/index-B90BaOpo.js +1 -0
  225. package/dist/assets/{index-BTSZX0gU.js → index-BQLbHD9f.js} +1 -1
  226. package/dist/assets/{index-Bs6vtzGR.js → index-BaUtwdgr.js} +1 -1
  227. package/dist/assets/{index-D-WiwijD.js → index-Kp9YkIA7.js} +4979 -4728
  228. package/dist/assets/{lexical-D6mU3oV8.js → lexical-DuSFg2Qn.js} +1 -1
  229. package/dist/assets/{liveblocks-DXNKZvWw.js → liveblocks-BRWAYUb6.js} +1 -1
  230. package/dist/assets/{lottie-BGCmjFH9.js → lottie-CRJfZNkb.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-4ruPPd2Y-D4RWIi7y.js → mapLoadingInProgressToTreeNode-C_5Bb47i-BdPvIdOh.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B77EOrVX-C6RHHI_E.js → mapSectionWithAcOnlyToTreeNode-BlrJTKah-6AgiwAWE.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-DbVBrfUp-Bv0PlGyX.js → mapSpacerToTreeNode-DvdWKHfX-3Q13yFIC.js} +1 -1
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-88qIN3FA-x9jQgIsR.js +1 -0
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-DA60r528-6g96AE00.js → mapTimeframeBalancesToTreeNode-AkxvYRty-mSVf73T7.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BPtN2Cj0-BPlARaPh.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B5MDTbLz-B0t-DE03.js} +1 -1
  237. package/dist/assets/{mui-CooLgaJO.js → mui-NI7j5KJX.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-D0SYshoo.js → page-detail-CWX5S47F-q5tz_pV-.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-d6QWM0fH.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-aKay5Aup.js → radio-default-CiSgisfh-Pj_E6175.js} +1 -1
  241. package/dist/assets/{react-DHuOianZ.js → react-B650luWj.js} +1 -1
  242. package/dist/assets/{react-MtwZeeNV.js → react-CO1rZiqV.js} +2 -2
  243. package/dist/assets/{react-BOYN8kx1.js → react-CU2liPLj.js} +1 -1
  244. package/dist/assets/{react-_XrYtXDi.js → react-Dg8USaCb.js} +2 -2
  245. package/dist/assets/{react-BBgs2Til.js → react-DudL36ZJ.js} +1 -1
  246. package/dist/assets/{react-B3adtom7.js → react-MZHrw8FG.js} +1 -1
  247. package/dist/assets/{react-CrELMTJL.js → react-VfFVTNIz.js} +1 -1
  248. package/dist/assets/{react-CEyM_Slo.js → react-bPRJrhZm.js} +1 -1
  249. package/dist/assets/{recharts-DHPcYqKb.js → recharts-CK-XmmGv.js} +1 -1
  250. package/dist/assets/{sentry-Dlcq8VjX.js → sentry-D0RHYOS9.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-D8h0VGFI.js → shield-DOlUxcFf-BO3UIhm7.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-Bq4Xe7az-C_hxgNjb.js +1 -0
  253. package/dist/assets/toChartData-B3ouXKAd-QkHWiAxq.js +1 -0
  254. package/dist/assets/{uploadAttachment-n14_2p7o-CBuTNS1x.js → uploadAttachment-DNNG-CMy-CV5ASbU8.js} +15 -15
  255. package/dist/assets/uploadReceipts-Dge0cNF1-DEL-YE5n.js +1 -0
  256. package/dist/assets/{url-CfIahVCp.js → url-BH27ZDzK.js} +1 -1
  257. package/dist/assets/{url-d3WjAGv6.js → url-CC9EPZhq.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-B0lPuhDh.js → useLongPress-GCK2COYQ-779sx01-.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-CZ22OQAj.js → usp-line-BBd1wKwW-Be4fJkJI.js} +1 -1
  260. package/dist/assets/{utils-CXbV7y1T.js → utils-z9KEKf_W.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-pmiItBju.js → zeni-epic-state-Bk1TvHP-.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +3 -3
  264. package/dist/assets/AccountInfoPage-BYwGsz6J-Ch1FHntj.js +0 -18
  265. package/dist/assets/AccountLockedInfoModal-DeYVMh3B-D6y6Bwr0.js +0 -59
  266. package/dist/assets/AddAddressForCardDrawer-Bs4dQyRL-Ctl6nn7e.js +0 -6
  267. package/dist/assets/ApAgingDetailPage-CF5WKuOc-G76Jhct9.js +0 -46
  268. package/dist/assets/ApprovalRulesSettingsPage-tYbxBThK-Cxpify_d.js +0 -47
  269. package/dist/assets/ArAgingDetailPage-0nCr6crv-Devrv-ey.js +0 -46
  270. package/dist/assets/BillPayApprovalRuleDetailPage-2w8HO-NU-DEj9c-_Y.js +0 -27
  271. package/dist/assets/BillingSettingsPage-ayQNGWSW-12xUM18b.js +0 -44
  272. package/dist/assets/ChargeCardDetailPage-C9XhHqSo-BkvxAWzR.js +0 -1462
  273. package/dist/assets/ChargeCardPromoPage-DcmgTF8u-D_3YTdIj.js +0 -222
  274. package/dist/assets/ChargeCardSetupPage-BX9fPIf_-CyjwQIJA.js +0 -36
  275. package/dist/assets/ConfettiBurst-BtmMysff-DSGDjDAM.js +0 -1
  276. package/dist/assets/CustomerOnboardingContainerPage-CuP19GYc-DKOxICFF.js +0 -1
  277. package/dist/assets/CustomerOnboardingNoStepsPage-Cg8ti5NY-CNRxBWCb.js +0 -66
  278. package/dist/assets/EditPeoplePage-59PeI1Ul-7BEtuzGE.js +0 -55
  279. package/dist/assets/EntityDetailPage-CiO1dOzo-D_qDJTqi.js +0 -18
  280. package/dist/assets/EntitySummarySection-DBQxz0Ak-DIU4nLDs.js +0 -149
  281. package/dist/assets/ExpenseAutomationPage-isWf-Yjm-mtyufb1k.js +0 -1650
  282. package/dist/assets/InternationalWireVerificationPage-BJ9-Rvqo-BTBmsMoP.js +0 -65
  283. package/dist/assets/InvitePeoplePage-BY6iz4UW-_LkKTuEm.js +0 -12
  284. package/dist/assets/LabeledAddressValueField-3BEuHr_a-BjZNJRNs.js +0 -45
  285. package/dist/assets/LabeledDocumentField-CYvUm3Rk-DVDWNVjk.js +0 -41
  286. package/dist/assets/MagicLinkACHDetailsPage-v539jeyl-CJomAHzE.js +0 -1
  287. package/dist/assets/MagicLinkDomesticWireDetailsPage-CU9g_d2_-nKGmJ40l.js +0 -1
  288. package/dist/assets/MagicLinkInternationalWireDetailsPage-CYupqopA-DeZUaaBL.js +0 -1
  289. package/dist/assets/MailingDetailsSection-BwgWy_VZ-BUG7NCIc.js +0 -21
  290. package/dist/assets/NavBarWithPicker-Brxnh3kz-BA6BmzeV.js +0 -30
  291. package/dist/assets/NoDataChart--T7v827k-N1NjmdMu.js +0 -26
  292. package/dist/assets/NoDataTable-cJmfr934-B94qPxg7.js +0 -8
  293. package/dist/assets/QBOSetupSection-BevEEFTb-BnGksb95.js +0 -79
  294. package/dist/assets/ReimbursementApprovalRuleDetailPage-Dklp8fND-UoScHaM0.js +0 -32
  295. package/dist/assets/ReimbursementPromoPage-B8BSm0-k-DoAB3kjA.js +0 -84
  296. package/dist/assets/RoleWithToolTip-CjvIxkPO-i8Jvb-Om.js +0 -22
  297. package/dist/assets/ScheduleDetailsFixedAssetsPage-DBfwlnR1-a5rKuO2E.js +0 -37
  298. package/dist/assets/ScheduleDetailsPage-CLEKOymC-D9OGnjW_.js +0 -37
  299. package/dist/assets/SignInScreen-DnCtQXMH.js +0 -1
  300. package/dist/assets/StatementItem-CCXoBC0x-DV-yA8w8.js +0 -31
  301. package/dist/assets/TaskManagementPage-BO9Fcar1-D43wwO7_.js +0 -508
  302. package/dist/assets/TransactionDetailPage-CF5tZCkv-DaE0IPlE.js +0 -912
  303. package/dist/assets/TransactionList-BuFcrTEd-CDNpioP2.js +0 -147
  304. package/dist/assets/TransactionListPage-cSSv81G2-XuOtx5cl.js +0 -35
  305. package/dist/assets/Vendor2FAPopup-CyeLsWVA-BnnYCOfU.js +0 -1
  306. package/dist/assets/VendorACHDetailsPage-Ch6V5aiE-DwT4LvSy.js +0 -1
  307. package/dist/assets/VendorDetailPage-CrEIBnBt-C7KZBHYF.js +0 -257
  308. package/dist/assets/VendorDomesticWireDetailsPage-GMtYv721-CKzqrsaT.js +0 -1
  309. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BeXxE9Qn-DLR6ZPyB.js +0 -1
  310. package/dist/assets/ZeniAccountNavBarPieces-CP2pkywN-Ca5ooSBr.js +0 -14
  311. package/dist/assets/ZeniCopyright-DxhdQ6XJ-BBelv_tx.js +0 -1
  312. package/dist/assets/ZeniTransferAmountSlider-COT3DDGF-BEmS_Buf.js +0 -63
  313. package/dist/assets/analyticsHelper-CoCMocx4.js +0 -1
  314. package/dist/assets/chartTypes-BDwrrz9S-Xt8nSCss.js +0 -1
  315. package/dist/assets/downloadPdf-BF8--IAB-CLiDzBIR.js +0 -1
  316. package/dist/assets/epic-96Yt9tV8.js +0 -2
  317. package/dist/assets/index-DQJyhSzl.js +0 -1
  318. package/dist/assets/index-DeNk0spl.js +0 -1
  319. package/dist/assets/index-DfNzwEf5.js +0 -1
  320. package/dist/assets/mapTimeframeBalancesToTreeNode-IkKV62Jb-5SdDjuyL.js +0 -1
  321. package/dist/assets/toCOABalancesWithID-C8uaUoxX-BzCEqBIC.js +0 -1
  322. package/dist/assets/toChartData-CTG-a8va-BrvbSe1U.js +0 -1
  323. package/dist/assets/uploadReceipts-DJRtId-4-CsfBPoke.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u as l,o as i,y as x,ji as De,cc as Be,jj as G,aP as O,b3 as Oe,cs as Ae,iQ as Me,bN as Ne,aT as He,al as W,du as b,gW as Y,aN as K,bS as We,cu as Ee,bQ as _e,am as N,cy as J,p as $,gX as pe,fO as me,fK as ge,ch as Ke,ai as F,iF as ue,bL as Ve,jk as Fe,iY as Ze,cB as Ue,aV as z,iZ as Ye,i_ as Qe}from"./index-D-WiwijD.js";import{a as S,P as Q}from"./sentry-Dlcq8VjX.js";import{n,c as q}from"./mui-CooLgaJO.js";import{t as Xe}from"./SpendManagementSection-CJ-vMwcf-CkjKdsg7.js";import{r as Ge,a as Je,i as ye,g as qe}from"./SpendManagementListViewPage-B8AdQD7w-2SnG46U-.js";import{ck as xe,G5 as fe}from"./zeni-epic-state-pmiItBju.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-Ccdjr6D8.js";import"./liveblocks-DXNKZvWw.js";import"./core-CqdPXR9B.js";import"./recharts-DHPcYqKb.js";import"./lottie-BGCmjFH9.js";import"./analytics-CSlaNB19.js";import"./lexical-D6mU3oV8.js";import"./utils-CXbV7y1T.js";import"./StatusSwitcher-BZ2svcz0-BuztCmym.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b354db50-349b-4b0f-bcc1-9b656f878700",e._sentryDebugIdIdentifier="sentry-dbid-b354db50-349b-4b0f-bcc1-9b656f878700")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],k={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ye,Qe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=V(),r=H(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),j=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(_e,{title:j.header.paymentDate,placeholder:j.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":O("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=Q.memo(st),dt=n.div`
1
+ import{a8 as ze,aw as Re,J as H,d as _,V as t,bC as Ie,b as I,g8 as Te,F as T,u as l,o as i,y as x,jn as De,cd as Be,jo as G,aP as O,b3 as Oe,ct as Ae,iV as Me,bO as Ne,aT as He,al as W,dw as j,g_ as U,aN as K,bT as We,cv as Ee,bR as Ve,am as N,cz as q,p as $,g$ as pe,fS as me,fO as ge,ci as Ke,ai as F,iK as ue,bM as _e,jp as Fe,j1 as Ye,cC as Ze,aV as z,j2 as Ue,j3 as Je}from"./index-Kp9YkIA7.js";import{a as S,P as J}from"./sentry-D0RHYOS9.js";import{n,c as Q}from"./mui-NI7j5KJX.js";import{t as Xe}from"./SpendManagementSection-DZaP5ai6-brwNtSLw.js";import{r as Ge,a as qe,i as ye,g as Qe}from"./SpendManagementListViewPage-DJbNFHvP-B8BL4nbi.js";import{ck as xe,G9 as we}from"./zeni-epic-state-Bk1TvHP-.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-TWGQh9DI.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";import"./StatusSwitcher-C5ZrzI8Y-BU_eEikH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="84d0ac66-5374-414c-b365-ac1609d6c5a4",e._sentryDebugIdIdentifier="sentry-dbid-84d0ac66-5374-414c-b365-ac1609d6c5a4")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},fe=()=>[tt,it,nt,ot,at],k={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ue,Je)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=_(),r=H(),[d,g]=S.useState(fe());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(Ve,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(wt,{onClick:()=>y(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(q,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":O("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(q,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":O("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=J.memo(st),dt=n.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -35,10 +35,10 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
35
35
  align-items: center;
36
36
  left: ${i.sp0};
37
37
  justify-content: ${e=>e.actualDataValue==="amount"?"flex-end":"flex-start"};
38
- ${e=>e.companyNameSticky?q`
38
+ ${e=>e.companyNameSticky?Q`
39
39
  position: sticky;
40
40
  z-index: 1;
41
- `:q`
41
+ `:Q`
42
42
  position: static;
43
43
  z-index: 0;
44
44
  `};
@@ -46,7 +46,7 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
46
46
  overflow: hidden;
47
47
  padding-left: ${i.sp3};
48
48
  padding-right: ${e=>e.actualDataValue==="amount"?i.sp2:i.sp3};
49
- `,pt=n(Ue)`
49
+ `,pt=n(Ze)`
50
50
  width: ${i.sp3};
51
51
  height: ${i.sp3};
52
52
  cursor: pointer;
@@ -67,7 +67,7 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
67
67
  gap: ${i.sp1};
68
68
  display: flex;
69
69
  color: ${e=>e.theme.colors.hero};
70
- `,gt=n(Ze)`
70
+ `,gt=n(Ye)`
71
71
  width: ${i.sp3};
72
72
  height: ${i.sp3};
73
73
  color: inherit;
@@ -86,12 +86,12 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
86
86
  &:hover {
87
87
  color: ${e=>e.theme.colors.primary};
88
88
  }
89
- `,ft=n.div`
89
+ `,wt=n.div`
90
90
  display: flex;
91
91
  cursor: pointer;
92
92
  gap: 5px;
93
93
  color: ${e=>e.theme.colors.primary};
94
- `,B={containerPaddingLeft:new x(l[3],l[2]),containerPaddingRight:new x(l[2],l[3]),containerPaddingTop:new x(l[2],l[3]),containerPaddingBottom:new x(l[2],l[3]),containerMarginLeft:new x(l[4],l[0]),containerMarginRight:new x(l[4],l[0])},{spendManagement:{chargeCard:{paymentHistory:A}}}=T.getLocalizedStrings(),wt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",$t=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=H(),j=S.useCallback(U=>{U.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),s=T.getLocalizedStrings(),m=e.repaymentDate.format(s.dateFormat.visual.MMMDCommaYYYYformat),C=qe(p,h,A.sourceAccountUnknown),v=ye(e),w=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,f=v||!r&&w,R=f?A.autopay:xe(e.paidByUser),D=e.status==="Rejected"||e.status==="Returned",_=e.status==="Sent",Z=e.updateTime.format(s.dateFormat.visual.MMMDCommaYYYYformat),P=we();return t.jsx(St,{windowSize:u,children:t.jsx(Ct,{children:t.jsxs(Pt,{children:[t.jsx(kt,{windowSize:u,responsiveWidth:P[0].width,children:t.jsx(b,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:_?t.jsx(We,{placement:"bottom-start",title:t.jsxs(Qt,{children:[t.jsxs(oe,{children:[t.jsx(ae,{children:A.initiatedOn}),t.jsx(se,{children:m})]}),t.jsxs(oe,{children:[t.jsx(ae,{children:A.completedOn}),t.jsx(se,{children:Z})]})]}),style:{padding:"12px 16px"},display:"block",children:t.jsx(ie,{className:"paymentDate",children:m})}):t.jsx(ie,{className:"paymentDate",children:m})})}),t.jsxs(Lt,{windowSize:u,responsiveWidth:P[1].width,children:[t.jsx(b,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:t.jsx(zt,{children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(Rt,{children:t.jsx(It,{color:Y(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(Bt,{src:wt(g),loading:"lazy"}):t.jsx(Tt,{children:t.jsx(Dt,{})})})}),t.jsx(Ot,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:p!=null&&p!==""?t.jsxs(ne,{className:"sourceAccount",children:[t.jsx(At,{children:p}),h!=null&&h!==""&&t.jsx(Mt,{children:`•••• ${h}`})]}):t.jsx(ne,{className:"sourceAccount",children:C})})})]}),t.jsx(Nt,{windowSize:u,isLoading:a,responsiveWidth:P[2].width,children:t.jsx(b,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsxs(Ht,{children:[t.jsx(Wt,{children:t.jsx(vt,{status:e.status})}),D===!0&&c===!0&&d!=null&&t.jsxs(t.Fragment,{children:[t.jsx(jt,{}),t.jsx(Et,{onClick:j,"data-testid":O("retry-payment",e.cardRepaymentId),children:A.retryPayment})]})]})})}),t.jsxs(_t,{windowSize:u,responsiveWidth:P[3].width,children:[t.jsx(b,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:f?t.jsx(Kt,{children:t.jsx(Vt,{})}):t.jsx(Ft,{children:t.jsx(Ee,{personBasic:e.paidByUser,styles:{height:i.sp4,width:i.sp4,minWidth:i.sp4}})})}),t.jsx(b,{isLoading:a,customStyle:{width:"80px",height:"20px",borderRadius:i.sp1,marginLeft:i.sp2},children:t.jsx(Zt,{className:"initiatedBy",children:R})})]}),t.jsx(Ut,{windowSize:u,responsiveWidth:P[4].width,children:t.jsx(b,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(Yt,{className:"amount",windowSize:u,title:K("0,0.00",e.amount),children:K("0,0.00",e.amount)})})})]})})})},vt=({status:e,style:o})=>{const c=V(),a=bt(e,c),r=fe(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},bt=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},jt=n.div`
94
+ `,B={containerPaddingLeft:new x(l[3],l[2]),containerPaddingRight:new x(l[2],l[3]),containerPaddingTop:new x(l[2],l[3]),containerPaddingBottom:new x(l[2],l[3]),containerMarginLeft:new x(l[4],l[0]),containerMarginRight:new x(l[4],l[0])},{spendManagement:{chargeCard:{paymentHistory:A}}}=T.getLocalizedStrings(),ft=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",$t=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=H(),b=S.useCallback(Z=>{Z.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),s=T.getLocalizedStrings(),m=e.repaymentDate.format(s.dateFormat.visual.MMMDCommaYYYYformat),C=Qe(p,h,A.sourceAccountUnknown),v=ye(e),f=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,w=v||!r&&f,R=w?A.autopay:xe(e.paidByUser),D=e.status==="Rejected"||e.status==="Returned",V=e.status==="Sent",Y=e.updateTime.format(s.dateFormat.visual.MMMDCommaYYYYformat),P=fe();return t.jsx(St,{windowSize:u,children:t.jsx(Ct,{children:t.jsxs(Pt,{children:[t.jsx(kt,{windowSize:u,responsiveWidth:P[0].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:V?t.jsx(We,{placement:"bottom-start",title:t.jsxs(Jt,{children:[t.jsxs(oe,{children:[t.jsx(ae,{children:A.initiatedOn}),t.jsx(se,{children:m})]}),t.jsxs(oe,{children:[t.jsx(ae,{children:A.completedOn}),t.jsx(se,{children:Y})]})]}),style:{padding:"12px 16px"},display:"block",children:t.jsx(ie,{className:"paymentDate",children:m})}):t.jsx(ie,{className:"paymentDate",children:m})})}),t.jsxs(Lt,{windowSize:u,responsiveWidth:P[1].width,children:[t.jsx(j,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:t.jsx(zt,{children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(Rt,{children:t.jsx(It,{color:U(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(Bt,{src:ft(g),loading:"lazy"}):t.jsx(Tt,{children:t.jsx(Dt,{})})})}),t.jsx(Ot,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:p!=null&&p!==""?t.jsxs(ne,{className:"sourceAccount",children:[t.jsx(At,{children:p}),h!=null&&h!==""&&t.jsx(Mt,{children:`•••• ${h}`})]}):t.jsx(ne,{className:"sourceAccount",children:C})})})]}),t.jsx(Nt,{windowSize:u,isLoading:a,responsiveWidth:P[2].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsxs(Ht,{children:[t.jsx(Wt,{children:t.jsx(vt,{status:e.status})}),D===!0&&c===!0&&d!=null&&t.jsxs(t.Fragment,{children:[t.jsx(bt,{}),t.jsx(Et,{onClick:b,"data-testid":O("retry-payment",e.cardRepaymentId),children:A.retryPayment})]})]})})}),t.jsxs(Vt,{windowSize:u,responsiveWidth:P[3].width,children:[t.jsx(j,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:w?t.jsx(Kt,{children:t.jsx(_t,{})}):t.jsx(Ft,{children:t.jsx(Ee,{personBasic:e.paidByUser,styles:{height:i.sp4,width:i.sp4,minWidth:i.sp4}})})}),t.jsx(j,{isLoading:a,customStyle:{width:"80px",height:"20px",borderRadius:i.sp1,marginLeft:i.sp2},children:t.jsx(Yt,{className:"initiatedBy",children:R})})]}),t.jsx(Zt,{windowSize:u,responsiveWidth:P[4].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(Ut,{className:"amount",windowSize:u,title:K("0,0.00",e.amount),children:K("0,0.00",e.amount)})})})]})})})},vt=({status:e,style:o})=>{const c=_(),a=jt(e,c),r=we(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},jt=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},bt=n.div`
95
95
  width: ${i.sp1};
96
96
  height: ${i.sp1};
97
97
  background-color: ${e=>e.theme.colors.grey1};
@@ -245,7 +245,7 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
245
245
  &:hover {
246
246
  color: ${$.link};
247
247
  }
248
- `,_t=n.div`
248
+ `,Vt=n.div`
249
249
  display: flex;
250
250
  align-items: center;
251
251
  gap: ${i.sp2};
@@ -259,7 +259,7 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
259
259
  width: ${i.sp4};
260
260
  height: ${i.sp4};
261
261
  border-radius: 50%;
262
- `,Vt=n(et)`
262
+ `,_t=n(et)`
263
263
  width: ${i.sp4};
264
264
  height: ${i.sp4};
265
265
  color: ${e=>e.theme.colors.hero};
@@ -271,13 +271,13 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
271
271
  height: ${i.sp4};
272
272
  border-radius: 50%;
273
273
  background-color: ${e=>e.theme.colors.grey3};
274
- `,Zt=n(W)`
274
+ `,Yt=n(W)`
275
275
  color: ${e=>e.theme.colors.hero};
276
276
  max-width: 100%;
277
277
  overflow: hidden;
278
278
  text-overflow: ellipsis;
279
279
  white-space: nowrap;
280
- `,Ut=n.div`
280
+ `,Zt=n.div`
281
281
  display: flex;
282
282
  align-items: center;
283
283
  justify-content: flex-end;
@@ -285,13 +285,13 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
285
285
  padding-right: ${i.sp2};
286
286
  width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
287
287
  box-sizing: border-box;
288
- `,Yt=n(W)`
288
+ `,Ut=n(W)`
289
289
  color: ${e=>e.theme.colors.hero};
290
290
  max-width: 100%;
291
291
  overflow: hidden;
292
292
  text-overflow: ellipsis;
293
293
  white-space: nowrap;
294
- `,Qt=n.div`
294
+ `,Jt=n.div`
295
295
  display: flex;
296
296
  flex-direction: column;
297
297
  gap: ${i.sp1};
@@ -304,7 +304,7 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
304
304
  color: ${e=>e.theme.colors.hero};
305
305
  `,se=n(F)`
306
306
  color: ${$.brandColorPearl};
307
- `,Xt=new z(Y(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:M}}}=T.getLocalizedStrings(),Gt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Jt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=S.useCallback(f=>{f.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),j=T.getLocalizedStrings(),s=e.repaymentDate.format(j.dateFormat.visual.MMMDCommaYYYYformat),m=ye(e),C=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,v=m||!r&&C?M.autopay:xe(e.paidByUser),w=e.status==="Rejected"||e.status==="Returned";return t.jsx(ti,{children:t.jsxs(ii,{children:[t.jsxs(ni,{children:[t.jsx(oi,{children:t.jsx(b,{isLoading:a,customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(ai,{children:t.jsx(si,{color:Y(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(li,{src:Gt(g),loading:"lazy"}):t.jsx(ri,{children:t.jsx(di,{})})})}),t.jsxs(ci,{children:[t.jsx(hi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:t.jsx(pi,{className:"sourceAccount",children:p!=null&&p!==""?p:M.sourceAccountUnknown})})}),t.jsx(mi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"120px",height:"16px",borderRadius:i.sp1},children:t.jsx(gi,{children:h!=null&&h!==""?`Checking •••• ${h}`:""})})}),t.jsx(ui,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(yi,{children:[M.header.initiatedBy,":"," ",t.jsx(xi,{className:"initiatedBy",children:v})]})})}),t.jsx(fi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(wi,{children:[M.header.paymentDate,":"," ",t.jsx($i,{className:"paymentDate",children:s})]})})})]})]}),t.jsxs(vi,{children:[t.jsx(bi,{children:t.jsx(b,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(ji,{className:"amount",title:K("0,0.[00]",e.amount),children:K("0,0.[00]",e.amount)})})}),t.jsx(Si,{children:t.jsx(b,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ci,{children:t.jsx(Pi,{children:t.jsx(qt,{status:e.status})})})})}),w===!0&&c===!0&&d!=null&&t.jsx(ki,{children:t.jsx(Li,{onClick:u,"data-testid":O("retry-payment",e.cardRepaymentId),children:M.retryPayment})})]})]})})},qt=({status:e,style:o})=>{const c=V(),a=ei(e,c),r=fe(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},ei=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},ti=n.div`
307
+ `,Xt=new z(U(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:M}}}=T.getLocalizedStrings(),Gt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",qt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=S.useCallback(w=>{w.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),b=T.getLocalizedStrings(),s=e.repaymentDate.format(b.dateFormat.visual.MMMDCommaYYYYformat),m=ye(e),C=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,v=m||!r&&C?M.autopay:xe(e.paidByUser),f=e.status==="Rejected"||e.status==="Returned";return t.jsx(ti,{children:t.jsxs(ii,{children:[t.jsxs(ni,{children:[t.jsx(oi,{children:t.jsx(j,{isLoading:a,customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(ai,{children:t.jsx(si,{color:U(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(li,{src:Gt(g),loading:"lazy"}):t.jsx(ri,{children:t.jsx(di,{})})})}),t.jsxs(ci,{children:[t.jsx(hi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:t.jsx(pi,{className:"sourceAccount",children:p!=null&&p!==""?p:M.sourceAccountUnknown})})}),t.jsx(mi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:"16px",borderRadius:i.sp1},children:t.jsx(gi,{children:h!=null&&h!==""?`Checking •••• ${h}`:""})})}),t.jsx(ui,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(yi,{children:[M.header.initiatedBy,":"," ",t.jsx(xi,{className:"initiatedBy",children:v})]})})}),t.jsx(wi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(fi,{children:[M.header.paymentDate,":"," ",t.jsx($i,{className:"paymentDate",children:s})]})})})]})]}),t.jsxs(vi,{children:[t.jsx(ji,{children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(bi,{className:"amount",title:K("0,0.[00]",e.amount),children:K("0,0.[00]",e.amount)})})}),t.jsx(Si,{children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ci,{children:t.jsx(Pi,{children:t.jsx(Qt,{status:e.status})})})})}),f===!0&&c===!0&&d!=null&&t.jsx(ki,{children:t.jsx(Li,{onClick:u,"data-testid":O("retry-payment",e.cardRepaymentId),children:M.retryPayment})})]})]})})},Qt=({status:e,style:o})=>{const c=_(),a=ei(e,c),r=we(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},ei=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},ti=n.div`
308
308
  display: flex;
309
309
  background-color: ${e=>e.theme.colors.grey5};
310
310
  padding: ${i.sp3};
@@ -418,12 +418,12 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
418
418
  white-space: nowrap;
419
419
  `,xi=n.span`
420
420
  color: ${e=>e.theme.colors.hero};
421
- `,fi=n.div`
421
+ `,wi=n.div`
422
422
  display: flex;
423
423
  align-items: center;
424
424
  position: relative;
425
425
  top: -2px;
426
- `,wi=n(N)`
426
+ `,fi=n(N)`
427
427
  color: ${e=>e.theme.colors.hero};
428
428
  max-width: 100%;
429
429
  overflow: hidden;
@@ -437,11 +437,11 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
437
437
  align-items: flex-end;
438
438
  justify-content: flex-start;
439
439
  flex-shrink: 0;
440
- `,bi=n.div`
440
+ `,ji=n.div`
441
441
  display: flex;
442
442
  align-items: center;
443
443
  justify-content: flex-end;
444
- `,ji=n(N)`
444
+ `,bi=n(N)`
445
445
  color: ${e=>e.theme.colors.hero};
446
446
  max-width: 100%;
447
447
  overflow: hidden;
@@ -474,14 +474,14 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
474
474
  display: flex;
475
475
  align-items: center;
476
476
  justify-content: flex-end;
477
- `,Li=n(Ve)`
477
+ `,Li=n(_e)`
478
478
  color: ${$.link};
479
479
  cursor: pointer;
480
480
  text-decoration: underline;
481
481
  &:hover {
482
482
  text-decoration: underline;
483
483
  }
484
- `,zi={lastListItemHeight:new x(200,114)},Ri=T.getLocalizedStrings(),{spendManagement:{chargeCard:re},common:Ii}=Ri,de=50,Ti=64,Di=351,Bi=86,$e=Q.memo(({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,searchText:a,isZeniTenant:r,onColumnSortConfigChanged:d,onReloadPayments:g,onRetryPaymentClick:y})=>{const h=H(),p=S.useCallback(v=>v===0?de:h==="small"?132:G,[h]),u=S.useMemo(()=>{let v=de+Ti;for(let w=1;w<=o.length;w++)v+=p(w);return v},[o.length,p]),j=S.useMemo(()=>window.innerHeight-Di,[]),s=u>j,m=S.useRef(null);S.useEffect(()=>{m.current?.resetAfterIndex(0)},[h]);const C=()=>e==="Error"?t.jsxs(Hi,{children:[t.jsx(Wi,{onClick:g,"data-testid":O("payment-history-list-reload"),children:t.jsx(Ei,{})}),t.jsx(_i,{children:Ii.reloadPage.label})]}):e==="Completed"&&o.length===0?t.jsx(Fi,{children:t.jsx(Zi,{children:a!==""?re.paymentHistory.noPaymentHistoryMatchedSearch:re.paymentHistory.noPaymentHistoryAvailable})}):t.jsx(be,{children:t.jsx(Ki,{windowSize:h,availableHeight:j,isListTooLarge:s,children:t.jsx(Oe,{children:({height:v,width:w})=>t.jsx(Ae,{ref:m,height:v,itemCount:o.length+1,innerElementType:ve,itemSize:p,estimatedItemSize:G,itemKey:f=>f===0?"header":o[f-1].repayment.cardRepaymentId,width:w,overscanCount:Me,initialScrollOffset:0,children:f=>t.jsx(Oi,{...f,repaymentListWithAccountInfo:o,sortConfig:c,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:y})})})})});return t.jsx(Ni,{fetchState:e,children:C()})},(e,o)=>e.repaymentListWithAccountInfo===o.repaymentListWithAccountInfo&&e.fetchState===o.fetchState&&e.sortConfig.sortKey===o.sortConfig.sortKey&&e.sortConfig.sortOrder===o.sortConfig.sortOrder&&e.searchText===o.searchText&&e.isZeniTenant===o.isZeniTenant);$e.displayName="ChargeCardPaymentHistoryContent";const ve=S.forwardRef((e,o)=>{const{children:c,style:a,...r}=e;return t.jsx(be,{ref:o,style:{...a,width:"auto"},...r,children:t.jsx(Vi,{children:c})})});ve.displayName="ChargeCardPaymentHistoryInnerElement";const Oi=({index:e,style:o,repaymentListWithAccountInfo:c,sortConfig:a,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:g})=>{const y=H(),h=e===0,p=h?null:c[e-1],u=p?.repayment??null,j=p?.accountInfo,s=S.useMemo(()=>{if(c.length===0)return null;const w=c.map(R=>R.repayment),f=w.slice(1).reduce((R,D)=>D.repaymentDate.isAfter(R.repaymentDate)?D:R,w[0]);return f.status==="Rejected"||f.status==="Returned"?f.cardRepaymentId:null},[c]),m={...o,width:"100%"};if(h)return t.jsx(le,{style:m,className:"spend-management-list-item",children:t.jsx(rt,{companyNameSticky:!1,sortConfig:a,onColumnSortConfigChanged:d})});if(u==null)return null;const C=s!==null&&u.cardRepaymentId===s,v=y==="small"?Jt:$t;return t.jsx(le,{style:m,className:"spend-management-list-item",children:t.jsx(v,{repayment:u,accountInfo:j,isLatestFailedPayment:C,isZeniTenant:r,onRetryPaymentClick:g})})},Ai=({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})=>(Be({componentName:"charge_card_payment_history.list",enabled:e==="Completed"}),t.jsx($e,{fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})),Mi=Q.memo(Ai),Ni=n.div`
484
+ `,zi={lastListItemHeight:new x(200,114)},Ri=T.getLocalizedStrings(),{spendManagement:{chargeCard:re},common:Ii}=Ri,de=50,Ti=64,Di=351,Bi=86,$e=J.memo(({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,searchText:a,isZeniTenant:r,onColumnSortConfigChanged:d,onReloadPayments:g,onRetryPaymentClick:y})=>{const h=H(),p=S.useCallback(v=>v===0?de:h==="small"?132:G,[h]),u=S.useMemo(()=>{let v=de+Ti;for(let f=1;f<=o.length;f++)v+=p(f);return v},[o.length,p]),b=S.useMemo(()=>window.innerHeight-Di,[]),s=u>b,m=S.useRef(null);S.useEffect(()=>{m.current?.resetAfterIndex(0)},[h]);const C=()=>e==="Error"?t.jsxs(Hi,{children:[t.jsx(Wi,{onClick:g,"data-testid":O("payment-history-list-reload"),children:t.jsx(Ei,{})}),t.jsx(Vi,{children:Ii.reloadPage.label})]}):e==="Completed"&&o.length===0?t.jsx(Fi,{children:t.jsx(Yi,{children:a!==""?re.paymentHistory.noPaymentHistoryMatchedSearch:re.paymentHistory.noPaymentHistoryAvailable})}):t.jsx(je,{children:t.jsx(Ki,{windowSize:h,availableHeight:b,isListTooLarge:s,children:t.jsx(Oe,{children:({height:v,width:f})=>t.jsx(Ae,{ref:m,height:v,itemCount:o.length+1,innerElementType:ve,itemSize:p,estimatedItemSize:G,itemKey:w=>w===0?"header":o[w-1].repayment.cardRepaymentId,width:f,overscanCount:Me,initialScrollOffset:0,children:w=>t.jsx(Oi,{...w,repaymentListWithAccountInfo:o,sortConfig:c,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:y})})})})});return t.jsx(Ni,{fetchState:e,children:C()})},(e,o)=>e.repaymentListWithAccountInfo===o.repaymentListWithAccountInfo&&e.fetchState===o.fetchState&&e.sortConfig.sortKey===o.sortConfig.sortKey&&e.sortConfig.sortOrder===o.sortConfig.sortOrder&&e.searchText===o.searchText&&e.isZeniTenant===o.isZeniTenant);$e.displayName="ChargeCardPaymentHistoryContent";const ve=S.forwardRef((e,o)=>{const{children:c,style:a,...r}=e;return t.jsx(je,{ref:o,style:{...a,width:"auto"},...r,children:t.jsx(_i,{children:c})})});ve.displayName="ChargeCardPaymentHistoryInnerElement";const Oi=({index:e,style:o,repaymentListWithAccountInfo:c,sortConfig:a,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:g})=>{const y=H(),h=e===0,p=h?null:c[e-1],u=p?.repayment??null,b=p?.accountInfo,s=S.useMemo(()=>{if(c.length===0)return null;const f=c.map(R=>R.repayment),w=f.slice(1).reduce((R,D)=>D.repaymentDate.isAfter(R.repaymentDate)?D:R,f[0]);return w.status==="Rejected"||w.status==="Returned"?w.cardRepaymentId:null},[c]),m={...o,width:"100%"};if(h)return t.jsx(le,{style:m,className:"spend-management-list-item",children:t.jsx(rt,{companyNameSticky:!1,sortConfig:a,onColumnSortConfigChanged:d})});if(u==null)return null;const C=s!==null&&u.cardRepaymentId===s,v=y==="small"?qt:$t;return t.jsx(le,{style:m,className:"spend-management-list-item",children:t.jsx(v,{repayment:u,accountInfo:b,isLatestFailedPayment:C,isZeniTenant:r,onRetryPaymentClick:g})})},Ai=({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})=>(Be({componentName:"charge_card_payment_history.list",enabled:e==="Completed"}),t.jsx($e,{fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})),Mi=J.memo(Ai),Ni=n.div`
485
485
  margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
486
486
  display: block;
487
487
  height: 100%;
@@ -508,7 +508,7 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
508
508
  &:hover {
509
509
  color: ${e=>e.theme.colors.primary};
510
510
  }
511
- `,_i=n(He)`
511
+ `,Vi=n(He)`
512
512
  margin-top: ${i.sp3};
513
513
  color: ${e=>e.theme.colors.hero};
514
514
  `,Ki=n.div`
@@ -537,27 +537,27 @@ import{a8 as ze,aw as Re,J as H,g as V,V as t,bB as Ie,b as I,g4 as Te,F as T,u
537
537
  left: ${i.sp0};
538
538
  padding-bottom: ${i.sp3};
539
539
  box-sizing: border-box;
540
- `,Vi=n.div`
540
+ `,_i=n.div`
541
541
  position: relative;
542
542
  width: auto;
543
543
  height: 100%;
544
- `,be=n.div``,Fi=n.div`
544
+ `,je=n.div``,Fi=n.div`
545
545
  display: flex;
546
546
  height: 100%;
547
547
  flex: 1 1 auto;
548
548
  flex-direction: row;
549
549
  justify-content: center;
550
550
  align-items: flex-end;
551
- `,Zi=n(W)`
551
+ `,Yi=n(W)`
552
552
  display: flex;
553
553
  color: ${e=>e.theme.colors.grey2};
554
- `,ce={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:he}},common:Ui}=T.getLocalizedStrings(),pn=({repaymentList:e,fetchState:o,sortConfig:c,accountInfoByAccountId:a,searchText:r,filters:d,isZeniTenant:g,onBackClick:y,repaymentHistoryUsers:h,onColumnSortConfigChanged:p,onFiltersChange:u,onReloadPayments:j,onRetryPaymentClick:s,onSearchTextChanged:m,onClickMenuIcon:C,downloadParams:v,downloadState:w,updateDownloadStateHandler:f})=>{const R=ze().analytics,D=Re(),[_,Z]=S.useState(!1),P=H(),U=V(),je=r===""&&(d?.categories==null||d.categories.length===0||d.categories.every(L=>L.values==null||L.values.length===0)),X=o==="Completed"&&je&&e.length===0,Se=L=>{Z(L)},Ce={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Ui.strings.empty,hideSearchBtn:!1,disableSearch:X,disableFilters:X,searchTextBoxStyle:{right:"86px"},moreIconContainerStyle:{paddingRight:l[4]},isSearchOpen:_,searchPlaceHolder:he.searchPlaceHolder,searchText:r,showSettingsIcon:!1,showSettingsIconOnNavbar:!1,showStatementButtonOnNavbar:!1,showPayEarlyButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,showDownloadIcon:!0,onDownloadClick:async()=>{f("In-Progress");try{await De({localeID:"en-US",fileType:"excel",entity:"charge_card_payment_history",filter:{filters:d,searchText:r},...v})}finally{f("Completed")}},disableDownloadButton:w==="In-Progress"||o!=="Completed"||e.length===0,analytics:R,onSearchOpen:Se,filterIconContainerStyle:{...P==="small"&&{position:"static",paddingRight:"10px"}},onSearchTextChanged:m,onClickSetupIcon:()=>{},onClickStatementsIcon:()=>{},downloadState:w,onNewButtonClick:()=>{},onClickPayEarlyIcon:()=>{},onMenuOpen:()=>{},filters:d,onFiltersChange:u,createdByUserListLoaded:o==="Completed",getFilterOptions:()=>Je("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Ge},Pe=t.jsx(Xe,{spendManagementSectionProps:Ce}),ke=he.pageTitle,Le=S.useMemo(()=>e.map(L=>({repayment:L,accountInfo:L.paymentAccountId!=null&&L.paymentAccountId!==""?a?.[L.paymentAccountId]:void 0})),[e,a]);return t.jsxs(Yi,{children:[t.jsx(Ie,{title:ke,showBackButton:!0,showMenuIcon:P==="medium-compact"||P==="small",onClickMenuIcon:C,titleTextStyles:P==="small"?{...I.standardMedium.cssObject}:void 0,style:{zIndex:3},onBackClick:y,rightSideComponent:Pe,isSearchOpen:_,hideSearchBtn:!1,scrollableContent:void 0,source:"ChargeCardPaymentHistoryPage",backgroundColor:U.colors.grey4}),o==="Not-Started"||o==="In-Progress"?t.jsx(Te,{fetchState:o,styles:{margin:"auto"}}):t.jsx(Qi,{windowSize:P,children:t.jsx(Mi,{fetchState:o,repaymentListWithAccountInfo:Le,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:j,searchText:r,isZeniTenant:g,onRetryPaymentClick:s})})]})},Yi=n.div`
554
+ `,ce={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:he}},common:Zi}=T.getLocalizedStrings(),pn=({repaymentList:e,fetchState:o,sortConfig:c,accountInfoByAccountId:a,searchText:r,filters:d,isZeniTenant:g,onBackClick:y,repaymentHistoryUsers:h,onColumnSortConfigChanged:p,onFiltersChange:u,onReloadPayments:b,onRetryPaymentClick:s,onSearchTextChanged:m,onClickMenuIcon:C,downloadParams:v,downloadState:f,updateDownloadStateHandler:w})=>{const R=ze().analytics,D=Re(),[V,Y]=S.useState(!1),P=H(),Z=_(),be=r===""&&(d?.categories==null||d.categories.length===0||d.categories.every(L=>L.values==null||L.values.length===0)),X=o==="Completed"&&be&&e.length===0,Se=L=>{Y(L)},Ce={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Zi.strings.empty,hideSearchBtn:!1,disableSearch:X,disableFilters:X,searchTextBoxStyle:{right:"86px"},moreIconContainerStyle:{paddingRight:l[4]},isSearchOpen:V,searchPlaceHolder:he.searchPlaceHolder,searchText:r,showSettingsIcon:!1,showSettingsIconOnNavbar:!1,showStatementButtonOnNavbar:!1,showPayEarlyButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,showDownloadIcon:!0,onDownloadClick:async()=>{w("In-Progress");try{await De({localeID:"en-US",fileType:"excel",entity:"charge_card_payment_history",filter:{filters:d,searchText:r},...v})}finally{w("Completed")}},disableDownloadButton:f==="In-Progress"||o!=="Completed"||e.length===0,analytics:R,onSearchOpen:Se,filterIconContainerStyle:{...P==="small"&&{position:"static",paddingRight:"10px"}},onSearchTextChanged:m,onClickSetupIcon:()=>{},onClickStatementsIcon:()=>{},downloadState:f,onNewButtonClick:()=>{},onClickPayEarlyIcon:()=>{},onMenuOpen:()=>{},filters:d,onFiltersChange:u,createdByUserListLoaded:o==="Completed",getFilterOptions:()=>qe("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Ge},Pe=t.jsx(Xe,{spendManagementSectionProps:Ce}),ke=he.pageTitle,Le=S.useMemo(()=>e.map(L=>({repayment:L,accountInfo:L.paymentAccountId!=null&&L.paymentAccountId!==""?a?.[L.paymentAccountId]:void 0})),[e,a]);return t.jsxs(Ui,{children:[t.jsx(Ie,{title:ke,showBackButton:!0,showMenuIcon:P==="medium-compact"||P==="small",onClickMenuIcon:C,titleTextStyles:P==="small"?{...I.standardMedium.cssObject}:void 0,style:{zIndex:3},onBackClick:y,rightSideComponent:Pe,isSearchOpen:V,hideSearchBtn:!1,scrollableContent:void 0,source:"ChargeCardPaymentHistoryPage",backgroundColor:Z.colors.grey4}),o==="Not-Started"||o==="In-Progress"?t.jsx(Te,{fetchState:o,styles:{margin:"auto"}}):t.jsx(Ji,{windowSize:P,children:t.jsx(Mi,{fetchState:o,repaymentListWithAccountInfo:Le,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:b,searchText:r,isZeniTenant:g,onRetryPaymentClick:s})})]})},Ui=n.div`
555
555
  display: flex;
556
556
  flex-direction: column;
557
557
  width: 100%;
558
558
  height: 100vh;
559
559
  overflow: auto;
560
- `,Qi=n.div`
560
+ `,Ji=n.div`
561
561
  margin-top: ${i.sp4};
562
562
  margin-right: ${e=>ce.contentContainerMargin.valuePx(e.windowSize)};
563
563
  margin-bottom: ${i.sp0};
@@ -0,0 +1,222 @@
1
+ import{J as b,V as r,d as G,aw as $e,a8 as be,aQ as je,aN as Se,fW as Te,bC as ve,fv as ze,r as Y,aP as ee,F as ae,o as t,R as Pe,c as J,cD as ke,aq as Ie,y as u,ap as Ae,bT as Be,iO as Le,ai as Re,u as p,O as S,p as y,ba as _e,aU as Me,iP as Ee}from"./index-Kp9YkIA7.js";import{a as T}from"./sentry-D0RHYOS9.js";import{n as o,c as De,k as Fe}from"./mui-NI7j5KJX.js";import{EP as Ue}from"./zeni-epic-state-Bk1TvHP-.js";import{k as Ne}from"./NavigationDots-C7Na64B9-BQCsm-PU.js";import{J as H,N as O}from"./PromoBaseCards-BVwZMVeE-z_DbgbjQ.js";import{M as R}from"./usp-line-BBd1wKwW-Be4fJkJI.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="1aa0fa4a-7942-4539-a904-59da62dac4a7",e._sentryDebugIdIdentifier="sentry-dbid-1aa0fa4a-7942-4539-a904-59da62dac4a7")}catch{}})();const g={containerPaddingTopBottom:new u(p[0],p[0]),uspContainerMarginX:new u(p[6],p[0]),midContainerGap:new u(p[4],84),iconContainerMinHeight:new u(236,396),emptySectionHeight:new u(p[6],43),navigationBottom:new u(p[4],94),navigationLeft:new u(192,244),carouselHeight:new u(268,396),carouselMarginTop:new u(54,p[4]),carouselMarginLeft:new u(120,p[12]),buttonTrayGap:new u(p[3],p[5]),termsOfAgreementMarginTop:new u(p[5],p[10]),contactAdminContainerMarginTop:new u(p[0],p[10]),contactAdminContainerMarginBottom:new u(p[4],p[0]),contactAdminContainerMarginLeftRight:new u(p[3],p[0])},v={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:a}}}=ae.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:x,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:V,onExpressInterestClick:ge})=>{const he=G(),W=$e(),z=b(),X=be().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:M}=i,Q=je(_?.fetchStatus.fetchState),[ue,Z]=T.useState(!1),xe=()=>{X.trackCardsPromoPageClicked("schedule demo"),X.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:x,isCreditCardEnabled:w},"Cards Promo"),Z(!0)},we=C!=null&&M!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{Q==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&V()},[Q,V,_?.fetchStatus]);const q=Ue(W.loggedInUserRoleMap),fe=Te(W),E=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:ye}=i,K=E?a.getPreApprovedNow:n?a.enableCardsButton:a.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ve,{title:a.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),ue===!0?r.jsx(ze,{onCancelClick:()=>{Z(!1)},meetingUrl:e}):null,r.jsx(qe,{windowSize:z,children:q===!0?r.jsxs(Ze,{children:[r.jsxs(Qe,{children:[r.jsx(Oe,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ne,{cardPromoType:f,cashbackRate:P})]}),r.jsx(oe,{showEnableCardButton:n,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Ge,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),q&&!(F||D)?r.jsxs(ar,{windowSize:z,children:[r.jsx(Y,{variant:"secondary",label:a.scheduleDemoButton,style:{width:166},onClick:xe,"data-testid":ee("schedule-demo-button")}),r.jsx(Xe,{windowSize:z,children:a.orText}),r.jsx(Y,{variant:"primary",label:K,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||ye==="In-Progress",onClick:K===a.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},He=({admins:e})=>{const s=e.flatMap(n=>n.user?.firstName+" "+n.user?.lastName).join(", "),i=b();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:a.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:a.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:a.noCardAssigned.post})]})},oe=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:n,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const x=b();return r.jsx(ir,{windowSize:x,children:r.jsx(Le,{topTermLabel:a.terms.checkingAccountTerm,buttonTermLabel:n===!0||c===!0||h===!0?void 0:m===!0?a.terms.getPreApprovedNowTerm:s?a.terms.alternateTerm1:a.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&n===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(x)},cardPromoType:e,isCheckingEnabled:i})})},Oe=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const x=b(),w=s==="debit_and_credit"?a.promoTextDebitCreditCard:s==="debit"?a.promoTextDebitCard:a.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[a.promoBadgeText.approved,r.jsx(te,{children:i}),a.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[a.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:a.promoBadgeText.nonPreApproved.scale}),a.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,a.promoBadgeText.nonPreApproved.higherLimits]}):n?a.promoBadgeText.underReview:c?a.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[a.promoBadgeText.preApproved,r.jsx(te,{children:i}),a.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:a.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:a.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:x,children:[n||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:x,children:j})]})]})},Ge=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const x=b(),w=m==="debit_and_credit"?a.promoTextDebitCreditCard:m==="debit"?a.promoTextDebitCard:a.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[x==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:a.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:a.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:x}):r.jsx(Je,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:m,cashbackRate:n}),c?null:r.jsx(He,{admins:i}),r.jsx(oe,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Je=({cards:e,companyLegalName:s})=>{const i=G(),n=b();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=a.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=a.cardAssigned.multipleCreditCards.replace("__company-name__",s);return r.jsxs(hr,{children:[m!=null?r.jsx(Ke,{width:t.sp5,height:t.sp5,style:{paddingTop:n==="small"?t.sp1:t.sp0},src:m.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=Ae},loading:"lazy"}):null,r.jsx(gr,{windowSize:n,mode:i.mode,children:r.jsx(ur,{windowSize:n,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=a.businessText;return s==="debit"&&(i=`${i} ${a.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Ve,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(O,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=b(),n=a.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(or,{windowSize:i,children:[r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx($,{windowSize:i,children:n.item1.pre}),r.jsx(A,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx($,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx($,{windowSize:i,children:n.item2.pre}),r.jsx(A,{windowSize:i,children:n.item2.bold}),r.jsx($,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx($,{windowSize:i,children:n.item3.pre}),r.jsx(A,{windowSize:i,children:n.item3.bold}),r.jsx($,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx($,{windowSize:i,children:n.item4.pre}),r.jsx(A,{windowSize:i,children:n.item4.bold}),r.jsx($,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Ve=()=>{const e=b(),s=G(),[i,n]=T.useState(0),[c,m]=T.useState(!1),h=a.businessText,x=`${h} ${a.debit}`,w=[{id:1,cardType:"debit",cardText:x},{id:2,cardType:"debit",cardText:x},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{n(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),n(l)};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(O,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(O,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},We=o.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ min-height: 100%;
5
+ flex-direction: column;
6
+ background-color: ${e=>e.theme.colors.grey4};
7
+ `,Xe=o(Re)`
8
+ color: ${e=>e.theme.colors.hero};
9
+ `,Qe=o.div`
10
+ display: flex;
11
+ flex-direction: column;
12
+ align-items: center;
13
+ `,Ze=o.div`
14
+ display: flex;
15
+ flex-direction: column;
16
+ justify-content: space-between;
17
+ flex: 1;
18
+ width: 100%;
19
+ `,qe=o.div`
20
+ padding-top: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
21
+ padding-bottom: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
22
+ text-align: center;
23
+ flex: 1;
24
+ display: flex;
25
+ flex-direction: column;
26
+ overflow-x: hidden;
27
+ `,se=o(ke)`
28
+ max-width: 927px;
29
+ margin: auto;
30
+ display: flex;
31
+ justify-content: center;
32
+ flex-wrap: wrap;
33
+ padding: ${t.sp7} ${t.sp0} ${t.sp0} ${t.sp0};
34
+ color: ${e=>e.theme.colors.primary};
35
+ `,de=o(Ie)`
36
+ color: ${e=>e.theme.colors.primary};
37
+ margin: auto;
38
+ margin-top: ${t.sp2};
39
+ `,le=o(Pe)`
40
+ margin: auto;
41
+ max-width: 343px;
42
+ display: flex;
43
+ justify-content: center;
44
+ text-align: center;
45
+ flex-wrap: wrap;
46
+ padding: ${t.sp5} ${t.sp0} ${t.sp0} ${t.sp0};
47
+ color: ${e=>e.theme.colors.primary};
48
+ `,ce=o(J)`
49
+ max-width: 314px;
50
+ margin: auto;
51
+ color: ${e=>e.theme.colors.primary};
52
+ padding: 6px ${t.sp3} ${t.sp0} ${t.sp3};
53
+ text-align: center;
54
+ margin-top: 6px;
55
+ `,Ke=o.img`
56
+ border-radius: 50%;
57
+ justify-content: center;
58
+ color: ${e=>e.theme.colors.hero};
59
+ `,Ye=o.div`
60
+ display: flex;
61
+ flex-direction: row;
62
+ align-items: center;
63
+ justify-content: center;
64
+ position: relative;
65
+ overflow: hidden;
66
+ padding: ${e=>e.hasContent?`${t.sp2} ${t.sp3}`:t.sp0};
67
+ background-color: ${e=>e.theme.colors.grey3};
68
+ border-radius: 96px;
69
+ margin-top: ${t.sp4};
70
+ margin-left: ${e=>e.windowSize==="small"?t.sp3:"auto"};
71
+ margin-right: ${e=>e.windowSize==="small"?t.sp3:"auto"};
72
+ margin-bottom: ${e=>e.cardPromoType==="debit_and_credit"&&e.windowSize==="small"?t.sp0:t.sp6};
73
+ width: fit-content;
74
+ gap: ${t.sp1};
75
+ ${e=>e.hideBadge&&`
76
+ visibility: hidden;
77
+ `}
78
+ `,er=o(J)`
79
+ color: ${e=>e.theme.mode==="dark"?y.brandColorJade:y.brandColorSapphire};
80
+ text-align: ${e=>e.windowSize==="small"?"left":"center"};
81
+ ${e=>`${v.promoBadgeText.style(e.windowSize)}`};
82
+ span {
83
+ ${e=>`${v.promoBadgeTextBold.style(e.windowSize)}`};
84
+ }
85
+ `,rr=o.span``,te=o.span`
86
+ color: ${y.success};
87
+ `,tr=o.div`
88
+ display: flex;
89
+ gap: ${e=>g.midContainerGap.valuePx(e.windowSize)};
90
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
91
+ align-items: center;
92
+ justify-content: center;
93
+ `,ir=o.div`
94
+ display: flex;
95
+ flex-direction: column;
96
+ `,ar=o.div`
97
+ border-top: 1px solid ${e=>e.theme.colors.grey3};
98
+ padding: ${t.sp2} ${t.sp3};
99
+ position: sticky;
100
+ bottom: 0;
101
+ left: 0;
102
+ right: 0;
103
+ z-index: 8;
104
+ display: flex;
105
+ justify-content: center;
106
+ align-items: center;
107
+ flex-direction: row;
108
+ row-gap: ${t.sp2};
109
+ background-color: ${e=>e.theme.colors.grey5};
110
+ gap: ${e=>g.buttonTrayGap.valuePx(e.windowSize)};
111
+ `,or=o.div`
112
+ width: ${e=>e.windowSize==="small"?"auto":"288px"};
113
+ display: flex;
114
+ flex-direction: column;
115
+ margin-left: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
116
+ margin-right: ${e=>g.uspContainerMarginX.valuePx(e.windowSize)};
117
+ z-index: 8;
118
+ `,nr=o.div`
119
+ display: flex;
120
+ justify-content: ${e=>e.windowSize==="small"?"center":"flex-start"};
121
+ min-height: ${e=>g.iconContainerMinHeight.valuePx(e.windowSize)};
122
+ align-items: center;
123
+ min-width: 480px;
124
+ `,I=o.div`
125
+ border-radius: ${t.sp12};
126
+ border: ${e=>`1px solid ${e.theme.colors.grey2}`};
127
+ padding: ${e=>e.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
128
+ background: ${e=>e.theme.colors.grey5};
129
+ position: relative;
130
+ margin-bottom: ${t.sp3};
131
+ display: flex;
132
+ align-items: center;
133
+ text-align: start;
134
+ width: ${e=>e.windowSize==="small"?"288px":"100%"};
135
+ min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
136
+ box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
137
+ `,$=o(_e)`
138
+ color: ${e=>e.theme.colors.champion};
139
+ ${e=>`${v.uspText.style(e.windowSize)}`};
140
+ `,A=o(Me)`
141
+ color: ${e=>e.theme.colors.champion};
142
+ ${e=>`${v.uspBoldText.style(e.windowSize)}`};
143
+ `,B=o.div``,L=o.div`
144
+ padding-left: ${t.sp3};
145
+ `,sr=o(R)`
146
+ color: ${y.graphColor16Dark};
147
+ `,dr=o(R)`
148
+ color: ${y.alert};
149
+ `,lr=o(R)`
150
+ color: ${y.graphColor11};
151
+ `,cr=o(R)`
152
+ color: ${y.success};
153
+ `,pr=o.div`
154
+ height: ${e=>g.emptySectionHeight.valuePx(e.windowSize)};
155
+ ${e=>e.windowSize==="small"?null:De`
156
+ margin-top: ${t.sp4};
157
+ margin-bottom: ${t.sp6};
158
+ `}
159
+ `,mr=o(J)`
160
+ color: ${e=>e.theme.colors.hero};
161
+ margin-top: ${e=>g.contactAdminContainerMarginTop.valuePx(e.windowSize)};
162
+ margin-bottom: ${e=>g.contactAdminContainerMarginBottom.valuePx(e.windowSize)};
163
+ margin-left: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
164
+ margin-right: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
165
+ text-align: center;
166
+ `,N=o(Ee)`
167
+ ${e=>`${v.contactAdmin.style(e.windowSize)}`};
168
+ text-decoration: ${e=>e.underline?"underline":"none"};
169
+ cursor: ${e=>e.underline?"default":null};
170
+ `,gr=o.div`
171
+ color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
172
+ `,hr=o.div`
173
+ background-color: ${e=>e.theme.colors.grey3};
174
+ padding: ${t.sp2} ${t.sp3};
175
+ display: flex;
176
+ gap: ${t.sp2};
177
+ margin: auto;
178
+ max-width: fit-content;
179
+ border-radius: 96px;
180
+ margin-top: ${t.sp4};
181
+ margin-bottom: ${t.sp6};
182
+ `,ur=o.span`
183
+ ${e=>`${v.cardsContent.style(e.windowSize)}`};
184
+ `,xr=o.div`
185
+ display: flex;
186
+ flex-direction: column;
187
+ min-height: ${e=>g.carouselHeight.valuePx(e.windowSize)};
188
+ min-width: 480px;
189
+ position: relative;
190
+ `,wr=o.div`
191
+ position: relative;
192
+ margin-top: ${e=>g.carouselMarginTop.valuePx(e.windowSize)};
193
+ margin-left: ${e=>g.carouselMarginLeft.valuePx(e.windowSize)};
194
+ `,fr=o.div`
195
+ position: relative;
196
+ overflow: visible;
197
+ `,ie=o.div`
198
+ position: absolute;
199
+ ${e=>e.isReflection&&`
200
+ background-color: ${e.theme.colors.grey4};
201
+ clip-path: inset(16% 0 0 0);
202
+ `}
203
+ `,Cr=Fe`
204
+ 0% {
205
+ left: -${t.sp6};
206
+ }
207
+ 50% {
208
+ left: calc(100% + ${t.sp6});
209
+ }
210
+ 100% {
211
+ left: calc(100% + ${t.sp6});
212
+ }
213
+ `,yr=o.div`
214
+ position: absolute;
215
+ background:
216
+ ${y.promoCardGradient1Strong}, ${y.promoCardGradient2Strong};
217
+ width: ${t.sp10};
218
+ z-index: 3;
219
+ height: 100%;
220
+ transform: skew(15deg);
221
+ animation: ${Cr} 4s linear infinite;
222
+ `;export{Ge as ChargeCardPromoUserContent,_r as default};
@@ -0,0 +1,36 @@
1
+ import{d as je,J as Oe,a8 as Ue,aQ as M,a9 as Be,cF as _e,aV as J,V as t,fd as $e,p as ze,y as d,bC as Re,T as We,ac as Le,fw as Ne,dQ as qe,fx as He,o as B,b as Me,iQ as G,bw as Je,aR as Ge,fz as Qe,F as Ke,u as a,al as Xe}from"./index-Kp9YkIA7.js";import{a as f}from"./sentry-D0RHYOS9.js";import{n as S}from"./mui-NI7j5KJX.js";import{bJ as Ye}from"./zeni-epic-state-Bk1TvHP-.js";import{u as Ze}from"./LabeledControlledCheckBoxField-B1QdZmvd-C7yRnNIt.js";import{g as et}from"./UploadAdditionalDocumentOverlay-DCldWCol-DPHHKajn.js";import"./liveblocks-BRWAYUb6.js";import"./core-C99WDMlL.js";import"./recharts-CK-XmmGv.js";import"./lottie-CRJfZNkb.js";import"./analytics-CiM00cgl.js";import"./lexical-DuSFg2Qn.js";import"./utils-z9KEKf_W.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="bfde5131-467d-4bc1-850e-b1e88120ffaf",e._sentryDebugIdIdentifier="sentry-dbid-bfde5131-467d-4bc1-850e-b1e88120ffaf")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(a[1],a[0])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Ke.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:g}=Y,{setUp:_}=tt,St=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:we,onSendForVerificationClick:Se,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Ue().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:$,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:R}=o,W=M(C),k=M(u.fetchState),F=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>K(o),[o]),values:K(o)}),ve=F.handleSubmit(se),Ee=async(w,T)=>{const n=T[m];if(w.includes(m))if(w.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=R.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else w.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const w=F.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{w.unsubscribe()}}),f.useEffect(()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&b(!0),A&&W==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,W]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const V=I?.isChargeCardEnabled===!0,D=z?.isDebitCardEnabled===!0,L=z?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,Fe=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!D&&L:ie?j&&!V&&N:j&&!(V&&D)&&N&&L,Ve=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new J(y.colors.brandColorJadeLight):new J(y.colors.brandColorJadeDark),De=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(ot,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:we,onSendForVerificationClick:Se})}),t.jsx(Re,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!V&&!D&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Ve}),Fe?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Le,{...F,children:t.jsx("form",{id:X(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:De,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:$?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:R,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:ae,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:G(m,"enableAutoPay"),checkBoxValue:G(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Ge,{formId:X(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=S.div`
2
+ display: flex;
3
+ justify-content: flex-start;
4
+ height: 100%;
5
+ overflow-y: auto;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
9
+ `,ot=S.div`
10
+ display: flex;
11
+ min-height: 100%;
12
+ height: 100%;
13
+ flex-direction: column;
14
+ width: 100%;
15
+ background-color: ${e=>e.theme.colors.grey4};
16
+ `,at=S(Xe)`
17
+ color: ${e=>e.theme.colors.hero};
18
+ display: flex;
19
+ justify-content: center;
20
+ width: ${e=>c.titleWidth.valuePx(e.windowSize)};
21
+ padding-top: ${e=>c.subTitlePaddingTop.valuePx(e.windowSize)};
22
+ padding-bottom: ${e=>c.subTitlePaddingBottom.valuePx(e.windowSize)};
23
+ text-align: ${e=>e.windowSize==="small"?"initial":"center"};
24
+ `,ct=S.div`
25
+ display: flex;
26
+ width: 100%;
27
+ height: calc(100vh - 110px);
28
+ flex-direction: row;
29
+ justify-content: center;
30
+ align-items: center;
31
+ background-color: ${e=>e.theme.colors.grey4};
32
+ `,st=S.div`
33
+ display: flex;
34
+ flex-direction: column;
35
+ row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
36
+ `;export{St as default,X as uniqueName};