@zeniai/web-cockpit-ui 1.15.25-dev → 1.15.25-qa

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 (219) hide show
  1. package/dist/assets/{ACHDetailsPage-Davpg8eW-BWDILC-H.js → ACHDetailsPage-Davpg8eW-D4fDLBvb.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BXF0kUqR-BgyTM2y7.js → AIPerformancePage-BXF0kUqR-TO6NW5Gm.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Cefnidcc-Bp5rUTr8.js → AccountInfoPage-Cefnidcc-DSwJtSIq.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-QMyPHCdY-DP0akuHx.js → AccountInfoPageContent-QMyPHCdY-DRy0EobS.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BdFY6p56-RTWbIB_l.js → AccountLockedInfoModal-BdFY6p56-B0tAnrT1.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CoXPQka7-DFQZksfD.js → AccountReconDetailsDrawerPage-CoXPQka7-aq22NHyy.js} +1 -1
  7. package/dist/assets/{AccountRow-DHB-ETil-0INUiG8Z.js → AccountRow-DHB-ETil-Z8gDYNsd.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Dkz2VyEk-BJf7WrAq.js → AccountsPromoCardStack-Dkz2VyEk-De_7d8XV.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CUKknbhJ-CnCLxax6.js → AddAddressForCardDrawer-CUKknbhJ-CQQ-61A2.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-p0T8VFfo-WTTL1b0G.js → AddToWalletPage-p0T8VFfo-Ctc53U6-.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CTzjRkV2-CkKYMdrC.js → AgingReportsPage-CTzjRkV2-p7yXZoAe.js} +1 -1
  12. package/dist/assets/{AllUserItems-Dt9rMGJk-D2oOTLOS.js → AllUserItems-Dt9rMGJk-DSR8YYxl.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-71VQk7px-BPdIn6ZS.js → ApAgingDetailPage-71VQk7px-CdRJ5ma9.js} +1 -1
  14. package/dist/assets/{AppBasePage-tDs92z31-B3gR6k96.js → AppBasePage-tDs92z31-rHgUU93J.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-ULUH1WZ3-CblzrDc2.js → AppDrawerContent-ULUH1WZ3-Dz83WLLA.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Ciz-iaE5-ghG5WVzt.js → ApprovalRulesSettingsPage-Ciz-iaE5-B4YKMjoQ.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DcwM2rpv-C36SsOV8.js → ArAgingChart-DcwM2rpv-DLPBll-h.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-eGCSFdAM-BJk9vCxH.js → ArAgingDetailPage-eGCSFdAM-Bq8gFwY0.js} +1 -1
  19. package/dist/assets/{AttachmentView-CA6PRg4p-DDr9TCOl.js → AttachmentView-CA6PRg4p-BM0v2w3b.js} +1 -1
  20. package/dist/assets/{BankAccountSection-mWUT-G8y-2k5xTeyX.js → BankAccountSection-mWUT-G8y-BgZogOBU.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-IMtILLfL-BhKJ6bLn.js → BankAccountWarningSection-IMtILLfL-C1D-TVku.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-COyH3rdC-Be8G7lph.js → BankConnectionsSettingsPage-COyH3rdC-C92rNnjt.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BR_9uHRC-mLWBTrh1.js → BillDetailPage-BR_9uHRC-DOB1o1WS.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-cRAudMvm-CWVbYb1D.js → BillPayApprovalRuleDetailPage-cRAudMvm-l_SDm_n0.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-Cd0aJtip-BTxbg4yL.js → BillPayApprovalRulesPage-Cd0aJtip-CocKgiwD.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BYW097HT-D4YnpN75.js → BillPayPromoPage-BYW097HT-B6ysOR5N.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BahrLUn4-CqC29kIw.js → BillPaySetUpPage-BahrLUn4-Ci3Jw_jx.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-BjMeQKM0-CpnNOiGS.js → BillingSettingsPage-BjMeQKM0-BoKoI1dh.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CJ-GbBhL-B7DfrKfl.js → BillsBulkReviewDrawerPage-CJ-GbBhL-hKzOTQkg.js} +1 -1
  30. package/dist/assets/{BoxItem-CvhcNreT-DxmoznPD.js → BoxItem-CvhcNreT-BVRPLdci.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-LKrdd6Ej-BKb49OWB.js → BusinessVerificationPage-LKrdd6Ej-CfBndZj-.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-CfoSPAZU-BdVhRiwJ.js → CardNumberSubText-CfoSPAZU-xAy0dUA_.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-CWlaZrqz-DvIAxVRW.js → CashbackDetailPage-CWlaZrqz-ChzdfET6.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BNNbd3G1-BtUCuJum.js → ChargeCardDetailPage-BNNbd3G1-BqNdRSW1.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BzIvl8RY-Ncd3QF6u.js → ChargeCardListPage-BzIvl8RY-Dw3gzYHf.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-D-uQKI4t-lkMdiYYu.js → ChargeCardListTable-D-uQKI4t-djbc_tdw.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DmzlfD-l-OAmKFjuL.js → ChargeCardPaymentHistoryPage-DmzlfD-l-3MCUUfVT.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-DOYqOs6K-xBYShKSz.js → ChargeCardPromoPage-DOYqOs6K-CnWSg544.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-CSnLMycu-BkjYVqCn.js → ChargeCardSetupPage-CSnLMycu-Fc-nV6Xc.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-C82CsaNY-DzvzbShn.js → ChargeCardStatementsPage-C82CsaNY-CC2pqnJw.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DN5Ok0Y6-DOjKYa5p.js → CheckDepositDrawerPage-DN5Ok0Y6-ng0samw3.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CncMWpFI-CnBbDhbn.js → CollapsableReportTable-CncMWpFI-BCZVc9KX.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-5Gmlo5HX-mf8toy40.js → CompanyOfficerDetailsSection-5Gmlo5HX-pW5vmYaZ.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-Ccw8l9iz-CwNj32nj.js → CompanyPassportCard-Ccw8l9iz-DjuA33CI.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-IjpU53y_-BF5RjsoV.js → CompanyPassportPage-IjpU53y_-DJMDEFNH.js} +1 -1
  46. package/dist/assets/{CompleteProfile-CQUDJ-nI-DJVg2OT2.js → CompleteProfile-CQUDJ-nI-D5uRJScE.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-C_6Uy7eR-Np_3vQFo.js → ConfettiBurst-C_6Uy7eR-BvE47982.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-BVda4Dj4.js → ConstrainedInnerElement-BeIpAPjB-DxMMe6gv.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DM90rr4S-BcABoxWR.js → CreateOrEditVendorPage-DM90rr4S-C8JUMUxd.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Bh0QdxXh-Dti2BnoN.js → CreditCardPaymentDrawerPage-Bh0QdxXh-TJCbgx12.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-BDfEzwpU-4zlCOdOf.js → CurrencySelectField-BDfEzwpU-CRXhdOB1.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-CJGtq19l-BpCso2Fz.js → CustomerOnboardingActivationPage-CJGtq19l-oSOY3-iS.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-CP6DdMkC-DUTuOhqq.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSqc1_bS-CATYZXta.js → CustomerOnboardingDetailPageSkeleton-DSqc1_bS-CWy89yK1.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BuWnQGPi-BSZV9BI0.js → CustomerOnboardingNoStepsPage-BuWnQGPi-DIKi33VN.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-Bl2oAvin-B7GmsFRo.js → CustomerOnboardingPage-Bl2oAvin-QdpSJ3IL.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CZDipU2j-BbQ2Iy2J.js → CustomerOnboardingProductSuitePage-CZDipU2j-CY8bWPwX.js} +1 -1
  58. package/dist/assets/{Dashboard-DyQZQS2X-mxU1Jkng.js → Dashboard-DyQZQS2X-BbvnZv_G.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-Dn7pVdG9-DtcRvxDO.js → DashboardReportPage-Dn7pVdG9-B_qH3ZCe.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-iiFGhvRQ-y0LRofZR.js → DashboardSidebarBackgroundAnimation-iiFGhvRQ-BLezpzfb.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-DDdkQsmn-B5pGW8gX.js → DepositAccTransactionItem-DDdkQsmn-BhqvohO1.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-BHdmR6m5-7yonpKjA.js → DepositAccTransactionListPage-BHdmR6m5-C42qNt4G.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-CpwSOc_0-CElrVONi.js → DomesticWireDetailsPage-CpwSOc_0-BwoPHjA8.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Dhib22Hz-D3Lt9Smx.js → DownloadOverlay-Dhib22Hz-BMigVmXm.js} +1 -1
  65. package/dist/assets/{DrawerPage-nxxj86nQ-CJOa9BEO.js → DrawerPage-nxxj86nQ-V1LIna1_.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-CG5gmNTR-CH2Xt3X8.js → EditPeoplePage-CG5gmNTR-By4xfZt2.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-C2kqq9QP-Bbzp1pVf.js → EditReimbursementDetailPage-C2kqq9QP-Br957QFY.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-CL0FCU_m-BGtD2JCX.js → EntityDetailPage-CL0FCU_m-57FjLCVr.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-C29GLBzF-CWqpKadr.js → EntitySummarySection-C29GLBzF-D39CMGzi.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-B4kcx-VG-CGPR3A1h.js → ExpenseAutomationOverviewPage-B4kcx-VG-DxwDCeEn.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-DNwnoyPg-DCSz-PUa.js → ExpenseAutomationPage-DNwnoyPg-SnZAYqgF.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-K-InpYtZ-DIVfrk0c.js → ExpressPayPage-K-InpYtZ-aN7mrn0F.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-IsRBHkoD-e3f7mixU.js → FeaturePreviewPage-IsRBHkoD-TAwTKCM0.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-ClyCs5f_-Dx038WgT.js → FollowStepsSection-ClyCs5f_-Cbik-xF_.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-n8XrBXXp-BZl-OsOG.js → GlobalReviewListPage-n8XrBXXp-BZ2gMX08.js} +1 -1
  76. package/dist/assets/{InformationCardStack-BnOF2kCh-C7gNsonq.js → InformationCardStack-BnOF2kCh-BdgYGwde.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-Bgzkang3-CA8GAaRZ.js → InsightsCardStack-Bgzkang3-BzYt1Rxu.js} +1 -1
  78. package/dist/assets/{InsightsSection-C16f1RZL-BLvjZ1kW.js → InsightsSection-C16f1RZL-CuJbLdqY.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-D1QWrVQw-BXx7A_Fv.js → IntegrationsSettingsPage-D1QWrVQw-stOpPSQY.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DNNEqdWS-B78a52iW.js → InternationalWireSwiftDetailsPage-DNNEqdWS-D1uSKMyM.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-xmHZ6XN7-DwVwtiyi.js → InternationalWireVerificationPage-xmHZ6XN7-BNUJckvi.js} +1 -1
  82. package/dist/assets/{InviteFormPage-C-Io8wxr-DZ679TjD.js → InviteFormPage-C-Io8wxr-DLs7wMBm.js} +1 -1
  83. package/dist/assets/{InvitePageListView-B1PLdKSn-3WJcdIb9.js → InvitePageListView-B1PLdKSn--gkO7IR1.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-BArxsNxE-BXI3n59t.js → InvitePeoplePage-BArxsNxE-3PUmbMCi.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-Eo7dq75t-C9QkPoGX.js → InvoiceUploadSection-Eo7dq75t-Cy0Z1dJW.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-CC6D-uPl-dzV4_AJm.js → IssueChargeCardPage-CC6D-uPl-yVNFmovT.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CKZJgaV5-cxiw5XUU.js → LabeledAddressValue-CKZJgaV5-BGReF5ah.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-DNGOSAvq-BXE6xS8k.js → LabeledAddressValueField-DNGOSAvq-ZfEgza85.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-CR2DslKs-Cl2J9WYt.js → LabeledControlledCheckBoxField-CR2DslKs-pPmmCP0u.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-B8Lbv837-DgWr30M7.js → LabeledCountryMultiSelectField-B8Lbv837-DyTmt0bq.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-N1wb0l0p-Dc3bkr-e.js → LabeledCreatableSingleSelectField-N1wb0l0p-BtlFpiVX.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-vSq1xSUM-C_0QT0Hr.js → LabeledDocumentField-vSq1xSUM-SQWGz5c_.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-CqDEmdfe-DrhnwOAX.js → LabeledDropDownFormattedTextField-CqDEmdfe-DqyU6pbW.js} +1 -1
  94. package/dist/assets/{LabeledText-DiJE8avC-CseM5wCJ.js → LabeledText-DiJE8avC-24n-Mx9E.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CLup6THe-B8wjUmse.js → LabeledUserSingleSelectWithSubtitlesField-CLup6THe-DpA0JL_S.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CVg9PTpl-CmXvnZ1S.js → LabeledZeniRolesDropDownField-CVg9PTpl-B6wARtfF.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-DaGHGCIJ-ZPmKuaes.js → LinkJETransactionPage-DaGHGCIJ-Ba3aKUMJ.js} +1 -1
  98. package/dist/assets/{LockCardPage-CGYlmPkB-BpMPFgRW.js → LockCardPage-CGYlmPkB-BmKeq5lW.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-YJW7eKud-C5-4WX6d.js → LowBalancePopup-YJW7eKud-CTZA7O1Z.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-C3TnWCqC-ByYEbu_t.js → MagicLinkACHDetailsPage-C3TnWCqC-CY08CjBz.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BUjap5Q7-Bvcp-odv.js → MagicLinkDomesticWireDetailsPage-BUjap5Q7-Bt-m4lf6.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-COXCHYYI-DrkXHgBT.js → MagicLinkInternationalWireDetailsPage-COXCHYYI-7TUAwLMH.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-CdHOdUZ5-CSa0Vcf2.js → MagicLinkSuccessPage-CdHOdUZ5-BuqevIb3.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-CCF7Ahgh-BraYyP_S.js → MagicLinkTitleSection-CCF7Ahgh-BP7fXimK.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-WMvjKFiS-C1_EkXyZ.js → MailingDetailsSection-WMvjKFiS-DrE6z-0r.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BJi0owDl-C6fsBM4C.js → MyBankConnectionsSettingsPage-BJi0owDl-CUk4FnA3.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-BWIla-hh-BQ4ym9Ei.js → MyPendingActivationChargeCardListPage-BWIla-hh-Xvknm8Hk.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-B0uYhezS-DbNVKwps.js → MyProfileSettingsPage-B0uYhezS-zOi4BtW_.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-BGZvvByA-4hcBX9YX.js → NavBarWithPicker-BGZvvByA-uJYEillO.js} +1 -1
  110. package/dist/assets/{NavigationArrow-C3pN6F3u-tAd2nukx.js → NavigationArrow-C3pN6F3u-D0cIq2JZ.js} +1 -1
  111. package/dist/assets/{NavigationDots-D1rJnVkZ-DI_AwSe8.js → NavigationDots-D1rJnVkZ-lWOs2PbN.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-DU2Z_NYb-CczYC_Cy.js → NewGlobalMerchantPage-DU2Z_NYb-CKdyBaRw.js} +1 -1
  113. package/dist/assets/{NoDataChart-DuEsebs4-BQTTXvg9.js → NoDataChart-DuEsebs4-dCa63BXA.js} +1 -1
  114. package/dist/assets/{NoDataTable-B7LkfAQX-CdTNbZgo.js → NoDataTable-B7LkfAQX-Bh-1O4BJ.js} +1 -1
  115. package/dist/assets/{NotFoundPage-DLtikmoi-CJn1LsuA.js → NotFoundPage-DLtikmoi-DezEm7uZ.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-DwsCKyVM-AIL1SOh9.js → NotificationSettingsPage-DwsCKyVM-DSXQBvov.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-CMtBeX4D-Dg29H_7b.js → NotificationsListConfig-CMtBeX4D-8x056zZE.js} +1 -1
  118. package/dist/assets/{NotificationsPage-CZrXzWli-9C2iwOMz.js → NotificationsPage-CZrXzWli-CszMkZ09.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-0PLAOQu5-DLLDMhgS.js → OpExByVendorPage-0PLAOQu5-C1H7Eb6W.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-D2G-CVv7.js → OverlayContainerPage-D4QU0p4o-rH6NcU1w.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-PkrBqcAR-Djqg6ntv.js → PandLWithForecastPage-PkrBqcAR-DeIB5p6W.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C026Xg59-Du1LULBI.js → PaymentAccountSetupBillingAddressSection-C026Xg59-BhwxbNk-.js} +1 -1
  123. package/dist/assets/{PeoplePage-PyWOVc5M-DILaV4hT.js → PeoplePage-PyWOVc5M-DDstQObu.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-fMS3PJAc-r1K9Xxoj.js → ProductsCarousel-fMS3PJAc-BotcQNAa.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-HY42c1kU-DSpx7Fy3.js → PromoBaseCards-HY42c1kU-BhYjmYvJ.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-B_AOC_hG-BSWcu79k.js → QBOConnectionDialog-B_AOC_hG-CeVd-SRA.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-CQHdqpJF-CH_S6Ewi.js → QBOSetupSection-CQHdqpJF-7U6mrHSv.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D0oeO5MZ-95x-7hZW.js → ReimbursementApprovalRuleDetailPage-D0oeO5MZ-OtCnB_q6.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRulesPage-Beg7ljMA-Cr4MOQVc.js → ReimbursementApprovalRulesPage-Beg7ljMA-B5KQz4js.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-DBxKNhum-DE3tfEga.js → ReimbursementDetailPage-DBxKNhum-eRxMF0_S.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-DxZeTOQW-CNGgL2HL.js → ReimbursementPromoPage-DxZeTOQW-De_TV65M.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-CN4LhFrS-BfRZlJ5w.js → ReimbursementSetUpPage-CN4LhFrS-BtgsPTFS.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage--6OUmjzW-D3GoPfdC.js → ReimbursementsBulkReviewDrawerPage--6OUmjzW-CEunkPIJ.js} +1 -1
  134. package/dist/assets/{ReloadCard-BluhBNO--D0eilzgR.js → ReloadCard-BluhBNO--JXB8TN8J.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-8KYimU0G-YYB33_Xu.js → ReportTableViewSelector-8KYimU0G-YQryAILK.js} +1 -1
  136. package/dist/assets/{ReportsPage-D-UfdQ34-CNx_b_ly.js → ReportsPage-D-UfdQ34-BJylCiUX.js} +1 -1
  137. package/dist/assets/{RevenueChart-C9EztEKi-BbW9YFNy.js → RevenueChart-C9EztEKi-D-GF5bMS.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-B6SYtYUA-d0bXCGW4.js → ReviewDetailsPage-B6SYtYUA-Bic5mY3s.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-C2enVZqt-C_vH9CpL.js → ReviewOverlay-C2enVZqt-CeljToJx.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-DA3BIg5j-DG-Lih0N.js → RoleWithToolTip-DA3BIg5j-D1CK22Z-.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DmBVVX79-6-1NS4t6.js → ScheduleDetailsFixedAssetsPage-DmBVVX79-CCSFvhRM.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-Bp3d9tdD-Ct_0Fci8.js → ScheduleDetailsPage-Bp3d9tdD-q1bZSw14.js} +1 -1
  143. package/dist/assets/{ScheduleSequenceTable-B1fJ-_4f-VSvFhL5f.js → ScheduleSequenceTable-B1fJ-_4f-mhp0CylL.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-CvjimsD0.js → ScreenRoutes-BIJj5Saj.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-DiEFZwFL-DC1aQ-pj.js → SetUpAccountSection-DiEFZwFL-BaHFxHp4.js} +1 -1
  146. package/dist/assets/{SignIn-T74bkrxk-ptxkK8PP.js → SignIn-T74bkrxk-C_P0bpoN.js} +1 -1
  147. package/dist/assets/{SignInScreen-BYcec7re.js → SignInScreen-BoQ9lNZS.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-BoWIPx5V-DXR-HLOL.js → SpendManagementListViewPage-BoWIPx5V-Be8Dc1Y5.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-DRrECrxC-dCEqiObE.js → SpendManagementPerTabPage-DRrECrxC-Cm5biaiO.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-xoH8d-PB-6nPhw1xu.js → SpendManagementSection-xoH8d-PB-DpntNr3t.js} +1 -1
  151. package/dist/assets/{StatementItem-BthXwXFQ-j2l7jY5v.js → StatementItem-BthXwXFQ-BNIZCHgX.js} +1 -1
  152. package/dist/assets/{StatementsPage-FmjXzQ3g-oWNeSYKv.js → StatementsPage-FmjXzQ3g-B0d3-aZp.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-C-2QxP_3-DVOlvAn4.js → StatusSwitcher-C-2QxP_3-CPrG2471.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-D3iTZY-F-CSjMFn8K.js → SubTabSwitcher-D3iTZY-F-Vu8hc56R.js} +1 -1
  155. package/dist/assets/{SummaryCard-BbzDLzif-jCXiXuPT.js → SummaryCard-BbzDLzif-D9HqINXn.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-DI_lMbra-CdUdFSOY.js → TaskManagementPage-DI_lMbra-CVdOpIFG.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-C3mH2YE7-CZoVUBkm.js → TimeRangeSwitcher-C3mH2YE7-CxdwLD3J.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-C8iVJfJz-B35AQLzW.js → TimeframeSwitcher-C8iVJfJz-r75odRQ8.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-CdFx3214-DF2bdFav.js → TimeframeSwitcherWithToggle-CdFx3214-B8qb2uqc.js} +1 -1
  160. package/dist/assets/{TopExCard-DlberdWy-AXYKUOGt.js → TopExCard-DlberdWy-C2q30Aki.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-DZyUPQ9i-kejvgUv1.js → TopExDetailPage-DZyUPQ9i-BLn9-yw3.js} +1 -1
  162. package/dist/assets/{TransactionActivityLogPage-Bpdbc21v-DQ1FP9jB.js → TransactionActivityLogPage-Bpdbc21v-CM1zPkd3.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-CaRcJukf-CnifEZvn.js → TransactionDetailPage-CaRcJukf-Bo597BVB.js} +1 -1
  164. package/dist/assets/{TransactionList-BAziC6eS-6qNOgl8E.js → TransactionList-BAziC6eS-BmUgbhkd.js} +1 -1
  165. package/dist/assets/{TransactionListBig-D6Q9QimF-DjvcRG58.js → TransactionListBig-D6Q9QimF-B_YVo6kI.js} +1 -1
  166. package/dist/assets/{TransactionListPage-Ce_lSS6C-YqGl74XY.js → TransactionListPage-Ce_lSS6C-DIQhg2cv.js} +1 -1
  167. package/dist/assets/{TransactionVendorDetailPage-B4A4amjV-rbnaqzN7.js → TransactionVendorDetailPage-B4A4amjV-BhO2vQ5S.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-Dfhpu5Yd-D-lZQHfG.js → TransferDrawerPage-Dfhpu5Yd-BZldmbFB.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-B6WhqRDb-BYZSOn3C.js → TreasuryOverviewPage-B6WhqRDb-DEqeKyOX.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-C5DXueHJ-DvuJR2wv.js → TreasuryPromoPage-C5DXueHJ-BlBWoLLu.js} +1 -1
  171. package/dist/assets/{TreasuryStatementsPage-8qXJLq1U-C7VbrxO2.js → TreasuryStatementsPage-8qXJLq1U-B1yVK5_e.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-ClJA2mWI-xsnS5RHz.js → TreasuryTaxLetterPage-ClJA2mWI-CtelY7nv.js} +1 -1
  173. package/dist/assets/{TrendChart-FPLC1aMv-BpKn1lA4.js → TrendChart-FPLC1aMv-Dsg7RNKY.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-_O4Fz3pt-B_P0jc9Y.js → TrendWithTransactions-_O4Fz3pt-CY9f274t.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-rdMygvxx-CB5luTSv.js → UncategorizedAccountsMappingPage-rdMygvxx-Buu96HmY.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-WfFukh9_-Db1kSxll.js → UnitIntegrationPage-WfFukh9_-B5ZkACvG.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-xiqklxM_-C-ghpumD.js → UploadAdditionalDocumentOverlay-xiqklxM_-B0Gp_VuL.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-DK98Bntc-CHLdTtz5.js → Vendor2FAPopup-DK98Bntc-DVN99uTL.js} +1 -1
  179. package/dist/assets/{VendorACHDetailsPage-Bxo11l9N-DiVKko5M.js → VendorACHDetailsPage-Bxo11l9N-k6uIrVLU.js} +1 -1
  180. package/dist/assets/{VendorDetailPage-Cexet52V-fximdJ6Q.js → VendorDetailPage-Cexet52V-ByQEr6nx.js} +1 -1
  181. package/dist/assets/{VendorDomesticWireDetailsPage-DbhChvIp-Cn8HKuB3.js → VendorDomesticWireDetailsPage-DbhChvIp-Gd-LcXBC.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-Bnwp2JiZ-B1voyhYV.js → VendorFiling1099EditablePage-Bnwp2JiZ-BVK55tl7.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-C_xSf47L-YlGbjVwi.js → VendorFirstReviewPage-C_xSf47L-CdUnKlD1.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-DVuenbq8-CpmeIHQG.js → VendorInternationalWireDetailsPage-DVuenbq8-BQJUIatX.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BNySLbxk-CvXAX7v6.js → VendorInternationalWireSwiftDetailsPage-BNySLbxk-ClaB4MmH.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-DYSlIqnJ-D8aKvLQv.js → VendorsAccountsSection-DYSlIqnJ-BEEMJGXs.js} +1 -1
  187. package/dist/assets/{VerifyDevice-MbuunHNJ-0NsL1ICM.js → VerifyDevice-MbuunHNJ-DK2vpiqN.js} +1 -1
  188. package/dist/assets/{VideoPlayer-B-oV4gcS-IlmjYyud.js → VideoPlayer-B-oV4gcS-KQE08Dmc.js} +1 -1
  189. package/dist/assets/{VideoPopup-DFfn4tne-e-69xGLM.js → VideoPopup-DFfn4tne-DCRKhHRK.js} +1 -1
  190. package/dist/assets/{WarningsDrawerPage-C_nKfBpS-CgVWLVpY.js → WarningsDrawerPage-C_nKfBpS-DHXk74av.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-jYwDoLiN-C9ExO4Jo.js → ZeniAccountDetailPage-jYwDoLiN-CyMF0xwM.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-CWiWh2ld-BsZ-NitY.js → ZeniAccountListViewPage-CWiWh2ld-Z2OcnxXS.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-BK32R48c-BhUfl-Q9.js → ZeniAccountNavBarPieces-BK32R48c-BBttD6LN.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-DPab5PDZ-CdBoWbQ6.js → ZeniAccountPromoPage-DPab5PDZ-Df3iX_i_.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-Dbqa1LpU-DR-JNx31.js → ZeniAccountSetupPage-Dbqa1LpU-BMCQ0hLC.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-SDIPg48K-6zG7DJUz.js → ZeniCopyright-SDIPg48K-CevhNJoN.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-Bg59KBt9-PXMuIYqh.js → ZeniTransferAmountSlider-Bg59KBt9-CyCGlMPD.js} +1 -1
  198. package/dist/assets/{analyticsHelper-DAh0LrcL.js → analyticsHelper-CuSP0M5f.js} +1 -1
  199. package/dist/assets/{analyticsHelper-DfCXurTN-CSH8s8BS.js → analyticsHelper-DfCXurTN-BrPn0dkx.js} +1 -1
  200. package/dist/assets/{chartTypes-H306f0ce-DSh0OTeZ.js → chartTypes-H306f0ce-MyWtRYTO.js} +1 -1
  201. package/dist/assets/{commonDimensions-CWffpElu-DyTXC1xY.js → commonDimensions-CWffpElu-Q8mZH4nJ.js} +1 -1
  202. package/dist/assets/{commonTypes-DP3nDhtI-D-fLD29s.js → commonTypes-DP3nDhtI-B_y6nYRG.js} +1 -1
  203. package/dist/assets/{detailCommon-CfrL4ryy-K2hvWKyD.js → detailCommon-CfrL4ryy-Drm9_QUO.js} +1 -1
  204. package/dist/assets/{downloadPdf-C1zKY9Rq-Bj2M-x0n.js → downloadPdf-C1zKY9Rq-CXegp3G4.js} +1 -1
  205. package/dist/assets/{helper-Byvbf3nO-BTmT7Zux.js → helper-Byvbf3nO-DBknGFPS.js} +1 -1
  206. package/dist/assets/{index-BIYLqgct.js → index-i62ZqD9V.js} +5 -5
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-9Rpdq0ZF-lTETWBpR.js → mapLoadingInProgressToTreeNode-9Rpdq0ZF-CtStsMXI.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CH8Zwu7Z-DxWz5zBn.js → mapSectionWithAcOnlyToTreeNode-CH8Zwu7Z-DOYdbM0-.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-BCRaNO17-Byu958vH.js → mapSpacerToTreeNode-BCRaNO17-jsRjLpEV.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cc1RpGkM-aNtvWBak.js → mapTimeframeBalancesToTreeNode-Cc1RpGkM-BW4ULwuZ.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DRCseSgo-Bs0MPeVL.js → mapTimeframeBalancesToTreeNode-DRCseSgo-DGrY-pp2.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BnHYlJ_0-DmtLnyQB.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BnHYlJ_0-LIMzcEpN.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-BDzeodcz-CM7cQRcs.js → toCOABalancesWithID-BDzeodcz-Sx-7PAVa.js} +1 -1
  214. package/dist/assets/{toChartData-ILqaSUrn-x9ixmlfa.js → toChartData-ILqaSUrn-DEH7gUMA.js} +1 -1
  215. package/dist/assets/{uploadAttachment-BO1VJaKW-DrgLpT8c.js → uploadAttachment-BO1VJaKW-C7cr9w_9.js} +1 -1
  216. package/dist/assets/{uploadReceipts-Dge0cNF1-BX-9R6_Z.js → uploadReceipts-Dge0cNF1-CuKjXY6-.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +1 -1
  219. package/dist/assets/CustomerOnboardingContainerPage-CP6DdMkC-CnaDFGWF.js +0 -1
@@ -1,4 +1,4 @@
1
- import{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as wt,F as se,o as s,jz as Xe,cj as Ie,cn as ft,ga as Ct,ba as $t,bP as Ze,aU as Tt,ce as jt,J as ie,a9 as yt,y as Je,cH as vt,ad as bt,b4 as St,cv as Gt,iV as Lt,iW as It,jA as Me,aS as Nt,i as De,bU as Ne,eQ as Qe,jB as Et,d1 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,aj as re,jO as Mt,jP as Bt,x as zt,ao as At,jQ as Rt,dc as Wt,jR as Ft,cL as it,es as Ot,b as Pt,jS as Ht,jT as _t,gb as Ut,gC as Vt,jU as Kt,jV as Z,jW as Be,cx as qt,jX as Yt,jY as Xt,jZ as Zt,j_ as ze,p as Ae,gz as Jt,an as Qt}from"./index-BIYLqgct.js";import{a as n}from"./sentry-DhNwX3jk.js";import{n as o,c as we}from"./mui-rLvQ8A4a.js";import{Gg as es,Gh as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-DwkN4IvA.js";import{J as ss,t as os}from"./SpendManagementSection-xoH8d-PB-6nPhw1xu.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-CMtBeX4D-Dg29H_7b.js";import{a as ls}from"./SpendManagementListViewPage-BoWIPx5V-DXR-HLOL.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./StatusSwitcher-C-2QxP_3-DVOlvAn4.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]="a2d0e7e0-904d-4892-a5e7-dce99fb13ec6",e._sentryDebugIdIdentifier="sentry-dbid-a2d0e7e0-904d-4892-a5e7-dce99fb13ec6")}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{ax as gt,d as Ye,V as t,jy as q,bD as kt,aa as _,cr as xt,am as K,ar as wt,F as se,o as s,jz as Xe,cj as Ie,cn as ft,ga as Ct,ba as $t,bP as Ze,aU as Tt,ce as jt,J as ie,a9 as yt,y as Je,cH as vt,ad as bt,b4 as St,cv as Gt,iV as Lt,iW as It,jA as Me,aS as Nt,i as De,bU as Ne,eQ as Qe,jB as Et,d1 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,aj as re,jO as Mt,jP as Bt,x as zt,ao as At,jQ as Rt,dc as Wt,jR as Ft,cL as it,es as Ot,b as Pt,jS as Ht,jT as _t,gb as Ut,gC as Vt,jU as Kt,jV as Z,jW as Be,cx as qt,jX as Yt,jY as Xt,jZ as Zt,j_ as ze,p as Ae,gz as Jt,an as Qt}from"./index-i62ZqD9V.js";import{a as n}from"./sentry-DhNwX3jk.js";import{n as o,c as we}from"./mui-rLvQ8A4a.js";import{Gg as es,Gh as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-DwkN4IvA.js";import{J as ss,t as os}from"./SpendManagementSection-xoH8d-PB-DpntNr3t.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-CMtBeX4D-8x056zZE.js";import{a as ls}from"./SpendManagementListViewPage-BoWIPx5V-Be8Dc1Y5.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./StatusSwitcher-C-2QxP_3-CPrG2471.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]="a2d0e7e0-904d-4892-a5e7-dce99fb13ec6",e._sentryDebugIdIdentifier="sentry-dbid-a2d0e7e0-904d-4892-a5e7-dce99fb13ec6")}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 _,aF as S,dm as B,bs as H,o as a,aj as L}from"./index-BIYLqgct.js";import{a as n}from"./sentry-DhNwX3jk.js";import{n as g}from"./mui-rLvQ8A4a.js";import{Y as q}from"./core-DQ8U4CJb.js";import{V as U}from"./CollapsableReportTable-CncMWpFI-CnBbDhbn.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]="1580487e-53b5-44c7-a266-64486bffcf38",e._sentryDebugIdIdentifier="sentry-dbid-1580487e-53b5-44c7-a266-64486bffcf38")}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 _,aF as S,dm as B,bs as H,o as a,aj as L}from"./index-i62ZqD9V.js";import{a as n}from"./sentry-DhNwX3jk.js";import{n as g}from"./mui-rLvQ8A4a.js";import{Y as q}from"./core-DQ8U4CJb.js";import{V as U}from"./CollapsableReportTable-CncMWpFI-BCZVc9KX.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]="1580487e-53b5-44c7-a266-64486bffcf38",e._sentryDebugIdIdentifier="sentry-dbid-1580487e-53b5-44c7-a266-64486bffcf38")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{V as s,o,aj as f,F as p}from"./index-BIYLqgct.js";import{n}from"./mui-rLvQ8A4a.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]="6675e759-ce01-41d7-8e81-d1944b3c60db",e._sentryDebugIdIdentifier="sentry-dbid-6675e759-ce01-41d7-8e81-d1944b3c60db")}catch{}})();const u=n.div`
1
+ import{V as s,o,aj as f,F as p}from"./index-i62ZqD9V.js";import{n}from"./mui-rLvQ8A4a.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]="6675e759-ce01-41d7-8e81-d1944b3c60db",e._sentryDebugIdIdentifier="sentry-dbid-6675e759-ce01-41d7-8e81-d1944b3c60db")}catch{}})();const u=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{J as d,V as i,y as n,aj as u,bK as w}from"./index-BIYLqgct.js";import{n as r}from"./mui-rLvQ8A4a.js";import{b as l}from"./TimeframeSwitcher-C8iVJfJz-B35AQLzW.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]="a2292d7e-d182-43bf-9396-1866a8b4b7ac",e._sentryDebugIdIdentifier="sentry-dbid-a2292d7e-d182-43bf-9396-1866a8b4b7ac")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),x=r(b)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>i.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
1
+ import{J as d,V as i,y as n,aj as u,bK as w}from"./index-i62ZqD9V.js";import{n as r}from"./mui-rLvQ8A4a.js";import{b as l}from"./TimeframeSwitcher-C8iVJfJz-r75odRQ8.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]="a2292d7e-d182-43bf-9396-1866a8b4b7ac",e._sentryDebugIdIdentifier="sentry-dbid-a2292d7e-d182-43bf-9396-1866a8b4b7ac")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},b=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),x=r(b)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),p=e=>i.jsx(x,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aF as z,J as M,V as t,d as x,u as f,b as T,aZ as H,aP as R,aN as F,o as p,aj as C,ba as U,am as X,F as S,aO as Y,aT as E,b3 as G,b4 as N,ab as q,aU as J,bS as Q}from"./index-BIYLqgct.js";import{P as w,a as W}from"./sentry-DhNwX3jk.js";import{F7 as Z}from"./zeni-epic-state-DwkN4IvA.js";import{n as g}from"./mui-rLvQ8A4a.js";import{I as ee,T as te}from"./ReloadCard-BluhBNO--D0eilzgR.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-B74xUk4A.js";import{H as k,X as L,Y as $,K,O as P,Q as ne,S as oe}from"./recharts-BYppTjSs.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]="73e592ae-e6ff-4102-bc65-a9b7a8cbee0a",e._sentryDebugIdIdentifier="sentry-dbid-73e592ae-e6ff-4102-bc65-a9b7a8cbee0a")}catch{}})();const ie=g(E)`
1
+ import{aF as z,J as M,V as t,d as x,u as f,b as T,aZ as H,aP as R,aN as F,o as p,aj as C,ba as U,am as X,F as S,aO as Y,aT as E,b3 as G,b4 as N,ab as q,aU as J,bS as Q}from"./index-i62ZqD9V.js";import{P as w,a as W}from"./sentry-DhNwX3jk.js";import{F7 as Z}from"./zeni-epic-state-DwkN4IvA.js";import{n as g}from"./mui-rLvQ8A4a.js";import{I as ee,T as te}from"./ReloadCard-BluhBNO--JXB8TN8J.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-B74xUk4A.js";import{H as k,X as L,Y as $,K,O as P,Q as ne,S as oe}from"./recharts-BYppTjSs.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]="73e592ae-e6ff-4102-bc65-a9b7a8cbee0a",e._sentryDebugIdIdentifier="sentry-dbid-73e592ae-e6ff-4102-bc65-a9b7a8cbee0a")}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,aP as j,b4 as B,w as P,o as i,y as b,bR as H,bt as D,u as c,p as V,am as $,ab as F,b0 as z}from"./index-BIYLqgct.js";import{n}from"./mui-rLvQ8A4a.js";import{F7 as T}from"./zeni-epic-state-DwkN4IvA.js";import{E as _,I}from"./TopExCard-DlberdWy-AXYKUOGt.js";import{b as M}from"./TimeframeSwitcher-C8iVJfJz-B35AQLzW.js";import{d as L}from"./NoDataTable-B7LkfAQX-CdTNbZgo.js";import{P as Z,a as o}from"./sentry-DhNwX3jk.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./ReloadCard-BluhBNO--D0eilzgR.js";import"./graphic-no-data-l-DU4J8fDt-B74xUk4A.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]="7d30376b-59c1-4177-bea1-b0eb6ec29858",e._sentryDebugIdIdentifier="sentry-dbid-7d30376b-59c1-4177-bea1-b0eb6ec29858")}catch{}})();const E="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,aP as j,b4 as B,w as P,o as i,y as b,bR as H,bt as D,u as c,p as V,am as $,ab as F,b0 as z}from"./index-i62ZqD9V.js";import{n}from"./mui-rLvQ8A4a.js";import{F7 as T}from"./zeni-epic-state-DwkN4IvA.js";import{E as _,I}from"./TopExCard-DlberdWy-C2q30Aki.js";import{b as M}from"./TimeframeSwitcher-C8iVJfJz-r75odRQ8.js";import{d as L}from"./NoDataTable-B7LkfAQX-Bh-1O4BJ.js";import{P as Z,a as o}from"./sentry-DhNwX3jk.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./ReloadCard-BluhBNO--JXB8TN8J.js";import"./graphic-no-data-l-DU4J8fDt-B74xUk4A.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]="7d30376b-59c1-4177-bea1-b0eb6ec29858",e._sentryDebugIdIdentifier="sentry-dbid-7d30376b-59c1-4177-bea1-b0eb6ec29858")}catch{}})();const E="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,am as I,x as B,eI as U,an as K,bh as M,h as P,aj as W,dv as q,a_ as J}from"./index-BIYLqgct.js";import{a as Q}from"./sentry-DhNwX3jk.js";import{n as i}from"./mui-rLvQ8A4a.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="40d2e234-271e-49b4-958e-83d9405a3239",e._sentryDebugIdIdentifier="sentry-dbid-40d2e234-271e-49b4-958e-83d9405a3239")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function O(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=G(s),h=O(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function X(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(F,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Me,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,$)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Ie,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
1
+ import{V as n,T as F,o,b8 as H,F as z,am as I,x as B,eI as U,an as K,bh as M,h as P,aj as W,dv as q,a_ as J}from"./index-i62ZqD9V.js";import{a as Q}from"./sentry-DhNwX3jk.js";import{n as i}from"./mui-rLvQ8A4a.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="40d2e234-271e-49b4-958e-83d9405a3239",e._sentryDebugIdIdentifier="sentry-dbid-40d2e234-271e-49b4-958e-83d9405a3239")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:x}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Z(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Z(e[0].eventType)}function G(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function O(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=G(s),h=O(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function X(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(F,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Me,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=Q.useState(!1),a=Y(e),s=a?[]:X(e),l=a?R(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx($e,{})]}),n.jsxs(xe,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format(x.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format(x.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,$)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Ie,{children:c.newValue})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,$)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${$}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{dS as Hn,dT as Jn,I as Gn,q as Yn,d as _t,a9 as Xn,J as ae,F as M,aR as Yt,dU as Zn,dV as Qn,cH as Kn,aF as ea,dW as an,dX as ta,V as i,ad as ia,bD as na,dY as aa,dZ as oa,d_ as sa,d$ as Ai,aS as la,y as N,ab as F,e0 as on,e1 as Te,e2 as Oe,e3 as Ne,e4 as Qe,e5 as Ke,e6 as kt,e7 as zt,e8 as et,e9 as ht,ea as At,eb as Vt,ec as Xt,ed as ee,ee as ra,ef as Kt,eg as pe,eh as sn,ei as me,ej as ln,aL as ca,ek as Tt,el as Vi,em as da,i as ua,cr as pa,T as Di,o as a,ce as ma,en as ha,u as O,w as vi,p as re,ar as Ti,bb as ai,h as ga,eo as fa,cl as ya,cj as oi,cL as ot,ep as ba,eq as qt,aV as rn,c$ as xa,er as va,ch as wa,ci as Ca,aP as Le,am as ye,b0 as Ia,es as $a,et as cn,eu as Zt,ev as Qt,ew as mi,dh as Da,b4 as Ta,cv as Oa,ex as Oi,a8 as dn,ey as ei,ez as ti,eA as un,cQ as pn,bU as Li,eB as hi,dn as gi,eC as La,bt as ja,eD as Ei,eE as Sa,eF as ka,az as za,eG as Aa,eH as Va,H as mn,eI as hn,bL as Ea,eJ as Ri,eK as gn,eL as fn,eM as yn,bJ as st,au as Ra,at as Pa,dv as _a,b as bn,eN as Na,bH as Ua,x as Ba,an as Wa,l as Ma,aX as wi}from"./index-BIYLqgct.js";import{a as v,P as Ot}from"./sentry-DhNwX3jk.js";import{n as l}from"./mui-rLvQ8A4a.js";import{FE as Fa,uu as qa,bE as Rt,bD as Pt,bF as Ha,c3 as Ja,l8 as Ga,bh as Ya}from"./zeni-epic-state-DwkN4IvA.js";import{x as Pi}from"./LabeledControlledCheckBoxField-CR2DslKs-Cl2J9WYt.js";import{R as Xa}from"./TrendWithTransactions-_O4Fz3pt-B_P0jc9Y.js";import{u as Za,c as Qa,d as Ka,m as eo}from"./uploadAttachment-BO1VJaKW-DrgLpT8c.js";import{o as to}from"./radio-default-CiSgisfh-D50TMWyl.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./TrendChart-FPLC1aMv-BpKn1lA4.js";import"./chartTypes-H306f0ce-DSh0OTeZ.js";import"./toCOABalancesWithID-BDzeodcz-CM7cQRcs.js";import"./toChartData-ILqaSUrn-x9ixmlfa.js";import"./NoDataChart-DuEsebs4-BQTTXvg9.js";import"./InsightsSection-C16f1RZL-BLvjZ1kW.js";import"./NavigationDots-D1rJnVkZ-DI_AwSe8.js";import"./TransactionList-BAziC6eS-6qNOgl8E.js";import"./ConstrainedInnerElement-BeIpAPjB-BVda4Dj4.js";import"./BoxItem-CvhcNreT-DxmoznPD.js";import"./commonDimensions-CWffpElu-DyTXC1xY.js";import"./panelSelectedMixin-Cddsb26L-CUpBjaaO.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]="9b2c5289-f936-4992-95f4-f3e16d3c082c",e._sentryDebugIdIdentifier="sentry-dbid-9b2c5289-f936-4992-95f4-f3e16d3c082c")}catch{}})();const io={headerMarginTop:new N(O[7],O[8])},no=l(ye)`
1
+ import{dS as Hn,dT as Jn,I as Gn,q as Yn,d as _t,a9 as Xn,J as ae,F as M,aR as Yt,dU as Zn,dV as Qn,cH as Kn,aF as ea,dW as an,dX as ta,V as i,ad as ia,bD as na,dY as aa,dZ as oa,d_ as sa,d$ as Ai,aS as la,y as N,ab as F,e0 as on,e1 as Te,e2 as Oe,e3 as Ne,e4 as Qe,e5 as Ke,e6 as kt,e7 as zt,e8 as et,e9 as ht,ea as At,eb as Vt,ec as Xt,ed as ee,ee as ra,ef as Kt,eg as pe,eh as sn,ei as me,ej as ln,aL as ca,ek as Tt,el as Vi,em as da,i as ua,cr as pa,T as Di,o as a,ce as ma,en as ha,u as O,w as vi,p as re,ar as Ti,bb as ai,h as ga,eo as fa,cl as ya,cj as oi,cL as ot,ep as ba,eq as qt,aV as rn,c$ as xa,er as va,ch as wa,ci as Ca,aP as Le,am as ye,b0 as Ia,es as $a,et as cn,eu as Zt,ev as Qt,ew as mi,dh as Da,b4 as Ta,cv as Oa,ex as Oi,a8 as dn,ey as ei,ez as ti,eA as un,cQ as pn,bU as Li,eB as hi,dn as gi,eC as La,bt as ja,eD as Ei,eE as Sa,eF as ka,az as za,eG as Aa,eH as Va,H as mn,eI as hn,bL as Ea,eJ as Ri,eK as gn,eL as fn,eM as yn,bJ as st,au as Ra,at as Pa,dv as _a,b as bn,eN as Na,bH as Ua,x as Ba,an as Wa,l as Ma,aX as wi}from"./index-i62ZqD9V.js";import{a as v,P as Ot}from"./sentry-DhNwX3jk.js";import{n as l}from"./mui-rLvQ8A4a.js";import{FE as Fa,uu as qa,bE as Rt,bD as Pt,bF as Ha,c3 as Ja,l8 as Ga,bh as Ya}from"./zeni-epic-state-DwkN4IvA.js";import{x as Pi}from"./LabeledControlledCheckBoxField-CR2DslKs-pPmmCP0u.js";import{R as Xa}from"./TrendWithTransactions-_O4Fz3pt-CY9f274t.js";import{u as Za,c as Qa,d as Ka,m as eo}from"./uploadAttachment-BO1VJaKW-C7cr9w_9.js";import{o as to}from"./radio-default-CiSgisfh-D50TMWyl.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./TrendChart-FPLC1aMv-Dsg7RNKY.js";import"./chartTypes-H306f0ce-MyWtRYTO.js";import"./toCOABalancesWithID-BDzeodcz-Sx-7PAVa.js";import"./toChartData-ILqaSUrn-DEH7gUMA.js";import"./NoDataChart-DuEsebs4-dCa63BXA.js";import"./InsightsSection-C16f1RZL-CuJbLdqY.js";import"./NavigationDots-D1rJnVkZ-lWOs2PbN.js";import"./TransactionList-BAziC6eS-BmUgbhkd.js";import"./ConstrainedInnerElement-BeIpAPjB-DxMMe6gv.js";import"./BoxItem-CvhcNreT-BVRPLdci.js";import"./commonDimensions-CWffpElu-Q8mZH4nJ.js";import"./panelSelectedMixin-Cddsb26L-CUpBjaaO.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]="9b2c5289-f936-4992-95f4-f3e16d3c082c",e._sentryDebugIdIdentifier="sentry-dbid-9b2c5289-f936-4992-95f4-f3e16d3c082c")}catch{}})();const io={headerMarginTop:new N(O[7],O[8])},no=l(ye)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,ao=l(ye)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{ce as ft,J as R,V as e,b4 as ut,ab as h,dh as xt,di as ht,dc as pt,dj as gt,o as a,p as A,cv as bt,F as y,y as Z,T as wt,am as v,u as g,aj as $t,dk as yt,dl as X,d3 as G,aP as tt,an as vt}from"./index-BIYLqgct.js";import{a as u,P as kt}from"./sentry-DhNwX3jk.js";import{n,c as jt}from"./mui-rLvQ8A4a.js";import{a as Yt}from"./ConstrainedInnerElement-BeIpAPjB-BVda4Dj4.js";import{F8 as _,F9 as K,Fa as J,Fb as L,bh as Lt,Ft as et,bE as it}from"./zeni-epic-state-DwkN4IvA.js";import{g as at}from"./BoxItem-CvhcNreT-DxmoznPD.js";import{t as Mt}from"./panelSelectedMixin-Cddsb26L-CUpBjaaO.js";import{o as B}from"./commonDimensions-CWffpElu-DyTXC1xY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="e3f2516c-7d0b-48b8-982b-3510690462dc",t._sentryDebugIdIdentifier="sentry-dbid-e3f2516c-7d0b-48b8-982b-3510690462dc")}catch{}})();const D=t=>t?24:125,Pt={containerPaddingBottom:new Z(g[9],g[8])},W=n.div`
1
+ import{ce as ft,J as R,V as e,b4 as ut,ab as h,dh as xt,di as ht,dc as pt,dj as gt,o as a,p as A,cv as bt,F as y,y as Z,T as wt,am as v,u as g,aj as $t,dk as yt,dl as X,d3 as G,aP as tt,an as vt}from"./index-i62ZqD9V.js";import{a as u,P as kt}from"./sentry-DhNwX3jk.js";import{n,c as jt}from"./mui-rLvQ8A4a.js";import{a as Yt}from"./ConstrainedInnerElement-BeIpAPjB-DxMMe6gv.js";import{F8 as _,F9 as K,Fa as J,Fb as L,bh as Lt,Ft as et,bE as it}from"./zeni-epic-state-DwkN4IvA.js";import{g as at}from"./BoxItem-CvhcNreT-BVRPLdci.js";import{t as Mt}from"./panelSelectedMixin-Cddsb26L-CUpBjaaO.js";import{o as B}from"./commonDimensions-CWffpElu-Q8mZH4nJ.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="e3f2516c-7d0b-48b8-982b-3510690462dc",t._sentryDebugIdIdentifier="sentry-dbid-e3f2516c-7d0b-48b8-982b-3510690462dc")}catch{}})();const D=t=>t?24:125,Pt={containerPaddingBottom:new Z(g[9],g[8])},W=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,ax as Z,aG as ie,aZ as ne,V as t,b4 as re,ab 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,aj as de,ar as ce,aP as me,bt as pe,ap as he,T as ue,w as G,bu as te,i as q,aU as oe}from"./index-BIYLqgct.js";import{a as T,P as C}from"./sentry-DhNwX3jk.js";import{n as i,c as ge}from"./mui-rLvQ8A4a.js";import{EQ as xe,bg as we,bC as O}from"./zeni-epic-state-DwkN4IvA.js";import{G as $e,c as be}from"./AccountsPromoCardStack-Dkz2VyEk-BJf7WrAq.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-BVda4Dj4.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./SummaryCard-BbzDLzif-jCXiXuPT.js";import"./ReloadCard-BluhBNO--D0eilzgR.js";import"./NavigationArrow-C3pN6F3u-tAd2nukx.js";import"./NavigationDots-D1rJnVkZ-DI_AwSe8.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]="7b6c913b-cbf4-41e1-a941-210bcf63d0aa",e._sentryDebugIdIdentifier="sentry-dbid-7b6c913b-cbf4-41e1-a941-210bcf63d0aa")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{y as a,J as R,ax as Z,aG as ie,aZ as ne,V as t,b4 as re,ab 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,aj as de,ar as ce,aP as me,bt as pe,ap as he,T as ue,w as G,bu as te,i as q,aU as oe}from"./index-i62ZqD9V.js";import{a as T,P as C}from"./sentry-DhNwX3jk.js";import{n as i,c as ge}from"./mui-rLvQ8A4a.js";import{EQ as xe,bg as we,bC as O}from"./zeni-epic-state-DwkN4IvA.js";import{G as $e,c as be}from"./AccountsPromoCardStack-Dkz2VyEk-De_7d8XV.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-DxMMe6gv.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./SummaryCard-BbzDLzif-D9HqINXn.js";import"./ReloadCard-BluhBNO--JXB8TN8J.js";import"./NavigationArrow-C3pN6F3u-D0cIq2JZ.js";import"./NavigationDots-D1rJnVkZ-lWOs2PbN.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]="7b6c913b-cbf4-41e1-a941-210bcf63d0aa",e._sentryDebugIdIdentifier="sentry-dbid-7b6c913b-cbf4-41e1-a941-210bcf63d0aa")}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 z,bA as M,bB as R,V as t,bC as Q,T as U,ab as h,bD as X,o as s,am as G}from"./index-BIYLqgct.js";import{a as r,n as H}from"./sentry-DhNwX3jk.js";import{n as l}from"./mui-rLvQ8A4a.js";import{T as J}from"./TransactionList-BAziC6eS-6qNOgl8E.js";import{t as K}from"./page-detail-CWX5S47F-DxBKGqnW.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./ConstrainedInnerElement-BeIpAPjB-BVda4Dj4.js";import"./BoxItem-CvhcNreT-DxmoznPD.js";import"./commonDimensions-CWffpElu-DyTXC1xY.js";import"./panelSelectedMixin-Cddsb26L-CUpBjaaO.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]="036b8e09-2606-4a0a-add3-d0afd3573608",e._sentryDebugIdIdentifier="sentry-dbid-036b8e09-2606-4a0a-add3-d0afd3573608")}catch{}})();const W=l.div`
1
+ import{d as z,bA as M,bB as R,V as t,bC as Q,T as U,ab as h,bD as X,o as s,am as G}from"./index-i62ZqD9V.js";import{a as r,n as H}from"./sentry-DhNwX3jk.js";import{n as l}from"./mui-rLvQ8A4a.js";import{T as J}from"./TransactionList-BAziC6eS-BmUgbhkd.js";import{t as K}from"./page-detail-CWX5S47F-DxBKGqnW.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./ConstrainedInnerElement-BeIpAPjB-DxMMe6gv.js";import"./BoxItem-CvhcNreT-BVRPLdci.js";import"./commonDimensions-CWffpElu-Q8mZH4nJ.js";import"./panelSelectedMixin-Cddsb26L-CUpBjaaO.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]="036b8e09-2606-4a0a-add3-d0afd3573608",e._sentryDebugIdIdentifier="sentry-dbid-036b8e09-2606-4a0a-add3-d0afd3573608")}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 R,ab as L,aS as W,o as a,y as g,x as _,H as J,d5 as K,a9 as Q,cH as U,ad as X,u as r,hi as F,hj as M,hk as B,d as G,cM as Y,gQ as z,hl as Z,b8 as ee,hp as oe,hq as te}from"./index-BIYLqgct.js";import{a as I}from"./sentry-DhNwX3jk.js";import{n as c}from"./mui-rLvQ8A4a.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="cb94bd0f-c60c-452e-9d2d-500b339bbbbd",e._sentryDebugIdIdentifier="sentry-dbid-cb94bd0f-c60c-452e-9d2d-500b339bbbbd")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:b})=>{const i=A(),x=G(),$=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(q=>q.accountId===s)?.accountName;return[oe,te].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 ${x.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(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${x.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:B(S),selectedOption:t},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 R,ab as L,aS as W,o as a,y as g,x as _,H as J,d5 as K,a9 as Q,cH as U,ad as X,u as r,hi as F,hj as M,hk as B,d as G,cM as Y,gQ as z,hl as Z,b8 as ee,hp as oe,hq as te}from"./index-i62ZqD9V.js";import{a as I}from"./sentry-DhNwX3jk.js";import{n as c}from"./mui-rLvQ8A4a.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="cb94bd0f-c60c-452e-9d2d-500b339bbbbd",e._sentryDebugIdIdentifier="sentry-dbid-cb94bd0f-c60c-452e-9d2d-500b339bbbbd")}catch{}})();const O=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:b})=>{const i=A(),x=G(),$=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(q=>q.accountId===s)?.accountName;return[oe,te].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 ${x.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(b)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${x.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:B(S),selectedOption:t},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: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,J as ue,ab as A,hy as lt,aP as H,i as ve,hH 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,ar as ft,R as be,aj as De,am as fe,aR as ce,fE as pt,a9 as Xe,cH as mt,aZ as ht,aQ as gt,p as J,ad as qe,fI as ke,fJ as Ae,gg as wt,bU as ye,ga as xt,hI as $t,u as o,fs as bt,cj as He,c1 as Dt,f4 as yt,bL as Tt,an as Ue,fV as Ct,dv as St,c3 as Je,g$ as vt,h0 as kt}from"./index-BIYLqgct.js";import{a as u}from"./sentry-DhNwX3jk.js";import{n}from"./mui-rLvQ8A4a.js";import{bL as At}from"./zeni-epic-state-DwkN4IvA.js";import{v as Pt}from"./ZeniTransferAmountSlider-Bg59KBt9-PXMuIYqh.js";import{r as Lt}from"./AccountInfoPageContent-QMyPHCdY-DP0akuHx.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./downloadPdf-C1zKY9Rq-Bj2M-x0n.js";import"./commonDimensions-CWffpElu-DyTXC1xY.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]="71fddd27-6297-446d-bf80-8cc6e6eb0646",e._sentryDebugIdIdentifier="sentry-dbid-71fddd27-6297-446d-bf80-8cc6e6eb0646")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ge="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ze=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:G,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:Z}){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)&&K?.("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)};G(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"),Z())});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:H("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ze(Ke),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,Ge),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(Ht,{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(Ut,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${H("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(Gt,{windowSize:i}),t.jsx(Zt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${H("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:{[Ge]: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,ab as A,hy as lt,aP as H,i as ve,hH 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,ar as ft,R as be,aj as De,am as fe,aR as ce,fE as pt,a9 as Xe,cH as mt,aZ as ht,aQ as gt,p as J,ad as qe,fI as ke,fJ as Ae,gg as wt,bU as ye,ga as xt,hI as $t,u as o,fs as bt,cj as He,c1 as Dt,f4 as yt,bL as Tt,an as Ue,fV as Ct,dv as St,c3 as Je,g$ as vt,h0 as kt}from"./index-i62ZqD9V.js";import{a as u}from"./sentry-DhNwX3jk.js";import{n}from"./mui-rLvQ8A4a.js";import{bL as At}from"./zeni-epic-state-DwkN4IvA.js";import{v as Pt}from"./ZeniTransferAmountSlider-Bg59KBt9-CyCGlMPD.js";import{r as Lt}from"./AccountInfoPageContent-QMyPHCdY-DRy0EobS.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./downloadPdf-C1zKY9Rq-CXegp3G4.js";import"./commonDimensions-CWffpElu-Q8mZH4nJ.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]="71fddd27-6297-446d-bf80-8cc6e6eb0646",e._sentryDebugIdIdentifier="sentry-dbid-71fddd27-6297-446d-bf80-8cc6e6eb0646")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ge="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ze=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:G,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:Z}){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)&&K?.("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)};G(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"),Z())});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:H("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ze(Ke),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,Ge),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(Ht,{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(Ut,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Jt,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${H("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(Gt,{windowSize:i}),t.jsx(Zt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${H("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:{[Ge]: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,aP as V,bU as ae,bD as Ve,b as ie,ab as W,T as We,o as i,aj as k,F as L,p as w,bL as Ee,y,fl as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,ax as Ue,fY as Ge,h5 as _e,i as Je,am as A,b0 as Xe,jt as Qe,k5 as qe,bh as Ze,eR as et,da as tt,fV as it,k_ as ot,j2 as Ae,j3 as Oe,cv as rt,iV as at,iW as nt,k$ as st,kg as lt,an as E,bS as dt,cB as le,j1 as ct,cE as ht}from"./index-BIYLqgct.js";import{a as f,P as pt}from"./sentry-DhNwX3jk.js";import{n as o,c as de}from"./mui-rLvQ8A4a.js";import{bL as U,c4 as xt}from"./zeni-epic-state-DwkN4IvA.js";import{s as gt}from"./commonDimensions-CWffpElu-DyTXC1xY.js";import{g as ce}from"./BoxItem-CvhcNreT-DxmoznPD.js";import{o as mt}from"./shield-DOlUxcFf-1dcmCA6e.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-BYppTjSs.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="9d400cec-cd12-487d-b42d-a87d0bbc44d2",e._sentryDebugIdIdentifier="sentry-dbid-9d400cec-cd12-487d-b42d-a87d0bbc44d2")}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,aP as V,bU as ae,bD as Ve,b as ie,ab as W,T as We,o as i,aj as k,F as L,p as w,bL as Ee,y,fl as X,H as I,u as p,b5 as ne,bP as Le,aU as Me,ax as Ue,fY as Ge,h5 as _e,i as Je,am as A,b0 as Xe,jt as Qe,k5 as qe,bh as Ze,eR as et,da as tt,fV as it,k_ as ot,j2 as Ae,j3 as Oe,cv as rt,iV as at,iW as nt,k$ as st,kg as lt,an as E,bS as dt,cB as le,j1 as ct,cE as ht}from"./index-i62ZqD9V.js";import{a as f,P as pt}from"./sentry-DhNwX3jk.js";import{n as o,c as de}from"./mui-rLvQ8A4a.js";import{bL as U,c4 as xt}from"./zeni-epic-state-DwkN4IvA.js";import{s as gt}from"./commonDimensions-CWffpElu-Q8mZH4nJ.js";import{g as ce}from"./BoxItem-CvhcNreT-BVRPLdci.js";import{o as mt}from"./shield-DOlUxcFf-1dcmCA6e.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-BYppTjSs.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="9d400cec-cd12-487d-b42d-a87d0bbc44d2",e._sentryDebugIdIdentifier="sentry-dbid-9d400cec-cd12-487d-b42d-a87d0bbc44d2")}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,ax as $e,a8 as fe,aR as ye,V as r,bD as be,fx as ke,b5 as je,o as t,jt as Se,bU as ze,aj as k,i as Z,ab as Q,F as A,H as $,ar as F,p as a,y as z,am as R,da as ve,bW as Le,c as Pe,an as Me,ff as Be,u as h,dP as Ee,bg as Ie,R as Te,x as De,b as ee,d5 as We}from"./index-BIYLqgct.js";import{a as s,P as _e}from"./sentry-DhNwX3jk.js";import{n as i}from"./mui-rLvQ8A4a.js";import{GH as Re}from"./zeni-epic-state-DwkN4IvA.js";import{I as He,N as Ge}from"./VideoPlayer-B-oV4gcS-IlmjYyud.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-8P5UKTjR.js";import{o as Ve}from"./shield-DOlUxcFf-1dcmCA6e.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="8b867e17-1ca3-4b03-9258-f19e7946df93",e._sentryDebugIdIdentifier="sentry-dbid-8b867e17-1ca3-4b03-9258-f19e7946df93")}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(qe,{onClick:g})}),r.jsxs(Ue,{children:[r.jsx(Ye,{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(Ze,{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,ax as $e,a8 as fe,aR as ye,V as r,bD as be,fx as ke,b5 as je,o as t,jt as Se,bU as ze,aj as k,i as Z,ab as Q,F as A,H as $,ar as F,p as a,y as z,am as R,da as ve,bW as Le,c as Pe,an as Me,ff as Be,u as h,dP as Ee,bg as Ie,R as Te,x as De,b as ee,d5 as We}from"./index-i62ZqD9V.js";import{a as s,P as _e}from"./sentry-DhNwX3jk.js";import{n as i}from"./mui-rLvQ8A4a.js";import{GH as Re}from"./zeni-epic-state-DwkN4IvA.js";import{I as He,N as Ge}from"./VideoPlayer-B-oV4gcS-KQE08Dmc.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-8P5UKTjR.js";import{o as Ve}from"./shield-DOlUxcFf-1dcmCA6e.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="8b867e17-1ca3-4b03-9258-f19e7946df93",e._sentryDebugIdIdentifier="sentry-dbid-8b867e17-1ca3-4b03-9258-f19e7946df93")}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(qe,{onClick:g})}),r.jsxs(Ue,{children:[r.jsx(Ye,{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(Ze,{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 S,J as j,V as t,bD as I,b4 as z,o as r,F as C,p as m,cv as D,y as P,u as p,am as T}from"./index-BIYLqgct.js";import{a as h}from"./sentry-DhNwX3jk.js";import{n as o}from"./mui-rLvQ8A4a.js";import{$ as E}from"./BoxItem-CvhcNreT-DxmoznPD.js";import{o as M}from"./commonDimensions-CWffpElu-DyTXC1xY.js";import{M as B}from"./StatementItem-BthXwXFQ-j2l7jY5v.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./downloadPdf-C1zKY9Rq-Bj2M-x0n.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]="5a27f677-7b2c-4f60-9478-f365db29fa05",e._sentryDebugIdIdentifier="sentry-dbid-5a27f677-7b2c-4f60-9478-f365db29fa05")}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=S(),i=j(),x=h.createRef(),y=h.useRef(),k=a.statements.length===0,$=()=>M.transactionItemHeightResponsive.value(i),v=({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:v})})})]})},R=o.div``,f=o.div`
1
+ import{d as S,J as j,V as t,bD as I,b4 as z,o as r,F as C,p as m,cv as D,y as P,u as p,am as T}from"./index-i62ZqD9V.js";import{a as h}from"./sentry-DhNwX3jk.js";import{n as o}from"./mui-rLvQ8A4a.js";import{$ as E}from"./BoxItem-CvhcNreT-BVRPLdci.js";import{o as M}from"./commonDimensions-CWffpElu-Q8mZH4nJ.js";import{M as B}from"./StatementItem-BthXwXFQ-BNIZCHgX.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./downloadPdf-C1zKY9Rq-CXegp3G4.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]="5a27f677-7b2c-4f60-9478-f365db29fa05",e._sentryDebugIdIdentifier="sentry-dbid-5a27f677-7b2c-4f60-9478-f365db29fa05")}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=S(),i=j(),x=h.createRef(),y=h.useRef(),k=a.statements.length===0,$=()=>M.transactionItemHeightResponsive.value(i),v=({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:v})})})]})},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 j,J as S,V as t,bD as L,b4 as I,o as r,F as z,p,cv as T,y as C,u as h,am as D}from"./index-BIYLqgct.js";import{a as m}from"./sentry-DhNwX3jk.js";import{n as o}from"./mui-rLvQ8A4a.js";import{$ as P}from"./BoxItem-CvhcNreT-DxmoznPD.js";import{o as E}from"./commonDimensions-CWffpElu-DyTXC1xY.js";import{M}from"./StatementItem-BthXwXFQ-j2l7jY5v.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./downloadPdf-C1zKY9Rq-Bj2M-x0n.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]="3f4b43be-9c91-4e55-94cb-e8165f50fe9c",e._sentryDebugIdIdentifier="sentry-dbid-3f4b43be-9c91-4e55-94cb-e8165f50fe9c")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new C(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=j(),i=S(),g=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>E.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.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(x,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,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:v})})})]})},B=o.div``,x=o.div`
1
+ import{d as j,J as S,V as t,bD as L,b4 as I,o as r,F as z,p,cv as T,y as C,u as h,am as D}from"./index-i62ZqD9V.js";import{a as m}from"./sentry-DhNwX3jk.js";import{n as o}from"./mui-rLvQ8A4a.js";import{$ as P}from"./BoxItem-CvhcNreT-BVRPLdci.js";import{o as E}from"./commonDimensions-CWffpElu-Q8mZH4nJ.js";import{M}from"./StatementItem-BthXwXFQ-BNIZCHgX.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./downloadPdf-C1zKY9Rq-CXegp3G4.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]="3f4b43be-9c91-4e55-94cb-e8165f50fe9c",e._sentryDebugIdIdentifier="sentry-dbid-3f4b43be-9c91-4e55-94cb-e8165f50fe9c")}catch{}})();const b=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new C(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=j(),i=S(),g=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>E.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(x,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.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(x,{windowSize:i,children:t.jsx(N,{children:b.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:b.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,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:v})})})]})},B=o.div``,x=o.div`
2
2
  margin: ${e=>`${r.sp0} ${f.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,ab as Y,o as L,p as I,am as R}from"./index-BIYLqgct.js";import{a as v,P as z}from"./sentry-DhNwX3jk.js";import{Fb as m}from"./zeni-epic-state-DwkN4IvA.js";import{d as B,g as T,p as D,u as O}from"./chartTypes-H306f0ce-DSh0OTeZ.js";import{n as k}from"./mui-rLvQ8A4a.js";import{o as q}from"./toCOABalancesWithID-BDzeodcz-CM7cQRcs.js";import{V as K}from"./toChartData-ILqaSUrn-x9ixmlfa.js";import{H as V,I as G,X as N,Y as W,J as X,R as Z,K as H}from"./recharts-BYppTjSs.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="09ad7997-cae0-438f-bee3-ad62a996d899",e._sentryDebugIdIdentifier="sentry-dbid-09ad7997-cae0-438f-bee3-ad62a996d899")}catch{}})();const J=k.div`
1
+ import{F as $,V as n,d as P,b4 as _,b as j,aZ as A,ab as Y,o as L,p as I,am as R}from"./index-i62ZqD9V.js";import{a as v,P as z}from"./sentry-DhNwX3jk.js";import{Fb as m}from"./zeni-epic-state-DwkN4IvA.js";import{d as B,g as T,p as D,u as O}from"./chartTypes-H306f0ce-MyWtRYTO.js";import{n as k}from"./mui-rLvQ8A4a.js";import{o as q}from"./toCOABalancesWithID-BDzeodcz-Sx-7PAVa.js";import{V as K}from"./toChartData-ILqaSUrn-DEH7gUMA.js";import{H as V,I as G,X as N,Y as W,J as X,R as Z,K as H}from"./recharts-BYppTjSs.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="09ad7997-cae0-438f-bee3-ad62a996d899",e._sentryDebugIdIdentifier="sentry-dbid-09ad7997-cae0-438f-bee3-ad62a996d899")}catch{}})();const J=k.div`
2
2
  display: flex;
3
3
  `,Q=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,ab as T,y as c,b8 as I,R as V,u as a,am as A,x as q}from"./index-BIYLqgct.js";import{a as k}from"./sentry-DhNwX3jk.js";import{n}from"./mui-rLvQ8A4a.js";import K from"./TrendChart-FPLC1aMv-BpKn1lA4.js";import{C as W}from"./NoDataChart-DuEsebs4-BQTTXvg9.js";import{F as J}from"./InsightsSection-C16f1RZL-BLvjZ1kW.js";import{T as Q}from"./TransactionList-BAziC6eS-6qNOgl8E.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]="b7835bbf-fc6d-4c4b-8d2d-613da46214f7",e._sentryDebugIdIdentifier="sentry-dbid-b7835bbf-fc6d-4c4b-8d2d-613da46214f7")}catch{}})();const Z=n.div`
1
+ import{J as H,V as i,T as L,o as r,F,b4 as E,ab as T,y as c,b8 as I,R as V,u as a,am as A,x as q}from"./index-i62ZqD9V.js";import{a as k}from"./sentry-DhNwX3jk.js";import{n}from"./mui-rLvQ8A4a.js";import K from"./TrendChart-FPLC1aMv-Dsg7RNKY.js";import{C as W}from"./NoDataChart-DuEsebs4-dCa63BXA.js";import{F as J}from"./InsightsSection-C16f1RZL-CuJbLdqY.js";import{T as Q}from"./TransactionList-BAziC6eS-BmUgbhkd.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]="b7835bbf-fc6d-4c4b-8d2d-613da46214f7",e._sentryDebugIdIdentifier="sentry-dbid-b7835bbf-fc6d-4c4b-8d2d-613da46214f7")}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,ax as Xe,aR as en,gL as I,hT as J,a9 as nn,hU as tn,hV as je,cH as on,V as t,bD as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,T as un,aS as pn,fB as mn,F as W,hX as _e,y as u,am as gn,o as a,cL as fe,aW as q,gQ as te,hY as oe,hZ as Z,h_ as xn,u as r,H as ye,p as Ae,g9 as Ve,aj as $e,bj as hn}from"./index-BIYLqgct.js";import{a as K}from"./sentry-DhNwX3jk.js";import{n as s}from"./mui-rLvQ8A4a.js";import{G2 as Te,FI as bn,FJ as wn,G3 as fn}from"./zeni-epic-state-DwkN4IvA.js";import{h as yn}from"./VendorsAccountsSection-DYSlIqnJ-D8aKvLQv.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="dbf521de-185b-4da7-8018-950368b6ab7c",e._sentryDebugIdIdentifier="sentry-dbid-dbf521de-185b-4da7-8018-950368b6ab7c")}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,ax as Xe,aR as en,gL as I,hT as J,a9 as nn,hU as tn,hV as je,cH as on,V as t,bD as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,T as un,aS as pn,fB as mn,F as W,hX as _e,y as u,am as gn,o as a,cL as fe,aW as q,gQ as te,hY as oe,hZ as Z,h_ as xn,u as r,H as ye,p as Ae,g9 as Ve,aj as $e,bj as hn}from"./index-i62ZqD9V.js";import{a as K}from"./sentry-DhNwX3jk.js";import{n as s}from"./mui-rLvQ8A4a.js";import{G2 as Te,FI as bn,FJ as wn,G3 as fn}from"./zeni-epic-state-DwkN4IvA.js";import{h as yn}from"./VendorsAccountsSection-DYSlIqnJ-BEEMJGXs.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="dbf521de-185b-4da7-8018-950368b6ab7c",e._sentryDebugIdIdentifier="sentry-dbid-dbf521de-185b-4da7-8018-950368b6ab7c")}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 b,V as t,i0 as q,i1 as W,J as P,F as O,cr as L,af as C,cs as U,ct as N,a9 as R,ad as H,cT as M,cO as F,y as g,cP as G,p as A,ap as J,T as K,i as Q,o as i,am as X,u as D,ar as Y,bb as Z}from"./index-BIYLqgct.js";import{a as l}from"./sentry-DhNwX3jk.js";import{n as p}from"./mui-rLvQ8A4a.js";import{bL as ee,bh as te}from"./zeni-epic-state-DwkN4IvA.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="755de32f-57fe-4c42-8747-c78a7a6f49df",e._sentryDebugIdIdentifier="sentry-dbid-755de32f-57fe-4c42-8747-c78a7a6f49df")}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 b,V as t,i0 as q,i1 as W,J as P,F as O,cr as L,af as C,cs as U,ct as N,a9 as R,ad as H,cT as M,cO as F,y as g,cP as G,p as A,ap as J,T as K,i as Q,o as i,am as X,u as D,ar as Y,bb as Z}from"./index-i62ZqD9V.js";import{a as l}from"./sentry-DhNwX3jk.js";import{n as p}from"./mui-rLvQ8A4a.js";import{bL as ee,bh as te}from"./zeni-epic-state-DwkN4IvA.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="755de32f-57fe-4c42-8747-c78a7a6f49df",e._sentryDebugIdIdentifier="sentry-dbid-755de32f-57fe-4c42-8747-c78a7a6f49df")}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 U,fC as b,aR as k,J as M,F as A,cH as H,V as i,ad as W,ab as q,fD as J,o as a,p as K,cU as G,aS as Q,y as x,x as X,R as Y,bb as Z,ba as ee,u as c}from"./index-BIYLqgct.js";import{a as f}from"./sentry-DhNwX3jk.js";import{n as o}from"./mui-rLvQ8A4a.js";import{ER as te}from"./zeni-epic-state-DwkN4IvA.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]="e62ac95f-582e-481e-b6c4-fe3de7e58136",e._sentryDebugIdIdentifier="sentry-dbid-e62ac95f-582e-481e-b6c4-fe3de7e58136")}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:$,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[T,N]=f.useState(!1),D=k(p.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},V=Object.values(j??{}).filter(l=>l!=null),B=te(V);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,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(()=>{B.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&H(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...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:S,"data-testid":q("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(J,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:G,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.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:j,updateFileStatusById:O,filesEndPoint:m,authParams:$,hasError:T,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?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:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{a9 as U,fC as b,aR as k,J as M,F as A,cH as H,V as i,ad as W,ab as q,fD as J,o as a,p as K,cU as G,aS as Q,y as x,x as X,R as Y,bb as Z,ba as ee,u as c}from"./index-i62ZqD9V.js";import{a as f}from"./sentry-DhNwX3jk.js";import{n as o}from"./mui-rLvQ8A4a.js";import{ER as te}from"./zeni-epic-state-DwkN4IvA.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]="e62ac95f-582e-481e-b6c4-fe3de7e58136",e._sentryDebugIdIdentifier="sentry-dbid-e62ac95f-582e-481e-b6c4-fe3de7e58136")}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:$,companyOfficer:t,updateStatus:p,onClose:S,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,w]=f.useState(!1),[T,N]=f.useState(!1),D=k(p.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},V=Object.values(j??{}).filter(l=>l!=null),B=te(V);f.useEffect(()=>{D==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[D,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(()=>{B.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&H(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...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:S,"data-testid":q("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(J,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:G,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.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:j,updateFileStatusById:O,filesEndPoint:m,authParams:$,hasError:T,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>N(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?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:S},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,i0 as v,i1 as x}from"./index-BIYLqgct.js";import{a as s}from"./sentry-DhNwX3jk.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./mui-rLvQ8A4a.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="765fcf34-a31c-428a-b8bd-51d0e2fa21e6",t._sentryDebugIdIdentifier="sentry-dbid-765fcf34-a31c-428a-b8bd-51d0e2fa21e6")}catch{}})();const G=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[b,o]=s.useState(!1),[y,n]=s.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 s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:b===!0?r.jsx(v,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(x,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{G as default};
1
+ import{aR as i,F as w,V as r,i0 as v,i1 as x}from"./index-i62ZqD9V.js";import{a as s}from"./sentry-DhNwX3jk.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./mui-rLvQ8A4a.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="765fcf34-a31c-428a-b8bd-51d0e2fa21e6",t._sentryDebugIdIdentifier="sentry-dbid-765fcf34-a31c-428a-b8bd-51d0e2fa21e6")}catch{}})();const G=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[b,o]=s.useState(!1),[y,n]=s.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 s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:b===!0?r.jsx(v,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(x,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:I=>S?.(I)}}):null})};export{G as default};
@@ -1 +1 @@
1
- import{V as p}from"./index-BIYLqgct.js";import{a as m}from"./sentry-DhNwX3jk.js";import{f as u}from"./ACHDetailsPage-Davpg8eW-BWDILC-H.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./mui-rLvQ8A4a.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./BankAccountWarningSection-IMtILLfL-BhKJ6bLn.js";import"./MagicLinkTitleSection-CCF7Ahgh-BraYyP_S.js";import"./BankAccountSection-mWUT-G8y-2k5xTeyX.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]="936710d9-0883-457d-9f8e-5c95a2c8bf5f",t._sentryDebugIdIdentifier="sentry-dbid-936710d9-0883-457d-9f8e-5c95a2c8bf5f")}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-i62ZqD9V.js";import{a as m}from"./sentry-DhNwX3jk.js";import{f as u}from"./ACHDetailsPage-Davpg8eW-D4fDLBvb.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./mui-rLvQ8A4a.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./BankAccountWarningSection-IMtILLfL-C1D-TVku.js";import"./MagicLinkTitleSection-CCF7Ahgh-BP7fXimK.js";import"./BankAccountSection-mWUT-G8y-BgZogOBU.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]="936710d9-0883-457d-9f8e-5c95a2c8bf5f",t._sentryDebugIdIdentifier="sentry-dbid-936710d9-0883-457d-9f8e-5c95a2c8bf5f")}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 Ee,J as ae,y as u,aF as we,cK as ft,a9 as wt,he as Ce,hf as Ct,aW as $t,cH as St,V as t,bC as Dt,ad as jt,hg as Tt,hh as ye,u as l,cI as Lt,aS as Vt,bD as kt,F as W,hi as Ue,hj as qe,hk as Qe,o,bQ as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as Ft,hm as _t,gh as zt,cV as Nt,hn as Wt,ho as Ht,p as N,b8 as Ye,aj as Ke,dv as Bt,b0 as Rt,hp as At,hq as Et,am as Ut,co as qt,du as Qt,d3 as Yt,aZ as pe,hr as Kt,cj as Xe,hs as Xt,H as Se,a as Ge}from"./index-BIYLqgct.js";import{a as $}from"./sentry-DhNwX3jk.js";import{n as a,c as Gt}from"./mui-rLvQ8A4a.js";import{bi as De,F_ as Jt,F$ as Zt}from"./zeni-epic-state-DwkN4IvA.js";import{k as es}from"./SubTabSwitcher-D3iTZY-F-CSjMFn8K.js";import{T as ts}from"./TransactionList-BAziC6eS-6qNOgl8E.js";import{R as ss}from"./TrendWithTransactions-_O4Fz3pt-B_P0jc9Y.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-sjXlUHVP.js";import{C as ns}from"./LabeledAddressValueField-DNGOSAvq-BXE6xS8k.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-CqDEmdfe-DrhnwOAX.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./ConstrainedInnerElement-BeIpAPjB-BVda4Dj4.js";import"./BoxItem-CvhcNreT-DxmoznPD.js";import"./commonDimensions-CWffpElu-DyTXC1xY.js";import"./panelSelectedMixin-Cddsb26L-CUpBjaaO.js";import"./TrendChart-FPLC1aMv-BpKn1lA4.js";import"./chartTypes-H306f0ce-DSh0OTeZ.js";import"./toCOABalancesWithID-BDzeodcz-CM7cQRcs.js";import"./toChartData-ILqaSUrn-x9ixmlfa.js";import"./NoDataChart-DuEsebs4-BQTTXvg9.js";import"./InsightsSection-C16f1RZL-BLvjZ1kW.js";import"./NavigationDots-D1rJnVkZ-DI_AwSe8.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]="2fe6190b-8123-4203-921e-9ff61a1dbc57",e._sentryDebugIdIdentifier="sentry-dbid-2fe6190b-8123-4203-921e-9ff61a1dbc57")}catch{}})();const is=a.div`
1
+ import{d as Ee,J as ae,y as u,aF as we,cK as ft,a9 as wt,he as Ce,hf as Ct,aW as $t,cH as St,V as t,bC as Dt,ad as jt,hg as Tt,hh as ye,u as l,cI as Lt,aS as Vt,bD as kt,F as W,hi as Ue,hj as qe,hk as Qe,o,bQ as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as Ft,hm as _t,gh as zt,cV as Nt,hn as Wt,ho as Ht,p as N,b8 as Ye,aj as Ke,dv as Bt,b0 as Rt,hp as At,hq as Et,am as Ut,co as qt,du as Qt,d3 as Yt,aZ as pe,hr as Kt,cj as Xe,hs as Xt,H as Se,a as Ge}from"./index-i62ZqD9V.js";import{a as $}from"./sentry-DhNwX3jk.js";import{n as a,c as Gt}from"./mui-rLvQ8A4a.js";import{bi as De,F_ as Jt,F$ as Zt}from"./zeni-epic-state-DwkN4IvA.js";import{k as es}from"./SubTabSwitcher-D3iTZY-F-Vu8hc56R.js";import{T as ts}from"./TransactionList-BAziC6eS-BmUgbhkd.js";import{R as ss}from"./TrendWithTransactions-_O4Fz3pt-CY9f274t.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-sjXlUHVP.js";import{C as ns}from"./LabeledAddressValueField-DNGOSAvq-ZfEgza85.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-CqDEmdfe-DqyU6pbW.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./ConstrainedInnerElement-BeIpAPjB-DxMMe6gv.js";import"./BoxItem-CvhcNreT-BVRPLdci.js";import"./commonDimensions-CWffpElu-Q8mZH4nJ.js";import"./panelSelectedMixin-Cddsb26L-CUpBjaaO.js";import"./TrendChart-FPLC1aMv-Dsg7RNKY.js";import"./chartTypes-H306f0ce-MyWtRYTO.js";import"./toCOABalancesWithID-BDzeodcz-Sx-7PAVa.js";import"./toChartData-ILqaSUrn-DEH7gUMA.js";import"./NoDataChart-DuEsebs4-dCa63BXA.js";import"./InsightsSection-C16f1RZL-CuJbLdqY.js";import"./NavigationDots-D1rJnVkZ-lWOs2PbN.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]="2fe6190b-8123-4203-921e-9ff61a1dbc57",e._sentryDebugIdIdentifier="sentry-dbid-2fe6190b-8123-4203-921e-9ff61a1dbc57")}catch{}})();const is=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as b}from"./index-BIYLqgct.js";import{a as k}from"./sentry-DhNwX3jk.js";import{D as y}from"./DomesticWireDetailsPage-CpwSOc_0-CElrVONi.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./mui-rLvQ8A4a.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./BankAccountSection-mWUT-G8y-2k5xTeyX.js";import"./MagicLinkTitleSection-CCF7Ahgh-BraYyP_S.js";import"./BankAccountWarningSection-IMtILLfL-BhKJ6bLn.js";import"./MailingDetailsSection-WMvjKFiS-C1_EkXyZ.js";import"./LabeledAddressValueField-DNGOSAvq-BXE6xS8k.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]="6afa59a0-ed18-483e-9268-c08c2fba27d6",e._sentryDebugIdIdentifier="sentry-dbid-6afa59a0-ed18-483e-9268-c08c2fba27d6")}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:f,bankAccountToCreate:u,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]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,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 b}from"./index-i62ZqD9V.js";import{a as k}from"./sentry-DhNwX3jk.js";import{D as y}from"./DomesticWireDetailsPage-CpwSOc_0-BwoPHjA8.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./mui-rLvQ8A4a.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./BankAccountSection-mWUT-G8y-BgZogOBU.js";import"./MagicLinkTitleSection-CCF7Ahgh-BP7fXimK.js";import"./BankAccountWarningSection-IMtILLfL-C1D-TVku.js";import"./MailingDetailsSection-WMvjKFiS-DrE6z-0r.js";import"./LabeledAddressValueField-DNGOSAvq-ZfEgza85.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]="6afa59a0-ed18-483e-9268-c08c2fba27d6",e._sentryDebugIdIdentifier="sentry-dbid-6afa59a0-ed18-483e-9268-c08c2fba27d6")}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:f,bankAccountToCreate:u,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]),b.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:f,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,4 +1,4 @@
1
- import{J as oe,d as ze,a9 as Ae,cH as ke,y as w,V as t,bD as Be,ab as Ee,ad as Oe,cM as C,o as s,cR as We,hm as Re,gh as qe,cV as Me,hn as He,ho as Qe,cQ as Ke,aS as Ue,F as ne,f1 as K,ht as de,ex as _e,f2 as Ge,u as c,x as Je,bQ as L,cF as Ye,hu as Ze,p as P,N as Xe,cj as et,am as ce,eN as tt,hv as st,hw as lt,hx as M,f3 as it}from"./index-BIYLqgct.js";import{a as x}from"./sentry-DhNwX3jk.js";import{n as r}from"./mui-rLvQ8A4a.js";import{Y as at}from"./LabeledDropDownFormattedTextField-CqDEmdfe-DrhnwOAX.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="76926b58-d810-4ca8-9fc1-baaa545a5b32",e._sentryDebugIdIdentifier="sentry-dbid-76926b58-d810-4ca8-9fc1-baaa545a5b32")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function rt(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:W}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=r.div`
1
+ import{J as oe,d as ze,a9 as Ae,cH as ke,y as w,V as t,bD as Be,ab as Ee,ad as Oe,cM as C,o as s,cR as We,hm as Re,gh as qe,cV as Me,hn as He,ho as Qe,cQ as Ke,aS as Ue,F as ne,f1 as K,ht as de,ex as _e,f2 as Ge,u as c,x as Je,bQ as L,cF as Ye,hu as Ze,p as P,N as Xe,cj as et,am as ce,eN as tt,hv as st,hw as lt,hx as M,f3 as it}from"./index-i62ZqD9V.js";import{a as x}from"./sentry-DhNwX3jk.js";import{n as r}from"./mui-rLvQ8A4a.js";import{Y as at}from"./LabeledDropDownFormattedTextField-CqDEmdfe-DqyU6pbW.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./zeni-epic-state-DwkN4IvA.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="76926b58-d810-4ca8-9fc1-baaa545a5b32",e._sentryDebugIdIdentifier="sentry-dbid-76926b58-d810-4ca8-9fc1-baaa545a5b32")}catch{}})();const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function rt(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:g,style:W}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:W,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{J as ae,ax as Nn,d as mn,a9 as et,ib as Te,cH as nt,az as On,ic as re,id as ve,ie as fe,ig as be,ih as me,V as n,i7 as tt,ad as ot,bD as it,aa as rt,cr as st,cs as at,ct as lt,bW as dt,bP as ct,ab as J,cn as mt,b4 as pt,dq as ut,cv as ht,T as gt,F as je,y as w,w as Ne,o as t,aV as In,am as De,aU as wt,u as c,aj as Re,cB as xt,co as Pn,bQ as Pe,bi as Tn,cE as vt,c0 as ft,dH as bt,bb as Je,bu as pn,p as A,h as zn,h4 as $t,dl as wn,d3 as rn,ii as sn,ap as St,bU as Ae,dR as yt,eB as xn,bL as jt,dw as Rt,i as vn,cy as Vt,ij as Ct,ik as kt,cL as Mt,ex as Nt,eG as Ot,eH as It,an as Dn,il as Pt,bJ as se,im as fn,gS as Tt,au as zt,at as Dt,dv as _t,b as _n,H as Lt,l as Ft,aX as dn}from"./index-BIYLqgct.js";import{a as f}from"./sentry-DhNwX3jk.js";import{n as o,c as cn}from"./mui-rLvQ8A4a.js";import{gu as Bt,G6 as At}from"./zeni-epic-state-DwkN4IvA.js";import{r as Et}from"./core-DQ8U4CJb.js";import"./liveblocks-DXGUxn7J.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="215cf617-f17a-4d11-88fd-2ce513fe496f",e._sentryDebugIdIdentifier="sentry-dbid-215cf617-f17a-4d11-88fd-2ce513fe496f")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Ht,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
1
+ import{J as ae,ax as Nn,d as mn,a9 as et,ib as Te,cH as nt,az as On,ic as re,id as ve,ie as fe,ig as be,ih as me,V as n,i7 as tt,ad as ot,bD as it,aa as rt,cr as st,cs as at,ct as lt,bW as dt,bP as ct,ab as J,cn as mt,b4 as pt,dq as ut,cv as ht,T as gt,F as je,y as w,w as Ne,o as t,aV as In,am as De,aU as wt,u as c,aj as Re,cB as xt,co as Pn,bQ as Pe,bi as Tn,cE as vt,c0 as ft,dH as bt,bb as Je,bu as pn,p as A,h as zn,h4 as $t,dl as wn,d3 as rn,ii as sn,ap as St,bU as Ae,dR as yt,eB as xn,bL as jt,dw as Rt,i as vn,cy as Vt,ij as Ct,ik as kt,cL as Mt,ex as Nt,eG as Ot,eH as It,an as Dn,il as Pt,bJ as se,im as fn,gS as Tt,au as zt,at as Dt,dv as _t,b as _n,H as Lt,l as Ft,aX as dn}from"./index-i62ZqD9V.js";import{a as f}from"./sentry-DhNwX3jk.js";import{n as o,c as cn}from"./mui-rLvQ8A4a.js";import{gu as Bt,G6 as At}from"./zeni-epic-state-DwkN4IvA.js";import{r as Et}from"./core-DQ8U4CJb.js";import"./liveblocks-DXGUxn7J.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.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]="215cf617-f17a-4d11-88fd-2ce513fe496f",e._sentryDebugIdIdentifier="sentry-dbid-215cf617-f17a-4d11-88fd-2ce513fe496f")}catch{}})();const Ln=({steps:e})=>{const s=ae();return n.jsx(Wt,{windowSize:s,children:e.map((m,d)=>n.jsxs(Ut,{children:[n.jsx(Ht,{children:d!==e.length-1?d+1:n.jsx(Qt,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(qt,{}):null]},`step_${d}`))})},Ut=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{V as t,J,a9 as he,F as U,cH as ye,aF as ge,cr as be,cs as fe,ct as xe,ad as ve,aS as we,y as p,f1 as le,f2 as Ce,o as y,ba as $e,cL as oe,d as ne,f3 as De,f4 as K,cQ as G,b2 as H,cM as je,es as Te,u as a,ex as ke,ab as Se,p as V,H as Oe,T as Fe,bU as Ae,aj as Le,bL as Ie}from"./index-BIYLqgct.js";import{a as R}from"./sentry-DhNwX3jk.js";import{n as g}from"./mui-rLvQ8A4a.js";import{bi as Q}from"./zeni-epic-state-DwkN4IvA.js";import{W as We,A as ze}from"./BankAccountWarningSection-IMtILLfL-BhKJ6bLn.js";import{T as Re}from"./MailingDetailsSection-WMvjKFiS-C1_EkXyZ.js";import{S as Pe}from"./CurrencySelectField-BDfEzwpU-4zlCOdOf.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./LabeledAddressValueField-DNGOSAvq-BXE6xS8k.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]="33c2e9ce-939b-4cf4-a2e6-7c0012a2f518",e._sentryDebugIdIdentifier="sentry-dbid-33c2e9ce-939b-4cf4-a2e6-7c0012a2f518")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ue,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
1
+ import{V as t,J,a9 as he,F as U,cH as ye,aF as ge,cr as be,cs as fe,ct as xe,ad as ve,aS as we,y as p,f1 as le,f2 as Ce,o as y,ba as $e,cL as oe,d as ne,f3 as De,f4 as K,cQ as G,b2 as H,cM as je,es as Te,u as a,ex as ke,ab as Se,p as V,H as Oe,T as Fe,bU as Ae,aj as Le,bL as Ie}from"./index-i62ZqD9V.js";import{a as R}from"./sentry-DhNwX3jk.js";import{n as g}from"./mui-rLvQ8A4a.js";import{bi as Q}from"./zeni-epic-state-DwkN4IvA.js";import{W as We,A as ze}from"./BankAccountWarningSection-IMtILLfL-C1D-TVku.js";import{T as Re}from"./MailingDetailsSection-WMvjKFiS-DrE6z-0r.js";import{S as Pe}from"./CurrencySelectField-BDfEzwpU-CRXhdOB1.js";import"./liveblocks-DXGUxn7J.js";import"./core-DQ8U4CJb.js";import"./recharts-BYppTjSs.js";import"./lottie-C1yptpVV.js";import"./analytics-DkApCpAh.js";import"./lexical-CvUIM9vD.js";import"./utils-BdIPH7k8.js";import"./LabeledAddressValueField-DNGOSAvq-ZfEgza85.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]="33c2e9ce-939b-4cf4-a2e6-7c0012a2f518",e._sentryDebugIdIdentifier="sentry-dbid-33c2e9ce-939b-4cf4-a2e6-7c0012a2f518")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(qe,{children:t.jsx(Ue,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;