@zeniai/web-cockpit-ui 1.15.5-qa → 1.15.6-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 (279) hide show
  1. package/dist/assets/{ACHDetailsPage-BLKhKkZC-B6yajpe4.js → ACHDetailsPage-DDuW5spI-DmIOfZaQ.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-J3dtNEgn-CyCBRrSq.js → AIPerformancePage-Bbk-pUwz-C4OuKpoP.js} +1 -1
  3. package/dist/assets/AccountInfoPage-D0Kzx5mY-BAk7_PwQ.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-D8oVcn1T-CzQ3IzP7.js → AccountInfoPageContent-BA3WBfD4-D0j1Octx.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-B9_FdrYm-BwA3_wO5.js → AccountLockedInfoModal-Bs1ImO2L-DxzozOh-.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DFjW0u9--yCg_Nq2n.js → AccountReconDetailsDrawerPage-Ci_Eb0_d-BUE92sWn.js} +12 -12
  7. package/dist/assets/{AccountRow-Bq6uJ1hA-CcRQ_R2_.js → AccountRow-BWclqiQh-CE6dTXhw.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DQmHrc8b-4RlJ7dsg.js → AccountsPromoCardStack-BHgGIeBG-CmkZoBWh.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-O987RTn2-BZzZn_Kw.js → AddAddressForCardDrawer-C_QsOhGT-DsebdApi.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-C2Z6f8Y6--FPE1uf9.js → AddToWalletPage-Dllxg_0u-Dx42ctyC.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BlPqvXdx-cDHArZjn.js → AgingReportsPage-CBHhfTKI-C6o1AzEa.js} +1 -1
  12. package/dist/assets/{AllUserItems-CL17FcAl-BcuiUm6t.js → AllUserItems-Bdv9AIQ9-CmD4bDJM.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-CHVwRH_g-CDcR5kBk.js → ApAgingDetailPage-EE3MrY5l-GTVFM97s.js} +5 -5
  14. package/dist/assets/{AppBasePage-CnlPnTBn-C2N-RLb9.js → AppBasePage-02I6V3Np-CCphkJYy.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-C2CNe5yn-CVDhTyQq.js → AppDrawerContent-DbBd9m20-CkGtqH-e.js} +6 -6
  16. package/dist/assets/{ApprovalRulesSettingsPage-XsMzIe4e-BshSh3vL.js → ApprovalRulesSettingsPage-5bJIKss7-Bq1QuSO5.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Ck1uAv_a-CY0UAZzE.js → ArAgingChart-BqBx1Gj1-Dtyx3ykG.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-KRWJzbCq-ENUC0XH0.js → ArAgingDetailPage-D9rI5yue-CC_VXcgM.js} +5 -5
  19. package/dist/assets/{AttachmentView-uaen0kuU-BLtDvJym.js → AttachmentView-CeblaMyI-BGuVsAFd.js} +1 -1
  20. package/dist/assets/{BankAccountSection-CwOhGEgT-HsgZBFUH.js → BankAccountSection-B3v3BDPK-D84yJmse.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-D7BVcqIu-CAilro7y.js → BankAccountWarningSection-DCi9o7_J-CCUXAbXm.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BOdlcBfa-B862853q.js → BankConnectionsSettingsPage-Csbc7IYe-FYIp5A-6.js} +1 -1
  23. package/dist/assets/{BillDetailPage-Ct4Q960V-CcQXypWc.js → BillDetailPage-ByPP2r-L-Dy5TaPD-.js} +6 -6
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DUU4rXuM-CxDkFcxJ.js → BillPayApprovalRuleDetailPage-GDOnscxH-CWuGDMqT.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-C0pcFzje-C_8luS6Q.js → BillPayApprovalRulesPage-BqDyhnz3-B0_T4q5D.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BsEtxcjB-Cdf_GDEd.js → BillPayPromoPage-B1_ugFQw-BTaNERS7.js} +10 -10
  27. package/dist/assets/{BillPaySetUpPage-B-rBYCtR-DgaQzPx9.js → BillPaySetUpPage-Cx2vQIL8-CS_5d8G2.js} +6 -6
  28. package/dist/assets/{BillingSettingsPage-BadzsZdt-BWSUJGLs.js → BillingSettingsPage-BiKaSV4T-CKmWrEJ5.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CbA-LUIt-0sYnn4IM.js → BillsBulkReviewDrawerPage-B8KhD0xH-39Z7_l7K.js} +1 -1
  30. package/dist/assets/{BoxItem-BoanamYM-LrJX4JYX.js → BoxItem-CqsCCOrk-3dsq5OCh.js} +3 -3
  31. package/dist/assets/{BusinessVerificationPage-B9hjIdCd-CJiJbU9u.js → BusinessVerificationPage-8tFxbXGC-DJTKBkwq.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DFO_EKrs-cO_HCGSk.js → CardNumberSubText-ByPbO0F8-NoIjeblD.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-Bp85-5Ie-DVTl8leg.js → CashbackDetailPage-Ve3JZpeP-CIU9Z6Ud.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-D8dY9X8Q-CxLkHRJg.js → ChargeCardDetailPage-D7zLKDQo-BKsWUNwo.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CxplfJ1W-DYMc5T_c.js → ChargeCardListPage-Cnm7GqIj-Bo3bzB3t.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-scY11ryy-DiQBQtP0.js → ChargeCardListTable-bTR8Mmj4-OJHIEg6M.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-Brh4ot5q-DDUd6_3s.js → ChargeCardPaymentHistoryPage-Cufm-hgn-6YH6ILTO.js} +1 -1
  38. package/dist/assets/ChargeCardPromoPage-BUGGPnco-Gkf99GV0.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-Bumq17f6-D0WQyKKN.js → ChargeCardSetupPage-B-jcdCNM-LK6iT6P8.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-DbU7LEIP-CRit8Q5S.js → ChargeCardStatementsPage-CyVlO8hd-CSdH-m0s.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-CFl7Vr_I-CweAWiZj.js → CheckDepositDrawerPage-BmG5ma6K-BUju2PKA.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CRaZZnGr-BljjGZjn.js → CollapsableReportTable-LB-wYzj1-B7gXwkx1.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-C4rN7mXr-DGQrC1mq.js → CompanyOfficerDetailsSection-CMl5cDNs-DXQkvQJO.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-I21kA_Ir-DJjRvGKO.js → CompanyPassportCard-BwHjmTyn-DTj-m8EW.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-BSDnF5-7-BU5nHQfj.js → CompanyPassportPage-BlDBD5EG-C-1jtLrK.js} +1 -1
  46. package/dist/assets/{CompleteProfile-uultMZ5R-B4uDmeYB.js → CompleteProfile-H7UexvAo-DS_U9ezr.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-CpmYtgfk-BNp_aNl4.js → ConfettiBurst-nOkNOTPr-CU4839EQ.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-AfKsEb9G-DJP3ueZ2.js → CreateOrEditVendorPage-Bt2itRHK-lFE26i6l.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-D0Lh5Tw1-DD5m0ddI.js → CreditCardPaymentDrawerPage-B8eb8Q0G-CaFYQ2DA.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-BvNBUOqg-CsBuJI1p.js → CurrencySelectField-DIh7_ile-X1kVuNeI.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-OtCugBPI-D91o4aDd.js → CustomerOnboardingActivationPage-B3t4tiur-DjVPHMY9.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-Dq7dnrBC-CYcBYKlf.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CMqEIIWe-DKTuqAzn.js → CustomerOnboardingDetailPageSkeleton-JE_MoyoU-Bsgy0GZh.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-p062pNc5-BNSIkJLR.js → CustomerOnboardingNoStepsPage-D1XU-7jk-Cn22BABs.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-Byojt-WN-BI89EQZZ.js → CustomerOnboardingPage-DFky4iQx-BxCGJxNC.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-C9W7h_tT-DDpX8IWO.js → CustomerOnboardingProductSuitePage-DZLKr3qq-COlAJTzv.js} +3 -3
  57. package/dist/assets/{Dashboard-Dkwr9npN-DOlsnBvO.js → Dashboard-z7EuNcjw-UzQuGNor.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-Qk5_OFw7-45oSqJmy.js → DashboardReportPage-BX2xSgwt-CtMCy2_m.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-BiD26wyg-BRXfEvXl.js → DashboardSidebarBackgroundAnimation-fiNmHYV3-bIt2Kc3t.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-13TnlK6P-psKtbL0Y.js → DepositAccTransactionItem-CmlUJZgz-bnmz8rhM.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-Dc3G81fB-B2QZVX7l.js → DepositAccTransactionListPage-MLQJ9urd-BDlhd475.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-CCIoGmZO-B9flQJrp.js → DomesticWireDetailsPage-D-SBQqbR-DQWXll-f.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-Nc_Ra7Co-CsNXZ-X3.js → DownloadOverlay-DznbXeUZ-D1NoRQ5k.js} +1 -1
  64. package/dist/assets/{DrawerPage-Bq1naYya-CbTI2Oir.js → DrawerPage-8d8mdD3v-Dfra5TT0.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-BnYTxq_9-Bs1JHHVK.js → EditPeoplePage-CTwY7ePr-D0nnt0-I.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-D-uH9OV3-Cq2uYRbN.js → EditReimbursementDetailPage-DVg6dH7p-CjarxZTI.js} +1 -1
  67. package/dist/assets/EntityDetailPage-Bj5lQ0PH-CGebRb13.js +18 -0
  68. package/dist/assets/{EntitySummarySection-BI44dDjO-B-d9qKtl.js → EntitySummarySection-CloCPwyO-CgnOdasB.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-XA0L4mZw-CpnZngC7.js → ExpenseAutomationOverviewPage-dHZEdK4L-elD22oh3.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationPage-CGkJWoKY-BRMhK3VV.js → ExpenseAutomationPage-CWyP8ETl-CY2GVa2F.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-BX3rmT8V-CwR2-MHb.js → ExpressPayPage-liflPa6J-BKtQJoOF.js} +8 -8
  72. package/dist/assets/{FeaturePreviewPage-W5YS3_F--oZdslOzE.js → FeaturePreviewPage-DhSoy4IL-CDDhl9rE.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-C1Nmspra-g1QKZ2WI.js → FollowStepsSection-DW5HuzRR-DcJNUD9X.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-BfVSGVJe-nrO0MSCI.js → GlobalReviewListPage-CGCdgQFw-qnxwU5hv.js} +1 -1
  75. package/dist/assets/{InformationCardStack-BwgEyJER-DBUBT-P7.js → InformationCardStack-D6xiRsRy-BhoVOIXn.js} +2 -2
  76. package/dist/assets/{InsightsCardStack-BnEWSQ0m-BuxHTIEs.js → InsightsCardStack-D1eIlMkU-ukmVGuFg.js} +5 -5
  77. package/dist/assets/{InsightsSection-hFNVHtei-DFkdhpSF.js → InsightsSection-BT0lHMo3-BgjHvnt6.js} +2 -2
  78. package/dist/assets/{IntegrationsSettingsPage-De8DEt0a-CU8Pbtf9.js → IntegrationsSettingsPage-CRZfnPIT-XEzkhiGZ.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Dri_Nj57-C0blfNRG.js → InternationalWireSwiftDetailsPage-DouGaVny-CRo_03LB.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-CPIRgDy5-BkL1JOGT.js → InternationalWireVerificationPage-B0ha4dEA-D2bWiaRf.js} +3 -3
  81. package/dist/assets/{InviteFormPage-Ca_tdccZ-CGjMuOAB.js → InviteFormPage-dCGpLoBC-CnwRO6GR.js} +1 -1
  82. package/dist/assets/{InvitePageListView-BQbRhQ6V-CRXbgx-s.js → InvitePageListView-DhV6Pw56-Dy7_3oOM.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-BKffwOP--V5gE16hl.js → InvitePeoplePage-J-HYw9MC-DQIPfQK0.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-H-JhX_DQ-Cg45FklV.js → InvoiceUploadSection-BJLLf4x5-BYeTjPlO.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-rinAPB-d-DG3ZhygF.js → IssueChargeCardPage-hEaegmyi-DePIbfxK.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-kPYLLOgv-Ca8uDguJ.js → LabeledAddressValue-PXtKo31O-B1dTxAsd.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-B_N4O3Mv-CPUPG_5z.js → LabeledAddressValueField-D0Ow_UPE-BHdlfsNf.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-DiD9FNgO-D1jXFK30.js → LabeledControlledCheckBoxField-DVOeaKu0-CwyeTdvX.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-BCYMtV4j-BKgMFZkq.js → LabeledCountryMultiSelectField-CJud_Lwc-Sf4MZhvZ.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-Dm03LVdQ-hgzKVxJf.js → LabeledCreatableSingleSelectField-Dqt1M07c-CNB-6Gh3.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-CWqz_jSU-RG8yAT0I.js → LabeledDocumentField-D2n9ry_0-Cul5QuOh.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-DhwPnDY8-Cj0K2Ch4.js → LabeledDropDownFormattedTextField-BfpPbI2T-u_0q2QC6.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-C9feGqHN-USGYCM7x.js → LabeledMultiSelectField-DH6iG4SR-CYpPK-Cw.js} +1 -1
  94. package/dist/assets/{LabeledText-C91Eu04E-CepIkWM4.js → LabeledText-BHQeQs6Z-DhDpA6wq.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-uruIe6mr-CpShuEXQ.js → LabeledUserSingleSelectWithSubtitlesField-CnwVXq2g-CkdExi4v.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-BBpe1-wI-eTEFPYGs.js → LabeledZeniRolesDropDownField-Dpdlc1DB-DQObOG0W.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-Cn7He0uo-CV8un8kj.js → LinkJETransactionPage-CWOfaAhz-DWQUITuq.js} +2 -2
  98. package/dist/assets/{LockCardPage-CaIor45t-Dj9ZYRbG.js → LockCardPage-BMt1zujT-CFeVzpTL.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-DQJYforY-CYt371Eb.js → LowBalancePopup-BN2RBNOV-hy8CG739.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-CRVp5zpz-D5GQff-7.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9jW4rg-77L1DsxR.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-COHy_2Nv-BJr0TTTO.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-RsvHwQTQ-Cr9S_5hK.js → MagicLinkSuccessPage-DQbdgFhH-BQZS2a7G.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DaThYY60-yvWZdo6C.js → MagicLinkTitleSection-BYkzInkY-CnbT4Veu.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-DiSohByM-9g2JEN_I.js +21 -0
  106. package/dist/assets/{Menu-DWx47kcG-DbhvsdcT.js → Menu-TzNY4ajT-Bc5fvTOh.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-DtnGJLK--CI7NINxg.js → MyBankConnectionsSettingsPage-Bk4Hdapv-gAHHFi2O.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-B1A2Dxw3-BOWmPTsp.js → MyPendingActivationChargeCardListPage-C5Q5p5zq-CnCSpKZ4.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BHpnpTmJ-CAbs0YL8.js → MyProfileSettingsPage-BxiofsK0-C3vlSwei.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-Biz620wH-TEitrYNs.js → NavBarWithPicker-DX31nlvR-DsZZuak6.js} +1 -1
  111. package/dist/assets/{NavigationArrow-CV_u5I1d-BUNwYCaW.js → NavigationArrow-BDdBEJFM-kO85jIsj.js} +1 -1
  112. package/dist/assets/{NavigationDots-DBshnTnS-CFrPftyk.js → NavigationDots-BZOdXVhR-CfDXOc_R.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DV2k3q5N-DvvNwwEK.js → NewGlobalMerchantPage-qOuBGJ6w-BmGoY907.js} +1 -1
  114. package/dist/assets/{NoDataChart-DmThvRWS-DMCfCw3w.js → NoDataChart-DxwqqeoI-DOHENLK_.js} +1 -1
  115. package/dist/assets/{NoDataTable-8GCzndE4-COwZVLdz.js → NoDataTable-DOZy5UAM-BJyDiZ-C.js} +1 -1
  116. package/dist/assets/{NotFoundPage-VR72eVPP-C86iqIgz.js → NotFoundPage-B31SyO4w-TK5jF5I6.js} +5 -5
  117. package/dist/assets/{NotificationSettingsPage-Bwf-7o4F-cOymEnQu.js → NotificationSettingsPage-3GoJDHjY-e7wDfjlQ.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-Dn_RFaAK-CfnUwgLK.js → NotificationsListConfig-C-OlC5S6-zDT4Ztbb.js} +1 -1
  119. package/dist/assets/{NotificationsPage-B8GufkTS-DKihZEjC.js → NotificationsPage-Cuz_KDD8-wXs79zwS.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-BlEqljuU-CpCR9K40.js → OpExByVendorPage-B2CQ-hT1-CdHYab7a.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-Daz3A7cI-BYJ8KqrE.js → OverlayContainerPage-Daz3A7cI-DCSdV5h7.js} +1 -1
  122. package/dist/assets/PandLWithForecastPage-Dkcy07sC-JgqiuJuu.js +107 -0
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BIxsEOJG-B4rGOs0i.js → PaymentAccountSetupBillingAddressSection-Dnw0APJu-DFVf9SKl.js} +1 -1
  124. package/dist/assets/{PeoplePage-DahKRMoB-j_nwq06O.js → PeoplePage-yzYfizds-CBGf3Gd5.js} +1 -1
  125. package/dist/assets/{Preview-BtZ3ZcmU.js → Preview-CSa6riGd.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-1P24z1p4-ZVWDXjYr.js → ProductsCarousel-DRfZ_sZ_-mmjpTyj5.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-DiKj0_oo-Cd0BSFVK.js → PromoBaseCards-CbPywvj2-1eQh0qml.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-A0ysjdIC-DUlZygO9.js → QBOConnectionDialog-DLuBxOXr-DCzBovUv.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-Me828i1a-DkFeUuRm.js → QBOSetupSection-CxLynYFq-Cwy-C1n0.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-dID4dZbu-BsIhKH78.js → ReimbursementApprovalRuleDetailPage-CDK4q7B4-CUbM2HBk.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-D8stgYq_-D3kqEOx0.js → ReimbursementApprovalRulesPage-DFmZm1Qr-Cl7V1PiK.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-DaYD1eTP-DKAx24cc.js → ReimbursementDetailPage-DOCRkpPT-CA-MUhmO.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-ClRa3wo6-01Wxwlz5.js → ReimbursementPromoPage-DENI6dAX-B1sT6_KV.js} +4 -4
  134. package/dist/assets/{ReimbursementSetUpPage-CaJCRajP-DiAl9zxc.js → ReimbursementSetUpPage-BJoFNAQR-Lp5jp-Tn.js} +5 -5
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BuBVWui--LumBRV3u.js → ReimbursementsBulkReviewDrawerPage-C0a107hB-D2OOQoI4.js} +1 -1
  136. package/dist/assets/{ReloadCard-DzxA-pGI-BTxFtDZL.js → ReloadCard-BCuJkAqw-CYhviv2P.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-D1k2eDtE-C7gtHRC6.js → ReportTableViewSelector-CEo0z4A2-CAPsKjzu.js} +1 -1
  138. package/dist/assets/{ReportsPage-DqXYfBQC-HKnm0VLl.js → ReportsPage-gMt_l_Aa-DIB3PTgR.js} +5 -5
  139. package/dist/assets/{RevenueChart-C0vx4zUX-CS6tiD6b.js → RevenueChart-JLdzi3aQ-CfmQzfo9.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-DmHHVA8I-rryT8nyx.js → ReviewDetailsPage-WBKwpVad-B2V98SLr.js} +52 -52
  141. package/dist/assets/{ReviewOverlay-tGj059Ib-BKVdx9g4.js → ReviewOverlay-DqOXHkMM-jjjTXZU9.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-BGafXnoE-2tbvzQW2.js → RoleWithToolTip-BYuFXi4d-BXj5hmHZ.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DuuvsMhX-CBSo_UOt.js → ScheduleDetailsFixedAssetsPage-BU--t7Cu-BVboxaxs.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-BCw7YaHZ-BPICcxXg.js → ScheduleDetailsPage-_Ag36lXG-DTOl83nB.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-C31xhtxt-DsLLSYz6.js → ScheduleSequenceTable-axweBiV5-Bbbb-U5v.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-C67GO5Te.js → ScreenRoutes-C0-VBL51.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-D8PGmPML-Bzhtk2nI.js → SetUpAccountSection-CerAAia_-BvPxgY0Z.js} +1 -1
  148. package/dist/assets/{SignIn-CwWQnPnB-BWr26Rrd.js → SignIn-B1yQ5XWH-C-xtXH4l.js} +3 -3
  149. package/dist/assets/{SignInScreen-CEuHZjo7.js → SignInScreen-fYwH5UY7.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-B-EbBpvJ-D4QvSWNX.js → SpendManagementListViewPage-BL77zVeL-BdHlBBto.js} +5 -5
  151. package/dist/assets/{SpendManagementPerTabPage-DANa2aTd-CWvsy1uU.js → SpendManagementPerTabPage-B82q9yMk-Crz1O3b0.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-CXYhrJSF-DegWG-xT.js → SpendManagementSection-Bcex-9e7-BcTlnTQw.js} +1 -1
  153. package/dist/assets/StatementItem-CL4KzNeN-DGvjkmoq.js +31 -0
  154. package/dist/assets/{StatementsPage-2OCuox8g-CketcBVa.js → StatementsPage-ECVGrRXi-B7osQmZV.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-CfBOEbYV-BG_Psc8-.js → StatusSwitcher-Cw0Sq3bY-BbChaknS.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-LzrZe6zz-9QlUiay1.js → SubTabSwitcher-DmGRgMQe-C3YnGDOU.js} +1 -1
  157. package/dist/assets/{SummaryCard-DTbKziXk-06dkT-e5.js → SummaryCard-OvE5BRYP-DQ7Zk4PZ.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-J0L5w2Wc-_GLV6uUI.js → TaskManagementPage-CAX0yrep-DYDVQ3C3.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-CIhE-4dW-gA6h-SPl.js → TimeRangeSwitcher-2AXHoZ8f-DqBXOz3V.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-YlXclGGy-C1UEcBoK.js → TimeframeSwitcher-DJiKd_tL-DApIRoV9.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-BKRmBPLL-Zi3dvA5E.js → TimeframeSwitcherWithToggle-5W1Xu4QM-D0OKi7Nt.js} +1 -1
  162. package/dist/assets/{TopExCard-D1k8bh_F-Bl4Np8KZ.js → TopExCard-8RRaMY7F-Gon6G4m3.js} +10 -10
  163. package/dist/assets/{TopExDetailPage-BRJ9k9hY-QrrZWVa6.js → TopExDetailPage-D2KlaBXx-BpdUQtul.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-CJjGDJoM-D2JAk05P.js → TransactionDetailPage-DdyFRxld-C-5usEOx.js} +1 -1
  165. package/dist/assets/{TransactionList-CLJV-J8J-BYehwI5o.js → TransactionList-CLVkETBe-BTi0TF8x.js} +1 -1
  166. package/dist/assets/{TransactionListBig-CDMd8KmW-BlVD7tdK.js → TransactionListBig-BRCiFBKB-90T7vD3u.js} +1 -1
  167. package/dist/assets/{TransactionListPage-Dm_JZDPM-Dja1gl3F.js → TransactionListPage-D0OgwsUo-CHqv8Ptz.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-BDuBQged-CvXp-xOX.js → TransactionVendorDetailPage-BLCUqZvL-BIALvbPN.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-lY_wB7eB-BnbxYTNq.js → TransferDrawerPage-DdDRqsyR-Dpm3m1og.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-D5OetJEP-CBj-l09J.js → TreasuryOverviewPage-BcIRsLLj-dqw9iZxG.js} +9 -9
  171. package/dist/assets/{TreasuryPromoPage-8tXexPVv-pVJJ14ZG.js → TreasuryPromoPage-qbltxtYj-Be5gnIqG.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-DEOyNQFW-AlE9KEaP.js → TreasuryStatementsPage-CLFal4Qu-D7fSpwwi.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-B2AurZ-A-BQb9STu_.js → TreasuryTaxLetterPage-C2-SmkNZ-CYIVDUGa.js} +2 -2
  174. package/dist/assets/{TrendChart-DhH1bAfv-D3LXI5YU.js → TrendChart-Cot9LFNh-CytK-s0s.js} +2 -2
  175. package/dist/assets/{TrendWithTransactions-BLYyM3MY-D7UeGVnC.js → TrendWithTransactions-BKxxRKGE-L7jdBP-R.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-CFir4dX5-DgsKoByZ.js → UncategorizedAccountsMappingPage-C7Z3q75s-C7vlCsmg.js} +5 -5
  177. package/dist/assets/{UnitIntegrationPage-CHR1UsV3-CKbTwyHM.js → UnitIntegrationPage-DV9q3Nzs-EQSgep-S.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CVb-0jqF-DsW1DeW-.js → UploadAdditionalDocumentOverlay-B37gdjRF-Dp2vDOBj.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-BJI6SeE0-eNPAVD8D.js → Vendor2FAPopup-BZQXt_G4-BTtalNNx.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-WS3d8TF6-Da0vtQql.js +1 -0
  181. package/dist/assets/{VendorDetailPage-Bl6Xaq0d-Dm7H_1pT.js → VendorDetailPage-CH1L4UZF-B3MhcE6y.js} +5 -5
  182. package/dist/assets/{VendorDomesticWireDetailsPage-B83WB2Vz-Ddp5nU-e.js → VendorDomesticWireDetailsPage-Brom_Sf_-B5VglIGE.js} +1 -1
  183. package/dist/assets/{VendorFiling1099EditablePage-DHabnH22-Ci-SR-CB.js → VendorFiling1099EditablePage-BaX4ACXz-CJd2K39u.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-JhwEqiFF-Dp6nc1bX.js → VendorFirstReviewPage-DAZJMUR3-BZQS9qCZ.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-DKsYBIjo-PLt1U3wd.js → VendorInternationalWireDetailsPage-CPnjLrDQ-0-KyGCYk.js} +1 -1
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-C4XEeSs2-DO48MG3i.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-Bvhib6Hd-CHxc62W3.js → VendorsAccountsSection-DsgK37WB-BrTiEXUw.js} +1 -1
  188. package/dist/assets/{VerifyDevice-DGjS39sh-Cb897kZW.js → VerifyDevice-BPAsHKLY-rDHP_WGx.js} +1 -1
  189. package/dist/assets/{VideoPlayer-DufuoQRs-oPVEl4ns.js → VideoPlayer-Bwg_8KIq-BrCqLhsq.js} +2 -2
  190. package/dist/assets/{VideoPopup-1aNRmLD6-NApO2qk6.js → VideoPopup-CxjbzbjP-Bfo2Jbi-.js} +2 -2
  191. package/dist/assets/{WarningsDrawerPage-Bikg48FF-Cbty70OQ.js → WarningsDrawerPage-BBc3-y8F-DEB-oHPA.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-DJiB-R44-DNmBtR_I.js → ZeniAccountDetailPage-VB4JoNYE-DnLTquPY.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-BJF3-1hq-LSfxZ1Rl.js → ZeniAccountListViewPage-CMjCtqT0-41l3IEZs.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-ZZoVi49V-DI70eC49.js → ZeniAccountNavBarPieces-C89nBJ6j-BQmFQnUD.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-VfZj6e9J-BYxBlesF.js → ZeniAccountPromoPage-C1_qLOdH-CT-Nw3at.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-CfUBgLaM-BRYKYPE6.js → ZeniAccountSetupPage-DWEVvvHh-mdXQepOk.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-UUk3LylG-m9Xmp5JI.js → ZeniCopyright-COx-CtZK-BJjjuCdE.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-DuyKUAsb-CGhQHvXM.js → ZeniTransferAmountSlider-DfOF_MH1-DEdEmpvO.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-BrN1Aye0.js → add-to-wallet-DgdBD8_G-DJTDRQKQ.js} +1 -1
  200. package/dist/assets/{analytics-zyQYZvSc.js → analytics-COhRzxPT.js} +1 -1
  201. package/dist/assets/{analyticsHelper-Cv_74YFl.js → analyticsHelper-CRtdFimq.js} +1 -1
  202. package/dist/assets/{analyticsHelper-C_CHYSrd-DeLJvIPW.js → analyticsHelper-CcmV6wHp-D-5PVU9-.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-3vc9ELkd.js → arrow-south-east-round-PEovUgvH-rNeD8cA8.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-c21rRbXN.js → auto-transfer-rule-mbafm5D3-_-2LojGH.js} +1 -1
  205. package/dist/assets/{chartTypes-CfyGWP2E-CMEv9V_N.js → chartTypes-YlZX4WLs-BVobq2KO.js} +1 -1
  206. package/dist/assets/{commonDimensions-uDLC8oOH-0Au8IFVq.js → commonDimensions-IG4iGJ-6-D0-edPu2.js} +1 -1
  207. package/dist/assets/{commonTypes-DBWmGaRi-DbYfiAyn.js → commonTypes-ByC4Sd87-P4qhDabt.js} +1 -1
  208. package/dist/assets/{constants-DWk2fFv_.js → constants-PRjhMiOb.js} +1 -1
  209. package/dist/assets/{core-eaZ5MkII.js → core-BPFYe8Fp.js} +1 -1
  210. package/dist/assets/{dash.all.min-CcMymYrD.js → dash.all.min-BHP7ZpuB.js} +1 -1
  211. package/dist/assets/{detailCommon-CUjnzfBn-DLVfXaab.js → detailCommon-lUFqcp_3-DLubEUfX.js} +3 -3
  212. package/dist/assets/{downloadPdf-DZnGQqi5-CeOjPDtf.js → downloadPdf-DYME892p-CgtFhUt6.js} +1 -1
  213. package/dist/assets/{empty-5jxUSzqQ.js → empty-Cp4uRDWx.js} +1 -1
  214. package/dist/assets/{empty-B7T-FSqA.js → empty-_EE1GUl0.js} +1 -1
  215. package/dist/assets/{epic-qVoPQO6A.js → epic-BIwB2Nyn.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-DZK07yWZ.js → gift-box-Cmt9OgIZ-CWOIBKFq.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CBdedu6R.js → graphic-no-data-l-DU4J8fDt-CGUgoC2L.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CxQSQ7nM.js → graphic-no-data-net-burn-l-CzmycA0m-Bkxol6JE.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-DDyFnDC1.js → handshake-BPg58FML-B1aTSimH.js} +1 -1
  220. package/dist/assets/{index-D8PMCh18.js → index-B6Om0Agf.js} +7 -7
  221. package/dist/assets/{index-B97sUjo_.js → index-BNhIcPIg.js} +1 -1
  222. package/dist/assets/{index-DZdvjaDg.js → index-ByQkLJJD.js} +1 -1
  223. package/dist/assets/{index-vcow32RM.js → index-DAOCYnQR.js} +1 -1
  224. package/dist/assets/{index-oTgseo1z.js → index-DdFqgh6Q.js} +1 -1
  225. package/dist/assets/{index-D2sj31x5.js → index-gqLeArqE.js} +1 -1
  226. package/dist/assets/{index-BD479JGG.js → index-mYyCGmMK.js} +1 -1
  227. package/dist/assets/{lexical-DZqbjlo3.js → lexical-acVZWmws.js} +1 -1
  228. package/dist/assets/{liveblocks-CYMGg0Jd.js → liveblocks-DWNROPS5.js} +1 -1
  229. package/dist/assets/{lottie-wSb1JmVE.js → lottie-DQjCP4UK.js} +1 -1
  230. package/dist/assets/mapLoadingInProgressToTreeNode-B7Tq4sxB-CG4-iokq.js +1 -0
  231. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Cf59HreQ.js → mapSectionWithAcOnlyToTreeNode-BNXHaV-x-Dya99XN3.js} +1 -1
  232. package/dist/assets/mapSpacerToTreeNode-DpgQIqP_-DJHBQyJ3.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-LxIEmBdX-D0eWUHRt.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-fxn51zxe-DrBdfP98.js +1 -0
  235. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-opvjldHo-nQMPswZb.js +1 -0
  236. package/dist/assets/{mui-8c7TTPte.js → mui-C6XKQL2c.js} +1 -1
  237. package/dist/assets/{page-detail-CWX5S47F-rPobFqLh.js → page-detail-CWX5S47F-BzjIQtfg.js} +1 -1
  238. package/dist/assets/{radio-default-CiSgisfh-JegKPmEU.js → radio-default-CiSgisfh-BS1GVp2P.js} +1 -1
  239. package/dist/assets/{react-BkLRSHeS.js → react-B0pgw5Mm.js} +1 -1
  240. package/dist/assets/{react-BeFAL7xc.js → react-BSuQuG9G.js} +2 -2
  241. package/dist/assets/{react-BTIOleqc.js → react-BjT2oqbW.js} +1 -1
  242. package/dist/assets/{react-DqDI51zp.js → react-Brqsw08v.js} +1 -1
  243. package/dist/assets/{react-Bm2m1z7n.js → react-CVQUd4tH.js} +1 -1
  244. package/dist/assets/{react-Bgfqj-6V.js → react-CXCL32Ls.js} +1 -1
  245. package/dist/assets/{react-BvBglWtA.js → react-D8jgeeNV.js} +1 -1
  246. package/dist/assets/{react-CpDQbd_p.js → react-Dk7l6rEc.js} +1 -1
  247. package/dist/assets/{recharts-DLR05d4e.js → recharts-CPZsikvb.js} +1 -1
  248. package/dist/assets/{sentry-gJCFOenX.js → sentry-yju9hmuU.js} +1 -1
  249. package/dist/assets/{shield-DOlUxcFf-BYII5mua.js → shield-DOlUxcFf-C-RFN1Ny.js} +1 -1
  250. package/dist/assets/toCOABalancesWithID-BAw7mDDs-BHjR7Lz6.js +1 -0
  251. package/dist/assets/{toChartData-DD8ISjzM-BEMY07yt.js → toChartData-CuSN9vUZ-eye27L_h.js} +1 -1
  252. package/dist/assets/{uploadAttachment-CEqqTe84-DtoAuKJx.js → uploadAttachment-CRI5U1f4-uoLiqp2e.js} +1 -1
  253. package/dist/assets/{uploadReceipts-CPw64UYa-B7XOfqVi.js → uploadReceipts-CPw64UYa-DbLoTUL7.js} +1 -1
  254. package/dist/assets/{url-Df8TrFuK.js → url-7nemmS6b.js} +1 -1
  255. package/dist/assets/{url-CPssbUxP.js → url-BZCKPycf.js} +1 -1
  256. package/dist/assets/{useLongPress-GCK2COYQ-b6cGrqv9.js → useLongPress-GCK2COYQ-Dvu-g8xT.js} +1 -1
  257. package/dist/assets/{usp-line-BBd1wKwW-BI2SMRc4.js → usp-line-BBd1wKwW-BKD4OxLr.js} +1 -1
  258. package/dist/assets/{utils-BoH8rMdz.js → utils-B5xU1y4i.js} +1 -1
  259. package/dist/assets/{zeni-epic-state-B6kYb9qr.js → zeni-epic-state-ag00jsAo.js} +3 -3
  260. package/dist/index.html +1 -1
  261. package/package.json +2 -2
  262. package/dist/assets/AccountInfoPage-CI5UcHFj-CxN8pKH-.js +0 -18
  263. package/dist/assets/ChargeCardPromoPage-CPURUrkI-B12CNYfn.js +0 -222
  264. package/dist/assets/CustomerOnboardingContainerPage-DGhE9fpo-BKcFYTYY.js +0 -1
  265. package/dist/assets/EntityDetailPage-DCcgGupN-Pg8_N3U5.js +0 -18
  266. package/dist/assets/MagicLinkACHDetailsPage-CTqUXhIp-DXNzQf7Z.js +0 -1
  267. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dn7zRSmC-BxWp8jFf.js +0 -1
  268. package/dist/assets/MagicLinkInternationalWireDetailsPage-BP3vdY52-qhkrhNCj.js +0 -1
  269. package/dist/assets/MailingDetailsSection-DKs9SGYB-DrREfI80.js +0 -21
  270. package/dist/assets/PandLWithForecastPage-GOxiUR2j-C-ak3I_k.js +0 -107
  271. package/dist/assets/StatementItem-DeYhvD3S-D2y3sY45.js +0 -31
  272. package/dist/assets/VendorACHDetailsPage-DLY7vm1r-B9tUnjc_.js +0 -1
  273. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XKp9TJ4g-_ofC4l4D.js +0 -1
  274. package/dist/assets/mapLoadingInProgressToTreeNode-BNip5yf2-DdUiAptt.js +0 -1
  275. package/dist/assets/mapSpacerToTreeNode-D950gQIm-B1jS0Sxi.js +0 -1
  276. package/dist/assets/mapTimeframeBalancesToTreeNode-BwoNhSxI-DMiy9TSZ.js +0 -1
  277. package/dist/assets/mapTimeframeBalancesToTreeNode-CpO1mQ6n-CGqZlkwx.js +0 -1
  278. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-tLFl9PXK-DzfqC0pd.js +0 -1
  279. package/dist/assets/toCOABalancesWithID-B6AaIKKE-7gBQPg3T.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-DANa2aTd-CWvsy1uU.js","assets/index-D8PMCh18.js","assets/sentry-gJCFOenX.js","assets/liveblocks-CYMGg0Jd.js","assets/core-eaZ5MkII.js","assets/recharts-DLR05d4e.js","assets/zeni-epic-state-B6kYb9qr.js","assets/mui-8c7TTPte.js","assets/lottie-wSb1JmVE.js","assets/analytics-zyQYZvSc.js","assets/lexical-DZqbjlo3.js","assets/utils-BoH8rMdz.js","assets/index-t8y498Dk.css","assets/StatusSwitcher-CfBOEbYV-BG_Psc8-.js","assets/useLongPress-GCK2COYQ-b6cGrqv9.js"])))=>i.map(i=>d[i]);
