@zeniai/web-cockpit-ui 1.15.53-dev → 1.15.53-prod

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.

Potentially problematic release.


This version of @zeniai/web-cockpit-ui might be problematic. Click here for more details.

Files changed (265) hide show
  1. package/dist/assets/{ACHDetailsPage-D2Xav-UW-DmDhM3Ya.js → ACHDetailsPage-D2Xav-UW-CNyXc2q1.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DlTdGosv-DQP6RhOc.js → AIPerformancePage-DlTdGosv-CoMZjNoX.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-B8-8kUGD-CToACIO4.js → AccountInfoPage-B8-8kUGD-8w9j4dqk.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BS2TBUSE-CXMTjqRR.js → AccountInfoPageContent-BS2TBUSE-KTN9dU5f.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-aukulrV7-BdgVRhsa.js → AccountLockedInfoModal-aukulrV7-NIXWm48B.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-CswOv8sQ.js → AccountReconDetailsDrawerPage-kQJld6_N-C1vmK_-Z.js} +3 -3
  7. package/dist/assets/{AccountRow-BiEYR4Y1-CmfzC2gE.js → AccountRow-BiEYR4Y1-MB8pZeni.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-D0z5TFOj.js → AccountsPromoCardStack-DBQnDPXQ-CwEqM90O.js} +6 -6
  9. package/dist/assets/{AddAddressForCardDrawer-DTnfk8K7-BFrcrnKm.js → AddAddressForCardDrawer-DTnfk8K7-B1Pu_NaB.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-C4EwdLZJ-BInlB4A7.js → AddToWalletPage-C4EwdLZJ-CdqlY1S_.js} +11 -11
  11. package/dist/assets/{AgingReportsPage-vAvkUfOS-D7pZCvXq.js → AgingReportsPage-vAvkUfOS-DDqmwNch.js} +1 -1
  12. package/dist/assets/{AllUserItems-qrYg6Gdx-BCdM6c47.js → AllUserItems-qrYg6Gdx-59Jumbts.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-BRYQMwo2-D_TMSgpW.js → ApAgingDetailPage-BRYQMwo2-B6tiaEyA.js} +1 -1
  14. package/dist/assets/{AppBasePage-DrE-W6d7-DvGq3J7n.js → AppBasePage-DrE-W6d7-3USQGPUO.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-ATbZG_cu-BjnW7Nvp.js → AppDrawerContent-ATbZG_cu-BvvAfkxb.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-5MYC1I6k-Ds-SstoD.js → ApprovalRulesSettingsPage-5MYC1I6k-HVmBb4cv.js} +6 -6
  17. package/dist/assets/{ArAgingChart-CuzG9AZY-LyeeC-_F.js → ArAgingChart-CuzG9AZY-D78G_VVn.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DwRkcLEu-BwO8bg0D.js → ArAgingDetailPage-DwRkcLEu-D81WmJqn.js} +1 -1
  19. package/dist/assets/{AttachmentView-BrQRChzc-Dm5F4MLP.js → AttachmentView-BrQRChzc-C3UjjC9d.js} +1 -1
  20. package/dist/assets/{BankAccountSection-hcKEMs80-9386hWb2.js → BankAccountSection-hcKEMs80-DOB-QXa9.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-DXfuEuGA.js → BankAccountWarningSection-CpxVDMSZ-ZxypBLGM.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-B0uSwnpP.js → BankConnectionsSettingsPage-Bdw1K00m-DSszExQn.js} +1 -1
  23. package/dist/assets/{BillDetailPage-D0NLFZXA-BAo9uy4y.js → BillDetailPage-D0NLFZXA-ohTix2QH.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-BXtcghrA.js → BillPayApprovalRuleDetailPage-DkpCvYvo-D0tz2mnp.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-BhjcWx9B.js → BillPayApprovalRulesPage-BEqZD0GU-DgMqvkn_.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BMcP4EU5-DK5zwMUs.js → BillPayPromoPage-BMcP4EU5-BaJUNmtb.js} +6 -6
  27. package/dist/assets/{BillPaySetUpPage-WdEdbf16-BdgMOYAB.js → BillPaySetUpPage-WdEdbf16-CZ2Ksorb.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-GtRUqSZm-JcS3RT-t.js → BillingSettingsPage-GtRUqSZm-CcpJuWAg.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DAUoo9pq-CGT1MF5v.js → BillsBulkReviewDrawerPage-DAUoo9pq-y1Zpd-6j.js} +1 -1
  30. package/dist/assets/{BoxItem-CACRFWG2-CnmPjRPK.js → BoxItem-CACRFWG2-BQt9NwOK.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-9gZbBDL6-Dso7HJiD.js → BusinessVerificationPage-9gZbBDL6-D8fEfHVC.js} +2 -2
  32. package/dist/assets/{CardNumberSubText-C-oVdziK-DnaANIDf.js → CardNumberSubText-C-oVdziK-ClZIyAyF.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BhFKSl4p-DFlKoeZU.js → CashbackDetailPage-BhFKSl4p-Zys0m4CO.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-D8J6HINu-Cy0gxJPT.js → ChargeCardDetailPage-D8J6HINu-Bo4cyXcw.js} +26 -26
  35. package/dist/assets/{ChargeCardListPage-tdUKyHdz-DaeStUfM.js → ChargeCardListPage-tdUKyHdz-C43sdD2G.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-CByk3iqX-BP_2jTx-.js → ChargeCardListTable-CByk3iqX-DLrnc4ae.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-CqZTiCeW.js → ChargeCardPaymentHistoryPage-B8zRcrjo--Yr_BcfD.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-C4cgx2gm-EwMGXlYV.js → ChargeCardPromoPage-C4cgx2gm-BOWg0jUr.js} +14 -14
  39. package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-CKdHxRmI.js → ChargeCardSetupPage-DtwiTNKA-BOc-DTjW.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-BNkqxRQ2.js → ChargeCardStatementsPage-B0KPw52e-6bM7ZyYY.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-BSOutqAK.js → CheckDepositDrawerPage-DKNAXI77-C5L0tTGk.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-Cq8bhaYC-DXVGhc1U.js → CollapsableReportTable-Cq8bhaYC-D0tK5pUG.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-DB11gG9H.js → CompanyOfficerDetailsSection-Rk0B5cB5-Bsmn3TDH.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-CHaKk74P-BdhNiQs5.js → CompanyPassportCard-CHaKk74P-C2b4TRPw.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-DXWXFFKM-1Gz0LfNo.js → CompanyPassportPage-DXWXFFKM-B9DmK4RN.js} +1 -1
  46. package/dist/assets/{CompleteProfile-ChaWsK6t-CkLnv3sI.js → CompleteProfile-ChaWsK6t-Cd_DGhFO.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-CdB5fRMt-CRqwwWlg.js → ConfettiBurst-CdB5fRMt-fSelFPlj.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CR-47kA2.js → ConstrainedInnerElement-BeIpAPjB-x6D80n7G.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-CAWRF5So.js → CreateOrEditVendorPage-C_8Jqubo-6MGeoxc5.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-2rzY7Y_f.js → CreditCardPaymentDrawerPage-lOjOtk28-BHR1lLcT.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-BDqU4HVy-DUa8DDre.js → CurrencySelectField-BDqU4HVy-CvnjwBz1.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-DB3F8kyi.js → CustomerOnboardingActivationPage-DO6NCakm-Bc2So-4X.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-D7fagFOM.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DQwtiYKE.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DoWk80gY.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-B6Cq5cCV.js → CustomerOnboardingNoStepsPage-CbG5WshV-CjbZA9c-.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-Bbvqfzve.js → CustomerOnboardingPage-DyVyf8oK-AuNA5ENc.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-M5aWZTXB.js → CustomerOnboardingProductSuitePage-1F3JfCRp-CfTfV9zh.js} +1 -1
  58. package/dist/assets/{Dashboard-Csggwob0-e7KLrAzz.js → Dashboard-Csggwob0-gMoXi-EH.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-DFIdi_I0-uYWfrIup.js → DashboardReportPage-DFIdi_I0-DSWXu8Hp.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-C3Ovv-ob-DszHhGbA.js → DashboardSidebarBackgroundAnimation-C3Ovv-ob-CuTt44Dk.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-e2AT80rO.js → DepositAccTransactionItem-CZ7v1T4S-4gI0mLyD.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-Db6KKzae.js → DepositAccTransactionListPage-FldPGX6K-B8F3xoqK.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-h0uzjMVt.js → DomesticWireDetailsPage-C--eZ-UG-6Crr2LoJ.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-4f9deyJS-Bmz0ejyE.js → DownloadOverlay-4f9deyJS-ffKSKyws.js} +1 -1
  65. package/dist/assets/{DrawerPage-roO3xvRT-BGC_3oGn.js → DrawerPage-roO3xvRT-DSkqjL0x.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-pi5RclAj-BAKsXmAv.js → EditPeoplePage-pi5RclAj-CuNY86dS.js} +3 -3
  67. package/dist/assets/{EditReimbursementDetailPage-CIUcImns-CpOeMOYM.js → EditReimbursementDetailPage-CIUcImns-DJEMwcM_.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-OTKTVNMD-madC1I3v.js → EntityDetailPage-OTKTVNMD-CjIHF41D.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-fBL4TZpT-DpmgFY5q.js → EntitySummarySection-fBL4TZpT-DhRCy8ou.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-Ba-7I2q6.js → ExpenseAutomationOverviewPage-CnhNINCc-CeerlQ0C.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-BDLCJbFw-B65uFwyw.js → ExpenseAutomationPage-BDLCJbFw-C7whqX-g.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-c8oTCnBR-DLD1ESsm.js → ExpressPayPage-c8oTCnBR-CkDahyQt.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-DkiAajs2-jW7XTS4W.js → FeaturePreviewPage-DkiAajs2-BeoPPwLp.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-GaWu1kt9-DPxSdgo3.js → FollowStepsSection-GaWu1kt9-GSG6Qzzx.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DEzj0RVG-CeRFieMj.js → GlobalReviewListPage-DEzj0RVG-ChNJAT_n.js} +1 -1
  76. package/dist/assets/{InformationCardStack-dMFbHUWM-xL6qax_7.js → InformationCardStack-dMFbHUWM-CP_SVYds.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-BlXkyuyz-CSObZxx-.js → InsightsCardStack-BlXkyuyz-BXAqdcgw.js} +1 -1
  78. package/dist/assets/{InsightsSection-D-oCmrir-BDt4fRIh.js → InsightsSection-D-oCmrir-DsyYY69e.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-BXO5c_dn.js → IntegrationsSettingsPage-D-hfghuq-AjwfTwqu.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-B7KYCkcv.js → InternationalWireSwiftDetailsPage-DxdKE300-pEPcQv22.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-CkSmhOrS-D-mLEGol.js → InternationalWireVerificationPage-CkSmhOrS-CkeJ0LNp.js} +1 -1
  82. package/dist/assets/{InviteFormPage-BCdalqtP-CaETHzpB.js → InviteFormPage-BCdalqtP-ReXaK5qV.js} +1 -1
  83. package/dist/assets/{InvitePageListView-B88FW48q-fpDsceSB.js → InvitePageListView-B88FW48q-D12AKiHm.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-Z-2L7lWc-UD6n_Q7k.js → InvitePeoplePage-Z-2L7lWc-pIkWb_X4.js} +4 -4
  85. package/dist/assets/{InvoiceUploadSection-C8hytmay-HB4lI_N7.js → InvoiceUploadSection-C8hytmay-BewwZtqa.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-B6wmvbEr-JIsHDCkw.js → IssueChargeCardPage-B6wmvbEr-DwDxfaj_.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CQrDCgNs-3ouFKt7p.js → LabeledAddressValue-CQrDCgNs-Bb_lvnHX.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BoHS44YO-B3Azc_ND.js → LabeledAddressValueField-BoHS44YO-Cej4tiTJ.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-BsFqjCpn-CNZwev0o.js → LabeledControlledCheckBoxField-BsFqjCpn-LcPyDi__.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-BT0zs0Jm.js → LabeledCountryMultiSelectField-D1fVDYR_-D8CYIAsf.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-D8-1M_Br.js → LabeledCreatableSingleSelectField-Bhka-Faj-DHHwYijK.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-CnRk5aKZ-CV8AaRRN.js → LabeledDocumentField-CnRk5aKZ-DdfXAd_A.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-DExq8QI7.js → LabeledDropDownFormattedTextField-ChgtJqPr-DCv0FHDL.js} +1 -1
  94. package/dist/assets/{LabeledText-2EDpuXZ4-BLBQclH9.js → LabeledText-2EDpuXZ4-a1cjnLCX.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-CDUhkAJw.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-BixByMwj.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-BN0y8uby.js → LabeledZeniRolesDropDownField-CpH0eDWO-VyBxrvle.js} +8 -8
  97. package/dist/assets/{LinkJETransactionPage-BhV2MnCY-UMeDagXs.js → LinkJETransactionPage-BhV2MnCY-BJYljY3g.js} +1 -1
  98. package/dist/assets/{LockCardPage-CHv1xi2J-mFvWtqsS.js → LockCardPage-CHv1xi2J-B44825f5.js} +6 -6
  99. package/dist/assets/{LowBalancePopup-Cb55PGLc-DRqPG0mh.js → LowBalancePopup-Cb55PGLc-CydyUGIH.js} +6 -6
  100. package/dist/assets/{MagicLinkACHDetailsPage-Dnp01hnF-DQ8yr6uv.js → MagicLinkACHDetailsPage-Dnp01hnF-Hlk7OZ_7.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-B36rsikS-BxHsYq7B.js → MagicLinkDomesticWireDetailsPage-B36rsikS-D6KyvBLt.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-Zo4oNZez-CpqMSy1N.js → MagicLinkInternationalWireDetailsPage-Zo4oNZez-BuyyCMqI.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-09NLbjFG-Co3vSy6t.js → MagicLinkSuccessPage-09NLbjFG-CHXQKBBq.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-RLm3mDeb.js → MagicLinkTitleSection-BA-i6vzA-B0gxKJAo.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-EwtoQ2TZ-CYDGTCnx.js → MailingDetailsSection-EwtoQ2TZ-BjLXvKCx.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-7WBcezSN.js → MyBankConnectionsSettingsPage-Aer6AWxY-DxzBIz2P.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-Ddy4bAEY-D3ybcBV0.js → MyPendingActivationChargeCardListPage-Ddy4bAEY-l12r6UU4.js} +2 -2
  108. package/dist/assets/{MyProfileSettingsPage-DMz-6h9F-BcvPvdDW.js → MyProfileSettingsPage-DMz-6h9F-iy-PzTdE.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-D8WNahg--DzolItlM.js → NavBarWithPicker-D8WNahg--BaSp4Lxv.js} +1 -1
  110. package/dist/assets/{NavigationArrow-kQWS5Pzb-DnxK-xgA.js → NavigationArrow-kQWS5Pzb-DAZ3ZzOU.js} +1 -1
  111. package/dist/assets/{NavigationDots-BQb_Fodq-CVrmLvYQ.js → NavigationDots-BQb_Fodq-Dzju1vgj.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-z86XZorn-DxAD7tTY.js → NewGlobalMerchantPage-z86XZorn-C_co7jck.js} +1 -1
  113. package/dist/assets/{NoDataChart-CyYJ6icu-CHQY_bIW.js → NoDataChart-CyYJ6icu-B_ibj8yR.js} +1 -1
  114. package/dist/assets/{NoDataTable-DVe7sQhD-nqOrgT1n.js → NoDataTable-DVe7sQhD-Dkk7z7B9.js} +1 -1
  115. package/dist/assets/{NotFoundPage-B1XCmhSe-DJxMFFFe.js → NotFoundPage-B1XCmhSe-KkDDDabl.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-BaN20EGV-BZKokXl_.js → NotificationSettingsPage-BaN20EGV-D6-JUrX1.js} +12 -12
  117. package/dist/assets/{NotificationsListConfig-BOW_TmPC-2OPYdfiF.js → NotificationsListConfig-BOW_TmPC-CZmsrUp-.js} +1 -1
  118. package/dist/assets/{NotificationsPage-C9efAgjo-Q1uCdSWG.js → NotificationsPage-C9efAgjo-CwOgVQZD.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-DXeBU3-z-ClrNqg-6.js → OpExByVendorPage-DXeBU3-z-DvPDeTkR.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-5C-NUnJ8.js → OverlayContainerPage-D4QU0p4o-DpB-tVSg.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CXtJhnA_-_B_OXjuI.js → PandLWithForecastPage-CXtJhnA_-DIwsS6DO.js} +2 -2
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-BYIDdJGi.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-IRTqVZCI.js} +1 -1
  123. package/dist/assets/{PeoplePage-DXC2CtOt-BmC0xa13.js → PeoplePage-DXC2CtOt-DoIt9eGe.js} +13 -13
  124. package/dist/assets/{Preview-DIhdxTnV.js → Preview-Bgcl0PJX.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-ufZlh7Rx-BhPoplzW.js → ProductsCarousel-ufZlh7Rx-peK9rgeZ.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-D2UbhBhT-DISJBAGU.js → PromoBaseCards-D2UbhBhT-CIYIbyF_.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-BrQ71F06-CE8JPZ4E.js → QBOConnectionDialog-BrQ71F06-fF_yB2b_.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-EOFscEW--D0QcMDeq.js → QBOSetupSection-EOFscEW--OVdnvEwV.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-HPI4Ng-1hqq3vgZ.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BBqtguYA.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-PKr02NgU.js → ReimbursementApprovalRulesPage-CMpYn5y_-Cn33sGX0.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-CfmICHZb-C0Vlu4pV.js → ReimbursementDetailPage-CfmICHZb-DIl5AJ6n.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-DXTAY8c7-ijLyTKXj.js → ReimbursementPromoPage-DXTAY8c7-CShEb-F3.js} +4 -4
  133. package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-Cndb3yRw.js → ReimbursementSetUpPage-KrGPXTCb-BSYkhzVc.js} +1 -1
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-l2mYNEKn-t36_7iYz.js → ReimbursementsBulkReviewDrawerPage-l2mYNEKn-BAdy79Lm.js} +1 -1
  135. package/dist/assets/{ReloadCard-vAhL7B8U-CXvjyFbd.js → ReloadCard-vAhL7B8U-Dw-PqaQf.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-Y97ney3W-BsXF5NSn.js → ReportTableViewSelector-Y97ney3W-9zOFv1BS.js} +1 -1
  137. package/dist/assets/{ReportsPage-DKM0gVzR-CWRqDWS7.js → ReportsPage-DKM0gVzR-QbWKIQxE.js} +1 -1
  138. package/dist/assets/{RevenueChart-BEjDS1u4-o0vV82hU.js → RevenueChart-BEjDS1u4-BcSZzy8l.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-BlQLrN9z-CPNBWRFb.js → ReviewDetailsPage-BlQLrN9z-CtxwcPz-.js} +6 -6
  140. package/dist/assets/{ReviewOverlay-Bn3TFqfi-61PAxosm.js → ReviewOverlay-Bn3TFqfi-BNzIrw2d.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-DhBFvJea-vHmZXp6q.js → RoleWithToolTip-DhBFvJea-CdVG2bUA.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-jDSlk-pR.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-BQvOafrC.js} +3 -3
  143. package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-1II188uq.js → ScheduleDetailsPage-BP0wdtoP-Bk7y84OT.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-D-rZ4ftr-tSWSHWOw.js → ScheduleSequenceTable-D-rZ4ftr-kFr_wsWf.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-DZZxoCM2.js → ScreenRoutes-DWP8GfVe.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-CoVrSSYL-DbZWiYfU.js → SetUpAccountSection-CoVrSSYL-dR9JnLtS.js} +1 -1
  147. package/dist/assets/{SignIn-BoAejo7r-PQVivWYh.js → SignIn-BoAejo7r-NqO60YRr.js} +6 -6
  148. package/dist/assets/{SignInScreen-efHROixG.js → SignInScreen-BUyGhDDE.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-D3eISFuA-B7nSuLpf.js → SpendManagementListViewPage-D3eISFuA-CfUqu7cE.js} +7 -7
  150. package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-BKnsfe2z.js → SpendManagementPerTabPage-BWDjZyLp-BfFfsbJz.js} +34 -34
  151. package/dist/assets/{SpendManagementSection-D8rBpC-y-wjuhm2Gv.js → SpendManagementSection-D8rBpC-y-BK434VnL.js} +7 -7
  152. package/dist/assets/{StatementItem-Cu6dlAsl-BxjOZIKR.js → StatementItem-Cu6dlAsl-0BWW7RnN.js} +1 -1
  153. package/dist/assets/{StatementsPage-DiY2BOcu-jACVIQ7g.js → StatementsPage-DiY2BOcu-DOawG-nh.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-B9MARTyR-CVrMK43S.js → StatusSwitcher-B9MARTyR-XJNlxoKq.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-C3rtSwro-Bfv-jqX0.js → SubTabSwitcher-C3rtSwro-B2hxzitW.js} +1 -1
  156. package/dist/assets/{SummaryCard-CShVbqhj-C7VDYfDP.js → SummaryCard-CShVbqhj-WCnNiOeE.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-RVS8nv0n-IfMaVZ79.js → TaskManagementPage-RVS8nv0n-CHLZTSJm.js} +13 -13
  158. package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-B3NiZwLX.js → TimeRangeSwitcher-DFnX6_WT-GWR_ifB6.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-CW08yYgo-DBfI-CDo.js → TimeframeSwitcher-CW08yYgo-BdSlU0Ze.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DJOCWqpZ-CxMWU2YP.js → TimeframeSwitcherWithToggle-DJOCWqpZ-DKc1B1qn.js} +1 -1
  161. package/dist/assets/{TopExCard-dI_WEGWb-C_ouXuJx.js → TopExCard-dI_WEGWb-DUuyhve4.js} +1 -1
  162. package/dist/assets/{TopExDetailPage-BWy5E8Lp-DHDoD8xK.js → TopExDetailPage-BWy5E8Lp-Bwbr7Qt_.js} +1 -1
  163. package/dist/assets/{TransactionActivityLogPage-DjhEIUYm-CDOSrUCy.js → TransactionActivityLogPage-DjhEIUYm-6W3R-LLw.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-CuxqQd8U-DaUcyO77.js → TransactionDetailPage-CuxqQd8U-BOhDk3J3.js} +1 -1
  165. package/dist/assets/{TransactionList-80KjM8Kg-CP1kCzOZ.js → TransactionList-80KjM8Kg-BV4ncKOi.js} +1 -1
  166. package/dist/assets/{TransactionListBig-DWQXH4ID-C0AgFfET.js → TransactionListBig-DWQXH4ID-DUWv_VJr.js} +4 -4
  167. package/dist/assets/{TransactionListPage-DC08rCC9-CKoNbk76.js → TransactionListPage-DC08rCC9-BqFTHSSL.js} +1 -1
  168. package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-D0WTBIN_.js → TransactionVendorDetailPage-CzfJ5b_3-UHsXDEF6.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-6z-MoZZP-DIDlNkaw.js → TransferDrawerPage-6z-MoZZP-TNe-9XNT.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CF_ter0o-D0FwCj4F.js → TreasuryOverviewPage-CF_ter0o-DsWAMpMo.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-Do-PTcjI-BdsWLtH0.js → TreasuryPromoPage-Do-PTcjI-61vLEiyA.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-9mkdhIeY.js → TreasuryStatementsPage-l_HC4zsb-BSXp6OEx.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-B8YxWytK-Bvqd0Hp0.js → TreasuryTaxLetterPage-B8YxWytK-DNlHlMYT.js} +1 -1
  174. package/dist/assets/{TrendChart-C6B61CAm-BLOs7lid.js → TrendChart-C6B61CAm-C0UUKmUn.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-Bp3vhaPa-tGqMC5Vu.js → TrendWithTransactions-Bp3vhaPa-DvhstWt3.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-D6JJ85e-.js → UncategorizedAccountsMappingPage-cbFqKAv4-BeQLJ6JT.js} +6 -6
  177. package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-FsM5I6N8.js → UnitIntegrationPage-DZ0ZpE5p-CLzOeV9G.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-BKY6hK51-D5vRfL2N.js → UploadAdditionalDocumentOverlay-BKY6hK51-CKaAE93t.js} +4 -4
  179. package/dist/assets/{Vendor2FAPopup-DezpDfp8-CgUqUKgv.js → Vendor2FAPopup-DezpDfp8-C3RSYJKE.js} +1 -1
  180. package/dist/assets/{VendorACHDetailsPage-C8TWKYfc-BBHDUovS.js → VendorACHDetailsPage-C8TWKYfc-BgngBLqi.js} +1 -1
  181. package/dist/assets/{VendorDetailPage-C4g_Gfsl-DrbUQaMS.js → VendorDetailPage-C4g_Gfsl-_yTgShu0.js} +9 -9
  182. package/dist/assets/{VendorDomesticWireDetailsPage-BhJQ-Vmn-DAw-3yRj.js → VendorDomesticWireDetailsPage-BhJQ-Vmn-WGhnSar1.js} +1 -1
  183. package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-C5Y0Hhpj.js → VendorFiling1099EditablePage-Ckt2MiVN-CgGB3YCN.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-CIKRaTax-DZ_fWsTs.js → VendorFirstReviewPage-CIKRaTax-Bet_FF0a.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-5RolL7pk.js → VendorInternationalWireDetailsPage-Dz8mMD8d-Bf5r8Rj1.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-XcV7Ot44-C7gWvoAM.js → VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Dm-2gYh2.js} +1 -1
  187. package/dist/assets/{VendorsAccountsSection-BT-RADSV-vp7VaRO6.js → VendorsAccountsSection-BT-RADSV-usRXN8LD.js} +1 -1
  188. package/dist/assets/{VerifyDevice-Cxc9CVMi-Cgu3mf8y.js → VerifyDevice-Cxc9CVMi-BcuPPiUE.js} +1 -1
  189. package/dist/assets/{VideoPlayer-9UkKMhGy-DJ6uBu61.js → VideoPlayer-9UkKMhGy-CrxItSVF.js} +2 -2
  190. package/dist/assets/{VideoPopup-rfiYmtio-_iCjbOm3.js → VideoPopup-rfiYmtio-Bu6GLzWj.js} +1 -1
  191. package/dist/assets/{WarningsDrawerPage-DrUA4asI-CcwFPuTA.js → WarningsDrawerPage-DrUA4asI-Be-AjJu4.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-K016HgQt-Cd131nKw.js → ZeniAccountDetailPage-K016HgQt-CuftklXs.js} +7 -7
  193. package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-CjD6nbtT.js → ZeniAccountListViewPage-1oZZynB1-BrCdP2K7.js} +7 -7
  194. package/dist/assets/{ZeniAccountNavBarPieces-C6Oicpue-DGKKSqgJ.js → ZeniAccountNavBarPieces-C6Oicpue-DaSoaDat.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-DwhnKx-9.js → ZeniAccountPromoPage-BCgys-YM-gaL56kq6.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-BubBgkoa-BFY0LSuz.js → ZeniAccountSetupPage-BubBgkoa-Bm0JKoat.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-BxIwmms--BfYUogKF.js → ZeniCopyright-BxIwmms--BgbWhWIo.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-aYxPZEFI.js → ZeniTransferAmountSlider-DVJ0puXA-CMC395PX.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DZGmKyiB.js → add-to-wallet-DgdBD8_G-CEKtfmRG.js} +1 -1
  200. package/dist/assets/{analytics-D_c73QMR.js → analytics-6q2YPSTL.js} +1 -1
  201. package/dist/assets/{analyticsHelper-Di73_evd.js → analyticsHelper-B-0AfSPy.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CT5zOInj-BgC6kfqx.js → analyticsHelper-CT5zOInj-BlrArCGj.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-Cl5bzAze.js → arrow-south-east-round-PEovUgvH-CtdbjVA2.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-Cgd1DzFo.js → auto-transfer-rule-mbafm5D3-CUXCiVxF.js} +1 -1
  205. package/dist/assets/{chartTypes-Ddw_3-6f-DDbD-D2D.js → chartTypes-Ddw_3-6f-DgrkzuCZ.js} +1 -1
  206. package/dist/assets/{commonDimensions-ClmbdehE-D3isPdv2.js → commonDimensions-ClmbdehE-CUqGbH6M.js} +1 -1
  207. package/dist/assets/{commonTypes-B-foaEwJ-B3kT4sSr.js → commonTypes-B-foaEwJ-71MnEnLC.js} +1 -1
  208. package/dist/assets/{constants-DYpW9FGW.js → constants-BrqJwe63.js} +1 -1
  209. package/dist/assets/{core-Cfmldnhs.js → core-DhTpg44s.js} +1 -1
  210. package/dist/assets/{dash.all.min-CRn-LRx6.js → dash.all.min-Dmz7QXb7.js} +1 -1
  211. package/dist/assets/{detailCommon-Cpgf9GLg-YHVPzUGh.js → detailCommon-Cpgf9GLg-Dq4BQywp.js} +1 -1
  212. package/dist/assets/{downloadPdf-DfRYmfsd-yijlpLuZ.js → downloadPdf-DfRYmfsd-DryKWAvL.js} +1 -1
  213. package/dist/assets/{empty-i3z-0iVf.js → empty-DY6ar3s9.js} +1 -1
  214. package/dist/assets/{empty-BKT9Ep8-.js → empty-vxQLOqQD.js} +1 -1
  215. package/dist/assets/{epic-DzSc1k1-.js → epic-CNug8mXh.js} +2 -2
  216. package/dist/assets/{gift-box-Cmt9OgIZ-DwiLPIzZ.js → gift-box-Cmt9OgIZ-CJbAYIkz.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CeAnn4nf.js → graphic-no-data-l-DU4J8fDt-B3EDq2My.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-QJP23LBP.js → graphic-no-data-net-burn-l-CzmycA0m-CBPFr7dD.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-D1HUbDRz.js → handshake-BPg58FML-c1uSNCqN.js} +1 -1
  220. package/dist/assets/{helper-DP3YY99s-BUuDECup.js → helper-DP3YY99s-BijNSKZL.js} +1 -1
  221. package/dist/assets/{index-8pN1_LrG.js → index-9fCfm4CN.js} +1 -1
  222. package/dist/assets/{index-4u2OqriH.js → index-B8umEkB_.js} +1 -1
  223. package/dist/assets/{index-BfeLc3Lr.js → index-CZqx70Qj.js} +1 -1
  224. package/dist/assets/{index-ByXRm0Fj.js → index-DBvg5JK1.js} +7 -7
  225. package/dist/assets/{index-vHvAicGU.js → index-DeEJJsiS.js} +1 -1
  226. package/dist/assets/{index-DJSq-oST.js → index-SLYoLNDj.js} +1 -1
  227. package/dist/assets/{index-BBjGKJIj.js → index-_jJPcK9Q.js} +1 -1
  228. package/dist/assets/{lexical-C8q9B2Uw.js → lexical-CUG-jFYn.js} +1 -1
  229. package/dist/assets/{liveblocks-DWegUhIu.js → liveblocks-ZYzhSRWz.js} +1 -1
  230. package/dist/assets/{lottie-BGI-L4nL.js → lottie-UCmESiQw.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-C0YIUOnb-BrISft7C.js → mapLoadingInProgressToTreeNode-C0YIUOnb-Dxgu-FhZ.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DiRfs5eL.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-D3Eqbupt.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-DKDsz0vw-DbMmCeng.js → mapSpacerToTreeNode-DKDsz0vw-ColpgIRb.js} +1 -1
  234. package/dist/assets/{mapTimeframeBalancesToTreeNode-DqDJAeAj-CPfI0i_B.js → mapTimeframeBalancesToTreeNode-DqDJAeAj-D9K__yTx.js} +1 -1
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-J3b1nb_T-Bbpk49fN.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-DNknS-D-.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-DVA96-CU.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-BdzxiHaP.js} +1 -1
  237. package/dist/assets/{mui-BtuxyOQU.js → mui-CVkStVfi.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-B7ep9GDp.js → page-detail-CWX5S47F-Dvf8rKRj.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-C9iYLSFp.js → panelSelectedMixin-CzfD5-Zs-DCvCCOVA.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-CZZPsdKI.js → radio-default-CiSgisfh-CSFESyBW.js} +1 -1
  241. package/dist/assets/{react-DqQwPwcU.js → react-BXHGGvaS.js} +1 -1
  242. package/dist/assets/{react-CN9vRF0g.js → react-Bwe2ayJc.js} +1 -1
  243. package/dist/assets/{react-B9JOATsB.js → react-C3bIUhHS.js} +1 -1
  244. package/dist/assets/{react-CCOUBQ3I.js → react-C6_oHnDC.js} +2 -2
  245. package/dist/assets/{react-DyhjmuQS.js → react-CfSD8L4B.js} +1 -1
  246. package/dist/assets/{react-BGg3sLTV.js → react-DG79XCPu.js} +1 -1
  247. package/dist/assets/{react-DmXC6qjh.js → react-YKLZuWvS.js} +1 -1
  248. package/dist/assets/{react-_UdfJnwg.js → react-dNnoah74.js} +1 -1
  249. package/dist/assets/{recharts-B1UpAC2z.js → recharts-BLPoQhru.js} +1 -1
  250. package/dist/assets/{sentry-BfjekFHA.js → sentry-DlWPKrHR.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-Diohej-j.js → shield-DOlUxcFf-DFjEO7N1.js} +1 -1
  252. package/dist/assets/{toCOABalancesWithID-AzKAZ-Cv-DrJ7D3cP.js → toCOABalancesWithID-AzKAZ-Cv-DEq296KH.js} +1 -1
  253. package/dist/assets/toChartData-BEjMhb7--SCIfyppR.js +1 -0
  254. package/dist/assets/{uploadAttachment-DUpHzqMe-5f9vnkfw.js → uploadAttachment-DUpHzqMe-DE9XSoTe.js} +1 -1
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-Bxip3o5m.js → uploadReceipts-Dge0cNF1-BCk8sEC-.js} +1 -1
  256. package/dist/assets/{url-BKWNACvj.js → url-C42JWgC1.js} +1 -1
  257. package/dist/assets/{url-CCV-Hsrv.js → url-D14qQQ_-.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-448Ji6V-.js → useLongPress-GCK2COYQ-Ck7PeJ1R.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-CdIO-gTm.js → usp-line-BBd1wKwW-frtVcEkM.js} +1 -1
  260. package/dist/assets/{utils-BhAlbbTk.js → utils-D4kXjSE5.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-x1SruN8b.js → zeni-epic-state-BeWB6NzA.js} +6 -6
  262. package/dist/index.html +1 -1
  263. package/package.json +2 -2
  264. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-Q_KOJWYS.js +0 -1
  265. package/dist/assets/toChartData-BEjMhb7--Byh1Bg2r.js +0 -1
