@zeniai/web-cockpit-ui 1.15.19-dev → 1.15.20-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 (274) hide show
  1. package/dist/assets/{ACHDetailsPage-Bj4J02PO-C4Q2xy4-.js → ACHDetailsPage-NT6Enz2K-BFEAACm5.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-kqP-8GTq-BJF4ETfH.js → AIPerformancePage-DGkOApsY-DosUzsUh.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Bl-lXVdR-BrlwC_GK.js → AccountInfoPage-zFNrlfdY-CaSempyt.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-BfoA1Gse-C7eC0yBE.js → AccountInfoPageContent-Cc_ou_Ce-Cw17-IpX.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-CapmN1xL-DmXdIqXb.js → AccountLockedInfoModal-CXu84Ky4-0OS0lGFZ.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-y7iV6_PQ-D_ojlIG6.js → AccountReconDetailsDrawerPage-BecyMBvC-BlsPG8Gb.js} +3 -3
  7. package/dist/assets/{AccountRow-BNdGXZbT-B-w9AEY5.js → AccountRow-D9RFsvgP-CL6TykEf.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BxQc3Ksg-BEzuSdPZ.js → AccountsPromoCardStack-69-pb14d-DC6JE7NT.js} +8 -8
  9. package/dist/assets/{AddAddressForCardDrawer-DAcT8-PD-oJwne3Gy.js → AddAddressForCardDrawer-DLk1fTT7-C9wyxygo.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CY-2tfXj-D4kgZ0ls.js → AddToWalletPage-BY_IniJ7-Y2LBDzYE.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-DG-IzhqU-D5iQytZw.js → AgingReportsPage-BroFDSmq-CrlHHtRJ.js} +1 -1
  12. package/dist/assets/{AllUserItems-BLdx0SLb-D35470or.js → AllUserItems-v6JpT0CS-Dm0TbfDw.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-UhXmkAke-DuPdvgym.js → ApAgingDetailPage-BAIU_dPa-DcF9ZDOD.js} +5 -5
  14. package/dist/assets/{AppBasePage-BdqHkxAE-ClgCYonW.js → AppBasePage-D4hhPQP--Tg8_tlBp.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DLLABFVO-Z7eIU8wQ.js → AppDrawerContent-BNHIYc2R-B3kbUXGA.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-2Xy362hA-lw7cG823.js → ApprovalRulesSettingsPage-Cmfja-jh-Gch7lnwP.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DUyxm4oV-BDzCa7w_.js → ArAgingChart-B-4CGh62-XpR5XtXN.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BtKh2Y7T-Befa7jSt.js → ArAgingDetailPage-Dccqp1bb-DUA5VUQY.js} +4 -4
  19. package/dist/assets/{AttachmentView-gjYAbjdi-CLgD0hYn.js → AttachmentView-BFg-facO-CaH95CKg.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DQcfhQLN-Cf4CJKge.js → BankAccountSection-ClVZgEVM-BYvuLqED.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-XMpgCYBF-BD-ZRFYQ.js → BankAccountWarningSection-CgbmC-_k-DRjfmmhF.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-Bi5QjRHp-DZsjWuDY.js → BankConnectionsSettingsPage-CglsQLlv-BkMA4WY9.js} +1 -1
  23. package/dist/assets/{BillDetailPage-CgEXd2T5-D3RRlJ_U.js → BillDetailPage-D0LDeogI-B0GFLGjl.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CPKMjF0R-DkefuNtD.js → BillPayApprovalRuleDetailPage-BboDRhU8-CHHsqIzK.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CFJpmXE7-BS2SEmMd.js → BillPayApprovalRulesPage-k7yZT6Aa-Dmy-J3wx.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-nRHevclA-CJKWVsld.js → BillPayPromoPage-BRnUu-kE-qD9_C1aE.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-ynmgaK8Y-CjnJEFzj.js → BillPaySetUpPage-B8PBBo-b-CCrGF_RA.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-BNEvt1HK-BaSsXKiI.js → BillingSettingsPage-ow2vqc0J-BPnhAyIC.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D6tbE3BQ-DocKjVGy.js → BillsBulkReviewDrawerPage-CrlrKA86-CTNrdpPx.js} +1 -1
  30. package/dist/assets/{BoxItem-BdgRTwgI-DiOTWl08.js → BoxItem-G87i4jj9-DJ_JzOgf.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CU38xCol-B4S_9jHP.js → BusinessVerificationPage-4fFmKc7t-CviKNENT.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-g2_GoH9f-aD70vkbB.js → CardNumberSubText-CtZArtEN-C5CUm4jT.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-SvujpPEs-C8gXhM7B.js → CashbackDetailPage-CfvxIALP-YVdLFEPO.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-oaVwvFKq-qgCXX26B.js → ChargeCardDetailPage-BZ71Xjy0-Dr7BA2Y3.js} +26 -26
  35. package/dist/assets/{ChargeCardListPage-CGyxQ8Dx-B1x8tEOp.js → ChargeCardListPage-DhpsoPyr-CQficcQE.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DKQnkAJ7-CbA18PS4.js → ChargeCardListTable-CX3OTq9R-DFN6XBHD.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-JxdV2F32-B8QxqdNq.js → ChargeCardPaymentHistoryPage-C8A6B2vX-DBRPNkuj.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-BM7oOdWh-cLjTbA-r.js → ChargeCardPromoPage-CZthMv9O-DdJWmcwN.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-DqjFBKb_-D2isSGQZ.js → ChargeCardSetupPage-BAuI0rqI-Ct_o3o4L.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-DKicQRml-DNQKyuH-.js → ChargeCardStatementsPage-Dx8lKcHY-_MpRJ-V8.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-BoMMC-PD-BbZFeQ0t.js → CheckDepositDrawerPage-W5m8Sw63-Bc1AhysG.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CvAF66CY-D2P5-EVV.js → CollapsableReportTable-DSbtzMAj-BNPGZhUx.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-ClnGjHwL-DjLuACPy.js → CompanyOfficerDetailsSection-xhVDV0e_-DEf_Firo.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-De1ZqCMC-Co6Yn6Qv.js → CompanyPassportCard-DZxcLBPK-DrtLWy69.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-6281ivzv-B30kYLVx.js → CompanyPassportPage-C4ETRbuP-CipEAdPV.js} +13 -13
  46. package/dist/assets/{CompleteProfile-C4YhvWhe-CIB56NG8.js → CompleteProfile-DxWzl2v_-CbMERFrJ.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-CR98FGfH-3rXf1OLF.js → ConfettiBurst-iwBXc7h4-DqRUbadc.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-JviWwDyz.js → ConstrainedInnerElement-BeIpAPjB-DFqe1Ody.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Dfq0ydKc-fAmE7u3u.js → CreateOrEditVendorPage-BqMLkILR-HOHmDZqL.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-D8Rs6j9F-CECIifL2.js → CreditCardPaymentDrawerPage-CeysykKv-Cc468Xy8.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-dqih82Wa-Bf5oGIgX.js → CurrencySelectField-D3T5Kpep-C5BdxaCJ.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-CPhBnk1y-CsEDDRZo.js → CustomerOnboardingActivationPage-IoLmmpzZ-Cn81rLeI.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-W9rUXP8--BVBBW0hX.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D92o0cYb-f4j90fLJ.js → CustomerOnboardingDetailPageSkeleton-CQ_jMnjx-DPLd4ivQ.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-D-TyXZjQ-1BbkgoBb.js → CustomerOnboardingNoStepsPage-9EVXNqI--PzWflH9h.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-D8s20fEH-Drh1St8-.js → CustomerOnboardingPage-B66vhEZb-D7HPTDFT.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-B7v5nYAw--BKM9prl.js → CustomerOnboardingProductSuitePage-C_gpLXB6-BoYezZa2.js} +9 -9
  58. package/dist/assets/{Dashboard-DLhx6D0s-A89AzrUL.js → Dashboard-YE9mF9nk-VMfoaBug.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-G-hbFFVd-duPSFRfE.js → DashboardReportPage-DVB5rnu_-FOBpKxeo.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-Dhb4iV2T-BYJc1IM0.js → DashboardSidebarBackgroundAnimation-Dpqnzw8--XocrKeDA.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-6BPvYynA-D1Ju63qU.js → DepositAccTransactionItem-C15CMLyX-DMeXzVr4.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-CYqVm1Rm-FhuWm2tm.js → DepositAccTransactionListPage-BqWQ7Hs2-GqUsfhiu.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BOza2O-8-CYD7ppA5.js → DomesticWireDetailsPage-D5Eeex8I-2tlxNeUv.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-cbNihDeI-BS6u10ct.js → DownloadOverlay-BDyXP4Jc-CuzjJPQn.js} +1 -1
  65. package/dist/assets/{DrawerPage-DhT58SBb-DaHEF-EV.js → DrawerPage-BfT7DpjC-B8oVqkwG.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-BLNgVf-0-U2va95MO.js → EditPeoplePage-DAJZWSBW-B5eie5iw.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DmApxq-q-CyDk02YT.js → EditReimbursementDetailPage-DjgB82b7-CC8cas6H.js} +1 -1
  68. package/dist/assets/EntityDetailPage-DxiU9_5p-BJ1ITQ_q.js +18 -0
  69. package/dist/assets/{EntitySummarySection-C82U-rtJ-DmZyL6x2.js → EntitySummarySection-BOXgFv27-DKuOq1RS.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Bgibjb2E-BaSAz2Y9.js → ExpenseAutomationOverviewPage-CBH6RxR6-ca6D6gHD.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Be5-Yt8w-Cjj2nOen.js → ExpenseAutomationPage-ZcrtYJn8-DtxnBLVT.js} +1 -1
  72. package/dist/assets/{ExpressPayPage--mCSxEVH-BFs72UEO.js → ExpressPayPage-BAkWRXjv-CGLCftHD.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CFVDZyby-CGtGECgw.js → FeaturePreviewPage-CiwptZF9-TCjWAgRd.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CVWuuidV-DUG37jOA.js → FollowStepsSection-BM_fxalw-1p8dzh40.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-vkNEl7d8-CiHg5TZf.js → GlobalReviewListPage-BsACt_VJ-CVzuhybj.js} +1 -1
  76. package/dist/assets/{InformationCardStack-LF_aKhhL-CKp0o9nn.js → InformationCardStack-BHE0IlOx-CJJlej3H.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-BIcK-jeU-C5tLvdIq.js → InsightsCardStack-GJuFdS2m-D9NpL9wt.js} +2 -2
  78. package/dist/assets/{InsightsSection-CIpbIEbv-CFt4IQKX.js → InsightsSection-BxPB_NJF-D7HFTV9p.js} +5 -5
  79. package/dist/assets/{IntegrationsSettingsPage-CjP_3pkI-CnkkLjlB.js → IntegrationsSettingsPage-BQ8vCNaC-B7cP6IZ4.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage--xhtyYY7-D4zcriQW.js → InternationalWireSwiftDetailsPage-ChpsNwAV-Eet7AXz5.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-BpvZr-WI-jxE-vB-G.js → InternationalWireVerificationPage-6_EZwOrK-BJ2iAZe5.js} +1 -1
  82. package/dist/assets/{InviteFormPage-9NFX-MhQ-BgZ7muUE.js → InviteFormPage-Cm52PFv9-DRNfTdUu.js} +1 -1
  83. package/dist/assets/{InvitePageListView-B-cAYAEj-DdX2Vf2f.js → InvitePageListView-QUZg8U6W-DzAfqMB3.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-_lENDcHE-Cs4JWgnf.js → InvitePeoplePage-CF19kbHd-DQqJP-yV.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-Md8EHqPI-B2FbeYFD.js → InvoiceUploadSection-4uu3l-_9-CxlUEph1.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-DlBHg90l-CkIYZG8g.js → IssueChargeCardPage-CykqTbZn-7nCw30B_.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-BRVf6Gy8-DR_hCdER.js → LabeledAddressValue-BIa72RS0-BkLBulUT.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-Dm962nbv-CJctT64I.js → LabeledAddressValueField-B8vUdw5X-CDbumss_.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-AuHfNy1--CYnnof78.js → LabeledControlledCheckBoxField-DUkmWHyZ-D2AqhRim.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-CZzPQt4P-q5eFoS7_.js → LabeledCreatableSingleSelectField-7qh_QQuc-BNteaTC5.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-Cj3wNN-j-DRfRBZq3.js → LabeledDocumentField-wddWSnmD-LvMwzwRA.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-DKi8UjgP-vgVqFIrz.js → LabeledDropDownFormattedTextField-BrGwb_uK-BRXsgq-s.js} +1 -1
  93. package/dist/assets/{LabeledText-C-8itgDI-CUp_0u3s.js → LabeledText-QOAkVa8J-DSSDVMXd.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CyEiLq7_-CyR9dVw4.js → LabeledUserSingleSelectWithSubtitlesField-DzN0zQ-n-Dm58NOUb.js} +3 -3
  95. package/dist/assets/{LabeledZeniRolesDropDownField-CoQcMW_--ClLOgm0I.js → LabeledZeniRolesDropDownField-Clh9Cjuk-CwnowspI.js} +1 -1
  96. package/dist/assets/{LinkJETransactionPage-aTmlEn-Z-x31yl_Si.js → LinkJETransactionPage-CwPv0nlT-BuUaF1zQ.js} +1 -1
  97. package/dist/assets/{LockCardPage-nJeB0vKv-D0hlcn6G.js → LockCardPage-CHh1vxsi-BCBXWEYk.js} +6 -6
  98. package/dist/assets/{LowBalancePopup-aFCQSDc_-C6y1E7C0.js → LowBalancePopup-CmlabBgd-HAAcIAfk.js} +1 -1
  99. package/dist/assets/MagicLinkACHDetailsPage-CqShsw_Q-CQLvpS1B.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dld6KNDY-CY3FmODl.js +1 -0
  101. package/dist/assets/MagicLinkInternationalWireDetailsPage-tM0F2Ss6-CJrfT-sY.js +1 -0
  102. package/dist/assets/{MagicLinkSuccessPage-RxCflvAg-z_sXnPco.js → MagicLinkSuccessPage-D0XJzDBe-FWa1vlXB.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CYaOQsiQ-Bmr50Dux.js → MagicLinkTitleSection-FdcDRHnN-CN2sc8vg.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-KUvjhmZC-BH5Oyyjr.js → MailingDetailsSection-BcNpk0Ce-D2xEGQpy.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-SlfAD_ec-Cxn1_qTK.js → MyBankConnectionsSettingsPage-Doi9tH5g-CtDAS2HS.js} +1 -1
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-BShzFR0m-CvOtafM-.js → MyPendingActivationChargeCardListPage-BIapHyrw-BsKgOhK-.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-CzGU1Gx7-Dqk_FQO0.js → MyProfileSettingsPage-B2PcUlKr-l2N1ioTO.js} +1 -1
  108. package/dist/assets/{NavBarWithPicker-NJ3tm2MI-oOlPyLbT.js → NavBarWithPicker-47lGnOUJ-CvIv4Jtp.js} +1 -1
  109. package/dist/assets/{NavigationArrow-B145tYV_-C_6ukSuK.js → NavigationArrow-Bc98mDow-BllcuW5O.js} +1 -1
  110. package/dist/assets/{NavigationDots-DaOFOsFA-BBWJs6hX.js → NavigationDots-B6QtTUea-NrUSmXgc.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-YTsNL6iu-Bz6Acdaw.js → NewGlobalMerchantPage-l7vvjRRM-nZxCHS27.js} +1 -1
  112. package/dist/assets/{NoDataChart-C7YUwwui-iNU45UoG.js → NoDataChart-C-dDAIve-DUTyXvqs.js} +1 -1
  113. package/dist/assets/{NoDataTable-DolCx6QR-C89fB2OT.js → NoDataTable-DyEdbkM0-B5A6BGGn.js} +1 -1
  114. package/dist/assets/{NotFoundPage-BBnisozE-ZTo3UmTG.js → NotFoundPage-CnaP1ABc-B75DHkxN.js} +4 -4
  115. package/dist/assets/{NotificationSettingsPage-DPg3FvvD-Bucvci8R.js → NotificationSettingsPage-ClE6Laa0-zUgqxUna.js} +1 -1
  116. package/dist/assets/{NotificationsListConfig-BkOX8iIv-DgCgfDhw.js → NotificationsListConfig-CbLnZa67-DUB7vpqM.js} +1 -1
  117. package/dist/assets/{NotificationsPage-BUhLO_r9-37VbqnuY.js → NotificationsPage-0kHd1Zz8-DcutPzRe.js} +1 -1
  118. package/dist/assets/{OpExByVendorPage-CHY5zg69-DBOqA9P_.js → OpExByVendorPage-OglN_NyF-CkDGZBsO.js} +1 -1
  119. package/dist/assets/{OverlayContainerPage-D4QU0p4o-Bn1glMo5.js → OverlayContainerPage-D4QU0p4o-CBtAcoXU.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-CeQr3WjJ-CzbnzXa-.js → PandLWithForecastPage-ChSngwUR-C1MQJhQs.js} +2 -2
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B6xSczs6-BKvI8Xkx.js → PaymentAccountSetupBillingAddressSection-BBcI6orE-DjXEkCuw.js} +1 -1
  122. package/dist/assets/{PeoplePage-fCF4vkUp-ufAU-1hs.js → PeoplePage-C65TAG6F-xV6gMmPM.js} +1 -1
  123. package/dist/assets/{Preview-hLK8QRw8.js → Preview-DoXXNXUO.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-rA-O8_7D-CY5GfBBq.js → ProductsCarousel-MWJmuQG1-DlT772qO.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-C37GX90J-DqWlf7fN.js → PromoBaseCards-DG-4_luF-BJ1gMZoU.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-Dwog9AYZ-O8uWq45M.js → QBOConnectionDialog-Ay4Pfbb9-Bb72NtKE.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-uV3w7rHW-MEAdwA6a.js → QBOSetupSection-C7bKopiw-DrpQB1LR.js} +3 -3
  128. package/dist/assets/ReimbursementApprovalRuleDetailPage-C510NusC-FjR-UqRb.js +32 -0
  129. package/dist/assets/{ReimbursementApprovalRulesPage-IGpmh9zA-Bx94q0Ic.js → ReimbursementApprovalRulesPage-CwmSBeim-B3AFHPfu.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-CnzK17M4-DQC0uxdE.js → ReimbursementDetailPage-D9ycauwA-CUwfcZuF.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-DSfL54Md-1ZVBlDma.js → ReimbursementPromoPage-Cg4eTjln-B_BSUbh2.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-BoTn3JKw-CBdNL9HT.js → ReimbursementSetUpPage-DfQHDiFr-Ber4hKRG.js} +5 -5
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DBc7LS-n-Iqxb_53N.js → ReimbursementsBulkReviewDrawerPage-45yy6zu5-Dq06_x7t.js} +1 -1
  134. package/dist/assets/{ReloadCard-B5rmmfva-TUZ-Tkd2.js → ReloadCard-By3AowEq-x562gX6W.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-0OEScWmm-Hga5bKqy.js → ReportTableViewSelector-C7jqqd0a-BBPHQp30.js} +26 -26
  136. package/dist/assets/{ReportsPage-BTkakKPX-BSzPNOYj.js → ReportsPage-E_2EHKAE-C8Ln5-KA.js} +1 -1
  137. package/dist/assets/{RevenueChart-Ba8ZLje8-Drb014Fl.js → RevenueChart-DK5_X8cX-CFe4Dnip.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-BQDrm2yR-Bz5FazaS.js → ReviewDetailsPage-CdG4Jkv2-XGKGSq3K.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-8tBBKn9R-BZESXqSp.js → ReviewOverlay-DFC79g0A-n-a_Q4hL.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-YZusZfiJ-BELittL3.js → RoleWithToolTip-B0JWC_SV-CXgbdRFg.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BN9hFnGC-I8BvJlgl.js → ScheduleDetailsFixedAssetsPage-DMks3oWk-DGkrvK3-.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-DAr4tXe_-BZZ4Y69I.js → ScheduleDetailsPage-DIjRnKIE-CFDh1Nql.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-DUfu-c6e-DBFpgT6F.js → ScheduleSequenceTable-BjPKuQfH-DD-mnEb5.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-RdWdKKFl.js → ScreenRoutes-BpALuK49.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-DqW4vmsx-CO06aLnp.js → SetUpAccountSection-CFVDUb2a-COF_GK-Y.js} +1 -1
  146. package/dist/assets/{SignIn-CCqNj3tG-DRDC5Yhl.js → SignIn-CGySLsg7-DOc2ezkS.js} +6 -6
  147. package/dist/assets/{SignInScreen-BI4txts-.js → SignInScreen-DR9HfecL.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-s4dPd5hE-IanF8B1T.js → SpendManagementListViewPage-dO6dKd5h-CJ1bhZ9x.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-NWc7uqw6-_rcGYzjd.js → SpendManagementPerTabPage-B39fFZko-BEVPOiP7.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-eYrLZK1E-KjAWYeIa.js → SpendManagementSection-BiaaUF2E-yH0f2tK1.js} +1 -1
  151. package/dist/assets/StatementItem-DOPVBhGk-CYoCEo6a.js +31 -0
  152. package/dist/assets/{StatementsPage-C0wI_tRw-BDtidNq4.js → StatementsPage-R0eHwHJ9-Cl59Sg99.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-DFluM61E-D9icc7U1.js → StatusSwitcher-DSYj3PS_-CAzhtczP.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-Cin8x7wg-Dcdm2qpz.js → SubTabSwitcher-OqdKA7V1-DlEB8bkr.js} +1 -1
  155. package/dist/assets/{SummaryCard-Bcw6fQTD-Do950Kyf.js → SummaryCard-DhRtJkhC-BhArQLhg.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-B9qW2lvP-CVsVNeeW.js → TaskManagementPage-BvGD5ccB-siLavhfb.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-u57rzf78-Bgi2Q6bp.js → TimeRangeSwitcher-DDWfAebm-DQjeGwWr.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-ClE4GOKf-CCgDF2y1.js → TimeframeSwitcher-DNA6_eZb-C1spVBmO.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-COre57iX-BQBghhwC.js → TimeframeSwitcherWithToggle-Bd5xmXK7-Bm0Sa4yg.js} +2 -2
  160. package/dist/assets/{TopExCard-DF3x7jLh-CRuE7H2y.js → TopExCard-En4ylTQ3-CRpZgtTx.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-DmFsRNbY-CAPDLdK7.js → TopExDetailPage-Coive81d-CvqmO-2K.js} +6 -6
  162. package/dist/assets/{TransactionActivityLogPage-BJWKx4q0-BUpcnLzX.js → TransactionActivityLogPage-WE28x9RN-BJcJOUa8.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-mtNlJQ2B-IRA0HZOa.js → TransactionDetailPage-BbqIgtCd-DiFMNiBg.js} +1 -1
  164. package/dist/assets/{TransactionList-CLb6vsAw-BNfVqp8k.js → TransactionList-CSBjcmxc-EtkATca3.js} +1 -1
  165. package/dist/assets/{TransactionListBig-BzBXZp6s-UPK6nK0b.js → TransactionListBig-CI1FCFcx-DrdC9u_z.js} +4 -4
  166. package/dist/assets/{TransactionListPage-DoQrIKK0-cdAGgkOJ.js → TransactionListPage-CJcrJoU2-BQLZ1fl5.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-D-wSEk3k-Bp7ZO9K6.js → TransactionVendorDetailPage-CVWvfI3Q-DNCMY0hE.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-j8FDHpig-DvRwMkL8.js → TransferDrawerPage-CZXa0mUe-BwYl6Xys.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-2U807bhy-BY8VUFc9.js → TreasuryOverviewPage-C2u69t4N-DORj6VI0.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-BYXuV9oH-vUIAQ6f4.js → TreasuryPromoPage-DrKVhiah-B771x0k3.js} +1 -1
  171. package/dist/assets/TreasuryStatementsPage-Cvg6I5NA-3DfYgqTM.js +58 -0
  172. package/dist/assets/{TreasuryTaxLetterPage-BrBEeHG1-u74MPbjQ.js → TreasuryTaxLetterPage-JZLtzp98-zu6vU_D3.js} +2 -2
  173. package/dist/assets/{TrendChart-D0GWCIs5-BdQ26pcI.js → TrendChart-BxOwX5Tl-CLxo4QA6.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-DcCilwfx-_37SmAif.js → TrendWithTransactions-D3y_WfC9-DTwRkgjx.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-D5oo8UHa-k_11pvpn.js → UncategorizedAccountsMappingPage-BzZzsKfP-CKa7H3J0.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-BQp7NQLB-CdKp5-34.js → UnitIntegrationPage-bFoq6Dzc-C9OTzoR8.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-DvAwuTYB-DJVdyOgq.js → UploadAdditionalDocumentOverlay-DHgW1eCQ-eDz3OZIL.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-BVuTJ4jh-Dmi8LqgF.js → Vendor2FAPopup-BNA5iCDk-DURrAQXU.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-DO9DY2FM-D5QMZmyt.js +1 -0
  180. package/dist/assets/{VendorDetailPage-BNr0Z5jN-B5vvqHLt.js → VendorDetailPage-CUMB0ybc-Cz2stk3Z.js} +86 -86
  181. package/dist/assets/VendorDomesticWireDetailsPage-DAFX-_x0-dnuKk_FW.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-D2_NM9OH-Cg7w3eGu.js → VendorFiling1099EditablePage-Dc5f2rQI-5zyTApsP.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-DxhhgmEm-DydY5H1-.js → VendorFirstReviewPage-DJ2xe-qP-D-sxUwEs.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CUIOT8vU-afAyjr3K.js → VendorInternationalWireDetailsPage-CA9piyEU-DHqdWGBP.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dq9K171L-CWe5L2D4.js → VendorInternationalWireSwiftDetailsPage-BUBLa4v4-bSUc0oan.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-eef70mQn-_RCZqtQz.js → VendorsAccountsSection-CsgH89wG-DET-7-Fb.js} +1 -1
  187. package/dist/assets/{VerifyDevice-CMvsjley-rC4gKQeJ.js → VerifyDevice-I0fcetOo-CAPq5qjt.js} +1 -1
  188. package/dist/assets/{VideoPlayer-DKSZUXeK-H0wCm76T.js → VideoPlayer-DJKEc9Gu-Cc5wpx11.js} +2 -2
  189. package/dist/assets/{VideoPopup-BG0G1trN-J1tFoUPS.js → VideoPopup-DQ01Zj2Y-zyTi_sd6.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-g_KTQdH7-Br6CzJQ0.js → WarningsDrawerPage-NqQ8xPhM-HeekJwAM.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-LkheAcW_-BBvGkAZe.js → ZeniAccountDetailPage-B-Pet9D--Cimk8WQa.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-DVQHT8ma-B9oJhIl0.js → ZeniAccountListViewPage-CXvP0AhF-B_EmDoan.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-_Xr6q9sA-BmDV-yHS.js → ZeniAccountNavBarPieces-CseOYdtS-DLMIhkCm.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-C3LR6klI-gvX4BiZe.js → ZeniAccountPromoPage-B7rXcypc-BO6-Rl5f.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-BtWnNkH7-Bw5ifbpG.js → ZeniAccountSetupPage-CTRzzDrC-YkomMuQT.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-D36dbFYs-DbL5X4NH.js → ZeniCopyright-bBciVtsI-DjjBYCfV.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-BYbDaVKJ-CzP9xAeJ.js → ZeniTransferAmountSlider-prBenc10-BnMP7OqZ.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-CjuRM598.js → add-to-wallet-DgdBD8_G-C_RtDila.js} +1 -1
  199. package/dist/assets/{analytics-DH0nG_g5.js → analytics-CzRVJ6MY.js} +1 -1
  200. package/dist/assets/{analyticsHelper-B_RV_zIh.js → analyticsHelper-CIcWitH5.js} +1 -1
  201. package/dist/assets/{analyticsHelper-C4PZ1Adh-DNHzQdSq.js → analyticsHelper-bMQRPNSm-DckzEJTg.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-ezr-NUEt.js → arrow-south-east-round-PEovUgvH-B-J6VULs.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-DCTaBPDp.js → auto-transfer-rule-mbafm5D3-irLOnk7B.js} +1 -1
  204. package/dist/assets/{chartTypes-Bf1-edD8-CV1yysKw.js → chartTypes-B6Rsb0Zj-OBtFn3Lg.js} +1 -1
  205. package/dist/assets/{commonDimensions-B60Qkfnz-DxGoTy6S.js → commonDimensions-C6cMfD5y-ldvdnaDh.js} +1 -1
  206. package/dist/assets/{constants-HPf8XA_c.js → constants-Cvfi3rvc.js} +1 -1
  207. package/dist/assets/{core-yiE_iOc0.js → core-ngENxsSR.js} +1 -1
  208. package/dist/assets/{dash.all.min-ZaNNnJRa.js → dash.all.min-C6R1sF3z.js} +1 -1
  209. package/dist/assets/{detailCommon-B4aI_98A-CEMaqjeK.js → detailCommon-DjIYoB2z-BtvDTiC9.js} +5 -5
  210. package/dist/assets/{downloadPdf-DVqVkV_p-CELECDCw.js → downloadPdf-D0z4UUom-u-PDbPBK.js} +1 -1
  211. package/dist/assets/{empty-BOna3nXl.js → empty-AgePHH9k.js} +1 -1
  212. package/dist/assets/{empty-Be-7ZZNG.js → empty-l2WFMsmR.js} +1 -1
  213. package/dist/assets/{epic-CGLWHopS.js → epic-bicvu32R.js} +1 -1
  214. package/dist/assets/{gift-box-Cmt9OgIZ-yO9QG4ws.js → gift-box-Cmt9OgIZ-DpDi_0xd.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-08AJBbmd.js → graphic-no-data-l-DU4J8fDt-BuXYRb4U.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BCEcNSIc.js → graphic-no-data-net-burn-l-CzmycA0m-ByqmOND0.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-CS6zI2jd.js → handshake-BPg58FML-3kNIzZCa.js} +1 -1
  218. package/dist/assets/{index-DADoWRMM.js → index-BBFuqt84.js} +1 -1
  219. package/dist/assets/{index-V6G13z1s.js → index-DCZwBQKq.js} +1 -1
  220. package/dist/assets/{index-B05X8Jld.js → index-DGlL4HjS.js} +1 -1
  221. package/dist/assets/{index-o0j-GZyM.js → index-DJv_Rbuz.js} +6 -6
  222. package/dist/assets/{index-JQjyoaIW.js → index-Gn3bmjPa.js} +1 -1
  223. package/dist/assets/{index-BQKUEYMa.js → index-Olo2pX0z.js} +1 -1
  224. package/dist/assets/{index-DEPZWJ5u.js → index-vWk_2SsD.js} +1 -1
  225. package/dist/assets/{lexical-DlAOaxF0.js → lexical-B7Utywn0.js} +1 -1
  226. package/dist/assets/{liveblocks-BZyZbty1.js → liveblocks-CCMpOb9V.js} +1 -1
  227. package/dist/assets/{lottie-HBX4-MpS.js → lottie-BuGJfGlI.js} +1 -1
  228. package/dist/assets/{mapLoadingInProgressToTreeNode-DuPcSiT5-DY73v-Wq.js → mapLoadingInProgressToTreeNode-C1l0d99B-98tg8j4A.js} +1 -1
  229. package/dist/assets/mapSectionWithAcOnlyToTreeNode-BHrFv_df-DKCLi29L.js +1 -0
  230. package/dist/assets/mapSpacerToTreeNode-BYWr2mnE-Cet1B3G8.js +1 -0
  231. package/dist/assets/{mapTimeframeBalancesToTreeNode-9dsEoKql-CTAmJm8r.js → mapTimeframeBalancesToTreeNode-C7w_Pv68-CqQEodHU.js} +1 -1
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CUioWHuY-fSxUB0yV.js +1 -0
  233. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BMNyeJt9-CIYXC4NE.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dt7Y9K0I-DMS8id7q.js} +1 -1
  234. package/dist/assets/{mui-CAW43Z2L.js → mui-vpVhZoFp.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-Ga1rCJlu.js → page-detail-CWX5S47F-BBqQ9hel.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-C9yV2YE9.js → panelSelectedMixin-CzfD5-Zs-D4PkbE95.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-W2nwrqQ5.js → radio-default-CiSgisfh-DiqpiNhm.js} +1 -1
  238. package/dist/assets/{react-BeHv7oF0.js → react-B0vTZ6LL.js} +1 -1
  239. package/dist/assets/{react-BURuhNYe.js → react-B4FV8YGQ.js} +1 -1
  240. package/dist/assets/{react-DFbroRVg.js → react-B7-MyUGd.js} +1 -1
  241. package/dist/assets/{react-CkHAqWHd.js → react-D-iCv7iD.js} +2 -2
  242. package/dist/assets/{react-Cy_jHEin.js → react-DfctpYqe.js} +1 -1
  243. package/dist/assets/{react-QfjvWill.js → react-Duxca6t4.js} +1 -1
  244. package/dist/assets/{react-C5kAuTha.js → react-Rd_Y3DMY.js} +1 -1
  245. package/dist/assets/{react-D70Dpky3.js → react-vvBk2zvV.js} +1 -1
  246. package/dist/assets/{recharts-Duslqfio.js → recharts-DVV1zL4K.js} +1 -1
  247. package/dist/assets/{sentry-DmQUfSE7.js → sentry-BAZEeDR7.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-BSj8Drkk.js → shield-DOlUxcFf-XcL46H7b.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-LVMDIpDR-LI6Qd7JP.js +1 -0
  250. package/dist/assets/{toChartData-CcG8i49E-invCvTu2.js → toChartData-BUT_vwbW-BbFVGs8l.js} +1 -1
  251. package/dist/assets/{uploadAttachment-B-y1--ww-BcIqRgDj.js → uploadAttachment-B1aivsLg-CDTrk-3w.js} +1 -1
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-Df2fHyc-.js → uploadReceipts-Dge0cNF1-BGR9kJVp.js} +1 -1
  253. package/dist/assets/{url-hGfZCfig.js → url-B_JPZzNH.js} +1 -1
  254. package/dist/assets/{url-R21EGndt.js → url-CniQbZJn.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-DR25cb_3.js → useLongPress-GCK2COYQ-DmHXzxyt.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-D5-lu6m5.js → usp-line-BBd1wKwW-COokDSR0.js} +1 -1
  257. package/dist/assets/{utils-C-XuhdQM.js → utils-Db3Jmqbx.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-C4Tt6Qhq.js → zeni-epic-state-p-hirlWD.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/CustomerOnboardingContainerPage-Dn7vOa-2-acu82bx-.js +0 -1
  262. package/dist/assets/EntityDetailPage-CvgcTamk-C6e8nDgM.js +0 -18
  263. package/dist/assets/MagicLinkACHDetailsPage-CkEC7bfy-BTcHRx9h.js +0 -1
  264. package/dist/assets/MagicLinkDomesticWireDetailsPage-DXqRDZvA-Cof2FQM6.js +0 -1
  265. package/dist/assets/MagicLinkInternationalWireDetailsPage-CegOSNsV-D9w4qClx.js +0 -1
  266. package/dist/assets/ReimbursementApprovalRuleDetailPage-CPZfTMx--hGh26AYS.js +0 -32
  267. package/dist/assets/StatementItem-CKK9vnC7-CB-e2CLd.js +0 -31
  268. package/dist/assets/TreasuryStatementsPage-CeaExx3z-DsMw65vI.js +0 -58
  269. package/dist/assets/VendorACHDetailsPage-DkXoubZC-RuWRXgBi.js +0 -1
  270. package/dist/assets/VendorDomesticWireDetailsPage-CaaOskIa-DGRBzFDy.js +0 -1
  271. package/dist/assets/mapSectionWithAcOnlyToTreeNode-BZsGUDKa-4VCnAicV.js +0 -1
  272. package/dist/assets/mapSpacerToTreeNode-br_rslOm-BB79AXDK.js +0 -1
  273. package/dist/assets/mapTimeframeBalancesToTreeNode-BpOPNyk--FPICGthL.js +0 -1
  274. package/dist/assets/toCOABalancesWithID-DOquK-Sn-1uwfHDc8.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a8 as Za,aQ as z,aw as er,fU as tr,iO as W,J as Ee,o as a,g as ta,V as t,bC as ar,g6 as rr,fh as ie,b as D,bT as nt,p,aN as me,aP as V,aY as st,F as Fe,y as H,ai as J,R as ir,c as or,cX as nr,as as aa,bK as sr,a$ as ct,aT as dr,am as lt,a9 as cr,gS as lr,c_ as ur,ao as hr,ac as mr,gc as pr,r as Nt,u as _,d8 as ra,aq as Cr,al as gr,d as br,cW as fr,bv as xr,bV as yr}from"./index-o0j-GZyM.js";import{a as l}from"./sentry-DmQUfSE7.js";import{n as r,c as ut,k as Sr}from"./mui-CAW43Z2L.js";import{EP as wr,G6 as kr,bh as zt,bL as $r,bP as Ir}from"./zeni-epic-state-C4Tt6Qhq.js";import{t as vr}from"./SpendManagementSection-eYrLZK1E-KjAWYeIa.js";import{D as oe,r as jr,i as Ar}from"./ChargeCardListTable-DKQnkAJ7-CbA18PS4.js";import{ChargeCardPromoUserContent as Lr}from"./ChargeCardPromoPage-BM7oOdWh-cLjTbA-r.js";import{N as Pr,J as Er}from"./PromoBaseCards-C37GX90J-DqWlf7fN.js";import{z as Ot,L as _t,k as Fr,P as Tr}from"./LockCardPage-nJeB0vKv-D0hlcn6G.js";import{r as Mr,i as Dr}from"./graphic-no-data-net-burn-l-CzmycA0m-BCEcNSIc.js";import{t as Rr,o as Br}from"./arrow-south-east-round-PEovUgvH-ezr-NUEt.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";import"./RoleWithToolTip-YZusZfiJ-BELittL3.js";import"./CardNumberSubText-g2_GoH9f-aD70vkbB.js";import"./NavigationDots-DaOFOsFA-BBWJs6hX.js";import"./usp-line-BBd1wKwW-D5-lu6m5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="b6fdf5e7-59ef-4943-9a0f-08501d236114",e._sentryDebugIdIdentifier="sentry-dbid-b6fdf5e7-59ef-4943-9a0f-08501d236114")}catch{}})();const ht={infoSubheadingTextMarginTop:new H(_[0],_[0]),cardsMinWidth:new H(343,353)},Pe=Fe.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Ut=({cardPromoType:e,cardText:c,header:u,title:d,subTitle:n,slidingTextList:m,onClick:F,status:$,statusMessage:U})=>{const B=Ee(),L=$!==void 0,G=$==="rejected"?Pe.status.requestRejected:$==="under_review"?Pe.status.requestUnderReview:"";return t.jsxs(zr,{windowSize:B,cardPromoType:e,"data-testid":V("list-page-promo-card",e),onClick:()=>F(e),children:[t.jsxs(ia,{isStatusMode:L,children:[t.jsxs(na,{children:[L?t.jsx(Ur,{children:G}):t.jsx(oa,{children:u}),t.jsx(Wr,{children:d}),L?null:t.jsx(qr,{children:n})]}),!L&&t.jsxs(Jr,{children:[t.jsx(Kr,{}),m.length>0&&t.jsx(dt,{slideUpCount:m.length,children:m.map((ne,se)=>t.jsx(sa,{children:ne},`card-promo-${se.toString()}`))}),t.jsx(Yr,{})]}),U!=null&&L?t.jsx(Vr,{status:$,children:U}):null]}),t.jsx(Qr,{isStatusMode:L,children:t.jsx(Pr,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Xr,{isStatusMode:L,children:t.jsx(Er,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Vt=({cardType:e,header:c,title:u,creditLimit:d,onCreateNowClick:n})=>{const m=Ee();return t.jsx(Or,{windowSize:m,cardType:e,children:t.jsxs(_r,{children:[t.jsxs(na,{children:[t.jsx(oa,{children:c}),t.jsx(Gr,{children:t.jsx(Hr,{children:u})}),t.jsx(Zr,{windowSize:m,children:t.jsxs(ei,{windowSize:m,onClick:()=>n(e),"data-testid":V("total-cashback-info"),children:[t.jsx(sa,{children:Pe.createNow}),t.jsx(ti,{})]})})]}),e==="creditCard"?t.jsxs(ai,{children:[t.jsx(ri,{children:Pe.creditLimit}),t.jsx(ii,{children:d})]}):null]})})},Nr=e=>{const c=e-1;let u=`
