@zeniai/web-cockpit-ui 1.14.90-qa → 1.14.91-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 (437) hide show
  1. package/dist/assets/ACHDetailsPage-B6sY0jN6-B0gf8H4B.js +21 -0
  2. package/dist/assets/{AIPerformancePage-DHF_70JI-Byb0JaRY.js → AIPerformancePage-BWK9fXrz-DKsZ1mo0.js} +43 -43
  3. package/dist/assets/AccountInfoPage-DfT5DDiZ-fWZyYCg5.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-nUi26Aww-BYypek4H.js +149 -0
  5. package/dist/assets/AccountLockedInfoModal-BROj4bmE-BVM1T1YI.js +59 -0
  6. package/dist/assets/AccountReconDetailsDrawerPage-C-3FFCQZ-sRbxt9OR.js +239 -0
  7. package/dist/assets/{AccountRow-D2Ypckgj-BVuVsxAI.js → AccountRow-BM2kGWyR-T6iB2hx_.js} +24 -24
  8. package/dist/assets/AccountsPromoCardStack-CNCG5uPJ-CVvmiGCx.js +207 -0
  9. package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-BFBt3SFQ.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CmT5jSb5-BtE7INh2.js → AddToWalletPage-DyrcWdBZ-CvPiU8kF.js} +32 -32
  11. package/dist/assets/{AgingReportsPage-BeUGvj3b-BnHb3lWK.js → AgingReportsPage-CmluxKG3-A44UbSFN.js} +9 -9
  12. package/dist/assets/{AllUserItems-CmlMyz-f-BE3QXVOa.js → AllUserItems-CVZZU-J3-TfKbUj2d.js} +9 -9
  13. package/dist/assets/ApAgingDetailPage-CoNxqskm-DFDFQfze.js +46 -0
  14. package/dist/assets/AppBasePage-CTGNzUtN-DSfPwIJw.js +71 -0
  15. package/dist/assets/AppDrawerContent-59dQVUxu-C64nAWzc.js +91 -0
  16. package/dist/assets/ApprovalRulesSettingsPage-XEW5sdNg-BbhudnSk.js +47 -0
  17. package/dist/assets/ArAgingChart-D3Ym4gVE-BqVBnPwY.js +24 -0
  18. package/dist/assets/ArAgingDetailPage-BLEJSLJJ-DwMAtZnW.js +46 -0
  19. package/dist/assets/AttachmentView-DSP80cjm-UNIl1Ai8.js +101 -0
  20. package/dist/assets/{BankAccountSection-BVZK5jmO-CjTZMznk.js → BankAccountSection-DRrNcA79-hP-Vs5m_.js} +8 -8
  21. package/dist/assets/BankAccountWarningSection-Ub-gsfhE-CrMug0PW.js +51 -0
  22. package/dist/assets/{BankConnectionsSettingsPage-BN3lAARB-B0yEFHuK.js → BankConnectionsSettingsPage-BcTtJTbg-algC_RED.js} +29 -29
  23. package/dist/assets/BillDetailPage-D7AQyxwr-Cr5mMjBH.js +266 -0
  24. package/dist/assets/BillPayApprovalRuleDetailPage-BQWGENO8-OS81cubl.js +27 -0
  25. package/dist/assets/{BillPayApprovalRulesPage-B8HbVvc9-CNKY0-NR.js → BillPayApprovalRulesPage-BbA1Nwqe-BwMbtGVn.js} +17 -17
  26. package/dist/assets/BillPayPromoPage-DSTS_vBW-BNfdixF0.js +84 -0
  27. package/dist/assets/BillPaySetUpPage-CvlVPVCA-C-Yq8DpY.js +42 -0
  28. package/dist/assets/BillingSettingsPage-nKpHtd4C-Bnbrb4t9.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-DNHAoceL-Dw8wGAVZ.js +1 -0
  30. package/dist/assets/BoxItem-Bjv3WNXO-DVhc5wWw.js +53 -0
  31. package/dist/assets/BusinessVerificationPage-Bj4D9bX2-BIO97DuN.js +138 -0
  32. package/dist/assets/CardNumberSubText-BYY-Inxd-BdlFsn4_.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-D3WylWVP-D9Vs2ft8.js → CashbackDetailPage-D9UiTqp9-zR6MfAmm.js} +23 -23
  34. package/dist/assets/{ChargeCardDetailPage-BUsGBwBf-B-LmCTsN.js → ChargeCardDetailPage-C5EdiIyl-DLQH13JM.js} +24 -24
  35. package/dist/assets/{ChargeCardListPage-Jhx05dVV-CgbSqG5e.js → ChargeCardListPage-DZwz1qoD-C4LK4t_r.js} +17 -17
  36. package/dist/assets/{ChargeCardListTable-D-eYWaxh-OyS_l2le.js → ChargeCardListTable-D5B05Z1F-BFq9lu6-.js} +21 -21
  37. package/dist/assets/ChargeCardPromoPage-CDJMtGJb-BonChypf.js +222 -0
  38. package/dist/assets/ChargeCardSetupPage-CVV24gS9-Bz9Vbd0f.js +36 -0
  39. package/dist/assets/ChargeCardStatementsPage-CmjBoi5e-CP137h_S.js +60 -0
  40. package/dist/assets/CheckDepositDrawerPage-CYOhT5Qz-Ctri9wNN.js +206 -0
  41. package/dist/assets/{CollapsableReportTable-I40BZv7o-d2_h6r8O.js → CollapsableReportTable-hL_Ycouc-B8J7Q_nq.js} +81 -81
  42. package/dist/assets/{CompanyOfficerDetailsSection-ChsNKXbx-BF5MOIbR.js → CompanyOfficerDetailsSection-DR_6TlQa-eD8A7jcO.js} +23 -23
  43. package/dist/assets/CompanyPassportCard-B4chn7-Q-D5SPmBv_.js +42 -0
  44. package/dist/assets/{CompanyPassportPage-DG1Fa_Uw-Dkbt-nxV.js → CompanyPassportPage-oT9HnnPQ-SX0lC40Z.js} +136 -136
  45. package/dist/assets/CompleteProfile-BgH4v76Z-8UAVvvgt.js +52 -0
  46. package/dist/assets/ConfettiBurst-Cl6jHJ8H-LC2meCe-.js +1 -0
  47. package/dist/assets/{CreateOrEditVendorPage-DVzMO96w-D2_PioHE.js → CreateOrEditVendorPage-CW-u7pJU-p324jU3k.js} +16 -16
  48. package/dist/assets/CreditCardPaymentDrawerPage-D30M7ol4-DoXJ5bDN.js +224 -0
  49. package/dist/assets/CurrencySelectField-DOCEstMc-DZU689ma.js +139 -0
  50. package/dist/assets/CustomerOnboardingActivationPage-DMPNjFL_-ku4Vuy0S.js +88 -0
  51. package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTgF2r26.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C4Z1pDVe-BqoeEQuE.js → CustomerOnboardingDetailPageSkeleton-CBYo4VQn-Dn7fU-s8.js} +20 -20
  53. package/dist/assets/CustomerOnboardingNoStepsPage-EBVRCYfJ-CfvYqECa.js +66 -0
  54. package/dist/assets/{CustomerOnboardingPage-C3FgZjAN-BMoiiOVQ.js → CustomerOnboardingPage-TJK6s-LM-BKRL2lJB.js} +10 -10
  55. package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-PR2itKHa.js +202 -0
  56. package/dist/assets/{Dashboard-D_oTtu1--DmU_Kxzw.js → Dashboard-WiE9IRrh-Cv0kOt8p.js} +63 -63
  57. package/dist/assets/{DashboardReportPage-Dprj3eUQ-BvCOtKTf.js → DashboardReportPage-BKHl_IVD-C4Ea2qys.js} +21 -21
  58. package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-BrrhB9xn.js +12 -0
  59. package/dist/assets/{DepositAccTransactionItem-C2oP415b-fO_vukRP.js → DepositAccTransactionItem-C8tChaJS-DUssbHtI.js} +12 -12
  60. package/dist/assets/DepositAccTransactionListPage-B6px7upV-CeIhvwtb.js +66 -0
  61. package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-RX-JpFy3.js +21 -0
  62. package/dist/assets/{DownloadOverlay-BwddFmV2-TXwTh2dm.js → DownloadOverlay-DB-qx46O-j8z4pSob.js} +90 -90
  63. package/dist/assets/DrawerPage-Bha9ElcW-B8Be3mMf.js +118 -0
  64. package/dist/assets/EditPeoplePage-B6QD5Vld-jl0Ywq6s.js +55 -0
  65. package/dist/assets/{EditReimbursementDetailPage-DwCiVkeu-CHb4Vx_R.js → EditReimbursementDetailPage-EplOf2mP-0BJtsB6D.js} +20 -20
  66. package/dist/assets/EntityDetailPage-5Cu1qehd-DbU14HUf.js +18 -0
  67. package/dist/assets/EntitySummarySection-D6z6-dM7-CxR6H9p6.js +149 -0
  68. package/dist/assets/{ExpenseAutomationOverviewPage-hl_3Pc0g-DYxAAMa6.js → ExpenseAutomationOverviewPage-DkoxczRc-Nhh5EsPg.js} +27 -27
  69. package/dist/assets/ExpenseAutomationPage-Na3XKgcg-v_T_dNPC.js +1650 -0
  70. package/dist/assets/{ExpressPayPage-BpfkmJ_I-Cr6J8360.js → ExpressPayPage-DWGl_gml-BK4q9z9-.js} +19 -19
  71. package/dist/assets/FeaturePreviewPage-BgkpUPMm-CjuE-Vy6.js +11 -0
  72. package/dist/assets/{FollowStepsSection-Bu3RG_GH-1o9BWCUV.js → FollowStepsSection-64oy2OLD-mYi4qCkY.js} +23 -23
  73. package/dist/assets/{GlobalReviewListPage-D4BD7q-I-IVn_04O3.js → GlobalReviewListPage-DHfTyj2C-jQOPvWvS.js} +48 -48
  74. package/dist/assets/{InformationCardStack-B9wnkR3p-InW9f_7k.js → InformationCardStack-Dw3lhl2I-7einUDdd.js} +8 -8
  75. package/dist/assets/InsightsCardStack-BiEswY1Z-B0ppu_rT.js +79 -0
  76. package/dist/assets/InsightsSection-DvqCilqy-J94KiGaL.js +27 -0
  77. package/dist/assets/IntegrationsSettingsPage-DzVYf5ff-EFzWzTcS.js +57 -0
  78. package/dist/assets/InternationalWireSwiftDetailsPage-DTHcuQsH-DCnTBpNn.js +171 -0
  79. package/dist/assets/{InternationalWireVerificationPage-B8AOwcSX-O5d4_jx5.js → InternationalWireVerificationPage-BzyRqd-m-CtMekcQE.js} +13 -13
  80. package/dist/assets/InviteFormPage-CaJB3ss1-BX5i7EqT.js +312 -0
  81. package/dist/assets/{InvitePageListView-Dw8kwEFd-BOBOJq-T.js → InvitePageListView-8Ltt8tHx-CtYoDyrk.js} +49 -49
  82. package/dist/assets/InvitePeoplePage-A7oKAD7M-BQc_PdIV.js +12 -0
  83. package/dist/assets/InvoiceUploadSection-DomquLut-e92SA0tf.js +140 -0
  84. package/dist/assets/{IssueChargeCardPage-fumweN4Y-CbGa-1Sy.js → IssueChargeCardPage-DtIQ1Buk-DjM4t17X.js} +8 -8
  85. package/dist/assets/LabeledAddressValue-B_9lh-_a-DIizmhzb.js +49 -0
  86. package/dist/assets/LabeledAddressValueField-CC7T3qZQ-m9gvzhHo.js +45 -0
  87. package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-mZLzoQGL.js +16 -0
  88. package/dist/assets/{LabeledCreatableSingleSelectField-CnQsTYWe-BNKI3sBW.js → LabeledCreatableSingleSelectField-DKD0oEl8-gq-eDRMt.js} +12 -12
  89. package/dist/assets/LabeledDocumentField-Dy3jwAiL-49YAoImC.js +41 -0
  90. package/dist/assets/LabeledDropDownFormattedTextField-DDzM3r6s-ECrfBFdw.js +59 -0
  91. package/dist/assets/LabeledText-axaAGyUS-Dng_AeMD.js +42 -0
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CSEiKb8M-DUVObrd4.js → LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-Bns3vXLL.js} +17 -17
  93. package/dist/assets/{LabeledZeniRolesDropDownField-CS_oKjBG-BYrCH7sg.js → LabeledZeniRolesDropDownField-dpz7g9jK-BS9FUIQq.js} +26 -26
  94. package/dist/assets/LinkJETransactionPage-CJniqVcu-DlmRVmek.js +98 -0
  95. package/dist/assets/{LockCardPage-DqQGGac2-DNRrTsHA.js → LockCardPage-CjO8cr2a-_f0132IP.js} +42 -42
  96. package/dist/assets/LowBalancePopup-DVS-w3b7-DP0lgN2T.js +34 -0
  97. package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-B4JK6Tsk.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-CjkHVZHo.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BFgoRuDp.js +1 -0
  100. package/dist/assets/MagicLinkSuccessPage-DAAoq3iT-c3oKtr_f.js +31 -0
  101. package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BOWrScDm.js +17 -0
  102. package/dist/assets/MailingDetailsSection-CiJ5JLA6-DddwOxAo.js +21 -0
  103. package/dist/assets/Menu-wpP8R1br-CxnIQs8p.js +17 -0
  104. package/dist/assets/MyBankConnectionsSettingsPage-DIIFgnkE-CogNLqVY.js +110 -0
  105. package/dist/assets/MyPendingActivationChargeCardListPage-Di_KYRgS-DRNBLhDG.js +6 -0
  106. package/dist/assets/MyProfileSettingsPage-m6vaeGgZ-chnTYzOu.js +85 -0
  107. package/dist/assets/NavBarWithPicker-C_qO8mgD-DUpFfabv.js +30 -0
  108. package/dist/assets/{NavigationArrow-Z9PgxZ-c-2tqZ4Fw-.js → NavigationArrow-BXYIj6Wz-DziJLhPd.js} +7 -7
  109. package/dist/assets/NavigationDots-BvKSgdgh-LQiuRx4x.js +15 -0
  110. package/dist/assets/{NewGlobalMerchantPage-YsnX4uQU-D0h-bx1p.js → NewGlobalMerchantPage-Dc3xEoiZ-C2aDiu95.js} +19 -19
  111. package/dist/assets/NoDataChart-C5ZP32zB-Co6FSXzL.js +26 -0
  112. package/dist/assets/NoDataTable-BnBYE8p_-CiELOEE2.js +8 -0
  113. package/dist/assets/NotFoundPage-CZ25GWwU-BIBXUzqs.js +46 -0
  114. package/dist/assets/{NotificationSettingsPage-DlU2NxiC-Dm2QaTZo.js → NotificationSettingsPage-DHvgj7Hu-D3suXG--.js} +28 -28
  115. package/dist/assets/NotificationsListConfig-BBLSv0sd-C4KCM8pw.js +1 -0
  116. package/dist/assets/{NotificationsPage-q0bK_5gs-jK6e_Uyw.js → NotificationsPage-CGVEC-Zc-C8fq9c_9.js} +34 -34
  117. package/dist/assets/{OpExByVendorPage-Boc7U8eu-CVJq9vF2.js → OpExByVendorPage-D55JZne--D9xmj7rz.js} +24 -24
  118. package/dist/assets/OverlayContainerPage-Daz3A7cI-D6qPPmeQ.js +11 -0
  119. package/dist/assets/{PandLWithForecastPage-B2eGvFPp-BaY0fBnf.js → PandLWithForecastPage-fVmttEKP-D6Evs_k0.js} +12 -12
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BP-_59EO-hGRsM6bI.js → PaymentAccountSetupBillingAddressSection-BiU8tQnm-4Kl9uXwr.js} +22 -22
  121. package/dist/assets/{PeoplePage-YMfZIga6-BEib8XAV.js → PeoplePage-QuuuX2AS-CUwuNLCQ.js} +13 -13
  122. package/dist/assets/Preview-D0lKYz6_.js +1 -0
  123. package/dist/assets/ProductsCarousel-zdZkfaiY-CKycG9Wt.js +142 -0
  124. package/dist/assets/{PromoBaseCards-CmOYEhSO-bExxN6kp.js → PromoBaseCards-flFtcbIg-iLyc6jwq.js} +14 -14
  125. package/dist/assets/QBOConnectionDialog-DNB2C1vQ-B6h7mZJt.js +51 -0
  126. package/dist/assets/QBOSetupSection-B59etoGz-Dx4Hkrje.js +79 -0
  127. package/dist/assets/ReimbursementApprovalRuleDetailPage-D7do3o0A-DaR0xdJA.js +32 -0
  128. package/dist/assets/{ReimbursementApprovalRulesPage-BkuYJ6qb-7dFuSzMb.js → ReimbursementApprovalRulesPage-BJ6GewQ2-D7efVmkv.js} +33 -33
  129. package/dist/assets/ReimbursementDetailPage-DKAtYSOy-C-uqjyM_.js +314 -0
  130. package/dist/assets/ReimbursementPromoPage-DKcSHlHp-XcrUKScH.js +84 -0
  131. package/dist/assets/ReimbursementSetUpPage-Y1e_hna--rh2VyUST.js +140 -0
  132. package/dist/assets/ReimbursementsBulkReviewDrawerPage-fgz8s4w9-CzZAxGly.js +1 -0
  133. package/dist/assets/ReloadCard-DjtdPHq5-BoSxtWCb.js +26 -0
  134. package/dist/assets/ReportTableViewSelector-C8e6IEWt-BJN3fro7.js +150 -0
  135. package/dist/assets/{ReportsPage-iJDifG6q-CYAyIPrv.js → ReportsPage-BIe0eDLC-D5ygJVqP.js} +12 -12
  136. package/dist/assets/{RevenueChart-BbOK-HCB-C8qpvMvb.js → RevenueChart-Cc0XrxLL-BB6kfchw.js} +35 -35
  137. package/dist/assets/ReviewDetailsPage-CU1AYWgR--SOiatSS.js +290 -0
  138. package/dist/assets/ReviewOverlay-CruJ9O84-BdMFQyaH.js +152 -0
  139. package/dist/assets/RoleWithToolTip-fC3byzzv-DteZC2-q.js +22 -0
  140. package/dist/assets/ScheduleDetailsFixedAssetsPage-CE3tUYhk-Aj3mnuFr.js +37 -0
  141. package/dist/assets/ScheduleDetailsPage-BhAqJ1Of-BNYzMpaE.js +37 -0
  142. package/dist/assets/{ScheduleSequenceTable-Bb7MJ-zJ-BYUE2OMk.js → ScheduleSequenceTable-NSt1juSD-BtySotUK.js} +21 -21
  143. package/dist/assets/ScreenRoutes-Ofrn7XPK.js +201 -0
  144. package/dist/assets/SetUpAccountSection-C1EnJv1V-nWkvB51T.js +378 -0
  145. package/dist/assets/SignIn-BhIof_Cm-Stp0fHNQ.js +463 -0
  146. package/dist/assets/SignInScreen-ApNcuhAj.js +1 -0
  147. package/dist/assets/SpendManagementListViewPage-BEWNNX_Z-Qf8TDCkQ.js +123 -0
  148. package/dist/assets/{SpendManagementPerTabPage-HzCmGr0--xZeoOzCY.js → SpendManagementPerTabPage-Vs1Eoxgd-DGhcXeqs.js} +43 -43
  149. package/dist/assets/{SpendManagementSection-LzT-Bnhy-7KIDrHzn.js → SpendManagementSection-C38Zpi1z-Hvu4v5m7.js} +16 -16
  150. package/dist/assets/StatementItem-bHInVThd-BfGU3kqj.js +31 -0
  151. package/dist/assets/StatementsPage-CGQhmaXx-CVtkQqM2.js +58 -0
  152. package/dist/assets/{StatusSwitcher-BPKr5BUW-iZy1SY4R.js → StatusSwitcher-7fiKLb5g-cQtYU__8.js} +10 -10
  153. package/dist/assets/{SubTabSwitcher-4dvyyQSv-B0aTRMDP.js → SubTabSwitcher-9AnfZiNy-CobTdTqd.js} +8 -8
  154. package/dist/assets/SummaryCard-DOycYLs1-BLeRuOD7.js +1 -0
  155. package/dist/assets/{TaskManagementPage-BiyyDIWi-DOn8-w1u.js → TaskManagementPage-CehyMnY0-BwJtO-U4.js} +29 -29
  156. package/dist/assets/TimeRangeSwitcher-Dq2FEgFR-DmMi5La_.js +64 -0
  157. package/dist/assets/{TimeframeSwitcher-u606tI8Z-CLiEbUCN.js → TimeframeSwitcher-By3xz_-m-1CBF6COV.js} +4 -4
  158. package/dist/assets/TimeframeSwitcherWithToggle-a3fmbzNR-B9R7QlVw.js +31 -0
  159. package/dist/assets/TopExCard-GEQpp_KY-74e79UYx.js +38 -0
  160. package/dist/assets/{TopExDetailPage-Cla8Hd-1-DK-xuoZs.js → TopExDetailPage-hid1dQYl-WgHXC6hE.js} +31 -31
  161. package/dist/assets/{TransactionDetailPage-BbjtQvBr-FXHAHiFr.js → TransactionDetailPage-CX4JW9WM-DyZTJ1bq.js} +44 -44
  162. package/dist/assets/TransactionList-BixeXh4Y-Il163hc_.js +147 -0
  163. package/dist/assets/{TransactionListBig-BOeu4-R4-o6UH9k2V.js → TransactionListBig-CGMMJQBd-KQNhkGbE.js} +25 -25
  164. package/dist/assets/TransactionListPage-CBVUTX4y-DWsla1LN.js +35 -0
  165. package/dist/assets/TransactionVendorDetailPage-CEbHH_0r-CS6QQqEG.js +80 -0
  166. package/dist/assets/{TransferDrawerPage-BTqCR3Hb-BWfDRvEr.js → TransferDrawerPage-BFd7uQnF-AGu3EQB7.js} +19 -19
  167. package/dist/assets/{TreasuryOverviewPage-CDJtsQsC-BAM2Gg0T.js → TreasuryOverviewPage-Bd58hOy8-P3TIcDYG.js} +50 -50
  168. package/dist/assets/{TreasuryPromoPage-Bqt6DcqL-CXIyIitA.js → TreasuryPromoPage-BvArufHi-B6OSOn5z.js} +10 -10
  169. package/dist/assets/TreasuryStatementsPage-YLCEBbRh-BeAedV0-.js +58 -0
  170. package/dist/assets/TreasuryTaxLetterPage-D_6mgQqi-CO3HXioV.js +58 -0
  171. package/dist/assets/TrendChart-D3dT6hUb-CRyvw86n.js +16 -0
  172. package/dist/assets/TrendWithTransactions-Gj-u5KXi-CpckXM1N.js +116 -0
  173. package/dist/assets/{UncategorizedAccountsMappingPage-CFx4P194-BZZ4iMs4.js → UncategorizedAccountsMappingPage-B3eRYolj-D-Jwo7-l.js} +10 -10
  174. package/dist/assets/UnitIntegrationPage-DpjR9hUu-BIdCIf5k.js +67 -0
  175. package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DBj80beJ.js +38 -0
  176. package/dist/assets/Vendor2FAPopup-C85mhuSb-SCWhQlz7.js +1 -0
  177. package/dist/assets/VendorACHDetailsPage-DeexeWpV-CvETHK8j.js +1 -0
  178. package/dist/assets/{VendorDetailPage-Dy9McuGu-d-ZpZ6aU.js → VendorDetailPage-BrbKfsL4-BYuDBwtU.js} +100 -100
  179. package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-4iWeRYsC.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-Y0hGO4RH-BToJSlm-.js → VendorFiling1099EditablePage-DgBLn3fd-DyXTQ39Q.js} +11 -11
  181. package/dist/assets/{VendorFirstReviewPage-C-pT1M36-D4-Nv1Fg.js → VendorFirstReviewPage-jc7-OExI-CcNlKzIr.js} +66 -66
  182. package/dist/assets/{VendorInternationalWireDetailsPage-CCMramET-BwYsNdGo.js → VendorInternationalWireDetailsPage-c6isgwH2-CfXEdhbK.js} +11 -11
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BWyYdePs.js +1 -0
  184. package/dist/assets/VendorsAccountsSection--VfdAF3H-aooc9xax.js +68 -0
  185. package/dist/assets/VerifyDevice-CaifjdR8-CqDImdvA.js +112 -0
  186. package/dist/assets/VideoPlayer-BVR9LPmm-Cf1X7mgb.js +78 -0
  187. package/dist/assets/VideoPopup-BEXc8o78-CxvDyO3n.js +31 -0
  188. package/dist/assets/WarningsDrawerPage-CboqfxzC-BsdL63Q1.js +92 -0
  189. package/dist/assets/{ZeniAccountDetailPage-BF8cg2oa-Df5W17bc.js → ZeniAccountDetailPage-Dujj0-XC-Bs0_mCxO.js} +33 -33
  190. package/dist/assets/{ZeniAccountListViewPage-BkdkYY8j-Bvi6PCOk.js → ZeniAccountListViewPage--SMJDGvC-B9VB-g9k.js} +18 -18
  191. package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-B6EqVL37.js +14 -0
  192. package/dist/assets/{ZeniAccountPromoPage-COAOIU03-B_FVyXMi.js → ZeniAccountPromoPage-BVjJvWsA-D_izrQ3u.js} +29 -29
  193. package/dist/assets/ZeniAccountSetupPage-Dvxst8RT-Dw_0q67c.js +36 -0
  194. package/dist/assets/ZeniCopyright-B88k3pkr-D_GBhPtz.js +1 -0
  195. package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-D_vM8ORb.js +63 -0
  196. package/dist/assets/add-to-wallet-DgdBD8_G-DvwlYBb0.js +1 -0
  197. package/dist/assets/agingReportHelper-ovKP-qSS-Cx4Hdid-.js +1 -0
  198. package/dist/assets/{analytics-DGBWhVbe.js → analytics-CHPpxU3b.js} +2 -2
  199. package/dist/assets/analyticsHelper-D88-Oppk.js +1 -0
  200. package/dist/assets/analyticsHelper-DmujELNG-B2_5NV-p.js +1 -0
  201. package/dist/assets/arrow-south-east-round-PEovUgvH-D9klpzRU.js +1 -0
  202. package/dist/assets/auto-transfer-rule-mbafm5D3-CHCjFoIN.js +1 -0
  203. package/dist/assets/chartTypes-DRiSljvE-CN4L62GH.js +1 -0
  204. package/dist/assets/commonDimensions-BDftm0gJ-DyUDFvZC.js +1 -0
  205. package/dist/assets/constants-B4Ak6U9p.js +1 -0
  206. package/dist/assets/{core-B-FNbYlu.js → core-CA3j8Axi.js} +13 -13
  207. package/dist/assets/{dash.all.min-BBsvkPzr.js → dash.all.min-Bzta_mrR.js} +11 -11
  208. package/dist/assets/detailCommon-BGgE4mE3-D-w4kHC7.js +38 -0
  209. package/dist/assets/downloadPdf-DCQ9vVZs-Be80rXL-.js +1 -0
  210. package/dist/assets/empty-CrPfQgao.js +1 -0
  211. package/dist/assets/empty-Dn000SHy.js +1 -0
  212. package/dist/assets/epic-C_I3d-Sx.js +2 -0
  213. package/dist/assets/getReferrerType-DjPOy76W-DRP5VHem.js +1 -0
  214. package/dist/assets/gift-box-Cmt9OgIZ-eSACml6z.js +1 -0
  215. package/dist/assets/graphic-no-data-l-DU4J8fDt-BzIPOWHn.js +1 -0
  216. package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-CtBcTNoa.js +1 -0
  217. package/dist/assets/handshake-BPg58FML-DvA7MfJg.js +1 -0
  218. package/dist/assets/{hls-BA0yQjS5.js → hls-SyH7Grr1.js} +1 -1
  219. package/dist/assets/{index-piC0sJHK.js → index-BG_bOyH4.js} +57 -57
  220. package/dist/assets/index-BWZriWwb.js +1 -0
  221. package/dist/assets/index-BiiqfeFx.js +39 -0
  222. package/dist/assets/index-C-ypGNlB.js +1 -0
  223. package/dist/assets/index-C4-PHmb9.js +1 -0
  224. package/dist/assets/index-C5fdNIhc.js +1 -0
  225. package/dist/assets/{index-Dm9r1f6s.js → index-DJLrbf0F.js} +4190 -4191
  226. package/dist/assets/lexical-dZFDzIA1.js +21 -0
  227. package/dist/assets/{liveblocks-BBTLClA6.js → liveblocks-C2I4vRCJ.js} +15 -15
  228. package/dist/assets/{lottie-gmZDfwf4.js → lottie-B7mXQ-R-.js} +1 -1
  229. package/dist/assets/mapLoadingInProgressToTreeNode-CXP8ZZTG-DkaL-N2A.js +1 -0
  230. package/dist/assets/mapSectionWithAcOnlyToTreeNode-BZSP-VcP-BuUbTOqM.js +1 -0
  231. package/dist/assets/mapSpacerToTreeNode-Bc1S_1ej-BOT7FVTB.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-ClgcHX26-Cs9gyyXd.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-Cwp98PMa-tz5P0V5W.js +1 -0
  234. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-Bmf8af15.js +1 -0
  235. package/dist/assets/{mixin-D3UDm--6.js → mixin-BPAPQfSE.js} +3 -3
  236. package/dist/assets/{mui-DLNyBjYF.js → mui-DpJXlk4t.js} +5 -5
  237. package/dist/assets/page-detail-CWX5S47F-Byx36A1h.js +1 -0
  238. package/dist/assets/radio-default-CiSgisfh-HcY1qXLg.js +1 -0
  239. package/dist/assets/react-B2Dtpj08.js +29 -0
  240. package/dist/assets/react-B7zczQTC.js +17 -0
  241. package/dist/assets/react-BuuImry8.js +44 -0
  242. package/dist/assets/react-C5CamjHm.js +16 -0
  243. package/dist/assets/react-CurU10nF.js +37 -0
  244. package/dist/assets/{react-BiH01iGK.js → react-D9gRIIQJ.js} +3 -3
  245. package/dist/assets/react-KsUvriAa.js +31 -0
  246. package/dist/assets/{react-2VG2yH4x.js → react-PdDuKQQV.js} +2 -2
  247. package/dist/assets/{recharts-Cnl2EvUV.js → recharts-BGdJnVo5.js} +1 -1
  248. package/dist/assets/{sentry-EYLV4XmG.js → sentry-BA4piVNf.js} +19 -19
  249. package/dist/assets/shield-DOlUxcFf-DciCHlJY.js +1 -0
  250. package/dist/assets/toCOABalancesWithID--oEGymMJ-DrPkDPTu.js +1 -0
  251. package/dist/assets/toChartData-CavJzP6f-B2iIF7nP.js +1 -0
  252. package/dist/assets/transaction-placeholder-CpOwZAMG-2yCTNaDx.js +1 -0
  253. package/dist/assets/types-DyvtCprH-NFPm5TaG.js +1 -0
  254. package/dist/assets/{uploadAttachment-CeUHLpzO-C_J8w5W4.js → uploadAttachment-BuVCsq0Q-BB-5S1Qg.js} +12 -12
  255. package/dist/assets/uploadReceipts-CPw64UYa-DU-gRzOR.js +1 -0
  256. package/dist/assets/url-Bq2XNMnM.js +1 -0
  257. package/dist/assets/url-RUB1rBsd.js +6 -0
  258. package/dist/assets/useLongPress-GCK2COYQ-Ch-mrcwO.js +1 -0
  259. package/dist/assets/usp-line-BBd1wKwW-BZdA9pHf.js +1 -0
  260. package/dist/assets/{utils-D1zwltK3.js → utils-DUsHM-Uc.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-HWtMOH-U.js → zeni-epic-state-CQt4n3Xe.js} +32 -32
  262. package/dist/index.html +1 -1
  263. package/package.json +15 -13
  264. package/dist/assets/ACHDetailsPage-BUP-_2-W-gKUKs0Pb.js +0 -21
  265. package/dist/assets/AccountInfoPage-pmUIckJ9-CAlO-FHB.js +0 -18
  266. package/dist/assets/AccountInfoPageContent-DLSL1NNm-CTMQNQY3.js +0 -149
  267. package/dist/assets/AccountLockedInfoModal-Bq3y0K0F-Caep-eEi.js +0 -59
  268. package/dist/assets/AccountReconDetailsDrawerPage-CGcZO_qz-DphTR8AG.js +0 -239
  269. package/dist/assets/AccountsPromoCardStack-BVVDCW1H-CHjSEilj.js +0 -207
  270. package/dist/assets/AddAddressForCardDrawer-C8aENofu-_B3noxtJ.js +0 -6
  271. package/dist/assets/ApAgingDetailPage-Dz1_N0Yw-TUc4-BfW.js +0 -46
  272. package/dist/assets/AppBasePage-DX4EGGcT-CA5JIcq8.js +0 -71
  273. package/dist/assets/AppDrawerContent-Brg3Rw4K-Du3ev71U.js +0 -91
  274. package/dist/assets/ApprovalRulesSettingsPage-Bn7KrUl2-C_CZXQYN.js +0 -47
  275. package/dist/assets/ArAgingChart-DQZtCsHS-zcjxKJqm.js +0 -24
  276. package/dist/assets/ArAgingDetailPage-BtF6K5dA-CM34YcdM.js +0 -46
  277. package/dist/assets/AttachmentView-DgPySmB8-B41pIkR9.js +0 -101
  278. package/dist/assets/BankAccountWarningSection-DHdeDi15-M9LQMU5u.js +0 -51
  279. package/dist/assets/BillDetailPage-BuUm6vdf-BEfZuL72.js +0 -266
  280. package/dist/assets/BillPayApprovalRuleDetailPage-BXSdsF2E-BZdDia51.js +0 -27
  281. package/dist/assets/BillPayPromoPage-DkoqXDNt-Jx7NR9vs.js +0 -84
  282. package/dist/assets/BillPaySetUpPage-BommXkLS-CxAPQ6nt.js +0 -42
  283. package/dist/assets/BillingSettingsPage-gHbc5Kq3-6eOgIWo-.js +0 -44
  284. package/dist/assets/BillsBulkReviewDrawerPage-C541rBnx-CpMaFNun.js +0 -1
  285. package/dist/assets/BoxItem-usHxaONy-yqmV2_EE.js +0 -53
  286. package/dist/assets/BusinessVerificationPage-CLsxXy9d-ThEm2-hv.js +0 -138
  287. package/dist/assets/CardNumberSubText-D_fWhc_K-C63mXt5C.js +0 -21
  288. package/dist/assets/ChargeCardPromoPage-CzR82VtA-C4AU7pmq.js +0 -222
  289. package/dist/assets/ChargeCardSetupPage-Ctz8PCuu-CQ_qZ7MK.js +0 -36
  290. package/dist/assets/ChargeCardStatementsPage-EUtRTAX2-C_GDwTRC.js +0 -60
  291. package/dist/assets/CheckDepositDrawerPage-B7DC0HAi-p07KcTOW.js +0 -206
  292. package/dist/assets/CompanyPassportCard-82bbFwk--CB88G7Qo.js +0 -42
  293. package/dist/assets/CompleteProfile-B7bQqLQH-3BvSCHX1.js +0 -52
  294. package/dist/assets/ConfettiBurst-DUyIBnw4-Bzth-g3m.js +0 -1
  295. package/dist/assets/CreditCardPaymentDrawerPage-C03hfKGc-CNfSxnSZ.js +0 -224
  296. package/dist/assets/CurrencySelectField-2hU3oIp_-C4bLV2kj.js +0 -139
  297. package/dist/assets/CustomerOnboardingActivationPage-Dt-Nml2t-B6WqU8lr.js +0 -88
  298. package/dist/assets/CustomerOnboardingContainerPage-Dt-_tVOQ-UhKf7bOm.js +0 -1
  299. package/dist/assets/CustomerOnboardingNoStepsPage-CwI8nL61-fFJJ4fRN.js +0 -66
  300. package/dist/assets/CustomerOnboardingProductSuitePage-BOYu-82S-CVVsk6ik.js +0 -202
  301. package/dist/assets/DashboardSidebarBackgroundAnimation-C6SQaB7q-Dxl5QlMk.js +0 -12
  302. package/dist/assets/DepositAccTransactionListPage-DCvdqAz1-B_wb_nSG.js +0 -66
  303. package/dist/assets/DomesticWireDetailsPage-Da_3EveP-BRE1nKx5.js +0 -21
  304. package/dist/assets/DrawerPage-CGrnrvf2-C0F2USa4.js +0 -118
  305. package/dist/assets/EditPeoplePage-DMgxG2Gd-CCtVDE58.js +0 -55
  306. package/dist/assets/EntityDetailPage-BcRVEfi5-CepotlTP.js +0 -18
  307. package/dist/assets/EntitySummarySection-BaHHLLkE-Drrfo_tg.js +0 -149
  308. package/dist/assets/ExpenseAutomationPage-D70ghitX-sSwqGXv6.js +0 -1650
  309. package/dist/assets/FeaturePreviewPage-Bzi8Bpk3-Drk_uxAx.js +0 -11
  310. package/dist/assets/InsightsCardStack-C1_rd2Sb-Dhs19DDG.js +0 -79
  311. package/dist/assets/InsightsSection-7-T67WeF-R1I0UTTj.js +0 -27
  312. package/dist/assets/IntegrationsSettingsPage-C9YpvDgg-q-aOCVtI.js +0 -57
  313. package/dist/assets/InternationalWireSwiftDetailsPage-C5mI8dEh-B0sOCS9F.js +0 -171
  314. package/dist/assets/InviteFormPage-DuBhhnre-BDO1iW13.js +0 -312
  315. package/dist/assets/InvitePeoplePage-BI_vd7xw-BK1DYXv5.js +0 -12
  316. package/dist/assets/InvoiceUploadSection-9DaovMq8-nY-DuZwJ.js +0 -140
  317. package/dist/assets/LabeledAddressValue-cNf6hI1l-BswrPJcJ.js +0 -49
  318. package/dist/assets/LabeledAddressValueField-CoTtV0RQ-oEM2MjQO.js +0 -45
  319. package/dist/assets/LabeledControlledCheckBoxField-DQwUvKR2-CCQx34pM.js +0 -16
  320. package/dist/assets/LabeledDocumentField-MkryOLQ8-DH1KAWxk.js +0 -41
  321. package/dist/assets/LabeledDropDownFormattedTextField-B-yUtgxR-Svg2dZ6s.js +0 -59
  322. package/dist/assets/LabeledText-BJ3Zvb5p-ndTmW7U8.js +0 -42
  323. package/dist/assets/LinkJETransactionPage-BsszwFNq-CVlh2hC9.js +0 -98
  324. package/dist/assets/LowBalancePopup-BFo5zRk3-mdHe1dcy.js +0 -34
  325. package/dist/assets/MagicLinkACHDetailsPage-wYa3cyyZ-tz2BvffR.js +0 -1
  326. package/dist/assets/MagicLinkDomesticWireDetailsPage-CW4RNKOV-CtiYd2c1.js +0 -1
  327. package/dist/assets/MagicLinkInternationalWireDetailsPage-CX9SeCLl-HVNLuX22.js +0 -1
  328. package/dist/assets/MagicLinkSuccessPage-Dipq1-St-CbeB13LZ.js +0 -31
  329. package/dist/assets/MagicLinkTitleSection-DnN52Uwb-Cs_fy5V9.js +0 -17
  330. package/dist/assets/MailingDetailsSection-DwNF-L2Y-DrhhdeyV.js +0 -21
  331. package/dist/assets/Menu-D0jF6uaE-063ttLpF.js +0 -17
  332. package/dist/assets/MyBankConnectionsSettingsPage-DpM6MKBq-E1-nhC0K.js +0 -110
  333. package/dist/assets/MyPendingActivationChargeCardListPage-BaT55Pwg-Ag6G6vZu.js +0 -6
  334. package/dist/assets/MyProfileSettingsPage-kD1dY6P6-BfZFNoxD.js +0 -85
  335. package/dist/assets/NavBarWithPicker-D-WQJ-tG-Cy7zBv5q.js +0 -30
  336. package/dist/assets/NavigationDots-BT-m0FmS-COkqBkfX.js +0 -15
  337. package/dist/assets/NoDataChart-DMivligx-CY99ibCB.js +0 -26
  338. package/dist/assets/NoDataTable-DwOJY23X-0CWxLk-0.js +0 -8
  339. package/dist/assets/NotFoundPage-DuKXpHos-CG3u4rQy.js +0 -46
  340. package/dist/assets/NotificationsListConfig-BQCb9x9X-CKZiM7oL.js +0 -1
  341. package/dist/assets/OverlayContainerPage-CrZuT2Jj-CY2cJwH_.js +0 -11
  342. package/dist/assets/Preview-BszQHI_F.js +0 -1
  343. package/dist/assets/ProductsCarousel-CUaU5-V7-DTCkPx2F.js +0 -142
  344. package/dist/assets/QBOConnectionDialog-BNiXUEAk-O1EeGUUa.js +0 -51
  345. package/dist/assets/QBOSetupSection-CjjNFfgF-hqHet92Q.js +0 -79
  346. package/dist/assets/ReimbursementApprovalRuleDetailPage-tP7WcKvd-47DORnA2.js +0 -26
  347. package/dist/assets/ReimbursementDetailPage-D5IzqJS5-B19mA4vu.js +0 -314
  348. package/dist/assets/ReimbursementPromoPage-D7n6lZNo-CgdMqXow.js +0 -84
  349. package/dist/assets/ReimbursementSetUpPage-E1elWU5Z-D7O-pf9b.js +0 -140
  350. package/dist/assets/ReimbursementsBulkReviewDrawerPage-HzYNji-G-BjLwNAB4.js +0 -1
  351. package/dist/assets/ReloadCard-DMWwNZ1z-D31XYoZn.js +0 -26
  352. package/dist/assets/ReportTableViewSelector-EU36E1lv-CLM26q4e.js +0 -150
  353. package/dist/assets/ReviewDetailsPage-Bk2vvBn3-CMASDCWv.js +0 -290
  354. package/dist/assets/ReviewOverlay-CJlk2MNH-DksHT3Bn.js +0 -152
  355. package/dist/assets/RoleWithToolTip-B7woUKhj-tuSqaaK3.js +0 -22
  356. package/dist/assets/ScheduleDetailsFixedAssetsPage-B-WjqQN_-lrt0yIGR.js +0 -37
  357. package/dist/assets/ScheduleDetailsPage-ocFBINM3-BDslid8Y.js +0 -37
  358. package/dist/assets/ScreenRoutes-DoE2zy1N.js +0 -201
  359. package/dist/assets/SetUpAccountSection-9zELif-q-jAntwqfL.js +0 -378
  360. package/dist/assets/SignIn-BHHUcLal-B9B7yu5c.js +0 -448
  361. package/dist/assets/SignInScreen-Czg-Wlkz.js +0 -1
  362. package/dist/assets/SpendManagementListViewPage-BAdSW-49-Cy3aFFuZ.js +0 -123
  363. package/dist/assets/StatementItem-BnxTFgdM-BUy1CSEA.js +0 -31
  364. package/dist/assets/StatementsPage-B8X2un5p-Ao0DiWwm.js +0 -58
  365. package/dist/assets/SummaryCard-CiNkV7uy-CyUPIfT8.js +0 -1
  366. package/dist/assets/TimeRangeSwitcher-DEEhq2Us-DC70llJC.js +0 -64
  367. package/dist/assets/TimeframeSwitcherWithToggle-D2sBGHXQ-ChLeBSSB.js +0 -31
  368. package/dist/assets/TopExCard-DbPlohSJ-Dhp9OZxf.js +0 -38
  369. package/dist/assets/TransactionList-BRiHadkm-DPpaSQ1Y.js +0 -147
  370. package/dist/assets/TransactionListPage-ByVvx6ON-CwQjGljA.js +0 -35
  371. package/dist/assets/TransactionVendorDetailPage-DMweGn3b-Dq7toltd.js +0 -80
  372. package/dist/assets/TreasuryStatementsPage-2PsC-PWa-D70yhjS2.js +0 -58
  373. package/dist/assets/TreasuryTaxLetterPage-D6MoHMAo-DmesESI8.js +0 -58
  374. package/dist/assets/TrendChart-DiutckSt-D94T5IZh.js +0 -16
  375. package/dist/assets/TrendWithTransactions-rPwZKHfV-Dtp5jwDW.js +0 -116
  376. package/dist/assets/UnitIntegrationPage-DO8dMzVg-Cd3rb01x.js +0 -67
  377. package/dist/assets/UploadAdditionalDocumentOverlay-Ug3kL02_-DKI6OhwV.js +0 -38
  378. package/dist/assets/Vendor2FAPopup-BdG-Ywma-CO_da9UG.js +0 -1
  379. package/dist/assets/VendorACHDetailsPage-BUNmE_s6-DPSp4E23.js +0 -1
  380. package/dist/assets/VendorDomesticWireDetailsPage-DvACrh7C-BLzpieuI.js +0 -1
  381. package/dist/assets/VendorInternationalWireSwiftDetailsPage-lxD_Z5W--961yvZRp.js +0 -1
  382. package/dist/assets/VendorsAccountsSection-D-3fhQvy-CbP2SER5.js +0 -68
  383. package/dist/assets/VerifyDevice-DDZdWfa8-H5PbdKsY.js +0 -112
  384. package/dist/assets/VideoPlayer-D0GZ_Yml-gee9OAo-.js +0 -78
  385. package/dist/assets/VideoPopup-CEdhfU31-8qrMVIxi.js +0 -31
  386. package/dist/assets/WarningsDrawerPage-CIK9lkT2-D5cDBgQm.js +0 -92
  387. package/dist/assets/ZeniAccountNavBarPieces-FAxN1QDY-C5pMry9_.js +0 -14
  388. package/dist/assets/ZeniAccountSetupPage-QMBiVius-DueIhJzT.js +0 -36
  389. package/dist/assets/ZeniCopyright-CgfP-kcy-DUMhOisg.js +0 -1
  390. package/dist/assets/ZeniTransferAmountSlider-B1fmc3f9-DSYZgQje.js +0 -63
  391. package/dist/assets/add-to-wallet-DgdBD8_G-BctcirlU.js +0 -1
  392. package/dist/assets/agingReportHelper-ovKP-qSS-BPG0U4uX.js +0 -1
  393. package/dist/assets/analyticsHelper-BKtlFOJm-CcPLbTK6.js +0 -1
  394. package/dist/assets/analyticsHelper-BV9ovV44.js +0 -1
  395. package/dist/assets/arrow-south-east-round-PEovUgvH-DFZl4BUT.js +0 -1
  396. package/dist/assets/auto-transfer-rule-mbafm5D3-BCnmjSj0.js +0 -1
  397. package/dist/assets/chartTypes-BZYC5y5J-CVmMioA0.js +0 -1
  398. package/dist/assets/commonDimensions-B-aZt-hB-CP54iB8v.js +0 -1
  399. package/dist/assets/detailCommon-DCtkwfR8-Dr2vx6ZY.js +0 -38
  400. package/dist/assets/downloadPdf-BhQlJMh0-DeqZGQ39.js +0 -1
  401. package/dist/assets/empty-CnIz-OQ7.js +0 -1
  402. package/dist/assets/empty-TjEo4rDg.js +0 -1
  403. package/dist/assets/epic-DMZtehrN.js +0 -2
  404. package/dist/assets/getReferrerType-DjPOy76W-Cm31g4vJ.js +0 -1
  405. package/dist/assets/gift-box-Cmt9OgIZ-aujv_noX.js +0 -1
  406. package/dist/assets/graphic-no-data-l-DU4J8fDt-DTSR9TM8.js +0 -1
  407. package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-Bw4ambPw.js +0 -1
  408. package/dist/assets/handshake-BPg58FML-BjSDfVm7.js +0 -1
  409. package/dist/assets/index-CFi0iD-l.js +0 -1
  410. package/dist/assets/index-CL_7G35J.js +0 -1
  411. package/dist/assets/index-DdJI4MMd.js +0 -1
  412. package/dist/assets/index-dPPP2cWo.js +0 -1
  413. package/dist/assets/lexical-DPEnH3HH.js +0 -21
  414. package/dist/assets/mapLoadingInProgressToTreeNode-B8iO-fIh-DwG7e-RM.js +0 -1
  415. package/dist/assets/mapSectionWithAcOnlyToTreeNode-PLUfKBDd-BfmC19Y6.js +0 -1
  416. package/dist/assets/mapSpacerToTreeNode-BPbkmHFY-BZPeecIF.js +0 -1
  417. package/dist/assets/mapTimeframeBalancesToTreeNode-B-kK0AfR-0kzYcFSC.js +0 -1
  418. package/dist/assets/mapTimeframeBalancesToTreeNode-BvN4m9TA-DSQ0LTze.js +0 -1
  419. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-C5Cp6P0a.js +0 -1
  420. package/dist/assets/page-detail-CWX5S47F-Dn7FEY9U.js +0 -1
  421. package/dist/assets/radio-default-CiSgisfh-B6CtarQ8.js +0 -1
  422. package/dist/assets/react-Bqj7JUF5.js +0 -29
  423. package/dist/assets/react-CeCWo9lx.js +0 -44
  424. package/dist/assets/react-CwPTei9W.js +0 -17
  425. package/dist/assets/react-CxPSrq5B.js +0 -16
  426. package/dist/assets/react-VfkIuzgx.js +0 -37
  427. package/dist/assets/react-sPv488Z5.js +0 -31
  428. package/dist/assets/shield-DOlUxcFf-DYYbm8md.js +0 -1
  429. package/dist/assets/toCOABalancesWithID-ChMShONK-Cq-mLDe3.js +0 -1
  430. package/dist/assets/toChartData-BUweupH8-sZruIW4t.js +0 -1
  431. package/dist/assets/transaction-placeholder-CpOwZAMG-R9RAntKW.js +0 -1
  432. package/dist/assets/types-DyvtCprH-BcZYcgaq.js +0 -1
  433. package/dist/assets/uploadReceipts-Bkf_PaOH-qo0cBRii.js +0 -1
  434. package/dist/assets/url-DzcuVjHh.js +0 -6
  435. package/dist/assets/url-dmxYLsoS.js +0 -1
  436. package/dist/assets/useLongPress-GCK2COYQ-BC43nxgO.js +0 -1
  437. package/dist/assets/usp-line-BBd1wKwW-_aHpaGit.js +0 -1
