@zeniai/web-cockpit-ui 1.14.75-dev → 1.14.76-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 (217) hide show
  1. package/dist/assets/{ACHDetailsPage-CgSAnexf-B3A8op6h.js → ACHDetailsPage-Xx5xzGG6-TLkgYXDo.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-C9EQ3p87-OJBktR4D.js → AIPerformancePage-CUXg59Hy-CQ1-rEhi.js} +24 -24
  3. package/dist/assets/{AccountInfoPage-C239tsDp-DRuutmdG.js → AccountInfoPage-BCsDFfVy-hrluJcll.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CgDFcQqY-CqasllNx.js → AccountInfoPageContent-Dc3zDc0L-zxWLzozl.js} +4 -4
  5. package/dist/assets/{AccountLockedInfoModal-CQzFFcuJ-Do66phz_.js → AccountLockedInfoModal-C9esWbYw-DmLSIkZF.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-xtmSIQ0k-Cx_Pu75e.js → AccountReconDetailsDrawerPage-zLLBfV9S-BNb08J_3.js} +4 -4
  7. package/dist/assets/{AccountRow-BrRxbza5-pSnSZur-.js → AccountRow-CjMOMc-1-x3Qeaa-E.js} +6 -6
  8. package/dist/assets/{AccountsPromoCardStack-CqXbhSj4-Dxz2-66c.js → AccountsPromoCardStack-DkqmFDos-CykT6dqn.js} +17 -17
  9. package/dist/assets/{AddAddressForCardDrawer-fgjjFlrb-j1U1vMZd.js → AddAddressForCardDrawer-D8Towl2b-BnpRCEKK.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DfB7hWI1-IQOFdx9h.js → AddToWalletPage-DPlpIxsE-B4bdwm1E.js} +15 -15
  11. package/dist/assets/{AgingReportsPage-DHYj512r-CC4JWVYi.js → AgingReportsPage-Bkw7sNWp-BamyEZIc.js} +5 -5
  12. package/dist/assets/{AllUserItems-DeSMFizX-DNdHjuWX.js → AllUserItems-DMlj0bT0-gvuqGIhf.js} +4 -4
  13. package/dist/assets/{ApAgingDetailPage-DU0hQxT3-DZWyZWni.js → ApAgingDetailPage-BLz4srnJ-Cc1Xbcy9.js} +2 -2
  14. package/dist/assets/{AppBasePage-BR-YhSR_-CzGzdBlR.js → AppBasePage-D-TkEHTb-DROxn97N.js} +5 -5
  15. package/dist/assets/{AppDrawerContent-B80zy-Gz-B39ZSWi1.js → AppDrawerContent-B_OcDS2l-DzddisDQ.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-By648tCr-CQAcViTv.js → ApprovalRulesSettingsPage-CFLA9ZNm-DAP_H-up.js} +3 -3
  17. package/dist/assets/{ArAgingChart-TzANw6Zm-ud3qmxZt.js → ArAgingChart-GDCZoeS6-ejUvAmZP.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-C2rcOePe-DceP7UdC.js → ArAgingDetailPage-BpbaAaQd-BiEAKqhS.js} +2 -2
  19. package/dist/assets/{AttachmentView-jMWZdYNa-B4G6-utv.js → AttachmentView-C5nZKhTq-vO_X412a.js} +4 -4
  20. package/dist/assets/{BankAccountSection-SGI34h8u-BmPo8uGy.js → BankAccountSection-IncAN4Fp-_HbGSxHo.js} +3 -3
  21. package/dist/assets/{BankAccountWarningSection-BYhi53r4-4douKQRZ.js → BankAccountWarningSection-B5zw3yYg-D0pN9DqK.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-ChDwYCek-CV2qmOPT.js → BankConnectionsSettingsPage-C_B2Ap4v-CWKHwroD.js} +28 -28
  23. package/dist/assets/{BillDetailPage-CDcMpkQh-WKx-zUwY.js → BillDetailPage-ZwjUMPQZ-BsZDr1gg.js} +10 -10
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CEPY5Pk4-BbBRmkGK.js → BillPayApprovalRuleDetailPage-C253InxT-RvLtQlW3.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CL2A3R9R-lHKvJ4Ac.js → BillPayApprovalRulesPage-CA3FfPrr-qSqftFhb.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-B9Tz3jBR-C8UtwtS8.js → BillPayPromoPage-BKleb4US-pzvsBPOp.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-Dt_bfrGH-BFJQWbSz.js → BillPaySetUpPage-DwK0lrbO-rQcYv7BW.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-DS50kMjn-x8sOi9VN.js → BillingSettingsPage-zBDcEj5D-BDTLKTvE.js} +5 -5
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Btt7v1Mg-BawjVs5H.js → BillsBulkReviewDrawerPage-BjOYcTwa-Dv0CJOPA.js} +1 -1
  30. package/dist/assets/{BoxItem-BFUJgt2x-BC0-eR6w.js → BoxItem-CoguTodA-DItO3xcr.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CF3ZLtzs-m9ujMa8b.js → BusinessVerificationPage-DGQ9x2pf-35QVlpBA.js} +6 -6
  32. package/dist/assets/{CardNumberSubText-B1MkRWES-C67yiD_w.js → CardNumberSubText-BudPffUB-BTvRfksc.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-CPSsS7-h-D1KsDfk8.js → CashbackDetailPage-2KpaTEWi-CUzGkPf8.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BDqTbXzY-BMqKHARM.js → ChargeCardDetailPage-DU-yz6wh-CBCtuxOp.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-yj0mhqgF-BwQcpXMc.js → ChargeCardListPage-C4ITCZwO-C8GmtyMf.js} +14 -14
  36. package/dist/assets/{ChargeCardListTable-DM6dYuPz-DQIQm3j5.js → ChargeCardListTable-DEqAOIyN-nTkk33YA.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-DSoQsDJK-k397bkJL.js → ChargeCardPromoPage-CvPAVoti-Dig5Emby.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-DhEITB5H-DwrNYcBw.js → ChargeCardSetupPage-CLhkL1Eh-B9fDm_Ae.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-tCXt7AVZ-CGXmLyEQ.js → ChargeCardStatementsPage-6TvYstIS-DKHBxCkb.js} +5 -5
  40. package/dist/assets/{CheckDepositDrawerPage-6PfNZ8GG-CpP6SDgV.js → CheckDepositDrawerPage-D64qEFAi-DmFPX3Hy.js} +5 -5
  41. package/dist/assets/{CollapsableReportTable-DERfLf9A-B02u2C6v.js → CollapsableReportTable-o0pGO_sw-CoQujIPL.js} +48 -48
  42. package/dist/assets/{CompanyOfficerDetailsSection-CmMDQgui-DjcUawXU.js → CompanyOfficerDetailsSection-D3PSro9F-CN8Reo83.js} +12 -12
  43. package/dist/assets/{CompanyPassportCard-ki3cq_A3-BIFk_EYX.js → CompanyPassportCard-CUcLJOne-CwK5fmgg.js} +2 -2
  44. package/dist/assets/{CompanyPassportPage-C9UW7mV8-CjYiaVUt.js → CompanyPassportPage-C1v4xE8B-zCkhH9yQ.js} +10 -10
  45. package/dist/assets/{CompleteProfile-CcjiEAtN-G6pC79hX.js → CompleteProfile-DP8FFDH_-B7Va_v1e.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-Dq3DwwfS-Bk63elQ-.js → ConfettiBurst-KNUWsLgM-C3W-6qSV.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-CsYVqUf8-CQGCDeX8.js → CreateOrEditVendorPage-hEPeylx6-VsqoPSRS.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-C1QUtunc-B_csVrG-.js → CreditCardPaymentDrawerPage-DOgKpleO-DLW-KVW8.js} +8 -8
  49. package/dist/assets/{CurrencySelectField-PjVnHOPO-De5v3EBh.js → CurrencySelectField-C8L9A7zC-DLDLvWwm.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-BEz1pkPV-m1nyzrH-.js → CustomerOnboardingActivationPage-D_AcFXeU-p0ieIiP_.js} +8 -8
  51. package/dist/assets/CustomerOnboardingContainerPage-DAxVaKqp-DMOGZ592.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-3S6lsaCB-BUgUvYUX.js → CustomerOnboardingDetailPageSkeleton-DPSQT5UG-yxM-FX1s.js} +12 -12
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-C7EvOlnr-Bb_AP_JK.js → CustomerOnboardingNoStepsPage-Bqi6QK8D-CnhmXiFi.js} +4 -4
  54. package/dist/assets/{CustomerOnboardingPage-Clo_UlCC-DsyGD0B2.js → CustomerOnboardingPage-eY5fJENY-CW0ZIKes.js} +4 -4
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-BEy5gk3x-B66-9NVf.js → CustomerOnboardingProductSuitePage-BEWQQxa2-CUaimIpy.js} +4 -4
  56. package/dist/assets/{Dashboard-B1tMJ_lT-Dt3eYG-5.js → Dashboard-DyK1Y6xH-BhOeJdbK.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-CoFYSDIH-DHztoZKU.js → DashboardReportPage-9mEEgfb9-8pEwgBSt.js} +11 -11
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-4ckOdfXR-Csek43Wl.js → DashboardSidebarBackgroundAnimation-BKaRUOA4-CrFQyftY.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-tQvZegVN-2h85R67z.js → DepositAccTransactionItem-CwSsISRg-BhipE2js.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-CwXktzEW-DdOhhhJy.js → DepositAccTransactionListPage-d_A-lWfh-BHvjyvXp.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-W6hOjjFW-BWSats5d.js → DomesticWireDetailsPage-C-qIXO7t-BK1ogPTU.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-BSUE9cHx-CQqT-O4K.js → DownloadOverlay-_HVjRZb_-ovRMQuBS.js} +10 -10
  63. package/dist/assets/{DrawerPage-CgdtPYXN-BbWBMozy.js → DrawerPage-DgRO2OFE-DsZBSqxn.js} +3 -3
  64. package/dist/assets/EditPeoplePage-6lvgaJQi-Df2Mb0kP.js +55 -0
  65. package/dist/assets/{EditReimbursementDetailPage-Q2e7iDtu-BBcP7tRA.js → EditReimbursementDetailPage-B85brpdt-BYguIPkd.js} +19 -19
  66. package/dist/assets/{EntityDetailPage-XsEIg05w-Cod5Z1f6.js → EntityDetailPage-Ds03l_Nm-BYieYjCl.js} +3 -3
  67. package/dist/assets/{EntitySummarySection-CsXlmDFx-l9ddhbEU.js → EntitySummarySection-CbloJrPd-DGVEU9qa.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-CVe0vhrD-B-avItru.js → ExpenseAutomationOverviewPage-CYNO1bW--pa8gzAaD.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-D6r_A_CD-CiCcvo0I.js → ExpenseAutomationPage-CoYAnlKO-CIOZ9cQ5.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-C6b1fiyD-DNDZJNDu.js → ExpressPayPage-VpqTGVa6-iCCnAcb9.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-DOebdPqb-TzEy5dMk.js → FeaturePreviewPage-DzgPdfBh-BlncrRkT.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-jmyNE2Fl-CvBGwqtX.js → FollowStepsSection-NM8GXTRZ--kMzASD7.js} +6 -6
  73. package/dist/assets/{GlobalReviewListPage-Cx1Km5fu-Bailuk1q.js → GlobalReviewListPage-xUe6yXIO-DDRodqQY.js} +6 -6
  74. package/dist/assets/{InformationCardStack-C5bKx9vg-k3hJn-Id.js → InformationCardStack-BYRwUh-e-Bm84GPsq.js} +2 -2
  75. package/dist/assets/{InsightsCardStack-EFoc_EWA-D2FaxDtB.js → InsightsCardStack-DfJXM3Fn-B0luA3Cz.js} +7 -7
  76. package/dist/assets/{InsightsSection-B0Rg5beY-u8CdyXOx.js → InsightsSection-4aveyVKo-DnKJf3sJ.js} +1 -1
  77. package/dist/assets/{IntegrationsSettingsPage-BQmjM8Np-1cGkOCA2.js → IntegrationsSettingsPage-BZMs-taD-ChagB0kp.js} +4 -4
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-ChSGHFzT-CvsM4E7Y.js → InternationalWireSwiftDetailsPage-D3mlT5XG-CMQP_Nn8.js} +4 -4
  79. package/dist/assets/{InternationalWireVerificationPage-D41gWYDb-CEwQheQ1.js → InternationalWireVerificationPage-MUHsO8eu-CkpdoULT.js} +1 -1
  80. package/dist/assets/{InviteFormPage-CltJ2XYv-DJJh50vB.js → InviteFormPage-aZR9lFWK-BCwWSqH4.js} +1 -1
  81. package/dist/assets/{InvitePageListView-D5OdkeEV-CglVOI_I.js → InvitePageListView-CHyiR2RC-Sk8zihrC.js} +12 -12
  82. package/dist/assets/{InvitePeoplePage-CyXnulj0-B7lM98ff.js → InvitePeoplePage-BRl496Mv-FaAOJzgH.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-B2ePrdY8-CUZ5YkU9.js → InvoiceUploadSection-BqpspjSO-DbodpMov.js} +6 -6
  84. package/dist/assets/{IssueChargeCardPage-BCfMS2Zu-DdG6-d9q.js → IssueChargeCardPage-D39Bd6J9-Bz3hak_j.js} +21 -21
  85. package/dist/assets/{LabeledAddressValue-D7udvbin-kVKW8gGz.js → LabeledAddressValue-w3powIaN-xKKxpzsE.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-jlDhqmgU-CM1ZWEJK.js → LabeledAddressValueField-BPOKk4mI-BFmVYPcn.js} +2 -2
  87. package/dist/assets/{LabeledControlledCheckBoxField-DNmJFVpZ-DjMQjBxM.js → LabeledControlledCheckBoxField-afEn8tHL-DxqXt4PA.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-B6Vit6ZA-Bdnw6feS.js → LabeledCreatableSingleSelectField-DXA_bSyS-BJinmWca.js} +3 -3
  89. package/dist/assets/{LabeledDocumentField-CbTN9aAs-CEmYFygD.js → LabeledDocumentField-Z9OHDFr6-HgLdszDI.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-CD6Bs8EU-Bok-Bw1g.js → LabeledDropDownFormattedTextField-0Bk8vscY-CDQY3SED.js} +3 -3
  91. package/dist/assets/{LabeledText-aSB1WzCl-Cj9Ocs2U.js → LabeledText-CgI7e_L--BwhQOiOZ.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Y99F7D2f-Dwh42b2N.js → LabeledUserSingleSelectWithSubtitlesField-B0y_IMnV-GTOhW6B-.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-BJePp4f_-Dc_g-F8s.js → LabeledZeniRolesDropDownField-CEwtGHuw-Bl11WCzt.js} +14 -14
  94. package/dist/assets/{LinkJETransactionPage-CNbLCYzA-Bg5upj_n.js → LinkJETransactionPage-BqF3QSeN-CXTqkit6.js} +2 -2
  95. package/dist/assets/{LockCardPage-DMB-6EyM-lbTpu5O_.js → LockCardPage-Ui2RTfpb-B7R1Xixi.js} +10 -10
  96. package/dist/assets/{LowBalancePopup-D8MLLJa7-CBiPecxo.js → LowBalancePopup-DzqqMGEK-DvUWGZSI.js} +1 -1
  97. package/dist/assets/{MagicLinkACHDetailsPage-BdS3aAWw-BrXiv9-t.js → MagicLinkACHDetailsPage-Kz-uZGml-CF0KJ9I8.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CG0a1drB-Dmn6AGH4.js → MagicLinkDomesticWireDetailsPage-DNR1hQud-DTuqaECC.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C9-ZvcKN-C21_WG8V.js → MagicLinkInternationalWireDetailsPage-B-hsxI7i-DU8bPbJw.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-BBQLFLJ9-CPkaiDv7.js → MagicLinkSuccessPage-CTyWzEAl-CcSFqgbx.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-BVR_lDfw-BbQ3PhCM.js → MagicLinkTitleSection-egx3li4v-CK9jYn1b.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-DZi-O94--DF-Hpww_.js → MailingDetailsSection-D28xdU_N-D7dNEE4R.js} +1 -1
  103. package/dist/assets/{Menu-DGwHJlS--Djq7PCKE.js → Menu-BsPZbkcv-dMEFFJAw.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-BYTxFTOW-gDKKbyJg.js → MyBankConnectionsSettingsPage-B7pw1loZ-BZemPN_o.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-CUvKbnux-CN2CiFSh.js → MyPendingActivationChargeCardListPage-CaDgVLY9-D9RWTHXk.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-BHnImAny-TmsmZErc.js → MyProfileSettingsPage-DGPjjcRE-BkjL1klq.js} +11 -11
  107. package/dist/assets/{NavBarWithPicker-Q739fT8--CrZ3WYmY.js → NavBarWithPicker-CK69EXMo-BopYsgXw.js} +3 -3
  108. package/dist/assets/{NavigationArrow-DQfX85VC-Dvm4TJ9a.js → NavigationArrow-B5JMjj8b-Yf4kFeB6.js} +1 -1
  109. package/dist/assets/{NavigationDots-CyCjbpW--DGfBQuMJ.js → NavigationDots-yYEq4mai-Bct7I6H1.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-CzT7wrsy-CItQq0bZ.js → NewGlobalMerchantPage-DXdipj9r-Cg-jSrpq.js} +4 -4
  111. package/dist/assets/{NoDataChart-BnAshBnb-UHLHtstu.js → NoDataChart-CetZJAul-Dliv4FgS.js} +1 -1
  112. package/dist/assets/{NoDataTable-BhokhW6d-QEuWLEd7.js → NoDataTable-CbxTnnUj-RBS2BO0t.js} +1 -1
  113. package/dist/assets/{NotFoundPage-uFZMkf3D-DLBn6ZTy.js → NotFoundPage-JK9WWLQL-t0Ol92QM.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-BE1_MgJM-BWk4ph6m.js → NotificationSettingsPage-BYFMb4y6-BucvDhx8.js} +7 -7
  115. package/dist/assets/{NotificationsListConfig-CUWNEUCL-XvkMOcjh.js → NotificationsListConfig-EKmLeUqF-DPKxh2va.js} +1 -1
  116. package/dist/assets/{NotificationsPage-BMZvKV7t-v_KJjY-j.js → NotificationsPage-Ca9rvFJG-3IKE1yMl.js} +23 -23
  117. package/dist/assets/{OpExByVendorPage-BuHAApyT-ZSJOclS-.js → OpExByVendorPage-S3IdisaI-C-NcDs3u.js} +20 -20
  118. package/dist/assets/{OverlayContainerPage-BKHs_4eI-Cod2hmti.js → OverlayContainerPage-BKHs_4eI-B8gf_Owe.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-B0IiVx6D-BofpOT29.js → PandLWithForecastPage-Bf-D_XNg-CrzOb2hU.js} +7 -7
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BkfPpFae-CQO2zwUL.js → PaymentAccountSetupBillingAddressSection-CMVwDWuf-jHkUqKP1.js} +13 -13
  121. package/dist/assets/{PeoplePage-Cj9mjcMw-9OYaHyag.js → PeoplePage-BKkwc_YR-BoZfR8X8.js} +1 -1
  122. package/dist/assets/{ProductsCarousel-_jYEgpxl-3H43gICJ.js → ProductsCarousel-DsI5t_Kc-Cpn89x6_.js} +1 -1
  123. package/dist/assets/{PromoBaseCards-8tkwl6GI-B2drNSiA.js → PromoBaseCards-CnQcR3Wn-B3iRHG7z.js} +1 -1
  124. package/dist/assets/{QBOConnectionDialog-CJz2SlfE-Cw-cnWS5.js → QBOConnectionDialog-PCdTWQqn-D0QAr5xA.js} +2 -2
  125. package/dist/assets/{QBOSetupSection-CpfryKtp-ZjQWXWah.js → QBOSetupSection-DhsqYA8G-Dcjp9EQd.js} +1 -1
  126. package/dist/assets/{ReimbursementApprovalRuleDetailPage-B8CBB3JI-xMBay2No.js → ReimbursementApprovalRuleDetailPage-Dao_lRpW-BNs6twdR.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRulesPage-BsLmDz25-CgEjqCg6.js → ReimbursementApprovalRulesPage-B_LTt_z4-DnK-3YAX.js} +1 -1
  128. package/dist/assets/{ReimbursementDetailPage-DiG34Vur-Dcz6odls.js → ReimbursementDetailPage-H6HNtQHN-2pM8Fun7.js} +8 -8
  129. package/dist/assets/{ReimbursementPromoPage-CNZdwAl--BsBEvPRx.js → ReimbursementPromoPage-j-UbNrbV-VHty7Yzb.js} +4 -4
  130. package/dist/assets/{ReimbursementSetUpPage-Ccc4qnNZ-CPmymOEP.js → ReimbursementSetUpPage-FagEYTJ_-BpDXEjSX.js} +7 -7
  131. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cza64yGU-BleycvIi.js → ReimbursementsBulkReviewDrawerPage-imSK_7rH-B3IJ7p46.js} +1 -1
  132. package/dist/assets/{ReloadCard-Cnz9ywvF-BGT4MYH-.js → ReloadCard-CqdeJe0l-Bb07dYPg.js} +3 -3
  133. package/dist/assets/{ReportTableViewSelector-B70dJfTV-SlWwkWXT.js → ReportTableViewSelector-DgPlLWgl-CNrxPhYC.js} +5 -5
  134. package/dist/assets/{ReportsPage-DdvNbMAj-SF_Ndi0S.js → ReportsPage-ByfO0uyp-DE8vAkKj.js} +6 -6
  135. package/dist/assets/{RevenueChart-B0CcrRHw-DSEzCN2z.js → RevenueChart-ChbWXtmx-BA32Na2v.js} +1 -1
  136. package/dist/assets/{ReviewDetailsPage-BVebc63A-zFlaxD9H.js → ReviewDetailsPage-BsOffi8f-BLsxP3vo.js} +5 -5
  137. package/dist/assets/{ReviewOverlay-Dm9GTjwu-bBb6sGal.js → ReviewOverlay-B73a-P2j-CTP6pyS2.js} +7 -7
  138. package/dist/assets/RoleWithToolTip-Ckorto5Y-CV42dy1h.js +22 -0
  139. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BWwDY16q-BLBhJP_5.js → ScheduleDetailsFixedAssetsPage-0vTqFn9N-BEm7Cgkc.js} +8 -8
  140. package/dist/assets/{ScheduleDetailsPage-CqFbh9HE-R8G_b4b1.js → ScheduleDetailsPage-Cl11M6UJ-BhHsLjma.js} +3 -3
  141. package/dist/assets/{ScheduleSequenceTable-DDYFTEg4-CG84KRpd.js → ScheduleSequenceTable-ClzxD7gh-DTqJnrdA.js} +26 -26
  142. package/dist/assets/{ScreenRoutes-BVWkKC_W.js → ScreenRoutes-D3i6oNhN.js} +1 -1
  143. package/dist/assets/{SetUpAccountSection-BuF3A3dP-Dlc3aKO9.js → SetUpAccountSection-xqqgeGLA-YX4p_D4B.js} +1 -1
  144. package/dist/assets/{SignIn-CyGyU8wg-8SnTpqj6.js → SignIn-Bh-9-pko-DyJR1DLA.js} +14 -14
  145. package/dist/assets/{SignInScreen-CEzKwqwu.js → SignInScreen-CaiIkh6O.js} +1 -1
  146. package/dist/assets/{SpendManagementListViewPage-DPUhOVZl-B5bRhpPB.js → SpendManagementListViewPage-Bn4KmChq-B4Y0L643.js} +3 -3
  147. package/dist/assets/{SpendManagementPerTabPage-CeYdMTbj-DL_aA7k6.js → SpendManagementPerTabPage-pYgoZlfR-DI3UJ4l8.js} +37 -37
  148. package/dist/assets/{SpendManagementSection--vF9XUYO-BtgzDFex.js → SpendManagementSection-4ctnlmiO-I2pWsNDv.js} +1 -1
  149. package/dist/assets/{StatementItem-CiYj7XWK-5AkRMgC4.js → StatementItem-CYkgMHQd-B65BnaGl.js} +6 -6
  150. package/dist/assets/{StatementsPage-SLgIPcxl-DedL5QW0.js → StatementsPage-BeF9vuPn-DNaEdwZ3.js} +1 -1
  151. package/dist/assets/{StatusSwitcher-CAMXea4Z-Ci68Xk-W.js → StatusSwitcher-DOwOcMYF-CSG0Jxkr.js} +1 -1
  152. package/dist/assets/{SubTabSwitcher-BFezBmcr-Bv0UYLck.js → SubTabSwitcher-BcEtc_ob-GF65Or0C.js} +1 -1
  153. package/dist/assets/{SummaryCard-Bk5Eh2IR-CvYAWxo_.js → SummaryCard-fjNCTkA5-B-M5KnHi.js} +1 -1
  154. package/dist/assets/{TaskManagementPage-ClL2snRe-BkZUI-Os.js → TaskManagementPage-BYMJMIhz-Do04zyQE.js} +15 -15
  155. package/dist/assets/{TimeRangeSwitcher-fGI52XTc-B8YAuD1t.js → TimeRangeSwitcher-B4FKox6K-C6y8kYZQ.js} +1 -1
  156. package/dist/assets/{TimeframeSwitcher-CV-bryv5-BZG0GUCh.js → TimeframeSwitcher-DVWPgeL0-8qGmZwOz.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcherWithToggle-kmZOYJwI-CNr8HJvn.js → TimeframeSwitcherWithToggle-BWGJWyJr-ClUkg8re.js} +1 -1
  158. package/dist/assets/{TopExCard-DeYN3ImD-B_G3aCn4.js → TopExCard-CUrz7PjD-Co2zX82Y.js} +5 -5
  159. package/dist/assets/{TopExDetailPage-BmyFCtzb-Cf6VgVmt.js → TopExDetailPage-BMzQUB6s-BXWwFBJe.js} +3 -3
  160. package/dist/assets/{TransactionDetailPage-BFpvUUmz-C0BrkJmS.js → TransactionDetailPage-CZdeoUBY-XP0PswSG.js} +31 -31
  161. package/dist/assets/{TransactionList-JHbSuP08-BE5oUWHj.js → TransactionList-CixEJAgS-CGekhIG9.js} +8 -8
  162. package/dist/assets/{TransactionListBig-FzOmuwBP-CVEEn05Z.js → TransactionListBig-CMVJvB3o-DxRTSLNX.js} +7 -7
  163. package/dist/assets/{TransactionListPage-Kkxkkd_A-uxvvUDBa.js → TransactionListPage-CAMz9-YS-BNVZMAVt.js} +6 -6
  164. package/dist/assets/{TransactionVendorDetailPage-m1wxsTyn-CtzfWKY9.js → TransactionVendorDetailPage-CzbyeJ4F-DfY35mWk.js} +3 -3
  165. package/dist/assets/{TransferDrawerPage-obzTPCDc-DmDROdGW.js → TransferDrawerPage-aQAyy9SJ-CtSZX6V_.js} +6 -6
  166. package/dist/assets/{TreasuryOverviewPage-DW68UR3w-CXp8UZWj.js → TreasuryOverviewPage-DStdhtYj-BmaX-LUn.js} +8 -8
  167. package/dist/assets/{TreasuryPromoPage-BW76YUSB-1YJbHf0S.js → TreasuryPromoPage-ukEVtL3s-BxkytgW6.js} +7 -7
  168. package/dist/assets/{TreasuryStatementsPage-BDD4VO8n-DUjcdDs1.js → TreasuryStatementsPage-CrTNmv-B-fC2pfiKh.js} +1 -1
  169. package/dist/assets/{TreasuryTaxLetterPage-B2NDIt_Q-DCX4Q69d.js → TreasuryTaxLetterPage-BkyI9zJM-Ds84Dj6n.js} +1 -1
  170. package/dist/assets/{TrendChart-D5CYCZnh-DAyWGjcL.js → TrendChart-BV_FYo44-Dbzn5dy8.js} +1 -1
  171. package/dist/assets/{TrendWithTransactions-DoCnDpHm-CdDHaHZ9.js → TrendWithTransactions-COtEkfX9-BcCvtDz-.js} +5 -5
  172. package/dist/assets/{UncategorizedAccountsMappingPage-DX_TBAhJ-BssvOjsa.js → UncategorizedAccountsMappingPage-CDFz90Rp-CAIHAo3N.js} +1 -1
  173. package/dist/assets/{UnitIntegrationPage-DZfp553j-ByWZS3hU.js → UnitIntegrationPage-DU3fVYZs-CPctIuWc.js} +1 -1
  174. package/dist/assets/UploadAdditionalDocumentOverlay-C663UVhz-FUVjkpYI.js +38 -0
  175. package/dist/assets/{Vendor2FAPopup-BmT-gcIz-n3vjq-3y.js → Vendor2FAPopup-DTGw_BLn-CTkC0axp.js} +1 -1
  176. package/dist/assets/{VendorACHDetailsPage-CQ7Hq4OS-OICNgdvg.js → VendorACHDetailsPage-BEB-BRPf-BW1XdRCh.js} +1 -1
  177. package/dist/assets/{VendorDetailPage-Cs6xk6eD-zl-heKdM.js → VendorDetailPage-DgKqF5w_-Da2PCb7B.js} +5 -5
  178. package/dist/assets/{VendorDomesticWireDetailsPage-8mY07nVg-DHqiq7vN.js → VendorDomesticWireDetailsPage-DsT7aeCi-Cxqzwzrv.js} +1 -1
  179. package/dist/assets/{VendorFiling1099EditablePage-CAFeI80I-sDSbFxEy.js → VendorFiling1099EditablePage-DSQPqiXK-BlXqobVl.js} +14 -14
  180. package/dist/assets/{VendorFirstReviewPage-ACNdg13I-BUeCp6NI.js → VendorFirstReviewPage-CHhQfRiw-BCpTFAZN.js} +70 -70
  181. package/dist/assets/{VendorInternationalWireDetailsPage-BpkamVMK-D0VBsQab.js → VendorInternationalWireDetailsPage-BALUN3IH-B1HapV15.js} +4 -4
  182. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Gvr65ujG-DJLCreKr.js → VendorInternationalWireSwiftDetailsPage-BCJLWye_-CJZeW3NQ.js} +1 -1
  183. package/dist/assets/{VendorsAccountsSection-AmC5VwVD-DhkXxukb.js → VendorsAccountsSection-BNeOtayE-BfOhq53p.js} +1 -1
  184. package/dist/assets/{VerifyDevice-PHsuiYk_-D412mfmG.js → VerifyDevice-BdS9Wg6i-km9HNFiy.js} +2 -2
  185. package/dist/assets/{VideoPlayer-DSqyhtMK-C3AGcKQT.js → VideoPlayer--4ECwDUJ-DpdXEWOa.js} +1 -1
  186. package/dist/assets/{VideoPopup-BcGkTYtT-KpRyilVI.js → VideoPopup-D0KR8nhb-L_41dJ_u.js} +1 -1
  187. package/dist/assets/{WarningsDrawerPage-BMxsT694-CfyoaWK9.js → WarningsDrawerPage-CZi7W_N2-BvrjJAup.js} +10 -10
  188. package/dist/assets/{ZeniAccountDetailPage-CvVIdc-T-DXao_tc2.js → ZeniAccountDetailPage-DRpUQWRY-CFQQ9DDl.js} +1 -1
  189. package/dist/assets/{ZeniAccountListViewPage-D8RyYP_F-v3DmCD-q.js → ZeniAccountListViewPage-B58qILci-DPpjeTIQ.js} +1 -1
  190. package/dist/assets/{ZeniAccountNavBarPieces-DN7XGX4V-Dx8A5GLh.js → ZeniAccountNavBarPieces-BvwIaUWa-BHDVxbAK.js} +2 -2
  191. package/dist/assets/{ZeniAccountPromoPage-DtkPkWS_-DSD29DUQ.js → ZeniAccountPromoPage-BKn8HRaG-C8TqY5PJ.js} +10 -10
  192. package/dist/assets/{ZeniAccountSetupPage-NDzdHEb2-CwWBVh2N.js → ZeniAccountSetupPage-B52_WsH5-Ny13na_H.js} +2 -2
  193. package/dist/assets/{ZeniCopyright-C2Et8K0x-lDJzPJZG.js → ZeniCopyright-BBZoZbnj-BkZUi5kn.js} +1 -1
  194. package/dist/assets/{ZeniTransferAmountSlider-D7NLq8nU-CERt_WDB.js → ZeniTransferAmountSlider-DuVixxF--B3VBiout.js} +1 -1
  195. package/dist/assets/{analyticsHelper-CaFa35yP-G2_hr-0j.js → analyticsHelper-BFEbpTaS-CI1-ZwNW.js} +1 -1
  196. package/dist/assets/{analyticsHelper-DU_Un8e0.js → analyticsHelper-DEd3yAFk.js} +1 -1
  197. package/dist/assets/{chartTypes-D3stzk-w-BOvyI3x_.js → chartTypes-D3rvsvls-DmtOpgie.js} +1 -1
  198. package/dist/assets/{commonDimensions-DP_SFwFq-B4nonWMr.js → commonDimensions-DTY9_AOp-DlMPlh2t.js} +1 -1
  199. package/dist/assets/{detailCommon-Cz5amAEd-Cc-pki0l.js → detailCommon-CLP6KEix-B5bEqT96.js} +4 -4
  200. package/dist/assets/{downloadPdf-BEpDZsHw-iAkz6QUF.js → downloadPdf-DEpaGHNR-Bw53_d32.js} +1 -1
  201. package/dist/assets/{index-CUpJHznP.js → index-CN7UAWAg.js} +2530 -2515
  202. package/dist/assets/{mapLoadingInProgressToTreeNode-9Bg2UmOc-COxeXpBk.js → mapLoadingInProgressToTreeNode-B_mkEOSy-BQa7i_Nl.js} +1 -1
  203. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrGK4Cl1-CK5Yo8-v.js → mapSectionWithAcOnlyToTreeNode-C_s2TWXG-1zhixfCC.js} +1 -1
  204. package/dist/assets/{mapSpacerToTreeNode-Dpahky1g-BWER0KF3.js → mapSpacerToTreeNode-BsPCAFm5-CkJKxUF2.js} +1 -1
  205. package/dist/assets/{mapTimeframeBalancesToTreeNode-DGNk2hE1-BtbWYKjA.js → mapTimeframeBalancesToTreeNode-6mbqZF6a-D84LKXiT.js} +1 -1
  206. package/dist/assets/{mapTimeframeBalancesToTreeNode-DD94NO-L-IqTvqjc2.js → mapTimeframeBalancesToTreeNode-DLbpODYp-DDiXCv85.js} +1 -1
  207. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CJYVSL83-sS_oqH0-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CKvU3bUP-kVnJxQIG.js} +1 -1
  208. package/dist/assets/{toCOABalancesWithID-iOGWxWc5-CwkpaTeT.js → toCOABalancesWithID-CHHSLp5k-D9n1b9Hs.js} +1 -1
  209. package/dist/assets/{toChartData-BEJwj1pL-BUKCXEQF.js → toChartData-CBhPep_F-DbHa5eNf.js} +1 -1
  210. package/dist/assets/{uploadAttachment-Cs4cwF3u-BqxRSnPC.js → uploadAttachment-BXzSdWYh-ChPsAoWK.js} +6 -6
  211. package/dist/assets/{uploadReceipts-Dp1dvCjf-Rghek-rE.js → uploadReceipts-Dp1dvCjf-CdBFemgP.js} +1 -1
  212. package/dist/index.html +1 -1
  213. package/package.json +4 -4
  214. package/dist/assets/CustomerOnboardingContainerPage-BoQBdIuG-Dc2nEhqg.js +0 -1
  215. package/dist/assets/EditPeoplePage-DIj7SItK-CKkznNAO.js +0 -55
  216. package/dist/assets/RoleWithToolTip-CqLSnFDx-DgQ7tDAb.js +0 -22
  217. package/dist/assets/UploadAdditionalDocumentOverlay-BqO1S9_p-C6rWAFOs.js +0 -38
