@zeniai/web-app-ui 4.14.27-qa → 4.14.28-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 (495) hide show
  1. package/dist/assets/ACHDetailsPage-URcYg-_E-CMrUXh7n.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BTVbAUHG-D-rlRC9T.js → AIPerformancePage-VILPvNCr-DoBW0TQe.js} +29 -29
  3. package/dist/assets/AccountInfoPage-BTogpO7M-BeBr7bH3.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-g_X840C3-Byz3DAPs.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-DM2zVI24-BvqEphwT.js → AccountLockedInfoModal-DDNvWMEQ-6SWWVHDx.js} +6 -6
  6. package/dist/assets/{AccountReconDetailsDrawerPage-B6mhnC_D-DklXIxCe.js → AccountReconDetailsDrawerPage-CydLoK6D-CZ9nLIe4.js} +13 -13
  7. package/dist/assets/AccountRow-Zjkju8uM-h-BJkTkR.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-z9STg_F3-Bh-wLGtv.js → AccountsPromoCardStack-D8mOW1Wp-DZkmz2EZ.js} +18 -18
  9. package/dist/assets/AddAddressForCardDrawer-BvGnuIf6-DB5uU020.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BMPHVMEY-BU28NRn-.js → AddToWalletPage-BMCgd2A5-2JYacy2K.js} +18 -18
  11. package/dist/assets/AddressRoutes-BuxeYADW.js +1 -0
  12. package/dist/assets/AddressScreen-C8N1fPfJ.js +9 -0
  13. package/dist/assets/{AgingReportsPage-Bngg8YpI-CXMOhN6X.js → AgingReportsPage-BL_aBNzL-Bw5_kBEe.js} +6 -6
  14. package/dist/assets/{AiCfoScreen-1OpyxOPQ.js → AiCfoScreen-DKeSXeDT.js} +2 -2
  15. package/dist/assets/{AllUserItems-DzHTUgrn-ctPbjWrH.js → AllUserItems-b0wgd0Wz-Cmdhksre.js} +6 -6
  16. package/dist/assets/{ApAgingDetailPage-BdNgdMZi-DxkwJc1_.js → ApAgingDetailPage-CD2EkZkg-EpN6BsXj.js} +8 -8
  17. package/dist/assets/{AppBasePage-DUoMiO7X-BTMjuDOu.js → AppBasePage-BM1NMPdI-BkcQFz9Y.js} +12 -12
  18. package/dist/assets/AppDrawerContent-XR9dBd-C-BYsZG5_k.js +92 -0
  19. package/dist/assets/ApprovalRulesSettingsPage-6unABLlP-C91QTWWo.js +47 -0
  20. package/dist/assets/ArAgingChart-DePiNxcV-B7MRrlOq.js +24 -0
  21. package/dist/assets/{ArAgingDetailPage-Cl5P98Kf-9j3wejr9.js → ArAgingDetailPage-DiJ6PePf-YRaFOXlC.js} +1 -1
  22. package/dist/assets/{AttachmentView-DQKnQgQK-DgYnMof2.js → AttachmentView-ENg9Osic-C_h00Xvo.js} +6 -6
  23. package/dist/assets/{BankAccountSection-DxW0EB-K-B_vSxptX.js → BankAccountSection-oL-aN0I_-51rG79cf.js} +6 -6
  24. package/dist/assets/BankAccountWarningSection-CtRFcHTv-CaeCkm0V.js +51 -0
  25. package/dist/assets/{BankConnectionsSettingsPage-CFk2aMnM-DA2j6z8y.js → BankConnectionsSettingsPage-B848OGHq-S0dsKmrE.js} +8 -8
  26. package/dist/assets/BillDetailPage-CPxVWXx6-LfVxiX7-.js +266 -0
  27. package/dist/assets/BillPayApprovalRoutes-BwVvI4WJ.js +1 -0
  28. package/dist/assets/BillPayApprovalRuleDetailPage-DtAj6RxA-B2poyBuX.js +27 -0
  29. package/dist/assets/{BillPayApprovalRulesPage-iTvysPLf-CqvnWU4g.js → BillPayApprovalRulesPage-DLHvMgeY-8GthXHpr.js} +14 -14
  30. package/dist/assets/{BillPayPromoPage-B5AGf-Xt-DMzd5Dti.js → BillPayPromoPage-DQJAZi1a-DOwuaVpw.js} +8 -8
  31. package/dist/assets/{BillPayRoutes-DKhIaBpZ.js → BillPayRoutes-Bzx279Kq.js} +19 -19
  32. package/dist/assets/BillPaySetUpPage-BVOLWF1M-CpEBt_P1.js +42 -0
  33. package/dist/assets/BillingSettingsPage-Cfe4Vmza-DSIJr3FK.js +44 -0
  34. package/dist/assets/{BillsBulkReviewDrawerPage-8E35ktf3-PSnNGTLJ.js → BillsBulkReviewDrawerPage-7y9q0HF_-gFD4nZqL.js} +1 -1
  35. package/dist/assets/{BoxItem-Yk1jfFWZ-bm0K3UqJ.js → BoxItem-CTEOx6Nh-BbDYdqVh.js} +3 -3
  36. package/dist/assets/BusinessVerificationPage-D05hRyo1-BMUS-iMK.js +138 -0
  37. package/dist/assets/BusinessVerificationPageScreen-DfGLG3SR.js +9 -0
  38. package/dist/assets/BusyIndication-Nz8htndZ-ChVc54FQ.js +9 -0
  39. package/dist/assets/{CardNumberSubText-DjHY0FvO-DmKTadAQ.js → CardNumberSubText-DijJqFXC-B69YEX78.js} +5 -5
  40. package/dist/assets/{CashbackDetailPage-BBnND02O-B0i0dSBe.js → CashbackDetailPage-BxIWU0z2-DcCubJwz.js} +27 -27
  41. package/dist/assets/{ChargeCardDetailPage-BIR8jdTw-Hl7lWW6J.js → ChargeCardDetailPage-ClyQPqJf-BAQGqfmW.js} +31 -31
  42. package/dist/assets/{ChargeCardListPage-DIaPTqHg-QvrYu2zx.js → ChargeCardListPage-CYhY6c52-DRzxrfOL.js} +21 -21
  43. package/dist/assets/ChargeCardListTable-Dblodw9X-B-571jVW.js +711 -0
  44. package/dist/assets/{ChargeCardPaymentHistoryPage-BdQWV5hd-UaInt8sU.js → ChargeCardPaymentHistoryPage-wt6arCEL-5ryWm6WZ.js} +13 -13
  45. package/dist/assets/ChargeCardPromoPage-AihUlwys-A1x9S-W0.js +222 -0
  46. package/dist/assets/{ChargeCardRoutes-QBQgxZFH.js → ChargeCardRoutes-4t9GJNvz.js} +12 -12
  47. package/dist/assets/{ChargeCardSetupPage-64bBN1fe-B9PROkMH.js → ChargeCardSetupPage-C59WR7nm-CVteL9ef.js} +1 -1
  48. package/dist/assets/{ChargeCardStatementsPage-B-XeiOnb-BirnH6mz.js → ChargeCardStatementsPage-DF5rt4B5-CiiFftIv.js} +4 -4
  49. package/dist/assets/CheckDepositDrawerPage-B9-ktuL_-Cnbi1t8C.js +206 -0
  50. package/dist/assets/CollapsableReportTable-BAz0DbFh-Bx4HSBTd.js +2844 -0
  51. package/dist/assets/CompanyOfficerDetailsSection-BNSHkrC4-DZDeEGL9.js +331 -0
  52. package/dist/assets/CompanyPassportCard-DTfKmcGv-kWFAQF4U.js +42 -0
  53. package/dist/assets/{CompanyPassportPage-B6zI52Pp-CWxea43i.js → CompanyPassportPage-DqhT6YL_-DjGLWJH_.js} +37 -37
  54. package/dist/assets/{CompanyPassportScreen-CCGCO9-B.js → CompanyPassportScreen-COEYsT8F.js} +1 -1
  55. package/dist/assets/{CompleteProfile-BLWNz2VA-BtRBf1pR.js → CompleteProfile-DdA-FkwG-DNxHJftH.js} +1 -1
  56. package/dist/assets/ConfettiBurst-Dc0iIaw3-Cdx9N-8d.js +1 -0
  57. package/dist/assets/ConnectionAuthScreen-VX2ylo8v.js +11 -0
  58. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-DLCOCuvB.js → ConstrainedInnerElement-BeIpAPjB-B0xEPT_b.js} +1 -1
  59. package/dist/assets/{CreateOrEditVendorPage-D_fPbFsR-BYUMlM0q.js → CreateOrEditVendorPage-CODInbfe-CWblGuXA.js} +19 -19
  60. package/dist/assets/{CreditCardPaymentDrawerPage-Bl82rSY1-BUtUdu3I.js → CreditCardPaymentDrawerPage-DZNUIDa0-DYeUjTKl.js} +21 -21
  61. package/dist/assets/CurrencySelectField-D_D8AUqS-W5q-11LT.js +139 -0
  62. package/dist/assets/{CustomerOnboardingActivationPage-L6GfGsJ9-BmkijjZG.js → CustomerOnboardingActivationPage-CBlyvq0r-BIiex6sW.js} +5 -5
  63. package/dist/assets/CustomerOnboardingAuthScreen-Cxwuh-5v.js +1 -0
  64. package/dist/assets/CustomerOnboardingContainerPage-BJV0xAFp-SuSAzHFh.js +1 -0
  65. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-MP-lAuJG-KKPN2GG0.js → CustomerOnboardingDetailPageSkeleton-CIhb8Zvx-Cm7w9wnG.js} +15 -15
  66. package/dist/assets/CustomerOnboardingNoStepsPage-CLFh9K94-CVAWL8GH.js +66 -0
  67. package/dist/assets/{CustomerOnboardingPage-Cl4wtP6t-DcrRFrM5.js → CustomerOnboardingPage-BJGDpI-d-BI8WTIh2.js} +6 -6
  68. package/dist/assets/{CustomerOnboardingProductSuitePage-vkblu46s-CFBeFISK.js → CustomerOnboardingProductSuitePage-DmgQGvpp-BgPaXsEW.js} +7 -7
  69. package/dist/assets/{CustomerOnboardingRoutes-BMTYfbQW.js → CustomerOnboardingRoutes-CDOn_9SO.js} +6 -6
  70. package/dist/assets/{Dashboard-C1Fn0zHa-Ck-7rBRI.js → Dashboard-Cvmg-DzK-CDouUJlf.js} +26 -26
  71. package/dist/assets/{DashboardReportPage-3lvWkrXH-CmzteKGa.js → DashboardReportPage-C7bT-gmW-B7qKYPTM.js} +42 -42
  72. package/dist/assets/DashboardRoutes-Ca715xZt.js +21 -0
  73. package/dist/assets/DashboardSidebarBackgroundAnimation-CcTStx9W-CLXLQ3Wl.js +12 -0
  74. package/dist/assets/{DefaultTenantHome-H89rPQPU.js → DefaultTenantHome-zrpUM-2h.js} +1 -1
  75. package/dist/assets/DepositAccTransactionItem-XZgomj7v-pud7es11.js +76 -0
  76. package/dist/assets/DepositAccTransactionListPage-B11lcuip-BA6bJfDH.js +66 -0
  77. package/dist/assets/DomesticWireDetailScreen-BGqZWgZd.js +18 -0
  78. package/dist/assets/DomesticWireDetailsPage-Cw4aq8Ar-Bz2WPHpK.js +21 -0
  79. package/dist/assets/DownloadOverlay-DE63RFQe-VsFfbW3d.js +439 -0
  80. package/dist/assets/{DrawerPage-DudtPicH-hbiw_pdy.js → DrawerPage-DGuh6P-6-CJKJMwA-.js} +11 -11
  81. package/dist/assets/DrawerScreen-V32qwnkz.js +1 -0
  82. package/dist/assets/EditPeoplePage-Dmz2l8uY-CK4iVJZr.js +55 -0
  83. package/dist/assets/EditReimbursementDetailPage-BrQ60mqq-BxmG6xVG.js +865 -0
  84. package/dist/assets/EntityDetailPage-BbeHCNGS-C5UPIJtj.js +18 -0
  85. package/dist/assets/EntityDetailRoutes-BxYqKDQd.js +1 -0
  86. package/dist/assets/{EntitySummarySection-Po9-k_zM-D4BVYzOO.js → EntitySummarySection-BgjWn9vX-ChJDfPvK.js} +26 -26
  87. package/dist/assets/{ExpenseAutomationOverviewPage-CbLRqpw3-Bm8ozA7v.js → ExpenseAutomationOverviewPage-V2cvYWxH-C16OEZnu.js} +51 -51
  88. package/dist/assets/ExpenseAutomationPage-BDZ6aX0q-DJ_VB_IO.js +2323 -0
  89. package/dist/assets/ExpenseAutomationRoutes-Dbfi_osP.js +20 -0
  90. package/dist/assets/{ExpressPayPage-BbHx9h8j-DxMm9gcn.js → ExpressPayPage-5VdASApP-Po6fvmnX.js} +10 -10
  91. package/dist/assets/{FeaturePreviewPage-72x3P-pq-BRxKJgbB.js → FeaturePreviewPage-CA_fxOHn-CMqOKpmQ.js} +2 -2
  92. package/dist/assets/FeaturePreviewScreen-C5OPsEGq.js +1 -0
  93. package/dist/assets/{FollowStepsSection-BT_WjsEy-BMkprFjA.js → FollowStepsSection-CTSjTKjT-D1lTh6HA.js} +11 -11
  94. package/dist/assets/GlobalReviewListPage-DmrnXFgW-CX1Z-LFj.js +291 -0
  95. package/dist/assets/{InformationCardStack-CjpOEuJF-CY8AHfmK.js → InformationCardStack-D_Z7Ebe0-CcLIhUuZ.js} +3 -3
  96. package/dist/assets/InsightsCardStack-Dbpzjgf4-fdUWj0-e.js +79 -0
  97. package/dist/assets/InsightsSection-DgViiL7e-CyZzflwi.js +27 -0
  98. package/dist/assets/IntegrationsSettingsPage-4OV7HFwe-DB-wBCWA.js +57 -0
  99. package/dist/assets/{InternationalWireSwiftDetailsPage-C1WTGANK-BxDLWIJ0.js → InternationalWireSwiftDetailsPage-B1nvNamF-Csz75ldD.js} +18 -18
  100. package/dist/assets/InternationalWireVerificationPage-HZgqUkj4-BeRgJyDk.js +65 -0
  101. package/dist/assets/{InviteFormPage-D56FOZEG-YjtIHJmt.js → InviteFormPage-C5mS-6c8-DHEfB4pP.js} +18 -18
  102. package/dist/assets/{InvitePageListView-BbQyUnv0-CP6So3At.js → InvitePageListView-Yj83_lDA-DG8kjHEN.js} +66 -66
  103. package/dist/assets/InvitePeoplePage-C7DlxHsy-CbV9Kfvk.js +12 -0
  104. package/dist/assets/InvoiceUploadSection-DdIQCBkC-hgUkpCX_.js +140 -0
  105. package/dist/assets/{IssueChargeCardPage-BT9h01l_-efn-gMmS.js → IssueChargeCardPage-BIOTVOMR-y141Zbnw.js} +71 -71
  106. package/dist/assets/{LabeledAddressValue-DF623NAW-DBk7OZ_l.js → LabeledAddressValue-Bb1x9jR--B6kyu-d_.js} +1 -1
  107. package/dist/assets/LabeledAddressValueField-D3_DsNPu-DBYOiYu9.js +45 -0
  108. package/dist/assets/LabeledControlledCheckBoxField-DdHmj0q2-DFcQf8uf.js +16 -0
  109. package/dist/assets/{LabeledCountryMultiSelectField-B5vytqi_-CTjtWp-f.js → LabeledCountryMultiSelectField-LeubJT8b-DTiRo8mi.js} +4 -4
  110. package/dist/assets/{LabeledCreatableSingleSelectField-DN5wCaeU-B4bYahZQ.js → LabeledCreatableSingleSelectField-CzrPLo-T-WU7xdxt6.js} +6 -6
  111. package/dist/assets/LabeledDocumentField-CFtFroDl-BZ61zQ53.js +41 -0
  112. package/dist/assets/{LabeledDropDownFormattedTextField-BvdkjSR_-T-ZEjluP.js → LabeledDropDownFormattedTextField-CFsuVVp3-BWloCe5f.js} +7 -7
  113. package/dist/assets/{LabeledEmailInputField-B17ZXjvY-Bgq9Bw5g.js → LabeledEmailInputField-BOEHGgHy-DmP8tNRS.js} +7 -7
  114. package/dist/assets/{LabeledNameField-DXPyRS_B-aEVZrWHH.js → LabeledNameField-DWKoivcI-CTKa3xQk.js} +4 -4
  115. package/dist/assets/{LabeledSingleSelectField-DZ7GoSpj-CeyfgNkx.js → LabeledSingleSelectField-BkGsnV9P-L8vud565.js} +4 -4
  116. package/dist/assets/LabeledText-CZMUFsPf-BSb4-Hu0.js +42 -0
  117. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BnDEbwhn-CXwABLlN.js → LabeledUserSingleSelectWithSubtitlesField-BTo_s8x5-D96FBec7.js} +15 -15
  118. package/dist/assets/{LabeledZeniRolesDropDownField-CY2feiXB-FzZcdRyQ.js → LabeledZeniRolesDropDownField-C3LoYUh_-CUGSemOL.js} +20 -20
  119. package/dist/assets/{LinkJETransactionPage-Bc3h7Bsx-CLCCvFC8.js → LinkJETransactionPage-BbpybbwD-BZQW-eEy.js} +11 -11
  120. package/dist/assets/{LockCardPage-DIZ-1K3B-J6PMXtrS.js → LockCardPage-C0XjGES8-Dv5p7F-M.js} +27 -27
  121. package/dist/assets/{LowBalancePopup-CKSy3iEi-f1V3RnUh.js → LowBalancePopup-CkO97HGX-C-OMTelo.js} +3 -3
  122. package/dist/assets/MagicLinkACHDetailsPage-CcaWGIEm-CBJpUCPj.js +1 -0
  123. package/dist/assets/MagicLinkDomesticWireDetailsPage-6V37rCS5-DlEVkMTv.js +1 -0
  124. package/dist/assets/MagicLinkInternationalWireDetailsPage-BKWBDCxr-1pJwpVUJ.js +1 -0
  125. package/dist/assets/MagicLinkRoutes-0i3kRHtF.js +72 -0
  126. package/dist/assets/MagicLinkSignInScreen-8oYCtfCr.js +12 -0
  127. package/dist/assets/{MagicLinkSuccessPage-fC1L-fjF-B1tQEsFE.js → MagicLinkSuccessPage-L5UJIvTe-Ds_uEzRm.js} +3 -3
  128. package/dist/assets/{MagicLinkTitleSection-D38JxxrQ--O7VTYiG.js → MagicLinkTitleSection-CEZGF8ER-CtJhgwJN.js} +1 -1
  129. package/dist/assets/{MailingDetailsSection-_5DUMAiO-cIrB6Ese.js → MailingDetailsSection-CRsQVOYi-DVyOc3HW.js} +1 -1
  130. package/dist/assets/MobileAppDrawer-vjIJyx5N.js +1 -0
  131. package/dist/assets/{MoreMenuButton-BCREj5dQ-BCylVRTR.js → MoreMenuButton-BWNCapgP-CobtazoG.js} +27 -27
  132. package/dist/assets/{MyBankConnectionsSettingsPage-TSaL2Z3R-DIU3oLQ2.js → MyBankConnectionsSettingsPage-C6p5J_f5-aGTzDXcW.js} +7 -7
  133. package/dist/assets/{MyPendingActivationChargeCardListPage-BvcQUu1g-CT952uFb.js → MyPendingActivationChargeCardListPage-CluWS3nS-3Mvvi7l1.js} +1 -1
  134. package/dist/assets/{MyProfileSettingsPage-AqrcruM6-jesbPct3.js → MyProfileSettingsPage-Ctkx_sAQ-BJzrBUg_.js} +7 -7
  135. package/dist/assets/NavBarWithPicker-ClP6LCUF-B_agyqrI.js +30 -0
  136. package/dist/assets/NavigationArrow-CUPvxfZv-DFdgHBv5.js +47 -0
  137. package/dist/assets/NavigationDots-Cu9LZj7T-BaBE0dTx.js +15 -0
  138. package/dist/assets/{NewGlobalMerchantPage-B-aRURcQ-D1t1eSio.js → NewGlobalMerchantPage-g9JuX6MR-DfxwRkm2.js} +12 -12
  139. package/dist/assets/NoDataChart-DcMRzXHU-BWuTQSGS.js +26 -0
  140. package/dist/assets/{NoDataTable-BtEKMdpl-CBXm-Rpx.js → NoDataTable-D1v085Vv-TbZCkeJw.js} +1 -1
  141. package/dist/assets/{NotFoundPage-aEkhvzEG-D7OUf5MG.js → NotFoundPage-Bf-EPtU9-B60UYrLG.js} +4 -4
  142. package/dist/assets/NotFoundScreen-BlOJVroe.js +1 -0
  143. package/dist/assets/NotificationRoutes-CKAGXrkl.js +1 -0
  144. package/dist/assets/{NotificationSettingsPage-CMNyI8E6-blQORKhV.js → NotificationSettingsPage-Zv4-2vEl-Dq8r17oD.js} +16 -16
  145. package/dist/assets/NotificationsListConfig-CO5uOSs7-B3Op3ktj.js +1 -0
  146. package/dist/assets/NotificationsPage-BH6B4Q8b-YOVbk2c7.js +685 -0
  147. package/dist/assets/OpExByVendorPage-EjyJRLhn-jezrc1pM.js +100 -0
  148. package/dist/assets/{OverlayContainerPage-BG9y5C0t-CNdAZz5K.js → OverlayContainerPage-D4QU0p4o-DZKwQHwV.js} +1 -1
  149. package/dist/assets/PandLWithForecastPage-UpDz4Qqu-fjMo0Gtf.js +107 -0
  150. package/dist/assets/PandLWithForecastRoutes-TX6P7Zrq.js +1 -0
  151. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cg-iwsq9-CQwi_YjA.js → PaymentAccountSetupBillingAddressSection-CqavirRU-DO80n7FW.js} +9 -9
  152. package/dist/assets/PeoplePage-D2N1XP-O-DKs_D4Fh.js +720 -0
  153. package/dist/assets/PeopleRoutes-C8mODapz.js +22 -0
  154. package/dist/assets/PerformanceRoutes-DiU5fqKk.js +1 -0
  155. package/dist/assets/{Preview-C1JD0WiC.js → Preview-CqLia4uG.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-LGZZZ4bc-TzC9x8-0.js → ProductsCarousel-Dx8bStwI-C44-19N7.js} +8 -8
  157. package/dist/assets/{PromoBaseCards-DMnQ-nBZ-B7anhmyf.js → PromoBaseCards-Bauxzwzt-Dgaaf2yK.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-ufRcAeE8-BiWhXsJA.js → QBOConnectionDialog-COlHLDTh-CjJgFUeC.js} +13 -13
  159. package/dist/assets/{QBOConnectionScreen-hdZFNBVm.js → QBOConnectionScreen-AtAIA8jj.js} +22 -4
  160. package/dist/assets/QBOSetupSection-Cb4AlHU9-BpQhAPPt.js +79 -0
  161. package/dist/assets/ReferralListScreen-XiiAfJ90.js +5 -0
  162. package/dist/assets/ReimbursementApprovalRoutes-BocYdQhD.js +1 -0
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CE0CxjTY-C5xH-EUU.js → ReimbursementApprovalRuleDetailPage-Cb4wyiiA-PPkCr8xd.js} +5 -5
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-C4x83TjH.js → ReimbursementApprovalRuleDetailScreen-DPE-kSBA.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-DDNhjbbG-CAvrqdJa.js → ReimbursementApprovalRulesPage-BEid42KU-DeLels1v.js} +5 -5
  166. package/dist/assets/ReimbursementDetailPage-CuuOsKPv-BPEFJ0xe.js +314 -0
  167. package/dist/assets/ReimbursementPromoPage-fvIAhNdR-CSg5BemV.js +84 -0
  168. package/dist/assets/ReimbursementRoutes-ZXUNkUzw.js +13 -0
  169. package/dist/assets/{ReimbursementSetUpPage-vZd1l3-L-Cd-ugKb_.js → ReimbursementSetUpPage-CBKANstD-CdxQGkDo.js} +7 -7
  170. package/dist/assets/ReimbursementsBulkReviewDrawerPage-BXO46shT-Ki-BIH8Q.js +1 -0
  171. package/dist/assets/ReloadCard-BKHKE8Pu-B3lPeTvz.js +26 -0
  172. package/dist/assets/ReportTableViewSelector-gYxUii1M-BhXMqYN6.js +150 -0
  173. package/dist/assets/ReportsPage-D7rEPLAa-CczMmifR.js +121 -0
  174. package/dist/assets/ReportsRoutes-CZ3tnE-5.js +1 -0
  175. package/dist/assets/{RevenueChart-CKjVL6iT-C_eQ-aqy.js → RevenueChart-BHrj8Dy9-Bgtbsht_.js} +12 -12
  176. package/dist/assets/ReviewDetailsPage-B9SMV_va-PLuKyyKj.js +290 -0
  177. package/dist/assets/{ReviewOverlay-DyTC2zKj-KDRsvwAc.js → ReviewOverlay-Be_F1hd--Aq5DKqVU.js} +14 -14
  178. package/dist/assets/RewardsRoutes-OB-0XHFr.js +1 -0
  179. package/dist/assets/RoleWithToolTip-D9DCHaph-Ct3ZRTHm.js +22 -0
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-9XyukA76-jDvGJj5q.js → ScheduleDetailsFixedAssetsPage-h1Ewtn5T-DRtWGNvu.js} +3 -3
  181. package/dist/assets/{ScheduleDetailsPage-CkMIJDcP-BYxIJ7TX.js → ScheduleDetailsPage-Cr-KaH2D-B1Q1jbwo.js} +3 -3
  182. package/dist/assets/ScheduleSequenceTable-BBbLa0gA-C54SUt--.js +324 -0
  183. package/dist/assets/ScreenRoutes-Dj6yeCaN.js +2 -0
  184. package/dist/assets/{SetUpAccountSection-BkGBS9x_-Cq1DI8pA.js → SetUpAccountSection-ULABF-Md-DYZnUdRJ.js} +15 -15
  185. package/dist/assets/SettingsRoutes-CK_IQzwc.js +57 -0
  186. package/dist/assets/{SetupPagesScreen-BAJOwy6E.js → SetupPagesScreen-B28b7eDr.js} +6 -6
  187. package/dist/assets/{SignIn-DybDQnmR-C81T6vjg.js → SignIn-6YH_riJW-DzqdPViU.js} +74 -74
  188. package/dist/assets/SignInScreen-Jslx5-TX.js +1 -0
  189. package/dist/assets/SignOutScreen-D56BFgpr.js +9 -0
  190. package/dist/assets/SpendManagementListViewPage-D_RrkezV-ELAXLz4H.js +134 -0
  191. package/dist/assets/{SpendManagementPerTabPage-CR9CphX3-DsEMuden.js → SpendManagementPerTabPage-BnugLA94-vwewauIW.js} +96 -96
  192. package/dist/assets/SpendManagementSection-DCk1isQq-BuKHrb4M.js +375 -0
  193. package/dist/assets/StatementItem-BWKA6BsE-BBtXJaEH.js +31 -0
  194. package/dist/assets/StatementsPage-C5KuiVH4-Cf4qB6ps.js +58 -0
  195. package/dist/assets/{StatusSwitcher-Z7jo_R2B-BupHP9_H.js → StatusSwitcher-CgzMvf5t-ncrbliMU.js} +6 -6
  196. package/dist/assets/{SubTabSwitcher-DJvtpJh2-DzBKus5r.js → SubTabSwitcher-gc5g6vV0-BudAZpBJ.js} +9 -9
  197. package/dist/assets/SuccessAnimation-CcFXT4sg-BtvDv4Ac.js +13 -0
  198. package/dist/assets/SummaryCard-DgPg2oPm-TIRnserH.js +1 -0
  199. package/dist/assets/{TaskDetailPage-D6OLDKHa-CcEZ6QIq.js → TaskDetailPage-Brq3l5Lm-js01YZsk.js} +42 -42
  200. package/dist/assets/TaskListScreen-PaUFhtYL.js +9 -0
  201. package/dist/assets/TaskManagementPage-Dyy-A0ij-kAppPPcp.js +1063 -0
  202. package/dist/assets/TaskRoutes-DNKzAv87.js +9 -0
  203. package/dist/assets/TimeRangeSwitcher-PcHPZNOq-DyMi_xu3.js +64 -0
  204. package/dist/assets/TimeframeSwitcher-XZjkUS_W-DEhbHF-x.js +31 -0
  205. package/dist/assets/TimeframeSwitcherWithToggle-KxCdrFMS-CmMYWc36.js +31 -0
  206. package/dist/assets/{TopExCard-BmRXVrxo-_W2SzaPG.js → TopExCard-CRxFMC50-CucHTjUq.js} +6 -6
  207. package/dist/assets/{TopExDetailPage-Ds-BZjbz-CIQg5qwm.js → TopExDetailPage-D7dCJGpQ-_APvVGdT.js} +18 -18
  208. package/dist/assets/{TransactionActivityLogPage-CKIHtz5l-CBtxyxk_.js → TransactionActivityLogPage-ByyxovGE-B8-_ivhT.js} +11 -11
  209. package/dist/assets/TransactionDetailPage-D0_Tjv5D-BbvOSya5.js +903 -0
  210. package/dist/assets/TransactionDetailRoutes-BBeHV_Bn.js +1 -0
  211. package/dist/assets/TransactionDetailScreen-BnLwFmdM.js +5 -0
  212. package/dist/assets/TransactionList-DoYieHoy-MtmaAm18.js +153 -0
  213. package/dist/assets/{TransactionListBig-JcBvCcMd-D4tRq6mB.js → TransactionListBig-BOKPby7d-BiHGWKXG.js} +20 -20
  214. package/dist/assets/TransactionListPage-Bfx0PW2V-Ko7n0w0K.js +35 -0
  215. package/dist/assets/{TransactionListRoutes-CZ11TS_h.js → TransactionListRoutes-D6vFloa7.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-BCtWJV5U-Cg9b-1j4.js → TransactionVendorDetailPage-BK4zpJ1F-BT9vQvKO.js} +5 -5
  217. package/dist/assets/{TransferDrawerPage-DoIPGIdB-DwVunJdt.js → TransferDrawerPage-B5ofYt0y-GCYB9I81.js} +24 -24
  218. package/dist/assets/TreasuryOverviewPage-D4LuhPMd-FpA9c7P5.js +708 -0
  219. package/dist/assets/{TreasuryPromoPage-avx9YENY-DTL4pcWX.js → TreasuryPromoPage-ofZQDboF-BK7GFuNm.js} +13 -13
  220. package/dist/assets/TreasuryRoutes-DQPlHyww.js +45 -0
  221. package/dist/assets/TreasuryStatementsPage-D4bGPC_n-C9CJ9i1a.js +58 -0
  222. package/dist/assets/{TreasuryTaxLetterPage-BT_G7d-D-DkEXvQO_.js → TreasuryTaxLetterPage-4aV14kQe-Bg3G6zgb.js} +4 -4
  223. package/dist/assets/{TrendChart-rzKYI72b-Drm1Eh-x.js → TrendChart-BJLik8fK-C09X9QMT.js} +4 -4
  224. package/dist/assets/TrendWithTransactions-R1FCSydB-Ci1yaQBG.js +116 -0
  225. package/dist/assets/{UncategorizedAccountsMappingPage-5VnrVRL7-BzS8Z3L2.js → UncategorizedAccountsMappingPage-mYSXtdgK-mpKZn3rt.js} +7 -7
  226. package/dist/assets/{UnitIntegrationPage-CRtWNQ9s-BXD_JgdY.js → UnitIntegrationPage-C44UiDRH-C1DPzFjn.js} +5 -5
  227. package/dist/assets/UploadAdditionalDocumentOverlay-CJmvE3y6-D4_Nm785.js +38 -0
  228. package/dist/assets/Vendor2FAPopup-Bt_phaZI-DRgs4wjV.js +1 -0
  229. package/dist/assets/VendorACHDetailsPage-CxlQSWGZ-Fo80chk3.js +1 -0
  230. package/dist/assets/VendorDetailPage-BixXt95H-DDRHGc3v.js +257 -0
  231. package/dist/assets/VendorDomesticWireDetailsPage-BmFZeCgu-3p9zequ6.js +1 -0
  232. package/dist/assets/{VendorFiling1099EditablePage-B0LEUR_g-B5BIQU3s.js → VendorFiling1099EditablePage-DIyS2YV_-CSGr8UHs.js} +24 -24
  233. package/dist/assets/VendorFirstReviewPage-DZ00XYRi-Bujg7mnV.js +730 -0
  234. package/dist/assets/{VendorInternationalWireDetailsPage-CHFMTDYG-BbWeoiim.js → VendorInternationalWireDetailsPage-DOYmaAmB-DkdpvBe3.js} +11 -11
  235. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BCafZBL5-O4Et_Cvx.js +1 -0
  236. package/dist/assets/{VendorsAccountsSection-By1Bhh27-DcOiL6S-.js → VendorsAccountsSection-D6DinIAj-CJyfm4FF.js} +2 -2
  237. package/dist/assets/{VendorsRoutes-NsL__2Us.js → VendorsRoutes-BzRnsTCQ.js} +21 -21
  238. package/dist/assets/VerifyDevice-DFug_o82-BbsyIuwM.js +112 -0
  239. package/dist/assets/{VideoPlayer-DBU7xwIG-B74OFhs2.js → VideoPlayer-BuOlZW0M-DUvqMJGc.js} +1 -1
  240. package/dist/assets/{VideoPopup-Dxc93Pwx-DENHvk5i.js → VideoPopup-B03SM83j-CEO910rC.js} +1 -1
  241. package/dist/assets/WiseConfirmationScreen-Be46vSWM.js +12 -0
  242. package/dist/assets/ZeniAccountDetailPage-BJQvxY7D-0WnS8PEZ.js +300 -0
  243. package/dist/assets/ZeniAccountListViewPage-CvwGdUPT-CLqSbTJn.js +441 -0
  244. package/dist/assets/ZeniAccountNavBarPieces-OGXEdZmI-WHE_ZaHO.js +14 -0
  245. package/dist/assets/{ZeniAccountPromoPage-MPekAyNe-Bi-1usPB.js → ZeniAccountPromoPage-iELT-FzW-B54bB-Au.js} +23 -23
  246. package/dist/assets/ZeniAccountRoutes-ked1y8nK.js +58 -0
  247. package/dist/assets/{ZeniAccountSetupPage-CxYZzfiZ-zon_oiyA.js → ZeniAccountSetupPage-feqonZIV-DuQlAwjx.js} +4 -4
  248. package/dist/assets/ZeniAccountStatementScreen-t9W5AfJc.js +9 -0
  249. package/dist/assets/{ZeniAvatar-BodtWTPw-CVcXEyfO.js → ZeniAvatar-CHmpyZc4-xmYCp34T.js} +2 -2
  250. package/dist/assets/{ZeniCopyright-B1muAGCe-q18kcBJ1.js → ZeniCopyright-Cy7xQhak-DdKCW6EI.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-BmNnzdVH-XUzgAQP_.js → ZeniDatePicker--Wk1Y9-b-Ikkm7YIY.js} +4 -4
  252. package/dist/assets/ZeniTransferAmountSlider-BGK6jY7c-DnMJhxcK.js +63 -0
  253. package/dist/assets/{accountMappingHelper-BrPXAL73.js → accountMappingHelper-B5TnMmqA.js} +1 -1
  254. package/dist/assets/{add-to-wallet-DgdBD8_G-Dh9sZKZB.js → add-to-wallet-DgdBD8_G-Buw9XYbC.js} +1 -1
  255. package/dist/assets/{analytics-CDaNvN8h.js → analytics-D7HtemTn.js} +1 -1
  256. package/dist/assets/{analyticsHelper-DApOjqKE.js → analyticsHelper-CpXIJxUL.js} +1 -1
  257. package/dist/assets/{analyticsHelper-BznLUYs2-D0Y6omTO.js → analyticsHelper-MsboCQcB-ClYGtAlc.js} +1 -1
  258. package/dist/assets/{arrow-south-east-round-PEovUgvH-4zq_odDD.js → arrow-south-east-round-PEovUgvH-BfE1l1sB.js} +1 -1
  259. package/dist/assets/{auto-transfer-rule-mbafm5D3-DbGOeLQx.js → auto-transfer-rule-mbafm5D3-Dbmd4uJS.js} +1 -1
  260. package/dist/assets/{avatar-Dz7aEm3d-CWySFkWm.js → avatar-Dz7aEm3d-C2PjdQVT.js} +1 -1
  261. package/dist/assets/{calculateSize-B4Atw2cK-BK5U-vIk.js → calculateSize-DtEgyuiA-BJxqaIDz.js} +1 -1
  262. package/dist/assets/{chartTypes-Bckf_DAs-CcjNgpBl.js → chartTypes-BZL6U2-d-UPGybQZE.js} +1 -1
  263. package/dist/assets/{clock-CJkylEKt-CVsxzmyy.js → clock-CJkylEKt-BhyIm3xG.js} +1 -1
  264. package/dist/assets/common-DspMM85g-eqBRfeMW.js +1 -0
  265. package/dist/assets/commonDimensions-RZ10geET-CQLnP9WR.js +1 -0
  266. package/dist/assets/{commonTypes-CATFe6V_-Bw1wXmwu.js → commonTypes-lunwFIdl-BTgH3sp5.js} +1 -1
  267. package/dist/assets/{core-BROwB3xg.js → core-ADrPabGT.js} +38 -3
  268. package/dist/assets/{dash.all.min-BwyTjiyH.js → dash.all.min-B80Fjk6g.js} +1 -1
  269. package/dist/assets/{decodeURIComponentSafe-BGR3dXtf.js → decodeURIComponentSafe-B2klyNYm.js} +1 -1
  270. package/dist/assets/detailCommon-CxEOrtjx-XTML3r_I.js +38 -0
  271. package/dist/assets/{dnd-M9ETCPCc.js → dnd-83aXbnEf.js} +1 -1
  272. package/dist/assets/{dollar-round-D18u7nlm-DzhQnUAS.js → dollar-round-D18u7nlm-DpqHsegv.js} +1 -1
  273. package/dist/assets/downloadPdf-BpxrRqLr-Dq9Hm-Yk.js +1 -0
  274. package/dist/assets/{index-PbnqpzuR.js → empty-BuW7JTEu.js} +1 -1
  275. package/dist/assets/{empty-DEfk6lzH.js → empty-b7G9eJAG.js} +1 -1
  276. package/dist/assets/epic-PnA5OGYq.js +2 -0
  277. package/dist/assets/{filter-cZIFUNvj-CXOCablV.js → filter-cZIFUNvj-FUBo8Jnl.js} +1 -1
  278. package/dist/assets/getLocaleForTenant-Bt4tLJ8B.js +1 -0
  279. package/dist/assets/{gift-box-Cmt9OgIZ-a7ivTWB6.js → gift-box-Cmt9OgIZ-BGtl8O0W.js} +1 -1
  280. package/dist/assets/{graphic-no-data-l-DU4J8fDt-D4Z2Td9j.js → graphic-no-data-l-DU4J8fDt-ExJA3UCE.js} +1 -1
  281. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CidPW_p-.js → graphic-no-data-net-burn-l-CzmycA0m-BakRM2hs.js} +1 -1
  282. package/dist/assets/{handshake-BPg58FML-Du3wpRQE.js → handshake-BPg58FML-DEzA3ltI.js} +1 -1
  283. package/dist/assets/{helper-BCh4SWyd-isWS85Kg.js → helper-2Z01-P8G-D7tgV0Ug.js} +3 -3
  284. package/dist/assets/{hyperlink-DQyCeXx2-BRRoxeMz.js → hyperlink-DQyCeXx2-ky2ivvTP.js} +1 -1
  285. package/dist/assets/index-B9b8RnaK.js +1 -0
  286. package/dist/assets/{index-CXeFHlD8.js → index-BC_OqBzO.js} +1 -1
  287. package/dist/assets/index-Bl4vUMlL.js +1 -0
  288. package/dist/assets/{index-Bsu_RWOn.js → index-DAaNy4V6.js} +8 -2
  289. package/dist/assets/{index-hlRDRY3p.js → index-DjP1wQjH.js} +1 -1
  290. package/dist/assets/{index-onESlw0k.js → index-DorX0WX8.js} +4298 -4227
  291. package/dist/assets/{lexical-BDowhSNN.js → lexical-BGYE9Sy4.js} +1 -1
  292. package/dist/assets/{liveblocks-Bdti0GEu.js → liveblocks-f_lxxH57.js} +8 -3
  293. package/dist/assets/{lottie-CyO1eRs4.js → lottie-sNoV77jf.js} +1 -1
  294. package/dist/assets/{mapLoadingInProgressToTreeNode-DcYetEpP-Cjbsf28w.js → mapLoadingInProgressToTreeNode-BJRnX8Ir-CTwzTgVL.js} +1 -1
  295. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CExgzViB-Ckk52Tg_.js → mapSectionWithAcOnlyToTreeNode--0eoufeA-BVEmfqf7.js} +1 -1
  296. package/dist/assets/mapSpacerToTreeNode-CQvnRjWo-D94Aabob.js +1 -0
  297. package/dist/assets/mapTimeframeBalancesToTreeNode-CY0Vs8kK-BW2bp0f8.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-Cytg0KxN-BW6Ya40z.js +1 -0
  299. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-_7RU9lwp-eJu_Fbcv.js → mapTimeframeHeaderLoadingInProgressToTreeNode-3KVmTdIZ-DkTIrIkC.js} +1 -1
  300. package/dist/assets/{media-player-C_DTDTMq.js → media-player-D1K6tfw6.js} +2 -2
  301. package/dist/assets/{money-2cg1MuG4-Dkp2kPMU.js → money-2cg1MuG4-DajJjl7a.js} +1 -1
  302. package/dist/assets/{mui-B0LS8eOU.js → mui-gZ2J-2YO.js} +1 -1
  303. package/dist/assets/{page-detail-CWX5S47F-BqlZh_Sh.js → page-detail-CWX5S47F-mMS9vUC4.js} +1 -1
  304. package/dist/assets/{page-summary-D7_VQHwN-B_SO8YR9.js → page-summary-D7_VQHwN-DhjZazqO.js} +1 -1
  305. package/dist/assets/panelSelectedMixin-CzfD5-Zs-DyRjm7kt.js +4 -0
  306. package/dist/assets/{pathToGoBack-Cd1NYD0G.js → pathToGoBack-BvSUl7ma.js} +1 -1
  307. package/dist/assets/{pdf-DEiLcZtJ.js → pdf-BNA4Ou8X.js} +3 -3
  308. package/dist/assets/{pdf-lib-BkXoRqvn.js → pdf-lib-uBsrmHT5.js} +1 -1
  309. package/dist/assets/{plaid-CnBboaBy.js → plaid-DS3FargU.js} +1 -1
  310. package/dist/assets/{pusher-Bly36HJj.js → pusher-fI6e2fO0.js} +1 -1
  311. package/dist/assets/{radio-default-CiSgisfh-cGAZATVp.js → radio-default-CiSgisfh-BlGVs6W5.js} +1 -1
  312. package/dist/assets/{react-XiBAuA1q.js → react-2oa8mqCY.js} +12 -2
  313. package/dist/assets/{react-Dvzp2WQY.js → react-DGUD67o4.js} +12 -2
  314. package/dist/assets/react-DGs-yfEB.js +37 -0
  315. package/dist/assets/{react-BQQamkOQ.js → react-Dhg_7JXq.js} +12 -2
  316. package/dist/assets/{react-BTuVAJx5.js → react-PTvHN8FL.js} +13 -3
  317. package/dist/assets/{react-BfYalbE9.js → react-aVJXH_ps.js} +12 -2
  318. package/dist/assets/{react-Ce7uw7zT.js → react-ihVT-KIV.js} +12 -2
  319. package/dist/assets/{react-BB3tmZIH.js → react-pv23IQaZ.js} +12 -2
  320. package/dist/assets/{recharts-C5uMntUw.js → recharts-BKvR8EI0.js} +1 -1
  321. package/dist/assets/{routePaths-DY-F87LY.js → routePaths-BozUSOR4.js} +1 -1
  322. package/dist/assets/{sentry-CZ5rBRIL.js → sentry-tRTnR5ia.js} +1 -1
  323. package/dist/assets/{shield-DOlUxcFf-DzA5SBv7.js → shield-DOlUxcFf-c8MRbcLE.js} +1 -1
  324. package/dist/assets/{spend-limit-D6SyboD4-DcVPGNzj.js → spend-limit-D6SyboD4-B-j1Sn9h.js} +1 -1
  325. package/dist/assets/toCOABalancesWithID-DzAIFjHl-Bv5FILWN.js +1 -0
  326. package/dist/assets/toChartData-BurvmO_S-tegfOE4s.js +1 -0
  327. package/dist/assets/{transaction-placeholder-CpOwZAMG-COfSIfub.js → transaction-placeholder-CpOwZAMG-B1W5bE7h.js} +1 -1
  328. package/dist/assets/{undo-b_3XZ5CX-GuaeTLDz.js → undo-b_3XZ5CX-CWSUI7Te.js} +1 -1
  329. package/dist/assets/{unlock-BPWn2I5L-dCTUzMJK.js → unlock-BPWn2I5L-DofDRoYu.js} +1 -1
  330. package/dist/assets/{uploadAttachment-BLbU_iLy-8zCKB5Pk.js → uploadAttachment-DtJo5Tp4-I2f6VcnN.js} +16 -16
  331. package/dist/assets/{uploadReceipts-CIgkuVpu-CdkwjCFf.js → uploadReceipts-Dge0cNF1-CtnQO8tO.js} +1 -1
  332. package/dist/assets/{url-BpDqVgZ1.js → url-C7onmSKg.js} +1 -1
  333. package/dist/assets/{url-B5OrmuhL.js → url-DgsAV5vb.js} +1 -1
  334. package/dist/assets/{useDeviceId-B2ttoe_4.js → useDeviceId-DXjMFBrp.js} +1 -1
  335. package/dist/assets/{useInitialThreadRequest-PDMuzuX_.js → useInitialThreadRequest-CVIIrf8B.js} +1 -1
  336. package/dist/assets/{useLongPress-GCK2COYQ-DX6C4FZu.js → useLongPress-GCK2COYQ-BErt8Gng.js} +1 -1
  337. package/dist/assets/{usp-line-BBd1wKwW-DwPxDnl2.js → usp-line-BBd1wKwW-Vkz6UgtT.js} +1 -1
  338. package/dist/assets/{utils-0wrLfZK3.js → utils-VuBQoQGa.js} +20 -7
  339. package/dist/assets/withTransactionSidePanel-DCoGJOSb.js +8 -0
  340. package/dist/assets/zeni-epic-state-DiMW9axO.js +122 -0
  341. package/dist/assets/{zeni-icon-only-Bw33PFmX.js → zeni-icon-only-soz6I0gO.js} +1 -1
  342. package/dist/index.html +1 -1
  343. package/dist/service-worker.js +8 -16
  344. package/package.json +4 -4
  345. package/dist/assets/ACHDetailsPage-CfvX6zSV-orp1kpUl.js +0 -21
  346. package/dist/assets/AccountInfoPage-XrG_Cs9Q-DGo7arLd.js +0 -18
  347. package/dist/assets/AccountInfoPageContent-Bk0YQ-4C-EIvLBn9J.js +0 -149
  348. package/dist/assets/AccountRow-2vAGu-jm-CsRx_9_c.js +0 -298
  349. package/dist/assets/AddAddressForCardDrawer-BjL_E7Jt-CWiP3Ul9.js +0 -6
  350. package/dist/assets/AddressRoutes-BhTs0719.js +0 -1
  351. package/dist/assets/AddressScreen-C7FI08DQ.js +0 -9
  352. package/dist/assets/AppDrawerContent-DpoXoHZU-CYeg8brB.js +0 -92
  353. package/dist/assets/ApprovalRulesSettingsPage-BfXvTQyU-DBTdErTc.js +0 -47
  354. package/dist/assets/ArAgingChart-BwVPNYHv-CcByfol5.js +0 -24
  355. package/dist/assets/BalancesInsightWithToolTip-B0YZt5m3-BSEIXbC4.js +0 -38
  356. package/dist/assets/BankAccountWarningSection-BQlPiqev-VfBZFP3w.js +0 -51
  357. package/dist/assets/BillDetailPage-44pWv8Nq-9uRwD-vz.js +0 -266
  358. package/dist/assets/BillPayApprovalRoutes-Dlvg_E83.js +0 -1
  359. package/dist/assets/BillPayApprovalRuleDetailPage-D_Q7_oVR-BwbwveWy.js +0 -27
  360. package/dist/assets/BillPaySetUpPage-bNDxI3Kh-B9_ilJ_1.js +0 -42
  361. package/dist/assets/BillingSettingsPage-4WGlC_Ok-Cu5yW_nx.js +0 -44
  362. package/dist/assets/BusinessVerificationPage-CYzudAIt-ChK6OXP0.js +0 -138
  363. package/dist/assets/BusinessVerificationPageScreen-k-BeqwEY.js +0 -9
  364. package/dist/assets/BusyIndication-BYTP8DO9-DM831bTM.js +0 -9
  365. package/dist/assets/ChargeCardListTable-Daaen5Xe-D0lOSTTo.js +0 -711
  366. package/dist/assets/ChargeCardPromoPage-DAk2fYcE-Be70q6jd.js +0 -222
  367. package/dist/assets/CheckDepositDrawerPage-DlJJaad8-DQQw5HV9.js +0 -206
  368. package/dist/assets/CollapsableReportTable-CcyH-50D-DL-xxcdl.js +0 -2941
  369. package/dist/assets/CompanyOfficerDetailsSection-m-m1nELP-DdzEvWuy.js +0 -331
  370. package/dist/assets/CompanyPassportCard-ZBDBE8eV-D5rcoYI7.js +0 -42
  371. package/dist/assets/ConfettiBurst-BCkkcLA1-CfFNklpq.js +0 -1
  372. package/dist/assets/ConnectionAuthScreen-D8HCXHjs.js +0 -11
  373. package/dist/assets/CurrencySelectField-CwNGSmb2-D7S0733a.js +0 -139
  374. package/dist/assets/CustomerOnboardingAuthScreen-2a10tVxr.js +0 -1
  375. package/dist/assets/CustomerOnboardingContainerPage-C_wG7Q8O-csD_XfJD.js +0 -1
  376. package/dist/assets/CustomerOnboardingNoStepsPage-DF6CbSZs-Ce1wmMhs.js +0 -66
  377. package/dist/assets/DashboardRoutes-D7-BQybA.js +0 -21
  378. package/dist/assets/DashboardSidebarBackgroundAnimation-Cn_5tbit-wUk3-phQ.js +0 -12
  379. package/dist/assets/DepositAccTransactionItem-DnL2eweO-B6q6pWTa.js +0 -76
  380. package/dist/assets/DepositAccTransactionListPage-HAUhc4OH-Bic7M5jt.js +0 -66
  381. package/dist/assets/DomesticWireDetailScreen-Cd59xXc1.js +0 -18
  382. package/dist/assets/DomesticWireDetailsPage-QhDoZX5h-ALe5PVzc.js +0 -21
  383. package/dist/assets/DownloadOverlay-GFsPIkgY-BMkk3cm2.js +0 -439
  384. package/dist/assets/DrawerScreen-D5FqBBJJ.js +0 -1
  385. package/dist/assets/EditPeoplePage-DD6wg7xI-BXT7xcGL.js +0 -55
  386. package/dist/assets/EditReimbursementDetailPage-D8RHkMHR-DIlKE1Mz.js +0 -865
  387. package/dist/assets/EntityDetailPage-levtFHaa-DqaXP9Yk.js +0 -18
  388. package/dist/assets/EntityDetailRoutes-DVHLqQYx.js +0 -1
  389. package/dist/assets/ExpenseAutomationPage-DD33LDin-Ba6vQBRK.js +0 -3614
  390. package/dist/assets/ExpenseAutomationRoutes-B_iGGphM.js +0 -20
  391. package/dist/assets/FeaturePreviewScreen-BNFYctNf.js +0 -1
  392. package/dist/assets/GlobalReviewListPage-C5h9rvVb-nfB02P_2.js +0 -291
  393. package/dist/assets/InsightsCardStack-CkxN0Fd6-763HMSE3.js +0 -79
  394. package/dist/assets/InsightsSection-Cwd2cIP2-CZ7okUuA.js +0 -27
  395. package/dist/assets/IntegrationsSettingsPage-CN3x9o-8-BQvn7JQh.js +0 -57
  396. package/dist/assets/InternationalWireVerificationPage-H6gzEDg6-DaDQKgwa.js +0 -65
  397. package/dist/assets/InvitePeoplePage-D-XyBXhF-D6owWKuc.js +0 -12
  398. package/dist/assets/InvoiceUploadSection-DaJWTI5B-CqhFo4gs.js +0 -140
  399. package/dist/assets/LabeledAddressValueField-B5eyO5LD-BX0obAqg.js +0 -45
  400. package/dist/assets/LabeledControlledCheckBoxField-DNFUkVLh-CHxF5t5z.js +0 -16
  401. package/dist/assets/LabeledDocumentField-H4V0rHKt-BNkRXnBY.js +0 -41
  402. package/dist/assets/LabeledText-BDkcgGG4-C5NFd1eb.js +0 -42
  403. package/dist/assets/MagicLinkACHDetailsPage-DdWD8eZA-Bt3qU_e2.js +0 -1
  404. package/dist/assets/MagicLinkDomesticWireDetailsPage-zLqzW0ZA-BWYuY1Ca.js +0 -1
  405. package/dist/assets/MagicLinkInternationalWireDetailsPage-OpEbz58h-CFz87ekO.js +0 -1
  406. package/dist/assets/MagicLinkRoutes-D2_ecbfc.js +0 -72
  407. package/dist/assets/MagicLinkSignInScreen-BZLNJqh8.js +0 -12
  408. package/dist/assets/MobileAppDrawer-CAXlcX9R.js +0 -1
  409. package/dist/assets/NavBarWithPicker-BpjOj0Mh-BwvJYNac.js +0 -30
  410. package/dist/assets/NavigationArrow-wyRPTk_w-DPu3Oj9V.js +0 -47
  411. package/dist/assets/NavigationDots-D4jbU1WN-jeganfr5.js +0 -15
  412. package/dist/assets/NoDataChart-tpjEi1Wb-D421f-73.js +0 -26
  413. package/dist/assets/NotFoundScreen-CF8ObwPz.js +0 -1
  414. package/dist/assets/NotificationRoutes-pUWH8lSx.js +0 -1
  415. package/dist/assets/NotificationsListConfig-CqxCGQSM-OgByU3Gt.js +0 -1
  416. package/dist/assets/NotificationsPage-xmWyvsYE-BIF5tt7P.js +0 -685
  417. package/dist/assets/OpExByVendorPage-BwWSNQjj-3fV9YIn4.js +0 -100
  418. package/dist/assets/PandLWithForecastPage-GXzJgAFS-Cp5kSDNk.js +0 -107
  419. package/dist/assets/PandLWithForecastRoutes-XLAPfYww.js +0 -1
  420. package/dist/assets/PeoplePage-CgLumn7f-D_i2gWcF.js +0 -772
  421. package/dist/assets/PeopleRoutes-Cu0U5U2W.js +0 -22
  422. package/dist/assets/PerformanceRoutes-3KgDs52i.js +0 -1
  423. package/dist/assets/QBOSetupSection-BaxLXdyW-pjTHwp3k.js +0 -79
  424. package/dist/assets/ReferralListScreen-C3_oL385.js +0 -5
  425. package/dist/assets/ReimbursementApprovalRoutes-CJ6a1Z7l.js +0 -1
  426. package/dist/assets/ReimbursementDetailPage-BOW1JodW-D-JMFLZJ.js +0 -314
  427. package/dist/assets/ReimbursementPromoPage-lD4FRDbt-DT8tB2X5.js +0 -84
  428. package/dist/assets/ReimbursementRoutes-CgNdfg_9.js +0 -13
  429. package/dist/assets/ReimbursementsBulkReviewDrawerPage-BV1eoHFe-DYTqcpuP.js +0 -1
  430. package/dist/assets/ReloadCard-DZJ1-x96-Cbk2YJf5.js +0 -26
  431. package/dist/assets/ReportTableViewSelector-NmHJk-6O-DC1xlLpc.js +0 -151
  432. package/dist/assets/ReportsPage-CqCp4w8y-BKv48wE_.js +0 -237
  433. package/dist/assets/ReportsRoutes-Cjka5GZR.js +0 -1
  434. package/dist/assets/ReviewDetailsPage-Dm5-QehL-BGVz2Skg.js +0 -290
  435. package/dist/assets/RewardsRoutes-Cg47LISe.js +0 -1
  436. package/dist/assets/RoleWithToolTip-Cu0ixEhp-BLzDuQC4.js +0 -22
  437. package/dist/assets/ScheduleSequenceTable-Dgb-vhXK-B3jTjQj6.js +0 -324
  438. package/dist/assets/ScreenRoutes-CLgK0flG.js +0 -2
  439. package/dist/assets/SettingsRoutes-DTEJaC0y.js +0 -57
  440. package/dist/assets/SignInScreen-DDGNuzrN.js +0 -1
  441. package/dist/assets/SignOutScreen-Vd1yIsf9.js +0 -9
  442. package/dist/assets/SpendManagementListViewPage-DkEZTojy-Bbryxib4.js +0 -134
  443. package/dist/assets/SpendManagementSection-DqDra2TJ-UYVOSI6A.js +0 -375
  444. package/dist/assets/StatementItem-DSuaMb54-DvgnUhnF.js +0 -31
  445. package/dist/assets/StatementsPage-BO3P2kKJ-BlvqqfSa.js +0 -58
  446. package/dist/assets/SuccessAnimation-4kdc8tt0-3U7Tbur-.js +0 -13
  447. package/dist/assets/SummaryCard-D4k-35Mt-pAdg9hEc.js +0 -1
  448. package/dist/assets/TaskListScreen-DS-z4_ic.js +0 -9
  449. package/dist/assets/TaskManagementPage-Cadtu3qQ-BS26r7bL.js +0 -1067
  450. package/dist/assets/TaskRoutes-DOJRy1jK.js +0 -9
  451. package/dist/assets/TimeRangeSwitcher-CXt00my3-0befHeUq.js +0 -64
  452. package/dist/assets/TimeframeSwitcher-D0ujXDLd-BQsQ9a9G.js +0 -31
  453. package/dist/assets/TimeframeSwitcherWithToggle-CMzQ2qRz-CbDb6VxM.js +0 -53
  454. package/dist/assets/TransactionDetailPage-B1UKqtkR-d5IFX2Ag.js +0 -903
  455. package/dist/assets/TransactionDetailRoutes-CcFWlu2e.js +0 -1
  456. package/dist/assets/TransactionDetailScreen-BiSUP3Ye.js +0 -5
  457. package/dist/assets/TransactionList-BE3ODDi0-DWNC6ZOm.js +0 -153
  458. package/dist/assets/TransactionListPage-DqY2twbP-BNNOPUy7.js +0 -35
  459. package/dist/assets/TreasuryOverviewPage-lmaT3YkG-DTrJbZN8.js +0 -725
  460. package/dist/assets/TreasuryRoutes-B45oraKw.js +0 -45
  461. package/dist/assets/TreasuryStatementsPage-BguLbwsn-CqYwnBvA.js +0 -58
  462. package/dist/assets/TrendWithTransactions-atLfDrR5-BWQ8ewta.js +0 -116
  463. package/dist/assets/UploadAdditionalDocumentOverlay-D0FPdZ3n-D_o6UAT5.js +0 -38
  464. package/dist/assets/Vendor2FAPopup-CH44a6ok-D7quKD79.js +0 -1
  465. package/dist/assets/VendorACHDetailsPage-YgMvjx2w-Cc9yRWvp.js +0 -1
  466. package/dist/assets/VendorDetailPage-DJ54yvWY-CrTCfpgf.js +0 -257
  467. package/dist/assets/VendorDomesticWireDetailsPage-CRsOlxyy-BYyMlDV2.js +0 -1
  468. package/dist/assets/VendorFirstReviewPage-7VUbqyR2-D5_39yaN.js +0 -730
  469. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D0Fnosfi-nHm5cJMF.js +0 -1
  470. package/dist/assets/VerifyDevice-gXwkGIjJ-Eh05VlWI.js +0 -112
  471. package/dist/assets/WiseConfirmationScreen-D3O3YSmJ.js +0 -12
  472. package/dist/assets/ZeniAccountDetailPage-DlCJ5UGq-D3gjQmIJ.js +0 -300
  473. package/dist/assets/ZeniAccountListViewPage-DTiBd3Ze--cesRi3D.js +0 -443
  474. package/dist/assets/ZeniAccountNavBarPieces-DAcKYXqh-C9FBd2ju.js +0 -33
  475. package/dist/assets/ZeniAccountRoutes-uGhl8Fda.js +0 -58
  476. package/dist/assets/ZeniAccountStatementScreen-BWKARWnP.js +0 -9
  477. package/dist/assets/ZeniTransferAmountSlider-CX1FGWrl-CYsYWj7Y.js +0 -63
  478. package/dist/assets/bank-letter-BOcVjN6J-Cei8xClC.js +0 -1
  479. package/dist/assets/common-Dx_KVthm-CevE2N5L.js +0 -1
  480. package/dist/assets/commonDimensions-Bno19oYe-CEAcpM9E.js +0 -1
  481. package/dist/assets/downloadPdf-CkATqzUx-CAAsaSoH.js +0 -1
  482. package/dist/assets/empty-DMh0uNaa.js +0 -1
  483. package/dist/assets/epic-rdGaLX8n.js +0 -2
  484. package/dist/assets/getLocaleForTenant-XwAfvjzQ.js +0 -1
  485. package/dist/assets/index-BkXFulDf.js +0 -1
  486. package/dist/assets/mapSpacerToTreeNode-D02PFsN8-HzZiwtin.js +0 -1
  487. package/dist/assets/mapTimeframeBalancesToTreeNode-CoqcGXTM-BqsDu5g7.js +0 -1
  488. package/dist/assets/mapTimeframeBalancesToTreeNode-D0zXBGho-BlLHhiHi.js +0 -1
  489. package/dist/assets/panelSelectedMixin-Cddsb26L-DwZ96bUM.js +0 -3
  490. package/dist/assets/react-CFCUHd70.js +0 -19
  491. package/dist/assets/toCOABalancesWithID-C-wpsGXP-DipYDOu_.js +0 -1
  492. package/dist/assets/toChartData-C-X2WzOE-Bq8iIFdZ.js +0 -1
  493. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-D0qWvkKO.js +0 -1
  494. package/dist/assets/withTransactionSidePanel-Cqk9VVqu.js +0 -8
  495. package/dist/assets/zeni-epic-state-Cr-rO4HZ.js +0 -14