2
- import{FK as Ve,FL as We,FM as Ye,FN as z,FO as qe,E7 as Je,FP as Ke,cd as Ze,ce as Qe,Fx as Xe,Fw as et,FG as tt,ba as ot}from"./zeni-epic-state-B6kYb9qr.js";import{V as n,d as at,aw as nt,q as U,gf as st,gh as it,gC as rt,bA as lt,b as ct,o as t,dv as dt,gT as D,bh as ut,gq as pt,y as v,F as H,gU as mt,gV as ht,gW as bt,gX as yt,p as x,ao as gt,c as S,fM as ft,gY as wt,L as Ct,bT as Tt,al as vt,cg as St,gZ as xt,u as kt,am as $t}from"./index-D8PMCh18.js";import{a as h}from"./sentry-gJCFOenX.js";import{n as c,k as G}from"./mui-8c7TTPte.js";import{a as It}from"./liveblocks-CYMGg0Jd.js";import{t as At}from"./SpendManagementSection-CXYhrJSF-DegWG-xT.js";import{K as Et}from"./StatusSwitcher-CfBOEbYV-BG_Psc8-.js";import"./core-eaZ5MkII.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./recharts-DLR05d4e.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.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]="a6322215-4556-40e4-ad0f-5f817ee1dd63",e._sentryDebugIdIdentifier="sentry-dbid-a6322215-4556-40e4-ad0f-5f817ee1dd63")}catch{}})();const N=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},h.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bt=c.div`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-B82q9yMk-Crz1O3b0.js","assets/index-B6Om0Agf.js","assets/sentry-yju9hmuU.js","assets/liveblocks-DWNROPS5.js","assets/core-BPFYe8Fp.js","assets/recharts-CPZsikvb.js","assets/zeni-epic-state-ag00jsAo.js","assets/mui-C6XKQL2c.js","assets/lottie-DQjCP4UK.js","assets/analytics-COhRzxPT.js","assets/lexical-acVZWmws.js","assets/utils-B5xU1y4i.js","assets/index-t8y498Dk.css","assets/StatusSwitcher-Cw0Sq3bY-BbChaknS.js","assets/useLongPress-GCK2COYQ-Dvu-g8xT.js"])))=>i.map(i=>d[i]);
2
+ import{FK as Ve,FL as We,FM as Ye,FN as z,FO as qe,E7 as Je,FP as Ke,cd as Ze,ce as Qe,Fx as Xe,Fw as et,FG as tt,ba as ot}from"./zeni-epic-state-ag00jsAo.js";import{V as a,d as nt,aw as at,q as U,gf as st,gh as it,gC as rt,bA as lt,b as ct,o as t,dv as dt,gT as D,bh as ut,gq as pt,y as v,F as H,gU as mt,gV as ht,gW as bt,gX as yt,p as x,ao as gt,c as S,fM as ft,gY as wt,L as Ct,bT as Tt,al as vt,cg as St,gZ as xt,u as kt,am as $t}from"./index-B6Om0Agf.js";import{a as h}from"./sentry-yju9hmuU.js";import{n as c,k as G}from"./mui-C6XKQL2c.js";import{a as It}from"./liveblocks-DWNROPS5.js";import{t as At}from"./SpendManagementSection-Bcex-9e7-BcTlnTQw.js";import{K as Et}from"./StatusSwitcher-Cw0Sq3bY-BbChaknS.js";import"./core-BPFYe8Fp.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./recharts-CPZsikvb.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.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]="ec06fd64-df10-4e88-94b2-0460b7eb3e03",e._sentryDebugIdIdentifier="sentry-dbid-ec06fd64-df10-4e88-94b2-0460b7eb3e03")}catch{}})();const N=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},h.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bt=c.div`
3
3
  min-width: ${t.sp3};
