@zeniai/web-cockpit-ui 1.13.84-qa → 1.13.85-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 (249) hide show
  1. package/dist/assets/{ACHDetailsPage-Bya_wRcI-D24AQL3_.js → ACHDetailsPage-CRqyoYEz-xYrGFNnE.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-Bc2kKHSK-vnI3KLwi.js → AIPerformancePage-DAkvkXSA-CGVKmjkJ.js} +24 -24
  3. package/dist/assets/AccountInfoPage-6EVpo7mW-aLkrvciq.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-BhU-TVmh-C-UpNXF8.js → AccountInfoPageContent-BWZbyIYz-Q8Byt1d2.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-Dp2R5isq-6LbQVUfj.js → AccountReconDetailsDrawerPage-DLd_igXD-BoD_5Mp7.js} +18 -18
  6. package/dist/assets/AccountRow-D4iz2vCr-FZzwmYfW.js +298 -0
  7. package/dist/assets/{AccountsPromoCardStack-DYUyO-ip-Afoar8fj.js → AccountsPromoCardStack-DIly1lFF-BymCGDNy.js} +22 -22
  8. package/dist/assets/{AddAddressForCardDrawer-CNSnxc8q-CfZsmSuQ.js → AddAddressForCardDrawer-C90j4Cwr-BKCwJ7c4.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-Q8uWTckm-C9vK1iqP.js → AddToWalletPage-Bo2KesYz-Cz9shvNb.js} +30 -30
  10. package/dist/assets/{AgingReportsPage-B-DOb7my-WwOH5_Yn.js → AgingReportsPage-DuoKsSkU-D9JwO5kE.js} +4 -4
  11. package/dist/assets/{AllUserItems-B86Y2Fmg-DwBM7tfH.js → AllUserItems-C0U1Brjm-bMWZMmau.js} +7 -7
  12. package/dist/assets/{ApAgingDetailPage-CMYJgTzS-C2HHMQbl.js → ApAgingDetailPage-dNwAZULr-Bgfeeq5D.js} +3 -3
  13. package/dist/assets/{AppBasePage-DJO-V2ox-C-oIOb39.js → AppBasePage-CfkaWEbJ-DV03x5l2.js} +4 -4
  14. package/dist/assets/{AppDrawerContent-5_QaBLwS-picTHWhb.js → AppDrawerContent-DlHQEgOZ-CwVua6gS.js} +2 -2
  15. package/dist/assets/{ApprovalRulesSettingsPage-CPbVQ97S-C7Jihchv.js → ApprovalRulesSettingsPage-Pl7HoLmk-7CPgqfk2.js} +6 -6
  16. package/dist/assets/{ArAgingChart-l020Rk_S-DFeuvhU_.js → ArAgingChart-xI9TRvfS-B-FSsHVj.js} +5 -5
  17. package/dist/assets/{ArAgingDetailPage-BeUPeHBJ-BkRCdWjT.js → ArAgingDetailPage-BMGCnP5d-Ia6ZCwAD.js} +2 -2
  18. package/dist/assets/{AttachmentView-Afp_U4fV-8-c7IhJe.js → AttachmentView-C8AgUAnY-CXbbCi9n.js} +8 -8
  19. package/dist/assets/{BankAccountSection-CNQgxgSJ-Bj0DaA_J.js → BankAccountSection-DB4PEf_X-BThY20p4.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-V0HHzW57-vrqdtD7y.js → BankAccountWarningSection-BNO8Gl59-Cj0YvVYP.js} +5 -5
  21. package/dist/assets/{BankConnectionsSettingsPage-Bk8K0xUn-CeZc6fuw.js → BankConnectionsSettingsPage-BOreBo5b-ClbcS0AA.js} +22 -22
  22. package/dist/assets/{BillDetailPage-D9d6X0o4-DnbAMdeA.js → BillDetailPage-Bv86SywV-OjQAhExV.js} +5 -5
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-CSVTc5Mn-zEJJLZMO.js → BillPayApprovalRuleDetailPage-CDXxmD-3-CPsk0oK8.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-DIOOCVKH-ec-IeSJ_.js → BillPayApprovalRulesPage-Ci5Ok7Zj-tof82RhM.js} +3 -3
  25. package/dist/assets/{BillPayPromoPage-C44YKAlE-CZ8TnOy7.js → BillPayPromoPage-Co2j2krO-DmiPp1nW.js} +2 -2
  26. package/dist/assets/{BillPaySetUpPage-erTIfKkS-B8D6nffd.js → BillPaySetUpPage-DjpCUZaT-BN2J-t4G.js} +2 -2
  27. package/dist/assets/BillingSettingsPage-CAs7DZQz-CqK9Ho86.js +44 -0
  28. package/dist/assets/BillsBulkReviewDrawerPage-DjunAUW0-BurxqQ7q.js +1 -0
  29. package/dist/assets/{BoxItem-UFBGpfBB-Hna_3gSj.js → BoxItem-BqLhtWoJ-N1dze3h9.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-Cl7jz1DF-P_BUnpPu.js → BusinessVerificationPage-CZGOzc9Z-fjFONiSD.js} +8 -8
  31. package/dist/assets/{CardNumberSubText-DyFZudV_-B0AxiMNx.js → CardNumberSubText-23sLjCVt-BzieyTnf.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-D0_YW2Dy-CJHMwowQ.js → CashbackDetailPage-DY0n94jz-BUYqnV34.js} +21 -21
  33. package/dist/assets/{ChargeCardDetailPage-YkvyvIEk-C3d7vBC0.js → ChargeCardDetailPage-NWTPnGtM-D2U2Irky.js} +58 -58
  34. package/dist/assets/{ChargeCardListPage-4vg8Q6bl-Btxhg5jy.js → ChargeCardListPage-D42dfnET-QGICTWTK.js} +35 -35
  35. package/dist/assets/{ChargeCardListTable-Dl-rblE6-D5iGQu5n.js → ChargeCardListTable-B7uRDVzb-T3KA1SlK.js} +25 -25
  36. package/dist/assets/ChargeCardPromoPage-CXiXee-8-DqF9CwRb.js +190 -0
  37. package/dist/assets/{ChargeCardSetupPage-BSiJnRP_-y1F_pjxz.js → ChargeCardSetupPage-Ccc8PoCm-BSIg4VNL.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-NkfA1SYG-kW4Au9ab.js → ChargeCardStatementsPage-JEslDm3r-C_RfZvQ8.js} +4 -4
  39. package/dist/assets/{ChargeCardUtils-CLpd-HDH-dMJ2Q_93.js → ChargeCardUtils-B3JEziD7-CwQE9qIG.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-B1cuawle-CSkF_51t.js → ChaseOverlay-KLet3F9X-BJh9nem5.js} +8 -8
  41. package/dist/assets/CheckDepositDrawerPage-JYHyo9Hw-BwsvgZ74.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-iMD5xyGN-DxpM_9bu.js → CollapsableReportTable-DshWn4Fc-1Ky5jq0N.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-BA7etm2I-DTt9FR5w.js → CompanyOfficerDetailsSection-DWqEolPc-C_ETEVFs.js} +26 -26
  44. package/dist/assets/{CompanyPassportCard-Dks4EQDN-B0Dzj-Sj.js → CompanyPassportCard-fyolEQTs-BpIPYjUj.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-Denliwgg-BRN9vOeB.js → CompanyPassportPage-CrgsRRVr-WqqSGX_w.js} +140 -140
  46. package/dist/assets/{CompleteProfile-CCLq4pNY-CtKBUzOW.js → CompleteProfile-D_zq0Bxi-Bi1YeUNU.js} +10 -10
  47. package/dist/assets/ConfettiBurst-CZuMHGP8-BTcuXQPa.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-BFejWQMx-C7NqnKds.js → CreateOrEditVendorPage-Ct4Kfowi-Drrod2cP.js} +15 -15
  49. package/dist/assets/{CreditCardPaymentDrawerPage-B7Sesq_n-DvfL88dh.js → CreditCardPaymentDrawerPage-Cpu-7pGN-z0mDR9Zy.js} +16 -16
  50. package/dist/assets/{CreditCardPaymentPlgSection-D5CNl0oa-DiWqHLoj.js → CreditCardPaymentPlgSection-DoMaCnIZ-BpT8OJXl.js} +10 -10
  51. package/dist/assets/{CurrencySelectField-DYvc6rwt-DrMXyXgk.js → CurrencySelectField-CCOtXLC7-DmgJhn-v.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-oUiw--hv-uDxfiRoM.js → CustomerOnboardingActivationPage-Cgzif1ji-CPNUkRDw.js} +3 -3
  53. package/dist/assets/CustomerOnboardingContainerPage-ByWeMmBf-DwYZZ9jR.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BaDpU--M-Dr2X5vzk.js → CustomerOnboardingDetailPageSkeleton-BOMwRZEO-PNOXFbTm.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-C_cxcuWE-BQPyN4r3.js → CustomerOnboardingNoStepsPage-DDloVGvk-EFD3k0Z1.js} +8 -8
  56. package/dist/assets/CustomerOnboardingPage-DHji4ZmF-vPwCgWM6.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DEqdhh-2-DNDa-YZB.js → CustomerOnboardingProductSuitePage-BA3GAX42-usBGW0iL.js} +4 -4
  58. package/dist/assets/Dashboard-Cr5ugENA-_ss7RgaI.js +1251 -0
  59. package/dist/assets/{DashboardReportPage-Tq4KsQuw-C0NFJvrJ.js → DashboardReportPage-paPVk_v2-7626om2P.js} +67 -67
  60. package/dist/assets/{DepositAccTransactionItem-DWhVL-kH-HToIlcYx.js → DepositAccTransactionItem-BXRfgUfE-Bcw5EG9I.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-BiaZBvV4-Eo8UgPbX.js → DepositAccTransactionListPage--7TRlqKj-zqnHB4vQ.js} +8 -8
  62. package/dist/assets/{DocumentSecurityBanner-eGDvEOvr-Dfhgnjgy.js → DocumentSecurityBanner-B0Qt1FLC-BKK2GBle.js} +1 -1
  63. package/dist/assets/DomesticWireDetailsPage-RoRpMC50-Dx8FlvWR.js +21 -0
  64. package/dist/assets/{DownloadOverlay-C0vGOFIR-CLlCJb4E.js → DownloadOverlay-Cl_EXjiu-_W4-6wVr.js} +20 -20
  65. package/dist/assets/{DrawerPage-keu-rP1c-BE2Fh2qJ.js → DrawerPage-wXwAaYEB-ClkK54Ag.js} +8 -8
  66. package/dist/assets/EditPeoplePage-xDL6VA_r-DBIETQHy.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-jqf5akyj-a9iq4xwG.js → EditReimbursementDetailPage-BUpJPJNu-BuRQj9KF.js} +74 -74
  68. package/dist/assets/{EntityDetailPage-D0mZIEcR-Rg_90ffL.js → EntityDetailPage-BNXqSwVL-BtqM-DEW.js} +2 -2
  69. package/dist/assets/{EntitySummarySection-bL2stKO1-CambP6kY.js → EntitySummarySection-MZ57i-bY-H7IGJvB2.js} +11 -11
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Cm00uGHv-BucC69E3.js → ExpenseAutomationOverviewPage-Y3IHs4dG-BCr8LQIN.js} +17 -17
  71. package/dist/assets/{ExpenseAutomationPage-BA8sRxM--BvNgZY1Q.js → ExpenseAutomationPage-C0hvPLo7-CxYhLUjG.js} +84 -84
  72. package/dist/assets/{ExpressPayPage-DRNbLpuL-BTcYYJnP.js → ExpressPayPage-Bncb54-Q-m2KDux54.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-CeeAOF5C-DHX56uCl.js → FeaturePreviewPage-BnGBEF9H-DIdV1EEF.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-DuElPK3y-dhjgL0Nu.js → FollowStepsSection-laCvnETV-BKhPlVRt.js} +7 -7
  75. package/dist/assets/{GlobalReviewListPage-DfjZMTms-DrRjYv7e.js → GlobalReviewListPage-CskEuHc5-BvuvkrWm.js} +10 -10
  76. package/dist/assets/HelpButton-D5ZYyQMh-D3OqqJNA.js +28 -0
  77. package/dist/assets/{InformationCardStack-CmquAm7A-Bio4HHzL.js → InformationCardStack-BFJqdH9n-Cbvb8Zyt.js} +5 -5
  78. package/dist/assets/{InsightsCardStack-D5ahtQWr-B_JxN54j.js → InsightsCardStack-CcoMWMiA-BcmYr1H8.js} +9 -9
  79. package/dist/assets/{InsightsSection-xgqf4arB-CemPO1xM.js → InsightsSection-D9PiJagu-DOwHVFks.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-Cl6dfKQL-WHKkc-0x.js → IntegrationsSettingsPage-CVmDobJ8-CKVB31Cy.js} +5 -5
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-D_jWoFli-CGo3Glkw.js → InternationalWireSwiftDetailsPage-DqW88v9N-H1bFtbsa.js} +11 -11
  82. package/dist/assets/{InternationalWireVerificationPage-it1U4OPj-CAqG3vli.js → InternationalWireVerificationPage-X90z_30k-xPYg__QG.js} +17 -17
  83. package/dist/assets/{InviteFormPage-DTMy8xZk-2GrL0qjS.js → InviteFormPage-BK-PRmeH-BAomtB1K.js} +23 -23
  84. package/dist/assets/{InvitePageListView-X7W1jRxY-DLLNNo8k.js → InvitePageListView-6-iCc4BK-DiUJrTMB.js} +31 -31
  85. package/dist/assets/InvitePeoplePage-C9AwNqIx-U6OqJmP1.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-BhCDvIPX-e244hYqN.js → InvoiceUploadSection-D5aF4auL-D8CZg2Vk.js} +7 -7
  87. package/dist/assets/{IssueChargeCardPage-CqE8lMsX-CQoXeSdg.js → IssueChargeCardPage-C_xt7hKZ-CgCvIFoE.js} +22 -22
  88. package/dist/assets/{LabeledAddressValue-CCEVX0ke-Dr-Y2rNd.js → LabeledAddressValue-DpSK0MqC-D58RjKgD.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-B9iirKZj-B-lkILdh.js → LabeledAddressValueField-_LY7c-ZC-EdJfII0E.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-Bl3-Zao6-CHB8td0R.js → LabeledControlledCheckBoxField-FB40Z8J7-CUjOIHO8.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-v86g-OZd-NNxB-j11.js → LabeledCreatableSingleSelectField-paSeI8_R-COJp3Y9m.js} +7 -7
  92. package/dist/assets/LabeledDocumentField-DiMgPKtR-DDw2gK-2.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-DsjpTL6X-BQHdfd5e.js +59 -0
  94. package/dist/assets/{LabeledText-D9feJraX-o9BoQjAH.js → LabeledText-CyXj8QWV-DunmbzZf.js} +3 -3
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BKNBvO_C-BxGzxKzb.js → LabeledUserSingleSelectWithSubtitlesField-CUT00Vix-oJIrTzfz.js} +7 -7
  96. package/dist/assets/{LabeledZeniRolesDropDownField-AwQaO42N-CKgF9hTJ.js → LabeledZeniRolesDropDownField-D0cQlbhO-Dqs02jMf.js} +26 -26
  97. package/dist/assets/{LinkJETransactionPage-D3I2NvQw-P3R8MlXe.js → LinkJETransactionPage-DaXjiQRp-CH9vE8pm.js} +8 -8
  98. package/dist/assets/{LowBalancePopup-OSUi1Alp-BiLt2AdI.js → LowBalancePopup-CdftTvLb-DzgqRFO5.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-r3XSoJ11-Cv-fI0u0.js → MagicLinkACHDetailsPage-C25i1T4c-B_gtZsWu.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DPG9fUzZ-B7fiv6MZ.js → MagicLinkDomesticWireDetailsPage-B0r3WStl-CY0AGP-m.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CmXJXEaN-Tp9z-x5e.js → MagicLinkInternationalWireDetailsPage-C-ev-6xJ-DYlN82pS.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-CwszAuW2-Bix3eRV8.js → MagicLinkSuccessPage-7JG3V4Qt-Brf6FY6k.js} +5 -5
  103. package/dist/assets/{MagicLinkTitleSection-CvrbJ-of-B5SXKUsj.js → MagicLinkTitleSection-DEe0hhml-De1g7fYA.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-BJHZIZCt-Dq0ArLOp.js → MailingDetailsSection-Qc65E0w3-C6CH0-UP.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-C4r3bJ84-B_7Xob1I.js → MeetingCalenderPopup-Dh8meV6d-BwK6voO1.js} +1 -1
  106. package/dist/assets/{Menu-MHZ6Ibt0-DsBN8RMC.js → Menu-DyfXBl_1-H_GViJ7L.js} +3 -3
  107. package/dist/assets/{MyBankConnectionsSettingsPage-DG1tuqAt-BHEUeVdz.js → MyBankConnectionsSettingsPage-CCFcVgyX-Cj9pmtPo.js} +13 -13
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DZyxqqyJ-BhPK50AW.js → MyPendingActivationChargeCardListPage-DS966wTB-DXMBzQKu.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BnNbspx9-D_qqDWXw.js → MyProfileSettingsPage-BRRzMoQL-z-2QKlLv.js} +8 -8
  110. package/dist/assets/{NavBarWithPicker-3okDhiol-CJJ9BrpE.js → NavBarWithPicker-BvWih0k0-DqsmpQXd.js} +2 -2
  111. package/dist/assets/{NavigationArrow-iw-yd_9S-DvXlGggY.js → NavigationArrow-DYSL2aDL-BJUiAKpZ.js} +9 -6
  112. package/dist/assets/{NavigationDots-CB5JLuJi-Bme4BexN.js → NavigationDots-DyyCcIih-C83s6vN7.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-CcGws2R2-Coiq6yZx.js → NewGlobalMerchantPage-DjEvzM4M-D2PAZo-X.js} +33 -33
  114. package/dist/assets/NoDataChart-DE6NV823-DlzVvXWT.js +26 -0
  115. package/dist/assets/{NoDataTable-BbDo9Kma-CGZ-ZRju.js → NoDataTable-CXNsBBVP-CNpKcnQr.js} +1 -1
  116. package/dist/assets/{NotFoundPage-gbtwlR8l-C8W_IclM.js → NotFoundPage-CuuO2Mia-DtoiuMBe.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-slkQwvVZ-C6_X1MwL.js → NotificationSettingsPage-C7ilxUAV-DVBhuDeZ.js} +16 -16
  118. package/dist/assets/NotificationsListConfig-TBQMobJ5-Dg1BFWgp.js +1 -0
  119. package/dist/assets/{NotificationsPage-BAyRPK64-D9pYswFj.js → NotificationsPage-BjaKD99B-HczC9sOP.js} +32 -32
  120. package/dist/assets/{OpExByVendorPage-CofD6hKi-_r0JCjwW.js → OpExByVendorPage-IuDiHnIW-DSQhabH4.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-nhe7xtoR-BqnlKexX.js → OverlayContainerPage-C0rUb6-5-zCXylyg1.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-_uOEFXiy-uRGPUMun.js → PandLWithForecastPage-DLvgYpF8-BvtUu1nj.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C0zGxU4f-BbIQnivK.js → PaymentAccountSetupBillingAddressSection-CZ8ZY08D-DItr6wpu.js} +8 -8
  124. package/dist/assets/{PeoplePage-8GExF-Lt-DycjJFii.js → PeoplePage-DyqY-rIV-6wYuIYCy.js} +19 -19
  125. package/dist/assets/{PortfolioAllocationFormPage-CMKEE7P7-BAgV1W9Q.js → PortfolioAllocationFormPage-DTuKtkwr-BCUD0jpE.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-A3P3vG57-D-PvzBt-.js → PortfolioDetails-DJFeMG4U-jhRfPjHw.js} +11 -11
  127. package/dist/assets/{ProductsCarousel-D9H3mUJ--BVzwDfPL.js → ProductsCarousel-CS4_yc80-CJENMC5j.js} +7 -7
  128. package/dist/assets/{PromoBaseCards-CF0Bv_9G-CPu8OwaX.js → PromoBaseCards-BZ2m6LfO-DtHfjjw4.js} +25 -25
  129. package/dist/assets/{QBOConnectionDialog-D2zi5wKm-BnMrx2Jb.js → QBOConnectionDialog-2vJQuslh-gswZrMuL.js} +6 -6
  130. package/dist/assets/{QBOSetupSection-B3Dj2g2k-B6Vh45jl.js → QBOSetupSection-Yv3Xw-yn-CsTlHo9j.js} +11 -11
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DgpHHy3U-CVsGPnLd.js → ReimbursementApprovalRuleDetailPage-tvJ2APRB-CJktCsdd.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-BjFi-uJl-B-1i4jgW.js → ReimbursementApprovalRulesPage-_nXCDa2A-BNgKNHzv.js} +8 -8
  133. package/dist/assets/{ReimbursementDetailPage-BersvjG9-CWQWXTAd.js → ReimbursementDetailPage-CtEAsq7u-DRdTiZKG.js} +7 -7
  134. package/dist/assets/{ReimbursementPromoPage-K8dT-rtu-ejmkM2xl.js → ReimbursementPromoPage-BaEX5Ej4-BuvxoLSr.js} +16 -16
  135. package/dist/assets/{ReimbursementSetUpPage-CfBuIpx6-BHJ5mWF-.js → ReimbursementSetUpPage-DXOqEJL4-iJtd4hOD.js} +12 -12
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-yaSD_tF5-CtbYjDdi.js → ReimbursementsBulkReviewDrawerPage-HQg1y1K--CLvh9oMo.js} +1 -1
  137. package/dist/assets/{ReloadCard-Do9Znv21-BdHDUomQ.js → ReloadCard-stfG9ekP-E5rZnPxi.js} +5 -5
  138. package/dist/assets/{ReportTableViewSelector-D1UrK7VQ-B2lv_ic2.js → ReportTableViewSelector-_RTCd2td-Bc2QvO79.js} +7 -7
  139. package/dist/assets/{ReportsPage-dER5Ukfc-CkbR9-hx.js → ReportsPage-BIzz5Dt_-NFZB2f2n.js} +9 -9
  140. package/dist/assets/{RevenueChart-CCr_XauF-DE6xvLaq.js → RevenueChart-DeDVVUge-BKnJBaLk.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-ZoXTLGfR-CMQzdLlE.js → ReviewDetailsPage-DZqPpiln-DMAHDtV0.js} +19 -19
  142. package/dist/assets/{ReviewOverlay-Bywh-8pJ-CohY-7e4.js → ReviewOverlay-DcBe94Sd-COJlSRKh.js} +14 -14
  143. package/dist/assets/{RoleWithToolTip-CX9tF-BO-CfHGhDZn.js → RoleWithToolTip-DZO2tooH-B0y78jDy.js} +6 -6
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BEXr2qc0-BzP6cE1T.js → ScheduleDetailsFixedAssetsPage-Cl8iBII0-5-jnemx1.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-CR8uJC5O-BvWjtOn1.js → ScheduleDetailsPage-D6ZxZ2uU-CKiYugJn.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-D7kDvImN-BYm5tvmN.js → ScheduleSequenceTable-eRImHbZn-zcCUBGZK.js} +50 -50
  147. package/dist/assets/{ScreenRoutes-wesefRwS.js → ScreenRoutes-CXwvcn5x.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-B0J0zCOF-BgXG5DS8.js → SetUpAccountSection-BBZNI1Xl-C0b9akyJ.js} +103 -103
  149. package/dist/assets/{SetUpDefaultSection-ES6v0-xw-DftidMnh.js → SetUpDefaultSection--9Qh-utY-3YrGFMUC.js} +16 -16
  150. package/dist/assets/{SignIn-yQ-8MBRA-CihMyZ7q.js → SignIn-CI0Ik2va-3pWKv9Zj.js} +19 -19
  151. package/dist/assets/{SignInScreen-DS6fEfuU.js → SignInScreen-CCdAg0VB.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-_rUojA3M-EqvrqWBS.js → SpendManagementListViewPage-NWkSnIdD-CxhuHjHo.js} +13 -13
  153. package/dist/assets/{SpendManagementPerTabPage-Bhes-f7M-Cb3eyaQr.js → SpendManagementPerTabPage-CdWwn_b8-liFVp2pd.js} +47 -47
  154. package/dist/assets/{SpendManagementSection-CQHWqht2-DUZQM13E.js → SpendManagementSection-DGhD95sz-DwpipRyt.js} +9 -9
  155. package/dist/assets/{SpendMgmtSetupAccountSection-BHZ9nmWy-XOLb3Fur.js → SpendMgmtSetupAccountSection-DG4ozkeT-CwbSJso6.js} +14 -14
  156. package/dist/assets/{StatementItem-CKnsnb3u-ChM8cclP.js → StatementItem-BlfBohft-EV50IPyl.js} +8 -8
  157. package/dist/assets/StatementsPage-CUpjL5u7-BCXI4rzX.js +58 -0
  158. package/dist/assets/{StatusSwitcher-xR-S3KaW-BKRdafwP.js → StatusSwitcher-C6703BAG-BvT29XW2.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-DczmDw-I-DARuAs1S.js → SubTabSwitcher-lf9S7Ubj-DJDWAJ0r.js} +1 -1
  160. package/dist/assets/{SummaryCard-YTxf_JPz-B8RE6XJZ.js → SummaryCard-yghz4PLR-Bjx-2ODn.js} +1 -1
  161. package/dist/assets/TaskManagementPage-Cf523C5f-IxjfQuXH.js +508 -0
  162. package/dist/assets/{TimeRangeSwitcher-C5yC8ifv-C8eV7Phr.js → TimeRangeSwitcher-BoPrOhKX-BejCCLXp.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-D1xKpIjp-DZocHPU3.js → TimeframeSwitcher-DufweySH-PZfP9LZt.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-BKwe3K9l-4nzCluDg.js +31 -0
  165. package/dist/assets/{TopExCard-CJN2nSdQ-Dyx710RI.js → TopExCard-DrOjlLiv-BAcprpz7.js} +6 -6
  166. package/dist/assets/{TopExDetailPage-ClQK2WDh-vTx0gLy7.js → TopExDetailPage-Ds4zlxKD-CEw3GubR.js} +11 -11
  167. package/dist/assets/{TransactionDetailPage-CcNUBQmc-Bqi04LL8.js → TransactionDetailPage-Csl-Qjxp-EnZp16li.js} +47 -47
  168. package/dist/assets/{TransactionList-Dtqr5BZm-2I1pMc5u.js → TransactionList-2HeLZVn9-CrbbPmBE.js} +13 -13
  169. package/dist/assets/{TransactionListBig-D5_iDOBi-CLtD8kFo.js → TransactionListBig-p6iVof9y-BIk3tMms.js} +18 -18
  170. package/dist/assets/{TransactionListPage-DUCJRiyi-Bc5rziPm.js → TransactionListPage-tnL66tOu-CH3TLKSv.js} +6 -6
  171. package/dist/assets/{TransactionVendorDetailPage-DSpchZAl-CViZ0jmN.js → TransactionVendorDetailPage-DzkUYyCr-CDrpLHNP.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-BKWQEojA-CbMkqPsC.js → TransferDrawerPage-B9MGSdS9-CzcQLCyn.js} +28 -28
  173. package/dist/assets/{TreasuryOverviewPage-D1D2WipM-Pwv9-UGk.js → TreasuryOverviewPage-BEzBuOWn-BGywb4hM.js} +31 -31
  174. package/dist/assets/{TreasuryPromoPage-BKgJHnC1-DyZjT5wh.js → TreasuryPromoPage-C8X4X7iN-D0YArboa.js} +15 -15
  175. package/dist/assets/TreasurySetupPage-Cb_GW75l-CXuYmMxJ.js +152 -0
  176. package/dist/assets/{TreasuryStatementsPage-DKHWWnrU-B3Bgyu2R.js → TreasuryStatementsPage-sOiD2QYm-_sZuOKSh.js} +7 -7
  177. package/dist/assets/{TreasuryTaxLetterPage-ieX9MUQd-FaNLEXUv.js → TreasuryTaxLetterPage-DYzqfHym-58oHHynw.js} +7 -7
  178. package/dist/assets/{TreasuryTransferOrReviewPage-DebuIwR3-DyjGtRDG.js → TreasuryTransferOrReviewPage-CesaUuNp-BPIM69Eo.js} +85 -85
  179. package/dist/assets/{TrendChart-B3VgdtYY-Dy5fluFV.js → TrendChart-kwGU0d90-GuSGL0hJ.js} +3 -3
  180. package/dist/assets/{TrendWithTransactions-BMorBxWJ-C0G8In8o.js → TrendWithTransactions-CUlTYGIm-CezwwQyi.js} +3 -3
  181. package/dist/assets/{UncategorizedAccountsMappingPage-BtmfySl9-BN2ZnER4.js → UncategorizedAccountsMappingPage-D76VPNEd-0jriRkP3.js} +15 -15
  182. package/dist/assets/{UnitIntegrationPage-ByqJQgJ1-BX7a3DQa.js → UnitIntegrationPage-BsZCe-lq-DHXBulD5.js} +4 -4
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-Dwv3x7HQ-Ct27O0zE.js → UploadAdditionalDocumentOverlay-B3tUNhKj-B-Cnmuf3.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-BVCUSOMr-BGHN4Pyc.js → Vendor2FAPopup-Bk-WKgMh-DEL2u-h6.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-Cyp1bTJx-DCBHt584.js → VendorACHDetailsPage-u8a3XF33-D560uVGS.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-1_rVoehK-BobdIlMd.js → VendorDetailPage-B-RdB79n-DCaK7fJL.js} +15 -15
  187. package/dist/assets/{VendorDomesticWireDetailsPage-B0wv2GP--DTrjpRQD.js → VendorDomesticWireDetailsPage-Bhb1Dmge-CBaHEUU6.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-C5rHkQrV-CdnxzjBF.js → VendorFiling1099EditablePage-DHRivhBg-D2O_5fGv.js} +10 -10
  189. package/dist/assets/{VendorFirstReviewPage-CDlmZHmw-F8vzLeda.js → VendorFirstReviewPage-Cn2GBsyl-Crwyd647.js} +29 -29
  190. package/dist/assets/{VendorInternationalWireDetailsPage-Cdy000Jx-D5vc2ds4.js → VendorInternationalWireDetailsPage-Cjx1hvUL-CfeyeaMQ.js} +7 -7
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DRN-5n5Y-BNzUBPow.js → VendorInternationalWireSwiftDetailsPage-BszRCCDh-BwXuAv_8.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-Ba7QpWAm-BA29ezpA.js → VendorsAccountsSection-D6VSJUo1-D3zBJygS.js} +4 -4
  193. package/dist/assets/{WarningsDrawerPage-DCUPzxfi-Cw0kcPsl.js → WarningsDrawerPage-DReVGPEj-CByBNeKa.js} +4 -4
  194. package/dist/assets/{ZeniAccountDetailPage-DF7Tn3t3-Bb4ItLLQ.js → ZeniAccountDetailPage-CFTB_WYX-BNpX3bjE.js} +28 -28
  195. package/dist/assets/{ZeniAccountListViewPage-Cz9v3TCo-DC90elHU.js → ZeniAccountListViewPage-BmYgbIuC-CB7ObKhn.js} +18 -18
  196. package/dist/assets/ZeniAccountNavBarPieces-gzy5T7nu-3EZY4gW6.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-D7veJGZk-CE2g39oZ.js → ZeniAccountPromoPage-AfRVTc8V-Ck8cpTYF.js} +10 -10
  198. package/dist/assets/{ZeniAccountSetupPage-ftl559Pj-DUN6Xu8R.js → ZeniAccountSetupPage-YXJmpz_d-DVvqqczO.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-BScA_p2_-3vVWZkac.js → ZeniCopyright-CqpcrgAZ-sq7_yXnA.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-Bu23FZCA-L2os7fMa.js → ZeniTransferAmountSlider-DGkzRyMW-Btixfh5b.js} +1 -1
  201. package/dist/assets/analytics-DThoELaW.js +7 -0
  202. package/dist/assets/{analyticsHelper-SSZc85h7.js → analyticsHelper-adG_BjY9.js} +1 -1
  203. package/dist/assets/{analyticsHelper-CGq-fGOi-CdOAgckK.js → analyticsHelper-sgo3pabT-K1toqw66.js} +1 -1
  204. package/dist/assets/{chartTypes-ChsIdl40-BAMg3Yoy.js → chartTypes-Dj-_K0Gi-BTPAwFj5.js} +1 -1
  205. package/dist/assets/{commonDimensions-Dk1fkj7r-DiuY44GO.js → commonDimensions-CKgBEMhT-DV1PneSk.js} +1 -1
  206. package/dist/assets/{detailCommon-BdiFpATU-C4tIDJfX.js → detailCommon-vtB2ffbe-CI1tw59v.js} +6 -6
  207. package/dist/assets/{downloadPdf-h21F3Bzk-BukvqPr-.js → downloadPdf-CiC0AXNH-BaYefCbJ.js} +1 -1
  208. package/dist/assets/{index-BU_OFOHO.js → index-nrhSmhQT.js} +3364 -3324
  209. package/dist/assets/{liveblocks-BUGn2yQ6.js → liveblocks-sSQ9JElv.js} +1 -1
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-Bimz-BOL-DbOC86fY.js → mapLoadingInProgressToTreeNode-0MIZwF_y-C-JcxjaL.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Dy2RH2lH--F7hkKSm.js → mapSectionWithAcOnlyToTreeNode-CWaIGa37-TStxu4Jm.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-CadZGfr8-BC_KRXsY.js → mapSpacerToTreeNode-1Bdqp9WS-BwfPBFlV.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-BvXiirfs-BVF2yIEM.js → mapTimeframeBalancesToTreeNode-MPZhFWqo-BaV0QGS3.js} +1 -1
  214. package/dist/assets/mui-C5LQ0bMa.js +25 -0
  215. package/dist/assets/{play-icon-DD7TfH-R-DFC4jJ2P.js → play-icon-CF-Mkuir-DlDAGdqf.js} +1 -1
  216. package/dist/assets/{redux-DmDqXYej.js → redux-ByjIRbhZ.js} +1 -1
  217. package/dist/assets/{routing-BNz5gZgX.js → routing-Cpaypegg.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-Dy9J_UtA-BOr91SlJ.js → toCOABalancesWithID-D1BwrImS-goHqPuef.js} +1 -1
  219. package/dist/assets/{toChartData-BdomEAJ--DsSFVPa5.js → toChartData-DVTo0PPD-CtviYuE-.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-D2LtJllD-vFc_5JFm.js → treasuryColorHelper-QzSX5YTe-9nXuNVNj.js} +1 -1
  221. package/dist/assets/{uploadAttachment-C5PL0FaC-BEd4sEZo.js → uploadAttachment-BxwOR3I5-CYLMnUD6.js} +29 -29
  222. package/dist/assets/{uploadReceipts-BH9fi3Vt-Dy17GpvZ.js → uploadReceipts-Buvz7DfG-D9z5xpPz.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +5 -5
  225. package/dist/assets/AccountInfoPage-d3ST-rTL-C3RGUA9e.js +0 -18
  226. package/dist/assets/AccountRow-t4I1y-2K-CtaiIm2n.js +0 -298
  227. package/dist/assets/BillingSettingsPage-CmvoTc8r-DeChOFZr.js +0 -44
  228. package/dist/assets/BillsBulkReviewDrawerPage-OSbHVAMk-DHypnLOn.js +0 -1
  229. package/dist/assets/ChargeCardPromoPage-BzcIsHeK-DWt1qpzp.js +0 -175
  230. package/dist/assets/CheckDepositDrawerPage-BwJ5tAF--BOjUwQ0e.js +0 -206
  231. package/dist/assets/ConfettiBurst-MKPxinI7-D5PjCF0D.js +0 -1
  232. package/dist/assets/CustomerOnboardingContainerPage-D2xC_a0G-Edo-ai-j.js +0 -1
  233. package/dist/assets/CustomerOnboardingPage-Cuf1lJmu-DJVUg9pf.js +0 -107
  234. package/dist/assets/Dashboard-DnR1KvYd-qcmjh10k.js +0 -778
  235. package/dist/assets/DomesticWireDetailsPage-Bvmpk8LN-Cb6zfshw.js +0 -21
  236. package/dist/assets/EditPeoplePage-BTnhywM--C7FSnENf.js +0 -55
  237. package/dist/assets/HelpButton-BKCFqzW3-mV3KEyfP.js +0 -28
  238. package/dist/assets/InvitePeoplePage-fzgtceuE-Ds-gEhhL.js +0 -12
  239. package/dist/assets/LabeledDocumentField-Dv4qzOY0-B2ZnIaW5.js +0 -41
  240. package/dist/assets/LabeledDropDownFormattedTextField-BFMEaVfR-Cbq5gKFg.js +0 -59
  241. package/dist/assets/NoDataChart-BsN_tNbW-DRgn1703.js +0 -26
  242. package/dist/assets/NotificationsListConfig-DtsQwW2b-D98CVoY-.js +0 -1
  243. package/dist/assets/StatementsPage-B73U7d9e-DHwgyw8_.js +0 -58
  244. package/dist/assets/TaskManagementPage-LDFC29Ik-C44JMD6X.js +0 -508
  245. package/dist/assets/TimeframeSwitcherWithToggle-BiHAqit5-BfVPVHhs.js +0 -31
  246. package/dist/assets/TreasurySetupPage-C2JtTOhh-C5WOQnSa.js +0 -152
  247. package/dist/assets/ZeniAccountNavBarPieces-BSObmR0D-Dr6kpot6.js +0 -14
  248. package/dist/assets/analytics-BSSiLa6f.js +0 -7
  249. package/dist/assets/mui-BgvZYSo0.js +0 -22
@@ -1,4 +1,4 @@
1
- import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as Ze,o as d,C as I,J,aZ as qe,v as oe,p as N,ao as Xe,ab as Je,a_ as Ke,a6 as Ce,K as je,g as T,Z as $e,a$ as Qe,aa as et,av as tt,n as st,b0 as ot,b1 as at,b2 as nt,b3 as ae,b4 as it,b5 as rt,f as ct,b6 as lt}from"./index-BU_OFOHO.js";import{b as _,f as K,n as u,k as ke}from"./vendor-CnQcJ2Lu.js";import{m as U,l as te}from"./analyticsHelper-CGq-fGOi-CdOAgckK.js";import{X as dt,e as pt}from"./ReportTableViewSelector-D1UrK7VQ-B2lv_ic2.js";import{F as ut}from"./InsightsSection-xgqf4arB-CemPO1xM.js";import{N as ge,k as mt,q as gt,H as Q,G as de}from"./detailCommon-BdiFpATU-C4tIDJfX.js";import{N as ht,G as ft,H as he,Y as fe,P as be}from"./RevenueChart-CCr_XauF-DE6xvLaq.js";import{C as bt}from"./NoDataChart-BsN_tNbW-DRgn1703.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as xt}from"./TimeRangeSwitcher-C5yC8ifv-C8eV7Phr.js";import{b as Oe}from"./TimeframeSwitcher-D1xKpIjp-DZocHPU3.js";import{a as _t,r as E,b as wt,i as pe,D as St}from"./CollapsableReportTable-iMD5xyGN-DxpM_9bu.js";import{S as yt,M as vt,g as Ct,L as ee,D as Be,T as Pe,I as Le}from"./mapSectionWithAcOnlyToTreeNode-Dy2RH2lH--F7hkKSm.js";import{d as jt}from"./NoDataTable-BbDo9Kma-CGZ-ZRju.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-CB5JLuJi-Bme4BexN.js";import"./chartTypes-ChsIdl40-BAMg3Yoy.js";import"./toCOABalancesWithID-Dy9J_UtA-BOr91SlJ.js";import"./toChartData-BdomEAJ--DsSFVPa5.js";import"./AccountRow-t4I1y-2K-CtaiIm2n.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const $t=e=>_.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},_.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"}),_.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"}),_.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.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"}),_.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"}),_.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.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"})),kt=u.div`
1
+ import{X as O,u as J,M as f,t as ve,l as T,j as s,aW as Ye,d as Ge,D as Ue,aY as Ze,o as d,C as I,H as X,aZ as qe,w as oe,p as N,ai as Je,a7 as Xe,a_ as Ke,a2 as Ce,K as je,g as D,Z as $e,a6 as Qe,ao as et,r as tt,a$ as st,b0 as ot,b1 as at,b2 as ae,b3 as nt,aB as it,f as rt,b4 as ct}from"./index-nrhSmhQT.js";import{b as _,f as K,n as u,k as ke}from"./vendor-CnQcJ2Lu.js";import{m as U,l as te}from"./analyticsHelper-sgo3pabT-K1toqw66.js";import{X as lt,e as dt}from"./ReportTableViewSelector-_RTCd2td-Bc2QvO79.js";import{F as pt}from"./InsightsSection-D9PiJagu-DOwHVFks.js";import{k as ge,q as ut,G as mt,H as Q,N as de}from"./detailCommon-vtB2ffbe-CI1tw59v.js";import{N as gt,G as ht,H as he,Y as fe,P as be}from"./RevenueChart-DeDVVUge-BKnJBaLk.js";import{C as ft}from"./NoDataChart-DE6NV823-DlzVvXWT.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as bt}from"./TimeRangeSwitcher-BoPrOhKX-BejCCLXp.js";import{b as Oe}from"./TimeframeSwitcher-DufweySH-PZfP9LZt.js";import{a as xt,r as E,b as _t,i as pe,D as wt}from"./CollapsableReportTable-DshWn4Fc-1Ky5jq0N.js";import{S as St,M as yt,g as vt,L as ee,D as Be,T as Pe,I as Le}from"./mapSectionWithAcOnlyToTreeNode-CWaIGa37-TStxu4Jm.js";import{d as Ct}from"./NoDataTable-CXNsBBVP-CNpKcnQr.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-DyyCcIih-C83s6vN7.js";import"./chartTypes-Dj-_K0Gi-BTPAwFj5.js";import"./toCOABalancesWithID-D1BwrImS-goHqPuef.js";import"./toChartData-DVTo0PPD-CtviYuE-.js";import"./AccountRow-D4iz2vCr-FZzwmYfW.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const jt=e=>_.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},_.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"}),_.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"}),_.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.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"}),_.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"}),_.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.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"})),$t=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -6,51 +6,51 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
6
6
  height: ${e=>`calc(100vh - ${qe.valuePx(e.windowSize)})`};