@@ -1,4 +1,4 @@
1
- import{ax as Ce,l as SA,j as e,ay as Jt,az as Pt,aA as Ut,o as a,aB as Ot,G as MA,aC as Tt,aD as Ee,aE as Ht,aF as Yt,aG as Kt,aH as Nt,aI as Gt,aJ as zt,aK as P,F as I,q as $,aL as Y,aM as y,aN as H,aO as q,u as S,aa as Wt,aP as He,_ as Ye,ad as qt,aQ as Xt,y as Z,aR as K,aS as _,an as AA,aT as Ke,aU as J,aV as U,aW as YA,p as f,ap as Vt,d as iA,aX as Zt,aY as KA,aZ as $t,a_ as _t,a$ as Ar,ai as F,b0 as RA,ar as NA,am as LA,b1 as Ne,b2 as Ge,b3 as ze,b4 as er,b5 as GA,B as tr,M as rr,b6 as or,b7 as We,b8 as ar,b9 as ir,ba as zA,bb as gr,bc as Cr,bd as nr,be as sr,bf as Er,bg as dr,bh as Br,bi as lr,bj as Qr,L as qe,b as Ir,bk as cr,r as hr,bl as Xe,bm as Ve,ao as pr,bn as mr,aj as ur,au as Ze}from"./index-CUpJHznP.js";import{b as t,n as g,w as k,u as xr,i as pA,k as R}from"./vendor-Bs1fkIUX.js";import{v as fr}from"./DashboardSidebarBackgroundAnimation-4ckOdfXR-Csek43Wl.js";import{L as wr,k as kr}from"./ArAgingChart-TzANw6Zm-ud3qmxZt.js";import{E as Dr,I as ne,z as $e}from"./ReloadCard-Cnz9ywvF-BGT4MYH-.js";import{L as yr,O as FA,c as dA}from"./TopExCard-DeYN3ImD-B_G3aCn4.js";import{H as jr,Y as vr,G as br,P as Mr,N as Sr}from"./RevenueChart-B0CcrRHw-DSEzCN2z.js";import Rr from"./InsightsCardStack-EFoc_EWA-D2FaxDtB.js";import{a as Lr}from"./AccountsPromoCardStack-CqXbhSj4-Dxz2-66c.js";import{c as X}from"./SummaryCard-Bk5Eh2IR-CvYAWxo_.js";import{t as Fr,o as Jr}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{N as aA}from"./NavigationArrow-DQfX85VC-Dvm4TJ9a.js";import{j as WA}from"./NavigationDots-CyCjbpW--DGfBQuMJ.js";import Pr from"./CompanyPassportCard-ki3cq_A3-BIFk_EYX.js";import{C as Ur}from"./gift-box-Cmt9OgIZ-Bnh-gm_T.js";import Or from"./InformationCardStack-C5bKx9vg-k3hJn-Id.js";import{p as _e}from"./chartTypes-D3stzk-w-BOvyI3x_.js";import{h as Tr}from"./toCOABalancesWithID-iOGWxWc5-CwkpaTeT.js";import{V as Hr}from"./toChartData-BEJwj1pL-BUKCXEQF.js";import{r as Yr,i as Kr}from"./graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js";import{N as Nr,J as Gr}from"./PromoBaseCards-8tkwl6GI-B2drNSiA.js";import{r as zr}from"./mui-Ty75qFQF.js";import{K as Wr,I as qr}from"./VideoPlayer-DSqyhtMK-C3AGcKQT.js";import Xr from"./ConfettiBurst-Dq3DwwfS-Bk63elQ-.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Vr=g(_)`
1
+ import{ax as Ce,l as SA,j as e,ay as Jt,az as Pt,aA as Ut,o as a,aB as Ot,D as MA,aC as Tt,aD as Ee,aE as Ht,aF as Yt,aG as Kt,aH as Nt,aI as Gt,aJ as zt,aK as P,F as I,q as $,aL as Y,aM as y,aN as H,aO as q,u as S,aa as Wt,aP as He,L as Ye,ad as qt,aQ as Xt,y as Z,aR as K,aS as _,an as AA,aT as Ke,aU as J,aV as U,aW as YA,p as f,ap as Vt,d as iA,aX as Zt,aY as KA,aZ as $t,a_ as _t,a$ as Ar,ai as F,b0 as RA,ar as NA,am as LA,b1 as Ne,b2 as Ge,b3 as ze,b4 as er,b5 as GA,B as tr,M as rr,b6 as or,b7 as We,b8 as ar,b9 as ir,ba as zA,bb as gr,bc as Cr,bd as nr,be as sr,bf as Er,bg as dr,bh as Br,bi as lr,bj as Qr,k as qe,b as Ir,bk as cr,r as hr,bl as Xe,bm as Ve,ao as pr,bn as mr,aj as ur,au as Ze}from"./index-CN7UAWAg.js";import{b as t,n as g,w as k,u as xr,i as pA,k as R}from"./vendor-Bs1fkIUX.js";import{v as fr}from"./DashboardSidebarBackgroundAnimation-BKaRUOA4-CrFQyftY.js";import{L as wr,k as kr}from"./ArAgingChart-GDCZoeS6-ejUvAmZP.js";import{E as Dr,I as ne,z as $e}from"./ReloadCard-CqdeJe0l-Bb07dYPg.js";import{L as yr,O as FA,c as dA}from"./TopExCard-CUrz7PjD-Co2zX82Y.js";import{H as jr,Y as vr,G as br,P as Mr,N as Sr}from"./RevenueChart-ChbWXtmx-BA32Na2v.js";import Rr from"./InsightsCardStack-DfJXM3Fn-B0luA3Cz.js";import{a as Lr}from"./AccountsPromoCardStack-DkqmFDos-CykT6dqn.js";import{c as X}from"./SummaryCard-fjNCTkA5-B-M5KnHi.js";import{t as Fr,o as Jr}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{N as aA}from"./NavigationArrow-B5JMjj8b-Yf4kFeB6.js";import{j as WA}from"./NavigationDots-yYEq4mai-Bct7I6H1.js";import Pr from"./CompanyPassportCard-CUcLJOne-CwK5fmgg.js";import{C as Ur}from"./gift-box-Cmt9OgIZ-Bnh-gm_T.js";import Or from"./InformationCardStack-BYRwUh-e-Bm84GPsq.js";import{p as _e}from"./chartTypes-D3rvsvls-DmtOpgie.js";import{h as Tr}from"./toCOABalancesWithID-CHHSLp5k-D9n1b9Hs.js";import{V as Hr}from"./toChartData-CBhPep_F-DbHa5eNf.js";import{r as Yr,i as Kr}from"./graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js";import{N as Nr,J as Gr}from"./PromoBaseCards-CnQcR3Wn-B3iRHG7z.js";import{r as zr}from"./mui-Ty75qFQF.js";import{K as Wr,I as qr}from"./VideoPlayer--4ECwDUJ-DpdXEWOa.js";import Xr from"./ConfettiBurst-KNUWsLgM-C3W-6qSV.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Vr=g(_)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,de=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{q as B,d as q,F as _,ax as Oe,l as D,j as s,bG as Xe,L as Je,G as Ke,bI as Qe,o as d,y as N,aC as Q,bJ as et,bK as tt,ai as ae,u as C,b3 as st,aU as ot,bL as at,_ as Be,n as Pe,p as T,ar as Le,aT as nt,ba as it,ao as rt,bM as ct,av as lt,bN as dt,bO as ie,bP as pt,au as ut,an as gt,bQ as ht}from"./index-CUpJHznP.js";import{b as y,w as ee,n as u,k as Ne}from"./vendor-Bs1fkIUX.js";import{m as U,l as oe}from"./analyticsHelper-CaFa35yP-G2_hr-0j.js";import{h as mt,u as ft}from"./ReportTableViewSelector-B70dJfTV-SlWwkWXT.js";import{q as bt}from"./InsightsSection-B0Rg5beY-u8CdyXOx.js";import{k as _e,q as xt,G as _t,H as te,N as ue}from"./detailCommon-Cz5amAEd-Cc-pki0l.js";import{N as wt,P as St,H as we,Y as Se,G as ye}from"./RevenueChart-B0CcrRHw-DSEzCN2z.js";import{C as yt}from"./NoDataChart-BnAshBnb-UHLHtstu.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-fGI52XTc-B8YAuD1t.js";import{b as Ie}from"./TimeframeSwitcher-CV-bryv5-BZG0GUCh.js";import{I as $t,R as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-DERfLf9A-B02u2C6v.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-CrGK4Cl1-CK5Yo8-v.js";import{d as Pt}from"./NoDataTable-BhokhW6d-QEuWLEd7.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CJYVSL83-sS_oqH0-.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-9Bg2UmOc-COxeXpBk.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./NavigationDots-CyCjbpW--DGfBQuMJ.js";import"./chartTypes-D3stzk-w-BOvyI3x_.js";import"./toCOABalancesWithID-iOGWxWc5-CwkpaTeT.js";import"./toChartData-BEJwj1pL-BUKCXEQF.js";import"./AccountRow-BrRxbza5-pSnSZur-.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Lt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Nt=u.div`
1
+ import{q as B,d as q,F as _,ax as Oe,l as D,j as s,bG as Xe,k as Je,D as Ke,bI as Qe,o as d,y as N,aC as Q,bJ as et,bK as tt,ai as ae,u as C,b3 as st,aU as ot,bL as at,L as Be,n as Pe,p as T,ar as Le,aT as nt,ba as it,ao as rt,bM as ct,av as lt,bN as dt,bO as ie,bP as pt,au as ut,an as gt,bQ as ht}from"./index-CN7UAWAg.js";import{b as y,w as ee,n as u,k as Ne}from"./vendor-Bs1fkIUX.js";import{m as U,l as oe}from"./analyticsHelper-BFEbpTaS-CI1-ZwNW.js";import{h as mt,u as ft}from"./ReportTableViewSelector-DgPlLWgl-CNrxPhYC.js";import{q as bt}from"./InsightsSection-4aveyVKo-DnKJf3sJ.js";import{k as _e,q as xt,G as _t,H as te,N as ue}from"./detailCommon-CLP6KEix-B5bEqT96.js";import{N as wt,P as St,H as we,Y as Se,G as ye}from"./RevenueChart-ChbWXtmx-BA32Na2v.js";import{C as yt}from"./NoDataChart-CetZJAul-Dliv4FgS.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as vt}from"./TimeRangeSwitcher-B4FKox6K-C6y8kYZQ.js";import{b as Ie}from"./TimeframeSwitcher-DVWPgeL0-8qGmZwOz.js";import{I as $t,R as V,x as jt,l as ge,D as Ct}from"./CollapsableReportTable-o0pGO_sw-CoQujIPL.js";import{S as kt,M as Ot,g as Bt,L as se,D as Re,T as De,I as Te}from"./mapSectionWithAcOnlyToTreeNode-C_s2TWXG-1zhixfCC.js";import{d as Pt}from"./NoDataTable-CbxTnnUj-RBS2BO0t.js";import{d as he,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CKvU3bUP-kVnJxQIG.js";import{d as fe}from"./mapLoadingInProgressToTreeNode-B_mkEOSy-BQa7i_Nl.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./NavigationDots-yYEq4mai-Bct7I6H1.js";import"./chartTypes-D3rvsvls-DmtOpgie.js";import"./toCOABalancesWithID-CHHSLp5k-D9n1b9Hs.js";import"./toChartData-CBhPep_F-DbHa5eNf.js";import"./AccountRow-CjMOMc-1-x3Qeaa-E.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const Lt=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Nt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -26,17 +26,17 @@ import{q as B,d as q,F as _,ax as Oe,l as D,j as s,bG as Xe,L as Je,G as Ke,bI a
26
26
  `,Ht=u.div`
