@zeniai/web-cockpit-ui 1.15.7-qa → 1.15.8-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 (329) hide show
  1. package/dist/assets/ACHDetailsPage-C4kSZtcW-DXbi1tk_.js +21 -0
  2. package/dist/assets/{AIPerformancePage-XDCygRgj-bazvPjld.js → AIPerformancePage-nAXYlFHx-B-yNLxsI.js} +108 -108
  3. package/dist/assets/AccountInfoPage-BgYgT10O-CcaqKm0M.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-wjaeVokT-C5AG_-Y4.js → AccountInfoPageContent-C6fN_njt-BfclYIhc.js} +22 -22
  5. package/dist/assets/AccountLockedInfoModal-DRmaVRzS-BiL1l-3p.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-a2stjcsR-BkN6xApL.js → AccountReconDetailsDrawerPage-ChfImufh-Qmw1sJds.js} +52 -52
  7. package/dist/assets/{AccountRow-DlccmtgU-C-w5dWss.js → AccountRow-C0plHrDu-BlMGnWxc.js} +32 -32
  8. package/dist/assets/{AccountsPromoCardStack-BE0vjkiK-CiwoACHR.js → AccountsPromoCardStack-BCRuoijH-D0HIkJsh.js} +32 -32
  9. package/dist/assets/AddAddressForCardDrawer-BOX_B6jm-BbCABLHY.js +6 -0
  10. package/dist/assets/{AddToWalletPage-6OCJaNcg-Dq5I4Hk6.js → AddToWalletPage-CKPw3FXG-D61c3n-w.js} +25 -25
  11. package/dist/assets/{AgingReportsPage-hgg1L3pv-BqEr1m1D.js → AgingReportsPage-BLYXtrbx-DW-1ybPL.js} +17 -17
  12. package/dist/assets/{AllUserItems-BmNtc-69-DvRnddR8.js → AllUserItems-CIuKSRs--B0618Ye4.js} +14 -14
  13. package/dist/assets/ApAgingDetailPage-DeqICFKW-a9KWHhRJ.js +46 -0
  14. package/dist/assets/AppBasePage-zQkWIZIS-COyO76Q-.js +71 -0
  15. package/dist/assets/AppDrawerContent-OIrm7j-k-Dut49GGC.js +91 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-Df5F_wnw-CP1luL-w.js +47 -0
  17. package/dist/assets/{ArAgingChart-CeaYIqlX-Ca3jC1zb.js → ArAgingChart-Dv9GPrlk-1IjLiFwv.js} +7 -7
  18. package/dist/assets/ArAgingDetailPage-vW-JcTgF-Cy7lc6dB.js +46 -0
  19. package/dist/assets/{AttachmentView-BsNhULL3-gsW6g8SL.js → AttachmentView-CHgDKLit-BOkUOxft.js} +7 -7
  20. package/dist/assets/{BankAccountSection-ZWR_hXjD-CgxlXo0x.js → BankAccountSection-danXlJW--Ci61_HQI.js} +8 -8
  21. package/dist/assets/{BankAccountWarningSection-C-2eE9pL-ucJNqY4n.js → BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-CjbaVbou-DEnaNBhh.js → BankConnectionsSettingsPage-D4iHZXiy-B50Jr36L.js} +14 -14
  23. package/dist/assets/{BillDetailPage-B_zbQLLp-DNFzkA--.js → BillDetailPage-BD2IX-iP-C1AsdsRK.js} +12 -12
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CtJLn_JO-TVM-mtyG.js → BillPayApprovalRuleDetailPage-DYbGnWVc-B9dRHLuy.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-vvgGBmoM-DdObKGUs.js → BillPayApprovalRulesPage-BW2wEvAf-BP_2ZRbS.js} +8 -8
  26. package/dist/assets/BillPayPromoPage-C7PX-EVL-RrQTQk3r.js +84 -0
  27. package/dist/assets/{BillPaySetUpPage-m15SlV0c-Ce-KrDgA.js → BillPaySetUpPage-Czno3Zre-B54xXO94.js} +2 -2
  28. package/dist/assets/BillingSettingsPage-DwBAvbyP-BA7TOSu8.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-YBZ0Qqa6-BvssydGl.js +1 -0
  30. package/dist/assets/{BoxItem-Cmrt_yxF-DEJ8WZ3Y.js → BoxItem-CQn8-mlp-3WaKvXCN.js} +1 -1
  31. package/dist/assets/BusinessVerificationPage-Pj_43PYG-Bf2eq8Ab.js +138 -0
  32. package/dist/assets/{CardNumberSubText-B6Fprh6S--yVD-Bee.js → CardNumberSubText-2Tw37MOu-DLENhMmY.js} +9 -9
  33. package/dist/assets/{CashbackDetailPage-CWExYaIT-gCsfihki.js → CashbackDetailPage-BPGA9iT0-BE7Kx4cM.js} +32 -32
  34. package/dist/assets/{ChargeCardDetailPage-B3hr0WBI-9dqzYf3y.js → ChargeCardDetailPage-draAZn9S-DVIwh9R-.js} +74 -74
  35. package/dist/assets/{ChargeCardListPage-g9gCfpoh-BtXCc3BC.js → ChargeCardListPage-gsG1eX_i-Dapb8J_Z.js} +18 -18
  36. package/dist/assets/{ChargeCardListTable-BoDSmzn_-CXkARxuG.js → ChargeCardListTable-DVFpdT9f-BEElVTwC.js} +31 -31
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-xs346JMC--iYsoeUe.js → ChargeCardPaymentHistoryPage-BbggvUhU-DsH52CB6.js} +32 -32
  38. package/dist/assets/ChargeCardPromoPage-DIxy-YcS-Bpah01ZO.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-Ck37bWHj-CA4YDMXc.js +36 -0
  40. package/dist/assets/{ChargeCardStatementsPage-Da9NY51a-e0yUyde3.js → ChargeCardStatementsPage-4bExV6ox-DsvdoV21.js} +8 -8
  41. package/dist/assets/{CheckDepositDrawerPage-CcSRXOv7-DHGyjFH5.js → CheckDepositDrawerPage-cZ9nSw3H-CEFjqZ5t.js} +17 -17
  42. package/dist/assets/{CollapsableReportTable-D1b80h2R-BMHZ2IWN.js → CollapsableReportTable-D9EGRkFb-DwhLMO0b.js} +88 -88
  43. package/dist/assets/CompanyOfficerDetailsSection-C2j4TNi_-D3zewiNv.js +331 -0
  44. package/dist/assets/{CompanyPassportCard-vAocVa7X-D6X4ClK3.js → CompanyPassportCard--3g9aidd-CxwOeh5K.js} +9 -9
  45. package/dist/assets/CompanyPassportPage-BhF3zWN0-Cn2clYh0.js +417 -0
  46. package/dist/assets/{CompleteProfile-B-Hhosch-BP7RTj13.js → CompleteProfile-iee5HgiC-iD1IzEAE.js} +2 -2
  47. package/dist/assets/ConfettiBurst-Dl2Z6LKw-OEcvzGtj.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-Bgc7zC_D-BGbH6pul.js → CreateOrEditVendorPage-DTlxyMQ8-D1vsmSkA.js} +17 -17
  49. package/dist/assets/{CreditCardPaymentDrawerPage-Bs5RpFes-C8YxxZPe.js → CreditCardPaymentDrawerPage-CAZbzyFh-1lHa8wZR.js} +10 -10
  50. package/dist/assets/{CurrencySelectField-BC9QkDwI-DfI6ODzD.js → CurrencySelectField-CcU9PAOW-u3CiOTPH.js} +6 -6
  51. package/dist/assets/{CustomerOnboardingActivationPage-Br4RFzGo-DI6b-OYs.js → CustomerOnboardingActivationPage-dXGInCs4-_xQt3N4Y.js} +8 -8
  52. package/dist/assets/CustomerOnboardingContainerPage-CtySgp6R-CAM0wcfl.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DLKJINnV-DGcctm88.js → CustomerOnboardingDetailPageSkeleton-eZtb_MiZ-oykMYoxJ.js} +17 -17
  54. package/dist/assets/CustomerOnboardingNoStepsPage-BprU0lwT-FU4__G2R.js +66 -0
  55. package/dist/assets/CustomerOnboardingPage-CP969grW-CLGTaPd5.js +107 -0
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-Dx3FU6Fe-C2ncOquj.js → CustomerOnboardingProductSuitePage-C-oDFj9a-By3_gtmn.js} +11 -11
  57. package/dist/assets/{Dashboard-EWWj1Uby-Dg6BU04Z.js → Dashboard-CKSEolZn-B8UGwGX2.js} +513 -472
  58. package/dist/assets/{DashboardReportPage-D4kzdnvI-BbhybSGk.js → DashboardReportPage-JLORU_HF-JuRm0_l-.js} +22 -22
  59. package/dist/assets/DashboardSidebarBackgroundAnimation-BhNP2YDK-RRWjqzmy.js +12 -0
  60. package/dist/assets/{DepositAccTransactionItem-xvCtIj9v-sZYB8bjn.js → DepositAccTransactionItem-B3A_2ZTg-BGji2vDD.js} +4 -4
  61. package/dist/assets/DepositAccTransactionListPage-S0zh1Xel-D4E89wzd.js +66 -0
  62. package/dist/assets/DomesticWireDetailsPage-DqVaQ5WI-CEmGU0Lk.js +21 -0
  63. package/dist/assets/{DownloadOverlay-wlAXZwF0-JiJizrHx.js → DownloadOverlay-D7AI3CGS-DY9OdGrk.js} +20 -20
  64. package/dist/assets/{DrawerPage-DroW95LB-BGP0nAjD.js → DrawerPage-BiQurb8Q-CEeTnVDp.js} +18 -18
  65. package/dist/assets/EditPeoplePage-DkLTV485-DyUGQQC3.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-BgcII79s-tmNQZoW9.js → EditReimbursementDetailPage-CoBKUQzs-DPjSJBny.js} +47 -47
  67. package/dist/assets/EntityDetailPage-ougFUO1M-BRBPuzyF.js +18 -0
  68. package/dist/assets/{EntitySummarySection-D6HekhK7-sx3TyeLI.js → EntitySummarySection-dbyZ3ZMD-WaXS93t5.js} +7 -7
  69. package/dist/assets/{ExpenseAutomationOverviewPage-VN-P6f2z-DKRfiCP-.js → ExpenseAutomationOverviewPage-WTK5jHbV-RX7MJN4K.js} +31 -31
  70. package/dist/assets/{ExpenseAutomationPage-CvnkIuMf-cEeQ3hKP.js → ExpenseAutomationPage-BLk7BdAz-BiJ_8J_A.js} +47 -47
  71. package/dist/assets/{ExpressPayPage-C_yRTeDh-CPvItmoy.js → ExpressPayPage-CaBFl4M3-N5saqSFG.js} +16 -16
  72. package/dist/assets/{FeaturePreviewPage-BLRhajFn-BXnjngQa.js → FeaturePreviewPage-BY7VDaUB-C72FE9k5.js} +3 -3
  73. package/dist/assets/{FollowStepsSection-DhiGIylh-szXLMCmb.js → FollowStepsSection-BGZ3rzSO-DAxx1unm.js} +47 -47
  74. package/dist/assets/{GlobalReviewListPage-Tg986b2s-BzLFqxLt.js → GlobalReviewListPage-DIiVT0qf-DgTvaNXq.js} +16 -16
  75. package/dist/assets/{InformationCardStack-3Lmn6LJr-CXjZGiMk.js → InformationCardStack-BZIU9Bwm-DWOE8xSt.js} +4 -4
  76. package/dist/assets/{InsightsCardStack-Dc6OL9Od-Dt4Qr58R.js → InsightsCardStack-BZ6yws_x-DiUvTias.js} +11 -11
  77. package/dist/assets/InsightsSection-CdlmvyOs-DmXLU_Lu.js +27 -0
  78. package/dist/assets/{IntegrationsSettingsPage-DACHBlEm-Cf4NvQHE.js → IntegrationsSettingsPage-JQ0sBJ-E-Dbn9Coz2.js} +11 -11
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-BaqSqvWh-C9W2lkTr.js → InternationalWireSwiftDetailsPage-Bt0SYfe8-BOhQnyuJ.js} +29 -29
  80. package/dist/assets/InternationalWireVerificationPage-ZiPvLcjo-TFRIwP9z.js +65 -0
  81. package/dist/assets/{InviteFormPage-CXcHy9Sz-CIXArq1q.js → InviteFormPage-C-_fbwpS-DFnpH_Sg.js} +36 -36
  82. package/dist/assets/{InvitePageListView-tu82Q2y6-yF7udmBD.js → InvitePageListView-DX3LFpcZ-wgARDxxe.js} +65 -65
  83. package/dist/assets/InvitePeoplePage-DOfw4ntH-CNo6v_nK.js +12 -0
  84. package/dist/assets/InvoiceUploadSection-7NLq2wUY-qezR9Z74.js +140 -0
  85. package/dist/assets/{IssueChargeCardPage-DuqGEs5b-BSyP11HH.js → IssueChargeCardPage-BSax9G6t-Ccz8TXME.js} +32 -32
  86. package/dist/assets/{LabeledAddressValue-D0Gu5Mgp-CuKFb_Fb.js → LabeledAddressValue-kz4tRnLH-XbapS3ut.js} +2 -2
  87. package/dist/assets/{LabeledAddressValueField-DPisU2iY-CBp9buEB.js → LabeledAddressValueField-D950JjHi-B7-ZxMwG.js} +4 -4
  88. package/dist/assets/LabeledControlledCheckBoxField-BxXnpjp--Dg3HIXbL.js +16 -0
  89. package/dist/assets/LabeledCountryMultiSelectField-CzFImFhW-CGgJ4k83.js +237 -0
  90. package/dist/assets/{LabeledCreatableSingleSelectField-DLVxVffe-CoUjV52P.js → LabeledCreatableSingleSelectField-gJu9uvr7-DQ2Nsagb.js} +11 -7
  91. package/dist/assets/LabeledDocumentField-y5kqHnHe-CmBeTY2E.js +41 -0
  92. package/dist/assets/LabeledDropDownFormattedTextField-Vg6A9BxH-DOIAkkAy.js +59 -0
  93. package/dist/assets/LabeledMultiSelectField-CIuHS55z-0cjXFx_d.js +223 -0
  94. package/dist/assets/{LabeledText-C4GeOHM8-DuQryGxi.js → LabeledText-D0g7m29R-CGPY2mDY.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-gwRpED7x-CVkvRF0D.js → LabeledUserSingleSelectWithSubtitlesField-DzIW_6we-BycaRLEY.js} +22 -22
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Bj8qcvuK-1Ux9cfjz.js → LabeledZeniRolesDropDownField-LWb3m6uz-DqLmiKb-.js} +21 -21
  97. package/dist/assets/{LinkJETransactionPage-CdWWV_7u-lA2Ieks4.js → LinkJETransactionPage-DQUYzOEN-Dr7MZbKQ.js} +10 -10
  98. package/dist/assets/{LockCardPage-BTxCWQ6_-DvcF37D5.js → LockCardPage-XgZwsozn-B7KEhFgG.js} +58 -58
  99. package/dist/assets/{LowBalancePopup-Dt9KCWOU-CGhklhMm.js → LowBalancePopup-ChBTdcM2-CwIZnZTi.js} +6 -6
  100. package/dist/assets/MagicLinkACHDetailsPage-CwTDkcTO-CNPrJSVK.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-ncokQaY5-NW6YIUza.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-BHRkSlI7-DhjhQlqA.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-D45Lu2cc-CkiWTtDQ.js → MagicLinkSuccessPage-D9asRaYX-BLWFhDtP.js} +4 -4
  104. package/dist/assets/{MagicLinkTitleSection-BdiSVi0V-6L4P8c-X.js → MagicLinkTitleSection-CI_X5_g6-DmElUYen.js} +4 -4
  105. package/dist/assets/MailingDetailsSection-C_ZYNZtm-CsF-OIaa.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CN9EKlOy-BfyXOjUL.js → MyBankConnectionsSettingsPage-Bo5DQnsA-KlDGNzcW.js} +10 -10
  107. package/dist/assets/MyPendingActivationChargeCardListPage-yE_BAGUU-CF-N63jy.js +6 -0
  108. package/dist/assets/MyProfileSettingsPage-BHZrydBY-CouLcv-w.js +85 -0
  109. package/dist/assets/NavBarWithPicker-DfM5Vi5g-B5Y2cvHv.js +30 -0
  110. package/dist/assets/{NavigationArrow-B9ZEhJdg-DZLA8bvx.js → NavigationArrow-BuPVGh38-C7FStd2H.js} +5 -5
  111. package/dist/assets/{NavigationDots-C_N16I15-BceewdOj.js → NavigationDots-CLd0nZZT-DkTweDHl.js} +3 -3
  112. package/dist/assets/{NewGlobalMerchantPage-DICWFjCu-A-SqvVYe.js → NewGlobalMerchantPage-B4X5B9Kx-DIjUgsWq.js} +14 -14
  113. package/dist/assets/{NoDataChart-CCCkzfa4-jwMBvFUj.js → NoDataChart-VrW0gNeK-CoKQWY6y.js} +2 -2
  114. package/dist/assets/{NoDataTable-DVW_simO-Z05X7jnZ.js → NoDataTable-CZaHTbXi-BvRSGEWZ.js} +1 -1
  115. package/dist/assets/{NotFoundPage-BHrUY910-T_gZYULO.js → NotFoundPage-CvuhMeh3-DzAU1c1V.js} +6 -6
  116. package/dist/assets/{NotificationSettingsPage-alUKfWWf-EsM7IXgf.js → NotificationSettingsPage-612cyOPa-BDov0Or2.js} +21 -21
  117. package/dist/assets/NotificationsListConfig-CrNHxW9v-0zuPtBoA.js +1 -0
  118. package/dist/assets/{NotificationsPage-BjhHCUzl-BorCyhwg.js → NotificationsPage-DOq8YY_K-B5AJl0PR.js} +47 -47
  119. package/dist/assets/{OpExByVendorPage-h_QozoZk-Y_VYI0CL.js → OpExByVendorPage-JhAQyVWO-CgqLDeMB.js} +8 -8
  120. package/dist/assets/{OverlayContainerPage-Daz3A7cI-DjM5NmlL.js → OverlayContainerPage-CEiw6dk7-DNyrAeAy.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-DdiEIHC--CTPJUly8.js → PandLWithForecastPage-B8WG6VDM-B7n_PAXf.js} +11 -11
  122. package/dist/assets/PaymentAccountSetupBillingAddressSection-BT4jtUDt-BicenMSK.js +107 -0
  123. package/dist/assets/{PeoplePage-BaOppi8Y-DEWrglnT.js → PeoplePage-BJui-Wgk-Blym3c87.js} +32 -32
  124. package/dist/assets/{Preview-sW0kMVUo.js → Preview-CWOI4w-4.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-E65X4lGB-DWS-Tkhs.js → ProductsCarousel-CGhEa82h-Bt-P-vzg.js} +9 -9
  126. package/dist/assets/{PromoBaseCards-O66NGGWD-Ccv3Jja-.js → PromoBaseCards-1PF_kyGP-DnK5w4Qj.js} +8 -8
  127. package/dist/assets/{QBOConnectionDialog-BrMv7xjB-C34rkJLz.js → QBOConnectionDialog-BVpU5kvg-BwCSP0e9.js} +8 -8
  128. package/dist/assets/QBOSetupSection-QpfgbXqT-DZhl1eaB.js +79 -0
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DJNl2oqj-DeyzK8lw.js → ReimbursementApprovalRuleDetailPage-CcH6vHDZ-1I93dA7B.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-tnc2z3Es-DOwbo35O.js → ReimbursementApprovalRulesPage-C22bGg4Y-DujacG7V.js} +27 -27
  131. package/dist/assets/ReimbursementDetailPage-BntmMmsa-BON1Pgl-.js +314 -0
  132. package/dist/assets/ReimbursementPromoPage--ddzF7ri-CzikH3CP.js +84 -0
  133. package/dist/assets/{ReimbursementSetUpPage-2VrhpV75-a2dhwHIc.js → ReimbursementSetUpPage-B_Mkgwzu-K4BhhXOp.js} +13 -13
  134. package/dist/assets/ReimbursementsBulkReviewDrawerPage-XRdWaRhQ-CM2OmWD1.js +1 -0
  135. package/dist/assets/{ReloadCard-BakyoznA-CA9nzANX.js → ReloadCard-crbWeOPP-CkioU763.js} +5 -5
  136. package/dist/assets/{ReportTableViewSelector-C7w_WVnY-CLbunAZc.js → ReportTableViewSelector-KXoOW677-Cxk4-6kw.js} +8 -8
  137. package/dist/assets/{ReportsPage-BeZqGQ2i-Btosfa-g.js → ReportsPage-C3Jj54B2-CJg2yyXf.js} +11 -11
  138. package/dist/assets/{RevenueChart-BcRkSSWz-BKO407XR.js → RevenueChart-B2lwdex1-DM-m44Ax.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-CA5CBeB7-C4U0XjzD.js → ReviewDetailsPage-BzJuymlx-B43bDwEk.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-DNjbv6Ir-Dh-G1Cuh.js → ReviewOverlay-CXHcM5J8-Z1A7mqWB.js} +13 -13
  141. package/dist/assets/{RoleWithToolTip-CSoHoT3u-B21TJ6ju.js → RoleWithToolTip-q4rQTPKj-BeUt86oC.js} +4 -4
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CLjpednn-DT-uxt3L.js → ScheduleDetailsFixedAssetsPage-BDxnIjkN-CrAKUlFE.js} +13 -13
  143. package/dist/assets/{ScheduleDetailsPage-MEVdw-l_-CtTG8f0e.js → ScheduleDetailsPage-C0WZjjTg-DX2t9Wrq.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-BGx2un0o-C_QwBSSA.js → ScheduleSequenceTable-MEIZsagy-bHxXvqLR.js} +20 -20
  145. package/dist/assets/{ScreenRoutes-B-Tig-dz.js → ScreenRoutes-BGG-33kI.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Blriup16-C3aJ_ixb.js → SetUpAccountSection-Drp97o6h-xxM8m8_w.js} +11 -11
  147. package/dist/assets/{SignIn-DqVQU08d-MEtRCmlD.js → SignIn-YqQXhCUb-BOeW8x0h.js} +26 -26
  148. package/dist/assets/SignInScreen-D-bsy2_u.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-Cd88asmE-CkOyrLvB.js → SpendManagementListViewPage-SufQOT9Y-5mvmwHQW.js} +14 -14
  150. package/dist/assets/{SpendManagementPerTabPage-DyPyPQjh-BvYsoQ15.js → SpendManagementPerTabPage-vkAKQl3f-CYCCZ3rU.js} +62 -62
  151. package/dist/assets/{SpendManagementSection-C5fvFmdh-Bn0fZjWl.js → SpendManagementSection-WqBeexgm-D6ZHNQRi.js} +23 -23
  152. package/dist/assets/StatementItem-DNtPyOiC-mibD54OH.js +31 -0
  153. package/dist/assets/StatementsPage-ProqQbaP-BB4Fbh50.js +58 -0
  154. package/dist/assets/{StatusSwitcher-BS4h8SJh-D0u7zV5y.js → StatusSwitcher-CWQs9lpu-RXB7-04g.js} +2 -2
  155. package/dist/assets/{SubTabSwitcher-vsehXtEO-DrAXmACq.js → SubTabSwitcher-B2uBojsp-DZNkw8WS.js} +3 -3
  156. package/dist/assets/SummaryCard-Dcd_VUph-BV3h5iTx.js +1 -0
  157. package/dist/assets/{TaskManagementPage-DlzHdHSu-BhXes2IE.js → TaskManagementPage-BM9VR6Lt-C4YfHc_A.js} +48 -48
  158. package/dist/assets/{TimeRangeSwitcher-CFZq5KoG-DVRsZPST.js → TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js} +12 -12
  159. package/dist/assets/{TimeframeSwitcher-Bb7JwirM-aH9WWmWy.js → TimeframeSwitcher--oC4RNb6-CvfDTC-U.js} +6 -6
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BXIevpvE-B9ruDiH-.js → TimeframeSwitcherWithToggle-CaOGQOMX-D3Vo1Cjd.js} +1 -1
  161. package/dist/assets/{TopExCard-BQIHsi_z-m7y5kutK.js → TopExCard-DQ50kCvS-_2HPPX6t.js} +6 -6
  162. package/dist/assets/{TopExDetailPage-BYCn9hZ2-ApVTj9Vd.js → TopExDetailPage-iwv1KNmn-sj6nj5zr.js} +18 -18
  163. package/dist/assets/{TransactionDetailPage-BMYeFZH7-Doa2Pq6X.js → TransactionDetailPage-dcUFs9xb-CrNRbBcr.js} +32 -32
  164. package/dist/assets/{TransactionList-BMfwxUes-DEHNXJ_w.js → TransactionList-1g-61_2b-CWHQyly8.js} +14 -14
  165. package/dist/assets/{TransactionListBig-CSjliLzH-BlhJcsod.js → TransactionListBig-CSrLWjaV-BtYTXkmc.js} +17 -17
  166. package/dist/assets/TransactionListPage-CKkWpoxH-CDqG5M4K.js +35 -0
  167. package/dist/assets/TransactionVendorDetailPage-BdVFxZdL-Dwyqb3QB.js +80 -0
  168. package/dist/assets/{TransferDrawerPage-4lrBrmvC-CMNGzy3T.js → TransferDrawerPage-nyepeege-Tib1D3Ko.js} +35 -35
  169. package/dist/assets/{TreasuryOverviewPage-DNUrwQ-l-ia-jTHnQ.js → TreasuryOverviewPage-CkaOtstB-DJ6jh11f.js} +50 -50
  170. package/dist/assets/{TreasuryPromoPage-CjjmLEyR-nrnRjAi8.js → TreasuryPromoPage-B55rqmLO-BovduQF3.js} +16 -16
  171. package/dist/assets/{TreasuryStatementsPage-CGax-FVg-8vTbW-_F.js → TreasuryStatementsPage-DA72LRB2-COfX6A9q.js} +7 -7
  172. package/dist/assets/{TreasuryTaxLetterPage-DapKFecA-DXgs0ATM.js → TreasuryTaxLetterPage-CQ2nQIPi-CBS_UC-D.js} +6 -6
  173. package/dist/assets/{TrendChart-t_2mlnuR-CERqesit.js → TrendChart-BsSVNJm5-CngvRWQH.js} +3 -3
  174. package/dist/assets/{TrendWithTransactions-BjQX1uvO-DenLKRO1.js → TrendWithTransactions-B6iLzpiJ-BNwLmu5S.js} +9 -9
  175. package/dist/assets/{UncategorizedAccountsMappingPage-C9DJ4P_n-Ro3FVDaB.js → UncategorizedAccountsMappingPage-p3mhxO3d-hTb-4Xip.js} +11 -11
  176. package/dist/assets/{UnitIntegrationPage-CzfmBBVs-BopvpHyA.js → UnitIntegrationPage-CEtqPMTy-BFsuhTVj.js} +11 -11
  177. package/dist/assets/UploadAdditionalDocumentOverlay-BYrAIUiK-zdW8Yium.js +38 -0
  178. package/dist/assets/{Vendor2FAPopup-Jhuzv3Fs-tUzA32lC.js → Vendor2FAPopup-BPoFrkoj-DQVyS_En.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-_UmamDKx-3__MSdLg.js +1 -0
  180. package/dist/assets/{VendorDetailPage-D_ia0GnG-B49M2ZP7.js → VendorDetailPage-C0qX459r-CReufchw.js} +24 -24
  181. package/dist/assets/VendorDomesticWireDetailsPage-DJCb_XK0-CqOHNcHl.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-6mV7WBuT-BWmRczAy.js → VendorFiling1099EditablePage-Da667Gu2-1r_mMv0x.js} +14 -14
  183. package/dist/assets/{VendorFirstReviewPage-BIh28s7e-ColL0iSX.js → VendorFirstReviewPage-CJ-NKRm1-_2DgNT9J.js} +49 -49
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CXmAXDcB-DSmfTY7c.js → VendorInternationalWireDetailsPage-DodDB5wc-DbWBFoxR.js} +14 -14
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-ain3pHSa-EKqJyej-.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-kJAKmxCN-CWJp4NJ-.js → VendorsAccountsSection-C5cJ9KYV-CyL_wlEF.js} +2 -2
  187. package/dist/assets/{VerifyDevice-Cclxcvod-D20OHgjv.js → VerifyDevice-B23jU0_c-B85D_w3i.js} +16 -16
  188. package/dist/assets/{VideoPlayer-B0jJK498-CGA824ir.js → VideoPlayer-CylTUX4X-BEZtED7z.js} +2 -2
  189. package/dist/assets/{VideoPopup-BUq4CaWy-DimJ3JCD.js → VideoPopup-C9x0ntQ5-C94oLuE1.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-B7Pmv7_n-kXfVaSXC.js → WarningsDrawerPage-DrjxA1t_-DrM3KM-2.js} +8 -8
  191. package/dist/assets/{ZeniAccountDetailPage-l5IuVidF-CW_GL18E.js → ZeniAccountDetailPage-B7aCx_qz-DMRHevfC.js} +34 -34
  192. package/dist/assets/{ZeniAccountListViewPage-CtOCukoi-CYfD8pTw.js → ZeniAccountListViewPage-C2AHdlrD-DmjpZpES.js} +15 -15
  193. package/dist/assets/ZeniAccountNavBarPieces-AwdFLryC-S89TIuvH.js +14 -0
  194. package/dist/assets/{ZeniAccountPromoPage-DhuZowvX-CVk5B-kr.js → ZeniAccountPromoPage-c0ITsnMc-BxSMGlkl.js} +19 -19
  195. package/dist/assets/ZeniAccountSetupPage-BE975QGg-DFrCRSD2.js +36 -0
  196. package/dist/assets/{ZeniCopyright-CxIm7c5S--2kE3ceg.js → ZeniCopyright-eB9rNuZ3-BNyg83Vo.js} +1 -1
  197. package/dist/assets/ZeniTransferAmountSlider-CMYjwzsb--Afhr34i.js +63 -0
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-2_ZqEJN8.js → add-to-wallet-DgdBD8_G-DHrWYIzW.js} +1 -1
  199. package/dist/assets/{analytics-BBRM4OiD.js → analytics-g5EpLRud.js} +1 -1
  200. package/dist/assets/{analyticsHelper-BXN2EdPH-CuwfHCAO.js → analyticsHelper-CLY1vV_E-BemgqSJF.js} +1 -1
  201. package/dist/assets/analyticsHelper-D-tLilsz.js +1 -0
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DR4719pa.js → arrow-south-east-round-PEovUgvH-Clrgdbmr.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-Ci6J7Ip0.js → auto-transfer-rule-mbafm5D3-DfhOF4oT.js} +1 -1
  204. package/dist/assets/{chartTypes-qqLvT6t1-7O4vNfmq.js → chartTypes-BjaXr-A2-DXtLo4Yx.js} +1 -1
  205. package/dist/assets/{commonDimensions-CDU138wy-DgQLDeKn.js → commonDimensions-C0X17W9N-BSrHO4N_.js} +1 -1
  206. package/dist/assets/commonTypes-BN7Uh_8W-pfbkHgmN.js +1 -0
  207. package/dist/assets/{constants-BmT2TL-e.js → constants-BnWgOytJ.js} +1 -1
  208. package/dist/assets/{core-Do2fm07V.js → core-hVMF2uNa.js} +1 -1
  209. package/dist/assets/{dash.all.min-D2uGWKCW.js → dash.all.min-DDFTHNwM.js} +1 -1
  210. package/dist/assets/{detailCommon-DP02lgW9-vucebEDD.js → detailCommon-D9PsnkY1-BuBcpPrC.js} +9 -9
  211. package/dist/assets/downloadPdf-DE7Hd8jE-DAbFGRh1.js +1 -0
  212. package/dist/assets/{empty-CG4BtfpL.js → empty-B0DaVBWz.js} +1 -1
  213. package/dist/assets/{empty-BIlH-46e.js → empty-BNJPHWFv.js} +1 -1
  214. package/dist/assets/epic-BVJNtCg8.js +2 -0
  215. package/dist/assets/{gift-box-Cmt9OgIZ-BdsqEOj4.js → gift-box-Cmt9OgIZ-CLwRJG71.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DF0OrKm5.js → graphic-no-data-l-DU4J8fDt-C7rs195d.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CM78Nc1Q.js → graphic-no-data-net-burn-l-CzmycA0m-BeL6_aGQ.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BspZ_I_6.js → handshake-BPg58FML-BW29_pZa.js} +1 -1
  219. package/dist/assets/{index-CR39DFew.js → index-6pOBrRlk.js} +1 -1
  220. package/dist/assets/{index-Cp1ulRx2.js → index-B3faO1JB.js} +1 -1
  221. package/dist/assets/{index-pMF5YQ_m.js → index-BAImUaY2.js} +1 -1
  222. package/dist/assets/{index-DQZa93pl.js → index-CRNmezJu.js} +5847 -5643
  223. package/dist/assets/{index-DFlS_heD.js → index-C_w5gZ8Z.js} +1 -1
  224. package/dist/assets/{index-C2f4G0t2.js → index-lOJEokPl.js} +1 -1
  225. package/dist/assets/{index-Bswxpdzz.js → index-rCukSMbs.js} +1 -1
  226. package/dist/assets/{lexical-DSAIO3Yn.js → lexical-DYQnWL1V.js} +1 -1
  227. package/dist/assets/{liveblocks-5qJQL8gF.js → liveblocks-BKvkleJ3.js} +1 -1
  228. package/dist/assets/{lottie--QmfecC7.js → lottie-N_bekW9H.js} +1 -1
  229. package/dist/assets/mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js +1 -0
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DLeyrCPV-BTjehxZr.js → mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-B6R5EAwN.js} +1 -1
  231. package/dist/assets/{mapSpacerToTreeNode-Bl4MSBc9-BHj6uU7U.js → mapSpacerToTreeNode-hZvWCXjA-CuA0QfzK.js} +1 -1
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CHvIKq5Y-CV_qZTRk.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-D4r2BVXx-DnEFsarG.js +1 -0
  234. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js +1 -0
  235. package/dist/assets/{mui-CmeRX-VQ.js → mui-mhzAEcDs.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-CPWyYVtN.js → page-detail-CWX5S47F-C7t8NOxn.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-D7Q2flwX.js → radio-default-CiSgisfh-j32Y6uZn.js} +1 -1
  238. package/dist/assets/{react-DsqxiHdu.js → react-3qVVe610.js} +1 -1
  239. package/dist/assets/{react-DrAOa_iQ.js → react-BcEP-SPV.js} +1 -1
  240. package/dist/assets/{react-DmYoNffX.js → react-CQNyoV6B.js} +1 -1
  241. package/dist/assets/{react-BKgEbN-_.js → react-CYwBg0du.js} +3 -3
  242. package/dist/assets/{react-DQ_PkCNg.js → react-DmkejrPd.js} +1 -1
  243. package/dist/assets/{react-DuQAyt3l.js → react-DtZ57b9E.js} +1 -1
  244. package/dist/assets/{react-BfxQP3vv.js → react-Dvjzsiej.js} +1 -1
  245. package/dist/assets/{react-CIctTSs3.js → react-d4G_qR0V.js} +1 -1
  246. package/dist/assets/{recharts-CJ6qqxTN.js → recharts-BErFcng5.js} +21 -21
  247. package/dist/assets/{sentry-BNP8a0zR.js → sentry-Dla7mstv.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-Cm4FIM1p.js → shield-DOlUxcFf-CJdp4Bi9.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js +1 -0
  250. package/dist/assets/toChartData-D5QdTlGa-DOsyIRYt.js +1 -0
  251. package/dist/assets/{uploadAttachment-DfTOIWsX-6t7i7104.js → uploadAttachment-BLADYUsp-BO1TVLxu.js} +24 -24
  252. package/dist/assets/{uploadReceipts-CPw64UYa-BcQPt3-r.js → uploadReceipts-CLN2DLHQ-CHihhpL-.js} +1 -1
  253. package/dist/assets/{url-VEY1UCYp.js → url-B3SdXouN.js} +1 -1
  254. package/dist/assets/{url-BTRZ5vkp.js → url-HFFKPU2S.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-BCAcXgBo.js → useLongPress-GCK2COYQ-km9xaFy6.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-DPIrzT0R.js → usp-line-BBd1wKwW-C5eOwLOD.js} +1 -1
  257. package/dist/assets/{utils-e2QIiaj6.js → utils-D6NmQd1Q.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-Dg9gbL0X.js → zeni-epic-state-CSmiPBaP.js} +17 -17
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/ACHDetailsPage-CGG2Hx4v-D7yIQCry.js +0 -21
  262. package/dist/assets/AccountInfoPage-CSf3J58F-Cl2GeY-g.js +0 -18
  263. package/dist/assets/AccountLockedInfoModal-DJnj--uc-koeXDtEf.js +0 -59
  264. package/dist/assets/AddAddressForCardDrawer-D3mMFgO8-BV3QuRmo.js +0 -6
  265. package/dist/assets/ApAgingDetailPage-DAZAnfcs-DWv5Yh4n.js +0 -46
  266. package/dist/assets/AppBasePage-D7_krMlm-BcE42pkQ.js +0 -71
  267. package/dist/assets/AppDrawerContent-DWL57wUk-CC44KEXc.js +0 -91
  268. package/dist/assets/ApprovalRulesSettingsPage-CiX2Xx3--BJ2NKaoh.js +0 -47
  269. package/dist/assets/ArAgingDetailPage-Is5kv2-P-DJnGHSYh.js +0 -46
  270. package/dist/assets/BillPayPromoPage-DkyMRquU-DTY8MM9Y.js +0 -84
  271. package/dist/assets/BillingSettingsPage-C4P_B31U-Cfs6pjmS.js +0 -44
  272. package/dist/assets/BillsBulkReviewDrawerPage-C_Nmv34F-BAM1q_aH.js +0 -1
  273. package/dist/assets/BusinessVerificationPage-Dr_YFkLN-Dgei6fS5.js +0 -138
  274. package/dist/assets/ChargeCardPromoPage-DwiDNiRF-BADKuNSc.js +0 -222
  275. package/dist/assets/ChargeCardSetupPage-Dbz_GdRL-DjaSn21P.js +0 -36
  276. package/dist/assets/CompanyOfficerDetailsSection-BMYQ8Qcq-BbAL-oK2.js +0 -260
  277. package/dist/assets/CompanyPassportPage-Dva5Le3j-D51_q_Y7.js +0 -574
  278. package/dist/assets/ConfettiBurst-BV8M1GTR-BVYnD-Q8.js +0 -1
  279. package/dist/assets/CustomerOnboardingContainerPage-BRs0LPZ0-C1_0JVsL.js +0 -1
  280. package/dist/assets/CustomerOnboardingNoStepsPage-CjvQ3PFZ-DtveQ7yB.js +0 -66
  281. package/dist/assets/CustomerOnboardingPage-3ECCqY1a-xqvBd5Qh.js +0 -107
  282. package/dist/assets/DashboardSidebarBackgroundAnimation-BSwRgXFk-BPePj2Wo.js +0 -12
  283. package/dist/assets/DepositAccTransactionListPage-B8UpFh_9-BP1udS96.js +0 -66
  284. package/dist/assets/DomesticWireDetailsPage-DF8bLeDL-D0xzJqsD.js +0 -21
  285. package/dist/assets/EditPeoplePage-CgUM9UYI-BAqH68yz.js +0 -55
  286. package/dist/assets/EntityDetailPage-ByHvXL2c-Beeyu-G8.js +0 -18
  287. package/dist/assets/InsightsSection-Drr3r1BL-C9c9bqpC.js +0 -27
  288. package/dist/assets/InternationalWireVerificationPage-Daxni4YY-JL0FId5s.js +0 -292
  289. package/dist/assets/InvitePeoplePage-Bbv2pjhR-CYOtKdsv.js +0 -12
  290. package/dist/assets/InvoiceUploadSection-CO34IhU8-JbGvXJ0T.js +0 -140
  291. package/dist/assets/LabeledControlledCheckBoxField-BKqCiNdy-CM22FFCx.js +0 -16
  292. package/dist/assets/LabeledDocumentField-DtOCNiEg-DXiIrThr.js +0 -41
  293. package/dist/assets/LabeledDropDownFormattedTextField-CsbwG9At-DIUamMH-.js +0 -59
  294. package/dist/assets/MagicLinkACHDetailsPage-C2z4VD4x-pn4oFles.js +0 -1
  295. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dxd73sj8-B71ZSyrD.js +0 -1
  296. package/dist/assets/MagicLinkInternationalWireDetailsPage-Ct-REVbS-Db2W2C2p.js +0 -1
  297. package/dist/assets/MailingDetailsSection-CjO5OVZN-Dz2JVYO4.js +0 -21
  298. package/dist/assets/Menu-C_kotivE-Ds4oTnIO.js +0 -17
  299. package/dist/assets/MyPendingActivationChargeCardListPage-rmpT6HFS-C1iVUySe.js +0 -6
  300. package/dist/assets/MyProfileSettingsPage-CTmDuFNJ-B8SISS7w.js +0 -85
  301. package/dist/assets/NavBarWithPicker-VzNJnXX3-BDjvvCEc.js +0 -30
  302. package/dist/assets/NotificationsListConfig-QOeX1KBS-D9NF4wUP.js +0 -1
  303. package/dist/assets/PaymentAccountSetupBillingAddressSection-CIlQ-MgM-CZR5voSo.js +0 -107
  304. package/dist/assets/QBOSetupSection-B5D4uUOv-MAL2gOfN.js +0 -79
  305. package/dist/assets/ReimbursementDetailPage-CO8Wv5-c-B2XEgJlN.js +0 -314
  306. package/dist/assets/ReimbursementPromoPage-04Cqe8zH-BF3bPMI0.js +0 -84
  307. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CEZlRH0_-MrMy8MR2.js +0 -1
  308. package/dist/assets/SignInScreen-D9nF3yiB.js +0 -1
  309. package/dist/assets/StatementItem-CBGi9f9C-Cr6QkeSJ.js +0 -31
  310. package/dist/assets/StatementsPage-De1wPDzS-B0PK-CHG.js +0 -58
  311. package/dist/assets/SummaryCard-gehzCCsW-Cjgj1j9L.js +0 -1
  312. package/dist/assets/TransactionListPage-C2Iz7CDJ-CkfLhDDt.js +0 -35
  313. package/dist/assets/TransactionVendorDetailPage-OXcpSTxA-DhwshIVT.js +0 -80
  314. package/dist/assets/UploadAdditionalDocumentOverlay-BJiBj5mg-B58eaKgn.js +0 -38
  315. package/dist/assets/VendorACHDetailsPage-BRmIiet8-B8gcWxAN.js +0 -1
  316. package/dist/assets/VendorDomesticWireDetailsPage-DTx8HL4V-4WFyiovr.js +0 -1
  317. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DITo3td6-B-spEVUY.js +0 -1
  318. package/dist/assets/ZeniAccountNavBarPieces-DHpWht7s-VBOXJCOm.js +0 -14
  319. package/dist/assets/ZeniAccountSetupPage-DXmdPnU2-DOblHg7I.js +0 -36
  320. package/dist/assets/ZeniTransferAmountSlider-7nRSeYbl-BQ73fGD1.js +0 -63
  321. package/dist/assets/analyticsHelper-xgNCzNxL.js +0 -1
  322. package/dist/assets/downloadPdf-Dl5UuOv_-DienLm7C.js +0 -1
  323. package/dist/assets/epic-BdBiMEYK.js +0 -2
  324. package/dist/assets/mapLoadingInProgressToTreeNode-DL4wGcX6-D3IuGgnr.js +0 -1
  325. package/dist/assets/mapTimeframeBalancesToTreeNode-BNP8a_pF-CPs7JdUi.js +0 -1
  326. package/dist/assets/mapTimeframeBalancesToTreeNode-Cx4O7W7V-DsHKM7xd.js +0 -1
  327. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-oOsdpevM.js +0 -1
  328. package/dist/assets/toCOABalancesWithID-BM2RMkm6-C8TFs9o9.js +0 -1
  329. package/dist/assets/toChartData-xURa2wgf-D2bH9o56.js +0 -1
@@ -1,6 +1,6 @@
1
- import{e 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 u,o as c,b2 as w}from"./index-DQZa93pl.js";import{n as s}from"./mui-CmeRX-VQ.js";import{a as d}from"./sentry-BNP8a0zR.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]="8a643595-d2ef-478e-ae37-ef6c11212759",e._sentryDebugIdIdentifier="sentry-dbid-8a643595-d2ef-478e-ae37-ef6c11212759")}catch{}})();function p({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 j({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 f=s(h)`
1
+ import{e as l,V as r,aN as a,b3 as f,O as y,aQ as m,aT as h,bE as g,ai as u,o as c,b4 as b}from"./index-CRNmezJu.js";import{n as s}from"./mui-mhzAEcDs.js";import{a as d}from"./sentry-Dla7mstv.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]="b6008cb3-f2c6-4e57-8143-03a3e62be831",e._sentryDebugIdIdentifier="sentry-dbid-b6008cb3-f2c6-4e57-8143-03a3e62be831")}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 x=s(h)`
2
2
  justify-content: flex-start;
3
- `;function D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(f,{children:r.jsx(j,{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(f,{children:r.jsx("div",{style:{width:"100%",height:"100%"},children:r.jsx(w,{children:({height:n,width:i})=>r.jsx(p,{backgroundColor:t.colors.grey3,foregroundColor:t.colors.grey4,animated:o,width:i,height:n})})})})})}const C=e=>d.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),d.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.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"})),b=s(h)`
3
+ `;function T({dimension:e,animated:o}){const t=l();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 D({dimension:e,animated:o}){const t=l();return r.jsx(a,{dimension:e,children:r.jsx(x,{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=>d.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("rect",{opacity:.2,width:72,height:72,rx:36,fill:"#97C3B9"}),d.createElement("path",{d:"M46.7755 32.5635L43.8368 36.9716L40.4082 33.0533",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.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=s(h)`
4
4
  justify-content: space-between;
5
5
  `,k=s.div`
6
6
  height: ${c.sp10};
@@ -19,8 +19,8 @@ import{e 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 u,o as
19
19
  color: ${e=>e.theme.colors.primary};
20
20
  }
21
21
  }