@@ -1,4 +1,4 @@
1
- import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o as i,x as D,U as K,b0 as tt,b1 as st,f as ae,u as L,an as at,ad as ot,a8 as Le,a as Ne,c as M,D as Ie,ac as nt,au as it,k as rt,b2 as ct,$ as lt,b3 as dt,b4 as oe,b5 as pt,s as gt,j as ht,b6 as mt,b7 as ut}from"./index-onESlw0k.js";import{a as k,b as ee}from"./sentry-CZ5rBRIL.js";import{n as p,k as Re}from"./mui-B0LS8eOU.js";import{bt as ft,F5 as bt,F2 as xt,F6 as _t,F7 as wt,F8 as yt,F9 as St,Fa as vt,Fb as jt,Fc as Ct,Fd as kt}from"./zeni-epic-state-Cr-rO4HZ.js";import{m as G,l as se}from"./analyticsHelper-BznLUYs2-D0Y6omTO.js";import{x as $t,b as Ot}from"./ReportTableViewSelector-NmHJk-6O-DC1xlLpc.js";import{F as Bt}from"./InsightsSection-Cwd2cIP2-CZ7okUuA.js";import{H as te}from"./BalancesInsightWithToolTip-B0YZt5m3-BSEIXbC4.js";import{y as Pt,$ as Lt,v as Nt,M as xe,b as fe}from"./TimeRangeSwitcher-CXt00my3-0befHeUq.js";import{G as It,P as Rt,Y as _e,X as we,H as ye}from"./RevenueChart-CKjVL6iT-C_eQ-aqy.js";import{C as Tt}from"./NoDataChart-tpjEi1Wb-D421f-73.js";import{n as F}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{T as Te}from"./TimeframeSwitcher-D0ujXDLd-BQsQ9a9G.js";import{X as Dt,J as W,y as zt,h as me,D as At}from"./CollapsableReportTable-CcyH-50D-DL-xxcdl.js";import{S as Ft,M as Mt,g as Et,C as X,L as Se,D as ve,T as je}from"./mapSectionWithAcOnlyToTreeNode-CExgzViB-Ckk52Tg_.js";import{d as Vt}from"./NoDataTable-BtEKMdpl-CBXm-Rpx.js";import{d as ne,l as ie}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-_7RU9lwp-eJu_Fbcv.js";import{d as re}from"./mapLoadingInProgressToTreeNode-DcYetEpP-Cjbsf28w.js";import"./pdf-DEiLcZtJ.js";import"./core-BROwB3xg.js";import"./lottie-CyO1eRs4.js";import"./liveblocks-Bdti0GEu.js";import"./recharts-C5uMntUw.js";import"./dnd-M9ETCPCc.js";import"./analytics-CDaNvN8h.js";import"./plaid-CnBboaBy.js";import"./utils-0wrLfZK3.js";import"./filter-cZIFUNvj-CXOCablV.js";import"./NavigationDots-D4jbU1WN-jeganfr5.js";import"./chartTypes-Bckf_DAs-CcjNgpBl.js";import"./toCOABalancesWithID-C-wpsGXP-DipYDOu_.js";import"./toChartData-C-X2WzOE-Bq8iIFdZ.js";import"./AccountRow-2vAGu-jm-CsRx_9_c.js";import"./clock-CJkylEKt-CVsxzmyy.js";import"./graphic-no-data-l-DU4J8fDt-D4Z2Td9j.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b57b1956-1fe4-4fa0-8a55-83e0f2fd93e2",e._sentryDebugIdIdentifier="sentry-dbid-b57b1956-1fe4-4fa0-8a55-83e0f2fd93e2")}catch{}})();const Wt=e=>k.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},k.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"}),k.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"}),k.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.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"}),k.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"}),k.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.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"})),Ht=p.div`
1
+ import{J as I,y as U,O as y,t as Pe,V as a,a_ as Qe,f as Xe,G as Ke,a$ as et,o as i,b as D,Q,b0 as tt,b1 as st,x as ae,u as L,an as at,ad as ot,a8 as Le,i as Ne,e as E,I as Ie,ac as nt,au as it,k as rt,b2 as ct,$ as lt,b3 as dt,b4 as oe,b5 as pt,N as gt,W as ht,b6 as mt,b7 as ut}from"./index-DorX0WX8.js";import{a as k,b as K}from"./sentry-tRTnR5ia.js";import{n as p,k as Re}from"./mui-gZ2J-2YO.js";import{bt as ft,El as bt,Ei as xt,Em as _t,En as wt,Eo as yt,Ep as St,Eq as vt,Er as jt,Es as Ct,Et as kt}from"./zeni-epic-state-DiMW9axO.js";import{m as Y,l as se}from"./analyticsHelper-MsboCQcB-ClYGtAlc.js";import{g as $t,x as Ot}from"./ReportTableViewSelector-gYxUii1M-BhXMqYN6.js";import{F as Bt}from"./InsightsSection-DgViiL7e-CyZzflwi.js";import{k as Pt,q as Lt,N as xe,H as ee,G as fe}from"./detailCommon-CxEOrtjx-XTML3r_I.js";import{G as Nt,P as It,Y as _e,X as we,H as ye}from"./RevenueChart-BHrj8Dy9-Bgtbsht_.js";import{C as Rt}from"./NoDataChart-DcMRzXHU-BWuTQSGS.js";import{n as M}from"./getReferrerType-DjPOy76W-BckJ1MnT.js";import{p as Tt}from"./TimeRangeSwitcher-PcHPZNOq-DyMi_xu3.js";import{b as Te}from"./TimeframeSwitcher-XZjkUS_W-DEhbHF-x.js";import{I as Dt,R as V,x as zt,l as me,D as At}from"./CollapsableReportTable-BAz0DbFh-Bx4HSBTd.js";import{S as Mt,M as Et,g as Ft,C as q,L as Se,D as ve,T as je}from"./mapSectionWithAcOnlyToTreeNode--0eoufeA-BVEmfqf7.js";import{d as Wt}from"./NoDataTable-D1v085Vv-TbZCkeJw.js";import{d as ne,l as ie}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-3KVmTdIZ-DkTIrIkC.js";import{d as re}from"./mapLoadingInProgressToTreeNode-BJRnX8Ir-CTwzTgVL.js";import"./pdf-BNA4Ou8X.js";import"./core-ADrPabGT.js";import"./lottie-sNoV77jf.js";import"./liveblocks-f_lxxH57.js";import"./recharts-BKvR8EI0.js";import"./dnd-83aXbnEf.js";import"./analytics-D7HtemTn.js";import"./plaid-DS3FargU.js";import"./utils-VuBQoQGa.js";import"./filter-cZIFUNvj-FUBo8Jnl.js";import"./NavigationDots-Cu9LZj7T-BaBE0dTx.js";import"./chartTypes-BZL6U2-d-UPGybQZE.js";import"./toCOABalancesWithID-DzAIFjHl-Bv5FILWN.js";import"./toChartData-BurvmO_S-tegfOE4s.js";import"./AccountRow-Zjkju8uM-h-BJkTkR.js";import"./clock-CJkylEKt-BhyIm3xG.js";import"./graphic-no-data-l-DU4J8fDt-ExJA3UCE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="706a7337-8a18-4f72-86dc-9457cfc0768d",e._sentryDebugIdIdentifier="sentry-dbid-706a7337-8a18-4f72-86dc-9457cfc0768d")}catch{}})();const Vt=e=>k.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},k.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"}),k.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"}),k.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),k.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"}),k.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"}),k.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),k.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"})),Ht=p.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -17,33 +17,33 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
17
17
  justify-content: center;
18
18
  flex-direction: column;
19
19
  margin-top: ${i.sp3};
20
- `,Ut=({style:e,emptyContentText:s,EmptyContentImage:r})=>{const l=I();return a.jsxs(Ht,{windowSize:l,style:{...e},children:[a.jsx(Yt,{children:a.jsx(r,{})}),a.jsx(Gt,{children:s})]})};function Zt(e){const s=function(r){const{isCompareModeOn:l,filter:t,coaBalancesRange:o,report:u,currentTenantCompanyName:d,reportView:g,classesToFilterOut:f}=r,{reportId:x}=u;let n=t.balancesRange.thisPeriod;n==null&&(n=function(b){const{reportId:c}=b.report,h=b.filter.balancesRange.orderBy;let m,v,w=0;switch(c){case"cash_in_cash_out":{const j=b.report,{cashIn:S,cashOut:$}=j,C=S.balances.length>0?S:$;C.balances.length>0&&(h==="ascending_date"&&(w=C.balances.length-1),m=C.balances[w]);break}case"cash_position":{const j=b.report,{cashPosition:S}=j;S.balances.length>0&&(h==="ascending_date"&&(w=S.balances.length-1),m=S.balances[w]);break}case"net_burn_or_income":{const j=b.report,{expenses:S,income:$}=j.sections,C=S?.balances.length>0?S:$;C?.balances!=null&&C.balances.length>0&&(h==="ascending_date"&&(w=C.balances.length-1),m=C.balances[w]);break}case"net_burn_or_income_by_classes":{const j=b.report,{expenses:S,income:$,cogs:C}=j.sections,R=$.balances.length>0?$:C,P=S.balances.length>0?S:R;P.balances.length>0&&(h==="ascending_date"&&(w=P.balances.length-1),m=P.balances[w]);break}case"operating_expenses":{const j=b.report,{expenses:S}=j.sections;S.balances.length>0&&(h==="ascending_date"&&(w=S.balances.length-1),m=S.balances[w]);break}case"operating_expenses_by_classes":{const j=b.report,{expenses:S}=j.sections;S.balances.length>0&&(h==="ascending_date"&&(w=S.balances.length-1),m=S.balances[w]);break}case"revenue":{const j=b.report,{income:S,cogs:$}=j.sections,C=S.balances.length>0?S:$;C?.balances!=null&&C.balances.length>0&&(h==="ascending_date"&&(w=C.balances.length-1),m=C.balances[w]);break}case"revenue_by_classes":{const j=b.report,{income:S,cogs:$}=j.sections,C=S.balances.length>0?S:$;C.balances.length>0&&(h==="ascending_date"&&(w=C.balances.length-1),m=C.balances[w]);break}}return m!=null&&(v={startDate:m.startDate,endDate:m.endDate}),v}({report:u,filter:t}));const _=[];if(l?(_.push("this_period_vs_last_period_percent"),_.push("this_period_vs_last_period")):!l&&x!=="cash_position"&&_.push("free_range_total"),u.reportId!=="cash_position"&&_.push("year_to_date_total"),n!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:d,statementFileType:"excel",statements:[x],firstMonthOfFY:r.report.firstMonthOfFY,bookCloseDate:r.report.bookCloseDate,timeframe:t.timeframe,additionalBalances:_,format:r.reportType,balancesFilter:{thisPeriod:n,numberOfPeriods:l?t.balancesRange.numberOfPeriods:o.numberOfPeriods,orderBy:o.orderBy},accountViewMode:g,classesToFilterOut:f,isZeniCOAUsed:r.isZeniCOAUsed}}(e);if(s!=null)return $t(e.statementEndPoint,e.authParams,s)}const Jt=p.div`
20
+ `,Ut=({style:e,emptyContentText:s,EmptyContentImage:r})=>{const l=I();return a.jsxs(Ht,{windowSize:l,style:{...e},children:[a.jsx(Yt,{children:a.jsx(r,{})}),a.jsx(Gt,{children:s})]})};function Zt(e){const s=function(r){const{isCompareModeOn:l,filter:t,coaBalancesRange:o,report:u,currentTenantCompanyName:d,reportView:g,classesToFilterOut:f}=r,{reportId:x}=u;let n=t.balancesRange.thisPeriod;n==null&&(n=function(b){const{reportId:c}=b.report,h=b.filter.balancesRange.orderBy;let m,v,w=0;switch(c){case"cash_in_cash_out":{const j=b.report,{cashIn:S,cashOut:$}=j,C=S.balances.length>0?S:$;C.balances.length>0&&(h==="ascending_date"&&(w=C.balances.length-1),m=C.balances[w]);break}case"cash_position":{const j=b.report,{cashPosition:S}=j;S.balances.length>0&&(h==="ascending_date"&&(w=S.balances.length-1),m=S.balances[w]);break}case"net_burn_or_income":{const j=b.report,{expenses:S,income:$}=j.sections,C=S?.balances.length>0?S:$;C?.balances!=null&&C.balances.length>0&&(h==="ascending_date"&&(w=C.balances.length-1),m=C.balances[w]);break}case"net_burn_or_income_by_classes":{const j=b.report,{expenses:S,income:$,cogs:C}=j.sections,R=$.balances.length>0?$:C,P=S.balances.length>0?S:R;P.balances.length>0&&(h==="ascending_date"&&(w=P.balances.length-1),m=P.balances[w]);break}case"operating_expenses":{const j=b.report,{expenses:S}=j.sections;S.balances.length>0&&(h==="ascending_date"&&(w=S.balances.length-1),m=S.balances[w]);break}case"operating_expenses_by_classes":{const j=b.report,{expenses:S}=j.sections;S.balances.length>0&&(h==="ascending_date"&&(w=S.balances.length-1),m=S.balances[w]);break}case"revenue":{const j=b.report,{income:S,cogs:$}=j.sections,C=S.balances.length>0?S:$;C?.balances!=null&&C.balances.length>0&&(h==="ascending_date"&&(w=C.balances.length-1),m=C.balances[w]);break}case"revenue_by_classes":{const j=b.report,{income:S,cogs:$}=j.sections,C=S.balances.length>0?S:$;C.balances.length>0&&(h==="ascending_date"&&(w=C.balances.length-1),m=C.balances[w]);break}}return m!=null&&(v={startDate:m.startDate,endDate:m.endDate}),v}({report:u,filter:t}));const _=[];if(l?(_.push("this_period_vs_last_period_percent"),_.push("this_period_vs_last_period")):!l&&x!=="cash_position"&&_.push("free_range_total"),u.reportId!=="cash_position"&&_.push("year_to_date_total"),n!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:d,statementFileType:"excel",statements:[x],firstMonthOfFY:r.report.firstMonthOfFY,bookCloseDate:r.report.bookCloseDate,timeframe:t.timeframe,additionalBalances:_,format:r.reportType,balancesFilter:{thisPeriod:n,numberOfPeriods:l?t.balancesRange.numberOfPeriods:o.numberOfPeriods,orderBy:o.orderBy},accountViewMode:g,classesToFilterOut:f,isZeniCOAUsed:r.isZeniCOAUsed}}(e);if(s!=null)return $t(e.statementEndPoint,e.authParams,s)}const qt=p.div`
21
21
  padding: ${i.sp4} ${i.sp0} ${i.sp5} ${i.sp0};
22
- `;function Xt({highlightedRangeReport:e}){const{availableNumberOfPeriods:s,netCashFlow:r}=e,l=r.balances;if(s==null||s===0||l.length===0)return null;const t=l.reduce((g,f)=>g+f.balance.amount,0),o=l[l.length-1],u={...o,balance:{...o.balance,amount:t}},d=y.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return a.jsx(Jt,{children:a.jsx(te,{balance:u,dateText:d,showInfotip:!1})})}const qt=p.div`
22
+ `;function Jt({highlightedRangeReport:e}){const{availableNumberOfPeriods:s,netCashFlow:r}=e,l=r.balances;if(s==null||s===0||l.length===0)return null;const t=l.reduce((g,f)=>g+f.balance.amount,0),o=l[l.length-1],u={...o,balance:{...o.balance,amount:t}},d=y.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return a.jsx(qt,{children:a.jsx(ee,{balance:u,dateText:d,showInfotip:!1})})}const Qt=p.div`
23
23
  padding: ${i.sp4} ${i.sp0} ${i.sp5} ${i.sp0};
24
- `;function Kt({highlightedRangeReport:e}){const{dateFormat:{visual:s}}=y.getLocalizedStrings(),{availableNumberOfPeriods:r,cashPosition:l}=e,t=l.balances;if(r==null||r===0||t.length===0)return null;const o=t[t.length-1],u=`in ${o.endDate.format(s.MMMYYFormat)}`;return a.jsx(qt,{children:a.jsx(te,{balance:o,dateText:u,showInfotip:!1})})}const Qt=p.div`
24
+ `;function Xt({highlightedRangeReport:e}){const{dateFormat:{visual:s}}=y.getLocalizedStrings(),{availableNumberOfPeriods:r,cashPosition:l}=e,t=l.balances;if(r==null||r===0||t.length===0)return null;const o=t[t.length-1],u=`in ${o.endDate.format(s.MMMYYFormat)}`;return a.jsx(Qt,{children:a.jsx(ee,{balance:o,dateText:u,showInfotip:!1})})}const Kt=p.div`
25
25
  padding: ${i.sp4} ${i.sp0} ${i.sp5} ${i.sp0};
26
26
  `,es=p.div`
27
27
  padding: ${i.sp4} ${i.sp0} ${i.sp5} ${i.sp0};
28
28
  height: ${i.sp6};
29
- `;function ts({highlightedRangeReport:e,uiState:s}){const{selectedAdditionalBalances:r}=s,{availableNumberOfPeriods:l,calculatedSections:t}=e,o=t.netBurnOrIncome.balances;if(l==null||l===0||o.length===0)return a.jsx(es,{});const u=r.includes("this_period_vs_last_period")||r.includes("this_period_vs_last_period_percent"),d=o.reduce((_,b)=>_+b.balance.amount,0),g=o[o.length-1],f=o[0],x={...g,balance:{...g.balance,amount:d},startDate:f.startDate},n=fe(x,u);return a.jsx(Qt,{children:a.jsx(te,{balance:x,dateText:n,showInfotip:!1})})}const ss=p.div`
29
+ `;function ts({highlightedRangeReport:e,uiState:s}){const{selectedAdditionalBalances:r}=s,{availableNumberOfPeriods:l,calculatedSections:t}=e,o=t.netBurnOrIncome.balances;if(l==null||l===0||o.length===0)return a.jsx(es,{});const u=r.includes("this_period_vs_last_period")||r.includes("this_period_vs_last_period_percent"),d=o.reduce((_,b)=>_+b.balance.amount,0),g=o[o.length-1],f=o[0],x={...g,balance:{...g.balance,amount:d},startDate:f.startDate},n=fe(x,u);return a.jsx(Kt,{children:a.jsx(ee,{balance:x,dateText:n,showInfotip:!1})})}const ss=p.div`
30
30
  padding: ${i.sp4} ${i.sp0} ${i.sp5} ${i.sp0};
31
31
  `,as=p.div`
32
32
  padding: ${i.sp4} ${i.sp0} ${i.sp5} ${i.sp0};
33
33
  height: ${i.sp6};
34
- `;function os({highlightedRangeReport:e,uiState:s}){const{availableNumberOfPeriods:r}=e,{selectedAdditionalBalances:l}=s,t=e.sections.expenses.balances??[];if(r==null||r===0||t.length===0)return a.jsx(as,{});const o=l.includes("this_period_vs_last_period")||l.includes("this_period_vs_last_period_percent"),u=t.reduce((n,_)=>n+_.balance.amount,0),d=t[t.length-1],g=t[0],f={...d,balance:{...d.balance,amount:u},startDate:g.startDate},x=fe(f,o);return a.jsx(ss,{children:a.jsx(te,{balance:f,dateText:x,showInfotip:!1})})}const ns=p.div`
34
+ `;function os({highlightedRangeReport:e,uiState:s}){const{availableNumberOfPeriods:r}=e,{selectedAdditionalBalances:l}=s,t=e.sections.expenses.balances??[];if(r==null||r===0||t.length===0)return a.jsx(as,{});const o=l.includes("this_period_vs_last_period")||l.includes("this_period_vs_last_period_percent"),u=t.reduce((n,_)=>n+_.balance.amount,0),d=t[t.length-1],g=t[0],f={...d,balance:{...d.balance,amount:u},startDate:g.startDate},x=fe(f,o);return a.jsx(ss,{children:a.jsx(ee,{balance:f,dateText:x,showInfotip:!1})})}const ns=p.div`
35
35
  padding: ${i.sp4} ${i.sp0} ${i.sp5} ${i.sp0};
36
36
  `,is=p.div`
37
37
  padding: ${i.sp4} ${i.sp0} ${i.sp5} ${i.sp0};
38
38
  height: ${i.sp6};
39
- `;function rs({highlightedRangeReport:e,uiState:s}){const{availableNumberOfPeriods:r,sections:l}=e,{selectedAdditionalBalances:t}=s,o=l.income.balances;if(r==null||r===0||o.length===0)return a.jsx(is,{});const u=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent"),d=o.reduce((_,b)=>_+b.balance.amount,0),g=o[o.length-1],f=o[0],x={...g,balance:{...g.balance,amount:d},startDate:f.startDate},n=fe(x,u);return a.jsx(ns,{children:a.jsx(te,{balance:x,dateText:n,showInfotip:!1})})}const Q={wrapperPadding:new D(L[3],L[3],L[8]),chartHeight:new D(288,360)},cs=p.div`
39
+ `;function rs({highlightedRangeReport:e,uiState:s}){const{availableNumberOfPeriods:r,sections:l}=e,{selectedAdditionalBalances:t}=s,o=l.income.balances;if(r==null||r===0||o.length===0)return a.jsx(is,{});const u=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent"),d=o.reduce((_,b)=>_+b.balance.amount,0),g=o[o.length-1],f=o[0],x={...g,balance:{...g.balance,amount:d},startDate:f.startDate},n=fe(x,u);return a.jsx(ns,{children:a.jsx(ee,{balance:x,dateText:n,showInfotip:!1})})}const X={wrapperPadding:new D(L[3],L[3],L[8]),chartHeight:new D(288,360)},cs=p.div`
40
40
  display: flex;
41
41
  flex: 1 1 auto;
42
42
  flex-direction: column;
43
- height: ${e=>Q.chartHeight.valuePx(e.windowSize)};
43
+ height: ${e=>X.chartHeight.valuePx(e.windowSize)};
44
44
  `,ls=p.div`
45
45
  display: flex;
46
- `,ds=(e,s,r,l,t,o)=>{const u=s.includes("this_period_vs_last_period")||s.includes("this_period_vs_last_period_percent");u===!0&&o?.trackCompareFilterTimeFrame(F(r),G(l),"bar",se(e,l,t)),o?.trackDateRangeFilterChange(F(r),"bar",u,void 0,se(e,l,t))},De={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},ze=Re`
46
+ `,ds=(e,s,r,l,t,o)=>{const u=s.includes("this_period_vs_last_period")||s.includes("this_period_vs_last_period_percent");u===!0&&o?.trackCompareFilterTimeFrame(M(r),Y(l),"bar",se(e,l,t)),o?.trackDateRangeFilterChange(M(r),"bar",u,void 0,se(e,l,t))},De={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},ze=Re`
47
47
  0% {
48
48
  transform: translateY(100%)
49
49
  }
@@ -70,7 +70,7 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
70
70
  display: flex;
71
71
  flex-direction: column;
72
72
  align-items: center;
73
- background: ${M.overlayDark};
73
+ background: ${E.overlayDark};
74
74
  `,hs=p.div`
75
75
  position: fixed;
76
76
  top: 0;
@@ -82,19 +82,19 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
82
82
  flex-direction: column;
83
83
  align-items: center;
84
84
  overflow: auto;
85
- background: ${M.blackColor}E6;
85
+ background: ${E.blackColor}E6;
86
86
  `,Ae=p.div`
87
87
  padding: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?i.sp0:`${i.sp0} ${i.sp8}`};