27
27
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
28
28
  height: ${d.sp6};
29
- `;function Gt({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:a}=t,{availableNumberOfPeriods:n,calculatedSections:i}=e,r=i.netBurnOrIncome.balances;if(n==null||n===0||r.length===0)return s.jsx(Ht,{});const p=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(m,p);return s.jsx(Wt,{children:s.jsx(te,{balance:m,dateText:g,showInfotip:!1})})}const Yt=u.div`
29
+ `;function Yt({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:a}=t,{availableNumberOfPeriods:n,calculatedSections:i}=e,r=i.netBurnOrIncome.balances;if(n==null||n===0||r.length===0)return s.jsx(Ht,{});const p=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(m,p);return s.jsx(Wt,{children:s.jsx(te,{balance:m,dateText:g,showInfotip:!1})})}const Gt=u.div`
30
30
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
31
31
  `,Ut=u.div`
32
32
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
33
33
  height: ${d.sp6};
34
- `;function Zt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a}=e,{selectedAdditionalBalances:n}=t,i=e.sections.expenses.balances??[];if(a==null||a===0||i.length===0)return s.jsx(Ut,{});const r=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),p=i.reduce((g,h)=>g+h.balance.amount,0),o=i[i.length-1],l=i[0],c={...o,balance:{...o.balance,amount:p},startDate:l.startDate},m=ue(c,r);return s.jsx(Yt,{children:s.jsx(te,{balance:c,dateText:m,showInfotip:!1})})}const qt=u.div`
34
+ `;function Zt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a}=e,{selectedAdditionalBalances:n}=t,i=e.sections.expenses.balances??[];if(a==null||a===0||i.length===0)return s.jsx(Ut,{});const r=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),p=i.reduce((g,h)=>g+h.balance.amount,0),o=i[i.length-1],l=i[0],c={...o,balance:{...o.balance,amount:p},startDate:l.startDate},m=ue(c,r);return s.jsx(Gt,{children:s.jsx(te,{balance:c,dateText:m,showInfotip:!1})})}const qt=u.div`
35
35
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
36
36
  `,Xt=u.div`
37
37
  padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
38
38
  height: ${d.sp6};
39
- `;function Jt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(Xt,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(m,p);return s.jsx(qt,{children:s.jsx(te,{balance:m,dateText:g,showInfotip:!1})})}const Kt=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(Gt,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(Jt,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(Zt,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Vt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Ft,{highlightedRangeReport:e});default:return null}},K={wrapperPadding:new N(C[3],C[3],C[8]),chartHeight:new N(288,360)},Qt=u.div`
39
+ `;function Jt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(Xt,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=ue(m,p);return s.jsx(qt,{children:s.jsx(te,{balance:m,dateText:g,showInfotip:!1})})}const Kt=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(Yt,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(Jt,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(Zt,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Vt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Ft,{highlightedRangeReport:e});default:return null}},K={wrapperPadding:new N(C[3],C[3],C[8]),chartHeight:new N(288,360)},Qt=u.div`
40
40
  display: flex;
41
41
  flex: 1 1 auto;
42
42
  flex-direction: column;
