@zeniai/web-cockpit-ui 1.15.68-dev → 1.15.68-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.
Files changed (265) hide show
  1. package/dist/assets/{ACHDetailsPage-B5qIuZya-C3aJkcMK.js → ACHDetailsPage-B5qIuZya-DM7YY1FB.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BHB45mP--Dkqa_6NM.js → AIPerformancePage-BHB45mP--CWndWSdC.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cd5xYT1g-oYlOoTFh.js → AccountInfoPage-Cd5xYT1g-BbefpV-7.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CJ7ycVIK-D3wmzb6C.js → AccountInfoPageContent-CJ7ycVIK-5M9LxJhG.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-Dox7IuAX-D2jstjYM.js → AccountLockedInfoModal-Dox7IuAX-BMD0s6gP.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-Bqty08m0-C2lF-15J.js → AccountReconDetailsDrawerPage-Bqty08m0-B-ibKIL7.js} +1 -1
  7. package/dist/assets/{AccountRow-D1cjRJJD-68vCYcVL.js → AccountRow-D1cjRJJD-brXv0bxV.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Bs3naJHM-aTi5So3x.js → AccountsPromoCardStack-Bs3naJHM-CnqFEGey.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DZkBMJfp-B1yl6GaN.js → AddAddressForCardDrawer-DZkBMJfp-C4r6mehv.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CyRfqVDB-DUq2dZuO.js → AddToWalletPage-CyRfqVDB-BdTdHS85.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-xBFff3BM-DTUv7MP5.js → AgingReportsPage-xBFff3BM-ky-EAGcf.js} +1 -1
  12. package/dist/assets/{AllUserItems-BJf6WPDo-oBZrDqKF.js → AllUserItems-BJf6WPDo-Deh60Xs6.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-CjBrPyi8-Ctyp_OQl.js → ApAgingDetailPage-CjBrPyi8-Drme0iaF.js} +1 -1
  14. package/dist/assets/{AppBasePage-CqDm-hnV-CBWeFJt1.js → AppBasePage-CqDm-hnV-gy7t8mSc.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CVVWj66i-BVbze0mI.js → AppDrawerContent-CVVWj66i-CgQm4R5E.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Cckd2uVA-DVPWeDhs.js → ApprovalRulesSettingsPage-Cckd2uVA-CdSeUeuR.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CBsqOd-4-DjyETjt2.js → ArAgingChart-CBsqOd-4-CM7YnEql.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-i7JObt60-SsEu5TGI.js → ArAgingDetailPage-i7JObt60-DiaDa_kU.js} +1 -1
  19. package/dist/assets/{AttachmentView-CzC4skJ3-Bi12zP8s.js → AttachmentView-CzC4skJ3-DSp7S_ow.js} +1 -1
  20. package/dist/assets/{BalancesInsightWithToolTip-B6umvmgL-ia72rJE3.js → BalancesInsightWithToolTip-B6umvmgL-B0jviFnz.js} +1 -1
  21. package/dist/assets/{BankAccountSection-Di4sF52j-DIEDANH7.js → BankAccountSection-Di4sF52j-CjUG2k4c.js} +1 -1
  22. package/dist/assets/{BankAccountWarningSection-Cled-2cR-Btg4jA3W.js → BankAccountWarningSection-Cled-2cR-DDIv4R5M.js} +1 -1
  23. package/dist/assets/{BankConnectionsSettingsPage-Ccnzq7st-zo73imcz.js → BankConnectionsSettingsPage-Ccnzq7st-BhXmaxPm.js} +1 -1
  24. package/dist/assets/{BillDetailPage-XXOwBfO1-bzzMt-3T.js → BillDetailPage-XXOwBfO1-DxWLoxsB.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-DFZ0csaT-MjgDonCW.js → BillPayApprovalRuleDetailPage-DFZ0csaT-D62XtRWM.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-COCypDcS-OXkxfW5r.js → BillPayApprovalRulesPage-COCypDcS-CxH1-1ro.js} +1 -1
  27. package/dist/assets/{BillPayPromoPage-DOE2YIqC-BdcB_fiR.js → BillPayPromoPage-DOE2YIqC-BRNhZmcV.js} +1 -1
  28. package/dist/assets/{BillPaySetUpPage-BCJbZDsV-CqE7jRvx.js → BillPaySetUpPage-BCJbZDsV-EdWAn7sO.js} +1 -1
  29. package/dist/assets/{BillingSettingsPage-iImtlEmO-CoZpnA72.js → BillingSettingsPage-iImtlEmO-oLToelCa.js} +1 -1
  30. package/dist/assets/{BillsBulkReviewDrawerPage-B11GWM_0-DD3e0R6N.js → BillsBulkReviewDrawerPage-B11GWM_0-BmGfxE4w.js} +1 -1
  31. package/dist/assets/{BoxItem-Bxa1M4QU-C6dqF4Ox.js → BoxItem-Bxa1M4QU-CY-vorJI.js} +1 -1
  32. package/dist/assets/{BusinessVerificationPage-DSuJFoW1-DjAbvNNU.js → BusinessVerificationPage-DSuJFoW1-Xi-gZLue.js} +1 -1
  33. package/dist/assets/{CardNumberSubText-_ZZbaz_k-B01MfVRx.js → CardNumberSubText-_ZZbaz_k-BDqMr1hm.js} +1 -1
  34. package/dist/assets/{CashbackDetailPage-DAZXitLt-CcETVJHX.js → CashbackDetailPage-DAZXitLt-kEgVWuyi.js} +1 -1
  35. package/dist/assets/{ChargeCardDetailPage-B1VIpASk-CholRaxO.js → ChargeCardDetailPage-B1VIpASk-BGlRije7.js} +1 -1
  36. package/dist/assets/{ChargeCardListPage-BOBepN-x-B_s13mPY.js → ChargeCardListPage-BOBepN-x-DtybfgKA.js} +1 -1
  37. package/dist/assets/{ChargeCardListTable-YznzSsJo-BNhOVvS0.js → ChargeCardListTable-YznzSsJo-DoULf2wO.js} +1 -1
  38. package/dist/assets/{ChargeCardPaymentHistoryPage--jOwsMla-cFFoj7V4.js → ChargeCardPaymentHistoryPage--jOwsMla-Bzj0wTwy.js} +1 -1
  39. package/dist/assets/{ChargeCardPromoPage-DIfakIOK-Bo4_w0av.js → ChargeCardPromoPage-DIfakIOK-BNvT1cxv.js} +1 -1
  40. package/dist/assets/{ChargeCardSetupPage-0bpVkeJs-C9PMx1NQ.js → ChargeCardSetupPage-0bpVkeJs-Bkuwwfuy.js} +1 -1
  41. package/dist/assets/{ChargeCardStatementsPage-ChWyQlw6-CwHckC8y.js → ChargeCardStatementsPage-ChWyQlw6-CbdQ3AHt.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-BS7hnyZn-B5V5osVM.js → CheckDepositDrawerPage-BS7hnyZn-kNVwtOWy.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-DNfFkAts-CKi8-92F.js → CollapsableReportTable-DNfFkAts-cgYLh83Q.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-CrOIN4IW-Bdbu216-.js → CompanyOfficerDetailsSection-CrOIN4IW-B9X3JGYF.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-CkzYFTrp-BacKEy19.js → CompanyPassportCard-CkzYFTrp-BcZUZqNN.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-FE6yli6h-DR6Ghlmc.js → CompanyPassportPage-FE6yli6h-DWhiSjrR.js} +1 -1
  47. package/dist/assets/{CompleteProfile-Cb8i1XgZ-DbJmNPo9.js → CompleteProfile-Cb8i1XgZ-BP6okX49.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-BZCXEGYA-B2yhgQww.js → ConfettiBurst-BZCXEGYA-ho8ERS31.js} +1 -1
  49. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA--qLpImjq.js → ConstrainedInnerElement-CgdnMeoA-Cv85URYx.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-CzpSgxbO-CRxdxAMc.js → CreateOrEditVendorPage-CzpSgxbO-2ilw068v.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentDrawerPage-c_q0MsSO-TA4Hobh4.js → CreditCardPaymentDrawerPage-c_q0MsSO-CoTzu5XT.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-BAh7SHrG-DxidpKws.js → CurrencySelectField-BAh7SHrG-CBSRpu74.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-f3Aa6E5r-BBdnGtao.js → CustomerOnboardingActivationPage-f3Aa6E5r-DcPBpEPv.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DAhlgLSo.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYuiWn8s-D7GeWD4L.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DBRyrBpA.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Bh_F0-oC-BNSUjl4v.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-ui07nfsA.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-B9hSO88_-D7k4547U.js → CustomerOnboardingPage-B9hSO88_-BFSPGucc.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-CG0HKCpQ-S3V_r-iH.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-CTl3yjRz.js} +1 -1
  59. package/dist/assets/{Dashboard-BJ_oIHab-Cok5_WDR.js → Dashboard-BJ_oIHab-nrsDE6qS.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-BemzMw2e-DYYVToam.js → DashboardReportPage-BemzMw2e-D89HJr4G.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-BtA5oEGG-C_JawxjH.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-Dlhefpu7.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-CyFi1P_L-BmUq2dbW.js → DepositAccTransactionItem-CyFi1P_L-BDRqwizb.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-DvBRRUdZ-m3SoF-kw.js → DepositAccTransactionListPage-DvBRRUdZ-DIdaGFeH.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-DCDo3aHI-DOZS_gVw.js → DomesticWireDetailsPage-DCDo3aHI-kEBCfOTM.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-D_lL1sPW-DvGv3saF.js → DownloadOverlay-D_lL1sPW-xWfuT0Vo.js} +1 -1
  66. package/dist/assets/{DrawerPage-DesxXhZk-B8kYZddx.js → DrawerPage-DesxXhZk-CRre4dYu.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-QvPy_Six-BvFKkCVw.js → EditPeoplePage-QvPy_Six-DH4hfGb_.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-C0ZDkboO-BUe-Yiha.js → EditReimbursementDetailPage-C0ZDkboO-DXyrjaYc.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-l7nXIsyF-D4NCMOsL.js → EntityDetailPage-l7nXIsyF-5oCAhXWK.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-BwX0a4JL-SUavY1op.js → EntitySummarySection-BwX0a4JL-zcla-D8w.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-EdyHjbff-C6Bwm59D.js → ExpenseAutomationOverviewPage-EdyHjbff-MnqvBISM.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-DA22Qofw-dd8tGA4N.js → ExpenseAutomationPage-DA22Qofw-D083tvHO.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-EMP6inpX-Bhq6MNQ0.js → ExpressPayPage-EMP6inpX-3XG4gLSI.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-SYJm-3aR-Bec3W0NG.js → FeaturePreviewPage-SYJm-3aR-DqyedTbe.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-BxESVqJD-Da5FF3Sc.js → FollowStepsSection-BxESVqJD-Cg2jHWRs.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-D5_ACa-q-DSyD6bgo.js → GlobalReviewListPage-D5_ACa-q-D3OrFPtp.js} +1 -1
  77. package/dist/assets/{InformationCardStack-B_qQUEYD-Cf9-swA_.js → InformationCardStack-B_qQUEYD-DttLY3HS.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-BsQzoVzj-B7Cu144k.js → InsightsCardStack-BsQzoVzj-Dk9dJ9p5.js} +1 -1
  79. package/dist/assets/{InsightsSection-B6CNlTNH-C1k0XkMl.js → InsightsSection-B6CNlTNH-BdZRn5zX.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-DP6fAccq-DcJmzI7u.js → IntegrationsSettingsPage-DP6fAccq-LBB3bZYV.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-VdG7bDZi-TISIJuKT.js → InternationalWireSwiftDetailsPage-VdG7bDZi-CfZjD-fy.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-COC6lZml-DVDnoPVJ.js → InternationalWireVerificationPage-COC6lZml-DC50drx7.js} +1 -1
  83. package/dist/assets/{InviteFormPage-DN02jRy5-DXwTiwQI.js → InviteFormPage-DN02jRy5-Buy4T1zp.js} +1 -1
  84. package/dist/assets/{InvitePageListView-CP4K9tJi-DYuLEhyF.js → InvitePageListView-CP4K9tJi-CHkbuC7f.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-VTM6kM1u-LzOSX0B1.js → InvitePeoplePage-VTM6kM1u-CU4p_G8a.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-it-ZYl1N-DRo_N6ol.js → InvoiceUploadSection-it-ZYl1N-XsZhHn3v.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-CVfuvGey-dFAkH-M9.js → IssueChargeCardPage-CVfuvGey-C6KQpSo7.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-DDrQcHIE-DMu0GW44.js → LabeledAddressValue-DDrQcHIE-hP7vwQBZ.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BgWwd5Gw-DuJuz6B4.js → LabeledAddressValueField-BgWwd5Gw-DFe8vIUL.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-CcPO1k23-Y5RGRfkw.js → LabeledControlledCheckBoxField-CcPO1k23-CU-iLMSG.js} +1 -1
  91. package/dist/assets/{LabeledCountryMultiSelectField-BYYjzwUG-D382-i5G.js → LabeledCountryMultiSelectField-BYYjzwUG-DXWiTuV-.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CISYMojq-xYhovxcY.js → LabeledCreatableSingleSelectField-CISYMojq-DqRsgtUm.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-C_bcFxdY-BV9lofDJ.js → LabeledDocumentField-C_bcFxdY-DJ7-SOXf.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-ScGGCap8-5lKoXSFL.js → LabeledDropDownFormattedTextField-ScGGCap8-mVsgmCkO.js} +1 -1
  95. package/dist/assets/{LabeledText-C8Y7EOsX-C8fojKEp.js → LabeledText-C8Y7EOsX-DEEaYkeb.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D0nf30JX.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D4KRCLOC.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BZtreVpj-jb4353B6.js → LabeledZeniRolesDropDownField-BZtreVpj-D7w5kOCp.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-CKq4oiX9-BvFmTxZj.js → LinkJETransactionPage-CKq4oiX9-ltE4XV_6.js} +1 -1
  99. package/dist/assets/{LockCardPage-CZENNby7-DiexnWId.js → LockCardPage-CZENNby7-BsVSJBxy.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-1727S1ri-B9nzvQPQ.js → LowBalancePopup-1727S1ri-Ch0sQQf3.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-BSOlSfNu-CO-n7uHX.js → MagicLinkACHDetailsPage-BSOlSfNu--EXqRjnH.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D1DTPo0E-D9JIICZ3.js → MagicLinkDomesticWireDetailsPage-D1DTPo0E-DyDKS580.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-D_wo_2nm-DRdINlrf.js → MagicLinkInternationalWireDetailsPage-D_wo_2nm-BwOG2bc6.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-QMkZgQLG-DaCG6zJz.js → MagicLinkSuccessPage-QMkZgQLG-BLATYjDj.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-CARU1oLQ-DPmYWXSQ.js → MagicLinkTitleSection-CARU1oLQ-B0cyw7Mk.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-ByOPaJ05-kJqgrlBw.js → MailingDetailsSection-ByOPaJ05-DHEttRbi.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BdgIIhL1-FAtVw-QI.js → MyBankConnectionsSettingsPage-BdgIIhL1-Dxh6kCPM.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CX38bDdq-Cb-hNB9U.js → MyPendingActivationChargeCardListPage-CX38bDdq-ClsHkhfI.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-DYu0Fx6I-DSGiByeo.js → MyProfileSettingsPage-DYu0Fx6I-CkZmnWdK.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-CGGEvLwe-CLvQbXHm.js → NavBarWithPicker-CGGEvLwe-DZ7VBJBK.js} +1 -1
  111. package/dist/assets/{NavigationArrow-CTNkKUtV-Bew2hAIb.js → NavigationArrow-CTNkKUtV-DwVtEjKU.js} +1 -1
  112. package/dist/assets/{NavigationDots-Dvce3gHt-CdTxmSBW.js → NavigationDots-Dvce3gHt-BhNbY-Jn.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-D_f7z47T-BushshXt.js → NewGlobalMerchantPage-D_f7z47T-CFtXtRiH.js} +1 -1
  114. package/dist/assets/{NoDataChart-CrKeqWSr-4ekDnDn1.js → NoDataChart-CrKeqWSr-DnRwd0s-.js} +1 -1
  115. package/dist/assets/{NoDataTable-4vPXmPYF-B2XN4oW_.js → NoDataTable-4vPXmPYF-0AXx0isj.js} +1 -1
  116. package/dist/assets/{NotFoundPage-BLWPU1wU-DvXGp0oy.js → NotFoundPage-BLWPU1wU-DmwpjiFz.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-CDiDLX3A-n_uE9rCj.js → NotificationSettingsPage-CDiDLX3A-9UeXvRF4.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-B5pDa4cJ-BR4-nfaA.js → NotificationsListConfig-B5pDa4cJ-CViBSk1u.js} +1 -1
  119. package/dist/assets/{NotificationsPage-Ccl7Dny1-EW2nfZLI.js → NotificationsPage-Ccl7Dny1-DO1DVf8y.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-spd-nKV4-i9MSwJXR.js → OpExByVendorPage-spd-nKV4-BYZguWNQ.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-BG9y5C0t-CMjvkc2h.js → OverlayContainerPage-BG9y5C0t-XSUpPkb1.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-TSoe4Z7F-DcZ-ZrV7.js → PandLWithForecastPage-TSoe4Z7F-DADbKlaU.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-9ma8SpIa-C7rhIAmu.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-DnLcaoHi.js} +1 -1
  124. package/dist/assets/{PeoplePage-b5_I0qOw-B2fq5ot3.js → PeoplePage-b5_I0qOw-DREebsk9.js} +1 -1
  125. package/dist/assets/{Preview-COnCxLvp.js → Preview-DkS-Ppwi.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-C3M0ocdF-wqRbMSDI.js → ProductsCarousel-C3M0ocdF-CqKUYrUp.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-BOGJI2ws--eO42JRX.js → PromoBaseCards-BOGJI2ws-HYGeFCqU.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-CmpnnuzP-Dp-zON6o.js → QBOConnectionDialog-CmpnnuzP-5mKGNZm7.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-DjnN9dgv-CJUK3Jp5.js → QBOSetupSection-DjnN9dgv-D9sOi7j3.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D5NXjrO9-B3fuWRBp.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-CSFmXSBt.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-BsCTIqUJ-DFIBXG2A.js → ReimbursementApprovalRulesPage-BsCTIqUJ-BciPnq07.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-BbyxE2uL-D7JOSI03.js → ReimbursementDetailPage-BbyxE2uL-CCn1M_IM.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-CyEgwqcf-A2nuc-1r.js → ReimbursementPromoPage-CyEgwqcf-QZKK6RXF.js} +1 -1
  134. package/dist/assets/{ReimbursementSetUpPage-RETPkEQd-CKs-VBpH.js → ReimbursementSetUpPage-RETPkEQd-7RlERPSK.js} +1 -1
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DnmYl0FM-BVo2hc1R.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-B6Bppczb.js} +1 -1
  136. package/dist/assets/{ReloadCard-Bdoo0XiI-D4akwdvc.js → ReloadCard-Bdoo0XiI-BkT_TrPt.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-Bc1K7mU_-CwFMTqSs.js → ReportTableViewSelector-Bc1K7mU_-BcXnhDrl.js} +1 -1
  138. package/dist/assets/{ReportsPage-BOTHMLWh-jv_O0Yek.js → ReportsPage-BOTHMLWh-C7yXcceR.js} +1 -1
  139. package/dist/assets/{RevenueChart-DvyZ3aO7-C6C2HRpr.js → RevenueChart-DvyZ3aO7-ln4Xbq3A.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-BIMg1n2e-Ih4y_jnc.js → ReviewDetailsPage-BIMg1n2e-DlA-53yQ.js} +1 -1
  141. package/dist/assets/{ReviewOverlay-CxwoiOLC-mlyTzHF7.js → ReviewOverlay-CxwoiOLC-DmcvjVCl.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-Ct3_VuDM-DPE6FK82.js → RoleWithToolTip-Ct3_VuDM-BKP6CsTd.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DiL5Dozk-ZdtyO7K8.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-DCavU86U.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-5FWpLRtd-CMywSb8w.js → ScheduleDetailsPage-5FWpLRtd-CO7mo75a.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-R3-PsXES-CJvXYjeZ.js → ScheduleSequenceTable-R3-PsXES-i-4DMkvc.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-D5p_xk-S.js → ScreenRoutes-D-ddKpF8.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-CctbMmoK-CuWHUORG.js → SetUpAccountSection-CctbMmoK-ZyErAiPF.js} +1 -1
  148. package/dist/assets/{SignIn-CmgmnRm4-CODAfAgX.js → SignIn-CmgmnRm4-DBoFBrvr.js} +1 -1
  149. package/dist/assets/{SignInScreen-DzQr_yQg.js → SignInScreen-DCSGviBr.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-CFUxCqkU-BFFGha36.js → SpendManagementListViewPage-CFUxCqkU-dAFL_Ppz.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-C-kqNTci-B4ll_8b8.js → SpendManagementPerTabPage-C-kqNTci-Udt5CTX9.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-CIz4nE_w-Cd92E473.js → SpendManagementSection-CIz4nE_w-0q2VpGOz.js} +1 -1
  153. package/dist/assets/{StatementItem-vVtoBN2w-BlzDOZcF.js → StatementItem-vVtoBN2w-CiKnbbLX.js} +1 -1
  154. package/dist/assets/{StatementsPage-As5WOnMR-CoYZUSlH.js → StatementsPage-As5WOnMR-D0_TDe23.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-Bv-ozN6U-BKoiK-si.js → StatusSwitcher-Bv-ozN6U-Uu-9K_ZT.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-D7QeM6nb-BmZk-zBb.js → SubTabSwitcher-D7QeM6nb-Cvhnug-S.js} +1 -1
  157. package/dist/assets/{SummaryCard-C2qoTsAY-4dgnd5I6.js → SummaryCard-C2qoTsAY-AZ17zAeW.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-BJwp32Ph-BXxEB9ws.js → TaskManagementPage-BJwp32Ph-DTb1_fWh.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-D00bDDhP-jzNZlsUf.js → TimeRangeSwitcher-D00bDDhP-DMLJ4CgT.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcher-DA99HdHt-DUsdK6ru.js → TimeframeSwitcher-DA99HdHt-B7dPmR3A.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-DyggDIQj-Dg5fJRkI.js → TimeframeSwitcherWithToggle-DyggDIQj-BDMDYsLj.js} +1 -1
  162. package/dist/assets/{TopExCard-Z1WabZ8c-_3_PDA2G.js → TopExCard-Z1WabZ8c-D9ahLOhN.js} +1 -1
  163. package/dist/assets/{TopExDetailPage-CzHG4f9E-BrWfJk_t.js → TopExDetailPage-CzHG4f9E-DSsiHUw6.js} +1 -1
  164. package/dist/assets/{TransactionActivityLogPage-CGKnjNfU-DuJzBBcn.js → TransactionActivityLogPage-CGKnjNfU-DFi44yxk.js} +1 -1
  165. package/dist/assets/{TransactionDetailPage-1-mLOWSz-D2-6FnXF.js → TransactionDetailPage-1-mLOWSz-NZ0pEK8W.js} +1 -1
  166. package/dist/assets/{TransactionList-BB-xoIGm-Cs0g42iq.js → TransactionList-BB-xoIGm-CmL2sv-k.js} +1 -1
  167. package/dist/assets/{TransactionListBig-C5Sf5Xh--DoQGlOXx.js → TransactionListBig-C5Sf5Xh--DUDOs_q9.js} +1 -1
  168. package/dist/assets/{TransactionListPage-Cj7h1Ros-0xwtgWrr.js → TransactionListPage-Cj7h1Ros-BpKazEVH.js} +1 -1
  169. package/dist/assets/{TransactionVendorDetailPage-SsrSOk3O-DnCs2Tcb.js → TransactionVendorDetailPage-SsrSOk3O-BLmQC0O2.js} +1 -1
  170. package/dist/assets/{TransferDrawerPage-BvKZ7vHF-U4D4BHco.js → TransferDrawerPage-BvKZ7vHF-BDZmQek2.js} +1 -1
  171. package/dist/assets/{TreasuryOverviewPage-DwvjMR4_-DaWJ0Z8W.js → TreasuryOverviewPage-DwvjMR4_-BGYjEWMJ.js} +1 -1
  172. package/dist/assets/{TreasuryPromoPage-CtTFvSQW-ByP104Sz.js → TreasuryPromoPage-CtTFvSQW-B3Bvdh6x.js} +1 -1
  173. package/dist/assets/{TreasuryStatementsPage-Catz8shX-DqD0V1HF.js → TreasuryStatementsPage-Catz8shX-X_IYs6qa.js} +1 -1
  174. package/dist/assets/{TreasuryTaxLetterPage-D8hzCL5o-_SN1L0BB.js → TreasuryTaxLetterPage-D8hzCL5o-Da9lGvIi.js} +1 -1
  175. package/dist/assets/{TrendChart-Bnp4Pcdf-BY18h9jb.js → TrendChart-Bnp4Pcdf-CJF7dKdP.js} +1 -1
  176. package/dist/assets/{TrendWithTransactions-3D1FvM8G-DxPZ_o7N.js → TrendWithTransactions-3D1FvM8G-TXKeFcvZ.js} +1 -1
  177. package/dist/assets/{UncategorizedAccountsMappingPage-DbyY-dYB-BC4-aDe6.js → UncategorizedAccountsMappingPage-DbyY-dYB-D1dmyVJ4.js} +1 -1
  178. package/dist/assets/{UnitIntegrationPage-CTzme1te-BpgcZRO2.js → UnitIntegrationPage-CTzme1te-CbgSnbxZ.js} +1 -1
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-Wl4Spdpn-Ckt7F9AB.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-PlCykjL7.js} +1 -1
  180. package/dist/assets/{Vendor2FAPopup-D0zYKkIv-BA93A3FY.js → Vendor2FAPopup-D0zYKkIv-aIJ1NUXW.js} +1 -1
  181. package/dist/assets/{VendorACHDetailsPage-YYX9aQdw-DswVRSnB.js → VendorACHDetailsPage-YYX9aQdw-D-OOHJou.js} +1 -1
  182. package/dist/assets/{VendorDetailPage-Br9wIOnI-CiQfXNfs.js → VendorDetailPage-Br9wIOnI-De2XcUb6.js} +1 -1
  183. package/dist/assets/{VendorDomesticWireDetailsPage-BpPgQRHI-DgAKk1Hg.js → VendorDomesticWireDetailsPage-BpPgQRHI-BdL3didN.js} +1 -1
  184. package/dist/assets/{VendorFiling1099EditablePage-himC7iD3-DN6_aqMw.js → VendorFiling1099EditablePage-himC7iD3-C2XAIK9H.js} +1 -1
  185. package/dist/assets/{VendorFirstReviewPage-BbknTCBD-DRyalqYz.js → VendorFirstReviewPage-BbknTCBD-DDAQwDZy.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireDetailsPage-CS595Xgc-DyYlqKnN.js → VendorInternationalWireDetailsPage-CS595Xgc-C3mHhbHk.js} +1 -1
  187. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-yhTjWXvw-B6FT2wH7.js → VendorInternationalWireSwiftDetailsPage-yhTjWXvw-C2v0qs8u.js} +1 -1
  188. package/dist/assets/{VendorsAccountsSection-CgSJu8wq-DAQ1vUE3.js → VendorsAccountsSection-CgSJu8wq-Ctj2nPMI.js} +1 -1
  189. package/dist/assets/{VerifyDevice-Dvf0JsNN-BhIFtpoZ.js → VerifyDevice-Dvf0JsNN-PRfKusRx.js} +1 -1
  190. package/dist/assets/{VideoPlayer-VAzOGCDL-dg_i7rhP.js → VideoPlayer-VAzOGCDL-6U91k2_g.js} +2 -2
  191. package/dist/assets/{VideoPopup-BqvZ-XIh-j79cwOsZ.js → VideoPopup-BqvZ-XIh-nZFpm96A.js} +1 -1
  192. package/dist/assets/{WarningsDrawerPage-DeNonoNp-B2ZGl3aK.js → WarningsDrawerPage-DeNonoNp-Cer8JJKy.js} +1 -1
  193. package/dist/assets/{ZeniAccountDetailPage-GcwTJdB8-BH5nfFTv.js → ZeniAccountDetailPage-GcwTJdB8-BghGtTMM.js} +1 -1
  194. package/dist/assets/{ZeniAccountListViewPage-CdwO0Duy-Bq_tNys0.js → ZeniAccountListViewPage-CdwO0Duy-D-GLBesW.js} +1 -1
  195. package/dist/assets/{ZeniAccountNavBarPieces-BrSIfL36-H4nUIkPW.js → ZeniAccountNavBarPieces-BrSIfL36-2vSHgl5n.js} +1 -1
  196. package/dist/assets/{ZeniAccountPromoPage-JrcedQYB-C192Vo1k.js → ZeniAccountPromoPage-JrcedQYB-DxQZiNCa.js} +1 -1
  197. package/dist/assets/{ZeniAccountSetupPage-TKBfbgzJ-BOKcMzjm.js → ZeniAccountSetupPage-TKBfbgzJ-CCXkWEma.js} +1 -1
  198. package/dist/assets/{ZeniCopyright-DglqrTpl-DiOzf86L.js → ZeniCopyright-DglqrTpl-B_6mXo3q.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-BcaZZuAw-DwXtlH-I.js → ZeniTransferAmountSlider-BcaZZuAw-Dri2Vqf1.js} +1 -1
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-B2d4-MGl.js → add-to-wallet-DgdBD8_G-2lJ5O5xD.js} +1 -1
  201. package/dist/assets/{analytics-BdPgTZIq.js → analytics-D0xbCiOA.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CqcfNRvx.js → analyticsHelper-B3H0U8CW.js} +1 -1
  203. package/dist/assets/{analyticsHelper-CAYdbjhS-B2pke1yA.js → analyticsHelper-CAYdbjhS-Bgy1SJeR.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-CQDBPmsC.js → arrow-south-east-round-PEovUgvH-CH2rCMd8.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-D3lLCn3Q.js → auto-transfer-rule-mbafm5D3-Bwf-jWRn.js} +1 -1
  206. package/dist/assets/{chartTypes-CD3vrBsI-B60Spgf7.js → chartTypes-CD3vrBsI-CxjFANZl.js} +1 -1
  207. package/dist/assets/{commonDimensions-Oz1tdAcx-DwbBmI-Z.js → commonDimensions-Oz1tdAcx-C8J13a8y.js} +1 -1
  208. package/dist/assets/{commonTypes-5tEXwrX4-DCDhKssr.js → commonTypes-5tEXwrX4-DThfJWJu.js} +1 -1
  209. package/dist/assets/{constants-CBenFj2i.js → constants-B4Nwm03n.js} +1 -1
  210. package/dist/assets/{core--0SFXVg4.js → core-VVne9A9m.js} +1 -1
  211. package/dist/assets/{dash.all.min-CMzLy0h6.js → dash.all.min-CZdKQs3q.js} +1 -1
  212. package/dist/assets/{downloadPdf-Dsuxeias-COKJ0VCh.js → downloadPdf-Dsuxeias-IRIi2izs.js} +1 -1
  213. package/dist/assets/{empty-2Ztl6Ian.js → empty-B6p9RErG.js} +1 -1
  214. package/dist/assets/{empty-B-BVwcCU.js → empty-BxIsRmiL.js} +1 -1
  215. package/dist/assets/{epic-BDwupNLN.js → epic-CPlQ2CFE.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-gUV3c8cx.js → gift-box-Cmt9OgIZ-CmAMj3r2.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DzC5dTIM.js → graphic-no-data-l-DU4J8fDt-Db5RbWJE.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BjiTvRpS.js → graphic-no-data-net-burn-l-CzmycA0m-BEpZ9Tqr.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-C_pCUoyC.js → handshake-BPg58FML-6UbFX0a-.js} +1 -1
  220. package/dist/assets/{helper-Ckm10Uko-C9m0OsqI.js → helper-Ckm10Uko-DCD3fpXN.js} +1 -1
  221. package/dist/assets/{index-CdtFtg4i.js → index-0sfOIAIW.js} +1 -1
  222. package/dist/assets/{index-CUC_7JNL.js → index-BYqTlB4Y.js} +1 -1
  223. package/dist/assets/{index-DRaGNS6O.js → index-BZNcKYJW.js} +1 -1
  224. package/dist/assets/{index-DMG72kst.js → index-C8o-xzAN.js} +7 -7
  225. package/dist/assets/{index-C2ktPgcm.js → index-CW-pqTwR.js} +1 -1
  226. package/dist/assets/{index-Dg4q7vvv.js → index-D-Jb9hdv.js} +1 -1
  227. package/dist/assets/{index-CKQ5JKXb.js → index-D0xGm0tM.js} +1 -1
  228. package/dist/assets/{lexical-RPR5fwFX.js → lexical-0vG0lfLn.js} +1 -1
  229. package/dist/assets/{liveblocks-BPjePRRW.js → liveblocks-abv8TgYe.js} +1 -1
  230. package/dist/assets/{lottie-x1a70pv5.js → lottie-DehW2chz.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-jcHEi-mv-3CmCtSOT.js → mapLoadingInProgressToTreeNode-jcHEi-mv-Cl8KOFjG.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Cgyt68f3-gWv13TX8.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CDBFUVvY.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-XgUp1xUb-C8lourC4.js → mapSpacerToTreeNode-XgUp1xUb-B7yPJt54.js} +1 -1
  234. package/dist/assets/{mapTimeframeBalancesToTreeNode-Bre8FfBF-CeRR9HNy.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-C3mdnabF.js} +1 -1
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-DOyCX6ij-DNs8km3x.js → mapTimeframeBalancesToTreeNode-DOyCX6ij-DJ5f-tsr.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DJ_zEjzF.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Ca3eEPkJ.js} +1 -1
  237. package/dist/assets/{mui-PTGaeBGX.js → mui-DOS4CfBc.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-3PBwxH1C.js → page-detail-CWX5S47F-Db9HhKdl.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-CGfB88iV.js → panelSelectedMixin-Cddsb26L-BEaTutPV.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-D9daKtZ-.js → radio-default-CiSgisfh-bKgsz1mh.js} +1 -1
  241. package/dist/assets/{react-DrO9dj3C.js → react-0muarBdd.js} +2 -2
  242. package/dist/assets/{react-CPjlVQm7.js → react-BKlbvdVi.js} +1 -1
  243. package/dist/assets/{react-vwiCHqgl.js → react-BQ6Phht1.js} +1 -1
  244. package/dist/assets/{react-De98TyJc.js → react-BX1V71Rc.js} +1 -1
  245. package/dist/assets/{react-DBNQWrgN.js → react-Bf7WBvpI.js} +1 -1
  246. package/dist/assets/{react-Cc4bx4sY.js → react-C3bwNlEv.js} +1 -1
  247. package/dist/assets/{react-PvV8gmtB.js → react-DGIuy5RW.js} +1 -1
  248. package/dist/assets/{react-BEXFTqCN.js → react-DGupjeTm.js} +1 -1
  249. package/dist/assets/{recharts-qzs3V2Ze.js → recharts-BBlqu8Rz.js} +1 -1
  250. package/dist/assets/{sentry-DA3cfNtR.js → sentry-DBhcw6Be.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-BOQtgkJq.js → shield-DOlUxcFf-CuhCM_gA.js} +1 -1
  252. package/dist/assets/{toCOABalancesWithID-aLNB35t7-Bj9jSpq4.js → toCOABalancesWithID-aLNB35t7-BtYnBfqr.js} +1 -1
  253. package/dist/assets/{toChartData-DUL6vnzJ-BfCuWWLN.js → toChartData-DUL6vnzJ-Bu4Ds4yf.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-Ge_wO5yU.js → upload-reimbursement-receipt-O2N8vcO7-_YW_CWHL.js} +1 -1
  255. package/dist/assets/{uploadAttachment-Ck4wivBR-Bh6Y3xK9.js → uploadAttachment-Ck4wivBR-Cl_dwAB6.js} +1 -1
  256. package/dist/assets/{uploadReceipts-CIgkuVpu-BMgQocne.js → uploadReceipts-CIgkuVpu-DNtrxUdf.js} +1 -1
  257. package/dist/assets/{url-D0R1uffE.js → url-CRv0BSFG.js} +1 -1
  258. package/dist/assets/{url-DNLur0Mx.js → url-CSfgHOtI.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-Dvxz8hJC.js → useLongPress-GCK2COYQ-Bd_7uKXZ.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-Bxz4MR0G.js → usp-line-BBd1wKwW-rq31vkuF.js} +1 -1
  261. package/dist/assets/{utils-ZYxK6Sqs.js → utils-DT6Wq-eT.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-qJAZZeEy.js → zeni-epic-state-DMWYYyyR.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +1 -1
  265. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-B7XaiHVP.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a9 as se,V as o,fL as Ce,e as be,g as Pe,aa as we,aS as xe,cQ as ke,bE as Ie,o as i,ac as Ae,ae as $e,aT as ve,bp as Oe,i1 as Ve,O as Te,fd as je,fe as oe,ah as Le,x as Q,an as Ee,u as A}from"./index-DMG72kst.js";import{n as c}from"./mui-PTGaeBGX.js";import{a as $}from"./sentry-DA3cfNtR.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-9ma8SpIa-C7rhIAmu.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-DYuiWn8s-D7GeWD4L.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./zeni-epic-state-qJAZZeEy.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";import"./commonTypes-5tEXwrX4-DCDhKssr.js";import"./SetUpAccountSection-CctbMmoK-CuWHUORG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="5f224641-b05d-411a-ba63-75b6bc3bfc28",e._sentryDebugIdIdentifier="sentry-dbid-5f224641-b05d-411a-ba63-75b6bc3bfc28")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:O,googleAPIKey:V,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Oe,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:E,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