@@ -1,4 +1,4 @@
1
- import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,o as d,y as N,aA as J,bB as Ke,bC as et,ag as oe,d as $,b1 as tt,aS as st,bD as ot,L as Oe,n as Be,p as D,ap as Pe,aR as at,b8 as nt,am as it,bE as rt,at as ct,bF as lt,bG as ne,bH as dt,as as pt,al as ut,bI as gt}from"./index-Dm9r1f6s.js";import{a as y,S as K}from"./core-B-FNbYlu.js";import{n as u,k as Le}from"./mui-DLNyBjYF.js";import{bh as mt,Et as ht,DV as ft,Eu as bt,Ev as xt,Ew as _t,Ex as wt,Ey as St,Ez as yt,EA as vt,EB as Ct}from"./zeni-epic-state-HWtMOH-U.js";import{m as G,l as se}from"./analyticsHelper-BKtlFOJm-CcPLbTK6.js";import{h as jt,u as $t}from"./ReportTableViewSelector-EU36E1lv-CLM26q4e.js";import{q as kt}from"./InsightsSection-7-T67WeF-R1I0UTTj.js";import{k as xe,q as Ot,G as Bt,H as ee,N as pe}from"./detailCommon-DCtkwfR8-Dr2vx6ZY.js";import{P as Pt,G as Lt,Y as _e,X as we,H as Se}from"./RevenueChart-BbOK-HCB-C8qpvMvb.js";import{C as Nt}from"./NoDataChart-DMivligx-CY99ibCB.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as It}from"./TimeRangeSwitcher-DEEhq2Us-DC70llJC.js";import{b as Ne}from"./TimeframeSwitcher-u606tI8Z-CLiEbUCN.js";import{I as Rt,R as F,x as Dt,l as ue,D as zt}from"./CollapsableReportTable-I40BZv7o-d2_h6r8O.js";import{S as Tt,M as At,g as Mt,C as te,L as Ie,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-PLUfKBDd-BfmC19Y6.js";import{d as Et}from"./NoDataTable-DwOJY23X-0CWxLk-0.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BiRfdc4g-C5Cp6P0a.js";import{d as he}from"./mapLoadingInProgressToTreeNode-B8iO-fIh-DwG7e-RM.js";import"./sentry-EYLV4XmG.js";import"./lottie-gmZDfwf4.js";import"./liveblocks-BBTLClA6.js";import"./utils-D1zwltK3.js";import"./analytics-DGBWhVbe.js";import"./recharts-Cnl2EvUV.js";import"./lexical-DPEnH3HH.js";import"./NavigationDots-BT-m0FmS-COkqBkfX.js";import"./chartTypes-BZYC5y5J-CVmMioA0.js";import"./toCOABalancesWithID-ChMShONK-Cq-mLDe3.js";import"./toChartData-BUweupH8-sZruIW4t.js";import"./AccountRow-D2Ypckgj-BVuVsxAI.js";import"./graphic-no-data-l-DU4J8fDt-DTSR9TM8.js";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{q as B,d as Z,F as _,av as ke,V as s,bz as qe,m as Je,C as Qe,bA as Xe,o as d,y as L,aA as X,bB as Ke,bC as et,ag as oe,c as $,b1 as tt,aS as st,bD as ot,L as Oe,n as Be,p as D,ap as Pe,aR as at,b8 as nt,am as it,bE as rt,at as ct,bF as lt,bG as ne,bH as dt,as as pt,al as ut,bI as gt}from"./index-DJLrbf0F.js";import{a as y,S as K}from"./core-CA3j8Axi.js";import{n as u,k as Ie}from"./mui-DpJXlk4t.js";import{bh as mt,EI as ht,E2 as ft,EJ as bt,EK as xt,EL as _t,EM as wt,EN as St,EO as yt,EP as vt,EQ as Ct}from"./zeni-epic-state-CQt4n3Xe.js";import{m as G,l as se}from"./analyticsHelper-DmujELNG-B2_5NV-p.js";import{g as jt,x as $t}from"./ReportTableViewSelector-C8e6IEWt-BJN3fro7.js";import{q as kt}from"./InsightsSection-DvqCilqy-J94KiGaL.js";import{k as xe,q as Ot,G as Bt,H as ee,N as pe}from"./detailCommon-BGgE4mE3-D-w4kHC7.js";import{G as Pt,P as It,X as _e,Y as we,H as Se}from"./RevenueChart-Cc0XrxLL-BB6kfchw.js";import{C as Lt}from"./NoDataChart-C5ZP32zB-Co6FSXzL.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Nt}from"./TimeRangeSwitcher-Dq2FEgFR-DmMi5La_.js";import{b as Le}from"./TimeframeSwitcher-By3xz_-m-1CBF6COV.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-hL_Ycouc-B8J7Q_nq.js";import{S as zt,M as At,g as Mt,C as te,L as Ne,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-BZSP-VcP-BuUbTOqM.js";import{d as Et}from"./NoDataTable-BnBYE8p_-CiELOEE2.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-Bmf8af15.js";import{d as he}from"./mapLoadingInProgressToTreeNode-CXP8ZZTG-DkaL-N2A.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";import"./NavigationDots-BvKSgdgh-LQiuRx4x.js";import"./chartTypes-DRiSljvE-CN4L62GH.js";import"./toCOABalancesWithID--oEGymMJ-DrPkDPTu.js";import"./toChartData-CavJzP6f-B2iIF7nP.js";import"./AccountRow-BM2kGWyR-T6iB2hx_.js";import"./graphic-no-data-l-DU4J8fDt-BzIPOWHn.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]="c1a5cf70-8120-4df5-9a8e-14c6c1388452",e._sentryDebugIdIdentifier="sentry-dbid-c1a5cf70-8120-4df5-9a8e-14c6c1388452")}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`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -19,9 +19,9 @@ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,o
19
19
  margin-top: ${d.sp3};
