@zeniai/web-cockpit-ui 1.15.55-dev → 1.15.56-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (357) hide show
  1. package/dist/assets/{ACHDetailsPage-C98HijMx-DIRaMQaw.js → ACHDetailsPage-CfGEDzSb-BGyn6Hh2.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DvIqqfUW-B5ddcrLl.js → AIPerformancePage-BWhcStZE-CeYODf8q.js} +29 -29
  3. package/dist/assets/AccountInfoPage-D6sv-ieC-B4PaH9ex.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Bjoy7kSM-kNnrLnJI.js → AccountInfoPageContent-XBo-oJV1-DWd-5Z8N.js} +15 -15
  5. package/dist/assets/{AccountLockedInfoModal-DisEYsUS-zfxK1-20.js → AccountLockedInfoModal-DTEWzR6U-CswnB2Ho.js} +10 -10
  6. package/dist/assets/{AccountReconDetailsDrawerPage-3lMeeEsP-CBHWuQnb.js → AccountReconDetailsDrawerPage-DwzrCq7I-D9C1tnWs.js} +20 -20
  7. package/dist/assets/AccountRow-BsjoBGWz-XKpYWJFn.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-94l6cw3--BqluiECW.js → AccountsPromoCardStack-D-iNswM8-BCWgVD2M.js} +18 -18
  9. package/dist/assets/AddAddressForCardDrawer-D7IEsbzd-9AcgaTTK.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BFRK3Cz9--H2684Y8.js → AddToWalletPage-DX8xInYJ-DCTNQyem.js} +12 -12
  11. package/dist/assets/{AgingReportsPage-B4XD0NxM-C9hPpgrJ.js → AgingReportsPage-CXj1Tifk-Cx88sSbv.js} +16 -16
  12. package/dist/assets/{AllUserItems-fjv8Ov4s-D0Yn7Cw3.js → AllUserItems-DU78kWqE-BO6rFyuD.js} +13 -13
  13. package/dist/assets/{ApAgingDetailPage-D5ATi6Rg-c01emJHv.js → ApAgingDetailPage-BV5m2F3a-BSgBSoy0.js} +3 -3
  14. package/dist/assets/AppBasePage-1U1M1WD9-CXysaPqS.js +71 -0
  15. package/dist/assets/AppDrawerContent-ilzYI49f-BI7w7tno.js +92 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-CJ4xz_hQ-D5sZOOO8.js +47 -0
  17. package/dist/assets/{ArAgingChart-CW-BCqsC-D14dt6qa.js → ArAgingChart-B0wn2vDP-ClJ7YwbK.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-C4wzs4jI-BEFfnJg4.js → ArAgingDetailPage-C-agUa8y-C_TJ2L21.js} +2 -2
  19. package/dist/assets/{AttachmentView-NLynK_4B-BnApX40v.js → AttachmentView-9Vrv319r-czchKUV5.js} +9 -9
  20. package/dist/assets/{BankAccountSection-BvIYx2co-BamiC5Ie.js → BankAccountSection-Bv9Iogxn-gY4dwkU_.js} +13 -13
  21. package/dist/assets/{BankAccountWarningSection-CqyeSTWe-C-YFtMtw.js → BankAccountWarningSection-DAxaKIg3-SHVqFPrV.js} +7 -7
  22. package/dist/assets/{BankConnectionsSettingsPage-C8lTCBWz-C-LvS4NN.js → BankConnectionsSettingsPage-ZUWw604G-5JFfnAUm.js} +29 -29
  23. package/dist/assets/BillDetailPage-Cf4PYoYQ-DJR4Ml4e.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CKtwE5ro-CvaoHMcE.js → BillPayApprovalRuleDetailPage-BfJ2F03Y-BSqfEElp.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CAVAguR4-C8XO5DYA.js → BillPayApprovalRulesPage-DQ0MRCLa-C_GPmDyJ.js} +13 -13
  26. package/dist/assets/{BillPayPromoPage-BhXeOZWk-DQanpXhA.js → BillPayPromoPage-DdxRC1p4-C6FSHUuV.js} +7 -7
  27. package/dist/assets/{BillPaySetUpPage-DBeeMB1d-CPdIKBLb.js → BillPaySetUpPage-DBFcp1Yq-B1CZUTYe.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-C34kg2JK-d6AbOc60.js → BillingSettingsPage-DsMjw0qG-Cq1aHxZN.js} +8 -8
  29. package/dist/assets/BillsBulkReviewDrawerPage-HXDlOpw3-BmcSBj3u.js +1 -0
  30. package/dist/assets/{BoxItem-F9HlKmjN-xqfWS_hX.js → BoxItem-DaxLyqVe-BDS_i-Ew.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-YOt_PXhl-CeYXkkiq.js → BusinessVerificationPage-BG1rOYOk-DZAei-pQ.js} +13 -13
  32. package/dist/assets/{CardNumberSubText-BYBZ7ZM1-CYschYSJ.js → CardNumberSubText-bkAPzhoK-D68hvJdl.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-BvWf2TDN-CJvt8fwC.js → CashbackDetailPage-CpVmCjts-C2xLm-90.js} +24 -24
  34. package/dist/assets/{ChargeCardDetailPage-Bx09SgSk-Mc5U0L1M.js → ChargeCardDetailPage-u6hMCosx-DzEhI6yb.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BM0D7PCI-2RCeRUIi.js → ChargeCardListPage-D_7gwi3K-Bgz8fKhJ.js} +28 -28
  36. package/dist/assets/{ChargeCardListTable-xoYHcNTF-CDUEEXq9.js → ChargeCardListTable-DJmStpnO-DehJbT-m.js} +58 -58
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CLA5UpG2-BjxNitum.js → ChargeCardPaymentHistoryPage-BRGJ-5y3-gSyJhC6K.js} +35 -35
  38. package/dist/assets/ChargeCardPromoPage-Dx4Lni50-C133Kvxd.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-CRDfRFf1-DUoEu2We.js +36 -0
  40. package/dist/assets/ChargeCardStatementsPage-l4X9T8zd-DdxKgTDl.js +60 -0
  41. package/dist/assets/{CheckDepositDrawerPage-BTCZ6Ihv-Bwg08fJC.js → CheckDepositDrawerPage-DR6LIuPw-BXSM12h-.js} +16 -16
  42. package/dist/assets/CollapsableReportTable-4bJMcvHV-DJSNBbx8.js +2844 -0
  43. package/dist/assets/{CompanyOfficerDetailsSection-7wea0Ige-DaIiZvTQ.js → CompanyOfficerDetailsSection-DoGF7khv-CBglpYSM.js} +27 -27
  44. package/dist/assets/{CompanyPassportCard-BiW2qW0Q-DbzQ0mZs.js → CompanyPassportCard-BHFj9sK6-DN_eKmT3.js} +8 -8
  45. package/dist/assets/{CompanyPassportPage-cUf8LJjO-BtNthnMy.js → CompanyPassportPage-CH-dqy03-CkFzpRAr.js} +16 -16
  46. package/dist/assets/{CompleteProfile-zUf6xhpN-Djjy4qMc.js → CompleteProfile-Ck4Baf4z-Bb8vk_It.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CVLXMknu-C5dtBbFy.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D303BiU-.js → ConstrainedInnerElement-BeIpAPjB-C1ngGNQp.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-ByvOufGv-BnP_tF_w.js → CreateOrEditVendorPage-D-0WG9pO-B3wRKHPt.js} +22 -22
  50. package/dist/assets/{CreditCardPaymentDrawerPage-bvQF_Dnd-DNvTFSk3.js → CreditCardPaymentDrawerPage-B7voVDUs-D92b0pbw.js} +21 -21
  51. package/dist/assets/CurrencySelectField-DrL1sFLq-CxbEbHLA.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-Bnqb4OwN-BkOYiVjl.js → CustomerOnboardingActivationPage-D42sb2F9-DOoQENIp.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-ecKRiXO1-B2Rv0uXK.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js → CustomerOnboardingDetailPageSkeleton-n6GMQZP5-VclSN0ci.js} +16 -16
  55. package/dist/assets/CustomerOnboardingNoStepsPage--O7lSduT-kzaO9ZVJ.js +66 -0
  56. package/dist/assets/{CustomerOnboardingPage-Gs1nLE_K-C1loGeIV.js → CustomerOnboardingPage-BPX2w8Fg-Co3rO7kz.js} +7 -7
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-BzXjhPEn-CGUMAsr4.js → CustomerOnboardingProductSuitePage-CZXqXXFj-B9tCLCph.js} +10 -10
  58. package/dist/assets/{Dashboard-CB4FHIWL-DH8-1h66.js → Dashboard-Q5gt63wS-D-NM1jxJ.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CJzzOcFM-CXGGECPa.js → DashboardReportPage-DJsc3Nx7-CPNsUz_i.js} +40 -40
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-8LKlc-IA-DppqzS9d.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-DI2iFIOE-D78pehet.js → DepositAccTransactionItem-DB7Oz4GA-Bl1jaHEd.js} +6 -6
  62. package/dist/assets/DepositAccTransactionListPage-BU1b2OIP-Bg5Lhhh_.js +66 -0
  63. package/dist/assets/{DomesticWireDetailsPage-6Ja_raS1-BtmRTZLv.js → DomesticWireDetailsPage-Dptv-ebx-Dh9S4ky1.js} +1 -1
  64. package/dist/assets/DownloadOverlay-B61S0t5X-D_O4PIgS.js +439 -0
  65. package/dist/assets/{DrawerPage-CTtzGlId-R2r7ok8_.js → DrawerPage-DtJQE-UA-o7PPfoO7.js} +9 -9
  66. package/dist/assets/EditPeoplePage-Dd1g1r37-D5NUne-F.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-B_u1W6bf-DF3LKIJu.js +865 -0
  68. package/dist/assets/EntityDetailPage-q_kzXlBV-CelG1soQ.js +18 -0
  69. package/dist/assets/{EntitySummarySection-CgIfSDBl-bARhT4wA.js → EntitySummarySection-BiIPehv4-DbMdDRCI.js} +19 -19
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BOMURB5R-BK4Piycw.js → ExpenseAutomationOverviewPage-Bo5Eu3Ju-BJhkARvq.js} +48 -48
  71. package/dist/assets/ExpenseAutomationPage-CBGrrVMb-DCPvuANk.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-Bq7VwGIy-CuN_JG1U.js → ExpressPayPage-D18sY5VJ-B6oTblqu.js} +19 -19
  73. package/dist/assets/{FeaturePreviewPage-DzmWWp4h-DNDXggJB.js → FeaturePreviewPage-De2_m2xD-DVzcgjum.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-DF7igv9E-BXwQRKtK.js → FollowStepsSection-D5ln-mii-C0ucHGsw.js} +24 -24
  75. package/dist/assets/GlobalReviewListPage-Ch51_Flw-D-uO5wy3.js +291 -0
  76. package/dist/assets/{InformationCardStack-DNqDhetv-CczzYoVw.js → InformationCardStack-B4z6RgwP-DRH43WQx.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-cCxIT64L-CUFk6OxI.js → InsightsCardStack-CwBBEkZ7-DJcXHozK.js} +12 -12
  78. package/dist/assets/InsightsSection-CQD6KXLg-Dl2NV9MP.js +27 -0
  79. package/dist/assets/IntegrationsSettingsPage-DBiomD_q-DtZiPPV1.js +57 -0
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-53hMX6yJ-BesU5wqw.js → InternationalWireSwiftDetailsPage-h4bchKo3-DHLm8H4k.js} +25 -25
  81. package/dist/assets/InternationalWireVerificationPage-DAQrAsW5-Do-KUK3J.js +65 -0
  82. package/dist/assets/{InviteFormPage-CGxv4wps-5AP-y1Ow.js → InviteFormPage-Dgb-LZKf-ilCutOVc.js} +21 -21
  83. package/dist/assets/{InvitePageListView-NbYGP_zc-CH2LQelV.js → InvitePageListView-DC-Dp4Zc-D5DpcvE2.js} +47 -47
  84. package/dist/assets/InvitePeoplePage-CjJOyA8E-7gXroqh1.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-BJ_Sbytw-C6MkqA6t.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BRRHAcZh-D4kemR48.js → IssueChargeCardPage-DiUKL-rT-CiI_gBye.js} +37 -37
  87. package/dist/assets/{LabeledAddressValue-BqBWtO4T-C7fJuTnk.js → LabeledAddressValue-DYTDoPER-BLmB8hnw.js} +1 -1
  88. package/dist/assets/LabeledAddressValueField-DVNSaKBc-CR8m9IVs.js +45 -0
  89. package/dist/assets/LabeledControlledCheckBoxField-CZlavM3Q-CNMSOa5n.js +16 -0
  90. package/dist/assets/{LabeledCountryMultiSelectField-C0QF9TCM-CB5E5Naj.js → LabeledCountryMultiSelectField-BM1jU3hl-_1uQcelw.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js → LabeledCreatableSingleSelectField-BkI0vyax-Dhqs7qd2.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-B7TETIva-DaOKO-m5.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-Dj0SVwKK-B9iE6D9J.js +59 -0
  94. package/dist/assets/{LabeledText-DTF15PO8-z7lFVMYz.js → LabeledText-BaYp8lyd-CYkwAQsC.js} +6 -6
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-BT9veYVH.js → LabeledUserSingleSelectWithSubtitlesField-nlyagP_L-V-ruydL6.js} +19 -19
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DPNR8el--C4H8qzAo.js → LabeledZeniRolesDropDownField-Bgf26ek0-BDX-8gLb.js} +30 -30
  97. package/dist/assets/LinkJETransactionPage-ByQktBdK-C5XqLvWq.js +98 -0
  98. package/dist/assets/{LockCardPage-VSlPzmAF-CYZTWdC-.js → LockCardPage-M7Pcx6mB-BwvNlh-G.js} +14 -14
  99. package/dist/assets/{LowBalancePopup-DCwoGS48-hmCGAo7a.js → LowBalancePopup-DTwIs75G-MssgctsT.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Cateo39t-T6xIrHkU.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-BMkPYONG-Cj3VBYpA.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BVn2JAEL-DeQZ6JNw.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-6e22dOVy-Gwai5BfM.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-D1tjQ-VI-B06aRvZu.js → MagicLinkTitleSection-B985JuE8-Dn-qMxNJ.js} +5 -5
  105. package/dist/assets/MailingDetailsSection-detuRa7l-BJwGs4Yy.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CtYcGNjJ-BqSq6z3Z.js → MyBankConnectionsSettingsPage-2x0kDozt-ClPVN4BG.js} +12 -12
  107. package/dist/assets/MyPendingActivationChargeCardListPage-CfsTMsnG-BVxobwmr.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-BQx9m8r--De3mUOMd.js +85 -0
  109. package/dist/assets/NavBarWithPicker-BXsxMlBP-DTPzeQwG.js +30 -0
  110. package/dist/assets/{NavigationArrow-DJQDYzJE-BC_4c0HP.js → NavigationArrow-BpKepWMa-Bn4FAyCA.js} +7 -7
  111. package/dist/assets/NavigationDots-CxV99fd--CAgGp2GQ.js +15 -0
  112. package/dist/assets/{NewGlobalMerchantPage-B18toasi-BU1JGIOb.js → NewGlobalMerchantPage-rAYrEwup-HzusEOWs.js} +36 -36
  113. package/dist/assets/{NoDataChart-BO4tisNf-D8owAUYk.js → NoDataChart-SlgxXIjJ-Bi3c4Olw.js} +3 -3
  114. package/dist/assets/{NoDataTable-BEVgI9LO-CYWfmTuA.js → NoDataTable-CePwfuWH-BOYJp_LB.js} +1 -1
  115. package/dist/assets/NotFoundPage-CdmLYWbu-BBjH4PMR.js +46 -0
  116. package/dist/assets/NotificationSettingsPage-KThnHYOw-D0iY_voD.js +163 -0
  117. package/dist/assets/NotificationsListConfig-6ay7Y8AS-8Qyako_J.js +1 -0
  118. package/dist/assets/NotificationsPage-BmNwL81h-yaYUcRR5.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DQPUJmPx-m9-ozd1L.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-b_Vxf1PH.js → OverlayContainerPage-D4QU0p4o-BPZC_JkQ.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-Bu9ojuKa-CT86cSNx.js → PandLWithForecastPage-C6FwSybq-CjLuy8We.js} +14 -14
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js → PaymentAccountSetupBillingAddressSection-DFCQGlZ--D6Xxd3zY.js} +16 -16
  123. package/dist/assets/PeoplePage-Df6QdrX5-CNBpk9Ed.js +675 -0
  124. package/dist/assets/{Preview-CJ42XXYk.js → Preview-Wpvi69S8.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-Bp3BA6jn-Dq3g70sD.js → ProductsCarousel-Bq0uDCW7-BchAY2K0.js} +9 -9
  126. package/dist/assets/{PromoBaseCards-BJngCLC1-D1D3BuDF.js → PromoBaseCards-Bs1TPBeA-C7sFMDVT.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-DkBwI8ar-CHNOORcZ.js → QBOConnectionDialog-CGH6M1BO-BTEhQpDo.js} +5 -5
  128. package/dist/assets/QBOSetupSection-BsFbgysY-CxagA6VQ.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Q5ynG2vJ-D1YIG_oC.js → ReimbursementApprovalRuleDetailPage-CUf8BGfB-21mnbTVV.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-bXsxoJ-h--lf8D9ac.js → ReimbursementApprovalRulesPage-SKRjcth4-C1ni0caN.js} +17 -17
  131. package/dist/assets/ReimbursementDetailPage-BzqZlk2B-BW3Uw4EQ.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-Db-_ODCp-CvQz3EGd.js → ReimbursementPromoPage-X1o2D5fz-DfVtcv-q.js} +32 -32
  133. package/dist/assets/{ReimbursementSetUpPage-Hs-W_q-P-BdYd6UC3.js → ReimbursementSetUpPage-DfAhrvlw-x_fpcuRs.js} +3 -3
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-D0tGia3M-CiWkjF6g.js +1 -0
  135. package/dist/assets/{ReloadCard-CqhIfBOB-BY0vX67l.js → ReloadCard-DvIzOHkJ-SNPzaiS7.js} +6 -6
  136. package/dist/assets/ReportTableViewSelector-DikZuwk8-JNUnKB0r.js +150 -0
  137. package/dist/assets/ReportsPage-CgwJh87H-BukY4LEY.js +121 -0
  138. package/dist/assets/{RevenueChart-SOIqJqC1-C9wQDXwd.js → RevenueChart-VvZ0y1TP-qC_rkSgA.js} +19 -19
  139. package/dist/assets/{ReviewDetailsPage-DJtR6MAV-YpQ78vWd.js → ReviewDetailsPage-DC5Pr6t5-DriGh_oI.js} +20 -20
  140. package/dist/assets/{ReviewOverlay-BAkkDswR-CSwNTB3g.js → ReviewOverlay-BidXwnVw-CvEYNCbr.js} +23 -23
  141. package/dist/assets/{RoleWithToolTip-LhCV3AOg-BfEF5V_b.js → RoleWithToolTip-CUpngYu7-DADn2aws.js} +4 -4
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSEAGNCA-CWkK2E_X.js → ScheduleDetailsFixedAssetsPage-P4en048K-D2xUyeCX.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-DuQdRk-6-YLy7Z141.js → ScheduleDetailsPage-Bm8IOCpE-BZajG7cQ.js} +3 -3
  144. package/dist/assets/ScheduleSequenceTable-Cz46lcuv-DwCS-vmM.js +324 -0
  145. package/dist/assets/{ScreenRoutes-D4V6kIC9.js → ScreenRoutes-Cdqgwe4G.js} +31 -31
  146. package/dist/assets/{SetUpAccountSection-Bx30O5Ml-WH4usOA9.js → SetUpAccountSection-DBuoMbxP-u5yk_3Is.js} +17 -17
  147. package/dist/assets/SignIn-ogxsR98p-BbKEcQBe.js +491 -0
  148. package/dist/assets/SignInScreen-DP-m_Sk_.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-DP6uWx2T-BVgklVNc.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-Caux80RI-BTh48LKq.js → SpendManagementPerTabPage-DSXg_agw-BBbTIsSz.js} +108 -108
  151. package/dist/assets/{SpendManagementSection-Z9MFiKoI-CQFuO0wV.js → SpendManagementSection-C-EIQv7m-QyOD3ve3.js} +25 -25
  152. package/dist/assets/StatementItem-BSVnuQ3e-Bes_h96W.js +31 -0
  153. package/dist/assets/StatementsPage-CgOC5W_I-Df-cPgLx.js +58 -0
  154. package/dist/assets/{StatusSwitcher-C3WR2o9U-C0FM9NGp.js → StatusSwitcher-BnSFSpJ0-DnH48_9z.js} +5 -5
  155. package/dist/assets/SubTabSwitcher-VHMqXmGa-DxiEBs88.js +58 -0
  156. package/dist/assets/SummaryCard-BTnU1LYd-5Er4BGPP.js +1 -0
  157. package/dist/assets/TaskManagementPage-CeQkRFbn-JSqoMa4T.js +508 -0
  158. package/dist/assets/TimeRangeSwitcher-BifUYnpe-C0S2hPAm.js +64 -0
  159. package/dist/assets/TimeframeSwitcher-9X-6amWo-BHsPnDZX.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-C0fPwGaA-BBTlDoLy.js +31 -0
  161. package/dist/assets/{TopExCard-CcmlvV2E-DQ9im9Ri.js → TopExCard-Bc812PB9-Cgf0i8AY.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-oCk5X1ga-b7oteKxs.js → TopExDetailPage-19FwjeX_-Udhi2GOz.js} +16 -16
  163. package/dist/assets/{TransactionActivityLogPage-nNEnRuxA-DgSPVh85.js → TransactionActivityLogPage-7Lfwq_IY-CFdWRG9m.js} +20 -20
  164. package/dist/assets/TransactionDetailPage-C7Tv82YB-m9WgdlMS.js +903 -0
  165. package/dist/assets/TransactionList-CSZxHqad-CHJszH5C.js +153 -0
  166. package/dist/assets/{TransactionListBig-C_K_kh-Q-CF_jEt3p.js → TransactionListBig-gSPdjYSs-Dr__rrF5.js} +19 -19
  167. package/dist/assets/TransactionListPage-9ezEzYvU-Cm8yXVfl.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-B1BhBjXd-B68h1iEJ.js → TransactionVendorDetailPage-rcOVwgxy-Ow41gTpA.js} +4 -4
  169. package/dist/assets/{TransferDrawerPage-DlH8zdQ6-4JQLTKYp.js → TransferDrawerPage-IeuD-8y4-BBbQ4FZg.js} +27 -27
  170. package/dist/assets/TreasuryOverviewPage-bmv1c3nO-m6l1VttQ.js +708 -0
  171. package/dist/assets/{TreasuryPromoPage-vnYtT9wt-BT7vg2wI.js → TreasuryPromoPage-KuuzWIYO-BDjVQ4WN.js} +131 -131
  172. package/dist/assets/{TreasuryStatementsPage-DF66dQfj-YdehmP5K.js → TreasuryStatementsPage-BAfN8DAx-CZoNN9-F.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-DyHfEHRJ-Dk_i3mPQ.js → TreasuryTaxLetterPage-BRDygaXn-BgocidOv.js} +1 -1
  174. package/dist/assets/{TrendChart-DWFAkD1M-rLrsd-Rc.js → TrendChart-BJqnjEu6-BacSdVAX.js} +4 -4
  175. package/dist/assets/TrendWithTransactions-2pBj6qUR-T4OcbS5_.js +116 -0
  176. package/dist/assets/{UncategorizedAccountsMappingPage-Cpz9ytBO-BvYunpjj.js → UncategorizedAccountsMappingPage-DlxWCGZg-CdSrYHNM.js} +23 -23
  177. package/dist/assets/{UnitIntegrationPage-DUt0EgH9-CrhKA0X8.js → UnitIntegrationPage-U85XCs_D-Bx8aLPRf.js} +11 -11
  178. package/dist/assets/UploadAdditionalDocumentOverlay-5-avyqy0-fJ0d5z1N.js +38 -0
  179. package/dist/assets/{Vendor2FAPopup-31AZ3ofQ-ByfeqFMV.js → Vendor2FAPopup-DLU7H22p-DEGIw5UY.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-B-Zle7l9-BVROIXeh.js +1 -0
  181. package/dist/assets/VendorDetailPage-prrUwTR_-BD-GdLo7.js +257 -0
  182. package/dist/assets/VendorDomesticWireDetailsPage-Cm6an-ZT-DTJS7RDE.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-DEm4nD4L-C8GKsU9A.js → VendorFiling1099EditablePage-DIvLStyg-CYbK6ev_.js} +17 -17
  184. package/dist/assets/VendorFirstReviewPage-BJKFcgOq-CSmnGqyp.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-B3-s03c8-D6bHR05f.js → VendorInternationalWireDetailsPage-Ctwg_CTY-CK5moP88.js} +15 -15
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D11DRwWL-NLsA0vGl.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-2RQUw482-DQWkHxTh.js → VendorsAccountsSection-Bj840XXA-zylNCv6a.js} +2 -2
  188. package/dist/assets/{VerifyDevice-DrHOxZ08-DicK7t3o.js → VerifyDevice-D5ce0rEk-ByWH1Q6_.js} +2 -2
  189. package/dist/assets/{VideoPlayer-D7qtpMP6-DY2DpB0L.js → VideoPlayer-XhlPd-AK-BJf7SfgL.js} +2 -2
  190. package/dist/assets/{VideoPopup-mcH3S96f-CSNVNU5W.js → VideoPopup-8ebccUQt-CoWKaT2k.js} +5 -5
  191. package/dist/assets/{WarningsDrawerPage-BuSNnbS0-BmlAm--l.js → WarningsDrawerPage-CXHMQPmw-V3zdlF1l.js} +9 -9
  192. package/dist/assets/{ZeniAccountDetailPage-DeS7bxGu-B2MkmZWf.js → ZeniAccountDetailPage-BCEccrGo-CidPyi4i.js} +40 -40
  193. package/dist/assets/{ZeniAccountListViewPage-CE9vKT6d-C_0wjRBB.js → ZeniAccountListViewPage-f_9PSaYv-D_Ll-dy-.js} +20 -20
  194. package/dist/assets/ZeniAccountNavBarPieces-oinah8Mu-H8pK0EkG.js +14 -0
  195. package/dist/assets/{ZeniAccountPromoPage-CS4DCdI2-B9MH4_YO.js → ZeniAccountPromoPage-DGttDJGp-F0XlSRMz.js} +29 -29
  196. package/dist/assets/{ZeniAccountSetupPage-B_TE40pq-Dxf2Uc2C.js → ZeniAccountSetupPage-5hc6Dfls-Csndezul.js} +6 -6
  197. package/dist/assets/ZeniCopyright-Ct2Gx1TW-CQmnzv8u.js +1 -0
  198. package/dist/assets/{ZeniTransferAmountSlider-DpxLl7Ue-DPRxI6VI.js → ZeniTransferAmountSlider-CtSVUxFX-BrJYB_Am.js} +7 -7
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-C6LAT582.js → add-to-wallet-DgdBD8_G-vslLOG9x.js} +1 -1
  200. package/dist/assets/{analytics-BBPxpXjb.js → analytics-DRVsD-is.js} +1 -1
  201. package/dist/assets/{analyticsHelper-huzmVdCu-BJHBr6dz.js → analyticsHelper-BZApS5V7-B7rpJkUm.js} +1 -1
  202. package/dist/assets/{analyticsHelper-Bp3QyGtE.js → analyticsHelper-BZQExm6b.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-CRAkJ5eu.js → arrow-south-east-round-PEovUgvH-CRc8KuMa.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-BkJsqyVy.js → auto-transfer-rule-mbafm5D3-D9R5lS7d.js} +1 -1
  205. package/dist/assets/chartTypes-DcNGo46a-CqMbbGUL.js +1 -0
  206. package/dist/assets/commonDimensions-C5V1GwCs-CraAZnb_.js +1 -0
  207. package/dist/assets/{commonTypes-BqXyygFE-CnF1i8TV.js → commonTypes-CGdrM7wg-Dv-NGJZV.js} +1 -1
  208. package/dist/assets/{constants-CPFJyknY.js → constants-DTOPkqCr.js} +1 -1
  209. package/dist/assets/{core-CddRDKK5.js → core-D2KcXy_y.js} +2 -2
  210. package/dist/assets/{dash.all.min-BPpCNIar.js → dash.all.min-BAllcYm-.js} +1 -1
  211. package/dist/assets/detailCommon-DEXTnYE7-CjqtKJhq.js +38 -0
  212. package/dist/assets/downloadPdf-Cd1RR1sH-Cvu_thw4.js +1 -0
  213. package/dist/assets/{empty-OXNqopUa.js → empty-BTyrR5qF.js} +1 -1
  214. package/dist/assets/{empty-DnP56ICM.js → empty-wMN4Rfol.js} +1 -1
  215. package/dist/assets/epic-CLSKdGkp.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-DgonOPJx.js → gift-box-Cmt9OgIZ-DP-cJLna.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CyoR0rrV.js → graphic-no-data-l-DU4J8fDt-D-Fo2zgX.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-D4pGKQmg.js → graphic-no-data-net-burn-l-CzmycA0m-D8edm3HW.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-Bi2WM_Eh.js → handshake-BPg58FML-DJLp3b1-.js} +1 -1
  220. package/dist/assets/{helper-C6wE3mOs-ygxajmnJ.js → helper-kGYJRbxq-D4mxVura.js} +3 -3
  221. package/dist/assets/{index-DeqxpWOe.js → index-BHqxLcjt.js} +1 -1
  222. package/dist/assets/{index-Dw6Tuhsa.js → index-CBio2FUy.js} +1 -1
  223. package/dist/assets/{index-hMgEheel.js → index-Cpk1UVH8.js} +1 -1
  224. package/dist/assets/{index-D2KmAsTj.js → index-DH51hTsJ.js} +1 -1
  225. package/dist/assets/{index-DNn6xiN7.js → index-DJK9rXmh.js} +1 -1
  226. package/dist/assets/{index-GvAktRSv.js → index-aDDisho3.js} +1 -1
  227. package/dist/assets/{index-DceSoL0X.js → index-sotzB3Mx.js} +4796 -4800
  228. package/dist/assets/{lexical-CRAxrDKi.js → lexical-Dj2KAtCD.js} +1 -1
  229. package/dist/assets/{liveblocks-C3olwiFW.js → liveblocks-DezulwOD.js} +1 -1
  230. package/dist/assets/{lottie-DHSNlrty.js → lottie-D7_uSTtS.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-QGHkauXd-qPE55nra.js → mapLoadingInProgressToTreeNode-BXVk4dIp-BuiNw2vq.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-IAuTtuif-w6n_R73J.js → mapSectionWithAcOnlyToTreeNode-oqbfssc7-BaqyGbt-.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-BA1RwyQy-BaPbOaZb.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-B8pIGqbO-BJk8DWTQ.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-D-yDCyLa-BApfBpwP.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BGId2YAo-D_Czi_I6.js +1 -0
  237. package/dist/assets/{mui-B9ZZxqGv.js → mui-CWqpJBOf.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-BAeGzYhC.js → page-detail-CWX5S47F-B2tDMGkf.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-HFnGkMgT.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-BTgddVFO.js → radio-default-CiSgisfh-0Atq9vXH.js} +1 -1
  241. package/dist/assets/{react-C-YPBd7x.js → react-4PtfPhor.js} +3 -3
  242. package/dist/assets/{react-dF0Ep-lR.js → react-Bhq0KCUo.js} +1 -1
  243. package/dist/assets/{react-ClcmWYZP.js → react-BxwoRjBq.js} +1 -1
  244. package/dist/assets/{react-BmFTzqBR.js → react-By_pdhPa.js} +1 -1
  245. package/dist/assets/{react-UG1Schov.js → react-CPTbErTv.js} +1 -1
  246. package/dist/assets/{react-BNxsrY_J.js → react-CSZP1bUd.js} +1 -1
  247. package/dist/assets/{react-B6URfXSC.js → react-CjLH0WcG.js} +1 -1
  248. package/dist/assets/{react-DPaJOqrg.js → react-k1MNcgFc.js} +2 -2
  249. package/dist/assets/{recharts-Df6P8LTk.js → recharts-H7gIkfSf.js} +20 -20
  250. package/dist/assets/{sentry-DSwgNZrO.js → sentry-2bqpslFP.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DfJyH00V.js → shield-DOlUxcFf-BxoXXGpt.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-Ckyq_c20-DzmyGaV3.js +1 -0
  253. package/dist/assets/toChartData-N0pkfSXY-BNdgZ-va.js +1 -0
  254. package/dist/assets/{uploadAttachment-4DeHQ4oS-Bw7xJmib.js → uploadAttachment-CPTMCWWz-BHUe9KYn.js} +33 -33
  255. package/dist/assets/uploadReceipts-Dge0cNF1-CAzr24hn.js +1 -0
  256. package/dist/assets/{url-CnM3nym8.js → url-BnPWfZoh.js} +1 -1
  257. package/dist/assets/{url-BRZkzhoD.js → url-FABckJBr.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BgMcVZoL.js → useLongPress-GCK2COYQ-isRXDDp5.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-DuwzCwM7.js → usp-line-BBd1wKwW-C5jzPmNs.js} +1 -1
  260. package/dist/assets/{utils-bhjg_GlW.js → utils-Bfvb8rvn.js} +1 -1
  261. package/dist/assets/zeni-epic-state-DM-Ak8Gv.js +151 -0
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/AccountInfoPage-DiLfCEmp-DO4D-Akp.js +0 -18
  265. package/dist/assets/AccountRow-DHebunB5-DIYXQfGx.js +0 -298
  266. package/dist/assets/AddAddressForCardDrawer-DsW1gOAp-MwS07L6u.js +0 -6
  267. package/dist/assets/AppBasePage-DEEwGCyl-CJQRcs0Q.js +0 -71
  268. package/dist/assets/AppDrawerContent-BV68KVaK-DsuGSV0L.js +0 -92
  269. package/dist/assets/ApprovalRulesSettingsPage-rYk3cmVs-Bk4KgAtZ.js +0 -47
  270. package/dist/assets/BalancesInsightWithToolTip-e99DEARd-B-O4Ljlc.js +0 -38
  271. package/dist/assets/BillDetailPage-BHMeLrkf-DfOpYdLq.js +0 -266
  272. package/dist/assets/BillsBulkReviewDrawerPage-mrZng-LH-CgLPtPGy.js +0 -1
  273. package/dist/assets/ChargeCardPromoPage-DOLaaGqu-DsV8VR1J.js +0 -222
  274. package/dist/assets/ChargeCardSetupPage-BU9RvMXY-Dj9m6ZmP.js +0 -36
  275. package/dist/assets/ChargeCardStatementsPage-DlrKo_GJ-BRM2z9cD.js +0 -60
  276. package/dist/assets/CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js +0 -2941
  277. package/dist/assets/ConfettiBurst-JdjFQWmA-B1zUAlBC.js +0 -1
  278. package/dist/assets/CurrencySelectField-C9U52o8Z-DH90cYim.js +0 -139
  279. package/dist/assets/CustomerOnboardingContainerPage-BVEjcOzz-Tgi7ne-F.js +0 -1
  280. package/dist/assets/CustomerOnboardingNoStepsPage-BxvN2Q7E-B4zOAzF_.js +0 -66
  281. package/dist/assets/DashboardSidebarBackgroundAnimation-uX3QCu5p-mHJahdDI.js +0 -12
  282. package/dist/assets/DepositAccTransactionListPage-BJ8sXbmG-CMXvXJC1.js +0 -66
  283. package/dist/assets/DownloadOverlay-uRpW9ezf-jNXoSS7J.js +0 -439
  284. package/dist/assets/EditPeoplePage-BBrsqLJc-DyJHgyzZ.js +0 -55
  285. package/dist/assets/EditReimbursementDetailPage-D-HncluE-CUs0afyw.js +0 -865
  286. package/dist/assets/EntityDetailPage-X5BG-4An-7aKQ5Pgw.js +0 -18
  287. package/dist/assets/ExpenseAutomationPage-BWBWJraB-BcLoThsR.js +0 -3001
  288. package/dist/assets/GlobalReviewListPage-BXhEk4c0-BVTm7Ky3.js +0 -291
  289. package/dist/assets/InsightsSection-CbrrmEg4-D4vQ_6my.js +0 -27
  290. package/dist/assets/IntegrationsSettingsPage-Bw4BviF3-DBDc8BdY.js +0 -57
  291. package/dist/assets/InternationalWireVerificationPage-CmibXgZP-Dk0__zsA.js +0 -65
  292. package/dist/assets/InvitePeoplePage-CUIx67tI-BuLgC01P.js +0 -12
  293. package/dist/assets/InvoiceUploadSection-SDbpMsYc-Dm64G91F.js +0 -140
  294. package/dist/assets/LabeledAddressValueField-BJl_17nw-BoellP6H.js +0 -45
  295. package/dist/assets/LabeledControlledCheckBoxField-CTjsNnfG-C03py6Ms.js +0 -16
  296. package/dist/assets/LabeledDocumentField-De9s68TP-Cri5KHGX.js +0 -41
  297. package/dist/assets/LabeledDropDownFormattedTextField-Dy4sKbHt-B82hYqdR.js +0 -59
  298. package/dist/assets/LinkJETransactionPage-CflqbXq0-DXYSk1UI.js +0 -98
  299. package/dist/assets/MagicLinkACHDetailsPage-BT5yNVLG-ChUzosgW.js +0 -1
  300. package/dist/assets/MagicLinkDomesticWireDetailsPage-BurEs9tm-DDw6dGa9.js +0 -1
  301. package/dist/assets/MagicLinkInternationalWireDetailsPage-CvvBuPtn-Br57d6dJ.js +0 -1
  302. package/dist/assets/MagicLinkSuccessPage-Bu2WgYDU-C_NzscTh.js +0 -31
  303. package/dist/assets/MailingDetailsSection-CnGInDUg-DZA0H6jP.js +0 -21
  304. package/dist/assets/MyPendingActivationChargeCardListPage-CmSDPRHT-DaaZsLCw.js +0 -6
  305. package/dist/assets/MyProfileSettingsPage-1FPtn1ea-C9umNstC.js +0 -85
  306. package/dist/assets/NavBarWithPicker-B04p6hvh-BcKmzJ24.js +0 -30
  307. package/dist/assets/NavigationDots-C2ylmmp9-BUZFmr7S.js +0 -15
  308. package/dist/assets/NotFoundPage-zeHT1nzY-c1pIrXd2.js +0 -46
  309. package/dist/assets/NotificationSettingsPage-ClXPKcgz-Cua8aSKu.js +0 -163
  310. package/dist/assets/NotificationsListConfig-BQqh5bzx-CFdZZXGY.js +0 -1
  311. package/dist/assets/NotificationsPage-DsWTVVJb-CubnyrBq.js +0 -685
  312. package/dist/assets/OpExByVendorPage-BjNi44e6-DOiReLBc.js +0 -100
  313. package/dist/assets/PeoplePage-B6QMmZoF-D2QgJp28.js +0 -727
  314. package/dist/assets/QBOSetupSection-CzvyO3jT-MFHCmvJY.js +0 -79
  315. package/dist/assets/ReimbursementDetailPage-DgzoYr-9-CVLHufeF.js +0 -314
  316. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DH5fjpfk-Cr_SYXyq.js +0 -1
  317. package/dist/assets/ReportTableViewSelector-Cot8YlVL-BAZ1GdJN.js +0 -151
  318. package/dist/assets/ReportsPage-C_7EbeMB-O7cnUjzc.js +0 -237
  319. package/dist/assets/ScheduleSequenceTable-CpShO1ua-Dsb6r5kr.js +0 -324
  320. package/dist/assets/SignIn-BQ4q4gDh-CzzmiuXu.js +0 -491
  321. package/dist/assets/SignInScreen-DZyTlhxL.js +0 -1
  322. package/dist/assets/SpendManagementListViewPage-B_sb3Dfh-dqWZldlf.js +0 -134
  323. package/dist/assets/StatementItem-uBlcLNGa-C68iqcbF.js +0 -31
  324. package/dist/assets/StatementsPage-wmfWDQrp-DZo3jcor.js +0 -58
  325. package/dist/assets/SubTabSwitcher-JZ9r8Gvy-CmdEzTPr.js +0 -58
  326. package/dist/assets/SummaryCard-CzpKllZ9-BcAcs1DO.js +0 -1
  327. package/dist/assets/TaskManagementPage-DhdfjPpg-Bz7Od6O0.js +0 -508
  328. package/dist/assets/TimeRangeSwitcher-ejYmSzzU-BGF2Hlek.js +0 -64
  329. package/dist/assets/TimeframeSwitcher-B1rtSeeP-s5XP-zq2.js +0 -31
  330. package/dist/assets/TimeframeSwitcherWithToggle-BIe0KGCe-CezpaCXC.js +0 -53
  331. package/dist/assets/TransactionDetailPage-BXQ5ksBH-YOlZ51Uf.js +0 -903
  332. package/dist/assets/TransactionList-BWV8LDN--T7E1cgUU.js +0 -153
  333. package/dist/assets/TransactionListPage-Duf7rjbN-xYqf2OTU.js +0 -35
  334. package/dist/assets/TreasuryOverviewPage-CwoPszbZ-2TJ6YJVy.js +0 -725
  335. package/dist/assets/TrendWithTransactions-CmQO_iYM-CWBGfczA.js +0 -116
  336. package/dist/assets/UploadAdditionalDocumentOverlay-CF3ZYMeP-BxK_8i6B.js +0 -38
  337. package/dist/assets/VendorACHDetailsPage-C4ZWGPWZ-DEvx49Vu.js +0 -1
  338. package/dist/assets/VendorDetailPage-BaCVjTbp-CB0Ap7RS.js +0 -257
  339. package/dist/assets/VendorDomesticWireDetailsPage-D7BmBMH9-CzIkSVsO.js +0 -1
  340. package/dist/assets/VendorFirstReviewPage-EuDBTkMb-5uGJMDW8.js +0 -730
  341. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BlAFp-w1-Ch6YFnOD.js +0 -1
  342. package/dist/assets/ZeniAccountNavBarPieces-DpCkEpt8-DL9r0gov.js +0 -14
  343. package/dist/assets/ZeniCopyright-CHJRCEOe-C6byioU4.js +0 -1
  344. package/dist/assets/chartTypes-Bka0fHvt-LIfMG0zS.js +0 -1
  345. package/dist/assets/commonDimensions-CL818jc5-C1bPf58V.js +0 -1
  346. package/dist/assets/downloadPdf-DAxy7KUU-_uW3L53O.js +0 -1
  347. package/dist/assets/epic-B0RIAA2R.js +0 -2
  348. package/dist/assets/mapSpacerToTreeNode-CsVNH3Xd-QYfiumtX.js +0 -1
  349. package/dist/assets/mapTimeframeBalancesToTreeNode-CCLjlNlu-MJgc9UaW.js +0 -1
  350. package/dist/assets/mapTimeframeBalancesToTreeNode-DliXXFXC-BfnSqJsP.js +0 -1
  351. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-BL7jrrEI.js +0 -1
  352. package/dist/assets/panelSelectedMixin-Cddsb26L-BJi_hKr3.js +0 -3
  353. package/dist/assets/toCOABalancesWithID-D45JW5mT-zLfAfLgo.js +0 -1
  354. package/dist/assets/toChartData-C9xZuC9A-cKZFGcPF.js +0 -1
  355. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.js +0 -1
  356. package/dist/assets/uploadReceipts-Dge0cNF1-COkmL3Gy.js +0 -1
  357. package/dist/assets/zeni-epic-state-BKQAT3eK.js +0 -151
@@ -1,4 +1,4 @@
1
- import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u as l,o as i,x,jt as De,cg as Be,ju as G,ac as O,b5 as Oe,cx as Ae,i$ as Me,bQ as He,aV as Ne,an as W,dy as j,h5 as U,aQ as K,bX as We,cz as Ee,bV as Ve,ao as H,cD as q,p as $,h6 as pe,fW as me,fS as ge,cl as Ke,ak as F,iQ as ue,bO as _e,jv as Fe,j7 as Ze,cG as Ye,aX as L,j8 as Ue,j9 as Qe}from"./index-DceSoL0X.js";import{a as S,P as Q}from"./sentry-DSwgNZrO.js";import{n,c as J}from"./mui-B9ZZxqGv.js";import{t as Xe}from"./SpendManagementSection-Z9MFiKoI-CQFuO0wV.js";import{r as Ge,a as qe,i as ye,g as Je}from"./SpendManagementListViewPage-B_sb3Dfh-dqWZldlf.js";import{ck as xe,H0 as fe}from"./zeni-epic-state-BKQAT3eK.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-BkJsqyVy.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./StatusSwitcher-C3WR2o9U-C0FM9NGp.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]="a37aa05c-bed9-496f-b951-6dcdd6fa9416",e._sentryDebugIdIdentifier="sentry-dbid-a37aa05c-bed9-496f-b951-6dcdd6fa9416")}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(Ue,Qe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=_(),r=N(),[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),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(ft,{onClick:()=>y(h.key,h.sortOrder),"data-testid":O("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(H,{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(H,{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=Q.memo(st),dt=n.div`
1
+ import{a9 as ze,ax as Re,J as H,d as F,V as t,bE as Ie,b as I,ga as Te,O as T,u as l,o as i,y as x,jo as De,cf as Be,jp as X,aR as O,b5 as Oe,cv as Ae,iW as Me,bQ as Ne,aV as He,am as W,dy as j,g$ as Y,aP as K,bV as We,cx as Ee,bT as Ve,an as N,cB as G,p as $,h0 as pe,fU as me,fQ as ge,ck as Ke,aj as _,iL as ue,bO as Fe,jq as _e,j2 as Ue,cE as Ze,aX as z,j3 as Ye,j4 as qe}from"./index-sotzB3Mx.js";import{a as S,P as q}from"./sentry-2bqpslFP.js";import{n,c as J}from"./mui-CWqpJBOf.js";import{t as Qe}from"./SpendManagementSection-C-EIQv7m-QyOD3ve3.js";import{r as Xe,a as Ge,i as ye,g as Je}from"./SpendManagementListViewPage-DP6uWx2T-BVgklVNc.js";import{ck as xe,Gg as fe}from"./zeni-epic-state-DM-Ak8Gv.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-D9R5lS7d.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.js";import"./StatusSwitcher-BnSFSpJ0-DnH48_9z.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]="29e65e2d-27e3-4979-8ca8-ad0eb80ae158",e._sentryDebugIdIdentifier="sentry-dbid-29e65e2d-27e3-4979-8ca8-ad0eb80ae158")}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=F(),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),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(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(G,{})})})]})]}):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(G,{})})})]}),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`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -12,7 +12,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
12
12
  padding: ${k.containerPaddingTop} ${k.containerPaddingRight}
13
13
  ${k.containerPaddingBottom} ${k.containerPaddingLeft};
14
14
  justify-content: space-between;
15
- `,ct=n(F)`
15
+ `,ct=n(_)`
16
16
  top: ${i.sp0};
17
17
  left: ${i.sp0};
18
18
  min-height: ${e=>k.headerHeight.valuePx(e.windowSize)};
@@ -46,7 +46,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b 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(Ye)`
49
+ `,pt=n(Ze)`
50
50
  width: ${i.sp3};
51
51
  height: ${i.sp3};
52
52
  cursor: pointer;
@@ -67,7 +67,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b 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(Ue)`
71
71
  width: ${i.sp3};
72
72
  height: ${i.sp3};
73
73
  color: inherit;
@@ -91,7 +91,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
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=N(),b=S.useCallback(Y=>{Y.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),s=T.getLocalizedStrings(),m=e.repaymentDate.format(s.dateFormat.visual.MMMDCommaYYYYformat),C=Je(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",V=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(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:V?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(zt,{windowSize:u,responsiveWidth:P[1].width,children:[t.jsx(j,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:t.jsx(Lt,{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:wt(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(Ht,{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(Nt,{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:f?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(Zt,{className:"initiatedBy",children:R})})]}),t.jsx(Yt,{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=fe(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 L($.success);case"Clearing":case"Pending":case"PendingReview":return new L($.alert);case"Rejected":case"Returned":return new L($.important);default:return new L(o.colors.grey1)}},bt=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(),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(),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=Je(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",V=e.status==="Sent",U=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(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:V?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:U})]})]}),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: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(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:f?t.jsx(Kt,{children:t.jsx(Ft,{})}):t.jsx(_t,{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(Ut,{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(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=F(),a=jt(e,c),r=fe(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};
@@ -144,14 +144,14 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
144
144
  overflow: hidden;
145
145
  text-overflow: ellipsis;
146
146
  white-space: nowrap;
147
- `,zt=n.div`
147
+ `,Lt=n.div`
148
148
  display: flex;
149
149
  align-items: center;
150
150
  column-gap: ${i.sp2};
151
151
  width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
152
152
  box-sizing: border-box;
153
153
  padding-left: ${i.sp3};
154
- `,Lt=n.div`
154
+ `,zt=n.div`
155
155
  display: flex;
156
156
  align-items: center;
157
157
  justify-content: center;
@@ -206,7 +206,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
206
206
  `,Mt=n.span`
207
207
  white-space: nowrap;
208
208
  flex-shrink: 0;
209
- `,Ht=n.div`
209
+ `,Nt=n.div`
210
210
  position: relative;
211
211
  top: 2px;
212
212
  width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
@@ -218,7 +218,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
218
218
  align-items: flex-start;
219
219
  justify-content: center;
220
220
  gap: ${e=>e.isLoading?i.sp1:i.sp0};
221
- `,Nt=n.div`
221
+ `,Ht=n.div`
222
222
  display: flex;
223
223
  align-items: center;
224
224
  flex-direction: row;
@@ -232,7 +232,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
232
232
  color: ${e=>e.theme.colors.primary};
233
233
  }
234
234
  }
235
- `,Et=n(Fe)`
235
+ `,Et=n(_e)`
236
236
  font-size: ${I.smallRegular.fontSize};
237
237
  font-weight: ${I.smallRegular.fontWeight};
238
238
  line-height: ${I.smallRegular.lineHeight};
@@ -259,11 +259,11 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
259
259
  width: ${i.sp4};
260
260
  height: ${i.sp4};
261
261
  border-radius: 50%;
262
- `,_t=n(et)`
262
+ `,Ft=n(et)`
263
263
  width: ${i.sp4};
264
264
  height: ${i.sp4};
265
265
  color: ${e=>e.theme.colors.hero};
266
- `,Ft=n.div`
266
+ `,_t=n.div`
267
267
  display: flex;
268
268
  align-items: center;
269
269
  justify-content: center;
@@ -271,13 +271,13 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b 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
+ `,Ut=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
- `,Yt=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{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b 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
- `,Ut=n(W)`
288
+ `,Yt=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
+ `,qt=n.div`
295
295
  display: flex;
296
296
  flex-direction: column;
297
297
  gap: ${i.sp1};
@@ -300,11 +300,11 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
300
300
  justify-content: space-between;
301
301
  align-items: center;
302
302
  gap: ${i.sp3};
303
- `,ae=n(F)`
303
+ `,ae=n(_)`
304
304
  color: ${e=>e.theme.colors.hero};
305
- `,se=n(F)`
305
+ `,se=n(_)`
306
306
  color: ${$.brandColorPearl};
307
- `,Xt=new L(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(f=>{f.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),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(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(fi,{children:t.jsx(j,{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(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(Jt,{status:e.status})})})})}),w===!0&&c===!0&&d!=null&&t.jsx(ki,{children:t.jsx(zi,{onClick:u,"data-testid":O("retry-payment",e.cardRepaymentId),children:M.retryPayment})})]})]})})},Jt=({status:e,style:o})=>{const c=_(),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 L($.success);case"Clearing":case"Pending":case"PendingReview":return new L($.alert);case"Rejected":case"Returned":return new L($.important);default:return new L(o.colors.grey1)}},ti=n.div`
307
+ `,Qt=new z(Y(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:M}}}=T.getLocalizedStrings(),Xt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Gt=({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]),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),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(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:Y(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(li,{src:Xt(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(fi,{children:t.jsx(j,{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(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(Jt,{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})})]})]})})},Jt=({status:e,style:o})=>{const c=F(),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`
308
308
  display: flex;
309
309
  background-color: ${e=>e.theme.colors.grey5};
310
310
  padding: ${i.sp3};
@@ -354,7 +354,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
354
354
  align-items: center;
355
355
  justify-content: center;
356
356
  border-radius: 50%;
357
- background-color: ${Xt};
357
+ background-color: ${Qt};
358
358
  `,si=n(pe)`
359
359
  min-width: inherit;
360
360
  width: ${i.sp6};
@@ -398,7 +398,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
398
398
  `,mi=n.div`
399
399
  display: flex;
400
400
  align-items: center;
401
- `,gi=n(F)`
401
+ `,gi=n(_)`
402
402
  color: ${e=>e.theme.colors.hero};
403
403
  max-width: 100%;
404
404
  overflow: hidden;
@@ -410,7 +410,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
410
410
  display: flex;
411
411
  align-items: center;
412
412
  margin-top: 3px;
413
- `,yi=n(H)`
413
+ `,yi=n(N)`
414
414
  color: ${e=>e.theme.colors.hero};
415
415
  max-width: 100%;
416
416
  overflow: hidden;
@@ -423,7 +423,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
423
423
  align-items: center;
424
424
  position: relative;
425
425
  top: -2px;
426
- `,wi=n(H)`
426
+ `,wi=n(N)`
427
427
  color: ${e=>e.theme.colors.hero};
428
428
  max-width: 100%;
429
429
  overflow: hidden;
@@ -441,7 +441,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
441
441
  display: flex;
442
442
  align-items: center;
443
443
  justify-content: flex-end;
444
- `,bi=n(H)`
444
+ `,bi=n(N)`
445
445
  color: ${e=>e.theme.colors.hero};
446
446
  max-width: 100%;
447
447
  overflow: hidden;
@@ -474,18 +474,18 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
474
474
  display: flex;
475
475
  align-items: center;
476
476
  justify-content: flex-end;
477
- `,zi=n(_e)`
477
+ `,Li=n(Fe)`
478
478
  color: ${$.link};
479
479
  cursor: pointer;
480
480
  text-decoration: underline;
481
481
  &:hover {
482
482
  text-decoration: underline;
483
483
  }
484
- `,Li={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=N(),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]),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(Ni,{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(Zi,{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: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(Hi,{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=N(),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 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"?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=Q.memo(Ai),Hi=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=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:X,[h]),u=S.useMemo(()=>{let v=de+Ti;for(let w=1;w<=o.length;w++)v+=p(w);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(_i,{children:t.jsx(Ui,{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:w})=>t.jsx(Ae,{ref:m,height:v,itemCount:o.length+1,innerElementType:ve,itemSize:p,estimatedItemSize:X,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(je,{ref:o,style:{...a,width:"auto"},...r,children:t.jsx(Fi,{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 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"?Gt:$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=q.memo(Ai),Ni=n.div`
485
485
  margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
486
486
  display: block;
487
487
  height: 100%;
488
- `,Ni=n.div`
488
+ `,Hi=n.div`
489
489
  display: flex;
490
490
  width: 100%;
491
491
  height: calc(100% - 60px);
@@ -501,14 +501,14 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
501
501
  background: ${e=>e.theme.colors.background};
502
502
  border-radius: 50%;
503
503
  cursor: pointer;
504
- `,Ei=n(He)`
504
+ `,Ei=n(Ne)`
505
505
  height: ${i.sp5};
506
506
  width: ${i.sp5};
507
507
  color: ${e=>e.theme.colors.grey1};
508
508
  &:hover {
509
509
  color: ${e=>e.theme.colors.primary};
510
510
  }
511
- `,Vi=n(Ne)`
511
+ `,Vi=n(He)`
512
512
  margin-top: ${i.sp3};
513
513
  color: ${e=>e.theme.colors.hero};
514
514
  `,Ki=n.div`
@@ -518,7 +518,7 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
518
518
  ${({isListTooLarge:e,windowSize:o})=>(e||o==="small")&&`
519
519
  .spend-management-list-item:last-of-type {
520
520
  /* NOTE: !important is used to ensure padding is applied to the last item in the virtualized list. */
521
- height: ${Li.lastListItemHeight.valuePx(o)} !important;
521
+ height: ${zi.lastListItemHeight.valuePx(o)} !important;
522
522
  padding-bottom: ${i.sp8};
523
523
  }
524
524
  `}
@@ -537,27 +537,27 @@ import{a9 as Le,ay as Re,Q as N,y as _,V as t,bE as Ie,w as I,gc as Te,b as T,u
537
537
  left: ${i.sp0};
538
538
  padding-bottom: ${i.sp3};
539
539
  box-sizing: border-box;
540
- `,_i=n.div`
540
+ `,Fi=n.div`
541
541
  position: relative;
542
542
  width: auto;
543
543
  height: 100%;
544
- `,je=n.div``,Fi=n.div`
544
+ `,je=n.div``,_i=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
+ `,Ui=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:Yi}=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:w,updateDownloadStateHandler:f})=>{const R=Le().analytics,D=Re(),[V,Z]=S.useState(!1),P=N(),Y=_(),be=r===""&&(d?.categories==null||d.categories.length===0||d.categories.every(z=>z.values==null||z.values.length===0)),X=o==="Completed"&&be&&e.length===0,Se=z=>{Z(z)},Ce={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Yi.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()=>{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:()=>qe("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Ge},Pe=t.jsx(Xe,{spendManagementSectionProps:Ce}),ke=he.pageTitle,ze=S.useMemo(()=>e.map(z=>({repayment:z,accountInfo:z.paymentAccountId!=null&&z.paymentAccountId!==""?a?.[z.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:Y.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:ze,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:b,searchText:r,isZeniTenant:g,onRetryPaymentClick:s})})]})},Ui=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:w,updateDownloadStateHandler:f})=>{const R=ze().analytics,D=Re(),[V,U]=S.useState(!1),P=H(),Z=F(),be=r===""&&(d?.categories==null||d.categories.length===0||d.categories.every(L=>L.values==null||L.values.length===0)),Q=o==="Completed"&&be&&e.length===0,Se=L=>{U(L)},Ce={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Zi.strings.empty,hideSearchBtn:!1,disableSearch:Q,disableFilters:Q,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()=>{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:()=>Ge("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Xe},Pe=t.jsx(Qe,{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: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(qi,{windowSize:P,children:t.jsx(Mi,{fetchState:o,repaymentListWithAccountInfo:Le,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:b,searchText:r,isZeniTenant:g,onRetryPaymentClick:s})})]})},Yi=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
+ `,qi=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 $,V as r,d as V,ax as be,a9 as $e,aS as je,aP as Se,fY as Te,bE as ze,fx as ve,i as Y,aR as ee,O as oe,o as t,R as Pe,a as G,cF as ke,ar as Ie,y as x,aq as Ae,bV as Be,iP as Re,aj as Le,u as p,H as S,p as y,bc as _e,aW as Ee,iQ as Me}from"./index-sotzB3Mx.js";import{a as T}from"./sentry-2bqpslFP.js";import{n as a,c as De,k as Fe}from"./mui-CWqpJBOf.js";import{EQ as Ue}from"./zeni-epic-state-DM-Ak8Gv.js";import{k as Ne}from"./NavigationDots-CxV99fd--CAgGp2GQ.js";import{J as H,N as J}from"./PromoBaseCards-Bs1TPBeA-C7sFMDVT.js";import{M as L}from"./usp-line-BBd1wKwW-C5jzPmNs.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.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]="6a042897-e5d1-4ce7-a83c-2ffa71349eae",e._sentryDebugIdIdentifier="sentry-dbid-6a042897-e5d1-4ce7-a83c-2ffa71349eae")}catch{}})();const g={containerPaddingTopBottom:new x(p[0],p[0]),uspContainerMarginX:new x(p[6],p[0]),midContainerGap:new x(p[4],84),iconContainerMinHeight:new x(236,396),emptySectionHeight:new x(p[6],43),navigationBottom:new x(p[4],94),navigationLeft:new x(192,244),carouselHeight:new x(268,396),carouselMarginTop:new x(54,p[4]),carouselMarginLeft:new x(120,p[12]),buttonTrayGap:new x(p[3],p[5]),termsOfAgreementMarginTop:new x(p[5],p[10]),contactAdminContainerMarginTop:new x(p[0],p[10]),contactAdminContainerMarginBottom:new x(p[4],p[0]),contactAdminContainerMarginLeftRight:new x(p[3],p[0])},z={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:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:u,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:O,onExpressInterestClick:ge})=>{const he=V(),W=be(),v=$(),Z=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:E}=i,Q=je(_?.fetchStatus.fetchState),[xe,X]=T.useState(!1),ue=()=>{Z.trackCardsPromoPageClicked("schedule demo"),Z.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:u,isCreditCardEnabled:w},"Cards Promo"),X(!0)},we=C!=null&&E!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:E.currencyCode,currencySymbol:E.currencySymbol}):void 0;T.useEffect(()=>{Q==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&O()},[Q,O,_?.fetchStatus]);const q=Ue(W.loggedInUserRoleMap),fe=Te(W),M=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=M?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),xe===!0?r.jsx(ve,{onCancelClick:()=>{X(!1)},meetingUrl:e}):null,r.jsx(qe,{windowSize:v,children:q===!0?r.jsxs(Xe,{children:[r.jsxs(Qe,{children:[r.jsx(Je,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:M,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ne,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:M,isCheckingEnabled:l})]}):r.jsx(Ve,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),q&&!(F||D)?r.jsxs(or,{windowSize:v,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:ue,"data-testid":ee("schedule-demo-button")}),r.jsx(Ze,{windowSize:v,children:o.orText}),r.jsx(Y,{variant:"primary",label:K,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||ye==="In-Progress",onClick:K===o.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=$();return r.jsxs(mr,{windowSize:i,children:[r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.pre}),r.jsx(Be,{title:s,placement:"top-start",style:{padding:`2px ${t.sp2}`},children:r.jsx(N,{underline:!0,windowSize:i,children:o.noCardAssigned.tooltip})}),r.jsx(N,{underline:!1,windowSize:i,children:o.noCardAssigned.post})]})},ae=({cardPromoType:e,showEnableCardButton:s,isCheckingEnabled:i,isUnderReview:n,isRejected:c,showExpressInterest:m,isCardUser:h=!1})=>{const u=$();return r.jsx(ir,{windowSize:u,children:r.jsx(Re,{topTermLabel:o.terms.checkingAccountTerm,buttonTermLabel:n===!0||c===!0||h===!0?void 0:m===!0?o.terms.getPreApprovedNowTerm:s?o.terms.alternateTerm1:o.terms.terms1,showEndIcon:!1,showTerms:c===!1&&h===!1&&n===!1,style:{marginTop:g.termsOfAgreementMarginTop.valuePx(u)},cardPromoType:e,isCheckingEnabled:i})})},Je=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const u=$(),w=s==="debit_and_credit"?o.promoTextDebitCreditCard:s==="debit"?o.promoTextDebitCard:o.promoTextCreditCard,j=e?r.jsxs(r.Fragment,{children:[o.promoBadgeText.approved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]}):m?r.jsxs(r.Fragment,{children:[o.promoBadgeText.nonPreApproved.get,r.jsx(rr,{children:o.promoBadgeText.nonPreApproved.scale}),o.promoBadgeText.nonPreApproved.doubleStarred,U.strings.space,o.promoBadgeText.nonPreApproved.higherLimits]}):n?o.promoBadgeText.underReview:c?o.promoBadgeText.rejected:s==="debit_and_credit"&&h===0?null:r.jsxs(r.Fragment,{children:[o.promoBadgeText.preApproved,r.jsx(te,{children:i}),o.creditLimit,U.strings.space]});return r.jsxs(r.Fragment,{children:[r.jsx(r.Fragment,{children:u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]})}),r.jsxs(Ye,{cardPromoType:s,hasContent:j!=null,hideBadge:i==null||s==="debit",windowSize:u,children:[n||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:u,children:j})]})]})},Ve=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const u=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[u==="small"?r.jsxs(r.Fragment,{children:[r.jsx(le,{children:w}),r.jsx(ce,{children:o.promoSubText})]}):r.jsxs(r.Fragment,{children:[r.jsx(se,{children:w}),r.jsx(de,{children:o.promoSubText})]}),s.length===0?r.jsx(pr,{windowSize:u}):r.jsx(Ge,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:m,cashbackRate:n}),c?null:r.jsx(He,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ge=({cards:e,companyLegalName:s})=>{const i=V(),n=$();let c="",m;if(e.length===1){m=e[0].cardCreatedByUser.photo;const h=e[0].cardCreatedByUser.firstName+" "+e[0].cardCreatedByUser.lastName;c=o.cardAssigned.singleCreditCard.replace("__issuing-user__",h).replace("__company-name__",s)}else c=o.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:oe.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(xr,{windowSize:n,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Oe,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(J,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=$(),n=o.benefits;return r.jsxs(tr,{windowSize:i,children:[i==="small"?r.jsx(re,{windowSize:i,cardPromoType:e}):null,r.jsxs(ar,{windowSize:i,children:[r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:n.item1.pre}),r.jsx(A,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(b,{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(R,{children:[r.jsx(b,{windowSize:i,children:n.item2.pre}),r.jsx(A,{windowSize:i,children:n.item2.bold}),r.jsx(b,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:n.item3.pre}),r.jsx(A,{windowSize:i,children:n.item3.bold}),r.jsx(b,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(R,{children:[r.jsx(b,{windowSize:i,children:n.item4.pre}),r.jsx(A,{windowSize:i,children:n.item4.bold}),r.jsx(b,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Oe=()=>{const e=$(),s=V(),[i,n]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,u=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:u},{id:2,cardType:"debit",cardText:u},{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(ur,{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(J,{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(J,{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=a.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
+ `,Ze=a(Le)`
8
+ color: ${e=>e.theme.colors.hero};
9
+ `,Qe=a.div`
10
+ display: flex;
11
+ flex-direction: column;
12
+ align-items: center;
13
+ `,Xe=a.div`
14
+ display: flex;
15
+ flex-direction: column;
16
+ justify-content: space-between;
17
+ flex: 1;
18
+ width: 100%;
19
+ `,qe=a.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=a(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=a(Ie)`
36
+ color: ${e=>e.theme.colors.primary};
37
+ margin: auto;
38
+ margin-top: ${t.sp2};
39
+ `,le=a(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=a(G)`
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=a.img`
56
+ border-radius: 50%;
57
+ justify-content: center;
58
+ color: ${e=>e.theme.colors.hero};
59
+ `,Ye=a.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=a(G)`
79
+ color: ${e=>e.theme.mode==="dark"?y.brandColorJade:y.brandColorSapphire};
80
+ text-align: ${e=>e.windowSize==="small"?"left":"center"};
81
+ ${e=>`${z.promoBadgeText.style(e.windowSize)}`};
82
+ span {
83
+ ${e=>`${z.promoBadgeTextBold.style(e.windowSize)}`};
84
+ }
85
+ `,rr=a.span``,te=a.span`
86
+ color: ${y.success};
87
+ `,tr=a.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=a.div`
94
+ display: flex;
95
+ flex-direction: column;
96
+ `,or=a.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
+ `,ar=a.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=a.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=a.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
+ `,b=a(_e)`
138
+ color: ${e=>e.theme.colors.champion};
139
+ ${e=>`${z.uspText.style(e.windowSize)}`};
140
+ `,A=a(Ee)`
141
+ color: ${e=>e.theme.colors.champion};
142
+ ${e=>`${z.uspBoldText.style(e.windowSize)}`};
143
+ `,B=a.div``,R=a.div`
144
+ padding-left: ${t.sp3};
145
+ `,sr=a(L)`
146
+ color: ${y.graphColor16Dark};
147
+ `,dr=a(L)`
148
+ color: ${y.alert};
149
+ `,lr=a(L)`
150
+ color: ${y.graphColor11};
151
+ `,cr=a(L)`
152
+ color: ${y.success};
153
+ `,pr=a.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=a(G)`
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=a(Me)`
167
+ ${e=>`${z.contactAdmin.style(e.windowSize)}`};
168
+ text-decoration: ${e=>e.underline?"underline":"none"};
169
+ cursor: ${e=>e.underline?"default":null};
170
+ `,gr=a.div`
171
+ color: ${e=>e.mode==="dark"?e.theme.colors.brandColorJade:e.theme.colors.brandColorSapphire};
172
+ `,hr=a.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
+ `,xr=a.span`
183
+ ${e=>`${z.cardsContent.style(e.windowSize)}`};
184
+ `,ur=a.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=a.div`
191
+ position: relative;
192
+ margin-top: ${e=>g.carouselMarginTop.valuePx(e.windowSize)};
193
+ margin-left: ${e=>g.carouselMarginLeft.valuePx(e.windowSize)};
194
+ `,fr=a.div`
195
+ position: relative;
196
+ overflow: visible;
197
+ `,ie=a.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=a.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{Ve as ChargeCardPromoUserContent,_r as default};
@@ -0,0 +1,36 @@
1
+ import{d as je,J as Oe,a9 as Be,aS as M,aa as Ue,cH as _e,aX as J,V as t,ff as ze,p as Re,y as d,bE as $e,T as We,ad as Le,fy as qe,dS as Ne,fz as He,o as U,b as Me,iR as G,by as Je,aT as Ge,fB as Xe,O as Ye,u as o,am as Ke}from"./index-sotzB3Mx.js";import{a as f}from"./sentry-2bqpslFP.js";import{n as w}from"./mui-CWqpJBOf.js";import{bJ as Qe}from"./zeni-epic-state-DM-Ak8Gv.js";import{x as Ze}from"./LabeledControlledCheckBoxField-CZlavM3Q-CNMSOa5n.js";import{g as et}from"./UploadAdditionalDocumentOverlay-5-avyqy0-fJ0d5z1N.js";import"./liveblocks-DezulwOD.js";import"./core-D2KcXy_y.js";import"./recharts-H7gIkfSf.js";import"./lottie-D7_uSTtS.js";import"./analytics-DRVsD-is.js";import"./lexical-Dj2KAtCD.js";import"./utils-Bfvb8rvn.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]="0fe4cb04-7f15-4776-a47d-cfdadf6fa291",e._sentryDebugIdIdentifier="sentry-dbid-0fe4cb04-7f15-4776-a47d-cfdadf6fa291")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,o[5],o[5]),sectionRowGap:new d(o[5],o[9],o[9]),iconWidthHeight:new d(20,o[4]),subTitlePaddingTop:new d(12,o[3]),subTitlePaddingBottom:new d(o[3],o[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(o[1],o[0])},X="chargeCardSetUpPage",g="payAccount",{commonSetUp:tt,spendManagement:nt}=Ye.getLocalizedStrings(),{chargeCard:Q}=nt,{chargeCardSetUp:m}=Q,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:me,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Be().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:z,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:$}=a,W=M(C),k=M(u.fetchState),V=Ue({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Y(a),[a]),values:Y(a)}),ve=V.handleSubmit(se),Ee=async(S,T)=>{const n=T[g];if(S.includes(g))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=$.find(B=>B.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(B=>B.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 S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=V.watch((T,{name:n})=>{n!=null&&T!=null&&_e(()=>Ee(n,T))});return()=>{S.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 D=I?.isChargeCardEnabled===!0,F=R?.isDebitCardEnabled===!0,L=R?.isDebitCardTOSAccepted===!0,q=I?.isChargeCardTOSAccepted===!0,N=z?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Qe(l?.providerVerificationStatus?.code??""),j=v?N:N&&Ie,Ve=C==="In-Progress"||C==="Not-Started";f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const O=v?j&&!F&&L:ie?j&&!D&&q:j&&!(D&&F)&&q&&L,De=O?m.setupSubTitleNotEnabled:m.setupSubTitle,H=y.mode==="light"?new J(y.colors.brandColorJadeLight):new J(y.colors.brandColorJadeDark),Fe=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(at,{children:[t.jsx(ze,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:Re.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:Se,onSendForVerificationClick:we})}),t.jsx($e,{title:m.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!F&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:De}),Ve?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Le,{...V,children:t.jsx("form",{id:K(X),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(qe,{onClick:Fe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(Ne,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:z?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:$,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:g,isDisabled:r,onFetchLinkTokenClick:oe,onEstablishConnectionClick:me,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,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:m.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:Q.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:G(g,"enableAutoPay"),checkBoxValue:G(g,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Ge,{formId:K(X),primaryBtn:{label:m.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 ${U.sp3}`}}):null,t.jsx(Xe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},Y=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[g]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},K=e=>`${e}_form`,it=w.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
+ `,at=w.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
+ `,ot=w(Ke)`
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=w.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=w.div`
33
+ display: flex;
34
+ flex-direction: column;
35
+ row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
36
+ `;export{wt as default,K as uniqueName};