@@ -1,12 +1,12 @@
1
- import{J as B,d as D,V as o,cp as H,o as r,aR as V,T as te,h5 as ue,u as R,i as he,b as oe,bJ as re,F as j,y as ne,h6 as ge,c5 as me,h7 as fe,d1 as le,bK as T,bc as ye,aj as se,h8 as xe,bI as ae,ax as be,h9 as Ce,ha as we,am as N,bb as ve,hb as $e,az as je,hc as Se,p as ke,d0 as Oe,bQ as Ie,g4 as Le,hd as Ee,a as W,x as _e,g5 as Te,aV as Ae}from"./index-ByXRm0Fj.js";import{a as s}from"./sentry-BfjekFHA.js";import{n as l,k as Fe}from"./mui-BtuxyOQU.js";import{FY as Me,FZ as Re,FV as Be,FW as De,FX as ze,FU as Pe}from"./zeni-epic-state-x1SruN8b.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]="2074fdff-1ebd-4e15-9c17-d2e8e2ab4190",e._sentryDebugIdIdentifier="sentry-dbid-2074fdff-1ebd-4e15-9c17-d2e8e2ab4190")}catch{}})();const He=l.div`
1
+ import{J as B,d as D,V as o,cp as H,o as r,aR as V,T as te,h5 as ue,u as R,i as he,b as oe,bJ as re,F as j,y as ne,h6 as ge,c5 as me,h7 as fe,d1 as le,bK as T,bc as ye,aj as ae,h8 as xe,bI as se,ax as be,h9 as Ce,ha as we,am as N,bb as ve,hb as $e,az as je,hc as Se,p as ke,d0 as Oe,bQ as Ie,g4 as Le,hd as Ee,a as W,x as _e,g5 as Te,aV as Ae}from"./index-DBvg5JK1.js";import{a}from"./sentry-DlWPKrHR.js";import{n as l,k as Fe}from"./mui-CVkStVfi.js";import{FZ as Me,F_ as Re,FW as Be,FX as De,FY as ze,FV as Pe}from"./zeni-epic-state-BeWB6NzA.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]="0f0e6534-265a-42b4-abab-37543598d8ff",e._sentryDebugIdIdentifier="sentry-dbid-0f0e6534-265a-42b4-abab-37543598d8ff")}catch{}})();const He=l.div`
2
2
  display: flex;
3
3
  justify-content: space-between;
4
4
  align-items: center;
5
- `,Ve=l(ae)`
5
+ `,Ve=l(se)`
6
6
  color: ${e=>e.theme.colors.primary};
7
7
  width: ${r.sp3};
8
8
  height: ${r.sp3};
