@zeniai/web-cockpit-ui 1.15.68-prod → 2.0.0-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 (279) hide show
  1. package/dist/assets/Preview-C3kztGrG.js +1 -0
  2. package/dist/assets/ScreenRoutes-5hC3wQD-.js +179 -0
  3. package/dist/assets/SignInScreen-Bw3kDJOY.js +1 -0
  4. package/dist/assets/{analytics-D0xbCiOA.js → analytics-Ci62SVC6.js} +15 -15
  5. package/dist/assets/analyticsHelper-DvZ4fRLz.js +1 -0
  6. package/dist/assets/{core-VVne9A9m.js → core-CrJ0HRkP.js} +2 -2
  7. package/dist/assets/{dash.all.min-CZdKQs3q.js → dash.all.min-BC3O3eK3.js} +1 -1
  8. package/dist/assets/{empty-BxIsRmiL.js → empty-DCdjTxMk.js} +1 -1
  9. package/dist/assets/{index-CW-pqTwR.js → empty-DewRN75u.js} +1 -1
  10. package/dist/assets/epic-ButtTfPO.js +2 -0
  11. package/dist/assets/{index-D0xGm0tM.js → index-BHVDlT_9.js} +1 -1
  12. package/dist/assets/{index-0sfOIAIW.js → index-BIzFhK6B.js} +1 -1
  13. package/dist/assets/index-BnSSVzJm.js +1 -0
  14. package/dist/assets/index-C1011MmK.js +2 -0
  15. package/dist/assets/index-CS2xkLsB.js +1 -0
  16. package/dist/assets/index-DrEiJ4Wx.js +1 -0
  17. package/dist/assets/index-Obh2uEoj.js +75311 -0
  18. package/dist/assets/{lexical-0vG0lfLn.js → lexical-Y1MbDrft.js} +1 -1
  19. package/dist/assets/{liveblocks-abv8TgYe.js → liveblocks-CH5Ytl_r.js} +1 -1
  20. package/dist/assets/{lottie-DehW2chz.js → lottie-jJKhsKLZ.js} +2 -2
  21. package/dist/assets/{mui-DOS4CfBc.js → mui-DzLLS9Rs.js} +2 -2
  22. package/dist/assets/{react-C3bwNlEv.js → react-9Kj1B1wt.js} +2 -2
  23. package/dist/assets/{react-0muarBdd.js → react-BLe964tg.js} +3 -3
  24. package/dist/assets/{react-DGIuy5RW.js → react-CNU9DWBw.js} +1 -1
  25. package/dist/assets/{react-DGupjeTm.js → react-C_qk_SxL.js} +2 -2
  26. package/dist/assets/{react-BX1V71Rc.js → react-CdND5srH.js} +2 -2
  27. package/dist/assets/{react-BKlbvdVi.js → react-D1VJKwtS.js} +2 -2
  28. package/dist/assets/{react-BQ6Phht1.js → react-D1lzTawy.js} +2 -2
  29. package/dist/assets/{react-Bf7WBvpI.js → react-DRO7qhGA.js} +4 -4
  30. package/dist/assets/{recharts-BBlqu8Rz.js → recharts-DE-kxplH.js} +25 -25
  31. package/dist/assets/{sentry-DBhcw6Be.js → sentry-SNkBC2Al.js} +2 -2
  32. package/dist/assets/{url-CSfgHOtI.js → url-C9VCVVAZ.js} +1 -1
  33. package/dist/assets/url-h1qG-NI4.js +1 -0
  34. package/dist/assets/{utils-DT6Wq-eT.js → utils-CpsqBQqv.js} +1 -1
  35. package/dist/assets/zeni-epic-state-B7yJI5lR.js +14 -0
  36. package/dist/index.html +1 -1
  37. package/package.json +4 -4
  38. package/dist/assets/ACHDetailsPage-B5qIuZya-DM7YY1FB.js +0 -21
  39. package/dist/assets/AIPerformancePage-BHB45mP--CWndWSdC.js +0 -539
  40. package/dist/assets/AccountInfoPage-Cd5xYT1g-BbefpV-7.js +0 -18
  41. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-5M9LxJhG.js +0 -149
  42. package/dist/assets/AccountLockedInfoModal-Dox7IuAX-BMD0s6gP.js +0 -59
  43. package/dist/assets/AccountReconDetailsDrawerPage-Bqty08m0-B-ibKIL7.js +0 -239
  44. package/dist/assets/AccountRow-D1cjRJJD-brXv0bxV.js +0 -298
  45. package/dist/assets/AccountsPromoCardStack-Bs3naJHM-CnqFEGey.js +0 -207
  46. package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-C4r6mehv.js +0 -6
  47. package/dist/assets/AddToWalletPage-CyRfqVDB-BdTdHS85.js +0 -344
  48. package/dist/assets/AgingReportsPage-xBFff3BM-ky-EAGcf.js +0 -79
  49. package/dist/assets/AllUserItems-BJf6WPDo-Deh60Xs6.js +0 -192
  50. package/dist/assets/ApAgingDetailPage-CjBrPyi8-Drme0iaF.js +0 -46
  51. package/dist/assets/AppBasePage-CqDm-hnV-gy7t8mSc.js +0 -71
  52. package/dist/assets/AppDrawerContent-CVVWj66i-CgQm4R5E.js +0 -92
  53. package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-CdSeUeuR.js +0 -47
  54. package/dist/assets/ArAgingChart-CBsqOd-4-CM7YnEql.js +0 -24
  55. package/dist/assets/ArAgingDetailPage-i7JObt60-DiaDa_kU.js +0 -46
  56. package/dist/assets/AttachmentView-CzC4skJ3-DSp7S_ow.js +0 -101
  57. package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-B0jviFnz.js +0 -38
  58. package/dist/assets/BankAccountSection-Di4sF52j-CjUG2k4c.js +0 -79
  59. package/dist/assets/BankAccountWarningSection-Cled-2cR-DDIv4R5M.js +0 -51
  60. package/dist/assets/BankConnectionsSettingsPage-Ccnzq7st-BhXmaxPm.js +0 -425
  61. package/dist/assets/BillDetailPage-XXOwBfO1-DxWLoxsB.js +0 -266
  62. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-D62XtRWM.js +0 -27
  63. package/dist/assets/BillPayApprovalRulesPage-COCypDcS-CxH1-1ro.js +0 -241
  64. package/dist/assets/BillPayPromoPage-DOE2YIqC-BRNhZmcV.js +0 -84
  65. package/dist/assets/BillPaySetUpPage-BCJbZDsV-EdWAn7sO.js +0 -42
  66. package/dist/assets/BillingSettingsPage-iImtlEmO-oLToelCa.js +0 -44
  67. package/dist/assets/BillsBulkReviewDrawerPage-B11GWM_0-BmGfxE4w.js +0 -1
  68. package/dist/assets/BoxItem-Bxa1M4QU-CY-vorJI.js +0 -53
  69. package/dist/assets/BusinessVerificationPage-DSuJFoW1-Xi-gZLue.js +0 -138
  70. package/dist/assets/CardNumberSubText-_ZZbaz_k-BDqMr1hm.js +0 -21
  71. package/dist/assets/CashbackDetailPage-DAZXitLt-kEgVWuyi.js +0 -285
  72. package/dist/assets/ChargeCardDetailPage-B1VIpASk-BGlRije7.js +0 -1467
  73. package/dist/assets/ChargeCardListPage-BOBepN-x-DtybfgKA.js +0 -412
  74. package/dist/assets/ChargeCardListTable-YznzSsJo-DoULf2wO.js +0 -711
  75. package/dist/assets/ChargeCardPaymentHistoryPage--jOwsMla-Bzj0wTwy.js +0 -565
  76. package/dist/assets/ChargeCardPromoPage-DIfakIOK-BNvT1cxv.js +0 -222
  77. package/dist/assets/ChargeCardSetupPage-0bpVkeJs-Bkuwwfuy.js +0 -36
  78. package/dist/assets/ChargeCardStatementsPage-ChWyQlw6-CbdQ3AHt.js +0 -60
  79. package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-kNVwtOWy.js +0 -206
  80. package/dist/assets/CollapsableReportTable-DNfFkAts-cgYLh83Q.js +0 -2982
  81. package/dist/assets/CompanyOfficerDetailsSection-CrOIN4IW-B9X3JGYF.js +0 -331
  82. package/dist/assets/CompanyPassportCard-CkzYFTrp-BcZUZqNN.js +0 -42
  83. package/dist/assets/CompanyPassportPage-FE6yli6h-DWhiSjrR.js +0 -417
  84. package/dist/assets/CompleteProfile-Cb8i1XgZ-BP6okX49.js +0 -52
  85. package/dist/assets/ConfettiBurst-BZCXEGYA-ho8ERS31.js +0 -1
  86. package/dist/assets/ConstrainedInnerElement-CgdnMeoA-Cv85URYx.js +0 -5
  87. package/dist/assets/CreateOrEditVendorPage-CzpSgxbO-2ilw068v.js +0 -281
  88. package/dist/assets/CreditCardPaymentDrawerPage-c_q0MsSO-CoTzu5XT.js +0 -227
  89. package/dist/assets/CurrencySelectField-BAh7SHrG-CBSRpu74.js +0 -139
  90. package/dist/assets/CustomerOnboardingActivationPage-f3Aa6E5r-DcPBpEPv.js +0 -88
  91. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DAhlgLSo.js +0 -1
  92. package/dist/assets/CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DBRyrBpA.js +0 -162
  93. package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-ui07nfsA.js +0 -66
  94. package/dist/assets/CustomerOnboardingPage-B9hSO88_-BFSPGucc.js +0 -107
  95. package/dist/assets/CustomerOnboardingProductSuitePage-CG0HKCpQ-CTl3yjRz.js +0 -202
  96. package/dist/assets/Dashboard-BJ_oIHab-nrsDE6qS.js +0 -1611
  97. package/dist/assets/DashboardReportPage-BemzMw2e-D89HJr4G.js +0 -371
  98. package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-Dlhefpu7.js +0 -12
  99. package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BDRqwizb.js +0 -76
  100. package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-DIdaGFeH.js +0 -66
  101. package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-kEBCfOTM.js +0 -21
  102. package/dist/assets/DownloadOverlay-D_lL1sPW-xWfuT0Vo.js +0 -439
  103. package/dist/assets/DrawerPage-DesxXhZk-CRre4dYu.js +0 -118
  104. package/dist/assets/EditPeoplePage-QvPy_Six-DH4hfGb_.js +0 -55
  105. package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-DXyrjaYc.js +0 -865
  106. package/dist/assets/EntityDetailPage-l7nXIsyF-5oCAhXWK.js +0 -18
  107. package/dist/assets/EntitySummarySection-BwX0a4JL-zcla-D8w.js +0 -151
  108. package/dist/assets/ExpenseAutomationOverviewPage-EdyHjbff-MnqvBISM.js +0 -281
  109. package/dist/assets/ExpenseAutomationPage-DA22Qofw-D083tvHO.js +0 -3001
  110. package/dist/assets/ExpressPayPage-EMP6inpX-3XG4gLSI.js +0 -168
  111. package/dist/assets/FeaturePreviewPage-SYJm-3aR-DqyedTbe.js +0 -11
  112. package/dist/assets/FollowStepsSection-BxESVqJD-Cg2jHWRs.js +0 -390
  113. package/dist/assets/GlobalReviewListPage-D5_ACa-q-D3OrFPtp.js +0 -291
  114. package/dist/assets/InformationCardStack-B_qQUEYD-DttLY3HS.js +0 -31
  115. package/dist/assets/InsightsCardStack-BsQzoVzj-Dk9dJ9p5.js +0 -79
  116. package/dist/assets/InsightsSection-B6CNlTNH-BdZRn5zX.js +0 -27
  117. package/dist/assets/IntegrationsSettingsPage-DP6fAccq-LBB3bZYV.js +0 -57
  118. package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-CfZjD-fy.js +0 -171
  119. package/dist/assets/InternationalWireVerificationPage-COC6lZml-DC50drx7.js +0 -65
  120. package/dist/assets/InviteFormPage-DN02jRy5-Buy4T1zp.js +0 -312
  121. package/dist/assets/InvitePageListView-CP4K9tJi-CHkbuC7f.js +0 -739
  122. package/dist/assets/InvitePeoplePage-VTM6kM1u-CU4p_G8a.js +0 -12
  123. package/dist/assets/InvoiceUploadSection-it-ZYl1N-XsZhHn3v.js +0 -140
  124. package/dist/assets/IssueChargeCardPage-CVfuvGey-C6KQpSo7.js +0 -532
  125. package/dist/assets/LabeledAddressValue-DDrQcHIE-hP7vwQBZ.js +0 -49
  126. package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DFe8vIUL.js +0 -45
  127. package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-CU-iLMSG.js +0 -16
  128. package/dist/assets/LabeledCountryMultiSelectField-BYYjzwUG-DXWiTuV-.js +0 -237
  129. package/dist/assets/LabeledCreatableSingleSelectField-CISYMojq-DqRsgtUm.js +0 -208
  130. package/dist/assets/LabeledDocumentField-C_bcFxdY-DJ7-SOXf.js +0 -41
  131. package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-mVsgmCkO.js +0 -59
  132. package/dist/assets/LabeledText-C8Y7EOsX-DEEaYkeb.js +0 -42
  133. package/dist/assets/LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D4KRCLOC.js +0 -229
  134. package/dist/assets/LabeledZeniRolesDropDownField-BZtreVpj-D7w5kOCp.js +0 -297
  135. package/dist/assets/LinkJETransactionPage-CKq4oiX9-ltE4XV_6.js +0 -98
  136. package/dist/assets/LockCardPage-CZENNby7-BsVSJBxy.js +0 -623
  137. package/dist/assets/LowBalancePopup-1727S1ri-Ch0sQQf3.js +0 -34
  138. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu--EXqRjnH.js +0 -1
  139. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DyDKS580.js +0 -1
  140. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BwOG2bc6.js +0 -1
  141. package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-BLATYjDj.js +0 -31
  142. package/dist/assets/MagicLinkTitleSection-CARU1oLQ-B0cyw7Mk.js +0 -17
  143. package/dist/assets/MailingDetailsSection-ByOPaJ05-DHEttRbi.js +0 -21
  144. package/dist/assets/MyBankConnectionsSettingsPage-BdgIIhL1-Dxh6kCPM.js +0 -110
  145. package/dist/assets/MyPendingActivationChargeCardListPage-CX38bDdq-ClsHkhfI.js +0 -6
  146. package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-CkZmnWdK.js +0 -85
  147. package/dist/assets/NavBarWithPicker-CGGEvLwe-DZ7VBJBK.js +0 -30
  148. package/dist/assets/NavigationArrow-CTNkKUtV-DwVtEjKU.js +0 -47
  149. package/dist/assets/NavigationDots-Dvce3gHt-BhNbY-Jn.js +0 -15
  150. package/dist/assets/NewGlobalMerchantPage-D_f7z47T-CFtXtRiH.js +0 -160
  151. package/dist/assets/NoDataChart-CrKeqWSr-DnRwd0s-.js +0 -26
  152. package/dist/assets/NoDataTable-4vPXmPYF-0AXx0isj.js +0 -8
  153. package/dist/assets/NotFoundPage-BLWPU1wU-DmwpjiFz.js +0 -46
  154. package/dist/assets/NotificationSettingsPage-CDiDLX3A-9UeXvRF4.js +0 -163
  155. package/dist/assets/NotificationsListConfig-B5pDa4cJ-CViBSk1u.js +0 -1
  156. package/dist/assets/NotificationsPage-Ccl7Dny1-DO1DVf8y.js +0 -685
  157. package/dist/assets/OpExByVendorPage-spd-nKV4-BYZguWNQ.js +0 -100
  158. package/dist/assets/OverlayContainerPage-BG9y5C0t-XSUpPkb1.js +0 -11
  159. package/dist/assets/PandLWithForecastPage-TSoe4Z7F-DADbKlaU.js +0 -123
  160. package/dist/assets/PaymentAccountSetupBillingAddressSection-9ma8SpIa-DnLcaoHi.js +0 -107
  161. package/dist/assets/PeoplePage-b5_I0qOw-DREebsk9.js +0 -727
  162. package/dist/assets/Preview-DkS-Ppwi.js +0 -1
  163. package/dist/assets/ProductsCarousel-C3M0ocdF-CqKUYrUp.js +0 -142
  164. package/dist/assets/PromoBaseCards-BOGJI2ws-HYGeFCqU.js +0 -218
  165. package/dist/assets/QBOConnectionDialog-CmpnnuzP-5mKGNZm7.js +0 -51
  166. package/dist/assets/QBOSetupSection-DjnN9dgv-D9sOi7j3.js +0 -79
  167. package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-CSFmXSBt.js +0 -32
  168. package/dist/assets/ReimbursementApprovalRulesPage-BsCTIqUJ-BciPnq07.js +0 -243
  169. package/dist/assets/ReimbursementDetailPage-BbyxE2uL-CCn1M_IM.js +0 -314
  170. package/dist/assets/ReimbursementPromoPage-CyEgwqcf-QZKK6RXF.js +0 -84
  171. package/dist/assets/ReimbursementSetUpPage-RETPkEQd-7RlERPSK.js +0 -140
  172. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-B6Bppczb.js +0 -1
  173. package/dist/assets/ReloadCard-Bdoo0XiI-BkT_TrPt.js +0 -26
  174. package/dist/assets/ReportTableViewSelector-Bc1K7mU_-BcXnhDrl.js +0 -151
  175. package/dist/assets/ReportsPage-BOTHMLWh-C7yXcceR.js +0 -269
  176. package/dist/assets/RevenueChart-DvyZ3aO7-ln4Xbq3A.js +0 -280
  177. package/dist/assets/ReviewDetailsPage-BIMg1n2e-DlA-53yQ.js +0 -290
  178. package/dist/assets/ReviewOverlay-CxwoiOLC-DmcvjVCl.js +0 -152
  179. package/dist/assets/RoleWithToolTip-Ct3_VuDM-BKP6CsTd.js +0 -22
  180. package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-DCavU86U.js +0 -37
  181. package/dist/assets/ScheduleDetailsPage-5FWpLRtd-CO7mo75a.js +0 -37
  182. package/dist/assets/ScheduleSequenceTable-R3-PsXES-i-4DMkvc.js +0 -326
  183. package/dist/assets/ScreenRoutes-D-ddKpF8.js +0 -179
  184. package/dist/assets/SetUpAccountSection-CctbMmoK-ZyErAiPF.js +0 -378
  185. package/dist/assets/SignIn-CmgmnRm4-DBoFBrvr.js +0 -491
  186. package/dist/assets/SignInScreen-DCSGviBr.js +0 -1
  187. package/dist/assets/SpendManagementListViewPage-CFUxCqkU-dAFL_Ppz.js +0 -134
  188. package/dist/assets/SpendManagementPerTabPage-C-kqNTci-Udt5CTX9.js +0 -754
  189. package/dist/assets/SpendManagementSection-CIz4nE_w-0q2VpGOz.js +0 -246
  190. package/dist/assets/StatementItem-vVtoBN2w-CiKnbbLX.js +0 -31
  191. package/dist/assets/StatementsPage-As5WOnMR-D0_TDe23.js +0 -58
  192. package/dist/assets/StatusSwitcher-Bv-ozN6U-Uu-9K_ZT.js +0 -120
  193. package/dist/assets/SubTabSwitcher-D7QeM6nb-Cvhnug-S.js +0 -58
  194. package/dist/assets/SummaryCard-C2qoTsAY-AZ17zAeW.js +0 -1
  195. package/dist/assets/TaskManagementPage-BJwp32Ph-DTb1_fWh.js +0 -508
  196. package/dist/assets/TimeRangeSwitcher-D00bDDhP-DMLJ4CgT.js +0 -64
  197. package/dist/assets/TimeframeSwitcher-DA99HdHt-B7dPmR3A.js +0 -31
  198. package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-BDMDYsLj.js +0 -53
  199. package/dist/assets/TopExCard-Z1WabZ8c-D9ahLOhN.js +0 -38
  200. package/dist/assets/TopExDetailPage-CzHG4f9E-DSsiHUw6.js +0 -132
  201. package/dist/assets/TransactionActivityLogPage-CGKnjNfU-DFi44yxk.js +0 -195
  202. package/dist/assets/TransactionDetailPage-1-mLOWSz-NZ0pEK8W.js +0 -903
  203. package/dist/assets/TransactionList-BB-xoIGm-CmL2sv-k.js +0 -153
  204. package/dist/assets/TransactionListBig-C5Sf5Xh--DUDOs_q9.js +0 -284
  205. package/dist/assets/TransactionListPage-Cj7h1Ros-BpKazEVH.js +0 -35
  206. package/dist/assets/TransactionVendorDetailPage-SsrSOk3O-BLmQC0O2.js +0 -80
  207. package/dist/assets/TransferDrawerPage-BvKZ7vHF-BDZmQek2.js +0 -362
  208. package/dist/assets/TreasuryOverviewPage-DwvjMR4_-BGYjEWMJ.js +0 -725
  209. package/dist/assets/TreasuryPromoPage-CtTFvSQW-B3Bvdh6x.js +0 -505
  210. package/dist/assets/TreasuryStatementsPage-Catz8shX-X_IYs6qa.js +0 -58
  211. package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-Da9lGvIi.js +0 -58
  212. package/dist/assets/TrendChart-Bnp4Pcdf-CJF7dKdP.js +0 -16
  213. package/dist/assets/TrendWithTransactions-3D1FvM8G-TXKeFcvZ.js +0 -116
  214. package/dist/assets/UncategorizedAccountsMappingPage-DbyY-dYB-D1dmyVJ4.js +0 -244
  215. package/dist/assets/UnitIntegrationPage-CTzme1te-CbgSnbxZ.js +0 -67
  216. package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-PlCykjL7.js +0 -38
  217. package/dist/assets/Vendor2FAPopup-D0zYKkIv-aIJ1NUXW.js +0 -1
  218. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-D-OOHJou.js +0 -1
  219. package/dist/assets/VendorDetailPage-Br9wIOnI-De2XcUb6.js +0 -257
  220. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-BdL3didN.js +0 -1
  221. package/dist/assets/VendorFiling1099EditablePage-himC7iD3-C2XAIK9H.js +0 -175
  222. package/dist/assets/VendorFirstReviewPage-BbknTCBD-DDAQwDZy.js +0 -730
  223. package/dist/assets/VendorInternationalWireDetailsPage-CS595Xgc-C3mHhbHk.js +0 -152
  224. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-C2v0qs8u.js +0 -1
  225. package/dist/assets/VendorsAccountsSection-CgSJu8wq-Ctj2nPMI.js +0 -68
  226. package/dist/assets/VerifyDevice-Dvf0JsNN-PRfKusRx.js +0 -112
  227. package/dist/assets/VideoPlayer-VAzOGCDL-6U91k2_g.js +0 -78
  228. package/dist/assets/VideoPopup-BqvZ-XIh-nZFpm96A.js +0 -31
  229. package/dist/assets/WarningsDrawerPage-DeNonoNp-Cer8JJKy.js +0 -92
  230. package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-BghGtTMM.js +0 -300
  231. package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-D-GLBesW.js +0 -443
  232. package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-2vSHgl5n.js +0 -33
  233. package/dist/assets/ZeniAccountPromoPage-JrcedQYB-DxQZiNCa.js +0 -184
  234. package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-CCXkWEma.js +0 -36
  235. package/dist/assets/ZeniCopyright-DglqrTpl-B_6mXo3q.js +0 -1
  236. package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-Dri2Vqf1.js +0 -63
  237. package/dist/assets/add-to-wallet-DgdBD8_G-2lJ5O5xD.js +0 -1
  238. package/dist/assets/agingReportHelper-ovKP-qSS-Cx4Hdid-.js +0 -1
  239. package/dist/assets/analyticsHelper-B3H0U8CW.js +0 -1
  240. package/dist/assets/analyticsHelper-CAYdbjhS-Bgy1SJeR.js +0 -1
  241. package/dist/assets/arrow-south-east-round-PEovUgvH-CH2rCMd8.js +0 -1
  242. package/dist/assets/auto-transfer-rule-mbafm5D3-Bwf-jWRn.js +0 -1
  243. package/dist/assets/chartTypes-CD3vrBsI-CxjFANZl.js +0 -1
  244. package/dist/assets/commonDimensions-Oz1tdAcx-C8J13a8y.js +0 -1
  245. package/dist/assets/commonTypes-5tEXwrX4-DThfJWJu.js +0 -1
  246. package/dist/assets/constants-B4Nwm03n.js +0 -1
  247. package/dist/assets/downloadPdf-Dsuxeias-IRIi2izs.js +0 -1
  248. package/dist/assets/empty-B6p9RErG.js +0 -1
  249. package/dist/assets/epic-CPlQ2CFE.js +0 -2
  250. package/dist/assets/getReferrerType-DjPOy76W-DRP5VHem.js +0 -1
  251. package/dist/assets/gift-box-Cmt9OgIZ-CmAMj3r2.js +0 -1
  252. package/dist/assets/graphic-no-data-l-DU4J8fDt-Db5RbWJE.js +0 -1
  253. package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-BEpZ9Tqr.js +0 -1
  254. package/dist/assets/handshake-BPg58FML-6UbFX0a-.js +0 -1
  255. package/dist/assets/helper-Ckm10Uko-DCD3fpXN.js +0 -223
  256. package/dist/assets/index-BYqTlB4Y.js +0 -39
  257. package/dist/assets/index-BZNcKYJW.js +0 -1
  258. package/dist/assets/index-C8o-xzAN.js +0 -29875
  259. package/dist/assets/index-D-Jb9hdv.js +0 -1
  260. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-Cl8KOFjG.js +0 -1
  261. package/dist/assets/mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CDBFUVvY.js +0 -1
  262. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-B7yPJt54.js +0 -1
  263. package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-C3mdnabF.js +0 -1
  264. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-DJ5f-tsr.js +0 -1
  265. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Ca3eEPkJ.js +0 -1
  266. package/dist/assets/page-detail-CWX5S47F-Db9HhKdl.js +0 -1
  267. package/dist/assets/panelSelectedMixin-Cddsb26L-BEaTutPV.js +0 -3
  268. package/dist/assets/radio-default-CiSgisfh-bKgsz1mh.js +0 -1
  269. package/dist/assets/shield-DOlUxcFf-CuhCM_gA.js +0 -1
  270. package/dist/assets/toCOABalancesWithID-aLNB35t7-BtYnBfqr.js +0 -1
  271. package/dist/assets/toChartData-DUL6vnzJ-Bu4Ds4yf.js +0 -1
  272. package/dist/assets/types-DyvtCprH-NFPm5TaG.js +0 -1
  273. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-_YW_CWHL.js +0 -1
  274. package/dist/assets/uploadAttachment-Ck4wivBR-Cl_dwAB6.js +0 -286
  275. package/dist/assets/uploadReceipts-CIgkuVpu-DNtrxUdf.js +0 -1
  276. package/dist/assets/url-CRv0BSFG.js +0 -1
  277. package/dist/assets/useLongPress-GCK2COYQ-Bd_7uKXZ.js +0 -1
  278. package/dist/assets/usp-line-BBd1wKwW-rq31vkuF.js +0 -1
  279. package/dist/assets/zeni-epic-state-DMWYYyyR.js +0 -14
