@zeniai/web-cockpit-ui 1.14.66-qa → 1.14.67-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 (226) hide show
  1. package/dist/assets/{ACHDetailsPage-oAnfc9Qe-yESVicur.js → ACHDetailsPage-B3MRYG7O-B-RXeGCL.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Ccj_miRk-BBtZyO1l.js → AIPerformancePage-ByLk7bRL-C1RI1D3r.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-B5JL7WWD-C_YoJgLY.js → AccountInfoPage-CH881ucN-B6XSvyJB.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-BfxVO67L-Bed1Irot.js → AccountInfoPageContent-C-yeV-YN-Bpvt45Rj.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-Cf6hufyW-aumxMa9v.js → AccountLockedInfoModal-CQspLG36-DajR2MFv.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-X4_PFuUR-CLGblDv8.js → AccountReconDetailsDrawerPage-Bw0R1HT--C0gG8kPq.js} +1 -1
  7. package/dist/assets/{AccountRow-B77EmFJc-ClN-y5-1.js → AccountRow-CTNE4Tss-BU0-4NvJ.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BIIf2ZPZ-DEctV5FR.js → AccountsPromoCardStack-B2-W28Ow-gLo7ZByV.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-MFS0CRWD-DgFp5-de.js → AddAddressForCardDrawer-CBcxUuUC-Bse6EgiV.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLIMFBOq-BqHT_Hcx.js → AddToWalletPage-BWkSNjgD-Kpe3qs0s.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Y4cwDZ2T-BC1Z3br4.js → AgingReportsPage-C7XlVJxm-DFST7E01.js} +1 -1
  12. package/dist/assets/{AllUserItems-D7M2OrxF-Cuo-i7W3.js → AllUserItems-oIUDu9Hy-BXpsF3Gp.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-7VPB3iYQ-C723diTB.js → ApAgingDetailPage-Qmh-Dv3X-CeXxXpsh.js} +1 -1
  14. package/dist/assets/{AppBasePage-DpSov7YW-D8XgIsGV.js → AppBasePage-C8Pv9qkT-DDVKoXi1.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-CX7LQrKf-BWDmQnLc.js → AppDrawerContent-CHz5S2vI-BceyX6_Q.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-Cx_HIc5p-DfpQyVXb.js → ApprovalRulesSettingsPage-C9JsCNLO-D-8u1BQl.js} +1 -1
  17. package/dist/assets/{ArAgingChart-C4EBFUg6-CNp-saJC.js → ArAgingChart-f3SbRki9-ckFeIrhf.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-VPO0RVcb-ZHgDP-9o.js → ArAgingDetailPage-CTMtTeBR-FoSBlISa.js} +1 -1
  19. package/dist/assets/{AttachmentView-C5-ZqgK_-CAMjN_mo.js → AttachmentView-CZ6HLMlg-DOAru2_v.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Cpoe0xvv-BODDi8Sr.js → BankAccountSection-DMa6vU71-Bb9P6KSr.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-rJ5lRXiY-Bx0GbYIb.js → BankAccountWarningSection-CqTSk_2C-Cp_-6cnu.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-DqZkfqL8-B8LSswBz.js → BankConnectionsSettingsPage-C2tLBkdJ-99pSQTr5.js} +1 -1
  23. package/dist/assets/{BillDetailPage-aTRV9hvz-BYP7XyVY.js → BillDetailPage-pfZBbg1r-BpVYZCgY.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-kAS0qP_b-CjPh6Io5.js → BillPayApprovalRuleDetailPage-cQnt1TBQ-Dcui3Fzg.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-e2WUruZo-C_pyHZHa.js → BillPayApprovalRulesPage-CLpGsVKi-CFbN2CFL.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-MdrCCP1g-5d4PfTx_.js → BillPayPromoPage-BYQEO1xh-DDlPLqiD.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-BFudxLlh-Cv52dw6Q.js → BillPaySetUpPage-BS70_HuX-DQXdfyj3.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-WNHpoOPp-9g_Rz4Mi.js → BillingSettingsPage-ChtvIWW_-CGESyV2I.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BUZB2S49-B4pZHPA7.js → BillsBulkReviewDrawerPage-BeMaaqpS-BwxKl6Xx.js} +1 -1
  30. package/dist/assets/{BoxItem-C1KRBJyb-CpiSJIcd.js → BoxItem-i1_Whvbs-Ox58059k.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-BCFqIPD7-FKSaeg5A.js → BusinessVerificationPage-DJ0qBDiF-eYz030dI.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-D4IvYhhc-WUFJP2ot.js → CardNumberSubText-CU5rFHAb-vcV8hoeX.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-C4IFLy59-D-rkM73a.js → CashbackDetailPage-Dhzwqgty-BdiuoJ2D.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-CNhoPEGF-0BGdbGiG.js → ChargeCardDetailPage-CN1cFTtP-D2QUt0VM.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-BnvKazY9-DjLerNVF.js → ChargeCardListPage-FZDjtNdh-BNnixBch.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-CyZ2zKLL-htuZFnmY.js → ChargeCardListTable-DfWqZ2zc-DEk-cW7Q.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-CPQosiEL-C6dDnJrr.js → ChargeCardPromoPage-CXQ00gUz-CPIkjlA_.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-BN8f43fH-BvyFzDpP.js → ChargeCardSetupPage-5-47MrwS-CHtOVGWS.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-BIo4NZqi-BM2GDsew.js → ChargeCardStatementsPage-DlhV6rXM-CWhtE8F4.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-Bj-etojH-DEnAp4N-.js → ChargeCardUtils-DwrchU8w-R4i_b8y4.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-DO2J-ha8-IZ-zxnOs.js → ChaseOverlay-Yi_R09xG-DVuRPXDM.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-nP9rDa_f-C1d3MsmT.js → CheckDepositDrawerPage-B0TD1myX-2NhXAanX.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-91ayVVPk-ozST7UNz.js → CollapsableReportTable-zWMH2vIR-7C-EKxD8.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-BdVMTA_t-BZilhoM2.js → CompanyOfficerDetailsSection-BXU8YDaR-LTzKGDgo.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-CEHrp5go-BiqbVfiD.js → CompanyPassportCard-DohGHFRG-V3raiHMv.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-seCTNLzj-CSTUSJDx.js → CompanyPassportPage-D68YD2i4-BzAdeHg3.js} +1 -1
  47. package/dist/assets/{CompleteProfile-r8iQXZOm-JNfHIVXU.js → CompleteProfile-CapeQwIz-BiVPElsk.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-B9OgeEa4-4vvCI_XO.js → ConfettiBurst-Cwmz88Dx-CBSKc00T.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DbD65I3--CgDYsCxK.js → CreateOrEditVendorPage-BFKyvGSD-BzSjVBys.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DY7s4qjw-BxEwnnMW.js → CreditCardPaymentDrawerPage-3OOMyGxK-CKToorGt.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-Do0TNB0_-D3KYX2X9.js → CreditCardPaymentPlgSection-B_dwX8WO-DHpWJq0o.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-CKx6YVVh-DVZJNx4G.js → CurrencySelectField-Cc7VZ0zc-_2UIxQ_k.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-4BFB84FC-BY-C5tFD.js → CustomerOnboardingActivationPage-DUdbWdvR-Dic4g1oT.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-BQe_y3eK-CMBipW-M.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Kt2KUVtC-BL3-t9Z4.js → CustomerOnboardingDetailPageSkeleton-DWjl7yrv-Cop0RLVQ.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-tLqnMarT-C2HaBFdo.js → CustomerOnboardingNoStepsPage-Bb-S05FB-CYDXdjJp.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-VNBp5Ije-CU31GBf6.js → CustomerOnboardingPage-BqRpUo3o-DXNzB_YV.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-BNjCYCxr-C2hUrwyJ.js → CustomerOnboardingProductSuitePage-Bn_Iwd9N-CmG9aYtY.js} +1 -1
  59. package/dist/assets/{Dashboard-CPEaq6Ef-DfVifo_k.js → Dashboard-ahtVxl05--MgK2Ord.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-BnOZ3rQO-DF3wq4Lr.js → DashboardReportPage-UkrX4vIf-DgacpJj8.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-D_d0ozKC-6OX1It4Z.js → DashboardSidebarBackgroundAnimation-CB9orLpr-CL88NSmo.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-DRKEJqSS-DA8aFCnt.js → DepositAccTransactionItem-CNf7CHUT-BPeoXggx.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-uyKvgRpL-Bi9JKTif.js → DepositAccTransactionListPage-bVxE-cgF-Olo9MnEd.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-DOd_8Yf7-DJP2Szva.js → DomesticWireDetailsPage-CJnEtp5K-CDjAKPwK.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-B9ZMsi8M-n5I7mLpA.js → DownloadOverlay-8wBIc5lL-DGTlP51J.js} +1 -1
  66. package/dist/assets/{DrawerPage-9DxdPl40-CbCwk9JW.js → DrawerPage-AukSslCE-BRmQfYEn.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-_6h3BeMH-Br8QMmHn.js → EditPeoplePage-C5IQY5wt-DmTfkn2Q.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-C4yQFOSc-CX-Dyroy.js → EditReimbursementDetailPage-SR0uyRt1-TIDeuDaL.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-D7y6vJkF-BOeiVoJc.js → EntityDetailPage-DOhakqPm-DzwoasWN.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-BuV1ByG2-CqW9YAOQ.js → EntitySummarySection-CjH6bwx9-CIYnSb2B.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-CTCFHV_1-BAPQWcKU.js → ExpenseAutomationOverviewPage-DIhHFUx3-o76ccdHD.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-BHRn_JUj-CHNLqJCw.js → ExpenseAutomationPage-BYWFEssP-BUVR43E3.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-pCpcMZnC-CKMBI1nQ.js → ExpressPayPage-C2CdcS2q-DU4QeYHm.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-D24FJNUU-BTiWYn_C.js → FeaturePreviewPage-BDKOkYU7-BQAJrI2y.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-tuKW99KV-CJFvWNar.js → FollowStepsSection-DlIC6oJU-BMnSBYuD.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-DwRmV7XD-BZTS62jk.js → GlobalReviewListPage-CGuksEmC-Cx4Qvcf9.js} +1 -1
  77. package/dist/assets/{HelpButton-DaQz2Rn_-DTTY1Rp2.js → HelpButton-BY3Ymwq7-DJ5acWJ1.js} +1 -1
  78. package/dist/assets/{InformationCardStack-BFoJhub0-ChZOqg5U.js → InformationCardStack-BMdbEkfR-BsfE7s2N.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-C52s96WO-C9SLb4G9.js → InsightsCardStack-CkLV264k-SbB3uZhv.js} +1 -1
  80. package/dist/assets/{InsightsSection-B5J2sEZc-1FmQGvim.js → InsightsSection-CR-kPvnj-CrUpPAyC.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-DCJ98518-BXome2mY.js → IntegrationsSettingsPage-D3R03fGU-DoZcvveX.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-CRIdQeV1-NxlloXl5.js → InternationalWireSwiftDetailsPage-8WfR9slT-M8u6Zxiw.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-HjM7zN5q-B-XQgLnc.js → InternationalWireVerificationPage-DMiuLUlB-D_xG7hdi.js} +1 -1
  84. package/dist/assets/{InviteFormPage-Gh0b2vDS-Dhl38-DE.js → InviteFormPage-B6cxtPk--BCqjjXA5.js} +1 -1
  85. package/dist/assets/{InvitePageListView-DhGHRdeJ-C1iCoZgB.js → InvitePageListView-dkMy2z5--CZWCxPSr.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-KbNVyidK-BhMRILMo.js → InvitePeoplePage-ayyL83Zy-DTAUd6Eb.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-Dn7ur-W9-DxyHN8eY.js → InvoiceUploadSection-BpIHhDSm-BCVYkDni.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-D5E-CRJ--BW9cX7zq.js → IssueChargeCardPage-BVyuOZQS-B6Um8Q-w.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-DEuG8UZf-CIrw9p-N.js → LabeledAddressValue-BcRiL0qG-DOimWHHn.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-BcqZX242-B381AICZ.js → LabeledAddressValueField-_3232w63-CMng5o-E.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-BiK4ogZm-BG9Cl6tm.js → LabeledControlledCheckBoxField-BklmcaDu-dJV_yOqb.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-lXkceawa-oT21Xre5.js → LabeledCreatableSingleSelectField-DAw3PzRB-By6wQlVh.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-CTHGsGRa-C5Ujuose.js → LabeledDocumentField-CJsB2pbM-j4fshKZH.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-BXgIgc-I-DuGK6POf.js → LabeledDropDownFormattedTextField-CaInnQPt-B4tEjb2j.js} +1 -1
  95. package/dist/assets/{LabeledText-DGaKAiDg-YsOtBYX0.js → LabeledText-DI154Uwg-DQ28AaSO.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DHcSZAV4-DlqLUXVL.js → LabeledUserSingleSelectWithSubtitlesField-ZH0-Q1Pd-DHsfv4ff.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BlSt4mz5-B6HC619s.js → LabeledZeniRolesDropDownField-DiOhi2zF-D55dS-Ut.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-CYQDiIEe-DNpe4qvW.js → LinkJETransactionPage-BnjQF3RS-AlJfHB8G.js} +1 -1
  99. package/dist/assets/{LockCardPage-h8hZChv9-B9bZlpNI.js → LockCardPage-DKV-hT_y-DdCdnflN.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-BYsxS0qC-D1eQWt4o.js → LowBalancePopup-D02ZsO-u-DlpcFv4y.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-StkWEEA--DDDOYKvI.js → MagicLinkACHDetailsPage-DCA7Bsmf-XHezeeBm.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CIlAxUbJ-B-nCn2pj.js → MagicLinkDomesticWireDetailsPage-BqyXqpus-B8iUDh67.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-Bddf00Ze-BJ8aKbgV.js → MagicLinkInternationalWireDetailsPage-SO9CfgsA-AdFb7yCG.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-Bt55Pv1w-CLpU4a25.js → MagicLinkSuccessPage-BJeY48z_-BIuIvNNl.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-DqB2vjSF-Lu6JjKZe.js → MagicLinkTitleSection-CeaDLMlx-CUboS_35.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-BVS2GW-G-8qGIPh5L.js → MailingDetailsSection-C1cnBO3h-VPuzcKVP.js} +1 -1
  107. package/dist/assets/{MeetingCalenderPopup-_Dd08iTt-hhuBhodS.js → MeetingCalenderPopup-Bh-VTzSP-g7gKrhwZ.js} +1 -1
  108. package/dist/assets/{Menu-5ruUktz8-Cxg0dgCk.js → Menu-Br77QlAp-D6TuJUG6.js} +1 -1
  109. package/dist/assets/{MyBankConnectionsSettingsPage-ClLnBlDi-DRpcjhqV.js → MyBankConnectionsSettingsPage-Ap91ms0N-B43bhRIr.js} +1 -1
  110. package/dist/assets/{MyPendingActivationChargeCardListPage-4-RBz078-pnChFuV8.js → MyPendingActivationChargeCardListPage-a0yE_EpI-DKOq4uzg.js} +1 -1
  111. package/dist/assets/{MyProfileSettingsPage-BFmFwp-M-0CM0v2wJ.js → MyProfileSettingsPage-WMrBFKSQ-CSz-1HL2.js} +1 -1
  112. package/dist/assets/{NavBarWithPicker-a35H6ba--Dz03OxS6.js → NavBarWithPicker-BAWR5XvY-Do9ImVTK.js} +1 -1
  113. package/dist/assets/{NavigationArrow-jh-Hkf_V-CvoIyILz.js → NavigationArrow-D79XVJvq-BC94paWT.js} +1 -1
  114. package/dist/assets/{NavigationDots-BE7tpxpw-oc9z27Z0.js → NavigationDots-DHkA0dj3-CUT6_ZD9.js} +1 -1
  115. package/dist/assets/{NewGlobalMerchantPage-BmH44lDz-D8H0kG2f.js → NewGlobalMerchantPage-Bfioqua_-D0yY1YCM.js} +1 -1
  116. package/dist/assets/{NoDataChart-DadKXWhF-BXoypnwO.js → NoDataChart-gu-_4U1R-CabzNdLa.js} +1 -1
  117. package/dist/assets/{NoDataTable-CEBjocIi-CNhpwRh4.js → NoDataTable-Chs82RP6-B1K1V-YT.js} +1 -1
  118. package/dist/assets/{NotFoundPage-wentbSH0-Cs1xaD73.js → NotFoundPage-DOjJLgnk-Cjsb_tFR.js} +1 -1
  119. package/dist/assets/{NotificationSettingsPage-C3J8_WAi-CewrzgG2.js → NotificationSettingsPage-C3w3Bzgx-C9QRWqKN.js} +1 -1
  120. package/dist/assets/{NotificationsListConfig-Cscyd46w-CaIUnp_W.js → NotificationsListConfig-BeXvj9Mw-BWa3-NDR.js} +1 -1
  121. package/dist/assets/{NotificationsPage-BK5Ue1ao-CaVpN51w.js → NotificationsPage-DiDztamo-DzI-roRH.js} +1 -1
  122. package/dist/assets/{OpExByVendorPage-DLnYnLdD-DoBHIUBQ.js → OpExByVendorPage-CRjkPJS8-CxNhguyB.js} +1 -1
  123. package/dist/assets/{OverlayContainerPage-CU1AAMcq-pBNOf42A.js → OverlayContainerPage-CU1AAMcq-3Go8F-7Z.js} +1 -1
  124. package/dist/assets/{PandLWithForecastPage-9T69WaiE-FzmlBaBW.js → PandLWithForecastPage-ByknD0gW-B7G1FbpI.js} +1 -1
  125. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CkC16MMJ-CbAlly7l.js → PaymentAccountSetupBillingAddressSection-tL7XJ7DM-Mhan5Mer.js} +1 -1
  126. package/dist/assets/{PeoplePage-CWUCgcw1-Cr1BS7-x.js → PeoplePage-EiZHvmVY-BbaSDHdc.js} +1 -1
  127. package/dist/assets/{PortfolioAllocationFormPage-BEO6F8kp-ByEgy2Ck.js → PortfolioAllocationFormPage-CKjc0QtM-DrzVcRY1.js} +1 -1
  128. package/dist/assets/{PortfolioDetails-BUx1WGe6-DEL4Y-gC.js → PortfolioDetails-9g-2bZ7_-B_W3qaG9.js} +1 -1
  129. package/dist/assets/{ProductsCarousel-k_yn_DnI-DlHgr7QL.js → ProductsCarousel-C5VZxn-U-eBfAQ6kg.js} +1 -1
  130. package/dist/assets/{PromoBaseCards-BIoPkvyG-D1dz0Knc.js → PromoBaseCards-DpLAAMn3-DJxAzz-L.js} +1 -1
  131. package/dist/assets/{QBOConnectionDialog-y-BRQt2k-CPcOlzfZ.js → QBOConnectionDialog-MuhlhaDK-CTki5ZPx.js} +1 -1
  132. package/dist/assets/{QBOSetupSection-JfsJnbR7-CO1uXtBS.js → QBOSetupSection-BXzQkbN_-DC7895HN.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Cyt_2Arn-Bn3KH0UN.js → ReimbursementApprovalRuleDetailPage-CiWLeNGv-HksRbUPX.js} +1 -1
  134. package/dist/assets/{ReimbursementApprovalRulesPage-BmkoC7-V-DzrgnB7C.js → ReimbursementApprovalRulesPage-DpTfzsJj-sJ9rj8B9.js} +1 -1
  135. package/dist/assets/{ReimbursementDetailPage-yoAaacbf-C7IKR4hA.js → ReimbursementDetailPage-DmiM1S0p-Bg8nIOLz.js} +1 -1
  136. package/dist/assets/{ReimbursementPromoPage-CVpnp2W3-BymPX7PN.js → ReimbursementPromoPage-DDskL1Cg-XrR4haVw.js} +1 -1
  137. package/dist/assets/{ReimbursementSetUpPage-Dz8jV4h5-DwCwIN86.js → ReimbursementSetUpPage-aGtxNqA2-DG9Loq9D.js} +1 -1
  138. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-_OQrnaaa-lUyx8D9D.js → ReimbursementsBulkReviewDrawerPage-BsEEDkzr-BI06jWdB.js} +1 -1
  139. package/dist/assets/{ReloadCard-Bona9vKC-xT56Tsn9.js → ReloadCard-BUY63G2x-Cd_k-FOt.js} +1 -1
  140. package/dist/assets/{ReportTableViewSelector-CEO5ih6s-BojDA2zZ.js → ReportTableViewSelector-QiyxxiAv-sdGA8qPV.js} +1 -1
  141. package/dist/assets/{ReportsPage-BujZXhE9-DUJGjqPl.js → ReportsPage-CyjlbTY3-DsWHtOAt.js} +1 -1
  142. package/dist/assets/{RevenueChart-CzxWBI7d-Ba-DBYEM.js → RevenueChart-BEv2FSM3-BFHcCHYu.js} +1 -1
  143. package/dist/assets/{ReviewDetailsPage-DTYs1zWP-D2RFef4O.js → ReviewDetailsPage-BJJpKuVh-DkGh4fEe.js} +1 -1
  144. package/dist/assets/{ReviewOverlay-DQ_igXuJ-Dy1YtNWs.js → ReviewOverlay-BW4w_HbW-B9LQla8T.js} +1 -1
  145. package/dist/assets/{RoleWithToolTip-DHMnmlh6-BqW3VAOh.js → RoleWithToolTip-DcDcU4iM-j6zvB1wC.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DLrJkJlo-Bw606MPK.js → ScheduleDetailsFixedAssetsPage-CZQOJpBV-8QJH-3Tl.js} +1 -1
  147. package/dist/assets/{ScheduleDetailsPage-DmpcMZYc-DVjv2rGT.js → ScheduleDetailsPage-CHuoVnZb-GzE-Ipze.js} +1 -1
  148. package/dist/assets/{ScheduleSequenceTable-Cmwxv9Zr-D0ZNQ-0I.js → ScheduleSequenceTable-9ZlFlS4G-D2alHtQu.js} +1 -1
  149. package/dist/assets/{ScreenRoutes-c8nuSDRe.js → ScreenRoutes-CoE_b9oK.js} +1 -1
  150. package/dist/assets/{SetUpAccountSection-CuFelV9A-DZjHBAxb.js → SetUpAccountSection-Dt6HOtE0-qyaep1WX.js} +1 -1
  151. package/dist/assets/{SetUpDefaultSection-C_i-c6Pb-BdourO25.js → SetUpDefaultSection-C944LR7Y-DIOd2-zM.js} +1 -1
  152. package/dist/assets/{SignIn-D_OoVO_v-EvumJel4.js → SignIn-BgW9BTlN-C9mZYnF9.js} +1 -1
  153. package/dist/assets/{SignInScreen-DDc_Y4Sn.js → SignInScreen-CXgMZrZw.js} +1 -1
  154. package/dist/assets/{SpendManagementListViewPage-KDAujsw0-DBwCmt-U.js → SpendManagementListViewPage-D99vUAok-D7NoyZVa.js} +3 -3
  155. package/dist/assets/{SpendManagementPerTabPage-BuiQmKjG-zTg_I5Q1.js → SpendManagementPerTabPage-BVp4Mi_3-uiuzRIoZ.js} +1 -1
  156. package/dist/assets/{SpendManagementSection-BH9i-792-SlJ2Rbdi.js → SpendManagementSection-BgiEVgoh-J-GXeztN.js} +1 -1
  157. package/dist/assets/{SpendMgmtSetupAccountSection--Epy5zv7-CA4PNPZx.js → SpendMgmtSetupAccountSection-D7RNQvNU-Mfy-O1px.js} +1 -1
  158. package/dist/assets/{StatementItem-d3Ph76EP-L1Jj0tyv.js → StatementItem-Btk7PnAh-BpGnt3jo.js} +1 -1
  159. package/dist/assets/{StatementsPage-Bq_dRNOs-C5NUHRDV.js → StatementsPage-Cqf2d6IZ-35SnB9Mw.js} +1 -1
  160. package/dist/assets/{StatusSwitcher-8NsuCJ9w-T82ifyHj.js → StatusSwitcher-k1u49c8V-C9uTvKUV.js} +1 -1
  161. package/dist/assets/{SubTabSwitcher-CUvyjMr3-DYbZcGcn.js → SubTabSwitcher-C9n0mkw2-CZ5IIsBe.js} +1 -1
  162. package/dist/assets/{SummaryCard-BDnipH2b-DbgnHRwc.js → SummaryCard-BzsE8HgQ-CR5dlJXy.js} +1 -1
  163. package/dist/assets/{TaskManagementPage-Bg6QawfF-DBCsoh0_.js → TaskManagementPage-DbxErPL_-CbyfLGGX.js} +1 -1
  164. package/dist/assets/{TimeRangeSwitcher-BDP3VhBL-BX6oKrp5.js → TimeRangeSwitcher-IlmBkt9N-ZsjFbWGa.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcher-Tzlqetbm-DSV5uTOz.js → TimeframeSwitcher-C8yhmrny-B7g5Nu2U.js} +1 -1
  166. package/dist/assets/{TimeframeSwitcherWithToggle-C60T11yv-D2IFKYgO.js → TimeframeSwitcherWithToggle-Yag6iKnC-BjI1yxjc.js} +1 -1
  167. package/dist/assets/{TopExCard-DvtdF67v-D96vAJhi.js → TopExCard-CKFuDAEh-CHmdOGBd.js} +1 -1
  168. package/dist/assets/{TopExDetailPage-DlejqRhV-C6JAfDyK.js → TopExDetailPage-yofOz9fv-BD5woaan.js} +1 -1
  169. package/dist/assets/{TransactionDetailPage-DV3vyt1n-CdP4-5WF.js → TransactionDetailPage-VWE8ybri-Cnuy_610.js} +1 -1
  170. package/dist/assets/{TransactionList-CnZjjl2c-CkgzaLAh.js → TransactionList-CBlM8Agr-DvVoY-sz.js} +1 -1
  171. package/dist/assets/{TransactionListBig-o71NIZeN-B4hovSop.js → TransactionListBig-D7tvHCmm-DwnBvt2r.js} +1 -1
  172. package/dist/assets/{TransactionListPage-BoM55JXY-CWNiWBMP.js → TransactionListPage-B1C1YfFW-Cd7DnaEh.js} +1 -1
  173. package/dist/assets/{TransactionVendorDetailPage-CJ3MsS2X-3agyLB1h.js → TransactionVendorDetailPage-CY-BzT4W-Dp4lZEo0.js} +1 -1
  174. package/dist/assets/{TransferDrawerPage-BqChATei-C40dIgHP.js → TransferDrawerPage-DMhsu2Ez-DqbSkiyS.js} +1 -1
  175. package/dist/assets/{TreasuryOverviewPage-TYfl1T0q-C1Ylby61.js → TreasuryOverviewPage-BdABAdF5-tvuZDQIN.js} +1 -1
  176. package/dist/assets/{TreasuryPromoPage-CdLtipU7-3mmucyXT.js → TreasuryPromoPage-BycMsheg-Bd9HaV_m.js} +132 -132
  177. package/dist/assets/{TreasurySetupPage-BEk4xZK9-D0Ltn0qr.js → TreasurySetupPage-DdCKylj9-B0JfZoFh.js} +1 -1
  178. package/dist/assets/{TreasuryStatementsPage-0LESOE5d-BiiZBwB4.js → TreasuryStatementsPage-BvoM-QPO-BAbwzgnY.js} +1 -1
  179. package/dist/assets/{TreasuryTaxLetterPage-DsSZbzeB-DZtGEHS8.js → TreasuryTaxLetterPage-ia-dRgNb-D4lcdpyF.js} +1 -1
  180. package/dist/assets/{TreasuryTransferOrReviewPage-CwcgoKq8-BJ9vbpgW.js → TreasuryTransferOrReviewPage-BBmOKWs3-BUswR4E1.js} +1 -1
  181. package/dist/assets/{TrendChart-Dxh3-dI5-DV5bf6cV.js → TrendChart-BvUgR7NR-Ctzfqawq.js} +1 -1
  182. package/dist/assets/{TrendWithTransactions-Cb9SG4qI-D8ofzF41.js → TrendWithTransactions-CzH_CezC-DRsUi6Po.js} +1 -1
  183. package/dist/assets/{UncategorizedAccountsMappingPage-C58OQ1wc-aOxka2AJ.js → UncategorizedAccountsMappingPage-BnzXqGM2-oyERepZE.js} +1 -1
  184. package/dist/assets/{UnitIntegrationPage-BApabsOR-RS3xOOrA.js → UnitIntegrationPage-5hPuDT-S-DqPtjFU1.js} +1 -1
  185. package/dist/assets/{UploadAdditionalDocumentOverlay-KCRDK6Vb-BKx7d-9e.js → UploadAdditionalDocumentOverlay-Djewfdeg-CNAod0fA.js} +1 -1
  186. package/dist/assets/{Vendor2FAPopup-B1AwxFtA-DD95h7Rl.js → Vendor2FAPopup-B5OkuijD-BlppUuu2.js} +1 -1
  187. package/dist/assets/{VendorACHDetailsPage-DGN5feXs-CiT0YVPR.js → VendorACHDetailsPage-D6EQzAtO-Cnx4yU2I.js} +1 -1
  188. package/dist/assets/{VendorDetailPage-cJA4_on9-DNK3ItT4.js → VendorDetailPage-BQO3DDuH-CexLqkhZ.js} +1 -1
  189. package/dist/assets/{VendorDomesticWireDetailsPage-CyJi9kI3-BpNdsL-K.js → VendorDomesticWireDetailsPage-D3WxsT-q-DOagRIFN.js} +1 -1
  190. package/dist/assets/{VendorFiling1099EditablePage-nMeRy8iW-CSs_Rgm9.js → VendorFiling1099EditablePage-CgkHu1IC-B1-Zyzuv.js} +1 -1
  191. package/dist/assets/{VendorFirstReviewPage-DmYTTdVo-BmaYbi6-.js → VendorFirstReviewPage--u5ke09D-D3aO8Z1G.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireDetailsPage-Wzjdd76z-Brndt2f2.js → VendorInternationalWireDetailsPage-dkHrnsSV-P2luCnrU.js} +1 -1
  193. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DWcT-bD0-BJM2VsCw.js → VendorInternationalWireSwiftDetailsPage-C7gOd27m-CGQtfzJh.js} +1 -1
  194. package/dist/assets/{VendorsAccountsSection-f-2HcYGZ-CVgHbEIH.js → VendorsAccountsSection-BeWKBguu-BtnTUDQo.js} +1 -1
  195. package/dist/assets/{VerifyDevice-CpZ9v86P-Dgwl8lgr.js → VerifyDevice-DyNInj6s-BkBE_pll.js} +1 -1
  196. package/dist/assets/{VideoPlayer-C5XJLW5o-CjU_5PnJ.js → VideoPlayer-BDT7Wxrv-BT2nid29.js} +1 -1
  197. package/dist/assets/{VideoPopup-CFShu7RX-CcjVtSB-.js → VideoPopup-DSGUlfzg-BMbPPc3K.js} +1 -1
  198. package/dist/assets/{WarningsDrawerPage-BMfva4eQ-CnPVZ8A1.js → WarningsDrawerPage-yfZ6-vxe-BSbpBE4Y.js} +1 -1
  199. package/dist/assets/{ZeniAccountDetailPage-DqwykQGb-DWVS23tv.js → ZeniAccountDetailPage-DTf57PZf-CR-5lg6c.js} +1 -1
  200. package/dist/assets/{ZeniAccountListViewPage-5GsFlzuB-BbX3N_PI.js → ZeniAccountListViewPage-OLK3W7iK-B4sNluVK.js} +1 -1
  201. package/dist/assets/{ZeniAccountNavBarPieces-C0GhVRsq-DpFC4Ciq.js → ZeniAccountNavBarPieces-CdDZwzfE-BYBoxDdf.js} +1 -1
  202. package/dist/assets/{ZeniAccountPromoPage-BsoKhi1p-DkAIxoDC.js → ZeniAccountPromoPage-LLR9YF1x-BBmLfDz8.js} +1 -1
  203. package/dist/assets/{ZeniAccountSetupPage-B7xCt24o-B9yWU7di.js → ZeniAccountSetupPage-BlOzo2P6-B-uPGfFs.js} +1 -1
  204. package/dist/assets/{ZeniCopyright-QGZgIoQP-BDH-h78N.js → ZeniCopyright-DJeoJMcb-BkNUvknQ.js} +1 -1
  205. package/dist/assets/{ZeniTransferAmountSlider-BVaeHoig-DaAPDIuA.js → ZeniTransferAmountSlider-DeYuGxZX-C-YtU1mz.js} +1 -1
  206. package/dist/assets/{analyticsHelper-C_28rnIB-CIU3ZAfm.js → analyticsHelper-CaGXOjR9-Cpylc-Z5.js} +1 -1
  207. package/dist/assets/{analyticsHelper-ChFUHOa7.js → analyticsHelper-DPDgQyOT.js} +1 -1
  208. package/dist/assets/{chartTypes-CnEyojFG-q_ews-Xd.js → chartTypes-CultIwKc-DfWDDXED.js} +1 -1
  209. package/dist/assets/{commonDimensions-7pGp5bkY-CAxabneu.js → commonDimensions-Bvh80Imh-DJQ2mMY9.js} +1 -1
  210. package/dist/assets/{detailCommon-BnXtivNO-DnEOVuNQ.js → detailCommon-Cc3ubqjI-DGloiMig.js} +1 -1
  211. package/dist/assets/{downloadPdf-DeWDMgGW-DtuJ3RLU.js → downloadPdf-CKNipVJW-CtC7NFz2.js} +1 -1
  212. package/dist/assets/{index-DOys-ClP.js → index-DQkhThHi.js} +5 -5
  213. package/dist/assets/{mapLoadingInProgressToTreeNode--wkVCwI4-BHYW5EMk.js → mapLoadingInProgressToTreeNode-CVc6dVXE-CaIzZBQV.js} +1 -1
  214. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BTnEFiYU-C2fF84qs.js → mapSectionWithAcOnlyToTreeNode-B66AL3K--Bd_rlY83.js} +1 -1
  215. package/dist/assets/{mapSpacerToTreeNode-Gvb_Gahk-DLuuEFeF.js → mapSpacerToTreeNode-qh1Ancpy-Dv98i4UZ.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-B3GTdAAS-BJyKBkKv.js → mapTimeframeBalancesToTreeNode-Bo5MD3fO-CD1TAFZA.js} +1 -1
  217. package/dist/assets/{mapTimeframeBalancesToTreeNode-k97MRcsy-cYxjhurx.js → mapTimeframeBalancesToTreeNode-CozdZtAx-hDs_b8P7.js} +1 -1
  218. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B0Tu2soI-B-vBg5h7.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BiZYk8F8-DBgJyLOS.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-DRNrcBR0-BXgH58dt.js → toCOABalancesWithID-QJXJYQ9T-D9YIc_FM.js} +1 -1
  220. package/dist/assets/{toChartData-CFK0sUQp-BBOvWRWz.js → toChartData-CN15R7RB-B_p8NGfJ.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-CkFH6agH-tzAT23l2.js → treasuryColorHelper-DJ8dpJXH-BC8xLJii.js} +1 -1
  222. package/dist/assets/{uploadAttachment-eOCG4lqX-CbqP6EdE.js → uploadAttachment-CpcDDNe_-BB0-GWX9.js} +1 -1
  223. package/dist/assets/{uploadReceipts-9DTOr0BG--vLNHhKu.js → uploadReceipts-9DTOr0BG-BvdpTLmI.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +2 -2
  226. package/dist/assets/CustomerOnboardingContainerPage-CxtDlG2N-DxZj6Y4F.js +0 -1
@@ -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-DOys-ClP.js";import{b as a,n as o}from"./vendor-Bs1fkIUX.js";import{D as vt}from"./HelpButton-DaQz2Rn_-DTTY1Rp2.js";import{r as It}from"./verification-CW6uEyev-CQXAdM_w.js";import{K as me}from"./SetUpDefaultSection-C_i-c6Pb-BdourO25.js";import{f as At}from"./SpendMgmtSetupAccountSection--Epy5zv7-CA4PNPZx.js";import Pt from"./PortfolioAllocationFormPage-BEO6F8kp-ByEgy2Ck.js";import $t from"./TreasuryTransferOrReviewPage-CwcgoKq8-BJ9vbpgW.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-hhuBhodS.js";import"./ChargeCardUtils-Bj-etojH-DEnAp4N-.js";import"./CreditCardPaymentPlgSection-Do0TNB0_-D3KYX2X9.js";import"./ChaseOverlay-DO2J-ha8-IZ-zxnOs.js";import"./PortfolioDetails-BUx1WGe6-DEL4Y-gC.js";import"./treasuryColorHelper-CkFH6agH-tzAT23l2.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-DQkhThHi.js";import{b as a,n as o}from"./vendor-Bs1fkIUX.js";import{D as vt}from"./HelpButton-BY3Ymwq7-DJ5acWJ1.js";import{r as It}from"./verification-CW6uEyev-CQXAdM_w.js";import{K as me}from"./SetUpDefaultSection-C944LR7Y-DIOd2-zM.js";import{f as At}from"./SpendMgmtSetupAccountSection-D7RNQvNU-Mfy-O1px.js";import Pt from"./PortfolioAllocationFormPage-CKjc0QtM-DrzVcRY1.js";import $t from"./TreasuryTransferOrReviewPage-BBmOKWs3-BUswR4E1.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-Bh-VTzSP-g7gKrhwZ.js";import"./ChargeCardUtils-DwrchU8w-R4i_b8y4.js";import"./CreditCardPaymentPlgSection-B_dwX8WO-DHpWJq0o.js";import"./ChaseOverlay-Yi_R09xG-DVuRPXDM.js";import"./PortfolioDetails-9g-2bZ7_-B_W3qaG9.js";import"./treasuryColorHelper-DJ8dpJXH-BC8xLJii.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-DOys-ClP.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-C1KRBJyb-CpiSJIcd.js";import{o as E}from"./commonDimensions-7pGp5bkY-CAxabneu.js";import{O as L}from"./StatementItem-d3Ph76EP-L1Jj0tyv.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-DtuJ3RLU.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-DQkhThHi.js";import{b as m,n as o}from"./vendor-Bs1fkIUX.js";import{$ as B}from"./BoxItem-i1_Whvbs-Ox58059k.js";import{o as E}from"./commonDimensions-Bvh80Imh-DJQ2mMY9.js";import{O as L}from"./StatementItem-Btk7PnAh-BpGnt3jo.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-CKNipVJW-CtC7NFz2.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-DOys-ClP.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-C1KRBJyb-CpiSJIcd.js";import{o as B}from"./commonDimensions-7pGp5bkY-CAxabneu.js";import{O as E}from"./StatementItem-d3Ph76EP-L1Jj0tyv.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-DtuJ3RLU.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-DQkhThHi.js";import{b as h,n as o}from"./vendor-Bs1fkIUX.js";import{$ as R}from"./BoxItem-i1_Whvbs-Ox58059k.js";import{o as B}from"./commonDimensions-Bvh80Imh-DJQ2mMY9.js";import{O as E}from"./StatementItem-Btk7PnAh-BpGnt3jo.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-CKNipVJW-CtC7NFz2.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-DOys-ClP.js";import{n as o,b as y}from"./vendor-Bs1fkIUX.js";import{q as pt}from"./PortfolioDetails-BUx1WGe6-DEL4Y-gC.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-tzAT23l2.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-DQkhThHi.js";import{n as o,b as y}from"./vendor-Bs1fkIUX.js";import{q as pt}from"./PortfolioDetails-9g-2bZ7_-B_W3qaG9.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-DJ8dpJXH-BC8xLJii.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-DOys-ClP.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-q_ews-Xd.js";import{o as W}from"./toCOABalancesWithID-DRNrcBR0-BXgH58dt.js";import{V as U}from"./toChartData-CFK0sUQp-BBOvWRWz.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-DQkhThHi.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-CultIwKc-DfWDDXED.js";import{o as W}from"./toCOABalancesWithID-QJXJYQ9T-D9YIc_FM.js";import{V as U}from"./toChartData-CN15R7RB-B_p8NGfJ.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-DOys-ClP.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import V from"./TrendChart-Dxh3-dI5-DV5bf6cV.js";import{C as W}from"./NoDataChart-DadKXWhF-BXoypnwO.js";import{q as X}from"./InsightsSection-B5J2sEZc-1FmQGvim.js";import{f as Z}from"./TransactionList-CnZjjl2c-CkgzaLAh.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-DQkhThHi.js";import{b as H,n}from"./vendor-Bs1fkIUX.js";import V from"./TrendChart-BvUgR7NR-Ctzfqawq.js";import{C as W}from"./NoDataChart-gu-_4U1R-CabzNdLa.js";import{q as X}from"./InsightsSection-CR-kPvnj-CrUpPAyC.js";import{f as Z}from"./TransactionList-CBlM8Agr-DvVoY-sz.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-DOys-ClP.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{D as hn}from"./HelpButton-DaQz2Rn_-DTTY1Rp2.js";import{h as wn}from"./VendorsAccountsSection-f-2HcYGZ-CVgHbEIH.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-hhuBhodS.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-DQkhThHi.js";import{b as X,n as s}from"./vendor-Bs1fkIUX.js";import{D as hn}from"./HelpButton-BY3Ymwq7-DJ5acWJ1.js";import{h as wn}from"./VendorsAccountsSection-BeWKBguu-BtnTUDQo.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-Bh-VTzSP-g7gKrhwZ.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-DOys-ClP.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-DQkhThHi.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-DOys-ClP.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-DQkhThHi.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-DOys-ClP.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-DQkhThHi.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-DOys-ClP.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-oAnfc9Qe-yESVicur.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-Bx0GbYIb.js";import"./MagicLinkTitleSection-DqB2vjSF-Lu6JjKZe.js";import"./BankAccountSection-Cpoe0xvv-BODDi8Sr.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-DQkhThHi.js";import{b as d}from"./vendor-Bs1fkIUX.js";import{f as k}from"./ACHDetailsPage-B3MRYG7O-B-RXeGCL.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-CqTSk_2C-Cp_-6cnu.js";import"./MagicLinkTitleSection-CeaDLMlx-CUboS_35.js";import"./BankAccountSection-DMa6vU71-Bb9P6KSr.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-DOys-ClP.js";import{b as $,n as a,i as Yt}from"./vendor-Bs1fkIUX.js";import{k as Xt}from"./SubTabSwitcher-CUvyjMr3-DYbZcGcn.js";import{f as Gt}from"./TransactionList-CnZjjl2c-CkgzaLAh.js";import{R as Qt}from"./TrendWithTransactions-Cb9SG4qI-D8ofzF41.js";import{o as Zt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Jt}from"./LabeledAddressValueField-BcqZX242-B381AICZ.js";import{Y as es}from"./LabeledDropDownFormattedTextField-BXgIgc-I-DuGK6POf.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-CpiSJIcd.js";import"./commonDimensions-7pGp5bkY-CAxabneu.js";import"./TrendChart-Dxh3-dI5-DV5bf6cV.js";import"./chartTypes-CnEyojFG-q_ews-Xd.js";import"./toCOABalancesWithID-DRNrcBR0-BXgH58dt.js";import"./toChartData-CFK0sUQp-BBOvWRWz.js";import"./NoDataChart-DadKXWhF-BXoypnwO.js";import"./InsightsSection-B5J2sEZc-1FmQGvim.js";import"./NavigationDots-BE7tpxpw-oc9z27Z0.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-DQkhThHi.js";import{b as $,n as a,i as Yt}from"./vendor-Bs1fkIUX.js";import{k as Xt}from"./SubTabSwitcher-C9n0mkw2-CZ5IIsBe.js";import{f as Gt}from"./TransactionList-CBlM8Agr-DvVoY-sz.js";import{R as Qt}from"./TrendWithTransactions-CzH_CezC-DRsUi6Po.js";import{o as Zt,t as Kt}from"./arrow-south-east-round-PEovUgvH-DnzbA_s-.js";import{W as Jt}from"./LabeledAddressValueField-_3232w63-CMng5o-E.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CaInnQPt-B4tEjb2j.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-i1_Whvbs-Ox58059k.js";import"./commonDimensions-Bvh80Imh-DJQ2mMY9.js";import"./TrendChart-BvUgR7NR-Ctzfqawq.js";import"./chartTypes-CultIwKc-DfWDDXED.js";import"./toCOABalancesWithID-QJXJYQ9T-D9YIc_FM.js";import"./toChartData-CN15R7RB-B_p8NGfJ.js";import"./NoDataChart-gu-_4U1R-CabzNdLa.js";import"./InsightsSection-CR-kPvnj-CrUpPAyC.js";import"./NavigationDots-DHkA0dj3-CUT6_ZD9.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-DOys-ClP.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-DOd_8Yf7-DJP2Szva.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-BODDi8Sr.js";import"./MagicLinkTitleSection-DqB2vjSF-Lu6JjKZe.js";import"./BankAccountWarningSection-rJ5lRXiY-Bx0GbYIb.js";import"./MailingDetailsSection-BVS2GW-G-8qGIPh5L.js";import"./LabeledAddressValueField-BcqZX242-B381AICZ.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-DQkhThHi.js";import{b as C}from"./vendor-Bs1fkIUX.js";import{D as b}from"./DomesticWireDetailsPage-CJnEtp5K-CDjAKPwK.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-DMa6vU71-Bb9P6KSr.js";import"./MagicLinkTitleSection-CeaDLMlx-CUboS_35.js";import"./BankAccountWarningSection-CqTSk_2C-Cp_-6cnu.js";import"./MailingDetailsSection-C1cnBO3h-VPuzcKVP.js";import"./LabeledAddressValueField-_3232w63-CMng5o-E.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-DOys-ClP.js";import{b as x,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-BXgIgc-I-DuGK6POf.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-DQkhThHi.js";import{b as x,n as a}from"./vendor-Bs1fkIUX.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CaInnQPt-B4tEjb2j.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-DOys-ClP.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-Cxg0dgCk.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-DQkhThHi.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-Br77QlAp-D6TuJUG6.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-DOys-ClP.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-rJ5lRXiY-Bx0GbYIb.js";import{T as Re}from"./MailingDetailsSection-BVS2GW-G-8qGIPh5L.js";import{S as Pe}from"./CurrencySelectField-CKx6YVVh-DVZJNx4G.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-B381AICZ.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-DQkhThHi.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-CqTSk_2C-Cp_-6cnu.js";import{T as Re}from"./MailingDetailsSection-C1cnBO3h-VPuzcKVP.js";import{S as Pe}from"./CurrencySelectField-Cc7VZ0zc-_2UIxQ_k.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-_3232w63-CMng5o-E.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-DOys-ClP.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-CRIdQeV1-NxlloXl5.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-Bx0GbYIb.js";import"./MailingDetailsSection-BVS2GW-G-8qGIPh5L.js";import"./LabeledAddressValueField-BcqZX242-B381AICZ.js";import"./MagicLinkTitleSection-DqB2vjSF-Lu6JjKZe.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-DQkhThHi.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-8WfR9slT-M8u6Zxiw.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-CqTSk_2C-Cp_-6cnu.js";import"./MailingDetailsSection-C1cnBO3h-VPuzcKVP.js";import"./LabeledAddressValueField-_3232w63-CMng5o-E.js";import"./MagicLinkTitleSection-CeaDLMlx-CUboS_35.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-DOys-ClP.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-DQkhThHi.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-DOys-ClP.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Q,Z as k}from"./AccountLockedInfoModal-Cf6hufyW-aumxMa9v.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-DQkhThHi.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Q,Z as k}from"./AccountLockedInfoModal-CQspLG36-DajR2MFv.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};
@@ -1,4 +1,4 @@
1
- import{q as k,j as t,ap as j,dy as y,h as S}from"./index-DOys-ClP.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(z,{src:i,alt:"Video thumbnail"}),t.jsx(D,{onClick:B,children:t.jsx(P,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
1
+ import{q as k,j as t,ap as j,dy as y,h as S}from"./index-DQkhThHi.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(z,{src:i,alt:"Video thumbnail"}),t.jsx(D,{onClick:B,children:t.jsx(P,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
2
2
  0% {
3
3
  transform: rotate(0deg);
4
4
  }