20
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 jt(e.statementEndPoint,e.authParams,t)}const qt=u.div`
21
21
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
22
- `;function Xt({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`
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 Jt({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`
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,21 +36,21 @@ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,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(Jt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Xt,{highlightedRangeReport:e});default:return null}},Q={wrapperPadding:new N($[3],$[3],$[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 L($[3],$[3],$[8]),chartHeight:new L(288,360)},ls=u.div`
40
40
  display: flex;
41
41
  flex: 1 1 auto;
42
42
  flex-direction: column;
43
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(Lt,{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))},ze={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"}},Te=Le`
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(Lt,{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`
47
47
  0% {
48
48
  transform: translateY(100%)
49
49
  }
50
50
  100% {
51
51
  transform: translateY(0)
52
52
  }
53
- `,gs=Le`
53
+ `,gs=Ie`
54
54
  0% {
55
55
  opacity: 0
56
56
  }
@@ -115,7 +115,7 @@ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,o
115
115
  width: 700px;
116
116
  background: ${e=>e.theme.colors.grey5};
117
117
  border-radius: ${d.sp2};
118
- animation: ${Te} 0.4s;
118
+ animation: ${ze} 0.4s;
119
119
  position: relative;
120
120
  `,bs=u.div`
121
121
  display: flex;
@@ -126,7 +126,7 @@ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,o
126
126
  text-align: center;
127
127
  height: 640px;
128
128
  width: 100%;
129
- animation: ${Te} 0.4s;
129
+ animation: ${ze} 0.4s;
130
130
  position: relative;
131
131
  `,xs=u.div`
132
132
  position: absolute;
@@ -197,7 +197,7 @@ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,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($s,{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=ze[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{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(js,{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})]})]})})]})},Ls=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=ze[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{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(Ls,{...e})}const de="ZeniSwitch",T={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Is=({className:e,...t})=>s.jsx(dt,{...t,className:e,classes:{...T}}),Rs=u(Is)(({theme:e})=>({[`& .${T.switchBase}`]:{color:e.colors.grey2},[`& .${T.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${T.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${T.switchBase}.Mui-checked + .${T.track}`]:{backgroundColor:e.colors.grey1},[`& .${T.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${T.switchBase}.Mui-disabled + .${T.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(Ss,{children:[s.jsx(ys,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs($s,{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(Me,{children:s.jsx(Ee,{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(js,{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(Me,{children:s.jsx(Ee,{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 Ls(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`},Ns=({className:e,...t})=>s.jsx(dt,{...t,className:e,classes:{...z}}),Rs=u(Ns)(({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 L(124,154),forecastNameInnerWidth:new L(75,105),forecastNameOuterWidth:new L(90,120),tooltipTopPosition:new L(51,51),tooltipWidth:new L(180,150)},ye=u.div``,Ds=u.div`
201
201
  min-width: ${e=>U.forecastNameInnerWidth.valuePx(e.windowSize)};
202
202
  &:hover {
203
203
  .info-tooltip {
@@ -207,12 +207,12 @@ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,o
207
207
  align-items: center;
208
208
  }
209
209
  }
210
- `,zs=u.div`
210
+ `,Ts=u.div`
211
211
  display: flex;
212
212
  flex-direction: column;
213
213
  width: 315px;
214
214
  white-space: normal;
215
- `,Ts=u(pt)`
215
+ `,zs=u(pt)`
216
216
  display: flex;
217
217
  justify-content: space-between;
218
218
  color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
@@ -263,18 +263,18 @@ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,o
263
263
  top: ${e=>U.tooltipTopPosition.valuePx(e.windowSize)};
264
264
  `,Zs=u(it)`
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(Xs,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Xs=({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(rt)`
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(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]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(rt)`
267
267
  height: ${d.sp3};
268
268
  width: ${d.sp3};
269
269
  `,m=u(ct)`
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(zs,{children:[s.jsxs(Ts,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(As,{isValid:b.data.isValid,children:[s.jsx(Ms,{children:b.data.timeframeLabel}),s.jsx(Ys,{isValid:b.data.isValid}),s.jsx(Es,{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:$[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:$[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(lt,{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)},Qs=u.div`
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(Ms,{children:b.data.timeframeLabel}),s.jsx(Ys,{isValid:b.data.isValid}),s.jsx(Es,{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:$[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:$[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(lt,{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 L(0,0,245),timeframePaddingBottom:new L(8,8,0)},Qs=u.div`
274
274
  display: flex;
275
275
  width: 100%;
276
276
  flex-direction: column;
277
- `,Js=u.div`
277
+ `,Xs=u.div`
278
278
  display: flex;
279
279
  width: 100%;
280
280
  flex-direction: row;
@@ -306,10 +306,10 @@ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,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(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(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(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(Le,{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(Le,{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,M]=y.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),E=a.mode,I=a.selectedForecast;y.useEffect(()=>{E==="forecast_mode"&&b==="Completed"&&S?.length===0&&(M(!0),document.body.style.overflow="hidden")},[b,E,S]),y.useEffect(()=>{E==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const W=(v,j,Y)=>{j===!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 j=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"],j)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(v,j)=>W("forecast_mode",!1,{id:v,index:j}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ns,{meetingUrl:H,reportId:t.reportId,onClose:()=>{M(!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(It,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,j)=>{Ce(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const Y=Ot(c,v.fromEnd),q=Bt(c,j);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 je({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=zt(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=je({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=je({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(Ie({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(Tt({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)=>Mt({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(Ie({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[]}},$e={contentPaddingLeft:new N($[0],$[0],$[0]),contentPaddingRight:new N($[3],$[3],$[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 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,M]=y.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),E=a.mode,N=a.selectedForecast;y.useEffect(()=>{E==="forecast_mode"&&b==="Completed"&&S?.length===0&&(M(!0),document.body.style.overflow="hidden")},[b,E,S]),y.useEffect(()=>{E==="forecast_mode"&&N!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[N.index].name)},[N]);const W=(v,j,Y)=>{j===!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 j=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"],j)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(v,j)=>W("forecast_mode",!1,{id:v,index:j}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ls,{meetingUrl:H,reportId:t.reportId,onClose:()=>{M(!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(Nt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,h),highlightedOfSelectedTicks:xe(c,h)},onClick:(v,j)=>{Ce(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const Y=Ot(c,v.fromEnd),q=Bt(c,j);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 je({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=je({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=je({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(Ne({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)=>Mt({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(Ne({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[]}},$e={contentPaddingLeft:new L($[0],$[0],$[0]),contentPaddingRight:new L($[3],$[3],$[8])},yo=u.div`
313
313
  width: 100%;
314
314
  height: calc(100vh - 70px);
315
315
  `,vo=u.div`
@@ -323,7 +323,7 @@ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,o
323
323
  position: absolute;
324
324
  padding-top: ${d.sp3};
325
325
  background-color: ${e=>e.theme.colors.grey4};
326
- `,jo=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 L=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[L],x?.numberOfPeriods??k)},[P,M]=y.useState(void 0),[H,E]=y.useState(void 0),I=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),j=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,L)=>{O!==i?.uiState.accountViewMode&&g?.(O),L&&m?.(L)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:Y,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:ot(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!J(H,j)||e.isPageFetchInProgress===!0){const L=$o(j,O,I,e.isPageFetchInProgress);E(j),M(L)}else{const L=wo(P,O,j,I);M(L)}},[W,C,j,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:S?s.jsx(Et,{}):P!=null?s.jsxs(yo,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:I,isStickyName:I},treeNodePadding:{left:$e.contentPaddingLeft.value(t),right:$e.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,L)=>{h(O,L)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),q===!0&&i!==void 0?s.jsx(Co,{children:s.jsx($t,{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})},$o=(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",X={chartWidth:"100%",barCount:8,barWidth:new N($[6],$[8],$[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=X.chartWidth,barCount:n=X.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-$[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||X.maxBarHeight)*l,width:X.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(Lo,{children:s.jsx(Ke,{speed:2,width:X.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
+ `,jo=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,M]=y.useState(void 0),[H,E]=y.useState(void 0),N=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),j=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?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:Y,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:ot(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!X(H,j)||e.isPageFetchInProgress===!0){const I=$o(j,O,N,e.isPageFetchInProgress);E(j),M(I)}else{const I=wo(P,O,j,N);M(I)}},[W,C,j,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:S?s.jsx(Et,{}):P!=null?s.jsxs(yo,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:N,isStickyName:N},treeNodePadding:{left:$e.contentPaddingLeft.value(t),right:$e.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($t,{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})},$o=(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 L($[6],$[8],$[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-$[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};
@@ -337,20 +337,20 @@ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,o
337
337
  justify-content: space-between;
338
338
  width: 100%;
339
339
  height: 100%;
340
- `,Lo=u.div`
340
+ `,Io=u.div`
341
341
  flex: 1;
342
342
  height: 100%;
343
343
  display: flex;
344
344
  align-items: flex-end;
345
345
  justify-content: center;
346
- `,No=u.div`
346
+ `,Lo=u.div`
347
347
  display: flex;
348
348
  flex: 1 1 auto;
349
349
  min-height: 100%;
350
350
  flex-direction: column;
351
351
  width: 100%;
352
352
  background-color: ${e=>e.theme.colors.grey4};
353
- `,Io=u.div`
353
+ `,No=u.div`
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};
@@ -368,4 +368,4 @@ import{q as B,e as Z,F as _,av as ke,V as s,bz as qe,m as Xe,E as Qe,bA as Je,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,M=ke(),H=M.loggedInUserRole!=null&&!mt(M.loggedInUserRole),E=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){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||E?"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"),z())},[h,k,o.filter,n,P,S,o,l,b,g,f,H,E,e.isZeniCOAUsed]);const I=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 z=P||c.mode==="forecast_mode"?3:1;x(P,C,z)},[t]);const j=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Qe.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:Y,autoCompleteActions:q,scrollPosition:ae,...O}=e,L=s.jsx(Je,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:I,isDownloading:k==="In-Progress"}],onDownloadClick:async z=>{if(z==="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:L,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(Xe,{size:"Standard",start:!0})}):I?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(Io,{windowSize:t,children:[s.jsx(Mo,{...O}),s.jsx(zo,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(To,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Ao,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},zo=K.memo(cs,J),To=K.memo(ps,J),Ao=K.memo(jo,J),Mo=K.memo(co,J);export{ba as default};
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,M=ke(),H=M.loggedInUserRole!=null&&!mt(M.loggedInUserRole),E=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||E?"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,E,e.isZeniCOAUsed]);const N=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 j=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:N,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(Lo,{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:j}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(Je,{size:"Standard",start:!0})}):N?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(No,{windowSize:t,children:[s.jsx(Mo,{...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(jo,X),Mo=K.memo(co,X);export{ba as default};
@@ -0,0 +1,12 @@
1
+ import{aW as f,V as a,b3 as u,o as p}from"./index-DJLrbf0F.js";import{a as s}from"./core-CA3j8Axi.js";import{d as h,n as m}from"./mui-DpJXlk4t.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]="b7364600-5168-43b1-9032-bef5f35cc54c",e._sentryDebugIdIdentifier="sentry-dbid-b7364600-5168-43b1-9032-bef5f35cc54c")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[o,d]=f(l,r),[t,c]=s.useState(null);o!=null&&t==null&&!d&&c(o);const b=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?a.jsx(y,{contextWiseOpacity:b,newYearAnimationEnabled:n,children:a.jsx(u,{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,11 +1,11 @@
1
- import{aL as $,ht as u,q as y,V as l,o as i,ak as d,al as c}from"./index-Dm9r1f6s.js";import{n as t}from"./mui-DLNyBjYF.js";import{g as k}from"./BoxItem-usHxaONy-yqmV2_EE.js";import{o as v}from"./commonDimensions-B-aZt-hB-CP54iB8v.js";function I({data:e,boxType:w}){const{counterParty:n,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=n.length>0?n:m,a=$("0,0.00",x),r=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(P,{windowSize:o,children:[l.jsx(D,{children:g}),r!=null?l.jsxs(R,{windowSize:o,children:[l.jsx(q,{windowSize:o}),l.jsx(V,{color:r?.color,children:r?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(A,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aL as u,hu as y,q as $,V as l,o as i,ak as c,al as w}from"./index-DJLrbf0F.js";import{n as t}from"./mui-DpJXlk4t.js";import{g as k}from"./BoxItem-Bjv3WNXO-DVhc5wWw.js";import{o as v}from"./commonDimensions-BDftm0gJ-DyUDFvZC.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]="f5338713-e8aa-4a4c-8ae9-3ec37b37063c",e._sentryDebugIdIdentifier="sentry-dbid-f5338713-e8aa-4a4c-8ae9-3ec37b37063c")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:a,amount:p,logo:x,summary:f,direction:b,status:m}=e,g=r.length>0?r:f,d=u("0,0.00",p),s=y(m),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:[a!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:a})}):null,l.jsx(P,{windowSize:o,children:b==="debit"?`-${d}`:d})]})]});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"};
5
5
  `,z=t.div`
6
6
  display: flex;
7
7
  justify-content: end;
8
- `,S=t(c)`
8
+ `,S=t(w)`
9
9
  -webkit-box-orient: vertical;
10
10
  -webkit-line-clamp: 1;
11
11
  margin-left: ${i.sp3};
@@ -13,23 +13,23 @@ import{aL as $,ht as u,q as y,V as l,o as i,ak as d,al as c}from"./index-Dm9r1f6
13
13
  border: 1px solid ${e=>e.theme.colors.grey2};
14
14
  border-radius: ${i.sp1};
15
15
  color: ${e=>e.theme.colors.grey1};
16
- `,N=t.div`
16
+ `,D=t.div`
17
17
  display: flex;
18
18
  align-items: center;
19
19
  padding: ${i.sp3} ${i.sp4};
20
20
  flex-direction: row;
21
21
  width: 100%;
22
22
  justify-content: space-between;
23
- `,T=t.div`
23
+ `,I=t.div`
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  align-items: center;
27
27
  flex: 1;
28
- `,C=t.img`
28
+ `,T=t.img`
29
29
  display: flex;
30
30
  width: ${i.sp4};
31
31
  height: ${i.sp4};
32
- `,D=t(d)`
32
+ `,N=t(c)`
33
33
  display: -webkit-box;
34
34
  -webkit-box-orient: vertical;
35
35
  -webkit-line-clamp: 1;
@@ -38,7 +38,7 @@ import{aL as $,ht as u,q as y,V as l,o as i,ak as d,al as c}from"./index-Dm9r1f6
38
38
  word-break: break-word;
39
39
  text-align: left;
40
40
  overflow: hidden;
41
- `,P=t.div`
41
+ `,_=t.div`
42
42
  display: flex;
43
43
  align-items: center;
44
44
  text-align: left;
@@ -49,16 +49,16 @@ import{aL as $,ht as u,q as y,V as l,o as i,ak as d,al as c}from"./index-Dm9r1f6
49
49
  word-break: break-word;
50
50
  text-overflow: ellipsis;
51
51
  overflow: hidden;
52
- `,R=t.div`
52
+ `,q=t.div`
53
53
  display: flex;
54
54
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
55
55
  align-items: center;
56
- `,V=t(c)`
56
+ `,C=t(w)`
57
57
  color: ${e=>e.color};
58
58
  -webkit-box-orient: vertical;
59
59
  -webkit-line-clamp: 1;
60
60
  display: -webkit-box;
61
- `,q=t.div`
61
+ `,E=t.div`
62
62
  display: ${e=>e.windowSize==="small"?"none":"block"};
63
63
  width: ${i.sp1};
64
64
  height: ${i.sp1};
@@ -66,11 +66,11 @@ import{aL as $,ht as u,q as y,V as l,o as i,ak as d,al as c}from"./index-Dm9r1f6
66
66
  background-color: ${e=>e.theme.colors.grey1};
67
67
  margin-left: ${i.sp2};
68
68
  margin-right: ${i.sp2};
69
- `,A=t(d)`
69
+ `,P=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
75
  width: ${e=>v.amountWidth.valuePx(e.windowSize)};
76
- `;export{I as H};
76
+ `;export{H};
@@ -0,0 +1,66 @@
1
+ import{d as M,q as S,hD as I,V as t,bz as z,F,b1 as Y,o as r,p as u,cq as C,dc as E,dd as L,d7 as _,de as T,y as q,ag as B,ak as R,c as g}from"./index-DJLrbf0F.js";import{a as x}from"./core-CA3j8Axi.js";import{n as a}from"./mui-DpJXlk4t.js";import{bj as V}from"./zeni-epic-state-CQt4n3Xe.js";import{$ as A}from"./BoxItem-Bjv3WNXO-DVhc5wWw.js";import{o as N}from"./commonDimensions-BDftm0gJ-DyUDFvZC.js";import{H as P}from"./DepositAccTransactionItem-C8tChaJS-DUssbHtI.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="0ca741ac-2722-4ab7-a3d1-eeb1addd0afd",e._sentryDebugIdIdentifier="sentry-dbid-0ca741ac-2722-4ab7-a3d1-eeb1addd0afd")}catch{}})();const l=F.getLocalizedStrings(),H={listItemMargin:new q(g[3],g[8])};function X(e){const i=E(e,o=>o.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=L(i,o=>o.length>0);return _(d,o=>({date:o[0].transactionDate,transactions:T(o,m=>m.transactionDate,"desc")}))}const G=I(X),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),o=S(),m=x.createRef(),p=x.useRef(null),c=G(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(o)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:o,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(P,{data:D,boxType:A(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(J,{children:t.jsx(y,{windowSize:o,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(z,{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"}),t.jsx($,{children:t.jsx(Y,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
2
+ margin: ${e=>`${r.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
+ `,J=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
+ `,K=a.div`
11
+ display: flex;
12
+ height: 100%;
13
+ flex-direction: column;
14
+ width: 100%;
15
+ padding-bottom: ${r.sp7};
16
+ `,O=a(R)`
17
+ display: flex;
18
+ color: ${e=>e.theme.colors.grey2};
19
+ `,Q=a(B)`
20
+ display: flex;
21
+ height: 21px;
22
+ margin-bottom: ${r.sp2};
23
+ margin-top: ${r.sp3};
24
+ color: ${e=>e.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: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
35
+ border-radius: ${r.sp2};
36
+ background-color: ${e=>e.theme.colors.grey5};
37
+ `,Z=a(C)`
38
+ scrollbar-width: thin;
39
+ scrollbar-color: transparent transparent;
40
+ &::-webkit-scrollbar {
41
+ width: ${r.sp2};
42
+ height: ${r.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: ${e=>e.theme.colors.grey1} transparent;
56
+ &::-webkit-scrollbar {
57
+ width: ${r.sp2};
58
+ height: ${r.sp0};
59
+ background-color: transparent;
60
+ }
61
+ &::-webkit-scrollbar-thumb {
62
+ background-color: ${e=>e.theme.colors.grey1};
63
+ border-radius: 2px;
64
+ }
65
+ }
66
+ `;export{pe as default};
@@ -0,0 +1,21 @@
1
+ import{q as O,a8 as U,F as S,cB as q,aA as H,V as n,cm as Q,cn as X,co as Z,ab as G,aO as J,y as b,eR as K,o as Y,b7 as ee,c as o}from"./index-DJLrbf0F.js";import{a as C}from"./core-CA3j8Axi.js";import{n as h}from"./mui-DpJXlk4t.js";import{bi as T}from"./zeni-epic-state-CQt4n3Xe.js";import{e as ne}from"./BankAccountSection-DRrNcA79-hP-Vs5m_.js";import{M as te}from"./MagicLinkTitleSection-FMRBLlRJ-BOWrScDm.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Ub-gsfhE-CrMug0PW.js";import{T as ie}from"./MailingDetailsSection-CiJ5JLA6-DddwOxAo.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]="34172674-cc5d-4d8a-898a-3d46ff632bfc",e._sentryDebugIdIdentifier="sentry-dbid-34172674-cc5d-4d8a-898a-3d46ff632bfc")}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",$="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:R,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:P,onAddressClick:L,onBackClick:w}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,g]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,F={onOkClick:()=>{g(!1),c.reset(),w?.()},onCancelClick:()=>{g(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&K.test(d)===!0&&P?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>_(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!H(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(Q,{titleComponent:n.jsx(Z,{children:a.discardTitle}),descriptionComponent:n.jsx(X,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:F}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:R??0}):M.addWireDetails,isMagicLink:f,isDirty:N,onBackClick:w,setShowConfirmationPopup:g}),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(G,{...c,children:n.jsxs("form",{id:D(B),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(J,{formId:D(B),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?g(!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},[$]:{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: ${Y.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};