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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/dist/assets/{ACHDetailsPage-ppaaVv4t-BnOUfoFz.js → ACHDetailsPage---jqahtW-HkPM6iNK.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-brocrTLA-C9EDr2D4.js → AIPerformancePage-CqtdCyg8-Dj0j3-W5.js} +36 -36
  3. package/dist/assets/{AccountInfoPage-BkqXbGUJ-DXuI8tNZ.js → AccountInfoPage-Bj1CYa-r-6hrIafHf.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-DOrQxiUF-2yx_ZhMt.js → AccountInfoPageContent-qqbfRfuR-DLDodhYL.js} +20 -20
  5. package/dist/assets/{AccountReconDetailsDrawerPage-i6rVi1gY-DVchfPsP.js → AccountReconDetailsDrawerPage-B4UwcNN9-Crki_oBL.js} +18 -18
  6. package/dist/assets/AccountRow-CPX-627p-B4ZaO0oz.js +298 -0
  7. package/dist/assets/{AccountsPromoCardStack-BvFE5A3N-C__nnIqn.js → AccountsPromoCardStack-DJRAw09x-KYhdIp34.js} +26 -26
  8. package/dist/assets/{AddAddressForCardDrawer-BV2BSzaD-CBI5bfsC.js → AddAddressForCardDrawer-C16ksTIf-_DtEs9T5.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-DTEIuDRq-CzKzLxkn.js → AddToWalletPage-CDP1oPrv-D581H1KG.js} +18 -18
  10. package/dist/assets/{AgingReportsPage-B8iVxaQX-z0eVPQ8X.js → AgingReportsPage-BE4plS7V-BI8-4bNE.js} +7 -7
  11. package/dist/assets/{AllUserItems-BepRyHp7-6smxMTUs.js → AllUserItems-hoI2_gnV-BVf131yZ.js} +8 -8
  12. package/dist/assets/{ApAgingDetailPage-DOObMUqB-DRL-pTDS.js → ApAgingDetailPage-Lxprtz8c-v17bsYA_.js} +3 -3
  13. package/dist/assets/{AppBasePage-Ob8EkU54-B4IzJNVZ.js → AppBasePage-DNOkJf4q-CMKV9Zw9.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-CNsKktFP-oEQQGdma.js → AppDrawerContent-DG2Jr298-DulxRmba.js} +10 -10
  15. package/dist/assets/{ApprovalRulesSettingsPage-Bn7LOelK-C_JBTy7y.js → ApprovalRulesSettingsPage-DnKXln0A-Dwcdgf1j.js} +6 -6
  16. package/dist/assets/{ArAgingChart-C0hTtEmV-Cp3DCSeq.js → ArAgingChart-BRcy3--o-CqONheoM.js} +7 -7
  17. package/dist/assets/{ArAgingDetailPage-C_E_xPwf-CoqFi7sc.js → ArAgingDetailPage-Djsocm6M-DY45zDqC.js} +3 -3
  18. package/dist/assets/{AttachmentView-CATl3tNf-DCa2zXLn.js → AttachmentView-C3AzH7cN-Csi7tXqw.js} +8 -8
  19. package/dist/assets/{BankAccountSection-VSbZyxoY-BkprL32R.js → BankAccountSection-6zosSfPV-CL3CT6a1.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-a39s142r-4WcZfRoK.js → BankAccountWarningSection-CWeN3me0-QfeSw0RL.js} +6 -6
  21. package/dist/assets/{BankConnectionsSettingsPage-CBavGNdc-DWKqHO49.js → BankConnectionsSettingsPage-C6e0pgD4-B1leagLf.js} +22 -22
  22. package/dist/assets/{BillDetailPage-uMG3JJPb-ClGgqpml.js → BillDetailPage-DyIokQbf-BaKgZbi4.js} +9 -9
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-Bmrg1Wxh-CFroqaxM.js → BillPayApprovalRuleDetailPage-BOhQfwEj-CAExLIKt.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRulesPage-BN21qPTb-BwOgIMfY.js → BillPayApprovalRulesPage-CSua3b4v-Cw1EavO3.js} +7 -7
  25. package/dist/assets/{BillPayPromoPage-DoP2oC8W-D-cHzeZ4.js → BillPayPromoPage-CtenNypw-CjfButz0.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-o-V-9aI5-DuW6yWFa.js → BillPaySetUpPage-CAnvQ_-Q-DJBEmdYy.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-CX-rbxzB-D5hgrymw.js → BillingSettingsPage-CjSAhEFl-tgXS9QLV.js} +4 -4
  28. package/dist/assets/{BillsBulkReviewDrawerPage-_qgURJjv-CemkDBxg.js → BillsBulkReviewDrawerPage-B62rj2kN-BUJLVUNP.js} +1 -1
  29. package/dist/assets/{BoxItem-CHPfWPEF-lXs1y6iB.js → BoxItem-Cqmd_7h4-S5g5H_Jr.js} +1 -1
  30. package/dist/assets/BusinessVerificationPage-DT24fycp-CWdqg83h.js +140 -0
  31. package/dist/assets/{CardNumberSubText-dxYfM6ph-B1OZ5t3N.js → CardNumberSubText-DszoXtgg-ySKglJLN.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-BfTC3IBm-BcRVF9pL.js → CashbackDetailPage-DAwARNZD-3Wx6cNnB.js} +13 -13
  33. package/dist/assets/{ChargeCardDetailPage-npqfreRG-D_PNn6ZE.js → ChargeCardDetailPage-BzbR-Z63-7lzvBesN.js} +40 -40
  34. package/dist/assets/{ChargeCardListPage-Dbx1ymB9-DiXO1BWI.js → ChargeCardListPage-DSOp7sFg-CW3N5mrs.js} +10 -10
  35. package/dist/assets/{ChargeCardListTable-qk9tQ6Kb-DR0FaH4k.js → ChargeCardListTable-BE4it4le-6GBRyFGt.js} +10 -10
  36. package/dist/assets/{ChargeCardPromoPage-CsItH2IC-BEXKS9-8.js → ChargeCardPromoPage-DOibcN9n-8P5nzLqn.js} +4 -4
  37. package/dist/assets/{ChargeCardSetupPage-D5LWY3-P-BB2kARlQ.js → ChargeCardSetupPage-Dm_N5oDM-BxIAhVV2.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-vYbnt2WJ-CDBr97Hk.js → ChargeCardStatementsPage-Dhqs5CF4-Be58aAaq.js} +2 -2
  39. package/dist/assets/{ChargeCardUtils-k5Cmi_bM-xJoIL5jf.js → ChargeCardUtils-oF0M6Gmc-CWcylJdd.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DQz9r9Pp-Bwx2nGMD.js → ChaseOverlay-DPgGIuyV-JigHbzQk.js} +7 -7
  41. package/dist/assets/CheckDepositDrawerPage-DaaWfNin-BVXQpqWr.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-Dp1985is-CgJ_JGJs.js → CollapsableReportTable-DMr2UDgH-cuAz2CYU.js} +29 -29
  43. package/dist/assets/{CompanyOfficerDetailsSection-CGewbsKm-DBM7Hns2.js → CompanyOfficerDetailsSection-B_cIues7-BNMnvkxE.js} +19 -19
  44. package/dist/assets/{CompanyPassportCard-Dp3a8GH8-qRGWLoZI.js → CompanyPassportCard-CHF83hfN-BGYNkzga.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-CS1LPj5f-CxHtTINk.js → CompanyPassportPage-C5W3KcDY-Bzodetvj.js} +29 -29
  46. package/dist/assets/CompleteProfile-MP9AF8Iu-CvhmGgEz.js +36 -0
  47. package/dist/assets/{ConfettiBurst-DX1P5VT_-C7tIIZfu.js → ConfettiBurst-DVT9EpwF-DHA9TDKH.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BL1BXGvy-Vx1XM-1z.js → CreateOrEditVendorPage-DVbYQaWM-DGXxCdMQ.js} +13 -13
  49. package/dist/assets/{CreditCardPaymentDrawerPage-D6-R3DiA-ByQ_c4QS.js → CreditCardPaymentDrawerPage-D2qT7vsE-Bf1M1_AV.js} +10 -10
  50. package/dist/assets/{CreditCardPaymentPlgSection-YcsIIUkG-C-zCY8ZF.js → CreditCardPaymentPlgSection-7cmMRTQm-CcPhomOR.js} +6 -6
  51. package/dist/assets/{CurrencySelectField-CH65s5Fc-DGotu77i.js → CurrencySelectField-ClhIJFVw-Cum1rEqk.js} +4 -4
  52. package/dist/assets/{CustomerOnboardingActivationPage-DCHbvIb1-4vnrfrOn.js → CustomerOnboardingActivationPage-D-Ihd-H0-BECSi6lI.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-C9jXmYuH-DO8DpQlg.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cz40bZgg-6UjJ2BJ9.js → CustomerOnboardingDetailPageSkeleton-CUxNOK4z-Ch73W5CD.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DrbkKOBx-C5bbYFj1.js → CustomerOnboardingNoStepsPage-B9ts3Tla-CfVcbZOI.js} +4 -4
  56. package/dist/assets/CustomerOnboardingPage-DJbFeXms-BffeJFQv.js +107 -0
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DyGs61vw-DLcQ1dQj.js → CustomerOnboardingProductSuitePage-iSJtAhvu-CITklSrx.js} +5 -5
  58. package/dist/assets/{Dashboard-beLswUHx-XoTiAJKU.js → Dashboard-SKeHZ5QY-pKKhGZuT.js} +38 -38
  59. package/dist/assets/DashboardReportPage-3X6wpJL2-lEFYnnKZ.js +349 -0
  60. package/dist/assets/{DepositAccTransactionItem-CfAjG3HH-COwwc_MG.js → DepositAccTransactionItem-DJNio75H-BszNXL3v.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-Cj1smNoP-CkdRHZge.js → DepositAccTransactionListPage-DTIjlF2l-BqgMCmPb.js} +3 -3
  62. package/dist/assets/{DocumentSecurityBanner-BRFFDueV-stK3q2uU.js → DocumentSecurityBanner-CVNWDvAg-ZZDqDElp.js} +1 -1
  63. package/dist/assets/DomesticWireDetailsPage-D-qwPVDs--Pww9UWD.js +21 -0
  64. package/dist/assets/{DownloadOverlay-Ly2ZesqA-D_S8bx9G.js → DownloadOverlay-BLj0xso_-BlktwxlM.js} +1 -1
  65. package/dist/assets/{DrawerPage-BFIdjtOJ-BFnTHlQb.js → DrawerPage-CEetzMMx-BQrlKpot.js} +3 -3
  66. package/dist/assets/{EditPeoplePage-BPHt33f5-DjZUh9aC.js → EditPeoplePage-DDUuO0Nh-opJ_tpA8.js} +8 -8
  67. package/dist/assets/{EditReimbursementDetailPage-DJ_qNQbh-D_aBh5FK.js → EditReimbursementDetailPage-CT8mqYr5-RAkBtvUB.js} +24 -24
  68. package/dist/assets/{EntityDetailPage-DZ9vXZci-DUGgDVnf.js → EntityDetailPage-DMh6o0bo-D9tSJvlK.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-kCA6OJs0-CuvI5nJX.js → EntitySummarySection-tK_X4uAf-DnZqgJgW.js} +9 -9
  70. package/dist/assets/{ExpenseAutomationOverviewPage-B9K2qPQi-BcMuOXVi.js → ExpenseAutomationOverviewPage-CLUiYjKg-Cnf2er5n.js} +18 -18
  71. package/dist/assets/{ExpenseAutomationPage-LoGHiJzr-BnTXz0Ci.js → ExpenseAutomationPage-C9biTgak-CwmQJIGr.js} +82 -82
  72. package/dist/assets/{ExpressPayPage-B12NaLXN-CGW5-zDn.js → ExpressPayPage-DpAixmcQ-DHNO4VFc.js} +8 -8
  73. package/dist/assets/{FeaturePreviewPage-D9_aRmPj-CvnK2Uy2.js → FeaturePreviewPage-BohUqOFz-CnIenXNU.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-BL8sM4vS-D6HNdi5Y.js → FollowStepsSection-BAUXUzTr-DcO_IUEM.js} +10 -10
  75. package/dist/assets/{GlobalReviewListPage-DONc_BXP-jngzyZ2P.js → GlobalReviewListPage-BxYHNkut-De1zroLC.js} +8 -8
  76. package/dist/assets/{HelpButton-khTPylkl-CEL7Boo7.js → HelpButton-8AQIbLQM-Dxn71Y7_.js} +2 -2
  77. package/dist/assets/{InformationCardStack-BtIMGsaQ-BRj2ZNHm.js → InformationCardStack-76GlZ-Bq-CtLoCld8.js} +4 -4
  78. package/dist/assets/{InsightsCardStack-lzduh7aO-Crnd4D-1.js → InsightsCardStack-CvOFi2Uu-JAhaDMUB.js} +9 -9
  79. package/dist/assets/{InsightsSection-q1QuO6Z4-1k_aUqAr.js → InsightsSection-DyF8JZIR-yy37hbXV.js} +3 -3
  80. package/dist/assets/{IntegrationsSettingsPage-CpnXcxlz-ANVTxCp5.js → IntegrationsSettingsPage-mys0-i40-D_Td3Eck.js} +4 -4
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BXBsK560-i2JR8sEk.js → InternationalWireSwiftDetailsPage-km4qEcXH-BDq6b8VU.js} +7 -7
  82. package/dist/assets/{InternationalWireVerificationPage-BrnMNFx7-CivrskR8.js → InternationalWireVerificationPage-DauhGM3c-CQuc_5ZL.js} +5 -5
  83. package/dist/assets/{InviteFormPage-DQTEQazA-CYIvBKP9.js → InviteFormPage-FSL8fEXT-Dygrs-_-.js} +16 -16
  84. package/dist/assets/{InvitePageListView-C7CaDCYN-kxX6EM5-.js → InvitePageListView-zaQ1xEHJ-BmXz06Jr.js} +27 -27
  85. package/dist/assets/{InvitePeoplePage-Ca0ZnNhV-4UVRRlzN.js → InvitePeoplePage-BNB36i8Y-COHEYzwz.js} +2 -2
  86. package/dist/assets/{InvoiceUploadSection-Cm7WlMIS-Ds7UwHT_.js → InvoiceUploadSection-FXrB92T6-JqJ7zAlH.js} +6 -6
  87. package/dist/assets/{IssueChargeCardPage-B7w3Xky1-CF1rLLIM.js → IssueChargeCardPage-D3cUp2DE-DFSG2B0F.js} +21 -21
  88. package/dist/assets/{LabeledAddressValue-B5Yv4nig-BmG4gsPH.js → LabeledAddressValue-BF6r800B-CeESX1Hz.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BODlYe8J-C_77UpWi.js → LabeledAddressValueField-DYelJL4d-Dl7kIpOx.js} +3 -3
  90. package/dist/assets/{LabeledControlledCheckBoxField-BBrHodlx-ajZwZw2T.js → LabeledControlledCheckBoxField-B2ATKJBH-CXyWx4Ub.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DBovHkMc-D9D-7hZt.js → LabeledCreatableSingleSelectField-B9zUAA6L-1j60EBJE.js} +6 -6
  92. package/dist/assets/LabeledDocumentField-DORRl3DI-WSVu_B_9.js +41 -0
  93. package/dist/assets/LabeledDropDownFormattedTextField-FpRJ9tiX-Tiw-2EM1.js +59 -0
  94. package/dist/assets/{LabeledText-D0aPaE6r-DJ33Sqqy.js → LabeledText-C34I_iEo-DpYgVuJS.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--C5GcoA_6.js → LabeledUserSingleSelectWithSubtitlesField-B6aVL-fb-D9zCwLzE.js} +10 -10
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CcfvYWTB-FOsQ-M0q.js → LabeledZeniRolesDropDownField-Caj0_1zM-DksZdels.js} +13 -13
  97. package/dist/assets/{LinkJETransactionPage-w2poqqTD-CRc8L88u.js → LinkJETransactionPage-DLmZGscZ-DAJUM85q.js} +12 -12
  98. package/dist/assets/{LowBalancePopup-BpFvPcb8-CmbXf1Gb.js → LowBalancePopup-ll1SesgY-BWe295aL.js} +7 -7
  99. package/dist/assets/{MagicLinkACHDetailsPage-DUyr5VX8-FvxaU41w.js → MagicLinkACHDetailsPage-DXzjYrdU-DXTf7zdI.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTA58UoF-CRGjJqP9.js → MagicLinkDomesticWireDetailsPage-CUwp46Wf-CEU-wofA.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DDQqyw69-MTxSeQ4l.js → MagicLinkInternationalWireDetailsPage-B_h0EHoZ-5KHyZ3zZ.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-CKKAWryZ-Cm8AQCr_.js → MagicLinkSuccessPage-BX4E-l5M-DUEIbM10.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js → MagicLinkTitleSection-DHe9TfVe-xOZGBQNN.js} +2 -2
  104. package/dist/assets/{MailingDetailsSection-Di5KwEqu-Di8UL6YK.js → MailingDetailsSection-D8CZart4-D1oBjzV1.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js → MeetingCalenderPopup-D4tz-H5i-CGIgOa91.js} +3 -3
  106. package/dist/assets/{Menu-BOh_KLZu-BrkD9kYL.js → Menu-C9u3eDJk-Dna4rH8W.js} +2 -2
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BBQ0YN9M-BBihRuQw.js → MyBankConnectionsSettingsPage-DVp3h4c0-Cn5_bOe_.js} +11 -11
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DcXCxGj2-BY3uKh9u.js → MyPendingActivationChargeCardListPage-BTk8mY7B-BbdmJXam.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-D-lTTFuP-D9kDcE-6.js → MyProfileSettingsPage-BdcDAwKZ-DhDLZRJB.js} +9 -9
  110. package/dist/assets/{NavBarWithPicker-CNBOk06R-D8yiRwFQ.js → NavBarWithPicker-DbSWvh0o-1EJ8HziX.js} +4 -4
  111. package/dist/assets/{NavigationArrow-B15b66TT-B9hYIhnI.js → NavigationArrow-BP8cU19I-DuPgzuQR.js} +1 -1
  112. package/dist/assets/{NavigationDots-5fxvl-4e-BzJdpllk.js → NavigationDots-nvOimTil-Do5DUslv.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BeP4W8rj-Dwyu3Pw7.js → NewGlobalMerchantPage-D-imjD0M-pXdB0gKF.js} +6 -6
  114. package/dist/assets/{NoDataChart-edFKx0zh-DIp9-BoP.js → NoDataChart-VE4W-RUu-BjJTQpdm.js} +1 -1
  115. package/dist/assets/{NoDataTable-41nH5trW-Brapb7lv.js → NoDataTable-d0_62BR0-vyxhk2_b.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CRVGi6Xn-BHvH8jL8.js → NotFoundPage-BydQGX11-BGoiJNRP.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-CiVAtoGY-B9kZWOsO.js → NotificationSettingsPage-BIzaZFzy-BGkCXx1m.js} +6 -6
  118. package/dist/assets/NotificationsListConfig-DVBOQJZq-BcXyCFD3.js +1 -0
  119. package/dist/assets/{NotificationsPage-DuHUL5V8-CgYzIXTj.js → NotificationsPage-BdI4E6uL-DkzIMoYu.js} +29 -29
  120. package/dist/assets/{OpExByVendorPage-D611nXIC-CqyYyP4C.js → OpExByVendorPage-Dm90CRYi-fVB-9LNX.js} +5 -5
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-DPaQcYgi.js → OverlayContainerPage-nhe7xtoR-BxI5uHKy.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Cqab0euB-dzseIlDa.js → PandLWithForecastPage-DhbFHH25-DsvGD_Sy.js} +7 -7
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cvn1adQb-kbzfxjFm.js → PaymentAccountSetupBillingAddressSection-Debi_lWf-LBl6kVXa.js} +6 -6
  124. package/dist/assets/{PeoplePage-MCCZAx4z-BnV0pX_P.js → PeoplePage-BACu55RO-BN0ZZ-UI.js} +24 -24
  125. package/dist/assets/{PortfolioAllocationFormPage-Coa0Y4wN-CVL7-3BP.js → PortfolioAllocationFormPage-Cjz_E3BK-BKc2XOmG.js} +3 -3
  126. package/dist/assets/{PortfolioDetails-C9a0p99e-d06R_ouh.js → PortfolioDetails-CS2st-Mx-B7UFy1Ls.js} +8 -8
  127. package/dist/assets/{ProductsCarousel-B0fHKTa_-Bne7N-_V.js → ProductsCarousel-TB4uKZbg-BDTdHFcB.js} +9 -9
  128. package/dist/assets/{PromoBaseCards-BuCQJuXH-BcjVOmSJ.js → PromoBaseCards-BMPp9RNQ-B5wN89Pm.js} +5 -5
  129. package/dist/assets/{QBOConnectionDialog-D-vB9dbo--0kkpUah.js → QBOConnectionDialog-B1b1wGeq-OoIQ8fFk.js} +9 -9
  130. package/dist/assets/{QBOSetupSection-CfficE5p-nLwRVoqN.js → QBOSetupSection-Bj_y0Lo2-D2Jh1k_B.js} +7 -7
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cg_pVsAh-Baq7EYkc.js → ReimbursementApprovalRuleDetailPage-Cz4RtqYb-BX1qPBal.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-Dg1b0lJP-YhAdGh62.js → ReimbursementApprovalRulesPage-DJlNT4Ov-DKT5YJKy.js} +20 -20
  133. package/dist/assets/ReimbursementDetailPage-BQiu7Gts-DqYEtmnq.js +314 -0
  134. package/dist/assets/{ReimbursementPromoPage-MQpz5nNE-CLg8Hqif.js → ReimbursementPromoPage-ppaPJby5-CiDmuDvG.js} +16 -16
  135. package/dist/assets/{ReimbursementSetUpPage-BRjWHns_-BSdXzytm.js → ReimbursementSetUpPage-B6mZrzQB-38calwmF.js} +8 -8
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-wPNRkXt8-DoNrAJRB.js → ReimbursementsBulkReviewDrawerPage-DS55QesG-DWNEdEIB.js} +1 -1
  137. package/dist/assets/{ReloadCard-D5woGDxx-DS9HJ3wy.js → ReloadCard-DDDYlCsI-BiE6_qfW.js} +5 -5
  138. package/dist/assets/ReportTableViewSelector-Bss4AtF1-D_wRO_1z.js +133 -0
  139. package/dist/assets/ReportsPage-C-g9588h-XLIvq5EO.js +120 -0
  140. package/dist/assets/{RevenueChart-CS0JmijO-BqFQGtoh.js → RevenueChart-DPkxzWaE-ClY8SeJE.js} +25 -25
  141. package/dist/assets/{ReviewDetailsPage-C7RbpKwU-C9iDaLL8.js → ReviewDetailsPage-CyF2YP3t-B_CfpE0G.js} +14 -14
  142. package/dist/assets/{ReviewOverlay-BwgzcM9d-CSY6hmMy.js → ReviewOverlay-AoSgYufX-BCA64ah8.js} +6 -6
  143. package/dist/assets/{RoleWithToolTip-DkeT6zjW-DmUDvRC_.js → RoleWithToolTip-aoWU03so-Bag-xDLs.js} +6 -6
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BzZkVg7T-c2tjnpKQ.js → ScheduleDetailsFixedAssetsPage-Bfj3vclV-biUqkJSS.js} +4 -4
  145. package/dist/assets/{ScheduleDetailsPage-DiXwmlk8-t0I7MASB.js → ScheduleDetailsPage-B30aUjKr-VuYOr4oZ.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-CSxFNhoR-D9UFT3Zm.js → ScheduleSequenceTable-CStdRSyQ-YS2LkHDs.js} +22 -22
  147. package/dist/assets/{ScreenRoutes-xLzXCTox.js → ScreenRoutes-DUx3gCGl.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-CdUpAzlt-4B1rLcGQ.js → SetUpAccountSection-nul4pyeP-CLCXvV9l.js} +103 -103
  149. package/dist/assets/{SetUpDefaultSection-D4FafmO5-CcuY4gpp.js → SetUpDefaultSection-ByW3h9zl-9i3uOw78.js} +8 -8
  150. package/dist/assets/{SignIn-CAmRcuqx-CXf8JU8h.js → SignIn-R1Rsh38G-8L0Hp_zM.js} +18 -18
  151. package/dist/assets/{SignInScreen-CEfXit7t.js → SignInScreen-BE18aJB0.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DdpJprAd-BHEK7wRP.js → SpendManagementListViewPage-BqOQ7NY_-DhnClYVW.js} +4 -4
  153. package/dist/assets/{SpendManagementPerTabPage-D2Ri2q6S-BZOgnmqs.js → SpendManagementPerTabPage--2EC1Oz4-DclxNVvC.js} +36 -36
  154. package/dist/assets/{SpendManagementSection-CisJALAC-zKC9aL_a.js → SpendManagementSection-COMVry1E-CYzctw4v.js} +11 -11
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DcJhhfdt-CSj4RU9Q.js → SpendMgmtSetupAccountSection-fV4qxxEy-ExRAZ_sL.js} +8 -8
  156. package/dist/assets/{StatementItem-BOq_DDMZ-VgE7gIr3.js → StatementItem-BksIBztP-GeqTXxSG.js} +5 -5
  157. package/dist/assets/{StatementsPage-C9WOCLSj-lgfYmMKh.js → StatementsPage-DnAoeqze-BOeXA5KM.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-CofdCR_K-DYsfjilX.js → StatusSwitcher-b1A9RnRP-B052EzJ9.js} +4 -4
  159. package/dist/assets/{SubTabSwitcher-BPVG5BHS-C6Ng45Yx.js → SubTabSwitcher-CgJW4ZXd-DlWjeTn_.js} +1 -1
  160. package/dist/assets/{SummaryCard-D-me4TrL-C69v2luu.js → SummaryCard-sEKhcIH5-DRp31G9t.js} +1 -1
  161. package/dist/assets/TaskManagementPage-z5uvcy81-CPykjrgv.js +508 -0
  162. package/dist/assets/{TimeRangeSwitcher-BK7gGqaa-li6QV9p5.js → TimeRangeSwitcher-DQ-u6pKk-DC1xB5lv.js} +5 -5
  163. package/dist/assets/{TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js → TimeframeSwitcher-B0yxn0SJ-CwNpTd2S.js} +5 -5
  164. package/dist/assets/TimeframeSwitcherWithToggle-BlbY3qcY-CLuOSbn2.js +31 -0
  165. package/dist/assets/{TopExCard-CDgcQKGp-G2-ryp7z.js → TopExCard-CTjfWfCk-CAtjOAda.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-CXiEe14r-DrI7SLfC.js → TopExDetailPage-CdpvcVME-J1pxGIiS.js} +6 -6
  167. package/dist/assets/{TransactionDetailPage-IJyZF-Z_-ssTdABCq.js → TransactionDetailPage-DdF9FS4b-aUNjP2MS.js} +46 -46
  168. package/dist/assets/{TransactionList-C34ivmk5-BL7wpE6F.js → TransactionList-CHq3WONc-CDMTLkl_.js} +13 -13
  169. package/dist/assets/{TransactionListBig-qruiU0xy-4hBLzp6P.js → TransactionListBig-D-Gxd5n0-BYXDLjRx.js} +18 -18
  170. package/dist/assets/{TransactionListPage-C31U97xd-B7MDVBJ8.js → TransactionListPage-DK9-YK_1-jSebPnQW.js} +5 -5
  171. package/dist/assets/{TransactionVendorDetailPage-DZsvH-GM-CHoVBuA8.js → TransactionVendorDetailPage-Cc9pTpTw-dOPSJTMD.js} +6 -6
  172. package/dist/assets/{TransferDrawerPage-DC5q2Zpv-Bbx0ZiKK.js → TransferDrawerPage-DoDTECI8-BFP-sFPo.js} +33 -33
  173. package/dist/assets/{TreasuryOverviewPage-DSBqawrH--EJITXP0.js → TreasuryOverviewPage-wlfReqPJ-Dd6DjTk6.js} +14 -14
  174. package/dist/assets/{TreasuryPromoPage-D6WSBxgD-BYq_YoGm.js → TreasuryPromoPage-C9WNRb2_-Bv2i8EfH.js} +8 -8
  175. package/dist/assets/{TreasurySetupPage-BgSq4D0a-BeLJ_DJT.js → TreasurySetupPage-CjV0cOq9-BmP_R4PT.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-Dj9RAujO-BX1C5lYD.js → TreasuryStatementsPage-DqOWNGB_-hAvO09t_.js} +5 -5
  177. package/dist/assets/{TreasuryTaxLetterPage-Dw6tL_j9-BVOoGBCD.js → TreasuryTaxLetterPage-BWGHcQ-i-DCm4xllr.js} +4 -4
  178. package/dist/assets/{TreasuryTransferOrReviewPage-cBHznYnK-1UcbcZaf.js → TreasuryTransferOrReviewPage-CgL8K7N9-BrTZBU_c.js} +19 -19
  179. package/dist/assets/TrendChart-76tuu9Dr-DKqkCwBC.js +16 -0
  180. package/dist/assets/{TrendWithTransactions-BOGQK2Zt-itTZBsuV.js → TrendWithTransactions-B_fJTS4m-B4jhKCz-.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Ci4VHOLB-CZTpXCGM.js → UncategorizedAccountsMappingPage-DpY1kK_K-CX5FrYpM.js} +7 -7
  182. package/dist/assets/{UnitIntegrationPage-DSMTzyKA-DnkdzVNG.js → UnitIntegrationPage-BTJI7fx3-B4TaSpvh.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-CBpLz-gk-DUe20w1p.js → UploadAdditionalDocumentOverlay-BH3bRKoG-Cxr-sGAj.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-Be7OBE4e-Cos9XGLx.js → Vendor2FAPopup-4-XtZDNS-BuVX3Yle.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-LvWgxsF7-BpMJ6WbJ.js → VendorACHDetailsPage-B2knDl4H-czLYWWIH.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-C-qpa1GC-C0r4HDge.js → VendorDetailPage-w-tghGpI-CfkAuWGF.js} +17 -17
  187. package/dist/assets/{VendorDomesticWireDetailsPage-Ckoq2I8V-BwkAhyAi.js → VendorDomesticWireDetailsPage-BXCCdTjh-Di1QWV1S.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-WZMwLILQ-BqoTTIiC.js → VendorFiling1099EditablePage-DGQO9Qqj-CEOM5YEV.js} +7 -7
  189. package/dist/assets/{VendorFirstReviewPage-DNhp59d9-D_f9l4B9.js → VendorFirstReviewPage-Lblb6X1V-39fudz_L.js} +40 -40
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DuP916gU-COYahX1d.js → VendorInternationalWireDetailsPage-Bi5RBKxI-CtyyMelR.js} +9 -9
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BCIC6mrJ-BI-zVOHZ.js → VendorInternationalWireSwiftDetailsPage-CBZmsXnL-B-d0u1XS.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-C4q6FPlB-C6cNo2_u.js → VendorsAccountsSection-JI0e3gKo-BI5thaS_.js} +4 -4
  193. package/dist/assets/{WarningsDrawerPage-C162biV8-pPVOEtpH.js → WarningsDrawerPage-BQzUQ5-l-D1cPDLUy.js} +5 -5
  194. package/dist/assets/{ZeniAccountDetailPage-C3NnXuFp-CXwXsDQ1.js → ZeniAccountDetailPage-DPJ4mWoO-D2fzjkqw.js} +29 -29
  195. package/dist/assets/{ZeniAccountListViewPage-Cn7rYnlu-DTOPnL32.js → ZeniAccountListViewPage-iHMJ7FU7-UZUihbgS.js} +23 -23
  196. package/dist/assets/ZeniAccountNavBarPieces-D1g1REsS-D07e9d9s.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-BGyyQP4l-B98KmCaD.js → ZeniAccountPromoPage-OxQ03DtJ-X6atYnaZ.js} +8 -8
  198. package/dist/assets/{ZeniAccountSetupPage-CIh0isMw-lFqJMWg0.js → ZeniAccountSetupPage-BahzDcmm-B-umC_Qa.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-B83zWEf0-19q3_mPy.js → ZeniCopyright-Dpqdxu7f-CHOK6b2K.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CPg3o4xG-BlMvJPot.js → ZeniTransferAmountSlider-DwC6pXnb-BgJArm45.js} +1 -1
  201. package/dist/assets/analytics-BSSiLa6f.js +7 -0
  202. package/dist/assets/{analyticsHelper-CD5PHV67.js → analyticsHelper-CPNSDy4Z.js} +1 -1
  203. package/dist/assets/{analyticsHelper-DlYWxxhD-DdeYfQh2.js → analyticsHelper-CZ8c8du5-Ber0nUBK.js} +1 -1
  204. package/dist/assets/{chartTypes-DueLK3Wl-B3lGAHMU.js → chartTypes-CWLOazD0-BCrBxX2L.js} +1 -1
  205. package/dist/assets/{commonDimensions-D4uH020E-szItJUN9.js → commonDimensions-Cg7EWgSP-ztBpKI_h.js} +1 -1
  206. package/dist/assets/{detailCommon-D5qKBZdS-CPasfcVD.js → detailCommon-Cp4eknjq-ClKRuZos.js} +7 -7
  207. package/dist/assets/{downloadPdf-s4pLtuS_-CF3EQD3j.js → downloadPdf-f3F0OqWf-DUwLrQQm.js} +1 -1
  208. package/dist/assets/{index-DoFw58Mw.js → index-Dq4DW5h0.js} +3324 -3326
  209. package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-BUGn2yQ6.js} +1 -1
  210. package/dist/assets/{mapLoadingInProgressToTreeNode-M0QN8LkC-3yQrrz5g.js → mapLoadingInProgressToTreeNode-DCLD3rcY-_6B85me3.js} +1 -1
  211. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrtVdHui-CnnfThO_.js → mapSectionWithAcOnlyToTreeNode-C-VOXE5I-ChyvQWp0.js} +1 -1
  212. package/dist/assets/{mapSpacerToTreeNode-yPPIJHBw-D3Gjllyb.js → mapSpacerToTreeNode-DlDwFA_F-CYv3KN_2.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-px916zpo-rIOc1Hnu.js → mapTimeframeBalancesToTreeNode-EEyJwCnX-HEZ0R9-O.js} +1 -1
  214. package/dist/assets/mui-BgvZYSo0.js +22 -0
  215. package/dist/assets/{play-icon-Bih37F_s-C73Mu05H.js → play-icon-CFa9Uibr-CaxUs2iQ.js} +3 -3
  216. package/dist/assets/{redux-ByjIRbhZ.js → redux-DmDqXYej.js} +1 -1
  217. package/dist/assets/{routing-Cpaypegg.js → routing-BNz5gZgX.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-CAhfOfUa-CUvT0aen.js → toCOABalancesWithID-DT8-C5u1-CE-3jMAY.js} +1 -1
  219. package/dist/assets/{toChartData-BicnbT0F-BAKhPkjP.js → toChartData-63e3B91H-DoSBXci0.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js → treasuryColorHelper-BGGfolJy-B6Wl_Wly.js} +1 -1
  221. package/dist/assets/{uploadAttachment-DVoWdoWD-RtUqrYnb.js → uploadAttachment-YcPIDoZ--DIC1ZEM7.js} +19 -19
  222. package/dist/assets/{uploadReceipts-Buvz7DfG-XWftDYl6.js → uploadReceipts-BH9fi3Vt-CnyK0TMw.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +5 -5
  225. package/dist/assets/AccountRow-D9vDRsjv-uSOuzaD9.js +0 -298
  226. package/dist/assets/BusinessVerificationPage-YKJ-CZfb-BgJNO5ZA.js +0 -140
  227. package/dist/assets/CheckDepositDrawerPage-B1Qp-xbY-f-dhYQ0q.js +0 -206
  228. package/dist/assets/CompleteProfile-CJOsHnBa-DdCWBRuB.js +0 -36
  229. package/dist/assets/CustomerOnboardingContainerPage-X6X9Yc-9-D6pVLXm5.js +0 -1
  230. package/dist/assets/CustomerOnboardingPage-CIbBaMcO-Dqym0Rf2.js +0 -107
  231. package/dist/assets/DashboardReportPage-BM6TqjrJ-DQu7SOT2.js +0 -349
  232. package/dist/assets/DomesticWireDetailsPage-BZ8jSo8r-Dcvy9KUR.js +0 -21
  233. package/dist/assets/LabeledDocumentField-CIlbLPtO-DSLjsPoT.js +0 -41
  234. package/dist/assets/LabeledDropDownFormattedTextField-Dpt7UG-o-BPi_XfUF.js +0 -59
  235. package/dist/assets/NotificationsListConfig-BjItJJe9-l0BCgaPP.js +0 -1
  236. package/dist/assets/ReimbursementDetailPage-CE_jx7cM-DEw3OdDA.js +0 -314
  237. package/dist/assets/ReportTableViewSelector-Bc5xUtnG-pW3txVQ2.js +0 -150
  238. package/dist/assets/ReportsPage-J8DrZz78-Bf6sj4--.js +0 -120
  239. package/dist/assets/TaskManagementPage-BSmG6YR2-BRBZRYl9.js +0 -508
  240. package/dist/assets/TimeframeSwitcherWithToggle-BwvVsB_p-CoKIqOrx.js +0 -31
  241. package/dist/assets/TrendChart-dARoUu-T-CjrTnbAe.js +0 -16
  242. package/dist/assets/ZeniAccountNavBarPieces-DHYLxQKr-DoTCX7_F.js +0 -14
  243. package/dist/assets/analytics-DThoELaW.js +0 -7
  244. package/dist/assets/mui-C5LQ0bMa.js +0 -25
@@ -1,4 +1,4 @@
1
- import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,I as Se,J as Xt,L as Qt,N as er,O as tr,P as rr,R as ar,U as B,M as u,X as Z,V as _,Y as w,_ as A,a0 as z,a1 as ir,a2 as or,a3 as nr,a4 as dr,p as L,a as sr,a5 as Ge,a6 as lr,F as cr,a7 as mr,C as R,a8 as W,a9 as N,m as G,aa as Ye,ab as T,ac as S,ad as Je,u as ee,w as P,ae as pr,af as hr,ag as gr,Q as qe,g as j,ah as ur,ai as xr,aj as Cr,ak as fr,al as je,Z as Xe,s as Qe,am as et,an as tt,ao as rt,h as kr,ap as yr,aq as at,ar as br,as as vr,at as it,au as ot,av as $e,aw as wr,ax as jr,ay as $r,az as Dr,aA as Mr,aB as Er,aC as Lr}from"./index-DoFw58Mw.js";import{b as n,n as d,f as $,j as Tr,k as nt}from"./vendor-CnQcJ2Lu.js";import{k as Sr,L as Br}from"./ArAgingChart-C0hTtEmV-Cp3DCSeq.js";import{E as Pr,T as De,I as dt}from"./ReloadCard-D5woGDxx-DS9HJ3wy.js";import{L as Ir,O as me,c as Y}from"./TopExCard-CDgcQKGp-G2-ryp7z.js";import{H as Ar,Y as _r,P as Wr,G as zr,N as Or}from"./RevenueChart-CS0JmijO-BqFQGtoh.js";import Rr from"./InsightsCardStack-lzduh7aO-Crnd4D-1.js";import{a as Nr}from"./AccountsPromoCardStack-BvFE5A3N-C__nnIqn.js";import{c as F}from"./SummaryCard-D-me4TrL-C69v2luu.js";import{t as Fr,o as Hr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{b as ge}from"./NavigationArrow-B15b66TT-B9hYIhnI.js";import{f as st}from"./NavigationDots-5fxvl-4e-BzJdpllk.js";import Zr from"./CompanyPassportCard-Dp3a8GH8-qRGWLoZI.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import Ur from"./InformationCardStack-BtIMGsaQ-BRj2ZNHm.js";import{p as lt}from"./chartTypes-DueLK3Wl-B3lGAHMU.js";import{h as Kr}from"./toCOABalancesWithID-CAhfOfUa-CUvT0aen.js";import{V as Gr}from"./toChartData-BicnbT0F-BAKhPkjP.js";import{r as Yr,i as Jr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{A as qr,J as Xr}from"./PromoBaseCards-BuCQJuXH-BcjVOmSJ.js";import Qr from"./ConfettiBurst-DX1P5VT_-C7tIIZfu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ea=d(N)`
1
+ import{w as Ke,l as we,j as t,x as Kt,z as Gt,A as Yt,o,B as Jt,I as ce,J as qt,L as Se,N as Qt,O as Xt,P as er,R as tr,S as rr,U as ar,V as B,M as u,X as H,W as _,Y as w,_ as A,a0 as z,a1 as ir,a2 as or,a3 as nr,a4 as dr,p as L,a as sr,a5 as Ge,a6 as lr,F as cr,a7 as mr,C as R,a8 as W,a9 as N,f as G,aa as Ye,ab as T,ac as S,ad as Je,u as ee,v as P,ae as pr,af as hr,ag as gr,Q as qe,g as j,ah as ur,ai as xr,aj as Cr,ak as fr,al as je,Z as Qe,s as Xe,am as et,an as tt,ao as rt,h as kr,ap as yr,aq as at,ar as br,as as vr,at as it,au as ot,av as $e,aw as wr,ax as jr,ay as $r,az as Mr,aA as Dr,aB as Er,aC as Lr}from"./index-Dq4DW5h0.js";import{b as n,n as d,f as $,j as Tr,k as nt}from"./vendor-CnQcJ2Lu.js";import{k as Sr,L as Br}from"./ArAgingChart-BRcy3--o-CqONheoM.js";import{E as Pr,T as Me,I as dt}from"./ReloadCard-DDDYlCsI-BiE6_qfW.js";import{L as Ir,O as me,c as Y}from"./TopExCard-CTjfWfCk-CAtjOAda.js";import{H as Ar,Y as _r,P as Wr,G as zr,N as Or}from"./RevenueChart-DPkxzWaE-ClY8SeJE.js";import Rr from"./InsightsCardStack-CvOFi2Uu-JAhaDMUB.js";import{a as Nr}from"./AccountsPromoCardStack-DJRAw09x-KYhdIp34.js";import{c as F}from"./SummaryCard-sEKhcIH5-DRp31G9t.js";import{t as Fr,o as Zr}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{b as ge}from"./NavigationArrow-BP8cU19I-DuPgzuQR.js";import{f as st}from"./NavigationDots-nvOimTil-Do5DUslv.js";import Hr from"./CompanyPassportCard-CHF83hfN-BGYNkzga.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DKWN92w0.js";import Ur from"./InformationCardStack-76GlZ-Bq-CtLoCld8.js";import{p as lt}from"./chartTypes-CWLOazD0-BCrBxX2L.js";import{h as Kr}from"./toCOABalancesWithID-DT8-C5u1-CE-3jMAY.js";import{V as Gr}from"./toChartData-63e3B91H-DoSBXci0.js";import{r as Yr,i as Jr}from"./graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js";import{A as qr,J as Qr}from"./PromoBaseCards-BMPp9RNQ-B5wN89Pm.js";import Xr from"./ConfettiBurst-DVT9EpwF-DHA9TDKH.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ea=d(N)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Be=d.div`
4
4
  display: flex;
@@ -7,7 +7,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
7
7
  align-items: center;
8
8
  `,ta=d(P)`
9
9
  color: ${e=>e.theme.colors.grey1};
10
- `;function ra({dimension:e,cardType:i,cardIndex:r,reportDate:a,reportTitle:s,onCardClick:l,chartElement:c}){const m=u.getLocalizedStrings().common,p=u.getLocalizedStrings().dateFormat;return t.jsx(_,{style:{cursor:"pointer"},dimension:e,onClick:()=>l(r,i),"data-testid":w("dashboard",i),children:t.jsxs(W,{children:[t.jsxs(Be,{style:{marginBottom:L[3]},children:[t.jsx(ea,{children:s??tt(i)}),t.jsxs(ta,{children:[m.asOf,m.strings.space,a.format(p.visual.MMMDFormat)]})]}),t.jsx(Be,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(rt,{children:({height:h,width:g})=>c(g,h)})})})]})})}function ct({card:e,reportTitle:i,reportDate:r,actions:a,chartElement:s}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(dt,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(De,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:a.onReloadData,reportTitle:i}):t.jsx(ra,{dimension:e.dimension,reportTitle:i,cardType:e.cardType,cardIndex:e.cardIndex,reportDate:r,onCardClick:a.onCardClick,chartElement:s})}$.memo(ct);function mt({card:e,actions:i,data:r,dndProps:a}){const s=e.fetchState==="Completed"?r?.agingBalances.length===0:!1,l=(c,m)=>s||r==null?t.jsx(Y,{width:c,height:m,label:u.getLocalizedStrings().chartCard.no_data.aging_report}):t.jsx(Sr,{report:r,width:c,height:m});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>a?.onDragStart(e.cardType,c),onDragOver:c=>a?.onDragOver(c,e.cardType),onDragLeave:c=>a?.onDragLeave(c),onDrop:c=>a?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(ct,{card:e,reportDate:r?.apAgingUIState.selectedDate??we.dateNow(),reportTitle:r?.reportTitle,actions:i,chartElement:l})},e.cardIndex)}$.memo(mt);const aa=d(N)`
10
+ `;function ra({dimension:e,cardType:i,cardIndex:r,reportDate:a,reportTitle:s,onCardClick:l,chartElement:c}){const m=u.getLocalizedStrings().common,p=u.getLocalizedStrings().dateFormat;return t.jsx(_,{style:{cursor:"pointer"},dimension:e,onClick:()=>l(r,i),"data-testid":w("dashboard",i),children:t.jsxs(W,{children:[t.jsxs(Be,{style:{marginBottom:L[3]},children:[t.jsx(ea,{children:s??tt(i)}),t.jsxs(ta,{children:[m.asOf,m.strings.space,a.format(p.visual.MMMDFormat)]})]}),t.jsx(Be,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(rt,{children:({height:h,width:g})=>c(g,h)})})})]})})}function ct({card:e,reportTitle:i,reportDate:r,actions:a,chartElement:s}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(dt,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(Me,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:a.onReloadData,reportTitle:i}):t.jsx(ra,{dimension:e.dimension,reportTitle:i,cardType:e.cardType,cardIndex:e.cardIndex,reportDate:r,onCardClick:a.onCardClick,chartElement:s})}$.memo(ct);function mt({card:e,actions:i,data:r,dndProps:a}){const s=e.fetchState==="Completed"?r?.agingBalances.length===0:!1,l=(c,m)=>s||r==null?t.jsx(Y,{width:c,height:m,label:u.getLocalizedStrings().chartCard.no_data.aging_report}):t.jsx(Sr,{report:r,width:c,height:m});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>a?.onDragStart(e.cardType,c),onDragOver:c=>a?.onDragOver(c,e.cardType),onDragLeave:c=>a?.onDragLeave(c),onDrop:c=>a?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(ct,{card:e,reportDate:r?.apAgingUIState.selectedDate??we.dateNow(),reportTitle:r?.reportTitle,actions:i,chartElement:l})},e.cardIndex)}$.memo(mt);const aa=d(N)`
11
11
  color: ${e=>e.theme.colors.champion};
12
12
  `,Pe=d.div`
13
13
  display: flex;
@@ -16,7 +16,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
16
16
  align-items: center;
17
17
  `,ia=d(P)`
18
18
  color: ${e=>e.theme.colors.grey1};
19
- `;function oa({dimension:e,cardType:i,cardIndex:r,reportDate:a,reportTitle:s,onCardClick:l,chartElement:c}){const m=u.getLocalizedStrings().common,p=u.getLocalizedStrings().dateFormat;return t.jsx(_,{style:{cursor:"pointer"},dimension:e,onClick:()=>l(r,i),"data-testid":w("dashboard",i),children:t.jsxs(W,{children:[t.jsxs(Pe,{style:{marginBottom:L[3]},children:[t.jsx(aa,{children:s??tt(i)}),t.jsxs(ia,{children:[m.asOf,m.strings.space,a.format(p.visual.MMMDFormat)]})]}),t.jsx(Pe,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(rt,{children:({height:h,width:g})=>c(g,h)})})})]})})}function pt({card:e,reportDate:i,reportTitle:r,actions:a,chartElement:s}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(dt,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(De,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:a.onReloadData,reportTitle:r}):t.jsx(oa,{dimension:e.dimension,reportTitle:r,cardType:e.cardType,cardIndex:e.cardIndex,reportDate:i,onCardClick:a.onCardClick,chartElement:s})}$.memo(pt);function na({card:e,actions:i,data:r,dndProps:a}){const s=e.fetchState==="Completed"?r?.agingBalances.length===0:!1,l=(c,m)=>s||r==null?t.jsx(Y,{width:c,height:m,label:u.getLocalizedStrings().chartCard.no_data.aging_report}):t.jsx(Br,{report:r,width:c,height:m});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>a?.onDragStart(e.cardType,c),onDragOver:c=>a?.onDragOver(c,e.cardType),onDragLeave:c=>a?.onDragLeave(c),onDrop:c=>a?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(pt,{card:e,reportTitle:r?.reportTitle,actions:i,reportDate:r?.arAgingUIState.selectedDate??we.dateNow(),chartElement:l})},e.cardIndex)}function ht({card:e,actions:i,data:r,dndProps:a}){const s=r?.filter.timeframe??"month",l=e.fetchState==="Completed"?r?.availableNumberOfPeriods==null||r?.availableNumberOfPeriods===0:!1,c=(m,p)=>l===!1?t.jsx(Or,{selectedRangeReport:r,timeframe:s,width:m,height:p}):t.jsx(Y,{width:m,height:p,label:u.getLocalizedStrings().chartCard.no_data.cash_in_cash_out});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:m=>a?.onDragStart(e.cardType,m),onDragOver:m=>a?.onDragOver(m,e.cardType),onDragLeave:m=>a?.onDragLeave(m),onDrop:m=>a?.onDrop(m,e.cardType),dimension:e.dimension,children:t.jsx(me,{card:e,actions:i,timeframe:s,allowedValues:[],chartElement:c})},e.cardIndex)}$.memo(ht);function gt({card:e,actions:i,data:r,dndProps:a}){const[s,l]=n.useState(r?.filter.timeframe??"month");n.useEffect(()=>{r?.filter.timeframe!==void 0&&l(r?.filter.timeframe)},[r?.filter.timeframe]);const c=e.fetchState==="Completed"?r?.availableNumberOfPeriods==null||r?.availableNumberOfPeriods===0:!1,m=(p,h)=>c===!1?t.jsx(zr,{selectedRangeReport:r,timeframe:s,width:p,height:h}):t.jsx(Y,{width:p,height:h,label:u.getLocalizedStrings().chartCard.no_data.cash_position});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:p=>a?.onDragStart(e.cardType,p),onDragOver:p=>a?.onDragOver(p,e.cardType),onDragLeave:p=>a?.onDragLeave(p),onDrop:p=>a?.onDrop(p,e.cardType),dimension:e.dimension,children:t.jsx(me,{card:e,actions:i,timeframe:s,chartElement:m,onTimeframeChange:(p,h)=>l(h)})},e.cardIndex)}$.memo(gt);function ut({card:e,actions:i,data:r,dndProps:a}){const[s,l]=n.useState(r?.filter.timeframe??"month");n.useEffect(()=>{r?.filter.timeframe!==void 0&&l(r?.filter.timeframe)},[r?.filter.timeframe]);let c=u.getLocalizedStrings().chartCard.netBurnOrIncome.net_income;if(r?.calculatedSections?.netBurnOrIncome?.balances!=null&&r.calculatedSections.netBurnOrIncome.balances.length>0){const h=r?.calculatedSections.netBurnOrIncome.balances[r?.calculatedSections.netBurnOrIncome.balances.length-1].balance.amount;c=h!=null&&h<0?u.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn:u.getLocalizedStrings().chartCard.netBurnOrIncome.net_income}const m=e.fetchState==="Completed"?r?.availableNumberOfPeriods==null||r?.availableNumberOfPeriods===0:!1,p=(h,g)=>m===!1?t.jsx(Wr,{selectedRangeReport:r,timeframe:s,width:h,height:g,mode:"off"}):t.jsx(Y,{width:h,height:g,label:u.getLocalizedStrings().chartCard.no_data.net_burn_or_income});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:h=>a?.onDragStart(e.cardType,h),onDragOver:h=>a?.onDragOver(h,e.cardType),onDragLeave:h=>a?.onDragLeave(h),onDrop:h=>a?.onDrop(h,e.cardType),dimension:e.dimension,children:t.jsx(me,{card:e,reportTitle:c,actions:i,timeframe:s,chartElement:p,onTimeframeChange:(h,g)=>l(g)})},e.cardIndex)}$.memo(ut);function xt({card:e,actions:i,data:r,dndProps:a}){const[s,l]=n.useState(r?.filter.timeframe??"month");n.useEffect(()=>{r?.filter.timeframe!==void 0&&l(r?.filter.timeframe)},[r?.filter.timeframe]);const c=e.fetchState==="Completed"?r?.availableNumberOfPeriods==null||r.availableNumberOfPeriods===0||r.allTimeframeTicks.length===0||r.sections.expenses.accounts.length===0&&r.sections.expenses.accountGroups.length===0:!1,m=(p,h)=>c===!1?t.jsx(Ar,{selectedRangeReport:r,timeframe:s,width:p,height:h,mode:"off"}):t.jsx(Y,{width:p,height:h,label:u.getLocalizedStrings().chartCard.no_data.operating_expenses});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:p=>a?.onDragStart(e.cardType,p),onDragOver:p=>a?.onDragOver(p,e.cardType),onDragLeave:p=>a?.onDragLeave(p),onDrop:p=>a?.onDrop(p,e.cardType),dimension:e.dimension,children:t.jsx(me,{card:e,actions:i,timeframe:s,chartElement:m,onTimeframeChange:(p,h)=>l(h)})},e.cardIndex)}$.memo(xt);function Ct({card:e,actions:i,data:r,dndProps:a}){const[s,l]=n.useState(r?.filter.timeframe??"month");n.useEffect(()=>{r?.filter.timeframe!==void 0&&l(r?.filter.timeframe)},[r?.filter.timeframe]);const c=e.fetchState==="Completed"?r?.availableNumberOfPeriods==null||r?.availableNumberOfPeriods===0:!1,m=(p,h)=>c===!1?t.jsx(_r,{selectedRangeReport:r,timeframe:s,width:p,height:h,mode:"off"}):t.jsx(Y,{width:p,height:h,label:u.getLocalizedStrings().chartCard.no_data.revenue});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:p=>a?.onDragStart(e.cardType,p),onDragOver:p=>a?.onDragOver(p,e.cardType),onDragLeave:p=>a?.onDragLeave(p),onDrop:p=>a?.onDrop(p,e.cardType),dimension:e.dimension,children:t.jsx(me,{card:e,actions:i,timeframe:s,chartElement:m,onTimeframeChange:(p,h)=>l(h)})},e.cardIndex)}$.memo(Ct);const da=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{opacity:.2,d:"M85.6345 29.5758H10.274C9.20311 29.5758 8.37018 30.4484 8.37018 31.4796V72.8882C8.37018 73.9591 9.24277 74.7921 10.274 74.7921H85.5948C86.6658 74.7921 87.4987 73.9195 87.4987 72.8882V31.4796C87.5384 30.4087 86.6657 29.5758 85.6345 29.5758ZM28.9158 58.5697C28.9158 58.7284 28.7968 58.8474 28.6382 58.8474H14.2007C14.042 58.8474 13.9231 58.7284 13.9231 58.5697V52.5806C13.9231 52.4219 14.042 52.3029 14.2007 52.3029H28.6382C28.7968 52.3029 28.9158 52.4219 28.9158 52.5806V58.5697ZM46.4867 58.5697C46.4867 58.7284 46.3677 58.8474 46.2091 58.8474H31.7716C31.6129 58.8474 31.4939 58.7284 31.4939 58.5697V52.5806C31.4939 52.4219 31.6129 52.3029 31.7716 52.3029H46.2091C46.3677 52.3029 46.4867 52.4219 46.4867 52.5806V58.5697ZM64.0576 58.5697C64.0576 58.7284 63.9386 58.8474 63.78 58.8474H49.3425C49.1838 58.8474 49.0648 58.7284 49.0648 58.5697V52.5806C49.0648 52.4219 49.1838 52.3029 49.3425 52.3029H63.78C63.9386 52.3029 64.0576 52.4219 64.0576 52.5806V58.5697ZM81.6285 58.5697C81.6285 58.7284 81.5095 58.8474 81.3509 58.8474H66.9134C66.7547 58.8474 66.6357 58.7284 66.6357 58.5697V52.5806C66.6357 52.4219 66.7547 52.3029 66.9134 52.3029H81.3509C81.5095 52.3029 81.6285 52.4219 81.6285 52.5806V58.5697Z",fill:"#97C3B9"}),n.createElement("path",{d:"M10.0757 26.72V24.5385C10.0757 23.4676 10.9483 22.6347 11.9795 22.6347H78.852C79.923 22.6347 80.7559 23.5073 80.7559 24.5385V26.72H10.0757Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M14.3197 22.5554V20.3739C14.3197 19.303 15.1923 18.47 16.2235 18.47H74.6081C75.679 18.47 76.5119 19.3426 76.5119 20.3739V22.5554H14.3197Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M18.5637 18.3907V15.6539C18.5637 14.583 19.4363 13.7501 20.4675 13.7501H70.3641C71.435 13.7501 72.2679 14.6227 72.2679 15.6539V18.3907H18.5637Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M33.0012 76.2596C33.0012 59.4423 19.3173 45.7584 2.5 45.7584",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M30.0264 76.2596C30.0264 61.1081 17.6911 48.7728 2.53967 48.7728",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M27.012 76.2596C27.012 62.7344 16.0252 51.7476 2.5 51.7476",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M24.0372 76.2596C24.0372 64.3606 14.399 54.7224 2.5 54.7224",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M83.0961 71.976H7.73557C6.66466 71.976 5.83173 71.1034 5.83173 70.0721V28.6635C5.83173 27.5926 6.70432 26.7597 7.73557 26.7597H83.0961C84.167 26.7597 84.9999 27.6323 84.9999 28.6635V70.0721C84.9999 71.143 84.1273 71.976 83.0961 71.976Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),sa=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{opacity:.2,d:"M85.5687 83.7605H7.55063C6.44196 83.7605 5.57965 82.8571 5.57965 81.7895V45.819C5.57965 44.7104 6.48302 43.8481 7.55063 43.8481H85.5277C86.6363 43.8481 87.4986 44.7514 87.4986 45.819V81.7895C87.5397 82.8571 86.6363 83.7605 85.5687 83.7605Z",fill:"#97C3B9"}),n.createElement("path",{d:"M61.1778 54.1957C68.5709 54.1957 74.5641 48.2025 74.5641 40.8095C74.5641 33.4164 68.5709 27.4232 61.1778 27.4232C53.7848 27.4232 47.7916 33.4164 47.7916 40.8095C47.7916 48.2025 53.7848 54.1957 61.1778 54.1957Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M61.1778 51.2391C55.4291 51.2391 50.748 46.5581 50.748 40.8094C50.748 35.0607 55.4291 30.3796 61.1778 30.3796C66.9265 30.3796 71.6076 35.0607 71.6076 40.8094C71.6076 46.5581 66.9265 51.2391 61.1778 51.2391Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M61.1778 48.2827C57.0716 48.2827 53.7045 44.9156 53.7045 40.8094C53.7045 36.7032 57.0716 33.3361 61.1778 33.3361C65.284 33.3361 68.6511 36.7032 68.6511 40.8094C68.6511 44.9156 65.284 48.2827 61.1778 48.2827Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M61.1778 45.3262C58.673 45.3262 56.661 43.3142 56.661 40.8094C56.661 38.3046 58.673 36.2925 61.1778 36.2925C63.6826 36.2925 65.6947 38.3046 65.6947 40.8094C65.6947 43.3142 63.6415 45.3262 61.1778 45.3262Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M42.6998 23.6044C38.0598 23.6044 34.2821 19.8267 34.2821 15.1867C34.2821 10.5467 38.0598 6.76895 42.6998 6.76895C47.3399 6.76895 51.1176 10.5467 51.1176 15.1867C51.1176 19.8267 47.3399 23.6044 42.6998 23.6044Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M42.6998 20.6069C39.7023 20.6069 37.2796 18.1843 37.2796 15.1867C37.2796 12.1892 39.7023 9.76651 42.6998 9.76651C45.6974 9.76651 48.12 12.1892 48.12 15.1867C48.12 18.1843 45.6974 20.6069 42.6998 20.6069Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M42.6998 17.4862C41.4269 17.4862 40.4414 16.4596 40.4414 15.2277C40.4414 13.9959 41.468 12.9693 42.6998 12.9693C43.9728 12.9693 44.9582 13.9959 44.9582 15.2277C44.9582 16.4596 43.9317 17.4862 42.6998 17.4862Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M82.448 80.6397H4.47098C3.36231 80.6397 2.5 79.7364 2.5 78.6688V42.6983C2.5 41.5896 3.40337 40.7273 4.47098 40.7273H82.448C83.5567 40.7273 84.419 41.6307 84.419 42.6983V78.6688C84.419 79.7774 83.5567 80.6397 82.448 80.6397Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.2717 40.7274L72.6752 19.7857C72.3057 18.7591 71.1559 18.2253 70.1294 18.5949L9.39844 40.7274H80.2717Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M68.4869 19.2108L57.1537 5.70132C56.4557 4.88008 55.2238 4.75689 54.3615 5.45495L14.6133 38.7974L68.4869 19.2108Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),la=d(W)`
19
+ `;function oa({dimension:e,cardType:i,cardIndex:r,reportDate:a,reportTitle:s,onCardClick:l,chartElement:c}){const m=u.getLocalizedStrings().common,p=u.getLocalizedStrings().dateFormat;return t.jsx(_,{style:{cursor:"pointer"},dimension:e,onClick:()=>l(r,i),"data-testid":w("dashboard",i),children:t.jsxs(W,{children:[t.jsxs(Pe,{style:{marginBottom:L[3]},children:[t.jsx(aa,{children:s??tt(i)}),t.jsxs(ia,{children:[m.asOf,m.strings.space,a.format(p.visual.MMMDFormat)]})]}),t.jsx(Pe,{style:{width:"100%",height:"100%",cursor:"pointer"},children:t.jsx("div",{style:{width:"100%",height:"100%"},children:t.jsx(rt,{children:({height:h,width:g})=>c(g,h)})})})]})})}function pt({card:e,reportDate:i,reportTitle:r,actions:a,chartElement:s}){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(dt,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(Me,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:a.onReloadData,reportTitle:r}):t.jsx(oa,{dimension:e.dimension,reportTitle:r,cardType:e.cardType,cardIndex:e.cardIndex,reportDate:i,onCardClick:a.onCardClick,chartElement:s})}$.memo(pt);function na({card:e,actions:i,data:r,dndProps:a}){const s=e.fetchState==="Completed"?r?.agingBalances.length===0:!1,l=(c,m)=>s||r==null?t.jsx(Y,{width:c,height:m,label:u.getLocalizedStrings().chartCard.no_data.aging_report}):t.jsx(Br,{report:r,width:c,height:m});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:c=>a?.onDragStart(e.cardType,c),onDragOver:c=>a?.onDragOver(c,e.cardType),onDragLeave:c=>a?.onDragLeave(c),onDrop:c=>a?.onDrop(c,e.cardType),dimension:e.dimension,children:t.jsx(pt,{card:e,reportTitle:r?.reportTitle,actions:i,reportDate:r?.arAgingUIState.selectedDate??we.dateNow(),chartElement:l})},e.cardIndex)}function ht({card:e,actions:i,data:r,dndProps:a}){const s=r?.filter.timeframe??"month",l=e.fetchState==="Completed"?r?.availableNumberOfPeriods==null||r?.availableNumberOfPeriods===0:!1,c=(m,p)=>l===!1?t.jsx(Or,{selectedRangeReport:r,timeframe:s,width:m,height:p}):t.jsx(Y,{width:m,height:p,label:u.getLocalizedStrings().chartCard.no_data.cash_in_cash_out});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:m=>a?.onDragStart(e.cardType,m),onDragOver:m=>a?.onDragOver(m,e.cardType),onDragLeave:m=>a?.onDragLeave(m),onDrop:m=>a?.onDrop(m,e.cardType),dimension:e.dimension,children:t.jsx(me,{card:e,actions:i,timeframe:s,allowedValues:[],chartElement:c})},e.cardIndex)}$.memo(ht);function gt({card:e,actions:i,data:r,dndProps:a}){const[s,l]=n.useState(r?.filter.timeframe??"month");n.useEffect(()=>{r?.filter.timeframe!==void 0&&l(r?.filter.timeframe)},[r?.filter.timeframe]);const c=e.fetchState==="Completed"?r?.availableNumberOfPeriods==null||r?.availableNumberOfPeriods===0:!1,m=(p,h)=>c===!1?t.jsx(zr,{selectedRangeReport:r,timeframe:s,width:p,height:h}):t.jsx(Y,{width:p,height:h,label:u.getLocalizedStrings().chartCard.no_data.cash_position});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:p=>a?.onDragStart(e.cardType,p),onDragOver:p=>a?.onDragOver(p,e.cardType),onDragLeave:p=>a?.onDragLeave(p),onDrop:p=>a?.onDrop(p,e.cardType),dimension:e.dimension,children:t.jsx(me,{card:e,actions:i,timeframe:s,chartElement:m,onTimeframeChange:(p,h)=>l(h)})},e.cardIndex)}$.memo(gt);function ut({card:e,actions:i,data:r,dndProps:a}){const[s,l]=n.useState(r?.filter.timeframe??"month");n.useEffect(()=>{r?.filter.timeframe!==void 0&&l(r?.filter.timeframe)},[r?.filter.timeframe]);let c=u.getLocalizedStrings().chartCard.netBurnOrIncome.net_income;if(r?.calculatedSections?.netBurnOrIncome?.balances!=null&&r.calculatedSections.netBurnOrIncome.balances.length>0){const h=r?.calculatedSections.netBurnOrIncome.balances[r?.calculatedSections.netBurnOrIncome.balances.length-1].balance.amount;c=h!=null&&h<0?u.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn:u.getLocalizedStrings().chartCard.netBurnOrIncome.net_income}const m=e.fetchState==="Completed"?r?.availableNumberOfPeriods==null||r?.availableNumberOfPeriods===0:!1,p=(h,g)=>m===!1?t.jsx(Wr,{selectedRangeReport:r,timeframe:s,width:h,height:g,mode:"off"}):t.jsx(Y,{width:h,height:g,label:u.getLocalizedStrings().chartCard.no_data.net_burn_or_income});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:h=>a?.onDragStart(e.cardType,h),onDragOver:h=>a?.onDragOver(h,e.cardType),onDragLeave:h=>a?.onDragLeave(h),onDrop:h=>a?.onDrop(h,e.cardType),dimension:e.dimension,children:t.jsx(me,{card:e,reportTitle:c,actions:i,timeframe:s,chartElement:p,onTimeframeChange:(h,g)=>l(g)})},e.cardIndex)}$.memo(ut);function xt({card:e,actions:i,data:r,dndProps:a}){const[s,l]=n.useState(r?.filter.timeframe??"month");n.useEffect(()=>{r?.filter.timeframe!==void 0&&l(r?.filter.timeframe)},[r?.filter.timeframe]);const c=e.fetchState==="Completed"?r?.availableNumberOfPeriods==null||r.availableNumberOfPeriods===0||r.allTimeframeTicks.length===0||r.sections.expenses.accounts.length===0&&r.sections.expenses.accountGroups.length===0:!1,m=(p,h)=>c===!1?t.jsx(Ar,{selectedRangeReport:r,timeframe:s,width:p,height:h,mode:"off"}):t.jsx(Y,{width:p,height:h,label:u.getLocalizedStrings().chartCard.no_data.operating_expenses});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:p=>a?.onDragStart(e.cardType,p),onDragOver:p=>a?.onDragOver(p,e.cardType),onDragLeave:p=>a?.onDragLeave(p),onDrop:p=>a?.onDrop(p,e.cardType),dimension:e.dimension,children:t.jsx(me,{card:e,actions:i,timeframe:s,chartElement:m,onTimeframeChange:(p,h)=>l(h)})},e.cardIndex)}$.memo(xt);function Ct({card:e,actions:i,data:r,dndProps:a}){const[s,l]=n.useState(r?.filter.timeframe??"month");n.useEffect(()=>{r?.filter.timeframe!==void 0&&l(r?.filter.timeframe)},[r?.filter.timeframe]);const c=e.fetchState==="Completed"?r?.availableNumberOfPeriods==null||r?.availableNumberOfPeriods===0:!1,m=(p,h)=>c===!1?t.jsx(_r,{selectedRangeReport:r,timeframe:s,width:p,height:h,mode:"off"}):t.jsx(Y,{width:p,height:h,label:u.getLocalizedStrings().chartCard.no_data.revenue});return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:p=>a?.onDragStart(e.cardType,p),onDragOver:p=>a?.onDragOver(p,e.cardType),onDragLeave:p=>a?.onDragLeave(p),onDrop:p=>a?.onDrop(p,e.cardType),dimension:e.dimension,children:t.jsx(me,{card:e,actions:i,timeframe:s,chartElement:m,onTimeframeChange:(p,h)=>l(h)})},e.cardIndex)}$.memo(Ct);const da=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{opacity:.2,d:"M85.6345 29.5758H10.274C9.20311 29.5758 8.37018 30.4484 8.37018 31.4796V72.8882C8.37018 73.9591 9.24277 74.7921 10.274 74.7921H85.5948C86.6658 74.7921 87.4987 73.9195 87.4987 72.8882V31.4796C87.5384 30.4087 86.6657 29.5758 85.6345 29.5758ZM28.9158 58.5697C28.9158 58.7284 28.7968 58.8474 28.6382 58.8474H14.2007C14.042 58.8474 13.9231 58.7284 13.9231 58.5697V52.5806C13.9231 52.4219 14.042 52.3029 14.2007 52.3029H28.6382C28.7968 52.3029 28.9158 52.4219 28.9158 52.5806V58.5697ZM46.4867 58.5697C46.4867 58.7284 46.3677 58.8474 46.2091 58.8474H31.7716C31.6129 58.8474 31.4939 58.7284 31.4939 58.5697V52.5806C31.4939 52.4219 31.6129 52.3029 31.7716 52.3029H46.2091C46.3677 52.3029 46.4867 52.4219 46.4867 52.5806V58.5697ZM64.0576 58.5697C64.0576 58.7284 63.9386 58.8474 63.78 58.8474H49.3425C49.1838 58.8474 49.0648 58.7284 49.0648 58.5697V52.5806C49.0648 52.4219 49.1838 52.3029 49.3425 52.3029H63.78C63.9386 52.3029 64.0576 52.4219 64.0576 52.5806V58.5697ZM81.6285 58.5697C81.6285 58.7284 81.5095 58.8474 81.3509 58.8474H66.9134C66.7547 58.8474 66.6357 58.7284 66.6357 58.5697V52.5806C66.6357 52.4219 66.7547 52.3029 66.9134 52.3029H81.3509C81.5095 52.3029 81.6285 52.4219 81.6285 52.5806V58.5697Z",fill:"#97C3B9"}),n.createElement("path",{d:"M10.0757 26.72V24.5385C10.0757 23.4676 10.9483 22.6347 11.9795 22.6347H78.852C79.923 22.6347 80.7559 23.5073 80.7559 24.5385V26.72H10.0757Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M14.3197 22.5554V20.3739C14.3197 19.303 15.1923 18.47 16.2235 18.47H74.6081C75.679 18.47 76.5119 19.3426 76.5119 20.3739V22.5554H14.3197Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M18.5637 18.3907V15.6539C18.5637 14.583 19.4363 13.7501 20.4675 13.7501H70.3641C71.435 13.7501 72.2679 14.6227 72.2679 15.6539V18.3907H18.5637Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M33.0012 76.2596C33.0012 59.4423 19.3173 45.7584 2.5 45.7584",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M30.0264 76.2596C30.0264 61.1081 17.6911 48.7728 2.53967 48.7728",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M27.012 76.2596C27.012 62.7344 16.0252 51.7476 2.5 51.7476",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M24.0372 76.2596C24.0372 64.3606 14.399 54.7224 2.5 54.7224",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M83.0961 71.976H7.73557C6.66466 71.976 5.83173 71.1034 5.83173 70.0721V28.6635C5.83173 27.5926 6.70432 26.7597 7.73557 26.7597H83.0961C84.167 26.7597 84.9999 27.6323 84.9999 28.6635V70.0721C84.9999 71.143 84.1273 71.976 83.0961 71.976Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),sa=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{opacity:.2,d:"M85.5687 83.7605H7.55063C6.44196 83.7605 5.57965 82.8571 5.57965 81.7895V45.819C5.57965 44.7104 6.48302 43.8481 7.55063 43.8481H85.5277C86.6363 43.8481 87.4986 44.7514 87.4986 45.819V81.7895C87.5397 82.8571 86.6363 83.7605 85.5687 83.7605Z",fill:"#97C3B9"}),n.createElement("path",{d:"M61.1778 54.1957C68.5709 54.1957 74.5641 48.2025 74.5641 40.8095C74.5641 33.4164 68.5709 27.4232 61.1778 27.4232C53.7848 27.4232 47.7916 33.4164 47.7916 40.8095C47.7916 48.2025 53.7848 54.1957 61.1778 54.1957Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M61.1778 51.2391C55.4291 51.2391 50.748 46.5581 50.748 40.8094C50.748 35.0607 55.4291 30.3796 61.1778 30.3796C66.9265 30.3796 71.6076 35.0607 71.6076 40.8094C71.6076 46.5581 66.9265 51.2391 61.1778 51.2391Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M61.1778 48.2827C57.0716 48.2827 53.7045 44.9156 53.7045 40.8094C53.7045 36.7032 57.0716 33.3361 61.1778 33.3361C65.284 33.3361 68.6511 36.7032 68.6511 40.8094C68.6511 44.9156 65.284 48.2827 61.1778 48.2827Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M61.1778 45.3262C58.673 45.3262 56.661 43.3142 56.661 40.8094C56.661 38.3046 58.673 36.2925 61.1778 36.2925C63.6826 36.2925 65.6947 38.3046 65.6947 40.8094C65.6947 43.3142 63.6415 45.3262 61.1778 45.3262Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M42.6998 23.6044C38.0598 23.6044 34.2821 19.8267 34.2821 15.1867C34.2821 10.5467 38.0598 6.76895 42.6998 6.76895C47.3399 6.76895 51.1176 10.5467 51.1176 15.1867C51.1176 19.8267 47.3399 23.6044 42.6998 23.6044Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M42.6998 20.6069C39.7023 20.6069 37.2796 18.1843 37.2796 15.1867C37.2796 12.1892 39.7023 9.76651 42.6998 9.76651C45.6974 9.76651 48.12 12.1892 48.12 15.1867C48.12 18.1843 45.6974 20.6069 42.6998 20.6069Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M42.6998 17.4862C41.4269 17.4862 40.4414 16.4596 40.4414 15.2277C40.4414 13.9959 41.468 12.9693 42.6998 12.9693C43.9728 12.9693 44.9582 13.9959 44.9582 15.2277C44.9582 16.4596 43.9317 17.4862 42.6998 17.4862Z",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M82.448 80.6397H4.47098C3.36231 80.6397 2.5 79.7364 2.5 78.6688V42.6983C2.5 41.5896 3.40337 40.7273 4.47098 40.7273H82.448C83.5567 40.7273 84.419 41.6307 84.419 42.6983V78.6688C84.419 79.7774 83.5567 80.6397 82.448 80.6397Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.2717 40.7274L72.6752 19.7857C72.3057 18.7591 71.1559 18.2253 70.1294 18.5949L9.39844 40.7274H80.2717Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M68.4869 19.2108L57.1537 5.70132C56.4557 4.88008 55.2238 4.75689 54.3615 5.45495L14.6133 38.7974L68.4869 19.2108Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),la=d(W)`
20
20
  justify-content: space-between;
21
21
  `,ca=d.div`
22
22
  display: flex;
@@ -45,7 +45,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
45
45
  width: ${o.sp3};
46
46
  height: ${o.sp3};
47
47
  color: inherit;
48
- `,ua=d(Hr)`
48
+ `,ua=d(Zr)`
49
49
  width: ${o.sp3};
50
50
  height: ${o.sp3};
51
51
  color: inherit;
@@ -121,14 +121,14 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
121
121
  align-items: center;
122
122
  justify-content: space-between;
123
123
  width: 100%;
124
- `,Da=d(N)`
124
+ `,Ma=d(N)`
125
125
  color: ${e=>e.theme.colors.champion};
126
126
  `,re=d(Ye)`
127
127
  color: ${e=>e.textColor.toString()};
128
128
  justify-content: center;
129
129
  align-items: center;
130
130
  text-transform: uppercase;
131
- `,wt=({card:e,data:i,actions:r,analytics:a,dndProps:s})=>{const l=i.billPayAmountByKey["bills-pending_approval-awaiting_my_approval"],c=i.billPayAmountByKey["bills-pending_approval-awaiting_approval"],m=i.billPayAmountByKey["bills-draft-all"],p=i.billPayAmountByKey["bills-scheduled-all"],h=i.billPayAmountByKey["bills-paid-all"],g=Z(),x=u.getLocalizedStrings().billPayCountCard.awaitingMyApproval,v=u.getLocalizedStrings().billPayCountCard.draft,f=u.getLocalizedStrings().billPayCountCard.awaitingAllApproval,k=u.getLocalizedStrings().billPayCountCard.scheduled,M=u.getLocalizedStrings().billPayCountCard.paid;return t.jsx(B,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:y=>s?.onDragStart(e.cardType,y),onDragOver:y=>s?.onDragOver(y,e.cardType),onDragLeave:y=>s?.onDragLeave(y),onDrop:y=>s?.onDrop(y,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onCardClick:()=>{},onReloadData:r.onReloadData},children:t.jsx(_,{dimension:e.dimension,style:{cursor:"default"},children:t.jsxs(va,{windowSize:g,children:[t.jsx(wa,{children:t.jsx(Da,{children:u.getLocalizedStrings().billPayCountCard.title})}),t.jsx(ja,{children:t.jsxs($a,{onClick:()=>{a?.trackBillPayCard(x,l),r.onCategoryClick?.("bill-pay","pending_approval","awaiting_my_approval")},"data-testid":w("category-text",e.cardType),children:[t.jsx(re,{windowSize:g,textColor:ae("awaiting_my_approval"),children:A(z(l?.amount??0),l)}),x]})}),t.jsxs(Ae,{children:[t.jsxs(pe,{onClick:()=>{a?.trackBillPayCard(v,m),r.onCategoryClick?.("bill-pay","draft","all")},"data-testid":w("category-text-secondary-draft",e.cardType),children:[t.jsx(re,{windowSize:g,textColor:ae("draft"),children:A(z(m?.amount??0),m)}),v]}),t.jsxs(pe,{onClick:()=>{a?.trackBillPayCard(f,c),r.onCategoryClick?.("bill-pay","pending_approval","awaiting_approval")},"data-testid":w("category-text-secondary-approval",e.cardType),children:[t.jsx(re,{windowSize:g,textColor:ae("awaiting_approval"),children:A(z(c?.amount??0),c)}),f]})]}),t.jsxs(Ae,{children:[t.jsxs(pe,{onClick:()=>{a?.trackBillPayCard(k,p),r.onCategoryClick?.("bill-pay","scheduled","all")},"data-testid":w("category-text-secondary-scheduled",e.cardType),children:[t.jsx(re,{windowSize:g,textColor:ae("scheduled"),children:A(z(p?.amount??0),p)}),k]}),t.jsxs(pe,{onClick:()=>{a?.trackBillPayCard(M,h),r.onCategoryClick?.("bill-pay","paid","all")},"data-testid":w("category-text-secondary-all-paid",e.cardType),children:[t.jsx(re,{windowSize:g,textColor:ae("paid"),children:A(z(h?.amount??0),h)}),M]})]})]})})})},e.cardIndex)},ae=e=>{switch(e){case"awaiting_my_approval":return new T(S.graphColor10);case"awaiting_approval":return new T(S.graphColor36);case"draft":return new T(S.graphColor04);case"scheduled":return new T(S.graphColor02);case"paid":return new T(S.graphColor22);default:return new T(S.primary)}};$.memo(wt);const Ma=({stopAnimation:e=!1,animationName:i,width:r,height:a,style:s})=>{const[l]=it(i);return l!=null?t.jsx(ot,{style:{width:r??37,height:a??37,...s},animationData:l,loop:!e,play:!e,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},Ea=d.div`
131
+ `,wt=({card:e,data:i,actions:r,analytics:a,dndProps:s})=>{const l=i.billPayAmountByKey["bills-pending_approval-awaiting_my_approval"],c=i.billPayAmountByKey["bills-pending_approval-awaiting_approval"],m=i.billPayAmountByKey["bills-draft-all"],p=i.billPayAmountByKey["bills-scheduled-all"],h=i.billPayAmountByKey["bills-paid-all"],g=H(),x=u.getLocalizedStrings().billPayCountCard.awaitingMyApproval,v=u.getLocalizedStrings().billPayCountCard.draft,f=u.getLocalizedStrings().billPayCountCard.awaitingAllApproval,k=u.getLocalizedStrings().billPayCountCard.scheduled,D=u.getLocalizedStrings().billPayCountCard.paid;return t.jsx(B,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:y=>s?.onDragStart(e.cardType,y),onDragOver:y=>s?.onDragOver(y,e.cardType),onDragLeave:y=>s?.onDragLeave(y),onDrop:y=>s?.onDrop(y,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onCardClick:()=>{},onReloadData:r.onReloadData},children:t.jsx(_,{dimension:e.dimension,style:{cursor:"default"},children:t.jsxs(va,{windowSize:g,children:[t.jsx(wa,{children:t.jsx(Ma,{children:u.getLocalizedStrings().billPayCountCard.title})}),t.jsx(ja,{children:t.jsxs($a,{onClick:()=>{a?.trackBillPayCard(x,l),r.onCategoryClick?.("bill-pay","pending_approval","awaiting_my_approval")},"data-testid":w("category-text",e.cardType),children:[t.jsx(re,{windowSize:g,textColor:ae("awaiting_my_approval"),children:A(z(l?.amount??0),l)}),x]})}),t.jsxs(Ae,{children:[t.jsxs(pe,{onClick:()=>{a?.trackBillPayCard(v,m),r.onCategoryClick?.("bill-pay","draft","all")},"data-testid":w("category-text-secondary-draft",e.cardType),children:[t.jsx(re,{windowSize:g,textColor:ae("draft"),children:A(z(m?.amount??0),m)}),v]}),t.jsxs(pe,{onClick:()=>{a?.trackBillPayCard(f,c),r.onCategoryClick?.("bill-pay","pending_approval","awaiting_approval")},"data-testid":w("category-text-secondary-approval",e.cardType),children:[t.jsx(re,{windowSize:g,textColor:ae("awaiting_approval"),children:A(z(c?.amount??0),c)}),f]})]}),t.jsxs(Ae,{children:[t.jsxs(pe,{onClick:()=>{a?.trackBillPayCard(k,p),r.onCategoryClick?.("bill-pay","scheduled","all")},"data-testid":w("category-text-secondary-scheduled",e.cardType),children:[t.jsx(re,{windowSize:g,textColor:ae("scheduled"),children:A(z(p?.amount??0),p)}),k]}),t.jsxs(pe,{onClick:()=>{a?.trackBillPayCard(D,h),r.onCategoryClick?.("bill-pay","paid","all")},"data-testid":w("category-text-secondary-all-paid",e.cardType),children:[t.jsx(re,{windowSize:g,textColor:ae("paid"),children:A(z(h?.amount??0),h)}),D]})]})]})})})},e.cardIndex)},ae=e=>{switch(e){case"awaiting_my_approval":return new T(S.graphColor10);case"awaiting_approval":return new T(S.graphColor36);case"draft":return new T(S.graphColor04);case"scheduled":return new T(S.graphColor02);case"paid":return new T(S.graphColor22);default:return new T(S.primary)}};$.memo(wt);const Da=({stopAnimation:e=!1,animationName:i,width:r,height:a,style:s})=>{const[l]=it(i);return l!=null?t.jsx(ot,{style:{width:r??37,height:a??37,...s},animationData:l,loop:!e,play:!e,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},Ea=d.div`
132
132
  display: flex;
133
133
  align-items: center;
134
134
  flex-direction: column;
@@ -140,7 +140,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
140
140
  display: block;
141
141
  margin: 18px ${o.sp0} ${o.sp3} ${o.sp0};
142
142
  max-width: 300px;
143
- `;function Sa({billPayPromoCardContent:e}){const i=ee(),{prefix:r,IconNameDark:a,IconNameLight:s}=e;return t.jsxs(Ea,{children:[t.jsx(Ma,{animationName:i.mode==="light"?s:a,width:128,height:88,style:{margin:0}}),t.jsx(Ta,{children:t.jsx(La,{themeContext:i,children:r})})]})}const Ba=d(_)`
143
+ `;function Sa({billPayPromoCardContent:e}){const i=ee(),{prefix:r,IconNameDark:a,IconNameLight:s}=e;return t.jsxs(Ea,{children:[t.jsx(Da,{animationName:i.mode==="light"?s:a,width:128,height:88,style:{margin:0}}),t.jsx(Ta,{children:t.jsx(La,{themeContext:i,children:r})})]})}const Ba=d(_)`
144
144
  flex-wrap: wrap;
145
145
  & .styledNav {
146
146
  visibility: hidden;
@@ -187,7 +187,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
187
187
  `,Wa=d(P)`
188
188
  color: ${e=>e.theme.colors.champion};
189
189
  text-align: center;
190
- `;function za({card:e,data:i,handleCardNavigation:r,activeCardIndex:a,handleLearnMoreClick:s,isBillPayEnabled:l}){const[c,m]=$.useState(0),[p,h]=$.useState(0),[g,x]=$.useState("left"),v=(b,C)=>{b.stopPropagation(),x(C);const D=C=="left"?a+1:a-1;r(y(D),C)},f=b=>{r(y(b),"left")};function k(b){m(b.targetTouches[0].clientX)}function M(b){h(b.targetTouches[0].clientX)}function y(b){return b<0?i.length+b:b%i.length}function E(){c-p>50&&p!==0?(r(y(a+1),"left"),x("left"),m(0),h(0)):c-p<-50&&p!==0&&(r(y(a-1),"right"),x("right"),m(0),h(0))}return t.jsx(Ba,{"data-testid":w("dashboard",e.cardType),style:{cursor:"default"},dimension:e.dimension,onTouchStart:b=>k(b),onTouchMove:b=>M(b),onTouchEnd:()=>E(),children:t.jsxs(Pa,{children:[t.jsx(ye,{children:t.jsx(ge,{"data-testid":w("dashboard-navigation-arrow-left",e.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:v})}),t.jsxs(ye,{style:{height:"100%",position:"relative",alignItems:"center"},children:[t.jsx(_a,{children:t.jsx(Wa,{children:u.getLocalizedStrings().billPayPromoCard.title})}),i.map((b,C)=>t.jsx(Je,{activeCardIndex:a,currentIndex:C,which:g,children:t.jsx(Sa,{billPayPromoCardContent:b})},C)),t.jsx(Ia,{onClick:s,children:t.jsx(Aa,{children:l?u.getLocalizedStrings().billPayPromoCard.btn:u.getLocalizedStrings().billPayPromoCard.signUp})}),t.jsx(st,{spendManagementPromoCardActive:!0,numberOfDots:i.length,activeIndex:a,handleClick:f,style:{cursor:"default",position:"absolute",bottom:`${o.sp3}`}})]}),t.jsx(ye,{children:t.jsx(ge,{"data-testid":w("dashboard-navigation-arrow-right",e.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:v})})]})})}const H=u.getLocalizedStrings().billPayPromoCard,Oa=[{key:"fastestWay",title:H.title,prefix:H.fastestWay.prefix,IconNameLight:"FastestWayLight",IconNameDark:"FastestWayDark"},{key:"financeTeam",title:H.title,prefix:H.financeTeam.prefix,IconNameLight:"FinanceTeamLight",IconNameDark:"FinanceTeamDark"},{key:"multiLevelApproval",title:H.title,prefix:H.multiLevelApproval.prefix,IconNameLight:"MultiLevelApprovalLight",IconNameDark:"MultiLevelApprovalDark"},{key:"aipoweredInvoice",title:H.title,prefix:H.aipoweredInvoice.prefix,IconNameLight:"AIPoweredInvoiceLight",IconNameDark:"AIPoweredInvoiceDark"}];function jt({card:e,analytics:i,actions:r,isBillPayEnabled:a,dndProps:s}){const[l,c]=n.useState(0),m=h=>{c(h),i?.trackPageLoaded(ce.Event.billPayPromoPage)},p=()=>{i?.trackPageLoaded(ce.Event.billPayPromoPage,"Bill Pay Promo"),r.onCardBtnClick?.("bill_pay_promo_card")};return t.jsx(B,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:h=>s?.onDragStart(e.cardType,h),onDragOver:h=>s?.onDragOver(h,e.cardType),onDragLeave:h=>s?.onDragLeave(h),onDrop:h=>s?.onDrop(h,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:t.jsx(za,{card:e,data:Oa,handleCardNavigation:m,activeCardIndex:l,handleLearnMoreClick:p,isBillPayEnabled:a})})},e.cardIndex)}$.memo(jt);const Ra=d.div`
190
+ `;function za({card:e,data:i,handleCardNavigation:r,activeCardIndex:a,handleLearnMoreClick:s,isBillPayEnabled:l}){const[c,m]=$.useState(0),[p,h]=$.useState(0),[g,x]=$.useState("left"),v=(b,C)=>{b.stopPropagation(),x(C);const M=C=="left"?a+1:a-1;r(y(M),C)},f=b=>{r(y(b),"left")};function k(b){m(b.targetTouches[0].clientX)}function D(b){h(b.targetTouches[0].clientX)}function y(b){return b<0?i.length+b:b%i.length}function E(){c-p>50&&p!==0?(r(y(a+1),"left"),x("left"),m(0),h(0)):c-p<-50&&p!==0&&(r(y(a-1),"right"),x("right"),m(0),h(0))}return t.jsx(Ba,{"data-testid":w("dashboard",e.cardType),style:{cursor:"default"},dimension:e.dimension,onTouchStart:b=>k(b),onTouchMove:b=>D(b),onTouchEnd:()=>E(),children:t.jsxs(Pa,{children:[t.jsx(ye,{children:t.jsx(ge,{"data-testid":w("dashboard-navigation-arrow-left",e.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:v})}),t.jsxs(ye,{style:{height:"100%",position:"relative",alignItems:"center"},children:[t.jsx(_a,{children:t.jsx(Wa,{children:u.getLocalizedStrings().billPayPromoCard.title})}),i.map((b,C)=>t.jsx(Je,{activeCardIndex:a,currentIndex:C,which:g,children:t.jsx(Sa,{billPayPromoCardContent:b})},C)),t.jsx(Ia,{onClick:s,children:t.jsx(Aa,{children:l?u.getLocalizedStrings().billPayPromoCard.btn:u.getLocalizedStrings().billPayPromoCard.signUp})}),t.jsx(st,{spendManagementPromoCardActive:!0,numberOfDots:i.length,activeIndex:a,handleClick:f,style:{cursor:"default",position:"absolute",bottom:`${o.sp3}`}})]}),t.jsx(ye,{children:t.jsx(ge,{"data-testid":w("dashboard-navigation-arrow-right",e.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:v})})]})})}const Z=u.getLocalizedStrings().billPayPromoCard,Oa=[{key:"fastestWay",title:Z.title,prefix:Z.fastestWay.prefix,IconNameLight:"FastestWayLight",IconNameDark:"FastestWayDark"},{key:"financeTeam",title:Z.title,prefix:Z.financeTeam.prefix,IconNameLight:"FinanceTeamLight",IconNameDark:"FinanceTeamDark"},{key:"multiLevelApproval",title:Z.title,prefix:Z.multiLevelApproval.prefix,IconNameLight:"MultiLevelApprovalLight",IconNameDark:"MultiLevelApprovalDark"},{key:"aipoweredInvoice",title:Z.title,prefix:Z.aipoweredInvoice.prefix,IconNameLight:"AIPoweredInvoiceLight",IconNameDark:"AIPoweredInvoiceDark"}];function jt({card:e,analytics:i,actions:r,isBillPayEnabled:a,dndProps:s}){const[l,c]=n.useState(0),m=h=>{c(h),i?.trackPageLoaded(ce.Event.billPayPromoPage)},p=()=>{i?.trackPageLoaded(ce.Event.billPayPromoPage,"Bill Pay Promo"),r.onCardBtnClick?.("bill_pay_promo_card")};return t.jsx(B,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:h=>s?.onDragStart(e.cardType,h),onDragOver:h=>s?.onDragOver(h,e.cardType),onDragLeave:h=>s?.onDragLeave(h),onDrop:h=>s?.onDrop(h,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:t.jsx(za,{card:e,data:Oa,handleCardNavigation:m,activeCardIndex:l,handleLearnMoreClick:p,isBillPayEnabled:a})})},e.cardIndex)}$.memo(jt);const Ra=d.div`
191
191
  display: flex;
192
192
  width: 100%;
193
193
  background: ${e=>`linear-gradient(247.21deg, ${e.theme.colors.rewardsPromoColor1}
@@ -210,12 +210,12 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
210
210
  position: relative;
211
211
  width: 40%;
212
212
  margin-right: ${o.sp2};
213
- `,Ha=d(Vr)`
213
+ `,Za=d(Vr)`
214
214
  width: 90%;
215
215
  position: absolute;
216
216
  bottom: 0;
217
217
  right: 0;
218
- `,Za=d(G)`
218
+ `,Ha=d(G)`
219
219
  color: ${j.graphColor17};
220
220
  `,Va=d(wr)`
221
221
  color: ${e=>e.theme.colors.brandColorGold};
@@ -228,7 +228,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
228
228
  border-radius: ${o.sp1};
229
229
  padding: ${o.sp1} ${o.sp2};
230
230
  width: fit-content;
231
- `;function Ka({planAmount:e}){const{rewardsPage:{rewardsCard:i,referAndEarn:r}}=u.getLocalizedStrings();return t.jsxs(Ra,{children:[t.jsxs(Na,{children:[t.jsx(Za,{children:i.bonus}),t.jsx(Va,{children:A("0,0",e)}),t.jsx(Ua,{children:r})]}),t.jsx(Fa,{children:t.jsx(Ha,{})})]})}const le={containerMargin:new R(L[4],L[5]),cardDetailMarginBottom:new R(28,L[5]),cardDetailMarginLeft:new R(0,L[3])},Ga={title:new qe("standardRegular","largeRegular")},Ya=d.div`
231
+ `;function Ka({planAmount:e}){const{rewardsPage:{rewardsCard:i,referAndEarn:r}}=u.getLocalizedStrings();return t.jsxs(Ra,{children:[t.jsxs(Na,{children:[t.jsx(Ha,{children:i.bonus}),t.jsx(Va,{children:A("0,0",e)}),t.jsx(Ua,{children:r})]}),t.jsx(Fa,{children:t.jsx(Za,{})})]})}const le={containerMargin:new R(L[4],L[5]),cardDetailMarginBottom:new R(28,L[5]),cardDetailMarginLeft:new R(0,L[3])},Ga={title:new qe("standardRegular","largeRegular")},Ya=d.div`
232
232
  display: flex;
233
233
  flex: 1 1 auto;
234
234
  justify-content: center;
@@ -268,7 +268,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
268
268
  color: ${e=>e.theme.colors.champion};
269
269
  text-align: center;
270
270
  margin-bottom: ${o.sp3};
271
- `,Xa=d(kr)`
271
+ `,Qa=d(kr)`
272
272
  ${e=>`${Ga.title.style(e.windowSize)}`};
273
273
  color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorSapphire:e.theme.colors.brandColorJade};
274
274
  text-align: center;
@@ -276,13 +276,13 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
276
276
  margin-left: ${e=>le.cardDetailMarginLeft.valuePx(e.windowSize)};
277
277
  margin-right: ${e=>le.cardDetailMarginLeft.valuePx(e.windowSize)};
278
278
  width: 281px;
279
- `,Qa=d.div`
279
+ `,Xa=d.div`
280
280
  display: flex;
281
281
  justify-content: center;
282
282
  align-content: center;
283
283
  min-width: 235px;
284
284
  max-width: 260px;
285
- `;function ei({planAmount:e,dimension:i,windowSize:r,cardType:a,cardIndex:s,onCardClick:l}){const{rewardsCard:c,referAndEarn:m}=u.getLocalizedStrings().rewardsPage;return t.jsx(Ya,{dimension:i,onClick:()=>l(s,a),"data-testid":w("dashboard",a),children:t.jsxs(Ja,{windowSize:r,children:[t.jsx(qa,{children:m}),t.jsx(Xa,{windowSize:r,children:c.rewardsSummaryShort.replace("__reward-amount__",A("0,0",e))}),t.jsx(Qa,{children:t.jsx(Ka,{planAmount:e})})]})})}function ti({card:e,actions:i,data:r,dndProps:a}){const s=Z();return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:l=>a?.onDragStart(e.cardType,l),onDragOver:l=>a?.onDragOver(l,e.cardType),onDragLeave:l=>a?.onDragLeave(l),onDrop:l=>a?.onDrop(l,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:i,children:t.jsx(ei,{planAmount:r.rewardsPlan.referrerAmount,dimension:e.dimension,windowSize:s,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:i.onCardClick})})},e.cardIndex)}const{common:X,expenseAutomation:ri}=u.getLocalizedStrings();function ai({card:e,actions:i,data:r,dndProps:a}){return r?.monthEndCloseChecks?.monthEndCloseCheckList==null||r.selectedPeriod==null?null:t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:s=>a?.onDragStart(e.cardType,s),onDragOver:s=>a?.onDragOver(s,e.cardType),onDragLeave:s=>a?.onDragLeave(s),onDrop:s=>a?.onDrop(s,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:i,children:t.jsx(_,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>i.onCardClick(e.cardIndex,e.cardType),"data-testid":w("dashboard",e.cardType),children:t.jsxs(di,{children:[t.jsxs(ii,{children:[t.jsxs(oi,{children:[X.monthsByIndex[r.selectedPeriod.month],X.strings.space,X.texts.close]}),t.jsxs(ni,{children:[Math.floor(r.monthEndCloseChecks.auditSummary.auditScorePercentage),X.strings.percentage," ",X.texts.complete]})]}),t.jsx(si,{children:r.monthEndCloseChecks.monthEndCloseCheckList.filter(s=>s.id!=="month_end_insights").map(s=>t.jsxs(li,{children:[t.jsx(ci,{completion:s.progress,children:t.jsx(mi,{children:ri.dashboardCard[s.id]})}),t.jsxs(pi,{children:[Math.floor(s.progress),X.strings.percentage]})]},s.id))})]})})})},e.cardIndex)}const ii=d.div`
285
+ `;function ei({planAmount:e,dimension:i,windowSize:r,cardType:a,cardIndex:s,onCardClick:l}){const{rewardsCard:c,referAndEarn:m}=u.getLocalizedStrings().rewardsPage;return t.jsx(Ya,{dimension:i,onClick:()=>l(s,a),"data-testid":w("dashboard",a),children:t.jsxs(Ja,{windowSize:r,children:[t.jsx(qa,{children:m}),t.jsx(Qa,{windowSize:r,children:c.rewardsSummaryShort.replace("__reward-amount__",A("0,0",e))}),t.jsx(Xa,{children:t.jsx(Ka,{planAmount:e})})]})})}function ti({card:e,actions:i,data:r,dndProps:a}){const s=H();return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:l=>a?.onDragStart(e.cardType,l),onDragOver:l=>a?.onDragOver(l,e.cardType),onDragLeave:l=>a?.onDragLeave(l),onDrop:l=>a?.onDrop(l,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:i,children:t.jsx(ei,{planAmount:r.rewardsPlan.referrerAmount,dimension:e.dimension,windowSize:s,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:i.onCardClick})})},e.cardIndex)}const{common:Q,expenseAutomation:ri}=u.getLocalizedStrings();function ai({card:e,actions:i,data:r,dndProps:a}){return r?.monthEndCloseChecks?.monthEndCloseCheckList==null||r.selectedPeriod==null?null:t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:s=>a?.onDragStart(e.cardType,s),onDragOver:s=>a?.onDragOver(s,e.cardType),onDragLeave:s=>a?.onDragLeave(s),onDrop:s=>a?.onDrop(s,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:i,children:t.jsx(_,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>i.onCardClick(e.cardIndex,e.cardType),"data-testid":w("dashboard",e.cardType),children:t.jsxs(di,{children:[t.jsxs(ii,{children:[t.jsxs(oi,{children:[Q.monthsByIndex[r.selectedPeriod.month],Q.strings.space,Q.texts.close]}),t.jsxs(ni,{children:[Math.floor(r.monthEndCloseChecks.auditSummary.auditScorePercentage),Q.strings.percentage," ",Q.texts.complete]})]}),t.jsx(si,{children:r.monthEndCloseChecks.monthEndCloseCheckList.filter(s=>s.id!=="month_end_insights").map(s=>t.jsxs(li,{children:[t.jsx(ci,{completion:s.progress,children:t.jsx(mi,{children:ri.dashboardCard[s.id]})}),t.jsxs(pi,{children:[Math.floor(s.progress),Q.strings.percentage]})]},s.id))})]})})})},e.cardIndex)}const ii=d.div`
286
286
  display: flex;
287
287
  flex-direction: column;
288
288
  row-gap: ${o.sp2};
@@ -329,7 +329,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
329
329
  display: flex;
330
330
  align-items: center;
331
331
  justify-content: center;
332
- `,hi=(e,i,r)=>{let a=[];r!=null&&r.balances.length>0&&(a=Kr("net_burn_or_income","actual",r));const s=lt("net_burn_or_income","actual"),l={};return l[s]=a,a.length>0?Gr(e,i,s,l):void 0},gi=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M45.0043 83.4557C66.2557 83.4557 83.4833 66.2281 83.4833 44.9768C83.4833 23.7254 66.2557 6.4978 45.0043 6.4978C23.753 6.4978 6.52539 23.7254 6.52539 44.9768C6.52539 66.2281 23.753 83.4557 45.0043 83.4557Z",fill:"#363F3D",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M53.1708 82.7636L51.925 76.9963",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.7888 83.6403L45.6504 77.7346",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M38.3145 83.0404L39.3756 77.2271",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M31.1631 81.0566L33.2854 75.52",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M24.4731 77.6885L27.6105 72.7056",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M18.5674 73.167L22.5814 68.8762",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.7793 18.1245L68.5808 22.2308",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.4392 23.9841L72.5024 27.1676",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.8534 30.5818L75.4092 32.7964",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.9757 37.7332L77.2085 38.8405",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M83.6678 45.1614H77.7622",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.8834 52.5895L77.1162 51.436",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.715 59.741L75.2708 57.4802",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.2546 66.3385L72.3179 63.0627",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.5486 72.1058L68.3501 67.9995",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M66.8275 76.9043L63.5056 72.0598",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M60.2759 80.5029L57.969 75.0586",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M75.0518 57.4482C81.9268 40.851 74.0453 21.8231 57.4481 14.9482C40.851 8.07328 21.8231 15.9547 14.9481 32.5519C8.07323 49.1491 15.9547 68.177 32.5519 75.0519C49.149 81.9268 68.1769 74.0454 75.0518 57.4482Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.0044 16.9709C29.456 16.9709 16.7681 29.6127 16.7681 45.2073",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0043 20.0161C35.7306 20.0161 27.5643 25.0913 23.2273 32.6117",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 23.0613C40.4828 23.0613 36.2382 24.4454 32.7317 26.7984",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 31.9659V27.7673",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 62.1861V58.1721",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M35.6846 49.3136C35.6846 51.2975 36.1459 53.3275 37.3455 54.9424C38.6374 56.6956 40.6213 57.6184 42.7437 57.9875C44.6814 58.3104 46.7576 58.172 48.6954 57.7568C52.7094 56.834 55.57 52.7278 53.8167 48.6676C52.7556 46.2223 50.218 45.1612 47.7265 44.9305C45.9272 44.7459 44.0817 44.7459 42.2823 44.4691C40.7597 44.2384 39.2372 43.7309 38.1299 42.6236C36.9764 41.4701 36.4228 39.8553 36.4689 38.2405C36.5612 35.8413 37.9453 33.8113 40.0677 32.7501C42.3284 31.6428 45.0505 31.5966 47.4497 32.0119C49.0184 32.2887 50.5871 32.9346 51.6944 34.1342C53.0785 35.6106 53.5399 37.5946 53.6322 39.5785",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),ui=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M45.0043 83.4557C66.2557 83.4557 83.4833 66.2281 83.4833 44.9768C83.4833 23.7254 66.2557 6.4978 45.0043 6.4978C23.753 6.4978 6.52539 23.7254 6.52539 44.9768C6.52539 66.2281 23.753 83.4557 45.0043 83.4557Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M53.1708 82.7636L51.925 76.9963",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.7888 83.6403L45.6504 77.7346",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M38.3145 83.0404L39.3756 77.2271",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M31.1631 81.0566L33.2854 75.52",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M24.4731 77.6885L27.6105 72.7056",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M18.5674 73.167L22.5814 68.8762",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.7793 18.1245L68.5808 22.2308",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.4392 23.9841L72.5024 27.1676",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.8534 30.5818L75.4092 32.7964",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.9757 37.7332L77.2085 38.8405",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M83.6678 45.1614H77.7622",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.8834 52.5895L77.1162 51.436",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.715 59.741L75.2708 57.4802",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.2546 66.3385L72.3179 63.0627",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.5486 72.1058L68.3501 67.9995",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M66.8275 76.9043L63.5056 72.0598",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M60.2759 80.5029L57.969 75.0586",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M75.0518 57.4482C81.9268 40.851 74.0453 21.8231 57.4481 14.9482C40.851 8.07328 21.8231 15.9547 14.9481 32.5519C8.07323 49.1491 15.9547 68.177 32.5519 75.0519C49.149 81.9268 68.1769 74.0454 75.0518 57.4482Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.0044 16.9709C29.456 16.9709 16.7681 29.6127 16.7681 45.2073",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0043 20.0161C35.7306 20.0161 27.5643 25.0913 23.2273 32.6117",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 23.0613C40.4828 23.0613 36.2382 24.4454 32.7317 26.7984",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 31.9659V27.7673",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 62.1861V58.1721",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M35.6846 49.3136C35.6846 51.2975 36.1459 53.3275 37.3455 54.9424C38.6374 56.6956 40.6213 57.6184 42.7437 57.9875C44.6814 58.3104 46.7576 58.172 48.6954 57.7568C52.7094 56.834 55.57 52.7278 53.8167 48.6676C52.7556 46.2223 50.218 45.1612 47.7265 44.9305C45.9272 44.7459 44.0817 44.7459 42.2823 44.4691C40.7597 44.2384 39.2372 43.7309 38.1299 42.6236C36.9764 41.4701 36.4228 39.8553 36.4689 38.2405C36.5612 35.8413 37.9453 33.8113 40.0677 32.7501C42.3284 31.6428 45.0505 31.5966 47.4497 32.0119C49.0184 32.2887 50.5871 32.9346 51.6944 34.1342C53.0785 35.6106 53.5399 37.5946 53.6322 39.5785",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),xi=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M45.0043 83.4557C66.2557 83.4557 83.4833 66.2281 83.4833 44.9768C83.4833 23.7254 66.2557 6.4978 45.0043 6.4978C23.753 6.4978 6.52539 23.7254 6.52539 44.9768C6.52539 66.2281 23.753 83.4557 45.0043 83.4557Z",fill:"#363F3D",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M53.1708 82.7636L51.925 76.9963",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.7888 83.6403L45.6504 77.7346",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M38.3145 83.0404L39.3756 77.2271",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M31.1631 81.0566L33.2854 75.52",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M24.4731 77.6885L27.6105 72.7056",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M18.5674 73.167L22.5814 68.8762",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.7793 18.1245L68.5808 22.2308",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.4392 23.9841L72.5024 27.1676",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.8534 30.5818L75.4092 32.7964",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.9757 37.7332L77.2085 38.8405",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M83.6678 45.1614H77.7622",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.8834 52.5895L77.1162 51.436",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.715 59.741L75.2708 57.4802",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.2546 66.3385L72.3179 63.0627",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.5486 72.1058L68.3501 67.9995",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M66.8275 76.9043L63.5056 72.0598",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M60.2759 80.5029L57.969 75.0586",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M75.0518 57.4482C81.9268 40.851 74.0453 21.8231 57.4481 14.9482C40.851 8.07328 21.8231 15.9547 14.9481 32.5519C8.07323 49.1491 15.9547 68.177 32.5519 75.0519C49.149 81.9268 68.1769 74.0454 75.0518 57.4482Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.0044 16.9709C29.456 16.9709 16.7681 29.6127 16.7681 45.2073",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0043 20.0161C35.7306 20.0161 27.5643 25.0913 23.2273 32.6117",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 23.0613C40.4828 23.0613 36.2382 24.4454 32.7317 26.7984",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 31.9659V27.7673",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 62.1861V58.1721",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M35.6846 49.3136C35.6846 51.2975 36.1459 53.3275 37.3455 54.9424C38.6374 56.6956 40.6213 57.6184 42.7437 57.9875C44.6814 58.3104 46.7576 58.172 48.6954 57.7568C52.7094 56.834 55.57 52.7278 53.8167 48.6676C52.7556 46.2223 50.218 45.1612 47.7265 44.9305C45.9272 44.7459 44.0817 44.7459 42.2823 44.4691C40.7597 44.2384 39.2372 43.7309 38.1299 42.6236C36.9764 41.4701 36.4228 39.8553 36.4689 38.2405C36.5612 35.8413 37.9453 33.8113 40.0677 32.7501C42.3284 31.6428 45.0505 31.5966 47.4497 32.0119C49.0184 32.2887 50.5871 32.9346 51.6944 34.1342C53.0785 35.6106 53.5399 37.5946 53.6322 39.5785",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),Ci=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M45.0043 83.4557C66.2557 83.4557 83.4833 66.2281 83.4833 44.9768C83.4833 23.7254 66.2557 6.4978 45.0043 6.4978C23.753 6.4978 6.52539 23.7254 6.52539 44.9768C6.52539 66.2281 23.753 83.4557 45.0043 83.4557Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M53.1708 82.7636L51.925 76.9963",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.7888 83.6403L45.6504 77.7346",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M38.3145 83.0404L39.3756 77.2271",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M31.1631 81.0566L33.2854 75.52",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M24.4731 77.6885L27.6105 72.7056",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M18.5674 73.167L22.5814 68.8762",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.7793 18.1245L68.5808 22.2308",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.4392 23.9841L72.5024 27.1676",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.8534 30.5818L75.4092 32.7964",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.9757 37.7332L77.2085 38.8405",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M83.6678 45.1614H77.7622",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.8834 52.5895L77.1162 51.436",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.715 59.741L75.2708 57.4802",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.2546 66.3385L72.3179 63.0627",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.5486 72.1058L68.3501 67.9995",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M66.8275 76.9043L63.5056 72.0598",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M60.2759 80.5029L57.969 75.0586",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M75.0518 57.4482C81.9268 40.851 74.0453 21.8231 57.4481 14.9482C40.851 8.07328 21.8231 15.9547 14.9481 32.5519C8.07323 49.1491 15.9547 68.177 32.5519 75.0519C49.149 81.9268 68.1769 74.0454 75.0518 57.4482Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.0044 16.9709C29.456 16.9709 16.7681 29.6127 16.7681 45.2073",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0043 20.0161C35.7306 20.0161 27.5643 25.0913 23.2273 32.6117",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 23.0613C40.4828 23.0613 36.2382 24.4454 32.7317 26.7984",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 31.9659V27.7673",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 62.1861V58.1721",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M35.6846 49.3136C35.6846 51.2975 36.1459 53.3275 37.3455 54.9424C38.6374 56.6956 40.6213 57.6184 42.7437 57.9875C44.6814 58.3104 46.7576 58.172 48.6954 57.7568C52.7094 56.834 55.57 52.7278 53.8167 48.6676C52.7556 46.2223 50.218 45.1612 47.7265 44.9305C45.9272 44.7459 44.0817 44.7459 42.2823 44.4691C40.7597 44.2384 39.2372 43.7309 38.1299 42.6236C36.9764 41.4701 36.4228 39.8553 36.4689 38.2405C36.5612 35.8413 37.9453 33.8113 40.0677 32.7501C42.3284 31.6428 45.0505 31.5966 47.4497 32.0119C49.0184 32.2887 50.5871 32.9346 51.6944 34.1342C53.0785 35.6106 53.5399 37.5946 53.6322 39.5785",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),$t=[lt("net_burn_or_income","actual")];function fi({isBurn:e,x:i,y:r}){switch(ee().mode){case"light":return e?t.jsx(ui,{x:i,y:r}):t.jsx(Ci,{x:i,y:r});case"dark":default:return e?t.jsx(gi,{x:i,y:r}):t.jsx(xi,{x:i,y:r})}}const ki=({chartData:e,isNetBurn:i,width:r,height:a,isAccountingMethodUpdated:s})=>{const l=$t[0];return t.jsxs($r,{width:r,height:a,data:e.recordByTimeseries,margin:{top:L[3],right:0,left:0,bottom:L[3]},style:{cursor:"pointer"},children:[t.jsx(Dr,{type:"monotone",name:l,dataKey:c=>{const m=c.record;return(m[l]!=null&&m[l].amount!=null?m[l].amount:void 0)?.amount??0},stroke:i?j.important:j.success,fill:i?j.important:j.success,strokeWidth:2},l),t.jsx(Mr,{hide:!0,type:"number",domain:["dataMin","dataMax"],dataKey:c=>{const m=c.record;return(m[l]!=null&&m[l].amount!=null?m[l].amount:void 0)?.amount??0}}),t.jsx(Er,{hide:!0,dataKey:"timeframe",type:"category",axisLine:{stroke:j.heroDark,strokeWidth:.5}}),t.jsx(Lr,{ifOverflow:"visible",isFront:!0,fillOpacity:1,shape:c=>t.jsx(fi,{isBurn:i,x:c.x+c.width/2-L[11]/2,y:c.y+c.height/2-L[11]/2})})]},s===!0?Math.random():null)};function yi({report:e,width:i,height:r,isNetBurn:a}){const s=hi(e.firstMonthOfFY,$t,e.netBurnOrIncome),l=Ge(e.updateStatus.fetchState);let c=!1;return l==="In-Progress"&&e.updateStatus.fetchState==="Completed"&&(c=!0),s==null?null:t.jsx(ki,{chartData:s,isNetBurn:a,width:i,height:r,isAccountingMethodUpdated:c})}const K={width:new R(89,89),height:new R(L[6],L[6]),containerHeight:new R(656,720),labelWidth:new R(100,90)},bi=nt`
332
+ `,hi=(e,i,r)=>{let a=[];r!=null&&r.balances.length>0&&(a=Kr("net_burn_or_income","actual",r));const s=lt("net_burn_or_income","actual"),l={};return l[s]=a,a.length>0?Gr(e,i,s,l):void 0},gi=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M45.0043 83.4557C66.2557 83.4557 83.4833 66.2281 83.4833 44.9768C83.4833 23.7254 66.2557 6.4978 45.0043 6.4978C23.753 6.4978 6.52539 23.7254 6.52539 44.9768C6.52539 66.2281 23.753 83.4557 45.0043 83.4557Z",fill:"#363F3D",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M53.1708 82.7636L51.925 76.9963",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.7888 83.6403L45.6504 77.7346",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M38.3145 83.0404L39.3756 77.2271",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M31.1631 81.0566L33.2854 75.52",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M24.4731 77.6885L27.6105 72.7056",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M18.5674 73.167L22.5814 68.8762",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.7793 18.1245L68.5808 22.2308",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.4392 23.9841L72.5024 27.1676",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.8534 30.5818L75.4092 32.7964",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.9757 37.7332L77.2085 38.8405",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M83.6678 45.1614H77.7622",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.8834 52.5895L77.1162 51.436",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.715 59.741L75.2708 57.4802",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.2546 66.3385L72.3179 63.0627",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.5486 72.1058L68.3501 67.9995",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M66.8275 76.9043L63.5056 72.0598",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M60.2759 80.5029L57.969 75.0586",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M75.0518 57.4482C81.9268 40.851 74.0453 21.8231 57.4481 14.9482C40.851 8.07328 21.8231 15.9547 14.9481 32.5519C8.07323 49.1491 15.9547 68.177 32.5519 75.0519C49.149 81.9268 68.1769 74.0454 75.0518 57.4482Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.0044 16.9709C29.456 16.9709 16.7681 29.6127 16.7681 45.2073",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0043 20.0161C35.7306 20.0161 27.5643 25.0913 23.2273 32.6117",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 23.0613C40.4828 23.0613 36.2382 24.4454 32.7317 26.7984",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 31.9659V27.7673",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 62.1861V58.1721",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M35.6846 49.3136C35.6846 51.2975 36.1459 53.3275 37.3455 54.9424C38.6374 56.6956 40.6213 57.6184 42.7437 57.9875C44.6814 58.3104 46.7576 58.172 48.6954 57.7568C52.7094 56.834 55.57 52.7278 53.8167 48.6676C52.7556 46.2223 50.218 45.1612 47.7265 44.9305C45.9272 44.7459 44.0817 44.7459 42.2823 44.4691C40.7597 44.2384 39.2372 43.7309 38.1299 42.6236C36.9764 41.4701 36.4228 39.8553 36.4689 38.2405C36.5612 35.8413 37.9453 33.8113 40.0677 32.7501C42.3284 31.6428 45.0505 31.5966 47.4497 32.0119C49.0184 32.2887 50.5871 32.9346 51.6944 34.1342C53.0785 35.6106 53.5399 37.5946 53.6322 39.5785",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),ui=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M45.0043 83.4557C66.2557 83.4557 83.4833 66.2281 83.4833 44.9768C83.4833 23.7254 66.2557 6.4978 45.0043 6.4978C23.753 6.4978 6.52539 23.7254 6.52539 44.9768C6.52539 66.2281 23.753 83.4557 45.0043 83.4557Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M53.1708 82.7636L51.925 76.9963",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.7888 83.6403L45.6504 77.7346",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M38.3145 83.0404L39.3756 77.2271",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M31.1631 81.0566L33.2854 75.52",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M24.4731 77.6885L27.6105 72.7056",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M18.5674 73.167L22.5814 68.8762",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.7793 18.1245L68.5808 22.2308",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.4392 23.9841L72.5024 27.1676",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.8534 30.5818L75.4092 32.7964",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.9757 37.7332L77.2085 38.8405",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M83.6678 45.1614H77.7622",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.8834 52.5895L77.1162 51.436",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.715 59.741L75.2708 57.4802",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.2546 66.3385L72.3179 63.0627",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.5486 72.1058L68.3501 67.9995",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M66.8275 76.9043L63.5056 72.0598",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M60.2759 80.5029L57.969 75.0586",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M75.0518 57.4482C81.9268 40.851 74.0453 21.8231 57.4481 14.9482C40.851 8.07328 21.8231 15.9547 14.9481 32.5519C8.07323 49.1491 15.9547 68.177 32.5519 75.0519C49.149 81.9268 68.1769 74.0454 75.0518 57.4482Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.0044 16.9709C29.456 16.9709 16.7681 29.6127 16.7681 45.2073",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0043 20.0161C35.7306 20.0161 27.5643 25.0913 23.2273 32.6117",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 23.0613C40.4828 23.0613 36.2382 24.4454 32.7317 26.7984",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 31.9659V27.7673",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 62.1861V58.1721",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M35.6846 49.3136C35.6846 51.2975 36.1459 53.3275 37.3455 54.9424C38.6374 56.6956 40.6213 57.6184 42.7437 57.9875C44.6814 58.3104 46.7576 58.172 48.6954 57.7568C52.7094 56.834 55.57 52.7278 53.8167 48.6676C52.7556 46.2223 50.218 45.1612 47.7265 44.9305C45.9272 44.7459 44.0817 44.7459 42.2823 44.4691C40.7597 44.2384 39.2372 43.7309 38.1299 42.6236C36.9764 41.4701 36.4228 39.8553 36.4689 38.2405C36.5612 35.8413 37.9453 33.8113 40.0677 32.7501C42.3284 31.6428 45.0505 31.5966 47.4497 32.0119C49.0184 32.2887 50.5871 32.9346 51.6944 34.1342C53.0785 35.6106 53.5399 37.5946 53.6322 39.5785",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),xi=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M45.0043 83.4557C66.2557 83.4557 83.4833 66.2281 83.4833 44.9768C83.4833 23.7254 66.2557 6.4978 45.0043 6.4978C23.753 6.4978 6.52539 23.7254 6.52539 44.9768C6.52539 66.2281 23.753 83.4557 45.0043 83.4557Z",fill:"#363F3D",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M53.1708 82.7636L51.925 76.9963",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.7888 83.6403L45.6504 77.7346",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M38.3145 83.0404L39.3756 77.2271",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M31.1631 81.0566L33.2854 75.52",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M24.4731 77.6885L27.6105 72.7056",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M18.5674 73.167L22.5814 68.8762",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.7793 18.1245L68.5808 22.2308",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.4392 23.9841L72.5024 27.1676",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.8534 30.5818L75.4092 32.7964",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.9757 37.7332L77.2085 38.8405",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M83.6678 45.1614H77.7622",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.8834 52.5895L77.1162 51.436",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.715 59.741L75.2708 57.4802",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.2546 66.3385L72.3179 63.0627",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.5486 72.1058L68.3501 67.9995",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M66.8275 76.9043L63.5056 72.0598",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M60.2759 80.5029L57.969 75.0586",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M75.0518 57.4482C81.9268 40.851 74.0453 21.8231 57.4481 14.9482C40.851 8.07328 21.8231 15.9547 14.9481 32.5519C8.07323 49.1491 15.9547 68.177 32.5519 75.0519C49.149 81.9268 68.1769 74.0454 75.0518 57.4482Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.0044 16.9709C29.456 16.9709 16.7681 29.6127 16.7681 45.2073",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0043 20.0161C35.7306 20.0161 27.5643 25.0913 23.2273 32.6117",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 23.0613C40.4828 23.0613 36.2382 24.4454 32.7317 26.7984",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 31.9659V27.7673",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 62.1861V58.1721",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M35.6846 49.3136C35.6846 51.2975 36.1459 53.3275 37.3455 54.9424C38.6374 56.6956 40.6213 57.6184 42.7437 57.9875C44.6814 58.3104 46.7576 58.172 48.6954 57.7568C52.7094 56.834 55.57 52.7278 53.8167 48.6676C52.7556 46.2223 50.218 45.1612 47.7265 44.9305C45.9272 44.7459 44.0817 44.7459 42.2823 44.4691C40.7597 44.2384 39.2372 43.7309 38.1299 42.6236C36.9764 41.4701 36.4228 39.8553 36.4689 38.2405C36.5612 35.8413 37.9453 33.8113 40.0677 32.7501C42.3284 31.6428 45.0505 31.5966 47.4497 32.0119C49.0184 32.2887 50.5871 32.9346 51.6944 34.1342C53.0785 35.6106 53.5399 37.5946 53.6322 39.5785",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),Ci=e=>n.createElement("svg",{width:90,height:90,viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M45.0043 83.4557C66.2557 83.4557 83.4833 66.2281 83.4833 44.9768C83.4833 23.7254 66.2557 6.4978 45.0043 6.4978C23.753 6.4978 6.52539 23.7254 6.52539 44.9768C6.52539 66.2281 23.753 83.4557 45.0043 83.4557Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M53.1708 82.7636L51.925 76.9963",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.7888 83.6403L45.6504 77.7346",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M38.3145 83.0404L39.3756 77.2271",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M31.1631 81.0566L33.2854 75.52",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M24.4731 77.6885L27.6105 72.7056",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M18.5674 73.167L22.5814 68.8762",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.7793 18.1245L68.5808 22.2308",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.4392 23.9841L72.5024 27.1676",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.8534 30.5818L75.4092 32.7964",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.9757 37.7332L77.2085 38.8405",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M83.6678 45.1614H77.7622",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M82.8834 52.5895L77.1162 51.436",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M80.715 59.741L75.2708 57.4802",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M77.2546 66.3385L72.3179 63.0627",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M72.5486 72.1058L68.3501 67.9995",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M66.8275 76.9043L63.5056 72.0598",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M60.2759 80.5029L57.969 75.0586",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M75.0518 57.4482C81.9268 40.851 74.0453 21.8231 57.4481 14.9482C40.851 8.07328 21.8231 15.9547 14.9481 32.5519C8.07323 49.1491 15.9547 68.177 32.5519 75.0519C49.149 81.9268 68.1769 74.0454 75.0518 57.4482Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),n.createElement("path",{d:"M45.0044 16.9709C29.456 16.9709 16.7681 29.6127 16.7681 45.2073",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0043 20.0161C35.7306 20.0161 27.5643 25.0913 23.2273 32.6117",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 23.0613C40.4828 23.0613 36.2382 24.4454 32.7317 26.7984",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 31.9659V27.7673",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M45.0044 62.1861V58.1721",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),n.createElement("path",{d:"M35.6846 49.3136C35.6846 51.2975 36.1459 53.3275 37.3455 54.9424C38.6374 56.6956 40.6213 57.6184 42.7437 57.9875C44.6814 58.3104 46.7576 58.172 48.6954 57.7568C52.7094 56.834 55.57 52.7278 53.8167 48.6676C52.7556 46.2223 50.218 45.1612 47.7265 44.9305C45.9272 44.7459 44.0817 44.7459 42.2823 44.4691C40.7597 44.2384 39.2372 43.7309 38.1299 42.6236C36.9764 41.4701 36.4228 39.8553 36.4689 38.2405C36.5612 35.8413 37.9453 33.8113 40.0677 32.7501C42.3284 31.6428 45.0505 31.5966 47.4497 32.0119C49.0184 32.2887 50.5871 32.9346 51.6944 34.1342C53.0785 35.6106 53.5399 37.5946 53.6322 39.5785",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),$t=[lt("net_burn_or_income","actual")];function fi({isBurn:e,x:i,y:r}){switch(ee().mode){case"light":return e?t.jsx(ui,{x:i,y:r}):t.jsx(Ci,{x:i,y:r});case"dark":default:return e?t.jsx(gi,{x:i,y:r}):t.jsx(xi,{x:i,y:r})}}const ki=({chartData:e,isNetBurn:i,width:r,height:a,isAccountingMethodUpdated:s})=>{const l=$t[0];return t.jsxs($r,{width:r,height:a,data:e.recordByTimeseries,margin:{top:L[3],right:0,left:0,bottom:L[3]},style:{cursor:"pointer"},children:[t.jsx(Mr,{type:"monotone",name:l,dataKey:c=>{const m=c.record;return(m[l]!=null&&m[l].amount!=null?m[l].amount:void 0)?.amount??0},stroke:i?j.important:j.success,fill:i?j.important:j.success,strokeWidth:2},l),t.jsx(Dr,{hide:!0,type:"number",domain:["dataMin","dataMax"],dataKey:c=>{const m=c.record;return(m[l]!=null&&m[l].amount!=null?m[l].amount:void 0)?.amount??0}}),t.jsx(Er,{hide:!0,dataKey:"timeframe",type:"category",axisLine:{stroke:j.heroDark,strokeWidth:.5}}),t.jsx(Lr,{ifOverflow:"visible",isFront:!0,fillOpacity:1,shape:c=>t.jsx(fi,{isBurn:i,x:c.x+c.width/2-L[11]/2,y:c.y+c.height/2-L[11]/2})})]},s===!0?Math.random():null)};function yi({report:e,width:i,height:r,isNetBurn:a}){const s=hi(e.firstMonthOfFY,$t,e.netBurnOrIncome),l=Ge(e.updateStatus.fetchState);let c=!1;return l==="In-Progress"&&e.updateStatus.fetchState==="Completed"&&(c=!0),s==null?null:t.jsx(ki,{chartData:s,isNetBurn:a,width:i,height:r,isAccountingMethodUpdated:c})}const K={width:new R(89,89),height:new R(L[6],L[6]),containerHeight:new R(656,720),labelWidth:new R(100,90)},bi=nt`
333
333
  0% {
334
334
  transform: translateY(100%)
335
335
  }