4
4
  width: ${t.sp3};
5
5
  height: ${t.sp3};
@@ -10,7 +10,7 @@ import{FK as Ve,FL as We,FM as Ye,FN as z,FO as qe,E7 as Je,FP as Ke,cd as Ze,ce
10
10
  min-width: inherit;
11
11
  width: ${t.sp3};
12
12
  height: ${t.sp3};
13
- `;function So(e){return e.repaymentType==="scheduled"||e.repaymentType==null&&e.paidByUser==null}function Rt(e,i,d){return e!=null&&e!==""?`${e}${i!=null&&i!==""?` •••• ${i}`:""}`:d}function Pt(e,i){if(e.accountType==="depositAccount"&&e.depositAccountName!=null&&e.depositAccountName!=="")return{iconType:"zeniChecking",iconColor:mt(0)};if(e.accountType==="paymentAccount"&&e.accountLogo!=null&&(e.accountLogo.base64||e.accountLogo.url)){const d=i(e.accountLogo);if(d!=="")return{photo:d}}return{}}function xo(e){return e.iconType==="zeniChecking"&&e.iconColor!=null&&e.iconColor!==""?n.jsx(Bt,{children:n.jsx(Lt,{color:e.iconColor})}):null}const T={width:new v(343,545,545),containerTop:new v(17,25,25),containerPaddingLeftRight:new v(S[4],S[7])},jt=c.div`
13
+ `;function So(e){return e.repaymentType==="scheduled"||e.repaymentType==null&&e.paidByUser==null}function Rt(e,i,d){return e!=null&&e!==""?`${e}${i!=null&&i!==""?` •••• ${i}`:""}`:d}function Pt(e,i){if(e.accountType==="depositAccount"&&e.depositAccountName!=null&&e.depositAccountName!=="")return{iconType:"zeniChecking",iconColor:mt(0)};if(e.accountType==="paymentAccount"&&e.accountLogo!=null&&(e.accountLogo.base64||e.accountLogo.url)){const d=i(e.accountLogo);if(d!=="")return{photo:d}}return{}}function xo(e){return e.iconType==="zeniChecking"&&e.iconColor!=null&&e.iconColor!==""?a.jsx(Bt,{children:a.jsx(Lt,{color:e.iconColor})}):null}const T={width:new v(343,545,545),containerTop:new v(17,25,25),containerPaddingLeftRight:new v(S[4],S[7])},jt=c.div`
14
14
  position: fixed;
15
15
  top: 0;
16
16
  left: 0;
@@ -117,7 +117,7 @@ import{FK as Ve,FL as We,FM as Ye,FN as z,FO as qe,E7 as Je,FP as Ke,cd as Ze,ce
117
117
  color: ${e=>e.theme.colors.primary};
118
118
  position: absolute;
119
119
  bottom: 22px;
120
- `,M=H.getLocalizedStrings().common.copyToClipBoard;function Kt(e){const i=U(),[,d]=bt(),[p,f]=h.useState(!0),[u,s]=h.useState(!1),[o,r]=h.useState(!1),{isMobileOrTabletScreen:a}=yt(),w=()=>{if(p){const g=e.botEmail;d(g),f(!1)}},C=()=>{s(!0)},y=()=>{s(!1)};return h.useEffect(()=>{p===!1&&setTimeout(()=>{f(!0)},2e3)},[p]),n.jsx(jt,{windowSize:i,role:"presentation",style:{background:x.overlayDark,...e.style},children:n.jsx(gt,{onClickAway:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:n.jsxs(Ot,{windowSize:i,className:o?"fade":"",fade:o,children:[n.jsx(Yt,{onClick:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),n.jsx(Dt,{children:e.title}),n.jsx(qt,{children:e.descriptionLines.map((g,l)=>n.jsxs(zt,{children:[n.jsx(Nt,{children:g.icon}),n.jsx(Mt,{windowSize:i,children:g.text})]},l))}),n.jsxs(Ut,{onClick:w,onMouseOver:C,onMouseLeave:y,showCopyIcon:p,showCopyText:u,children:[n.jsx(Vt,{showCopyText:u,children:e.botEmail}),p?n.jsx(Gt,{windowSize:i,showCopyText:u&&!a,children:n.jsx(Ht,{})}):n.jsx(Wt,{})]}),n.jsx(Jt,{children:p?u&&!a?M.copy:null:M.copied})]})})})}const V=H.getLocalizedStrings(),m=V.spendManagement,{common:{texts:{comments:Zt}},collaboration:{threads:{placeholder:{addANewComment:Qt,replyAComment:Xt},tooltip:{resolveComment:eo,unResolveComment:to}}}}=V,oo={drawerSectionPaddingLeftRight:new v(S[4],S[5])},ao=wt(()=>ot(()=>import("./SpendManagementPerTabPage-DANa2aTd-CWvsy1uU.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),no=e=>{const i=at(),d=nt(),p=U(),{transactionList:f,allSubTabs:u,isAdmin:s,botEmail:o,isEmployee:r=!1,currentTab:a,currentSubTab:w,approvalCount:C,fetchState:y,analytics:g,entity:l,uiState:k,searchText:A,filters:Y,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:J,createdByUserList:K,createdByUserListFetchState:E,downloadParams:Z,downloadState:Q,isDownloadEnabled:X,isShowDeletedBillsEnabled:ee,isShowDeletedReimbursementEnabled:te,isListeningToPusherEventForBillPayApprovalRules:oe,isListeningToPusherEventForReimbursementApprovalRules:ae,isBillPayCommentingEnabled:B,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:ne=!1,updateTabToState:se,onSubtabChange:R,onReloadTransactions:ie,onTransactionClick:P,onClickSetupIcon:j,onBackClick:re,onAddTransactionClick:le,onColumnSortConfigChanged:ce,onSearchTextChanged:de,onClickMenuIcon:ue,onFiltersChange:pe,updateDownloadStateHandler:me,bulkSubmissionLimit:he=10,isBulkActionAllowed:be=!1,isRecurringBillInBulkActionList:ye=!1,transactionsSelectedForBulkAction:ge=[],allowedBulkActions:fe=[],bulkSubmissionFetchState:we,updateBulkActionList:Ce,removeAllTransactionsFromBulkActionList:Te,onProceedForBulkActionClick:ve}=e,Se=["draft","pending_approval","scheduled","paid"],xe=b=>{P(b,a)},ke=n.jsx(ao,{botEmail:o,transactionList:f,allSubTabs:u,isAdmin:s,selectedTab:a,selectedSubTab:w,fetchState:y,onSubtabChange:R,onTransactionRowClick:xe,onReloadTransactions:ie,onColumnSortConfigChanged:ce,analytics:g,entity:l,uiState:k,searchText:A,isShowDeletedBillsEnabled:ee,isShowDeletedReimbursementEnabled:te,isListeningToPusherEventForBillPayApprovalRules:oe,isListeningToPusherEventForReimbursementApprovalRules:ae,isBillPayCommentingEnabled:B,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:he,isBulkActionAllowed:be,isRecurringBillInBulkActionList:ye,transactionsSelectedForBulkAction:ge,isDetectInsufficientFundsEnabled:ne,allowedBulkActions:fe,bulkSubmissionFetchState:we,updateBulkActionList:Ce,removeAllTransactionsFromBulkActionList:Te,onProceedForBulkActionClick:ve}),$e=b=>{se(b),R("all")},Ie=Xe(d.loggedInUserRoleMap),[_,Ae]=h.useState(!1),[Ee,F]=h.useState(!1),Be=b=>{Ae(b)},Le=l==="bill_pay"?et(d.loggedInUserRoleMap):tt(d.loggedInUserRoleMap),Re={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:_,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:A,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Le,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:X===!1,downloadParams:Z,downloadState:Q,filters:Y,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:J,createdByUserListLoaded:l==="bill_pay"||z(d.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:g,onNewButtonClick:le,onSearchOpen:Be,onSearchTextChanged:de,onClickSetupIcon:j,onClickEmailInfoIcon:()=>F(!0),onFiltersChange:pe,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>W(l,K??[],d.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:me},Pe=n.jsx(At,{spendManagementSectionProps:Re}),[je,_e]=h.useState(null),[Fe,$]=h.useState(!1),{setRequestToOpenThread:Oe}=h.useContext(st),De=`dashboard_${d.currentTenant?.companyId}`,O=l==="bill_pay"?"bill":"reimbursement",{threads:Ne}=it({application:"dashboard",companyId:d.currentTenant?.companyId,tab:O,entityId:je?.entityId,isGlobalComment:!1},"both",!1),Me={openAllThreadsDrawer:b=>{_e({...b}),$(!0)}},ze=(b,I)=>{const{companyId:Ue,entityId:He,entityType:Ge}=b;$(!1),Oe({threadId:I,companyId:Ue,entityType:Ge}),P(He,a)};return n.jsx(rt,{sharedItems:{sharedFunctions:{subtreeFunctions:Me},sharedRef:void 0},children:n.jsxs(io,{children:[n.jsx(lt,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!r&&!Ie,showMenuIcon:p==="medium-compact"||p==="small",backgroundColor:i.colors.grey4,style:{zIndex:3,...ct.largeSemiBold.cssObject},onBackClick:re,rightSideComponent:Pe,onClickMenuIcon:ue,isSearchOpen:_}),n.jsxs(ro,{children:[n.jsx(lo,{children:n.jsx(Et,{tabIds:Se,approvalCount:C,selectedTab:a,entity:l,enablePerformanceTracking:!1,onTabSelectedChange:$e,onClickSetupIcon:j})}),ke]}),Ee?n.jsx(Kt,{botEmail:o,onCancelClick:()=>F(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:n.jsx(N,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:n.jsx(dt,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:n.jsx(D,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:n.jsx(N,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:n.jsx(ut,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:n.jsx(D,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&B||l==="reimbursement"&&L?n.jsx(It,{id:De,children:n.jsx(pt,{isDrawerOpen:Fe,allowComposer:!1,drawerTitle:Zt,threads:Ne,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:d.currentTenant?.companyId,isGlobalComment:!1,tab:O},isLoading:!1,textOverrides:{composerPlaceholder:Qt,replyComposerPlaceholder:Xt,threadResolve:eo,threadUnResolve:to},onThreadClick:(b,I)=>ze(b,I),onCloseAllThreadsDrawer:()=>$(!1),drawerSectionStyle:{width:p==="small"?"100%":"400px",boxSizing:p==="small"?"border-box":"content-box",padding:`${t.sp0} ${oo.drawerSectionPaddingLeftRight.valuePx(p)}`,backgroundColor:i.colors.background},collapsibleThreadStyle:{width:p==="small"?"100%":"360px"}})}):null]})})},so=e=>e.base64!==void 0?`${ft}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",W=(e,i,d,p,f)=>{const u=m.filters.filterOptions;return e==="bill_pay"?Ve.reduce((s,o)=>{switch(o.value){case"amount":return{...s,[o.value]:u.billAmountOptions};case"paymentMethod":return{...s,[o.value]:u.paymentMethodOptions};case"status":return{...s,[o.value]:[...u.commonStatusOptions,...u.billStatusOptions]};case"paymentType":return{...s,[o.value]:u.billPaymentTypeOptions};default:return{...s,[o.value]:[]}}},{}):e==="reimbursement"?(z(d)?We:Ye).reduce((s,o)=>{switch(o.value){case"createdBy":{if(i?.length===0)return{...s,[o.value]:[]};const r=i.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...s,[o.value]:r}}case"paymentMethod":return{...s,[o.value]:u.paymentMethodOptions};case"status":return{...s,[o.value]:u.commonStatusOptions};case"amount":return{...s,[o.value]:u.reimbursementAmountOptions};default:return{...s,[o.value]:[]}}},{}):e==="charge_card_payment_history"?(qe??[]).reduce((s,o)=>{switch(o.value){case"status":return{...s,[o.value]:u.paymentHistoryStatusOptions};case"initiatedBy":{if(i?.length===0)return{...s,[o.value]:[]};const r=i.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...s,[o.value]:[{label:"Autopay",value:"autopay"},...r]}}case"sourceAccount":{const r=f?Object.entries(f).map(([a,w])=>{const C=Rt(w.depositAccountName,w.depositAccountLast4,m.chargeCard.paymentHistory.sourceAccountUnknown),y=Pt(w,so),g=y.iconType!=null&&y.iconColor!=null,l=y.photo,k=l!=null&&l!=="";return{label:C,value:a,...g&&{iconType:y.iconType,iconColor:y.iconColor},...k&&{photo:Je(l)}}}):[];return{...s,[o.value]:r}}case"repaymentDate":return{...s,[o.value]:[]};default:return{...s,[o.value]:[]}}},{}):Ke.reduce((s,o)=>{switch(o.value){case"assignee":{if(i?.length===0)return{...s,[o.value]:[]};const r=i.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...s,[o.value]:r}}case"status":return{...s,[o.value]:[...Qe.map(r=>({label:r.name,value:r.code}))]};case"priority":return{...s,[o.value]:[...Ze.map(r=>({label:r.name,value:r.code}))]};case"tag":return{...s,[o.value]:[...p.map(r=>({label:r.name,value:r.tagId}))]};default:return{...s,[o.value]:[]}}},{})},io=c.div`
120
+ `,M=H.getLocalizedStrings().common.copyToClipBoard;function Kt(e){const i=U(),[,d]=bt(),[p,f]=h.useState(!0),[u,s]=h.useState(!1),[o,r]=h.useState(!1),{isMobileOrTabletScreen:n}=yt(),w=()=>{if(p){const g=e.botEmail;d(g),f(!1)}},C=()=>{s(!0)},y=()=>{s(!1)};return h.useEffect(()=>{p===!1&&setTimeout(()=>{f(!0)},2e3)},[p]),a.jsx(jt,{windowSize:i,role:"presentation",style:{background:x.overlayDark,...e.style},children:a.jsx(gt,{onClickAway:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:a.jsxs(Ot,{windowSize:i,className:o?"fade":"",fade:o,children:[a.jsx(Yt,{onClick:()=>{r(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),a.jsx(Dt,{children:e.title}),a.jsx(qt,{children:e.descriptionLines.map((g,l)=>a.jsxs(zt,{children:[a.jsx(Nt,{children:g.icon}),a.jsx(Mt,{windowSize:i,children:g.text})]},l))}),a.jsxs(Ut,{onClick:w,onMouseOver:C,onMouseLeave:y,showCopyIcon:p,showCopyText:u,children:[a.jsx(Vt,{showCopyText:u,children:e.botEmail}),p?a.jsx(Gt,{windowSize:i,showCopyText:u&&!n,children:a.jsx(Ht,{})}):a.jsx(Wt,{})]}),a.jsx(Jt,{children:p?u&&!n?M.copy:null:M.copied})]})})})}const V=H.getLocalizedStrings(),m=V.spendManagement,{common:{texts:{comments:Zt}},collaboration:{threads:{placeholder:{addANewComment:Qt,replyAComment:Xt},tooltip:{resolveComment:eo,unResolveComment:to}}}}=V,oo={drawerSectionPaddingLeftRight:new v(S[4],S[5])},no=wt(()=>ot(()=>import("./SpendManagementPerTabPage-B82q9yMk-Crz1O3b0.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]))),ao=e=>{const i=nt(),d=at(),p=U(),{transactionList:f,allSubTabs:u,isAdmin:s,botEmail:o,isEmployee:r=!1,currentTab:n,currentSubTab:w,approvalCount:C,fetchState:y,analytics:g,entity:l,uiState:k,searchText:A,filters:Y,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:J,createdByUserList:K,createdByUserListFetchState:E,downloadParams:Z,downloadState:Q,isDownloadEnabled:X,isShowDeletedBillsEnabled:ee,isShowDeletedReimbursementEnabled:te,isListeningToPusherEventForBillPayApprovalRules:oe,isListeningToPusherEventForReimbursementApprovalRules:ne,isBillPayCommentingEnabled:B,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:ae=!1,updateTabToState:se,onSubtabChange:R,onReloadTransactions:ie,onTransactionClick:P,onClickSetupIcon:j,onBackClick:re,onAddTransactionClick:le,onColumnSortConfigChanged:ce,onSearchTextChanged:de,onClickMenuIcon:ue,onFiltersChange:pe,updateDownloadStateHandler:me,bulkSubmissionLimit:he=10,isBulkActionAllowed:be=!1,isRecurringBillInBulkActionList:ye=!1,transactionsSelectedForBulkAction:ge=[],allowedBulkActions:fe=[],bulkSubmissionFetchState:we,updateBulkActionList:Ce,removeAllTransactionsFromBulkActionList:Te,onProceedForBulkActionClick:ve}=e,Se=["draft","pending_approval","scheduled","paid"],xe=b=>{P(b,n)},ke=a.jsx(no,{botEmail:o,transactionList:f,allSubTabs:u,isAdmin:s,selectedTab:n,selectedSubTab:w,fetchState:y,onSubtabChange:R,onTransactionRowClick:xe,onReloadTransactions:ie,onColumnSortConfigChanged:ce,analytics:g,entity:l,uiState:k,searchText:A,isShowDeletedBillsEnabled:ee,isShowDeletedReimbursementEnabled:te,isListeningToPusherEventForBillPayApprovalRules:oe,isListeningToPusherEventForReimbursementApprovalRules:ne,isBillPayCommentingEnabled:B,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:he,isBulkActionAllowed:be,isRecurringBillInBulkActionList:ye,transactionsSelectedForBulkAction:ge,isDetectInsufficientFundsEnabled:ae,allowedBulkActions:fe,bulkSubmissionFetchState:we,updateBulkActionList:Ce,removeAllTransactionsFromBulkActionList:Te,onProceedForBulkActionClick:ve}),$e=b=>{se(b),R("all")},Ie=Xe(d.loggedInUserRoleMap),[_,Ae]=h.useState(!1),[Ee,F]=h.useState(!1),Be=b=>{Ae(b)},Le=l==="bill_pay"?et(d.loggedInUserRoleMap):tt(d.loggedInUserRoleMap),Re={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:_,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:A,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Le,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:X===!1,downloadParams:Z,downloadState:Q,filters:Y,vendorSearchAutoCompleteData:q,vendorSearchAutoCompleteActions:J,createdByUserListLoaded:l==="bill_pay"||z(d.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:g,onNewButtonClick:le,onSearchOpen:Be,onSearchTextChanged:de,onClickSetupIcon:j,onClickEmailInfoIcon:()=>F(!0),onFiltersChange:pe,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>W(l,K??[],d.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:me},Pe=a.jsx(At,{spendManagementSectionProps:Re}),[je,_e]=h.useState(null),[Fe,$]=h.useState(!1),{setRequestToOpenThread:Oe}=h.useContext(st),De=`dashboard_${d.currentTenant?.companyId}`,O=l==="bill_pay"?"bill":"reimbursement",{threads:Ne}=it({application:"dashboard",companyId:d.currentTenant?.companyId,tab:O,entityId:je?.entityId,isGlobalComment:!1},"both",!1),Me={openAllThreadsDrawer:b=>{_e({...b}),$(!0)}},ze=(b,I)=>{const{companyId:Ue,entityId:He,entityType:Ge}=b;$(!1),Oe({threadId:I,companyId:Ue,entityType:Ge}),P(He,n)};return a.jsx(rt,{sharedItems:{sharedFunctions:{subtreeFunctions:Me},sharedRef:void 0},children:a.jsxs(io,{children:[a.jsx(lt,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!r&&!Ie,showMenuIcon:p==="medium-compact"||p==="small",backgroundColor:i.colors.grey4,style:{zIndex:3,...ct.largeSemiBold.cssObject},onBackClick:re,rightSideComponent:Pe,onClickMenuIcon:ue,isSearchOpen:_}),a.jsxs(ro,{children:[a.jsx(lo,{children:a.jsx(Et,{tabIds:Se,approvalCount:C,selectedTab:n,entity:l,enablePerformanceTracking:!1,onTabSelectedChange:$e,onClickSetupIcon:j})}),ke]}),Ee?a.jsx(Kt,{botEmail:o,onCancelClick:()=>F(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:a.jsx(N,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:a.jsx(dt,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:a.jsx(D,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:a.jsx(N,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:a.jsx(ut,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:a.jsx(D,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&B||l==="reimbursement"&&L?a.jsx(It,{id:De,children:a.jsx(pt,{isDrawerOpen:Fe,allowComposer:!1,drawerTitle:Zt,threads:Ne,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:d.currentTenant?.companyId,isGlobalComment:!1,tab:O},isLoading:!1,textOverrides:{composerPlaceholder:Qt,replyComposerPlaceholder:Xt,threadResolve:eo,threadUnResolve:to},onThreadClick:(b,I)=>ze(b,I),onCloseAllThreadsDrawer:()=>$(!1),drawerSectionStyle:{width:p==="small"?"100%":"400px",boxSizing:p==="small"?"border-box":"content-box",padding:`${t.sp0} ${oo.drawerSectionPaddingLeftRight.valuePx(p)}`,backgroundColor:i.colors.background},collapsibleThreadStyle:{width:p==="small"?"100%":"360px"}})}):null]})})},so=e=>e.base64!==void 0?`${ft}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",W=(e,i,d,p,f)=>{const u=m.filters.filterOptions;return e==="bill_pay"?Ve.reduce((s,o)=>{switch(o.value){case"amount":return{...s,[o.value]:u.billAmountOptions};case"paymentMethod":return{...s,[o.value]:u.paymentMethodOptions};case"status":return{...s,[o.value]:[...u.commonStatusOptions,...u.billStatusOptions]};case"paymentType":return{...s,[o.value]:u.billPaymentTypeOptions};default:return{...s,[o.value]:[]}}},{}):e==="reimbursement"?(z(d)?We:Ye).reduce((s,o)=>{switch(o.value){case"createdBy":{if(i?.length===0)return{...s,[o.value]:[]};const r=i.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...s,[o.value]:r}}case"paymentMethod":return{...s,[o.value]:u.paymentMethodOptions};case"status":return{...s,[o.value]:u.commonStatusOptions};case"amount":return{...s,[o.value]:u.reimbursementAmountOptions};default:return{...s,[o.value]:[]}}},{}):e==="charge_card_payment_history"?(qe??[]).reduce((s,o)=>{switch(o.value){case"status":return{...s,[o.value]:u.paymentHistoryStatusOptions};case"initiatedBy":{if(i?.length===0)return{...s,[o.value]:[]};const r=i.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...s,[o.value]:[{label:"Autopay",value:"autopay"},...r]}}case"sourceAccount":{const r=f?Object.entries(f).map(([n,w])=>{const C=Rt(w.depositAccountName,w.depositAccountLast4,m.chargeCard.paymentHistory.sourceAccountUnknown),y=Pt(w,so),g=y.iconType!=null&&y.iconColor!=null,l=y.photo,k=l!=null&&l!=="";return{label:C,value:n,...g&&{iconType:y.iconType,iconColor:y.iconColor},...k&&{photo:Je(l)}}}):[];return{...s,[o.value]:r}}case"repaymentDate":return{...s,[o.value]:[]};default:return{...s,[o.value]:[]}}},{}):Ke.reduce((s,o)=>{switch(o.value){case"assignee":{if(i?.length===0)return{...s,[o.value]:[]};const r=i.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...s,[o.value]:r}}case"status":return{...s,[o.value]:[...Qe.map(r=>({label:r.name,value:r.code}))]};case"priority":return{...s,[o.value]:[...Ze.map(r=>({label:r.name,value:r.code}))]};case"tag":return{...s,[o.value]:[...p.map(r=>({label:r.name,value:r.tagId}))]};default:return{...s,[o.value]:[]}}},{})},io=c.div`
121
121
  display: flex;
122
122
  min-height: 100%;
123
123
  flex-direction: column;
@@ -131,4 +131,4 @@ import{FK as Ve,FL as We,FM as Ye,FN as z,FO as qe,E7 as Je,FP as Ke,cd as Ze,ce
131
131
  display: flex;
132
132
  margin-top: ${t.sp3};
133
133
  justify-content: center;
134
- `,ko=Object.freeze(Object.defineProperty({__proto__:null,default:no,getDashboardFilterCategoryValues:W},Symbol.toStringTag,{value:"Module"}));export{ko as S,W as a,Rt as g,So as i,xo as r};
134
+ `,ko=Object.freeze(Object.defineProperty({__proto__:null,default:ao,getDashboardFilterCategoryValues:W},Symbol.toStringTag,{value:"Module"}));export{ko as S,W as a,Rt as g,So as i,xo as r};
@@ -1,4 +1,4 @@
1
- import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as Yt,aP as ei,o as i,F as te,cb as ti,ck as rt,g2 as ii,b2 as oi,cr as ni,iO as li,iP as ri,k as si,bR as Y,d as Le,bM as ai,aR as di,y as p,g3 as ci,kX as pi,p as G,cW as mi,am as K,al as F,ai as se,bC as ui,bP as ft,b as ze,aN as ee,aH as xe,iX as $t,iY as vt,kY as hi,f6 as gi,kZ as bi,k_ as St,k$ as kt,k6 as yi,l0 as xi,l1 as wi,c,iW as Tt,cw as Pt,cz as Ct,aw as Ze,gG as Je,a8 as Ye,gh as et,cP as jt,l2 as _t,l3 as Ie,aL as De,l4 as tt,l5 as Bt,l6 as E,l7 as zt,gt as Lt,cU as It,dq as it}from"./index-D8PMCh18.js";import{a as P,S as Dt}from"./sentry-gJCFOenX.js";import{n as o,c as Z}from"./mui-8c7TTPte.js";import{Gy as ke,Ge as Te,FH as Ae,bp as At}from"./zeni-epic-state-B6kYb9qr.js";import{K as fi,L as $i,_ as vi}from"./StatusSwitcher-CfBOEbYV-BG_Psc8-.js";import{d as Rt}from"./useLongPress-GCK2COYQ-b6cGrqv9.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.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]="5d90232a-7fc9-40d7-8703-047ad7c60bbe",e._sentryDebugIdIdentifier="sentry-dbid-5d90232a-7fc9-40d7-8703-047ad7c60bbe")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Re={key:"name",value:he.name,sortOrder:"ascending",width:new p(c[5],c[5])},Ee={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new p(20,20)},Si={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new p(20,20)},ot={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new p(20,20)},nt={key:"status",value:he.status,sortOrder:"ascending",width:new p(18,18)},ki={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new p(18,18)},Fe={key:"amount",value:he.amount,sortOrder:"ascending",width:new p(10,10)},be=[Re,Ee,Si,nt,Fe],Ti=[Re,Ee,ot,nt,Fe],Pi=[Re,Ee,ot,nt,Fe],Ci=[Re,Ee,ot,ki,Fe],ge={headerLastColumnTopPadding:new p(c[0],c[4]),headerLastColumnRightPadding:new p(c[3],c[11]),headerLastColumnBottomPadding:new p(c[0],c[4]),headerLastColumnLeftPadding:new p(c[0],c[4]),headerHeight:new p($t,vt)};function ji({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:a,sortConfig:r}){const d=Le(),m=H(),[b,y]=P.useState(Ei(n));P.useEffect(()=>{const l=[...b];for(const s of l)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(l)},[r.sortKey,r.sortOrder]);const w=(l,s)=>{let v=s;r.sortKey===l&&(v=s==="ascending"?"descending":"ascending"),a?.(l,v)},$=b.find(l=>l.key===r.sortKey)??b[0],x=l=>b.find(s=>s.key===l)?.value??"",h=b.map(l=>l.key),u=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return m==="small"?t.jsxs(st,{windowSize:m,companyNameSticky:!1,children:[t.jsxs(zi,{children:[t.jsx(Ii,{children:t.jsx(Li,{})}),t.jsx(ft,{title:u.sortBy,placeholder:u.sortBy,pickerValues:h,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:l=>{w(l,"ascending")},optionTextStyle:ze.smallRegular,titleTextStyle:ze.smallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.background})]}),t.jsxs(Ri,{onClick:()=>w($.key,$.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:$.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:$,children:t.jsx(dt,{})})]})]}):t.jsx(st,{companyNameSticky:e,windowSize:m,children:b.map(l=>t.jsxs(_i,{companyNameSticky:e&&l.key==="name",sortDataValue:r.sortKey,actualDataValue:l.key,wrapperWidth:l.width,windowSize:m,children:[t.jsxs(Ai,{onClick:()=>w(l.key,l.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:l.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:l,children:t.jsx(dt,{})})]}),t.jsx(Di,{sortDataValue:r.sortKey,windowSize:m,isVisible:r.sortKey===l.key&&l.key!=="dueDate",children:t.jsx(Bi,{onClick:()=>w("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},l.key))})}const Et=Dt.memo(ji),st=o(se)`
1
+ import{a9 as Gt,cC as Ht,q as H,kW as Qt,V as t,ac as Xt,cn as Zt,co as Jt,cp as Yt,aP as ei,o as i,F as te,cb as ti,ck as rt,g2 as ii,b2 as oi,cr as ni,iO as li,iP as ri,k as si,bR as Y,d as Le,bM as ai,aR as di,y as p,g3 as ci,kX as pi,p as G,cW as mi,am as K,al as F,ai as se,bC as ui,bP as ft,b as ze,aN as ee,aH as xe,iX as $t,iY as vt,kY as hi,f6 as gi,kZ as bi,k_ as St,k$ as kt,k6 as yi,l0 as xi,l1 as wi,c,iW as Tt,cw as Pt,cz as Ct,aw as Ze,gG as Je,a8 as Ye,gh as et,cP as jt,l2 as _t,l3 as Ie,aL as De,l4 as tt,l5 as Bt,l6 as E,l7 as zt,gt as Lt,cU as It,dq as it}from"./index-B6Om0Agf.js";import{a as P,S as Dt}from"./sentry-yju9hmuU.js";import{n as o,c as Z}from"./mui-C6XKQL2c.js";import{Gy as ke,Ge as Te,FH as Ae,bp as At}from"./zeni-epic-state-ag00jsAo.js";import{K as fi,L as $i,_ as vi}from"./StatusSwitcher-Cw0Sq3bY-BbChaknS.js";import{d as Rt}from"./useLongPress-GCK2COYQ-Dvu-g8xT.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.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]="3218d0bd-e753-4fb5-b77e-3d18fda6e70e",e._sentryDebugIdIdentifier="sentry-dbid-3218d0bd-e753-4fb5-b77e-3d18fda6e70e")}catch{}})();const he=te.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,Re={key:"name",value:he.name,sortOrder:"ascending",width:new p(c[5],c[5])},Ee={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new p(20,20)},Si={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new p(20,20)},ot={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new p(20,20)},nt={key:"status",value:he.status,sortOrder:"ascending",width:new p(18,18)},ki={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new p(18,18)},Fe={key:"amount",value:he.amount,sortOrder:"ascending",width:new p(10,10)},be=[Re,Ee,Si,nt,Fe],Ti=[Re,Ee,ot,nt,Fe],Pi=[Re,Ee,ot,nt,Fe],Ci=[Re,Ee,ot,ki,Fe],ge={headerLastColumnTopPadding:new p(c[0],c[4]),headerLastColumnRightPadding:new p(c[3],c[11]),headerLastColumnBottomPadding:new p(c[0],c[4]),headerLastColumnLeftPadding:new p(c[0],c[4]),headerHeight:new p($t,vt)};function ji({companyNameSticky:e,currentTab:n,onColumnSortConfigChanged:a,sortConfig:r}){const d=Le(),m=H(),[b,y]=P.useState(Ei(n));P.useEffect(()=>{const l=[...b];for(const s of l)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(l)},[r.sortKey,r.sortOrder]);const w=(l,s)=>{let v=s;r.sortKey===l&&(v=s==="ascending"?"descending":"ascending"),a?.(l,v)},$=b.find(l=>l.key===r.sortKey)??b[0],x=l=>b.find(s=>s.key===l)?.value??"",h=b.map(l=>l.key),u=te.getLocalizedStrings().spendManagement.billPay.billsByTabs;return m==="small"?t.jsxs(st,{windowSize:m,companyNameSticky:!1,children:[t.jsxs(zi,{children:[t.jsx(Ii,{children:t.jsx(Li,{})}),t.jsx(ft,{title:u.sortBy,placeholder:u.sortBy,pickerValues:h,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:l=>{w(l,"ascending")},optionTextStyle:ze.smallRegular,titleTextStyle:ze.smallRegular,titleColor:d.colors.primary,selectedOptionColor:d.colors.hero,optionBackgroundColor:d.colors.grey5,downChevronVisible:!1,backgroundColor:d.colors.background})]}),t.jsxs(Ri,{onClick:()=>w($.key,$.sortOrder),"data-testid":ee("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:$.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:$,children:t.jsx(dt,{})})]})]}):t.jsx(st,{companyNameSticky:e,windowSize:m,children:b.map(l=>t.jsxs(_i,{companyNameSticky:e&&l.key==="name",sortDataValue:r.sortKey,actualDataValue:l.key,wrapperWidth:l.width,windowSize:m,children:[t.jsxs(Ai,{onClick:()=>w(l.key,l.sortOrder),"data-testid":ee("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:l.value}),t.jsx(at,{sortDataValue:r.sortKey,headerdata:l,children:t.jsx(dt,{})})]}),t.jsx(Di,{sortDataValue:r.sortKey,windowSize:m,isVisible:r.sortKey===l.key&&l.key!=="dueDate",children:t.jsx(Bi,{onClick:()=>w("dueDate","ascending"),"data-testid":ee("bill-pay-list-header-sort-close",r.sortKey)})})]},l.key))})}const Et=Dt.memo(ji),st=o(se)`
2
2
  width: 100%;