7
7
  gap: ${d.sp6};
8
8
  color: ${e=>e.theme.colors.grey2};
9
- `,Ot=u.div`
9
+ `,kt=u.div`
10
10
  width: ${d.sp12};
11
11
  height: ${d.sp12};
12
12
  flex-shrink: 0;
13
- `,Bt=u(oe)`
13
+ `,Ot=u(oe)`
14
14
  color: ${e=>e.theme.colors.hero};
15
15
  display: flex;
16
16
  align-items: center;
17
17
  justify-content: center;
18
18
  flex-direction: column;
19
19
  margin-top: ${d.sp3};
20
- `,Pt=({style:e,emptyContentText:t,EmptyContentImage:o})=>{const a=O();return s.jsxs(kt,{windowSize:a,style:{...e},children:[s.jsx(Ot,{children:s.jsx(o,{})}),s.jsx(Bt,{children:t})]})};function Lt(e){const{reportId:t}=e.report,o=e.filter.balancesRange.orderBy;let a,n,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:i,cashOut:c}=p,l=i.balances.length>0?i:c;l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:i}=p;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),a=i.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:i,income:c}=p.sections,l=i?.balances.length>0?i:c;l?.balances!=null&&l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:i,income:c,cogs:l}=p.sections,g=c.balances.length>0?c:l,m=i.balances.length>0?i:g;m.balances.length>0&&(o==="ascending_date"&&(r=m.balances.length-1),a=m.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:i}=p.sections;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),a=i.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:i}=p.sections;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),a=i.balances[r]);break}case"revenue":{const p=e.report,{income:i,cogs:c}=p.sections,l=i.balances.length>0?i:c;l?.balances!=null&&l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:i,cogs:c}=p.sections,l=i.balances.length>0?i:c;l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}}return a!=null&&(n={startDate:a.startDate,endDate:a.endDate}),n}function Nt(e){const{isCompareModeOn:t,filter:o,coaBalancesRange:a,report:n,currentTenantCompanyName:r,reportView:p,classesToFilterOut:i}=e,{reportId:c}=n;let l=o.balancesRange.thisPeriod;l==null&&(l=Lt({report:n,filter:o}));const g=[];if(t?(g.push("this_period_vs_last_period_percent"),g.push("this_period_vs_last_period")):!t&&c!=="cash_position"&&g.push("free_range_total"),n.reportId!=="cash_position"&&g.push("year_to_date_total"),l!=null)return{localeId:f.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[c],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:o.timeframe,additionalBalances:g,format:e.reportType,balancesFilter:{thisPeriod:l,numberOfPeriods:t?o.balancesRange.numberOfPeriods:a.numberOfPeriods,orderBy:a.orderBy},accountViewMode:p,classesToFilterOut:i,isZeniCOAUsed:e.isZeniCOAUsed}}function It(e){const t=Nt(e);if(t!=null)return dt(e.statementEndPoint,e.authParams,t)}const Rt=u.div`
20
+ `,Bt=({style:e,emptyContentText:t,EmptyContentImage:o})=>{const a=O();return s.jsxs($t,{windowSize:a,style:{...e},children:[s.jsx(kt,{children:s.jsx(o,{})}),s.jsx(Ot,{children:t})]})};function Pt(e){const{reportId:t}=e.report,o=e.filter.balancesRange.orderBy;let a,n,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:i,cashOut:c}=p,l=i.balances.length>0?i:c;l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:i}=p;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),a=i.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:i,income:c}=p.sections,l=i?.balances.length>0?i:c;l?.balances!=null&&l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:i,income:c,cogs:l}=p.sections,g=c.balances.length>0?c:l,m=i.balances.length>0?i:g;m.balances.length>0&&(o==="ascending_date"&&(r=m.balances.length-1),a=m.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:i}=p.sections;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),a=i.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:i}=p.sections;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),a=i.balances[r]);break}case"revenue":{const p=e.report,{income:i,cogs:c}=p.sections,l=i.balances.length>0?i:c;l?.balances!=null&&l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:i,cogs:c}=p.sections,l=i.balances.length>0?i:c;l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}}return a!=null&&(n={startDate:a.startDate,endDate:a.endDate}),n}function Lt(e){const{isCompareModeOn:t,filter:o,coaBalancesRange:a,report:n,currentTenantCompanyName:r,reportView:p,classesToFilterOut:i}=e,{reportId:c}=n;let l=o.balancesRange.thisPeriod;l==null&&(l=Pt({report:n,filter:o}));const g=[];if(t?(g.push("this_period_vs_last_period_percent"),g.push("this_period_vs_last_period")):!t&&c!=="cash_position"&&g.push("free_range_total"),n.reportId!=="cash_position"&&g.push("year_to_date_total"),l!=null)return{localeId:f.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[c],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:o.timeframe,additionalBalances:g,format:e.reportType,balancesFilter:{thisPeriod:l,numberOfPeriods:t?o.balancesRange.numberOfPeriods:a.numberOfPeriods,orderBy:a.orderBy},accountViewMode:p,classesToFilterOut:i,isZeniCOAUsed:e.isZeniCOAUsed}}function Nt(e){const t=Lt(e);if(t!=null)return lt(e.statementEndPoint,e.authParams,t)}const It=u.div`
21
21
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
22
- `;function Tt({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:o}=e,a=o.balances;if(t==null||t===0||a.length===0)return null;const n=a.reduce((c,l)=>c+l.balance.amount,0),r=a[a.length-1],p={...r,balance:{...r.balance,amount:n}},i=f.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(Rt,{children:s.jsx(Q,{balance:p,dateText:i,showInfotip:!1})})}const Dt=u.div`
22
+ `;function Rt({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:o}=e,a=o.balances;if(t==null||t===0||a.length===0)return null;const n=a.reduce((c,l)=>c+l.balance.amount,0),r=a[a.length-1],p={...r,balance:{...r.balance,amount:n}},i=f.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(It,{children:s.jsx(Q,{balance:p,dateText:i,showInfotip:!1})})}const Dt=u.div`
23
23
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
24
- `;function zt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=f.getLocalizedStrings(),{availableNumberOfPeriods:o,cashPosition:a}=e,n=a.balances;if(o==null||o===0||n.length===0)return null;const r=n[n.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Dt,{children:s.jsx(Q,{balance:r,dateText:p,showInfotip:!1})})}const Mt=u.div`
24
+ `;function Tt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=f.getLocalizedStrings(),{availableNumberOfPeriods:o,cashPosition:a}=e,n=a.balances;if(o==null||o===0||n.length===0)return null;const r=n[n.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Dt,{children:s.jsx(Q,{balance:r,dateText:p,showInfotip:!1})})}const zt=u.div`
25
25
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
26
- `,At=u.div`
26
+ `,Mt=u.div`
27
27
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
28
28
  height: ${d.sp6};