1
+ import{a9 as se,V as o,fL as Ce,e as be,g as Pe,aa as we,aS as xe,cQ as ke,bE as Ie,o as i,ac as Ae,ae as $e,aT as ve,bp as Oe,i1 as Ve,O as Te,fd as je,fe as oe,ah as Le,x as Q,an as Ee,u as A}from"./index-C8o-xzAN.js";import{n as c}from"./mui-DOS4CfBc.js";import{a as $}from"./sentry-DBhcw6Be.js";import{r as Ue,t as _e}from"./PaymentAccountSetupBillingAddressSection-9ma8SpIa-DnLcaoHi.js";import{f as ze}from"./CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DBRyrBpA.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./zeni-epic-state-DMWYYyyR.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./commonTypes-5tEXwrX4-DThfJWJu.js";import"./SetUpAccountSection-CctbMmoK-ZyErAiPF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="5f224641-b05d-411a-ba63-75b6bc3bfc28",e._sentryDebugIdIdentifier="sentry-dbid-5f224641-b05d-411a-ba63-75b6bc3bfc28")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:O,googleAPIKey:V,signedInUser:b,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:E,updateCardPaymentModalState:P,handleAddCardPaymentSource:U,resetCardPaymentViewState:_,handleResetCardPaymentErrorStatuses:z,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=be(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:G,onZeniLogoClick:W,onAddressEditHandler:x}=D,Z=Pe(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:v(e),values:v(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:le,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:ce,common:f}=De,{footer:ue,steps:pe}=ce,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:l}=a[n].street,C=je(l?.country);d={street:a[n].street??f.strings.empty,city:l?.locality??f.strings.empty,state:l?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:l?.countryCode??f.strings.empty,postalCode:l?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};$.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset(v(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(l=>l.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,l=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!l&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};$.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset(v(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=$.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(We,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:W})})}),o.jsx($e,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(Ue,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:P,cardPaymentView:p,resetCardPaymentViewState:_,cardSetupInProgress:ae,googleAPIKey:V,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx(ve,{formId:`${ie}`,leftSideComponent:o.jsx(Ge,{windowSize:m,children:o.jsx(Oe,{signedInUser:b,currentTenant:T,onLogOutClick:G})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(_e,{handleConfirmCardSetupIntent:E,updateCardPaymentModalState:P,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:U,cardPaymentView:p,stripeKey:O,isCardPaymentOpen:le.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:z,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{V as l,fL as tn,e as Qe,g as nn,aa as an,cQ as me,aS as We,K as yt,aG as Ke,bE as on,o as re,ae as sn,u as M,aT as rn,i1 as ln,gp as cn,fM as ft,fd as Pt,O as Ye,fe as gt,x as ye,gs as fe,cU as dn,an as pn,i2 as ht,af as St,d2 as un,gr as mn}from"./index-DMG72kst.js";import{a as m}from"./sentry-DA3cfNtR.js";import{n as O,k as wt}from"./mui-PTGaeBGX.js";import{bi as j,Gc as yn,Gd as fn}from"./zeni-epic-state-qJAZZeEy.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-9ma8SpIa-C7rhIAmu.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DYuiWn8s-D7GeWD4L.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-CrOIN4IW-Bdbu216-.js";import{t as bn}from"./QBOSetupSection-DjnN9dgv-CJUK3Jp5.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";import"./commonTypes-5tEXwrX4-DCDhKssr.js";import"./SetUpAccountSection-CctbMmoK-CuWHUORG.js";import"./helper-Ckm10Uko-C9m0OsqI.js";import"./LabeledAddressValueField-BgWwd5Gw-DuJuz6B4.js";import"./LabeledCountryMultiSelectField-BYYjzwUG-D382-i5G.js";import"./LabeledCreatableSingleSelectField-CISYMojq-xYhovxcY.js";import"./LabeledDocumentField-C_bcFxdY-BV9lofDJ.js";import"./QBOConnectionDialog-CmpnnuzP-Dp-zON6o.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="ee19b0cd-0c02-4361-9476-06849a914ab8",n._sentryDebugIdIdentifier="sentry-dbid-ee19b0cd-0c02-4361-9476-06849a914ab8")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:P,onPhoneVerified:h,...w})=>{const f=Qe(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(On,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:P,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},On=O.div`
1
+ import{V as l,fL as tn,e as Qe,g as nn,aa as an,cQ as me,aS as We,K as yt,aG as Ke,bE as on,o as re,ae as sn,u as M,aT as rn,i1 as ln,gp as cn,fM as ft,fd as Pt,O as Ye,fe as gt,x as ye,gs as fe,cU as dn,an as pn,i2 as ht,af as St,d2 as un,gr as mn}from"./index-C8o-xzAN.js";import{a as m}from"./sentry-DBhcw6Be.js";import{n as O,k as wt}from"./mui-DOS4CfBc.js";import{bi as j,Gc as yn,Gd as fn}from"./zeni-epic-state-DMWYYyyR.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-9ma8SpIa-DnLcaoHi.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DBRyrBpA.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-CrOIN4IW-B9X3JGYF.js";import{t as bn}from"./QBOSetupSection-DjnN9dgv-D9sOi7j3.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./commonTypes-5tEXwrX4-DThfJWJu.js";import"./SetUpAccountSection-CctbMmoK-ZyErAiPF.js";import"./helper-Ckm10Uko-DCD3fpXN.js";import"./LabeledAddressValueField-BgWwd5Gw-DFe8vIUL.js";import"./LabeledCountryMultiSelectField-BYYjzwUG-DXWiTuV-.js";import"./LabeledCreatableSingleSelectField-CISYMojq-DqRsgtUm.js";import"./LabeledDocumentField-C_bcFxdY-DJ7-SOXf.js";import"./QBOConnectionDialog-CmpnnuzP-5mKGNZm7.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="ee19b0cd-0c02-4361-9476-06849a914ab8",n._sentryDebugIdIdentifier="sentry-dbid-ee19b0cd-0c02-4361-9476-06849a914ab8")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:_,verifiedPhoneNumber:P,onPhoneVerified:h,...w})=>{const f=Qe(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(On,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:f!=="small",showCompletedIcon:f==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:P,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:_,...w})})},On=O.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{e as F,a9 as I,ay as M,g as U,V as e,bE as _,o as t,ac as k,bp as W,fL as V,O as A,an as H,ah as N,d as l,w as C,ai as R,n as J,c as Z,as as G,b1 as q}from"./index-DMG72kst.js";import{a as n}from"./sentry-DA3cfNtR.js";import{n as o}from"./mui-PTGaeBGX.js";import{GP as K}from"./zeni-epic-state-qJAZZeEy.js";import Q from"./ConfettiBurst-BZCXEGYA-B2yhgQww.js";import{T as X}from"./ProductsCarousel-C3M0ocdF-wqRbMSDI.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="420f2579-8d04-478d-972a-aae8985d5d6c",i._sentryDebugIdIdentifier="sentry-dbid-420f2579-8d04-478d-972a-aae8985d5d6c")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=F(),f=I().analytics,w=M(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=L,D=U(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,K(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(_,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:D.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(ke,{}),e.jsx(be,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(b,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(b,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(W,{signedInUser:S,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
1
+ import{e as F,a9 as I,ay as M,g as U,V as e,bE as _,o as t,ac as k,bp as W,fL as V,O as A,an as H,ah as N,d as l,w as C,ai as R,n as J,c as Z,as as G,b1 as q}from"./index-C8o-xzAN.js";import{a as n}from"./sentry-DBhcw6Be.js";import{n as o}from"./mui-DOS4CfBc.js";import{GP as K}from"./zeni-epic-state-DMWYYyyR.js";import Q from"./ConfettiBurst-BZCXEGYA-ho8ERS31.js";import{T as X}from"./ProductsCarousel-C3M0ocdF-CqKUYrUp.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="420f2579-8d04-478d-972a-aae8985d5d6c",i._sentryDebugIdIdentifier="sentry-dbid-420f2579-8d04-478d-972a-aae8985d5d6c")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=F(),f=I().analytics,w=M(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:T,onZeniLogoClick:z,handleCockpitClick:E}=L,D=U(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,K(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(_,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:D.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":k("zeni-logo-customer-onboarding-product-suite"),onClick:z})}),rightSideComponent:x?e.jsxs(Ce,{"data-testid":k("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(ke,{}),e.jsx(be,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(b,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(b,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(W,{signedInUser:S,currentTenant:a,onLogOutClick:T,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(Q,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{ax as OA,e as V,ay as Ee,V as e,az as qt,O as Q,aA as Xt,aB as Vt,o as r,aC as Zt,aD as $t,K as UA,d as m,aE as _t,aF as Ar,aG as er,aH as Ie,aI as tr,aJ as rr,aK as or,aL as ar,aM as ir,aN as gr,aO as P,aP as N,aQ as Y,aR as X,ac as D,aa as nr,aS as We,b as qe,ae as Cr,aT as sr,x as eA,aU as G,aV as tA,ao as rA,aW as Xe,aX as J,aY as U,aZ as VA,aq as Er,g as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,ak as F,b2 as TA,u as S,as as ZA,an as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,N as cr,M as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,L as At,w as Dr,bh as yr,y as jr,bi as et,bj as tt,ap as vr,bk as br,ai as Mr,au as rt}from"./index-DMG72kst.js";import{a as t,P as k}from"./sentry-DA3cfNtR.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-PTGaeBGX.js";import{L as Rr}from"./lottie-x1a70pv5.js";import{bg as Lr,bh as ot,FB as at}from"./zeni-epic-state-qJAZZeEy.js";import{v as Fr}from"./DashboardSidebarBackgroundAnimation-BtA5oEGG-C_JawxjH.js";import{L as Jr,k as Pr}from"./ArAgingChart-CBsqOd-4-DjyETjt2.js";import{E as Ur,T as de,I as it}from"./ReloadCard-Bdoo0XiI-D4akwdvc.js";import{L as Or,O as YA,c as QA}from"./TopExCard-Z1WabZ8c-_3_PDA2G.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-DvyZ3aO7-C6C2HRpr.js";import Gr from"./InsightsCardStack-BsQzoVzj-B7Cu144k.js";import{a as zr}from"./AccountsPromoCardStack-Bs3naJHM-aTi5So3x.js";import{c as Z}from"./SummaryCard-C2qoTsAY-4dgnd5I6.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-CQDBPmsC.js";import{N as iA}from"./NavigationArrow-CTNkKUtV-Bew2hAIb.js";import{x as Ae}from"./NavigationDots-Dvce3gHt-CdTxmSBW.js";import Xr from"./CompanyPassportCard-CkzYFTrp-BacKEy19.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-gUV3c8cx.js";import Zr from"./InformationCardStack-B_qQUEYD-Cf9-swA_.js";import{p as gt}from"./chartTypes-CD3vrBsI-B60Spgf7.js";import{h as $r}from"./toCOABalancesWithID-aLNB35t7-Bj9jSpq4.js";import{V as _r}from"./toChartData-DUL6vnzJ-BfCuWWLN.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-BjiTvRpS.js";import{N as to,J as ro}from"./PromoBaseCards-BOGJI2ws--eO42JRX.js";import{r as oo}from"./core--0SFXVg4.js";import{N as ao,I as io}from"./VideoPlayer-VAzOGCDL-dg_i7rhP.js";import go from"./ConfettiBurst-BZCXEGYA-B2yhgQww.js";import{F as no,G as Co,Y as so,X as Eo,R as Bo}from"./recharts-qzs3V2Ze.js";import"./liveblocks-BPjePRRW.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";import"./graphic-no-data-l-DU4J8fDt-DzC5dTIM.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="9cc6a4fc-4b73-46f3-89d3-89ea7a75d064",A._sentryDebugIdIdentifier="sentry-dbid-9cc6a4fc-4b73-46f3-89d3-89ea7a75d064")}catch{}})();const lo=g(tA)`
1
+ import{ax as OA,e as V,ay as Ee,V as e,az as qt,O as Q,aA as Xt,aB as Vt,o as r,aC as Zt,aD as $t,K as UA,d as m,aE as _t,aF as Ar,aG as er,aH as Ie,aI as tr,aJ as rr,aK as or,aL as ar,aM as ir,aN as gr,aO as P,aP as N,aQ as Y,aR as X,ac as D,aa as nr,aS as We,b as qe,ae as Cr,aT as sr,x as eA,aU as G,aV as tA,ao as rA,aW as Xe,aX as J,aY as U,aZ as VA,aq as Er,g as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,ak as F,b2 as TA,u as S,as as ZA,an as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,N as cr,M as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,L as At,w as Dr,bh as yr,y as jr,bi as et,bj as tt,ap as vr,bk as br,ai as Mr,au as rt}from"./index-C8o-xzAN.js";import{a as t,P as k}from"./sentry-DBhcw6Be.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-DOS4CfBc.js";import{L as Rr}from"./lottie-DehW2chz.js";import{bg as Lr,bh as ot,FB as at}from"./zeni-epic-state-DMWYYyyR.js";import{v as Fr}from"./DashboardSidebarBackgroundAnimation-BtA5oEGG-Dlhefpu7.js";import{L as Jr,k as Pr}from"./ArAgingChart-CBsqOd-4-CM7YnEql.js";import{E as Ur,T as de,I as it}from"./ReloadCard-Bdoo0XiI-BkT_TrPt.js";import{L as Or,O as YA,c as QA}from"./TopExCard-Z1WabZ8c-D9ahLOhN.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-DvyZ3aO7-ln4Xbq3A.js";import Gr from"./InsightsCardStack-BsQzoVzj-Dk9dJ9p5.js";import{a as zr}from"./AccountsPromoCardStack-Bs3naJHM-CnqFEGey.js";import{c as Z}from"./SummaryCard-C2qoTsAY-AZ17zAeW.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-CH2rCMd8.js";import{N as iA}from"./NavigationArrow-CTNkKUtV-DwVtEjKU.js";import{x as Ae}from"./NavigationDots-Dvce3gHt-BhNbY-Jn.js";import Xr from"./CompanyPassportCard-CkzYFTrp-BcZUZqNN.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-CmAMj3r2.js";import Zr from"./InformationCardStack-B_qQUEYD-DttLY3HS.js";import{p as gt}from"./chartTypes-CD3vrBsI-CxjFANZl.js";import{h as $r}from"./toCOABalancesWithID-aLNB35t7-BtYnBfqr.js";import{V as _r}from"./toChartData-DUL6vnzJ-Bu4Ds4yf.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-BEpZ9Tqr.js";import{N as to,J as ro}from"./PromoBaseCards-BOGJI2ws-HYGeFCqU.js";import{r as oo}from"./core-VVne9A9m.js";import{N as ao,I as io}from"./VideoPlayer-VAzOGCDL-6U91k2_g.js";import go from"./ConfettiBurst-BZCXEGYA-ho8ERS31.js";import{F as no,G as Co,Y as so,X as Eo,R as Bo}from"./recharts-BBlqu8Rz.js";import"./liveblocks-abv8TgYe.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./graphic-no-data-l-DU4J8fDt-Db5RbWJE.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="9cc6a4fc-4b73-46f3-89d3-89ea7a75d064",A._sentryDebugIdIdentifier="sentry-dbid-9cc6a4fc-4b73-46f3-89d3-89ea7a75d064")}catch{}})();const lo=g(tA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,ce=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{e as B,g as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,K as qe,bF as Je,o as d,x as L,aG as J,bG as Qe,bH as et,ak as oe,u as C,b5 as tt,aX as st,b as Oe,a as Be,d as T,as as Pe,aW as ot,bc as at,ap as nt,bI as it,av as rt,bJ as ct,bK as ne,bL as lt,au as dt,ao as pt,bM as ut,bN as gt}from"./index-DMG72kst.js";import{a as S,P as Q}from"./sentry-DA3cfNtR.js";import{n as u,k as Ie}from"./mui-PTGaeBGX.js";import{bg as ht,FD as mt,EZ as ft,FE as bt,FF as xt,FG as _t,FH as wt,FI as yt,FJ as St,FK as vt,FL as $t}from"./zeni-epic-state-qJAZZeEy.js";import{m as Y,l as se}from"./analyticsHelper-CAYdbjhS-B2pke1yA.js";import{x as jt,b as Ct}from"./ReportTableViewSelector-Bc1K7mU_-CwFMTqSs.js";import{F as kt}from"./InsightsSection-B6CNlTNH-C1k0XkMl.js";import{H as ee}from"./BalancesInsightWithToolTip-B6umvmgL-ia72rJE3.js";import{y as Ot,$ as Bt,v as Pt,M as xe,b as pe}from"./TimeRangeSwitcher-D00bDDhP-jzNZlsUf.js";import{G as It,P as Lt,Y as _e,X as we,H as ye}from"./RevenueChart-DvyZ3aO7-C6C2HRpr.js";import{C as Nt}from"./NoDataChart-CrKeqWSr-4ekDnDn1.js";import{n as D}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{T as Le}from"./TimeframeSwitcher-DA99HdHt-DUsdK6ru.js";import{n as Rt,t as E,j as Dt,h as ue,D as Tt}from"./CollapsableReportTable-DNfFkAts-CKi8-92F.js";import{S as zt,M as Ft,g as Mt,C as te,L as Ne,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-Cgyt68f3-gWv13TX8.js";import{d as At}from"./NoDataTable-4vPXmPYF-B2XN4oW_.js";import{d as ge,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-DJ_zEjzF.js";import{d as me}from"./mapLoadingInProgressToTreeNode-jcHEi-mv-3CmCtSOT.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";import"./NavigationDots-Dvce3gHt-CdTxmSBW.js";import"./chartTypes-CD3vrBsI-B60Spgf7.js";import"./toCOABalancesWithID-aLNB35t7-Bj9jSpq4.js";import"./toChartData-DUL6vnzJ-BfCuWWLN.js";import"./AccountRow-D1cjRJJD-68vCYcVL.js";import"./graphic-no-data-l-DU4J8fDt-DzC5dTIM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="04de303c-cb34-42c4-a947-cae02311b9d8",e._sentryDebugIdIdentifier="sentry-dbid-04de303c-cb34-42c4-a947-cae02311b9d8")}catch{}})();const Et=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
1
+ import{e as B,g as Z,O as _,ay as ke,V as s,bE as Xe,L as Ke,K as qe,bF as Je,o as d,x as L,aG as J,bG as Qe,bH as et,ak as oe,u as C,b5 as tt,aX as st,b as Oe,a as Be,d as T,as as Pe,aW as ot,bc as at,ap as nt,bI as it,av as rt,bJ as ct,bK as ne,bL as lt,au as dt,ao as pt,bM as ut,bN as gt}from"./index-C8o-xzAN.js";import{a as S,P as Q}from"./sentry-DBhcw6Be.js";import{n as u,k as Ie}from"./mui-DOS4CfBc.js";import{bg as ht,FD as mt,EZ as ft,FE as bt,FF as xt,FG as _t,FH as wt,FI as yt,FJ as St,FK as vt,FL as $t}from"./zeni-epic-state-DMWYYyyR.js";import{m as Y,l as se}from"./analyticsHelper-CAYdbjhS-Bgy1SJeR.js";import{x as jt,b as Ct}from"./ReportTableViewSelector-Bc1K7mU_-BcXnhDrl.js";import{F as kt}from"./InsightsSection-B6CNlTNH-BdZRn5zX.js";import{H as ee}from"./BalancesInsightWithToolTip-B6umvmgL-B0jviFnz.js";import{y as Ot,$ as Bt,v as Pt,M as xe,b as pe}from"./TimeRangeSwitcher-D00bDDhP-DMLJ4CgT.js";import{G as It,P as Lt,Y as _e,X as we,H as ye}from"./RevenueChart-DvyZ3aO7-ln4Xbq3A.js";import{C as Nt}from"./NoDataChart-CrKeqWSr-DnRwd0s-.js";import{n as D}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{T as Le}from"./TimeframeSwitcher-DA99HdHt-B7dPmR3A.js";import{n as Rt,t as E,j as Dt,h as ue,D as Tt}from"./CollapsableReportTable-DNfFkAts-cgYLh83Q.js";import{S as zt,M as Ft,g as Mt,C as te,L as Ne,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CDBFUVvY.js";import{d as At}from"./NoDataTable-4vPXmPYF-0AXx0isj.js";import{d as ge,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Ca3eEPkJ.js";import{d as me}from"./mapLoadingInProgressToTreeNode-jcHEi-mv-Cl8KOFjG.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./NavigationDots-Dvce3gHt-BhNbY-Jn.js";import"./chartTypes-CD3vrBsI-CxjFANZl.js";import"./toCOABalancesWithID-aLNB35t7-BtYnBfqr.js";import"./toChartData-DUL6vnzJ-Bu4Ds4yf.js";import"./AccountRow-D1cjRJJD-brXv0bxV.js";import"./graphic-no-data-l-DU4J8fDt-Db5RbWJE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="04de303c-cb34-42c4-a947-cae02311b9d8",e._sentryDebugIdIdentifier="sentry-dbid-04de303c-cb34-42c4-a947-cae02311b9d8")}catch{}})();const Et=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{ax as b,V as o,b7 as f,o as p}from"./index-DMG72kst.js";import{a as s}from"./sentry-DA3cfNtR.js";import{a as h,n as m}from"./mui-PTGaeBGX.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="037aa97a-20aa-4ac5-84c4-9b2dfa9d146b",e._sentryDebugIdIdentifier="sentry-dbid-037aa97a-20aa-4ac5-84c4-9b2dfa9d146b")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=b(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{ax as b,V as o,b7 as f,o as p}from"./index-C8o-xzAN.js";import{a as s}from"./sentry-DBhcw6Be.js";import{a as h,n as m}from"./mui-DOS4CfBc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="037aa97a-20aa-4ac5-84c4-9b2dfa9d146b",e._sentryDebugIdIdentifier="sentry-dbid-037aa97a-20aa-4ac5-84c4-9b2dfa9d146b")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=b(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aQ as z,hS as T,e as _,ay as D,V as i,dN as N,o as t,an as f,ao as y,O as C}from"./index-DMG72kst.js";import{n}from"./mui-PTGaeBGX.js";import{g as O}from"./BoxItem-Bxa1M4QU-C6dqF4Ox.js";import{o as A}from"./commonDimensions-Oz1tdAcx-DwbBmI-Z.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="04810158-4d29-48ab-a196-d258a7fa6bf4",e._sentryDebugIdIdentifier="sentry-dbid-04810158-4d29-48ab-a196-d258a7fa6bf4")}catch{}})();const{common:{strings:{empty:g}}}=C.getLocalizedStrings();function J({data:e,boxType:a,depositAccountId:l,isCheckingCommentingEnabled:x=!1}){const{counterParty:s,typeName:c,amount:h,logo:u,summary:$,direction:k,status:v}=e,j=s.length>0?s:$,p=z("0,0.00",h),r=T(v),o=_(),d=D(),S=`dashboard_${d.currentTenant?.companyId}`,m=`list.${e.id}`,w=l!=null?{application:"dashboard",companyId:d.currentTenant?.companyId,tab:"checking",entityType:`checking.${m}`,entityId:e.id,isGlobalComment:!1,groupId:l}:void 0,I=i.jsxs(H,{children:[i.jsx(L,{src:u?.toString(),loading:"lazy"}),i.jsx(K,{children:i.jsxs(V,{windowSize:o,children:[i.jsx(M,{children:j}),r!=null?i.jsxs(q,{windowSize:o,children:[i.jsx(G,{windowSize:o}),i.jsx(B,{color:r?.color,children:r?.value})]}):null]})}),i.jsxs(E,{windowSize:o,children:[c!=null?i.jsx(P,{children:i.jsx(W,{className:"tag",children:c})}):null,i.jsx(Q,{windowSize:o,children:k==="debit"?`-${p}`:p})]})]}),b=i.jsx(O,{content:I,boxType:a,isDisabled:!1,isNotClickable:!0});return!x||w==null||l==null?b:i.jsx(N,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:m,roomId:S,companyId:d.currentTenant?.companyId??g,companyName:d.currentTenant?.companyName??g,dashboardOptionType:"checking",filterMetaData:w,groupId:l,style:{width:"100%",minWidth:0,alignSelf:"stretch"},children:b})}const E=n.div`
1
+ import{aQ as z,hS as T,e as _,ay as D,V as i,dN as N,o as t,an as f,ao as y,O as C}from"./index-C8o-xzAN.js";import{n}from"./mui-DOS4CfBc.js";import{g as O}from"./BoxItem-Bxa1M4QU-CY-vorJI.js";import{o as A}from"./commonDimensions-Oz1tdAcx-C8J13a8y.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="04810158-4d29-48ab-a196-d258a7fa6bf4",e._sentryDebugIdIdentifier="sentry-dbid-04810158-4d29-48ab-a196-d258a7fa6bf4")}catch{}})();const{common:{strings:{empty:g}}}=C.getLocalizedStrings();function J({data:e,boxType:a,depositAccountId:l,isCheckingCommentingEnabled:x=!1}){const{counterParty:s,typeName:c,amount:h,logo:u,summary:$,direction:k,status:v}=e,j=s.length>0?s:$,p=z("0,0.00",h),r=T(v),o=_(),d=D(),S=`dashboard_${d.currentTenant?.companyId}`,m=`list.${e.id}`,w=l!=null?{application:"dashboard",companyId:d.currentTenant?.companyId,tab:"checking",entityType:`checking.${m}`,entityId:e.id,isGlobalComment:!1,groupId:l}:void 0,I=i.jsxs(H,{children:[i.jsx(L,{src:u?.toString(),loading:"lazy"}),i.jsx(K,{children:i.jsxs(V,{windowSize:o,children:[i.jsx(M,{children:j}),r!=null?i.jsxs(q,{windowSize:o,children:[i.jsx(G,{windowSize:o}),i.jsx(B,{color:r?.color,children:r?.value})]}):null]})}),i.jsxs(E,{windowSize:o,children:[c!=null?i.jsx(P,{children:i.jsx(W,{className:"tag",children:c})}):null,i.jsx(Q,{windowSize:o,children:k==="debit"?`-${p}`:p})]})]}),b=i.jsx(O,{content:I,boxType:a,isDisabled:!1,isNotClickable:!0});return!x||w==null||l==null?b:i.jsx(N,{isThreadAllowed:!0,entityId:e.id,dashboardTabKey:m,roomId:S,companyId:d.currentTenant?.companyId??g,companyName:d.currentTenant?.companyName??g,dashboardOptionType:"checking",filterMetaData:w,groupId:l,style:{width:"100%",minWidth:0,alignSelf:"stretch"},children:b})}const E=n.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{g as S,e as I,V as t,bE as E,b5 as Y,h$ as z,o,O as F,d as u,cC as _,dr as A,ds as L,dl as T,dt as B,x as R,ak as N,an as P,u as x}from"./index-DMG72kst.js";import{a as w}from"./sentry-DA3cfNtR.js";import{n as r}from"./mui-PTGaeBGX.js";import{bh as V}from"./zeni-epic-state-qJAZZeEy.js";import{$ as O}from"./BoxItem-Bxa1M4QU-C6dqF4Ox.js";import{o as X}from"./commonDimensions-Oz1tdAcx-DwbBmI-Z.js";import{Y as G}from"./DepositAccTransactionItem-CyFi1P_L-BmUq2dbW.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d9ffd3b2-1f06-400e-901d-1887a1fa5c16",e._sentryDebugIdIdentifier="sentry-dbid-d9ffd3b2-1f06-400e-901d-1887a1fa5c16")}catch{}})();const l=F.getLocalizedStrings(),H={listItemMargin:new R(x[3],x[8])};function J(e){const n=A(e,a=>a.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=L(n,a=>a.length>0);return T(d,a=>({date:a[0].transactionDate,transactions:B(a,m=>m.transactionDate,"desc")}))}const K=z(J),ge=({transactionListView:e,onBackClick:n,depositAccountId:d,isCheckingCommentingEnabled:a=!1})=>{const m=S(),p=I(),j=w.createRef(),f=w.useRef(null),c=K(e.transactions),v=e.depositAccountName,g=c.length===0,C=i=>g===!1?c[i].transactions.length*X.transactionItemHeightResponsive.value(p)+45:24,D=({index:i,style:h})=>{if(g===!1){const s=c[i];return t.jsx(y,{style:{...h},children:t.jsx($,{windowSize:p,children:t.jsxs(k,{children:[t.jsx(q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(W,{children:s.transactions.map((M,b)=>t.jsx(G,{data:M,boxType:O(b,s.transactions.length),depositAccountId:d,isCheckingCommentingEnabled:a},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(Q,{children:t.jsx($,{windowSize:p,children:t.jsx(Z,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(U,{children:[t.jsx(E,{title:`${v} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:n,scrollableContent:f.current!=null?f:void 0,source:"DepositAccTransactionListPage"}),t.jsx(k,{children:t.jsx(Y,{children:({height:i,width:h})=>t.jsx(ee,{ref:j,height:i,width:h,outerRef:f,itemKey:s=>s,itemCount:c.length,itemSize:C,initialScrollOffset:0,children:D})})})]})},y=r.div``,$=r.div`
1
+ import{g as S,e as I,V as t,bE as E,b5 as Y,h$ as z,o,O as F,d as u,cC as _,dr as A,ds as L,dl as T,dt as B,x as R,ak as N,an as P,u as x}from"./index-C8o-xzAN.js";import{a as w}from"./sentry-DBhcw6Be.js";import{n as r}from"./mui-DOS4CfBc.js";import{bh as V}from"./zeni-epic-state-DMWYYyyR.js";import{$ as O}from"./BoxItem-Bxa1M4QU-CY-vorJI.js";import{o as X}from"./commonDimensions-Oz1tdAcx-C8J13a8y.js";import{Y as G}from"./DepositAccTransactionItem-CyFi1P_L-BDRqwizb.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d9ffd3b2-1f06-400e-901d-1887a1fa5c16",e._sentryDebugIdIdentifier="sentry-dbid-d9ffd3b2-1f06-400e-901d-1887a1fa5c16")}catch{}})();const l=F.getLocalizedStrings(),H={listItemMargin:new R(x[3],x[8])};function J(e){const n=A(e,a=>a.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=L(n,a=>a.length>0);return T(d,a=>({date:a[0].transactionDate,transactions:B(a,m=>m.transactionDate,"desc")}))}const K=z(J),ge=({transactionListView:e,onBackClick:n,depositAccountId:d,isCheckingCommentingEnabled:a=!1})=>{const m=S(),p=I(),j=w.createRef(),f=w.useRef(null),c=K(e.transactions),v=e.depositAccountName,g=c.length===0,C=i=>g===!1?c[i].transactions.length*X.transactionItemHeightResponsive.value(p)+45:24,D=({index:i,style:h})=>{if(g===!1){const s=c[i];return t.jsx(y,{style:{...h},children:t.jsx($,{windowSize:p,children:t.jsxs(k,{children:[t.jsx(q,{children:V().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(W,{children:s.transactions.map((M,b)=>t.jsx(G,{data:M,boxType:O(b,s.transactions.length),depositAccountId:d,isCheckingCommentingEnabled:a},b))})]})})})}else return t.jsx(y,{style:{...h},children:t.jsx(Q,{children:t.jsx($,{windowSize:p,children:t.jsx(Z,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(U,{children:[t.jsx(E,{title:`${v} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:m.colors.grey4,style:{zIndex:3},onBackClick:n,scrollableContent:f.current!=null?f:void 0,source:"DepositAccTransactionListPage"}),t.jsx(k,{children:t.jsx(Y,{children:({height:i,width:h})=>t.jsx(ee,{ref:j,height:i,width:h,outerRef:f,itemKey:s=>s,itemCount:c.length,itemSize:C,initialScrollOffset:0,children:D})})})]})},y=r.div``,$=r.div`
2
2
  margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,Q=r.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{e as O,aa as J,O as T,cQ as U,aG as G,V as n,cy as H,cz as Q,cA as q,ae as K,aT as X,x as b,fa as Y,o as Z,bb as ee,u as o}from"./index-DMG72kst.js";import{a as C}from"./sentry-DA3cfNtR.js";import{n as h}from"./mui-PTGaeBGX.js";import{bi as S}from"./zeni-epic-state-qJAZZeEy.js";import{e as ne}from"./BankAccountSection-Di4sF52j-DIEDANH7.js";import{M as te}from"./MagicLinkTitleSection-CARU1oLQ-DPmYWXSQ.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Cled-2cR-Btg4jA3W.js";import{T as ie}from"./MailingDetailsSection-ByOPaJ05-kJqgrlBw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ef4e0f36-7ef1-4dab-be9b-cb2ed092ec72",e._sentryDebugIdIdentifier="sentry-dbid-ef4e0f36-7ef1-4dab-be9b-cb2ed092ec72")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",D="mailingAddressSection",$=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:w}=e,u=O(),c=J({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[W,g]=C.useState(!1),a=T.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=T.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),w?.()},onCancelClick:()=>{g(!1)}},V=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>V(d,m))});return()=>{p.unsubscribe()}});const F=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!G(x!=null?S(x):x,r!=null?S(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(H,{titleComponent:n.jsx(q,{children:a.discardTitle}),descriptionComponent:n.jsx(Q,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:N,onBackClick:w,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(K,{...c,children:n.jsxs("form",{id:$(B),onSubmit:F,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:D,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:$(B),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?g(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[D]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{e as O,aa as J,O as T,cQ as U,aG as G,V as n,cy as H,cz as Q,cA as q,ae as K,aT as X,x as b,fa as Y,o as Z,bb as ee,u as o}from"./index-C8o-xzAN.js";import{a as C}from"./sentry-DBhcw6Be.js";import{n as h}from"./mui-DOS4CfBc.js";import{bi as S}from"./zeni-epic-state-DMWYYyyR.js";import{e as ne}from"./BankAccountSection-Di4sF52j-CjUG2k4c.js";import{M as te}from"./MagicLinkTitleSection-CARU1oLQ-B0cyw7Mk.js";import{W as ae,A as oe}from"./BankAccountWarningSection-Cled-2cR-DDIv4R5M.js";import{T as ie}from"./MailingDetailsSection-ByOPaJ05-DHEttRbi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ef4e0f36-7ef1-4dab-be9b-cb2ed092ec72",e._sentryDebugIdIdentifier="sentry-dbid-ef4e0f36-7ef1-4dab-be9b-cb2ed092ec72")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},B="domesticWireDetailsPage",k="bankAccountSection",D="mailingAddressSection",$=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:w}=e,u=O(),c=J({mode:"onBlur",reValidateMode:"onChange",defaultValues:C.useMemo(()=>se(s,r),[s,r])}),[W,g]=C.useState(!1),a=T.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=T.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),w?.()},onCancelClick:()=>{g(!1)}},V=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};C.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>V(d,m))});return()=>{p.unsubscribe()}});const F=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),N=!G(x!=null?S(x):x,r!=null?S(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(H,{titleComponent:n.jsx(q,{children:a.discardTitle}),descriptionComponent:n.jsx(Q,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:N,onBackClick:w,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(K,{...c,children:n.jsxs("form",{id:$(B),onSubmit:F,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:D,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:$(B),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{N?g(!0):(c.reset(),w?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[D]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{V as t,cd as pt,o as s,e as ge,ce as mt,ap as qe,d as xe,x as Z,b as ht,O as Y,cf as ft,bT as Ze,u as V,bb as Je,an as R,b$ as Se,w as re,ao as ye,a as ne,g as Ke,c1 as ut,cg as $e,ch as we,L as Xe,ci as et,bO as bt,bc as gt,aq as Fe,bX as K,cj as xt,ck as yt,bM as $t,c0 as wt,as as Ft,bY as jt,c9 as Ot,av as _t}from"./index-DMG72kst.js";import{a as m,P as je}from"./sentry-DA3cfNtR.js";import{n,k as tt}from"./mui-PTGaeBGX.js";import{FY as ue,FZ as S,F_ as X,bL as M,F$ as ee,G0 as Oe,FN as U,bh as Dt,G1 as C,G2 as Yt,G3 as vt,G4 as kt,G5 as Ct,G6 as Pt}from"./zeni-epic-state-qJAZZeEy.js";import{m as St}from"./analyticsHelper-CAYdbjhS-B2pke1yA.js";import{x as Mt,b as At}from"./ReportTableViewSelector-Bc1K7mU_-CwFMTqSs.js";import{t as Tt}from"./page-detail-CWX5S47F-3PBwxH1C.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";import"./CollapsableReportTable-DNfFkAts-CKi8-92F.js";import"./AccountRow-D1cjRJJD-68vCYcVL.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]="d7b89b44-b69c-447c-8789-d98bdb4f6f89",e._sentryDebugIdIdentifier="sentry-dbid-d7b89b44-b69c-447c-8789-d98bdb4f6f89")}catch{}})();const It=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function le(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=S(r.startDate,e,"quarter"),{endOfTimeframeFY:c}=S(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function ie(e,o,r,a=1){if(a>1){const i=X(r,e,a-1,o),{startOfTimeframeFY:l}=S(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Me{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,c=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=c}get value(){return ie(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=ue(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=S(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=S(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=S(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=le(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=S(ue(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=S(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ce=["1","2","3","4"],pe=Dt().localeData().monthsShort(),I={pdf:12,excel:100,csv:100},Q=(e,o,r)=>{const a=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:c}=r;let p=l;for(;p.isSameOrBefore(c,"year");)i.push(p.format(a)),p=ue(p,e,1,"year")}else{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");let{fyYear:p}=C(l,e);const{fyYear:u}=C(c,e);for(;p<=u;)i.push(`${p}`),p++}return i},Lt=n.div`