88
88
  margin-top: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?i.sp0:i.sp7};
89
89
  width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"100%":"620px"};
90
90
  height: 544px;
91
91
  text-align: center;
92
- `,Fe=p.div`
92
+ `,Me=p.div`
93
93
  display: flex;
94
94
  justify-content: flex-end;
95
95
  width: 100%;
96
96
  padding: ${i.sp3} ${i.sp4};
97
- `,Me=p.div`
97
+ `,Ee=p.div`
98
98
  color: ${e=>e.theme.colors.hero};
99
99
  width: ${i.sp3};
100
100
  height: ${i.sp3};
@@ -166,11 +166,11 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
166
166
  `,vs=p(Ie)`
167
167
  max-width: 330px;
168
168
  margin: auto;
169
- color: ${M.primaryDark};
170
- `,Ee=p.div``,Ve=p(ae)`
169
+ color: ${E.primaryDark};
170
+ `,Fe=p.div``,We=p(ae)`
171
171
  margin: ${i.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"?M.heroDark:e.theme.colors.hero};
173
+ color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?E.heroDark:e.theme.colors.hero};
174
174
  `,js=p.div`
175
175
  display: flex;
176
176
  flex-direction: column;
@@ -183,7 +183,7 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
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"?M.heroDark:e.theme.colors.hero};
186
+ color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?E.heroDark:e.theme.colors.hero};
187
187
  margin-top: 22px;