@@ -1,4 +1,4 @@
1
- import{q as s,j as i,ap as l,aM as a,h as c,o as n,y as r}from"./index-DOys-ClP.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-C5XJLW5o-CjU_5PnJ.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{q as s,j as i,ap as l,aM as a,h as c,o as n,y as r}from"./index-DQkhThHi.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-BDT7Wxrv-BT2nid29.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,4 +1,4 @@
1
- import{q as C,l as B,O as D,j as s,a as j,t as S,n as M,C as E,o as n,y as $,b as L,H as P,A as z,_ as N,h as w,s as A,M as O,I as R,u}from"./index-DOys-ClP.js";import{n 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 e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},T={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=q(x,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=H(v,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=_(y,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=F(k,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(G,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(V,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
1
+ import{q as C,l as B,O as D,j as s,a as j,t as S,n as M,C as E,o as n,y as $,b as L,H as P,A as z,_ as N,h as w,s as A,M as O,I as R,u}from"./index-DQkhThHi.js";import{n 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 e=D.getLocalizedStrings(),h={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},T={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?B.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=q(x,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=H(v,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=_(y,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=F(k,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(G,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(V,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
2
  ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},q=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},H=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},_=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},F=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aa as Pe,q as E,ax as Te,l as T,c as pe,aP as Be,j as t,O as q,aN as B,c5 as L,o,bF as Le,C as D,cD as R,cE as F,cF as G,ad as Ne,dn as Me,h as f,db as Ee,aM as C,P as he,ai as b,bP as He,bZ as Ie,aS as Ue,y as j,fX as Oe,ft as ae,u as p,hz as We,be as Re,bR as Fe,bh as Ge,bg as Ye,bS as Ve,bf as Ze,am as K,hA as Je,b6 as Xe,a$ as qe,hB as Ke,s as _e,hC as Qe,M as et,fZ as tt,di as ot,an as at,b as it,cw as nt}from"./index-DOys-ClP.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-C1KRBJyb-CpiSJIcd.js";import{w as rt}from"./downloadPdf-DeWDMgGW-DtuJ3RLU.js";import{H as ct}from"./DepositAccTransactionItem-DRKEJqSS-DA8aFCnt.js";import{T as st}from"./ZeniAccountNavBarPieces-C0GhVRsq-DpFC4Ciq.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"./commonDimensions-7pGp5bkY-CAxabneu.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
1
+ import{aa as Pe,q as E,ax as Te,l as T,c as pe,aP as Be,j as t,O as q,aN as B,c5 as L,o,bF as Le,C as D,cD as R,cE as F,cF as G,ad as Ne,dn as Me,h as f,db as Ee,aM as C,P as he,ai as b,bP as He,bZ as Ie,aS as Ue,y as j,fX as Oe,ft as ae,u as p,hz as We,be as Re,bR as Fe,bh as Ge,bg as Ye,bS as Ve,bf as Ze,am as K,hA as Je,b6 as Xe,a$ as qe,hB as Ke,s as _e,hC as Qe,M as et,fZ as tt,di as ot,an as at,b as it,cw as nt}from"./index-DQkhThHi.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-i1_Whvbs-Ox58059k.js";import{w as rt}from"./downloadPdf-CKNipVJW-CtC7NFz2.js";import{H as ct}from"./DepositAccTransactionItem-CNf7CHUT-BPeoXggx.js";import{T as st}from"./ZeniAccountNavBarPieces-CdDZwzfE-BYBoxDdf.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"./commonDimensions-Bvh80Imh-DJQ2mMY9.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{q as K,aa as Ie,aP as _e,c as De,aX as Ee,O as J,aO as Fe,j as t,cD as W,h as o,ad as Ge,o as n,dn as Ne,db as Ue,cE as ne,cF as ie,hw as Oe,aN as G,c5 as fe,bF as Re,C,ar as We,am as Ye,s as Ve,cd as Ze,bP as ye,ai as b,ax as qe,l as Xe,cr as He,ft as F,aM as N,y as j,an as Q,fS as Ke,b as Je,H as Qe,ao as et,dd as tt,cw as nt,gh as it,u,e4 as ot,f$ as rt,hx as st,n as at,fU as ct,bZ as lt,aS as dt}from"./index-DOys-ClP.js";import{b as g,n as i}from"./vendor-Bs1fkIUX.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as ut}from"./shield-DOlUxcFf-CDkNAu2o.js";import{T as mt}from"./ZeniAccountNavBarPieces-C0GhVRsq-DpFC4Ciq.js";import{v as ht}from"./ZeniTransferAmountSlider-BVaeHoig-DaAPDIuA.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 gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=J.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:S})=>{const s=K(),v=(c,T)=>Object.entries(T).reduce((M,[A,$])=>M.replace(new RegExp(`__${A}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:S,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(jt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(bt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(At,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},$t=i.div`
1
+ import{q as K,aa as Ie,aP as _e,c as De,aX as Ee,O as J,aO as Fe,j as t,cD as W,h as o,ad as Ge,o as n,dn as Ne,db as Ue,cE as ne,cF as ie,hw as Oe,aN as G,c5 as fe,bF as Re,C,ar as We,am as Ye,s as Ve,cd as Ze,bP as ye,ai as b,ax as qe,l as Xe,cr as He,ft as F,aM as N,y as j,an as Q,fS as Ke,b as Je,H as Qe,ao as et,dd as tt,cw as nt,gh as it,u,e4 as ot,f$ as rt,hx as st,n as at,fU as ct,bZ as lt,aS as dt}from"./index-DQkhThHi.js";import{b as g,n as i}from"./vendor-Bs1fkIUX.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as ut}from"./shield-DOlUxcFf-CDkNAu2o.js";import{T as mt}from"./ZeniAccountNavBarPieces-CdDZwzfE-BYBoxDdf.js";import{v as ht}from"./ZeniTransferAmountSlider-DeYuGxZX-C-YtU1mz.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 gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=J.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:S})=>{const s=K(),v=(c,T)=>Object.entries(T).reduce((M,[A,$])=>M.replace(new RegExp(`__${A}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:S,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(jt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(bt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(At,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},$t=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{ax as O,g3 as P,l as $,O as z,j as a,aM as B,h3 as p,hy as u,o as s,h5 as j}from"./index-DOys-ClP.js";import{n as y}from"./vendor-Bs1fkIUX.js";const o=z.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],d={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},w=[d,g,v,M],A=[v,g,d,M],R=({zeniBankProps:e,isBillPayEnabled:h,isExpressPayEnabled:x,analytics:b,onSettingsClick:f})=>{const l=O(),i=l.loggedInUserRoleMap.deposit_accounts_user===!0||P(l),k=$.hasBillPayAccess(l.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=h===!0?w:A,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return a.jsxs(E,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!i?a.jsx(C,{onClick:f,"data-testid":B("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:i?S:m,title:o.moveMoney.title}),i?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>b?.trackAccountsListPageClicked("Move Money")})]})},C=y(j)`
1
+ import{ax as O,g3 as P,l as $,O as z,j as a,aM as B,h3 as p,hy as u,o as s,h5 as j}from"./index-DQkhThHi.js";import{n as y}from"./vendor-Bs1fkIUX.js";const o=z.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],d={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},w=[d,g,v,M],A=[v,g,d,M],R=({zeniBankProps:e,isBillPayEnabled:h,isExpressPayEnabled:x,analytics:b,onSettingsClick:f})=>{const l=O(),i=l.loggedInUserRoleMap.deposit_accounts_user===!0||P(l),k=$.hasBillPayAccess(l.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=h===!0?w:A,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return a.jsxs(E,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!i?a.jsx(C,{onClick:f,"data-testid":B("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:i?S:m,title:o.moveMoney.title}),i?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>b?.trackAccountsListPageClicked("Move Money")})]})},C=y(j)`
2
2
  cursor: pointer;
3
3
  min-width: ${s.sp4};
4
4
  width: ${s.sp4};
@@ -1,4 +1,4 @@
1
- import{c as ae,q as v,aP as ce,ax as xe,g3 as me,j as i,bF as pe,O as _,s as he,o,cQ as ue,ar as Z,n as W,aM as L,af as j,_ as ge,aX as z,aO as k,aS as J,bC as we,y as x,h as A,cR as je,aT as $e,b9 as ye,u as D,b as $,H as C,an as T,ag as Se}from"./index-DOys-ClP.js";import{b as F,n}from"./vendor-Bs1fkIUX.js";import{x as fe}from"./MeetingCalenderPopup-_Dd08iTt-hhuBhodS.js";import{M as B}from"./usp-line-BBd1wKwW-ZlUrfnG1.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 u={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(D[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,D[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{c as ae,q as v,aP as ce,ax as xe,g3 as me,j as i,bF as pe,O as _,s as he,o,cQ as ue,ar as Z,n as W,aM as L,af as j,_ as ge,aX as z,aO as k,aS as J,bC as we,y as x,h as A,cR as je,aT as $e,b9 as ye,u as D,b as $,H as C,an as T,ag as Se}from"./index-DQkhThHi.js";import{b as F,n}from"./vendor-Bs1fkIUX.js";import{x as fe}from"./MeetingCalenderPopup-Bh-VTzSP-g7gKrhwZ.js";import{M as B}from"./usp-line-BBd1wKwW-ZlUrfnG1.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 u={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(D[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,D[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{c as Se,q as we,aP as O,aa as be,cS as Ae,O as xe,aU as $,j as t,fn as Pe,h as Ce,y as d,bF as ke,P as Fe,ad as ve,e6 as je,bA as Te,aQ as ze,o as Ee,u as a,am as Ve}from"./index-DOys-ClP.js";import{b as f,n as S}from"./vendor-Bs1fkIUX.js";import{D as De}from"./HelpButton-DaQz2Rn_-DTTY1Rp2.js";import{K as Ue}from"./SetUpDefaultSection-C_i-c6Pb-BdourO25.js";import{f as Ie}from"./SpendMgmtSetupAccountSection--Epy5zv7-CA4PNPZx.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-KCRDK6Vb-BKx7d-9e.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-hhuBhodS.js";import"./ChargeCardUtils-Bj-etojH-DEnAp4N-.js";import"./CreditCardPaymentPlgSection-Do0TNB0_-D3KYX2X9.js";import"./ChaseOverlay-DO2J-ha8-IZ-zxnOs.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:$e,commonSetUp:_,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:W}=Be,{zeniAccountSetUp:z}=W,{setUp:E}=_,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:q,authParams:H,accountsPromoConfig:M,onFetchLinkTokenClick:Z,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:K,onBusinessVerificationSectionClick:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=Se(),i=we(),[A,h]=f.useState(!1),{fetchState:g,companyBillPayInfo:V,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=p,U=O(g),x=O(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,C)=>{const n=C[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=D.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),K(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&U==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,U]),f.useEffect(()=>{const y=v.watch((C,{name:n})=>{n!=null&&C!=null&&Ae(()=>fe(n,C))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const P=pe?.isZeniAccountEnabled===!0,j=V?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const ge=j?_.setUp.setupVerifiedSubTitle:z.setupSubTitle,I=b.mode==="light"?new $(b.colors.brandColorJadeLight):new $(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):Q?.()};return t.jsxs(Re,{children:[t.jsx(Pe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:H,filesEndPoint:q,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:z.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(_e,{windowSize:i,children:ge}),he?t.jsx(We,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(qe,{windowSize:i,children:[t.jsx(Ue,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},status:V?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ie,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:P,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:M})]})})})]}),j&&!P?t.jsx(ze,{formId:R(B),primaryBtn:{label:z.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:$e.strings.empty},style:{padding:`12px ${Ee.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!P,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=S.div`
1
+ import{c as Se,q as we,aP as O,aa as be,cS as Ae,O as xe,aU as $,j as t,fn as Pe,h as Ce,y as d,bF as ke,P as Fe,ad as ve,e6 as je,bA as Te,aQ as ze,o as Ee,u as a,am as Ve}from"./index-DQkhThHi.js";import{b as f,n as S}from"./vendor-Bs1fkIUX.js";import{D as De}from"./HelpButton-BY3Ymwq7-DJ5acWJ1.js";import{K as Ue}from"./SetUpDefaultSection-C944LR7Y-DIOd2-zM.js";import{f as Ie}from"./SpendMgmtSetupAccountSection-D7RNQvNU-Mfy-O1px.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-Djewfdeg-CNAod0fA.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-Bh-VTzSP-g7gKrhwZ.js";import"./ChargeCardUtils-DwrchU8w-R4i_b8y4.js";import"./CreditCardPaymentPlgSection-B_dwX8WO-DHpWJq0o.js";import"./ChaseOverlay-Yi_R09xG-DVuRPXDM.js";const c={titleWidth:new d(343,580,726,826),setupDetailsRowGap:new d(12,a[5],a[5]),sectionRowGap:new d(a[5],a[9],a[9]),iconWidthHeight:new d(20,a[4]),subTitlePaddingTop:new d(12,a[3]),subTitlePaddingBottom:new d(a[3],a[3]),overlayWidth:new d(100,100,59)},B="zeniAccountSetUpPage",k="payAccount",{common:$e,commonSetUp:_,spendManagement:Be}=xe.getLocalizedStrings(),{zeniAccounts:W}=Be,{zeniAccountSetUp:z}=W,{setUp:E}=_,st=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:q,authParams:H,accountsPromoConfig:M,onFetchLinkTokenClick:Z,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:K,onBusinessVerificationSectionClick:Q,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=Se(),i=we(),[A,h]=f.useState(!1),{fetchState:g,companyBillPayInfo:V,isRefreshingViewInBackground:le,updateStatus:r,accountUpdateStatus:re,plaidConnectionDetails:ue,allBankAccounts:de,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:m,allFundingAccounts:D}=p,U=O(g),x=O(r.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>L(p),[p]),values:L(p)}),me=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),fe=async(y,C)=>{const n=C[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&m?.id!=n.fundingAccount.selectedOption){const u=D.find(T=>T.id===n.fundingAccount.selectedOption);u!=null&&J(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&m?.id!=null&&m?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(T=>T.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&l.trackConnectBankLink(u.value,u.label,"zeni_accounts"),K(n.account.selectedOption,m.id,m.accType)}}};f.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&U==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,U]),f.useEffect(()=>{const y=v.watch((C,{name:n})=>{n!=null&&C!=null&&Ae(()=>fe(n,C))});return()=>{y.unsubscribe()}}),f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const P=pe?.isZeniAccountEnabled===!0,j=V?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";f.useEffect(()=>{x==="In-Progress"&&r.fetchState==="Completed"&&w()},[w,x,r.fetchState]);const ge=j?_.setUp.setupVerifiedSubTitle:z.setupSubTitle,I=b.mode==="light"?new $(b.colors.brandColorJadeLight):new $(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):Q?.()};return t.jsxs(Re,{children:[t.jsx(Pe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:H,filesEndPoint:q,updateStatus:r,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:z.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(Le,{windowSize:i,children:[t.jsx(_e,{windowSize:i,children:ge}),he?t.jsx(We,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:R(B),onSubmit:me,children:t.jsxs(qe,{windowSize:i,children:[t.jsx(Ue,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},status:V?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(Ie,{connectedAccountProvider:s,plaidConnectionDetails:ue,allBankAccounts:de,sectionId:k,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:Z,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},analytics:l,productType:"zeni_accounts",primaryFundingAccount:m,isAccountsEnabled:P,allFundingAccounts:D,pageName:"Zeni Account Setup",accountsPromoConfig:M})]})})})]}),j&&!P?t.jsx(ze,{formId:R(B),primaryBtn:{label:z.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:r.fetchState==="In-Progress"||re.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:$e.strings.empty},style:{padding:`12px ${Ee.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!P,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},L=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},Le=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1 +1 @@
1
- import{O as r,j as e}from"./index-DOys-ClP.js";function i(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{i};
1
+ import{O as r,j as e}from"./index-DQkhThHi.js";function i(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{i};
@@ -1,4 +1,4 @@
1
- import{j as g,O as E,aM as L,o as i,h as j,ai as M}from"./index-DOys-ClP.js";import{b as $,n as m}from"./vendor-Bs1fkIUX.js";const S=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:b,setTotalBalance:k}){const[l,A]=$.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),D=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),b(r),k(u)},z=e=>`${C(e)}${S.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),b(t)},Y=$.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),b(f(e,a))},[b]);return $.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,b,n,Y]),g.jsxs(V,{sliderValue:l,children:[g.jsx(O,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:D}),g.jsx(B,{style:{width:`calc(${l/(c.length-1)*100}% - ${l*7.5}px)`}}),g.jsx(G,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:z(l)}),g.jsx(H,{children:n.map((e,t)=>g.jsx(N,{onClick:()=>T(t),"data-testid":L("slider-label",e.toString()),style:{left:F(t)},children:g.jsx(X,{isSelected:l>=t,children:I(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},F=o=>{switch(o){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%"}},I=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?S.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),O=m.input`
1
+ import{j as g,O as E,aM as L,o as i,h as j,ai as M}from"./index-DQkhThHi.js";import{b as $,n as m}from"./vendor-Bs1fkIUX.js";const S=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:b,setTotalBalance:k}){const[l,A]=$.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),D=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),b(r),k(u)},z=e=>`${C(e)}${S.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),b(t)},Y=$.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),b(f(e,a))},[b]);return $.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,b,n,Y]),g.jsxs(V,{sliderValue:l,children:[g.jsx(O,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:D}),g.jsx(B,{style:{width:`calc(${l/(c.length-1)*100}% - ${l*7.5}px)`}}),g.jsx(G,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:z(l)}),g.jsx(H,{children:n.map((e,t)=>g.jsx(N,{onClick:()=>T(t),"data-testid":L("slider-label",e.toString()),style:{left:F(t)},children:g.jsx(X,{isSelected:l>=t,children:I(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},F=o=>{switch(o){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%"}},I=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?S.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),O=m.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1 +1 @@
1
- import{O as o,l as s}from"./index-DOys-ClP.js";const m=t=>{switch(t){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return t}},_=(t,n,e)=>{const{dateFormat:{analytics:a},common:{strings:{atTheRate:r}}}=o.getLocalizedStrings();if(e==null)return"";switch(n){case"month":return r+s.formatZeniDate(e.startDate,a.MMMYYFormat,t);case"quarter":return r+"Q"+s.formatZeniDate(e.startDate,a.QYYYYFormat,t);case"year":return r+s.formatZeniDate(e.startDate,a.YYYYFormat,t);case"free_range":case"week":return r+s.formatZeniDate(e.startDate,a.MMMYYYYFormat,t)}};export{_ as l,m};
1
+ import{O as o,l as s}from"./index-DQkhThHi.js";const m=t=>{switch(t){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return t}},_=(t,n,e)=>{const{dateFormat:{analytics:a},common:{strings:{atTheRate:r}}}=o.getLocalizedStrings();if(e==null)return"";switch(n){case"month":return r+s.formatZeniDate(e.startDate,a.MMMYYFormat,t);case"quarter":return r+"Q"+s.formatZeniDate(e.startDate,a.QYYYYFormat,t);case"year":return r+s.formatZeniDate(e.startDate,a.YYYYFormat,t);case"free_range":case"week":return r+s.formatZeniDate(e.startDate,a.MMMYYYYFormat,t)}};export{_ as l,m};
@@ -1 +1 @@
1
- import{d as o}from"./index-DOys-ClP.js";const t=(a,m,i,s)=>{o.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
1
+ import{d as o}from"./index-DQkhThHi.js";const t=(a,m,i,s)=>{o.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
@@ -1 +1 @@
1
- import{aN as i}from"./index-DOys-ClP.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
1
+ import{aN as i}from"./index-DQkhThHi.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
@@ -1 +1 @@
1
- import{y as t}from"./index-DOys-ClP.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
1
+ import{y as t}from"./index-DQkhThHi.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
@@ -1,4 +1,4 @@
1
- import{q as x,j as r,ap as g,b$ as M,o as n,bw as P,bP as f,y as h,am as b,O as v,u as c}from"./index-DOys-ClP.js";import{b as y,n as s,i as S}from"./vendor-Bs1fkIUX.js";import{J as j}from"./CollapsableReportTable-91ayVVPk-ozST7UNz.js";const p={tooltipLeftPosition:new h(c[0],-156),tooltipTopPosition:new h(c[3],c[4]),tooltipWidth:new h(300,350)},u=S`
1
+ import{q as x,j as r,ap as g,b$ as M,o as n,bw as P,bP as f,y as h,am as b,O as v,u as c}from"./index-DQkhThHi.js";import{b as y,n as s,i as S}from"./vendor-Bs1fkIUX.js";import{J as j}from"./CollapsableReportTable-zWMH2vIR-7C-EKxD8.js";const p={tooltipLeftPosition:new h(c[0],-156),tooltipTopPosition:new h(c[3],c[4]),tooltipWidth:new h(300,350)},u=S`
2
2
  position: relative;
3
3
  `,z=s.div`
4
4
  color: ${e=>e.theme.colors.primary};
@@ -1 +1 @@
1
- import{ct as n,cu as c,cv as f}from"./index-DOys-ClP.js";async function w(s,o,e,t,r=!1){t?.(!0);try{const a=await n({urlEndPoint:s,authParams:e,fileType:"pdf"});if(a.ok){const i=c(a.headers,o),l=await a.arrayBuffer();f(l,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{w};
1
+ import{ct as n,cu as c,cv as f}from"./index-DQkhThHi.js";async function w(s,o,e,t,r=!1){t?.(!0);try{const a=await n({urlEndPoint:s,authParams:e,fileType:"pdf"});if(a.ok){const i=c(a.headers,o),l=await a.arrayBuffer();f(l,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{w};