3
3
  top: ${i.sp0};
4
4
  left: ${i.sp0};
@@ -1,4 +1,4 @@
1
- import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as he,b as oe,bF as re,F as j,y as ne,g$ as ge,c1 as me,h0 as fe,cX as le,bG as M,b9 as ye,ai as se,h1 as xe,bE as ae,aw as be,h2 as Ce,h3 as we,al as V,b8 as ve,h4 as $e,ay as je,h5 as Se,p as ke,cW as Oe,bM as Le,fY as Ie,h6 as Ee,M as W,L as _e,fZ as Me,aR as Ae}from"./index-D8PMCh18.js";import{a as s}from"./sentry-gJCFOenX.js";import{n as l,k as Fe}from"./mui-8c7TTPte.js";import{FO as Te,FP as Re,FL as Be,FM as De,FN as ze,FK as Pe}from"./zeni-epic-state-B6kYb9qr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="db53187e-e7b6-4216-bc80-0f4931e58c6b",e._sentryDebugIdIdentifier="sentry-dbid-db53187e-e7b6-4216-bc80-0f4931e58c6b")}catch{}})();const He=l.div`
1
+ import{q as B,d as D,V as o,cl as H,o as r,aN as N,k as te,g_ as ue,c as R,n as he,b as oe,bF as re,F as j,y as ne,g$ as ge,c1 as me,h0 as fe,cX as le,bG as M,b9 as ye,ai as se,h1 as xe,bE as ae,aw as be,h2 as Ce,h3 as we,al as V,b8 as ve,h4 as $e,ay as je,h5 as Se,p as ke,cW as Oe,bM as Le,fY as Ie,h6 as Ee,M as W,L as _e,fZ as Me,aR as Ae}from"./index-B6Om0Agf.js";import{a as s}from"./sentry-yju9hmuU.js";import{n as l,k as Fe}from"./mui-C6XKQL2c.js";import{FO as Te,FP as Re,FL as Be,FM as De,FN as ze,FK as Pe}from"./zeni-epic-state-ag00jsAo.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="db53187e-e7b6-4216-bc80-0f4931e58c6b",e._sentryDebugIdIdentifier="sentry-dbid-db53187e-e7b6-4216-bc80-0f4931e58c6b")}catch{}})();const He=l.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
@@ -0,0 +1,31 @@
1
+ import{q as $,hH as b,V as o,F as g,k as S,o as r,al as v,y as z,c1 as j,c as k}from"./index-B6Om0Agf.js";import{a as I}from"./sentry-yju9hmuU.js";import{n}from"./mui-C6XKQL2c.js";import{g as D}from"./BoxItem-CqsCCOrk-3dsq5OCh.js";import{w as P}from"./downloadPdf-DYME892p-CgtFhUt6.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]="174d4873-71d1-4fa2-9a6e-f40601cee88b",e._sentryDebugIdIdentifier="sentry-dbid-174d4873-71d1-4fa2-9a6e-f40601cee88b")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},T=n.div`
2
+ display: flex;
3
+ padding: ${r.sp3} ${r.sp4};
4
+ flex-direction: row;
5
+ width: 100%;
6
+ `,L=n.div`
7
+ display: flex;
8
+ justify-content: space-between;
9
+ align-items: center;
10
+ width: 100%;
11
+ `,q=n(v)`
12
+ display: -webkit-box;
13
+ -webkit-box-orient: vertical;
14
+ -webkit-line-clamp: 1;
15
+ margin-left: ${r.sp2};
16
+ max-height: ${r.sp11};
17
+ text-overflow: ellipsis;
18
+ word-break: break-word;
19
+ text-align: left;
20
+ overflow: hidden;
21
+ `,B=n.div`
22
+ cursor: pointer;
23
+ `,C=n(j)`
24
+ width: ${e=>d.downloadButtonSize.valuePx(e.windowSize)};
25
+ height: ${e=>d.downloadButtonSize.valuePx(e.windowSize)};
26
+ min-height: ${e=>d.downloadButtonSize.valuePx(e.windowSize)};
27
+ color: ${e=>e.theme.colors.hero};
28
+ &:hover {
29
+ color: ${e=>e.theme.colors.primary};
30
+ }
31
+ `;function U({accountLast4:e,currentTenantCompanyName:i,data:t,authParams:f,downloadEndPoint:s,documentType:a="statement",boxType:c}){const[m,p]=I.useState(!1),w=$(),u=a==="taxLetter"?`${t.title.year}`:`${l[t.title.month-1]} ${t.title.year}`,y=a==="taxLetter"?`${i}-treasury-tax-letter-${t.title.year}.pdf`:`${i}-${e}-monthly-statement-${l[t.title.month-1]}-${t.title.year}.pdf`,h={period:`${t.title.year}-${b(t.title.month)}`,format:"pdf"},x=o.jsx(T,{children:o.jsxs(L,{children:[o.jsx(q,{children:u}),o.jsx(B,{onClick:()=>P(a==="treasuryStatement"||a==="taxLetter"?`${s}/statements/${t.id}`:`${s}/statements?query=${encodeURIComponent(JSON.stringify(h))}`,y,f,p),children:m?o.jsx(S,{size:"Small",start:!0}):o.jsx(C,{windowSize:w})})]})});return o.jsx(D,{content:x,boxType:c,isDisabled:!1,isNotClickable:!0})}export{U as O};
@@ -1,4 +1,4 @@
1
- import{d as S,q as I,V as t,bA as z,b2 as C,o as r,F as P,p,cr as D,y as E,c as b,al as T}from"./index-D8PMCh18.js";import{a as f}from"./sentry-gJCFOenX.js";import{n as o}from"./mui-8c7TTPte.js";import{$ as B}from"./BoxItem-BoanamYM-LrJX4JYX.js";import{o as L}from"./commonDimensions-uDLC8oOH-0Au8IFVq.js";import{O as M}from"./StatementItem-DeYhvD3S-D2y3sY45.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./zeni-epic-state-B6kYb9qr.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";import"./downloadPdf-DZnGQqi5-CeOjPDtf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="56a0bd51-f61c-4fba-abef-aba42c2a83c2",e._sentryDebugIdIdentifier="sentry-dbid-56a0bd51-f61c-4fba-abef-aba42c2a83c2")}catch{}})();const u=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,w={listItemMargin:new E(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:m,statementListView:n,accountLast4:x,onBackClick:y})=>{const k=S(),d=I(),$=f.createRef(),c=f.useRef(null),h=n.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:i,style:s})=>{const l=n.statements[i];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${w.listItemMargin.valuePx(d)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:x,data:l,authParams:a,downloadEndPoint:m,boxType:B(i,n.statements.length)},l.id)}):t.jsx(O,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:u.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:u.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:i,width:s})=>t.jsx(A,{ref:$,height:i,width:s,outerRef:c,itemKey:l=>l,itemCount:n.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},O=o.div``,g=o.div`
1
+ import{d as S,q as I,V as t,bA as z,b2 as C,o as r,F as P,p,cr as D,y as E,c as b,al as T}from"./index-B6Om0Agf.js";import{a as u}from"./sentry-yju9hmuU.js";import{n as o}from"./mui-C6XKQL2c.js";import{$ as B}from"./BoxItem-CqsCCOrk-3dsq5OCh.js";import{o as L}from"./commonDimensions-IG4iGJ-6-D0-edPu2.js";import{O as M}from"./StatementItem-CL4KzNeN-DGvjkmoq.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./zeni-epic-state-ag00jsAo.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";import"./downloadPdf-DYME892p-CgtFhUt6.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]="59835bb3-af19-413d-a499-8437d0f330ed",e._sentryDebugIdIdentifier="sentry-dbid-59835bb3-af19-413d-a499-8437d0f330ed")}catch{}})();const f=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,w={listItemMargin:new E(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:x,onBackClick:y})=>{const k=S(),d=I(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(g,{windowSize:d,style:{...s,width:`calc(100% - 2*${w.listItemMargin.valuePx(d)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:x,data:l,authParams:n,downloadEndPoint:m,boxType:B(a,i.statements.length)},l.id)}):t.jsx(O,{style:{...s},children:t.jsx(_,{children:t.jsx(g,{windowSize:d,children:t.jsx(R,{children:f.noStatements})})})})};return t.jsxs(N,{children:[t.jsx(z,{title:f.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(V,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(A,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},O=o.div``,g=o.div`
2
2
  margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{q as $,cb as T,V as p,F as v,y as h,o as s,c,ai as _}from"./index-D8PMCh18.js";import{n as u,c as m}from"./mui-8c7TTPte.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9cf6dda7-85df-46e7-9453-b89e8f8d268e",e._sentryDebugIdIdentifier="sentry-dbid-9cf6dda7-85df-46e7-9453-b89e8f8d268e")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,t){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(t)}return g(t)}function d(e,t,r){const n=e[t];return n!=null?A(n,r):null}const L=(e,t)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),a=String(e);if(t)switch(t){case"bill_pay":{const i=d(r,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=d(n,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=d(l,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(d(r,a,a)??d(n,a,a)??d(l,a,a)??g(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
1
+ import{q as $,cb as T,V as p,F as v,y as h,o as s,c,ai as _}from"./index-B6Om0Agf.js";import{n as u,c as m}from"./mui-C6XKQL2c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9cf6dda7-85df-46e7-9453-b89e8f8d268e",e._sentryDebugIdIdentifier="sentry-dbid-9cf6dda7-85df-46e7-9453-b89e8f8d268e")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,t){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(t)}return g(t)}function d(e,t,r){const n=e[t];return n!=null?A(n,r):null}const L=(e,t)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),a=String(e);if(t)switch(t){case"bill_pay":{const i=d(r,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=d(n,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=d(l,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(d(r,a,a)??d(n,a,a)??d(l,a,a)??g(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as i,k as u,o as s,ai as g,aY as f}from"./index-D8PMCh18.js";import{n as r,c}from"./mui-8c7TTPte.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]="5c134c47-94f6-4a4d-a871-36f47c7a752a",e._sentryDebugIdIdentifier="sentry-dbid-5c134c47-94f6-4a4d-a871-36f47c7a752a")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(y,{style:o,hasRightComponent:h,children:[i.jsx(b,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const y=r.div`
1
+ import{V as i,k as u,o as s,ai as g,aY as f}from"./index-B6Om0Agf.js";import{n as r,c}from"./mui-C6XKQL2c.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]="5c134c47-94f6-4a4d-a871-36f47c7a752a",e._sentryDebugIdIdentifier="sentry-dbid-5c134c47-94f6-4a4d-a871-36f47c7a752a")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(y,{style:o,hasRightComponent:h,children:[i.jsx(b,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const y=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{V as n}from"./index-D8PMCh18.js";import{E as r,A as t}from"./ReloadCard-DzxA-pGI-BTxFtDZL.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]="18fc1ce5-68d5-4bc2-95e0-0629c3312ea5",e._sentryDebugIdIdentifier="sentry-dbid-18fc1ce5-68d5-4bc2-95e0-0629c3312ea5")}catch{}})();const a=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{a as c};
1
+ import{V as n}from"./index-B6Om0Agf.js";import{E as r,A as t}from"./ReloadCard-BCuJkAqw-CYhviv2P.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]="fe7e6868-8a5e-4283-8051-f3c75be4cd5a",e._sentryDebugIdIdentifier="sentry-dbid-fe7e6868-8a5e-4283-8051-f3c75be4cd5a")}catch{}})();const c=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{c};
@@ -1,4 +1,4 @@
1
- import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as wt,F as se,o as s,eL as Ze,cg as Ie,ck as ft,g2 as Ct,b8 as Tt,bM as Xe,aR as $t,q as ie,a9 as yt,y as Je,cC as jt,ac as bt,b2 as vt,cr as St,iO as Gt,iP as Lt,jt as De,aP as It,n as Me,bR as Ee,eH as Qe,ju as Et,cX as et,jv as ce,jw as ke,jx as xe,jy as tt,jz as Nt,jA as st,jB as ot,jC as nt,jD as at,jE as rt,jF as V,c as ge,jG as ae,ai as re,jH as Mt,jI as Dt,L as zt,an as Bt,jJ as At,d6 as Rt,jK as Wt,cP as it,ej as Ot,b as Ft,jL as Pt,jM as Ht,g3 as _t,eK as Ut,jN as Vt,jO as X,jP as ze,ct as Kt,jQ as Yt,jR as qt,jS as Zt,jT as Be,p as Ae,gt as Xt,am as Jt}from"./index-D8PMCh18.js";import{a as n}from"./sentry-gJCFOenX.js";import{n as o,c as we}from"./mui-8c7TTPte.js";import{G6 as Qt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-B6kYb9qr.js";import{X as ts,t as ss}from"./SpendManagementSection-CXYhrJSF-DegWG-xT.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-Dn_RFaAK-CfnUwgLK.js";import{a as is}from"./SpendManagementListViewPage-B-EbBpvJ-D4QvSWNX.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";import"./StatusSwitcher-CfBOEbYV-BG_Psc8-.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]="c6670afc-a7db-49a5-badd-2ed356f8aa52",e._sentryDebugIdIdentifier="sentry-dbid-c6670afc-a7db-49a5-badd-2ed356f8aa52")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},N=x=>v(x),M=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=M(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{N(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
1
+ import{aw as gt,d as qe,V as t,js as Y,bA as kt,aa as _,cn as xt,al as K,aq as wt,F as se,o as s,eL as Ze,cg as Ie,ck as ft,g2 as Ct,b8 as Tt,bM as Xe,aR as $t,q as ie,a9 as yt,y as Je,cC as jt,ac as bt,b2 as vt,cr as St,iO as Gt,iP as Lt,jt as De,aP as It,n as Me,bR as Ee,eH as Qe,ju as Et,cX as et,jv as ce,jw as ke,jx as xe,jy as tt,jz as Nt,jA as st,jB as ot,jC as nt,jD as at,jE as rt,jF as V,c as ge,jG as ae,ai as re,jH as Mt,jI as Dt,L as zt,an as Bt,jJ as At,d6 as Rt,jK as Wt,cP as it,ej as Ot,b as Ft,jL as Pt,jM as Ht,g3 as _t,eK as Ut,jN as Vt,jO as X,jP as ze,ct as Kt,jQ as Yt,jR as qt,jS as Zt,jT as Be,p as Ae,gt as Xt,am as Jt}from"./index-B6Om0Agf.js";import{a as n}from"./sentry-yju9hmuU.js";import{n as o,c as we}from"./mui-C6XKQL2c.js";import{G6 as Qt,G7 as Re,cd as lt,ce as dt,cf as es}from"./zeni-epic-state-ag00jsAo.js";import{X as ts,t as ss}from"./SpendManagementSection-Bcex-9e7-BcTlnTQw.js";import{A as os,t as ns,a as as,E as rs}from"./NotificationsListConfig-C-OlC5S6-zDT4Ztbb.js";import{a as is}from"./SpendManagementListViewPage-BL77zVeL-BdHlBBto.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";import"./StatusSwitcher-Cw0Sq3bY-BbChaknS.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]="dde224ff-7c2e-4f47-99e0-57ebb426f1d3",e._sentryDebugIdIdentifier="sentry-dbid-dde224ff-7c2e-4f47-99e0-57ebb426f1d3")}catch{}})();const ls=100,ds=100,cs=3,ps=.7,us=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ls,scrollSpeed:h=ds,minScrollAmount:m=cs,scrollCurveExponent:u=ps})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},v=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},N=x=>v(x),M=x=>{const S=Math.max(x,0)/c,y=Math.pow(S,u)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=p;if(y<c&&y>0){const L=c-y,g=M(L);k(x,g,"up")}else if(y>S-c){const L=y-(S-c),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{N(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(p=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,d,m,e,u,h])},ve=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(hs,{isCircular:e<10,children:t.jsx(ms,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),hs=o.div`
2
2
  ${e=>e.isCircular?we`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{V as t,b2 as Y,aB as S,df as _,bq as H,o as a,ai as q}from"./index-D8PMCh18.js";import{a as n}from"./sentry-gJCFOenX.js";import{n as g}from"./mui-8c7TTPte.js";import{Y as L}from"./core-eaZ5MkII.js";import{V as U}from"./CollapsableReportTable-CRaZZnGr-BljjGZjn.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]="66546fa5-215b-452a-9894-bdc1dfd924ce",e._sentryDebugIdIdentifier="sentry-dbid-66546fa5-215b-452a-9894-bdc1dfd924ce")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{V as t,b2 as Y,aB as S,df as _,bq as H,o as d,ai as q}from"./index-B6Om0Agf.js";import{a as n}from"./sentry-yju9hmuU.js";import{n as g}from"./mui-C6XKQL2c.js";import{Y as L}from"./core-BPFYe8Fp.js";import{V as U}from"./CollapsableReportTable-LB-wYzj1-B7gXwkx1.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]="e1295eed-9697-4bcf-8926-c2cb5f9309fb",e._sentryDebugIdIdentifier="sentry-dbid-e1295eed-9697-4bcf-8926-c2cb5f9309fb")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -25,8 +25,8 @@ import{V as t,b2 as Y,aB as S,df as _,bq as H,o as a,ai as q}from"./index-D8PMCh
25
25
  position: relative;
26
26
  scrollbar-width: none;
27
27
  `,J=g(q)``,K=g.div`
28
- top: ${a.sp0};
29
- left: ${a.sp0};
28
+ top: ${d.sp0};
29
+ left: ${d.sp0};
30
30
  width: calc(${e=>h*e.numberOfTicksSelected}px);
31
31
  position: absolute;
32
32
  height: ${p}px;
@@ -34,19 +34,19 @@ import{V as t,b2 as Y,aB as S,df as _,bq as H,o as a,ai as q}from"./index-D8PMCh
34
34
  .slider-icon {
35
35
  fill: ${e=>e.theme.colors.grey1};
36
36
  }
37
- border-radius: ${a.sp2};
38
- border-left: ${a.sp0};
39
- border-right: ${a.sp0};
37
+ border-radius: ${d.sp2};
38
+ border-left: ${d.sp0};
39
+ border-right: ${d.sp0};
40
40
  &:hover {
41
41
  border: 1px solid ${e=>e.theme.colors.primary};
42
- border-radius: ${a.sp2};
43
- border-left: ${a.sp0};
44
- border-right: ${a.sp0};
42
+ border-radius: ${d.sp2};
43
+ border-left: ${d.sp0};
44
+ border-right: ${d.sp0};
45
45
  .slider-icon {
46
46
  fill: ${e=>e.theme.colors.primary};
47
47
  }
48
48
  }
49
- line-height: ${a.sp0};
49
+ line-height: ${d.sp0};
50
50
  pointer-events: none;
51
51
  box-sizing: border-box;
52
52
  `,Q=g.div`
@@ -61,4 +61,4 @@ import{V as t,b2 as Y,aB as S,df as _,bq as H,o as a,ai as q}from"./index-D8PMCh
61
61
  cursor: pointer;
62
62
  pointer-events: all;
63
63
  color: ${e=>e.theme.colors.grey5};
64
- `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return L.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:i,tick:r,tickIndex:u,isSelected:d,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:d,onClick:()=>{f(r,u,i)},children:t.jsx(J,{children:U(s,r,i)})})}function ne(e,s,i,r,u){const d=s-e,f=Math.floor(e/h)+Math.round(d/h),w=f+i.length-r.length,x=f+i.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:i.length},fromEnd:{offsetFromEnd:b,length:i.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let i={startIndex:0,length:0};if(oe(e))i=e;else{const r=e.length;i={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return i}function ie({width:e,firstMonthOfFY:s,timeframe:i,timeframeTicks:r,isEnabled:u,selection:d,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[l,T]=n.useState(I(d.selectedTicks,r)),$=n.useRef(l.startIndex);n.useEffect(()=>{$.current=l.startIndex});const[y,C]=n.useState(d.highlightedOfSelectedTicks),O=(l.startIndex+l.length>r.length?Math.max(r.length-l.length,0):l.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(d.selectedTicks,r);if(!S(l,o)){T(o);const c=o.startIndex*h;F({x:c,y:0})}S(y,d.highlightedOfSelectedTicks)||C(d.highlightedOfSelectedTicks)},[l,y,d,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:c}=l;x.current?.scrollToItem($.current<=o?o+c-1:o)},[x,l]);const N=u!==!1,P=(o,c,m)=>{f?.(m,o)},V=(o,c)=>{const m=ne(E.x,c.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},B=({index:o,style:c})=>{const m=r[o],{startIndex:v,length:D}=y,R=o>=v&&o<v+D;return t.jsx("div",{style:{...c},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:i,tick:m,tickIndex:o,isSelected:R,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:B}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(_,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-l.length)*h},grid:[1,0],scale:1,onStop:V,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:l.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(Y,{children:({width:s})=>t.jsx(ie,{...e,width:s})})})}export{p as a,he as p};
64
+ `;function j({iconPosition:e}){switch(e){case"left":return t.jsx(W,{className:"slider-icon",fill:"currentColor"});case"right":return t.jsx(X,{className:"slider-icon",fill:"currentColor"});default:throw Error("Invalid iconPosition")}}function te(e){return L.createPortal(e.children,e.parentNode)}function re({enabled:e,firstMonthOfFY:s,timeframe:i,tick:r,tickIndex:u,isSelected:c,onClick:f}){return t.jsx(A,{isEnabled:e,isSelected:c,onClick:()=>{f(r,u,i)},children:t.jsx(J,{children:U(s,r,i)})})}function ne(e,s,i,r,u){const c=s-e,f=Math.floor(e/h)+Math.round(c/h),w=f+i.length-r.length,x=f+i.length,b=u-x;return{selectedTicks:{fromStart:{startIndex:f,length:i.length},fromEnd:{offsetFromEnd:b,length:i.length}},highlightedOfSelectedTicks:{startIndex:w,length:r.length}}}function oe(e){return e.startIndex!=null}function I(e,s){let i={startIndex:0,length:0};if(oe(e))i=e;else{const r=e.length;i={startIndex:s.length-e.offsetFromEnd-r+1,length:e.length}}return i}function ie({width:e,firstMonthOfFY:s,timeframe:i,timeframeTicks:r,isEnabled:u,selection:c,onClick:f,onSelectionChanged:w}){const x=n.createRef(),b=n.useRef(null),[z,M]=n.useState(!1),[l,T]=n.useState(I(c.selectedTicks,r)),$=n.useRef(l.startIndex);n.useEffect(()=>{$.current=l.startIndex});const[y,C]=n.useState(c.highlightedOfSelectedTicks),O=(l.startIndex+l.length>r.length?Math.max(r.length-l.length,0):l.startIndex)*h,[E,F]=n.useState({x:O,y:0});n.useEffect(()=>{M(!0)},[]),n.useEffect(()=>{const o=I(c.selectedTicks,r);if(!S(l,o)){T(o);const a=o.startIndex*h;F({x:a,y:0})}S(y,c.highlightedOfSelectedTicks)||C(c.highlightedOfSelectedTicks)},[l,y,c,r]),n.useLayoutEffect(()=>{const{startIndex:o,length:a}=l;x.current?.scrollToItem($.current<=o?o+a-1:o)},[x,l]);const N=u!==!1,P=(o,a,m)=>{f?.(m,o)},V=(o,a)=>{const m=ne(E.x,a.x,l,y,r.length);w?.(m.selectedTicks,m.highlightedOfSelectedTicks,i,r)},B=({index:o,style:a})=>{const m=r[o],{startIndex:v,length:D}=y,R=o>=v&&o<v+D;return t.jsx("div",{style:{...a},children:t.jsx(re,{enabled:N,firstMonthOfFY:s,timeframe:i,tick:m,tickIndex:o,isSelected:R,onClick:P},o)})},k=document.getElementsByClassName("date-range-list")[0];return t.jsxs(t.Fragment,{children:[t.jsx(G,{ref:x,height:p,width:e,itemCount:r.length,itemSize:h,layout:"horizontal",className:"date-range-list",style:{overflowY:"hidden"},children:B}),z===!0&&k!=null?t.jsx(te,{parentNode:k,children:t.jsx(_,{axis:"x",defaultPosition:{x:0,y:0},position:E,bounds:{left:0,right:(r.length-l.length)*h},grid:[1,0],scale:1,onStop:V,nodeRef:b,children:t.jsxs(K,{numberOfTicksSelected:l.length,ref:b,children:[t.jsx(Q,{children:t.jsx(j,{iconPosition:"left"})}),t.jsx(ee,{children:t.jsx(j,{iconPosition:"right"})})]})})}):null]})}function he(e){return t.jsx(Z,{children:t.jsx(Y,{children:({width:s})=>t.jsx(ie,{...e,width:s})})})}export{p as a,he as p};
@@ -1,4 +1,4 @@
1
- import{V as s,o,ai as f,F as p}from"./index-D8PMCh18.js";import{n}from"./mui-8c7TTPte.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b1f7281b-79ab-4ce2-933f-046b7ce5b51a",e._sentryDebugIdIdentifier="sentry-dbid-b1f7281b-79ab-4ce2-933f-046b7ce5b51a")}catch{}})();const u=n.div`
1
+ import{V as s,o,ai as f,F as p}from"./index-B6Om0Agf.js";import{n}from"./mui-C6XKQL2c.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b1f7281b-79ab-4ce2-933f-046b7ce5b51a",e._sentryDebugIdIdentifier="sentry-dbid-b1f7281b-79ab-4ce2-933f-046b7ce5b51a")}catch{}})();const u=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as d,V as t,y as n,ai as u,bH as w}from"./index-D8PMCh18.js";import{n as r}from"./mui-8c7TTPte.js";import{b as l}from"./TimeframeSwitcher-YlXclGGy-C1UEcBoK.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]="35da3d2f-f38d-46b2-9515-70fb58e6779c",e._sentryDebugIdIdentifier="sentry-dbid-35da3d2f-f38d-46b2-9515-70fb58e6779c")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
1
+ import{q as d,V as t,y as n,ai as u,bH as w}from"./index-B6Om0Agf.js";import{n as r}from"./mui-C6XKQL2c.js";import{b as l}from"./TimeframeSwitcher-DJiKd_tL-DApIRoV9.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]="4f91da55-5d7c-4235-97c0-8716fdb63fb8",e._sentryDebugIdIdentifier="sentry-dbid-4f91da55-5d7c-4235-97c0-8716fdb63fb8")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,19 +1,19 @@
1
- import{aB as V,q as M,V as t,d as x,c as f,b as T,aW as R,aL as q,aJ as H,o as p,ai as C,b8 as F,al as G,F as S,aK as Q,aQ as E,b1 as X,b2 as J,aN as N,aR as Y,bP as U}from"./index-D8PMCh18.js";import{S as w,a as W}from"./sentry-gJCFOenX.js";import{F3 as Z}from"./zeni-epic-state-B6kYb9qr.js";import{n as g}from"./mui-8c7TTPte.js";import{z as ee,A as te}from"./ReloadCard-DzxA-pGI-BTxFtDZL.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-CBdedu6R.js";import{H as k,X as L,Y as $,K as O,O as A,Q as ne,S as oe}from"./recharts-DLR05d4e.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]="b5dc6b7b-c8d9-408c-a535-691c66466671",e._sentryDebugIdIdentifier="sentry-dbid-b5dc6b7b-c8d9-408c-a535-691c66466671")}catch{}})();const ie=g(E)`
1
+ import{aB as V,q as M,V as t,d as x,c as p,b as T,aW as R,aL as q,aJ as H,o as f,ai as C,b8 as F,al as G,F as S,aK as Q,aQ as E,b1 as X,b2 as J,aN as N,aR as Y,bP as U}from"./index-B6Om0Agf.js";import{S as w,a as W}from"./sentry-yju9hmuU.js";import{F3 as Z}from"./zeni-epic-state-ag00jsAo.js";import{n as g}from"./mui-C6XKQL2c.js";import{z as ee,A as te}from"./ReloadCard-BCuJkAqw-CYhviv2P.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-CGUgoC2L.js";import{H as k,X as L,Y as $,K as O,O as A,Q as ne,S as oe}from"./recharts-CPZsikvb.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]="aa93e1ff-d920-471f-9d6d-5e84b70fde64",e._sentryDebugIdIdentifier="sentry-dbid-aa93e1ff-d920-471f-9d6d-5e84b70fde64")}catch{}})();const ie=g(E)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
5
5
  width: ${e=>e.width!=null?e.width+"px":"auto"};
