@zeniai/web-cockpit-ui 1.13.90-dev → 1.13.90-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 (220) hide show
  1. package/dist/assets/{ACHDetailsPage-ppaaVv4t-BnOUfoFz.js → ACHDetailsPage-ppaaVv4t-DerAWpBF.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-brocrTLA-C9EDr2D4.js → AIPerformancePage-brocrTLA-D-qOCG9N.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BkqXbGUJ-DXuI8tNZ.js → AccountInfoPage-BkqXbGUJ-CPi6xrFM.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DOrQxiUF-2yx_ZhMt.js → AccountInfoPageContent-DOrQxiUF-eaKGkCbW.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-i6rVi1gY-DVchfPsP.js → AccountReconDetailsDrawerPage-i6rVi1gY-JXbUROYY.js} +1 -1
  6. package/dist/assets/{AccountRow-D9vDRsjv-uSOuzaD9.js → AccountRow-D9vDRsjv-XcUg9HnZ.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-BvFE5A3N-C__nnIqn.js → AccountsPromoCardStack-BvFE5A3N-ObKkidII.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-BV2BSzaD-CBI5bfsC.js → AddAddressForCardDrawer-BV2BSzaD-BdS_xiVp.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-DTEIuDRq-CzKzLxkn.js → AddToWalletPage-DTEIuDRq-B2C8ipcJ.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-B8iVxaQX-z0eVPQ8X.js → AgingReportsPage-B8iVxaQX-BHVqW05k.js} +1 -1
  11. package/dist/assets/{AllUserItems-BepRyHp7-6smxMTUs.js → AllUserItems-BepRyHp7-uJhUuJ3f.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-DOObMUqB-DRL-pTDS.js → ApAgingDetailPage-DOObMUqB-PedjJRg4.js} +1 -1
  13. package/dist/assets/{AppBasePage-Ob8EkU54-B4IzJNVZ.js → AppBasePage-Ob8EkU54-B3S_sDum.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-CNsKktFP-oEQQGdma.js → AppDrawerContent-CNsKktFP-ClFlv3eL.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-Bn7LOelK-C_JBTy7y.js → ApprovalRulesSettingsPage-Bn7LOelK-BW8_3MdX.js} +1 -1
  16. package/dist/assets/{ArAgingChart-C0hTtEmV-Cp3DCSeq.js → ArAgingChart-C0hTtEmV-VmVxz3SE.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-C_E_xPwf-CoqFi7sc.js → ArAgingDetailPage-C_E_xPwf-CIbWz25g.js} +1 -1
  18. package/dist/assets/{AttachmentView-CATl3tNf-DCa2zXLn.js → AttachmentView-CATl3tNf-bIcN6zuK.js} +1 -1
  19. package/dist/assets/{BankAccountSection-VSbZyxoY-BkprL32R.js → BankAccountSection-VSbZyxoY-DFVEfVO4.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-a39s142r-4WcZfRoK.js → BankAccountWarningSection-a39s142r-B8eviNRA.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-CBavGNdc-DWKqHO49.js → BankConnectionsSettingsPage-CBavGNdc-UjtlbwmQ.js} +1 -1
  22. package/dist/assets/{BillDetailPage-uMG3JJPb-ClGgqpml.js → BillDetailPage-uMG3JJPb-DAfvXj70.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-Bmrg1Wxh-CFroqaxM.js → BillPayApprovalRuleDetailPage-Bmrg1Wxh-2SsyPJ6y.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-BN21qPTb-BwOgIMfY.js → BillPayApprovalRulesPage-BN21qPTb-DE8Fo-0J.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-DoP2oC8W-D-cHzeZ4.js → BillPayPromoPage-DoP2oC8W-DaX8TRVv.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-o-V-9aI5-DuW6yWFa.js → BillPaySetUpPage-o-V-9aI5-PJo8w9bW.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-CX-rbxzB-D5hgrymw.js → BillingSettingsPage-CX-rbxzB-rBFZmJ_t.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-_qgURJjv-CemkDBxg.js → BillsBulkReviewDrawerPage-_qgURJjv-UExbn0pb.js} +1 -1
  29. package/dist/assets/{BoxItem-CHPfWPEF-lXs1y6iB.js → BoxItem-CHPfWPEF-D1R-06zc.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-YKJ-CZfb-BgJNO5ZA.js → BusinessVerificationPage-YKJ-CZfb-CA1EyVwE.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-dxYfM6ph-B1OZ5t3N.js → CardNumberSubText-dxYfM6ph-DEOIkYXa.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-BfTC3IBm-BcRVF9pL.js → CashbackDetailPage-BfTC3IBm-bb4FBcKr.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-npqfreRG-D_PNn6ZE.js → ChargeCardDetailPage-npqfreRG-6-EfyUyz.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-Dbx1ymB9-DiXO1BWI.js → ChargeCardListPage-Dbx1ymB9-DRDAjXYS.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-qk9tQ6Kb-DR0FaH4k.js → ChargeCardListTable-qk9tQ6Kb-lo8c0x-v.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-CsItH2IC-BEXKS9-8.js → ChargeCardPromoPage-CsItH2IC-BRai09H4.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-D5LWY3-P-BB2kARlQ.js → ChargeCardSetupPage-D5LWY3-P-BFmdbREo.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-vYbnt2WJ-CDBr97Hk.js → ChargeCardStatementsPage-vYbnt2WJ-CviaTt41.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-k5Cmi_bM-xJoIL5jf.js → ChargeCardUtils-k5Cmi_bM-uT1V7gQT.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DQz9r9Pp-Bwx2nGMD.js → ChaseOverlay-DQz9r9Pp-DwtAFMH1.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-B1Qp-xbY-f-dhYQ0q.js → CheckDepositDrawerPage-B1Qp-xbY-CG1lluPq.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-Dp1985is-CgJ_JGJs.js → CollapsableReportTable-Dp1985is-CGhJR3X0.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-CGewbsKm-DBM7Hns2.js → CompanyOfficerDetailsSection-CGewbsKm-0xbi1fnR.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-Dp3a8GH8-qRGWLoZI.js → CompanyPassportCard-Dp3a8GH8-B4TBGrw7.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-CS1LPj5f-CxHtTINk.js → CompanyPassportPage-CS1LPj5f-pnjyNGQL.js} +1 -1
  46. package/dist/assets/{CompleteProfile-CJOsHnBa-DdCWBRuB.js → CompleteProfile-CJOsHnBa-CTqixosH.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-DX1P5VT_-C7tIIZfu.js → ConfettiBurst-DX1P5VT_-CsNzn8F8.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BL1BXGvy-Vx1XM-1z.js → CreateOrEditVendorPage-BL1BXGvy-CsdFpWXr.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-D6-R3DiA-ByQ_c4QS.js → CreditCardPaymentDrawerPage-D6-R3DiA-DUyMEAO8.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-YcsIIUkG-C-zCY8ZF.js → CreditCardPaymentPlgSection-YcsIIUkG-DrIb0IFd.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-CH65s5Fc-DGotu77i.js → CurrencySelectField-CH65s5Fc-Dcp2BQTf.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DCHbvIb1-4vnrfrOn.js → CustomerOnboardingActivationPage-DCHbvIb1-DK5c91dn.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-X6X9Yc-9-DPk_xOir.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Cz40bZgg-6UjJ2BJ9.js → CustomerOnboardingDetailPageSkeleton-Cz40bZgg-CWu3HzYj.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DrbkKOBx-C5bbYFj1.js → CustomerOnboardingNoStepsPage-DrbkKOBx-B_LwgpIq.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CIbBaMcO-Dqym0Rf2.js → CustomerOnboardingPage-CIbBaMcO-D6XARpKC.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-DyGs61vw-DLcQ1dQj.js → CustomerOnboardingProductSuitePage-DyGs61vw-qL5DHYs8.js} +1 -1
  58. package/dist/assets/{Dashboard-beLswUHx-XoTiAJKU.js → Dashboard-beLswUHx-B_MalOUp.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-BM6TqjrJ-DQu7SOT2.js → DashboardReportPage-BM6TqjrJ-CXS5ZOn0.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-CfAjG3HH-COwwc_MG.js → DepositAccTransactionItem-CfAjG3HH-D05hSl8p.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-Cj1smNoP-CkdRHZge.js → DepositAccTransactionListPage-Cj1smNoP-BSifWrOr.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-BRFFDueV-stK3q2uU.js → DocumentSecurityBanner-BRFFDueV-Cy6kVOtz.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BZ8jSo8r-Dcvy9KUR.js → DomesticWireDetailsPage-BZ8jSo8r-CvJ1Feba.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-Ly2ZesqA-D_S8bx9G.js → DownloadOverlay-Ly2ZesqA-CgW2MbtP.js} +1 -1
  65. package/dist/assets/{DrawerPage-BFIdjtOJ-BFnTHlQb.js → DrawerPage-BFIdjtOJ-CoQ0pur4.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-BPHt33f5-DjZUh9aC.js → EditPeoplePage-BPHt33f5-Bk3dHegk.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DJ_qNQbh-D_aBh5FK.js → EditReimbursementDetailPage-DJ_qNQbh-CHb-02Fa.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-DZ9vXZci-DUGgDVnf.js → EntityDetailPage-DZ9vXZci-BKxX4N_B.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-kCA6OJs0-CuvI5nJX.js → EntitySummarySection-kCA6OJs0-BxZntEIq.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-B9K2qPQi-BcMuOXVi.js → ExpenseAutomationOverviewPage-B9K2qPQi-CLbWYQAI.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-LoGHiJzr-BnTXz0Ci.js → ExpenseAutomationPage-LoGHiJzr-f6rmnsys.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-B12NaLXN-CGW5-zDn.js → ExpressPayPage-B12NaLXN-CCtq8Yhl.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-D9_aRmPj-CvnK2Uy2.js → FeaturePreviewPage-D9_aRmPj-kLENX2WT.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-BL8sM4vS-D6HNdi5Y.js → FollowStepsSection-BL8sM4vS-NJEQh7fF.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DONc_BXP-jngzyZ2P.js → GlobalReviewListPage-DONc_BXP-BqymyO9D.js} +1 -1
  76. package/dist/assets/{HelpButton-khTPylkl-CEL7Boo7.js → HelpButton-khTPylkl-CC4TQ-Mh.js} +1 -1
  77. package/dist/assets/{InformationCardStack-BtIMGsaQ-BRj2ZNHm.js → InformationCardStack-BtIMGsaQ-DAEXYJ5W.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-lzduh7aO-Crnd4D-1.js → InsightsCardStack-lzduh7aO-aPmBS56j.js} +1 -1
  79. package/dist/assets/{InsightsSection-q1QuO6Z4-1k_aUqAr.js → InsightsSection-q1QuO6Z4-BTPE3Xuw.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-CpnXcxlz-ANVTxCp5.js → IntegrationsSettingsPage-CpnXcxlz-BHzrWFpH.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-BXBsK560-i2JR8sEk.js → InternationalWireSwiftDetailsPage-BXBsK560-Drhj4I3h.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-BrnMNFx7-CivrskR8.js → InternationalWireVerificationPage-BrnMNFx7-CYsL9FjR.js} +1 -1
  83. package/dist/assets/{InviteFormPage-DQTEQazA-CYIvBKP9.js → InviteFormPage-DQTEQazA-D_TlAyX6.js} +1 -1
  84. package/dist/assets/{InvitePageListView-C7CaDCYN-kxX6EM5-.js → InvitePageListView-C7CaDCYN-DgDyQbel.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-Ca0ZnNhV-4UVRRlzN.js → InvitePeoplePage-Ca0ZnNhV-DhNhdRht.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-Cm7WlMIS-Ds7UwHT_.js → InvoiceUploadSection-Cm7WlMIS-CgyB8ePg.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-B7w3Xky1-CF1rLLIM.js → IssueChargeCardPage-B7w3Xky1-CKvMuV4K.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-B5Yv4nig-BmG4gsPH.js → LabeledAddressValue-B5Yv4nig-CNsG-WU7.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BODlYe8J-C_77UpWi.js → LabeledAddressValueField-BODlYe8J-CiIDFGvo.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BBrHodlx-ajZwZw2T.js → LabeledControlledCheckBoxField-BBrHodlx-DZSgDuPY.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DBovHkMc-D9D-7hZt.js → LabeledCreatableSingleSelectField-DBovHkMc-upCPJRUw.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-CIlbLPtO-DSLjsPoT.js → LabeledDocumentField-CIlbLPtO-CyOwq3qY.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-Dpt7UG-o-BPi_XfUF.js → LabeledDropDownFormattedTextField-Dpt7UG-o-BXwTt2kH.js} +1 -1
  94. package/dist/assets/{LabeledText-D0aPaE6r-DJ33Sqqy.js → LabeledText-D0aPaE6r-CDASXomo.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--C5GcoA_6.js → LabeledUserSingleSelectWithSubtitlesField-CO-Owx5--BtzlqXjH.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-CcfvYWTB-FOsQ-M0q.js → LabeledZeniRolesDropDownField-CcfvYWTB-DW_5XewE.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-w2poqqTD-CRc8L88u.js → LinkJETransactionPage-w2poqqTD-CVvitekI.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-BpFvPcb8-CmbXf1Gb.js → LowBalancePopup-BpFvPcb8-CbbQEMsW.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-DUyr5VX8-FvxaU41w.js → MagicLinkACHDetailsPage-DUyr5VX8-DMGL4iMC.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CTA58UoF-CRGjJqP9.js → MagicLinkDomesticWireDetailsPage-CTA58UoF-Bkm4wS65.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DDQqyw69-MTxSeQ4l.js → MagicLinkInternationalWireDetailsPage-DDQqyw69-BZXPgm29.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-CKKAWryZ-Cm8AQCr_.js → MagicLinkSuccessPage-CKKAWryZ-BM1EXsJU.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js → MagicLinkTitleSection-CvW_f4xF-CqZNaUJA.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-Di5KwEqu-Di8UL6YK.js → MailingDetailsSection-Di5KwEqu-B9mhlAae.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js → MeetingCalenderPopup-6yyRBLYC-Bbqtv452.js} +1 -1
  106. package/dist/assets/{Menu-BOh_KLZu-BrkD9kYL.js → Menu-BOh_KLZu-CFhi0SIh.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-BBQ0YN9M-BBihRuQw.js → MyBankConnectionsSettingsPage-BBQ0YN9M-DqTc9oHU.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-DcXCxGj2-BY3uKh9u.js → MyPendingActivationChargeCardListPage-DcXCxGj2-C4pJ48Rp.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-D-lTTFuP-D9kDcE-6.js → MyProfileSettingsPage-D-lTTFuP-hNTZ9JYo.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-CNBOk06R-D8yiRwFQ.js → NavBarWithPicker-CNBOk06R-BZD_yWn9.js} +1 -1
  111. package/dist/assets/{NavigationArrow-B15b66TT-B9hYIhnI.js → NavigationArrow-B15b66TT-BxpDaopE.js} +1 -1
  112. package/dist/assets/{NavigationDots-5fxvl-4e-BzJdpllk.js → NavigationDots-5fxvl-4e-xo_TDt3y.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BeP4W8rj-Dwyu3Pw7.js → NewGlobalMerchantPage-BeP4W8rj-BBX9UZWo.js} +1 -1
  114. package/dist/assets/{NoDataChart-edFKx0zh-DIp9-BoP.js → NoDataChart-edFKx0zh-BcXK0tqt.js} +1 -1
  115. package/dist/assets/{NoDataTable-41nH5trW-Brapb7lv.js → NoDataTable-41nH5trW-pzm1rHwP.js} +1 -1
  116. package/dist/assets/{NotFoundPage-CRVGi6Xn-BHvH8jL8.js → NotFoundPage-CRVGi6Xn-b9DBQuQL.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-CiVAtoGY-B9kZWOsO.js → NotificationSettingsPage-CiVAtoGY-B2aR003-.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-BjItJJe9-l0BCgaPP.js → NotificationsListConfig-BjItJJe9-DzH6eIvg.js} +1 -1
  119. package/dist/assets/{NotificationsPage-DuHUL5V8-CgYzIXTj.js → NotificationsPage-DuHUL5V8-l7cXXilr.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-D611nXIC-CqyYyP4C.js → OpExByVendorPage-D611nXIC-DhuOhbiX.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-C0rUb6-5-DPaQcYgi.js → OverlayContainerPage-C0rUb6-5-BL1aeWOM.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Cqab0euB-dzseIlDa.js → PandLWithForecastPage-Cqab0euB-BjlrYFkz.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cvn1adQb-kbzfxjFm.js → PaymentAccountSetupBillingAddressSection-Cvn1adQb-Y7cu298L.js} +1 -1
  124. package/dist/assets/{PeoplePage-MCCZAx4z-BnV0pX_P.js → PeoplePage-MCCZAx4z-BY3UpTqg.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-Coa0Y4wN-CVL7-3BP.js → PortfolioAllocationFormPage-Coa0Y4wN-Biro25bf.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-C9a0p99e-d06R_ouh.js → PortfolioDetails-C9a0p99e-BupBBmbV.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-B0fHKTa_-Bne7N-_V.js → ProductsCarousel-B0fHKTa_-DRwb_zg1.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-BuCQJuXH-BcjVOmSJ.js → PromoBaseCards-BuCQJuXH-jJQ9UKvZ.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-D-vB9dbo--0kkpUah.js → QBOConnectionDialog-D-vB9dbo-BMExMhX5.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-CfficE5p-nLwRVoqN.js → QBOSetupSection-CfficE5p-B9jrvkTN.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cg_pVsAh-Baq7EYkc.js → ReimbursementApprovalRuleDetailPage-Cg_pVsAh-DD6eBHFP.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-Dg1b0lJP-YhAdGh62.js → ReimbursementApprovalRulesPage-Dg1b0lJP-BNSHjAMn.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-CE_jx7cM-DEw3OdDA.js → ReimbursementDetailPage-CE_jx7cM-NMeD4tV1.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-MQpz5nNE-CLg8Hqif.js → ReimbursementPromoPage-MQpz5nNE-B2b8Se26.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-BRjWHns_-BSdXzytm.js → ReimbursementSetUpPage-BRjWHns_-hYFlsZc3.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-wPNRkXt8-DoNrAJRB.js → ReimbursementsBulkReviewDrawerPage-wPNRkXt8-C2MKAuWk.js} +1 -1
  137. package/dist/assets/{ReloadCard-D5woGDxx-DS9HJ3wy.js → ReloadCard-D5woGDxx-bUwk980b.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-Bc5xUtnG-pW3txVQ2.js → ReportTableViewSelector-Bc5xUtnG-B_lLxJq7.js} +1 -1
  139. package/dist/assets/{ReportsPage-J8DrZz78-Bf6sj4--.js → ReportsPage-J8DrZz78-BDQBNTzo.js} +1 -1
  140. package/dist/assets/{RevenueChart-CS0JmijO-BqFQGtoh.js → RevenueChart-CS0JmijO-Cw-uHSTf.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-C7RbpKwU-C9iDaLL8.js → ReviewDetailsPage-C7RbpKwU-D2J8IvQH.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-BwgzcM9d-CSY6hmMy.js → ReviewOverlay-BwgzcM9d-BIZud1RE.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-DkeT6zjW-DmUDvRC_.js → RoleWithToolTip-DkeT6zjW-DB4n5m2x.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BzZkVg7T-c2tjnpKQ.js → ScheduleDetailsFixedAssetsPage-BzZkVg7T-rhB-3onC.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-DiXwmlk8-t0I7MASB.js → ScheduleDetailsPage-DiXwmlk8-DlOKlput.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-CSxFNhoR-D9UFT3Zm.js → ScheduleSequenceTable-CSxFNhoR-B0UeYTos.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-xLzXCTox.js → ScreenRoutes-4bmbtkw-.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-CdUpAzlt-4B1rLcGQ.js → SetUpAccountSection-CdUpAzlt-C1MgYcT-.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-D4FafmO5-CcuY4gpp.js → SetUpDefaultSection-D4FafmO5-JKsfeRPT.js} +1 -1
  150. package/dist/assets/{SignIn-CAmRcuqx-CXf8JU8h.js → SignIn-CAmRcuqx-Dg-rTZ6q.js} +1 -1
  151. package/dist/assets/{SignInScreen-CEfXit7t.js → SignInScreen-DAZJjFZ6.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-DdpJprAd-BHEK7wRP.js → SpendManagementListViewPage-DdpJprAd-B10ZaJRb.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-D2Ri2q6S-BZOgnmqs.js → SpendManagementPerTabPage-D2Ri2q6S-BMv0UU_O.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-CisJALAC-zKC9aL_a.js → SpendManagementSection-CisJALAC-cZKA8cZE.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DcJhhfdt-CSj4RU9Q.js → SpendMgmtSetupAccountSection-DcJhhfdt-AlupPqQd.js} +1 -1
  156. package/dist/assets/{StatementItem-BOq_DDMZ-VgE7gIr3.js → StatementItem-BOq_DDMZ-CY3Qpt1a.js} +1 -1
  157. package/dist/assets/{StatementsPage-C9WOCLSj-lgfYmMKh.js → StatementsPage-C9WOCLSj-B-U-sZOJ.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-CofdCR_K-DYsfjilX.js → StatusSwitcher-CofdCR_K-BkGUOxFV.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-BPVG5BHS-C6Ng45Yx.js → SubTabSwitcher-BPVG5BHS-DY3CAvRO.js} +1 -1
  160. package/dist/assets/{SummaryCard-D-me4TrL-C69v2luu.js → SummaryCard-D-me4TrL-3xZv8xrR.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-BSmG6YR2-BRBZRYl9.js → TaskManagementPage-BSmG6YR2-DNj3Vzrv.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-BK7gGqaa-li6QV9p5.js → TimeRangeSwitcher-BK7gGqaa-d24Db5VO.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js → TimeframeSwitcher-SD5_8TCp-DrzKb54r.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-BwvVsB_p-CoKIqOrx.js → TimeframeSwitcherWithToggle-BwvVsB_p-D2v3J1KI.js} +1 -1
  165. package/dist/assets/{TopExCard-CDgcQKGp-G2-ryp7z.js → TopExCard-CDgcQKGp-Bqp10Sn-.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-CXiEe14r-DrI7SLfC.js → TopExDetailPage-CXiEe14r-DVBrKuWG.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-IJyZF-Z_-ssTdABCq.js → TransactionDetailPage-IJyZF-Z_-C-Z95BQG.js} +1 -1
  168. package/dist/assets/{TransactionList-C34ivmk5-BL7wpE6F.js → TransactionList-C34ivmk5-C5mBiYt3.js} +1 -1
  169. package/dist/assets/{TransactionListBig-qruiU0xy-4hBLzp6P.js → TransactionListBig-qruiU0xy-tMMTuqzY.js} +1 -1
  170. package/dist/assets/{TransactionListPage-C31U97xd-B7MDVBJ8.js → TransactionListPage-C31U97xd-CRQaNpPy.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-DZsvH-GM-CHoVBuA8.js → TransactionVendorDetailPage-DZsvH-GM-8MuJaqmu.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-DC5q2Zpv-Bbx0ZiKK.js → TransferDrawerPage-DC5q2Zpv-CmGtL5lc.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-DSBqawrH--EJITXP0.js → TreasuryOverviewPage-DSBqawrH-DycEi82C.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-D6WSBxgD-BYq_YoGm.js → TreasuryPromoPage-D6WSBxgD-BlvVAiRS.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-BgSq4D0a-BeLJ_DJT.js → TreasurySetupPage-BgSq4D0a-ad83A_r3.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-Dj9RAujO-BX1C5lYD.js → TreasuryStatementsPage-Dj9RAujO-DWwk9wCn.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-Dw6tL_j9-BVOoGBCD.js → TreasuryTaxLetterPage-Dw6tL_j9-CkIAlhee.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-cBHznYnK-1UcbcZaf.js → TreasuryTransferOrReviewPage-cBHznYnK-BXVAiiS6.js} +1 -1
  179. package/dist/assets/{TrendChart-dARoUu-T-CjrTnbAe.js → TrendChart-dARoUu-T-DLWmmph8.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-BOGQK2Zt-itTZBsuV.js → TrendWithTransactions-BOGQK2Zt-DsTHQyvH.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-Ci4VHOLB-CZTpXCGM.js → UncategorizedAccountsMappingPage-Ci4VHOLB-BdOVs5yc.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-DSMTzyKA-DnkdzVNG.js → UnitIntegrationPage-DSMTzyKA-CoAUeDRa.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-CBpLz-gk-DUe20w1p.js → UploadAdditionalDocumentOverlay-CBpLz-gk-Cn-PxzO4.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-Be7OBE4e-Cos9XGLx.js → Vendor2FAPopup-Be7OBE4e-Dw3MgVFY.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-LvWgxsF7-BpMJ6WbJ.js → VendorACHDetailsPage-LvWgxsF7-CaN7hXyJ.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-C-qpa1GC-C0r4HDge.js → VendorDetailPage-C-qpa1GC-OT8_rieb.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-Ckoq2I8V-BwkAhyAi.js → VendorDomesticWireDetailsPage-Ckoq2I8V-sly11L4e.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-WZMwLILQ-BqoTTIiC.js → VendorFiling1099EditablePage-WZMwLILQ-Dvglnl8g.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-DNhp59d9-D_f9l4B9.js → VendorFirstReviewPage-DNhp59d9-6Npfw6ZQ.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-DuP916gU-COYahX1d.js → VendorInternationalWireDetailsPage-DuP916gU-CFYN39yL.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BCIC6mrJ-BI-zVOHZ.js → VendorInternationalWireSwiftDetailsPage-BCIC6mrJ-CTfDKjHB.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-C4q6FPlB-C6cNo2_u.js → VendorsAccountsSection-C4q6FPlB-Cdm8bQji.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-C162biV8-pPVOEtpH.js → WarningsDrawerPage-C162biV8-CyRcKAFE.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-C3NnXuFp-CXwXsDQ1.js → ZeniAccountDetailPage-C3NnXuFp-hGf5hhXT.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-Cn7rYnlu-DTOPnL32.js → ZeniAccountListViewPage-Cn7rYnlu-BZ6tC-rC.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-DHYLxQKr-DoTCX7_F.js → ZeniAccountNavBarPieces-DHYLxQKr-i6WaheRu.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-BGyyQP4l-B98KmCaD.js → ZeniAccountPromoPage-BGyyQP4l-8aRktQCO.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-CIh0isMw-lFqJMWg0.js → ZeniAccountSetupPage-CIh0isMw-BpYj-zTN.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-B83zWEf0-19q3_mPy.js → ZeniCopyright-B83zWEf0-CbbA3mi5.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-CPg3o4xG-BlMvJPot.js → ZeniTransferAmountSlider-CPg3o4xG-Cpl4hegF.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CD5PHV67.js → analyticsHelper-Bwye1Yzk.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DlYWxxhD-DdeYfQh2.js → analyticsHelper-DlYWxxhD-6PX8-p-s.js} +1 -1
  203. package/dist/assets/{chartTypes-DueLK3Wl-B3lGAHMU.js → chartTypes-DueLK3Wl-BWSykg1r.js} +1 -1
  204. package/dist/assets/{commonDimensions-D4uH020E-szItJUN9.js → commonDimensions-D4uH020E-CzLHHjVa.js} +1 -1
  205. package/dist/assets/{detailCommon-D5qKBZdS-CPasfcVD.js → detailCommon-D5qKBZdS-BpsfjSiy.js} +1 -1
  206. package/dist/assets/{downloadPdf-s4pLtuS_-CF3EQD3j.js → downloadPdf-s4pLtuS_-DfJmhSyn.js} +1 -1
  207. package/dist/assets/{index-DoFw58Mw.js → index-Dc18sb8X.js} +3 -3
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-M0QN8LkC-3yQrrz5g.js → mapLoadingInProgressToTreeNode-M0QN8LkC-DSfxQmfa.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrtVdHui-CnnfThO_.js → mapSectionWithAcOnlyToTreeNode-CrtVdHui-qBoPPypE.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-yPPIJHBw-D3Gjllyb.js → mapSpacerToTreeNode-yPPIJHBw-BXxWoQQn.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-px916zpo-rIOc1Hnu.js → mapTimeframeBalancesToTreeNode-px916zpo-CuLGcUKr.js} +1 -1
  212. package/dist/assets/{play-icon-Bih37F_s-C73Mu05H.js → play-icon-Bih37F_s-C6sD6kbP.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-CAhfOfUa-CUvT0aen.js → toCOABalancesWithID-CAhfOfUa-BLsrlpgK.js} +1 -1
  214. package/dist/assets/{toChartData-BicnbT0F-BAKhPkjP.js → toChartData-BicnbT0F-CzNzHCD-.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js → treasuryColorHelper-A_YlwvaQ-CVHETTwa.js} +1 -1
  216. package/dist/assets/{uploadAttachment-DVoWdoWD-RtUqrYnb.js → uploadAttachment-DVoWdoWD-D5s5ylN5.js} +1 -1
  217. package/dist/assets/{uploadReceipts-Buvz7DfG-XWftDYl6.js → uploadReceipts-Buvz7DfG-DS0aCuAZ.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +1 -1
  220. package/dist/assets/CustomerOnboardingContainerPage-X6X9Yc-9-D6pVLXm5.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as y,M as S,h1 as b,j as o,e as g,o as r,s as j,C as v,bq as z,p as k}from"./index-DoFw58Mw.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-CHPfWPEF-lXs1y6iB.js";import{w as L}from"./downloadPdf-s4pLtuS_-CF3EQD3j.js";const d=S.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},B=i.div`
1
+ import{X as y,M as S,h1 as b,j as o,e as g,o as r,s as j,C as v,bq as z,p as k}from"./index-Dc18sb8X.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-CHPfWPEF-D1R-06zc.js";import{w as L}from"./downloadPdf-s4pLtuS_-DfJmhSyn.js";const d=S.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},B=i.div`
2
2
  display: flex;