1
+ import{a8 as Za,aQ as z,aw as er,fU as tr,iO as W,J as Ee,o as a,g as ta,V as t,bC as ar,g6 as rr,fh as ie,b as D,bT as nt,p,aN as me,aP as V,aY as st,F as Fe,y as H,ai as J,R as ir,c as or,cX as nr,as as aa,bK as sr,a$ as ct,aT as dr,am as lt,a9 as cr,gS as lr,c_ as ur,ao as hr,ac as mr,gc as pr,r as Nt,u as _,d8 as ra,aq as Cr,al as gr,d as br,cW as fr,bv as xr,bV as yr}from"./index-DJv_Rbuz.js";import{a as l}from"./sentry-BAZEeDR7.js";import{n as r,c as ut,k as Sr}from"./mui-vpVhZoFp.js";import{EP as wr,G6 as kr,bh as zt,bL as $r,bP as Ir}from"./zeni-epic-state-p-hirlWD.js";import{t as vr}from"./SpendManagementSection-BiaaUF2E-yH0f2tK1.js";import{D as oe,r as jr,i as Ar}from"./ChargeCardListTable-CX3OTq9R-DFN6XBHD.js";import{ChargeCardPromoUserContent as Lr}from"./ChargeCardPromoPage-CZthMv9O-DdJWmcwN.js";import{N as Pr,J as Er}from"./PromoBaseCards-DG-4_luF-BJ1gMZoU.js";import{z as Ot,L as _t,k as Fr,P as Tr}from"./LockCardPage-CHh1vxsi-BCBXWEYk.js";import{r as Mr,i as Dr}from"./graphic-no-data-net-burn-l-CzmycA0m-ByqmOND0.js";import{t as Rr,o as Br}from"./arrow-south-east-round-PEovUgvH-B-J6VULs.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./RoleWithToolTip-B0JWC_SV-CXgbdRFg.js";import"./CardNumberSubText-CtZArtEN-C5CUm4jT.js";import"./NavigationDots-B6QtTUea-NrUSmXgc.js";import"./usp-line-BBd1wKwW-COokDSR0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="c492feaf-4f92-4447-97ae-dc2c6d094dab",e._sentryDebugIdIdentifier="sentry-dbid-c492feaf-4f92-4447-97ae-dc2c6d094dab")}catch{}})();const ht={infoSubheadingTextMarginTop:new H(_[0],_[0]),cardsMinWidth:new H(343,353)},Pe=Fe.getLocalizedStrings().spendManagement.chargeCard.chargeCardsPromo.listPage,Ut=({cardPromoType:e,cardText:c,header:u,title:d,subTitle:n,slidingTextList:m,onClick:F,status:$,statusMessage:U})=>{const B=Ee(),L=$!==void 0,G=$==="rejected"?Pe.status.requestRejected:$==="under_review"?Pe.status.requestUnderReview:"";return t.jsxs(zr,{windowSize:B,cardPromoType:e,"data-testid":V("list-page-promo-card",e),onClick:()=>F(e),children:[t.jsxs(ia,{isStatusMode:L,children:[t.jsxs(na,{children:[L?t.jsx(Ur,{children:G}):t.jsx(oa,{children:u}),t.jsx(Wr,{children:d}),L?null:t.jsx(qr,{children:n})]}),!L&&t.jsxs(Jr,{children:[t.jsx(Kr,{}),m.length>0&&t.jsx(dt,{slideUpCount:m.length,children:m.map((ne,se)=>t.jsx(sa,{children:ne},`card-promo-${se.toString()}`))}),t.jsx(Yr,{})]}),U!=null&&L?t.jsx(Vr,{status:$,children:U}):null]}),t.jsx(Qr,{isStatusMode:L,children:t.jsx(Pr,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})}),t.jsx(Xr,{isStatusMode:L,children:t.jsx(Er,{cardPromoType:e,cardText:c,shouldAnimate:!1,forDashboard:!1,showChip:!1,forListPage:!0})})]})},Vt=({cardType:e,header:c,title:u,creditLimit:d,onCreateNowClick:n})=>{const m=Ee();return t.jsx(Or,{windowSize:m,cardType:e,children:t.jsxs(_r,{children:[t.jsxs(na,{children:[t.jsx(oa,{children:c}),t.jsx(Gr,{children:t.jsx(Hr,{children:u})}),t.jsx(Zr,{windowSize:m,children:t.jsxs(ei,{windowSize:m,onClick:()=>n(e),"data-testid":V("total-cashback-info"),children:[t.jsx(sa,{children:Pe.createNow}),t.jsx(ti,{})]})})]}),e==="creditCard"?t.jsxs(ai,{children:[t.jsx(ri,{children:Pe.creditLimit}),t.jsx(ii,{children:d})]}):null]})})},Nr=e=>{const c=e-1;let u=`
2
2
  0% {
3
3
  transform: translateY(0);
4
4
  }