6
6
  `,se=g.div``,le=g(C)`
7
7
  color: ${e=>e.theme.colors.hero};
8
- margin: ${p.sp2} ${p.sp0} ${p.sp2} ${p.sp0};
9
- `,ce=({width:e,height:n,label:r})=>{const l=x();return t.jsxs(ie,{height:n,width:e,children:[t.jsx(se,{}),l.mode==="light"?t.jsx(ae,{style:{marginBottom:p.sp4}}):t.jsx(re,{style:{marginBottom:p.sp4}}),t.jsx(le,{children:r})]})},de=g.div``;function he({allowedValues:e,timeframeSelected:n,onTimeframeChanged:r,textStyle:l}){const i=o=>S.getLocalizedStrings().timeframe[o];return t.jsx(de,{onClick:o=>o.stopPropagation(),children:t.jsx(U,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(Y)`
8
+ margin: ${f.sp2} ${f.sp0} ${f.sp2} ${f.sp0};
9
+ `,ce=({width:e,height:n,label:r})=>{const l=x();return t.jsxs(ie,{height:n,width:e,children:[t.jsx(se,{}),l.mode==="light"?t.jsx(ae,{style:{marginBottom:f.sp4}}):t.jsx(re,{style:{marginBottom:f.sp4}}),t.jsx(le,{children:r})]})},de=g.div``;function he({allowedValues:e,timeframeSelected:n,onTimeframeChanged:r,textStyle:l}){const i=o=>S.getLocalizedStrings().timeframe[o];return t.jsx(de,{onClick:o=>o.stopPropagation(),children:t.jsx(U,{pickerValues:e,valueToLabel:i,selectedValue:n,onPickerSelectionChanged:r,optionTextStyle:l})})}const me=g(Y)`
10
10
  color: ${e=>e.theme.colors.champion};