29
- `;function Ft({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:o}=t,{availableNumberOfPeriods:a,calculatedSections:n}=e,r=n.netBurnOrIncome.balances;if(a==null||a===0||r.length===0)return s.jsx(At,{});const p=o.includes("this_period_vs_last_period")||o.includes("this_period_vs_last_period_percent"),i=r.reduce((b,w)=>b+w.balance.amount,0),c=r[r.length-1],l=r[0],g={...c,balance:{...c.balance,amount:i},startDate:l.startDate},m=de(g,p);return s.jsx(Mt,{children:s.jsx(Q,{balance:g,dateText:m,showInfotip:!1})})}const Et=u.div`
29
+ `;function At({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:o}=t,{availableNumberOfPeriods:a,calculatedSections:n}=e,r=n.netBurnOrIncome.balances;if(a==null||a===0||r.length===0)return s.jsx(Mt,{});const p=o.includes("this_period_vs_last_period")||o.includes("this_period_vs_last_period_percent"),i=r.reduce((b,w)=>b+w.balance.amount,0),c=r[r.length-1],l=r[0],g={...c,balance:{...c.balance,amount:i},startDate:l.startDate},m=de(g,p);return s.jsx(zt,{children:s.jsx(Q,{balance:g,dateText:m,showInfotip:!1})})}const Ft=u.div`
30
30
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
31
- `,Vt=u.div`
31
+ `,Et=u.div`
32
32
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
33
33
  height: ${d.sp6};