@@ -1,4 +1,4 @@
1
- import{cd as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,g as ze,gZ as hi,iP as pi,iQ as ui,iR as mi,aR as gi,o as i,aP as G,cm as xi,b as Be,p as I,b3 as wi,ct as Ci,iS as fi,iT as yi,bT as ye,cw as Ve,bO as Si,aT as ki,y as C,eF as vi,ba as $i,iU as ji,aU as bi,h as Ii,ai as ee,h0 as Li,am as Y,al as J,u as p,cS as zi,c$ as Fi,iV as Ai,iW as Pi,R as ft,bY as yt,iX as St,iY as Ri,bR as Bi,cz as Ye,iZ as kt,dw as Di,dx as q,aN as ce,cv as vt,T as $t,i_ as _i,cC as Ei,iH as Je,bK as jt,bM as bt,i$ as Ti,j0 as Vi,aV as $e,bt as Oi,bZ as Ui,b_ as Ni,j1 as Mi}from"./index-o0j-GZyM.js";import{P as pe,a as f}from"./sentry-DmQUfSE7.js";import{n as o,c as Ze}from"./mui-CAW43Z2L.js";import{T as It}from"./RoleWithToolTip-YZusZfiJ-BELittL3.js";import{j as Oe}from"./CardNumberSubText-g2_GoH9f-aD70vkbB.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]="deeafb97-ae15-4baf-86dc-0aa12c63e74a",e._sentryDebugIdIdentifier="sentry-dbid-deeafb97-ae15-4baf-86dc-0aa12c63e74a")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Xe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Qe={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Xe,width:new C(0,0),value:Wi},Qe,et,tt,it,ot]:[Xe,Qe,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:$}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Gi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:j,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,R]=f.useState(!1);f.useEffect(()=>{h||R(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),R(!1))},[l.length,h]);const B=r.cardId===a.id,D=l.includes(a.id),z=B&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{j(a.id,S)},[a.id]),V=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,A=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",O=Di(a.cardHolderUser,!1),H=a.balance,F=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),V!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(V)}${Hi}`})}):null]}),Z=a.type.code,_=$.cardList.tooltip[Z],de=_!=null?W?_.self:`${O} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Zi,{onClick:M,"data-testid":G("card-row",a.id),children:t.jsxs(Qi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:F[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:F[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:$.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:F[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Oe,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx($t,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":G("send-reminder",a.id),children:$.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:F[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&A&&R(!0)},onMouseLeave:()=>{A&&R(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&A:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:$.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Ve,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Fe=>{b||m(Fe)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Xi,{}),t.jsx(fe,{children:$.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]}),t.jsx(je,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:$.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(e,s)=>{switch(e){case"active":return new $e(I.success);case"request_on_hold":return new $e(I.graphColor36);case"inactive":return new $e(I.alert);default:return new $e(s.colors.grey1)}},T=o(J)`
1
+ import{cd as ni,V as t,a9 as li,ac as di,F as le,J as ie,aw as Se,a8 as ci,g as ze,gZ as hi,iP as pi,iQ as ui,iR as mi,aR as gi,o as i,aP as G,cm as xi,b as Be,p as I,b3 as wi,ct as Ci,iS as fi,iT as yi,bT as ye,cw as Ve,bO as Si,aT as ki,y as C,eF as vi,ba as $i,iU as ji,aU as bi,h as Ii,ai as ee,h0 as Li,am as Y,al as J,u as p,cS as zi,c$ as Fi,iV as Ai,iW as Pi,R as ft,bY as yt,iX as St,iY as Ri,bR as Bi,cz as Ye,iZ as kt,dw as Di,dx as q,aN as ce,cv as vt,T as $t,i_ as _i,cC as Ei,iH as Je,bK as jt,bM as bt,i$ as Ti,j0 as Vi,aV as $e,bt as Oi,bZ as Ui,b_ as Ni,j1 as Mi}from"./index-DJv_Rbuz.js";import{P as pe,a as f}from"./sentry-BAZEeDR7.js";import{n as o,c as Ze}from"./mui-vpVhZoFp.js";import{T as It}from"./RoleWithToolTip-B0JWC_SV-CXgbdRFg.js";import{j as Oe}from"./CardNumberSubText-CtZArtEN-C5CUm4jT.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]="6dc63496-feb6-409b-9154-92582dfbb75a",e._sentryDebugIdIdentifier="sentry-dbid-6dc63496-feb6-409b-9154-92582dfbb75a")}catch{}})();const ge=le.getLocalizedStrings().spendManagement.chargeCard.cardList.header,Wi=le.getLocalizedStrings().common.strings.empty,Xe={key:"owner",value:ge.owner,sortOrder:"ascending",width:new C(120,120,160,200,200)},Qe={key:"cardName",value:ge.cardName,sortOrder:"ascending",width:new C(120,120,160,171,171)},et={key:"cardType",value:ge.cardType,sortOrder:"ascending",width:new C(120,120,130,170,170)},tt={key:"status",value:ge.status,sortOrder:"ascending",width:new C(115,115,125,132,132)},it={key:"utilisation",value:ge.utilisation,sortOrder:"ascending",width:new C(p[11],p[11],p[11],p[12],120)},ot={key:"limit",value:ge.limit,sortOrder:"ascending",width:new C(68,68,68,120,120)},Lt=e=>e===!0?[{...Xe,width:new C(0,0),value:Wi},Qe,et,tt,it,ot]:[Xe,Qe,et,tt,it,ot],{common:Ce,spendManagement:{billPay:{paymentDetails:{feePercent:Hi}},chargeCard:$}}=le.getLocalizedStrings(),re={containerPaddingLeft:new C(p[3],p[2]),containerPaddingRight:new C(p[2],p[3]),containerPaddingTop:new C(p[2],p[3]),containerPaddingBottom:new C(p[2],p[3]),containerMarginLeft:new C(p[4],p[0]),containerMarginRight:new C(p[4],p[0]),webkitLineClamp:new C(2,1,1,1,1)};var Ki=(e=>(e.CLOSE="close",e.LOCK="lock",e.UNLOCK="unlock",e.RENAME="rename",e.UPDATE_SPEND_LIMIT="update_spend_limit",e.REVOKE_INVITE="revoke_invite",e))(Ki||{});const qi={moreItemFont:new ft("extraSmallRegular","smallRegular")},Gi=({setCardIdForRowAction:e,setActionTypeForRowAction:s,rowActionView:r,revokeChargeCardsInviteFetchState:d,unlockChargeCardsFetchState:c,cardsSelectedForBulkAction:l,cardDetail:a,isCardControlsEnabled:n,showViewForCardUser:x,signedInUser:w,resendInviteId:g,index:S,onChargeCardRowClick:j,onChargeCardResendInviteClick:k})=>{const[h,m]=f.useState(!1),[y,R]=f.useState(!1);f.useEffect(()=>{h||R(!1)},[h]),f.useEffect(()=>{l.length>0&&h&&(m(!1),R(!1))},[l.length,h]);const B=r.cardId===a.id,D=l.includes(a.id),z=B&&r.unlockChargeCardsFetchState.fetchState==="In-Progress"||D&&c==="In-Progress",N=B&&r.revokeChargeCardFetchState.fetchState==="In-Progress"||D&&d==="In-Progress",u=z||N,v=ie(),E=!!Se().loggedInUserRole.includes("charge_card_user")||x,M=f.useCallback(()=>{j(a.id,S)},[a.id]),V=kt(a)/a.limit.amount*100,W=a?.cardHolderUserId===w.userId,A=a.status.code!=="closed"&&a.status.code!=="closed_by_customer",O=Di(a.cardHolderUser,!1),H=a.balance,F=Lt(E),te=t.jsxs(t.Fragment,{children:[t.jsx(q,{isLoading:u,customStyle:{width:i.sp9,height:"20px",borderRadius:i.sp1},children:t.jsx(uo,{title:ce("0,0.[00]",H),className:"amountToUtilize",children:ce("0,0.[00]",H)})}),V!==0?t.jsx(q,{isLoading:u,customStyle:{width:i.sp11,height:i.sp3,borderRadius:i.sp1},children:t.jsx(mo,{className:"amountToUtilize",children:`${Math.round(V)}${Hi}`})}):null]}),Z=a.type.code,_=$.cardList.tooltip[Z],de=_!=null?W?_.self:`${O} ${_.cardUser}`:Ce.strings.empty;return t.jsx(Ji,{windowSize:v,children:t.jsx(Zi,{onClick:M,"data-testid":G("card-row",a.id),children:t.jsxs(Qi,{children:[E?null:t.jsx(ue,{children:t.jsxs(eo,{windowSize:v,responsiveWidth:F[0].width,children:[t.jsx(q,{isLoading:u,flex:"0 0",customStyle:{width:i.sp6,height:i.sp6,borderRadius:"50%"},children:t.jsx(vt,{personBasic:a.cardHolderUser,styles:{height:i.sp6,width:i.sp6,minWidth:i.sp6}})}),t.jsxs(io,{isLoading:u,children:[t.jsx(to,{isLoading:u,children:t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(oo,{windowSize:v,title:O,className:"cardHolderName",children:O===Ce.strings.empty?Ce.strings.hyphen:O})})}),t.jsx(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:t.jsx(nt,{className:"additionalInfoContainer",children:a.cardHolderRoles?.userRoles!=null&&t.jsx(It,{roles:a.cardHolderRoles?.userRoles})})})]})]})}),t.jsx(ue,{children:t.jsxs(no,{isLoading:u,windowSize:v,responsiveWidth:F[1].width,children:[t.jsx(q,{isLoading:u,customStyle:{width:"88px",height:"20px",borderRadius:i.sp1},children:t.jsx(lo,{title:a.cardName,className:"cardName",children:a.cardName})}),t.jsxs(q,{isLoading:u,customStyle:{width:"104px",height:i.sp3,borderRadius:i.sp1},children:[" ",t.jsx(yo,{windowSize:v,className:"cardNameSubText",children:a.status.code==="request_on_hold"?Ce.strings.hyphen:$.cardDetails.expiryHideOut+Ce.strings.space+a.accountLast4})]})]})}),t.jsx(ue,{children:t.jsx(co,{windowSize:v,responsiveWidth:F[2].width,children:t.jsx(ho,{className:"card-type",children:t.jsx(q,{isLoading:u,customStyle:{width:"144px",height:i.sp4,borderRadius:i.sp1},children:t.jsx(Oe,{cardDetail:a,forDetailPage:!1})})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[3].width,children:t.jsx(q,{isLoading:u,customStyle:{width:"112px",height:i.sp4,borderRadius:i.sp1},children:g===a.id?t.jsx($t,{size:"Small",start:!0}):t.jsxs(po,{children:[t.jsx(wo,{children:a.status.code==="request_on_hold"?t.jsxs(ye,{display:"flex",title:de,placement:"top",style:{padding:`${i.sp2} ${i.sp3}`},children:[t.jsx(Le,{status:a.status.code,style:{cursor:"pointer"}}),t.jsx(go,{style:{marginLeft:i.sp1},className:"infoIconTooltip"})]}):t.jsx(Le,{status:a.status.code})}),a.status.code==="request_on_hold"&&!W?t.jsx(xo,{onClick:K=>{K.stopPropagation(),k(a.id)},"data-testid":G("send-reminder",a.id),children:$.cardList.sendReminder}):null]})})})}),t.jsx(ue,{children:t.jsx(lt,{windowSize:v,isLoading:u,responsiveWidth:F[4].width,children:te})}),t.jsx(ue,{children:t.jsxs(so,{windowSize:v,responsiveWidth:F[5].width,children:[t.jsxs(ro,{windowSize:v,isLoading:u,children:[t.jsx(q,{isLoading:u,customStyle:{width:"68px",height:"20px",borderRadius:i.sp1},children:t.jsx(ao,{className:"limitAmount",windowSize:v,title:ce("0,0.[00]",a.limit),children:ce("0,0.[00]",a.limit)})}),t.jsx(nt,{className:"additionalInfoContainer",children:t.jsx(q,{isLoading:u,customStyle:{width:i.sp8,height:i.sp3,borderRadius:i.sp1},children:a.creditLimitFrequency.name})})]}),t.jsx(Co,{className:"menu-icon",onMouseEnter:()=>{!h&&A&&R(!0)},onMouseLeave:()=>{A&&R(!1)},children:(()=>{const K=a.status.code==="locked",oe=a.status.code==="closed"||a.status.code==="closed_by_customer",xe=E?n&&!u&&!oe&&!(K&&a.isLockedByAdmin):n?!u&&A:a.status.code==="request_on_hold",b=l.length>0;return xe&&t.jsx(ye,{open:y&&!h&&!b,variant:"standard",title:$.cardList.moreActionsTooltip,placement:"bottom-end",children:t.jsx(Ve,{isMenuVisible:!0,menuItems:t.jsx(fo,{children:t.jsx(zt,{cardDetail:a,isCardControlsEnabled:n,isChargeCardUser:E,setIsMenuOpen:m,setCardIdForRowAction:e,setActionTypeForRowAction:s})}),setIsMenuOpen:Fe=>{b||m(Fe)},isMenuOpen:h&&!b,menuIconStyles:{height:"auto",cursor:b?"not-allowed":"pointer",opacity:b?.5:1,pointerEvents:b?"none":"auto"},styles:{transform:`translate(${i.sp3},${i.sp2})`}})})})()})]})})]})})})},zt=({cardDetail:e,isCardControlsEnabled:s,isChargeCardUser:r,setIsMenuOpen:d,setCardIdForRowAction:c,setActionTypeForRowAction:l})=>{const a=ie();return s?e.status.code==="request_on_hold"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:[t.jsx(Xi,{}),t.jsx(fe,{children:$.cardDetails.revokeInvite})]})]}):e.status.code==="inactive"?r?t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="locked"?r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("unlock")},children:[t.jsx(at,{}),t.jsx(T,{children:$.cardDetails.moreOptions.unlock})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsx(je,{}),t.jsxs(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):r?t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("update_spend_limit")},children:[t.jsx(st,{}),t.jsx(T,{children:$.cardDetails.moreOptions.updateSpendLimit})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("rename")},children:[t.jsx(se,{}),t.jsx(T,{children:$.cardDetails.moreOptions.rename})]}),t.jsxs(L,{windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("lock")},children:[t.jsx(rt,{}),t.jsx(T,{children:$.cardDetails.moreOptions.lock})]}),t.jsx(je,{}),t.jsxs(L,{windowSize:a,hoverImportant:!0,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("close")},children:[t.jsx(Re,{}),t.jsx(fe,{children:$.cardDetails.moreOptions.close})]})]}):e.status.code==="request_on_hold"?t.jsx(L,{hoverImportant:!0,windowSize:a,onClick:n=>{n.stopPropagation(),d(!1),c(e.id),l("revoke_invite")},children:t.jsx(fe,{children:$.cardDetails.revokeInvite})}):null},Le=({status:e,style:s})=>{const r=ze(),d=Yi(e,r),c=le.getLocalizedStrings().spendManagement.chargeCard.cardList.status;return ie()==="small"?t.jsx(Je,{textColor:d,text:c[e],tagStyles:{maxWidth:i.sp10,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",padding:"1px 6px",...s}}):t.jsx(Je,{textColor:d,text:c[e],styles:s,tagStyles:{padding:"1px 6px"}})},Yi=(e,s)=>{switch(e){case"active":return new $e(I.success);case"request_on_hold":return new $e(I.graphColor36);case"inactive":return new $e(I.alert);default:return new $e(s.colors.grey1)}},T=o(J)`
2
2
  color: inherit;
3
3
  `,fe=o(J)`
4
4
  color: ${I.important};
@@ -1,4 +1,4 @@
1
- import{a8 as ze,aw as Re,J as H,g as F,V as t,bC as Ie,b as I,g6 as Te,F as T,u as l,o as i,y as x,jk as De,cd as Be,jl as X,aP as M,b3 as Me,ct as Oe,iS as Ae,bO as Ne,aT as He,al as W,dx as j,gX as Z,aN as V,bT as We,cv as Ee,bR as _e,am as N,cz as Q,p as $,gY as pe,fQ as me,fM as ge,ci as Ve,ai as K,iH as ue,bM as Fe,jm as Ke,i_ as Ue,cC as Ye,aV as z,i$ as Ze,j0 as Ge}from"./index-o0j-GZyM.js";import{a as S,P as G}from"./sentry-DmQUfSE7.js";import{n,c as q}from"./mui-CAW43Z2L.js";import{t as Je}from"./SpendManagementSection-eYrLZK1E-KjAWYeIa.js";import{r as Xe,a as Qe,i as ye,g as qe}from"./SpendManagementListViewPage-s4dPd5hE-IanF8B1T.js";import{ck as xe,G9 as fe}from"./zeni-epic-state-C4Tt6Qhq.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-DCTaBPDp.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";import"./StatusSwitcher-DFluM61E-D9icc7U1.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]="b08e66b7-39f0-4dd3-9f9d-33e3c6f26c1c",e._sentryDebugIdIdentifier="sentry-dbid-b08e66b7-39f0-4dd3-9f9d-33e3c6f26c1c")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],k={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ze,Ge)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=F(),r=H(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(_e,{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":M("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":M("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":M("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=G.memo(st),dt=n.div`
1
+ import{a8 as ze,aw as Re,J as H,g as F,V as t,bC as Ie,b as I,g6 as Te,F as T,u as l,o as i,y as x,jk as De,cd as Be,jl as X,aP as M,b3 as Me,ct as Oe,iS as Ae,bO as Ne,aT as He,al as W,dx as j,gX as Z,aN as V,bT as We,cv as Ee,bR as _e,am as N,cz as Q,p as $,gY as pe,fQ as me,fM as ge,ci as Ve,ai as K,iH as ue,bM as Fe,jm as Ke,i_ as Ue,cC as Ye,aV as z,i$ as Ze,j0 as Ge}from"./index-DJv_Rbuz.js";import{a as S,P as G}from"./sentry-BAZEeDR7.js";import{n,c as q}from"./mui-vpVhZoFp.js";import{t as Je}from"./SpendManagementSection-BiaaUF2E-yH0f2tK1.js";import{r as Xe,a as Qe,i as ye,g as qe}from"./SpendManagementListViewPage-dO6dKd5h-CJ1bhZ9x.js";import{ck as xe,G9 as fe}from"./zeni-epic-state-p-hirlWD.js";import{r as et}from"./auto-transfer-rule-mbafm5D3-irLOnk7B.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./StatusSwitcher-DSYj3PS_-CAzhtczP.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]="c2d1c83f-c7aa-40e9-8550-77be4f77a530",e._sentryDebugIdIdentifier="sentry-dbid-c2d1c83f-c7aa-40e9-8550-77be4f77a530")}catch{}})();const E=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory.header,tt={key:"paymentDate",value:E.paymentDate,sortOrder:"ascending",width:new x(18,18,18,18,18)},it={key:"sourceAccount",value:E.sourceAccount,sortOrder:"ascending",width:new x(30,30,30,30,30)},nt={key:"paymentStatus",value:E.paymentStatus,sortOrder:"ascending",width:new x(22,22,22,22,22)},ot={key:"initiatedBy",value:E.initiatedBy,sortOrder:"ascending",width:new x(18,18,18,18,18)},at={key:"amount",value:E.amount,sortOrder:"ascending",width:new x(12,12,12,12,12)},we=()=>[tt,it,nt,ot,at],k={containerPaddingLeft:i.sp2,containerPaddingRight:i.sp3,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new x(l[0],l[4]),headerLastColumnRightPadding:new x(l[3],l[11]),headerLastColumnBottomPadding:new x(l[0],l[4]),headerLastColumnLeftPadding:new x(l[0],l[11]),headerHeight:new x(Ze,Ge)};function st({companyNameSticky:e,sortConfig:o,onColumnSortConfigChanged:c}){const a=F(),r=H(),[d,g]=S.useState(we());S.useEffect(()=>{const s=[...d];for(const m of s)m.key===o.sortKey?m.sortOrder=o.sortOrder:m.sortOrder="ascending";g(s)},[o.sortKey,o.sortOrder]);const y=(s,m)=>{let C=m;o.sortKey===s&&(C=m==="ascending"?"descending":"ascending"),c(s,C)},h=d.find(s=>s.key===o.sortKey)??d[0],p=s=>d.find(m=>m.key===s)?.value??"",u=d.map(s=>s.key),b=T.getLocalizedStrings().spendManagement.chargeCard.paymentHistory;return r==="small"?t.jsxs(ct,{windowSize:r,children:[t.jsxs(mt,{children:[t.jsx(ut,{children:t.jsx(gt,{})}),t.jsx(_e,{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":M("mobile-payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:h.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:h,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]})]}):t.jsx(dt,{windowSize:r,children:t.jsx(lt,{children:d.map(s=>s.width.value(r)!==0&&t.jsxs(ht,{companyNameSticky:e,sortDataValue:o.sortKey,actualDataValue:s.key,wrapperWidth:s.width,windowSize:r,children:[t.jsxs(xt,{onClick:()=>y(s.key,s.sortOrder),"data-testid":M("payment-history-list-sort-clicked",o.sortKey),children:[t.jsx(N,{children:s.value}),t.jsx(ee,{windowSize:r,sortDataValue:o.sortKey,headerdata:s,children:t.jsx(te,{windowSize:r,children:t.jsx(Q,{})})})]}),t.jsx(yt,{sortDataValue:o.sortKey,windowSize:r,isVisible:o.sortKey===s.key&&!(o.sortKey==="paymentDate"&&o.sortOrder==="ascending"),children:t.jsx(pt,{onClick:()=>y("paymentDate","ascending"),"data-testid":M("payment-history-list-sort-cancel",o.sortKey)})})]},s.key))})})}const rt=G.memo(st),dt=n.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{J as $,V as r,g as J,aw as ye,a8 as $e,aQ as je,aN as Se,fU as Te,bC as ze,ft as ve,r as Y,aP as ee,F as oe,o as t,d as Pe,e as O,cD as ke,aq as Ie,y as u,ap as Ae,bT as Be,iL as Le,ai as Re,u as p,R as S,p as b,ba as _e,aU as Ee,iM as Me}from"./index-o0j-GZyM.js";import{a as T}from"./sentry-DmQUfSE7.js";import{n as a,c as De,k as Fe}from"./mui-CAW43Z2L.js";import{EP as Ue}from"./zeni-epic-state-C4Tt6Qhq.js";import{k as Ne}from"./NavigationDots-DaOFOsFA-BBWJs6hX.js";import{J as H,N as G}from"./PromoBaseCards-C37GX90J-DqWlf7fN.js";import{M as R}from"./usp-line-BBd1wKwW-D5-lu6m5.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.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]="983b2ec1-8fda-431b-b7a4-77b243a2e9b1",e._sentryDebugIdIdentifier="sentry-dbid-983b2ec1-8fda-431b-b7a4-77b243a2e9b1")}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:V,onExpressInterestClick:ge})=>{const he=J(),W=ye(),v=$(),Q=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:E}=i,X=je(_?.fetchStatus.fetchState),[ue,Z]=T.useState(!1),xe=()=>{Q.trackCardsPromoPageClicked("schedule demo"),Q.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:x,isCreditCardEnabled:w},"Cards Promo"),Z(!0)},we=C!=null&&E!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:E.currencyCode,currencySymbol:E.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&V()},[X,V,_?.fetchStatus]);const q=Ue(W.loggedInUserRoleMap),fe=Te(W),M=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:be}=i,K=M?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),ue===!0?r.jsx(ve,{onCancelClick:()=>{Z(!1)},meetingUrl:e}):null,r.jsx(qe,{windowSize:v,children:q===!0?r.jsxs(Ze,{children:[r.jsxs(Xe,{children:[r.jsx(Ge,{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(Je,{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(Qe,{windowSize:v,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]})},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(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})})},Ge=({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})]})]})},Je=({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(Oe,{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})]})},Oe=({cards:e,companyLegalName:s})=>{const i=J(),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(Ve,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{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(L,{children:[r.jsx(y,{windowSize:i,children:n.item1.pre}),r.jsx(A,{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(I,{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(A,{windowSize:i,children:n.item2.bold}),r.jsx(y,{windowSize:i,children:n.item2.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(cr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item3.pre}),r.jsx(A,{windowSize:i,children:n.item3.bold}),r.jsx(y,{windowSize:i,children:n.item3.post})]})]}),r.jsxs(I,{windowSize:i,children:[r.jsx(B,{children:r.jsx(dr,{})}),r.jsxs(L,{children:[r.jsx(y,{windowSize:i,children:n.item4.pre}),r.jsx(A,{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 Ve=()=>{const e=$(),s=J(),[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(G,{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(G,{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,g as J,aw as be,a8 as $e,aQ as je,aN as Se,fU as Te,bC as ze,ft as ve,r as Y,aP as ee,F as oe,o as t,d as Pe,e as O,cD as ke,aq as Ie,y as u,ap as Ae,bT as Be,iL as Le,ai as Re,u as p,R as S,p as y,ba as _e,aU as Ee,iM as Me}from"./index-DJv_Rbuz.js";import{a as T}from"./sentry-BAZEeDR7.js";import{n as a,c as De,k as Fe}from"./mui-vpVhZoFp.js";import{EP as Ue}from"./zeni-epic-state-p-hirlWD.js";import{k as Ne}from"./NavigationDots-B6QtTUea-NrUSmXgc.js";import{J as H,N as G}from"./PromoBaseCards-DG-4_luF-BJ1gMZoU.js";import{M as R}from"./usp-line-BBd1wKwW-COokDSR0.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.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]="24eb5bef-2a85-435b-8749-e7c7e7a3180f",e._sentryDebugIdIdentifier="sentry-dbid-24eb5bef-2a85-435b-8749-e7c7e7a3180f")}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:V,onExpressInterestClick:ge})=>{const he=J(),W=be(),v=$(),Q=$e().analytics,{chargeCardTermsDetails:_,companyChargeCardInfo:C,companyLocaleInfo:E}=i,X=je(_?.fetchStatus.fetchState),[ue,Z]=T.useState(!1),xe=()=>{Q.trackCardsPromoPageClicked("schedule demo"),Q.trackCardsScheduleDemoClick(c,{isCreditCardOffered:m,isDebitCardOffered:h,isDebitCardEnabled:x,isCreditCardEnabled:w},"Cards Promo"),Z(!0)},we=C!=null&&E!=null?Se("0,0",{amount:C.chargeCardsCreditAccountLimit,currencyCode:E.currencyCode,currencySymbol:E.currencySymbol}):void 0;T.useEffect(()=>{X==="In-Progress"&&_?.fetchStatus.fetchState==="Completed"&&V()},[X,V,_?.fetchStatus]);const q=Ue(W.loggedInUserRoleMap),fe=Te(W),M=f==="credit"&&C?.isCompanyInterestedInChargeCard===!1&&C.chargeCardsCreditAccountLimit===0,D=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===-1,F=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit===0,Ce=f==="credit"&&C?.isCompanyInterestedInChargeCard===!0&&C.chargeCardsCreditAccountLimit>0,{expressInterestInChargeCardFetchState:ye}=i,K=M?o.getPreApprovedNow:n?o.enableCardsButton:o.setupCardsButton;return r.jsxs(We,{children:[r.jsx(ze,{title:o.title[f],backgroundColor:he.colors.grey4,onBackClick:pe,showBackButton:!0,showMenuIcon:v==="medium-compact"||v==="small",onClickMenuIcon:me,style:{zIndex:9},source:"ChargeCardPromoPage"}),ue===!0?r.jsx(ve,{onCancelClick:()=>{Z(!1)},meetingUrl:e}):null,r.jsx(qe,{windowSize:v,children:q===!0?r.jsxs(Ze,{children:[r.jsxs(Xe,{children:[r.jsx(Ge,{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(Je,{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(Qe,{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(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})})},Ge=({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})]})]})},Je=({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(Oe,{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})]})},Oe=({cards:e,companyLegalName:s})=>{const i=J(),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(Ve,{}):r.jsxs(nr,{windowSize:e,children:[r.jsx(H,{cardPromoType:s,cardText:i,shouldAnimate:!0,showChip:!0,forDashboard:!1,forListPage:!1}),r.jsx(G,{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(L,{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(L,{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(L,{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(L,{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 Ve=()=>{const e=$(),s=J(),[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(G,{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(G,{cardPromoType:l.cardType,cardText:l.cardText,showChip:!0,shouldAnimate:!1,forDashboard:!1,forListPage:!1,style:{border:"none",opacity:.1,maskImage:"linear-gradient(to top, black, transparent)",WebkitMaskImage:"linear-gradient(to top, black, transparent)"}})},`reflection-${l.id}`)]},l.id))}),c&&r.jsx(Ne,{numberOfDots:w.length,activeIndex:i,handleClick:n,promoColor:s.colors.primary,promoColorHover:s.colors.grey5,spendManagementPromoCardActive:!0,dotStyle:{width:t.sp2,height:t.sp2},style:{cursor:"default",position:"absolute",bottom:g.navigationBottom.valuePx(e),left:g.navigationLeft.valuePx(e),zIndex:7}})]})},We=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -76,14 +76,14 @@ import{J as $,V as r,g as J,aw as ye,a8 as $e,aQ as je,aN as Se,fU as Te,bC as z
76
76
  visibility: hidden;
77
77
  `}
78
78
  `,er=a(O)`
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
81
  ${e=>`${z.promoBadgeText.style(e.windowSize)}`};
82
82
  span {
83
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)};
@@ -134,7 +134,7 @@ import{J as $,V as r,g as J,aw as ye,a8 as $e,aQ as je,aN as Se,fU as Te,bC as z
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
139
  ${e=>`${z.uspText.style(e.windowSize)}`};
140
140
  `,A=a(Ee)`
@@ -143,13 +143,13 @@ import{J as $,V as r,g as J,aw as ye,a8 as $e,aQ as je,aN as Se,fU as Te,bC as z
143
143
  `,B=a.div``,L=a.div`
144
144
  padding-left: ${t.sp3};
145
145
  `,sr=a(R)`
146
- color: ${b.graphColor16Dark};
146
+ color: ${y.graphColor16Dark};
147
147
  `,dr=a(R)`
148
- color: ${b.alert};
148
+ color: ${y.alert};
149
149
  `,lr=a(R)`
150
- color: ${b.graphColor11};
150
+ color: ${y.graphColor11};
151
151
  `,cr=a(R)`
152
- color: ${b.success};
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`
@@ -210,10 +210,10 @@ import{J as $,V as r,g as J,aw as ye,a8 as $e,aQ as je,aN as Se,fU as Te,bC as z
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%;
@@ -1,4 +1,4 @@
1
- import{g as je,J as Oe,a8 as Ue,aQ as M,a9 as Be,cF as _e,aV as J,V as t,fb as $e,p as Re,y as d,bC as ze,T as We,ac as Le,fu as Ne,dR as qe,fv as He,o as B,b as Me,iN as G,bw as Je,aR as Ge,fx as Qe,F as Xe,u as a,al as Ke}from"./index-o0j-GZyM.js";import{a as f}from"./sentry-DmQUfSE7.js";import{n as w}from"./mui-CAW43Z2L.js";import{bJ as Ye}from"./zeni-epic-state-C4Tt6Qhq.js";import{u as Ze}from"./LabeledControlledCheckBoxField-AuHfNy1--CYnnof78.js";import{g as et}from"./UploadAdditionalDocumentOverlay-DvAwuTYB-DJVdyOgq.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.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]="5c4c982f-e97a-4995-90b4-90664a8ed4cd",e._sentryDebugIdIdentifier="sentry-dbid-5c4c982f-e97a-4995-90b4-90664a8ed4cd")}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}=Xe.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:g}=Y,{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:$,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:z}=o,W=M(C),k=M(u.fetchState),V=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>X(o),[o]),values:X(o)}),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=z.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&&W==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,W]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const F=I?.isChargeCardEnabled===!0,D=R?.isDebitCardEnabled===!0,L=R?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(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&&!D&&L:ie?j&&!F&&N:j&&!(F&&D)&&N&&L,Fe=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new J(y.colors.brandColorJadeLight):new J(y.colors.brandColorJadeDark),De=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):de?.()};return t.jsxs(ot,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor: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(ze,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!F&&!D&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Fe}),Ve?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Le,{...V,children:t.jsx("form",{id:K(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:De,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:$?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:z,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:r,onFetchLinkTokenClick:ae,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:re,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:G(m,"enableAutoPay"),checkBoxValue:G(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Ge,{formId: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"})]})},X=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`
1
+ import{g as je,J as Oe,a8 as Ue,aQ as M,a9 as Be,cF as _e,aV as J,V as t,fb as $e,p as Re,y as r,bC as ze,T as We,ac as Le,fu as Ne,dR as qe,fv as He,o as B,b as Me,iN as G,bw as Je,aR as Ge,fx as Qe,F as Xe,u as a,al as Ke}from"./index-DJv_Rbuz.js";import{a as f}from"./sentry-BAZEeDR7.js";import{n as w}from"./mui-vpVhZoFp.js";import{bJ as Ye}from"./zeni-epic-state-p-hirlWD.js";import{u as Ze}from"./LabeledControlledCheckBoxField-DUkmWHyZ-D2AqhRim.js";import{g as et}from"./UploadAdditionalDocumentOverlay-DHgW1eCQ-eDz3OZIL.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="7f9af1c9-1c81-477f-8859-be2fe47abd2b",e._sentryDebugIdIdentifier="sentry-dbid-7f9af1c9-1c81-477f-8859-be2fe47abd2b")}catch{}})();const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(a[1],a[0])},Q="chargeCardSetUpPage",m="payAccount",{commonSetUp:tt,spendManagement:nt}=Xe.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:g}=Y,{setUp:_}=tt,wt=({autoPayThreshold:e,isDisabled:d,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:re,onUpdatePaymentAccountStatus:de,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:$,isRefreshingViewInBackground:Pe,updateStatus:u,accountUpdateStatus:Ae,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:I,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:z}=o,W=M(C),k=M(u.fetchState),V=Be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>X(o),[o]),values:X(o)}),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=z.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&&W==="In-Progress"&&C==="Completed"&&b(!1)},[s,C,W]),f.useEffect(()=>{k==="In-Progress"&&u.fetchState==="Completed"&&P()},[P,k,u.fetchState]);const F=I?.isChargeCardEnabled===!0,D=R?.isDebitCardEnabled===!0,L=R?.isDebitCardTOSAccepted===!0,N=I?.isChargeCardTOSAccepted===!0,q=$?.isBusinessVerified===!0,Ie=l?.accType==="depositAccount"||Ye(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&&!D&&L:ie?j&&!F&&N:j&&!(F&&D)&&N&&L,Fe=O?g.setupSubTitleNotEnabled:g.setupSubTitle,H=y.mode==="light"?new J(y.colors.brandColorJadeLight):new J(y.colors.brandColorJadeDark),De=()=>{!A&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?b(!0):re?.()};return t.jsxs(ot,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>b(!1),style:{backgroundColor: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(ze,{title:g.setupTitle,backgroundColor:y.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!F&&!D&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(at,{windowSize:i,children:Fe}),Ve?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Le,{...V,children:t.jsx("form",{id:K(Q),onSubmit:ve,children:t.jsxs(st,{windowSize:i,children:[t.jsx(Ne,{onClick:De,title:_.businessVerificationTitle,subTitle:_.businessVerificationSubTitle,header:_.businessVerificationHeader,icon:{element:t.jsx(qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:$?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),v?null:t.jsx(He,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:z,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:m,isDisabled:d,onFetchLinkTokenClick:ae,onEstablishConnectionClick:ge,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:g.setupAccountSectionTitle,onEstablishConnectionSuccess:me,icon:{element:t.jsx(Je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:E,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:xe,pageName:g.pageName,accountsPromoConfig:oe,accountSelectContainerStyle:h?{marginBottom:"20px"}:{},bottomComponent:h&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:y.colors.primary,...Me.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:B.sp4,marginTop:B.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:G(m,"enableAutoPay"),checkBoxValue:G(m,"enableAutoPay"),defaultChecked:I?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),O?t.jsx(Ge,{formId:K(Q),primaryBtn:{label:g.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||Ae.fetchState==="In-Progress",isDisabled:d!=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:d,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:d.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%;
@@ -1,4 +1,4 @@
1
- import{g as F,J as N,V as t,bC as W,o as h,F as B,y as g,al as R,b9 as V,a8 as _,hK as O,T as q,aP as J,u as s,c3 as G}from"./index-o0j-GZyM.js";import{n as r}from"./mui-CAW43Z2L.js";import{$ as K,g as U}from"./BoxItem-BdgRTwgI-DiOTWl08.js";import{a as Z}from"./sentry-DmQUfSE7.js";import{w as H}from"./downloadPdf-DVqVkV_p-CELECDCw.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./zeni-epic-state-C4Tt6Qhq.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";import"./commonDimensions-B60Qkfnz-DxGoTy6S.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="22ac640b-ba68-4ce8-aea0-91a13d5c9018",e._sentryDebugIdIdentifier="sentry-dbid-22ac640b-ba68-4ce8-aea0-91a13d5c9018")}catch{}})();const D=B.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},Q=r.div`
1
+ import{g as F,J as N,V as t,bC as W,o as h,F as B,y as g,al as R,b9 as V,a8 as _,hK as O,T as q,aP as J,u as s,c3 as G}from"./index-DJv_Rbuz.js";import{n as r}from"./mui-vpVhZoFp.js";import{$ as K,g as U}from"./BoxItem-G87i4jj9-DJ_JzOgf.js";import{a as Z}from"./sentry-BAZEeDR7.js";import{w as H}from"./downloadPdf-D0z4UUom-u-PDbPBK.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./commonDimensions-C6cMfD5y-ldvdnaDh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="2f8e2fda-9a97-42a8-bab9-3838d70d7309",e._sentryDebugIdIdentifier="sentry-dbid-2f8e2fda-9a97-42a8-bab9-3838d70d7309")}catch{}})();const D=B.getLocalizedStrings().months,Y={downloadButtonSize:new g(s[4],20)},Q=r.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{J as Z,V as t,aP as b,hI as pe,aN as M,r as X,o,aR as he,y as n,C as ee,e as ue,F as oe,b9 as me,d as te,ai as ge,al as F,aQ as fe,a9 as xe,cF as ke,p as $,ac as De,gc as be,cI as $e,eU as Y,cP as G,u as s,fo as we,ci as ye,c0 as je,f0 as Pe,gX as Se,am as q,gY as Le}from"./index-o0j-GZyM.js";import{a as k}from"./sentry-DmQUfSE7.js";import{n as a}from"./mui-CAW43Z2L.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./zeni-epic-state-C4Tt6Qhq.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="e0f00e73-5619-4c11-b39b-b60db874e099",e._sentryDebugIdIdentifier="sentry-dbid-e0f00e73-5619-4c11-b39b-b60db874e099")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:l,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,l)=>`${e}.${l}`,Be=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:ze,common:V}=oe.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:l,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Z(),d=e.fetchState,L=fe(d),[v,_]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,J=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},le=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);J(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>le(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[L,d,x,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const ce=x.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();J(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(W,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(W,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Xe,{}),t.jsxs(Ye,{children:[t.jsx(Ge,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(Je,{children:t.jsx(ro,{"data-testid":b("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:$.heroLight}})})]})}):null,t.jsx(Qe,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:ce,children:t.jsxs(He,{children:[t.jsx(be,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx($e,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ue,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ke,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Q,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:G,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Q,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:G,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
1
+ import{J as Z,V as t,aP as b,hI as pe,aN as M,r as X,o,aR as he,y as n,C as ee,e as ue,F as oe,b9 as me,d as te,ai as ge,al as F,aQ as fe,a9 as xe,cF as ke,p as $,ac as De,gc as be,cI as $e,eU as Y,cP as G,u as s,fo as we,ci as ye,c0 as je,f0 as Pe,gX as Se,am as q,gY as Le}from"./index-DJv_Rbuz.js";import{a as k}from"./sentry-BAZEeDR7.js";import{n as a}from"./mui-vpVhZoFp.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="e0f00e73-5619-4c11-b39b-b60db874e099",e._sentryDebugIdIdentifier="sentry-dbid-e0f00e73-5619-4c11-b39b-b60db874e099")}catch{}})();const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",R="selectDocument",E=e=>{const l=[];return e.checkFront!=null&&l.push(e.checkFront.fileId),e.checkBack!=null&&l.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(f=>({label:f.accountName,value:f.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:l,[R]:{front:e.checkFront,back:e.checkBack}}}},D=(e,l)=>`${e}.${l}`,Be=e=>`${e}_form`,u={largeLabelWidth:new n(160,160,160),rowContentPaddingLeft:new n(s[3],s[4]),checkPicRowContentPaddingXAxis:new n(s[3],s[4]),labeleMarginLeft:new n(s[0],s[0]),labeleMarginBottom:new n(s[2],s[0]),labelMarginRight:new n(s[3],s[3]),labeledFieldPaddingLeft:new n(s[3],s[0]),labeledFieldPaddingRight:new n(s[3],s[2]),labeledFieldPaddingTop:new n(s[3],s[3]),labeledFieldPaddingBottom:new n(s[3],s[2]),infoLabelPaddingRight:new n(s[0],s[3]),infoLabelMarginTop:new n(s[1],s[0])},{spendManagement:ze,common:V}=oe.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=V.documents;function Ie({checkDeposit:e,analytics:l,filesEndPoint:f,openPopup:w,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:S,onCheckDpositClick:T}){const r=Z(),d=e.fetchState,L=fe(d),[v,_]=k.useState(!1),[se,B]=k.useState(!1),z=u.largeLabelWidth.value(r),x=xe({mode:"all",reValidateMode:"onBlur",defaultValues:E(e),values:E(e)}),{isValid:re}=x.formState,J=i=>{const p={amount:{amount:i[g].amount??0,currencyCode:V.currency.currencyCode,currencySymbol:V.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(p)},le=async(i,p)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},p);J(h)}};k.useEffect(()=>{const i=x.watch((p,{name:h})=>{h!=null&&p!=null&&ke(()=>le(h,p))});return()=>{i.unsubscribe()}}),k.useEffect(()=>{L==="Completed"&&d==="Not-Started"&&x.reset(E(e))},[L,d,x,e]),k.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const ce=x.handleSubmit(()=>{if(re){l.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=x.getValues();J(i),T?.()}}),ne=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(I=>I.id===i),A=e.depositAccounts.depositAccounts.findIndex(I=>I.id===i);return h?t.jsx(Ve,{color:Se(A),isSelectedValue:p}):null},de=(i,p)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?p===!0?t.jsx(Re,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(W,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(W,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Xe,{}),t.jsxs(Ye,{children:[t.jsx(Ge,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(Je,{children:t.jsx(ro,{"data-testid":b("check-deposit-form-close"),onClick:()=>{l.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:$.heroLight}})})]})}):null,t.jsx(Qe,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...x,children:t.jsx("form",{id:Be(ve),onSubmit:ce,children:t.jsxs(He,{children:[t.jsx(be,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx($e,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ue,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,p)=>ne(i,p),valueToSubLabels:(i,p)=>de(i,p),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(Ke,{size:r,children:[t.jsxs(Ze,{size:r,children:[t.jsx(Ee,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Q,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(Y,{name:`${D(g,R)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:G,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Q,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(Y,{name:`${D(g,R)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:f,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:G,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:S,openPopup:w,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ee=a(F)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Ne=a(F)`
4
4
  color: ${e=>e.theme.colors.hero};
@@ -1,4 +1,4 @@
1
- import{V as t,b3 as vo,aP as m,bN as pe,aN as U,dm as $o,o as s,p as X,aQ as bn,J as O,aD as kn,ay as Lo,dn as jn,dp as Ao,F as B,u as w,dq as Jn,dr as Nt,ds as It,cb as Pt,dt as Ft,y as V,d2 as zt,aw as Zn,aa as Xe,du as Me,bP as H,T as Bo,g as ce,aV as $,a$ as Qn,dv as Xn,an as Le,dw as Wo,dx as le,ca as Tt,b$ as Sn,ai as Oo,am as we,dy as et,dz as Ae,dA as nt,al as _,ci as ne,dB as Mo,b as Vt,dC as Ee,dD as Cn,dE as _n,dF as No,dG as Io,b9 as ei,aW as T,b6 as Po,cz as Dt,cy as Rt,dH as Fo,b7 as ti,cC as ni,bR as zo,dI as To,dJ as vn,dK as $n,dL as Vo,dM as Do,bT as Ro,bK as Eo,dN as Go}from"./index-o0j-GZyM.js";import{n as a,c as P}from"./mui-CAW43Z2L.js";import{a as N,P as Ho}from"./sentry-DmQUfSE7.js";import{E_ as Et,Fo as Gt,Fp as Ne,Fq as Ht,Fr as Kt,Fs as Yt,Ft as Ut,Fu as ii,Fv as Ko,Fb as xt,E$ as Ie,bm as Ln,bg as oi,Fw as ri,Fx as Yo,bo as Uo,Fc as ai}from"./zeni-epic-state-C4Tt6Qhq.js";import{N as it,D as qo,R as Jo,E as ye,u as v}from"./AccountRow-BNdGXZbT-B-w9AEY5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="35665b5e-9c29-49d8-8106-f1f9447caf0f",e._sentryDebugIdIdentifier="sentry-dbid-35665b5e-9c29-49d8-8106-f1f9447caf0f")}catch{}})();function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Z(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Pe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Zo=a.div`
1
+ import{V as t,b3 as vo,aP as m,bN as pe,aN as U,dm as $o,o as s,p as X,aQ as bn,J as O,aD as kn,ay as Lo,dn as jn,dp as Ao,F as B,u as w,dq as Jn,dr as Nt,ds as It,cb as Pt,dt as Ft,y as V,d2 as zt,aw as Zn,aa as Xe,du as Me,bP as H,T as Bo,g as ce,aV as $,a$ as Qn,dv as Xn,an as Le,dw as Wo,dx as le,ca as Tt,b$ as Sn,ai as Oo,am as we,dy as et,dz as Ae,dA as nt,al as _,ci as ne,dB as Mo,b as Vt,dC as Ee,dD as Cn,dE as _n,dF as No,dG as Io,b9 as ei,aW as T,b6 as Po,cz as Dt,cy as Rt,dH as Fo,b7 as ti,cC as ni,bR as zo,dI as To,dJ as vn,dK as $n,dL as Vo,dM as Do,bT as Ro,bK as Eo,dN as Go}from"./index-DJv_Rbuz.js";import{n as a,c as P}from"./mui-vpVhZoFp.js";import{a as N,P as Ho}from"./sentry-BAZEeDR7.js";import{E_ as Et,Fo as Gt,Fp as Ne,Fq as Ht,Fr as Kt,Fs as Yt,Ft as Ut,Fu as ii,Fv as Ko,Fb as xt,E$ as Ie,bm as Ln,bg as oi,Fw as ri,Fx as Yo,bo as Uo,Fc as ai}from"./zeni-epic-state-p-hirlWD.js";import{N as it,D as qo,R as Jo,E as ye,u as v}from"./AccountRow-D9RFsvgP-CL6TykEf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5df714b6-5e27-4216-adcf-d941bf6cd757",e._sentryDebugIdIdentifier="sentry-dbid-5df714b6-5e27-4216-adcf-d941bf6cd757")}catch{}})();function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Z(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Pe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Zo=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{J as Oe,g as Re,cS as wl,F as ae,y as O,aQ as jl,V as l,bT as We,fH as Me,ap as Le,g1 as _e,o as a,gb as $l,cR as qe,cI as ee,cK as ce,cO as He,e$ as vl,eZ as Sl,cM as Ue,cL as Se,gc as Ne,gd as Il,fz as Cl,cP as Ie,fy as Ve,cQ as Ol,p as Ee,fP as Ge,R as ge,bK as Qe,fG as Ye,al as Pe,g0 as Ke,b as ye,ao as Ll,bH as _l,u as N,dm as El,av as Pl,ge as Dl,am as Fl,gf as Nl,bI as xe,b5 as Vl,c as Ze,ai as kl,d0 as Tl,at as zl,bG as Bl}from"./index-o0j-GZyM.js";import{a as c}from"./sentry-DmQUfSE7.js";import{n as t}from"./mui-CAW43Z2L.js";import{bh as Je,bL as Al}from"./zeni-epic-state-C4Tt6Qhq.js";import{C as Ce}from"./LabeledAddressValueField-Dm962nbv-CJctT64I.js";import{I as Rl}from"./LabeledCreatableSingleSelectField-CZzPQt4P-q5eFoS7_.js";import{Y as ke}from"./LabeledDocumentField-Cj3wNN-j-DRfRBZq3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="9b45b665-6b6d-46bf-ad61-01b14dc2330d",e._sentryDebugIdIdentifier="sentry-dbid-9b45b665-6b6d-46bf-ad61-01b14dc2330d")}catch{}})();const Wl=e=>c.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),c.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("g",{clipPath:"url(#clip0_1350_23850)"},c.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),c.createElement("g",{clipPath:"url(#clip1_1350_23850)"},c.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),c.createElement("g",{clipPath:"url(#clip2_1350_23850)"},c.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),c.createElement("g",{clipPath:"url(#clip3_1350_23850)"},c.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),c.createElement("defs",null,c.createElement("clipPath",{id:"clip0_1350_23850"},c.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),c.createElement("clipPath",{id:"clip1_1350_23850"},c.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),c.createElement("clipPath",{id:"clip2_1350_23850"},c.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),c.createElement("clipPath",{id:"clip3_1350_23850"},c.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Ml}=ae.getLocalizedStrings(),{businessVerification:Te}=Ml,ue={iconSize:new O(N[6],N[10]),gap:new O(N[2],N[3])},Xe={title:new ge("smallSemiBold","standardSemiBold"),description:new ge("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),d=Oe();return l.jsxs(ql,{windowSize:d,children:[e!=null?l.jsx(Hl,{windowSize:d,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ul,{windowSize:d}),l.jsxs(Gl,{children:[l.jsx(Ql,{windowSize:d,children:Te.securityMessageTitle}),l.jsx(Yl,{windowSize:d,children:Te.securityMessageDescription})]})]})},ql=t.div`
1
+ import{J as Oe,g as Re,cS as wl,F as ae,y as O,aQ as jl,V as l,bT as We,fH as Me,ap as Le,g1 as _e,o as a,gb as $l,cR as qe,cI as ee,cK as ce,cO as He,e$ as vl,eZ as Sl,cM as Ue,cL as Se,gc as Ne,gd as Il,fz as Cl,cP as Ie,fy as Ve,cQ as Ol,p as Ee,fP as Ge,R as ge,bK as Qe,fG as Ye,al as Pe,g0 as Ke,b as ye,ao as Ll,bH as _l,u as N,dm as El,av as Pl,ge as Dl,am as Fl,gf as Nl,bI as xe,b5 as Vl,c as Ze,ai as kl,d0 as Tl,at as zl,bG as Bl}from"./index-DJv_Rbuz.js";import{a as c}from"./sentry-BAZEeDR7.js";import{n as t}from"./mui-vpVhZoFp.js";import{bh as Je,bL as Al}from"./zeni-epic-state-p-hirlWD.js";import{C as Ce}from"./LabeledAddressValueField-B8vUdw5X-CDbumss_.js";import{I as Rl}from"./LabeledCreatableSingleSelectField-7qh_QQuc-BNteaTC5.js";import{Y as ke}from"./LabeledDocumentField-wddWSnmD-LvMwzwRA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="81977fed-8427-454d-8d67-957596747854",e._sentryDebugIdIdentifier="sentry-dbid-81977fed-8427-454d-8d67-957596747854")}catch{}})();const Wl=e=>c.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),c.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),c.createElement("g",{clipPath:"url(#clip0_1350_23850)"},c.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),c.createElement("g",{clipPath:"url(#clip1_1350_23850)"},c.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),c.createElement("g",{clipPath:"url(#clip2_1350_23850)"},c.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),c.createElement("g",{clipPath:"url(#clip3_1350_23850)"},c.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),c.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),c.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),c.createElement("defs",null,c.createElement("clipPath",{id:"clip0_1350_23850"},c.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),c.createElement("clipPath",{id:"clip1_1350_23850"},c.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),c.createElement("clipPath",{id:"clip2_1350_23850"},c.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),c.createElement("clipPath",{id:"clip3_1350_23850"},c.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Ml}=ae.getLocalizedStrings(),{businessVerification:Te}=Ml,ue={iconSize:new O(N[6],N[10]),gap:new O(N[2],N[3])},Xe={title:new ge("smallSemiBold","standardSemiBold"),description:new ge("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),d=Oe();return l.jsxs(ql,{windowSize:d,children:[e!=null?l.jsx(Hl,{windowSize:d,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ul,{windowSize:d}),l.jsxs(Gl,{children:[l.jsx(Ql,{windowSize:d,children:Te.securityMessageTitle}),l.jsx(Yl,{windowSize:d,children:Te.securityMessageDescription})]})]})},ql=t.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>ue.gap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as B}from"./index-o0j-GZyM.js";import{n as o}from"./mui-CAW43Z2L.js";import{c as H}from"./SummaryCard-Bcw6fQTD-Do950Kyf.js";import{a as t}from"./sentry-DmQUfSE7.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./zeni-epic-state-C4Tt6Qhq.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";import"./ReloadCard-B5rmmfva-TUZ-Tkd2.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]="d0c74d9e-dce5-4930-85a8-7e6fc4280939",e._sentryDebugIdIdentifier="sentry-dbid-d0c74d9e-dce5-4930-85a8-7e6fc4280939")}catch{}})();const j=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:j}],L=o(w)`
1
+ import{V as r,aL as E,aM as x,F as p,o as l,aP as M,aS as w,ai as y,aT as B}from"./index-DJv_Rbuz.js";import{n as o}from"./mui-vpVhZoFp.js";import{c as H}from"./SummaryCard-DhRtJkhC-BhArQLhg.js";import{a as t}from"./sentry-BAZEeDR7.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./ReloadCard-By3AowEq-x562gX6W.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]="9e733e99-3d15-4da2-9188-a87dd1136218",e._sentryDebugIdIdentifier="sentry-dbid-9e733e99-3d15-4da2-9188-a87dd1136218")}catch{}})();const j=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),D=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),g=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:D},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:v},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:j}],L=o(w)`
2
2
  margin: ${l.sp5};
3
3
  justify-content: space-between;
4
4
  `,W=o.div`