11
11
  `,D=g.div`
12
12
  display: flex;
13
13
  flex: 0 1 auto;
14
14
  flex-direction: row;
15
15
  align-items: center;
16
- `;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(Q,{"data-testid":N("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>i(l,r),children:t.jsxs(E,{children:[t.jsxs(D,{style:{marginBottom:f[3]},children:[t.jsx(me,{children:n!=null?n+c:X(r)+c})," ",d.length>0?t.jsx(he,{timeframeSelected:o,onTimeframeChanged:a=>h?.(a??"month"),allowedValues:d}):null]}),t.jsx(D,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(J,{children:({height:a,width:m})=>s(m,a)})})})]})})}function B({card:e,reportTitle:n,actions:r,timeframe:l,allowedValues:i,chartElement:o,onTimeframeChange:d}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(ee,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(te,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:r.onReloadData,reportTitle:n}):t.jsx(ue,{dimension:e.dimension,reportTitle:n,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:r.onCardClick,timeframe:l,allowedValues:i??["month","quarter","year"],chartElement:o,onTimeframeChange:s=>{r.onTimeframeChange?.(e.cardType,s),d?.(e.cardType,s)}})}w.memo(B);const K=(e,n,r)=>{const l=n.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),i=r.total,o=r.accountsOrdered.map(a=>({accountId:a.accountId,accountDescription:a.accountDescription,balance:a.balance,logo:a.logo}))??[],d=Math.min(e,o.length),s=o.length?e-o.length:0,h=i?.amount;if(o.length>0&&s>0&&h!=null&&h!==0){const a=o[d-1].balance,m=a?.available?.amount!=null?Math.min(30,a?.available?.amount/h*100):30;for(let u=0;u<s;u+=1){const y=m*(s-u)/(s+1);o.push({accountId:u.toString(),accountDescription:"",balance:{available:{amount:h*y/100,currencySymbol:a.available.currencySymbol,currencyCode:a.available.currencyCode}}})}}const c=o.map(a=>{const m="top_expenses",u={accountId:a.accountId,accountDescription:a.accountDescription,total:i??void 0,logo:a.logo??"",barKey:m};return u[m]=a.balance.available,u});return{timeframeLabelsInOrder:l,chartItems:c}},b=37,j=2,ge=g.div`
16
+ `;function ue({dimension:e,reportTitle:n,cardType:r,cardIndex:l,onCardClick:i,timeframe:o,allowedValues:d,chartElement:s,onTimeframeChange:h}){const c=d.length>0?" - ":"";return t.jsx(Q,{"data-testid":N("dashboard",`${r}-timeframe-${o}`),style:{cursor:"pointer"},dimension:e,onClick:()=>i(l,r),children:t.jsxs(E,{children:[t.jsxs(D,{style:{marginBottom:p[3]},children:[t.jsx(me,{children:n!=null?n+c:X(r)+c})," ",d.length>0?t.jsx(he,{timeframeSelected:o,onTimeframeChanged:a=>h?.(a??"month"),allowedValues:d}):null]}),t.jsx(D,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(J,{children:({height:a,width:m})=>s(m,a)})})})]})})}function B({card:e,reportTitle:n,actions:r,timeframe:l,allowedValues:i,chartElement:o,onTimeframeChange:d}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(ee,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(te,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:r.onReloadData,reportTitle:n}):t.jsx(ue,{dimension:e.dimension,reportTitle:n,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:r.onCardClick,timeframe:l,allowedValues:i??["month","quarter","year"],chartElement:o,onTimeframeChange:s=>{r.onTimeframeChange?.(e.cardType,s),d?.(e.cardType,s)}})}w.memo(B);const K=(e,n,r)=>{const l=n.map(a=>({label:a.timePeriod,startDate:a.startDate,endDate:a.endDate})),i=r.total,o=r.accountsOrdered.map(a=>({accountId:a.accountId,accountDescription:a.accountDescription,balance:a.balance,logo:a.logo}))??[],d=Math.min(e,o.length),s=o.length?e-o.length:0,h=i?.amount;if(o.length>0&&s>0&&h!=null&&h!==0){const a=o[d-1].balance,m=a?.available?.amount!=null?Math.min(30,a?.available?.amount/h*100):30;for(let u=0;u<s;u+=1){const y=m*(s-u)/(s+1);o.push({accountId:u.toString(),accountDescription:"",balance:{available:{amount:h*y/100,currencySymbol:a.available.currencySymbol,currencyCode:a.available.currencyCode}}})}}const c=o.map(a=>{const m="top_expenses",u={accountId:a.accountId,accountDescription:a.accountDescription,total:i??void 0,logo:a.logo??"",barKey:m};return u[m]=a.balance.available,u});return{timeframeLabelsInOrder:l,chartItems:c}},b=37,j=2,ge=g.div`
17
17
  display: flex;
