@zeniai/web-cockpit-ui 1.14.32-dev → 1.14.32-next

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 (224) hide show
  1. package/dist/assets/{ACHDetailsPage-MP6kdpXK-Cin5vYxN.js → ACHDetailsPage-MP6kdpXK-BwIl7x9r.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BhOaFmfv-DCRtVIyb.js → AIPerformancePage-BhOaFmfv-Cq6skEnv.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-D9Ft_CT9-CUD4qbPd.js → AccountInfoPage-D9Ft_CT9-BpYyYtbY.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DvWx52e0-D9gXo091.js → AccountInfoPageContent-DvWx52e0-Dvf8pD-W.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-B1_3C1ER-DGCTA7OW.js → AccountLockedInfoModal-B1_3C1ER-CEJa6CVX.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D9e7qhm0-B1t_x7P2.js → AccountReconDetailsDrawerPage-D9e7qhm0-DNSHbb73.js} +1 -1
  7. package/dist/assets/{AccountRow-CiIWoLq3-F6m6e5Xn.js → AccountRow-CiIWoLq3-DhennCku.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CC72plKm-DV-DNWnY.js → AccountsPromoCardStack-CC72plKm-CcgMZmEW.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CIj76DoU-BugVt0Ax.js → AddAddressForCardDrawer-CIj76DoU-val77w7c.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-B3vdkyWl-C3sTnRDu.js → AddToWalletPage-B3vdkyWl-CIwy9Mze.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CbkMxxO_-bDdYzvvz.js → AgingReportsPage-CbkMxxO_-CUovmZzk.js} +1 -1
  12. package/dist/assets/{AllUserItems-DJo9kLSI-aOrBm21L.js → AllUserItems-DJo9kLSI-DhFJTTki.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-DcAh6DLg-YRnOeaE1.js → ApAgingDetailPage-DcAh6DLg-Bi4VVcof.js} +1 -1
  14. package/dist/assets/{AppBasePage-DztnPkfs-_Sh0VXAS.js → AppBasePage-DztnPkfs-CpPiHVrv.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DDmKn21i-C68rKgNZ.js → AppDrawerContent-DDmKn21i-DZivkXHU.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Di8tAJ8K-CDv_E-0W.js → ApprovalRulesSettingsPage-Di8tAJ8K-yW1pcXQ2.js} +1 -1
  17. package/dist/assets/{ArAgingChart-tm5ZiNuY-C229BTlQ.js → ArAgingChart-tm5ZiNuY-B3eB_DNZ.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-B3JQ08nH-C3xUIMRe.js → ArAgingDetailPage-B3JQ08nH-DAgRssad.js} +1 -1
  19. package/dist/assets/{AttachmentView-p8mBqYjm-BaF-qc0k.js → AttachmentView-p8mBqYjm-BffD8fqa.js} +1 -1
  20. package/dist/assets/{BankAccountSection-AuQLRvdb-Bwa0DuGQ.js → BankAccountSection-AuQLRvdb-CJDAqXcy.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-HvUMABu0-DrqrNnez.js → BankAccountWarningSection-HvUMABu0-Cm6MmUNL.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-D61w90F9-DCAF3Rvl.js → BankConnectionsSettingsPage-D61w90F9-CczAL_57.js} +1 -1
  23. package/dist/assets/{BillDetailPage-nqHoph6T-BaIucFqg.js → BillDetailPage-nqHoph6T-Ca5CXKM5.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-fZnmOmyN-BE94bEje.js → BillPayApprovalRuleDetailPage-fZnmOmyN-CGKXzpD_.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-Bd87v4ca-D8uVymLg.js → BillPayApprovalRulesPage-Bd87v4ca-DyHwo6A4.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-CNiTD_mM-Dj_ToxT_.js → BillPayPromoPage-CNiTD_mM-Dvqpy5o7.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BUSwkzqv-0u4Y1nRn.js → BillPaySetUpPage-BUSwkzqv-DdGOomZW.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-aPRvtlqA-D2cPcuYt.js → BillingSettingsPage-aPRvtlqA-DEW4bShC.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BU3VuxEm-ByErXz92.js → BillsBulkReviewDrawerPage-BU3VuxEm-DGu5VuZG.js} +1 -1
  30. package/dist/assets/{BoxItem-CZKWkdxd-BeOlY6b0.js → BoxItem-CZKWkdxd-BMPRvJHk.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CeDGi-RH-DBq4N4qO.js → BusinessVerificationPage-CeDGi-RH-KQrGOT5V.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-1BRQQyfd-DTVfoanD.js → CardNumberSubText-1BRQQyfd-BUxAXhwo.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-V-W_U5k1-BFabFlQi.js → CashbackDetailPage-V-W_U5k1-CRoIkOj0.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BP-zAMYI-CpMkI6_j.js → ChargeCardDetailPage-BP-zAMYI-CaWMuU_0.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DORW9YE4-C9A5hHUd.js → ChargeCardListPage-DORW9YE4-DAncpukB.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-C32mZrwY-C-_ZN5EL.js → ChargeCardListTable-C32mZrwY-DGDEmVFV.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-CE4kH4Js-C0K_9IRw.js → ChargeCardPromoPage-CE4kH4Js-Vd91iXP7.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-CumpB2GQ-D9_LS2bE.js → ChargeCardSetupPage-CumpB2GQ-CSNI094U.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DPIAjww0-qtfYIF5i.js → ChargeCardStatementsPage-DPIAjww0-DrfbvqOF.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-Wp4Ko18L-zmLd-lJK.js → ChargeCardUtils-Wp4Ko18L-BV4EoZtc.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-BGZfbx0H-Cy6SXtpe.js → ChaseOverlay-BGZfbx0H-BaX81dzi.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-Bl52b4SW-D474gpb4.js → CheckDepositDrawerPage-Bl52b4SW-BJFZpW_p.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-B0wI9SM1-DLN2kcqg.js → CollapsableReportTable-B0wI9SM1-rUgtmExL.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-DyOVRvtQ-D3TSBaYy.js → CompanyOfficerDetailsSection-DyOVRvtQ-Bky3Id-c.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-C_YUK3R3-Tw3Mhb57.js → CompanyPassportCard-C_YUK3R3-C6OSNz1X.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-QFJ0G7X7-9FRZMTlm.js → CompanyPassportPage-QFJ0G7X7-Fhiyu2N3.js} +1 -1
  47. package/dist/assets/{CompleteProfile-DVE16v3y-JdgrMYZk.js → CompleteProfile-DVE16v3y-CzEiOAi_.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-BA8BvtO--ChjQJAxk.js → ConfettiBurst-BA8BvtO--BrrVKkO5.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-ncBGwfXK-DYgCQOxT.js → CreateOrEditVendorPage-ncBGwfXK-B85HcBwr.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DqEVQgMx-DmTsuXGo.js → CreditCardPaymentDrawerPage-DqEVQgMx-D_ge9HhK.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-vmErttTD-BxhyQLa5.js → CreditCardPaymentPlgSection-vmErttTD-JbSszjjn.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-BEb19UaA-ayd8ypxk.js → CurrencySelectField-BEb19UaA-C0UFg96t.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-L4l1ybmh-CjOAphEc.js → CustomerOnboardingActivationPage-L4l1ybmh-BXPlRwTK.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-BB4D77z8-CTFP--7w.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D3Zm658F-BjyCIV27.js → CustomerOnboardingDetailPageSkeleton-D3Zm658F-Dzw88ZWG.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-BXsJFpEX-BO1c66C-.js → CustomerOnboardingNoStepsPage-BXsJFpEX-DS-z5yZh.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-D3zpI1df-BpsmxlbR.js → CustomerOnboardingPage-D3zpI1df-DmnaHIda.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-DjVZfC2C-rASo3ZM3.js → CustomerOnboardingProductSuitePage-DjVZfC2C-BHny4xYj.js} +1 -1
  59. package/dist/assets/{Dashboard-wY0FneRs-K0H1LO4c.js → Dashboard-wY0FneRs-eMDe_yq2.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-CMgr0CSc-CTqQy7Z3.js → DashboardReportPage-CMgr0CSc-Dkxv5xYn.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-B73UBY5T-DxfAcbVQ.js → DashboardSidebarBackgroundAnimation-B73UBY5T-DZ83oobc.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-DrqBG940-U_s0mHE8.js → DepositAccTransactionItem-DrqBG940-D13Dj3i_.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-2xDjOUwm-CmHU0p_6.js → DepositAccTransactionListPage-2xDjOUwm-DJf2JFc_.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-vRHD5DmW-v4Oe5SWK.js → DomesticWireDetailsPage-vRHD5DmW-ri92WCGt.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-D_UoB4Xy-DPm0LxIQ.js → DownloadOverlay-D_UoB4Xy-DDVBknTq.js} +1 -1
  66. package/dist/assets/{DrawerPage-ijHe0bCp-CyRbPalv.js → DrawerPage-ijHe0bCp-BO0PaorU.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-BehcmP1s-CtCgWObL.js → EditPeoplePage-BehcmP1s-B3zDR7CY.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-Cz82Vz26-BkH-yQZq.js → EditReimbursementDetailPage-Cz82Vz26-Ct09E69Q.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-CN-ewzjy-D8rWv-Yn.js → EntityDetailPage-CN-ewzjy-BkIRGW2Q.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-B4ozhtlU-BbJmZsFm.js → EntitySummarySection-B4ozhtlU-BTHZQNCX.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-BmNuSoUs-B4ZMF43g.js → ExpenseAutomationOverviewPage-BmNuSoUs-CDRcIzO5.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-Cz3JsW-E-Cz15ZpzI.js → ExpenseAutomationPage-Cz3JsW-E-Bv-rIdU1.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-CgrGtZ4F-BicqIV-J.js → ExpressPayPage-CgrGtZ4F-CGZFuEdD.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-Dk_c37Rm-CXHB1WFu.js → FeaturePreviewPage-Dk_c37Rm-PWjROMbX.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-BVi7m38_-C99RMZ_B.js → FollowStepsSection-BVi7m38_-CEnmZeHP.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-DiZGC9B1-DIzsLBmo.js → GlobalReviewListPage-DiZGC9B1-CI5yNqYu.js} +1 -1
  77. package/dist/assets/{HelpButton-DiIoYeXn-FbkReN34.js → HelpButton-DiIoYeXn-BjNtV4Hp.js} +1 -1
  78. package/dist/assets/{InformationCardStack-C8-4dhWR-Bdte_JFA.js → InformationCardStack-C8-4dhWR-Cq3TUvM_.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-BKm0dSeJ-YxbfeRpK.js → InsightsCardStack-BKm0dSeJ-nZcinlRz.js} +1 -1
  80. package/dist/assets/{InsightsSection-C9MHOCQd-B3v5Vy0i.js → InsightsSection-C9MHOCQd-Daqh68sY.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-4qlL5Dsx-NL-7Vuhq.js → IntegrationsSettingsPage-4qlL5Dsx-Di6BWzH1.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-DqCtPykV-BUWM-1ua.js → InternationalWireSwiftDetailsPage-DqCtPykV-6xvctPGj.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-Cl-p0inO-BPrmH8Q-.js → InternationalWireVerificationPage-Cl-p0inO-CKvpOUKV.js} +1 -1
  84. package/dist/assets/{InviteFormPage-L6j0rOBW-DZzXMjr6.js → InviteFormPage-L6j0rOBW-pZp13VKB.js} +1 -1
  85. package/dist/assets/{InvitePageListView-KYjMIc4q-LkWl7l25.js → InvitePageListView-KYjMIc4q-C-AGELAs.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-CbZqVsTp-CPZYz4n0.js → InvitePeoplePage-CbZqVsTp-CH1qIjTM.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-DZC4oscG-DoaD8XBg.js → InvoiceUploadSection-DZC4oscG-BXGiIIwV.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-DMdZCfqA-2_AAwzJw.js → IssueChargeCardPage-DMdZCfqA-DLXbmMAJ.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-CBOrzSsG-zl4Cn7F6.js → LabeledAddressValue-CBOrzSsG-B3IWDYhS.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-YuLcra47-D1rCVkct.js → LabeledAddressValueField-YuLcra47-B3WkMjHI.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-BoXsUqpR-BDprT0oc.js → LabeledControlledCheckBoxField-BoXsUqpR-00y-jyJ7.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CQPkrdRe-BP0IH1kb.js → LabeledCreatableSingleSelectField-CQPkrdRe-B3FZYamm.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-DEeeTuVw-DjAbPGjO.js → LabeledDocumentField-DEeeTuVw-BO0e7Y_9.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-DYRkxlY--C9ZM89bQ.js → LabeledDropDownFormattedTextField-DYRkxlY--FSwITD0j.js} +1 -1
  95. package/dist/assets/{LabeledText-DQiR_FIX-Co4J3TbF.js → LabeledText-DQiR_FIX-BdSLOeVR.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-dgPgTmNg-CjWMU4DS.js → LabeledUserSingleSelectWithSubtitlesField-dgPgTmNg-hLsQZAgU.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-azPB8idg-BmyhVq5l.js → LabeledZeniRolesDropDownField-azPB8idg-Bgk4MQqH.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-Ct0HcxvN-C9ALJkXZ.js → LinkJETransactionPage-Ct0HcxvN-BZyGqQVA.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-Zvy2iURT-BHU6RUxm.js → LowBalancePopup-Zvy2iURT-d_JKm6EH.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-BY6pEieF-BnE5qaIA.js → MagicLinkACHDetailsPage-BY6pEieF-9xqUkNs1.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BK5RZSiS-DZf3dWg8.js → MagicLinkDomesticWireDetailsPage-BK5RZSiS-CpZP-bGK.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-hK5cNiNB-B4J-Gaxj.js → MagicLinkInternationalWireDetailsPage-hK5cNiNB-BrkGOuhF.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-Drn_p982-z_mnlocR.js → MagicLinkSuccessPage-Drn_p982-CwXLyF-I.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DRMHVOzF-vSOOyfRm.js → MagicLinkTitleSection-DRMHVOzF-B3dfPNgt.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-DgdAYgpS-CzYOsfT_.js → MailingDetailsSection-DgdAYgpS-B6ZRzk1g.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-CAh7iae0-BpiINuek.js → MeetingCalenderPopup-CAh7iae0-BfCcIpcm.js} +1 -1
  107. package/dist/assets/{Menu-bleLgSLu-Ccrr2YDB.js → Menu-bleLgSLu-2EgCp-sb.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-DRxmQCbq-7MgmeMyL.js → MyBankConnectionsSettingsPage-DRxmQCbq-CuVm58vw.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-BYLhb47G-DdwAZhiS.js → MyPendingActivationChargeCardListPage-BYLhb47G-CTUkwXy0.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-eVfCRTfx-BNmP0sTQ.js → MyProfileSettingsPage-eVfCRTfx-B8iRrdjo.js} +1 -1
  111. package/dist/assets/{NavBarWithPicker-BE2MW7hB-DXAufzd3.js → NavBarWithPicker-BE2MW7hB-v4xH6n9u.js} +1 -1
  112. package/dist/assets/{NavigationArrow-eEaMttBX-B_OAAp0o.js → NavigationArrow-eEaMttBX-sC8k7Yvi.js} +1 -1
  113. package/dist/assets/{NavigationDots-CNwL0a7I-CifVGTqc.js → NavigationDots-CNwL0a7I-_0rzAMBs.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-CSWqCqAC-CM5vKN1K.js → NewGlobalMerchantPage-CSWqCqAC-B8iMjbeS.js} +1 -1
  115. package/dist/assets/{NoDataChart-DNmdY5gQ-I17nHhNI.js → NoDataChart-DNmdY5gQ-BH7TbUdX.js} +1 -1
  116. package/dist/assets/{NoDataTable-DW2wAX3o-CmvIHNA2.js → NoDataTable-DW2wAX3o-BmDM-a1i.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BMJTG-tj-KX8Yl0C8.js → NotFoundPage-BMJTG-tj-Dnd4XxDs.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-Vd3UvdLu-CYwoglab.js → NotificationSettingsPage-Vd3UvdLu-C1lehJfj.js} +1 -1
  119. package/dist/assets/{NotificationsListConfig-DbHYPEWZ-CWezw8M_.js → NotificationsListConfig-DbHYPEWZ-HvAW6PTE.js} +1 -1
  120. package/dist/assets/{NotificationsPage-BaekDEw7-DM6qz84i.js → NotificationsPage-BaekDEw7-Dv4uaHR6.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-DNyTA9nx-AqH3jm4s.js → OpExByVendorPage-DNyTA9nx-DV-UP1nl.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-D0brL_nl.js → OverlayContainerPage-Bmu909Fo-CSpe-6e-.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-DbP4ybN4-CjX2B57O.js → PandLWithForecastPage-DbP4ybN4-CEUbQEJk.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Dd4Aen8j-DhFeVMmy.js → PaymentAccountSetupBillingAddressSection-Dd4Aen8j-B46ee6Ys.js} +1 -1
  125. package/dist/assets/{PeoplePage-B3n7ek2h-Bozbjh3K.js → PeoplePage-B3n7ek2h-DKnk3HYL.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-CzA_c7hR-CWaP7kP_.js → PortfolioAllocationFormPage-CzA_c7hR-DyNZBLE-.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-Drgv4Osg-n5MRYPkF.js → PortfolioDetails-Drgv4Osg-BksJn0hB.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-BnnfJR0o-69mJVwF1.js → ProductsCarousel-BnnfJR0o-CI0kS4wI.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-BGHJivI8-iKisrOi3.js → PromoBaseCards-BGHJivI8-BBiuEzQs.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-uiW9eeZu-BUSCcjkj.js → QBOConnectionDialog-uiW9eeZu-kn30Behp.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-DPb0VAii-CawJiqRt.js → QBOSetupSection-DPb0VAii-B9_CPvbs.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cvok7KBA-CNtIL-aY.js → ReimbursementApprovalRuleDetailPage-Cvok7KBA-FpfwM4D7.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-C1AFF_DM-JcrRx1zz.js → ReimbursementApprovalRulesPage-C1AFF_DM-JoZc2dml.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-Du6R1zje-DFFAPJro.js → ReimbursementDetailPage-Du6R1zje-CvUjMQq6.js} +1 -1
  135. package/dist/assets/{ReimbursementPromoPage-CW9eyjp9-D3Pfks5-.js → ReimbursementPromoPage-CW9eyjp9-CuKxaWBF.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-CbPwgIqt-DD9o1r2m.js → ReimbursementSetUpPage-CbPwgIqt-DRSB87d_.js} +1 -1
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmRIywf6-CkqM4nh9.js → ReimbursementsBulkReviewDrawerPage-DmRIywf6-BrarBlFq.js} +1 -1
  138. package/dist/assets/{ReloadCard-Dvn17Oxl-CBzKop0_.js → ReloadCard-Dvn17Oxl-C0Htqd7P.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-C5_qr5qe-lIXMBIXQ.js → ReportTableViewSelector-C5_qr5qe-BqDiush3.js} +1 -1
  140. package/dist/assets/{ReportsPage-BNcymVwf-ClQkz7Qq.js → ReportsPage-BNcymVwf-Dr1Kn9Mi.js} +1 -1
  141. package/dist/assets/{RevenueChart-DILkui6c-Bn7jhZor.js → RevenueChart-DILkui6c-CImk2PO-.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-ZYzvK95X-CostS9P2.js → ReviewDetailsPage-ZYzvK95X-BqPsbm4e.js} +1 -1
  143. package/dist/assets/{ReviewOverlay-DhUFI1ES-LUmDitH1.js → ReviewOverlay-DhUFI1ES-DZfMUDTM.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-_W95JBwt-D4GQ0PLV.js → RoleWithToolTip-_W95JBwt-CAG3EFqZ.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-iQXV-V_H-BVQFXrep.js → ScheduleDetailsFixedAssetsPage-iQXV-V_H-BYtXeZ10.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsPage-KgHwQGrw-DNkLJeLN.js → ScheduleDetailsPage-KgHwQGrw-BJFAnOt2.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-Bixq8Q7W-DZJIVO-x.js → ScheduleSequenceTable-Bixq8Q7W-Mb33QGhT.js} +1 -1
  148. package/dist/assets/{ScreenRoutes-Ce8X3bBt.js → ScreenRoutes-CgmKJKLA.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-D8FMVhkL-0Pe99EFt.js → SetUpAccountSection-D8FMVhkL-m_soS0Ga.js} +1 -1
  150. package/dist/assets/{SetUpDefaultSection-CI0mxu3H-DcvSJDVc.js → SetUpDefaultSection-CI0mxu3H-BlWuDhjF.js} +1 -1
  151. package/dist/assets/{SignIn-DslenepV-CPPxlLcj.js → SignIn-DslenepV-C28DaiDA.js} +1 -1
  152. package/dist/assets/{SignInScreen-B1GYtWiH.js → SignInScreen-C3d4B0vm.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-D7SzmCmM-BJf-og4i.js → SpendManagementListViewPage-D7SzmCmM-CWIrOnns.js} +3 -3
  154. package/dist/assets/{SpendManagementPerTabPage-DKaDr4mu-DxptYFft.js → SpendManagementPerTabPage-DKaDr4mu-C_4dD9SJ.js} +1 -1
  155. package/dist/assets/{SpendManagementSection-Ddfq2u6H-DmMZ9eyK.js → SpendManagementSection-Ddfq2u6H-Brw9EWR1.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-CPnNzjr--B78i6hxA.js → SpendMgmtSetupAccountSection-CPnNzjr--_0R4RUaC.js} +1 -1
  157. package/dist/assets/{StatementItem-B2uPIFUk-BwrPLJ8M.js → StatementItem-B2uPIFUk-BM56K6bQ.js} +1 -1
  158. package/dist/assets/{StatementsPage-o7MvNKvd-C1dFevGn.js → StatementsPage-o7MvNKvd-BcoH5tZO.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-kWLQCCwS-BcuNtj6J.js → StatusSwitcher-kWLQCCwS-BKsgKDt2.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-BKm9FxhL-euRzTmRU.js → SubTabSwitcher-BKm9FxhL-CcVEf7AO.js} +1 -1
  161. package/dist/assets/{SummaryCard-DBMfNfN2-plAS3Det.js → SummaryCard-DBMfNfN2-CsMEPGbq.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-D_wjK-S2-ckyJVLkK.js → TaskManagementPage-D_wjK-S2-CaLbReom.js} +1 -1
  163. package/dist/assets/{TimeRangeSwitcher-2vDR_AEV-D-I6mwQS.js → TimeRangeSwitcher-2vDR_AEV-Rqmr6WyS.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-BB3_i5V0-DSWHJLc3.js → TimeframeSwitcher-BB3_i5V0-DiBnXBvR.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-CdP0ViK8-CSTf2noq.js → TimeframeSwitcherWithToggle-CdP0ViK8-CfZD6Dwl.js} +1 -1
  166. package/dist/assets/{TopExCard-BGgGFzmK-Bh9OLnE6.js → TopExCard-BGgGFzmK-BCcBO_tR.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-CbzYG54M-DO9gCz75.js → TopExDetailPage-CbzYG54M-B8iVgMvt.js} +1 -1
  168. package/dist/assets/{TransactionDetailPage-C-CfEtCO-BGrY5UL4.js → TransactionDetailPage-C-CfEtCO-DYaudVyr.js} +1 -1
  169. package/dist/assets/{TransactionList-C0xK6_zI-BWkO5U-i.js → TransactionList-C0xK6_zI-Dtqi2dzP.js} +1 -1
  170. package/dist/assets/{TransactionListBig-CIX6CdX--LTkFgM7t.js → TransactionListBig-CIX6CdX--B6prIU9r.js} +1 -1
  171. package/dist/assets/{TransactionListPage-B7ppBJig-uGcfhXLt.js → TransactionListPage-B7ppBJig-e3wHGB1C.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage---HGdQiZ-CZOQ9lvG.js → TransactionVendorDetailPage---HGdQiZ-CTKMcRFC.js} +1 -1
  173. package/dist/assets/{TransferDrawerPage-DerGmul8-62lI-YY8.js → TransferDrawerPage-DerGmul8-q0fNEeow.js} +1 -1
  174. package/dist/assets/{TreasuryOverviewPage-DW2gZwip-DVFW4hhW.js → TreasuryOverviewPage-DW2gZwip-B1SAZOtt.js} +1 -1
  175. package/dist/assets/{TreasuryPromoPage-DzqdEmPJ-CoyHUnTy.js → TreasuryPromoPage-DzqdEmPJ-CBdFKIIl.js} +1 -1
  176. package/dist/assets/{TreasurySetupPage-Bo0HQeeU-A0y2k-4p.js → TreasurySetupPage-Bo0HQeeU-DtVO0wUY.js} +1 -1
  177. package/dist/assets/{TreasuryStatementsPage-DS_VK4WN-DmTwCwC0.js → TreasuryStatementsPage-DS_VK4WN-DjAfrvTS.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-DgwqyL6v-B7MPhwnZ.js → TreasuryTaxLetterPage-DgwqyL6v-Bnwjifqy.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-ZrSACgLJ-CShzQj1Z.js → TreasuryTransferOrReviewPage-ZrSACgLJ-C-SmOBlP.js} +1 -1
  180. package/dist/assets/{TrendChart-D07k3uRr-DkExi6rv.js → TrendChart-D07k3uRr-BHJmNQgs.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-ibwuOssC-C0qp9MFm.js → TrendWithTransactions-ibwuOssC-DUBU8fBg.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-D1m2Ok2e-DbU6jOlH.js → UncategorizedAccountsMappingPage-D1m2Ok2e-Dcs1p1Vk.js} +1 -1
  183. package/dist/assets/{UnitIntegrationPage-BJxRjjfK-DtvhQiip.js → UnitIntegrationPage-BJxRjjfK-BdVMHhQP.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-DI_GZA8A-DOiCRzdE.js → UploadAdditionalDocumentOverlay-DI_GZA8A-D9LWLKkp.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-80vvc7gE-CZyjqzsA.js → Vendor2FAPopup-80vvc7gE-DvoN0Bwt.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-CQcuiNPr-ZTYmcvJP.js → VendorACHDetailsPage-CQcuiNPr-UuLAnYxk.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-Dx_yfZDH-Dm378Xm3.js → VendorDetailPage-Dx_yfZDH-CBgsCebq.js} +1 -1
  188. package/dist/assets/{VendorDomesticWireDetailsPage-DN5x3F_Z-XOWyPxP1.js → VendorDomesticWireDetailsPage-DN5x3F_Z-D0tMQVQh.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-8Jz187lD-0m7mNuWb.js → VendorFiling1099EditablePage-8Jz187lD-CsQOZZAk.js} +1 -1
  190. package/dist/assets/{VendorFirstReviewPage-CokvYaRq-Cb9NI798.js → VendorFirstReviewPage-CokvYaRq-BbozC63y.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireDetailsPage-lo9l2Q88-DFczs5XD.js → VendorInternationalWireDetailsPage-lo9l2Q88-CiaIQ6vR.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CPj3zrDk-DRMFLwZ9.js → VendorInternationalWireSwiftDetailsPage-CPj3zrDk-DkI2kKcc.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-BqoW4DlP-K9mGVuVh.js → VendorsAccountsSection-BqoW4DlP-0nniZm3z.js} +1 -1
  194. package/dist/assets/{VerifyDevice-D8iPRJ3k-Didr6pca.js → VerifyDevice-D8iPRJ3k-BWD09mGz.js} +1 -1
  195. package/dist/assets/{VideoPopup-SdlRHLkM-0X18VPqO.js → VideoPopup-SdlRHLkM-JBtN0pTE.js} +1 -1
  196. package/dist/assets/{WarningsDrawerPage-qYWFsE3s-PgntUxKS.js → WarningsDrawerPage-qYWFsE3s-C7pBXDxE.js} +1 -1
  197. package/dist/assets/{ZeniAccountDetailPage-BL2a5Dmz-iag3jdsk.js → ZeniAccountDetailPage-BL2a5Dmz-DEfdx2ey.js} +1 -1
  198. package/dist/assets/{ZeniAccountListViewPage-CWqzDWcO-BoCUgkRw.js → ZeniAccountListViewPage-CWqzDWcO-Cyf2qBfG.js} +1 -1
  199. package/dist/assets/{ZeniAccountNavBarPieces-C0MyICK2-D9pY_iW0.js → ZeniAccountNavBarPieces-C0MyICK2-NdsQ3bXo.js} +1 -1
  200. package/dist/assets/{ZeniAccountPromoPage-CBm3w0kN-ZGm0kki_.js → ZeniAccountPromoPage-CBm3w0kN-BtlPiXj6.js} +1 -1
  201. package/dist/assets/{ZeniAccountSetupPage-C5VzT9lH-CmNUeSAP.js → ZeniAccountSetupPage-C5VzT9lH-DxCLzNwh.js} +1 -1
  202. package/dist/assets/{ZeniCopyright-BUctH39C-DplfFfSP.js → ZeniCopyright-BUctH39C-BKw2YLm1.js} +1 -1
  203. package/dist/assets/{ZeniTransferAmountSlider-q37z6XvR-Baob6Y6l.js → ZeniTransferAmountSlider-q37z6XvR-BI2AI1th.js} +1 -1
  204. package/dist/assets/{analyticsHelper-B3uAu0es-QTXf1Ev3.js → analyticsHelper-B3uAu0es-B-QLpcis.js} +1 -1
  205. package/dist/assets/{analyticsHelper-CXIp8rdA.js → analyticsHelper-RrN1dj2S.js} +1 -1
  206. package/dist/assets/{chartTypes-CJmQ6FtI-XyTHIuvE.js → chartTypes-CJmQ6FtI-Dqb_-iel.js} +1 -1
  207. package/dist/assets/{commonDimensions-WRL2ZVK_-BkSU0Zqq.js → commonDimensions-WRL2ZVK_-DSwbEOoJ.js} +1 -1
  208. package/dist/assets/{detailCommon-Dfxas1Kf-Cs5j6wK3.js → detailCommon-Dfxas1Kf-Dqi8OoPq.js} +1 -1
  209. package/dist/assets/{downloadPdf-B1f0mDl2-DR3N1swU.js → downloadPdf-B1f0mDl2-mHZBWlyE.js} +1 -1
  210. package/dist/assets/{index-C3eIsUEB.js → index-DR06mAUu.js} +3 -3
  211. package/dist/assets/{mapLoadingInProgressToTreeNode-BG784RuM-D-SsN93J.js → mapLoadingInProgressToTreeNode-BG784RuM-C7bx1EnN.js} +1 -1
  212. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CtIgxsPZ-DFzyPyCl.js → mapSectionWithAcOnlyToTreeNode-CtIgxsPZ-B5P5XUxd.js} +1 -1
  213. package/dist/assets/{mapSpacerToTreeNode-CcgVbOH5-C822drj0.js → mapSpacerToTreeNode-CcgVbOH5-BurQLYit.js} +1 -1
  214. package/dist/assets/{mapTimeframeBalancesToTreeNode-CU583ICK-BsI9dw9j.js → mapTimeframeBalancesToTreeNode-CU583ICK-BHzWWFYw.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-DTlwFauL-BnT0AYvx.js → mapTimeframeBalancesToTreeNode-DTlwFauL-2XkqQTmZ.js} +1 -1
  216. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B_n9jWVz-CxzLxNpV.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B_n9jWVz-CEBX2Csu.js} +1 -1
  217. package/dist/assets/{toCOABalancesWithID-DTfegixr-INQY6aSS.js → toCOABalancesWithID-DTfegixr-B5IY6Tog.js} +1 -1
  218. package/dist/assets/{toChartData-CH5DcWUY-CUE_ejao.js → toChartData-CH5DcWUY-DPtVsGdo.js} +1 -1
  219. package/dist/assets/{treasuryColorHelper-BdPkQoh7-DNZcPnEX.js → treasuryColorHelper-BdPkQoh7-smgfc-bH.js} +1 -1
  220. package/dist/assets/{uploadAttachment-COwu5Mqo-5xUhTy_F.js → uploadAttachment-COwu5Mqo-xeDzdBRI.js} +1 -1
  221. package/dist/assets/{uploadReceipts-dxsKhm9I-BfDIlt9K.js → uploadReceipts-dxsKhm9I-UUdYyHHa.js} +1 -1
  222. package/dist/index.html +1 -1
  223. package/package.json +1 -1
  224. package/dist/assets/CustomerOnboardingContainerPage-BB4D77z8-22xRu68e.js +0 -1
