@zeniai/web-cockpit-ui 1.15.38-dev → 1.15.39-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/dist/assets/{ACHDetailsPage-D2Xav-UW-gmz3eqze.js → ACHDetailsPage-D2Xav-UW-Dgnek3jF.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DlTdGosv-DyKbURC2.js → AIPerformancePage-DlTdGosv-CKELZu7q.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-B8-8kUGD-pQMRLxBS.js → AccountInfoPage-B8-8kUGD-mN1GR9MV.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BS2TBUSE-DjSw5axw.js → AccountInfoPageContent-BS2TBUSE-DZcY4GCU.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-aukulrV7-DW4aghq-.js → AccountLockedInfoModal-aukulrV7-R5xm9EGa.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-B65yMW07.js → AccountReconDetailsDrawerPage-kQJld6_N-BPa3RUBS.js} +1 -1
  7. package/dist/assets/{AccountRow-BiEYR4Y1-ClTxn5CJ.js → AccountRow-BiEYR4Y1-BOkx20-Y.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-Bven8hQt.js → AccountsPromoCardStack-DBQnDPXQ-DZukOJ98.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DTnfk8K7-BtB56seB.js → AddAddressForCardDrawer-DTnfk8K7-CVXgtNC-.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-C4EwdLZJ-BEbcOqOR.js → AddToWalletPage-C4EwdLZJ-DDyohZc9.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-vAvkUfOS-BtReYcdm.js → AgingReportsPage-vAvkUfOS-yma2tPTZ.js} +1 -1
  12. package/dist/assets/{AllUserItems-qrYg6Gdx-BwUq_luf.js → AllUserItems-qrYg6Gdx-B-VZAPCv.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-BRYQMwo2-DVhdxG-Q.js → ApAgingDetailPage-BRYQMwo2-Dp74QGzk.js} +1 -1
  14. package/dist/assets/{AppBasePage-DrE-W6d7-Kq-aTwFf.js → AppBasePage-DrE-W6d7-CJIRr9Ku.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-ATbZG_cu-CRi0IC7G.js → AppDrawerContent-ATbZG_cu-CeZJ0YsF.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-5MYC1I6k-BzSO-EGU.js → ApprovalRulesSettingsPage-5MYC1I6k-C5mli22C.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CuzG9AZY-CNSUQdmd.js → ArAgingChart-CuzG9AZY-Cjy4jalD.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-DwRkcLEu-I81vxQpd.js → ArAgingDetailPage-DwRkcLEu-D0JqSAXf.js} +1 -1
  19. package/dist/assets/{AttachmentView-BrQRChzc-mWFumGJq.js → AttachmentView-BrQRChzc-LVbQ9KV0.js} +1 -1
  20. package/dist/assets/{BankAccountSection-hcKEMs80-ujPW3TnU.js → BankAccountSection-hcKEMs80-DR7Ncj16.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-BNQxexaw.js → BankAccountWarningSection-CpxVDMSZ-BQlEw8MH.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-Cl2UYywT.js → BankConnectionsSettingsPage-Bdw1K00m-eUycilPI.js} +1 -1
  23. package/dist/assets/{BillDetailPage-D0NLFZXA-DHU3hbq9.js → BillDetailPage-D0NLFZXA-BjkR3NN3.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-ufuiC-2k.js → BillPayApprovalRuleDetailPage-DkpCvYvo-DnhaSCPQ.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-CWNv7fB2.js → BillPayApprovalRulesPage-BEqZD0GU-D53perZH.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BMcP4EU5-BBffVCRN.js → BillPayPromoPage-BMcP4EU5-CVriywcQ.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-WdEdbf16-DIfXsyw3.js → BillPaySetUpPage-WdEdbf16-CyEAV5pw.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-GtRUqSZm-CK-50NW2.js → BillingSettingsPage-GtRUqSZm-C3HejWZS.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DAUoo9pq-BoZGtLPD.js → BillsBulkReviewDrawerPage-DAUoo9pq-dcxTF6za.js} +1 -1
  30. package/dist/assets/{BoxItem-CACRFWG2-DTCzjEaX.js → BoxItem-CACRFWG2-BWgjkL8U.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-9gZbBDL6-D4OeNnpg.js → BusinessVerificationPage-9gZbBDL6-DqkeZyNM.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-C-oVdziK-BTlLGD-l.js → CardNumberSubText-C-oVdziK-BBPyyGDj.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BhFKSl4p-D1VJ-I5U.js → CashbackDetailPage-BhFKSl4p-Gyvl2exW.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-D8J6HINu-Djp8X5xt.js → ChargeCardDetailPage-D8J6HINu-BFLtF1Xz.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-tdUKyHdz-DA_gAum9.js → ChargeCardListPage-tdUKyHdz-BwUGCbo3.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-CByk3iqX-Ws-6RJ3y.js → ChargeCardListTable-CByk3iqX-DbWF3czQ.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-BZol_uHa.js → ChargeCardPaymentHistoryPage-B8zRcrjo-BK7Hyb6E.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-C4cgx2gm-BjrgUKMy.js → ChargeCardPromoPage-C4cgx2gm-udbGGdmV.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-4J0P5zst.js → ChargeCardSetupPage-DtwiTNKA-D0xa-uIH.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-dCK6B2Ac.js → ChargeCardStatementsPage-B0KPw52e-FET4Siyj.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-C5AvAeBp.js → CheckDepositDrawerPage-DKNAXI77-BlkVwVxR.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-Cq8bhaYC-LGo3rBU5.js → CollapsableReportTable-Cq8bhaYC-BJ9WQB-r.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-BHN1U_wu.js → CompanyOfficerDetailsSection-Rk0B5cB5-Dl62muPU.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-CHaKk74P-Din-6OwH.js → CompanyPassportCard-CHaKk74P-BtzNn79O.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-DXWXFFKM-DEGq9YOd.js → CompanyPassportPage-DXWXFFKM-CBlFInE8.js} +1 -1
  46. package/dist/assets/{CompleteProfile-ChaWsK6t-Dm1N-E47.js → CompleteProfile-ChaWsK6t-CEFyQMpd.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-CdB5fRMt-BFN6S_bw.js → ConfettiBurst-CdB5fRMt-DDshlE3x.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-bG4eDk9o.js → ConstrainedInnerElement-BeIpAPjB-BsHieT3D.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-BUW_NZ_u.js → CreateOrEditVendorPage-C_8Jqubo-Cw7g42fQ.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-j0qKs3eR.js → CreditCardPaymentDrawerPage-lOjOtk28-CobVcdVW.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-BDqU4HVy-_c0EjyDh.js → CurrencySelectField-BDqU4HVy-ZvW0DalY.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-BohLreim.js → CustomerOnboardingActivationPage-DO6NCakm-YNF_GHPk.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-B__Tcf3m.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BugxAqPd.js → CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-BjXrf6Pl.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-N0QAWt53.js → CustomerOnboardingNoStepsPage-CbG5WshV-1xGtZSqf.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-lwDo-U4P.js → CustomerOnboardingPage-DyVyf8oK-1AyO-jWg.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-Bb5bbAyM.js → CustomerOnboardingProductSuitePage-1F3JfCRp-Cmsj_Wx3.js} +1 -1
  58. package/dist/assets/{Dashboard-Csggwob0-B_kkr9l_.js → Dashboard-Csggwob0-3JHr7OO7.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-DFIdi_I0-CIudpdoQ.js → DashboardReportPage-DFIdi_I0-ByyzRF1M.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-C3Ovv-ob-CkHR7e1V.js → DashboardSidebarBackgroundAnimation-C3Ovv-ob-CdwBMZrn.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-CDGkzdT3.js → DepositAccTransactionItem-CZ7v1T4S-dzCD3rgw.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-D4yjo7wN.js → DepositAccTransactionListPage-FldPGX6K-Uey6qI7-.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-aeN-j2-T.js → DomesticWireDetailsPage-C--eZ-UG-BrlkQ0SM.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-4f9deyJS-BqMoJX-8.js → DownloadOverlay-4f9deyJS-CNo1Mr3O.js} +1 -1
  65. package/dist/assets/{DrawerPage-roO3xvRT-PSFK2zzW.js → DrawerPage-roO3xvRT-BMU1HxFj.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-pi5RclAj-x9yNFzVP.js → EditPeoplePage-pi5RclAj-BFp5O8hR.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-CIUcImns-D0KrDI_a.js → EditReimbursementDetailPage-CIUcImns-DAo_nEiN.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-OTKTVNMD-13C_FBL6.js → EntityDetailPage-OTKTVNMD-CcgqAdru.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-fBL4TZpT-A_Fknt-h.js → EntitySummarySection-fBL4TZpT-CW2fx1AY.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-KgO80FB-.js → ExpenseAutomationOverviewPage-CnhNINCc-Y1x_kQP2.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-BDLCJbFw-Do8AQ5Tr.js → ExpenseAutomationPage-BDLCJbFw-C5eFAoq-.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-c8oTCnBR-29U2DeVu.js → ExpressPayPage-c8oTCnBR-C6gOdJvt.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-DkiAajs2-a11xhmqD.js → FeaturePreviewPage-DkiAajs2-hhv-gP13.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-GaWu1kt9-D7a6AHjG.js → FollowStepsSection-GaWu1kt9-oI6T5rKO.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DEzj0RVG-DjCNVwYb.js → GlobalReviewListPage-DEzj0RVG-NN2iqyG5.js} +1 -1
  76. package/dist/assets/{InformationCardStack-dMFbHUWM-1K2JUYs5.js → InformationCardStack-dMFbHUWM-C6xmS84S.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-BlXkyuyz-DZ79gvs7.js → InsightsCardStack-BlXkyuyz-B1UhErkY.js} +1 -1
  78. package/dist/assets/{InsightsSection-D-oCmrir-CPKrgvm8.js → InsightsSection-D-oCmrir-CFJjb9_m.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-CuSnTyw1.js → IntegrationsSettingsPage-D-hfghuq-Cb1pwuR3.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-ChF2f0EA.js → InternationalWireSwiftDetailsPage-DxdKE300-B665DthR.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-CkSmhOrS-NJeApJr8.js → InternationalWireVerificationPage-CkSmhOrS-IOEtOObW.js} +1 -1
  82. package/dist/assets/{InviteFormPage-BCdalqtP-Dy69iGu4.js → InviteFormPage-BCdalqtP-CSMKYvs-.js} +1 -1
  83. package/dist/assets/{InvitePageListView-B88FW48q-BKGuzbRb.js → InvitePageListView-B88FW48q-BbnvK_ie.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-Z-2L7lWc-0pdGCXQT.js → InvitePeoplePage-Z-2L7lWc-Bvse8Ayg.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-C8hytmay-DFE-YOJW.js → InvoiceUploadSection-C8hytmay-S173KURp.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-B6wmvbEr-DO2TfaZv.js → IssueChargeCardPage-B6wmvbEr-DRjxVdtn.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CQrDCgNs-C6-5ig2u.js → LabeledAddressValue-CQrDCgNs-DXUrJ5wi.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BoHS44YO-2snjxiG6.js → LabeledAddressValueField-BoHS44YO-a8mrESu2.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-BsFqjCpn-idZ4OPKP.js → LabeledControlledCheckBoxField-BsFqjCpn-JAyZBnRr.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-DUR0-azH.js → LabeledCountryMultiSelectField-D1fVDYR_-DqI7ZKv0.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-lL2zJ3aA.js → LabeledCreatableSingleSelectField-Bhka-Faj-RfONz4io.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-CnRk5aKZ-CMl01eck.js → LabeledDocumentField-CnRk5aKZ-BC3ZqU5B.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-JYEhPcSE.js → LabeledDropDownFormattedTextField-ChgtJqPr-KdKPHzDz.js} +1 -1
  94. package/dist/assets/{LabeledText-2EDpuXZ4-BEv7vXSO.js → LabeledText-2EDpuXZ4-2ve8Bqok.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-VFejN6_t.js → LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-s-R0dR_A.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-BxhCmxLu.js → LabeledZeniRolesDropDownField-CpH0eDWO-CuB3PITz.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-BhV2MnCY-X20SxNQt.js → LinkJETransactionPage-BhV2MnCY-CzefX2vi.js} +1 -1
  98. package/dist/assets/{LockCardPage-CHv1xi2J-DwYrblSV.js → LockCardPage-CHv1xi2J-K0K-jQCQ.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-Cb55PGLc-8xdVWK14.js → LowBalancePopup-Cb55PGLc-C1maj-mF.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-Dnp01hnF-DHCMKKMo.js → MagicLinkACHDetailsPage-Dnp01hnF-B2Ckgn9G.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-B36rsikS-DTcLhMoN.js → MagicLinkDomesticWireDetailsPage-B36rsikS-DuCwKV4j.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-Zo4oNZez-DPORyIsv.js → MagicLinkInternationalWireDetailsPage-Zo4oNZez-DKz7K5ym.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-09NLbjFG-DDk2ZACW.js → MagicLinkSuccessPage-09NLbjFG-rb5rJETu.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-BnqIfeCZ.js → MagicLinkTitleSection-BA-i6vzA-DcDiT_yT.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-EwtoQ2TZ-uOWaBvAh.js → MailingDetailsSection-EwtoQ2TZ-C2JKSQZp.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-C0T9wiMg.js → MyBankConnectionsSettingsPage-Aer6AWxY-BMOk1xGk.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-Ddy4bAEY-C1TCKtBk.js → MyPendingActivationChargeCardListPage-Ddy4bAEY-baa-Sj9Y.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DMz-6h9F-Cf_llb4W.js → MyProfileSettingsPage-DMz-6h9F-EMsV09zB.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-D8WNahg--CB3fxQni.js → NavBarWithPicker-D8WNahg--VrhwYp58.js} +1 -1
  110. package/dist/assets/{NavigationArrow-kQWS5Pzb-DFRrRIxZ.js → NavigationArrow-kQWS5Pzb-ke2wlaJq.js} +1 -1
  111. package/dist/assets/{NavigationDots-BQb_Fodq-C9mSjIjx.js → NavigationDots-BQb_Fodq-RLsQy4ul.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-z86XZorn-CZCyVb5z.js → NewGlobalMerchantPage-z86XZorn-Cd3pUGkf.js} +1 -1
  113. package/dist/assets/{NoDataChart-CyYJ6icu-C4lbaNyZ.js → NoDataChart-CyYJ6icu-B1AWmnR3.js} +1 -1
  114. package/dist/assets/{NoDataTable-DVe7sQhD-Ce3Fn9a-.js → NoDataTable-DVe7sQhD-D9P6amol.js} +1 -1
  115. package/dist/assets/{NotFoundPage-B1XCmhSe-BLt3Z8lV.js → NotFoundPage-B1XCmhSe-pcfUTrLN.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-BaN20EGV-DLtV9Q9B.js → NotificationSettingsPage-BaN20EGV-hukQHZBV.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-BOW_TmPC-DKP0fKrC.js → NotificationsListConfig-BOW_TmPC-kSWsl-fP.js} +1 -1
  118. package/dist/assets/{NotificationsPage-C9efAgjo-ObRUiIF4.js → NotificationsPage-C9efAgjo-COFaNYhS.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-DXeBU3-z-86liMDWJ.js → OpExByVendorPage-DXeBU3-z-CKLE8YHu.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-UEM2WfCE.js → OverlayContainerPage-D4QU0p4o-6fkgrou8.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-CXtJhnA_-Cu7UVLJ1.js → PandLWithForecastPage-CXtJhnA_-OxX081af.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-0-NbLYs1.js → PaymentAccountSetupBillingAddressSection-Deb_ngk6-8fmn1-xZ.js} +1 -1
  123. package/dist/assets/{PeoplePage-DXC2CtOt-DKKaYJrR.js → PeoplePage-DXC2CtOt-CqFORowx.js} +1 -1
  124. package/dist/assets/{Preview-AD2ECgEB.js → Preview-CcvQGjon.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-ufZlh7Rx-BjpRaVjF.js → ProductsCarousel-ufZlh7Rx-C-rJahLf.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-D2UbhBhT-Cp6L2J8-.js → PromoBaseCards-D2UbhBhT-hJ9B6ysz.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-BrQ71F06-DkV9wT_l.js → QBOConnectionDialog-BrQ71F06-DL-LZUjV.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-EOFscEW--QOktkObJ.js → QBOSetupSection-EOFscEW--HW_ldOda.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-C-HPI4Ng-DcQM8wGi.js → ReimbursementApprovalRuleDetailPage-C-HPI4Ng-TIqBJp13.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-B8BlhUrJ.js → ReimbursementApprovalRulesPage-CMpYn5y_-BRiz6-Qd.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-CfmICHZb-B601rTQ4.js → ReimbursementDetailPage-CfmICHZb-B6hiFJ9I.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-DXTAY8c7-DzozUo-R.js → ReimbursementPromoPage-DXTAY8c7-Cvatm3Ys.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-HUiNlfwH.js → ReimbursementSetUpPage-KrGPXTCb-D3FUiBfI.js} +1 -1
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DakNrMoa.js → ReimbursementsBulkReviewDrawerPage-l2mYNEKn-ynBkPFDa.js} +1 -1
  135. package/dist/assets/{ReloadCard-vAhL7B8U-B_goAZi9.js → ReloadCard-vAhL7B8U-DyJGySa5.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-Y97ney3W-oj1UWLmj.js → ReportTableViewSelector-Y97ney3W-66zdUERq.js} +1 -1
  137. package/dist/assets/{ReportsPage-DKM0gVzR-DYU9qTPf.js → ReportsPage-DKM0gVzR-D4alhP1o.js} +1 -1
  138. package/dist/assets/{RevenueChart-BEjDS1u4-DVyCgAK9.js → RevenueChart-BEjDS1u4-B5ubPiBI.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-BlQLrN9z-9-UhGpZC.js → ReviewDetailsPage-BlQLrN9z-B59PqHPR.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-Bn3TFqfi-B5pVl7FJ.js → ReviewOverlay-Bn3TFqfi-BMFBA_wW.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-DhBFvJea-D5V_Zl_5.js → RoleWithToolTip-DhBFvJea-BmAdbJ4x.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-Dr379Z6t.js → ScheduleDetailsFixedAssetsPage-BMkFjf9Y-BSLr2PQP.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-DQyiKHXe.js → ScheduleDetailsPage-BP0wdtoP-DHCivWDw.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-D-rZ4ftr-fPoJgv62.js → ScheduleSequenceTable-D-rZ4ftr-BAjIJPsB.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-outCs0gE.js → ScreenRoutes-BT2lo_-V.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-CoVrSSYL-CVLKd7cm.js → SetUpAccountSection-CoVrSSYL-CaPAZWIY.js} +1 -1
  147. package/dist/assets/{SignIn-BoAejo7r-BK0KNquT.js → SignIn-BoAejo7r-CQpsBZf6.js} +1 -1
  148. package/dist/assets/{SignInScreen-CU3TTapZ.js → SignInScreen-P3YiutLj.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-D3eISFuA-DO4OqdVE.js → SpendManagementListViewPage-D3eISFuA-BONrK2Uy.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-DoJN7cmk.js → SpendManagementPerTabPage-BWDjZyLp-C-u_dptp.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-D8rBpC-y-DyxgHeCH.js → SpendManagementSection-D8rBpC-y-CuZOYPXj.js} +1 -1
  152. package/dist/assets/{StatementItem-Cu6dlAsl-DonsY76E.js → StatementItem-Cu6dlAsl-BkLuZl-Q.js} +1 -1
  153. package/dist/assets/{StatementsPage-DiY2BOcu-DylRreEj.js → StatementsPage-DiY2BOcu-DOMwi0Bq.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-B9MARTyR-Cy7gefoh.js → StatusSwitcher-B9MARTyR-BuAL9YKK.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-C3rtSwro-3EHI5jeE.js → SubTabSwitcher-C3rtSwro-CsBjI97D.js} +1 -1
  156. package/dist/assets/{SummaryCard-CShVbqhj-DB5MFQk3.js → SummaryCard-CShVbqhj-D-zZMf2a.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-RVS8nv0n-tU9aogRh.js → TaskManagementPage-RVS8nv0n-5zXmcVeA.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-Bz52dN9I.js → TimeRangeSwitcher-DFnX6_WT-CtUIVjj6.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-CW08yYgo-DVEU43aK.js → TimeframeSwitcher-CW08yYgo-DbzoQGD8.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DJOCWqpZ-CMIQ0MlZ.js → TimeframeSwitcherWithToggle-DJOCWqpZ-CEpqBk_q.js} +1 -1
  161. package/dist/assets/{TopExCard-dI_WEGWb-DmX93RkK.js → TopExCard-dI_WEGWb-CDO5Z60q.js} +1 -1
  162. package/dist/assets/{TopExDetailPage-BWy5E8Lp-C7PGN6Pe.js → TopExDetailPage-BWy5E8Lp-Cb4gwQJs.js} +1 -1
  163. package/dist/assets/{TransactionActivityLogPage-DjhEIUYm-BqAAyHkb.js → TransactionActivityLogPage-DjhEIUYm-Did9LSqS.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-CuxqQd8U-BRhGr870.js → TransactionDetailPage-CuxqQd8U-DPjV_wCP.js} +1 -1
  165. package/dist/assets/{TransactionList-80KjM8Kg-nmpf3GsN.js → TransactionList-80KjM8Kg-CPSp7V2I.js} +1 -1
  166. package/dist/assets/{TransactionListBig-DWQXH4ID-gJO5FBwi.js → TransactionListBig-DWQXH4ID-Be38Jak0.js} +1 -1
  167. package/dist/assets/{TransactionListPage-DC08rCC9-DuuK7AK1.js → TransactionListPage-DC08rCC9-D_kGnUtd.js} +1 -1
  168. package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-DQ5FHW98.js → TransactionVendorDetailPage-CzfJ5b_3-xTpNjGIU.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-6z-MoZZP-Cmyh1SPm.js → TransferDrawerPage-6z-MoZZP-D0kH8xKN.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CF_ter0o-BH_5I6Jt.js → TreasuryOverviewPage-CF_ter0o-CJtX9b1H.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-Do-PTcjI-xAPlLXRG.js → TreasuryPromoPage-Do-PTcjI-PfnNYdfq.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-K7pXAcjZ.js → TreasuryStatementsPage-l_HC4zsb-BasTfWuR.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-B8YxWytK-QmzTN19X.js → TreasuryTaxLetterPage-B8YxWytK-B1SfQ_aT.js} +1 -1
  174. package/dist/assets/{TrendChart-C6B61CAm-B_B-BplL.js → TrendChart-C6B61CAm-BU5UmgIv.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-Bp3vhaPa-JockHNv7.js → TrendWithTransactions-Bp3vhaPa-DPublesd.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-MTw76BLV.js → UncategorizedAccountsMappingPage-cbFqKAv4-D5ShtsZQ.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-CTZgGLL6.js → UnitIntegrationPage-DZ0ZpE5p-C_rGXkWF.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-BKY6hK51-DmtqFwFy.js → UploadAdditionalDocumentOverlay-BKY6hK51-Bcz59cyy.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DezpDfp8-DyrWw3U0.js → Vendor2FAPopup-DezpDfp8-BzFXDZZf.js} +1 -1
  180. package/dist/assets/{VendorACHDetailsPage-C8TWKYfc-C5wvgZIc.js → VendorACHDetailsPage-C8TWKYfc-BwBLKWdX.js} +1 -1
  181. package/dist/assets/{VendorDetailPage-C4g_Gfsl-BuQd-4-F.js → VendorDetailPage-C4g_Gfsl-BlH3Pgdf.js} +1 -1
  182. package/dist/assets/{VendorDomesticWireDetailsPage-BhJQ-Vmn-Bt4Tg6JP.js → VendorDomesticWireDetailsPage-BhJQ-Vmn-DgdfV1WG.js} +1 -1
  183. package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-Cg5nnhxx.js → VendorFiling1099EditablePage-Ckt2MiVN-Bhe4Vg1f.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-CIKRaTax-DDgaRz12.js → VendorFirstReviewPage-CIKRaTax-M-if_4AX.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-CqGgy0Nm.js → VendorInternationalWireDetailsPage-Dz8mMD8d-D85mblNr.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Ca8TaPSl.js → VendorInternationalWireSwiftDetailsPage-XcV7Ot44-B3m0KfJH.js} +1 -1
  187. package/dist/assets/{VendorsAccountsSection-BT-RADSV-CA631Ry_.js → VendorsAccountsSection-BT-RADSV-BAyXZgFB.js} +1 -1
  188. package/dist/assets/{VerifyDevice-Cxc9CVMi-Db3MgQyP.js → VerifyDevice-Cxc9CVMi-DBr1jxYu.js} +1 -1
  189. package/dist/assets/{VideoPlayer-9UkKMhGy-Cg6ItP2B.js → VideoPlayer-9UkKMhGy-DaOMV5dS.js} +2 -2
  190. package/dist/assets/{VideoPopup-rfiYmtio-6YXU8HYY.js → VideoPopup-rfiYmtio-CHQ2zgmG.js} +1 -1
  191. package/dist/assets/{WarningsDrawerPage-DrUA4asI-K-jCsmCl.js → WarningsDrawerPage-DrUA4asI-BpZfuUFK.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-K016HgQt-OnaSURAZ.js → ZeniAccountDetailPage-K016HgQt-CN2ItNbd.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-D25y94LI.js → ZeniAccountListViewPage-1oZZynB1-SYQG8qpJ.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-C6Oicpue-CbYM8UHA.js → ZeniAccountNavBarPieces-C6Oicpue-BhLzG3Qy.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-C1p6fJYe.js → ZeniAccountPromoPage-BCgys-YM-rAC8-QXl.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-BubBgkoa-DQgkTkoE.js → ZeniAccountSetupPage-BubBgkoa-CWumaVdx.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-BxIwmms--B5a_nRJg.js → ZeniCopyright-BxIwmms--aYxvUoDH.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-Cwv6Kq-B.js → ZeniTransferAmountSlider-DVJ0puXA-CqAbOxrs.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-DvTxkUd9.js → add-to-wallet-DgdBD8_G-Efm32DTm.js} +1 -1
  200. package/dist/assets/{analytics-BLsUySon.js → analytics-s0_8xIT2.js} +1 -1
  201. package/dist/assets/{analyticsHelper-B6usOI4v.js → analyticsHelper-BjGsIswe.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CT5zOInj-D74VaN9I.js → analyticsHelper-CT5zOInj-OXN7BC3w.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-B8oQ40Hs.js → arrow-south-east-round-PEovUgvH-wFMUSqP7.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-DHj1aaNg.js → auto-transfer-rule-mbafm5D3-Dg0R18Sy.js} +1 -1
  205. package/dist/assets/{chartTypes-Ddw_3-6f-DkCZUllf.js → chartTypes-Ddw_3-6f-Wo_AgZAl.js} +1 -1
  206. package/dist/assets/{commonDimensions-ClmbdehE-DR4Uvnd8.js → commonDimensions-ClmbdehE-DSwa4Xo6.js} +1 -1
  207. package/dist/assets/{commonTypes-B-foaEwJ-DVRX5AIJ.js → commonTypes-B-foaEwJ-C9vKNzvL.js} +1 -1
  208. package/dist/assets/{constants-HHaH0YWb.js → constants-o_5390I8.js} +1 -1
  209. package/dist/assets/{core-CTDonMeQ.js → core-B1uMJ9CB.js} +1 -1
  210. package/dist/assets/{dash.all.min-Dj2yo7jC.js → dash.all.min-C1RmZMZR.js} +1 -1
  211. package/dist/assets/{detailCommon-Cpgf9GLg-CtGm6jLV.js → detailCommon-Cpgf9GLg-VLzpRmSP.js} +1 -1
  212. package/dist/assets/{downloadPdf-DfRYmfsd-DxcMbdS5.js → downloadPdf-DfRYmfsd-Bc7q72En.js} +1 -1
  213. package/dist/assets/{empty-DaBFZ939.js → empty-CG0rULX5.js} +1 -1
  214. package/dist/assets/{empty-B8XqxOuZ.js → empty-Cz1-aqGp.js} +1 -1
  215. package/dist/assets/{epic-CEzcY_0B.js → epic-DfQTBrxF.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-cqnWvVTs.js → gift-box-Cmt9OgIZ-Brz5jF6-.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-D_lg6RW0.js → graphic-no-data-l-DU4J8fDt-BVofTCWy.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-HJBTpevF.js → graphic-no-data-net-burn-l-CzmycA0m-wvir-oGe.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-BshKAJQk.js → handshake-BPg58FML-Tnw9zdhM.js} +1 -1
  220. package/dist/assets/{helper-DP3YY99s-BmrnBGWk.js → helper-DP3YY99s-DE8r_LHi.js} +1 -1
  221. package/dist/assets/{index-RSYdG57D.js → index-B69GN-T5.js} +331 -331
  222. package/dist/assets/{index-B_LiHFQR.js → index-BEpatFmm.js} +1 -1
  223. package/dist/assets/{index-BV5JdmRQ.js → index-BOdY43u7.js} +1 -1
  224. package/dist/assets/{index-KKEkjzf-.js → index-BX6e9izy.js} +1 -1
  225. package/dist/assets/{index-BUad5I9U.js → index-BsVHU8vq.js} +1 -1
  226. package/dist/assets/{index-CTpNMFsf.js → index-D3eGjn4b.js} +1 -1
  227. package/dist/assets/{index-D3GS4S-j.js → index-D7O9XFHx.js} +1 -1
  228. package/dist/assets/{lexical-CMaEqdkY.js → lexical-B3kN3Hl0.js} +1 -1
  229. package/dist/assets/{liveblocks-BR4rmGyf.js → liveblocks-zTGKWM9r.js} +1 -1
  230. package/dist/assets/{lottie-CZNmnTyG.js → lottie-qYFNg0vx.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-C0YIUOnb-BG5FbkDp.js → mapLoadingInProgressToTreeNode-C0YIUOnb-BAfPHh3u.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DvN2rhw-.js → mapSectionWithAcOnlyToTreeNode-QJI_OYzu-DwNdFUWX.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-DKDsz0vw-BhCEqPJc.js → mapSpacerToTreeNode-DKDsz0vw-CMv9O0l7.js} +1 -1
  234. package/dist/assets/{mapTimeframeBalancesToTreeNode-DqDJAeAj-T7zKYS9n.js → mapTimeframeBalancesToTreeNode-DqDJAeAj-uxUghJno.js} +1 -1
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-J3b1nb_T-AhkmN2Ki.js → mapTimeframeBalancesToTreeNode-J3b1nb_T-DBuh1NVC.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-shbs2rsi.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-2JlNGUop.js} +1 -1
  237. package/dist/assets/{mui-Bi6zxcZy.js → mui-DlOumnEw.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-CV7GOcsp.js → page-detail-CWX5S47F-B7--aTyy.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-C5IVh2u2.js → panelSelectedMixin-CzfD5-Zs-DexTmlZu.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-eXI1n3TG.js → radio-default-CiSgisfh-BwauZebq.js} +1 -1
  241. package/dist/assets/{react-DhjESN1j.js → react-Aw3fQhJd.js} +2 -2
  242. package/dist/assets/{react-DkrXHh1b.js → react-BKkjQvVv.js} +1 -1
  243. package/dist/assets/{react-DlxtP0O5.js → react-BZ7Y9Q3m.js} +1 -1
  244. package/dist/assets/{react-DUZwtObs.js → react-Czn9Vvw5.js} +1 -1
  245. package/dist/assets/{react-C52_Sjtt.js → react-QG_WXNV9.js} +1 -1
  246. package/dist/assets/{react-ShmrZj8p.js → react-gXbsFlf5.js} +1 -1
  247. package/dist/assets/{react-j7hSnnLx.js → react-tGtiYyoe.js} +1 -1
  248. package/dist/assets/{react-CgvFPXt7.js → react-uaVTNgk8.js} +1 -1
  249. package/dist/assets/{recharts-B4xbIQqu.js → recharts-C3OgFRQV.js} +1 -1
  250. package/dist/assets/{sentry-D087_5zX.js → sentry-uHW37Gx_.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-CCEGxUtr.js → shield-DOlUxcFf-B6LUsRVA.js} +1 -1
  252. package/dist/assets/{toCOABalancesWithID-AzKAZ-Cv-B8yD1irx.js → toCOABalancesWithID-AzKAZ-Cv-TqjhmGtr.js} +1 -1
  253. package/dist/assets/{toChartData-BEjMhb7--B1GasRGV.js → toChartData-BEjMhb7--CrRCzIip.js} +1 -1
  254. package/dist/assets/{uploadAttachment-DUpHzqMe-Cc_EdWBC.js → uploadAttachment-DUpHzqMe-DRZ1X-yU.js} +1 -1
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-B1feT8D_.js → uploadReceipts-Dge0cNF1-QAlMS_v8.js} +1 -1
  256. package/dist/assets/{url-Ctqy5RJD.js → url-CKY1G0hA.js} +1 -1
  257. package/dist/assets/{url-Cf5olbUo.js → url-aSyUzlEI.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-Dhr7C1Fb.js → useLongPress-GCK2COYQ-BYo0T_Dq.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-D37A1NrK.js → usp-line-BBd1wKwW-DL0v2FrH.js} +1 -1
  260. package/dist/assets/{utils-bkVcg2I6.js → utils-DGT9kDsm.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-DnYFo_hK.js → zeni-epic-state-BxLxUFIl.js} +3 -3
  262. package/dist/index.html +1 -1
  263. package/package.json +1 -1
  264. package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-DYDehdNi.js +0 -1