18
18
  flex-direction: row;
19
19
  flex: 1 1 auto;
@@ -21,18 +21,18 @@ import{aB as V,q as M,V as t,d as x,c as f,b as T,aW as R,aL as q,aJ as H,o as p
21
21
  align-items: center;
22
22
  height: 100%;
23
23
  color: ${e=>e.theme.colors.hero};
24
- `,pe=g.div`
24
+ `,fe=g.div`
25
25
  display: flex;
26
26
  align-items: center;
27
27
  flex: 4 1 0;
28
- `,fe=g.img`
29
- height: ${p.sp4};
28
+ `,pe=g.img`
29
+ height: ${f.sp4};
30
30
  `,xe=g(C)`
31
- margin-left: ${p.sp2};
31
+ margin-left: ${f.sp2};
32
32
  `,ye=g(F)`
33
33
  flex: 1 1 0;
34
34
  color: ${e=>e.theme.colors.primary};
35
35
  `,be=g(G)`
36
36
  flex: 1 1 0;
37
- margin-right: ${p.sp2};
38
- `;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=K(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx(O,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:i.colors.background},children:s.map(c=>t.jsx(A,{fill:i.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(De,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:n,height:r})}const we=e=>{const{barKey:n,payload:r,chartItems:l,width:i,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:i,height:b,children:t.jsxs(ge,{children:[t.jsxs(pe,{children:[t.jsx(fe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(xe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:q("0,0",s[n])})]})})},De=({chartItemArray:e,barElement:n,width:r,height:l})=>{const i=e[0],o=i.total,d=i.barKey;return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:j,height:e.length?(b+2*j)*e.length:l,barSize:b,margin:{top:0,right:0,left:0,bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:"default"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx($,{orientation:"left",yAxisId:0,dataKey:s=>s.accountId,type:"category",axisLine:!1,tickLine:!1,width:r/2,mirror:!1,tick:t.jsx(we,{width:r/2,chartItems:e,barKey:d})}),n]})},I=41,v=4;function Ie({report:e,width:n,height:r,showBarHoverBackground:l,isDetailPage:i}){const o=x(),d=K(i===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs(O,{dataKey:m=>{const u=m[c]!=null?m[c]:void 0;return u!=null&&u.amount>0?u.amount:0},isAnimationActive:!0,animationDuration:i===!0?800:void 0,background:void 0,children:[t.jsx(ne,{dataKey:"accountDescription",position:"insideLeft",offset:8,content:m=>{const{x:u,y,value:P,height:_,offset:z}=m;return t.jsx(oe,{x:u+z,y:y+_/2,fill:o.colors.hero,fontSize:T.smallRegular.fontSize,verticalAnchor:"middle",width:a-110,maxLines:1,children:P})}}),h.map(m=>t.jsx(A,{fill:m.accountDescription!==""?o.colors.graphColor29:o.colors.grey3,fillOpacity:m.accountDescription!==""?.32:1},c))]},Math.random());return d.chartItems.length===0?null:t.jsx(ve,{chartItemArray:d.chartItems,showBarHoverBackground:l,barElement:s(d.chartItems,d.chartItems[0].barKey,n),width:n,height:r,isDetailPage:i===!0})}const ve=({chartItemArray:e,barElement:n,width:r,height:l,isDetailPage:i})=>{const o=x(),d=e[0],s=d.total,h=d.barKey,c=s?.currencySymbol??"";return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:i?v:2,height:i?e.length?(I+2*v)*e.length:l:l+5,barSize:i?I:38,margin:{top:0,right:i?f[0]:f[3],left:i?f[0]:f[3],bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:i?"default":"pointer"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx($,{orientation:"right",yAxisId:0,dataKey:a=>{const m=a[h]!=null?a[h]:void 0,{accountDescription:u}=a;return u!==""&&m!=null?m.amount:0},type:"category",axisLine:!1,tickLine:!1,width:r,mirror:!0,tick:{fill:o.colors.hero,...T.smallRegular.cssObject},tickFormatter:a=>a!==0?R("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=M();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,V);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=W.useState(r?.topExTimePeriod??"last_month"),d=[...Z],s=e.fetchState==="Completed"?Se(r?.topExpenses.accountsOrdered):!1,h=(c,a)=>s===!1?t.jsx(Ce,{report:r,width:c,height:a,timeframe:i}):t.jsx(ce,{width:c,height:a,label:S.getLocalizedStrings().chartCard.no_data.top_expenses[i]});return t.jsx(H,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>l?.onDragStart(e.cardType,c),onDragOver:c=>l?.onDragOver(c,e.cardType),onDragLeave:c=>l?.onDragLeave(c),onDrop:c=>l?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(B,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{Se as E,Ce as I,Ee as L,B as O,ce as c};
37
+ margin-right: ${f.sp2};
38
+ `;function je({report:e,width:n,height:r,showBarHoverBackground:l}){const i=x(),o=K(e.topExpenses.accountsOrdered.length,e.allTimePeriods,e.topExpenses),d=(s,h)=>t.jsx(O,{dataKey:c=>{const a=c[h]!=null?c[h]:void 0;return a!=null&&a.amount>0?a.amount:0},isAnimationActive:!0,animationDuration:800,background:{fill:i.colors.background},children:s.map(c=>t.jsx(A,{fill:i.colors.topExCustomColor},h))},Math.random());return o.chartItems.length===0?null:t.jsx(De,{chartItemArray:o.chartItems,showBarHoverBackground:l,barElement:d(o.chartItems,o.chartItems[0].barKey),width:n,height:r})}const we=e=>{const{barKey:n,payload:r,chartItems:l,width:i,y:o}=e,d=r.value,s=l.find(h=>h.accountId==d);return s==null||s.accountDescription==null?null:t.jsx("foreignObject",{y:o-r.offset+j,width:i,height:b,children:t.jsxs(ge,{children:[t.jsxs(fe,{children:[t.jsx(pe,{src:s.logo,alt:s.accountDescription,loading:"lazy"}),t.jsx(xe,{children:s.accountDescription})]}),t.jsx(ye,{children:"⟶"}),t.jsx(be,{children:q("0,0",s[n])})]})})},De=({chartItemArray:e,barElement:n,width:r,height:l})=>{const i=e[0],o=i.total,d=i.barKey;return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:j,height:e.length?(b+2*j)*e.length:l,barSize:b,margin:{top:0,right:0,left:0,bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:"default"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[s=>Math.min(0,s),o?.amount??0]}),t.jsx($,{orientation:"left",yAxisId:0,dataKey:s=>s.accountId,type:"category",axisLine:!1,tickLine:!1,width:r/2,mirror:!1,tick:t.jsx(we,{width:r/2,chartItems:e,barKey:d})}),n]})},I=41,v=4;function Ie({report:e,width:n,height:r,showBarHoverBackground:l,isDetailPage:i}){const o=x(),d=K(i===!0?e.topExpenses.accountsOrdered.length:6,e.allTimePeriods,e.topExpenses),s=(h,c,a)=>t.jsxs(O,{dataKey:m=>{const u=m[c]!=null?m[c]:void 0;return u!=null&&u.amount>0?u.amount:0},isAnimationActive:!0,animationDuration:i===!0?800:void 0,background:void 0,children:[t.jsx(ne,{dataKey:"accountDescription",position:"insideLeft",offset:8,content:m=>{const{x:u,y,value:P,height:_,offset:z}=m;return t.jsx(oe,{x:u+z,y:y+_/2,fill:o.colors.hero,fontSize:T.smallRegular.fontSize,verticalAnchor:"middle",width:a-110,maxLines:1,children:P})}}),h.map(m=>t.jsx(A,{fill:m.accountDescription!==""?o.colors.graphColor29:o.colors.grey3,fillOpacity:m.accountDescription!==""?.32:1},c))]},Math.random());return d.chartItems.length===0?null:t.jsx(ve,{chartItemArray:d.chartItems,showBarHoverBackground:l,barElement:s(d.chartItems,d.chartItems[0].barKey,n),width:n,height:r,isDetailPage:i===!0})}const ve=({chartItemArray:e,barElement:n,width:r,height:l,isDetailPage:i})=>{const o=x(),d=e[0],s=d.total,h=d.barKey,c=s?.currencySymbol??"";return t.jsxs(k,{data:e,layout:"vertical",width:r,barCategoryGap:i?v:2,height:i?e.length?(I+2*v)*e.length:l:l+5,barSize:i?I:38,margin:{top:0,right:i?p[0]:p[3],left:i?p[0]:p[3],bottom:0},style:{display:"flex",flex:"1 1 auto",cursor:i?"default":"pointer"},children:[t.jsx(L,{hide:!0,axisLine:!1,type:"number",domain:[a=>Math.min(0,a),s?.amount??0]}),t.jsx($,{orientation:"right",yAxisId:0,dataKey:a=>{const m=a[h]!=null?a[h]:void 0,{accountDescription:u}=a;return u!==""&&m!=null?m.amount:0},type:"category",axisLine:!1,tickLine:!1,width:r,mirror:!0,tick:{fill:o.colors.hero,...T.smallRegular.cssObject},tickFormatter:a=>a!==0?R("0,0.[00]a",a,c):""}),n]})};function Te(e){const n=M();return n!=="small"&&n!=="medium-compact"&&e.isDetailPage===!0?t.jsx(je,{...e}):t.jsx(Ie,{...e})}const Ce=w.memo(Te,V);function Se(e){if(e==null||e.length===0)return!0;let n=!0;for(const r of e)if(r.balance.available.amount!==0){n=!1;break}return n}function Ee({card:e,actions:n,data:r,dndProps:l}){const[i,o]=W.useState(r?.topExTimePeriod??"last_month"),d=[...Z],s=e.fetchState==="Completed"?Se(r?.topExpenses.accountsOrdered):!1,h=(c,a)=>s===!1?t.jsx(Ce,{report:r,width:c,height:a,timeframe:i}):t.jsx(ce,{width:c,height:a,label:S.getLocalizedStrings().chartCard.no_data.top_expenses[i]});return t.jsx(H,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>l?.onDragStart(e.cardType,c),onDragOver:c=>l?.onDragOver(c,e.cardType),onDragLeave:c=>l?.onDragLeave(c),onDrop:c=>l?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(B,{card:e,actions:n,timeframe:i,chartElement:h,allowedValues:d,onTimeframeChange:(c,a)=>o(a)})},e.cardIndex)}w.memo(Ee);export{Se as E,Ce as I,Ee as L,B as O,ce as c};
@@ -1,4 +1,4 @@
1
- import{d as j,q as S,V as t,bA as A,F as x,aL as b,b2 as B,H,o as i,y as E,bO as P,br as V,c,p as z,al as $,aN as F,a_ as T}from"./index-D8PMCh18.js";import{n}from"./mui-8c7TTPte.js";import{F3 as D}from"./zeni-epic-state-B6kYb9qr.js";import{E as _,I}from"./TopExCard-D1k8bh_F-Bl4Np8KZ.js";import{b as M}from"./TimeframeSwitcher-YlXclGGy-C1UEcBoK.js";import{d as L}from"./NoDataTable-8GCzndE4-COwZVLdz.js";import{S as Z,a as o}from"./sentry-gJCFOenX.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";import"./ReloadCard-DzxA-pGI-BTxFtDZL.js";import"./graphic-no-data-l-DU4J8fDt-CBdedu6R.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]="c2a72f96-6ae7-4955-92f1-e4f26a52d316",e._sentryDebugIdIdentifier="sentry-dbid-c2a72f96-6ae7-4955-92f1-e4f26a52d316")}catch{}})();const v="141px",O=i.sp4,N="123px",q=n(T)`
1
+ import{d as j,q as S,V as t,bA as A,F as x,aL as b,b2 as B,H,o as i,y as E,bO as P,br as V,c,p as z,al as $,aN as F,a_ as T}from"./index-B6Om0Agf.js";import{n}from"./mui-C6XKQL2c.js";import{F3 as D}from"./zeni-epic-state-ag00jsAo.js";import{E as _,I}from"./TopExCard-8RRaMY7F-Gon6G4m3.js";import{b as M}from"./TimeframeSwitcher-DJiKd_tL-DApIRoV9.js";import{d as L}from"./NoDataTable-DOZy5UAM-BJyDiZ-C.js";import{S as Z,a as o}from"./sentry-yju9hmuU.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";import"./ReloadCard-BCuJkAqw-CYhviv2P.js";import"./graphic-no-data-l-DU4J8fDt-CGUgoC2L.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]="74ec26e1-de1e-4083-8f7f-dbcd792cd50e",e._sentryDebugIdIdentifier="sentry-dbid-74ec26e1-de1e-4083-8f7f-dbcd792cd50e")}catch{}})();const v="141px",O=i.sp4,N="123px",q=n(T)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{N as qn,w as Fn,d as Pt,a9 as Wn,q as ae,F as q,aO as Jt,dM as Hn,dN as Gn,cC as Yn,aB as Zn,dO as nn,dP as Jn,V as i,ac as Qn,bA as Xn,dQ as Kn,dR as ea,k as oi,dS as zi,aP as ta,y as N,aN as F,dT as an,dU as Te,dV as Oe,dW as Pe,dX as Ke,dY as et,dZ as St,d_ as kt,d$ as tt,e0 as gt,e1 as zt,e2 as At,e3 as Qt,e4 as ee,e5 as ia,e6 as ei,e7 as ue,e8 as on,e9 as pe,ea as sn,aH as na,eb as Dt,ec as Ai,ed as aa,n as oa,cn as sa,o as a,cb as la,ee as ra,c as O,H as wi,p as le,aq as Di,b9 as si,u as ca,ef as da,ci as ua,cg as li,cP as st,eg as pa,eh as Ht,aS as ln,cU as ma,ei as ha,ce as ga,cf as fa,aL as Le,al as fe,a_ as ya,ej as ba,ek as rn,el as Xt,em as Kt,en as mi,db as xa,b2 as wa,cr as va,eo as Ti,a8 as cn,ep as ti,eq as ii,er as dn,cV as un,bR as Oi,es as hi,dg as gi,et as Ca,br as Ia,eu as Ri,ev as $a,ew as Da,ay as Ta,ex as Oa,ey as La,R as pn,ez as mn,bI as ja,eA as Vi,eB as hn,eC as gn,eD as fn,bG as lt,au as Sa,at as ka,dp as za,b as yn,eE as Aa,bE as Ra,L as Va,am as Ea,s as Pa,aU as vi}from"./index-D8PMCh18.js";import{a as v,S as Tt}from"./sentry-gJCFOenX.js";import{n as l}from"./mui-8c7TTPte.js";import{Fu as _a,uu as Na,bE as Vt,bD as Et,bF as Ua,c3 as Ma,l8 as Ba,bh as qa}from"./zeni-epic-state-B6kYb9qr.js";import{x as Ei}from"./LabeledControlledCheckBoxField-DiD9FNgO-D1jXFK30.js";import{R as Fa}from"./TrendWithTransactions-BLYyM3MY-D7UeGVnC.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-CEqqTe84-DtoAuKJx.js";import{o as Za}from"./radio-default-CiSgisfh-JegKPmEU.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";import"./TrendChart-DhH1bAfv-D3LXI5YU.js";import"./chartTypes-CfyGWP2E-CMEv9V_N.js";import"./toCOABalancesWithID-B6AaIKKE-7gBQPg3T.js";import"./toChartData-DD8ISjzM-BEMY07yt.js";import"./NoDataChart-DmThvRWS-DMCfCw3w.js";import"./InsightsSection-hFNVHtei-DFkdhpSF.js";import"./NavigationDots-DBshnTnS-CFrPftyk.js";import"./TransactionList-CLJV-J8J-BYehwI5o.js";import"./BoxItem-BoanamYM-LrJX4JYX.js";import"./commonDimensions-uDLC8oOH-0Au8IFVq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="99ffbceb-3e9f-490e-8744-a1b3c8176a02",e._sentryDebugIdIdentifier="sentry-dbid-99ffbceb-3e9f-490e-8744-a1b3c8176a02")}catch{}})();const Ja={headerMarginTop:new N(O[7],O[8])},Qa=l(fe)`
1
+ import{N as qn,w as Fn,d as Pt,a9 as Wn,q as ae,F as q,aO as Jt,dM as Hn,dN as Gn,cC as Yn,aB as Zn,dO as nn,dP as Jn,V as i,ac as Qn,bA as Xn,dQ as Kn,dR as ea,k as oi,dS as zi,aP as ta,y as N,aN as F,dT as an,dU as Te,dV as Oe,dW as Pe,dX as Ke,dY as et,dZ as St,d_ as kt,d$ as tt,e0 as gt,e1 as zt,e2 as At,e3 as Qt,e4 as ee,e5 as ia,e6 as ei,e7 as ue,e8 as on,e9 as pe,ea as sn,aH as na,eb as Dt,ec as Ai,ed as aa,n as oa,cn as sa,o as a,cb as la,ee as ra,c as O,H as wi,p as le,aq as Di,b9 as si,u as ca,ef as da,ci as ua,cg as li,cP as st,eg as pa,eh as Ht,aS as ln,cU as ma,ei as ha,ce as ga,cf as fa,aL as Le,al as fe,a_ as ya,ej as ba,ek as rn,el as Xt,em as Kt,en as mi,db as xa,b2 as wa,cr as va,eo as Ti,a8 as cn,ep as ti,eq as ii,er as dn,cV as un,bR as Oi,es as hi,dg as gi,et as Ca,br as Ia,eu as Ri,ev as $a,ew as Da,ay as Ta,ex as Oa,ey as La,R as pn,ez as mn,bI as ja,eA as Vi,eB as hn,eC as gn,eD as fn,bG as lt,au as Sa,at as ka,dp as za,b as yn,eE as Aa,bE as Ra,L as Va,am as Ea,s as Pa,aU as vi}from"./index-B6Om0Agf.js";import{a as v,S as Tt}from"./sentry-yju9hmuU.js";import{n as l}from"./mui-C6XKQL2c.js";import{Fu as _a,uu as Na,bE as Vt,bD as Et,bF as Ua,c3 as Ma,l8 as Ba,bh as qa}from"./zeni-epic-state-ag00jsAo.js";import{x as Ei}from"./LabeledControlledCheckBoxField-DVOeaKu0-CwyeTdvX.js";import{R as Fa}from"./TrendWithTransactions-BKxxRKGE-L7jdBP-R.js";import{u as Wa,c as Ha,d as Ga,m as Ya}from"./uploadAttachment-CRI5U1f4-uoLiqp2e.js";import{o as Za}from"./radio-default-CiSgisfh-BS1GVp2P.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";import"./TrendChart-Cot9LFNh-CytK-s0s.js";import"./chartTypes-YlZX4WLs-BVobq2KO.js";import"./toCOABalancesWithID-BAw7mDDs-BHjR7Lz6.js";import"./toChartData-CuSN9vUZ-eye27L_h.js";import"./NoDataChart-DxwqqeoI-DOHENLK_.js";import"./InsightsSection-BT0lHMo3-BgjHvnt6.js";import"./NavigationDots-BZOdXVhR-CfDXOc_R.js";import"./TransactionList-CLVkETBe-BTi0TF8x.js";import"./BoxItem-CqsCCOrk-3dsq5OCh.js";import"./commonDimensions-IG4iGJ-6-D0-edPu2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dbc589f4-1dc9-403e-b449-91eaefc8be50",e._sentryDebugIdIdentifier="sentry-dbid-dbc589f4-1dc9-403e-b449-91eaefc8be50")}catch{}})();const Ja={headerMarginTop:new N(O[7],O[8])},Qa=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Xa=l(fe)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as ht,o,p as q,cr as pt,F as y,y as K,k as gt,al as v,c as g,ai as bt,de as X,cZ as G,aL as J,am as wt}from"./index-D8PMCh18.js";import{a as p,S as $t}from"./sentry-gJCFOenX.js";import{n}from"./mui-8c7TTPte.js";import{F4 as A,F5 as V,F6 as Q,F7 as L,bh as yt,Fj as tt,bE as et}from"./zeni-epic-state-B6kYb9qr.js";import{g as it}from"./BoxItem-BoanamYM-LrJX4JYX.js";import{o as B}from"./commonDimensions-uDLC8oOH-0Au8IFVq.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="ceb65f58-ac80-4109-847c-38335b116109",t._sentryDebugIdIdentifier="sentry-dbid-ceb65f58-ac80-4109-847c-38335b116109")}catch{}})();const D=t=>t?24:125,vt={containerPaddingBottom:new K(g[9],g[8])},U=n.div`
1
+ import{cb as ct,q as R,V as e,b2 as mt,aN as x,db as ft,dc as xt,d6 as ut,dd as ht,o,p as q,cr as pt,F as y,y as K,k as gt,al as v,c as g,ai as bt,de as X,cZ as G,aL as J,am as wt}from"./index-B6Om0Agf.js";import{a as p,S as $t}from"./sentry-yju9hmuU.js";import{n}from"./mui-C6XKQL2c.js";import{F4 as A,F5 as V,F6 as Q,F7 as L,bh as yt,Fj as tt,bE as et}from"./zeni-epic-state-ag00jsAo.js";import{g as it}from"./BoxItem-CqsCCOrk-3dsq5OCh.js";import{o as B}from"./commonDimensions-IG4iGJ-6-D0-edPu2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="6022baa4-0ab5-4ac6-84e2-556bf3526534",t._sentryDebugIdIdentifier="sentry-dbid-6022baa4-0ab5-4ac6-84e2-556bf3526534")}catch{}})();const D=t=>t?24:125,vt={containerPaddingBottom:new K(g[9],g[8])},U=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b as ae,p as B,o,R as j,M as Q,F as $,bp as se,bq as le,ai as de,aq as ce,aL as me,br as pe,ao as he,k as ue,H as G,bs as X,n as V,aR as ee}from"./index-D8PMCh18.js";import{a as U,S as z}from"./sentry-gJCFOenX.js";import{n as i,c as ge}from"./mui-8c7TTPte.js";import{EM as xe,bg as we,bC as N}from"./zeni-epic-state-B6kYb9qr.js";import{G as $e,c as be}from"./AccountsPromoCardStack-DQmHrc8b-4RlJ7dsg.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";import"./SummaryCard-DTbKziXk-06dkT-e5.js";import"./ReloadCard-DzxA-pGI-BTxFtDZL.js";import"./NavigationArrow-CV_u5I1d-BUNwYCaW.js";import"./NavigationDots-DBshnTnS-CFrPftyk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="d59924ab-ace7-49d4-9113-5082b5e27a94",e._sentryDebugIdIdentifier="sentry-dbid-d59924ab-ace7-49d4-9113-5082b5e27a94")}catch{}})();const ye={textContainer:new j("extraSmallRegular","smallRegular")},fe=i.div`
1
+ import{y as a,q as R,aw as W,aC as ie,aW as ne,V as t,b2 as re,aN as w,c as n,b as ae,p as B,o,R as j,M as Q,F as $,bp as se,bq as le,ai as de,aq as ce,aL as me,br as pe,ao as he,k as ue,H as G,bs as X,n as V,aR as ee}from"./index-B6Om0Agf.js";import{a as U,S as z}from"./sentry-yju9hmuU.js";import{n as i,c as ge}from"./mui-C6XKQL2c.js";import{EM as xe,bg as we,bC as N}from"./zeni-epic-state-ag00jsAo.js";import{G as $e,c as be}from"./AccountsPromoCardStack-BHgGIeBG-CmkZoBWh.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";import"./SummaryCard-OvE5BRYP-DQ7Zk4PZ.js";import"./ReloadCard-BCuJkAqw-CYhviv2P.js";import"./NavigationArrow-BDdBEJFM-kO85jIsj.js";import"./NavigationDots-BZOdXVhR-CfDXOc_R.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="35893dac-e8b4-4523-9ade-f4ea143a6678",e._sentryDebugIdIdentifier="sentry-dbid-35893dac-e8b4-4523-9ade-f4ea143a6678")}catch{}})();const ye={textContainer:new j("extraSmallRegular","smallRegular")},fe=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,ve=i.div`
@@ -1,4 +1,4 @@
1
- import{d as O,by as z,bz as R,V as o,bA as M,aN as p,k as V,o as n,al as q}from"./index-D8PMCh18.js";import{a as r,o as G}from"./sentry-gJCFOenX.js";import{n as l}from"./mui-8c7TTPte.js";import{f as Z}from"./TransactionList-CLJV-J8J-BYehwI5o.js";import{t as H}from"./page-detail-CWX5S47F-rPobFqLh.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./zeni-epic-state-B6kYb9qr.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.js";import"./BoxItem-BoanamYM-LrJX4JYX.js";import"./commonDimensions-uDLC8oOH-0Au8IFVq.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="955bb385-25f7-4207-ae04-b120ca516b77",t._sentryDebugIdIdentifier="sentry-dbid-955bb385-25f7-4207-ae04-b120ca516b77")}catch{}})();const J=l.div`
1
+ import{d as O,by as z,bz as R,V as o,bA as M,aN as p,k as V,o as n,al as q}from"./index-B6Om0Agf.js";import{a as r,o as G}from"./sentry-yju9hmuU.js";import{n as l}from"./mui-C6XKQL2c.js";import{f as Z}from"./TransactionList-CLVkETBe-BTi0TF8x.js";import{t as H}from"./page-detail-CWX5S47F-BzjIQtfg.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./zeni-epic-state-ag00jsAo.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.js";import"./BoxItem-CqsCCOrk-3dsq5OCh.js";import"./commonDimensions-IG4iGJ-6-D0-edPu2.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="7ff245c0-261f-45c2-9a1c-a2887cb2f64c",t._sentryDebugIdIdentifier="sentry-dbid-7ff245c0-261f-45c2-9a1c-a2887cb2f64c")}catch{}})();const J=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -32,4 +32,4 @@ import{d as O,by as z,bz as R,V as o,bA as M,aN as p,k as V,o as n,al as q}from"
32
32
  &:hover {
33
33
  color: ${t=>t.theme.colors.primary};
34
34
  }