@@ -351,12 +351,12 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
351
351
  bottom: 0;
352
352
  overflow-y: auto;
353
353
  overflow-x: hidden;
354
- `,wi=d(Xe)`
354
+ `,wi=d(Qe)`
355
355
  max-width: 600px;
356
356
  margin: auto;
357
357
  padding: ${o.sp7} 0 ${o.sp4} 0;
358
358
  color: ${e=>e.theme.colors.primary};
359
- `,_e=d(Qe)`
359
+ `,_e=d(Xe)`
360
360
  max-width: 600px;
361
361
  margin-bottom: 20px;
362
362
  color: ${e=>e.theme.colors.hero};
@@ -367,11 +367,11 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
367
367
  bottom: ${o.sp0};
368
368
  left: ${o.sp0};
369
369
  right: ${o.sp0};
370
- `,$i=d(Qe)`
370
+ `,$i=d(Xe)`
371
371
  color: inherit;
372
- `,Di=d($e)`
372
+ `,Mi=d($e)`
373
373
  color: ${e=>e.theme.colors.brandColorRuby};
374
- `,Mi=d(G)`
374
+ `,Di=d(G)`
375
375
  color: ${e=>e.theme.colors.grey1};
376
376
  `,Ei=nt`
377
377
  0% {
@@ -417,7 +417,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
417
417
  background-color: ${e=>e.theme.colors.grey3};
418
418
  `,We=d.div`
419
419
  padding: ${e=>e.windowSize==="small"?`${o.sp0} ${o.sp5} ${o.sp5} ${o.sp3};`:`${o.sp0} ${o.sp8} ${o.sp5} ${o.sp8};`};
420
- `,ze="netBurnOrIncomeStoryCard",Dt="accountingMethod",Mt="timeSpanIdForAverage",Ii=e=>({[Dt]:e?.selectedAccountingMethod,[Mt]:e?.average?.timeSpanIdForAverage});function Et({card:e,actions:i,data:r}){const a=Z(),s=sr({mode:"all",reValidateMode:"onChange",defaultValues:n.useMemo(()=>Ii(r),[r])}),l=Ge(r?.updateStatus.fetchState),c=x=>`${x}_form`,m=s.handleSubmit(x=>{i.onSaveClick?.(e.cardType,x.accountingMethod,x.timeSpanIdForAverage)}),p=x=>{x?.stopPropagation(),i.onCloseClick?.(e.cardIndex,e.cardType)};n.useEffect(()=>{l==="In-Progress"&&r?.updateStatus.fetchState==="Completed"&&i.onCloseClick?.(e.cardIndex,e.cardType)},[l,r?.updateStatus.fetchState,i,e]);const h=u.getLocalizedStrings().chartCard.netBurnOrIncomeCalculator,g=u.getLocalizedStrings().common.footer;return t.jsxs(Li,{"data-testid":w("net-burn-or-income-summary-card-calculator-close-icon"),windowSize:a,role:"presentation",onClick:x=>p(x),children:[t.jsx(Ti,{children:t.jsx(Si,{children:t.jsx(lr,{style:{width:"18px",height:"18px"}})})}),t.jsx(vi,{windowSize:a,onClick:x=>x.stopPropagation(),children:t.jsxs(Bi,{windowSize:a,children:[t.jsx(wi,{windowSize:a,children:h.title}),t.jsx(cr,{...s,children:t.jsxs("form",{id:c(ze),onSubmit:m,children:[t.jsxs(We,{windowSize:a,children:[t.jsx(_e,{windowSize:a,children:u.getLocalizedStrings().chartCard.netBurnOrIncomeCalculator.accounting_method.label}),t.jsx(Ai,{allAccountingMethodsAvailable:r?.allAccountingMethodsAvailable})]}),t.jsx(Pi,{}),t.jsxs(We,{windowSize:a,children:[t.jsx(_e,{windowSize:a,children:u.getLocalizedStrings().chartCard.netBurnOrIncomeCalculator.time_span_id_for_average.label}),t.jsx(_i,{allTimeSpanIdAvailableWithLabel:r?.allTimeSpanIdAvailableWithLabel})]}),t.jsx(ji,{children:t.jsx(mr,{formId:c(ze),primaryBtn:{label:g.save,style:{width:K.width.value(a),height:K.height.value(a)},isLoading:r?.updateStatus.fetchState==="In-Progress",isDisabled:!1},cancelBtn:{label:g.cancel,style:{width:K.width.value(a),height:K.height.value(a)},onClick:p},style:{borderRadius:o.sp2,padding:o.sp3}})})]})})]})})]})}const Ai=({allAccountingMethodsAvailable:e})=>{const i=u.getLocalizedStrings().chartCard.netBurnOrIncomeCalculator.accounting_method,r=Z();return t.jsx(t.Fragment,{children:e?.map((a,s)=>t.jsx(et,{label:{label:i[a]},style:{width:K.labelWidth.valuePercentage(r),paddingLeft:o.sp2,margin:"auto",marginTop:s===0?o.sp0:o.sp4,marginLeft:o.sp0},radioField:{name:Dt,id:a,value:a,registerOptions:{required:!0},style:{width:o.sp3,height:o.sp3},radioSize:"small"}},a))})},_i=({allTimeSpanIdAvailableWithLabel:e})=>{const i=Z();return t.jsx(t.Fragment,{children:Object.keys(e??{}).map((r,a)=>{const s=e?.[r];return t.jsx(et,{label:{label:t.jsx(Wi,{timeSpanIdForAverage:r,subText:s})},labelStyle:{display:"flex",alignItems:"start",flexDirection:"column"},style:{width:K.labelWidth.valuePercentage(i),alignItems:"flex-start",paddingLeft:o.sp2,margin:"auto",marginTop:a===0?o.sp0:o.sp2,marginLeft:o.sp0},radioField:{name:Mt,id:r,value:r,registerOptions:{required:!0},style:{marginTop:o.sp1,width:o.sp3,height:o.sp3},radioSize:"small"}},r)})})},Wi=({timeSpanIdForAverage:e,subText:i})=>{const r=u.getLocalizedStrings().chartCard.netBurnOrIncomeCalculator.time_span_id_for_average,a=e==="last_month";return t.jsxs(t.Fragment,{children:[t.jsxs($i,{children:[r[e],a?t.jsx(Di,{children:` ${r.under_review_last_month_label}`}):null]}),i?t.jsx(Mi,{children:i}):null]})};$.memo(Et);const Lt=d(W)`
420
+ `,ze="netBurnOrIncomeStoryCard",Mt="accountingMethod",Dt="timeSpanIdForAverage",Ii=e=>({[Mt]:e?.selectedAccountingMethod,[Dt]:e?.average?.timeSpanIdForAverage});function Et({card:e,actions:i,data:r}){const a=H(),s=sr({mode:"all",reValidateMode:"onChange",defaultValues:n.useMemo(()=>Ii(r),[r])}),l=Ge(r?.updateStatus.fetchState),c=x=>`${x}_form`,m=s.handleSubmit(x=>{i.onSaveClick?.(e.cardType,x.accountingMethod,x.timeSpanIdForAverage)}),p=x=>{x?.stopPropagation(),i.onCloseClick?.(e.cardIndex,e.cardType)};n.useEffect(()=>{l==="In-Progress"&&r?.updateStatus.fetchState==="Completed"&&i.onCloseClick?.(e.cardIndex,e.cardType)},[l,r?.updateStatus.fetchState,i,e]);const h=u.getLocalizedStrings().chartCard.netBurnOrIncomeCalculator,g=u.getLocalizedStrings().common.footer;return t.jsxs(Li,{"data-testid":w("net-burn-or-income-summary-card-calculator-close-icon"),windowSize:a,role:"presentation",onClick:x=>p(x),children:[t.jsx(Ti,{children:t.jsx(Si,{children:t.jsx(lr,{style:{width:"18px",height:"18px"}})})}),t.jsx(vi,{windowSize:a,onClick:x=>x.stopPropagation(),children:t.jsxs(Bi,{windowSize:a,children:[t.jsx(wi,{windowSize:a,children:h.title}),t.jsx(cr,{...s,children:t.jsxs("form",{id:c(ze),onSubmit:m,children:[t.jsxs(We,{windowSize:a,children:[t.jsx(_e,{windowSize:a,children:u.getLocalizedStrings().chartCard.netBurnOrIncomeCalculator.accounting_method.label}),t.jsx(Ai,{allAccountingMethodsAvailable:r?.allAccountingMethodsAvailable})]}),t.jsx(Pi,{}),t.jsxs(We,{windowSize:a,children:[t.jsx(_e,{windowSize:a,children:u.getLocalizedStrings().chartCard.netBurnOrIncomeCalculator.time_span_id_for_average.label}),t.jsx(_i,{allTimeSpanIdAvailableWithLabel:r?.allTimeSpanIdAvailableWithLabel})]}),t.jsx(ji,{children:t.jsx(mr,{formId:c(ze),primaryBtn:{label:g.save,style:{width:K.width.value(a),height:K.height.value(a)},isLoading:r?.updateStatus.fetchState==="In-Progress",isDisabled:!1},cancelBtn:{label:g.cancel,style:{width:K.width.value(a),height:K.height.value(a)},onClick:p},style:{borderRadius:o.sp2,padding:o.sp3}})})]})})]})})]})}const Ai=({allAccountingMethodsAvailable:e})=>{const i=u.getLocalizedStrings().chartCard.netBurnOrIncomeCalculator.accounting_method,r=H();return t.jsx(t.Fragment,{children:e?.map((a,s)=>t.jsx(et,{label:{label:i[a]},style:{width:K.labelWidth.valuePercentage(r),paddingLeft:o.sp2,margin:"auto",marginTop:s===0?o.sp0:o.sp4,marginLeft:o.sp0},radioField:{name:Mt,id:a,value:a,registerOptions:{required:!0},style:{width:o.sp3,height:o.sp3},radioSize:"small"}},a))})},_i=({allTimeSpanIdAvailableWithLabel:e})=>{const i=H();return t.jsx(t.Fragment,{children:Object.keys(e??{}).map((r,a)=>{const s=e?.[r];return t.jsx(et,{label:{label:t.jsx(Wi,{timeSpanIdForAverage:r,subText:s})},labelStyle:{display:"flex",alignItems:"start",flexDirection:"column"},style:{width:K.labelWidth.valuePercentage(i),alignItems:"flex-start",paddingLeft:o.sp2,margin:"auto",marginTop:a===0?o.sp0:o.sp2,marginLeft:o.sp0},radioField:{name:Dt,id:r,value:r,registerOptions:{required:!0},style:{marginTop:o.sp1,width:o.sp3,height:o.sp3},radioSize:"small"}},r)})})},Wi=({timeSpanIdForAverage:e,subText:i})=>{const r=u.getLocalizedStrings().chartCard.netBurnOrIncomeCalculator.time_span_id_for_average,a=e==="last_month";return t.jsxs(t.Fragment,{children:[t.jsxs($i,{children:[r[e],a?t.jsx(Mi,{children:` ${r.under_review_last_month_label}`}):null]}),i?t.jsx(Di,{children:i}):null]})};$.memo(Et);const Lt=d(W)`
421
421
  justify-content: space-between;
422
422
  `,Tt=d.div`
423
423
  display: flex;
@@ -453,7 +453,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
453
453
  display: flex;
454
454
  `,Fi=d(at)`
455
455
  color: ${e=>e.theme.colors.hero};
456
- `,Hi=d(at)`
456
+ `,Zi=d(at)`
457
457
  color: ${e=>e.theme.colors.hero};
458
458
  `,Pt=d.div`
459
459
  display: flex;
@@ -469,10 +469,10 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
469
469
  padding: ${o.sp0} ${o.sp2} ${o.sp0} ${o.sp2};
470
470
  `,Ce=d(P)`
471
471
  color: ${e=>e.theme.colors.hero};
472
- `,Ne=d(Xe)`
472
+ `,Ne=d(Qe)`
473
473
  color: ${e=>e.theme.colors.hero};
474
474
  margin: ${o.sp0};
475
- `,Zi=e=>e<0;function Vi({style:e}){switch(ee().mode){case"light":return t.jsx(Jr,{style:e});case"dark":default:return t.jsx(Yr,{style:e})}}function Ui({cardTitle:e,dimension:i,cardIndex:r,onCardClick:a}){const{card:s,chartCard:l}=u.getLocalizedStrings(),c=i.width*.8,m=Math.min(c*.8/2,120);return t.jsx(_,{dimension:i,onClick:()=>a(r,"net_burn_or_income"),"data-testid":w("dashboard","empty-net-burn-or-income-card"),children:t.jsxs(Lt,{children:[t.jsxs(Tt,{children:[t.jsx(St,{children:e}),t.jsx(Ri,{children:l.netBurnOrIncome.no_data_available})]}),t.jsx(Bt,{children:t.jsx(Vi,{style:{height:90,width:90}})}),t.jsxs(Pt,{width:c,children:[t.jsxs(xe,{minWidth:m,children:[t.jsx(Ce,{children:s.runway}),t.jsx(ue,{children:t.jsx(Ne,{children:"—"})})]}),t.jsxs(xe,{minWidth:m,children:[t.jsx(Ce,{children:s.cashZero}),t.jsx(ue,{children:t.jsx(Ne,{children:"—"})},"dashed_icon")]})]})]})})}function Ki({report:e,dimension:i,cardType:r,cardIndex:a,onCardClick:s}){const l=e.average?.balance,c=u.getLocalizedStrings().card,m=u.getLocalizedStrings().chartCard.netBurnOrIncome.net_income;if(e.average==null||l==null||l.amount==0)return t.jsx(Ui,{cardTitle:e.average?.cardTitle!=null?e.average.cardTitle:m,dimension:i,cardIndex:a,onCardClick:s});const p=e.runway?.runwayDisplayText?.compact,h=e.runway?.cashZeroDateDisplayText,g=e.average?.cardSubtitle,x=e.timeSpanIdForAverage==="last_month",v=Zi(l.amount),f=u.getLocalizedStrings().card,k=i.width*.8,M=Math.min(k*.8/2,120);return t.jsx(_,{dimension:i,onClick:()=>s(a,"net_burn_or_income"),children:t.jsxs(Lt,{children:[t.jsxs(Tt,{children:[t.jsx(St,{children:e.average.cardTitle}),t.jsx(Ni,{cardType:r,children:A("0,0",l)})]}),t.jsx(Bt,{children:t.jsx(yi,{report:e,timeframe:e.filter.timeframe,height:90,width:k,isNetBurn:v})}),t.jsxs(Pt,{width:k,children:[t.jsxs(xe,{minWidth:M,children:[t.jsx(Ce,{children:f.runway}),t.jsx(Fi,{children:p??t.jsxs(ue,{children:[t.jsx(Oe,{}),t.jsx(Re,{children:f.yrs})]})})]}),t.jsxs(xe,{minWidth:M,children:[t.jsx(Ce,{children:f.cashZero}),t.jsx(Hi,{children:h??t.jsxs(ue,{children:[t.jsx(Oe,{}),t.jsx(Re,{children:f.time})]},"infinity_icon")})]})]}),g?t.jsxs(zi,{children:[g,x?t.jsx(Oi,{children:` ${c.underReview}`}):null]}):null]})})}function It({card:e,actions:i,data:r,dndProps:a}){const[s,l]=$.useState(!1),c=()=>{l(!0),document.body.style.overflow="hidden"};i.onCloseClick=()=>{l(!1),document.body.style.overflow="auto"};function m(){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(Pr,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(De,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:i.onReloadData,reportTitle:u.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn}):r?t.jsx(Ki,{report:r,dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:c}):t.jsx("div",{})}return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:p=>a?.onDragStart(e.cardType,p),onDragOver:p=>a?.onDragOver(p,e.cardType),onDragLeave:p=>a?.onDragLeave(p),onDrop:p=>a?.onDrop(p,e.cardType),dimension:e.dimension,children:t.jsxs("div",{children:[m(),s?t.jsx(Et,{card:e,actions:i,data:r}):null]})},e.cardIndex)}$.memo(It);const Gi={infoLabel:new qe("standardRegular","largeRegular")},Yi=d(W)`
475
+ `,Hi=e=>e<0;function Vi({style:e}){switch(ee().mode){case"light":return t.jsx(Jr,{style:e});case"dark":default:return t.jsx(Yr,{style:e})}}function Ui({cardTitle:e,dimension:i,cardIndex:r,onCardClick:a}){const{card:s,chartCard:l}=u.getLocalizedStrings(),c=i.width*.8,m=Math.min(c*.8/2,120);return t.jsx(_,{dimension:i,onClick:()=>a(r,"net_burn_or_income"),"data-testid":w("dashboard","empty-net-burn-or-income-card"),children:t.jsxs(Lt,{children:[t.jsxs(Tt,{children:[t.jsx(St,{children:e}),t.jsx(Ri,{children:l.netBurnOrIncome.no_data_available})]}),t.jsx(Bt,{children:t.jsx(Vi,{style:{height:90,width:90}})}),t.jsxs(Pt,{width:c,children:[t.jsxs(xe,{minWidth:m,children:[t.jsx(Ce,{children:s.runway}),t.jsx(ue,{children:t.jsx(Ne,{children:"—"})})]}),t.jsxs(xe,{minWidth:m,children:[t.jsx(Ce,{children:s.cashZero}),t.jsx(ue,{children:t.jsx(Ne,{children:"—"})},"dashed_icon")]})]})]})})}function Ki({report:e,dimension:i,cardType:r,cardIndex:a,onCardClick:s}){const l=e.average?.balance,c=u.getLocalizedStrings().card,m=u.getLocalizedStrings().chartCard.netBurnOrIncome.net_income;if(e.average==null||l==null||l.amount==0)return t.jsx(Ui,{cardTitle:e.average?.cardTitle!=null?e.average.cardTitle:m,dimension:i,cardIndex:a,onCardClick:s});const p=e.runway?.runwayDisplayText?.compact,h=e.runway?.cashZeroDateDisplayText,g=e.average?.cardSubtitle,x=e.timeSpanIdForAverage==="last_month",v=Hi(l.amount),f=u.getLocalizedStrings().card,k=i.width*.8,D=Math.min(k*.8/2,120);return t.jsx(_,{dimension:i,onClick:()=>s(a,"net_burn_or_income"),children:t.jsxs(Lt,{children:[t.jsxs(Tt,{children:[t.jsx(St,{children:e.average.cardTitle}),t.jsx(Ni,{cardType:r,children:A("0,0",l)})]}),t.jsx(Bt,{children:t.jsx(yi,{report:e,timeframe:e.filter.timeframe,height:90,width:k,isNetBurn:v})}),t.jsxs(Pt,{width:k,children:[t.jsxs(xe,{minWidth:D,children:[t.jsx(Ce,{children:f.runway}),t.jsx(Fi,{children:p??t.jsxs(ue,{children:[t.jsx(Oe,{}),t.jsx(Re,{children:f.yrs})]})})]}),t.jsxs(xe,{minWidth:D,children:[t.jsx(Ce,{children:f.cashZero}),t.jsx(Zi,{children:h??t.jsxs(ue,{children:[t.jsx(Oe,{}),t.jsx(Re,{children:f.time})]},"infinity_icon")})]})]}),g?t.jsxs(zi,{children:[g,x?t.jsx(Oi,{children:` ${c.underReview}`}):null]}):null]})})}function It({card:e,actions:i,data:r,dndProps:a}){const[s,l]=$.useState(!1),c=()=>{l(!0),document.body.style.overflow="hidden"};i.onCloseClick=()=>{l(!1),document.body.style.overflow="auto"};function m(){return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?t.jsx(Pr,{dimension:e.dimension,animated:!e.disableAnimations}):e.fetchState==="Error"?t.jsx(Me,{dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onReloadData:i.onReloadData,reportTitle:u.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn}):r?t.jsx(Ki,{report:r,dimension:e.dimension,cardType:e.cardType,cardIndex:e.cardIndex,onCardClick:c}):t.jsx("div",{})}return t.jsx(B,{isDragging:a?.draggedCardType!=null,isDragOver:a?.dragOverCard===e.cardType,draggable:!0,onDragStart:p=>a?.onDragStart(e.cardType,p),onDragOver:p=>a?.onDragOver(p,e.cardType),onDragLeave:p=>a?.onDragLeave(p),onDrop:p=>a?.onDrop(p,e.cardType),dimension:e.dimension,children:t.jsxs("div",{children:[m(),s?t.jsx(Et,{card:e,actions:i,data:r}):null]})},e.cardIndex)}$.memo(It);const Gi={infoLabel:new qe("standardRegular","largeRegular")},Yi=d(W)`
476
476
  justify-content: flex-start;
477
477
  height: auto;
478
478
  width: 100%;
@@ -493,13 +493,13 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
493
493
  position: relative;
494
494
  height: 136px;
495
495
  width: 299px;
496
- `,Xi=d.div`
496
+ `,Qi=d.div`
497
497
  display: flex;
498
498
  flex: 0 1 auto;
499
499
  flex-direction: row;
500
500
  align-items: center;
501
501
  margin-bottom: 12px;
502
- `,Qi=d.div`
502
+ `,Xi=d.div`
503
503
  margin-bottom: 18px;
504
504
  `,ve=d(pr)`
505
505
  color: ${e=>e.theme.colors.primary};
@@ -547,22 +547,22 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
547
547
  background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/line-pattern.svg);