22
- `,$=s(u)`
23
- color: ${e=>e.theme.colors.champion};
24
22
  `,v=s(u)`
23
+ color: ${e=>e.theme.colors.champion};
24
+ `,$=s(u)`
25
25
  color: ${e=>e.theme.colors.hero};
26
- `,B=s(C)``;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(b,{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};
26
+ `,E=s(j)``;function Q({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(v,{children:[n??f(o)," "]}),r.jsx(k,{children:r.jsx(E,{})}),r.jsx($,{children:y.getLocalizedStrings().card.failedText})]})})}export{Q as A,T as E,D as z};
@@ -1,4 +1,4 @@
1
- import{e 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,d as f,aT as Pe,al as Oe,au as Fe}from"./index-DQZa93pl.js";import{a as u,S as ue}from"./sentry-BNP8a0zR.js";import{n as d}from"./mui-CmeRX-VQ.js";import{R as P,I as Be}from"./CollapsableReportTable-D1b80h2R-BMHZ2IWN.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]="95fe54fa-d6fc-4519-b0b3-95192751d62d",e._sentryDebugIdIdentifier="sentry-dbid-95fe54fa-d6fc-4519-b0b3-95192751d62d")}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{e as ee,J as de,cd as xe,a9 as ye,V as o,ao as _e,ce as te,ac as we,y as D,aS as $e,o as n,O as oe,cf as ve,cg as ke,ch as Ce,ci as je,cj as Ie,am as he,ck as Se,ai as Ne,aE as X,bE as De,c as f,aW as Oe,al as Pe,au as Ee}from"./index-CRNmezJu.js";import{a as u,S as ue}from"./sentry-Dla7mstv.js";import{n as d}from"./mui-mhzAEcDs.js";import{R as O,I as Fe}from"./CollapsableReportTable-D9EGRkFb-DwhLMO0b.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]="a4855c64-123a-4877-b8bc-51a891f7e9f0",e._sentryDebugIdIdentifier="sentry-dbid-a4855c64-123a-4877-b8bc-51a891f7e9f0")}catch{}})();const V=oe.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat,Be=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}),Te=e=>e!=null?{start_date:e.startDate.format(V),end_date:e.endDate.format(V)}:void 0;function Ae(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:Be(e.balancesFilter),account_view_mode:e.accountViewMode,classes_to_filter_out:e.classesToFilterOut,data_available:Te(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(Ae(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};
@@ -9,10 +9,10 @@ import{e 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
9
9
  position: relative;
10
10
  height: ${n.sp8};
11
11
  cursor: pointer;
12
- `,Me=d(Oe)`
12
+ `,Me=d(Pe)`
13
13
  color: ${e=>e.theme.colors.primary};
14
14
  margin-top: -2px;
15
- `,Re=d(Fe)`
15
+ `,Re=d(Ee)`
16
16
  color: ${e=>e.theme.colors.hero};
17
17
  width: 12px;
18
18
  height: 12px;
@@ -20,17 +20,17 @@ import{e 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
20
20
  :hover {
21
21
  color: ${e=>e.theme.colors.primary};
22
22
  }
23
- `,Ve=e=>{const{value:r,onClick:a}=e,t=ee();return o.jsxs(Le,{onClick:a,children:[o.jsx(Me,{style:{color:t.colors.primary},children:r}),o.jsx(Re,{})]})},ze=ue.memo(Ve);function Ye({backgroundColor:e,foregroundColor:r,animated:a,width:t,height:l}){return o.jsxs(De,{speed:2,width:t,height:l,viewBox:`0 0 ${t} ${l}`,animate:a!=!1,backgroundColor:e,foregroundColor:r,style:{marginBottom:n.sp2},children:[o.jsx("rect",{x:"45",y:f[3],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:f[8],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:f[4]})]})}function pe({nestedClass:e,isLastNode:r,config:a,parentNodeIDs:t}){const l=P("checkbox_and_name_only",[],e.classId[0]),h={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:a}};return h.children=e.children.map((y,_)=>pe({nestedClass:y,config:a,isLastNode:_===e.children.length-1,parentNodeIDs:[...t,l]})),h}function He(e,r){const a=e.map((t,l)=>{const h=P("checkbox_and_name_only",[],t.classId[0]),y={children:[],id:h,isLastNode:t.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:t.className,data:t,numOfBalances:0},config:r}},_=t.children.map(O=>pe({nestedClass:O,config:r,isLastNode:l===t.children.length-1,parentNodeIDs:[h]}));return y.children.push(..._),y});return{config:r,headerNodes:[],contentNodes:[...a]}}function We(e,r){Object.assign(e.config,r);const a=e.contentNodes;return a.forEach(t=>fe(t,r)),{config:r,headerNodes:[],contentNodes:[...a]}}function fe(e,r){Object.assign(e.reportElementData.config,r),e.children.forEach(a=>fe(a,r))}const se={contentPaddingLeft:new D(f[3],f[3],f[2]),contentPaddingRight:new D(f[3],f[3],f[2])},Ge=d.div`
23
+ `,Ve=e=>{const{value:r,onClick:a}=e,t=ee();return o.jsxs(Le,{onClick:a,children:[o.jsx(Me,{style:{color:t.colors.primary},children:r}),o.jsx(Re,{})]})},ze=ue.memo(Ve);function Ye({backgroundColor:e,foregroundColor:r,animated:a,width:t,height:l}){return o.jsxs(De,{speed:2,width:t,height:l,viewBox:`0 0 ${t} ${l}`,animate:a!=!1,backgroundColor:e,foregroundColor:r,style:{marginBottom:n.sp2},children:[o.jsx("rect",{x:"45",y:f[3],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:f[8],rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"96",rx:"5",ry:"5",width:"120",height:f[4]}),o.jsx("rect",{x:"45",y:"136",rx:"5",ry:"5",width:"120",height:f[4]})]})}function pe({nestedClass:e,isLastNode:r,config:a,parentNodeIDs:t}){const l=O("checkbox_and_name_only",[],e.classId[0]),h={children:[],id:l,isLastNode:r,reportElementData:{element:{kind:"checkbox_and_name_only",title:e.className,data:e,numOfBalances:0},config:a}};return h.children=e.children.map((y,_)=>pe({nestedClass:y,config:a,isLastNode:_===e.children.length-1,parentNodeIDs:[...t,l]})),h}function We(e,r){const a=e.map((t,l)=>{const h=O("checkbox_and_name_only",[],t.classId[0]),y={children:[],id:h,isLastNode:t.children.length!==0,reportElementData:{element:{kind:"checkbox_and_name_only",title:t.className,data:t,numOfBalances:0},config:r}},_=t.children.map(P=>pe({nestedClass:P,config:r,isLastNode:l===t.children.length-1,parentNodeIDs:[h]}));return y.children.push(..._),y});return{config:r,headerNodes:[],contentNodes:[...a]}}function He(e,r){Object.assign(e.config,r);const a=e.contentNodes;return a.forEach(t=>fe(t,r)),{config:r,headerNodes:[],contentNodes:[...a]}}function fe(e,r){Object.assign(e.reportElementData.config,r),e.children.forEach(a=>fe(a,r))}const se={contentPaddingLeft:new D(f[3],f[3],f[2]),contentPaddingRight:new D(f[3],f[3],f[2])},Ge=d.div`
24
24
  height: ${e=>e.height}px;
25
25
  width: 100%;
26
- `,qe=({reportId:e,firstMonthOfFY:r,nestedClassHierarchy:a,classesToBeFilteredOut:t,selectedView:l,showClassAccountNumber:h,scrollPosition:y,onScroll:_,nodeOpenStatus:O,onNodeCollapseToggled:U,onToggleCheck:F})=>{const z=ee(),Y=de(),[v,j]=u.useState(void 0),[E,w]=u.useState(!1),[L,B]=u.useState({}),[m,M]=u.useState(void 0),[T,k]=u.useState(l),H="none",A=c=>l==="account_group"?!0:t?.length>0?t.find(i=>i[0]===c[0])!=null:!1,I=(c,i)=>{w(!0),B(c),F?.(c,i,l==="account_group"?!0:void 0),$(c,i)},$=(c,i)=>{const g=W(c);for(const b of g.children)F?.(b.classId,i),$(b.classId,i)},W=c=>{let i=a.filter(g=>g.classId[0]===c[c.length-1])[0];for(let g=c.length-2;g>=0;g--)i=i.children.filter(b=>b.classId[0]===c[g])[0];return i},G=c=>{if(c.length>1){const i=W(c.slice(1));let g=!1;for(const b of i.children)if(t.find(q=>q[0]===b.classId[0])===void 0){g=!0;break}g===!0?F?.(i.classId,!0):F?.(i.classId,!1),B(i.classId)}};u.useEffect(()=>{E&&G(L)}),u.useEffect(()=>{const c={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:H,firstMonthOfFY:r,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:A,showClassAccountNumber:h};if(v==null||!X(m,a)||!X(T,l)||E===!0){const i=He(a,c);M(a),j(i),k(l)}else{const i=We(v,c);j(i),k(l)}},[a,l,t]);const[Z,J]=u.useState(5),K=c=>{const i=c+f[6];J(i)};return v!=null?o.jsx(Ge,{height:Z,children:o.jsx(Be,{backgroundColor:l==="classes"?new Pe(z.colors.background):void 0,rootNodes:v,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:se.contentPaddingLeft.value(Y),right:se.contentPaddingRight.value(Y)},scrollPosition:y,onScroll:_,nodeOpenStatus:O,onNodeCollapseToggled:U,onToggleCheck:I,onReportTableHeightChanged:K})}):null},C={width:new D(350,400,400),height:new D(165,165,165),buttonWidth:new D(62,62),buttonHeight:new D(f[5],f[5]),containerWidth:new D(150,400,400)},Ue=d.div`
26
+ `,qe=({reportId:e,firstMonthOfFY:r,nestedClassHierarchy:a,classesToBeFilteredOut:t,selectedView:l,showClassAccountNumber:h,scrollPosition:y,onScroll:_,nodeOpenStatus:P,onNodeCollapseToggled:U,onToggleCheck:E})=>{const z=ee(),Y=de(),[v,j]=u.useState(void 0),[A,w]=u.useState(!1),[L,F]=u.useState({}),[m,M]=u.useState(void 0),[B,k]=u.useState(l),W="none",T=c=>l==="account_group"?!0:t?.length>0?t.find(i=>i[0]===c[0])!=null:!1,I=(c,i)=>{w(!0),F(c),E?.(c,i,l==="account_group"?!0:void 0),$(c,i)},$=(c,i)=>{const g=H(c);for(const b of g.children)E?.(b.classId,i),$(b.classId,i)},H=c=>{let i=a.filter(g=>g.classId[0]===c[c.length-1])[0];for(let g=c.length-2;g>=0;g--)i=i.children.filter(b=>b.classId[0]===c[g])[0];return i},G=c=>{if(c.length>1){const i=H(c.slice(1));let g=!1;for(const b of i.children)if(t.find(q=>q[0]===b.classId[0])===void 0){g=!0;break}g===!0?E?.(i.classId,!0):E?.(i.classId,!1),F(i.classId)}};u.useEffect(()=>{A&&G(L)}),u.useEffect(()=>{const c={reportId:e,displayOrder:"ascending_date",reportFormat:"more_detailed",mode:W,firstMonthOfFY:r,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",showNegativeAmountInParenthesis:!1,isClassToBeFilteredOut:T,showClassAccountNumber:h};if(v==null||!X(m,a)||!X(B,l)||A===!0){const i=We(a,c);M(a),j(i),k(l)}else{const i=He(v,c);j(i),k(l)}},[a,l,t]);const[J,Z]=u.useState(5),K=c=>{const i=c+f[6];Z(i)};return v!=null?o.jsx(Ge,{height:J,children:o.jsx(Fe,{backgroundColor:l==="classes"?new Oe(z.colors.background):void 0,rootNodes:v,type:"name_only",compareMode:"compare_mode_amount",isSticky:{isStickyHeader:!1,isStickyName:!1},treeNodePadding:{left:se.contentPaddingLeft.value(Y),right:se.contentPaddingRight.value(Y)},scrollPosition:y,onScroll:_,nodeOpenStatus:P,onNodeCollapseToggled:U,onToggleCheck:I,onReportTableHeightChanged:K})}):null},C={width:new D(350,400,400),height:new D(165,165,165),buttonWidth:new D(62,62),buttonHeight:new D(f[5],f[5]),containerWidth:new D(150,400,400)},Ue=d.div`
27
27
  position: relative;
28
28
  pointer-events: ${e=>e.isDisabled===!0?"none":"initial"};
29
- `,Ze=d.div`
29
+ `,Je=d.div`
30
30
  display: flex;
31
31
  flex-direction: column;
32
32
  width: ${e=>C.containerWidth.valuePx(e.windowSize)};
33
- `,Je=d(je)`
33
+ `,Ze=d(je)`
34
34
  display: flex;
35
35
  flex-direction: row;
36
36
  width: fit-content;
@@ -147,4 +147,4 @@ import{e 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
147
147
  margin-left: ${n.sp5};
148
148
  margin-top: -12px;
149
149
  color: ${e=>e.theme.colors.hero};
150
- `,{reportViewSelector:N,common:{footer:le}}=oe.getLocalizedStrings(),ie="tableViewSelector",ce=e=>`${e}_form`;function uo({reportId:e,firstMonthOfFY:r,nodes:a,classesListFetchState:t,selectedView:l,classesToBeFilteredOut:h,showClassAccountNumber:y,onOpenAccountViewMode:_,onSaveClick:O,isClassViewDisabled:U,downloadPage:F,showAccountGroups:z=!0,onResyncReports:Y,isPageFetchInProgress:v=!1,lastRefreshSuccessTime:j}){const E=ee(),w=de(),[L,B]=u.useState(!1),[m,M]=u.useState(l),[T,k]=u.useState({}),H=(s,p)=>(s.forEach(x=>{p.push(x.classId),p=H(x.children,p)}),p),A=H(a,[]),[I,$]=u.useState(m==="classes"?h:A),W=t!=="Completed"||m==="classes"&&I.length===A.length,G=u.useRef(!1),[Z,J]=u.useState(!1),K=u.useRef(s=>{s&&!G.current&&(G.current=!0,J(!0))});xe({componentName:`reports.${e}`,enabled:Z});const c=s=>s==="classes"?N.classes.label:z===!0?N.accountGroups.label:N.accounts.label,i=ye({mode:"all"}),g=i.handleSubmit(()=>{B(!1),m==="classes"?O?.("classes",I):O?.("account_group")}),b=s=>{if(M(s),s==="classes")k({}),$([]);else{$(A);let p={};a.forEach(x=>{const S=P("checkbox_and_name_only",[],x.classId[0]);p=Object.assign({},p,{[S]:!1})}),k(p)}},q=()=>{L===!0&&Q(),B(!L);let s={};a.forEach(p=>{const x=P("checkbox_and_name_only",[],p.classId[0]);l==="account_group"||I.find(S=>S[0]===p.classId[0])!==void 0?s=Object.assign({},s,{[x]:!1}):s=Object.assign({},s,{[x]:!0})}),k(s)},me=(s,p,x)=>{if(x===!0&&(M("classes"),$(A)),p===!0){const S=P("checkbox_and_name_only",[],s[0]);T[S]=!0,k(T),$(R=>R.filter(be=>be[0]!==s[0]))}else{const S=P("checkbox_and_name_only",[],s[0]);T[S]=!1,I.find(R=>R[0]===s[0])===void 0&&$(R=>[...R,s])}},Q=()=>{B(!1),M(l),$(h)},ge=()=>{v===!1&&Y?.()};return u.useEffect(()=>{if(t==="Completed"&&m==="account_group"){let s={};a.forEach(p=>{const x=P("checkbox_and_name_only",[],p.classId[0]);s=Object.assign({},s,{[x]:!1})}),k(s)}},[t]),o.jsx(_e,{onClickAway:Q,children:o.jsxs(Ue,{ref:K.current,isDisabled:U??!1,children:[F===!0?o.jsx(ze,{value:c(l),onClick:()=>{_?.(),q()}}):o.jsxs(Ze,{windowSize:w,children:[o.jsxs(Je,{onClick:s=>{s.preventDefault(),_?.(),q()},children:[o.jsx(Ke,{className:"dropdownIcon"}),c(l)]}),l==="classes"?o.jsx(oo,{onClick:ge,children:v?N.generatingReportByClass:o.jsxs(o.Fragment,{children:[j&&`${te(j)}`,o.jsx(so,{})]})}):null]}),L?o.jsx(we,{...i,children:o.jsx("form",{id:ce(ie),onSubmit:g,children:o.jsxs(Qe,{width:C.width.value(w),children:[o.jsx(ae,{checked:m==="account_group",children:o.jsxs(ne,{onClick:()=>m!=="account_group"?b("account_group"):null,children:[o.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:s=>b(s.currentTarget.value),checked:m==="account_group",disabled:t!=="Completed"}),o.jsx(re,{disabled:t!=="Completed",children:z===!0?N.accountGroups.dropdownLabel:N.accounts.dropdownLabel})]})}),o.jsx(to,{}),o.jsxs(ae,{checked:m==="classes",children:[o.jsxs(ne,{onClick:()=>t==="Completed"?b("classes"):null,children:[o.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:s=>t==="Completed"?b(s.currentTarget.value):null,checked:m==="classes",disabled:t!=="Completed"}),o.jsx(re,{disabled:t!=="Completed",children:N.classes.dropdownLabel})]}),v||t!=="Completed"?null:o.jsx(ao,{children:j&&`${te(j)}`}),t==="Completed"?o.jsx(Xe,{id:"sectionformcontainer",children:o.jsx(no,{reportId:e,firstMonthOfFY:r,nestedClassHierarchy:a,classesToBeFilteredOut:I,selectedView:m,nodeOpenStatus:T,showClassAccountNumber:y,onToggleCheck:me})}):o.jsx(Ye,{backgroundColor:E.colors.grey3,foregroundColor:E.colors.grey4,width:C.width.value(w),height:C.height.value(w),animated:!0})]}),o.jsx(eo,{children:o.jsx($e,{formId:ce(ie),primaryBtn:{label:le.save,style:{width:C.buttonWidth.valuePx(w),height:C.buttonHeight.valuePx(w)},isLoading:!1,isDisabled:W,size:"small"},showCancel:!0,cancelBtn:{label:le.cancel,style:{width:C.buttonWidth.valuePx(w),height:C.buttonHeight.valuePx(w)},onClick:Q,size:"small",shouldResetOnCancel:!0},style:{padding:n.sp3}})})]})})}):null]})})}const no=ue.memo(qe,X);export{ho as g,uo as x};
150
+ `,{reportViewSelector:N,common:{footer:le}}=oe.getLocalizedStrings(),ie="tableViewSelector",ce=e=>`${e}_form`;function uo({reportId:e,firstMonthOfFY:r,nodes:a,classesListFetchState:t,selectedView:l,classesToBeFilteredOut:h,showClassAccountNumber:y,onOpenAccountViewMode:_,onSaveClick:P,isClassViewDisabled:U,downloadPage:E,showAccountGroups:z=!0,onResyncReports:Y,isPageFetchInProgress:v=!1,lastRefreshSuccessTime:j}){const A=ee(),w=de(),[L,F]=u.useState(!1),[m,M]=u.useState(l),[B,k]=u.useState({}),W=(s,p)=>(s.forEach(x=>{p.push(x.classId),p=W(x.children,p)}),p),T=W(a,[]),[I,$]=u.useState(m==="classes"?h:T),H=t!=="Completed"||m==="classes"&&I.length===T.length,G=u.useRef(!1),[J,Z]=u.useState(!1),K=u.useRef(s=>{s&&!G.current&&(G.current=!0,Z(!0))});xe({componentName:`reports.${e}`,enabled:J});const c=s=>s==="classes"?N.classes.label:z===!0?N.accountGroups.label:N.accounts.label,i=ye({mode:"all"}),g=i.handleSubmit(()=>{F(!1),m==="classes"?P?.("classes",I):P?.("account_group")}),b=s=>{if(M(s),s==="classes")k({}),$([]);else{$(T);let p={};a.forEach(x=>{const S=O("checkbox_and_name_only",[],x.classId[0]);p=Object.assign({},p,{[S]:!1})}),k(p)}},q=()=>{L===!0&&Q(),F(!L);let s={};a.forEach(p=>{const x=O("checkbox_and_name_only",[],p.classId[0]);l==="account_group"||I.find(S=>S[0]===p.classId[0])!==void 0?s=Object.assign({},s,{[x]:!1}):s=Object.assign({},s,{[x]:!0})}),k(s)},me=(s,p,x)=>{if(x===!0&&(M("classes"),$(T)),p===!0){const S=O("checkbox_and_name_only",[],s[0]);B[S]=!0,k(B),$(R=>R.filter(be=>be[0]!==s[0]))}else{const S=O("checkbox_and_name_only",[],s[0]);B[S]=!1,I.find(R=>R[0]===s[0])===void 0&&$(R=>[...R,s])}},Q=()=>{F(!1),M(l),$(h)},ge=()=>{v===!1&&Y?.()};return u.useEffect(()=>{if(t==="Completed"&&m==="account_group"){let s={};a.forEach(p=>{const x=O("checkbox_and_name_only",[],p.classId[0]);s=Object.assign({},s,{[x]:!1})}),k(s)}},[t]),o.jsx(_e,{onClickAway:Q,children:o.jsxs(Ue,{ref:K.current,isDisabled:U??!1,children:[E===!0?o.jsx(ze,{value:c(l),onClick:()=>{_?.(),q()}}):o.jsxs(Je,{windowSize:w,children:[o.jsxs(Ze,{onClick:s=>{s.preventDefault(),_?.(),q()},children:[o.jsx(Ke,{className:"dropdownIcon"}),c(l)]}),l==="classes"?o.jsx(oo,{onClick:ge,children:v?N.generatingReportByClass:o.jsxs(o.Fragment,{children:[j&&`${te(j)}`,o.jsx(so,{})]})}):null]}),L?o.jsx(we,{...i,children:o.jsx("form",{id:ce(ie),onSubmit:g,children:o.jsxs(Qe,{width:C.width.value(w),children:[o.jsx(ae,{checked:m==="account_group",children:o.jsxs(ne,{onClick:()=>m!=="account_group"?b("account_group"):null,children:[o.jsx("input",{type:"radio",value:"account_group",id:"accountGroups",name:"formgroup",onChange:s=>b(s.currentTarget.value),checked:m==="account_group",disabled:t!=="Completed"}),o.jsx(re,{disabled:t!=="Completed",children:z===!0?N.accountGroups.dropdownLabel:N.accounts.dropdownLabel})]})}),o.jsx(to,{}),o.jsxs(ae,{checked:m==="classes",children:[o.jsxs(ne,{onClick:()=>t==="Completed"?b("classes"):null,children:[o.jsx("input",{type:"radio",value:"classes",id:"classes",name:"formgroup",onChange:s=>t==="Completed"?b(s.currentTarget.value):null,checked:m==="classes",disabled:t!=="Completed"}),o.jsx(re,{disabled:t!=="Completed",children:N.classes.dropdownLabel})]}),v||t!=="Completed"?null:o.jsx(ao,{children:j&&`${te(j)}`}),t==="Completed"?o.jsx(Xe,{id:"sectionformcontainer",children:o.jsx(no,{reportId:e,firstMonthOfFY:r,nestedClassHierarchy:a,classesToBeFilteredOut:I,selectedView:m,nodeOpenStatus:B,showClassAccountNumber:y,onToggleCheck:me})}):o.jsx(Ye,{backgroundColor:A.colors.grey3,foregroundColor:A.colors.grey4,width:C.width.value(w),height:C.height.value(w),animated:!0})]}),o.jsx(eo,{children:o.jsx($e,{formId:ce(ie),primaryBtn:{label:le.save,style:{width:C.buttonWidth.valuePx(w),height:C.buttonHeight.valuePx(w)},isLoading:!1,isDisabled:H,size:"small"},showCancel:!0,cancelBtn:{label:le.cancel,style:{width:C.buttonWidth.valuePx(w),height:C.buttonHeight.valuePx(w)},onClick:Q,size:"small",shouldResetOnCancel:!0},style:{padding:n.sp3}})})]})})}):null]})})}const no=ue.memo(qe,X);export{ho as g,uo as x};
@@ -1,9 +1,9 @@
1
- import{q as W,e 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,A as ye,y as B,bN as Ce,d as S,I as R,aB as X,H as xe,aT as Oe,at as Ae,bJ as Re}from"./index-DQZa93pl.js";import{a as T,S as K}from"./sentry-BNP8a0zR.js";import{n as _}from"./mui-CmeRX-VQ.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 Ie,F1 as ee,F2 as te}from"./zeni-epic-state-Dg9gbL0X.js";import{m as z,l as q}from"./analyticsHelper-BXN2EdPH-CuwfHCAO.js";import{x as ke}from"./ReportTableViewSelector-C7w_WVnY-CLbunAZc.js";import{a as se,p as Fe}from"./TimeRangeSwitcher-CFZq5KoG-DVRsZPST.js";import{M as Me}from"./TimeframeSwitcherWithToggle-BXIevpvE-B9ruDiH-.js";import{DownloadOverlayButton as Ee}from"./DownloadOverlay-wlAXZwF0-JiJizrHx.js";import{I as $e,R as F,x as ne}from"./CollapsableReportTable-D1b80h2R-BMHZ2IWN.js";import{D as oe,T as ae,C as $,L as je,g as ie}from"./mapSectionWithAcOnlyToTreeNode-DLeyrCPV-BTjehxZr.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-BNP8a_pF-CPs7JdUi.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-oOsdpevM.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-DL4wGcX6-D3IuGgnr.js";import"./liveblocks-5qJQL8gF.js";import"./core-Do2fm07V.js";import"./recharts-CJ6qqxTN.js";import"./lottie--QmfecC7.js";import"./analytics-BBRM4OiD.js";import"./lexical-DSAIO3Yn.js";import"./utils-e2QIiaj6.js";import"./TimeframeSwitcher-Bb7JwirM-aH9WWmWy.js";import"./page-detail-CWX5S47F-CPWyYVtN.js";import"./AccountRow-DlccmtgU-C-w5dWss.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]="6379e5ac-056c-446a-bd09-1ed4a8c4a2ce",e._sentryDebugIdIdentifier="sentry-dbid-6379e5ac-056c-446a-bd09-1ed4a8c4a2ce")}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})):Ie(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{J as W,e as G,O as y,ax as ge,V as r,bO as _e,aQ as P,bD as be,bC as Se,o as w,aU as we,T as ye,y as B,bP as Ce,c as S,D as A,aE as X,C as xe,aW as Oe,at as Re,bL as Ae}from"./index-CRNmezJu.js";import{a as T,S as K}from"./sentry-Dla7mstv.js";import{n as _}from"./mui-mhzAEcDs.js";import{bg as Z,EN as Be,EW as ve,EX as $,EY as Le,EZ as Te,E_ as Pe,E$ as Ie,F0 as Ne,F1 as ee,F2 as te}from"./zeni-epic-state-CSmiPBaP.js";import{m as z,l as q}from"./analyticsHelper-CLY1vV_E-BemgqSJF.js";import{x as ke}from"./ReportTableViewSelector-KXoOW677-Cxk4-6kw.js";import{a as se,p as Me}from"./TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js";import{M as Fe}from"./TimeframeSwitcherWithToggle-CaOGQOMX-D3Vo1Cjd.js";import{DownloadOverlayButton as $e}from"./DownloadOverlay-D7AI3CGS-DY9OdGrk.js";import{I as Ee,R as M,x as ne}from"./CollapsableReportTable-D9EGRkFb-DwhLMO0b.js";import{D as oe,T as ae,C as E,L as je,g as ie}from"./mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-B6R5EAwN.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-D4r2BVXx-DnEFsarG.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-C4CzR5xS-Cg81Asz9.js";import"./liveblocks-BKvkleJ3.js";import"./core-hVMF2uNa.js";import"./recharts-BErFcng5.js";import"./lottie-N_bekW9H.js";import"./analytics-g5EpLRud.js";import"./lexical-DYQnWL1V.js";import"./utils-D6NmQd1Q.js";import"./TimeframeSwitcher--oC4RNb6-CvfDTC-U.js";import"./page-detail-CWX5S47F-C7t8NOxn.js";import"./AccountRow-C0plHrDu-BlMGnWxc.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]="f6c6a5a6-0d10-4d4b-9784-c6a7cd2af631",e._sentryDebugIdIdentifier="sentry-dbid-f6c6a5a6-0d10-4d4b-9784-c6a7cd2af631")}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=M("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??M("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=M("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(E({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:M("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=M("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 Ie(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):Ne(s)===!0&&i.push(E({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(E({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(E({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:Re(),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[A,I]=T.useState(5),k=m=>{const f=m+135;I(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:A,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:k,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 R.Event.profitAndLoss;case"cash_flow":return R.Event.cashFlow;case"balance_sheet":return R.Event.balanceSheet;default:return R.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 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",F=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=>$(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=>$(me)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(f=>$(f));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(f=>$(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:F,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,N]=T.useState(5),k=m=>{const f=m+135;N(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(Ee,{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:k,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};
@@ -13,7 +13,7 @@ import{q as W,e as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o
13
13
  `,tt=_.div`
14
14
  display: flex;
15
15
  position: relative;
16
- `,st=_(Ae)`
16
+ `,st=_(Re)`
17
17
  padding: 12px;
18
18
  color: ${e=>e.isSelected?e.theme.colors.primary:e.theme.colors.hero};
19
19
  cursor: ${e=>e.isSelected?"default":"pointer"};
@@ -49,7 +49,7 @@ import{q as W,e as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o
49
49
  width: 160px;
50
50
  left: 63%;
51
51
  }
52
- `;function ot({reportId:e,isSelected:t,onClick:o}){const a=n=>{switch(n){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return y.getLocalizedStrings().reportTitleById[n];default:return console.warn("Unsupported report"),""}};return r.jsx(st,{"data-testid":P("reportSwitcher",e),onClick:()=>{t===!1&&o(e)},isSelected:t,spaceAround:e==="balance_sheet",children:a(e)})}function at({reportIds:e,selectedReport:t,onReportSelectionChanged:o}){const a=n=>{o?.(n)};return r.jsx(et,{"data-testid":P("report-switcher-container"),children:r.jsx(tt,{"data-testid":P("report-switcher-content"),children:e.map(n=>n!=="profit_and_loss_by_classes"&&r.jsxs("div",{children:[r.jsx(ot,{reportId:n,isSelected:t===n,onClick:a}),r.jsx(nt,{className:`Slider ${t}`})]},`reportSegment-${n}`))})})}const N={contentContainerLeftRightMargin:new B(S[3],S[3],S[8]),contentRightPadding:new B(S[3],S[3],S[8]),tickSkelectionContainerWidth:new B(343,600,905,1240)},it=new B(4,4),ct=new B(4,4),rt={selectedNumberOfPeriods:(e,t)=>e?ct.value(t):it.value(t)},lt=_.div`
52
+ `;function ot({reportId:e,isSelected:t,onClick:o}){const a=n=>{switch(n){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return y.getLocalizedStrings().reportTitleById[n];default:return console.warn("Unsupported report"),""}};return r.jsx(st,{"data-testid":P("reportSwitcher",e),onClick:()=>{t===!1&&o(e)},isSelected:t,spaceAround:e==="balance_sheet",children:a(e)})}function at({reportIds:e,selectedReport:t,onReportSelectionChanged:o}){const a=n=>{o?.(n)};return r.jsx(et,{"data-testid":P("report-switcher-container"),children:r.jsx(tt,{"data-testid":P("report-switcher-content"),children:e.map(n=>n!=="profit_and_loss_by_classes"&&r.jsxs("div",{children:[r.jsx(ot,{reportId:n,isSelected:t===n,onClick:a}),r.jsx(nt,{className:`Slider ${t}`})]},`reportSegment-${n}`))})})}const I={contentContainerLeftRightMargin:new B(S[3],S[3],S[8]),contentRightPadding:new B(S[3],S[3],S[8]),tickSkelectionContainerWidth:new B(343,600,905,1240)},it=new B(4,4),ct=new B(4,4),rt={selectedNumberOfPeriods:(e,t)=>e?ct.value(t):it.value(t)},lt=_.div`
53
53
  display: flex;
54
54
  flex: 1 1 auto;
55
55
  min-height: 100%;
@@ -60,7 +60,7 @@ import{q as W,e as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o
60
60
  flex: 1 1 auto;
61
61
  flex-direction: column;
62
62
  height: calc(100vh - ${w.sp10});
63
- margin: ${e=>`${w.sp2} ${w.sp0} ${w.sp0} ${N.contentContainerLeftRightMargin.valuePx(e.windowSize)}`};
63
+ margin: ${e=>`${w.sp2} ${w.sp0} ${w.sp0} ${I.contentContainerLeftRightMargin.valuePx(e.windowSize)}`};
64
64
  `,pt=_.div`
65
65
  display: flex;
66
66
  width: 100%;
@@ -98,14 +98,14 @@ import{q as W,e 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,A)=>{O!==h?.accountViewMode&&a?.(O),A&&n?.(A)};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:(A,I,k)=>{d(l,A,I,k)},onTimeframeSelectionChanged:(A,I,k)=>{p?.(A,I,k)}}):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(At,{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(ke,{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 R.Event.profitAndLoss;case"cash_flow":return R.Event.cashFlow;case"balance_sheet":return R.Event.balanceSheet;default:return R.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
- padding-right: ${e=>N.contentRightPadding.valuePx(e.windowSize)};
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 F=e.fetchState;if(i.fetchState!=="Completed"&&(F==="In-Progress"||F==="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($e,{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,N,k)=>{d(l,R,N,k)},onTimeframeSelectionChanged:(R,N,k)=>{p?.(R,N,k)}}):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??I.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(Fe,{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(Me,{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(ke,{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
+ padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
103
103
  `,Ct=_.div`
104
104
  margin-top: ${w.sp3};
105
- padding-right: ${e=>N.contentRightPadding.valuePx(e.windowSize)};
105
+ padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
106
106
  `,xt=_.div`
107
107
  margin-top: ${w.sp3};
108
- padding-right: ${e=>N.contentRightPadding.valuePx(e.windowSize)};
108
+ padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
109
109
  `,Ot=_.div`
110
110
  display: flex;
111
111
  flex-direction: row;
@@ -115,7 +115,7 @@ import{q as W,e as G,F as y,aw as ge,V as r,bM as _e,aN as P,bB as be,bA as Se,o
115
115
  width: 100%;
116
116
  align-items: center;
117
117
  justify-content: center;
118
- `,At=_.div`
118
+ `,Rt=_.div`
119
119
  margin-top: ${w.sp4};
120
- padding-right: ${e=>N.contentRightPadding.valuePx(e.windowSize)};
120
+ padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
121
121
  `;export{Jt as default};
@@ -1,4 +1,4 @@
1
- import{e as A,V as a,F as D,q as de,b2 as Q,d 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-DQZa93pl.js";import{a as P,S as ee}from"./sentry-BNP8a0zR.js";import{n as x}from"./mui-CmeRX-VQ.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-qqLvT6t1-7O4vNfmq.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-BM2RMkm6-C8TFs9o9.js";import{V as Z}from"./toChartData-xURa2wgf-D2bH9o56.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-CJ6qqxTN.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]="d6afe20f-5a00-4865-8ad2-58ef2680ce4e",e._sentryDebugIdIdentifier="sentry-dbid-d6afe20f-5a00-4865-8ad2-58ef2680ce4e")}catch{}})();const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(I[3],I[4])},Fe=x.div`
1
+ import{e as A,V as a,O as D,J as de,b4 as Q,c as I,b as M,aZ as J,o as m,aQ as Ae,p as g,aE as Ve,y as xe,bM as ge,al as R,bN as V,bb as F}from"./index-CRNmezJu.js";import{a as P,S as ee}from"./sentry-Dla7mstv.js";import{n as x}from"./mui-mhzAEcDs.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-BjaXr-A2-DXtLo4Yx.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js";import{V as Z}from"./toChartData-D5QdTlGa-DOsyIRYt.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-BErFcng5.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]="91f6f3f3-405e-460e-8f7a-e858061071f5",e._sentryDebugIdIdentifier="sentry-dbid-91f6f3f3-405e-460e-8f7a-e858061071f5")}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};