@zeniai/web-cockpit-ui 1.15.49-dev → 1.15.50-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 (344) hide show
  1. package/dist/assets/ACHDetailsPage-D2Xav-UW-BWiZ-Bc8.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DgrMh-mY-Bylt20RS.js → AIPerformancePage-DlTdGosv-BKn1Oy_U.js} +104 -104
  3. package/dist/assets/AccountInfoPage-B8-8kUGD-BEAC6yCh.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DeptuP1q-CsYE_k70.js → AccountInfoPageContent-BS2TBUSE-BCLlNmfm.js} +20 -20
  5. package/dist/assets/{AccountLockedInfoModal-CYYkjr3Y-BcAzzzM4.js → AccountLockedInfoModal-aukulrV7-s7lDLksb.js} +11 -11
  6. package/dist/assets/{AccountReconDetailsDrawerPage-jN8KgM4V-yAl3_OHe.js → AccountReconDetailsDrawerPage-kQJld6_N-DFQbdeu8.js} +19 -19
  7. package/dist/assets/AccountRow-BiEYR4Y1-0x0DgsfU.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-CB2gPVUw-D3B_FWzu.js → AccountsPromoCardStack-DBQnDPXQ-ByY919CJ.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-W1_tMZDc.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BlExjuu4-B196FBl9.js → AddToWalletPage-C4EwdLZJ-BDf59l0V.js} +18 -18
  11. package/dist/assets/{AgingReportsPage-D9UyMHCS-CUKIok_T.js → AgingReportsPage-vAvkUfOS-BTtgXal2.js} +7 -7
  12. package/dist/assets/{AllUserItems-DGGAZCTH-DA8Osx0t.js → AllUserItems-qrYg6Gdx-CI4cfipf.js} +11 -11
  13. package/dist/assets/ApAgingDetailPage-BRYQMwo2-BX8bMzFl.js +46 -0
  14. package/dist/assets/{AppBasePage-ANWa38-v-Dui1Sxci.js → AppBasePage-DrE-W6d7-BXIwSS1q.js} +8 -8
  15. package/dist/assets/{AppDrawerContent-UhQJdUmA-CkRUhLQ3.js → AppDrawerContent-ATbZG_cu-DJYf_h0a.js} +5 -5
  16. package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-D8Ej2tQP.js +47 -0
  17. package/dist/assets/{ArAgingChart-CuFQTCRF-BBoOHiTE.js → ArAgingChart-CuzG9AZY-D20yOcSu.js} +6 -6
  18. package/dist/assets/ArAgingDetailPage-DwRkcLEu-BPn8BqM4.js +46 -0
  19. package/dist/assets/{AttachmentView-D6K3YHdZ-Bap3B_dh.js → AttachmentView-BrQRChzc-DmBnJDly.js} +6 -6
  20. package/dist/assets/{BankAccountSection-B51-Hpnt-BDzmY8Fy.js → BankAccountSection-hcKEMs80-IayGgYsa.js} +6 -6
  21. package/dist/assets/BankAccountWarningSection-CpxVDMSZ-4MGZTw8n.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-BeTdU1D7-CvYt_ADS.js → BankConnectionsSettingsPage-Bdw1K00m-BfrIZwzh.js} +30 -30
  23. package/dist/assets/BillDetailPage-D0NLFZXA-Ca284Kwb.js +266 -0
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CVBTvKC--CjXFb5TX.js → BillPayApprovalRuleDetailPage-DkpCvYvo--bCxfSFy.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-COiOi09y-D-B4gYTJ.js → BillPayApprovalRulesPage-BEqZD0GU-uvL85aev.js} +19 -19
  26. package/dist/assets/BillPayPromoPage-BMcP4EU5-BVIvwbQi.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-3O1UBtgm-Dsg0n8rt.js → BillPaySetUpPage-WdEdbf16-Cj5_BixU.js} +9 -9
  28. package/dist/assets/BillingSettingsPage-GtRUqSZm-BdxhpxlY.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-DAUoo9pq-DkmBDuWQ.js +1 -0
  30. package/dist/assets/{BoxItem-C-VST523-DMPXmLe8.js → BoxItem-CACRFWG2-X3bucjjy.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-9gZbBDL6-DWp5zQxs.js +138 -0
  32. package/dist/assets/{CardNumberSubText-BUvXykSn-DR27wA6E.js → CardNumberSubText-C-oVdziK-B680WGcf.js} +3 -3
  33. package/dist/assets/{CashbackDetailPage-BhHWEtnP-BIMVCNfp.js → CashbackDetailPage-BhFKSl4p-4MnwVNWx.js} +27 -27
  34. package/dist/assets/{ChargeCardDetailPage-BGqaGwV3-AFT-HAkP.js → ChargeCardDetailPage-D8J6HINu-Bb53RVMq.js} +20 -20
  35. package/dist/assets/{ChargeCardListPage-D5H9U0h8-DeNsZOzv.js → ChargeCardListPage-tdUKyHdz-BUynNnwQ.js} +16 -16
  36. package/dist/assets/{ChargeCardListTable-Byme0rAu-ych_Qx-x.js → ChargeCardListTable-CByk3iqX-B66ckaF5.js} +55 -55
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DKW98ipI-DfncT-JI.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BtDyG6dw.js} +34 -34
  38. package/dist/assets/{ChargeCardPromoPage-VSqN0247-7AKJMP0k.js → ChargeCardPromoPage-C4cgx2gm-D0VU2K9B.js} +30 -30
  39. package/dist/assets/{ChargeCardSetupPage-BMitkkOv-DqB6_gbE.js → ChargeCardSetupPage-DtwiTNKA-B7eJu1ZO.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-C_iQ5kBD-CzlgcFfP.js → ChargeCardStatementsPage-B0KPw52e-BeAyJDnJ.js} +8 -8
  41. package/dist/assets/{CheckDepositDrawerPage-BaRz0MD0-fXpFUSD5.js → CheckDepositDrawerPage-DKNAXI77-RBR5olq2.js} +15 -15
  42. package/dist/assets/{CollapsableReportTable-C4hqC6Uj-CeOhK0qJ.js → CollapsableReportTable-Cq8bhaYC-BggtU0rR.js} +272 -272
  43. package/dist/assets/{CompanyOfficerDetailsSection-DA62JWZF-28wXvrh9.js → CompanyOfficerDetailsSection-Rk0B5cB5-Bje8HDKM.js} +32 -32
  44. package/dist/assets/{CompanyPassportCard-CDQgqgtJ-Cs-zlaQi.js → CompanyPassportCard-CHaKk74P-DDpNpfNq.js} +12 -12
  45. package/dist/assets/{CompanyPassportPage-DoOtHRwj-7bnAHUeu.js → CompanyPassportPage-DXWXFFKM-GfiP2rfO.js} +20 -20
  46. package/dist/assets/{CompleteProfile-DsEoizlG-DOegmHNH.js → CompleteProfile-ChaWsK6t-CmD-Ajg7.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CdB5fRMt-BV3aXXBM.js +1 -0
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-yhWFdRSc.js → ConstrainedInnerElement-BeIpAPjB-CvXQTLMk.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-CQGF8m1c-Km9d2S1Z.js → CreateOrEditVendorPage-C_8Jqubo-BeXFdKcj.js} +11 -11
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DK_T0qbN-Bvmfy85N.js → CreditCardPaymentDrawerPage-lOjOtk28-BP0yToaF.js} +15 -15
  51. package/dist/assets/CurrencySelectField-BDqU4HVy-DnlyHMKA.js +139 -0
  52. package/dist/assets/{CustomerOnboardingActivationPage-DCQ_KqzB-DJtTHAcy.js → CustomerOnboardingActivationPage-DO6NCakm-CAMuBBQX.js} +29 -29
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DsqzICHM.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-ZTBIaml1-DBfEZVdM.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BAapr03j.js} +17 -17
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DEq1Mm1I-Dp_05KKK.js → CustomerOnboardingNoStepsPage-CbG5WshV-f-4FUEfq.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingPage-BXch3GVe-Ba_gMD_F.js → CustomerOnboardingPage-DyVyf8oK-B51u1QyT.js} +16 -16
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-D7PFi42F-C_seXYMG.js → CustomerOnboardingProductSuitePage-1F3JfCRp-DRVVAjzS.js} +8 -8
  58. package/dist/assets/{Dashboard-BcjA6DTL-B8wtUrMY.js → Dashboard-Csggwob0-CucBwf-E.js} +66 -66
  59. package/dist/assets/{DashboardReportPage-Ce-jnQbs-CfmLV1Yt.js → DashboardReportPage-DFIdi_I0-CWCqUDts.js} +22 -22
  60. package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-BERUL4nF.js +12 -0
  61. package/dist/assets/{DepositAccTransactionItem-COgr8Xw5-NWAgf7bV.js → DepositAccTransactionItem-CZ7v1T4S-kDEbOJw2.js} +6 -6
  62. package/dist/assets/{DepositAccTransactionListPage-zhPDzJoK-AejpnIWF.js → DepositAccTransactionListPage-FldPGX6K-KLK81P63.js} +4 -4
  63. package/dist/assets/{DomesticWireDetailsPage-2MqIFQbM-BGwsfDe-.js → DomesticWireDetailsPage-C--eZ-UG-BJZT9cWR.js} +2 -2
  64. package/dist/assets/{DownloadOverlay-CfWDWIbC-DcGZOT8A.js → DownloadOverlay-4f9deyJS-B9_tQwKs.js} +26 -26
  65. package/dist/assets/{DrawerPage-CfIhiBhn-A5CC3xdl.js → DrawerPage-roO3xvRT-XI38_I4m.js} +11 -11
  66. package/dist/assets/EditPeoplePage-pi5RclAj-BMVndFcH.js +55 -0
  67. package/dist/assets/EditReimbursementDetailPage-CIUcImns-dOARMfmM.js +865 -0
  68. package/dist/assets/EntityDetailPage-OTKTVNMD-D_gGJiJl.js +18 -0
  69. package/dist/assets/{EntitySummarySection-Bie5ZOV3-BZu2b-HP.js → EntitySummarySection-fBL4TZpT-UlHv9GhZ.js} +32 -32
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BEKF8mo3-DI5Un6My.js → ExpenseAutomationOverviewPage-CnhNINCc-XNKWWalz.js} +47 -47
  71. package/dist/assets/ExpenseAutomationPage-BDLCJbFw-D6CY7q0l.js +1703 -0
  72. package/dist/assets/{ExpressPayPage-C6Jb6WrN-BeqBD08K.js → ExpressPayPage-c8oTCnBR-DDI22yPw.js} +19 -19
  73. package/dist/assets/{FeaturePreviewPage-ev9V1Riy-BV3fE1G1.js → FeaturePreviewPage-DkiAajs2-CWm_NPeh.js} +3 -3
  74. package/dist/assets/{FollowStepsSection-BlgHPyvL-BhwHykaB.js → FollowStepsSection-GaWu1kt9-Dj5MvViw.js} +44 -44
  75. package/dist/assets/GlobalReviewListPage-DEzj0RVG-HfAvAlvB.js +291 -0
  76. package/dist/assets/{InformationCardStack-BkuCjydF-ClSDOapP.js → InformationCardStack-dMFbHUWM-CihvCd5l.js} +6 -6
  77. package/dist/assets/{InsightsCardStack-BFrwV0PC-CZ45PRa1.js → InsightsCardStack-BlXkyuyz-D4zNF2IR.js} +10 -10
  78. package/dist/assets/InsightsSection-D-oCmrir-Sip59hWk.js +27 -0
  79. package/dist/assets/IntegrationsSettingsPage-D-hfghuq-Mtjw-TfK.js +57 -0
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DUNu57zU-B6FHq7_F.js → InternationalWireSwiftDetailsPage-DxdKE300-Ch6ktxWV.js} +20 -20
  81. package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-lLeWAn7t.js +65 -0
  82. package/dist/assets/{InviteFormPage-D8zySzlG-B662YNtS.js → InviteFormPage-BCdalqtP-CVBiHF3V.js} +21 -21
  83. package/dist/assets/{InvitePageListView-DUng4fOl-Bw5RtSsX.js → InvitePageListView-B88FW48q-CtwT_lzJ.js} +63 -63
  84. package/dist/assets/InvitePeoplePage-Z-2L7lWc-ClTTRQa0.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C8hytmay-CRXs_Kj8.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-Vzj9appY-09K43VT7.js → IssueChargeCardPage-B6wmvbEr-Cv_7MvaD.js} +18 -18
  87. package/dist/assets/{LabeledAddressValue-inaQliHs-Dg9xTHiz.js → LabeledAddressValue-CQrDCgNs-DDPb7wFI.js} +2 -2
  88. package/dist/assets/LabeledAddressValueField-BoHS44YO-CKpxgqiE.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-DNMqJzBC-BPs_pf7S.js → LabeledControlledCheckBoxField-BsFqjCpn-C-MKXj71.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField--JYMnWIw-Dm5jwrCs.js → LabeledCountryMultiSelectField-D1fVDYR_-G9fOGY2T.js} +12 -12
  91. package/dist/assets/{LabeledCreatableSingleSelectField-C5A14hjp-Dp3zoxD2.js → LabeledCreatableSingleSelectField-Bhka-Faj-ClLZPurA.js} +8 -8
  92. package/dist/assets/LabeledDocumentField-CnRk5aKZ-CzOQUZqO.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-BVtRyAo1-706o2HXB.js → LabeledDropDownFormattedTextField-ChgtJqPr-CsaX1P25.js} +7 -7
  94. package/dist/assets/LabeledText-2EDpuXZ4-a0ADggfE.js +42 -0
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DXTzXLuP-C7ZxqrMf.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-D8_YdZ3M.js} +19 -19
  96. package/dist/assets/{LabeledZeniRolesDropDownField-C0AamFZX-DtH7B1QB.js → LabeledZeniRolesDropDownField-CpH0eDWO-6StOP0Bl.js} +28 -28
  97. package/dist/assets/{LinkJETransactionPage-DWjs72Wp-CUQI1Z1j.js → LinkJETransactionPage-BhV2MnCY-C5nCEtkl.js} +16 -16
  98. package/dist/assets/{LockCardPage-CPUbpfrv-3LEgf1Eq.js → LockCardPage-CHv1xi2J-Cv1DZ57L.js} +217 -217
  99. package/dist/assets/{LowBalancePopup-Cg-JRo7A-zj6pzOkP.js → LowBalancePopup-Cb55PGLc-C-9hACKT.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-C_YtTDeW.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-x-i9NvXL.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-SOQoBcnA.js +1 -0
  103. package/dist/assets/MagicLinkSuccessPage-09NLbjFG-D7qzUiN9.js +31 -0
  104. package/dist/assets/{MagicLinkTitleSection-D5RIlimx-5X1vjx5k.js → MagicLinkTitleSection-BA-i6vzA-DvG_5pI3.js} +5 -5
  105. package/dist/assets/MailingDetailsSection-EwtoQ2TZ-DY2G7v7G.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-D55M4Yo6-DWI72gIp.js → MyBankConnectionsSettingsPage-Aer6AWxY-OPBcC9m9.js} +14 -14
  107. package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-DCzEYRtr.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-DMz-6h9F-DFvmYVLb.js +85 -0
  109. package/dist/assets/NavBarWithPicker-D8WNahg--C0o9Lnmp.js +30 -0
  110. package/dist/assets/{NavigationArrow-CqK2Gxhj-JoTM067o.js → NavigationArrow-kQWS5Pzb-C4S_N1iY.js} +7 -7
  111. package/dist/assets/{NavigationDots-C7DGhAsk-BigsWf2H.js → NavigationDots-BQb_Fodq-C-HossK2.js} +4 -4
  112. package/dist/assets/{NewGlobalMerchantPage-BH4SIY-b-IspkGBWL.js → NewGlobalMerchantPage-z86XZorn-DwDob9mX.js} +40 -40
  113. package/dist/assets/NoDataChart-CyYJ6icu-Ceu_3WWQ.js +26 -0
  114. package/dist/assets/{NoDataTable-B355xDAT-DcAZ4j4d.js → NoDataTable-DVe7sQhD-BBFOa9Zf.js} +1 -1
  115. package/dist/assets/{NotFoundPage-Bfp9Pyxw-DVJn2b4k.js → NotFoundPage-B1XCmhSe-DdSt4ytI.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-1OEolmCL-DbOSpAhH.js → NotificationSettingsPage-BaN20EGV-Dm0Kwnze.js} +20 -20
  117. package/dist/assets/NotificationsListConfig-BOW_TmPC-DUp1zUEg.js +1 -0
  118. package/dist/assets/NotificationsPage-C9efAgjo-CBn4Fnze.js +685 -0
  119. package/dist/assets/OpExByVendorPage-DXeBU3-z-DGRhEX_U.js +100 -0
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-CR2TYg0o.js → OverlayContainerPage-D4QU0p4o-DbSGoowZ.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-ChIPvp4R-qyv7RUis.js → PandLWithForecastPage-CXtJhnA_-BFrCmEg5.js} +11 -11
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CnpmZxaM-COq_RoPw.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-Bh7-OVHS.js} +13 -13
  123. package/dist/assets/PeoplePage-DXC2CtOt-4lEc5swH.js +675 -0
  124. package/dist/assets/{Preview-qBYtkSAF.js → Preview-g00Qv-CI.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-eVPl5t0I-BGcfqmV6.js → ProductsCarousel-ufZlh7Rx-YeOo5bg7.js} +7 -7
  126. package/dist/assets/{PromoBaseCards-HrcAWM4W-BKT0vHPP.js → PromoBaseCards-D2UbhBhT-Dd_eb1rN.js} +4 -4
  127. package/dist/assets/{QBOConnectionDialog-DgyYkEYY-Cpn7NAss.js → QBOConnectionDialog-BrQ71F06-BFCLzqHE.js} +6 -6
  128. package/dist/assets/QBOSetupSection-EOFscEW--BS9o_yyg.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BbEMTVlp-CzXU9rgb.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-UTev4YQ6.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-B_1m9CBx-CabMdysS.js → ReimbursementApprovalRulesPage-CMpYn5y_-BTiJVJE0.js} +18 -18
  131. package/dist/assets/ReimbursementDetailPage-CfmICHZb-B78GpO_0.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-C4bxCDcc-yn3a9m-2.js → ReimbursementPromoPage-DXTAY8c7-D8cCc8YJ.js} +32 -32
  133. package/dist/assets/{ReimbursementSetUpPage-BkJ1-eNw-DtguijtQ.js → ReimbursementSetUpPage-KrGPXTCb-DUpAQJx9.js} +12 -12
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DolkTDgY.js +1 -0
  135. package/dist/assets/{ReloadCard-DrAfrMOy-Dp01MRiJ.js → ReloadCard-vAhL7B8U-DZ4WBcY6.js} +8 -8
  136. package/dist/assets/ReportTableViewSelector-Y97ney3W-CBFTsSDh.js +150 -0
  137. package/dist/assets/{ReportsPage-E9MU25NS-BG-K0aaI.js → ReportsPage-DKM0gVzR-Bgk3sBQb.js} +4 -4
  138. package/dist/assets/{RevenueChart-CzVs6lFB-CetzZFOl.js → RevenueChart-BEjDS1u4-DgwGxFpp.js} +13 -13
  139. package/dist/assets/{ReviewDetailsPage-DR0MCIgO-DeTv48zq.js → ReviewDetailsPage-BlQLrN9z-qgNa8kL5.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-jDgQyzfL-CrHwzWa9.js → ReviewOverlay-Bn3TFqfi-BnMlRqTB.js} +24 -24
  141. package/dist/assets/RoleWithToolTip-DhBFvJea-DHVvHPTc.js +22 -0
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D47R-Lyr-CZpPEcr2.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-B3WrOgao.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-DYNnVOEv-D18lxUWs.js → ScheduleDetailsPage-BP0wdtoP-C14XLmp4.js} +3 -3
  144. package/dist/assets/ScheduleSequenceTable-D-rZ4ftr-DIny0FLI.js +324 -0
  145. package/dist/assets/{ScreenRoutes-CyJpBFvr.js → ScreenRoutes-DskSNpKQ.js} +48 -48
  146. package/dist/assets/{SetUpAccountSection-Bq2qSGml-DouG9J1c.js → SetUpAccountSection-CoVrSSYL-BK8eb8iH.js} +7 -7
  147. package/dist/assets/SignIn-BoAejo7r-C4az_GoA.js +491 -0
  148. package/dist/assets/SignInScreen-Di7l6F78.js +1 -0
  149. package/dist/assets/SpendManagementListViewPage-D3eISFuA-BJKHzfnG.js +134 -0
  150. package/dist/assets/{SpendManagementPerTabPage-RLv6LS-z-CYo8kes0.js → SpendManagementPerTabPage-BWDjZyLp-B3fMmOF_.js} +114 -114
  151. package/dist/assets/{SpendManagementSection-DJfAJzAL-ig4GL1ZT.js → SpendManagementSection-D8rBpC-y-aWPmGHDr.js} +22 -22
  152. package/dist/assets/StatementItem-Cu6dlAsl-CEMP7iv_.js +31 -0
  153. package/dist/assets/{StatementsPage-BgYeg1T4-C88dmgbV.js → StatementsPage-DiY2BOcu-BFWv5aAG.js} +5 -5
  154. package/dist/assets/{StatusSwitcher-C4MmXvmy-xYxIiuBt.js → StatusSwitcher-B9MARTyR-RwzQ_fCz.js} +4 -4
  155. package/dist/assets/{SubTabSwitcher-UW2b0f3g-Dn63h3aS.js → SubTabSwitcher-C3rtSwro-BMElQQQG.js} +2 -2
  156. package/dist/assets/{SummaryCard-BLqrfWMN-BoOQqfaJ.js → SummaryCard-CShVbqhj-Dhj3DzIG.js} +1 -1
  157. package/dist/assets/TaskManagementPage-RVS8nv0n-BsJrrOep.js +508 -0
  158. package/dist/assets/{TimeRangeSwitcher-NHpll2Zg-Dr20odtf.js → TimeRangeSwitcher-DFnX6_WT-CZfjpBqG.js} +4 -4
  159. package/dist/assets/TimeframeSwitcher-CW08yYgo-ComQ5EHq.js +31 -0
  160. package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-Bk-ycr2q.js +31 -0
  161. package/dist/assets/{TopExCard-BKUm1fVu-CdS4qfxw.js → TopExCard-dI_WEGWb-BU3wMngO.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-BpaKGiXB-_eDwMn8-.js → TopExDetailPage-BWy5E8Lp-DtvjK_xS.js} +18 -18
  163. package/dist/assets/TransactionActivityLogPage-DjhEIUYm-DnNtacww.js +195 -0
  164. package/dist/assets/TransactionDetailPage-CuxqQd8U-XsnlScFV.js +903 -0
  165. package/dist/assets/TransactionList-80KjM8Kg-CbkPg3Zf.js +153 -0
  166. package/dist/assets/{TransactionListBig-C1i2HOEm-BoHPxhV4.js → TransactionListBig-DWQXH4ID-DD5UPGD_.js} +18 -18
  167. package/dist/assets/TransactionListPage-DC08rCC9-dt6exeNm.js +35 -0
  168. package/dist/assets/{TransactionVendorDetailPage-BhEUsSHE-DWkVZWnN.js → TransactionVendorDetailPage-CzfJ5b_3-CL7XOBkn.js} +15 -15
  169. package/dist/assets/{TransferDrawerPage-enFS8KsH-pWKe3GIV.js → TransferDrawerPage-6z-MoZZP-Dp04U_Kt.js} +29 -29
  170. package/dist/assets/{TreasuryOverviewPage-BT--Br6F-DZD_F62z.js → TreasuryOverviewPage-CF_ter0o-BGqEPdpU.js} +36 -36
  171. package/dist/assets/{TreasuryPromoPage-DsUxXGv2-CbCXpGfI.js → TreasuryPromoPage-Do-PTcjI-2DZrhiFT.js} +27 -27
  172. package/dist/assets/{TreasuryStatementsPage-D7NeRKLM-FnJOs5A5.js → TreasuryStatementsPage-l_HC4zsb-lMujmf6c.js} +3 -3
  173. package/dist/assets/{TreasuryTaxLetterPage-Cj6nJmhq-eRbAIBG9.js → TreasuryTaxLetterPage-B8YxWytK-BmggpXbf.js} +3 -3
  174. package/dist/assets/{TrendChart-CWaL1-sD-jHXMg1Jt.js → TrendChart-C6B61CAm-Ye7o4G34.js} +4 -4
  175. package/dist/assets/{TrendWithTransactions-ULrBa2b0-DV504Izy.js → TrendWithTransactions-Bp3vhaPa-B97DwabO.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-D8b01XUy-DqqC0SGI.js → UncategorizedAccountsMappingPage-cbFqKAv4-DRcpc90f.js} +18 -18
  177. package/dist/assets/{UnitIntegrationPage-KbEwifey-DfbiDH3c.js → UnitIntegrationPage-DZ0ZpE5p-BO2em7A8.js} +5 -5
  178. package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51-XuWx6jLi.js +38 -0
  179. package/dist/assets/Vendor2FAPopup-DezpDfp8-BubnwwOl.js +1 -0
  180. package/dist/assets/VendorACHDetailsPage-C8TWKYfc-C1dwXSNh.js +1 -0
  181. package/dist/assets/{VendorDetailPage-BwbESVFq-BHZW_2ez.js → VendorDetailPage-C4g_Gfsl-Bc5VCqyN.js} +89 -89
  182. package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-BdLmKxae.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Dycvl3IG-DtHtcSbL.js → VendorFiling1099EditablePage-Ckt2MiVN-Dvui8jZZ.js} +15 -15
  184. package/dist/assets/VendorFirstReviewPage-CIKRaTax-ChJc6Bvu.js +730 -0
  185. package/dist/assets/{VendorInternationalWireDetailsPage-Di0TU5Db-B1HiqwDL.js → VendorInternationalWireDetailsPage-Dz8mMD8d-s76HnOyI.js} +22 -22
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-BrH5PbpD.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-BPuqPLC8-CD6vaKdE.js → VendorsAccountsSection-BT-RADSV-D8dDuRZ5.js} +4 -4
  188. package/dist/assets/{VerifyDevice-BRCRNTf1-Dw4vKeVk.js → VerifyDevice-Cxc9CVMi-DsFVHfxT.js} +11 -11
  189. package/dist/assets/{VideoPlayer-BgWCDJp3-CbPNc--2.js → VideoPlayer-9UkKMhGy-CfYKM_4G.js} +2 -2
  190. package/dist/assets/{VideoPopup-ckAw3yZZ-CPBR9ffY.js → VideoPopup-rfiYmtio-cGZkVWLj.js} +2 -2
  191. package/dist/assets/{WarningsDrawerPage-D0VOjlPL-Cmk9Gclc.js → WarningsDrawerPage-DrUA4asI-D1jrLnQQ.js} +7 -7
  192. package/dist/assets/{ZeniAccountDetailPage-DxdKUJ_i-8Rps5gMW.js → ZeniAccountDetailPage-K016HgQt-CpwqGrdv.js} +24 -24
  193. package/dist/assets/{ZeniAccountListViewPage-DxCB40sG-D7wpBJpb.js → ZeniAccountListViewPage-1oZZynB1-CTCKXOm1.js} +17 -17
  194. package/dist/assets/{ZeniAccountNavBarPieces-D7o4_8jk-DU75NHos.js → ZeniAccountNavBarPieces-C6Oicpue-CDronLj9.js} +3 -3
  195. package/dist/assets/{ZeniAccountPromoPage-BlfBjcVV-D8slteBQ.js → ZeniAccountPromoPage-BCgys-YM-B4PBTYBK.js} +22 -22
  196. package/dist/assets/ZeniAccountSetupPage-BubBgkoa-ED0NkT0J.js +36 -0
  197. package/dist/assets/ZeniCopyright-BxIwmms--CB7vwHQ2.js +1 -0
  198. package/dist/assets/{ZeniTransferAmountSlider-yfG_RSE5-Chw30zZt.js → ZeniTransferAmountSlider-DVJ0puXA-BbQe3edZ.js} +11 -11
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DgloNLoG.js → add-to-wallet-DgdBD8_G-F5LVW0PA.js} +1 -1
  200. package/dist/assets/{analytics-BxsZVqMD.js → analytics-CahM0ApT.js} +30 -30
  201. package/dist/assets/{analyticsHelper-YXL3oVeL-st_q3oRE.js → analyticsHelper-CT5zOInj--DKtKqan.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BROaWFlP.js → analyticsHelper-Dt-Wvzj6.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cgw5LgRs.js → arrow-south-east-round-PEovUgvH-CEqKeUmQ.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-DEP8Cseu.js → auto-transfer-rule-mbafm5D3-CoGwDI0h.js} +1 -1
  205. package/dist/assets/{chartTypes-BPQ65VEE-6yZpeJsO.js → chartTypes-Ddw_3-6f-iughbCu_.js} +1 -1
  206. package/dist/assets/commonDimensions-ClmbdehE-Cl9ebfDm.js +1 -0
  207. package/dist/assets/{commonTypes-WZYufpaN-dYh7B5Qi.js → commonTypes-B-foaEwJ-Dxy4bmoK.js} +1 -1
  208. package/dist/assets/{constants-cBgt-jnp.js → constants-DLQpBQr_.js} +1 -1
  209. package/dist/assets/{core-CCdM5htn.js → core-DhOBLUcR.js} +1 -1
  210. package/dist/assets/{dash.all.min-BhdX5A-b.js → dash.all.min-D9C7dpy1.js} +1 -1
  211. package/dist/assets/{detailCommon-cqZF9ZV8-CcqFhiCw.js → detailCommon-Cpgf9GLg-CVrer6Nv.js} +6 -6
  212. package/dist/assets/downloadPdf-DfRYmfsd-Ci0FssC9.js +1 -0
  213. package/dist/assets/{empty-21UCvCWa.js → empty-B0kqq7AF.js} +1 -1
  214. package/dist/assets/{empty-Ci7PTPdn.js → empty-DXLckAFq.js} +1 -1
  215. package/dist/assets/epic-CTsLkOVJ.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-fL_gav59.js → gift-box-Cmt9OgIZ-7HACeG8S.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CsPk6hIb.js → graphic-no-data-l-DU4J8fDt-DXaGx8Uq.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CK0OnqK_.js → graphic-no-data-net-burn-l-CzmycA0m-DMYfos4l.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-CJV_gJfO.js → handshake-BPg58FML-C3Tu6ob6.js} +1 -1
  220. package/dist/assets/{helper-GwFcgf4f-QTj7P4Bk.js → helper-DP3YY99s-Dat90eJR.js} +3 -3
  221. package/dist/assets/{index-DBail5F5.js → index-58NM9fG5.js} +1 -1
  222. package/dist/assets/{index-BsaB-Va2.js → index-BA-jk0ze.js} +1 -1
  223. package/dist/assets/{index-C96UtQPZ.js → index-BPjVYw8N.js} +1 -1
  224. package/dist/assets/{index-D2yPgh5G.js → index-CNYrrT7d.js} +1 -1
  225. package/dist/assets/{index-8HE4yJ5t.js → index-CNbvhErF.js} +1 -1
  226. package/dist/assets/{index-DQtDqiLj.js → index-DDUTPJHS.js} +1 -1
  227. package/dist/assets/{index-Cq3X29cS.js → index-DmMELGnq.js} +4589 -4594
  228. package/dist/assets/{lexical-BfjdJw9p.js → lexical-CjsD_DZd.js} +1 -1
  229. package/dist/assets/{liveblocks-hPir54fv.js → liveblocks-Ckq-Ca_6.js} +1 -1
  230. package/dist/assets/{lottie-B9oE3WTk.js → lottie-D9uGWJnR.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-DzM3IPUV.js +1 -0
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BR34hkWh-Dcg0Ex62.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-CWbZz_DM.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-DY4vMoqX.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-DQV8mQPm.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-J3b1nb_T-CdLTDjgE.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DT3UAyAi.js +1 -0
  237. package/dist/assets/{mui-DzE-7sTl.js → mui-D89AqdoX.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-CU2PSbaV.js → page-detail-CWX5S47F-DbQrivxF.js} +1 -1
  239. package/dist/assets/panelSelectedMixin-CzfD5-Zs-D4-lfmac.js +4 -0
  240. package/dist/assets/{radio-default-CiSgisfh-Bxc-V1Pu.js → radio-default-CiSgisfh-raG5dxC1.js} +1 -1
  241. package/dist/assets/{react-CCRxUGC8.js → react-7Ri_94Fu.js} +3 -3
  242. package/dist/assets/{react-CI8KeqtZ.js → react-BVKhHWWR.js} +1 -1
  243. package/dist/assets/{react-iFe9VXnX.js → react-C00KSCiy.js} +1 -1
  244. package/dist/assets/{react-BZ8J0jw1.js → react-C7JpWPz-.js} +2 -2
  245. package/dist/assets/{react-BldneNt8.js → react-CawXqPwY.js} +1 -1
  246. package/dist/assets/{react-DukPPAPu.js → react-CmfaUpNO.js} +1 -1
  247. package/dist/assets/{react-IwpftXW_.js → react-CwOq2FWn.js} +1 -1
  248. package/dist/assets/{react-CrnvOta1.js → react-GdMEeNvP.js} +1 -1
  249. package/dist/assets/{recharts-CiLmNGsl.js → recharts-BGD0T3Yu.js} +1 -1
  250. package/dist/assets/{sentry-DQ_HstYV.js → sentry-D7VPqxYq.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-B21f1_cN.js → shield-DOlUxcFf-BJuX-oII.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-BQ5-SiQ7.js +1 -0
  253. package/dist/assets/toChartData-BEjMhb7--Ci9QGOR0.js +1 -0
  254. package/dist/assets/{uploadAttachment-htF-2xC2-BK-WmHcD.js → uploadAttachment-DUpHzqMe-BsXZIlq1.js} +21 -21
  255. package/dist/assets/uploadReceipts-Dge0cNF1-DZBMoenL.js +1 -0
  256. package/dist/assets/{url-D8jqtRfm.js → url-BmPGVW_-.js} +1 -1
  257. package/dist/assets/{url-vYaM0QEj.js → url-DKbKH14f.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BEGNcNvC.js → useLongPress-GCK2COYQ-BEJWN3qx.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-R5RCG5WU.js → usp-line-BBd1wKwW-5sdZ_HyE.js} +1 -1
  260. package/dist/assets/{utils-wDk5ojg7.js → utils-HSFXD1Qz.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-B4gyGBI3.js → zeni-epic-state-C513CLlc.js} +34 -34
  262. package/dist/index.html +1 -1
  263. package/package.json +4 -4
  264. package/dist/assets/ACHDetailsPage-CXIFSMnN-Coq6wI87.js +0 -21
  265. package/dist/assets/AccountInfoPage-WkSEcWJL-CkOnNoKS.js +0 -18
  266. package/dist/assets/AccountRow-C7_pSX9U-C_uj4ob-.js +0 -298
  267. package/dist/assets/AddAddressForCardDrawer-BiaLjcnj-DwcRtJ6c.js +0 -6
  268. package/dist/assets/ApAgingDetailPage-C-whdj9K-JXlpGLx8.js +0 -46
  269. package/dist/assets/ApprovalRulesSettingsPage-BdNNS-TS-C1VrdMxf.js +0 -47
  270. package/dist/assets/ArAgingDetailPage-CQRhI5Z_-Db-Z6Fvw.js +0 -46
  271. package/dist/assets/BankAccountWarningSection-Bqrm3j-y-DAe6VsjZ.js +0 -51
  272. package/dist/assets/BillDetailPage-GenRHQg3-fgN7wk2K.js +0 -266
  273. package/dist/assets/BillPayPromoPage-C-lZ36kT-Cmn31Ydv.js +0 -84
  274. package/dist/assets/BillingSettingsPage-ButDt4sV-CDAA93m9.js +0 -44
  275. package/dist/assets/BillsBulkReviewDrawerPage-DngjFR3H-BSt2ez3P.js +0 -1
  276. package/dist/assets/BusinessVerificationPage-CnF2Rkda-BxUtCmxb.js +0 -138
  277. package/dist/assets/ConfettiBurst-D_bNA5jm-AxnjtqGp.js +0 -1
  278. package/dist/assets/CurrencySelectField-7to_rmTp-D1r0SB0Y.js +0 -139
  279. package/dist/assets/CustomerOnboardingContainerPage-DMF9BtF3-COJ-Wyve.js +0 -1
  280. package/dist/assets/DashboardSidebarBackgroundAnimation-JT601qzy-CkG1z_mx.js +0 -12
  281. package/dist/assets/EditPeoplePage-D25vo51x-BKCEnPp5.js +0 -55
  282. package/dist/assets/EditReimbursementDetailPage-DnFC_tCw-Cr7fsauQ.js +0 -865
  283. package/dist/assets/EntityDetailPage-C9vgxsh4-Dg0LhTdP.js +0 -18
  284. package/dist/assets/ExpenseAutomationPage-DiJoZGeD-lfenglhX.js +0 -3001
  285. package/dist/assets/GlobalReviewListPage-Ck-LItUj-B8rLujq7.js +0 -291
  286. package/dist/assets/InsightsSection-BdLDesVF-oVNFlqx0.js +0 -27
  287. package/dist/assets/IntegrationsSettingsPage-skBb_52w-D47eLHv2.js +0 -57
  288. package/dist/assets/InternationalWireVerificationPage-D1_fj0MG-Bu9SiBen.js +0 -65
  289. package/dist/assets/InvitePeoplePage-C0bQFMoO-C-nWyYL8.js +0 -12
  290. package/dist/assets/InvoiceUploadSection-CVOHcfdx-FSNHIS5V.js +0 -140
  291. package/dist/assets/LabeledAddressValueField-B6IDZIGK-SXi-bQ86.js +0 -45
  292. package/dist/assets/LabeledDocumentField-DXd7BAH7-EzfLYbDV.js +0 -41
  293. package/dist/assets/LabeledText-B0bwznDi-CbaJVeOz.js +0 -42
  294. package/dist/assets/MagicLinkACHDetailsPage-CUhe4LF8-C2tbOI9Z.js +0 -1
  295. package/dist/assets/MagicLinkDomesticWireDetailsPage-DRiOxSts-fgdDLLEw.js +0 -1
  296. package/dist/assets/MagicLinkInternationalWireDetailsPage-DwCrgk9X-BJyrM3xf.js +0 -1
  297. package/dist/assets/MagicLinkSuccessPage-UOywm1sp-BBCToRwV.js +0 -31
  298. package/dist/assets/MailingDetailsSection-OYOVCPaq-B5APfdaG.js +0 -21
  299. package/dist/assets/MyPendingActivationChargeCardListPage-SxpMobOC-QJU8xHLH.js +0 -6
  300. package/dist/assets/MyProfileSettingsPage-DLvCW9dl-3UYEbBEM.js +0 -85
  301. package/dist/assets/NavBarWithPicker-zd1BopIw-dYFUtFeu.js +0 -30
  302. package/dist/assets/NoDataChart-Vz2Z_iIL-BHz7pPoV.js +0 -26
  303. package/dist/assets/NotificationsListConfig-B5Ei8fVY-6YLjvq8F.js +0 -1
  304. package/dist/assets/NotificationsPage-ChGr8-XF-VM1F0z8s.js +0 -685
  305. package/dist/assets/OpExByVendorPage-ae4FK1p6-CuNG361W.js +0 -100
  306. package/dist/assets/PeoplePage-D8pfeVRK-n6UzH76T.js +0 -727
  307. package/dist/assets/QBOSetupSection-C4KJ5iyA-DQVhDTXa.js +0 -79
  308. package/dist/assets/ReimbursementDetailPage-8i30hIr0-Dsm2Dpy8.js +0 -314
  309. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CYZGBUms--1POKdZc.js +0 -1
  310. package/dist/assets/ReportTableViewSelector-DM_Em4lI-DVoP-nO6.js +0 -150
  311. package/dist/assets/RoleWithToolTip-zLU58xb1-CSAiI1iT.js +0 -22
  312. package/dist/assets/ScheduleSequenceTable-CCHqmNhS-C5vei5ej.js +0 -324
  313. package/dist/assets/SignIn-Lqp6Uw4I--saqLsOx.js +0 -491
  314. package/dist/assets/SignInScreen-Crh_lnSg.js +0 -1
  315. package/dist/assets/SpendManagementListViewPage-DUBWXnF--DVg116ep.js +0 -134
  316. package/dist/assets/StatementItem-DWaejUx_-C8v9F3EQ.js +0 -31
  317. package/dist/assets/TaskManagementPage-BmOv6jb0-DMzDUJnW.js +0 -508
  318. package/dist/assets/TimeframeSwitcher-DR4B6ENA-CD0Ac63k.js +0 -31
  319. package/dist/assets/TimeframeSwitcherWithToggle-DlZ34Erl-BkLOXZy3.js +0 -31
  320. package/dist/assets/TransactionActivityLogPage-C4oS0b8d-5ZoA1pgW.js +0 -195
  321. package/dist/assets/TransactionDetailPage-Dz5UCI7c-DCbRyu-c.js +0 -903
  322. package/dist/assets/TransactionList-7sC4Vvux-BdQNJsG3.js +0 -153
  323. package/dist/assets/TransactionListPage-CTzZTWJh-rMP8UEHn.js +0 -35
  324. package/dist/assets/UploadAdditionalDocumentOverlay-Cxxuws-w-q1izSlj8.js +0 -38
  325. package/dist/assets/Vendor2FAPopup-Dm6Ot_5k-CeyePLNN.js +0 -1
  326. package/dist/assets/VendorACHDetailsPage-DMhwUboX-DW77y7-e.js +0 -1
  327. package/dist/assets/VendorDomesticWireDetailsPage-DU47133D-BNz0vLWP.js +0 -1
  328. package/dist/assets/VendorFirstReviewPage-COk5-4Mm-BUPA8fWX.js +0 -730
  329. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Do345R_v-M_TSksW9.js +0 -1
  330. package/dist/assets/ZeniAccountSetupPage-akgqrbmw-xtslv-BN.js +0 -36
  331. package/dist/assets/ZeniCopyright-BrtqzLbb-BE2v7OcH.js +0 -1
  332. package/dist/assets/commonDimensions-DY0eA-Tl-D8wklKVF.js +0 -1
  333. package/dist/assets/downloadPdf-3uDsBfRK-CGEKdVDQ.js +0 -1
  334. package/dist/assets/epic-DjY7Y3Uv.js +0 -2
  335. package/dist/assets/mapLoadingInProgressToTreeNode-CkbJ6R1I-DIVOAa5P.js +0 -1
  336. package/dist/assets/mapSpacerToTreeNode-BDHpjDEs-DAaIJCY0.js +0 -1
  337. package/dist/assets/mapTimeframeBalancesToTreeNode-B-58xc9r-DNQTilLS.js +0 -1
  338. package/dist/assets/mapTimeframeBalancesToTreeNode-DNryKtmS-D24Y9ZFz.js +0 -1
  339. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-6kNSnV0m-BkRLjeRM.js +0 -1
  340. package/dist/assets/panelSelectedMixin-Cddsb26L-CcYFb3nR.js +0 -3
  341. package/dist/assets/toCOABalancesWithID-CU-N01Ne-BfeZ-0De.js +0 -1
  342. package/dist/assets/toChartData-BIERIIE--CxJg6nKe.js +0 -1
  343. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-DWftVCta.js +0 -1
  344. package/dist/assets/uploadReceipts-Dge0cNF1-DNapZCC1.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u as l,o as i,x,jt as De,cf as Oe,ju as X,ac as B,b5 as Be,cw as Ae,i$ as Me,bQ as Ne,aV as He,an as W,dy as j,h4 as Z,aQ as K,bV as We,cy as Ee,bT as Ve,ao as N,cC as J,p as $,h5 as pe,fV as me,fR as ge,ck as Ke,ak as F,iQ as ue,bO as _e,jv as Fe,j7 as Ye,cF as Ue,aX as z,j8 as Ze,j9 as Qe}from"./index-Cq3X29cS.js";import{a as S,P as Q}from"./sentry-DQ_HstYV.js";import{n,c as q}from"./mui-DzE-7sTl.js";import{t as Ge}from"./SpendManagementSection-DJfAJzAL-ig4GL1ZT.js";import{r as Xe,a as Je,i as ye,g as qe}from"./SpendManagementListViewPage-DUBWXnF--DVg116ep.js";import{ck as xe,GY as fe}from"./zeni-epic-state-B4gyGBI3.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-DEP8Cseu.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.js";import"./StatusSwitcher-C4MmXvmy-xYxIiuBt.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]="3769a53d-1094-4357-a4c7-cc8572f3bcd5",e._sentryDebugIdIdentifier="sentry-dbid-3769a53d-1094-4357-a4c7-cc8572f3bcd5")}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],P={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(Ze,Qe)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=_(),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":B("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":B("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(J,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":B("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=Q.memo(st),dt=n.div`
1
+ import{a8 as ze,aw as Re,J as H,d as _,V as t,bD as Ie,b as I,g9 as Te,F as T,u as l,o as i,y as x,jn as De,ce as Ae,jo as Q,aQ as B,b4 as Be,cu as Oe,iV as Me,bP as Ne,aU as He,al as W,dx as j,g_ as Y,aO as K,bU as We,cw as Ee,bS as Ve,am as N,cA as X,p as $,g$ as pe,fT as me,fP as ge,cj as Ke,ai as F,iK as ue,bN as _e,jp as Fe,j1 as Ue,cD as Ze,aW as z,j2 as Ye,j3 as Je}from"./index-DmMELGnq.js";import{a as S,P as J}from"./sentry-D7VPqxYq.js";import{n,c as q}from"./mui-D89AqdoX.js";import{t as Ge}from"./SpendManagementSection-D8rBpC-y-aWPmGHDr.js";import{r as Qe,a as Xe,i as ye,g as qe}from"./SpendManagementListViewPage-D3eISFuA-BJKHzfnG.js";import{ck as xe,Gf as we}from"./zeni-epic-state-C513CLlc.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-CoGwDI0h.js";import"./liveblocks-Ckq-Ca_6.js";import"./core-DhOBLUcR.js";import"./recharts-BGD0T3Yu.js";import"./lottie-D9uGWJnR.js";import"./analytics-CahM0ApT.js";import"./lexical-CjsD_DZd.js";import"./utils-HSFXD1Qz.js";import"./StatusSwitcher-B9MARTyR-RwzQ_fCz.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]="a18051e0-6b64-41b2-8097-a8cb8e9e0d72",e._sentryDebugIdIdentifier="sentry-dbid-a18051e0-6b64-41b2-8097-a8cb8e9e0d72")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},fe=()=>[tt,it,nt,ot,at],k={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ye,Je)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=_(),r=H(),[d,g]=S.useState(fe());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(Ve,{title:b.header.paymentDate,placeholder:b.header.paymentDate,pickerValues:u,valueToLabel:p,selectedValue:o.sortKey,onPickerSelectionChanged:s=>{y(s,"ascending")},optionTextStyle:I.extraSmallRegular,titleTextStyle:I.extraSmallRegular,titleColor:a.colors.primary,selectedOptionColor:a.colors.hero,optionBackgroundColor:a.colors.grey5,downChevronVisible:!1,backgroundColor:a.colors.grey4})]}),t.jsxs(wt,{onClick:()=>y(h.key,h.sortOrder),"data-testid":B("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(X,{})})})]})]}):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":B("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(X,{})})})]}),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":B("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=J.memo(st),dt=n.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -9,20 +9,20 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
9
9
  display: flex;
