@zeniai/web-cockpit-ui 1.13.90-qa → 1.13.91-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/dist/assets/{ACHDetailsPage-ppaaVv4t-DerAWpBF.js → ACHDetailsPage---jqahtW-HkPM6iNK.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-brocrTLA-D-qOCG9N.js → AIPerformancePage-CqtdCyg8-Dj0j3-W5.js} +36 -36
  3. package/dist/assets/{AccountInfoPage-BkqXbGUJ-CPi6xrFM.js → AccountInfoPage-Bj1CYa-r-6hrIafHf.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-DOrQxiUF-eaKGkCbW.js → AccountInfoPageContent-qqbfRfuR-DLDodhYL.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-i6rVi1gY-JXbUROYY.js → AccountReconDetailsDrawerPage-B4UwcNN9-Crki_oBL.js} +18 -18
  6. package/dist/assets/AccountRow-CPX-627p-B4ZaO0oz.js +298 -0
  7. package/dist/assets/{AccountsPromoCardStack-BvFE5A3N-ObKkidII.js → AccountsPromoCardStack-DJRAw09x-KYhdIp34.js} +26 -26
  8. package/dist/assets/{AddAddressForCardDrawer-BV2BSzaD-BdS_xiVp.js → AddAddressForCardDrawer-C16ksTIf-_DtEs9T5.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-DTEIuDRq-B2C8ipcJ.js → AddToWalletPage-CDP1oPrv-D581H1KG.js} +18 -18
  10. package/dist/assets/{AgingReportsPage-B8iVxaQX-BHVqW05k.js → AgingReportsPage-BE4plS7V-BI8-4bNE.js} +7 -7
  11. package/dist/assets/{AllUserItems-BepRyHp7-uJhUuJ3f.js → AllUserItems-hoI2_gnV-BVf131yZ.js} +8 -8
  12. package/dist/assets/{ApAgingDetailPage-DOObMUqB-PedjJRg4.js → ApAgingDetailPage-Lxprtz8c-v17bsYA_.js} +3 -3
  13. package/dist/assets/{AppBasePage-Ob8EkU54-B3S_sDum.js → AppBasePage-DNOkJf4q-CMKV9Zw9.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-CNsKktFP-ClFlv3eL.js → AppDrawerContent-DG2Jr298-DulxRmba.js} +10 -10
  15. package/dist/assets/{ApprovalRulesSettingsPage-Bn7LOelK-BW8_3MdX.js → ApprovalRulesSettingsPage-DnKXln0A-Dwcdgf1j.js} +6 -6
  16. package/dist/assets/{ArAgingChart-C0hTtEmV-VmVxz3SE.js → ArAgingChart-BRcy3--o-CqONheoM.js} +7 -7
  17. package/dist/assets/{ArAgingDetailPage-C_E_xPwf-CIbWz25g.js → ArAgingDetailPage-Djsocm6M-DY45zDqC.js} +3 -3
  18. package/dist/assets/{AttachmentView-CATl3tNf-bIcN6zuK.js → AttachmentView-C3AzH7cN-Csi7tXqw.js} +8 -8
  19. package/dist/assets/{BankAccountSection-VSbZyxoY-DFVEfVO4.js → BankAccountSection-6zosSfPV-CL3CT6a1.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-a39s142r-B8eviNRA.js → BankAccountWarningSection-CWeN3me0-QfeSw0RL.js} +6 -6
  21. package/dist/assets/{BankConnectionsSettingsPage-CBavGNdc-UjtlbwmQ.js → BankConnectionsSettingsPage-C6e0pgD4-B1leagLf.js} +22 -22
  22. package/dist/assets/{BillDetailPage-uMG3JJPb-DAfvXj70.js → BillDetailPage-DyIokQbf-BaKgZbi4.js} +9 -9
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-Bmrg1Wxh-2SsyPJ6y.js → BillPayApprovalRuleDetailPage-BOhQfwEj-CAExLIKt.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-BN21qPTb-DE8Fo-0J.js → BillPayApprovalRulesPage-CSua3b4v-Cw1EavO3.js} +7 -7
  25. package/dist/assets/{BillPayPromoPage-DoP2oC8W-DaX8TRVv.js → BillPayPromoPage-CtenNypw-CjfButz0.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-o-V-9aI5-PJo8w9bW.js → BillPaySetUpPage-CAnvQ_-Q-DJBEmdYy.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-CX-rbxzB-rBFZmJ_t.js → BillingSettingsPage-CjSAhEFl-tgXS9QLV.js} +4 -4
  28. package/dist/assets/{BillsBulkReviewDrawerPage-_qgURJjv-UExbn0pb.js → BillsBulkReviewDrawerPage-B62rj2kN-BUJLVUNP.js} +1 -1
  29. package/dist/assets/{BoxItem-CHPfWPEF-D1R-06zc.js → BoxItem-Cqmd_7h4-S5g5H_Jr.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-DT24fycp-CWdqg83h.js +140 -0
  31. package/dist/assets/{CardNumberSubText-dxYfM6ph-DEOIkYXa.js → CardNumberSubText-DszoXtgg-ySKglJLN.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-BfTC3IBm-bb4FBcKr.js → CashbackDetailPage-DAwARNZD-3Wx6cNnB.js} +13 -13
  33. package/dist/assets/{ChargeCardDetailPage-npqfreRG-6-EfyUyz.js → ChargeCardDetailPage-BzbR-Z63-7lzvBesN.js} +40 -40
  34. package/dist/assets/{ChargeCardListPage-Dbx1ymB9-DRDAjXYS.js → ChargeCardListPage-DSOp7sFg-CW3N5mrs.js} +10 -10
  35. package/dist/assets/{ChargeCardListTable-qk9tQ6Kb-lo8c0x-v.js → ChargeCardListTable-BE4it4le-6GBRyFGt.js} +10 -10
  36. package/dist/assets/{ChargeCardPromoPage-CsItH2IC-BRai09H4.js → ChargeCardPromoPage-DOibcN9n-8P5nzLqn.js} +4 -4
  37. package/dist/assets/{ChargeCardSetupPage-D5LWY3-P-BFmdbREo.js → ChargeCardSetupPage-Dm_N5oDM-BxIAhVV2.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-vYbnt2WJ-CviaTt41.js → ChargeCardStatementsPage-Dhqs5CF4-Be58aAaq.js} +2 -2
  39. package/dist/assets/{ChargeCardUtils-k5Cmi_bM-uT1V7gQT.js → ChargeCardUtils-oF0M6Gmc-CWcylJdd.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DQz9r9Pp-DwtAFMH1.js → ChaseOverlay-DPgGIuyV-JigHbzQk.js} +7 -7
  41. package/dist/assets/CheckDepositDrawerPage-DaaWfNin-BVXQpqWr.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-Dp1985is-CGhJR3X0.js → CollapsableReportTable-DMr2UDgH-cuAz2CYU.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-CGewbsKm-0xbi1fnR.js → CompanyOfficerDetailsSection-B_cIues7-BNMnvkxE.js} +19 -19
  44. package/dist/assets/{CompanyPassportCard-Dp3a8GH8-B4TBGrw7.js → CompanyPassportCard-CHF83hfN-BGYNkzga.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-CS1LPj5f-pnjyNGQL.js → CompanyPassportPage-C5W3KcDY-Bzodetvj.js} +29 -29
  46. package/dist/assets/CompleteProfile-MP9AF8Iu-CvhmGgEz.js +36 -0
  47. package/dist/assets/{ConfettiBurst-DX1P5VT_-CsNzn8F8.js → ConfettiBurst-DVT9EpwF-DHA9TDKH.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BL1BXGvy-CsdFpWXr.js → CreateOrEditVendorPage-DVbYQaWM-DGXxCdMQ.js} +13 -13
  49. package/dist/assets/{CreditCardPaymentDrawerPage-D6-R3DiA-DUyMEAO8.js → CreditCardPaymentDrawerPage-D2qT7vsE-Bf1M1_AV.js} +10 -10
  50. package/dist/assets/{CreditCardPaymentPlgSection-YcsIIUkG-DrIb0IFd.js → CreditCardPaymentPlgSection-7cmMRTQm-CcPhomOR.js} +6 -6
  51. package/dist/assets/{CurrencySelectField-CH65s5Fc-Dcp2BQTf.js → CurrencySelectField-ClhIJFVw-Cum1rEqk.js} +4 -4
  52. package/dist/assets/{CustomerOnboardingActivationPage-DCHbvIb1-DK5c91dn.js → CustomerOnboardingActivationPage-D-Ihd-H0-BECSi6lI.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-C9jXmYuH-DO8DpQlg.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cz40bZgg-CWu3HzYj.js → CustomerOnboardingDetailPageSkeleton-CUxNOK4z-Ch73W5CD.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DrbkKOBx-B_LwgpIq.js → CustomerOnboardingNoStepsPage-B9ts3Tla-CfVcbZOI.js} +4 -4
  56. package/dist/assets/CustomerOnboardingPage-DJbFeXms-BffeJFQv.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DyGs61vw-qL5DHYs8.js → CustomerOnboardingProductSuitePage-iSJtAhvu-CITklSrx.js} +5 -5
  58. package/dist/assets/{Dashboard-beLswUHx-B_MalOUp.js → Dashboard-SKeHZ5QY-pKKhGZuT.js} +38 -38
  59. package/dist/assets/DashboardReportPage-3X6wpJL2-lEFYnnKZ.js +349 -0
  60. package/dist/assets/{DepositAccTransactionItem-CfAjG3HH-D05hSl8p.js → DepositAccTransactionItem-DJNio75H-BszNXL3v.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-Cj1smNoP-BSifWrOr.js → DepositAccTransactionListPage-DTIjlF2l-BqgMCmPb.js} +3 -3
  62. package/dist/assets/{DocumentSecurityBanner-BRFFDueV-Cy6kVOtz.js → DocumentSecurityBanner-CVNWDvAg-ZZDqDElp.js} +1 -1
  63. package/dist/assets/DomesticWireDetailsPage-D-qwPVDs--Pww9UWD.js +21 -0
  64. package/dist/assets/{DownloadOverlay-Ly2ZesqA-CgW2MbtP.js → DownloadOverlay-BLj0xso_-BlktwxlM.js} +1 -1
  65. package/dist/assets/{DrawerPage-BFIdjtOJ-CoQ0pur4.js → DrawerPage-CEetzMMx-BQrlKpot.js} +3 -3
  66. package/dist/assets/{EditPeoplePage-BPHt33f5-Bk3dHegk.js → EditPeoplePage-DDUuO0Nh-opJ_tpA8.js} +8 -8
  67. package/dist/assets/{EditReimbursementDetailPage-DJ_qNQbh-CHb-02Fa.js → EditReimbursementDetailPage-CT8mqYr5-RAkBtvUB.js} +24 -24
  68. package/dist/assets/{EntityDetailPage-DZ9vXZci-BKxX4N_B.js → EntityDetailPage-DMh6o0bo-D9tSJvlK.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-kCA6OJs0-BxZntEIq.js → EntitySummarySection-tK_X4uAf-DnZqgJgW.js} +9 -9
  70. package/dist/assets/{ExpenseAutomationOverviewPage-B9K2qPQi-CLbWYQAI.js → ExpenseAutomationOverviewPage-CLUiYjKg-Cnf2er5n.js} +18 -18
  71. package/dist/assets/{ExpenseAutomationPage-LoGHiJzr-f6rmnsys.js → ExpenseAutomationPage-C9biTgak-CwmQJIGr.js} +82 -82
  72. package/dist/assets/{ExpressPayPage-B12NaLXN-CCtq8Yhl.js → ExpressPayPage-DpAixmcQ-DHNO4VFc.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-D9_aRmPj-kLENX2WT.js → FeaturePreviewPage-BohUqOFz-CnIenXNU.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BL8sM4vS-NJEQh7fF.js → FollowStepsSection-BAUXUzTr-DcO_IUEM.js} +10 -10
  75. package/dist/assets/{GlobalReviewListPage-DONc_BXP-BqymyO9D.js → GlobalReviewListPage-BxYHNkut-De1zroLC.js} +8 -8
  76. package/dist/assets/{HelpButton-khTPylkl-CC4TQ-Mh.js → HelpButton-8AQIbLQM-Dxn71Y7_.js} +2 -2
  77. package/dist/assets/{InformationCardStack-BtIMGsaQ-DAEXYJ5W.js → InformationCardStack-76GlZ-Bq-CtLoCld8.js} +4 -4
  78. package/dist/assets/{InsightsCardStack-lzduh7aO-aPmBS56j.js → InsightsCardStack-CvOFi2Uu-JAhaDMUB.js} +9 -9
  79. package/dist/assets/{InsightsSection-q1QuO6Z4-BTPE3Xuw.js → InsightsSection-DyF8JZIR-yy37hbXV.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-CpnXcxlz-BHzrWFpH.js → IntegrationsSettingsPage-mys0-i40-D_Td3Eck.js} +4 -4
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BXBsK560-Drhj4I3h.js → InternationalWireSwiftDetailsPage-km4qEcXH-BDq6b8VU.js} +7 -7
  82. package/dist/assets/{InternationalWireVerificationPage-BrnMNFx7-CYsL9FjR.js → InternationalWireVerificationPage-DauhGM3c-CQuc_5ZL.js} +5 -5
  83. package/dist/assets/{InviteFormPage-DQTEQazA-D_TlAyX6.js → InviteFormPage-FSL8fEXT-Dygrs-_-.js} +16 -16
  84. package/dist/assets/{InvitePageListView-C7CaDCYN-DgDyQbel.js → InvitePageListView-zaQ1xEHJ-BmXz06Jr.js} +27 -27
  85. package/dist/assets/{InvitePeoplePage-Ca0ZnNhV-DhNhdRht.js → InvitePeoplePage-BNB36i8Y-COHEYzwz.js} +2 -2
  86. package/dist/assets/{InvoiceUploadSection-Cm7WlMIS-CgyB8ePg.js → InvoiceUploadSection-FXrB92T6-JqJ7zAlH.js} +6 -6
  87. package/dist/assets/{IssueChargeCardPage-B7w3Xky1-CKvMuV4K.js → IssueChargeCardPage-D3cUp2DE-DFSG2B0F.js} +21 -21
  88. package/dist/assets/{LabeledAddressValue-B5Yv4nig-CNsG-WU7.js → LabeledAddressValue-BF6r800B-CeESX1Hz.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BODlYe8J-CiIDFGvo.js → LabeledAddressValueField-DYelJL4d-Dl7kIpOx.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-BBrHodlx-DZSgDuPY.js → LabeledControlledCheckBoxField-B2ATKJBH-CXyWx4Ub.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DBovHkMc-upCPJRUw.js → LabeledCreatableSingleSelectField-B9zUAA6L-1j60EBJE.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-DORRl3DI-WSVu_B_9.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-FpRJ9tiX-Tiw-2EM1.js +59 -0
  94. package/dist/assets/{LabeledText-D0aPaE6r-CDASXomo.js → LabeledText-C34I_iEo-DpYgVuJS.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--BtzlqXjH.js → LabeledUserSingleSelectWithSubtitlesField-B6aVL-fb-D9zCwLzE.js} +10 -10
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CcfvYWTB-DW_5XewE.js → LabeledZeniRolesDropDownField-Caj0_1zM-DksZdels.js} +13 -13
  97. package/dist/assets/{LinkJETransactionPage-w2poqqTD-CVvitekI.js → LinkJETransactionPage-DLmZGscZ-DAJUM85q.js} +12 -12
  98. package/dist/assets/{LowBalancePopup-BpFvPcb8-CbbQEMsW.js → LowBalancePopup-ll1SesgY-BWe295aL.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-DUyr5VX8-DMGL4iMC.js → MagicLinkACHDetailsPage-DXzjYrdU-DXTf7zdI.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTA58UoF-Bkm4wS65.js → MagicLinkDomesticWireDetailsPage-CUwp46Wf-CEU-wofA.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DDQqyw69-BZXPgm29.js → MagicLinkInternationalWireDetailsPage-B_h0EHoZ-5KHyZ3zZ.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-CKKAWryZ-BM1EXsJU.js → MagicLinkSuccessPage-BX4E-l5M-DUEIbM10.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CvW_f4xF-CqZNaUJA.js → MagicLinkTitleSection-DHe9TfVe-xOZGBQNN.js} +2 -2
  104. package/dist/assets/{MailingDetailsSection-Di5KwEqu-B9mhlAae.js → MailingDetailsSection-D8CZart4-D1oBjzV1.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-6yyRBLYC-Bbqtv452.js → MeetingCalenderPopup-D4tz-H5i-CGIgOa91.js} +3 -3
  106. package/dist/assets/{Menu-BOh_KLZu-CFhi0SIh.js → Menu-C9u3eDJk-Dna4rH8W.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BBQ0YN9M-DqTc9oHU.js → MyBankConnectionsSettingsPage-DVp3h4c0-Cn5_bOe_.js} +11 -11
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DcXCxGj2-C4pJ48Rp.js → MyPendingActivationChargeCardListPage-BTk8mY7B-BbdmJXam.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-D-lTTFuP-hNTZ9JYo.js → MyProfileSettingsPage-BdcDAwKZ-DhDLZRJB.js} +9 -9
  110. package/dist/assets/{NavBarWithPicker-CNBOk06R-BZD_yWn9.js → NavBarWithPicker-DbSWvh0o-1EJ8HziX.js} +4 -4
  111. package/dist/assets/{NavigationArrow-B15b66TT-BxpDaopE.js → NavigationArrow-BP8cU19I-DuPgzuQR.js} +1 -1
  112. package/dist/assets/{NavigationDots-5fxvl-4e-xo_TDt3y.js → NavigationDots-nvOimTil-Do5DUslv.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BeP4W8rj-BBX9UZWo.js → NewGlobalMerchantPage-D-imjD0M-pXdB0gKF.js} +6 -6
  114. package/dist/assets/{NoDataChart-edFKx0zh-BcXK0tqt.js → NoDataChart-VE4W-RUu-BjJTQpdm.js} +1 -1
  115. package/dist/assets/{NoDataTable-41nH5trW-pzm1rHwP.js → NoDataTable-d0_62BR0-vyxhk2_b.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CRVGi6Xn-b9DBQuQL.js → NotFoundPage-BydQGX11-BGoiJNRP.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-CiVAtoGY-B2aR003-.js → NotificationSettingsPage-BIzaZFzy-BGkCXx1m.js} +6 -6
  118. package/dist/assets/NotificationsListConfig-DVBOQJZq-BcXyCFD3.js +1 -0
  119. package/dist/assets/{NotificationsPage-DuHUL5V8-l7cXXilr.js → NotificationsPage-BdI4E6uL-DkzIMoYu.js} +29 -29
  120. package/dist/assets/{OpExByVendorPage-D611nXIC-DhuOhbiX.js → OpExByVendorPage-Dm90CRYi-fVB-9LNX.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-BL1aeWOM.js → OverlayContainerPage-nhe7xtoR-BxI5uHKy.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Cqab0euB-BjlrYFkz.js → PandLWithForecastPage-DhbFHH25-DsvGD_Sy.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cvn1adQb-Y7cu298L.js → PaymentAccountSetupBillingAddressSection-Debi_lWf-LBl6kVXa.js} +6 -6
  124. package/dist/assets/{PeoplePage-MCCZAx4z-BY3UpTqg.js → PeoplePage-BACu55RO-BN0ZZ-UI.js} +24 -24
  125. package/dist/assets/{PortfolioAllocationFormPage-Coa0Y4wN-Biro25bf.js → PortfolioAllocationFormPage-Cjz_E3BK-BKc2XOmG.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-C9a0p99e-BupBBmbV.js → PortfolioDetails-CS2st-Mx-B7UFy1Ls.js} +8 -8
  127. package/dist/assets/{ProductsCarousel-B0fHKTa_-DRwb_zg1.js → ProductsCarousel-TB4uKZbg-BDTdHFcB.js} +9 -9
  128. package/dist/assets/{PromoBaseCards-BuCQJuXH-jJQ9UKvZ.js → PromoBaseCards-BMPp9RNQ-B5wN89Pm.js} +5 -5
  129. package/dist/assets/{QBOConnectionDialog-D-vB9dbo-BMExMhX5.js → QBOConnectionDialog-B1b1wGeq-OoIQ8fFk.js} +9 -9
  130. package/dist/assets/{QBOSetupSection-CfficE5p-B9jrvkTN.js → QBOSetupSection-Bj_y0Lo2-D2Jh1k_B.js} +7 -7
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cg_pVsAh-DD6eBHFP.js → ReimbursementApprovalRuleDetailPage-Cz4RtqYb-BX1qPBal.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-Dg1b0lJP-BNSHjAMn.js → ReimbursementApprovalRulesPage-DJlNT4Ov-DKT5YJKy.js} +20 -20
  133. package/dist/assets/ReimbursementDetailPage-BQiu7Gts-DqYEtmnq.js +314 -0
  134. package/dist/assets/{ReimbursementPromoPage-MQpz5nNE-B2b8Se26.js → ReimbursementPromoPage-ppaPJby5-CiDmuDvG.js} +16 -16
  135. package/dist/assets/{ReimbursementSetUpPage-BRjWHns_-hYFlsZc3.js → ReimbursementSetUpPage-B6mZrzQB-38calwmF.js} +8 -8
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-wPNRkXt8-C2MKAuWk.js → ReimbursementsBulkReviewDrawerPage-DS55QesG-DWNEdEIB.js} +1 -1
  137. package/dist/assets/{ReloadCard-D5woGDxx-bUwk980b.js → ReloadCard-DDDYlCsI-BiE6_qfW.js} +5 -5
  138. package/dist/assets/ReportTableViewSelector-Bss4AtF1-D_wRO_1z.js +133 -0
  139. package/dist/assets/ReportsPage-C-g9588h-XLIvq5EO.js +120 -0
  140. package/dist/assets/{RevenueChart-CS0JmijO-Cw-uHSTf.js → RevenueChart-DPkxzWaE-ClY8SeJE.js} +25 -25
  141. package/dist/assets/{ReviewDetailsPage-C7RbpKwU-D2J8IvQH.js → ReviewDetailsPage-CyF2YP3t-B_CfpE0G.js} +14 -14
  142. package/dist/assets/{ReviewOverlay-BwgzcM9d-BIZud1RE.js → ReviewOverlay-AoSgYufX-BCA64ah8.js} +6 -6
  143. package/dist/assets/{RoleWithToolTip-DkeT6zjW-DB4n5m2x.js → RoleWithToolTip-aoWU03so-Bag-xDLs.js} +6 -6
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BzZkVg7T-rhB-3onC.js → ScheduleDetailsFixedAssetsPage-Bfj3vclV-biUqkJSS.js} +4 -4
  145. package/dist/assets/{ScheduleDetailsPage-DiXwmlk8-DlOKlput.js → ScheduleDetailsPage-B30aUjKr-VuYOr4oZ.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-CSxFNhoR-B0UeYTos.js → ScheduleSequenceTable-CStdRSyQ-YS2LkHDs.js} +22 -22
  147. package/dist/assets/{ScreenRoutes-4bmbtkw-.js → ScreenRoutes-DUx3gCGl.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-CdUpAzlt-C1MgYcT-.js → SetUpAccountSection-nul4pyeP-CLCXvV9l.js} +103 -103
  149. package/dist/assets/{SetUpDefaultSection-D4FafmO5-JKsfeRPT.js → SetUpDefaultSection-ByW3h9zl-9i3uOw78.js} +8 -8
  150. package/dist/assets/{SignIn-CAmRcuqx-Dg-rTZ6q.js → SignIn-R1Rsh38G-8L0Hp_zM.js} +18 -18
  151. package/dist/assets/{SignInScreen-DAZJjFZ6.js → SignInScreen-BE18aJB0.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DdpJprAd-B10ZaJRb.js → SpendManagementListViewPage-BqOQ7NY_-DhnClYVW.js} +4 -4
  153. package/dist/assets/{SpendManagementPerTabPage-D2Ri2q6S-BMv0UU_O.js → SpendManagementPerTabPage--2EC1Oz4-DclxNVvC.js} +36 -36
  154. package/dist/assets/{SpendManagementSection-CisJALAC-cZKA8cZE.js → SpendManagementSection-COMVry1E-CYzctw4v.js} +11 -11
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DcJhhfdt-AlupPqQd.js → SpendMgmtSetupAccountSection-fV4qxxEy-ExRAZ_sL.js} +8 -8
  156. package/dist/assets/{StatementItem-BOq_DDMZ-CY3Qpt1a.js → StatementItem-BksIBztP-GeqTXxSG.js} +5 -5
  157. package/dist/assets/{StatementsPage-C9WOCLSj-B-U-sZOJ.js → StatementsPage-DnAoeqze-BOeXA5KM.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-CofdCR_K-BkGUOxFV.js → StatusSwitcher-b1A9RnRP-B052EzJ9.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-BPVG5BHS-DY3CAvRO.js → SubTabSwitcher-CgJW4ZXd-DlWjeTn_.js} +1 -1
  160. package/dist/assets/{SummaryCard-D-me4TrL-3xZv8xrR.js → SummaryCard-sEKhcIH5-DRp31G9t.js} +1 -1
  161. package/dist/assets/TaskManagementPage-z5uvcy81-CPykjrgv.js +508 -0
  162. package/dist/assets/{TimeRangeSwitcher-BK7gGqaa-d24Db5VO.js → TimeRangeSwitcher-DQ-u6pKk-DC1xB5lv.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-SD5_8TCp-DrzKb54r.js → TimeframeSwitcher-B0yxn0SJ-CwNpTd2S.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-BlbY3qcY-CLuOSbn2.js +31 -0
  165. package/dist/assets/{TopExCard-CDgcQKGp-Bqp10Sn-.js → TopExCard-CTjfWfCk-CAtjOAda.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-CXiEe14r-DVBrKuWG.js → TopExDetailPage-CdpvcVME-J1pxGIiS.js} +6 -6
  167. package/dist/assets/{TransactionDetailPage-IJyZF-Z_-C-Z95BQG.js → TransactionDetailPage-DdF9FS4b-aUNjP2MS.js} +46 -46
  168. package/dist/assets/{TransactionList-C34ivmk5-C5mBiYt3.js → TransactionList-CHq3WONc-CDMTLkl_.js} +13 -13
  169. package/dist/assets/{TransactionListBig-qruiU0xy-tMMTuqzY.js → TransactionListBig-D-Gxd5n0-BYXDLjRx.js} +18 -18
  170. package/dist/assets/{TransactionListPage-C31U97xd-CRQaNpPy.js → TransactionListPage-DK9-YK_1-jSebPnQW.js} +5 -5
  171. package/dist/assets/{TransactionVendorDetailPage-DZsvH-GM-8MuJaqmu.js → TransactionVendorDetailPage-Cc9pTpTw-dOPSJTMD.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-DC5q2Zpv-CmGtL5lc.js → TransferDrawerPage-DoDTECI8-BFP-sFPo.js} +33 -33
  173. package/dist/assets/{TreasuryOverviewPage-DSBqawrH-DycEi82C.js → TreasuryOverviewPage-wlfReqPJ-Dd6DjTk6.js} +14 -14
  174. package/dist/assets/{TreasuryPromoPage-D6WSBxgD-BlvVAiRS.js → TreasuryPromoPage-C9WNRb2_-Bv2i8EfH.js} +8 -8
  175. package/dist/assets/{TreasurySetupPage-BgSq4D0a-ad83A_r3.js → TreasurySetupPage-CjV0cOq9-BmP_R4PT.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-Dj9RAujO-DWwk9wCn.js → TreasuryStatementsPage-DqOWNGB_-hAvO09t_.js} +5 -5
  177. package/dist/assets/{TreasuryTaxLetterPage-Dw6tL_j9-CkIAlhee.js → TreasuryTaxLetterPage-BWGHcQ-i-DCm4xllr.js} +4 -4
  178. package/dist/assets/{TreasuryTransferOrReviewPage-cBHznYnK-BXVAiiS6.js → TreasuryTransferOrReviewPage-CgL8K7N9-BrTZBU_c.js} +19 -19
  179. package/dist/assets/TrendChart-76tuu9Dr-DKqkCwBC.js +16 -0
  180. package/dist/assets/{TrendWithTransactions-BOGQK2Zt-DsTHQyvH.js → TrendWithTransactions-B_fJTS4m-B4jhKCz-.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Ci4VHOLB-BdOVs5yc.js → UncategorizedAccountsMappingPage-DpY1kK_K-CX5FrYpM.js} +7 -7
  182. package/dist/assets/{UnitIntegrationPage-DSMTzyKA-CoAUeDRa.js → UnitIntegrationPage-BTJI7fx3-B4TaSpvh.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-CBpLz-gk-Cn-PxzO4.js → UploadAdditionalDocumentOverlay-BH3bRKoG-Cxr-sGAj.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-Be7OBE4e-Dw3MgVFY.js → Vendor2FAPopup-4-XtZDNS-BuVX3Yle.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-LvWgxsF7-CaN7hXyJ.js → VendorACHDetailsPage-B2knDl4H-czLYWWIH.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-C-qpa1GC-OT8_rieb.js → VendorDetailPage-w-tghGpI-CfkAuWGF.js} +17 -17
  187. package/dist/assets/{VendorDomesticWireDetailsPage-Ckoq2I8V-sly11L4e.js → VendorDomesticWireDetailsPage-BXCCdTjh-Di1QWV1S.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-WZMwLILQ-Dvglnl8g.js → VendorFiling1099EditablePage-DGQO9Qqj-CEOM5YEV.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-DNhp59d9-6Npfw6ZQ.js → VendorFirstReviewPage-Lblb6X1V-39fudz_L.js} +40 -40
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DuP916gU-CFYN39yL.js → VendorInternationalWireDetailsPage-Bi5RBKxI-CtyyMelR.js} +9 -9
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BCIC6mrJ-CTfDKjHB.js → VendorInternationalWireSwiftDetailsPage-CBZmsXnL-B-d0u1XS.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-C4q6FPlB-Cdm8bQji.js → VendorsAccountsSection-JI0e3gKo-BI5thaS_.js} +4 -4
  193. package/dist/assets/{WarningsDrawerPage-C162biV8-CyRcKAFE.js → WarningsDrawerPage-BQzUQ5-l-D1cPDLUy.js} +5 -5
  194. package/dist/assets/{ZeniAccountDetailPage-C3NnXuFp-hGf5hhXT.js → ZeniAccountDetailPage-DPJ4mWoO-D2fzjkqw.js} +29 -29
  195. package/dist/assets/{ZeniAccountListViewPage-Cn7rYnlu-BZ6tC-rC.js → ZeniAccountListViewPage-iHMJ7FU7-UZUihbgS.js} +23 -23
  196. package/dist/assets/ZeniAccountNavBarPieces-D1g1REsS-D07e9d9s.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-BGyyQP4l-8aRktQCO.js → ZeniAccountPromoPage-OxQ03DtJ-X6atYnaZ.js} +8 -8
  198. package/dist/assets/{ZeniAccountSetupPage-CIh0isMw-BpYj-zTN.js → ZeniAccountSetupPage-BahzDcmm-B-umC_Qa.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-B83zWEf0-CbbA3mi5.js → ZeniCopyright-Dpqdxu7f-CHOK6b2K.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CPg3o4xG-Cpl4hegF.js → ZeniTransferAmountSlider-DwC6pXnb-BgJArm45.js} +1 -1
  201. package/dist/assets/analytics-BSSiLa6f.js +7 -0
  202. package/dist/assets/{analyticsHelper-Bwye1Yzk.js → analyticsHelper-CPNSDy4Z.js} +1 -1
  203. package/dist/assets/{analyticsHelper-DlYWxxhD-6PX8-p-s.js → analyticsHelper-CZ8c8du5-Ber0nUBK.js} +1 -1
  204. package/dist/assets/{chartTypes-DueLK3Wl-BWSykg1r.js → chartTypes-CWLOazD0-BCrBxX2L.js} +1 -1
  205. package/dist/assets/{commonDimensions-D4uH020E-CzLHHjVa.js → commonDimensions-Cg7EWgSP-ztBpKI_h.js} +1 -1
  206. package/dist/assets/{detailCommon-D5qKBZdS-BpsfjSiy.js → detailCommon-Cp4eknjq-ClKRuZos.js} +7 -7
  207. package/dist/assets/{downloadPdf-s4pLtuS_-DfJmhSyn.js → downloadPdf-f3F0OqWf-DUwLrQQm.js} +1 -1
  208. package/dist/assets/{index-Dc18sb8X.js → index-Dq4DW5h0.js} +3324 -3326
  209. package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-M0QN8LkC-DSfxQmfa.js → mapLoadingInProgressToTreeNode-DCLD3rcY-_6B85me3.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrtVdHui-qBoPPypE.js → mapSectionWithAcOnlyToTreeNode-C-VOXE5I-ChyvQWp0.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-yPPIJHBw-BXxWoQQn.js → mapSpacerToTreeNode-DlDwFA_F-CYv3KN_2.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-px916zpo-CuLGcUKr.js → mapTimeframeBalancesToTreeNode-EEyJwCnX-HEZ0R9-O.js} +1 -1
  214. package/dist/assets/mui-BgvZYSo0.js +22 -0
  215. package/dist/assets/{play-icon-Bih37F_s-C6sD6kbP.js → play-icon-CFa9Uibr-CaxUs2iQ.js} +3 -3
  216. package/dist/assets/{redux-ByjIRbhZ.js → redux-DmDqXYej.js} +1 -1
  217. package/dist/assets/{routing-Cpaypegg.js → routing-BNz5gZgX.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-CAhfOfUa-BLsrlpgK.js → toCOABalancesWithID-DT8-C5u1-CE-3jMAY.js} +1 -1
  219. package/dist/assets/{toChartData-BicnbT0F-CzNzHCD-.js → toChartData-63e3B91H-DoSBXci0.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-A_YlwvaQ-CVHETTwa.js → treasuryColorHelper-BGGfolJy-B6Wl_Wly.js} +1 -1
  221. package/dist/assets/{uploadAttachment-DVoWdoWD-D5s5ylN5.js → uploadAttachment-YcPIDoZ--DIC1ZEM7.js} +19 -19
  222. package/dist/assets/{uploadReceipts-Buvz7DfG-DS0aCuAZ.js → uploadReceipts-BH9fi3Vt-CnyK0TMw.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +5 -5
  225. package/dist/assets/AccountRow-D9vDRsjv-XcUg9HnZ.js +0 -298
  226. package/dist/assets/BusinessVerificationPage-YKJ-CZfb-CA1EyVwE.js +0 -140
  227. package/dist/assets/CheckDepositDrawerPage-B1Qp-xbY-CG1lluPq.js +0 -206
  228. package/dist/assets/CompleteProfile-CJOsHnBa-CTqixosH.js +0 -36
  229. package/dist/assets/CustomerOnboardingContainerPage-X6X9Yc-9-DPk_xOir.js +0 -1
  230. package/dist/assets/CustomerOnboardingPage-CIbBaMcO-D6XARpKC.js +0 -107
  231. package/dist/assets/DashboardReportPage-BM6TqjrJ-CXS5ZOn0.js +0 -349
  232. package/dist/assets/DomesticWireDetailsPage-BZ8jSo8r-CvJ1Feba.js +0 -21
  233. package/dist/assets/LabeledDocumentField-CIlbLPtO-CyOwq3qY.js +0 -41
  234. package/dist/assets/LabeledDropDownFormattedTextField-Dpt7UG-o-BXwTt2kH.js +0 -59
  235. package/dist/assets/NotificationsListConfig-BjItJJe9-DzH6eIvg.js +0 -1
  236. package/dist/assets/ReimbursementDetailPage-CE_jx7cM-NMeD4tV1.js +0 -314
  237. package/dist/assets/ReportTableViewSelector-Bc5xUtnG-B_lLxJq7.js +0 -150
  238. package/dist/assets/ReportsPage-J8DrZz78-BDQBNTzo.js +0 -120
  239. package/dist/assets/TaskManagementPage-BSmG6YR2-DNj3Vzrv.js +0 -508
  240. package/dist/assets/TimeframeSwitcherWithToggle-BwvVsB_p-D2v3J1KI.js +0 -31
  241. package/dist/assets/TrendChart-dARoUu-T-DLWmmph8.js +0 -16
  242. package/dist/assets/ZeniAccountNavBarPieces-DHYLxQKr-i6WaheRu.js +0 -14
  243. package/dist/assets/analytics-DThoELaW.js +0 -7
  244. package/dist/assets/mui-C5LQ0bMa.js +0 -25
@@ -0,0 +1,349 @@
1
+ import{X as O,u as X,M as f,w as ve,l as D,j as s,aW as He,d as Ge,I as Ue,aY as Ze,o as d,C as I,J,aZ as qe,v as oe,p as N,ao as Xe,ab as Je,a_ as Ke,a6 as Ce,K as je,g as T,Z as $e,a$ as Qe,aa as et,av as tt,n as st,b0 as ot,b1 as at,b2 as nt,b3 as ae,b4 as it,b5 as rt,f as ct,b6 as lt}from"./index-Dq4DW5h0.js";import{b as _,f as K,n as u,k as ke}from"./vendor-CnQcJ2Lu.js";import{m as U,l as te}from"./analyticsHelper-CZ8c8du5-Ber0nUBK.js";import{X as dt,e as pt}from"./ReportTableViewSelector-Bss4AtF1-D_wRO_1z.js";import{F as ut}from"./InsightsSection-DyF8JZIR-yy37hbXV.js";import{N as ge,k as mt,q as gt,H as Q,G as de}from"./detailCommon-Cp4eknjq-ClKRuZos.js";import{N as ht,G as ft,H as he,Y as fe,P as be}from"./RevenueChart-DPkxzWaE-ClY8SeJE.js";import{C as bt}from"./NoDataChart-VE4W-RUu-BjJTQpdm.js";import{n as R}from"./getReferrerType-DjPOy76W-Cm31g4vJ.js";import{p as xt}from"./TimeRangeSwitcher-DQ-u6pKk-DC1xB5lv.js";import{b as Oe}from"./TimeframeSwitcher-B0yxn0SJ-CwNpTd2S.js";import{a as _t,r as E,b as wt,i as pe,D as St}from"./CollapsableReportTable-DMr2UDgH-cuAz2CYU.js";import{S as yt,M as vt,g as Ct,L as ee,D as Be,T as Pe,I as Le}from"./mapSectionWithAcOnlyToTreeNode-C-VOXE5I-ChyvQWp0.js";import{d as jt}from"./NoDataTable-d0_62BR0-vyxhk2_b.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./NavigationDots-nvOimTil-Do5DUslv.js";import"./chartTypes-CWLOazD0-BCrBxX2L.js";import"./toCOABalancesWithID-DT8-C5u1-CE-3jMAY.js";import"./toChartData-63e3B91H-DoSBXci0.js";import"./AccountRow-CPX-627p-B4ZaO0oz.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const $t=e=>_.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},_.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),_.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),_.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),_.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),_.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),kt=u.div`
2
+ justify-content: center;
3
+ align-items: center;
4
+ display: flex;
5
+ flex-direction: column;
6
+ height: ${e=>`calc(100vh - ${qe.valuePx(e.windowSize)})`};
7
+ gap: ${d.sp6};
8
+ color: ${e=>e.theme.colors.grey2};
9
+ `,Ot=u.div`
10
+ width: ${d.sp12};
11
+ height: ${d.sp12};
12
+ flex-shrink: 0;
13
+ `,Bt=u(oe)`
14
+ color: ${e=>e.theme.colors.hero};
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: center;
18
+ flex-direction: column;
19
+ margin-top: ${d.sp3};
20
+ `,Pt=({style:e,emptyContentText:t,EmptyContentImage:o})=>{const a=O();return s.jsxs(kt,{windowSize:a,style:{...e},children:[s.jsx(Ot,{children:s.jsx(o,{})}),s.jsx(Bt,{children:t})]})};function Lt(e){const{reportId:t}=e.report,o=e.filter.balancesRange.orderBy;let a,n,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:i,cashOut:c}=p,l=i.balances.length>0?i:c;l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:i}=p;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),a=i.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:i,income:c}=p.sections,l=i?.balances.length>0?i:c;l?.balances!=null&&l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:i,income:c,cogs:l}=p.sections,g=c.balances.length>0?c:l,m=i.balances.length>0?i:g;m.balances.length>0&&(o==="ascending_date"&&(r=m.balances.length-1),a=m.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:i}=p.sections;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),a=i.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:i}=p.sections;i.balances.length>0&&(o==="ascending_date"&&(r=i.balances.length-1),a=i.balances[r]);break}case"revenue":{const p=e.report,{income:i,cogs:c}=p.sections,l=i.balances.length>0?i:c;l?.balances!=null&&l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:i,cogs:c}=p.sections,l=i.balances.length>0?i:c;l.balances.length>0&&(o==="ascending_date"&&(r=l.balances.length-1),a=l.balances[r]);break}}return a!=null&&(n={startDate:a.startDate,endDate:a.endDate}),n}function Nt(e){const{isCompareModeOn:t,filter:o,coaBalancesRange:a,report:n,currentTenantCompanyName:r,reportView:p,classesToFilterOut:i}=e,{reportId:c}=n;let l=o.balancesRange.thisPeriod;l==null&&(l=Lt({report:n,filter:o}));const g=[];if(t?(g.push("this_period_vs_last_period_percent"),g.push("this_period_vs_last_period")):!t&&c!=="cash_position"&&g.push("free_range_total"),n.reportId!=="cash_position"&&g.push("year_to_date_total"),l!=null)return{localeId:f.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[c],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:o.timeframe,additionalBalances:g,format:e.reportType,balancesFilter:{thisPeriod:l,numberOfPeriods:t?o.balancesRange.numberOfPeriods:a.numberOfPeriods,orderBy:a.orderBy},accountViewMode:p,classesToFilterOut:i,isZeniCOAUsed:e.isZeniCOAUsed}}function It(e){const t=Nt(e);if(t!=null)return dt(e.statementEndPoint,e.authParams,t)}const Rt=u.div`
21
+ padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
22
+ `;function Tt({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:o}=e,a=o.balances;if(t==null||t===0||a.length===0)return null;const n=a.reduce((c,l)=>c+l.balance.amount,0),r=a[a.length-1],p={...r,balance:{...r.balance,amount:n}},i=f.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(Rt,{children:s.jsx(Q,{balance:p,dateText:i,showInfotip:!1})})}const Dt=u.div`
23
+ padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
24
+ `;function zt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=f.getLocalizedStrings(),{availableNumberOfPeriods:o,cashPosition:a}=e,n=a.balances;if(o==null||o===0||n.length===0)return null;const r=n[n.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(Dt,{children:s.jsx(Q,{balance:r,dateText:p,showInfotip:!1})})}const Mt=u.div`
25
+ padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
26
+ `,At=u.div`
27
+ padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
28
+ height: ${d.sp6};
29
+ `;function Ft({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:o}=t,{availableNumberOfPeriods:a,calculatedSections:n}=e,r=n.netBurnOrIncome.balances;if(a==null||a===0||r.length===0)return s.jsx(At,{});const p=o.includes("this_period_vs_last_period")||o.includes("this_period_vs_last_period_percent"),i=r.reduce((b,w)=>b+w.balance.amount,0),c=r[r.length-1],l=r[0],g={...c,balance:{...c.balance,amount:i},startDate:l.startDate},m=de(g,p);return s.jsx(Mt,{children:s.jsx(Q,{balance:g,dateText:m,showInfotip:!1})})}const Et=u.div`
30
+ padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
31
+ `,Vt=u.div`
32
+ padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
33
+ height: ${d.sp6};
34
+ `;function Wt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:o}=e,{selectedAdditionalBalances:a}=t,n=e.sections.expenses.balances??[];if(o==null||o===0||n.length===0)return s.jsx(Vt,{});const r=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),p=n.reduce((m,b)=>m+b.balance.amount,0),i=n[n.length-1],c=n[0],l={...i,balance:{...i.balance,amount:p},startDate:c.startDate},g=de(l,r);return s.jsx(Et,{children:s.jsx(Q,{balance:l,dateText:g,showInfotip:!1})})}const Yt=u.div`
35
+ padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
36
+ `,Ht=u.div`
37
+ padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
38
+ height: ${d.sp6};
39
+ `;function Gt({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:o,sections:a}=e,{selectedAdditionalBalances:n}=t,r=a.income.balances;if(o==null||o===0||r.length===0)return s.jsx(Ht,{});const p=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),i=r.reduce((b,w)=>b+w.balance.amount,0),c=r[r.length-1],l=r[0],g={...c,balance:{...c.balance,amount:i},startDate:l.startDate},m=de(g,p);return s.jsx(Yt,{children:s.jsx(Q,{balance:g,dateText:m,showInfotip:!1})})}const Ut=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(Ft,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(Gt,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(Wt,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(zt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Tt,{highlightedRangeReport:e});default:return null}},se={wrapperPadding:new I(N[3],N[3],N[8]),chartHeight:new I(288,360)},Zt=u.div`
40
+ display: flex;
41
+ flex: 1 1 auto;
42
+ flex-direction: column;
43
+ height: ${e=>se.chartHeight.valuePx(e.windowSize)};
44
+ `,qt=u.div`
45
+ display: flex;
46
+ `,Xt=e=>{const t=O(),{selectedRangeReport:o,selectedClassesViewRangeReport:a,uiState:n,onCOABalancesRangeChanged:r}=e,p=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0,{selectedCOABalancesRange:i,selectedAdditionalBalances:c,highlightedCOABalancesRange:l,timeframe:g}=n,m=a!==void 0&&a.uiState.accountViewMode==="classes"?a:o;return p?s.jsx(qt,{children:s.jsx(bt,{title:f.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(Zt,{windowSize:t,children:s.jsx(Xe,{children:({height:b,width:w})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(v,S,h)=>{Jt(o.firstMonthOfFY,c,o.reportId,S,v,e.analytics),r(i,h)},highlightedRange:l,isDetailPage:!0,timeframe:g,width:w,height:b};switch(m.reportId){case"net_burn_or_income":return s.jsx(be,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(be,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue":return s.jsx(fe,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(fe,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(he,{selectedRangeReport:o,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(he,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(ft,{selectedRangeReport:o,...x});case"cash_in_cash_out":return s.jsx(ht,{selectedRangeReport:o,...x});default:return null}}})})},Jt=(e,t,o,a,n,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(R(o),U(a),"bar",te(e,a,n)),r?.trackDateRangeFilterChange(R(o),"bar",p,void 0,te(e,a,n))},Ne={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},Ie=ke`
47
+ 0% {
48
+ transform: translateY(100%)
49
+ }
50
+ 100% {
51
+ transform: translateY(0)
52
+ }
53
+ `,Kt=ke`
54
+ 0% {
55
+ opacity: 0
56
+ }
57
+ 90% {
58
+ opacity: 0
59
+ }
60
+ 100% {
61
+ opacity: 1
62
+ }
63
+ `,Qt=u.div`
64
+ position: fixed;
65
+ top: 0;
66
+ left: 0;
67
+ width: 100%;
68
+ z-index: 10;
69
+ height: 100%;
70
+ display: flex;
71
+ flex-direction: column;
72
+ align-items: center;
73
+ background: ${T.overlayDark};
74
+ `,es=u.div`
75
+ position: fixed;
76
+ top: 0;
77
+ left: 0;
78
+ width: 100%;
79
+ z-index: 10;
80
+ height: 100%;
81
+ display: flex;
82
+ flex-direction: column;
83
+ align-items: center;
84
+ overflow: auto;
85
+ background: ${T.blackColor}E6;
86
+ `,Re=u.div`
87
+ padding: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:`${d.sp0} ${d.sp8}`};
88
+ margin-top: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp0:d.sp7};
89
+ width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"100%":"620px"};
90
+ height: 544px;
91
+ text-align: center;
92
+ `,Te=u.div`
93
+ display: flex;
94
+ justify-content: flex-end;
95
+ width: 100%;
96
+ padding: ${d.sp3} ${d.sp4};
97
+ `,De=u.div`
98
+ color: ${e=>e.theme.colors.hero};
99
+ width: ${d.sp3};
100
+ height: ${d.sp3};
101
+ cursor: pointer;
102
+ line-height: ${d.sp0};
103
+ &:hover {
104
+ color: ${e=>e.theme.colors.primary};
105
+ }
106
+ animation: ${Kt} 0.4s;
107
+ `,ts=u.div`
108
+ display: flex;
109
+ flex-direction: column;
110
+ justify-content: space-between;
111
+ flex-wrap: wrap;
112
+ align-items: center;
113
+ text-align: center;
114
+ height: 640px;
115
+ width: 700px;
116
+ background: ${e=>e.theme.colors.grey5};
117
+ border-radius: ${d.sp2};
118
+ animation: ${Ie} 0.4s;
119
+ position: relative;
120
+ `,ss=u.div`
121
+ display: flex;
122
+ flex-direction: column;
123
+ justify-content: space-between;
124
+ flex-wrap: wrap;
125
+ align-items: center;
126
+ text-align: center;
127
+ height: 640px;
128
+ width: 100%;
129
+ animation: ${Ie} 0.4s;
130
+ position: relative;
131
+ `,os=u.div`
132
+ position: absolute;
133
+ left: 0;
134
+ margin-top: 130px;
135
+ `,as=u.div`
136
+ position: absolute;
137
+ left: 0;
138
+ margin-top: 500px;
139
+ `,ns=u.div`
140
+ position: absolute;
141
+ right: 30px;
142
+ margin-top: 200px;
143
+ `,is=u.div`
144
+ width: 140px;
145
+ transform: rotate(-22.31deg);
146
+ `,rs=u.div`
147
+ position: absolute;
148
+ width: 130px;
149
+ height: ${d.sp0};
150
+ margin-top: ${d.sp2};
151
+ border: none;
152
+ border-top: 3px dotted ${e=>e.theme.colors.grey3};
153
+ float: left;
154
+ `,cs=u.div`
155
+ width: 0;
156
+ height: 0;
157
+ border-top: 10px solid transparent;
158
+ border-bottom: 10px solid transparent;
159
+ border-left: ${d.sp3} solid ${e=>e.theme.colors.grey3};
160
+ float: right;
161
+ `,ls=u($e)`
162
+ max-width: 496px;
163
+ margin-top: ${d.sp7};
164
+ margin: auto;
165
+ color: ${e=>e.theme.colors.primary};
166
+ `,ds=u($e)`
167
+ max-width: 330px;
168
+ margin: auto;
169
+ color: ${T.primaryDark};
170
+ `,ze=u.div``,Me=u(oe)`
171
+ margin: ${d.sp3} auto;
172
+ max-width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"330px":"422px"};
173
+ color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?T.heroDark:e.theme.colors.hero};
174
+ `,ps=u.div`
175
+ display: flex;
176
+ flex-direction: column;
177
+ align-items: center;
178
+ justify-content: center;
179
+ margin-top: 22px;
180
+ margin-bottom: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp3:d.sp4};
181
+ `,us=u.ul`
182
+ display: flex;
183
+ flex-direction: column;
184
+ text-align: left;
185
+ width: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?"350px":"620px"};
186
+ color: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?T.heroDark:e.theme.colors.hero};
187
+ margin-top: 22px;
188
+ list-style-position: outside;
189
+ padding-left: ${d.sp3};
190
+ `,ne=u(tt)``,ie=u(et)``,re=u.li``,ms=u.div`
191
+ overflow: hidden;
192
+ max-width: 712px;
193
+ display: flex;
194
+ `,gs=u.div`
195
+ margin-bottom: ${e=>e.windowSize==="small"||e.windowSize==="medium-compact"?d.sp4:d.sp0};
196
+ background: ${e=>e.theme.colors.grey3};
197
+ border-radius: 12px;
198
+ border: ${e=>`1px solid ${e.theme.colors.grey5}`};
199
+ padding: ${d.sp2};
200
+ `,ce=()=>s.jsxs(is,{children:[s.jsx(rs,{}),s.jsx(cs,{})]}),Ae=({imgSrc:e})=>{const t=O();return s.jsxs(ps,{windowSize:t,children:[s.jsx(ms,{windowSize:t,children:s.jsx(gs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(us,{windowSize:t,children:[s.jsxs(re,{children:[s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ne,{children:f.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(re,{children:[s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ne,{children:f.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(re,{children:[s.jsx(ie,{children:f.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ne,{children:f.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},hs=e=>{const{onClose:t,reportId:o,meetingUrl:a}=e,n=O(),r=X(),p=l=>{l.stopPropagation(),t()},i=()=>{window.open(a.toString(),"_blank")},c=Ne[o][r.mode];return s.jsxs(es,{role:"presentation",onClick:l=>p(l),children:[s.jsx(Te,{children:s.jsx(De,{children:s.jsx(Ce,{style:{width:"18px",height:"18px"}})})}),s.jsx(ss,{onClick:l=>l.stopPropagation(),children:s.jsxs(Re,{windowSize:n,children:[s.jsx(ds,{children:f.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(Ae,{imgSrc:c}),s.jsxs(ze,{children:[s.jsx(je,{variant:"primary",label:f.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:i,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(Me,{windowSize:n,children:f.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},fs=e=>{const{onClose:t,reportId:o,meetingUrl:a}=e,n=O(),r=X(),p=l=>{l.stopPropagation(),t()},i=()=>{window.open(a.toString(),"_blank")},c=Ne[o][r.mode];return s.jsxs(Qt,{role:"presentation",onClick:l=>p(l),children:[s.jsx(Te,{children:s.jsx(De,{children:s.jsx(Ce,{style:{width:"18px",height:"18px"}})})}),s.jsxs(ts,{onClick:l=>l.stopPropagation(),children:[s.jsxs(Re,{windowSize:n,children:[s.jsx(ls,{children:f.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(Ae,{imgSrc:c}),s.jsxs(ze,{children:[s.jsx(je,{variant:"primary",label:f.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:i}),s.jsx(Me,{windowSize:n,children:f.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(os,{children:s.jsx(ce,{})}),s.jsx(as,{children:s.jsx(ce,{})}),s.jsx(ns,{children:s.jsx(ce,{})})]})]})};function bs(e){const t=O();return t==="small"||t==="medium-compact"?s.jsx(hs,{...e}):s.jsx(fs,{...e})}const le="ZeniSwitch",z={root:`${le}-root`,switchBase:`${le}-switchBase`,track:`${le}-track`},xs=({className:e,...t})=>s.jsx(it,{...t,className:e,classes:{...z}}),_s=Qe(xs)(({theme:e})=>({[`& .${z.switchBase}`]:{color:e.colors.grey2},[`& .${z.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${z.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${z.switchBase}.Mui-checked + .${z.track}`]:{backgroundColor:e.colors.grey1},[`& .${z.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${z.switchBase}.Mui-disabled + .${z.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),Fe=e=>s.jsx(_s,{...e}),Z={containerMaxWidth:new I(124,154),forecastNameInnerWidth:new I(75,105),forecastNameOuterWidth:new I(90,120),tooltipTopPosition:new I(51,51),tooltipWidth:new I(180,150)},xe=u.div``,ws=u.div`
201
+ min-width: ${e=>Z.forecastNameInnerWidth.valuePx(e.windowSize)};
202
+ &:hover {
203
+ .info-tooltip {
204
+ display: flex;
205
+ flex-direction: row;
206
+ justify-content: center;
207
+ align-items: center;
208
+ }
209
+ }
210
+ `,Ss=u.div`
211
+ display: flex;
212
+ flex-direction: column;
213
+ width: 315px;
214
+ white-space: normal;
215
+ `,ys=u(rt)`
216
+ display: flex;
217
+ justify-content: space-between;
218
+ color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
219
+ margin-bottom: ${d.sp1};
220
+ align-items: center;
221
+ `,vs=u(oe)`
222
+ display: flex;
223
+ color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
224
+ margin-bottom: ${d.sp1};
225
+ `,Cs=u.div``,js=u.div``,$s=u(ct)`
226
+ display: flex;
227
+ color: ${T.alert};
228
+ `,ks=u(lt)`
229
+ color: ${T.alert};
230
+ width: ${d.sp4};
231
+ height: ${d.sp4};
232
+ margin-right: ${d.sp1};
233
+ `,Os=u.span`
234
+ overflow: hidden;
235
+ white-space: nowrap;
236
+ text-overflow: ellipsis;
237
+ max-width: ${e=>Z.forecastNameOuterWidth.valuePx(e.windowSize)};
238
+ text-align: right;
239
+ `,Bs=u.div`
240
+ display: flex;
241
+ flex-direction: row;
242
+ align-items: center;
243
+ justify-content: end;
244
+ `,Ps=u.div`
245
+ background-color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
246
+ border-radius: 3px;
247
+ border-width: 1px;
248
+ border-style: solid;
249
+ width: 3px;
250
+ height: 3px;
251
+ align-self: center;
252
+ margin-left: ${d.sp2};
253
+ margin-right: ${d.sp2};
254
+ `,Ls=u.div``,Ns=u.div`
255
+ display: none;
256
+ background-color: ${e=>e.theme.colors.primary};
257
+ position: absolute;
258
+ padding: 2px 5px;
259
+ border: 1px solid ${e=>e.theme.colors.primary};
260
+ border-radius: ${d.sp1};
261
+ z-index: 1;
262
+ width: ${e=>Z.tooltipWidth.valuePx(e.windowSize)};
263
+ top: ${e=>Z.tooltipTopPosition.valuePx(e.windowSize)};
264
+ `,Is=u(st)`
265
+ color: ${e=>e.theme.colors.grey5};
266
+ `;function Rs({selectedForecastIndex:e,forecasts:t,isDisabled:o,isForecastValid:a,onForecastSelectionChanged:n}){const r=O(),{dateFormat:{visual:p}}=f.getLocalizedStrings(),i=m=>`${m.startDate.format(p.MMMYYYYFormat)} - ${m.endDate.format(p.MMMYYYYFormat)}`,c=m=>m.map((b,w)=>({label:b.name,value:w,forecastId:b.id,timeframeLabel:i(b.forecastPeriod),isValid:a(b)})),[l,g]=_.useState(c(t));return K.useEffect(()=>{g(c(t))},[t]),s.jsxs(ws,{windowSize:r,children:[s.jsx(Ls,{children:s.jsx(Ns,{className:"info-tooltip",windowSize:r,children:s.jsx(Is,{children:l[e]!=null?l[e].label:""})})}),s.jsx(Ts,{selectedForecast:l[e],forecastOptions:l,isDisabled:o,onForecastSelectionChanged:n})]})}const Ts=({selectedForecast:e,forecastOptions:t,isDisabled:o,onForecastSelectionChanged:a})=>{const n=X(),r=O(),[p,i]=_.useState(e),c=n.colors.grey5,l=n.colors.grey5,g=n.colors.grey3;_.useEffect(()=>{i(e)},[e]);const m=u(ot)`
267
+ height: ${d.sp3};
268
+ width: ${d.sp3};
269
+ `,b=u(at)`
270
+ height: 12px;
271
+ width: 12px;
272
+ margin-left: 6px;
273
+ `,w=({children:h,...C})=>s.jsx(ae.SingleValue,{...C,children:s.jsxs(Bs,{children:[s.jsx(Os,{windowSize:r,children:h}),s.jsx(b,{})]})}),x=h=>s.jsx(ae.DropdownIndicator,{...h,children:s.jsx(xe,{})}),v=h=>s.jsx(xe,{children:s.jsx(ae.Option,{...h,children:s.jsxs(Ss,{children:[s.jsxs(ys,{isValid:h.data.isValid,children:[h.label,h.isSelected?s.jsx(m,{}):null]}),s.jsxs(vs,{isValid:h.data.isValid,children:[s.jsx(Cs,{children:h.data.timeframeLabel}),s.jsx(Ps,{isValid:h.data.isValid}),s.jsx(js,{children:f.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),h.data.isValid===!1?s.jsxs($s,{children:[s.jsx(ks,{}),f.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(h,C)=>({...h,border:0,backgroundColor:l,color:C.selectProps.menuIsOpen===!0?n.colors.primary:n.colors.hero,boxShadow:l,":active":{backgroundColor:l},":hover":{color:n.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:h=>({...h,backgroundColor:l,maxWidth:Z.containerMaxWidth.valuePx(r),minWidth:Z.containerMaxWidth.valuePx(r)}),singleValue:(h,C)=>({...h,color:C.selectProps.menuIsOpen===!0?n.colors.primary:n.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:n.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:h=>({...h,backgroundColor:c,borderRadius:N[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${n.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:h=>({...h,borderRadius:N[1],maxWidth:"350px"}),option:(h,{isDisabled:C,isSelected:k,isFocused:V})=>({...h,color:k?n.colors.champion:n.colors.hero,backgroundColor:k===!0?g:V===!0&&C!==!0?n.colors.background:c,cursor:C===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:C===!1?k===!0?g:n.colors.background:c,color:n.colors.primary},borderBottom:"1px solid "+n.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(nt,{options:t,components:{SingleValue:w,DropdownIndicator:x,Option:v},styles:S,defaultValue:p,onChange:h=>{const C=h;i(C),a(C.forecastId,C.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:h=>h.isValid===!1,theme:h=>({...h,colors:{...h.colors,primary:c}}),isDisabled:o})},_e={timeframePaddingLeft:new I(0,0,245),timeframePaddingBottom:new I(8,8,0)},Ds=u.div`
274
+ display: flex;
275
+ width: 100%;
276
+ flex-direction: column;
277
+ `,zs=u.div`
278
+ display: flex;
279
+ width: 100%;
280
+ flex-direction: row;
281
+ `,Ee=u.div`
282
+ display: flex;
283
+ flex-direction: row;
284
+ flex: 1 1 auto;
285
+ justify-content: center;
286
+ padding-left: ${e=>_e.timeframePaddingLeft.valuePx(e.windowSize)};
287
+ padding-bottom: ${e=>_e.timeframePaddingBottom.valuePx(e.windowSize)};
288
+ `,Ms=u.div`
289
+ display: flex;
290
+ width: 100%;
291
+ flex-direction: row;
292
+ align-items: center;
293
+ justify-content: center;
294
+ `,As=u.div`
295
+ display: flex;
296
+ flex-direction: row;
297
+ align-items: center;
298
+ justify-self: flex-end;
299
+ justify-content: flex-end;
300
+ min-width: 315px;
301
+ `,Fs=u.div`
302
+ display: flex;
303
+ flex-direction: row;
304
+ align-items: center;
305
+ margin-right: ${d.sp5};
306
+ `,Ve=u(oe)`
307
+ color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
308
+ opacity: ${e=>e.isDisabled?.5:1};
309
+ `,We=({label:e,isOn:t,isToggleDisabled:o,onValueChanged:a})=>s.jsxs(s.Fragment,{children:[s.jsx(Ve,{isOn:t,isDisabled:o===!0,children:e}),s.jsx(Fe,{checked:t,edge:"end",disabled:o===!0,disableRipple:o===!0,onChange:n=>{a(n.target.checked)}})]});function Ye({isOn:e,isDisabled:t,selectedForecastIndex:o,forecasts:a,isForecastValid:n,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(Fs,{children:[e===!0&&a!=null&&a.length!==0?s.jsx(Rs,{selectedForecastIndex:o??0,forecasts:a,isForecastValid:n,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ve,{isOn:e,isDisabled:t===!0,children:f.getLocalizedStrings().reports.forecast.forecast}),s.jsx(Fe,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:i=>{r(i.target.checked)}})]})}const Es=e=>{const t=O();return s.jsxs(Ds,{children:[s.jsx(Ee,{windowSize:t,children:s.jsx(Oe,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Ms,{children:[e.forecastListWithToggle!=null&&s.jsx(Ye,{...e.forecastListWithToggle}),s.jsx(We,{...e.compareToggle,label:f.getLocalizedStrings().compareSwitchLabel})]})]})},Vs=e=>{const t=O();return s.jsxs(zs,{children:[s.jsx(Ee,{windowSize:t,children:s.jsx(Oe,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(As,{children:[e.forecastListWithToggle!=null&&s.jsx(Ye,{...e.forecastListWithToggle}),s.jsx(We,{...e.compareToggle,label:f.getLocalizedStrings().compareSwitchLabel})]})]})};function Ws(e){const t=O();return t==="small"||t==="medium-compact"?s.jsx(Es,{...e}):s.jsx(Vs,{...e})}const Ys=u.div`
310
+ display: flex;
311
+ padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
312
+ `,Hs=u.div``,Gs=u.div``,Us=e=>{const{selectedRangeReport:t,uiState:o,analytics:a,onThisPeriodChanged:n,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:i}=e,c=ve(),{allTimeframeTicks:l}=t,{selectedCOABalancesRange:g,timeframe:m}=o,b=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],w=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=o.mode==="compare_mode"&&!w,v=c.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let S,h;switch(t.reportId){case"revenue":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;case"net_burn_or_income":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;case"operating_expenses":S=t.forecastList?.forecasts,h=t.forecastList?.fetchState;break;default:S=void 0}const C=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=C||t.availableNumberOfPeriods===1,V=y=>!!y.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[B,A]=_.useState(!1),Y=D.toZeniUrl("https://meetings.hubspot.com/svitlana-grankovska"),F=o.mode,L=o.selectedForecast;_.useEffect(()=>{F==="forecast_mode"&&h==="Completed"&&S?.length===0&&(A(!0),document.body.style.overflow="hidden")},[h,F,S]),_.useEffect(()=>{F==="forecast_mode"&&L!=null&&S!=null&&S.length>0&&e.analytics?.trackForecastSwitch(R(t.reportId),S[L.index].name)},[L]);const W=(y,j,H)=>{j===!0&&e.analytics?.trackForecastVsActualMode(R(t.reportId),"",y==="forecast_mode"),e.onForecastToggle?.(y,H)};return s.jsx(Gs,{children:s.jsxs(Hs,{children:[s.jsx(Ys,{children:s.jsx(Ws,{timeframe:{allowedTimeframes:b,selectedTimeframe:m,onTimeframeSelectionChanged:y=>{e.analytics?.trackTimeframeSwitch(U(y),R(t.reportId)),r?.(y),e.uiState.mode==="compare_mode"&&!x&&i(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:f.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:y=>{const j=y===!0||o.mode==="forecast_mode"?3:1;a?.trackCompareMode(y,R(t.reportId),U(m)),i(y,y?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:v===!0?{isOn:o.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:S,isForecastValid:V,onForecastSelectionChanged:(y,j)=>W("forecast_mode",!1,{id:y,index:j}),onForecastToggleChanged:y=>{W(y===!0?"forecast_mode":"off",!0)}}:void 0})}),B==!0?s.jsx(bs,{meetingUrl:Y,reportId:t.reportId,onClose:()=>{A(!1),e.onForecastToggle?.("off");const y=1;document.body.style.overflow="auto",i(x,x?["this_period_vs_last_period_percent"]:[],y)}}):null,C?null:s.jsx(xt,{firstMonthOfFY:t.firstMonthOfFY,timeframe:m,timeframeTicks:l,selection:{selectedTicks:ge(l,g),highlightedOfSelectedTicks:ge(l,g)},onClick:(y,j)=>{we(t.firstMonthOfFY,x,t.reportId,m,j,e.analytics),n(j)},onSelectionChanged:(y,j)=>{const H=mt(l,y.fromEnd),G=gt(l,j);we(t.firstMonthOfFY,x,t.reportId,m,G.thisPeriod,e.analytics),p(H,G)}})]})})},we=(e,t,o,a,n,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(R(o),U(a),"range filter",te(e,a,n)),r?.trackDateRangeFilterChange(R(o),"range filter",t,te(e,a,n))};function ue({account:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:r,parentNodeIDs:p}){return{children:[],id:E("ac_report",p,e.accountId),isLastNode:n,reportElementData:{element:{kind:"ac_report",title:a,sectionType:t,data:e,numOfBalances:o},config:r}}}function Zs({acGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:r,parentNodeIDs:p}){const i=E("ac_group_report",p,e.accountGroupId),c={children:[],id:i,isLastNode:n,reportElementData:{element:{kind:"ac_group_report",title:a,sectionType:t,data:e,numOfBalances:o},config:r}},l=pe(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return c.children=l.map((g,m)=>ue({account:g,sectionType:t,numOfBalances:o,title:g.accountDescription,config:r,isLastNode:m===l.length-1,parentNodeIDs:[...p,i]})),c}function Se({section:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:r}){const p=E("section",[],a),i={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:r}},c=St(e,r.displayOrder,o,!1),l=qs(c.balances),g=pe(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),m=g.compactedAccountsSelectorVariant(e.accountsOrdered),b=g.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(l===!0&&(b.length>0||e.accountsOrdered.length>0)){const w=b.map((v,S)=>Zs({acGroup:v,sectionType:t,numOfBalances:o,title:v.accountGroupName,isLastNode:S===b.length-1,config:r,parentNodeIDs:[p]})),x=m.map((v,S)=>ue({account:v,sectionType:t,numOfBalances:o,title:v.accountDescription,isLastNode:S===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));i.children.push(...w),i.children.push(...x)}return i}function qs(e){let t=!1;if(e!=null){for(const o of e)if(o!=null&&o.balance.amount!==0){t=!0;break}}return t}function M({balances:e,config:t,nodeId:o}){let a="timeframe_headers";return t.mode==="actual_vs_forecast"&&(a="timeframe_headers_with_forecast"),{children:[],id:o??E("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:a,title:"",data:e,numOfBalances:e.length},config:t}}}function Xs(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=M({balances:r,config:t}),i=Se({section:e.cashIn,sectionType:"cash_in",numOfBalances:n,title:a.sections.cashIn,isLastNode:!0,config:t}),c=Se({section:e.cashOut,sectionType:"cash_out",numOfBalances:n,title:a.sections.cashOut,isLastNode:!0,config:t}),l=ee({calculatedSection:e.netCashFlow,numOfBalances:n,title:a.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:o?[p]:[],contentNodes:[p,i,c,l]}}function me({title:e,balances:t,config:o,numOfBalances:a,nodeId:n}){return{children:[],id:n??E("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:a},config:o}}}function Js(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,i=M({balances:r,config:t}),c=me({title:f.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:n}),l=E("section",[],a.sections.netCashFlow),g=pe("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((m,b)=>ue({account:m,sectionType:"cash_position",numOfBalances:n,title:m.accountDescription,isLastNode:b===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[l]}));return{config:t,headerNodes:o?[i]:[],contentNodes:[i,c,...g]}}function Ks(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isNetBurnOrIncomeClassesViewSectionID(c)===!0?i.push(Be({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):D.isNetBurnOrIncomeClassesViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:c==="netBurnOrIncome"?e.reportTitle:a.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function Qs(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isNetBurnOrIncomeReportViewSectionID(c)===!0?e.sections[c].accountGroups.length>0?i.push(Pe({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):i.push(Le({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):D.isNetBurnOrIncomeReportViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:c==="netBurnOrIncome"?e.reportTitle:a.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function eo(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=M({balances:r,config:t}),i=e.sections.expenses,c=me({title:f.getLocalizedStrings().chartCard.total,balances:i,config:t,numOfBalances:n}),l=[];l.push(p),l.push(c);const g=E("section",[],a.sections.expenses);return e.sections.expenses.classes.forEach((m,b)=>{l.push(yt({classNode:m,sectionType:"expenses",numOfBalances:n,title:m.class.className,isLastNode:m.isLeafClass,config:t,parentNodeIDs:[g],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:m.id.length-1,hasSibling:!1,hasChildren:m.children.length>0,isLastNode:b===e.sections.expenses.classes.length-1,name:m.class.className}]}}))}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}function to(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=M({balances:r,config:t}),i=e.sections.expenses,c=me({title:f.getLocalizedStrings().chartCard.total,balances:i,config:t,numOfBalances:n}),l=E("section",[],a.sections.expenses),g=wt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),m=[];m.push(p),m.push(c);const b=g.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(b.length!=0){const w=b.map((x,v)=>vt({acGroup:x,sectionType:"expenses",numOfBalances:n,title:x.accountGroupName,isLastNode:v===b.length-1,config:t,parentNodeIDs:[l]}));m.push(...w)}else if(e.sections.expenses.accounts?.length!==0){const w=g.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=w.map((v,S)=>Ct({account:v,sectionType:"expenses",numOfBalances:n,title:v.account.accountName,isLastNode:S===w.length-1,config:t,parentNodeIDs:[l],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:w.length>1,hasChildren:v.children.length>0,isLastNode:S===w.length-1}]}}));m.push(...x)}return{config:t,headerNodes:o?[p]:[],contentNodes:m}}function so(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isRevenueClassesViewSectionID(c)===!0?i.push(Be({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):D.isRevenueClassesViewCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:a.sections.grossMargin,isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function oo(e,t,o=!0){const a=f.getLocalizedStrings().reports,n=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=M({balances:r,config:t}),i=[];return i.push(p),e.idsInOrder.forEach(c=>{D.isRevenueSectionID(c)===!0?e.sections[c].accountGroups.length>0?i.push(Pe({section:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):i.push(Le({sectionWithAcOnly:e.sections[c],sectionType:c,numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t})):D.isRevenueCalculatedSectionID(c)===!0&&i.push(ee({calculatedSection:e.calculatedSections[c],numOfBalances:n,title:a.sections[c],isLastNode:!0,config:t}))}),{config:t,headerNodes:o?[p]:[],contentNodes:i}}function ao(e,t,o,a=!0){Object.assign(e.config,t);const n=no(o),r=M({balances:n,config:t});return{config:t,headerNodes:a?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const no=e=>{switch(e.reportId){case"net_burn_or_income":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"net_burn_or_income_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:[]}case"revenue":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"revenue_by_classes":{const t=e;return t.sections.income.balances.length>0?[...t.sections.income.balances,...t.sections.income.additionalBalances]:t.sections.cogs.balances.length>0?[...t.sections.cogs.balances,...t.sections.cogs.additionalBalances]:t.calculatedSections.grossMargin.balances.length>0?[...t.calculatedSections.grossMargin.balances,...t.calculatedSections.grossMargin.additionalBalances]:[]}case"cash_position":{const t=e;return[...t.cashPosition.balances,...t.cashPosition.additionalBalances]}case"cash_in_cash_out":{const t=e;return t.cashIn.balances.length>0?[...t.cashIn.balances,...t.cashIn.additionalBalances]:[...t.cashOut.balances,...t.cashOut.additionalBalances]}case"operating_expenses":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}case"operating_expenses_by_classes":{const t=e;return[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]}default:return[]}},ye={contentPaddingLeft:new I(N[0],N[0],N[0]),contentPaddingRight:new I(N[3],N[3],N[8])},io=u.div`
313
+ width: 100%;
314
+ height: calc(100vh - 70px);
315
+ `,ro=u.div`
316
+ display: flex;
317
+ position: sticky;
318
+ justify-content: center;
319
+ padding-top: ${d.sp6};
320
+ padding-left: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
321
+ background-color: ${e=>e.theme.colors.grey4};
322
+ `,co=u.div`
323
+ position: absolute;
324
+ margin-top: ${d.sp3};
325
+ `,lo=e=>{const t=O(),o=X(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:r,scrollPosition:p,isZeniUser:i,onTableScroll:c,onElementCollapseStateChanged:l,onAccountBalanceClick:g,onUpdateAccountViewMode:m,onUpdateClassesToFilterOut:b,onOpenAccountViewMode:w}=e,{highlightedCOABalancesRange:x,mode:v}=r,S=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,h=a.availableNumberOfPeriods!=null&&a.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!h,k=C||r.mode==="forecast_mode"?3:1,V=P=>{e.analytics?.trackCompareFilterChange(P==="compare_mode_percent"?"percentage":"amount",R(a.reportId),U(r.timeframe),"dropdown");const $=P==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[$],x?.numberOfPeriods??k)},[B,A]=_.useState(void 0),[Y,F]=_.useState(void 0),L=!(t==="small"||t==="medium-compact"),W=v==="forecast_mode"?"name+balances_forecast":"name+balances_actual",y=uo(r.selectedAdditionalBalances),j=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a,H=v==="forecast_mode"?"actual_vs_forecast":C===!0?"this_period_vs_period_before":"none",G=a.reportId==="net_burn_or_income"||a.reportId==="operating_expenses"||a.reportId==="revenue",q=(P,$)=>{P!==n?.uiState.accountViewMode&&m?.(P),$&&b?.($)};return _.useEffect(()=>{const P={reportId:v==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:H,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:v==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:Ke(),showClassAccountNumber:i,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(B==null||!J(Y,j)){const $=po(j,P,L);F(j),A($)}else{const $=ao(B,P,j,L);A($)}},[W,C,j]),s.jsx(ro,{windowSize:t,children:S?s.jsx(jt,{}):B!=null?s.jsxs(io,{children:[s.jsx(_t,{backgroundColor:new Je(o.colors.grey4),rootNodes:B,type:W,compareMode:y,isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:ye.contentPaddingLeft.value(t),right:ye.contentPaddingRight.value(t)},onAccountClick:g==null?void 0:(P,$)=>{g(P,$)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:c,onNodeCollapseToggled:l}),G===!0&&n!==void 0?s.jsx(co,{children:s.jsx(pt,{reportId:a.reportId,nodes:n.classHierarchy,classesListFetchState:n.fetchState,selectedView:n.uiState.accountViewMode,showClassAccountNumber:i,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:q,classesToBeFilteredOut:n.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:n.firstMonthOfFY,onOpenAccountViewMode:w})}):null]}):null})},po=(e,t,o=!0)=>{switch(e.reportId){case"net_burn_or_income":return Qs(e,t,o);case"net_burn_or_income_by_classes":return Ks(e,t,o);case"revenue":return oo(e,t,o);case"revenue_by_classes":return so(e,t,o);case"cash_position":return Js(e,t,o);case"cash_in_cash_out":return Xs(e,t,o);case"operating_expenses":return to(e,t,o);case"operating_expenses_by_classes":return eo(e,t,o);default:return}},uo=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",mo=u.div`
326
+ display: flex;
327
+ flex: 1 1 auto;
328
+ min-height: 100%;
329
+ flex-direction: column;
330
+ width: 100%;
331
+ background-color: ${e=>e.theme.colors.grey4};
332
+ `,go=u.div`
333
+ position: relative;
334
+ box-shadow: ${e=>`2px 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
335
+ background-color: ${e=>e.theme.colors.grey5};
336
+ padding-left: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
337
+ padding-right: ${e=>se.wrapperPadding.valuePx(e.windowSize)};
338
+ `,ho=u.div`
339
+ display: flex;
340
+ justify-content: center;
341
+ padding: ${d.sp6} ${d.sp0};
342
+ `,fo=u.div`
343
+ display: flex;
344
+ flex-direction: column;
345
+ justify-content: center;
346
+ align-items: center;
347
+ height: 100vh;
348
+ margin-top: ${d.sp8};
349
+ `,Zo=e=>{const t=O(),o=X(),[a,n]=_.useState(!1),r=f.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:i,selectedClassesViewRangeReport:c,uiState:l,downloadParams:g,analytics:m,onBackClick:b,updateDownloadStateHandler:w,onAdditionalBalanceSelectionChanged:x}=e,{insights:v}=i,{selectedCOABalancesRange:S,timeframe:h,selectedAdditionalBalances:C,downloadState:k}=l,V=i.availableNumberOfPeriods!=null&&i.availableNumberOfPeriods<2,B=l.mode==="compare_mode"&&!V,A=ve(),Y=A.loggedInUserRole!=null&&!D.hasInvestorBankerLevelAccess(A.loggedInUserRole),F=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";_.useEffect(()=>{async function $(){await It({report:c!==void 0&&c.uiState.accountViewMode==="classes"?c:i,filter:i.filter,coaBalancesRange:S,isCompareModeOn:B,reportView:c!==void 0?c.uiState.accountViewMode:"account_group",classesToFilterOut:c!==void 0?c.uiState.classesToFilterOut:[],...g,reportType:Y||F?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),m?.trackDownload(R(i.reportId),U(h),"excel",B),w("Completed")}a&&k!=="In-Progress"&&(n(!1),w("In-Progress"),$())},[g,k,i.filter,a,B,S,i,c,h,m,w,Y,F,e.isZeniCOAUsed]);const L=i.availableNumberOfPeriods==null||i.availableNumberOfPeriods===0||i.allTimeframeTicks.length===0,W=i.fetchState==="In-Progress"||i.fetchState==="Not-Started";_.useEffect(()=>{const $=B||l.mode==="forecast_mode"?3:1;x(B,C,$)},[t]);const y=$=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(Ue.Event.search,R(i.reportId),$.type,$.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.($)},{autoCompleteData:j,autoCompleteActions:H,scrollPosition:G,...q}=e,P=s.jsx(Ze,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:L,isDownloading:k==="In-Progress"}],onDownloadClick:async $=>{if($==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else n(!0)}}}});return s.jsxs(mo,{children:[s.jsx(He,{title:p.reportTitle,backgroundColor:o.colors.grey5,onBackClick:b,rightSideComponent:P,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:y}},source:"DashboardReportPage"}),W===!0?s.jsx(fo,{children:s.jsx(Ge,{size:"Standard",start:!0})}):L?s.jsx(Pt,{style:{background:o.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:$t}):s.jsxs(s.Fragment,{children:[s.jsxs(go,{windowSize:t,children:[s.jsx(wo,{...q}),s.jsx(bo,{highlightedRangeReport:i,uiState:l}),s.jsx(xo,{...q}),s.jsx(ho,{children:s.jsx(ut,{insights:v})})]}),s.jsx(_o,{scrollPosition:G,...q})]})]})},bo=K.memo(Ut,J),xo=K.memo(Xt,J),_o=K.memo(lo,J),wo=K.memo(Us,J);export{Zo as default};
@@ -1,4 +1,4 @@
1
- import{_ as $,gW as u,X as y,j as l,o as i,s as d,m as c}from"./index-Dc18sb8X.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-CHPfWPEF-D1R-06zc.js";import{o as v}from"./commonDimensions-D4uH020E-CzLHHjVa.js";function M({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:g}=e,f=r.length>0?r:m,a=$("0,0.00",x),n=u(g),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:f}),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(A,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{_ as $,gX as u,X as y,j as l,o as i,s as d,f as c}from"./index-Dq4DW5h0.js";import{n as t}from"./vendor-CnQcJ2Lu.js";import{g as k}from"./BoxItem-Cqmd_7h4-S5g5H_Jr.js";import{o as v}from"./commonDimensions-Cg7EWgSP-ztBpKI_h.js";function M({data:e,boxType:w}){const{counterParty:r,typeName:s,amount:x,logo:p,summary:m,direction:b,status:f}=e,g=r.length>0?r:m,a=$("0,0.00",x),n=u(f),o=y(),h=l.jsxs(N,{children:[l.jsx(C,{src:p?.toString(),loading:"lazy"}),l.jsx(T,{children:l.jsxs(E,{windowSize:o,children:[l.jsx(D,{children:g}),n!=null?l.jsxs(P,{windowSize:o,children:[l.jsx(X,{windowSize:o}),l.jsx(R,{color:n?.color,children:n?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[s!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:s})}):null,l.jsx(A,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:w,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -58,7 +58,7 @@ import{_ as $,gW as u,X as y,j as l,o as i,s as d,m as c}from"./index-Dc18sb8X.j
58
58
  -webkit-box-orient: vertical;
59
59
  -webkit-line-clamp: 1;
60
60
  display: -webkit-box;
61
- `,W=t.div`
61
+ `,X=t.div`
62
62
  display: ${e=>e.windowSize==="small"?"none":"block"};
63
63
  width: ${i.sp1};
64
64
  height: ${i.sp1};
@@ -1,4 +1,4 @@
1
- import{u as S,X as z,h0 as C,j as e,aW as D,M as Y,ao as B,o as r,g,bT as F,l as L,C as R,w as T,s as A,p as b,dc as I,dd as E,d7 as N,de as O}from"./index-Dc18sb8X.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as P}from"./BoxItem-CHPfWPEF-D1R-06zc.js";import{o as V}from"./commonDimensions-D4uH020E-CzLHHjVa.js";import{H as X}from"./DepositAccTransactionItem-CfAjG3HH-D05hSl8p.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const n=Y.getLocalizedStrings(),H={listItemMargin:new R(b[3],b[8])};function q(t){const d=I(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=E(d,o=>o.length>0);return N(m,o=>({date:o[0].transactionDate,transactions:O(o,h=>h.transactionDate,"desc")}))}const G=C(q),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=G(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*V.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(W,{children:s.transactions.map((M,u)=>e.jsx(X,{data:M,boxType:P(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(J,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(K,{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{u as S,X as z,h1 as C,j as e,aW as D,M as Y,ao as B,o as r,g,bS as F,l as L,C as R,v as A,s as I,p as b,dc as T,dd as E,d7 as N,de as O}from"./index-Dq4DW5h0.js";import{b as f,n as a}from"./vendor-CnQcJ2Lu.js";import{$ as P}from"./BoxItem-Cqmd_7h4-S5g5H_Jr.js";import{o as V}from"./commonDimensions-Cg7EWgSP-ztBpKI_h.js";import{H as X}from"./DepositAccTransactionItem-DJNio75H-BszNXL3v.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const n=Y.getLocalizedStrings(),H={listItemMargin:new R(b[3],b[8])};function q(t){const d=T(t,o=>o.transactionDate.format(n.dateFormat.visual.MMMDCommaYYYYformat)),m=E(d,o=>o.length>0);return N(m,o=>({date:o[0].transactionDate,transactions:O(o,h=>h.transactionDate,"desc")}))}const G=C(q),mt=({transactionListView:t,onBackClick:d})=>{const m=S(),o=z(),h=f.createRef(),p=f.useRef(null),l=G(t.transactions),j=t.depositAccountName,x=l.length===0,k=i=>x===!1?l[i].transactions.length*V.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(W,{children:s.transactions.map((M,u)=>e.jsx(X,{data:M,boxType:P(u,s.transactions.length)},u))})]})})})}else return e.jsx(w,{style:{...c},children:e.jsx(J,{children:e.jsx($,{windowSize:o,children:e.jsx(Q,{children:n.transactionList.noTransactionsFoundForPrefix})})})})};return e.jsxs(K,{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} ${H.listItemMargin.valuePx(t.windowSize)}`};
3
3
  `,J=a.div`
4
4
  display: flex;
@@ -13,10 +13,10 @@ import{u as S,X as z,h0 as C,j as e,aW as D,M as Y,ao as B,o as r,g,bT as F,l as
13
13
  flex-direction: column;
14
14
  width: 100%;
15
15
  padding-bottom: ${r.sp7};
16
- `,Q=a(A)`
16
+ `,Q=a(I)`
17
17
  display: flex;
18
18
  color: ${t=>t.theme.colors.grey2};
19
- `,U=a(T)`
19
+ `,U=a(A)`
20
20
  display: flex;
21
21
  height: 21px;
22
22
  margin-bottom: ${r.sp2};
@@ -1,4 +1,4 @@
1
- import{at as w,X as p,j as i,M as f,C as o,o as n,au as x,Q as s,h as d,p as a}from"./index-Dc18sb8X.js";import{n as r,b as t}from"./vendor-CnQcJ2Lu.js";const C=e=>t.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),t.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("g",{clipPath:"url(#clip0_1350_23850)"},t.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip1_1350_23850)"},t.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip2_1350_23850)"},t.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip3_1350_23850)"},t.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_1350_23850"},t.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),t.createElement("clipPath",{id:"clip1_1350_23850"},t.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),t.createElement("clipPath",{id:"clip2_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),t.createElement("clipPath",{id:"clip3_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:g}=f.getLocalizedStrings(),{businessVerification:m}=g,c={iconSize:new o(a[6],a[10]),gap:new o(a[2],a[3])},h={title:new s("smallSemiBold","standardSemiBold"),description:new s("smallRegular","standardRegular")},P=()=>{const[e]=w("Secure"),l=p();return i.jsxs(E,{windowSize:l,children:[e!=null?i.jsx(u,{windowSize:l,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):i.jsx(S,{windowSize:l}),i.jsxs(y,{children:[i.jsx(z,{windowSize:l,children:m.securityMessageTitle}),i.jsx(B,{windowSize:l,children:m.securityMessageDescription})]})]})},E=r.div`
1
+ import{at as w,X as p,j as i,M as f,C as o,o as n,au as x,Q as s,h as d,p as a}from"./index-Dq4DW5h0.js";import{n as r,b as t}from"./vendor-CnQcJ2Lu.js";const C=e=>t.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),t.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("g",{clipPath:"url(#clip0_1350_23850)"},t.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip1_1350_23850)"},t.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip2_1350_23850)"},t.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),t.createElement("g",{clipPath:"url(#clip3_1350_23850)"},t.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),t.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),t.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),t.createElement("defs",null,t.createElement("clipPath",{id:"clip0_1350_23850"},t.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),t.createElement("clipPath",{id:"clip1_1350_23850"},t.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),t.createElement("clipPath",{id:"clip2_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),t.createElement("clipPath",{id:"clip3_1350_23850"},t.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:g}=f.getLocalizedStrings(),{businessVerification:m}=g,c={iconSize:new o(a[6],a[10]),gap:new o(a[2],a[3])},h={title:new s("smallSemiBold","standardSemiBold"),description:new s("smallRegular","standardRegular")},P=()=>{const[e]=w("Secure"),l=p();return i.jsxs(E,{windowSize:l,children:[e!=null?i.jsx(u,{windowSize:l,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):i.jsx(S,{windowSize:l}),i.jsxs(y,{children:[i.jsx(z,{windowSize:l,children:m.securityMessageTitle}),i.jsx(B,{windowSize:l,children:m.securityMessageDescription})]})]})},E=r.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>c.gap.valuePx(e.windowSize)};
@@ -0,0 +1,21 @@
1
+ import{X as O,a as U,M as $,c3 as V,J,l as j,j as n,bN as Q,bP as X,bQ as Y,F as _,a7 as G,C as u,eS as K,o as Z,as as ee,p as a}from"./index-Dq4DW5h0.js";import{b as N,n as h}from"./vendor-CnQcJ2Lu.js";import{e as ne}from"./BankAccountSection-6zosSfPV-CL3CT6a1.js";import{M as te}from"./MagicLinkTitleSection-DHe9TfVe-xOZGBQNN.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CWeN3me0-QfeSw0RL.js";import{T as ie}from"./MailingDetailsSection-D8CZart4-D1oBjzV1.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])},w="domesticWireDetailsPage",f="bankAccountSection",T="mailingAddressSection",B=e=>`${e}_form`,he=e=>{const{bankAccountCreationState:o,fetchBankNameByRoutingStatus:b,addressType:x,bankAccountToCreate:s,addressToEdit:r,mailingAddress:A,isDisabled:y,companyName:v,isMagicLink:g,currencySymbol:D,amount:P,onSaveHandler:R,onWireDetailsUpdated:z,onFetchBankName:E,onAddressClick:L,onBackClick:C}=e,l=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:N.useMemo(()=>se(s,r),[s,r])}),[M,p]=N.useState(!1),t=$.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=$.getLocalizedStrings().common.footer,F=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&&K.test(d)===!0&&E?.(d)};N.useEffect(()=>{const k=c.watch((m,{name:d})=>{d!=null&&m!=null&&V(()=>q(d,m))});return()=>{k.unsubscribe()}});const H=c.handleSubmit(k=>{b.fetchState!=="In-Progress"&&R("wire")}),S=!J(A!=null?j.getFormattedAddress(A):A,r!=null?j.getFormattedAddress(r):r)||re(s)||c.formState.isDirty;return n.jsxs(me,{children:[n.jsxs(le,{size:l,children:[M===!0?n.jsx(Q,{titleComponent:n.jsx(Y,{children:t.discardTitle}),descriptionComponent:n.jsx(X,{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}):F.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(_,{...c,children:n.jsxs("form",{id:B(w),onSubmit:H,children:[n.jsx(ce,{size:l,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:b,sectionId:f,isDisabled:y})}),n.jsx(ie,{sectionId:T,isDisabled:y,addressType:x,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(G,{formId:B(w),primaryBtn:{label:g?t.bankAccountCommon.submitDetails:t.bankAccountCommon.saveAccount,isLoading:o.fetchState==="In-Progress",style:{width:i.buttonWidth.value(l)},isDisabled:y!=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},[T]:{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
+ padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
+ padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
+ padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
5
+ padding-bottom: ${e=>i.paddingTopBottom.valuePx(e.size)};
6
+ background: ${e=>e.theme.colors.grey4};
7
+ `,de=h(ee)`
8
+ color: ${e=>e.theme.colors.champion};
9
+ margin-left: ${e=>i.marginLeft.valuePx(e.size)};
10
+ margin-top: ${Z.sp3};
11
+ `,le=h.div`
12
+ display: flex;
13
+ flex-direction: column;
14
+ flex-grow: 1;
15
+ `,me=h.div`
16
+ background-color: ${e=>e.theme.colors.grey4};
17
+ display: flex;
18
+ flex-direction: column;
19
+ width: 100%;
20
+ height: 100%;
21
+ `;export{he as D};
@@ -1,4 +1,4 @@
1
- import{j as t,bq as Je,o as a,X as le,br as et,r as Le,l as d,g as de,C as H,a6 as tt,M as Y,bs as rt,bf as ze,p as z,as as Be,s as T,bm as we,v as G,m as ce,K as ee,u as Ne,bt as at,bu as me,bv as pe,e as Ee,bw as Qe,n as fe,bx as q,bd as ot,av as st,by as it,bz as nt,b5 as lt,bA as dt,Z as ct,bB as mt,bC as pt,b0 as ft}from"./index-Dc18sb8X.js";import{b as u,n,k as Ve,f as he}from"./vendor-CnQcJ2Lu.js";import{m as ht}from"./analyticsHelper-DlYWxxhD-6PX8-p-s.js";import{c as ut,h as bt}from"./ReportTableViewSelector-Bc5xUtnG-B_lLxJq7.js";import{t as gt}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./CollapsableReportTable-Dp1985is-CGhJR3X0.js";import"./AccountRow-D9vDRsjv-XcUg9HnZ.js";const xt=["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 J(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 J(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(),P={pdf:12,excel:100,csv:100},N=(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:b}=d.getFYQuarterAndYear(p,e);for(;f<=b;)i.push(`${f}`),f++}return i},yt=n.div`
1
+ import{j as t,br as Je,o as a,X as le,bs as et,n as Le,l as d,g as de,C as H,a6 as tt,M as Y,bt as rt,bg as ze,p as z,as as Be,s as T,bn as we,q as G,f as ce,K as ee,u as Ne,bu as at,bv as me,bw as pe,d as Ee,bx as Qe,m as fe,by as q,be as ot,av as st,bz as it,bA as nt,b6 as lt,bB as dt,Z as ct,bC as mt,bD as pt,b1 as ft}from"./index-Dq4DW5h0.js";import{b as u,n,k as Ve,f as he}from"./vendor-CnQcJ2Lu.js";import{m as ht}from"./analyticsHelper-CZ8c8du5-Ber0nUBK.js";import{X as ut,e as bt}from"./ReportTableViewSelector-Bss4AtF1-D_wRO_1z.js";import{t as gt}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./CollapsableReportTable-DMr2UDgH-cuAz2CYU.js";import"./AccountRow-CPX-627p-B4ZaO0oz.js";const xt=["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 J(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 J(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(),P={pdf:12,excel:100,csv:100},N=(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:b}=d.getFYQuarterAndYear(p,e);for(;f<=b;)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};
@@ -1,4 +1,4 @@
1
- import{X as a,j as i,bt as P,o,M as h,C as s,bp as y,Q as c,h as g,a6 as b,p as t,_ as L,jc as k,jd as C,je as R}from"./index-Dc18sb8X.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";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(),_(),H({rewardsPlan:e})],d=a();return i.jsx(A,{children:r.map((f,j)=>i.jsxs(W,{children:[i.jsx(I,{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(X,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=()=>{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(B,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},H=({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(N,{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`
1
+ import{X as a,j as i,bu as P,o,M as h,C as s,bq as y,Q as c,h as g,a6 as b,p as t,_ as L,jd as k,je as C,jf as R}from"./index-Dq4DW5h0.js";import{n}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";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(),_(),H({rewardsPlan:e})],d=a();return i.jsx(A,{children:r.map((f,j)=>i.jsxs(W,{children:[i.jsx(I,{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(X,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},_=()=>{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(B,{windowSize:e})}),i.jsx(S,{windowSize:e,children:r.title})]}),i.jsx($,{windowSize:e,children:i.jsx(u,{windowSize:e,children:r.content})})]})},H=({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(N,{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}`};
@@ -60,7 +60,7 @@ import{X as a,j as i,bt as P,o,M as h,C as s,bp as y,Q as c,h as g,a6 as b,p as
60
60
  z-index: -1;
61
61
  `,I=n.div`
62
62
  padding-bottom: ${o.sp4};
63
- `,{common:{navBar:{back:Q}}}=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])},J={title:new c("standardRegular","largeRegular")},{referAndEarn:q}=h.getLocalizedStrings().rewardsPage;function se({rewardsPlan:e,onDismissClick:r}){const d=a();return i.jsxs(F,{windowSize:d,children:[i.jsx(T,{windowSize:d,children:i.jsxs(G,{windowSize:d,children:[d==="small"&&i.jsx(V,{children:i.jsx(P,{enterDelay:600,title:Q,placement:"bottom",style:{padding:`${o.sp1} ${o.sp2}`},children:i.jsx(Y,{onClick:r})})}),i.jsx(K,{windowSize:d,children:q}),d!=="small"&&i.jsx(U,{onClick:r})]})}),i.jsx(O,{windowSize:d,children:i.jsx(D,{rewardsPlan:e})})]})}const F=n.div`
63
+ `,{common:{navBar:{back:Q}}}=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])},q={title:new c("standardRegular","largeRegular")},{referAndEarn:J}=h.getLocalizedStrings().rewardsPage;function se({rewardsPlan:e,onDismissClick:r}){const d=a();return i.jsxs(F,{windowSize:d,children:[i.jsx(T,{windowSize:d,children:i.jsxs(G,{windowSize:d,children:[d==="small"&&i.jsx(V,{children:i.jsx(P,{enterDelay:600,title:Q,placement:"bottom",style:{padding:`${o.sp1} ${o.sp2}`},children:i.jsx(Y,{onClick:r})})}),i.jsx(K,{windowSize:d,children:J}),d!=="small"&&i.jsx(U,{onClick:r})]})}),i.jsx(O,{windowSize:d,children:i.jsx(D,{rewardsPlan:e})})]})}const F=n.div`
64
64
  display: flex;
65
65
  flex-direction: column;
66
66
  background-color: ${e=>e.theme.colors.grey4};
@@ -78,7 +78,7 @@ import{X as a,j as i,bt as P,o,M as h,C as s,bp as y,Q as c,h as g,a6 as b,p as
78
78
  color: ${e=>e.theme.colors.primary};
79
79
  width: 96%;
80
80
  text-align: center;
81
- ${e=>`${J.title.style(e.windowSize)}`};
81
+ ${e=>`${q.title.style(e.windowSize)}`};
82
82
  `,O=n.div`
83
83
  padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
84
84
  padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};