@@ -1,4 +1,4 @@
1
- import{d as S,J as I,V as t,bD as z,b4 as C,o as r,F as P,p,cu as D,y as E,u as b,al as M}from"./index-RSYdG57D.js";import{a as u}from"./sentry-D087_5zX.js";import{n as o}from"./mui-Bi6zxcZy.js";import{$ as T}from"./BoxItem-CACRFWG2-DTCzjEaX.js";import{o as B}from"./commonDimensions-ClmbdehE-DR4Uvnd8.js";import{M as L}from"./StatementItem-Cu6dlAsl-DonsY76E.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./downloadPdf-DfRYmfsd-DxcMbdS5.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]="9b67da88-cc84-4e8b-9612-66a23cbf073a",e._sentryDebugIdIdentifier="sentry-dbid-9b67da88-cc84-4e8b-9612-66a23cbf073a")}catch{}})();const g=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new E(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const k=S(),d=I(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(f,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:T(a,i.statements.length)},l.id)}):t.jsx(_,{style:{...s},children:t.jsx(N,{children:t.jsx(f,{windowSize:d,children:t.jsx(V,{children:g.noStatements})})})})};return t.jsxs(R,{children:[t.jsx(z,{title:g.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(H,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(K,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},_=o.div``,f=o.div`
1
+ import{d as S,J as I,V as t,bD as z,b4 as C,o as r,F as P,p,cu as D,y as E,u as b,al as M}from"./index-B69GN-T5.js";import{a as u}from"./sentry-uHW37Gx_.js";import{n as o}from"./mui-DlOumnEw.js";import{$ as T}from"./BoxItem-CACRFWG2-BWgjkL8U.js";import{o as B}from"./commonDimensions-ClmbdehE-DSwa4Xo6.js";import{M as L}from"./StatementItem-Cu6dlAsl-BkLuZl-Q.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./zeni-epic-state-BxLxUFIl.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./downloadPdf-DfRYmfsd-Bc7q72En.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]="9b67da88-cc84-4e8b-9612-66a23cbf073a",e._sentryDebugIdIdentifier="sentry-dbid-9b67da88-cc84-4e8b-9612-66a23cbf073a")}catch{}})();const g=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new E(b[3],b[8])},oe=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const k=S(),d=I(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?B.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?t.jsx(f,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:t.jsx(L,{currentTenantCompanyName:e,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:T(a,i.statements.length)},l.id)}):t.jsx(_,{style:{...s},children:t.jsx(N,{children:t.jsx(f,{windowSize:d,children:t.jsx(V,{children:g.noStatements})})})})};return t.jsxs(R,{children:[t.jsx(z,{title:g.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(H,{children:t.jsx(C,{children:({height:a,width:s})=>t.jsx(K,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},_=o.div``,f=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{J as $,ce as T,V as d,F as v,y as h,o as s,u as c,ai as _}from"./index-RSYdG57D.js";import{n as u,c as m}from"./mui-Bi6zxcZy.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]="bba773b3-0258-4b43-a6fb-6cc8fd7bd9b9",e._sentryDebugIdIdentifier="sentry-dbid-bba773b3-0258-4b43-a6fb-6cc8fd7bd9b9")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,t){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(t)}return g(t)}function p(e,t,r){const n=e[t];return n!=null?A(n,r):null}const L=(e,t)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),a=String(e);if(t)switch(t){case"bill_pay":{const i=p(r,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,a,a)??p(n,a,a)??p(l,a,a)??g(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
1
+ import{J as $,ce as T,V as d,F as v,y as h,o as s,u as c,ai as _}from"./index-B69GN-T5.js";import{n as u,c as m}from"./mui-DlOumnEw.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]="bba773b3-0258-4b43-a6fb-6cc8fd7bd9b9",e._sentryDebugIdIdentifier="sentry-dbid-bba773b3-0258-4b43-a6fb-6cc8fd7bd9b9")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,t){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(t)}return g(t)}function p(e,t,r){const n=e[t];return n!=null?A(n,r):null}const L=(e,t)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),a=String(e);if(t)switch(t){case"bill_pay":{const i=p(r,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,a,a);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,a,a)??p(n,a,a)??p(l,a,a)??g(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as i,T as u,o as s,ai as g,a_ as f}from"./index-RSYdG57D.js";import{n as r,c}from"./mui-Bi6zxcZy.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]="0a1bb8e1-6d22-4636-af34-bea0f8affc61",e._sentryDebugIdIdentifier="sentry-dbid-0a1bb8e1-6d22-4636-af34-bea0f8affc61")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(b,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(w,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const b=r.div`
1
+ import{V as i,T as u,o as s,ai as g,a_ as f}from"./index-B69GN-T5.js";import{n as r,c}from"./mui-DlOumnEw.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]="0a1bb8e1-6d22-4636-af34-bea0f8affc61",e._sentryDebugIdIdentifier="sentry-dbid-0a1bb8e1-6d22-4636-af34-bea0f8affc61")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(b,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(w,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const b=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{V as n}from"./index-RSYdG57D.js";import{E as r,T as t}from"./ReloadCard-vAhL7B8U-B_goAZi9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="9abb0d0c-57d6-4bc4-be80-4cd9ec24ebe6",e._sentryDebugIdIdentifier="sentry-dbid-9abb0d0c-57d6-4bc4-be80-4cd9ec24ebe6")}catch{}})();const a=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{a as c};
1
+ import{V as n}from"./index-B69GN-T5.js";import{E as r,T as t}from"./ReloadCard-vAhL7B8U-DyJGySa5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="9abb0d0c-57d6-4bc4-be80-4cd9ec24ebe6",e._sentryDebugIdIdentifier="sentry-dbid-9abb0d0c-57d6-4bc4-be80-4cd9ec24ebe6")}catch{}})();const a=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{a as c};
@@ -1,4 +1,4 @@
1
- import{aw as gt,d as Ye,V as t,jy as q,bD as kt,aa as U,cq as xt,al as K,aq as wt,F as se,o as s,jz as Ze,cj as Ie,cn as ft,g9 as Ct,ba as $t,bP as Xe,aU as Tt,ce as jt,J as ie,a9 as yt,y as Je,cG as vt,ac as bt,b4 as St,cu as Gt,iV as Lt,iW as It,jA as Me,aS as Nt,i as De,bU as Ne,eP as Qe,jB as Et,d0 as et,jC as ce,jD as ke,jE as xe,jF as tt,jG as Dt,jH as st,jI as ot,jJ as nt,jK as at,jL as rt,jM as V,u as ge,jN as ae,ai as re,jO as Mt,jP as Bt,x as zt,an as At,jQ as Rt,db as Wt,jR as Ft,cK as it,er as Ot,b as Pt,jS as Ht,jT as Ut,ga as _t,gB as Vt,jU as Kt,jV as X,jW as Be,cw as qt,jX as Yt,jY as Zt,jZ as Xt,j_ as ze,p as Ae,gy as Jt,am as Qt}from"./index-RSYdG57D.js";import{a as n}from"./sentry-D087_5zX.js";import{n as o,c as we}from"./mui-Bi6zxcZy.js";import{Gg as es,Gh as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-DnYFo_hK.js";import{J as ss,t as os}from"./SpendManagementSection-D8rBpC-y-DyxgHeCH.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-BOW_TmPC-DKP0fKrC.js";import{a as ls}from"./SpendManagementListViewPage-D3eISFuA-DO4OqdVE.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./StatusSwitcher-B9MARTyR-Cy7gefoh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="439f36b5-646c-4088-a156-86f02ee1a1cd",e._sentryDebugIdIdentifier="sentry-dbid-439f36b5-646c-4088-a156-86f02ee1a1cd")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=p;if(j<c&&j>0){const L=c-j,g=D(L);k(x,g,"up")}else if(j>S-c){const L=j-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(w)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},T=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
1
+ import{aw as gt,d as Ye,V as t,jy as q,bD as kt,aa as U,cq as xt,al as K,aq as wt,F as se,o as s,jz as Ze,cj as Ie,cn as ft,g9 as Ct,ba as $t,bP as Xe,aU as Tt,ce as jt,J as ie,a9 as yt,y as Je,cG as vt,ac as bt,b4 as St,cu as Gt,iV as Lt,iW as It,jA as Me,aS as Nt,i as De,bU as Ne,eP as Qe,jB as Et,d0 as et,jC as ce,jD as ke,jE as xe,jF as tt,jG as Dt,jH as st,jI as ot,jJ as nt,jK as at,jL as rt,jM as V,u as ge,jN as ae,ai as re,jO as Mt,jP as Bt,x as zt,an as At,jQ as Rt,db as Wt,jR as Ft,cK as it,er as Ot,b as Pt,jS as Ht,jT as Ut,ga as _t,gB as Vt,jU as Kt,jV as X,jW as Be,cw as qt,jX as Yt,jY as Zt,jZ as Xt,j_ as ze,p as Ae,gy as Jt,am as Qt}from"./index-B69GN-T5.js";import{a as n}from"./sentry-uHW37Gx_.js";import{n as o,c as we}from"./mui-DlOumnEw.js";import{Gg as es,Gh as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-BxLxUFIl.js";import{J as ss,t as os}from"./SpendManagementSection-D8rBpC-y-CuZOYPXj.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-BOW_TmPC-kSWsl-fP.js";import{a as ls}from"./SpendManagementListViewPage-D3eISFuA-BONrK2Uy.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./StatusSwitcher-B9MARTyR-BuAL9YKK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="439f36b5-646c-4088-a156-86f02ee1a1cd",e._sentryDebugIdIdentifier="sentry-dbid-439f36b5-646c-4088-a156-86f02ee1a1cd")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=p;if(j<c&&j>0){const L=c-j,g=D(L);k(x,g,"up")}else if(j>S-c){const L=j-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(w)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},T=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
2
2
  ${e=>e.isCircular?we`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{V as t,b4 as _,aE as S,dl as B,bs as H,o as c,ai as L}from"./index-RSYdG57D.js";import{a as n}from"./sentry-D087_5zX.js";import{n as g}from"./mui-Bi6zxcZy.js";import{Y as q}from"./core-CTDonMeQ.js";import{V as U}from"./CollapsableReportTable-Cq8bhaYC-LGo3rBU5.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]="f38f097c-0448-48b2-ab16-279fed29a9fe",e._sentryDebugIdIdentifier="sentry-dbid-f38f097c-0448-48b2-ab16-279fed29a9fe")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{V as t,b4 as _,aE as S,dl as B,bs as H,o as c,ai as L}from"./index-B69GN-T5.js";import{a as n}from"./sentry-uHW37Gx_.js";import{n as g}from"./mui-DlOumnEw.js";import{Y as q}from"./core-B1uMJ9CB.js";import{V as U}from"./CollapsableReportTable-Cq8bhaYC-BJ9WQB-r.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]="f38f097c-0448-48b2-ab16-279fed29a9fe",e._sentryDebugIdIdentifier="sentry-dbid-f38f097c-0448-48b2-ab16-279fed29a9fe")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{V as s,o,ai as f,F as p}from"./index-RSYdG57D.js";import{n as d}from"./mui-Bi6zxcZy.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]="ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4",e._sentryDebugIdIdentifier="sentry-dbid-ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4")}catch{}})();const u=d.div`
1
+ import{V as s,o,ai as f,F as p}from"./index-B69GN-T5.js";import{n as d}from"./mui-DlOumnEw.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]="ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4",e._sentryDebugIdIdentifier="sentry-dbid-ae25b2a9-e3e2-42a4-ad73-49f9fc69c2d4")}catch{}})();const u=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{J as n,V as t,y as d,ai as u,bK as w}from"./index-RSYdG57D.js";import{n as r}from"./mui-Bi6zxcZy.js";import{b as l}from"./TimeframeSwitcher-CW08yYgo-DVEU43aK.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]="ca214216-ff8a-4c71-8ea5-a4815e17b1ac",e._sentryDebugIdIdentifier="sentry-dbid-ca214216-ff8a-4c71-8ea5-a4815e17b1ac")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(8,8,0)},y=r.div`
1
+ import{J as n,V as t,y as d,ai as u,bK as w}from"./index-B69GN-T5.js";import{n as r}from"./mui-DlOumnEw.js";import{b as l}from"./TimeframeSwitcher-CW08yYgo-DbzoQGD8.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]="ca214216-ff8a-4c71-8ea5-a4815e17b1ac",e._sentryDebugIdIdentifier="sentry-dbid-ca214216-ff8a-4c71-8ea5-a4815e17b1ac")}catch{}})();const s="ZeniSwitch",i={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),x=r(b)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>t.jsx(x,{...e}),c={timeframePaddingLeft:new d(0,0,125),timeframePaddingBottom:new d(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aE as M,J as z,V as t,d as x,u as p,b as T,aZ as R,aO as H,aM as X,o as f,ai as C,ba as F,al as Q,F as S,aN as q,aT as E,b3 as G,b4 as N,aQ as U,aU as Y,bS as J}from"./index-RSYdG57D.js";import{P as w,a as Z}from"./sentry-D087_5zX.js";import{F7 as W}from"./zeni-epic-state-DnYFo_hK.js";import{n as g}from"./mui-Bi6zxcZy.js";import{I as ee,T as te}from"./ReloadCard-vAhL7B8U-B_goAZi9.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-D_lg6RW0.js";import{H as k,X as K,Y as L,K as $,O,Q as ne,S as oe}from"./recharts-B4xbIQqu.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]="4fe3c66f-2b20-4731-af80-0e5df9931ada",e._sentryDebugIdIdentifier="sentry-dbid-4fe3c66f-2b20-4731-af80-0e5df9931ada")}catch{}})();const ie=g(E)`
1
+ import{aE as M,J as z,V as t,d as x,u as p,b as T,aZ as R,aO as H,aM as X,o as f,ai as C,ba as F,al as Q,F as S,aN as q,aT as E,b3 as G,b4 as N,aQ as U,aU as Y,bS as J}from"./index-B69GN-T5.js";import{P as w,a as Z}from"./sentry-uHW37Gx_.js";import{F7 as W}from"./zeni-epic-state-BxLxUFIl.js";import{n as g}from"./mui-DlOumnEw.js";import{I as ee,T as te}from"./ReloadCard-vAhL7B8U-DyJGySa5.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-BVofTCWy.js";import{H as k,X as K,Y as L,K as $,O,Q as ne,S as oe}from"./recharts-C3OgFRQV.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]="4fe3c66f-2b20-4731-af80-0e5df9931ada",e._sentryDebugIdIdentifier="sentry-dbid-4fe3c66f-2b20-4731-af80-0e5df9931ada")}catch{}})();const ie=g(E)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{d as v,J as A,V as t,bD as S,F as f,aO as j,b4 as B,w as P,o as i,y as E,bR as H,bt as D,u as c,p as V,al as $,aQ as F,b0 as z}from"./index-RSYdG57D.js";import{n}from"./mui-Bi6zxcZy.js";import{F7 as T}from"./zeni-epic-state-DnYFo_hK.js";import{E as _,I}from"./TopExCard-dI_WEGWb-DmX93RkK.js";import{b as M}from"./TimeframeSwitcher-CW08yYgo-DVEU43aK.js";import{d as L}from"./NoDataTable-DVe7sQhD-Ce3Fn9a-.js";import{P as Z,a as o}from"./sentry-D087_5zX.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./ReloadCard-vAhL7B8U-B_goAZi9.js";import"./graphic-no-data-l-DU4J8fDt-D_lg6RW0.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]="47a5d56d-4ade-476d-8fe9-d4bd5cd2bd54",e._sentryDebugIdIdentifier="sentry-dbid-47a5d56d-4ade-476d-8fe9-d4bd5cd2bd54")}catch{}})();const b="141px",O=i.sp4,N="123px",R=n(z)`
1
+ import{d as v,J as A,V as t,bD as S,F as f,aO as j,b4 as B,w as P,o as i,y as E,bR as H,bt as D,u as c,p as V,al as $,aQ as F,b0 as z}from"./index-B69GN-T5.js";import{n}from"./mui-DlOumnEw.js";import{F7 as T}from"./zeni-epic-state-BxLxUFIl.js";import{E as _,I}from"./TopExCard-dI_WEGWb-CDO5Z60q.js";import{b as M}from"./TimeframeSwitcher-CW08yYgo-DbzoQGD8.js";import{d as L}from"./NoDataTable-DVe7sQhD-D9P6amol.js";import{P as Z,a as o}from"./sentry-uHW37Gx_.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./ReloadCard-vAhL7B8U-DyJGySa5.js";import"./graphic-no-data-l-DU4J8fDt-BVofTCWy.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]="47a5d56d-4ade-476d-8fe9-d4bd5cd2bd54",e._sentryDebugIdIdentifier="sentry-dbid-47a5d56d-4ade-476d-8fe9-d4bd5cd2bd54")}catch{}})();const b="141px",O=i.sp4,N="123px",R=n(z)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{V as n,T as F,o,b8 as H,F as z,al as M,x as U,eH as B,am as K,bh as I,h as P,ai as W,dv as q,a_ as J}from"./index-RSYdG57D.js";import{a as Q}from"./sentry-D087_5zX.js";import{n as i}from"./mui-Bi6zxcZy.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.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]="2f667eab-65ed-49db-a2d7-02f033c56f43",e._sentryDebugIdIdentifier="sentry-dbid-2f667eab-65ed-49db-a2d7-02f033c56f43")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function O(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=G(s),h=O(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function X(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(F,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Ie,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,$)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Me,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
1
+ import{V as n,T as F,o,b8 as H,F as z,al as M,x as U,eH as B,am as K,bh as I,h as P,ai as W,dv as q,a_ as J}from"./index-B69GN-T5.js";import{a as Q}from"./sentry-uHW37Gx_.js";import{n as i}from"./mui-DlOumnEw.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./zeni-epic-state-BxLxUFIl.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.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]="2f667eab-65ed-49db-a2d7-02f033c56f43",e._sentryDebugIdIdentifier="sentry-dbid-2f667eab-65ed-49db-a2d7-02f033c56f43")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function O(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=G(s),h=O(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function X(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(F,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Ie,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,$)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Me,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{dS as Wn,I as qn,P as Hn,d as Vt,a9 as Jn,J as ae,F as W,aR as Yt,dT as Gn,dU as Yn,cG as Xn,aE as Zn,dV as nn,dW as Qn,V as i,ac as Kn,bD as ea,dX as ta,dY as ia,dZ as na,d_ as zi,aS as aa,y as _,aQ as q,d$ as an,e0 as De,e1 as Te,e2 as Ne,e3 as et,e4 as tt,e5 as Lt,e6 as jt,e7 as it,e8 as ht,e9 as St,ea as kt,eb as Xt,ec as ee,ed as oa,ee as Kt,ef as ue,eg as on,eh as pe,ei as sn,aK as sa,ej as It,ek as Ai,el as la,i as ra,cq as ca,T as $i,o as a,ce as da,em as ua,u as O,w as xi,p as le,aq as Di,bb as ai,h as pa,en as ma,cl as ha,cj as oi,cK as lt,eo as ga,ep as qt,aV as ln,c_ as fa,eq as ya,ch as ba,ci as xa,aO as je,al as fe,b0 as va,er as wa,es as rn,et as Zt,eu as Qt,ev as pi,dg as Ca,b4 as Ia,cu as $a,ew as Ti,a8 as cn,ex as ei,ey as ti,ez as dn,cP as un,bU as Oi,eA as mi,dm as hi,eB as Da,bt as Ta,eC as Ei,eD as Oa,eE as La,ay as ja,eF as Sa,eG as ka,H as pn,eH as mn,bL as za,eI as Vi,eJ as hn,eK as gn,eL as fn,bJ as rt,at as Aa,as as Ea,dv as Va,b as yn,eM as Ra,bH as Pa,x as _a,am as Na,l as Ua,aX as vi}from"./index-RSYdG57D.js";import{a as v,P as $t}from"./sentry-D087_5zX.js";import{n as l}from"./mui-Bi6zxcZy.js";import{FE as Ba,uu as Ma,bE as At,bD as Et,bF as Fa,c3 as Wa,l8 as qa,bh as Ha}from"./zeni-epic-state-DnYFo_hK.js";import{x as Ri}from"./LabeledControlledCheckBoxField-BsFqjCpn-idZ4OPKP.js";import{R as Ja}from"./TrendWithTransactions-Bp3vhaPa-JockHNv7.js";import{u as Ga,c as Ya,d as Xa,m as Za}from"./uploadAttachment-DUpHzqMe-Cc_EdWBC.js";import{o as Qa}from"./radio-default-CiSgisfh-eXI1n3TG.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./TrendChart-C6B61CAm-B_B-BplL.js";import"./chartTypes-Ddw_3-6f-DkCZUllf.js";import"./toCOABalancesWithID-AzKAZ-Cv-B8yD1irx.js";import"./toChartData-BEjMhb7--B1GasRGV.js";import"./NoDataChart-CyYJ6icu-C4lbaNyZ.js";import"./InsightsSection-D-oCmrir-CPKrgvm8.js";import"./NavigationDots-BQb_Fodq-C9mSjIjx.js";import"./TransactionList-80KjM8Kg-nmpf3GsN.js";import"./ConstrainedInnerElement-BeIpAPjB-bG4eDk9o.js";import"./BoxItem-CACRFWG2-DTCzjEaX.js";import"./commonDimensions-ClmbdehE-DR4Uvnd8.js";import"./panelSelectedMixin-CzfD5-Zs-C5IVh2u2.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]="b5bc7e96-2a8c-4589-bbbf-9ef59a15fa82",e._sentryDebugIdIdentifier="sentry-dbid-b5bc7e96-2a8c-4589-bbbf-9ef59a15fa82")}catch{}})();const Ka={headerMarginTop:new _(O[7],O[8])},eo=l(fe)`
1
+ import{dS as Wn,I as qn,P as Hn,d as Vt,a9 as Jn,J as ae,F as W,aR as Yt,dT as Gn,dU as Yn,cG as Xn,aE as Zn,dV as nn,dW as Qn,V as i,ac as Kn,bD as ea,dX as ta,dY as ia,dZ as na,d_ as zi,aS as aa,y as _,aQ as q,d$ as an,e0 as De,e1 as Te,e2 as Ne,e3 as et,e4 as tt,e5 as Lt,e6 as jt,e7 as it,e8 as ht,e9 as St,ea as kt,eb as Xt,ec as ee,ed as oa,ee as Kt,ef as ue,eg as on,eh as pe,ei as sn,aK as sa,ej as It,ek as Ai,el as la,i as ra,cq as ca,T as $i,o as a,ce as da,em as ua,u as O,w as xi,p as le,aq as Di,bb as ai,h as pa,en as ma,cl as ha,cj as oi,cK as lt,eo as ga,ep as qt,aV as ln,c_ as fa,eq as ya,ch as ba,ci as xa,aO as je,al as fe,b0 as va,er as wa,es as rn,et as Zt,eu as Qt,ev as pi,dg as Ca,b4 as Ia,cu as $a,ew as Ti,a8 as cn,ex as ei,ey as ti,ez as dn,cP as un,bU as Oi,eA as mi,dm as hi,eB as Da,bt as Ta,eC as Ei,eD as Oa,eE as La,ay as ja,eF as Sa,eG as ka,H as pn,eH as mn,bL as za,eI as Vi,eJ as hn,eK as gn,eL as fn,bJ as rt,at as Aa,as as Ea,dv as Va,b as yn,eM as Ra,bH as Pa,x as _a,am as Na,l as Ua,aX as vi}from"./index-B69GN-T5.js";import{a as v,P as $t}from"./sentry-uHW37Gx_.js";import{n as l}from"./mui-DlOumnEw.js";import{FE as Ba,uu as Ma,bE as At,bD as Et,bF as Fa,c3 as Wa,l8 as qa,bh as Ha}from"./zeni-epic-state-BxLxUFIl.js";import{x as Ri}from"./LabeledControlledCheckBoxField-BsFqjCpn-JAyZBnRr.js";import{R as Ja}from"./TrendWithTransactions-Bp3vhaPa-DPublesd.js";import{u as Ga,c as Ya,d as Xa,m as Za}from"./uploadAttachment-DUpHzqMe-DRZ1X-yU.js";import{o as Qa}from"./radio-default-CiSgisfh-BwauZebq.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./TrendChart-C6B61CAm-BU5UmgIv.js";import"./chartTypes-Ddw_3-6f-Wo_AgZAl.js";import"./toCOABalancesWithID-AzKAZ-Cv-TqjhmGtr.js";import"./toChartData-BEjMhb7--CrRCzIip.js";import"./NoDataChart-CyYJ6icu-B1AWmnR3.js";import"./InsightsSection-D-oCmrir-CFJjb9_m.js";import"./NavigationDots-BQb_Fodq-RLsQy4ul.js";import"./TransactionList-80KjM8Kg-CPSp7V2I.js";import"./ConstrainedInnerElement-BeIpAPjB-BsHieT3D.js";import"./BoxItem-CACRFWG2-BWgjkL8U.js";import"./commonDimensions-ClmbdehE-DSwa4Xo6.js";import"./panelSelectedMixin-CzfD5-Zs-DexTmlZu.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]="b5bc7e96-2a8c-4589-bbbf-9ef59a15fa82",e._sentryDebugIdIdentifier="sentry-dbid-b5bc7e96-2a8c-4589-bbbf-9ef59a15fa82")}catch{}})();const Ka={headerMarginTop:new _(O[7],O[8])},eo=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,to=l(fe)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{ce as fe,J as R,V as t,b4 as ue,aQ as h,dg as xe,dh as he,db as pe,di as ge,o as a,p as Q,cu as be,F as y,y as X,T as we,al as v,u as g,ai as $e,dj as ye,dk as Z,d2 as G,aO as ee,am as ve}from"./index-RSYdG57D.js";import{a as u,P as je}from"./sentry-D087_5zX.js";import{n,c as ke}from"./mui-Bi6zxcZy.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-bG4eDk9o.js";import{F8 as V,F9 as J,Fa as W,Fb as L,bh as Le,Ft as te,bE as ie}from"./zeni-epic-state-DnYFo_hK.js";import{g as ae}from"./BoxItem-CACRFWG2-DTCzjEaX.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-C5IVh2u2.js";import{o as B}from"./commonDimensions-ClmbdehE-DR4Uvnd8.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]="7dba68b3-3ad9-475b-9e63-26eeb1eed440",e._sentryDebugIdIdentifier="sentry-dbid-7dba68b3-3ad9-475b-9e63-26eeb1eed440")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new X(g[9],g[8])},q=n.div`
1
+ import{ce as fe,J as R,V as t,b4 as ue,aQ as h,dg as xe,dh as he,db as pe,di as ge,o as a,p as Q,cu as be,F as y,y as X,T as we,al as v,u as g,ai as $e,dj as ye,dk as Z,d2 as G,aO as ee,am as ve}from"./index-B69GN-T5.js";import{a as u,P as je}from"./sentry-uHW37Gx_.js";import{n,c as ke}from"./mui-DlOumnEw.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-BsHieT3D.js";import{F8 as V,F9 as J,Fa as W,Fb as L,bh as Le,Ft as te,bE as ie}from"./zeni-epic-state-BxLxUFIl.js";import{g as ae}from"./BoxItem-CACRFWG2-BWgjkL8U.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-DexTmlZu.js";import{o as B}from"./commonDimensions-ClmbdehE-DSwa4Xo6.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]="7dba68b3-3ad9-475b-9e63-26eeb1eed440",e._sentryDebugIdIdentifier="sentry-dbid-7dba68b3-3ad9-475b-9e63-26eeb1eed440")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new X(g[9],g[8])},q=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,J as R,aw as Z,aF as ie,aZ as ne,V as t,b4 as re,aQ as w,u as n,b as ae,p as A,o,H as j,a as ee,F as $,br as se,bs as le,ai as de,aq as ce,aO as me,bt as pe,ao as he,T as ue,w as G,bu as te,i as q,aU as oe}from"./index-RSYdG57D.js";import{a as T,P as C}from"./sentry-D087_5zX.js";import{n as i,c as ge}from"./mui-Bi6zxcZy.js";import{EQ as xe,bg as we,bC as O}from"./zeni-epic-state-DnYFo_hK.js";import{G as $e,c as be}from"./AccountsPromoCardStack-DBQnDPXQ-Bven8hQt.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-bG4eDk9o.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./SummaryCard-CShVbqhj-DB5MFQk3.js";import"./ReloadCard-vAhL7B8U-B_goAZi9.js";import"./NavigationArrow-kQWS5Pzb-DFRrRIxZ.js";import"./NavigationDots-BQb_Fodq-C9mSjIjx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="f74d8651-52db-45bc-964a-e29f030828e0",e._sentryDebugIdIdentifier="sentry-dbid-f74d8651-52db-45bc-964a-e29f030828e0")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{y as a,J as R,aw as Z,aF as ie,aZ as ne,V as t,b4 as re,aQ as w,u as n,b as ae,p as A,o,H as j,a as ee,F as $,br as se,bs as le,ai as de,aq as ce,aO as me,bt as pe,ao as he,T as ue,w as G,bu as te,i as q,aU as oe}from"./index-B69GN-T5.js";import{a as T,P as C}from"./sentry-uHW37Gx_.js";import{n as i,c as ge}from"./mui-DlOumnEw.js";import{EQ as xe,bg as we,bC as O}from"./zeni-epic-state-BxLxUFIl.js";import{G as $e,c as be}from"./AccountsPromoCardStack-DBQnDPXQ-DZukOJ98.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-BsHieT3D.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./SummaryCard-CShVbqhj-D-zZMf2a.js";import"./ReloadCard-vAhL7B8U-DyJGySa5.js";import"./NavigationArrow-kQWS5Pzb-ke2wlaJq.js";import"./NavigationDots-BQb_Fodq-RLsQy4ul.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="f74d8651-52db-45bc-964a-e29f030828e0",e._sentryDebugIdIdentifier="sentry-dbid-f74d8651-52db-45bc-964a-e29f030828e0")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,Se=i.div`
@@ -1,4 +1,4 @@
1
- import{d as M,bA as R,bB as q,V as t,bC as J,T as Q,aQ as h,bD as U,o as n,al as X}from"./index-RSYdG57D.js";import{a as r,n as G}from"./sentry-D087_5zX.js";import{n as l}from"./mui-Bi6zxcZy.js";import{T as H}from"./TransactionList-80KjM8Kg-nmpf3GsN.js";import{t as K}from"./page-detail-CWX5S47F-CV7GOcsp.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./ConstrainedInnerElement-BeIpAPjB-bG4eDk9o.js";import"./BoxItem-CACRFWG2-DTCzjEaX.js";import"./commonDimensions-ClmbdehE-DR4Uvnd8.js";import"./panelSelectedMixin-CzfD5-Zs-C5IVh2u2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="b7361f9a-a99e-459b-a6bf-93cb56c34e9b",e._sentryDebugIdIdentifier="sentry-dbid-b7361f9a-a99e-459b-a6bf-93cb56c34e9b")}catch{}})();const W=l.div`
1
+ import{d as M,bA as R,bB as q,V as t,bC as J,T as Q,aQ as h,bD as U,o as n,al as X}from"./index-B69GN-T5.js";import{a as r,n as G}from"./sentry-uHW37Gx_.js";import{n as l}from"./mui-DlOumnEw.js";import{T as H}from"./TransactionList-80KjM8Kg-CPSp7V2I.js";import{t as K}from"./page-detail-CWX5S47F-B7--aTyy.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./zeni-epic-state-BxLxUFIl.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./ConstrainedInnerElement-BeIpAPjB-BsHieT3D.js";import"./BoxItem-CACRFWG2-BWgjkL8U.js";import"./commonDimensions-ClmbdehE-DSwa4Xo6.js";import"./panelSelectedMixin-CzfD5-Zs-DexTmlZu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="b7361f9a-a99e-459b-a6bf-93cb56c34e9b",e._sentryDebugIdIdentifier="sentry-dbid-b7361f9a-a99e-459b-a6bf-93cb56c34e9b")}catch{}})();const W=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 0;
@@ -1,4 +1,4 @@
1
- import{J as A,F as k,V as o,T as q,aQ as L,aS as W,o as t,y as g,x as _,H as G,d4 as J,a9 as Q,cG as U,ac as K,u as r,hh as F,hi as M,hj as R,d as X,cL as Y,gP as z,hk as Z,b8 as ee,ho as oe,hp as ae}from"./index-RSYdG57D.js";import{a as I}from"./sentry-D087_5zX.js";import{n as c}from"./mui-Bi6zxcZy.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.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]="5f362a08-aaca-4b69-9402-eda84f11b8b2",e._sentryDebugIdIdentifier="sentry-dbid-5f362a08-aaca-4b69-9402-eda84f11b8b2")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},te=k.getLocalizedStrings().transactionDetail.vendorDetails,d=te.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:a,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=A(),b=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(B=>B.accountId===s)?.accountName;return[oe,ae].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:M(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:R(S),selectedOption:a},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
1
+ import{J as A,F as k,V as o,T as q,aQ as L,aS as W,o as t,y as g,x as _,H as G,d4 as J,a9 as Q,cG as U,ac as K,u as r,hh as F,hi as M,hj as R,d as X,cL as Y,gP as z,hk as Z,b8 as ee,ho as oe,hp as ae}from"./index-B69GN-T5.js";import{a as I}from"./sentry-uHW37Gx_.js";import{n as c}from"./mui-DlOumnEw.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./zeni-epic-state-BxLxUFIl.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.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]="5f362a08-aaca-4b69-9402-eda84f11b8b2",e._sentryDebugIdIdentifier="sentry-dbid-5f362a08-aaca-4b69-9402-eda84f11b8b2")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},te=k.getLocalizedStrings().transactionDetail.vendorDetails,d=te.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:a,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=A(),b=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=s=>h.filter(D=>D.accountId===s)[0]?.coaId??"",l=s=>C.filter(D=>D.classId===s)[0]?.accountingClassNumber??"",y=s=>{const D=h.find(B=>B.accountId===s)?.accountName;return[oe,ae].includes(D??"")};return o.jsxs(se,{"data-testid":L("vendor-details-section",v),children:[o.jsx(re,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:O(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:s=>V(s),defaultValue:{selectedOption:e,allOptions:M(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:O(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:s=>l(s),defaultValue:{selectedOption:p,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${b.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:O(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:R(S),selectedOption:a},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},se=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${t.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e,o as a,F as E,y as c,x as Ye,c as dt,ba as ut,aq as ft,R as be,ai as De,al as fe,aR as ce,fD as pt,a9 as Xe,cG as mt,aZ as ht,aP as gt,p as J,ac as qe,fH as ke,fI as Ae,gf as wt,bU as ye,g9 as xt,hH as $t,u as o,fr as bt,cj as Ue,c1 as Dt,f3 as yt,bL as Tt,am as Ge,fU as Ct,dv as St,c3 as Je,g_ as vt,g$ as kt}from"./index-RSYdG57D.js";import{a as u}from"./sentry-D087_5zX.js";import{n}from"./mui-Bi6zxcZy.js";import{bL as At}from"./zeni-epic-state-DnYFo_hK.js";import{v as Pt}from"./ZeniTransferAmountSlider-DVJ0puXA-Cwv6Kq-B.js";import{r as Lt}from"./AccountInfoPageContent-BS2TBUSE-DjSw5axw.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./downloadPdf-DfRYmfsd-DxcMbdS5.js";import"./commonDimensions-ClmbdehE-DR4Uvnd8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="1b1893f6-62ae-449b-9552-690832905e23",e._sentryDebugIdIdentifier="sentry-dbid-1b1893f6-62ae-449b-9552-690832905e23")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(Nt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(He),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{V as t,J as ue,aQ as A,hx as lt,aO as U,i as ve,hG as ct,T as Ne,aS as $e,o as a,F as E,y as c,x as Ye,c as dt,ba as ut,aq as ft,R as be,ai as De,al as fe,aR as ce,fD as pt,a9 as Xe,cG as mt,aZ as ht,aP as gt,p as J,ac as qe,fH as ke,fI as Ae,gf as wt,bU as ye,g9 as xt,hH as $t,u as o,fr as bt,cj as Ue,c1 as Dt,f3 as yt,bL as Tt,am as Ge,fU as Ct,dv as St,c3 as Je,g_ as vt,g$ as kt}from"./index-B69GN-T5.js";import{a as u}from"./sentry-uHW37Gx_.js";import{n}from"./mui-DlOumnEw.js";import{bL as At}from"./zeni-epic-state-BxLxUFIl.js";import{v as Pt}from"./ZeniTransferAmountSlider-DVJ0puXA-CqAbOxrs.js";import{r as Lt}from"./AccountInfoPageContent-BS2TBUSE-DZcY4GCU.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./downloadPdf-DfRYmfsd-Bc7q72En.js";import"./commonDimensions-ClmbdehE-DSwa4Xo6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="1b1893f6-62ae-449b-9552-690832905e23",e._sentryDebugIdIdentifier="sentry-dbid-1b1893f6-62ae-449b-9552-690832905e23")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),I(),Y(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:J.heroLight}})})]})}):null,t.jsx(Nt,{children:U("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(He),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ut,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${U("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${U("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,aQ as W,T as We,o as i,ai as k,F as L,p as w,bL as Ee,y,fk as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,aw as Ue,fX as Ge,h4 as _e,i as Je,al as A,b0 as Xe,jt as Qe,k5 as qe,bh as Ze,eQ as et,d9 as tt,fU as it,k_ as ot,j2 as Ae,j3 as Oe,cu as rt,iV as at,iW as nt,k$ as st,kg as lt,am as E,bS as dt,cA as le,j1 as ct,cD as ht}from"./index-RSYdG57D.js";import{a as f,P as pt}from"./sentry-D087_5zX.js";import{n as o,c as de}from"./mui-Bi6zxcZy.js";import{bL as U,c4 as xt}from"./zeni-epic-state-DnYFo_hK.js";import{s as gt}from"./commonDimensions-ClmbdehE-DR4Uvnd8.js";import{g as ce}from"./BoxItem-CACRFWG2-DTCzjEaX.js";import{o as mt}from"./shield-DOlUxcFf-CCEGxUtr.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-B4xbIQqu.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c1ad9bae-ead2-446b-93de-635f7179cb58",e._sentryDebugIdIdentifier="sentry-dbid-c1ad9bae-ead2-446b-93de-635f7179cb58")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{J as C,d as M,a8 as Fe,ce as Ke,V as t,aO as V,bU as ae,bD as Ve,b as ie,aQ as W,T as We,o as i,ai as k,F as L,p as w,bL as Ee,y,fk as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,aw as Ue,fX as Ge,h4 as _e,i as Je,al as A,b0 as Xe,jt as Qe,k5 as qe,bh as Ze,eQ as et,d9 as tt,fU as it,k_ as ot,j2 as Ae,j3 as Oe,cu as rt,iV as at,iW as nt,k$ as st,kg as lt,am as E,bS as dt,cA as le,j1 as ct,cD as ht}from"./index-B69GN-T5.js";import{a as f,P as pt}from"./sentry-uHW37Gx_.js";import{n as o,c as de}from"./mui-DlOumnEw.js";import{bL as U,c4 as xt}from"./zeni-epic-state-BxLxUFIl.js";import{s as gt}from"./commonDimensions-ClmbdehE-DSwa4Xo6.js";import{g as ce}from"./BoxItem-CACRFWG2-BWgjkL8U.js";import{o as mt}from"./shield-DOlUxcFf-B6LUsRVA.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-C3OgFRQV.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="c1ad9bae-ead2-446b-93de-635f7179cb58",e._sentryDebugIdIdentifier="sentry-dbid-c1ad9bae-ead2-446b-93de-635f7179cb58")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{d as ce,J as V,aw as $e,a8 as fe,aR as ye,V as r,bD as be,fw as ke,b5 as je,o as t,jt as Se,bU as ze,ai as k,i as Q,aQ as Z,F as A,H as $,aq as F,p as a,y as z,al as R,d9 as ve,bW as Le,c as Pe,am as Me,fe as Be,u as h,dP as Ee,bg as Ie,R as Te,x as De,b as ee,d4 as We}from"./index-RSYdG57D.js";import{a as s,P as _e}from"./sentry-D087_5zX.js";import{n as i}from"./mui-Bi6zxcZy.js";import{GH as Re}from"./zeni-epic-state-DnYFo_hK.js";import{I as He,N as Ge}from"./VideoPlayer-9UkKMhGy-Cg6ItP2B.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-DHj1aaNg.js";import{o as Ve}from"./shield-DOlUxcFf-CCEGxUtr.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="e53239f6-3c74-4345-90e9-7d066e044fc0",e._sentryDebugIdIdentifier="sentry-dbid-e53239f6-3c74-4345-90e9-7d066e044fc0")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Qe,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
1
+ import{d as ce,J as V,aw as $e,a8 as fe,aR as ye,V as r,bD as be,fw as ke,b5 as je,o as t,jt as Se,bU as ze,ai as k,i as Q,aQ as Z,F as A,H as $,aq as F,p as a,y as z,al as R,d9 as ve,bW as Le,c as Pe,am as Me,fe as Be,u as h,dP as Ee,bg as Ie,R as Te,x as De,b as ee,d4 as We}from"./index-B69GN-T5.js";import{a as s,P as _e}from"./sentry-uHW37Gx_.js";import{n as i}from"./mui-DlOumnEw.js";import{GH as Re}from"./zeni-epic-state-BxLxUFIl.js";import{I as He,N as Ge}from"./VideoPlayer-9UkKMhGy-DaOMV5dS.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-Dg0R18Sy.js";import{o as Ve}from"./shield-DOlUxcFf-B6LUsRVA.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="e53239f6-3c74-4345-90e9-7d066e044fc0",e._sentryDebugIdIdentifier="sentry-dbid-e53239f6-3c74-4345-90e9-7d066e044fc0")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:d,children:[r.jsx(Oe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(ie,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Je,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ke,{children:p.links.map((u,b)=>r.jsx(Qe,{children:u.link!==""?r.jsx(te,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(te,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:t.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(ie,{children:p},w))})]})]})})},Fe=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d as j,J as v,V as t,bD as I,b4 as z,o as r,F as C,p as m,cu as D,y as P,u as p,al as T}from"./index-RSYdG57D.js";import{a as h}from"./sentry-D087_5zX.js";import{n as o}from"./mui-Bi6zxcZy.js";import{$ as E}from"./BoxItem-CACRFWG2-DTCzjEaX.js";import{o as M}from"./commonDimensions-ClmbdehE-DR4Uvnd8.js";import{M as B}from"./StatementItem-Cu6dlAsl-DonsY76E.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./downloadPdf-DfRYmfsd-DxcMbdS5.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]="75297a67-a5f6-4975-9191-93b54ffe4e82",e._sentryDebugIdIdentifier="sentry-dbid-75297a67-a5f6-4975-9191-93b54ffe4e82")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:w})=>{const g=j(),i=v(),x=h.createRef(),y=h.useRef(),k=a.statements.length===0,$=()=>M.transactionItemHeightResponsive.value(i),S=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(f,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(H,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:S})})})]})},R=o.div``,f=o.div`
1
+ import{d as j,J as v,V as t,bD as I,b4 as z,o as r,F as C,p as m,cu as D,y as P,u as p,al as T}from"./index-B69GN-T5.js";import{a as h}from"./sentry-uHW37Gx_.js";import{n as o}from"./mui-DlOumnEw.js";import{$ as E}from"./BoxItem-CACRFWG2-BWgjkL8U.js";import{o as M}from"./commonDimensions-ClmbdehE-DSwa4Xo6.js";import{M as B}from"./StatementItem-Cu6dlAsl-BkLuZl-Q.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./zeni-epic-state-BxLxUFIl.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./downloadPdf-DfRYmfsd-Bc7q72En.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]="75297a67-a5f6-4975-9191-93b54ffe4e82",e._sentryDebugIdIdentifier="sentry-dbid-75297a67-a5f6-4975-9191-93b54ffe4e82")}catch{}})();const b=C.getLocalizedStrings().spendManagement.treasury.statements,u={listItemMargin:new P(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:a,onBackClick:w})=>{const g=j(),i=v(),x=h.createRef(),y=h.useRef(),k=a.statements.length===0,$=()=>M.transactionItemHeightResponsive.value(i),S=({index:s,style:l})=>{const d=a.statements[s];return k===!1?t.jsx(f,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:E(s,a.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(f,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:s,width:l})=>t.jsx(H,{ref:x,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:a.statements.length,itemSize:$,initialScrollOffset:0,children:S})})})]})},R=o.div``,f=o.div`
2
2
  margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d as v,J as S,V as t,bD as L,b4 as I,o as r,F as z,p,cu as T,y as C,u as h,al as D}from"./index-RSYdG57D.js";import{a as m}from"./sentry-D087_5zX.js";import{n as o}from"./mui-Bi6zxcZy.js";import{$ as P}from"./BoxItem-CACRFWG2-DTCzjEaX.js";import{o as E}from"./commonDimensions-ClmbdehE-DR4Uvnd8.js";import{M}from"./StatementItem-Cu6dlAsl-DonsY76E.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./downloadPdf-DfRYmfsd-DxcMbdS5.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]="9058627a-5f2e-4d63-9090-d8480da57734",e._sentryDebugIdIdentifier="sentry-dbid-9058627a-5f2e-4d63-9090-d8480da57734")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,u={listItemMargin:new C(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:w})=>{const f=v(),i=S(),g=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>E.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:P(s,n.taxLetters.length)},d.id)}):t.jsx(B,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:x.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:x.title,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},B=o.div``,b=o.div`