10
10
  align-items: center;
11
11
  box-sizing: border-box;
12
- padding: ${P.containerPaddingTop} ${P.containerPaddingRight}
13
- ${P.containerPaddingBottom} ${P.containerPaddingLeft};
12
+ padding: ${k.containerPaddingTop} ${k.containerPaddingRight}
13
+ ${k.containerPaddingBottom} ${k.containerPaddingLeft};
14
14
  justify-content: space-between;
15
15
  `,ct=n(F)`
16
16
  top: ${i.sp0};
17
17
  left: ${i.sp0};
18
- min-height: ${e=>P.headerHeight.valuePx(e.windowSize)};
19
- max-height: ${e=>P.headerHeight.valuePx(e.windowSize)};
18
+ min-height: ${e=>k.headerHeight.valuePx(e.windowSize)};
19
+ max-height: ${e=>k.headerHeight.valuePx(e.windowSize)};
20
20
  width: auto;
21
21
  z-index: 2;
22
22
  display: flex;
23
23
  align-items: center;
24
24
  box-sizing: border-box;
25
- padding: ${e=>`${P.headerLastColumnTopPadding.valuePx(e.windowSize)} ${P.headerLastColumnRightPadding.valuePx(e.windowSize)} ${P.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${P.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
25
+ padding: ${e=>`${k.headerLastColumnTopPadding.valuePx(e.windowSize)} ${k.headerLastColumnRightPadding.valuePx(e.windowSize)} ${k.headerLastColumnBottomPadding.valuePx(e.windowSize)} ${k.headerLastColumnLeftPadding.valuePx(e.windowSize)}`};
26
26
  background-color: ${e=>e.theme.colors.grey4};
27
27
  justify-content: space-between;
28
28
  position: sticky;
@@ -46,7 +46,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb 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(Ue)`
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 ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb 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(Ye)`
70
+ `,gt=n(Ue)`
71
71
  width: ${i.sp3};
72
72
  height: ${i.sp3};
73
73
  color: inherit;
@@ -86,12 +86,12 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
86
86
  &:hover {
87
87
  color: ${e=>e.theme.colors.primary};
88
88
  }
89
- `,ft=n.div`
89
+ `,wt=n.div`
90
90
  display: flex;
91
91
  cursor: pointer;
92
92
  gap: 5px;
93
93
  color: ${e=>e.theme.colors.primary};
94
- `,O={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(U=>{U.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),s=T.getLocalizedStrings(),m=e.repaymentDate.format(s.dateFormat.visual.MMMDCommaYYYYformat),C=qe(p,h,A.sourceAccountUnknown),v=ye(e),w=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,f=v||!r&&w,R=f?A.autopay:xe(e.paidByUser),D=e.status==="Rejected"||e.status==="Returned",V=e.status==="Sent",Y=e.updateTime.format(s.dateFormat.visual.MMMDCommaYYYYformat),k=we();return t.jsx(St,{windowSize:u,children:t.jsx(Ct,{children:t.jsxs(kt,{children:[t.jsx(Pt,{windowSize:u,responsiveWidth:k[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:Y})]})]}),style:{padding:"12px 16px"},display:"block",children:t.jsx(ie,{className:"paymentDate",children:m})}):t.jsx(ie,{className:"paymentDate",children:m})})}),t.jsxs(Lt,{windowSize:u,responsiveWidth:k[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:Z(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(Ot,{src:wt(g),loading:"lazy"}):t.jsx(Tt,{children:t.jsx(Dt,{})})})}),t.jsx(Bt,{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:k[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":B("retry-payment",e.cardRepaymentId),children:A.retryPayment})]})]})})}),t.jsxs(Vt,{windowSize:u,responsiveWidth:k[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(Yt,{className:"initiatedBy",children:R})})]}),t.jsx(Ut,{windowSize:u,responsiveWidth:k[4].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(Zt,{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 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`
94
+ `,A={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:O}}}=T.getLocalizedStrings(),ft=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",$t=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=H(),b=S.useCallback(Z=>{Z.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),s=T.getLocalizedStrings(),m=e.repaymentDate.format(s.dateFormat.visual.MMMDCommaYYYYformat),C=qe(p,h,O.sourceAccountUnknown),v=ye(e),f=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,w=v||!r&&f,R=w?O.autopay:xe(e.paidByUser),D=e.status==="Rejected"||e.status==="Returned",V=e.status==="Sent",U=e.updateTime.format(s.dateFormat.visual.MMMDCommaYYYYformat),P=fe();return t.jsx(St,{windowSize:u,children:t.jsx(Ct,{children:t.jsxs(Pt,{children:[t.jsx(kt,{windowSize:u,responsiveWidth:P[0].width,children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:V?t.jsx(We,{placement:"bottom-start",title:t.jsxs(Jt,{children:[t.jsxs(oe,{children:[t.jsx(ae,{children:O.initiatedOn}),t.jsx(se,{children:m})]}),t.jsxs(oe,{children:[t.jsx(ae,{children:O.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(At,{src:ft(g),loading:"lazy"}):t.jsx(Tt,{children:t.jsx(Dt,{})})})}),t.jsx(Bt,{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(Ot,{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":B("retry-payment",e.cardRepaymentId),children:O.retryPayment})]})]})})}),t.jsxs(Vt,{windowSize:u,responsiveWidth:P[3].width,children:[t.jsx(j,{isLoading:a,customStyle:{width:i.sp4,height:i.sp4,borderRadius:"50%"},children:w?t.jsx(Kt,{children:t.jsx(_t,{})}):t.jsx(Ft,{children:t.jsx(Ee,{personBasic:e.paidByUser,styles:{height:i.sp4,width:i.sp4,minWidth:i.sp4}})})}),t.jsx(j,{isLoading:a,customStyle:{width:"80px",height:"20px",borderRadius:i.sp1,marginLeft:i.sp2},children:t.jsx(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=_(),a=jt(e,c),r=we(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},jt=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},bt=n.div`
95
95
  width: ${i.sp1};
96
96
  height: ${i.sp1};
97
97
  background-color: ${e=>e.theme.colors.grey1};
@@ -99,10 +99,10 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
99
99
  `,St=n.div`
100
100
  display: flex;
101
101
  background-color: ${e=>e.theme.colors.grey5};
102
- padding-left: ${e=>O.containerPaddingLeft.valuePx(e.windowSize)};
103
- padding-right: ${e=>O.containerPaddingRight.valuePx(e.windowSize)};
104
- padding-top: ${e=>O.containerPaddingTop.valuePx(e.windowSize)};
105
- padding-bottom: ${e=>O.containerPaddingBottom.valuePx(e.windowSize)};
102
+ padding-left: ${e=>A.containerPaddingLeft.valuePx(e.windowSize)};
103
+ padding-right: ${e=>A.containerPaddingRight.valuePx(e.windowSize)};
104
+ padding-top: ${e=>A.containerPaddingTop.valuePx(e.windowSize)};
105
+ padding-bottom: ${e=>A.containerPaddingBottom.valuePx(e.windowSize)};
106
106
  border: ${e=>`1px solid ${e.theme.colors.grey3}`};
107
107
  box-shadow: ${e=>e.theme.mode==="dark"?$.Elevation1Dark:$.Elevation1Light};
108
108
  border-radius: ${i.sp2};
@@ -119,20 +119,20 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
119
119
  }
120
120
  }
121
121
 
122
- margin-right: ${e=>O.containerMarginLeft.valuePx(e.windowSize)};
123
- margin-left: ${e=>O.containerMarginRight.valuePx(e.windowSize)};
122
+ margin-right: ${e=>A.containerMarginLeft.valuePx(e.windowSize)};
123
+ margin-left: ${e=>A.containerMarginRight.valuePx(e.windowSize)};
124
124
  margin-bottom: ${i.sp3};
125
125
  box-sizing: border-box;
126
126
  align-items: center;
127
127
  `,Ct=n.div`
128
128
  display: block;
129
129
  width: 100%;
130
- `,kt=n.div`
130
+ `,Pt=n.div`
131
131
  display: flex;
132
132
  width: 100%;
133
133
  justify-content: space-between;
134
134
  align-items: center;
135
- `,Pt=n.div`
135
+ `,kt=n.div`
136
136
  width: ${e=>e.responsiveWidth.valuePercentage(e.windowSize)};
137
137
  box-sizing: border-box;
138
138
  padding-left: ${i.sp3};
@@ -180,7 +180,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
180
180
  min-width: inherit;
181
181
  width: ${i.sp4};
182
182
  height: ${i.sp4};
183
- `,Ot=n.img`
183
+ `,At=n.img`
184
184
  display: flex;
185
185
  width: ${i.sp4};
186
186
  height: ${i.sp4};
@@ -198,7 +198,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
198
198
  column-gap: ${i.sp1};
199
199
  overflow: hidden;
200
200
  min-width: 0;
201
- `,At=n.span`
201
+ `,Ot=n.span`
202
202
  overflow: hidden;
203
203
  text-overflow: ellipsis;
204
204
  white-space: nowrap;
@@ -271,13 +271,13 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb 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
- `,Yt=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
- `,Ut=n.div`
280
+ `,Zt=n.div`
281
281
  display: flex;
282
282
  align-items: center;
283
283
  justify-content: flex-end;
@@ -285,13 +285,13 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb 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
- `,Zt=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
+ `,Jt=n.div`
295
295
  display: flex;
296
296
  flex-direction: column;
297
297
  gap: ${i.sp1};
@@ -304,7 +304,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
304
304
  color: ${e=>e.theme.colors.hero};
305
305
  `,se=n(F)`
306
306
  color: ${$.brandColorPearl};
307
- `,Gt=new z(Z(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():"",Jt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=S.useCallback(f=>{f.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),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:Z(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(ki,{children:t.jsx(qt,{status:e.status})})})})}),w===!0&&c===!0&&d!=null&&t.jsx(Pi,{children:t.jsx(Li,{onClick:u,"data-testid":B("retry-payment",e.cardRepaymentId),children:M.retryPayment})})]})]})})},qt=({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 z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},ti=n.div`
307
+ `,Gt=new z(Y(0)).lighten(.3).hex(),{spendManagement:{chargeCard:{paymentHistory:M}}}=T.getLocalizedStrings(),Qt=e=>e.base64!==void 0?`${me}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",Xt=({repayment:e,accountInfo:o,isLatestFailedPayment:c=!1,isLoading:a=!1,isZeniTenant:r,onRetryPaymentClick:d})=>{const{accountLogo:g,accountType:y,depositAccountLast4:h,depositAccountName:p}=o??{},u=S.useCallback(w=>{w.stopPropagation(),d&&d(e.cardRepaymentId)},[d,e.cardRepaymentId]),b=T.getLocalizedStrings(),s=e.repaymentDate.format(b.dateFormat.visual.MMMDCommaYYYYformat),m=ye(e),C=e.paidByUser?.email?.endsWith("@zeni.ai")??!1,v=m||!r&&C?M.autopay:xe(e.paidByUser),f=e.status==="Rejected"||e.status==="Returned";return t.jsx(ti,{children:t.jsxs(ii,{children:[t.jsxs(ni,{children:[t.jsx(oi,{children:t.jsx(j,{isLoading:a,customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:y==="depositAccount"&&p!=null&&p!==""?t.jsx(ai,{children:t.jsx(si,{color:Y(0)})}):y==="paymentAccount"&&g!==void 0&&(g.base64||g.url)?t.jsx(li,{src:Qt(g),loading:"lazy"}):t.jsx(ri,{children:t.jsx(di,{})})})}),t.jsxs(ci,{children:[t.jsx(hi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"20px",borderRadius:i.sp1},children:t.jsx(pi,{className:"sourceAccount",children:p!=null&&p!==""?p:M.sourceAccountUnknown})})}),t.jsx(mi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:"16px",borderRadius:i.sp1},children:t.jsx(gi,{children:h!=null&&h!==""?`Checking •••• ${h}`:""})})}),t.jsx(ui,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(yi,{children:[M.header.initiatedBy,":"," ",t.jsx(xi,{className:"initiatedBy",children:v})]})})}),t.jsx(wi,{children:t.jsx(j,{isLoading:a,customStyle:{width:"150px",height:"16px",borderRadius:i.sp1},children:t.jsxs(fi,{children:[M.header.paymentDate,":"," ",t.jsx($i,{className:"paymentDate",children:s})]})})})]})]}),t.jsxs(vi,{children:[t.jsx(ji,{children:t.jsx(j,{isLoading:a,customStyle:{width:"100px",height:"20px",borderRadius:i.sp1},children:t.jsx(bi,{className:"amount",title:K("0,0.[00]",e.amount),children:K("0,0.[00]",e.amount)})})}),t.jsx(Si,{children:t.jsx(j,{isLoading:a,customStyle:{width:"120px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Ci,{children:t.jsx(Pi,{children:t.jsx(qt,{status:e.status})})})})}),f===!0&&c===!0&&d!=null&&t.jsx(ki,{children:t.jsx(Li,{onClick:u,"data-testid":B("retry-payment",e.cardRepaymentId),children:M.retryPayment})})]})]})})},qt=({status:e,style:o})=>{const c=_(),a=ei(e,c),r=we(e);return t.jsx(ue,{textColor:a,borderColor:a,text:r,tagStyles:{padding:"1px 6px",...o}})},ei=(e,o)=>{switch(e){case"Sent":return new z($.success);case"Clearing":case"Pending":case"PendingReview":return new z($.alert);case"Rejected":case"Returned":return new z($.important);default:return new z(o.colors.grey1)}},ti=n.div`
308
308
  display: flex;
309
309
  background-color: ${e=>e.theme.colors.grey5};
310
310
  padding: ${i.sp3};
@@ -418,12 +418,12 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
418
418
  white-space: nowrap;
419
419
  `,xi=n.span`
420
420
  color: ${e=>e.theme.colors.hero};
421
- `,fi=n.div`
421
+ `,wi=n.div`
422
422
  display: flex;
423
423
  align-items: center;
424
424
  position: relative;
425
425
  top: -2px;
426
- `,wi=n(N)`
426
+ `,fi=n(N)`
427
427
  color: ${e=>e.theme.colors.hero};
428
428
  max-width: 100%;
429
429
  overflow: hidden;
@@ -461,7 +461,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
461
461
  gap: ${i.sp2};
462
462
  flex-wrap: wrap;
463
463
  justify-content: flex-end;
464
- `,ki=n.div`
464
+ `,Pi=n.div`
465
465
  display: flex;
466
466
  align-items: center;
467
467
  gap: ${i.sp2};
@@ -470,7 +470,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
470
470
  color: ${e=>e.theme.colors.primary};
471
471
  }
472
472
  }
473
- `,Pi=n.div`
473
+ `,ki=n.div`
474
474
  display: flex;
475
475
  align-items: center;
476
476
  justify-content: flex-end;
@@ -481,7 +481,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
481
481
  &:hover {
482
482
  text-decoration: underline;
483
483
  }
484
- `,zi={lastListItemHeight:new x(200,114)},Ri=T.getLocalizedStrings(),{spendManagement:{chargeCard:re},common:Ii}=Ri,de=50,Ti=64,Di=351,Oi=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":B("payment-history-list-reload"),children:t.jsx(Ei,{})}),t.jsx(Vi,{children:Ii.reloadPage.label})]}):e==="Completed"&&o.length===0?t.jsx(Fi,{children:t.jsx(Yi,{children:a!==""?re.paymentHistory.noPaymentHistoryMatchedSearch:re.paymentHistory.noPaymentHistoryAvailable})}):t.jsx(je,{children:t.jsx(Ki,{windowSize:h,availableHeight:b,isListTooLarge:s,children:t.jsx(Be,{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(Bi,{...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(_i,{children:c})})});ve.displayName="ChargeCardPaymentHistoryInnerElement";const Bi=({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"?Jt:$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})=>(Oe({componentName:"charge_card_payment_history.list",enabled:e==="Completed"}),t.jsx($e,{fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})),Mi=Q.memo(Ai),Ni=n.div`
484
+ `,zi={lastListItemHeight:new x(200,114)},Ri=T.getLocalizedStrings(),{spendManagement:{chargeCard:re},common:Ii}=Ri,de=50,Ti=64,Di=351,Ai=86,$e=J.memo(({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,searchText:a,isZeniTenant:r,onColumnSortConfigChanged:d,onReloadPayments:g,onRetryPaymentClick:y})=>{const h=H(),p=S.useCallback(v=>v===0?de:h==="small"?132:Q,[h]),u=S.useMemo(()=>{let v=de+Ti;for(let f=1;f<=o.length;f++)v+=p(f);return v},[o.length,p]),b=S.useMemo(()=>window.innerHeight-Di,[]),s=u>b,m=S.useRef(null);S.useEffect(()=>{m.current?.resetAfterIndex(0)},[h]);const C=()=>e==="Error"?t.jsxs(Hi,{children:[t.jsx(Wi,{onClick:g,"data-testid":B("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(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(Be,{children:({height:v,width:f})=>t.jsx(Oe,{ref:m,height:v,itemCount:o.length+1,innerElementType:ve,itemSize:p,estimatedItemSize:Q,itemKey:w=>w===0?"header":o[w-1].repayment.cardRepaymentId,width:f,overscanCount:Me,initialScrollOffset:0,children:w=>t.jsx(Bi,{...w,repaymentListWithAccountInfo:o,sortConfig:c,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:y})})})})});return t.jsx(Ni,{fetchState:e,children:C()})},(e,o)=>e.repaymentListWithAccountInfo===o.repaymentListWithAccountInfo&&e.fetchState===o.fetchState&&e.sortConfig.sortKey===o.sortConfig.sortKey&&e.sortConfig.sortOrder===o.sortConfig.sortOrder&&e.searchText===o.searchText&&e.isZeniTenant===o.isZeniTenant);$e.displayName="ChargeCardPaymentHistoryContent";const ve=S.forwardRef((e,o)=>{const{children:c,style:a,...r}=e;return t.jsx(je,{ref:o,style:{...a,width:"auto"},...r,children:t.jsx(_i,{children:c})})});ve.displayName="ChargeCardPaymentHistoryInnerElement";const Bi=({index:e,style:o,repaymentListWithAccountInfo:c,sortConfig:a,isZeniTenant:r,onColumnSortConfigChanged:d,onRetryPaymentClick:g})=>{const y=H(),h=e===0,p=h?null:c[e-1],u=p?.repayment??null,b=p?.accountInfo,s=S.useMemo(()=>{if(c.length===0)return null;const f=c.map(R=>R.repayment),w=f.slice(1).reduce((R,D)=>D.repaymentDate.isAfter(R.repaymentDate)?D:R,f[0]);return w.status==="Rejected"||w.status==="Returned"?w.cardRepaymentId:null},[c]),m={...o,width:"100%"};if(h)return t.jsx(le,{style:m,className:"spend-management-list-item",children:t.jsx(rt,{companyNameSticky:!1,sortConfig:a,onColumnSortConfigChanged:d})});if(u==null)return null;const C=s!==null&&u.cardRepaymentId===s,v=y==="small"?Xt:$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})})},Oi=({fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})=>(Ae({componentName:"charge_card_payment_history.list",enabled:e==="Completed"}),t.jsx($e,{fetchState:e,repaymentListWithAccountInfo:o,sortConfig:c,onColumnSortConfigChanged:a,onReloadPayments:r,searchText:d,isZeniTenant:g,onRetryPaymentClick:y})),Mi=J.memo(Oi),Ni=n.div`
485
485
  margin: ${e=>e.fetchState==="Error"?"auto":"unset"};
486
486
  display: block;
487
487
  height: 100%;
@@ -513,7 +513,7 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
513
513
  color: ${e=>e.theme.colors.hero};
514
514
  `,Ki=n.div`
515
515
  position: sticky;
516
- height: ${e=>e.isListTooLarge||e.windowSize==="small"?`calc(100vh - ${Oi}px)`:`${e.availableHeight}px`};
516
+ height: ${e=>e.isListTooLarge||e.windowSize==="small"?`calc(100vh - ${Ai}px)`:`${e.availableHeight}px`};
517
517
  max-width: 99.9%;
518
518
  ${({isListTooLarge:e,windowSize:o})=>(e||o==="small")&&`
519
519
  .spend-management-list-item:last-of-type {
@@ -548,16 +548,16 @@ import{a9 as ze,ay as Re,J as H,y as _,V as t,bE as Ie,w as I,gb as Te,b as T,u
548
548
  flex-direction: row;
549
549
  justify-content: center;
550
550
  align-items: flex-end;
551
- `,Yi=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:Ui}=T.getLocalizedStrings(),pn=({repaymentList:e,fetchState:o,sortConfig:c,accountInfoByAccountId:a,searchText:r,filters:d,isZeniTenant:g,onBackClick:y,repaymentHistoryUsers:h,onColumnSortConfigChanged:p,onFiltersChange:u,onReloadPayments:b,onRetryPaymentClick:s,onSearchTextChanged:m,onClickMenuIcon:C,downloadParams:v,downloadState:w,updateDownloadStateHandler:f})=>{const R=ze().analytics,D=Re(),[V,Y]=S.useState(!1),k=H(),U=_(),be=r===""&&(d?.categories==null||d.categories.length===0||d.categories.every(L=>L.values==null||L.values.length===0)),G=o==="Completed"&&be&&e.length===0,Se=L=>{Y(L)},Ce={entity:"charge_card_payment_history",showNewButtonOnNavbar:!1,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:Ui.strings.empty,hideSearchBtn:!1,disableSearch:G,disableFilters:G,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:{...k==="small"&&{position:"static",paddingRight:"10px"}},onSearchTextChanged:m,onClickSetupIcon:()=>{},onClickStatementsIcon:()=>{},downloadState:w,onNewButtonClick:()=>{},onClickPayEarlyIcon:()=>{},onMenuOpen:()=>{},filters:d,onFiltersChange:u,createdByUserListLoaded:o==="Completed",getFilterOptions:()=>Je("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Xe},ke=t.jsx(Ge,{spendManagementSectionProps:Ce}),Pe=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(Zi,{children:[t.jsx(Ie,{title:Pe,showBackButton:!0,showMenuIcon:k==="medium-compact"||k==="small",onClickMenuIcon:C,titleTextStyles:k==="small"?{...I.standardMedium.cssObject}:void 0,style:{zIndex:3},onBackClick:y,rightSideComponent:ke,isSearchOpen:V,hideSearchBtn:!1,scrollableContent:void 0,source:"ChargeCardPaymentHistoryPage",backgroundColor:U.colors.grey4}),o==="Not-Started"||o==="In-Progress"?t.jsx(Te,{fetchState:o,styles:{margin:"auto"}}):t.jsx(Qi,{windowSize:k,children:t.jsx(Mi,{fetchState:o,repaymentListWithAccountInfo:Le,sortConfig:c,onColumnSortConfigChanged:p,onReloadPayments:b,searchText:r,isZeniTenant:g,onRetryPaymentClick:s})})]})},Zi=n.div`
554
+ `,ce={contentContainerMargin:new x(l[3],l[4],l[8])},{spendManagement:{chargeCard:{paymentHistory:he}},common:Zi}=T.getLocalizedStrings(),pn=({repaymentList:e,fetchState:o,sortConfig:c,accountInfoByAccountId:a,searchText:r,filters:d,isZeniTenant:g,onBackClick:y,repaymentHistoryUsers:h,onColumnSortConfigChanged:p,onFiltersChange:u,onReloadPayments:b,onRetryPaymentClick:s,onSearchTextChanged:m,onClickMenuIcon:C,downloadParams:v,downloadState:f,updateDownloadStateHandler:w})=>{const R=ze().analytics,D=Re(),[V,U]=S.useState(!1),P=H(),Z=_(),be=r===""&&(d?.categories==null||d.categories.length===0||d.categories.every(L=>L.values==null||L.values.length===0)),G=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:G,disableFilters:G,searchTextBoxStyle:{right:"86px"},moreIconContainerStyle:{paddingRight:l[4]},isSearchOpen:V,searchPlaceHolder:he.searchPlaceHolder,searchText:r,showSettingsIcon:!1,showSettingsIconOnNavbar:!1,showStatementButtonOnNavbar:!1,showPayEarlyButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,showDownloadIcon:!0,onDownloadClick:async()=>{w("In-Progress");try{await De({localeID:"en-US",fileType:"excel",entity:"charge_card_payment_history",filter:{filters:d,searchText:r},...v})}finally{w("Completed")}},disableDownloadButton:f==="In-Progress"||o!=="Completed"||e.length===0,analytics:R,onSearchOpen:Se,filterIconContainerStyle:{...P==="small"&&{position:"static",paddingRight:"10px"}},onSearchTextChanged:m,onClickSetupIcon:()=>{},onClickStatementsIcon:()=>{},downloadState:f,onNewButtonClick:()=>{},onClickPayEarlyIcon:()=>{},onMenuOpen:()=>{},filters:d,onFiltersChange:u,createdByUserListLoaded:o==="Completed",getFilterOptions:()=>Xe("charge_card_payment_history",h,D.loggedInUserRole??[],[],a),renderDropdownOptionIcon:Qe},Pe=t.jsx(Ge,{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(Ji,{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
+ `,Ji=n.div`
561
561
  margin-top: ${i.sp4};
562
562
  margin-right: ${e=>ce.contentContainerMargin.valuePx(e.windowSize)};
563
563
  margin-bottom: ${i.sp0};
@@ -1,22 +1,22 @@
1
- import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as ve,fy as ze,a as Y,ac as ee,b as oe,o as t,e as Pe,h as G,cG as ke,as as Ae,x as u,ar as Ie,bV as Be,iU as Le,ak as Re,u as p,c as S,p as b,bc as _e,aW as Me,iV as Ee}from"./index-Cq3X29cS.js";import{a as T}from"./sentry-DQ_HstYV.js";import{n as a,c as De,k as Fe}from"./mui-DzE-7sTl.js";import{Fw as Ue}from"./zeni-epic-state-B4gyGBI3.js";import{k as Ne}from"./NavigationDots-C7DGhAsk-BigsWf2H.js";import{J as V,N as H}from"./PromoBaseCards-HrcAWM4W-BKT0vHPP.js";import{M as R}from"./usp-line-BBd1wKwW-R5RCG5WU.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="a309e022-e660-41bf-b89e-864e6a2b44d4",e._sentryDebugIdIdentifier="sentry-dbid-a309e022-e660-41bf-b89e-864e6a2b44d4")}catch{}})();const g={containerPaddingTopBottom:new u(p[0],p[0]),uspContainerMarginX:new u(p[6],p[0]),midContainerGap:new u(p[4],84),iconContainerMinHeight:new u(236,396),emptySectionHeight:new u(p[6],43),navigationBottom:new u(p[4],94),navigationLeft:new u(192,244),carouselHeight:new u(268,396),carouselMarginTop:new u(54,p[4]),carouselMarginLeft:new u(120,p[12]),buttonTrayGap:new u(p[3],p[5]),termsOfAgreementMarginTop:new u(p[5],p[10]),contactAdminContainerMarginTop:new u(p[0],p[10]),contactAdminContainerMarginBottom:new u(p[4],p[0]),contactAdminContainerMarginLeftRight:new u(p[3],p[0])},v={promoBadgeText:new S("standardRegular","largeRegular"),promoBadgeTextBold:new S("standardBold","largeBold"),cardsContent:new S("extraSmallRegular","smallRegular"),contactAdmin:new S("extraSmallRegular","largeRegular"),uspText:new S("smallRegular","standardRegular"),uspBoldText:new S("smallMedium","standardMedium")},{common:U,spendManagement:{chargeCard:{chargeCardsPromo:o}}}=oe.getLocalizedStrings(),_r=({meetingUrl:e,companyLegalName:s,chargeCardSetupView:i,showEnableCardButton:n,controllerEmails:c,isCreditCardProductVisible:m,isDebitCardFeatureEnabled:h,isDebitCardSetupEnabled:x,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=O(),W=ye(),z=$(),Z=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:M}=i,X=je(_?.fetchStatus.fetchState),[ue,Q]=T.useState(!1),xe=()=>{Z.trackCardsPromoPageClicked("schedule demo"),Z.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:x,isCreditCardEnabled:w},"Cards Promo"),Q(!0)},we=C!=null&&M!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:M.currencyCode,currencySymbol:M.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&J()},[X,J,_?.fetchStatus]);const q=Ue(W.loggedInUserRoleMap),fe=Te(W),E=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:be}=i,K=E?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ve,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:z==="medium-compact"||z==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),ue===!0?r.jsx(ze,{onCancelClick:()=>{Q(!1)},meetingUrl:e}):null,r.jsx(qe,{windowSize:z,children:q===!0?r.jsxs(Qe,{children:[r.jsxs(Xe,{children:[r.jsx(He,{isApproved:Ce,creditAmount:we,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,creditLimit:C?.chargeCardsCreditAccountLimit}),r.jsx(ne,{cardPromoType:f,cashbackRate:P})]}),r.jsx(ae,{showEnableCardButton:n,cardPromoType:f,isUnderReview:F,isRejected:D,showExpressInterest:E,isCheckingEnabled:l})]}):r.jsx(Oe,{companyLegalName:s,cards:[],admins:j,cashbackRate:P,hasZeniFinopsRoles:fe,cardPromoType:f,isCheckingEnabled:l})}),q&&!(F||D)?r.jsxs(or,{windowSize:z,children:[r.jsx(Y,{variant:"secondary",label:o.scheduleDemoButton,style:{width:166},onClick:xe,"data-testid":ee("schedule-demo-button")}),r.jsx(Ze,{windowSize:z,children:o.orText}),r.jsx(Y,{variant:"primary",label:K,style:{minWidth:166},loading:i.chargeCardTermsDetails?.fetchStatus.fetchState==="In-Progress"||be==="In-Progress",onClick:K===o.getPreApprovedNow?ge:()=>d(f),"data-testid":ee("enable-card-button")})]}):null]})},Ve=({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 x=$();return r.jsx(ir,{windowSize:x,children:r.jsx(Le,{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(x)},cardPromoType:e,isCheckingEnabled:i})})},He=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const x=$(),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:x==="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:x,children:[n||c||m?null:r.jsx(br,{}),r.jsx(er,{windowSize:x,children:j})]})]})},Oe=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const x=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[x==="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:x}):r.jsx(Ge,{cards:s,companyLegalName:e}),r.jsx(ne,{cardPromoType:m,cashbackRate:n}),c?null:r.jsx(Ve,{admins:i}),r.jsx(ae,{isCardUser:!0,showEnableCardButton:!1,cardPromoType:m,isCheckingEnabled:h})]})},Ge=({cards:e,companyLegalName:s})=>{const i=O(),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=Ie},loading:"lazy"}):null,r.jsx(gr,{windowSize:n,mode:i.mode,children:r.jsx(ur,{windowSize:n,children:c})})]})},re=({windowSize:e,cardPromoType:s})=>{let i=o.businessText;return s==="debit"&&(i=`${i} ${o.debit}`),r.jsx(r.Fragment,{children:s==="debit_and_credit"?r.jsx(Je,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(V,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(H,{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(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(lr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(I,{windowSize:i,children:n.item1.bold.replace("__cashback__",(s*100).toFixed(2))}),r.jsx(y,{windowSize:i,children:`${e==="credit"||e==="debit_and_credit"?n.singleStarred:""}${n.item1.post}`})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(sr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item2.pre}),r.jsx(I,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(I,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(A,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(I,{windowSize:i,children:n.item4.bold}),r.jsx(y,{windowSize:i,children:n.item4.post})]})]})]}),i==="small"?null:r.jsx(re,{windowSize:i,cardPromoType:e})]})};let k;const Je=()=>{const e=$(),s=O(),[i,n]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,x=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:x},{id:2,cardType:"debit",cardText:x},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{n(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),n(l)};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(V,{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(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"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(V,{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(H,{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`
1
+ import{J as $,V as r,d as V,aw as be,a8 as $e,aR as je,aO as Se,fX as Te,bD as ze,fw as ve,i as Y,aQ as ee,F as oe,o as t,R as Pe,c as G,cE as ke,aq as Ie,y as u,ap as Ae,bU as Be,iO as Re,ai as Le,u as p,H as S,p as y,bb as _e,aV as Ee,iP as Me}from"./index-DmMELGnq.js";import{a as T}from"./sentry-D7VPqxYq.js";import{n as a,c as De,k as Fe}from"./mui-D89AqdoX.js";import{EP as Ue}from"./zeni-epic-state-C513CLlc.js";import{k as Ne}from"./NavigationDots-BQb_Fodq-C-HossK2.js";import{J as H,N as O}from"./PromoBaseCards-D2UbhBhT-Dd_eb1rN.js";import{M as L}from"./usp-line-BBd1wKwW-5sdZ_HyE.js";import"./liveblocks-Ckq-Ca_6.js";import"./core-DhOBLUcR.js";import"./recharts-BGD0T3Yu.js";import"./lottie-D9uGWJnR.js";import"./analytics-CahM0ApT.js";import"./lexical-CjsD_DZd.js";import"./utils-HSFXD1Qz.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]="77ebfa1f-04ff-480a-8a42-172926fe3c67",e._sentryDebugIdIdentifier="sentry-dbid-77ebfa1f-04ff-480a-8a42-172926fe3c67")}catch{}})();const g={containerPaddingTopBottom:new u(p[0],p[0]),uspContainerMarginX:new u(p[6],p[0]),midContainerGap:new u(p[4],84),iconContainerMinHeight:new u(236,396),emptySectionHeight:new u(p[6],43),navigationBottom:new u(p[4],94),navigationLeft:new u(192,244),carouselHeight:new u(268,396),carouselMarginTop:new u(54,p[4]),carouselMarginLeft:new u(120,p[12]),buttonTrayGap:new u(p[3],p[5]),termsOfAgreementMarginTop:new u(p[5],p[10]),contactAdminContainerMarginTop:new u(p[0],p[10]),contactAdminContainerMarginBottom:new u(p[4],p[0]),contactAdminContainerMarginLeftRight:new u(p[3],p[0])},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:x,isChargeCardSetupEnabled:w,admins:j,cashbackRate:P,cardPromoType:f="credit",isCheckingEnabled:l,onSetupButtonClick:d,onBackClick:pe,onClickMenuIcon:me,onSetupChargeCardSuccess:J,onExpressInterestClick:ge})=>{const he=V(),X=be(),v=$(),W=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:E}=i,Z=je(_?.fetchStatus.fetchState),[ue,q]=T.useState(!1),xe=()=>{W.trackCardsPromoPageClicked("schedule demo"),W.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:x,isCreditCardEnabled:w},"Cards Promo"),q(!0)},we=C!=null&&E!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:E.currencyCode,currencySymbol:E.currencySymbol}):void 0;T.useEffect(()=>{Z==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&J()},[Z,J,_?.fetchStatus]);const Q=Ue(X.loggedInUserRoleMap),fe=Te(X),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(Xe,{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"}),ue===!0?r.jsx(ve,{onCancelClick:()=>{q(!1)},meetingUrl:e}):null,r.jsx(Qe,{windowSize:v,children:Q===!0?r.jsxs(qe,{children:[r.jsxs(Ze,{children:[r.jsx(Oe,{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:xe,"data-testid":ee("schedule-demo-button")}),r.jsx(We,{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 x=$();return r.jsx(ir,{windowSize:x,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(x)},cardPromoType:e,isCheckingEnabled:i})})},Oe=({isApproved:e,cardPromoType:s,creditAmount:i,isUnderReview:n,isRejected:c,showExpressInterest:m,creditLimit:h})=>{const x=$(),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:x==="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:x,children:[n||c||m?null:r.jsx(yr,{}),r.jsx(er,{windowSize:x,children:j})]})]})},Ve=({companyLegalName:e,cards:s,admins:i,cashbackRate:n,hasZeniFinopsRoles:c,cardPromoType:m="credit",isCheckingEnabled:h})=>{const x=$(),w=m==="debit_and_credit"?o.promoTextDebitCreditCard:m==="debit"?o.promoTextDebitCard:o.promoTextCreditCard;return r.jsxs(r.Fragment,{children:[x==="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:x}):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(ur,{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(Je,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(O,{cardPromoType:s,cardText:i,showChip:!0,forDashboard:!1,shouldAnimate:!0,forListPage:!1})]})})},ne=({cardPromoType:e,cashbackRate:s})=>{const i=$(),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 Je=()=>{const e=$(),s=V(),[i,n]=T.useState(0),[c,m]=T.useState(!1),h=o.businessText,x=`${h} ${o.debit}`,w=[{id:1,cardType:"debit",cardText:x},{id:2,cardType:"debit",cardText:x},{id:3,cardType:"credit",cardText:h},{id:4,cardType:"credit",cardText:h}];T.useEffect(()=>(c||(k=setInterval(()=>{n(l=>{const d=l+1;return d===w.length?(m(!0),0):d})},2e3)),()=>clearInterval(k)),[c,w.length]),T.useEffect(()=>{c&&k!=null&&clearInterval(k)},[c]);const j=(l,d)=>{switch((l-i+w.length)%w.length){case 0:return{transform:`translate(0,${d?"100%":0}) scale(1)`,zIndex:d?5:6,opacity:1,transition:"transform 0.4s"};case 1:return{transform:`translate(35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};case 2:return{transform:`translate(35%,${d?"80%":"5%"}) scale(0.75)`,zIndex:d?3:4,opacity:0,transition:"transform 0.4s 0.2s, opacity 0.4s 0.0s"};case 3:return{transform:`translate(-35%, ${d?"80%":"5%"}) scale(0.75)`,zIndex:d?4:5,opacity:1,transition:"all 0.4s"};default:return}},P=l=>{const d=j(l,!0);return{...d,transform:`${d?.transform} scaleY(-1)`,opacity:1,transition:"transform 0s 0s, z-index 0s 0s"}},f=l=>{c||m(!0),n(l)};return r.jsxs(xr,{windowSize:e,children:[r.jsx(wr,{windowSize:e,children:w.map((l,d)=>r.jsxs(fr,{children:[r.jsx(ie,{isReflection:!1,style:{...j(d,!1)},onClick:()=>f(d),children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}}):r.jsx(O,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,showChip:!0,forDashboard:!1,forListPage:!1,style:{borderColor:s.colors.grey2,...s.mode==="light"&&{borderBottom:"none"}}})},l.id),r.jsx(ie,{isReflection:!0,style:{...P(d)},children:d===0||d===2?r.jsx(H,{cardPromoType:l.cardType,cardText:l.cardText,shouldAnimate:!1,forDashboard:!1,showChip:!0,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent 90%)",WebkitMaskImage:"linear-gradient(to top, black, transparent 90%)"}}):r.jsx(O,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},Xe=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
5
5
  flex-direction: column;
6
6
  background-color: ${e=>e.theme.colors.grey4};
7
- `,Ze=a(Re)`
7
+ `,We=a(Le)`
8
8
  color: ${e=>e.theme.colors.hero};
9
- `,Xe=a.div`
9
+ `,Ze=a.div`
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  align-items: center;
13
- `,Qe=a.div`
13
+ `,qe=a.div`
14
14
  display: flex;
15
15
  flex-direction: column;
16
16
  justify-content: space-between;
17
17
  flex: 1;
18
18
  width: 100%;
19
- `,qe=a.div`
19
+ `,Qe=a.div`
20
20
  padding-top: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
21
21
  padding-bottom: ${e=>g.containerPaddingTopBottom.valuePx(e.windowSize)};
22
22
  text-align: center;
@@ -32,7 +32,7 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
32
32
  flex-wrap: wrap;
33
33
  padding: ${t.sp7} ${t.sp0} ${t.sp0} ${t.sp0};
34
34
  color: ${e=>e.theme.colors.primary};
35
- `,de=a(Ae)`
35
+ `,de=a(Ie)`
36
36
  color: ${e=>e.theme.colors.primary};
37
37
  margin: auto;
38
38
  margin-top: ${t.sp2};
@@ -76,14 +76,14 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
76
76
  visibility: hidden;
77
77
  `}
78
78
  `,er=a(G)`
79
- color: ${e=>e.theme.mode==="dark"?b.brandColorJade:b.brandColorSapphire};
79
+ color: ${e=>e.theme.mode==="dark"?y.brandColorJade:y.brandColorSapphire};
80
80
  text-align: ${e=>e.windowSize==="small"?"left":"center"};
81
- ${e=>`${v.promoBadgeText.style(e.windowSize)}`};
81
+ ${e=>`${z.promoBadgeText.style(e.windowSize)}`};
82
82
  span {
83
- ${e=>`${v.promoBadgeTextBold.style(e.windowSize)}`};
83
+ ${e=>`${z.promoBadgeTextBold.style(e.windowSize)}`};
84
84
  }
85
85
  `,rr=a.span``,te=a.span`
86
- color: ${b.success};
86
+ color: ${y.success};
87
87
  `,tr=a.div`
88
88
  display: flex;
89
89
  gap: ${e=>g.midContainerGap.valuePx(e.windowSize)};
@@ -121,7 +121,7 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
121
121
  min-height: ${e=>g.iconContainerMinHeight.valuePx(e.windowSize)};
122
122
  align-items: center;
123
123
  min-width: 480px;
124
- `,A=a.div`
124
+ `,I=a.div`
125
125
  border-radius: ${t.sp12};
126
126
  border: ${e=>`1px solid ${e.theme.colors.grey2}`};
127
127
  padding: ${e=>e.windowSize==="small"?`${t.sp2} ${t.sp4} ${t.sp2} ${t.sp0}`:`${t.sp3} ${t.sp5} ${t.sp3} ${t.sp0}`};
@@ -134,22 +134,22 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
134
134
  width: ${e=>e.windowSize==="small"?"288px":"100%"};
135
135
  min-height: ${e=>e.windowSize!=="small"?"83px":"44px"};
136
136
  box-sizing: ${e=>e.windowSize==="small"?"unset":"border-box"};
137
- `,y=a(_e)`
137
+ `,b=a(_e)`
138
138
  color: ${e=>e.theme.colors.champion};
139
- ${e=>`${v.uspText.style(e.windowSize)}`};
140
- `,I=a(Me)`
139
+ ${e=>`${z.uspText.style(e.windowSize)}`};
140
+ `,A=a(Ee)`
141
141
  color: ${e=>e.theme.colors.champion};
142
- ${e=>`${v.uspBoldText.style(e.windowSize)}`};
143
- `,B=a.div``,L=a.div`
142
+ ${e=>`${z.uspBoldText.style(e.windowSize)}`};
143
+ `,B=a.div``,R=a.div`
144
144
  padding-left: ${t.sp3};
145
- `,sr=a(R)`
146
- color: ${b.graphColor16Dark};
147
- `,dr=a(R)`
148
- color: ${b.alert};
149
- `,lr=a(R)`
150
- color: ${b.graphColor11};
151
- `,cr=a(R)`
152
- color: ${b.success};
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
153
  `,pr=a.div`
154
154
  height: ${e=>g.emptySectionHeight.valuePx(e.windowSize)};
155
155
  ${e=>e.windowSize==="small"?null:De`
@@ -163,8 +163,8 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
163
163
  margin-left: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
164
164
  margin-right: ${e=>g.contactAdminContainerMarginLeftRight.valuePx(e.windowSize)};
165
165
  text-align: center;
166
- `,N=a(Ee)`
167
- ${e=>`${v.contactAdmin.style(e.windowSize)}`};
166
+ `,N=a(Me)`
167
+ ${e=>`${z.contactAdmin.style(e.windowSize)}`};
168
168
  text-decoration: ${e=>e.underline?"underline":"none"};
169
169
  cursor: ${e=>e.underline?"default":null};
170
170
  `,gr=a.div`
@@ -180,7 +180,7 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
180
180
  margin-top: ${t.sp4};
181
181
  margin-bottom: ${t.sp6};
182
182
  `,ur=a.span`
183
- ${e=>`${v.cardsContent.style(e.windowSize)}`};
183
+ ${e=>`${z.cardsContent.style(e.windowSize)}`};
184
184
  `,xr=a.div`
185
185
  display: flex;
186
186
  flex-direction: column;
@@ -210,13 +210,13 @@ import{J as $,V as r,y as O,ay as ye,a9 as $e,aS as je,aQ as Se,fZ as Te,bE as v
210
210
  100% {
211
211
  left: calc(100% + ${t.sp6});
212
212
  }
213
- `,br=a.div`
213
+ `,yr=a.div`
214
214
  position: absolute;
215
215
  background:
216
- ${b.promoCardGradient1Strong}, ${b.promoCardGradient2Strong};
216
+ ${y.promoCardGradient1Strong}, ${y.promoCardGradient2Strong};
217
217
  width: ${t.sp10};
218
218
  z-index: 3;
219
219
  height: 100%;
220
220
  transform: skew(15deg);
221
221
  animation: ${Cr} 4s linear infinite;
222
- `;export{Oe as ChargeCardPromoUserContent,_r as default};
222
+ `;export{Ve as ChargeCardPromoUserContent,_r as default};
@@ -1,4 +1,4 @@
1
- import{y as je,J as Oe,a9 as Ue,aS as M,aa as Be,cI as _e,aX as G,V as t,fg as $e,p as ze,x as d,bE as Le,L as Re,ae as We,fz as Ne,dS as qe,fA as He,o as B,w as Me,iW as J,by as Ge,aT as Je,fC as Qe,b as Xe,u as o,an as Ye}from"./index-Cq3X29cS.js";import{a as f}from"./sentry-DQ_HstYV.js";import{n as w}from"./mui-DzE-7sTl.js";import{bJ as Ke}from"./zeni-epic-state-B4gyGBI3.js";import{x as Ze}from"./LabeledControlledCheckBoxField-DNMqJzBC-BPs_pf7S.js";import{g as et}from"./UploadAdditionalDocumentOverlay-Cxxuws-w-q1izSlj8.js";import"./liveblocks-hPir54fv.js";import"./core-CCdM5htn.js";import"./recharts-CiLmNGsl.js";import"./lottie-B9oE3WTk.js";import"./analytics-BxsZVqMD.js";import"./lexical-BfjdJw9p.js";import"./utils-wDk5ojg7.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]="1d2bad7c-7450-46ca-9a7a-065aeeaa257d",e._sentryDebugIdIdentifier="sentry-dbid-1d2bad7c-7450-46ca-9a7a-065aeeaa257d")}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])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Xe.getLocalizedStrings(),{chargeCard:K}=nt,{chargeCardSetUp:g}=K,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:i,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ae,accountsPromoConfig:ie,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),a=Oe(),E=Ue().analytics,[A,b]=f.useState(!1),{fetchState:C,companyBillPayInfo:$,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:z,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:L}=i,R=M(C),k=M(u.fetchState),V=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>X(i),[i]),values:X(i)}),ve=V.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=L.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else 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&&R==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,R]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const D=I?.isChargeCardEnabled===!0,F=z?.isDebitCardEnabled===!0,W=z?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ke(l?.providerVerificationStatus?.code??""),j=v?q:q&&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&&W:ae?j&&!D&&N:j&&!(D&&F)&&N&&W,De=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(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(it,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(a),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor:ze.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:u,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>b(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:we})}),t.jsx(Le,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!D&&!F&&(a==="medium-compact"||a==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(at,{windowSize:a,children:[t.jsx(ot,{windowSize:a,children:De}),Ve?t.jsx(ct,{children:t.jsx(Re,{size:"ExtraLarge",start:!0})}):t.jsx(We,{...V,children:t.jsx("form",{id:Y(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:a,children:[t.jsx(Ne,{onClick:Fe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(a),height:c.iconWidthHeight.valuePx(a)}),color:H},status:$?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:L,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:oe,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(a),height:c.iconWidthHeight.valuePx(a)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:ie,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:K.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:a==="small"?"flex-start":"center"},checkBoxField:{name:J(m,"enableAutoPay"),checkBoxValue:J(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(a)}}})})]})})})]}),O?t.jsx(Je,{formId:Y(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:a==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},X=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(i=>({label:i.label,value:i.id,isRecommended:i.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(i=>({label:i.accountName,value:i.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},Y=e=>`${e}_form`,at=w.div`
1
+ import{d as je,J as Oe,a8 as Ue,aR as M,a9 as Be,cG as _e,aW as G,V as t,fe as ze,p as Re,y as d,bD as $e,T as We,ac as Le,fx as Ne,dR as qe,fy as He,o as B,b as Me,iQ as J,bx as Ge,aS as Je,fA as Qe,F as Ye,u as a,al as Ke}from"./index-DmMELGnq.js";import{a as f}from"./sentry-D7VPqxYq.js";import{n as w}from"./mui-D89AqdoX.js";import{bJ as Xe}from"./zeni-epic-state-C513CLlc.js";import{x as Ze}from"./LabeledControlledCheckBoxField-BsFqjCpn-C-MKXj71.js";import{g as et}from"./UploadAdditionalDocumentOverlay-BKY6hK51-XuWx6jLi.js";import"./liveblocks-Ckq-Ca_6.js";import"./core-DhOBLUcR.js";import"./recharts-BGD0T3Yu.js";import"./lottie-D9uGWJnR.js";import"./analytics-CahM0ApT.js";import"./lexical-CjsD_DZd.js";import"./utils-HSFXD1Qz.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]="9dd72111-997d-4e07-999a-fa684b7678ec",e._sentryDebugIdIdentifier="sentry-dbid-9dd72111-997d-4e07-999a-fa684b7678ec")}catch{}})();const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59),checkBoxTop:new d(a[1],a[0])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Ye.getLocalizedStrings(),{chargeCard:X}=nt,{chargeCardSetUp:g}=X,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:r,meetingUrl:x,isEarlyPayEnabled:h,chargeCardSetUpView:o,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:v,isCreditCardOnlyEnabled:ie,accountsPromoConfig:oe,onFetchLinkTokenClick:ae,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:de,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:fe,onEstablishConnectionClick:ge,onEstablishConnectionSuccess:me,onClickMenuIcon:he,onEnableChargeCardSuccess:P,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:we,onSignUpClick:xe})=>{const y=je(),i=Oe(),E=Ue().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:$}=o,W=M(C),k=M(u.fetchState),D=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>Y(o),[o]),values:Y(o)}),ve=D.handleSubmit(se),Ee=async(S,T)=>{const n=T[m];if(S.includes(m))if(S.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const p=$.find(U=>U.id===n.fundingAccount.selectedOption);p!=null&&pe(n.fundingAccount.selectedOption,p.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const p=n.account.allOptions.find(U=>U.value===n.account.selectedOption);p!=null&&typeof p.label=="string"&&E.trackConnectBankLink(p.value,p.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else S.includes("enableAutoPay")&&n.enableAutoPay!=null&&fe(n.enableAutoPay)};f.useEffect(()=>{const S=D.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 V=I?.isChargeCardEnabled===!0,F=R?.isDebitCardEnabled===!0,L=R?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=z?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Xe(l?.providerVerificationStatus?.code??""),j=v?q:q&&Ie,De=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&&!V&&N:j&&!(V&&F)&&N&&L,Ve=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new G(y.colors.brandColorJadeLight):new G(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(ot,{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:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!V&&!F&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Ve}),De?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Le,{...D,children:t.jsx("form",{id:K(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:Fe,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{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:m,isDisabled:r,onFetchLinkTokenClick:ae,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Ge,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:X.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:J(m,"enableAutoPay"),checkBoxValue:J(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Je,{formId:K(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:r!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${B.sp3}`}}):null,t.jsx(Qe,{isFooterRendered:O,meetingUrl:x,analytics:E,productType:"charge_cards"})]})},Y=e=>{const{allBankAccounts:r,allFundingAccounts:x,primaryFundingAccount:h}=e;return{[m]:{fundingAccount:{selectedOption:h?.id,allOptions:x.map(o=>({label:o.label,value:o.id,isRecommended:o.accType==="depositAccount"}))},account:{selectedOption:h?.zeniAccountId,allOptions:r.map(o=>({label:o.accountName,value:o.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},K=e=>`${e}_form`,it=w.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -6,14 +6,14 @@ import{y as je,J as Oe,a9 as Ue,aS as M,aa as Be,cI as _e,aX as G,V as t,fg as $
6
6
  flex-direction: column;
7
7
  align-items: center;
8
8
  row-gap: ${e=>c.setupDetailsRowGap.valuePx(e.windowSize)};
9
- `,it=w.div`
9
+ `,ot=w.div`
10
10
  display: flex;
11
11
  min-height: 100%;
12
12
  height: 100%;
13
13
  flex-direction: column;
14
14
  width: 100%;
15
15
  background-color: ${e=>e.theme.colors.grey4};
16
- `,ot=w(Ye)`
16
+ `,at=w(Ke)`
17
17
  color: ${e=>e.theme.colors.hero};
18
18
  display: flex;
19
19
  justify-content: center;
@@ -33,4 +33,4 @@ import{y as je,J as Oe,a9 as Ue,aS as M,aa as Be,cI as _e,aX as G,V as t,fg as $
33
33
  display: flex;
34
34
  flex-direction: column;
35
35
  row-gap: ${e=>c.sectionRowGap.valuePx(e.windowSize)};
36
- `;export{wt as default,Y as uniqueName};
36
+ `;export{wt as default,K as uniqueName};