548
548
  right: 16%;
549
549
  `:null}
550
- `,{spendManagement:{chargeCard:{chargeCardsPromo:{dashboard:V,businessText:Fe}}},common:po}=u.getLocalizedStrings(),ho=({card:e,actions:i,dndProps:r})=>{const a=Z(),{useFeatureGate:s,useDynamicConfig:l}=ir(),c=Ke(),{isFeatureEnabled:m}=s(or.isChargeCardFeatureEnabled),{configValue:p}=l(nr.zeniCardsConfig),h=p.charge_card_cashback_rate_per_transaction??0,g=dr(m,c),x=(h*100).toFixed(2),v=g?V.getCard:V.learnMore;return t.jsx(B,{isDragging:r?.draggedCardType!=null,isDragOver:r?.dragOverCard===e.cardType,draggable:!0,onDragStart:f=>r?.onDragStart(e.cardType,f),onDragOver:f=>r?.onDragOver(f,e.cardType),onDragLeave:f=>r?.onDragLeave(f),onDrop:f=>r?.onDrop(f,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onReloadData:()=>null,onCardClick:()=>null},children:t.jsx(_,{dimension:e.dimension,style:{cursor:"default"},children:t.jsxs(Yi,{"data-testid":w("dashboard",e.cardType),onClick:()=>i.onCardClick(e.cardIndex,e.cardType,void 0,v),children:[t.jsxs(Ji,{children:[t.jsx(Xi,{children:t.jsx(ao,{children:V.title})}),t.jsxs(Qi,{children:[t.jsx(ve,{children:V.get}),t.jsx(to,{children:V.subTitle1.replace("__cashback__",x)}),t.jsx(ro,{children:V.cashback}),t.jsx(ve,{children:po.strings.comma}),t.jsx(co,{children:t.jsx(eo,{size:a,children:V.subTitle2})})]}),t.jsx(io,{children:t.jsx(oo,{children:v})})]}),t.jsxs(lo,{children:[t.jsx(mo,{windowSize:a}),t.jsxs(qi,{children:[t.jsx(no,{windowSize:a,children:t.jsx(qr,{cardText:Fe,shouldAnimate:!1,showChip:!0,forDashboard:!0,forListPage:!1,cardPromoType:"credit"})}),t.jsx(so,{windowSize:a,children:t.jsx(Xr,{cardText:Fe,shouldAnimate:!1,showChip:!0,forDashboard:!0,forListPage:!1,cardPromoType:"credit"})})]})]})]})})})},e.cardIndex)},He={marginLeftRight:new R(L[3],L[5])},go=d(W)`
550
+ `,{spendManagement:{chargeCard:{chargeCardsPromo:{dashboard:V,businessText:Fe}}},common:po}=u.getLocalizedStrings(),ho=({card:e,actions:i,dndProps:r})=>{const a=H(),{useFeatureGate:s,useDynamicConfig:l}=ir(),c=Ke(),{isFeatureEnabled:m}=s(or.isChargeCardFeatureEnabled),{configValue:p}=l(nr.zeniCardsConfig),h=p.charge_card_cashback_rate_per_transaction??0,g=dr(m,c),x=(h*100).toFixed(2),v=g?V.getCard:V.learnMore;return t.jsx(B,{isDragging:r?.draggedCardType!=null,isDragOver:r?.dragOverCard===e.cardType,draggable:!0,onDragStart:f=>r?.onDragStart(e.cardType,f),onDragOver:f=>r?.onDragOver(f,e.cardType),onDragLeave:f=>r?.onDragLeave(f),onDrop:f=>r?.onDrop(f,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onReloadData:()=>null,onCardClick:()=>null},children:t.jsx(_,{dimension:e.dimension,style:{cursor:"default"},children:t.jsxs(Yi,{"data-testid":w("dashboard",e.cardType),onClick:()=>i.onCardClick(e.cardIndex,e.cardType,void 0,v),children:[t.jsxs(Ji,{children:[t.jsx(Qi,{children:t.jsx(ao,{children:V.title})}),t.jsxs(Xi,{children:[t.jsx(ve,{children:V.get}),t.jsx(to,{children:V.subTitle1.replace("__cashback__",x)}),t.jsx(ro,{children:V.cashback}),t.jsx(ve,{children:po.strings.comma}),t.jsx(co,{children:t.jsx(eo,{size:a,children:V.subTitle2})})]}),t.jsx(io,{children:t.jsx(oo,{children:v})})]}),t.jsxs(lo,{children:[t.jsx(mo,{windowSize:a}),t.jsxs(qi,{children:[t.jsx(no,{windowSize:a,children:t.jsx(qr,{cardText:Fe,shouldAnimate:!1,showChip:!0,forDashboard:!0,forListPage:!1,cardPromoType:"credit"})}),t.jsx(so,{windowSize:a,children:t.jsx(Qr,{cardText:Fe,shouldAnimate:!1,showChip:!0,forDashboard:!0,forListPage:!1,cardPromoType:"credit"})})]})]})]})})})},e.cardIndex)},Ze={marginLeftRight:new R(L[3],L[5])},go=d(W)`
551
551
  height: auto;
552
552
  width: 100%;
553
553
  gap: ${o.sp3};
554
554
  display: flex;
555
555
  flex-direction: column;
556
556
  justify-content: flex-start;
557
- margin-right: ${e=>He.marginLeftRight.valuePx(e.windowSize)};
558
- margin-left: ${e=>He.marginLeftRight.valuePx(e.windowSize)};
557
+ margin-right: ${e=>Ze.marginLeftRight.valuePx(e.windowSize)};
558
+ margin-left: ${e=>Ze.marginLeftRight.valuePx(e.windowSize)};
559
559
  `,uo=d.div`
560
560
  display: flex;
561
561
  flex: 0 1 auto;
562
562
  flex-direction: column;
563
563
  align-items: center;
564
564
  gap: ${o.sp3};
565
- `,Ze=d.div`
565
+ `,He=d.div`
566
566
  display: flex;
567
567
  gap: ${o.sp3};
568
568
  flex-direction: row;
@@ -623,7 +623,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
623
623
  justify-content: center;
624
624
  align-items: center;
625
625
  text-transform: uppercase;
626
- `,At=({card:e,data:i,actions:r,analytics:a,dndProps:s})=>{const l=i.reimbursementAmountByKey["reimbursements-pending_approval-awaiting_my_approval"],c=i.reimbursementAmountByKey["reimbursements-pending_approval-awaiting_approval"],m=i.reimbursementAmountByKey["reimbursements-draft-all"],p=i.reimbursementAmountByKey["reimbursements-scheduled-all"],h=i.reimbursementAmountByKey["reimbursements-paid-all"],g=Z(),x=u.getLocalizedStrings().reimbursementCountCard.awaitingMyApproval,v=u.getLocalizedStrings().reimbursementCountCard.draft,f=u.getLocalizedStrings().reimbursementCountCard.awaitingAllApproval,k=u.getLocalizedStrings().reimbursementCountCard.scheduled,M=u.getLocalizedStrings().reimbursementCountCard.paid;return t.jsx(B,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:y=>s?.onDragStart(e.cardType,y),onDragOver:y=>s?.onDragOver(y,e.cardType),onDragLeave:y=>s?.onDragLeave(y),onDrop:y=>s?.onDrop(y,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onCardClick:()=>{},onReloadData:r.onReloadData},children:t.jsx(_,{dimension:e.dimension,style:{cursor:"default"},children:t.jsxs(go,{windowSize:g,children:[t.jsx(uo,{children:t.jsx(fo,{children:u.getLocalizedStrings().reimbursementCountCard.title})}),t.jsx(xo,{children:t.jsxs(Co,{onClick:()=>{a?.trackReimbursementCard(x,l),r.onCategoryClick?.("reimbursement","pending_approval","awaitingMyApproval")},"data-testid":w("dashboard-reimbursement-approval",e.cardType),children:[t.jsx(ie,{windowSize:g,textColor:oe("awaitingMyApproval"),children:A(z(l?.amount??0),l)}),x]})}),t.jsxs(Ze,{children:[t.jsxs(he,{onClick:()=>{a?.trackReimbursementCard(v,m),r.onCategoryClick?.("reimbursement","draft","all")},"data-testid":w("dashboard-reimbursement-all-draft",e.cardType),children:[t.jsx(ie,{windowSize:g,textColor:oe("draft"),children:A(z(m?.amount??0),m)}),v]}),t.jsxs(he,{onClick:()=>{a?.trackReimbursementCard(f,c),r.onCategoryClick?.("reimbursement","pending_approval","awaitingAllApproval")},"data-testid":w("dashboard-reimbursement-all-approval",e.cardType),children:[t.jsx(ie,{windowSize:g,textColor:oe("awaitingApproval"),children:A(z(c?.amount??0),c)}),f]})]}),t.jsxs(Ze,{children:[t.jsxs(he,{onClick:()=>{a?.trackReimbursementCard(k,p),r.onCategoryClick?.("reimbursement","scheduled","all")},"data-testid":w("dashboard-reimbursement-all-schedule",e.cardType),children:[t.jsx(ie,{windowSize:g,textColor:oe("scheduled"),children:A(z(p?.amount??0),p)}),k]}),t.jsxs(he,{onClick:()=>{a?.trackReimbursementCard(M,h),r.onCategoryClick?.("reimbursement","paid","all")},"data-testid":w("dashboard-reimbursement-all-paid",e.cardType),children:[t.jsx(ie,{windowSize:g,textColor:oe("paid"),children:A(z(h?.amount??0),h)}),M]})]})]})})})},e.cardIndex)},oe=e=>{switch(e){case"awaitingMyApproval":return new T(S.graphColor10);case"awaitingApproval":return new T(S.graphColor36);case"draft":return new T(S.graphColor04);case"scheduled":return new T(S.graphColor02);case"paid":return new T(S.graphColor22);default:return new T(S.primary)}};$.memo(At);const ko=({stopAnimation:e=!1,iconName:i,width:r,height:a,style:s})=>{const[l]=it(i);return l!=null?t.jsx(ot,{style:{width:r??37,height:a??37,...s},animationData:l,loop:!e,play:!e,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},yo=d.div`
626
+ `,At=({card:e,data:i,actions:r,analytics:a,dndProps:s})=>{const l=i.reimbursementAmountByKey["reimbursements-pending_approval-awaiting_my_approval"],c=i.reimbursementAmountByKey["reimbursements-pending_approval-awaiting_approval"],m=i.reimbursementAmountByKey["reimbursements-draft-all"],p=i.reimbursementAmountByKey["reimbursements-scheduled-all"],h=i.reimbursementAmountByKey["reimbursements-paid-all"],g=H(),x=u.getLocalizedStrings().reimbursementCountCard.awaitingMyApproval,v=u.getLocalizedStrings().reimbursementCountCard.draft,f=u.getLocalizedStrings().reimbursementCountCard.awaitingAllApproval,k=u.getLocalizedStrings().reimbursementCountCard.scheduled,D=u.getLocalizedStrings().reimbursementCountCard.paid;return t.jsx(B,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:y=>s?.onDragStart(e.cardType,y),onDragOver:y=>s?.onDragOver(y,e.cardType),onDragLeave:y=>s?.onDragLeave(y),onDrop:y=>s?.onDrop(y,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onCardClick:()=>{},onReloadData:r.onReloadData},children:t.jsx(_,{dimension:e.dimension,style:{cursor:"default"},children:t.jsxs(go,{windowSize:g,children:[t.jsx(uo,{children:t.jsx(fo,{children:u.getLocalizedStrings().reimbursementCountCard.title})}),t.jsx(xo,{children:t.jsxs(Co,{onClick:()=>{a?.trackReimbursementCard(x,l),r.onCategoryClick?.("reimbursement","pending_approval","awaitingMyApproval")},"data-testid":w("dashboard-reimbursement-approval",e.cardType),children:[t.jsx(ie,{windowSize:g,textColor:oe("awaitingMyApproval"),children:A(z(l?.amount??0),l)}),x]})}),t.jsxs(He,{children:[t.jsxs(he,{onClick:()=>{a?.trackReimbursementCard(v,m),r.onCategoryClick?.("reimbursement","draft","all")},"data-testid":w("dashboard-reimbursement-all-draft",e.cardType),children:[t.jsx(ie,{windowSize:g,textColor:oe("draft"),children:A(z(m?.amount??0),m)}),v]}),t.jsxs(he,{onClick:()=>{a?.trackReimbursementCard(f,c),r.onCategoryClick?.("reimbursement","pending_approval","awaitingAllApproval")},"data-testid":w("dashboard-reimbursement-all-approval",e.cardType),children:[t.jsx(ie,{windowSize:g,textColor:oe("awaitingApproval"),children:A(z(c?.amount??0),c)}),f]})]}),t.jsxs(He,{children:[t.jsxs(he,{onClick:()=>{a?.trackReimbursementCard(k,p),r.onCategoryClick?.("reimbursement","scheduled","all")},"data-testid":w("dashboard-reimbursement-all-schedule",e.cardType),children:[t.jsx(ie,{windowSize:g,textColor:oe("scheduled"),children:A(z(p?.amount??0),p)}),k]}),t.jsxs(he,{onClick:()=>{a?.trackReimbursementCard(D,h),r.onCategoryClick?.("reimbursement","paid","all")},"data-testid":w("dashboard-reimbursement-all-paid",e.cardType),children:[t.jsx(ie,{windowSize:g,textColor:oe("paid"),children:A(z(h?.amount??0),h)}),D]})]})]})})})},e.cardIndex)},oe=e=>{switch(e){case"awaitingMyApproval":return new T(S.graphColor10);case"awaitingApproval":return new T(S.graphColor36);case"draft":return new T(S.graphColor04);case"scheduled":return new T(S.graphColor02);case"paid":return new T(S.graphColor22);default:return new T(S.primary)}};$.memo(At);const ko=({stopAnimation:e=!1,iconName:i,width:r,height:a,style:s})=>{const[l]=it(i);return l!=null?t.jsx(ot,{style:{width:r??37,height:a??37,...s},animationData:l,loop:!e,play:!e,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},yo=d.div`
627
627
  display: flex;
628
628
  align-items: center;
629
629
  flex-direction: column;
@@ -664,9 +664,9 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
664
664
  background: ${e=>e.theme.colors.brandColorGoldDark};
665
665
  border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
666
666
  }
667
- `,Do=d(P)`
667
+ `,Mo=d(P)`
668
668
  color: ${j.primaryWhite};
669
- `,Mo=d(W)`
669
+ `,Do=d(W)`
670
670
  flex-direction: row;
671
671
  justify-content: space-between;
672
672
  margin: ${o.sp2};
@@ -683,7 +683,7 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
683
683
  `,Lo=d(P)`
684
684
  color: ${e=>e.theme.colors.champion};
685
685
  text-align: center;
686
- `;function To({card:e,data:i,handleCardNavigation:r,activeCardIndex:a,handleLearnMoreClick:s,isReimbursementEnabled:l}){const[c,m]=$.useState(0),[p,h]=$.useState(0),[g,x]=$.useState("left"),v=ee(),f=(C,D)=>{C.stopPropagation(),x(D);const te=D=="left"?a+1:a-1;r(E(te),D)},k=C=>{r(E(C),"left")};function M(C){m(C.targetTouches[0].clientX)}function y(C){h(C.targetTouches[0].clientX)}function E(C){return C<0?i.length+C:C%i.length}function b(){c-p>50&&p!==0?(r(E(a+1),"left"),x("left"),m(0),h(0)):c-p<-50&&p!==0&&(r(E(a-1),"right"),x("right"),m(0),h(0))}return t.jsx(jo,{"data-testid":w("dashboard-reimbursement-promo-cards",e.cardType),style:{cursor:"default"},dimension:e.dimension,onTouchStart:C=>M(C),onTouchMove:C=>y(C),onTouchEnd:()=>b(),children:t.jsxs(Mo,{children:[t.jsx(be,{children:t.jsx(ge,{"data-testid":w("dashboard-reimbursement-promo-cards-navigation-arrow-left",e.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:f,promoBorderColor:v.colors.brandColorJade,promoColor:v.colors.reimbursementPromoColor})}),t.jsxs(be,{style:{height:"100%",position:"relative",alignItems:"center"},children:[t.jsx(Eo,{children:t.jsx(Lo,{children:u.getLocalizedStrings().reimbursementPromoCard.title})}),i.map((C,D)=>t.jsx(Je,{activeCardIndex:a,currentIndex:D,which:g,children:t.jsx(wo,{reimbursementPromoCardContent:C})},D)),t.jsx($o,{onClick:s,children:t.jsx(Do,{children:l?u.getLocalizedStrings().reimbursementPromoCard.btn:u.getLocalizedStrings().reimbursementPromoCard.signUp})}),t.jsx(st,{promoColor:v.colors.reimbursementPromoColor,promoColorHover:v.colors.reimbursementPromoColorHover,spendManagementPromoCardActive:!0,numberOfDots:i.length,activeIndex:a,handleClick:k,style:{cursor:"default",position:"absolute",bottom:`${o.sp3}`}})]}),t.jsx(be,{children:t.jsx(ge,{"data-testid":w("dashboard-reimbursement-promo-cards-navigation-arrow-right",e.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:f,promoBorderColor:v.colors.brandColorJade,promoColor:v.colors.reimbursementPromoColor})})]})})}const Q=u.getLocalizedStrings().reimbursementPromoCard,So=[{key:"reimburse",title:Q.title,prefix:Q.reimburse.prefix,IconNameLight:"ReimburseLight",IconNameDark:"ReimburseDark"},{key:"multiLevel",title:Q.title,prefix:Q.multiLevel.prefix,IconNameLight:"MultiLevelApprovalLight",IconNameDark:"MultiLevelApprovalDark"},{key:"aiPowered",title:Q.title,prefix:Q.aiPowered.prefix,IconNameLight:"ReceiptLight",IconNameDark:"ReceiptDark"}];function _t({card:e,analytics:i,actions:r,isReimbursementEnabled:a,dndProps:s}){const[l,c]=n.useState(0),m=h=>{c(h),i?.trackPageLoaded(ce.Event.reimbursementPromoPage)},p=()=>{i?.trackPageLoaded(ce.Event.reimbursementPromoPage,"Reimbursement Promo"),r.onCardBtnClick?.("reimbursement_promo_card")};return t.jsx(B,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:h=>s?.onDragStart(e.cardType,h),onDragOver:h=>s?.onDragOver(h,e.cardType),onDragLeave:h=>s?.onDragLeave(h),onDrop:h=>s?.onDrop(h,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:t.jsx(To,{card:e,data:So,handleCardNavigation:m,activeCardIndex:l,handleLearnMoreClick:p,isReimbursementEnabled:a})})},e.cardIndex)}$.memo(_t);const Bo={approvalCountMarginRight:new R(L[2],L[2],L[2])},Po=d(W)`
686
+ `;function To({card:e,data:i,handleCardNavigation:r,activeCardIndex:a,handleLearnMoreClick:s,isReimbursementEnabled:l}){const[c,m]=$.useState(0),[p,h]=$.useState(0),[g,x]=$.useState("left"),v=ee(),f=(C,M)=>{C.stopPropagation(),x(M);const te=M=="left"?a+1:a-1;r(E(te),M)},k=C=>{r(E(C),"left")};function D(C){m(C.targetTouches[0].clientX)}function y(C){h(C.targetTouches[0].clientX)}function E(C){return C<0?i.length+C:C%i.length}function b(){c-p>50&&p!==0?(r(E(a+1),"left"),x("left"),m(0),h(0)):c-p<-50&&p!==0&&(r(E(a-1),"right"),x("right"),m(0),h(0))}return t.jsx(jo,{"data-testid":w("dashboard-reimbursement-promo-cards",e.cardType),style:{cursor:"default"},dimension:e.dimension,onTouchStart:C=>D(C),onTouchMove:C=>y(C),onTouchEnd:()=>b(),children:t.jsxs(Do,{children:[t.jsx(be,{children:t.jsx(ge,{"data-testid":w("dashboard-reimbursement-promo-cards-navigation-arrow-left",e.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:f,promoBorderColor:v.colors.brandColorJade,promoColor:v.colors.reimbursementPromoColor})}),t.jsxs(be,{style:{height:"100%",position:"relative",alignItems:"center"},children:[t.jsx(Eo,{children:t.jsx(Lo,{children:u.getLocalizedStrings().reimbursementPromoCard.title})}),i.map((C,M)=>t.jsx(Je,{activeCardIndex:a,currentIndex:M,which:g,children:t.jsx(wo,{reimbursementPromoCardContent:C})},M)),t.jsx($o,{onClick:s,children:t.jsx(Mo,{children:l?u.getLocalizedStrings().reimbursementPromoCard.btn:u.getLocalizedStrings().reimbursementPromoCard.signUp})}),t.jsx(st,{promoColor:v.colors.reimbursementPromoColor,promoColorHover:v.colors.reimbursementPromoColorHover,spendManagementPromoCardActive:!0,numberOfDots:i.length,activeIndex:a,handleClick:k,style:{cursor:"default",position:"absolute",bottom:`${o.sp3}`}})]}),t.jsx(be,{children:t.jsx(ge,{"data-testid":w("dashboard-reimbursement-promo-cards-navigation-arrow-right",e.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:f,promoBorderColor:v.colors.brandColorJade,promoColor:v.colors.reimbursementPromoColor})})]})})}const X=u.getLocalizedStrings().reimbursementPromoCard,So=[{key:"reimburse",title:X.title,prefix:X.reimburse.prefix,IconNameLight:"ReimburseLight",IconNameDark:"ReimburseDark"},{key:"multiLevel",title:X.title,prefix:X.multiLevel.prefix,IconNameLight:"MultiLevelApprovalLight",IconNameDark:"MultiLevelApprovalDark"},{key:"aiPowered",title:X.title,prefix:X.aiPowered.prefix,IconNameLight:"ReceiptLight",IconNameDark:"ReceiptDark"}];function _t({card:e,analytics:i,actions:r,isReimbursementEnabled:a,dndProps:s}){const[l,c]=n.useState(0),m=h=>{c(h),i?.trackPageLoaded(ce.Event.reimbursementPromoPage)},p=()=>{i?.trackPageLoaded(ce.Event.reimbursementPromoPage,"Reimbursement Promo"),r.onCardBtnClick?.("reimbursement_promo_card")};return t.jsx(B,{isDragging:s?.draggedCardType!=null,isDragOver:s?.dragOverCard===e.cardType,draggable:!0,onDragStart:h=>s?.onDragStart(e.cardType,h),onDragOver:h=>s?.onDragOver(h,e.cardType),onDragLeave:h=>s?.onDragLeave(h),onDrop:h=>s?.onDrop(h,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:t.jsx(To,{card:e,data:So,handleCardNavigation:m,activeCardIndex:l,handleLearnMoreClick:p,isReimbursementEnabled:a})})},e.cardIndex)}$.memo(_t);const Bo={approvalCountMarginRight:new R(L[2],L[2],L[2])},Po=d(W)`
687
687
  height: auto;
688
688
  width: 100%;
689
689
  gap: ${o.sp3};
@@ -746,17 +746,17 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
746
746
  justify-content: center;
747
747
  align-items: center;
748
748
  margin-right: ${e=>Bo.approvalCountMarginRight.valuePx(e.windowSize)};
749
- `,Wt=({card:e,data:i,actions:r,isExpenseAutomationEnabledForUser:a,analytics:s,dndProps:l})=>{const{isUncategorizedExpensesTransactionsExist:c,isUncategorizedIncomeTransactionsExist:m,isUncategorizedExpenseAccountIdentified:p,isUncategorizedIncomeAccountIdentified:h,numOfBillsPendingApproval:g,numOfReimbursementsPendingApproval:x}=i.tasks,v=p===!1||h===!1,f=Z();return t.jsx(B,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:k=>l?.onDragStart(e.cardType,k),onDragOver:k=>l?.onDragOver(k,e.cardType),onDragLeave:k=>l?.onDragLeave(k),onDrop:k=>l?.onDrop(k,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onCardClick:()=>{},onReloadData:r.onReloadData},children:t.jsx(_,{dimension:e.dimension,style:{cursor:"default"},children:t.jsxs(Po,{windowSize:f,children:[t.jsx(Io,{children:t.jsx(_o,{children:u.getLocalizedStrings().taskCard.title})}),t.jsxs(Ao,{children:[x>0&&t.jsx(ne,{children:t.jsxs(de,{textColor:U("remi-awaiting-approval"),onClick:()=>{s?.trackReimbursementTaskCard(x),r.onCategoryClick?.("reimbursement","pending_approval","awaitingMyApproval")},"data-testid":w("dashboard-tasks-card-remi-awaiting-approval",e.cardType),children:[u.getLocalizedStrings().taskCard.reimbursementsAwaitingApproval,t.jsxs(Ve,{children:[t.jsx(Ue,{windowSize:f,textColor:U("remi-awaiting-approval"),children:x}),t.jsx(se,{})]})]})}),g>0&&t.jsx(ne,{children:t.jsxs(de,{textColor:U("bills-awaiting-approval"),onClick:()=>{s?.trackBillPayTaskCard(g),r.onCategoryClick?.("bill-pay","pending_approval","awaiting_my_approval")},"data-testid":w("dashboard-tasks-card-bills-awaiting-approval",e.cardType),children:[u.getLocalizedStrings().taskCard.billsAwaitingApproval,t.jsxs(Ve,{children:[t.jsx(Ue,{windowSize:f,textColor:U("bills-awaiting-approval"),children:g}),t.jsx(se,{})]})]})}),v===!0?t.jsx(ne,{children:t.jsxs(de,{textColor:U("uncategorized-account-mapping"),onClick:()=>r.onCategoryClick?.("uncategorized-account-mapping"),"data-testid":w("dashboard-tasks-card-uncategorized-account-mapping",e.cardType),children:[u.getLocalizedStrings().taskCard.uncategorizedAccountMappingText,t.jsx(se,{})]})}):null,!a&&c?t.jsx(ne,{children:t.jsxs(de,{textColor:U("uncategorized-expense"),onClick:()=>r.onCategoryClick?.("uncategorized-expense"),"data-testid":w("dashboard-tasks-card-uncategorized-expense",e.cardType),children:[u.getLocalizedStrings().taskCard.expensesText,t.jsx(se,{})]})}):null,!a&&m?t.jsx(ne,{children:t.jsxs(de,{textColor:U("uncategorized-income"),onClick:()=>r.onCategoryClick?.("uncategorized-income"),"data-testid":w("dashboard-tasks-card-uncategorized-income",e.cardType),children:[u.getLocalizedStrings().taskCard.incomeText,t.jsx(se,{})]})}):null]})]})})})},e.cardIndex)},U=e=>{switch(e){case"uncategorized-income":return new T(S.graphColor36);case"uncategorized-expense":return new T(S.graphColor18);case"bills-awaiting-approval":return new T(S.graphColor12);case"remi-awaiting-approval":return new T(S.graphColor06);case"uncategorized-account-mapping":return new T(xr.graphColor34);default:return new T(S.brandColorJadeDark)}};$.memo(Wt);function Wo(e){return"balanceAmount"in e}function zo(e){return e.reportId==="operating_expenses"}function Oo(e){return e.reportId==="revenue"}function Ro(e){return e.reportId==="net_burn_or_income"}function No(e){return e.netBurnOrIncome!=null||e.runwayAndAverages!=null}function Fo(e){return e.cashPosition!=null}function Ho(e){return e.numberOfExpenses!=null||e.topExpenses!=null||e.topExpenses?.accountsOrdered!=null}function Zo(e){return e.cashIn.accountGroupsOrdered!=null||e.cashIn.accountsOrdered!=null||e.cashOut.accountGroupsOrdered!=null||e.cashOut.accountsOrdered!=null}function Vo(e){return e.insights!=null||e.insightIDsInOrder!=null}function Uo(e){return"companyView"in e}function Ko(e){return e.reportId==="accounts_payable_aging"}function Go(e){return e.reportId==="accounts_receivable_aging"}function Yo(e){return e.reportId==="rewards_card"}const Jo=rr.totalWidth,qo=d.div`
749
+ `,Wt=({card:e,data:i,actions:r,isExpenseAutomationEnabledForUser:a,analytics:s,dndProps:l})=>{const{isUncategorizedExpensesTransactionsExist:c,isUncategorizedIncomeTransactionsExist:m,isUncategorizedExpenseAccountIdentified:p,isUncategorizedIncomeAccountIdentified:h,numOfBillsPendingApproval:g,numOfReimbursementsPendingApproval:x}=i.tasks,v=p===!1||h===!1,f=H();return t.jsx(B,{isDragging:l?.draggedCardType!=null,isDragOver:l?.dragOverCard===e.cardType,draggable:!0,onDragStart:k=>l?.onDragStart(e.cardType,k),onDragOver:k=>l?.onDragOver(k,e.cardType),onDragLeave:k=>l?.onDragLeave(k),onDrop:k=>l?.onDrop(k,e.cardType),dimension:e.dimension,children:t.jsx(F,{card:e,actions:{onCardClick:()=>{},onReloadData:r.onReloadData},children:t.jsx(_,{dimension:e.dimension,style:{cursor:"default"},children:t.jsxs(Po,{windowSize:f,children:[t.jsx(Io,{children:t.jsx(_o,{children:u.getLocalizedStrings().taskCard.title})}),t.jsxs(Ao,{children:[x>0&&t.jsx(ne,{children:t.jsxs(de,{textColor:U("remi-awaiting-approval"),onClick:()=>{s?.trackReimbursementTaskCard(x),r.onCategoryClick?.("reimbursement","pending_approval","awaitingMyApproval")},"data-testid":w("dashboard-tasks-card-remi-awaiting-approval",e.cardType),children:[u.getLocalizedStrings().taskCard.reimbursementsAwaitingApproval,t.jsxs(Ve,{children:[t.jsx(Ue,{windowSize:f,textColor:U("remi-awaiting-approval"),children:x}),t.jsx(se,{})]})]})}),g>0&&t.jsx(ne,{children:t.jsxs(de,{textColor:U("bills-awaiting-approval"),onClick:()=>{s?.trackBillPayTaskCard(g),r.onCategoryClick?.("bill-pay","pending_approval","awaiting_my_approval")},"data-testid":w("dashboard-tasks-card-bills-awaiting-approval",e.cardType),children:[u.getLocalizedStrings().taskCard.billsAwaitingApproval,t.jsxs(Ve,{children:[t.jsx(Ue,{windowSize:f,textColor:U("bills-awaiting-approval"),children:g}),t.jsx(se,{})]})]})}),v===!0?t.jsx(ne,{children:t.jsxs(de,{textColor:U("uncategorized-account-mapping"),onClick:()=>r.onCategoryClick?.("uncategorized-account-mapping"),"data-testid":w("dashboard-tasks-card-uncategorized-account-mapping",e.cardType),children:[u.getLocalizedStrings().taskCard.uncategorizedAccountMappingText,t.jsx(se,{})]})}):null,!a&&c?t.jsx(ne,{children:t.jsxs(de,{textColor:U("uncategorized-expense"),onClick:()=>r.onCategoryClick?.("uncategorized-expense"),"data-testid":w("dashboard-tasks-card-uncategorized-expense",e.cardType),children:[u.getLocalizedStrings().taskCard.expensesText,t.jsx(se,{})]})}):null,!a&&m?t.jsx(ne,{children:t.jsxs(de,{textColor:U("uncategorized-income"),onClick:()=>r.onCategoryClick?.("uncategorized-income"),"data-testid":w("dashboard-tasks-card-uncategorized-income",e.cardType),children:[u.getLocalizedStrings().taskCard.incomeText,t.jsx(se,{})]})}):null]})]})})})},e.cardIndex)},U=e=>{switch(e){case"uncategorized-income":return new T(S.graphColor36);case"uncategorized-expense":return new T(S.graphColor18);case"bills-awaiting-approval":return new T(S.graphColor12);case"remi-awaiting-approval":return new T(S.graphColor06);case"uncategorized-account-mapping":return new T(xr.graphColor34);default:return new T(S.brandColorJadeDark)}};$.memo(Wt);function Wo(e){return"balanceAmount"in e}function zo(e){return e.reportId==="operating_expenses"}function Oo(e){return e.reportId==="revenue"}function Ro(e){return e.reportId==="net_burn_or_income"}function No(e){return e.netBurnOrIncome!=null||e.runwayAndAverages!=null}function Fo(e){return e.cashPosition!=null}function Zo(e){return e.numberOfExpenses!=null||e.topExpenses!=null||e.topExpenses?.accountsOrdered!=null}function Ho(e){return e.cashIn.accountGroupsOrdered!=null||e.cashIn.accountsOrdered!=null||e.cashOut.accountGroupsOrdered!=null||e.cashOut.accountsOrdered!=null}function Vo(e){return e.insights!=null||e.insightIDsInOrder!=null}function Uo(e){return"companyView"in e}function Ko(e){return e.reportId==="accounts_payable_aging"}function Go(e){return e.reportId==="accounts_receivable_aging"}function Yo(e){return e.reportId==="rewards_card"}const Jo=rr.totalWidth,qo=d.div`
750
750
  display: flex;
751
751
  flex-direction: column;
752
752
  flex: auto;
753
753
  margin-top: ${e=>e.windowWidth>=960?o.sp0:`${Jt}px`};
754
754
  background-color: ${e=>e.theme.colors.background};
755
- `,Xo=d.div`
755
+ `,Qo=d.div`
756
756
  display: flex;
757
757
  flex: auto;
758
758
  padding: ${o.sp0} ${o.sp0} ${o.sp4} ${o.sp0};
759
- `,Qo=d.div`
759
+ `,Xo=d.div`
760
760
  display: flex;
761
761
  flex-direction: row;
762
762
  justify-content: flex-start;
@@ -775,4 +775,4 @@ import{y as Ke,l as we,j as t,z as Kt,A as Gt,B as Yt,o,S as Jt,D as ce,H as qt,
775
775
  gap: ${o.sp3};
776
776
  `,tn=d.div`
777
777
  margin: ${o.sp3} ${o.sp4} ${o.sp0} ${o.sp3};
778
- `;function rn({cardData:e,cardActions:i,cardWidth:r,isBillPayEnabled:a,isExpenseAutomationEnabledForUser:s,isReimbursementEnabled:l,isZeniAccountEnabled:c,analytics:m,columnKey:p,index:h,dndProps:g}){if(r!==e.card.dimension.totalWidth&&(e=ar(e),e.card.dimension.totalWidth=r),(e.card.cardType==="cash_balance"||e.card.cardType==="card_balance")&&(!e.data||Wo(e.data)))return t.jsx(vt,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="operating_expenses"&&(!e.data||zo(e.data)))return t.jsx(xt,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="revenue"&&(!e.data||Oo(e.data)))return t.jsx(Ct,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="net_burn_or_income"&&(!e.data||Ro(e.data)))return t.jsx(ut,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="net_burn_or_income_story_card"&&(!e.data||No(e.data)))return t.jsx(It,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="cash_position"&&(!e.data||Fo(e.data)))return t.jsx(gt,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="accounts_payable_aging"&&(!e.data||Ko(e.data)))return t.jsx(mt,{card:e.card,data:e.data,actions:i,dndProps:g},e.card.cardIndex);if(e.card.cardType==="accounts_receivable_aging"&&(!e.data||Go(e.data)))return t.jsx(na,{card:e.card,data:e.data,actions:i,dndProps:g},e.card.cardIndex);if(e.card.cardType==="top_expenses"&&(!e.data||Ho(e.data)))return t.jsx(Ir,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="insights_dashboard"&&(!e.data||Vo(e.data)))return t.jsx(Rr,{card:e.card,actions:i,data:e.data,analytics:m,dndProps:g},e.card.cardIndex);if(e.card.cardType==="cash_in_cash_out"&&(!e.data||Zo(e.data)))return t.jsx(ht,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="information_card")return t.jsx(Ur,{card:e.card,analytics:m,dndProps:g},e.card.cardIndex);if(e.card.cardType==="bill_pay_card")return t.jsx(wt,{card:e.card,data:e.data,actions:i,analytics:m,dndProps:g},e.card.cardIndex);if(e.card.cardType==="bill_pay_promo_card")return t.jsx(jt,{card:e.card,analytics:m,actions:i,isBillPayEnabled:a,dndProps:g},e.card.cardIndex);if(e.card.cardType==="reimbursement_card")return t.jsx(At,{card:e.card,data:e.data,actions:i,analytics:m,dndProps:g},e.card.cardIndex);if(e.card.cardType==="reimbursement_promo_card")return t.jsx(_t,{card:e.card,analytics:m,actions:i,isReimbursementEnabled:l,dndProps:g},e.card.cardIndex);if(e.card.cardType==="zeni_promo_card")return t.jsx(ho,{card:e.card,actions:i,dndProps:g},e.card.cardIndex);if(e.card.cardType==="company_details"&&(!e.data||Uo(e.data)))return t.jsx(Zr,{card:e.card,data:e.data,actions:i,dndProps:g},e.card.cardIndex);if(e.card.cardType==="task_card")return t.jsx(Wt,{card:e.card,data:e.data,isExpenseAutomationEnabledForUser:s,actions:i,analytics:m,dndProps:g},e.card.cardIndex);if(e.card.cardType==="zeni_accounts_promo_card")return t.jsx(Nr,{card:e.card,data:e.data,analytics:m,actions:i,isZeniAccountsEnabled:c,columnKey:p,index:h,dndProps:g},e.card.cardIndex);if(e.card.cardType==="rewards_card"&&(!e.data||Yo(e.data)))return t.jsx(ti,{card:e.card,data:e.data,actions:i,dndProps:g},e.card.cardIndex);if(e.card.cardType==="expense_automation_card"){const x=e.data;return t.jsx(ai,{actions:i,card:e.card,data:x,dndProps:g},e.card.cardIndex)}else return null}function an(e){const i=Jo;let r=Math.max(e>1?Math.floor(e/i):1,1);r=Math.min(3,r);const a=L[3]*r+L[4],s=e!=null&&e>a?Math.floor((e-a)/r):i;return[r,s]}function on(e,i){let r=0,a=[i];if(e<=1)r=Se(i,function(s,l){return s+l.card.dimension.totalHeight},0);else{const s=Xt(i,e),l=Qt(...s,function(...m){return er(m)}),c=[];tr(l,function(m,p){c[p]=Se(m,function(h,g){return h+g.card.dimension.totalHeight},0)}),r=Math.max(...c),a=l}return[r,a]}function nn({cards:e,columnKey:i,actions:r,columnWidth:a,analytics:s,isReimbursementEnabled:l,isBillPayEnabled:c,isZeniAccountEnabled:m,isExpenseAutomationEnabledForUser:p,onDragAndDropCard:h,onDragStart:g,dragCardtype:x,setDragCardtype:v}){const[f,k]=n.useState(void 0);n.useEffect(()=>{x||k(void 0)},[x]);const M=(C,D)=>{C.preventDefault(),C.stopPropagation(),k(void 0),x!=null&&h(x,D),v(void 0)},y=C=>{C.preventDefault(),k(void 0)},E=(C,D)=>{C.preventDefault(),C.stopPropagation(),k(D)},b={onDragStart:g,draggedCardType:x,dragOverCard:f,onDragOver:(C,D)=>E(C,D),onDragLeave:C=>y(C),onDrop:(C,D)=>M(C,D)};return t.jsx(en,{width:a,children:e.map((C,D)=>t.jsx(rn,{cardData:C,cardActions:r,cardWidth:a,isBillPayEnabled:c,isReimbursementEnabled:l,isZeniAccountEnabled:m,isExpenseAutomationEnabledForUser:p,analytics:s,columnKey:i,index:D,dndProps:b},C.card.cardIndex))})}function dn({onDragAndDropCard:e,onDragStart:i,dragCardtype:r,cardDataArray:a,cardActions:s,parentWidth:l,analytics:c,isReimbursementEnabled:m,isBillPayEnabled:p,isZeniAccountEnabled:h,isExpenseAutomationEnabledForUser:g,setDragCardtype:x}){const[v,f]=an(l),[k,M]=on(v,a);return t.jsx(Qo,{height:k,children:M.map((y,E)=>t.jsx(nn,{onDragAndDropCard:e,onDragStart:i,dragCardtype:r,columnKey:E,cards:y,actions:s,columnWidth:f,analytics:c,isReimbursementEnabled:m,isBillPayEnabled:p,isZeniAccountEnabled:h,isExpenseAutomationEnabledForUser:g,setDragCardtype:x},E))})}const sn=$.memo(dn,qt);function ln(e){const i=n.useRef(null),[r,a]=n.useState({}),s=n.useMemo(()=>Gt(l=>a(l),e,{leading:!0}),[e]);return n.useLayoutEffect(()=>{i.current&&a(i.current.getBoundingClientRect())},[i]),Yt({ref:i,onResize:l=>{const{width:c,height:m}=l;s({width:c,height:m})}}),{ref:i,size:r}}function On({cardDataArray:e,cardActions:i,autoCompleteData:r,autoCompleteActions:a,analytics:s,isReimbursementEnabled:l,isBillPayEnabled:c,isVisitingFirstTime:m,isZeniAccountEnabled:p,isExpenseAutomationEnabledForUser:h,onDragAndDropCard:g}){const{ref:x,size:v}=ln(0),f=window.innerWidth,[k,M]=n.useState(void 0),y=n.useRef(null),E=n.useRef(null),b=n.useRef(null),C=12,D=100,te=n.useCallback(()=>{const I=window.pageYOffset||document.documentElement.scrollTop,O=document.documentElement.scrollHeight,J=window.innerHeight;if(E.current==="up"&&I>0)window.scrollBy({top:-C,behavior:"auto"});else if(E.current==="down"&&I+J<O)window.scrollBy({top:C,behavior:"auto"});else{fe();return}b.current=requestAnimationFrame(te)},[]),fe=()=>{E.current!=null&&b.current!=null&&(cancelAnimationFrame(b.current),b.current=null),E.current=null},zt=(I,O)=>{O.dataTransfer?.setData("text/plain",I),O.dataTransfer.effectAllowed="move",O.dataTransfer.dropEffect="move",M(I),y.current=O.currentTarget};n.useEffect(()=>{if(!k){fe();return}const I=J=>{if(J.preventDefault(),J.dataTransfer&&(J.dataTransfer.dropEffect="move"),!k||!y.current)return;const Ee=J.clientY,Le=window.innerHeight,Te=window.pageYOffset||document.documentElement.scrollTop,Ft=document.documentElement.scrollHeight,Ht=Ee<D,Zt=Ee>Le-D,Vt=Te>0,Ut=Te+Le<Ft;let q;Ht&&Vt?q="up":Zt&&Ut&&(q="down"),q!=null&&q!==E.current&&(b.current!=null&&(cancelAnimationFrame(b.current),b.current=null),q?(E.current=q,b.current=requestAnimationFrame(te)):E.current=null)},O=()=>{fe(),M(void 0),y.current=null};return document.addEventListener("dragover",I),document.addEventListener("dragend",O),()=>{document.removeEventListener("dragover",I),document.removeEventListener("dragend",O)}},[k,te]);const Ot=I=>t.jsx(sn,{dragCardtype:k,cardDataArray:e,onDragAndDropCard:g,onDragStart:zt,cardActions:i,parentWidth:I.width,analytics:s,isReimbursementEnabled:l,isBillPayEnabled:c,isZeniAccountEnabled:p,isExpenseAutomationEnabledForUser:h,setDragCardtype:M}),Rt=I=>{r.autoCompleteText!=null&&s?.trackSearch(ce.Event.search,"Dashboard",I.type,I.name,r.autoCompleteText),a.onAutoCompleteEntity?.(I)},Me=Ke(),Nt=Me.loggedInUserRole!=null&&!we.hasInvestorBankerLevelAccess(Me.loggedInUserRole);return t.jsxs(t.Fragment,{children:[t.jsxs(qo,{windowWidth:f,style:{width:"100%"},children:[Nt===!0?t.jsx(tn,{children:t.jsx(Kt,{searchAutoComplete:{autoCompleteData:r,autoCompleteActions:{...a,onAutoCompleteEntity:Rt}},viewType:"dashboard_search",source:"Dashboard"})}):null,t.jsx(Xo,{ref:x,children:Ot({width:v.width??0,height:v.height??0})})]}),t.jsx(Qr,{showConfetti:m})]})}export{On as default};
778
+ `;function rn({cardData:e,cardActions:i,cardWidth:r,isBillPayEnabled:a,isExpenseAutomationEnabledForUser:s,isReimbursementEnabled:l,isZeniAccountEnabled:c,analytics:m,columnKey:p,index:h,dndProps:g}){if(r!==e.card.dimension.totalWidth&&(e=ar(e),e.card.dimension.totalWidth=r),(e.card.cardType==="cash_balance"||e.card.cardType==="card_balance")&&(!e.data||Wo(e.data)))return t.jsx(vt,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="operating_expenses"&&(!e.data||zo(e.data)))return t.jsx(xt,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="revenue"&&(!e.data||Oo(e.data)))return t.jsx(Ct,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="net_burn_or_income"&&(!e.data||Ro(e.data)))return t.jsx(ut,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="net_burn_or_income_story_card"&&(!e.data||No(e.data)))return t.jsx(It,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="cash_position"&&(!e.data||Fo(e.data)))return t.jsx(gt,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="accounts_payable_aging"&&(!e.data||Ko(e.data)))return t.jsx(mt,{card:e.card,data:e.data,actions:i,dndProps:g},e.card.cardIndex);if(e.card.cardType==="accounts_receivable_aging"&&(!e.data||Go(e.data)))return t.jsx(na,{card:e.card,data:e.data,actions:i,dndProps:g},e.card.cardIndex);if(e.card.cardType==="top_expenses"&&(!e.data||Zo(e.data)))return t.jsx(Ir,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="insights_dashboard"&&(!e.data||Vo(e.data)))return t.jsx(Rr,{card:e.card,actions:i,data:e.data,analytics:m,dndProps:g},e.card.cardIndex);if(e.card.cardType==="cash_in_cash_out"&&(!e.data||Ho(e.data)))return t.jsx(ht,{card:e.card,actions:i,data:e.data,dndProps:g},e.card.cardIndex);if(e.card.cardType==="information_card")return t.jsx(Ur,{card:e.card,analytics:m,dndProps:g},e.card.cardIndex);if(e.card.cardType==="bill_pay_card")return t.jsx(wt,{card:e.card,data:e.data,actions:i,analytics:m,dndProps:g},e.card.cardIndex);if(e.card.cardType==="bill_pay_promo_card")return t.jsx(jt,{card:e.card,analytics:m,actions:i,isBillPayEnabled:a,dndProps:g},e.card.cardIndex);if(e.card.cardType==="reimbursement_card")return t.jsx(At,{card:e.card,data:e.data,actions:i,analytics:m,dndProps:g},e.card.cardIndex);if(e.card.cardType==="reimbursement_promo_card")return t.jsx(_t,{card:e.card,analytics:m,actions:i,isReimbursementEnabled:l,dndProps:g},e.card.cardIndex);if(e.card.cardType==="zeni_promo_card")return t.jsx(ho,{card:e.card,actions:i,dndProps:g},e.card.cardIndex);if(e.card.cardType==="company_details"&&(!e.data||Uo(e.data)))return t.jsx(Hr,{card:e.card,data:e.data,actions:i,dndProps:g},e.card.cardIndex);if(e.card.cardType==="task_card")return t.jsx(Wt,{card:e.card,data:e.data,isExpenseAutomationEnabledForUser:s,actions:i,analytics:m,dndProps:g},e.card.cardIndex);if(e.card.cardType==="zeni_accounts_promo_card")return t.jsx(Nr,{card:e.card,data:e.data,analytics:m,actions:i,isZeniAccountsEnabled:c,columnKey:p,index:h,dndProps:g},e.card.cardIndex);if(e.card.cardType==="rewards_card"&&(!e.data||Yo(e.data)))return t.jsx(ti,{card:e.card,data:e.data,actions:i,dndProps:g},e.card.cardIndex);if(e.card.cardType==="expense_automation_card"){const x=e.data;return t.jsx(ai,{actions:i,card:e.card,data:x,dndProps:g},e.card.cardIndex)}else return null}function an(e){const i=Jo;let r=Math.max(e>1?Math.floor(e/i):1,1);r=Math.min(3,r);const a=L[3]*r+L[4],s=e!=null&&e>a?Math.floor((e-a)/r):i;return[r,s]}function on(e,i){let r=0,a=[i];if(e<=1)r=Se(i,function(s,l){return s+l.card.dimension.totalHeight},0);else{const s=Qt(i,e),l=Xt(...s,function(...m){return er(m)}),c=[];tr(l,function(m,p){c[p]=Se(m,function(h,g){return h+g.card.dimension.totalHeight},0)}),r=Math.max(...c),a=l}return[r,a]}function nn({cards:e,columnKey:i,actions:r,columnWidth:a,analytics:s,isReimbursementEnabled:l,isBillPayEnabled:c,isZeniAccountEnabled:m,isExpenseAutomationEnabledForUser:p,onDragAndDropCard:h,onDragStart:g,dragCardtype:x,setDragCardtype:v}){const[f,k]=n.useState(void 0);n.useEffect(()=>{x||k(void 0)},[x]);const D=(C,M)=>{C.preventDefault(),C.stopPropagation(),k(void 0),x!=null&&h(x,M),v(void 0)},y=C=>{C.preventDefault(),k(void 0)},E=(C,M)=>{C.preventDefault(),C.stopPropagation(),k(M)},b={onDragStart:g,draggedCardType:x,dragOverCard:f,onDragOver:(C,M)=>E(C,M),onDragLeave:C=>y(C),onDrop:(C,M)=>D(C,M)};return t.jsx(en,{width:a,children:e.map((C,M)=>t.jsx(rn,{cardData:C,cardActions:r,cardWidth:a,isBillPayEnabled:c,isReimbursementEnabled:l,isZeniAccountEnabled:m,isExpenseAutomationEnabledForUser:p,analytics:s,columnKey:i,index:M,dndProps:b},C.card.cardIndex))})}function dn({onDragAndDropCard:e,onDragStart:i,dragCardtype:r,cardDataArray:a,cardActions:s,parentWidth:l,analytics:c,isReimbursementEnabled:m,isBillPayEnabled:p,isZeniAccountEnabled:h,isExpenseAutomationEnabledForUser:g,setDragCardtype:x}){const[v,f]=an(l),[k,D]=on(v,a);return t.jsx(Xo,{height:k,children:D.map((y,E)=>t.jsx(nn,{onDragAndDropCard:e,onDragStart:i,dragCardtype:r,columnKey:E,cards:y,actions:s,columnWidth:f,analytics:c,isReimbursementEnabled:m,isBillPayEnabled:p,isZeniAccountEnabled:h,isExpenseAutomationEnabledForUser:g,setDragCardtype:x},E))})}const sn=$.memo(dn,qt);function ln(e){const i=n.useRef(null),[r,a]=n.useState({}),s=n.useMemo(()=>Gt(l=>a(l),e,{leading:!0}),[e]);return n.useLayoutEffect(()=>{i.current&&a(i.current.getBoundingClientRect())},[i]),Yt({ref:i,onResize:l=>{const{width:c,height:m}=l;s({width:c,height:m})}}),{ref:i,size:r}}function On({cardDataArray:e,cardActions:i,autoCompleteData:r,autoCompleteActions:a,analytics:s,isReimbursementEnabled:l,isBillPayEnabled:c,isVisitingFirstTime:m,isZeniAccountEnabled:p,isExpenseAutomationEnabledForUser:h,onDragAndDropCard:g}){const{ref:x,size:v}=ln(0),f=window.innerWidth,[k,D]=n.useState(void 0),y=n.useRef(null),E=n.useRef(null),b=n.useRef(null),C=12,M=100,te=n.useCallback(()=>{const I=window.pageYOffset||document.documentElement.scrollTop,O=document.documentElement.scrollHeight,J=window.innerHeight;if(E.current==="up"&&I>0)window.scrollBy({top:-C,behavior:"auto"});else if(E.current==="down"&&I+J<O)window.scrollBy({top:C,behavior:"auto"});else{fe();return}b.current=requestAnimationFrame(te)},[]),fe=()=>{E.current!=null&&b.current!=null&&(cancelAnimationFrame(b.current),b.current=null),E.current=null},zt=(I,O)=>{O.dataTransfer?.setData("text/plain",I),O.dataTransfer.effectAllowed="move",O.dataTransfer.dropEffect="move",D(I),y.current=O.currentTarget};n.useEffect(()=>{if(!k){fe();return}const I=J=>{if(J.preventDefault(),J.dataTransfer&&(J.dataTransfer.dropEffect="move"),!k||!y.current)return;const Ee=J.clientY,Le=window.innerHeight,Te=window.pageYOffset||document.documentElement.scrollTop,Ft=document.documentElement.scrollHeight,Zt=Ee<M,Ht=Ee>Le-M,Vt=Te>0,Ut=Te+Le<Ft;let q;Zt&&Vt?q="up":Ht&&Ut&&(q="down"),q!=null&&q!==E.current&&(b.current!=null&&(cancelAnimationFrame(b.current),b.current=null),q?(E.current=q,b.current=requestAnimationFrame(te)):E.current=null)},O=()=>{fe(),D(void 0),y.current=null};return document.addEventListener("dragover",I),document.addEventListener("dragend",O),()=>{document.removeEventListener("dragover",I),document.removeEventListener("dragend",O)}},[k,te]);const Ot=I=>t.jsx(sn,{dragCardtype:k,cardDataArray:e,onDragAndDropCard:g,onDragStart:zt,cardActions:i,parentWidth:I.width,analytics:s,isReimbursementEnabled:l,isBillPayEnabled:c,isZeniAccountEnabled:p,isExpenseAutomationEnabledForUser:h,setDragCardtype:D}),Rt=I=>{r.autoCompleteText!=null&&s?.trackSearch(ce.Event.search,"Dashboard",I.type,I.name,r.autoCompleteText),a.onAutoCompleteEntity?.(I)},De=Ke(),Nt=De.loggedInUserRole!=null&&!we.hasInvestorBankerLevelAccess(De.loggedInUserRole);return t.jsxs(t.Fragment,{children:[t.jsxs(qo,{windowWidth:f,style:{width:"100%"},children:[Nt===!0?t.jsx(tn,{children:t.jsx(Kt,{searchAutoComplete:{autoCompleteData:r,autoCompleteActions:{...a,onAutoCompleteEntity:Rt}},viewType:"dashboard_search",source:"Dashboard"})}):null,t.jsx(Qo,{ref:x,children:Ot({width:v.width??0,height:v.height??0})})]}),t.jsx(Xr,{showConfetti:m})]})}export{On as default};