@zeniai/web-cockpit-ui 1.15.4-qa → 1.15.5-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 (277) hide show
  1. package/dist/assets/{ACHDetailsPage-uGxVPurg-CSTBBuQO.js → ACHDetailsPage-BLKhKkZC-CoU9qIfj.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DqmxZNlX-CD4PTSl6.js → AIPerformancePage-J3dtNEgn-DnDSfWCN.js} +103 -103
  3. package/dist/assets/{AccountInfoPage-C2Dq8UPa-DbUqKkGr.js → AccountInfoPage-CI5UcHFj-BegJKMi4.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-HVhR3c9c-BTAStM9V.js → AccountInfoPageContent-D8oVcn1T-BXq3_V4W.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DM9AQ-14-CoO7wjK9.js → AccountLockedInfoModal-B9_FdrYm-5NyxuZ6Z.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-zcvYkXrD-Dbe0H637.js → AccountReconDetailsDrawerPage-DFjW0u9--BQEqjGYe.js} +39 -39
  7. package/dist/assets/{AccountRow-B3ULDo0k-C-jIzuWE.js → AccountRow-Bq6uJ1hA-Vc9-Z3M-.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CJZlWV2d-1dJ7ni4T.js → AccountsPromoCardStack-DQmHrc8b-Vd3CyDRc.js} +3 -3
  9. package/dist/assets/{AddAddressForCardDrawer-Rm7tH3HQ-DZTmUgpi.js → AddAddressForCardDrawer-O987RTn2-BVD6IV9k.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DfB-vvqh-DUAF88ZP.js → AddToWalletPage-C2Z6f8Y6-DKRITatO.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-__jUwahK-B6-kjXQe.js → AgingReportsPage-BlPqvXdx-BhMR9uMZ.js} +3 -3
  12. package/dist/assets/{AllUserItems-Coo6Qik6-CvwzldZi.js → AllUserItems-CL17FcAl-HA7Ybf9E.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-C1LyqY_A-CwTL7ATF.js → ApAgingDetailPage-CHVwRH_g-DOXwF09t.js} +1 -1
  14. package/dist/assets/{AppBasePage-Cz2ddFfo-BclY1Wkm.js → AppBasePage-CnlPnTBn-DzDs3_Wg.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CObWehh2-DDaZ77eU.js → AppDrawerContent-C2CNe5yn-CV61WWnW.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-ZqKHe7B_-CU8TBRQ0.js → ApprovalRulesSettingsPage-XsMzIe4e-WBRcfJJV.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CjRE8wyO-DuIHY7ik.js → ArAgingChart-Ck1uAv_a-BqG8XmZ6.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DXjs7XAS-DXCvwuMN.js → ArAgingDetailPage-KRWJzbCq-SXmC1xou.js} +5 -5
  19. package/dist/assets/{AttachmentView-C3WpRmXR-Bolhu6cG.js → AttachmentView-uaen0kuU-Bv_0F11t.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BigS_oOq-DdGfIYIY.js → BankAccountSection-CwOhGEgT-CV3SB5KM.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Czlvc-qX-rUlWK1Jd.js → BankAccountWarningSection-D7BVcqIu-RUBf41j-.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BgliKI11-3RjzZ2Bg.js → BankConnectionsSettingsPage-BOdlcBfa-aX1YHXK9.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DNPgeuje-C8neAjYh.js → BillDetailPage-Ct4Q960V-B1Ta0IG7.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-OrTzXAEP-QAGSeB_n.js → BillPayApprovalRuleDetailPage-DUU4rXuM-DI9nvx98.js} +4 -4
  25. package/dist/assets/{BillPayApprovalRulesPage-DXcPkwwf-CiS_5AAk.js → BillPayApprovalRulesPage-C0pcFzje-Rb9cSqGe.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-fBpp10um-DK5_Xpo1.js → BillPayPromoPage-BsEtxcjB-BRyrvd2x.js} +13 -13
  27. package/dist/assets/{BillPaySetUpPage-9iEVFLUa-SVF28UG7.js → BillPaySetUpPage-B-rBYCtR-CKuO1PYp.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-IL6J1DV0-Se1sNo_q.js → BillingSettingsPage-BadzsZdt-CdWNz3my.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DcRTKRMw-BopU9rI-.js → BillsBulkReviewDrawerPage-CbA-LUIt-BCAx-hEw.js} +1 -1
  30. package/dist/assets/{BoxItem-Cg9N_YPt-D0t-3bl5.js → BoxItem-BoanamYM-C9a7ISxI.js} +3 -3
  31. package/dist/assets/{BusinessVerificationPage-KZWTxmeh-ChQXq_Mg.js → BusinessVerificationPage-B9hjIdCd-fjXOOEEK.js} +2 -2
  32. package/dist/assets/{CardNumberSubText-DqtkAe0V-4_G8Lsb0.js → CardNumberSubText-DFO_EKrs-fq6YqMPG.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-D-l7cqjW-DQ3Pl_mP.js → CashbackDetailPage-Bp85-5Ie-BrWWJ_z3.js} +8 -8
  34. package/dist/assets/{ChargeCardDetailPage-ChwrpnhL-C74i3xWs.js → ChargeCardDetailPage-D8dY9X8Q-CY9gkPfd.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-zDV88I5X-7k0VThqH.js → ChargeCardListPage-CxplfJ1W-Cs-f2f69.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-Cu1sCT_g-C0NdA71e.js → ChargeCardListTable-scY11ryy-Biigjr-j.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-Db6zW203-BuQibLL8.js → ChargeCardPaymentHistoryPage-Brh4ot5q-B0jRGM62.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-DsrTt5B0-D5poeoI3.js → ChargeCardPromoPage-CPURUrkI-ElY1-FvK.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-DcYthQvc-DDpbhz_U.js → ChargeCardSetupPage-Bumq17f6-CZtiCi9E.js} +3 -3
  40. package/dist/assets/{ChargeCardStatementsPage-DkUJKxIz-W8sJIYuD.js → ChargeCardStatementsPage-DbU7LEIP-BvT1248-.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-C7rL0Ts2-DvlJgu1r.js → CheckDepositDrawerPage-CFl7Vr_I-m-GUaKwL.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-B0N8Ybey-lucDiVV7.js → CollapsableReportTable-CRaZZnGr-DHalWth7.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-5DfSL2V8-DYZPeRCn.js → CompanyOfficerDetailsSection-C4rN7mXr-DfF7L_UZ.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-BLw_MMZR-WOarnR-d.js → CompanyPassportCard-I21kA_Ir-BLJfyfQk.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-BamWWVQB-56Enokzr.js → CompanyPassportPage-BSDnF5-7-Cj98T4ob.js} +1 -1
  46. package/dist/assets/{CompleteProfile-CPwV8diq-8P18d35b.js → CompleteProfile-uultMZ5R-wTNN90nG.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-CJc1ZWFJ-3-Ap54Ud.js → ConfettiBurst-CpmYtgfk-D3B4eByY.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-CDqjntBH-bCKETiwb.js → CreateOrEditVendorPage-AfKsEb9G-Dm36bf3i.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-cBCHuatx-PXPlAMN0.js → CreditCardPaymentDrawerPage-D0Lh5Tw1-XpTz-POB.js} +1 -1
  50. package/dist/assets/{CurrencySelectField-kA2N_h2r-TVoT6MZb.js → CurrencySelectField-BvNBUOqg-A4J8Uxia.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-BU5SX7SV-dB7jbnPX.js → CustomerOnboardingActivationPage-OtCugBPI-qX05IlgL.js} +1 -1
  52. package/dist/assets/CustomerOnboardingContainerPage-DGhE9fpo-BZZCLRzR.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DGG2nFxO-Dh4J5UV1.js → CustomerOnboardingDetailPageSkeleton-CMqEIIWe-DnAkQb7J.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-Dx_Py2Fa-DzOp0_kE.js → CustomerOnboardingNoStepsPage-p062pNc5-C-l3wTbU.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingPage-AHQX5bSN-DyVDcmlu.js → CustomerOnboardingPage-Byojt-WN-CQTmwoTL.js} +1 -1
  56. package/dist/assets/CustomerOnboardingProductSuitePage-C9W7h_tT-Brpfoewd.js +202 -0
  57. package/dist/assets/{Dashboard-BQGdcgDK-C1nmLdwJ.js → Dashboard-Dkwr9npN-BXZ9_-Zj.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-C9eB1Lz--CKXkiVgD.js → DashboardReportPage-Qk5_OFw7-BDc17Jc3.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-Cu7qPhOd-HDfgdRgZ.js → DashboardSidebarBackgroundAnimation-BiD26wyg-CHBm92QN.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-DOcqx_qa-l3Aculh3.js → DepositAccTransactionItem-13TnlK6P-m98DXUKx.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-gxOQSQ9a-DSufMjrN.js → DepositAccTransactionListPage-Dc3G81fB-A9cH7zUI.js} +1 -1
  62. package/dist/assets/{DomesticWireDetailsPage-C_chbExL-CRI2B4vd.js → DomesticWireDetailsPage-CCIoGmZO-B4_Jo1Es.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-a0IFrzRd-D3xHdLjr.js → DownloadOverlay-Nc_Ra7Co-DN1ubFHO.js} +1 -1
  64. package/dist/assets/{DrawerPage-D3ezgD8z-BT84_uAX.js → DrawerPage-Bq1naYya-CQiLfSVq.js} +1 -1
  65. package/dist/assets/{EditPeoplePage-BnCysZo9-DOsQLMpG.js → EditPeoplePage-BnYTxq_9-DPMlpday.js} +1 -1
  66. package/dist/assets/{EditReimbursementDetailPage-BzKR9gus-DXDSnq7N.js → EditReimbursementDetailPage-D-uH9OV3-BSdAEEMn.js} +1 -1
  67. package/dist/assets/{EntityDetailPage-B8vx2Mri-D3jt8mho.js → EntityDetailPage-DCcgGupN-C9TRJ7Es.js} +2 -2
  68. package/dist/assets/{EntitySummarySection-B5pV5wTI-BHU_C13G.js → EntitySummarySection-BI44dDjO-CYCNaLvg.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationOverviewPage-D25gPCR4-Dfqi0A-P.js → ExpenseAutomationOverviewPage-XA0L4mZw-dYnFXq-m.js} +4 -4
  70. package/dist/assets/{ExpenseAutomationPage-BUAS2p9i-BpbTS8YU.js → ExpenseAutomationPage-CGkJWoKY-B55w2jvQ.js} +1 -1
  71. package/dist/assets/{ExpressPayPage-DfIwfewF-DNrp1uq8.js → ExpressPayPage-BX3rmT8V-AcNsZZN-.js} +8 -8
  72. package/dist/assets/{FeaturePreviewPage-AXorSpml-V2Mh62fT.js → FeaturePreviewPage-W5YS3_F--DlENOTKC.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-YR8SDxZC-TRiRAqO5.js → FollowStepsSection-C1Nmspra-Cdu3naRV.js} +1 -1
  74. package/dist/assets/{GlobalReviewListPage-CxH9D6qC-LJp8AeZZ.js → GlobalReviewListPage-BfVSGVJe-Bw9xs6tt.js} +1 -1
  75. package/dist/assets/{InformationCardStack-GuTsARmk-CLzorLL7.js → InformationCardStack-BwgEyJER-uNbIwCBo.js} +3 -3
  76. package/dist/assets/{InsightsCardStack-CmTNccBr-q2L1pr7k.js → InsightsCardStack-BnEWSQ0m-VtqL0Nqc.js} +2 -2
  77. package/dist/assets/{InsightsSection-Bu-MplmN-CDkIWrcN.js → InsightsSection-hFNVHtei-D2NFl-zU.js} +5 -5
  78. package/dist/assets/{IntegrationsSettingsPage-JZMYvwgs-zsnKO8Tk.js → IntegrationsSettingsPage-De8DEt0a-Cw9Ydly2.js} +2 -2
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-CM50BUc0-BymHyzzP.js → InternationalWireSwiftDetailsPage-Dri_Nj57-i38KBpxN.js} +1 -1
  80. package/dist/assets/{InternationalWireVerificationPage-Cg0oEA0I-D4laLv6p.js → InternationalWireVerificationPage-CPIRgDy5-DxjBH4Le.js} +3 -3
  81. package/dist/assets/{InviteFormPage-CDlB29vX-CQLcphyk.js → InviteFormPage-Ca_tdccZ-C7hXm59I.js} +1 -1
  82. package/dist/assets/{InvitePageListView-74Ymz8Xr-6S5FKTrd.js → InvitePageListView-BQbRhQ6V-DRrSpNW9.js} +1 -1
  83. package/dist/assets/{InvitePeoplePage-DxLF-5KU-9xQ616eR.js → InvitePeoplePage-BKffwOP--D-GaMZqa.js} +1 -1
  84. package/dist/assets/{InvoiceUploadSection-De-7n3RO-ByskKeOl.js → InvoiceUploadSection-H-JhX_DQ-B3PXCVQk.js} +1 -1
  85. package/dist/assets/{IssueChargeCardPage-CzKlIsrE-wJKAxEPa.js → IssueChargeCardPage-rinAPB-d-By9lpPwl.js} +1 -1
  86. package/dist/assets/{LabeledAddressValue-CZwyvCy5-mzRhvk5Q.js → LabeledAddressValue-kPYLLOgv-BlJjmDxn.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-k9TP-qlZ-C3UyFf5u.js → LabeledAddressValueField-B_N4O3Mv-CAfERVwt.js} +1 -1
  88. package/dist/assets/{LabeledControlledCheckBoxField-DBnXkX-G-BVvCdbZP.js → LabeledControlledCheckBoxField-DiD9FNgO-CEPdNCHK.js} +1 -1
  89. package/dist/assets/{LabeledCountryMultiSelectField-CiWNHg9A--H0753C7.js → LabeledCountryMultiSelectField-BCYMtV4j-BR8aIp2g.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-DdVE_wVv-BxAFv7k5.js → LabeledCreatableSingleSelectField-Dm03LVdQ-DGBXlNr1.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-DGnh1cGh-BaCn_klM.js → LabeledDocumentField-CWqz_jSU-BI4o2Iwv.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BnaconeO-DhKbuFEk.js → LabeledDropDownFormattedTextField-DhwPnDY8-yVeJPc_Q.js} +1 -1
  93. package/dist/assets/{LabeledMultiSelectField-Bt5PGbgf-DEYw3JnO.js → LabeledMultiSelectField-C9feGqHN-OE3NSO1-.js} +1 -1
  94. package/dist/assets/{LabeledText-D9rbUJbs-9wMKxYu7.js → LabeledText-C91Eu04E-DW9Q389z.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DsstNVEx-Ds7lbv89.js → LabeledUserSingleSelectWithSubtitlesField-uruIe6mr--Ku_p9uL.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DhvE24vx-CMJcsG0B.js → LabeledZeniRolesDropDownField-BBpe1-wI-fb12_Q3E.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-CpttcuV1-DuV4F8Zk.js → LinkJETransactionPage-Cn7He0uo-CU1EJOb0.js} +2 -2
  98. package/dist/assets/{LockCardPage-FMI6xt1u-CaDqCq7u.js → LockCardPage-CaIor45t-fxRy_eBL.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-UNnJZwgC-CkWspEoQ.js → LowBalancePopup-DQJYforY-CaW9bnoT.js} +1 -1
  100. package/dist/assets/MagicLinkACHDetailsPage-CTqUXhIp-BPw-bzqm.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dn7zRSmC-Cp1zfiCQ.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BP3vdY52-BzDP-7_t.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-MURH2rp8-CLSHC5Hv.js → MagicLinkSuccessPage-RsvHwQTQ-DKdw4jPk.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-Cyx2YimC-CumkPG7L.js → MagicLinkTitleSection-DaThYY60-DuPzkS6C.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-Ro9Lxvtp-DaRqYLgY.js → MailingDetailsSection-DKs9SGYB-DpYzwmUT.js} +2 -2
  106. package/dist/assets/{Menu-XT10vy6U-CU6mTufV.js → Menu-DWx47kcG-CqRpt11Z.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BwD3OyXL-CYJkaop_.js → MyBankConnectionsSettingsPage-DtnGJLK--62eLaU86.js} +5 -5
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-B4yQ0O4T-DshQIKqq.js → MyPendingActivationChargeCardListPage-B1A2Dxw3-KQAV9F2y.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-Bb4QkILK-dnKU-rey.js → MyProfileSettingsPage-BHpnpTmJ-DUJX3teA.js} +5 -5
  110. package/dist/assets/{NavBarWithPicker-DhLovvzt-BucppuZh.js → NavBarWithPicker-Biz620wH-BwhpY8Dt.js} +1 -1
  111. package/dist/assets/{NavigationArrow-lK8LcatV-CeIdwn4T.js → NavigationArrow-CV_u5I1d-Dq_Cpl0i.js} +1 -1
  112. package/dist/assets/{NavigationDots-Dp0jKWtv-CRltAfKx.js → NavigationDots-DBshnTnS-eQudWkl3.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-DFt03MpW-DlxPCqjn.js → NewGlobalMerchantPage-DV2k3q5N-BcTx-Ahj.js} +1 -1
  114. package/dist/assets/{NoDataChart-BVStkyEY-D2SnG7M_.js → NoDataChart-DmThvRWS-pxiREfeT.js} +1 -1
  115. package/dist/assets/{NoDataTable-CBglXVQp-Bo5PkCij.js → NoDataTable-8GCzndE4-Bqx95DdJ.js} +1 -1
  116. package/dist/assets/{NotFoundPage-8N4Q0cRS-BFLKl-lt.js → NotFoundPage-VR72eVPP-RofDTL3E.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage--cl75C4Y-f1m5g0NX.js → NotificationSettingsPage-Bwf-7o4F-Aj6P3Xzl.js} +3 -3
  118. package/dist/assets/{NotificationsListConfig-BvqUVi6A-B8H0H-lA.js → NotificationsListConfig-Dn_RFaAK-YhpveZOf.js} +1 -1
  119. package/dist/assets/{NotificationsPage-ClhmC4cD-DPPL3j0E.js → NotificationsPage-B8GufkTS-DUQT6vp2.js} +18 -18
  120. package/dist/assets/{OpExByVendorPage-B24tsc-s-kLP2AkBc.js → OpExByVendorPage-BlEqljuU-DVw46mxv.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DZPeSqh9.js → OverlayContainerPage-Daz3A7cI-jq9xEsKm.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-ChmIZfeB-ClSkfHo-.js → PandLWithForecastPage-GOxiUR2j-BGagWawc.js} +2 -2
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-rhNK3_SE-1vs8c8G7.js → PaymentAccountSetupBillingAddressSection-BIxsEOJG-BjXFADJ0.js} +1 -1
  124. package/dist/assets/{PeoplePage-PetKjS8P-BPodINWd.js → PeoplePage-DahKRMoB-F0cHCzgT.js} +13 -13
  125. package/dist/assets/{Preview-B0dy4K56.js → Preview-CrPzNPnm.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-DzhNUiJk-j7XkXPk6.js → ProductsCarousel-1P24z1p4-CeCLsS0U.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-ZTN2uS4W-5Q0VbcDD.js → PromoBaseCards-DiKj0_oo-CtEGMdvr.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-CBtavUIz-B6M_dsQg.js → QBOConnectionDialog-A0ysjdIC-Eqpwl6_L.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-jcVYFWfP-C5e7X1Mu.js → QBOSetupSection-Me828i1a-N1PCk_UL.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BoarRMWS-BectwrxR.js → ReimbursementApprovalRuleDetailPage-dID4dZbu-DAIygneU.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-B5hHz-7T-Dv8WAEdQ.js → ReimbursementApprovalRulesPage-D8stgYq_-CqsPNPUT.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-YfiCLu3C-CwkxO_yG.js → ReimbursementDetailPage-DaYD1eTP-BBI-ZKs3.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-CC_zFd3U-CTzC3o_d.js → ReimbursementPromoPage-ClRa3wo6-GK77Fy92.js} +4 -4
  134. package/dist/assets/{ReimbursementSetUpPage-ChjBTodZ-BOCtoEcr.js → ReimbursementSetUpPage-CaJCRajP-Bhbzq9G6.js} +4 -4
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DOSDVT4u-eNIlif5R.js → ReimbursementsBulkReviewDrawerPage-BuBVWui--heWobZZd.js} +1 -1
  136. package/dist/assets/{ReloadCard-qzpNu5-B-B1j5ZU_S.js → ReloadCard-DzxA-pGI-BwtgRkm9.js} +5 -5
  137. package/dist/assets/{ReportTableViewSelector-kzIQLZ5u-BhME63dM.js → ReportTableViewSelector-D1k2eDtE-DWKTaUmF.js} +1 -1
  138. package/dist/assets/{ReportsPage-DVZ3Rcn1-Wq7Sa7FA.js → ReportsPage-DqXYfBQC-DTOBKK0U.js} +5 -5
  139. package/dist/assets/{RevenueChart-Bu8VCI9M-_G1P_vqG.js → RevenueChart-C0vx4zUX-Uw0PsYMZ.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-Cl2_0ldt-I0ORbaK-.js → ReviewDetailsPage-DmHHVA8I-Sy4HvXq_.js} +52 -52
  141. package/dist/assets/{ReviewOverlay-vmoQ2B3U-U5POiYSb.js → ReviewOverlay-tGj059Ib-BvRNdoTH.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-CEcusyL7-CTwR219H.js → RoleWithToolTip-BGafXnoE-Cs8CtpyO.js} +5 -5
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D9w3rUch-DJz9Yey_.js → ScheduleDetailsFixedAssetsPage-DuuvsMhX-gKNOvkFU.js} +3 -3
  144. package/dist/assets/{ScheduleDetailsPage-LbjrnfcH-B4mXvCnN.js → ScheduleDetailsPage-BCw7YaHZ-CsQRejR9.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-2IpjhbUO-yzYUZewQ.js → ScheduleSequenceTable-C31xhtxt-m1Npa7Ri.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-Dj7TdnaB.js → ScreenRoutes-CcDq1jZA.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-p_viPmIN-BlBdymA0.js → SetUpAccountSection-D8PGmPML-_7698rPN.js} +1 -1
  148. package/dist/assets/SignIn-CwWQnPnB-BjWxjduT.js +491 -0
  149. package/dist/assets/{SignInScreen-Bn4nYRQE.js → SignInScreen-CMNwX-LP.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-C3i-Mkip-DzQMh6GP.js → SpendManagementListViewPage-B-EbBpvJ-ON20KKOZ.js} +5 -5
  151. package/dist/assets/{SpendManagementPerTabPage-dTz2pMKg-DYfwutDo.js → SpendManagementPerTabPage-DANa2aTd-C61KLHM_.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-DKMG4ReN-BvPjO4KM.js → SpendManagementSection-CXYhrJSF-CXDxQfGM.js} +7 -7
  153. package/dist/assets/StatementItem-DeYhvD3S-1QR10Whm.js +31 -0
  154. package/dist/assets/{StatementsPage-DwvWOETo-CXlDv2KT.js → StatementsPage-2OCuox8g-8nyeHbc9.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-Moxr70rd-DARIPkKt.js → StatusSwitcher-CfBOEbYV-jyQUqc0h.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-DnCoUKmO-3giMprMe.js → SubTabSwitcher-LzrZe6zz-Bq05ehgW.js} +4 -4
  157. package/dist/assets/SummaryCard-DTbKziXk-DQjaUfYU.js +1 -0
  158. package/dist/assets/{TaskManagementPage-kHOwTTeJ-CfCX6wr3.js → TaskManagementPage-J0L5w2Wc-ChHzcbst.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-8DihGZnj-Cf-1grC_.js → TimeRangeSwitcher-CIhE-4dW-CNYy5JM_.js} +11 -11
  160. package/dist/assets/{TimeframeSwitcher-Dy5hbFn4-nqznt7nk.js → TimeframeSwitcher-YlXclGGy-Dzk_QBMX.js} +5 -5
  161. package/dist/assets/TimeframeSwitcherWithToggle-BKRmBPLL-D7T-iUSK.js +31 -0
  162. package/dist/assets/{TopExCard-D_okDk9T-Ba1Fp_3J.js → TopExCard-D1k8bh_F-C0WRKW8Q.js} +1 -1
  163. package/dist/assets/{TopExDetailPage-pOK_Ly9f-YYkSMo_K.js → TopExDetailPage-BRJ9k9hY-DGh-mViS.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-T1xurXsz-CH4IU-6k.js → TransactionDetailPage-CJjGDJoM-4j_0Nnvx.js} +1 -1
  165. package/dist/assets/{TransactionList-DblCSg0s-uevCyEQB.js → TransactionList-CLJV-J8J-DPWKYbwQ.js} +6 -6
  166. package/dist/assets/{TransactionListBig-JLNkkeay-GwIa9a3j.js → TransactionListBig-CDMd8KmW-BMMhha0s.js} +1 -1
  167. package/dist/assets/{TransactionListPage-Cf2i0F_k-BRw5VvHr.js → TransactionListPage-Dm_JZDPM-CpkM0KX9.js} +2 -2
  168. package/dist/assets/{TransactionVendorDetailPage-B4T07nWa-Hek7YOkl.js → TransactionVendorDetailPage-BDuBQged-CAcA5ymW.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-BukQB5RF-BaFvth7f.js → TransferDrawerPage-lY_wB7eB-BHJQPQzp.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-C0bQkCDh-BSIFfKG0.js → TreasuryOverviewPage-D5OetJEP-DU_svhq3.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-BaXLj90f-DyGHzvkx.js → TreasuryPromoPage-8tXexPVv-CiI-0ZNb.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-CNK6wX8W-BBctfBrh.js → TreasuryStatementsPage-DEOyNQFW-CWB-xLSh.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-DEnUpGEu-PzAYgPYT.js → TreasuryTaxLetterPage-B2AurZ-A-Dvkl-xbT.js} +1 -1
  174. package/dist/assets/{TrendChart-BhcSso96-D1M97qk4.js → TrendChart-DhH1bAfv-Bh3qy9e2.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-B6xQ_DkB-BEFPt74D.js → TrendWithTransactions-BLYyM3MY-D_wSnssv.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-DDqyVfnh-Crd__Sgm.js → UncategorizedAccountsMappingPage-CFir4dX5-DJbsYjHd.js} +5 -5
  177. package/dist/assets/{UnitIntegrationPage-BpT6E05N-e92ZbAwu.js → UnitIntegrationPage-CHR1UsV3-CoAODj2A.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-Dgwmxm6G-BEL8mMiP.js → UploadAdditionalDocumentOverlay-CVb-0jqF-BDqTVyrb.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-CayW9AB7-x46gcb9G.js → Vendor2FAPopup-BJI6SeE0-CTu9U0EV.js} +1 -1
  180. package/dist/assets/{VendorACHDetailsPage-CjsWjEGI-Dx-cpWMi.js → VendorACHDetailsPage-DLY7vm1r-DGGLogkV.js} +1 -1
  181. package/dist/assets/{VendorDetailPage-DQKnd_wl-DgCC2d7y.js → VendorDetailPage-Bl6Xaq0d-DsXiZRzL.js} +5 -5
  182. package/dist/assets/VendorDomesticWireDetailsPage-B83WB2Vz-DFPT0ZYm.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-monlt0GX-D11nhKRT.js → VendorFiling1099EditablePage-DHabnH22-CEFAMCGK.js} +32 -32
  184. package/dist/assets/{VendorFirstReviewPage-B_5VMGPE-BQGRha_7.js → VendorFirstReviewPage-JhwEqiFF-kofbScrA.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-Czz9BmEm-j7TWYMZY.js → VendorInternationalWireDetailsPage-DKsYBIjo-D8VzNPtl.js} +1 -1
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-XKp9TJ4g-m_5Ao1BR.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-BCxVL3Vy-CVp3oyuz.js → VendorsAccountsSection-Bvhib6Hd-BRinGYjw.js} +3 -3
  188. package/dist/assets/{VerifyDevice-CzW6x8kw-DL7_PzvN.js → VerifyDevice-DGjS39sh-CtcNv75O.js} +1 -1
  189. package/dist/assets/{VideoPlayer-B6HamlwN-B0K1YC8V.js → VideoPlayer-DufuoQRs-CzFmZCl7.js} +2 -2
  190. package/dist/assets/{VideoPopup-D2mt1wC7-DX7NeQAc.js → VideoPopup-1aNRmLD6-E6I5SdxR.js} +2 -2
  191. package/dist/assets/{WarningsDrawerPage-BbN2G_rG-hi1DPTM_.js → WarningsDrawerPage-Bikg48FF-BUXgPrL6.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-Bs_CVksP-BDdSvLD_.js → ZeniAccountDetailPage-DJiB-R44-8YHKJ_Rk.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-D5VNz-Hq-5LAtN_Rm.js → ZeniAccountListViewPage-BJF3-1hq-aqs0GGLS.js} +7 -7
  194. package/dist/assets/{ZeniAccountNavBarPieces-Dr8RdhtI-B5O0ky0e.js → ZeniAccountNavBarPieces-ZZoVi49V-B5zNoIEH.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-DvOrXg46-dzcFBDQn.js → ZeniAccountPromoPage-VfZj6e9J-CEBstujd.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-zxlxRsQl-B6ap5Abk.js → ZeniAccountSetupPage-CfUBgLaM-ZmrhqCPO.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-F1ki_Lss-DFx9p5Fp.js → ZeniCopyright-UUk3LylG-VfT1dTbC.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-CK6HDTK_-B4HkHgTv.js → ZeniTransferAmountSlider-DuyKUAsb-Di2nbbIa.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-BDLvoxng.js → add-to-wallet-DgdBD8_G-DHth-HM4.js} +1 -1
  200. package/dist/assets/{analytics-DWna4COD.js → analytics-CxT-6Gc4.js} +1 -1
  201. package/dist/assets/{analyticsHelper-BTX5S1zu.js → analyticsHelper-BbgU3YZ3.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BgGQcED5-DKVZbHBv.js → analyticsHelper-C_CHYSrd-D1gtzETx.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-DOt54l-M.js → arrow-south-east-round-PEovUgvH-jJL-u3ku.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-B8Z0z-Ku.js → auto-transfer-rule-mbafm5D3-Bxbaldq-.js} +1 -1
  205. package/dist/assets/{chartTypes-Cdx27b7W-BwAd9kGM.js → chartTypes-CfyGWP2E-zDFdatAv.js} +1 -1
  206. package/dist/assets/{commonDimensions-BIRY_wCD-Js86v9fG.js → commonDimensions-uDLC8oOH-DZ9sBzhX.js} +1 -1
  207. package/dist/assets/{commonTypes-DfehYs8A-CmS8iBUI.js → commonTypes-DBWmGaRi-Bvj_-gYH.js} +1 -1
  208. package/dist/assets/{constants-Cr4RUUPf.js → constants-Dpo-zUMa.js} +1 -1
  209. package/dist/assets/{core-d8TJZx_K.js → core-CYa2vsSD.js} +1 -1
  210. package/dist/assets/{dash.all.min-yh9LxFx1.js → dash.all.min-BwfoNW06.js} +1 -1
  211. package/dist/assets/{detailCommon-C4lCnx9f-CT9Wovwc.js → detailCommon-CUjnzfBn-Bjs9ry6w.js} +3 -3
  212. package/dist/assets/{downloadPdf-BuszScX2-CQQvmAzj.js → downloadPdf-DZnGQqi5-DWxICXE5.js} +1 -1
  213. package/dist/assets/{empty-CKmL-VR3.js → empty-BSEyVh8N.js} +1 -1
  214. package/dist/assets/{empty-D8Gd0v1U.js → empty-CFYi5Ru2.js} +1 -1
  215. package/dist/assets/{epic-BPaG5vPL.js → epic-BaGEtIuG.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-DUMEeA-V.js → gift-box-Cmt9OgIZ-D2c9pOix.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BVFGUXFG.js → graphic-no-data-l-DU4J8fDt-Dm8Nhvl9.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DHRR03zj.js → graphic-no-data-net-burn-l-CzmycA0m-CTFvUdJH.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-C5j99nww.js → handshake-BPg58FML-cD35y_0x.js} +1 -1
  220. package/dist/assets/{index-BxCf7Wvz.js → index-CLqQIFvx.js} +9 -9
  221. package/dist/assets/{index-Z0vhp4UP.js → index-D1NG7F-c.js} +1 -1
  222. package/dist/assets/{index-DAQTbb-z.js → index-DEJ7sanz.js} +1 -1
  223. package/dist/assets/{index-CXhd2ski.js → index-DhBlfmDf.js} +1 -1
  224. package/dist/assets/{index-BHy2xz_i.js → index-WnHIYL2y.js} +1 -1
  225. package/dist/assets/{index-ypb5f_6G.js → index-o7l6M0TC.js} +1 -1
  226. package/dist/assets/{index-P2JRDBkg.js → index-oF3vysIj.js} +1 -1
  227. package/dist/assets/{lexical-C6LLNKxw.js → lexical-DzVC4tTe.js} +1 -1
  228. package/dist/assets/{liveblocks-CGDIIAIj.js → liveblocks-DZksneMc.js} +1 -1
  229. package/dist/assets/{lottie-LB826b2R.js → lottie-EtzJiaFi.js} +1 -1
  230. package/dist/assets/mapLoadingInProgressToTreeNode-BNip5yf2-B8eJRUmh.js +1 -0
  231. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-KPnNJcR6-BNt8WVWD.js → mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Bt6Ormba.js} +1 -1
  232. package/dist/assets/{mapSpacerToTreeNode-BgJYIgvo-CUvrjAxs.js → mapSpacerToTreeNode-D950gQIm-BVvu7Mmj.js} +1 -1
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-BwoNhSxI-9FFTEIt6.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-CpO1mQ6n-CJZiBXdi.js +1 -0
  235. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-tLFl9PXK-2yg-AGqh.js +1 -0
  236. package/dist/assets/{mui-BH8m6kGU.js → mui-Co4rhSdf.js} +1 -1
  237. package/dist/assets/{page-detail-CWX5S47F-DEwJ4YhF.js → page-detail-CWX5S47F-DzQ9yNth.js} +1 -1
  238. package/dist/assets/{radio-default-CiSgisfh-9-L1Tl9m.js → radio-default-CiSgisfh-DdBmb3s2.js} +1 -1
  239. package/dist/assets/{react-1TS5Pz5D.js → react-B9BOYeX6.js} +2 -2
  240. package/dist/assets/{react-BZg321WR.js → react-BHvhexjt.js} +1 -1
  241. package/dist/assets/{react-DXqousR1.js → react-BcTgPaBt.js} +1 -1
  242. package/dist/assets/{react-DjFxauce.js → react-BfmS3tc2.js} +1 -1
  243. package/dist/assets/{react-BZPwYTgt.js → react-BrZdHxR5.js} +1 -1
  244. package/dist/assets/{react-DbC4BMti.js → react-DaPNcQnJ.js} +1 -1
  245. package/dist/assets/{react-ChgBiDic.js → react-USABo3kI.js} +1 -1
  246. package/dist/assets/{react-B98PZ5oz.js → react-hKmyc3EK.js} +1 -1
  247. package/dist/assets/{recharts-DuImoJah.js → recharts-C4PW-81v.js} +1 -1
  248. package/dist/assets/{sentry-RNV3Di4s.js → sentry-Cue4MgLi.js} +1 -1
  249. package/dist/assets/{shield-DOlUxcFf-Dq2KOj6m.js → shield-DOlUxcFf-UAy-EXjs.js} +1 -1
  250. package/dist/assets/toCOABalancesWithID-B6AaIKKE-ZUVHY5cX.js +1 -0
  251. package/dist/assets/{toChartData-B0HFgnVy-BWQxPZy2.js → toChartData-DD8ISjzM-DQ9NjKIx.js} +1 -1
  252. package/dist/assets/{uploadAttachment-DlvokhTk-BnXZd0ih.js → uploadAttachment-CEqqTe84-MicetzMb.js} +1 -1
  253. package/dist/assets/{uploadReceipts-CPw64UYa-CC4d6kSy.js → uploadReceipts-CPw64UYa-BwoznkPo.js} +1 -1
  254. package/dist/assets/{url-CMWGXMaV.js → url-CIbQHzW3.js} +1 -1
  255. package/dist/assets/{url-Q92EHF6-.js → url-CpxLPhmr.js} +1 -1
  256. package/dist/assets/{useLongPress-GCK2COYQ-Ify9QpX5.js → useLongPress-GCK2COYQ-Da6NOL1P.js} +1 -1
  257. package/dist/assets/{usp-line-BBd1wKwW-C6G0Rq76.js → usp-line-BBd1wKwW-BZcVCehg.js} +1 -1
  258. package/dist/assets/{utils-BXiVsZbS.js → utils-CxOjlxtI.js} +1 -1
  259. package/dist/assets/{zeni-epic-state-BSaicoAp.js → zeni-epic-state-DcWK4mxP.js} +3 -3
  260. package/dist/index.html +1 -1
  261. package/package.json +2 -2
  262. package/dist/assets/CustomerOnboardingContainerPage-CY24zxv4-Dlglmitj.js +0 -1
  263. package/dist/assets/CustomerOnboardingProductSuitePage-CJ9rX2hA-D_AGKikc.js +0 -202
  264. package/dist/assets/MagicLinkACHDetailsPage-Bwzk6331-DJfV3lU-.js +0 -1
  265. package/dist/assets/MagicLinkDomesticWireDetailsPage-23WXWUBb-DJ6qKsHx.js +0 -1
  266. package/dist/assets/MagicLinkInternationalWireDetailsPage-XqDeRmny-DL7ST80r.js +0 -1
  267. package/dist/assets/SignIn-DhRwLJFX-CJyBsyvF.js +0 -448
  268. package/dist/assets/StatementItem-Dk8gBfGY-DC0R9g1b.js +0 -31
  269. package/dist/assets/SummaryCard-DvdjDQ13-6ipWCmEa.js +0 -1
  270. package/dist/assets/TimeframeSwitcherWithToggle-V2cHhGoQ-CE78-HgD.js +0 -31
  271. package/dist/assets/VendorDomesticWireDetailsPage-DBOWshWu-2HsQayCN.js +0 -1
  272. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B-mh5P3v-Ca_AkD0f.js +0 -1
  273. package/dist/assets/mapLoadingInProgressToTreeNode-COOEc1T9-xGax8DFV.js +0 -1
  274. package/dist/assets/mapTimeframeBalancesToTreeNode-DAnYNYrr-DY_OPsK8.js +0 -1
  275. package/dist/assets/mapTimeframeBalancesToTreeNode-DKbBYyC9-BJ1iRUxh.js +0 -1
  276. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BeGSkZpM-C-b_T2TM.js +0 -1
  277. package/dist/assets/toCOABalancesWithID-C__BVdeG-BfFHgnXd.js +0 -1
