@zeniai/web-cockpit-ui 1.14.91-dev → 1.14.91-dev-betaRR0

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 (318) hide show
  1. package/dist/assets/ACHDetailsPage-B6sY0jN6-Dv_4G1XI.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BWK9fXrz-DKsZ1mo0.js → AIPerformancePage-BWK9fXrz-tS1FxKid.js} +2 -2
  3. package/dist/assets/{AccountInfoPage-DfT5DDiZ-fWZyYCg5.js → AccountInfoPage-DfT5DDiZ-CV2_yTPc.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-nUi26Aww-BYypek4H.js → AccountInfoPageContent-nUi26Aww-CUuk_20a.js} +11 -11
  5. package/dist/assets/{AccountLockedInfoModal-BROj4bmE-BVM1T1YI.js → AccountLockedInfoModal-BROj4bmE-Cfoe0YA9.js} +5 -5
  6. package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-sRbxt9OR.js → AccountReconDetailsDrawerPage-C-3FFCQZ-CxBX6qm4.js} +7 -7
  7. package/dist/assets/{AccountRow-BM2kGWyR-T6iB2hx_.js → AccountRow-BM2kGWyR-CJCg6x0x.js} +10 -10
  8. package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-CVvmiGCx.js → AccountsPromoCardStack-CNCG5uPJ-m2eUaU2L.js} +5 -5
  9. package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-B9URXppK.js +6 -0
  10. package/dist/assets/{AddToWalletPage-DyrcWdBZ-CvPiU8kF.js → AddToWalletPage-DyrcWdBZ--nr8n_4Z.js} +17 -17
  11. package/dist/assets/{AgingReportsPage-CmluxKG3-A44UbSFN.js → AgingReportsPage-CmluxKG3-BApj252U.js} +7 -7
  12. package/dist/assets/{AllUserItems-CVZZU-J3-TfKbUj2d.js → AllUserItems-CVZZU-J3-COeMV7u0.js} +6 -6
  13. package/dist/assets/{ApAgingDetailPage-CoNxqskm-DFDFQfze.js → ApAgingDetailPage-CoNxqskm-0EjHKnBi.js} +1 -1
  14. package/dist/assets/{AppBasePage-CTGNzUtN-DSfPwIJw.js → AppBasePage-CTGNzUtN-BfaGtOzk.js} +4 -4
  15. package/dist/assets/{AppDrawerContent-59dQVUxu-C64nAWzc.js → AppDrawerContent-59dQVUxu-BnKh28FR.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-BbhudnSk.js → ApprovalRulesSettingsPage-XEW5sdNg-LVlVZSHT.js} +1 -1
  17. package/dist/assets/{ArAgingChart-D3Ym4gVE-BqVBnPwY.js → ArAgingChart-D3Ym4gVE-DsJpAb8n.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-DwMAtZnW.js → ArAgingDetailPage-BLEJSLJJ-DBAkqt03.js} +1 -1
  19. package/dist/assets/{AttachmentView-DSP80cjm-UNIl1Ai8.js → AttachmentView-DSP80cjm-D7w4ZtT4.js} +7 -7
  20. package/dist/assets/{BankAccountSection-DRrNcA79-hP-Vs5m_.js → BankAccountSection-DRrNcA79-D0y5RgB_.js} +5 -5
  21. package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-CrMug0PW.js → BankAccountWarningSection-Ub-gsfhE-pvCiKI7-.js} +9 -9
  22. package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-algC_RED.js → BankConnectionsSettingsPage-BcTtJTbg-ehD3_4Dh.js} +9 -9
  23. package/dist/assets/{BillDetailPage-D7AQyxwr-Cr5mMjBH.js → BillDetailPage-D7AQyxwr-e7SQTUJW.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-OS81cubl.js → BillPayApprovalRuleDetailPage-BQWGENO8-qq4pmey1.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-BwMbtGVn.js → BillPayApprovalRulesPage-BbA1Nwqe-3MsdZySS.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DSTS_vBW-BNfdixF0.js → BillPayPromoPage-DSTS_vBW-Ce9u0nsw.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-CvlVPVCA-C-Yq8DpY.js → BillPaySetUpPage-CvlVPVCA-CCbbdiQc.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-nKpHtd4C-Bnbrb4t9.js → BillingSettingsPage-nKpHtd4C-DLiPc2FT.js} +2 -2
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-Dw8wGAVZ.js → BillsBulkReviewDrawerPage-DNHAoceL-CthJ8Dd6.js} +1 -1
  30. package/dist/assets/{BoxItem-Bjv3WNXO-DVhc5wWw.js → BoxItem-Bjv3WNXO-d_9opxkd.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Bj4D9bX2-BIO97DuN.js → BusinessVerificationPage-Bj4D9bX2-DWX5ckwL.js} +7 -7
  32. package/dist/assets/CardNumberSubText-BYY-Inxd-VoZJjuBC.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-D9UiTqp9-zR6MfAmm.js → CashbackDetailPage-D9UiTqp9-9Lz5t64N.js} +14 -14
  34. package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-DLQH13JM.js → ChargeCardDetailPage-C5EdiIyl-C4UWTuR2.js} +24 -24
  35. package/dist/assets/{ChargeCardListPage-DZwz1qoD-C4LK4t_r.js → ChargeCardListPage-DZwz1qoD-B146-EXW.js} +14 -14
  36. package/dist/assets/{ChargeCardListTable-D5B05Z1F-BFq9lu6-.js → ChargeCardListTable-D5B05Z1F-BBBvhTcZ.js} +13 -13
  37. package/dist/assets/{ChargeCardPromoPage-CDJMtGJb-BonChypf.js → ChargeCardPromoPage-CDJMtGJb-3FYfKocS.js} +10 -10
  38. package/dist/assets/{ChargeCardSetupPage-CVV24gS9-Bz9Vbd0f.js → ChargeCardSetupPage-CVV24gS9-BSJi9V_M.js} +3 -3
  39. package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-CP137h_S.js → ChargeCardStatementsPage-CmjBoi5e-maH5VKYN.js} +3 -3
  40. package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-Ctri9wNN.js → CheckDepositDrawerPage-CYOhT5Qz-KAp7o68o.js} +10 -10
  41. package/dist/assets/{CollapsableReportTable-hL_Ycouc-B8J7Q_nq.js → CollapsableReportTable-hL_Ycouc-CWDILu02.js} +32 -32
  42. package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-eD8A7jcO.js → CompanyOfficerDetailsSection-DR_6TlQa-CaPRdQzP.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-B4chn7-Q-D5SPmBv_.js → CompanyPassportCard-B4chn7-Q-DdxULjSC.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-oT9HnnPQ-SX0lC40Z.js → CompanyPassportPage-oT9HnnPQ-Ca6G5119.js} +1 -1
  45. package/dist/assets/{CompleteProfile-BgH4v76Z-8UAVvvgt.js → CompleteProfile-BgH4v76Z-J-mh56N2.js} +1 -1
  46. package/dist/assets/ConfettiBurst-Cl6jHJ8H-C9SoFqPe.js +1 -0
  47. package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-p324jU3k.js → CreateOrEditVendorPage-CW-u7pJU-Bzg24rp1.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-DoXJ5bDN.js → CreditCardPaymentDrawerPage-D30M7ol4-CwaBYQLR.js} +101 -101
  49. package/dist/assets/{CurrencySelectField-DOCEstMc-DZU689ma.js → CurrencySelectField-DOCEstMc-BkHxR5HA.js} +3 -3
  50. package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-ku4Vuy0S.js → CustomerOnboardingActivationPage-DMPNjFL_-TbnD-4OG.js} +5 -5
  51. package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-zEIEcSQa.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-Dn7fU-s8.js → CustomerOnboardingDetailPageSkeleton-CBYo4VQn-BujXWuJC.js} +8 -8
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-CfvYqECa.js → CustomerOnboardingNoStepsPage-EBVRCYfJ-xtPONz37.js} +3 -3
  54. package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-BKRL2lJB.js → CustomerOnboardingPage-TJK6s-LM-CsM-rW7t.js} +1 -1
  55. package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-D8leFJAq.js +202 -0
  56. package/dist/assets/{Dashboard-WiE9IRrh-Cv0kOt8p.js → Dashboard-WiE9IRrh-D3xuAsNG.js} +14 -14
  57. package/dist/assets/{DashboardReportPage-BKHl_IVD-C4Ea2qys.js → DashboardReportPage-BKHl_IVD-CMH5dEgW.js} +11 -11
  58. package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-DaBPsyhD.js +12 -0
  59. package/dist/assets/{DepositAccTransactionItem-C8tChaJS-DUssbHtI.js → DepositAccTransactionItem-C8tChaJS-_jmc_rYW.js} +1 -1
  60. package/dist/assets/DepositAccTransactionListPage-B6px7upV-CQ8W1uho.js +66 -0
  61. package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-DdIUFkni.js +21 -0
  62. package/dist/assets/{DownloadOverlay-DB-qx46O-j8z4pSob.js → DownloadOverlay-DB-qx46O-BzRX_iWf.js} +1 -1
  63. package/dist/assets/{DrawerPage-Bha9ElcW-B8Be3mMf.js → DrawerPage-Bha9ElcW-B91lWMHe.js} +6 -6
  64. package/dist/assets/{EditPeoplePage-B6QD5Vld-jl0Ywq6s.js → EditPeoplePage-B6QD5Vld-DKZ4nB8f.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-0BJtsB6D.js → EditReimbursementDetailPage-EplOf2mP-u2YMFjY5.js} +1 -1
  66. package/dist/assets/{EntityDetailPage-5Cu1qehd-DbU14HUf.js → EntityDetailPage-5Cu1qehd-DEcgoDIq.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-D6z6-dM7-CxR6H9p6.js → EntitySummarySection-D6z6-dM7-C8vqyJE6.js} +2 -2
  68. package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-Nhh5EsPg.js → ExpenseAutomationOverviewPage-DkoxczRc-BFmIjbbK.js} +15 -15
  69. package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-v_T_dNPC.js → ExpenseAutomationPage-Na3XKgcg-BOy-W5HC.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-DWGl_gml-BK4q9z9-.js → ExpressPayPage-DWGl_gml-BoP5Cs2z.js} +12 -12
  71. package/dist/assets/{FeaturePreviewPage-BgkpUPMm-CjuE-Vy6.js → FeaturePreviewPage-BgkpUPMm--0g5n3S4.js} +3 -3
  72. package/dist/assets/{FollowStepsSection-64oy2OLD-mYi4qCkY.js → FollowStepsSection-64oy2OLD-D3h0tFyq.js} +7 -7
  73. package/dist/assets/{GlobalReviewListPage-DHfTyj2C-jQOPvWvS.js → GlobalReviewListPage-DHfTyj2C-RnZ7xNb7.js} +12 -12
  74. package/dist/assets/{InformationCardStack-Dw3lhl2I-7einUDdd.js → InformationCardStack-Dw3lhl2I-i5Npg5-3.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-BiEswY1Z-B0ppu_rT.js → InsightsCardStack-BiEswY1Z-DYRJcEae.js} +9 -9
  76. package/dist/assets/{InsightsSection-DvqCilqy-J94KiGaL.js → InsightsSection-DvqCilqy-BsxjZx3R.js} +3 -3
  77. package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-EFzWzTcS.js → IntegrationsSettingsPage-DzVYf5ff-Qz_64-AR.js} +2 -2
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-DCnTBpNn.js → InternationalWireSwiftDetailsPage-DTHcuQsH-LkhNT71n.js} +11 -11
  79. package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-CtMekcQE.js → InternationalWireVerificationPage-BzyRqd-m-Bs1sKcFl.js} +7 -7
  80. package/dist/assets/{InviteFormPage-CaJB3ss1-BX5i7EqT.js → InviteFormPage-CaJB3ss1-DDpF9vZd.js} +17 -17
  81. package/dist/assets/{InvitePageListView-8Ltt8tHx-CtYoDyrk.js → InvitePageListView-8Ltt8tHx-BVYRRTTO.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-A7oKAD7M-BQc_PdIV.js → InvitePeoplePage-A7oKAD7M-0hQ58v_R.js} +2 -2
  83. package/dist/assets/{InvoiceUploadSection-DomquLut-e92SA0tf.js → InvoiceUploadSection-DomquLut-C6XQxVf3.js} +5 -5
  84. package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-DjM4t17X.js → IssueChargeCardPage-DtIQ1Buk-DVoIaqMD.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-B_9lh-_a-DIizmhzb.js → LabeledAddressValue-B_9lh-_a-BQeLvRQa.js} +2 -2
  86. package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-m9gvzhHo.js → LabeledAddressValueField-CC7T3qZQ-CjYkOklE.js} +2 -2
  87. package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-DVaYpdZO.js +16 -0
  88. package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-gq-eDRMt.js → LabeledCreatableSingleSelectField-DKD0oEl8-Cyxj1Kus.js} +3 -3
  89. package/dist/assets/{LabeledDocumentField-Dy3jwAiL-49YAoImC.js → LabeledDocumentField-Dy3jwAiL-XoHwubm3.js} +3 -3
  90. package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-ECrfBFdw.js → LabeledDropDownFormattedTextField-DDzM3r6s-Wztx4Tcl.js} +1 -1
  91. package/dist/assets/{LabeledText-axaAGyUS-Dng_AeMD.js → LabeledText-axaAGyUS-BpEJBxD4.js} +2 -2
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-Bns3vXLL.js → LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-CeEZ7NWG.js} +17 -17
  93. package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-BS9FUIQq.js → LabeledZeniRolesDropDownField-dpz7g9jK-1OORssNe.js} +9 -9
  94. package/dist/assets/{LinkJETransactionPage-CJniqVcu-DlmRVmek.js → LinkJETransactionPage-CJniqVcu-BUqqOVZ3.js} +3 -3
  95. package/dist/assets/{LockCardPage-CjO8cr2a-_f0132IP.js → LockCardPage-CjO8cr2a-B7T-NUky.js} +12 -12
  96. package/dist/assets/{LowBalancePopup-DVS-w3b7-DP0lgN2T.js → LowBalancePopup-DVS-w3b7-CXJHrLHV.js} +2 -2
  97. package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-DbWiJSy4.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-S_MOFfkp.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-B_hpFhv2.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-c3oKtr_f.js → MagicLinkSuccessPage-DAAoq3iT-C_Yyw67d.js} +6 -6
  101. package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BJi3iHKO.js +17 -0
  102. package/dist/assets/MailingDetailsSection-CiJ5JLA6-Dh-rh1lg.js +21 -0
  103. package/dist/assets/Menu-wpP8R1br-CAapPWSw.js +17 -0
  104. package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-CogNLqVY.js → MyBankConnectionsSettingsPage-DIIFgnkE-BP3xfm53.js} +2 -2
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-DRNBLhDG.js → MyPendingActivationChargeCardListPage-Di_KYRgS-Ci2uuBdO.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-chnTYzOu.js → MyProfileSettingsPage-m6vaeGgZ-CzB44LiA.js} +4 -4
  107. package/dist/assets/{NavBarWithPicker-C_qO8mgD-DUpFfabv.js → NavBarWithPicker-C_qO8mgD-BWszQoIE.js} +4 -4
  108. package/dist/assets/{NavigationArrow-BXYIj6Wz-DziJLhPd.js → NavigationArrow-BXYIj6Wz-B7qUUnjS.js} +8 -8
  109. package/dist/assets/{NavigationDots-BvKSgdgh-LQiuRx4x.js → NavigationDots-BvKSgdgh-BXw04_O_.js} +4 -4
  110. package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-C2aDiu95.js → NewGlobalMerchantPage-Dc3xEoiZ-DB34-Ax1.js} +2 -2
  111. package/dist/assets/NoDataChart-C5ZP32zB-CMBnBikM.js +26 -0
  112. package/dist/assets/NoDataTable-BnBYE8p_-D99JCqJE.js +8 -0
  113. package/dist/assets/{NotFoundPage-CZ25GWwU-BIBXUzqs.js → NotFoundPage-CZ25GWwU-Bhr9smJg.js} +4 -4
  114. package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-D3suXG--.js → NotificationSettingsPage-DHvgj7Hu-D70wdxPy.js} +3 -3
  115. package/dist/assets/{NotificationsListConfig-BBLSv0sd-C4KCM8pw.js → NotificationsListConfig-BBLSv0sd-D3pDalXG.js} +1 -1
  116. package/dist/assets/{NotificationsPage-CGVEC-Zc-C8fq9c_9.js → NotificationsPage-CGVEC-Zc-aEkue81y.js} +14 -14
  117. package/dist/assets/{OpExByVendorPage-D55JZne--D9xmj7rz.js → OpExByVendorPage-D55JZne--BA2gN_9D.js} +6 -6
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-D6qPPmeQ.js → OverlayContainerPage-Daz3A7cI-B2pRyPAw.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-fVmttEKP-D6Evs_k0.js → PandLWithForecastPage-fVmttEKP-Cpmbp3qS.js} +11 -11
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-4Kl9uXwr.js → PaymentAccountSetupBillingAddressSection-BiU8tQnm-_fnUz-j3.js} +5 -5
  121. package/dist/assets/{PeoplePage-QuuuX2AS-CUwuNLCQ.js → PeoplePage-QuuuX2AS-BJIGfeNN.js} +12 -12
  122. package/dist/assets/Preview-m-FcrQ0s.js +1 -0
  123. package/dist/assets/{ProductsCarousel-zdZkfaiY-CKycG9Wt.js → ProductsCarousel-zdZkfaiY-9riU76fC.js} +3 -3
  124. package/dist/assets/{PromoBaseCards-flFtcbIg-iLyc6jwq.js → PromoBaseCards-flFtcbIg-hQ-cGzbT.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-B6h7mZJt.js → QBOConnectionDialog-DNB2C1vQ-B-m0Orif.js} +2 -2
  126. package/dist/assets/{QBOSetupSection-B59etoGz-Dx4Hkrje.js → QBOSetupSection-B59etoGz-BjsJ5dP9.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-DaR0xdJA.js → ReimbursementApprovalRuleDetailPage-D7do3o0A-ZSNYROgC.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-D7efVmkv.js → ReimbursementApprovalRulesPage-BJ6GewQ2-cn7dx9_x.js} +1 -1
  129. package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-C-uqjyM_.js → ReimbursementDetailPage-DKAtYSOy-rPi_28qO.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-XcrUKScH.js → ReimbursementPromoPage-DKcSHlHp-B-x2_K1K.js} +9 -9
  131. package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--rh2VyUST.js → ReimbursementSetUpPage-Y1e_hna--CWaIrVmZ.js} +5 -5
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-CzZAxGly.js → ReimbursementsBulkReviewDrawerPage-fgz8s4w9-BgzjXAGE.js} +1 -1
  133. package/dist/assets/{ReloadCard-DjtdPHq5-BoSxtWCb.js → ReloadCard-DjtdPHq5-qE-nJEXk.js} +3 -3
  134. package/dist/assets/{ReportTableViewSelector-C8e6IEWt-BJN3fro7.js → ReportTableViewSelector-C8e6IEWt--jlW7QpR.js} +1 -1
  135. package/dist/assets/{ReportsPage-BIe0eDLC-D5ygJVqP.js → ReportsPage-BIe0eDLC-Cn2-db9t.js} +3 -3
  136. package/dist/assets/{RevenueChart-Cc0XrxLL-BB6kfchw.js → RevenueChart-Cc0XrxLL-RTOUbgfW.js} +30 -30
  137. package/dist/assets/{ReviewDetailsPage-CU1AYWgR--SOiatSS.js → ReviewDetailsPage-CU1AYWgR-BCcFVvxj.js} +17 -17
  138. package/dist/assets/{ReviewOverlay-CruJ9O84-BdMFQyaH.js → ReviewOverlay-CruJ9O84-CVyRQtbr.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-fC3byzzv-DteZC2-q.js → RoleWithToolTip-fC3byzzv-Da5EXkAB.js} +6 -6
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-Aj3mnuFr.js → ScheduleDetailsFixedAssetsPage-CE3tUYhk-NtG2QTRz.js} +3 -3
  141. package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-BNYzMpaE.js → ScheduleDetailsPage-BhAqJ1Of-D1IstsCs.js} +3 -3
  142. package/dist/assets/{ScheduleSequenceTable-NSt1juSD-BtySotUK.js → ScheduleSequenceTable-NSt1juSD-BKLbxQMq.js} +21 -21
  143. package/dist/assets/{ScreenRoutes-Ofrn7XPK.js → ScreenRoutes-CWkpMCjL.js} +75 -75
  144. package/dist/assets/SetUpAccountSection-C1EnJv1V-Cvu34ipQ.js +378 -0
  145. package/dist/assets/{SignIn-BhIof_Cm-Stp0fHNQ.js → SignIn-BhIof_Cm-DeDZlCNC.js} +1 -1
  146. package/dist/assets/SignInScreen-Cihieu4J.js +1 -0
  147. package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-Qf8TDCkQ.js → SpendManagementListViewPage-BEWNNX_Z-j_tiMoWb.js} +4 -4
  148. package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-DGhcXeqs.js → SpendManagementPerTabPage-Vs1Eoxgd-DfGQnSHO.js} +20 -20
  149. package/dist/assets/{SpendManagementSection-C38Zpi1z-Hvu4v5m7.js → SpendManagementSection-C38Zpi1z-B-GaQ2j9.js} +10 -10
  150. package/dist/assets/{StatementItem-bHInVThd-BfGU3kqj.js → StatementItem-bHInVThd-CsJa48J1.js} +2 -2
  151. package/dist/assets/{StatementsPage-CGQhmaXx-CVtkQqM2.js → StatementsPage-CGQhmaXx-CawRkQvA.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-7fiKLb5g-cQtYU__8.js → StatusSwitcher-7fiKLb5g-B_2JeKNK.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-9AnfZiNy-CobTdTqd.js → SubTabSwitcher-9AnfZiNy-vCnU7WF-.js} +3 -3
  154. package/dist/assets/{SummaryCard-DOycYLs1-BLeRuOD7.js → SummaryCard-DOycYLs1-CaQB1fqx.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-CehyMnY0-BwJtO-U4.js → TaskManagementPage-CehyMnY0-Cue4tauF.js} +10 -10
  156. package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-DmMi5La_.js → TimeRangeSwitcher-Dq2FEgFR-D3AQaZI-.js} +11 -11
  157. package/dist/assets/{TimeframeSwitcher-By3xz_-m-1CBF6COV.js → TimeframeSwitcher-By3xz_-m-Bv71ZHom.js} +6 -6
  158. package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-B9R7QlVw.js → TimeframeSwitcherWithToggle-a3fmbzNR-DZx2FqjJ.js} +3 -3
  159. package/dist/assets/{TopExCard-GEQpp_KY-74e79UYx.js → TopExCard-GEQpp_KY-BIUWKmJn.js} +4 -4
  160. package/dist/assets/{TopExDetailPage-hid1dQYl-WgHXC6hE.js → TopExDetailPage-hid1dQYl-vzpcxnkQ.js} +9 -9
  161. package/dist/assets/{TransactionDetailPage-CX4JW9WM-DyZTJ1bq.js → TransactionDetailPage-CX4JW9WM-BshlnJb5.js} +3 -3
  162. package/dist/assets/{TransactionList-BixeXh4Y-Il163hc_.js → TransactionList-BixeXh4Y-DpKuzYhu.js} +13 -13
  163. package/dist/assets/{TransactionListBig-CGMMJQBd-KQNhkGbE.js → TransactionListBig-CGMMJQBd-CPWLJgiW.js} +7 -7
  164. package/dist/assets/{TransactionListPage-CBVUTX4y-DWsla1LN.js → TransactionListPage-CBVUTX4y-CTzBsfwd.js} +5 -5
  165. package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-CS6QQqEG.js → TransactionVendorDetailPage-CEbHH_0r-B2rNZ7e8.js} +4 -4
  166. package/dist/assets/{TransferDrawerPage-BFd7uQnF-AGu3EQB7.js → TransferDrawerPage-BFd7uQnF-BDnFaRJN.js} +32 -32
  167. package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-P3TIcDYG.js → TreasuryOverviewPage-Bd58hOy8-COabKjkh.js} +28 -28
  168. package/dist/assets/{TreasuryPromoPage-BvArufHi-B6OSOn5z.js → TreasuryPromoPage-BvArufHi-mIhWyHJJ.js} +6 -6
  169. package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-BeAedV0-.js → TreasuryStatementsPage-YLCEBbRh-Hb92GX1G.js} +1 -1
  170. package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-CO3HXioV.js → TreasuryTaxLetterPage-D_6mgQqi-YEx3tems.js} +1 -1
  171. package/dist/assets/{TrendChart-D3dT6hUb-CRyvw86n.js → TrendChart-D3dT6hUb-BmrIV_Lt.js} +3 -3
  172. package/dist/assets/{TrendWithTransactions-Gj-u5KXi-CpckXM1N.js → TrendWithTransactions-Gj-u5KXi-_cLHr6Sd.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-D-Jwo7-l.js → UncategorizedAccountsMappingPage-B3eRYolj-BupHpvxs.js} +3 -3
  174. package/dist/assets/{UnitIntegrationPage-DpjR9hUu-BIdCIf5k.js → UnitIntegrationPage-DpjR9hUu-Bkk7bekK.js} +4 -4
  175. package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DeW-OEQ-.js +38 -0
  176. package/dist/assets/Vendor2FAPopup-C85mhuSb-Ci-aokF3.js +1 -0
  177. package/dist/assets/VendorACHDetailsPage-DeexeWpV-PyPL7qy9.js +1 -0
  178. package/dist/assets/{VendorDetailPage-BrbKfsL4-BYuDBwtU.js → VendorDetailPage-BrbKfsL4-C5yq1wZE.js} +86 -86
  179. package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-DfQ9uMtB.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-DyXTQ39Q.js → VendorFiling1099EditablePage-DgBLn3fd-yxfQxsgz.js} +32 -32
  181. package/dist/assets/{VendorFirstReviewPage-jc7-OExI-CcNlKzIr.js → VendorFirstReviewPage-jc7-OExI-CXLfVnQg.js} +58 -58
  182. package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-CfXEdhbK.js → VendorInternationalWireDetailsPage-c6isgwH2-rWvjTHMm.js} +7 -7
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-toI88yyC.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection--VfdAF3H-aooc9xax.js → VendorsAccountsSection--VfdAF3H-C0MWVdaQ.js} +2 -2
  185. package/dist/assets/{VerifyDevice-CaifjdR8-CqDImdvA.js → VerifyDevice-CaifjdR8-oDnQadr1.js} +1 -1
  186. package/dist/assets/VideoPlayer-BVR9LPmm-C0OY9hGQ.js +78 -0
  187. package/dist/assets/{VideoPopup-BEXc8o78-CxvDyO3n.js → VideoPopup-BEXc8o78-BfKdRFKO.js} +5 -5
  188. package/dist/assets/{WarningsDrawerPage-CboqfxzC-BsdL63Q1.js → WarningsDrawerPage-CboqfxzC-Df6JGLWB.js} +4 -4
  189. package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-Bs0_mCxO.js → ZeniAccountDetailPage-Dujj0-XC-D3Dn9J7C.js} +21 -21
  190. package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-B9VB-g9k.js → ZeniAccountListViewPage--SMJDGvC-D8iSNbC5.js} +1 -1
  191. package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-CpI_x0eJ.js +14 -0
  192. package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-D_izrQ3u.js → ZeniAccountPromoPage-BVjJvWsA-eagcbJWN.js} +6 -6
  193. package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-Dw_0q67c.js → ZeniAccountSetupPage-Dvxst8RT-RZ48F_0V.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-B88k3pkr-D_GBhPtz.js → ZeniCopyright-B88k3pkr-CwZenhhP.js} +1 -1
  195. package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-DcvYtFGr.js +63 -0
  196. package/dist/assets/add-to-wallet-DgdBD8_G-B14A9z81.js +1 -0
  197. package/dist/assets/{analytics-CHPpxU3b.js → analytics-C6L7hlHG.js} +1 -1
  198. package/dist/assets/analyticsHelper-DKc66BYi.js +1 -0
  199. package/dist/assets/{analyticsHelper-DmujELNG-B2_5NV-p.js → analyticsHelper-DmujELNG-ClL2XzYx.js} +1 -1
  200. package/dist/assets/arrow-south-east-round-PEovUgvH-4-pP5pik.js +1 -0
  201. package/dist/assets/auto-transfer-rule-mbafm5D3-D30iL0YR.js +1 -0
  202. package/dist/assets/{chartTypes-DRiSljvE-CN4L62GH.js → chartTypes-DRiSljvE-CrLsLRjf.js} +1 -1
  203. package/dist/assets/{commonDimensions-BDftm0gJ-DyUDFvZC.js → commonDimensions-BDftm0gJ-Bk927TMF.js} +1 -1
  204. package/dist/assets/constants-B1dh_xIn.js +1 -0
  205. package/dist/assets/core-CadaPWsO.js +62 -0
  206. package/dist/assets/{dash.all.min-Bzta_mrR.js → dash.all.min-BwAm2K21.js} +1 -1
  207. package/dist/assets/{detailCommon-BGgE4mE3-D-w4kHC7.js → detailCommon-BGgE4mE3-BEh9p6sH.js} +3 -3
  208. package/dist/assets/{downloadPdf-DCQ9vVZs-Be80rXL-.js → downloadPdf-DCQ9vVZs-DnysTBvz.js} +1 -1
  209. package/dist/assets/empty-BVIRhP6J.js +1 -0
  210. package/dist/assets/empty-Co20hejg.js +1 -0
  211. package/dist/assets/epic-IoIkBJiH.js +2 -0
  212. package/dist/assets/gift-box-Cmt9OgIZ-B8pnTsjV.js +1 -0
  213. package/dist/assets/graphic-no-data-l-DU4J8fDt-CgpIivOh.js +1 -0
  214. package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-Bbm3dmZD.js +1 -0
  215. package/dist/assets/handshake-BPg58FML-BttIiMDC.js +1 -0
  216. package/dist/assets/{hls-SyH7Grr1.js → hls-DifHSkbp.js} +1 -1
  217. package/dist/assets/{index-BiiqfeFx.js → index-4dPdvww9.js} +1 -1
  218. package/dist/assets/index-6sWe2DhR.js +1 -0
  219. package/dist/assets/{index-DJLrbf0F.js → index-CiMyMhgu.js} +98 -98
  220. package/dist/assets/index-CnYBBjVQ.js +1 -0
  221. package/dist/assets/{index-BG_bOyH4.js → index-DBJcoW1J.js} +3 -3
  222. package/dist/assets/index-sRtT3LWH.js +1 -0
  223. package/dist/assets/index-sbaC-tND.js +1 -0
  224. package/dist/assets/{lexical-dZFDzIA1.js → lexical-DEI4_j9X.js} +1 -1
  225. package/dist/assets/{liveblocks-C2I4vRCJ.js → liveblocks-D92pTRaw.js} +28 -20
  226. package/dist/assets/lottie-Dv5hJ5mA.js +9 -0
  227. package/dist/assets/{mapLoadingInProgressToTreeNode-CXP8ZZTG-DkaL-N2A.js → mapLoadingInProgressToTreeNode-CXP8ZZTG-vSJ6j19m.js} +1 -1
  228. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-BuUbTOqM.js → mapSectionWithAcOnlyToTreeNode-BZSP-VcP-CrMDUoxM.js} +1 -1
  229. package/dist/assets/{mapSpacerToTreeNode-Bc1S_1ej-BOT7FVTB.js → mapSpacerToTreeNode-Bc1S_1ej-BemzQbL5.js} +1 -1
  230. package/dist/assets/{mapTimeframeBalancesToTreeNode-ClgcHX26-Cs9gyyXd.js → mapTimeframeBalancesToTreeNode-ClgcHX26-Bi0tXnM_.js} +1 -1
  231. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cwp98PMa-tz5P0V5W.js → mapTimeframeBalancesToTreeNode-Cwp98PMa-DQxUPxNn.js} +1 -1
  232. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-Bmf8af15.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-FlWaHbgN.js} +1 -1
  233. package/dist/assets/mui-D2MqZYRi.js +17 -0
  234. package/dist/assets/page-detail-CWX5S47F-CycRTeYU.js +1 -0
  235. package/dist/assets/radio-default-CiSgisfh-C3-g-fgb.js +1 -0
  236. package/dist/assets/{react-D9gRIIQJ.js → react-B3z6gyiL.js} +2 -2
  237. package/dist/assets/react-Bbwv1dSd.js +17 -0
  238. package/dist/assets/{react-CurU10nF.js → react-BnUDmuTB.js} +3 -3
  239. package/dist/assets/{react-B2Dtpj08.js → react-Bv_vNAf8.js} +2 -2
  240. package/dist/assets/{react-C5CamjHm.js → react-CSxJXI_i.js} +2 -2
  241. package/dist/assets/{react-BuuImry8.js → react-CeQlQsdb.js} +1 -1
  242. package/dist/assets/{react-KsUvriAa.js → react-D2dXMlhh.js} +2 -2
  243. package/dist/assets/{react-PdDuKQQV.js → react-UOVhoe0Z.js} +1 -1
  244. package/dist/assets/recharts-t7V-Kaqf.js +73 -0
  245. package/dist/assets/sentry-DMKAGVXl.js +515 -0
  246. package/dist/assets/shield-DOlUxcFf-DKC5YbXI.js +1 -0
  247. package/dist/assets/{toCOABalancesWithID--oEGymMJ-DrPkDPTu.js → toCOABalancesWithID--oEGymMJ-DIxvxTaj.js} +1 -1
  248. package/dist/assets/toChartData-CavJzP6f-Bu_YRbEM.js +1 -0
  249. package/dist/assets/transaction-placeholder-CpOwZAMG-BdGoUwcv.js +1 -0
  250. package/dist/assets/{uploadAttachment-BuVCsq0Q-BB-5S1Qg.js → uploadAttachment-BuVCsq0Q-C2wm0oAH.js} +7 -7
  251. package/dist/assets/{uploadReceipts-CPw64UYa-DU-gRzOR.js → uploadReceipts-CPw64UYa-BgNLcFfw.js} +1 -1
  252. package/dist/assets/url-CnqqWgIy.js +1 -0
  253. package/dist/assets/{url-RUB1rBsd.js → url-DsW1BPwo.js} +1 -1
  254. package/dist/assets/useLongPress-GCK2COYQ-DVYx_Wdi.js +1 -0
  255. package/dist/assets/usp-line-BBd1wKwW-D20AQITY.js +1 -0
  256. package/dist/assets/{utils-DUsHM-Uc.js → utils-BWiizB9D.js} +19 -19
  257. package/dist/assets/{zeni-epic-state-CQt4n3Xe.js → zeni-epic-state-DjAFCaxy.js} +34 -34
  258. package/dist/index.html +1 -1
  259. package/package.json +2 -2
  260. package/dist/assets/ACHDetailsPage-B6sY0jN6-B0gf8H4B.js +0 -21
  261. package/dist/assets/AddAddressForCardDrawer-BuAtFO1w-BFBt3SFQ.js +0 -6
  262. package/dist/assets/CardNumberSubText-BYY-Inxd-BdlFsn4_.js +0 -21
  263. package/dist/assets/ConfettiBurst-Cl6jHJ8H-LC2meCe-.js +0 -1
  264. package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-DTgF2r26.js +0 -1
  265. package/dist/assets/CustomerOnboardingProductSuitePage-lNIP5gSu-PR2itKHa.js +0 -202
  266. package/dist/assets/DashboardSidebarBackgroundAnimation-B1mJObim-BrrhB9xn.js +0 -12
  267. package/dist/assets/DepositAccTransactionListPage-B6px7upV-CeIhvwtb.js +0 -66
  268. package/dist/assets/DomesticWireDetailsPage-BFQJmzYm-RX-JpFy3.js +0 -21
  269. package/dist/assets/LabeledControlledCheckBoxField-CeMM7Ci3-mZLzoQGL.js +0 -16
  270. package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-B4JK6Tsk.js +0 -1
  271. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-CjkHVZHo.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BFgoRuDp.js +0 -1
  273. package/dist/assets/MagicLinkTitleSection-FMRBLlRJ-BOWrScDm.js +0 -17
  274. package/dist/assets/MailingDetailsSection-CiJ5JLA6-DddwOxAo.js +0 -21
  275. package/dist/assets/Menu-wpP8R1br-CxnIQs8p.js +0 -17
  276. package/dist/assets/NoDataChart-C5ZP32zB-Co6FSXzL.js +0 -26
  277. package/dist/assets/NoDataTable-BnBYE8p_-CiELOEE2.js +0 -8
  278. package/dist/assets/Preview-D0lKYz6_.js +0 -1
  279. package/dist/assets/SetUpAccountSection-C1EnJv1V-nWkvB51T.js +0 -378
  280. package/dist/assets/SignInScreen-ApNcuhAj.js +0 -1
  281. package/dist/assets/UploadAdditionalDocumentOverlay-COtszXUY-DBj80beJ.js +0 -38
  282. package/dist/assets/Vendor2FAPopup-C85mhuSb-SCWhQlz7.js +0 -1
  283. package/dist/assets/VendorACHDetailsPage-DeexeWpV-CvETHK8j.js +0 -1
  284. package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-4iWeRYsC.js +0 -1
  285. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-BWyYdePs.js +0 -1
  286. package/dist/assets/VideoPlayer-BVR9LPmm-Cf1X7mgb.js +0 -78
  287. package/dist/assets/ZeniAccountNavBarPieces-DqLJVQ5t-B6EqVL37.js +0 -14
  288. package/dist/assets/ZeniTransferAmountSlider-1DS0MsTI-D_vM8ORb.js +0 -63
  289. package/dist/assets/add-to-wallet-DgdBD8_G-DvwlYBb0.js +0 -1
  290. package/dist/assets/analyticsHelper-D88-Oppk.js +0 -1
  291. package/dist/assets/arrow-south-east-round-PEovUgvH-D9klpzRU.js +0 -1
  292. package/dist/assets/auto-transfer-rule-mbafm5D3-CHCjFoIN.js +0 -1
  293. package/dist/assets/constants-B4Ak6U9p.js +0 -1
  294. package/dist/assets/core-CA3j8Axi.js +0 -77
  295. package/dist/assets/empty-CrPfQgao.js +0 -1
  296. package/dist/assets/empty-Dn000SHy.js +0 -1
  297. package/dist/assets/epic-C_I3d-Sx.js +0 -2
  298. package/dist/assets/gift-box-Cmt9OgIZ-eSACml6z.js +0 -1
  299. package/dist/assets/graphic-no-data-l-DU4J8fDt-BzIPOWHn.js +0 -1
  300. package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-CtBcTNoa.js +0 -1
  301. package/dist/assets/handshake-BPg58FML-DvA7MfJg.js +0 -1
  302. package/dist/assets/index-BWZriWwb.js +0 -1
  303. package/dist/assets/index-C-ypGNlB.js +0 -1
  304. package/dist/assets/index-C4-PHmb9.js +0 -1
  305. package/dist/assets/index-C5fdNIhc.js +0 -1
  306. package/dist/assets/lottie-B7mXQ-R-.js +0 -9
  307. package/dist/assets/mui-DpJXlk4t.js +0 -25
  308. package/dist/assets/page-detail-CWX5S47F-Byx36A1h.js +0 -1
  309. package/dist/assets/radio-default-CiSgisfh-HcY1qXLg.js +0 -1
  310. package/dist/assets/react-B7zczQTC.js +0 -17
  311. package/dist/assets/recharts-BGdJnVo5.js +0 -73
  312. package/dist/assets/sentry-BA4piVNf.js +0 -500
  313. package/dist/assets/shield-DOlUxcFf-DciCHlJY.js +0 -1
  314. package/dist/assets/toChartData-CavJzP6f-B2iIF7nP.js +0 -1
  315. package/dist/assets/transaction-placeholder-CpOwZAMG-2yCTNaDx.js +0 -1
  316. package/dist/assets/url-Bq2XNMnM.js +0 -1
  317. package/dist/assets/useLongPress-GCK2COYQ-Ch-mrcwO.js +0 -1
  318. package/dist/assets/usp-line-BBd1wKwW-BZdA9pHf.js +0 -1