@@ -1,371 +0,0 @@
1
- import{e as B,g as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,K as qe,bF as Je,o as d,x as L,aG as J,bG as Qe,bH as et,ak as oe,u as C,b5 as tt,aX as st,b as Oe,a as Be,d as T,as as Pe,aW as ot,bc as at,ap as nt,bI as it,av as rt,bJ as ct,bK as ne,bL as lt,au as dt,ao as pt,bM as ut,bN as gt}from"./index-C8o-xzAN.js";import{a as S,P as Q}from"./sentry-DBhcw6Be.js";import{n as u,k as Ie}from"./mui-DOS4CfBc.js";import{bg as ht,FD as mt,EZ as ft,FE as bt,FF as xt,FG as _t,FH as wt,FI as yt,FJ as St,FK as vt,FL as $t}from"./zeni-epic-state-DMWYYyyR.js";import{m as Y,l as se}from"./analyticsHelper-CAYdbjhS-Bgy1SJeR.js";import{x as jt,b as Ct}from"./ReportTableViewSelector-Bc1K7mU_-BcXnhDrl.js";import{F as kt}from"./InsightsSection-B6CNlTNH-BdZRn5zX.js";import{H as ee}from"./BalancesInsightWithToolTip-B6umvmgL-B0jviFnz.js";import{y as Ot,$ as Bt,v as Pt,M as xe,b as pe}from"./TimeRangeSwitcher-D00bDDhP-DMLJ4CgT.js";import{G as It,P as Lt,Y as _e,X as we,H as ye}from"./RevenueChart-DvyZ3aO7-ln4Xbq3A.js";import{C as Nt}from"./NoDataChart-CrKeqWSr-DnRwd0s-.js";import{n as D}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{T as Le}from"./TimeframeSwitcher-DA99HdHt-B7dPmR3A.js";import{n as Rt,t as E,j as Dt,h as ue,D as Tt}from"./CollapsableReportTable-DNfFkAts-cgYLh83Q.js";import{S as zt,M as Ft,g as Mt,C as te,L as Ne,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CDBFUVvY.js";import{d as At}from"./NoDataTable-4vPXmPYF-0AXx0isj.js";import{d as ge,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Ca3eEPkJ.js";import{d as me}from"./mapLoadingInProgressToTreeNode-jcHEi-mv-Cl8KOFjG.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./NavigationDots-Dvce3gHt-BhNbY-Jn.js";import"./chartTypes-CD3vrBsI-CxjFANZl.js";import"./toCOABalancesWithID-aLNB35t7-BtYnBfqr.js";import"./toChartData-DUL6vnzJ-Bu4Ds4yf.js";import"./AccountRow-D1cjRJJD-brXv0bxV.js";import"./graphic-no-data-l-DU4J8fDt-Db5RbWJE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="04de303c-cb34-42c4-a947-cae02311b9d8",e._sentryDebugIdIdentifier="sentry-dbid-04de303c-cb34-42c4-a947-cae02311b9d8")}catch{}})();const Et=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.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"}),S.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"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.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"}),S.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"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
- justify-content: center;
3
- align-items: center;
4
- display: flex;
5
- flex-direction: column;
6
- height: ${e=>`calc(100vh - ${et.valuePx(e.windowSize)})`};
7
- gap: ${d.sp6};
8
- color: ${e=>e.theme.colors.grey2};
9
- `,Wt=u.div`
10
- width: ${d.sp12};
11
- height: ${d.sp12};
12
- flex-shrink: 0;
13
- `,Ht=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
- `,Gt=({style:e,emptyContentText:t,EmptyContentImage:a})=>{const n=B();return s.jsxs(Vt,{windowSize:n,style:{...e},children:[s.jsx(Wt,{children:s.jsx(a,{})}),s.jsx(Ht,{children:t})]})};function Yt(e){const{reportId:t}=e.report,a=e.filter.balancesRange.orderBy;let n,i,r=0;switch(t){case"cash_in_cash_out":{const p=e.report,{cashIn:o,cashOut:l}=p,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"cash_position":{const p=e.report,{cashPosition:o}=p;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"net_burn_or_income":{const p=e.report,{expenses:o,income:l}=p.sections,c=o?.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"net_burn_or_income_by_classes":{const p=e.report,{expenses:o,income:l,cogs:c}=p.sections,m=l.balances.length>0?l:c,g=o.balances.length>0?o:m;g.balances.length>0&&(a==="ascending_date"&&(r=g.balances.length-1),n=g.balances[r]);break}case"operating_expenses":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"operating_expenses_by_classes":{const p=e.report,{expenses:o}=p.sections;o.balances.length>0&&(a==="ascending_date"&&(r=o.balances.length-1),n=o.balances[r]);break}case"revenue":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c?.balances!=null&&c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}case"revenue_by_classes":{const p=e.report,{income:o,cogs:l}=p.sections,c=o.balances.length>0?o:l;c.balances.length>0&&(a==="ascending_date"&&(r=c.balances.length-1),n=c.balances[r]);break}}return n!=null&&(i={startDate:n.startDate,endDate:n.endDate}),i}function Ut(e){const{isCompareModeOn:t,filter:a,coaBalancesRange:n,report:i,currentTenantCompanyName:r,reportView:p,classesToFilterOut:o}=e,{reportId:l}=i;let c=a.balancesRange.thisPeriod;c==null&&(c=Yt({report:i,filter:a}));const m=[];if(t?(m.push("this_period_vs_last_period_percent"),m.push("this_period_vs_last_period")):!t&&l!=="cash_position"&&m.push("free_range_total"),i.reportId!=="cash_position"&&m.push("year_to_date_total"),c!=null)return{localeId:_.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!1,companyName:r,statementFileType:"excel",statements:[l],firstMonthOfFY:e.report.firstMonthOfFY,bookCloseDate:e.report.bookCloseDate,timeframe:a.timeframe,additionalBalances:m,format:e.reportType,balancesFilter:{thisPeriod:c,numberOfPeriods:t?a.balancesRange.numberOfPeriods:n.numberOfPeriods,orderBy:n.orderBy},accountViewMode:p,classesToFilterOut:o,isZeniCOAUsed:e.isZeniCOAUsed}}function Zt(e){const t=Ut(e);if(t!=null)return jt(e.statementEndPoint,e.authParams,t)}const Xt=u.div`
21
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
22
- `;function Kt({highlightedRangeReport:e}){const{availableNumberOfPeriods:t,netCashFlow:a}=e,n=a.balances;if(t==null||t===0||n.length===0)return null;const i=n.reduce((l,c)=>l+c.balance.amount,0),r=n[n.length-1],p={...r,balance:{...r.balance,amount:i}},o=_.getLocalizedStrings().chartCard.cashInCashOut.net_cash_flow;return s.jsx(Xt,{children:s.jsx(ee,{balance:p,dateText:o,showInfotip:!1})})}const qt=u.div`
23
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
24
- `;function Jt({highlightedRangeReport:e}){const{dateFormat:{visual:t}}=_.getLocalizedStrings(),{availableNumberOfPeriods:a,cashPosition:n}=e,i=n.balances;if(a==null||a===0||i.length===0)return null;const r=i[i.length-1],p=`in ${r.endDate.format(t.MMMYYFormat)}`;return s.jsx(qt,{children:s.jsx(ee,{balance:r,dateText:p,showInfotip:!1})})}const Qt=u.div`
25
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
26
- `,es=u.div`
27
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
28
- height: ${d.sp6};
29
- `;function ts({highlightedRangeReport:e,uiState:t}){const{selectedAdditionalBalances:a}=t,{availableNumberOfPeriods:n,calculatedSections:i}=e,r=i.netBurnOrIncome.balances;if(n==null||n===0||r.length===0)return s.jsx(es,{});const p=a.includes("this_period_vs_last_period")||a.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(m,p);return s.jsx(Qt,{children:s.jsx(ee,{balance:m,dateText:g,showInfotip:!1})})}const ss=u.div`
30
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
31
- `,os=u.div`
32
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
33
- height: ${d.sp6};
34
- `;function as({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a}=e,{selectedAdditionalBalances:n}=t,i=e.sections.expenses.balances??[];if(a==null||a===0||i.length===0)return s.jsx(os,{});const r=n.includes("this_period_vs_last_period")||n.includes("this_period_vs_last_period_percent"),p=i.reduce((g,h)=>g+h.balance.amount,0),o=i[i.length-1],l=i[0],c={...o,balance:{...o.balance,amount:p},startDate:l.startDate},m=pe(c,r);return s.jsx(ss,{children:s.jsx(ee,{balance:c,dateText:m,showInfotip:!1})})}const ns=u.div`
35
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
36
- `,is=u.div`
37
- padding: ${d.sp4} ${d.sp0} ${d.sp5} ${d.sp0};
38
- height: ${d.sp6};
39
- `;function rs({highlightedRangeReport:e,uiState:t}){const{availableNumberOfPeriods:a,sections:n}=e,{selectedAdditionalBalances:i}=t,r=n.income.balances;if(a==null||a===0||r.length===0)return s.jsx(is,{});const p=i.includes("this_period_vs_last_period")||i.includes("this_period_vs_last_period_percent"),o=r.reduce((h,f)=>h+f.balance.amount,0),l=r[r.length-1],c=r[0],m={...l,balance:{...l.balance,amount:o},startDate:c.startDate},g=pe(m,p);return s.jsx(ns,{children:s.jsx(ee,{balance:m,dateText:g,showInfotip:!1})})}const cs=({highlightedRangeReport:e,uiState:t})=>{switch(e.reportId){case"net_burn_or_income":return s.jsx(ts,{highlightedRangeReport:e,uiState:t});case"revenue":return s.jsx(rs,{highlightedRangeReport:e,uiState:t});case"operating_expenses":return s.jsx(as,{highlightedRangeReport:e,uiState:t});case"cash_position":return s.jsx(Jt,{highlightedRangeReport:e});case"cash_in_cash_out":return s.jsx(Kt,{highlightedRangeReport:e});default:return null}},q={wrapperPadding:new L(C[3],C[3],C[8]),chartHeight:new L(288,360)},ls=u.div`
40
- display: flex;
41
- flex: 1 1 auto;
42
- flex-direction: column;
43
- height: ${e=>q.chartHeight.valuePx(e.windowSize)};
44
- `,ds=u.div`
45
- display: flex;
46
- `,ps=e=>{const t=B(),{selectedRangeReport:a,selectedClassesViewRangeReport:n,uiState:i,onCOABalancesRangeChanged:r}=e,p=a.availableNumberOfPeriods==null||a.availableNumberOfPeriods===0,{selectedCOABalancesRange:o,selectedAdditionalBalances:l,highlightedCOABalancesRange:c,timeframe:m}=i,g=n!==void 0&&n.uiState.accountViewMode==="classes"?n:a;return p?s.jsx(ds,{children:s.jsx(Nt,{title:_.getLocalizedStrings().chartCard.no_data_available})}):s.jsx(ls,{windowSize:t,children:s.jsx(tt,{children:({height:h,width:f})=>{const x={showBarHoverBackground:!0,onCOABalancesRangeChanged:(w,y,b)=>{us(a.firstMonthOfFY,l,a.reportId,y,w,e.analytics),r(o,b)},highlightedRange:c,isDetailPage:!0,timeframe:m,width:f,height:h};switch(g.reportId){case"net_burn_or_income":return s.jsx(ye,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"net_burn_or_income_by_classes":return s.jsx(ye,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"revenue":return s.jsx(we,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"revenue_by_classes":return s.jsx(we,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"operating_expenses":return s.jsx(_e,{selectedRangeReport:a,...x,mode:e.uiState.mode});case"operating_expenses_by_classes":return s.jsx(_e,{selectedRangeReport:n,...x,mode:e.uiState.mode});case"cash_position":return s.jsx(Lt,{selectedRangeReport:a,...x});case"cash_in_cash_out":return s.jsx(It,{selectedRangeReport:a,...x});default:return null}}})})},us=(e,t,a,n,i,r)=>{const p=t.includes("this_period_vs_last_period")||t.includes("this_period_vs_last_period_percent");p===!0&&r?.trackCompareFilterTimeFrame(D(a),Y(n),"bar",se(e,n,i)),r?.trackDateRangeFilterChange(D(a),"bar",p,void 0,se(e,n,i))},Te={net_burn_or_income:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/netburn-forecast-dark.png"},revenue:{light:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast.png",dark:"https://storage.cloud.google.com/zeni-apis.appspot.com/images/icons/revenue-forecast-dark.png"},operating_expenses:{light:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast.png",dark:"https://storage.googleapis.com/zeni-apis.appspot.com/images/icons/opex-forecast-dark.png"}},ze=Ie`
47
- 0% {
48
- transform: translateY(100%)
49
- }
50
- 100% {
51
- transform: translateY(0)
52
- }
53
- `,gs=Ie`
54
- 0% {
55
- opacity: 0
56
- }
57
- 90% {
58
- opacity: 0
59
- }
60
- 100% {
61
- opacity: 1
62
- }
63
- `,hs=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
- `,ms=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
- `,Fe=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
- `,Me=u.div`
93
- display: flex;
94
- justify-content: flex-end;
95
- width: 100%;
96
- padding: ${d.sp3} ${d.sp4};
97
- `,Ae=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: ${gs} 0.4s;
107
- `,fs=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: ${ze} 0.4s;
119
- position: relative;
120
- `,bs=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: ${ze} 0.4s;
130
- position: relative;
131
- `,xs=u.div`
132
- position: absolute;
133
- left: 0;
134
- margin-top: 130px;
135
- `,_s=u.div`
136
- position: absolute;
137
- left: 0;
138
- margin-top: 500px;
139
- `,ws=u.div`
140
- position: absolute;
141
- right: 30px;
142
- margin-top: 200px;
143
- `,ys=u.div`
144
- width: 140px;
145
- transform: rotate(-22.31deg);
146
- `,Ss=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
- `,vs=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
- `,$s=u(Pe)`
162
- max-width: 496px;
163
- margin-top: ${d.sp7};
164
- margin: auto;
165
- color: ${e=>e.theme.colors.primary};
166
- `,js=u(Pe)`
167
- max-width: 330px;
168
- margin: auto;
169
- color: ${T.primaryDark};
170
- `,Ee=u.div``,Ve=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
- `,Cs=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
- `,ks=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
- `,ie=u(at)``,re=u(ot)``,ce=u.li``,Os=u.div`
191
- overflow: hidden;
192
- max-width: 712px;
193
- display: flex;
194
- `,Bs=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
- `,le=()=>s.jsxs(ys,{children:[s.jsx(Ss,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs(Cs,{windowSize:t,children:[s.jsx(Os,{windowSize:t,children:s.jsx(Bs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(ks,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Ps=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ae,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsx(bs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Fe,{windowSize:i,children:[s.jsx(js,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Ee,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:T.primaryDark,borderColor:T.primaryDark,color:T.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Is=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ae,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsxs(fs,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Fe,{windowSize:i,children:[s.jsx($s,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Ee,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(xs,{children:s.jsx(le,{})}),s.jsx(_s,{children:s.jsx(le,{})}),s.jsx(ws,{children:s.jsx(le,{})})]})]})};function Ls(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ps,{...e}):s.jsx(Is,{...e})}const de="ZeniSwitch",z={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Ns=({className:e,...t})=>s.jsx(lt,{...t,className:e,classes:{...z}}),Rs=u(Ns)(({theme:e})=>({[`& .${z.switchBase}`]:{color:e.colors.grey2},[`& .${z.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${z.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${z.switchBase}.Mui-checked + .${z.track}`]:{backgroundColor:e.colors.grey1},[`& .${z.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${z.switchBase}.Mui-disabled + .${z.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(Rs,{...e}),U={containerMaxWidth:new L(124,154),forecastNameInnerWidth:new L(75,105),forecastNameOuterWidth:new L(90,120),tooltipTopPosition:new L(51,51),tooltipWidth:new L(180,150)},Se=u.div``,Ds=u.div`
201
- min-width: ${e=>U.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
- `,Ts=u.div`
211
- display: flex;
212
- flex-direction: column;
213
- width: 315px;
214
- white-space: normal;
215
- `,zs=u(dt)`
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
- `,Fs=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
- `,Ms=u.div``,As=u.div``,Es=u(pt)`
226
- display: flex;
227
- color: ${T.alert};
228
- `,Vs=u(ut)`
229
- color: ${T.alert};
230
- width: ${d.sp4};
231
- height: ${d.sp4};
232
- margin-right: ${d.sp1};
233
- `,Ws=u.span`
234
- overflow: hidden;
235
- white-space: nowrap;
236
- text-overflow: ellipsis;
237
- max-width: ${e=>U.forecastNameOuterWidth.valuePx(e.windowSize)};
238
- text-align: right;
239
- `,Hs=u.div`
240
- display: flex;
241
- flex-direction: row;
242
- align-items: center;
243
- justify-content: end;
244
- `,Gs=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
- `,Ys=u.div``,Us=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=>U.tooltipWidth.valuePx(e.windowSize)};
263
- top: ${e=>U.tooltipTopPosition.valuePx(e.windowSize)};
264
- `,Zs=u(nt)`
265
- color: ${e=>e.theme.colors.grey5};
266
- `;function Xs({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((h,f)=>({label:h.name,value:f,forecastId:h.id,timeframeLabel:o(h.forecastPeriod),isValid:n(h)})),[c,m]=S.useState(l(t));return Q.useEffect(()=>{m(l(t))},[t]),s.jsxs(Ds,{windowSize:r,children:[s.jsx(Ys,{children:s.jsx(Us,{className:"info-tooltip",windowSize:r,children:s.jsx(Zs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Ks,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Ks=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=Z(),r=B(),[p,o]=S.useState(e),l=i.colors.grey5,c=i.colors.grey5,m=i.colors.grey3;S.useEffect(()=>{o(e)},[e]);const g=u(it)`
267
- height: ${d.sp3};
268
- width: ${d.sp3};
269
- `,h=u(rt)`
270
- height: 12px;
271
- width: 12px;
272
- margin-left: 6px;
273
- `,f=({children:b,...$})=>s.jsx(ne.SingleValue,{...$,children:s.jsxs(Hs,{children:[s.jsx(Ws,{windowSize:r,children:b}),s.jsx(h,{})]})}),x=b=>s.jsx(ne.DropdownIndicator,{...b,children:s.jsx(Se,{})}),w=b=>s.jsx(Se,{children:s.jsx(ne.Option,{...b,children:s.jsxs(Ts,{children:[s.jsxs(zs,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(Fs,{isValid:b.data.isValid,children:[s.jsx(Ms,{children:b.data.timeframeLabel}),s.jsx(Gs,{isValid:b.data.isValid}),s.jsx(As,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Es,{children:[s.jsx(Vs,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),y={control:(b,$)=>({...b,border:0,backgroundColor:c,color:$.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.hero,boxShadow:c,":active":{backgroundColor:c},":hover":{color:i.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:b=>({...b,backgroundColor:c,maxWidth:U.containerMaxWidth.valuePx(r),minWidth:U.containerMaxWidth.valuePx(r)}),singleValue:(b,$)=>({...b,color:$.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:i.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:b=>({...b,backgroundColor:l,borderRadius:C[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:C[1],maxWidth:"350px"}),option:(b,{isDisabled:$,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?m:V===!0&&$!==!0?i.colors.background:l,cursor:$===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:$===!1?k===!0?m:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(ct,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:y,defaultValue:p,onChange:b=>{const $=b;o($),n($.forecastId,$.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},ve={timeframePaddingLeft:new L(0,0,245),timeframePaddingBottom:new L(8,8,0)},qs=u.div`
274
- display: flex;
275
- width: 100%;
276
- flex-direction: column;
277
- `,Js=u.div`
278
- display: flex;
279
- width: 100%;
280
- flex-direction: row;
281
- `,Ge=u.div`
282
- display: flex;
283
- flex-direction: row;
284
- flex: 1 1 auto;
285
- justify-content: center;
286
- padding-left: ${e=>ve.timeframePaddingLeft.valuePx(e.windowSize)};
287
- padding-bottom: ${e=>ve.timeframePaddingBottom.valuePx(e.windowSize)};
288
- `,Qs=u.div`
289
- display: flex;
290
- width: 100%;
291
- flex-direction: row;
292
- align-items: center;
293
- justify-content: center;
294
- `,eo=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
- `,to=u.div`
302
- display: flex;
303
- flex-direction: row;
304
- align-items: center;
305
- margin-right: ${d.sp5};
306
- `,Ye=u(oe)`
307
- color: ${e=>e.isOn?e.theme.colors.primary:e.theme.colors.hero};
308
- opacity: ${e=>e.isDisabled?.5:1};
309
- `,Ue=({label:e,isOn:t,isToggleDisabled:a,onValueChanged:n})=>s.jsxs(s.Fragment,{children:[s.jsx(Ye,{isOn:t,isDisabled:a===!0,children:e}),s.jsx(He,{checked:t,edge:"end",disabled:a===!0,disableRipple:a===!0,onChange:i=>{n(i.target.checked)}})]});function Ze({isOn:e,isDisabled:t,selectedForecastIndex:a,forecasts:n,isForecastValid:i,onForecastToggleChanged:r,onForecastSelectionChanged:p}){return s.jsxs(to,{children:[e===!0&&n!=null&&n.length!==0?s.jsx(Xs,{selectedForecastIndex:a??0,forecasts:n,isForecastValid:i,onForecastSelectionChanged:p,isDisabled:!1}):s.jsx(Ye,{isOn:e,isDisabled:t===!0,children:_.getLocalizedStrings().reports.forecast.forecast}),s.jsx(He,{checked:e,edge:"end",disabled:t===!0,disableRipple:t===!0,onChange:o=>{r(o.target.checked)}})]})}const so=e=>{const t=B();return s.jsxs(qs,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Le,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(Qs,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})},oo=e=>{const t=B();return s.jsxs(Js,{children:[s.jsx(Ge,{windowSize:t,children:s.jsx(Le,{timeframes:e.timeframe.allowedTimeframes,selectedTimeframe:e.timeframe.selectedTimeframe,onTimeframeSelectionChanged:e.timeframe.onTimeframeSelectionChanged})}),s.jsxs(eo,{children:[e.forecastListWithToggle!=null&&s.jsx(Ze,{...e.forecastListWithToggle}),s.jsx(Ue,{...e.compareToggle,label:_.getLocalizedStrings().compareSwitchLabel})]})]})};function ao(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(so,{...e}):s.jsx(oo,{...e})}const no=u.div`
310
- display: flex;
311
- padding: ${d.sp2} ${d.sp0} ${d.sp4} ${d.sp0};
312
- `,io=u.div``,ro=u.div``,co=e=>{const{selectedRangeReport:t,uiState:a,analytics:n,onThisPeriodChanged:i,onTimeframeSelectionChanged:r,onCOABalancesRangeChanged:p,onAdditionalBalanceSelectionChanged:o}=e,l=ke(),{allTimeframeTicks:c}=t,{selectedCOABalancesRange:m,timeframe:g}=a,h=t.reportId==="cash_in_cash_out"?["month"]:["month","quarter","year"],f=t.availableNumberOfPeriods!=null&&t.availableNumberOfPeriods<2,x=a.mode==="compare_mode"&&!f,w=l.connectionName!=="netsuite"&&(t.reportId==="net_burn_or_income"||t.reportId==="operating_expenses"||t.reportId==="revenue");let y,b;switch(t.reportId){case"revenue":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"net_burn_or_income":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;case"operating_expenses":y=t.forecastList?.forecasts,b=t.forecastList?.fetchState;break;default:y=void 0}const $=t.availableNumberOfPeriods==null||t.availableNumberOfPeriods===0,k=$||t.availableNumberOfPeriods===1,V=v=>!!v.forecastPeriod.startDate.isBefore(t.dataAvailable?.endDate),[P,M]=S.useState(!1),H=ft("https://meetings.hubspot.com/svitlana-grankovska"),A=a.mode,N=a.selectedForecast;S.useEffect(()=>{A==="forecast_mode"&&b==="Completed"&&y?.length===0&&(M(!0),document.body.style.overflow="hidden")},[b,A,y]),S.useEffect(()=>{A==="forecast_mode"&&N!=null&&y!=null&&y.length>0&&e.analytics?.trackForecastSwitch(D(t.reportId),y[N.index].name)},[N]);const W=(v,j,G)=>{j===!0&&e.analytics?.trackForecastVsActualMode(D(t.reportId),"",v==="forecast_mode"),e.onForecastToggle?.(v,G)};return s.jsx(ro,{children:s.jsxs(io,{children:[s.jsx(no,{children:s.jsx(ao,{timeframe:{allowedTimeframes:h,selectedTimeframe:g,onTimeframeSelectionChanged:v=>{e.analytics?.trackTimeframeSwitch(Y(v),D(t.reportId)),r?.(v),e.uiState.mode==="compare_mode"&&!x&&o(x,x?["this_period_vs_last_period_percent"]:[],x?3:1)}},compareToggle:{label:_.getLocalizedStrings().compareSwitchLabel,isOn:k?!1:x,isToggleDisabled:k,onValueChanged:v=>{const j=v===!0||a.mode==="forecast_mode"?3:1;n?.trackCompareMode(v,D(t.reportId),Y(g)),o(v,v?["this_period_vs_last_period_percent","year_to_date_total"]:["year_to_date_total"],j)}},forecastListWithToggle:w===!0?{isOn:a.mode==="forecast_mode",isToggleDisabled:k,selectedForecastIndex:e.uiState.selectedForecast?.index,forecasts:y,isForecastValid:V,onForecastSelectionChanged:(v,j)=>W("forecast_mode",!1,{id:v,index:j}),onForecastToggleChanged:v=>{W(v===!0?"forecast_mode":"off",!0)}}:void 0})}),P==!0?s.jsx(Ls,{meetingUrl:H,reportId:t.reportId,onClose:()=>{M(!1),e.onForecastToggle?.("off");const v=1;document.body.style.overflow="auto",o(x,x?["this_period_vs_last_period_percent"]:[],v)}}):null,$?null:s.jsx(Ot,{firstMonthOfFY:t.firstMonthOfFY,timeframe:g,timeframeTicks:c,selection:{selectedTicks:xe(c,m),highlightedOfSelectedTicks:xe(c,m)},onClick:(v,j)=>{$e(t.firstMonthOfFY,x,t.reportId,g,j,e.analytics),i(j)},onSelectionChanged:(v,j)=>{const G=Bt(c,v.fromEnd),X=Pt(c,j);$e(t.firstMonthOfFY,x,t.reportId,g,X.thisPeriod,e.analytics),p(G,X)}})]})})},$e=(e,t,a,n,i,r)=>{t===!0&&r?.trackCompareFilterTimeFrame(D(a),Y(n),"range filter",se(e,n,i)),r?.trackDateRangeFilterChange(D(a),"range filter",t,se(e,n,i))};function fe({account:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){return{children:[],id:E("ac_report",p,e.accountId),isLastNode:i,reportElementData:{element:{kind:"ac_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}}}function lo({acGroup:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r,parentNodeIDs:p}){const o=E("ac_group_report",p,e.accountGroupId),l={children:[],id:o,isLastNode:i,reportElementData:{element:{kind:"ac_group_report",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},c=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances).compactedAccountsSelector(e);return l.children=c.map((m,g)=>fe({account:m,sectionType:t,numOfBalances:a,title:m.accountDescription,config:r,isLastNode:g===c.length-1,parentNodeIDs:[...p,o]})),l}function je({section:e,sectionType:t,numOfBalances:a,title:n,isLastNode:i,config:r}){const p=E("section",[],n),o={children:[],id:p,isLastNode:i,reportElementData:{element:{kind:"section",title:n,sectionType:t,data:e,numOfBalances:a},config:r}},l=Tt(e,r.displayOrder,a,!1),c=po(l.balances),m=ue(t,"no_filter",r.filterAccountsWithNilBalances,r.filterAccountGroupsWithNilBalances),g=m.compactedAccountsSelectorVariant(e.accountsOrdered),h=m.compactedAccountGroupsSelector(e.accountGroupsOrdered);if(c===!0&&(h.length>0||e.accountsOrdered.length>0)){const f=h.map((w,y)=>lo({acGroup:w,sectionType:t,numOfBalances:a,title:w.accountGroupName,isLastNode:y===h.length-1,config:r,parentNodeIDs:[p]})),x=g.map((w,y)=>fe({account:w,sectionType:t,numOfBalances:a,title:w.accountDescription,isLastNode:y===e.accountsOrdered.length-1,config:r,parentNodeIDs:[p]}));o.children.push(...f),o.children.push(...x)}return o}function po(e){let t=!1;if(e!=null){for(const a of e)if(a!=null&&a.balance.amount!==0){t=!0;break}}return t}function F({balances:e,config:t,nodeId:a}){let n="timeframe_headers";return t.mode==="actual_vs_forecast"&&(n="timeframe_headers_with_forecast"),{children:[],id:a??E("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:n,title:"",data:e,numOfBalances:e.length},config:t}}}function uo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.cashIn.balances?[...e.cashIn.balances,...e.cashIn.additionalBalances]:e.cashOut.balances?[...e.cashOut.balances,...e.cashOut.additionalBalances]:[],p=F({balances:r,config:t}),o=je({section:e.cashIn,sectionType:"cash_in",numOfBalances:i,title:n.sections.cashIn,isLastNode:!0,config:t}),l=je({section:e.cashOut,sectionType:"cash_out",numOfBalances:i,title:n.sections.cashOut,isLastNode:!0,config:t}),c=te({calculatedSection:e.netCashFlow,numOfBalances:i,title:n.sections.netCashFlow,isLastNode:!0,config:t});return{config:t,headerNodes:a?[p]:[],contentNodes:[p,o,l,c]}}function be({title:e,balances:t,config:a,numOfBalances:n,nodeId:i}){return{children:[],id:i??E("total",[]),isLastNode:!1,reportElementData:{element:{kind:"total",title:e,data:t,numOfBalances:n},config:a}}}function go(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.cashPosition.balances,...e.cashPosition.additionalBalances],p=e.cashPosition,o=F({balances:r,config:t}),l=be({title:_.getLocalizedStrings().chartCard.total,balances:p,config:t,numOfBalances:i}),c=E("section",[],n.sections.netCashFlow),m=ue("cash_position","no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.cashPosition.accountsOrdered).map((g,h)=>fe({account:g,sectionType:"cash_position",numOfBalances:i,title:g.accountDescription,isLastNode:h===e.cashPosition.accountsOrdered.length-1,config:t,parentNodeIDs:[c]}));return{config:t,headerNodes:a?[o]:[],contentNodes:[o,l,...m]}}function ho(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});a&&(c.reportElementData.element.numOfBalances=7,l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=he[h];const x=me({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],g=F({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(yt(h)===!0){const f=e.sections[h];f!=null&&o.push(Ne({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(St(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:h==="netBurnOrIncome"?e.reportTitle:i.sections[h],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function mo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:[],p=F({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{vt(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):$t(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:l==="netBurnOrIncome"?e.reportTitle:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function fo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=10,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=he[h];const x=me({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=10,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],g=F({balances:m,config:t}),h=e.sections.expenses,f=be({title:_.getLocalizedStrings().chartCard.total,balances:h,config:t,numOfBalances:c});o.push(g),o.push(f),a&&(l=[g]);const x=E("section",[],i.sections.expenses);e.sections.expenses.classes.forEach((w,y)=>{o.push(zt({classNode:w,sectionType:"expenses",numOfBalances:c,title:w.class.className,isLastNode:w.isLeafClass,config:t,parentNodeIDs:[x],ancestorMetadata:{subAccountAncestorMetadata:[],classAncestorMetadata:[{depth:w.id.length-1,hasSibling:!1,hasChildren:w.children.length>0,isLastNode:y===e.sections.expenses.classes.length-1,name:w.class.className}]}}))})}return{config:t,headerNodes:l,contentNodes:o}}function bo(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances],p=F({balances:r,config:t}),o=e.sections.expenses,l=be({title:_.getLocalizedStrings().chartCard.total,balances:o,config:t,numOfBalances:i}),c=E("section",[],n.sections.expenses),m=Dt("no_filter",t.filterAccountsWithNilBalances,t.filterAccountGroupsWithNilBalances),g=[];g.push(p),g.push(l);const h=m.compactedAccountGroupsSelector(e.sections.expenses.accountGroups);if(h.length!=0){const f=h.map((x,w)=>Ft({acGroup:x,sectionType:"expenses",numOfBalances:i,title:x.accountGroupName,isLastNode:w===h.length-1,config:t,parentNodeIDs:[c]}));g.push(...f)}else if(e.sections.expenses.accounts?.length!==0){const f=m.compactedAccountsSelectorVariant(e.sections.expenses.accounts),x=f.map((w,y)=>Mt({account:w,sectionType:"expenses",numOfBalances:i,title:w.account.accountName,isLastNode:y===f.length-1,config:t,parentNodeIDs:[c],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:f.length>1,hasChildren:w.children.length>0,isLastNode:y===f.length-1}]}}));g.push(...x)}return{config:t,headerNodes:a?[p]:[],contentNodes:g}}function xo(e,t,a=!0,n=!1){const i=_.getLocalizedStrings().reports,r=_.getLocalizedStrings().common;let p=[];const o=[];let l=[];if(n===!0){const c=ge({title:r.loading,balances:[],config:t});c.reportElementData.element.numOfBalances=7,a&&(l=[c]),o.push(c),[...Array(8)].forEach((m,g)=>{const h=g%4;let f=he[h];const x=me({title:`${g}+${f}`,balances:p,config:t});x.reportElementData.element.numOfBalances=7,o.push(x)})}else{const c=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,m=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],g=F({balances:m,config:t});o.push(g),a&&(l=[g]),e.idsInOrder.forEach(h=>{if(bt(h)===!0){const f=e.sections[h];f!=null&&o.push(Ne({section:f,sectionType:h,numOfBalances:c,title:i.sections[h],isLastNode:!0,config:t}))}else if(xt(h)===!0){const f=e.calculatedSections[h];f!=null&&o.push(te({calculatedSection:f,numOfBalances:c,title:i.sections.grossMargin,isLastNode:!0,config:t}))}})}return{config:t,headerNodes:l,contentNodes:o}}function _o(e,t,a=!0){const n=_.getLocalizedStrings().reports,i=t.mode==="this_period_vs_period_before"?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,r=e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.calculatedSections.grossMargin.balances.length>0?[...e.calculatedSections.grossMargin.balances,...e.calculatedSections.grossMargin.additionalBalances]:[],p=F({balances:r,config:t}),o=[];return o.push(p),e.idsInOrder.forEach(l=>{_t(l)===!0?e.sections[l].accountGroups.length>0?o.push(Re({section:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):o.push(De({sectionWithAcOnly:e.sections[l],sectionType:l,numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t})):wt(l)===!0&&o.push(te({calculatedSection:e.calculatedSections[l],numOfBalances:i,title:n.sections[l],isLastNode:!0,config:t}))}),{config:t,headerNodes:a?[p]:[],contentNodes:o}}function wo(e,t,a,n=!0){Object.assign(e.config,t);const i=yo(a),r=F({balances:i,config:t});return{config:t,headerNodes:n?[r]:[],contentNodes:[r,...e.contentNodes.slice(1)]}}const yo=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[]}},Ce={contentPaddingLeft:new L(C[0],C[0],C[0]),contentPaddingRight:new L(C[3],C[3],C[8])},So=u.div`
313
- width: 100%;
314
- height: calc(100vh - 70px);
315
- `,vo=u.div`
316
- display: flex;
317
- position: sticky;
318
- justify-content: center;
319
- padding-top: ${d.sp6};
320
- padding-left: ${e=>q.wrapperPadding.valuePx(e.windowSize)};
321
- background-color: ${e=>e.theme.colors.grey4};
322
- `,$o=u.div`
323
- position: absolute;
324
- padding-top: ${d.sp3};
325
- background-color: ${e=>e.theme.colors.grey4};
326
- `,jo=e=>{const t=B(),a=Z(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:m,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:h,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,y=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,$=r.mode==="compare_mode"&&!b,k=$||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",D(n.reportId),Y(r.timeframe),"dropdown");const I=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged($,[I],x?.numberOfPeriods??k)},[P,M]=S.useState(void 0),[H,A]=S.useState(void 0),N=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),j=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,G=w==="forecast_mode"?"actual_vs_forecast":$===!0?"this_period_vs_period_before":"none",X=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,I)=>{O!==i?.uiState.accountViewMode&&g?.(O),I&&h?.(I)};return S.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:G,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:gt(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!J(H,j)||e.isPageFetchInProgress===!0){const I=Co(j,O,N,e.isPageFetchInProgress);A(j),M(I)}else{const I=wo(P,O,j,N);M(I)}},[W,$,j,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:y?s.jsx(At,{}):P!=null?s.jsxs(So,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:N,isStickyName:N},treeNodePadding:{left:Ce.contentPaddingLeft.value(t),right:Ce.contentPaddingRight.value(t)},onAccountClick:m==null?void 0:(O,I,R)=>{m(O,I,R)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),X===!0&&i!==void 0?s.jsx($o,{children:s.jsx(Ct,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},Co=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return mo(e,t,a);case"net_burn_or_income_by_classes":return ho(e,t,a,n);case"revenue":return _o(e,t,a);case"revenue_by_classes":return xo(e,t,a,n);case"cash_position":return go(e,t,a);case"cash_in_cash_out":return uo(e,t,a);case"operating_expenses":return bo(e,t,a);case"operating_expenses_by_classes":return fo(e,t,a,n);default:return}},ko=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",K={chartWidth:"100%",barCount:8,barWidth:new L(C[6],C[8],C[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=K.chartWidth,barCount:n=K.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??q.chartHeight.value(o),c=l-C[5],m=[...Array(n)].map((g,h)=>({height:(i?.[h]||K.maxBarHeight)*l,width:K.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:m.map((g,h)=>s.jsx(Io,{children:s.jsx(Qe,{speed:2,width:K.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${h}-${g.height}`))})})},Bo=u.div`
327
- width: 100%;
328
- height: 100%;
329
- border-radius: ${d.sp2};
330
- padding: ${d.sp4};
331
- background-color: ${e=>e.backgroundColor};
332
- display: flex;
333
- flex-direction: column;
334
- `,Po=u.div`
335
- display: flex;
336
- align-items: flex-end;
337
- justify-content: space-between;
338
- width: 100%;
339
- height: 100%;
340
- `,Io=u.div`
341
- flex: 1;
342
- height: 100%;
343
- display: flex;
344
- align-items: flex-end;
345
- justify-content: center;
346
- `,Lo=u.div`
347
- display: flex;
348
- flex: 1 1 auto;
349
- min-height: 100%;
350
- flex-direction: column;
351
- width: 100%;
352
- background-color: ${e=>e.theme.colors.grey4};
353
- `,No=u.div`
354
- position: relative;
355
- box-shadow: ${e=>`2px 0px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
356
- background-color: ${e=>e.theme.colors.grey5};
357
- padding-left: ${e=>q.wrapperPadding.valuePx(e.windowSize)};
358
- padding-right: ${e=>q.wrapperPadding.valuePx(e.windowSize)};
359
- z-index: 1;
360
- `,Ro=u.div`
361
- display: flex;
362
- justify-content: center;
363
- padding: ${d.sp6} ${d.sp0};
364
- `,Do=u.div`
365
- display: flex;
366
- flex-direction: column;
367
- justify-content: center;
368
- align-items: center;
369
- height: 100vh;
370
- margin-top: ${d.sp8};
371
- `,ba=e=>{const t=B(),a=Z(),[n,i]=S.useState(!1),r=_.getLocalizedStrings(),{reportLabels:p,selectedRangeReport:o,selectedClassesViewRangeReport:l,uiState:c,downloadParams:m,analytics:g,onBackClick:h,updateDownloadStateHandler:f,onAdditionalBalanceSelectionChanged:x}=e,{insights:w}=o,{selectedCOABalancesRange:y,timeframe:b,selectedAdditionalBalances:$,downloadState:k}=c,V=o.availableNumberOfPeriods!=null&&o.availableNumberOfPeriods<2,P=c.mode==="compare_mode"&&!V,M=ke(),H=M.loggedInUserRole!=null&&!ht(M.loggedInUserRole),A=e.selectedRangeReport.reportId==="cash_in_cash_out"||e.selectedRangeReport.reportId==="cash_position";S.useEffect(()=>{async function R(){await Zt({report:l!==void 0&&l.uiState.accountViewMode==="classes"?l:o,filter:o.filter,coaBalancesRange:y,isCompareModeOn:P,reportView:l!==void 0?l.uiState.accountViewMode:"account_group",classesToFilterOut:l!==void 0?l.uiState.classesToFilterOut:[],...m,reportType:H||A?"more_detailed":"detailed",isZeniCOAUsed:e.isZeniCOAUsed??!0}),g?.trackDownload(D(o.reportId),Y(b),"excel",P),f("Completed")}n&&k!=="In-Progress"&&(i(!1),f("In-Progress"),R())},[m,k,o.filter,n,P,y,o,l,b,g,f,H,A,e.isZeniCOAUsed]);const N=o.availableNumberOfPeriods==null||o.availableNumberOfPeriods===0||o.allTimeframeTicks.length===0,W=o.fetchState==="In-Progress"||o.fetchState==="Not-Started",v=mt([e?.reportsResyncFetchState??{fetchState:"Not-Started"},l??{fetchState:"Not-Started"}]).fetchState==="In-Progress"&&l?.uiState.accountViewMode==="classes";S.useEffect(()=>{const R=P||c.mode==="forecast_mode"?3:1;x(P,$,R)},[t]);const j=R=>{e.autoCompleteData?.autoCompleteText!=null&&e.analytics?.trackSearch(qe.Event.search,D(o.reportId),R.type,R.name,e.autoCompleteData?.autoCompleteText),e.autoCompleteActions?.onAutoCompleteEntity?.(R)},{autoCompleteData:G,autoCompleteActions:X,scrollPosition:ae,...O}=e,I=s.jsx(Je,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:N,isDownloading:k==="In-Progress"}],onDownloadClick:async R=>{if(R==="excel")if(k==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}});return s.jsxs(Lo,{children:[s.jsx(Xe,{title:p.reportTitle,backgroundColor:a.colors.grey5,onBackClick:h,rightSideComponent:I,downloadPresent:!0,searchAutoComplete:{autoCompleteData:e.autoCompleteData,autoCompleteActions:{...e.autoCompleteActions,onAutoCompleteEntity:j}},source:"DashboardReportPage",style:{zIndex:2}}),W?s.jsx(Do,{children:s.jsx(Ke,{size:"Standard",start:!0})}):N?s.jsx(Gt,{style:{background:a.colors.grey5},emptyContentText:r.common.noReport.replace("_item-name_",`${r.reportTitleById.operating_expenses.toLowerCase()}`),EmptyContentImage:Et}):s.jsxs(s.Fragment,{children:[s.jsxs(No,{windowSize:t,children:[s.jsx(Mo,{...O}),s.jsx(To,{highlightedRangeReport:o,uiState:c}),v?s.jsx(Oo,{}):s.jsx(zo,{...O}),s.jsx(Ro,{children:s.jsx(kt,{insights:w})})]}),s.jsx(Fo,{scrollPosition:ae,isPageFetchInProgress:v,...O})]})]})},To=Q.memo(cs,J),zo=Q.memo(ps,J),Fo=Q.memo(jo,J),Mo=Q.memo(co,J);export{ba as default};
@@ -1,12 +0,0 @@
1
- import{ax as b,V as o,b7 as f,o as p}from"./index-C8o-xzAN.js";import{a as s}from"./sentry-DBhcw6Be.js";import{a as h,n as m}from"./mui-DOS4CfBc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="037aa97a-20aa-4ac5-84c4-9b2dfa9d146b",e._sentryDebugIdIdentifier="sentry-dbid-037aa97a-20aa-4ac5-84c4-9b2dfa9d146b")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=b(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
- display: flex;
3
- flex: 1 1 auto;
4
- flex-direction: column;
5
- width: inherit;
6
- position: absolute;
7
- top: ${p.sp0};
8
- z-index: 0;
9
- height: ${e=>e.newYearAnimationEnabled?"100%":"60vh"};
10
- opacity: ${e=>e.contextWiseOpacity};
11
- pointer-events: none;
12
- `;export{D as v};
@@ -1,76 +0,0 @@
1
- import{aQ as z,hS as T,e as _,ay as D,V as i,dN as N,o as t,an as f,ao as y,O as C}from"./index-C8o-xzAN.js";import{n}from"./mui-DOS4CfBc.js";import{g as O}from"./BoxItem-Bxa1M4QU-CY-vorJI.js";import{o as A}from"./commonDimensions-Oz1tdAcx-C8J13a8y.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="04810158-4d29-48ab-a196-d258a7fa6bf4",e._sentryDebugIdIdentifier="sentry-dbid-04810158-4d29-48ab-a196-d258a7fa6bf4")}catch{}})();const{common:{strings:{empty:g}}}=C.getLocalizedStrings();function J({data:e,boxType:a,depositAccountId:l,isCheckingCommentingEnabled:x=!1}){const{counterParty:s,typeName:c,amount:h,logo:u,summary:$,direction:k,status:v}=e,j=s.length>0?s:$,p=z("0,0.00",h),r=T(v),o=_(),d=D(),S=`dashboard_${d.currentTenant?.companyId}`,m=`list.${e.id}`,w=l!=null?{application:"dashboard",companyId:d.currentTenant?.companyId,tab:"checking",entityType:`checking.${m}`,entityId:e.id,isGlobalComment:!1,groupId:l}:void 0,I=i.jsxs(H,{children:[i.jsx(L,{src:u?.toString(),loading:"lazy"}),i.jsx(K,{children:i.jsxs(V,{windowSize:o,children:[i.jsx(M,{children:j}),r!=null?i.jsxs(q,{windowSize:o,children:[i.jsx(G,{windowSize:o}),i.jsx(B,{color:r?.color,children:r?.value})]}):null]})}),i.jsxs(E,{windowSize:o,children:[c!=null?i.jsx(P,{children:i.jsx(W,{className:"tag",children:c})}):null,i.jsx(Q,{windowSize:o,children:k==="debit"?`-${p}`:p})]})]}),b=i.jsx(O,{content:I,boxType:a,isDisabled:!1,isNotClickable:!0});return!x||w==null||l==null?b:i.jsx(N,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:m,roomId:S,companyId:d.currentTenant?.companyId??g,companyName:d.currentTenant?.companyName??g,dashboardOptionType:"checking",filterMetaData:w,groupId:l,style:{width:"100%",minWidth:0,alignSelf:"stretch"},children:b})}const E=n.div`
2
- display: flex;
3
- flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
- align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
5
- `,P=n.div`
6
- display: flex;
7
- justify-content: end;
8
- `,W=n(y)`
9
- -webkit-box-orient: vertical;
10
- -webkit-line-clamp: 1;
11
- margin-left: ${t.sp3};
12
- padding: 1px 6px;
13
- border: 1px solid ${e=>e.theme.colors.grey2};
14
- border-radius: ${t.sp1};
15
- color: ${e=>e.theme.colors.grey1};
16
- `,H=n.div`
17
- display: flex;
18
- align-items: center;
19
- padding: ${t.sp3} ${t.sp4};
20
- flex-direction: row;
21
- width: 100%;
22
- justify-content: space-between;
23
- `,K=n.div`
24
- display: flex;
25
- justify-content: space-between;
26
- align-items: center;
27
- flex: 1;
28
- `,L=n.img`
29
- display: flex;
30
- width: ${t.sp4};
31
- height: ${t.sp4};
32
- `,M=n(f)`
33
- display: -webkit-box;
34
- -webkit-box-orient: vertical;
35
- -webkit-line-clamp: 1;
36
- max-height: ${t.sp11};
37
- text-overflow: ellipsis;
38
- word-break: break-word;
39
- text-align: left;
40
- overflow: hidden;
41
- `,V=n.div`
42
- display: flex;
43
- align-items: center;
44
- text-align: left;
45
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
46
- align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
47
- margin-left: ${t.sp3};
48
- max-height: ${t.sp11};
49
- word-break: break-word;
50
- text-overflow: ellipsis;
51
- overflow: hidden;
52
- `,q=n.div`
53
- display: flex;
54
- flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
55
- align-items: center;
56
- `,B=n(y)`
57
- color: ${e=>e.color};
58
- -webkit-box-orient: vertical;
59
- -webkit-line-clamp: 1;
60
- display: -webkit-box;
61
- `,G=n.div`
62
- display: ${e=>e.windowSize==="small"?"none":"block"};
63
- width: ${t.sp1};
64
- height: ${t.sp1};
65
- border-radius: 50%;
66
- background-color: ${e=>e.theme.colors.grey1};
67
- margin-left: ${t.sp2};
68
- margin-right: ${t.sp2};
69
- `,Q=n(f)`
70
- display: -webkit-box;
71
- -webkit-box-orient: vertical;
72
- -webkit-line-clamp: 1;
73
- margin-left: ${t.sp3};
74
- text-align: right;
75
- width: ${e=>A.amountWidth.valuePx(e.windowSize)};
76
- `;export{J as Y};
@@ -1,66 +0,0 @@
1
- import{g as S,e as I,V as t,bE as E,b5 as Y,h$ as z,o,O as F,d as u,cC as _,dr as A,ds as L,dl as T,dt as B,x as R,ak as N,an as P,u as x}from"./index-C8o-xzAN.js";import{a as w}from"./sentry-DBhcw6Be.js";import{n as r}from"./mui-DOS4CfBc.js";import{bh as V}from"./zeni-epic-state-DMWYYyyR.js";import{$ as O}from"./BoxItem-Bxa1M4QU-CY-vorJI.js";import{o as X}from"./commonDimensions-Oz1tdAcx-C8J13a8y.js";import{Y as G}from"./DepositAccTransactionItem-CyFi1P_L-BDRqwizb.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d9ffd3b2-1f06-400e-901d-1887a1fa5c16",e._sentryDebugIdIdentifier="sentry-dbid-d9ffd3b2-1f06-400e-901d-1887a1fa5c16")}catch{}})();const l=F.getLocalizedStrings(),H={listItemMargin:new R(x[3],x[8])};function J(e){const n=A(e,a=>a.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=L(n,a=>a.length>0);return T(d,a=>({date:a[0].transactionDate,transactions:B(a,m=>m.transactionDate,"desc")}))}const K=z(J),ge=({transactionListView:e,onBackClick:n,depositAccountId:d,isCheckingCommentingEnabled:a=!1})=>{const m=S(),p=I(),j=w.createRef(),f=w.useRef(null),c=K(e.transactions),v=e.depositAccountName,g=c.length===0,C=i=>g===!1?c[i].transactions.length*X.transactionItemHeightResponsive.value(p)+45:24,D=({index:i,style:h})=>{if(g===!1){const s=c[i];return t.jsx(y,{style:{...h},children:t.jsx($,{windowSize:p,children:t.jsxs(k,{children:[t.jsx(q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(W,{children:s.transactions.map((M,b)=>t.jsx(G,{data:M,boxType:O(b,s.transactions.length),depositAccountId:d,isCheckingCommentingEnabled:a},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(Q,{children:t.jsx($,{windowSize:p,children:t.jsx(Z,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(U,{children:[t.jsx(E,{title:`${v} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:n,scrollableContent:f.current!=null?f:void 0,source:"DepositAccTransactionListPage"}),t.jsx(k,{children:t.jsx(Y,{children:({height:i,width:h})=>t.jsx(ee,{ref:j,height:i,width:h,outerRef:f,itemKey:s=>s,itemCount:c.length,itemSize:C,initialScrollOffset:0,children:D})})})]})},y=r.div``,$=r.div`
2
- margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
- `,Q=r.div`
4
- display: flex;
5
- height: 100%;
6
- flex: 1 1 auto;
7
- flex-direction: row;
8
- justify-content: center;
9
- align-items: flex-end;
10
- `,U=r.div`
11
- display: flex;
12
- height: 100%;
13
- flex-direction: column;
14
- width: 100%;
15
- padding-bottom: ${o.sp7};
16
- `,Z=r(P)`
17
- display: flex;
18
- color: ${e=>e.theme.colors.grey2};
19
- `,q=r(N)`
20
- display: flex;
21
- height: 21px;
22
- margin-bottom: ${o.sp2};
23
- margin-top: ${o.sp3};
24
- color: ${e=>e.theme.colors.grey1};
25
- `,k=r.div`
26
- display: flex;
27
- flex-direction: column;
28
- width: 100%;
29
- height: 100%;
30
- `,W=r.div`
31
- display: flex;
32
- flex: 1 1 auto;
33
- flex-direction: column;
34
- box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
35
- border-radius: ${o.sp2};
36
- background-color: ${e=>e.theme.colors.grey5};
37
- `,ee=r(_)`
38
- scrollbar-width: thin;
39
- scrollbar-color: transparent transparent;
40
- &::-webkit-scrollbar {
41
- width: ${o.sp2};
42
- height: ${o.sp0};
43
- background-color: transparent;
44
- }
45
- &::-webkit-scrollbar-track {
46
- box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
47
- -webkit-box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
48
- background-color: transparent;
49
- }
50
- &::-webkit-scrollbar-thumb {
51
- background-color: transparent;
52
- }
53
-
54
- &:hover {
55
- scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
56
- &::-webkit-scrollbar {
57
- width: ${o.sp2};
58
- height: ${o.sp0};
59
- background-color: transparent;
60
- }
61
- &::-webkit-scrollbar-thumb {
62
- background-color: ${e=>e.theme.colors.grey1};
63
- border-radius: 2px;
64
- }
65
- }
66
- `;export{ge as default};
@@ -1,21 +0,0 @@
1
- import{e as O,aa as J,O as T,cQ as U,aG as G,V as n,cy as H,cz as Q,cA as q,ae as K,aT as X,x as b,fa as Y,o as Z,bb as ee,u as o}from"./index-C8o-xzAN.js";import{a as C}from"./sentry-DBhcw6Be.js";import{n as h}from"./mui-DOS4CfBc.js";import{bi as S}from"./zeni-epic-state-DMWYYyyR.js";import{e as ne}from"./BankAccountSection-Di4sF52j-CjUG2k4c.js";import{M as te}from"./MagicLinkTitleSection-CARU1oLQ-B0cyw7Mk.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Cled-2cR-DDIv4R5M.js";import{T as ie}from"./MailingDetailsSection-ByOPaJ05-DHEttRbi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ef4e0f36-7ef1-4dab-be9b-cb2ed092ec72",e._sentryDebugIdIdentifier="sentry-dbid-ef4e0f36-7ef1-4dab-be9b-cb2ed092ec72")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",D="mailingAddressSection",$=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:w}=e,u=O(),c=J({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[W,g]=C.useState(!1),a=T.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=T.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),w?.()},onCancelClick:()=>{g(!1)}},V=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>V(d,m))});return()=>{p.unsubscribe()}});const F=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!G(x!=null?S(x):x,r!=null?S(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(H,{titleComponent:n.jsx(q,{children:a.discardTitle}),descriptionComponent:n.jsx(Q,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:N,onBackClick:w,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(K,{...c,children:n.jsxs("form",{id:$(B),onSubmit:F,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:D,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:$(B),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?g(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[D]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
- padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
- padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
- padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
5
- padding-bottom: ${e=>i.paddingTopBottom.valuePx(e.size)};
6
- background: ${e=>e.theme.colors.grey4};
7
- `,de=h(ee)`
8
- color: ${e=>e.theme.colors.champion};
9
- margin-left: ${e=>i.marginLeft.valuePx(e.size)};
10
- margin-top: ${Z.sp3};
11
- `,le=h.div`
12
- display: flex;
13
- flex-direction: column;
14
- flex-grow: 1;
15
- `,ue=h.div`
16
- background-color: ${e=>e.theme.colors.grey4};
17
- display: flex;
18
- flex-direction: column;
19
- width: 100%;
20
- height: 100%;
21
- `;export{xe as y};