@zeniai/web-cockpit-ui 1.14.23-qa → 1.14.24-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/dist/assets/{ACHDetailsPage-DZv7I3Jm-YQnMOYp1.js → ACHDetailsPage-DZv7I3Jm-zPHhT4Vj.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DCq95N_N-CXDNIqrC.js → AIPerformancePage-DCq95N_N-DO8MzOBI.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-wfDS5ToF-Dk38sAxC.js → AccountInfoPage-wfDS5ToF-BkRJ-lxL.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-dgeBtGlm-D-b-iQe0.js → AccountInfoPageContent-dgeBtGlm-BSaBGsXw.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-CqjvVPUE-DQpjXn2Q.js → AccountLockedInfoModal-CqjvVPUE-Cma-cVvt.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BJ1TTvni-CcW2jKAi.js → AccountReconDetailsDrawerPage-BJ1TTvni-CnFKI7ya.js} +1 -1
  7. package/dist/assets/{AccountRow-99zfxKet-C9Nd9F1S.js → AccountRow-99zfxKet-iP3hUTyF.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CZwrQBcr-CmN3crLg.js → AccountsPromoCardStack-CZwrQBcr-BLPwkeVU.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BcOX27nY-CtiOCTsA.js → AddAddressForCardDrawer-BcOX27nY-CA-KCO8n.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CoW0Ppg4-J2VnTm3x.js → AddToWalletPage-CoW0Ppg4-WAfWgl1v.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Dgi5oFl4-Ce7bMUR6.js → AgingReportsPage-Dgi5oFl4-Cao6O7NF.js} +1 -1
  12. package/dist/assets/{AllUserItems-6iESftSq-CsmBRymW.js → AllUserItems-6iESftSq-BBGiJxHd.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-jEL75hOV-JTEWmEwV.js → ApAgingDetailPage-jEL75hOV-BLy4yEPM.js} +1 -1
  14. package/dist/assets/{AppBasePage-CMHbFdBh-Bo2XhsLy.js → AppBasePage-CMHbFdBh-DTT6hgO7.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-NAyrnDCL-zWt12xZ6.js → AppDrawerContent-NAyrnDCL-B7ak2Xor.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BWraRVsT-sq_E7aI8.js → ApprovalRulesSettingsPage-BWraRVsT-BRbAilw6.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DPrIHwSE-C_2WpeiM.js → ArAgingChart-DPrIHwSE-ym_zT_Xu.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CdNiD7uR-CME9SOhC.js → ArAgingDetailPage-CdNiD7uR-DccUXEIa.js} +1 -1
  19. package/dist/assets/{AttachmentView-Cmh726Zl-CgfzBbdX.js → AttachmentView-Cmh726Zl-C82E74gy.js} +1 -1
  20. package/dist/assets/{BankAccountSection-jRnEB-Ut-5BYJoDk4.js → BankAccountSection-jRnEB-Ut-BpoXdxMl.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-KznYA-cf-DOVsFGdl.js → BankAccountWarningSection-KznYA-cf-CV3aOKhB.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BXrsOxcg-DTzvfI-B.js → BankConnectionsSettingsPage-BXrsOxcg-CZU1wEnM.js} +1 -1
  23. package/dist/assets/{BillDetailPage-glKjF2MJ-D3l7IvWg.js → BillDetailPage-glKjF2MJ-CxnS8ehW.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-DyH2jp6G-DBnZXx-2.js → BillPayApprovalRuleDetailPage-DyH2jp6G-BgnVnU6E.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-jctlpXwj-CmhRHJvR.js → BillPayApprovalRulesPage-jctlpXwj-sMvcDhpz.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DGyWwW1t-BAGJEnpn.js → BillPayPromoPage-DGyWwW1t-B2E2k4g7.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-UfM6FOqW-DiGKIWDe.js → BillPaySetUpPage-UfM6FOqW-wZRanfNP.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-BfMIxeqM-1cKvDtpW.js → BillingSettingsPage-BfMIxeqM-C_WtlbYK.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DhoLC2aT-D0k9QhkW.js → BillsBulkReviewDrawerPage-DhoLC2aT-Cih70QQk.js} +1 -1
  30. package/dist/assets/{BoxItem-CIOib-WX-DEJIIppW.js → BoxItem-CIOib-WX-Cvut8WLk.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Czf-y16x-CBCn2hfu.js → BusinessVerificationPage-Czf-y16x-BBZA7C_w.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-B8CivrXd-Bv0oLYl_.js → CardNumberSubText-B8CivrXd-CzHZkmhR.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-BOTxd8DW-CmEQ1WEw.js → CashbackDetailPage-BOTxd8DW-CNmZsYqR.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DbtvRfDc-xzBtT-ID.js → ChargeCardDetailPage-DbtvRfDc-CRGJceoy.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-Q1zat_TQ-0_0FZfyS.js → ChargeCardListPage-Q1zat_TQ-BbazZeau.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-CKH-EZW4-Cd1KUnIO.js → ChargeCardListTable-CKH-EZW4-CiPC1KQt.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-BRkny-dl-D9_i54WA.js → ChargeCardPromoPage-BRkny-dl-BA8MhBiS.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-DM15gWD1-WcsJHEqP.js → ChargeCardSetupPage-DM15gWD1-rI_IQnGw.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-xedf3XEE-DXuw1yy7.js → ChargeCardStatementsPage-xedf3XEE-CzGfRvhd.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-D4KmVUMt-CZbHQ6K3.js → ChargeCardUtils-D4KmVUMt-Bgc7_40s.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-IbWtzNzT-DyjXkZNO.js → ChaseOverlay-IbWtzNzT-CiTCJc7A.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-BCIvt4pQ-Ds9p--_E.js → CheckDepositDrawerPage-BCIvt4pQ-BUO3GGvc.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-jOFcWQi9-D9Cn8RFJ.js → CollapsableReportTable-jOFcWQi9-BD7j44zD.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-DMCZTk1e-CdzOYXTm.js → CompanyOfficerDetailsSection-DMCZTk1e-CevbfEQw.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-BbJLMFqe-CFYXrwOI.js → CompanyPassportCard-BbJLMFqe-CAuk2TxY.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-BwCMcjB9-EhkSO3MY.js → CompanyPassportPage-BwCMcjB9-C5l65FSQ.js} +1 -1
  47. package/dist/assets/{CompleteProfile-Dz4laW45-t2WOdgnE.js → CompleteProfile-Dz4laW45-D0LCAfKu.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-B2j3QxzW-C7Hrv_Rv.js → ConfettiBurst-B2j3QxzW-BoOT7g5H.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-z2chPZUl-Bt138LfS.js → CreateOrEditVendorPage-z2chPZUl-moxdaTde.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Z9RiL1h7-9F216iMd.js → CreditCardPaymentDrawerPage-Z9RiL1h7-BimNMSu_.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-Cg-oo7DU-Br5JMnsp.js → CreditCardPaymentPlgSection-Cg-oo7DU-CbeaX1ko.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-CxNprN2u-CL181MHj.js → CurrencySelectField-CxNprN2u-CPSD5Bje.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-diAJ07bX-CsQ5TTri.js → CustomerOnboardingActivationPage-diAJ07bX-sBysngto.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-BZzvupuA-CSzku5k4.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton--8DBjaCm-DGUaOh56.js → CustomerOnboardingDetailPageSkeleton--8DBjaCm-B9kNPkv6.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Ccq8kI-v-D8yRunsk.js → CustomerOnboardingNoStepsPage-Ccq8kI-v-D3QEvGB2.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-s3GNwP8c-CPXa6rx2.js → CustomerOnboardingPage-s3GNwP8c-p7WLMkGR.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-C-tToXNK-D-oPzPaT.js → CustomerOnboardingProductSuitePage-C-tToXNK-4Ab_CkNQ.js} +1 -1
  59. package/dist/assets/{Dashboard-BtcnzaY6-p3zeHNmW.js → Dashboard-BtcnzaY6-gJck50nw.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-C6jLfLtF-B5G4HLsH.js → DashboardReportPage-C6jLfLtF-BPfMWD5H.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-s8Nl8CmH-zwQVOM7e.js → DashboardSidebarBackgroundAnimation-s8Nl8CmH-Dm61fSUI.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-Bm63W_1e-DVqMxFEK.js → DepositAccTransactionItem-Bm63W_1e-5FIgWMcL.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-D4QcTw4n-8VgPk6Ib.js → DepositAccTransactionListPage-D4QcTw4n-1uhB2yjw.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-DX0BA5i3-amEgmkhH.js → DomesticWireDetailsPage-DX0BA5i3-Ea2aCTYV.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-BcH72YTL-B62Er70B.js → DownloadOverlay-BcH72YTL-B8MaexAj.js} +1 -1
  66. package/dist/assets/{DrawerPage-CzHhh0IP-Be7m4gY2.js → DrawerPage-CzHhh0IP-BIFSEwpr.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-Z5btEDax-BebZCzVz.js → EditPeoplePage-Z5btEDax-BKTta_xp.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-D_FsqRgU-BhAW7PtZ.js → EditReimbursementDetailPage-D_FsqRgU-DhM4BWkK.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-Bc4YVpPC-D4GtCT9-.js → EntityDetailPage-Bc4YVpPC-DWs1zPrx.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-Ba6AWxNi-L5EN9bhV.js → EntitySummarySection-Ba6AWxNi-BdQCQZ3F.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-Cg0sM_PI-94AIzN51.js → ExpenseAutomationOverviewPage-Cg0sM_PI-vkhdPOgy.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-EjI20a6v-D5pEVPH_.js → ExpenseAutomationPage-EjI20a6v-rIac0d4o.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-562vstqT-CCL9eF19.js → ExpressPayPage-562vstqT-BTrZQzDN.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-eUvRNjsx-B0l2W-9A.js → FeaturePreviewPage-eUvRNjsx-D93wu9_Y.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-D60JM8h_-CckSxC9O.js → FollowStepsSection-D60JM8h_-WgnL9DSD.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-BpXEtrb4-DQ6Mw89s.js → GlobalReviewListPage-BpXEtrb4-CJJjyGfo.js} +1 -1
  77. package/dist/assets/{HelpButton-hflpTkYP-BPMkeu0J.js → HelpButton-hflpTkYP-BxxKYxfC.js} +1 -1
  78. package/dist/assets/{InformationCardStack-BsxmscQq-BVYoOHQR.js → InformationCardStack-BsxmscQq-CSrArWRb.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-5JDl2mCA-D8idgd3z.js → InsightsCardStack-5JDl2mCA-CZ5TshWK.js} +1 -1
  80. package/dist/assets/{InsightsSection-DsO5tfQL-BFXwjc-s.js → InsightsSection-DsO5tfQL-CBUNqXt7.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-MQDeidS6-j6Ew3-s2.js → IntegrationsSettingsPage-MQDeidS6-BKVTNE0x.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-CpT4WPn3-emHrkTKE.js → InternationalWireSwiftDetailsPage-CpT4WPn3-b0nQCCWc.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-DlBFLwxy-laRMBnc9.js → InternationalWireVerificationPage-DlBFLwxy-BIViCBlF.js} +1 -1
  84. package/dist/assets/{InviteFormPage-D0QCEMkX-BO-lOazV.js → InviteFormPage-D0QCEMkX-DZr12vmY.js} +1 -1
  85. package/dist/assets/{InvitePageListView-CVf8HrhY-mqZvxSGz.js → InvitePageListView-CVf8HrhY-cBhycZNO.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-Dg7iuq2i-vvepYHu_.js → InvitePeoplePage-Dg7iuq2i-Cx5QFhMU.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-BuwWumE2-COAgE2f8.js → InvoiceUploadSection-BuwWumE2-CTijWOqK.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-DL23WAiQ-BGDsNpha.js → IssueChargeCardPage-DL23WAiQ-CCNHr1-9.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-CnL_9Mgq-CVpIDtQa.js → LabeledAddressValue-CnL_9Mgq-C1-zs_ut.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-DLou-2Lm-hN3Yi48B.js → LabeledAddressValueField-DLou-2Lm-30_LmoCw.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-DqrqiFhz-Bu5rppjm.js → LabeledControlledCheckBoxField-DqrqiFhz-GyWAbp3D.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CxnC4AFe-D-JkO1RP.js → LabeledCreatableSingleSelectField-CxnC4AFe-BOkJ5-5r.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-By7zV2VD-DNFqIRCg.js → LabeledDocumentField-By7zV2VD-Deh87JH9.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-BF37XlAJ-BaQcEb_i.js → LabeledDropDownFormattedTextField-BF37XlAJ-B3ToXjDJ.js} +1 -1
  95. package/dist/assets/{LabeledText-D4fC1Hz2-VzfyK_lh.js → LabeledText-D4fC1Hz2-Cxv5m94v.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DMxSLbjX-CJztlZ6l.js → LabeledUserSingleSelectWithSubtitlesField-DMxSLbjX-B9c0Mx1N.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-CTA3JLz4-BjYewmih.js → LabeledZeniRolesDropDownField-CTA3JLz4-D4MXXizm.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-CLAyFAJh-BRCeFYVj.js → LinkJETransactionPage-CLAyFAJh-Dm40KZjj.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-TCSP5zrD-C-mSPg9_.js → LowBalancePopup-TCSP5zrD-BmN6CG0D.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-C9sNEDPT-LvQ8f8NK.js → MagicLinkACHDetailsPage-C9sNEDPT-D6e_XUAG.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D4C-a5QY-BaQEjwuD.js → MagicLinkDomesticWireDetailsPage-D4C-a5QY-DOB7ds5g.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-oKAXWkRz-C3YaWr8p.js → MagicLinkInternationalWireDetailsPage-oKAXWkRz-ICvIdgn3.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-DTKe1Hxk-C9A401Wb.js → MagicLinkSuccessPage-DTKe1Hxk-D3l_qzGn.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-BZ9PbTY5-CljXn46a.js → MagicLinkTitleSection-BZ9PbTY5-DGA-Kfl0.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-DOuPh_kK-BSVwPRCr.js → MailingDetailsSection-DOuPh_kK-CJdFvtR9.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-Bn5picNg-BBLVilIj.js → MeetingCalenderPopup-Bn5picNg-BZadZTcq.js} +1 -1
  107. package/dist/assets/{Menu-D_vf2LDo-BFcfUwqs.js → Menu-D_vf2LDo-39KwK8wM.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-DJZVD_j4-4y7IMDFB.js → MyBankConnectionsSettingsPage-DJZVD_j4-CYkcPYeU.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-DyhXBMCi-D4oC_o0x.js → MyPendingActivationChargeCardListPage-DyhXBMCi-DtFEW_4I.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-gPNoKP10-DiBey7CP.js → MyProfileSettingsPage-gPNoKP10-gCIICwqR.js} +1 -1
  111. package/dist/assets/{NavBarWithPicker-BlYfbDi0-BnGgNUZt.js → NavBarWithPicker-BlYfbDi0-BiD5rNBH.js} +1 -1
  112. package/dist/assets/{NavigationArrow-CQ_K0Bon-CawXlbrW.js → NavigationArrow-CQ_K0Bon-C-8VFiTg.js} +1 -1
  113. package/dist/assets/{NavigationDots-CI0cjpQA-DLC_4Z2x.js → NavigationDots-CI0cjpQA-B6oVaxeu.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-BHQiRWO8-CkuCSAal.js → NewGlobalMerchantPage-BHQiRWO8-or4Uc_HY.js} +1 -1
  115. package/dist/assets/{NoDataChart-Dg1_sU_O-BSOy8Xqm.js → NoDataChart-Dg1_sU_O-flEThGvM.js} +1 -1
  116. package/dist/assets/{NoDataTable-qTYBbL2H-DM9qxqvN.js → NoDataTable-qTYBbL2H-BGrSHe_q.js} +1 -1
  117. package/dist/assets/{NotFoundPage-DYjrSF7l-CQN0tUCx.js → NotFoundPage-DYjrSF7l-D7C6Z_Gh.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-DZHlnrbH-QzcGE4E_.js → NotificationSettingsPage-DZHlnrbH-D8paihJx.js} +1 -1
  119. package/dist/assets/{NotificationsListConfig-BSBZHM3y--H3hUPl8.js → NotificationsListConfig-BSBZHM3y-CGdVXHfi.js} +1 -1
  120. package/dist/assets/{NotificationsPage-QgnztPHs-Dl0evqI4.js → NotificationsPage-QgnztPHs-CnFUIBHp.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-_AMvFFwS-BI72ljun.js → OpExByVendorPage-_AMvFFwS-DGSt9CNm.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-DEiBNUrj.js → OverlayContainerPage-Bmu909Fo-CI9x-FUu.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-D_3EfFjd-B-t4XzLD.js → PandLWithForecastPage-D_3EfFjd-JoBuR2Ry.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Ch5yJBuG-DHGF0FaM.js → PaymentAccountSetupBillingAddressSection-Ch5yJBuG-Czoqfz5V.js} +1 -1
  125. package/dist/assets/{PeoplePage-DZr3Lusf-hEmQAyog.js → PeoplePage-DZr3Lusf-M76DhnJE.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-Byu_8Js7-DS7y6gw-.js → PortfolioAllocationFormPage-Byu_8Js7-CWAHnet9.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-BH-sfG9j-DxGBZzz0.js → PortfolioDetails-BH-sfG9j-CdKUfZw3.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-C4J19mb--CD1XfI-1.js → ProductsCarousel-C4J19mb--DcgR5jdw.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-Bj4SLu8_-BIrkv3Tm.js → PromoBaseCards-Bj4SLu8_-CC7a127A.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-Bx6ZDEvY-BMKA6Yj_.js → QBOConnectionDialog-Bx6ZDEvY-BRYqXjwh.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-BCdoUjwK-DBDhCM3w.js → QBOSetupSection-BCdoUjwK-BF2gwacX.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DsTMXav9-CvbEeovQ.js → ReimbursementApprovalRuleDetailPage-DsTMXav9-B1Ngpniy.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-CJLcH9Ov-Cig3L3Bd.js → ReimbursementApprovalRulesPage-CJLcH9Ov--aMB2wIm.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-Ctgt3Dcz-f6KrZU7c.js → ReimbursementDetailPage-Ctgt3Dcz-Bah5s5HT.js} +1 -1
  135. package/dist/assets/{ReimbursementPromoPage-DCmevd5G-wQNAiqBv.js → ReimbursementPromoPage-DCmevd5G-RVnIiUe8.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-Dc9xJUbM-BR8GmF7i.js → ReimbursementSetUpPage-Dc9xJUbM-BRgUtgcr.js} +1 -1
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CKjHGxjw-CDUlYRNg.js → ReimbursementsBulkReviewDrawerPage-CKjHGxjw-DAh9TKrH.js} +1 -1
  138. package/dist/assets/{ReloadCard-DxJMY9If-nW7iK9Fy.js → ReloadCard-DxJMY9If-DFVN_BWj.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-lMBROmrI-N5GobH7z.js → ReportTableViewSelector-lMBROmrI-C57N0Ev_.js} +1 -1
  140. package/dist/assets/{ReportsPage-DMYLnwc7-DCYlz8or.js → ReportsPage-DMYLnwc7-C986BuH8.js} +1 -1
  141. package/dist/assets/{RevenueChart-DD8vb3zi-C_UY7ZQL.js → RevenueChart-DD8vb3zi-DI64DZjn.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-C-6hNb3q-KrkMkA8R.js → ReviewDetailsPage-C-6hNb3q-Bs8iB-Q6.js} +1 -1
  143. package/dist/assets/{ReviewOverlay-sqbjCjkE-snBZ7y9m.js → ReviewOverlay-sqbjCjkE-BYmWnWTV.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-BpMhPbAJ-DWdyATom.js → RoleWithToolTip-BpMhPbAJ-D4xuhbtR.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D1uRcS4p-DVQ50rIP.js → ScheduleDetailsFixedAssetsPage-D1uRcS4p-n5wC_akR.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsPage-D8Cvxd7m-BnOiYhbP.js → ScheduleDetailsPage-D8Cvxd7m-bSm3GRae.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-CvqXlh31-CwVMjXUG.js → ScheduleSequenceTable-CvqXlh31-iJzQjEX9.js} +1 -1
  148. package/dist/assets/{ScreenRoutes-CI0AzXAT.js → ScreenRoutes-CG3ALmQe.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-CDXmRiGQ-HkusFLSS.js → SetUpAccountSection-CDXmRiGQ-DykmFmYq.js} +1 -1
  150. package/dist/assets/{SetUpDefaultSection-VPie4JZS-4qiMaYlL.js → SetUpDefaultSection-VPie4JZS-CUUkgLvy.js} +1 -1
  151. package/dist/assets/{SignIn-9DfCxy9Q-D4JpW9pe.js → SignIn-9DfCxy9Q-D5TOW1KJ.js} +1 -1
  152. package/dist/assets/{SignInScreen-BbLwe7Jj.js → SignInScreen-C5ZC9m_8.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-Q5bQb3hk-DfgpHKj_.js → SpendManagementListViewPage-Q5bQb3hk-BwLto-DN.js} +3 -3
  154. package/dist/assets/{SpendManagementPerTabPage-CD-kDdxa-Dy7S4NDC.js → SpendManagementPerTabPage-CD-kDdxa-BPnAzojr.js} +1 -1
  155. package/dist/assets/{SpendManagementSection-DGGOMGEz-pjZ87EhJ.js → SpendManagementSection-DGGOMGEz-BERrqLUW.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-CjqaRCUW-CRO2vJ11.js → SpendMgmtSetupAccountSection-CjqaRCUW-DdnBx9W6.js} +1 -1
  157. package/dist/assets/{StatementItem-1vBLASxl-DdTLs-OC.js → StatementItem-1vBLASxl-Bg-WCzCW.js} +1 -1
  158. package/dist/assets/{StatementsPage-cCluGN33-BaiT4gPd.js → StatementsPage-cCluGN33-CUSb15rA.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-efLzDuyw-xo5uppxy.js → StatusSwitcher-efLzDuyw-yZjEoNnl.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-BfYlJKJ6-B-F59cPN.js → SubTabSwitcher-BfYlJKJ6-0yeg6J8n.js} +1 -1
  161. package/dist/assets/{SummaryCard-BsPejHZG-Brt0nr39.js → SummaryCard-BsPejHZG-DSp7yYcI.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-CkdITpbn-CxUxcnHV.js → TaskManagementPage-CkdITpbn-BnN3mtBv.js} +1 -1
  163. package/dist/assets/{TimeRangeSwitcher-DVB0vP5W-WYEIuuWg.js → TimeRangeSwitcher-DVB0vP5W-Bka-ygDj.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-BmhH741X-DEVymh4n.js → TimeframeSwitcher-BmhH741X-Bq2UrAGM.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-B1bMIGal-BfV_webc.js → TimeframeSwitcherWithToggle-B1bMIGal-PXrqXkjU.js} +1 -1
  166. package/dist/assets/{TopExCard-DBuo1QUF-DOV-VWcR.js → TopExCard-DBuo1QUF-Bqy_yS0O.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-CGPgaWRb-BdIi4GHq.js → TopExDetailPage-CGPgaWRb-BefBmW9C.js} +1 -1
  168. package/dist/assets/{TransactionDetailPage-BUP-dxVE-BaqindUV.js → TransactionDetailPage-BUP-dxVE-Bluz2ZEA.js} +1 -1
  169. package/dist/assets/{TransactionList-DP9cEVya-BXcbKAlV.js → TransactionList-DP9cEVya-Dnf5dIML.js} +1 -1
  170. package/dist/assets/{TransactionListBig-B_s15U1P-B6nmm19w.js → TransactionListBig-B_s15U1P-DxO9dvuT.js} +1 -1
  171. package/dist/assets/{TransactionListPage-DpYLFl8A-CG4bgQSq.js → TransactionListPage-DpYLFl8A-CtiLL9up.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-DqqSV533-ClW_Ym1b.js → TransactionVendorDetailPage-DqqSV533-DMSzEnyq.js} +1 -1
  173. package/dist/assets/{TransferDrawerPage-CxdQzo0m-DJdXjena.js → TransferDrawerPage-CxdQzo0m-DrhEn9ys.js} +1 -1
  174. package/dist/assets/{TreasuryOverviewPage-D7vqj60i-DqlHCc2-.js → TreasuryOverviewPage-D7vqj60i-DA26_cse.js} +1 -1
  175. package/dist/assets/{TreasuryPromoPage-BuxEHMpT-CoWfKW9J.js → TreasuryPromoPage-BuxEHMpT-BDwacXK1.js} +1 -1
  176. package/dist/assets/{TreasurySetupPage-BIfbbeL3-D1Mjek99.js → TreasurySetupPage-BIfbbeL3-V_YXLN-n.js} +1 -1
  177. package/dist/assets/{TreasuryStatementsPage-BeUdQZBc-Byh46stc.js → TreasuryStatementsPage-BeUdQZBc-XNPULVYt.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-uFRMjqLn-DqSDq6k1.js → TreasuryTaxLetterPage-uFRMjqLn-CGfm28c4.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-BWybwqhc-C3uU9hVX.js → TreasuryTransferOrReviewPage-BWybwqhc-Cp5gifXq.js} +1 -1
  180. package/dist/assets/{TrendChart-7kPgcETh-BaCfzFDE.js → TrendChart-7kPgcETh-CZhHOMVt.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-DPby1I5u-DuRZBcAW.js → TrendWithTransactions-DPby1I5u-yXfJ3Iyk.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-DEkSWWRY-Dv2mcgjG.js → UncategorizedAccountsMappingPage-DEkSWWRY-BWS3cZYH.js} +1 -1
  183. package/dist/assets/{UnitIntegrationPage-B5yzIJDg-CjDfkeUr.js → UnitIntegrationPage-B5yzIJDg-DXMgkfWr.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-Deu0hM2I-DMqRpRdl.js → UploadAdditionalDocumentOverlay-Deu0hM2I-3QkNgcQ9.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-DUyiI_-r-5dHx30Bc.js → Vendor2FAPopup-DUyiI_-r-CLW3sS1X.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-DycUU3MN-mmDLeV3K.js → VendorACHDetailsPage-DycUU3MN-Bh437Vzf.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-B9pWIvXP-BYqLZBRP.js → VendorDetailPage-B9pWIvXP-p9O1B1Vq.js} +1 -1
  188. package/dist/assets/{VendorDomesticWireDetailsPage-Cs35uQOp-Cg9TxdaS.js → VendorDomesticWireDetailsPage-Cs35uQOp-DDOAIhlv.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-BeuSWFCY-FB3D0rN0.js → VendorFiling1099EditablePage-BeuSWFCY-Ca6Gux7v.js} +1 -1
  190. package/dist/assets/{VendorFirstReviewPage-ANhBsl69-DvP6Pv5V.js → VendorFirstReviewPage-ANhBsl69-D02KU5IA.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireDetailsPage-BShiEKaz-DZwsuWAH.js → VendorInternationalWireDetailsPage-BShiEKaz-BZSIpE6n.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-B_NlK1ak-fUcmsjpu.js → VendorInternationalWireSwiftDetailsPage-B_NlK1ak-UtHTf4LD.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-BclWgEaB-Dx-ETZud.js → VendorsAccountsSection-BclWgEaB-DOMr50bF.js} +1 -1
  194. package/dist/assets/{VerifyDevice-CRrOo66b-Bqzt75Zy.js → VerifyDevice-CRrOo66b-ZlA7gEbg.js} +1 -1
  195. package/dist/assets/{VideoPopup-qS-ig_U0-CFnqbh5J.js → VideoPopup-qS-ig_U0-VKyag34q.js} +1 -1
  196. package/dist/assets/{WarningsDrawerPage-DgRtxLoa-BtAoBPQW.js → WarningsDrawerPage-DgRtxLoa-C9d8WcDP.js} +1 -1
  197. package/dist/assets/{ZeniAccountDetailPage-B66nIr0V-D0Vvqj6R.js → ZeniAccountDetailPage-B66nIr0V-6bf8tksW.js} +1 -1
  198. package/dist/assets/{ZeniAccountListViewPage-CWhZKmoP-UtAi1p2f.js → ZeniAccountListViewPage-CWhZKmoP-42K6r0wR.js} +1 -1
  199. package/dist/assets/{ZeniAccountNavBarPieces-C6MQhfnU-DOLMr0pF.js → ZeniAccountNavBarPieces-C6MQhfnU-CnbDnx7e.js} +1 -1
  200. package/dist/assets/{ZeniAccountPromoPage-C-oF3-HO-Dhnar7Lt.js → ZeniAccountPromoPage-C-oF3-HO-DisOzRKq.js} +1 -1
  201. package/dist/assets/{ZeniAccountSetupPage-DY-nCuiT-gbHJrTbG.js → ZeniAccountSetupPage-DY-nCuiT-B3gBHMad.js} +1 -1
  202. package/dist/assets/{ZeniCopyright-rY1T9xhh-DuSeCVwe.js → ZeniCopyright-rY1T9xhh-Dfov-yky.js} +1 -1
  203. package/dist/assets/{ZeniTransferAmountSlider-Bh5zkWst-BY8RrzMr.js → ZeniTransferAmountSlider-Bh5zkWst-Bed32C-4.js} +1 -1
  204. package/dist/assets/{analyticsHelper-DUPAuOy2.js → analyticsHelper-B0L0ncmN.js} +1 -1
  205. package/dist/assets/{analyticsHelper-BcJgRhqY-CuYHNkab.js → analyticsHelper-BcJgRhqY-D6z677ff.js} +1 -1
  206. package/dist/assets/{chartTypes-BoblEsVF-XjODWukX.js → chartTypes-BoblEsVF-BVffEXCf.js} +1 -1
  207. package/dist/assets/{commonDimensions-CFd7y7qU-DRU-Xx_W.js → commonDimensions-CFd7y7qU-C7Jvc2Ks.js} +1 -1
  208. package/dist/assets/{detailCommon-MYixZ3RD-BU_WVLw2.js → detailCommon-MYixZ3RD-BFmVTLGA.js} +1 -1
  209. package/dist/assets/{downloadPdf-CgupyHRa-23YMr18r.js → downloadPdf-CgupyHRa-D9AEGU0d.js} +1 -1
  210. package/dist/assets/{index-Dg4A8nvL.js → index-B8OsEhOZ.js} +3 -3
  211. package/dist/assets/{mapLoadingInProgressToTreeNode-B8Y_euQR-Lurb19iR.js → mapLoadingInProgressToTreeNode-B8Y_euQR-DOx1e8cj.js} +1 -1
  212. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-jBSc45Na-BxkTVZ8G.js → mapSectionWithAcOnlyToTreeNode-jBSc45Na-BDZbXmNV.js} +1 -1
  213. package/dist/assets/{mapSpacerToTreeNode-COy8gZAM-COWpkVf-.js → mapSpacerToTreeNode-COy8gZAM-BaCmq5hE.js} +1 -1
  214. package/dist/assets/{mapTimeframeBalancesToTreeNode-BodkMcFj-B7W1kIkp.js → mapTimeframeBalancesToTreeNode-BodkMcFj-QmE2hfm4.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-DXla81BF-Cx9i4sqP.js → mapTimeframeBalancesToTreeNode-DXla81BF-zj0mJKeb.js} +1 -1
  216. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-XVJ2Hm74-DfeVdWNH.js → mapTimeframeHeaderLoadingInProgressToTreeNode-XVJ2Hm74-BHeVK-te.js} +1 -1
  217. package/dist/assets/{toCOABalancesWithID-CndsNNsv-CKK4tSuL.js → toCOABalancesWithID-CndsNNsv-CWYFJv_O.js} +1 -1
  218. package/dist/assets/{toChartData-B9eYLI57-CNEoJSOd.js → toChartData-B9eYLI57-CKqynvrs.js} +1 -1
  219. package/dist/assets/{treasuryColorHelper-D4iDeX95-D0czat0Y.js → treasuryColorHelper-D4iDeX95-DVOhzALi.js} +1 -1
  220. package/dist/assets/{uploadAttachment-C2I6mBBB-BB5ap_aT.js → uploadAttachment-C2I6mBBB-CPoUzWwI.js} +1 -1
  221. package/dist/assets/{uploadReceipts-dxsKhm9I-f6XSvbix.js → uploadReceipts-dxsKhm9I-YtN4h-4H.js} +1 -1
  222. package/dist/index.html +1 -1
  223. package/package.json +1 -1
  224. package/dist/assets/CustomerOnboardingContainerPage-BZzvupuA-KOUquQmH.js +0 -1