@@ -1,4 +1,4 @@
1
- import{Y as ht,u as qe,j as t,B as oe,iF as Y,aX as mt,b as H,bV as gt,t as K,r as kt,l as Q,o as s,eM as Ze,bO as Ne,bS as xt,fE as wt,ao as ft,bg as Xe,a6 as Ct,e as le,a as Tt,C as Je,ca as $t,F as yt,aj as bt,b_ as vt,i9 as jt,ia as St,iG as ze,a4 as Gt,K as De,bp as Ie,eI as Qe,iH as Lt,cx as et,iI as pe,iJ as xe,iK as Et,iL as we,iM as tt,iN as st,iO as ot,iP as nt,iQ as at,iR as rt,iS as _,q as ke,iT as re,w as ie,iU as Nt,iV as It,a3 as Mt,k as Dt,iW as zt,d9 as Bt,iX as Rt,cn as it,cH as At,v as Ot,iY as Ft,iZ as Wt,fF as Pt,eL as Vt,i_ as Ht,i$ as X,j0 as Be,c0 as Ut,j1 as _t,j2 as Kt,j3 as Re,j4 as Yt,g as Ae,g0 as qt,n as Zt}from"./index-C3eIsUEB.js";import{b as n,n as o,j as fe}from"./vendor-rkTZJa59.js";import{K as Xt,Y as Jt}from"./SpendManagementSection-Ddfq2u6H-DmMZ9eyK.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-DbHYPEWZ-CWezw8M_.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-D7SzmCmM-BJf-og4i.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./StatusSwitcher-kWLQCCwS-BcuNtj6J.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)},I=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=>{I(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,B as oe,iF as Y,aX as mt,b as H,bV as gt,t as K,r as kt,l as Q,o as s,eM as Ze,bO as Ne,bS as xt,fE as wt,ao as ft,bg as Xe,a6 as Ct,e as le,a as Tt,C as Je,ca as $t,F as yt,aj as bt,b_ as vt,i9 as jt,ia as St,iG as ze,a4 as Gt,K as De,bp as Ie,eI as Qe,iH as Lt,cx as et,iI as pe,iJ as xe,iK as Et,iL as we,iM as tt,iN as st,iO as ot,iP as nt,iQ as at,iR as rt,iS as _,q as ke,iT as re,w as ie,iU as Nt,iV as It,a3 as Mt,k as Dt,iW as zt,d9 as Bt,iX as Rt,cn as it,cH as At,v as Ot,iY as Ft,iZ as Wt,fF as Pt,eL as Vt,i_ as Ht,i$ as X,j0 as Be,c0 as Ut,j1 as _t,j2 as Kt,j3 as Re,j4 as Yt,g as Ae,g0 as qt,n as Zt}from"./index-DR06mAUu.js";import{b as n,n as o,j as fe}from"./vendor-rkTZJa59.js";import{K as Xt,Y as Jt}from"./SpendManagementSection-Ddfq2u6H-Brw9EWR1.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-DbHYPEWZ-HvAW6PTE.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-D7SzmCmM-CWIrOnns.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./StatusSwitcher-kWLQCCwS-BKsgKDt2.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)},I=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=>{I(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,aj as D,O as k,di as H,aN as L,o as a,w as q}from"./index-C3eIsUEB.js";import{n as g,b as i}from"./vendor-rkTZJa59.js";import{R as A}from"./mui-C42whWwM.js";import{V as U}from"./CollapsableReportTable-B0wI9SM1-DLN2kcqg.js";const W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.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=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.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,aj as D,O as k,di as H,aN as L,o as a,w as q}from"./index-DR06mAUu.js";import{n as g,b as i}from"./vendor-rkTZJa59.js";import{R as A}from"./mui-C42whWwM.js";import{V as U}from"./CollapsableReportTable-B0wI9SM1-rUgtmExL.js";const W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.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=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.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,B as u}from"./index-C3eIsUEB.js";import{n as i}from"./vendor-rkTZJa59.js";const f=i.div`
1
+ import{j as t,o,w as p,B as u}from"./index-DR06mAUu.js";import{n as i}from"./vendor-rkTZJa59.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{e as c,j as t,C as n,w,b5 as x}from"./index-C3eIsUEB.js";import{n as r}from"./vendor-rkTZJa59.js";import{y as l}from"./TimeframeSwitcher-BB3_i5V0-DSWHJLc3.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}})),$=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},b=r.div`
1
+ import{e as c,j as t,C as n,w,b5 as x}from"./index-DR06mAUu.js";import{n as r}from"./vendor-rkTZJa59.js";import{y as l}from"./TimeframeSwitcher-BB3_i5V0-DiBnXBvR.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}})),$=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},b=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{O as M,e as V,j as t,u as f,b7 as T,aw as C,av as S,bb as E,bk as k,q as x,ab as R,v as $,bl as q,bm as H,a0 as G,l as X,Z as Y,o as p,w as L,ao as Z,t as F,B as O,_ as N,$ as Q,a5 as A,ai as J,aj as U,a6 as W,bn as ee}from"./index-C3eIsUEB.js";import{f as w,b as te,n as g}from"./vendor-rkTZJa59.js";import{I as ae,T as re}from"./ReloadCard-Dvn17Oxl-CBzKop0_.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const ie=g(A)`
1
+ import{O as M,e as V,j as t,u as f,b7 as T,aw as C,av as S,bb as E,bk as k,q as x,ab as R,v as $,bl as q,bm as H,a0 as G,l as X,Z as Y,o as p,w as L,ao as Z,t as F,B as O,_ as N,$ as Q,a5 as A,ai as J,aj as U,a6 as W,bn as ee}from"./index-DR06mAUu.js";import{f as w,b as te,n as g}from"./vendor-rkTZJa59.js";import{I as ae,T as re}from"./ReloadCard-Dvn17Oxl-C0Htqd7P.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const ie=g(A)`
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,e as S,l as A,j as t,aX as B,B as u,a0 as k,aj as H,N as P,o as i,C as j,bj as z,aO as F,q as c,g as T,t as y,$ as V,af as D}from"./index-C3eIsUEB.js";import{n as l,f as M,b as o}from"./vendor-rkTZJa59.js";import{E as Z,I as _}from"./TopExCard-BGgGFzmK-Bh9OLnE6.js";import{y as L}from"./TimeframeSwitcher-BB3_i5V0-DSWHJLc3.js";import{d as O}from"./NoDataTable-DW2wAX3o-CmvIHNA2.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./ReloadCard-Dvn17Oxl-CBzKop0_.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const E="141px",I=i.sp4,N="123px",R=l(D)`
1
+ import{u as v,e as S,l as A,j as t,aX as B,B as u,a0 as k,aj as H,N as P,o as i,C as j,bj as z,aO as F,q as c,g as T,t as y,$ as V,af as D}from"./index-DR06mAUu.js";import{n as l,f as M,b as o}from"./vendor-rkTZJa59.js";import{E as Z,I as _}from"./TopExCard-BGgGFzmK-BCcBO_tR.js";import{y as L}from"./TimeframeSwitcher-BB3_i5V0-DiBnXBvR.js";import{d as O}from"./NoDataTable-DW2wAX3o-BmDM-a1i.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./ReloadCard-Dvn17Oxl-C0Htqd7P.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const E="141px",I=i.sp4,N="123px",R=l(D)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{u as Pt,a as Nn,e as te,B as M,a2 as Xt,dP as Bn,dQ as Fn,ca as Mn,O as qn,dR as tn,l as ge,dS as Un,j as i,$ as q,F as Wn,aX as Hn,dT as Gn,dU as Yn,m as si,dV as ki,a4 as Jn,C as _,dW as Qn,dX as nn,dY as on,dZ as an,d_ as Te,d$ as je,e0 as _e,e1 as Qe,e2 as Xe,e3 as kt,e4 as zt,e5 as Ke,e6 as gt,e7 as At,e8 as Vt,e9 as Kt,ea as K,eb as ti,ec as ue,ed as pe,X as Xn,ee as Tt,ef as zi,eg as Kn,K as Zn,bV as eo,o,bJ as to,eh as io,q as T,N as xi,g as le,r as Ci,ap as li,az as no,ei as oo,bQ as ao,bO as ri,a0 as Oe,cn as nt,ej as so,ek as Gt,a7 as sn,cs as lo,el as ro,bM as co,bN as uo,t as fe,af as po,cH as mo,em as ln,en as Zt,eo as ei,ep as pi,de as ho,aj as go,b_ as fo,cv as Di,x as rn,eq as ii,er as ni,es as cn,ct as dn,bp as Ti,et as mi,dj as hi,eu as yo,aO as bo,ev as xo,ew as Ai,ex as vo,H as wo,cw as $o,ey as Io,J as un,ez as pn,b6 as Co,eA as Vi,eB as mn,eC as hn,eD as gn,b4 as ot,b2 as Do,aD as To,ds as jo,v as fn,eE as Oo,b1 as Lo,a3 as So,n as ko,eF as zo,a9 as vi}from"./index-C3eIsUEB.js";import{b as $,n as l,f as jt}from"./vendor-rkTZJa59.js";import{x as Ri}from"./LabeledControlledCheckBoxField-BoXsUqpR-BDprT0oc.js";import{R as Ao}from"./TrendWithTransactions-ibwuOssC-C0qp9MFm.js";import{u as Vo,c as Ro,d as Po,m as Eo}from"./uploadAttachment-COwu5Mqo-5xUhTy_F.js";import{o as _o}from"./radio-default-CiSgisfh-Z5w0WcFM.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./TrendChart-D07k3uRr-DkExi6rv.js";import"./chartTypes-CJmQ6FtI-XyTHIuvE.js";import"./toCOABalancesWithID-DTfegixr-INQY6aSS.js";import"./toChartData-CH5DcWUY-CUE_ejao.js";import"./NoDataChart-DNmdY5gQ-I17nHhNI.js";import"./InsightsSection-C9MHOCQd-B3v5Vy0i.js";import"./NavigationDots-CNwL0a7I-CifVGTqc.js";import"./TransactionList-C0xK6_zI-BWkO5U-i.js";import"./BoxItem-CZKWkdxd-BeOlY6b0.js";import"./commonDimensions-WRL2ZVK_-BkSU0Zqq.js";const No={headerMarginTop:new _(T[7],T[8])},Bo=l(fe)`
1
+ import{u as Pt,a as Nn,e as te,B as M,a2 as Xt,dP as Bn,dQ as Fn,ca as Mn,O as qn,dR as tn,l as ge,dS as Un,j as i,$ as q,F as Wn,aX as Hn,dT as Gn,dU as Yn,m as si,dV as ki,a4 as Jn,C as _,dW as Qn,dX as nn,dY as on,dZ as an,d_ as Te,d$ as je,e0 as _e,e1 as Qe,e2 as Xe,e3 as kt,e4 as zt,e5 as Ke,e6 as gt,e7 as At,e8 as Vt,e9 as Kt,ea as K,eb as ti,ec as ue,ed as pe,X as Xn,ee as Tt,ef as zi,eg as Kn,K as Zn,bV as eo,o,bJ as to,eh as io,q as T,N as xi,g as le,r as Ci,ap as li,az as no,ei as oo,bQ as ao,bO as ri,a0 as Oe,cn as nt,ej as so,ek as Gt,a7 as sn,cs as lo,el as ro,bM as co,bN as uo,t as fe,af as po,cH as mo,em as ln,en as Zt,eo as ei,ep as pi,de as ho,aj as go,b_ as fo,cv as Di,x as rn,eq as ii,er as ni,es as cn,ct as dn,bp as Ti,et as mi,dj as hi,eu as yo,aO as bo,ev as xo,ew as Ai,ex as vo,H as wo,cw as $o,ey as Io,J as un,ez as pn,b6 as Co,eA as Vi,eB as mn,eC as hn,eD as gn,b4 as ot,b2 as Do,aD as To,ds as jo,v as fn,eE as Oo,b1 as Lo,a3 as So,n as ko,eF as zo,a9 as vi}from"./index-DR06mAUu.js";import{b as $,n as l,f as jt}from"./vendor-rkTZJa59.js";import{x as Ri}from"./LabeledControlledCheckBoxField-BoXsUqpR-00y-jyJ7.js";import{R as Ao}from"./TrendWithTransactions-ibwuOssC-DUBU8fBg.js";import{u as Vo,c as Ro,d as Po,m as Eo}from"./uploadAttachment-COwu5Mqo-xeDzdBRI.js";import{o as _o}from"./radio-default-CiSgisfh-Z5w0WcFM.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./TrendChart-D07k3uRr-BHJmNQgs.js";import"./chartTypes-CJmQ6FtI-Dqb_-iel.js";import"./toCOABalancesWithID-DTfegixr-B5IY6Tog.js";import"./toChartData-CH5DcWUY-DPtVsGdo.js";import"./NoDataChart-DNmdY5gQ-BH7TbUdX.js";import"./InsightsSection-C9MHOCQd-Daqh68sY.js";import"./NavigationDots-CNwL0a7I-_0rzAMBs.js";import"./TransactionList-C0xK6_zI-Dtqi2dzP.js";import"./BoxItem-CZKWkdxd-BMPRvJHk.js";import"./commonDimensions-WRL2ZVK_-DSwbEOoJ.js";const No={headerMarginTop:new _(T[7],T[8])},Bo=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Fo=l(fe)`
4
4
  margin-right: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{bJ as rt,e as R,j as e,aj as st,$ as u,de as nt,B as y,df as lt,d9 as dt,dg as ct,o as a,g as Z,b_ as mt,C as V,l as m,m as ft,t as j,q as b,w as xt,dh as W,cz as _,a0 as G,n as ut}from"./index-C3eIsUEB.js";import{b as g,n,f as ht}from"./vendor-rkTZJa59.js";import{g as J}from"./BoxItem-CZKWkdxd-BeOlY6b0.js";import{o as E}from"./commonDimensions-WRL2ZVK_-BkSU0Zqq.js";const F=t=>t?24:125,pt={containerPaddingBottom:new V(b[9],b[8])},Q=n.div`