34
- `;function Wt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:o}=e,{selectedAdditionalBalances:a}=t,n=e.sections.expenses.balances??[];if(o==null||o===0||n.length===0)return s.jsx(Vt,{});const r=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),p=n.reduce((m,b)=>m+b.balance.amount,0),i=n[n.length-1],c=n[0],l={...i,balance:{...i.balance,amount:p},startDate:c.startDate},g=de(l,r);return s.jsx(Et,{children:s.jsx(Q,{balance:l,dateText:g,showInfotip:!1})})}const Yt=u.div`
34
+ `;function Vt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:o}=e,{selectedAdditionalBalances:a}=t,n=e.sections.expenses.balances??[];if(o==null||o===0||n.length===0)return s.jsx(Et,{});const r=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),p=n.reduce((m,b)=>m+b.balance.amount,0),i=n[n.length-1],c=n[0],l={...i,balance:{...i.balance,amount:p},startDate:c.startDate},g=de(l,r);return s.jsx(Ft,{children:s.jsx(Q,{balance:l,dateText:g,showInfotip:!1})})}const Wt=u.div`
35
35
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
36
36
  `,Ht=u.div`
37
37
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
38
38
  height: ${d.sp6};
39
- `;function Gt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:o,sections:a}=e,{selectedAdditionalBalances:n}=t,r=a.income.balances;if(o==null||o===0||r.length===0)return s.jsx(Ht,{});const p=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),i=r.reduce((b,w)=>b+w.balance.amount,0),c=r[r.length-1],l=r[0],g={...c,balance:{...c.balance,amount:i},startDate:l.startDate},m=de(g,p);return s.jsx(Yt,{children:s.jsx(Q,{balance:g,dateText:m,showInfotip:!1})})}const Ut=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(Ft,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(Gt,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(Wt,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(zt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Tt,{highlightedRangeReport:e});default:return null}},se={wrapperPadding:new I(N[3],N[3],N[8]),chartHeight:new I(288,360)},Zt=u.div`
39
+ `;function Yt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:o,sections:a}=e,{selectedAdditionalBalances:n}=t,r=a.income.balances;if(o==null||o===0||r.length===0)return s.jsx(Ht,{});const p=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),i=r.reduce((b,w)=>b+w.balance.amount,0),c=r[r.length-1],l=r[0],g={...c,balance:{...c.balance,amount:i},startDate:l.startDate},m=de(g,p);return s.jsx(Wt,{children:s.jsx(Q,{balance:g,dateText:m,showInfotip:!1})})}const Gt=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(At,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(Yt,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(Vt,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Tt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Rt,{highlightedRangeReport:e});default:return null}},se={wrapperPadding:new I(N[3],N[3],N[8]),chartHeight:new I(288,360)},Ut=u.div`
40
40
  display: flex;
41
41
  flex: 1 1 auto;
42
42
  flex-direction: column;
43
43
  height: ${e=>se.chartHeight.valuePx(e.windowSize)};
44
- `,qt=u.div`
44
+ `,Zt=u.div`
45
45
  display: flex;
46
- `,Xt=e=>{const t=O(),{selectedRangeReport:o,selectedClassesViewRangeReport:a,uiState:n,onCOABalancesRangeChanged:r}=e,p=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0,{selectedCOABalancesRange:i,selectedAdditionalBalances:c,highlightedCOABalancesRange:l,timeframe:g}=n,m=a!==void 0&&a.uiState.accountViewMode==="classes"?a:o;return p?s.jsx(qt,{children:s.jsx(bt,{title:f.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(Zt,{windowSize:t,children:s.jsx(Xe,{children:({height:b,width:w})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(v,S,h)=>{Jt(o.firstMonthOfFY,c,o.reportId,S,v,e.analytics),r(i,h)},highlightedRange:l,isDetailPage:!0,timeframe:g,width:w,height:b};switch(m.reportId){case"net_burn_or_income":return s.jsx(be,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(be,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue":return s.jsx(fe,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(fe,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(he,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(he,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(ft,{selectedRangeReport:o,...x});case"cash_in_cash_out":return s.jsx(ht,{selectedRangeReport:o,...x});default:return null}}})})},Jt=(e,t,o,a,n,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(o),U(a),"bar",te(e,a,n)),r?.trackDateRangeFilterChange(R(o),"bar",p,void 0,te(e,a,n))},Ne={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"}},Ie=ke`
46
+ `,qt=e=>{const t=O(),{selectedRangeReport:o,selectedClassesViewRangeReport:a,uiState:n,onCOABalancesRangeChanged:r}=e,p=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0,{selectedCOABalancesRange:i,selectedAdditionalBalances:c,highlightedCOABalancesRange:l,timeframe:g}=n,m=a!==void 0&&a.uiState.accountViewMode==="classes"?a:o;return p?s.jsx(Zt,{children:s.jsx(ft,{title:f.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(Ut,{windowSize:t,children:s.jsx(Je,{children:({height:b,width:w})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(v,S,h)=>{Jt(o.firstMonthOfFY,c,o.reportId,S,v,e.analytics),r(i,h)},highlightedRange:l,isDetailPage:!0,timeframe:g,width:w,height:b};switch(m.reportId){case"net_burn_or_income":return s.jsx(be,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(be,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue":return s.jsx(fe,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(fe,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(he,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(he,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(ht,{selectedRangeReport:o,...x});case"cash_in_cash_out":return s.jsx(gt,{selectedRangeReport:o,...x});default:return null}}})})},Jt=(e,t,o,a,n,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(o),U(a),"bar",te(e,a,n)),r?.trackDateRangeFilterChange(R(o),"bar",p,void 0,te(e,a,n))},Ne={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"}},Ie=ke`
47
47
  0% {
48
48
  transform: translateY(100%)
49
49
  }
50
50
  100% {
51
51
  transform: translateY(0)
52
52
  }
53
- `,Kt=ke`
53
+ `,Xt=ke`
54
54
  0% {
55
55
  opacity: 0
56
56
  }
@@ -60,7 +60,7 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
60
60
  100% {
61
61
  opacity: 1
62
62
  }
63
- `,Qt=u.div`
63
+ `,Kt=u.div`
64
64
  position: fixed;