@@ -1,4 +1,4 @@
1
- import{Y as ht,u as qe,j as t,M as oe,iF as Y,aX as mt,b as H,bV as gt,p as K,t as kt,m as Q,o as s,eM as Ze,bO as Ne,bS as xt,fE as wt,ao as ft,bg as Je,a6 as Ct,e as le,a as Tt,C as Xe,ca as $t,F as yt,aj as bt,b_ as vt,i9 as jt,ia as St,iG as ze,a4 as Gt,J as De,bB 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 _,s as ke,iT as re,i as ie,iU as Nt,iV as It,a3 as Mt,r 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 J,j0 as Be,c0 as Ut,j1 as _t,j2 as Kt,j3 as Re,j4 as Yt,g as Ae,g0 as qt,B as Zt}from"./index-Dg4A8nvL.js";import{b as n,n as o,j as fe}from"./vendor-rkTZJa59.js";import{K as Jt,Y as Xt}from"./SpendManagementSection-DGGOMGEz-pjZ87EhJ.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-BSBZHM3y--H3hUPl8.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-Q5bQb3hk-DfgpHKj_.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-efLzDuyw-xo5uppxy.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,M as oe,iF as Y,aX as mt,b as H,bV as gt,p as K,t as kt,m as Q,o as s,eM as Ze,bO as Ne,bS as xt,fE as wt,ao as ft,bg as Je,a6 as Ct,e as le,a as Tt,C as Xe,ca as $t,F as yt,aj as bt,b_ as vt,i9 as jt,ia as St,iG as ze,a4 as Gt,J as De,bB 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 _,s as ke,iT as re,i as ie,iU as Nt,iV as It,a3 as Mt,r 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 J,j0 as Be,c0 as Ut,j1 as _t,j2 as Kt,j3 as Re,j4 as Yt,g as Ae,g0 as qt,B as Zt}from"./index-B8OsEhOZ.js";import{b as n,n as o,j as fe}from"./vendor-rkTZJa59.js";import{K as Jt,Y as Xt}from"./SpendManagementSection-DGGOMGEz-BERrqLUW.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-BSBZHM3y-CGdVXHfi.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-Q5bQb3hk-BwLto-DN.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-efLzDuyw-yZjEoNnl.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,N as k,di as H,aN as L,o as a,i as q}from"./index-Dg4A8nvL.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-jOFcWQi9-D9Cn8RFJ.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,N as k,di as H,aN as L,o as a,i as q}from"./index-B8OsEhOZ.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-jOFcWQi9-BD7j44zD.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,i as p,M as u}from"./index-Dg4A8nvL.js";import{n as i}from"./vendor-rkTZJa59.js";const f=i.div`
1
+ import{j as t,o,i as p,M as u}from"./index-B8OsEhOZ.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,i as x,b5 as w}from"./index-Dg4A8nvL.js";import{n as r}from"./vendor-rkTZJa59.js";import{y as l}from"./TimeframeSwitcher-BmhH741X-DEVymh4n.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
1
+ import{e as c,j as t,C as n,i as x,b5 as w}from"./index-B8OsEhOZ.js";import{n as r}from"./vendor-rkTZJa59.js";import{y as l}from"./TimeframeSwitcher-BmhH741X-Bq2UrAGM.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(w,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},$=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{N as _,e as V,j as t,u as f,b7 as T,aw as C,av as S,bb as E,bk as k,s as x,ab as R,v as $,bl as H,bm as q,a0 as G,m as N,Z as X,o as p,i as L,ao as Y,p as Z,M as A,_ as F,$ as J,a5 as O,ai as Q,aj as U,a6 as W,bn as ee}from"./index-Dg4A8nvL.js";import{f as v,b as te,n as g}from"./vendor-rkTZJa59.js";import{I as ae,T as re}from"./ReloadCard-DxJMY9If-nW7iK9Fy.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const ie=g(O)`
1
+ import{N as _,e as V,j as t,u as f,b7 as T,aw as C,av as S,bb as E,bk as k,s as x,ab as R,v as $,bl as H,bm as q,a0 as G,m as N,Z as X,o as p,i as L,ao as Y,p as Z,M as A,_ as F,$ as J,a5 as O,ai as Q,aj as U,a6 as W,bn as ee}from"./index-B8OsEhOZ.js";import{f as v,b as te,n as g}from"./vendor-rkTZJa59.js";import{I as ae,T as re}from"./ReloadCard-DxJMY9If-DFVN_BWj.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const ie=g(O)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{u as v,e as S,m as A,j as t,aX as B,M as u,a0 as k,aj as H,K as P,o as i,C as j,bj as z,aO as F,s as c,g as T,p as y,$ as V,af as M}from"./index-Dg4A8nvL.js";import{n as l,f as D,b as o}from"./vendor-rkTZJa59.js";import{E as Z,I as _}from"./TopExCard-DBuo1QUF-DOV-VWcR.js";import{y as L}from"./TimeframeSwitcher-BmhH741X-DEVymh4n.js";import{d as O}from"./NoDataTable-qTYBbL2H-DM9qxqvN.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-DxJMY9If-nW7iK9Fy.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const E="141px",I=i.sp4,R="123px",N=l(M)`
1
+ import{u as v,e as S,m as A,j as t,aX as B,M as u,a0 as k,aj as H,K as P,o as i,C as j,bj as z,aO as F,s as c,g as T,p as y,$ as V,af as M}from"./index-B8OsEhOZ.js";import{n as l,f as D,b as o}from"./vendor-rkTZJa59.js";import{E as Z,I as _}from"./TopExCard-DBuo1QUF-Bqy_yS0O.js";import{y as L}from"./TimeframeSwitcher-BmhH741X-Bq2UrAGM.js";import{d as O}from"./NoDataTable-qTYBbL2H-BGrSHe_q.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-DxJMY9If-DFVN_BWj.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const E="141px",I=i.sp4,R="123px",N=l(M)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{u as Rt,a as Nn,e as K,M,a2 as Wt,dP as Bn,dQ as Mn,ca as Fn,N as Wn,dR as Xi,m as ue,dS as qn,j as i,$ as F,F as Un,aX as Hn,dT as Gn,dU as Yn,n as Xt,dV as Oi,a4 as Qn,C as E,dW as Zn,dX as Ki,dY as en,dZ as tn,d_ as Ce,d$ as De,e0 as _e,e1 as Ze,e2 as Je,e3 as Ot,e4 as Lt,e5 as Xe,e6 as ut,e7 as St,e8 as kt,e9 as qt,ea as Z,eb as Gt,ec as re,ed as ce,W as Jn,ee as It,ef as Li,eg as Xn,J as Kn,bV as ea,o as a,bJ as ta,eh as ia,s as T,K as fi,g as ne,t as $i,ap as Kt,az as na,ei as aa,bQ as oa,bO as ei,a0 as je,cn as nt,ej as sa,ek as Nt,a7 as nn,cs as la,el as ra,bM as ca,bN as da,p as he,af as ua,cH as pa,em as an,en as Ut,eo as Ht,ep as ci,de as ma,aj as ha,b_ as ga,cv as vi,x as on,eq as Yt,er as Qt,es as sn,ct as ln,bB as Ii,et as di,dj as ui,eu as fa,aO as ya,ev as ba,ew as Si,ex as xa,E as wa,cw as $a,ey as va,X as rn,ez as cn,b6 as Ia,eA as ki,eB as dn,eC as un,eD as pn,b4 as at,b2 as Ca,aD as Da,ds as Ta,v as mn,eE as ja,b1 as Oa,a3 as La,B as Sa,eF as ka,a9 as yi}from"./index-Dg4A8nvL.js";import{b as v,n as l,f as Ct}from"./vendor-rkTZJa59.js";import{x as zi}from"./LabeledControlledCheckBoxField-DqrqiFhz-Bu5rppjm.js";import{R as za}from"./TrendWithTransactions-DPby1I5u-DuRZBcAW.js";import{u as Ra,c as Aa,d as Va,m as Pa}from"./uploadAttachment-C2I6mBBB-BB5ap_aT.js";import{o as Ea}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-7kPgcETh-BaCfzFDE.js";import"./chartTypes-BoblEsVF-XjODWukX.js";import"./toCOABalancesWithID-CndsNNsv-CKK4tSuL.js";import"./toChartData-B9eYLI57-CNEoJSOd.js";import"./NoDataChart-Dg1_sU_O-BSOy8Xqm.js";import"./InsightsSection-DsO5tfQL-BFXwjc-s.js";import"./NavigationDots-CI0cjpQA-DLC_4Z2x.js";import"./TransactionList-DP9cEVya-BXcbKAlV.js";import"./BoxItem-CIOib-WX-DEJIIppW.js";import"./commonDimensions-CFd7y7qU-DRU-Xx_W.js";const _a={headerMarginTop:new E(T[7],T[8])},Na=l(he)`
1
+ import{u as Rt,a as Nn,e as K,M,a2 as Wt,dP as Bn,dQ as Mn,ca as Fn,N as Wn,dR as Xi,m as ue,dS as qn,j as i,$ as F,F as Un,aX as Hn,dT as Gn,dU as Yn,n as Xt,dV as Oi,a4 as Qn,C as E,dW as Zn,dX as Ki,dY as en,dZ as tn,d_ as Ce,d$ as De,e0 as _e,e1 as Ze,e2 as Je,e3 as Ot,e4 as Lt,e5 as Xe,e6 as ut,e7 as St,e8 as kt,e9 as qt,ea as Z,eb as Gt,ec as re,ed as ce,W as Jn,ee as It,ef as Li,eg as Xn,J as Kn,bV as ea,o as a,bJ as ta,eh as ia,s as T,K as fi,g as ne,t as $i,ap as Kt,az as na,ei as aa,bQ as oa,bO as ei,a0 as je,cn as nt,ej as sa,ek as Nt,a7 as nn,cs as la,el as ra,bM as ca,bN as da,p as he,af as ua,cH as pa,em as an,en as Ut,eo as Ht,ep as ci,de as ma,aj as ha,b_ as ga,cv as vi,x as on,eq as Yt,er as Qt,es as sn,ct as ln,bB as Ii,et as di,dj as ui,eu as fa,aO as ya,ev as ba,ew as Si,ex as xa,E as wa,cw as $a,ey as va,X as rn,ez as cn,b6 as Ia,eA as ki,eB as dn,eC as un,eD as pn,b4 as at,b2 as Ca,aD as Da,ds as Ta,v as mn,eE as ja,b1 as Oa,a3 as La,B as Sa,eF as ka,a9 as yi}from"./index-B8OsEhOZ.js";import{b as v,n as l,f as Ct}from"./vendor-rkTZJa59.js";import{x as zi}from"./LabeledControlledCheckBoxField-DqrqiFhz-GyWAbp3D.js";import{R as za}from"./TrendWithTransactions-DPby1I5u-yXfJ3Iyk.js";import{u as Ra,c as Aa,d as Va,m as Pa}from"./uploadAttachment-C2I6mBBB-CPoUzWwI.js";import{o as Ea}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-7kPgcETh-CZhHOMVt.js";import"./chartTypes-BoblEsVF-BVffEXCf.js";import"./toCOABalancesWithID-CndsNNsv-CWYFJv_O.js";import"./toChartData-B9eYLI57-CKqynvrs.js";import"./NoDataChart-Dg1_sU_O-flEThGvM.js";import"./InsightsSection-DsO5tfQL-CBUNqXt7.js";import"./NavigationDots-CI0cjpQA-B6oVaxeu.js";import"./TransactionList-DP9cEVya-Dnf5dIML.js";import"./BoxItem-CIOib-WX-Cvut8WLk.js";import"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";const _a={headerMarginTop:new E(T[7],T[8])},Na=l(he)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Ba=l(he)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{bJ as rt,e as B,j as e,aj as st,$ as u,de as nt,M as y,df as lt,d9 as dt,dg as ct,o as a,g as Z,b_ as mt,C as q,m,n as ft,p as j,s as b,i as xt,dh as J,cz as W,a0 as _,B as ut}from"./index-Dg4A8nvL.js";import{b as g,n,f as ht}from"./vendor-rkTZJa59.js";import{g as G}from"./BoxItem-CIOib-WX-DEJIIppW.js";import{o as E}from"./commonDimensions-CFd7y7qU-DRU-Xx_W.js";const F=t=>t?24:125,pt={containerPaddingBottom:new q(b[9],b[8])},Q=n.div`
1
+ import{bJ as rt,e as B,j as e,aj as st,$ as u,de as nt,M as y,df as lt,d9 as dt,dg as ct,o as a,g as Z,b_ as mt,C as q,m,n as ft,p as j,s as b,i as xt,dh as J,cz as W,a0 as _,B as ut}from"./index-B8OsEhOZ.js";import{b as g,n,f as ht}from"./vendor-rkTZJa59.js";import{g as G}from"./BoxItem-CIOib-WX-Cvut8WLk.js";import{o as E}from"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";const F=t=>t?24:125,pt={containerPaddingBottom:new q(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 N,O as ie,ab as ne,m as D,j as t,$ as x,aj as re,M as w,s as n,v as ae,g as B,o,X as j,h as X,aM as se,aN as le,i as de,t as ce,a0 as me,aO as pe,q as he,n as ue,J as Y,K as G,aP as Q,a6 as ee}from"./index-Dg4A8nvL.js";import{b as W,n as i,f,j as ge}from"./vendor-rkTZJa59.js";import{G as xe,c as we}from"./AccountsPromoCardStack-CZwrQBcr-CmN3crLg.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-BsPejHZG-Brt0nr39.js";import"./ReloadCard-DxJMY9If-nW7iK9Fy.js";import"./NavigationArrow-CQ_K0Bon-CawXlbrW.js";import"./NavigationDots-CI0cjpQA-DLC_4Z2x.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,e as L,Y as N,O as ie,ab as ne,m as D,j as t,$ as x,aj as re,M as w,s as n,v as ae,g as B,o,X as j,h as X,aM as se,aN as le,i as de,t as ce,a0 as me,aO as pe,q as he,n as ue,J as Y,K as G,aP as Q,a6 as ee}from"./index-B8OsEhOZ.js";import{b as W,n as i,f,j as ge}from"./vendor-rkTZJa59.js";import{G as xe,c as we}from"./AccountsPromoCardStack-CZwrQBcr-BLPwkeVU.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-BsPejHZG-DSp7yYcI.js";import"./ReloadCard-DxJMY9If-DFVN_BWj.js";import"./NavigationArrow-CQ_K0Bon-C-8VFiTg.js";import"./NavigationDots-CI0cjpQA-B6oVaxeu.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 J,n as V,aY as W,o as n,p as X}from"./index-Dg4A8nvL.js";import{b as r,n as l}from"./vendor-rkTZJa59.js";import{f as Z}from"./TransactionList-DP9cEVya-BXcbKAlV.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-CIOib-WX-DEJIIppW.js";import"./commonDimensions-CFd7y7qU-DRU-Xx_W.js";const q=l.div`
1
+ import{u as A,aV as z,aW as M,j as o,$ as u,aX as J,n as V,aY as W,o as n,p as X}from"./index-B8OsEhOZ.js";import{b as r,n as l}from"./vendor-rkTZJa59.js";import{f as Z}from"./TransactionList-DP9cEVya-Dnf5dIML.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-CIOib-WX-Cvut8WLk.js";import"./commonDimensions-CFd7y7qU-C7Jvc2Ks.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,M as k,j as o,n as W,$ as D,a4 as q,o as a,C as g,a3 as X,X as J,cB as U,a as Y,gA as M,gB as F,gC as B,ca as _,F as G,s,u as K,cd as Q,ge as z,gH as Z,am as ee,gL as oe,gM as te}from"./index-Dg4A8nvL.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(Q,{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:M(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:B(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,M as k,j as o,n as W,$ as D,a4 as q,o as a,C as g,a3 as X,X as J,cB as U,a as Y,gA as M,gB as F,gC as B,ca as _,F as G,s,u as K,cd as Q,ge as z,gH as Z,am as ee,gL as oe,gM as te}from"./index-B8OsEhOZ.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(Q,{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:M(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:B(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,M as I,a0 as J,J as ve,h2 as ct,n as Ne,a4 as $e,o as a,C as c,a3 as Ye,L as dt,ao as ut,t as ft,c7 as De,i as be,p as fe,a2 as ce,f1 as pt,a as Xe,m as mt,ca as ht,ab as gt,a1 as wt,g as G,F as Ue,fa as ke,fb as Ae,fJ as xt,bB as ye,fE as $t,h3 as Dt,s as o,d1 as bt,bO as Je,bv as yt,cG as Tt,b6 as Ct,B as qe,f6 as St,ds as vt,bx as Ge,fd as kt,ff as At}from"./index-Dg4A8nvL.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-Bh5zkWst-BY8RrzMr.js";import{r as Lt}from"./AccountInfoPageContent-dgeBtGlm-D-b-iQe0.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-CgupyHRa-23YMr18r.js";import"./commonDimensions-CFd7y7qU-DRU-Xx_W.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){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:U,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?U():z(!0)},[U,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&&U()},[N,U,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>U()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,U]);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"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=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:G.heroLight}})})]})}):null,t.jsx(Nt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Ue,{...P,children:t.jsxs(Mt,{id:Ke(He),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(Jt,{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(qt,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${J("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(Ut,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${J("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,M as I,a0 as J,J as ve,h2 as ct,n as Ne,a4 as $e,o as a,C as c,a3 as Ye,L as dt,ao as ut,t as ft,c7 as De,i as be,p as fe,a2 as ce,f1 as pt,a as Xe,m as mt,ca as ht,ab as gt,a1 as wt,g as G,F as Ue,fa as ke,fb as Ae,fJ as xt,bB as ye,fE as $t,h3 as Dt,s as o,d1 as bt,bO as Je,bv as yt,cG as Tt,b6 as Ct,B as qe,f6 as St,ds as vt,bx as Ge,fd as kt,ff as At}from"./index-B8OsEhOZ.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-Bh5zkWst-Bed32C-4.js";import{r as Lt}from"./AccountInfoPageContent-dgeBtGlm-BSaBGsXw.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-CgupyHRa-D9AEGU0d.js";import"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",He="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:Z,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:H,onReviewClick:K}){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:U,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?U():z(!0)},[U,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&&U()},[N,U,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&H?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>U()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,Te,ee,X,me,pe,P,r,U]);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"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=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:G.heroLight}})})]})}):null,t.jsx(Nt,{children:J("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Ue,{...P,children:t.jsxs(Mt,{id:Ke(He),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(Jt,{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(qt,{windowSize:i,children:[t.jsx(Ht,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Gt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${J("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(Ut,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${J("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 M,x as Ne,bJ as Ye,j as t,M as L,a0 as W,bB as ae,aX as Ke,v as ie,$ as E,n as Fe,o as i,i as k,g as w,b6 as Ve,C as u,cV as _,X as R,m as V,s 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 Me,Y as Ee,fq as Ue,gr as Je,J as Xe,p as A,af as Ge,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,B as U,c3 as xe,ic as lt,c6 as dt,id as ct,ie as ht}from"./index-Dg4A8nvL.js";import{b as $,n as o,f as pt,j as ge}from"./vendor-rkTZJa59.js";import{s as xt}from"./commonDimensions-CFd7y7qU-DRU-Xx_W.js";import{g as me}from"./BoxItem-CIOib-WX-DEJIIppW.js";import{l as ne,d as gt}from"./treasuryColorHelper-D4iDeX95-D0czat0Y.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=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(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(Mt,{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 M,x as Ne,bJ as Ye,j as t,M as L,a0 as W,bB as ae,aX as Ke,v as ie,$ as E,n as Fe,o as i,i as k,g as w,b6 as Ve,C as u,cV as _,X as R,m as V,s 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 Me,Y as Ee,fq as Ue,gr as Je,J as Xe,p as A,af as Ge,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,B as U,c3 as xe,ic as lt,c6 as dt,id as ct,ie as ht}from"./index-B8OsEhOZ.js";import{b as $,n as o,f as pt,j as ge}from"./vendor-rkTZJa59.js";import{s as xt}from"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";import{g as me}from"./BoxItem-CIOib-WX-Cvut8WLk.js";import{l as ne,d as gt}from"./treasuryColorHelper-D4iDeX95-DVOhzALi.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=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(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(Mt,{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,m as fe,M as F,j as r,aX as ye,o as i,iA as je,bB as be,i as S,J,$ as K,X as f,t as q,C as v,g as t,p as H,d7 as Se,bq as ke,L as ze,B as ve,cP as Ce,s as m,dM as Le,ay as Pe,c7 as Te,a3 as De,v as Q,cB as Ie}from"./index-Dg4A8nvL.js";import{b as P,n as o,f as Me}from"./vendor-rkTZJa59.js";import{x as Be}from"./MeetingCalenderPopup-Bn5picNg-BBLVilIj.js";import{l as Re}from"./treasuryColorHelper-D4iDeX95-D0czat0Y.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(Xe,{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,m as fe,M as F,j as r,aX as ye,o as i,iA as je,bB as be,i as S,J,$ as K,X as f,t as q,C as v,g as t,p as H,d7 as Se,bq as ke,L as ze,B as ve,cP as Ce,s as m,dM as Le,ay as Pe,c7 as Te,a3 as De,v as Q,cB as Ie}from"./index-B8OsEhOZ.js";import{b as P,n as o,f as Me}from"./vendor-rkTZJa59.js";import{x as Be}from"./MeetingCalenderPopup-Bn5picNg-BZadZTcq.js";import{l as Re}from"./treasuryColorHelper-D4iDeX95-DVOhzALi.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(Xe,{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,M as ce,a8 as te,j as t,cP as He,g as Re,C as u,aX as _e,n as Ne,F as de,dO as Je,aS as Xe,s as n,J as Ge,bB as qe,$ as Ye,cg as Ze,a4 as Ke,o as i,p as ue,c7 as Qe,a3 as et,X as tt,h as it}from"./index-Dg4A8nvL.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-hflpTkYP-BPMkeu0J.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-VPie4JZS-4qiMaYlL.js";import{f as at}from"./SpendMgmtSetupAccountSection-CjqaRCUW-CRO2vJ11.js";import st from"./PortfolioAllocationFormPage-Byu_8Js7-DS7y6gw-.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-Bn5picNg-BBLVilIj.js";import"./ChargeCardUtils-D4KmVUMt-CZbHQ6K3.js";import"./CreditCardPaymentPlgSection-Cg-oo7DU-Br5JMnsp.js";import"./ChaseOverlay-IbWtzNzT-DyjXkZNO.js";import"./PortfolioDetails-BH-sfG9j-DxGBZzz0.js";import"./treasuryColorHelper-D4iDeX95-D0czat0Y.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(qe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Ye("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(Ze,{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(Ke,{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,M as ce,a8 as te,j as t,cP as He,g as Re,C as u,aX as _e,n as Ne,F as de,dO as Je,aS as Xe,s as n,J as Ge,bB as qe,$ as Ye,cg as Ze,a4 as Ke,o as i,p as ue,c7 as Qe,a3 as et,X as tt,h as it}from"./index-B8OsEhOZ.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-hflpTkYP-BxxKYxfC.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-VPie4JZS-CUUkgLvy.js";import{f as at}from"./SpendMgmtSetupAccountSection-CjqaRCUW-DdnBx9W6.js";import st from"./PortfolioAllocationFormPage-Byu_8Js7-CWAHnet9.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-Bn5picNg-BZadZTcq.js";import"./ChargeCardUtils-D4KmVUMt-Bgc7_40s.js";import"./CreditCardPaymentPlgSection-Cg-oo7DU-CbeaX1ko.js";import"./ChaseOverlay-IbWtzNzT-CiTCJc7A.js";import"./PortfolioDetails-BH-sfG9j-CdKUfZw3.js";import"./treasuryColorHelper-D4iDeX95-DVOhzALi.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(qe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Ye("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(Ze,{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(Ke,{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,M as C,aj as M,o as r,g as c,b_ as P,C as I,s as d,p as R}from"./index-Dg4A8nvL.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as T}from"./BoxItem-CIOib-WX-DEJIIppW.js";import{o as B}from"./commonDimensions-CFd7y7qU-DRU-Xx_W.js";import{M as E}from"./StatementItem-1vBLASxl-DdTLs-OC.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-CgupyHRa-23YMr18r.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=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(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(M,{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,M as C,aj as M,o as r,g as c,b_ as P,C as I,s as d,p as R}from"./index-B8OsEhOZ.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as T}from"./BoxItem-CIOib-WX-Cvut8WLk.js";import{o as B}from"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";import{M as E}from"./StatementItem-1vBLASxl-Bg-WCzCW.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-CgupyHRa-D9AEGU0d.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=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(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(M,{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,M as z,aj as C,o as r,g as c,b_ as M,C as P,s as d,p as T}from"./index-Dg4A8nvL.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-CIOib-WX-DEJIIppW.js";import{o as R}from"./commonDimensions-CFd7y7qU-DRU-Xx_W.js";import{M as B}from"./StatementItem-1vBLASxl-DdTLs-OC.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-CgupyHRa-23YMr18r.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(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=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType: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,M as z,aj as C,o as r,g as c,b_ as M,C as P,s as d,p as T}from"./index-B8OsEhOZ.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-CIOib-WX-Cvut8WLk.js";import{o as R}from"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";import{M as B}from"./StatementItem-1vBLASxl-Bg-WCzCW.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-CgupyHRa-D9AEGU0d.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new P(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=()=>R.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType: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,N as $t,j as o,$ as P,gU as bt,M as xe,a0 as W,J as Ee,n as Ze,a4 as et,o as t,C as f,a3 as Le,L as St,am as vt,u as jt,a2 as q,bB as At,cV as tt,X as R,m as z,g1 as kt,g as S,t as Tt,h as ot,i as X,p as G,f1 as Pt,a as Ct,ca as zt,F as Lt,fJ as Dt,s as c,bv as rt,d1 as nt,bO as it,cG as Ft,cx as Mt,fd as Rt,f5 as Bt,x as Ot,B as It,f6 as Nt,ds as Et,c3 as _t,c2 as Vt,aR as Wt,be as Xt,ff as Gt,fo as Yt,ab as Jt}from"./index-Dg4A8nvL.js";import{n as r,b as x}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-BH-sfG9j-DxGBZzz0.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-D4iDeX95-D0czat0Y.js";const qt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ut=1e3;function Ht({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:Kt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Qt(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Kt=e=>{const a=Jt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Qt=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,N as $t,j as o,$ as P,gU as bt,M as xe,a0 as W,J as Ee,n as Ze,a4 as et,o as t,C as f,a3 as Le,L as St,am as vt,u as jt,a2 as q,bB as At,cV as tt,X as R,m as z,g1 as kt,g as S,t as Tt,h as ot,i as X,p as G,f1 as Pt,a as Ct,ca as zt,F as Lt,fJ as Dt,s as c,bv as rt,d1 as nt,bO as it,cG as Ft,cx as Mt,fd as Rt,f5 as Bt,x as Ot,B as It,f6 as Nt,ds as Et,c3 as _t,c2 as Vt,aR as Wt,be as Xt,ff as Gt,fo as Yt,ab as Jt}from"./index-B8OsEhOZ.js";import{n as r,b as x}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-BH-sfG9j-CdKUfZw3.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-D4iDeX95-DVOhzALi.js";const qt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ut=1e3;function Ht({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:Kt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Qt(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Kt=e=>{const a=Jt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Qt=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{M as $,j as n,m as u,u as Z,$ as Y,aj as z,b7 as B,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,p as N}from"./index-Dg4A8nvL.js";import{b as v,f as V,n as w}from"./vendor-rkTZJa59.js";import{d as W,g as M,p as D,u as J}from"./chartTypes-BoblEsVF-XjODWukX.js";import{o as Q}from"./toCOABalancesWithID-CndsNNsv-CKK4tSuL.js";import{V as X}from"./toChartData-B9eYLI57-CNEoJSOd.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 H=w.div`
1
+ import{M as $,j as n,m as u,u as Z,$ as Y,aj as z,b7 as B,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,p as N}from"./index-B8OsEhOZ.js";import{b as v,f as V,n as w}from"./vendor-rkTZJa59.js";import{d as W,g as M,p as D,u as J}from"./chartTypes-BoblEsVF-BVffEXCf.js";import{o as Q}from"./toCOABalancesWithID-CndsNNsv-CWYFJv_O.js";import{V as X}from"./toChartData-B9eYLI57-CKqynvrs.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 H=w.div`
2
2
  display: flex;
