@zeniai/web-cockpit-ui 1.14.65-dev → 1.14.66-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 (227) hide show
  1. package/dist/assets/{ACHDetailsPage-O433o0vt-hT-5i3cg.js → ACHDetailsPage-oAnfc9Qe-LX0uL-wT.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-B3_Sro1O-CvLydEgy.js → AIPerformancePage-Ccj_miRk-BMjL7kgT.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-B4KzbEwA-DLu03av4.js → AccountInfoPage-B5JL7WWD-DcYo8sUO.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DSkZv5-h-AM86WFLo.js → AccountInfoPageContent-BfxVO67L-CSuKa297.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DcHtEM5_-g0VQtuiI.js → AccountLockedInfoModal-Cf6hufyW-CpUtOt3s.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-78x855H1-BAZdmlNP.js → AccountReconDetailsDrawerPage-X4_PFuUR-CbH5rz7D.js} +1 -1
  7. package/dist/assets/{AccountRow-Dsa2uDOQ-BN8Cxq-0.js → AccountRow-B77EmFJc-yVYVQ83H.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Bpu-T-PS-DD4Yxa9_.js → AccountsPromoCardStack-BIIf2ZPZ-D_7eECoF.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BAhGnoCY-8waFwoRE.js → AddAddressForCardDrawer-MFS0CRWD-BpoGbMmT.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-hsgCiPMz-BfIa9_lB.js → AddToWalletPage-BLIMFBOq-BYXjq_Wr.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-yzN0ZyLt-DVLQ73uf.js → AgingReportsPage-Y4cwDZ2T-NyVprBQ6.js} +1 -1
  12. package/dist/assets/{AllUserItems-BHt9_0Ce-D_zOfM1j.js → AllUserItems-D7M2OrxF-BP81emYk.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-BRtnXuZ9-BOXxltJe.js → ApAgingDetailPage-7VPB3iYQ-o_vJeHSX.js} +1 -1
  14. package/dist/assets/{AppBasePage-BYZJXaK1-DiyLCxG3.js → AppBasePage-DpSov7YW-xZrXfbEh.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-D2QsR8LC-DY6t6k0C.js → AppDrawerContent-CX7LQrKf-Bfht_RBA.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BFJ7MZGF-DmdhG_Jh.js → ApprovalRulesSettingsPage-Cx_HIc5p-BCAYcZFc.js} +1 -1
  17. package/dist/assets/{ArAgingChart-BmITvPR6-CRu-ao-Z.js → ArAgingChart-C4EBFUg6-D-V6czyN.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BQ3WzHZv-Dyf_SwaK.js → ArAgingDetailPage-VPO0RVcb-BrS2-GHd.js} +1 -1
  19. package/dist/assets/{AttachmentView-CWVWh7gE-CId_ekBm.js → AttachmentView-C5-ZqgK_-CRGTZ6CD.js} +1 -1
  20. package/dist/assets/{BankAccountSection-CLgckmVZ-CPfKv-s4.js → BankAccountSection-Cpoe0xvv-By7YsBBf.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-skTeQNh9-BKCT484G.js → BankAccountWarningSection-rJ5lRXiY-DnFOmra5.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-hpbWJM2D-DBHybadx.js → BankConnectionsSettingsPage-DqZkfqL8-D8oI90bA.js} +1 -1
  23. package/dist/assets/{BillDetailPage-CnqHlQBd-Cxk_RM-E.js → BillDetailPage-aTRV9hvz-CD5uIjyy.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BL-WKLHv-DArSln_j.js → BillPayApprovalRuleDetailPage-kAS0qP_b-B1cEPd1o.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DbQ-y70l-z21aVhuG.js → BillPayApprovalRulesPage-e2WUruZo-D5xqUerY.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-_UwCQDgl-C2JPeQdr.js → BillPayPromoPage-MdrCCP1g-BlAB2W2D.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-C60AE0QK-BmFPa9HQ.js → BillPaySetUpPage-BFudxLlh-DwW_dsxm.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CadLYHi_-Cp4jScBZ.js → BillingSettingsPage-WNHpoOPp-CzgPnTKR.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-fo14rj8q-BYaoWoTc.js → BillsBulkReviewDrawerPage-BUZB2S49-CkMcnnFf.js} +1 -1
  30. package/dist/assets/{BoxItem-BD-djRQm-D3HB6nzR.js → BoxItem-C1KRBJyb-C3M3WVSU.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DhIGS-or-DVpnUAwr.js → BusinessVerificationPage-BCFqIPD7-BE0mhof5.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DL4cJEW_-CTxV1Riz.js → CardNumberSubText-D4IvYhhc-z0ZSBcFh.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-CiFePPzf-DozdUgRE.js → CashbackDetailPage-C4IFLy59-Cj4Op2GU.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-qC1xQ6VN-CGdnQLlI.js → ChargeCardDetailPage-CNhoPEGF-DbXvY8tC.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-h-5ddVAP-DCgOd-dQ.js → ChargeCardListPage-BnvKazY9-BEMxAqlg.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DqCqyXD1-BXtHq29F.js → ChargeCardListTable-CyZ2zKLL-COIgH-iu.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-BATZvK7--Do7tueMf.js → ChargeCardPromoPage-CPQosiEL-CF3TnYm0.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-D6ZTknG2-B5OEzIQe.js → ChargeCardSetupPage-BN8f43fH-L3BRynZI.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-BS3PJZ0x-DJVwxTLM.js → ChargeCardStatementsPage-BIo4NZqi-Cfs4_7pT.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-Dwqf53QP-Dkm3A_Rc.js → ChargeCardUtils-Bj-etojH-C-dZGdTM.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-Bu_ypxC4-oExidXLY.js → ChaseOverlay-DO2J-ha8-D8qmrA0a.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-Bq6Jqv5Y-Dc0kvfmp.js → CheckDepositDrawerPage-nP9rDa_f-BC-ixzCq.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-UMJzMIPx-BkvaUBSa.js → CollapsableReportTable-91ayVVPk-YyYMs0EZ.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-CQgLZqFX-CgJyv3dc.js → CompanyOfficerDetailsSection-BdVMTA_t-CEcuSkA_.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-DG9qHuDu-BaKAQbkW.js → CompanyPassportCard-CEHrp5go-GtvlkwVq.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-BXjE35r4-BRyzafNX.js → CompanyPassportPage-seCTNLzj-CEnfk6RU.js} +1 -1
  47. package/dist/assets/{CompleteProfile-Dp6YR12u-BFysu-1b.js → CompleteProfile-r8iQXZOm-Bh_0dIS3.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-htOD4tu--Dtjq6kbc.js → ConfettiBurst-B9OgeEa4-Dh78Y5Jf.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BXlUUR7Y-DuB5zHmv.js → CreateOrEditVendorPage-DbD65I3--CPOGPclD.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CMwtN88U-ByIYOIIc.js → CreditCardPaymentDrawerPage-DY7s4qjw-BMI7Yb-R.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-CuIlFT9n-F69AAH3U.js → CreditCardPaymentPlgSection-Do0TNB0_-IV66dV3c.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-DFPHaoIW-DA4W7gWx.js → CurrencySelectField-CKx6YVVh-Dj1m-hYN.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-DYleTKVx-BWwWI9O9.js → CustomerOnboardingActivationPage-4BFB84FC-oOzuaylA.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-CxtDlG2N-BTgmitCf.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-1RGlCjsG-wlx_Hs1i.js → CustomerOnboardingDetailPageSkeleton-Kt2KUVtC-mQzYxv7E.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Hg-Pl4me-_lwMSne5.js → CustomerOnboardingNoStepsPage-tLqnMarT-B3fwX4S1.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-BcJr213c-euv8_2ij.js → CustomerOnboardingPage-VNBp5Ije-DaM4m3ed.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Dx-HuR6j-D3KdKBI6.js → CustomerOnboardingProductSuitePage-BNjCYCxr-CfsGpsfs.js} +1 -1
  59. package/dist/assets/{Dashboard-BvdrJ-g9-DWu_q6Az.js → Dashboard-CPEaq6Ef-DUfkZapx.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-CFu5turj-CzAmKXpL.js → DashboardReportPage-BnOZ3rQO-Do66B-cr.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-CkRipnki-DzgDMXfY.js → DashboardSidebarBackgroundAnimation-D_d0ozKC-Ac0gdUsL.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-HlUr4uKm-Ch3RdXp3.js → DepositAccTransactionItem-DRKEJqSS-eDXCXQ-J.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-CX9EgMDv-BGy3zedH.js → DepositAccTransactionListPage-uyKvgRpL-C_sqOwjG.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-DqciCDY7-Y2-_1gTb.js → DomesticWireDetailsPage-DOd_8Yf7-DuHUNF56.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-B5X85LXE-BBviFRS1.js → DownloadOverlay-B9ZMsi8M-BluS3Q_f.js} +1 -1
  66. package/dist/assets/{DrawerPage-DrGeI5Gr-CYiGPU-R.js → DrawerPage-9DxdPl40-Ps3tp7In.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-BCPuaFsg-DmEryHqo.js → EditPeoplePage-_6h3BeMH-DkaBorDO.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-DTaUD_wr-DmA0avzI.js → EditReimbursementDetailPage-C4yQFOSc-BXqsw8Gk.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-CZwMmY-Y-CbHj1-u0.js → EntityDetailPage-D7y6vJkF-CrdoL7Is.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-333_lNe_-DBM-LG4J.js → EntitySummarySection-BuV1ByG2-CggW7LYL.js} +1 -1
  71. package/dist/assets/ExpenseAutomationOverviewPage-CTCFHV_1-CUFvzdGw.js +281 -0
  72. package/dist/assets/{ExpenseAutomationPage-BET2EPxB-B5bOrW78.js → ExpenseAutomationPage-BHRn_JUj-DzDCe7Ka.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-DqhntTTB-gpM7QaK2.js → ExpressPayPage-pCpcMZnC-b4KAEMe9.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-CUYemLYW-BPd0UuLt.js → FeaturePreviewPage-D24FJNUU-COvYC8n5.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-CId44M0d-DWuJgKl7.js → FollowStepsSection-tuKW99KV-B9aFSe3M.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-olrM4QVf-eNZNxhRP.js → GlobalReviewListPage-DwRmV7XD-BwxcKqqz.js} +1 -1
  77. package/dist/assets/{HelpButton-BaVV3VxQ-CFV69sbB.js → HelpButton-DaQz2Rn_-DQMmTiv0.js} +1 -1
  78. package/dist/assets/{InformationCardStack-C7Zkk9ic-Df8WKnwa.js → InformationCardStack-BFoJhub0-Bs21bRfH.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-Bg2Qif6j-BbkmpBbl.js → InsightsCardStack-C52s96WO-YUB-i-lr.js} +1 -1
  80. package/dist/assets/{InsightsSection-CuWVeSOd-9ENBzs4K.js → InsightsSection-B5J2sEZc-DanwTbiG.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-CrE1KouD-BLDTLmZu.js → IntegrationsSettingsPage-DCJ98518-k4cjH6vv.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-DJLmk0eo-DdEnyCzh.js → InternationalWireSwiftDetailsPage-CRIdQeV1-DAhDixRg.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-DG_PXVfy-CK7ZTYJb.js → InternationalWireVerificationPage-HjM7zN5q-0Bh6lUTP.js} +1 -1
  84. package/dist/assets/{InviteFormPage-uSfpRwTu-DMiF1k9p.js → InviteFormPage-Gh0b2vDS-TvqeMfYa.js} +1 -1
  85. package/dist/assets/{InvitePageListView-DDfePn0v-MLKV3eLq.js → InvitePageListView-DhGHRdeJ-dQGIdBf8.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-B-nd6ANP-iz6Hf-yC.js → InvitePeoplePage-KbNVyidK-BHIY4SEd.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-CmSWxJ1G-CiV_3SN5.js → InvoiceUploadSection-Dn7ur-W9-DBEYnlwj.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-CvqB_YQl-N6NKqHwg.js → IssueChargeCardPage-D5E-CRJ--C43Nn6OB.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-DM7Mjt9D-BMsJgRxz.js → LabeledAddressValue-DEuG8UZf-CUoe6vWX.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-CrYCc1Vq-BQ44ZxJI.js → LabeledAddressValueField-BcqZX242-DNWmFBLu.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-DqMx_rRJ-BPndQQWI.js → LabeledControlledCheckBoxField-BiK4ogZm-c9CcEs0l.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CtKstmcp-6M32pV7v.js → LabeledCreatableSingleSelectField-lXkceawa-B7nK0xdj.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-Dp6HkL8j-Cv0xKOQr.js → LabeledDocumentField-CTHGsGRa-JxgjxQy0.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-BZBtka1B-DOqmycc5.js → LabeledDropDownFormattedTextField-BXgIgc-I-DiN8p1Fz.js} +1 -1
  95. package/dist/assets/{LabeledText-D-qErUwF-Ch0x-pnZ.js → LabeledText-DGaKAiDg-DXltmouv.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CL_5BEe9-B53y7hJU.js → LabeledUserSingleSelectWithSubtitlesField-DHcSZAV4-DhYPqJXy.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DQKQLf8W-qvSWX8Po.js → LabeledZeniRolesDropDownField-BlSt4mz5-BAw-CVhz.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-Cjx83Gjg-x22apf1P.js → LinkJETransactionPage-CYQDiIEe-oN_2_Uvd.js} +1 -1
  99. package/dist/assets/{LockCardPage-DCZ-JUov-vbctKcow.js → LockCardPage-h8hZChv9-C0IV5VgK.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-0hVVX-Zu-CLY3Z7aD.js → LowBalancePopup-BYsxS0qC-DJFDbJLi.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-BBdrsj0J-CAJzx9Sr.js → MagicLinkACHDetailsPage-StkWEEA--mKwLtGMH.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-T7lAIqaR-sDrIjFJW.js → MagicLinkDomesticWireDetailsPage-CIlAxUbJ-DVXyIgo1.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CKFnJ3or-CXksw6wQ.js → MagicLinkInternationalWireDetailsPage-Bddf00Ze-Cca5zYYj.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-IBF5EUOy-C0XVGBtO.js → MagicLinkSuccessPage-Bt55Pv1w-CvSb8hTt.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-B2BDd_i4-BKQQzn5o.js → MagicLinkTitleSection-DqB2vjSF-DNZu73aw.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-BPg-GnRk-BgA4Fteg.js → MailingDetailsSection-BVS2GW-G-C8i4G1_3.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-BmKNLvzF-i9bXWpYY.js → MeetingCalenderPopup-_Dd08iTt--A9qJ9J9.js} +1 -1
  108. package/dist/assets/{Menu-CBX_pJfN-KXFTbmg8.js → Menu-5ruUktz8-CDlomUa9.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-cI1FZSed-BXBF-h07.js → MyBankConnectionsSettingsPage-ClLnBlDi-d2Nvwd6v.js} +1 -1
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-DxTkt_dH-CgfgBazw.js → MyPendingActivationChargeCardListPage-4-RBz078-CuOSTeAp.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-BZ0Nfu1g-DJGuGlHY.js → MyProfileSettingsPage-BFmFwp-M-DZ1Itt3g.js} +1 -1
  112. package/dist/assets/{NavBarWithPicker-tCEyFtzU-ClGGelqv.js → NavBarWithPicker-a35H6ba--VGKPsjnQ.js} +1 -1
  113. package/dist/assets/{NavigationArrow-DXc3Y5uM-DDg548fX.js → NavigationArrow-jh-Hkf_V-C-WlMlIE.js} +1 -1
  114. package/dist/assets/{NavigationDots-Dgv1gTJb-Cic-hNfr.js → NavigationDots-BE7tpxpw-DN71mEHU.js} +1 -1
  115. package/dist/assets/{NewGlobalMerchantPage-BgdeFlQB-DthwqoOX.js → NewGlobalMerchantPage-BmH44lDz-CCb6n4tl.js} +1 -1
  116. package/dist/assets/{NoDataChart-WU_4erjb-CKLbW7xC.js → NoDataChart-DadKXWhF-DjOaZI02.js} +1 -1
  117. package/dist/assets/{NoDataTable-BuOEBuzz-CwF0SffS.js → NoDataTable-CEBjocIi-DNl_Uv6C.js} +1 -1
  118. package/dist/assets/{NotFoundPage-G8wzwNRc-IWtaZjPn.js → NotFoundPage-wentbSH0-Ct7KIBF4.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-DIdjMvS5-N58p24ip.js → NotificationSettingsPage-C3J8_WAi-C9L7w8kU.js} +1 -1
  120. package/dist/assets/{NotificationsListConfig-CEHt8NWc-Bvm_f11n.js → NotificationsListConfig-Cscyd46w-D2zJ6m8K.js} +1 -1
  121. package/dist/assets/{NotificationsPage-BmnJOCk2-_afz9hAq.js → NotificationsPage-BK5Ue1ao-CXpfrPx3.js} +1 -1
  122. package/dist/assets/{OpExByVendorPage-Dzv4651I-BUIi6aFp.js → OpExByVendorPage-DLnYnLdD-Bo3YmnQL.js} +1 -1
  123. package/dist/assets/{OverlayContainerPage-CU1AAMcq-DYecR1bL.js → OverlayContainerPage-CU1AAMcq-C5YBZHST.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-C3jbkv_r-DYXRKVve.js → PandLWithForecastPage-9T69WaiE-Ct9TOtG2.js} +1 -1
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DC_ouFX_-C-IDtnGp.js → PaymentAccountSetupBillingAddressSection-CkC16MMJ-DbyvsfyF.js} +1 -1
  126. package/dist/assets/{PeoplePage-B_FRXRGq-DMttGMQN.js → PeoplePage-CWUCgcw1-D2ef7P5n.js} +1 -1
  127. package/dist/assets/{PortfolioAllocationFormPage-DJc_lK9s-CreqeJie.js → PortfolioAllocationFormPage-BEO6F8kp-B5heO9ft.js} +1 -1
  128. package/dist/assets/{PortfolioDetails-t6XpVdnH-CHY-KKR1.js → PortfolioDetails-BUx1WGe6-DUfnE4JX.js} +1 -1
  129. package/dist/assets/{ProductsCarousel-CZpGrp4i-DlM-vIQX.js → ProductsCarousel-k_yn_DnI-B0QWXay0.js} +1 -1
  130. package/dist/assets/{PromoBaseCards-CjRDHYmE-DXT0raKj.js → PromoBaseCards-BIoPkvyG-DMAQ19ck.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-BqN96Rv4-BHi1d9e_.js → QBOConnectionDialog-y-BRQt2k-BUiruvol.js} +1 -1
  132. package/dist/assets/{QBOSetupSection-C2Mmomh9-D4_pijo4.js → QBOSetupSection-JfsJnbR7-mpK5M4dW.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRuleDetailPage-OTmB2LUL-rqRsQUH1.js → ReimbursementApprovalRuleDetailPage-Cyt_2Arn-Bj5eMI9j.js} +1 -1
  134. package/dist/assets/{ReimbursementApprovalRulesPage-D3SecTk5-DvS9FwWP.js → ReimbursementApprovalRulesPage-BmkoC7-V-BLqWq7CK.js} +1 -1
  135. package/dist/assets/{ReimbursementDetailPage-B48rHgWD-CVxNjunT.js → ReimbursementDetailPage-yoAaacbf-izGOf3_o.js} +1 -1
  136. package/dist/assets/{ReimbursementPromoPage-D2jtlC---BzDfArsZ.js → ReimbursementPromoPage-CVpnp2W3-L9-uVJkf.js} +1 -1
  137. package/dist/assets/{ReimbursementSetUpPage-Bw2zaQm9-BRypsSSf.js → ReimbursementSetUpPage-Dz8jV4h5-Cvg7yiCt.js} +1 -1
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage--MYNmix_-BanmFiuk.js → ReimbursementsBulkReviewDrawerPage-_OQrnaaa-C7xMKn1a.js} +1 -1
  139. package/dist/assets/{ReloadCard-fGYgjJqh-DZSQgRMN.js → ReloadCard-Bona9vKC-D3qLHDXx.js} +1 -1
  140. package/dist/assets/{ReportTableViewSelector-BoKtYmK1-DKrIGpab.js → ReportTableViewSelector-CEO5ih6s-BsdvZhvx.js} +1 -1
  141. package/dist/assets/{ReportsPage-BeVAnqCN-BMJPl6B_.js → ReportsPage-BujZXhE9-4QAp4coc.js} +1 -1
  142. package/dist/assets/{RevenueChart-BVxu_IRr-CTxdEuOl.js → RevenueChart-CzxWBI7d-DAB9_aBZ.js} +1 -1
  143. package/dist/assets/{ReviewDetailsPage-DOQ6RlGh-BaYtXrlE.js → ReviewDetailsPage-DTYs1zWP-hNXHaO2V.js} +1 -1
  144. package/dist/assets/{ReviewOverlay-CLxe4Hue-DN2cWYrD.js → ReviewOverlay-DQ_igXuJ-BmRn2yir.js} +1 -1
  145. package/dist/assets/{RoleWithToolTip-bvgy9K1q-u0L65mDB.js → RoleWithToolTip-DHMnmlh6-wl5YHkfH.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BGsfekHH-BCHaIyha.js → ScheduleDetailsFixedAssetsPage-DLrJkJlo-cVuKH1-q.js} +1 -1
  147. package/dist/assets/{ScheduleDetailsPage-C53drYrh-DzOAeV7d.js → ScheduleDetailsPage-DmpcMZYc-C5Jo7Cgk.js} +1 -1
  148. package/dist/assets/{ScheduleSequenceTable-CSEZ7jbe-tF4t7TtC.js → ScheduleSequenceTable-Cmwxv9Zr-C8nGHygO.js} +1 -1
  149. package/dist/assets/{ScreenRoutes-BXpyhAKF.js → ScreenRoutes-CC7pfn6Z.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-DoWjmoD1-Br15Wkpn.js → SetUpAccountSection-CuFelV9A-FPS44Uf5.js} +1 -1
  151. package/dist/assets/{SetUpDefaultSection-B4LaVQo1-CDRhIiLj.js → SetUpDefaultSection-C_i-c6Pb-DIYHx2AJ.js} +1 -1
  152. package/dist/assets/{SignIn-C273-qpK-DvaxvI9Q.js → SignIn-D_OoVO_v-YmQIsRm1.js} +1 -1
  153. package/dist/assets/{SignInScreen-BX_yBHvr.js → SignInScreen-Cbqzieyw.js} +1 -1
  154. package/dist/assets/{SpendManagementListViewPage-DcNLU5oi-BdCvsT3C.js → SpendManagementListViewPage-KDAujsw0-Cyf4rRqy.js} +3 -3
  155. package/dist/assets/{SpendManagementPerTabPage-CLmm4iVK-Btnp44Yr.js → SpendManagementPerTabPage-BuiQmKjG-CCzSZKG3.js} +1 -1
  156. package/dist/assets/{SpendManagementSection-JnYKeEsq-CiVyRvN9.js → SpendManagementSection-BH9i-792-GO3d1GiX.js} +1 -1
  157. package/dist/assets/{SpendMgmtSetupAccountSection-DlImXjOJ-CFdqUGJW.js → SpendMgmtSetupAccountSection--Epy5zv7-DjNrG5sJ.js} +1 -1
  158. package/dist/assets/{StatementItem-Bj0m2lOr-3ODkb4F_.js → StatementItem-d3Ph76EP-BEqhNgDd.js} +1 -1
  159. package/dist/assets/{StatementsPage-CuuWt61p-DCjzymYM.js → StatementsPage-Bq_dRNOs-BA10-H2I.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-CHsU_gVW-DXB6oTJV.js → StatusSwitcher-8NsuCJ9w-DM4fTiiY.js} +1 -1
  161. package/dist/assets/{SubTabSwitcher-Cl3dC9WT-B7tyXraV.js → SubTabSwitcher-CUvyjMr3-DciaGu4Z.js} +1 -1
  162. package/dist/assets/{SummaryCard-DhuCj_-n-D_pp-brj.js → SummaryCard-BDnipH2b-BOr1nqnj.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-Be3x8_zY-DyOnS3Do.js → TaskManagementPage-Bg6QawfF-D6uApaIg.js} +1 -1
  164. package/dist/assets/{TimeRangeSwitcher-BKDJmROe-D4dFD0nK.js → TimeRangeSwitcher-BDP3VhBL-Bd1H06EH.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcher-D6cl6mEI-ixXirDp4.js → TimeframeSwitcher-Tzlqetbm-B9foLkiM.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-ChweIH33-BUCClgTe.js → TimeframeSwitcherWithToggle-C60T11yv-DnMdObzs.js} +1 -1
  167. package/dist/assets/{TopExCard-CCozxHYZ-zQ9IPQsm.js → TopExCard-DvtdF67v-B3CWdFbO.js} +1 -1
  168. package/dist/assets/{TopExDetailPage-DQv-J1Zi-SepMYeRn.js → TopExDetailPage-DlejqRhV-CvoO6Aq4.js} +1 -1
  169. package/dist/assets/{TransactionDetailPage-Bh0RZ4X8-Bg2lslK_.js → TransactionDetailPage-DV3vyt1n-3qOXl0Tx.js} +1 -1
  170. package/dist/assets/{TransactionList-DQTlLOw7-BlBimHvW.js → TransactionList-CnZjjl2c-vA-1RO1_.js} +1 -1
  171. package/dist/assets/{TransactionListBig-bKli2lck-B4tS2RKA.js → TransactionListBig-o71NIZeN-BeSaM2xP.js} +1 -1
  172. package/dist/assets/{TransactionListPage-f0QkQg28-DKdWm3rb.js → TransactionListPage-BoM55JXY-DIbOCl_j.js} +1 -1
  173. package/dist/assets/{TransactionVendorDetailPage-DPvOH-8p-DTVWGqtd.js → TransactionVendorDetailPage-CJ3MsS2X-CM7EDpA2.js} +1 -1
  174. package/dist/assets/{TransferDrawerPage-Kd-73Eb2-lVX50Jk-.js → TransferDrawerPage-BqChATei-BWJLvi4h.js} +1 -1
  175. package/dist/assets/{TreasuryOverviewPage-fE2419o0-DgrIdT0K.js → TreasuryOverviewPage-TYfl1T0q-D0u7dmhd.js} +1 -1
  176. package/dist/assets/{TreasuryPromoPage-BYfmcd0j-BQzh4Ld4.js → TreasuryPromoPage-CdLtipU7-fQPs1bNK.js} +1 -1
  177. package/dist/assets/{TreasurySetupPage-DlzxS_0T-CUdB0O-R.js → TreasurySetupPage-BEk4xZK9-JuEtepk0.js} +1 -1
  178. package/dist/assets/{TreasuryStatementsPage-DlNK7RrG-BG0UdGeG.js → TreasuryStatementsPage-0LESOE5d-C1QyBUiO.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-BdcGsyaD-CaRTf2j7.js → TreasuryTaxLetterPage-DsSZbzeB-DuJDaZQm.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-Dp4AKOqL-BYYvplct.js → TreasuryTransferOrReviewPage-CwcgoKq8-DJgpLqXi.js} +1 -1
  181. package/dist/assets/{TrendChart-B5zZ_iLE-bFzkiVjv.js → TrendChart-Dxh3-dI5-B_8GCn4f.js} +1 -1
  182. package/dist/assets/{TrendWithTransactions-DSvuHSYn-CNS_Ztci.js → TrendWithTransactions-Cb9SG4qI-C9p_KZtY.js} +1 -1
  183. package/dist/assets/{UncategorizedAccountsMappingPage-CWAI3J42-24x9v_vz.js → UncategorizedAccountsMappingPage-C58OQ1wc-cyF-_H1B.js} +1 -1
  184. package/dist/assets/{UnitIntegrationPage-CMOoR90--DsbIJ0P6.js → UnitIntegrationPage-BApabsOR-D8N-Cj92.js} +1 -1
  185. package/dist/assets/{UploadAdditionalDocumentOverlay-Cr8OfKe0-ClFyqrYO.js → UploadAdditionalDocumentOverlay-KCRDK6Vb-BLknArgE.js} +1 -1
  186. package/dist/assets/{Vendor2FAPopup-CSgWpMp9-D-Quj54h.js → Vendor2FAPopup-B1AwxFtA-BXCQfbpy.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-C32t35GT-SIgab32n.js → VendorACHDetailsPage-DGN5feXs-Dqby_1K5.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-BMXsv3mE-L25vdW4d.js → VendorDetailPage-cJA4_on9-JnoVpRaR.js} +1 -1
  189. package/dist/assets/{VendorDomesticWireDetailsPage-Emkm29CB-DZ-Ymgfn.js → VendorDomesticWireDetailsPage-CyJi9kI3-CWjlolxC.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-CZm7En7u-CbKz9Kz4.js → VendorFiling1099EditablePage-nMeRy8iW-BMbMZu_0.js} +1 -1
  191. package/dist/assets/{VendorFirstReviewPage--y0bMAEs-BsZFVLcj.js → VendorFirstReviewPage-DmYTTdVo-Cf0gaO27.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireDetailsPage-l6gez5uR-DXzTdPzQ.js → VendorInternationalWireDetailsPage-Wzjdd76z-CNurcYBp.js} +1 -1
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-CPthsLex-rsFN9D_E.js → VendorInternationalWireSwiftDetailsPage-DWcT-bD0-DKULFkmg.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-BiNVJqC3-Ppgy5g_M.js → VendorsAccountsSection-f-2HcYGZ-BRXVPbfC.js} +1 -1
  195. package/dist/assets/{VerifyDevice-DRXh0BVj-BeFqFH2-.js → VerifyDevice-CpZ9v86P-Cy-flp4s.js} +1 -1
  196. package/dist/assets/{VideoPlayer-Cb41U-f6-DM4DcdBt.js → VideoPlayer-C5XJLW5o-BVfx48ed.js} +1 -1
  197. package/dist/assets/{VideoPopup-C9U4DX3l-0nfcV-rJ.js → VideoPopup-CFShu7RX-_wa1ZoH3.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-DBf7lUzm-v53yZ92H.js → WarningsDrawerPage-BMfva4eQ-DCzIg52W.js} +1 -1
  199. package/dist/assets/{ZeniAccountDetailPage-KCUamvd9-BULzH6Pi.js → ZeniAccountDetailPage-DqwykQGb-DjeE1vKn.js} +1 -1
  200. package/dist/assets/{ZeniAccountListViewPage-Cu8aer-E-PD-tv1lk.js → ZeniAccountListViewPage-5GsFlzuB-BmSoaI4j.js} +1 -1
  201. package/dist/assets/{ZeniAccountNavBarPieces-BRn7bYkE-vduTAKHY.js → ZeniAccountNavBarPieces-C0GhVRsq-C_MPL-vt.js} +1 -1
  202. package/dist/assets/{ZeniAccountPromoPage-DPlBWVSE-DsxPOAaY.js → ZeniAccountPromoPage-BsoKhi1p-BJLa8nRM.js} +1 -1
  203. package/dist/assets/{ZeniAccountSetupPage-D4ynqfPe-BKGVXk1w.js → ZeniAccountSetupPage-B7xCt24o-DaEgNOqC.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-D4BV2AA_-fKO2Mt9m.js → ZeniCopyright-QGZgIoQP-Zqo20P_m.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-izX-5d28-J5aTuWeK.js → ZeniTransferAmountSlider-BVaeHoig-Co6KOqsD.js} +1 -1
  206. package/dist/assets/{analyticsHelper-B-gQGHZF-3kSq_TCy.js → analyticsHelper-C_28rnIB-eunar6nJ.js} +1 -1
  207. package/dist/assets/{analyticsHelper-BF3bsxJ6.js → analyticsHelper-DkMt2y6K.js} +1 -1
  208. package/dist/assets/{chartTypes-C_6O8OzB-CzjLcljP.js → chartTypes-CnEyojFG-D7BroGGV.js} +1 -1
  209. package/dist/assets/{commonDimensions-8JDQDT8B-DqnJUzDZ.js → commonDimensions-7pGp5bkY-s3Pf7lJk.js} +1 -1
  210. package/dist/assets/{detailCommon-BL1DXNdc-BsqTaC_5.js → detailCommon-BnXtivNO-CcVfMtRo.js} +1 -1
  211. package/dist/assets/{downloadPdf-vDlVeOoZ-BS5vqkJQ.js → downloadPdf-DeWDMgGW-DDRmaByO.js} +1 -1
  212. package/dist/assets/{index-D1nPjz5w.js → index-CNlrlDCR.js} +6 -6
  213. package/dist/assets/{mapLoadingInProgressToTreeNode-CVOYX7LA-Dgi7dIFJ.js → mapLoadingInProgressToTreeNode--wkVCwI4-M6tHXdEu.js} +1 -1
  214. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DXesTqBC-D55rcrC8.js → mapSectionWithAcOnlyToTreeNode-BTnEFiYU-Dy6jZeE3.js} +1 -1
  215. package/dist/assets/{mapSpacerToTreeNode-BY5Dt_TX-C_8U9Xd2.js → mapSpacerToTreeNode-Gvb_Gahk-_t52xrzQ.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-CeICYiJn-DLiZvjaQ.js → mapTimeframeBalancesToTreeNode-B3GTdAAS-E_GKPw3C.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-fD_sEhxW-BjXA4zId.js → mapTimeframeBalancesToTreeNode-k97MRcsy-Cd8L46cw.js} +1 -1
  218. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-D68FE4FT-BaqzWRo1.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B0Tu2soI-wAdpUL9C.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-C-y5OtQv-CoY_0Qcv.js → toCOABalancesWithID-DRNrcBR0-DJQf9Bqy.js} +1 -1
  220. package/dist/assets/{toChartData-Bb8ybdL4-BsfgBb2C.js → toChartData-CFK0sUQp-BNp7wo3I.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-DU3jMQtW-D0wC3-eK.js → treasuryColorHelper-CkFH6agH-CJJZ2dhe.js} +1 -1
  222. package/dist/assets/{uploadAttachment-CFrxv9Ss-DFH28WTz.js → uploadAttachment-eOCG4lqX-Cia4WwXe.js} +1 -1
  223. package/dist/assets/{uploadReceipts-9DTOr0BG-D1btEzqf.js → uploadReceipts-9DTOr0BG-BT7byiqk.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +2 -2
  226. package/dist/assets/CustomerOnboardingContainerPage-DJT5-HST-AjTzl65b.js +0 -1
  227. package/dist/assets/ExpenseAutomationOverviewPage-Cw8SBqbm-BhxxDN1_.js +0 -241
@@ -1,4 +1,4 @@
1
- import{ax as ht,c as Ze,j as t,O as oe,jn as Y,bF as mt,ab as U,cD as gt,am as K,ar as kt,l as Q,o as s,f3 as qe,cw as Ee,cA as xt,gh as wt,b8 as ft,bZ as Je,aS as Ct,q as le,aa as Tt,y as Xe,cS as $t,ad as jt,b3 as yt,cH as vt,iP as bt,iQ as St,jo as ze,aQ as Gt,n as De,c5 as Ie,e$ as Qe,jp as Lt,dd as et,jq as pe,jr as xe,js as Nt,jt as we,ju as tt,jv as st,jw as ot,jx as nt,jy as at,jz as rt,jA as _,u as ke,jB as re,ai as ie,jC as Et,jD as It,A as Mt,ao as Dt,jE as zt,dt as Bt,jF as At,d3 as it,dn as Rt,C as Wt,jG as Ft,jH as Ot,gi as Pt,f2 as Ht,jI as Ut,jJ as J,jK as Be,cJ as Vt,jL as _t,jM as Kt,jN as Ae,jO as Yt,h as Re,gF as Zt,an as qt}from"./index-D1nPjz5w.js";import{b as n,n as o,i as fe}from"./vendor-Bs1fkIUX.js";import{K as Jt,X as Xt}from"./SpendManagementSection-JnYKeEsq-CiVyRvN9.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-CEHt8NWc-Bvm_f11n.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-DcNLU5oi-BdCvsT3C.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./StatusSwitcher-CHsU_gVW-DXB6oTJV.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)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},I=x=>b(x),M=x=>{const S=Math.max(x,0)/d,j=Math.pow(S,p)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=c;if(j<d&&j>0){const L=d-j,g=M(L);k(x,g,"up")}else if(j>S-d){const L=j-(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{ax as ht,c as Ze,j as t,O as oe,jn as Y,bF as mt,ab as U,cD as gt,am as K,ar as kt,l as Q,o as s,f3 as qe,cw as Ee,cA as xt,gh as wt,b8 as ft,bZ as Je,aS as Ct,q as le,aa as Tt,y as Xe,cS as $t,ad as jt,b3 as yt,cH as vt,iP as bt,iQ as St,jo as ze,aQ as Gt,n as De,c5 as Ie,e$ as Qe,jp as Lt,dd as et,jq as pe,jr as xe,js as Nt,jt as we,ju as tt,jv as st,jw as ot,jx as nt,jy as at,jz as rt,jA as _,u as ke,jB as re,ai as ie,jC as Et,jD as It,A as Mt,ao as Dt,jE as zt,dt as Bt,jF as At,d3 as it,dn as Rt,C as Wt,jG as Ft,jH as Ot,gi as Pt,f2 as Ht,jI as Ut,jJ as J,jK as Be,cJ as Vt,jL as _t,jM as Kt,jN as Ae,jO as Yt,h as Re,gF as Zt,an as qt}from"./index-CNlrlDCR.js";import{b as n,n as o,i as fe}from"./vendor-Bs1fkIUX.js";import{K as Jt,X as Xt}from"./SpendManagementSection-BH9i-792-GO3d1GiX.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-Cscyd46w-D2zJ6m8K.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-KDAujsw0-Cyf4rRqy.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./StatusSwitcher-8NsuCJ9w-DM4fTiiY.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)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},I=x=>b(x),M=x=>{const S=Math.max(x,0)/d,j=Math.pow(S,p)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,j=c;if(j<d&&j>0){const L=d-j,g=M(L);k(x,g,"up")}else if(j>S-d){const L=j-(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,b3 as Y,aC as j,dD as H,bv as L,o as a,ai as q}from"./index-D1nPjz5w.js";import{n as g,b as i}from"./vendor-Bs1fkIUX.js";import{R as A}from"./mui-Ty75qFQF.js";import{V as U}from"./CollapsableReportTable-UMJzMIPx-BkvaUBSa.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,b3 as Y,aC as j,dD as H,bv as L,o as a,ai as q}from"./index-CNlrlDCR.js";import{n as g,b as i}from"./vendor-Bs1fkIUX.js";import{R as A}from"./mui-Ty75qFQF.js";import{V as U}from"./CollapsableReportTable-91ayVVPk-YyYMs0EZ.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,ai as p,O as u}from"./index-D1nPjz5w.js";import{n as i}from"./vendor-Bs1fkIUX.js";const f=i.div`
1
+ import{j as t,o,ai as p,O as u}from"./index-CNlrlDCR.js";import{n as i}from"./vendor-Bs1fkIUX.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{q as c,j as t,y as n,ai as x,bO as w}from"./index-D1nPjz5w.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-D6cl6mEI-ixXirDp4.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{q as c,j as t,y as n,ai as x,bO as w}from"./index-CNlrlDCR.js";import{n as r}from"./vendor-Bs1fkIUX.js";import{b as l}from"./TimeframeSwitcher-Tzlqetbm-B9foLkiM.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{aC as R,q as V,j as t,c as f,bQ as C,bh as T,bg as S,bU as E,c0 as $,u as x,aX as _,C as k,c1 as H,c2 as X,aN as q,l as F,aK as G,o as p,ai as L,b8 as N,am as Q,O,aL as U,aM as Y,aR as z,b2 as J,b3 as W,aS as Z,c3 as ee}from"./index-D1nPjz5w.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-fGYgjJqh-DZSQgRMN.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(z)`
1
+ import{aC as R,q as V,j as t,c as f,bQ as C,bh as T,bg as S,bU as E,c0 as $,u as x,aX as _,C as k,c1 as H,c2 as X,aN as q,l as F,aK as G,o as p,ai as L,b8 as N,am as Q,O,aL as U,aM as Y,aR as z,b2 as J,b3 as W,aS as Z,c3 as ee}from"./index-CNlrlDCR.js";import{w,b as te,n as g}from"./vendor-Bs1fkIUX.js";import{z as ae,I as re}from"./ReloadCard-Bona9vKC-D3qLHDXx.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const ie=g(z)`
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{c as v,q as S,l as A,j as t,bF as B,O as u,aN as b,b3 as H,B as P,o as i,y as E,b$ as z,bw as F,u as c,h as T,am as y,aM as V,a$ as D}from"./index-D1nPjz5w.js";import{n as l,w as M,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-CCozxHYZ-zQ9IPQsm.js";import{b as O}from"./TimeframeSwitcher-D6cl6mEI-ixXirDp4.js";import{d as Z}from"./NoDataTable-BuOEBuzz-CwF0SffS.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./ReloadCard-fGYgjJqh-DZSQgRMN.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",I=i.sp4,N="123px",R=l(D)`
1
+ import{c as v,q as S,l as A,j as t,bF as B,O as u,aN as b,b3 as H,B as P,o as i,y as E,b$ as z,bw as F,u as c,h as T,am as y,aM as V,a$ as D}from"./index-CNlrlDCR.js";import{n as l,w as M,b as o}from"./vendor-Bs1fkIUX.js";import{E as _,I as L}from"./TopExCard-DvtdF67v-B3CWdFbO.js";import{b as O}from"./TimeframeSwitcher-Tzlqetbm-B9foLkiM.js";import{d as Z}from"./NoDataTable-CEBjocIi-DNl_Uv6C.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./ReloadCard-Bona9vKC-D3qLHDXx.js";import"./graphic-no-data-l-DU4J8fDt-DTLZpyxa.js";const j="141px",I=i.sp4,N="123px",R=l(D)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{Q as Bn,m as qn,c as Et,aa as Fn,q as ae,O as q,aP as Jt,e7 as Wn,e8 as Hn,cS as Gn,aC as Yn,e9 as tn,l as me,ea as Jn,j as i,aM as F,ad as Qn,bF as Zn,eb as Xn,ec as Kn,P as ai,ed as ki,aQ as ea,y as N,ee as ta,ef as nn,eg as an,eh as on,ei as Oe,ej as Le,ek as _e,el as et,em as tt,en as kt,eo as zt,ep as it,eq as ft,er as At,es as Vt,et as Qt,eu as ee,ev as Kt,ew as ue,ex as pe,aJ as ia,ey as Tt,ez as zi,eA as na,n as aa,cD as oa,o as a,cr as sa,eB as la,u as O,B as xi,h as le,ar as Ii,b9 as oi,M as ra,eC as ca,cy as da,cw as si,aN as je,d3 as lt,eD as ua,eE as Wt,aT as sn,d8 as pa,eF as ma,cu as ha,cv as ga,am as ye,a$ as fa,dn as ya,eG as ln,eH as Zt,eI as Xt,eJ as pi,dz as ba,b3 as xa,cH as va,db as Di,a9 as rn,eK as ei,eL as ti,eM as cn,d9 as dn,c5 as Ti,eN as mi,dE as hi,eO as wa,bw as Ca,eP as $a,eQ as Ai,eR as Ia,az as Da,dc as Ta,eS as Oa,b as un,eT as pn,bP as La,eU as Vi,eV as mn,eW as hn,eX as gn,bN as rt,av as ja,au as Sa,dM as ka,C as fn,eY as za,bL as Aa,A as Va,an as Ra,I as Ea,aV as vi}from"./index-D1nPjz5w.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-DqMx_rRJ-BPndQQWI.js";import{R as Pa}from"./TrendWithTransactions-DSvuHSYn-CNS_Ztci.js";import{u as _a,c as Na,d as Ma,m as Ua}from"./uploadAttachment-CFrxv9Ss-DFH28WTz.js";import{o as Ba}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TrendChart-B5zZ_iLE-bFzkiVjv.js";import"./chartTypes-C_6O8OzB-CzjLcljP.js";import"./toCOABalancesWithID-C-y5OtQv-CoY_0Qcv.js";import"./toChartData-Bb8ybdL4-BsfgBb2C.js";import"./NoDataChart-WU_4erjb-CKLbW7xC.js";import"./InsightsSection-CuWVeSOd-9ENBzs4K.js";import"./NavigationDots-Dgv1gTJb-Cic-hNfr.js";import"./TransactionList-DQTlLOw7-BlBimHvW.js";import"./BoxItem-BD-djRQm-D3HB6nzR.js";import"./commonDimensions-8JDQDT8B-DqnJUzDZ.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
1
+ import{Q as Bn,m as qn,c as Et,aa as Fn,q as ae,O as q,aP as Jt,e7 as Wn,e8 as Hn,cS as Gn,aC as Yn,e9 as tn,l as me,ea as Jn,j as i,aM as F,ad as Qn,bF as Zn,eb as Xn,ec as Kn,P as ai,ed as ki,aQ as ea,y as N,ee as ta,ef as nn,eg as an,eh as on,ei as Oe,ej as Le,ek as _e,el as et,em as tt,en as kt,eo as zt,ep as it,eq as ft,er as At,es as Vt,et as Qt,eu as ee,ev as Kt,ew as ue,ex as pe,aJ as ia,ey as Tt,ez as zi,eA as na,n as aa,cD as oa,o as a,cr as sa,eB as la,u as O,B as xi,h as le,ar as Ii,b9 as oi,M as ra,eC as ca,cy as da,cw as si,aN as je,d3 as lt,eD as ua,eE as Wt,aT as sn,d8 as pa,eF as ma,cu as ha,cv as ga,am as ye,a$ as fa,dn as ya,eG as ln,eH as Zt,eI as Xt,eJ as pi,dz as ba,b3 as xa,cH as va,db as Di,a9 as rn,eK as ei,eL as ti,eM as cn,d9 as dn,c5 as Ti,eN as mi,dE as hi,eO as wa,bw as Ca,eP as $a,eQ as Ai,eR as Ia,az as Da,dc as Ta,eS as Oa,b as un,eT as pn,bP as La,eU as Vi,eV as mn,eW as hn,eX as gn,bN as rt,av as ja,au as Sa,dM as ka,C as fn,eY as za,bL as Aa,A as Va,an as Ra,I as Ea,aV as vi}from"./index-CNlrlDCR.js";import{b as w,n as l,w as Ot}from"./vendor-Bs1fkIUX.js";import{x as Ri}from"./LabeledControlledCheckBoxField-BiK4ogZm-c9CcEs0l.js";import{R as Pa}from"./TrendWithTransactions-Cb9SG4qI-C9p_KZtY.js";import{u as _a,c as Na,d as Ma,m as Ua}from"./uploadAttachment-eOCG4lqX-Cia4WwXe.js";import{o as Ba}from"./radio-default-CiSgisfh-Cuu8ymvq.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./TrendChart-Dxh3-dI5-B_8GCn4f.js";import"./chartTypes-CnEyojFG-D7BroGGV.js";import"./toCOABalancesWithID-DRNrcBR0-DJQf9Bqy.js";import"./toChartData-CFK0sUQp-BNp7wo3I.js";import"./NoDataChart-DadKXWhF-DjOaZI02.js";import"./InsightsSection-B5J2sEZc-DanwTbiG.js";import"./NavigationDots-BE7tpxpw-DN71mEHU.js";import"./TransactionList-CnZjjl2c-vA-1RO1_.js";import"./BoxItem-C1KRBJyb-C3M3WVSU.js";import"./commonDimensions-7pGp5bkY-s3Pf7lJk.js";const qa={headerMarginTop:new N(O[7],O[8])},Fa=l(ye)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Wa=l(ye)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{cr as rt,q as B,j as e,b3 as nt,aM as u,dz as st,O as y,dA as lt,dt,dB as ct,o as a,h as Z,cH as mt,y as U,l as m,P as ft,am as j,u as b,ai as xt,dC as W,df as K,aN as _,an as ut}from"./index-D1nPjz5w.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as G}from"./BoxItem-BD-djRQm-D3HB6nzR.js";import{o as E}from"./commonDimensions-8JDQDT8B-DqnJUzDZ.js";const F=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
1
+ import{cr as rt,q as B,j as e,b3 as nt,aM as u,dz as st,O as y,dA as lt,dt,dB as ct,o as a,h as Z,cH as mt,y as U,l as m,P as ft,am as j,u as b,ai as xt,dC as W,df as K,aN as _,an as ut}from"./index-CNlrlDCR.js";import{b as g,n as s,w as ht}from"./vendor-Bs1fkIUX.js";import{g as G}from"./BoxItem-C1KRBJyb-C3M3WVSU.js";import{o as E}from"./commonDimensions-7pGp5bkY-s3Pf7lJk.js";const F=t=>t?24:125,pt={containerPaddingBottom:new U(b[9],b[8])},V=s.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,q as L,ax as W,aD as ie,aX as ne,l as D,j as t,aM as x,b3 as re,O as w,u as n,C as ae,h as B,o,b as j,H as q,bu as se,bv as le,ai as de,ar as ce,aN as me,bw as pe,ap as he,P as ue,n as Z,B as G,bx as Q,aS as ee}from"./index-D1nPjz5w.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-Bpu-T-PS-DD4Yxa9_.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./SummaryCard-DhuCj_-n-D_pp-brj.js";import"./ReloadCard-fGYgjJqh-DZSQgRMN.js";import"./NavigationArrow-DXc3Y5uM-DDg548fX.js";import"./NavigationDots-Dgv1gTJb-Cic-hNfr.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},be=i.div`
1
+ import{y as a,q as L,ax as W,aD as ie,aX as ne,l as D,j as t,aM as x,b3 as re,O as w,u as n,C as ae,h as B,o,b as j,H as q,bu as se,bv as le,ai as de,ar as ce,aN as me,bw as pe,ap as he,P as ue,n as Z,B as G,bx as Q,aS as ee}from"./index-CNlrlDCR.js";import{b as N,n as i,w as f,i as ge}from"./vendor-Bs1fkIUX.js";import{Y as xe,c as we}from"./AccountsPromoCardStack-BIIf2ZPZ-D_7eECoF.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./SummaryCard-BDnipH2b-BOr1nqnj.js";import"./ReloadCard-Bona9vKC-D3qLHDXx.js";import"./NavigationArrow-jh-Hkf_V-C-WlMlIE.js";import"./NavigationDots-BE7tpxpw-DN71mEHU.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},be=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,ye=i.div`
@@ -1,4 +1,4 @@
1
- import{c as M,bD as R,bE as z,j as o,aM as u,bF as G,P as X,bG as _,o as n,am as q}from"./index-D1nPjz5w.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as H}from"./TransactionList-DQTlLOw7-BlBimHvW.js";import{t as J}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-BD-djRQm-D3HB6nzR.js";import"./commonDimensions-8JDQDT8B-DqnJUzDZ.js";const K=l.div`
1
+ import{c as M,bD as R,bE as z,j as o,aM as u,bF as G,P as X,bG as _,o as n,am as q}from"./index-CNlrlDCR.js";import{b as r,n as l}from"./vendor-Bs1fkIUX.js";import{f as H}from"./TransactionList-CnZjjl2c-vA-1RO1_.js";import{t as J}from"./page-detail-CWX5S47F-lMo0MYzU.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-C1KRBJyb-C3M3WVSU.js";import"./commonDimensions-7pGp5bkY-s3Pf7lJk.js";const K=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{q as H,O as k,j as o,P as B,aM as D,aQ as W,o as a,y as g,A as Q,b as U,dh as _,aa as G,hc as M,hd as F,he as R,cS as J,ad as K,u as r,c as X,cV as Y,gT as z,hj as Z,b6 as ee,hn as oe,ho as te}from"./index-D1nPjz5w.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=X(),$=N.labelWidth.value(l),P=N.controlWidth.value(l),I=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"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(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>I(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(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,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(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:P}):null]})]})},re=d.div`
1
+ import{q as H,O as k,j as o,P as B,aM as D,aQ as W,o as a,y as g,A as Q,b as U,dh as _,aa as G,hc as M,hd as F,he as R,cS as J,ad as K,u as r,c as X,cV as Y,gT as z,hj as Z,b6 as ee,hn as oe,ho as te}from"./index-CNlrlDCR.js";import{b as j,n as d}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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:p,selectedOwnerId:t,selectedVendorName:m,allAccounts:h,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=H(),y=X(),$=N.labelWidth.value(l),P=N.controlWidth.value(l),I=n=>h.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=h.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"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(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>I(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(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:p,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(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:P}):null]})]})},re=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,q as ue,aM as P,hw as lt,O as I,aN as G,n as ve,hG as ct,P as Ye,aQ as $e,o as a,y as c,A as Ne,s as dt,b8 as ut,ar as ft,_ as De,ai as be,am as fe,aP as ce,fG as pt,aa as Xe,l as mt,cS as ht,aX as gt,aO as wt,h as Q,ad as qe,fP as ke,fQ as Pe,gm as xt,c5 as ye,gh as $t,hH as Dt,u as o,fB as bt,cw as Ge,ce as yt,dm as Tt,bP as Ct,an as Ue,fL as St,dM as vt,cg as Qe,fS as kt,fU as Pt}from"./index-D1nPjz5w.js";import{b as u,n as r}from"./vendor-Bs1fkIUX.js";import{v as At}from"./ZeniTransferAmountSlider-izX-5d28-J5aTuWeK.js";import{r as Lt}from"./AccountInfoPageContent-DSkZv5-h-AM86WFLo.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-vDlVeOoZ-BS5vqkJQ.js";import"./commonDimensions-8JDQDT8B-DqnJUzDZ.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Ae="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,n)=>`${e}.${n}`,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:n,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:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),E=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),[Y,N]=u.useState(!1),H=n.transferMoneyPartiesFetchState,oe=ce(H),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=n.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),A=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(n,se),[n])});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&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&A.reset(Le(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,A,n,q]);const{isValid:tt}=A.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=A.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=n.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=n.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()}},[A,n.transferMoneyParties]),u.useEffect(()=>{const s=A.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const rt=A.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&A.setValue(`${k}.${Ae}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,se,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),nt=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(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:n.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(ra,{"data-testid":P("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(Yt,{children:G("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(qe,{...A,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:rt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Ae),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!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:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",nt)}),t.jsx(At,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Qt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":P("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":P("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,n)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:re(e,!1,n,!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=r.div`
1
+ import{j as t,q as ue,aM as P,hw as lt,O as I,aN as G,n as ve,hG as ct,P as Ye,aQ as $e,o as a,y as c,A as Ne,s as dt,b8 as ut,ar as ft,_ as De,ai as be,am as fe,aP as ce,fG as pt,aa as Xe,l as mt,cS as ht,aX as gt,aO as wt,h as Q,ad as qe,fP as ke,fQ as Pe,gm as xt,c5 as ye,gh as $t,hH as Dt,u as o,fB as bt,cw as Ge,ce as yt,dm as Tt,bP as Ct,an as Ue,fL as St,dM as vt,cg as Qe,fS as kt,fU as Pt}from"./index-CNlrlDCR.js";import{b as u,n as r}from"./vendor-Bs1fkIUX.js";import{v as At}from"./ZeniTransferAmountSlider-BVaeHoig-Co6KOqsD.js";import{r as Lt}from"./AccountInfoPageContent-BfxVO67L-CSuKa297.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-DeWDMgGW-DDRmaByO.js";import"./commonDimensions-7pGp5bkY-s3Pf7lJk.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ze="amount",jt="transferTo",Ae="transferFrom",k="transferDetails",Je="transferDetailPage",ge=(e,n)=>`${e}.${n}`,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:n,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:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:K}){const i=ue(),E=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),[Y,N]=u.useState(!1),H=n.transferMoneyPartiesFetchState,oe=ce(H),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=n.transferMoneyParties.map(s=>s.id),me=ce(pe),He=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:He,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),A=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(n,se),[n])});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&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&H==="Completed"||ie!==X||Te!==ee||s)&&A.reset(Le(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,Te,ee,X,me,pe,A,n,q]);const{isValid:tt}=A.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};Z(le)}};u.useEffect(()=>{const s=A.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=n.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=n.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()}},[A,n.transferMoneyParties]),u.useEffect(()=>{const s=A.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const rt=A.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&A.setValue(`${k}.${Ae}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,se,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),nt=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(Rt,{children:[t.jsxs(Et,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:n.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(ra,{"data-testid":P("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Q.heroLight}})})]})}):null,t.jsx(Yt,{children:G("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(qe,{...A,children:t.jsxs(Mt,{id:Ke(Je),onSubmit:rt,children:[t.jsxs(ta,{children:[t.jsx(Re,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Ae),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Re,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Pe(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!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:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ze),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Gt,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",nt)}),t.jsx(At,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Ut,{windowSize:i,children:[t.jsx(Jt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Qt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${G("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Zt,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${G("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":P("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Ht,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":P("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,n)=>({transferDetails:{[Ze]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:re(e,!1,n,!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=r.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{q as C,c as M,a9 as Fe,cr as Ke,j as t,O as L,aN as W,c5 as ae,bF as Ve,C as ie,aM as E,P as We,o as i,ai as k,h as w,bP as Ee,y,ft as _,b as B,l as V,u as p,hz as le,be as de,bh as ce,bg as he,bf as pe,bS as Ge,bZ as Le,aS as Me,ax as Ue,g3 as Xe,h3 as Je,n as _e,am as O,a$ as Ze,ji as qe,jV as Qe,bk as et,f0 as tt,dr as it,fL as ot,kR as rt,iX as Oe,iY as Ae,cH as at,iP as nt,iQ as st,c3 as lt,an as G,cM as xe,iW as dt,cP as ct}from"./index-D1nPjz5w.js";import{b as f,n as o,w as ht,i as ge}from"./vendor-Bs1fkIUX.js";import{s as pt}from"./commonDimensions-8JDQDT8B-DqnJUzDZ.js";import{g as me}from"./BoxItem-BD-djRQm-D3HB6nzR.js";import{l as ne,n as xt}from"./treasuryColorHelper-DU3jMQtW-D0wC3-eK.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const $t=ht.memo(wt),jt=o.div`
1
+ import{q as C,c as M,a9 as Fe,cr as Ke,j as t,O as L,aN as W,c5 as ae,bF as Ve,C as ie,aM as E,P as We,o as i,ai as k,h as w,bP as Ee,y,ft as _,b as B,l as V,u as p,hz as le,be as de,bh as ce,bg as he,bf as pe,bS as Ge,bZ as Le,aS as Me,ax as Ue,g3 as Xe,h3 as Je,n as _e,am as O,a$ as Ze,ji as qe,jV as Qe,bk as et,f0 as tt,dr as it,fL as ot,kR as rt,iX as Oe,iY as Ae,cH as at,iP as nt,iQ as st,c3 as lt,an as G,cM as xe,iW as dt,cP as ct}from"./index-CNlrlDCR.js";import{b as f,n as o,w as ht,i as ge}from"./vendor-Bs1fkIUX.js";import{s as pt}from"./commonDimensions-7pGp5bkY-s3Pf7lJk.js";import{g as me}from"./BoxItem-C1KRBJyb-C3M3WVSU.js";import{l as ne,n as xt}from"./treasuryColorHelper-CkFH6agH-CJJZ2dhe.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CGEA36Na.js";import{o as mt}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Oe,Ae),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(lt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const $t=ht.memo(wt),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{c as de,q as A,ax as $e,a9 as fe,aP as ye,l as ke,O,j as r,bF as je,o as t,ji as be,c5 as Se,ai as j,n as J,aM as Z,b as $,ar as F,h as a,y as z,am as R,dr as ze,c7 as ve,s as Le,an as Me,fn as Pe,u as h,e4 as Be,bj as Ee,_ as Te,A as Ie,C as Q,dh as De}from"./index-D1nPjz5w.js";import{b as s,n as i,w as We}from"./vendor-Bs1fkIUX.js";import{x as _e}from"./MeetingCalenderPopup-BmKNLvzF-i9bXWpYY.js";import{I as Re,K as Ge}from"./VideoPlayer-Cb41U-f6-DM4DcdBt.js";import{l as He}from"./treasuryColorHelper-DU3jMQtW-D0wC3-eK.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const Oe=({isOpen:e,onClose:C})=>{const c=A(),x=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Pe,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ue,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ye,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(ee,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Ze,{children:g.link!==""?r.jsx(re,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(re,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(ee,{style:{marginTop:t.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Fe=i.div`
1
+ import{c as de,q as A,ax as $e,a9 as fe,aP as ye,l as ke,O,j as r,bF as je,o as t,ji as be,c5 as Se,ai as j,n as J,aM as Z,b as $,ar as F,h as a,y as z,am as R,dr as ze,c7 as ve,s as Le,an as Me,fn as Pe,u as h,e4 as Be,bj as Ee,_ as Te,A as Ie,C as Q,dh as De}from"./index-CNlrlDCR.js";import{b as s,n as i,w as We}from"./vendor-Bs1fkIUX.js";import{x as _e}from"./MeetingCalenderPopup-_Dd08iTt--A9qJ9J9.js";import{I as Re,K as Ge}from"./VideoPlayer-C5XJLW5o-BVfx48ed.js";import{l as He}from"./treasuryColorHelper-CkFH6agH-CJJZ2dhe.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as Ae}from"./shield-DOlUxcFf-CDkNAu2o.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const Oe=({isOpen:e,onClose:C})=>{const c=A(),x=O.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Pe,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Fe,{windowSize:c,children:[r.jsx(Ve,{children:r.jsx(Ue,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Ye,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(ee,{children:x.agreementDrawer.intro}),r.jsx(H,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(H,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ke,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((g,k)=>r.jsx(Ze,{children:g.link!==""?r.jsx(re,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(re,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(ee,{style:{marginTop:t.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(H,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Fe=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{a9 as rt,c as lt,q as we,aP as xe,aa as Se,cS as Ce,O as be,aU as he,j as t,fn as ct,h as dt,y as h,bF as ut,P as pt,ad as ke,e6 as ft,bA as ht,u as n,aX as mt,aO as gt,n as yt,c5 as wt,aM as xt,cY as St,aQ as Ct,o as i,am as Te,_ as bt,A as kt,b as Tt,H as Ot}from"./index-D1nPjz5w.js";import{b as a,n as o}from"./vendor-Bs1fkIUX.js";import{D as vt}from"./HelpButton-BaVV3VxQ-CFV69sbB.js";import{r as It}from"./verification-CW6uEyev-CQXAdM_w.js";import{K as me}from"./SetUpDefaultSection-B4LaVQo1-CDRhIiLj.js";import{f as At}from"./SpendMgmtSetupAccountSection-DlImXjOJ-CFdqUGJW.js";import Pt from"./PortfolioAllocationFormPage-DJc_lK9s-CreqeJie.js";import $t from"./TreasuryTransferOrReviewPage-Dp4AKOqL-BYYvplct.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-BmKNLvzF-i9bXWpYY.js";import"./ChargeCardUtils-Dwqf53QP-Dkm3A_Rc.js";import"./CreditCardPaymentPlgSection-CuIlFT9n-F69AAH3U.js";import"./ChaseOverlay-Bu_ypxC4-oExidXLY.js";import"./PortfolioDetails-t6XpVdnH-CHY-KKR1.js";import"./treasuryColorHelper-DU3jMQtW-D0wC3-eK.js";const Et=(e,g)=>`${e}.${g}`,G={labelWidth:new h(145,155),navBarContainerPaddingYaxis:new h(10,n[3]),containerPaddingLeft:new h(n[3],n[6],n[8]),containerPaddingRight:new h(n[3],n[6],n[8])},Lt={stepTitle:new Tt("h6Regular","h5Regular")},Oe=be.getLocalizedStrings(),{common:ee,spendManagement:{treasury:{transferDrawer:{review:{footNoteForVerification:Ft}}}}}=Oe,l=Oe.commonSetUp.businessVerification,te=l.sourceOfFundOptions,F="additionalVerificationFields",jt=({companyOfficer:e,companyDetails:g,updateStatus:S,isDetailsSubmitted:b,isTransferInitiated:s,transferDetails:P,skipTransferStep:D,onClose:$,onAdditionalVerificationFieldsChanged:R,onSendForVerificationClick:w,onCloseOverlay:k})=>{const m=we(),X=G.labelWidth.value(m),E=xe(S.fetchState),T=Se({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[F]:{sourceOfFunds:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)}}}),[g?.sourceOfFunds])}),q=p=>te[p]??p,Y=T.handleSubmit(()=>{w(e?.officerType??"Officer_1",s)}),J=async(p,O)=>{R(O[F])};return a.useEffect(()=>{const p=T.watch((O,{name:V})=>{V!=null&&O!=null&&Ce(()=>J(V,O))});return()=>{p.unsubscribe()}}),E==="In-Progress"&&S.fetchState==="Completed"||b===!0?t.jsxs(Wt,{children:[t.jsxs(Bt,{children:[t.jsx(It,{}),t.jsx(Nt,{windowSize:m,children:s===!0?l.submittedTitleWithTransfer:l.submittedTitle}),t.jsx(_t,{children:s===!0?l.submittedDescriptionWithTransfer.replace("__amount__",mt(gt(P?.treasuryTransferMoneyLocalData?.amount?.amount??0),P?.treasuryTransferMoneyLocalData?.amount?.amount??0,ee.currency.currencySymbol)).replace("__account__",P?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):l.submittedDescription})]}),t.jsx(yt,{label:l.submittedButton,onClick:k,variant:"primary"})]}):t.jsxs(Dt,{windowSize:m,children:[t.jsx(Rt,{windowSize:m,children:t.jsx(wt,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(Vt,{"data-testid":xt("nav-bar-back-portfolio-allocation"),onClick:k||$})})}),t.jsxs(Mt,{windowSize:m,children:[t.jsx(Ut,{windowSize:m,children:D===!0?l.verifyBusinessDetailsWithoutTransfer:l.verifyBusinessDetails}),t.jsx(Ht,{children:t.jsxs(Gt,{children:[t.jsx(ge,{}),D!==!0&&t.jsx(ge,{}),t.jsx(Xt,{})]})})]}),t.jsx(ve,{children:l.verifyBusinessDetailsDescription}),t.jsx(ke,{...T,children:t.jsxs("form",{id:F,onSubmit:Y,children:[t.jsx(zt,{children:t.jsx(St,{label:{label:l.sourceOfFundsLabel,width:X},style:{width:"auto"},additionalInfoLabel:l.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:Et(F,"sourceOfFunds"),placeholder:l.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:q,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)},registerOptions:{required:!0,validate:p=>!!p?.selectedOption}},isFunctional:!0,errorInfoLabel:l.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ct,{formId:F,primaryBtn:{label:ee.footer.submit,style:{width:"auto",minWidth:m==="small"?"auto":"83px"},isLoading:S.fetchState==="In-Progress"},cancelBtn:{label:ee.footer.back,style:{width:m==="small"?"auto":"83px"},onClick:$},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2},helperText:s===!0?Ft:void 0,helperStyle:{padding:`${i.sp0} ${i.sp0} ${i.sp3} ${i.sp0}`}})]})})]})},Dt=o.div`
1
+ import{a9 as rt,c as lt,q as we,aP as xe,aa as Se,cS as Ce,O as be,aU as he,j as t,fn as ct,h as dt,y as h,bF as ut,P as pt,ad as ke,e6 as ft,bA as ht,u as n,aX as mt,aO as gt,n as yt,c5 as wt,aM as xt,cY as St,aQ as Ct,o as i,am as Te,_ as bt,A as kt,b as Tt,H as Ot}from"./index-CNlrlDCR.js";import{b as a,n as o}from"./vendor-Bs1fkIUX.js";import{D as vt}from"./HelpButton-DaQz2Rn_-DQMmTiv0.js";import{r as It}from"./verification-CW6uEyev-CQXAdM_w.js";import{K as me}from"./SetUpDefaultSection-C_i-c6Pb-DIYHx2AJ.js";import{f as At}from"./SpendMgmtSetupAccountSection--Epy5zv7-DjNrG5sJ.js";import Pt from"./PortfolioAllocationFormPage-BEO6F8kp-B5heO9ft.js";import $t from"./TreasuryTransferOrReviewPage-CwcgoKq8-DJgpLqXi.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-_Dd08iTt--A9qJ9J9.js";import"./ChargeCardUtils-Bj-etojH-C-dZGdTM.js";import"./CreditCardPaymentPlgSection-Do0TNB0_-IV66dV3c.js";import"./ChaseOverlay-DO2J-ha8-D8qmrA0a.js";import"./PortfolioDetails-BUx1WGe6-DUfnE4JX.js";import"./treasuryColorHelper-CkFH6agH-CJJZ2dhe.js";const Et=(e,g)=>`${e}.${g}`,G={labelWidth:new h(145,155),navBarContainerPaddingYaxis:new h(10,n[3]),containerPaddingLeft:new h(n[3],n[6],n[8]),containerPaddingRight:new h(n[3],n[6],n[8])},Lt={stepTitle:new Tt("h6Regular","h5Regular")},Oe=be.getLocalizedStrings(),{common:ee,spendManagement:{treasury:{transferDrawer:{review:{footNoteForVerification:Ft}}}}}=Oe,l=Oe.commonSetUp.businessVerification,te=l.sourceOfFundOptions,F="additionalVerificationFields",jt=({companyOfficer:e,companyDetails:g,updateStatus:S,isDetailsSubmitted:b,isTransferInitiated:s,transferDetails:P,skipTransferStep:D,onClose:$,onAdditionalVerificationFieldsChanged:R,onSendForVerificationClick:w,onCloseOverlay:k})=>{const m=we(),X=G.labelWidth.value(m),E=xe(S.fetchState),T=Se({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[F]:{sourceOfFunds:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)}}}),[g?.sourceOfFunds])}),q=p=>te[p]??p,Y=T.handleSubmit(()=>{w(e?.officerType??"Officer_1",s)}),J=async(p,O)=>{R(O[F])};return a.useEffect(()=>{const p=T.watch((O,{name:V})=>{V!=null&&O!=null&&Ce(()=>J(V,O))});return()=>{p.unsubscribe()}}),E==="In-Progress"&&S.fetchState==="Completed"||b===!0?t.jsxs(Wt,{children:[t.jsxs(Bt,{children:[t.jsx(It,{}),t.jsx(Nt,{windowSize:m,children:s===!0?l.submittedTitleWithTransfer:l.submittedTitle}),t.jsx(_t,{children:s===!0?l.submittedDescriptionWithTransfer.replace("__amount__",mt(gt(P?.treasuryTransferMoneyLocalData?.amount?.amount??0),P?.treasuryTransferMoneyLocalData?.amount?.amount??0,ee.currency.currencySymbol)).replace("__account__",P?.treasuryTransferMoneyLocalData?.fromAccount?.label??""):l.submittedDescription})]}),t.jsx(yt,{label:l.submittedButton,onClick:k,variant:"primary"})]}):t.jsxs(Dt,{windowSize:m,children:[t.jsx(Rt,{windowSize:m,children:t.jsx(wt,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(Vt,{"data-testid":xt("nav-bar-back-portfolio-allocation"),onClick:k||$})})}),t.jsxs(Mt,{windowSize:m,children:[t.jsx(Ut,{windowSize:m,children:D===!0?l.verifyBusinessDetailsWithoutTransfer:l.verifyBusinessDetails}),t.jsx(Ht,{children:t.jsxs(Gt,{children:[t.jsx(ge,{}),D!==!0&&t.jsx(ge,{}),t.jsx(Xt,{})]})})]}),t.jsx(ve,{children:l.verifyBusinessDetailsDescription}),t.jsx(ke,{...T,children:t.jsxs("form",{id:F,onSubmit:Y,children:[t.jsx(zt,{children:t.jsx(St,{label:{label:l.sourceOfFundsLabel,width:X},style:{width:"auto"},additionalInfoLabel:l.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:Et(F,"sourceOfFunds"),placeholder:l.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:q,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:g?.sourceOfFunds??"",allOptions:Object.keys(te)},registerOptions:{required:!0,validate:p=>!!p?.selectedOption}},isFunctional:!0,errorInfoLabel:l.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ct,{formId:F,primaryBtn:{label:ee.footer.submit,style:{width:"auto",minWidth:m==="small"?"auto":"83px"},isLoading:S.fetchState==="In-Progress"},cancelBtn:{label:ee.footer.back,style:{width:m==="small"?"auto":"83px"},onClick:$},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2},helperText:s===!0?Ft:void 0,helperStyle:{padding:`${i.sp0} ${i.sp0} ${i.sp3} ${i.sp0}`}})]})})]})},Dt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${G.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${G.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{c as j,q as v,j as t,bF as z,O as P,b3 as C,o as r,h as c,cH as I,y as R,u as d,am as T}from"./index-D1nPjz5w.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-BD-djRQm-D3HB6nzR.js";import{o as E}from"./commonDimensions-8JDQDT8B-DqnJUzDZ.js";import{O as L}from"./StatementItem-Bj0m2lOr-3ODkb4F_.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-vDlVeOoZ-BS5vqkJQ.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.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(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,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.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
1
+ import{c as j,q as v,j as t,bF as z,O as P,b3 as C,o as r,h as c,cH as I,y as R,u as d,am as T}from"./index-CNlrlDCR.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-C1KRBJyb-C3M3WVSU.js";import{o as E}from"./commonDimensions-7pGp5bkY-s3Pf7lJk.js";import{O as L}from"./StatementItem-d3Ph76EP-BEqhNgDd.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-DeWDMgGW-DDRmaByO.js";const h=P.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new R(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>E.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(L,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:B(s,a.statements.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:h.noStatements})})})})};return t.jsxs(H,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,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.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=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{c as j,q as v,j as t,bF as L,O as z,b3 as P,o as r,h as c,cH as C,y as T,u as d,am as I}from"./index-D1nPjz5w.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-BD-djRQm-D3HB6nzR.js";import{o as B}from"./commonDimensions-8JDQDT8B-DqnJUzDZ.js";import{O as E}from"./StatementItem-Bj0m2lOr-3ODkb4F_.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-vDlVeOoZ-BS5vqkJQ.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=j(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.taxLetters[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:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:m.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=o.div``,p=o.div`
1
+ import{c as j,q as v,j as t,bF as L,O as z,b3 as P,o as r,h as c,cH as C,y as T,u as d,am as I}from"./index-CNlrlDCR.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-C1KRBJyb-C3M3WVSU.js";import{o as B}from"./commonDimensions-7pGp5bkY-s3Pf7lJk.js";import{O as E}from"./StatementItem-d3Ph76EP-BEqhNgDd.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./downloadPdf-DeWDMgGW-DDRmaByO.js";const m=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:b,taxLetterListView:a,onBackClick:u})=>{const g=j(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.taxLetters[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:w,downloadEndPoint:b,documentType:"taxLetter",boxType:R(s,a.taxLetters.length)},l.id)}):t.jsx(M,{style:{...n},children:t.jsx(O,{children:t.jsx(p,{windowSize:i,children:t.jsx(N,{children:m.noTaxLetter})})})})};return t.jsxs(H,{children:[t.jsx(L,{title:m.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},M=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{q as ye,aC as Pt,j as r,aM as D,hw as Ct,O as $e,aN as q,n as qe,P as at,aQ as nt,o as t,y as w,A as Oe,s as zt,b6 as Dt,c as Lt,aP as Q,c5 as Ft,ft as st,b as O,l as L,gG as Mt,h as j,ar as Rt,H as lt,ai as I,am as Y,fG as Bt,aa as Ot,cS as It,ad as Et,gm as _t,u as d,ce as ct,fB as dt,cw as ut,dm as Nt,dd as Vt,fS as Wt,fK as qt,a9 as Yt,an as Gt,fL as Xt,dM as Jt,cM as Ut,cL as Kt,bz as Qt,bX as Zt,fU as Ht,g1 as er,aX as tr}from"./index-D1nPjz5w.js";import{n as o,b as y}from"./vendor-Bs1fkIUX.js";import{q as pt}from"./PortfolioDetails-t6XpVdnH-CHY-KKR1.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./treasuryColorHelper-DU3jMQtW-D0wC3-eK.js";const rr=$e.getLocalizedStrings().spendManagement.treasury,R=[0,125e4,25e5,35e5,5e6],or=1e3;function ir({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:i}){const l=Yt().analytics,[c,h]=y.useState(a);y.useEffect(()=>{h(a)},[a]);const p=f=>{const $=parseFloat(f.target.value),s=ge($,e);h($),u(s),i($),l.trackTreasuryCalculatorClick("fund transfer",$)},k=f=>{const $=ge(f,e);h(f),i(f),u($),l.trackTreasuryCalculatorClick("fund transfer",f)};return r.jsxs(cr,{sliderValue:c,children:[r.jsx(lr,{sliderValue:c,type:"range",min:R[0],max:R[R.length-1],step:or,value:c,onChange:p}),r.jsx(dr,{style:{width:`${Math.min(c/R[R.length-1]*92.5,92.5)}%`}}),r.jsx(mr,{sliderValue:c,style:{left:`calc(${Math.min(Math.max(c/R[R.length-1]*100,5),95)}% - 50px)`},children:ar(c)}),r.jsx(ur,{children:R.map((f,$)=>r.jsx(pr,{onClick:()=>k(f),"data-testid":D("slider-label",f.toString()),style:{left:nr($)},children:r.jsx(hr,{isSelected:c>=f,children:sr(f)})},f))})]})}const ar=e=>{const a=tr("0,0.[00]a",e,"$").toUpperCase();return`${rr.transferDrawer.calculator.sliderTooltipText} ${a}`};function ge(e,a){const u=a/100,i=e*Math.pow(1+u/12,12);return Math.floor(i-e)}const nr=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%"}},sr=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),lr=o.input`
1
+ import{q as ye,aC as Pt,j as r,aM as D,hw as Ct,O as $e,aN as q,n as qe,P as at,aQ as nt,o as t,y as w,A as Oe,s as zt,b6 as Dt,c as Lt,aP as Q,c5 as Ft,ft as st,b as O,l as L,gG as Mt,h as j,ar as Rt,H as lt,ai as I,am as Y,fG as Bt,aa as Ot,cS as It,ad as Et,gm as _t,u as d,ce as ct,fB as dt,cw as ut,dm as Nt,dd as Vt,fS as Wt,fK as qt,a9 as Yt,an as Gt,fL as Xt,dM as Jt,cM as Ut,cL as Kt,bz as Qt,bX as Zt,fU as Ht,g1 as er,aX as tr}from"./index-CNlrlDCR.js";import{n as o,b as y}from"./vendor-Bs1fkIUX.js";import{q as pt}from"./PortfolioDetails-BUx1WGe6-DUfnE4JX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./treasuryColorHelper-CkFH6agH-CJJZ2dhe.js";const rr=$e.getLocalizedStrings().spendManagement.treasury,R=[0,125e4,25e5,35e5,5e6],or=1e3;function ir({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:i}){const l=Yt().analytics,[c,h]=y.useState(a);y.useEffect(()=>{h(a)},[a]);const p=f=>{const $=parseFloat(f.target.value),s=ge($,e);h($),u(s),i($),l.trackTreasuryCalculatorClick("fund transfer",$)},k=f=>{const $=ge(f,e);h(f),i(f),u($),l.trackTreasuryCalculatorClick("fund transfer",f)};return r.jsxs(cr,{sliderValue:c,children:[r.jsx(lr,{sliderValue:c,type:"range",min:R[0],max:R[R.length-1],step:or,value:c,onChange:p}),r.jsx(dr,{style:{width:`${Math.min(c/R[R.length-1]*92.5,92.5)}%`}}),r.jsx(mr,{sliderValue:c,style:{left:`calc(${Math.min(Math.max(c/R[R.length-1]*100,5),95)}% - 50px)`},children:ar(c)}),r.jsx(ur,{children:R.map((f,$)=>r.jsx(pr,{onClick:()=>k(f),"data-testid":D("slider-label",f.toString()),style:{left:nr($)},children:r.jsx(hr,{isSelected:c>=f,children:sr(f)})},f))})]})}const ar=e=>{const a=tr("0,0.[00]a",e,"$").toUpperCase();return`${rr.transferDrawer.calculator.sliderTooltipText} ${a}`};function ge(e,a){const u=a/100,i=e*Math.pow(1+u/12,12);return Math.floor(i-e)}const nr=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%"}},sr=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),lr=o.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
1
- import{O as Y,j as n,l as u,c as Z,aM as w,b3 as z,bQ as A,bR as F,bh as O,C as k,bg as P,aX as B,bS as q,bi as _,bU as G,o as L,h as K,am as N}from"./index-D1nPjz5w.js";import{b as D,w as X,n as $}from"./vendor-Bs1fkIUX.js";import{d as Q,g as M,p as v,u as V}from"./chartTypes-C_6O8OzB-CzjLcljP.js";import{o as W}from"./toCOABalancesWithID-C-y5OtQv-CoY_0Qcv.js";import{V as U}from"./toChartData-Bb8ybdL4-BsfgBb2C.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=$.div`
1
+ import{O as Y,j as n,l as u,c as Z,aM as w,b3 as z,bQ as A,bR as F,bh as O,C as k,bg as P,aX as B,bS as q,bi as _,bU as G,o as L,h as K,am as N}from"./index-CNlrlDCR.js";import{b as D,w as X,n as $}from"./vendor-Bs1fkIUX.js";import{d as Q,g as M,p as v,u as V}from"./chartTypes-CnEyojFG-D7BroGGV.js";import{o as W}from"./toCOABalancesWithID-DRNrcBR0-DJQf9Bqy.js";import{V as U}from"./toChartData-CFK0sUQp-BNp7wo3I.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=$.div`
2
2
  display: flex;
3
3
  `,I=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{q as D,j as i,P as R,o as t,O as b,y as c,aM as S,b3 as q,b6 as Y,_,u as a,am as E,A as K}from"./index-D1nPjz5w.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import V from"./TrendChart-B5zZ_iLE-bFzkiVjv.js";import{C as W}from"./NoDataChart-WU_4erjb-CKLbW7xC.js";import{q as X}from"./InsightsSection-CuWVeSOd-9ENBzs4K.js";import{f as Z}from"./TransactionList-DQTlLOw7-BlBimHvW.js";const G=n.div`
1
+ import{q as D,j as i,P as R,o as t,O as b,y as c,aM as S,b3 as q,b6 as Y,_,u as a,am as E,A as K}from"./index-CNlrlDCR.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import V from"./TrendChart-Dxh3-dI5-B_8GCn4f.js";import{C as W}from"./NoDataChart-DadKXWhF-DjOaZI02.js";import{q as X}from"./InsightsSection-B5J2sEZc-DanwTbiG.js";import{f as Z}from"./TransactionList-CnZjjl2c-vA-1RO1_.js";const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{c as ce,q as se,ax as Ke,aP as en,gO as R,hP as U,O as H,aa as nn,hQ as tn,hR as Te,cS as on,j as t,bF as cn,cD as sn,cE as ln,cF as an,ad as rn,l as J,hS as dn,P as un,hT as Y,hU as pn,aQ as mn,hV as _e,y as u,am as gn,o as l,d3 as fe,aU as W,gT as oe,hW as ie,u as d,b as Ae,h as $e,gg as Ve,ai as Se,bm as xn}from"./index-D1nPjz5w.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{D as hn}from"./HelpButton-BaVV3VxQ-CFV69sbB.js";import{h as wn}from"./VendorsAccountsSection-BiNVJqC3-Ppgy5g_M.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-BmKNLvzF-i9bXWpYY.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{c as ce,q as se,ax as Ke,aP as en,gO as R,hP as U,O as H,aa as nn,hQ as tn,hR as Te,cS as on,j as t,bF as cn,cD as sn,cE as ln,cF as an,ad as rn,l as J,hS as dn,P as un,hT as Y,hU as pn,aQ as mn,hV as _e,y as u,am as gn,o as l,d3 as fe,aU as W,gT as oe,hW as ie,u as d,b as Ae,h as $e,gg as Ve,ai as Se,bm as xn}from"./index-CNlrlDCR.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{D as hn}from"./HelpButton-DaQz2Rn_-DQMmTiv0.js";import{h as wn}from"./VendorsAccountsSection-f-2HcYGZ-BRXVPbfC.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./MeetingCalenderPopup-_Dd08iTt--A9qJ9J9.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{aP as b,j as t,hY as R,hZ as _,q as F,O,cD as N,af as C,cE as U,cF as z,aa as M,ad as G,c$ as H,l as T,cX as D,y as g,cY as Y,h as A,ap as J,P as X,n as Z,o as i,am as K,u as E,ar as Q,b9 as ee}from"./index-D1nPjz5w.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[2]),width:new g(300,420,420)},te=f.div`
1
+ import{aP as b,j as t,hY as R,hZ as _,q as F,O,cD as N,af as C,cE as U,cF as z,aa as M,ad as G,c$ as H,l as T,cX as D,y as g,cY as Y,h as A,ap as J,P as X,n as Z,o as i,am as K,u as E,ar as Q,b9 as ee}from"./index-CNlrlDCR.js";import{b as c,n as f}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(E[3],E[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{aa as U,fV as x,aP as _,l as k,q as A,O as W,j as i,cS as q,ad as Q,aM as G,fW as H,o as a,h as J,d0 as K,aQ as X,y,A as Y,_ as Z,b9 as ee,b8 as te,u as c}from"./index-D1nPjz5w.js";import{b as m,n as l}from"./vendor-Bs1fkIUX.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:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:z}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,S]=m.useState(!1),[N,O]=m.useState(!1),b=_(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),V=k.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=A(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),M=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{o.unsubscribe()}}),i.jsx(Q,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":G("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:L})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(X,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{aa as U,fV as x,aP as _,l as k,q as A,O as W,j as i,cS as q,ad as Q,aM as G,fW as H,o as a,h as J,d0 as K,aQ as X,y,A as Y,_ as Z,b9 as ee,b8 as te,u as c}from"./index-CNlrlDCR.js";import{b as m,n as l}from"./vendor-Bs1fkIUX.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:P,updateFilesEntity:v,onSendForVerificationClick:D,onCompanyOfficerUpdated:z}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[C,S]=m.useState(!1),[N,O]=m.useState(!1),b=_(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),V=k.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=A(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&D?.(t?.officerType??"Officer_1")}),M=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(z?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&q(()=>M(d,p))});return()=>{o.unsubscribe()}}),i.jsx(Q,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":G("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:L})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:P,updateFilesEntity:v,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),C?i.jsx(X,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aP as o,O as E,j as i,hY as j,hZ as v}from"./index-D1nPjz5w.js";import{b as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:e,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=t.useState(!1),[O,a]=t.useState(e.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(e.userVerificationStatus.fetchState),f=o(e.otpVerificationStatus?.fetchState),u=o(e.sendOtpStatus.fetchState),P=E.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return t.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&a(!0)},[r,e,p]),t.useEffect(()=>{x==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[e.userVerificationStatus]),t.useEffect(()=>{f==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&c?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[f,e,c]),t.useEffect(()=>{u==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,e.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(j,{showHelperText:!n,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:y=>h?.(y)}}):null})};export{H as default};
1
+ import{aP as o,O as E,j as i,hY as j,hZ as v}from"./index-CNlrlDCR.js";import{b as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const H=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:e,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=t.useState(!1),[O,a]=t.useState(e.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(e.userVerificationStatus.fetchState),f=o(e.otpVerificationStatus?.fetchState),u=o(e.sendOtpStatus.fetchState),P=E.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return t.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&a(!0)},[r,e,p]),t.useEffect(()=>{x==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[e.userVerificationStatus]),t.useEffect(()=>{f==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&c?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[f,e,c]),t.useEffect(()=>{u==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,e.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(j,{showHelperText:!n,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(v,{showHelperText:!n,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:n?P:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:y=>h?.(y)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-D1nPjz5w.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-O433o0vt-hT-5i3cg.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-skTeQNh9-BKCT484G.js";import"./MagicLinkTitleSection-B2BDd_i4-BKQQzn5o.js";import"./BankAccountSection-CLgckmVZ-CPfKv-s4.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-CNlrlDCR.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-oAnfc9Qe-LX0uL-wT.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-rJ5lRXiY-DnFOmra5.js";import"./MagicLinkTitleSection-DqB2vjSF-DNZu73aw.js";import"./BankAccountSection-Cpoe0xvv-By7YsBBf.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{O as _,c as Re,q as ne,y as g,aC as be,l as se,cU as xt,aa as yt,hc as Ae,hd as Be,he as Ee,hf as fe,hg as bt,aU as ft,cS as wt,j as t,bF as Ct,ad as $t,hh as St,hi as ue,u as l,cT as Dt,aQ as jt,o,b_ as S,d3 as Tt,gT as we,hj as Lt,cV as Vt,cW as kt,cX as Ot,hk as It,gn as Pt,d1 as Ft,hl as Mt,hm as zt,h as z,dL as _t,dK as Nt,df as Wt,aX as de,b6 as Ue,ai as qe,dM as Ht,a$ as Rt,hn as At,ho as Bt,am as Et,hp as Ut,cw as Ye,hq as qt,b as Ce,H as Xe}from"./index-D1nPjz5w.js";import{b as $,n as a,i as Yt}from"./vendor-Bs1fkIUX.js";import{k as Xt}from"./SubTabSwitcher-Cl3dC9WT-B7tyXraV.js";import{f as Gt}from"./TransactionList-DQTlLOw7-BlBimHvW.js";import{R as Qt}from"./TrendWithTransactions-DSvuHSYn-CNS_Ztci.js";import{o as Zt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Jt}from"./LabeledAddressValueField-CrYCc1Vq-BQ44ZxJI.js";import{Y as es}from"./LabeledDropDownFormattedTextField-BZBtka1B-DOqmycc5.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-BD-djRQm-D3HB6nzR.js";import"./commonDimensions-8JDQDT8B-DqnJUzDZ.js";import"./TrendChart-B5zZ_iLE-bFzkiVjv.js";import"./chartTypes-C_6O8OzB-CzjLcljP.js";import"./toCOABalancesWithID-C-y5OtQv-CoY_0Qcv.js";import"./toChartData-Bb8ybdL4-BsfgBb2C.js";import"./NoDataChart-WU_4erjb-CKLbW7xC.js";import"./InsightsSection-CuWVeSOd-9ENBzs4K.js";import"./NavigationDots-Dgv1gTJb-Cic-hNfr.js";const ts=a.div`
1
+ import{O as _,c as Re,q as ne,y as g,aC as be,l as se,cU as xt,aa as yt,hc as Ae,hd as Be,he as Ee,hf as fe,hg as bt,aU as ft,cS as wt,j as t,bF as Ct,ad as $t,hh as St,hi as ue,u as l,cT as Dt,aQ as jt,o,b_ as S,d3 as Tt,gT as we,hj as Lt,cV as Vt,cW as kt,cX as Ot,hk as It,gn as Pt,d1 as Ft,hl as Mt,hm as zt,h as z,dL as _t,dK as Nt,df as Wt,aX as de,b6 as Ue,ai as qe,dM as Ht,a$ as Rt,hn as At,ho as Bt,am as Et,hp as Ut,cw as Ye,hq as qt,b as Ce,H as Xe}from"./index-CNlrlDCR.js";import{b as $,n as a,i as Yt}from"./vendor-Bs1fkIUX.js";import{k as Xt}from"./SubTabSwitcher-CUvyjMr3-DciaGu4Z.js";import{f as Gt}from"./TransactionList-CnZjjl2c-vA-1RO1_.js";import{R as Qt}from"./TrendWithTransactions-Cb9SG4qI-C9p_KZtY.js";import{o as Zt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Jt}from"./LabeledAddressValueField-BcqZX242-DNWmFBLu.js";import{Y as es}from"./LabeledDropDownFormattedTextField-BXgIgc-I-DiN8p1Fz.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BoxItem-C1KRBJyb-C3M3WVSU.js";import"./commonDimensions-7pGp5bkY-s3Pf7lJk.js";import"./TrendChart-Dxh3-dI5-B_8GCn4f.js";import"./chartTypes-CnEyojFG-D7BroGGV.js";import"./toCOABalancesWithID-DRNrcBR0-DJQf9Bqy.js";import"./toChartData-CFK0sUQp-BNp7wo3I.js";import"./NoDataChart-DadKXWhF-DjOaZI02.js";import"./InsightsSection-B5J2sEZc-DanwTbiG.js";import"./NavigationDots-BE7tpxpw-DN71mEHU.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-D1nPjz5w.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-DqciCDY7-Y2-_1gTb.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountSection-CLgckmVZ-CPfKv-s4.js";import"./MagicLinkTitleSection-B2BDd_i4-BKQQzn5o.js";import"./BankAccountWarningSection-skTeQNh9-BKCT484G.js";import"./MailingDetailsSection-BPg-GnRk-BgA4Fteg.js";import"./LabeledAddressValueField-CrYCc1Vq-BQ44ZxJI.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-CNlrlDCR.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-DOd_8Yf7-DuHUNF56.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountSection-Cpoe0xvv-By7YsBBf.js";import"./MagicLinkTitleSection-DqB2vjSF-DNZu73aw.js";import"./BankAccountWarningSection-rJ5lRXiY-DnFOmra5.js";import"./MailingDetailsSection-BVS2GW-G-C8i4G1_3.js";import"./LabeledAddressValueField-BcqZX242-DNWmFBLu.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{q as oe,c as Ne,O as ne,aa as ke,dj as G,hr as de,cS as Ae,y as w,j as t,bF as Be,aM as Oe,ad as Ee,cV as C,o as s,cZ as Re,hk as We,gn as qe,d1 as Me,hl as He,hm as Ue,d9 as Ge,aQ as Ke,db as Qe,dk as Ye,u as c,A as Ze,b_ as D,cQ as _e,hs as Je,h as I,t as Xe,cw as et,am as ce,eY as tt,ht as st,hu as lt,hv as M,dl as it}from"./index-D1nPjz5w.js";import{b as x,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BZBtka1B-DOqmycc5.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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:R}){const O=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled: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:G(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(O),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{q as oe,c as Ne,O as ne,aa as ke,dj as G,hr as de,cS as Ae,y as w,j as t,bF as Be,aM as Oe,ad as Ee,cV as C,o as s,cZ as Re,hk as We,gn as qe,d1 as Me,hl as He,hm as Ue,d9 as Ge,aQ as Ke,db as Qe,dk as Ye,u as c,A as Ze,b_ as D,cQ as _e,hs as Je,h as I,t as Xe,cw as et,am as ce,eY as tt,ht as st,hu as lt,hv as M,dl as it}from"./index-CNlrlDCR.js";import{b as x,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BXgIgc-I-DiN8p1Fz.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.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:R}){const O=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(O);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled: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:G(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(O),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{q as ae,ax as Nn,c as mn,aa as nt,i7 as ze,cS as tt,az as On,i8 as re,i9 as ve,ia as fe,ib as be,ic as me,O as je,j as n,i3 as ot,ad as it,bF as rt,ab as st,cD as at,cE as lt,cF as dt,c7 as ct,aM as Y,bZ as mt,cA as pt,b3 as ut,dG as ht,cH as gt,y as w,P as wt,B as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cM as vt,l as Pn,dL as zn,b_ as Pe,bl as Tn,cP as ft,cd as bt,dY as $t,b9 as Ye,bx as pn,h as B,M as Dn,fZ as St,dC as wn,df as rn,id as yt,ie as sn,ap as jt,c5 as Be,e6 as Rt,eN as xn,bP as Ct,dN as Vt,n as vn,ig as kt,d3 as Mt,db as Nt,dc as Ot,eS as It,an as Ln,ih as Pt,bN as se,ii as fn,gV as zt,av as Tt,au as Dt,dM as Lt,C as An,b as At,I as _t,aV as dn}from"./index-D1nPjz5w.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Ft}from"./mui-Ty75qFQF.js";import{P as Bt}from"./Menu-CBX_pJfN-KXFTbmg8.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const _n=({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{q as ae,ax as Nn,c as mn,aa as nt,i7 as ze,cS as tt,az as On,i8 as re,i9 as ve,ia as fe,ib as be,ic as me,O as je,j as n,i3 as ot,ad as it,bF as rt,ab as st,cD as at,cE as lt,cF as dt,c7 as ct,aM as Y,bZ as mt,cA as pt,b3 as ut,dG as ht,cH as gt,y as w,P as wt,B as Ne,o as t,aT as In,am as De,aS as xt,u as c,ai as Re,cM as vt,l as Pn,dL as zn,b_ as Pe,bl as Tn,cP as ft,cd as bt,dY as $t,b9 as Ye,bx as pn,h as B,M as Dn,fZ as St,dC as wn,df as rn,id as yt,ie as sn,ap as jt,c5 as Be,e6 as Rt,eN as xn,bP as Ct,dN as Vt,n as vn,ig as kt,d3 as Mt,db as Nt,dc as Ot,eS as It,an as Ln,ih as Pt,bN as se,ii as fn,gV as zt,av as Tt,au as Dt,dM as Lt,C as An,b as At,I as _t,aV as dn}from"./index-CNlrlDCR.js";import{b as f,n as o,i as cn}from"./vendor-Bs1fkIUX.js";import{r as Ft}from"./mui-Ty75qFQF.js";import{P as Bt}from"./Menu-5ruUktz8-CDlomUa9.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";const _n=({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,q as Q,aa as he,O as U,cS as ye,aC as ge,l as Y,cD as be,cE as fe,cF as xe,ad as ve,aQ as we,y as p,dj as le,dk as Ce,o as y,b8 as $e,d3 as oe,c as ne,dl as je,dm as J,d9 as G,b1 as H,cV as De,dn as Te,u as a,db as Se,aM as ke,h as V,P as Oe,b as Fe,c5 as Ae,ai as Le,bP as We}from"./index-D1nPjz5w.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-skTeQNh9-BKCT484G.js";import{T as Re}from"./MailingDetailsSection-BPg-GnRk-BgA4Fteg.js";import{S as Pe}from"./CurrencySelectField-DFPHaoIW-DA4W7gWx.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./LabeledAddressValueField-CrYCc1Vq-BQ44ZxJI.js";const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Fe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Oe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,q as Q,aa as he,O as U,cS as ye,aC as ge,l as Y,cD as be,cE as fe,cF as xe,ad as ve,aQ as we,y as p,dj as le,dk as Ce,o as y,b8 as $e,d3 as oe,c as ne,dl as je,dm as J,d9 as G,b1 as H,cV as De,dn as Te,u as a,db as Se,aM as ke,h as V,P as Oe,b as Fe,c5 as Ae,ai as Le,bP as We}from"./index-CNlrlDCR.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-rJ5lRXiY-DnFOmra5.js";import{T as Re}from"./MailingDetailsSection-BVS2GW-G-C8i4G1_3.js";import{S as Pe}from"./CurrencySelectField-CKx6YVVh-Dj1m-hYN.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./LabeledAddressValueField-BcqZX242-DNWmFBLu.js";const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Fe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Oe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-D1nPjz5w.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-DJLmk0eo-DdEnyCzh.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-skTeQNh9-BKCT484G.js";import"./MailingDetailsSection-BPg-GnRk-BgA4Fteg.js";import"./LabeledAddressValueField-CrYCc1Vq-BQ44ZxJI.js";import"./MagicLinkTitleSection-B2BDd_i4-BKQQzn5o.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-CNlrlDCR.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-CRIdQeV1-DAhDixRg.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./BankAccountWarningSection-rJ5lRXiY-DnFOmra5.js";import"./MailingDetailsSection-BVS2GW-G-C8i4G1_3.js";import"./LabeledAddressValueField-BcqZX242-DNWmFBLu.js";import"./MagicLinkTitleSection-DqB2vjSF-DNZu73aw.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{q as ie,c as oe,O as te,y as c,gO as w,aU as P,j as i,hX as m,hW as g,o as n,b as re,h as ne,dS as se,ai as le,u as a}from"./index-D1nPjz5w.js";import{n as l}from"./vendor-Bs1fkIUX.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{q as ie,c as oe,O as te,y as c,gO as w,aU as P,j as i,hX as m,hW as g,o as n,b as re,h as ne,dS as se,ai as le,u as a}from"./index-CNlrlDCR.js";import{n as l}from"./vendor-Bs1fkIUX.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{aP as A,aa as B,O as L,j as r,c4 as U,ab as d,l as W,ad as X,c5 as Y,ai as f,c6 as Z,o,n as D,c7 as q,am as N,c8 as G,c9 as C,bP as J,h as y,b9 as b,ca as K}from"./index-D1nPjz5w.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Q,Z as k}from"./AccountLockedInfoModal-DcHtEM5_-g0VQtuiI.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const i=G(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const h=i.countryCallingCode,m=i.nationalNumber.slice(-4);return`+${h} (•••) ••• ${m}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const h=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${h}`}return C(e)||e}},I=120,P=30,F=2,re="456px",te="256px",O=6,n=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Te=e=>{const i=e.verifyOtpFetchState==="In-Progress",[h,m]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(I),[p,w]=c.useState(P),E=A(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),j=u.watch(x),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===O&&e.onVerifyOtp(j)},R=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(m(!0),T(s=>s+1),u.setValue(x,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(p<=0)return;const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[p]);const H=s=>{const a=Math.floor(s/60),z=s%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:$>F,children:r.jsx(Q,{unlockDate:W.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=F,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(se,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(ie,{children:ee(e.phoneNumber+"")}),r.jsx(Y,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||h===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(x,s),m(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(V,{children:r.jsxs(je,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(V,{children:r.jsx(ye,{children:n.codeExpired})})})]}),h===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),n.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(he,{children:n.codeNotReceived}),r.jsx(ue,{disabled:p>0,onClick:()=>{p===0&&(e.onResendOtp(),m(!1),g(!1),u.setValue(x,""),S(I),w(P))},children:n.resend}),p>0&&r.jsxs(pe,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",p,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(me,{children:[r.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:M,style:{width:82},loading:i,disabled:j.trim().length!==O||l===!0})]}),r.jsx(xe,{children:R})]})]})})})]})})},oe=t.div`
1
+ import{aP as A,aa as B,O as L,j as r,c4 as U,ab as d,l as W,ad as X,c5 as Y,ai as f,c6 as Z,o,n as D,c7 as q,am as N,c8 as G,c9 as C,bP as J,h as y,b9 as b,ca as K}from"./index-CNlrlDCR.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Q,Z as k}from"./AccountLockedInfoModal-Cf6hufyW-CpUtOt3s.js";import"./mui-Ty75qFQF.js";import"./analytics-CcevxdRy.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-cQYYQPTZ.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const i=G(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const h=i.countryCallingCode,m=i.nationalNumber.slice(-4);return`+${h} (•••) ••• ${m}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const h=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${h}`}return C(e)||e}},I=120,P=30,F=2,re="456px",te="256px",O=6,n=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,x="otpInputField",Te=e=>{const i=e.verifyOtpFetchState==="In-Progress",[h,m]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(I),[p,w]=c.useState(P),E=A(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[x]:""}}),j=u.watch(x),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===O&&e.onVerifyOtp(j)},R=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(m(!0),T(s=>s+1),u.setValue(x,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(p<=0)return;const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[p]);const H=s=>{const a=Math.floor(s/60),z=s%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(U,{open:!0,children:r.jsxs(oe,{children:[r.jsx(d,{controller:$>F,children:r.jsx(Q,{unlockDate:W.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=F,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(ne,{children:n.verifyDeviceTitle}),r.jsx(se,{children:n.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(ie,{children:ee(e.phoneNumber+"")}),r.jsx(Y,{placement:"top",title:r.jsxs(f,{children:[n.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||h===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(x,s),m(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(V,{children:r.jsxs(je,{children:[n.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(V,{children:r.jsx(ye,{children:n.codeExpired})})})]}),h===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:n.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),n.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(he,{children:n.codeNotReceived}),r.jsx(ue,{disabled:p>0,onClick:()=>{p===0&&(e.onResendOtp(),m(!1),g(!1),u.setValue(x,""),S(I),w(P))},children:n.resend}),p>0&&r.jsxs(pe,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",p,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(me,{children:[r.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:n.verify,onClick:M,style:{width:82},loading:i,disabled:j.trim().length!==O||l===!0})]}),r.jsx(xe,{children:R})]})]})})})]})})},oe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};