1
+ import{bJ as rt,e as R,j as e,aj as st,$ as u,de as nt,B as y,df as lt,d9 as dt,dg as ct,o as a,g as Z,b_ as mt,C as V,l as m,m as ft,t as j,q as b,w as xt,dh as W,cz as _,a0 as G,n as ut}from"./index-DR06mAUu.js";import{b as g,n,f as ht}from"./vendor-rkTZJa59.js";import{g as J}from"./BoxItem-CZKWkdxd-BMPRvJHk.js";import{o as E}from"./commonDimensions-WRL2ZVK_-DSwbEOoJ.js";const F=t=>t?24:125,pt={containerPaddingBottom:new V(b[9],b[8])},Q=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{C as a,e as L,Y as W,P as ie,ab as ne,l as B,j as t,$ as x,aj as re,B as w,q as n,v as ae,g as D,o,J as j,y as Q,aM as se,aN as le,w as de,r as ce,a0 as me,aO as pe,p as he,m as ue,K as Y,N as G,aP as X,a6 as ee}from"./index-C3eIsUEB.js";import{b as U,n as i,f,j as ge}from"./vendor-rkTZJa59.js";import{G as xe,c as we}from"./AccountsPromoCardStack-CC72plKm-DV-DNWnY.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./SummaryCard-DBMfNfN2-plAS3Det.js";import"./ReloadCard-Dvn17Oxl-CBzKop0_.js";import"./NavigationArrow-eEaMttBX-B_OAAp0o.js";import"./NavigationDots-CNwL0a7I-CifVGTqc.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,e as L,Y as W,P as ie,ab as ne,l as B,j as t,$ as x,aj as re,B as w,q as n,v as ae,g as D,o,J as j,y as Q,aM as se,aN as le,w as de,r as ce,a0 as me,aO as pe,p as he,m as ue,K as Y,N as G,aP as X,a6 as ee}from"./index-DR06mAUu.js";import{b as U,n as i,f,j as ge}from"./vendor-rkTZJa59.js";import{G as xe,c as we}from"./AccountsPromoCardStack-CC72plKm-CcgMZmEW.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./SummaryCard-DBMfNfN2-CsMEPGbq.js";import"./ReloadCard-Dvn17Oxl-C0Htqd7P.js";import"./NavigationArrow-eEaMttBX-sC8k7Yvi.js";import"./NavigationDots-CNwL0a7I-_0rzAMBs.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 A,aV as z,aW as M,j as o,$ as u,aX as Q,m as V,aY as W,o as n,t as X}from"./index-C3eIsUEB.js";import{b as r,n as l}from"./vendor-rkTZJa59.js";import{f as Z}from"./TransactionList-C0xK6_zI-BWkO5U-i.js";import{t as _}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-CZKWkdxd-BeOlY6b0.js";import"./commonDimensions-WRL2ZVK_-BkSU0Zqq.js";const q=l.div`
1
+ import{u as A,aV as z,aW as M,j as o,$ as u,aX as Q,m as V,aY as W,o as n,t as X}from"./index-DR06mAUu.js";import{b as r,n as l}from"./vendor-rkTZJa59.js";import{f as Z}from"./TransactionList-C0xK6_zI-Dtqi2dzP.js";import{t as _}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-CZKWkdxd-BMPRvJHk.js";import"./commonDimensions-WRL2ZVK_-DSwbEOoJ.js";const q=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{e as A,B as k,j as o,m as q,$ as D,a4 as W,o as a,C as g,a3 as J,J as Q,cB as U,a as Y,gA as B,gB as F,gC as M,ca as _,F as G,q as s,u as K,cd as X,ge as z,gH as Z,am as ee,gL as oe,gM as te}from"./index-C3eIsUEB.js";import{b as j,n as d}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.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=A(),y=K(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",h),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(X,{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:F(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=>r(n),defaultValue:{selectedOption:v,allOptions:B(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:M(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},se=d.div`
1
+ import{e as A,B as k,j as o,m as q,$ as D,a4 as W,o as a,C as g,a3 as J,J as Q,cB as U,a as Y,gA as B,gB as F,gC as M,ca as _,F as G,q as s,u as K,cd as X,ge as z,gH as Z,am as ee,gL as oe,gM as te}from"./index-DR06mAUu.js";import{b as j,n as d}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.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=A(),y=K(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",h),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(X,{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:F(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=>r(n),defaultValue:{selectedOption:v,allOptions:B(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:M(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},se=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,e as ue,$ as A,gU as lt,B as I,a0 as G,K as ve,h2 as ct,m as Ne,a4 as $e,o as a,C as c,a3 as Ye,T as dt,ao as ut,r as ft,c7 as De,w as be,t as fe,a2 as ce,f1 as pt,a as Xe,l as mt,ca as ht,ab as gt,a1 as wt,g as U,F as qe,fa as ke,fb as Ae,fJ as xt,bp as ye,fE as $t,h3 as Dt,q as o,d1 as bt,bO as Ge,bw as yt,cG as Tt,b6 as Ct,n as Je,f6 as St,ds as vt,by as Ue,fd as kt,ff as At}from"./index-C3eIsUEB.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-q37z6XvR-Baob6Y6l.js";import{r as Lt}from"./AccountInfoPageContent-DvWx52e0-D9gXo091.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-B1f0mDl2-DR3N1swU.js";import"./commonDimensions-WRL2ZVK_-BkSU0Zqq.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),E(),Y(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Nt,{children:G("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel: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:ge(k,Pe),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel: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:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.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(Gt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Ht,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as G,K as ve,h2 as ct,m as Ne,a4 as $e,o as a,C as c,a3 as Ye,T as dt,ao as ut,r as ft,c7 as De,w as be,t as fe,a2 as ce,f1 as pt,a as Xe,l as mt,ca as ht,ab as gt,a1 as wt,g as U,F as qe,fa as ke,fb as Ae,fJ as xt,bp as ye,fE as $t,h3 as Dt,q as o,d1 as bt,bO as Ge,bw as yt,cG as Tt,b6 as Ct,n as Je,f6 as St,ds as vt,by as Ue,fd as kt,ff as At}from"./index-DR06mAUu.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-q37z6XvR-BI2AI1th.js";import{r as Lt}from"./AccountInfoPageContent-DvWx52e0-Dvf8pD-W.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-B1f0mDl2-mHZBWlyE.js";import"./commonDimensions-WRL2ZVK_-DSwbEOoJ.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),E(),Y(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&q()},[N,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Nt,{children:G("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel: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:ge(k,Pe),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel: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:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.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(Gt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Ht,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v as ie,$ as E,m as Fe,o as i,w as k,g as w,b6 as Ve,C as u,cV as _,J as R,l as V,q as h,gX as le,at as de,aw as ce,av as he,au as pe,b9 as We,bg as Le,a6 as Ae,Y as Ee,fq as Ue,gr as Je,K as Ge,t as M,af as Xe,iA as _e,jb as qe,aA as Qe,eJ as Ze,d7 as et,f6 as tt,aj as it,b_ as ot,i9 as rt,ia as at,ka as nt,bn as st,n as U,c3 as xe,ic as lt,c6 as dt,id as ct,ie as ht}from"./index-C3eIsUEB.js";import{b as $,n as o,f as pt,j as ge}from"./vendor-rkTZJa59.js";import{s as xt}from"./commonDimensions-WRL2ZVK_-BkSU0Zqq.js";import{g as me}from"./BoxItem-CZKWkdxd-BeOlY6b0.js";import{l as ne,d as gt}from"./treasuryColorHelper-BdPkQoh7-DNZcPnEX.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[yt,ft,wt],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(ct,ht),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=A(),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(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(st,{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(At,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{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(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{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(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bp as ae,aX as Ke,v as ie,$ as E,m as Fe,o as i,w as k,g as w,b6 as Ve,C as u,cV as _,J as R,l as V,q as h,gX as le,at as de,aw as ce,av as he,au as pe,b9 as We,bg as Le,a6 as Ae,Y as Ee,fq as Ue,gr as Je,K as Ge,t as M,af as Xe,iA as _e,jb as qe,aA as Qe,eJ as Ze,d7 as et,f6 as tt,aj as it,b_ as ot,i9 as rt,ia as at,ka as nt,bn as st,n as U,c3 as xe,ic as lt,c6 as dt,id as ct,ie as ht}from"./index-DR06mAUu.js";import{b as $,n as o,f as pt,j as ge}from"./vendor-rkTZJa59.js";import{s as xt}from"./commonDimensions-WRL2ZVK_-DSwbEOoJ.js";import{g as me}from"./BoxItem-CZKWkdxd-BMPRvJHk.js";import{l as ne,d as gt}from"./treasuryColorHelper-BdPkQoh7-smgfc-bH.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[yt,ft,wt],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(ct,ht),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=A(),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(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(st,{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(At,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{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(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{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(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as F,j as r,aX as ye,o as i,iA as je,bp as be,w as S,K,$ as J,J as f,r as q,C as v,g as t,t as H,d7 as Se,br as ke,T as ze,n as ve,cP as Ce,q as m,dM as Le,ay as Pe,c7 as Te,a3 as De,v as Q,cB as Ie}from"./index-C3eIsUEB.js";import{b as P,n as o,f as Me}from"./vendor-rkTZJa59.js";import{x as Be}from"./MeetingCalenderPopup-CAh7iae0-BpiINuek.js";import{l as Re}from"./treasuryColorHelper-BdPkQoh7-DNZcPnEX.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as Ne}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const He=({isOpen:e,onClose:x})=>{const d=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(_e,{windowSize:d,children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:d,children:u.agreementDrawer.title}),r.jsx(Z,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((c,w)=>r.jsx(re,{children:c},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((c,w)=>r.jsx(Ve,{children:c.hasMultipleLinks===!0&&c.links?r.jsx(Ye,{children:c.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:c.link,target:"_blank",rel:"noopener noreferrer",children:c.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((c,w)=>r.jsx(re,{children:c},w))})]})]})})},_e=o.div`
1
+ import{u as ae,e as O,Y as xe,x as we,a2 as $e,l as fe,B as F,j as r,aX as ye,o as i,iA as je,bp as be,w as S,K,$ as J,J as f,r as q,C as v,g as t,t as H,d7 as Se,br as ke,T as ze,n as ve,cP as Ce,q as m,dM as Le,ay as Pe,c7 as Te,a3 as De,v as Q,cB as Ie}from"./index-DR06mAUu.js";import{b as P,n as o,f as Me}from"./vendor-rkTZJa59.js";import{x as Be}from"./MeetingCalenderPopup-CAh7iae0-BfCcIpcm.js";import{l as Re}from"./treasuryColorHelper-BdPkQoh7-smgfc-bH.js";import{r as Ge}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as Ne}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const He=({isOpen:e,onClose:x})=>{const d=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(_e,{windowSize:d,children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:d,children:u.agreementDrawer.title}),r.jsx(Z,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((c,w)=>r.jsx(re,{children:c},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((c,w)=>r.jsx(Ve,{children:c.hasMultipleLinks===!0&&c.links?r.jsx(Ye,{children:c.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:c.link,target:"_blank",rel:"noopener noreferrer",children:c.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((c,w)=>r.jsx(re,{children:c},w))})]})]})})},_e=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,B as ce,a8 as te,j as t,cP as He,g as Re,C as u,aX as _e,m as Ne,F as de,dO as Je,aS as qe,q as n,K as Ge,bp as Ke,$ as Xe,cg as Ye,a4 as Ze,o as i,t as ue,c7 as Qe,a3 as et,J as tt,y as it}from"./index-C3eIsUEB.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-DiIoYeXn-FbkReN34.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-CI0mxu3H-DcvSJDVc.js";import{f as at}from"./SpendMgmtSetupAccountSection-CPnNzjr--B78i6hxA.js";import st from"./PortfolioAllocationFormPage-CzA_c7hR-CWaP7kP_.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-CAh7iae0-BpiINuek.js";import"./ChargeCardUtils-Wp4Ko18L-zmLd-lJK.js";import"./CreditCardPaymentPlgSection-vmErttTD-BxhyQLa5.js";import"./ChaseOverlay-BGZfbx0H-Cy6SXtpe.js";import"./PortfolioDetails-Drgv4Osg-n5MRYPkF.js";import"./treasuryColorHelper-BdPkQoh7-DNZcPnEX.js";const rt=(e,f)=>`${e}.${f}`,E={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,G=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:x,onClose:d,onAdditionalVerificationFieldsChanged:I,onSendForVerificationClick:B,onCloseOverlay:j})=>{const p=ae(),k=E.labelWidth.value(p),D=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)}}}),[f?.sourceOfFunds])}),W=m=>G[m]??m,M=C.handleSubmit(()=>{B(e?.officerType??"Officer_1")}),P=async(m,w)=>{I(w[$])};return a.useEffect(()=>{const m=C.watch((w,{name:O})=>{O!=null&&w!=null&&le(()=>P(O,w))});return()=>{m.unsubscribe()}}),D==="In-Progress"&&c.fetchState==="Completed"||x===!0?t.jsxs(gt,{children:[t.jsxs(xt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Ge,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Ke,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Xe("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(wt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ye,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ze,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
1
+ import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,B as ce,a8 as te,j as t,cP as He,g as Re,C as u,aX as _e,m as Ne,F as de,dO as Je,aS as qe,q as n,K as Ge,bp as Ke,$ as Xe,cg as Ye,a4 as Ze,o as i,t as ue,c7 as Qe,a3 as et,J as tt,y as it}from"./index-DR06mAUu.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-DiIoYeXn-BjNtV4Hp.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-CI0mxu3H-BlWuDhjF.js";import{f as at}from"./SpendMgmtSetupAccountSection-CPnNzjr--_0R4RUaC.js";import st from"./PortfolioAllocationFormPage-CzA_c7hR-DyNZBLE-.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-CAh7iae0-BfCcIpcm.js";import"./ChargeCardUtils-Wp4Ko18L-BV4EoZtc.js";import"./CreditCardPaymentPlgSection-vmErttTD-JbSszjjn.js";import"./ChaseOverlay-BGZfbx0H-BaX81dzi.js";import"./PortfolioDetails-Drgv4Osg-BksJn0hB.js";import"./treasuryColorHelper-BdPkQoh7-smgfc-bH.js";const rt=(e,f)=>`${e}.${f}`,E={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,G=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:x,onClose:d,onAdditionalVerificationFieldsChanged:I,onSendForVerificationClick:B,onCloseOverlay:j})=>{const p=ae(),k=E.labelWidth.value(p),D=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)}}}),[f?.sourceOfFunds])}),W=m=>G[m]??m,M=C.handleSubmit(()=>{B(e?.officerType??"Officer_1")}),P=async(m,w)=>{I(w[$])};return a.useEffect(()=>{const m=C.watch((w,{name:O})=>{O!=null&&w!=null&&le(()=>P(O,w))});return()=>{m.unsubscribe()}}),D==="In-Progress"&&c.fetchState==="Completed"||x===!0?t.jsxs(gt,{children:[t.jsxs(xt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Ge,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Ke,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Xe("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(wt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ye,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ze,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${E.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${E.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{u as j,e as v,j as t,aX as z,B as C,aj as P,o as r,g as c,b_ as B,C as I,q as d,t as M}from"./index-C3eIsUEB.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as R}from"./BoxItem-CZKWkdxd-BeOlY6b0.js";import{o as T}from"./commonDimensions-WRL2ZVK_-BkSU0Zqq.js";import{M as E}from"./StatementItem-B2uPIFUk-BwrPLJ8M.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-B1f0mDl2-DR3N1swU.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:g})=>{const b=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>T.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(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{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,e as v,j as t,aX as z,B as C,aj as P,o as r,g as c,b_ as B,C as I,q as d,t as M}from"./index-DR06mAUu.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as R}from"./BoxItem-CZKWkdxd-BMPRvJHk.js";import{o as T}from"./commonDimensions-WRL2ZVK_-DSwbEOoJ.js";import{M as E}from"./StatementItem-B2uPIFUk-BM56K6bQ.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-B1f0mDl2-mHZBWlyE.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:g})=>{const b=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>T.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(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{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,e as v,j as t,aX as L,B as z,aj as C,o as r,g as c,b_ as P,C as T,q as d,t as B}from"./index-C3eIsUEB.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-CZKWkdxd-BeOlY6b0.js";import{o as M}from"./commonDimensions-WRL2ZVK_-BkSU0Zqq.js";import{M as R}from"./StatementItem-B2uPIFUk-BwrPLJ8M.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-B1f0mDl2-DR3N1swU.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:g})=>{const b=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>M.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(R,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(H,{children:p.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:p.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{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,e as v,j as t,aX as L,B as z,aj as C,o as r,g as c,b_ as P,C as T,q as d,t as B}from"./index-DR06mAUu.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-CZKWkdxd-BMPRvJHk.js";import{o as M}from"./commonDimensions-WRL2ZVK_-DSwbEOoJ.js";import{M as R}from"./StatementItem-B2uPIFUk-BM56K6bQ.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-B1f0mDl2-mHZBWlyE.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:g})=>{const b=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>M.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(R,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(H,{children:p.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:p.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{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{e as ge,O as $t,j as o,$ as P,gU as bt,B as xe,a0 as W,K as Ee,m as Ze,a4 as et,o as t,C as f,a3 as De,T as St,am as vt,u as jt,a2 as J,bp as At,cV as tt,J as R,l as z,g1 as kt,g as S,r as Tt,y as ot,w as G,t as X,f1 as Pt,a as Ct,ca as zt,F as Dt,fJ as Lt,q as c,bw as rt,d1 as nt,bO as it,cG as Ft,cx as Mt,fd as Rt,f5 as Bt,x as Ot,n as It,f6 as Nt,ds as Et,c3 as _t,c2 as Vt,aR as Wt,be as Gt,ff as Xt,fo as Yt,ab as qt}from"./index-C3eIsUEB.js";import{n as r,b as x}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-Drgv4Osg-n5MRYPkF.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./treasuryColorHelper-BdPkQoh7-DNZcPnEX.js";const Jt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ut=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=x.useState(a);x.useEffect(()=>{m(a)},[a]);const w=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(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Ut,value:l,onChange:w}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ht(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Qt=e=>{const a=qt("0,0.[00]a",e,"$").toUpperCase();return`${Jt.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 Ht=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%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
1
+ import{e as ge,O as $t,j as o,$ as P,gU as bt,B as xe,a0 as W,K as Ee,m as Ze,a4 as et,o as t,C as f,a3 as De,T as St,am as vt,u as jt,a2 as J,bp as At,cV as tt,J as R,l as z,g1 as kt,g as S,r as Tt,y as ot,w as G,t as X,f1 as Pt,a as Ct,ca as zt,F as Dt,fJ as Lt,q as c,bw as rt,d1 as nt,bO as it,cG as Ft,cx as Mt,fd as Rt,f5 as Bt,x as Ot,n as It,f6 as Nt,ds as Et,c3 as _t,c2 as Vt,aR as Wt,be as Gt,ff as Xt,fo as Yt,ab as qt}from"./index-DR06mAUu.js";import{n as r,b as x}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-Drgv4Osg-BksJn0hB.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./treasuryColorHelper-BdPkQoh7-smgfc-bH.js";const Jt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ut=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=x.useState(a);x.useEffect(()=>{m(a)},[a]);const w=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(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Ut,value:l,onChange:w}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ht(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Qt=e=>{const a=qt("0,0.[00]a",e,"$").toUpperCase();return`${Jt.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 Ht=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%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
1
- import{B as $,j as s,l as u,u as B,$ as Y,aj as Z,b7 as z,b8 as F,aw as P,v as k,av as R,ab as O,b9 as q,ax as _,bb as G,o as L,g as K,t as N}from"./index-C3eIsUEB.js";import{b as v,f as Q,n as w}from"./vendor-rkTZJa59.js";import{d as V,g as T,p as D,u as W}from"./chartTypes-CJmQ6FtI-XyTHIuvE.js";import{o as X}from"./toCOABalancesWithID-DTfegixr-INQY6aSS.js";import{V as H}from"./toChartData-CH5DcWUY-CUE_ejao.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const I=w.div`
1
+ import{B as $,j as s,l as u,u as B,$ as Y,aj as Z,b7 as z,b8 as F,aw as P,v as k,av as R,ab as O,b9 as q,ax as _,bb as G,o as L,g as K,t as N}from"./index-DR06mAUu.js";import{b as v,f as Q,n as w}from"./vendor-rkTZJa59.js";import{d as V,g as T,p as D,u as W}from"./chartTypes-CJmQ6FtI-Dqb_-iel.js";import{o as X}from"./toCOABalancesWithID-DTfegixr-B5IY6Tog.js";import{V as H}from"./toChartData-CH5DcWUY-DPtVsGdo.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const I=w.div`
2
2
  display: flex;
3
3
  `,J=w.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{e as D,j as i,m as R,o as t,B as F,C as c,$ as S,aj as q,am as Y,c7 as E,q as a,t as K,a3 as V}from"./index-C3eIsUEB.js";import{b as k,n}from"./vendor-rkTZJa59.js";import W from"./TrendChart-D07k3uRr-DkExi6rv.js";import{C as _}from"./NoDataChart-DNmdY5gQ-I17nHhNI.js";import{B as Q}from"./InsightsSection-C9MHOCQd-B3v5Vy0i.js";import{f as X}from"./TransactionList-C0xK6_zI-BWkO5U-i.js";const Z=n.div`
1
+ import{e as D,j as i,m as R,o as t,B as F,C as c,$ as S,aj as q,am as Y,c7 as E,q as a,t as K,a3 as V}from"./index-DR06mAUu.js";import{b as k,n}from"./vendor-rkTZJa59.js";import W from"./TrendChart-D07k3uRr-BHJmNQgs.js";import{C as _}from"./NoDataChart-DNmdY5gQ-BH7TbUdX.js";import{B as Q}from"./InsightsSection-C9MHOCQd-Daqh68sY.js";import{f as X}from"./TransactionList-C0xK6_zI-Dtqi2dzP.js";const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{u as ce,e as se,Y as Ke,a2 as en,g9 as R,hb as J,B as H,a as nn,hc as tn,hd as Te,ca as on,j as t,aX as cn,bV as sn,bX as ln,bY as an,F as rn,l as U,he as dn,m as un,hf as Z,hg as pn,a4 as mn,hh as Ve,C as u,t as gn,o as l,cn as fe,a8 as W,ge as oe,hi as ie,q as d,J as Ae,g as $e,fD as _e,w as Se,aC as xn}from"./index-C3eIsUEB.js";import{b as X,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-DiIoYeXn-FbkReN34.js";import{h as wn}from"./VendorsAccountsSection-BqoW4DlP-K9mGVuVh.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-CAh7iae0-BpiINuek.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])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{u as ce,e as se,Y as Ke,a2 as en,g9 as R,hb as J,B as H,a as nn,hc as tn,hd as Te,ca as on,j as t,aX as cn,bV as sn,bX as ln,bY as an,F as rn,l as U,he as dn,m as un,hf as Z,hg as pn,a4 as mn,hh as Ve,C as u,t as gn,o as l,cn as fe,a8 as W,ge as oe,hi as ie,q as d,J as Ae,g as $e,fD as _e,w as Se,aC as xn}from"./index-DR06mAUu.js";import{b as X,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-DiIoYeXn-BjNtV4Hp.js";import{h as wn}from"./VendorsAccountsSection-BqoW4DlP-0nniZm3z.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-CAh7iae0-BfCcIpcm.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])},qe={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{a2 as b,j as t,hk as R,hl as _,e as F,B as O,bV as U,c as C,bX as N,bY as z,a as H,F as M,cj as G,l as T,cf as D,C as g,cg as K,g as A,p as J,m as X,K as Y,o as i,t as Q,q as B,r as Z,ap as ee}from"./index-C3eIsUEB.js";import{b as c,n as f}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.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{a2 as b,j as t,hk as R,hl as _,e as F,B as O,bV as U,c as C,bX as N,bY as z,a as H,F as M,cj as G,l as T,cf as D,C as g,cg as K,g as A,p as J,m as X,K as Y,o as i,t as Q,q as B,r as Z,ap as ee}from"./index-DR06mAUu.js";import{b as c,n as f}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.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 M,fg as x,a2 as U,l as q,e as A,B as W,j as i,ca as _,F as G,$ as Q,fh as H,o as a,g as J,ck as K,a4 as X,C as y,a3 as Y,c7 as Z,ap as ee,ao as te,q as c}from"./index-C3eIsUEB.js";import{b as m,n as l}from"./vendor-rkTZJa59.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:E,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=M({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,B]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=q.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=A(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=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]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onFileSizeError:o=>B(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(X,{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:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as M,fg as x,a2 as U,l as q,e as A,B as W,j as i,ca as _,F as G,$ as Q,fh as H,o as a,g as J,ck as K,a4 as X,C as y,a3 as Y,c7 as Z,ap as ee,ao as te,q as c}from"./index-DR06mAUu.js";import{b as m,n as l}from"./vendor-rkTZJa59.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:E,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=M({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,B]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=q.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=A(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=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]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onFileSizeError:o=>B(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(X,{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:$},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{a2 as o,B as k,j as i,hk as v,hl as y}from"./index-C3eIsUEB.js";import{b as e}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const B=({vendorViewDetails:S,isExpressPayPage:n,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=k.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]),i.jsx(i.Fragment,{children:C===!0?i.jsx(v,{showHelperText:!n,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?i.jsx(y,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{B as default};
1
+ import{a2 as o,B as k,j as i,hk as v,hl as y}from"./index-DR06mAUu.js";import{b as e}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const B=({vendorViewDetails:S,isExpressPayPage:n,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=k.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]),i.jsx(i.Fragment,{children:C===!0?i.jsx(v,{showHelperText:!n,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?i.jsx(y,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{B as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-C3eIsUEB.js";import{b as d}from"./vendor-rkTZJa59.js";import{f as k}from"./ACHDetailsPage-MP6kdpXK-Cin5vYxN.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-HvUMABu0-DrqrNnez.js";import"./MagicLinkTitleSection-DRMHVOzF-vSOOyfRm.js";import"./BankAccountSection-AuQLRvdb-Bwa0DuGQ.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-DR06mAUu.js";import{b as d}from"./vendor-rkTZJa59.js";import{f as k}from"./ACHDetailsPage-MP6kdpXK-BwIl7x9r.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-HvUMABu0-Cm6MmUNL.js";import"./MagicLinkTitleSection-DRMHVOzF-B3dfPNgt.js";import"./BankAccountSection-AuQLRvdb-CJDAqXcy.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{B as N,u as Re,e as ne,C as g,O as fe,l as se,cc as xt,a as yt,gA as Ae,gB as Be,gC as Ee,gD as be,gE as ft,a8 as bt,ca as wt,j as t,aX as Ct,F as $t,gF as St,gG as ue,q as l,cb as Dt,a4 as jt,o,bh as S,cn as Lt,ge as we,gH as Tt,cd as Vt,ce as kt,cf as Ot,gI as It,fK as Pt,cl as Ft,gJ as zt,gK as Mt,g as M,dr as Nt,dq as _t,cz as Wt,ab as de,am as Ue,w as qe,ds as Ht,af as Rt,gL as At,gM as Bt,t as Et,gN as Ut,bO as Ye,gO as qt,J as Ce,y as Je}from"./index-C3eIsUEB.js";import{b as $,n as a,j as Yt}from"./vendor-rkTZJa59.js";import{k as Jt}from"./SubTabSwitcher-BKm9FxhL-euRzTmRU.js";import{f as Gt}from"./TransactionList-C0xK6_zI-BWkO5U-i.js";import{R as Kt}from"./TrendWithTransactions-ibwuOssC-C0qp9MFm.js";import{o as Qt,t as Xt}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{C as Zt}from"./LabeledAddressValueField-YuLcra47-D1rCVkct.js";import{Y as es}from"./LabeledDropDownFormattedTextField-DYRkxlY--C9ZM89bQ.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-CZKWkdxd-BeOlY6b0.js";import"./commonDimensions-WRL2ZVK_-BkSU0Zqq.js";import"./TrendChart-D07k3uRr-DkExi6rv.js";import"./chartTypes-CJmQ6FtI-XyTHIuvE.js";import"./toCOABalancesWithID-DTfegixr-INQY6aSS.js";import"./toChartData-CH5DcWUY-CUE_ejao.js";import"./NoDataChart-DNmdY5gQ-I17nHhNI.js";import"./InsightsSection-C9MHOCQd-B3v5Vy0i.js";import"./NavigationDots-CNwL0a7I-CifVGTqc.js";const ts=a.div`
1
+ import{B as N,u as Re,e as ne,C as g,O as fe,l as se,cc as xt,a as yt,gA as Ae,gB as Be,gC as Ee,gD as be,gE as ft,a8 as bt,ca as wt,j as t,aX as Ct,F as $t,gF as St,gG as ue,q as l,cb as Dt,a4 as jt,o,bh as S,cn as Lt,ge as we,gH as Tt,cd as Vt,ce as kt,cf as Ot,gI as It,fK as Pt,cl as Ft,gJ as zt,gK as Mt,g as M,dr as Nt,dq as _t,cz as Wt,ab as de,am as Ue,w as qe,ds as Ht,af as Rt,gL as At,gM as Bt,t as Et,gN as Ut,bO as Ye,gO as qt,J as Ce,y as Je}from"./index-DR06mAUu.js";import{b as $,n as a,j as Yt}from"./vendor-rkTZJa59.js";import{k as Jt}from"./SubTabSwitcher-BKm9FxhL-CcVEf7AO.js";import{f as Gt}from"./TransactionList-C0xK6_zI-Dtqi2dzP.js";import{R as Kt}from"./TrendWithTransactions-ibwuOssC-DUBU8fBg.js";import{o as Qt,t as Xt}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{C as Zt}from"./LabeledAddressValueField-YuLcra47-B3WkMjHI.js";import{Y as es}from"./LabeledDropDownFormattedTextField-DYRkxlY--FSwITD0j.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-CZKWkdxd-BMPRvJHk.js";import"./commonDimensions-WRL2ZVK_-DSwbEOoJ.js";import"./TrendChart-D07k3uRr-BHJmNQgs.js";import"./chartTypes-CJmQ6FtI-Dqb_-iel.js";import"./toCOABalancesWithID-DTfegixr-B5IY6Tog.js";import"./toChartData-CH5DcWUY-DPtVsGdo.js";import"./NoDataChart-DNmdY5gQ-BH7TbUdX.js";import"./InsightsSection-C9MHOCQd-Daqh68sY.js";import"./NavigationDots-CNwL0a7I-_0rzAMBs.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-C3eIsUEB.js";import{b as C}from"./vendor-rkTZJa59.js";import{y as b}from"./DomesticWireDetailsPage-vRHD5DmW-v4Oe5SWK.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountSection-AuQLRvdb-Bwa0DuGQ.js";import"./MagicLinkTitleSection-DRMHVOzF-vSOOyfRm.js";import"./BankAccountWarningSection-HvUMABu0-DrqrNnez.js";import"./MailingDetailsSection-DgdAYgpS-CzYOsfT_.js";import"./LabeledAddressValueField-YuLcra47-D1rCVkct.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-DR06mAUu.js";import{b as C}from"./vendor-rkTZJa59.js";import{y as b}from"./DomesticWireDetailsPage-vRHD5DmW-ri92WCGt.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountSection-AuQLRvdb-CJDAqXcy.js";import"./MagicLinkTitleSection-DRMHVOzF-B3dfPNgt.js";import"./BankAccountWarningSection-HvUMABu0-Cm6MmUNL.js";import"./MailingDetailsSection-DgdAYgpS-B6ZRzk1g.js";import"./LabeledAddressValueField-YuLcra47-B3WkMjHI.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{e as oe,u as Ne,B as ne,a as ke,cD as U,gP as de,ca as Ae,C as w,j as t,aX as Be,$ as Ee,F as Re,cd as C,o as s,ch as Oe,gI as We,fK as qe,cl as Me,gJ as He,gK as Ke,ct as Ue,a4 as Ge,cv as Ye,cE as Ze,q as c,a3 as Qe,bh as D,c8 as _e,gQ as Je,g as I,eV as Xe,bO as et,t as ce,eE as tt,gR as st,gS as lt,gT as M,cF as it}from"./index-C3eIsUEB.js";import{b as y,n as a}from"./vendor-rkTZJa59.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DYRkxlY--C9ZM89bQ.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(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:O}){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:O,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:U(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{e as oe,u as Ne,B as ne,a as ke,cD as U,gP as de,ca as Ae,C as w,j as t,aX as Be,$ as Ee,F as Re,cd as C,o as s,ch as Oe,gI as We,fK as qe,cl as Me,gJ as He,gK as Ke,ct as Ue,a4 as Ge,cv as Ye,cE as Ze,q as c,a3 as Qe,bh as D,c8 as _e,gQ as Je,g as I,eV as Xe,bO as et,t as ce,eE as tt,gR as st,gS as lt,gT as M,cF as it}from"./index-DR06mAUu.js";import{b as y,n as a}from"./vendor-rkTZJa59.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-DYRkxlY--FSwITD0j.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(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:O}){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:O,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:U(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{e as ae,Y as Nn,u as mn,a as nt,hv as Pe,ca as tt,H as On,hw as ie,hx as xe,hy as fe,hz as be,hA as me,B as je,j as n,hr as ot,F as rt,aX as it,b as st,bV as at,bX as lt,bY as dt,br as ct,$ as Y,bg as mt,bS as pt,aj as ut,dl as ht,b_ as gt,C as w,m as wt,N as Ne,o as t,a7 as In,t as De,a6 as vt,q as c,w as Re,c3 as xt,l as zn,dr as Pn,bh as ze,aB as Tn,c6 as ft,bv as bt,dE as $t,ap as Ye,aP as pn,g as F,az as Dn,fk as St,dh as wn,cz as rn,hB as yt,hC as sn,p as jt,bp as Fe,dO as Rt,et as vn,b6 as Ct,dt as Vt,K as xn,hD as kt,cn as Mt,cv as Nt,cw as Ot,ey as It,n as Ln,hE as zt,b4 as se,hF as fn,gg as Pt,b2 as Tt,aD as Dt,ds as Lt,v as _n,J as _t,eF as At,a9 as dn}from"./index-C3eIsUEB.js";import{b as f,n as o,j as cn}from"./vendor-rkTZJa59.js";import{r as Bt}from"./mui-C42whWwM.js";import{R as Ft}from"./Menu-bleLgSLu-Ccrr2YDB.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const An=({steps:e})=>{const s=ae();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{e as ae,Y as Nn,u as mn,a as nt,hv as Pe,ca as tt,H as On,hw as ie,hx as xe,hy as fe,hz as be,hA as me,B as je,j as n,hr as ot,F as rt,aX as it,b as st,bV as at,bX as lt,bY as dt,br as ct,$ as Y,bg as mt,bS as pt,aj as ut,dl as ht,b_ as gt,C as w,m as wt,N as Ne,o as t,a7 as In,t as De,a6 as vt,q as c,w as Re,c3 as xt,l as zn,dr as Pn,bh as ze,aB as Tn,c6 as ft,bv as bt,dE as $t,ap as Ye,aP as pn,g as F,az as Dn,fk as St,dh as wn,cz as rn,hB as yt,hC as sn,p as jt,bp as Fe,dO as Rt,et as vn,b6 as Ct,dt as Vt,K as xn,hD as kt,cn as Mt,cv as Nt,cw as Ot,ey as It,n as Ln,hE as zt,b4 as se,hF as fn,gg as Pt,b2 as Tt,aD as Dt,ds as Lt,v as _n,J as _t,eF as At,a9 as dn}from"./index-DR06mAUu.js";import{b as f,n as o,j as cn}from"./vendor-rkTZJa59.js";import{r as Bt}from"./mui-C42whWwM.js";import{R as Ft}from"./Menu-bleLgSLu-2EgCp-sb.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const An=({steps:e})=>{const s=ae();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,e as J,a as he,B as U,ca as ye,O as ge,l as Y,bV as be,bX as fe,bY as xe,F as ve,a4 as we,C as p,cD as le,cE as Ce,o as y,ao as $e,cn as oe,u as ne,cF as De,cG as Z,ct as G,ah as H,cd as je,cH as Te,q as a,cv as Se,$ as ke,g as V,m as Fe,J as Oe,bp as Ae,w as Le,b6 as We}from"./index-C3eIsUEB.js";import{b as R,n as g}from"./vendor-rkTZJa59.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-HvUMABu0-DrqrNnez.js";import{T as Re}from"./MailingDetailsSection-DgdAYgpS-CzYOsfT_.js";import{S as Pe}from"./CurrencySelectField-BEb19UaA-ayd8ypxk.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledAddressValueField-YuLcra47-D1rCVkct.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:k=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&j||D){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:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{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(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),D?t.jsx(Be,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,e as J,a as he,B as U,ca as ye,O as ge,l as Y,bV as be,bX as fe,bY as xe,F as ve,a4 as we,C as p,cD as le,cE as Ce,o as y,ao as $e,cn as oe,u as ne,cF as De,cG as Z,ct as G,ah as H,cd as je,cH as Te,q as a,cv as Se,$ as ke,g as V,m as Fe,J as Oe,bp as Ae,w as Le,b6 as We}from"./index-DR06mAUu.js";import{b as R,n as g}from"./vendor-rkTZJa59.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-HvUMABu0-Cm6MmUNL.js";import{T as Re}from"./MailingDetailsSection-DgdAYgpS-B6ZRzk1g.js";import{S as Pe}from"./CurrencySelectField-BEb19UaA-C0UFg96t.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledAddressValueField-YuLcra47-B3WkMjHI.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:k=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&j||D){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:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{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(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),D?t.jsx(Be,{windowSize:C,hasError:D,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-C3eIsUEB.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-DqCtPykV-BUWM-1ua.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-HvUMABu0-DrqrNnez.js";import"./MailingDetailsSection-DgdAYgpS-CzYOsfT_.js";import"./LabeledAddressValueField-YuLcra47-D1rCVkct.js";import"./MagicLinkTitleSection-DRMHVOzF-vSOOyfRm.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-DR06mAUu.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-DqCtPykV-6xvctPGj.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-HvUMABu0-Cm6MmUNL.js";import"./MailingDetailsSection-DgdAYgpS-B6ZRzk1g.js";import"./LabeledAddressValueField-YuLcra47-B3WkMjHI.js";import"./MagicLinkTitleSection-DRMHVOzF-B3dfPNgt.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,4 +1,4 @@
1
- import{e as ie,u as oe,B as te,C as c,g9 as w,a8 as k,j as i,hj as g,hi as m,o as n,J as re,g as ne,dy as se,w as le,q as a}from"./index-C3eIsUEB.js";import{n as l}from"./vendor-rkTZJa59.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},T={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{e as ie,u as oe,B as te,C as c,g9 as w,a8 as k,j as i,hj as g,hi as m,o as n,J as re,g as ne,dy as se,w as le,q as a}from"./index-DR06mAUu.js";import{n as l}from"./vendor-rkTZJa59.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},T={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a2 as A,a as B,B as P,j as r,bo as K,b as d,l as q,F as U,bp as W,w as f,bq as X,o,K as D,br as Z,t as L,bs as G,bt as C,b6 as J,g as y,ap as b,bu as Q}from"./index-C3eIsUEB.js";import{b as c,n as t}from"./vendor-rkTZJa59.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-B1_3C1ER-DGCTA7OW.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./handshake-BPg58FML-CVKh3Eii.js";const ee=e=>{if(!e)return"";try{const i=G(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=i.countryCallingCode,x=i.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,O=2,re="456px",te="256px",V=6,n=P.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Te=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,w]=c.useState(F),[h,E]=c.useState(I),S=A(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},R=()=>{j.trim().length===V&&e.onVerifyOtp(j)},M=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{S==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),T(s=>s+1),u.setValue(m,""))},[S,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{E(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[h]);const H=s=>{const a=Math.floor(s/60),z=s%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(K,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:$>O,children:r.jsx(Y,{unlockDate:q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=O,children:r.jsx(U,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(se,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(ie,{children:ee(e.phoneNumber+"")}),r.jsx(W,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(Ee,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(X,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(m,s),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(N,{children:r.jsxs(je,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(N,{children:r.jsx(ye,{children:n.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),n.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:n.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),w(F),E(I))},children:n.resend}),h>0&&r.jsxs(he,{children:[P.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:R,style:{width:82},loading:i,disabled:j.trim().length!==V||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},oe=t.div`
1
+ import{a2 as A,a as B,B as P,j as r,bo as K,b as d,l as q,F as U,bp as W,w as f,bq as X,o,K as D,br as Z,t as L,bs as G,bt as C,b6 as J,g as y,ap as b,bu as Q}from"./index-DR06mAUu.js";import{b as c,n as t}from"./vendor-rkTZJa59.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-B1_3C1ER-CEJa6CVX.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./handshake-BPg58FML-CVKh3Eii.js";const ee=e=>{if(!e)return"";try{const i=G(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=i.countryCallingCode,x=i.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,O=2,re="456px",te="256px",V=6,n=P.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Te=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,w]=c.useState(F),[h,E]=c.useState(I),S=A(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},R=()=>{j.trim().length===V&&e.onVerifyOtp(j)},M=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{S==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),T(s=>s+1),u.setValue(m,""))},[S,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{E(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[h]);const H=s=>{const a=Math.floor(s/60),z=s%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(K,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:$>O,children:r.jsx(Y,{unlockDate:q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=O,children:r.jsx(U,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(se,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(ie,{children:ee(e.phoneNumber+"")}),r.jsx(W,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(Ee,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(X,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(m,s),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(N,{children:r.jsxs(je,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(N,{children:r.jsx(ye,{children:n.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),n.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:n.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),w(F),E(I))},children:n.resend}),h>0&&r.jsxs(he,{children:[P.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:R,style:{width:82},loading:i,disabled:j.trim().length!==V||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},oe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -1,4 +1,4 @@
1
- import{e as s,j as i,p as l,$ as a,e$ as c,g as h,o,C as r}from"./index-C3eIsUEB.js";import{n as t}from"./vendor-rkTZJa59.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{e as s,j as i,p as l,$ as a,e$ as c,g as h,o,C as r}from"./index-DR06mAUu.js";import{n as t}from"./vendor-rkTZJa59.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;