3
3
  padding: ${r.sp3} ${r.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{u as v,X as z,j as t,aW as C,M as P,ao as I,o as r,g as m,bT as L,C as M,p as h,s as O}from"./index-DoFw58Mw.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-CHPfWPEF-lXs1y6iB.js";import{o as B}from"./commonDimensions-D4uH020E-szItJUN9.js";import{O as E}from"./StatementItem-BOq_DDMZ-VgE7gIr3.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-s4pLtuS_-CF3EQD3j.js";const x=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new M(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=v(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?B.transactionItemHeight:24,S=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:T(a,i.statements.length)},s.id)}):t.jsx(R,{style:{...n},children:t.jsx(N,{children:t.jsx(u,{windowSize:l,children:t.jsx(H,{children:x.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(I,{children:({height:a,width:n})=>t.jsx(V,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},R=o.div``,u=o.div`
1
+ import{u as v,X as z,j as t,aW as C,M as P,ao as I,o as r,g as m,bT as L,C as M,p as h,s as O}from"./index-Dc18sb8X.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-CHPfWPEF-D1R-06zc.js";import{o as B}from"./commonDimensions-D4uH020E-CzLHHjVa.js";import{O as E}from"./StatementItem-BOq_DDMZ-CY3Qpt1a.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-s4pLtuS_-DfJmhSyn.js";const x=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new M(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=v(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?B.transactionItemHeight:24,S=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:T(a,i.statements.length)},s.id)}):t.jsx(R,{style:{...n},children:t.jsx(N,{children:t.jsx(u,{windowSize:l,children:t.jsx(H,{children:x.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(I,{children:({height:a,width:n})=>t.jsx(V,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},R=o.div``,u=o.div`
2
2
  margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,w as z}from"./index-DoFw58Mw.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function w(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:w(a)}return w(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??w(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),m={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},j=u.div`
1
+ import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,w as z}from"./index-Dc18sb8X.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function w(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:w(a)}return w(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??w(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),m={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},j=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as r,e as u,o as s,w as g,aj as m}from"./index-DoFw58Mw.js";import{n as i,j as a}from"./vendor-CnQcJ2Lu.js";function S({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs(x,{style:d,hasRightComponent:h,children:[r.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return r.jsxs(b,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[r.jsx(y,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=i.div`
1
+ import{j as r,e as u,o as s,w as g,aj as m}from"./index-Dc18sb8X.js";import{n as i,j as a}from"./vendor-CnQcJ2Lu.js";function S({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs(x,{style:d,hasRightComponent:h,children:[r.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return r.jsxs(b,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[r.jsx(y,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{j as d}from"./index-DoFw58Mw.js";import{E as n,T as t}from"./ReloadCard-D5woGDxx-DS9HJ3wy.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
1
+ import{j as d}from"./index-Dc18sb8X.js";import{E as n,T as t}from"./ReloadCard-D5woGDxx-bUwk980b.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
@@ -1,4 +1,4 @@
1
- import{y as ht,u as qe,j as t,M as oe,iI as Y,aW as mt,T as V,bO as gt,s as K,Z as kt,l as Q,o as s,eJ as Ze,ah as Ie,bL as xt,fA as wt,as as ft,bf as Je,a9 as Ct,X as le,a as Tt,C as Xe,c3 as $t,F as yt,ao as bt,bT as vt,ic as jt,id as St,iJ as ze,a7 as Gt,K as De,bt as Ee,eF as Qe,iK as Lt,cq as et,iL as pe,iM as xe,iN as Nt,iO as we,iP as tt,iQ as st,iR as ot,iS as nt,iT as at,iU as rt,iV as _,p as ke,iW as re,w as ie,iX as It,iY as Et,a6 as Mt,r as Dt,iZ as zt,d7 as Bt,i_ as Wt,cg as it,cA as At,v as Rt,i$ as Ot,j0 as Ft,fB as Pt,eI as Ht,j1 as Vt,j2 as J,j3 as Be,bV as Ut,j4 as _t,j5 as Kt,j6 as We,j7 as Yt,g as Ae,fY as qt,m as Zt}from"./index-DoFw58Mw.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Jt,Y as Xt}from"./SpendManagementSection-CisJALAC-zKC9aL_a.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-BjItJJe9-l0BCgaPP.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-DdpJprAd-BHEK7wRP.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-CofdCR_K-DYsfjilX.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>j(x),M=x=>{const S=Math.max(x,0)/d,y=Math.pow(S,p)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="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,y=c;if(y<d&&y>0){const L=d-y,g=M(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{E(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},Se=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),ds=o.div`
1
+ import{y as ht,u as qe,j as t,M as oe,iI as Y,aW as mt,T as V,bO as gt,s as K,Z as kt,l as Q,o as s,eJ as Ze,ah as Ie,bL as xt,fA as wt,as as ft,bf as Je,a9 as Ct,X as le,a as Tt,C as Xe,c3 as $t,F as yt,ao as bt,bT as vt,ic as jt,id as St,iJ as ze,a7 as Gt,K as De,bt as Ee,eF as Qe,iK as Lt,cq as et,iL as pe,iM as xe,iN as Nt,iO as we,iP as tt,iQ as st,iR as ot,iS as nt,iT as at,iU as rt,iV as _,p as ke,iW as re,w as ie,iX as It,iY as Et,a6 as Mt,r as Dt,iZ as zt,d7 as Bt,i_ as Wt,cg as it,cA as At,v as Rt,i$ as Ot,j0 as Ft,fB as Pt,eI as Ht,j1 as Vt,j2 as J,j3 as Be,bV as Ut,j4 as _t,j5 as Kt,j6 as We,j7 as Yt,g as Ae,fY as qt,m as Zt}from"./index-Dc18sb8X.js";import{b as n,n as o,j as fe}from"./vendor-CnQcJ2Lu.js";import{J as Jt,Y as Xt}from"./SpendManagementSection-CisJALAC-cZKA8cZE.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-BjItJJe9-DzH6eIvg.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-DdpJprAd-B10ZaJRb.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-CofdCR_K-BkGUOxFV.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>j(x),M=x=>{const S=Math.max(x,0)/d,y=Math.pow(S,p)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="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,y=c;if(y<d&&y>0){const L=d-y,g=M(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{E(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},Se=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),ds=o.div`
2
2
  ${e=>e.isCircular?fe`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{j as t,ao as Y,H as k,dg as D,aL as V,o as a,w as q}from"./index-DoFw58Mw.js";import{n as g,b as n}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-C5LQ0bMa.js";import{L as U}from"./CollapsableReportTable-Dp1985is-CgJ_JGJs.js";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{j as t,ao as Y,H as k,dg as D,aL as V,o as a,w as q}from"./index-Dc18sb8X.js";import{n as g,b as n}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-C5LQ0bMa.js";import{L as U}from"./CollapsableReportTable-Dp1985is-CGhJR3X0.js";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{j as t,o,w as p,M as u}from"./index-DoFw58Mw.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const f=i.div`
1
+ import{j as t,o,w as p,M as u}from"./index-Dc18sb8X.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const f=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{X as c,j as t,C as n,w,b3 as x}from"./index-DoFw58Mw.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(x,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
1
+ import{X as c,j as t,C as n,w,b3 as x}from"./index-Dc18sb8X.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-SD5_8TCp-DrzKb54r.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(x,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{H as V,X as _,j as t,u as f,b6 as T,aB as C,aA as S,ba as E,bj as k,p as x,aJ as R,v as $,bk as H,bl as q,_ as G,l as J,U as X,o as p,w as L,as as Y,s as F,M as A,V as N,Y as Q,a8 as O,an as U,ao as W,a9 as Z,bm as ee}from"./index-DoFw58Mw.js";import{f as w,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-D5woGDxx-DS9HJ3wy.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
1
+ import{H as V,X as _,j as t,u as f,b6 as T,aB as C,aA as S,ba as E,bj as k,p as x,aJ as R,v as $,bk as H,bl as q,_ as G,l as J,U as X,o as p,w as L,as as Y,s as F,M as A,V as N,Y as Q,a8 as O,an as U,ao as W,a9 as Z,bm as ee}from"./index-Dc18sb8X.js";import{f as w,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-D5woGDxx-bUwk980b.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
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{u as v,X as S,l as A,j as t,aW as B,M as u,_ as k,ao as H,D as P,o as i,C as E,bi as z,aM as F,p as c,g as T,s as y,Y as V,ak as M}from"./index-DoFw58Mw.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-CDgcQKGp-G2-ryp7z.js";import{b as L}from"./TimeframeSwitcher-SD5_8TCp-DcEUsFuS.js";import{d as O}from"./NoDataTable-41nH5trW-Brapb7lv.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-D5woGDxx-DS9HJ3wy.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const j="141px",I=i.sp4,R="123px",X=l(M)`
1
+ import{u as v,X as S,l as A,j as t,aW as B,M as u,_ as k,ao as H,D as P,o as i,C as E,bi as z,aM as F,p as c,g as T,s as y,Y as V,ak as M}from"./index-Dc18sb8X.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-CDgcQKGp-Bqp10Sn-.js";import{b as L}from"./TimeframeSwitcher-SD5_8TCp-DrzKb54r.js";import{d as O}from"./NoDataTable-41nH5trW-pzm1rHwP.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-D5woGDxx-bUwk980b.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const j="141px",I=i.sp4,R="123px",X=l(M)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{u as jt,a as zo,X as Z,M as N,a5 as Vt,dL as Ao,dM as Ro,c3 as Vo,H as Po,dN as Gi,l as ue,dO as Eo,j as i,Y as B,F as _o,aW as No,dP as Bo,dQ as Mo,e as Bt,dR as Ii,a7 as Fo,C as V,dS as Wo,dT as Xi,dU as Ki,dV as Zi,dW as Ie,dX as ve,dY as Ee,dZ as Ge,d_ as Xe,d$ as It,e0 as vt,e1 as Ke,e2 as rt,e3 as Ct,e4 as Dt,e5 as Pt,e6 as re,e7 as Et,e8 as se,e9 as le,R as qo,ea as bt,eb as vi,ec as Uo,K as Ho,bO as Yo,o as n,ed as Go,p as v,D as si,g as ie,Z as mi,av as Mt,ee as Xo,ef as Ko,bI as Zo,ah as Ft,_ as De,cg as Be,eg as Jo,eh as kt,aa as Ji,cl as Qo,ei as en,bF as tn,bG as on,s as he,ak as nn,cA as an,ej as Qi,ek as li,el as ri,em as Qt,dc as sn,ao as ln,bT as rn,co as hi,cm as eo,d3 as cn,en as Ci,eo as Di,ep as dn,bt as to,eq as ei,dh as ti,er as un,aM as pn,es as mn,et as Ti,eu as hn,A as gn,cp as fn,ev as yn,Q as io,ew as bn,b5 as xn,ex as ji,b2 as tt,ey as wn,ez as $n,eA as In,b0 as vn,b4 as Cn,dq as Dn,v as oo,eB as Tn,a$ as jn,a6 as On,m as Ln,eC as Sn,ac as ci}from"./index-DoFw58Mw.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-BBrHodlx-ajZwZw2T.js";import{R as kn}from"./TrendWithTransactions-BOGQK2Zt-itTZBsuV.js";import{u as zn,c as An,d as Rn,m as Vn}from"./uploadAttachment-DVoWdoWD-RtUqrYnb.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-dARoUu-T-CjrTnbAe.js";import"./chartTypes-DueLK3Wl-B3lGAHMU.js";import"./toCOABalancesWithID-CAhfOfUa-CUvT0aen.js";import"./toChartData-BicnbT0F-BAKhPkjP.js";import"./NoDataChart-edFKx0zh-DIp9-BoP.js";import"./InsightsSection-q1QuO6Z4-1k_aUqAr.js";import"./NavigationDots-5fxvl-4e-BzJdpllk.js";import"./TransactionList-C34ivmk5-BL7wpE6F.js";import"./BoxItem-CHPfWPEF-lXs1y6iB.js";import"./commonDimensions-D4uH020E-szItJUN9.js";const En={headerMarginTop:new V(v[7],v[8])},_n=l(he)`
1
+ import{u as jt,a as zo,X as Z,M as N,a5 as Vt,dL as Ao,dM as Ro,c3 as Vo,H as Po,dN as Gi,l as ue,dO as Eo,j as i,Y as B,F as _o,aW as No,dP as Bo,dQ as Mo,e as Bt,dR as Ii,a7 as Fo,C as V,dS as Wo,dT as Xi,dU as Ki,dV as Zi,dW as Ie,dX as ve,dY as Ee,dZ as Ge,d_ as Xe,d$ as It,e0 as vt,e1 as Ke,e2 as rt,e3 as Ct,e4 as Dt,e5 as Pt,e6 as re,e7 as Et,e8 as se,e9 as le,R as qo,ea as bt,eb as vi,ec as Uo,K as Ho,bO as Yo,o as n,ed as Go,p as v,D as si,g as ie,Z as mi,av as Mt,ee as Xo,ef as Ko,bI as Zo,ah as Ft,_ as De,cg as Be,eg as Jo,eh as kt,aa as Ji,cl as Qo,ei as en,bF as tn,bG as on,s as he,ak as nn,cA as an,ej as Qi,ek as li,el as ri,em as Qt,dc as sn,ao as ln,bT as rn,co as hi,cm as eo,d3 as cn,en as Ci,eo as Di,ep as dn,bt as to,eq as ei,dh as ti,er as un,aM as pn,es as mn,et as Ti,eu as hn,A as gn,cp as fn,ev as yn,Q as io,ew as bn,b5 as xn,ex as ji,b2 as tt,ey as wn,ez as $n,eA as In,b0 as vn,b4 as Cn,dq as Dn,v as oo,eB as Tn,a$ as jn,a6 as On,m as Ln,eC as Sn,ac as ci}from"./index-Dc18sb8X.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Oi}from"./LabeledControlledCheckBoxField-BBrHodlx-DZSgDuPY.js";import{R as kn}from"./TrendWithTransactions-BOGQK2Zt-DsTHQyvH.js";import{u as zn,c as An,d as Rn,m as Vn}from"./uploadAttachment-DVoWdoWD-D5s5ylN5.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./TrendChart-dARoUu-T-DLWmmph8.js";import"./chartTypes-DueLK3Wl-BWSykg1r.js";import"./toCOABalancesWithID-CAhfOfUa-BLsrlpgK.js";import"./toChartData-BicnbT0F-CzNzHCD-.js";import"./NoDataChart-edFKx0zh-BcXK0tqt.js";import"./InsightsSection-q1QuO6Z4-BTPE3Xuw.js";import"./NavigationDots-5fxvl-4e-xo_TDt3y.js";import"./TransactionList-C34ivmk5-C5mBiYt3.js";import"./BoxItem-CHPfWPEF-D1R-06zc.js";import"./commonDimensions-D4uH020E-CzLHHjVa.js";const En={headerMarginTop:new V(v[7],v[8])},_n=l(he)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Nn=l(he)`
4
4
  margin-right: ${n.sp1};
@@ -1,4 +1,4 @@
1
- import{X as O,j as e,ao as tt,Y as u,dc as et,M as y,dd as it,d7 as at,de as ot,o as i,g as A,bT as rt,C as q,l as m,e as nt,s as v,p as g,w as st,df as Q,cs as V,_ as W,m as lt}from"./index-DoFw58Mw.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-CHPfWPEF-lXs1y6iB.js";import{o as N}from"./commonDimensions-D4uH020E-szItJUN9.js";const D=t=>t?24:125,ct={containerPaddingBottom:new q(g[9],g[8])},E=n.div`
1
+ import{X as O,j as e,ao as tt,Y as u,dc as et,M as y,dd as it,d7 as at,de as ot,o as i,g as A,bT as rt,C as q,l as m,e as nt,s as v,p as g,w as st,df as Q,cs as V,_ as W,m as lt}from"./index-Dc18sb8X.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-CHPfWPEF-D1R-06zc.js";import{o as N}from"./commonDimensions-D4uH020E-CzLHHjVa.js";const D=t=>t?24:125,ct={containerPaddingBottom:new q(g[9],g[8])},E=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as w,p as n,v as ae,g as B,o,Q as j,h as q,aK as se,aL as le,w as de,Z as ce,_ as me,aM as pe,n as he,e as ue,K as Y,D as G,aN as X,a9 as ee}from"./index-DoFw58Mw.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-BvFE5A3N-C__nnIqn.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-D-me4TrL-C69v2luu.js";import"./ReloadCard-D5woGDxx-DS9HJ3wy.js";import"./NavigationArrow-B15b66TT-B9hYIhnI.js";import"./NavigationDots-5fxvl-4e-BzJdpllk.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,X as L,y as W,I as ie,aJ as ne,l as D,j as t,Y as x,ao as re,M as w,p as n,v as ae,g as B,o,Q as j,h as q,aK as se,aL as le,w as de,Z as ce,_ as me,aM as pe,n as he,e as ue,K as Y,D as G,aN as X,a9 as ee}from"./index-Dc18sb8X.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-BvFE5A3N-ObKkidII.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-D-me4TrL-3xZv8xrR.js";import"./ReloadCard-D5woGDxx-bUwk980b.js";import"./NavigationArrow-B15b66TT-BxpDaopE.js";import"./NavigationDots-5fxvl-4e-xo_TDt3y.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,be=i.div`
@@ -1,4 +1,4 @@
1
- import{u as z,aT as A,aU as M,aV as X,j as o,Y as h,aW as q,e as K,aX as U,o as n,s as V}from"./index-DoFw58Mw.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-C34ivmk5-BL7wpE6F.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-CHPfWPEF-lXs1y6iB.js";import"./commonDimensions-D4uH020E-szItJUN9.js";const G=l.div`
1
+ import{u as z,aT as A,aU as M,aV as X,j as o,Y as h,aW as q,e as K,aX as U,o as n,s as V}from"./index-Dc18sb8X.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-C34ivmk5-C5mBiYt3.js";import{t as _}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-CHPfWPEF-D1R-06zc.js";import"./commonDimensions-D4uH020E-CzLHHjVa.js";const G=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{X as H,M as A,j as o,e as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as G,cu as K,a as U,gv as F,gw as M,gx as R,c3 as X,F as Y,p as r,u as _,c6 as J,ga as z,gC as Z,aq as ee,gG as oe,gH as te}from"./index-DoFw58Mw.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=_(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",h),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=d.div`
1
+ import{X as H,M as A,j as o,e as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as G,cu as K,a as U,gv as F,gw as M,gx as R,c3 as X,F as Y,p as r,u as _,c6 as J,ga as z,gC as Z,aq as ee,gG as oe,gH as te}from"./index-Dc18sb8X.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=A.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=_(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",h),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(J,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:v,allOptions:F(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,X as de,Y as A,gP as it,M as I,_ as q,K as Ce,gZ as lt,e as We,a7 as we,o as a,C as c,a6 as Ye,k as st,as as ct,Z as dt,c0 as xe,w as $e,s as ue,a5 as pe,eZ as ut,a as Ve,l as ft,c3 as pt,aJ as mt,a0 as ht,g as G,F as Ne,f6 as Se,f7 as ve,fF as gt,bt as De,fA as wt,g_ as xt,p as o,cW as $t,ah as Xe,bn as Dt,cz as bt,b5 as Tt,m as Ze,f2 as yt,dq as Ct,bp as qe,f9 as St,fb as vt}from"./index-DoFw58Mw.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-CPg3o4xG-BlMvJPot.js";import{r as At}from"./AccountInfoPageContent-DOrQxiUF-2yx_ZhMt.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-s4pLtuS_-CF3EQD3j.js";import"./commonDimensions-D4uH020E-szItJUN9.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Je=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 Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Ke=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:Ke,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,Z]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const F={...h},se={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};J(se)}};u.useEffect(()=>{const s=P.watch((h,{name:F})=>{if(F!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:F})=>{F!=null&&h!=null&&pt(()=>et(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Bt,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Ft,{id:Je(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Be,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.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:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Fe,{}),t.jsx(Be,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.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:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Fe,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ue),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.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(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Jt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?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(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
1
+ import{j as t,X as de,Y as A,gP as it,M as I,_ as q,K as Ce,gZ as lt,e as We,a7 as we,o as a,C as c,a6 as Ye,k as st,as as ct,Z as dt,c0 as xe,w as $e,s as ue,a5 as pe,eZ as ut,a as Ve,l as ft,c3 as pt,aJ as mt,a0 as ht,g as G,F as Ne,f6 as Se,f7 as ve,fF as gt,bt as De,fA as wt,g_ as xt,p as o,cW as $t,ah as Xe,bn as Dt,cz as bt,b5 as Tt,m as Ze,f2 as yt,dq as Ct,bp as qe,f9 as St,fb as vt}from"./index-Dc18sb8X.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-CPg3o4xG-Cpl4hegF.js";import{r as At}from"./AccountInfoPageContent-DOrQxiUF-eaKGkCbW.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-s4pLtuS_-DfJmhSyn.js";import"./commonDimensions-D4uH020E-CzLHHjVa.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ue="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ge="transferDetailPage",me=(e,n)=>`${e}.${n}`,Je=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 Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:B,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),Q=n.transferMoneyPartiesFetchState,oe=pe(Q),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Ke=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),He=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:Z,ready:te}=ut({token:v,onSuccess:Ke,onExit:He}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?Z():z(!0)},[Z,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&Z()},[V,Z,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&Q==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>Z()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,be,ee,X,P,n,Z]);const{isValid:Qe}=P.formState,et=async(s,h)=>{if(s!=null){const F={...h},se={amount:{amount:F[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===F[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===F[k].transferTo.selectedOption)};J(se)}};u.useEffect(()=>{const s=P.watch((h,{name:F})=>{if(F!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:F})=>{F!=null&&h!=null&&pt(()=>et(F,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{Qe&&(_("Review","Amount Details"),H())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Bt,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:G.heroLight}})})]})}):null,t.jsx(Wt,{children:q("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Ft,{id:Je(Ge),onSubmit:tt,children:[t.jsxs(Qt,{children:[t.jsx(Be,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.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:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Fe,{}),t.jsx(Be,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.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:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Fe,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ue),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.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(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:B,setTotalBalance:M})]}):null,t.jsxs(Zt,{windowSize:i,children:[t.jsx(Gt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(qt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Ut,{windowSize:i}),t.jsx(Jt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Kt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?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(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ue]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.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{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,v as ie,Y as E,e as Ke,o as i,w as k,g as w,b5 as Fe,C as u,cO as _,Q as B,l as V,p as h,gS as le,ay as de,aB as ce,aA as he,az as pe,b8 as Ve,bf as Le,a9 as Me,y as We,fm as Ee,gm as Ge,K as Ue,s as A,ak as Je,iD as Xe,je as _e,ke as Qe,eG as qe,d5 as Ze,f2 as et,ao as tt,bT as it,ic as ot,id as rt,kf as at,bm as nt,m as G,bY as xe,ig as st,b$ as lt,ih as dt,ii as ct}from"./index-DoFw58Mw.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-D4uH020E-szItJUN9.js";import{g as me}from"./BoxItem-CHPfWPEF-lXs1y6iB.js";import{l as ne,d as xt}from"./treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(nt,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{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(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
1
+ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bt as ae,aW as Ne,v as ie,Y as E,e as Ke,o as i,w as k,g as w,b5 as Fe,C as u,cO as _,Q as B,l as V,p as h,gS as le,ay as de,aB as ce,aA as he,az as pe,b8 as Ve,bf as Le,a9 as Me,y as We,fm as Ee,gm as Ge,K as Ue,s as A,ak as Je,iD as Xe,je as _e,ke as Qe,eG as qe,d5 as Ze,f2 as et,ao as tt,bT as it,ic as ot,id as rt,kf as at,bm as nt,m as G,bY as xe,ig as st,b$ as lt,ih as dt,ii as ct}from"./index-Dc18sb8X.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-D4uH020E-CzLHHjVa.js";import{g as me}from"./BoxItem-CHPfWPEF-D1R-06zc.js";import{l as ne,d as xt}from"./treasuryColorHelper-A_YlwvaQ-CVHETTwa.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(nt,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{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(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{u as ae,X as O,y as xe,d3 as we,a5 as $e,l as fe,M as F,j as r,aW as ye,o as i,iD as je,bt as be,w as S,K,Y as Q,Q as f,Z as V,C as v,g as t,s as _,d5 as Se,eY as ke,k as ze,m as ve,cI as Ce,p as m,dJ as Le,kd as Pe,c0 as Te,a6 as De,v as Z,cu as Ie}from"./index-DoFw58Mw.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js";import{l as Re}from"./treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ge}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _e=({isOpen:e,onClose:x})=>{const c=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(Ye,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(Ue,{children:d.links.map((h,$)=>r.jsx(qe,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:d.link,target:"_blank",rel:"noopener noreferrer",children:d.text})},w))}),r.jsx(J,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((d,w)=>r.jsx(re,{children:d},w))})]})]})})},He=o.div`
1
+ import{u as ae,X as O,y as xe,d3 as we,a5 as $e,l as fe,M as F,j as r,aW as ye,o as i,iD as je,bt as be,w as S,K,Y as Q,Q as f,Z as V,C as v,g as t,s as _,d5 as Se,eY as ke,k as ze,m as ve,cI as Ce,p as m,dJ as Le,kd as Pe,c0 as Te,a6 as De,v as Z,cu as Ie}from"./index-Dc18sb8X.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-6yyRBLYC-Bbqtv452.js";import{l as Re}from"./treasuryColorHelper-A_YlwvaQ-CVHETTwa.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ge}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _e=({isOpen:e,onClose:x})=>{const c=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(Ye,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(Ue,{children:d.links.map((h,$)=>r.jsx(qe,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:d.link,target:"_blank",rel:"noopener noreferrer",children:d.text})},w))}),r.jsx(J,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((d,w)=>r.jsx(re,{children:d},w))})]})]})})},He=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d3 as Ge,u as qe,X as pe,a5 as me,a as he,c3 as fe,M as ge,ab as le,j as t,cI as Je,g as Ye,C as r,aW as Ke,e as Xe,F as ye,c$ as Ze,aQ as Qe,p as n,l as et,K as tt,bt as it,Y as ot,cd as nt,c9 as at,a7 as st,o as i,s as xe,c0 as lt,a6 as rt,Q as ct,h as dt}from"./index-DoFw58Mw.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-khTPylkl-CEL7Boo7.js";import{Y as pt}from"./LabeledDocumentField-CIlbLPtO-DSLjsPoT.js";import{P as mt}from"./DocumentSecurityBanner-BRFFDueV-stK3q2uU.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{J as re}from"./SetUpDefaultSection-D4FafmO5-CcuY4gpp.js";import{p as ft}from"./SpendMgmtSetupAccountSection-DcJhhfdt-CSj4RU9Q.js";import gt from"./PortfolioAllocationFormPage-Coa0Y4wN-CVL7-3BP.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js";import"./ChargeCardUtils-k5Cmi_bM-xJoIL5jf.js";import"./CreditCardPaymentPlgSection-YcsIIUkG-C-zCY8ZF.js";import"./ChaseOverlay-DQz9r9Pp-Bwx2nGMD.js";import"./PortfolioDetails-C9a0p99e-d06R_ouh.js";import"./treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js";const ce=(e,s)=>`${e}.${s}`,S={labelWidth:new r(145,155),largeLabelDocumentWidth:new r(210,252),marginBottom:new r(n[2],n[0]),navBarContainerPaddingYaxis:new r(10,n[3]),containerPaddingLeft:new r(n[3],n[6],n[8]),containerPaddingRight:new r(n[3],n[6],n[8])},yt={stepTitle:new ct("h6Regular","h5Regular")},we=ge.getLocalizedStrings(),{common:de}=we,p=we.commonSetUp.businessVerification,ee=p.sourceOfFundOptions,b="additionalVerificationFields",xt=({companyOfficer:e,companyDetails:s,updateStatus:h,fileProps:f,isDetailsSubmitted:g,onClose:F,onAdditionalVerificationFieldsChanged:B,onSendForVerificationClick:W,onCloseOverlay:$})=>{const c=pe(),_=S.labelWidth.value(c),k=S.largeLabelDocumentWidth.value(c),M=me(h.fetchState),C=he({mode:"all",reValidateMode:"onChange",defaultValues:l.useMemo(()=>({[b]:{sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},formationDocument:s?.companyFiles.find(a=>a.documentType==="company_formation_document")}}),[s?.sourceOfFunds,s?.companyFiles])}),U=a=>ee[a]??a,O=s?.deleteFileStatusById??{},A=s?.updateFileStatusById??{},N=Object.values(O??{}).filter(a=>a!=null),H=et.reduceAllFetchState(N),R=C.handleSubmit(()=>{H.fetchState!=="In-Progress"&&W(e?.officerType??"Officer_1")}),G=async(a,x)=>{B(x[b])};return l.useEffect(()=>{const a=C.watch((x,{name:T})=>{T!=null&&x!=null&&fe(()=>G(T,x))});return()=>{a.unsubscribe()}}),M==="In-Progress"&&h.fetchState==="Completed"||g===!0?t.jsxs(Pt,{children:[t.jsxs(Ft,{children:[t.jsx(ht,{}),t.jsx(St,{windowSize:c,children:p.submittedTitle}),t.jsx(kt,{children:p.submittedDescription})]}),t.jsx(tt,{label:p.submittedButton,onClick:$,variant:"primary"})]}):t.jsxs(wt,{windowSize:c,children:[t.jsx(bt,{windowSize:c,children:t.jsx(it,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(vt,{"data-testid":ot("nav-bar-back-portfolio-allocation"),onClick:$||F})})}),t.jsxs($t,{windowSize:c,children:[t.jsx(Ot,{windowSize:c,children:p.verifyBusinessDetails}),t.jsx(At,{children:t.jsxs(Tt,{children:[t.jsx(Et,{}),t.jsx(Lt,{})]})})]}),t.jsx(be,{children:p.verifyBusinessDetailsDescription}),t.jsx(ye,{...C,children:t.jsxs("form",{id:b,onSubmit:R,children:[t.jsxs(Ct,{children:[t.jsx(mt,{}),t.jsx(pt,{name:ce(b,"formationDocument"),sizeLimit:nt,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:p.formationDocumentLabel,width:k,style:{marginBottom:S.marginBottom.valuePx(c)}},style:{width:"auto"},file:s?.companyFiles.find(a=>a.documentType==="company_formation_document"),filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},additionalInfoLabel:p.formationDocumentError.replace("_product_type_","business verification"),updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,deleteFileStatusById:O,updateFileStatusById:A}),t.jsx(jt,{}),t.jsx(at,{label:{label:p.sourceOfFundsLabel,width:_},style:{width:"auto"},additionalInfoLabel:p.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:ce(b,"sourceOfFunds"),placeholder:p.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:U,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},registerOptions:{required:!0,validate:a=>!!a?.selectedOption}},isFunctional:!0,errorInfoLabel:p.sourceOfFundsError.replace("_product_type_","business verification")})]}),t.jsx(st,{formId:b,primaryBtn:{label:de.footer.submit,style:{width:"auto",minWidth:c==="small"?"auto":"83px"},isLoading:h.fetchState==="In-Progress"},cancelBtn:{label:de.footer.back,style:{width:c==="small"?"auto":"83px"},onClick:F},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},wt=o.div`
1
+ import{d3 as Ge,u as qe,X as pe,a5 as me,a as he,c3 as fe,M as ge,ab as le,j as t,cI as Je,g as Ye,C as r,aW as Ke,e as Xe,F as ye,c$ as Ze,aQ as Qe,p as n,l as et,K as tt,bt as it,Y as ot,cd as nt,c9 as at,a7 as st,o as i,s as xe,c0 as lt,a6 as rt,Q as ct,h as dt}from"./index-Dc18sb8X.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-khTPylkl-CC4TQ-Mh.js";import{Y as pt}from"./LabeledDocumentField-CIlbLPtO-CyOwq3qY.js";import{P as mt}from"./DocumentSecurityBanner-BRFFDueV-Cy6kVOtz.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{J as re}from"./SetUpDefaultSection-D4FafmO5-JKsfeRPT.js";import{p as ft}from"./SpendMgmtSetupAccountSection-DcJhhfdt-AlupPqQd.js";import gt from"./PortfolioAllocationFormPage-Coa0Y4wN-Biro25bf.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-6yyRBLYC-Bbqtv452.js";import"./ChargeCardUtils-k5Cmi_bM-uT1V7gQT.js";import"./CreditCardPaymentPlgSection-YcsIIUkG-DrIb0IFd.js";import"./ChaseOverlay-DQz9r9Pp-DwtAFMH1.js";import"./PortfolioDetails-C9a0p99e-BupBBmbV.js";import"./treasuryColorHelper-A_YlwvaQ-CVHETTwa.js";const ce=(e,s)=>`${e}.${s}`,S={labelWidth:new r(145,155),largeLabelDocumentWidth:new r(210,252),marginBottom:new r(n[2],n[0]),navBarContainerPaddingYaxis:new r(10,n[3]),containerPaddingLeft:new r(n[3],n[6],n[8]),containerPaddingRight:new r(n[3],n[6],n[8])},yt={stepTitle:new ct("h6Regular","h5Regular")},we=ge.getLocalizedStrings(),{common:de}=we,p=we.commonSetUp.businessVerification,ee=p.sourceOfFundOptions,b="additionalVerificationFields",xt=({companyOfficer:e,companyDetails:s,updateStatus:h,fileProps:f,isDetailsSubmitted:g,onClose:F,onAdditionalVerificationFieldsChanged:B,onSendForVerificationClick:W,onCloseOverlay:$})=>{const c=pe(),_=S.labelWidth.value(c),k=S.largeLabelDocumentWidth.value(c),M=me(h.fetchState),C=he({mode:"all",reValidateMode:"onChange",defaultValues:l.useMemo(()=>({[b]:{sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},formationDocument:s?.companyFiles.find(a=>a.documentType==="company_formation_document")}}),[s?.sourceOfFunds,s?.companyFiles])}),U=a=>ee[a]??a,O=s?.deleteFileStatusById??{},A=s?.updateFileStatusById??{},N=Object.values(O??{}).filter(a=>a!=null),H=et.reduceAllFetchState(N),R=C.handleSubmit(()=>{H.fetchState!=="In-Progress"&&W(e?.officerType??"Officer_1")}),G=async(a,x)=>{B(x[b])};return l.useEffect(()=>{const a=C.watch((x,{name:T})=>{T!=null&&x!=null&&fe(()=>G(T,x))});return()=>{a.unsubscribe()}}),M==="In-Progress"&&h.fetchState==="Completed"||g===!0?t.jsxs(Pt,{children:[t.jsxs(Ft,{children:[t.jsx(ht,{}),t.jsx(St,{windowSize:c,children:p.submittedTitle}),t.jsx(kt,{children:p.submittedDescription})]}),t.jsx(tt,{label:p.submittedButton,onClick:$,variant:"primary"})]}):t.jsxs(wt,{windowSize:c,children:[t.jsx(bt,{windowSize:c,children:t.jsx(it,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(vt,{"data-testid":ot("nav-bar-back-portfolio-allocation"),onClick:$||F})})}),t.jsxs($t,{windowSize:c,children:[t.jsx(Ot,{windowSize:c,children:p.verifyBusinessDetails}),t.jsx(At,{children:t.jsxs(Tt,{children:[t.jsx(Et,{}),t.jsx(Lt,{})]})})]}),t.jsx(be,{children:p.verifyBusinessDetailsDescription}),t.jsx(ye,{...C,children:t.jsxs("form",{id:b,onSubmit:R,children:[t.jsxs(Ct,{children:[t.jsx(mt,{}),t.jsx(pt,{name:ce(b,"formationDocument"),sizeLimit:nt,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:p.formationDocumentLabel,width:k,style:{marginBottom:S.marginBottom.valuePx(c)}},style:{width:"auto"},file:s?.companyFiles.find(a=>a.documentType==="company_formation_document"),filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},additionalInfoLabel:p.formationDocumentError.replace("_product_type_","business verification"),updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,deleteFileStatusById:O,updateFileStatusById:A}),t.jsx(jt,{}),t.jsx(at,{label:{label:p.sourceOfFundsLabel,width:_},style:{width:"auto"},additionalInfoLabel:p.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:ce(b,"sourceOfFunds"),placeholder:p.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:U,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},registerOptions:{required:!0,validate:a=>!!a?.selectedOption}},isFunctional:!0,errorInfoLabel:p.sourceOfFundsError.replace("_product_type_","business verification")})]}),t.jsx(st,{formId:b,primaryBtn:{label:de.footer.submit,style:{width:"auto",minWidth:c==="small"?"auto":"83px"},isLoading:h.fetchState==="In-Progress"},cancelBtn:{label:de.footer.back,style:{width:c==="small"?"auto":"83px"},onClick:F},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},wt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${S.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${S.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{u as j,X as v,j as t,aW as z,M as C,ao as P,o as r,g as d,bT as T,C as I,p as c,s as M}from"./index-DoFw58Mw.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as R}from"./BoxItem-CHPfWPEF-lXs1y6iB.js";import{o as B}from"./commonDimensions-D4uH020E-szItJUN9.js";import{O as E}from"./StatementItem-BOq_DDMZ-VgE7gIr3.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-s4pLtuS_-CF3EQD3j.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:h.noStatements})})})})};return t.jsxs(O,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
1
+ import{u as j,X as v,j as t,aW as z,M as C,ao as P,o as r,g as d,bT as T,C as I,p as c,s as M}from"./index-Dc18sb8X.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as R}from"./BoxItem-CHPfWPEF-D1R-06zc.js";import{o as B}from"./commonDimensions-D4uH020E-CzLHHjVa.js";import{O as E}from"./StatementItem-BOq_DDMZ-CY3Qpt1a.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-s4pLtuS_-DfJmhSyn.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:h.noStatements})})})})};return t.jsxs(O,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{u as S,X as v,j as t,aW as L,M as z,ao as C,o as r,g as d,bT as T,C as P,p as c,s as I}from"./index-DoFw58Mw.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-CHPfWPEF-lXs1y6iB.js";import{o as R}from"./commonDimensions-D4uH020E-szItJUN9.js";import{O as B}from"./StatementItem-BOq_DDMZ-VgE7gIr3.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-s4pLtuS_-CF3EQD3j.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(X,{children:p.noTaxLetter})})})})};return t.jsxs(O,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
1
+ import{u as S,X as v,j as t,aW as L,M as z,ao as C,o as r,g as d,bT as T,C as P,p as c,s as I}from"./index-Dc18sb8X.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-CHPfWPEF-D1R-06zc.js";import{o as R}from"./commonDimensions-D4uH020E-CzLHHjVa.js";import{O as B}from"./StatementItem-BOq_DDMZ-CY3Qpt1a.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-s4pLtuS_-DfJmhSyn.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(c[3],c[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(X,{children:p.noTaxLetter})})})})};return t.jsxs(O,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{X as ge,H as xt,j as o,Y as P,gP as yt,M as we,_ as W,K as Ie,e as He,a7 as Ue,o as t,C as f,a6 as Ce,k as $t,aq as bt,u as St,a5 as pe,bt as vt,cO as Je,Q as R,l as z,fZ as jt,g as S,Z as At,h as et,w as Y,s as X,eZ as kt,a as Tt,c3 as Pt,F as Ct,fF as zt,p as c,bn as tt,cW as ot,ah as rt,cz as Dt,cq as Lt,f9 as Ft,f1 as Mt,d3 as Rt,m as Bt,f2 as Ot,dq as It,bY as Et,bX as _t,aP as Nt,bd as Vt,fb as Wt,fk as Yt,aJ as Xt}from"./index-DoFw58Mw.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-C9a0p99e-d06R_ouh.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-A_YlwvaQ-YLNVEYZe.js";const qt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Gt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Jt,{sliderValue:s,children:[o.jsx(Ut,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Gt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Ht(h)})},h))})]})}const Qt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Zt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Ht=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ut=r.input`
1
+ import{X as ge,H as xt,j as o,Y as P,gP as yt,M as we,_ as W,K as Ie,e as He,a7 as Ue,o as t,C as f,a6 as Ce,k as $t,aq as bt,u as St,a5 as pe,bt as vt,cO as Je,Q as R,l as z,fZ as jt,g as S,Z as At,h as et,w as Y,s as X,eZ as kt,a as Tt,c3 as Pt,F as Ct,fF as zt,p as c,bn as tt,cW as ot,ah as rt,cz as Dt,cq as Lt,f9 as Ft,f1 as Mt,d3 as Rt,m as Bt,f2 as Ot,dq as It,bY as Et,bX as _t,aP as Nt,bd as Vt,fb as Wt,fk as Yt,aJ as Xt}from"./index-Dc18sb8X.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-C9a0p99e-BupBBmbV.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-A_YlwvaQ-CVHETTwa.js";const qt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Gt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Jt,{sliderValue:s,children:[o.jsx(Ut,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Gt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Zt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Ht(h)})},h))})]})}const Qt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Zt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Ht=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ut=r.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
1
- import{M as $,j as n,l as u,u as B,Y as j,ao as Z,b6 as z,b7 as F,aB as P,v as w,aA as R,aJ as O,b8 as q,aC as K,ba as _,o as L,g as G,s as N}from"./index-DoFw58Mw.js";import{b as D,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as v,u as J}from"./chartTypes-DueLK3Wl-B3lGAHMU.js";import{o as Q}from"./toCOABalancesWithID-CAhfOfUa-CUvT0aen.js";import{V as X}from"./toChartData-BicnbT0F-BAKhPkjP.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const H=k.div`
1
+ import{M as $,j as n,l as u,u as B,Y as j,ao as Z,b6 as z,b7 as F,aB as P,v as w,aA as R,aJ as O,b8 as q,aC as K,ba as _,o as L,g as G,s as N}from"./index-Dc18sb8X.js";import{b as D,f as V,n as k}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as v,u as J}from"./chartTypes-DueLK3Wl-BWSykg1r.js";import{o as Q}from"./toCOABalancesWithID-CAhfOfUa-BLsrlpgK.js";import{V as X}from"./toChartData-BicnbT0F-CzNzHCD-.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const H=k.div`
2
2
  display: flex;
