@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,4 +1,4 @@
1
- import{q as B,e as Z,F as _,aw as ke,V as s,bA as qe,A as Qe,I as Je,bB as Xe,o as d,y as N,aB as X,bC as Ke,bD as et,ai as oe,d as j,b2 as tt,aT as st,_ as Oe,n as Be,p as D,aq as Pe,aS as ot,b9 as at,an as nt,bE as it,au as rt,bF as ct,bG as ne,bH as lt,at as dt,am as pt,bI as ut,bJ as gt}from"./index-DQZa93pl.js";import{a as y,S as K}from"./sentry-BNP8a0zR.js";import{n as u,k as Ie}from"./mui-CmeRX-VQ.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as St,ET as yt,EU as vt,EV as Ct}from"./zeni-epic-state-Dg9gbL0X.js";import{m as G,l as se}from"./analyticsHelper-BXN2EdPH-CuwfHCAO.js";import{g as $t,x as jt}from"./ReportTableViewSelector-C7w_WVnY-CLbunAZc.js";import{q as kt}from"./InsightsSection-Drr3r1BL-C9c9bqpC.js";import{k as Ot,q as Bt,Q as xe,H as ee,N as pe}from"./detailCommon-DP02lgW9-vucebEDD.js";import{G as Pt,P as It,Y as _e,X as we,H as Se}from"./RevenueChart-BcRkSSWz-BKO407XR.js";import{C as Nt}from"./NoDataChart-CCCkzfa4-jwMBvFUj.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-CFZq5KoG-DVRsZPST.js";import{b as Ne}from"./TimeframeSwitcher-Bb7JwirM-aH9WWmWy.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-D1b80h2R-BMHZ2IWN.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-DLeyrCPV-BTjehxZr.js";import{d as Mt}from"./NoDataTable-DVW_simO-Z05X7jnZ.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BvxVvq-i-oOsdpevM.js";import{d as he}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"./NavigationDots-C_N16I15-BceewdOj.js";import"./chartTypes-qqLvT6t1-7O4vNfmq.js";import"./toCOABalancesWithID-BM2RMkm6-C8TFs9o9.js";import"./toChartData-xURa2wgf-D2bH9o56.js";import"./AccountRow-DlccmtgU-C-w5dWss.js";import"./graphic-no-data-l-DU4J8fDt-DF0OrKm5.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]="195e6e8e-3f91-498d-a3e5-7ceac3b56082",e._sentryDebugIdIdentifier="sentry-dbid-195e6e8e-3f91-498d-a3e5-7ceac3b56082")}catch{}})();const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
1
+ import{J as B,e as Z,O as _,ax as ke,V as s,bC as qe,T as Je,D as Qe,bD as Xe,o as d,y as N,aE as X,bE as Ke,bF as et,ai as oe,c as j,b4 as tt,aW as st,x as Oe,r as Be,p as D,aq as Pe,aV as ot,bb as at,an as nt,bG as it,au as rt,bH as ct,bI as ne,bJ as lt,at as dt,am as pt,bK as ut,bL as gt}from"./index-CRNmezJu.js";import{a as S,S as K}from"./sentry-Dla7mstv.js";import{n as u,k as Ie}from"./mui-mhzAEcDs.js";import{bg as mt,EN as ht,E7 as ft,EO as bt,EP as xt,EQ as _t,ER as wt,ES as yt,ET as St,EU as vt,EV as $t}from"./zeni-epic-state-CSmiPBaP.js";import{m as G,l as se}from"./analyticsHelper-CLY1vV_E-BemgqSJF.js";import{g as Ct,x as jt}from"./ReportTableViewSelector-KXoOW677-Cxk4-6kw.js";import{q as kt}from"./InsightsSection-CdlmvyOs-DmXLU_Lu.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-D9PsnkY1-BuBcpPrC.js";import{G as Pt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-B2lwdex1-DM-m44Ax.js";import{C as Nt}from"./NoDataChart-VrW0gNeK-CoKQWY6y.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Lt}from"./TimeRangeSwitcher-Sfz9Zsfu-DOBYaYdI.js";import{b as Ne}from"./TimeframeSwitcher--oC4RNb6-CvfDTC-U.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-D9EGRkFb-DwhLMO0b.js";import{S as zt,M as At,g as Et,C as te,L as Le,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-4MBuc1Sm-B6R5EAwN.js";import{d as Mt}from"./NoDataTable-CZaHTbXi-BvRSGEWZ.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-nP8CDp4j-BxTMyk7D.js";import{d as he}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"./NavigationDots-CLd0nZZT-DkTweDHl.js";import"./chartTypes-BjaXr-A2-DXtLo4Yx.js";import"./toCOABalancesWithID-DPAmy3GS-lyRBWxwk.js";import"./toChartData-D5QdTlGa-DOsyIRYt.js";import"./AccountRow-C0plHrDu-BlMGnWxc.js";import"./graphic-no-data-l-DU4J8fDt-C7rs195d.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]="32a843a7-258e-4097-aaff-e39f4bac183a",e._sentryDebugIdIdentifier="sentry-dbid-32a843a7-258e-4097-aaff-e39f4bac183a")}catch{}})();const Ft=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -17,11 +17,11 @@ import{q as B,e as Z,F as _,aw as ke,V as s,bA as qe,A as Qe,I as Je,bB as Xe,o
17
17
  justify-content: center;
18
18
  flex-direction: column;
19
19
  margin-top: ${d.sp3};
20
- `,Yt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Vt,{windowSize:n,style:{...e},children:[s.jsx(Wt,{children:s.jsx(a,{})}),s.jsx(Ht,{children:t})]})};function Gt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,h=l.balances.length>0?l:c,g=o.balances.length>0?o:h;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function Ut(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Gt({report:i,filter:a}));const h=[];if(t?(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&h.push("free_range_total"),i.reportId!=="cash_position"&&h.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:h,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Zt(e){const t=Ut(e);if(t!=null)return $t(e.statementEndPoint,e.authParams,t)}const qt=u.div`
20
+ `,Yt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Vt,{windowSize:n,style:{...e},children:[s.jsx(Wt,{children:s.jsx(a,{})}),s.jsx(Ht,{children:t})]})};function Gt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,h=l.balances.length>0?l:c,g=o.balances.length>0?o:h;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function Ut(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Gt({report:i,filter:a}));const h=[];if(t?(h.push("this_period_vs_last_period_percent"),h.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&h.push("free_range_total"),i.reportId!=="cash_position"&&h.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:h,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Zt(e){const t=Ut(e);if(t!=null)return Ct(e.statementEndPoint,e.authParams,t)}const qt=u.div`
21
21
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
22
- `;function Qt({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:a}=e,n=a.balances;if(t==null||t===0||n.length===0)return null;const i=n.reduce((l,c)=>l+c.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(qt,{children:s.jsx(ee,{balance:p,dateText:o,showInfotip:!1})})}const Jt=u.div`
22
+ `;function Jt({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:a}=e,n=a.balances;if(t==null||t===0||n.length===0)return null;const i=n.reduce((l,c)=>l+c.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(qt,{children:s.jsx(ee,{balance:p,dateText:o,showInfotip:!1})})}const Qt=u.div`
23
23
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
24
- `;function Xt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=_.getLocalizedStrings(),{availableNumberOfPeriods:a,cashPosition:n}=e,i=n.balances;if(a==null||a===0||i.length===0)return null;const r=i[i.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Jt,{children:s.jsx(ee,{balance:r,dateText:p,showInfotip:!1})})}const Kt=u.div`
24
+ `;function Xt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=_.getLocalizedStrings(),{availableNumberOfPeriods:a,cashPosition:n}=e,i=n.balances;if(a==null||a===0||i.length===0)return null;const r=i[i.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Qt,{children:s.jsx(ee,{balance:r,dateText:p,showInfotip:!1})})}const Kt=u.div`
25
25
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
26
26
  `,es=u.div`
27
27
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
@@ -36,14 +36,14 @@ import{q as B,e as Z,F as _,aw as ke,V as s,bA as qe,A as Qe,I as Je,bB as Xe,o
36
36
  `,is=u.div`
37
37
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
38
38
  height: ${d.sp6};
39
- `;function rs({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(is,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(h,p);return s.jsx(ns,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const cs=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(ts,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(rs,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(as,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Xt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Qt,{highlightedRangeReport:e});default:return null}},J={wrapperPadding:new N(j[3],j[3],j[8]),chartHeight:new N(288,360)},ls=u.div`
39
+ `;function rs({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(is,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((m,f)=>m+f.balance.amount,0),l=r[r.length-1],c=r[0],h={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(h,p);return s.jsx(ns,{children:s.jsx(ee,{balance:h,dateText:g,showInfotip:!1})})}const cs=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(ts,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(rs,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(as,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Xt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Jt,{highlightedRangeReport:e});default:return null}},Q={wrapperPadding:new N(j[3],j[3],j[8]),chartHeight:new N(288,360)},ls=u.div`
40
40
  display: flex;
41
41
  flex: 1 1 auto;
42
42
  flex-direction: column;
43
- height: ${e=>J.chartHeight.valuePx(e.windowSize)};
43
+ height: ${e=>Q.chartHeight.valuePx(e.windowSize)};
44
44
  `,ds=u.div`
45
45
  display: flex;
46
- `,ps=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:h}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(ds,{children:s.jsx(Nt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(ls,{windowSize:t,children:s.jsx(tt,{children:({height:m,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,S,b)=>{us(a.firstMonthOfFY,l,a.reportId,S,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:h,width:f,height:m};switch(g.reportId){case"net_burn_or_income":return s.jsx(Se,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(Se,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(_e,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(_e,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(It,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(Pt,{selectedRangeReport:a,...x});default:return null}}})})},us=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"bar",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,se(e,n,i))},Te={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},ze=Ie`
46
+ `,ps=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:h}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(ds,{children:s.jsx(Nt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(ls,{windowSize:t,children:s.jsx(tt,{children:({height:m,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,y,b)=>{us(a.firstMonthOfFY,l,a.reportId,y,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:h,width:f,height:m};switch(g.reportId){case"net_burn_or_income":return s.jsx(ye,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(ye,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(_e,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(_e,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(It,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(Pt,{selectedRangeReport:a,...x});default:return null}}})})},us=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"bar",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"bar",p,void 0,se(e,n,i))},Te={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},ze=Ie`
47
47
  0% {
48
48
  transform: translateY(100%)
49
49
  }
@@ -140,10 +140,10 @@ import{q as B,e as Z,F as _,aw as ke,V as s,bA as qe,A as Qe,I as Je,bB as Xe,o
140
140
  position: absolute;
141
141
  right: 30px;
142
142
  margin-top: 200px;
143
- `,Ss=u.div`
143
+ `,ys=u.div`
144
144
  width: 140px;
145
145
  transform: rotate(-22.31deg);
146
- `,ys=u.div`
146
+ `,Ss=u.div`
147
147
  position: absolute;
148
148
  width: 130px;
149
149
  height: ${d.sp0};
@@ -158,12 +158,12 @@ import{q as B,e as Z,F as _,aw as ke,V as s,bA as qe,A as Qe,I as Je,bB as Xe,o
158
158
  border-bottom: 10px solid transparent;
159
159
  border-left: ${d.sp3} solid ${e=>e.theme.colors.grey3};
160
160
  float: right;
161
- `,Cs=u(Pe)`
161
+ `,$s=u(Pe)`
162
162
  max-width: 496px;
163
163
  margin-top: ${d.sp7};
164
164
  margin: auto;
165
165
  color: ${e=>e.theme.colors.primary};
166
- `,$s=u(Pe)`
166
+ `,Cs=u(Pe)`
167
167
  max-width: 330px;
168
168
  margin: auto;
169
169
  color: ${D.primaryDark};
@@ -197,7 +197,7 @@ import{q as B,e as Z,F as _,aw as ke,V as s,bA as qe,A as Qe,I as Je,bB as Xe,o
197
197
  border-radius: 12px;
198
198
  border: ${e=>`1px solid ${e.theme.colors.grey5}`};
199
199
  padding: ${d.sp2};
200
- `,le=()=>s.jsxs(Ss,{children:[s.jsx(ys,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs(js,{windowSize:t,children:[s.jsx(Os,{windowSize:t,children:s.jsx(Bs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(ks,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Ps=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsx(bs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Ae,{windowSize:i,children:[s.jsx($s,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Is=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsxs(fs,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Ae,{windowSize:i,children:[s.jsx(Cs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(xs,{children:s.jsx(le,{})}),s.jsx(_s,{children:s.jsx(le,{})}),s.jsx(ws,{children:s.jsx(le,{})})]})]})};function Ns(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ps,{...e}):s.jsx(Is,{...e})}const de="ZeniSwitch",z={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Ls=({className:e,...t})=>s.jsx(lt,{...t,className:e,classes:{...z}}),Rs=u(Ls)(({theme:e})=>({[`& .${z.switchBase}`]:{color:e.colors.grey2},[`& .${z.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${z.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${z.switchBase}.Mui-checked + .${z.track}`]:{backgroundColor:e.colors.grey1},[`& .${z.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${z.switchBase}.Mui-disabled + .${z.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(Rs,{...e}),U={containerMaxWidth:new N(124,154),forecastNameInnerWidth:new N(75,105),forecastNameOuterWidth:new N(90,120),tooltipTopPosition:new N(51,51),tooltipWidth:new N(180,150)},ye=u.div``,Ds=u.div`
200
+ `,le=()=>s.jsxs(ys,{children:[s.jsx(Ss,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs(js,{windowSize:t,children:[s.jsx(Os,{windowSize:t,children:s.jsx(Bs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(ks,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Ps=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsx(bs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Ae,{windowSize:i,children:[s.jsx(Cs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Is=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Ee,{children:s.jsx(Me,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsxs(fs,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Ae,{windowSize:i,children:[s.jsx($s,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(xs,{children:s.jsx(le,{})}),s.jsx(_s,{children:s.jsx(le,{})}),s.jsx(ws,{children:s.jsx(le,{})})]})]})};function Ns(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ps,{...e}):s.jsx(Is,{...e})}const de="ZeniSwitch",z={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Ls=({className:e,...t})=>s.jsx(lt,{...t,className:e,classes:{...z}}),Rs=u(Ls)(({theme:e})=>({[`& .${z.switchBase}`]:{color:e.colors.grey2},[`& .${z.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${z.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${z.switchBase}.Mui-checked + .${z.track}`]:{backgroundColor:e.colors.grey1},[`& .${z.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${z.switchBase}.Mui-disabled + .${z.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(Rs,{...e}),U={containerMaxWidth:new N(124,154),forecastNameInnerWidth:new N(75,105),forecastNameOuterWidth:new N(90,120),tooltipTopPosition:new N(51,51),tooltipWidth:new N(180,150)},Se=u.div``,Ds=u.div`
201
201
  min-width: ${e=>U.forecastNameInnerWidth.valuePx(e.windowSize)};
202
202
  &:hover {
203
203
  .info-tooltip {
@@ -263,14 +263,14 @@ import{q as B,e as Z,F as _,aw as ke,V as s,bA as qe,A as Qe,I as Je,bB as Xe,o
263
263
  top: ${e=>U.tooltipTopPosition.valuePx(e.windowSize)};
264
264
  `,Zs=u(nt)`
265
265
  color: ${e=>e.theme.colors.grey5};
266
- `;function qs({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((m,f)=>({label:m.name,value:f,forecastId:m.id,timeframeLabel:o(m.forecastPeriod),isValid:n(m)})),[c,h]=y.useState(l(t));return K.useEffect(()=>{h(l(t))},[t]),s.jsxs(Ds,{windowSize:r,children:[s.jsx(Gs,{children:s.jsx(Us,{className:"info-tooltip",windowSize:r,children:s.jsx(Zs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Qs,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Qs=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=Z(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(it)`
266
+ `;function qs({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((m,f)=>({label:m.name,value:f,forecastId:m.id,timeframeLabel:o(m.forecastPeriod),isValid:n(m)})),[c,h]=S.useState(l(t));return K.useEffect(()=>{h(l(t))},[t]),s.jsxs(Ds,{windowSize:r,children:[s.jsx(Gs,{children:s.jsx(Us,{className:"info-tooltip",windowSize:r,children:s.jsx(Zs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Js,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Js=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=Z(),r=B(),[p,o]=S.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;S.useEffect(()=>{o(e)},[e]);const g=u(it)`
267
267
  height: ${d.sp3};
268
268
  width: ${d.sp3};
269
269
  `,m=u(rt)`
270
270
  height: 12px;
271
271
  width: 12px;
272
272
  margin-left: 6px;
273
- `,f=({children:b,...C})=>s.jsx(ne.SingleValue,{...C,children:s.jsxs(Hs,{children:[s.jsx(Ws,{windowSize:r,children:b}),s.jsx(m,{})]})}),x=b=>s.jsx(ne.DropdownIndicator,{...b,children:s.jsx(ye,{})}),w=b=>s.jsx(ye,{children:s.jsx(ne.Option,{...b,children:s.jsxs(Ts,{children:[s.jsxs(zs,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(As,{isValid:b.data.isValid,children:[s.jsx(Es,{children:b.data.timeframeLabel}),s.jsx(Ys,{isValid:b.data.isValid}),s.jsx(Ms,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Fs,{children:[s.jsx(Vs,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(b,C)=>({...b,border:0,backgroundColor:c,color:C.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.hero,boxShadow:c,":active":{backgroundColor:c},":hover":{color:i.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:b=>({...b,backgroundColor:c,maxWidth:U.containerMaxWidth.valuePx(r),minWidth:U.containerMaxWidth.valuePx(r)}),singleValue:(b,C)=>({...b,color:C.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:i.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:b=>({...b,backgroundColor:l,borderRadius:j[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:j[1],maxWidth:"350px"}),option:(b,{isDisabled:C,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!0&&C!==!0?i.colors.background:l,cursor:C===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:C===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(ct,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,defaultValue:p,onChange:b=>{const C=b;o(C),n(C.forecastId,C.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},ve={timeframePaddingLeft:new N(0,0,245),timeframePaddingBottom:new N(8,8,0)},Js=u.div`
273
+ `,f=({children:b,...$})=>s.jsx(ne.SingleValue,{...$,children:s.jsxs(Hs,{children:[s.jsx(Ws,{windowSize:r,children:b}),s.jsx(m,{})]})}),x=b=>s.jsx(ne.DropdownIndicator,{...b,children:s.jsx(Se,{})}),w=b=>s.jsx(Se,{children:s.jsx(ne.Option,{...b,children:s.jsxs(Ts,{children:[s.jsxs(zs,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(As,{isValid:b.data.isValid,children:[s.jsx(Es,{children:b.data.timeframeLabel}),s.jsx(Ys,{isValid:b.data.isValid}),s.jsx(Ms,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Fs,{children:[s.jsx(Vs,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),y={control:(b,$)=>({...b,border:0,backgroundColor:c,color:$.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.hero,boxShadow:c,":active":{backgroundColor:c},":hover":{color:i.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:b=>({...b,backgroundColor:c,maxWidth:U.containerMaxWidth.valuePx(r),minWidth:U.containerMaxWidth.valuePx(r)}),singleValue:(b,$)=>({...b,color:$.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:i.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:b=>({...b,backgroundColor:l,borderRadius:j[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:j[1],maxWidth:"350px"}),option:(b,{isDisabled:$,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!0&&$!==!0?i.colors.background:l,cursor:$===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:$===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(ct,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:y,defaultValue:p,onChange:b=>{const $=b;o($),n($.forecastId,$.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},ve={timeframePaddingLeft:new N(0,0,245),timeframePaddingBottom:new N(8,8,0)},Qs=u.div`
274
274
  display: flex;
275
275
  width: 100%;
276
276
  flex-direction: column;
@@ -306,10 +306,10 @@ import{q as B,e as Z,F as _,aw as ke,V as s,bA as qe,A as Qe,I as Je,bB as Xe,o
306
306
  `,Ge=u(oe)`
307
307
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
308
308
  opacity: ${e=>e.isDisabled?.5:1};
309
- `,Ue=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ge,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(He,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function Ze({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(to,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(qs,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ge,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(He,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const so=e=>{const t=B();return s.jsxs(Js,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ks,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},oo=e=>{const t=B();return s.jsxs(Xs,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(eo,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function ao(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(so,{...e}):s.jsx(oo,{...e})}const no=u.div`
309
+ `,Ue=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ge,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(He,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function Ze({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(to,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(qs,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ge,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(He,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const so=e=>{const t=B();return s.jsxs(Qs,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ks,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},oo=e=>{const t=B();return s.jsxs(Xs,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ne,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(eo,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function ao(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(so,{...e}):s.jsx(oo,{...e})}const no=u.div`
310
310
  display: flex;
311
311
  padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
312
- `,io=u.div``,ro=u.div``,co=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=ke(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:h,timeframe:g}=a,m=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const C=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=C||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,E]=y.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),M=a.mode,L=a.selectedForecast;y.useEffect(()=>{M==="forecast_mode"&&b==="Completed"&&S?.length===0&&(E(!0),document.body.style.overflow="hidden")},[b,M,S]),y.useEffect(()=>{M==="forecast_mode"&&L!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[L.index].name)},[L]);const W=(v,$,Y)=>{$===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,Y)};return s.jsx(ro,{children:s.jsxs(io,{children:[s.jsx(no,{children:s.jsx(ao,{timeframe:{allowedTimeframes:m,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(G(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const $=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),G(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],$)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(v,$)=>W("forecast_mode",!1,{id:v,index:$}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ns,{meetingUrl:H,reportId:t.reportId,onClose:()=>{E(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,C?null:s.jsx(Lt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,$)=>{Ce(t.firstMonthOfFY,x,t.reportId,g,$,e.analytics),i($)},onSelectionChanged:(v,$)=>{const Y=Ot(c,v.fromEnd),q=Bt(c,$);Ce(t.firstMonthOfFY,x,t.reportId,g,q.thisPeriod,e.analytics),p(Y,q)}})]})})},Ce=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"range filter",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,se(e,n,i))};function fe({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:F("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function lo({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=F("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((h,g)=>fe({account:h,sectionType:t,numOfBalances:a,title:h.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function $e({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=F("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Tt(e,r.displayOrder,a,!1),c=po(l.balances),h=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=h.compactedAccountsSelectorVariant(e.accountsOrdered),m=h.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(m.length>0||e.accountsOrdered.length>0)){const f=m.map((w,S)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function po(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function A({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function uo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=A({balances:r,config:t}),o=$e({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=$e({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=te({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function be({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??F("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function go(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=A({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=F("section",[],n.sections.netCashFlow),h=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,m)=>fe({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:m===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...h]}}function mo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(St(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(yt(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:m==="netBurnOrIncome"?e.reportTitle:i.sections[m],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ho(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{vt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):Ct(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function fo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=A({balances:h,config:t}),m=e.sections.expenses,f=be({title:_.getLocalizedStrings().chartCard.total,balances:m,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=F("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(zt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:S===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function bo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=A({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=F("section",[],n.sections.expenses),h=Dt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const m=h.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(m.length!=0){const f=m.map((x,w)=>At({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===m.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=h.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Et({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function xo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(bt(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(xt(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function _o(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{_t(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):wt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function wo(e,t,a,n=!0){Object.assign(e.config,t);const i=So(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const So=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},je={contentPaddingLeft:new N(j[0],j[0],j[0]),contentPaddingRight:new N(j[3],j[3],j[8])},yo=u.div`
312
+ `,io=u.div``,ro=u.div``,co=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=ke(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:h,timeframe:g}=a,m=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let y,b;switch(t.reportId){case"revenue":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:y=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,E]=S.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),M=a.mode,L=a.selectedForecast;S.useEffect(()=>{M==="forecast_mode"&&b==="Completed"&&y?.length===0&&(E(!0),document.body.style.overflow="hidden")},[b,M,y]),S.useEffect(()=>{M==="forecast_mode"&&L!=null&&y!=null&&y.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),y[L.index].name)},[L]);const W=(v,C,Y)=>{C===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,Y)};return s.jsx(ro,{children:s.jsxs(io,{children:[s.jsx(no,{children:s.jsx(ao,{timeframe:{allowedTimeframes:m,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(G(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const C=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),G(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],C)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:y,isForecastValid:V,onForecastSelectionChanged:(v,C)=>W("forecast_mode",!1,{id:v,index:C}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ns,{meetingUrl:H,reportId:t.reportId,onClose:()=>{E(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(Lt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,C)=>{$e(t.firstMonthOfFY,x,t.reportId,g,C,e.analytics),i(C)},onSelectionChanged:(v,C)=>{const Y=Ot(c,v.fromEnd),q=Bt(c,C);$e(t.firstMonthOfFY,x,t.reportId,g,q.thisPeriod,e.analytics),p(Y,q)}})]})})},$e=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),G(n),"range filter",se(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,se(e,n,i))};function fe({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:F("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function lo({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=F("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((h,g)=>fe({account:h,sectionType:t,numOfBalances:a,title:h.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function Ce({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=F("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Tt(e,r.displayOrder,a,!1),c=po(l.balances),h=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=h.compactedAccountsSelectorVariant(e.accountsOrdered),m=h.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(m.length>0||e.accountsOrdered.length>0)){const f=m.map((w,y)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:y===m.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,y)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:y===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function po(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function A({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function uo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=A({balances:r,config:t}),o=Ce({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=Ce({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=te({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function be({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??F("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function go(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=A({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=F("section",[],n.sections.netCashFlow),h=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,m)=>fe({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:m===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...h]}}function mo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(yt(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(St(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:m==="netBurnOrIncome"?e.reportTitle:i.sections[m],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ho(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{vt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):$t(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function fo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=A({balances:h,config:t}),m=e.sections.expenses,f=be({title:_.getLocalizedStrings().chartCard.total,balances:m,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=F("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,y)=>{o.push(zt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:y===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function bo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=A({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=F("section",[],n.sections.expenses),h=Dt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const m=h.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(m.length!=0){const f=m.map((x,w)=>At({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===m.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=h.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,y)=>Et({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:y===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:y===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function xo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((h,g)=>{const m=g%4;let f=me[m];const x=he({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,h=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=A({balances:h,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(m=>{if(bt(m)===!0){const f=e.sections[m];f!=null&&o.push(Le({section:f,sectionType:m,numOfBalances:c,title:i.sections[m],isLastNode:!0,config:t}))}else if(xt(m)===!0){const f=e.calculatedSections[m];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function _o(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=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.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=A({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{_t(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):wt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function wo(e,t,a,n=!0){Object.assign(e.config,t);const i=yo(a),r=A({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const yo=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},je={contentPaddingLeft:new N(j[0],j[0],j[0]),contentPaddingRight:new N(j[3],j[3],j[8])},So=u.div`
313
313
  width: 100%;
314
314
  height: calc(100vh - 70px);
315
315
  `,vo=u.div`
@@ -317,13 +317,13 @@ import{q as B,e as Z,F as _,aw as ke,V as s,bA as qe,A as Qe,I as Je,bB as Xe,o
317
317
  position: sticky;
318
318
  justify-content: center;
319
319
  padding-top: ${d.sp6};
320
- padding-left: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
320
+ padding-left: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
321
321
  background-color: ${e=>e.theme.colors.grey4};
322
- `,Co=u.div`
322
+ `,$o=u.div`
323
323
  position: absolute;
324
324
  padding-top: ${d.sp3};
325
325
  background-color: ${e=>e.theme.colors.grey4};
326
- `,$o=e=>{const t=B(),a=Z(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!b,k=C||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),G(r.timeframe),"dropdown");const I=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[I],x?.numberOfPeriods??k)},[P,E]=y.useState(void 0),[H,M]=y.useState(void 0),L=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),$=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,Y=w==="forecast_mode"?"actual_vs_forecast":C===!0?"this_period_vs_period_before":"none",q=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,I)=>{O!==i?.uiState.accountViewMode&&g?.(O),I&&m?.(I)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${$.reportId}+${r.selectedForecast?.id}`:$.reportId,mode:Y,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:$.bookCloseDate,firstMonthOfFY:$.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:gt(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:$.dataAvailable};if(P==null||!X(H,$)||e.isPageFetchInProgress===!0){const I=jo($,O,L,e.isPageFetchInProgress);M($),E(I)}else{const I=wo(P,O,$,L);E(I)}},[W,C,$,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:S?s.jsx(Mt,{}):P!=null?s.jsxs(yo,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:je.contentPaddingLeft.value(t),right:je.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,I)=>{h(O,I)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),q===!0&&i!==void 0?s.jsx(Co,{children:s.jsx(jt,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},jo=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ho(e,t,a);case"net_burn_or_income_by_classes":return mo(e,t,a,n);case"revenue":return _o(e,t,a);case"revenue_by_classes":return xo(e,t,a,n);case"cash_position":return go(e,t,a);case"cash_in_cash_out":return uo(e,t,a);case"operating_expenses":return bo(e,t,a);case"operating_expenses_by_classes":return fo(e,t,a,n);default:return}},ko=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",Q={chartWidth:"100%",barCount:8,barWidth:new N(j[6],j[8],j[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=Q.chartWidth,barCount:n=Q.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??J.chartHeight.value(o),c=l-j[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||Q.maxBarHeight)*l,width:Q.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(Io,{children:s.jsx(Ke,{speed:2,width:Q.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},Bo=u.div`
326
+ `,Co=e=>{const t=B(),a=Z(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,y=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,$=r.mode==="compare_mode"&&!b,k=$||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),G(r.timeframe),"dropdown");const I=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[I],x?.numberOfPeriods??k)},[P,E]=S.useState(void 0),[H,M]=S.useState(void 0),L=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),C=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,Y=w==="forecast_mode"?"actual_vs_forecast":$===!0?"this_period_vs_period_before":"none",q=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,I)=>{O!==i?.uiState.accountViewMode&&g?.(O),I&&m?.(I)};return S.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${C.reportId}+${r.selectedForecast?.id}`:C.reportId,mode:Y,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:C.bookCloseDate,firstMonthOfFY:C.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:gt(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:C.dataAvailable};if(P==null||!X(H,C)||e.isPageFetchInProgress===!0){const I=jo(C,O,L,e.isPageFetchInProgress);M(C),E(I)}else{const I=wo(P,O,C,L);E(I)}},[W,$,C,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:y?s.jsx(Mt,{}):P!=null?s.jsxs(So,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:je.contentPaddingLeft.value(t),right:je.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,I)=>{h(O,I)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),q===!0&&i!==void 0?s.jsx($o,{children:s.jsx(jt,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},jo=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ho(e,t,a);case"net_burn_or_income_by_classes":return mo(e,t,a,n);case"revenue":return _o(e,t,a);case"revenue_by_classes":return xo(e,t,a,n);case"cash_position":return go(e,t,a);case"cash_in_cash_out":return uo(e,t,a);case"operating_expenses":return bo(e,t,a);case"operating_expenses_by_classes":return fo(e,t,a,n);default:return}},ko=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",J={chartWidth:"100%",barCount:8,barWidth:new N(j[6],j[8],j[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=J.chartWidth,barCount:n=J.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??Q.chartHeight.value(o),c=l-j[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||J.maxBarHeight)*l,width:J.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(Io,{children:s.jsx(Ke,{speed:2,width:J.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},Bo=u.div`
327
327
  width: 100%;
328
328
  height: 100%;
329
329
  border-radius: ${d.sp2};
@@ -354,8 +354,8 @@ import{q as B,e as Z,F as _,aw as ke,V as s,bA as qe,A as Qe,I as Je,bB as Xe,o
354
354
  position: relative;
355
355
  box-shadow: ${e=>`2px 0px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
356
356
  background-color: ${e=>e.theme.colors.grey5};
357
- padding-left: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
358
- padding-right: ${e=>J.wrapperPadding.valuePx(e.windowSize)};
357
+ padding-left: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
358
+ padding-right: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
359
359
  z-index: 1;
360
360
  `,Ro=u.div`
361
361
  display: flex;
@@ -368,4 +368,4 @@ import{q as B,e as Z,F as _,aw as ke,V as s,bA as qe,A as Qe,I as Je,bB as Xe,o
368
368
  align-items: center;
369
369
  height: 100vh;
370
370
  margin-top: ${d.sp8};
371
- `,ba=e=>{const t=B(),a=Z(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:h,analytics:g,onBackClick:m,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:C,downloadState:k}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,E=ke(),H=E.loggedInUserRole!=null&&!mt(E.loggedInUserRole),M=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function T(){await Zt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:S,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...h,reportType:H||M?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),G(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),T())},[h,k,o.filter,n,P,S,o,l,b,g,f,H,M,e.isZeniCOAUsed]);const L=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,W=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=ht([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const T=P||c.mode==="forecast_mode"?3:1;x(P,C,T)},[t]);const $=T=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Je.Event.search,R(o.reportId),T.type,T.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(T)},{autoCompleteData:Y,autoCompleteActions:q,scrollPosition:ae,...O}=e,I=s.jsx(Xe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:k==="In-Progress"}],onDownloadClick:async T=>{if(T==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(No,{children:[s.jsx(qe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:I,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:$}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(Qe,{size:"Standard",start:!0})}):L?s.jsx(Yt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Ft}):s.jsxs(s.Fragment,{children:[s.jsxs(Lo,{windowSize:t,children:[s.jsx(Eo,{...O}),s.jsx(To,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(zo,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Ao,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},To=K.memo(cs,X),zo=K.memo(ps,X),Ao=K.memo($o,X),Eo=K.memo(co,X);export{ba as default};
371
+ `,ba=e=>{const t=B(),a=Z(),[n,i]=S.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:h,analytics:g,onBackClick:m,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:y,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,E=ke(),H=E.loggedInUserRole!=null&&!mt(E.loggedInUserRole),M=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";S.useEffect(()=>{async function T(){await Zt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:y,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...h,reportType:H||M?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),G(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),T())},[h,k,o.filter,n,P,y,o,l,b,g,f,H,M,e.isZeniCOAUsed]);const L=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,W=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=ht([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";S.useEffect(()=>{const T=P||c.mode==="forecast_mode"?3:1;x(P,$,T)},[t]);const C=T=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Qe.Event.search,R(o.reportId),T.type,T.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(T)},{autoCompleteData:Y,autoCompleteActions:q,scrollPosition:ae,...O}=e,I=s.jsx(Xe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:k==="In-Progress"}],onDownloadClick:async T=>{if(T==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(No,{children:[s.jsx(qe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:m,rightSideComponent:I,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:C}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(Je,{size:"Standard",start:!0})}):L?s.jsx(Yt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Ft}):s.jsxs(s.Fragment,{children:[s.jsxs(Lo,{windowSize:t,children:[s.jsx(Eo,{...O}),s.jsx(To,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(zo,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Ao,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},To=K.memo(cs,X),zo=K.memo(ps,X),Ao=K.memo(Co,X),Eo=K.memo(co,X);export{ba as default};
@@ -0,0 +1,12 @@
1
+ import{aw as u,V as o,b6 as b,o as p}from"./index-CRNmezJu.js";import{a as s}from"./sentry-Dla7mstv.js";import{a as h,n as m}from"./mui-mhzAEcDs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="be692db3-22ec-4379-a620-76f1129f2d2c",e._sentryDebugIdIdentifier="sentry-dbid-be692db3-22ec-4379-a620-76f1129f2d2c")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,d]=u(l,r),[t,c]=s.useState(null);a!=null&&t==null&&!d&&c(a);const f=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:f,newYearAnimationEnabled:n,children:o.jsx(b,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ flex-direction: column;
5
+ width: inherit;
6
+ position: absolute;
7
+ top: ${p.sp0};
8
+ z-index: 0;
9
+ height: ${e=>e.newYearAnimationEnabled?"100%":"60vh"};
10
+ opacity: ${e=>e.contextWiseOpacity};
11
+ pointer-events: none;
12
+ `;export{D as v};
@@ -1,4 +1,4 @@
1
- import{aL as y,hv as u,q as $,V as l,o as i,al as c,am as w}from"./index-DQZa93pl.js";import{n as t}from"./mui-CmeRX-VQ.js";import{g as v}from"./BoxItem-Cmrt_yxF-DEJ8WZ3Y.js";import{o as k}from"./commonDimensions-CDU138wy-DgQLDeKn.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="34638211-42c4-4573-90c0-d801e9174336",e._sentryDebugIdIdentifier="sentry-dbid-34638211-42c4-4573-90c0-d801e9174336")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:x,summary:f,direction:m,status:b}=e,g=r.length>0?r:f,a=y("0,0.00",p),s=u(b),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:x?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(P,{windowSize:o,children:m==="debit"?`-${a}`:a})]})]});return l.jsx(v,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aO as y,hA as u,J as $,V as l,o as i,al as c,am as w}from"./index-CRNmezJu.js";import{n as t}from"./mui-mhzAEcDs.js";import{g as k}from"./BoxItem-CQn8-mlp-3WaKvXCN.js";import{o as v}from"./commonDimensions-C0X17W9N-BSrHO4N_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3f5ee237-e4d0-4474-9518-e30f39d46056",e._sentryDebugIdIdentifier="sentry-dbid-3f5ee237-e4d0-4474-9518-e30f39d46056")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:p,logo:f,summary:x,direction:m,status:b}=e,g=r.length>0?r:x,a=y("0,0.00",p),s=u(b),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:f?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(A,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(K,{windowSize:o,children:m==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -49,7 +49,7 @@ import{aL as y,hv as u,q as $,V as l,o as i,al as c,am as w}from"./index-DQZa93p
49
49
  word-break: break-word;
50
50
  text-overflow: ellipsis;
51
51
  overflow: hidden;
52
- `,q=t.div`
52
+ `,A=t.div`
53
53
  display: flex;
54
54
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
55
55
  align-items: center;
@@ -66,11 +66,11 @@ import{aL as y,hv as u,q as $,V as l,o as i,al as c,am as w}from"./index-DQZa93p
66
66
  background-color: ${e=>e.theme.colors.grey1};
67
67
  margin-left: ${i.sp2};
68
68
  margin-right: ${i.sp2};
69
- `,P=t(c)`
69
+ `,K=t(c)`
70
70
  display: -webkit-box;
71
71
  -webkit-box-orient: vertical;
72
72
  -webkit-line-clamp: 1;
73
73
  margin-left: ${i.sp3};
74
74
  text-align: right;
75
- width: ${e=>k.amountWidth.valuePx(e.windowSize)};
75
+ width: ${e=>v.amountWidth.valuePx(e.windowSize)};
76
76
  `;export{H};
@@ -0,0 +1,66 @@
1
+ import{e as M,J as S,V as e,bC as I,b4 as C,hJ as Y,o,O as z,p as u,ct as E,df as F,dg as _,da as L,dh as T,y as B,ai as J,al as R,c as g}from"./index-CRNmezJu.js";import{a as x}from"./sentry-Dla7mstv.js";import{n as a}from"./mui-mhzAEcDs.js";import{bh as V}from"./zeni-epic-state-CSmiPBaP.js";import{$ as A}from"./BoxItem-CQn8-mlp-3WaKvXCN.js";import{o as N}from"./commonDimensions-C0X17W9N-BSrHO4N_.js";import{H as P}from"./DepositAccTransactionItem-B3A_2ZTg-BGji2vDD.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";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="64c748dd-72b6-4b11-af61-0615af2f625d",t._sentryDebugIdIdentifier="sentry-dbid-64c748dd-72b6-4b11-af61-0615af2f625d")}catch{}})();const l=z.getLocalizedStrings(),H={listItemMargin:new B(g[3],g[8])};function O(t){const i=F(t,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return L(d,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const X=Y(O),pt=({transactionListView:t,onBackClick:i})=>{const d=M(),r=S(),m=x.createRef(),p=x.useRef(null),c=X(t.transactions),k=t.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return e.jsx(y,{style:{...h},children:e.jsx(w,{windowSize:r,children:e.jsxs($,{children:[e.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(U,{children:s.transactions.map((D,b)=>e.jsx(P,{data:D,boxType:A(b,s.transactions.length)},b))})]})})})}else return e.jsx(y,{style:{...h},children:e.jsx(q,{children:e.jsx(w,{windowSize:r,children:e.jsx(K,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(G,{children:[e.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx($,{children:e.jsx(C,{children:({height:n,width:h})=>e.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},y=a.div``,w=a.div`
2
+ margin: ${t=>`${o.sp0} ${H.listItemMargin.valuePx(t.windowSize)}`};
3
+ `,q=a.div`
4
+ display: flex;
5
+ height: 100%;
6
+ flex: 1 1 auto;
7
+ flex-direction: row;
8
+ justify-content: center;
9
+ align-items: flex-end;
10
+ `,G=a.div`
11
+ display: flex;
12
+ height: 100%;
13
+ flex-direction: column;
14
+ width: 100%;
15
+ padding-bottom: ${o.sp7};
16
+ `,K=a(R)`
17
+ display: flex;
18
+ color: ${t=>t.theme.colors.grey2};
19
+ `,Q=a(J)`
20
+ display: flex;
21
+ height: 21px;
22
+ margin-bottom: ${o.sp2};
23
+ margin-top: ${o.sp3};
24
+ color: ${t=>t.theme.colors.grey1};
25
+ `,$=a.div`
26
+ display: flex;
27
+ flex-direction: column;
28
+ width: 100%;
29
+ height: 100%;
30
+ `,U=a.div`
31
+ display: flex;
32
+ flex: 1 1 auto;
33
+ flex-direction: column;
34
+ box-shadow: ${t=>`${o.sp0} 2px ${o.sp1} ${t.theme.colors.dropShadowNormal}`};
35
+ border-radius: ${o.sp2};
36
+ background-color: ${t=>t.theme.colors.grey5};
37
+ `,Z=a(E)`
38
+ scrollbar-width: thin;
39
+ scrollbar-color: transparent transparent;
40
+ &::-webkit-scrollbar {
41
+ width: ${o.sp2};
42
+ height: ${o.sp0};
43
+ background-color: transparent;
44
+ }
45
+ &::-webkit-scrollbar-track {
46
+ box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
47
+ -webkit-box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
48
+ background-color: transparent;
49
+ }
50
+ &::-webkit-scrollbar-thumb {
51
+ background-color: transparent;
52
+ }
53
+
54
+ &:hover {
55
+ scrollbar-color: ${t=>t.theme.colors.grey1} transparent;
56
+ &::-webkit-scrollbar {
57
+ width: ${o.sp2};
58
+ height: ${o.sp0};
59
+ background-color: transparent;
60
+ }
61
+ &::-webkit-scrollbar-thumb {
62
+ background-color: ${t=>t.theme.colors.grey1};
63
+ border-radius: 2px;
64
+ }
65
+ }
66
+ `;export{pt as default};
@@ -0,0 +1,21 @@
1
+ import{J as O,a9 as J,O as S,cF as U,aE as q,V as n,cp as G,cq as H,cr as K,ac as Q,aS as X,y as b,eV as Y,o as Z,ba as ee,c as o}from"./index-CRNmezJu.js";import{a as C}from"./sentry-Dla7mstv.js";import{n as h}from"./mui-mhzAEcDs.js";import{bi as T}from"./zeni-epic-state-CSmiPBaP.js";import{e as ne}from"./BankAccountSection-danXlJW--Ci61_HQI.js";import{M as te}from"./MagicLinkTitleSection-CI_X5_g6-DmElUYen.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Byabqq8Z-DlkkUlqm.js";import{T as ie}from"./MailingDetailsSection-C_ZYNZtm-CsF-OIaa.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]="653aa5de-8005-4142-9190-03d1f28bd183",e._sentryDebugIdIdentifier="sentry-dbid-653aa5de-8005-4142-9190-03d1f28bd183")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",j="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:$,isMagicLink:g,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:w}=e,u=O(),c=J({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,V={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>_(d,m))});return()=>{p.unsubscribe()}});const F=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!q(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(G,{titleComponent:n.jsx(K,{children:a.discardTitle}),descriptionComponent:n.jsx(H,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:V}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:$??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(Q,{...c,children:n.jsxs("form",{id:D(B),onSubmit:F,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:j,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:D(B),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[j]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
+ padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
+ padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
+ padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
5
+ padding-bottom: ${e=>i.paddingTopBottom.valuePx(e.size)};
6
+ background: ${e=>e.theme.colors.grey4};
7
+ `,de=h(ee)`
8
+ color: ${e=>e.theme.colors.champion};
9
+ margin-left: ${e=>i.marginLeft.valuePx(e.size)};
10
+ margin-top: ${Z.sp3};
11
+ `,le=h.div`
12
+ display: flex;
13
+ flex-direction: column;
14
+ flex-grow: 1;
15
+ `,ue=h.div`
16
+ background-color: ${e=>e.theme.colors.grey4};
17
+ display: flex;
18
+ flex-direction: column;
19
+ width: 100%;
20
+ height: 100%;
21
+ `;export{xe as w};