65
65
  top: 0;
66
66
  left: 0;
@@ -70,8 +70,8 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
70
70
  display: flex;
71
71
  flex-direction: column;
72
72
  align-items: center;
73
- background: ${T.overlayDark};
74
- `,es=u.div`
73
+ background: ${D.overlayDark};
74
+ `,Qt=u.div`
75
75
  position: fixed;
76
76
  top: 0;
77
77
  left: 0;
@@ -82,19 +82,19 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
82
82
  flex-direction: column;
83
83
  align-items: center;
84
84
  overflow: auto;
85
- background: ${T.blackColor}E6;
85
+ background: ${D.blackColor}E6;
86
86
  `,Re=u.div`
87
87
  padding: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:`${d.sp0} ${d.sp8}`};
88
88
  margin-top: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:d.sp7};
89
89
  width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"100%":"620px"};
90
90
  height: 544px;
91
91
  text-align: center;
92
- `,Te=u.div`
92
+ `,De=u.div`
93
93
  display: flex;
94
94
  justify-content: flex-end;
95
95
  width: 100%;
96
96
  padding: ${d.sp3} ${d.sp4};
97
- `,De=u.div`
97
+ `,Te=u.div`
98
98
  color: ${e=>e.theme.colors.hero};
99
99
  width: ${d.sp3};
100
100
  height: ${d.sp3};
@@ -103,8 +103,8 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
103
103
  &:hover {
104
104
  color: ${e=>e.theme.colors.primary};
105
105
  }
106
- animation: ${Kt} 0.4s;
107
- `,ts=u.div`
106
+ animation: ${Xt} 0.4s;
107
+ `,es=u.div`
108
108
  display: flex;
109
109
  flex-direction: column;
110
110
  justify-content: space-between;
@@ -117,7 +117,7 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
117
117
  border-radius: ${d.sp2};
118
118
  animation: ${Ie} 0.4s;
119
119
  position: relative;
120
- `,ss=u.div`
120
+ `,ts=u.div`
121
121
  display: flex;
122
122
  flex-direction: column;
123
123
  justify-content: space-between;
@@ -128,22 +128,22 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
128
128
  width: 100%;
129
129
  animation: ${Ie} 0.4s;
130
130
  position: relative;
131
- `,os=u.div`
131
+ `,ss=u.div`
132
132
  position: absolute;
133
133
  left: 0;
134
134
  margin-top: 130px;
135
- `,as=u.div`
135
+ `,os=u.div`
136
136
  position: absolute;
137
137
  left: 0;
138
138
  margin-top: 500px;
139
- `,ns=u.div`
139
+ `,as=u.div`
140
140
  position: absolute;
141
141
  right: 30px;
142
142
  margin-top: 200px;
143
- `,is=u.div`
143
+ `,ns=u.div`
144
144
  width: 140px;
145
145
  transform: rotate(-22.31deg);
146
- `,rs=u.div`
146
+ `,is=u.div`
147
147
  position: absolute;
148
148
  width: 130px;
149
149
  height: ${d.sp0};
@@ -151,53 +151,53 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
151
151
  border: none;
152
152
  border-top: 3px dotted ${e=>e.theme.colors.grey3};
153
153
  float: left;
154
- `,cs=u.div`
154
+ `,rs=u.div`
155
155
  width: 0;
156
156
  height: 0;
157
157
  border-top: 10px solid transparent;
158
158
  border-bottom: 10px solid transparent;
159
159
  border-left: ${d.sp3} solid ${e=>e.theme.colors.grey3};
160
160
  float: right;
161
- `,ls=u($e)`
161
+ `,cs=u($e)`
162
162
  max-width: 496px;
163
163
  margin-top: ${d.sp7};
164
164
  margin: auto;
165
165
  color: ${e=>e.theme.colors.primary};
166
- `,ds=u($e)`
166
+ `,ls=u($e)`
167
167
  max-width: 330px;
168
168
  margin: auto;
169
- color: ${T.primaryDark};
169
+ color: ${D.primaryDark};
170
170
  `,ze=u.div``,Me=u(oe)`
171
171
  margin: ${d.sp3} auto;
172
172
  max-width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"330px":"422px"};
173
- color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?T.heroDark:e.theme.colors.hero};
174
- `,ps=u.div`
173
+ color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?D.heroDark:e.theme.colors.hero};
174
+ `,ds=u.div`
175
175
  display: flex;
176
176
  flex-direction: column;
177
177
  align-items: center;
178
178
  justify-content: center;
179
179
  margin-top: 22px;
180
180
  margin-bottom: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp3:d.sp4};
181
- `,us=u.ul`
181
+ `,ps=u.ul`
182
182
  display: flex;
183
183
  flex-direction: column;
184
184
  text-align: left;
185
185
  width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"350px":"620px"};
186
- color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?T.heroDark:e.theme.colors.hero};
186
+ color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?D.heroDark:e.theme.colors.hero};
187
187
  margin-top: 22px;
188
188
  list-style-position: outside;
189
189
  padding-left: ${d.sp3};
190
- `,ne=u(tt)``,ie=u(et)``,re=u.li``,ms=u.div`
190
+ `,ne=u(et)``,ie=u(Qe)``,re=u.li``,us=u.div`
191
191
  overflow: hidden;
192
192
  max-width: 712px;
193
193
  display: flex;
194
- `,gs=u.div`
194
+ `,ms=u.div`
195
195
  margin-bottom: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp4:d.sp0};
196
196
  background: ${e=>e.theme.colors.grey3};
197
197
  border-radius: 12px;
198
198
  border: ${e=>`1px solid ${e.theme.colors.grey5}`};
199
199
  padding: ${d.sp2};
200
- `,ce=()=>s.jsxs(is,{children:[s.jsx(rs,{}),s.jsx(cs,{})]}),Ae=({imgSrc:e})=>{const t=O();return s.jsxs(ps,{windowSize:t,children:[s.jsx(ms,{windowSize:t,children:s.jsx(gs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(us,{windowSize:t,children:[s.jsxs(re,{children:[s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ne,{children:f.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(re,{children:[s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ne,{children:f.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(re,{children:[s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ne,{children:f.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},hs=e=>{const{onClose:t,reportId:o,meetingUrl:a}=e,n=O(),r=X(),p=l=>{l.stopPropagation(),t()},i=()=>{window.open(a.toString(),"_blank")},c=Ne[o][r.mode];return s.jsxs(es,{role:"presentation",onClick:l=>p(l),children:[s.jsx(Te,{children:s.jsx(De,{children:s.jsx(Ce,{style:{width:"18px",height:"18px"}})})}),s.jsx(ss,{onClick:l=>l.stopPropagation(),children:s.jsxs(Re,{windowSize:n,children:[s.jsx(ds,{children:f.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(Ae,{imgSrc:c}),s.jsxs(ze,{children:[s.jsx(je,{variant:"primary",label:f.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:i,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(Me,{windowSize:n,children:f.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},fs=e=>{const{onClose:t,reportId:o,meetingUrl:a}=e,n=O(),r=X(),p=l=>{l.stopPropagation(),t()},i=()=>{window.open(a.toString(),"_blank")},c=Ne[o][r.mode];return s.jsxs(Qt,{role:"presentation",onClick:l=>p(l),children:[s.jsx(Te,{children:s.jsx(De,{children:s.jsx(Ce,{style:{width:"18px",height:"18px"}})})}),s.jsxs(ts,{onClick:l=>l.stopPropagation(),children:[s.jsxs(Re,{windowSize:n,children:[s.jsx(ls,{children:f.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(Ae,{imgSrc:c}),s.jsxs(ze,{children:[s.jsx(je,{variant:"primary",label:f.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:i}),s.jsx(Me,{windowSize:n,children:f.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(os,{children:s.jsx(ce,{})}),s.jsx(as,{children:s.jsx(ce,{})}),s.jsx(ns,{children:s.jsx(ce,{})})]})]})};function bs(e){const t=O();return t==="small"||t==="medium-compact"?s.jsx(hs,{...e}):s.jsx(fs,{...e})}const le="ZeniSwitch",z={root:`${le}-root`,switchBase:`${le}-switchBase`,track:`${le}-track`},xs=({className:e,...t})=>s.jsx(it,{...t,className:e,classes:{...z}}),_s=Qe(xs)(({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}})),Fe=e=>s.jsx(_s,{...e}),Z={containerMaxWidth:new I(124,154),forecastNameInnerWidth:new I(75,105),forecastNameOuterWidth:new I(90,120),tooltipTopPosition:new I(51,51),tooltipWidth:new I(180,150)},xe=u.div``,ws=u.div`
200
+ `,ce=()=>s.jsxs(ns,{children:[s.jsx(is,{}),s.jsx(rs,{})]}),Ae=({imgSrc:e})=>{const t=O();return s.jsxs(ds,{windowSize:t,children:[s.jsx(us,{windowSize:t,children:s.jsx(ms,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(ps,{windowSize:t,children:[s.jsxs(re,{children:[s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ne,{children:f.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(re,{children:[s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ne,{children:f.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(re,{children:[s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ne,{children:f.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},gs=e=>{const{onClose:t,reportId:o,meetingUrl:a}=e,n=O(),r=J(),p=l=>{l.stopPropagation(),t()},i=()=>{window.open(a.toString(),"_blank")},c=Ne[o][r.mode];return s.jsxs(Qt,{role:"presentation",onClick:l=>p(l),children:[s.jsx(De,{children:s.jsx(Te,{children:s.jsx(Ce,{style:{width:"18px",height:"18px"}})})}),s.jsx(ts,{onClick:l=>l.stopPropagation(),children:s.jsxs(Re,{windowSize:n,children:[s.jsx(ls,{children:f.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(Ae,{imgSrc:c}),s.jsxs(ze,{children:[s.jsx(je,{variant:"primary",label:f.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:i,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Me,{windowSize:n,children:f.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},hs=e=>{const{onClose:t,reportId:o,meetingUrl:a}=e,n=O(),r=J(),p=l=>{l.stopPropagation(),t()},i=()=>{window.open(a.toString(),"_blank")},c=Ne[o][r.mode];return s.jsxs(Kt,{role:"presentation",onClick:l=>p(l),children:[s.jsx(De,{children:s.jsx(Te,{children:s.jsx(Ce,{style:{width:"18px",height:"18px"}})})}),s.jsxs(es,{onClick:l=>l.stopPropagation(),children:[s.jsxs(Re,{windowSize:n,children:[s.jsx(cs,{children:f.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(Ae,{imgSrc:c}),s.jsxs(ze,{children:[s.jsx(je,{variant:"primary",label:f.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:i}),s.jsx(Me,{windowSize:n,children:f.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(ss,{children:s.jsx(ce,{})}),s.jsx(os,{children:s.jsx(ce,{})}),s.jsx(as,{children:s.jsx(ce,{})})]})]})};function fs(e){const t=O();return t==="small"||t==="medium-compact"?s.jsx(gs,{...e}):s.jsx(hs,{...e})}const le="ZeniSwitch",z={root:`${le}-root`,switchBase:`${le}-switchBase`,track:`${le}-track`},bs=({className:e,...t})=>s.jsx(nt,{...t,className:e,classes:{...z}}),xs=u(bs)(({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}})),Fe=e=>s.jsx(xs,{...e}),Z={containerMaxWidth:new I(124,154),forecastNameInnerWidth:new I(75,105),forecastNameOuterWidth:new I(90,120),tooltipTopPosition:new I(51,51),tooltipWidth:new I(180,150)},xe=u.div``,_s=u.div`
201
201
  min-width: ${e=>Z.forecastNameInnerWidth.valuePx(e.windowSize)};
202
202
  &:hover {
203
203
  .info-tooltip {
@@ -207,41 +207,41 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
207
207
  align-items: center;
208
208
  }
209
209
  }
210
- `,Ss=u.div`
210
+ `,ws=u.div`
211
211
  display: flex;
212
212
  flex-direction: column;
213
213
  width: 315px;
214
214
  white-space: normal;
215
- `,ys=u(rt)`
215
+ `,Ss=u(it)`
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};
219
219
  margin-bottom: ${d.sp1};
220
220
  align-items: center;
221
- `,vs=u(oe)`
221
+ `,ys=u(oe)`
222
222
  display: flex;
223
223
  color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
224
224
  margin-bottom: ${d.sp1};
225
- `,Cs=u.div``,js=u.div``,$s=u(ct)`
225
+ `,vs=u.div``,Cs=u.div``,js=u(rt)`
226
226
  display: flex;
227
- color: ${T.alert};
228
- `,ks=u(lt)`
229
- color: ${T.alert};
227
+ color: ${D.alert};
228
+ `,$s=u(ct)`
229
+ color: ${D.alert};
230
230
  width: ${d.sp4};
231
231
  height: ${d.sp4};
232
232
  margin-right: ${d.sp1};
233
- `,Os=u.span`
233
+ `,ks=u.span`
234
234
  overflow: hidden;
235
235
  white-space: nowrap;
236
236
  text-overflow: ellipsis;
237
237
  max-width: ${e=>Z.forecastNameOuterWidth.valuePx(e.windowSize)};
238
238
  text-align: right;
239
- `,Bs=u.div`
239
+ `,Os=u.div`
240
240
  display: flex;
241
241
  flex-direction: row;
242
242
  align-items: center;
243
243
  justify-content: end;
244
- `,Ps=u.div`
244
+ `,Bs=u.div`
245
245
  background-color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
246
246
  border-radius: 3px;
247
247
  border-width: 1px;
@@ -251,7 +251,7 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
251
251
  align-self: center;
252
252
  margin-left: ${d.sp2};
253
253
  margin-right: ${d.sp2};
254
- `,Ls=u.div``,Ns=u.div`
254
+ `,Ps=u.div``,Ls=u.div`
255
255
  display: none;
256
256
  background-color: ${e=>e.theme.colors.primary};
257
257
  position: absolute;
@@ -261,20 +261,20 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
261
261
  z-index: 1;
262
262
  width: ${e=>Z.tooltipWidth.valuePx(e.windowSize)};
263
263
  top: ${e=>Z.tooltipTopPosition.valuePx(e.windowSize)};
264
- `,Is=u(st)`
264
+ `,Ns=u(tt)`
265
265
  color: ${e=>e.theme.colors.grey5};