3
3
  `,I=w.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{e as D,j as i,n as R,o as t,M as F,C as c,$ as S,aj as E,am as Y,c7 as q,s as a,p as K,a3 as V}from"./index-Dg4A8nvL.js";import{b as k,n}from"./vendor-rkTZJa59.js";import W from"./TrendChart-7kPgcETh-BaCfzFDE.js";import{C as _}from"./NoDataChart-Dg1_sU_O-BSOy8Xqm.js";import{B as J}from"./InsightsSection-DsO5tfQL-BFXwjc-s.js";import{f as X}from"./TransactionList-DP9cEVya-BXcbKAlV.js";const Z=n.div`
1
+ import{e as D,j as i,n as R,o as t,M as F,C as c,$ as S,aj as E,am as Y,c7 as q,s as a,p as K,a3 as V}from"./index-B8OsEhOZ.js";import{b as k,n}from"./vendor-rkTZJa59.js";import W from"./TrendChart-7kPgcETh-CZhHOMVt.js";import{C as _}from"./NoDataChart-Dg1_sU_O-flEThGvM.js";import{B as J}from"./InsightsSection-DsO5tfQL-CBUNqXt7.js";import{f as X}from"./TransactionList-DP9cEVya-Dnf5dIML.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 U,M 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,m as J,he as dn,n as un,hf as Y,hg as pn,a4 as mn,hh as Ve,C as u,p as gn,o as l,cn as fe,a8 as W,ge as oe,hi as ie,s as d,X as Ae,g as $e,fD as _e,i as Se,aC as xn}from"./index-Dg4A8nvL.js";import{b as Z,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-hflpTkYP-BPMkeu0J.js";import{h as wn}from"./VendorsAccountsSection-BclWgEaB-Dx-ETZud.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-Bn5picNg-BBLVilIj.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 U,M 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,m as J,he as dn,n as un,hf as Y,hg as pn,a4 as mn,hh as Ve,C as u,p as gn,o as l,cn as fe,a8 as W,ge as oe,hi as ie,s as d,X as Ae,g as $e,fD as _e,i as Se,aC as xn}from"./index-B8OsEhOZ.js";import{b as Z,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-hflpTkYP-BxxKYxfC.js";import{h as wn}from"./VendorsAccountsSection-BclWgEaB-DOMr50bF.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-Bn5picNg-BZadZTcq.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,M as O,bV as U,c as C,bX as N,bY as z,a as M,F as H,cj as J,m as T,cf as D,C as g,cg as G,g as A,q as X,n as Y,J as K,o as i,p as Q,s as B,t as Z,ap as ee}from"./index-Dg4A8nvL.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,M as O,bV as U,c as C,bX as N,bY as z,a as M,F as H,cj as J,m as T,cf as D,C as g,cg as G,g as A,q as X,n as Y,J as K,o as i,p as Q,s as B,t as Z,ap as ee}from"./index-B8OsEhOZ.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 R,fg as x,a2 as U,m as A,e as W,M as _,j as i,ca as q,F as G,$ as J,fh as H,o as a,g as K,ck as Q,a4 as X,C as y,a3 as Y,c7 as Z,ap as ee,ao as te,s as c}from"./index-Dg4A8nvL.js";import{b as m,n as o}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=R({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(l=>l!=null),L=A.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=W(),h=_.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")}),M=async(l,p)=>{const d=p[u].front;l.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const l=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{l.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":J("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:V})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:Q,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onFileSizeError:l=>O(l),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=o(Z)`
1
+ import{a as R,fg as x,a2 as U,m as A,e as W,M as _,j as i,ca as q,F as G,$ as J,fh as H,o as a,g as K,ck as Q,a4 as X,C as y,a3 as Y,c7 as Z,ap as ee,ao as te,s as c}from"./index-B8OsEhOZ.js";import{b as m,n as o}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=R({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(l=>l!=null),L=A.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=W(),h=_.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")}),M=async(l,p)=>{const d=p[u].front;l.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const l=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{l.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":J("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:V})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:Q,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${K.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onFileSizeError:l=>O(l),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=o(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,M as k,j as i,hk as v,hl as y}from"./index-Dg4A8nvL.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 G=({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{G as default};
1
+ import{a2 as o,M as k,j as i,hk as v,hl as y}from"./index-B8OsEhOZ.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 G=({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{G as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-Dg4A8nvL.js";import{b as d}from"./vendor-rkTZJa59.js";import{f as k}from"./ACHDetailsPage-DZv7I3Jm-YQnMOYp1.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-KznYA-cf-DOVsFGdl.js";import"./MagicLinkTitleSection-BZ9PbTY5-CljXn46a.js";import"./BankAccountSection-jRnEB-Ut-5BYJoDk4.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-B8OsEhOZ.js";import{b as d}from"./vendor-rkTZJa59.js";import{f as k}from"./ACHDetailsPage-DZv7I3Jm-zPHhT4Vj.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-KznYA-cf-CV3aOKhB.js";import"./MagicLinkTitleSection-BZ9PbTY5-DGA-Kfl0.js";import"./BankAccountSection-jRnEB-Ut-BpoXdxMl.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{M as N,u as Re,e as ne,C as g,N as be,m as se,cc as xt,a as yt,gA as Ae,gB as Be,gC as Ee,gD as fe,gE as bt,a8 as ft,ca as wt,j as t,aX as Ct,F as $t,gF as St,gG as ue,s 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 Mt,gK as zt,g as z,dr as Nt,dq as _t,cz as Wt,ab as de,am as Ue,i as qe,ds as Ht,af as Rt,gL as At,gM as Bt,p as Et,gN as Ut,bO as Ye,gO as qt,X as Ce,h as Xe}from"./index-Dg4A8nvL.js";import{b as $,n as a,j as Yt}from"./vendor-rkTZJa59.js";import{k as Xt}from"./SubTabSwitcher-BfYlJKJ6-B-F59cPN.js";import{f as Gt}from"./TransactionList-DP9cEVya-BXcbKAlV.js";import{R as Jt}from"./TrendWithTransactions-DPby1I5u-DuRZBcAW.js";import{o as Kt,t as Qt}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{C as Zt}from"./LabeledAddressValueField-DLou-2Lm-hN3Yi48B.js";import{Y as es}from"./LabeledDropDownFormattedTextField-BF37XlAJ-BaQcEb_i.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-CIOib-WX-DEJIIppW.js";import"./commonDimensions-CFd7y7qU-DRU-Xx_W.js";import"./TrendChart-7kPgcETh-BaCfzFDE.js";import"./chartTypes-BoblEsVF-XjODWukX.js";import"./toCOABalancesWithID-CndsNNsv-CKK4tSuL.js";import"./toChartData-B9eYLI57-CNEoJSOd.js";import"./NoDataChart-Dg1_sU_O-BSOy8Xqm.js";import"./InsightsSection-DsO5tfQL-BFXwjc-s.js";import"./NavigationDots-CI0cjpQA-DLC_4Z2x.js";const ts=a.div`
1
+ import{M as N,u as Re,e as ne,C as g,N as be,m as se,cc as xt,a as yt,gA as Ae,gB as Be,gC as Ee,gD as fe,gE as bt,a8 as ft,ca as wt,j as t,aX as Ct,F as $t,gF as St,gG as ue,s 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 Mt,gK as zt,g as z,dr as Nt,dq as _t,cz as Wt,ab as de,am as Ue,i as qe,ds as Ht,af as Rt,gL as At,gM as Bt,p as Et,gN as Ut,bO as Ye,gO as qt,X as Ce,h as Xe}from"./index-B8OsEhOZ.js";import{b as $,n as a,j as Yt}from"./vendor-rkTZJa59.js";import{k as Xt}from"./SubTabSwitcher-BfYlJKJ6-0yeg6J8n.js";import{f as Gt}from"./TransactionList-DP9cEVya-Dnf5dIML.js";import{R as Jt}from"./TrendWithTransactions-DPby1I5u-yXfJ3Iyk.js";import{o as Kt,t as Qt}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{C as Zt}from"./LabeledAddressValueField-DLou-2Lm-30_LmoCw.js";import{Y as es}from"./LabeledDropDownFormattedTextField-BF37XlAJ-B3ToXjDJ.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-CIOib-WX-Cvut8WLk.js";import"./commonDimensions-CFd7y7qU-C7Jvc2Ks.js";import"./TrendChart-7kPgcETh-CZhHOMVt.js";import"./chartTypes-BoblEsVF-BVffEXCf.js";import"./toCOABalancesWithID-CndsNNsv-CWYFJv_O.js";import"./toChartData-B9eYLI57-CKqynvrs.js";import"./NoDataChart-Dg1_sU_O-flEThGvM.js";import"./InsightsSection-DsO5tfQL-CBUNqXt7.js";import"./NavigationDots-CI0cjpQA-B6oVaxeu.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-Dg4A8nvL.js";import{b as C}from"./vendor-rkTZJa59.js";import{y as b}from"./DomesticWireDetailsPage-DX0BA5i3-amEgmkhH.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-jRnEB-Ut-5BYJoDk4.js";import"./MagicLinkTitleSection-BZ9PbTY5-CljXn46a.js";import"./BankAccountWarningSection-KznYA-cf-DOVsFGdl.js";import"./MailingDetailsSection-DOuPh_kK-BSVwPRCr.js";import"./LabeledAddressValueField-DLou-2Lm-hN3Yi48B.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-B8OsEhOZ.js";import{b as C}from"./vendor-rkTZJa59.js";import{y as b}from"./DomesticWireDetailsPage-DX0BA5i3-Ea2aCTYV.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-jRnEB-Ut-BpoXdxMl.js";import"./MagicLinkTitleSection-BZ9PbTY5-DGA-Kfl0.js";import"./BankAccountWarningSection-KznYA-cf-CV3aOKhB.js";import"./MailingDetailsSection-DOuPh_kK-CJdFvtR9.js";import"./LabeledAddressValueField-DLou-2Lm-30_LmoCw.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,M as ne,a as ke,cD as K,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 Ue,ct as Ke,a4 as Ge,cv as Ze,cE as Je,s as c,a3 as Ye,bh as D,c8 as _e,gQ as Qe,g as I,eV as Xe,bO as et,p as ce,eE as tt,gR as st,gS as lt,gT as M,cF as it}from"./index-Dg4A8nvL.js";import{b as y,n as a}from"./vendor-rkTZJa59.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BF37XlAJ-BaQcEb_i.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:g,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:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{e as oe,u as Ne,M as ne,a as ke,cD as K,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 Ue,ct as Ke,a4 as Ge,cv as Ze,cE as Je,s as c,a3 as Ye,bh as D,c8 as _e,gQ as Qe,g as I,eV as Xe,bO as et,p as ce,eE as tt,gR as st,gS as lt,gT as M,cF as it}from"./index-B8OsEhOZ.js";import{b as y,n as a}from"./vendor-rkTZJa59.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BF37XlAJ-B3ToXjDJ.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:g,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:g,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:g,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:g,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:g,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=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,E as On,hw as ie,hx as ve,hy as fe,hz as be,hA as me,M 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,bq as ct,$ as J,bg as mt,bS as pt,aj as ut,dl as ht,b_ as gt,C as w,n as wt,K as Ne,o as t,a7 as In,p as De,a6 as xt,s as c,i as Re,c3 as vt,m as zn,dr as Pn,bh as ze,aB as Tn,c6 as ft,bu as bt,dE as $t,ap as Je,aP as pn,g as F,az as Dn,fk as St,dh as wn,cz as rn,hB as yt,hC as sn,q as jt,bB as Fe,dO as Rt,et as xn,b6 as Ct,dt as Vt,J as vn,hD as kt,cn as Mt,cv as Nt,cw as Ot,ey as It,B 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,X as _t,eF as At,a9 as dn}from"./index-Dg4A8nvL.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-D_vf2LDo-BFcfUwqs.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,E as On,hw as ie,hx as ve,hy as fe,hz as be,hA as me,M 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,bq as ct,$ as J,bg as mt,bS as pt,aj as ut,dl as ht,b_ as gt,C as w,n as wt,K as Ne,o as t,a7 as In,p as De,a6 as xt,s as c,i as Re,c3 as vt,m as zn,dr as Pn,bh as ze,aB as Tn,c6 as ft,bu as bt,dE as $t,ap as Je,aP as pn,g as F,az as Dn,fk as St,dh as wn,cz as rn,hB as yt,hC as sn,q as jt,bB as Fe,dO as Rt,et as xn,b6 as Ct,dt as Vt,J as vn,hD as kt,cn as Mt,cv as Nt,cw as Ot,ey as It,B 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,X as _t,eF as At,a9 as dn}from"./index-B8OsEhOZ.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-D_vf2LDo-39KwK8wM.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 X,a as he,M as U,ca as ye,N as ge,m 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,s as a,cv as Se,$ as ke,g as V,n as Fe,X as Oe,bB as Ae,i as Le,b6 as We}from"./index-Dg4A8nvL.js";import{b as R,n as g}from"./vendor-rkTZJa59.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-KznYA-cf-DOVsFGdl.js";import{T as Re}from"./MailingDetailsSection-DOuPh_kK-BSVwPRCr.js";import{S as Pe}from"./CurrencySelectField-CxNprN2u-CL181MHj.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-DLou-2Lm-hN3Yi48B.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=X(),{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(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),D?t.jsx(Me,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,e as X,a as he,M as U,ca as ye,N as ge,m 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,s as a,cv as Se,$ as ke,g as V,n as Fe,X as Oe,bB as Ae,i as Le,b6 as We}from"./index-B8OsEhOZ.js";import{b as R,n as g}from"./vendor-rkTZJa59.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-KznYA-cf-CV3aOKhB.js";import{T as Re}from"./MailingDetailsSection-DOuPh_kK-CJdFvtR9.js";import{S as Pe}from"./CurrencySelectField-CxNprN2u-CPSD5Bje.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-DLou-2Lm-30_LmoCw.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=X(),{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(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),D?t.jsx(Me,{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-Dg4A8nvL.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-CpT4WPn3-emHrkTKE.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-KznYA-cf-DOVsFGdl.js";import"./MailingDetailsSection-DOuPh_kK-BSVwPRCr.js";import"./LabeledAddressValueField-DLou-2Lm-hN3Yi48B.js";import"./MagicLinkTitleSection-BZ9PbTY5-CljXn46a.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-B8OsEhOZ.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-CpT4WPn3-b0nQCCWc.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-KznYA-cf-CV3aOKhB.js";import"./MailingDetailsSection-DOuPh_kK-CJdFvtR9.js";import"./LabeledAddressValueField-DLou-2Lm-30_LmoCw.js";import"./MagicLinkTitleSection-BZ9PbTY5-DGA-Kfl0.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,M as te,C as c,g9 as w,a8 as k,j as i,hj as g,hi as m,o as n,X as re,g as ne,dy as se,i as le,s as a}from"./index-Dg4A8nvL.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,M as te,C as c,g9 as w,a8 as k,j as i,hj as g,hi as m,o as n,X as re,g as ne,dy as se,i as le,s as a}from"./index-B8OsEhOZ.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 z,a as J,M as O,j as t,bo as q,b as d,m as B,F as H,bp as U,o,i as y,J as D,bq as W,p as N,br as X,bs as k,g as $,ap as b,bt as Y}from"./index-Dg4A8nvL.js";import{b as c,n as r}from"./vendor-rkTZJa59.js";import{AccountLockedInfo as Z}from"./AccountLockedInfoModal-CqjvVPUE-DQpjXn2Q.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 G=e=>{if(!e)return"";try{const s=X(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const f=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${f}`}return k(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return k(e)||e}},I=120,C=30,F=2,K="456px",Q="256px",V=6,n=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Fe=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,f]=c.useState(!1),[g,P]=c.useState(0),[v,S]=c.useState(I),[h,w]=c.useState(C),E=z(e.verifyOtpFetchState),u=J({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},R=()=>{j.trim().length===V&&e.onVerifyOtp(j)},T=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),P(i=>i+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){f(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const M=i=>{const a=Math.floor(i/60),A=i%60;return`${a}:${A.toString().padStart(2,"0")}`};return t.jsx(q,{open:!0,children:t.jsxs(ee,{children:[t.jsx(d,{controller:g>F,children:t.jsx(Z,{unlockDate:B.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),t.jsx(d,{controller:g<=F,children:t.jsx(H,{...u,children:t.jsxs(ue,{children:[t.jsxs(he,{children:[t.jsx(te,{children:n.verifyDeviceTitle}),t.jsx(re,{children:n.verifyDeviceDescription}),t.jsx(oe,{children:G(e.phoneNumber+"")})]}),t.jsxs(ne,{children:[t.jsx(U,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:o.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),t.jsx(d,{controller:l===!1,children:t.jsx(L,{children:t.jsxs(me,{children:[n.codeExpiresIn," ",M(v)]})})}),t.jsx(d,{controller:l===!0,children:t.jsx(L,{children:t.jsx(fe,{children:n.codeExpired})})})]}),p===!0&&l===!1?t.jsxs(t.Fragment,{children:[t.jsx(d,{controller:g>=1,children:t.jsx(ie,{children:n.incorrectCode})}),t.jsx(d,{controller:g===2,children:t.jsx(ge,{children:t.jsxs(y,{children:[t.jsx(je,{}),n.accountLockWarning]})})})]}):null,t.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:t.jsxs(se,{children:[t.jsx(le,{children:n.codeNotReceived}),t.jsx(ae,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),f(!1),u.setValue(m,""),S(I),w(C))},children:n.resend}),h>0&&t.jsxs(ce,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),t.jsxs(xe,{children:[t.jsxs(de,{children:[t.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),t.jsx(D,{variant:"primary",label:n.verify,onClick:R,style:{width:82},loading:s,disabled:j.trim().length!==V||l===!0})]}),t.jsx(pe,{children:T})]})]})})})]})})},ee=r.div`
1
+ import{a2 as z,a as J,M as O,j as t,bo as q,b as d,m as B,F as H,bp as U,o,i as y,J as D,bq as W,p as N,br as X,bs as k,g as $,ap as b,bt as Y}from"./index-B8OsEhOZ.js";import{b as c,n as r}from"./vendor-rkTZJa59.js";import{AccountLockedInfo as Z}from"./AccountLockedInfoModal-CqjvVPUE-Cma-cVvt.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 G=e=>{if(!e)return"";try{const s=X(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const f=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${f}`}return k(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return k(e)||e}},I=120,C=30,F=2,K="456px",Q="256px",V=6,n=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Fe=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,f]=c.useState(!1),[g,P]=c.useState(0),[v,S]=c.useState(I),[h,w]=c.useState(C),E=z(e.verifyOtpFetchState),u=J({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},R=()=>{j.trim().length===V&&e.onVerifyOtp(j)},T=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),P(i=>i+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){f(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const M=i=>{const a=Math.floor(i/60),A=i%60;return`${a}:${A.toString().padStart(2,"0")}`};return t.jsx(q,{open:!0,children:t.jsxs(ee,{children:[t.jsx(d,{controller:g>F,children:t.jsx(Z,{unlockDate:B.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),t.jsx(d,{controller:g<=F,children:t.jsx(H,{...u,children:t.jsxs(ue,{children:[t.jsxs(he,{children:[t.jsx(te,{children:n.verifyDeviceTitle}),t.jsx(re,{children:n.verifyDeviceDescription}),t.jsx(oe,{children:G(e.phoneNumber+"")})]}),t.jsxs(ne,{children:[t.jsx(U,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:o.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),t.jsx(d,{controller:l===!1,children:t.jsx(L,{children:t.jsxs(me,{children:[n.codeExpiresIn," ",M(v)]})})}),t.jsx(d,{controller:l===!0,children:t.jsx(L,{children:t.jsx(fe,{children:n.codeExpired})})})]}),p===!0&&l===!1?t.jsxs(t.Fragment,{children:[t.jsx(d,{controller:g>=1,children:t.jsx(ie,{children:n.incorrectCode})}),t.jsx(d,{controller:g===2,children:t.jsx(ge,{children:t.jsxs(y,{children:[t.jsx(je,{}),n.accountLockWarning]})})})]}):null,t.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:t.jsxs(se,{children:[t.jsx(le,{children:n.codeNotReceived}),t.jsx(ae,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),f(!1),u.setValue(m,""),S(I),w(C))},children:n.resend}),h>0&&t.jsxs(ce,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),t.jsxs(xe,{children:[t.jsxs(de,{children:[t.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),t.jsx(D,{variant:"primary",label:n.verify,onClick:R,style:{width:82},loading:s,disabled:j.trim().length!==V||l===!0})]}),t.jsx(pe,{children:T})]})]})})})]})})},ee=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${Q};
@@ -1,4 +1,4 @@
1
- import{e as s,j as i,q as l,$ as a,e$ as c,g as h,o,C as r}from"./index-Dg4A8nvL.js";import{n as t}from"./vendor-rkTZJa59.js";const d={width:new r(300,770,770),height:new r(195,500,500)},w=t.div`
1
+ import{e as s,j as i,q as l,$ as a,e$ as c,g as h,o,C as r}from"./index-B8OsEhOZ.js";import{n as t}from"./vendor-rkTZJa59.js";const d={width:new r(300,770,770),height:new r(195,500,500)},w=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;