188
188
  list-style-position: outside;
189
189
  padding-left: ${i.sp3};
@@ -197,8 +197,8 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
197
197
  border-radius: 12px;
198
198
  border: ${e=>`1px solid ${e.theme.colors.grey5}`};
199
199
  padding: ${i.sp2};
200
- `,pe=()=>a.jsxs(_s,{children:[a.jsx(ws,{}),a.jsx(ys,{})]}),We=({imgSrc:e})=>{const s=I();return a.jsxs(js,{windowSize:s,children:[a.jsx(ks,{windowSize:s,children:a.jsx($s,{windowSize:s,children:a.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:i.sp2,display:"block"}})})}),a.jsxs(Cs,{windowSize:s,children:[a.jsxs(de,{children:[a.jsx(le,{children:y.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),a.jsx(ce,{children:y.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),a.jsxs(de,{children:[a.jsx(le,{children:y.getLocalizedStrings().forecastPromoPage.trackText.bold}),a.jsx(ce,{children:y.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),a.jsxs(de,{children:[a.jsx(le,{children:y.getLocalizedStrings().forecastPromoPage.preciseText.bold}),a.jsx(ce,{children:y.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Os=e=>{const{onClose:s,reportId:r,meetingUrl:l}=e,t=I(),o=Z(),u=De[r][o.mode];return a.jsxs(hs,{role:"presentation",onClick:d=>(g=>{g.stopPropagation(),s()})(d),children:[a.jsx(Fe,{children:a.jsx(Me,{children:a.jsx(Le,{style:{width:"18px",height:"18px"}})})}),a.jsx(us,{onClick:d=>d.stopPropagation(),children:a.jsxs(Ae,{windowSize:t,children:[a.jsx(vs,{children:y.getLocalizedStrings().forecastPromoPage.promoText}),a.jsx(We,{imgSrc:u}),a.jsxs(Ee,{children:[a.jsx(Ne,{variant:"primary",label:y.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:()=>{window.open(l.toString(),"_blank")},style:{backgroundColor:M.primaryDark,borderColor:M.primaryDark,color:M.neutralGrey5Dark}}),a.jsx(Ve,{windowSize:t,children:y.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Bs=e=>{const{onClose:s,reportId:r,meetingUrl:l}=e,t=I(),o=Z(),u=De[r][o.mode];return a.jsxs(gs,{role:"presentation",onClick:d=>(g=>{g.stopPropagation(),s()})(d),children:[a.jsx(Fe,{children:a.jsx(Me,{children:a.jsx(Le,{style:{width:"18px",height:"18px"}})})}),a.jsxs(ms,{onClick:d=>d.stopPropagation(),children:[a.jsxs(Ae,{windowSize:t,children:[a.jsx(Ss,{children:y.getLocalizedStrings().forecastPromoPage.promoText}),a.jsx(We,{imgSrc:u}),a.jsxs(Ee,{children:[a.jsx(Ne,{variant:"primary",label:y.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:()=>{window.open(l.toString(),"_blank")}}),a.jsx(Ve,{windowSize:t,children:y.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),a.jsx(fs,{children:a.jsx(pe,{})}),a.jsx(bs,{children:a.jsx(pe,{})}),a.jsx(xs,{children:a.jsx(pe,{})})]})]})};function Ps(e){const s=I();return s==="small"||s==="medium-compact"?a.jsx(Os,{...e}):a.jsx(Bs,{...e})}const ge="ZeniSwitch",E={root:`${ge}-root`,switchBase:`${ge}-switchBase`,track:`${ge}-track`},Ls=p(({className:e,...s})=>a.jsx(pt,{...s,className:e,classes:{...E}}))(({theme:e})=>({[`& .${E.switchBase}`]:{color:e.colors.grey2},[`& .${E.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${E.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${E.switchBase}.Mui-checked + .${E.track}`]:{backgroundColor:e.colors.grey1},[`& .${E.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${E.switchBase}.Mui-disabled + .${E.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>a.jsx(Ls,{...e}),U={containerMaxWidth:new D(124,154),forecastNameInnerWidth:new D(75,105),forecastNameOuterWidth:new D(90,120),tooltipTopPosition:new D(51,51),tooltipWidth:new D(180,150)},Ce=p.div``,Ns=p.div`
201
- min-width: ${e=>U.forecastNameInnerWidth.valuePx(e.windowSize)};
200
+ `,pe=()=>a.jsxs(_s,{children:[a.jsx(ws,{}),a.jsx(ys,{})]}),Ve=({imgSrc:e})=>{const s=I();return a.jsxs(js,{windowSize:s,children:[a.jsx(ks,{windowSize:s,children:a.jsx($s,{windowSize:s,children:a.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:i.sp2,display:"block"}})})}),a.jsxs(Cs,{windowSize:s,children:[a.jsxs(de,{children:[a.jsx(le,{children:y.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),a.jsx(ce,{children:y.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),a.jsxs(de,{children:[a.jsx(le,{children:y.getLocalizedStrings().forecastPromoPage.trackText.bold}),a.jsx(ce,{children:y.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),a.jsxs(de,{children:[a.jsx(le,{children:y.getLocalizedStrings().forecastPromoPage.preciseText.bold}),a.jsx(ce,{children:y.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Os=e=>{const{onClose:s,reportId:r,meetingUrl:l}=e,t=I(),o=U(),u=De[r][o.mode];return a.jsxs(hs,{role:"presentation",onClick:d=>(g=>{g.stopPropagation(),s()})(d),children:[a.jsx(Me,{children:a.jsx(Ee,{children:a.jsx(Le,{style:{width:"18px",height:"18px"}})})}),a.jsx(us,{onClick:d=>d.stopPropagation(),children:a.jsxs(Ae,{windowSize:t,children:[a.jsx(vs,{children:y.getLocalizedStrings().forecastPromoPage.promoText}),a.jsx(Ve,{imgSrc:u}),a.jsxs(Fe,{children:[a.jsx(Ne,{variant:"primary",label:y.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:()=>{window.open(l.toString(),"_blank")},style:{backgroundColor:E.primaryDark,borderColor:E.primaryDark,color:E.neutralGrey5Dark}}),a.jsx(We,{windowSize:t,children:y.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Bs=e=>{const{onClose:s,reportId:r,meetingUrl:l}=e,t=I(),o=U(),u=De[r][o.mode];return a.jsxs(gs,{role:"presentation",onClick:d=>(g=>{g.stopPropagation(),s()})(d),children:[a.jsx(Me,{children:a.jsx(Ee,{children:a.jsx(Le,{style:{width:"18px",height:"18px"}})})}),a.jsxs(ms,{onClick:d=>d.stopPropagation(),children:[a.jsxs(Ae,{windowSize:t,children:[a.jsx(Ss,{children:y.getLocalizedStrings().forecastPromoPage.promoText}),a.jsx(Ve,{imgSrc:u}),a.jsxs(Fe,{children:[a.jsx(Ne,{variant:"primary",label:y.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:()=>{window.open(l.toString(),"_blank")}}),a.jsx(We,{windowSize:t,children:y.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),a.jsx(fs,{children:a.jsx(pe,{})}),a.jsx(bs,{children:a.jsx(pe,{})}),a.jsx(xs,{children:a.jsx(pe,{})})]})]})};function Ps(e){const s=I();return s==="small"||s==="medium-compact"?a.jsx(Os,{...e}):a.jsx(Bs,{...e})}const ge="ZeniSwitch",F={root:`${ge}-root`,switchBase:`${ge}-switchBase`,track:`${ge}-track`},Ls=p(({className:e,...s})=>a.jsx(pt,{...s,className:e,classes:{...F}}))(({theme:e})=>({[`& .${F.switchBase}`]:{color:e.colors.grey2},[`& .${F.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${F.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${F.switchBase}.Mui-checked + .${F.track}`]:{backgroundColor:e.colors.grey1},[`& .${F.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${F.switchBase}.Mui-disabled + .${F.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>a.jsx(Ls,{...e}),G={containerMaxWidth:new D(124,154),forecastNameInnerWidth:new D(75,105),forecastNameOuterWidth:new D(90,120),tooltipTopPosition:new D(51,51),tooltipWidth:new D(180,150)},Ce=p.div``,Ns=p.div`
201
+ min-width: ${e=>G.forecastNameInnerWidth.valuePx(e.windowSize)};
202
202
  &:hover {
203
203
  .info-tooltip {
204
204
  display: flex;
@@ -224,24 +224,24 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
224
224
  margin-bottom: ${i.sp1};
225
225
  `,Ds=p.div``,zs=p.div``,As=p(ht)`
226
226
  display: flex;
227
- color: ${M.alert};
228
- `,Fs=p(mt)`
229
- color: ${M.alert};
227
+ color: ${E.alert};
228
+ `,Ms=p(mt)`
229
+ color: ${E.alert};
230
230
  width: ${i.sp4};
231
231
  height: ${i.sp4};
232
232
  margin-right: ${i.sp1};
233
- `,Ms=p.span`
233
+ `,Es=p.span`
234
234
  overflow: hidden;
235
235
  white-space: nowrap;
236
236
  text-overflow: ellipsis;
237
- max-width: ${e=>U.forecastNameOuterWidth.valuePx(e.windowSize)};
237
+ max-width: ${e=>G.forecastNameOuterWidth.valuePx(e.windowSize)};
238
238
  text-align: right;
239
- `,Es=p.div`
239
+ `,Fs=p.div`
240
240
  display: flex;
241
241
  flex-direction: row;
242
242
  align-items: center;
243
243
  justify-content: end;
244
- `,Vs=p.div`
244
+ `,Ws=p.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{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
251
251
  align-self: center;
252
252
  margin-left: ${i.sp2};
253
253
  margin-right: ${i.sp2};
254
- `,Ws=p.div``,Hs=p.div`
254
+ `,Vs=p.div``,Hs=p.div`
255
255
  display: none;
256
256
  background-color: ${e=>e.theme.colors.primary};
257
257
  position: absolute;
@@ -259,22 +259,22 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
259
259
  border: 1px solid ${e=>e.theme.colors.primary};
260
260
  border-radius: ${i.sp1};
261
261
  z-index: 1;
262
- width: ${e=>U.tooltipWidth.valuePx(e.windowSize)};
263
- top: ${e=>U.tooltipTopPosition.valuePx(e.windowSize)};
262
+ width: ${e=>G.tooltipWidth.valuePx(e.windowSize)};
263
+ top: ${e=>G.tooltipTopPosition.valuePx(e.windowSize)};
264
264
  `,Ys=p(rt)`
265
265
  color: ${e=>e.theme.colors.grey5};
266
- `;function Gs({selectedForecastIndex:e,forecasts:s,isDisabled:r,isForecastValid:l,onForecastSelectionChanged:t}){const o=I(),{dateFormat:{visual:u}}=y.getLocalizedStrings(),d=n=>`${n.startDate.format(u.MMMYYYYFormat)} - ${n.endDate.format(u.MMMYYYYFormat)}`,g=n=>n.map((_,b)=>({label:_.name,value:b,forecastId:_.id,timeframeLabel:d(_.forecastPeriod),isValid:l(_)})),[f,x]=k.useState(g(s));return ee.useEffect(()=>{x(g(s))},[s]),a.jsxs(Ns,{windowSize:o,children:[a.jsx(Ws,{children:a.jsx(Hs,{className:"info-tooltip",windowSize:o,children:a.jsx(Ys,{children:f[e]!=null?f[e].label:""})})}),a.jsx(Us,{selectedForecast:f[e],forecastOptions:f,isDisabled:r,onForecastSelectionChanged:t})]})}const Us=({selectedForecast:e,forecastOptions:s,isDisabled:r,onForecastSelectionChanged:l})=>{const t=Z(),o=I(),[u,d]=k.useState(e),g=t.colors.grey5,f=t.colors.grey5,x=t.colors.grey3;k.useEffect(()=>{d(e)},[e]);const n=p(ct)`
266
+ `;function Gs({selectedForecastIndex:e,forecasts:s,isDisabled:r,isForecastValid:l,onForecastSelectionChanged:t}){const o=I(),{dateFormat:{visual:u}}=y.getLocalizedStrings(),d=n=>`${n.startDate.format(u.MMMYYYYFormat)} - ${n.endDate.format(u.MMMYYYYFormat)}`,g=n=>n.map((_,b)=>({label:_.name,value:b,forecastId:_.id,timeframeLabel:d(_.forecastPeriod),isValid:l(_)})),[f,x]=k.useState(g(s));return K.useEffect(()=>{x(g(s))},[s]),a.jsxs(Ns,{windowSize:o,children:[a.jsx(Vs,{children:a.jsx(Hs,{className:"info-tooltip",windowSize:o,children:a.jsx(Ys,{children:f[e]!=null?f[e].label:""})})}),a.jsx(Us,{selectedForecast:f[e],forecastOptions:f,isDisabled:r,onForecastSelectionChanged:t})]})}const Us=({selectedForecast:e,forecastOptions:s,isDisabled:r,onForecastSelectionChanged:l})=>{const t=U(),o=I(),[u,d]=k.useState(e),g=t.colors.grey5,f=t.colors.grey5,x=t.colors.grey3;k.useEffect(()=>{d(e)},[e]);const n=p(ct)`
267
267
  height: ${i.sp3};
268
268
  width: ${i.sp3};
269
269
  `,_=p(lt)`
270
270
  height: 12px;
271
271
  width: 12px;
272
272
  margin-left: 6px;
273
- `,b={control:(c,h)=>({...c,border:0,backgroundColor:f,color:h.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,boxShadow:f,":active":{backgroundColor:f},":hover":{color:t.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:c=>({...c,backgroundColor:f,maxWidth:U.containerMaxWidth.valuePx(o),minWidth:U.containerMaxWidth.valuePx(o)}),singleValue:(c,h)=>({...c,color:h.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:c=>({...c,backgroundColor:g,borderRadius:L[1],boxShadow:`${i.sp0} 2px ${i.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:c=>({...c,borderRadius:L[1],maxWidth:"350px"}),option:(c,{isDisabled:h,isSelected:m,isFocused:v})=>({...c,color:m?t.colors.champion:t.colors.hero,backgroundColor:m===!0?x:v===!0&&h!==!0?t.colors.background:g,cursor:h===!0?"not-allowed":"pointer",padding:`11px ${i.sp3}`,":hover":{backgroundColor:h===!1?m===!0?x:t.colors.background:g,color:t.colors.primary},borderBottom:"1px solid "+t.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return a.jsx(dt,{options:s,components:{SingleValue:({children:c,...h})=>a.jsx(oe.SingleValue,{...h,children:a.jsxs(Es,{children:[a.jsx(Ms,{windowSize:o,children:c}),a.jsx(_,{})]})}),DropdownIndicator:c=>a.jsx(oe.DropdownIndicator,{...c,children:a.jsx(Ce,{})}),Option:c=>a.jsx(Ce,{children:a.jsx(oe.Option,{...c,children:a.jsxs(Is,{children:[a.jsxs(Rs,{isValid:c.data.isValid,children:[c.label,c.isSelected?a.jsx(n,{}):null]}),a.jsxs(Ts,{isValid:c.data.isValid,children:[a.jsx(Ds,{children:c.data.timeframeLabel}),a.jsx(Vs,{isValid:c.data.isValid}),a.jsx(zs,{children:y.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),c.data.isValid===!1?a.jsxs(As,{children:[a.jsx(Fs,{}),y.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})})},styles:b,defaultValue:u,onChange:c=>{const h=c;d(h),l(h.forecastId,h.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:c=>c.isValid===!1,theme:c=>({...c,colors:{...c.colors,primary:g}}),isDisabled:r})},ke={timeframePaddingLeft:new D(0,0,245),timeframePaddingBottom:new D(8,8,0)},Zs=p.div`
273
+ `,b={control:(c,h)=>({...c,border:0,backgroundColor:f,color:h.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.hero,boxShadow:f,":active":{backgroundColor:f},":hover":{color:t.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:c=>({...c,backgroundColor:f,maxWidth:G.containerMaxWidth.valuePx(o),minWidth:G.containerMaxWidth.valuePx(o)}),singleValue:(c,h)=>({...c,color:h.selectProps.menuIsOpen===!0?t.colors.primary:t.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:t.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:c=>({...c,backgroundColor:g,borderRadius:L[1],boxShadow:`${i.sp0} 2px ${i.sp2} ${t.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:c=>({...c,borderRadius:L[1],maxWidth:"350px"}),option:(c,{isDisabled:h,isSelected:m,isFocused:v})=>({...c,color:m?t.colors.champion:t.colors.hero,backgroundColor:m===!0?x:v===!0&&h!==!0?t.colors.background:g,cursor:h===!0?"not-allowed":"pointer",padding:`11px ${i.sp3}`,":hover":{backgroundColor:h===!1?m===!0?x:t.colors.background:g,color:t.colors.primary},borderBottom:"1px solid "+t.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return a.jsx(dt,{options:s,components:{SingleValue:({children:c,...h})=>a.jsx(oe.SingleValue,{...h,children:a.jsxs(Fs,{children:[a.jsx(Es,{windowSize:o,children:c}),a.jsx(_,{})]})}),DropdownIndicator:c=>a.jsx(oe.DropdownIndicator,{...c,children:a.jsx(Ce,{})}),Option:c=>a.jsx(Ce,{children:a.jsx(oe.Option,{...c,children:a.jsxs(Is,{children:[a.jsxs(Rs,{isValid:c.data.isValid,children:[c.label,c.isSelected?a.jsx(n,{}):null]}),a.jsxs(Ts,{isValid:c.data.isValid,children:[a.jsx(Ds,{children:c.data.timeframeLabel}),a.jsx(Ws,{isValid:c.data.isValid}),a.jsx(zs,{children:y.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),c.data.isValid===!1?a.jsxs(As,{children:[a.jsx(Ms,{}),y.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})})},styles:b,defaultValue:u,onChange:c=>{const h=c;d(h),l(h.forecastId,h.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:c=>c.isValid===!1,theme:c=>({...c,colors:{...c.colors,primary:g}}),isDisabled:r})},ke={timeframePaddingLeft:new D(0,0,245),timeframePaddingBottom:new D(8,8,0)},Zs=p.div`
274
274
  display: flex;
275
275
  width: 100%;
276
276
  flex-direction: column;
277
- `,Js=p.div`
277
+ `,qs=p.div`
278
278
  display: flex;
279
279
  width: 100%;
280
280
  flex-direction: row;
@@ -285,20 +285,20 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
285
285
  justify-content: center;
286
286
  padding-left: ${e=>ke.timeframePaddingLeft.valuePx(e.windowSize)};
287
287
  padding-bottom: ${e=>ke.timeframePaddingBottom.valuePx(e.windowSize)};
288
- `,Xs=p.div`
288
+ `,Js=p.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
- `,qs=p.div`
294
+ `,Qs=p.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
- `,Ks=p.div`
301
+ `,Xs=p.div`
302
302
  display: flex;
303
303
  flex-direction: row;
304
304
  align-items: center;
@@ -306,10 +306,10 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
306
306
  `,Ge=p(ae)`
307
307
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
308
308
  opacity: ${e=>e.isDisabled?.5:1};
309
- `,Ue=({label:e,isOn:s,isToggleDisabled:r,onValueChanged:l})=>a.jsxs(a.Fragment,{children:[a.jsx(Ge,{isOn:s,isDisabled:r===!0,children:e}),a.jsx(He,{checked:s,edge:"end",disabled:r===!0,disableRipple:r===!0,onChange:t=>{l(t.target.checked)}})]});function Ze({isOn:e,isDisabled:s,selectedForecastIndex:r,forecasts:l,isForecastValid:t,onForecastToggleChanged:o,onForecastSelectionChanged:u}){return a.jsxs(Ks,{children:[e===!0&&l!=null&&l.length!==0?a.jsx(Gs,{selectedForecastIndex:r??0,forecasts:l,isForecastValid:t,onForecastSelectionChanged:u,isDisabled:!1}):a.jsx(Ge,{isOn:e,isDisabled:s===!0,children:y.getLocalizedStrings().reports.forecast.forecast}),a.jsx(He,{checked:e,edge:"end",disabled:s===!0,disableRipple:s===!0,onChange:d=>{o(d.target.checked)}})]})}const Qs=e=>{const s=I();return a.jsxs(Zs,{children:[a.jsx(Ye,{windowSize:s,children:a.jsx(Te,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),a.jsxs(Xs,{children:[e.forecastListWithToggle!=null&&a.jsx(Ze,{...e.forecastListWithToggle}),a.jsx(Ue,{...e.compareToggle,label:y.getLocalizedStrings().compareSwitchLabel})]})]})},ea=e=>{const s=I();return a.jsxs(Js,{children:[a.jsx(Ye,{windowSize:s,children:a.jsx(Te,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),a.jsxs(qs,{children:[e.forecastListWithToggle!=null&&a.jsx(Ze,{...e.forecastListWithToggle}),a.jsx(Ue,{...e.compareToggle,label:y.getLocalizedStrings().compareSwitchLabel})]})]})};function ta(e){const s=I();return s==="small"||s==="medium-compact"?a.jsx(Qs,{...e}):a.jsx(ea,{...e})}const sa=p.div`
309
+ `,Ue=({label:e,isOn:s,isToggleDisabled:r,onValueChanged:l})=>a.jsxs(a.Fragment,{children:[a.jsx(Ge,{isOn:s,isDisabled:r===!0,children:e}),a.jsx(He,{checked:s,edge:"end",disabled:r===!0,disableRipple:r===!0,onChange:t=>{l(t.target.checked)}})]});function Ze({isOn:e,isDisabled:s,selectedForecastIndex:r,forecasts:l,isForecastValid:t,onForecastToggleChanged:o,onForecastSelectionChanged:u}){return a.jsxs(Xs,{children:[e===!0&&l!=null&&l.length!==0?a.jsx(Gs,{selectedForecastIndex:r??0,forecasts:l,isForecastValid:t,onForecastSelectionChanged:u,isDisabled:!1}):a.jsx(Ge,{isOn:e,isDisabled:s===!0,children:y.getLocalizedStrings().reports.forecast.forecast}),a.jsx(He,{checked:e,edge:"end",disabled:s===!0,disableRipple:s===!0,onChange:d=>{o(d.target.checked)}})]})}const Ks=e=>{const s=I();return a.jsxs(Zs,{children:[a.jsx(Ye,{windowSize:s,children:a.jsx(Te,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),a.jsxs(Js,{children:[e.forecastListWithToggle!=null&&a.jsx(Ze,{...e.forecastListWithToggle}),a.jsx(Ue,{...e.compareToggle,label:y.getLocalizedStrings().compareSwitchLabel})]})]})},ea=e=>{const s=I();return a.jsxs(qs,{children:[a.jsx(Ye,{windowSize:s,children:a.jsx(Te,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),a.jsxs(Qs,{children:[e.forecastListWithToggle!=null&&a.jsx(Ze,{...e.forecastListWithToggle}),a.jsx(Ue,{...e.compareToggle,label:y.getLocalizedStrings().compareSwitchLabel})]})]})};function ta(e){const s=I();return s==="small"||s==="medium-compact"?a.jsx(Ks,{...e}):a.jsx(ea,{...e})}const sa=p.div`
310
310
  display: flex;
311
311
  padding: ${i.sp2} ${i.sp0} ${i.sp4} ${i.sp0};
312
- `,aa=p.div``,oa=p.div``,$e=(e,s,r,l,t,o)=>{s===!0&&o?.trackCompareFilterTimeFrame(F(r),G(l),"range filter",se(e,l,t)),o?.trackDateRangeFilterChange(F(r),"range filter",s,se(e,l,t))};function ue({account:e,sectionType:s,numOfBalances:r,title:l,isLastNode:t,config:o,parentNodeIDs:u}){return{children:[],id:W("ac_report",u,e.accountId),isLastNode:t,reportElementData:{element:{kind:"ac_report",title:l,sectionType:s,data:e,numOfBalances:r},config:o}}}function Oe({section:e,sectionType:s,numOfBalances:r,title:l,isLastNode:t,config:o}){const u=W("section",[],l),d={children:[],id:u,isLastNode:t,reportElementData:{element:{kind:"section",title:l,sectionType:s,data:e,numOfBalances:r},config:o}},g=function(_){let b=!1;if(_!=null){for(const c of _)if(c!=null&&c.balance.amount!==0){b=!0;break}}return b}(At(e,o.displayOrder,r,!1).balances),f=me(s,"no_filter",o.filterAccountsWithNilBalances,o.filterAccountGroupsWithNilBalances),x=f.compactedAccountsSelectorVariant(e.accountsOrdered),n=f.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(g===!0&&(n.length>0||e.accountsOrdered.length>0)){const _=n.map((c,h)=>function({acGroup:m,sectionType:v,numOfBalances:w,title:j,isLastNode:S,config:$,parentNodeIDs:C}){const R=W("ac_group_report",C,m.accountGroupId),P={children:[],id:R,isLastNode:S,reportElementData:{element:{kind:"ac_group_report",title:j,sectionType:v,data:m,numOfBalances:w},config:$}},z=me(v,"no_filter",$.filterAccountsWithNilBalances,$.filterAccountGroupsWithNilBalances).compactedAccountsSelector(m);return P.children=z.map((O,B)=>ue({account:O,sectionType:v,numOfBalances:w,title:O.accountDescription,config:$,isLastNode:B===z.length-1,parentNodeIDs:[...C,R]})),P}({acGroup:c,sectionType:s,numOfBalances:r,title:c.accountGroupName,isLastNode:h===n.length-1,config:o,parentNodeIDs:[u]})),b=x.map((c,h)=>ue({account:c,sectionType:s,numOfBalances:r,title:c.accountDescription,isLastNode:h===e.accountsOrdered.length-1,config:o,parentNodeIDs:[u]}));d.children.push(..._),d.children.push(...b)}return d}function V({balances:e,config:s,nodeId:r}){let l="timeframe_headers";return s.mode==="actual_vs_forecast"&&(l="timeframe_headers_with_forecast"),{children:[],id:r??W("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:l,title:"",data:e,numOfBalances:e.length},config:s}}}function he({title:e,balances:s,config:r,numOfBalances:l,nodeId:t}){return{children:[],id:t??W("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:s,numOfBalances:l},config:r}}}const na=e=>{switch(e.reportId){case"net_burn_or_income":{const s=e;return s.sections.income.balances.length>0?[...s.sections.income.balances,...s.sections.income.additionalBalances]:s.sections.expenses.balances.length>0?[...s.sections.expenses.balances,...s.sections.expenses.additionalBalances]:s.sections.cogs.balances.length>0?[...s.sections.cogs.balances,...s.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const s=e;return s.sections.income.balances.length>0?[...s.sections.income.balances,...s.sections.income.additionalBalances]:s.sections.expenses.balances.length>0?[...s.sections.expenses.balances,...s.sections.expenses.additionalBalances]:s.sections.cogs.balances.length>0?[...s.sections.cogs.balances,...s.sections.cogs.additionalBalances]:[]}case"revenue":{const s=e;return s.sections.income.balances.length>0?[...s.sections.income.balances,...s.sections.income.additionalBalances]:s.sections.cogs.balances.length>0?[...s.sections.cogs.balances,...s.sections.cogs.additionalBalances]:s.calculatedSections.grossMargin.balances.length>0?[...s.calculatedSections.grossMargin.balances,...s.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const s=e;return s.sections.income.balances.length>0?[...s.sections.income.balances,...s.sections.income.additionalBalances]:s.sections.cogs.balances.length>0?[...s.sections.cogs.balances,...s.sections.cogs.additionalBalances]:s.calculatedSections.grossMargin.balances.length>0?[...s.calculatedSections.grossMargin.balances,...s.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const s=e;return[...s.cashPosition.balances,...s.cashPosition.additionalBalances]}case"cash_in_cash_out":{const s=e;return s.cashIn.balances.length>0?[...s.cashIn.balances,...s.cashIn.additionalBalances]:[...s.cashOut.balances,...s.cashOut.additionalBalances]}case"operating_expenses":{const s=e;return[...s.sections.expenses.balances,...s.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const s=e;return[...s.sections.expenses.balances,...s.sections.expenses.additionalBalances]}default:return[]}},Be={contentPaddingLeft:new D(L[0],L[0],L[0]),contentPaddingRight:new D(L[3],L[3],L[8])},ia=p.div`
312
+ `,aa=p.div``,oa=p.div``,$e=(e,s,r,l,t,o)=>{s===!0&&o?.trackCompareFilterTimeFrame(M(r),Y(l),"range filter",se(e,l,t)),o?.trackDateRangeFilterChange(M(r),"range filter",s,se(e,l,t))};function ue({account:e,sectionType:s,numOfBalances:r,title:l,isLastNode:t,config:o,parentNodeIDs:u}){return{children:[],id:V("ac_report",u,e.accountId),isLastNode:t,reportElementData:{element:{kind:"ac_report",title:l,sectionType:s,data:e,numOfBalances:r},config:o}}}function Oe({section:e,sectionType:s,numOfBalances:r,title:l,isLastNode:t,config:o}){const u=V("section",[],l),d={children:[],id:u,isLastNode:t,reportElementData:{element:{kind:"section",title:l,sectionType:s,data:e,numOfBalances:r},config:o}},g=function(_){let b=!1;if(_!=null){for(const c of _)if(c!=null&&c.balance.amount!==0){b=!0;break}}return b}(At(e,o.displayOrder,r,!1).balances),f=me(s,"no_filter",o.filterAccountsWithNilBalances,o.filterAccountGroupsWithNilBalances),x=f.compactedAccountsSelectorVariant(e.accountsOrdered),n=f.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(g===!0&&(n.length>0||e.accountsOrdered.length>0)){const _=n.map((c,h)=>function({acGroup:m,sectionType:v,numOfBalances:w,title:j,isLastNode:S,config:$,parentNodeIDs:C}){const R=V("ac_group_report",C,m.accountGroupId),P={children:[],id:R,isLastNode:S,reportElementData:{element:{kind:"ac_group_report",title:j,sectionType:v,data:m,numOfBalances:w},config:$}},z=me(v,"no_filter",$.filterAccountsWithNilBalances,$.filterAccountGroupsWithNilBalances).compactedAccountsSelector(m);return P.children=z.map((O,B)=>ue({account:O,sectionType:v,numOfBalances:w,title:O.accountDescription,config:$,isLastNode:B===z.length-1,parentNodeIDs:[...C,R]})),P}({acGroup:c,sectionType:s,numOfBalances:r,title:c.accountGroupName,isLastNode:h===n.length-1,config:o,parentNodeIDs:[u]})),b=x.map((c,h)=>ue({account:c,sectionType:s,numOfBalances:r,title:c.accountDescription,isLastNode:h===e.accountsOrdered.length-1,config:o,parentNodeIDs:[u]}));d.children.push(..._),d.children.push(...b)}return d}function W({balances:e,config:s,nodeId:r}){let l="timeframe_headers";return s.mode==="actual_vs_forecast"&&(l="timeframe_headers_with_forecast"),{children:[],id:r??V("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:l,title:"",data:e,numOfBalances:e.length},config:s}}}function he({title:e,balances:s,config:r,numOfBalances:l,nodeId:t}){return{children:[],id:t??V("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:s,numOfBalances:l},config:r}}}const na=e=>{switch(e.reportId){case"net_burn_or_income":{const s=e;return s.sections.income.balances.length>0?[...s.sections.income.balances,...s.sections.income.additionalBalances]:s.sections.expenses.balances.length>0?[...s.sections.expenses.balances,...s.sections.expenses.additionalBalances]:s.sections.cogs.balances.length>0?[...s.sections.cogs.balances,...s.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const s=e;return s.sections.income.balances.length>0?[...s.sections.income.balances,...s.sections.income.additionalBalances]:s.sections.expenses.balances.length>0?[...s.sections.expenses.balances,...s.sections.expenses.additionalBalances]:s.sections.cogs.balances.length>0?[...s.sections.cogs.balances,...s.sections.cogs.additionalBalances]:[]}case"revenue":{const s=e;return s.sections.income.balances.length>0?[...s.sections.income.balances,...s.sections.income.additionalBalances]:s.sections.cogs.balances.length>0?[...s.sections.cogs.balances,...s.sections.cogs.additionalBalances]:s.calculatedSections.grossMargin.balances.length>0?[...s.calculatedSections.grossMargin.balances,...s.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const s=e;return s.sections.income.balances.length>0?[...s.sections.income.balances,...s.sections.income.additionalBalances]:s.sections.cogs.balances.length>0?[...s.sections.cogs.balances,...s.sections.cogs.additionalBalances]:s.calculatedSections.grossMargin.balances.length>0?[...s.calculatedSections.grossMargin.balances,...s.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const s=e;return[...s.cashPosition.balances,...s.cashPosition.additionalBalances]}case"cash_in_cash_out":{const s=e;return s.cashIn.balances.length>0?[...s.cashIn.balances,...s.cashIn.additionalBalances]:[...s.cashOut.balances,...s.cashOut.additionalBalances]}case"operating_expenses":{const s=e;return[...s.sections.expenses.balances,...s.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const s=e;return[...s.sections.expenses.balances,...s.sections.expenses.additionalBalances]}default:return[]}},Be={contentPaddingLeft:new D(L[0],L[0],L[0]),contentPaddingRight:new D(L[3],L[3],L[8])},ia=p.div`
313
313
  width: 100%;
314
314
  height: calc(100vh - 70px);
315
315
  `,ra=p.div`
@@ -317,13 +317,13 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
317
317
  position: sticky;
318
318
  justify-content: center;
319
319
  padding-top: ${i.sp6};
320
- padding-left: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
320
+ padding-left: ${e=>X.wrapperPadding.valuePx(e.windowSize)};
321
321
  background-color: ${e=>e.theme.colors.grey4};
322
322
  `,ca=p.div`
323
323
  position: absolute;
324
324
  padding-top: ${i.sp3};
325
325
  background-color: ${e=>e.theme.colors.grey4};
326
- `,la=(e,s,r=!0,l=!1)=>{switch(e.reportId){case"net_burn_or_income":return function(t,o,u=!0){const d=y.getLocalizedStrings().reports,g=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,f=V({balances: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]:[],config:o}),x=[];return x.push(f),t.idsInOrder.forEach(n=>{Ct(n)===!0?t.sections[n].accountGroups.length>0?x.push(ve({section:t.sections[n],sectionType:n,numOfBalances:g,title:d.sections[n],isLastNode:!0,config:o})):x.push(je({sectionWithAcOnly:t.sections[n],sectionType:n,numOfBalances:g,title:d.sections[n],isLastNode:!0,config:o})):kt(n)===!0&&x.push(X({calculatedSection:t.calculatedSections[n],numOfBalances:g,title:n==="netBurnOrIncome"?t.reportTitle:d.sections[n],isLastNode:!0,config:o}))}),{config:o,headerNodes:u?[f]:[],contentNodes:x}}(e,s,r);case"net_burn_or_income_by_classes":return function(t,o,u=!0,d=!1){const g=y.getLocalizedStrings().reports,f=y.getLocalizedStrings().common;let x=[];const n=[];let _=[];if(d===!0){const b=ne({title:f.loading,balances:[],config:o});u&&(b.reportElementData.element.numOfBalances=7,_=[b]),n.push(b),[...Array(8)].forEach((c,h)=>{let m=ie[h%4];const v=re({title:`${h}+${m}`,balances:x,config:o});v.reportElementData.element.numOfBalances=7,n.push(v)})}else{const b=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,c=V({balances: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]:[],config:o});n.push(c),u&&(_=[c]),t.idsInOrder.forEach(h=>{if(vt(h)===!0){const m=t.sections[h];m!=null&&n.push(Se({section:m,sectionType:h,numOfBalances:b,title:g.sections[h],isLastNode:!0,config:o}))}else if(jt(h)===!0){const m=t.calculatedSections[h];m!=null&&n.push(X({calculatedSection:m,numOfBalances:b,title:h==="netBurnOrIncome"?t.reportTitle:g.sections[h],isLastNode:!0,config:o}))}})}return{config:o,headerNodes:_,contentNodes:n}}(e,s,r,l);case"revenue":return function(t,o,u=!0){const d=y.getLocalizedStrings().reports,g=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,f=V({balances: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]:[],config:o}),x=[];return x.push(f),t.idsInOrder.forEach(n=>{yt(n)===!0?t.sections[n].accountGroups.length>0?x.push(ve({section:t.sections[n],sectionType:n,numOfBalances:g,title:d.sections[n],isLastNode:!0,config:o})):x.push(je({sectionWithAcOnly:t.sections[n],sectionType:n,numOfBalances:g,title:d.sections[n],isLastNode:!0,config:o})):St(n)===!0&&x.push(X({calculatedSection:t.calculatedSections[n],numOfBalances:g,title:d.sections[n],isLastNode:!0,config:o}))}),{config:o,headerNodes:u?[f]:[],contentNodes:x}}(e,s,r);case"revenue_by_classes":return function(t,o,u=!0,d=!1){const g=y.getLocalizedStrings().reports,f=y.getLocalizedStrings().common;let x=[];const n=[];let _=[];if(d===!0){const b=ne({title:f.loading,balances:[],config:o});b.reportElementData.element.numOfBalances=7,u&&(_=[b]),n.push(b),[...Array(8)].forEach((c,h)=>{let m=ie[h%4];const v=re({title:`${h}+${m}`,balances:x,config:o});v.reportElementData.element.numOfBalances=7,n.push(v)})}else{const b=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,c=V({balances: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]:[],config:o});n.push(c),u&&(_=[c]),t.idsInOrder.forEach(h=>{if(_t(h)===!0){const m=t.sections[h];m!=null&&n.push(Se({section:m,sectionType:h,numOfBalances:b,title:g.sections[h],isLastNode:!0,config:o}))}else if(wt(h)===!0){const m=t.calculatedSections[h];m!=null&&n.push(X({calculatedSection:m,numOfBalances:b,title:g.sections.grossMargin,isLastNode:!0,config:o}))}})}return{config:o,headerNodes:_,contentNodes:n}}(e,s,r,l);case"cash_position":return function(t,o,u=!0){const d=y.getLocalizedStrings().reports,g=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,f=[...t.cashPosition.balances,...t.cashPosition.additionalBalances],x=t.cashPosition,n=V({balances:f,config:o}),_=he({title:y.getLocalizedStrings().chartCard.total,balances:x,config:o,numOfBalances:g}),b=W("section",[],d.sections.netCashFlow),c=me("cash_position","no_filter",o.filterAccountsWithNilBalances,o.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.cashPosition.accountsOrdered).map((h,m)=>ue({account:h,sectionType:"cash_position",numOfBalances:g,title:h.accountDescription,isLastNode:m===t.cashPosition.accountsOrdered.length-1,config:o,parentNodeIDs:[b]}));return{config:o,headerNodes:u?[n]:[],contentNodes:[n,_,...c]}}(e,s,r);case"cash_in_cash_out":return function(t,o,u=!0){const d=y.getLocalizedStrings().reports,g=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,f=V({balances:t.cashIn.balances?[...t.cashIn.balances,...t.cashIn.additionalBalances]:t.cashOut.balances?[...t.cashOut.balances,...t.cashOut.additionalBalances]:[],config:o});return{config:o,headerNodes:u?[f]:[],contentNodes:[f,Oe({section:t.cashIn,sectionType:"cash_in",numOfBalances:g,title:d.sections.cashIn,isLastNode:!0,config:o}),Oe({section:t.cashOut,sectionType:"cash_out",numOfBalances:g,title:d.sections.cashOut,isLastNode:!0,config:o}),X({calculatedSection:t.netCashFlow,numOfBalances:g,title:d.sections.netCashFlow,isLastNode:!0,config:o})]}}(e,s,r);case"operating_expenses":return function(t,o,u=!0){const d=y.getLocalizedStrings().reports,g=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,f=V({balances:[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances],config:o}),x=t.sections.expenses,n=he({title:y.getLocalizedStrings().chartCard.total,balances:x,config:o,numOfBalances:g}),_=W("section",[],d.sections.expenses),b=zt("no_filter",o.filterAccountsWithNilBalances,o.filterAccountGroupsWithNilBalances),c=[];c.push(f),c.push(n);const h=b.compactedAccountGroupsSelector(t.sections.expenses.accountGroups);if(h.length!=0){const m=h.map((v,w)=>Mt({acGroup:v,sectionType:"expenses",numOfBalances:g,title:v.accountGroupName,isLastNode:w===h.length-1,config:o,parentNodeIDs:[_]}));c.push(...m)}else if(t.sections.expenses.accounts?.length!==0){const m=b.compactedAccountsSelectorVariant(t.sections.expenses.accounts),v=m.map((w,j)=>Et({account:w,sectionType:"expenses",numOfBalances:g,title:w.account.accountName,isLastNode:j===m.length-1,config:o,parentNodeIDs:[_],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:m.length>1,hasChildren:w.children.length>0,isLastNode:j===m.length-1}]}}));c.push(...v)}return{config:o,headerNodes:u?[f]:[],contentNodes:c}}(e,s,r);case"operating_expenses_by_classes":return function(t,o,u=!0,d=!1){const g=y.getLocalizedStrings().reports,f=y.getLocalizedStrings().common;let x=[];const n=[];let _=[];if(d===!0){const b=ne({title:f.loading,balances:[],config:o});b.reportElementData.element.numOfBalances=10,u&&(_=[b]),n.push(b),[...Array(8)].forEach((c,h)=>{let m=ie[h%4];const v=re({title:`${h}+${m}`,balances:x,config:o});v.reportElementData.element.numOfBalances=10,n.push(v)})}else{const b=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,c=V({balances:[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances],config:o}),h=t.sections.expenses,m=he({title:y.getLocalizedStrings().chartCard.total,balances:h,config:o,numOfBalances:b});n.push(c),n.push(m),u&&(_=[c]);const v=W("section",[],g.sections.expenses);t.sections.expenses.classes.forEach((w,j)=>{n.push(Ft({classNode:w,sectionType:"expenses",numOfBalances:b,title:w.class.className,isLastNode:w.isLeafClass,config:o,parentNodeIDs:[v],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:j===t.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:o,headerNodes:_,contentNodes:n}}(e,s,r,l);default:return}},da=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",q={chartWidth:"100%",barCount:8,barWidth:new D(L[6],L[8],L[10]),maxBarHeight:1},pa=({customStyle:e,chartDefaultHeight:s,chartDefaultWidth:r=q.chartWidth,barCount:l=q.barCount,barHeights:t=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:o})=>{const u=Z(),d=I(),g=s??Q.chartHeight.value(d),f=g-L[5],x=[...Array(l)].map((n,_)=>({height:(t?.[_]||q.maxBarHeight)*g,width:q.barWidth}));return a.jsx(ga,{style:{...e,width:r,height:g,backgroundColor:o},children:a.jsx(ha,{children:x.map((n,_)=>a.jsx(ma,{children:a.jsx(tt,{speed:2,width:q.barWidth.value(d),height:f,viewBox:`0 0 100 ${f}`,preserveAspectRatio:"none",animate:!0,backgroundColor:u.colors.grey3,foregroundColor:u.colors.grey4,children:a.jsx("rect",{x:"0",y:f-n.height-20,width:"100%",height:n.height,rx:"4",ry:"4"})})},`bar-loader-${_}-${n.height}`))})})},ga=p.div`
326
+ `,la=(e,s,r=!0,l=!1)=>{switch(e.reportId){case"net_burn_or_income":return function(t,o,u=!0){const d=y.getLocalizedStrings().reports,g=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,f=W({balances: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]:[],config:o}),x=[];return x.push(f),t.idsInOrder.forEach(n=>{Ct(n)===!0?t.sections[n].accountGroups.length>0?x.push(ve({section:t.sections[n],sectionType:n,numOfBalances:g,title:d.sections[n],isLastNode:!0,config:o})):x.push(je({sectionWithAcOnly:t.sections[n],sectionType:n,numOfBalances:g,title:d.sections[n],isLastNode:!0,config:o})):kt(n)===!0&&x.push(q({calculatedSection:t.calculatedSections[n],numOfBalances:g,title:n==="netBurnOrIncome"?t.reportTitle:d.sections[n],isLastNode:!0,config:o}))}),{config:o,headerNodes:u?[f]:[],contentNodes:x}}(e,s,r);case"net_burn_or_income_by_classes":return function(t,o,u=!0,d=!1){const g=y.getLocalizedStrings().reports,f=y.getLocalizedStrings().common;let x=[];const n=[];let _=[];if(d===!0){const b=ne({title:f.loading,balances:[],config:o});u&&(b.reportElementData.element.numOfBalances=7,_=[b]),n.push(b),[...Array(8)].forEach((c,h)=>{let m=ie[h%4];const v=re({title:`${h}+${m}`,balances:x,config:o});v.reportElementData.element.numOfBalances=7,n.push(v)})}else{const b=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,c=W({balances: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]:[],config:o});n.push(c),u&&(_=[c]),t.idsInOrder.forEach(h=>{if(vt(h)===!0){const m=t.sections[h];m!=null&&n.push(Se({section:m,sectionType:h,numOfBalances:b,title:g.sections[h],isLastNode:!0,config:o}))}else if(jt(h)===!0){const m=t.calculatedSections[h];m!=null&&n.push(q({calculatedSection:m,numOfBalances:b,title:h==="netBurnOrIncome"?t.reportTitle:g.sections[h],isLastNode:!0,config:o}))}})}return{config:o,headerNodes:_,contentNodes:n}}(e,s,r,l);case"revenue":return function(t,o,u=!0){const d=y.getLocalizedStrings().reports,g=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,f=W({balances: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]:[],config:o}),x=[];return x.push(f),t.idsInOrder.forEach(n=>{yt(n)===!0?t.sections[n].accountGroups.length>0?x.push(ve({section:t.sections[n],sectionType:n,numOfBalances:g,title:d.sections[n],isLastNode:!0,config:o})):x.push(je({sectionWithAcOnly:t.sections[n],sectionType:n,numOfBalances:g,title:d.sections[n],isLastNode:!0,config:o})):St(n)===!0&&x.push(q({calculatedSection:t.calculatedSections[n],numOfBalances:g,title:d.sections[n],isLastNode:!0,config:o}))}),{config:o,headerNodes:u?[f]:[],contentNodes:x}}(e,s,r);case"revenue_by_classes":return function(t,o,u=!0,d=!1){const g=y.getLocalizedStrings().reports,f=y.getLocalizedStrings().common;let x=[];const n=[];let _=[];if(d===!0){const b=ne({title:f.loading,balances:[],config:o});b.reportElementData.element.numOfBalances=7,u&&(_=[b]),n.push(b),[...Array(8)].forEach((c,h)=>{let m=ie[h%4];const v=re({title:`${h}+${m}`,balances:x,config:o});v.reportElementData.element.numOfBalances=7,n.push(v)})}else{const b=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,c=W({balances: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]:[],config:o});n.push(c),u&&(_=[c]),t.idsInOrder.forEach(h=>{if(_t(h)===!0){const m=t.sections[h];m!=null&&n.push(Se({section:m,sectionType:h,numOfBalances:b,title:g.sections[h],isLastNode:!0,config:o}))}else if(wt(h)===!0){const m=t.calculatedSections[h];m!=null&&n.push(q({calculatedSection:m,numOfBalances:b,title:g.sections.grossMargin,isLastNode:!0,config:o}))}})}return{config:o,headerNodes:_,contentNodes:n}}(e,s,r,l);case"cash_position":return function(t,o,u=!0){const d=y.getLocalizedStrings().reports,g=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,f=[...t.cashPosition.balances,...t.cashPosition.additionalBalances],x=t.cashPosition,n=W({balances:f,config:o}),_=he({title:y.getLocalizedStrings().chartCard.total,balances:x,config:o,numOfBalances:g}),b=V("section",[],d.sections.netCashFlow),c=me("cash_position","no_filter",o.filterAccountsWithNilBalances,o.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(t.cashPosition.accountsOrdered).map((h,m)=>ue({account:h,sectionType:"cash_position",numOfBalances:g,title:h.accountDescription,isLastNode:m===t.cashPosition.accountsOrdered.length-1,config:o,parentNodeIDs:[b]}));return{config:o,headerNodes:u?[n]:[],contentNodes:[n,_,...c]}}(e,s,r);case"cash_in_cash_out":return function(t,o,u=!0){const d=y.getLocalizedStrings().reports,g=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,f=W({balances:t.cashIn.balances?[...t.cashIn.balances,...t.cashIn.additionalBalances]:t.cashOut.balances?[...t.cashOut.balances,...t.cashOut.additionalBalances]:[],config:o});return{config:o,headerNodes:u?[f]:[],contentNodes:[f,Oe({section:t.cashIn,sectionType:"cash_in",numOfBalances:g,title:d.sections.cashIn,isLastNode:!0,config:o}),Oe({section:t.cashOut,sectionType:"cash_out",numOfBalances:g,title:d.sections.cashOut,isLastNode:!0,config:o}),q({calculatedSection:t.netCashFlow,numOfBalances:g,title:d.sections.netCashFlow,isLastNode:!0,config:o})]}}(e,s,r);case"operating_expenses":return function(t,o,u=!0){const d=y.getLocalizedStrings().reports,g=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,f=W({balances:[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances],config:o}),x=t.sections.expenses,n=he({title:y.getLocalizedStrings().chartCard.total,balances:x,config:o,numOfBalances:g}),_=V("section",[],d.sections.expenses),b=zt("no_filter",o.filterAccountsWithNilBalances,o.filterAccountGroupsWithNilBalances),c=[];c.push(f),c.push(n);const h=b.compactedAccountGroupsSelector(t.sections.expenses.accountGroups);if(h.length!=0){const m=h.map((v,w)=>Et({acGroup:v,sectionType:"expenses",numOfBalances:g,title:v.accountGroupName,isLastNode:w===h.length-1,config:o,parentNodeIDs:[_]}));c.push(...m)}else if(t.sections.expenses.accounts?.length!==0){const m=b.compactedAccountsSelectorVariant(t.sections.expenses.accounts),v=m.map((w,j)=>Ft({account:w,sectionType:"expenses",numOfBalances:g,title:w.account.accountName,isLastNode:j===m.length-1,config:o,parentNodeIDs:[_],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:m.length>1,hasChildren:w.children.length>0,isLastNode:j===m.length-1}]}}));c.push(...v)}return{config:o,headerNodes:u?[f]:[],contentNodes:c}}(e,s,r);case"operating_expenses_by_classes":return function(t,o,u=!0,d=!1){const g=y.getLocalizedStrings().reports,f=y.getLocalizedStrings().common;let x=[];const n=[];let _=[];if(d===!0){const b=ne({title:f.loading,balances:[],config:o});b.reportElementData.element.numOfBalances=10,u&&(_=[b]),n.push(b),[...Array(8)].forEach((c,h)=>{let m=ie[h%4];const v=re({title:`${h}+${m}`,balances:x,config:o});v.reportElementData.element.numOfBalances=10,n.push(v)})}else{const b=o.mode==="this_period_vs_period_before"?t.filter.balancesRange.numberOfPeriods+2:t.filter.balancesRange.numberOfPeriods+1,c=W({balances:[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances],config:o}),h=t.sections.expenses,m=he({title:y.getLocalizedStrings().chartCard.total,balances:h,config:o,numOfBalances:b});n.push(c),n.push(m),u&&(_=[c]);const v=V("section",[],g.sections.expenses);t.sections.expenses.classes.forEach((w,j)=>{n.push(Mt({classNode:w,sectionType:"expenses",numOfBalances:b,title:w.class.className,isLastNode:w.isLeafClass,config:o,parentNodeIDs:[v],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:j===t.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:o,headerNodes:_,contentNodes:n}}(e,s,r,l);default:return}},da=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",J={chartWidth:"100%",barCount:8,barWidth:new D(L[6],L[8],L[10]),maxBarHeight:1},pa=({customStyle:e,chartDefaultHeight:s,chartDefaultWidth:r=J.chartWidth,barCount:l=J.barCount,barHeights:t=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:o})=>{const u=U(),d=I(),g=s??X.chartHeight.value(d),f=g-L[5],x=[...Array(l)].map((n,_)=>({height:(t?.[_]||J.maxBarHeight)*g,width:J.barWidth}));return a.jsx(ga,{style:{...e,width:r,height:g,backgroundColor:o},children:a.jsx(ha,{children:x.map((n,_)=>a.jsx(ma,{children:a.jsx(tt,{speed:2,width:J.barWidth.value(d),height:f,viewBox:`0 0 100 ${f}`,preserveAspectRatio:"none",animate:!0,backgroundColor:u.colors.grey3,foregroundColor:u.colors.grey4,children:a.jsx("rect",{x:"0",y:f-n.height-20,width:"100%",height:n.height,rx:"4",ry:"4"})})},`bar-loader-${_}-${n.height}`))})})},ga=p.div`
327
327
  width: 100%;
328
328
  height: 100%;
329
329
  border-radius: ${i.sp2};
@@ -354,8 +354,8 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
354
354
  position: relative;
355
355
  box-shadow: ${e=>`2px 0px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
356
356
  background-color: ${e=>e.theme.colors.grey5};
357
- padding-left: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
358
- padding-right: ${e=>Q.wrapperPadding.valuePx(e.windowSize)};
357
+ padding-left: ${e=>X.wrapperPadding.valuePx(e.windowSize)};
358
+ padding-right: ${e=>X.wrapperPadding.valuePx(e.windowSize)};
359
359
  z-index: 1;
360
360
  `,ba=p.div`
361
361
  display: flex;
@@ -368,4 +368,4 @@ import{K as I,y as Z,O as y,_ as Pe,V as a,a_ as qe,L as Ke,J as Qe,a$ as et,o a
368
368
  align-items: center;
369
369
  height: 100vh;
370
370
  margin-top: ${i.sp8};
371
- `,oo=e=>{const s=I(),r=Z(),[l,t]=k.useState(!1),o=y.getLocalizedStrings(),{reportLabels:u,selectedRangeReport:d,selectedClassesViewRangeReport:g,uiState:f,downloadParams:x,analytics:n,onBackClick:_,updateDownloadStateHandler:b,onAdditionalBalanceSelectionChanged:c}=e,{insights:h}=d,{selectedCOABalancesRange:m,timeframe:v,selectedAdditionalBalances:w,downloadState:j}=f,S=d.availableNumberOfPeriods!=null&&d.availableNumberOfPeriods<2,$=f.mode==="compare_mode"&&!S,C=Pe(),R=C.loggedInUserRole!=null&&!ft(C.loggedInUserRole),P=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";k.useEffect(()=>{l&&j!=="In-Progress"&&(t(!1),b("In-Progress"),async function(){await Zt({report:g!==void 0&&g.uiState.accountViewMode==="classes"?g:d,filter:d.filter,coaBalancesRange:m,isCompareModeOn:$,reportView:g!==void 0?g.uiState.accountViewMode:"account_group",classesToFilterOut:g!==void 0?g.uiState.classesToFilterOut:[],...x,reportType:R||P?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),n?.trackDownload(F(d.reportId),G(v),"excel",$),b("Completed")}())},[x,j,d.filter,l,$,m,d,g,v,n,b,R,P,e.isZeniCOAUsed]);const z=d.availableNumberOfPeriods==null||d.availableNumberOfPeriods===0||d.allTimeframeTicks.length===0,O=d.fetchState==="In-Progress"||d.fetchState==="Not-Started",B=bt([e?.reportsResyncFetchState??{fetchState:"Not-Started"},g??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&g?.uiState.accountViewMode==="classes";k.useEffect(()=>{const A=$||f.mode==="forecast_mode"?3:1;c($,w,A)},[s]);const{autoCompleteData:H,autoCompleteActions:J,scrollPosition:T,...N}=e,Y=a.jsx(et,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:z,isDownloading:j==="In-Progress"}],onDownloadClick:async A=>{if(A==="excel"){if(j==="In-Progress")return void console.log("Download is already in progress!");t(!0)}}}}});return a.jsxs(ua,{children:[a.jsx(qe,{title:u.reportTitle,backgroundColor:r.colors.grey5,onBackClick:_,rightSideComponent:Y,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:A=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Qe.Event.search,F(d.reportId),A.type,A.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(A)}}},source:"DashboardReportPage",style:{zIndex:2}}),O?a.jsx(xa,{children:a.jsx(Ke,{size:"Standard",start:!0})}):z?a.jsx(Ut,{style:{background:r.colors.grey5},emptyContentText:o.common.noReport.replace("_item-name_",`${o.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Wt}):a.jsxs(a.Fragment,{children:[a.jsxs(fa,{windowSize:s,children:[a.jsx(Sa,{...N}),a.jsx(_a,{highlightedRangeReport:d,uiState:f}),B?a.jsx(pa,{}):a.jsx(wa,{...N}),a.jsx(ba,{children:a.jsx(Bt,{insights:h})})]}),a.jsx(ya,{scrollPosition:T,isPageFetchInProgress:B,...N})]})]})},_a=ee.memo(({highlightedRangeReport:e,uiState:s})=>{switch(e.reportId){case"net_burn_or_income":return a.jsx(ts,{highlightedRangeReport:e,uiState:s});case"revenue":return a.jsx(rs,{highlightedRangeReport:e,uiState:s});case"operating_expenses":return a.jsx(os,{highlightedRangeReport:e,uiState:s});case"cash_position":return a.jsx(Kt,{highlightedRangeReport:e});case"cash_in_cash_out":return a.jsx(Xt,{highlightedRangeReport:e});default:return null}},K),wa=ee.memo(e=>{const s=I(),{selectedRangeReport:r,selectedClassesViewRangeReport:l,uiState:t,onCOABalancesRangeChanged:o}=e,u=r.availableNumberOfPeriods==null||r.availableNumberOfPeriods===0,{selectedCOABalancesRange:d,selectedAdditionalBalances:g,highlightedCOABalancesRange:f,timeframe:x}=t,n=l!==void 0&&l.uiState.accountViewMode==="classes"?l:r;return u?a.jsx(ls,{children:a.jsx(Tt,{title:y.getLocalizedStrings().chartCard.no_data_available})}):a.jsx(cs,{windowSize:s,children:a.jsx(at,{children:({height:_,width:b})=>{const c={showBarHoverBackground:!0,onCOABalancesRangeChanged:(h,m,v)=>{ds(r.firstMonthOfFY,g,r.reportId,m,h,e.analytics),o(d,v)},highlightedRange:f,isDetailPage:!0,timeframe:x,width:b,height:_};switch(n.reportId){case"net_burn_or_income":return a.jsx(ye,{selectedRangeReport:r,...c,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return a.jsx(ye,{selectedRangeReport:l,...c,mode:e.uiState.mode});case"revenue":return a.jsx(we,{selectedRangeReport:r,...c,mode:e.uiState.mode});case"revenue_by_classes":return a.jsx(we,{selectedRangeReport:l,...c,mode:e.uiState.mode});case"operating_expenses":return a.jsx(_e,{selectedRangeReport:r,...c,mode:e.uiState.mode});case"operating_expenses_by_classes":return a.jsx(_e,{selectedRangeReport:l,...c,mode:e.uiState.mode});case"cash_position":return a.jsx(Rt,{selectedRangeReport:r,...c});case"cash_in_cash_out":return a.jsx(It,{selectedRangeReport:r,...c});default:return null}}})})},K),ya=ee.memo(e=>{const s=I(),r=Z(),{selectedRangeReport:l,selectedClassesViewRangeReport:t,uiState:o,scrollPosition:u,isZeniUser:d,onTableScroll:g,onElementCollapseStateChanged:f,onAccountBalanceClick:x,onUpdateAccountViewMode:n,onUpdateClassesToFilterOut:_,onOpenAccountViewMode:b}=e,{highlightedCOABalancesRange:c,mode:h}=o,m=l.availableNumberOfPeriods==null||l.availableNumberOfPeriods===0,v=l.availableNumberOfPeriods!=null&&l.availableNumberOfPeriods<2,w=o.mode==="compare_mode"&&!v,j=w||o.mode==="forecast_mode"?3:1,[S,$]=k.useState(void 0),[C,R]=k.useState(void 0),P=!(s==="small"||s==="medium-compact"),z=h==="forecast_mode"?"name+balances_forecast":"name+balances_actual",O=da(o.selectedAdditionalBalances),B=t!==void 0&&t.uiState.accountViewMode==="classes"?t:l,H=h==="forecast_mode"?"actual_vs_forecast":w===!0?"this_period_vs_period_before":"none",J=l.reportId==="net_burn_or_income"||l.reportId==="operating_expenses"||l.reportId==="revenue";return k.useEffect(()=>{const T={reportId:h==="forecast_mode"&&o.selectedForecast!=null?`${B.reportId}+${o.selectedForecast?.id}`:B.reportId,mode:H,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:B.bookCloseDate,firstMonthOfFY:B.firstMonthOfFY,filterAccountsWithNilBalances:h==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:ut(),showClassAccountNumber:d,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:B.dataAvailable};if(S!=null&&K(C,B)&&e.isPageFetchInProgress!==!0){const N=function(Y,A,Je,Xe=!0){Object.assign(Y.config,A);const be=V({balances:na(Je),config:A});return{config:A,headerNodes:Xe?[be]:[],contentNodes:[be,...Y.contentNodes.slice(1)]}}(S,T,B,P);$(N)}else{const N=la(B,T,P,e.isPageFetchInProgress);R(B),$(N)}},[z,w,B,e.isPageFetchInProgress]),a.jsx(ra,{windowSize:s,children:m?a.jsx(Vt,{}):S!=null?a.jsxs(ia,{children:[a.jsx(Dt,{backgroundColor:new ot(r.colors.grey4),rootNodes:S,type:z,compareMode:O,isSticky:{isStickyHeader:P,isStickyName:P},treeNodePadding:{left:Be.contentPaddingLeft.value(s),right:Be.contentPaddingRight.value(s)},onAccountClick:x==null?void 0:(T,N,Y)=>{x(T,N,Y)},nodeOpenStatus:o.nodeCollapseState,scrollPosition:u,onCompareModeChanged:T=>{e.analytics?.trackCompareFilterChange(T==="compare_mode_percent"?"percentage":"amount",F(l.reportId),G(o.timeframe),"dropdown");const N=T==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(w,[N],c?.numberOfPeriods??j)},onScroll:g,onNodeCollapseToggled:f}),J===!0&&t!==void 0?a.jsx(ca,{children:a.jsx(Ot,{reportId:l.reportId,nodes:t.classHierarchy,classesListFetchState:t.fetchState,selectedView:t.uiState.accountViewMode,showClassAccountNumber:d,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:(T,N)=>{T!==t?.uiState.accountViewMode&&n?.(T),N&&_?.(N)},classesToBeFilteredOut:t.classesToFilterOut,isClassViewDisabled:o.mode==="forecast_mode",firstMonthOfFY:t.firstMonthOfFY,onOpenAccountViewMode:b,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:t?.status?.lastRefreshSuccessTime})}):null]}):null})},K),Sa=ee.memo(e=>{const{selectedRangeReport:s,uiState:r,analytics:l,onThisPeriodChanged:t,onTimeframeSelectionChanged:o,onCOABalancesRangeChanged:u,onAdditionalBalanceSelectionChanged:d}=e,g=Pe(),{allTimeframeTicks:f}=s,{selectedCOABalancesRange:x,timeframe:n}=r,_=s.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],b=s.availableNumberOfPeriods!=null&&s.availableNumberOfPeriods<2,c=r.mode==="compare_mode"&&!b,h=g.connectionName!=="netsuite"&&(s.reportId==="net_burn_or_income"||s.reportId==="operating_expenses"||s.reportId==="revenue");let m,v;switch(s.reportId){case"revenue":case"net_burn_or_income":case"operating_expenses":m=s.forecastList?.forecasts,v=s.forecastList?.fetchState;break;default:m=void 0}const w=s.availableNumberOfPeriods==null||s.availableNumberOfPeriods===0,j=w||s.availableNumberOfPeriods===1,[S,$]=k.useState(!1),C=xt("https://meetings.hubspot.com/svitlana-grankovska"),R=r.mode,P=r.selectedForecast;k.useEffect(()=>{R==="forecast_mode"&&v==="Completed"&&m?.length===0&&($(!0),document.body.style.overflow="hidden")},[v,R,m]),k.useEffect(()=>{R==="forecast_mode"&&P!=null&&m!=null&&m.length>0&&e.analytics?.trackForecastSwitch(F(s.reportId),m[P.index].name)},[P]);const z=(O,B,H)=>{B===!0&&e.analytics?.trackForecastVsActualMode(F(s.reportId),"",O==="forecast_mode"),e.onForecastToggle?.(O,H)};return a.jsx(oa,{children:a.jsxs(aa,{children:[a.jsx(sa,{children:a.jsx(ta,{timeframe:{allowedTimeframes:_,selectedTimeframe:n,onTimeframeSelectionChanged:O=>{e.analytics?.trackTimeframeSwitch(G(O),F(s.reportId)),o?.(O),e.uiState.mode==="compare_mode"&&!c&&d(c,c?["this_period_vs_last_period_percent"]:[],c?3:1)}},compareToggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:!j&&c,isToggleDisabled:j,onValueChanged:O=>{const B=O===!0||r.mode==="forecast_mode"?3:1;l?.trackCompareMode(O,F(s.reportId),G(n)),d(O,O?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],B)}},forecastListWithToggle:h===!0?{isOn:r.mode==="forecast_mode",isToggleDisabled:j,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:m,isForecastValid:O=>!!O.forecastPeriod.startDate.isBefore(s.dataAvailable?.endDate),onForecastSelectionChanged:(O,B)=>z("forecast_mode",!1,{id:O,index:B}),onForecastToggleChanged:O=>{z(O===!0?"forecast_mode":"off",!0)}}:void 0})}),S==1?a.jsx(Ps,{meetingUrl:C,reportId:s.reportId,onClose:()=>{$(!1),e.onForecastToggle?.("off"),document.body.style.overflow="auto",d(c,c?["this_period_vs_last_period_percent"]:[],1)}}):null,w?null:a.jsx(Pt,{firstMonthOfFY:s.firstMonthOfFY,timeframe:n,timeframeTicks:f,selection:{selectedTicks:xe(f,x),highlightedOfSelectedTicks:xe(f,x)},onClick:(O,B)=>{$e(s.firstMonthOfFY,c,s.reportId,n,B,e.analytics),t(B)},onSelectionChanged:(O,B)=>{const H=Lt(f,O.fromEnd),J=Nt(f,B);$e(s.firstMonthOfFY,c,s.reportId,n,J.thisPeriod,e.analytics),u(H,J)}})]})})},K);export{oo as default};
371
+ `,oo=e=>{const s=I(),r=U(),[l,t]=k.useState(!1),o=y.getLocalizedStrings(),{reportLabels:u,selectedRangeReport:d,selectedClassesViewRangeReport:g,uiState:f,downloadParams:x,analytics:n,onBackClick:_,updateDownloadStateHandler:b,onAdditionalBalanceSelectionChanged:c}=e,{insights:h}=d,{selectedCOABalancesRange:m,timeframe:v,selectedAdditionalBalances:w,downloadState:j}=f,S=d.availableNumberOfPeriods!=null&&d.availableNumberOfPeriods<2,$=f.mode==="compare_mode"&&!S,C=Pe(),R=C.loggedInUserRole!=null&&!ft(C.loggedInUserRole),P=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";k.useEffect(()=>{l&&j!=="In-Progress"&&(t(!1),b("In-Progress"),async function(){await Zt({report:g!==void 0&&g.uiState.accountViewMode==="classes"?g:d,filter:d.filter,coaBalancesRange:m,isCompareModeOn:$,reportView:g!==void 0?g.uiState.accountViewMode:"account_group",classesToFilterOut:g!==void 0?g.uiState.classesToFilterOut:[],...x,reportType:R||P?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),n?.trackDownload(M(d.reportId),Y(v),"excel",$),b("Completed")}())},[x,j,d.filter,l,$,m,d,g,v,n,b,R,P,e.isZeniCOAUsed]);const z=d.availableNumberOfPeriods==null||d.availableNumberOfPeriods===0||d.allTimeframeTicks.length===0,O=d.fetchState==="In-Progress"||d.fetchState==="Not-Started",B=bt([e?.reportsResyncFetchState??{fetchState:"Not-Started"},g??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&g?.uiState.accountViewMode==="classes";k.useEffect(()=>{const A=$||f.mode==="forecast_mode"?3:1;c($,w,A)},[s]);const{autoCompleteData:H,autoCompleteActions:Z,scrollPosition:T,...N}=e,te=a.jsx(et,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:z,isDownloading:j==="In-Progress"}],onDownloadClick:async A=>{if(A==="excel"){if(j==="In-Progress")return void console.log("Download is already in progress!");t(!0)}}}}});return a.jsxs(ua,{children:[a.jsx(Qe,{title:u.reportTitle,backgroundColor:r.colors.grey5,onBackClick:_,rightSideComponent:te,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:A=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Ke.Event.search,M(d.reportId),A.type,A.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(A)}}},source:"DashboardReportPage",style:{zIndex:2}}),O?a.jsx(xa,{children:a.jsx(Xe,{size:"Standard",start:!0})}):z?a.jsx(Ut,{style:{background:r.colors.grey5},emptyContentText:o.common.noReport.replace("_item-name_",`${o.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Vt}):a.jsxs(a.Fragment,{children:[a.jsxs(fa,{windowSize:s,children:[a.jsx(Sa,{...N}),a.jsx(_a,{highlightedRangeReport:d,uiState:f}),B?a.jsx(pa,{}):a.jsx(wa,{...N}),a.jsx(ba,{children:a.jsx(Bt,{insights:h})})]}),a.jsx(ya,{scrollPosition:T,isPageFetchInProgress:B,...N})]})]})},_a=K.memo(({highlightedRangeReport:e,uiState:s})=>{switch(e.reportId){case"net_burn_or_income":return a.jsx(ts,{highlightedRangeReport:e,uiState:s});case"revenue":return a.jsx(rs,{highlightedRangeReport:e,uiState:s});case"operating_expenses":return a.jsx(os,{highlightedRangeReport:e,uiState:s});case"cash_position":return a.jsx(Xt,{highlightedRangeReport:e});case"cash_in_cash_out":return a.jsx(Jt,{highlightedRangeReport:e});default:return null}},Q),wa=K.memo(e=>{const s=I(),{selectedRangeReport:r,selectedClassesViewRangeReport:l,uiState:t,onCOABalancesRangeChanged:o}=e,u=r.availableNumberOfPeriods==null||r.availableNumberOfPeriods===0,{selectedCOABalancesRange:d,selectedAdditionalBalances:g,highlightedCOABalancesRange:f,timeframe:x}=t,n=l!==void 0&&l.uiState.accountViewMode==="classes"?l:r;return u?a.jsx(ls,{children:a.jsx(Rt,{title:y.getLocalizedStrings().chartCard.no_data_available})}):a.jsx(cs,{windowSize:s,children:a.jsx(at,{children:({height:_,width:b})=>{const c={showBarHoverBackground:!0,onCOABalancesRangeChanged:(h,m,v)=>{ds(r.firstMonthOfFY,g,r.reportId,m,h,e.analytics),o(d,v)},highlightedRange:f,isDetailPage:!0,timeframe:x,width:b,height:_};switch(n.reportId){case"net_burn_or_income":return a.jsx(ye,{selectedRangeReport:r,...c,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return a.jsx(ye,{selectedRangeReport:l,...c,mode:e.uiState.mode});case"revenue":return a.jsx(we,{selectedRangeReport:r,...c,mode:e.uiState.mode});case"revenue_by_classes":return a.jsx(we,{selectedRangeReport:l,...c,mode:e.uiState.mode});case"operating_expenses":return a.jsx(_e,{selectedRangeReport:r,...c,mode:e.uiState.mode});case"operating_expenses_by_classes":return a.jsx(_e,{selectedRangeReport:l,...c,mode:e.uiState.mode});case"cash_position":return a.jsx(It,{selectedRangeReport:r,...c});case"cash_in_cash_out":return a.jsx(Nt,{selectedRangeReport:r,...c});default:return null}}})})},Q),ya=K.memo(e=>{const s=I(),r=U(),{selectedRangeReport:l,selectedClassesViewRangeReport:t,uiState:o,scrollPosition:u,isZeniUser:d,onTableScroll:g,onElementCollapseStateChanged:f,onAccountBalanceClick:x,onUpdateAccountViewMode:n,onUpdateClassesToFilterOut:_,onOpenAccountViewMode:b}=e,{highlightedCOABalancesRange:c,mode:h}=o,m=l.availableNumberOfPeriods==null||l.availableNumberOfPeriods===0,v=l.availableNumberOfPeriods!=null&&l.availableNumberOfPeriods<2,w=o.mode==="compare_mode"&&!v,j=w||o.mode==="forecast_mode"?3:1,[S,$]=k.useState(void 0),[C,R]=k.useState(void 0),P=!(s==="small"||s==="medium-compact"),z=h==="forecast_mode"?"name+balances_forecast":"name+balances_actual",O=da(o.selectedAdditionalBalances),B=t!==void 0&&t.uiState.accountViewMode==="classes"?t:l,H=h==="forecast_mode"?"actual_vs_forecast":w===!0?"this_period_vs_period_before":"none",Z=l.reportId==="net_burn_or_income"||l.reportId==="operating_expenses"||l.reportId==="revenue";return k.useEffect(()=>{const T={reportId:h==="forecast_mode"&&o.selectedForecast!=null?`${B.reportId}+${o.selectedForecast?.id}`:B.reportId,mode:H,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:B.bookCloseDate,firstMonthOfFY:B.firstMonthOfFY,filterAccountsWithNilBalances:h==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:ut(),showClassAccountNumber:d,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:B.dataAvailable};if(S!=null&&Q(C,B)&&e.isPageFetchInProgress!==!0){const N=function(te,A,qe,Je=!0){Object.assign(te.config,A);const be=W({balances:na(qe),config:A});return{config:A,headerNodes:Je?[be]:[],contentNodes:[be,...te.contentNodes.slice(1)]}}(S,T,B,P);$(N)}else{const N=la(B,T,P,e.isPageFetchInProgress);R(B),$(N)}},[z,w,B,e.isPageFetchInProgress]),a.jsx(ra,{windowSize:s,children:m?a.jsx(Wt,{}):S!=null?a.jsxs(ia,{children:[a.jsx(Dt,{backgroundColor:new ot(r.colors.grey4),rootNodes:S,type:z,compareMode:O,isSticky:{isStickyHeader:P,isStickyName:P},treeNodePadding:{left:Be.contentPaddingLeft.value(s),right:Be.contentPaddingRight.value(s)},onAccountClick:x==null?void 0:(T,N)=>{x(T,N)},nodeOpenStatus:o.nodeCollapseState,scrollPosition:u,onCompareModeChanged:T=>{e.analytics?.trackCompareFilterChange(T==="compare_mode_percent"?"percentage":"amount",M(l.reportId),Y(o.timeframe),"dropdown");const N=T==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(w,[N],c?.numberOfPeriods??j)},onScroll:g,onNodeCollapseToggled:f}),Z===!0&&t!==void 0?a.jsx(ca,{children:a.jsx(Ot,{reportId:l.reportId,nodes:t.classHierarchy,classesListFetchState:t.fetchState,selectedView:t.uiState.accountViewMode,showClassAccountNumber:d,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:(T,N)=>{T!==t?.uiState.accountViewMode&&n?.(T),N&&_?.(N)},classesToBeFilteredOut:t.classesToFilterOut,isClassViewDisabled:o.mode==="forecast_mode",firstMonthOfFY:t.firstMonthOfFY,onOpenAccountViewMode:b,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:t?.status?.lastRefreshSuccessTime})}):null]}):null})},Q),Sa=K.memo(e=>{const{selectedRangeReport:s,uiState:r,analytics:l,onThisPeriodChanged:t,onTimeframeSelectionChanged:o,onCOABalancesRangeChanged:u,onAdditionalBalanceSelectionChanged:d}=e,g=Pe(),{allTimeframeTicks:f}=s,{selectedCOABalancesRange:x,timeframe:n}=r,_=s.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],b=s.availableNumberOfPeriods!=null&&s.availableNumberOfPeriods<2,c=r.mode==="compare_mode"&&!b,h=g.connectionName!=="netsuite"&&(s.reportId==="net_burn_or_income"||s.reportId==="operating_expenses"||s.reportId==="revenue");let m,v;switch(s.reportId){case"revenue":case"net_burn_or_income":case"operating_expenses":m=s.forecastList?.forecasts,v=s.forecastList?.fetchState;break;default:m=void 0}const w=s.availableNumberOfPeriods==null||s.availableNumberOfPeriods===0,j=w||s.availableNumberOfPeriods===1,[S,$]=k.useState(!1),C=xt("https://meetings.hubspot.com/svitlana-grankovska"),R=r.mode,P=r.selectedForecast;k.useEffect(()=>{R==="forecast_mode"&&v==="Completed"&&m?.length===0&&($(!0),document.body.style.overflow="hidden")},[v,R,m]),k.useEffect(()=>{R==="forecast_mode"&&P!=null&&m!=null&&m.length>0&&e.analytics?.trackForecastSwitch(M(s.reportId),m[P.index].name)},[P]);const z=(O,B,H)=>{B===!0&&e.analytics?.trackForecastVsActualMode(M(s.reportId),"",O==="forecast_mode"),e.onForecastToggle?.(O,H)};return a.jsx(oa,{children:a.jsxs(aa,{children:[a.jsx(sa,{children:a.jsx(ta,{timeframe:{allowedTimeframes:_,selectedTimeframe:n,onTimeframeSelectionChanged:O=>{e.analytics?.trackTimeframeSwitch(Y(O),M(s.reportId)),o?.(O),e.uiState.mode==="compare_mode"&&!c&&d(c,c?["this_period_vs_last_period_percent"]:[],c?3:1)}},compareToggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:!j&&c,isToggleDisabled:j,onValueChanged:O=>{const B=O===!0||r.mode==="forecast_mode"?3:1;l?.trackCompareMode(O,M(s.reportId),Y(n)),d(O,O?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],B)}},forecastListWithToggle:h===!0?{isOn:r.mode==="forecast_mode",isToggleDisabled:j,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:m,isForecastValid:O=>!!O.forecastPeriod.startDate.isBefore(s.dataAvailable?.endDate),onForecastSelectionChanged:(O,B)=>z("forecast_mode",!1,{id:O,index:B}),onForecastToggleChanged:O=>{z(O===!0?"forecast_mode":"off",!0)}}:void 0})}),S==1?a.jsx(Ps,{meetingUrl:C,reportId:s.reportId,onClose:()=>{$(!1),e.onForecastToggle?.("off"),document.body.style.overflow="auto",d(c,c?["this_period_vs_last_period_percent"]:[],1)}}):null,w?null:a.jsx(Tt,{firstMonthOfFY:s.firstMonthOfFY,timeframe:n,timeframeTicks:f,selection:{selectedTicks:xe(f,x),highlightedOfSelectedTicks:xe(f,x)},onClick:(O,B)=>{$e(s.firstMonthOfFY,c,s.reportId,n,B,e.analytics),t(B)},onSelectionChanged:(O,B)=>{const H=Pt(f,O.fromEnd),Z=Lt(f,B);$e(s.firstMonthOfFY,c,s.reportId,n,Z.thisPeriod,e.analytics),u(H,Z)}})]})})},Q);export{oo as default};