266
- `;function Rs({selectedForecastIndex:e,forecasts:t,isDisabled:o,isForecastValid:a,onForecastSelectionChanged:n}){const r=O(),{dateFormat:{visual:p}}=f.getLocalizedStrings(),i=m=>`${m.startDate.format(p.MMMYYYYFormat)} - ${m.endDate.format(p.MMMYYYYFormat)}`,c=m=>m.map((b,w)=>({label:b.name,value:w,forecastId:b.id,timeframeLabel:i(b.forecastPeriod),isValid:a(b)})),[l,g]=_.useState(c(t));return K.useEffect(()=>{g(c(t))},[t]),s.jsxs(ws,{windowSize:r,children:[s.jsx(Ls,{children:s.jsx(Ns,{className:"info-tooltip",windowSize:r,children:s.jsx(Is,{children:l[e]!=null?l[e].label:""})})}),s.jsx(Ts,{selectedForecast:l[e],forecastOptions:l,isDisabled:o,onForecastSelectionChanged:n})]})}const Ts=({selectedForecast:e,forecastOptions:t,isDisabled:o,onForecastSelectionChanged:a})=>{const n=X(),r=O(),[p,i]=_.useState(e),c=n.colors.grey5,l=n.colors.grey5,g=n.colors.grey3;_.useEffect(()=>{i(e)},[e]);const m=u(ot)`
266
+ `;function Is({selectedForecastIndex:e,forecasts:t,isDisabled:o,isForecastValid:a,onForecastSelectionChanged:n}){const r=O(),{dateFormat:{visual:p}}=f.getLocalizedStrings(),i=m=>`${m.startDate.format(p.MMMYYYYFormat)} - ${m.endDate.format(p.MMMYYYYFormat)}`,c=m=>m.map((b,w)=>({label:b.name,value:w,forecastId:b.id,timeframeLabel:i(b.forecastPeriod),isValid:a(b)})),[l,g]=_.useState(c(t));return K.useEffect(()=>{g(c(t))},[t]),s.jsxs(_s,{windowSize:r,children:[s.jsx(Ps,{children:s.jsx(Ls,{className:"info-tooltip",windowSize:r,children:s.jsx(Ns,{children:l[e]!=null?l[e].label:""})})}),s.jsx(Rs,{selectedForecast:l[e],forecastOptions:l,isDisabled:o,onForecastSelectionChanged:n})]})}const Rs=({selectedForecast:e,forecastOptions:t,isDisabled:o,onForecastSelectionChanged:a})=>{const n=J(),r=O(),[p,i]=_.useState(e),c=n.colors.grey5,l=n.colors.grey5,g=n.colors.grey3;_.useEffect(()=>{i(e)},[e]);const m=u(st)`
267
267
  height: ${d.sp3};
268
268
  width: ${d.sp3};
269
- `,b=u(at)`
269
+ `,b=u(ot)`
270
270
  height: 12px;
271
271
  width: 12px;
272
272
  margin-left: 6px;
273
- `,w=({children:h,...C})=>s.jsx(ae.SingleValue,{...C,children:s.jsxs(Bs,{children:[s.jsx(Os,{windowSize:r,children:h}),s.jsx(b,{})]})}),x=h=>s.jsx(ae.DropdownIndicator,{...h,children:s.jsx(xe,{})}),v=h=>s.jsx(xe,{children:s.jsx(ae.Option,{...h,children:s.jsxs(Ss,{children:[s.jsxs(ys,{isValid:h.data.isValid,children:[h.label,h.isSelected?s.jsx(m,{}):null]}),s.jsxs(vs,{isValid:h.data.isValid,children:[s.jsx(Cs,{children:h.data.timeframeLabel}),s.jsx(Ps,{isValid:h.data.isValid}),s.jsx(js,{children:f.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),h.data.isValid===!1?s.jsxs($s,{children:[s.jsx(ks,{}),f.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(h,C)=>({...h,border:0,backgroundColor:l,color:C.selectProps.menuIsOpen===!0?n.colors.primary:n.colors.hero,boxShadow:l,":active":{backgroundColor:l},":hover":{color:n.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:h=>({...h,backgroundColor:l,maxWidth:Z.containerMaxWidth.valuePx(r),minWidth:Z.containerMaxWidth.valuePx(r)}),singleValue:(h,C)=>({...h,color:C.selectProps.menuIsOpen===!0?n.colors.primary:n.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:n.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:h=>({...h,backgroundColor:c,borderRadius:N[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${n.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:h=>({...h,borderRadius:N[1],maxWidth:"350px"}),option:(h,{isDisabled:C,isSelected:k,isFocused:V})=>({...h,color:k?n.colors.champion:n.colors.hero,backgroundColor:k===!0?g:V===!0&&C!==!0?n.colors.background:c,cursor:C===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:C===!1?k===!0?g:n.colors.background:c,color:n.colors.primary},borderBottom:"1px solid "+n.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(nt,{options:t,components:{SingleValue:w,DropdownIndicator:x,Option:v},styles:S,defaultValue:p,onChange:h=>{const C=h;i(C),a(C.forecastId,C.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:h=>h.isValid===!1,theme:h=>({...h,colors:{...h.colors,primary:c}}),isDisabled:o})},_e={timeframePaddingLeft:new I(0,0,245),timeframePaddingBottom:new I(8,8,0)},Ds=u.div`
273
+ `,w=({children:h,...C})=>s.jsx(ae.SingleValue,{...C,children:s.jsxs(Os,{children:[s.jsx(ks,{windowSize:r,children:h}),s.jsx(b,{})]})}),x=h=>s.jsx(ae.DropdownIndicator,{...h,children:s.jsx(xe,{})}),v=h=>s.jsx(xe,{children:s.jsx(ae.Option,{...h,children:s.jsxs(ws,{children:[s.jsxs(Ss,{isValid:h.data.isValid,children:[h.label,h.isSelected?s.jsx(m,{}):null]}),s.jsxs(ys,{isValid:h.data.isValid,children:[s.jsx(vs,{children:h.data.timeframeLabel}),s.jsx(Bs,{isValid:h.data.isValid}),s.jsx(Cs,{children:f.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),h.data.isValid===!1?s.jsxs(js,{children:[s.jsx($s,{}),f.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(h,C)=>({...h,border:0,backgroundColor:l,color:C.selectProps.menuIsOpen===!0?n.colors.primary:n.colors.hero,boxShadow:l,":active":{backgroundColor:l},":hover":{color:n.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:h=>({...h,backgroundColor:l,maxWidth:Z.containerMaxWidth.valuePx(r),minWidth:Z.containerMaxWidth.valuePx(r)}),singleValue:(h,C)=>({...h,color:C.selectProps.menuIsOpen===!0?n.colors.primary:n.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:n.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:h=>({...h,backgroundColor:c,borderRadius:N[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${n.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:h=>({...h,borderRadius:N[1],maxWidth:"350px"}),option:(h,{isDisabled:C,isSelected:k,isFocused:V})=>({...h,color:k?n.colors.champion:n.colors.hero,backgroundColor:k===!0?g:V===!0&&C!==!0?n.colors.background:c,cursor:C===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:C===!1?k===!0?g:n.colors.background:c,color:n.colors.primary},borderBottom:"1px solid "+n.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(at,{options:t,components:{SingleValue:w,DropdownIndicator:x,Option:v},styles:S,defaultValue:p,onChange:h=>{const C=h;i(C),a(C.forecastId,C.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:h=>h.isValid===!1,theme:h=>({...h,colors:{...h.colors,primary:c}}),isDisabled:o})},_e={timeframePaddingLeft:new I(0,0,245),timeframePaddingBottom:new I(8,8,0)},Ds=u.div`
274
274
  display: flex;
275
275
  width: 100%;
276
276
  flex-direction: column;
277
- `,zs=u.div`
277
+ `,Ts=u.div`
278
278
  display: flex;
279
279
  width: 100%;
280
280
  flex-direction: row;
@@ -285,20 +285,20 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
285
285
  justify-content: center;
286
286
  padding-left: ${e=>_e.timeframePaddingLeft.valuePx(e.windowSize)};
287
287
  padding-bottom: ${e=>_e.timeframePaddingBottom.valuePx(e.windowSize)};
288
- `,Ms=u.div`
288
+ `,zs=u.div`
289
289
  display: flex;
290
290
  width: 100%;
291
291
  flex-direction: row;
292
292
  align-items: center;
293
293
  justify-content: center;
294
- `,As=u.div`
294
+ `,Ms=u.div`
295
295
  display: flex;
296
296
  flex-direction: row;
297
297
  align-items: center;
298
298
  justify-self: flex-end;
299
299
  justify-content: flex-end;
300
300
  min-width: 315px;
301
- `,Fs=u.div`
301
+ `,As=u.div`
302
302
  display: flex;
303
303
  flex-direction: row;
304
304
  align-items: center;
