@zeniai/web-app-ui 4.14.35-qa → 4.14.36-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 (498) hide show
  1. package/dist/assets/{ACHDetailsPage-B5qIuZya-XLBuNVCw.js → ACHDetailsPage-fOu5grd7-Cs2K4DRV.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-BHB45mP--CD0rNUAY.js → AIPerformancePage-Da3gFo8A-CVIvereU.js} +25 -25
  3. package/dist/assets/AccountInfoPage-o7hTXtgZ-Dc6Hg6aE.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-DqErO8FH-XBjSorHo.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-Dox7IuAX-DnRhVaKQ.js → AccountLockedInfoModal-BJjCuLHa-Uk-DVT8_.js} +9 -9
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-D31h8ST6.js → AccountReconDetailsDrawerPage-CVjH1p0d-qMdLytVA.js} +16 -16
  7. package/dist/assets/AccountRow-CpftykFx-DRMa7L7I.js +298 -0
  8. package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-C-Pd028T.js → AccountsPromoCardStack-D7xvgmOH-L4LUQiMM.js} +28 -28
  9. package/dist/assets/AddAddressForCardDrawer-vecchYEf-Dm_7GZaw.js +6 -0
  10. package/dist/assets/{AddToWalletPage-CyRfqVDB-qKY-OwRf.js → AddToWalletPage-zJy9QCjx-BhPNLvBn.js} +13 -13
  11. package/dist/assets/AddressRoutes-CN9yzNia.js +1 -0
  12. package/dist/assets/AddressScreen-DawlCEed.js +9 -0
  13. package/dist/assets/AgingReportsPage-wAvQb1d8-BNi2RWcU.js +79 -0
  14. package/dist/assets/AiCfoScreen-gLF8Y46q.js +11 -0
  15. package/dist/assets/AllUserItems-DEv_CXOA-BczB69YE.js +192 -0
  16. package/dist/assets/ApAgingDetailPage-BOV1WFVF-DjxtNuTC.js +46 -0
  17. package/dist/assets/{AppBasePage-CqDm-hnV-CPv5pyhL.js → AppBasePage-DMlomvFS-DAPyVzw3.js} +16 -16
  18. package/dist/assets/AppDrawerContent-Dc2sHnR3-DkcYif08.js +92 -0
  19. package/dist/assets/ApprovalRulesSettingsPage-BnbPSy4U-BkoyF3U2.js +47 -0
  20. package/dist/assets/ArAgingChart-m-Xp3HAW-2E3yf3w6.js +24 -0
  21. package/dist/assets/ArAgingDetailPage-b_NpDpWj-D8K0oGBL.js +46 -0
  22. package/dist/assets/{AttachmentView-CzC4skJ3-9WHG58G4.js → AttachmentView-DB_V1qT1-YRFnSBmh.js} +7 -7
  23. package/dist/assets/{BankAccountSection-Di4sF52j-DrSj0XXO.js → BankAccountSection-BabhrBM7-BRSx6sCU.js} +5 -5
  24. package/dist/assets/BankAccountWarningSection-yT2UAd12-hc4ZMuSF.js +51 -0
  25. package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-CFZ_2GOy.js → BankConnectionsSettingsPage-CbxXykMM-BcHLkw6J.js} +14 -14
  26. package/dist/assets/BillDetailPage-7TMkWo3V-D6W3VN4G.js +266 -0
  27. package/dist/assets/{BillPayApprovalRoutes-BmuSeG_D.js → BillPayApprovalRoutes-DPHRxesZ.js} +1 -1
  28. package/dist/assets/BillPayApprovalRuleDetailPage-COyDRpaF-CLsNCUw0.js +27 -0
  29. package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-lT3PW8bQ.js → BillPayApprovalRulesPage-9pxkgFAT-DlJyrfvK.js} +5 -5
  30. package/dist/assets/{BillPayPromoPage-DOE2YIqC-CKwELSu-.js → BillPayPromoPage-AGffhbY3-DpLl9nyC.js} +10 -10
  31. package/dist/assets/{BillPayRoutes-C3UXklWn.js → BillPayRoutes-JOylN2BD.js} +13 -13
  32. package/dist/assets/BillPaySetUpPage-Cs5rkWBu-BP5ujh9A.js +42 -0
  33. package/dist/assets/{BillingSettingsPage-iImtlEmO-BW--jBw3.js → BillingSettingsPage-CQ117tT9-TA2HK-aX.js} +10 -10
  34. package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-DpWN7a3R.js → BillsBulkReviewDrawerPage-DRkGQQAe-DNA3NRzL.js} +1 -1
  35. package/dist/assets/{BoxItem-Bxa1M4QU-dUcjlF36.js → BoxItem-DRwx0M5a-D-Rn9DzO.js} +2 -2
  36. package/dist/assets/BusinessVerificationPage-1h0z3N9u-XjZx6gHS.js +138 -0
  37. package/dist/assets/BusinessVerificationPageScreen-sFaQye-W.js +9 -0
  38. package/dist/assets/BusyIndication-DizZe0Gu-Ui3yaqtY.js +9 -0
  39. package/dist/assets/{CardNumberSubText-_ZZbaz_k-DQXZlwGH.js → CardNumberSubText-DqtLT1w5-Bzgrrztr.js} +10 -10
  40. package/dist/assets/{CashbackDetailPage-DAZXitLt-DHuiCggG.js → CashbackDetailPage-ChdQcvkC-m-ebT8pi.js} +17 -17
  41. package/dist/assets/{ChargeCardDetailPage-B1VIpASk-DDp9chEw.js → ChargeCardDetailPage-DFOKlPNG-DQYHVV4_.js} +31 -31
  42. package/dist/assets/{ChargeCardListPage-BOBepN-x-CCDeCgkz.js → ChargeCardListPage-DhLUsUhd-CoIm3KwH.js} +19 -19
  43. package/dist/assets/ChargeCardListTable-DE72YU_i-DgEVI1AC.js +711 -0
  44. package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla--R4xqtT2.js → ChargeCardPaymentHistoryPage-CbGR18s--Df_3JGQc.js} +15 -15
  45. package/dist/assets/ChargeCardPromoPage-CPpNh89o-52aj5A04.js +222 -0
  46. package/dist/assets/{ChargeCardRoutes-Bv9hqdZo.js → ChargeCardRoutes-V_6E2iyX.js} +12 -12
  47. package/dist/assets/ChargeCardSetupPage-ITi25kUD-D__xDb9M.js +36 -0
  48. package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-aZT3JIEZ.js → ChargeCardStatementsPage-CTJc1BCc-CZlTL24v.js} +3 -3
  49. package/dist/assets/CheckDepositDrawerPage-BrzeSj-3-mEHRp2-B.js +206 -0
  50. package/dist/assets/CollapsableReportTable-CDEe9s_E-B6-yHAq0.js +2844 -0
  51. package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-NHMPrEUt.js → CompanyOfficerDetailsSection-BaPhFsLx-B_RPGIU9.js} +92 -92
  52. package/dist/assets/CompanyPassportCard-B9ymV6Az-jkfRIvZo.js +42 -0
  53. package/dist/assets/{CompanyPassportPage-FE6yli6h-DpU12PlJ.js → CompanyPassportPage-BQ68t7oK-IkltRNSS.js} +16 -16
  54. package/dist/assets/{CompanyPassportScreen-myO-14Tx.js → CompanyPassportScreen-dLVakYjm.js} +1 -1
  55. package/dist/assets/{CompleteProfile-Cb8i1XgZ-DxvSbQ10.js → CompleteProfile-C5n9b8gQ-CNOkIDDD.js} +1 -1
  56. package/dist/assets/ConfettiBurst-BizTW0hz-BB_7e0py.js +1 -0
  57. package/dist/assets/ConnectionAuthScreen-BOPjadvo.js +11 -0
  58. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-OjPt0E9I.js → ConstrainedInnerElement-BeIpAPjB-Cxh5xHax.js} +1 -1
  59. package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-3aKCwvlv.js → CreateOrEditVendorPage-BIfOA5Nr-AtyF4p8I.js} +19 -19
  60. package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-C8Sv6LkU.js → CreditCardPaymentDrawerPage-CCpS-31h-B6o-4EgY.js} +21 -21
  61. package/dist/assets/CurrencySelectField-KvKyemY6-rYSOJjSm.js +139 -0
  62. package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-jXI67T90.js → CustomerOnboardingActivationPage-6VlMI4oY-C5HWnW_e.js} +3 -3
  63. package/dist/assets/CustomerOnboardingAuthScreen-xza8qbxh.js +1 -0
  64. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-DbqRfwbf.js +1 -0
  65. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-By6QXlft.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-C4bWipAx.js} +9 -9
  66. package/dist/assets/CustomerOnboardingNoStepsPage-CWF_00EM-EPt0RonD.js +66 -0
  67. package/dist/assets/{CustomerOnboardingPage-B9hSO88_-WoQ55K0l.js → CustomerOnboardingPage-DkW66A-p-BsqCLn06.js} +8 -8
  68. package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-Dj7dtYI-.js → CustomerOnboardingProductSuitePage-Ba0yotpP-DIrnT1SJ.js} +10 -10
  69. package/dist/assets/CustomerOnboardingRoutes-yXJnudqI.js +23 -0
  70. package/dist/assets/{Dashboard-BJ_oIHab-CcR3gZ1R.js → Dashboard-bX3cWkmP-CJSja88C.js} +45 -45
  71. package/dist/assets/{DashboardReportPage-BemzMw2e-BivRzupC.js → DashboardReportPage-DuZ4d4CE-CEa_ZsnB.js} +39 -39
  72. package/dist/assets/DashboardRoutes-BcGPSKnY.js +21 -0
  73. package/dist/assets/DashboardSidebarBackgroundAnimation-UV2CZToG-Dar8E4GV.js +12 -0
  74. package/dist/assets/{DefaultTenantHome-BM2eKD4k.js → DefaultTenantHome-BeZ76hjE.js} +1 -1
  75. package/dist/assets/DepositAccTransactionItem-BY_OvuKg-CegBl9NF.js +76 -0
  76. package/dist/assets/DepositAccTransactionListPage-a__bpCOB-3CdtwLcn.js +66 -0
  77. package/dist/assets/DomesticWireDetailScreen-D5m_2Yo0.js +18 -0
  78. package/dist/assets/DomesticWireDetailsPage-BumMT4QM-BqgDBN3V.js +21 -0
  79. package/dist/assets/DownloadOverlay-DqiL3-FB-EoMZNE21.js +439 -0
  80. package/dist/assets/{DrawerPage-DesxXhZk-BSBqQ0E6.js → DrawerPage-CaG-xx5d-Cp5tt9QJ.js} +12 -12
  81. package/dist/assets/DrawerScreen-CTG5ybiX.js +1 -0
  82. package/dist/assets/EditPeoplePage-BcsdEp_d-D-PC_KrM.js +55 -0
  83. package/dist/assets/EditReimbursementDetailPage-DNUmwdsH-Bq2nc6vp.js +865 -0
  84. package/dist/assets/EntityDetailPage-DtX5TjBc-BPO5XePN.js +18 -0
  85. package/dist/assets/EntityDetailRoutes-B5R1QZWM.js +1 -0
  86. package/dist/assets/{EntitySummarySection-BwX0a4JL-DBtHTJw5.js → EntitySummarySection-LEA5m6mN-DSNa9_6d.js} +26 -26
  87. package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-EOTef8II.js → ExpenseAutomationOverviewPage-Dmhn7gfp-Bq4zhd1r.js} +50 -50
  88. package/dist/assets/ExpenseAutomationPage-B8C4BxoV-CRrIGE9L.js +2323 -0
  89. package/dist/assets/ExpenseAutomationRoutes-CQ8o1Ut2.js +20 -0
  90. package/dist/assets/{ExpressPayPage-EMP6inpX-ByDfOb19.js → ExpressPayPage-C-nqret2-DYj2m0J-.js} +12 -12
  91. package/dist/assets/{FeaturePreviewPage-SYJm-3aR-BN_q0ETO.js → FeaturePreviewPage-BHjUZ7s6-DFBfCFGy.js} +2 -2
  92. package/dist/assets/FeaturePreviewScreen-7DbZ3Lx9.js +1 -0
  93. package/dist/assets/{FollowStepsSection-BxESVqJD-D-o2E0Jp.js → FollowStepsSection-0eFMS0c5-CUs8ilzU.js} +11 -11
  94. package/dist/assets/GlobalReviewListPage-4eiopkzw-CbQC9oAb.js +291 -0
  95. package/dist/assets/{InformationCardStack-B_qQUEYD-Dxp2Ew45.js → InformationCardStack-C7XJCUlh-CelR5zDw.js} +1 -1
  96. package/dist/assets/InsightsCardStack-fBAbQwhK-DPzZunDi.js +79 -0
  97. package/dist/assets/InsightsSection-De9zu_me-DIydVhgU.js +27 -0
  98. package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-Ho7Qlw2p.js → IntegrationsSettingsPage-BD5jqAv8-hrz650GM.js} +5 -5
  99. package/dist/assets/InternationalWireSwiftDetailsPage-BftrE612-CtP2y88l.js +171 -0
  100. package/dist/assets/{InternationalWireVerificationPage-COC6lZml-CGJDlFxp.js → InternationalWireVerificationPage-CDf7equc-BXBU6F90.js} +10 -10
  101. package/dist/assets/{InviteFormPage-DN02jRy5-DHTLPGCE.js → InviteFormPage-E2igwKEh-wVoOBHVT.js} +7 -7
  102. package/dist/assets/{InvitePageListView-CP4K9tJi--rk4yubU.js → InvitePageListView-Cuq9dlgu-CIGWi2Uo.js} +75 -75
  103. package/dist/assets/InvitePeoplePage-Db4P4ZEq-DViNv_LG.js +12 -0
  104. package/dist/assets/InvoiceUploadSection-DYCjz9CI-6zrHw8Gx.js +140 -0
  105. package/dist/assets/{IssueChargeCardPage-CVfuvGey-DsE7CChF.js → IssueChargeCardPage-CK6fnO24-CgQfD7TJ.js} +23 -23
  106. package/dist/assets/{LabeledAddressValue-DDrQcHIE-7f3DV4Ir.js → LabeledAddressValue-Ma1WURjK-BQ7yXCyt.js} +2 -2
  107. package/dist/assets/LabeledAddressValueField-C6-hVsPb-2b15Jv_o.js +45 -0
  108. package/dist/assets/LabeledControlledCheckBoxField-CgZg0uOW-BjnMYuFb.js +16 -0
  109. package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-DFrMExfh.js → LabeledCountryMultiSelectField-sj8p7Rne-bfsTKOeq.js} +4 -4
  110. package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-uDdZESj4.js → LabeledCreatableSingleSelectField-DUTQh416-TJ_Bq1qn.js} +6 -6
  111. package/dist/assets/LabeledDocumentField-Bp9m-OrP-C4maUk83.js +41 -0
  112. package/dist/assets/{LabeledDropDownFormattedTextField-ScGGCap8-DS9Ia8KW.js → LabeledDropDownFormattedTextField-3-KekP79-2bA1-mcm.js} +4 -4
  113. package/dist/assets/{LabeledEmailInputField-BppuWRbl-CiTokODP.js → LabeledEmailInputField-BRJyFvVd-Bs2EgRoq.js} +11 -11
  114. package/dist/assets/{LabeledNameField-mxSNQk3k-plaK5ktD.js → LabeledNameField--saAep-_-GEbqq-XX.js} +5 -5
  115. package/dist/assets/{LabeledSingleSelectField-C6ctNzkA-jFhVySOx.js → LabeledSingleSelectField-Ul4tlTiO-C7eur4tW.js} +7 -7
  116. package/dist/assets/LabeledText-DvzVOku6-BIWW9LkN.js +42 -0
  117. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-C31niF0q.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-D3Nd6Mp3.js} +12 -12
  118. package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-HZcFXQuM.js → LabeledZeniRolesDropDownField-kWC0ShEy-B-6CgYA7.js} +25 -25
  119. package/dist/assets/{LinkJETransactionPage-CKq4oiX9-FlcdN5Cn.js → LinkJETransactionPage-WufhDGDQ-hOiRNbpI.js} +11 -11
  120. package/dist/assets/{LockCardPage-CZENNby7-DAN8QPfp.js → LockCardPage-BBIVLYVD-CWfnMAuT.js} +17 -17
  121. package/dist/assets/{LowBalancePopup-1727S1ri-DfD9U0P5.js → LowBalancePopup-ScEqPY9J-BDVRhmW5.js} +5 -5
  122. package/dist/assets/MagicLinkACHDetailsPage-C494txw0-C9zbj8xn.js +1 -0
  123. package/dist/assets/MagicLinkDomesticWireDetailsPage-CONBCbOQ-BTU1HWRn.js +1 -0
  124. package/dist/assets/MagicLinkInternationalWireDetailsPage-fSY3JGpz-DTKuj6lk.js +1 -0
  125. package/dist/assets/MagicLinkRoutes-CBkc9ANU.js +72 -0
  126. package/dist/assets/MagicLinkSignInScreen-DVW3BRZl.js +12 -0
  127. package/dist/assets/{MagicLinkSuccessPage-QMkZgQLG-SmTRytlp.js → MagicLinkSuccessPage-BDRXSAO4-BPK2tnCV.js} +6 -6
  128. package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-Cc0bAwCn.js → MagicLinkTitleSection-ZnbKPIvJ-C4BiwnoA.js} +9 -9
  129. package/dist/assets/MailingDetailsSection-DZT7JPlI-B_BKxUqb.js +21 -0
  130. package/dist/assets/MobileAppDrawer-SRxQ4nyi.js +1 -0
  131. package/dist/assets/{MoreMenuButton-BsBKwXvk-B-OabREv.js → MoreMenuButton-CJue6xR9-DxdJkjEQ.js} +23 -23
  132. package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-sxo7GzB7.js → MyBankConnectionsSettingsPage-aQDVaEG1-CRobqj27.js} +7 -7
  133. package/dist/assets/{MyPendingActivationChargeCardListPage-CX38bDdq-BSRy7gxL.js → MyPendingActivationChargeCardListPage-BJrk56oA-CKxLYlt8.js} +1 -1
  134. package/dist/assets/{MyProfileSettingsPage-DYu0Fx6I-2xpkKTK_.js → MyProfileSettingsPage-L9WuP6HZ-DBau4C6u.js} +6 -6
  135. package/dist/assets/NavBarWithPicker-zmvBmWS1-Dq59pkcT.js +30 -0
  136. package/dist/assets/{NavigationArrow-CTNkKUtV-BOWAFzvJ.js → NavigationArrow-D26UG3p--CJBJ0QVX.js} +2 -2
  137. package/dist/assets/NavigationDots-Bv4tBDN3-C3q3rN5Z.js +15 -0
  138. package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-bzcY5fN6.js → NewGlobalMerchantPage-vOn2O6B9-Dn0MDdJM.js} +4 -4
  139. package/dist/assets/NoDataChart-CgT19fV7-BHysrTfh.js +26 -0
  140. package/dist/assets/{NoDataTable-4vPXmPYF-DNHPtvzK.js → NoDataTable-CPjJmo4s-Cw98-IiW.js} +1 -1
  141. package/dist/assets/{NotFoundPage-BLWPU1wU-sT7v4kMd.js → NotFoundPage-CP2i3FTm-bZ8NYti5.js} +6 -6
  142. package/dist/assets/NotFoundScreen-LuCzwVbP.js +1 -0
  143. package/dist/assets/NotificationRoutes-DAiqyeoY.js +1 -0
  144. package/dist/assets/{NotificationSettingsPage-CDiDLX3A-_aoQxT7d.js → NotificationSettingsPage-CT9Dnb03-avWp6uik.js} +16 -16
  145. package/dist/assets/NotificationsListConfig-Bn1zmx6b-D4fKYTYM.js +1 -0
  146. package/dist/assets/NotificationsPage-DDwdR_Jq-CoOhM2dl.js +685 -0
  147. package/dist/assets/OpExByVendorPage-DukFYlqO-DRlZ9cev.js +100 -0
  148. package/dist/assets/{OverlayContainerPage-BG9y5C0t-BzKAGxet.js → OverlayContainerPage-D4QU0p4o-tcmQyJCw.js} +1 -1
  149. package/dist/assets/PandLWithForecastPage-Bgflh9Om-CSmTsNHv.js +107 -0
  150. package/dist/assets/PandLWithForecastRoutes-C-17dXbC.js +1 -0
  151. package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-B9DSsC2j.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-BENOl58h.js} +7 -7
  152. package/dist/assets/PeoplePage-CDvKreQl-BHMfiaC4.js +720 -0
  153. package/dist/assets/PeopleRoutes-DkWBrchL.js +22 -0
  154. package/dist/assets/PerformanceRoutes-BfVGXw_c.js +1 -0
  155. package/dist/assets/{Preview-7kwKilUJ.js → Preview-B59RrC-D.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-C3M0ocdF-Bk6zo5Ng.js → ProductsCarousel-7R3cvGiS-DzOMZ0OK.js} +8 -8
  157. package/dist/assets/{PromoBaseCards-BOGJI2ws-C9Pe7t33.js → PromoBaseCards-DdCMZIc7-B4qYL3sb.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-CmpnnuzP-C7S2tuEZ.js → QBOConnectionDialog-Ca36jKz2-CdHpLyZs.js} +13 -13
  159. package/dist/assets/{QBOConnectionScreen-CBL_c_ZS.js → QBOConnectionScreen-CJqEVXmb.js} +22 -4
  160. package/dist/assets/{QBOSetupSection-DjnN9dgv-DuelT8Xn.js → QBOSetupSection-CzBfIVqR-DDJCICP1.js} +10 -10
  161. package/dist/assets/ReferralListScreen--Li0yAbv.js +5 -0
  162. package/dist/assets/ReimbursementApprovalRoutes-By0X6th0.js +1 -0
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D5NXjrO9-BrVg7MWi.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-BLIwxZQV.js} +4 -4
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CiFU9_Ue.js → ReimbursementApprovalRuleDetailScreen-BTqwtaaL.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-SkgewgOo.js → ReimbursementApprovalRulesPage-B48x1gPM-BostsSOa.js} +27 -27
  166. package/dist/assets/ReimbursementDetailPage-oIC9QEyF-BywJ2Ma5.js +314 -0
  167. package/dist/assets/{ReimbursementPromoPage-CyEgwqcf-SmbgqnUO.js → ReimbursementPromoPage-BKgsJieE-C8z1p7x-.js} +14 -14
  168. package/dist/assets/ReimbursementRoutes-CgHILlr6.js +13 -0
  169. package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-X6NMArZG.js → ReimbursementSetUpPage-B_c-ZgFT-CEFcuF5y.js} +5 -5
  170. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CeyGWbKR-DNjVjDW0.js +1 -0
  171. package/dist/assets/ReloadCard-DKGn1uxF-BoCqNia8.js +26 -0
  172. package/dist/assets/ReportTableViewSelector-CXDvZEbR-C7-vFnMM.js +150 -0
  173. package/dist/assets/ReportsPage-BoUyXSBC-Bpcr9t0g.js +121 -0
  174. package/dist/assets/ReportsRoutes-BiPwCg8q.js +1 -0
  175. package/dist/assets/{RevenueChart-DvyZ3aO7-Cq5-UpCu.js → RevenueChart-SvdhwBcE-Dxn52ow-.js} +12 -12
  176. package/dist/assets/ReviewDetailsPage-tT1l4R2r-RmP2wBK5.js +290 -0
  177. package/dist/assets/{ReviewOverlay-CxwoiOLC-D5lX05io.js → ReviewOverlay-BoM41t8W-CTSAEiQG.js} +7 -7
  178. package/dist/assets/RewardsRoutes-E5CnWJ-f.js +1 -0
  179. package/dist/assets/RoleWithToolTip-C8x5yXaK-Dmelwbqx.js +22 -0
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiL5Dozk-nJBgIa-D.js → ScheduleDetailsFixedAssetsPage-Bkp0mCOn-DSmZf7Qv.js} +8 -8
  181. package/dist/assets/ScheduleDetailsPage-Dg9rYJbn-DllnnP3n.js +37 -0
  182. package/dist/assets/ScheduleSequenceTable-J6Eja8XA-Du9cL0M5.js +324 -0
  183. package/dist/assets/ScreenRoutes-IRYzg1I8.js +2 -0
  184. package/dist/assets/{SetUpAccountSection-CctbMmoK-dkot7n04.js → SetUpAccountSection-sfIB1h4i-5Qx4_bh2.js} +15 -15
  185. package/dist/assets/{SettingsRoutes-B6iEqR3w.js → SettingsRoutes-DcfqDJnj.js} +7 -7
  186. package/dist/assets/{SetupPagesScreen-BnPwIkkt.js → SetupPagesScreen-CKIcjKt5.js} +6 -6
  187. package/dist/assets/{SignIn-CmgmnRm4-B0na7eQY.js → SignIn-Cu2nzuEC-Bp_oT71c.js} +75 -75
  188. package/dist/assets/SignInScreen-Ct79gq1E.js +1 -0
  189. package/dist/assets/SignOutScreen-CZ3i17sZ.js +9 -0
  190. package/dist/assets/SpendManagementListViewPage-9V9u1jPF-impkLVzs.js +134 -0
  191. package/dist/assets/SpendManagementPerTabPage-COvEPq7V-9dexPOGi.js +754 -0
  192. package/dist/assets/SpendManagementSection-dT-N4bSQ-zSvxEGhY.js +375 -0
  193. package/dist/assets/StatementItem-g5tfNBjV-TtkHAa_E.js +31 -0
  194. package/dist/assets/StatementsPage-DaFrVUeK-BKmugpaZ.js +58 -0
  195. package/dist/assets/{StatusSwitcher-Bv-ozN6U-quMddV-t.js → StatusSwitcher-CaoFw0cf-DekkCuBN.js} +1 -1
  196. package/dist/assets/{SubTabSwitcher-D7QeM6nb-BFMiA24p.js → SubTabSwitcher-zrkVj1aP-DzJ74MSf.js} +9 -9
  197. package/dist/assets/SuccessAnimation-oz7yQ6H3-CuxEvbYZ.js +13 -0
  198. package/dist/assets/{SummaryCard-C2qoTsAY-CaaNnBJl.js → SummaryCard-B9wqNSwM-CfbafqaP.js} +1 -1
  199. package/dist/assets/{TaskDetailPage-QMk4DTDK-D2hPuZdA.js → TaskDetailPage-044JwAvz-Dbz-j4Qe.js} +41 -41
  200. package/dist/assets/TaskListScreen-D2hgfbUK.js +9 -0
  201. package/dist/assets/TaskManagementPage-dAK9tl2b-VU_G-rkO.js +1063 -0
  202. package/dist/assets/TaskRoutes-JZtbl56L.js +9 -0
  203. package/dist/assets/TimeRangeSwitcher-r1TNqVRb-BuKa7qNu.js +64 -0
  204. package/dist/assets/TimeframeSwitcher-DHfHCTa4-BPyXAgbc.js +31 -0
  205. package/dist/assets/TimeframeSwitcherWithToggle-DvBvguRl-81Smo1q6.js +31 -0
  206. package/dist/assets/{TopExCard-Z1WabZ8c-CKf1GX94.js → TopExCard-BUjnGDUB-310z6unt.js} +6 -6
  207. package/dist/assets/{TopExDetailPage-CzHG4f9E-B4TmK8gG.js → TopExDetailPage-CNDkfc3u-BceOPcNG.js} +14 -14
  208. package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-Ci16gpvR.js → TransactionActivityLogPage-kSQqJVpX-D70Ebwxd.js} +9 -9
  209. package/dist/assets/TransactionDetailPage-f7vWtXWL-DszE4Lqv.js +903 -0
  210. package/dist/assets/TransactionDetailRoutes-TOpy1uKa.js +1 -0
  211. package/dist/assets/{TransactionDetailScreen-B-Yj_UhL.js → TransactionDetailScreen-Bl43zCpG.js} +2 -2
  212. package/dist/assets/TransactionList-3-mUZOsw-BQQrTUgt.js +153 -0
  213. package/dist/assets/{TransactionListBig-C5Sf5Xh--DbwL40CX.js → TransactionListBig-Bx_Rm9ho-KpaUS-0g.js} +20 -20
  214. package/dist/assets/TransactionListPage-q6x4_jni-BCTSngWR.js +35 -0
  215. package/dist/assets/{TransactionListRoutes-QxUiu8mw.js → TransactionListRoutes-CMLh_lHF.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-D_eszV6l.js → TransactionVendorDetailPage-MjSH5hfq-C0iHLHKf.js} +4 -4
  217. package/dist/assets/{TransferDrawerPage-BvKZ7vHF-BsH4I_GA.js → TransferDrawerPage-BayVa6po-DlkdYqMW.js} +32 -32
  218. package/dist/assets/TreasuryOverviewPage-CuqWmrO5-BZ_bPirD.js +708 -0
  219. package/dist/assets/{TreasuryPromoPage-CtTFvSQW-C3HG6vUb.js → TreasuryPromoPage-BCjz1EKX-DryQkob1.js} +26 -26
  220. package/dist/assets/TreasuryRoutes-Uv2Q4-px.js +45 -0
  221. package/dist/assets/{TreasuryStatementsPage-Catz8shX-DYVsQNkR.js → TreasuryStatementsPage-CGr00SXF-BI3wmSNl.js} +3 -3
  222. package/dist/assets/TreasuryTaxLetterPage-D9_qnlK4-BJVe4ICp.js +58 -0
  223. package/dist/assets/{TrendChart-Bnp4Pcdf-BEiDyalf.js → TrendChart-JTOG0a7B-DWRNXuz6.js} +2 -2
  224. package/dist/assets/TrendWithTransactions-CTJhTpAM-BLYcqVCK.js +116 -0
  225. package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-CRm0o4w4.js → UncategorizedAccountsMappingPage-TGKYpC5A-CSRo9cGj.js} +7 -7
  226. package/dist/assets/{UnitIntegrationPage-CTzme1te-Dnhdwg-S.js → UnitIntegrationPage-mt2IjA5X-HULL3VCR.js} +4 -4
  227. package/dist/assets/UploadAdditionalDocumentOverlay-DZfpwE5J-Cm7mweqJ.js +38 -0
  228. package/dist/assets/Vendor2FAPopup-DAOf5cJD-foKceGQ2.js +1 -0
  229. package/dist/assets/VendorACHDetailsPage-CCOupiSZ-aPYjuiNm.js +1 -0
  230. package/dist/assets/VendorDetailPage-DufNphGD-angvVXfL.js +257 -0
  231. package/dist/assets/VendorDomesticWireDetailsPage-BayV34Rt-dHdeqKnp.js +1 -0
  232. package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-COlhEhfI.js → VendorFiling1099EditablePage-CRnO7Ubw-C0qN_xq7.js} +16 -16
  233. package/dist/assets/VendorFirstReviewPage-DA0EL4RJ-CiwNSvUn.js +730 -0
  234. package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-B8BwDoGh.js → VendorInternationalWireDetailsPage-HUtNyn9Z-Ccax-820.js} +7 -7
  235. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DRVMUeXi-BDnM6T3H.js +1 -0
  236. package/dist/assets/{VendorsAccountsSection-CgSJu8wq-By2iaDf4.js → VendorsAccountsSection-D6Qa1zf9-OD2ANcpQ.js} +4 -4
  237. package/dist/assets/{VendorsRoutes-Bih_aLlI.js → VendorsRoutes-BTXTUssE.js} +21 -21
  238. package/dist/assets/VerifyDevice-B6B_nk3v-BfzLjpGJ.js +112 -0
  239. package/dist/assets/VideoPlayer-BRAgZThr-Bcaasp-U.js +77 -0
  240. package/dist/assets/{VideoPopup-BqvZ-XIh-C4S2l4Qt.js → VideoPopup-C_SkBI9U-xDIm2hVu.js} +2 -2
  241. package/dist/assets/WiseConfirmationScreen-DSWFe61l.js +12 -0
  242. package/dist/assets/ZeniAccountDetailPage-Dp-eo-Vq-DUr2L7qz.js +300 -0
  243. package/dist/assets/ZeniAccountListViewPage-S-XmAYqD-CGRw402N.js +441 -0
  244. package/dist/assets/ZeniAccountNavBarPieces-DhjBxfEr-obkuSya3.js +14 -0
  245. package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-pQRwMLaX.js → ZeniAccountPromoPage-BgYCHYLO-B5ynGf7u.js} +24 -24
  246. package/dist/assets/ZeniAccountRoutes-ZzewLkL8.js +58 -0
  247. package/dist/assets/{ZeniAccountSetupPage-TKBfbgzJ-PLHUlE4Q.js → ZeniAccountSetupPage-CvnIMdcY-BIOUi-Do.js} +4 -4
  248. package/dist/assets/ZeniAccountStatementScreen-8454IT-f.js +9 -0
  249. package/dist/assets/{ZeniAvatar-Bzhq25CU-DDubJB3t.js → ZeniAvatar-CwHVUcMc-BJ8AyUay.js} +3 -3
  250. package/dist/assets/{ZeniCopyright-DglqrTpl-0ipdHCKB.js → ZeniCopyright-BlLvlGZV-PtfyMNGF.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-BHXPxPnI-jqtqgUDK.js → ZeniDatePicker-DCurorsW-jSixMxUp.js} +5 -5
  252. package/dist/assets/ZeniTransferAmountSlider-BNYgPwHs-BLgZWrKb.js +63 -0
  253. package/dist/assets/{accountMappingHelper-dpnZZ5LV.js → accountMappingHelper-S5pr6xme.js} +1 -1
  254. package/dist/assets/{add-to-wallet-DgdBD8_G-Bm_Y0yNs.js → add-to-wallet-DgdBD8_G-BxcaFQ_E.js} +1 -1
  255. package/dist/assets/{analytics-CkXlMwul.js → analytics-BZz0SPy3.js} +1 -1
  256. package/dist/assets/{analyticsHelper-CgnSazAa.js → analyticsHelper-CRAJfei1.js} +1 -1
  257. package/dist/assets/{analyticsHelper-CAYdbjhS-CriW5LYb.js → analyticsHelper-CYr5V2MV-D47W16kx.js} +1 -1
  258. package/dist/assets/{arrow-south-east-round-PEovUgvH-BOEOiatb.js → arrow-south-east-round-PEovUgvH-CyfpwaWH.js} +1 -1
  259. package/dist/assets/{auto-transfer-rule-mbafm5D3-TAKOnqtH.js → auto-transfer-rule-mbafm5D3-Dm3PoOP-.js} +1 -1
  260. package/dist/assets/{avatar-Dz7aEm3d-Gywr7K0t.js → avatar-Dz7aEm3d-B59e782o.js} +1 -1
  261. package/dist/assets/{calculateSize-B2w5JPEU-mwJnN95U.js → calculateSize-Bn1NnCzV-CbPGQ475.js} +1 -1
  262. package/dist/assets/{chartTypes-CD3vrBsI-CvW9Chyr.js → chartTypes-40RenddT-C7uxWjgM.js} +1 -1
  263. package/dist/assets/{clock-CJkylEKt-COoJTe6x.js → clock-CJkylEKt-DGRbc2He.js} +1 -1
  264. package/dist/assets/common-DEB71I4X-BRhAN_mv.js +1 -0
  265. package/dist/assets/commonDimensions-BMnB1-xU-CcNkFk9x.js +1 -0
  266. package/dist/assets/{commonTypes-5tEXwrX4-DyDjh_w6.js → commonTypes-DsWS6Ccc-DgEYQkuk.js} +1 -1
  267. package/dist/assets/{core-C_Me9Mw3.js → core-BSWMBnrJ.js} +38 -3
  268. package/dist/assets/{dash.all.min-Bp2m9Ydo.js → dash.all.min-ByV77lf8.js} +1 -1
  269. package/dist/assets/{decodeURIComponentSafe-ZgCb2Iy4.js → decodeURIComponentSafe-B2RLRrdt.js} +1 -1
  270. package/dist/assets/detailCommon-CrcyqWtZ-s9USgEEF.js +38 -0
  271. package/dist/assets/{dnd-BRZ99wCN.js → dnd-DJrh3JTW.js} +1 -1
  272. package/dist/assets/{dollar-round-D18u7nlm-B1-gS13v.js → dollar-round-D18u7nlm-qWQy8tOr.js} +1 -1
  273. package/dist/assets/downloadPdf-CUUx8PWn-Z4ddkC82.js +1 -0
  274. package/dist/assets/{empty-DHCuSR9N.js → empty-BcmJSfoQ.js} +1 -1
  275. package/dist/assets/{index-3k8vVfR8.js → empty-Ink6PjPr.js} +1 -1
  276. package/dist/assets/epic-C8YaW2BC.js +2 -0
  277. package/dist/assets/{filter-cZIFUNvj-D8Km46fj.js → filter-cZIFUNvj-CBGTjKNF.js} +1 -1
  278. package/dist/assets/getLocaleForTenant-CeTv0_64.js +1 -0
  279. package/dist/assets/{gift-box-Cmt9OgIZ-Caqrj8S3.js → gift-box-Cmt9OgIZ-Dw9Bntj7.js} +1 -1
  280. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DcLpxdkP.js → graphic-no-data-l-DU4J8fDt-hCWvJzzH.js} +1 -1
  281. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-CHRRaCEh.js → graphic-no-data-net-burn-l-CzmycA0m-DLhWQ7Y3.js} +1 -1
  282. package/dist/assets/{handshake-BPg58FML-CZMITs4k.js → handshake-BPg58FML-DcpKXQqd.js} +1 -1
  283. package/dist/assets/{helper-Ckm10Uko-B3ENCgge.js → helper-BMiMbXMj-BqD7TDgt.js} +2 -2
  284. package/dist/assets/{hyperlink-DQyCeXx2-gaj5d9Ss.js → hyperlink-DQyCeXx2-DgnccV5_.js} +1 -1
  285. package/dist/assets/{index-CUMBQ0kS.js → index-4TmfhDJk.js} +8 -2
  286. package/dist/assets/{index-SxFZwWsO.js → index-B5VyyyEM.js} +1 -1
  287. package/dist/assets/{index-B2upy5zm.js → index-B9LViB8R.js} +1 -1
  288. package/dist/assets/index-ByhS5XEB.js +1 -0
  289. package/dist/assets/index-De4FUH-D.js +1 -0
  290. package/dist/assets/{index-C-nTPjDF.js → index-T6cemxxv.js} +4300 -4238
  291. package/dist/assets/{lexical-itr5JGCy.js → lexical-CdVAcKo7.js} +1 -1
  292. package/dist/assets/{liveblocks-WO1k1bbB.js → liveblocks--WiFaeN0.js} +8 -3
  293. package/dist/assets/{lottie-DyM2Y4mu.js → lottie-DOxhyevU.js} +1 -1
  294. package/dist/assets/mapLoadingInProgressToTreeNode-DGnyXKBT-5SZShw59.js +1 -0
  295. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-DDmSwPfi.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-8acLvja0.js} +1 -1
  296. package/dist/assets/mapSpacerToTreeNode-CvGdU9Ma-BRhv3XRJ.js +1 -0
  297. package/dist/assets/mapTimeframeBalancesToTreeNode-BCOsOvxo-BW4YLdJu.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-DIqYP3NK-BuwKfIYt.js +1 -0
  299. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-u2sPQG8-.js +1 -0
  300. package/dist/assets/{media-player-CF7xBLjT.js → media-player-2gWGctcr.js} +2 -2
  301. package/dist/assets/{money-2cg1MuG4-G-AmTEM-.js → money-2cg1MuG4-ZZWEE1BS.js} +1 -1
  302. package/dist/assets/{mui-BOwjqiG-.js → mui-GaW5Gk_e.js} +1 -1
  303. package/dist/assets/{page-detail-CWX5S47F-apfmAYex.js → page-detail-CWX5S47F-KCA2hl3j.js} +1 -1
  304. package/dist/assets/{page-summary-D7_VQHwN-BnBlbKgB.js → page-summary-D7_VQHwN-C4mva4td.js} +1 -1
  305. package/dist/assets/panelSelectedMixin-CzfD5-Zs-DWsrfnbc.js +4 -0
  306. package/dist/assets/{pathToGoBack-HOzfv7dJ.js → pathToGoBack-C0wXThmF.js} +1 -1
  307. package/dist/assets/{pdf-BrZAvZ1o.js → pdf-DWoGjGSw.js} +4 -4
  308. package/dist/assets/{pdf-lib-i0Zp6hBX.js → pdf-lib-CU3tv6Hj.js} +1 -1
  309. package/dist/assets/{plaid-CyY87P8r.js → plaid-CNcdZ4gc.js} +1 -1
  310. package/dist/assets/{pusher-BNpOKQkJ.js → pusher-_Mkhq734.js} +1 -1
  311. package/dist/assets/{radio-default-CiSgisfh-Ca1mizvg.js → radio-default-CiSgisfh-CkW2sMb1.js} +1 -1
  312. package/dist/assets/react-BO8sqwy5.js +37 -0
  313. package/dist/assets/{react-BX_gWWIU.js → react-C4isuCpp.js} +12 -2
  314. package/dist/assets/{react-DhXnYBTa.js → react-CKfk9tDS.js} +12 -2
  315. package/dist/assets/{react-Duxg__b3.js → react-CNYdj_E0.js} +12 -2
  316. package/dist/assets/{react-CCEU-gQt.js → react-COkkiwUG.js} +12 -2
  317. package/dist/assets/{react-D2mjxCly.js → react-CgpHxMDb.js} +12 -2
  318. package/dist/assets/{react-l1PGvjrb.js → react-DnPZ1Xhy.js} +13 -3
  319. package/dist/assets/{react-BGvBjcei.js → react-XuqF4K_l.js} +12 -2
  320. package/dist/assets/{recharts-B22vzlMp.js → recharts-BQ8VH5gX.js} +1 -1
  321. package/dist/assets/{routePaths-DWpG5fXY.js → routePaths-BCoYK2N6.js} +1 -1
  322. package/dist/assets/{sentry-Dd2vHz0L.js → sentry-BoIfGJBF.js} +1 -1
  323. package/dist/assets/{shield-DOlUxcFf-CgU6m3s0.js → shield-DOlUxcFf-C_2cYUuc.js} +1 -1
  324. package/dist/assets/{spend-limit-D6SyboD4-vqGyghnL.js → spend-limit-D6SyboD4-D6KSyTVe.js} +1 -1
  325. package/dist/assets/toCOABalancesWithID-DkMGvlEt-R8kfnDme.js +1 -0
  326. package/dist/assets/toChartData-C6s-eBzE-hyCfo1sK.js +1 -0
  327. package/dist/assets/{transaction-placeholder-CpOwZAMG-DdciVPZG.js → transaction-placeholder-CpOwZAMG-DpSw-x8s.js} +1 -1
  328. package/dist/assets/{undo-b_3XZ5CX-DR3nJT2M.js → undo-b_3XZ5CX-CsWxipxr.js} +1 -1
  329. package/dist/assets/{unlock-BPWn2I5L-1yegyXps.js → unlock-BPWn2I5L-C7FVhrTq.js} +1 -1
  330. package/dist/assets/{uploadAttachment-Ck4wivBR-Cq_QQznk.js → uploadAttachment-BlLqRIXe-CWI7Q5hT.js} +29 -29
  331. package/dist/assets/{uploadReceipts-CIgkuVpu-CvG-u27y.js → uploadReceipts-Dge0cNF1-CQe0GGy5.js} +1 -1
  332. package/dist/assets/{url-BDW7KPoG.js → url-BGCwBSI6.js} +1 -1
  333. package/dist/assets/{url-DB9sjAVf.js → url-uuiUYH_k.js} +1 -1
  334. package/dist/assets/{useDeviceId-sqx37YoD.js → useDeviceId-0-eUuQR6.js} +1 -1
  335. package/dist/assets/useInitialThreadRequest-c5K33_u9.js +1 -0
  336. package/dist/assets/{useLongPress-GCK2COYQ-C_AhMW7V.js → useLongPress-GCK2COYQ-CkGyzLnK.js} +1 -1
  337. package/dist/assets/{usp-line-BBd1wKwW-iHFFix1h.js → usp-line-BBd1wKwW-BDy8G8EG.js} +1 -1
  338. package/dist/assets/{utils-CInzYuJw.js → utils-BGRwbgi2.js} +20 -7
  339. package/dist/assets/withTransactionSidePanel-BYXSUWst.js +8 -0
  340. package/dist/assets/zeni-epic-state-BtVcBgvu.js +122 -0
  341. package/dist/assets/{zeni-icon-only--k3HSUel.js → zeni-icon-only-BOcJS42c.js} +1 -1
  342. package/dist/index.html +1 -1
  343. package/dist/service-worker.js +8 -16
  344. package/package.json +4 -4
  345. package/dist/assets/AccountInfoPage-Cd5xYT1g-Ai_0FLE3.js +0 -18
  346. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DkOvC174.js +0 -149
  347. package/dist/assets/AccountRow-D1cjRJJD-BMyrgPuA.js +0 -298
  348. package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-DcB1j4vY.js +0 -6
  349. package/dist/assets/AddressRoutes-BtKujLBV.js +0 -1
  350. package/dist/assets/AddressScreen-C2pdVITK.js +0 -9
  351. package/dist/assets/AgingReportsPage-xBFff3BM-qv6H7lp3.js +0 -79
  352. package/dist/assets/AiCfoScreen-CS7LOF-g.js +0 -11
  353. package/dist/assets/AllUserItems-BJf6WPDo-BM8-bXR0.js +0 -192
  354. package/dist/assets/ApAgingDetailPage-CjBrPyi8-Cp4IdB_e.js +0 -46
  355. package/dist/assets/AppDrawerContent-CVVWj66i-B2ZBo3py.js +0 -92
  356. package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-Dpozweq8.js +0 -47
  357. package/dist/assets/ArAgingChart-CBsqOd-4-B5F9H9K-.js +0 -24
  358. package/dist/assets/ArAgingDetailPage-i7JObt60-Fc_EOjuD.js +0 -46
  359. package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-DfnZIkVc.js +0 -38
  360. package/dist/assets/BankAccountWarningSection-Cled-2cR-Cw7HtoK0.js +0 -51
  361. package/dist/assets/BillDetailPage-XXOwBfO1-CJELKaQK.js +0 -266
  362. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-B4s_RfTN.js +0 -27
  363. package/dist/assets/BillPaySetUpPage-BCJbZDsV-DcKA47B8.js +0 -42
  364. package/dist/assets/BusinessVerificationPage-DSuJFoW1-CS7pQP2Z.js +0 -138
  365. package/dist/assets/BusinessVerificationPageScreen-B2ubg6bo.js +0 -9
  366. package/dist/assets/BusyIndication-9zDqSKBP-ChOc_zhb.js +0 -9
  367. package/dist/assets/ChargeCardListTable-YznzSsJo-CtUoYDrk.js +0 -711
  368. package/dist/assets/ChargeCardPromoPage-DIfakIOK-DfvCk3tp.js +0 -222
  369. package/dist/assets/ChargeCardSetupPage-0bpVkeJs-Df1sOrZm.js +0 -36
  370. package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-B2ArvDGb.js +0 -206
  371. package/dist/assets/CollapsableReportTable-DNfFkAts-Dc4f25sP.js +0 -2982
  372. package/dist/assets/CompanyPassportCard-CkzYFTrp-v_Yi1D3S.js +0 -42
  373. package/dist/assets/ConfettiBurst-BZCXEGYA-C3NYdom7.js +0 -1
  374. package/dist/assets/ConnectionAuthScreen-BJLM2bFw.js +0 -11
  375. package/dist/assets/CurrencySelectField-BAh7SHrG-ZI7IxMyb.js +0 -139
  376. package/dist/assets/CustomerOnboardingAuthScreen-BvfQ6Bly.js +0 -1
  377. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-mCuydIQY.js +0 -1
  378. package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-3DxoMDqE.js +0 -66
  379. package/dist/assets/CustomerOnboardingRoutes-DXDqjA2k.js +0 -23
  380. package/dist/assets/DashboardRoutes-DN0OxjOX.js +0 -21
  381. package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-Xyr-RGrR.js +0 -12
  382. package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BTaaJjC4.js +0 -76
  383. package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-3p6ZbDz1.js +0 -66
  384. package/dist/assets/DomesticWireDetailScreen-BwhlL4tC.js +0 -18
  385. package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-CMQw3On6.js +0 -21
  386. package/dist/assets/DownloadOverlay-D_lL1sPW-CZPsN-JO.js +0 -439
  387. package/dist/assets/DrawerScreen-DafCGXWd.js +0 -1
  388. package/dist/assets/EditPeoplePage-QvPy_Six-CR3o2wGZ.js +0 -55
  389. package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-jLfpxCgG.js +0 -865
  390. package/dist/assets/EntityDetailPage-l7nXIsyF-BKeztON8.js +0 -18
  391. package/dist/assets/EntityDetailRoutes-BON-ncUX.js +0 -1
  392. package/dist/assets/ExpenseAutomationPage-DA22Qofw-I7XV9QD1.js +0 -3614
  393. package/dist/assets/ExpenseAutomationRoutes-CveEotWX.js +0 -20
  394. package/dist/assets/FeaturePreviewScreen-DQcCElpb.js +0 -1
  395. package/dist/assets/GlobalReviewListPage-D5_ACa-q-D1KBOMbn.js +0 -291
  396. package/dist/assets/InsightsCardStack-BsQzoVzj-hf0eh54W.js +0 -79
  397. package/dist/assets/InsightsSection-B6CNlTNH-CeDe9GJf.js +0 -27
  398. package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-BRGKMiE5.js +0 -171
  399. package/dist/assets/InvitePeoplePage-VTM6kM1u-BfjLud0v.js +0 -12
  400. package/dist/assets/InvoiceUploadSection-it-ZYl1N-u-Ok--50.js +0 -140
  401. package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DQJWYcjN.js +0 -45
  402. package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-BMfkV-71.js +0 -16
  403. package/dist/assets/LabeledDocumentField-C_bcFxdY-B4Wto7A4.js +0 -41
  404. package/dist/assets/LabeledText-C8Y7EOsX-_3NO_Gw0.js +0 -42
  405. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-CqwSWs_b.js +0 -1
  406. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-BhZpjuNN.js +0 -1
  407. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BiZ2NpqK.js +0 -1
  408. package/dist/assets/MagicLinkRoutes-D2admDSA.js +0 -72
  409. package/dist/assets/MagicLinkSignInScreen-Ct1R8j_F.js +0 -12
  410. package/dist/assets/MailingDetailsSection-ByOPaJ05-B05tb0k3.js +0 -21
  411. package/dist/assets/MobileAppDrawer-C3iQUfEm.js +0 -1
  412. package/dist/assets/NavBarWithPicker-CGGEvLwe-De1uupkf.js +0 -30
  413. package/dist/assets/NavigationDots-Dvce3gHt-BdG8xiHP.js +0 -15
  414. package/dist/assets/NoDataChart-CrKeqWSr-BgjE0oDl.js +0 -26
  415. package/dist/assets/NotFoundScreen-BqSwug0q.js +0 -1
  416. package/dist/assets/NotificationRoutes-DJ7czIvh.js +0 -1
  417. package/dist/assets/NotificationsListConfig-B5pDa4cJ-FC6OqnHW.js +0 -1
  418. package/dist/assets/NotificationsPage-Ccl7Dny1-CqJX9kkt.js +0 -685
  419. package/dist/assets/OpExByVendorPage-spd-nKV4-DVRHWB5n.js +0 -100
  420. package/dist/assets/PandLWithForecastPage-TSoe4Z7F-BCBJHX7k.js +0 -123
  421. package/dist/assets/PandLWithForecastRoutes-BP0LFlHk.js +0 -1
  422. package/dist/assets/PeoplePage-b5_I0qOw-0ggO8pCY.js +0 -772
  423. package/dist/assets/PeopleRoutes-DY3VOBfU.js +0 -22
  424. package/dist/assets/PerformanceRoutes-Bbocm9pp.js +0 -1
  425. package/dist/assets/ReferralListScreen-DlI85iPs.js +0 -5
  426. package/dist/assets/ReimbursementApprovalRoutes-CxEK4FbL.js +0 -1
  427. package/dist/assets/ReimbursementDetailPage-BbyxE2uL-C9YPslYM.js +0 -314
  428. package/dist/assets/ReimbursementRoutes-j6vN9fxC.js +0 -13
  429. package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-BK0-Ltoq.js +0 -1
  430. package/dist/assets/ReloadCard-Bdoo0XiI-c_bctmsP.js +0 -26
  431. package/dist/assets/ReportTableViewSelector-Bc1K7mU_-NWopA-LT.js +0 -151
  432. package/dist/assets/ReportsPage-BOTHMLWh-DzPOeISi.js +0 -269
  433. package/dist/assets/ReportsRoutes-uLdNywov.js +0 -1
  434. package/dist/assets/ReviewDetailsPage-BIMg1n2e-paoxwJM_.js +0 -290
  435. package/dist/assets/RewardsRoutes-DGFLjNEy.js +0 -1
  436. package/dist/assets/RoleWithToolTip-Ct3_VuDM-mN0zapH2.js +0 -22
  437. package/dist/assets/ScheduleDetailsPage-5FWpLRtd-4Q1Vsr07.js +0 -37
  438. package/dist/assets/ScheduleSequenceTable-R3-PsXES-B0y3giRJ.js +0 -326
  439. package/dist/assets/ScreenRoutes-DEwLetNK.js +0 -2
  440. package/dist/assets/SignInScreen-DeVXckwv.js +0 -1
  441. package/dist/assets/SignOutScreen-Cdtz7yJy.js +0 -9
  442. package/dist/assets/SpendManagementListViewPage-CFUxCqkU-DX09eRyT.js +0 -134
  443. package/dist/assets/SpendManagementPerTabPage-C-kqNTci-D-FlbY8m.js +0 -754
  444. package/dist/assets/SpendManagementSection-CIz4nE_w-jzb-dw8b.js +0 -375
  445. package/dist/assets/StatementItem-vVtoBN2w-DLRHPtma.js +0 -31
  446. package/dist/assets/StatementsPage-As5WOnMR-DbPIrOc7.js +0 -58
  447. package/dist/assets/SuccessAnimation-hijccO_0-BqkqT4v4.js +0 -13
  448. package/dist/assets/TaskListScreen-C4D7gvsM.js +0 -9
  449. package/dist/assets/TaskManagementPage-BJwp32Ph-THnLzgmA.js +0 -1067
  450. package/dist/assets/TaskRoutes-JhaoisDP.js +0 -9
  451. package/dist/assets/TimeRangeSwitcher-D00bDDhP-DCNS2OFM.js +0 -64
  452. package/dist/assets/TimeframeSwitcher-DA99HdHt-BcrVnS01.js +0 -31
  453. package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-Bh7uACpy.js +0 -53
  454. package/dist/assets/TransactionDetailPage-1-mLOWSz-DfnCUdxX.js +0 -903
  455. package/dist/assets/TransactionDetailRoutes-Q2XWLHIy.js +0 -1
  456. package/dist/assets/TransactionList-BB-xoIGm-BSpWh9dC.js +0 -153
  457. package/dist/assets/TransactionListPage-Cj7h1Ros-Pq-a-5tQ.js +0 -35
  458. package/dist/assets/TreasuryOverviewPage-DwvjMR4_-WTn3yo79.js +0 -725
  459. package/dist/assets/TreasuryRoutes-BSNm8ukU.js +0 -45
  460. package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-CFbhhHa6.js +0 -58
  461. package/dist/assets/TrendWithTransactions-3D1FvM8G-BaOlWQi6.js +0 -116
  462. package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-SaNef-9h.js +0 -38
  463. package/dist/assets/Vendor2FAPopup-D0zYKkIv-C8gaYTWa.js +0 -1
  464. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-DiTm9Ff5.js +0 -1
  465. package/dist/assets/VendorDetailPage-Br9wIOnI-UzHXbr7R.js +0 -257
  466. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-cmrtzlCJ.js +0 -1
  467. package/dist/assets/VendorFirstReviewPage-BbknTCBD-CFkeR-vJ.js +0 -730
  468. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-B29B7nyw.js +0 -1
  469. package/dist/assets/VerifyDevice-Dvf0JsNN-BoMtboD9.js +0 -112
  470. package/dist/assets/VideoPlayer-VAzOGCDL-DK8XBhcD.js +0 -77
  471. package/dist/assets/WiseConfirmationScreen-CQr6ZXBs.js +0 -12
  472. package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-jRcxdfCk.js +0 -300
  473. package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-B_Bfz13h.js +0 -443
  474. package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-DX590vcc.js +0 -33
  475. package/dist/assets/ZeniAccountRoutes-ChcgZrUL.js +0 -58
  476. package/dist/assets/ZeniAccountStatementScreen-CnphzAy3.js +0 -9
  477. package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-SPoOR9Qx.js +0 -63
  478. package/dist/assets/bank-letter-BOcVjN6J-Dkoy6rTp.js +0 -1
  479. package/dist/assets/common-BpxEACHl-HdN5Sbj2.js +0 -1
  480. package/dist/assets/commonDimensions-Oz1tdAcx-DG9eYXSN.js +0 -1
  481. package/dist/assets/downloadPdf-Dsuxeias-CaRLShge.js +0 -1
  482. package/dist/assets/empty-DHQ-fT1Z.js +0 -1
  483. package/dist/assets/epic-Bvkh2Xun.js +0 -2
  484. package/dist/assets/getLocaleForTenant-DSHteTEt.js +0 -1
  485. package/dist/assets/index-BuqfI2Vr.js +0 -1
  486. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-bVioMH0m.js +0 -1
  487. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-COcUQ0p-.js +0 -1
  488. package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-9SqRPSs3.js +0 -1
  489. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-5ej1SpjB.js +0 -1
  490. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-8hGqXIxp.js +0 -1
  491. package/dist/assets/panelSelectedMixin-Cddsb26L-Cvi1pi7-.js +0 -3
  492. package/dist/assets/react-C4vvP0Jv.js +0 -19
  493. package/dist/assets/toCOABalancesWithID-aLNB35t7-CE6_d7nv.js +0 -1
  494. package/dist/assets/toChartData-DUL6vnzJ-CEwEqfdb.js +0 -1
  495. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-C8EH3odl.js +0 -1
  496. package/dist/assets/useInitialThreadRequest-BVrIa_dM.js +0 -1
  497. package/dist/assets/withTransactionSidePanel-hI4VijtT.js +0 -8
  498. package/dist/assets/zeni-epic-state-ChDcaYf9.js +0 -14
@@ -0,0 +1,2844 @@
1
+ import{ae as N,b9 as xe,a4 as q,V as t,an as Ei,a6 as y,cD as Ri,o as s,e as te,a7 as On,J as I,Q as Nn,z as Hi,cE as Mn,cF as Ki,O as M,u as S,cG as Et,bx as Rt,cH as Ht,b as G,cj as Kt,t as go,_ as ot,cI as ze,bb as K,f as Yi,y as le,ad as O,aj as po,cJ as xo,k as Me,cK as Ui,cL as ae,bw as Yt,bm as In,x as qi,W as be,cM as it,cN as Ie,cO as ht,s as v,bB as oe,cP as fo,cQ as Zi,j as Ut,cR as Ke,cS as Wn,cT as Pn,cU as Ji,cV as Qi,at as mo,aq as Xi,bT as qt,bS as Zt,cW as er,ar as wo,bW as yo,be as tr,cX as nr,cY as Fn,cZ as zn,c_ as or,c$ as ir,bg as rr,b6 as ar,d0 as lr}from"./index-T6cemxxv.js";import{n as a,c as T}from"./mui-GaW5Gk_e.js";import{a as z,b as cr}from"./sentry-BoIfGJBF.js";import{Eu as Jt,E_ as Qt,E$ as Te,F0 as Xt,F1 as en,F2 as tn,F3 as nn,F4 as bo,F5 as sr,EH as _t,Ev as Le,ck as Tn,bt as ko,F6 as jo,F7 as dr,cp as hr,EI as So}from"./zeni-epic-state-BtVcBgvu.js";import{N as nt,D as ur,R as gr,B as ke,u as L}from"./AccountRow-CpftykFx-DRMa7L7I.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]="6c2a97ef-0ea7-40a9-a91d-6305b43c9195",e._sentryDebugIdIdentifier="sentry-dbid-6c2a97ef-0ea7-40a9-a91d-6305b43c9195")}catch{}})();const vt=[N.graphColor34,N.graphColor08,N.graphColor11,N.graphColor13,N.graphColor19,N.graphColor20,N.graphColor14,N.graphColor35,N.graphColor32,N.graphColor02,N.graphColor06,N.graphColor04,N.graphColor10,N.graphColor12,N.graphColor15,N.graphColor18];function on(e,n=0){const o=(i=>{const r=String.prototype.concat(...new Set(i));let l=0;for(let c=0;c<r.length;++c)l+=r.charCodeAt(c);return l})(e)+n*n*n;return vt[Math.floor(o/vt.length)%vt.length]}function J(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return q("0,0",e?.balance)}function Q(e){return q("0,0",e?.forecast)}function Co(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.totalPercentValue)}return q("0,0",e?.totalBalance)}function Nt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return xe("0.00%",e.forecastPercentValue)}return q("0,0",e?.totalForecast)}function ce(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return xe("0.00%",Math.floor(100*n)/100)}return xe("0.00%",void 0)}function se(e){if(e!=null&&e.forecast!=null){const n=Math.floor(100*(e.balance.amount-e.forecast.amount)/100);return q("0,0",Object.assign({},e.forecast,{amount:n}))}return q("0,0",null)}function _o(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return xe("0.00%",Math.floor(100*n)/100)}return xe("0.00%",void 0)}function vo(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor(100*(e.totalBalance.amount-e.totalForecast.amount)/100);return q("0,0",Object.assign({},e.totalForecast,{amount:n}))}return q("0,0",null)}const Ve=(e,n,o)=>{const{startDate:i,balanceType:r}=n,{dateFormat:{visual:l}}=M.getLocalizedStrings();switch(o){case"month":return r==="default"||r==="default_with_percent"?`${_t(i,l.MMMYYYYFormat,e)}`:$t(r,o);case"quarter":return r==="default"||r==="default_with_percent"?`${M.getLocalizedStrings().reports.quarterPrefix}${_t(i,l.QYYYYformat,e)}`:$t(r,o);case"year":return r==="default"||r==="default_with_percent"?`${_t(i,l.YYYYformat,e)}`:$t(r,o);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function $t(e,n){return M.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const Ug=(e,n,o)=>{const i=n.length==0?e:`${e}_${n.join("_")}`;return o!=null&&o.trim().length>0?`${i}_${o}`:`${i}_${Ri(10)}`},pr=a.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ width: 100%;
5
+ height: ${e=>e.heightValue}px;
6
+ justify-content: flex-start;
7
+ align-items: center;
8
+ padding-right: ${L.wrapperPadding}px;
9
+ `,xr=a.div`
10
+ cursor: default;
11
+ user-select: none;
12
+ display: flex;
13
+ flex: 1 1 auto;
14
+ flex-flow: row;
15
+ justify-content: flex-start;
16
+ align-items: center;
17
+ `,fr=a.div`
18
+ display: flex;
19
+ justify-content: flex-start;
20
+ align-items: center;
21
+ gap: ${s.sp2};
22
+ width: ${L.leftHeadingWidth}px;
23
+ `,mr=a.div`
24
+ display: flex;
25
+ flex: 1 1 auto;
26
+ justify-content: flex-end;
27
+ align-items: center;
28
+ gap: ${s.sp4};
29
+ `,wr=a(oe)`
30
+ width: ${L.bankBalanceWidth}px;
31
+ min-width: ${L.bankBalanceWidth}px;
32
+ text-align: right;
33
+ `,yr=a(oe)`
34
+ width: ${L.clearedBalanceWidth}px;
35
+ min-width: ${L.clearedBalanceWidth}px;
36
+ text-align: right;
37
+ `,br=a(oe)`
38
+ width: ${L.statusWidth}px;
39
+ min-width: ${L.statusWidth}px;
40
+ `,kr=a.div`
41
+ display: flex;
42
+ flex-shrink: 0;
43
+ gap: ${s.sp3};
44
+ width: ${L.varianceWidth}px;
45
+ min-width: ${L.varianceWidth}px;
46
+ flex-direction: row;
47
+ justify-content: flex-end;
48
+ align-items: center;
49
+ text-align: center;
50
+ `,jr=a.div`
51
+ width: ${L.variancePercentageWidth}px;
52
+ min-width: ${L.variancePercentageWidth}px;
53
+ text-align: right;
54
+ margin-right: ${s.sp2};
55
+ `,Sr=a.div`
56
+ display: flex;
57
+ justify-content: center;
58
+ align-items: center;
59
+ `,Cr=a.div`
60
+ display: flex;
61
+ justify-content: center;
62
+ align-items: center;
63
+ `;function _r({height:e}){const n=I();return t.jsx(pr,{heightValue:e,windowSize:n,children:t.jsxs(xr,{children:[t.jsxs(fr,{children:[t.jsx(Sr,{children:t.jsx(ae,{isLoading:!0,customStyle:{height:s.sp4,maxWidth:s.sp4,width:s.sp4,borderRadius:"50%"},children:t.jsx(t.Fragment,{})})}),t.jsx(Cr,{children:t.jsx(ae,{isLoading:!0,customStyle:{height:s.sp4,width:L.leftLabelWidth},children:t.jsx(t.Fragment,{})})})]}),t.jsxs(mr,{children:[t.jsx(wr,{children:t.jsx(ae,{isLoading:!0,position:"right",customStyle:{height:s.sp4,width:L.bankBalanceWidth},children:t.jsx(t.Fragment,{})})}),t.jsx(yr,{children:t.jsx(ae,{isLoading:!0,position:"right",customStyle:{height:s.sp4,width:L.clearedBalanceWidth},children:t.jsx(t.Fragment,{})})}),t.jsxs(kr,{children:[t.jsx(ae,{isLoading:!0,position:"right",customStyle:{height:s.sp4,width:L.varianceNumberWidth},children:t.jsx(t.Fragment,{})}),t.jsx(jr,{children:t.jsx(ae,{isLoading:!0,customStyle:{height:s.sp4,width:L.variancePercentageWidth},children:t.jsx(t.Fragment,{})})})]}),t.jsx(br,{children:t.jsx(ae,{isLoading:!0,customStyle:{height:s.sp4,width:L.statusWidth},children:t.jsx(t.Fragment,{})})})]})]})})}const vr=a.div`
64
+ display: flex;
65
+ flex-direction: row;
66
+ height: ${e=>e.heightValue}px;
67
+ padding-right: ${L.wrapperPadding}px;
68
+ `;function $r({height:e}){return t.jsx(vr,{heightValue:e})}const Lr=a.div`
69
+ user-select: none;
70
+ display: flex;
71
+ width: 100%;
72
+ height: ${e=>e.height}px;
73
+ background-color: ${e=>e.bgColor?.hex()};
74
+ flex-direction: column;
75
+ padding-right: ${L.wrapperPadding}px;
76
+ `,Br=a.div`
77
+ flex: 1 1 auto;
78
+ display: flex;
79
+ align-items: center;
80
+ height: ${s.sp8};
81
+ justify-content: flex-start;
82
+ align-items: center;
83
+ `,Ar=a.div`
84
+ display: flex;
85
+ flex-direction: row;
86
+ justify-content: flex-end;
87
+ width: ${L.leftHeadingWidth}px;
88
+ `,Or=a.div`
89
+ display: flex;
90
+ flex: 1 1 auto;
91
+ flex-direction: row;
92
+ justify-content: flex-end;
93
+ `,Nr=a(wo)`
94
+ user-select: none;
95
+ color: ${e=>e.theme.colors.primary};
96
+ width: ${L.leftTimeframeWidth}px;
97
+ min-width: ${L.leftTimeframeWidth}px;
98
+ flex: 1 1 auto;
99
+ `,Mr=a(v)`
100
+ user-select: none;
101
+ `,Ir=a.div`
102
+ max-height: ${s.sp8};
103
+ min-height: ${s.sp8};
104
+ min-width: ${e=>e.widthValue}px;
105
+ max-width: ${e=>e.widthValue}px;
106
+ display: flex;
107
+ justify-content: center;
108
+ align-items: center;
109
+ background-color: ${e=>e.theme.colors.background};
110
+ border: 1px solid ${e=>e.theme.colors.grey3};
111
+ border-radius: ${s.sp2};
112
+ color: ${e=>e.theme.colors.primary};
113
+ margin-right: ${e=>e.marginRight===!0?s.sp2:s.sp0};
114
+ `,Wr=a.div`
115
+ width: ${L.bankBalanceWidth}px;
116
+ `,Pr=a.div`
117
+ width: ${L.bankBalanceRightTimeframeWidth}px;
118
+ `,Fr=a.div`
119
+ width: ${L.clearedBalanceWidth}px;
120
+ margin-right: ${L.tickLeftMargin}px;
121
+ `,zr=a.div`
122
+ width: ${L.varianceTimeframeWidth}px;
123
+ align-self: flex-end;
124
+ `,Tr=a.div`
125
+ width: ${L.spacerLineWidth}px;
126
+ `,Vr=a.div`
127
+ width: ${L.statusWidth}px;
128
+ `,Ye=({title:e,type:n})=>t.jsx(Ir,{widthValue:L[n],children:t.jsx(Mr,{children:e})});function Dr({sectionTitle:e,height:n,isLoading:o}){const i=M.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(Lr,{height:n,children:t.jsxs(Br,{children:[t.jsx(Ar,{children:t.jsx(ae,{isLoading:o,customStyle:{height:s.sp4,width:L.leftLabelWidth},children:t.jsx(Nr,{"data-testid":y("account-recon-section-title",e),children:e})})}),t.jsxs(Or,{children:[t.jsx(Wr,{children:t.jsx(ae,{isLoading:o,customStyle:{height:s.sp7,width:L.bankBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Ye,{title:i.bankBalance,type:"bankBalanceTimeframeWidth"})})}),t.jsx(Pr,{}),t.jsx(Fr,{children:t.jsx(ae,{isLoading:o,customStyle:{height:s.sp7,width:L.clearedBalanceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Ye,{title:i.clearedBalance,type:"clearedBalanceTimeframeWidth"})})}),t.jsx(zr,{children:t.jsx(ae,{isLoading:o,customStyle:{height:s.sp7,width:L.varianceTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Ye,{title:i.variance,type:"varianceTimeframeWidth"})})}),t.jsx(Tr,{}),t.jsx(Vr,{children:t.jsx(ae,{isLoading:o,customStyle:{height:s.sp7,width:L.statusTimeframeWidth,borderRadius:s.sp2},children:t.jsx(Ye,{title:i.status,type:"statusTimeframeWidth"})})})]})]})})}const Gr=a.div`
129
+ display: flex;
130
+ flex-direction: row;
131
+ height: ${e=>e.heightValue}px;
132
+ align-items: center;
133
+ padding-right: ${L.wrapperPadding}px;
134
+ `,Er=a(wo)`
135
+ user-select: none;
136
+ color: ${e=>e.theme.colors.primary};
137
+ `;function Rr({height:e,title:n}){return t.jsx(Gr,{heightValue:e,children:t.jsx(Er,{"data-testid":y("account-recon-section-title",n),children:n})})}const Hr=a.div`
138
+ display: flex;
139
+ flex: 1 1 auto;
140
+ width: 100%;
141
+ height: ${e=>e.heightValue}px;
142
+ justify-content: flex-start;
143
+ align-items: center;
144
+ padding-right: ${L.wrapperPadding}px;
145
+ `,Kr=a.div`
146
+ cursor: default;
147
+ user-select: none;
148
+ display: flex;
149
+ flex: 1 1 auto;
150
+ flex-flow: row;
151
+ justify-content: flex-start;
152
+ align-items: center;
153
+ color: ${e=>e.theme.colors.primary};
154
+ `,Yr=a.div`
155
+ display: flex;
156
+ flex: 1 1 auto;
157
+ justify-content: flex-start;
158
+ align-items: center;
159
+ gap: ${s.sp2};
160
+ `,Ur=a(oe)`
161
+ user-select: none;
162
+ clear: both;
163
+ display: inline-block;
164
+ overflow: hidden;
165
+ white-space: nowrap;
166
+ text-overflow: ellipsis;
167
+ text-align: left;
168
+ color: ${e=>e.theme.colors.primary};
169
+ width: ${L.leftLabelWidth}px;
170
+ min-width: ${L.leftLabelWidth}px;
171
+ `,qr=a.div`
172
+ display: flex;
173
+ flex: 1 1 auto;
174
+ justify-content: flex-end;
175
+ align-items: center;
176
+ `,Zr=a(oe)`
177
+ width: ${L.bankBalanceWidth}px;
178
+ min-width: ${L.bankBalanceWidth}px;
179
+ text-align: right;
180
+ `,Jr=a(oe)`
181
+ width: ${L.clearedBalanceWidth}px;
182
+ min-width: ${L.clearedBalanceWidth}px;
183
+ text-align: right;
184
+ margin-left: ${L.tickLeftMargin}px;
185
+ `,Qr=a(oe)`
186
+ width: ${L.statusWidth}px;
187
+ min-width: ${L.statusWidth}px;
188
+ height: 1px;
189
+ `,Xr=a.div`
190
+ display: flex;
191
+ flex-direction: row;
192
+ min-width: ${L.spacerLineWidth}px;
193
+ width: ${L.spacerLineWidth}px;
194
+ align-items: center;
195
+ `,ea=a.div`
196
+ width: 1px;
197
+ margin-left: ${s.sp3};
198
+ height: ${e=>e.heightValue}px;
199
+ background-color: ${e=>e.theme.colors.grey3};
200
+ `,ta=a.div`
201
+ display: flex;
202
+ flex-shrink: 0;
203
+ width: ${L.varianceTimeframeWidth}px;
204
+ min-width: ${L.varianceTimeframeWidth}px;
205
+ flex-direction: row;
206
+ justify-content: flex-end;
207
+ align-items: center;
208
+ text-align: center;
209
+ margin-left: ${L.tickLeftMargin}px;
210
+ `,na=a(oe)`
211
+ border-radius: ${s.sp1};
212
+ color: ${e=>e.textColor.hex()};
213
+ min-width: ${L.varianceNumberWidth}px;
214
+ text-align: right;
215
+ margin-right: ${s.sp2};
216
+ `,oa=a(oe)`
217
+ border-radius: ${s.sp1};
218
+ padding: ${s.sp0} ${s.sp1};
219
+ justify-content: center;
220
+ text-align: center;
221
+ color: ${e=>e.textColor.hex()};
222
+ background-color: ${e=>e.bgColor.hex()};
223
+ min-width: ${L.variancePercentageWidth}px;
224
+ `,{expenseAutomation:{accountRecon:{reconciliation:{headers:Vn}}},common:{strings:{percentage:ia,hyphen:rt}}}=M.getLocalizedStrings();function ra({height:e,sectionData:n}){const o=I(),i=n.totalVariance,r=n.totalVariancePercentage,l=le();return t.jsx(Hr,{"data-testid":y("total-row-root-container"),heightValue:e,windowSize:o,children:t.jsxs(Kr,{isClickable:!1,"data-testid":y("total-row-container"),children:[t.jsxs(Yr,{children:[t.jsx(ke,{firstLetter:Vn.section[n.sectionId].subTitle.charAt(0),color:new O(l.colors.primary),showIcon:!1,showCollapsedIcon:!1}),t.jsx(Ur,{children:Vn.section[n.sectionId].subTitle})]}),t.jsxs(qr,{children:[t.jsx(Zr,{children:n.totalBankBalance!=null?q("0,0",n.totalBankBalance):rt}),t.jsx(Jr,{children:n.totalClearedBalance!=null?q("0,0",n.totalClearedBalance):rt}),t.jsx(aa,{variance:i,variancePercentage:r}),t.jsx(Xr,{children:t.jsx(ea,{heightValue:e})}),t.jsx(Qr,{})]})]})})}const aa=({variance:e,variancePercentage:n})=>{const o=le(),i=new O(o.colors.hero),r=new O(o.colors.hero),l=new O(o.colors.background),c=e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${ia}`:rt;return t.jsxs(ta,{children:[t.jsx(na,{textColor:i,children:e!=null?q("0,0",e):rt}),t.jsx(oa,{textColor:r,bgColor:l,children:c})]})},j={balanceHeight:s.sp4,balanceHeightInPx:S[4],balanceWidth:"166px",balanceWidthInPx:166,loadingBalanceWidthInPx:128,smallLoadingBalanceWidthInPx:98,balanceLeftMargin:s.sp4,balanceLeftMarginInPx:S[4],titleWidth:new G(200,325,405),loadingInProgressStickySectionWidth:385,get loadingInProgressScrollableSectionWidth(){return`calc(100% - ${this.loadingInProgressStickySectionWidth}px)`},loadingInProgressLargeStickyColumnWidth:194,loadingInProgressSmallStickyColumnWidth:128},ge=e=>{switch(e){case"name+balances_actual":case"name+balances_forecast":case"name_only":return!0}},me=e=>{switch(e){case"name+balances_actual":case"name+balances_forecast":return!0;case"name_only":return!1}},$o={emptyLeftContainer:new G(S[0],S[5])},la=a(v)`
225
+ margin-left: ${e=>e.hasChildren||e.depth===0?s.sp2:s.sp3};
226
+ overflow: hidden;
227
+ white-space: nowrap;
228
+ text-overflow: ellipsis;
229
+ width: ${e=>j.titleWidth.value(e.windowSize)-45*(e.depth+1)}px;
230
+ `,ca=a.div`
231
+ display: flex;
232
+ height: ${s.sp6};
233
+ align-items: center;
234
+ `,sa=a.div`
235
+ display: flex;
236
+ height: ${s.sp6};
237
+ align-items: center;
238
+ `,da=a.div`
239
+ height: ${s.sp6};
240
+ width: ${s.sp3};
241
+ `,ha=a.div`
242
+ width: 14px;
243
+ height: ${s.sp1};
244
+ `,ua=a.div`
245
+ width: ${s.sp2};
246
+ height: ${s.sp1};
247
+ `,Lo=a.div`
248
+ width: ${e=>$o.emptyLeftContainer.valuePx(e.windowSize)};
249
+ height: ${s.sp1};
250
+ `,We=a.div`
251
+ display: flex;
252
+ `,ga=({ancestorMetadata:e,depth:n,name:o})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(i=>{const r=e[i];return t.jsxs(We,{children:[r.depth===0?t.jsx(Pn,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ie,{},i):t.jsx(ht,{}):null,r.depth>=1?t.jsx(Pn,{depth:r.depth}):null]},o+i)}):null}),Bo=({ancestorMetadata:e,depth:n,name:o})=>{const i=I();return n===0?e[n].hasChildren===!1?t.jsx(Lo,{windowSize:i}):t.jsxs(We,{children:[t.jsx(Ke,{depth:n}),t.jsx(Ie,{}),t.jsx(Ke,{depth:n+1})]}):t.jsxs(t.Fragment,{children:[[...Array(n+1).keys()].map(r=>{const l=e[r],c=r!==n?e[r+1]:void 0;return t.jsxs(We,{children:[l.depth===0?t.jsx(Ke,{depth:l.depth}):null,r>=2||r===1&&(n===r?l.hasChildren===!0:c!=null&&!c.isLastNode)?n===1?t.jsx(Wn,{index:1}):t.jsx(Wn,{index:2}):null,(n===r?l.hasChildren!==!0:c==null||c.isLastNode)?t.jsx(ht,{}):t.jsx(Ie,{},r),t.jsx(Ke,{depth:l.depth+1})]},o+r)}),n===1&&e[n].hasChildren!=1?t.jsx(ua,{}):null]})},Ao=({ancestorMetadata:e,depth:n,name:o})=>n===0?t.jsx(ha,{}):t.jsx(t.Fragment,{children:[...Array(n).keys()].map(i=>{const r=e[i],l=i!==n?e[i+1]:void 0;return t.jsxs(We,{children:[r!=null&&r.depth===0?t.jsx(it,{depth:r.depth}):null,l==null||l.isLastNode?t.jsx(ht,{}):t.jsx(Ie,{},i),t.jsx(it,{depth:r!=null?r.depth+1:0})]},o+i)})}),pa=({ancestorMetadata:e,depth:n,name:o})=>t.jsx(t.Fragment,{children:n>0?[...Array(n).keys()].map(i=>{const r=e[i];return r==null?null:t.jsxs(We,{children:[r.depth===0?t.jsx(it,{depth:r.depth}):null,r.depth>=1?r.hasSibling&&!r.isLastNode?t.jsx(Ie,{},i):t.jsx(ht,{}):null,r.depth>=1?t.jsx(it,{depth:r.depth}):null]},o+i)}):null}),xa=({depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})=>{let d=t.jsx(da,{});return e===0&&r&&(d=t.jsx(nr,{collapsed:l,onIconClick:c})),e>0&&(r&&!i&&n&&(d=t.jsx(Fn,{collapsed:l,onIconClick:c})),o&&i&&n&&(d=t.jsx(zn,{})),o&&i&&!n&&(d=t.jsx(or,{})),r&&i&&!n&&(d=t.jsx(ir,{collapsed:l,onIconClick:c})),r&&i&&n&&(d=t.jsx(Fn,{collapsed:l,onIconClick:c})),n&&o&&(d=t.jsx(zn,{}))),d},fa=({depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})=>t.jsx(sa,{children:t.jsx(xa,{depth:e,isLastNode:n,isLeaf:o,hasSiblings:i,hasChildren:r,collapsed:l,onIconClick:c})});function Oo(e){const{displayName:n}=e;e.depth>4&&console.warn("cannot handle depth more than 4");const o=I();return t.jsxs(ca,{children:[e.classDepth!=null?t.jsx(Bo,{ancestorMetadata:e.classAnscestorMetadata??[],depth:e.classDepth,name:e.displayName}):e.noMarginForAccount===!1?t.jsx(Lo,{windowSize:o}):null,t.jsx(pa,{ancestorMetadata:e.subAccountAnscestorMetadata,depth:e.depth,name:e.displayName}),t.jsx(fa,{...e}),t.jsx(la,{onClick:()=>e.onNameClick?.(),hasChildren:e.hasChildren,depth:e.depth,windowSize:o,title:n,children:n})]})}const H={balanceHeight:s.sp4,balanceWidth:"166px",balanceLeftMargin:s.sp4,titleWidth:new G(200,325,405),nameLogoWidth:new G(S[4],S[4]),nameLogoHeight:new G(S[4],S[4])},Ue=[new G(S[4],S[8]),new G(44,76),new G(69,102),new G(93,124),new G(113,143)],ma=a.div`
253
+ display: flex;
254
+ flex: 1 1 auto;
255
+ max-height: 1px;
256
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
257
+ `,wa=a.div`
258
+ display: flex;
259
+ flex: 1 1 auto;
260
+ flex-flow: row;
261
+ justify-content: flex-start;
262
+ align-items: center;
263
+ `,ya=a.div`
264
+ display: flex;
265
+ flex-direction: row;
266
+ flex-shrink: 2;
267
+ flex-grow: 1;
268
+ align-items: center;
269
+ background-color: ${e=>e.theme.colors.grey4};
270
+ width: ${e=>H.titleWidth.valuePx(e.windowSize)};
271
+ max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
272
+ ${({isSticky:e})=>e?T`
273
+ position: -webkit-sticky;
274
+ position: sticky;
275
+ top: ${s.sp0};
276
+ left: ${s.sp0};
277
+ `:null}
278
+ `,ba=a.div`
279
+ width: ${e=>e.noMarginForEntity?Ue[e.nestingLevel].value(e.windowSize)-S[5]:Ue[e.nestingLevel].value(e.windowSize)}px;
280
+ max-width: ${e=>e.noMarginForEntity?Ue[e.nestingLevel].value(e.windowSize)-S[5]:Ue[e.nestingLevel].value(e.windowSize)}px;
281
+ height: 1px;
282
+ `,ka=a.div`
283
+ display: flex;
284
+ flex: 1 1 auto;
285
+ max-height: 1px;
286
+ height: 1px;
287
+ background-color: ${e=>e.isScrolling?"transparent":e.colour};
288
+ `,ja=a.div`
289
+ display: flex;
290
+ flex: 1 1 auto;
291
+ max-height: 1px;
292
+ height: 1px;
293
+ background-color: ${e=>e.isScrolling?"transparent":e.colour};
294
+ `,Dn=e=>{const n=I(),o=le();return t.jsxs(wa,{"data-testid":y("sub-entity-separator",e.isTotal?"subtotal_row_separator":"vendor_row_separator"),children:[t.jsxs(ya,{windowSize:n,isSticky:e.isSticky,"data-testid":y("sub-entity-name-container","vendor_row_separator"),children:[t.jsx(ba,{"data-testid":y("sub-entity-empty-container","vendor_row_separator"),nestingLevel:e.nestingLevel,noMarginForEntity:e.noMarginForEntity,windowSize:n}),t.jsx(ka,{"data-testid":y("sub-entity-name-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]}),t.jsx(ja,{"data-testid":y("sub-entity-remaining-seperator","vendor_row_separator"),isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]})};function Mt({kind:e,isScrolling:n,subEntityProps:o}){switch(e){case"vendor_row_separator":return t.jsx(Dn,{nestingLevel:o?.nestingLevel??0,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!1,noMarginForEntity:o?.noMarginForEntity??!0});case"end_row_separator":return t.jsx(ma,{"data-testid":y("end-row-separator",e),isScrolling:n});case"subtotal_row_separator":return t.jsx(Dn,{nestingLevel:o?.nestingLevel??1,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!0,noMarginForEntity:o?.noMarginForEntity??!1})}}const No=a.div`
295
+ display: flex;
296
+ flex: 1 1 auto;
297
+ width: fit-content;
298
+ min-width: 100%;
299
+ flex-direction: column;
300
+ height: ${e=>e.containerHeight}px;
301
+ background-color: ${e=>e.bgColor?.hex()};
302
+ `,Mo=a.div`
303
+ user-select: none;
304
+ display: flex;
305
+ flex: 1 1 auto;
306
+ flex-flow: row;
307
+ justify-content: flex-start;
308
+ align-items: center;
309
+ height: ${e=>e.containerHeight}px;
310
+ &:hover {
311
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
312
+ }
313
+ `,Io=a.div`
314
+ display: flex;
315
+ flex: 1 0 auto;
316
+ flex-direction: row;
317
+ justify-content: flex-end;
318
+ `,Wo=a.div`
319
+ display: flex;
320
+ flex-direction: row;
321
+ justify-content: flex-start;
322
+ `,Po=a(v)`
323
+ user-select: none;
324
+ min-width: ${H.balanceWidth};
325
+ max-width: ${H.balanceWidth};
326
+ text-align: right;
327
+ margin-left: ${H.balanceLeftMargin};
328
+ border: 1px solid transparent;
329
+ color: ${e=>e.theme.colors.hero};
330
+ cursor: ${e=>e.isClickable?"pointer":"default"};
331
+ &:hover {
332
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
333
+ }
334
+ `,Sa=a(v)`
335
+ user-select: none;
336
+ clear: both;
337
+ display: inline-block;
338
+ overflow: hidden;
339
+ white-space: nowrap;
340
+ text-overflow: ellipsis;
341
+ text-align: left;
342
+ margin-left: ${s.sp2};
343
+ `,Fo=a.div`
344
+ display: flex;
345
+ flex-direction: row;
346
+ flex-shrink: 2;
347
+ flex-grow: 1;
348
+ align-items: center;
349
+ height: ${e=>e.containerHeight}px;
350
+ width: ${e=>H.titleWidth.valuePx(e.windowSize)};
351
+ max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
352
+ background-color: ${e=>e.bgColor?.hex()};
353
+ ${({isSticky:e})=>e?T`
354
+ position: sticky;
355
+ top: ${s.sp0};
356
+ left: ${s.sp0};
357
+ `:null}
358
+ cursor: pointer;
359
+ color: ${e=>e.theme.colors.hero};
360
+ &:hover {
361
+ color: ${e=>e.theme.colors.primary};
362
+ }
363
+ `,zo=({balance:e,isOpen:n})=>{const o=n?e?.balance:e?.totalBalance;return t.jsx(Wo,{children:t.jsx(Po,{isClickable:!1,onClick:()=>null,children:q("0,0",o)})})},To=({total:e})=>t.jsx(Wo,{children:t.jsx(Po,{isClickable:!1,onClick:()=>null,children:q("0,0",e)})});function Ca({isSticky:e,height:n,isScrolling:o,isLastNode:i,balances:r,total:l,vendor:c,backgroundColor:d,onEntityNameClick:g}){const u=I(),p=c?.name??"";return t.jsxs(No,{"data-testid":y("ap-aging-report-row-root-container",p),containerHeight:n,bgColor:d,windowSize:u,children:[t.jsxs(Mo,{"data-testid":y("ap-aging-report-row-container",p),style:{cursor:"default"},isClickable:!1,containerHeight:n-1,children:[t.jsxs(Fo,{onClick:()=>c?.id!=null?g?.(c.id):void 0,isSticky:e,windowSize:u,bgColor:d,containerHeight:n-1,children:[c?.logo!=null?t.jsx(Ht,{photoUrl:c.logo.toString(),styles:{width:H.nameLogoWidth.valuePx(u),height:H.nameLogoHeight.valuePx(u)}}):t.jsx(Kt,{name:p??"",size:s.sp4}),t.jsx(Sa,{children:p})]}),t.jsxs(Io,{"data-testid":y("ap-aging-report-row-balances-container",p),children:[r.map(h=>t.jsx(zo,{balance:h,isOpen:!0},h?.period)),t.jsx(To,{total:l})]})]}),t.jsx(Vo,{isScrolling:o,isLastNode:i})]})}function _a({treeNodeId:e,isSticky:n,height:o,isScrolling:i,isLastNode:r,isOpen:l,balances:c,total:d,totalWithChildren:g,nestedCustomer:u,metadata:p,backgroundColor:h,onEntityNameClick:x,onClick:f}){const w=I(),m=p,b=u?.customer.name??"",k=u!=null?u.id.length-1:0,C=u?.hasSiblings??!1,_=u!=null&&u.children.length!==0,$=_,B=$?"pointer":"default",A=u!=null&&u.isLeafCustomer;return t.jsxs(No,{"data-testid":y("ar-aging-report-row-root-container",e),containerHeight:o,bgColor:h,windowSize:w,children:[t.jsxs(Mo,{"data-testid":y("ar-aging-report-row-container",e),style:{cursor:B},isClickable:$,containerHeight:o-1,children:[t.jsx(Fo,{"data-testid":y("ar-aging-report-row-name-container",e),isSticky:n,windowSize:w,bgColor:h,containerHeight:o-1,children:t.jsx(Oo,{displayName:b,depth:k,isLastNode:r,hasChildren:_,hasSiblings:C,isLeaf:A,collapsed:!l,subAccountAnscestorMetadata:m.vendorOrCustomerAncestorMetadata,classAnscestorMetadata:[],noMarginForAccount:!0,onIconClick:()=>{f?.(e)},onNameClick:()=>u?.id[0]!=null?x?.(u.id[0]):void 0})}),t.jsxs(Io,{children:[c.map(P=>t.jsx(zo,{balance:P,isOpen:l},P?.period)),t.jsx(To,{total:l?d:g})]})]}),t.jsx(Vo,{isScrolling:i,subEntityProps:{nestingLevel:k,isSticky:n,noMarginForEntity:!0}})]})}function Vo({isScrolling:e,isLastNode:n=!1,subEntityProps:o}){return n?t.jsx(Mt,{isScrolling:e,kind:"end_row_separator",subEntityProps:o}):t.jsx(Mt,{isScrolling:e,kind:"vendor_row_separator",subEntityProps:o})}const va=a.div`
364
+ user-select: none;
365
+ display: flex;
366
+ flex: 1 1 auto;
367
+ width: fit-content;
368
+ min-width: 100%;
369
+ height: ${e=>e.height}px;
370
+ flex-flow: row;
371
+ justify-content: flex-start;
372
+ align-items: center;
373
+ background-color: ${e=>e.bgColor?.hex()};
374
+ `,$a=a.div`
375
+ display: flex;
376
+ flex: 1 0 auto;
377
+ flex-direction: row;
378
+ justify-content: flex-end;
379
+ `,Do=a.div`
380
+ display: flex;
381
+ max-height: ${s.sp8};
382
+ min-height: ${s.sp8};
383
+ min-width: ${H.balanceWidth};
384
+ justify-content: center;
385
+ align-items: center;
386
+ background-color: ${e=>e.theme.colors.background};
387
+ border: 1px solid ${e=>e.theme.colors.grey3};
388
+ border-radius: ${s.sp2};
389
+ margin-left: ${H.balanceLeftMargin};
390
+ color: ${e=>e.theme.colors.primary};
391
+ `,Go=a(v)`
392
+ display: flex;
393
+ user-select: none;
394
+ flex-direction: row;
395
+ justify-content: center;
396
+ align-items: center;
397
+ height: ${H.balanceHeight};
398
+ max-width: ${H.balanceWidth};
399
+ width: 138px;
400
+ text-align: center;
401
+ column-gap: ${s.sp1};
402
+ color: ${e=>e.active===!0?e.theme.colors.primary:e.theme.colors.champion};
403
+ `,La=a.div`
404
+ max-height: ${s.sp8};
405
+ min-height: ${s.sp8};
406
+ display: flex;
407
+ flex-direction: row;
408
+ align-items: center;
409
+ min-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
410
+ color: ${e=>e.theme.colors.primary};
411
+ background-color: ${e=>e.bgColor?.hex()};
412
+ ${e=>e.isSticky?T`
413
+ position: -webkit-sticky;
414
+ position: sticky;
415
+ top: ${s.sp0};
416
+ left: ${s.sp0};
417
+ `:""}
418
+ `,Ba=a(v)`
419
+ display: flex;
420
+ align-items: center;
421
+ cursor: pointer;
422
+ column-gap: ${s.sp1};
423
+ color: ${e=>e.active===!0?e.theme.colors.primary:e.theme.colors.champion};
424
+ `,Eo=a.div`
425
+ max-height: ${s.sp8};
426
+ min-height: ${s.sp8};
427
+ cursor: pointer;
428
+ `,rn=a.div`
429
+ display: flex;
430
+ column-gap: ${s.sp1};
431
+ cursor: pointer;
432
+ align-items: center;
433
+ color: ${e=>e.selectedForSort?e.theme.colors.primary:e.theme.colors.hero};
434
+ `,Ro=a.div``,Ho=a(yo)`
435
+ width: 12px;
436
+ height: 12px;
437
+ cursor: pointer;
438
+ color: ${e=>e.theme.colors.hero};
439
+ `,an=a(Zt)`
440
+ width: 12px;
441
+ height: 12px;
442
+ `,ln=a(qt)`
443
+ width: 12px;
444
+ height: 12px;
445
+ `,Aa=({reportId:e,sortKey:n,sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=e==="accounts_payable_aging"?"vendor":"customer",l=n===r?o:"ascending";return t.jsxs(Ba,{active:n===r,"data-testid":y("duration-row-vendor-title",e),children:[r==="vendor"?M.getLocalizedStrings().reports.aging.apAging.vendor:M.getLocalizedStrings().reports.aging.arAging.customer,t.jsx(rn,{selectedForSort:n===r,children:t.jsx(Ro,{"data-testid":y("duration-row-vendor-sort-icon",e),onClick:()=>{i?.(cn(o),r)},children:l==="ascending"?t.jsx(ln,{}):t.jsx(an,{})})}),t.jsx(ot,{controller:n===r,children:t.jsx(Ho,{"data-testid":y("duration-row-vendor-sort-cancel-icon",e),onClick:()=>Ko({onSortOrderChanged:i})})})]})},Ko=({onSortOrderChanged:e})=>{e?.("descending","total")},Oa=({agingPeriod:e,sortKey:n="vendor",sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=n===e?o:"ascending";return t.jsx(Eo,{"data-testid":y("duration-row-tick-container",e),children:t.jsx(Do,{"data-testid":y("duration-row-tick-element-container",e),children:t.jsxs(Go,{active:n===e,"data-testid":y("duration-row-timeframe-tick",e),children:[M.getLocalizedStrings().reports.aging.duration[e],t.jsxs(rn,{selectedForSort:n===e,"data-testid":y("duration-row-sort-container",e),children:[t.jsx(Ro,{"data-testid":y("duration-row-sort-icon",e),onClick:()=>{i?.(cn(o),e)},children:r==="ascending"?t.jsx(ln,{}):t.jsx(an,{})}),t.jsx(ot,{controller:n===e,children:t.jsx(Ho,{"data-testid":y("duration-row-sort-cancel-icon",e),onClick:()=>Ko({onSortOrderChanged:i})})})]})]})})})},Yo=({reportId:e,sortKey:n,sortOrder:o="ascending",onSortOrderChanged:i})=>{const r=n==="total"?o:"ascending";return t.jsx(Eo,{"data-testid":y("duration-row-entity-total-tick-container",e),onClick:()=>{i?.(cn(o),"total")},children:t.jsx(Do,{"data-testid":y("duration-row-entity-total-tick-element-container",e),children:t.jsxs(Go,{active:n==="total","data-testid":y("duration-row-entity-total-timeframe-tick",e),children:[e==="accounts_payable_aging"?M.getLocalizedStrings().reports.aging.apAging.vendorTotalHeaderLabel:M.getLocalizedStrings().reports.aging.arAging.totalReceivable,t.jsx(rn,{selectedForSort:n==="total","data-testid":y("duration-row-entity-total-sort-container",e),children:r==="ascending"?t.jsx(ln,{}):t.jsx(an,{})})]})})})},Na=({reportId:e,agingPeriod:n,sortKey:o="vendor",sortOrder:i="ascending",onSortOrderChanged:r})=>n!=null?t.jsx(Oa,{sortKey:o,sortOrder:i,onSortOrderChanged:r,agingPeriod:n}):t.jsx(Yo,{reportId:e,sortKey:o,sortOrder:i,onSortOrderChanged:r});function Ma({reportId:e,isSticky:n,height:o,agingPeriods:i,sortKey:r,sortOrder:l,backgroundColor:c,onSortOrderChanged:d}){const g=I();return t.jsxs(va,{height:o,bgColor:c,"data-testid":y("duration-row-root-container",e),children:[t.jsx(La,{"data-testid":y("duration-row-placeholder-name",e),isSticky:n,windowSize:g,bgColor:c,children:t.jsx(Aa,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})}),t.jsxs($a,{children:[i.map(u=>t.jsx(Na,{reportId:e,agingPeriod:u,sortKey:r,sortOrder:l,onSortOrderChanged:d},u)),t.jsx(Yo,{reportId:e,sortKey:r,sortOrder:l,onSortOrderChanged:d})]})]})}const cn=e=>e==="ascending"?"descending":"ascending",Ia=[10,14,20,20,20],Wa=a.div`
446
+ display: flex;
447
+ flex: 1 1 auto;
448
+ width: fit-content;
449
+ min-width: 100%;
450
+ flex-direction: column;
451
+ height: ${e=>e.containerHeight}px;
452
+ background-color: ${e=>e.bgColor?.hex()};
453
+ `,Pa=a.div`
454
+ user-select: none;
455
+ display: flex;
456
+ flex: 1 1 auto;
457
+ flex-flow: row;
458
+ justify-content: flex-start;
459
+ align-items: center;
460
+ `,Fa=a.div`
461
+ display: flex;
462
+ flex: 1 0 auto;
463
+ flex-direction: row;
464
+ justify-content: flex-end;
465
+ `,Uo=a.div`
466
+ display: flex;
467
+ flex-direction: row;
468
+ justify-content: flex-start;
469
+ `,qo=a(v)`
470
+ user-select: none;
471
+ min-width: ${H.balanceWidth};
472
+ max-width: ${H.balanceWidth};
473
+ text-align: right;
474
+ margin-left: ${H.balanceLeftMargin};
475
+ color: ${e=>e.theme.colors.primary};
476
+ cursor: ${e=>e.isClickable?"pointer":"default"};
477
+ `,za=a.div`
478
+ display: flex;
479
+ flex-direction: row;
480
+ flex-shrink: 2;
481
+ flex-grow: 1;
482
+ align-items: center;
483
+ height: ${e=>e.containerHeight-1}px;
484
+ width: ${e=>H.titleWidth.valuePx(e.windowSize)};
485
+ max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
486
+ background-color: ${e=>e.bgColor?.hex()};
487
+ ${({isSticky:e})=>e?T`
488
+ position: sticky;
489
+ top: ${s.sp0};
490
+ left: ${s.sp0};
491
+ `:null}
492
+ `,Ta=a(v)`
493
+ user-select: none;
494
+ clear: both;
495
+ display: inline-block;
496
+ overflow: hidden;
497
+ white-space: nowrap;
498
+ text-overflow: ellipsis;
499
+ text-align: left;
500
+ margin-left: ${e=>Ia[e.depth]}px;
501
+ color: ${e=>e.theme.colors.primary};
502
+ width: ${e=>H.titleWidth.value(e.windowSize)-e.depth*S[11]}px;
503
+ `,Va=({balance:e})=>t.jsx(Uo,{children:t.jsx(qo,{isClickable:!1,onClick:()=>null,children:q("0,0",e?.totalBalance)})}),Da=({total:e})=>t.jsx(Uo,{children:t.jsx(qo,{isClickable:!1,onClick:()=>null,children:q("0,0",e)})});function Ga({backgroundColor:e,isSticky:n,height:o,noMarginForEntity:i,isScrolling:r,total:l,nestedCustomer:c,metadata:d}){const g=I(),{common:{strings:{empty:u}},reports:{sections:p}}=M.getLocalizedStrings(),h=c!=null?c.id.length-1:0,x=d,f=c?.customer.name??u;return t.jsxs(Wa,{"data-testid":"sub-customer-total-row-root-container",containerHeight:o,bgColor:e,children:[t.jsxs(Pa,{"data-testid":"sub-customer-total-row-container",children:[t.jsxs(za,{isSticky:n,windowSize:g,bgColor:e,containerHeight:o,children:[t.jsx(Ao,{ancestorMetadata:x.vendorOrCustomerAncestorMetadata,depth:h,name:f}),t.jsx(Ta,{isClickable:!1,title:f,depth:h,windowSize:g,children:p.totalPrefix+" "+f})]}),t.jsxs(Fa,{children:[c?.arAgingBalances.map((w,m)=>t.jsx(Va,{balance:w},m)),t.jsx(Da,{total:l})]})]}),t.jsx(Ea,{isScrolling:r,nestingLevel:h,isSticky:n,noMarginForEntity:i})]})}function Ea({isScrolling:e,nestingLevel:n,isSticky:o,noMarginForEntity:i}){return t.jsx(Mt,{isScrolling:e,kind:"subtotal_row_separator",subEntityProps:{nestingLevel:n,isSticky:o,noMarginForEntity:i}})}const re=e=>{switch(e){case"name+balances_actual":return!0;case"name+balances_forecast":case"name_only":return!1}},Pe=e=>{switch(e){case"name+balances_forecast":return!0;case"name+balances_actual":case"name_only":return!1}},Ra=a.div`
504
+ display: flex;
505
+ flex: 1 1 auto;
506
+ width: fit-content;
507
+ min-width: 100%;
508
+ flex-direction: column;
509
+ height: ${e=>e.height}px;
510
+ background-color: ${e=>e.bgColor?.hex()};
511
+ `,Ha=a.div`
512
+ cursor: default;
513
+ user-select: none;
514
+ display: flex;
515
+ flex: 1 1 auto;
516
+ flex-flow: row;
517
+ justify-content: flex-start;
518
+ align-items: center;
519
+ `,Ka=a.div`
520
+ display: flex;
521
+ flex: 1 0 auto;
522
+ flex-direction: row;
523
+ justify-content: flex-end;
524
+ `,Zo=a.div`
525
+ display: flex;
526
+ flex-direction: row;
527
+ justify-content: flex-start;
528
+ `,Jo=a(oe)`
529
+ user-select: none;
530
+ min-width: ${H.balanceWidth};
531
+ max-width: ${H.balanceWidth};
532
+ text-align: right;
533
+ margin-left: ${H.balanceLeftMargin};
534
+ color: ${e=>e.theme.colors.primary};
535
+ border: 1px solid transparent;
536
+ `,Ya=a.div`
537
+ display: flex;
538
+ flex-direction: row;
539
+ flex-shrink: 2;
540
+ flex-grow: 1;
541
+ align-items: center;
542
+ width: ${e=>H.titleWidth.valuePx(e.windowSize)};
543
+ max-width: ${e=>H.titleWidth.valuePx(e.windowSize)};
544
+ background-color: ${e=>e.bgColor?.hex()};
545
+ ${({isSticky:e,isIndented:n})=>e&&n?T`
546
+ position: -webkit-sticky;
547
+ position: sticky;
548
+ top: ${s.sp0};
549
+ left: ${s.sp4};
550
+ `:e&&!n?T`
551
+ position: -webkit-sticky;
552
+ position: sticky;
553
+ top: ${s.sp0};
554
+ left: ${s.sp0};
555
+ `:null}
556
+ `,Ua=a(oe)`
557
+ user-select: none;
558
+ clear: both;
559
+ display: inline-block;
560
+ overflow: hidden;
561
+ white-space: nowrap;
562
+ text-overflow: ellipsis;
563
+ text-align: left;
564
+ color: ${e=>e.theme.colors.primary};
565
+ `,qa=({type:e,balance:n})=>t.jsx(Zo,{children:re(e)===!0?t.jsx(Jo,{children:q("0,0",n?.balance)}):null}),Za=({type:e,balance:n})=>t.jsx(Zo,{children:re(e)===!0?t.jsx(Jo,{children:q("0,0",n)}):null});function Ja({type:e,isSticky:n,isIndented:o,height:i,title:r,totalBalances:l,backgroundColor:c}){const d=I(),g={amount:l.reduce((u,p)=>u+(p?.balance.amount??0),0),currencyCode:l[0]?.balance.currencyCode??Tn.currencyCode,currencySymbol:l[0]?.balance.currencySymbol??Tn.currencySymbol};return t.jsx(Ra,{"data-testid":y("total-row-root-container"),height:i,bgColor:c,windowSize:d,children:t.jsxs(Ha,{isClickable:!1,"data-testid":y("total-row-container"),children:[t.jsx(Ya,{bgColor:c,isSticky:n,windowSize:d,isIndented:o,children:t.jsx(Ua,{children:r})}),t.jsxs(Ka,{children:[l.map((u,p)=>t.jsx(qa,{type:e,balance:u},p)),t.jsx(Za,{type:e,balance:g})]})]})})}function at(e,n,o,i){switch(e){case"cogs":return Qa(o,i,n);case"expenses":return Xa(o,i,n);case"income":return el(o,i,n);case"cash_position":return tl(o,i,n);case"cash_in":return nl(o,i,n);case"cash_out":return ol(o,i,n);case"assets":return il(o,i,n);case"equity":return rl(o,i,n);case"liabilities":return al(o,i,n);case"other_expense":return ll(o,i,n);case"other_income":return cl(o,i,n);case"operating_activities":return sl(o,i,n);case"investing_activities":return dl(o,i,n);case"financing_activities":return hl(o,i,n);default:throw Error(`${e} is not yet supported!`)}}const Qa=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.cogsInTimeframe,i.compactedAccountsSelector=r=>R(r.accountsWithCogsOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.cogsInTimeframe,i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},Xa=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.expensesInTimeframe,i.compactedAccountsSelector=r=>R(r.accountsWithExpensesOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.expensesInTimeframe,i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},el=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.incomeInTimeframe,i.compactedAccountsSelector=r=>R(r.accountsWithIncomeOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.incomeInTimeframe,i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},tl=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.cashPositionInTimeframe,i.compactedAccountsSelector=()=>R([],i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=()=>{},i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},nl=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.cashInInTimeframe,i.compactedAccountsSelector=r=>R(r.accountsWithCashInOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.cashInInTimeframe,i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},ol=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.cashOutInTimeframe,i.compactedAccountsSelector=r=>R(r.accountsWithCashOutOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.cashOutInTimeframe,i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},il=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.assetsInTimeframe,i.compactedAccountsSelector=r=>R(r.accountsWithAssetsOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.assetsInTimeframe,i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},rl=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.equityInTimeframe,i.compactedAccountsSelector=r=>R(r.accountsWithEquityOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.equityInTimeframe,i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},al=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.liabilitiesInTimeframe,i.compactedAccountsSelector=r=>R(r.accountsWithLiabilitiesOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.liabilitiesInTimeframe,i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},ll=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.otherExpensesInTimeframe,i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=()=>{},i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},cl=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.otherIncomeInTimeframe,i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=()=>{},i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},sl=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.operatingActivitiesInTimeframe,i.compactedAccountsSelector=r=>R(r.accountsWithOperatingActivitiesOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.operatingActivitiesInTimeframe,i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},dl=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.investingActivitiesInTimeframe,i.compactedAccountsSelector=r=>R(r.accountsWithInvestingActivitiesOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.investingActivitiesInTimeframe,i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i},hl=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.financingActivitiesInTimeframe,i.compactedAccountsSelector=r=>R(r.accountsWithFinancingActivitiesOrdered,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>R(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r.financingActivitiesInTimeframe,i.compactedAccountGroupsSelector=r=>ie(r,i.acGroupBalanceSelector,o,n),i};function R(e,n,o){switch(o){case"off":return e;case"filter_actual_nil_balances":return e.filter(i=>Qo(n(i)?.balances??[]));case"filter_forecast_nil_balances":return e.filter(i=>Xo(n(i)?.balances??[]));case"filter_actual_forecast_nil_balances":return e.filter(i=>ei(n(i)?.balances??[]))}}function ie(e,n,o,i){switch(i){case"off":return e;case"filter_actual_nil_account_group_balances":return e.filter(r=>Qo(n(r)?.balances??[]));case"filter_forecast_nil_account_group_balances":return e.filter(r=>Xo(n(r)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return e.filter(r=>ei(n(r)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return e.filter(r=>(n(r)?.balances??[]).length>0)}}function Qo(e){let n=!1;if(e!=null){for(const o of e)if(o.balance.amount!==0){n=!0;break}}return n}function Xo(e){let n=!1;if(e!=null){for(const o of e)if(o.forecast!=null&&o.forecast.amount!==0){n=!0;break}}return n}function ei(e){let n=!1;if(e!=null){for(const o of e)if(o.forecast!=null&&o.forecast.amount!==0||o.balance!=null&&o.balance.amount!==0){n=!0;break}}return n}function ne(e,n="ascending_date",o=-1,i=!0){const r=o!==-1;let l=[],c=-1;if(e==null||e.balances.length===0)return r===!0&&(l=ti([],o)),{balances:l,thisPeriodIndex:c};let d=e.balances;return n==="ascending_date"?c=e.balances.length-1:(c=0,d=[...e.balances].reverse()),{balances:[...d,...i?e.additionalBalances:[]],thisPeriodIndex:c}}function Gn(e,n="ascending_date",o=-1,i=!0){const r=o!==-1,l=ne(e,n,o,i);if(e==null||e.balances.length===0)return l;const c=[...l.balances];if(e?.totalBalance!=null)c.push(e.totalBalance);else if(r&&e?.totalBalance==null){const d=ti([],1);c.push(...d)}return{balances:c,thisPeriodIndex:l.thisPeriodIndex}}function Be(e,n){if(n==="ascending_date")return e;{const o=[],i=[];for(const r of e)r.type==="default"?o.push(r):i.push(r);return[...o.reverse(),...i]}}function ti(e,n){return e.length>0?e:fo(Array(n),null)}const ul=a.div`
566
+ display: flex;
567
+ flex: 1 1 auto;
568
+ max-height: 1px;
569
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
570
+ `,En=a.div`
571
+ display: flex;
572
+ flex: 1 1 auto;
573
+ max-height: 1px;
574
+ margin-left: ${e=>e.marginLeft}px;
575
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey3};
576
+ `,gl=a.div`
577
+ display: flex;
578
+ flex: 1 1 auto;
579
+ max-height: 1px;
580
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
581
+ `;function pl({kind:e,isScrolling:n}){switch(e){case"account_title_row_separator":return t.jsx(En,{marginLeft:S[5],isScrolling:n});case"account_balance_row_separator":return t.jsx(En,{marginLeft:0,isScrolling:n});case"ac_group_row_separator":return t.jsx(ul,{isScrolling:n});case"section_row_separator":case"heading_row_separator":return t.jsx(gl,{isScrolling:n})}}const Ae={balanceHeight:s.sp4,balanceWidth:"166px",balanceLeftMargin:s.sp4,titleWidth:new G(200,350,405)},xl=a.div`
582
+ display: flex;
583
+ flex: 1 1 auto;
584
+ width: fit-content;
585
+ min-width: 100%;
586
+ flex-direction: column;
587
+ height: ${e=>e.height}px;
588
+ background-color: ${e=>e.bgColor?.hex()};
589
+ `,fl=a.div`
590
+ user-select: none;
591
+ display: flex;
592
+ flex: 1 1 auto;
593
+ flex-flow: row;
594
+ justify-content: flex-start;
595
+ align-items: center;
596
+ `,ml=a.div`
597
+ display: flex;
598
+ flex: 1 0 auto;
599
+ flex-direction: row;
600
+ justify-content: flex-end;
601
+ `,wl=a.div`
602
+ display: flex;
603
+ flex-direction: row;
604
+ justify-content: flex-start;
605
+ `,yl=a(v)`
606
+ user-select: none;
607
+ color: ${e=>e.theme.colors.hero};
608
+ min-width: ${Ae.balanceWidth};
609
+ max-width: ${Ae.balanceWidth};
610
+ text-align: right;
611
+ margin-left: ${Ae.balanceLeftMargin};
612
+ `,bl=a.div`
613
+ display: flex;
614
+ flex-direction: row;
615
+ flex-shrink: 2;
616
+ flex-grow: 1;
617
+ align-items: center;
618
+ width: ${e=>Ae.titleWidth.valuePx(e.windowSize)};
619
+ color: ${e=>e.theme.colors.hero};
620
+ max-width: ${e=>Ae.titleWidth.valuePx(e.windowSize)};
621
+ background-color: ${e=>e.bgColor?.hex()};
622
+ ${({isSticky:e})=>e?T`
623
+ position: -webkit-sticky;
624
+ position: sticky;
625
+ top: ${s.sp0};
626
+ left: ${s.sp0};
627
+ `:null}
628
+ `,kl=a(v)`
629
+ user-select: none;
630
+ clear: both;
631
+ display: inline-block;
632
+ overflow: hidden;
633
+ white-space: nowrap;
634
+ text-overflow: ellipsis;
635
+ text-align: left;
636
+ margin-left: ${s.sp6};
637
+ `,jl=({balance:e})=>t.jsx(wl,{children:t.jsx(yl,{children:J(e)})});function Sl({heading:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,totalBalances:l,isScrolling:c,isLastNode:d,onClick:g}){const u=I();return t.jsxs(xl,{"data-testid":y("calculated-section-type-1-root-container-row",i),height:r,bgColor:n,windowSize:u,children:[t.jsxs(fl,{"data-testid":y("calculated-section-type-1-container-row",i),onClick:()=>g?.(i),children:[t.jsx(bl,{"data-testid":y("calculated-section-type-1-total-container-row",i),bgColor:n,isSticky:o,windowSize:u,children:t.jsx(kl,{children:e})}),t.jsx(ml,{children:l.map((p,h)=>t.jsx(jl,{balance:p},h))})]}),t.jsx(Cl,{isScrolling:c,isLastNode:d})]})}function Cl({isScrolling:e,isLastNode:n}){return n===!0?t.jsx(pl,{isScrolling:e,kind:"heading_row_separator"}):null}const _l=a.div`
638
+ display: flex;
639
+ flex: 1 1 auto;
640
+ width: fit-content;
641
+ min-width: 100%;
642
+ flex-direction: column;
643
+ height: ${e=>e.height}px;
644
+ background-color: ${e=>e.bgColor?.hex()};
645
+ `,vl=a.div`
646
+ user-select: none;
647
+ display: flex;
648
+ flex: 1 1 auto;
649
+ flex-flow: row;
650
+ justify-content: flex-start;
651
+ align-items: center;
652
+ `,$l=a.div`
653
+ display: flex;
654
+ flex: 1 0 auto;
655
+ flex-direction: row;
656
+ justify-content: flex-end;
657
+ `,Ll=a.div`
658
+ display: flex;
659
+ flex-direction: row;
660
+ justify-content: flex-start;
661
+ `,qe=a(mo)`
662
+ color: ${e=>e.theme.colors.champion};
663
+ user-select: none;
664
+ max-width: ${j.balanceWidth};
665
+ min-width: ${j.balanceWidth};
666
+ text-align: right;
667
+ margin-left: ${j.balanceLeftMargin};
668
+ `,Bl=a.div`
669
+ display: flex;
670
+ flex-direction: row;
671
+ flex-shrink: 2;
672
+ flex-grow: 1;
673
+ align-items: center;
674
+ width: ${e=>j.titleWidth.valuePx(e.windowSize)};
675
+ max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
676
+ background-color: ${e=>e.bgColor?.hex()};
677
+ ${({isSticky:e})=>e?T`
678
+ position: -webkit-sticky;
679
+ position: sticky;
680
+ top: ${s.sp0};
681
+ left: ${s.sp0};
682
+ `:null}
683
+ `,Al=a(mo)`
684
+ color: ${e=>e.theme.colors.champion};
685
+ user-select: none;
686
+ clear: both;
687
+ display: inline-block;
688
+ overflow: hidden;
689
+ white-space: nowrap;
690
+ text-overflow: ellipsis;
691
+ text-align: left;
692
+ background-color: ${e=>e.bgColor?.hex()};
693
+ `,Ol=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i})=>t.jsxs(Ll,{"data-testid":y("heading-row-balance-element",e),children:[re(e)||o?t.jsx(qe,{"data-testid":y("heading-row-balance-actual",e),children:J(n)}):t.jsx(qe,{"data-testid":y("heading-row-balance-forecast",e),children:Q(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(qe,{"data-testid":y("heading-row-balance-forecast",e),children:Q(n)}),t.jsx(qe,{"data-testid":y("heading-row-balance-actual-vs-forecast",e),children:i==="compare_mode_percent"?ce(n):se(n)})]}):null]});function Nl({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,heading:l,headingBalances:c,isActualVsForecastOn:d,compareMode:g,isLeaf:u,onClick:p}){const h=I();return t.jsx(_l,{height:r,bgColor:n,"data-testid":y("heading-row-root-container",i),children:t.jsxs(vl,{"data-testid":y("heading-row-container",i),isClickable:!u,onClick:()=>p?.(i),children:[ge(e)===!0?t.jsx(Bl,{"data-testid":y("heading-row-heading-container",i),isSticky:o,windowSize:h,bgColor:n,children:t.jsx(Al,{children:l})}):null,me(e)===!0?t.jsx($l,{"data-testid":y("heading-row-balances-container",i),children:c.map((x,f)=>t.jsx(Ol,{"data-testid":y("heading-row-balance-element",e),type:e,heading:l,balance:x,isActualVsForecastOn:d,compareMode:g},f))}):null]})})}const sn=(e,n,o,i,r,l,c,d,g,u,p,h)=>{if(o.element.kind!="title_string_only")return null;const x=ne(void 0,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Nl,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,heading:o.element.title,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:p,headingBalances:x.balances,isScrolling:c,isOpen:d,isLeaf:g,isLastNode:u,onClick:f=>{h?.(f)}})};function ni(e,n){return Ml(n)}const Ml=(e,n)=>{const o={compactedAccountsSelectorVariant:()=>[],acBalanceSelector:()=>{}};return o.acBalanceSelector=i=>i.balancesInTimeframe,o.compactedAccountsSelectorVariant=i=>function(r,l,c){switch(c){case"off":default:return r;case"filter_actual_nil_balances":return r.filter(d=>function(g){let u=!1;if(g!=null){for(const p of g)if(p.balance.amount!==0){u=!0;break}}return u}(l(d)?.balances??[]))}}(i,o.acBalanceSelector,e),o},Ze=[new G(S[4],56),new G(44,76),new G(69,102),new G(93,124),new G(113,143)],Rn=[new G(S[0],S[0]),new G(14,S[4]),new G(67,67),new G(102,102),new G(136,136)],Il=a.div`
694
+ display: flex;
695
+ flex: 1 1 auto;
696
+ max-height: 1px;
697
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey3};
698
+ `,Hn=a.div`
699
+ display: flex;
700
+ flex: 1 1 auto;
701
+ max-height: 1px;
702
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey4};
703
+ `,Wl=a.div`
704
+ display: flex;
705
+ flex: 1 1 auto;
706
+ flex-flow: row;
707
+ justify-content: flex-start;
708
+ align-items: center;
709
+ `,Pl=a.div`
710
+ display: flex;
711
+ flex-direction: row;
712
+ flex-shrink: 2;
713
+ flex-grow: 1;
714
+ align-items: center;
715
+ background-color: ${e=>e.theme.colors.grey4};
716
+ width: ${e=>j.titleWidth.valuePx(e.windowSize)};
717
+ max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
718
+ ${({isSticky:e})=>e?T`
719
+ position: -webkit-sticky;
720
+ position: sticky;
721
+ top: ${s.sp0};
722
+ left: ${s.sp0};
723
+ `:null}
724
+ `,Fl=a.div`
725
+ width: ${e=>e.noMarginForAccount?Ze[e.nestingLevel].value(e.windowSize)-S[5]:Ze[e.nestingLevel].value(e.windowSize)}px;
726
+ max-width: ${e=>e.noMarginForAccount?Ze[e.nestingLevel].value(e.windowSize)-S[5]:Ze[e.nestingLevel].value(e.windowSize)}px;
727
+ height: 1px;
728
+ `,zl=a.div`
729
+ width: ${e=>Rn[e.classDepth].valuePx(e.windowSize)};
730
+ max-width: ${e=>Rn[e.classDepth].valuePx(e.windowSize)};
731
+ height: 1px;
732
+ `,Tl=a.div`
733
+ display: flex;
734
+ flex: 1 1 auto;
735
+ max-height: 1px;
736
+ height: 1px;
737
+ background-color: ${e=>e.isScrolling?"transparent":e.colour};
738
+ `,Vl=a.div`
739
+ display: flex;
740
+ flex: 1 1 auto;
741
+ max-height: 1px;
742
+ height: 1px;
743
+ background-color: ${e=>e.isScrolling?"transparent":e.colour};
744
+ `,Dl=a.div`
745
+ display: flex;
746
+ flex: 1 1 auto;
747
+ max-height: 1px;
748
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
749
+ `,Kn=e=>{const n=I(),o=le();return t.jsxs(Wl,{children:[t.jsxs(Pl,{windowSize:n,isSticky:e.isSticky,children:[e.classDepth!=null?t.jsx(zl,{classDepth:e.classDepth,windowSize:n}):null,t.jsx(Fl,{nestingLevel:e.nestingLevel,noMarginForAccount:e.noMarginForAccount,windowSize:n}),t.jsx(Tl,{isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]}),t.jsx(Vl,{isScrolling:e.isScrolling,colour:e.isTotal?o.colors.grey1:o.colors.grey3})]})};function we({kind:e,isScrolling:n,subAccountProps:o}){switch(e){case"account_title_row_separator":return t.jsx(Hn,{marginLeft:S[5],isScrolling:n});case"sub_account_balance_row_separator":return t.jsx(Kn,{nestingLevel:o?.nestingLevel??1,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!1,classDepth:o?.classDepth,noMarginForAccount:o?.noMarginForAccount??!1});case"account_balance_row_separator":return t.jsx(Hn,{marginLeft:0,isScrolling:n});case"ac_group_row_separator":return t.jsx(Il,{isScrolling:n});case"section_row_separator":case"heading_row_separator":return t.jsx(Dl,{isScrolling:n});case"total_row_separator":return t.jsx(Kn,{nestingLevel:o?.nestingLevel??1,isScrolling:n,isSticky:o?.isSticky??!1,isTotal:!0,classDepth:o?.classDepth,noMarginForAccount:o?.noMarginForAccount??!1})}}function oi({height:e,backgroundColor:n,title:o,numOfBalances:i=6}){let r=null;const l=I()!=="small";switch(o!=null?o.split("+")[1]:""){case"section-row":r=t.jsx(Gl,{columns:i,isSticky:l});break;case"root-class-row":r=t.jsx(El,{columns:i,isSticky:l});break;case"sub-class-row":r=t.jsx(Rl,{columns:i,isSticky:l});break;case"leaf-class-row":r=t.jsxs(t.Fragment,{children:[t.jsx(Hl,{columns:i,isSticky:l}),t.jsx(we,{isScrolling:!1,kind:"sub_account_balance_row_separator",subAccountProps:{isSticky:!0,nestingLevel:0,noMarginForAccount:!1}})]})}return t.jsx(Yl,{height:e,bgColor:n,children:r})}const Gl=({columns:e,isSticky:n})=>t.jsxs(Ce,{children:[t.jsxs(gt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsx(ze,{width:S[4],height:S[4]}),t.jsx(K,{width:j.loadingInProgressSmallStickyColumnWidth,height:j.balanceHeightInPx})]}),t.jsx(ut,{columns:e,rectangleWidth:j.loadingBalanceWidthInPx})]}),El=({columns:e,isSticky:n})=>t.jsxs(Ce,{children:[t.jsxs(gt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:[t.jsx(ze,{width:S[4],height:S[4]}),t.jsx(K,{width:j.loadingInProgressLargeStickyColumnWidth,height:j.balanceHeightInPx})]}),t.jsx(ut,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),Rl=({columns:e,isSticky:n})=>t.jsxs(Ce,{children:[t.jsx(gt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsxs(Ce,{style:{marginLeft:"36px"},children:[t.jsx(ze,{width:S[4],height:S[4]}),t.jsx(K,{width:j.loadingInProgressLargeStickyColumnWidth,height:j.balanceHeightInPx,style:{marginLeft:S[4]}})]})}),t.jsx(ut,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),Hl=({columns:e,isSticky:n})=>t.jsxs(Ce,{children:[t.jsx(gt,{isSticky:n,width:j.loadingInProgressStickySectionWidth,className:"account-title",children:t.jsx(Ce,{style:{marginLeft:"84px"},children:t.jsx(K,{width:j.loadingInProgressSmallStickyColumnWidth,height:j.balanceHeightInPx})})}),t.jsx(ut,{columns:e,rectangleWidth:j.smallLoadingBalanceWidthInPx})]}),Kl=({rectangleWidth:e})=>t.jsx(ii,{width:j.balanceWidthInPx,children:t.jsx(K,{width:e,height:j.balanceHeightInPx})}),ut=({columns:e,rectangleWidth:n})=>t.jsx(Ul,{style:{zIndex:9,width:j.loadingInProgressScrollableSectionWidth},children:Array.from({length:e}).map((o,i)=>t.jsx(Kl,{rectangleWidth:n},i))}),Yl=a.div`
750
+ display: flex;
751
+ flex: 1 1 auto;
752
+ width: fit-content;
753
+ min-width: 100%;
754
+ flex-direction: column;
755
+ height: ${e=>e.height}px;
756
+ background-color: ${e=>e.bgColor?.hex()??e.theme.colors.grey4};
757
+ `,Ce=a.div`
758
+ user-select: none;
759
+ display: flex;
760
+ flex: 1 1 auto;
761
+ flex-flow: row;
762
+ justify-content: flex-start;
763
+ align-items: center;
764
+ min-height: 0;
765
+ `,Ul=a.div`
766
+ display: flex;
767
+ flex: 1 0 auto;
768
+ flex-direction: row;
769
+ justify-content: flex-end;
770
+ `,ii=a.div`
771
+ display: flex;
772
+ flex-direction: row;
773
+ align-items: center;
774
+ min-width: ${e=>typeof e.width=="string"?e.width:`${e.width}px`};
775
+ margin-right: ${j.balanceLeftMargin};
776
+ gap: ${j.balanceLeftMargin};
777
+ justify-content: flex-end;
778
+ `,gt=a(ii)`
779
+ position: ${e=>e.isSticky===!0?"sticky":"static"};
780
+ left: ${s.sp0};
781
+ z-index: 10;
782
+ background-color: ${e=>e.theme.colors.grey4};
783
+ justify-content: flex-start;
784
+ `;function ri({height:e,numOfBalances:n,backgroundColor:o}){const i=I();return t.jsx(ql,{height:e,bgColor:o,children:t.jsxs(Zl,{windowSize:i,children:[t.jsx(Jl,{windowSize:i,width:`${j.loadingInProgressStickySectionWidth}px`,marginRight:0}),t.jsx(Ql,{children:Array.from({length:n},(r,l)=>t.jsx(ai,{windowSize:i,width:j.balanceWidth,children:t.jsx(K,{width:j.balanceWidthInPx,height:S[6]})},`timeframe-balance-${l}`))})]})})}const ql=a.div`
785
+ display: flex;
786
+ flex: 1 1 auto;
787
+ width: fit-content;
788
+ min-width: 100%;
789
+ flex-direction: column;
790
+ height: ${e=>e.height}px;
791
+ background-color: ${e=>e.bgColor?.hex()};
792
+ margin-top: 20px;
793
+ `,Zl=a.div`
794
+ display: flex;
795
+ flex-direction: row;
796
+ width: 100%;
797
+ `,ai=a.div`
798
+ display: flex;
799
+ flex-direction: row;
800
+ align-items: center;
801
+ margin-right: ${e=>e.marginRight!=null?`${e.marginRight}px`:s.sp4};
802
+ min-width: ${e=>typeof e.width=="string"?e.width:`${e.width}px`};
803
+ color: ${e=>e.theme.colors.primary};
804
+ background-color: ${e=>e.theme.colors.grey4};
805
+ justify-content: flex-end;
806
+ :first-of-type {
807
+ justify-content: flex-start;
808
+ }
809
+ margin-right: ${j.balanceLeftMargin};
810
+ `,Jl=a(ai)`
811
+ position: sticky;
812
+ left: ${s.sp0};
813
+ z-index: 10;
814
+ background-color: ${e=>e.theme.colors.grey4};
815
+ `,Ql=a.div`
816
+ display: flex;
817
+ flex-direction: row;
818
+ width: calc(100% - ${j.loadingInProgressStickySectionWidth}px);
819
+ justify-content: flex-end;
820
+ flex: 1 0 auto;
821
+ `,Xl=a.div`
822
+ display: flex;
823
+ flex: 1 1 auto;
824
+ max-height: 1px;
825
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey3};
826
+ `,ec=a.div`
827
+ display: flex;
828
+ flex: 1 1 auto;
829
+ max-height: 1px;
830
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
831
+ `;function dn({kind:e,isScrolling:n}){switch(e){case"ac_group_row_separator":return t.jsx(Xl,{"data-testid":y("ac-group-row-separator",e),isScrolling:n});case"section_row_separator":case"heading_row_separator":return t.jsx(ec,{"data-testid":y("section-row-separator",e),isScrolling:n})}}const E={balanceHeight:s.sp4,balanceWidth:"166px",balanceLeftMargin:s.sp4,titleWidth:new G(200,350,405)},tc=a.div`
832
+ display: flex;
833
+ flex: 1 1 auto;
834
+ width: fit-content;
835
+ min-width: 100%;
836
+ flex-direction: column;
837
+ height: ${e=>e.height}px;
838
+ background-color: ${e=>e.bgColor?.hex()};
839
+ `,nc=a.div`
840
+ user-select: none;
841
+ display: flex;
842
+ flex: 1 1 auto;
843
+ flex-flow: row;
844
+ justify-content: flex-start;
845
+ align-items: center;
846
+ &:hover {
847
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
848
+ }
849
+ `,oc=a.div`
850
+ display: flex;
851
+ flex: 1 0 auto;
852
+ flex-direction: row;
853
+ justify-content: flex-end;
854
+ color: ${e=>e.hasNonZeroBalance===!0?e.theme.colors.primary:e.theme.colors.hero};
855
+ `,ic=a.div`
856
+ display: flex;
857
+ flex-direction: row;
858
+ justify-content: flex-start;
859
+ `,It=a(v)`
860
+ user-select: none;
861
+ min-width: ${E.balanceWidth};
862
+ max-width: ${E.balanceWidth};
863
+ text-align: right;
864
+ margin-left: ${E.balanceLeftMargin};
865
+ `,rc=a(It)`
866
+ color: ${e=>e.theme.colors.hero};
867
+ &:hover {
868
+ color: inherit;
869
+ }
870
+ `,ac=a.div`
871
+ display: flex;
872
+ flex-direction: row;
873
+ flex-shrink: 2;
874
+ flex-grow: 1;
875
+ align-items: center;
876
+ width: ${e=>E.titleWidth.valuePx(e.windowSize)};
877
+ max-width: ${e=>E.titleWidth.valuePx(e.windowSize)};
878
+ background-color: ${e=>e.bgColor?.hex()};
879
+ color: ${e=>e.hasNonZeroBalance===!0?e.theme.colors.primary:e.theme.colors.hero};
880
+ ${({isSticky:e})=>e?T`
881
+ position: -webkit-sticky;
882
+ position: sticky;
883
+ top: ${s.sp0};
884
+ left: ${s.sp0};
885
+ `:null}
886
+ `,lc=a(v)`
887
+ user-select: none;
888
+ clear: both;
889
+ display: inline-block;
890
+ overflow: hidden;
891
+ white-space: nowrap;
892
+ text-overflow: ellipsis;
893
+ text-align: left;
894
+ margin-left: ${s.sp2};
895
+ `,cc=({type:e,balance:n,collapsed:o,compareMode:i})=>{const r=o===!0?rc:It;return t.jsxs(ic,{"data-testid":y("account-group-row-balance-element",e),children:[t.jsx(r,{"data-testid":y("account-group-row-balance-actual",e),children:J(n)}),Pe(e)?t.jsxs(t.Fragment,{children:[t.jsx(r,{"data-testid":y("account-group-row-balance-forecast",e),children:Q(n)}),t.jsx(It,{"data-testid":y("account-group-row-balance-actual-vs-forecast",e),children:i==="compare_mode_percent"?ce(n):se(n)})]}):null]})};function sc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountGroupName:l,accountGroupBalances:c,compareMode:d,isScrolling:g,isOpen:u,isLeaf:p,isLastNode:h,onClick:x}){const f=I(),w=!p,m=w?"pointer":"default",b=l.length>0?l.substr(0,1).toUpperCase():"",k=hc(c),C=le().colors.primary,[_,$]=z.useState(!1);return t.jsxs(tc,{"data-testid":y("account-group-row-root-container",e),height:r,bgColor:n,windowSize:f,children:[t.jsxs(nc,{"data-testid":y("account-group-row-container",e),style:{cursor:m},isClickable:w,onClick:()=>x?.(i),onMouseOver:()=>$(!0),onMouseLeave:()=>$(!1),children:[t.jsxs(ac,{"data-testid":y("account-group-row-name-container",e),bgColor:n,isSticky:o,windowSize:f,hasNonZeroBalance:k,children:[t.jsx(ke,{"data-testid":y("account-group-row-circle-with-letter",e),color:O(C),showCollapsedIcon:!u,showIcon:w&&_,firstLetter:b}),t.jsx(lc,{"data-testid":y("account-group-row-name",e),children:l})]}),t.jsx(oc,{"data-testid":y("account-group-row-balances-container",e),hasNonZeroBalance:k,children:c.map((B,A)=>t.jsx(cc,{"data-testid":y("account-group-row-balance-element",e),type:e,accountGroupName:l,balance:B,compareMode:d,collapsed:!1},A))})]}),t.jsx(dc,{isScrolling:g,isLeaf:p,isLastNode:h,isOpen:u})]})}function dc({isScrolling:e,isLeaf:n,isLastNode:o,isOpen:i}){return!n&&i&&o?null:t.jsx(dn,{isScrolling:e,kind:"ac_group_row_separator"})}const hc=e=>{let n=!1;if(e!=null){for(const o of e)if(o!=null&&o.balance.amount!==0){n=!0;break}}return n},uc=a.div`
896
+ display: flex;
897
+ flex: 1 1 auto;
898
+ width: fit-content;
899
+ min-width: 100%;
900
+ flex-direction: column;
901
+ height: ${e=>e.height}px;
902
+ background-color: ${e=>e.bgColor?.hex()};
903
+ `,gc=a.div`
904
+ user-select: none;
905
+ display: flex;
906
+ flex: 1 1 auto;
907
+ flex-flow: row;
908
+ justify-content: flex-start;
909
+ align-items: center;
910
+ &:hover {
911
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
912
+ }
913
+ `,pc=a.div`
914
+ display: flex;
915
+ flex: 1 0 auto;
916
+ flex-direction: row;
917
+ justify-content: flex-end;
918
+ `,xc=a.div`
919
+ display: flex;
920
+ flex-direction: row;
921
+ justify-content: flex-start;
922
+ `,Lt=a(v)`
923
+ user-select: none;
924
+ min-width: ${E.balanceWidth};
925
+ max-width: ${E.balanceWidth};
926
+ text-align: right;
927
+ margin-left: ${E.balanceLeftMargin};
928
+ color: ${e=>e.theme.colors.hero};
929
+ cursor: ${e=>e.isClickable?"pointer":"default"};
930
+ &:hover {
931
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
932
+ }
933
+ `,fc=a.div`
934
+ display: flex;
935
+ flex-direction: row;
936
+ flex-shrink: 2;
937
+ flex-grow: 1;
938
+ align-items: center;
939
+ width: ${e=>E.titleWidth.valuePx(e.windowSize)};
940
+ max-width: ${e=>E.titleWidth.valuePx(e.windowSize)};
941
+ background-color: ${e=>e.bgColor?.hex()};
942
+ ${({isSticky:e})=>e?T`
943
+ position: -webkit-sticky;
944
+ position: sticky;
945
+ top: ${s.sp0};
946
+ left: ${s.sp0};
947
+ `:null}
948
+ `,mc=a(v)`
949
+ user-select: none;
950
+ clear: both;
951
+ display: inline-block;
952
+ overflow: hidden;
953
+ white-space: nowrap;
954
+ text-overflow: ellipsis;
955
+ text-align: left;
956
+ margin-left: 35px;
957
+ color: ${e=>e.theme.colors.hero};
958
+ `,wc=({type:e,balance:n,account:o,onAccountBalanceClick:i,compareMode:r})=>{const l=o!=null&&n!=null&&i!=null&&!(n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent");return t.jsxs(xc,{children:[t.jsx(Lt,{isClickable:l,onClick:()=>{l===!0&&o!=null&&n!=null&&i?.(o,n)},children:J(n)}),Pe(e)?t.jsxs(t.Fragment,{children:[t.jsx(Lt,{isClickable:!1,children:Q(n)}),t.jsx(Lt,{isClickable:!1,children:r==="compare_mode_percent"?ce(n):se(n)})]}):null]})};function yc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountBalances:l,isCompareModeOn:c,isForecastModeOn:d,isScrolling:g,isLeaf:u,isLastNode:p,compareMode:h,account:x,onAccountBalanceClick:f}){const w=I(),{common:{strings:{empty:m}}}=M.getLocalizedStrings(),b=x?.accountDescription?x.accountDescription:m,k=x?.accountName?x.accountName:b,C=go(),_=C.loggedInUserRole!=null&&!ko(C.loggedInUserRole),$=_===!0&&x!=null&&c!==!0&&f!=null&&d!==!0,B=$?"pointer":"default";return t.jsxs(uc,{height:r,bgColor:n,windowSize:w,children:[t.jsxs(gc,{style:{cursor:B},isClickable:$,onClick:()=>{return x!=null?(A=i,P=x,void($===!0&&l[l.length-1]!=null&&f?.(A,P,l[l.length-1]))):null;var A,P},children:[t.jsx(fc,{isSticky:o,windowSize:w,bgColor:n,children:t.jsx(mc,{title:k,children:k})}),t.jsx(pc,{children:l.map((A,P)=>t.jsx(wc,{type:e,balance:A,account:x,onAccountBalanceClick:_===!1||f==null?void 0:(V,D)=>{f(i,V,D)},compareMode:h},P))})]}),t.jsx(bc,{isScrolling:g,isLeaf:u,isLastNode:p})]})}function bc({isScrolling:e,isLeaf:n,isLastNode:o}){return n||!o?t.jsx(dn,{isScrolling:e,kind:"ac_group_row_separator"}):null}const kc=a.div`
959
+ display: flex;
960
+ flex: 1 1 auto;
961
+ width: fit-content;
962
+ min-width: 100%;
963
+ flex-direction: column;
964
+ height: ${e=>e.rootHeight-1}px;
965
+ background-color: ${e=>e.bgColor?.hex()};
966
+ `,jc=a.div`
967
+ user-select: none;
968
+ display: flex;
969
+ flex: 1 1 auto;
970
+ flex-flow: row;
971
+ justify-content: flex-start;
972
+ align-items: center;
973
+ `,Sc=a.div`
974
+ display: flex;
975
+ flex: 1 0 auto;
976
+ flex-direction: row;
977
+ justify-content: flex-end;
978
+ `,Yn=a.div`
979
+ display: flex;
980
+ flex-direction: row;
981
+ justify-content: flex-start;
982
+ `,_e=a(v)`
983
+ user-select: none;
984
+ max-width: ${E.balanceWidth};
985
+ min-width: ${E.balanceWidth};
986
+ text-align: right;
987
+ margin-left: ${E.balanceLeftMargin};
988
+ `,Un=a(v)`
989
+ user-select: none;
990
+ max-width: ${E.balanceWidth};
991
+ min-width: ${E.balanceWidth};
992
+ text-align: right;
993
+ margin-left: ${E.balanceLeftMargin};
994
+ `,Cc=a.div`
995
+ display: flex;
996
+ flex-direction: column;
997
+ align-items: flex-end;
998
+ `,_c=a.div`
999
+ display: flex;
1000
+ flex-direction: row;
1001
+ flex-shrink: 2;
1002
+ flex-grow: 1;
1003
+ align-items: center;
1004
+ height: ${s.sp7};
1005
+ width: ${e=>E.titleWidth.valuePx(e.windowSize)};
1006
+ max-width: ${e=>E.titleWidth.valuePx(e.windowSize)};
1007
+ background-color: ${e=>e.bgColor?.hex()};
1008
+ ${({isSticky:e})=>e?T`
1009
+ position: -webkit-sticky;
1010
+ position: sticky;
1011
+ top: ${s.sp0};
1012
+ left: ${s.sp0};
1013
+ `:null}
1014
+ `,vc=a(v)`
1015
+ user-select: none;
1016
+ user-select: none;
1017
+ clear: both;
1018
+ display: inline-block;
1019
+ overflow: hidden;
1020
+ white-space: nowrap;
1021
+ text-overflow: ellipsis;
1022
+ text-align: left;
1023
+ margin-left: ${s.sp2};
1024
+ `,$c=({type:e,balance:n,color:o,compareMode:i})=>{const r=n!=null&&n.type==="default_with_percent"&&n.percentValue!=null?n.percentValue:0,l=n!=null&&n.type==="default_with_percent"&&n.forecastPercentValue!=null?n.forecastPercentValue:0;return t.jsxs(Cc,{children:[t.jsxs(Yn,{children:[t.jsx(_e,{style:{color:o.toString()},children:J(n)}),Pe(e)?t.jsxs(t.Fragment,{children:[t.jsx(_e,{style:{color:o.toString()},children:Q(n)}),t.jsx(_e,{style:{color:o.toString()},children:i==="compare_mode_percent"?ce(n):se(n)})]}):null]}),t.jsxs(Yn,{children:[r!==0?t.jsx(Un,{style:{color:o.toString()},children:xe("0,0%",r)}):null,Pe(e)?t.jsxs(t.Fragment,{children:[l!==0?t.jsx(Un,{style:{color:o.toString()},children:xe("0,0%",l)}):t.jsx(_e,{}),t.jsx(_e,{})]}):null]})]})};function hn({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,sectionName:l,sectionBalances:c,sectionColor:d,isScrolling:g,isOpen:u,isLeaf:p,compareMode:h,onClick:x}){const f=I(),[w,m]=z.useState(!1),b=!p,k=b?"pointer":"default",C=l.length>0?l.substring(0,1).toUpperCase():"";return t.jsxs(kc,{"data-testid":y("section-row-root-container",i),rootHeight:r,bgColor:n,windowSize:f,children:[t.jsxs(jc,{"data-testid":y("section-row-container",i),style:{cursor:k},onClick:()=>x?.(i),onMouseOver:()=>m(!0),onMouseLeave:()=>m(!1),children:[t.jsxs(_c,{"data-testid":y("section-row-name-container",i),isSticky:o,windowSize:f,bgColor:n,children:[t.jsx(ke,{"data-testid":y("section-row-circle-with-letter",i),color:O(d),showCollapsedIcon:!u,showIcon:b&&w,firstLetter:C}),t.jsx(vc,{"data-testid":y("section-row-name",i),style:{color:d.toString()},children:l})]}),t.jsx(Sc,{"data-testid":y("section-row-balances-container",i),children:c.map((_,$)=>t.jsx($c,{"data-testid":y("section-row-balance-element",e),type:e,sectionName:l,balance:_,color:d,compareMode:h},$))})]}),t.jsx(Lc,{isScrolling:g,isLeaf:p,isOpen:u})]})}function Lc({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(dn,{isScrolling:e,kind:"section_row_separator"}):null}const Bc=a.div`
1025
+ display: flex;
1026
+ flex: 1 1 auto;
1027
+ width: fit-content;
1028
+ min-width: 100%;
1029
+ flex-direction: column;
1030
+ height: ${e=>e.height}px;
1031
+ background-color: ${e=>e.bgColor?.hex()};
1032
+ `,Ac=a.div`
1033
+ user-select: none;
1034
+ display: flex;
1035
+ flex: 1 1 auto;
1036
+ flex-flow: row;
1037
+ justify-content: flex-start;
1038
+ align-items: center;
1039
+ `,Oc=a.div`
1040
+ display: flex;
1041
+ flex: 1 0 auto;
1042
+ flex-direction: row;
1043
+ justify-content: flex-end;
1044
+ `,Nc=a.div`
1045
+ display: flex;
1046
+ flex-direction: row;
1047
+ justify-content: flex-start;
1048
+ `,li=a(v)`
1049
+ user-select: none;
1050
+ min-width: ${E.balanceWidth};
1051
+ max-width: ${E.balanceWidth};
1052
+ text-align: right;
1053
+ margin-left: ${E.balanceLeftMargin};
1054
+ color: ${e=>e.theme.colors.brandColorJadeDark};
1055
+ `,Mc=a(li)`
1056
+ color: ${e=>e.theme.colors.hero};
1057
+ &:hover {
1058
+ color: inherit;
1059
+ }
1060
+ `,Ic=a.div`
1061
+ display: flex;
1062
+ flex-direction: row;
1063
+ flex-shrink: 2;
1064
+ flex-grow: 1;
1065
+ align-items: center;
1066
+ width: ${e=>E.titleWidth.valuePx(e.windowSize)};
1067
+ max-width: ${e=>E.titleWidth.valuePx(e.windowSize)};
1068
+ background-color: ${e=>e.bgColor?.hex()};
1069
+ ${({isSticky:e})=>e?T`
1070
+ position: -webkit-sticky;
1071
+ position: sticky;
1072
+ top: ${s.sp0};
1073
+ left: ${s.sp0};
1074
+ `:null}
1075
+ `,Wc=a(v)`
1076
+ user-select: none;
1077
+ clear: both;
1078
+ display: inline-block;
1079
+ overflow: hidden;
1080
+ white-space: nowrap;
1081
+ text-overflow: ellipsis;
1082
+ text-align: left;
1083
+ color: ${e=>e.theme.colors.brandColorJadeDark};
1084
+ `,Bt=a(v)`
1085
+ user-select: none;
1086
+ min-width: ${E.balanceWidth};
1087
+ max-width: ${E.balanceWidth};
1088
+ text-align: right;
1089
+ margin-left: ${E.balanceLeftMargin};
1090
+ color: ${e=>e.theme.colors.brandColorJadeDark};
1091
+ `,Pc=({type:e,balance:n,collapsed:o,compareMode:i})=>{const r=o===!0?Mc:li;return t.jsxs(Nc,{children:[re(e)===!0?t.jsx(r,{children:J(n)}):null,Pe(e)?t.jsxs(t.Fragment,{children:[t.jsx(Bt,{children:J(n)}),t.jsx(Bt,{children:Q(n)}),t.jsx(Bt,{children:i==="compare_mode_percent"?ce(n):se(n)})]}):null]})};function Fc({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,title:l,totalBalances:c,isLeaf:d,compareMode:g,onClick:u}){const p=I(),h=!d,x=h?"pointer":"default";return t.jsx(Bc,{height:r,bgColor:n,windowSize:p,children:t.jsxs(Ac,{style:{cursor:x},isClickable:h,onClick:()=>u?.(i),children:[t.jsx(Ic,{bgColor:n,isSticky:o,windowSize:p,children:t.jsx(Wc,{children:l})}),t.jsx(Oc,{children:c.map((f,w)=>t.jsx(Pc,{type:e,balance:f,collapsed:!1,compareMode:g},w))})]})})}const je={net_burn_or_income:{income:{color:new O(N.graphColor04),hoverColor:new O(N.graphColor04Dark)},cogs:{color:new O(N.graphColor10),hoverColor:new O(N.graphColor10Dark)},expenses:{color:new O(N.graphColor32),hoverColor:new O(N.graphColor32Dark)},"Gross Burn":{color:new O(te.neutralGrey2Dark),hoverColor:new O(te.neutralGrey2Dark)},"Net Burn":{color:new O(N.graphColor13),hoverColor:new O(N.graphColor13Dark)},"Net Income":{color:new O(N.graphColor13),hoverColor:new O(N.graphColor13Dark)}},revenue:{income:{color:new O(N.graphColor28),hoverColor:new O(N.graphColor28Dark)},cogs:{color:new O(N.graphColor17),hoverColor:new O(N.graphColor17Dark)},"Gross Margin":{color:new O(N.graphColor10),hoverColor:new O(N.graphColor10Dark)}},cash_in_cash_out:{cash_in:{color:new O(N.graphColor33),hoverColor:new O(N.graphColor33Dark)},cash_out:{color:new O(N.graphColor02),hoverColor:new O(N.graphColor02Dark)},"Net Cash Flow":{color:new O(N.graphColor35),hoverColor:new O(N.graphColor35Dark)}},default:{color:new O(te.neutralGrey2Dark),hoverColor:new O(te.neutralGrey2Dark)}},un=(e,n)=>e.startsWith("net_burn_or_income")===!0?n!=null?je.net_burn_or_income[n]:je.default:e.startsWith("revenue")===!0?n!=null?je.revenue[n]:je.default:e.startsWith("cash_in_cash_out")===!0&&n!=null?je.cash_in_cash_out[n]:je.default,ci=(e,n,o,i,r,l,c,d,g,u,p,h)=>{if(o.element.kind!="section"||o.element.data==null)return null;const x=un(o.config.reportId,o.element.sectionType),f=ne(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(hn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionColor:x.color,sectionName:o.element.title,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:g,isLastNode:u,compareMode:p,onClick:w=>{h?.(w)}})},si=(e,n,o,i,r,l,c,d,g,u,p,h)=>{if(o.element.kind!="calculated_section"||o.element.data==null)return null;const x=un(o.config.reportId,o.element.title),f=ne(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(hn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x.color,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:g,isLastNode:u,compareMode:p,onClick:w=>{h?.(w)}})},di=(e,n,o,i,r,l,c,d)=>{if((o.config.isZeniCOAInUse==null||o.config.isZeniCOAInUse===!0)&&o.config.mode!=="this_period_vs_period_before")return null;const g=ne(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(Fc,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,title:o.element.title,height:i,isLeaf:d,compareMode:c,totalBalances:g.balances})},qg=20,zc=e=>{const n=[];return e&&Object.values(e).forEach(o=>{n.push(o)}),n.reverse()},Tc=a.div`
1092
+ display: flex;
1093
+ flex: 1 1 auto;
1094
+ height: 1px;
1095
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey3};
1096
+ `,Vc=a.div`
1097
+ display: flex;
1098
+ height: 1px;
1099
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
1100
+ `;function Wt({kind:e,isScrolling:n}){switch(e){case"account_class_row_separator":return t.jsx(Tc,{isScrolling:n});case"section_row_separator":case"vendor_separator":return t.jsx(Vc,{isScrolling:n});case"heading_row_separator":return null}}const Dc=a.div`
1101
+ position: relative;
1102
+ `,Gc=a.div`
1103
+ height: ${e=>e.height}px;
1104
+ border-left: 1px solid ${e=>e.theme.colors.grey1};
1105
+ width: 1px;
1106
+ `;a.div`
1107
+ height: 39px;
1108
+ width: 2px;
1109
+ `;const Ec=a.div`
1110
+ position: relative;
1111
+ margin-right: ${s.sp3};
1112
+ &::after {
1113
+ content: "";
1114
+ position: absolute;
1115
+ top: 20px;
1116
+ border-top: 1px solid ${e=>e.theme.colors.grey1};
1117
+ width: 18px;
1118
+ }
1119
+ `,Rc=a.div`
1120
+ height: ${s.sp6};
1121
+ border-left: 1px solid ${e=>e.theme.colors.grey1};
1122
+ width: 1px;
1123
+ `,Hc=a.div`
1124
+ position: relative;
1125
+ margin-right: ${s.sp3};
1126
+ &::after {
1127
+ content: "";
1128
+ position: absolute;
1129
+ top: ${e=>e.height}px;
1130
+ border-top: 1px solid ${e=>e.theme.colors.grey1};
1131
+ width: 18px;
1132
+ }
1133
+ `,Kc=a.div`
1134
+ height: ${e=>e.height}px;
1135
+ border-left: 1px solid ${e=>e.theme.colors.grey1};
1136
+ margin-bottom: ${e=>e.height}px;
1137
+ width: 1px;
1138
+ `,hi=({height:e})=>t.jsx(Dc,{children:t.jsx(Gc,{height:e})}),Yc=({height:e})=>t.jsx(Hc,{height:e,children:t.jsx(Kc,{height:e})}),Uc=()=>t.jsx(Ec,{children:t.jsx(Rc,{})}),qc=s.sp4,ui="126px",ue="128px",pt="12px",xt="12px",lt="685px",gn="628px",qn="685px",Zc="182px",ct="184px",ye="144px",st="12px",Zn="685px",gi="250px",dt="250px",Jc=39,Qc=19.5,Xc=16,Oe=128,Jn=168,Ne="180px",Qn="300px",pi="210px",es="128px";function xi(e,n=!1){switch(e){case"section":case"flux_vendor_row":case"timeframe_headers":case"total":case"loading_in_progress":case"headers_loading_in_progress":return S[8];case"flux_vendor_account_class_row":return n?S[9]:S[6];default:return 0}}const Xn=M.getLocalizedStrings(),ts=a.div`
1139
+ display: flex;
1140
+ flex-shrink: 0;
1141
+ width: ${ct};
1142
+ min-width: ${ct};
1143
+ margin-left: 12px;
1144
+ gap: ${s.sp1};
1145
+ flex-direction: row;
1146
+ justify-content: flex-end;
1147
+ text-align: center;
1148
+ `,ns=a.div`
1149
+ height: ${s.sp4};
1150
+ border-radius: ${s.sp1};
1151
+ padding: 2px ${s.sp1};
1152
+ color: ${e=>e.textColor.hex()};
1153
+ `,os=a.div`
1154
+ border-radius: ${s.sp1};
1155
+ padding: 2px ${s.sp1};
1156
+ height: ${s.sp4};
1157
+ justify-content: center;
1158
+ text-align: center;
1159
+ color: ${e=>e.textColor.hex()};
1160
+ background-color: ${e=>e.bgColor.hex()};
1161
+ `,ft=({amount:e,percentage:n,currency:o})=>{const i=le();return t.jsxs(ts,{children:[t.jsx(ns,{textColor:new O(e>0?i.colors.brandColorGoldDark:i.colors.success),children:q("0,0",hr(Math.abs(e),o.currencyCode,o.currencySymbol))}),t.jsx(os,{textColor:new O(e>0?i.colors.brandColorGoldDark:i.colors.success),bgColor:new O(e>0?te.brandColorGoldLight:te.successLight),children:`${Xi(Math.abs(n)).format(Xn.common.numberFormat.roundedOff)}${Xn.common.strings.percentage}`})]})},eo=M.getLocalizedStrings(),is=a.div`
1162
+ display: flex;
1163
+ flex: 1 1 auto;
1164
+ width: fit-content;
1165
+ min-width: 100%;
1166
+ flex-direction: column;
1167
+ `,rs=a.div`
1168
+ display: flex;
1169
+ flex: 1 1 auto;
1170
+ flex-flow: row;
1171
+ justify-content: flex-start;
1172
+ align-items: center;
1173
+ width: 100%;
1174
+ color: ${e=>e.isHoveredByParent?e.theme.colors.primary:e.theme.colors.hero};
1175
+ &:hover {
1176
+ color: ${e=>e.theme.colors.primary};
1177
+ }
1178
+ `,fi=a.div`
1179
+ display: flex;
1180
+ flex-direction: column;
1181
+ `,mi=a.div`
1182
+ display: flex;
1183
+ height: ${s.sp4};
1184
+ `,as=a.div`
1185
+ display: flex;
1186
+ flex-direction: row;
1187
+ justify-content: flex-start;
1188
+ `,ls=a(v)`
1189
+ min-width: ${ue};
1190
+ max-width: ${ue};
1191
+ text-align: right;
1192
+ margin-left: 12px;
1193
+ `,cs=a.div`
1194
+ display: flex;
1195
+ flex-direction: column;
1196
+ flex-shrink: 2;
1197
+ flex-grow: 1;
1198
+ align-items: center;
1199
+ width: ${Zn};
1200
+ max-width: ${Zn};
1201
+ padding-left: 67.5px;
1202
+ ${({isSticky:e})=>e?T`
1203
+ position: sticky;
1204
+ top: ${s.sp0};
1205
+ left: ${s.sp0};
1206
+ display: flex;
1207
+ `:null}
1208
+ `,ss=a.div`
1209
+ display: flex;
1210
+ height: ${s.sp4};
1211
+ width: 100%;
1212
+ `,ds=a.div`
1213
+ display: flex;
1214
+ flex-direction: row;
1215
+ flex-shrink: 2;
1216
+ flex-grow: 1;
1217
+ align-items: center;
1218
+ width: 100%;
1219
+ `,hs=a(be)`
1220
+ display: flex;
1221
+ width: ${gi};
1222
+ margin-left: ${s.sp3};
1223
+ color: ${e=>e.theme.colors.hero};
1224
+ `,us=a(be)`
1225
+ display: flex;
1226
+ width: ${gi};
1227
+ margin-left: ${s.sp4};
1228
+ color: ${e=>e.theme.colors.hero};
1229
+ `,gs=a(v)`
1230
+ clear: both;
1231
+ display: flex;
1232
+ overflow: hidden;
1233
+ white-space: nowrap;
1234
+ text-overflow: ellipsis;
1235
+ text-align: left;
1236
+ margin-left: 2px;
1237
+ width: ${dt};
1238
+ max-width: ${dt};
1239
+ `,ps=a(v)`
1240
+ display: flex;
1241
+ align-items: center;
1242
+ overflow: hidden;
1243
+ white-space: nowrap;
1244
+ text-overflow: ellipsis;
1245
+ text-align: left;
1246
+ margin-left: ${s.sp4};
1247
+ margin-right: ${s.sp3};
1248
+ width: ${dt};
1249
+ max-width: ${dt};
1250
+ `,xs=a.div`
1251
+ display: flex;
1252
+ margin-left: ${s.sp7};
1253
+ margin-right: calc(
1254
+ ${ye} +
1255
+ ${xt}
1256
+ );
1257
+ `,fs=a.div`
1258
+ position: sticky;
1259
+ left: 0;
1260
+ background-color: ${e=>e.theme.colors.grey4};
1261
+ display: flex;
1262
+ `,ms=a.div`
1263
+ overflow-x: auto;
1264
+ display: flex;
1265
+ flex: 1;
1266
+ justify-content: flex-end;
1267
+ `,ws=({isBalanceRowFirstNode:e=!1,balance:n})=>{const o=n!=null;return t.jsxs(fi,{children:[e?t.jsx(mi,{}):null,t.jsx(as,{children:t.jsx(ls,{isClickable:o,children:J(n)})})]})};function ys({varianceAmount:e,variancePercentage:n,currency:o,isSticky:i,balances:r,isScrolling:l,nodeMetadata:c,isLeaf:d,isLastNode:g,accountAndClass:u,isHoveredByParent:p}){const{common:{strings:{hyphen:h}}}=M.getLocalizedStrings(),x=u.accountBase?.accountDescription?u.accountBase?.accountDescription:h,f=u.accountBase?.accountName?u.accountBase?.accountName:x,w=u.classBase?.className?u.classBase?.className:h,m=c?.accountAndClassRowMetadata.isLastNode;return t.jsxs(is,{children:[t.jsxs(rs,{style:{cursor:"default"},isHoveredByParent:p,children:[t.jsx(fs,{children:t.jsxs(cs,{className:"flux-class-and-account-value-container",isSticky:i,children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsxs(ss,{children:[t.jsx(hi,{height:Jc}),t.jsx(hs,{children:eo.common.texts.category}),t.jsx(us,{children:eo.common.texts.class})]}),t.jsxs(ds,{children:[m===!0?t.jsx(Yc,{height:Qc}):t.jsx(Uc,{}),t.jsx(gs,{title:f,children:f}),t.jsx(ps,{title:w,children:w})]})]})}),t.jsx(ms,{children:t.jsxs(xs,{children:[r.map((b,k)=>t.jsx(ws,{balance:b,isBalanceRowFirstNode:c?.accountAndClassRowMetadata.isFirstNode},k)),t.jsxs(fi,{children:[!!c?.accountAndClassRowMetadata.isFirstNode&&t.jsx(mi,{}),t.jsx(ft,{amount:e,percentage:n,currency:o})]})]})})]}),t.jsx(bs,{isScrolling:l,isLeaf:d,isLastNode:g,isParentLastChild:c?.isVendorLastChild??!0})]})}function bs({isScrolling:e,isLastNode:n,isParentLastChild:o}){return n&&o?t.jsx(Wt,{isScrolling:e,kind:"vendor_separator"}):n?t.jsx(Wt,{isScrolling:e,kind:"account_class_row_separator"}):null}function ks(){return t.jsxs(js,{children:[t.jsxs(Cs,{children:[t.jsxs(Se,{width:Qn,className:"vendor-title",children:[t.jsx(ze,{width:S[4],height:S[4]}),t.jsx(K,{width:Jn,height:S[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})]}),t.jsx(Se,{width:Qn,children:t.jsx(K,{width:Jn,height:S[4],style:{display:"flex",alignItems:"baseline",marginLeft:s.sp2}})})]}),t.jsxs(Ss,{children:[t.jsx(Se,{width:Ne,children:t.jsx(K,{width:Oe,height:S[4],style:{display:"flex",alignItems:"center"}})}),t.jsx(Se,{width:Ne,children:t.jsx(K,{width:Oe,height:S[4],style:{display:"flex",alignItems:"flex-start"}})}),t.jsxs(Se,{width:pi,children:[t.jsx(K,{width:Oe,height:S[4],style:{display:"flex",alignItems:"center"}}),t.jsx(K,{width:S[7],height:S[4],style:{display:"flex",alignItems:"flex-start",marginLeft:s.sp1}})]}),t.jsx(Se,{width:Ne,children:t.jsx(K,{width:70,height:S[4],style:{display:"flex",alignItems:"center",justifyContent:"center"}})})]})]})}const js=a.div`
1268
+ display: flex;
1269
+ flex-direction: row;
1270
+ width: 100%;
1271
+ margin-left: ${s.sp8};
1272
+ .vendor-title {
1273
+ justify-content: flex-start;
1274
+ }
1275
+ `,Se=a.div`
1276
+ display: flex;
1277
+ flex-direction: row;
1278
+ align-items: center;
1279
+ min-width: ${e=>e.width};
1280
+ color: ${e=>e.theme.colors.primary};
1281
+ background-color: ${e=>e.theme.colors.grey4};
1282
+ justify-content: flex-end;
1283
+
1284
+ :last-of-type {
1285
+ justify-content: center;
1286
+ }
1287
+ `,Ss=a.div`
1288
+ display: flex;
1289
+ `,Cs=a.div`
1290
+ display: flex;
1291
+ width: ${gn};
1292
+ position: sticky;
1293
+ left: ${s.sp8};
1294
+ top: 0;
1295
+ z-index: 10;
1296
+ `,_s=a.div`
1297
+ display: flex;
1298
+ flex: 1 1 auto;
1299
+ width: fit-content;
1300
+ min-width: 100%;
1301
+ flex-direction: column;
1302
+ height: ${e=>e.heightValue}px;
1303
+ background-color: ${e=>e.bgColor?.hex()};
1304
+ `,vs=a.div`
1305
+ display: flex;
1306
+ flex: 1 1 auto;
1307
+ flex-flow: row;
1308
+ justify-content: flex-start;
1309
+ align-items: center;
1310
+ `,$s=a.div`
1311
+ display: flex;
1312
+ flex-direction: row;
1313
+ justify-content: flex-start;
1314
+ `,Ls=a(v)`
1315
+ max-width: ${ue};
1316
+ min-width: ${ue};
1317
+ text-align: right;
1318
+ margin-left: ${pt};
1319
+ color: ${({color:e})=>e};
1320
+ `,Bs=a.div`
1321
+ display: flex;
1322
+ flex-direction: row;
1323
+ flex-shrink: 2;
1324
+ align-items: center;
1325
+ height: 100%;
1326
+ width: ${qn};
1327
+ min-width: ${qn};
1328
+ background-color: ${e=>e.bgColor?.hex()};
1329
+ ${({isSticky:e})=>e&&T`
1330
+ position: sticky;
1331
+ top: ${s.sp0};
1332
+ left: ${s.sp0};
1333
+ `}
1334
+ `,As=a(v)`
1335
+ clear: both;
1336
+ display: inline-block;
1337
+ overflow: hidden;
1338
+ white-space: nowrap;
1339
+ text-overflow: ellipsis;
1340
+ text-align: left;
1341
+ margin-left: ${s.sp2};
1342
+ color: ${({color:e})=>e};
1343
+ `,Os=a(Yt)`
1344
+ color: ${e=>e.theme.colors.primary};
1345
+ width: ${s.sp3};
1346
+ height: ${s.sp3};
1347
+ `,Ns=a.div`
1348
+ display: flex;
1349
+ &:hover {
1350
+ .flux-section-checkbox {
1351
+ background-color: transparent;
1352
+ }
1353
+ }
1354
+ `,Ms=a.div`
1355
+ display: flex;
1356
+ width: ${s.sp8};
1357
+ `,Is=a.div`
1358
+ display: flex;
1359
+ margin-left: ${s.sp7};
1360
+ flex: 1 1 auto;
1361
+ justify-content: flex-end;
1362
+ margin-right: calc(
1363
+ ${ye} +
1364
+ ${xt}
1365
+ );
1366
+ `,Ws=({balance:e,color:n})=>t.jsx($s,{children:t.jsx(Ls,{color:n,children:J(e)})}),Ps=cr.memo(function({currency:e,sectionId:n,selectedSectionsIds:o,backgroundColor:i,isSticky:r,treeNodeId:l,height:c,sectionName:d,hasVendors:g,sectionBalances:u,varianceAmount:p,variancePercentage:h,sectionColor:x,isScrolling:f,isOpen:w,isLeaf:m,idsForReview:b,sectionToggled:k,onSectionCheckboxClick:C}){const _=I(),[$,B]=z.useState(b.length>0),[A,P]=z.useState(!1),V=o.includes(n),D=!m,Y=b.length===20&&!V,X=d?.[0]?.toUpperCase()??"",ee=z.useCallback(Z=>{C?.(n,Z.target.checked)},[n,C]);return t.jsxs(_s,{heightValue:c,bgColor:i,children:[t.jsxs(vs,{style:{cursor:D?"pointer":"default"},onClick:()=>k?.(l),onMouseOver:()=>{P(!0),B(!0)},onMouseLeave:()=>{P(!1),b.length===0&&B(!1)},children:[t.jsxs(Bs,{className:"flux-section-name-container",isSticky:r,windowSize:_,bgColor:i,children:[g&&$&&w?t.jsx(Ns,{children:t.jsx(Et,{"aria-label":`Toggle section ${d}`,className:"flux-section-checkbox",icon:t.jsx(Rt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(Os,{}),checked:V,id:l,disabled:Y,onChange:ee,onClick:Z=>Z.stopPropagation(),style:{padding:"20px",pointerEvents:Y?"none":"auto"}})}):t.jsx(Ms,{}),t.jsx(ke,{color:O(x),showCollapsedIcon:!w,showIcon:A&&D,firstLetter:X}),t.jsx(As,{color:x.toString(),children:d})]}),t.jsxs(Is,{children:[u.map((Z,de)=>t.jsx(Ws,{sectionName:d,balance:Z,color:x.toString()},de)),t.jsx(ft,{amount:p,percentage:h,currency:e})]})]}),t.jsx(Fs,{isScrolling:f,isLeaf:m,isOpen:w})]})});function Fs({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(Wt,{isScrolling:e,kind:"section_row_separator"}):null}function zs(){const e=I();return t.jsxs(Ts,{windowSize:e,children:[t.jsx(ve,{windowSize:e,width:gn,marginRight:0,children:t.jsx(K,{width:S[9],height:S[4],style:{display:"flex",alignItems:"baseline"}})}),t.jsx(ve,{windowSize:e,width:Ne,marginRight:0,children:t.jsx(K,{width:128,height:S[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(ve,{windowSize:e,width:Ne,marginRight:0,children:t.jsx(K,{width:Oe,height:S[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(ve,{windowSize:e,width:pi,children:t.jsx(K,{width:184,height:S[6],style:{display:"flex",alignItems:"center"}})}),t.jsx(ve,{windowSize:e,width:es,children:t.jsx(K,{width:Oe,height:S[6],style:{display:"flex",alignItems:"center"}})})]})}const Ts=a.div`
1367
+ display: flex;
1368
+ flex-direction: row;
1369
+ width: 100%;
1370
+ margin-left: ${s.sp8};
1371
+ `,ve=a.div`
1372
+ display: flex;
1373
+ flex-direction: row;
1374
+ align-items: center;
1375
+ margin-right: ${e=>e.marginRight!=null?`${e.marginRight}px`:s.sp4};
1376
+ min-width: ${e=>e.width};
1377
+ color: ${e=>e.theme.colors.primary};
1378
+ background-color: ${e=>e.theme.colors.grey4};
1379
+ justify-content: flex-end;
1380
+ :first-of-type {
1381
+ justify-content: flex-start;
1382
+ }
1383
+ `,{common:Vs,expenseAutomation:{fluxAnalysis:Ds},vendors:{opExByVendor:Gs}}=M.getLocalizedStrings(),Es=a.div`
1384
+ display: flex;
1385
+ flex: 1 1 auto;
1386
+ width: fit-content;
1387
+ min-width: 100%;
1388
+ height: ${e=>`${e.heightValue}px`};
1389
+ flex-flow: row;
1390
+ justify-content: flex-start;
1391
+ align-items: center;
1392
+ background-color: ${e=>e.bgColor?.hex()};
1393
+ `,Pt=a.div`
1394
+ display: flex;
1395
+ max-height: ${s.sp8};
1396
+ min-height: ${s.sp8};
1397
+ min-width: ${e=>e.width!=null?e.width:ui};
1398
+ justify-content: center;
1399
+ align-items: center;
1400
+ background-color: ${e=>e.theme.colors.background};
1401
+ border: 1px solid ${e=>e.theme.colors.grey3};
1402
+ border-radius: ${s.sp2};
1403
+ margin-left: ${pt};
1404
+ color: ${e=>e.theme.colors.primary};
1405
+ cursor: ${e=>e.isClickable?"pointer":"default"};
1406
+ `,Rs=a(v)`
1407
+ display: flex;
1408
+ flex-direction: row;
1409
+ justify-content: center;
1410
+ align-items: center;
1411
+ height: ${qc};
1412
+ max-width: ${ui};
1413
+ width: 138px;
1414
+ text-align: center;
1415
+ `,Hs=a.div`
1416
+ display: flex;
1417
+ cursor: pointer;
1418
+ `,Ks=a.div`
1419
+ display: flex;
1420
+ cursor: pointer;
1421
+ justify-content: center;
1422
+ align-items: center;
1423
+ color: ${e=>e.theme.colors.primary};
1424
+ `,Ys=a.div`
1425
+ display: flex;
1426
+ flex-direction: row;
1427
+ z-index: 1;
1428
+ background-color: ${e=>e.theme.colors.grey4};
1429
+ padding-left: ${s.sp8};
1430
+ ${({isSticky:e})=>e?T`
1431
+ top: ${s.sp0};
1432
+ left: ${s.sp0};
1433
+ display: flex;
1434
+ position: sticky;
1435
+ `:null};
1436
+ `,Us=a.div`
1437
+ height: ${s.sp8};
1438
+ display: flex;
1439
+ flex-direction: row;
1440
+ align-items: center;
1441
+ min-width: ${gn};
1442
+ color: ${e=>e.theme.colors.primary};
1443
+ background-color: ${e=>e.theme.colors.grey4};
1444
+ `,qs=a(v)`
1445
+ display: flex;
1446
+ gap: 6px;
1447
+ align-items: baseline;
1448
+ color: ${e=>e.isBulkSelected||e.isSortedByKey?e.theme.colors.primary:e.theme.colors.hero};
1449
+ `,Ft=a.div`
1450
+ display: flex;
1451
+ cursor: pointer;
1452
+ `,zt=a.div`
1453
+ color: ${e=>e.isBulkSelected||e.isSortedByKey?e.theme.colors.primary:e.theme.colors.hero};
1454
+ `,Tt=a(qt)`
1455
+ width: ${st};
1456
+ height: ${st};
1457
+ margin-left: ${s.sp2};
1458
+ margin-top: ${s.sp1};
1459
+ `,Vt=a(Zt)`
1460
+ width: ${st};
1461
+ height: ${st};
1462
+ margin-left: ${s.sp2};
1463
+ margin-top: ${s.sp1};
1464
+ `,Zs=a.div`
1465
+ display: flex;
1466
+ margin-left: ${s.sp7};
1467
+ flex: 1 1 auto;
1468
+ justify-content: flex-end;
1469
+ `,Js=({firstMonthOfFY:e,timeframeTick:n,timeframe:o})=>t.jsx(Pt,{isClickable:!1,children:t.jsx(Rs,{children:Ve(e,n,o)})}),Qs=({firstMonthOfFY:e,timeframeTick:n,timeframe:o})=>t.jsx(Js,{firstMonthOfFY:e,timeframeTick:n,timeframe:o}),Xs=({sortKey:e="vendor",sortOrder:n="ascending",isBulkSelected:o,onSortOrderChanged:i})=>{const r=e==="vendor"?n:"ascending";return t.jsx(qs,{isBulkSelected:o,isSortedByKey:e==="vendor",children:t.jsxs(Ft,{onClick:()=>{i(n==="ascending"?"descending":"ascending","vendor")},"data-testid":y("flux-analysis-report-timeframe-row-vendor-element-row"),children:[Gs.vendor,t.jsx(zt,{isBulkSelected:o,isSortedByKey:e==="vendor",children:r==="ascending"?t.jsx(Tt,{}):t.jsx(Vt,{})})]})})};function ed({backgroundColor:e,height:n,isBulkSelected:o,sortKey:i="vendor",sortOrder:r="ascending",firstMonthOfFY:l,timeframe:c,timeframeTicks:d,onSortOrderChanged:g}){const u=I();return t.jsxs(Es,{heightValue:n,bgColor:e,children:[t.jsx(Ys,{className:"flux-vendor-header-sticky",windowSize:u,isSticky:!0,children:t.jsx(Us,{windowSize:u,children:t.jsx(Xs,{sortKey:i,sortOrder:r,isBulkSelected:o,onSortOrderChanged:(p,h)=>{g?.(p,h)}})})}),t.jsxs(Zs,{children:[d.map((p,h)=>t.jsx(Qs,{firstMonthOfFY:l,timeframeTick:p,timeframe:c},h)),t.jsx(Pt,{isClickable:!1,width:Zc,children:t.jsxs(Ft,{onClick:()=>g?.(r==="ascending"?"descending":"ascending","variance"),"data-testid":y("flux-analysis-report-timeframe-row-varianceElement"),children:[t.jsx(Hs,{children:Ds.variance}),t.jsx(zt,{isBulkSelected:o,isSortedByKey:i==="variance",children:(i==="variance"?r:"ascending")==="ascending"?t.jsx(Tt,{}):t.jsx(Vt,{})})]})}),t.jsx(Pt,{isClickable:!1,width:ye,children:t.jsxs(Ft,{onClick:()=>{g?.(r==="ascending"?"descending":"ascending","status")},"data-testid":y("flux-analysis-report-timeframe-row-status"),children:[t.jsx(Ks,{children:Vs.texts.reviewStatus}),t.jsx(zt,{isBulkSelected:o,isSortedByKey:i==="status",children:(i==="status"?r:"ascending")==="ascending"?t.jsx(Tt,{}):t.jsx(Vt,{})})]})})]})]})}const td=a.div`
1470
+ display: flex;
1471
+ flex: 1 1 auto;
1472
+ width: fit-content;
1473
+ min-width: 100%;
1474
+
1475
+ flex-direction: column;
1476
+ height: ${e=>`${e.heightValue}px`};
1477
+ background-color: ${e=>e.bgColor?.hex()};
1478
+ `,nd=a.div`
1479
+ cursor: default;
1480
+ user-select: none;
1481
+ display: flex;
1482
+ flex: 1 1 auto;
1483
+ flex-flow: row;
1484
+ justify-content: flex-start;
1485
+ align-items: center;
1486
+ `,od=a.div`
1487
+ display: flex;
1488
+ flex-direction: row;
1489
+ `,id=a.div`
1490
+ display: flex;
1491
+ flex-direction: row;
1492
+ justify-content: flex-start;
1493
+ align-items: center;
1494
+ margin-left: ${pt};
1495
+ `,rd=a(oe)`
1496
+ user-select: none;
1497
+ min-width: ${ue};
1498
+ max-width: ${ue};
1499
+ text-align: right;
1500
+ color: ${e=>e.theme.colors.hero};
1501
+ border: 1px solid transparent;
1502
+ `,ad=a.div`
1503
+ display: flex;
1504
+ flex-direction: row;
1505
+ align-items: center;
1506
+ flex-shrink: 2;
1507
+ flex-grow: 1;
1508
+ width: ${lt};
1509
+ max-width: ${lt};
1510
+ height: 100%;
1511
+ background-color: ${e=>e.theme.colors.grey4};
1512
+ position: sticky;
1513
+ left: ${s.sp8};
1514
+ top: 0;
1515
+ z-index: 10;
1516
+ `,ld=a(oe)`
1517
+ user-select: none;
1518
+ clear: both;
1519
+ display: inline-block;
1520
+ overflow: hidden;
1521
+ white-space: nowrap;
1522
+ text-overflow: ellipsis;
1523
+ text-align: left;
1524
+ color: ${e=>e.theme.colors.primary};
1525
+ `,cd=a.div`
1526
+ display: flex;
1527
+ width: ${ye};
1528
+ min-width: ${ye};
1529
+ justify-content: center;
1530
+ flex-direction: row;
1531
+ margin-left: ${xt};
1532
+ `,sd=a.div`
1533
+ display: flex;
1534
+ margin-left: ${s.sp7};
1535
+ flex: 1 1 auto;
1536
+ justify-content: flex-end;
1537
+ `,dd=({balance:e})=>t.jsx(id,{children:t.jsx(rd,{children:q("0,0",e?.balance)})});function hd({type:e,height:n,title:o,totalBalances:i,varianceAmount:r,variancePercentage:l,currency:c,backgroundColor:d}){return t.jsx(td,{"data-testid":y("total-row-root-container"),heightValue:n,bgColor:d,children:t.jsxs(nd,{"data-testid":y("total-row-container"),children:[t.jsx(ad,{className:"flux-total-row",children:t.jsx(ld,{children:o})}),t.jsxs(sd,{children:[t.jsx(od,{children:re(e)&&i.map((g,u)=>t.jsx(dd,{balance:g},u))}),t.jsx(ft,{amount:r,percentage:l,currency:c}),t.jsx(cd,{})]})]})})}const ud=a.div`
1538
+ display: flex;
1539
+ flex: 1 1 auto;
1540
+ width: fit-content;
1541
+ min-width: 100%;
1542
+ flex-direction: column;
1543
+ height: ${e=>`${e.heightValue}px`};
1544
+ background-color: ${e=>e.bgColor?.hex()};
1545
+ `,gd=a.div`
1546
+ user-select: none;
1547
+ display: flex;
1548
+ flex: 1 1 auto;
1549
+ flex-flow: row;
1550
+ justify-content: flex-start;
1551
+ align-items: center;
1552
+ cursor: pointer;
1553
+ color: ${e=>e.isRowExpanded?e.theme.colors.primary:e.theme.colors.hero};
1554
+ &:hover {
1555
+ color: ${e=>e.theme.colors.primary};
1556
+ .flux-vendor-chevron-icon,
1557
+ .flux-vendor-collapsable-chevron-icon,
1558
+ .flux-vendor-children-count {
1559
+ border: 1px solid ${e=>e.theme.colors.primary};
1560
+ }
1561
+ }
1562
+ .flux-vendor-chevron-icon,
1563
+ .flux-vendor-collapsable-chevron-icon,
1564
+ .flux-vendor-children-count {
1565
+ border: 1px solid
1566
+ ${e=>e.shouldHighlight?e.theme.colors.primary:e.theme.colors.hero};
1567
+ }
1568
+ `,pd=a.div`
1569
+ display: flex;
1570
+ flex-direction: row;
1571
+ justify-content: flex-start;
1572
+ align-items: center;
1573
+ margin-left: ${pt};
1574
+ `,xd=a(v)`
1575
+ user-select: none;
1576
+ min-width: ${ue};
1577
+ max-width: ${ue};
1578
+ text-align: right;
1579
+ `,fd=a.div`
1580
+ display: flex;
1581
+ flex-direction: row;
1582
+ align-items: center;
1583
+ flex-shrink: 2;
1584
+ flex-grow: 1;
1585
+ width: ${lt};
1586
+ max-width: ${lt};
1587
+ background-color: ${e=>e.bgColor?.hex()};
1588
+ ${({isSticky:e})=>e?T`
1589
+ position: -webkit-sticky;
1590
+ position: sticky;
1591
+ top: ${s.sp0};
1592
+ left: ${s.sp0};
1593
+ `:null}
1594
+ `,md=a(v)`
1595
+ user-select: none;
1596
+ clear: both;
1597
+ display: inline-block;
1598
+ overflow: hidden;
1599
+ white-space: nowrap;
1600
+ text-overflow: ellipsis;
1601
+ text-align: left;
1602
+ `,wd=a.div`
1603
+ display: flex;
1604
+ justify-content: space-between;
1605
+ flex-grow: 1;
1606
+ `,yd=a.div`
1607
+ display: flex;
1608
+ align-items: center;
1609
+ margin-left: 10px;
1610
+ `;a.div`
1611
+ display: flex;
1612
+ flex-shrink: 0;
1613
+ width: ${ct};
1614
+ min-width: ${ct};
1615
+ margin-left: 12px;
1616
+ gap: ${s.sp1};
1617
+ flex-direction: row;
1618
+ justify-content: flex-end;
1619
+ text-align: center;
1620
+ align-items: center;
1621
+ `;const bd=a(er)`
1622
+ width: 12px;
1623
+ height: 12px;
1624
+ `;a.div`
1625
+ height: ${s.sp4};
1626
+ border-radius: ${s.sp1};
1627
+ padding: 2px ${s.sp1};
1628
+ `,a.div`
1629
+ border-radius: ${s.sp1};
1630
+ padding: 2px ${s.sp1};
1631
+ height: ${s.sp4};
1632
+ justify-content: center;
1633
+ text-align: center;
1634
+ background-color: ${e=>e.bgColor.hex()};
1635
+ `;const kd=a.div`
1636
+ display: flex;
1637
+ margin-left: ${s.sp7};
1638
+ flex: 1 1 auto;
1639
+ justify-content: flex-end;
1640
+ `,jd=a.div`
1641
+ display: flex;
1642
+ flex-direction: column;
1643
+ align-items: center;
1644
+ padding-top: ${e=>e.isNodeOpen?s.sp3:s.sp0};
1645
+ `,Sd=a.div`
1646
+ display: flex;
1647
+ width: ${ye};
1648
+ min-width: ${ye};
1649
+ justify-content: center;
1650
+ flex-direction: row;
1651
+ margin-left: ${xt};
1652
+ `,Cd=a(be)`
1653
+ width: ${ue};
1654
+ max-width: ${ue};
1655
+ color: ${e=>e.theme.colors.primary};
1656
+ display: flex;
1657
+ flex: 1 0 auto;
1658
+ flex-direction: column;
1659
+ cursor: pointer;
1660
+ align-items: center;
1661
+ `,_d=a.div`
1662
+ color: ${e=>e.theme.colors.grey1};
1663
+ border: 1px solid ${e=>e.theme.colors.grey1};
1664
+ padding: ${s.sp0} 6px;
1665
+ border-radius: ${s.sp1};
1666
+ width: fit-content;
1667
+ display: flex;
1668
+ align-items: center;
1669
+ margin-right: ${s.sp2};
1670
+ `,vd=a(be)`
1671
+ overflow: hidden;
1672
+ text-overflow: ellipsis;
1673
+ `,$d=a.div`
1674
+ display: flex;
1675
+ width: ${s.sp8};
1676
+ height: ${s.sp8};
1677
+ &:hover {
1678
+ .flux-vendor-checkbox {
1679
+ background-color: transparent;
1680
+ }
1681
+ }
1682
+ `,Ld=a(Yt)`
1683
+ color: ${e=>e.theme.colors.primary};
1684
+ width: ${s.sp3};
1685
+ height: ${s.sp3};
1686
+ `,Bd=a(be)`
1687
+ display: flex;
1688
+ flex-direction: row;
1689
+ align-items: center;
1690
+ gap: 2px;
1691
+ color: ${e=>e.theme.colors.success};
1692
+ `,Ad=a(xo)`
1693
+ width: 12px;
1694
+ height: 12px;
1695
+ `,to=a(po)`
1696
+ margin-left: 2px;
1697
+ width: 12px;
1698
+ height: 12px;
1699
+ `,Od=a(Me)`
1700
+ display: flex;
1701
+ border-radius: 50%;
1702
+ width: ${s.sp4};
1703
+ height: ${s.sp4};
1704
+ text-align: center;
1705
+ align-items: center;
1706
+ justify-content: center;
1707
+ `,Nd=a(Me)`
1708
+ display: flex;
1709
+ border-radius: ${s.sp1};
1710
+ width: ${s.sp4};
1711
+ height: ${s.sp4};
1712
+ text-align: center;
1713
+ align-items: center;
1714
+ justify-content: center;
1715
+ margin-right: ${s.sp4};
1716
+ `,Md=a(Me)`
1717
+ display: flex;
1718
+ border-radius: 100px;
1719
+ width: 18px;
1720
+ height: 18px;
1721
+ justify-content: center;
1722
+ align-items: center;
1723
+ margin-left: ${s.sp1};
1724
+ `,{common:no,expenseAutomation:Id}=M.getLocalizedStrings(),Wd=({balance:e})=>{const n=xd;return t.jsx(pd,{children:t.jsx(n,{children:J(e)})})};function Pd({fluxAnalysisEntityId:e,idsForReview:n,backgroundColor:o,isSticky:i,treeNodeId:r,height:l,leftChevron:c,varianceAmount:d,variancePercentage:g,currency:u,vendorBalances:p,reviewedByUser:h,status:x,vendor:f,isOpen:w,childrenCount:m,setHoveredParentId:b,onClick:k,handleRedirectToVendorDetailPage:C,updateOperatingExpensesIdsForReview:_}){const[$,B]=z.useState(!1),[A,P]=z.useState(n.length>0),V=n.includes(e),D=n.includes(e),Y=c==="collapsed",X=n.length===20&&V===!1,ee=md;return t.jsx(ud,{heightValue:l,bgColor:o,children:t.jsxs(gd,{shouldHighlight:D,isRowExpanded:w,onClick:()=>k?.(r),onMouseOver:()=>{B(!0),P(!0),b?.(f.id)},onMouseLeave:()=>{B(!1),n.length===0&&P(!1),b?.(null)},children:[t.jsxs(fd,{className:"flux-vendor-name-container",bgColor:o,isSticky:i,children:[t.jsx($d,{className:"flux-vendor-checkbox-container",children:A?t.jsx(Et,{className:"flux-vendor-checkbox",icon:t.jsx(Rt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(Ld,{}),checked:V,name:f.name,id:e,disabled:X,onChange:Z=>{let de=n;de=Z.target.checked===!0?[...de,e]:de.filter(fe=>fe!==e),_?.(de)},onClick:Z=>Z.stopPropagation(),style:{padding:"20px",pointerEvents:X?"none":"auto"}}):null}),t.jsxs(jd,{isNodeOpen:w,children:[$?t.jsx(Od,{className:"flux-vendor-collapsable-chevron-icon",children:w===!1?t.jsx(to,{}):t.jsx(Ad,{})}):f.logo!=null?t.jsx(Ht,{photoUrl:f.logo.toString(),styles:{width:S[4],height:S[4]}}):t.jsx(Kt,{name:f.name,size:s.sp4}),w?t.jsx(hi,{height:Xc}):null]}),t.jsxs(wd,{children:[t.jsxs(yd,{children:[t.jsx(ee,{children:f.name}),w?null:t.jsx(Md,{className:"flux-vendor-children-count",children:t.jsx(Me,{children:m})})]}),$?t.jsx(z.Fragment,{children:t.jsx(Nd,{className:"flux-vendor-chevron-icon",onClick:()=>{C?.(f)},"data-testid":y("flux-analysis-report-vendorElement-row"),children:t.jsx(to,{})})}):null]})]}),t.jsxs(kd,{children:[p.map((Z,de)=>t.jsx(Wd,{balance:Z,collapsed:Y},de)),t.jsx(ft,{amount:d,percentage:g,currency:u}),t.jsx(Sd,{children:x==="Pending Review"?t.jsx(_d,{children:t.jsx(vd,{children:no.status.pending})}):t.jsx(t.Fragment,{children:t.jsx(Cd,{className:"vendor-flux-analysis-review-info",children:h!=null?t.jsxs(z.Fragment,{children:[t.jsxs(Bd,{children:[t.jsx(bd,{}),Id.fluxAnalysis.reviewedBy]}),t.jsx(Me,{children:Ui(h)})]}):no.strings.hyphen})})})]})]})})}const oo={generalExpense:{color:new O(N.graphColor04),hoverColor:new O(N.graphColor04Dark)},reimbursement:{color:new O(N.graphColor10),hoverColor:new O(N.graphColor10Dark)},default:{color:new O(te.neutralGrey2Dark),hoverColor:new O(te.neutralGrey2Dark)}},pn=(e,n)=>{const{element:o}=e;return o.kind===n&&o.data!=null},wi=e=>zc(e.balancesByMonth),Fd=(e,n,o,i,r,l,c,d,g,u,p)=>{if(!pn(n,"flux_vendor_row"))return null;const h=n.element.data,x=wi(h),f=xi("flux_vendor_row",g);return t.jsx(Pd,{backgroundColor:o,isSticky:i,treeNodeId:e,fluxAnalysisEntityId:h.fluxAnalysisEntityId,height:f,leftChevron:"collapsed",idsForReview:n.config.fluxAnalysisConfig?.reviewOpExIds??[],vendor:h.vendor,vendorBalances:x,varianceAmount:h.varianceAmount,variancePercentage:h.variancePercentage,status:h.status,currency:h.currency,isScrolling:r,isOpen:l,isLeaf:c,isLastNode:d,childrenCount:h.vendorAccountsAndClasses.length,onClick:w=>{(m=>{p?.(m),n.config.fluxAnalysisConfig?.updateNodeCollapsableStatus(m)})(w)},reviewedByUser:h.reviewedByUser,updateOperatingExpensesIdsForReview:n.config.fluxAnalysisConfig?.updateOperatingExpensesIdsForReview,handleRedirectToVendorDetailPage:n.config.fluxAnalysisConfig?.handleRedirectToVendorDetailPage,setHoveredParentId:u?.setHoveredParentId})},zd=(e,n,o,i,r,l,c,d,g,u)=>{if(!pn(n,"section"))return null;const p=((x,f)=>x.startsWith("flux_analysis_operating_expense")===!0&&f!=null?oo[f]:oo.default)(n.config.reportId,n.element.sectionType),h=n.element.data;return t.jsx(Ps,{backgroundColor:i,isSticky:r,treeNodeId:e,height:o,selectedSectionsIds:n.config.fluxAnalysisConfig?.reviewSectionIds??[],idsForReview:n.config.fluxAnalysisConfig?.reviewOpExIds??[],sectionColor:p.color,sectionName:n.element.title,sectionBalances:h.balances,varianceAmount:h.varianceAmount,variancePercentage:h.variancePercentage,currency:h.currency,isScrolling:l,isOpen:c,hasVendors:h.vendors.length>0,isLeaf:d,isLastNode:g,sectionToggled:x=>{(f=>{n.config.fluxAnalysisConfig?.onSectionRowClick(f),u?.(f)})(x)},onSectionCheckboxClick:n.config.fluxAnalysisConfig?.onSectionCheckboxClick,sectionId:h.sectionId})},Td=a.div`
1725
+ display: flex;
1726
+ flex: 1 1 auto;
1727
+ width: fit-content;
1728
+ min-width: 100%;
1729
+ flex-direction: column;
1730
+ background-color: ${e=>e.bgColor?.hex()};
1731
+ `,Vd=a.div`
1732
+ user-select: none;
1733
+ display: flex;
1734
+ flex: 1 1 auto;
1735
+ flex-flow: row;
1736
+ justify-content: flex-start;
1737
+ align-items: center;
1738
+ height: ${e=>e.height}px;
1739
+ margin-left: ${e=>20*e.level}px;
1740
+ `,Dd=a.div`
1741
+ display: flex;
1742
+ flex-direction: row;
1743
+ align-items: center;
1744
+ justify-content: space-between;
1745
+ &:hover {
1746
+ background-color: null;
1747
+ }
1748
+ width: 100%;
1749
+ `,Gd=a(qi)`
1750
+ width: 100%;
1751
+ display: flex;
1752
+ align-items: center;
1753
+ font-weight: ${e=>e.isSubclass?In.regular:In.medium};
1754
+ color: ${e=>e.checked?e.theme.colors.primary:e.theme.colors.hero};
1755
+ `,Ed=a(be)`
1756
+ display: flex;
1757
+ color: ${e=>e.theme.colors.primary};
1758
+ align-items: center;
1759
+ flex-direction: row;
1760
+ justify-content: center;
1761
+ height: 18px;
1762
+ border: 1px solid ${e=>e.theme.colors.primary};
1763
+ border-radius: ${s.sp1};
1764
+ margin: 0 ${s.sp5} 0 ${s.sp3};
1765
+ min-width: ${s.sp6};
1766
+ `,Rd=a(Yt)`
1767
+ color: ${e=>e.theme.colors.primary};
1768
+ width: ${s.sp3};
1769
+ height: ${s.sp3};
1770
+ `;function Hd({backgroundColor:e,treeNodeId:n,classId:o,isChecked:i,isDisabled:r,height:l,nestedClass:c,isLeaf:d,showClassAccountNumber:g,onClick:u,onToggleCheck:p}){const[h,x]=z.useState(!1);return t.jsx(Td,{"data-testid":y("name-with-checkbox-row-root-container",n),bgColor:e,children:t.jsxs(Vd,{"data-testid":y("name-with-checkbox-row-container",n),height:l,isClickable:!d,onClick:()=>u?.(n),onMouseOver:()=>x(!0),onMouseLeave:()=>x(!1),level:c.classId.length,children:[t.jsx(Et,{"data-testid":y("name-with-checkbox-row-checkbox",c.classId.toString()),icon:t.jsx(Rt,{width:s.sp3,height:s.sp3}),checkedIcon:t.jsx(Rd,{}),checked:i,name:c.className,id:n,disabled:r,onChange:f=>{p?.(o,f.target.checked)},style:{height:s.sp6}})," ",t.jsx(Dd,{children:t.jsxs(Gd,{"data-testid":y("name-with-checkbox-row-label-container",n),checked:i,isSubclass:c.classId.length>1,children:[t.jsx("label",{"data-testid":y("name-with-checkbox-row-label",c.classId.toString()),style:{flexGrow:2,cursor:"pointer"},onClick:()=>{p?.(o,!i)},children:c.className}),h===!0&&g===!0&&c.accountingClassNumber!=null&&t.jsx(Ed,{children:c.accountingClassNumber})]})})]})})}const W={balanceHeight:s.sp4,balanceWidth:"166px",balanceLeftMargin:s.sp4,titleWidth:new G(200,270,270),categoryClassWidth:new G(230,230,240),nameLogoWidth:new G(S[4],S[4]),nameLogoHeight:new G(S[4],S[4])},Kd=a.div`
1771
+ user-select: none;
1772
+ display: flex;
1773
+ flex: 1 1 auto;
1774
+ width: fit-content;
1775
+ min-width: 100%;
1776
+ height: ${e=>e.height}px;
1777
+ flex-flow: row;
1778
+ justify-content: flex-start;
1779
+ align-items: center;
1780
+ background-color: ${e=>e.bgColor?.hex()};
1781
+ `,Yd=a.div`
1782
+ user-select: none;
1783
+ display: flex;
1784
+ flex: 1 1 auto;
1785
+ width: 100vw;
1786
+ min-width: 100%;
1787
+ height: ${e=>e.height}px;
1788
+ flex-flow: row;
1789
+ align-items: center;
1790
+ justify-content: center;
1791
+ background-color: ${e=>e.bgColor?.hex()};
1792
+ `,Ud=a.div`
1793
+ display: flex;
1794
+ flex: 1 0 auto;
1795
+ flex-direction: row;
1796
+ justify-content: flex-end;
1797
+ `,io=a(v)`
1798
+ color: ${e=>e.theme.colors.hero};
1799
+ flex-grow: 1;
1800
+ -webkit-box-orient: vertical;
1801
+ justify-content: ${e=>e.isClubbed===!0?"unset":"flex-end"};
1802
+ display: flex;
1803
+ min-width: ${W.balanceWidth};
1804
+ max-width: ${W.balanceWidth};
1805
+ margin-left: ${e=>e.isClubbed===!0?s.sp2:W.balanceLeftMargin};
1806
+ border: 1px solid transparent;
1807
+ `,ro=a(v)`
1808
+ color: ${e=>e.theme.colors.hero};
1809
+ flex-grow: 1;
1810
+ -webkit-box-orient: vertical;
1811
+ justify-content: "unset";
1812
+ display: flex;
1813
+ min-width: ${e=>W.categoryClassWidth.valuePx(e.windowSize)};
1814
+ `,qd=a.div`
1815
+ height: 100%;
1816
+ display: flex;
1817
+ flex-direction: row;
1818
+ align-items: center;
1819
+ min-width: ${e=>W.titleWidth.valuePx(e.windowSize)};
1820
+ color: ${e=>e.theme.colors.primary};
1821
+ background-color: ${e=>e.bgColor?.hex()};
1822
+ ${({isSticky:e})=>e?T`
1823
+ position: -webkit-sticky;
1824
+ position: sticky;
1825
+ top: ${s.sp0};
1826
+ left: ${s.sp0};
1827
+ z-index: 20;
1828
+ `:null}
1829
+ `;function Zd({backgroundColor:e,isSticky:n,height:o,isAccountColumnShown:i,isClassColumnShown:r,timeframeTicks:l}){const c=I();return l.length>0?t.jsxs(Kd,{height:o,bgColor:e,"data-testid":y("opex-vendor-loading-in-progress-row"),children:[t.jsxs(qd,{"data-testid":y("opex-vendor-loading-in-progress-row-name"),isSticky:n,windowSize:c,bgColor:e,children:[t.jsx(ze,{width:S[4],height:S[4]}),t.jsx(io,{windowSize:c,isClubbed:!0,children:t.jsx(K,{width:120,height:S[4]})})]}),t.jsxs(Ud,{children:[i?t.jsx(ro,{windowSize:c,children:t.jsx(K,{width:120,height:S[4]})}):null,r?t.jsx(ro,{windowSize:c,children:t.jsx(K,{width:120,height:S[4]})}):null,l.map((d,g)=>t.jsx(io,{windowSize:c,children:t.jsx(K,{width:120,height:S[4]})},`${g}RowItem`))]})]}):t.jsx(Yd,{height:o,bgColor:e,children:t.jsx(Yi,{size:"Small",start:!0})})}const Jd=a.div`
1830
+ user-select: none;
1831
+ display: flex;
1832
+ flex: 1 1 auto;
1833
+ width: fit-content;
1834
+ min-width: 100%;
1835
+ height: ${e=>e.height}px;
1836
+ flex-flow: row;
1837
+ justify-content: flex-start;
1838
+ align-items: center;
1839
+ background-color: ${e=>e.bgColor?.hex()};
1840
+ `,At=a.div``,Qd=a.div`
1841
+ display: flex;
1842
+ flex: 1 0 auto;
1843
+ flex-direction: row;
1844
+ justify-content: flex-end;
1845
+ `,Xd=a(v)`
1846
+ user-select: none;
1847
+ clear: both;
1848
+ display: inline-block;
1849
+ overflow: hidden;
1850
+ white-space: nowrap;
1851
+ text-overflow: ellipsis;
1852
+ text-align: left;
1853
+ margin-left: ${s.sp2};
1854
+ color: ${e=>e.theme.colors.hero};
1855
+ `,eh=a(v)`
1856
+ color: ${e=>e.theme.colors.hero};
1857
+ flex-grow: 1;
1858
+ -webkit-box-orient: vertical;
1859
+ display: flex;
1860
+ min-width: ${W.balanceWidth};
1861
+ max-width: ${W.balanceWidth};
1862
+ border: 1px solid transparent;
1863
+ `,ao=a(v)`
1864
+ color: ${e=>e.theme.colors.hero};
1865
+ flex-grow: 1;
1866
+ -webkit-box-orient: vertical;
1867
+ justify-content: "unset";
1868
+ display: flex;
1869
+ min-width: ${e=>W.categoryClassWidth.valuePx(e.windowSize)};
1870
+ `,th=a.div`
1871
+ height: 100%;
1872
+ display: flex;
1873
+ flex-direction: row;
1874
+ align-items: center;
1875
+ min-width: ${e=>W.titleWidth.valuePx(e.windowSize)};
1876
+ color: ${e=>e.theme.colors.primary};
1877
+ background-color: ${e=>e.bgColor?.hex()};
1878
+ ${({isSticky:e})=>e?T`
1879
+ position: -webkit-sticky;
1880
+ position: sticky;
1881
+ top: ${s.sp0};
1882
+ left: ${s.sp0};
1883
+ z-index: 20;
1884
+ `:null}
1885
+ `;function nh({backgroundColor:e,isSticky:n,height:o,isAccountColumnShown:i,isClassColumnShown:r,timeframeTicks:l}){const c=I();return t.jsxs(Jd,{height:o,bgColor:e,"data-testid":y("no-results-found-title-row"),children:[t.jsx(th,{isSticky:n,windowSize:c,bgColor:e,children:t.jsx(Xd,{children:M.getLocalizedStrings().vendors.opExByVendor.noResultsFound})}),t.jsxs(Qd,{children:[i?t.jsx(ao,{windowSize:c,children:t.jsx(At,{})}):null,r?t.jsx(ao,{windowSize:c,children:t.jsx(At,{})}):null,l.map((d,g)=>t.jsx(eh,{windowSize:c,children:t.jsx(At,{children:" "})},`${g}RowItem`))]})]})}function xn({title:e,selectedMode:n,onCompareModeChanged:o,backgroundColor:i,optionBackgroundColor:r,selectedOptionBackgroundColor:l,optionTextStyle:c,titleTextStyle:d,titleTextAlignment:g,titleColor:u,menuPosition:p}){return t.jsx(tr,{title:e,pickerValues:["compare_mode_percent","compare_mode_amount"],valueToLabel:h=>M.getLocalizedStrings().compareMode[h],selectedValue:n,onPickerSelectionChanged:h=>o(h),optionTextStyle:c,titleTextStyle:d,titleTextAlignment:g,titleColor:u,optionBackgroundColor:r,selectedOptionBackgroundColor:l,backgroundColor:i??"inherit",menuPosition:p})}const oh=s.sp4,lo=170,ih=(s.sp4,a.div`
1886
+ margin-left: ${s.sp4};
1887
+ `),rh=a.div`
1888
+ display: flex;
1889
+ max-height: 54px;
1890
+ min-height: 54px;
1891
+ align-items: center;
1892
+ justify-content: center;
1893
+ max-width: ${lo-2}px;
1894
+ min-width: ${lo-2}px;
1895
+ background-color: ${e=>e.theme.colors.background};
1896
+ border: 1px solid ${e=>e.theme.colors.grey3};
1897
+ border-radius: ${s.sp2};
1898
+ color: ${e=>e.theme.colors.primary};
1899
+ `,ah=a(v)`
1900
+ display: flex;
1901
+ user-select: none;
1902
+ flex-direction: row;
1903
+ justify-content: center;
1904
+ align-items: center;
1905
+ height: ${oh};
1906
+ `,lh=a.div`
1907
+ display: flex;
1908
+ flex-direction: row;
1909
+ justify-content: center;
1910
+ align-items: center;
1911
+ padding: 3px 6px;
1912
+ margin-right: ${s.sp2};
1913
+ position: relative;
1914
+ top: -12px;
1915
+ `,ch=a(lr)`
1916
+ color: ${e=>e.tagType==="under_review"?te.neutralGrey5Light:e.theme.mode==="light"?te.primaryDark:te.primaryLight};
1917
+ border-radius: ${s.sp2};
1918
+ padding: 3px 6px;
1919
+ margin-left: 12px;
1920
+ background: ${e=>e.tagType==="under_review"?te.alertDark:e.theme.mode==="light"?te.championLight:te.championDark};
1921
+ `,sh=a(ar)`
1922
+ color: ${e=>e.theme.colors.hero};
1923
+ margin-left: 5px;
1924
+ height: ${s.sp3};
1925
+ width: ${s.sp3};
1926
+ margin-top: ${s.sp1};
1927
+ `;function yi({firstMonthOfFY:e,timeframeTick:n,timeframe:o,tagName:i,infoContent:r,tagType:l}){return t.jsxs(ih,{children:[t.jsxs(rh,{children:[t.jsx(ah,{children:Ve(e,n,o)}),t.jsx(rr,{style:{padding:s.sp3},title:r,placement:"top",children:t.jsx(sh,{})})]}),t.jsx(lh,{children:t.jsx(ch,{tagType:l,children:i})})]})}const bi=(e,n)=>{const o=M.getLocalizedStrings().reports;switch(n){case"month":return e!=null?e==="under_review"?o.bookCloseUnderReviewInfoMonth:o.bookCloseIncompleteInfoMonth:void 0;case"quarter":return e!=null?e==="under_review"?o.bookCloseUnderReviewInfoQuarter:o.bookCloseIncompleteInfoQuarter:void 0;case"year":return e!=null?e==="under_review"?o.bookCloseUnderReviewInfoYear:o.bookCloseIncompleteInfoYear:void 0;default:return}},dh=a.div`
1928
+ user-select: none;
1929
+ display: flex;
1930
+ flex: 1 1 auto;
1931
+ width: fit-content;
1932
+ min-width: 100%;
1933
+ height: ${e=>e.height}px;
1934
+ flex-flow: row;
1935
+ justify-content: flex-start;
1936
+ align-items: center;
1937
+ background-color: ${e=>e.bgColor?.hex()};
1938
+ `,hh=a.div`
1939
+ display: flex;
1940
+ flex: 1 0 auto;
1941
+ flex-direction: row;
1942
+ justify-content: flex-end;
1943
+ `,ki=a.div`
1944
+ display: flex;
1945
+ max-height: ${s.sp8};
1946
+ min-height: ${s.sp8};
1947
+ min-width: ${W.balanceWidth};
1948
+ justify-content: center;
1949
+ align-items: center;
1950
+ background-color: ${e=>e.theme.colors.background};
1951
+ border: 1px solid ${e=>e.theme.colors.grey3};
1952
+ border-radius: ${s.sp2};
1953
+ margin-left: ${W.balanceLeftMargin};
1954
+ color: ${e=>e.theme.colors.primary};
1955
+ cursor: ${e=>e.isClickable===!0?"pointer":"default"};
1956
+ `,ji=a(v)`
1957
+ display: flex;
1958
+ user-select: none;
1959
+ flex-direction: row;
1960
+ justify-content: center;
1961
+ align-items: center;
1962
+ height: ${W.balanceHeight};
1963
+ max-width: ${W.balanceWidth};
1964
+ width: 138px;
1965
+ text-align: center;
1966
+ `,uh=a.div`
1967
+ display: flex;
1968
+ flex-direction: row;
1969
+ z-index: 1;
1970
+ background-color: ${e=>e.bgColor?.hex()};
1971
+ ${({isSticky:e})=>e?T`
1972
+ position: -webkit-sticky;
1973
+ position: sticky;
1974
+ top: ${s.sp0};
1975
+ left: ${s.sp0};
1976
+ z-index: 1;
1977
+ `:null}
1978
+ `,gh=a.div`
1979
+ max-height: ${e=>e.plHeight}px;
1980
+ min-height: ${e=>e.plHeight}px;
1981
+ display: flex;
1982
+ flex-direction: row;
1983
+ align-items: center;
1984
+ min-width: ${e=>W.titleWidth.valuePx(e.windowSize)};
1985
+ color: ${e=>e.theme.colors.primary};
1986
+ background-color: ${e=>e.bgColor?.hex()};
1987
+ `,ph=a(v)`
1988
+ display: flex;
1989
+ gap: 6px;
1990
+ align-items: baseline;
1991
+ color: ${e=>e.selectedForSort?e.theme.colors.primary:e.theme.colors.grey1};
1992
+ `,Si=a(v)`
1993
+ height: 100%;
1994
+ align-self: center;
1995
+ align-items: baseline;
1996
+ min-width: ${e=>W.categoryClassWidth.valuePx(e.windowSize)};
1997
+ color: ${e=>e.selectedForSort?e.theme.colors.primary:e.theme.colors.grey1};
1998
+ background-color: ${e=>e.bgColor?.hex()};
1999
+ display: flex;
2000
+ gap: 6px;
2001
+ align-items: center;
2002
+ `,fn=a.div`
2003
+ display: flex;
2004
+ cursor: pointer;
2005
+ `,xh=a.div`
2006
+ display: flex;
2007
+ justify-content: center;
2008
+ align-items: center;
2009
+ color: ${e=>e.theme.colors.champion};
2010
+ `,fh=a.div``,mh=a(v)`
2011
+ display: flex;
2012
+ justify-content: center;
2013
+ align-items: center;
2014
+ max-height: ${s.sp8};
2015
+ min-height: ${s.sp8};
2016
+ background-color: ${e=>e.theme.colors.background};
2017
+ border: 1px solid ${e=>e.theme.colors.grey3};
2018
+ border-radius: ${s.sp2};
2019
+ margin-left: ${W.balanceLeftMargin};
2020
+ color: ${e=>e.theme.colors.primary};
2021
+ width: ${W.balanceWidth};
2022
+ min-width: ${W.balanceWidth};
2023
+ `,Ci=a.div`
2024
+ max-height: ${s.sp8};
2025
+ min-height: ${s.sp8};
2026
+ `,mt=a.div`
2027
+ color: ${e=>e.selectedForSort?e.theme.colors.primary:e.theme.colors.hero};
2028
+ `,wt=a(Zt)`
2029
+ width: 12px;
2030
+ height: 12px;
2031
+ margin-left: ${s.sp2};
2032
+ margin-top: ${s.sp1};
2033
+ `,yt=a(qt)`
2034
+ width: 12px;
2035
+ height: 12px;
2036
+ margin-left: ${s.sp2};
2037
+ margin-top: ${s.sp1};
2038
+ `,mn=a(yo)`
2039
+ width: 12px;
2040
+ height: 12px;
2041
+ cursor: pointer;
2042
+ color: ${e=>e.theme.colors.hero};
2043
+ `,_i=({sortOrder:e,sortKey:n,onSortOrderChanged:o})=>{const i=n==="totals"?e:"ascending";return t.jsx(Ci,{"data-testid":y("period-total-tick"),children:t.jsx(ki,{"data-testid":y("period-total-tick-element"),onClick:()=>{o(bt("totals",e,n),"totals")},isClickable:!0,children:t.jsxs(ji,{children:[M.getLocalizedStrings().vendors.opExByVendor.periodTotal,t.jsx(mt,{selectedForSort:n==="totals",children:i==="ascending"?t.jsx(yt,{}):t.jsx(wt,{})})]})})})},wh=({sortKey:e="totals",sortOrder:n="ascending",onSortOrderChanged:o,onSortCancel:i})=>{const r=e==="vendor"?n:"ascending";return t.jsxs(ph,{selectedForSort:e==="vendor",children:[t.jsxs(fn,{onClick:()=>{o(bt("vendor",n,e),"vendor")},children:[M.getLocalizedStrings().vendors.opExByVendor.vendor,t.jsx(mt,{selectedForSort:e==="vendor",children:r==="ascending"?t.jsx(yt,{}):t.jsx(wt,{})})]}),e==="vendor"?t.jsx(mn,{onClick:i}):null]})},yh=({sortKey:e="totals",sortOrder:n="ascending",onSortOrderChanged:o,onSortCancel:i})=>{const r=e==="account"?n:"ascending",l=I();return t.jsxs(Si,{selectedForSort:e==="account",windowSize:l,children:[t.jsxs(fn,{onClick:()=>{o(bt("account",n,e),"account")},children:[M.getLocalizedStrings().vendors.opExByVendor.category,t.jsx(mt,{selectedForSort:e==="account",children:r==="ascending"?t.jsx(yt,{}):t.jsx(wt,{})})]}),e==="account"?t.jsx(mn,{onClick:i}):null]})},bh=({sortKey:e="totals",sortOrder:n="ascending",onSortOrderChanged:o,onSortCancel:i})=>{const r=e==="class"?n:"ascending",l=I();return t.jsxs(Si,{selectedForSort:e==="class",windowSize:l,children:[t.jsxs(fn,{onClick:()=>{o(bt("class",n,e),"class")},children:[M.getLocalizedStrings().vendors.opExByVendor.class,t.jsx(mt,{selectedForSort:e==="class",children:r==="ascending"?t.jsx(yt,{}):t.jsx(wt,{})})]}),e==="class"?t.jsx(mn,{onClick:i}):null]})},vi=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:i,bookCloseDate:r})=>{const l=M.getLocalizedStrings().reports,c=r==null||i==null||n.balanceType!=="default"&&n.balanceType!=="default_with_percent"?void 0:So(o,e,n,r,i),d=c!=null?c==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,g=bi(c,o);return t.jsx(Ci,{children:r!=null&&i!=null&&c!=null&&d!=null&&g!=null?t.jsx(yi,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,tagName:d,infoContent:g,tagType:c}):t.jsx(ki,{isClickable:!1,children:t.jsx(ji,{children:Ve(e,n,o)})})})},kh=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,sortKey:i="totals",sortOrder:r="ascending",dataAvailable:l,bookCloseDate:c,onSortOrderChanged:d})=>n.balanceType==="period_total"?t.jsx(_i,{sortKey:i,sortOrder:r,onSortOrderChanged:d}):t.jsx(vi,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:l,bookCloseDate:c}),jh=({firstMonthOfFY:e,timeframeTicks:n,timeframe:o,compareMode:i,sortKey:r="totals",sortOrder:l="ascending",dataAvailable:c,bookCloseDate:d,onCompareModeChanged:g,onSortOrderChanged:u})=>{const p=le(),h=i==="compare_mode_amount"?`${M.getLocalizedStrings().compareMode.changePrefix} ${n[0].currencySymbol}`:M.getLocalizedStrings().compareMode.changePercent;return t.jsx(xh,{children:n.map((x,f)=>t.jsxs(z.Fragment,{children:[x.balanceType==="this_period_vs_last_period"||x.balanceType==="this_period_vs_last_period_percent"?t.jsx(mh,{children:t.jsx(xn,{title:h,titleTextStyle:Ut.standardRegular,titleTextAlignment:"flex-end",titleColor:p.colors.primary,selectedMode:i,menuPosition:"right",onCompareModeChanged:w=>{w!=="off"&&(w==="compare_mode_amount"||w==="compare_mode_percent"?g?.(w):console.warn("Invalid compare mode option"))}})}):null,x.balanceType==="period_total"?t.jsx(_i,{sortKey:r,sortOrder:l,onSortOrderChanged:u}):null,x.balanceType==="default"?t.jsx(fh,{children:t.jsx(vi,{firstMonthOfFY:e,timeframeTick:x,timeframe:o,dataAvailable:c,bookCloseDate:d},f)}):null]},f))})};function Sh({backgroundColor:e,isSticky:n,height:o,isCompareModeOn:i,isAccountColumnShown:r,isClassColumnShown:l,sortKey:c,sortOrder:d,firstMonthOfFY:g,timeframe:u,timeframeTicks:p,compareMode:h,dataAvailable:x,bookCloseDate:f,onCompareModeChanged:w,onSortOrderChanged:m}){const b=I(),k=(_,$)=>{m?.(_,$)},C=()=>{m?.("descending","totals")};return t.jsxs(dh,{height:o,bgColor:e,children:[t.jsx(uh,{bgColor:e,windowSize:b,isSticky:n,children:t.jsx(gh,{plHeight:o,windowSize:b,bgColor:e,children:t.jsx(wh,{sortKey:c,sortOrder:d,onSortOrderChanged:k,onSortCancel:C})})}),r?t.jsx(yh,{sortKey:c,sortOrder:d,onSortOrderChanged:k,onSortCancel:C}):null,l?t.jsx(bh,{sortKey:c,sortOrder:d,onSortOrderChanged:k,onSortCancel:C}):null,t.jsx(hh,{children:i===!0?t.jsx(jh,{firstMonthOfFY:g,timeframe:u,sortKey:c,sortOrder:d,timeframeTicks:p,compareMode:h,dataAvailable:x,bookCloseDate:f,onCompareModeChanged:w,onSortOrderChanged:k}):p.map((_,$)=>t.jsx(kh,{firstMonthOfFY:g,timeframeTick:_,timeframe:u,sortKey:c,sortOrder:d,dataAvailable:x,bookCloseDate:f,onSortOrderChanged:k},$))})]})}const bt=(e,n,o)=>e===o?n==="ascending"?"descending":"ascending":"descending",Ch=a.div`
2044
+ display: flex;
2045
+ flex: 1 1 auto;
2046
+ max-height: 1px;
2047
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.grey3};
2048
+ `,_h=a.div`
2049
+ display: flex;
2050
+ flex: 1 1 auto;
2051
+ max-height: 1px;
2052
+ background-color: ${e=>e.isScrolling?"transparent":e.theme.colors.hero};
2053
+ `;function Dt({kind:e,isScrolling:n}){switch(e){case"vendor_row_separator":return t.jsx(Ch,{isScrolling:n});case"end_row_separator":return t.jsx(_h,{isScrolling:n})}}const vh=a.div`
2054
+ display: flex;
2055
+ flex: 1 1 auto;
2056
+ width: fit-content;
2057
+ min-width: 100%;
2058
+ flex-direction: column;
2059
+ height: ${e=>e.height}px;
2060
+ background-color: ${e=>e.bgColor?.hex()};
2061
+ `,$h=a.div`
2062
+ user-select: none;
2063
+ display: flex;
2064
+ flex: 1 1 auto;
2065
+ flex-flow: row;
2066
+ justify-content: flex-start;
2067
+ align-items: center;
2068
+ cursor: default;
2069
+ `,Lh=a.div`
2070
+ display: flex;
2071
+ flex: 1 0 auto;
2072
+ flex-direction: row;
2073
+ justify-content: flex-end;
2074
+ `,Bh=a.div`
2075
+ display: flex;
2076
+ flex-direction: row;
2077
+ justify-content: flex-start;
2078
+ `,$i=a(oe)`
2079
+ user-select: none;
2080
+ min-width: ${W.balanceWidth};
2081
+ max-width: ${W.balanceWidth};
2082
+ text-align: right;
2083
+ margin-left: ${W.balanceLeftMargin};
2084
+ color: ${e=>e.theme.colors.primary};
2085
+ border: 1px solid transparent;
2086
+ `,Ah=a($i)`
2087
+ color: ${e=>e.theme.colors.hero};
2088
+ &:hover {
2089
+ color: inherit;
2090
+ }
2091
+ `,Oh=a.div`
2092
+ display: flex;
2093
+ flex-direction: row;
2094
+ background-color: ${e=>e.bgColor?.hex()};
2095
+ ${({isSticky:e})=>e?T`
2096
+ position: -webkit-sticky;
2097
+ position: sticky;
2098
+ top: ${s.sp0};
2099
+ left: ${s.sp0};
2100
+ `:null}
2101
+ `,Nh=a.div`
2102
+ display: flex;
2103
+ flex-direction: row;
2104
+ flex-shrink: 2;
2105
+ flex-grow: 1;
2106
+ align-items: center;
2107
+ width: ${e=>W.titleWidth.valuePx(e.windowSize)};
2108
+ max-width: ${e=>W.titleWidth.valuePx(e.windowSize)};
2109
+ background-color: ${e=>e.bgColor?.hex()};
2110
+ `,co=a.div`
2111
+ width: ${e=>W.categoryClassWidth.valuePx(e.windowSize)};
2112
+ max-width: ${e=>W.categoryClassWidth.valuePx(e.windowSize)};
2113
+ background-color: ${e=>e.bgColor?.hex()};
2114
+ `,Mh=a(oe)`
2115
+ user-select: none;
2116
+ clear: both;
2117
+ display: inline-block;
2118
+ overflow: hidden;
2119
+ white-space: nowrap;
2120
+ text-overflow: ellipsis;
2121
+ text-align: left;
2122
+ color: ${e=>e.theme.colors.primary};
2123
+ `,Ih=({type:e,balance:n,collapsed:o})=>{const i=o===!0?Ah:$i;return t.jsx(Bh,{children:re(e)===!0?t.jsx(i,{children:J(n)}):null})};function Wh({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,title:l,totalBalances:c,isAccountColumnShown:d,isClassColumnShown:g,onClick:u,isScrolling:p}){const h=I();return t.jsxs(vh,{"data-testid":y("total-row-root-container",i),height:r,bgColor:n,windowSize:h,children:[t.jsxs($h,{"data-testid":y("total-row-container",i),onClick:()=>u?.(i),children:[t.jsxs(Oh,{bgColor:n,windowSize:h,isSticky:o,children:[t.jsx(Nh,{bgColor:n,windowSize:h,children:t.jsx(Mh,{children:l})}),d?t.jsx(co,{windowSize:h}):null,g?t.jsx(co,{windowSize:h}):null]}),t.jsx(Lh,{children:c.map((x,f)=>t.jsx(Ih,{type:e,balance:x,collapsed:!1},f))})]}),t.jsx(Dt,{isScrolling:p,kind:"vendor_row_separator"})]})}const Ph=a.div`
2124
+ display: flex;
2125
+ flex: 1 1 auto;
2126
+ width: fit-content;
2127
+ min-width: 100%;
2128
+ flex-direction: column;
2129
+ height: ${e=>e.height}px;
2130
+ background-color: ${e=>e.bgColor?.hex()};
2131
+ `,Fh=a.div`
2132
+ user-select: none;
2133
+ display: flex;
2134
+ flex: 1 1 auto;
2135
+ flex-flow: row;
2136
+ justify-content: flex-start;
2137
+ align-items: center;
2138
+ &:hover {
2139
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2140
+ }
2141
+ `,zh=a.div`
2142
+ display: flex;
2143
+ flex: 1 0 auto;
2144
+ flex-direction: row;
2145
+ justify-content: flex-end;
2146
+ `,Th=a.div`
2147
+ display: flex;
2148
+ flex-direction: row;
2149
+ justify-content: flex-start;
2150
+ `,Vh=a(v)`
2151
+ user-select: none;
2152
+ min-width: ${W.balanceWidth};
2153
+ max-width: ${W.balanceWidth};
2154
+ text-align: right;
2155
+ margin-left: ${W.balanceLeftMargin};
2156
+ border: 1px solid transparent;
2157
+ color: ${e=>e.theme.colors.hero};
2158
+ cursor: ${e=>e.isClickable?"pointer":"default"};
2159
+ &:hover {
2160
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2161
+ }
2162
+ `,Dh=a.div`
2163
+ display: flex;
2164
+ flex-direction: row;
2165
+ background-color: ${e=>e.bgColor?.hex()};
2166
+ ${({isSticky:e})=>e?T`
2167
+ position: -webkit-sticky;
2168
+ position: sticky;
2169
+ top: ${s.sp0};
2170
+ left: ${s.sp0};
2171
+ `:null}
2172
+ `,Gh=a.div`
2173
+ display: flex;
2174
+ flex-direction: row;
2175
+ flex-shrink: 2;
2176
+ flex-grow: 1;
2177
+ align-items: center;
2178
+ gap: ${s.sp2};
2179
+ width: ${e=>W.titleWidth.valuePx(e.windowSize)};
2180
+ max-width: ${e=>W.titleWidth.valuePx(e.windowSize)};
2181
+ background-color: ${e=>e.bgColor?.hex()};
2182
+ `,$e=a(v)`
2183
+ user-select: none;
2184
+ clear: both;
2185
+ display: inline-block;
2186
+ overflow: hidden;
2187
+ white-space: nowrap;
2188
+ text-overflow: ellipsis;
2189
+ text-align: left;
2190
+ color: ${e=>e.theme.colors.hero};
2191
+ cursor: ${e=>e.isClickable?"pointer":"default"};
2192
+ &:hover {
2193
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2194
+ }
2195
+ `,Eh=a.div`
2196
+ display: flex;
2197
+ flex-direction: row;
2198
+ flex-shrink: 2;
2199
+ flex-grow: 1;
2200
+ align-items: center;
2201
+ width: ${e=>W.categoryClassWidth.valuePx(e.windowSize)};
2202
+ max-width: ${e=>W.categoryClassWidth.valuePx(e.windowSize)};
2203
+ background-color: ${e=>e.bgColor?.hex()};
2204
+ `,Rh=a.div`
2205
+ display: flex;
2206
+ flex-direction: row;
2207
+ flex-shrink: 2;
2208
+ flex-grow: 1;
2209
+ align-items: center;
2210
+ width: ${e=>W.categoryClassWidth.valuePx(e.windowSize)};
2211
+ max-width: ${e=>W.categoryClassWidth.valuePx(e.windowSize)};
2212
+ background-color: ${e=>e.bgColor?.hex()};
2213
+ `,Hh=a.div`
2214
+ width: ${s.sp4};
2215
+ height: ${s.sp4};
2216
+ border-radius: 50%;
2217
+ background-color: ${e=>e.theme.colors.grey3};
2218
+ display: flex;
2219
+ justify-content: center;
2220
+ align-items: center;
2221
+ color: ${e=>e.theme.colors.hero};
2222
+ `,Kh=a(Zi)`
2223
+ width: ${s.sp3};
2224
+ height: ${s.sp3};
2225
+ `,Yh=a.div`
2226
+ display: flex;
2227
+ column-gap: ${s.sp2};
2228
+ width: 100%;
2229
+ &:hover {
2230
+ .hyphen-text {
2231
+ display: none;
2232
+ }
2233
+ .not-specified-text {
2234
+ display: block;
2235
+ }
2236
+ }
2237
+ `,Uh=a(v)`
2238
+ color: ${e=>e.theme.colors.hero};
2239
+ `,qh=a(v)`
2240
+ color: ${e=>e.theme.colors.hero};
2241
+ display: none;
2242
+ `,Zh=({balance:e,vendor:n,onVendorNameAndBalanceClick:o})=>{const i=!(e?.type==="this_period_vs_last_period"||e?.type==="this_period_vs_last_period_percent")&&e?.type!=="period_total"&&e?.type!=="default_with_null_balance"&&!jo(n.id);return t.jsx(Th,{children:t.jsx(Vh,{isClickable:i,onClick:()=>{i===!0&&o(n,e??void 0)},children:J(e)})})};function Jh({type:e,backgroundColor:n,isSticky:o,height:i,isScrolling:r,isLastNode:l,vendor:c,balances:d,accountBase:g,classBase:u,isAccountColumnShown:p,isClassColumnShown:h,onVendorNameAndBalanceClick:x}){const f=I(),w=go(),m=w.loggedInUserRole!=null&&!ko(w.loggedInUserRole),b=jo(c.id),k=m===!0&&c!=null&&!b,C=k?"pointer":"default",_=c.name;return t.jsxs(Ph,{"data-testid":y("vendor-row-root-container",c.id),height:i,bgColor:n,windowSize:f,children:[t.jsxs(Fh,{"data-testid":y("vendor-row-container",c.id),style:{cursor:C},isClickable:k,children:[t.jsx(Dh,{"data-testid":y("vendor-row-sticky-container",c.id),isSticky:o,windowSize:f,bgColor:n,children:t.jsxs(Gh,{"data-testid":y("vendor-row-name-container",c.id),windowSize:f,bgColor:n,children:[t.jsxs(ot,{controller:!b,children:[c.logo!=null?t.jsx(Ht,{photoUrl:c.logo.toString(),styles:{width:W.nameLogoWidth.valuePx(f),height:W.nameLogoHeight.valuePx(f)}}):t.jsx(Kt,{name:_,size:s.sp4}),t.jsx($e,{"data-testid":y("vendor-row-name",c.id),style:{cursor:C},isClickable:k,onClick:()=>{k===!0&&x(c)},children:_})]}),t.jsx(ot,{controller:b,children:t.jsxs(Yh,{children:[t.jsx(Hh,{children:t.jsx(Kh,{})}),t.jsx(Uh,{className:"hyphen-text",children:M.getLocalizedStrings().common.strings.hyphen}),t.jsx(qh,{className:"not-specified-text",children:_})]})})]})}),p?t.jsx(Eh,{windowSize:f,bgColor:n,children:g!=null?t.jsx($e,{"data-testid":y("vendor-row-account-name",c.id),title:g.accountName,isClickable:!1,children:g.accountName}):t.jsx($e,{isClickable:!1,"data-testid":y("vendor-row-account-name",c.id),children:M.getLocalizedStrings().common.strings.hyphen})}):null,h?t.jsx(Rh,{windowSize:f,bgColor:n,children:u!=null?t.jsx($e,{"data-testid":y("vendor-row-class-name",c.id),title:u.className,isClickable:!1,children:u.className}):t.jsx($e,{"data-testid":y("vendor-row-class-name",c.id),isClickable:!1,children:M.getLocalizedStrings().common.strings.hyphen})}):null,t.jsx(zh,{children:d.map(($,B)=>t.jsx(Zh,{type:e,balance:$,vendor:c,onVendorNameAndBalanceClick:x},B))})]}),t.jsx(Qh,{isScrolling:r,isLastNode:l})]})}function Qh({isScrolling:e,isLastNode:n}){return n?t.jsx(Dt,{isScrolling:e,kind:"end_row_separator"}):t.jsx(Dt,{isScrolling:e,kind:"vendor_row_separator"})}function wn(e,n,o){return Xh(n,o,e)}const Xh=(e,n,o)=>{const i={compactedAccountsSelector:()=>[],compactedAccountsSelectorVariant:()=>[],acGroupBalanceSelector:()=>{},acBalanceSelector:()=>{},compactedAccountGroupsSelector:()=>[]};return i.acBalanceSelector=r=>r.account.balancesInTimeframe,i.compactedAccountsSelector=r=>so(r.accounts,i.acBalanceSelector,e),i.compactedAccountsSelectorVariant=r=>so(r,i.acBalanceSelector,e),i.acGroupBalanceSelector=r=>r,i.compactedAccountGroupsSelector=r=>function(l,c,d,g){switch(g){case"off":return l;case"filter_actual_nil_account_group_balances":return l.filter(u=>Li(c(u)?.balances??[]));case"filter_forecast_nil_account_group_balances":return l.filter(u=>function(p){let h=!1;if(p!=null){for(const x of p)if(x.forecast!=null&&x.forecast.amount!==0){h=!0;break}}return h}(c(u)?.balances??[]));case"filter_actual_forecast_nil_account_group_balances":return l.filter(u=>function(p){let h=!1;if(p!=null){for(const x of p)if(x.forecast!=null&&x.forecast.amount!==0||x.balance!=null&&x.balance.amount!==0){h=!0;break}}return h}(c(u)?.balances??[]));case"filter_actual_forecast_empty_account_group_balances":return l.filter(u=>(c(u)?.balances??[]).length>0)}}(r,i.acGroupBalanceSelector,0,n),i};function so(e,n,o){switch(o){case"off":return e;case"filter_actual_nil_balances":return e.filter(i=>function(r){let l=!1;if(r!=null){for(const c of r)if(c.totalBalance!=null&&c.totalBalance.amount!==0){l=!0;break}}return l}((n(i)?.balances??[]).concat(n(i)?.additionalBalances??[]))||Li((n(i)?.balances??[]).concat(n(i)?.additionalBalances??[])));case"filter_forecast_nil_balances":case"filter_actual_forecast_nil_balances":return e.filter(i=>eu(n(i)?.balances??[]))}}function Li(e){let n=!1;if(e!=null){for(const o of e)if(o.balance.amount!==0){n=!0;break}}return n}function eu(e){let n=!1;if(e!=null){for(const o of e)if(o.totalForecast!=null&&o.totalForecast.amount!==0||o.totalBalance!=null&&o.totalBalance.amount!==0){n=!0;break}}return n}function Bi(e,n,o=-1,i=!0){const r=o!==-1;let l=[],c=-1;if(e==null||e.balances.length===0)return r===!0&&(l=function(g,u){return g.length>0?g:fo(Array(u),null)}([],o)),{balances:l,thisPeriodIndex:c};let d=e.balances;return n==="ascending_date"?c=e.balances.length-1:(c=0,d=[...e.balances].reverse()),{balances:[...d,...i?e.additionalBalances:[]],thisPeriodIndex:c}}const tu=a.div`
2243
+ display: flex;
2244
+ flex: 1 1 auto;
2245
+ width: fit-content;
2246
+ min-width: 100%;
2247
+ flex-direction: column;
2248
+ height: ${e=>e.height}px;
2249
+ background-color: ${e=>e.bgColor?.hex()};
2250
+ `,nu=a.div`
2251
+ user-select: none;
2252
+ display: flex;
2253
+ flex: 1 1 auto;
2254
+ flex-flow: row;
2255
+ justify-content: flex-start;
2256
+ align-items: center;
2257
+ &:hover {
2258
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2259
+ }
2260
+ `,ou=a.div`
2261
+ display: flex;
2262
+ flex: 1 0 auto;
2263
+ flex-direction: row;
2264
+ justify-content: flex-end;
2265
+ `,iu=a.div`
2266
+ display: flex;
2267
+ flex-direction: row;
2268
+ justify-content: flex-start;
2269
+ `,Ai=a(v)`
2270
+ user-select: none;
2271
+ min-width: ${j.balanceWidth};
2272
+ max-width: ${j.balanceWidth};
2273
+ text-align: right;
2274
+ margin-left: ${j.balanceLeftMargin};
2275
+ color: ${e=>e.theme.colors.primary};
2276
+ `,ru=a(Ai)`
2277
+ color: ${e=>e.theme.colors.hero};
2278
+ &:hover {
2279
+ color: inherit;
2280
+ }
2281
+ `,au=a.div`
2282
+ display: flex;
2283
+ flex-direction: row;
2284
+ flex-shrink: 2;
2285
+ flex-grow: 1;
2286
+ align-items: center;
2287
+ width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2288
+ max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2289
+ background-color: ${e=>e.bgColor?.hex()};
2290
+ ${({isSticky:e})=>e?T`
2291
+ position: -webkit-sticky;
2292
+ position: sticky;
2293
+ top: ${s.sp0};
2294
+ left: ${s.sp0};
2295
+ `:null}
2296
+ `,Oi=a(v)`
2297
+ user-select: none;
2298
+ clear: both;
2299
+ display: inline-block;
2300
+ overflow: hidden;
2301
+ white-space: nowrap;
2302
+ text-overflow: ellipsis;
2303
+ text-align: left;
2304
+ margin-left: ${s.sp4};
2305
+ color: ${e=>e.theme.colors.primary};
2306
+ `,lu=a(Oi)`
2307
+ color: ${e=>e.theme.colors.hero};
2308
+ &:hover {
2309
+ color: inherit;
2310
+ }
2311
+ `,cu=({type:e,balance:n,collapsed:o,isActualVsForecastOn:i,compareMode:r})=>{const l=o===!0?ru:Ai;return t.jsxs(iu,{children:[re(e)===!0||i?t.jsx(l,{children:J(n)}):t.jsx(l,{children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:Q(n)}),t.jsx(l,{children:r==="compare_mode_percent"?ce(n):se(n)})]}):null]})};function su({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,leftChevron:l,accountGroupName:c,accountGroupBalances:d,isActualVsForecastOn:g,compareMode:u,isScrolling:p,isOpen:h,isLeaf:x,isLastNode:f,onClick:w}){const m=le(),b=I(),k=!x,C=k?"pointer":"default",_=l==="collapsed",$=l==="hidden",B=$===!0?S[6]:S[4],A=_===!0?lu:Oi,P=_===!0?po:xo,V=_===!0?m.colors.hero:m.colors.primary;return t.jsxs(tu,{height:r,bgColor:n,"data-testid":y("pandl-report-account-group-row-root-container",i),children:[t.jsxs(nu,{"data-testid":y("pandl-report-account-group-row-container",i),style:{cursor:C},isClickable:k,onClick:()=>w?.(i),children:[ge(e)===!0?t.jsxs(au,{bgColor:n,isSticky:o,windowSize:b,children:[$===!1?t.jsx(P,{color:V,style:{width:S[3],height:S[3]}}):null,t.jsx(A,{style:{marginLeft:B},children:c})]}):null,me(e)===!0?t.jsx(ou,{children:d.map((D,Y)=>t.jsx(cu,{type:e,accountGroupName:c,balance:D,isActualVsForecastOn:g,compareMode:u,collapsed:_},Y))}):null]}),t.jsx(du,{isScrolling:p,type:e,isLeaf:x,isLastNode:f,isOpen:h})]})}function du({isScrolling:e,type:n,isLastNode:o,isOpen:i}){let r="ac_group_row_separator";return o&&!i?r="section_row_separator":i&&(r=ge(n)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(we,{isScrolling:e,kind:r})}const hu=a.div`
2312
+ display: flex;
2313
+ flex: 1 1 auto;
2314
+ width: fit-content;
2315
+ min-width: 100%;
2316
+ flex-direction: column;
2317
+ height: ${e=>e.height}px;
2318
+ background-color: ${e=>e.bgColor?.hex()};
2319
+ `,uu=a.div`
2320
+ user-select: none;
2321
+ display: flex;
2322
+ flex: 1 1 auto;
2323
+ flex-flow: row;
2324
+ justify-content: flex-start;
2325
+ align-items: center;
2326
+ &:hover {
2327
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2328
+ }
2329
+ `,gu=a.div`
2330
+ display: flex;
2331
+ flex: 1 0 auto;
2332
+ flex-direction: row;
2333
+ justify-content: flex-end;
2334
+ `,pu=a.div`
2335
+ display: flex;
2336
+ flex-direction: row;
2337
+ justify-content: flex-start;
2338
+ `,Ni=a(v)`
2339
+ user-select: none;
2340
+ min-width: ${j.balanceWidth};
2341
+ max-width: ${j.balanceWidth};
2342
+ text-align: right;
2343
+ margin-left: ${j.balanceLeftMargin};
2344
+ color: ${e=>e.theme.colors.primary};
2345
+ `,xu=a(Ni)`
2346
+ color: ${e=>e.theme.colors.hero};
2347
+ &:hover {
2348
+ color: inherit;
2349
+ }
2350
+ `,fu=a.div`
2351
+ display: flex;
2352
+ flex-direction: row;
2353
+ flex-shrink: 2;
2354
+ flex-grow: 1;
2355
+ align-items: center;
2356
+ width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2357
+ max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2358
+ background-color: ${e=>e.bgColor?.hex()};
2359
+ ${({isSticky:e})=>e?T`
2360
+ position: -webkit-sticky;
2361
+ position: sticky;
2362
+ top: ${s.sp0};
2363
+ left: ${s.sp0};
2364
+ `:null}
2365
+ `,Mi=a(v)`
2366
+ user-select: none;
2367
+ clear: both;
2368
+ display: inline-block;
2369
+ overflow: hidden;
2370
+ white-space: nowrap;
2371
+ text-overflow: ellipsis;
2372
+ text-align: left;
2373
+ margin-left: ${s.sp2};
2374
+ color: ${e=>e.theme.colors.primary};
2375
+ `,mu=a(Mi)`
2376
+ color: ${e=>e.theme.colors.hero};
2377
+ &:hover {
2378
+ color: inherit;
2379
+ }
2380
+ `,wu=({type:e,balance:n,collapsed:o,isActualVsForecastOn:i,compareMode:r})=>{const l=o===!0?xu:Ni;return t.jsxs(pu,{children:[re(e)===!0||i?t.jsx(l,{children:J(n)}):t.jsx(l,{children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(l,{children:Q(n)}),t.jsx(l,{children:r==="compare_mode_percent"?ce(n):se(n)})]}):null]})};function yu({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,leftChevron:l,accountGroupName:c,accountGroupBalances:d,isActualVsForecastOn:g,compareMode:u,isScrolling:p,isOpen:h,isLeaf:x,isLastNode:f,onClick:w}){const m=I(),b=le(),k=!x,C=k?"pointer":"default",_=l==="collapsed",$=_===!0?mu:Mi,[B,A]=z.useState(!1),P=c.length>0?c.substring(0,1).toUpperCase():"";return t.jsxs(hu,{"data-testid":y("pandl-account-group-row-root-container",i),height:r,bgColor:n,children:[t.jsxs(uu,{"data-testid":y("pandl-account-group-row-container",i),onMouseOver:()=>A(!0),onMouseLeave:()=>A(!1),style:{cursor:C},isClickable:k,onClick:()=>w?.(i),children:[ge(e)===!0?t.jsxs(fu,{bgColor:n,isSticky:o,windowSize:m,children:[t.jsx(ke,{showCollapsedIcon:_,showIcon:B&&k,firstLetter:P,color:O(b.colors.primary)}),t.jsx($,{children:c})]}):null,me(e)===!0?t.jsx(gu,{children:d.map((V,D)=>t.jsx(wu,{type:e,accountGroupName:c,balance:V,isActualVsForecastOn:g,compareMode:u,collapsed:_},D))}):null]}),t.jsx(bu,{isScrolling:p,type:e,isLeaf:x,isLastNode:f,isOpen:h})]})}function bu({isScrolling:e,type:n,isLastNode:o,isOpen:i}){let r="ac_group_row_separator";return o&&!i?r="section_row_separator":i&&(r=ge(n)===!0?"account_title_row_separator":"account_balance_row_separator"),t.jsx(we,{isScrolling:e,kind:r})}const ku=a.div`
2381
+ display: flex;
2382
+ flex: 1 1 auto;
2383
+ width: fit-content;
2384
+ min-width: 100%;
2385
+ flex-direction: column;
2386
+ height: ${e=>e.height}px;
2387
+ background-color: ${e=>e.bgColor?.hex()};
2388
+ `,ju=a.div`
2389
+ user-select: none;
2390
+ display: flex;
2391
+ flex: 1 1 auto;
2392
+ flex-flow: row;
2393
+ justify-content: flex-start;
2394
+ align-items: center;
2395
+ `,Su=a.div`
2396
+ display: flex;
2397
+ flex: 1 0 auto;
2398
+ flex-direction: row;
2399
+ justify-content: flex-end;
2400
+ `,Cu=a.div`
2401
+ display: flex;
2402
+ flex-direction: row;
2403
+ justify-content: flex-start;
2404
+ `,Je=a(v)`
2405
+ user-select: none;
2406
+ min-width: ${j.balanceWidth};
2407
+ max-width: ${j.balanceWidth};
2408
+ text-align: right;
2409
+ margin-left: ${j.balanceLeftMargin};
2410
+ color: ${e=>e.theme.colors.hero};
2411
+ cursor: ${e=>e.isClickable?"pointer":"default"};
2412
+ &:hover {
2413
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2414
+ }
2415
+ `,_u=a.div`
2416
+ display: flex;
2417
+ flex-direction: row;
2418
+ flex-shrink: 2;
2419
+ flex-grow: 1;
2420
+ align-items: center;
2421
+ width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2422
+ max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2423
+ background-color: ${e=>e.bgColor?.hex()};
2424
+ ${({isSticky:e})=>e?T`
2425
+ position: -webkit-sticky;
2426
+ position: sticky;
2427
+ top: ${s.sp0};
2428
+ left: ${s.sp0};
2429
+ `:null}
2430
+ `,vu=a(v)`
2431
+ user-select: none;
2432
+ clear: both;
2433
+ display: inline-block;
2434
+ overflow: hidden;
2435
+ white-space: nowrap;
2436
+ text-overflow: ellipsis;
2437
+ text-align: left;
2438
+ margin-left: ${s.sp6};
2439
+ color: ${e=>e.theme.colors.hero};
2440
+ cursor: ${e=>e.isClickable?"pointer":"default"};
2441
+ &:hover {
2442
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2443
+ }
2444
+ `,$u=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i,account:r,onAccountBalanceClick:l})=>{const c=r!=null&&n!=null&&l!=null&&!(n?.type==="this_period_vs_last_period"||n?.type==="this_period_vs_last_period_percent");return t.jsxs(Cu,{"data-testid":y("account-row-balance-element",e),children:[re(e)===!0||o?t.jsx(Je,{"data-testid":y("account-row-balance-actual",e),isClickable:c,onClick:()=>{c===!0&&r!=null&&n!=null&&l?.(r,n)},children:J(n)}):t.jsx(Je,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:Q(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(Je,{isClickable:!1,"data-testid":y("account-row-balance-forecast",e),children:Q(n)}),t.jsx(Je,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?ce(n):se(n)})]}):null]})};function Lu({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,accountBalances:l,isActualVsForecastOn:c,compareMode:d,isScrolling:g,isLeaf:u,isLastNode:p,account:h,onAccountBalanceClick:x}){const f=I(),{common:{strings:{hyphen:w}}}=M.getLocalizedStrings(),m=h?.accountDescription?h.accountDescription:w,b=h?.accountName?h.accountName:m;return t.jsxs(ku,{height:r,bgColor:n,"data-testid":y("account-row-root-container",i),children:[t.jsxs(ju,{"data-testid":y("account-row-container",i),children:[ge(e)===!0?t.jsx(_u,{isSticky:o,windowSize:f,bgColor:n,children:t.jsx(vu,{isClickable:!1,title:b,children:b})}):null,me(e)===!0?t.jsx(Su,{children:l.map((k,C)=>t.jsx($u,{type:e,isActualVsForecastOn:c,compareMode:d,balance:k,account:h,onAccountBalanceClick:x==null?void 0:(_,$)=>{x(i,_,$)}},C))}):null]}),t.jsx(Bu,{isScrolling:g,type:e,isLeaf:u,isLastNode:p})]})}function Bu({isScrolling:e,isLastNode:n,type:o}){const i=n?"ac_group_row_separator":ge(o)===!0?"account_title_row_separator":"account_balance_row_separator";return t.jsx(we,{isScrolling:e,kind:i})}const Au=a.div`
2445
+ display: flex;
2446
+ flex: 1 1 auto;
2447
+ width: fit-content;
2448
+ min-width: 100%;
2449
+ flex-direction: column;
2450
+ height: ${e=>e.height}px;
2451
+ background-color: ${e=>e.bgColor?.hex()};
2452
+ `,Ou=a.div`
2453
+ user-select: none;
2454
+ display: flex;
2455
+ flex: 1 1 auto;
2456
+ flex-flow: row;
2457
+ justify-content: flex-start;
2458
+ align-items: center;
2459
+ `,Nu=a.div`
2460
+ display: flex;
2461
+ flex: 1 0 auto;
2462
+ flex-direction: row;
2463
+ justify-content: flex-end;
2464
+ `,Mu=a.div`
2465
+ display: flex;
2466
+ flex-direction: row;
2467
+ justify-content: flex-start;
2468
+ `,Qe=a(v)`
2469
+ user-select: none;
2470
+ max-width: ${j.balanceWidth};
2471
+ min-width: ${j.balanceWidth};
2472
+ text-align: right;
2473
+ margin-left: ${j.balanceLeftMargin};
2474
+ `,Iu=a.div`
2475
+ display: flex;
2476
+ flex-direction: row;
2477
+ flex-shrink: 2;
2478
+ flex-grow: 1;
2479
+ align-items: center;
2480
+ width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2481
+ max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2482
+ background-color: ${e=>e.bgColor?.hex()};
2483
+ ${({isSticky:e})=>e?T`
2484
+ position: -webkit-sticky;
2485
+ position: sticky;
2486
+ top: ${s.sp0};
2487
+ left: ${s.sp0};
2488
+ `:null}
2489
+ `,Wu=a.div`
2490
+ display: flex;
2491
+ flex-grow: 8;
2492
+ `,Pu=a(v)`
2493
+ user-select: none;
2494
+ user-select: none;
2495
+ clear: both;
2496
+ display: inline-block;
2497
+ overflow: hidden;
2498
+ white-space: nowrap;
2499
+ text-overflow: ellipsis;
2500
+ text-align: left;
2501
+ margin-left: ${s.sp2};
2502
+ `,Fu=a(be)`
2503
+ display: flex;
2504
+ color: ${e=>e.theme.colors.primary};
2505
+ align-items: center;
2506
+ flex-direction: row;
2507
+ justify-content: flex-end;
2508
+ padding: 1px 6px;
2509
+ height: 20px;
2510
+ border: 1px solid ${e=>e.theme.colors.primary};
2511
+ border-radius: ${s.sp1};
2512
+ margin: 0 ${s.sp5} 0 ${s.sp3};
2513
+ `,zu=({metadata:e,depth:n})=>n===0?null:e.hasSibling!==!0||e.isLastNode?t.jsx(Qi,{}):t.jsx(Ji,{}),Tu=({type:e,balance:n,color:o,isActualVsForecastOn:i,compareMode:r})=>t.jsxs(Mu,{children:[re(e)===!0||i?t.jsx(Qe,{style:{color:o},children:J(n)}):t.jsx(Qe,{style:{color:o},children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(Qe,{style:{color:o},children:Q(n)}),t.jsx(Qe,{style:{color:o},children:r==="compare_mode_percent"?ce(n):se(n)})]}):null]});function Vu({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,className:l,classCode:c,sectionBalances:d,isActualVsForecastOn:g,compareMode:u,hasChildren:p,isScrolling:h,isOpen:x,isLeaf:f,metadata:w,showClassAccountNumber:m,onClick:b,depth:k}){const C=I(),_=!f,$=_?"pointer":"default",B=le().colors.primary,A=l.length>0?l.substr(0,1).toUpperCase():"",[P,V]=z.useState(!1),D=w.classAncestorMetadata??[];return t.jsxs(Au,{"data-testid":y("class-row-root-container",i),height:r,bgColor:n,children:[t.jsxs(Ou,{"data-testid":y("class-row-container",i),style:{cursor:$},onClick:()=>b?.(i),onMouseOver:()=>V(!0),onMouseLeave:()=>V(!1),children:[ge(e)===!0?t.jsxs(Iu,{isSticky:o,windowSize:C,bgColor:n,children:[t.jsx(ga,{name:l,ancestorMetadata:D,depth:k}),t.jsx(zu,{metadata:D[k],depth:k}),t.jsx(ke,{color:O(B),showCollapsedIcon:!x,showIcon:P&&_,firstLetter:A,showTreeLine:p}),t.jsx(Wu,{children:t.jsx(Pu,{style:{color:B},children:l})}),P===!0&&m===!0&&c!==void 0&&t.jsx(Fu,{children:c})]}):null,me(e)===!0?t.jsx(Nu,{children:d.map((Y,X)=>t.jsx(Tu,{type:e,sectionName:l,balance:Y,isActualVsForecastOn:g,compareMode:u,color:B},X))}):null]}),t.jsx(Du,{isScrolling:h,isLeaf:f,isOpen:x})]})}function Du({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(we,{isScrolling:e,kind:"section_row_separator"}):null}const Gu=a.div`
2514
+ display: flex;
2515
+ flex: 1 1 auto;
2516
+ width: fit-content;
2517
+ min-width: 100%;
2518
+ flex-direction: column;
2519
+ height: ${e=>e.height}px;
2520
+ background-color: ${e=>e.bgColor?.hex()};
2521
+ `,Eu=a.div`
2522
+ user-select: none;
2523
+ display: flex;
2524
+ flex: 1 1 auto;
2525
+ flex-flow: row;
2526
+ justify-content: flex-start;
2527
+ align-items: center;
2528
+ `,Ru=a.div`
2529
+ display: flex;
2530
+ flex: 1 0 auto;
2531
+ flex-direction: row;
2532
+ justify-content: flex-end;
2533
+ `,Hu=a.div`
2534
+ display: flex;
2535
+ flex-direction: row;
2536
+ justify-content: flex-start;
2537
+ `,Xe=a(v)`
2538
+ user-select: none;
2539
+ max-width: ${j.balanceWidth};
2540
+ min-width: ${j.balanceWidth};
2541
+ text-align: right;
2542
+ margin-left: ${j.balanceLeftMargin};
2543
+ `,Ku=a.div`
2544
+ display: flex;
2545
+ flex-direction: row;
2546
+ flex-shrink: 2;
2547
+ flex-grow: 1;
2548
+ align-items: center;
2549
+ width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2550
+ max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2551
+ background-color: ${e=>e.bgColor?.hex()};
2552
+ ${({isSticky:e})=>e?T`
2553
+ position: -webkit-sticky;
2554
+ position: sticky;
2555
+ top: ${s.sp0};
2556
+ left: ${s.sp0};
2557
+ `:null}
2558
+ `,Yu=a(v)`
2559
+ user-select: none;
2560
+ user-select: none;
2561
+ clear: both;
2562
+ display: inline-block;
2563
+ overflow: hidden;
2564
+ white-space: nowrap;
2565
+ text-overflow: ellipsis;
2566
+ text-align: left;
2567
+ margin-left: ${s.sp2};
2568
+ `,Uu=({type:e,balance:n,color:o,isActualVsForecastOn:i,compareMode:r})=>t.jsxs(Hu,{children:[re(e)===!0||i?t.jsx(Xe,{style:{color:o},children:J(n)}):t.jsx(Xe,{style:{color:o},children:Q(n)}),i?t.jsxs(t.Fragment,{children:[t.jsx(Xe,{style:{color:o},children:Q(n)}),t.jsx(Xe,{style:{color:o},children:r==="compare_mode_percent"?ce(n):se(n)})]}):null]});function yn({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,sectionName:l,sectionBalances:c,isActualVsForecastOn:d,compareMode:g,sectionColor:u,isScrolling:p,isOpen:h,isLeaf:x,onClick:f}){const w=I(),m=!x,b=m?"pointer":"default",k=l.length>0?l.substring(0,1).toUpperCase():"",[C,_]=z.useState(!1);return t.jsxs(Gu,{"data-testid":y("section-row",i),height:r,bgColor:n,children:[t.jsxs(Eu,{"data-testid":y("section-row-container",i),style:{cursor:b},onClick:()=>f?.(i),onMouseOver:()=>_(!0),onMouseLeave:()=>_(!1),children:[ge(e)===!0?t.jsxs(Ku,{isSticky:o,windowSize:w,bgColor:n,children:[t.jsx(ke,{color:O(u),showCollapsedIcon:!h,showIcon:C&&m,firstLetter:k}),t.jsx(Yu,{style:{color:u},children:l})," "]}):null,me(e)===!0?t.jsx(Ru,{children:c.map(($,B)=>t.jsx(Uu,{type:e,sectionName:l,balance:$,isActualVsForecastOn:d,compareMode:g,color:u},B))}):null]}),t.jsx(qu,{isScrolling:p,isLeaf:x,isOpen:h})]})}function qu({isScrolling:e,isLeaf:n,isOpen:o}){return n||!o?t.jsx(we,{isScrolling:e,kind:"section_row_separator"}):null}const Zu=a.div`
2569
+ display: flex;
2570
+ flex: 1 1 auto;
2571
+ width: fit-content;
2572
+ min-width: 100%;
2573
+ flex-direction: column;
2574
+ height: ${e=>e.height-1}px;
2575
+ background-color: ${e=>e.bgColor?.hex()};
2576
+ `,Ju=a.div`
2577
+ user-select: none;
2578
+ display: flex;
2579
+ flex: 1 1 auto;
2580
+ flex-flow: row;
2581
+ justify-content: flex-start;
2582
+ align-items: center;
2583
+ `,Qu=a.div`
2584
+ display: flex;
2585
+ flex: 1 0 auto;
2586
+ flex-direction: row;
2587
+ justify-content: flex-end;
2588
+ `,Xu=a.div`
2589
+ display: flex;
2590
+ flex-direction: row;
2591
+ justify-content: flex-start;
2592
+ `,et=a(v)`
2593
+ user-select: none;
2594
+ min-width: ${j.balanceWidth};
2595
+ max-width: ${j.balanceWidth};
2596
+ text-align: right;
2597
+ margin-left: ${j.balanceLeftMargin};
2598
+ color: ${e=>e.theme.colors.hero};
2599
+ cursor: ${e=>e.isClickable?"pointer":"default"};
2600
+ &:hover {
2601
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2602
+ }
2603
+ `,eg=a.div`
2604
+ display: flex;
2605
+ flex-direction: row;
2606
+ flex-shrink: 2;
2607
+ flex-grow: 1;
2608
+ align-items: center;
2609
+ height: ${e=>e.containerHeight-1}px; // Else bottom line doesnt show up
2610
+ // because the height of the svg is much larger
2611
+ width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2612
+ max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2613
+ background-color: ${e=>e.bgColor?.hex()};
2614
+ color: ${e=>e.theme.colors.hero};
2615
+
2616
+ cursor: ${e=>e.isClickable?"pointer":"default"};
2617
+ &:hover {
2618
+ color: ${e=>e.isClickable?e.theme.colors.primary:e.theme.colors.hero};
2619
+ }
2620
+ ${({isSticky:e})=>e?T`
2621
+ position: -webkit-sticky;
2622
+ position: sticky;
2623
+ top: ${s.sp0};
2624
+ left: ${s.sp0};
2625
+ `:null}
2626
+ `,tg=a(v)`
2627
+ user-select: none;
2628
+ clear: both;
2629
+ display: inline-block;
2630
+ text-align: left;
2631
+ `,ng=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i,account:r,showTotal:l,onAccountBalanceClick:c})=>{const d=n!=null&&dr(n?.type),g=r!=null&&n!=null&&c!=null&&d!==!0,u=l===!0?Co(n):J(n),p=l===!0?Nt(n):Q(n),h=l===!0?_o(n):ce(n),x=l===!0?vo(n):se(n);return t.jsxs(Xu,{"data-testid":y("account-row-balance-element",e),children:[re(e)===!0||o?t.jsx(et,{"data-testid":y("account-row-balance-actual",e),isClickable:g,onClick:f=>{f.stopPropagation(),g===!0&&r!=null&&n!=null&&c?.(r,n)},children:u}):t.jsx(et,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:p}),o?t.jsxs(t.Fragment,{children:[t.jsx(et,{"data-testid":y("account-row-balance-forecast",e),isClickable:!1,children:p}),t.jsx(et,{"data-testid":y("account-row-balance-actual-vs-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?h:x})]}):null]})};function og({type:e,backgroundColor:n,isSticky:o,treeNodeId:i,height:r,classDepth:l,accountBalances:c,isActualVsForecastOn:d,compareMode:g,metadata:u,isScrolling:p,noMarginForAccount:h,isLeaf:x,isOpen:f,isLastNode:w,account:m,onAccountBalanceClick:b,onClick:k}){const C=I(),_=m!=null?m.id.length-1:0,$=m?.hasSiblings??!1,B=m!=null&&m.children.length!==0,A=u,{common:{strings:{empty:P}}}=M.getLocalizedStrings(),V=m?.account.accountDescription?m.account.accountDescription:P,D=m?.account.accountName?m.account.accountName:V;return t.jsxs(Zu,{"data-testid":y("sub-account-row",i),height:r,bgColor:n,children:[t.jsxs(Ju,{"data-testid":y("sub-account-row-container",i),onClick:()=>k?.(i),children:[t.jsx(eg,{isClickable:B,isSticky:o,windowSize:C,bgColor:n,containerHeight:r,children:t.jsx(tg,{title:D,children:t.jsx(Oo,{displayName:D,depth:_,classDepth:l,isLastNode:w,hasChildren:B,hasSiblings:$,isLeaf:x,collapsed:!f,subAccountAnscestorMetadata:A.subAccountAncestorMetadata,classAnscestorMetadata:A.classAncestorMetadata??[],noMarginForAccount:h})})}),me(e)===!0?t.jsx(Qu,{children:c.map((Y,X)=>t.jsx(ng,{type:e,isActualVsForecastOn:d,compareMode:g,balance:Y,account:m?.account,showTotal:!f,onAccountBalanceClick:b==null?void 0:(ee,Z)=>{b(i,ee,Z)}},X))}):null]}),t.jsx(ig,{isScrolling:p,isLeaf:x,isOpen:f,depth:_,isSticky:o,classDepth:l,noMarginForAccount:h})]})}function ig({isScrolling:e,depth:n,isOpen:o,isLeaf:i,isSticky:r,classDepth:l,noMarginForAccount:c}){return o&&i!==!0?null:t.jsx(we,{isScrolling:e,kind:"sub_account_balance_row_separator",subAccountProps:{nestingLevel:n,isSticky:r,classDepth:l,noMarginForAccount:c}})}const rg=[10,14,20,20,20],ag=a.div`
2632
+ display: flex;
2633
+ flex: 1 1 auto;
2634
+ width: fit-content;
2635
+ min-width: 100%;
2636
+ flex-direction: column;
2637
+ height: ${e=>e.height-1}px;
2638
+ background-color: ${e=>e.bgColor?.hex()};
2639
+ `,lg=a.div`
2640
+ user-select: none;
2641
+ display: flex;
2642
+ flex: 1 1 auto;
2643
+ flex-flow: row;
2644
+ justify-content: flex-start;
2645
+ align-items: center;
2646
+ `,cg=a.div`
2647
+ width: ${e=>$o.emptyLeftContainer.valuePx(e.windowSize)};
2648
+ height: ${s.sp1};
2649
+ `,sg=a.div`
2650
+ display: flex;
2651
+ flex: 1 0 auto;
2652
+ flex-direction: row;
2653
+ justify-content: flex-end;
2654
+ `,dg=a.div`
2655
+ display: flex;
2656
+ flex-direction: row;
2657
+ justify-content: flex-start;
2658
+ `,tt=a(v)`
2659
+ user-select: none;
2660
+ min-width: ${j.balanceWidth};
2661
+ max-width: ${j.balanceWidth};
2662
+ text-align: right;
2663
+ margin-left: ${j.balanceLeftMargin};
2664
+ color: ${e=>e.theme.colors.primary};
2665
+ cursor: ${e=>e.isClickable?"pointer":"default"};
2666
+ `,hg=a.div`
2667
+ display: flex;
2668
+ flex-direction: row;
2669
+ flex-shrink: 2;
2670
+ flex-grow: 1;
2671
+ align-items: center;
2672
+ height: ${e=>e.containerHeight-1}px;
2673
+ width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2674
+ max-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2675
+ background-color: ${e=>e.bgColor?.hex()};
2676
+ ${({isSticky:e})=>e?T`
2677
+ position: -webkit-sticky;
2678
+ position: sticky;
2679
+ top: ${s.sp0};
2680
+ left: ${s.sp0};
2681
+ `:null}
2682
+ `,ug=a(v)`
2683
+ user-select: none;
2684
+ clear: both;
2685
+ display: inline-block;
2686
+ overflow: hidden;
2687
+ white-space: nowrap;
2688
+ text-overflow: ellipsis;
2689
+ text-align: left;
2690
+ margin-left: ${e=>rg[e.depth]}px;
2691
+ color: ${e=>e.theme.colors.primary};
2692
+ width: ${e=>j.titleWidth.value(e.windowSize)-80*e.depth}px;
2693
+ `,gg=({type:e,balance:n,isActualVsForecastOn:o,compareMode:i})=>t.jsxs(dg,{"data-testid":y("sub-account-row-balance-element",e),children:[re(e)===!0||o?t.jsx(tt,{"data-testid":y("sub-account-row-balance-element-actual",e),isClickable:!1,children:Co(n)}):t.jsx(tt,{"data-testid":y("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Nt(n)}),o?t.jsxs(t.Fragment,{children:[t.jsx(tt,{"data-testid":y("sub-account-row-balance-element-forecast",e),isClickable:!1,children:Nt(n)}),t.jsx(tt,{"data-testid":y("sub-account-row-balance-element-actual-vs-forecast",e),isClickable:!1,children:i==="compare_mode_percent"?_o(n):vo(n)})]}):null]});function pg({type:e,backgroundColor:n,isSticky:o,height:i,classDepth:r,accountName:l,accountBalances:c,account:d,noMarginForAccount:g,isActualVsForecastOn:u,compareMode:p,isScrolling:h,metadata:x}){const f=I(),w=M.getLocalizedStrings().reports.sections,m=d!=null?d.id.length-1:0,b=x;return t.jsxs(ag,{height:i,bgColor:n,children:[t.jsxs(lg,{children:[t.jsxs(hg,{isSticky:o,windowSize:f,bgColor:n,containerHeight:i,children:[r!=null?t.jsx(Bo,{ancestorMetadata:b.classAncestorMetadata??[],depth:r,name:l}):g===!1?t.jsx(cg,{windowSize:f}):null,t.jsx(Ao,{ancestorMetadata:b.subAccountAncestorMetadata,depth:m,name:l}),t.jsx(ug,{"data-testid":y("sub-account-row-name",e),isClickable:!1,title:l,depth:m,windowSize:f,children:w.totalPrefix+" "+l})]}),me(e)===!0?t.jsx(sg,{children:c.map((k,C)=>t.jsx(gg,{type:e,isActualVsForecastOn:u,compareMode:p,balance:k},C))}):null]}),t.jsx(xg,{isScrolling:h,nestingLevel:m,isSticky:o,classDepth:r,noMarginForAccount:g})]})}function xg({isScrolling:e,nestingLevel:n,isSticky:o,classDepth:i,noMarginForAccount:r}){return t.jsx(we,{isScrolling:e,kind:"total_row_separator",subAccountProps:{nestingLevel:n,isSticky:o,classDepth:i,noMarginForAccount:r}})}const fg=a.div`
2694
+ user-select: none;
2695
+ display: flex;
2696
+ flex: 1 1 auto;
2697
+ width: fit-content;
2698
+ min-width: 100%;
2699
+ height: ${e=>e.height}px;
2700
+ flex-flow: row;
2701
+ justify-content: flex-start;
2702
+ align-items: center;
2703
+ background-color: ${e=>e.bgColor?.hex()};
2704
+ `,mg=a.div`
2705
+ display: flex;
2706
+ flex: 1 0 auto;
2707
+ flex-direction: row;
2708
+ justify-content: flex-end;
2709
+ `,Fe=j.balanceWidthInPx+j.balanceLeftMarginInPx,Ii=a.div`
2710
+ display: flex;
2711
+ max-height: 54px;
2712
+ min-height: 54px;
2713
+ min-width: ${e=>e.isActualVsForecastOn?3*(Fe-2)-j.balanceLeftMarginInPx:j.balanceWidthInPx}px;
2714
+ justify-content: center;
2715
+ align-items: center;
2716
+ background-color: ${e=>e.theme.colors.background};
2717
+ border: 1px solid ${e=>e.theme.colors.grey3};
2718
+ border-radius: ${s.sp2};
2719
+ margin-left: ${e=>e.isActualVsForecastOn?S[0]:j.balanceLeftMarginInPx}px;
2720
+ color: ${e=>e.theme.colors.primary};
2721
+ `,Wi=a(v)`
2722
+ display: flex;
2723
+ user-select: none;
2724
+ flex-direction: row;
2725
+ justify-content: center;
2726
+ align-items: center;
2727
+ height: ${j.balanceHeight};
2728
+ max-width: ${j.balanceWidthInPx-2}px;
2729
+ width: 138px;
2730
+ text-align: center;
2731
+ `,wg=a.div`
2732
+ height: 100%;
2733
+ display: inline-block;
2734
+ flex-direction: row;
2735
+ align-items: center;
2736
+ min-width: ${e=>j.titleWidth.valuePx(e.windowSize)};
2737
+ color: ${e=>e.theme.colors.grey5};
2738
+ background-color: ${e=>e.bgColor?.hex()};
2739
+ border: 1px solid ${e=>e.bgColor?.hex()};
2740
+ ${({isSticky:e})=>e?T`
2741
+ position: -webkit-sticky;
2742
+ position: sticky;
2743
+ top: ${s.sp0};
2744
+ left: ${s.sp0};
2745
+ z-index: 20;
2746
+ `:null}
2747
+ `,yg=a.div`
2748
+ display: flex;
2749
+ width: ${e=>e.isActualVsForecastOn?3*Fe:Fe}px;
2750
+ flex-direction: row;
2751
+ justify-content: flex-start;
2752
+ color: ${e=>e.theme.colors.champion};
2753
+ `,Ot=a(v)`
2754
+ display: flex;
2755
+ justify-content: flex-end;
2756
+ align-items: center;
2757
+ height: ${j.balanceHeight};
2758
+ width: ${j.balanceWidth};
2759
+ min-width: ${j.balanceWidth};
2760
+ margin-left: ${j.balanceLeftMargin};
2761
+ margin-top: ${s.sp3};
2762
+ `,bg=a.div`
2763
+ display: flex;
2764
+ max-height: 54px;
2765
+ min-height: 54px;
2766
+ justify-content: center;
2767
+ align-items: center;
2768
+ color: ${e=>e.theme.colors.champion};
2769
+ `,kg=a.div``,jg=a(v)`
2770
+ display: flex;
2771
+ justify-content: center;
2772
+ align-items: center;
2773
+ max-height: 54px;
2774
+ min-height: 54px;
2775
+ background-color: ${e=>e.theme.colors.background};
2776
+ border: 1px solid ${e=>e.theme.colors.grey3};
2777
+ border-radius: ${s.sp2};
2778
+ margin-left: ${j.balanceLeftMarginInPx}px;
2779
+ color: ${e=>e.theme.colors.primary};
2780
+ width: ${j.balanceWidth};
2781
+ min-width: ${j.balanceWidth};
2782
+ `,Sg=a.div`
2783
+ display: flex;
2784
+ width: ${e=>e.isActualVsForecastOn?3*Fe:Fe}px;
2785
+ flex-direction: column;
2786
+ align-items: flex-end;
2787
+ `,Cg=a.div`
2788
+ max-height: 54px;
2789
+ min-height: 54px;
2790
+ `,Pi=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:i,bookCloseDate:r})=>{const l=M.getLocalizedStrings().reports,c=r==null||i==null||n.balanceType!=="default"&&n.balanceType!=="default_with_percent"?void 0:So(o,e,n,r,i),d=c!=null?c==="under_review"?l.bookCloseTagUnderReview:l.bookCloseTagInProgress:void 0,g=bi(c,o);return t.jsx(Cg,{children:r!=null&&i!=null&&c!=null&&d!=null&&g!=null?t.jsx(yi,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,tagName:d,infoContent:g,tagType:c}):t.jsx(Ii,{isActualVsForecastOn:!1,children:t.jsx(Wi,{children:Ve(e,n,o)})})})},_g=({firstMonthOfFY:e,timeframeTick:n,timeframe:o,isActualVsForecastOn:i,compareMode:r,dataAvailable:l,bookCloseDate:c,onCompareModeChanged:d})=>{const g=M.getLocalizedStrings().reports.forecast,u=r==="compare_mode_amount"?`${M.getLocalizedStrings().compareMode.changePrefix} ${n.currencySymbol}`:M.getLocalizedStrings().compareMode.changePercent;return i===!0?t.jsxs(Sg,{isActualVsForecastOn:i,children:[t.jsx(Ii,{isActualVsForecastOn:i,children:t.jsx(Wi,{children:Ve(e,n,o)})}),t.jsxs(yg,{isActualVsForecastOn:i,children:[t.jsx(Ot,{children:g.actual}),t.jsx(Ot,{children:g.forecast}),t.jsx(Ot,{children:t.jsx(xn,{title:u,titleTextStyle:Ut.standardRegular,titleTextAlignment:"flex-end",selectedMode:r,onCompareModeChanged:p=>{p!=="off"?d?.(p):console.warn("Invalid compare mode option")}})})]})]}):t.jsx(Pi,{firstMonthOfFY:e,timeframeTick:n,timeframe:o,dataAvailable:l,bookCloseDate:c})},vg=({firstMonthOfFY:e,timeframeTicks:n,timeframe:o,compareMode:i,dataAvailable:r,bookCloseDate:l,onCompareModeChanged:c})=>{const d=le(),g=i==="compare_mode_amount"?`${M.getLocalizedStrings().compareMode.changePrefix} ${n[0].currencySymbol}`:M.getLocalizedStrings().compareMode.changePercent;return t.jsx(bg,{children:n.map((u,p)=>t.jsx(z.Fragment,{children:u.balanceType==="this_period_vs_last_period"||u.balanceType==="this_period_vs_last_period_percent"?t.jsx(jg,{children:t.jsx(xn,{title:g,titleTextStyle:Ut.standardRegular,titleTextAlignment:"flex-end",titleColor:d.colors.primary,selectedMode:i,menuPosition:"right",onCompareModeChanged:h=>{h!=="off"&&(h==="compare_mode_amount"||h==="compare_mode_percent"?c?.(h):console.warn("Invalid compare mode option"))}})}):t.jsx(kg,{children:t.jsx(Pi,{firstMonthOfFY:e,timeframeTick:u,timeframe:o,dataAvailable:r,bookCloseDate:l},p)})},p))})};function $g({type:e,backgroundColor:n,isSticky:o,height:i,isActualVsForecastOn:r,isCompareModeOn:l,firstMonthOfFY:c,timeframe:d,timeframeTicks:g,compareMode:u,dataAvailable:p,bookCloseDate:h,onCompareModeChanged:x}){const f=I();return t.jsxs(fg,{height:i,bgColor:n,children:[ge(e)===!0?t.jsx(wg,{isSticky:o,windowSize:f,bgColor:n,children:" . "}):null,t.jsx(mg,{children:l===!0?t.jsx(vg,{firstMonthOfFY:c,timeframe:d,timeframeTicks:g,compareMode:u,dataAvailable:p,bookCloseDate:h,onCompareModeChanged:x}):g.map((w,m)=>t.jsx(_g,{firstMonthOfFY:c,timeframeTick:w,timeframe:d,isActualVsForecastOn:r,compareMode:u,dataAvailable:p,bookCloseDate:h,onCompareModeChanged:x},m))})]})}const kt=(e,n,o,i,r,l,c,d,g,u,p)=>{if(o.element.kind!="ac_report"||o.element.data==null)return null;const h=o.element.data,x=ne((Te(o.config.reportId)===!0||bo(o.config.reportId)===!0?ni(0,o.config.filterAccountsWithNilBalances):at(o.element.sectionType,"no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances)).acBalanceSelector(h),o.config.displayOrder,o.element.numOfBalances);return t.jsx(Lu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:u,accountBalances:x.balances,isScrolling:c,isLeaf:d,isLastNode:g,account:h,onAccountBalanceClick:p==null?void 0:(f,w,m)=>{p?.(f,w,m)}})},De=(e,n,o,i,r,l,c,d,g,u,p,h)=>{if(o.element.kind!="ac_subaccount"||o.element.data==null)return null;const x=o.element.data,f=Bi(wn("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances),w=x.account.classesViewParentId?.parentClassId!=null?x.account.classesViewParentId?.parentClassId.length-1:void 0,m=o.config.reportId==="operating_expenses";return t.jsx(og,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",classDepth:w,compareMode:p,accountBalances:f.balances,isScrolling:c,isLeaf:d,isOpen:g,isLastNode:u,account:x,metadata:o.element.metadata,onClick:h,noMarginForAccount:m,onAccountBalanceClick:h==null?void 0:(b,k,C)=>{h?.(b,k,C)}})},jt=(e,n,o,i,r,l,c,d,g,u,p,h)=>{if(o.element.kind!="ac_group_report"||o.element.data==null)return null;const x=o.element.data,f=ne(at(o.element.sectionType,"no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances);return t.jsx(su,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:x.accountGroupName,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:p,accountGroupBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:g,isLastNode:u,onClick:w=>{h?.(w)}})},bn=(e,n,o,i,r,l,c,d,g,u,p,h)=>{if(o.element.kind!="ac_group_subaccount"||o.element.data==null)return null;const x=o.element.data,f=ne(wn("no_filter",o.config.filterAccountsWithNilBalances,o.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(x),o.config.displayOrder,o.element.numOfBalances);return t.jsx(yu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,leftChevron:d?"open":"collapsed",accountGroupName:x.accountGroupName,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:p,accountGroupBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:g,isLastNode:u,onClick:w=>{h?.(w)}})},kn=(e,n,o,i,r,l,c,d,g,u,p,h)=>{if(o.element.kind!="section"||o.element.data==null)return null;const x=on(o.element.title),f=ne(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(yn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:p,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:g,isLastNode:u,onClick:w=>{h?.(w)}})},St=(e,n,o,i,r,l,c,d,g,u,p,h)=>{if(o.element.kind!="section_with_ac_only"||o.element.data==null)return null;const x=on(o.element.title),f=ne(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(yn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:p,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:g,isLastNode:u,onClick:w=>{h?.(w)}})},jn=(e,n,o,i,r,l,c,d,g,u,p,h)=>{if(o.element.kind!="calculated_section"||o.element.data==null)return null;const x=on(o.element.title),f=ne(o.element.data,o.config.displayOrder,o.element.numOfBalances);return t.jsx(yn,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,sectionName:o.element.title,sectionColor:x,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",compareMode:p,sectionBalances:f.balances,isScrolling:c,isOpen:d,isLeaf:g,isLastNode:u,onClick:w=>{h?.(w)}})},Ge=(e,n,o,i,r,l,c,d,g)=>{if(n.element.kind!="ac_subentity_total")return null;const u=n.element.data,p=wn("no_filter",n.config.filterAccountsWithNilBalances,n.config.filterAccountGroupsWithNilBalances),h=u.account.classesViewParentId?.parentClassId!=null?u.account.classesViewParentId?.parentClassId.length-1:void 0,x=Bi(p.acBalanceSelector(u),n.config.displayOrder,n.element.numOfBalances),f=n.config.reportId==="operating_expenses"||n.config.reportId==="operating_expenses_by_classes";return t.jsx(pg,{type:e,backgroundColor:i,isSticky:r,height:o,accountName:u.account.accountName,account:u,isActualVsForecastOn:n.config.mode==="actual_vs_forecast",compareMode:g,accountBalances:x.balances,isScrolling:l,noMarginForAccount:f,isLeaf:c,isLastNode:d,metadata:n.element.metadata,classDepth:h})},Ee=(e,n,o,i,r,l,c,d)=>{if(o.element.kind!=="timeframe_headers"&&o.element.kind!=="timeframe_headers_with_forecast")return null;const g=Be(o.element.data,o.config.displayOrder),u=g.length>0?g[0].balanceTimeFrame:"month",p=g.map(h=>Le(h));return t.jsx($g,{treeNodeId:e,backgroundColor:r,isSticky:l,type:n,height:i,isActualVsForecastOn:o.element.kind==="timeframe_headers_with_forecast",isCompareModeOn:o.config.mode==="this_period_vs_period_before"&&p.length>1,firstMonthOfFY:o.config.firstMonthOfFY,timeframe:u,timeframeTicks:p,compareMode:c,dataAvailable:o.config.dataAvailable,bookCloseDate:o.config.bookCloseDate,onCompareModeChanged:d})},Fi=(e,n,o,i,r,l,c,d,g,u,p,h,x)=>{if(o.element.kind!="class"||o.element.data==null)return null;const f=o.element.data,w=ne(f.childrenBalancesTotal,o.config.displayOrder,o.element.numOfBalances),m=p>1;return t.jsx(Vu,{type:n,backgroundColor:r,isSticky:l,treeNodeId:e,height:i,className:o.element.title,classCode:o.element.data.class.accountingClassNumber,isActualVsForecastOn:o.config.mode==="actual_vs_forecast",depth:f.id.length-1,compareMode:h,sectionBalances:w.balances,isScrolling:c,isOpen:d,isLeaf:g,hasChildren:f.children.length>0,isLastNode:u,isSubClass:m,showClassAccountNumber:o.config.showClassAccountNumber,onClick:b=>{x?.(b)},metadata:o.element.metadata})},ho=e=>{const{height:n,data:{reportElementData:o,id:i,treeKind:r,isLeaf:l,isLastNode:c,nestingLevel:d,isFirstNode:g},isOpen:u,style:p,setOpen:h,isScrolling:x}=e,f=e.treeNodePadding?.left,w=e.treeNodePadding?.right;return t.jsx("div",{style:{...p,width:"auto",minWidth:"100%",paddingLeft:f,paddingRight:w},children:t.jsx(zi,{id:i,backgroundColor:e.backgroundColor,treeKind:r,reportElementData:o,height:n,isSticky:e.isSticky,isScrolling:x??!1,isLeaf:l,isLastNode:c,isFirstNode:g,isOpen:u,nestingLevel:d,nodeClickHandler:e.onNodeClick==null&&l?void 0:(m,b,k)=>{const C=l?u:!u;!l&&k==null&&(h(!u),e.onNodeCollapseToggled?.(m,!u)),e.onNodeClick?.(m,C,b,k)},compareMode:e.compareMode,hoveredParentIdProps:e.hoveredParentIdProps,onCompareModeChanged:e.onCompareModeChanged,toggleCheckHandler:e.onToggleCheck},i)})},zi=e=>e.treeKind==="name_only"?t.jsx(Mg,{...e}):Xt(e.reportElementData.config.reportId)?t.jsx(Wg,{...e}):tn(e.reportElementData.config.reportId)===!0?t.jsx(Ig,{...e}):bo(e.reportElementData.config.reportId)===!0?t.jsx(Lg,{...e}):Jt(e.reportElementData.config.reportId)===!0?t.jsx(Bg,{...e}):Te(e.reportElementData.config.reportId)===!0?t.jsx(Ag,{...e}):Qt(e.reportElementData.config.reportId)===!0?t.jsx(Og,{...e}):sr(e.reportElementData.config.reportId)===!0?t.jsx(Ng,{...e}):nn(e.reportElementData.config.reportId)===!0?t.jsx(Pg,{...e}):en(e.reportElementData.config.reportId)===!0?t.jsx(Fg,{...e}):null,Lg=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:g,isOpen:u,nestingLevel:p,compareMode:h,nodeClickHandler:x,onCompareModeChanged:f})=>{switch(o.element.kind){case"ac_report":return kt(e,n,o,i,r,l,c,d,g,h,x);case"ac_group_report":return jt(e,n,o,i,r,l,c,u,d,g,h,x);case"section":return kn(e,n,o,i,r,l,c,u,d,g,h,x);case"section_with_ac_only":return St(e,n,o,i,r,l,c,u,d,g,h,x);case"calculated_section":case"calculated_section_type1":return jn(e,n,o,i,r,l,c,u,d,g,h,x);case"title_string_only":default:return null;case"timeframe_headers":case"timeframe_headers_with_forecast":return Ee(e,n,o,i,r,l,h,f);case"class":return Fi(e,n,o,i,r,l,c,u,d,g,p,h,x);case"ac_subaccount":return De(e,n,o,i,r,l,c,d,u,g,h,x);case"ac_subentity_total":return Ge(n,o,i,r,l,c,d,g,h);case"headers_loading_in_progress":return((w,m,b)=>w.element.kind!=="headers_loading_in_progress"?null:t.jsx(ri,{height:m,backgroundColor:b,numOfBalances:w.element.numOfBalances}))(o,i,r);case"loading_in_progress":return((w,m,b)=>w.element.kind!=="loading_in_progress"?null:t.jsx(oi,{height:m,backgroundColor:b,title:w.element.title,numOfBalances:w.element.numOfBalances}))(o,i,r)}},Bg=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:g,isOpen:u,compareMode:p,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return kt(e,n,o,i,r,l,c,d,g,p,h);case"ac_group_report":return jt(e,n,o,i,r,l,c,u,d,g,p,h);case"ac_subaccount":return De(e,n,o,i,r,l,c,d,u,g,p,h);case"ac_group_subaccount":return bn(e,n,o,i,r,l,c,u,d,g,p,h);case"section":return kn(e,n,o,i,r,l,c,u,d,g,p,h);case"section_with_ac_only":return St(e,n,o,i,r,l,c,u,d,g,p,h);case"calculated_section":case"calculated_section_type1":return jn(e,n,o,i,r,l,c,u,d,g,p,h);case"title_string_only":default:return null;case"ac_subentity_total":return Ge(n,o,i,r,l,c,d,g,p);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ee(e,n,o,i,r,l,p,x)}},Ag=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:g,isOpen:u,nestingLevel:p,compareMode:h,nodeClickHandler:x,onCompareModeChanged:f})=>{switch(o.element.kind){case"ac_report":return kt(e,n,o,i,r,l,c,d,g,h,x);case"ac_group_report":return jt(e,n,o,i,r,l,c,u,d,g,h,x);case"section":return ci(e,n,o,i,r,l,c,u,d,g,h,x);case"section_with_ac_only":return St(e,n,o,i,r,l,c,u,d,g,h,x);case"calculated_section":case"calculated_section_type1":return si(e,n,o,i,r,l,c,u,d,g,h,x);case"title_string_only":return sn(e,n,o,i,r,l,c,u,d,g,h,x);case"ac_subentity_total":return Ge(n,o,i,r,l,c,d,g,h);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ee(e,n,o,i,r,l,h,f);case"class":return Fi(e,n,o,i,r,l,c,u,d,g,p,h,x);case"ac_subaccount":return De(e,n,o,i,r,l,c,d,u,g,h,x);case"total":return di(e,n,o,i,r,l,h,d);case"headers_loading_in_progress":return((w,m,b)=>w.element.kind!=="headers_loading_in_progress"?null:t.jsx(ri,{height:m,backgroundColor:b,numOfBalances:w.element.numOfBalances}))(o,i,r);case"loading_in_progress":return((w,m,b)=>w.element.kind!=="loading_in_progress"?null:t.jsx(oi,{height:m,backgroundColor:b,title:w.element.title,numOfBalances:w.element.numOfBalances}))(o,i,r);default:return null}},Og=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:g,isOpen:u,compareMode:p,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return((f,w,m,b,k,C,_,$,B,A,P)=>{if(m.element.kind!="ac_report"||m.element.data==null)return null;const V=m.element.data,D=ne((Te(m.config.reportId)===!0?ni(0,m.config.filterAccountsWithNilBalances):at(m.element.sectionType,"no_filter",m.config.filterAccountsWithNilBalances,m.config.filterAccountGroupsWithNilBalances)).acBalanceSelector(V),m.config.displayOrder,m.element.numOfBalances);return t.jsx(yc,{type:w,backgroundColor:k,isSticky:C,treeNodeId:f,height:b,accountBalances:D.balances,isCompareModeOn:m.config.mode==="this_period_vs_period_before",isForecastModeOn:m.config.mode==="actual_vs_forecast",isScrolling:_,isLeaf:$,isLastNode:B,compareMode:A,account:V,onAccountBalanceClick:P==null?void 0:(Y,X,ee)=>{P?.(Y,X,ee)}})})(e,n,o,i,r,l,c,d,g,p,h);case"ac_group_report":return((f,w,m,b,k,C,_,$,B,A,P,V)=>{if(m.element.kind!="ac_group_report"||m.element.data==null)return null;const D=m.element.data,Y=ne(at(m.element.sectionType,"no_filter",m.config.filterAccountsWithNilBalances,m.config.filterAccountGroupsWithNilBalances).acGroupBalanceSelector(D),m.config.displayOrder,m.element.numOfBalances);return t.jsx(sc,{type:w,backgroundColor:k,isSticky:C,treeNodeId:f,height:b,accountGroupName:D.accountGroupName,compareMode:P,accountGroupBalances:Y.balances,isScrolling:_,isOpen:$,isLeaf:B,isLastNode:A,onClick:X=>{V?.(X)}})})(e,n,o,i,r,l,c,u,d,g,p,h);case"ac_subaccount":return De(e,n,o,i,r,l,c,d,u,g,p,h);case"ac_group_subaccount":return bn(e,n,o,i,r,l,c,u,d,g,p,h);case"section":return ci(e,n,o,i,r,l,c,u,d,g,p,h);case"section_with_ac_only":return((f,w,m,b,k,C,_,$,B,A,P,V)=>{if(m.element.kind!="section_with_ac_only"||m.element.data==null)return null;const D=un(m.config.reportId,m.element.sectionType),Y=ne(m.element.data,m.config.displayOrder,m.element.numOfBalances);return t.jsx(hn,{type:w,backgroundColor:k,isSticky:C,treeNodeId:f,height:b,sectionName:m.element.title,sectionColor:D.color,sectionBalances:Y.balances,isScrolling:_,isOpen:$,isLeaf:B,isLastNode:A,compareMode:P,onClick:X=>{V?.(X)}})})(e,n,o,i,r,l,c,u,d,g,p,h);case"calculated_section":case"calculated_section_type1":return si(e,n,o,i,r,l,c,u,d,g,p,h);case"title_string_only":return sn(e,n,o,i,r,l,c,u,d,g,p,h);case"total":return di(e,n,o,i,r,l,p,d);case"ac_subentity_total":return Ge(n,o,i,r,l,c,d,g,p);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ee(e,n,o,i,r,l,p,x);default:return null}},Ng=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:g,isOpen:u,compareMode:p,nodeClickHandler:h,onCompareModeChanged:x})=>{switch(o.element.kind){case"ac_report":return kt(e,n,o,i,r,l,c,d,g,p,h);case"ac_group_report":return jt(e,n,o,i,r,l,c,u,d,g,p,h);case"section":return kn(e,n,o,i,r,l,c,u,d,g,p,h);case"section_with_ac_only":return St(e,n,o,i,r,l,c,u,d,g,p,h);case"calculated_section":return jn(e,n,o,i,r,l,c,u,d,g,p,h);case"calculated_section_type1":return((f,w,m,b,k,C,_)=>{if(w.element.kind!="calculated_section_type1"||w.element.data==null)return null;const $=ne(w.element.data,w.config.displayOrder,w.element.numOfBalances);return t.jsx(Sl,{backgroundColor:b,isSticky:k,treeNodeId:f,heading:w.element.title,totalBalances:$.balances,height:m,isScrolling:C,isLastNode:_})})(e,o,i,r,l,c,g);case"title_string_only":return sn(e,n,o,i,r,l,c,u,d,g,p,h);case"ac_subentity_total":return Ge(n,o,i,r,l,c,d,g,p);case"timeframe_headers":case"timeframe_headers_with_forecast":return Ee(e,n,o,i,r,l,p,x);case"ac_subaccount":return De(e,n,o,i,r,l,c,d,u,g,p,h);case"ac_group_subaccount":return bn(e,n,o,i,r,l,c,u,d,g,p,h);default:return null}},Mg=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLeaf:d,isLastNode:g,isOpen:u,toggleCheckHandler:p})=>o.element.kind==="checkbox_and_name_only"?((h,x,f,w,m,b,k,C,_,$,B)=>{if(f.element.kind!="checkbox_and_name_only")return null;const A=f.element.data,P=f.config.isClassToBeFilteredOut?.(A.classId)===!1;return t.jsx(Hd,{type:x,backgroundColor:m,isSticky:b,treeNodeId:h,classId:A.classId,isChecked:P,isDisabled:!1,height:w,isScrolling:k,nestedClass:A,isOpen:C,isLeaf:_,isLastNode:$,showClassAccountNumber:f.config.showClassAccountNumber,onToggleCheck:B})})(e,n,o,i,r,l,c,u,d,g,p):null,Ig=({id:e,treeKind:n,reportElementData:o,height:i,backgroundColor:r,isSticky:l,isScrolling:c,isLastNode:d,compareMode:g,onCompareModeChanged:u})=>{switch(o.element.kind){case"loading_in_progress":case"spacer_row":return((p,h,x,f)=>{if(p.element.kind!=="loading_in_progress")return null;const w=Be(p.element.data,p.config.displayOrder).map(m=>Le(m));return t.jsx(Zd,{backgroundColor:x,isSticky:f,height:h,isAccountColumnShown:p.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:p.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:w})})(o,i,r,l);case"timeframe_headers":return((p,h,x,f,w,m)=>{if(p.element.kind!=="timeframe_headers")return null;const b=Be(p.element.data,p.config.displayOrder),k=b.length>0?b[0].balanceTimeFrame:"month",C=b.map(_=>Le(_));return t.jsx(Sh,{backgroundColor:w,isSticky:x,height:h,isAccountColumnShown:p.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:p.config.opexByVendorConfig?.isClassColumnShown??!0,isCompareModeOn:p.config.mode==="this_period_vs_period_before"&&C.length>1,firstMonthOfFY:p.config.firstMonthOfFY,timeframe:k,timeframeTicks:C,sortKey:p.config.opexByVendorConfig?.sortKey,sortOrder:p.config.opexByVendorConfig?.sortOrder,dataAvailable:p.config.dataAvailable,bookCloseDate:p.config.bookCloseDate,compareMode:f,onCompareModeChanged:m,onSortOrderChanged:p.config.opexByVendorConfig?.onSortOrderChanged})})(o,i,l,g,r,u);case"total":return((p,h,x,f,w,m,b)=>{const k=x.element.data,C=x.config.mode==="this_period_vs_period_before",_=C?x.element.numOfBalances+2:x.element.numOfBalances+1,$=Gn(k,x.config.displayOrder,_,C);return t.jsx(Wh,{type:h,backgroundColor:b,isSticky:w,treeNodeId:p,height:f,isScrolling:m,totalBalances:$.balances,title:x.element.title,isAccountColumnShown:x.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:x.config.opexByVendorConfig?.isClassColumnShown??!0})})(e,n,o,i,l,c,r);case"vendor_row":return((p,h,x,f,w,m,b)=>{if(h.element.kind!="vendor_row"||h.element.data==null)return null;const k=h.element.data,C=h.config.mode==="this_period_vs_period_before",_=Gn(k,h.config.displayOrder,h.element.numOfBalances,C);return t.jsx(Jh,{type:p,backgroundColor:f,isSticky:w,height:x,isScrolling:m,vendor:k.vendor,accountBase:k.account,classBase:k.classBase,isLastNode:b,balances:_.balances,isAccountColumnShown:h.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:h.config.opexByVendorConfig?.isClassColumnShown??!0,onVendorNameAndBalanceClick:($,B)=>{h.config.opexByVendorConfig?.onVendorNameAndBalanceClicked($,B)}})})(n,o,i,r,l,c,d);case"title_string_only":return((p,h,x,f)=>{if(p.element.kind!=="title_string_only")return null;const w=Be(p.element.data,p.config.displayOrder).map(m=>Le(m));return t.jsx(nh,{backgroundColor:x,isSticky:f,height:h,isAccountColumnShown:p.config.opexByVendorConfig?.isAccountColumnShown??!0,isClassColumnShown:p.config.opexByVendorConfig?.isClassColumnShown??!0,timeframeTicks:w})})(o,i,r,l);default:return null}},Wg=({id:e,treeKind:n,reportElementData:o,height:i,isOpen:r,isSticky:l,isScrolling:c,isLastNode:d,backgroundColor:g,nodeClickHandler:u})=>{const{config:p}=o;switch(o.element.kind){case"spacer_row":default:return null;case"timeframe_headers":return((h,x,f,w,m,b,k)=>{if(h.element.kind!=="timeframe_headers")return null;const C=h.element.data;return t.jsx(Ma,{reportId:h.config.reportId==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",agingPeriods:C,backgroundColor:f,isSticky:w,height:x,sortKey:m,sortOrder:b,onSortOrderChanged:k})})(o,i,g,l,p.agingReportConfig?.sortKey,p.agingReportConfig?.sortOrder,p.agingReportConfig?.onSortOrderChanged);case"total":return((h,x,f,w,m)=>{const b=x.element.data;return t.jsx(Ja,{type:h,backgroundColor:w,isSticky:m,height:f,totalBalances:b,isIndented:x.config.reportId==="accounts_receivable_aging",title:x.element.title})})(n,o,i,g,l);case"aging_report_row":return((h,x,f,w,m,b,k,C,_,$)=>{if(x.element.kind!=="aging_report_row")return null;if(x.config.reportId==="accounts_payable_aging"){const A=x.element.data;return t.jsx(Ca,{backgroundColor:C,isLastNode:b,isScrolling:k,isSticky:m,height:f,balances:A.apAgingBalances,vendor:A.vendor,total:A.total,onEntityNameClick:_})}const B=x.element.data;return t.jsx(_a,{treeNodeId:h,backgroundColor:C,isLastNode:b,isScrolling:k,isSticky:m,isOpen:w,height:f,metadata:x.element.metadata,balances:B.arAgingBalances,nestedCustomer:B,total:B.total,totalWithChildren:B.totalWithChildren,onEntityNameClick:_,onClick:$})})(e,o,i,r,l,d,c,g,p.agingReportConfig?.onEntityNameClick,u);case"ac_subentity_total":return((h,x,f,w,m)=>{if(h.element.kind!=="ac_subentity_total")return null;if(h.config.reportId==="accounts_receivable_aging"){const b=h.element.data;return t.jsx(Ga,{backgroundColor:m,isScrolling:w,isSticky:f,height:x,metadata:h.element.metadata,nestedCustomer:b,total:b.totalWithChildren,noMarginForEntity:!0})}return null})(o,i,l,c,g)}},Pg=({id:e,reportElementData:n,height:o,backgroundColor:i,isSticky:r,isScrolling:l,isLeaf:c,isLastNode:d,isFirstNode:g,isOpen:u,onFluxBalanceClick:p,nodeClickHandler:h,hoveredParentIdProps:x})=>{switch(n.element.kind){case"flux_vendor_account_class_row":return((f,w,m,b,k,C,_,$,B)=>{if(!pn(w,"flux_vendor_account_class_row"))return null;const A=w.element.data,P=wi(A),V=w.element.metadata.vendorId;return t.jsx(ys,{backgroundColor:m,isSticky:b,treeNodeId:f,balances:P,varianceAmount:A.varianceAmount,variancePercentage:A.variancePercentage,currency:A.currency,isScrolling:k,isLeaf:C,isLastNode:_,nodeMetadata:w.element.metadata,accountAndClass:A,onAccountAndClassBalanceClick:()=>B?.(V),isHoveredByParent:$?.hoveredParentId===V})})(e,n,i,r,l,c,d,x,p);case"flux_vendor_row":return Fd(e,n,i,r,l,u,c,d,g,x,h);case"section":return zd(e,n,o,i,r,l,u,c,d,h);case"timeframe_headers":return((f,w,m)=>{if(f.element.kind!=="timeframe_headers")return null;const b=Be(f.element.data,f.config.displayOrder),k=b.length>0?b[0].balanceTimeFrame:"month",C=b.map(_=>Le(_));return t.jsx(ed,{isSticky:m,height:w,firstMonthOfFY:f.config.firstMonthOfFY,timeframe:k,timeframeTicks:C,isBulkSelected:f.config.fluxAnalysisConfig?.reviewOpExIds.length===20,onSortOrderChanged:(_,$)=>{f.config.fluxAnalysisConfig?.setIsSortApplied?.(!0),f.config.fluxAnalysisConfig?.onSortOrderChanged(_,$)},sortOrder:f.config.fluxAnalysisConfig?.sortOrder,sortKey:f.config.fluxAnalysisConfig?.sortKey})})(n,o,r);case"total":return((f,w)=>{if(f.element.kind!=="total")return null;const m=f.element.data;return t.jsx(hd,{type:"name+balances_actual",title:f.element.title,totalBalances:m.balances,varianceAmount:m.varianceAmount,variancePercentage:m.variancePercentage,currency:m.currency,height:w})})(n,o);case"loading_in_progress":return(f=>f.element.kind!=="loading_in_progress"?null:t.jsx(ks,{}))(n);case"headers_loading_in_progress":return(f=>f.element.kind!=="headers_loading_in_progress"?null:t.jsx(zs,{}))(n);default:return null}},Fg=({reportElementData:e,height:n,isSticky:o,isLastNode:i})=>{switch(e.element.kind){case"timeframe_headers":return function(r,l){if(r.element.kind!=="timeframe_headers")return null;const c=M.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers,d=r.element.data,g=d.accountIDs.length===0;return t.jsx(Dr,{sectionTitle:c.section[d.sectionId].title,isLoading:g,isSticky:l,height:nt("timeframe_headers")})}(e,o);case"loading_in_progress":return t.jsx(_r,{height:nt("loading_in_progress")});case"total":return((r,l,c)=>{const d=r.element.data;return t.jsx(ra,{isSticky:c,height:l,sectionData:d})})(e,n,o);case"section":return t.jsx($r,{height:nt("section")});case"title_string_only":return((r,l)=>{const c=r.element.data,d=M.getLocalizedStrings().expenseAutomation.accountRecon.reconciliation.headers;return t.jsx(Rr,{height:l,title:d.section[c.sectionId].title})})(e,n);case"ac_group_report":return((r,l,c)=>{const d=r.element.data,g=r.config.accountReconciliationConfig?.selectedDrawerAccountId!=null&&d.accountReconEntity.account.accountId===r.config.accountReconciliationConfig?.selectedDrawerAccountId;return t.jsx(gr,{height:l,accountRecon:d,isLastRow:c,isSelectedRow:g,onReviewClicked:r.config.accountReconciliationConfig?.onReviewClicked,onConnectClicked:r.config.accountReconciliationConfig?.onConnectClicked,onReconnectClicked:r.config.accountReconciliationConfig?.onReconnectClicked,onOpenDrawerClicked:r.config.accountReconciliationConfig?.onOpenDrawerClicked,onStatementAddClicked:r.config.accountReconciliationConfig?.onStatementAddClicked})})(e,n,i);default:return null}};function uo(e,n,o,i){return{data:{defaultHeight:Sn(e.reportElementData.config.reportId,e.reportElementData.element.kind,e.isFirstNode),id:e.id,isLeaf:e.children.length===0,isFirstNode:e.isFirstNode??!1,isLastNode:e.isLastNode,isOpenByDefault:i??zg(e.reportElementData.config.reportId,e.reportElementData.element.kind,o,e.reportElementData.config.reportFormat),nestingLevel:o,treeKind:n,reportElementData:e.reportElementData},treeKind:n,nestingLevel:o,node:e}}function Sn(e,n,o){return Jt(e)===!0?function(i){switch(i){case"section":case"section_with_ac_only":case"calculated_section":case"calculated_section_type1":return S[8];case"ac_group_report":case"ac_group_subaccount":case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"title_string_only":case"total":case"loading_in_progress":case"class":case"checkbox_and_name_only":return S[6];case"timeframe_headers":case"headers_loading_in_progress":return S[11];case"timeframe_headers_with_forecast":return 98;default:return 0}}(n):Qt(e)===!0||Te(e)===!0?function(i){switch(i){case"section":case"ac_group_report":case"ac_group_subaccount":case"calculated_section":case"calculated_section_type1":case"section_with_ac_only":case"title_string_only":case"total":return S[8];case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"loading_in_progress":case"class":case"checkbox_and_name_only":return S[6];case"timeframe_headers":case"headers_loading_in_progress":return S[11];case"timeframe_headers_with_forecast":return 98;default:return 0}}(n):Xt(e)?function(i){switch(i){case"timeframe_headers":return S[10];case"aging_report_row":case"ac_subentity_total":return S[6];case"total":case"spacer_row":return S[8];default:return S[0]}}(n):en(e)?nt(n):tn(e)?function(i){switch(i){case"timeframe_headers":return S[11];case"vendor_row":case"loading_in_progress":return S[6];case"total":case"spacer_row":case"title_string_only":return S[8];default:return 0}}(n):nn(e)?xi(n,o):function(i){switch(i){case"section":case"section_with_ac_only":case"calculated_section":case"ac_group_report":case"ac_group_subaccount":return S[8];case"calculated_section_type1":case"ac_report":case"ac_subaccount":case"ac_subentity_total":case"total":return S[6];case"title_string_only":return 67;case"timeframe_headers":return S[11];default:return S[0]}}(n)}function zg(e,n,o,i){return Jt(e)?function(r,l,c=0){const d=["summary"];switch(r){case"section":case"section_with_ac_only":case"title_string_only":return!d.includes(l);case"calculated_section":case"calculated_section_type1":case"ac_group_report":case"ac_report":case"total":case"timeframe_headers":case"timeframe_headers_with_forecast":default:return!1;case"ac_group_subaccount":case"ac_subaccount":case"ac_subentity_total":return!(d.includes(l)||l==="detailed"&&c>0);case"class":return!(l==="detailed"&&c>0);case"checkbox_and_name_only":return!0}}(n,i,o):Qt(e)||Te(e)===!0?function(r,l){const c=["summary","detailed"];switch(r){case"section":case"section_with_ac_only":case"ac_group_report":case"ac_group_subaccount":case"ac_subentity_total":case"ac_subaccount":case"ac_report":case"title_string_only":return!c.includes(l);case"calculated_section":case"calculated_section_type1":case"total":case"timeframe_headers":case"timeframe_headers_with_forecast":default:return!1;case"class":case"checkbox_and_name_only":return!0}}(n,i):!!Xt(e)||!tn(e)&&(nn(e)?function(r){return["section","flux_vendor_account_class_row","flux_vendor_row"].includes(r)}(n):en(e)?ur():function(r,l){const c=["summary","detailed"];switch(r){case"section":case"section_with_ac_only":case"calculated_section":case"calculated_section_type1":case"ac_group_report":case"ac_group_subaccount":case"ac_report":case"ac_subaccount":case"ac_subentity_total":case"title_string_only":return!c.includes(l);default:return!1}}(n,i))}const Tg=a.div`
2791
+ top: 0;
2792
+ left: 0;
2793
+ position: sticky !important;
2794
+ position: -webkit-sticky !important;
2795
+ min-height: ${e=>e.heightValue}px;
2796
+ max-height: ${e=>e.heightValue}px;
2797
+ width: fit-content;
2798
+ min-width: 100%;
2799
+ z-index: 2;
2800
+ display: flex;
2801
+ flex-direction: column;
2802
+ align-items: center;
2803
+ background-color: ${e=>e.bgColor?.hex()};
2804
+ box-sizing: border-box;
2805
+ `;function Vg({height:e,backgroundColor:n,headers:o,treeKind:i,isSticky:r,compareMode:l,onCompareModeChanged:c}){return o.length===0?null:(o.forEach(d=>{if(d.children.length>0)throw Error("Sticky headers can't have children")}),t.jsx(Tg,{heightValue:e,bgColor:n,"data-testid":y("sticky-header-report-tree"),children:o.map((d,g)=>t.jsx(zi,{id:d.id,treeKind:i,reportElementData:d.reportElementData,height:Sn(d.reportElementData.config.reportId,d.reportElementData.element.kind,d.isFirstNode),backgroundColor:n,isSticky:r,isScrolling:!1,isLeaf:!0,isLastNode:o.length-1===g,isFirstNode:!1,isOpen:!0,nestingLevel:1,nodeClickHandler:()=>{console.log("Node click handler is called")},compareMode:l,onCompareModeChanged:c},d.id))}))}const Ti=z.createContext(void 0);function Dg({height:e,kind:n,rootNodes:o,compareMode:i,isSticky:r,backgroundColor:l,treeNodePadding:c,treeClassName:d,treeStyle:g,treeRef:u,treeOuterElementRef:p,infiniteLoadingProps:h,variableNodeHeightTree:x,onNodeClick:f,onCompareModeChanged:w,scrollPosition:m,onScroll:b,nodeOpenStatus:k,onNodeCollapseToggled:C,onTreeInnerElementHeightChanged:_,onToggleCheck:$,hoveredParentIdProps:B}){const A=z.useRef(null),P=z.useRef(null),V=On(x?.prevFetchState),D=On(x?.prevRefreshFetchState),[Y,X]=z.useState(0),ee=p??P,Z=u??A,de=I(),[fe,Cn]=z.useState(void 0),[_n,vn]=z.useState(!1),[Re,$n]=z.useState(k),Ln=(F,U)=>{$n(Object.assign({},Re,{[F]:U})),C?.(F,U)},Bn=F=>{if(o.contentNodes.length>0)if(Object.keys(F).length>0){const U={};Object.keys(F).forEach(he=>{U[he]={open:F[he]}}),Z?.current?.recomputeTree(U)}else{const U=o.contentNodes[0].id;Z?.current?.recomputeTree({[U]:{open:!0}})}};z.useLayoutEffect(()=>{if((!Nn(m,fe)||fe==null)&&ee.current!=null){const F=m?.scrollLeft==null?de==="small"?0:ee.current.scrollWidth:m?.scrollLeft;if(m!=null){const U={scrollTop:m.scrollTop,scrollLeft:F};Cn(U),F!==m?.scrollLeft&&b?.(U)}ee.current.scroll({left:F,top:m?.scrollTop})}},[m]),z.useEffect(()=>{Nn(k,Re)||($n(k),Bn(k))},[k]),z.useEffect(()=>{const F=ee.current,U=Hi(()=>{if(F!=null&&(fe==null||F.scrollLeft!==fe.scrollLeft||F.scrollTop!==fe.scrollTop)){const he={scrollLeft:F.scrollLeft,scrollTop:F.scrollTop};Cn(he),b?.(he)}},50);return F?.addEventListener("scroll",U),()=>{F?.removeEventListener("scroll",U)}},[ee,fe,b]),z.useEffect(()=>{if(o.contentNodes.length>0){Bn(Re);const F=o.contentNodes[0].reportElementData.config.mode==="actual_vs_forecast";F!==_n&&vn(F)}},[_n,vn,o,Z,ee]),z.useEffect(()=>{(x!=null&&V==="In-Progress"&&x.fetchState==="Completed"&&x.isSortApplied||x!=null&&D==="In-Progress"&&x.refreshFetchState==="Completed")&&(x.reducedFetchState==="Completed"&&x.setIsSortApplied(!1),X(Y+1))},[Y,x?.fetchState,x?.isSortApplied,V,D,x]);const Ct=z.useRef(),[Vi,Di]=z.useState(void 0),An=z.useCallback(((F,U,he)=>function*(){for(let pe=0;pe<U.length;++pe)yield uo(U[pe],F,0,he[U[pe].id]??void 0);for(;;){const pe=yield;for(let He=0;He<pe.node.children.length;++He)yield uo(pe.node.children[He],F,pe.nestingLevel+1,he[pe.node.children[He].id]??void 0)}})(n,o.contentNodes,Re),[n,o]),Gi={rootNodes:o,treeNodePadding:c,backgroundColor:l,kind:n,isSticky:r,compareMode:i,onCompareModeChanged:w};return t.jsx(Ti.Provider,{value:Gi,"data-testid":y("report-tree"),children:h==null?t.jsx(Mn,{className:d,style:g,ref:Z,innerRef:Ct,outerRef:ee,innerElementType:Gt,treeWalker:An,onItemsRendered:()=>{const F=Ct.current;F!=null&&F.clientHeight>0&&F.clientHeight!=Vi&&(Di(F.clientHeight),_?.(F.clientHeight))},height:e,width:"100%",children:F=>t.jsx(ho,{...F,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:c,onNodeClick:f,onNodeCollapseToggled:Ln,compareMode:i,onCompareModeChanged:w,onToggleCheck:$})}):t.jsx(Ki,{isItemLoaded:h.isItemLoaded,itemCount:h.itemCount+1,loadMoreItems:h.loadMoreItems,children:({onItemsRendered:F,ref:U})=>t.jsx(Mn,{className:d,style:g,ref:U,innerRef:Ct,outerRef:ee,innerElementType:Gt,treeWalker:An,onItemsRendered:F,height:e,width:"100%",children:he=>t.jsx(ho,{...he,isSticky:r.isStickyName,backgroundColor:l,treeNodePadding:c,onNodeClick:f,onNodeCollapseToggled:Ln,compareMode:i,onCompareModeChanged:w,onToggleCheck:$,hoveredParentIdProps:B})},Y)})})}const Gt=z.forwardRef((e,n)=>{const{children:o,style:i,...r}=e,{rootNodes:l,treeNodePadding:c,backgroundColor:d,kind:g,isSticky:u,compareMode:p,onCompareModeChanged:h}=z.useContext(Ti),x=l.headerNodes.reduce((b,k)=>b+Sn(k.reportElementData.config.reportId,k.reportElementData.element.kind,k.isFirstNode),0),f=c?.left,w=c?.right,m=s.sp8;return t.jsxs("div",{ref:n,style:{...i,width:"auto",minWidth:"100%",paddingLeft:f,paddingRight:w,marginBottom:m},...r,children:[t.jsx(Vg,{height:x,backgroundColor:d,headers:l.headerNodes,treeKind:g,isSticky:u.isStickyHeader,compareMode:p,onCompareModeChanged:h}),o]})});Gt.displayName="stickyInnerElementType";const Gg=a.div`
2806
+ display: flex;
2807
+ flex: 1 0 auto;
2808
+ width: ${e=>e.width}px;
2809
+ height: ${e=>e.height}px;
2810
+ padding-left: ${e=>e.paddingLeft}px;
2811
+ background-color: ${e=>e.bgColor?.hex()};
2812
+
2813
+ & .content-scroll {
2814
+ overflow: auto;
2815
+ scrollbar-width: thin;
2816
+ scrollbar-color: transparent transparent;
2817
+ &::-webkit-scrollbar {
2818
+ width: ${s.sp2};
2819
+ height: ${s.sp2};
2820
+ background-color: transparent;
2821
+ }
2822
+ &::-webkit-scrollbar-thumb {
2823
+ background-color: transparent;
2824
+ }
2825
+
2826
+ &:hover {
2827
+ scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
2828
+ &::-webkit-scrollbar {
2829
+ width: ${s.sp2};
2830
+ height: ${s.sp2};
2831
+ background-color: transparent;
2832
+ }
2833
+ &::-webkit-scrollbar-track {
2834
+ box-shadow: inset 0 0 2px ${te.scrollbarBoxShadow};
2835
+ -webkit-box-shadow: inset 0 0 2px ${te.scrollbarBoxShadow};
2836
+ background-color: transparent;
2837
+ }
2838
+ &::-webkit-scrollbar-thumb {
2839
+ background-color: ${e=>e.theme.colors.grey1};
2840
+ border-radius: 2px;
2841
+ }
2842
+ }
2843
+ }
2844
+ `;function Zg({rootNodes:e,type:n,compareMode:o,isSticky:i,backgroundColor:r,treeNodePadding:l,onAccountClick:c,infiniteLoadingProps:d,variableNodeHeightTree:g,hoveredParentIdProps:u,onCompareModeChanged:p,scrollPosition:h,onScroll:x,nodeOpenStatus:f,onNodeCollapseToggled:w,onReportTableHeightChanged:m,onToggleCheck:b}){return t.jsx(Ei,{children:({height:k,width:C})=>t.jsx(Gg,{"data-testid":y("report-tree-container"),height:k,width:C,paddingLeft:l?.left??0,bgColor:r,children:t.jsx(Dg,{"data-testid":y("report-tree"),treeClassName:"content-scroll",height:k,kind:n,rootNodes:e,compareMode:o,isSticky:i,backgroundColor:r,treeNodePadding:l!=null?{left:0,right:l?.right}:void 0,infiniteLoadingProps:d,variableNodeHeightTree:g,hoveredParentIdProps:u,onNodeClick:c==null?void 0:(_,$,B,A)=>{B!=null&&A!=null&&c(B,A)},onCompareModeChanged:p,scrollPosition:h,onScroll:x,nodeOpenStatus:f,onNodeCollapseToggled:w,onTreeInnerElementHeightChanged:m,onToggleCheck:b})})})}export{ne as D,Zg as I,J,Ug as R,Ve as V,Pe as a,at as l,zc as n,qg as r,wn as x};