9
- `,U=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:a,onChange:p,getOptionLabel:c})=>{const y=D(),f=s.useRef(null),g=Ue(y),w=n.find(m=>m.value===e);return s.useEffect(()=>{const m=setTimeout(()=>{f.current!=null&&t&&f.current.focus()},300);return()=>{clearTimeout(m)}},[t]),o.jsx(re,{ref:f,isMulti:!1,value:w,onChange:m=>{p(m)},placeholder:a,options:n,styles:g,openMenuOnFocus:!0,components:{Option:m=>We(m,c),SingleValue:m=>Ne(m,c)}})},Ne=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(T.SingleValue,{...e,children:o.jsx(ye,{children:n})})},We=(e,t)=>{const{isSelected:n}=e,a=t?.(e.data.value)??e.data.label;return o.jsx(T.Option,{...e,children:o.jsxs(He,{children:[o.jsx(se,{children:a}),n?o.jsx(Ve,{}):null]})})},Ue=e=>({placeholder:t=>({...t,color:e.colors.grey1,...oe.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:r.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${r.sp2} ${r.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${r.sp2} ${r.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${r.sp0} 2px ${r.sp2} ${e.colors.dropShadowHover}`})}),G="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8999%205.04416L9.65575%2017.6653C9.48897%2017.8247%209.29152%2017.9484%209.07541%2018.0291C8.85929%2018.1097%208.62902%2018.1456%208.39862%2018.1345C8.17133%2018.1236%207.94853%2018.0673%207.7434%2017.9689C7.53827%2017.8704%207.35499%2017.7318%207.20439%2017.5612L1.17558%2010.7125'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ge=l.div`
9
+ `,U=({value:e,defaultMenuIsOpen:t=!1,options:n,placeHolder:s,onChange:p,getOptionLabel:c})=>{const y=D(),f=a.useRef(null),g=Ue(y),w=n.find(m=>m.value===e);return a.useEffect(()=>{const m=setTimeout(()=>{f.current!=null&&t&&f.current.focus()},300);return()=>{clearTimeout(m)}},[t]),o.jsx(re,{ref:f,isMulti:!1,value:w,onChange:m=>{p(m)},placeholder:s,options:n,styles:g,openMenuOnFocus:!0,components:{Option:m=>We(m,c),SingleValue:m=>Ne(m,c)}})},Ne=(e,t)=>{const n=t?.(e.data.value)??e.data.label;return o.jsx(T.SingleValue,{...e,children:o.jsx(ye,{children:n})})},We=(e,t)=>{const{isSelected:n}=e,s=t?.(e.data.value)??e.data.label;return o.jsx(T.Option,{...e,children:o.jsxs(He,{children:[o.jsx(ae,{children:s}),n?o.jsx(Ve,{}):null]})})},Ue=e=>({placeholder:t=>({...t,color:e.colors.grey1,...oe.standardRegular.cssObject}),input:t=>({...t,color:e.colors.primary,margin:0,padding:0}),control:t=>({...t,backgroundColor:e.colors.background,border:"none",boxShadow:"none",height:r.sp6,cursor:"pointer"}),valueContainer:t=>({...t,height:"100%",padding:`${r.sp2} ${r.sp3}`}),indicatorSeparator:t=>({...t,display:"none"}),indicatorsContainer:t=>({...t,display:"none"}),option:(t,n)=>({...t,padding:`${r.sp2} ${r.sp3}`,cursor:"pointer",color:n.isSelected||n.isFocused?e.colors.primary:e.colors.hero,background:n.isSelected||n.isFocused?e.colors.background:e.colors.grey5,":hover":{color:e.colors.primary,backgroundColor:e.colors.background}}),singleValue:t=>({...t,color:e.colors.primary,margin:0}),menuList:t=>({...t,backgroundColor:e.colors.grey5,maxHeight:"320px"}),menu:t=>({...t,boxShadow:`${r.sp0} 2px ${r.sp2} ${e.colors.dropShadowHover}`})}),G="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22.8999%205.04416L9.65575%2017.6653C9.48897%2017.8247%209.29152%2017.9484%209.07541%2018.0291C8.85929%2018.1097%208.62902%2018.1456%208.39862%2018.1345C8.17133%2018.1236%207.94853%2018.0673%207.7434%2017.9689C7.53827%2017.8704%207.35499%2017.7318%207.20439%2017.5612L1.17558%2010.7125'%20stroke='currentColor'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",Ge=l.div`
10
10
  display: flex;
11
11
  align-items: flex-start;
12
12
  padding: ${r.sp2} ${r.sp3};