1
+ import{d as v,J as S,V as t,bD as L,b4 as I,o as r,F as z,p,cu as T,y as C,u as h,al as D}from"./index-B69GN-T5.js";import{a as m}from"./sentry-uHW37Gx_.js";import{n as o}from"./mui-DlOumnEw.js";import{$ as P}from"./BoxItem-CACRFWG2-BWgjkL8U.js";import{o as E}from"./commonDimensions-ClmbdehE-DSwa4Xo6.js";import{M}from"./StatementItem-Cu6dlAsl-BkLuZl-Q.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./zeni-epic-state-BxLxUFIl.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./downloadPdf-DfRYmfsd-Bc7q72En.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]="9058627a-5f2e-4d63-9090-d8480da57734",e._sentryDebugIdIdentifier="sentry-dbid-9058627a-5f2e-4d63-9090-d8480da57734")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,u={listItemMargin:new C(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:w})=>{const f=v(),i=S(),g=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>E.transactionItemHeightResponsive.value(i),j=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${u.listItemMargin.valuePx(i)})`},children:t.jsx(M,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:P(s,n.taxLetters.length)},d.id)}):t.jsx(B,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:x.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:x.title,backgroundColor:f.colors.grey4,style:{zIndex:3},onBackClick:w,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:j})})})]})},B=o.div``,b=o.div`
2
2
  margin: ${e=>`${r.sp0} ${u.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{F as $,V as n,d as P,b4 as _,b as j,aZ as A,aQ as Y,o as L,p as I,al as R}from"./index-RSYdG57D.js";import{a as v,P as z}from"./sentry-D087_5zX.js";import{Fb as m}from"./zeni-epic-state-DnYFo_hK.js";import{d as B,g as T,p as D,u as O}from"./chartTypes-Ddw_3-6f-DkCZUllf.js";import{n as k}from"./mui-Bi6zxcZy.js";import{o as q}from"./toCOABalancesWithID-AzKAZ-Cv-B8yD1irx.js";import{V as K}from"./toChartData-BEjMhb7--B1GasRGV.js";import{H as V,I as G,X as N,Y as Q,J as W,R as X,K as Z}from"./recharts-B4xbIQqu.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.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]="56220df6-2baf-4d11-9dd2-d78e64bcc8b8",e._sentryDebugIdIdentifier="sentry-dbid-56220df6-2baf-4d11-9dd2-d78e64bcc8b8")}catch{}})();const H=k.div`
1
+ import{F as $,V as n,d as P,b4 as _,b as j,aZ as A,aQ as Y,o as L,p as I,al as R}from"./index-B69GN-T5.js";import{a as v,P as z}from"./sentry-uHW37Gx_.js";import{Fb as m}from"./zeni-epic-state-BxLxUFIl.js";import{d as B,g as T,p as D,u as O}from"./chartTypes-Ddw_3-6f-Wo_AgZAl.js";import{n as k}from"./mui-DlOumnEw.js";import{o as q}from"./toCOABalancesWithID-AzKAZ-Cv-TqjhmGtr.js";import{V as K}from"./toChartData-BEjMhb7--CrRCzIip.js";import{H as V,I as G,X as N,Y as Q,J as W,R as X,K as Z}from"./recharts-C3OgFRQV.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.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]="56220df6-2baf-4d11-9dd2-d78e64bcc8b8",e._sentryDebugIdIdentifier="sentry-dbid-56220df6-2baf-4d11-9dd2-d78e64bcc8b8")}catch{}})();const H=k.div`
2
2
  display: flex;
3
3
  `,J=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{J as H,V as i,T as L,o as r,F,b4 as E,aQ as T,y as c,b8 as I,R as V,u as a,al as A,x as q}from"./index-RSYdG57D.js";import{a as k}from"./sentry-D087_5zX.js";import{n}from"./mui-Bi6zxcZy.js";import K from"./TrendChart-C6B61CAm-B_B-BplL.js";import{C as Q}from"./NoDataChart-CyYJ6icu-C4lbaNyZ.js";import{F as W}from"./InsightsSection-D-oCmrir-CPKrgvm8.js";import{T as J}from"./TransactionList-80KjM8Kg-nmpf3GsN.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]="2f32702e-4546-4efc-9fd7-f7f14da38920",e._sentryDebugIdIdentifier="sentry-dbid-2f32702e-4546-4efc-9fd7-f7f14da38920")}catch{}})();const Z=n.div`
1
+ import{J as H,V as i,T as L,o as r,F,b4 as E,aQ as T,y as c,b8 as I,R as V,u as a,al as A,x as q}from"./index-B69GN-T5.js";import{a as k}from"./sentry-uHW37Gx_.js";import{n}from"./mui-DlOumnEw.js";import K from"./TrendChart-C6B61CAm-BU5UmgIv.js";import{C as Q}from"./NoDataChart-CyYJ6icu-B1AWmnR3.js";import{F as W}from"./InsightsSection-D-oCmrir-CFJjb9_m.js";import{T as J}from"./TransactionList-80KjM8Kg-CPSp7V2I.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]="2f32702e-4546-4efc-9fd7-f7f14da38920",e._sentryDebugIdIdentifier="sentry-dbid-2f32702e-4546-4efc-9fd7-f7f14da38920")}catch{}})();const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as ie,J as ce,aw as Xe,aR as en,gK as I,hS as U,a9 as nn,hT as tn,hU as je,cG as on,V as t,bD as cn,cq as sn,cr as an,cs as ln,ac as dn,hV as rn,T as un,aS as pn,fA as mn,F as W,hW as _e,y as u,al as gn,o as a,cK as fe,aW as q,gP as te,hX as oe,hY as K,hZ as xn,u as r,H as ye,p as Ae,g8 as Ve,ai as $e,bj as hn}from"./index-RSYdG57D.js";import{a as Q}from"./sentry-D087_5zX.js";import{n as s}from"./mui-Bi6zxcZy.js";import{G2 as Te,FI as bn,FJ as wn,G3 as fn}from"./zeni-epic-state-DnYFo_hK.js";import{h as yn}from"./VendorsAccountsSection-BT-RADSV-CA631Ry_.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.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]="c23bf44b-dcad-49f4-b89a-f46a9492146e",e._sentryDebugIdIdentifier="sentry-dbid-c23bf44b-dcad-49f4-b89a-f46a9492146e")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},An=s.div`
1
+ import{d as ie,J as ce,aw as Xe,aR as en,gK as I,hS as U,a9 as nn,hT as tn,hU as je,cG as on,V as t,bD as cn,cq as sn,cr as an,cs as ln,ac as dn,hV as rn,T as un,aS as pn,fA as mn,F as W,hW as _e,y as u,al as gn,o as a,cK as fe,aW as q,gP as te,hX as oe,hY as K,hZ as xn,u as r,H as ye,p as Ae,g8 as Ve,ai as $e,bj as hn}from"./index-B69GN-T5.js";import{a as Q}from"./sentry-uHW37Gx_.js";import{n as s}from"./mui-DlOumnEw.js";import{G2 as Te,FI as bn,FJ as wn,G3 as fn}from"./zeni-epic-state-BxLxUFIl.js";import{h as yn}from"./VendorsAccountsSection-BT-RADSV-BAyXZgFB.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.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]="c23bf44b-dcad-49f4-b89a-f46a9492146e",e._sentryDebugIdIdentifier="sentry-dbid-c23bf44b-dcad-49f4-b89a-f46a9492146e")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new ye("standardMedium","largeMedium")},An=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aR as S,V as t,h$ as _,i0 as W,J as P,F as O,cq as L,ae as C,cr as N,cs as U,a9 as R,ac as H,cS as M,cN as F,y as g,cO as G,p as A,ao as J,T as K,i as Q,o as i,al as X,u as D,aq as Y,bb as Z}from"./index-RSYdG57D.js";import{a as l}from"./sentry-D087_5zX.js";import{n as p}from"./mui-Bi6zxcZy.js";import{bL as ee,bh as te}from"./zeni-epic-state-DnYFo_hK.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ee7b829e-648f-4fe0-9ec2-5343440f94db",e._sentryDebugIdIdentifier="sentry-dbid-ee7b829e-648f-4fe0-9ec2-5343440f94db")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=p.div`
1
+ import{aR as S,V as t,h$ as _,i0 as W,J as P,F as O,cq as L,ae as C,cr as N,cs as U,a9 as R,ac as H,cS as M,cN as F,y as g,cO as G,p as A,ao as J,T as K,i as Q,o as i,al as X,u as D,aq as Y,bb as Z}from"./index-B69GN-T5.js";import{a as l}from"./sentry-uHW37Gx_.js";import{n as p}from"./mui-DlOumnEw.js";import{bL as ee,bh as te}from"./zeni-epic-state-BxLxUFIl.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="ee7b829e-648f-4fe0-9ec2-5343440f94db",e._sentryDebugIdIdentifier="sentry-dbid-ee7b829e-648f-4fe0-9ec2-5343440f94db")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(D[3],D[2]),width:new g(300,420,420)},ie=p.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a9 as k,fB as b,aR as U,J as M,F as A,cG as W,V as i,ac as q,aQ as G,fC as H,o as a,p as J,cT as K,aS as Q,y as x,x as X,R as Y,bb as Z,ba as ee,u as c}from"./index-RSYdG57D.js";import{a as f}from"./sentry-D087_5zX.js";import{n as o}from"./mui-Bi6zxcZy.js";import{ER as te}from"./zeni-epic-state-DnYFo_hK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="f906840c-491b-4cbd-92d0-77ef7b800c42",e._sentryDebugIdIdentifier="sentry-dbid-f906840c-491b-4cbd-92d0-77ef7b800c42")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:S,companyOfficer:t,updateStatus:p,onClose:$,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:P,onCompanyOfficerUpdated:T}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,w]=f.useState(!1),[z,N]=f.useState(!1),j=U(p.fetchState),D=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},O=Object.values(D??{}).filter(l=>l!=null),V=te(O);f.useEffect(()=>{j==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[j,p,n,t?.additionalFiles]);const r=M(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,R=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,L=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(T?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&W(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(q,{...n,children:i.jsxs("form",{id:u,onSubmit:L,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":G("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:R})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:D,updateFileStatusById:B,filesEndPoint:m,authParams:S,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(Q,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{a9 as k,fB as b,aR as U,J as M,F as A,cG as W,V as i,ac as q,aQ as G,fC as H,o as a,p as J,cT as K,aS as Q,y as x,x as X,R as Y,bb as Z,ba as ee,u as c}from"./index-B69GN-T5.js";import{a as f}from"./sentry-uHW37Gx_.js";import{n as o}from"./mui-DlOumnEw.js";import{ER as te}from"./zeni-epic-state-BxLxUFIl.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="f906840c-491b-4cbd-92d0-77ef7b800c42",e._sentryDebugIdIdentifier="sentry-dbid-f906840c-491b-4cbd-92d0-77ef7b800c42")}catch{}})();const F={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:S,companyOfficer:t,updateStatus:p,onClose:$,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:P,onCompanyOfficerUpdated:T}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,w]=f.useState(!1),[z,N]=f.useState(!1),j=U(p.fetchState),D=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},O=Object.values(D??{}).filter(l=>l!=null),V=te(O);f.useEffect(()=>{j==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[j,p,n,t?.additionalFiles]);const r=M(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,R=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,L=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(T?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&W(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(q,{...n,children:i.jsxs("form",{id:u,onSubmit:L,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":G("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:R})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:D,updateFileStatusById:B,filesEndPoint:m,authParams:S,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(Q,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aR as i,F as w,V as r,h$ as v,i0 as x}from"./index-RSYdG57D.js";import{a}from"./sentry-D087_5zX.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./mui-Bi6zxcZy.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="118e3c76-8f9a-4ed8-b907-9d5181c8ad54",t._sentryDebugIdIdentifier="sentry-dbid-118e3c76-8f9a-4ed8-b907-9d5181c8ad54")}catch{}})();const B=({vendorViewDetails:t,isExpressPayPage:s,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[y,o]=a.useState(!1),[b,n]=a.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return a.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),a.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),a.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),a.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:y===!0?r.jsx(v,{showHelperText:!s,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):b===!0?r.jsx(x,{showHelperText:!s,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:s?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{B as default};
1
+ import{aR as i,F as w,V as r,h$ as v,i0 as x}from"./index-B69GN-T5.js";import{a}from"./sentry-uHW37Gx_.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./zeni-epic-state-BxLxUFIl.js";import"./mui-DlOumnEw.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="118e3c76-8f9a-4ed8-b907-9d5181c8ad54",t._sentryDebugIdIdentifier="sentry-dbid-118e3c76-8f9a-4ed8-b907-9d5181c8ad54")}catch{}})();const B=({vendorViewDetails:t,isExpressPayPage:s,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[y,o]=a.useState(!1),[b,n]=a.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=w.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return a.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),a.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),a.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),a.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:y===!0?r.jsx(v,{showHelperText:!s,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):b===!0?r.jsx(x,{showHelperText:!s,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:s?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{B as default};
@@ -1 +1 @@
1
- import{V as p}from"./index-RSYdG57D.js";import{a as m}from"./sentry-D087_5zX.js";import{f as u}from"./ACHDetailsPage-D2Xav-UW-gmz3eqze.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./mui-Bi6zxcZy.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./BankAccountWarningSection-CpxVDMSZ-BNQxexaw.js";import"./MagicLinkTitleSection-BA-i6vzA-BnqIfeCZ.js";import"./BankAccountSection-hcKEMs80-ujPW3TnU.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]="a15fa08c-96cf-430e-9dc3-7dd5a4b2e965",t._sentryDebugIdIdentifier="sentry-dbid-a15fa08c-96cf-430e-9dc3-7dd5a4b2e965")}catch{}})();const I=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{I as default};
1
+ import{V as p}from"./index-B69GN-T5.js";import{a as m}from"./sentry-uHW37Gx_.js";import{f as u}from"./ACHDetailsPage-D2Xav-UW-Dgnek3jF.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./zeni-epic-state-BxLxUFIl.js";import"./mui-DlOumnEw.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./BankAccountWarningSection-CpxVDMSZ-BQlEw8MH.js";import"./MagicLinkTitleSection-BA-i6vzA-DcDiT_yT.js";import"./BankAccountSection-hcKEMs80-DR7Ncj16.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]="a15fa08c-96cf-430e-9dc3-7dd5a4b2e965",t._sentryDebugIdIdentifier="sentry-dbid-a15fa08c-96cf-430e-9dc3-7dd5a4b2e965")}catch{}})();const I=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})=>{const{bankAccountCreationState:o,bankNameByRouting:s,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:s,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:d})};export{I as default};
@@ -1,4 +1,4 @@
1
- import{d as Ue,J as oe,y as g,aE as we,cJ as bt,a9 as wt,hd as Ce,he as Ct,aW as $t,cG as St,V as t,bC as Dt,ac as Tt,hf as jt,hg as ye,u as l,cH as Lt,aS as Vt,bD as kt,F as W,hh as Ee,hi as qe,hj as Qe,o as a,bQ as S,cK as It,gP as $e,hk as Ot,cL as Pt,cM as Mt,cN as _t,hl as zt,gg as Ft,cU as Nt,hm as Wt,hn as Ht,p as N,b8 as Ye,ai as Ge,dv as Rt,b0 as Bt,ho as At,hp as Ut,al as Et,du as qt,dt as Qt,d2 as Yt,aZ as pe,hq as Gt,cj as Ke,hr as Kt,H as Se,a as Je}from"./index-RSYdG57D.js";import{a as $}from"./sentry-D087_5zX.js";import{n as o,c as Jt}from"./mui-Bi6zxcZy.js";import{bi as De,F_ as Xt,F$ as Zt}from"./zeni-epic-state-DnYFo_hK.js";import{k as es}from"./SubTabSwitcher-C3rtSwro-3EHI5jeE.js";import{T as ts}from"./TransactionList-80KjM8Kg-nmpf3GsN.js";import{R as ss}from"./TrendWithTransactions-Bp3vhaPa-JockHNv7.js";import{o as as,t as os}from"./arrow-south-east-round-PEovUgvH-B8oQ40Hs.js";import{C as ns}from"./LabeledAddressValueField-BoHS44YO-2snjxiG6.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-ChgtJqPr-JYEhPcSE.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./ConstrainedInnerElement-BeIpAPjB-bG4eDk9o.js";import"./BoxItem-CACRFWG2-DTCzjEaX.js";import"./commonDimensions-ClmbdehE-DR4Uvnd8.js";import"./panelSelectedMixin-CzfD5-Zs-C5IVh2u2.js";import"./TrendChart-C6B61CAm-B_B-BplL.js";import"./chartTypes-Ddw_3-6f-DkCZUllf.js";import"./toCOABalancesWithID-AzKAZ-Cv-B8yD1irx.js";import"./toChartData-BEjMhb7--B1GasRGV.js";import"./NoDataChart-CyYJ6icu-C4lbaNyZ.js";import"./InsightsSection-D-oCmrir-CPKrgvm8.js";import"./NavigationDots-BQb_Fodq-C9mSjIjx.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]="55f032f2-1859-4570-aace-a9f805fcc1af",e._sentryDebugIdIdentifier="sentry-dbid-55f032f2-1859-4570-aace-a9f805fcc1af")}catch{}})();const is=o.div`
1
+ import{d as Ue,J as oe,y as g,aE as we,cJ as bt,a9 as wt,hd as Ce,he as Ct,aW as $t,cG as St,V as t,bC as Dt,ac as Tt,hf as jt,hg as ye,u as l,cH as Lt,aS as Vt,bD as kt,F as W,hh as Ee,hi as qe,hj as Qe,o as a,bQ as S,cK as It,gP as $e,hk as Ot,cL as Pt,cM as Mt,cN as _t,hl as zt,gg as Ft,cU as Nt,hm as Wt,hn as Ht,p as N,b8 as Ye,ai as Ge,dv as Rt,b0 as Bt,ho as At,hp as Ut,al as Et,du as qt,dt as Qt,d2 as Yt,aZ as pe,hq as Gt,cj as Ke,hr as Kt,H as Se,a as Je}from"./index-B69GN-T5.js";import{a as $}from"./sentry-uHW37Gx_.js";import{n as o,c as Jt}from"./mui-DlOumnEw.js";import{bi as De,F_ as Xt,F$ as Zt}from"./zeni-epic-state-BxLxUFIl.js";import{k as es}from"./SubTabSwitcher-C3rtSwro-CsBjI97D.js";import{T as ts}from"./TransactionList-80KjM8Kg-CPSp7V2I.js";import{R as ss}from"./TrendWithTransactions-Bp3vhaPa-DPublesd.js";import{o as as,t as os}from"./arrow-south-east-round-PEovUgvH-wFMUSqP7.js";import{C as ns}from"./LabeledAddressValueField-BoHS44YO-a8mrESu2.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-ChgtJqPr-KdKPHzDz.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./ConstrainedInnerElement-BeIpAPjB-BsHieT3D.js";import"./BoxItem-CACRFWG2-BWgjkL8U.js";import"./commonDimensions-ClmbdehE-DSwa4Xo6.js";import"./panelSelectedMixin-CzfD5-Zs-DexTmlZu.js";import"./TrendChart-C6B61CAm-BU5UmgIv.js";import"./chartTypes-Ddw_3-6f-Wo_AgZAl.js";import"./toCOABalancesWithID-AzKAZ-Cv-TqjhmGtr.js";import"./toChartData-BEjMhb7--CrRCzIip.js";import"./NoDataChart-CyYJ6icu-B1AWmnR3.js";import"./InsightsSection-D-oCmrir-CFJjb9_m.js";import"./NavigationDots-BQb_Fodq-RLsQy4ul.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]="55f032f2-1859-4570-aace-a9f805fcc1af",e._sentryDebugIdIdentifier="sentry-dbid-55f032f2-1859-4570-aace-a9f805fcc1af")}catch{}})();const is=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as f}from"./index-RSYdG57D.js";import{a as k}from"./sentry-D087_5zX.js";import{D as y}from"./DomesticWireDetailsPage-C--eZ-UG-aeN-j2-T.js";import"./liveblocks-BR4rmGyf.js";import"./core-CTDonMeQ.js";import"./recharts-B4xbIQqu.js";import"./zeni-epic-state-DnYFo_hK.js";import"./mui-Bi6zxcZy.js";import"./lottie-CZNmnTyG.js";import"./analytics-BLsUySon.js";import"./lexical-CMaEqdkY.js";import"./utils-bkVcg2I6.js";import"./BankAccountSection-hcKEMs80-ujPW3TnU.js";import"./MagicLinkTitleSection-BA-i6vzA-BnqIfeCZ.js";import"./BankAccountWarningSection-CpxVDMSZ-BNQxexaw.js";import"./MailingDetailsSection-EwtoQ2TZ-uOWaBvAh.js";import"./LabeledAddressValueField-BoHS44YO-2snjxiG6.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]="b6512153-667d-45e0-9829-54b2424b3940",e._sentryDebugIdIdentifier="sentry-dbid-b6512153-667d-45e0-9829-54b2424b3940")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:b,fetchBankNameByRoutingStatus:l}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),f.jsx(y,{bankAccountToCreate:b,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
1
+ import{V as f}from"./index-B69GN-T5.js";import{a as k}from"./sentry-uHW37Gx_.js";import{D as y}from"./DomesticWireDetailsPage-C--eZ-UG-BrlkQ0SM.js";import"./liveblocks-zTGKWM9r.js";import"./core-B1uMJ9CB.js";import"./recharts-C3OgFRQV.js";import"./zeni-epic-state-BxLxUFIl.js";import"./mui-DlOumnEw.js";import"./lottie-qYFNg0vx.js";import"./analytics-s0_8xIT2.js";import"./lexical-B3kN3Hl0.js";import"./utils-DGT9kDsm.js";import"./BankAccountSection-hcKEMs80-DR7Ncj16.js";import"./MagicLinkTitleSection-BA-i6vzA-DcDiT_yT.js";import"./BankAccountWarningSection-CpxVDMSZ-BQlEw8MH.js";import"./MailingDetailsSection-EwtoQ2TZ-C2JKSQZp.js";import"./LabeledAddressValueField-BoHS44YO-a8mrESu2.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]="b6512153-667d-45e0-9829-54b2424b3940",e._sentryDebugIdIdentifier="sentry-dbid-b6512153-667d-45e0-9829-54b2424b3940")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:u,bankAccountToCreate:b,fetchBankNameByRoutingStatus:l}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),f.jsx(y,{bankAccountToCreate:b,bankAccountCreationState:n,bankNameByRouting:u,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};