@@ -1,4 +1,4 @@
1
- import{d as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as Je,p as J,y as s,bA as Ze,k as Ye,ac as Ke,fq as ve,dL as Xe,fr as Qe,bv as et,dB as tt,aP as it,o as a,ft as nt,c as n,cg as ot,cP as at,eo as lt,fC as ke,fD as $e,ge as st,n as rt,aN as Pe,R as Ae,bK as dt,ah as ct,bs as ut}from"./index-BxCf7Wvz.js";import{a as o}from"./sentry-RNV3Di4s.js";import{n as i}from"./mui-BH8m6kGU.js";import{bJ as mt}from"./zeni-epic-state-BSaicoAp.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-Dgwmxm6G-BEL8mMiP.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="4071e820-337a-4966-bfd3-f7052e77f3a4",e._sentryDebugIdIdentifier="sentry-dbid-4071e820-337a-4966-bfd3-f7052e77f3a4")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Ee(),D=Te(),{formState:{errors:Y},trigger:K}=at(),T=ht(P,"mileageAmountInDenomination"),x=lt(Y,T),{localData:d,updateStatus:F,mileageStatus:b}=p,W=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:X,spendManagement:Q}=Ie.getLocalizedStrings(),{reimbursement:ee}=Q,[C,E]=o.useState(W),[te,U]=o.useState(!1);o.useEffect(()=>{x||K(T)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&E(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{C||U(C)},[C]);const{reimbursementSetup:y}=ee,{setUp:ie}=X,ne=C===!1||F.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:c&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,c===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(bt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(Ct,{children:y.mileageSubTitle})]}),b!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:b.name,textColor:$e(b.code)}):null]}),t.jsxs(wt,{children:[b!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:b.name,textColor:$e(b.code)}):null,t.jsx(St,{})]})]}),t.jsxs(Tt,{children:[t.jsxs(Et,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:C||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:T,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:I=>I!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(Vt,{children:C?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&W&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:F.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:I=>{I.stopPropagation(),E(!0),U(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(It,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):d.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
1
+ import{d as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as Je,p as J,y as s,bA as Ze,k as Ye,ac as Ke,fq as ve,dL as Xe,fr as Qe,bv as et,dB as tt,aP as it,o as a,ft as nt,c as n,cg as ot,cP as at,eo as lt,fC as ke,fD as $e,ge as st,n as rt,aN as Pe,R as Ae,bK as dt,ai as ct,bs as ut}from"./index-CLqQIFvx.js";import{a as o}from"./sentry-Cue4MgLi.js";import{n as i}from"./mui-Co4rhSdf.js";import{bJ as mt}from"./zeni-epic-state-DcWK4mxP.js";import{g as pt}from"./UploadAdditionalDocumentOverlay-CVb-0jqF-BDqTVyrb.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new e.Error().stack;p&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[p]="fae51e5b-4a08-456d-8b20-3ee0e5509366",e._sentryDebugIdIdentifier="sentry-dbid-fae51e5b-4a08-456d-8b20-3ee0e5509366")}catch{}})();const gt=e=>o.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M12.7113 3H2.89261C2.39963 3 2 3.39963 2 3.89261V20.8522C2 21.3451 2.39963 21.7448 2.89261 21.7448H12.7113C13.2043 21.7448 13.6039 21.3451 13.6039 20.8522V3.89261C13.6039 3.39963 13.2043 3 12.7113 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M10.4798 13.7113H9.58719C9.3407 13.7113 9.14088 13.9111 9.14088 14.1576V16.8354C9.14088 17.0819 9.3407 17.2817 9.58719 17.2817H10.4798C10.7263 17.2817 10.9261 17.0819 10.9261 16.8354V14.1576C10.9261 13.9111 10.7263 13.7113 10.4798 13.7113Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M21.6374 16.1133C21.6374 16.1961 21.6143 16.2773 21.5708 16.3477C21.5273 16.4182 21.4651 16.4752 21.391 16.5123L19.8522 17.2817V14.6039H21.1911C21.3095 14.6039 21.423 14.6509 21.5067 14.7346C21.5904 14.8183 21.6374 14.9318 21.6374 15.0502V16.1133Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 14.6039V13.265C19.8522 12.5268 22.53 10.1409 22.53 10.1409",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M19.8522 17.2817V19.9596C19.8522 20.433 19.6641 20.8871 19.3293 21.2219C18.9945 21.5567 18.5404 21.7448 18.067 21.7448C17.5935 21.7448 17.1394 21.5567 16.8046 21.2219C16.4698 20.8871 16.2817 20.433 16.2817 19.9596V7.90935C16.2817 7.55424 16.1407 7.21369 15.8896 6.96259C15.6385 6.7115 15.2979 6.57043 14.9428 6.57043H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M2 10.1409H13.6039",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M11.3724 4.78528H4.23154C3.98505 4.78528 3.78523 4.9851 3.78523 5.23158V7.90941C3.78523 8.15589 3.98505 8.35571 4.23154 8.35571H11.3724C11.6189 8.35571 11.8187 8.15589 11.8187 7.90941V5.23158C11.8187 4.9851 11.6189 4.78528 11.3724 4.78528Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),o.createElement("path",{d:"M9.14088 19.0669H10.9261",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),h={sectionWidth:new s(343,580,726),iconContainerMaxWidthHeight:new s(n[6],n[7]),iconContainerMarginRight:new s(12,n[3]),infoLabelPaddingLeft:new s(n[0],n[3]),iconPadding:new s(10,12),iconWidthHeight:new s(20,n[4]),rowGap:new s(n[2],n[3]),containerPadding:new s(n[3],n[4])},ge={title:new Ae("standardSemiBold","largeSemiBold"),infoLabel:new Ae("extraSmallRegular","smallRegular")};function ft({companyMileageConfigInfo:e,mileageDetails:p,analytics:$,style:j,sectionId:P,isActive:c=!0,isDisabled:r,onSaveMileageClick:Z}){const l=Ee(),D=Te(),{formState:{errors:Y},trigger:K}=at(),T=ht(P,"mileageAmountInDenomination"),x=lt(Y,T),{localData:d,updateStatus:F,mileageStatus:w}=p,W=e?.denominationConversions.amount==null||e.denominationConversions.amount!==d?.mileageAmountInDenomination,{commonSetUp:X,spendManagement:Q}=Ie.getLocalizedStrings(),{reimbursement:ee}=Q,[C,E]=o.useState(W),[te,U]=o.useState(!1);o.useEffect(()=>{x||K(T)},[]),o.useEffect(()=>{e?.denominationConversions.amount!=null&&e.denominationConversions.amount===d?.mileageAmountInDenomination&&E(!1)},[e?.denominationConversions.amount]),o.useEffect(()=>{C||U(C)},[C]);const{reimbursementSetup:y}=ee,{setUp:ie}=X,ne=C===!1||F.fetchState==="In-Progress"?"readonly":r,oe=d&&d?.denominationSymbol?`${d?.denominationSymbol} `:"",ae=d&&d?.mileageUnit?d?.mileageUnit:"";return t.jsxs(xt,{windowSize:l,style:j,isActive:c&&r==null,children:[t.jsxs(Pt,{windowSize:l,children:[y.mileageHeader,c===!1?t.jsx(Dt,{children:ie.comingSoon}):null]}),t.jsxs(kt,{windowSize:l,children:[t.jsx(vt,{windowSize:l,isDarkMode:D.mode==="dark",children:t.jsx(gt,{width:h.iconWidthHeight.valuePx(l),height:h.iconWidthHeight.valuePx(l)})}),t.jsxs(yt,{children:[t.jsxs($t,{children:[t.jsxs(At,{children:[t.jsxs(jt,{children:[t.jsx(wt,{windowSize:l,children:e?.denominationConversions.amount==null?y.mileageAddTitle:y.mileageEditTitle}),t.jsx(Ct,{children:y.mileageSubTitle})]}),w!=null&&e?.denominationConversions.amount!=null&&l==="small"?t.jsx(ke,{style:{width:"max-content",padding:a.sp0,marginTop:a.sp2},tagTitle:w.name,textColor:$e(w.code)}):null]}),t.jsxs(bt,{children:[w!=null&&e?.denominationConversions.amount!=null&&l!=="small"?t.jsx(ke,{style:{width:"max-content"},tagTitle:w.name,textColor:$e(w.code)}):null,t.jsx(St,{})]})]}),t.jsxs(Tt,{children:[t.jsxs(Et,{children:[t.jsx(st,{style:{height:a.sp6,textAlign:"left"},inputStyle:{textAlign:"left",paddingRight:a.sp10,backgroundColor:x?void 0:D.colors.background,color:C||x?void 0:D.colors.grey1},isFieldError:x,type:"number",autoFocus:!1,focus:te,name:T,defaultValue:d?.mileageAmountInDenomination,returnValueType:"floatValue",allowEmptyFormatting:!0,prefix:oe,suffix:` ${y.perText} ${ae}`,decimalScale:1,allowNegative:!1,isNumericString:!1,registerOptions:{min:1,validate:I=>I!=null||r!=null,required:r==null},isDisabled:ne}),t.jsx(Vt,{children:C?t.jsx(rt,{label:y.save,"data-testid":Pe("save-mileage"),onClick:()=>{d?.mileageAmountInDenomination!=null&&W&&!x&&Z?.(d.mileageAmountInDenomination)},style:{outline:"none"},size:"small",disabled:r!=null,variant:"light_transparent",reverseSpinnerColor:!1,loading:F.fetchState==="In-Progress"}):t.jsx(Lt,{isDisabled:r,"data-testid":Pe("edit-mileage"),onClick:I=>{I.stopPropagation(),E(!0),U(!0),$.trackReimbursementMileageRateEdit()}})})]}),d?.description!=null?t.jsx(It,{size:l,hasError:x,children:x&&e?.defaultMileageUnitAmount!=null?y.yourMileage.replace("__defaultMileageUnitAmount__",(e.defaultMileageUnitAmount*100).toString()):d.description}):null]})]})]})]})}const ht=(e,p)=>`${e}.${p}`,xt=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  pointer-events: ${e=>e.isLoading===!0||e.isActive===!1?"none":"initial"};
@@ -9,9 +9,9 @@ import{d as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
9
9
  width: 100%;
10
10
  flex-direction: column;
11
11
  justify-content: flex-start;
12
- `,wt=i.div`
13
- display: flex;
14
12
  `,bt=i.div`
13
+ display: flex;
14
+ `,wt=i.div`
15
15
  ${e=>`${ge.title.style(e.windowSize)}`};
16
16
  color: ${e=>e.isError===!0?J.important:e.theme.colors.primary};
17
17
  `,Ct=i(ct)`
@@ -103,7 +103,7 @@ import{d as Te,q as Ee,aO as N,a9 as qe,cC as Ge,F as Ie,aT as Se,V as t,f7 as J
103
103
  &:hover {
104
104
  color: ${e=>e.theme.colors.primary};
105
105
  }
106
- `,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},je="remiSetupPage",q="remiAccount",G="remiMileage",Xt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:c,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Y,onBusinessVerificationSectionClick:K,onSetupApprovalRulesSectionClick:T,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onEstablishConnectionSuccess:F,updateMileageDetails:b,onUpdateAccountClick:W,onUpdatePrimaryFundingAccount:X,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:C,onEnableRemiSuccess:E,onSaveMileageClick:te,onClickMenuIcon:U,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:I})=>{const H=Te(),u=Ee(),[B,V]=o.useState(!1),{fetchState:v,primaryFundingAccount:S,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ve,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Me,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Fe}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),we=N(se.fetchState),be=N(re.fetchState),z=qe({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&V(!0),B&&_==="In-Progress"&&v==="Completed"&&V(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||we==="In-Progress"&&se.fetchState==="Completed"||be==="In-Progress"&&re.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,we,se.fetchState,be,re.fetchState]);const We=z.handleSubmit(A=>{l.trackEnableReimbursement(),C()}),Ue=async(A,R)=>{const m=R[q];if(A.includes(q)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&S?.id!=m.fundingAccount.selectedOption){const w=fe.find(me=>me.id===m.fundingAccount.selectedOption);w!=null&&X(m.fundingAccount.selectedOption,w.accType)}}else if(m.account.selectedOption!=null&&S?.id!=null&&S?.zeniAccountId!=m.account.selectedOption){const w=m.account.allOptions.find(me=>me.value===m.account.selectedOption);w!=null&&typeof w.label=="string"&&l.trackConnectBankLink(w.value,w.label,"reimbursement"),W(m.account.selectedOption,S.id,S.accType)}}else if(A.includes(G)){const w=R[G];b(w)}};o.useEffect(()=>{const A=z.watch((R,{name:m})=>{m!=null&&R!=null&&Ge(()=>Ue(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&E()},[E,ye,L.fetchState]);const{commonSetUp:Ce,spendManagement:He}=Ie.getLocalizedStrings(),{reimbursement:Be}=He,{reimbursementSetup:M}=Be,{setUp:k}=Ce,de=he?.isBusinessVerified===!0&&(S?.accType==="depositAccount"||mt(S?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,ce=ze?.isReimbursementEnabled===!0,Oe=de?Ce.setUp.setupVerifiedSubTitle:M.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=H.mode==="light"?new Se(H.colors.brandColorJadeLight):new Se(H.colors.brandColorJadeDark),Ne=()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?V(!0):K?.()};return t.jsxs(zt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>V(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:c,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>V(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:Y,showMenuIcon:!ce&&(u==="medium-compact"||u==="small"),onClickMenuIcon:U,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(Mt,{windowSize:u,children:Oe}),_e?t.jsx(Ft,{children:t.jsx(Ye,{size:"ExtraLarge",start:!0})}):t.jsx(Ke,{...z,children:t.jsx("form",{id:De(je),onSubmit:We,children:t.jsxs(Wt,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Xe,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Re}),t.jsx(Qe,{connectedAccountProvider:j,primaryFundingAccount:S,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:F,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:I,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:G,onSaveMileageClick:te,analytics:l}),t.jsx(ve,{title:O.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:M.approvalSubTitle,header:O.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:T,status:O.length>0?Fe:void 0})]})})})]}),de&&!ce&&O.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:M.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ve.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:M.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:de&&!ce,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},zt=i.div`
106
+ `,g={titleWidth:new s(343,580,726,826),setupDetailsRowGap:new s(12,n[5],n[5]),sectionRowGap:new s(n[5],n[9],n[9]),lastSectionPaddingBottom:new s(n[7],n[10],n[10]),iconWidthHeight:new s(20,n[4]),subTitlePaddingTop:new s(12,n[3]),subTitlePaddingBottom:new s(n[3],n[3]),overlayWidth:new s(100,100,59)},je="remiSetupPage",q="remiAccount",G="remiMileage",Xt=({remiSetupView:e,isDisabled:p,remiApprovalView:$,connectedAccountProvider:j,isAccountsEnabled:P,filesEndPoint:c,authParams:r,meetingUrl:Z,analytics:l,accountsPromoConfig:D,onBackClick:Y,onBusinessVerificationSectionClick:K,onSetupApprovalRulesSectionClick:T,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onEstablishConnectionSuccess:F,updateMileageDetails:w,onUpdateAccountClick:W,onUpdatePrimaryFundingAccount:X,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEnableRemiClick:C,onEnableRemiSuccess:E,onSaveMileageClick:te,onClickMenuIcon:U,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae,onSignUpClick:I})=>{const H=Te(),u=Ee(),[B,V]=o.useState(!1),{fetchState:v,primaryFundingAccount:S,allFundingAccounts:fe,updateStatus:L,accountUpdateStatus:Ve,plaidConnectionDetails:le,allBankAccounts:Le,companyRemiInfo:ze,companyBillPayInfo:he,mileageRateConfig:Me,isRefreshingViewInBackground:Re,selectedCompanyOfficer:f}=e,{fetchState:xe,allApprovalRules:O,approvalRulesStatus:Fe}=$,se=le.link_account.updateStatus,re=le.update_account.updateStatus,_=N(v),ye=N(L.fetchState),be=N(se.fetchState),we=N(re.fetchState),z=qe({mode:"all",reValidateMode:"onChange",defaultValues:o.useMemo(()=>pe(e),[e]),values:pe(e)});o.useEffect(()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"&&V(!0),B&&_==="In-Progress"&&v==="Completed"&&V(!1)},[f,v,_]),o.useEffect(()=>{(_==="In-Progress"&&v==="Completed"||be==="In-Progress"&&se.fetchState==="Completed"||we==="In-Progress"&&re.fetchState==="Completed")&&z.reset(pe(e))},[_,v,z,e,be,se.fetchState,we,re.fetchState]);const We=z.handleSubmit(A=>{l.trackEnableReimbursement(),C()}),Ue=async(A,R)=>{const m=R[q];if(A.includes(q)){if(A.includes("fundingAccount")){if(m.fundingAccount.selectedOption!=null&&S?.id!=m.fundingAccount.selectedOption){const b=fe.find(me=>me.id===m.fundingAccount.selectedOption);b!=null&&X(m.fundingAccount.selectedOption,b.accType)}}else if(m.account.selectedOption!=null&&S?.id!=null&&S?.zeniAccountId!=m.account.selectedOption){const b=m.account.allOptions.find(me=>me.value===m.account.selectedOption);b!=null&&typeof b.label=="string"&&l.trackConnectBankLink(b.value,b.label,"reimbursement"),W(m.account.selectedOption,S.id,S.accType)}}else if(A.includes(G)){const b=R[G];w(b)}};o.useEffect(()=>{const A=z.watch((R,{name:m})=>{m!=null&&R!=null&&Ge(()=>Ue(m,R))});return()=>{A.unsubscribe()}}),o.useEffect(()=>{ye==="In-Progress"&&L.fetchState==="Completed"&&E()},[E,ye,L.fetchState]);const{commonSetUp:Ce,spendManagement:He}=Ie.getLocalizedStrings(),{reimbursement:Be}=He,{reimbursementSetup:M}=Be,{setUp:k}=Ce,de=he?.isBusinessVerified===!0&&(S?.accType==="depositAccount"||mt(S?.providerVerificationStatus?.code??""))&&Me?.denominationConversions.amount!=null,ce=ze?.isReimbursementEnabled===!0,Oe=de?Ce.setUp.setupVerifiedSubTitle:M.setupSubTitle,_e=v==="In-Progress"||v==="Not-Started"||xe==="In-Progress"||xe==="Not-Started",ue=H.mode==="light"?new Se(H.colors.brandColorJadeLight):new Se(H.colors.brandColorJadeDark),Ne=()=>{!B&&f?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&f.areAdditionalDocumentsRequestedForVerification&&!f.areAdditionalDocumentsSubmittedForVerification&&f.userVerificationStatus?.code==="require_info"?V(!0):K?.()};return t.jsxs(zt,{children:[t.jsx(Je,{anchor:"right",PaperProps:{style:{width:g.overlayWidth.valuePercentage(u),boxShadow:"none"}},open:B,onClose:()=>V(!1),style:{backgroundColor:J.drawerBackground},transitionDuration:250,children:t.jsx(pt,{authParams:r,filesEndPoint:c,updateStatus:L,onEditFileName:y,onDeleteFile:ie,updateFilesEntity:ne,companyOfficer:f,onClose:()=>V(!1),onCompanyOfficerUpdated:oe,onSendForVerificationClick:ae})}),t.jsx(Ze,{title:M.setupTitle,backgroundColor:H.colors.grey4,style:{zIndex:3},onBackClick:Y,showMenuIcon:!ce&&(u==="medium-compact"||u==="small"),onClickMenuIcon:U,source:"ReimbursementSetUpPage"}),t.jsxs(Rt,{windowSize:u,children:[t.jsx(Mt,{windowSize:u,children:Oe}),_e?t.jsx(Ft,{children:t.jsx(Ye,{size:"ExtraLarge",start:!0})}):t.jsx(Ke,{...z,children:t.jsx("form",{id:De(je),onSubmit:We,children:t.jsxs(Wt,{windowSize:u,children:[t.jsx(ve,{onClick:Ne,title:k.businessVerificationTitle,subTitle:k.businessVerificationSubTitle,header:k.businessVerificationHeader,icon:{element:t.jsx(Xe,{width:g.iconWidthHeight.valuePx(u),height:g.iconWidthHeight.valuePx(u)}),color:ue},status:he?.businessVerificationStatus,isTagLoading:Re}),t.jsx(Qe,{connectedAccountProvider:j,primaryFundingAccount:S,plaidConnectionDetails:le,allBankAccounts:Le,allFundingAccounts:fe,sectionId:q,isDisabled:p,onFetchLinkTokenClick:x,onEstablishConnectionClick:d,onUpdatePaymentAccountStatus:Q,onUpdatePaymentAccountLoginStatus:ee,onEstablishConnectionSuccess:F,icon:{element:t.jsx(et,{width:g.iconWidthHeight.valuePx(u)}),color:ue},analytics:l,productType:"reimbursement",isAccountsEnabled:P,onSignUpClick:I,pageName:"Reimbursement Setup",accountsPromoConfig:D}),t.jsx(ft,{mileageDetails:e.mileageDetails,companyMileageConfigInfo:e.mileageRateConfig,sectionId:G,onSaveMileageClick:te,analytics:l}),t.jsx(ve,{title:O.length>0?k.approvalTitle:k.createApprovalTitle,subTitle:M.approvalSubTitle,header:O.length>0?k.approvalHeader:k.setupApprovalHeader,icon:{element:t.jsx(tt,{height:g.iconWidthHeight.valuePx(u)}),color:ue},style:{paddingBottom:g.lastSectionPaddingBottom.valuePx(u)},onClick:T,status:O.length>0?Fe:void 0})]})})})]}),de&&!ce&&O.length>0?t.jsx(it,{formId:De(je),primaryBtn:{label:M.enableReimbursements,style:{width:"auto",minWidth:u==="small"?"auto":"181px"},isLoading:L.fetchState==="In-Progress"||Ve.fetchState==="In-Progress",isDisabled:p!=null},showCancel:!1,helperText:M.terms,cancelBtn:{label:""},style:{padding:`12px ${a.sp3}`}}):null,t.jsx(nt,{isFooterRendered:de&&!ce,meetingUrl:Z,analytics:l,productType:"reimbursement"})]})},zt=i.div`
107
107
  display: flex;
108
108
  min-height: 100%;
109
109
  flex-direction: column;
@@ -1 +1 @@
1
- import{V as f,cn as V,co as M,cp as W,k6 as q,aW as z,F as G}from"./index-BxCf7Wvz.js";import{a as b}from"./sentry-RNV3Di4s.js";import{Ge as K}from"./zeni-epic-state-BSaicoAp.js";import{u as Q}from"./ReviewOverlay-vmoQ2B3U-U5POiYSb.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./mui-BH8m6kGU.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.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]="b4b3b3d4-6d44-4e32-8c4a-0f9fab1972fd",e._sentryDebugIdIdentifier="sentry-dbid-b4b3b3d4-6d44-4e32-8c4a-0f9fab1972fd")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=G.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:y,currentSubTab:g}=e,v=!1,[x,l]=b.useState(!1),[d,_]=b.useState(P(e,v,o)),[h,R]=b.useState(v),[B,H]=b.useState(0),[w,A]=b.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});b.useEffect(()=>(B===d.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&_(P(e,!1,o)),()=>{clearInterval(j)}),[d.length,B,h,e.fetchState,v,e,o]);const D=d.length,S=d.filter(m=>m.reviewStatus.code!=="error").length,F=()=>{const{title:m,description:C}=X(S);A({type:"reject",title:m,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,y,g),l(!0)},E={onOkClick:m=>{l(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,y,g,K(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",m)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=Z(p,S,D,h),T=e.fetchState==="Completed"&&S===0,U=()=>{i.trackReimbursementBulkSubmit(t,y,g),u(t)},N=()=>{let m=a.footer.approve;return T?m=a.texts.close:t==="send_for_approval"&&(m=a.footer.submit),{label:m,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:U,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},O={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:F,style:t==="approve"?{minWidth:"92px"}:{}};return f.jsxs(f.Fragment,{children:[x?f.jsx(V,{titleComponent:f.jsx(W,{children:w.title}),descriptionComponent:f.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,f.jsx(Q,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&S===0},reviewItems:d,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:N(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=q(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:z("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},X=e=>{const{this_:o,these:i,report:u,reports:r,payment:n,payments:p}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",u)}},Z=(e,o,i,u)=>{const{has:r,have:n,report:p,reports:c,are:t,is:y,do_:g,does:v}=a.texts,x=o>1,l=i>1;let d="",_="";return e==="Completed"&&!u?(d=s.reviewPage.reportsReviewed.title.replace("__report__",l?k.bulkActions.reports:s.report).replace("<_has_>",l?n:r),o===0?_=s.reviewPage.reportsReviewed.descriptionError.replace("__report__",l?c:p).replace("<_do_>",l?g:v):_=`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",x?t:y)}`):(d=s.reviewPage.reportsReviewing.title.replace("__report__",l?c:p),_=s.reviewPage.reportsReviewing.description.replace("__report__",l?c:p)),{title:d,description:_}};export{ce as default};
1
+ import{V as b,cn as V,co as M,cp as W,k6 as q,aW as z,F as G}from"./index-CLqQIFvx.js";import{a as f}from"./sentry-Cue4MgLi.js";import{Ge as K}from"./zeni-epic-state-DcWK4mxP.js";import{u as Q}from"./ReviewOverlay-tGj059Ib-BvRNdoTH.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./mui-Co4rhSdf.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.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]="c7b80e46-0cfd-416c-bb52-4d99bd15ce9d",e._sentryDebugIdIdentifier="sentry-dbid-c7b80e46-0cfd-416c-bb52-4d99bd15ce9d")}catch{}})();const{common:a,spendManagement:{reimbursement:k}}=G.getLocalizedStrings(),s=k.bulkActions;let j;const ce=({remisReviewView:e,isAdmin:o,analytics:i,onProceedForBulkActionClick:u,onCloseReviewItem:r,onCloseOverlay:n})=>{const{fetchState:p,bulkSubmissionFetchState:c,bulkOperationTypeSelected:t,currentTab:y,currentSubTab:g}=e,v=!1,[x,l]=f.useState(!1),[d,_]=f.useState(P(e,v,o)),[h,R]=f.useState(v),[B,H]=f.useState(0),[w,A]=f.useState({type:"",title:"",description:"",primaryButtonText:"",secondaryButtonText:""});f.useEffect(()=>(B===d.length&&h&&(R(!1),clearInterval(j)),e.fetchState==="Completed"&&_(P(e,!1,o)),()=>{clearInterval(j)}),[d.length,B,h,e.fetchState,v,e,o]);const D=d.length,S=d.filter(m=>m.reviewStatus.code!=="error").length,F=()=>{const{title:m,description:C}=X(S);A({type:"reject",title:m,description:C,primaryButtonText:a.texts.confirm,secondaryButtonText:a.texts.close}),i.trackReimbursementBulkSubmit(t,y,g),l(!0)},E={onOkClick:m=>{l(!1);const C=e.remisForReview.map(I=>I.reimbursement);i.trackReimbursementBulkPopupConfirm(t,y,g,K(C.map(I=>I?.reimbursementTypesIncluded??[]))),u("reject",m)},onCancelClick:()=>{l(!1)}},{title:$,description:L}=Z(p,S,D,h),T=e.fetchState==="Completed"&&S===0,U=()=>{i.trackReimbursementBulkSubmit(t,y,g),u(t)},N=()=>{let m=a.footer.approve;return T?m=a.texts.close:t==="send_for_approval"&&(m=a.footer.submit),{label:m,isDisabled:p!=="Completed"||t==="reject"&&c==="In-Progress",isLoading:c==="In-Progress"&&(t==="send_for_approval"||t==="approve"),onClick:T?n:U,style:t==="send_for_approval"?{minWidth:"92px"}:{}}},O={label:t==="send_for_approval"?a.texts.goBack:a.footer.reject,isDisabled:t!=="reject"&&c==="In-Progress",isLoading:t==="reject"&&c==="In-Progress",reverseSpinnerColor:!1,onClick:t==="send_for_approval"?n:F,style:t==="approve"?{minWidth:"92px"}:{}};return b.jsxs(b.Fragment,{children:[x?b.jsx(V,{titleComponent:b.jsx(W,{children:w.title}),descriptionComponent:b.jsx(M,{children:w.description}),primaryButtonText:w.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:w.secondaryButtonText,action:E,isNotesIncluded:!0,isEditPopup:!0}):null,b.jsx(Q,{title:$,description:{content:L,isError:e.fetchState==="Completed"&&S===0},reviewItems:d,onCloseReviewItem:r,onCloseOverlay:n,showFooter:e.fetchState==="Completed"&&!h,footerProps:{primaryButton:N(),cancelButton:O,hideCancel:T}})]})},P=(e,o,i)=>{const u=e.fetchState==="In-Progress";return e.remisForReview.map(r=>{const n=q(i,r.submittedBy);return{id:r.transactionId,leftSideText:{title:r.reimbursement?.reportTitle!=null?r.reimbursement.reportTitle:k.reimbursementDetail.newReimbursementTitle,subTitle:n!=null?`${a.by} ${n?.firstName} ${n?.lastName}`:a.strings.empty},rightSideText:{title:z("0,0.[00]",r.reimbursement?.amount?.amount,r.reimbursement?.amount?.currencySymbol),showThunderIcon:!1,subTitle:r.reviewInfoMessage??""},reviewStatus:{isLoading:u,code:r.reviewStatus??""}}})},X=e=>{const{this_:o,these:i,report:u,reports:r,payment:n,payments:p}=a.texts;return e>1?{title:s.popUps.reject.title.replace("__report__",s.reports),description:s.popUps.reject.description.replaceAll("<_this_>",i).replaceAll("<_payment_>",p).replaceAll("__report__",r)}:{title:s.popUps.reject.title.replace("__report__",s.report),description:s.popUps.reject.description.replaceAll("<_this_>",o).replaceAll("<_payment_>",n).replaceAll("__report__",u)}},Z=(e,o,i,u)=>{const{has:r,have:n,report:p,reports:c,are:t,is:y,do_:g,does:v}=a.texts,x=o>1,l=i>1;let d="",_="";return e==="Completed"&&!u?(d=s.reviewPage.reportsReviewed.title.replace("__report__",l?k.bulkActions.reports:s.report).replace("<_has_>",l?n:r),o===0?_=s.reviewPage.reportsReviewed.descriptionError.replace("__report__",l?c:p).replace("<_do_>",l?g:v):_=`${o}/${i} ${s.reviewPage.reportsReviewed.description.replace("__report__",i>1?c:p).replace("<_is_>",x?t:y)}`):(d=s.reviewPage.reportsReviewing.title.replace("__report__",l?c:p),_=s.reviewPage.reportsReviewing.description.replace("__report__",l?c:p)),{title:d,description:_}};export{ce as default};
@@ -1,6 +1,6 @@
1
- import{d as h,V as r,aK as a,b1 as f,F as y,aN as m,aQ as l,bC as g,ah as u,o as c,b2 as w}from"./index-BxCf7Wvz.js";import{n as d}from"./mui-BH8m6kGU.js";import{a as s}from"./sentry-RNV3Di4s.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]="513ae06a-7fb0-431b-a347-5e96e0dd906e",e._sentryDebugIdIdentifier="sentry-dbid-513ae06a-7fb0-431b-a347-5e96e0dd906e")}catch{}})();function b({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${n-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${n-48}`,height:"228"})]})}function p({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const x=d(l)`
1
+ import{d as l,V as r,aK as a,b1 as x,F as y,aN as m,aQ as h,bC as g,ai as f,o as c,b2 as b}from"./index-CLqQIFvx.js";import{n as d}from"./mui-Co4rhSdf.js";import{a as s}from"./sentry-Cue4MgLi.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]="abcbfcc8-e8b5-453d-8f47-21f2802d0004",e._sentryDebugIdIdentifier="sentry-dbid-abcbfcc8-e8b5-453d-8f47-21f2802d0004")}catch{}})();function w({backgroundColor:e,foregroundColor:o,animated:t,width:n,height:i}){return r.jsxs(g,{speed:2,width:n,height:i,viewBox:`0 0 ${n} ${i}`,animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"64",y:"0",rx:"4",ry:"4",width:`${n-128}`,height:"21"}),r.jsx("rect",{x:"24",y:"45",rx:"4",ry:"4",width:`${n-48}`,height:"228"})]})}function p({backgroundColor:e,foregroundColor:o,animated:t}){return r.jsxs(g,{speed:2,width:240,height:98,viewBox:"0 0 240 98",animate:t!=!1,backgroundColor:e,foregroundColor:o,children:[r.jsx("rect",{x:"66",y:"0",rx:"4",ry:"4",width:"108",height:"21"}),r.jsx("rect",{x:"44",y:"77",rx:"4",ry:"4",width:"152",height:"21"}),r.jsx("rect",{x:"0",y:"29",rx:"4",ry:"4",width:"240",height:"40"})]})}const u=d(h)`
2
2
  justify-content: flex-start;
3
- `;function D({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=h();return r.jsx(a,{dimension:e,children:r.jsx(x,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(w,{children:({height:n,width:i})=>r.jsx(b,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const j=e=>s.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),s.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),C=d(l)`
3
+ `;function D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o})})})}function T({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(u,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(b,{children:({height:n,width:i})=>r.jsx(w,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const j=e=>s.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),s.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M34.5307 44.8163C32.6902 44.8163 30.8909 44.2705 29.3605 43.248C27.8301 42.2254 26.6374 40.772 25.933 39.0715C25.2286 37.3711 25.0443 35.4999 25.4034 33.6947C25.7625 31.8895 26.6488 30.2313 27.9503 28.9298C29.2518 27.6283 30.91 26.742 32.7152 26.3829C34.5204 26.0238 36.3916 26.2081 38.092 26.9125C39.7925 27.6169 41.2459 28.8096 42.2685 30.34C43.291 31.8704 43.8369 33.6697 43.8369 35.5102V36.9737",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),C=d(h)`
4
4
  justify-content: space-between;
5
5
  `,k=d.div`
6
6
  height: ${c.sp10};
@@ -19,8 +19,8 @@ import{d as h,V as r,aK as a,b1 as f,F as y,aN as m,aQ as l,bC as g,ah as u,o as
19
19
  color: ${e=>e.theme.colors.primary};
20
20
  }
21
21
  }
22
- `,$=d(u)`
22
+ `,$=d(f)`
23
23
  color: ${e=>e.theme.colors.champion};
24
- `,v=d(u)`
24
+ `,v=d(f)`
25
25
  color: ${e=>e.theme.colors.hero};
26
- `,B=d(j)``;function V({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":m("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(C,{children:[r.jsxs($,{children:[n??f(o)," "]}),r.jsx(k,{children:r.jsx(B,{})}),r.jsx(v,{children:y.getLocalizedStrings().card.failedText})]})})}export{V as A,D as E,T as z};
26
+ `,B=d(j)``;function V({dimension:e,cardType:o,cardIndex:t,reportTitle:n,onReloadData:i}){return r.jsx(a,{"data-testid":m("dashboard-reload",o),dimension:e,onClick:()=>i(t,o),children:r.jsxs(C,{children:[r.jsxs($,{children:[n??x(o)," "]}),r.jsx(k,{children:r.jsx(B,{})}),r.jsx(v,{children:y.getLocalizedStrings().card.failedText})]})})}export{V as A,D as E,T as z};
@@ -1,4 +1,4 @@
1
- import{d as ee,q as de,cb as xe,a9 as ye,V as o,ao as _e,cc as te,ac as we,y as D,aP as $e,o as n,F as oe,cd as ve,ce as ke,cf as Ce,cg as je,ch as Ie,am as he,ci as Se,ah as Ne,aB as X,bC as De,c as f,aT as Pe,al as Oe,au as Fe}from"./index-BxCf7Wvz.js";import{a as u,S as ue}from"./sentry-RNV3Di4s.js";import{n as d}from"./mui-BH8m6kGU.js";import{R as P,I as Be}from"./CollapsableReportTable-B0N8Ybey-lucDiVV7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="baef23ca-8fa9-4838-a231-474210096b05",e._sentryDebugIdIdentifier="sentry-dbid-baef23ca-8fa9-4838-a231-474210096b05")}catch{}})();const V=oe.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Te=e=>({this_period:{start_date:e.thisPeriod.startDate.format(V),end_date:e.thisPeriod.endDate.format(V)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Ae=e=>e!=null?{start_date:e.startDate.format(V),end_date:e.endDate.format(V)}:void 0;function Ee(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,include_cover_page:e.includeCoverPage,company_name:e.companyName,statement_file_type:e.statementFileType,statements:e.statements,first_month_of_fy:e.firstMonthOfFY,book_close_date:e.bookCloseDate!=null?e.bookCloseDate.format(V):void 0,timeframe:e.timeframe,additional_balances:e.additionalBalances,format:e.format,balances_filter:Te(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Ae(e.dataAvailable),is_zeni_coa_used:e.isZeniCOAUsed}}async function ho(e,r,a){const t=oe.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(Ee(a)))}`;try{const h=await ve({urlEndPoint:l,authParams:r,fileType:a.statementFileType});if(h.ok){const y=ke(h.headers,t.defaultFileName),_=await h.arrayBuffer();Ce(_,y)}else console.error(`${t.reportErrorMessage} ${h.statusText}`)}catch(h){console.error(`${t.reportErrorMessage} ${JSON.stringify(h)}`)}}const Le=d.div`
1
+ import{d as ee,q as de,cb as xe,a9 as ye,V as o,ao as _e,cc as te,ac as we,y as D,aP as $e,o as n,F as oe,cd as ve,ce as ke,cf as Ce,cg as je,ch as Ie,am as he,ci as Se,ai as Ne,aB as X,bC as De,c as f,aT as Pe,al as Oe,au as Fe}from"./index-CLqQIFvx.js";import{a as u,S as ue}from"./sentry-Cue4MgLi.js";import{n as d}from"./mui-Co4rhSdf.js";import{R as P,I as Be}from"./CollapsableReportTable-CRaZZnGr-DHalWth7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="d39deea1-a5aa-4f70-be21-875aa0e14ed6",e._sentryDebugIdIdentifier="sentry-dbid-d39deea1-a5aa-4f70-be21-875aa0e14ed6")}catch{}})();const V=oe.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Te=e=>({this_period:{start_date:e.thisPeriod.startDate.format(V),end_date:e.thisPeriod.endDate.format(V)},number_of_periods:e.numberOfPeriods,order_by:e.orderBy}),Ae=e=>e!=null?{start_date:e.startDate.format(V),end_date:e.endDate.format(V)}:void 0;function Ee(e){return{locale_id:e.localeId,show_negative_amount_in_parenthesis:e.showNegativeAmountInParenthesis,filter_accounts_with_nil_balances:e.filterAccountsWithNilBalances,filter_account_groups_with_nil_balances:e.filterAccountGroupsWithNilBalances,include_cover_page:e.includeCoverPage,company_name:e.companyName,statement_file_type:e.statementFileType,statements:e.statements,first_month_of_fy:e.firstMonthOfFY,book_close_date:e.bookCloseDate!=null?e.bookCloseDate.format(V):void 0,timeframe:e.timeframe,additional_balances:e.additionalBalances,format:e.format,balances_filter:Te(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Ae(e.dataAvailable),is_zeni_coa_used:e.isZeniCOAUsed}}async function ho(e,r,a){const t=oe.getLocalizedStrings().downloadReport,l=`${e}?query=${encodeURIComponent(JSON.stringify(Ee(a)))}`;try{const h=await ve({urlEndPoint:l,authParams:r,fileType:a.statementFileType});if(h.ok){const y=ke(h.headers,t.defaultFileName),_=await h.arrayBuffer();Ce(_,y)}else console.error(`${t.reportErrorMessage} ${h.statusText}`)}catch(h){console.error(`${t.reportErrorMessage} ${JSON.stringify(h)}`)}}const Le=d.div`
2
2
  padding: 0 ${n.sp3} 0 ${n.sp3};
3
3
  border: 1px solid ${e=>e.theme.colors.primary};
4
4
  background: ${e=>e.theme.colors.grey5};
@@ -1,9 +1,9 @@
1
- import{q as W,d as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o as w,aR as we,k as ye,y as B,bN as Ce,c as S,H as A,aB as X,G as xe,aT as Oe,at as Re,bJ as Ae}from"./index-BxCf7Wvz.js";import{a as T,S as K}from"./sentry-RNV3Di4s.js";import{n as _}from"./mui-BH8m6kGU.js";import{bg as Z,EN as Be,EW as ve,EX as E,EY as Le,EZ as Te,E_ as Pe,E$ as Ne,F0 as ke,F1 as ee,F2 as te}from"./zeni-epic-state-BSaicoAp.js";import{m as z,l as q}from"./analyticsHelper-BgGQcED5-DKVZbHBv.js";import{x as Ie}from"./ReportTableViewSelector-kzIQLZ5u-BhME63dM.js";import{a as se,p as Fe}from"./TimeRangeSwitcher-8DihGZnj-Cf-1grC_.js";import{M as Me}from"./TimeframeSwitcherWithToggle-V2cHhGoQ-CE78-HgD.js";import{DownloadOverlayButton as Ee}from"./DownloadOverlay-a0IFrzRd-D3xHdLjr.js";import{I as $e,R as F,x as ne}from"./CollapsableReportTable-B0N8Ybey-lucDiVV7.js";import{D as oe,T as ae,C as $,L as je,g as ie}from"./mapSectionWithAcOnlyToTreeNode-KPnNJcR6-BNt8WVWD.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-DKbBYyC9-BJ1iRUxh.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BeGSkZpM-C-b_T2TM.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-COOEc1T9-xGax8DFV.js";import"./liveblocks-CGDIIAIj.js";import"./core-d8TJZx_K.js";import"./recharts-DuImoJah.js";import"./lottie-LB826b2R.js";import"./analytics-DWna4COD.js";import"./lexical-C6LLNKxw.js";import"./utils-BXiVsZbS.js";import"./TimeframeSwitcher-Dy5hbFn4-nqznt7nk.js";import"./page-detail-CWX5S47F-DEwJ4YhF.js";import"./AccountRow-B3ULDo0k-C-jIzuWE.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]="72d2ca35-d3a0-46d4-8ef6-c87c3030a01e",e._sentryDebugIdIdentifier="sentry-dbid-72d2ca35-d3a0-46d4-8ef6-c87c3030a01e")}catch{}})();function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ie({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function le({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Le(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Te(s)===!0&&i.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Ye({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function He(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Pe(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else Ne(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):ke(s)===!0&&i.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function Ze(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Ve({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=De[s];const C=ze({title:`${h}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=Y({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(je({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push($({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function qe(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push($({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const J={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Je=_.div`
1
+ import{q as W,d as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o as w,aR as we,k as ye,y as B,bN as Ce,c as S,H as A,aB as X,G as xe,aT as Oe,at as Re,bJ as Ae}from"./index-CLqQIFvx.js";import{a as T,S as K}from"./sentry-Cue4MgLi.js";import{n as _}from"./mui-Co4rhSdf.js";import{bg as Z,EN as Be,EW as ve,EX as E,EY as Le,EZ as Te,E_ as Pe,E$ as Ne,F0 as ke,F1 as ee,F2 as te}from"./zeni-epic-state-DcWK4mxP.js";import{m as z,l as q}from"./analyticsHelper-C_CHYSrd-D1gtzETx.js";import{x as Ie}from"./ReportTableViewSelector-D1k2eDtE-DWKTaUmF.js";import{a as se,p as Fe}from"./TimeRangeSwitcher-CIhE-4dW-CNYy5JM_.js";import{M as Me}from"./TimeframeSwitcherWithToggle-BKRmBPLL-D7T-iUSK.js";import{DownloadOverlayButton as Ee}from"./DownloadOverlay-Nc_Ra7Co-DN1ubFHO.js";import{I as $e,R as F,x as ne}from"./CollapsableReportTable-CRaZZnGr-DHalWth7.js";import{D as oe,T as ae,C as $,L as je,g as ie}from"./mapSectionWithAcOnlyToTreeNode-6D3s6K5H-Bt6Ormba.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-BwoNhSxI-9FFTEIt6.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-tLFl9PXK-2yg-AGqh.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-BNip5yf2-B8eJRUmh.js";import"./liveblocks-DZksneMc.js";import"./core-CYa2vsSD.js";import"./recharts-C4PW-81v.js";import"./lottie-EtzJiaFi.js";import"./analytics-CxT-6Gc4.js";import"./lexical-DzVC4tTe.js";import"./utils-CxOjlxtI.js";import"./TimeframeSwitcher-YlXclGGy-Dzk_QBMX.js";import"./page-detail-CWX5S47F-DzQ9yNth.js";import"./AccountRow-Bq6uJ1hA-Vc9-Z3M-.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]="8bffa30a-30a9-445c-b339-77891ec86acf",e._sentryDebugIdIdentifier="sentry-dbid-8bffa30a-30a9-445c-b339-77891ec86acf")}catch{}})();function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,f)=>ie({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:f===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:f===i.length-1}]}}));return l.children.push(...u),l}function re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function le({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),f={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(f),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Le(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Te(s)===!0&&i.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Ye({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function He(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),f={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(f),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Pe(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else Ne(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):ke(s)===!0&&i.push($({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function Ze(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Ve({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,f)=>{const s=f%4;let c=De[s];const C=ze({title:`${f}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=Y({balances:u,config:t}),f=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(je({section:c,sectionType:s,numOfBalances:f,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push($({calculatedSection:c,numOfBalances:f,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function qe(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push($({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const J={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Je=_.div`
2
2
  height: ${e=>e.height}px;
3
3
  width: 99.9%;
4
4
  margin-top: ${w.sp2};
5
5
  background-color: ${e=>e.theme.colors.grey4};
6
- `;function Qe({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const h=W(),s=G(),[c,C]=T.useState(void 0),[x,j]=T.useState(void 0),v=!(h==="small"||h==="medium-compact"),V="name+balances_actual",M=u===!0?"this_period_vs_period_before":"none",O=()=>{let m=[];switch(e.reportId){case"profit_and_loss":{const f=e;m=(f.sections.expenses.balances.length>0?f.sections.expenses:f.sections.income).additionalBalances.map(D=>E(D));break}case"profit_and_loss_by_classes":{const f=e,D=(f.sections.expenses?.balances?.length??0)>0?f.sections.expenses:null,fe=(f.sections.income?.balances?.length??0)>0?f.sections.income:null,H=D??fe;H?.additionalBalances!=null&&(m=H.additionalBalances.map(me=>E(me)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(f=>E(f));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(f=>E(f));break}}return m.length>0&&m.find(f=>f.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};T.useEffect(()=>{const m={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:M,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:o,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:Ae(),showClassAccountNumber:n};if(c==null||!X(x,e)||g===!0){const f=Xe(e,m,v,g);j(e),C(f)}else{const f=We(c,m,e,v);C(f)}},[u,e,g]);const[R,k]=T.useState(5),I=m=>{const f=m+135;k(f)},he=m=>m?.trackPageLoaded(Ke(e));return c!=null?r.jsxs(r.Fragment,{children:[r.jsx(xe,{analytics:a,onLoad:he}),r.jsx(Je,{height:R,children:r.jsx($e,{backgroundColor:new Oe(s.colors.grey4),rootNodes:c,type:V,compareMode:O(),isSticky:{isStickyHeader:v,isStickyName:v},treeNodePadding:{left:J.contentPaddingLeft.value(h),right:J.contentPaddingRight.value(h)},onAccountClick:p==null?void 0:(m,f)=>{p(m,f)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:m=>d?.(m==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(m,f)=>i?.(e.reportId,m,f),onReportTableHeightChanged:I,onScroll:m=>l?.(e.reportId,m)})})]}):null}const Xe=(e,t,o=!0,a=!1)=>{switch(e.reportId){case"profit_and_loss":return qe(e,t,o);case"profit_and_loss_by_classes":return Ze(e,t,o,a);case"cash_flow":return He(e,t,o);case"balance_sheet":return Ge(e,t,o);default:return}},Ke=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},et=_.div`
6
+ `;function Qe({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const f=W(),s=G(),[c,C]=T.useState(void 0),[x,j]=T.useState(void 0),v=!(f==="small"||f==="medium-compact"),V="name+balances_actual",M=u===!0?"this_period_vs_period_before":"none",O=()=>{let m=[];switch(e.reportId){case"profit_and_loss":{const h=e;m=(h.sections.expenses.balances.length>0?h.sections.expenses:h.sections.income).additionalBalances.map(D=>E(D));break}case"profit_and_loss_by_classes":{const h=e,D=(h.sections.expenses?.balances?.length??0)>0?h.sections.expenses:null,he=(h.sections.income?.balances?.length??0)>0?h.sections.income:null,H=D??he;H?.additionalBalances!=null&&(m=H.additionalBalances.map(me=>E(me)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(h=>E(h));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(h=>E(h));break}}return m.length>0&&m.find(h=>h.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};T.useEffect(()=>{const m={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:M,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:o,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:Ae(),showClassAccountNumber:n};if(c==null||!X(x,e)||g===!0){const h=Xe(e,m,v,g);j(e),C(h)}else{const h=We(c,m,e,v);C(h)}},[u,e,g]);const[R,k]=T.useState(5),I=m=>{const h=m+135;k(h)},fe=m=>m?.trackPageLoaded(Ke(e));return c!=null?r.jsxs(r.Fragment,{children:[r.jsx(xe,{analytics:a,onLoad:fe}),r.jsx(Je,{height:R,children:r.jsx($e,{backgroundColor:new Oe(s.colors.grey4),rootNodes:c,type:V,compareMode:O(),isSticky:{isStickyHeader:v,isStickyName:v},treeNodePadding:{left:J.contentPaddingLeft.value(f),right:J.contentPaddingRight.value(f)},onAccountClick:p==null?void 0:(m,h)=>{p(m,h)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:m=>d?.(m==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(m,h)=>i?.(e.reportId,m,h),onReportTableHeightChanged:I,onScroll:m=>l?.(e.reportId,m)})})]}):null}const Xe=(e,t,o=!0,a=!1)=>{switch(e.reportId){case"profit_and_loss":return qe(e,t,o);case"profit_and_loss_by_classes":return Ze(e,t,o,a);case"cash_flow":return He(e,t,o);case"balance_sheet":return Ge(e,t,o);default:return}},Ke=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},et=_.div`
7
7
  display: flex;
8
8
  flex-direction: row;
9
9
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
@@ -73,14 +73,14 @@ import{q as W,d as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o
73
73
  position: absolute;
74
74
  margin-top: ${e=>e.windowSize==="small"?"230px":"195px"};
75
75
  background-color: ${e=>e.theme.colors.grey4};
76
- `,ht=_.div`
76
+ `,ft=_.div`
77
77
  display: flex;
78
78
  width: 100%;
79
79
  height: calc(100% - 60px);
80
80
  flex-direction: column;
81
81
  justify-content: center;
82
82
  align-items: center;
83
- `,ft=_.div`
83
+ `,ht=_.div`
84
84
  height: 96px;
85
85
  width: 96px;
86
86
  background: ${e=>e.theme.colors.background};
@@ -98,7 +98,7 @@ import{q as W,d as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o
98
98
  `,mt=_(we)`
99
99
  margin-top: ${w.sp3};
100
100
  color: ${e=>e.theme.colors.hero};
101
- `,pe=({style:e,isLoading:t})=>t?r.jsx(pt,{style:e,children:r.jsx(ye,{size:"ExtraLarge",start:!0})}):null,b=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},U=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=rt.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function Jt(e){const t=W(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(O,R)=>{O!==h?.accountViewMode&&a?.(O),R&&n?.(R)};T.useEffect(()=>{if(e.fetchState==="Completed"){const O=b(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(O,e.isCompareMode,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const h=bt(e),s=y.getLocalizedStrings().reports.common,c=ge(),C=c!=null&&Z(c.loggedInUserRole)?"detailed":"more_detailed",x=c!=null&&Z(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&h?.accountViewMode==="account_group"&&x.push("detailed");const[j,v]=K.useState(x.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:j,disabledFormatForRole:x,roleBasedClassesSelectedFormat:C,setSelectedFormat:v};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(ht,{"data-testid":P("report-page-error-reload-page"),children:[r.jsx(ft,{"data-testid":P("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(_e,{})}),r.jsx(mt,{children:s.failed})]});const M=e.fetchState;if(i.fetchState!=="Completed"&&(M==="In-Progress"||M==="Not-Started"))return r.jsx(pe,{isLoading:!0});{const O=r.jsx(be,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:h!=null&&e.dataAvailable!=null?r.jsx(Ee,{defaultOptions:h,analytics:e.analytics,referrer:L(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:g,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(R,k,I)=>{d(l,R,k,I)},onTimeframeSelectionChanged:(R,k,I)=>{p?.(R,k,I)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(lt,{children:[r.jsx(Se,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:O,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(gt,{...e})]})}}function gt(e){const t=W(),o=G(),a=T.useRef(null),{selectedReportAndTimeframeFetchState:n}=e,d=["month","quarter","year"],p=(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",L(e.selectedReport),z(e.selectedTimeframe),c);const C=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...b(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(x=>x!=="this_period_vs_last_period"):[...b(e).filter.additionalBalances,"this_period_vs_last_period"].filter(x=>x!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,C,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=b(e),u=a.current?.clientWidth??N.tickSkelectionContainerWidth.value(t),g=Be([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",h=n.fetchState==="In-Progress";return r.jsxs(dt,{windowSize:t,"data-testid":P("reports-page-content-container"),children:[r.jsx(yt,{windowSize:t,ref:a,children:r.jsx(Me,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),L(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,L(e.selectedReport),z(e.selectedTimeframe));const c=b(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(xt,{windowSize:t,children:r.jsx(Ot,{children:r.jsx(Ce,{width:u,height:se-S[2],backgroundColor:o.colors.grey3,style:{borderRadius:w.sp2}})})}):r.jsx(Ct,{windowSize:t,children:r.jsx(Fe,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=_t(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(Rt,{windowSize:t,children:r.jsx(at,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(St(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(pe,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:h}):r.jsxs(r.Fragment,{children:[r.jsx(ue,{report:b(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),ve(e.selectedReport)?r.jsx(ut,{windowSize:t,children:r.jsx(Ie,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const Q=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},_t=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function bt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=b(e).firstMonthOfFY,a=b(e).bookCloseDate,n=b(e).dataAvailable,d=b(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const L=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},St=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},ue=K.memo(Qe,(e,t)=>wt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));ue.displayName="Reports table";const wt=(e,t,o)=>o.reduce((a,n)=>a===!0&&X(e[`${n}`],t[`${n}`]),!0),yt=_.div`
101
+ `,pe=({style:e,isLoading:t})=>t?r.jsx(pt,{style:e,children:r.jsx(ye,{size:"ExtraLarge",start:!0})}):null,b=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},U=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=rt.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function Jt(e){const t=W(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(O,R)=>{O!==f?.accountViewMode&&a?.(O),R&&n?.(R)};T.useEffect(()=>{if(e.fetchState==="Completed"){const O=b(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(O,e.isCompareMode,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const f=bt(e),s=y.getLocalizedStrings().reports.common,c=ge(),C=c!=null&&Z(c.loggedInUserRole)?"detailed":"more_detailed",x=c!=null&&Z(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&f?.accountViewMode==="account_group"&&x.push("detailed");const[j,v]=K.useState(x.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:j,disabledFormatForRole:x,roleBasedClassesSelectedFormat:C,setSelectedFormat:v};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(ft,{"data-testid":P("report-page-error-reload-page"),children:[r.jsx(ht,{"data-testid":P("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(_e,{})}),r.jsx(mt,{children:s.failed})]});const M=e.fetchState;if(i.fetchState!=="Completed"&&(M==="In-Progress"||M==="Not-Started"))return r.jsx(pe,{isLoading:!0});{const O=r.jsx(be,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:f!=null&&e.dataAvailable!=null?r.jsx(Ee,{defaultOptions:f,analytics:e.analytics,referrer:L(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:g,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(R,k,I)=>{d(l,R,k,I)},onTimeframeSelectionChanged:(R,k,I)=>{p?.(R,k,I)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(lt,{children:[r.jsx(Se,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:O,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(gt,{...e})]})}}function gt(e){const t=W(),o=G(),a=T.useRef(null),{selectedReportAndTimeframeFetchState:n}=e,d=["month","quarter","year"],p=(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",L(e.selectedReport),z(e.selectedTimeframe),c);const C=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...b(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(x=>x!=="this_period_vs_last_period"):[...b(e).filter.additionalBalances,"this_period_vs_last_period"].filter(x=>x!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,C,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=b(e),u=a.current?.clientWidth??N.tickSkelectionContainerWidth.value(t),g=Be([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",f=n.fetchState==="In-Progress";return r.jsxs(dt,{windowSize:t,"data-testid":P("reports-page-content-container"),children:[r.jsx(yt,{windowSize:t,ref:a,children:r.jsx(Me,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),L(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,L(e.selectedReport),z(e.selectedTimeframe));const c=b(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(xt,{windowSize:t,children:r.jsx(Ot,{children:r.jsx(Ce,{width:u,height:se-S[2],backgroundColor:o.colors.grey3,style:{borderRadius:w.sp2}})})}):r.jsx(Ct,{windowSize:t,children:r.jsx(Fe,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=_t(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(Rt,{windowSize:t,children:r.jsx(at,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(St(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(pe,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:f}):r.jsxs(r.Fragment,{children:[r.jsx(ue,{report:b(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),ve(e.selectedReport)?r.jsx(ut,{windowSize:t,children:r.jsx(Ie,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const Q=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},_t=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function bt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=b(e).firstMonthOfFY,a=b(e).bookCloseDate,n=b(e).dataAvailable,d=b(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const L=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},St=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},ue=K.memo(Qe,(e,t)=>wt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));ue.displayName="Reports table";const wt=(e,t,o)=>o.reduce((a,n)=>a===!0&&X(e[`${n}`],t[`${n}`]),!0),yt=_.div`
102
102
  padding-right: ${e=>N.contentRightPadding.valuePx(e.windowSize)};
103
103
  `,Ct=_.div`
104
104
  margin-top: ${w.sp3};
@@ -1,4 +1,4 @@
1
- import{d as A,V as a,F as D,q as de,b2 as Q,c as I,b as M,aW as J,o as m,aN as Ae,p as g,aB as Ve,y as xe,bK as ge,al as R,bL as V,b9 as F}from"./index-BxCf7Wvz.js";import{a as P,S as ee}from"./sentry-RNV3Di4s.js";import{n as x}from"./mui-BH8m6kGU.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-Cdx27b7W-BwAd9kGM.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-C__BVdeG-BfFHgnXd.js";import{V as Z}from"./toChartData-B0HFgnVy-BWQxPZy2.js";import{H as Te,I as te,X as le,Y as ne,J as se,L as pe,K as ce,M as me,N as fe}from"./recharts-DuImoJah.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="255838f4-c7a2-44e1-918a-760b5bd32f69",e._sentryDebugIdIdentifier="sentry-dbid-255838f4-c7a2-44e1-918a-760b5bd32f69")}catch{}})();const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(I[3],I[4])},Fe=x.div`
1
+ import{d as A,V as a,F as D,q as de,b2 as Q,c as I,b as M,aW as J,o as m,aN as Ae,p as g,aB as Ve,y as xe,bK as ge,al as R,bL as V,b9 as F}from"./index-CLqQIFvx.js";import{a as P,S as ee}from"./sentry-Cue4MgLi.js";import{n as x}from"./mui-Co4rhSdf.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-CfyGWP2E-zDFdatAv.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-B6AaIKKE-ZUVHY5cX.js";import{V as Z}from"./toChartData-DD8ISjzM-DQ9NjKIx.js";import{H as Te,I as te,X as le,Y as ne,J as se,L as pe,K as ce,M as me,N as fe}from"./recharts-C4PW-81v.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="2d8be8f2-43f0-4f5c-8b7a-e5b01c1be359",e._sentryDebugIdIdentifier="sentry-dbid-2d8be8f2-43f0-4f5c-8b7a-e5b01c1be359")}catch{}})();const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(I[3],I[4])},Fe=x.div`
2
2
  display: flex;
3
3
  `,He=x.div`
4
4
  margin: ${m.sp2} ${m.sp0} ${m.sp2} ${m.sp0};