@@ -197,7 +197,7 @@ import{q as B,d as q,F as _,ax as Oe,l as D,j as s,bG as Xe,L as Je,G as Ke,bI a
197
197
  border-radius: 12px;
198
198
  border: ${e=>`1px solid ${e.theme.colors.grey5}`};
199
199
  padding: ${d.sp2};
200
- `,de=()=>s.jsxs(ps,{children:[s.jsx(us,{}),s.jsx(gs,{})]}),He=({imgSrc:e})=>{const t=B();return s.jsxs(fs,{windowSize:t,children:[s.jsx(xs,{windowSize:t,children:s.jsx(_s,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(bs,{windowSize:t,children:[s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},ws=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(ns,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Fe,{children:s.jsx(Ee,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsx(rs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Me,{windowSize:i,children:[s.jsx(ms,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Ss=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(as,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Fe,{children:s.jsx(Ee,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsxs(is,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Me,{windowSize:i,children:[s.jsx(hs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(cs,{children:s.jsx(de,{})}),s.jsx(ls,{children:s.jsx(de,{})}),s.jsx(ds,{children:s.jsx(de,{})})]})]})};function ys(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(ws,{...e}):s.jsx(Ss,{...e})}const pe="ZeniSwitch",A={root:`${pe}-root`,switchBase:`${pe}-switchBase`,track:`${pe}-track`},vs=({className:e,...t})=>s.jsx(pt,{...t,className:e,classes:{...A}}),$s=u(vs)(({theme:e})=>({[`& .${A.switchBase}`]:{color:e.colors.grey2},[`& .${A.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${A.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${A.switchBase}.Mui-checked + .${A.track}`]:{backgroundColor:e.colors.grey1},[`& .${A.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${A.switchBase}.Mui-disabled + .${A.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),Ge=e=>s.jsx($s,{...e}),Z={containerMaxWidth:new N(124,154),forecastNameInnerWidth:new N(75,105),forecastNameOuterWidth:new N(90,120),tooltipTopPosition:new N(51,51),tooltipWidth:new N(180,150)},ve=u.div``,js=u.div`
200
+ `,de=()=>s.jsxs(ps,{children:[s.jsx(us,{}),s.jsx(gs,{})]}),He=({imgSrc:e})=>{const t=B();return s.jsxs(fs,{windowSize:t,children:[s.jsx(xs,{windowSize:t,children:s.jsx(_s,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(bs,{windowSize:t,children:[s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(le,{children:[s.jsx(ce,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},ws=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(ns,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Fe,{children:s.jsx(Ee,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsx(rs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Me,{windowSize:i,children:[s.jsx(ms,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Ss=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=q(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=ze[a][r.mode];return s.jsxs(as,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Fe,{children:s.jsx(Ee,{children:s.jsx(Be,{style:{width:"18px",height:"18px"}})})}),s.jsxs(is,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Me,{windowSize:i,children:[s.jsx(hs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(He,{imgSrc:l}),s.jsxs(Ve,{children:[s.jsx(Pe,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(We,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(cs,{children:s.jsx(de,{})}),s.jsx(ls,{children:s.jsx(de,{})}),s.jsx(ds,{children:s.jsx(de,{})})]})]})};function ys(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(ws,{...e}):s.jsx(Ss,{...e})}const pe="ZeniSwitch",A={root:`${pe}-root`,switchBase:`${pe}-switchBase`,track:`${pe}-track`},vs=({className:e,...t})=>s.jsx(pt,{...t,className:e,classes:{...A}}),$s=u(vs)(({theme:e})=>({[`& .${A.switchBase}`]:{color:e.colors.grey2},[`& .${A.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${A.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${A.switchBase}.Mui-checked + .${A.track}`]:{backgroundColor:e.colors.grey1},[`& .${A.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${A.switchBase}.Mui-disabled + .${A.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),Ye=e=>s.jsx($s,{...e}),Z={containerMaxWidth:new N(124,154),forecastNameInnerWidth:new N(75,105),forecastNameOuterWidth:new N(90,120),tooltipTopPosition:new N(51,51),tooltipWidth:new N(180,150)},ve=u.div``,js=u.div`
201
201
  min-width: ${e=>Z.forecastNameInnerWidth.valuePx(e.windowSize)};
202
202
  &:hover {
203
203
  .info-tooltip {
@@ -278,7 +278,7 @@ import{q as B,d as q,F as _,ax as Oe,l as D,j as s,bG as Xe,L as Je,G as Ke,bI a
278
278
  display: flex;
279
279
  width: 100%;
280
280
  flex-direction: row;
281
- `,Ye=u.div`
281
+ `,Ge=u.div`
282
282
  display: flex;
283
283
  flex-direction: row;
284
284
  flex: 1 1 auto;
@@ -298,7 +298,7 @@ import{q as B,d as q,F as _,ax as Oe,l as D,j as s,bG as Xe,L as Je,G as Ke,bI a
298
298
  justify-self: flex-end;
299
299
  justify-content: flex-end;
300
300
  min-width: 315px;
301
- `,Gs=u.div`
301
+ `,Ys=u.div`
302
302
  display: flex;
303
303
  flex-direction: row;
304
304
  align-items: center;
@@ -306,10 +306,10 @@ import{q as B,d as q,F as _,ax as Oe,l as D,j as s,bG as Xe,L as Je,G as Ke,bI a
306
306
  `,Ue=u(ae)`
307
307
  color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
308
308
  opacity: ${e=>e.isDisabled?.5:1};
309
- `,Ze=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ue,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(Ge,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function qe({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Gs,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Ms,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ue,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Ge,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const Ys=e=>{const t=B();return s.jsxs(Es,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ws,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},Us=e=>{const t=B();return s.jsxs(Vs,{children:[s.jsx(Ye,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Hs,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function Zs(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ys,{...e}):s.jsx(Us,{...e})}const qs=u.div`
309
+ `,Ze=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ue,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(Ye,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function qe({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Ys,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Ms,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ue,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Ye,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const Gs=e=>{const t=B();return s.jsxs(Es,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ws,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},Us=e=>{const t=B();return s.jsxs(Vs,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Ie,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Hs,{children:[e.forecastListWithToggle!=null&&s.jsx(qe,{...e.forecastListWithToggle}),s.jsx(Ze,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function Zs(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Gs,{...e}):s.jsx(Us,{...e})}const qs=u.div`
310
310
  display: flex;
311
311
  padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
312
- `,Xs=u.div``,Js=u.div``,Ks=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=Oe(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:m,timeframe:g}=a,h=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,W=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,F]=y.useState(!1),G=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),E=a.mode,I=a.selectedForecast;y.useEffect(()=>{E==="forecast_mode"&&b==="Completed"&&S?.length===0&&(F(!0),document.body.style.overflow="hidden")},[b,E,S]),y.useEffect(()=>{E==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const H=(v,j,Y)=>{j===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,Y)};return s.jsx(Js,{children:s.jsxs(Xs,{children:[s.jsx(qs,{children:s.jsx(Zs,{timeframe:{allowedTimeframes:h,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(U(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const j=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),U(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:W,onForecastSelectionChanged:(v,j)=>H("forecast_mode",!1,{id:v,index:j}),onForecastToggleChanged:v=>{H(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(ys,{meetingUrl:G,reportId:t.reportId,onClose:()=>{F(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(vt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:_e(c,m),highlightedOfSelectedTicks:_e(c,m)},onClick:(v,j)=>{je(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const Y=xt(c,v.fromEnd),X=_t(c,j);je(t.firstMonthOfFY,x,t.reportId,g,X.thisPeriod,e.analytics),p(Y,X)}})]})})},je=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"range filter",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,oe(e,n,i))};function be({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:V("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function Qs({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=V("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((m,g)=>be({account:m,sectionType:t,numOfBalances:a,title:m.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function Ce({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=V("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Ct(e,r.displayOrder,a,!1),c=eo(l.balances),m=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=m.compactedAccountsSelectorVariant(e.accountsOrdered),h=m.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(h.length>0||e.accountsOrdered.length>0)){const f=h.map((w,S)=>Qs({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===h.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>be({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function eo(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function M({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??V("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function to(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=M({balances:r,config:t}),o=Ce({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=Ce({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=se({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function xe({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??V("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function so(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=M({balances:r,config:t}),l=xe({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=V("section",[],n.sections.netCashFlow),m=ge("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,h)=>be({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:h===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...m]}}function oo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isNetBurnOrIncomeClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isNetBurnOrIncomeClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:h==="netBurnOrIncome"?e.reportTitle:i.sections[h],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ao(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isNetBurnOrIncomeReportViewSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function no(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=M({balances:m,config:t}),h=e.sections.expenses,f=xe({title:_.getLocalizedStrings().chartCard.total,balances:h,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=V("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(kt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:S===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function io(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=M({balances:r,config:t}),o=e.sections.expenses,l=xe({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=V("section",[],n.sections.expenses),m=jt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const h=m.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(h.length!=0){const f=h.map((x,w)=>Ot({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===h.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=m.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Bt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function ro(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isRevenueClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isRevenueClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function co(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isRevenueSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function lo(e,t,a,n=!0){Object.assign(e.config,t);const i=po(a),r=M({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const po=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},ke={contentPaddingLeft:new N(C[0],C[0],C[0]),contentPaddingRight:new N(C[3],C[3],C[8])},uo=u.div`
312
+ `,Xs=u.div``,Js=u.div``,Ks=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=Oe(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:m,timeframe:g}=a,h=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,b;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:S=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,W=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,F]=y.useState(!1),Y=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),E=a.mode,I=a.selectedForecast;y.useEffect(()=>{E==="forecast_mode"&&b==="Completed"&&S?.length===0&&(F(!0),document.body.style.overflow="hidden")},[b,E,S]),y.useEffect(()=>{E==="forecast_mode"&&I!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[I.index].name)},[I]);const H=(v,j,G)=>{j===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};return s.jsx(Js,{children:s.jsxs(Xs,{children:[s.jsx(qs,{children:s.jsx(Zs,{timeframe:{allowedTimeframes:h,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(U(v),R(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const j=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,R(t.reportId),U(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:W,onForecastSelectionChanged:(v,j)=>H("forecast_mode",!1,{id:v,index:j}),onForecastToggleChanged:v=>{H(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(ys,{meetingUrl:Y,reportId:t.reportId,onClose:()=>{F(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(vt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:_e(c,m),highlightedOfSelectedTicks:_e(c,m)},onClick:(v,j)=>{je(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const G=xt(c,v.fromEnd),X=_t(c,j);je(t.firstMonthOfFY,x,t.reportId,g,X.thisPeriod,e.analytics),p(G,X)}})]})})},je=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(a),U(n),"range filter",oe(e,n,i)),r?.trackDateRangeFilterChange(R(a),"range filter",t,oe(e,n,i))};function be({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:V("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function Qs({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=V("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((m,g)=>be({account:m,sectionType:t,numOfBalances:a,title:m.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function Ce({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=V("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Ct(e,r.displayOrder,a,!1),c=eo(l.balances),m=ge(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=m.compactedAccountsSelectorVariant(e.accountsOrdered),h=m.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(h.length>0||e.accountsOrdered.length>0)){const f=h.map((w,S)=>Qs({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:S===h.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,S)=>be({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function eo(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function M({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??V("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function to(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=M({balances:r,config:t}),o=Ce({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=Ce({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=se({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function xe({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??V("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function so(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=M({balances:r,config:t}),l=xe({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=V("section",[],n.sections.netCashFlow),m=ge("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,h)=>be({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:h===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...m]}}function oo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isNetBurnOrIncomeClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isNetBurnOrIncomeClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:h==="netBurnOrIncome"?e.reportTitle:i.sections[h],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function ao(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isNetBurnOrIncomeReportViewSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function no(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=M({balances:m,config:t}),h=e.sections.expenses,f=xe({title:_.getLocalizedStrings().chartCard.total,balances:h,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=V("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,S)=>{o.push(kt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:S===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function io(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=M({balances:r,config:t}),o=e.sections.expenses,l=xe({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=V("section",[],n.sections.expenses),m=jt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const h=m.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(h.length!=0){const f=h.map((x,w)=>Ot({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===h.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=m.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,S)=>Bt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:S===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:S===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function ro(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=he({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=me[h];const x=fe({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=M({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(D.isRevenueClassesViewSectionID(h)===!0){const f=e.sections[h];f!=null&&o.push(Re({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(D.isRevenueClassesViewCalculatedSectionID(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(se({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function co(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=M({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{D.isRevenueSectionID(l)===!0?e.sections[l].accountGroups.length>0?o.push(De({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(Te({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(l)===!0&&o.push(se({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function lo(e,t,a,n=!0){Object.assign(e.config,t);const i=po(a),r=M({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const po=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},ke={contentPaddingLeft:new N(C[0],C[0],C[0]),contentPaddingRight:new N(C[3],C[3],C[8])},uo=u.div`
313
313
  width: 100%;
314
314
  height: calc(100vh - 70px);
315
315
  `,go=u.div`
@@ -323,7 +323,7 @@ import{q as B,d as q,F as _,ax as Oe,l as D,j as s,bG as Xe,L as Je,G as Ke,bI a
323
323
  position: absolute;
324
324
  padding-top: ${d.sp3};
325
325
  background-color: ${e=>e.theme.colors.grey4};
326
- `,mo=e=>{const t=B(),a=q(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:m,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:h,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,$=r.mode==="compare_mode"&&!b,k=$||r.mode==="forecast_mode"?3:1,W=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),U(r.timeframe),"dropdown");const L=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[L],x?.numberOfPeriods??k)},[P,F]=y.useState(void 0),[G,E]=y.useState(void 0),I=!(t==="small"||t==="medium-compact"),H=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=bo(r.selectedAdditionalBalances),j=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,Y=w==="forecast_mode"?"actual_vs_forecast":$===!0?"this_period_vs_period_before":"none",X=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ne=(O,L)=>{O!==i?.uiState.accountViewMode&&g?.(O),L&&h?.(L)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:Y,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:at(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!Q(G,j)||e.isPageFetchInProgress===!0){const L=fo(j,O,I,e.isPageFetchInProgress);E(j),F(L)}else{const L=lo(P,O,j,I);F(L)}},[H,$,j,e.isPageFetchInProgress]),s.jsx(go,{windowSize:t,children:S?s.jsx(Pt,{}):P!=null?s.jsxs(uo,{children:[s.jsx($t,{backgroundColor:new ot(a.colors.grey4),rootNodes:P,type:H,compareMode:v,isSticky:{isStickyHeader:I,isStickyName:I},treeNodePadding:{left:ke.contentPaddingLeft.value(t),right:ke.contentPaddingRight.value(t)},onAccountClick:m==null?void 0:(O,L)=>{m(O,L)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:W,onScroll:l,onNodeCollapseToggled:c}),X===!0&&i!==void 0?s.jsx(ho,{children:s.jsx(ft,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ne,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},fo=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ao(e,t,a);case"net_burn_or_income_by_classes":return oo(e,t,a,n);case"revenue":return co(e,t,a);case"revenue_by_classes":return ro(e,t,a,n);case"cash_position":return so(e,t,a);case"cash_in_cash_out":return to(e,t,a);case"operating_expenses":return io(e,t,a);case"operating_expenses_by_classes":return no(e,t,a,n);default:return}},bo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",J={chartWidth:"100%",barCount:8,barWidth:new N(C[6],C[8],C[10]),maxBarHeight:1},xo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=J.chartWidth,barCount:n=J.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=q(),o=B(),l=t??K.chartHeight.value(o),c=l-C[5],m=[...Array(n)].map((g,h)=>({height:(i?.[h]||J.maxBarHeight)*l,width:J.barWidth}));return s.jsx(_o,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(wo,{children:m.map((g,h)=>s.jsx(So,{children:s.jsx(et,{speed:2,width:J.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${h}-${g.height}`))})})},_o=u.div`
326
+ `,mo=e=>{const t=B(),a=q(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:m,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:h,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,$=r.mode==="compare_mode"&&!b,k=$||r.mode==="forecast_mode"?3:1,W=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),U(r.timeframe),"dropdown");const L=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[L],x?.numberOfPeriods??k)},[P,F]=y.useState(void 0),[Y,E]=y.useState(void 0),I=!(t==="small"||t==="medium-compact"),H=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=bo(r.selectedAdditionalBalances),j=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,G=w==="forecast_mode"?"actual_vs_forecast":$===!0?"this_period_vs_period_before":"none",X=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ne=(O,L)=>{O!==i?.uiState.accountViewMode&&g?.(O),L&&h?.(L)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:G,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:at(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!Q(Y,j)||e.isPageFetchInProgress===!0){const L=fo(j,O,I,e.isPageFetchInProgress);E(j),F(L)}else{const L=lo(P,O,j,I);F(L)}},[H,$,j,e.isPageFetchInProgress]),s.jsx(go,{windowSize:t,children:S?s.jsx(Pt,{}):P!=null?s.jsxs(uo,{children:[s.jsx($t,{backgroundColor:new ot(a.colors.grey4),rootNodes:P,type:H,compareMode:v,isSticky:{isStickyHeader:I,isStickyName:I},treeNodePadding:{left:ke.contentPaddingLeft.value(t),right:ke.contentPaddingRight.value(t)},onAccountClick:m==null?void 0:(O,L)=>{m(O,L)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:W,onScroll:l,onNodeCollapseToggled:c}),X===!0&&i!==void 0?s.jsx(ho,{children:s.jsx(ft,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ne,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},fo=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ao(e,t,a);case"net_burn_or_income_by_classes":return oo(e,t,a,n);case"revenue":return co(e,t,a);case"revenue_by_classes":return ro(e,t,a,n);case"cash_position":return so(e,t,a);case"cash_in_cash_out":return to(e,t,a);case"operating_expenses":return io(e,t,a);case"operating_expenses_by_classes":return no(e,t,a,n);default:return}},bo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",J={chartWidth:"100%",barCount:8,barWidth:new N(C[6],C[8],C[10]),maxBarHeight:1},xo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=J.chartWidth,barCount:n=J.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=q(),o=B(),l=t??K.chartHeight.value(o),c=l-C[5],m=[...Array(n)].map((g,h)=>({height:(i?.[h]||J.maxBarHeight)*l,width:J.barWidth}));return s.jsx(_o,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(wo,{children:m.map((g,h)=>s.jsx(So,{children:s.jsx(et,{speed:2,width:J.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${h}-${g.height}`))})})},_o=u.div`
327
327
  width: 100%;
328
328
  height: 100%;
329
329
  border-radius: ${d.sp2};
@@ -368,4 +368,4 @@ import{q as B,d as q,F as _,ax as Oe,l as D,j as s,bG as Xe,L as Je,G as Ke,bI a
368
368
  align-items: center;
369
369
  height: 100vh;
370
370
  margin-top: ${d.sp8};
371
- `,na=e=>{const t=B(),a=q(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:m,analytics:g,onBackClick:h,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,W=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!W,F=Oe(),G=F.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(F.loggedInUserRole),E=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){await At({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:S,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...m,reportType:G||E?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),U(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),z())},[m,k,o.filter,n,P,S,o,l,b,g,f,G,E,e.isZeniCOAUsed]);const I=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,H=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=D.reduceAllFetchState([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const z=P||c.mode==="forecast_mode"?3:1;x(P,$,z)},[t]);const j=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Ke.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:Y,autoCompleteActions:X,scrollPosition:ne,...O}=e,L=s.jsx(Qe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:I,isDownloading:k==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(yo,{children:[s.jsx(Xe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:h,rightSideComponent:L,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage",style:{zIndex:2}}),H?s.jsx(jo,{children:s.jsx(Je,{size:"Standard",start:!0})}):I?s.jsx(Dt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Lt}):s.jsxs(s.Fragment,{children:[s.jsxs(vo,{windowSize:t,children:[s.jsx(Bo,{...O}),s.jsx(Co,{highlightedRangeReport:o,uiState:c}),v?s.jsx(xo,{}):s.jsx(ko,{...O}),s.jsx($o,{children:s.jsx(bt,{insights:w})})]}),s.jsx(Oo,{scrollPosition:ne,isPageFetchInProgress:v,...O})]})]})},Co=ee.memo(Kt,Q),ko=ee.memo(ts,Q),Oo=ee.memo(mo,Q),Bo=ee.memo(Ks,Q);export{na as default};
371
+ `,na=e=>{const t=B(),a=q(),[n,i]=y.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:m,analytics:g,onBackClick:h,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:S,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,W=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!W,F=Oe(),Y=F.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(F.loggedInUserRole),E=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";y.useEffect(()=>{async function z(){await At({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:S,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...m,reportType:Y||E?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(R(o.reportId),U(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),z())},[m,k,o.filter,n,P,S,o,l,b,g,f,Y,E,e.isZeniCOAUsed]);const I=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,H=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=D.reduceAllFetchState([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";y.useEffect(()=>{const z=P||c.mode==="forecast_mode"?3:1;x(P,$,z)},[t]);const j=z=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Ke.Event.search,R(o.reportId),z.type,z.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(z)},{autoCompleteData:G,autoCompleteActions:X,scrollPosition:ne,...O}=e,L=s.jsx(Qe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:I,isDownloading:k==="In-Progress"}],onDownloadClick:async z=>{if(z==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(yo,{children:[s.jsx(Xe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:h,rightSideComponent:L,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage",style:{zIndex:2}}),H?s.jsx(jo,{children:s.jsx(Je,{size:"Standard",start:!0})}):I?s.jsx(Dt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Lt}):s.jsxs(s.Fragment,{children:[s.jsxs(vo,{windowSize:t,children:[s.jsx(Bo,{...O}),s.jsx(Co,{highlightedRangeReport:o,uiState:c}),v?s.jsx(xo,{}):s.jsx(ko,{...O}),s.jsx($o,{children:s.jsx(bt,{insights:w})})]}),s.jsx(Oo,{scrollPosition:ne,isPageFetchInProgress:v,...O})]})]})},Co=ee.memo(Kt,Q),ko=ee.memo(ts,Q),Oo=ee.memo(mo,Q),Bo=ee.memo(Ks,Q);export{na as default};
@@ -1,4 +1,4 @@
1
- import{aY as p,j as a,b5 as m,o as u}from"./index-CUpJHznP.js";import{b as o,u as x,n as b}from"./vendor-Bs1fkIUX.js";const E=o.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:t=!1}){const s=x(),l=e||t,r=t?"DashboardNewYearShow":"DashboardChristmasSnow",[n,d]=p(r,l),[i,c]=o.useState(null);n!=null&&i==null&&!d&&c(n);const h=e&&s.mode==="light"?.7:.2;return(e||t)&&i!=null?a.jsx(w,{contextWiseOpacity:h,newYearAnimationEnabled:t,children:a.jsx(m,{style:{width:"inherit",height:"inherit",display:"block"},animationData:i,play:!0,loop:t?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),w=b.div`
1
+ import{aY as p,j as a,b5 as m,o as u}from"./index-CN7UAWAg.js";import{b as o,u as x,n as b}from"./vendor-Bs1fkIUX.js";const E=o.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:t=!1}){const s=x(),l=e||t,r=t?"DashboardNewYearShow":"DashboardChristmasSnow",[n,d]=p(r,l),[i,c]=o.useState(null);n!=null&&i==null&&!d&&c(n);const h=e&&s.mode==="light"?.7:.2;return(e||t)&&i!=null?a.jsx(w,{contextWiseOpacity:h,newYearAnimationEnabled:t,children:a.jsx(m,{style:{width:"inherit",height:"inherit",display:"block"},animationData:i,play:!0,loop:t?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),w=b.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aN as $,hM as u,q as y,j as l,o as i,am as d,an as c}from"./index-CUpJHznP.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{g as k}from"./BoxItem-BFUJgt2x-BC0-eR6w.js";import{o as v}from"./commonDimensions-DP_SFwFq-B4nonWMr.js";function I({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:g}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(W,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(q,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aN as $,hM as u,q as y,j as l,o as i,am as d,an as c}from"./index-CN7UAWAg.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{g as k}from"./BoxItem-CoguTodA-DItO3xcr.js";import{o as v}from"./commonDimensions-DTY9_AOp-DlMPlh2t.js";function I({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:g}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(W,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(q,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{d as S,q as z,hV as C,j as e,bG as D,F as Y,b3 as B,o as r,p as b,cI as F,l as L,y as A,ai as I,am as R,u as f,dA as T,dB as V,du as q,dC as E}from"./index-CUpJHznP.js";import{b as g,n as a}from"./vendor-Bs1fkIUX.js";import{$ as N}from"./BoxItem-BFUJgt2x-BC0-eR6w.js";import{o as P}from"./commonDimensions-DP_SFwFq-B4nonWMr.js";import{H}from"./DepositAccTransactionItem-tQvZegVN-2h85R67z.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const n=Y.getLocalizedStrings(),K={listItemMargin:new A(f[3],f[8])};function O(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=V(d,o=>o.length>0);return q(m,o=>({date:o[0].transactionDate,transactions:E(o,h=>h.transactionDate,"desc")}))}const _=C(O),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=g.createRef(),p=g.useRef(null),l=_(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(X,{children:s.transactions.map((M,u)=>e.jsx(H,{data:M,boxType:N(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(G,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
1
+ import{d as S,q as z,hV as C,j as e,bG as D,F as Y,b3 as B,o as r,p as b,cI as F,l as L,y as A,ai as I,am as R,u as f,dA as T,dB as V,du as q,dC as E}from"./index-CN7UAWAg.js";import{b as g,n as a}from"./vendor-Bs1fkIUX.js";import{$ as N}from"./BoxItem-CoguTodA-DItO3xcr.js";import{o as P}from"./commonDimensions-DTY9_AOp-DlMPlh2t.js";import{H}from"./DepositAccTransactionItem-CwSsISRg-BhipE2js.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const n=Y.getLocalizedStrings(),K={listItemMargin:new A(f[3],f[8])};function O(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=V(d,o=>o.length>0);return q(m,o=>({date:o[0].transactionDate,transactions:E(o,h=>h.transactionDate,"desc")}))}const _=C(O),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=g.createRef(),p=g.useRef(null),l=_(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*P.transactionItemHeightResponsive.value(o)+45:24,v=({index:i,style:c})=>{if(x===!1){const s=l[i];return e.jsx(w,{style:{...c},children:e.jsx($,{windowSize:o,children:e.jsxs(y,{children:[e.jsx(U,{children:L.dateNow().year()===s.date.year()?s.date.format(n.dateFormat.visual.MMMDFormat):s.date.format(n.dateFormat.visual.MMMDCommaYYYYformat)}),e.jsx(X,{children:s.transactions.map((M,u)=>e.jsx(H,{data:M,boxType:N(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(G,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(J,{children:[e.jsx(D,{title:`${j} ${n.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:d,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),e.jsx(y,{children:e.jsx(B,{children:({height:i,width:c})=>e.jsx(Z,{ref:h,height:i,width:c,outerRef:p,itemKey:s=>s,itemCount:l.length,itemSize:k,initialScrollOffset:0,children:v})})})]})},w=a.div``,$=a.div`
2
2
  margin: ${t=>`${r.sp0} ${K.listItemMargin.valuePx(t.windowSize)}`};
3
3
  `,G=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{q as U,aa as V,F as j,cT as Y,aC as G,l as T,j as n,cE as H,cF as Q,cG as _,ad as J,aQ as K,y as u,fb as X,o as Z,b9 as ee,u as a}from"./index-CUpJHznP.js";import{b as N,n as h}from"./vendor-Bs1fkIUX.js";import{e as ne}from"./BankAccountSection-SGI34h8u-BmPo8uGy.js";import{j as te}from"./MagicLinkTitleSection-BVR_lDfw-BbQ3PhCM.js";import{W as ae,F as oe}from"./BankAccountWarningSection-BYhi53r4-4douKQRZ.js";import{T as ie}from"./MailingDetailsSection-DZi-O94--DF-Hpww_.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},$="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",B=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:D,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:E,onAddressClick:F,onBackClick:C}=e,l=U(),c=V({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[L,p]=N.useState(!1),t=j.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=j.getLocalizedStrings().common.footer,I=t.wireDetails.domestic,M={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},q=async(k,m)=>{const d=m[f].bankRoutingNumber;z(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&Y(()=>q(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&R("wire")}),S=!G(y!=null?T.getFormattedAddress(y):y,r!=null?T.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[L===!0?n.jsx(H,{titleComponent:n.jsx(_,{children:t.discardTitle}),descriptionComponent:n.jsx(Q,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:M}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:P??0}):I.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:B($),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:F})]})})]}),n.jsx(K,{formId:B($),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
1
+ import{q as U,aa as V,F as j,cT as Y,aC as G,l as T,j as n,cE as H,cF as Q,cG as _,ad as J,aQ as K,y as u,fb as X,o as Z,b9 as ee,u as a}from"./index-CN7UAWAg.js";import{b as N,n as h}from"./vendor-Bs1fkIUX.js";import{e as ne}from"./BankAccountSection-IncAN4Fp-_HbGSxHo.js";import{j as te}from"./MagicLinkTitleSection-egx3li4v-CK9jYn1b.js";import{W as ae,F as oe}from"./BankAccountWarningSection-B5zw3yYg-D0pN9DqK.js";import{T as ie}from"./MailingDetailsSection-D28xdU_N-D7dNEE4R.js";const i={paddingTopBottom:new u(a[3],a[3]),paddingRight:new u(a[3],a[8]),paddingLeft:new u(a[3],a[6]),buttonWidth:new u(140,140),marginLeft:new u(a[4],a[6])},$="domesticWireDetailsPage",f="bankAccountSection",w="mailingAddressSection",B=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:y,isDisabled:A,companyName:v,isMagicLink:g,currencySymbol:D,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:E,onAddressClick:F,onBackClick:C}=e,l=U(),c=V({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[L,p]=N.useState(!1),t=j.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=j.getLocalizedStrings().common.footer,M=t.wireDetails.domestic,I={onOkClick:()=>{p(!1),c.reset(),C?.()},onCancelClick:()=>{p(!1)}},q=async(k,m)=>{const d=m[f].bankRoutingNumber;z(m),k===`${f}.bankRoutingNumber`&&d?.length===9&&X.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&Y(()=>q(d,m))});return()=>{k.unsubscribe()}});const O=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&R("wire")}),S=!G(y!=null?T.getFormattedAddress(y):y,r!=null?T.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[L===!0?n.jsx(H,{titleComponent:n.jsx(_,{children:t.discardTitle}),descriptionComponent:n.jsx(Q,{children:t.discardDescription}),primaryButtonText:t.discard,secondaryButtonText:t.cancel,action:I}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:v??"",currencySymbol:D??"",amount:P??0}):M.addWireDetails,isMagicLink:g,isDirty:S,onBackClick:C,setShowConfirmationPopup:p}),o?.fetchState==="Error"&&o.error?.code===409?n.jsx(oe,{warningText:t.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:l,children:t.bankAccountCommon.accountDetailsTitle}),n.jsx(J,{...c,children:n.jsxs("form",{id:B($),onSubmit:O,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:A})}),n.jsx(ie,{sectionId:w,isDisabled:A,addressType:x,addressToEdit:r,onAddressClick:F})]})})]}),n.jsx(K,{formId:B($),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(l)},shouldResetOnCancel:!1,onClick:()=>{S?p(!0):(c.reset(),C?.())}}})]})},se=(e,o)=>({[f]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[w]:{mailingAddress:o}}),re=e=>{if(e==null)return!1;const{bankAccountName:o,bankAccountNumber:b,bankName:x,bankRoutingNumber:s}=e;return!!o||!!b||!!x||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{j as t,ci as Xe,o as a,q as le,cj as et,ao as Re,l as d,p as de,y as H,_ as tt,F as Y,ck as rt,b_ as ze,u as z,b9 as Ne,am as T,c4 as we,b as Z,an as ce,n as ee,d as Be,c6 as at,cl as me,cm as pe,L as Ee,cn as Qe,ap as fe,co as q,bY as ot,ba as st,cp as it,cq as nt,bQ as lt,c5 as dt,ar as ct,cr as mt,ce as pt,av as ft}from"./index-CUpJHznP.js";import{b as u,n,k as Ve,w as he}from"./vendor-Bs1fkIUX.js";import{m as ht}from"./analyticsHelper-CaFa35yP-G2_hr-0j.js";import{h as ut,u as gt}from"./ReportTableViewSelector-B70dJfTV-SlWwkWXT.js";import{t as xt}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./CollapsableReportTable-DERfLf9A-B02u2C6v.js";import"./AccountRow-BrRxbza5-pSnSZur-.js";const bt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function X(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return X(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),S={pdf:12,excel:100,csv:100},B=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:g}=d.getFYQuarterAndYear(p,e);for(;f<=g;)i.push(`${f}`),f++}return i},yt=n.div`
1
+ import{j as t,ci as Xe,o as a,q as le,cj as et,ao as Re,l as d,p as de,y as H,L as tt,F as Y,ck as rt,b_ as ze,u as z,b9 as Ne,am as T,c4 as we,b as Z,an as ce,n as ee,d as Be,c6 as at,cl as me,cm as pe,k as Ee,cn as Qe,ap as fe,co as W,bY as ot,ba as st,cp as it,cq as nt,bQ as lt,c5 as dt,ar as ct,cr as mt,ce as pt,av as ft}from"./index-CN7UAWAg.js";import{b as u,n,k as Ve,w as he}from"./vendor-Bs1fkIUX.js";import{m as ht}from"./analyticsHelper-BFEbpTaS-CI1-ZwNW.js";import{h as ut,u as gt}from"./ReportTableViewSelector-DgPlLWgl-CNrxPhYC.js";import{t as xt}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./CollapsableReportTable-o0pGO_sw-CoQujIPL.js";import"./AccountRow-CjMOMc-1-x3Qeaa-E.js";const bt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function te(e,o,r,s){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return s!=null?Math.min(i,s):i}function X(e,o,r,s=1){if(s>1){const i=d.subtractPeriod(r,e,s-1,o),{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ye{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,s,i,l,p=s.endDate){if(s.endDate.isBefore(s.startDate))throw Error(`Invalid data available period ${JSON.stringify(s)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=s,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return X(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=d.addPeriod(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:s}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(s,i,null,"[]")&&r.isBetween(s,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let s=te(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(s>this.maxNumberOfPeriods){s=this._numberOfPeriods;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(d.addPeriod(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){s=1;const{endOfTimeframeFY:i}=d.getStartOfAndEndOfTimeframeForFY(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=s,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ae=["1","2","3","4"],oe=d.dateNow().localeData().monthsShort(),S={pdf:12,excel:100,csv:100},B=(e,o,r)=>{const s=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let f=l;for(;f.isSameOrBefore(p,"year");)i.push(f.format(s)),f=d.addPeriod(f,e,1,"year")}else{const{startOfTimeframeFY:l}=d.getStartOfAndEndOfTimeframeForFY(r.startDate,e,"year"),{endOfTimeframeFY:p}=d.getStartOfAndEndOfTimeframeForFY(r.endDate,e,"year");let{fyYear:f}=d.getFYQuarterAndYear(l,e);const{fyYear:g}=d.getFYQuarterAndYear(p,e);for(;f<=g;)i.push(`${f}`),f++}return i},yt=n.div`
2
2
  padding: ${a.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${a.sp1};
@@ -91,7 +91,7 @@ import{j as t,ci as Xe,o as a,q as le,cj as et,ao as Re,l as d,p as de,y as H,_
91
91
  `,zt=n.div`
92
92
  border-top: 1px solid ${e=>e.theme.colors.grey3};
93
93
  width: 100%;
94
- `,Nt=(e,o,r,s)=>{const i=B(e,"month",o).filter(l=>!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]"));return{disabledMonths:oe.filter(l=>{const p=s.startDate.format(P.YYYYformat);return!d.zeniDate(`${l} ${p}`,P.MMMYYYYFormat).isBetween(r.startDate.startOf("month"),r.endDate.endOf("month"),null,"[]")}),disabledYears:i}},Bt=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);return s!=null?oe.filter(l=>o.includes(l)===!1&&d.zeniDate(`${l} ${e}`,P.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(r.endDate.format(P.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${e}`,P.MMMYYYYFormat))===!1:!0)):[]},Et=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(e);return s!=null?oe.filter(l=>r.includes(l)===!1&&d.zeniDate(`${l} ${o}`,P.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(e.endDate.format(P.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${o}`,P.MMMYYYYFormat))===!0:!1)):[]},{reports:Ae,dateFormat:{analytics:K,visual:P}}=Y.getLocalizedStrings(),Qt=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,[l,p]=u.useState(!1),[f,g]=u.useState(o.startDate.format(K.MMMFormat)),[m,F]=u.useState(o.startDate.format(K.YYYYFormat)),$=b=>{g(b),i("month",{startDate:d.zeniDate(`${b} ${m}`,K.MMMYYYYFormat).startOf("month"),endDate:d.zeniDate(`${b} ${m}`,K.MMMYYYYFormat).endOf("month")}),p(!1)},O=b=>{p(b),g(o.startDate.format(P.MMMformat)),F(o.startDate.format(P.YYYYformat))},{disabledMonths:w,disabledYears:h}=Nt(e.firstMonthOfFY,e.dataAvailable,s,{startDate:d.zeniDate(m,P.YYYYformat),endDate:d.zeniDate(m,P.YYYYformat)}),_=B(e.firstMonthOfFY,"month",e.dataAvailable),c=Bt(m,w,s,e.bookCloseDate),y=Et(s,m,w,e.bookCloseDate),v=e.bookCloseDate!=null?d.getTimeframeTickTag("month",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(fe,{onClickAway:()=>O(!1),children:t.jsxs(It,{children:[t.jsx(ge,{value:d.formatZeniDate(o.startDate,P.MMMYYFormat,e.firstMonthOfFY),onClick:()=>O(!l),label:r,timeframeTickTag:v}),l?t.jsx(u.Fragment,{children:t.jsxs(Lt,{children:[t.jsxs(Rt,{children:[_.map(b=>t.jsx(q,{id:b,text:b,disabled:h.includes(b),onClick:j=>{F(j),g("")},checked:b===m},b)),t.jsx(Me,{space:a.sp3}),t.jsx(zt,{}),t.jsx(Me,{space:a.sp3}),oe.map(b=>t.jsx(q,{id:b,text:b,disabled:w.includes(b),onClick:j=>$(j),checked:b===f,starred:c.includes(b)&&!w.includes(b),doubleStarred:y.includes(b)&&!w.includes(b)},b))]}),t.jsx(xe,{starredPeriod:c,doubleStarredPeriod:y,bookCloseIncompleteInfo:Ae.bookCloseIncompleteInfoMonth,bookCloseUnderReviewInfo:Ae.bookCloseUnderReviewInfoMonth})]})}):""]})})},Vt=u.memo(Qt),Ht=n.div`
94
+ `,Nt=(e,o,r,s)=>{const i=B(e,"month",o).filter(l=>!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]"));return{disabledMonths:oe.filter(l=>{const p=s.startDate.format(P.YYYYformat);return!d.zeniDate(`${l} ${p}`,P.MMMYYYYFormat).isBetween(r.startDate.startOf("month"),r.endDate.endOf("month"),null,"[]")}),disabledYears:i}},Bt=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);return s!=null?oe.filter(l=>o.includes(l)===!1&&d.zeniDate(`${l} ${e}`,P.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(r.endDate.format(P.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${e}`,P.MMMYYYYFormat))===!1:!0)):[]},Et=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(e);return s!=null?oe.filter(l=>r.includes(l)===!1&&d.zeniDate(`${l} ${o}`,P.MMMYYYYFormat).isAfter(s)&&(i===!0?d.zeniDate(e.endDate.format(P.MMMYYYYFormat)).isSame(d.zeniDate(`${l} ${o}`,P.MMMYYYYFormat))===!0:!1)):[]},{reports:Ae,dateFormat:{analytics:K,visual:P}}=Y.getLocalizedStrings(),Qt=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,[l,p]=u.useState(!1),[f,g]=u.useState(o.startDate.format(K.MMMFormat)),[m,F]=u.useState(o.startDate.format(K.YYYYFormat)),$=b=>{g(b),i("month",{startDate:d.zeniDate(`${b} ${m}`,K.MMMYYYYFormat).startOf("month"),endDate:d.zeniDate(`${b} ${m}`,K.MMMYYYYFormat).endOf("month")}),p(!1)},O=b=>{p(b),g(o.startDate.format(P.MMMformat)),F(o.startDate.format(P.YYYYformat))},{disabledMonths:w,disabledYears:h}=Nt(e.firstMonthOfFY,e.dataAvailable,s,{startDate:d.zeniDate(m,P.YYYYformat),endDate:d.zeniDate(m,P.YYYYformat)}),_=B(e.firstMonthOfFY,"month",e.dataAvailable),c=Bt(m,w,s,e.bookCloseDate),y=Et(s,m,w,e.bookCloseDate),v=e.bookCloseDate!=null?d.getTimeframeTickTag("month",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(fe,{onClickAway:()=>O(!1),children:t.jsxs(It,{children:[t.jsx(ge,{value:d.formatZeniDate(o.startDate,P.MMMYYFormat,e.firstMonthOfFY),onClick:()=>O(!l),label:r,timeframeTickTag:v}),l?t.jsx(u.Fragment,{children:t.jsxs(Lt,{children:[t.jsxs(Rt,{children:[_.map(b=>t.jsx(W,{id:b,text:b,disabled:h.includes(b),onClick:j=>{F(j),g("")},checked:b===m},b)),t.jsx(Me,{space:a.sp3}),t.jsx(zt,{}),t.jsx(Me,{space:a.sp3}),oe.map(b=>t.jsx(W,{id:b,text:b,disabled:w.includes(b),onClick:j=>$(j),checked:b===f,starred:c.includes(b)&&!w.includes(b),doubleStarred:y.includes(b)&&!w.includes(b)},b))]}),t.jsx(xe,{starredPeriod:c,doubleStarredPeriod:y,bookCloseIncompleteInfo:Ae.bookCloseIncompleteInfoMonth,bookCloseUnderReviewInfo:Ae.bookCloseUnderReviewInfoMonth})]})}):""]})})},Vt=u.memo(Qt),Ht=n.div`
95
95
  position: relative;
96
96
  cursor: pointer;
97
97
  `,Ut=n.div`
@@ -104,7 +104,7 @@ import{j as t,ci as Xe,o as a,q as le,cj as et,ao as Re,l as d,p as de,y as H,_
104
104
  background: ${e=>e.theme.colors.grey5};
105
105
  border: 1px solid ${e=>e.theme.colors.grey2};
106
106
  width: 100%;
107
- `,qt=n.div`
107
+ `,Wt=n.div`
108
108
  padding: ${a.sp3};
109
109
  border-top: none;
110
110
  display: flex;
@@ -114,10 +114,10 @@ import{j as t,ci as Xe,o as a,q as le,cj as et,ao as Re,l as d,p as de,y as H,_
114
114
  `,Te=n.div`
115
115
  padding-top: ${e=>e.space};
116
116
  width: 100%;
117
- `,Wt=n.div`
117
+ `,qt=n.div`
118
118
  border-top: 1px solid ${e=>e.theme.colors.grey3};
119
119
  width: 100%;
120
- `,Gt=(e,o,r,s)=>{const i=B(e,"quarter",o).filter(l=>{if(e===1)return!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:p}=d.getFYQuarterAndYear(r.startDate,e),{fyYear:f}=d.getFYQuarterAndYear(r.endDate,e);return!(parseInt(l)>=p&&parseInt(l)<=f)}});return{disabledQuarters:ae.filter(l=>{const p=parseInt(l),f=d.getFYQuarterAndYear(r.startDate,e),g=d.getFYQuarterAndYear(r.endDate,e);return s===f.fyYear&&p<f.fyQuarter||s===g.fyYear&&p>g.fyQuarter?!0:s<f.fyYear||s>g.fyYear}),disabledYears:i}},Zt=(e,o,r,s,i)=>{const l=d.isIncompleteMonthPresentInTimeframeTick(s);if(i!=null){const p=d.getFYQuarterAndYear(i,o),f=d.getFYQuarterAndYear(s.endDate,o);return ae.filter(g=>{const m=parseInt(g);return e.includes(g)===!1&&(l!==!0||f.fyQuarter!==m)&&(r===p.fyYear&&m>=p.fyQuarter&&d.getLastMonthOfFYQuarter(m,o)!==i.month()+1||r>p.fyYear)})}else return[]},Kt=(e,o,r,s,i)=>{const l=d.isIncompleteMonthPresentInTimeframeTick(s);if(i!=null){const p=d.getFYQuarterAndYear(i,e),f=d.getFYQuarterAndYear(s.endDate,e);return ae.filter(g=>{const m=parseInt(g);return r.includes(g)===!1&&(l!==!0||f.fyQuarter===m)&&o===p.fyYear&&m>=p.fyQuarter||o>p.fyYear})}else return[]},Jt=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,{fyQuarter:l,fyYear:p}=d.getFYQuarterAndYear(o.startDate,e.firstMonthOfFY),[f,g]=u.useState(!1),[m,F]=u.useState(`${l}`),[$,O]=u.useState(`${p}`),{reports:w,dateFormat:h}=Y.getLocalizedStrings(),_=x=>{F(x),i("quarter",d.getActualPeriodOfFYQtr(e.firstMonthOfFY,d.toQuarter(parseInt(x)),parseInt($))),g(!1)},c=x=>{g(x);const{fyQuarter:D,fyYear:A}=d.getFYQuarterAndYear(o.startDate,e.firstMonthOfFY);F(`${D}`),O(`${A}`)},{disabledQuarters:y,disabledYears:v}=Gt(e.firstMonthOfFY,e.dataAvailable,s,parseInt($)),b=B(e.firstMonthOfFY,"quarter",e.dataAvailable),j=Zt(y,e.firstMonthOfFY,parseInt($),s,e.bookCloseDate),E=Kt(e.firstMonthOfFY,parseInt($),y,s,e.bookCloseDate),M=e.bookCloseDate!=null?d.getTimeframeTickTag("quarter",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(fe,{onClickAway:()=>c(!1),children:t.jsxs(Ht,{children:[t.jsx(ge,{value:`Q${d.formatZeniDate(o.startDate,h.visual.QYYformat,e.firstMonthOfFY)}`,onClick:()=>c(!f),label:r,timeframeTickTag:M}),f?t.jsxs(Ut,{children:[t.jsxs(qt,{children:[b.map(x=>t.jsx(q,{id:x,text:x,disabled:v.includes(x),onClick:D=>{O(D),F("")},checked:x===$},x)),t.jsx(Te,{space:a.sp3}),t.jsx(Wt,{}),t.jsx(Te,{space:a.sp3}),ae.map(x=>t.jsx(q,{id:x,text:`Q${x}`,disabled:y.includes(x),onClick:D=>_(D),checked:x===m,starred:j.includes(x)&&!y.includes(x),doubleStarred:E.includes(x)&&!y.includes(x)},x))]}),t.jsx(xe,{starredPeriod:j,doubleStarredPeriod:E,bookCloseIncompleteInfo:w.bookCloseIncompleteInfoQuarter,bookCloseUnderReviewInfo:w.bookCloseUnderReviewInfoQuarter})]}):""]})})},Xt=u.memo(Jt),er=n.div`
120
+ `,Gt=(e,o,r,s)=>{const i=B(e,"quarter",o).filter(l=>{if(e===1)return!d.zeniDate(`${l}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:p}=d.getFYQuarterAndYear(r.startDate,e),{fyYear:f}=d.getFYQuarterAndYear(r.endDate,e);return!(parseInt(l)>=p&&parseInt(l)<=f)}});return{disabledQuarters:ae.filter(l=>{const p=parseInt(l),f=d.getFYQuarterAndYear(r.startDate,e),g=d.getFYQuarterAndYear(r.endDate,e);return s===f.fyYear&&p<f.fyQuarter||s===g.fyYear&&p>g.fyQuarter?!0:s<f.fyYear||s>g.fyYear}),disabledYears:i}},Zt=(e,o,r,s,i)=>{const l=d.isIncompleteMonthPresentInTimeframeTick(s);if(i!=null){const p=d.getFYQuarterAndYear(i,o),f=d.getFYQuarterAndYear(s.endDate,o);return ae.filter(g=>{const m=parseInt(g);return e.includes(g)===!1&&(l!==!0||f.fyQuarter!==m)&&(r===p.fyYear&&m>=p.fyQuarter&&d.getLastMonthOfFYQuarter(m,o)!==i.month()+1||r>p.fyYear)})}else return[]},Kt=(e,o,r,s,i)=>{const l=d.isIncompleteMonthPresentInTimeframeTick(s);if(i!=null){const p=d.getFYQuarterAndYear(i,e),f=d.getFYQuarterAndYear(s.endDate,e);return ae.filter(g=>{const m=parseInt(g);return r.includes(g)===!1&&(l!==!0||f.fyQuarter===m)&&o===p.fyYear&&m>=p.fyQuarter||o>p.fyYear})}else return[]},Jt=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,{fyQuarter:l,fyYear:p}=d.getFYQuarterAndYear(o.startDate,e.firstMonthOfFY),[f,g]=u.useState(!1),[m,F]=u.useState(`${l}`),[$,O]=u.useState(`${p}`),{reports:w,dateFormat:h}=Y.getLocalizedStrings(),_=x=>{F(x),i("quarter",d.getActualPeriodOfFYQtr(e.firstMonthOfFY,d.toQuarter(parseInt(x)),parseInt($))),g(!1)},c=x=>{g(x);const{fyQuarter:D,fyYear:A}=d.getFYQuarterAndYear(o.startDate,e.firstMonthOfFY);F(`${D}`),O(`${A}`)},{disabledQuarters:y,disabledYears:v}=Gt(e.firstMonthOfFY,e.dataAvailable,s,parseInt($)),b=B(e.firstMonthOfFY,"quarter",e.dataAvailable),j=Zt(y,e.firstMonthOfFY,parseInt($),s,e.bookCloseDate),E=Kt(e.firstMonthOfFY,parseInt($),y,s,e.bookCloseDate),M=e.bookCloseDate!=null?d.getTimeframeTickTag("quarter",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0;return t.jsx(fe,{onClickAway:()=>c(!1),children:t.jsxs(Ht,{children:[t.jsx(ge,{value:`Q${d.formatZeniDate(o.startDate,h.visual.QYYformat,e.firstMonthOfFY)}`,onClick:()=>c(!f),label:r,timeframeTickTag:M}),f?t.jsxs(Ut,{children:[t.jsxs(Wt,{children:[b.map(x=>t.jsx(W,{id:x,text:x,disabled:v.includes(x),onClick:D=>{O(D),F("")},checked:x===$},x)),t.jsx(Te,{space:a.sp3}),t.jsx(qt,{}),t.jsx(Te,{space:a.sp3}),ae.map(x=>t.jsx(W,{id:x,text:`Q${x}`,disabled:y.includes(x),onClick:D=>_(D),checked:x===m,starred:j.includes(x)&&!y.includes(x),doubleStarred:E.includes(x)&&!y.includes(x)},x))]}),t.jsx(xe,{starredPeriod:j,doubleStarredPeriod:E,bookCloseIncompleteInfo:w.bookCloseIncompleteInfoQuarter,bookCloseUnderReviewInfo:w.bookCloseUnderReviewInfoQuarter})]}):""]})})},Xt=u.memo(Jt),er=n.div`
121
121
  position: relative;
122
122
  cursor: pointer;
123
123
  `,tr=n.div`
@@ -137,7 +137,7 @@ import{j as t,ci as Xe,o as a,q as le,cj as et,ao as Re,l as d,p as de,y as H,_
137
137
  flex-wrap: wrap;
138
138
  background: ${e=>e.theme.colors.grey5};
139
139
  width: 100%;
140
- `,ar=(e,o,r)=>B(e,"year",o).filter(s=>{if(e===1)return!d.zeniDate(`${s}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:i}=d.getFYQuarterAndYear(r.startDate,e),{fyYear:l}=d.getFYQuarterAndYear(r.endDate,e);return parseInt(s)<i||parseInt(s)>l}}),or=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);if(s!=null){const l=d.getFYQuarterAndYear(s,e),p=d.getFYQuarterAndYear(r.endDate,e);return B(e,"year",o).filter(f=>{const g=parseInt(f);return(i===!0?p.fyYear!==g:!0)&&parseInt(f)>=l.fyYear&&d.getLastMonthOfFYYear(e)!==s.month()+1})}else return[]},sr=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);if(s!=null){const l=d.getFYQuarterAndYear(s,e),p=d.getFYQuarterAndYear(r.endDate,e);return B(e,"year",o).filter(f=>{const g=parseInt(f);return(i===!0?p.fyYear===g:!0)&&parseInt(f)>=l.fyYear})}else return[]},ir=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,[l,p]=u.useState(!1),{reports:f,dateFormat:g}=Y.getLocalizedStrings(),m=ar(e.firstMonthOfFY,e.dataAvailable,s),F=B(e.firstMonthOfFY,"year",e.dataAvailable),$=d.getFYQuarterAndYear(e.selectedPeriod.startDate,e.firstMonthOfFY).fyYear,O=or(e.firstMonthOfFY,e.dataAvailable,s,e.bookCloseDate),w=sr(e.firstMonthOfFY,e.dataAvailable,s,e.bookCloseDate),h=e.bookCloseDate!=null?d.getTimeframeTickTag("year",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0,_=g.analytics.YYYYFormat;return t.jsx(fe,{onClickAway:()=>p(!1),children:t.jsxs(er,{children:[t.jsx(ge,{value:d.formatZeniDate(o.startDate,_,e.firstMonthOfFY),onClick:()=>p(!l),label:r,timeframeTickTag:h}),l?t.jsxs(tr,{children:[t.jsx(rr,{children:F.map(c=>t.jsx(q,{id:c,text:c,disabled:m.includes(c),onClick:y=>{i("year",d.getActualPeriodOfFY(e.firstMonthOfFY,parseInt(y))),p(!1)},checked:parseInt(c)===$,starred:O.includes(c)&&!m.includes(c),doubleStarred:w.includes(c)&&!m.includes(c)},c))}),t.jsx(xe,{starredPeriod:O,doubleStarredPeriod:w,bookCloseIncompleteInfo:f.bookCloseIncompleteInfoYear,bookCloseUnderReviewInfo:f.bookCloseUnderReviewInfoYear})]}):""]})})},nr=u.memo(ir),lr=n.div`
140
+ `,ar=(e,o,r)=>B(e,"year",o).filter(s=>{if(e===1)return!d.zeniDate(`${s}-01-01`).isBetween(r.startDate.startOf("year"),r.endDate.endOf("year"),null,"[]");{const{fyYear:i}=d.getFYQuarterAndYear(r.startDate,e),{fyYear:l}=d.getFYQuarterAndYear(r.endDate,e);return parseInt(s)<i||parseInt(s)>l}}),or=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);if(s!=null){const l=d.getFYQuarterAndYear(s,e),p=d.getFYQuarterAndYear(r.endDate,e);return B(e,"year",o).filter(f=>{const g=parseInt(f);return(i===!0?p.fyYear!==g:!0)&&parseInt(f)>=l.fyYear&&d.getLastMonthOfFYYear(e)!==s.month()+1})}else return[]},sr=(e,o,r,s)=>{const i=d.isIncompleteMonthPresentInTimeframeTick(r);if(s!=null){const l=d.getFYQuarterAndYear(s,e),p=d.getFYQuarterAndYear(r.endDate,e);return B(e,"year",o).filter(f=>{const g=parseInt(f);return(i===!0?p.fyYear===g:!0)&&parseInt(f)>=l.fyYear})}else return[]},ir=e=>{const{selectedPeriod:o,label:r,validPeriod:s,onNewPeriodSelection:i}=e,[l,p]=u.useState(!1),{reports:f,dateFormat:g}=Y.getLocalizedStrings(),m=ar(e.firstMonthOfFY,e.dataAvailable,s),F=B(e.firstMonthOfFY,"year",e.dataAvailable),$=d.getFYQuarterAndYear(e.selectedPeriod.startDate,e.firstMonthOfFY).fyYear,O=or(e.firstMonthOfFY,e.dataAvailable,s,e.bookCloseDate),w=sr(e.firstMonthOfFY,e.dataAvailable,s,e.bookCloseDate),h=e.bookCloseDate!=null?d.getTimeframeTickTag("year",e.firstMonthOfFY,o,e.bookCloseDate,e.dataAvailable):void 0,_=g.analytics.YYYYFormat;return t.jsx(fe,{onClickAway:()=>p(!1),children:t.jsxs(er,{children:[t.jsx(ge,{value:d.formatZeniDate(o.startDate,_,e.firstMonthOfFY),onClick:()=>p(!l),label:r,timeframeTickTag:h}),l?t.jsxs(tr,{children:[t.jsx(rr,{children:F.map(c=>t.jsx(W,{id:c,text:c,disabled:m.includes(c),onClick:y=>{i("year",d.getActualPeriodOfFY(e.firstMonthOfFY,parseInt(y))),p(!1)},checked:parseInt(c)===$,starred:O.includes(c)&&!m.includes(c),doubleStarred:w.includes(c)&&!m.includes(c)},c))}),t.jsx(xe,{starredPeriod:O,doubleStarredPeriod:w,bookCloseIncompleteInfo:f.bookCloseIncompleteInfoYear,bookCloseUnderReviewInfo:f.bookCloseUnderReviewInfoYear})]}):""]})})},nr=u.memo(ir),lr=n.div`
141
141
  display: flex;
142
142
  align-items: center;
143
143
  `,dr=n(st)`
@@ -287,17 +287,17 @@ import{j as t,ci as Xe,o as a,q as le,cj as et,ao as Re,l as d,p as de,y as H,_
287
287
  display: flex;
288
288
  gap: ${a.sp3};
289
289
  width: 100%;
290
- `,qr=n.div`
290
+ `,Wr=n.div`
291
291
  position: absolute;
292
292
  top: calc(50% - ${e=>e.offset});
293
293
  left: calc(50% - ${e=>e.offset});
294
- `,Wr=n(pe)`
294
+ `,qr=n(pe)`
295
295
  width: ${a.sp4};
296
296
  height: ${a.sp4};
297
297
  `,Gr=n(me)`
298
298
  width: ${a.sp4};
299
299
  height: ${a.sp4};
300
- `,Zr=[{id:"excel",label:ne.downloadExcel,Icon:Gr},{id:"pdf",label:ne.downloadPdf,Icon:Wr}],Kr=e=>{const{label:o,id:r,onClick:s,checked:i,Icon:l,isLoading:p}=e;return t.jsx(Qr,{checked:i,onClick:s,id:r,children:p&&i?t.jsx(qr,{offset:`${Qe("Standard")/2}px`,children:t.jsx(Ee,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(Vr,{children:o}),t.jsx(l,{})]})})},Jr=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:s,downloadTypeProps:i}=e,{calendarPeriod:l,onNewFileTypeSelection:p,numberOfAdditionalColumns:f,selectedFileType:g,resetToDefaultOption:m}=i,[F,$]=u.useState(!1),O=h=>{h.stopPropagation(),o()},w=h=>{h==="pdf"&&l.numberOfPeriods+f>S.pdf?$(!0):(l.maxNumberOfPeriods=S[h]-f,p(h))};return t.jsxs(Br,{onClick:h=>h.stopPropagation(),children:[t.jsxs(Hr,{children:[t.jsx(Ur,{children:Zr.map(h=>t.jsx(Kr,{...h,onClick:()=>{s||w(h.id)},checked:g===h.id,isLoading:r},h.id))}),t.jsx(Er,{space:a.sp0,style:{display:"flex",alignItems:"center",height:a.sp4},children:ne.orLabel}),t.jsx(ee,{variant:"primary",label:Y.getLocalizedStrings().downloadReport.viewReport,onClick:O,style:{width:"100%"}})]}),F?t.jsx(Ue,{onSwitchToExcelClick:()=>$(!1),onContinueWithPDFClick:()=>{$(!1),p("pdf"),m()}}):""]})},Xr=u.memo(Jr),ea=e=>le()==="small"?t.jsx(Xr,{...e}):t.jsx(Nr,{...e}),ta=e=>u.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u.createElement("path",{d:"M20.5447 1.65002C21.0182 1.65002 21.4723 1.83811 21.807 2.1729C22.1418 2.5077 22.3299 2.96177 22.3299 3.43524V16.8467C22.3299 18.2612 21.768 19.6177 20.7678 20.6179C19.7676 21.6181 18.4111 22.18 16.9966 22.18H3.58514C3.11168 22.18 2.6576 21.9919 2.3228 21.6571C1.98801 21.3224 1.79993 20.8683 1.79993 20.3948V3.43524C1.79993 2.96177 1.98801 2.5077 2.3228 2.1729C2.6576 1.83811 3.11168 1.65002 3.58514 1.65002H20.5447Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.8671 22.1086V18.6095C17.8671 18.3728 17.9611 18.1458 18.1285 17.9784C18.2959 17.811 18.5229 17.7169 18.7597 17.7169H22.2587",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 6.3999H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 9.97034H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 13.5406H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 17.1112H11.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ra=n.div`
300
+ `,Zr=[{id:"excel",label:ne.downloadExcel,Icon:Gr},{id:"pdf",label:ne.downloadPdf,Icon:qr}],Kr=e=>{const{label:o,id:r,onClick:s,checked:i,Icon:l,isLoading:p}=e;return t.jsx(Qr,{checked:i,onClick:s,id:r,children:p&&i?t.jsx(Wr,{offset:`${Qe("Standard")/2}px`,children:t.jsx(Ee,{size:"Standard",reverseSpinnerColor:!1,start:!0})}):t.jsxs(t.Fragment,{children:[t.jsx(Vr,{children:o}),t.jsx(l,{})]})})},Jr=e=>{const{onViewReportClick:o,downloadingStatement:r,disabledDownloadButton:s,downloadTypeProps:i}=e,{calendarPeriod:l,onNewFileTypeSelection:p,numberOfAdditionalColumns:f,selectedFileType:g,resetToDefaultOption:m}=i,[F,$]=u.useState(!1),O=h=>{h.stopPropagation(),o()},w=h=>{h==="pdf"&&l.numberOfPeriods+f>S.pdf?$(!0):(l.maxNumberOfPeriods=S[h]-f,p(h))};return t.jsxs(Br,{onClick:h=>h.stopPropagation(),children:[t.jsxs(Hr,{children:[t.jsx(Ur,{children:Zr.map(h=>t.jsx(Kr,{...h,onClick:()=>{s||w(h.id)},checked:g===h.id,isLoading:r},h.id))}),t.jsx(Er,{space:a.sp0,style:{display:"flex",alignItems:"center",height:a.sp4},children:ne.orLabel}),t.jsx(ee,{variant:"primary",label:Y.getLocalizedStrings().downloadReport.viewReport,onClick:O,style:{width:"100%"}})]}),F?t.jsx(Ue,{onSwitchToExcelClick:()=>$(!1),onContinueWithPDFClick:()=>{$(!1),p("pdf"),m()}}):""]})},Xr=u.memo(Jr),ea=e=>le()==="small"?t.jsx(Xr,{...e}):t.jsx(Nr,{...e}),ta=e=>u.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},u.createElement("path",{d:"M20.5447 1.65002C21.0182 1.65002 21.4723 1.83811 21.807 2.1729C22.1418 2.5077 22.3299 2.96177 22.3299 3.43524V16.8467C22.3299 18.2612 21.768 19.6177 20.7678 20.6179C19.7676 21.6181 18.4111 22.18 16.9966 22.18H3.58514C3.11168 22.18 2.6576 21.9919 2.3228 21.6571C1.98801 21.3224 1.79993 20.8683 1.79993 20.3948V3.43524C1.79993 2.96177 1.98801 2.5077 2.3228 2.1729C2.6576 1.83811 3.11168 1.65002 3.58514 1.65002H20.5447Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.8671 22.1086V18.6095C17.8671 18.3728 17.9611 18.1458 18.1285 17.9784C18.2959 17.811 18.5229 17.7169 18.7597 17.7169H22.2587",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 6.3999H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 9.97034H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 13.5406H17.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M5.97803 17.1112H11.978",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ra=n.div`
301
301
  padding: ${a.sp3};
302
302
  border: 1px solid
303
303
  ${e=>e.disabled?e.theme.colors.grey3:e.checked?e.theme.colors.primary:e.theme.colors.grey2};
@@ -436,4 +436,4 @@ import{j as t,ci as Xe,o as a,q as le,cj as et,ao as Re,l as d,p as de,y as H,_
436
436
  justify-content: center;
437
437
  color: ${e=>e.theme.colors.hero};
438
438
  cursor: pointer;
439
- `,Ya=e=>({localeId:Y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:e.statementFileType,statements:e.statements,firstMonthOfFY:e.firstMonthOfFY,bookCloseDate:e.defaultOptions.bookCloseDate,timeframe:e.timeframe,additionalBalances:e.additionalBalances,format:e.format,balancesFilter:{thisPeriod:{startDate:e.balancesFilter.thisPeriod.startDate,endDate:e.balancesFilter.thisPeriod.endDate},numberOfPeriods:e.balancesFilter.numberOfPeriods,orderBy:e.balancesFilter.orderBy},accountViewMode:e.accountViewMode,nestedClassHierarchy:e.nestedClassHierarchy,classesToFilterOut:e.classesToFilterOut,dataAvailable:e.dataAvailable,isZeniCOAUsed:e.isZeniCOAUsed}),Oa=e=>{const o=Ya(e);if(o!=null)return ut(e.statementEndPoint,e.authParams,o)},ja=e=>{const{onClose:o,defaultOptions:r,dataAvailable:s,analytics:i,onSaveClickHandler:l,onThisPeriodChanged:p,onAdditionalBalanceSelectionChanged:f,onTimeframeSelectionChanged:g}=e,m=le();et();const[F,$]=u.useState(!1),[O,w]=u.useState(!1),[h,_]=u.useState(new Ye(r.firstMonthOfFY,r.timeframe,s,r.balancesFilter.numberOfPeriods,S.excel,r.balancesFilter.thisPeriod.endDate)),[c,y]=u.useState(r.statements),[v,b]=u.useState(r.timeframe),[j,E]=u.useState("excel"),[M,x]=u.useState(r.additionalBalances),[D,A]=u.useState(X(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),[W,qe]=u.useState(e.defaultOptions.accountViewMode),[G,We]=u.useState(e.defaultOptions.classesToFilterOut),[V,be]=u.useState(e.defaultOptions.balancesFilter.orderBy),[ye,Fe]=u.useState(!1),Ge=()=>{const k=te(r.firstMonthOfFY,v,D),{startOfTimeframeFY:I,endOfTimeframeFY:C}=d.getStartOfAndEndOfTimeframeForFY(D.endDate,r.firstMonthOfFY,v),L=d.zeniDate(new Date(C.year(),C.month(),C.date()).toISOString());p?.({endDate:L,startDate:I},k,!0)};u.useEffect(()=>{const k=async()=>{const I=h.endDate,{startOfTimeframeFY:C}=d.getStartOfAndEndOfTimeframeForFY(h.endDate,r.firstMonthOfFY,h.timeframe);await Oa({...e,statements:bt.filter(L=>c.includes(L)),firstMonthOfFY:e.defaultOptions.firstMonthOfFY,timeframe:h.timeframe,additionalBalances:He[h.timeframe].filter(L=>M.includes(L)),format:e.reportFormatProps.selectedFormat,statementFileType:j,accountViewMode:W,classesToFilterOut:G,balancesFilter:{thisPeriod:{startDate:C,endDate:I},orderBy:V,numberOfPeriods:h.numberOfPeriods},dataAvailable:s,isZeniCOAUsed:e.defaultOptions.isZeniCOAUsed}),e.updateDownloadStateHandler("Completed")};ye&&e.downloadState!=="In-Progress"&&(Fe(!1),e.updateDownloadStateHandler("In-Progress"),k(),i?.trackDownload(e.referrer,ht(h.timeframe),j,!1))},[i,h.endDate,h.numberOfPeriods,h.timeframe,ye,e,s,M,j,e.reportFormatProps.selectedFormat,V,c,W,G,r.firstMonthOfFY]),u.useEffect(()=>{O?F||$(k=>!k):w(k=>!k)},[M,V,D,e.reportFormatProps.selectedFormat]);const Ze=()=>{x(r.additionalBalances),h.maxNumberOfPeriods=S.pdf-r.additionalBalances.length;const k=te(r.firstMonthOfFY,h.timeframe,s,r.balancesFilter.numberOfPeriods),I=X(r.firstMonthOfFY,h.timeframe,h.endDate,k).dateRange;A(I),h.updatePeriod(I.startDate,I.endDate)},Ke=k=>{k.stopPropagation(),o()},Je=(k,I)=>{qe(k),e.showAccountGroups===!1&&k==="account_group"?e.reportFormatProps.disabledFormatForRole.push("detailed"):k==="classes"&&e.showAccountGroups===!1&&e.reportFormatProps.disabledFormatForRole.splice(e.reportFormatProps.disabledFormatForRole.indexOf("detailed"),1),k==="classes"?c.includes("profit_and_loss")&&(y(C=>C.filter(L=>L!=="profit_and_loss")),y(C=>[...C,"profit_and_loss_by_classes"])):c.includes("profit_and_loss_by_classes")&&(y(C=>C.filter(L=>L!=="profit_and_loss_by_classes")),y(C=>[...C,"profit_and_loss"])),I!==void 0&&We(I)},$e=()=>{_(new Ye(r.firstMonthOfFY,r.timeframe,s,r.balancesFilter.numberOfPeriods,S.excel,r.balancesFilter.thisPeriod.endDate)),x(r.additionalBalances),e.reportFormatProps.setSelectedFormat(r.accountViewMode==="classes"?e.reportFormatProps.roleBasedClassesSelectedFormat:e.showAccountGroups===!1?"more_detailed":"detailed"),be("ascending_date"),y(r.statements),b(r.timeframe),A(X(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),$(!1),w(!1)};return t.jsxs(xa,{children:[t.jsx(ba,{role:"presentation",onClick:k=>Ke(k),windowSize:m,children:t.jsx(ya,{})}),t.jsxs(Fa,{windowSize:m,children:[t.jsxs(ie,{windowSize:m,children:[t.jsx(fa,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,reportId:"profit_and_loss_by_classes",selectedFormat:e.reportFormatProps.selectedFormat,disabledFormat:e.reportFormatProps.disabledFormatForRole,selectedView:W,nestedClasses:e.defaultOptions.nestedClassHierarchy??[],classesToFilterOut:G,classesFetchState:e.classesFetchState,showClassAccountNumber:e.defaultOptions.showClassAccountNumber??!1,showAccountGroups:e.showAccountGroups,onNewFormatSelection:e.reportFormatProps.setSelectedFormat,onNewViewSelection:Je,onOpenAccountViewMode:e.onOpenAccountViewMode,onResetClick:$e,isResetDisabled:F}),t.jsx($a,{}),m==="small"||m==="medium-compact"?t.jsx(J,{space:a.sp5}):t.jsx(J,{space:a.sp8})]}),t.jsxs(ie,{windowSize:m,children:[t.jsx(br,{firstMonthOfFY:r.firstMonthOfFY,calendarPeriod:h,numberOfAdditionalColumns:M.length,selectedOrderBy:V,dataAvailable:s,dateRange:D,defaultOptions:r,selectedTimeframe:v,bookCloseDate:r.bookCloseDate,onDateRangeChange:A,onSelectedTimeframeChange:b,onNewOrderBySelection:be,selectedFileType:j,onAdditionalColumnsSelectionChanged:x}),t.jsx(J,{space:a.sp5})]}),t.jsxs(ie,{windowSize:m,children:[t.jsx(Ct,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,disabledAdditionalColumns:r.disabledAdditionalColumns,selectedTimeframe:v,dateRange:D,calendarPeriod:h,selectedAdditionalColumns:M,onAdditionalColumnsSelectionChanged:x,dataAvailable:s,selectedFileType:j}),t.jsx(J,{space:a.sp8})]})]}),t.jsx(ea,{onCancelClick:()=>o(),onViewReportClick:()=>{e.onUpdateDisplayOrder(V),e.onUpdateReportFormat(e.reportFormatProps.selectedFormat),l(W,G),f?.(M,h.numberOfPeriods,!0),g?.(v,!1,!0),Ge(),o()},downloadingStatement:e.downloadState==="In-Progress",disabledDownloadButton:c.length===0,downloadTypeProps:{selectedFileType:j,calendarPeriod:h,numberOfAdditionalColumns:M.length,onNewFileTypeSelection:k=>{E(k),Fe(!0)},resetToDefaultOption:Ze},onResetClick:$e,isResetDisabled:F})]})},Na=e=>{const{defaultOptions:o}=e,[r,s]=u.useState(!1),i=o.additionalBalances;return t.jsxs(ha,{onClick:()=>{s(!0)},children:[t.jsx(Xe,{visibility:r?"hidden":"visible",style:{cursor:"pointer",width:a.sp4,height:a.sp4}}),r?null:t.jsx(wa,{className:"download-badge",children:o.balancesFilter.numberOfPeriods+i.length}),r?t.jsx(ja,{...e,onClose:()=>s(!1)}):null]})};export{Na as DownloadOverlayButton,ja as default};
439
+ `,Ya=e=>({localeId:Y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:e.statementFileType,statements:e.statements,firstMonthOfFY:e.firstMonthOfFY,bookCloseDate:e.defaultOptions.bookCloseDate,timeframe:e.timeframe,additionalBalances:e.additionalBalances,format:e.format,balancesFilter:{thisPeriod:{startDate:e.balancesFilter.thisPeriod.startDate,endDate:e.balancesFilter.thisPeriod.endDate},numberOfPeriods:e.balancesFilter.numberOfPeriods,orderBy:e.balancesFilter.orderBy},accountViewMode:e.accountViewMode,nestedClassHierarchy:e.nestedClassHierarchy,classesToFilterOut:e.classesToFilterOut,dataAvailable:e.dataAvailable,isZeniCOAUsed:e.isZeniCOAUsed}),Oa=e=>{const o=Ya(e);if(o!=null)return ut(e.statementEndPoint,e.authParams,o)},ja=e=>{const{onClose:o,defaultOptions:r,dataAvailable:s,analytics:i,onSaveClickHandler:l,onThisPeriodChanged:p,onAdditionalBalanceSelectionChanged:f,onTimeframeSelectionChanged:g}=e,m=le();et();const[F,$]=u.useState(!1),[O,w]=u.useState(!1),[h,_]=u.useState(new Ye(r.firstMonthOfFY,r.timeframe,s,r.balancesFilter.numberOfPeriods,S.excel,r.balancesFilter.thisPeriod.endDate)),[c,y]=u.useState(r.statements),[v,b]=u.useState(r.timeframe),[j,E]=u.useState("excel"),[M,x]=u.useState(r.additionalBalances),[D,A]=u.useState(X(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),[q,We]=u.useState(e.defaultOptions.accountViewMode),[G,qe]=u.useState(e.defaultOptions.classesToFilterOut),[V,be]=u.useState(e.defaultOptions.balancesFilter.orderBy),[ye,Fe]=u.useState(!1),Ge=()=>{const k=te(r.firstMonthOfFY,v,D),{startOfTimeframeFY:I,endOfTimeframeFY:C}=d.getStartOfAndEndOfTimeframeForFY(D.endDate,r.firstMonthOfFY,v),L=d.zeniDate(new Date(C.year(),C.month(),C.date()).toISOString());p?.({endDate:L,startDate:I},k,!0)};u.useEffect(()=>{const k=async()=>{const I=h.endDate,{startOfTimeframeFY:C}=d.getStartOfAndEndOfTimeframeForFY(h.endDate,r.firstMonthOfFY,h.timeframe);await Oa({...e,statements:bt.filter(L=>c.includes(L)),firstMonthOfFY:e.defaultOptions.firstMonthOfFY,timeframe:h.timeframe,additionalBalances:He[h.timeframe].filter(L=>M.includes(L)),format:e.reportFormatProps.selectedFormat,statementFileType:j,accountViewMode:q,classesToFilterOut:G,balancesFilter:{thisPeriod:{startDate:C,endDate:I},orderBy:V,numberOfPeriods:h.numberOfPeriods},dataAvailable:s,isZeniCOAUsed:e.defaultOptions.isZeniCOAUsed}),e.updateDownloadStateHandler("Completed")};ye&&e.downloadState!=="In-Progress"&&(Fe(!1),e.updateDownloadStateHandler("In-Progress"),k(),i?.trackDownload(e.referrer,ht(h.timeframe),j,!1))},[i,h.endDate,h.numberOfPeriods,h.timeframe,ye,e,s,M,j,e.reportFormatProps.selectedFormat,V,c,q,G,r.firstMonthOfFY]),u.useEffect(()=>{O?F||$(k=>!k):w(k=>!k)},[M,V,D,e.reportFormatProps.selectedFormat]);const Ze=()=>{x(r.additionalBalances),h.maxNumberOfPeriods=S.pdf-r.additionalBalances.length;const k=te(r.firstMonthOfFY,h.timeframe,s,r.balancesFilter.numberOfPeriods),I=X(r.firstMonthOfFY,h.timeframe,h.endDate,k).dateRange;A(I),h.updatePeriod(I.startDate,I.endDate)},Ke=k=>{k.stopPropagation(),o()},Je=(k,I)=>{We(k),e.showAccountGroups===!1&&k==="account_group"?e.reportFormatProps.disabledFormatForRole.push("detailed"):k==="classes"&&e.showAccountGroups===!1&&e.reportFormatProps.disabledFormatForRole.splice(e.reportFormatProps.disabledFormatForRole.indexOf("detailed"),1),k==="classes"?c.includes("profit_and_loss")&&(y(C=>C.filter(L=>L!=="profit_and_loss")),y(C=>[...C,"profit_and_loss_by_classes"])):c.includes("profit_and_loss_by_classes")&&(y(C=>C.filter(L=>L!=="profit_and_loss_by_classes")),y(C=>[...C,"profit_and_loss"])),I!==void 0&&qe(I)},$e=()=>{_(new Ye(r.firstMonthOfFY,r.timeframe,s,r.balancesFilter.numberOfPeriods,S.excel,r.balancesFilter.thisPeriod.endDate)),x(r.additionalBalances),e.reportFormatProps.setSelectedFormat(r.accountViewMode==="classes"?e.reportFormatProps.roleBasedClassesSelectedFormat:e.showAccountGroups===!1?"more_detailed":"detailed"),be("ascending_date"),y(r.statements),b(r.timeframe),A(X(r.firstMonthOfFY,r.timeframe,r.balancesFilter.thisPeriod.endDate,r.balancesFilter.numberOfPeriods).dateRange),$(!1),w(!1)};return t.jsxs(xa,{children:[t.jsx(ba,{role:"presentation",onClick:k=>Ke(k),windowSize:m,children:t.jsx(ya,{})}),t.jsxs(Fa,{windowSize:m,children:[t.jsxs(ie,{windowSize:m,children:[t.jsx(fa,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,reportId:"profit_and_loss_by_classes",selectedFormat:e.reportFormatProps.selectedFormat,disabledFormat:e.reportFormatProps.disabledFormatForRole,selectedView:q,nestedClasses:e.defaultOptions.nestedClassHierarchy??[],classesToFilterOut:G,classesFetchState:e.classesFetchState,showClassAccountNumber:e.defaultOptions.showClassAccountNumber??!1,showAccountGroups:e.showAccountGroups,onNewFormatSelection:e.reportFormatProps.setSelectedFormat,onNewViewSelection:Je,onOpenAccountViewMode:e.onOpenAccountViewMode,onResetClick:$e,isResetDisabled:F}),t.jsx($a,{}),m==="small"||m==="medium-compact"?t.jsx(J,{space:a.sp5}):t.jsx(J,{space:a.sp8})]}),t.jsxs(ie,{windowSize:m,children:[t.jsx(br,{firstMonthOfFY:r.firstMonthOfFY,calendarPeriod:h,numberOfAdditionalColumns:M.length,selectedOrderBy:V,dataAvailable:s,dateRange:D,defaultOptions:r,selectedTimeframe:v,bookCloseDate:r.bookCloseDate,onDateRangeChange:A,onSelectedTimeframeChange:b,onNewOrderBySelection:be,selectedFileType:j,onAdditionalColumnsSelectionChanged:x}),t.jsx(J,{space:a.sp5})]}),t.jsxs(ie,{windowSize:m,children:[t.jsx(Ct,{firstMonthOfFY:e.defaultOptions.firstMonthOfFY,disabledAdditionalColumns:r.disabledAdditionalColumns,selectedTimeframe:v,dateRange:D,calendarPeriod:h,selectedAdditionalColumns:M,onAdditionalColumnsSelectionChanged:x,dataAvailable:s,selectedFileType:j}),t.jsx(J,{space:a.sp8})]})]}),t.jsx(ea,{onCancelClick:()=>o(),onViewReportClick:()=>{e.onUpdateDisplayOrder(V),e.onUpdateReportFormat(e.reportFormatProps.selectedFormat),l(q,G),f?.(M,h.numberOfPeriods,!0),g?.(v,!1,!0),Ge(),o()},downloadingStatement:e.downloadState==="In-Progress",disabledDownloadButton:c.length===0,downloadTypeProps:{selectedFileType:j,calendarPeriod:h,numberOfAdditionalColumns:M.length,onNewFileTypeSelection:k=>{E(k),Fe(!0)},resetToDefaultOption:Ze},onResetClick:$e,isResetDisabled:F})]})},Na=e=>{const{defaultOptions:o}=e,[r,s]=u.useState(!1),i=o.additionalBalances;return t.jsxs(ha,{onClick:()=>{s(!0)},children:[t.jsx(Xe,{visibility:r?"hidden":"visible",style:{cursor:"pointer",width:a.sp4,height:a.sp4}}),r?null:t.jsx(wa,{className:"download-badge",children:o.balancesFilter.numberOfPeriods+i.length}),r?t.jsx(ja,{...e,onClose:()=>s(!1)}):null]})};export{Na as DownloadOverlayButton,ja as default};
@@ -1,4 +1,4 @@
1
- import{q as a,j as i,c6 as P,o,F as h,y as s,ch as y,B as c,M as g,_ as k,u as t,aN as b,kb as L,kc as C,kd as R}from"./index-CUpJHznP.js";import{n}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const r=[D(),M(),B({rewardsPlan:e})],d=a();return i.jsx(A,{children:r.map((f,j)=>i.jsxs(q,{children:[i.jsx(F,{children:f}),j<r.length-1?i.jsx(E,{windowSize:d}):null]},`step_${j}`))})},D=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"link",children:i.jsx(N,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},M=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"user",children:i.jsx(I,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},B=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:r,icon:"money",children:i.jsx(X,{windowSize:r})}),i.jsx(S,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",b("0,0",e.referrerAmount))})})]})},p=n.div`
1
+ import{q as a,j as i,c6 as P,o,F as h,y as s,ch as y,B as c,M as g,L as k,u as t,aN as L,kb as b,kc as C,kd as R}from"./index-CN7UAWAg.js";import{n}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,D=({rewardsPlan:e})=>{const r=[M(),B(),_({rewardsPlan:e})],d=a();return i.jsx(A,{children:r.map((f,j)=>i.jsxs(q,{children:[i.jsx(F,{children:f}),j<r.length-1?i.jsx(E,{windowSize:d}):null]},`step_${j}`))})},M=()=>{const e=a(),r=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"link",children:i.jsx(N,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},B=()=>{const e=a(),r=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:e,icon:"user",children:i.jsx(I,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=({rewardsPlan:e})=>{const r=a(),d=x.item3;return i.jsxs(p,{windowSize:r,children:[i.jsxs(m,{children:[i.jsx(z,{windowSize:r,icon:"money",children:i.jsx(X,{windowSize:r})}),i.jsx(S,{windowSize:r,children:d.title[e.planName]})]}),i.jsx($,{windowSize:r,children:i.jsx(u,{windowSize:r,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},p=n.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${o.sp2};
4
4
  box-shadow: ${e=>`${o.sp0} 1px 2px ${o.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -15,7 +15,7 @@ import{q as a,j as i,c6 as P,o,F as h,y as s,ch as y,B as c,M as g,_ as k,u as t
15
15
  justify-content: flex-start;
16
16
  `,$=n.div`
17
17
  margin-left: ${e=>l.styledDivMarginLeft.valuePx(e.windowSize)};
18
- `,N=n(L)`
18
+ `,N=n(b)`
19
19
  height: ${e=>l.iconSize.valuePx(e.windowSize)};
20
20
  width: ${e=>l.iconSize.valuePx(e.windowSize)};
21
21
  color: ${e=>e.theme.colors.graphColor12Dark};
@@ -60,7 +60,7 @@ import{q as a,j as i,c6 as P,o,F as h,y as s,ch as y,B as c,M as g,_ as k,u as t
60
60
  z-index: -1;
61
61
  `,F=n.div`
62
62
  padding-bottom: ${o.sp4};
63
- `,{common:{navBar:{back:H}}}=h.getLocalizedStrings(),w={navBarContainerPaddingXaxis:new s(10,t[3]),containerPaddingLeft:new s(t[3],t[6],t[8]),containerPaddingRight:new s(t[3],t[6],t[8])},W={title:new c("standardRegular","largeRegular")},{referAndEarn:J}=h.getLocalizedStrings().rewardsPage;function se({rewardsPlan:e,onDismissClick:r}){const d=a();return i.jsxs(G,{windowSize:d,children:[i.jsx(T,{windowSize:d,children:i.jsxs(K,{windowSize:d,children:[d==="small"&&i.jsx(V,{children:i.jsx(P,{enterDelay:600,title:H,placement:"bottom",style:{padding:`${o.sp1} ${o.sp2}`},children:i.jsx(Z,{onClick:r})})}),i.jsx(O,{windowSize:d,children:J}),d!=="small"&&i.jsx(U,{onClick:r})]})}),i.jsx(Q,{windowSize:d,children:i.jsx(_,{rewardsPlan:e})})]})}const G=n.div`
63
+ `,{common:{navBar:{back:H}}}=h.getLocalizedStrings(),w={navBarContainerPaddingXaxis:new s(10,t[3]),containerPaddingLeft:new s(t[3],t[6],t[8]),containerPaddingRight:new s(t[3],t[6],t[8])},W={title:new c("standardRegular","largeRegular")},{referAndEarn:J}=h.getLocalizedStrings().rewardsPage;function se({rewardsPlan:e,onDismissClick:r}){const d=a();return i.jsxs(G,{windowSize:d,children:[i.jsx(T,{windowSize:d,children:i.jsxs(K,{windowSize:d,children:[d==="small"&&i.jsx(V,{children:i.jsx(P,{enterDelay:600,title:H,placement:"bottom",style:{padding:`${o.sp1} ${o.sp2}`},children:i.jsx(Z,{onClick:r})})}),i.jsx(O,{windowSize:d,children:J}),d!=="small"&&i.jsx(U,{onClick:r})]})}),i.jsx(Q,{windowSize:d,children:i.jsx(D,{rewardsPlan:e})})]})}const G=n.div`
64
64
  display: flex;
65
65
  flex-direction: column;
66
66
  background-color: ${e=>e.theme.colors.grey4};