3
3
  `,I=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{X as D,j as i,e as R,o as t,M as F,C as c,Y as S,ao as q,aq as Y,c0 as E,p as a,s as K,a6 as X}from"./index-DoFw58Mw.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-dARoUu-T-CjrTnbAe.js";import{C as W}from"./NoDataChart-edFKx0zh-DIp9-BoP.js";import{F as _}from"./InsightsSection-q1QuO6Z4-1k_aUqAr.js";import{l as Z}from"./TransactionList-C34ivmk5-BL7wpE6F.js";const G=n.div`
1
+ import{X as D,j as i,e as R,o as t,M as F,C as c,Y as S,ao as q,aq as Y,c0 as E,p as a,s as K,a6 as X}from"./index-Dc18sb8X.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-dARoUu-T-DLWmmph8.js";import{C as W}from"./NoDataChart-edFKx0zh-BcXK0tqt.js";import{F as _}from"./InsightsSection-q1QuO6Z4-BTPE3Xuw.js";import{l as Z}from"./TransactionList-C34ivmk5-C5mBiYt3.js";const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{u as ce,X as se,y as Ke,a5 as en,g5 as R,hd as U,M as q,a as nn,he as tn,hf as Te,c3 as on,j as t,aW as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,hg as dn,e as un,hh as X,hi as pn,a7 as mn,hj as _e,C as u,s as gn,o as l,cg as fe,ab as W,ga as oe,hk as ie,p as d,Q as Ae,g as $e,fz as Ve,w as Se,cZ as xn}from"./index-DoFw58Mw.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-khTPylkl-CEL7Boo7.js";import{h as wn}from"./VendorsAccountsSection-C4q6FPlB-C6cNo2_u.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-6yyRBLYC-DflGa-2l.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},He={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{u as ce,X as se,y as Ke,a5 as en,g5 as R,hd as U,M as q,a as nn,he as tn,hf as Te,c3 as on,j as t,aW as cn,bO as sn,bQ as ln,bR as an,F as rn,l as J,hg as dn,e as un,hh as X,hi as pn,a7 as mn,hj as _e,C as u,s as gn,o as l,cg as fe,ab as W,ga as oe,hk as ie,p as d,Q as Ae,g as $e,fz as Ve,w as Se,cZ as xn}from"./index-Dc18sb8X.js";import{b as Y,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-khTPylkl-CC4TQ-Mh.js";import{h as wn}from"./VendorsAccountsSection-C4q6FPlB-Cdm8bQji.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-6yyRBLYC-Bbqtv452.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},He={title:new Ae("standardMedium","largeMedium")},bn=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{a5 as b,j as t,hm as R,hn as _,X as F,M as O,bO as U,i as C,bQ as N,bR as z,a as M,F as H,cc as G,l as T,c8 as D,C as g,c9 as K,g as A,n as Z,e as J,K as Q,o as i,s as X,p as B,Z as Y,av as ee}from"./index-DoFw58Mw.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
1
+ import{a5 as b,j as t,hm as R,hn as _,X as F,M as O,bO as U,i as C,bQ as N,bR as z,a as M,F as H,cc as G,l as T,c8 as D,C as g,c9 as K,g as A,n as Z,e as J,K as Q,o as i,s as X,p as B,Z as Y,av as ee}from"./index-Dc18sb8X.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.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{a as k,fc as x,a5 as U,l as W,X as Y,M as _,j as i,c3 as q,F as A,Y as K,fd as X,o as a,g as G,cd as H,a7 as J,C as y,a6 as Q,c0 as Z,av as ee,as as te,p as c}from"./index-DoFw58Mw.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:v,companyOfficer:t,updateStatus:f,onClose:S,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,$]=m.useState(!1),[N,O]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),$(!0)):$(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":K("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(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:v,hasError:N,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as k,fc as x,a5 as U,l as W,X as Y,M as _,j as i,c3 as q,F as A,Y as K,fd as X,o as a,g as G,cd as H,a7 as J,C as y,a6 as Q,c0 as Z,av as ee,as as te,p as c}from"./index-Dc18sb8X.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:v,companyOfficer:t,updateStatus:f,onClose:S,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=k({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,$]=m.useState(!1),[N,O]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=W.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=Y(),h=_.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),$(!0)):$(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:S,"data-testid":K("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(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:v,hasError:N,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:S},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a5 as o,M as v,j as n,hm as k,hn as j}from"./index-DoFw58Mw.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const H=({vendorViewDetails:S,isExpressPayPage:i,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(k,{showHelperText:!i,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?n.jsx(j,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
1
+ import{a5 as o,M as v,j as n,hm as k,hn as j}from"./index-Dc18sb8X.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const H=({vendorViewDetails:S,isExpressPayPage:i,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(k,{showHelperText:!i,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?n.jsx(j,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-DoFw58Mw.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-ppaaVv4t-BnOUfoFz.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-a39s142r-4WcZfRoK.js";import"./MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js";import"./BankAccountSection-VSbZyxoY-BkprL32R.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
1
+ import{j as u}from"./index-Dc18sb8X.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-ppaaVv4t-DerAWpBF.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-a39s142r-B8eviNRA.js";import"./MagicLinkTitleSection-CvW_f4xF-CqZNaUJA.js";import"./BankAccountSection-VSbZyxoY-DFVEfVO4.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{M as _,u as Re,X as ne,C as g,H as be,l as se,c5 as xt,a as yt,gv as Be,gw as Ae,gx as Ee,gy as fe,gz as bt,ab as ft,c3 as wt,j as t,aW as Ct,F as $t,gA as St,gB as ue,p as l,c4 as Dt,a7 as jt,o,bg as S,cg as Tt,ga as we,gC as Lt,c6 as Vt,c7 as kt,c8 as It,gD as Ot,fG as Pt,ce as zt,gE as Ft,gF as Mt,g as M,dp as _t,dn as Ht,cs as Wt,aJ as de,aq as Ue,w as qe,dq as Nt,f2 as Rt,gG as Bt,gH as At,s as Et,gI as Ut,ah as Ye,gJ as qt,Q as Ce,h as Ge}from"./index-DoFw58Mw.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-BPVG5BHS-C6Ng45Yx.js";import{l as Qt}from"./TransactionList-C34ivmk5-BL7wpE6F.js";import{R as Jt}from"./TrendWithTransactions-BOGQK2Zt-itTZBsuV.js";import{o as Xt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{C as Zt}from"./LabeledAddressValueField-BODlYe8J-C_77UpWi.js";import{Y as es}from"./LabeledDropDownFormattedTextField-Dpt7UG-o-BPi_XfUF.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-CHPfWPEF-lXs1y6iB.js";import"./commonDimensions-D4uH020E-szItJUN9.js";import"./TrendChart-dARoUu-T-CjrTnbAe.js";import"./chartTypes-DueLK3Wl-B3lGAHMU.js";import"./toCOABalancesWithID-CAhfOfUa-CUvT0aen.js";import"./toChartData-BicnbT0F-BAKhPkjP.js";import"./NoDataChart-edFKx0zh-DIp9-BoP.js";import"./InsightsSection-q1QuO6Z4-1k_aUqAr.js";import"./NavigationDots-5fxvl-4e-BzJdpllk.js";const ts=a.div`
1
+ import{M as _,u as Re,X as ne,C as g,H as be,l as se,c5 as xt,a as yt,gv as Be,gw as Ae,gx as Ee,gy as fe,gz as bt,ab as ft,c3 as wt,j as t,aW as Ct,F as $t,gA as St,gB as ue,p as l,c4 as Dt,a7 as jt,o,bg as S,cg as Tt,ga as we,gC as Lt,c6 as Vt,c7 as kt,c8 as It,gD as Ot,fG as Pt,ce as zt,gE as Ft,gF as Mt,g as M,dp as _t,dn as Ht,cs as Wt,aJ as de,aq as Ue,w as qe,dq as Nt,f2 as Rt,gG as Bt,gH as At,s as Et,gI as Ut,ah as Ye,gJ as qt,Q as Ce,h as Ge}from"./index-Dc18sb8X.js";import{b as $,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-BPVG5BHS-DY3CAvRO.js";import{l as Qt}from"./TransactionList-C34ivmk5-C5mBiYt3.js";import{R as Jt}from"./TrendWithTransactions-BOGQK2Zt-DsTHQyvH.js";import{o as Xt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{C as Zt}from"./LabeledAddressValueField-BODlYe8J-CiIDFGvo.js";import{Y as es}from"./LabeledDropDownFormattedTextField-Dpt7UG-o-BXwTt2kH.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BoxItem-CHPfWPEF-D1R-06zc.js";import"./commonDimensions-D4uH020E-CzLHHjVa.js";import"./TrendChart-dARoUu-T-DLWmmph8.js";import"./chartTypes-DueLK3Wl-BWSykg1r.js";import"./toCOABalancesWithID-CAhfOfUa-BLsrlpgK.js";import"./toChartData-BicnbT0F-CzNzHCD-.js";import"./NoDataChart-edFKx0zh-BcXK0tqt.js";import"./InsightsSection-q1QuO6Z4-BTPE3Xuw.js";import"./NavigationDots-5fxvl-4e-xo_TDt3y.js";const ts=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{j as S}from"./index-DoFw58Mw.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-BZ8jSo8r-Dcvy9KUR.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-VSbZyxoY-BkprL32R.js";import"./MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js";import"./BankAccountWarningSection-a39s142r-4WcZfRoK.js";import"./MailingDetailsSection-Di5KwEqu-Di8UL6YK.js";import"./LabeledAddressValueField-BODlYe8J-C_77UpWi.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
1
+ import{j as S}from"./index-Dc18sb8X.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{y as b}from"./DomesticWireDetailsPage-BZ8jSo8r-CvJ1Feba.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-VSbZyxoY-DFVEfVO4.js";import"./MagicLinkTitleSection-CvW_f4xF-CqZNaUJA.js";import"./BankAccountWarningSection-a39s142r-B8eviNRA.js";import"./MailingDetailsSection-Di5KwEqu-B9mhlAae.js";import"./LabeledAddressValueField-BODlYe8J-CiIDFGvo.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{X as oe,u as ze,M as ne,a as ke,cw as K,gK as de,c3 as Ae,C as b,j as t,aW as Be,Y as Ee,F as Oe,c6 as C,o as s,ca as Re,gD as We,fG as qe,ce as Me,gE as He,gF as Ue,cm as Ke,a7 as Ge,co as Xe,cx as Ye,p as c,a6 as Ze,bg as F,c1 as Je,gL as Qe,g as I,eS as _e,ah as et,s as ce,eB as tt,gM as st,gN as lt,gO as M,cy as it}from"./index-DoFw58Mw.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-Dpt7UG-o-BPi_XfUF.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new b(160,210,230),paddingBottom:new b(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(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:h,style:R}){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:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,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:h,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:h,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:h,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:h,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:h,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:h,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=a.div`
1
+ import{X as oe,u as ze,M as ne,a as ke,cw as K,gK as de,c3 as Ae,C as b,j as t,aW as Be,Y as Ee,F as Oe,c6 as C,o as s,ca as Re,gD as We,fG as qe,ce as Me,gE as He,gF as Ue,cm as Ke,a7 as Ge,co as Xe,cx as Ye,p as c,a6 as Ze,bg as F,c1 as Je,gL as Qe,g as I,eS as _e,ah as et,s as ce,eB as tt,gM as st,gN as lt,gO as M,cy as it}from"./index-Dc18sb8X.js";import{b as y,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-Dpt7UG-o-BXwTt2kH.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new b(160,210,230),paddingBottom:new b(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(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:h,style:R}){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:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,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:h,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:h,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:h,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:h,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:h,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:h,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=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{X as le,y as On,u as mn,a as nt,hy as Pe,c3 as tt,A as Nn,hz as re,hA as ve,hB as fe,hC as be,hD as me,M as je,j as n,hu as ot,F as rt,aW as it,T as st,bO as lt,bQ as at,bR as dt,eY as ct,Y as ie,bf as mt,bL as pt,ao as ut,dj as ht,bT as gt,C as w,e as wt,D as Oe,o as t,aa as In,s as De,a9 as xt,p as c,w as Re,bY as vt,l as zn,dp as Pn,bg as ze,hE as Tn,b$ as ft,bC as bt,d0 as $t,av as Xe,aN as pn,g as B,ee as Dn,fg as St,df as wn,cs as rn,hF as yt,hG as sn,n as jt,bt as Be,c$ as Rt,eq as xn,b5 as Ct,dr as Vt,K as vn,hH as kt,cg as Mt,co as Ot,cp as Nt,ev as It,m as Ln,hI as zt,b2 as se,hJ as fn,gc as Pt,b0 as Tt,b4 as Dt,dq as Lt,v as An,Q as At,eC as _t,ac as dn}from"./index-DoFw58Mw.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as Ft}from"./mui-C5LQ0bMa.js";import{A as Bt}from"./Menu-BOh_KLZu-BrkD9kYL.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _n=({steps:e})=>{const s=le();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{X as le,y as On,u as mn,a as nt,hy as Pe,c3 as tt,A as Nn,hz as re,hA as ve,hB as fe,hC as be,hD as me,M as je,j as n,hu as ot,F as rt,aW as it,T as st,bO as lt,bQ as at,bR as dt,eY as ct,Y as ie,bf as mt,bL as pt,ao as ut,dj as ht,bT as gt,C as w,e as wt,D as Oe,o as t,aa as In,s as De,a9 as xt,p as c,w as Re,bY as vt,l as zn,dp as Pn,bg as ze,hE as Tn,b$ as ft,bC as bt,d0 as $t,av as Xe,aN as pn,g as B,ee as Dn,fg as St,df as wn,cs as rn,hF as yt,hG as sn,n as jt,bt as Be,c$ as Rt,eq as xn,b5 as Ct,dr as Vt,K as vn,hH as kt,cg as Mt,co as Ot,cp as Nt,ev as It,m as Ln,hI as zt,b2 as se,hJ as fn,gc as Pt,b0 as Tt,b4 as Dt,dq as Lt,v as An,Q as At,eC as _t,ac as dn}from"./index-Dc18sb8X.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as Ft}from"./mui-C5LQ0bMa.js";import{A as Bt}from"./Menu-BOh_KLZu-CFhi0SIh.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const _n=({steps:e})=>{const s=le();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,X as Y,a as he,M as U,c3 as ye,H as ge,l as G,bO as be,bQ as fe,bR as xe,F as ve,a7 as we,C as p,cw as le,cx as Ce,o as y,as as $e,cg as oe,u as ne,cy as je,cz as J,cm as Q,am as H,c6 as De,cA as Te,p as r,co as Se,Y as ke,g as V,e as Fe,Q as Oe,bt as Ae,w as Le,b5 as ze}from"./index-DoFw58Mw.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-a39s142r-4WcZfRoK.js";import{T as Ie}from"./MailingDetailsSection-Di5KwEqu-Di8UL6YK.js";import{S as Pe}from"./CurrencySelectField-CH65s5Fc-DGotu77i.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-BODlYe8J-C_77UpWi.js";const O={width:new p(343,580,726),height:new p(r[6],r[6]),controlHeight:new p(r[6],r[6]),paddingTopBottom:new p(r[2],r[2]),marginRight:new p(r[2],r[2]),labelMarginLeft:new p(r[3],r[4]),labelMarginRight:new p(r[3],r[4]),labelMarginTop:new p(r[2],r[2])},re={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=Y(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.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:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,X as Y,a as he,M as U,c3 as ye,H as ge,l as G,bO as be,bQ as fe,bR as xe,F as ve,a7 as we,C as p,cw as le,cx as Ce,o as y,as as $e,cg as oe,u as ne,cy as je,cz as J,cm as Q,am as H,c6 as De,cA as Te,p as r,co as Se,Y as ke,g as V,e as Fe,Q as Oe,bt as Ae,w as Le,b5 as ze}from"./index-Dc18sb8X.js";import{b as I,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Re}from"./BankAccountWarningSection-a39s142r-B8eviNRA.js";import{T as Ie}from"./MailingDetailsSection-Di5KwEqu-B9mhlAae.js";import{S as Pe}from"./CurrencySelectField-CH65s5Fc-Dcp2BQTf.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-BODlYe8J-CiIDFGvo.js";const O={width:new p(343,580,726),height:new p(r[6],r[6]),controlHeight:new p(r[6],r[6]),paddingTopBottom:new p(r[2],r[2]),marginRight:new p(r[2],r[2]),labelMarginLeft:new p(r[3],r[4]),labelMarginRight:new p(r[3],r[4]),labelMarginTop:new p(r[2],r[2])},re={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=Y(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.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:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-DoFw58Mw.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-BXBsK560-i2JR8sEk.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-a39s142r-4WcZfRoK.js";import"./MailingDetailsSection-Di5KwEqu-Di8UL6YK.js";import"./LabeledAddressValueField-BODlYe8J-C_77UpWi.js";import"./MagicLinkTitleSection-CvW_f4xF-BDkWHabu.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
1
+ import{j as l}from"./index-Dc18sb8X.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-BXBsK560-Drhj4I3h.js";import"./mui-C5LQ0bMa.js";import"./analytics-DThoELaW.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-a39s142r-B8eviNRA.js";import"./MailingDetailsSection-Di5KwEqu-B9mhlAae.js";import"./LabeledAddressValueField-BODlYe8J-CiIDFGvo.js";import"./MagicLinkTitleSection-CvW_f4xF-CqZNaUJA.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};