1
+ import{V as t,cd as pt,o as s,e as ge,ce as mt,ap as qe,d as xe,x as Z,b as ht,O as Y,cf as ft,bT as Ze,u as V,bb as Je,an as R,b$ as Se,w as re,ao as ye,a as ne,g as Ke,c1 as ut,cg as $e,ch as we,L as Xe,ci as et,bO as bt,bc as gt,aq as Fe,bX as K,cj as xt,ck as yt,bM as $t,c0 as wt,as as Ft,bY as jt,c9 as Ot,av as _t}from"./index-C8o-xzAN.js";import{a as m,P as je}from"./sentry-DBhcw6Be.js";import{n,k as tt}from"./mui-DOS4CfBc.js";import{FY as ue,FZ as S,F_ as X,bL as M,F$ as ee,G0 as Oe,FN as U,bh as Dt,G1 as C,G2 as Yt,G3 as vt,G4 as kt,G5 as Ct,G6 as Pt}from"./zeni-epic-state-DMWYYyyR.js";import{m as St}from"./analyticsHelper-CAYdbjhS-Bgy1SJeR.js";import{x as Mt,b as At}from"./ReportTableViewSelector-Bc1K7mU_-BcXnhDrl.js";import{t as Tt}from"./page-detail-CWX5S47F-Db9HhKdl.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./CollapsableReportTable-DNfFkAts-cgYLh83Q.js";import"./AccountRow-D1cjRJJD-brXv0bxV.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]="d7b89b44-b69c-447c-8789-d98bdb4f6f89",e._sentryDebugIdIdentifier="sentry-dbid-d7b89b44-b69c-447c-8789-d98bdb4f6f89")}catch{}})();const It=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function le(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=S(r.startDate,e,"quarter"),{endOfTimeframeFY:c}=S(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function ie(e,o,r,a=1){if(a>1){const i=X(r,e,a-1,o),{startOfTimeframeFY:l}=S(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Me{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,c=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=c}get value(){return ie(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=ue(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=S(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=S(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=S(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=le(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=S(ue(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=S(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ce=["1","2","3","4"],pe=Dt().localeData().monthsShort(),I={pdf:12,excel:100,csv:100},Q=(e,o,r)=>{const a=Y.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:c}=r;let p=l;for(;p.isSameOrBefore(c,"year");)i.push(p.format(a)),p=ue(p,e,1,"year")}else{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");let{fyYear:p}=C(l,e);const{fyYear:u}=C(c,e);for(;p<=u;)i.push(`${p}`),p++}return i},Lt=n.div`
2
2
  padding: ${s.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${s.sp1};
@@ -1,4 +1,4 @@
1
- import{e as a,V as i,c1 as y,o as r,x as s,O as h,cc as P,N as c,M as g,b,u as t,aQ as k,kg as L,kh as D,ki as C}from"./index-DMG72kst.js";import{n as o}from"./mui-PTGaeBGX.js";import"./sentry-DA3cfNtR.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./zeni-epic-state-qJAZZeEy.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.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]="248a2ce8-fe27-4518-9f35-7a34b11d49e2",e._sentryDebugIdIdentifier="sentry-dbid-248a2ce8-fe27-4518-9f35-7a34b11d49e2")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(H,{children:n.map((j,f)=>i.jsxs(A,{children:[i.jsx(T,{children:j}),f<n.length-1?i.jsx(O,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(E,{windowSize:n})}),i.jsx(z,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
1
+ import{e as a,V as i,c1 as y,o as r,x as s,O as h,cc as P,N as c,M as g,b,u as t,aQ as k,kg as L,kh as D,ki as C}from"./index-C8o-xzAN.js";import{n as o}from"./mui-DOS4CfBc.js";import"./sentry-DBhcw6Be.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./zeni-epic-state-DMWYYyyR.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="248a2ce8-fe27-4518-9f35-7a34b11d49e2",e._sentryDebugIdIdentifier="sentry-dbid-248a2ce8-fe27-4518-9f35-7a34b11d49e2")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(H,{children:n.map((j,f)=>i.jsxs(A,{children:[i.jsx(T,{children:j}),f<n.length-1?i.jsx(O,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(B,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(E,{windowSize:n})}),i.jsx(z,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${r.sp2};
4
4
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{e as ie,g5 as ae,g as de,aa as pe,aS as ce,V as s,cy as ue,ar as me,cz as ge,cA as fe,h1 as he,cE as ye,o as n,c1 as be,ac as L,ae as ve,aT as xe,x as T,O as $e,cK as we,g8 as Re,g9 as Ce,ga as Ie,bb as je,d as J,d9 as Oe,u}from"./index-DMG72kst.js";import{a as w}from"./sentry-DA3cfNtR.js";import{n as l}from"./mui-PTGaeBGX.js";import{Gx as _e,bg as ke}from"./zeni-epic-state-qJAZZeEy.js";import{f as Te}from"./AllUserItems-BJf6WPDo-oBZrDqKF.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";import"./LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D0nf30JX.js";import"./RoleWithToolTip-Ct3_VuDM-DPE6FK82.js";import"./LabeledZeniRolesDropDownField-BZtreVpj-jb4353B6.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]="18551672-d818-4061-9504-a5d9ddf0c8eb",e._sentryDebugIdIdentifier="sentry-dbid-18551672-d818-4061-9504-a5d9ddf0c8eb")}catch{}})();const I={containerPaddingTop:new T(u[3],u[3]),containerPaddingLeft:new T(u[3],u[6],u[6]),containerPaddingRight:new T(u[3],u[6],u[8]),buttonWidth:new T(85,85)},W="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,ts=({peopleDetails:e,managersList:o,classList:y,controllersList:j,mode:p,isZeniTenant:P,onCloseClick:O,onResetClick:_,onSaveClick:m,onDeleteUser:M,onPeopleLocalDataUpdated:Q,analytics:z,isReimbursementDisabled:U,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:A,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:q})=>{const C=ie(),[Y,E]=w.useState(!1),[X,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,se=w.useRef(null),S=w.useMemo(()=>ae(U,N,Z,b,v,q,A),[U,N,Z,b,v,q,A]),K=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,o,y,p,S,b,v),values:G(e.people,o,y,p,S,b,v)}),te=i.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:D,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const t=D.selectedOptions;(!t?.length||t?.length===1&&t?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const t=h?.userRole.selectedRole;(t!=null&&h!=null?h.productsByUserRole[t].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),t!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&t!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let t=[];c==="admin"||c==="investor_or_banker"?t.push(c):t=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(B=>_e(B.selectedOption?.value)).filter(B=>B!=null):[],c==="employee"&&t.length===0&&t.push("reimbursements_user");const $=ke(t);h={email:a.email,role:t,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),Q(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{E(!0)},re={onOkClick:()=>{const g=e.person;z?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),M?.(e.person)},onCancelClick:()=>{E(!1)}},F=ce(e.person?.update),k=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{k==null&&F==="removeUsers"&&(E(!1),_?.())},[k,F]),s.jsxs(s.Fragment,{children:[Y===!0?s.jsx(ue,{titleComponent:s.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:s.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:k==="removeUsers",isDisabled:k==="removeUsers",style:{background:K.colors.overlayColor},children:e.person?.user!=null?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{}),s.jsx(Le,{children:s.jsx(ze,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,s.jsx(he,{title:ee,backgroundColor:K.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:C==="small"}),s.jsxs(Pe,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:se,children:[s.jsxs(Be,{children:[s.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),s.jsxs(Ee,{children:[s.jsx(Se,{children:e.person?.user?.firstName?s.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),s.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:s.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:s.jsx(Ne,{windowsize:C})})})]})]}),s.jsx(ve,{...i,children:s.jsx("form",{id:`${W}_form`,onSubmit:te,children:s.jsx(Te,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:P,classList:y,managersList:o,controllersList:j,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),s.jsx(xe,{formId:`${W}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:n.sp4}})]})},G=(e,o,y,j,p,P,O)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:j==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:j!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(P,O)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},ns=(e,o)=>`${e}.${o}`,Pe=l.div`
1
+ import{e as ie,g5 as ae,g as de,aa as pe,aS as ce,V as s,cy as ue,ar as me,cz as ge,cA as fe,h1 as he,cE as ye,o as n,c1 as be,ac as L,ae as ve,aT as xe,x as T,O as $e,cK as we,g8 as Re,g9 as Ce,ga as Ie,bb as je,d as J,d9 as Oe,u}from"./index-C8o-xzAN.js";import{a as w}from"./sentry-DBhcw6Be.js";import{n as l}from"./mui-DOS4CfBc.js";import{Gx as _e,bg as ke}from"./zeni-epic-state-DMWYYyyR.js";import{f as Te}from"./AllUserItems-BJf6WPDo-Deh60Xs6.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D4KRCLOC.js";import"./RoleWithToolTip-Ct3_VuDM-BKP6CsTd.js";import"./LabeledZeniRolesDropDownField-BZtreVpj-D7w5kOCp.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]="18551672-d818-4061-9504-a5d9ddf0c8eb",e._sentryDebugIdIdentifier="sentry-dbid-18551672-d818-4061-9504-a5d9ddf0c8eb")}catch{}})();const I={containerPaddingTop:new T(u[3],u[3]),containerPaddingLeft:new T(u[3],u[6],u[6]),containerPaddingRight:new T(u[3],u[6],u[8]),buttonWidth:new T(85,85)},W="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,ts=({peopleDetails:e,managersList:o,classList:y,controllersList:j,mode:p,isZeniTenant:P,onCloseClick:O,onResetClick:_,onSaveClick:m,onDeleteUser:M,onPeopleLocalDataUpdated:Q,analytics:z,isReimbursementDisabled:U,isZeniAccountsDisabled:N,isChargeCardDisabled:Z,isTreasuryDisabled:A,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:q})=>{const C=ie(),[Y,E]=w.useState(!1),[X,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,se=w.useRef(null),S=w.useMemo(()=>ae(U,N,Z,b,v,q,A),[U,N,Z,b,v,q,A]),K=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:G(e.people,o,y,p,S,b,v),values:G(e.people,o,y,p,S,b,v)}),te=i.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:D,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const t=D.selectedOptions;(!t?.length||t?.length===1&&t?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const t=h?.userRole.selectedRole;(t!=null&&h!=null?h.productsByUserRole[t].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),t!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&t!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let t=[];c==="admin"||c==="investor_or_banker"?t.push(c):t=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(B=>_e(B.selectedOption?.value)).filter(B=>B!=null):[],c==="employee"&&t.length===0&&t.push("reimbursements_user");const $=ke(t);h={email:a.email,role:t,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),Q(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{E(!0)},re={onOkClick:()=>{const g=e.person;z?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),M?.(e.person)},onCancelClick:()=>{E(!1)}},F=ce(e.person?.update),k=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{k==null&&F==="removeUsers"&&(E(!1),_?.())},[k,F]),s.jsxs(s.Fragment,{children:[Y===!0?s.jsx(ue,{titleComponent:s.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:s.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:k==="removeUsers",isDisabled:k==="removeUsers",style:{background:K.colors.overlayColor},children:e.person?.user!=null?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{}),s.jsx(Le,{children:s.jsx(ze,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,s.jsx(he,{title:ee,backgroundColor:K.colors.grey4,style:{zIndex:4},onCloseClick:O,isTitleAlignLeft:C==="small"}),s.jsxs(Pe,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:se,children:[s.jsxs(Be,{children:[s.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),s.jsxs(Ee,{children:[s.jsx(Se,{children:e.person?.user?.firstName?s.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),s.jsx(Ze,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:s.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:s.jsx(Ne,{windowsize:C})})})]})]}),s.jsx(ve,{...i,children:s.jsx("form",{id:`${W}_form`,onSubmit:te,children:s.jsx(Te,{control:i.control,sectionId:R,deleteConfirmationIndex:X,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:P,classList:y,managersList:o,controllersList:j,customerRoleOptions:S,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:z})})})]}),s.jsx(xe,{formId:`${W}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:O},separatorStyle:{marginRight:n.sp4}})]})},G=(e,o,y,j,p,P,O)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:j==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:j!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(P,O)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},ns=(e,o)=>`${e}.${o}`,Pe=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{ay as yt,V as t,gv as po,aS as un,g as $t,aa as di,aA as On,aG as ui,e as Ae,gQ as ho,bQ as go,gw as yo,gx as bo,gR as fo,ae as mi,cy as pn,cz as pi,cA as hi,ac as H,o as n,x as s,bE as Pn,bq as xo,dE as wo,gy as So,gH as gi,gE as Rn,aT as yi,aq as bi,bU as vo,gS as qe,eR as Ye,fj as hn,gT as Mt,O as Se,L as Ct,gU as $o,d as R,b as fi,as as gn,u as l,bz as Co,bV as ko,cR as Io,eZ as yn,gV as Ft,dN as ge,cV as bn,dT as ye,cU as rt,eB as Do,fx as xi,w as At,cY as wi,cX as ot,eJ as Oe,ak as fn,gW as To,fO as jo,cQ as Oo,aX as Ln,fI as Po,by as Ro,gX as An,bc as Si,y as Lo,eA as Ao,b9 as Et,gz as zo,c3 as vi,N as xn,M as $i,da as Ci,cq as Nt,fa as Bo,bb as Mo,de as Fo,fC as Eo,an as wn,a as zn,c1 as ki,b3 as Bn,d9 as No,ao as Wo,d0 as Ii,aQ as Uo,gY as Di,gZ as mn,g_ as Ti,gq as Mn,g$ as zt,cZ as _o,gu as Vo,bM as qo,d8 as Ho}from"./index-DMG72kst.js";import{a as v,P as Tt}from"./sentry-DA3cfNtR.js";import{n as i}from"./mui-PTGaeBGX.js";import{GE as Ko,bL as at,bZ as ji,bo as Oi,bm as Fn,GF as En,bh as Sn}from"./zeni-epic-state-qJAZZeEy.js";import Pi from"./InvoiceUploadSection-it-ZYl1N-DRo_N6ol.js";import{r as Go,f as Bt,d as vt,p as vn,u as Nn,h as we}from"./types-DyvtCprH-NFPm5TaG.js";import{D as Yo}from"./LabeledCreatableSingleSelectField-CISYMojq-xYhovxcY.js";import{S as Qo}from"./CurrencySelectField-BAh7SHrG-DxidpKws.js";import{e as Xo}from"./BankAccountSection-Di4sF52j-DIEDANH7.js";import{W as Zo,A as Jo}from"./BankAccountWarningSection-Cled-2cR-Btg4jA3W.js";import{o as ea}from"./radio-default-CiSgisfh-D9daKtZ-.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";import"./AttachmentView-CzC4skJ3-Bi12zP8s.js";import"./uploadReceipts-CIgkuVpu-BMgQocne.js";import"./upload-reimbursement-receipt-O2N8vcO7-Ge_wO5yU.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]="140aab2a-20f0-49e3-8227-22ae3e577813",e._sentryDebugIdIdentifier="sentry-dbid-140aab2a-20f0-49e3-8227-22ae3e577813")}catch{}})();const Te=(e,o)=>`${e}.${o}`,Wn={largeLabelWidth:new s(120,120,160),paddingBottom:new s(l[3],l[2])},{spendManagement:{reimbursement:{reimbursementDetail:fe}},dateFormat:ta,common:na}=Se.getLocalizedStrings(),ia=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:D,isDisabled:m,isAddReimbursementDisabled:I,companyMileageConfigInfo:T,customerSearchAutoComplete:h,reimbursementId:a,classHierarchyList:$})=>{const d=Ae(),y=yt(),w=Ft(),O=`dashboard_${y.currentTenant?.companyId}`,L=$t(),{formState:{errors:A},getValues:S,trigger:P}=rt(),f=na.strings.empty,B=S(Te(p,"distanceInMiles")),te=Wn.largeLabelWidth.value(d),ne=S(Te(p,"class")),re=r.find(j=>j.classId===ne?.selectedOption),K=Te(p,"class"),Q=Oe(A,K);v.useEffect(()=>{ne?.selectedOption!=null&&(re?.isDeleted===!0||Q)&&P(K)},[ne?.selectedOption,re?.isDeleted,r,K,P]);const W={application:"dashboard",companyId:y.currentTenant?.companyId,tab:"reimbursement",entityId:a},G=j=>r.filter(ie=>ie.classId===j)[0]?.accountingClassNumber,V=r.find(j=>j.classId===o.class),ue={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})},Pe={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"})};return t.jsxs(t.Fragment,{children:[t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.transactionDate`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("transactionDate",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Ii,{isDisabled:m,label:{label:fe.transactionDate,width:te},style:{paddingBottom:Wn.paddingBottom.valuePx(d),width:"auto"},dateField:{name:Te(p,"transactionDate"),placeholder:fe.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:ta.visual.defaultInput,autoComplete:"off",maxDate:Sn(),registerOptions:{required:!0,validate:j=>!!j}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:I?"disabled":void 0,style:{width:"auto"},label:{label:fe.distanceInMiles,width:te},formattedTextField:{type:"number",name:Te(p,"distanceInMiles"),placeholder:fe.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.amount`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("amount",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:"disabled",label:{label:fe.amount,width:te},formattedTextField:{type:"number",name:Te(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:ot(fe.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:B!=null&&T?.mileageUnitAmount!=null?`${c.currencySymbol}${T?.mileageUnitAmount} per mile x ${B}`:void 0})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.memo`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("memo",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:fe.memo,width:te},style:{width:"auto"},text:{type:"text",name:Te(p,"memo"),placeholder:ot(fe.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:Di}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.class`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("class",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(mn,{isLoading:!1,label:{label:fe.department,width:te},additionalLabelInfo:re?.isDeleted===!0&&Oe(A,Te(p,"class"))?fe.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Te(p,"class"),placeholder:ot(fe.department),valueToId:j=>G(j),defaultValue:{selectedOption:V?.classId,allOptions:Ye($,[])},style:{width:"100%"},customStyleConfig:ue,registerOptions:{required:!0,validate:j=>j?.selectedOption==null?!1:r.find(ie=>ie.classId===j?.selectedOption)?.isDeleted===!0?fe.deletedClassError:!0}},style:{borderBottom:`1px solid ${L.colors.grey3}`},fullWidthSelect:!0},Te(p,"class"))}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.customer`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("customer",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${n.sp2} ${n.sp2}`},children:t.jsx(Ti,{label:{label:fe.customer,width:te},isDisabled:m,autoCompleteSingleSelectField:{name:Te(p,"customer"),placeholder:fe.customerPlaceholder,isDisabled:m,valueToId:j=>j,defaultValue:{selectedOption:o.customer?.selectedOption,defaultOptions:o.customer?.defaultOptions??[]},style:{width:"100%"},customStyleConfig:Pe,loadOptions:h?.loadOptions},style:{justifyContent:"space-between"},fullWidthSelect:!0},Te(p,"customer"))})]})},wt=i.div`
1
+ import{ay as yt,V as t,gv as po,aS as un,g as $t,aa as di,aA as On,aG as ui,e as Ae,gQ as ho,bQ as go,gw as yo,gx as bo,gR as fo,ae as mi,cy as pn,cz as pi,cA as hi,ac as H,o as n,x as s,bE as Pn,bq as xo,dE as wo,gy as So,gH as gi,gE as Rn,aT as yi,aq as bi,bU as vo,gS as qe,eR as Ye,fj as hn,gT as Mt,O as Se,L as Ct,gU as $o,d as R,b as fi,as as gn,u as l,bz as Co,bV as ko,cR as Io,eZ as yn,gV as Ft,dN as ge,cV as bn,dT as ye,cU as rt,eB as Do,fx as xi,w as At,cY as wi,cX as ot,eJ as Oe,ak as fn,gW as To,fO as jo,cQ as Oo,aX as Ln,fI as Po,by as Ro,gX as An,bc as Si,y as Lo,eA as Ao,b9 as Et,gz as zo,c3 as vi,N as xn,M as $i,da as Ci,cq as Nt,fa as Bo,bb as Mo,de as Fo,fC as Eo,an as wn,a as zn,c1 as ki,b3 as Bn,d9 as No,ao as Wo,d0 as Ii,aQ as Uo,gY as Di,gZ as mn,g_ as Ti,gq as Mn,g$ as zt,cZ as _o,gu as Vo,bM as qo,d8 as Ho}from"./index-C8o-xzAN.js";import{a as v,P as Tt}from"./sentry-DBhcw6Be.js";import{n as i}from"./mui-DOS4CfBc.js";import{GE as Ko,bL as at,bZ as ji,bo as Oi,bm as Fn,GF as En,bh as Sn}from"./zeni-epic-state-DMWYYyyR.js";import Pi from"./InvoiceUploadSection-it-ZYl1N-XsZhHn3v.js";import{r as Go,f as Bt,d as vt,p as vn,u as Nn,h as we}from"./types-DyvtCprH-NFPm5TaG.js";import{D as Yo}from"./LabeledCreatableSingleSelectField-CISYMojq-DqRsgtUm.js";import{S as Qo}from"./CurrencySelectField-BAh7SHrG-CBSRpu74.js";import{e as Xo}from"./BankAccountSection-Di4sF52j-CjUG2k4c.js";import{W as Zo,A as Jo}from"./BankAccountWarningSection-Cled-2cR-DDIv4R5M.js";import{o as ea}from"./radio-default-CiSgisfh-bKgsz1mh.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./AttachmentView-CzC4skJ3-DSp7S_ow.js";import"./uploadReceipts-CIgkuVpu-DNtrxUdf.js";import"./upload-reimbursement-receipt-O2N8vcO7-_YW_CWHL.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]="140aab2a-20f0-49e3-8227-22ae3e577813",e._sentryDebugIdIdentifier="sentry-dbid-140aab2a-20f0-49e3-8227-22ae3e577813")}catch{}})();const Te=(e,o)=>`${e}.${o}`,Wn={largeLabelWidth:new s(120,120,160),paddingBottom:new s(l[3],l[2])},{spendManagement:{reimbursement:{reimbursementDetail:fe}},dateFormat:ta,common:na}=Se.getLocalizedStrings(),ia=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:D,isDisabled:m,isAddReimbursementDisabled:I,companyMileageConfigInfo:T,customerSearchAutoComplete:h,reimbursementId:a,classHierarchyList:$})=>{const d=Ae(),y=yt(),w=Ft(),O=`dashboard_${y.currentTenant?.companyId}`,L=$t(),{formState:{errors:A},getValues:S,trigger:P}=rt(),f=na.strings.empty,B=S(Te(p,"distanceInMiles")),te=Wn.largeLabelWidth.value(d),ne=S(Te(p,"class")),re=r.find(j=>j.classId===ne?.selectedOption),K=Te(p,"class"),Q=Oe(A,K);v.useEffect(()=>{ne?.selectedOption!=null&&(re?.isDeleted===!0||Q)&&P(K)},[ne?.selectedOption,re?.isDeleted,r,K,P]);const W={application:"dashboard",companyId:y.currentTenant?.companyId,tab:"reimbursement",entityId:a},G=j=>r.filter(ie=>ie.classId===j)[0]?.accountingClassNumber,V=r.find(j=>j.classId===o.class),ue={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})},Pe={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"})};return t.jsxs(t.Fragment,{children:[t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.transactionDate`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("transactionDate",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Ii,{isDisabled:m,label:{label:fe.transactionDate,width:te},style:{paddingBottom:Wn.paddingBottom.valuePx(d),width:"auto"},dateField:{name:Te(p,"transactionDate"),placeholder:fe.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:ta.visual.defaultInput,autoComplete:"off",maxDate:Sn(),registerOptions:{required:!0,validate:j=>!!j}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:I?"disabled":void 0,style:{width:"auto"},label:{label:fe.distanceInMiles,width:te},formattedTextField:{type:"number",name:Te(p,"distanceInMiles"),placeholder:fe.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.amount`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("amount",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:"disabled",label:{label:fe.amount,width:te},formattedTextField:{type:"number",name:Te(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:ot(fe.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:B!=null&&T?.mileageUnitAmount!=null?`${c.currencySymbol}${T?.mileageUnitAmount} per mile x ${B}`:void 0})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.memo`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("memo",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:fe.memo,width:te},style:{width:"auto"},text:{type:"text",name:Te(p,"memo"),placeholder:ot(fe.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:Di}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.class`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("class",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(mn,{isLoading:!1,label:{label:fe.department,width:te},additionalLabelInfo:re?.isDeleted===!0&&Oe(A,Te(p,"class"))?fe.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Te(p,"class"),placeholder:ot(fe.department),valueToId:j=>G(j),defaultValue:{selectedOption:V?.classId,allOptions:Ye($,[])},style:{width:"100%"},customStyleConfig:ue,registerOptions:{required:!0,validate:j=>j?.selectedOption==null?!1:r.find(ie=>ie.classId===j?.selectedOption)?.isDeleted===!0?fe.deletedClassError:!0}},style:{borderBottom:`1px solid ${L.colors.grey3}`},fullWidthSelect:!0},Te(p,"class"))}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.customer`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("customer",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${n.sp2} ${n.sp2}`},children:t.jsx(Ti,{label:{label:fe.customer,width:te},isDisabled:m,autoCompleteSingleSelectField:{name:Te(p,"customer"),placeholder:fe.customerPlaceholder,isDisabled:m,valueToId:j=>j,defaultValue:{selectedOption:o.customer?.selectedOption,defaultOptions:o.customer?.defaultOptions??[]},style:{width:"100%"},customStyleConfig:Pe,loadOptions:h?.loadOptions},style:{justifyContent:"space-between"},fullWidthSelect:!0},Te(p,"customer"))})]})},wt=i.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{g as x,O as w,aX as v,V as o,bD as D,az as I,o as i,K as l}from"./index-DMG72kst.js";import{n as a}from"./mui-PTGaeBGX.js";import{R as k}from"./TrendWithTransactions-3D1FvM8G-DxPZ_o7N.js";import"./sentry-DA3cfNtR.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./zeni-epic-state-qJAZZeEy.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";import"./TrendChart-Bnp4Pcdf-BY18h9jb.js";import"./chartTypes-CD3vrBsI-B60Spgf7.js";import"./toCOABalancesWithID-aLNB35t7-Bj9jSpq4.js";import"./toChartData-DUL6vnzJ-BfCuWWLN.js";import"./NoDataChart-CrKeqWSr-4ekDnDn1.js";import"./InsightsSection-B6CNlTNH-C1k0XkMl.js";import"./NavigationDots-Dvce3gHt-CdTxmSBW.js";import"./TransactionList-BB-xoIGm-Cs0g42iq.js";import"./ConstrainedInnerElement-CgdnMeoA--qLpImjq.js";import"./BoxItem-Bxa1M4QU-C6dqF4Ox.js";import"./commonDimensions-Oz1tdAcx-DwbBmI-Z.js";import"./panelSelectedMixin-Cddsb26L-CGfB88iV.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="78290c46-e606-4032-91a2-65a77b01fa82",t._sentryDebugIdIdentifier="sentry-dbid-78290c46-e606-4032-91a2-65a77b01fa82")}catch{}})();const P=a.div`
1
+ import{g as x,O as w,aX as v,V as o,bD as D,az as I,o as i,K as l}from"./index-C8o-xzAN.js";import{n as a}from"./mui-DOS4CfBc.js";import{R as k}from"./TrendWithTransactions-3D1FvM8G-TXKeFcvZ.js";import"./sentry-DBhcw6Be.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./zeni-epic-state-DMWYYyyR.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./TrendChart-Bnp4Pcdf-CJF7dKdP.js";import"./chartTypes-CD3vrBsI-CxjFANZl.js";import"./toCOABalancesWithID-aLNB35t7-BtYnBfqr.js";import"./toChartData-DUL6vnzJ-Bu4Ds4yf.js";import"./NoDataChart-CrKeqWSr-DnRwd0s-.js";import"./InsightsSection-B6CNlTNH-BdZRn5zX.js";import"./NavigationDots-Dvce3gHt-BhNbY-Jn.js";import"./TransactionList-BB-xoIGm-CmL2sv-k.js";import"./ConstrainedInnerElement-CgdnMeoA-Cv85URYx.js";import"./BoxItem-Bxa1M4QU-CY-vorJI.js";import"./commonDimensions-Oz1tdAcx-C8J13a8y.js";import"./panelSelectedMixin-Cddsb26L-BEaTutPV.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="78290c46-e606-4032-91a2-65a77b01fa82",t._sentryDebugIdIdentifier="sentry-dbid-78290c46-e606-4032-91a2-65a77b01fa82")}catch{}})();const P=a.div`
2
2
  display: flex;
3
3
  margin: ${i.sp0} ${i.sp0} ${i.sp0} ${i.sp0};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{e as C,x as d,V as i,b5 as E,cC as R,O as k,dD as I,dc as V,o as s,ab as S,aQ as z,e2 as D,u as a,c as B,ao as F,an as Y,bb as U,ak as K,cI as G,d as M,cL as Q}from"./index-DMG72kst.js";import{a as p}from"./sentry-DA3cfNtR.js";import{n}from"./mui-PTGaeBGX.js";import{l as X}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="0adb30a9-1c66-4393-9a8e-6f7145a63819",e._sentryDebugIdIdentifier="sentry-dbid-0adb30a9-1c66-4393-9a8e-6f7145a63819")}catch{}})();const y=k.getLocalizedStrings().reports.aging.agingDetail.header,g=[{key:"date",value:y.date,sortOrder:"ascending",width:new d(212,212),compressedWidth:new d(300,300)},{key:"invoiceNumber",value:y.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:y.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:y.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:y.amount,sortOrder:"ascending",width:new d(188,188),compressedWidth:new d(100,100)},{key:"balance",value:y.balance,sortOrder:"ascending",width:new d(120,120)}],O={headerHeight:new d(45,58)},q=n.div`
1
+ import{e as C,x as d,V as i,b5 as E,cC as R,O as k,dD as I,dc as V,o as s,ab as S,aQ as z,e2 as D,u as a,c as B,ao as F,an as Y,bb as U,ak as K,cI as G,d as M,cL as Q}from"./index-C8o-xzAN.js";import{a as p}from"./sentry-DBhcw6Be.js";import{n}from"./mui-DOS4CfBc.js";import{l as X}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="0adb30a9-1c66-4393-9a8e-6f7145a63819",e._sentryDebugIdIdentifier="sentry-dbid-0adb30a9-1c66-4393-9a8e-6f7145a63819")}catch{}})();const y=k.getLocalizedStrings().reports.aging.agingDetail.header,g=[{key:"date",value:y.date,sortOrder:"ascending",width:new d(212,212),compressedWidth:new d(300,300)},{key:"invoiceNumber",value:y.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:y.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:y.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:y.amount,sortOrder:"ascending",width:new d(188,188),compressedWidth:new d(100,100)},{key:"balance",value:y.balance,sortOrder:"ascending",width:new d(120,120)}],O={headerHeight:new d(45,58)},q=n.div`
2
2
  top: ${s.sp0};
3
3
  left: ${s.sp0};
4
4
  min-height: ${e=>O.headerHeight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{g as X,e as me,cl as ue,V as t,gk as q,ac as v,bT as ge,d as a,c1 as z,o as r,bE as Ce,kr as ke,w as d,i4 as R,i3 as T,a as xe,by as fe,ai as je,ks as ye,kt as ve,O as k,cs as $e,c as be,bM as we,ak as h,aw as ee,an as Le,n as Ee,b9 as Me,b1 as We,bb as te}from"./index-DMG72kst.js";import{a as s}from"./sentry-DA3cfNtR.js";import{n as o,c as re,k as Se}from"./mui-PTGaeBGX.js";import{bh as oe,bL as De}from"./zeni-epic-state-qJAZZeEy.js";import{U as Ve,F as _e,X as Pe,Y as He,J as Fe,G as ze}from"./recharts-qzs3V2Ze.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.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]="c2eaa49d-8701-4d5f-b9fe-f326e8de7168",e._sentryDebugIdIdentifier="sentry-dbid-c2eaa49d-8701-4d5f-b9fe-f326e8de7168")}catch{}})();const Re=k.getLocalizedStrings().expenseAutomation,Te=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Ye},texts:{score:Ie}}}=k.getLocalizedStrings(),Ze=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Je,{children:[t.jsx(Oe,{children:Ie}),t.jsxs(Ge,{children:[c,Ye]})]})};function Be({data:e,height:i}){const c=X(),$=e.map(x=>({month:De(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Te.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ae,{children:[t.jsx(Ne,{children:Re.overview.monthEndCloseTrend}),t.jsx(Ve,{height:i,width:"100%",children:t.jsxs(_e,{data:$,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(Pe,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(He,{hide:!0}),t.jsx(Fe,{content:Ze,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(ze,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Ne=o(h)`
1
+ import{g as X,e as me,cl as ue,V as t,gk as q,ac as v,bT as ge,d as a,c1 as z,o as r,bE as Ce,kr as ke,w as d,i4 as R,i3 as T,a as xe,by as fe,ai as je,ks as ye,kt as ve,O as k,cs as $e,c as be,bM as we,ak as h,aw as ee,an as Le,n as Ee,b9 as Me,b1 as We,bb as te}from"./index-C8o-xzAN.js";import{a as s}from"./sentry-DBhcw6Be.js";import{n as o,c as re,k as Se}from"./mui-DOS4CfBc.js";import{bh as oe,bL as De}from"./zeni-epic-state-DMWYYyyR.js";import{U as Ve,F as _e,X as Pe,Y as He,J as Fe,G as ze}from"./recharts-BBlqu8Rz.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c2eaa49d-8701-4d5f-b9fe-f326e8de7168",e._sentryDebugIdIdentifier="sentry-dbid-c2eaa49d-8701-4d5f-b9fe-f326e8de7168")}catch{}})();const Re=k.getLocalizedStrings().expenseAutomation,Te=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Ye},texts:{score:Ie}}}=k.getLocalizedStrings(),Ze=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Je,{children:[t.jsx(Oe,{children:Ie}),t.jsxs(Ge,{children:[c,Ye]})]})};function Be({data:e,height:i}){const c=X(),$=e.map(x=>({month:De(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Te.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ae,{children:[t.jsx(Ne,{children:Re.overview.monthEndCloseTrend}),t.jsx(Ve,{height:i,width:"100%",children:t.jsxs(_e,{data:$,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(Pe,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(He,{hide:!0}),t.jsx(Fe,{content:Ze,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(ze,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Ne=o(h)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Ae=o.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{o as n,c3 as zl,e as Ce,bQ as Xa,bR as er,V as t,cy as Pl,bD as Fl,ab as Ye,aT as tr,u as f,O as me,ak as st,an as Re,cz as Bl,ac as D,x as Q,g as Tt,bE as _l,ip as Vl,aQ as it,c1 as xe,du as zi,eD as Nl,bx as Ul,d as he,au as Wl,eU as Qt,L as Hn,e2 as Xe,b5 as qn,dz as nr,bt as Hl,gk as ql,im as Kl,hb as Jl,h3 as ir,by as Ql,bW as ot,b9 as Kn,bM as or,kz as Gl,ao as Ze,ce as Yl,n as sr,bb as ar,as as _o,aa as gn,bT as Vo,ae as xn,kA as Zl,kB as Xl,kC as ec,kD as Bn,kE as rr,kF as lr,kG as tc,kH as us,kI as nc,gx as cr,dx as dr,kJ as ic,kK as oc,kL as sc,kM as ac,kN as rc,kO as lc,kP as cc,kQ as dc,kR as uc,kS as hc,kT as ur,kU as pc,kV as mc,kW as gc,kX as xc,gK as No,cl as Jn,cC as Pi,v as hr,A as pr,cQ as Qn,e6 as Uo,b as Wo,hK as fc,bq as yc,cs as wc,cc as bc,c9 as Gn,gN as hs,j0 as ps,aq as $t,dv as Yn,dc as Jt,dR as qe,cv as Zn,cI as Xn,cL as ei,kY as Cc,w as yt,iy as mr,fO as vc,aG as gr,kZ as Sc,aX as Ho,aS as ms,h5 as xr,k_ as kc,k$ as jc,l0 as $c,bH as fr,aV as Ic,gT as Kt,ib as Wi,eR as $i,cU as qo,aA as Tc,eS as yr,bV as Lc,g1 as Ac,hf as wr,y as Rc,l1 as Ec,a_ as Ko,j$ as Dc,k0 as Mc,e1 as br,l2 as Cr,j6 as Oc,h_ as zc,gL as Ii,jx as gs,l3 as Pc,a$ as Fc,dD as vr,a as Un,iH as Sr,iQ as Ao,l4 as In,et as kr,ev as jr,j9 as Ro,ja as $r,d9 as Ir,l5 as Bc,da as Fi,iI as Tr,fC as Lr,l6 as _c,eI as Hi,aM as Eo,l7 as Vc,cZ as Nc,iX as Uc,e4 as Wc,l8 as Hc,gQ as qc,b3 as qi,eE as Kc,fX as Jc,l9 as Qc,e0 as Gc,hP as Yc,a9 as Zc,eF as Xc,eG as ed,eH as td,eK as xs,eL as fs,eM as nd,gX as id,b1 as od,eW as sd,eX as ad,eY as rd}from"./index-DMG72kst.js";import{a as s,P as ld}from"./sentry-DA3cfNtR.js";import{n as o,c as le,k as Bi}from"./mui-PTGaeBGX.js";import{bh as cd,kP as dd,He as ys,Hf as Wn,Hg as ud,Hh as hd,cy as pd,bL as Di,cz as md,c4 as Jo,Hi as gd,FD as ws,cA as xd,cB as fd,lU as _n,bE as rn,Hj as bs,Hk as yd,bV as Ar,bo as ln,Hl as wd,Hm as Rr,Hn as Er,Ho as Dr,Hp as Mr,Hq as Or,Hr as Qo,lm as bd}from"./zeni-epic-state-qJAZZeEy.js";import{t as Go}from"./panelSelectedMixin-Cddsb26L-CGfB88iV.js";import{m as zr,n as Pr,a as Tn,t as Mt}from"./CollapsableReportTable-DNfFkAts-CKi8-92F.js";import{N as Ki}from"./AccountRow-D1cjRJJD-68vCYcVL.js";import{o as Fr}from"./mapTimeframeBalancesToTreeNode-DOyCX6ij-DNs8km3x.js";import{d as Cs}from"./mapLoadingInProgressToTreeNode-jcHEi-mv-3CmCtSOT.js";import{h as Cd}from"./VendorsAccountsSection-CgSJu8wq-DAQ1vUE3.js";import{u as vd,c as vs,d as Sd,m as kd}from"./uploadAttachment-Ck4wivBR-Bh6Y3xK9.js";import{r as Mi}from"./core--0SFXVg4.js";import{t as jd}from"./upload-reimbursement-receipt-O2N8vcO7-Ge_wO5yU.js";import"./liveblocks-BPjePRRW.js";import"./recharts-qzs3V2Ze.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.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]="792c96fe-a99d-4015-9d9a-0303b1c2b258",e._sentryDebugIdIdentifier="sentry-dbid-792c96fe-a99d-4015-9d9a-0303b1c2b258")}catch{}})();const{common:{navBar:{back:$d},texts:{refresh:Id,close:Td,copy:Ld,copied:Ad,open:Rd}},expenseAutomation:{common:{numbers:{maximumCount:Ed}}}}=me.getLocalizedStrings(),Dd=o(Lc)`
1
+ import{o as n,c3 as zl,e as Ce,bQ as Xa,bR as er,V as t,cy as Pl,bD as Fl,ab as Ye,aT as tr,u as f,O as me,ak as st,an as Re,cz as Bl,ac as D,x as Q,g as Tt,bE as _l,ip as Vl,aQ as it,c1 as xe,du as zi,eD as Nl,bx as Ul,d as he,au as Wl,eU as Qt,L as Hn,e2 as Xe,b5 as qn,dz as nr,bt as Hl,gk as ql,im as Kl,hb as Jl,h3 as ir,by as Ql,bW as ot,b9 as Kn,bM as or,kz as Gl,ao as Ze,ce as Yl,n as sr,bb as ar,as as _o,aa as gn,bT as Vo,ae as xn,kA as Zl,kB as Xl,kC as ec,kD as Bn,kE as rr,kF as lr,kG as tc,kH as us,kI as nc,gx as cr,dx as dr,kJ as ic,kK as oc,kL as sc,kM as ac,kN as rc,kO as lc,kP as cc,kQ as dc,kR as uc,kS as hc,kT as ur,kU as pc,kV as mc,kW as gc,kX as xc,gK as No,cl as Jn,cC as Pi,v as hr,A as pr,cQ as Qn,e6 as Uo,b as Wo,hK as fc,bq as yc,cs as wc,cc as bc,c9 as Gn,gN as hs,j0 as ps,aq as $t,dv as Yn,dc as Jt,dR as qe,cv as Zn,cI as Xn,cL as ei,kY as Cc,w as yt,iy as mr,fO as vc,aG as gr,kZ as Sc,aX as Ho,aS as ms,h5 as xr,k_ as kc,k$ as jc,l0 as $c,bH as fr,aV as Ic,gT as Kt,ib as Wi,eR as $i,cU as qo,aA as Tc,eS as yr,bV as Lc,g1 as Ac,hf as wr,y as Rc,l1 as Ec,a_ as Ko,j$ as Dc,k0 as Mc,e1 as br,l2 as Cr,j6 as Oc,h_ as zc,gL as Ii,jx as gs,l3 as Pc,a$ as Fc,dD as vr,a as Un,iH as Sr,iQ as Ao,l4 as In,et as kr,ev as jr,j9 as Ro,ja as $r,d9 as Ir,l5 as Bc,da as Fi,iI as Tr,fC as Lr,l6 as _c,eI as Hi,aM as Eo,l7 as Vc,cZ as Nc,iX as Uc,e4 as Wc,l8 as Hc,gQ as qc,b3 as qi,eE as Kc,fX as Jc,l9 as Qc,e0 as Gc,hP as Yc,a9 as Zc,eF as Xc,eG as ed,eH as td,eK as xs,eL as fs,eM as nd,gX as id,b1 as od,eW as sd,eX as ad,eY as rd}from"./index-C8o-xzAN.js";import{a as s,P as ld}from"./sentry-DBhcw6Be.js";import{n as o,c as le,k as Bi}from"./mui-DOS4CfBc.js";import{bh as cd,kP as dd,He as ys,Hf as Wn,Hg as ud,Hh as hd,cy as pd,bL as Di,cz as md,c4 as Jo,Hi as gd,FD as ws,cA as xd,cB as fd,lU as _n,bE as rn,Hj as bs,Hk as yd,bV as Ar,bo as ln,Hl as wd,Hm as Rr,Hn as Er,Ho as Dr,Hp as Mr,Hq as Or,Hr as Qo,lm as bd}from"./zeni-epic-state-DMWYYyyR.js";import{t as Go}from"./panelSelectedMixin-Cddsb26L-BEaTutPV.js";import{m as zr,n as Pr,a as Tn,t as Mt}from"./CollapsableReportTable-DNfFkAts-cgYLh83Q.js";import{N as Ki}from"./AccountRow-D1cjRJJD-brXv0bxV.js";import{o as Fr}from"./mapTimeframeBalancesToTreeNode-DOyCX6ij-DJ5f-tsr.js";import{d as Cs}from"./mapLoadingInProgressToTreeNode-jcHEi-mv-Cl8KOFjG.js";import{h as Cd}from"./VendorsAccountsSection-CgSJu8wq-Ctj2nPMI.js";import{u as vd,c as vs,d as Sd,m as kd}from"./uploadAttachment-Ck4wivBR-Cl_dwAB6.js";import{r as Mi}from"./core-VVne9A9m.js";import{t as jd}from"./upload-reimbursement-receipt-O2N8vcO7-_YW_CWHL.js";import"./liveblocks-abv8TgYe.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="792c96fe-a99d-4015-9d9a-0303b1c2b258",e._sentryDebugIdIdentifier="sentry-dbid-792c96fe-a99d-4015-9d9a-0303b1c2b258")}catch{}})();const{common:{navBar:{back:$d},texts:{refresh:Id,close:Td,copy:Ld,copied:Ad,open:Rd}},expenseAutomation:{common:{numbers:{maximumCount:Ed}}}}=me.getLocalizedStrings(),Dd=o(Lc)`
2
2
  display: flex;
3
3
  width: ${n.sp4};
4
4
  height: ${n.sp4};
@@ -1,4 +1,4 @@
1
- import{g as Ve,e as K,O as q,aa as et,aS as Fe,cQ as tt,V as t,bE as it,ae as at,aT as nt,x as f,o as n,la as lt,lb as ot,lc as rt,cY as Re,cV as dt,fg as st,fS as ct,fT as pt,cX as Ae,gq as mt,ld as ut,d0 as ht,d1 as yt,fn as ze,fo as Oe,fx as ke,w as ge,u,fy as gt,bc as ft,b9 as xe,d as Ee,ao as bt,at as We}from"./index-DMG72kst.js";import{a as J}from"./sentry-DA3cfNtR.js";import{n as d}from"./mui-PTGaeBGX.js";import{bL as qe,bh as le,bZ as Ue,bH as xt,bo as wt}from"./zeni-epic-state-qJAZZeEy.js";import{Y as vt}from"./LabeledDocumentField-C_bcFxdY-BV9lofDJ.js";import{S as te}from"./LabeledText-C8Y7EOsX-C8fojKEp.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.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]="85edc54c-d7cb-4426-9cf6-1040e7ebe7f2",e._sentryDebugIdIdentifier="sentry-dbid-85edc54c-d7cb-4426-9cf6-1040e7ebe7f2")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=K(),a=Ve(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{g as Ve,e as K,O as q,aa as et,aS as Fe,cQ as tt,V as t,bE as it,ae as at,aT as nt,x as f,o as n,la as lt,lb as ot,lc as rt,cY as Re,cV as dt,fg as st,fS as ct,fT as pt,cX as Ae,gq as mt,ld as ut,d0 as ht,d1 as yt,fn as ze,fo as Oe,fx as ke,w as ge,u,fy as gt,bc as ft,b9 as xe,d as Ee,ao as bt,at as We}from"./index-C8o-xzAN.js";import{a as J}from"./sentry-DBhcw6Be.js";import{n as d}from"./mui-DOS4CfBc.js";import{bL as qe,bh as le,bZ as Ue,bH as xt,bo as wt}from"./zeni-epic-state-DMWYYyyR.js";import{Y as vt}from"./LabeledDocumentField-C_bcFxdY-DJ7-SOXf.js";import{S as te}from"./LabeledText-C8Y7EOsX-DEEaYkeb.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="85edc54c-d7cb-4426-9cf6-1040e7ebe7f2",e._sentryDebugIdIdentifier="sentry-dbid-85edc54c-d7cb-4426-9cf6-1040e7ebe7f2")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=K(),a=Ve(),s=q.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Dt,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -1,4 +1,4 @@
1
- import{g as _,e as w,O as y,aX as n,d as r,V as i,cy as v,x as p,cz as k,cA as x,u as g}from"./index-DMG72kst.js";import{n as d}from"./mui-PTGaeBGX.js";import"./sentry-DA3cfNtR.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./zeni-epic-state-qJAZZeEy.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.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]="694330fe-5ea5-4d5a-b172-5c2d4ec710f2",e._sentryDebugIdIdentifier="sentry-dbid-694330fe-5ea5-4d5a-b172-5c2d4ec710f2")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
1
+ import{g as _,e as w,O as y,aX as n,d as r,V as i,cy as v,x as p,cz as k,cA as x,u as g}from"./index-C8o-xzAN.js";import{n as d}from"./mui-DOS4CfBc.js";import"./sentry-DBhcw6Be.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./zeni-epic-state-DMWYYyyR.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="694330fe-5ea5-4d5a-b172-5c2d4ec710f2",e._sentryDebugIdIdentifier="sentry-dbid-694330fe-5ea5-4d5a-b172-5c2d4ec710f2")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{e as H,V as l,O as X,cU as q,eJ as G,g as ee,cZ as K,x as L,gu as Z,o as i,ac as B,eB as ce,aG as le,gm as pe,gn as ue,a as he,d as u,u as g,gP as ge,d9 as be,eS as ye,aq as ve,bJ as we,w as W,dx as $e,bK as fe,bI as ke}from"./index-DMG72kst.js";import{n as d}from"./mui-PTGaeBGX.js";import{a as V}from"./sentry-DA3cfNtR.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]="63d78d19-8c8b-495d-bf0e-6297f7a6c62b",e._sentryDebugIdIdentifier="sentry-dbid-63d78d19-8c8b-495d-bf0e-6297f7a6c62b")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(K,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{e as H,V as l,O as X,cU as q,eJ as G,g as ee,cZ as K,x as L,gu as Z,o as i,ac as B,eB as ce,aG as le,gm as pe,gn as ue,a as he,d as u,u as g,gP as ge,d9 as be,eS as ye,aq as ve,bJ as we,w as W,dx as $e,bK as fe,bI as ke}from"./index-C8o-xzAN.js";import{n as d}from"./mui-DOS4CfBc.js";import{a as V}from"./sentry-DBhcw6Be.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]="63d78d19-8c8b-495d-bf0e-6297f7a6c62b",e._sentryDebugIdIdentifier="sentry-dbid-63d78d19-8c8b-495d-bf0e-6297f7a6c62b")}catch{}})();const v={width:new L(343,580,726),height:new L(g[6],g[6]),controlHeight:new L(g[6],g[6]),paddingLeftRight:new L(g[3],g[4]),paddingTop:new L(g[3],g[3]),paddingBottom:new L(g[3],g[2]),labelMarginRight:new L(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=H(),{formState:{errors:j}}=q(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":B("labeled-multi-text-field",t.name),children:[l.jsx(K,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Oe,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Ie,{children:[l.jsx(se,{}),l.jsx(Le,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{g as Ee,e as J,aa as Ke,aA as _e,cQ as Je,V as t,ac as V,bE as Xe,ae as Ye,cw as Ie,o,a as ye,O as ue,bT as Qe,cu as Ze,b5 as et,dz as tt,cC as lt,ab as ot,L as at,da as nt,bH as De,aV as it,x as z,bW as se,u as $,cv as Ce,ak as we,cI as rt,cL as st,cU as dt,dv as je,dc as me,c1 as K,eN as ke,aq as ct,iC as ht,an as mt,bj as gt,iz as pt,iD as Oe,cq as ut,bv as wt,d as We,iE as bt}from"./index-DMG72kst.js";import{a as j}from"./sentry-DA3cfNtR.js";import{n as r,c as Se}from"./mui-PTGaeBGX.js";import{c4 as xt,GV as vt}from"./zeni-epic-state-qJAZZeEy.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.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]="a0f4e690-70db-4b0d-a44b-b8c7525f6344",e._sentryDebugIdIdentifier="sentry-dbid-a0f4e690-70db-4b0d-a44b-b8c7525f6344")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",U="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,n)=>n!=null?`${e}.${l}.${n}`:`${e}.${l}`;function ft(e){const l=J(),{button:{label:n,onClick:a},search:{isOpen:u,placeHolder:g,searchText:b,onTextChange:f},newVendorButtonDataTestId:d,searchBarDataTestId:h}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:u&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ie,{placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"unset",right:o.sp0},onSearchTextChanged:f}):null}),l==="small"?t.jsx(Ie,{keepSearchBoxOpen:!0,placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},onSearchTextChanged:f}):null,l==="small"?t.jsx(St,{"data-testid":d,style:{marginLeft:o.sp5}}):t.jsx(ye,{dataTestId:d,label:n,onClick:a,size:"small",style:{marginLeft:o.sp3},variant:"primary"})]})}const yt=r.div`
1
+ import{g as Ee,e as J,aa as Ke,aA as _e,cQ as Je,V as t,ac as V,bE as Xe,ae as Ye,cw as Ie,o,a as ye,O as ue,bT as Qe,cu as Ze,b5 as et,dz as tt,cC as lt,ab as ot,L as at,da as nt,bH as De,aV as it,x as z,bW as se,u as $,cv as Ce,ak as we,cI as rt,cL as st,cU as dt,dv as je,dc as me,c1 as K,eN as ke,aq as ct,iC as ht,an as mt,bj as gt,iz as pt,iD as Oe,cq as ut,bv as wt,d as We,iE as bt}from"./index-C8o-xzAN.js";import{a as j}from"./sentry-DBhcw6Be.js";import{n as r,c as Se}from"./mui-DOS4CfBc.js";import{c4 as xt,GV as vt}from"./zeni-epic-state-DMWYYyyR.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="a0f4e690-70db-4b0d-a44b-b8c7525f6344",e._sentryDebugIdIdentifier="sentry-dbid-a0f4e690-70db-4b0d-a44b-b8c7525f6344")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",U="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,n)=>n!=null?`${e}.${l}.${n}`:`${e}.${l}`;function ft(e){const l=J(),{button:{label:n,onClick:a},search:{isOpen:u,placeHolder:g,searchText:b,onTextChange:f},newVendorButtonDataTestId:d,searchBarDataTestId:h}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:u&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ie,{placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"unset",right:o.sp0},onSearchTextChanged:f}):null}),l==="small"?t.jsx(Ie,{keepSearchBoxOpen:!0,placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},onSearchTextChanged:f}):null,l==="small"?t.jsx(St,{"data-testid":d,style:{marginLeft:o.sp5}}):t.jsx(ye,{dataTestId:d,label:n,onClick:a,size:"small",style:{marginLeft:o.sp3},variant:"primary"})]})}const yt=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};
@@ -1,4 +1,4 @@
1
- import{V as r,aO as D,O as c,ac as E,aZ as b,K as I,aP as Z,aU as j,o as H,ak as x}from"./index-DMG72kst.js";import{P as m,a as t}from"./sentry-DA3cfNtR.js";import{c as V}from"./SummaryCard-C2qoTsAY-4dgnd5I6.js";import{n as d}from"./mui-PTGaeBGX.js";import{N as y}from"./NavigationArrow-CTNkKUtV-Bew2hAIb.js";import{x as T}from"./NavigationDots-Dvce3gHt-CdTxmSBW.js";import"./liveblocks-BPjePRRW.js";import"./core--0SFXVg4.js";import"./recharts-qzs3V2Ze.js";import"./zeni-epic-state-qJAZZeEy.js";import"./lottie-x1a70pv5.js";import"./analytics-BdPgTZIq.js";import"./lexical-RPR5fwFX.js";import"./utils-ZYxK6Sqs.js";import"./ReloadCard-Bdoo0XiI-D4akwdvc.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]="bbddfdda-2412-49a4-9ac3-856841077204",e._sentryDebugIdIdentifier="sentry-dbid-bbddfdda-2412-49a4-9ac3-856841077204")}catch{}})();const S=d.div`
1
+ import{V as r,aO as D,O as c,ac as E,aZ as b,K as I,aP as Z,aU as j,o as H,ak as x}from"./index-C8o-xzAN.js";import{P as m,a as t}from"./sentry-DBhcw6Be.js";import{c as V}from"./SummaryCard-C2qoTsAY-AZ17zAeW.js";import{n as d}from"./mui-DOS4CfBc.js";import{N as y}from"./NavigationArrow-CTNkKUtV-DwVtEjKU.js";import{x as T}from"./NavigationDots-Dvce3gHt-BhNbY-Jn.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./zeni-epic-state-DMWYYyyR.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";import"./ReloadCard-Bdoo0XiI-BkT_TrPt.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]="bbddfdda-2412-49a4-9ac3-856841077204",e._sentryDebugIdIdentifier="sentry-dbid-bbddfdda-2412-49a4-9ac3-856841077204")}catch{}})();const S=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;