@@ -306,44 +306,44 @@ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as
306
306
  `,Ve=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
- `,We=({label:e,isOn:t,isToggleDisabled:o,onValueChanged:a})=>s.jsxs(s.Fragment,{children:[s.jsx(Ve,{isOn:t,isDisabled:o===!0,children:e}),s.jsx(Fe,{checked:t,edge:"end",disabled:o===!0,disableRipple:o===!0,onChange:n=>{a(n.target.checked)}})]});function Ye({isOn:e,isDisabled:t,selectedForecastIndex:o,forecasts:a,isForecastValid:n,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Fs,{children:[e===!0&&a!=null&&a.length!==0?s.jsx(Rs,{selectedForecastIndex:o??0,forecasts:a,isForecastValid:n,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ve,{isOn:e,isDisabled:t===!0,children:f.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Fe,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:i=>{r(i.target.checked)}})]})}const Es=e=>{const t=O();return s.jsxs(Ds,{children:[s.jsx(Ee,{windowSize:t,children:s.jsx(Oe,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ms,{children:[e.forecastListWithToggle!=null&&s.jsx(Ye,{...e.forecastListWithToggle}),s.jsx(We,{...e.compareToggle,label:f.getLocalizedStrings().compareSwitchLabel})]})]})},Vs=e=>{const t=O();return s.jsxs(zs,{children:[s.jsx(Ee,{windowSize:t,children:s.jsx(Oe,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(As,{children:[e.forecastListWithToggle!=null&&s.jsx(Ye,{...e.forecastListWithToggle}),s.jsx(We,{...e.compareToggle,label:f.getLocalizedStrings().compareSwitchLabel})]})]})};function Ws(e){const t=O();return t==="small"||t==="medium-compact"?s.jsx(Es,{...e}):s.jsx(Vs,{...e})}const Ys=u.div`
309
+ `,We=({label:e,isOn:t,isToggleDisabled:o,onValueChanged:a})=>s.jsxs(s.Fragment,{children:[s.jsx(Ve,{isOn:t,isDisabled:o===!0,children:e}),s.jsx(Fe,{checked:t,edge:"end",disabled:o===!0,disableRipple:o===!0,onChange:n=>{a(n.target.checked)}})]});function He({isOn:e,isDisabled:t,selectedForecastIndex:o,forecasts:a,isForecastValid:n,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(As,{children:[e===!0&&a!=null&&a.length!==0?s.jsx(Is,{selectedForecastIndex:o??0,forecasts:a,isForecastValid:n,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ve,{isOn:e,isDisabled:t===!0,children:f.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Fe,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:i=>{r(i.target.checked)}})]})}const Fs=e=>{const t=O();return s.jsxs(Ds,{children:[s.jsx(Ee,{windowSize:t,children:s.jsx(Oe,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(zs,{children:[e.forecastListWithToggle!=null&&s.jsx(He,{...e.forecastListWithToggle}),s.jsx(We,{...e.compareToggle,label:f.getLocalizedStrings().compareSwitchLabel})]})]})},Es=e=>{const t=O();return s.jsxs(Ts,{children:[s.jsx(Ee,{windowSize:t,children:s.jsx(Oe,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ms,{children:[e.forecastListWithToggle!=null&&s.jsx(He,{...e.forecastListWithToggle}),s.jsx(We,{...e.compareToggle,label:f.getLocalizedStrings().compareSwitchLabel})]})]})};function Vs(e){const t=O();return t==="small"||t==="medium-compact"?s.jsx(Fs,{...e}):s.jsx(Es,{...e})}const Ws=u.div`
310
310
  display: flex;
311
311
  padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
312
- `,Hs=u.div``,Gs=u.div``,Us=e=>{const{selectedRangeReport:t,uiState:o,analytics:a,onThisPeriodChanged:n,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:i}=e,c=ve(),{allTimeframeTicks:l}=t,{selectedCOABalancesRange:g,timeframe:m}=o,b=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],w=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=o.mode==="compare_mode"&&!w,v=c.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,h;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;default:S=void 0}const C=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=C||t.availableNumberOfPeriods===1,V=y=>!!y.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[B,A]=_.useState(!1),Y=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),F=o.mode,L=o.selectedForecast;_.useEffect(()=>{F==="forecast_mode"&&h==="Completed"&&S?.length===0&&(A(!0),document.body.style.overflow="hidden")},[h,F,S]),_.useEffect(()=>{F==="forecast_mode"&&L!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[L.index].name)},[L]);const W=(y,j,H)=>{j===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",y==="forecast_mode"),e.onForecastToggle?.(y,H)};return s.jsx(Gs,{children:s.jsxs(Hs,{children:[s.jsx(Ys,{children:s.jsx(Ws,{timeframe:{allowedTimeframes:b,selectedTimeframe:m,onTimeframeSelectionChanged:y=>{e.analytics?.trackTimeframeSwitch(U(y),R(t.reportId)),r?.(y),e.uiState.mode==="compare_mode"&&!x&&i(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:f.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:y=>{const j=y===!0||o.mode==="forecast_mode"?3:1;a?.trackCompareMode(y,R(t.reportId),U(m)),i(y,y?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:v===!0?{isOn:o.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(y,j)=>W("forecast_mode",!1,{id:y,index:j}),onForecastToggleChanged:y=>{W(y===!0?"forecast_mode":"off",!0)}}:void 0})}),B==!0?s.jsx(bs,{meetingUrl:Y,reportId:t.reportId,onClose:()=>{A(!1),e.onForecastToggle?.("off");const y=1;document.body.style.overflow="auto",i(x,x?["this_period_vs_last_period_percent"]:[],y)}}):null,C?null:s.jsx(xt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:m,timeframeTicks:l,selection:{selectedTicks:ge(l,g),highlightedOfSelectedTicks:ge(l,g)},onClick:(y,j)=>{we(t.firstMonthOfFY,x,t.reportId,m,j,e.analytics),n(j)},onSelectionChanged:(y,j)=>{const H=mt(l,y.fromEnd),G=gt(l,j);we(t.firstMonthOfFY,x,t.reportId,m,G.thisPeriod,e.analytics),p(H,G)}})]})})},we=(e,t,o,a,n,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(o),U(a),"range filter",te(e,a,n)),r?.trackDateRangeFilterChange(R(o),"range filter",t,te(e,a,n))};function ue({account:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:r,parentNodeIDs:p}){return{children:[],id:E("ac_report",p,e.accountId),isLastNode:n,reportElementData:{element:{kind:"ac_report",title:a,sectionType:t,data:e,numOfBalances:o},config:r}}}function Zs({acGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:r,parentNodeIDs:p}){const i=E("ac_group_report",p,e.accountGroupId),c={children:[],id:i,isLastNode:n,reportElementData:{element:{kind:"ac_group_report",title:a,sectionType:t,data:e,numOfBalances:o},config:r}},l=pe(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return c.children=l.map((g,m)=>ue({account:g,sectionType:t,numOfBalances:o,title:g.accountDescription,config:r,isLastNode:m===l.length-1,parentNodeIDs:[...p,i]})),c}function Se({section:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:r}){const p=E("section",[],a),i={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:r}},c=St(e,r.displayOrder,o,!1),l=qs(c.balances),g=pe(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),m=g.compactedAccountsSelectorVariant(e.accountsOrdered),b=g.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(l===!0&&(b.length>0||e.accountsOrdered.length>0)){const w=b.map((v,S)=>Zs({acGroup:v,sectionType:t,numOfBalances:o,title:v.accountGroupName,isLastNode:S===b.length-1,config:r,parentNodeIDs:[p]})),x=m.map((v,S)=>ue({account:v,sectionType:t,numOfBalances:o,title:v.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));i.children.push(...w),i.children.push(...x)}return i}function qs(e){let t=!1;if(e!=null){for(const o of e)if(o!=null&&o.balance.amount!==0){t=!0;break}}return t}function M({balances:e,config:t,nodeId:o}){let a="timeframe_headers";return t.mode==="actual_vs_forecast"&&(a="timeframe_headers_with_forecast"),{children:[],id:o??E("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a,title:"",data:e,numOfBalances:e.length},config:t}}}function Xs(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=Se({section:e.cashIn,sectionType:"cash_in",numOfBalances:n,title:a.sections.cashIn,isLastNode:!0,config:t}),c=Se({section:e.cashOut,sectionType:"cash_out",numOfBalances:n,title:a.sections.cashOut,isLastNode:!0,config:t}),l=ee({calculatedSection:e.netCashFlow,numOfBalances:n,title:a.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:o?[p]:[],contentNodes:[p,i,c,l]}}function me({title:e,balances:t,config:o,numOfBalances:a,nodeId:n}){return{children:[],id:n??E("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:a},config:o}}}function Js(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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,i=M({balances:r,config:t}),c=me({title:f.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:n}),l=E("section",[],a.sections.netCashFlow),g=pe("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((m,b)=>ue({account:m,sectionType:"cash_position",numOfBalances:n,title:m.accountDescription,isLastNode:b===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[l]}));return{config:t,headerNodes:o?[i]:[],contentNodes:[i,c,...g]}}function Ks(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isNetBurnOrIncomeClassesViewSectionID(c)===!0?i.push(Be({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):D.isNetBurnOrIncomeClassesViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:c==="netBurnOrIncome"?e.reportTitle:a.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function Qs(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isNetBurnOrIncomeReportViewSectionID(c)===!0?e.sections[c].accountGroups.length>0?i.push(Pe({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):i.push(Le({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:c==="netBurnOrIncome"?e.reportTitle:a.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function eo(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=e.sections.expenses,c=me({title:f.getLocalizedStrings().chartCard.total,balances:i,config:t,numOfBalances:n}),l=[];l.push(p),l.push(c);const g=E("section",[],a.sections.expenses);return e.sections.expenses.classes.forEach((m,b)=>{l.push(yt({classNode:m,sectionType:"expenses",numOfBalances:n,title:m.class.className,isLastNode:m.isLeafClass,config:t,parentNodeIDs:[g],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:m.id.length-1,hasSibling:!1,hasChildren:m.children.length>0,isLastNode:b===e.sections.expenses.classes.length-1,name:m.class.className}]}}))}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}function to(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=e.sections.expenses,c=me({title:f.getLocalizedStrings().chartCard.total,balances:i,config:t,numOfBalances:n}),l=E("section",[],a.sections.expenses),g=wt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),m=[];m.push(p),m.push(c);const b=g.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(b.length!=0){const w=b.map((x,v)=>vt({acGroup:x,sectionType:"expenses",numOfBalances:n,title:x.accountGroupName,isLastNode:v===b.length-1,config:t,parentNodeIDs:[l]}));m.push(...w)}else if(e.sections.expenses.accounts?.length!==0){const w=g.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=w.map((v,S)=>Ct({account:v,sectionType:"expenses",numOfBalances:n,title:v.account.accountName,isLastNode:S===w.length-1,config:t,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:w.length>1,hasChildren:v.children.length>0,isLastNode:S===w.length-1}]}}));m.push(...x)}return{config:t,headerNodes:o?[p]:[],contentNodes:m}}function so(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isRevenueClassesViewSectionID(c)===!0?i.push(Be({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):D.isRevenueClassesViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:a.sections.grossMargin,isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function oo(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isRevenueSectionID(c)===!0?e.sections[c].accountGroups.length>0?i.push(Pe({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):i.push(Le({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function ao(e,t,o,a=!0){Object.assign(e.config,t);const n=no(o),r=M({balances:n,config:t});return{config:t,headerNodes:a?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const no=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[]}},ye={contentPaddingLeft:new I(N[0],N[0],N[0]),contentPaddingRight:new I(N[3],N[3],N[8])},io=u.div`
312
+ `,Hs=u.div``,Ys=u.div``,Gs=e=>{const{selectedRangeReport:t,uiState:o,analytics:a,onThisPeriodChanged:n,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:i}=e,c=ve(),{allTimeframeTicks:l}=t,{selectedCOABalancesRange:g,timeframe:m}=o,b=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],w=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=o.mode==="compare_mode"&&!w,v=c.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,h;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;default:S=void 0}const C=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=C||t.availableNumberOfPeriods===1,V=y=>!!y.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[B,A]=_.useState(!1),H=T.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),F=o.mode,L=o.selectedForecast;_.useEffect(()=>{F==="forecast_mode"&&h==="Completed"&&S?.length===0&&(A(!0),document.body.style.overflow="hidden")},[h,F,S]),_.useEffect(()=>{F==="forecast_mode"&&L!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[L.index].name)},[L]);const W=(y,j,Y)=>{j===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",y==="forecast_mode"),e.onForecastToggle?.(y,Y)};return s.jsx(Ys,{children:s.jsxs(Hs,{children:[s.jsx(Ws,{children:s.jsx(Vs,{timeframe:{allowedTimeframes:b,selectedTimeframe:m,onTimeframeSelectionChanged:y=>{e.analytics?.trackTimeframeSwitch(U(y),R(t.reportId)),r?.(y),e.uiState.mode==="compare_mode"&&!x&&i(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:f.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:y=>{const j=y===!0||o.mode==="forecast_mode"?3:1;a?.trackCompareMode(y,R(t.reportId),U(m)),i(y,y?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:v===!0?{isOn:o.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(y,j)=>W("forecast_mode",!1,{id:y,index:j}),onForecastToggleChanged:y=>{W(y===!0?"forecast_mode":"off",!0)}}:void 0})}),B==!0?s.jsx(fs,{meetingUrl:H,reportId:t.reportId,onClose:()=>{A(!1),e.onForecastToggle?.("off");const y=1;document.body.style.overflow="auto",i(x,x?["this_period_vs_last_period_percent"]:[],y)}}):null,C?null:s.jsx(bt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:m,timeframeTicks:l,selection:{selectedTicks:ge(l,g),highlightedOfSelectedTicks:ge(l,g)},onClick:(y,j)=>{we(t.firstMonthOfFY,x,t.reportId,m,j,e.analytics),n(j)},onSelectionChanged:(y,j)=>{const Y=ut(l,y.fromEnd),G=mt(l,j);we(t.firstMonthOfFY,x,t.reportId,m,G.thisPeriod,e.analytics),p(Y,G)}})]})})},we=(e,t,o,a,n,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(o),U(a),"range filter",te(e,a,n)),r?.trackDateRangeFilterChange(R(o),"range filter",t,te(e,a,n))};function ue({account:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:r,parentNodeIDs:p}){return{children:[],id:E("ac_report",p,e.accountId),isLastNode:n,reportElementData:{element:{kind:"ac_report",title:a,sectionType:t,data:e,numOfBalances:o},config:r}}}function Us({acGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:r,parentNodeIDs:p}){const i=E("ac_group_report",p,e.accountGroupId),c={children:[],id:i,isLastNode:n,reportElementData:{element:{kind:"ac_group_report",title:a,sectionType:t,data:e,numOfBalances:o},config:r}},l=pe(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return c.children=l.map((g,m)=>ue({account:g,sectionType:t,numOfBalances:o,title:g.accountDescription,config:r,isLastNode:m===l.length-1,parentNodeIDs:[...p,i]})),c}function Se({section:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:r}){const p=E("section",[],a),i={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:r}},c=wt(e,r.displayOrder,o,!1),l=Zs(c.balances),g=pe(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),m=g.compactedAccountsSelectorVariant(e.accountsOrdered),b=g.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(l===!0&&(b.length>0||e.accountsOrdered.length>0)){const w=b.map((v,S)=>Us({acGroup:v,sectionType:t,numOfBalances:o,title:v.accountGroupName,isLastNode:S===b.length-1,config:r,parentNodeIDs:[p]})),x=m.map((v,S)=>ue({account:v,sectionType:t,numOfBalances:o,title:v.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));i.children.push(...w),i.children.push(...x)}return i}function Zs(e){let t=!1;if(e!=null){for(const o of e)if(o!=null&&o.balance.amount!==0){t=!0;break}}return t}function M({balances:e,config:t,nodeId:o}){let a="timeframe_headers";return t.mode==="actual_vs_forecast"&&(a="timeframe_headers_with_forecast"),{children:[],id:o??E("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a,title:"",data:e,numOfBalances:e.length},config:t}}}function qs(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=Se({section:e.cashIn,sectionType:"cash_in",numOfBalances:n,title:a.sections.cashIn,isLastNode:!0,config:t}),c=Se({section:e.cashOut,sectionType:"cash_out",numOfBalances:n,title:a.sections.cashOut,isLastNode:!0,config:t}),l=ee({calculatedSection:e.netCashFlow,numOfBalances:n,title:a.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:o?[p]:[],contentNodes:[p,i,c,l]}}function me({title:e,balances:t,config:o,numOfBalances:a,nodeId:n}){return{children:[],id:n??E("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:a},config:o}}}function Js(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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,i=M({balances:r,config:t}),c=me({title:f.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:n}),l=E("section",[],a.sections.netCashFlow),g=pe("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((m,b)=>ue({account:m,sectionType:"cash_position",numOfBalances:n,title:m.accountDescription,isLastNode:b===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[l]}));return{config:t,headerNodes:o?[i]:[],contentNodes:[i,c,...g]}}function Xs(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{T.isNetBurnOrIncomeClassesViewSectionID(c)===!0?i.push(Be({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):T.isNetBurnOrIncomeClassesViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:c==="netBurnOrIncome"?e.reportTitle:a.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function Ks(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{T.isNetBurnOrIncomeReportViewSectionID(c)===!0?e.sections[c].accountGroups.length>0?i.push(Pe({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):i.push(Le({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):T.isNetBurnOrIncomeReportViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:c==="netBurnOrIncome"?e.reportTitle:a.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function Qs(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=e.sections.expenses,c=me({title:f.getLocalizedStrings().chartCard.total,balances:i,config:t,numOfBalances:n}),l=[];l.push(p),l.push(c);const g=E("section",[],a.sections.expenses);return e.sections.expenses.classes.forEach((m,b)=>{l.push(St({classNode:m,sectionType:"expenses",numOfBalances:n,title:m.class.className,isLastNode:m.isLeafClass,config:t,parentNodeIDs:[g],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:m.id.length-1,hasSibling:!1,hasChildren:m.children.length>0,isLastNode:b===e.sections.expenses.classes.length-1,name:m.class.className}]}}))}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}function eo(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=e.sections.expenses,c=me({title:f.getLocalizedStrings().chartCard.total,balances:i,config:t,numOfBalances:n}),l=E("section",[],a.sections.expenses),g=_t("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),m=[];m.push(p),m.push(c);const b=g.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(b.length!=0){const w=b.map((x,v)=>yt({acGroup:x,sectionType:"expenses",numOfBalances:n,title:x.accountGroupName,isLastNode:v===b.length-1,config:t,parentNodeIDs:[l]}));m.push(...w)}else if(e.sections.expenses.accounts?.length!==0){const w=g.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=w.map((v,S)=>vt({account:v,sectionType:"expenses",numOfBalances:n,title:v.account.accountName,isLastNode:S===w.length-1,config:t,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:w.length>1,hasChildren:v.children.length>0,isLastNode:S===w.length-1}]}}));m.push(...x)}return{config:t,headerNodes:o?[p]:[],contentNodes:m}}function to(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{T.isRevenueClassesViewSectionID(c)===!0?i.push(Be({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):T.isRevenueClassesViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:a.sections.grossMargin,isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function so(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=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=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{T.isRevenueSectionID(c)===!0?e.sections[c].accountGroups.length>0?i.push(Pe({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):i.push(Le({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):T.isRevenueCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function oo(e,t,o,a=!0){Object.assign(e.config,t);const n=ao(o),r=M({balances:n,config:t});return{config:t,headerNodes:a?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const ao=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[]}},ye={contentPaddingLeft:new I(N[0],N[0],N[0]),contentPaddingRight:new I(N[3],N[3],N[8])},no=u.div`
313
313
  width: 100%;
314
314
  height: calc(100vh - 70px);
315
- `,ro=u.div`
315
+ `,io=u.div`
316
316
  display: flex;
317
317
  position: sticky;
318
318
  justify-content: center;
319
319
  padding-top: ${d.sp6};
320
320
  padding-left: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
321
321
  background-color: ${e=>e.theme.colors.grey4};
322
- `,co=u.div`
322
+ `,ro=u.div`
323
323
  position: absolute;
324
324
  margin-top: ${d.sp3};
325
- `,lo=e=>{const t=O(),o=X(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:r,scrollPosition:p,isZeniUser:i,onTableScroll:c,onElementCollapseStateChanged:l,onAccountBalanceClick:g,onUpdateAccountViewMode:m,onUpdateClassesToFilterOut:b,onOpenAccountViewMode:w}=e,{highlightedCOABalancesRange:x,mode:v}=r,S=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,h=a.availableNumberOfPeriods!=null&&a.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!h,k=C||r.mode==="forecast_mode"?3:1,V=P=>{e.analytics?.trackCompareFilterChange(P==="compare_mode_percent"?"percentage":"amount",R(a.reportId),U(r.timeframe),"dropdown");const $=P==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[$],x?.numberOfPeriods??k)},[B,A]=_.useState(void 0),[Y,F]=_.useState(void 0),L=!(t==="small"||t==="medium-compact"),W=v==="forecast_mode"?"name+balances_forecast":"name+balances_actual",y=uo(r.selectedAdditionalBalances),j=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a,H=v==="forecast_mode"?"actual_vs_forecast":C===!0?"this_period_vs_period_before":"none",G=a.reportId==="net_burn_or_income"||a.reportId==="operating_expenses"||a.reportId==="revenue",q=(P,$)=>{P!==n?.uiState.accountViewMode&&m?.(P),$&&b?.($)};return _.useEffect(()=>{const P={reportId:v==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:H,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:v==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:Ke(),showClassAccountNumber:i,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(B==null||!J(Y,j)){const $=po(j,P,L);F(j),A($)}else{const $=ao(B,P,j,L);A($)}},[W,C,j]),s.jsx(ro,{windowSize:t,children:S?s.jsx(jt,{}):B!=null?s.jsxs(io,{children:[s.jsx(_t,{backgroundColor:new Je(o.colors.grey4),rootNodes:B,type:W,compareMode:y,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:ye.contentPaddingLeft.value(t),right:ye.contentPaddingRight.value(t)},onAccountClick:g==null?void 0:(P,$)=>{g(P,$)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:c,onNodeCollapseToggled:l}),G===!0&&n!==void 0?s.jsx(co,{children:s.jsx(pt,{reportId:a.reportId,nodes:n.classHierarchy,classesListFetchState:n.fetchState,selectedView:n.uiState.accountViewMode,showClassAccountNumber:i,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:q,classesToBeFilteredOut:n.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:n.firstMonthOfFY,onOpenAccountViewMode:w})}):null]}):null})},po=(e,t,o=!0)=>{switch(e.reportId){case"net_burn_or_income":return Qs(e,t,o);case"net_burn_or_income_by_classes":return Ks(e,t,o);case"revenue":return oo(e,t,o);case"revenue_by_classes":return so(e,t,o);case"cash_position":return Js(e,t,o);case"cash_in_cash_out":return Xs(e,t,o);case"operating_expenses":return to(e,t,o);case"operating_expenses_by_classes":return eo(e,t,o);default:return}},uo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",mo=u.div`
325
+ `,co=e=>{const t=O(),o=J(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:r,scrollPosition:p,isZeniUser:i,onTableScroll:c,onElementCollapseStateChanged:l,onAccountBalanceClick:g,onUpdateAccountViewMode:m,onUpdateClassesToFilterOut:b,onOpenAccountViewMode:w}=e,{highlightedCOABalancesRange:x,mode:v}=r,S=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,h=a.availableNumberOfPeriods!=null&&a.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!h,k=C||r.mode==="forecast_mode"?3:1,V=P=>{e.analytics?.trackCompareFilterChange(P==="compare_mode_percent"?"percentage":"amount",R(a.reportId),U(r.timeframe),"dropdown");const $=P==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[$],x?.numberOfPeriods??k)},[B,A]=_.useState(void 0),[H,F]=_.useState(void 0),L=!(t==="small"||t==="medium-compact"),W=v==="forecast_mode"?"name+balances_forecast":"name+balances_actual",y=po(r.selectedAdditionalBalances),j=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a,Y=v==="forecast_mode"?"actual_vs_forecast":C===!0?"this_period_vs_period_before":"none",G=a.reportId==="net_burn_or_income"||a.reportId==="operating_expenses"||a.reportId==="revenue",q=(P,$)=>{P!==n?.uiState.accountViewMode&&m?.(P),$&&b?.($)};return _.useEffect(()=>{const P={reportId:v==="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:v==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:Ke(),showClassAccountNumber:i,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(B==null||!X(H,j)){const $=lo(j,P,L);F(j),A($)}else{const $=oo(B,P,j,L);A($)}},[W,C,j]),s.jsx(io,{windowSize:t,children:S?s.jsx(Ct,{}):B!=null?s.jsxs(no,{children:[s.jsx(xt,{backgroundColor:new Xe(o.colors.grey4),rootNodes:B,type:W,compareMode:y,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:ye.contentPaddingLeft.value(t),right:ye.contentPaddingRight.value(t)},onAccountClick:g==null?void 0:(P,$)=>{g(P,$)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:c,onNodeCollapseToggled:l}),G===!0&&n!==void 0?s.jsx(ro,{children:s.jsx(dt,{reportId:a.reportId,nodes:n.classHierarchy,classesListFetchState:n.fetchState,selectedView:n.uiState.accountViewMode,showClassAccountNumber:i,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:q,classesToBeFilteredOut:n.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:n.firstMonthOfFY,onOpenAccountViewMode:w})}):null]}):null})},lo=(e,t,o=!0)=>{switch(e.reportId){case"net_burn_or_income":return Ks(e,t,o);case"net_burn_or_income_by_classes":return Xs(e,t,o);case"revenue":return so(e,t,o);case"revenue_by_classes":return to(e,t,o);case"cash_position":return Js(e,t,o);case"cash_in_cash_out":return qs(e,t,o);case"operating_expenses":return eo(e,t,o);case"operating_expenses_by_classes":return Qs(e,t,o);default:return}},po=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",uo=u.div`
326
326
  display: flex;
327
327
  flex: 1 1 auto;
328
328
  min-height: 100%;
329
329
  flex-direction: column;
330
330
  width: 100%;
331
331
  background-color: ${e=>e.theme.colors.grey4};
332
- `,go=u.div`
332
+ `,mo=u.div`
333
333
  position: relative;
334
334
  box-shadow: ${e=>`2px 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
335
335
  background-color: ${e=>e.theme.colors.grey5};
336
336
  padding-left: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
337
337
  padding-right: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
338
- `,ho=u.div`
338
+ `,go=u.div`
339
339
  display: flex;
340
340
  justify-content: center;
341
341
  padding: ${d.sp6} ${d.sp0};
342
- `,fo=u.div`
342
+ `,ho=u.div`
343
343
  display: flex;
344
344
  flex-direction: column;
345
345
  justify-content: center;
346
346
  align-items: center;
347
347
  height: 100vh;
348
348
  margin-top: ${d.sp8};
349
- `,Zo=e=>{const t=O(),o=X(),[a,n]=_.useState(!1),r=f.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:i,selectedClassesViewRangeReport:c,uiState:l,downloadParams:g,analytics:m,onBackClick:b,updateDownloadStateHandler:w,onAdditionalBalanceSelectionChanged:x}=e,{insights:v}=i,{selectedCOABalancesRange:S,timeframe:h,selectedAdditionalBalances:C,downloadState:k}=l,V=i.availableNumberOfPeriods!=null&&i.availableNumberOfPeriods<2,B=l.mode==="compare_mode"&&!V,A=ve(),Y=A.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(A.loggedInUserRole),F=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";_.useEffect(()=>{async function $(){await It({report:c!==void 0&&c.uiState.accountViewMode==="classes"?c:i,filter:i.filter,coaBalancesRange:S,isCompareModeOn:B,reportView:c!==void 0?c.uiState.accountViewMode:"account_group",classesToFilterOut:c!==void 0?c.uiState.classesToFilterOut:[],...g,reportType:Y||F?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),m?.trackDownload(R(i.reportId),U(h),"excel",B),w("Completed")}a&&k!=="In-Progress"&&(n(!1),w("In-Progress"),$())},[g,k,i.filter,a,B,S,i,c,h,m,w,Y,F,e.isZeniCOAUsed]);const L=i.availableNumberOfPeriods==null||i.availableNumberOfPeriods===0||i.allTimeframeTicks.length===0,W=i.fetchState==="In-Progress"||i.fetchState==="Not-Started";_.useEffect(()=>{const $=B||l.mode==="forecast_mode"?3:1;x(B,C,$)},[t]);const y=$=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Ue.Event.search,R(i.reportId),$.type,$.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.($)},{autoCompleteData:j,autoCompleteActions:H,scrollPosition:G,...q}=e,P=s.jsx(Ze,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:k==="In-Progress"}],onDownloadClick:async $=>{if($==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else n(!0)}}}});return s.jsxs(mo,{children:[s.jsx(He,{title:p.reportTitle,backgroundColor:o.colors.grey5,onBackClick:b,rightSideComponent:P,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:y}},source:"DashboardReportPage"}),W===!0?s.jsx(fo,{children:s.jsx(Ge,{size:"Standard",start:!0})}):L?s.jsx(Pt,{style:{background:o.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:$t}):s.jsxs(s.Fragment,{children:[s.jsxs(go,{windowSize:t,children:[s.jsx(wo,{...q}),s.jsx(bo,{highlightedRangeReport:i,uiState:l}),s.jsx(xo,{...q}),s.jsx(ho,{children:s.jsx(ut,{insights:v})})]}),s.jsx(_o,{scrollPosition:G,...q})]})]})},bo=K.memo(Ut,J),xo=K.memo(Xt,J),_o=K.memo(lo,J),wo=K.memo(Us,J);export{Zo as default};
349
+ `,Uo=e=>{const t=O(),o=J(),[a,n]=_.useState(!1),r=f.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:i,selectedClassesViewRangeReport:c,uiState:l,downloadParams:g,analytics:m,onBackClick:b,updateDownloadStateHandler:w,onAdditionalBalanceSelectionChanged:x}=e,{insights:v}=i,{selectedCOABalancesRange:S,timeframe:h,selectedAdditionalBalances:C,downloadState:k}=l,V=i.availableNumberOfPeriods!=null&&i.availableNumberOfPeriods<2,B=l.mode==="compare_mode"&&!V,A=ve(),H=A.loggedInUserRole!=null&&!T.hasInvestorBankerLevelAccess(A.loggedInUserRole),F=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";_.useEffect(()=>{async function $(){await Nt({report:c!==void 0&&c.uiState.accountViewMode==="classes"?c:i,filter:i.filter,coaBalancesRange:S,isCompareModeOn:B,reportView:c!==void 0?c.uiState.accountViewMode:"account_group",classesToFilterOut:c!==void 0?c.uiState.classesToFilterOut:[],...g,reportType:H||F?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),m?.trackDownload(R(i.reportId),U(h),"excel",B),w("Completed")}a&&k!=="In-Progress"&&(n(!1),w("In-Progress"),$())},[g,k,i.filter,a,B,S,i,c,h,m,w,H,F,e.isZeniCOAUsed]);const L=i.availableNumberOfPeriods==null||i.availableNumberOfPeriods===0||i.allTimeframeTicks.length===0,W=i.fetchState==="In-Progress"||i.fetchState==="Not-Started";_.useEffect(()=>{const $=B||l.mode==="forecast_mode"?3:1;x(B,C,$)},[t]);const y=$=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Ue.Event.search,R(i.reportId),$.type,$.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.($)},{autoCompleteData:j,autoCompleteActions:Y,scrollPosition:G,...q}=e,P=s.jsx(Ze,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:k==="In-Progress"}],onDownloadClick:async $=>{if($==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else n(!0)}}}});return s.jsxs(uo,{children:[s.jsx(Ye,{title:p.reportTitle,backgroundColor:o.colors.grey5,onBackClick:b,rightSideComponent:P,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:y}},source:"DashboardReportPage"}),W===!0?s.jsx(ho,{children:s.jsx(Ge,{size:"Standard",start:!0})}):L?s.jsx(Bt,{style:{background:o.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:jt}):s.jsxs(s.Fragment,{children:[s.jsxs(mo,{windowSize:t,children:[s.jsx(_o,{...q}),s.jsx(fo,{highlightedRangeReport:i,uiState:l}),s.jsx(bo,{...q}),s.jsx(go,{children:s.jsx(pt,{insights:v})})]}),s.jsx(xo,{scrollPosition:G,...q})]})]})},fo=K.memo(Gt,X),bo=K.memo(qt,X),xo=K.memo(co,X),_o=K.memo(Gs,X);export{Uo as default};
@@ -1,4 +1,4 @@
1
- import{_ as $,gX as u,X as y,j as l,o as i,s as d,f as c}from"./index-BU_OFOHO.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-UFBGpfBB-Hna_3gSj.js";import{o as v}from"./commonDimensions-Dk1fkj7r-DiuY44GO.js";function M({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:g}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(X,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.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{_ as $,gU as u,X as y,j as l,o as i,q as d,f as c}from"./index-nrhSmhQT.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-BqLhtWoJ-N1dze3h9.js";import{o as v}from"./commonDimensions-CKgBEMhT-DV1PneSk.js";function M({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:g}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(q,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.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`
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"};
@@ -58,7 +58,7 @@ import{_ as $,gX as u,X as y,j as l,o as i,s as d,f as c}from"./index-BU_OFOHO.j
58
58
  -webkit-box-orient: vertical;
59
59
  -webkit-line-clamp: 1;
60
60
  display: -webkit-box;
61
- `,X=t.div`
61
+ `,q=t.div`
62
62
  display: ${e=>e.windowSize==="small"?"none":"block"};
63
63
  width: ${i.sp1};
64
64
  height: ${i.sp1};