@@ -41,7 +41,7 @@ import{J as B,d as D,V as o,cp as H,o as r,aR as V,T as te,h5 as ue,u as R,i as
41
41
  color: ${e=>e.theme.colors.hero};
42
42
  height: ${r.sp4};
43
43
  width: ${r.sp4};
44
- `,Ze=l(ae)`
44
+ `,Ze=l(se)`
45
45
  color: ${e=>e.theme.colors.primary};
46
46
  height: ${r.sp3};
47
47
  min-width: ${r.sp3};
@@ -52,7 +52,7 @@ import{J as B,d as D,V as o,cp as H,o as r,aR as V,T as te,h5 as ue,u as R,i as
52
52
  `,et=l(Ae)`
53
53
  overflow: hidden;
54
54
  text-overflow: ellipsis;
55
- `,tt=({options:e,value:t,placeHolder:n,filterCategoryType:a,searchAutoCompleteData:p,searchAutoCompleteActions:c,onChange:y,renderOptionIcon:f})=>{const g=D(),w=Ee(g),[m,E]=s.useState(e);s.useEffect(()=>{a==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&E(u=>$e([...u,...p?.entityAutoCompleteView!=null?ot(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=a==="searchAutocomplete"?t.map(u=>({label:u,value:u})):t.map(u=>m.find($=>$.value===u)),v=s.useRef(je(u=>c?.onAutoCompleteInputChange?.(u),500,{trailing:!0})).current,k=p?.entityAutoCompleteView.fetchState,I={options:e,filterCategoryType:a,searchAutoCompleteStatus:k,renderOptionIcon:f},L=j.getLocalizedStrings().common.filters;return o.jsx(Ge,{children:a==="dateRange"?o.jsx(Se,{onDateRangeChange:u=>{y([{label:L.startDate,value:u.startDate??""},{label:L.endDate,value:u.endDate??""}])},selectedDates:t}):o.jsxs(Je,{children:[S.length===0&&a==="user"&&o.jsx(Xe,{}),o.jsx(re,{...I,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:u=>{a==="searchAutocomplete"&&v(u)},onChange:u=>{y(u)},placeholder:n,options:m,styles:w,menuPosition:"fixed",components:{Option:nt,MultiValueLabel:rt,MultiValueRemove:lt},filterOption:(u,$)=>at(u,$,a),noOptionsMessage:()=>st(a,k)})]})})},ot=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),rt=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:a,renderOptionIcon:p}=t,c=n.findIndex(y=>y.value===e.data.value);return o.jsx(T.MultiValueLabel,{...e,children:o.jsxs(Ye,{children:[ie(e.data,c,a,p),o.jsx(et,{children:e.children})]})})},nt=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:a,...p}=e.innerProps,{options:c,filterCategoryType:y,renderOptionIcon:f}=e.selectProps,g=c.findIndex(m=>m.value===e.data.value),w={...e,innerProps:p};return o.jsx(T.Option,{...w,children:o.jsxs(Ke,{children:[o.jsxs(Qe,{children:[ie(e.data,g,y,f),o.jsx(se,{children:e.label})]}),e.isSelected&&o.jsx(Ze,{})]})})},lt=e=>o.jsx(T.MultiValueRemove,{...e,children:o.jsx(qe,{})}),st=(e,t)=>{const n=j.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(te,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(W,{children:n.noMatchesFound})}return o.jsx(W,{children:n.noOptions})},ie=(e,t,n,a)=>{if(n==="dropdown")return(a!=null?a(e):null)??(e.photo!=null?o.jsx(J,{src:e.photo.href,alt:"",onError:({currentTarget:g})=>{g.onerror=null,g.src=G},loading:"lazy"}):null);if(n!=="user")return null;const p=(e.label??"").split(" "),c=p[0]??"",y=p[1]??"";return e.photo==null?o.jsx(Te,{firstName:c,lastName:y,size:`${r.sp3}`,index:t,fontSize:"9px"}):o.jsx(J,{src:e.photo.href,alt:j.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=G},loading:"lazy"})},at=(e,t,n)=>n==="user"&&e.data.email!=null?e.data.label.toLowerCase().includes(t.toLowerCase())||e.data.email.toLowerCase().includes(t.toLowerCase()):e.data.label.toLowerCase().includes(t.toLowerCase()),A={categoryCombinationOperator:"AND",categories:[]},ce={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},F=(e,t)=>{switch(e){case"bill_pay":return Pe;case"reimbursement":return ze(t)?Be:De;case"task_management":return Re;case"charge_card_payment_history":return Me}},M=(e,t)=>{if(e==="bill_pay"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}if(e==="charge_card_payment_history"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.chargeCardPaymentHistory[n]}return""},it=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...ce,field:t.value}]}:{...e,categories:e.categories.map((a,p)=>p!==n?a:{...a,field:t.value,values:[]})},ct=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((a,p)=>p!==n?a:{...a,matchingOperator:t.value})},dt=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((a,p)=>p!==n?a:{...a,values:t.map(c=>c.value)})},pt={width:new ne(215,315)},Y=l.div`
55
+ `,tt=({options:e,value:t,placeHolder:n,filterCategoryType:s,searchAutoCompleteData:p,searchAutoCompleteActions:c,onChange:y,renderOptionIcon:f})=>{const g=D(),w=Ee(g),[m,E]=a.useState(e);a.useEffect(()=>{s==="searchAutocomplete"&&p?.entityAutoCompleteView.fetchState==="Completed"&&E(u=>$e([...u,...p?.entityAutoCompleteView!=null?ot(p?.entityAutoCompleteView):[]],"value"))},[p?.entityAutoCompleteView.fetchState]);const S=s==="searchAutocomplete"?t.map(u=>({label:u,value:u})):t.map(u=>m.find($=>$.value===u)),v=a.useRef(je(u=>c?.onAutoCompleteInputChange?.(u),500,{trailing:!0})).current,k=p?.entityAutoCompleteView.fetchState,I={options:e,filterCategoryType:s,searchAutoCompleteStatus:k,renderOptionIcon:f},L=j.getLocalizedStrings().common.filters;return o.jsx(Ge,{children:s==="dateRange"?o.jsx(Se,{onDateRangeChange:u=>{y([{label:L.startDate,value:u.startDate??""},{label:L.endDate,value:u.endDate??""}])},selectedDates:t}):o.jsxs(Je,{children:[S.length===0&&s==="user"&&o.jsx(Xe,{}),o.jsx(re,{...I,isMulti:!0,hideSelectedOptions:!1,value:S,onInputChange:u=>{s==="searchAutocomplete"&&v(u)},onChange:u=>{y(u)},placeholder:n,options:m,styles:w,menuPosition:"fixed",components:{Option:nt,MultiValueLabel:rt,MultiValueRemove:lt},filterOption:(u,$)=>st(u,$,s),noOptionsMessage:()=>at(s,k)})]})})},ot=e=>(e?.vendor.map(t=>({label:t.name,value:t.name}))??[]).sort((t,n)=>(t.label??"").localeCompare(n.label??"")),rt=e=>{const{selectProps:t}=e,{options:n,filterCategoryType:s,renderOptionIcon:p}=t,c=n.findIndex(y=>y.value===e.data.value);return o.jsx(T.MultiValueLabel,{...e,children:o.jsxs(Ye,{children:[ie(e.data,c,s,p),o.jsx(et,{children:e.children})]})})},nt=e=>{const{onMouseMove:t,onMouseOver:n,isSelected:s,...p}=e.innerProps,{options:c,filterCategoryType:y,renderOptionIcon:f}=e.selectProps,g=c.findIndex(m=>m.value===e.data.value),w={...e,innerProps:p};return o.jsx(T.Option,{...w,children:o.jsxs(Ke,{children:[o.jsxs(Qe,{children:[ie(e.data,g,y,f),o.jsx(ae,{children:e.label})]}),e.isSelected&&o.jsx(Ze,{})]})})},lt=e=>o.jsx(T.MultiValueRemove,{...e,children:o.jsx(qe,{})}),at=(e,t)=>{const n=j.getLocalizedStrings().common.filters;if(e==="searchAutocomplete"){if(t==="In-Progress")return o.jsx(te,{size:"Small-Compact",start:!0});if(t==="Not-Started")return null;if(t==="Completed")return o.jsx(W,{children:n.noMatchesFound})}return o.jsx(W,{children:n.noOptions})},ie=(e,t,n,s)=>{if(n==="dropdown")return(s!=null?s(e):null)??(e.photo!=null?o.jsx(J,{src:e.photo.href,alt:"",onError:({currentTarget:g})=>{g.onerror=null,g.src=G},loading:"lazy"}):null);if(n!=="user")return null;const p=(e.label??"").split(" "),c=p[0]??"",y=p[1]??"";return e.photo==null?o.jsx(Te,{firstName:c,lastName:y,size:`${r.sp3}`,index:t,fontSize:"9px"}):o.jsx(J,{src:e.photo.href,alt:j.getLocalizedStrings().common.filters.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=G},loading:"lazy"})},st=(e,t,n)=>n==="user"&&e.data.email!=null?e.data.label.toLowerCase().includes(t.toLowerCase())||e.data.email.toLowerCase().includes(t.toLowerCase()):e.data.label.toLowerCase().includes(t.toLowerCase()),A={categoryCombinationOperator:"AND",categories:[]},ce={valuesCombinationOperator:"ANY",values:[],matchingOperator:"equal"},F=(e,t)=>{switch(e){case"bill_pay":return Pe;case"reimbursement":return ze(t)?Be:De;case"task_management":return Re;case"charge_card_payment_history":return Me}},M=(e,t)=>{if(e==="bill_pay"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.bills[n]}if(e==="reimbursement"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.reimbursements[n]}if(e==="task_management"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.taskManagement[n]}if(e==="charge_card_payment_history"){const n=t;return j.getLocalizedStrings().spendManagement.filters.filterCategories.chargeCardPaymentHistory[n]}return""},it=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?{categoryCombinationOperator:"AND",categories:[{...ce,field:t.value}]}:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,field:t.value,values:[]})},ct=({currentFilters:e,selectedOption:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,matchingOperator:t.value})},dt=({currentFilters:e,selectedOptions:t,categoryIndex:n})=>e.categories==null||e.categories.length===0?e:{...e,categories:e.categories.map((s,p)=>p!==n?s:{...s,values:t.map(c=>c.value)})},pt={width:new ne(215,315)},Y=l.div`
56
56
  display: flex;
57
57
  flex-direction: column;
58
58
  row-gap: ${r.sp4};
@@ -139,7 +139,7 @@ import{J as B,d as D,V as o,cp as H,o as r,aR as V,T as te,h5 as ue,u as R,i as
139
139
  align-items: flex-start;
140
140
  column-gap: ${r.sp3};
141
141
  animation: ${Ct} 0.4s;
142
- `,de=s.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:a,vendorSearchAutoCompleteActions:p,onFiltersChange:c,renderDropdownOptionIcon:y},f)=>{const g=be(),w=B(),m=s.useCallback((d,h)=>{const C=it({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),E=s.useCallback((d,h)=>{const C=ct({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),S=s.useCallback(d=>{if(e!=null){const h={...e,categoryCombinationOperator:d};c(h)}},[e,c]),v=s.useCallback(d=>{if(d===0&&e.categories!=null&&e.categories.length===1){c(A);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,d),...e.categories.slice(d+1)].filter(h=>h.field!=null).length){const h={...e,categories:[...e.categories.slice(0,d),...e.categories.slice(d+1)]};c(h);return}c(A)}},[c,e]),k=()=>{e.categories!=null&&e.categories.length&&c({...e,categories:[...e.categories,{...ce}]})},I=()=>{c(A)},L=s.useCallback((d,h)=>{const C=dt({currentFilters:e,selectedOptions:d,categoryIndex:h});c(C)},[e,c]),u=j.getLocalizedStrings().spendManagement.filters,$=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(mt,{children:[o.jsxs(Z,{onClick:k,children:[o.jsx(ut,{}),o.jsx(N,{children:u.addFilterBtnText})]}),o.jsxs(Z,{onClick:I,children:[o.jsx(ht,{}),o.jsx(N,{children:u.clearAllBtnText})]})]}):null,b=()=>e.categories==null||e.categories.length===0?o.jsx(Y,{children:o.jsx(Q,{children:o.jsxs(ee,{children:[o.jsx(K,{children:o.jsx(q,{children:u.filterByLabel})}),o.jsx(X,{children:o.jsx(U,{defaultMenuIsOpen:!0,onChange:m,placeHolder:u.categoryPlaceholder,getOptionLabel:d=>M(n,d),options:F(n,g.loggedInUserRole)})})]})})}):o.jsx(s.Fragment,{children:e.categories.map((d,h)=>{const C=F(n,g.loggedInUserRole??[]).find(i=>i.value===d.field),x=C?.type,_=C!=null?M(n,C?.value):"";return o.jsxs(Q,{windowSize:w,children:[o.jsxs(ee,{children:[o.jsxs(K,{children:[h===0&&o.jsx(q,{children:u.filterByLabel}),h!==0?o.jsx(Ce,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:h>1}):null]}),o.jsx(X,{children:o.jsx(U,{value:d.field,placeHolder:u.categoryPlaceholder,onChange:i=>m(i,h),getOptionLabel:i=>M(n,i),options:F(n,g.loggedInUserRole??[])})})]}),d.field?o.jsxs(wt,{children:[o.jsx(gt,{children:o.jsx(we,{categoryIndex:h,value:d.matchingOperator,onChange:E})}),o.jsxs(xt,{children:[o.jsx(bt,{windowSize:w,children:o.jsx(tt,{options:t[d.field]!=null?t[d.field]:[],placeHolder:x==="searchAutocomplete"?u.searchPlaceholder:`${u.select} ${_}`,value:d.values,filterCategoryType:x??"dropdown",onChange:i=>L(i,h),valuesCombinationOperator:d.valuesCombinationOperator,searchAutoCompleteData:a,searchAutoCompleteActions:p,renderOptionIcon:y})}),o.jsx(ft,{onClick:()=>v(h),windowSize:w,children:o.jsx(yt,{})})]})]}):null]},d.field?d.field+h:h)})});return o.jsxs(Y,{ref:f,children:[b(),$()]})});de.displayName="FiltersSelection";const vt=l.div`
142
+ `,de=a.forwardRef(({filters:e,filterValues:t,selectedEntity:n,vendorSearchAutoCompleteData:s,vendorSearchAutoCompleteActions:p,onFiltersChange:c,renderDropdownOptionIcon:y},f)=>{const g=be(),w=B(),m=a.useCallback((d,h)=>{const C=it({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),E=a.useCallback((d,h)=>{const C=ct({currentFilters:e,selectedOption:d,categoryIndex:h});c(C)},[e,c]),S=a.useCallback(d=>{if(e!=null){const h={...e,categoryCombinationOperator:d};c(h)}},[e,c]),v=a.useCallback(d=>{if(d===0&&e.categories!=null&&e.categories.length===1){c(A);return}if(e.categories!=null&&e.categories.length!==0){if([...e.categories.slice(0,d),...e.categories.slice(d+1)].filter(h=>h.field!=null).length){const h={...e,categories:[...e.categories.slice(0,d),...e.categories.slice(d+1)]};c(h);return}c(A)}},[c,e]),k=()=>{e.categories!=null&&e.categories.length&&c({...e,categories:[...e.categories,{...ce}]})},I=()=>{c(A)},L=a.useCallback((d,h)=>{const C=dt({currentFilters:e,selectedOptions:d,categoryIndex:h});c(C)},[e,c]),u=j.getLocalizedStrings().spendManagement.filters,$=()=>e.categories!=null&&e.categories.length!==0?o.jsxs(mt,{children:[o.jsxs(Z,{onClick:k,children:[o.jsx(ut,{}),o.jsx(N,{children:u.addFilterBtnText})]}),o.jsxs(Z,{onClick:I,children:[o.jsx(ht,{}),o.jsx(N,{children:u.clearAllBtnText})]})]}):null,b=()=>e.categories==null||e.categories.length===0?o.jsx(Y,{children:o.jsx(Q,{children:o.jsxs(ee,{children:[o.jsx(K,{children:o.jsx(q,{children:u.filterByLabel})}),o.jsx(X,{children:o.jsx(U,{defaultMenuIsOpen:!0,onChange:m,placeHolder:u.categoryPlaceholder,getOptionLabel:d=>M(n,d),options:F(n,g.loggedInUserRole)})})]})})}):o.jsx(a.Fragment,{children:e.categories.map((d,h)=>{const C=F(n,g.loggedInUserRole??[]).find(i=>i.value===d.field),x=C?.type,_=C!=null?M(n,C?.value):"";return o.jsxs(Q,{windowSize:w,children:[o.jsxs(ee,{children:[o.jsxs(K,{children:[h===0&&o.jsx(q,{children:u.filterByLabel}),h!==0?o.jsx(Ce,{categoryCombinationOperator:e.categoryCombinationOperator,onChange:S,buttonsDisabled:h>1}):null]}),o.jsx(X,{children:o.jsx(U,{value:d.field,placeHolder:u.categoryPlaceholder,onChange:i=>m(i,h),getOptionLabel:i=>M(n,i),options:F(n,g.loggedInUserRole??[])})})]}),d.field?o.jsxs(wt,{children:[o.jsx(gt,{children:o.jsx(we,{categoryIndex:h,value:d.matchingOperator,onChange:E})}),o.jsxs(xt,{children:[o.jsx(bt,{windowSize:w,children:o.jsx(tt,{options:t[d.field]!=null?t[d.field]:[],placeHolder:x==="searchAutocomplete"?u.searchPlaceholder:`${u.select} ${_}`,value:d.values,filterCategoryType:x??"dropdown",onChange:i=>L(i,h),valuesCombinationOperator:d.valuesCombinationOperator,searchAutoCompleteData:s,searchAutoCompleteActions:p,renderOptionIcon:y})}),o.jsx(ft,{onClick:()=>v(h),windowSize:w,children:o.jsx(yt,{})})]})]}):null]},d.field?d.field+h:h)})});return o.jsxs(Y,{ref:f,children:[b(),$()]})});de.displayName="FiltersSelection";const vt=l.div`
143
143
  padding-top: ${r.sp4};
144
144
  padding-bottom: ${r.sp4};
145
145
  box-sizing: border-box;
@@ -157,7 +157,7 @@ import{J as B,d as D,V as o,cp as H,o as r,aR as V,T as te,h5 as ue,u as R,i as
157
157
  `,jt=l.div`
158
158
  padding-left: ${r.sp4};
159
159
  padding-right: ${r.sp4};
160
- `,St=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:a,disableFilters:p=!1,transactionsLoaded:c=!0,createdByUserListLoaded:y=!0,analytics:f,groupByFiltersComponent:g,onFiltersChange:w,getCategoryWiseOptions:m,renderDropdownOptionIcon:E})=>{const S=s.useRef(null),[v,k]=s.useState(!1),I=s.useRef(!1),[L,u]=s.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[$,b]=s.useState("auto"),d=s.useRef(null),h=B(),C=s.useCallback(()=>{k(!1)},[]),x=j.getLocalizedStrings().common.strings.empty,_=s.useCallback(()=>{e!=="task_management"&&e!=="charge_card_payment_history"&&f?.trackSpendManagmentFilterClick(e),p===!1&&k(!0)},[p,f,e]);s.useEffect(()=>{m&&y&&c&&u(O=>Object.keys(O[e]??{}).length===0?{...O,[e]:m()}:O)},[e,c,y]);const i=s.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return g!=null?88+g.height:88;const O=d.current,P=O!=null?O.clientHeight:0;return h==="small"?"auto":R[7]+(P>0?P:88)+(g!=null?g.height:0)},[t,h,g]);s.useEffect(()=>{if(v!==I.current){b("auto");return}b(i())},[i,v]),s.useEffect(()=>{I.current=v},[v]),s.useEffect(()=>{$==="auto"&&b(i())},[$,i]);const pe=()=>o.jsx(xe,{anchorEl:S.current,open:v,onClose:C,paperStyle:{overflow:"visible"},children:o.jsxs(vt,{height:$,windowSize:h,children:[g!=null?o.jsx($t,{children:g?.component}):null,o.jsx(jt,{children:o.jsx(de,{filters:t,onFiltersChange:w,filterValues:L[e],selectedEntity:e,ref:d,vendorSearchAutoCompleteActions:a,vendorSearchAutoCompleteData:n,renderDropdownOptionIcon:E})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox"),z=t?.categories==null||t?.categories.length===0?0:t.categories.filter(O=>O.field!=null&&O.values.length>0).length;return o.jsxs(s.Fragment,{children:[o.jsx(ge,{searchPlaceholder:x,isFilterBtnActive:v||z>0,ref:S,isFilterDisabled:p,onFilterButtonClick:_,filtersCount:z,includeSearch:!1,filterText:x}),p!=!0&&pe()]})},kt=e=>s.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},s.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),s.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:Ot}=j.getLocalizedStrings(),It={filterIconContainerPaddingRight:new ne(18,10)};function Wt({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:a,disableDownloadButton:p,filters:c,searchText:y,downloadParams:f,downloadState:g,showSettingsIcon:w=!0,showSettingsIconOnNavbar:m,showDownloadButtonOnNavbar:E,showStatementButtonOnNavbar:S,showPayEarlyButtonOnNavbar:v,showPaymentHistoryButtonOnNavbar:k,groupByFiltersComponent:I,updateDownloadStateHandler:L,onMenuOpen:u,filterIconContainerStyle:$}=e,b=B(),d=D(),[h,C]=s.useState(void 0);s.useEffect(()=>{g!=="Error"&&C(!1)},[g]);let x=Ot.moreMenuOptions;m||(x=x.filter(i=>i.value!=="settings")),S||(x=x.filter(i=>i.value!=="statements")),v||(x=x.filter(i=>i.value!=="payEarly")),k||(x=x.filter(i=>i.value!=="paymentHistory")),E||(x=x.filter(i=>i.value!=="download"));const _={};return e.entity==="charge_cards"?_.width="275px":e.entity==="reimbursement"&&(_.width="208px"),o.jsxs(At,{children:[o.jsxs(Tt,{isSearchOpen:e.isSearchOpen&&b==="small",windowsize:b,children:[b!=="small"&&!e.hideSearchBtn?o.jsx(H,{"data-testid":V("list-page-search-input-box"),style:{position:"absolute",left:"unset",...a},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:_,searchIconMarginRight:e.entity==="charge_cards"?r.sp4:"10px"}):null,(e.entity==="bill_pay"||e.entity==="reimbursement"||e.entity==="task_management"||e.entity==="charge_card_payment_history")&&e.onFiltersChange!=null?o.jsx(Rt,{size:b,style:$,children:o.jsx(St,{entity:e.entity,groupByFiltersComponent:I,onFiltersChange:e.onFiltersChange,filters:e.filters,disableFilters:e.disableFilters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics,renderDropdownOptionIcon:e.renderDropdownOptionIcon})}):null,e.showDownloadIcon===!0&&e.onDownloadClick!=null?o.jsx(_t,{onClick:e.onDownloadClick,disabled:p,children:g==="In-Progress"?o.jsx(te,{size:"Standard",start:!0}):o.jsx(Et,{"data-testid":V("spend-management-download-icon"),disabled:p})}):null,e.showEntityEmailInfoIconOnNavbar===!0?o.jsx(Mt,{onClick:e.onClickEmailInfoIcon,children:o.jsx(Lt,{})}):null,w?o.jsx(Ft,{onClick:()=>C(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?o.jsx(ue,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:b!=="small"?h:void 0,options:x,onMenuOpen:u,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:i=>({...i,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:d.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${d.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:R[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:R[0],marginLeft:-1}})},onOptionSelection:i=>{i==="settings"?e.onClickSetupIcon?.():i==="statements"?e.onClickStatementsIcon?.():i==="payEarly"?e.onClickPayEarlyIcon?.():i==="paymentHistory"&&e.onClickPaymentHistoryIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&f!=null?{entity:t,isDisabled:p,filter:{filters:c,searchText:y},downloadParams:f,downloadState:g,updateDownloadStateHandler:L}:void 0}):o.jsx(Dt,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:b==="small"?o.jsx(Bt,{onClick:e.onNewButtonClick,children:o.jsx(zt,{})}):o.jsx(he,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...oe.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),b==="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"5px",right:b!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const Lt=l(kt)`
160
+ `,St=({entity:e,filters:t,vendorSearchAutoCompleteData:n,vendorSearchAutoCompleteActions:s,disableFilters:p=!1,transactionsLoaded:c=!0,createdByUserListLoaded:y=!0,analytics:f,groupByFiltersComponent:g,onFiltersChange:w,getCategoryWiseOptions:m,renderDropdownOptionIcon:E})=>{const S=a.useRef(null),[v,k]=a.useState(!1),I=a.useRef(!1),[L,u]=a.useState({bill_pay:{},reimbursement:{},task_management:{},charge_card_payment_history:{}}),[$,b]=a.useState("auto"),d=a.useRef(null),h=B(),C=a.useCallback(()=>{k(!1)},[]),x=j.getLocalizedStrings().common.strings.empty,_=a.useCallback(()=>{e!=="task_management"&&e!=="charge_card_payment_history"&&f?.trackSpendManagmentFilterClick(e),p===!1&&k(!0)},[p,f,e]);a.useEffect(()=>{m&&y&&c&&u(O=>Object.keys(O[e]??{}).length===0?{...O,[e]:m()}:O)},[e,c,y]);const i=a.useCallback(()=>{if(t?.categories==null||t.categories.length===0)return g!=null?88+g.height:88;const O=d.current,P=O!=null?O.clientHeight:0;return h==="small"?"auto":R[7]+(P>0?P:88)+(g!=null?g.height:0)},[t,h,g]);a.useEffect(()=>{if(v!==I.current){b("auto");return}b(i())},[i,v]),a.useEffect(()=>{I.current=v},[v]),a.useEffect(()=>{$==="auto"&&b(i())},[$,i]);const pe=()=>o.jsx(xe,{anchorEl:S.current,open:v,onClose:C,paperStyle:{overflow:"visible"},children:o.jsxs(vt,{height:$,windowSize:h,children:[g!=null?o.jsx($t,{children:g?.component}):null,o.jsx(jt,{children:o.jsx(de,{filters:t,onFiltersChange:w,filterValues:L[e],selectedEntity:e,ref:d,vendorSearchAutoCompleteActions:s,vendorSearchAutoCompleteData:n,renderDropdownOptionIcon:E})})]})},t?.categories==null||t.categories.length===0?"smallBox":"largeBox"),z=t?.categories==null||t?.categories.length===0?0:t.categories.filter(O=>O.field!=null&&O.values.length>0).length;return o.jsxs(a.Fragment,{children:[o.jsx(ge,{searchPlaceholder:x,isFilterBtnActive:v||z>0,ref:S,isFilterDisabled:p,onFilterButtonClick:_,filtersCount:z,includeSearch:!1,filterText:x}),p!=!0&&pe()]})},kt=e=>a.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M18.8447 9.03137L22.4962 11.5418V21.127C22.4962 21.4902 22.3519 21.8385 22.0951 22.0953C21.8383 22.3521 21.4901 22.4963 21.1269 22.4963H2.86932C2.50615 22.4963 2.15786 22.3521 1.90106 22.0953C1.64427 21.8385 1.5 21.4902 1.5 21.127V11.5418L5.15151 9.03137",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M4.24207 19.7577L8.80646 16.1062H15.1966L19.761 19.7577",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M22.5 11.5416L17.0227 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M1.50378 11.5416L6.98105 15.1931",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M18.8446 13.9754V2.41288C18.8446 2.17077 18.7484 1.93857 18.5772 1.76738C18.406 1.59618 18.1738 1.5 17.9317 1.5H6.06431C5.8222 1.5 5.59 1.59618 5.4188 1.76738C5.24761 1.93857 5.15143 2.17077 5.15143 2.41288V13.9754",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 5.55005H14.7654",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 8.83069H13.3818",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M9.23108 12.0398H10.9606",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:Ot}=j.getLocalizedStrings(),It={filterIconContainerPaddingRight:new ne(18,10)};function Wt({spendManagementSectionProps:e}){const{entity:t,moreIconContainerStyle:n,searchTextBoxStyle:s,disableDownloadButton:p,filters:c,searchText:y,downloadParams:f,downloadState:g,showSettingsIcon:w=!0,showSettingsIconOnNavbar:m,showDownloadButtonOnNavbar:E,showStatementButtonOnNavbar:S,showPayEarlyButtonOnNavbar:v,showPaymentHistoryButtonOnNavbar:k,groupByFiltersComponent:I,updateDownloadStateHandler:L,onMenuOpen:u,filterIconContainerStyle:$}=e,b=B(),d=D(),[h,C]=a.useState(void 0);a.useEffect(()=>{g!=="Error"&&C(!1)},[g]);let x=Ot.moreMenuOptions;m||(x=x.filter(i=>i.value!=="settings")),S||(x=x.filter(i=>i.value!=="statements")),v||(x=x.filter(i=>i.value!=="payEarly")),k||(x=x.filter(i=>i.value!=="paymentHistory")),E||(x=x.filter(i=>i.value!=="download"));const _={};return e.entity==="charge_cards"?_.width="275px":e.entity==="reimbursement"&&(_.width="208px"),o.jsxs(At,{children:[o.jsxs(Tt,{isSearchOpen:e.isSearchOpen&&b==="small",windowsize:b,children:[b!=="small"&&!e.hideSearchBtn?o.jsx(H,{"data-testid":V("list-page-search-input-box"),style:{position:"absolute",left:"unset",...s},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,inputWrapperStyle:_,searchIconMarginRight:e.entity==="charge_cards"?r.sp4:"10px"}):null,(e.entity==="bill_pay"||e.entity==="reimbursement"||e.entity==="task_management"||e.entity==="charge_card_payment_history")&&e.onFiltersChange!=null?o.jsx(Rt,{size:b,style:$,children:o.jsx(St,{entity:e.entity,groupByFiltersComponent:I,onFiltersChange:e.onFiltersChange,filters:e.filters,disableFilters:e.disableFilters,getCategoryWiseOptions:e.getFilterOptions,vendorSearchAutoCompleteData:e.vendorSearchAutoCompleteData,vendorSearchAutoCompleteActions:e.vendorSearchAutoCompleteActions,createdByUserListLoaded:e.createdByUserListLoaded,analytics:e.analytics,renderDropdownOptionIcon:e.renderDropdownOptionIcon})}):null,e.showDownloadIcon===!0&&e.onDownloadClick!=null?o.jsx(_t,{onClick:e.onDownloadClick,disabled:p,children:g==="In-Progress"?o.jsx(te,{size:"Standard",start:!0}):o.jsx(Et,{"data-testid":V("spend-management-download-icon"),disabled:p})}):null,e.showEntityEmailInfoIconOnNavbar===!0?o.jsx(Mt,{onClick:e.onClickEmailInfoIcon,children:o.jsx(Lt,{})}):null,w?o.jsx(Ft,{onClick:()=>C(void 0),style:n,children:t==="bill_pay"||t==="reimbursement"||t==="charge_cards"?o.jsx(ue,{entity:t,isMoreOption:!0,closeMenuOnSelect:!1,isMenuOpen:b!=="small"?h:void 0,options:x,onMenuOpen:u,customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),menu:i=>({...i,left:"23px",top:"29px",transform:"translateX(-100%)",width:"auto",backgroundColor:d.colors.grey5,borderRadius:r.sp1,boxShadow:`${r.sp0} 2px ${r.sp2} ${d.colors.dropShadowHover}`,whiteSpace:"nowrap"}),container:()=>({marginLeft:R[0]}),valueContainer:()=>({display:"flex","#react-select-2-placeholder":{marginRight:R[0],marginLeft:-1}})},onOptionSelection:i=>{i==="settings"?e.onClickSetupIcon?.():i==="statements"?e.onClickStatementsIcon?.():i==="payEarly"?e.onClickPayEarlyIcon?.():i==="paymentHistory"&&e.onClickPaymentHistoryIcon?.()},downloadProps:(t==="bill_pay"||t==="reimbursement")&&f!=null?{entity:t,isDisabled:p,filter:{filters:c,searchText:y},downloadParams:f,downloadState:g,updateDownloadStateHandler:L}:void 0}):o.jsx(Dt,{onClick:e.onClickSetupIcon})}):null,e.showNewButtonOnNavbar===!0?o.jsx(o.Fragment,{children:b==="small"?o.jsx(Bt,{onClick:e.onNewButtonClick,children:o.jsx(zt,{})}):o.jsx(he,{variant:"primary",onClick:e.onNewButtonClick,label:e.newButtonLabel??"",size:"small",style:{height:"29px",paddingLeft:"12px",paddingRight:"12px",...oe.extraSmallRegular.cssObject,whiteSpace:"nowrap",display:"flex",alignItems:"center"}})}):null]}),b==="small"&&!e.hideSearchBtn?o.jsx(H,{style:{position:"absolute",left:"5px",right:b!=="small"?"120px":"unset",top:r.sp6,width:"98%"},placeholder:e.searchPlaceHolder,searchText:e.searchText,disabled:e.disableSearch,onSearchTextChanged:i=>{e.onSearchTextChanged?.(i)},onSearchOpen:e.onSearchOpen,keepSearchBoxOpen:!0,inputWrapperStyle:e.entity==="charge_cards"?{width:270}:{}}):null]})}const Lt=l(kt)`
161
161
  height: ${r.sp4};
162
162
  width: ${r.sp4};
163
163
  `,Et=l(me)`
@@ -1,4 +1,4 @@
1
- import{J as x,hO as $,V as o,F as g,T as S,o as r,am as v,y as z,c5 as j,u as k}from"./index-ByXRm0Fj.js";import{a as T}from"./sentry-BfjekFHA.js";import{n}from"./mui-BtuxyOQU.js";import{g as I}from"./BoxItem-CACRFWG2-CnmPjRPK.js";import{w as D}from"./downloadPdf-DfRYmfsd-yijlpLuZ.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]="ba6eb9c5-d383-498a-8b95-4c86da410b21",e._sentryDebugIdIdentifier="sentry-dbid-ba6eb9c5-d383-498a-8b95-4c86da410b21")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},P=n.div`
1
+ import{J as x,hO as $,V as o,F as g,T as S,o as r,am as v,y as z,c5 as j,u as k}from"./index-DBvg5JK1.js";import{a as T}from"./sentry-DlWPKrHR.js";import{n}from"./mui-CVkStVfi.js";import{g as I}from"./BoxItem-CACRFWG2-BQt9NwOK.js";import{w as D}from"./downloadPdf-DfRYmfsd-DryKWAvL.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]="ba6eb9c5-d383-498a-8b95-4c86da410b21",e._sentryDebugIdIdentifier="sentry-dbid-ba6eb9c5-d383-498a-8b95-4c86da410b21")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},P=n.div`
2
2
  display: flex;
3
3
  padding: ${r.sp3} ${r.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{d as S,J as I,V as t,bE as z,b5 as C,o as r,F as P,p,cv as E,y as D,u as b,am as M}from"./index-ByXRm0Fj.js";import{a as u}from"./sentry-BfjekFHA.js";import{n as o}from"./mui-BtuxyOQU.js";import{$ as T}from"./BoxItem-CACRFWG2-CnmPjRPK.js";import{o as B}from"./commonDimensions-ClmbdehE-D3isPdv2.js";import{M as L}from"./StatementItem-Cu6dlAsl-BxjOZIKR.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./zeni-epic-state-x1SruN8b.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.js";import"./downloadPdf-DfRYmfsd-yijlpLuZ.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]="1272c067-e149-4505-9f3b-1c6074b336a2",e._sentryDebugIdIdentifier="sentry-dbid-1272c067-e149-4505-9f3b-1c6074b336a2")}catch{}})();const g=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new D(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const k=S(),d=I(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(f,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:T(a,i.statements.length)},l.id)}):t.jsx(_,{style:{...s},children:t.jsx(N,{children:t.jsx(f,{windowSize:d,children:t.jsx(V,{children:g.noStatements})})})})};return t.jsxs(R,{children:[t.jsx(z,{title:g.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(H,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(K,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},_=o.div``,f=o.div`
1
+ import{d as S,J as I,V as t,bE as z,b5 as C,o as r,F as P,p,cv as E,y as D,u as b,am as M}from"./index-DBvg5JK1.js";import{a as u}from"./sentry-DlWPKrHR.js";import{n as o}from"./mui-CVkStVfi.js";import{$ as T}from"./BoxItem-CACRFWG2-BQt9NwOK.js";import{o as B}from"./commonDimensions-ClmbdehE-CUqGbH6M.js";import{M as L}from"./StatementItem-Cu6dlAsl-0BWW7RnN.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./zeni-epic-state-BeWB6NzA.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";import"./downloadPdf-DfRYmfsd-DryKWAvL.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]="1272c067-e149-4505-9f3b-1c6074b336a2",e._sentryDebugIdIdentifier="sentry-dbid-1272c067-e149-4505-9f3b-1c6074b336a2")}catch{}})();const g=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new D(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const k=S(),d=I(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(f,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:T(a,i.statements.length)},l.id)}):t.jsx(_,{style:{...s},children:t.jsx(N,{children:t.jsx(f,{windowSize:d,children:t.jsx(V,{children:g.noStatements})})})})};return t.jsxs(R,{children:[t.jsx(z,{title:g.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(H,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(K,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},_=o.div``,f=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{J as $,cf as T,V as d,F as v,y as h,o as s,u as c,aj as _}from"./index-ByXRm0Fj.js";import{n as u,c as m}from"./mui-BtuxyOQU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1bdb6f4a-9cc9-45f4-94a4-d8e0a8fe4577",e._sentryDebugIdIdentifier="sentry-dbid-1bdb6f4a-9cc9-45f4-94a4-d8e0a8fe4577")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
1
+ import{J as $,cf as T,V as d,F as v,y as h,o as s,u as c,aj as _}from"./index-DBvg5JK1.js";import{n as u,c as m}from"./mui-CVkStVfi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1bdb6f4a-9cc9-45f4-94a4-d8e0a8fe4577",e._sentryDebugIdIdentifier="sentry-dbid-1bdb6f4a-9cc9-45f4-94a4-d8e0a8fe4577")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as i,T as u,o as s,aj as g,a$ as b}from"./index-ByXRm0Fj.js";import{n as r,c}from"./mui-BtuxyOQU.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]="39b9e9a5-a17c-4993-b28b-37a765eb4457",e._sentryDebugIdIdentifier="sentry-dbid-39b9e9a5-a17c-4993-b28b-37a765eb4457")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(y,{style:o,hasRightComponent:h,children:[i.jsx(f,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const y=r.div`
1
+ import{V as i,T as u,o as s,aj as g,a$ as b}from"./index-DBvg5JK1.js";import{n as r,c}from"./mui-CVkStVfi.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]="39b9e9a5-a17c-4993-b28b-37a765eb4457",e._sentryDebugIdIdentifier="sentry-dbid-39b9e9a5-a17c-4993-b28b-37a765eb4457")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(y,{style:o,hasRightComponent:h,children:[i.jsx(f,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const y=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{V as n}from"./index-ByXRm0Fj.js";import{E as r,T as t}from"./ReloadCard-vAhL7B8U-CXvjyFbd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="9abb0d0c-57d6-4bc4-be80-4cd9ec24ebe6",e._sentryDebugIdIdentifier="sentry-dbid-9abb0d0c-57d6-4bc4-be80-4cd9ec24ebe6")}catch{}})();const a=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{a as c};
1
+ import{V as n}from"./index-DBvg5JK1.js";import{E as r,T as t}from"./ReloadCard-vAhL7B8U-Dw-PqaQf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="9abb0d0c-57d6-4bc4-be80-4cd9ec24ebe6",e._sentryDebugIdIdentifier="sentry-dbid-9abb0d0c-57d6-4bc4-be80-4cd9ec24ebe6")}catch{}})();const a=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{a as c};
@@ -1,8 +1,8 @@
1
- import{ax as gt,d as Xe,V as t,jz as q,bE as kt,ab as _,cr as xt,am as K,ar as ft,F as se,o as s,jA as Ye,ck as Ie,co as wt,ga as Ct,bb as $t,bQ as Ze,aV as Tt,cf as jt,J as ie,aa as yt,y as Je,cH as vt,ad as bt,b5 as St,cv as Gt,iW as Lt,iX as It,jB as Me,aT as Nt,i as De,bV as Ne,eQ as Qe,jC as Et,d1 as et,jD as ce,jE as ke,jF as xe,jG as tt,jH as Dt,jI as st,jJ as ot,jK as nt,jL as at,jM as rt,jN as V,u as ge,jO as ae,aj as re,jP as Mt,jQ as Bt,x as zt,ao as At,jR as Rt,dc as Wt,jS as Ft,cL as it,es as Ot,b as Pt,jT as Ht,jU as _t,gb as Ut,gC as Vt,jV as Kt,jW as Z,jX as Be,cx as qt,jY as Xt,jZ as Yt,j_ as Zt,j$ as ze,p as Ae,gz as Jt,an as Qt}from"./index-ByXRm0Fj.js";import{a as n}from"./sentry-BfjekFHA.js";import{n as o,c as fe}from"./mui-BtuxyOQU.js";import{Gg as es,Gh as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-x1SruN8b.js";import{J as ss,t as os}from"./SpendManagementSection-D8rBpC-y-wjuhm2Gv.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-BOW_TmPC-2OPYdfiF.js";import{a as ls}from"./SpendManagementListViewPage-D3eISFuA-B7nSuLpf.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.js";import"./StatusSwitcher-B9MARTyR-CVrMK43S.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="8cc1f20c-6685-48ed-80a4-102b8c07faf0",e._sentryDebugIdIdentifier="sentry-dbid-8cc1f20c-6685-48ed-80a4-102b8c07faf0")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},w=()=>e.current??window,f=()=>{if(!a)return;const x=w(),S=window.innerHeight,j=p;if(j<c&&j>0){const L=c-j,g=D(L);k(x,g,"up")}else if(j>S-c){const L=j-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(f)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},T=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(f))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
2
- ${e=>e.isCircular?fe`
1
+ import{ax as gt,d as Xe,V as t,jz as q,bE as kt,ab as _,cr as xt,am as K,ar as wt,F as se,o as s,jA as Ye,ck as Ie,co as ft,ga as Ct,bb as $t,bQ as Ze,aV as Tt,cf as jt,J as ie,aa as yt,y as Je,cH as vt,ad as bt,b5 as St,cv as Gt,iW as Lt,iX as It,jB as Me,aT as Nt,i as De,bV as Ne,eQ as Qe,jC as Et,d1 as et,jD as ce,jE as ke,jF as xe,jG as tt,jH as Dt,jI as st,jJ as ot,jK as nt,jL as at,jM as rt,jN as V,u as ge,jO as ae,aj as re,jP as Mt,jQ as Bt,x as zt,ao as At,jR as Rt,dc as Wt,jS as Ft,cL as it,es as Ot,b as Pt,jT as Ht,jU as _t,gb as Ut,gC as Vt,jV as Kt,jW as Z,jX as Be,cx as qt,jY as Xt,jZ as Yt,j_ as Zt,j$ as ze,p as Ae,gz as Jt,an as Qt}from"./index-DBvg5JK1.js";import{a as n}from"./sentry-DlWPKrHR.js";import{n as o,c as we}from"./mui-CVkStVfi.js";import{Gh as es,Gi as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-BeWB6NzA.js";import{J as ss,t as os}from"./SpendManagementSection-D8rBpC-y-BK434VnL.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-BOW_TmPC-CZmsrUp-.js";import{a as ls}from"./SpendManagementListViewPage-D3eISFuA-CfUqu7cE.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";import"./StatusSwitcher-B9MARTyR-XJNlxoKq.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="ce27500e-7601-4306-b35a-8a1c6be9fa72",e._sentryDebugIdIdentifier="sentry-dbid-ce27500e-7601-4306-b35a-8a1c6be9fa72")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=p;if(j<c&&j>0){const L=c-j,g=D(L);k(x,g,"up")}else if(j>S-c){const L=j-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(w)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},T=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
2
+ ${e=>e.isCircular?we`
3
3
  height: 18px;
4
4
  width: 18px;
5
- `:fe`
5
+ `:we`
6
6
  height: 18px;
7
7
  min-width: 18px;
8
8
  padding: ${s.sp0} ${s.sp1};
@@ -16,22 +16,22 @@ import{ax as gt,d as Xe,V as t,jz as q,bE as kt,ab as _,cr as xt,am as K,ar as f
16
16
  outline-color: inherit;
17
17
  `,gs=o(At)`
18
18
  color: inherit;
19
- `,{taskManagement:We,common:Se}=se.getLocalizedStrings();function ks(e){const{onChange:d,value:r,resetDisabled:h,onReset:m}=e,u=()=>{h!==!0&&m()};return t.jsxs(xs,{children:[t.jsx(Cs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(fs,{children:t.jsx(ss,{value:r,placeHolder:We.taskList.groupingFilters.placeholder,onChange:a=>{const p=Re(a.value);if(p!=null)d(p);else throw new Error("Invalid taskListGroupByKey")},options:es,getOptionLabel:a=>{const p=Se.texts,i=Re(a);return i!=null?p[i]:Se.strings.empty}})}),t.jsxs(ws,{onClick:u,isDisabled:h,children:[t.jsx($s,{}),t.jsx(K,{children:Se.reset})]})]})}const xs=o.div`
19
+ `,{taskManagement:We,common:Se}=se.getLocalizedStrings();function ks(e){const{onChange:d,value:r,resetDisabled:h,onReset:m}=e,u=()=>{h!==!0&&m()};return t.jsxs(xs,{children:[t.jsx(Cs,{children:We.taskList.groupingFilters.groupBy}),t.jsx(ws,{children:t.jsx(ss,{value:r,placeHolder:We.taskList.groupingFilters.placeholder,onChange:a=>{const p=Re(a.value);if(p!=null)d(p);else throw new Error("Invalid taskListGroupByKey")},options:es,getOptionLabel:a=>{const p=Se.texts,i=Re(a);return i!=null?p[i]:Se.strings.empty}})}),t.jsxs(fs,{onClick:u,isDisabled:h,children:[t.jsx($s,{}),t.jsx(K,{children:Se.reset})]})]})}const xs=o.div`
20
20
  display: flex;
21
21
  align-items: center;
22
22
  column-gap: ${s.sp4};
23
23
  justify-content: space-between;
24
24
  padding-bottom: ${s.sp4};
25
25
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
26
- `,fs=o.div`
27
- flex: 1;
28
26
  `,ws=o.div`
27
+ flex: 1;
28
+ `,fs=o.div`
29
29
  display: flex;
30
30
  align-items: center;
31
31
  color: ${e=>e.theme.colors.hero};
32
- ${e=>e.isDisabled?fe`
32
+ ${e=>e.isDisabled?we`
33
33
  opacity: 0.3;
34
- `:fe`
34
+ `:we`
35
35
  cursor: pointer;
36
36
  `};
37
37
  &:hover {
@@ -97,7 +97,7 @@ import{ax as gt,d as Xe,V as t,jz as q,bE as kt,ab as _,cr as xt,am as K,ar as f
97
97
  `,Es=o(zt)`
98
98
  width: ${s.sp3};
99
99
  height: ${s.sp3};
100
- `,Ds=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.6011 5.42688H3.10107",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 9.60004L7.92188 12.4125L6.51562 11.0063",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 11.0063H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 15.4125L7.92188 18.225L6.51562 16.8188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 16.8188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ms=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 8.1001L7.92188 10.9126L6.51562 9.50635",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 9.50635H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 13.9126L7.92188 16.7251L6.51562 15.3188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 15.3188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bs=e=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},n.createElement("path",{d:"M4.49908 1.50001H12.0015H19.5039C19.5039 1.50001 20.868 1.50001 20.868 2.86409V21.1359C20.868 21.1359 20.868 22.5 19.5039 22.5H4.49908C4.49908 22.5 3.13501 22.5 3.13501 21.1359V2.86409C3.13501 2.86409 3.13501 1.50001 4.49908 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7.5 11.9996L8.598 14.1953C8.70072 14.4016 8.85107 14.5804 9.03662 14.7171C9.22217 14.8538 9.43759 14.9443 9.66506 14.9812C9.89254 15.0182 10.1255 15.0004 10.3448 14.9295C10.5641 14.8585 10.7633 14.7364 10.926 14.5733L16.5 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{taskManagement:zs,common:As}=se.getLocalizedStrings(),J=zs.taskList.newTaskOptions;function Rs({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:b,onNewTaskInitialization:E}){const D=Xe(),[k,w]=n.useState(null),[f,M]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(M(null),w(null),p())},[h.fetchState,p]);const B=n.useCallback((T,x)=>{w(x),b(T,x)},[b]),z=n.useCallback(T=>{M(T),C(T)},[C]);return t.jsx(Ye,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${D.colors.grey3}`}},anchorEl:e,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Fs,{isTaskTemplatesEnabled:m,children:[t.jsxs(Hs,{children:[t.jsxs(Pe,{onClick:i,children:[t.jsx(Os,{}),t.jsx(Ie,{children:J.task})]}),t.jsx(_,{controller:d==="groupName",children:t.jsxs(Pe,{onClick:()=>c(""),children:[t.jsx(Ps,{}),t.jsx(Ie,{children:J.group})]})})]}),m?t.jsx(Ws,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:f,expandedTemplate:u,handleGroupTemplateClick:z,handleGroupTemplateTaskClick:B,onNewGroupClick:c,onNewTaskInitialization:E,onExpandTemplate:a}):null]})})}const Ws=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:m,handleGroupTemplateClick:u,handleGroupTemplateTaskClick:a,onNewGroupClick:p,onNewTaskInitialization:i})=>{const[c,C]=n.useState(""),b=n.useMemo(()=>{const k=[];return e.forEach(w=>{if(w.name.toLowerCase().includes(c.toLowerCase()))k.push(w);else{const f=w.tasks.filter(M=>M.name.toLowerCase().includes(c.toLowerCase()));f.length>0&&k.push({...w,tasks:f})}}),k},[e,c]),E=n.useCallback(()=>{i(c)},[c,i]),D=n.useCallback(()=>{p(c)},[c,p]);return t.jsxs(_s,{children:[t.jsx(Us,{children:t.jsxs(Ks,{children:[t.jsxs(Vs,{children:[t.jsx(qs,{}),t.jsx(Xs,{children:J.groupTemplates})]}),t.jsx(Ss,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:c,onSearchTextChanged:C,placeholder:J.searchPlaceholder})]})}),t.jsx(_,{controller:b.length>0,children:t.jsx(Ys,{children:b.map(k=>{const w=h===k.id;return t.jsxs(ao,{children:[t.jsxs(Zs,{onClick:()=>{m(k.id)},expanded:w,children:[t.jsxs(Js,{children:[t.jsx(_,{controller:w,children:t.jsx(no,{})}),t.jsx(_,{controller:!w,children:t.jsx(oo,{})}),t.jsx(K,{children:k.name}),t.jsx(ct,{count:k.tasks.length})]}),t.jsx(to,{expanded:w,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:J.createGroup,disabled:k.createdAt!=null,onClick:f=>{f.stopPropagation(),m(null),u(k.id)},reverseSpinnerColor:!1,loading:r===k.id})]}),t.jsx(_,{controller:w,children:t.jsx(n.Fragment,{children:k.tasks.map(f=>t.jsxs(Qs,{children:[t.jsxs(eo,{children:[t.jsx(ro,{className:"styled-dot"}),t.jsx(co,{className:"task-name-text",children:f.name})]}),t.jsx(so,{loading:d===f.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:As.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,f.name)})]},f.name))})})]},k.id)})})}),t.jsxs(_,{controller:b.length===0,children:[t.jsx(io,{children:t.jsx(lo,{children:J.noTaskGroup})}),t.jsxs(He,{onClick:E,children:[t.jsx(_e,{}),t.jsx(K,{children:J.newTaskOptionText.replace("__searchText__",c)})]}),t.jsxs(He,{onClick:D,children:[t.jsx(_e,{}),t.jsx(K,{children:J.newGroupOptionText.replace("__searchText__",c)})]})]})]})},Fs=o.div`
100
+ `,Ds=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M19.6011 5.42688H3.10107",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 9.60004L7.92188 12.4125L6.51562 11.0063",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 11.0063H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 15.4125L7.92188 18.225L6.51562 16.8188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 16.8188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ms=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M4.36407 1.50001H11.8665H19.3689C19.3689 1.50001 20.733 1.50001 20.733 2.86409V21.1359C20.733 21.1359 20.733 22.5 19.3689 22.5H4.36407C4.36407 22.5 3 22.5 3 21.1359V2.86409C3 2.86409 3 1.50001 4.36407 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 8.1001L7.92188 10.9126L6.51562 9.50635",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 9.50635H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.7344 13.9126L7.92188 16.7251L6.51562 15.3188",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.7344 15.3188H17.4844",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bs=e=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},n.createElement("path",{d:"M4.49908 1.50001H12.0015H19.5039C19.5039 1.50001 20.868 1.50001 20.868 2.86409V21.1359C20.868 21.1359 20.868 22.5 19.5039 22.5H4.49908C4.49908 22.5 3.13501 22.5 3.13501 21.1359V2.86409C3.13501 2.86409 3.13501 1.50001 4.49908 1.50001Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M7.5 11.9996L8.598 14.1953C8.70072 14.4016 8.85107 14.5804 9.03662 14.7171C9.22217 14.8538 9.43759 14.9443 9.66506 14.9812C9.89254 15.0182 10.1255 15.0004 10.3448 14.9295C10.5641 14.8585 10.7633 14.7364 10.926 14.5733L16.5 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{taskManagement:zs,common:As}=se.getLocalizedStrings(),J=zs.taskList.newTaskOptions;function Rs({anchorEl:e,groupByKey:d,taskGroupTemplates:r,taskCreationFromTemplateStatus:h,isTaskTemplatesEnabled:m,expandedTemplate:u,onExpandTemplate:a,onClose:p,onNewTaskClick:i,onNewGroupClick:c,handleGroupTemplateClick:C,handleGroupTemplateTaskClick:b,onNewTaskInitialization:E}){const D=Xe(),[k,f]=n.useState(null),[w,M]=n.useState(null);n.useEffect(()=>{h.fetchState==="Completed"&&(M(null),f(null),p())},[h.fetchState,p]);const B=n.useCallback((T,x)=>{f(x),b(T,x)},[b]),z=n.useCallback(T=>{M(T),C(T)},[C]);return t.jsx(Ye,{open:!!e,sx:{"& .MuiPaper-root":{border:`1px solid ${D.colors.grey3}`}},anchorEl:e,onClose:p,transformOrigin:{vertical:"top",horizontal:"right"},anchorOrigin:{vertical:"bottom",horizontal:"right"},children:t.jsxs(Fs,{isTaskTemplatesEnabled:m,children:[t.jsxs(Hs,{children:[t.jsxs(Pe,{onClick:i,children:[t.jsx(Os,{}),t.jsx(Ie,{children:J.task})]}),t.jsx(_,{controller:d==="groupName",children:t.jsxs(Pe,{onClick:()=>c(""),children:[t.jsx(Ps,{}),t.jsx(Ie,{children:J.group})]})})]}),m?t.jsx(Ws,{taskGroupTemplates:r,taskIdInCreation:k,groupIdInCreation:w,expandedTemplate:u,handleGroupTemplateClick:z,handleGroupTemplateTaskClick:B,onNewGroupClick:c,onNewTaskInitialization:E,onExpandTemplate:a}):null]})})}const Ws=({taskGroupTemplates:e,taskIdInCreation:d,groupIdInCreation:r,expandedTemplate:h,onExpandTemplate:m,handleGroupTemplateClick:u,handleGroupTemplateTaskClick:a,onNewGroupClick:p,onNewTaskInitialization:i})=>{const[c,C]=n.useState(""),b=n.useMemo(()=>{const k=[];return e.forEach(f=>{if(f.name.toLowerCase().includes(c.toLowerCase()))k.push(f);else{const w=f.tasks.filter(M=>M.name.toLowerCase().includes(c.toLowerCase()));w.length>0&&k.push({...f,tasks:w})}}),k},[e,c]),E=n.useCallback(()=>{i(c)},[c,i]),D=n.useCallback(()=>{p(c)},[c,p]);return t.jsxs(_s,{children:[t.jsx(Us,{children:t.jsxs(Ks,{children:[t.jsxs(Vs,{children:[t.jsx(qs,{}),t.jsx(Xs,{children:J.groupTemplates})]}),t.jsx(Ss,{inputContainerStyles:{top:"50%",transform:"translateY(-50%)"},searchText:c,onSearchTextChanged:C,placeholder:J.searchPlaceholder})]})}),t.jsx(_,{controller:b.length>0,children:t.jsx(Ys,{children:b.map(k=>{const f=h===k.id;return t.jsxs(ao,{children:[t.jsxs(Zs,{onClick:()=>{m(k.id)},expanded:f,children:[t.jsxs(Js,{children:[t.jsx(_,{controller:f,children:t.jsx(no,{})}),t.jsx(_,{controller:!f,children:t.jsx(oo,{})}),t.jsx(K,{children:k.name}),t.jsx(ct,{count:k.tasks.length})]}),t.jsx(to,{expanded:f,className:"hidden-create-group-button",variant:"secondary",size:"xs-small",label:J.createGroup,disabled:k.createdAt!=null,onClick:w=>{w.stopPropagation(),m(null),u(k.id)},reverseSpinnerColor:!1,loading:r===k.id})]}),t.jsx(_,{controller:f,children:t.jsx(n.Fragment,{children:k.tasks.map(w=>t.jsxs(Qs,{children:[t.jsxs(eo,{children:[t.jsx(ro,{className:"styled-dot"}),t.jsx(co,{className:"task-name-text",children:w.name})]}),t.jsx(so,{loading:d===w.name,className:"hidden-create-task-button",variant:"secondary",size:"xs-small",label:As.create,reverseSpinnerColor:!1,onClick:()=>a(k.id,w.name)})]},w.name))})})]},k.id)})})}),t.jsxs(_,{controller:b.length===0,children:[t.jsx(io,{children:t.jsx(lo,{children:J.noTaskGroup})}),t.jsxs(He,{onClick:E,children:[t.jsx(_e,{}),t.jsx(K,{children:J.newTaskOptionText.replace("__searchText__",c)})]}),t.jsxs(He,{onClick:D,children:[t.jsx(_e,{}),t.jsx(K,{children:J.newGroupOptionText.replace("__searchText__",c)})]})]})]})},Fs=o.div`
101
101
  display: flex;
102
102
  flex-direction: column;
103
103
  width: ${e=>e.isTaskTemplatesEnabled?"408px":"unset"};
@@ -243,7 +243,7 @@ import{ax as gt,d as Xe,V as t,jz as q,bE as kt,ab as _,cr as xt,am as K,ar as f
243
243
  text-overflow: ellipsis;
244
244
  white-space: nowrap;
245
245
  max-width: 336px;
246
- `,{common:Ge,dateFormat:po,taskManagement:Ee}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Je(125,170,170,250,300)},uo=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:u})=>{const a=ie(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:b,getFieldState:E}=it(),D=(k,w)=>{const f=ze(k,w,xe);E(f).invalid?b(f):m(e,{timeSpent:C(f)})};return t.jsxs(go,{children:[t.jsxs(So,{windowSize:a,onClick:h,responsiveWidth:Z[0].width,children:[t.jsxs(Go,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Eo,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Lo,{windowSize:a,responsiveWidth:Z[0].width,children:t.jsx(No,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ue,{windowSize:a,responsiveWidth:Z[1].width,children:Be(e.status.code)}),t.jsx(zo,{windowSize:a,responsiveWidth:Z[2].width,children:Be(e.priority.code)}),t.jsx(Ao,{windowSize:a,responsiveWidth:Z[3].width,children:e.dueDate!=null?e.dueDate.format(po.visual.MMMDCommaYYYYformat):t.jsx(ko,{children:Ge.strings.hyphen})}),t.jsx(Ue,{windowSize:a,responsiveWidth:Z[4].width,children:p>0?t.jsxs(xo,{children:[t.jsx(qt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Do,{children:t.jsx(Mo,{children:c})}),p>1?t.jsx(fo,{children:`${Ge.strings.plus}${p-1}`}):null]}):null}),t.jsx(Ro,{windowSize:a,responsiveWidth:Z[5].width,children:e.tagIds.length>0?t.jsx(Bo,{children:Xt(e.tagIds,d)}):null}),t.jsx(Fo,{windowSize:a,responsiveWidth:Z[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Oo,{className:"timeSpentField",children:t.jsx(Yt,{name:ze(r,e.id,xe),placeholder:Ee.common.timeSpentPlaceholder,timeSpentFormat:Ee.common.timeSpentFormat,registerOptions:{validate:k=>ts(k)>Zt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{D(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},ho=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:C,onAddNewTaskToTaskGroup:b,onCollapseToggle:E,onTaskManagementRowClick:D,onDragStart:k,onTimeSpentUpdate:w,onShowToast:f})=>{const[M,B]=n.useState(null),z=ie(),{setFocus:T}=it(),x=n.useCallback(()=>{E(e.id)},[E,e.id]),S=n.useCallback(W=>{B(W.currentTarget)},[]),j=n.useCallback(()=>{B(null)},[]),L=n.useCallback(()=>{b(e.id)},[b,e.id]),g=n.useCallback(()=>{B(null),i(e.id)},[i,e.id]),y=n.useCallback(()=>{T(`${r}.groupName`),j()},[j,r,T]);return t.jsxs(mo,{windowSize:z,children:[t.jsx(_,{controller:h,children:t.jsxs(wo,{children:[t.jsxs(Co,{children:[t.jsx($o,{isOpen:a===!1,onClick:x,children:t.jsx(To,{})}),t.jsx(Ot,{style:{textAlign:"start",width:"100%",background:"unset",...Pt.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:Ee.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:W=>Ht(W,e.id,p)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(jo,{onClick:S,children:t.jsx(yo,{})}),t.jsx(_t,{onClose:j,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:c,onRename:y,isDefault:e.isDefault,anchorEl:M})]})}),t.jsx(_,{controller:a===!1,children:t.jsx(Ut,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(W=>{const U=()=>{D(W.id)};return{label:t.jsx(uo,{taskDetail:W,onRowClick:U,tagList:d,onTimeSpentUpdate:w,onShowToast:f,sectionId:r}),prefix:z==="small"?null:t.jsx(vo,{children:t.jsx(bo,{})}),value:W.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},mo=o.div`
246
+ `,{common:Ge,dateFormat:po,taskManagement:Ee}=se.getLocalizedStrings(),pt={taskNameMaxWidth:new Je(125,170,170,250,300)},uo=({taskDetail:e,tagList:d,sectionId:r,onRowClick:h,onTimeSpentUpdate:m,onShowToast:u})=>{const a=ie(),p=e.assigneeUsers.length,i=e.assigneeUsers[0]?.user,c=i?.firstName||i?.lastName?`${i.firstName} ${i.lastName}`:i?.email??Ge.strings.empty,{getValues:C,resetField:b,getFieldState:E}=it(),D=(k,f)=>{const w=ze(k,f,xe);E(w).invalid?b(w):m(e,{timeSpent:C(w)})};return t.jsxs(go,{children:[t.jsxs(So,{windowSize:a,onClick:h,responsiveWidth:Z[0].width,children:[t.jsxs(Go,{windowSize:a,children:[t.jsx(Io,{isIconPresent:e.type.code==="recurring",windowSize:a,className:"taskNameText",children:e.name}),e.type.code==="recurring"?t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.type.name,placement:"bottom",children:t.jsx(Eo,{height:s.sp3,width:s.sp3})}):null]}),t.jsx(Ne,{style:{padding:`12px ${s.sp3}`},title:e.description,placement:"bottom-start",children:t.jsx(Lo,{windowSize:a,responsiveWidth:Z[0].width,children:t.jsx(No,{windowSize:a,className:"taskDescriptionText",children:e.description})})})]}),t.jsx(Ue,{windowSize:a,responsiveWidth:Z[1].width,children:Be(e.status.code)}),t.jsx(zo,{windowSize:a,responsiveWidth:Z[2].width,children:Be(e.priority.code)}),t.jsx(Ao,{windowSize:a,responsiveWidth:Z[3].width,children:e.dueDate!=null?e.dueDate.format(po.visual.MMMDCommaYYYYformat):t.jsx(ko,{children:Ge.strings.hyphen})}),t.jsx(Ue,{windowSize:a,responsiveWidth:Z[4].width,children:p>0?t.jsxs(xo,{children:[t.jsx(qt,{personBasic:i,styles:{width:s.sp4,height:s.sp4}}),t.jsx(Do,{children:t.jsx(Mo,{children:c})}),p>1?t.jsx(wo,{children:`${Ge.strings.plus}${p-1}`}):null]}):null}),t.jsx(Ro,{windowSize:a,responsiveWidth:Z[5].width,children:e.tagIds.length>0?t.jsx(Bo,{children:Xt(e.tagIds,d)}):null}),t.jsx(Fo,{windowSize:a,responsiveWidth:Z[6].width,isLastColumn:!0,isDisabled:!1,children:t.jsx(Oo,{className:"timeSpentField",children:t.jsx(Yt,{name:ze(r,e.id,xe),placeholder:Ee.common.timeSpentPlaceholder,timeSpentFormat:Ee.common.timeSpentFormat,registerOptions:{validate:k=>ts(k)>Zt?(u({messageSection:"task_time_spent_validation",messageText:"failed",type:"error",showStatusIcon:!0}),"Error"):!0},style:{padding:`${s.sp0} ${s.sp1}`,background:"unset"},onInputBlur:()=>{D(r,e.id)},inputStyle:{textAlign:"right",padding:`${s.sp0} ${s.sp2}`}})})})]})},ho=({taskGroup:e,tagList:d,sectionId:r,showGroupName:h,showRenameTextField:m,isSelectionAllowed:u,isCollapsed:a,existingTaskGroupNamesByGroupId:p,onDeleteTaskGroup:i,onExpandAll:c,onCollapseAll:C,onAddNewTaskToTaskGroup:b,onCollapseToggle:E,onTaskManagementRowClick:D,onDragStart:k,onTimeSpentUpdate:f,onShowToast:w})=>{const[M,B]=n.useState(null),z=ie(),{setFocus:T}=it(),x=n.useCallback(()=>{E(e.id)},[E,e.id]),S=n.useCallback(W=>{B(W.currentTarget)},[]),j=n.useCallback(()=>{B(null)},[]),L=n.useCallback(()=>{b(e.id)},[b,e.id]),g=n.useCallback(()=>{B(null),i(e.id)},[i,e.id]),y=n.useCallback(()=>{T(`${r}.groupName`),j()},[j,r,T]);return t.jsxs(mo,{windowSize:z,children:[t.jsx(_,{controller:h,children:t.jsxs(fo,{children:[t.jsxs(Co,{children:[t.jsx($o,{isOpen:a===!1,onClick:x,children:t.jsx(To,{})}),t.jsx(Ot,{style:{textAlign:"start",width:"100%",background:"unset",...Pt.largeMedium.cssObject},type:"text",name:`${r}.groupName`,placeholder:Ee.taskList.taskGroup.groupNamePlaceholder,registerOptions:{required:!0,validate:W=>Ht(W,e.id,p)===!1},isDisabled:m&&e.id!=="new_group"||e.isDefault?"disabled":void 0})]}),t.jsx(jo,{onClick:S,children:t.jsx(yo,{})}),t.jsx(_t,{onClose:j,onAddTask:L,onCollapseAll:C,onDelete:g,onExpandAll:c,onRename:y,isDefault:e.isDefault,anchorEl:M})]})}),t.jsx(_,{controller:a===!1,children:t.jsx(Ut,{mode:"checked_or_hover",isDisabled:u===!1?"disabled":void 0,checkBoxes:[...e.tasks.map(W=>{const U=()=>{D(W.id)};return{label:t.jsx(uo,{taskDetail:W,onRowClick:U,tagList:d,onTimeSpentUpdate:f,onShowToast:w,sectionId:r}),prefix:z==="small"?null:t.jsx(vo,{children:t.jsx(bo,{})}),value:W.id,defaultChecked:!1,groupLabel:!1}})],name:`${r}.selectedIds`,style:{width:"100%",rowGap:s.sp3},checkBoxStyle:{padding:s.sp3},labelCheckBoxStyle:{padding:s.sp3},onDragStart:k,draggable:!0})})]})},mo=o.div`
247
247
  box-sizing: border-box;
248
248
  display: flex;
249
249
  flex-direction: column;
@@ -285,7 +285,7 @@ import{ax as gt,d as Xe,V as t,jz as q,bE as kt,ab as _,cr as xt,am as K,ar as f
285
285
  flex-direction: row;
286
286
  align-items: center;
287
287
  color: ${e=>e.theme.colors.hero};
288
- `,fo=o(Qt)`
288
+ `,wo=o(Qt)`
289
289
  border: 1px solid ${e=>e.theme.colors.hero};
290
290
  width: calc(${s.sp3} + ${s.sp1});
291
291
  height: calc(${s.sp3} + ${s.sp1});
@@ -293,7 +293,7 @@ import{ax as gt,d as Xe,V as t,jz as q,bE as kt,ab as _,cr as xt,am as K,ar as f
293
293
  display: flex;
294
294
  justify-content: center;
295
295
  align-items: center;
296
- `,wo=o.div`
296
+ `,fo=o.div`
297
297
  padding-left: ${s.sp7};
298
298
  display: flex;
299
299
  justify-content: space-between;
@@ -430,7 +430,7 @@ import{ax as gt,d as Xe,V as t,jz as q,bE as kt,ab as _,cr as xt,am as K,ar as f
430
430
  column-gap: ${s.sp2};
431
431
  `,Oo=o.div`
432
432
  max-width: ${s.sp11};
433
- `,Po=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=se.getLocalizedStrings(),Ve=e=>`${e}_form`,Ho={rowGap:new Je(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),yn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:C,onSearchTextChanged:b,onBackClick:E,onNewTaskClick:D,onFiltersChange:k,resetLocalData:w,handleCreateGroup:f,assignGroupToTasks:M,onAddNewTaskToTaskGroup:B,onGroupByFilterChange:z,onTaskGroupRename:T,analytics:x,onTimeSpentUpdate:S,onShowToast:j,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:y})=>{const[W,U]=n.useState(!1),[Q,O]=n.useState(null),[P,oe]=n.useState(null),[X,pe]=n.useState(null),[we,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:Y,filters:$e,userList:de,taskGroupsWithTasksList:Te}=e,{tagList:je}=d,ye=Xe(),ve=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{z(R)},[z]),l=n.useCallback(()=>{z("groupName")},[z]),G=n.useCallback(R=>{y(R)},[y]),F=de.users.map(R=>R.user).filter(R=>R!=null),I={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:Y.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:ve,onSearchTextChanged:b,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(ks,{value:Y.groupByKey,resetDisabled:Y.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>ls("task_management",F,Ce.loggedInUserRole??[],d.tagList)},N=n.useCallback(R=>{le(null),O(q),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),v=n.useCallback(()=>{P!=null&&a(P)},[P,a]),$=n.useCallback(()=>{O(q)},[]),te=n.useCallback(R=>{pe(mt=>mt===R?null:R)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&U(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&pe(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ut=()=>ee==="Error"?t.jsxs(Yo,{children:[t.jsx(Zo,{onClick:c,children:t.jsx(Jo,{})}),t.jsx(Qo,{children:H.common.reloadPage.label})]}):ee==="Completed"&&Te.length===0?t.jsx(wt,{message:H.taskManagement.taskList.noDataText}):ee==="Not-Started"||ee==="In-Progress"?t.jsx(Ct,{fetchState:ee}):t.jsx(_o,{taskListView:e,tagList:je,renameActiveField:Q,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:B,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:M,handleCreateGroup:f,resetLocalData:w,setGroupCreationInProgress:$,setShowDeleteModal:U,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:O,onTaskGroupRename:T,onTimeSpentUpdate:S,onShowToast:j,onCreateTagClick:h}),ht=t.jsx(os,{spendManagementSectionProps:I});return t.jsxs(Xo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:ye.colors.grey4,style:{zIndex:3},onBackClick:E,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(Rs,{anchorEl:we,groupByKey:Y.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:D,onNewGroupClick:N,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:X}),t.jsx(qo,{children:ut()}),t.jsx(_,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:v,onCancelClick:()=>{U(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(nn,{children:t.jsx(ft,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(an,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},_o=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:b,setGroupCreationInProgress:E,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:w,setActiveTaskGroupId:f,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z})=>{const T=n.useRef(null);jt({componentName:"task.management.list"});const[x,S]=n.useState(null),j=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:y,uiState:W}=e,[U,Q]=n.useState([]),O=n.useRef(null);hs({scrollContainerRef:O,isEnabled:L!=="small"});const P=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),oe=yt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d]),values:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d])}),X=n.useMemo(()=>{if(r!==q)return y;const l=[],G=y.map(F=>{const I=F.tasks.filter(N=>{const A=g.selectedTaskIds.includes(N.id)===!0;return A&&l.push(N),A===!1});return{...F,tasks:I}});return G.unshift({groupName:"",isDefault:!1,id:q,tasks:l}),G},[r,y,g.selectedTaskIds]),pe=n.useCallback(l=>U.includes(X[l].id)||X[l].tasks.length===0?100:j.current?.[l]!=null?j.current[l]+Ho.rowGap.value(L):(ns*1+as)*3+rs+is,[U,X,L]),we=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{j.current={...j.current,[l]:G},T.current?.resetAfterIndex(0,!0)},[L,T,y]),ue=n.useCallback(l=>{Q(G=>G.includes(l)?G.filter(F=>l!==F):[...G,l]),T.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{Q(y.map(l=>l.id)),T.current?.resetAfterIndex(0,!0)},[y]),ee=n.useCallback(()=>{Q([]),T.current?.resetAfterIndex(0,!0)},[]),Y=n.useCallback(()=>{E(),T.current?.scrollTo(0),ne()},[ne,E]),$e=n.useCallback(l=>{f(l),i(!0)},[f,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==q?Y():c(!0):r===q?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,Y,c,m]),Te=n.useCallback(()=>{u(null),C()},[C,u]),je=n.useCallback(l=>{C(),u(l)},[C,u]),ye=n.useCallback(()=>{g.defaultTaskGroupId!=null&&b(g.defaultTaskGroupId)},[b,g.defaultTaskGroupId]),ve=async(l,G)=>{if(l.includes(nt)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].priority.selectedOption;if(N!=null&&A!=null){const v=lt.find($=>$.code===A);v!=null&&h(N,{priority:v})}return}if(l.includes(at)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].status.selectedOption;if(N!=null&&A!=null){const v=dt.find($=>$.code===A);N!=null&&v!=null&&h(N,{status:v})}return}if(l.includes(st)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].assignees.selectedUsers.map($=>$.userId);A!=null&&v!=null&&N!=null&&h(N,{assignees:v});return}if(l.includes(ot)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].dueDate.date;A!=null&&v!=null&&N!=null&&h(N,{dueDate:v});return}if(l.includes(tt)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].tags.selectedOptions;A!=null&&v!=null&&N!=null&&h(N,{tagIds:v});return}l.includes(xe)&&oe.trigger(l);const F=Ko(l,G,g);p(F)};n.useEffect(()=>{const l=oe.watch((G,{name:F})=>{F!=null&&G!=null&&vt(()=>ve(F,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const he=y.length>1&&g.selectedTaskIds.length>0&&r!==q,me=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(bt,{...oe,children:t.jsx("form",{id:Ve(Me),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(en,{isFooterVisible:me,windowSize:L,children:t.jsx(St,{children:({height:l,width:G})=>t.jsx(Gt,{ref:T,outerRef:O,height:l,itemCount:X.length,itemSize:pe,estimatedItemSize:It,itemKey:F=>X[F].id,width:G,overscanCount:Lt,itemData:{tagList:d,taskGroupsWithTasksList:X,uiState:W,collapsedGroups:U,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:je,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:w,onCollapseAll:Ce,onDeleteTaskGroup:$e,onExpandAll:ee,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z},initialScrollOffset:0,children:Uo})})})})}),me?t.jsx(Nt,{formId:Ve(Me),primaryBtn:{label:y.length===1&&g.selectedTaskIds.length>0&&r!==q?Le.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:Te},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(sn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(on,{children:g.selectedTaskIds.length>1?Le.taskList.footer.tasksSelected:Le.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(ln,{children:t.jsx(Ne,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(rn,{onClick:ye})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(De,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:we,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(js,{taskGroupsList:y,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:Y,onExistingGroupSelection:l=>{ne(),b(l)},onClose:ne})]}):void 0}):null]})},Uo=({index:e,style:d,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:C,onTaskManagementRowClick:b,setRowHeight:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:w,onAddNewTaskToTaskGroup:f,onDeleteTaskGroup:M,handleOnDragNDrop:B,onRenameClick:z,userList:T,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&E(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const y=n.useCallback(O=>{const P=O.dataTransfer.getData("row");B(P,a[e].id)},[B,e,a]),W=n.useCallback(O=>{O.preventDefault()},[]),U=(O,P)=>{O.dataTransfer.setData("row",P)},Q=()=>{z(a[e].id)};return t.jsx(tn,{style:{...d,width:"100%"},ref:h,onDrop:y,onDragOver:W,children:t.jsx(Vo,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onAddNewTaskToTaskGroup:f,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:w,selectedRowIds:x,userList:T,existingTaskGroupNamesByGroupId:S,onDragStart:U,onRenameClick:Q,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g},a[e].id)})},Vo=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:b,onCollapseToggle:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:w,onAddNewTaskToTaskGroup:f,onDeleteTaskGroup:M,onDragStart:B,onTimeSpentUpdate:z,onShowToast:T,onCreateTagClick:x})=>{const S=ie(),j=S==="medium-regular"||S==="medium-compact"||S==="small"?ho:Ft;return t.jsx(j,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:f,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:w,onCollapseToggle:E,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onDragStart:B,onRenameClick:C,onTimeSpentUpdate:z,onShowToast:T,onCreateTagClick:x})},qe=(e,d,r,h)=>{const m={},u={};e.forEach(p=>{u[p.id]={[ke]:[],[ce]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(c=>({label:c.name,value:c.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[tt]:{allOptions:Dt(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[q]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Ko=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(q)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=Rt(Wt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},qo=o.div`
433
+ `,Po=e=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("rect",{x:10,y:2,width:12,height:12,rx:2,stroke:"currentColor",strokeWidth:1.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10.75C7 10.3358 6.66421 10 6.25 10H3.70967C2.76545 10 2 10.7654 2 11.7097V20.2936C2 21.2378 2.76544 22.0033 3.70966 22.0033H12.2936C13.2378 22.0033 14.0033 21.2378 14.0033 20.2936V17.75C14.0033 17.3358 13.6675 17 13.2533 17C12.8391 17 12.5033 17.3358 12.5033 17.75V20.2936C12.5033 20.4094 12.4094 20.5033 12.2936 20.5033H3.70966C3.59387 20.5033 3.5 20.4094 3.5 20.2936V11.7097C3.5 11.5939 3.59387 11.5 3.70967 11.5H6.25C6.66421 11.5 7 11.1642 7 10.75Z",fill:"currentColor"})),H=se.getLocalizedStrings(),Ve=e=>`${e}_form`,Ho={rowGap:new Je(ge[0],ge[5],ge[5])},{common:{footer:Ke},taskManagement:Le}=se.getLocalizedStrings(),yn=({taskListView:e,tagListView:d,isTaskTemplatesEnabled:r,onCreateTagClick:h,updateTask:m,onDragNDrop:u,onDeleteTaskGroup:a,updateLocalData:p,onTaskManagementRowClick:i,onReloadTasks:c,onColumnSortConfigChanged:C,onSearchTextChanged:b,onBackClick:E,onNewTaskClick:D,onFiltersChange:k,resetLocalData:f,handleCreateGroup:w,assignGroupToTasks:M,onAddNewTaskToTaskGroup:B,onGroupByFilterChange:z,onTaskGroupRename:T,analytics:x,onTimeSpentUpdate:S,onShowToast:j,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,handleNewTaskInitialization:y})=>{const[W,U]=n.useState(!1),[Q,O]=n.useState(null),[P,oe]=n.useState(null),[X,pe]=n.useState(null),[fe,le]=n.useState(null),[ue,ne]=n.useState(!1),Ce=gt(),{fetchState:ee,uiState:Y,filters:$e,userList:de,taskGroupsWithTasksList:Te}=e,{tagList:je}=d,ye=Xe(),ve=R=>{ne(R)},he=n.useCallback(R=>{le(R.currentTarget)},[]),me=n.useCallback(R=>{z(R)},[z]),l=n.useCallback(()=>{z("groupName")},[z]),G=n.useCallback(R=>{y(R)},[y]),F=de.users.map(R=>R.user).filter(R=>R!=null),I={entity:"task_management",showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!1,newButtonLabel:H.common.create,isSearchOpen:ue,searchPlaceHolder:H.taskManagement.taskList.searchPlaceHolder,searchText:Y.searchText,showSettingsIcon:!1,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!1,disableDownloadButton:!0,filters:$e,searchTextBoxStyle:{right:"108px"},onNewButtonClick:he,onSearchOpen:ve,onSearchTextChanged:b,onFiltersChange:k,analytics:x,downloadState:"Not-Started",createdByUserListLoaded:de.fetchState==="Completed"||de.fetchState==="Error",groupByFiltersComponent:{component:t.jsx(ks,{value:Y.groupByKey,resetDisabled:Y.groupByKey==="groupName",onChange:me,onReset:l}),height:90},getFilterOptions:()=>ls("task_management",F,Ce.loggedInUserRole??[],d.tagList)},N=n.useCallback(R=>{le(null),O(q),p({...e.localData,newTaskGroupName:R})},[e.localData,p]),A=n.useCallback(()=>{le(null)},[]),v=n.useCallback(()=>{P!=null&&a(P)},[P,a]),$=n.useCallback(()=>{O(q)},[]),te=n.useCallback(R=>{pe(mt=>mt===R?null:R)},[]);n.useEffect(()=>{e.taskGroupDeleteStatus.fetchState==="Completed"&&U(!1)},[e.taskGroupDeleteStatus.fetchState]),n.useEffect(()=>{r&&e.taskGroupTemplates.length>0&&pe(e.taskGroupTemplates[0].id)},[r,e.taskGroupTemplates]);const ut=()=>ee==="Error"?t.jsxs(Yo,{children:[t.jsx(Zo,{onClick:c,children:t.jsx(Jo,{})}),t.jsx(Qo,{children:H.common.reloadPage.label})]}):ee==="Completed"&&Te.length===0?t.jsx(ft,{message:H.taskManagement.taskList.noDataText}):ee==="Not-Started"||ee==="In-Progress"?t.jsx(Ct,{fetchState:ee}):t.jsx(_o,{taskListView:e,tagList:je,renameActiveField:Q,updateTask:m,onDragNDrop:u,onAddNewTaskToTaskGroup:B,onColumnSortConfigChanged:C,onTaskManagementRowClick:i,assignGroupToTasks:M,handleCreateGroup:w,resetLocalData:f,setGroupCreationInProgress:$,setShowDeleteModal:U,updateLocalData:p,setActiveTaskGroupId:oe,setRenameActiveField:O,onTaskGroupRename:T,onTimeSpentUpdate:S,onShowToast:j,onCreateTagClick:h}),ht=t.jsx(os,{spendManagementSectionProps:I});return t.jsxs(Xo,{children:[t.jsx(kt,{title:H.taskManagement.taskList.pageTitle,showBackButton:!0,showMenuIcon:!1,backgroundColor:ye.colors.grey4,style:{zIndex:3},onBackClick:E,rightSideComponent:ht,isSearchOpen:ue,source:"TaskManagementPage"}),t.jsx(Rs,{anchorEl:fe,groupByKey:Y.groupByKey,taskGroupTemplates:e.taskGroupTemplates,taskCreationFromTemplateStatus:e.taskCreationFromTemplateStatus,isTaskTemplatesEnabled:r,onClose:A,onNewTaskClick:D,onNewGroupClick:N,handleGroupTemplateClick:L,handleGroupTemplateTaskClick:g,onNewTaskInitialization:G,onExpandTemplate:te,expandedTemplate:X}),t.jsx(qo,{children:ut()}),t.jsx(_,{controller:W===!0,children:t.jsx(xt,{action:{onOkClick:v,onCancelClick:()=>{U(!1)}},isLoading:e.taskGroupDeleteStatus.fetchState==="In-Progress",secondaryButtonText:H.common.cancel,primaryButtonText:H.common.confirm,titleComponent:t.jsx(nn,{children:t.jsx(wt,{children:H.taskManagement.taskList.taskGroup.deleteTaskGroup})}),proceedButtonVariant:"primary",descriptionComponent:t.jsx(an,{children:t.jsx(K,{children:H.taskManagement.taskList.deleteConfirmationMessage})})})})]})},_o=({taskListView:e,tagList:d,renameActiveField:r,updateTask:h,onTaskGroupRename:m,setRenameActiveField:u,onDragNDrop:a,updateLocalData:p,setShowDeleteModal:i,handleCreateGroup:c,resetLocalData:C,assignGroupToTasks:b,setGroupCreationInProgress:E,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,setActiveTaskGroupId:w,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z})=>{const T=n.useRef(null);jt({componentName:"task.management.list"});const[x,S]=n.useState(null),j=n.useRef({}),L=ie(),{localData:g,taskGroupsWithTasksList:y,uiState:W}=e,[U,Q]=n.useState([]),O=n.useRef(null);hs({scrollContainerRef:O,isEnabled:L!=="small"});const P=n.useMemo(()=>e.userList.users.map(l=>l.user).filter(l=>l!=null),[e.userList.users]),oe=yt({mode:"onSubmit",reValidateMode:"onSubmit",shouldFocusError:!0,defaultValues:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d]),values:n.useMemo(()=>qe(e.taskGroupsWithTasksList,g,P,d),[g,e.taskGroupsWithTasksList,P,d])}),X=n.useMemo(()=>{if(r!==q)return y;const l=[],G=y.map(F=>{const I=F.tasks.filter(N=>{const A=g.selectedTaskIds.includes(N.id)===!0;return A&&l.push(N),A===!1});return{...F,tasks:I}});return G.unshift({groupName:"",isDefault:!1,id:q,tasks:l}),G},[r,y,g.selectedTaskIds]),pe=n.useCallback(l=>U.includes(X[l].id)||X[l].tasks.length===0?100:j.current?.[l]!=null?j.current[l]+Ho.rowGap.value(L):(ns*1+as)*3+rs+is,[U,X,L]),fe=n.useCallback(l=>{S(l.currentTarget)},[]),le=n.useCallback((l,G)=>{j.current={...j.current,[l]:G},T.current?.resetAfterIndex(0,!0)},[L,T,y]),ue=n.useCallback(l=>{Q(G=>G.includes(l)?G.filter(F=>l!==F):[...G,l]),T.current?.resetAfterIndex(0,!0)},[]),ne=n.useCallback(()=>{S(null)},[]),Ce=n.useCallback(()=>{Q(y.map(l=>l.id)),T.current?.resetAfterIndex(0,!0)},[y]),ee=n.useCallback(()=>{Q([]),T.current?.resetAfterIndex(0,!0)},[]),Y=n.useCallback(()=>{E(),T.current?.scrollTo(0),ne()},[ne,E]),$e=n.useCallback(l=>{w(l),i(!0)},[w,i]),de=n.useCallback(()=>{g.selectedTaskIds.length>0?r!==q?Y():c(!0):r===q?c(!1):r!=null&&m(r,g.existingTaskGroupNamesByGroupId[r])},[g.selectedTaskIds.length,g.existingTaskGroupNamesByGroupId,r,Y,c,m]),Te=n.useCallback(()=>{u(null),C()},[C,u]),je=n.useCallback(l=>{C(),u(l)},[C,u]),ye=n.useCallback(()=>{g.defaultTaskGroupId!=null&&b(g.defaultTaskGroupId)},[b,g.defaultTaskGroupId]),ve=async(l,G)=>{if(l.includes(nt)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].priority.selectedOption;if(N!=null&&A!=null){const v=lt.find($=>$.code===A);v!=null&&h(N,{priority:v})}return}if(l.includes(at)){const I=l.split(".")[2],N=y.flatMap(v=>v.tasks).find(v=>v.id===I),A=G[V][ae][I].status.selectedOption;if(N!=null&&A!=null){const v=dt.find($=>$.code===A);N!=null&&v!=null&&h(N,{status:v})}return}if(l.includes(st)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].assignees.selectedUsers.map($=>$.userId);A!=null&&v!=null&&N!=null&&h(N,{assignees:v});return}if(l.includes(ot)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].dueDate.date;A!=null&&v!=null&&N!=null&&h(N,{dueDate:v});return}if(l.includes(tt)){const I=l.split(".")[2],N=y.flatMap($=>$.tasks).find($=>$.id===I),A=y.find($=>$.tasks.find(te=>te.id===I))?.id,v=G[V][ae][I].tags.selectedOptions;A!=null&&v!=null&&N!=null&&h(N,{tagIds:v});return}l.includes(xe)&&oe.trigger(l);const F=Ko(l,G,g);p(F)};n.useEffect(()=>{const l=oe.watch((G,{name:F})=>{F!=null&&G!=null&&vt(()=>ve(F,G))});return()=>{l.unsubscribe()}}),n.useEffect(()=>{e.taskGroupCreationStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupCreationStatus.fetchState]),n.useEffect(()=>{e.taskGroupUpdateStatus.fetchState==="Completed"&&u(null)},[u,e.taskGroupUpdateStatus.fetchState]);const he=y.length>1&&g.selectedTaskIds.length>0&&r!==q,me=g.newTaskGroupName.length>0||g.selectedTaskIds.length>0||r!==null;return t.jsxs(t.Fragment,{children:[t.jsx(bt,{...oe,children:t.jsx("form",{id:Ve(Me),onSubmit:oe.handleSubmit(de),style:{width:"100%"},children:t.jsx(en,{isFooterVisible:me,windowSize:L,children:t.jsx(St,{children:({height:l,width:G})=>t.jsx(Gt,{ref:T,outerRef:O,height:l,itemCount:X.length,itemSize:pe,estimatedItemSize:It,itemKey:F=>X[F].id,width:G,overscanCount:Lt,itemData:{tagList:d,taskGroupsWithTasksList:X,uiState:W,collapsedGroups:U,userList:e.userList,renameActiveField:r,selectedRowIds:g.selectedTaskIds,existingTaskGroupNamesByGroupId:g.existingTaskGroupNamesByGroupId,onRenameClick:je,handleOnDragNDrop:a,onCollapseToggle:ue,setRowHeight:le,onTaskManagementRowClick:D,onColumnSortConfigChanged:k,onAddNewTaskToTaskGroup:f,onCollapseAll:Ce,onDeleteTaskGroup:$e,onExpandAll:ee,onTimeSpentUpdate:M,onShowToast:B,onCreateTagClick:z},initialScrollOffset:0,children:Uo})})})})}),me?t.jsx(Nt,{formId:Ve(Me),primaryBtn:{label:y.length===1&&g.selectedTaskIds.length>0&&r!==q?Le.taskList.footer.createGroup:Ke.save,style:{width:"135px"},isLoading:e.taskGroupCreationStatus.fetchState==="In-Progress"||e.taskGroupUpdateStatus.fetchState==="In-Progress"},cancelBtn:{label:Ke.cancel,style:{width:"135px"},onClick:Te},helperContainerStyle:L==="small"?{width:"100%"}:void 0,leftSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsxs(sn,{children:[t.jsx(ct,{count:g.selectedTaskIds.length}),t.jsx(on,{children:g.selectedTaskIds.length>1?Le.taskList.footer.tasksSelected:Le.taskList.footer.taskSelected})]})}),rightSideComponent:t.jsx(_,{controller:L!=="small"&&g.selectedTaskIds.length>0,children:t.jsx(ln,{children:t.jsx(Ne,{enterDelay:600,title:H.taskManagement.taskList.footer.ungroup,children:t.jsx(rn,{onClick:ye})})})}),showPrimaryButton:he===!1,customPrimaryButton:he?t.jsxs(t.Fragment,{children:[t.jsx(De,{variant:"secondary",label:H.taskManagement.taskList.footer.moveTo,onClick:fe,style:{width:"135px"},size:"standard",loading:e.updateTasksFetchState.fetchState==="In-Progress",reverseSpinnerColor:!1}),t.jsx(js,{taskGroupsList:y,anchorEl:x,groupByKey:W.groupByKey,onCreateNewGroup:Y,onExistingGroupSelection:l=>{ne(),b(l)},onClose:ne})]}):void 0}):null]})},Uo=({index:e,style:d,data:r})=>{const h=n.useRef(null),m=ie(),{tagList:u,taskGroupsWithTasksList:a,uiState:p,renameActiveField:i,collapsedGroups:c,onCollapseToggle:C,onTaskManagementRowClick:b,setRowHeight:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,handleOnDragNDrop:B,onRenameClick:z,userList:T,selectedRowIds:x,existingTaskGroupNamesByGroupId:S,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g}=r;n.useEffect(()=>{h.current?.firstElementChild!=null&&E(e,h.current.firstElementChild.clientHeight)},[e,h,m,a[e]?.tasks]);const y=n.useCallback(O=>{const P=O.dataTransfer.getData("row");B(P,a[e].id)},[B,e,a]),W=n.useCallback(O=>{O.preventDefault()},[]),U=(O,P)=>{O.dataTransfer.setData("row",P)},Q=()=>{z(a[e].id)};return t.jsx(tn,{style:{...d,width:"100%"},ref:h,onDrop:y,onDragOver:W,children:t.jsx(Vo,{taskGroup:a[e],showGroupName:!0,tagList:u,uiState:p,isCollapsed:c.includes(a[e].id),onCollapseToggle:C,showRenameTextField:i===a[e].id,isSelectionAllowed:i==null,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,selectedRowIds:x,userList:T,existingTaskGroupNamesByGroupId:S,onDragStart:U,onRenameClick:Q,onTimeSpentUpdate:j,onShowToast:L,onCreateTagClick:g},a[e].id)})},Vo=({taskGroup:e,tagList:d,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,userList:i,existingTaskGroupNamesByGroupId:c,onRenameClick:C,onTaskManagementRowClick:b,onCollapseToggle:E,onColumnSortConfigChanged:D,onCollapseAll:k,onExpandAll:f,onAddNewTaskToTaskGroup:w,onDeleteTaskGroup:M,onDragStart:B,onTimeSpentUpdate:z,onShowToast:T,onCreateTagClick:x})=>{const S=ie(),j=S==="medium-regular"||S==="medium-compact"||S==="small"?ho:Ft;return t.jsx(j,{taskGroup:e,tagList:d,userList:i,sectionId:V,showGroupName:r,uiState:h,showRenameTextField:m,isCollapsed:u,isSelectionAllowed:a,selectedRowIds:p,existingTaskGroupNamesByGroupId:c,onAddNewTaskToTaskGroup:w,onCollapseAll:k,onDeleteTaskGroup:M,onExpandAll:f,onCollapseToggle:E,onTaskManagementRowClick:b,onColumnSortConfigChanged:D,onDragStart:B,onRenameClick:C,onTimeSpentUpdate:z,onShowToast:T,onCreateTagClick:x})},qe=(e,d,r,h)=>{const m={},u={};e.forEach(p=>{u[p.id]={[ke]:[],[ce]:d.existingTaskGroupNamesByGroupId[p.id]},p.tasks.forEach(i=>{d.selectedTaskIds.includes(i.id)&&u[p.id].selectedIds.push(i.id),m[i.id]={[at]:{selectedOption:i.status.code,allOptions:dt.map(c=>({label:c.name,value:c.code}))},[nt]:{selectedOption:i.priority.code,allOptions:lt.map(c=>({label:c.name,value:c.code}))},[ot]:{date:i.dueDate,showBusinessDay:!1},[st]:{allUsers:r,selectedUsers:i.assigneeUsers.map(c=>c.user)},[tt]:{allOptions:Dt(h),selectedOptions:i.tagIds},[xe]:i.timeSpent}})});const a={[rt]:{[q]:{[ce]:d.newTaskGroupName,[ke]:[]},...u},[ae]:m};return{[V]:a}},Ko=(e,d,r)=>{if(e.includes(V)){const h=e.split(".")[2];if(e.includes(ce))return e.includes(q)?{...r,newTaskGroupName:d[V].groupData[h][ce]}:{...r,existingTaskGroupNamesByGroupId:{...r.existingTaskGroupNamesByGroupId,[h]:d[V].groupData[h][ce]}};if(e.includes(ke)){const m=Rt(Wt(Object.values(d[V][rt]),ke)).filter(u=>u!==H.common.all.toLocaleLowerCase());return{...r,selectedTaskIds:m}}}return r},qo=o.div`
434
434
  display: block;
435
435
  height: 100%;
436
436
  `,Xo=o.div`
@@ -1,4 +1,4 @@
1
- import{V as t,b5 as _,aF as S,dm as B,bt as H,o as a,aj as L}from"./index-ByXRm0Fj.js";import{a as n}from"./sentry-BfjekFHA.js";import{n as g}from"./mui-BtuxyOQU.js";import{Y as q}from"./core-Cfmldnhs.js";import{V as U}from"./CollapsableReportTable-Cq8bhaYC-DXVGhc1U.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]="cefc2845-5a89-4fce-8afc-9e4042ea6e4e",e._sentryDebugIdIdentifier="sentry-dbid-cefc2845-5a89-4fce-8afc-9e4042ea6e4e")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{V as t,b5 as _,aF as S,dm as B,bt as H,o as a,aj as L}from"./index-DBvg5JK1.js";import{a as n}from"./sentry-DlWPKrHR.js";import{n as g}from"./mui-CVkStVfi.js";import{Y as q}from"./core-DhTpg44s.js";import{V as U}from"./CollapsableReportTable-Cq8bhaYC-D0tK5pUG.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]="cefc2845-5a89-4fce-8afc-9e4042ea6e4e",e._sentryDebugIdIdentifier="sentry-dbid-cefc2845-5a89-4fce-8afc-9e4042ea6e4e")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{V as s,o,aj as f,F as p}from"./index-ByXRm0Fj.js";import{n as d}from"./mui-BtuxyOQU.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]="5f3bcaae-aa55-41ba-95e8-e347709dd70f",e._sentryDebugIdIdentifier="sentry-dbid-5f3bcaae-aa55-41ba-95e8-e347709dd70f")}catch{}})();const u=d.div`
1
+ import{V as s,o,aj as f,F as p}from"./index-DBvg5JK1.js";import{n as d}from"./mui-CVkStVfi.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]="5f3bcaae-aa55-41ba-95e8-e347709dd70f",e._sentryDebugIdIdentifier="sentry-dbid-5f3bcaae-aa55-41ba-95e8-e347709dd70f")}catch{}})();const u=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{J as d,V as i,y as n,aj as u,bL as w}from"./index-ByXRm0Fj.js";import{n as r}from"./mui-BtuxyOQU.js";import{b as l}from"./TimeframeSwitcher-CW08yYgo-DBfI-CDo.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]="2e2afa1a-74d2-4152-8edb-1f65daf450d6",e._sentryDebugIdIdentifier="sentry-dbid-2e2afa1a-74d2-4152-8edb-1f65daf450d6")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),x=r(b)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>i.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
1
+ import{J as d,V as i,y as n,aj as u,bL as w}from"./index-DBvg5JK1.js";import{n as r}from"./mui-CVkStVfi.js";import{b as l}from"./TimeframeSwitcher-CW08yYgo-BdSlU0Ze.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]="2e2afa1a-74d2-4152-8edb-1f65daf450d6",e._sentryDebugIdIdentifier="sentry-dbid-2e2afa1a-74d2-4152-8edb-1f65daf450d6")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),x=r(b)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>i.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aF as z,J as M,V as t,d as x,u as f,b as T,a_ as R,aP as H,aN as F,o as p,aj as C,bb as X,am as q,F as S,aO as G,aU as E,b4 as N,b5 as Q,aR as U,aV as Y,bT as J}from"./index-ByXRm0Fj.js";import{P as w,a as W}from"./sentry-BfjekFHA.js";import{F7 as Z}from"./zeni-epic-state-x1SruN8b.js";import{n as g}from"./mui-BtuxyOQU.js";import{I as ee,T as te}from"./ReloadCard-vAhL7B8U-CXvjyFbd.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-CeAnn4nf.js";import{H as k,X as K,Y as L,K as $,O as P,Q as ne,S as oe}from"./recharts-B1UpAC2z.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]="377bba72-e37c-4412-abd2-87d6976c576c",e._sentryDebugIdIdentifier="sentry-dbid-377bba72-e37c-4412-abd2-87d6976c576c")}catch{}})();const ie=g(E)`
1
+ import{aF as z,J as M,V as t,d as x,u as f,b as T,a_ as R,aP as H,aN as F,o as p,aj as C,bb as X,am as q,F as S,aO as G,aU as E,b4 as N,b5 as Q,aR as U,aV as Y,bT as J}from"./index-DBvg5JK1.js";import{P as w,a as W}from"./sentry-DlWPKrHR.js";import{F8 as Z}from"./zeni-epic-state-BeWB6NzA.js";import{n as g}from"./mui-CVkStVfi.js";import{I as ee,T as te}from"./ReloadCard-vAhL7B8U-Dw-PqaQf.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-B3EDq2My.js";import{H as k,X as K,Y as L,K as $,O as P,Q as ne,S as oe}from"./recharts-BLPoQhru.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]="b0958852-f0cd-4548-820b-4cbca7105d30",e._sentryDebugIdIdentifier="sentry-dbid-b0958852-f0cd-4548-820b-4cbca7105d30")}catch{}})();const ie=g(E)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{d as v,J as A,V as t,bE as S,F as x,aP as j,b5 as B,A as P,o as i,y as E,bS as H,bu as V,u as c,p as D,am as $,aR as F,b1 as z}from"./index-ByXRm0Fj.js";import{n}from"./mui-BtuxyOQU.js";import{F7 as T}from"./zeni-epic-state-x1SruN8b.js";import{E as _,I}from"./TopExCard-dI_WEGWb-C_ouXuJx.js";import{b as M}from"./TimeframeSwitcher-CW08yYgo-DBfI-CDo.js";import{d as L}from"./NoDataTable-DVe7sQhD-nqOrgT1n.js";import{P as Z,a as o}from"./sentry-BfjekFHA.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.js";import"./ReloadCard-vAhL7B8U-CXvjyFbd.js";import"./graphic-no-data-l-DU4J8fDt-CeAnn4nf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1459fec6-b1f4-4079-af02-7061db50fccb",e._sentryDebugIdIdentifier="sentry-dbid-1459fec6-b1f4-4079-af02-7061db50fccb")}catch{}})();const b="141px",O=i.sp4,N="123px",R=n(z)`
1
+ import{d as v,J as A,V as t,bE as S,F as x,aP as j,b5 as B,A as P,o as i,y as E,bS as H,bu as V,u as c,p as D,am as $,aR as F,b1 as z}from"./index-DBvg5JK1.js";import{n}from"./mui-CVkStVfi.js";import{F8 as T}from"./zeni-epic-state-BeWB6NzA.js";import{E as _,I}from"./TopExCard-dI_WEGWb-DUuyhve4.js";import{b as M}from"./TimeframeSwitcher-CW08yYgo-BdSlU0Ze.js";import{d as L}from"./NoDataTable-DVe7sQhD-Dkk7z7B9.js";import{P as Z,a as o}from"./sentry-DlWPKrHR.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";import"./ReloadCard-vAhL7B8U-Dw-PqaQf.js";import"./graphic-no-data-l-DU4J8fDt-B3EDq2My.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="80e97057-c5f1-446c-b1f8-a0ef76bc8de5",e._sentryDebugIdIdentifier="sentry-dbid-80e97057-c5f1-446c-b1f8-a0ef76bc8de5")}catch{}})();const b="141px",O=i.sp4,N="123px",R=n(z)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{V as n,T as F,o,b9 as H,F as z,am as I,x as U,eI as B,an as K,bi as M,h as P,aj as W,dw as q,a$ as J}from"./index-ByXRm0Fj.js";import{a as Q}from"./sentry-BfjekFHA.js";import{n as i}from"./mui-BtuxyOQU.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./zeni-epic-state-x1SruN8b.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.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]="2df8dcf5-5e61-40e6-976e-17ef11d7bb5d",e._sentryDebugIdIdentifier="sentry-dbid-2df8dcf5-5e61-40e6-976e-17ef11d7bb5d")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function O(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=G(s),h=O(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function X(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(F,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Me,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,$)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Ie,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
1
+ import{V as n,T as F,o,b9 as H,F as z,am as I,x as U,eI as B,an as K,bi as M,h as P,aj as W,dw as q,a$ as J}from"./index-DBvg5JK1.js";import{a as Q}from"./sentry-DlWPKrHR.js";import{n as i}from"./mui-CVkStVfi.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./zeni-epic-state-BeWB6NzA.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.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]="2df8dcf5-5e61-40e6-976e-17ef11d7bb5d",e._sentryDebugIdIdentifier="sentry-dbid-2df8dcf5-5e61-40e6-976e-17ef11d7bb5d")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function O(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=G(s),h=O(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function X(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(F,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Me,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,$)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Ie,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{dT as Wn,I as qn,P as Hn,d as Vt,aa as Jn,J as ae,F as W,aS as Yt,dU as Gn,dV as Yn,cH as Zn,aF as Xn,dW as nn,dX as Qn,V as i,ad as Kn,bE as ea,dY as ta,dZ as ia,d_ as na,d$ as zi,aT as aa,y as _,aR as q,e0 as an,e1 as De,e2 as Te,e3 as Ne,e4 as et,e5 as tt,e6 as Lt,e7 as jt,e8 as it,e9 as ht,ea as St,eb as kt,ec as Zt,ed as ee,ee as oa,ef as Kt,eg as ue,eh as on,ei as pe,ej as sn,aL as sa,ek as It,el as Ai,em as la,i as ra,cr as ca,T as $i,o as a,cf as da,en as ua,u as O,A as xi,p as le,ar as Di,bc as ai,h as pa,eo as ma,cm as ha,ck as oi,cL as lt,ep as ga,eq as qt,aW as ln,c$ as fa,er as ya,ci as ba,cj as xa,aP as je,am as fe,b1 as va,es as wa,et as rn,eu as Xt,ev as Qt,ew as pi,dh as Ca,b5 as Ia,cv as $a,ex as Ti,a9 as cn,ey as ei,ez as ti,eA as dn,cQ as un,bV as Oi,eB as mi,dn as hi,eC as Da,bu as Ta,eD as Ei,eE as Oa,eF as La,az as ja,eG as Sa,eH as ka,H as pn,eI as mn,bM as za,eJ as Vi,eK as hn,eL as gn,eM as fn,bK as rt,au as Aa,at as Ea,dw as Va,b as yn,eN as Ra,bI as Pa,x as _a,an as Na,l as Ua,aY as vi}from"./index-ByXRm0Fj.js";import{a as v,P as $t}from"./sentry-BfjekFHA.js";import{n as l}from"./mui-BtuxyOQU.js";import{FE as Ba,uu as Ma,bE as At,bD as Et,bF as Fa,c3 as Wa,l8 as qa,bh as Ha}from"./zeni-epic-state-x1SruN8b.js";import{x as Ri}from"./LabeledControlledCheckBoxField-BsFqjCpn-CNZwev0o.js";import{R as Ja}from"./TrendWithTransactions-Bp3vhaPa-tGqMC5Vu.js";import{u as Ga,c as Ya,d as Za,m as Xa}from"./uploadAttachment-DUpHzqMe-5f9vnkfw.js";import{o as Qa}from"./radio-default-CiSgisfh-CZZPsdKI.js";import"./liveblocks-DWegUhIu.js";import"./core-Cfmldnhs.js";import"./recharts-B1UpAC2z.js";import"./lottie-BGI-L4nL.js";import"./analytics-D_c73QMR.js";import"./lexical-C8q9B2Uw.js";import"./utils-BhAlbbTk.js";import"./TrendChart-C6B61CAm-BLOs7lid.js";import"./chartTypes-Ddw_3-6f-DDbD-D2D.js";import"./toCOABalancesWithID-AzKAZ-Cv-DrJ7D3cP.js";import"./toChartData-BEjMhb7--Byh1Bg2r.js";import"./NoDataChart-CyYJ6icu-CHQY_bIW.js";import"./InsightsSection-D-oCmrir-BDt4fRIh.js";import"./NavigationDots-BQb_Fodq-CVrmLvYQ.js";import"./TransactionList-80KjM8Kg-CP1kCzOZ.js";import"./ConstrainedInnerElement-BeIpAPjB-CR-47kA2.js";import"./BoxItem-CACRFWG2-CnmPjRPK.js";import"./commonDimensions-ClmbdehE-D3isPdv2.js";import"./panelSelectedMixin-CzfD5-Zs-C9iYLSFp.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]="3052a635-036f-4594-aa93-454219f76423",e._sentryDebugIdIdentifier="sentry-dbid-3052a635-036f-4594-aa93-454219f76423")}catch{}})();const Ka={headerMarginTop:new _(O[7],O[8])},eo=l(fe)`
1
+ import{dT as Wn,I as qn,P as Hn,d as Vt,aa as Jn,J as ae,F as W,aS as Yt,dU as Gn,dV as Yn,cH as Zn,aF as Xn,dW as nn,dX as Qn,V as i,ad as Kn,bE as ea,dY as ta,dZ as ia,d_ as na,d$ as zi,aT as aa,y as _,aR as q,e0 as an,e1 as De,e2 as Te,e3 as Ne,e4 as et,e5 as tt,e6 as Lt,e7 as jt,e8 as it,e9 as ht,ea as St,eb as kt,ec as Zt,ed as ee,ee as oa,ef as Kt,eg as ue,eh as on,ei as pe,ej as sn,aL as sa,ek as It,el as Ai,em as la,i as ra,cr as ca,T as $i,o as a,cf as da,en as ua,u as O,A as xi,p as le,ar as Di,bc as ai,h as pa,eo as ma,cm as ha,ck as oi,cL as lt,ep as ga,eq as qt,aW as ln,c$ as fa,er as ya,ci as ba,cj as xa,aP as je,am as fe,b1 as va,es as wa,et as rn,eu as Xt,ev as Qt,ew as pi,dh as Ca,b5 as Ia,cv as $a,ex as Ti,a9 as cn,ey as ei,ez as ti,eA as dn,cQ as un,bV as Oi,eB as mi,dn as hi,eC as Da,bu as Ta,eD as Ei,eE as Oa,eF as La,az as ja,eG as Sa,eH as ka,H as pn,eI as mn,bM as za,eJ as Vi,eK as hn,eL as gn,eM as fn,bK as rt,au as Aa,at as Ea,dw as Va,b as yn,eN as Ra,bI as Pa,x as _a,an as Na,l as Ua,aY as vi}from"./index-DBvg5JK1.js";import{a as v,P as $t}from"./sentry-DlWPKrHR.js";import{n as l}from"./mui-CVkStVfi.js";import{FF as Ba,uv as Ma,bE as At,bD as Et,bF as Fa,c3 as Wa,l9 as qa,bh as Ha}from"./zeni-epic-state-BeWB6NzA.js";import{x as Ri}from"./LabeledControlledCheckBoxField-BsFqjCpn-LcPyDi__.js";import{R as Ja}from"./TrendWithTransactions-Bp3vhaPa-DvhstWt3.js";import{u as Ga,c as Ya,d as Za,m as Xa}from"./uploadAttachment-DUpHzqMe-DE9XSoTe.js";import{o as Qa}from"./radio-default-CiSgisfh-CSFESyBW.js";import"./liveblocks-ZYzhSRWz.js";import"./core-DhTpg44s.js";import"./recharts-BLPoQhru.js";import"./lottie-UCmESiQw.js";import"./analytics-6q2YPSTL.js";import"./lexical-CUG-jFYn.js";import"./utils-D4kXjSE5.js";import"./TrendChart-C6B61CAm-C0UUKmUn.js";import"./chartTypes-Ddw_3-6f-DgrkzuCZ.js";import"./toCOABalancesWithID-AzKAZ-Cv-DEq296KH.js";import"./toChartData-BEjMhb7--SCIfyppR.js";import"./NoDataChart-CyYJ6icu-B_ibj8yR.js";import"./InsightsSection-D-oCmrir-DsyYY69e.js";import"./NavigationDots-BQb_Fodq-Dzju1vgj.js";import"./TransactionList-80KjM8Kg-BV4ncKOi.js";import"./ConstrainedInnerElement-BeIpAPjB-x6D80n7G.js";import"./BoxItem-CACRFWG2-BQt9NwOK.js";import"./commonDimensions-ClmbdehE-CUqGbH6M.js";import"./panelSelectedMixin-CzfD5-Zs-DCvCCOVA.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]="5dc454bd-e2e5-4725-ba88-baf91fce0040",e._sentryDebugIdIdentifier="sentry-dbid-5dc454bd-e2e5-4725-ba88-baf91fce0040")}catch{}})();const Ka={headerMarginTop:new _(O[7],O[8])},eo=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,to=l(fe)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{cf as fe,J as R,V as t,b5 as ue,aR as h,dh as xe,di as he,dc as pe,dj as ge,o as a,p as V,cv as be,F as y,y as X,T as we,am as v,u as g,aj as $e,dk as ye,dl as Z,d3 as G,aP as ee,an as ve}from"./index-ByXRm0Fj.js";import{a as u,P as je}from"./sentry-BfjekFHA.js";import{n,c as ke}from"./mui-BtuxyOQU.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-CR-47kA2.js";import{F8 as J,F9 as Q,Fa as W,Fb as L,bh as Le,Ft as te,bE as ie}from"./zeni-epic-state-x1SruN8b.js";import{g as ae}from"./BoxItem-CACRFWG2-CnmPjRPK.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-C9iYLSFp.js";import{o as B}from"./commonDimensions-ClmbdehE-D3isPdv2.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]="999f04cc-c151-49c6-b605-2d493e8c5651",e._sentryDebugIdIdentifier="sentry-dbid-999f04cc-c151-49c6-b605-2d493e8c5651")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new X(g[9],g[8])},q=n.div`
1
+ import{cf as fe,J as R,V as t,b5 as ue,aR as h,dh as xe,di as he,dc as pe,dj as ge,o as a,p as V,cv as be,F as y,y as X,T as we,am as v,u as g,aj as $e,dk as ye,dl as Z,d3 as G,aP as ee,an as ve}from"./index-DBvg5JK1.js";import{a as u,P as je}from"./sentry-DlWPKrHR.js";import{n,c as ke}from"./mui-CVkStVfi.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-x6D80n7G.js";import{F9 as J,Fa as Q,Fb as W,Fc as L,bh as Le,Fu as te,bE as ie}from"./zeni-epic-state-BeWB6NzA.js";import{g as ae}from"./BoxItem-CACRFWG2-BQt9NwOK.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-DCvCCOVA.js";import{o as B}from"./commonDimensions-ClmbdehE-CUqGbH6M.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]="91eaa4cb-73b9-4c6f-899d-469db1fa4fc2",e._sentryDebugIdIdentifier="sentry-dbid-91eaa4cb-73b9-4c6f-899d-469db1fa4fc2")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new X(g[9],g[8])},q=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;