@@ -1,4 +1,4 @@
1
- import{q as B,d as Z,F as _,av as ke,V as s,bz as qe,m as Je,C as Qe,bA as Xe,o as d,y as L,aA as X,bB as Ke,bC as et,ag as oe,c as $,b1 as tt,aS as st,bD as ot,L as Oe,n as Be,p as D,ap as Pe,aR as at,b8 as nt,am as it,bE as rt,at as ct,bF as lt,bG as ne,bH as dt,as as pt,al as ut,bI as gt}from"./index-DJLrbf0F.js";import{a as y,S as K}from"./core-CA3j8Axi.js";import{n as u,k as Ie}from"./mui-DpJXlk4t.js";import{bh as mt,EI as ht,E2 as ft,EJ as bt,EK as xt,EL as _t,EM as wt,EN as St,EO as yt,EP as vt,EQ as Ct}from"./zeni-epic-state-CQt4n3Xe.js";import{m as G,l as se}from"./analyticsHelper-DmujELNG-B2_5NV-p.js";import{g as jt,x as $t}from"./ReportTableViewSelector-C8e6IEWt-BJN3fro7.js";import{q as kt}from"./InsightsSection-DvqCilqy-J94KiGaL.js";import{k as xe,q as Ot,G as Bt,H as ee,N as pe}from"./detailCommon-BGgE4mE3-D-w4kHC7.js";import{G as Pt,P as It,X as _e,Y as we,H as Se}from"./RevenueChart-Cc0XrxLL-BB6kfchw.js";import{C as Lt}from"./NoDataChart-C5ZP32zB-Co6FSXzL.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Nt}from"./TimeRangeSwitcher-Dq2FEgFR-DmMi5La_.js";import{b as Le}from"./TimeframeSwitcher-By3xz_-m-1CBF6COV.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-hL_Ycouc-B8J7Q_nq.js";import{S as zt,M as At,g as Mt,C as te,L as Ne,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-BZSP-VcP-BuUbTOqM.js";import{d as Et}from"./NoDataTable-BnBYE8p_-CiELOEE2.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-Bmf8af15.js";import{d as he}from"./mapLoadingInProgressToTreeNode-CXP8ZZTG-DkaL-N2A.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";import"./NavigationDots-BvKSgdgh-LQiuRx4x.js";import"./chartTypes-DRiSljvE-CN4L62GH.js";import"./toCOABalancesWithID--oEGymMJ-DrPkDPTu.js";import"./toChartData-CavJzP6f-B2iIF7nP.js";import"./AccountRow-BM2kGWyR-T6iB2hx_.js";import"./graphic-no-data-l-DU4J8fDt-BzIPOWHn.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c1a5cf70-8120-4df5-9a8e-14c6c1388452",e._sentryDebugIdIdentifier="sentry-dbid-c1a5cf70-8120-4df5-9a8e-14c6c1388452")}catch{}})();const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
1
+ import{q as B,d as Z,F as _,av as ke,V as s,bz as qe,m as Je,C as Qe,bA as Xe,o as d,y as L,aA as X,bB as Ke,bC as et,ag as oe,c as $,b1 as tt,aS as st,L as Oe,n as Be,p as D,ap as Pe,aR as ot,b8 as at,am as nt,bD as it,at as rt,bE as ct,bF as ne,bG as lt,as as dt,al as pt,bH as ut,bI as gt}from"./index-CiMyMhgu.js";import{a as y,S as K}from"./sentry-DMKAGVXl.js";import{n as u,k as Ie}from"./mui-D2MqZYRi.js";import{bg as mt,EH as ht,E1 as ft,EI as bt,EJ as xt,EK as _t,EL as wt,EM as St,EN as yt,EO as vt,EP as Ct}from"./zeni-epic-state-DjAFCaxy.js";import{m as G,l as se}from"./analyticsHelper-DmujELNG-ClL2XzYx.js";import{g as jt,x as $t}from"./ReportTableViewSelector-C8e6IEWt--jlW7QpR.js";import{q as kt}from"./InsightsSection-DvqCilqy-BsxjZx3R.js";import{q as Ot,G as Bt,k as xe,H as ee,N as pe}from"./detailCommon-BGgE4mE3-BEh9p6sH.js";import{G as Pt,P as It,X as _e,Y as we,H as Se}from"./RevenueChart-Cc0XrxLL-RTOUbgfW.js";import{C as Lt}from"./NoDataChart-C5ZP32zB-CMBnBikM.js";import{n as R}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{p as Nt}from"./TimeRangeSwitcher-Dq2FEgFR-D3AQaZI-.js";import{b as Le}from"./TimeframeSwitcher-By3xz_-m-Bv71ZHom.js";import{I as Rt,R as F,x as Dt,l as ue,D as Tt}from"./CollapsableReportTable-hL_Ycouc-CWDILu02.js";import{S as zt,M as At,g as Mt,C as te,L as Ne,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-BZSP-VcP-CrMDUoxM.js";import{d as Et}from"./NoDataTable-BnBYE8p_-D99JCqJE.js";import{d as ge,l as me}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-FlWaHbgN.js";import{d as he}from"./mapLoadingInProgressToTreeNode-CXP8ZZTG-vSJ6j19m.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";import"./NavigationDots-BvKSgdgh-BXw04_O_.js";import"./chartTypes-DRiSljvE-CrLsLRjf.js";import"./toCOABalancesWithID--oEGymMJ-DIxvxTaj.js";import"./toChartData-CavJzP6f-Bu_YRbEM.js";import"./AccountRow-BM2kGWyR-CJCg6x0x.js";import"./graphic-no-data-l-DU4J8fDt-CgpIivOh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4884c554-f174-43a0-92c4-2e066a9c8775",e._sentryDebugIdIdentifier="sentry-dbid-4884c554-f174-43a0-92c4-2e066a9c8775")}catch{}})();const Ft=e=>y.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},y.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),y.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),y.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),y.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),y.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -187,7 +187,7 @@ import{q as B,d as Z,F as _,av as ke,V as s,bz as qe,m as Je,C as Qe,bA as Xe,o
187
187
  margin-top: 22px;
188
188
  list-style-position: outside;
189
189
  padding-left: ${d.sp3};
190
- `,ie=u(nt)``,re=u(at)``,ce=u.li``,Os=u.div`
190
+ `,ie=u(at)``,re=u(ot)``,ce=u.li``,Os=u.div`
191
191
  overflow: hidden;
192
192
  max-width: 712px;
193
193
  display: flex;
@@ -197,7 +197,7 @@ import{q as B,d as Z,F as _,av as ke,V as s,bz as qe,m as Je,C as Qe,bA as Xe,o
197
197
  border-radius: 12px;
198
198
  border: ${e=>`1px solid ${e.theme.colors.grey5}`};
199
199
  padding: ${d.sp2};
200
- `,le=()=>s.jsxs(Ss,{children:[s.jsx(ys,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs($s,{windowSize:t,children:[s.jsx(Os,{windowSize:t,children:s.jsx(Bs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(ks,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Ps=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsx(bs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Ae,{windowSize:i,children:[s.jsx(js,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Is=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsxs(fs,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Ae,{windowSize:i,children:[s.jsx(Cs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(xs,{children:s.jsx(le,{})}),s.jsx(_s,{children:s.jsx(le,{})}),s.jsx(ws,{children:s.jsx(le,{})})]})]})};function Ls(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ps,{...e}):s.jsx(Is,{...e})}const de="ZeniSwitch",z={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Ns=({className:e,...t})=>s.jsx(dt,{...t,className:e,classes:{...z}}),Rs=u(Ns)(({theme:e})=>({[`& .${z.switchBase}`]:{color:e.colors.grey2},[`& .${z.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${z.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${z.switchBase}.Mui-checked + .${z.track}`]:{backgroundColor:e.colors.grey1},[`& .${z.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${z.switchBase}.Mui-disabled + .${z.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(Rs,{...e}),U={containerMaxWidth:new L(124,154),forecastNameInnerWidth:new L(75,105),forecastNameOuterWidth:new L(90,120),tooltipTopPosition:new L(51,51),tooltipWidth:new L(180,150)},ye=u.div``,Ds=u.div`
200
+ `,le=()=>s.jsxs(Ss,{children:[s.jsx(ys,{}),s.jsx(vs,{})]}),We=({imgSrc:e})=>{const t=B();return s.jsxs($s,{windowSize:t,children:[s.jsx(Os,{windowSize:t,children:s.jsx(Bs,{windowSize:t,children:s.jsx("img",{src:e,alt:"forecast-promo",style:{width:"343px",height:"220px",borderRadius:d.sp2,display:"block"}})})}),s.jsxs(ks,{windowSize:t,children:[s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.accuratelyText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.trackText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.trackText.regular})]}),s.jsxs(ce,{children:[s.jsx(re,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.bold}),s.jsx(ie,{children:_.getLocalizedStrings().forecastPromoPage.preciseText.regular})]})]})]})},Ps=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(hs,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsx(bs,{onClick:c=>c.stopPropagation(),children:s.jsxs(Ae,{windowSize:i,children:[s.jsx(js,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o,style:{backgroundColor:D.primaryDark,borderColor:D.primaryDark,color:D.neutralGrey5Dark}}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]})})]})},Is=e=>{const{onClose:t,reportId:a,meetingUrl:n}=e,i=B(),r=Z(),p=c=>{c.stopPropagation(),t()},o=()=>{window.open(n.toString(),"_blank")},l=Te[a][r.mode];return s.jsxs(ms,{role:"presentation",onClick:c=>p(c),children:[s.jsx(Me,{children:s.jsx(Ee,{children:s.jsx(Oe,{style:{width:"18px",height:"18px"}})})}),s.jsxs(fs,{onClick:c=>c.stopPropagation(),children:[s.jsxs(Ae,{windowSize:i,children:[s.jsx(Cs,{children:_.getLocalizedStrings().forecastPromoPage.promoText}),s.jsx(We,{imgSrc:l}),s.jsxs(Fe,{children:[s.jsx(Be,{variant:"primary",label:_.getLocalizedStrings().forecastPromoPage.meetingButton,onClick:o}),s.jsx(Ve,{windowSize:i,children:_.getLocalizedStrings().forecastPromoPage.forecastUpload})]})]}),s.jsx(xs,{children:s.jsx(le,{})}),s.jsx(_s,{children:s.jsx(le,{})}),s.jsx(ws,{children:s.jsx(le,{})})]})]})};function Ls(e){const t=B();return t==="small"||t==="medium-compact"?s.jsx(Ps,{...e}):s.jsx(Is,{...e})}const de="ZeniSwitch",z={root:`${de}-root`,switchBase:`${de}-switchBase`,track:`${de}-track`},Ns=({className:e,...t})=>s.jsx(lt,{...t,className:e,classes:{...z}}),Rs=u(Ns)(({theme:e})=>({[`& .${z.switchBase}`]:{color:e.colors.grey2},[`& .${z.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${z.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${z.switchBase}.Mui-checked + .${z.track}`]:{backgroundColor:e.colors.grey1},[`& .${z.switchBase}.Mui-disabled`]:{color:e.colors.grey4},[`& .${z.switchBase}.Mui-disabled + .${z.track}`]:{opacity:.5,backgroundColor:e.colors.background}})),He=e=>s.jsx(Rs,{...e}),U={containerMaxWidth:new L(124,154),forecastNameInnerWidth:new L(75,105),forecastNameOuterWidth:new L(90,120),tooltipTopPosition:new L(51,51),tooltipWidth:new L(180,150)},ye=u.div``,Ds=u.div`
201
201
  min-width: ${e=>U.forecastNameInnerWidth.valuePx(e.windowSize)};
202
202
  &:hover {
203
203
  .info-tooltip {
@@ -212,7 +212,7 @@ import{q as B,d as Z,F as _,av as ke,V as s,bz as qe,m as Je,C as Qe,bA as Xe,o
212
212
  flex-direction: column;
213
213
  width: 315px;
214
214
  white-space: normal;
215
- `,zs=u(pt)`
215
+ `,zs=u(dt)`
216
216
  display: flex;
217
217
  justify-content: space-between;
218
218
  color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
@@ -222,10 +222,10 @@ import{q as B,d as Z,F as _,av as ke,V as s,bz as qe,m as Je,C as Qe,bA as Xe,o
222
222
  display: flex;
223
223
  color: ${e=>e.isValid===!0?e.theme.colors.primary:e.theme.colors.grey1};
224
224
  margin-bottom: ${d.sp1};
225
- `,Ms=u.div``,Es=u.div``,Fs=u(ut)`
225
+ `,Ms=u.div``,Es=u.div``,Fs=u(pt)`
226
226
  display: flex;
227
227
  color: ${D.alert};
228
- `,Vs=u(gt)`
228
+ `,Vs=u(ut)`
229
229
  color: ${D.alert};
230
230
  width: ${d.sp4};
231
231
  height: ${d.sp4};
@@ -261,16 +261,16 @@ import{q as B,d as Z,F as _,av as ke,V as s,bz as qe,m as Je,C as Qe,bA as Xe,o
261
261
  z-index: 1;
262
262
  width: ${e=>U.tooltipWidth.valuePx(e.windowSize)};
263
263
  top: ${e=>U.tooltipTopPosition.valuePx(e.windowSize)};
264
- `,Zs=u(it)`
264
+ `,Zs=u(nt)`
265
265
  color: ${e=>e.theme.colors.grey5};
266
- `;function qs({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((m,f)=>({label:m.name,value:f,forecastId:m.id,timeframeLabel:o(m.forecastPeriod),isValid:n(m)})),[c,h]=y.useState(l(t));return K.useEffect(()=>{h(l(t))},[t]),s.jsxs(Ds,{windowSize:r,children:[s.jsx(Gs,{children:s.jsx(Us,{className:"info-tooltip",windowSize:r,children:s.jsx(Zs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Js,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Js=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=Z(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(rt)`
266
+ `;function qs({selectedForecastIndex:e,forecasts:t,isDisabled:a,isForecastValid:n,onForecastSelectionChanged:i}){const r=B(),{dateFormat:{visual:p}}=_.getLocalizedStrings(),o=g=>`${g.startDate.format(p.MMMYYYYFormat)} - ${g.endDate.format(p.MMMYYYYFormat)}`,l=g=>g.map((m,f)=>({label:m.name,value:f,forecastId:m.id,timeframeLabel:o(m.forecastPeriod),isValid:n(m)})),[c,h]=y.useState(l(t));return K.useEffect(()=>{h(l(t))},[t]),s.jsxs(Ds,{windowSize:r,children:[s.jsx(Gs,{children:s.jsx(Us,{className:"info-tooltip",windowSize:r,children:s.jsx(Zs,{children:c[e]!=null?c[e].label:""})})}),s.jsx(Js,{selectedForecast:c[e],forecastOptions:c,isDisabled:a,onForecastSelectionChanged:i})]})}const Js=({selectedForecast:e,forecastOptions:t,isDisabled:a,onForecastSelectionChanged:n})=>{const i=Z(),r=B(),[p,o]=y.useState(e),l=i.colors.grey5,c=i.colors.grey5,h=i.colors.grey3;y.useEffect(()=>{o(e)},[e]);const g=u(it)`
267
267
  height: ${d.sp3};
268
268
  width: ${d.sp3};
269
- `,m=u(ct)`
269
+ `,m=u(rt)`
270
270
  height: 12px;
271
271
  width: 12px;
272
272
  margin-left: 6px;
273
- `,f=({children:b,...C})=>s.jsx(ne.SingleValue,{...C,children:s.jsxs(Hs,{children:[s.jsx(Ws,{windowSize:r,children:b}),s.jsx(m,{})]})}),x=b=>s.jsx(ne.DropdownIndicator,{...b,children:s.jsx(ye,{})}),w=b=>s.jsx(ye,{children:s.jsx(ne.Option,{...b,children:s.jsxs(Ts,{children:[s.jsxs(zs,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(As,{isValid:b.data.isValid,children:[s.jsx(Ms,{children:b.data.timeframeLabel}),s.jsx(Ys,{isValid:b.data.isValid}),s.jsx(Es,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Fs,{children:[s.jsx(Vs,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(b,C)=>({...b,border:0,backgroundColor:c,color:C.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.hero,boxShadow:c,":active":{backgroundColor:c},":hover":{color:i.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:b=>({...b,backgroundColor:c,maxWidth:U.containerMaxWidth.valuePx(r),minWidth:U.containerMaxWidth.valuePx(r)}),singleValue:(b,C)=>({...b,color:C.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:i.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:b=>({...b,backgroundColor:l,borderRadius:$[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:$[1],maxWidth:"350px"}),option:(b,{isDisabled:C,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!0&&C!==!0?i.colors.background:l,cursor:C===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:C===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(lt,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,defaultValue:p,onChange:b=>{const C=b;o(C),n(C.forecastId,C.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},ve={timeframePaddingLeft:new L(0,0,245),timeframePaddingBottom:new L(8,8,0)},Qs=u.div`
273
+ `,f=({children:b,...C})=>s.jsx(ne.SingleValue,{...C,children:s.jsxs(Hs,{children:[s.jsx(Ws,{windowSize:r,children:b}),s.jsx(m,{})]})}),x=b=>s.jsx(ne.DropdownIndicator,{...b,children:s.jsx(ye,{})}),w=b=>s.jsx(ye,{children:s.jsx(ne.Option,{...b,children:s.jsxs(Ts,{children:[s.jsxs(zs,{isValid:b.data.isValid,children:[b.label,b.isSelected?s.jsx(g,{}):null]}),s.jsxs(As,{isValid:b.data.isValid,children:[s.jsx(Ms,{children:b.data.timeframeLabel}),s.jsx(Ys,{isValid:b.data.isValid}),s.jsx(Es,{children:_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_source})]}),b.data.isValid===!1?s.jsxs(Fs,{children:[s.jsx(Vs,{}),_.getLocalizedStrings().chartCard.forecast_dropdown.forecast_invalid_issue]}):null]})})}),S={control:(b,C)=>({...b,border:0,backgroundColor:c,color:C.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.hero,boxShadow:c,":active":{backgroundColor:c},":hover":{color:i.colors.primary},"span::after":{content:"''",display:"block"},minHeight:"auto",cursor:"pointer"}),container:b=>({...b,backgroundColor:c,maxWidth:U.containerMaxWidth.valuePx(r),minWidth:U.containerMaxWidth.valuePx(r)}),singleValue:(b,C)=>({...b,color:C.selectProps.menuIsOpen===!0?i.colors.primary:i.colors.champion,maxWidth:"100%",minWidth:"100%",overflow:"auto",":hover":{color:i.colors.primary},marginLeft:0,position:"inherit",transform:"none",top:0,marginRight:0,opacity:"1"}),menu:b=>({...b,backgroundColor:l,borderRadius:$[1],boxShadow:`${d.sp0} 2px ${d.sp2} ${i.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:20}),menuList:b=>({...b,borderRadius:$[1],maxWidth:"350px"}),option:(b,{isDisabled:C,isSelected:k,isFocused:V})=>({...b,color:k?i.colors.champion:i.colors.hero,backgroundColor:k===!0?h:V===!0&&C!==!0?i.colors.background:l,cursor:C===!0?"not-allowed":"pointer",padding:`11px ${d.sp3}`,":hover":{backgroundColor:C===!1?k===!0?h:i.colors.background:l,color:i.colors.primary},borderBottom:"1px solid "+i.colors.grey3}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({})};return s.jsx(ct,{options:t,components:{SingleValue:f,DropdownIndicator:x,Option:w},styles:S,defaultValue:p,onChange:b=>{const C=b;o(C),n(C.forecastId,C.value)},isSearchable:!1,isClearable:!1,isOptionDisabled:b=>b.isValid===!1,theme:b=>({...b,colors:{...b.colors,primary:l}}),isDisabled:a})},ve={timeframePaddingLeft:new L(0,0,245),timeframePaddingBottom:new L(8,8,0)},Qs=u.div`
274
274
  display: flex;
275
275
  width: 100%;
276
276
  flex-direction: column;
@@ -323,7 +323,7 @@ import{q as B,d as Z,F as _,av as ke,V as s,bz as qe,m as Je,C as Qe,bA as Xe,o
323
323
  position: absolute;
324
324
  padding-top: ${d.sp3};
325
325
  background-color: ${e=>e.theme.colors.grey4};
326
- `,jo=e=>{const t=B(),a=Z(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!b,k=C||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),G(r.timeframe),"dropdown");const I=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[I],x?.numberOfPeriods??k)},[P,M]=y.useState(void 0),[H,E]=y.useState(void 0),N=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),j=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,Y=w==="forecast_mode"?"actual_vs_forecast":C===!0?"this_period_vs_period_before":"none",q=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,I)=>{O!==i?.uiState.accountViewMode&&g?.(O),I&&m?.(I)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:Y,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:ot(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!X(H,j)||e.isPageFetchInProgress===!0){const I=$o(j,O,N,e.isPageFetchInProgress);E(j),M(I)}else{const I=wo(P,O,j,N);M(I)}},[W,C,j,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:S?s.jsx(Et,{}):P!=null?s.jsxs(yo,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:N,isStickyName:N},treeNodePadding:{left:$e.contentPaddingLeft.value(t),right:$e.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,I)=>{h(O,I)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),q===!0&&i!==void 0?s.jsx(Co,{children:s.jsx($t,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},$o=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ho(e,t,a);case"net_burn_or_income_by_classes":return mo(e,t,a,n);case"revenue":return _o(e,t,a);case"revenue_by_classes":return xo(e,t,a,n);case"cash_position":return go(e,t,a);case"cash_in_cash_out":return uo(e,t,a);case"operating_expenses":return bo(e,t,a);case"operating_expenses_by_classes":return fo(e,t,a,n);default:return}},ko=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",J={chartWidth:"100%",barCount:8,barWidth:new L($[6],$[8],$[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=J.chartWidth,barCount:n=J.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??Q.chartHeight.value(o),c=l-$[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||J.maxBarHeight)*l,width:J.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(Io,{children:s.jsx(Ke,{speed:2,width:J.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},Bo=u.div`
326
+ `,jo=e=>{const t=B(),a=Z(),{selectedRangeReport:n,selectedClassesViewRangeReport:i,uiState:r,scrollPosition:p,isZeniUser:o,onTableScroll:l,onElementCollapseStateChanged:c,onAccountBalanceClick:h,onUpdateAccountViewMode:g,onUpdateClassesToFilterOut:m,onOpenAccountViewMode:f}=e,{highlightedCOABalancesRange:x,mode:w}=r,S=n.availableNumberOfPeriods==null||n.availableNumberOfPeriods===0,b=n.availableNumberOfPeriods!=null&&n.availableNumberOfPeriods<2,C=r.mode==="compare_mode"&&!b,k=C||r.mode==="forecast_mode"?3:1,V=O=>{e.analytics?.trackCompareFilterChange(O==="compare_mode_percent"?"percentage":"amount",R(n.reportId),G(r.timeframe),"dropdown");const I=O==="compare_mode_percent"?"this_period_vs_last_period_percent":"this_period_vs_last_period";e.onAdditionalBalanceSelectionChanged(C,[I],x?.numberOfPeriods??k)},[P,M]=y.useState(void 0),[H,E]=y.useState(void 0),N=!(t==="small"||t==="medium-compact"),W=w==="forecast_mode"?"name+balances_forecast":"name+balances_actual",v=ko(r.selectedAdditionalBalances),j=i!==void 0&&i.uiState.accountViewMode==="classes"?i:n,Y=w==="forecast_mode"?"actual_vs_forecast":C===!0?"this_period_vs_period_before":"none",q=n.reportId==="net_burn_or_income"||n.reportId==="operating_expenses"||n.reportId==="revenue",ae=(O,I)=>{O!==i?.uiState.accountViewMode&&g?.(O),I&&m?.(I)};return y.useEffect(()=>{const O={reportId:w==="forecast_mode"&&r.selectedForecast!=null?`${j.reportId}+${r.selectedForecast?.id}`:j.reportId,mode:Y,displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:j.bookCloseDate,firstMonthOfFY:j.firstMonthOfFY,filterAccountsWithNilBalances:w==="forecast_mode"?"filter_actual_forecast_nil_balances":"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",showNegativeAmountInParenthesis:gt(),showClassAccountNumber:o,isZeniCOAInUse:e.isZeniCOAUsed,dataAvailable:j.dataAvailable};if(P==null||!X(H,j)||e.isPageFetchInProgress===!0){const I=$o(j,O,N,e.isPageFetchInProgress);E(j),M(I)}else{const I=wo(P,O,j,N);M(I)}},[W,C,j,e.isPageFetchInProgress]),s.jsx(vo,{windowSize:t,children:S?s.jsx(Et,{}):P!=null?s.jsxs(yo,{children:[s.jsx(Rt,{backgroundColor:new st(a.colors.grey4),rootNodes:P,type:W,compareMode:v,isSticky:{isStickyHeader:N,isStickyName:N},treeNodePadding:{left:$e.contentPaddingLeft.value(t),right:$e.contentPaddingRight.value(t)},onAccountClick:h==null?void 0:(O,I)=>{h(O,I)},nodeOpenStatus:r.nodeCollapseState,scrollPosition:p,onCompareModeChanged:V,onScroll:l,onNodeCollapseToggled:c}),q===!0&&i!==void 0?s.jsx(Co,{children:s.jsx($t,{reportId:n.reportId,nodes:i.classHierarchy,classesListFetchState:i.fetchState,selectedView:i.uiState.accountViewMode,showClassAccountNumber:o,showAccountGroups:e.isZeniCOAUsed??!0,onSaveClick:ae,classesToBeFilteredOut:i.classesToFilterOut,isClassViewDisabled:r.mode==="forecast_mode",firstMonthOfFY:i.firstMonthOfFY,onOpenAccountViewMode:f,onResyncReports:e.onResyncReports,isPageFetchInProgress:e.isPageFetchInProgress,lastRefreshSuccessTime:i?.status?.lastRefreshSuccessTime})}):null]}):null})},$o=(e,t,a=!0,n=!1)=>{switch(e.reportId){case"net_burn_or_income":return ho(e,t,a);case"net_burn_or_income_by_classes":return mo(e,t,a,n);case"revenue":return _o(e,t,a);case"revenue_by_classes":return xo(e,t,a,n);case"cash_position":return go(e,t,a);case"cash_in_cash_out":return uo(e,t,a);case"operating_expenses":return bo(e,t,a);case"operating_expenses_by_classes":return fo(e,t,a,n);default:return}},ko=e=>e.includes("this_period_vs_last_period_percent")?"compare_mode_percent":"compare_mode_amount",J={chartWidth:"100%",barCount:8,barWidth:new L($[6],$[8],$[10]),maxBarHeight:1},Oo=({customStyle:e,chartDefaultHeight:t,chartDefaultWidth:a=J.chartWidth,barCount:n=J.barCount,barHeights:i=[.4,.5,.6,1,.3,.5,.2,.7],backgroundColor:r})=>{const p=Z(),o=B(),l=t??Q.chartHeight.value(o),c=l-$[5],h=[...Array(n)].map((g,m)=>({height:(i?.[m]||J.maxBarHeight)*l,width:J.barWidth}));return s.jsx(Bo,{style:{...e,width:a,height:l,backgroundColor:r},children:s.jsx(Po,{children:h.map((g,m)=>s.jsx(Io,{children:s.jsx(Ke,{speed:2,width:J.barWidth.value(o),height:c,viewBox:`0 0 100 ${c}`,preserveAspectRatio:"none",animate:!0,backgroundColor:p.colors.grey3,foregroundColor:p.colors.grey4,children:s.jsx("rect",{x:"0",y:c-g.height-20,width:"100%",height:g.height,rx:"4",ry:"4"})})},`bar-loader-${m}-${g.height}`))})})},Bo=u.div`
327
327
  width: 100%;
328
328
  height: 100%;
329
329
  border-radius: ${d.sp2};
@@ -0,0 +1,12 @@
1
+ import{aW as f,V as o,b3 as u,o as p}from"./index-CiMyMhgu.js";import{a as s}from"./sentry-DMKAGVXl.js";import{a as h,n as m}from"./mui-D2MqZYRi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cf6d9dbe-fbdd-4e83-babb-65c30678c404",e._sentryDebugIdIdentifier="sentry-dbid-cf6d9dbe-fbdd-4e83-babb-65c30678c404")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const i=h(),d=e||n,r=n?"DashboardNewYearShow":"DashboardChristmasSnow",[a,l]=f(r,d),[t,b]=s.useState(null);a!=null&&t==null&&!l&&b(a);const c=e&&i.mode==="light"?.7:.2;return(e||n)&&t!=null?o.jsx(y,{contextWiseOpacity:c,newYearAnimationEnabled:n,children:o.jsx(u,{style:{width:"inherit",height:"inherit",display:"block"},animationData:t,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
+ display: flex;
3
+ flex: 1 1 auto;
4
+ flex-direction: column;
5
+ width: inherit;
6
+ position: absolute;
7
+ top: ${p.sp0};
8
+ z-index: 0;
9
+ height: ${e=>e.newYearAnimationEnabled?"100%":"60vh"};
10
+ opacity: ${e=>e.contextWiseOpacity};
11
+ pointer-events: none;
12
+ `;export{D as v};
@@ -1,4 +1,4 @@
1
- import{aL as u,hu as y,q as $,V as l,o as i,ak as c,al as w}from"./index-DJLrbf0F.js";import{n as t}from"./mui-DpJXlk4t.js";import{g as k}from"./BoxItem-Bjv3WNXO-DVhc5wWw.js";import{o as v}from"./commonDimensions-BDftm0gJ-DyUDFvZC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f5338713-e8aa-4a4c-8ae9-3ec37b37063c",e._sentryDebugIdIdentifier="sentry-dbid-f5338713-e8aa-4a4c-8ae9-3ec37b37063c")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:a,amount:p,logo:x,summary:f,direction:b,status:m}=e,g=r.length>0?r:f,d=u("0,0.00",p),s=y(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:x?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[a!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:a})}):null,l.jsx(P,{windowSize:o,children:b==="debit"?`-${d}`:d})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aK as u,hu as y,q as $,V as l,o as i,ak as c,al as w}from"./index-CiMyMhgu.js";import{n as t}from"./mui-D2MqZYRi.js";import{g as k}from"./BoxItem-Bjv3WNXO-d_9opxkd.js";import{o as v}from"./commonDimensions-BDftm0gJ-Bk927TMF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7b2fd845-8baf-4bdb-b3dc-cb4f2b66a7f5",e._sentryDebugIdIdentifier="sentry-dbid-7b2fd845-8baf-4bdb-b3dc-cb4f2b66a7f5")}catch{}})();function H({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:b,logo:f,summary:p,direction:x,status:m}=e,g=r.length>0?r:p,a=u("0,0.00",b),s=y(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:f?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(P,{windowSize:o,children:x==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -0,0 +1,66 @@
1
+ import{d as M,q as S,V as t,bz as I,b1 as z,hD as F,o as r,F as Y,p as u,cq as C,dc as E,dd as L,d7 as _,de as T,y as q,ag as B,ak as R,c as g}from"./index-CiMyMhgu.js";import{a as x}from"./sentry-DMKAGVXl.js";import{n as a}from"./mui-D2MqZYRi.js";import{bh as V}from"./zeni-epic-state-DjAFCaxy.js";import{$ as A}from"./BoxItem-Bjv3WNXO-d_9opxkd.js";import{o as N}from"./commonDimensions-BDftm0gJ-Bk927TMF.js";import{H as P}from"./DepositAccTransactionItem-C8tChaJS-_jmc_rYW.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="04251ff7-7558-427a-a106-b71030970911",e._sentryDebugIdIdentifier="sentry-dbid-04251ff7-7558-427a-a106-b71030970911")}catch{}})();const l=Y.getLocalizedStrings(),H={listItemMargin:new q(g[3],g[8])};function X(e){const i=E(e,o=>o.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=L(i,o=>o.length>0);return _(d,o=>({date:o[0].transactionDate,transactions:T(o,m=>m.transactionDate,"desc")}))}const G=F(X),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),o=S(),m=x.createRef(),p=x.useRef(null),c=G(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*N.transactionItemHeightResponsive.value(o)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:o,children:t.jsxs($,{children:[t.jsx(Q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(U,{children:s.transactions.map((D,b)=>t.jsx(P,{data:D,boxType:A(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(J,{children:t.jsx(y,{windowSize:o,children:t.jsx(O,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(K,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(z,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
2
+ margin: ${e=>`${r.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
+ `,J=a.div`
4
+ display: flex;
5
+ height: 100%;
6
+ flex: 1 1 auto;
7
+ flex-direction: row;
8
+ justify-content: center;
9
+ align-items: flex-end;
10
+ `,K=a.div`
11
+ display: flex;
12
+ height: 100%;
13
+ flex-direction: column;
14
+ width: 100%;
15
+ padding-bottom: ${r.sp7};
16
+ `,O=a(R)`
17
+ display: flex;
18
+ color: ${e=>e.theme.colors.grey2};
19
+ `,Q=a(B)`
20
+ display: flex;
21
+ height: 21px;
22
+ margin-bottom: ${r.sp2};
23
+ margin-top: ${r.sp3};
24
+ color: ${e=>e.theme.colors.grey1};
25
+ `,$=a.div`
26
+ display: flex;
27
+ flex-direction: column;
28
+ width: 100%;
29
+ height: 100%;
30
+ `,U=a.div`
31
+ display: flex;
32
+ flex: 1 1 auto;
33
+ flex-direction: column;
34
+ box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
35
+ border-radius: ${r.sp2};
36
+ background-color: ${e=>e.theme.colors.grey5};
37
+ `,Z=a(C)`
38
+ scrollbar-width: thin;
39
+ scrollbar-color: transparent transparent;
40
+ &::-webkit-scrollbar {
41
+ width: ${r.sp2};
42
+ height: ${r.sp0};
43
+ background-color: transparent;
44
+ }
45
+ &::-webkit-scrollbar-track {
46
+ box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
47
+ -webkit-box-shadow: inset 0 0 2px ${u.scrollbarBoxShadow};
48
+ background-color: transparent;
49
+ }
50
+ &::-webkit-scrollbar-thumb {
51
+ background-color: transparent;
52
+ }
53
+
54
+ &:hover {
55
+ scrollbar-color: ${e=>e.theme.colors.grey1} transparent;
56
+ &::-webkit-scrollbar {
57
+ width: ${r.sp2};
58
+ height: ${r.sp0};
59
+ background-color: transparent;
60
+ }
61
+ &::-webkit-scrollbar-thumb {
62
+ background-color: ${e=>e.theme.colors.grey1};
63
+ border-radius: 2px;
64
+ }
65
+ }
66
+ `;export{pe as default};
@@ -0,0 +1,21 @@
1
+ import{q as O,a8 as U,F as S,cB as q,aA as H,V as n,cm as Q,cn as X,co as Z,ab as G,aO as J,y as b,eR as K,o as Y,b7 as ee,c as o}from"./index-CiMyMhgu.js";import{a as C}from"./sentry-DMKAGVXl.js";import{n as h}from"./mui-D2MqZYRi.js";import{bi as T}from"./zeni-epic-state-DjAFCaxy.js";import{e as ne}from"./BankAccountSection-DRrNcA79-D0y5RgB_.js";import{M as te}from"./MagicLinkTitleSection-FMRBLlRJ-BJi3iHKO.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Ub-gsfhE-pvCiKI7-.js";import{T as ie}from"./MailingDetailsSection-CiJ5JLA6-Dh-rh1lg.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0252b449-c15d-426c-be4f-9c881ad8e6f8",e._sentryDebugIdIdentifier="sentry-dbid-0252b449-c15d-426c-be4f-9c881ad8e6f8")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",D=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:g,currencySymbol:v,amount:R,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:P,onAddressClick:L,onBackClick:w}=e,u=O(),c=U({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[E,f]=C.useState(!1),a=S.getLocalizedStrings().spendManagement.billPay.vendorCreation,W=S.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,F={onOkClick:()=>{f(!1),c.reset(),w?.()},onCancelClick:()=>{f(!1)}},_=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&K.test(d)===!0&&P?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&q(()=>_(d,m))});return()=>{p.unsubscribe()}});const V=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!H(x!=null?T(x):x,r!=null?T(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[E===!0?n.jsx(Q,{titleComponent:n.jsx(Z,{children:a.discardTitle}),descriptionComponent:n.jsx(X,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:F}):null,n.jsx(ae,{header:g?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:R??0}):M.addWireDetails,isMagicLink:g,isDirty:N,onBackClick:w,setShowConfirmationPopup:f}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(G,{...c,children:n.jsxs("form",{id:D(B),onSubmit:V,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(J,{formId:D(B),primaryBtn:{label:g?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!g,cancelBtn:{label:W.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?f(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
+ padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
+ padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
+ padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
5
+ padding-bottom: ${e=>i.paddingTopBottom.valuePx(e.size)};
6
+ background: ${e=>e.theme.colors.grey4};
7
+ `,de=h(ee)`
8
+ color: ${e=>e.theme.colors.champion};
9
+ margin-left: ${e=>i.marginLeft.valuePx(e.size)};
10
+ margin-top: ${Y.sp3};
11
+ `,le=h.div`
12
+ display: flex;
13
+ flex-direction: column;
14
+ flex-grow: 1;
15
+ `,ue=h.div`
16
+ background-color: ${e=>e.theme.colors.grey4};
17
+ display: flex;
18
+ flex-direction: column;
19
+ width: 100%;
20
+ height: 100%;
21
+ `;export{xe as w};
@@ -1,4 +1,4 @@
1
- import{V as t,c0 as it,o as s,q as he,c1 as nt,am as He,p as ue,y as W,L as lt,F,c2 as dt,bL as Ue,c as B,b7 as qe,ak as L,bO as _e,b as te,al as be,n as ae,d as We,bQ as ct,c3 as xe,c4 as ge,m as Ge,c5 as Ze,an as ye,c6 as Z,bJ as pt,b8 as mt,c7 as ft,c8 as ht,bI as ut,bP as bt,ap as xt,c9 as gt,bY as yt,at as $t}from"./index-DJLrbf0F.js";import{a as h,S as $e}from"./core-CA3j8Axi.js";import{n,k as Je}from"./mui-DpJXlk4t.js";import{E$ as me,F0 as C,F1 as J,bO as P,F2 as K,F3 as we,bj as wt,F4 as U,F5 as _,F6 as Ft,F7 as jt,F8 as vt,F9 as Ot,Fa as Yt}from"./zeni-epic-state-CQt4n3Xe.js";import{m as Dt}from"./analyticsHelper-DmujELNG-B2_5NV-p.js";import{g as kt,x as _t}from"./ReportTableViewSelector-C8e6IEWt-BJN3fro7.js";import{t as Ct}from"./page-detail-CWX5S47F-Byx36A1h.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";import"./CollapsableReportTable-hL_Ycouc-B8J7Q_nq.js";import"./AccountRow-BM2kGWyR-T6iB2hx_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="a4ce7350-60d8-427e-96c5-43e0b16afeae",e._sentryDebugIdIdentifier="sentry-dbid-a4ce7350-60d8-427e-96c5-43e0b16afeae")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=_(l,e);const{fyYear:u}=_(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
1
+ import{V as t,c0 as it,o as s,q as he,c1 as nt,am as He,p as ue,y as W,L as lt,F,c2 as dt,bL as Ue,c as B,b7 as qe,ak as L,bO as _e,b as te,al as be,n as ae,d as We,bQ as ct,c3 as xe,c4 as ge,m as Ge,c5 as Ze,bJ as pt,b8 as mt,an as ye,c6 as Z,c7 as ft,c8 as ht,bH as ut,bP as bt,ap as xt,c9 as gt,bY as yt,at as $t}from"./index-CiMyMhgu.js";import{a as h,S as $e}from"./sentry-DMKAGVXl.js";import{n,k as Je}from"./mui-D2MqZYRi.js";import{E_ as me,E$ as C,F0 as J,bL as P,F1 as K,F2 as we,F3 as U,bh as wt,F4 as _,F5 as Ft,F6 as jt,F7 as vt,F8 as Ot,F9 as Yt}from"./zeni-epic-state-DjAFCaxy.js";import{m as Dt}from"./analyticsHelper-DmujELNG-ClL2XzYx.js";import{g as kt,x as _t}from"./ReportTableViewSelector-C8e6IEWt--jlW7QpR.js";import{t as Ct}from"./page-detail-CWX5S47F-CycRTeYU.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";import"./CollapsableReportTable-hL_Ycouc-CWDILu02.js";import"./AccountRow-BM2kGWyR-CJCg6x0x.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="65e7165c-0f9c-4424-bc65-2652a58053f2",e._sentryDebugIdIdentifier="sentry-dbid-65e7165c-0f9c-4424-bc65-2652a58053f2")}catch{}})();const Pt=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function ie(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=C(r.startDate,e,"quarter"),{endOfTimeframeFY:p}=C(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");i=Math.ceil(Math.ceil(p.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function oe(e,o,r,a=1){if(a>1){const i=J(r,e,a-1,o),{startOfTimeframeFY:l}=C(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Ce{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,p=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=p}get value(){return oe(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=me(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=C(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=C(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=C(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=ie(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=C(me(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=C(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const le=["1","2","3","4"],de=wt().localeData().monthsShort(),A={pdf:12,excel:100,csv:100},E=(e,o,r)=>{const a=F.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:p}=r;let m=l;for(;m.isSameOrBefore(p,"year");)i.push(m.format(a)),m=me(m,e,1,"year")}else{const{startOfTimeframeFY:l}=C(r.startDate,e,"year"),{endOfTimeframeFY:p}=C(r.endDate,e,"year");let{fyYear:m}=_(l,e);const{fyYear:u}=_(p,e);for(;m<=u;)i.push(`${m}`),m++}return i},St=n.div`
2
2
  padding: ${s.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${s.sp1};
@@ -1,4 +1,4 @@
1
- import{q as a,V as i,bQ as y,o as r,F as h,y as s,b$ as P,a as c,B as g,L as b,c as t,aL as L,jT as k,jU as D,jV as C}from"./index-DJLrbf0F.js";import{n as o}from"./mui-DpJXlk4t.js";import"./core-CA3j8Axi.js";import"./sentry-BA4piVNf.js";import"./zeni-epic-state-CQt4n3Xe.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="afcdc483-e800-44f9-a54e-40f44a748be9",e._sentryDebugIdIdentifier="sentry-dbid-afcdc483-e800-44f9-a54e-40f44a748be9")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},j={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),B({rewardsPlan:e})],d=a();return i.jsx(q,{children:n.map((v,S)=>i.jsxs(V,{children:[i.jsx(E,{children:v}),S<n.length-1?i.jsx(A,{windowSize:d}):null]},`step_${S}`))})},I=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},B=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(T,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},x=o.div`
1
+ import{q as a,V as i,bQ as y,o as r,y as s,F as h,b$ as P,a as c,B as g,L as b,c as t,aK as L,jT as k,jU as D,jV as C}from"./index-CiMyMhgu.js";import{n as o}from"./mui-D2MqZYRi.js";import"./sentry-DMKAGVXl.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./zeni-epic-state-DjAFCaxy.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ba5f1078-dc3f-413b-8fef-66ef3c7b989a",e._sentryDebugIdIdentifier="sentry-dbid-ba5f1078-dc3f-413b-8fef-66ef3c7b989a")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},j={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},p=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),B({rewardsPlan:e})],d=a();return i.jsx(q,{children:n.map((v,S)=>i.jsxs(V,{children:[i.jsx(E,{children:v}),S<n.length-1?i.jsx(A,{windowSize:d}):null]},`step_${S}`))})},I=()=>{const e=a(),n=p.item1;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(M,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=p.item2;return i.jsxs(x,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(f,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(z,{windowSize:e,children:n.content})})]})},B=({rewardsPlan:e})=>{const n=a(),d=p.item3;return i.jsxs(x,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(T,{windowSize:n})}),i.jsx(f,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(z,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",L("0,0",e.referrerAmount))})})]})},x=o.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${r.sp2};
4
4
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -60,7 +60,7 @@ import{q as a,V as i,bQ as y,o as r,F as h,y as s,b$ as P,a as c,B as g,L as b,c
60
60
  z-index: -1;
61
61
  `,E=o.div`
62
62
  padding-bottom: ${r.sp4};
63
- `,{common:{navBar:{back:F}}}=h.getLocalizedStrings(),w={navBarContainerPaddingXaxis:new s(10,t[3]),containerPaddingLeft:new s(t[3],t[6],t[8]),containerPaddingRight:new s(t[3],t[6],t[8])},H={title:new c("standardRegular","largeRegular")},{referAndEarn:W}=h.getLocalizedStrings().rewardsPage;function ce({rewardsPlan:e,onDismissClick:n}){const d=a();return i.jsxs(X,{windowSize:d,children:[i.jsx(G,{windowSize:d,children:i.jsxs(J,{windowSize:d,children:[d==="small"&&i.jsx(O,{children:i.jsx(y,{enterDelay:600,title:F,placement:"bottom",style:{padding:`${r.sp1} ${r.sp2}`},children:i.jsx(Z,{onClick:n})})}),i.jsx(Q,{windowSize:d,children:W}),d!=="small"&&i.jsx(K,{onClick:n})]})}),i.jsx(U,{windowSize:d,children:i.jsx(_,{rewardsPlan:e})})]})}const X=o.div`
63
+ `,{common:{navBar:{back:F}}}=h.getLocalizedStrings(),w={navBarContainerPaddingXaxis:new s(10,t[3]),containerPaddingLeft:new s(t[3],t[6],t[8]),containerPaddingRight:new s(t[3],t[6],t[8])},H={title:new c("standardRegular","largeRegular")},{referAndEarn:W}=h.getLocalizedStrings().rewardsPage;function ce({rewardsPlan:e,onDismissClick:n}){const d=a();return i.jsxs(X,{windowSize:d,children:[i.jsx(U,{windowSize:d,children:i.jsxs(J,{windowSize:d,children:[d==="small"&&i.jsx(O,{children:i.jsx(y,{enterDelay:600,title:F,placement:"bottom",style:{padding:`${r.sp1} ${r.sp2}`},children:i.jsx(Z,{onClick:n})})}),i.jsx(K,{windowSize:d,children:W}),d!=="small"&&i.jsx(G,{onClick:n})]})}),i.jsx(Q,{windowSize:d,children:i.jsx(_,{rewardsPlan:e})})]})}const X=o.div`
64
64
  display: flex;
65
65
  flex-direction: column;
66
66
  background-color: ${e=>e.theme.colors.grey4};
@@ -74,15 +74,15 @@ import{q as a,V as i,bQ as y,o as r,F as h,y as s,b$ as P,a as c,B as g,L as b,c
74
74
  justify-content: space-between;
75
75
  height: 100%;
76
76
  width: ${e=>e.windowSize==="small"?"100%":"76%"};
77
- `,Q=o(g)`
77
+ `,K=o(g)`
78
78
  color: ${e=>e.theme.colors.primary};
79
79
  width: 96%;
80
80
  text-align: center;
81
81
  ${e=>`${H.title.style(e.windowSize)}`};
82
- `,U=o.div`
82
+ `,Q=o.div`
83
83
  padding-left: ${e=>w.containerPaddingLeft.valuePx(e.windowSize)};
84
84
  padding-right: ${e=>w.containerPaddingRight.valuePx(e.windowSize)};
85
- `,G=o.div`
85
+ `,U=o.div`
86
86
  display: flex;
87
87
  flex-direction: row;
88
88
  justify-content: center;
@@ -92,7 +92,7 @@ import{q as a,V as i,bQ as y,o as r,F as h,y as s,b$ as P,a as c,B as g,L as b,c
92
92
  padding: ${e=>`${w.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${r.sp0}`};
93
93
  z-index: 2;
94
94
  background-color: ${e=>e.theme.colors.grey4};
95
- `,K=o(b)`
95
+ `,G=o(b)`
96
96
  cursor: pointer;
97
97
  color: ${e=>e.theme.colors.hero};
98
98
  width: ${r.sp4};
@@ -1,4 +1,4 @@
1
- import{q as ae,F as ie,fO as de,d as pe,a8 as ce,aN as ue,V as t,cm as me,ao as fe,cn as ge,co as he,gJ as ye,aK as U,cs as be,o as n,bQ as ve,ab as xe,aO as we,y as k,fR as $e,fS as Re,fT as Ce,cx as Ie,b7 as Oe,p as M,cV as je,c as u}from"./index-DJLrbf0F.js";import{a as $}from"./core-CA3j8Axi.js";import{n as l}from"./mui-DpJXlk4t.js";import{Fw as _e,bh as Te}from"./zeni-epic-state-CQt4n3Xe.js";import{f as ke}from"./AllUserItems-CVZZU-J3-TfKbUj2d.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";import"./LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-Bns3vXLL.js";import"./RoleWithToolTip-fC3byzzv-DteZC2-q.js";import"./LabeledZeniRolesDropDownField-dpz7g9jK-BS9FUIQq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="f2909a6f-f19e-478e-a5a5-2811eaa6af02",e._sentryDebugIdIdentifier="sentry-dbid-f2909a6f-f19e-478e-a5a5-2811eaa6af02")}catch{}})();const I={containerPaddingTop:new k(u[3],u[3]),containerPaddingLeft:new k(u[3],u[6],u[6]),containerPaddingRight:new k(u[3],u[6],u[8]),buttonWidth:new k(85,85)},Q="editPeoplePage",R="userItems",d=ie.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:O,mode:p,isZeniTenant:P,onCloseClick:j,onResetClick:_,onSaveClick:m,onDeleteUser:J,onPeopleLocalDataUpdated:K,analytics:z,isReimbursementDisabled:B,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:V})=>{const C=ae(),[X,S]=$.useState(!1),[Y,H]=$.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=$.useRef(null),D=$.useMemo(()=>de(B,N,Z,b,v,V,q),[B,N,Z,b,v,V,q]),A=pe(),a=ce({mode:"onBlur",reValidateMode:"onChange",defaultValues:W(e.people,o,y,p,D,b,v),values:W(e.people,o,y,p,D,b,v)}),se=a.handleSubmit(()=>{G()&&m()},()=>{G(),console.warn("Edit Profile form error")}),G=()=>{const f=a.getValues();let r=!0;return f.userItems.forEach((g,x)=>{const{role:E,department:i,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=E.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(a.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map(w=>w.selectedOption).filter(w=>w!=null):[]).length<1&&(a.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&i?.selectedOption==null&&(b||v||(a.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(a.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(f,r)=>{const g=[],{userItems:x}=r,E=e.person?.userRole?.userRoleId;x.forEach(i=>{let h={};if(E!=null){if(p==="zeni_only")h={email:i.email,role:i.role.selectedOptions};else{const c=i.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(i.nonZeniRole?.productsByUserRole[c]??[]).map(L=>_e(L.selectedOption?.value)).filter(L=>L!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const w=Te(s);h={email:i.email,role:s,departmentId:w?void 0:i.department?.selectedOption?.value,managerId:w?void 0:i.manager?.selectedUser}}g.push(h)}}),K(g)};$.useEffect(()=>{const f=a.watch((r,{name:g})=>{g!=null&&r!=null&&ne(g,r)});return()=>{f.unsubscribe()}});const oe=()=>{S(!0)},re={onOkClick:()=>{const f=e.person;z?.trackRemoveUserAccess(f.userRole.userRoles,f.userRole.userEmail),J?.(e.person)},onCancelClick:()=>{S(!1)}},F=ue(e.person?.update),T=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return $.useEffect(()=>{T==null&&F==="removeUsers"&&(S(!1),_?.())},[T,F]),t.jsxs(t.Fragment,{children:[X===!0?t.jsx(me,{titleComponent:t.jsx(he,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:T==="removeUsers",isDisabled:T==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(Ue,{children:t.jsx(ze,{src:e.person?.user.photo?.toString()??fe,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(ye,{title:ee,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:j,isTitleAlignLeft:C==="small"}),t.jsxs(Pe,{"data-testid":U("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Le,{children:[t.jsx(be,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Se,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Ee,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(ve,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(xe,{...a,children:t.jsx("form",{id:`${Q}_form`,onSubmit:se,children:t.jsx(ke,{control:a.control,sectionId:R,deleteConfirmationIndex:Y,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:P,classList:y,managersList:o,controllersList:O,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),t.jsx(we,{formId:`${Q}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:j},separatorStyle:{marginRight:n.sp4}})]})},W=(e,o,y,O,p,P,j)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:Ie.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:Ce(e[0]?.role),allRootRole:Re(P,j)},productsByUserRole:$e(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Pe=l.div`
1
+ import{q as ie,fO as ae,d as de,a8 as pe,aN as ce,V as t,cm as ue,ao as me,cn as fe,co as ge,gJ as he,cs as ye,o as n,bQ as be,aM as U,ab as ve,aO as xe,y as k,F as $e,cx as we,fR as Re,fS as Ce,fT as Ie,b7 as Oe,p as M,cV as je,c as u}from"./index-CiMyMhgu.js";import{a as w}from"./sentry-DMKAGVXl.js";import{n as l}from"./mui-D2MqZYRi.js";import{Fv as _e,bg as Te}from"./zeni-epic-state-DjAFCaxy.js";import{f as ke}from"./AllUserItems-CVZZU-J3-COeMV7u0.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";import"./LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-CeEZ7NWG.js";import"./RoleWithToolTip-fC3byzzv-Da5EXkAB.js";import"./LabeledZeniRolesDropDownField-dpz7g9jK-1OORssNe.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c00205f6-0a1b-41b9-af6a-37ca2a1e733f",e._sentryDebugIdIdentifier="sentry-dbid-c00205f6-0a1b-41b9-af6a-37ca2a1e733f")}catch{}})();const I={containerPaddingTop:new k(u[3],u[3]),containerPaddingLeft:new k(u[3],u[6],u[6]),containerPaddingRight:new k(u[3],u[6],u[8]),buttonWidth:new k(85,85)},Q="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:O,mode:p,isZeniTenant:P,onCloseClick:j,onResetClick:_,onSaveClick:m,onDeleteUser:J,onPeopleLocalDataUpdated:X,analytics:z,isReimbursementDisabled:B,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:V})=>{const C=ie(),[Y,S]=w.useState(!1),[K,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),D=w.useMemo(()=>ae(B,N,Z,b,v,V,q),[B,N,Z,b,v,V,q]),A=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:W(e.people,o,y,p,D,b,v),values:W(e.people,o,y,p,D,b,v)}),se=i.handleSubmit(()=>{G()&&m()},()=>{G(),console.warn("Edit Profile form error")}),G=()=>{const f=i.getValues();let r=!0;return f.userItems.forEach((g,x)=>{const{role:E,department:a,nonZeniRole:h,manager:c}=g;if(p==="zeni_only"){const s=E.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(f,r)=>{const g=[],{userItems:x}=r,E=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(E!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(L=>_e(L.selectedOption?.value)).filter(L=>L!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=Te(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}g.push(h)}}),X(g)};w.useEffect(()=>{const f=i.watch((r,{name:g})=>{g!=null&&r!=null&&ne(g,r)});return()=>{f.unsubscribe()}});const oe=()=>{S(!0)},re={onOkClick:()=>{const f=e.person;z?.trackRemoveUserAccess(f.userRole.userRoles,f.userRole.userEmail),J?.(e.person)},onCancelClick:()=>{S(!1)}},F=ce(e.person?.update),T=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{T==null&&F==="removeUsers"&&(S(!1),_?.())},[T,F]),t.jsxs(t.Fragment,{children:[Y===!0?t.jsx(ue,{titleComponent:t.jsx(ge,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(fe,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:T==="removeUsers",isDisabled:T==="removeUsers",style:{background:A.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(Ue,{children:t.jsx(ze,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:A.colors.grey4,style:{zIndex:4},onCloseClick:j,isTitleAlignLeft:C==="small"}),t.jsxs(Pe,{"data-testid":U("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Le,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Se,{children:[t.jsx(De,{children:e.person?.user?.firstName?t.jsxs(Ee,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ze,{className:"delete-icon-wrapper","data-testid":U("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ne,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${Q}_form`,onSubmit:se,children:t.jsx(ke,{control:i.control,sectionId:R,deleteConfirmationIndex:K,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:P,classList:y,managersList:o,controllersList:O,customerRoleOptions:D,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),t.jsx(xe,{formId:`${Q}_form`,"data-testid":U("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:j},separatorStyle:{marginRight:n.sp4}})]})},W=(e,o,y,O,p,P,j)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(P,j)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Pe=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{aN as ri,d as ft,av as wt,a8 as an,ax as Ii,F as we,aA as rn,q as Ae,gc as oo,ge as ao,gf as ro,V as t,gz as lo,ab as ln,cm as si,cn as sn,co as dn,aK as K,o as i,y as d,bz as Di,bm as so,dr as co,gg as uo,gr as cn,gm as Ti,aO as un,an as mn,gn as mo,gA as _e,ew as qe,e_ as di,gB as zt,m as xt,gC as po,p as j,L as pn,ap as ci,c as a,bv as ho,gp as go,cC as yo,eD as ui,gD as Bt,fd as Se,ff as $e,cE as mi,cO as ot,eh as bo,fc as hn,b as Rt,cH as gn,cG as it,cW as Te,ag as pi,gE as fo,fv as wo,cB as xo,aS as ji,fp as So,bu as $o,b8 as yn,u as vo,eg as Co,b5 as Mt,gh as ko,bS as bn,a as hi,B as fn,cY as wn,cf as Ft,eR as Io,b7 as Do,d0 as To,fk as jo,ak as gi,n as Oi,bQ as xn,a$ as Pi,cV as Oo,al as Po,cK as Sn,aL as Ro,gF as $n,gG as li,g7 as Ri,gH as Lt,cU as Lo,gb as Ao,bI as zo,cT as Bo}from"./index-DJLrbf0F.js";import{a as $,S as Ct}from"./core-CA3j8Axi.js";import{n}from"./mui-DpJXlk4t.js";import{a as Mo}from"./liveblocks-C2I4vRCJ.js";import{FD as Fo,bO as nt,bS as vn,bj as yi,bp as Cn,bn as Li,FE as Ai}from"./zeni-epic-state-CQt4n3Xe.js";import kn from"./InvoiceUploadSection-DomquLut-e92SA0tf.js";import{r as Eo,f as At,d as bt,p as bi,u as zi,h as Ie}from"./types-DyvtCprH-NFPm5TaG.js";import{I as No}from"./LabeledCreatableSingleSelectField-DKD0oEl8-gq-eDRMt.js";import{S as Wo}from"./CurrencySelectField-DOCEstMc-DZU689ma.js";import{e as Uo}from"./BankAccountSection-DRrNcA79-hP-Vs5m_.js";import{W as _o,A as Vo}from"./BankAccountWarningSection-Ub-gsfhE-CrMug0PW.js";import{o as Ho}from"./radio-default-CiSgisfh-HcY1qXLg.js";import"./sentry-BA4piVNf.js";import"./lottie-B7mXQ-R-.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./utils-DUsHM-Uc.js";import"./lexical-dZFDzIA1.js";import"./AttachmentView-DSP80cjm-UNIl1Ai8.js";import"./uploadReceipts-CPw64UYa-DU-gRzOR.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="edc60b10-3348-4d1a-acef-b7781e6f2ee0",e._sentryDebugIdIdentifier="sentry-dbid-edc60b10-3348-4d1a-acef-b7781e6f2ee0")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:ke}},dateFormat:Ko,common:qo}=we.getLocalizedStrings(),Go=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Ae(),s=wt(),y=Bt(),S=`dashboard_${s.currentTenant?.companyId}`,O=ft(),{formState:{errors:I},getValues:P,trigger:q}=ot(),R=qo.strings.empty,D=P(Me(p,"distanceInMiles")),z=Bi.largeLabelWidth.value(w),ee=P(Me(p,"class")),ie=r.find(A=>A.classId===ee?.selectedOption),ne=Me(p,"class"),Z=Te(I,ne);$.useEffect(()=>{ee?.selectedOption!=null&&(ie?.isDeleted===!0||Z)&&q(ne)},[ee?.selectedOption,ie?.isDeleted,r,ne,q]);const G={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=A=>r.filter(oe=>oe.classId===A)[0]?.accountingClassNumber,Y=r.find(A=>A.classId===o.class),H={valueContainer:A=>({...A,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:S,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...G,entityType:`reimbursement.details.${Ie("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:ke.transactionDate,width:z},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:ke.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:yi(),registerOptions:{required:!0,validate:A=>!!A}}})}),t.jsx(kt,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:S,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...G,entityType:`reimbursement.details.${Ie("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:ke.distanceInMiles,width:z},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:ke.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(kt,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:S,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...G,entityType:`reimbursement.details.${Ie("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:"disabled",label:{label:ke.amount,width:z},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:it(ke.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:D!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${D}`:void 0})}),t.jsx(kt,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:S,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...G,entityType:`reimbursement.details.${Ie("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(mi,{isDisabled:m,label:{label:ke.memo,width:z},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:it(ke.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(kt,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:S,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...G,entityType:`reimbursement.details.${Ie("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(li,{isLoading:!1,label:{label:ke.department,width:z},additionalLabelInfo:ie?.isDeleted===!0&&Te(I,Me(p,"class"))?ke.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:it(ke.department),valueToId:A=>F(A),defaultValue:{selectedOption:Y?.classId,allOptions:qe(k,[])},style:{width:"100%"},customStyleConfig:H,registerOptions:{required:!0,validate:A=>A?.selectedOption==null?!1:r.find(oe=>oe.classId===A?.selectedOption)?.isDeleted===!0?ke.deletedClassError:!0}},style:{borderBottom:`1px solid ${O.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},kt=n.div`
1
+ import{aN as ri,d as ft,av as wt,a8 as an,ax as Ii,aA as rn,q as Ae,gc as oo,ge as ao,gf as ro,V as t,gz as lo,ab as ln,cm as si,cn as sn,co as dn,aM as K,o as i,y as d,bz as Di,bm as so,dr as co,gg as uo,gr as cn,gm as Ti,aO as un,an as mn,gn as mo,gA as _e,ew as qe,e_ as di,gB as zt,F as we,m as xt,gC as po,p as j,L as pn,ap as ci,c as a,bv as ho,gp as go,cC as yo,eD as ui,gD as Bt,fd as Se,cE as mi,fg as $e,cO as ot,eh as bo,fc as hn,b as Rt,cH as gn,cG as it,cW as Te,ag as pi,gE as fo,fv as wo,cB as xo,aS as ji,fp as So,bu as $o,b8 as yn,u as vo,eg as Co,b5 as Mt,gh as ko,bS as bn,a as hi,B as fn,cY as wn,cf as Ft,eR as Io,b7 as Do,d0 as To,fj as jo,ak as gi,n as Oi,bQ as xn,a$ as Pi,cV as Oo,al as Po,cK as Sn,aK as Ro,gF as $n,gG as li,g7 as Ri,gH as Lt,cU as Lo,gb as Ao,bH as zo,cT as Bo}from"./index-CiMyMhgu.js";import{a as $,S as Ct}from"./sentry-DMKAGVXl.js";import{n}from"./mui-D2MqZYRi.js";import{a as Mo}from"./liveblocks-D92pTRaw.js";import{FC as Fo,bL as nt,bP as vn,bo as Cn,bm as Li,FD as Ai,bh as yi}from"./zeni-epic-state-DjAFCaxy.js";import kn from"./InvoiceUploadSection-DomquLut-C6XQxVf3.js";import{r as Eo,f as At,d as bt,p as bi,u as zi,h as Ie}from"./types-DyvtCprH-NFPm5TaG.js";import{I as No}from"./LabeledCreatableSingleSelectField-DKD0oEl8-Cyxj1Kus.js";import{S as Wo}from"./CurrencySelectField-DOCEstMc-BkHxR5HA.js";import{e as Uo}from"./BankAccountSection-DRrNcA79-D0y5RgB_.js";import{W as _o,A as Vo}from"./BankAccountWarningSection-Ub-gsfhE-pvCiKI7-.js";import{o as Ho}from"./radio-default-CiSgisfh-C3-g-fgb.js";import"./core-CadaPWsO.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./recharts-t7V-Kaqf.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";import"./AttachmentView-DSP80cjm-D7w4ZtT4.js";import"./uploadReceipts-CPw64UYa-BgNLcFfw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="d9562af7-7e47-4683-b75f-ebb68516a95f",e._sentryDebugIdIdentifier="sentry-dbid-d9562af7-7e47-4683-b75f-ebb68516a95f")}catch{}})();const Me=(e,o)=>`${e}.${o}`,Bi={largeLabelWidth:new d(120,120,160),paddingBottom:new d(a[3],a[2])},{spendManagement:{reimbursement:{reimbursementDetail:ke}},dateFormat:Ko,common:qo}=we.getLocalizedStrings(),Go=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:C,isDisabled:m,isAddReimbursementDisabled:v,companyMileageConfigInfo:f,reimbursementId:l,classHierarchyList:k})=>{const w=Ae(),s=wt(),y=Bt(),S=`dashboard_${s.currentTenant?.companyId}`,O=ft(),{formState:{errors:I},getValues:P,trigger:q}=ot(),R=qo.strings.empty,D=P(Me(p,"distanceInMiles")),z=Bi.largeLabelWidth.value(w),ee=P(Me(p,"class")),ie=r.find(A=>A.classId===ee?.selectedOption),ne=Me(p,"class"),Z=Te(I,ne);$.useEffect(()=>{ee?.selectedOption!=null&&(ie?.isDeleted===!0||Z)&&q(ne)},[ee?.selectedOption,ie?.isDeleted,r,ne,q]);const G={application:"dashboard",companyId:s.currentTenant?.companyId,tab:"reimbursement",entityId:l},F=A=>r.filter(oe=>oe.classId===A)[0]?.accountingClassNumber,Y=r.find(A=>A.classId===o.class),H={valueContainer:A=>({...A,padding:`2px ${i.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})};return t.jsxs(t.Fragment,{children:[t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.transactionDate`}),roomId:S,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...G,entityType:`reimbursement.details.${Ie("transactionDate",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Sn,{isDisabled:m,label:{label:ke.transactionDate,width:z},style:{paddingBottom:Bi.paddingBottom.valuePx(w),width:"auto"},dateField:{name:Me(p,"transactionDate"),placeholder:ke.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:Ko.visual.defaultInput,autoComplete:"off",maxDate:yi(),registerOptions:{required:!0,validate:A=>!!A}}})}),t.jsx(kt,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:S,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...G,entityType:`reimbursement.details.${Ie("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:v?"disabled":void 0,style:{width:"auto"},label:{label:ke.distanceInMiles,width:z},formattedTextField:{type:"number",name:Me(p,"distanceInMiles"),placeholder:ke.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(kt,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.amount`}),roomId:S,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...G,entityType:`reimbursement.details.${Ie("amount",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(Ri,{isDisabled:"disabled",label:{label:ke.amount,width:z},formattedTextField:{type:"number",name:Me(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:it(ke.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:A=>A!=null?A>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:D!=null&&f?.mileageUnitAmount!=null?`${c.currencySymbol}${f?.mileageUnitAmount} per mile x ${D}`:void 0})}),t.jsx(kt,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.memo`}),roomId:S,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...G,entityType:`reimbursement.details.${Ie("memo",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,children:t.jsx(mi,{isDisabled:m,label:{label:ke.memo,width:z},style:{width:"auto"},text:{type:"text",name:Me(p,"memo"),placeholder:it(ke.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:$n}}})}),t.jsx(kt,{}),t.jsx(Se,{isThreadAllowed:C&&l!=null,dashboardTabKey:$e({type:"details",key:`${e}.mileage.class`}),roomId:S,companyId:s.currentTenant?.companyId??R,companyName:s.currentTenant?.companyName??R,entityId:l,dashboardOptionType:"reimbursement",filterMetaData:{...G,entityType:`reimbursement.details.${Ie("class",e,"mileage")}`},fieldThreadTargetElement:y?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${i.sp2} ${i.sp2}`},children:t.jsx(li,{isLoading:!1,label:{label:ke.department,width:z},additionalLabelInfo:ie?.isDeleted===!0&&Te(I,Me(p,"class"))?ke.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Me(p,"class"),placeholder:it(ke.department),valueToId:A=>F(A),defaultValue:{selectedOption:Y?.classId,allOptions:qe(k,[])},style:{width:"100%"},customStyleConfig:H,registerOptions:{required:!0,validate:A=>A?.selectedOption==null?!1:r.find(oe=>oe.classId===A?.selectedOption)?.isDeleted===!0?ke.deletedClassError:!0}},style:{borderBottom:`1px solid ${O.colors.grey3}`,borderBottomLeftRadius:i.sp2,borderBottomRightRadius:i.sp2},fullWidthSelect:!0},Me(p,"class"))})]})},kt=n.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as b,F as T,aS as x,V as i,aw as C,o,C as p}from"./index-DJLrbf0F.js";import{n as a}from"./mui-DpJXlk4t.js";import{R as v}from"./TrendWithTransactions-Gj-u5KXi-CpckXM1N.js";import"./core-CA3j8Axi.js";import"./sentry-BA4piVNf.js";import"./zeni-epic-state-CQt4n3Xe.js";import"./lottie-B7mXQ-R-.js";import"./liveblocks-C2I4vRCJ.js";import"./utils-DUsHM-Uc.js";import"./analytics-CHPpxU3b.js";import"./recharts-BGdJnVo5.js";import"./lexical-dZFDzIA1.js";import"./TrendChart-D3dT6hUb-CRyvw86n.js";import"./chartTypes-DRiSljvE-CN4L62GH.js";import"./toCOABalancesWithID--oEGymMJ-DrPkDPTu.js";import"./toChartData-CavJzP6f-B2iIF7nP.js";import"./NoDataChart-C5ZP32zB-Co6FSXzL.js";import"./InsightsSection-DvqCilqy-J94KiGaL.js";import"./NavigationDots-BvKSgdgh-LQiuRx4x.js";import"./TransactionList-BixeXh4Y-Il163hc_.js";import"./BoxItem-Bjv3WNXO-DVhc5wWw.js";import"./commonDimensions-BDftm0gJ-DyUDFvZC.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="e9b5f32b-69ac-44db-a583-1dba6d9f55e6",t._sentryDebugIdIdentifier="sentry-dbid-e9b5f32b-69ac-44db-a583-1dba6d9f55e6")}catch{}})();const w=a.div`
1
+ import{d as b,F as T,aS as x,V as i,aw as C,o,C as p}from"./index-CiMyMhgu.js";import{n as a}from"./mui-D2MqZYRi.js";import{R as v}from"./TrendWithTransactions-Gj-u5KXi-_cLHr6Sd.js";import"./sentry-DMKAGVXl.js";import"./liveblocks-D92pTRaw.js";import"./core-CadaPWsO.js";import"./recharts-t7V-Kaqf.js";import"./zeni-epic-state-DjAFCaxy.js";import"./lottie-Dv5hJ5mA.js";import"./analytics-C6L7hlHG.js";import"./lexical-DEI4_j9X.js";import"./utils-BWiizB9D.js";import"./TrendChart-D3dT6hUb-BmrIV_Lt.js";import"./chartTypes-DRiSljvE-CrLsLRjf.js";import"./toCOABalancesWithID--oEGymMJ-DIxvxTaj.js";import"./toChartData-CavJzP6f-Bu_YRbEM.js";import"./NoDataChart-C5ZP32zB-CMBnBikM.js";import"./InsightsSection-DvqCilqy-BsxjZx3R.js";import"./NavigationDots-BvKSgdgh-BXw04_O_.js";import"./TransactionList-BixeXh4Y-DpKuzYhu.js";import"./BoxItem-Bjv3WNXO-d_9opxkd.js";import"./commonDimensions-BDftm0gJ-Bk927TMF.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="cb1dd680-70fb-4aad-8062-eb6d7e683809",t._sentryDebugIdIdentifier="sentry-dbid-cb1dd680-70fb-4aad-8062-eb6d7e683809")}catch{}})();const w=a.div`
2
2
  display: flex;
3
3
  margin: ${o.sp0} ${o.sp0} ${o.sp0} ${o.sp0};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{q as z,F as k,V as i,dn as H,y as l,c_ as O,o as d,a9 as j,aL as S,b1 as A,cq as E,c as r,D as R,al as B,ak as L,b7 as F,ag as N,cv as U,p as W,cy as q}from"./index-DJLrbf0F.js";import{a as f}from"./core-CA3j8Axi.js";import{n}from"./mui-DpJXlk4t.js";import{l as G}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="51ad8990-6e0c-4a58-8081-ebdc72737c4e",e._sentryDebugIdIdentifier="sentry-dbid-51ad8990-6e0c-4a58-8081-ebdc72737c4e")}catch{}})();const m=k.getLocalizedStrings().reports.aging.agingDetail.header,w=[{key:"date",value:m.date,sortOrder:"ascending",width:new l(212,212)},{key:"invoiceNumber",value:m.invoiceNumber,sortOrder:"ascending",width:new l(188,188)},{key:"dueDate",value:m.dueDate,sortOrder:"ascending",width:new l(188,188)},{key:"daysPastDue",value:m.daysPastDue,sortOrder:"ascending",width:new l(188,188)},{key:"amount",value:m.amount,sortOrder:"ascending",width:new l(188,188)},{key:"balance",value:m.balance,sortOrder:"ascending",width:new l(120,120)}],M={headerHeight:new l(45,58)},X=n.div`
1
+ import{q as z,F as k,V as i,dn as H,y as l,c_ as O,o as d,a9 as j,aK as S,b1 as A,cq as E,c as r,D as R,al as B,ak as L,b7 as F,ag as N,cv as U,p as W,cy as q}from"./index-CiMyMhgu.js";import{a as f}from"./sentry-DMKAGVXl.js";import{n}from"./mui-D2MqZYRi.js";import{l as G}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="9084a4f2-1b8b-46ef-ba65-636fa7ff6cda",e._sentryDebugIdIdentifier="sentry-dbid-9084a4f2-1b8b-46ef-ba65-636fa7ff6cda")}catch{}})();const m=k.getLocalizedStrings().reports.aging.agingDetail.header,w=[{key:"date",value:m.date,sortOrder:"ascending",width:new l(212,212)},{key:"invoiceNumber",value:m.invoiceNumber,sortOrder:"ascending",width:new l(188,188)},{key:"dueDate",value:m.dueDate,sortOrder:"ascending",width:new l(188,188)},{key:"daysPastDue",value:m.daysPastDue,sortOrder:"ascending",width:new l(188,188)},{key:"amount",value:m.amount,sortOrder:"ascending",width:new l(188,188)},{key:"balance",value:m.balance,sortOrder:"ascending",width:new l(120,120)}],M={headerHeight:new l(45,58)},X=n.div`
2
2
  top: ${d.sp0};
3
3
  left: ${d.sp0};
4
4
  min-height: ${e=>M.headerHeight.valuePx(e.windowSize)};
@@ -146,4 +146,4 @@ import{q as z,F as k,V as i,dn as H,y as l,c_ as O,o as d,a9 as j,aL as S,b1 as
146
146
  width: fit-content;
147
147
  `,fe=n(R)`
148
148
  color: ${e=>e.theme.colors.primary};
149
- `;function ze({totalBalances:e,entityName:s,reportId:c,reportDate:o,entityLogo:t}){const a=z(),g=a==="large"||a==="extra-large",{reports:{aging:{duration:$,apAgingDetail:b,arAgingDetail:x,apAging:u,arAging:I}},dateFormat:D}=k.getLocalizedStrings(),K=f.useMemo(()=>G(e),[e]);return i.jsxs(me,{isLargeScreen:g,windowSize:a,children:[i.jsxs(pe,{windowSize:a,children:[t!=null?i.jsx(H,{photoUrl:t.toString(),styles:{width:h.nameLogoWidth.valuePx(a),height:h.nameLogoHeight.valuePx(a),marginTop:h.nameLogoMarginTop.valuePx(a)}}):i.jsx(ye,{windowSize:a,children:i.jsx(O,{name:s,size:d.sp5})}),i.jsxs(ue,{children:[i.jsx(fe,{children:s}),i.jsx(j,{controller:c==="accounts_payable_aging",children:i.jsx(Y,{children:`${b.dateLabel} ${o.format(D.visual.MMMDCommaYYYYformat)}`})}),i.jsx(j,{controller:c==="accounts_receivable_aging",children:i.jsx(Y,{children:`${x.dateLabel} ${o.format(D.visual.MMMDCommaYYYYformat)}`})})]})]}),i.jsxs(xe,{isLargeScreen:g,windowSize:a,children:[e.map(C=>i.jsxs(T,{children:[i.jsx(P,{children:$[C.period]}),i.jsx(_,{children:S("0,0",C?.balance)})]},C.period)),i.jsxs(T,{children:[i.jsx(j,{controller:c==="accounts_payable_aging",children:i.jsx(P,{children:u.totalPayable})}),i.jsx(j,{controller:c==="accounts_receivable_aging",children:i.jsx(P,{children:I.totalReceivable})}),i.jsx(_,{children:S("0,0",K?.balance)})]})]})]})}export{Se as L,ze as W};
149
+ `;function ze({totalBalances:e,entityName:s,reportId:c,reportDate:o,entityLogo:t}){const a=z(),g=a==="large"||a==="extra-large",{reports:{aging:{duration:$,apAgingDetail:b,arAgingDetail:x,apAging:u,arAging:K}},dateFormat:D}=k.getLocalizedStrings(),I=f.useMemo(()=>G(e),[e]);return i.jsxs(me,{isLargeScreen:g,windowSize:a,children:[i.jsxs(pe,{windowSize:a,children:[t!=null?i.jsx(H,{photoUrl:t.toString(),styles:{width:h.nameLogoWidth.valuePx(a),height:h.nameLogoHeight.valuePx(a),marginTop:h.nameLogoMarginTop.valuePx(a)}}):i.jsx(ye,{windowSize:a,children:i.jsx(O,{name:s,size:d.sp5})}),i.jsxs(ue,{children:[i.jsx(fe,{children:s}),i.jsx(j,{controller:c==="accounts_payable_aging",children:i.jsx(Y,{children:`${b.dateLabel} ${o.format(D.visual.MMMDCommaYYYYformat)}`})}),i.jsx(j,{controller:c==="accounts_receivable_aging",children:i.jsx(Y,{children:`${x.dateLabel} ${o.format(D.visual.MMMDCommaYYYYformat)}`})})]})]}),i.jsxs(xe,{isLargeScreen:g,windowSize:a,children:[e.map(C=>i.jsxs(T,{children:[i.jsx(P,{children:$[C.period]}),i.jsx(_,{children:S("0,0",C?.balance)})]},C.period)),i.jsxs(T,{children:[i.jsx(j,{controller:c==="accounts_payable_aging",children:i.jsx(P,{children:u.totalPayable})}),i.jsx(j,{controller:c==="accounts_receivable_aging",children:i.jsx(P,{children:K.totalReceivable})}),i.jsx(_,{children:S("0,0",I?.balance)})]})]})]})}export{Se as L,ze as W};