35
- `;function ht({title:t,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:b,dataAvailableForPeriod:x,report:e,currentScrollYOffset:w,showStatementPageIcon:L=!1,onTimePeriodChange:y,onTransactionItemClick:T,onTransactionListScroll:j,onBackClick:C,onStatementPageIconClick:I,referrerType:D}){const[f,S]=r.useState(!0),[m,$]=r.useState(!1),[u,P]=r.useState(!1),N=O();r.useEffect(()=>{e.transactions.length>0?S(!1):S(m===!1&&u===!1?e.fetchState==="In-Progress"||e.fetchState==="Not-Started":!1)},[e,f,m,u]);const B=z(),k=R(D),E=`${k===""?B:k}.transactions.list`,F=a.startDate.isAfter(x.startDate,d)?{isLoading:m&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:b,onLoadPreviousClick:(i,s)=>{P(!1),$(!0),y?.(i,a,s)}}:void 0,Y=a.endDate.isBefore(x.endDate,d)?{isLoading:u&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:b,onLoadNextClick:(i,s)=>{$(!1),P(!0),y?.(i,a,s)}}:void 0;let v=null;L&&(v=o.jsx(W,{onClick:I}));const h=r.useRef(null);function _(i,s,A){G({category:`${E}.transaction-list.react.profiler`,message:`${i} (${s}) took ${A}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:_,children:o.jsxs(J,{"data-testid":p("transaction-list-page",t),children:[o.jsx(M,{source:"TransactionListPage","data-testid":p("transaction-list-page-nav-bar"),title:t,onBackClick:C,backgroundColor:N.colors.grey4,rightSideComponent:v,scrollableContent:h.current!=null?h:void 0}),o.jsxs(K,{"data-testid":p("transaction-list",t),children:[o.jsx(U,{children:c}),f===!1?o.jsx(Z,{ref:h,firstMonthOfFY:g,timeframe:d,timePeriod:a,transactions:e.transactions,isFirstLotLoading:f,currentScrollYOffset:w,onTransactionItemClick:T,onTransactionListScroll:j,showLoadPrevious:F,showLoadNext:Y,componentName:"report.transactions.list"}):o.jsx(Q,{children:o.jsx(V,{size:"ExtraLarge",start:!0})})]})]})})}export{ht as default};
35
+ `;function ht({title:t,subTitle:c,firstMonthOfFY:g,timeframe:d,timePeriod:a,useFixedPeriod:x,dataAvailableForPeriod:y,report:e,currentScrollYOffset:w,showStatementPageIcon:L=!1,onTimePeriodChange:b,onTransactionItemClick:T,onTransactionListScroll:j,onBackClick:C,onStatementPageIconClick:I,referrerType:D}){const[f,S]=r.useState(!0),[m,$]=r.useState(!1),[u,P]=r.useState(!1),N=O();r.useEffect(()=>{e.transactions.length>0?S(!1):S(m===!1&&u===!1?e.fetchState==="In-Progress"||e.fetchState==="Not-Started":!1)},[e,f,m,u]);const B=z(),k=R(D),E=`${k===""?B:k}.transactions.list`,F=a.startDate.isAfter(y.startDate,d)?{isLoading:m&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadPreviousClick:(i,s)=>{P(!1),$(!0),b?.(i,a,s)}}:void 0,Y=a.endDate.isBefore(y.endDate,d)?{isLoading:u&&(e.fetchState==="In-Progress"||e.fetchState==="Not-Started"),fixedTimePeriod:x,onLoadNextClick:(i,s)=>{$(!1),P(!0),b?.(i,a,s)}}:void 0;let v=null;L&&(v=o.jsx(W,{onClick:I}));const h=r.useRef(null);function _(i,s,A){G({category:`${E}.transaction-list.react.profiler`,message:`${i} (${s}) took ${A}ms`,level:"info"})}return o.jsx(r.Profiler,{id:"TransactionListPage",onRender:_,children:o.jsxs(J,{"data-testid":p("transaction-list-page",t),children:[o.jsx(M,{source:"TransactionListPage","data-testid":p("transaction-list-page-nav-bar"),title:t,onBackClick:C,backgroundColor:N.colors.grey4,rightSideComponent:v,scrollableContent:h.current!=null?h:void 0}),o.jsxs(K,{"data-testid":p("transaction-list",t),children:[o.jsx(U,{children:c}),f===!1?o.jsx(Z,{ref:h,firstMonthOfFY:g,timeframe:d,timePeriod:a,transactions:e.transactions,isFirstLotLoading:f,currentScrollYOffset:w,onTransactionItemClick:T,onTransactionListScroll:j,showLoadPrevious:F,showLoadNext:Y,componentName:"report.transactions.list"}):o.jsx(Q,{children:o.jsx(V,{size:"ExtraLarge",start:!0})})]})]})})}export{ht as default};
@@ -1,4 +1,4 @@
1
- import{q as A,F as k,V as o,k as q,aN as L,aP as W,o as a,y as g,L as _,R as J,c$ as U,a9 as G,cC as K,ac as Q,c as r,hb as F,hc as R,hd as B,d as X,cF as Y,gJ as z,he as Z,b6 as ee,hi as oe,hj as te}from"./index-D8PMCh18.js";import{a as I}from"./sentry-gJCFOenX.js";import{n as c}from"./mui-8c7TTPte.js";import"./liveblocks-CYMGg0Jd.js";import"./core-eaZ5MkII.js";import"./recharts-DLR05d4e.js";import"./zeni-epic-state-B6kYb9qr.js";import"./lottie-wSb1JmVE.js";import"./analytics-zyQYZvSc.js";import"./lexical-DZqbjlo3.js";import"./utils-BoH8rMdz.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]="4b2b0926-8fbb-4c26-9691-c4156e21ca75",e._sentryDebugIdIdentifier="sentry-dbid-4b2b0926-8fbb-4c26-9691-c4156e21ca75")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:h,selectedOwnerId:t,selectedVendorName:f,allAccounts:p,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:w,classHierarchyList:x})=>{const i=A(),b=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>p.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",y=s=>{const O=p.find(M=>M.accountId===s)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:R(w)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:h,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:B(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
1
+ import{q as A,F as k,V as o,k as q,aN as L,aP as W,o as a,y as g,L as _,R as J,c$ as U,a9 as G,cC as K,ac as Q,c as r,hb as F,hc as R,hd as B,d as X,cF as Y,gJ as z,he as Z,b6 as ee,hi as oe,hj as te}from"./index-B6Om0Agf.js";import{a as I}from"./sentry-yju9hmuU.js";import{n as c}from"./mui-C6XKQL2c.js";import"./liveblocks-DWNROPS5.js";import"./core-BPFYe8Fp.js";import"./recharts-CPZsikvb.js";import"./zeni-epic-state-ag00jsAo.js";import"./lottie-DQjCP4UK.js";import"./analytics-COhRzxPT.js";import"./lexical-acVZWmws.js";import"./utils-B5xU1y4i.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]="4b2b0926-8fbb-4c26-9691-c4156e21ca75",e._sentryDebugIdIdentifier="sentry-dbid-4b2b0926-8fbb-4c26-9691-c4156e21ca75")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:h,selectedOwnerId:t,selectedVendorName:f,allAccounts:p,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:w,classHierarchyList:x})=>{const i=A(),b=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>p.filter(O=>O.accountId===s)[0]?.coaId??"",l=s=>C.filter(O=>O.classId===s)[0]?.accountingClassNumber??"",y=s=>{const O=p.find(M=>M.accountId===s)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:R(w)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:h,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:B(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};