@zeniai/web-cockpit-ui 1.14.19-qa → 1.14.20-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 (255) hide show
  1. package/dist/assets/{ACHDetailsPage-BahbefPk-J5el9V8C.js → ACHDetailsPage-CVBRtacz-BEkwx2cM.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-BuQApbEf-GygwxWAV.js → AIPerformancePage-DnOjd2BF-CRXsdl24.js} +32 -32
  3. package/dist/assets/{AccountInfoPage-TD30edES-ayWa9vvt.js → AccountInfoPage-Bt-jShgf-CCHYq--w.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-DQJFmREl-DJbEuy4H.js → AccountInfoPageContent-Cc80eQeo-579rUIpL.js} +6 -6
  5. package/dist/assets/AccountLockedInfoModal-B-Hn6_hG-B-4Dg7na.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-D2B9Na3--BOg6bkeN.js → AccountReconDetailsDrawerPage-Bz1Sk2du-CwztkqDE.js} +7 -7
  7. package/dist/assets/{AccountRow-ZcS_RTJN-BR9_rLoN.js → AccountRow-D01C0A0f-QA2NRq7R.js} +20 -20
  8. package/dist/assets/{AccountsPromoCardStack-Bh2D-mXh-Bs4EYM2a.js → AccountsPromoCardStack-DsjFJ8gZ-DjW6RsEa.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-Ds2V5DyG-DVXVjy6o.js → AddAddressForCardDrawer-DnoYIvUp-DRozqjCP.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-DQ_gwAcu-BJUo6mYt.js → AddToWalletPage-BIiW9JxG-D9CD9wND.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-BU_tqV13-BsnkvpaT.js → AgingReportsPage-WazD_3Z7-CoFeaJHD.js} +7 -7
  12. package/dist/assets/{AllUserItems-DBXzXO61-BTwofn85.js → AllUserItems-CTSy4oBh-COmuQZqb.js} +7 -7
  13. package/dist/assets/{ApAgingDetailPage-Crv9EDe5-PAcPKxo5.js → ApAgingDetailPage--NGBXWsy-C8HiqI6Z.js} +3 -3
  14. package/dist/assets/{AppBasePage-BK_b0fFf-CHlalUjf.js → AppBasePage-B5br9UXD-BXEvz6Z3.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-rw39Hn3s-DGkZVDxv.js → AppDrawerContent-vFeMNL3B-anFPhgeB.js} +59 -46
  16. package/dist/assets/{ApprovalRulesSettingsPage-C6jxuvhu-D5ZeFfm2.js → ApprovalRulesSettingsPage-6j7VBBZ6-D1yZE3mH.js} +2 -2
  17. package/dist/assets/{ArAgingChart-DVMlvNTF-ni7r1vai.js → ArAgingChart-BYWN3_Nl-CYX1U_rU.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-CbmOL5tx-DQdpeuHC.js → ArAgingDetailPage-B-hHa8A6-BrQATxNB.js} +1 -1
  19. package/dist/assets/{AttachmentView-BTAMhgXU-BhSl8K4J.js → AttachmentView-C2kWA5X5-XqMuBHHe.js} +2 -2
  20. package/dist/assets/{BankAccountSection-DVO3xzgl-CCZx3rs7.js → BankAccountSection-B20IwpOn-dEqA-3oX.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-CQsqUFKg-05XikjyA.js → BankAccountWarningSection-GHO0P0IZ-jfpI3pUb.js} +3 -3
  22. package/dist/assets/{BankConnectionsSettingsPage-CEyhk8v--WB0uUoLR.js → BankConnectionsSettingsPage-Cpg1ObB6-DR3nDiYc.js} +30 -30
  23. package/dist/assets/{BillDetailPage-CP6QCrla-vmmuF3oo.js → BillDetailPage-DOF5ibT6-Bat6GtFx.js} +6 -6
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Bem5LvtY-mygah7A2.js → BillPayApprovalRuleDetailPage-BI1R1zT_-D9iKVE5j.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DhDaCfQa-DAxnPtHS.js → BillPayApprovalRulesPage-B3x4So_i-B5TxdAS5.js} +7 -7
  26. package/dist/assets/{BillPayPromoPage-BjH9lvnR-DfHFrxb-.js → BillPayPromoPage-BqzH5AIp-Bcp4yJP9.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-X8X9gq1a-Oap0vh__.js → BillPaySetUpPage-DqiNMnRE-abIQ9Tkf.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-CyyR8GW1-k3cgjV3v.js → BillingSettingsPage-BOAAGOLs-CdPqd8Hl.js} +3 -3
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D_xxZjcU-DTZsZg8z.js → BillsBulkReviewDrawerPage-B76xXQJ9-CbXzjgOR.js} +1 -1
  30. package/dist/assets/{BoxItem-BL-UVx2X-Chlftilo.js → BoxItem-DCsIK5bA-DrkhsCS_.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Tr-N_rHo-B5h3rNqu.js → BusinessVerificationPage-hSVDM_Bi-eN7TBacX.js} +7 -7
  32. package/dist/assets/{CardNumberSubText-CNMNL0y--C35fqYUk.js → CardNumberSubText-B_ZdgYVm-CRvH-CRy.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-Cj26I5CB-BotQ-1hR.js → CashbackDetailPage-CNeEt6aE-CsctITKU.js} +16 -16
  34. package/dist/assets/{ChargeCardDetailPage-herJK06r-BTMIHWV-.js → ChargeCardDetailPage-C0a8jqCD-CUfhgRr0.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-LYVKm-0u-bxw-Libg.js → ChargeCardListPage-_3lJqIYP-iewbQ3J2.js} +55 -55
  36. package/dist/assets/{ChargeCardListTable-DxE-nRR4-BZ_zecYA.js → ChargeCardListTable-Kx-_ZAZu-BvnPLhgK.js} +23 -23
  37. package/dist/assets/{ChargeCardPromoPage-LVuaSVsQ-DLq8eZoX.js → ChargeCardPromoPage-CKTkcQdI-B3wD2hqP.js} +5 -5
  38. package/dist/assets/{ChargeCardSetupPage-CWoHclOr-DyydyXV2.js → ChargeCardSetupPage-CGRMFERy-BQ8k2roy.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DkCHd5c6-cX5JlZ7W.js → ChargeCardStatementsPage-B_7CdyKP-CMTrFXHN.js} +6 -6
  40. package/dist/assets/{ChargeCardUtils-6kq_92Ri-Dli-fqCF.js → ChargeCardUtils-BcwLwgz7-DrE0N0EF.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-N7gGQaMQ-DQdim44v.js → ChaseOverlay-ClcKUdpT-Buerorcp.js} +3 -3
  42. package/dist/assets/{CheckDepositDrawerPage-w7IziUHI-DVFTIQZX.js → CheckDepositDrawerPage-I3siSP2H-BrRdb26D.js} +15 -15
  43. package/dist/assets/{CollapsableReportTable-NSlKGCNZ-DKKIVw3S.js → CollapsableReportTable-ULd7PQST-DRS_mwem.js} +46 -46
  44. package/dist/assets/{CompanyOfficerDetailsSection-C1IpMsWw-D1LJtTPO.js → CompanyOfficerDetailsSection-DLaAmVLG-9U29EMpY.js} +30 -30
  45. package/dist/assets/{CompanyPassportCard-D5gkzDNU-YrDg6jQC.js → CompanyPassportCard-CZQuAyI2-Du4zK6a2.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-6_6yWHxX-CF_r79l3.js → CompanyPassportPage-DqoVJfO--BezYa4q3.js} +1 -1
  47. package/dist/assets/{CompleteProfile-1xeOWkGT-FRaqVJXW.js → CompleteProfile-BJV-xUlM-DoWTiT1k.js} +1 -1
  48. package/dist/assets/ConfettiBurst-D4ga9TRN-DITQey3L.js +1 -0
  49. package/dist/assets/{CreateOrEditVendorPage-DQW4Wobx-Dvll5UZ6.js → CreateOrEditVendorPage-C6efUMJu-BO_oyqIH.js} +9 -9
  50. package/dist/assets/{CreditCardPaymentDrawerPage-BEpQXn9g-ChE1dvw6.js → CreditCardPaymentDrawerPage-26ysDTts-B2nPMyDO.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-BGh2TJeK-iEMZXSJH.js → CreditCardPaymentPlgSection-8NQI5gcx-CtF_TfUM.js} +3 -3
  52. package/dist/assets/{CurrencySelectField-C2if0NUa-5itJjf-l.js → CurrencySelectField-CVNn0XCq-DT36t2lI.js} +4 -4
  53. package/dist/assets/{CustomerOnboardingActivationPage-_zjv9RZY-mJqfERvY.js → CustomerOnboardingActivationPage-D0-sOxDl-Bm2kAKIU.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-8rsNTWNZ.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CXApNm6A-nctUkt8D.js → CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BXEF9ppx.js} +8 -8
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-BaBxG1Yn-DVZXklmj.js → CustomerOnboardingNoStepsPage-CD1QldcG-CzeAfya1.js} +2 -2
  57. package/dist/assets/{CustomerOnboardingPage-CWpmMXrh-BXodyMV2.js → CustomerOnboardingPage-DB1gXgdD-CUHFehdd.js} +8 -8
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-CGYRoz3v-DUKyEfgU.js → CustomerOnboardingProductSuitePage-DGMmLmq8-Cbgji3lL.js} +5 -5
  59. package/dist/assets/{Dashboard-Dyt4nvyG-QlqN1FnF.js → Dashboard-CU3UQhxj-VVHJwggZ.js} +230 -230
  60. package/dist/assets/{DashboardReportPage-BSbTlRwW-B1vbOEGw.js → DashboardReportPage-DMdKWPtx-DkAIriFg.js} +1 -1
  61. package/dist/assets/DashboardSidebarBackgroundAnimation-BMEqBAyh-vfJQWz_r.js +12 -0
  62. package/dist/assets/{DepositAccTransactionItem-CuTp6qxI-83UpC9RP.js → DepositAccTransactionItem-C1-JGWD1-BMvGw-zQ.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-CrQrOyrm-SWt9-LCs.js → DepositAccTransactionListPage-CfwhQ7mC-B3prPdix.js} +2 -2
  64. package/dist/assets/{DomesticWireDetailsPage-C5hxxGsr-BGI0Q6wD.js → DomesticWireDetailsPage-D6fDbjcO-DHXj9Zdn.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-B9O7jf-4-DcPl1K2L.js → DownloadOverlay-CsX54puJ-DeWJ_bTZ.js} +6 -6
  66. package/dist/assets/{DrawerPage-Dpd6lRf7-XU_mVF4h.js → DrawerPage-xYwGDHR6-Ch0S05SG.js} +4 -4
  67. package/dist/assets/{EditPeoplePage-C7uOWg9F-XHgvFx-q.js → EditPeoplePage-9SmQtrJz-Cw0-GcjG.js} +6 -6
  68. package/dist/assets/{EditReimbursementDetailPage-BL-W1hPs-Cvem5pvL.js → EditReimbursementDetailPage-EUO0BoRp-EVPPjvHX.js} +57 -57
  69. package/dist/assets/EntityDetailPage-CF6LS35a-CeBa6jKf.js +18 -0
  70. package/dist/assets/{EntitySummarySection-eNxIwvHt-VuusTU29.js → EntitySummarySection-C0gR6pkr-AtoRf1sI.js} +6 -6
  71. package/dist/assets/{ExpenseAutomationOverviewPage-CKBACgsI-CHNuBdnj.js → ExpenseAutomationOverviewPage-B0I8v21w-C1ihD57y.js} +18 -18
  72. package/dist/assets/{ExpenseAutomationPage-LPWPrpwm-dGXlp7Wn.js → ExpenseAutomationPage-BorzJM7G-DFmLOpV0.js} +69 -69
  73. package/dist/assets/{ExpressPayPage-COQrt-KL-C3Su3pc-.js → ExpressPayPage-D0YWItIv-Bvps2LX7.js} +7 -7
  74. package/dist/assets/FeaturePreviewPage-yu8G5cHk-BxkuThqr.js +11 -0
  75. package/dist/assets/{FollowStepsSection-BJFJzQrz-BPLmYjf1.js → FollowStepsSection-DRDFxA8H-Dg1nQMTR.js} +6 -6
  76. package/dist/assets/{GlobalReviewListPage-DDQb-plt-GWioPE-8.js → GlobalReviewListPage-D80yv7U2-CfvcgDlu.js} +13 -13
  77. package/dist/assets/{HelpButton-BT_HyQ5k-L583ynk6.js → HelpButton-D9ONg6cm-CuNxHNm2.js} +2 -2
  78. package/dist/assets/{InformationCardStack-B9E29_zj-oBDdQQV7.js → InformationCardStack-CbKQwtHm-B7yYvAdF.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-7XbkZ-A3-DAJvX00p.js → InsightsCardStack-BWsN9_G2-DemEieR0.js} +1 -1
  80. package/dist/assets/{InsightsSection-DtBq9eII-Dpm_kPOF.js → InsightsSection-WZo-AWJt-DohBwSi_.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-TjdF0ahh-CLiKNfVQ.js → IntegrationsSettingsPage-BLjSJt9r-6t6Ass9f.js} +6 -6
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-BeSYu2Dm-CzOgaF0W.js → InternationalWireSwiftDetailsPage-BXNDZ1Mk-BO2f4UVV.js} +13 -13
  83. package/dist/assets/{InternationalWireVerificationPage-Ctcaggen-B6mWLRZN.js → InternationalWireVerificationPage-BLgPJ1NJ-CMky3KEh.js} +9 -9
  84. package/dist/assets/{InviteFormPage-DEDBu0OO-CbRBG8oQ.js → InviteFormPage-DPQ4vL9--DIhY9xxd.js} +1 -1
  85. package/dist/assets/{InvitePageListView-BMMOpM9O-CiVYjuPy.js → InvitePageListView-YUKxUGBn-CGJ_yirg.js} +41 -41
  86. package/dist/assets/{InvitePeoplePage-BzPRCgA6-CQ1Opb3h.js → InvitePeoplePage-C3vECRns-DBtYnb-4.js} +4 -4
  87. package/dist/assets/{InvoiceUploadSection-C6Dx8Web-BBk4Ja4L.js → InvoiceUploadSection-Cx6pXJiN-CgRQkeV5.js} +5 -5
  88. package/dist/assets/{IssueChargeCardPage-DWRhiOzj-CcGeSv03.js → IssueChargeCardPage-DZVtocCO-B49QpSq-.js} +33 -33
  89. package/dist/assets/{LabeledAddressValue-CSb0EGEx-CwfHtDm0.js → LabeledAddressValue-BrB2xQYz-B09yXjLA.js} +1 -1
  90. package/dist/assets/LabeledAddressValueField-_35LG3OI-C2eHerzm.js +45 -0
  91. package/dist/assets/{LabeledControlledCheckBoxField-rRmtlmRJ-C45YSN-M.js → LabeledControlledCheckBoxField-o0K1dba0-BZipP4yv.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CTwToXIo-BL-7qWpY.js → LabeledCreatableSingleSelectField-DQwGH21a-D1Rth7u2.js} +7 -7
  93. package/dist/assets/{LabeledDocumentField-sIz4Fhet-BCtWDAeF.js → LabeledDocumentField-CfgzkjDY-CbC276Lv.js} +2 -2
  94. package/dist/assets/{LabeledDropDownFormattedTextField-mOxkCT-G-97yk9rN2.js → LabeledDropDownFormattedTextField-DdaTvUbM-C4uCaUJ3.js} +10 -10
  95. package/dist/assets/{LabeledText-CExeogkg-B87qiJpD.js → LabeledText-Hi4MixDN-n_lfAbe7.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DrloYoze-ChdXh6tK.js → LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-CKRRo1Fi.js} +14 -14
  97. package/dist/assets/{LabeledZeniRolesDropDownField-BZKMSlzI-BfxjXxW8.js → LabeledZeniRolesDropDownField-Bm7Emr_n-JLIDvMIU.js} +6 -6
  98. package/dist/assets/{LinkJETransactionPage-D9Kae7Qd-CNnC6I7f.js → LinkJETransactionPage-ittEPbhi-BCWKpHna.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-DqY0lHvk-CVgmCk0Z.js → LowBalancePopup-ChA83eFW-dErt1yuL.js} +6 -6
  100. package/dist/assets/{MagicLinkACHDetailsPage-BctRnNGY-DsQ_Vr0G.js → MagicLinkACHDetailsPage-B4PPI06n-DFF50HiV.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-UjO7TGNI-DqUtPIYq.js → MagicLinkDomesticWireDetailsPage-DRK5ytSb-CTgdy9NG.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-ex7nPlxc-CynZ72OJ.js → MagicLinkInternationalWireDetailsPage-C2pn5xtm-DTn743zM.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-D3ORpbmL-D1tcTprK.js → MagicLinkSuccessPage-Bag5TE2J-DCGiU-tX.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-Di20DmsJ-U44nhhts.js → MagicLinkTitleSection-Ch72cLUN-CsTRlAex.js} +3 -3
  105. package/dist/assets/{MailingDetailsSection-D7d7fV5j-Cp7uqL5j.js → MailingDetailsSection-CrHHLtQN-loRqi7di.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-C-Ca0puH-CE3GtRxz.js → MeetingCalenderPopup-B_KRQLwc-CemZcgIl.js} +1 -1
  107. package/dist/assets/{Menu-FcKyIIWS-CsxddkDK.js → Menu-Czq7AdhP-C-oEbm2f.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-B4NuqJVI-tpOCMOiD.js → MyBankConnectionsSettingsPage-y3YOYnQr-BDn2GzBg.js} +6 -6
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-C4eMpxAr-D90MmLrN.js → MyPendingActivationChargeCardListPage-DJeYzaPj-Dm2kAILW.js} +2 -2
  110. package/dist/assets/{MyProfileSettingsPage-D0ALOEls-sjgoMLjt.js → MyProfileSettingsPage-hQvoACAQ-DxTxhxW-.js} +4 -4
  111. package/dist/assets/{NavBarWithPicker-Bu03gVw7-CXCT1AQF.js → NavBarWithPicker-DUaSGf4d-hMIZgUnq.js} +4 -4
  112. package/dist/assets/{NavigationArrow-D7Eb-FlF-CIlViwE5.js → NavigationArrow-ClEBtns--CBhi3Wa5.js} +5 -5
  113. package/dist/assets/{NavigationDots-CFjUchuX-CCsCkY6f.js → NavigationDots-BsJyQWOZ-DQaJD5qn.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-rhhm0o-f-Tif0VAaZ.js → NewGlobalMerchantPage-BKZGSrDk-Bj0fLOGG.js} +9 -9
  115. package/dist/assets/{NoDataChart-D5DKMqIS-yU_mZZgB.js → NoDataChart-Bk9eWo52-DbkTpf0E.js} +1 -1
  116. package/dist/assets/{NoDataTable-CPEKYH-4-DCggOQ1X.js → NoDataTable-DCQbtvPN-DkrWdcTk.js} +1 -1
  117. package/dist/assets/{NotFoundPage-Cfk62GPw-BF5rP4O6.js → NotFoundPage-CGx7FoiU-CZaJl2_e.js} +2 -2
  118. package/dist/assets/{NotificationSettingsPage-BZtsKPBO-DZmsk2cw.js → NotificationSettingsPage-CoD8eTUS-8OIZSyCr.js} +5 -5
  119. package/dist/assets/{NotificationsListConfig-DiJLl-YW-BOy_2Fl2.js → NotificationsListConfig-hyqVBWDA-BxI8wBvU.js} +1 -1
  120. package/dist/assets/{NotificationsPage-CgABP7O1-D8bdKO5u.js → NotificationsPage-BavPSx1H-CVEnlnNl.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-CMEokGbw-D-EhSgr7.js → OpExByVendorPage-DD8tCc8E-DObB3ZyW.js} +4 -4
  122. package/dist/assets/{OverlayContainerPage-9K5jaX8Z-CmMmKd0q.js → OverlayContainerPage-Dg-aOJQU-XdQCUH0G.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-IizA8WJN-Debywzdm.js → PandLWithForecastPage-bSkidYRR-D-Y5VMs1.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D6cW0hFS-B6jN0swI.js → PaymentAccountSetupBillingAddressSection-CGIC_vLw-BIusm93k.js} +12 -12
  125. package/dist/assets/{PeoplePage-lD4QPAkF-BTkfD7Qn.js → PeoplePage-C-2NZJpQ-BbdMKhWr.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-pynkIQMX-D6bUfHMz.js → PortfolioAllocationFormPage-B6JOvEvW-BSgeoBob.js} +3 -3
  127. package/dist/assets/{PortfolioDetails-Cs8o8xzm-BZnvJKYS.js → PortfolioDetails-Cpv5bi4_-C3K7fsrr.js} +4 -4
  128. package/dist/assets/{ProductsCarousel-vPy7zk53-0jqchxQE.js → ProductsCarousel-WDd37Mjn-NLHTDL58.js} +7 -7
  129. package/dist/assets/{PromoBaseCards-CWGpTa57-CDWNrCuH.js → PromoBaseCards-BaFkKGkm-Bw-1QrdI.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-66XnPKaW-DPJc3mi2.js → QBOConnectionDialog-l3ThoJCI-BaUAxpz_.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-T0b8qjoq-CRwxhuhU.js → QBOSetupSection-DSrxcrXI-CnwGvTKQ.js} +3 -3
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BSI9Lg6a-0RZNihPF.js → ReimbursementApprovalRuleDetailPage-hb8mPFw0-iXwT5wDy.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-XxC6pXqt-Djs5LyQt.js → ReimbursementApprovalRulesPage-fs4WqNUv-BvFXhzka.js} +4 -4
  134. package/dist/assets/{ReimbursementDetailPage-BwtY21D5-CNiYkb_F.js → ReimbursementDetailPage-BYw6Mc2u-ZOQaZirb.js} +4 -4
  135. package/dist/assets/{ReimbursementPromoPage-CmO1DP-8-jueUg_Jg.js → ReimbursementPromoPage-DzDuwRxU-DEtJqrhv.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-CrCsRxAy-DR7TDPIb.js → ReimbursementSetUpPage-DdT6uu1--I31J4BAO.js} +5 -5
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Ct-lvcR1-B7C3iSy7.js → ReimbursementsBulkReviewDrawerPage-CXvng56s-BxlZIO2c.js} +1 -1
  138. package/dist/assets/{ReloadCard-CJfjUA_Q-CSIpRTGt.js → ReloadCard-BPoOhxrs-D8lPs5qf.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-CkuvvlJm-DviIVV1k.js → ReportTableViewSelector-CkZW5TtX-I9C4FHDc.js} +5 -5
  140. package/dist/assets/{ReportsPage-BJqldqjR-BiXbtcBq.js → ReportsPage-C-ARKbIQ-CCoiMwuP.js} +1 -1
  141. package/dist/assets/{RevenueChart-BUnSkoUN-OaNNpl8v.js → RevenueChart-CuqZW-Jr-B_s8E_iU.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-8I09Puca-kSqQFBGv.js → ReviewDetailsPage-BVN_Uym2-d0L-TTpG.js} +11 -11
  143. package/dist/assets/{ReviewOverlay-Czmj4HG0-DGEdohoE.js → ReviewOverlay-CIgtaUn1-wggYVp0Q.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-CNQZHC7h-BWCgIab_.js → RoleWithToolTip-Dm4yIm31-3pGQtzkX.js} +2 -2
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-1Y1ZylI7-TF-lQK6Q.js → ScheduleDetailsFixedAssetsPage-Ce3z1VPg-SvqdKcr4.js} +3 -3
  146. package/dist/assets/{ScheduleDetailsPage-BcRuA_7y-DKC9xpZ-.js → ScheduleDetailsPage-O69iLj4h-CXnxPezp.js} +3 -3
  147. package/dist/assets/{ScheduleSequenceTable-DC75D2Dx-BlixJonK.js → ScheduleSequenceTable-DMIzc2zC-3WngbgQC.js} +15 -15
  148. package/dist/assets/{ScreenRoutes-Vxn_VgUc.js → ScreenRoutes-D3pC7BH7.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-CaLxl4l3-Hr6lKchX.js → SetUpAccountSection-C1_QjMwF-C_2yznzy.js} +11 -11
  150. package/dist/assets/{SetUpDefaultSection-a6NTauck-DWk4cHNK.js → SetUpDefaultSection-B-ZEHQUb-iLzGQnWH.js} +3 -3
  151. package/dist/assets/SignIn-CXQyYEJI-BbNAmrjc.js +408 -0
  152. package/dist/assets/{SignInScreen-BnDKcAsx.js → SignInScreen-DtWV87E_.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-Cvev9izU-CywIXocV.js → SpendManagementListViewPage-DEMLoStE-C1nPAYM8.js} +6 -6
  154. package/dist/assets/{SpendManagementPerTabPage-CbjC0IBF-BZmzopW1.js → SpendManagementPerTabPage-CLf-7YyR-60GdYb7a.js} +11 -11
  155. package/dist/assets/{SpendManagementSection-BKTkeRK6-BpVoD6ml.js → SpendManagementSection-DIVgOKWy-D35voP2u.js} +6 -6
  156. package/dist/assets/{SpendMgmtSetupAccountSection-D8Yv-Jng-DLg3IqDb.js → SpendMgmtSetupAccountSection-DFyUBsg3-DRIU7IWr.js} +10 -10
  157. package/dist/assets/{StatementItem-DSJvKpAv-CgQXd1HG.js → StatementItem-CSyEn4Pz-CIQDSk8U.js} +6 -6
  158. package/dist/assets/StatementsPage-D34J2aZa-9jSr3LU8.js +58 -0
  159. package/dist/assets/{StatusSwitcher-CTDNbKqC-BufOI7Uk.js → StatusSwitcher-B77NoO6o-CLTHQ9CP.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-D33kV-tw-BQGDLH02.js → SubTabSwitcher-baJGHUgJ-BPKK4q6_.js} +1 -1
  161. package/dist/assets/{SummaryCard-tsJZnge3-CDogfl9X.js → SummaryCard-BvuRZj8f-DCeFdYs2.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-BW9M6AQs-o0la5nop.js → TaskManagementPage-vG8GXEJA-DX4VWYkl.js} +25 -25
  163. package/dist/assets/{TimeRangeSwitcher-CkXysnFa-BziXH9A-.js → TimeRangeSwitcher-CnoZ9Rqp-QTEqL6la.js} +2 -2
  164. package/dist/assets/{TimeframeSwitcher-B-S09J4A-DXzIdqPI.js → TimeframeSwitcher-W5kHnuHI-B5U_sUAn.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-B9Lo2-pD-E9Q-Xl1O.js → TimeframeSwitcherWithToggle-yLA5y4zJ-CFlsdObg.js} +1 -1
  166. package/dist/assets/{TopExCard-DwP8Cppq-BiAUZiUo.js → TopExCard-oyXmygm8-DV87vjZL.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-CIMSDSxd-C3es4f9G.js → TopExDetailPage-4HMIURzm-ulBg6b5V.js} +1 -1
  168. package/dist/assets/{TransactionDetailPage-rwzAZT-Q-BNzn0dfK.js → TransactionDetailPage-CIw_7B72-CcQHWkUG.js} +15 -15
  169. package/dist/assets/TransactionList-B9M4ftBY-9Xoftl5l.js +147 -0
  170. package/dist/assets/{TransactionListBig-BidYBgz3-5Yl91ZX2.js → TransactionListBig-D5SRFdH7-CUrzZcWs.js} +1 -1
  171. package/dist/assets/TransactionListPage-DCiIH4ES-DulMTWBW.js +35 -0
  172. package/dist/assets/{TransactionVendorDetailPage-LzIzQGZ1-DhRVTfh8.js → TransactionVendorDetailPage-BNY3vBm0-Cw6AkzlK.js} +5 -5
  173. package/dist/assets/{TransferDrawerPage-CztFCYxm-A_gVbaFq.js → TransferDrawerPage-DdgfrrRM-BBEomNnq.js} +43 -43
  174. package/dist/assets/{TreasuryOverviewPage-E5E5Gr3g-BXlIIBea.js → TreasuryOverviewPage-COFbWN48-DSaB6zFu.js} +19 -19
  175. package/dist/assets/{TreasuryPromoPage-D2F4Y8gV-D4r4OVpG.js → TreasuryPromoPage-EYqV98OG-CvFj_oTJ.js} +18 -18
  176. package/dist/assets/{TreasurySetupPage-Dxa4l6Ec-C98zHjAP.js → TreasurySetupPage-DEz3fabz-BopnXkx6.js} +2 -2
  177. package/dist/assets/{TreasuryStatementsPage-DEhWu0S0-Cq8llxzq.js → TreasuryStatementsPage-JSf4JXXI-CSff_RYi.js} +2 -2
  178. package/dist/assets/{TreasuryTaxLetterPage-CEMU2CI9-CaMBHbid.js → TreasuryTaxLetterPage-Id6od0WY-D3YHLWYb.js} +3 -3
  179. package/dist/assets/{TreasuryTransferOrReviewPage-BfReLw_V-DlzqxUSw.js → TreasuryTransferOrReviewPage-D25tiep8-CregJCyC.js} +46 -46
  180. package/dist/assets/{TrendChart-D1gtjDe3-DgecHpjD.js → TrendChart-xBdkrxjQ-BHwV7FvD.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-BslpnJTN-DM_bUa3k.js → TrendWithTransactions-CQdqelNB-BxApJhmm.js} +7 -7
  182. package/dist/assets/{UncategorizedAccountsMappingPage-Brm7fcuy-Lq1gPvO_.js → UncategorizedAccountsMappingPage-DaSjSoeK-2h_6-Ko4.js} +10 -10
  183. package/dist/assets/{UnitIntegrationPage-DhiEmm9g-DvJDyLPM.js → UnitIntegrationPage-zM4qGyLV-CinH_PeY.js} +3 -3
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-Dq1ToFCn-BIAvqiTV.js → UploadAdditionalDocumentOverlay-Y64l7Rho-BebTHNkT.js} +2 -2
  185. package/dist/assets/{Vendor2FAPopup-Brg14-Cw-D6yUhffP.js → Vendor2FAPopup-DO-eL5Ot-DjhAlKT-.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-mk0vAyqE-BXjAbyW1.js → VendorACHDetailsPage-BDROr_dC-CAZxPDsT.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-CRhCXEsq-ByCD1QlC.js → VendorDetailPage-B8S-gV53-DaZx1eZP.js} +18 -18
  188. package/dist/assets/{VendorDomesticWireDetailsPage-DhWkYV9N-DytBbPSU.js → VendorDomesticWireDetailsPage-BrxQuXus-DYcgNh9D.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-Bp5FgSiJ-CQgouOQ1.js → VendorFiling1099EditablePage-BK-XGzxl-CVlxfcrS.js} +32 -32
  190. package/dist/assets/{VendorFirstReviewPage-XHOyQIOp-BcDyJnSm.js → VendorFirstReviewPage-CrSdEY-q-DsAt-Zva.js} +31 -31
  191. package/dist/assets/{VendorInternationalWireDetailsPage-B13qu8u3-Cr7Rw8Vd.js → VendorInternationalWireDetailsPage-DuE2n00d-C0HY8jsi.js} +9 -9
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dtgusj3r-DSS2WNka.js → VendorInternationalWireSwiftDetailsPage-_0douojx-uTqjQvZ8.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-B-qorJ8x-BDTocsmP.js → VendorsAccountsSection-C2McA3-C-CAGlOz8b.js} +4 -4
  194. package/dist/assets/VerifyDevice-BOb4uKLq-B9iw9cGN.js +96 -0
  195. package/dist/assets/{WarningsDrawerPage-B4Nic3gX-D_tDlIsb.js → WarningsDrawerPage-f9lS8sCp-Yx0s05ZC.js} +7 -7
  196. package/dist/assets/{ZeniAccountDetailPage-IDGYSZVs-DHzL4YW_.js → ZeniAccountDetailPage-BnWDpR9g-BpHh2OhY.js} +17 -17
  197. package/dist/assets/{ZeniAccountListViewPage-IlPP8Yit-e7XViZS5.js → ZeniAccountListViewPage-D9ORn0_O-BQPutSAN.js} +16 -16
  198. package/dist/assets/{ZeniAccountNavBarPieces-2j-ZQRIF-C9FaUYbe.js → ZeniAccountNavBarPieces-4jG3uNmW-B7nBCOPn.js} +2 -2
  199. package/dist/assets/{ZeniAccountPromoPage-BhFf42Fz-CCcGWwVA.js → ZeniAccountPromoPage-CswETXvx-DfER_hgz.js} +1 -1
  200. package/dist/assets/{ZeniAccountSetupPage-DcYDO3x8-1dxj4hNi.js → ZeniAccountSetupPage-7B6Vgmg6-DsByA6Pf.js} +3 -3
  201. package/dist/assets/{ZeniCopyright-C4Ze2E8o-BF7Y_OhF.js → ZeniCopyright-DrkcGEYL-D8qMh6Rn.js} +1 -1
  202. package/dist/assets/{ZeniTransferAmountSlider-DFB0ntiR-DEw2G9RV.js → ZeniTransferAmountSlider-Bw5S2HTx-CfuKg8UT.js} +1 -1
  203. package/dist/assets/{add-to-wallet-DgdBD8_G-DcfyMc0W.js → add-to-wallet-DgdBD8_G-y8nGTHEa.js} +1 -1
  204. package/dist/assets/{analyticsHelper-Cfbkdlur.js → analyticsHelper-B46gu6zH.js} +1 -1
  205. package/dist/assets/{analyticsHelper-CsfdC0kT-CkpNzA-i.js → analyticsHelper-C37dCyKv-Ci3W403B.js} +1 -1
  206. package/dist/assets/{arrow-south-east-round-PEovUgvH-DBLhwZXJ.js → arrow-south-east-round-PEovUgvH-D6oVD1ix.js} +1 -1
  207. package/dist/assets/{auto-transfer-rule-mbafm5D3-D6YoufI_.js → auto-transfer-rule-mbafm5D3-DsDlaCxy.js} +1 -1
  208. package/dist/assets/{chartTypes-CPj7oOMJ-BdHmGEgv.js → chartTypes-Cknnnhq_-BKEap-MQ.js} +1 -1
  209. package/dist/assets/{commonDimensions-CKs-7p-V-2mIh0uhQ.js → commonDimensions-D0ovCC4N-B0G2UdHm.js} +1 -1
  210. package/dist/assets/{crypto-BURQLTgV.js → crypto-BDNqpTKX.js} +1 -1
  211. package/dist/assets/{detailCommon-BJ8iCchG-D9ueUtlf.js → detailCommon-CKa5_aP2-CTgqAfFe.js} +2 -2
  212. package/dist/assets/{downloadPdf-hPck-AA1-BRfoLwQe.js → downloadPdf-BJozh7zE-M2Rp1JlQ.js} +1 -1
  213. package/dist/assets/{gift-box-Cmt9OgIZ-DKWN92w0.js → gift-box-Cmt9OgIZ-BqWjP_Ex.js} +1 -1
  214. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BalbEtqQ.js → graphic-no-data-l-DU4J8fDt-BBc6l6Au.js} +1 -1
  215. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js → graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js} +1 -1
  216. package/dist/assets/handshake-BPg58FML-CVKh3Eii.js +1 -0
  217. package/dist/assets/{index-DjfQ_8_G.js → index-Cnh9fv8f.js} +481 -473
  218. package/dist/assets/{liveblocks-DZpRS25q.js → liveblocks-CP09Cz-7.js} +1 -1
  219. package/dist/assets/{lodash-Dq_mKlGB.js → lodash-BWJmwMit.js} +1 -1
  220. package/dist/assets/{mapLoadingInProgressToTreeNode-R394S2in-yG54fD0k.js → mapLoadingInProgressToTreeNode-DttwbPj7-BWaq84fe.js} +1 -1
  221. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B20NECa8-BFYhaGC6.js → mapSectionWithAcOnlyToTreeNode-CKUACdvT-96C16ahX.js} +1 -1
  222. package/dist/assets/{mapSpacerToTreeNode-CLYF1Foh-BjdisaSl.js → mapSpacerToTreeNode-CeH4tptC-BD7Zb85P.js} +1 -1
  223. package/dist/assets/{mapTimeframeBalancesToTreeNode-B-iRb2_j-DquYgMDw.js → mapTimeframeBalancesToTreeNode-CElz2Cb0-CuxVDYys.js} +1 -1
  224. package/dist/assets/{mapTimeframeBalancesToTreeNode-fLAswzPX-sXx3Rgkk.js → mapTimeframeBalancesToTreeNode-TLHaVbTv-OZW2z0IX.js} +1 -1
  225. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CTmIxkdn-Tzb1GX6L.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Da50HxFS.js} +1 -1
  226. package/dist/assets/{mui-Bi8r7UDG.js → mui-C42whWwM.js} +1 -1
  227. package/dist/assets/{page-detail-CWX5S47F-B6DjZ3Gi.js → page-detail-CWX5S47F-BBa5wfAm.js} +1 -1
  228. package/dist/assets/{play-icon-BZYr9mDs-BdQoiOuZ.js → play-icon-XWt7iQeF-7dWJ4Dkg.js} +1 -1
  229. package/dist/assets/{radio-default-CiSgisfh-ub7QGXr8.js → radio-default-CiSgisfh-Z5w0WcFM.js} +1 -1
  230. package/dist/assets/{redux-CC-tnuv1.js → redux-2gfZRks6.js} +1 -1
  231. package/dist/assets/{routing-CxYXTKiv.js → routing-VwiwPky5.js} +1 -1
  232. package/dist/assets/{sentry-HDxG13yk.js → sentry-osuhWjvS.js} +1 -1
  233. package/dist/assets/{shield-DOlUxcFf-BCUrujod.js → shield-DOlUxcFf-bFVWRY1X.js} +1 -1
  234. package/dist/assets/{toCOABalancesWithID-Dsa-tGTi-sDqqdfBL.js → toCOABalancesWithID-DACfD5ZE-BgoTIDec.js} +1 -1
  235. package/dist/assets/{toChartData-Cp_80Bi6-DNhfaq63.js → toChartData-C6ap15NT-ByCawuJX.js} +1 -1
  236. package/dist/assets/{transaction-placeholder-CpOwZAMG-CJJQqrcA.js → transaction-placeholder-CpOwZAMG-DYG2_sCF.js} +1 -1
  237. package/dist/assets/{treasuryColorHelper-CnKoJBRW-C1sO9xUo.js → treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js} +1 -1
  238. package/dist/assets/{uploadAttachment-Cx3LGzsg-BLoeW5Lc.js → uploadAttachment-D1XtO8---B9AANbCr.js} +23 -23
  239. package/dist/assets/{uploadReceipts-CwjPukNh-D57dKxMS.js → uploadReceipts-Cl7e8jci-C-56lzXC.js} +1 -1
  240. package/dist/assets/{useLongPress-GCK2COYQ-gxLtL5O4.js → useLongPress-GCK2COYQ-BoJXFS3o.js} +1 -1
  241. package/dist/assets/{usp-line-BBd1wKwW-CgKq8-Xn.js → usp-line-BBd1wKwW-u-VMxix8.js} +1 -1
  242. package/dist/assets/{vendor-CnQcJ2Lu.js → vendor-rkTZJa59.js} +7 -7
  243. package/dist/assets/{verification-CW6uEyev-DdkqedMU.js → verification-CW6uEyev-BVrJsi0i.js} +1 -1
  244. package/dist/index.html +1 -1
  245. package/package.json +3 -3
  246. package/dist/assets/ConfettiBurst-b1-NNKbl-CRZv8suA.js +0 -1
  247. package/dist/assets/CustomerOnboardingContainerPage-BXSxGbv8-yPFLkaH4.js +0 -1
  248. package/dist/assets/EntityDetailPage-BsQ9bSpC-Ccfh9SD-.js +0 -18
  249. package/dist/assets/FeaturePreviewPage-Coe53hoK-GblH5291.js +0 -11
  250. package/dist/assets/LabeledAddressValueField-DJHY_wPN-C8cLNKuC.js +0 -45
  251. package/dist/assets/SignIn-_ZPdER_K-iNnyyU-5.js +0 -408
  252. package/dist/assets/StatementsPage-Bhk6u845-DupKw2VZ.js +0 -58
  253. package/dist/assets/TransactionList-CFYj7bYL-CzoueHti.js +0 -147
  254. package/dist/assets/TransactionListPage-CImIYabg-nUJGuSyl.js +0 -35
  255. package/dist/assets/VerifyDevice-CBO1Uzra-BYrx8Dkz.js +0 -67
@@ -1,4 +1,4 @@
1
- import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe,bT as _e,fw as Ee,o as a,fF as jl,cj as Ue,ca as ee,cc as ce,cg as He,l as Se,cC as vl,cA as Sl,ce as Ge,cd as Ie,fG as Ve,fH as Il,fe as Cl,fd as ke,ch as Ce,ci as Ol,c as Pe,f1 as Ye,b as xe,b5 as Ze,e$ as Ke,n as Ne,fv as Qe,v as ye,p as Ll,b2 as _l,q as D,dk as El,ac as Pl,fI as Nl,B as Fl,fJ as Dl,b3 as ge,ak as Vl,h as Je,d as kl,cu as Tl,b1 as zl,b0 as Bl}from"./index-DjfQ_8_G.js";import{b as d,n as t}from"./vendor-CnQcJ2Lu.js";import{W as Oe}from"./LabeledAddressValueField-DJHY_wPN-C8cLNKuC.js";import{D as Al}from"./LabeledCreatableSingleSelectField-CTwToXIo-BL-7qWpY.js";import{Y as Te}from"./LabeledDocumentField-sIz4Fhet-BCtWDAeF.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),d.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Rl}=ae.getLocalizedStrings(),{businessVerification:ze}=Rl,ue={iconSize:new O(D[6],D[10]),gap:new O(D[2],D[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Le();return l.jsxs(Wl,{windowSize:c,children:[e!=null?l.jsx(ql,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ul,{windowSize:c}),l.jsxs(Hl,{children:[l.jsx(Gl,{windowSize:c,children:ze.securityMessageTitle}),l.jsx(Yl,{windowSize:c,children:ze.securityMessageDescription})]})]})},Wl=t.div`
1
+ import{e as Oe,u as Re,cm as wl,M as ae,C as L,a2 as jl,j as l,bA as We,f2 as qe,bV as _e,fy as Ee,o as a,fH as $l,cl as He,cc as ee,ce,ci as Ue,l as Se,cE as vl,cC as Sl,cg as Ye,cf as Ie,fI as Ve,fJ as Il,fg as Cl,ff as ke,cj as Ce,ck as Ll,c as Pe,f3 as Ge,b as xe,b5 as Ke,f1 as Ze,n as De,fx as Qe,v as ye,p as Ol,b2 as _l,q as F,dj as El,ac as Pl,fK as Dl,B as Nl,fL as Fl,b3 as ge,ak as Vl,h as Je,d as kl,cw as Tl,b1 as zl,b0 as Bl}from"./index-Cnh9fv8f.js";import{b as d,n as t}from"./vendor-rkTZJa59.js";import{W as Le}from"./LabeledAddressValueField-_35LG3OI-C2eHerzm.js";import{D as Al}from"./LabeledCreatableSingleSelectField-DQwGH21a-D1Rth7u2.js";import{Y as Te}from"./LabeledDocumentField-CfgzkjDY-CbC276Lv.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),d.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Rl}=ae.getLocalizedStrings(),{businessVerification:ze}=Rl,ue={iconSize:new L(F[6],F[10]),gap:new L(F[2],F[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Oe();return l.jsxs(Wl,{windowSize:c,children:[e!=null?l.jsx(ql,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Hl,{windowSize:c}),l.jsxs(Ul,{children:[l.jsx(Yl,{windowSize:c,children:ze.securityMessageTitle}),l.jsx(Gl,{windowSize:c,children:ze.securityMessageDescription})]})]})},Wl=t.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>ue.gap.valuePx(e.windowSize)};
@@ -8,42 +8,42 @@ import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe
8
8
  width: ${e=>ue.iconSize.valuePx(e.windowSize)};
9
9
  height: ${e=>ue.iconSize.valuePx(e.windowSize)};
10
10
  display: block;
11
- `,Ul=t(Ml)`
11
+ `,Hl=t(Ml)`
12
12
  width: ${e=>ue.iconSize.valuePx(e.windowSize)};
13
13
  height: ${e=>ue.iconSize.valuePx(e.windowSize)};
14
14
  color: ${e=>e.theme.colors.success};
15
- `,Hl=t.div`
15
+ `,Ul=t.div`
16
16
  display: flex;
17
17
  flex-direction: column;
18
18
  justify-content: center;
19
19
  align-items: flex-start;
20
20
  flex: 1;
21
- `,Gl=t(Je)`
21
+ `,Yl=t(Je)`
22
22
  ${e=>`${Xe.title.style(e.windowSize)}`};
23
23
  color: ${e=>e.theme.colors.primary};
24
24
  margin: 0;
25
- `,Yl=t(Je)`
25
+ `,Gl=t(Je)`
26
26
  ${e=>`${Xe.description.style(e.windowSize)}`};
27
27
  color: ${e=>e.theme.colors.primary};
28
28
  margin: 0;
29
- `,ll=({text:e})=>l.jsx(Kl,{children:l.jsx(Zl,{children:e})}),Zl=t(Dl)`
29
+ `,ll=({text:e})=>l.jsx(Zl,{children:l.jsx(Kl,{children:e})}),Kl=t(Fl)`
30
30
  display: flex;
31
31
  align-items: center;
32
32
  color: ${e=>e.theme.colors.hero};
33
33
  padding-right: ${a.sp2};
34
- `,Kl=t.div`
34
+ `,Zl=t.div`
35
35
  display: flex;
36
36
  align-items: flex-end;
37
37
  margin-left: ${a.sp2};
38
38
  margin-top: ${a.sp1};
39
- `,le={labelWidth:new O(115,145,155),mediumLabelWidth:new O(140,160,170),largeLabelWidth:new O(150,210,244),largeLabelDocumentWidth:new O(150,210,252),paddingBottom:new O(D[3],D[2]),containerRowGap:new O(12,D[3])},Ql={title:new xe("standardMedium","largeMedium")},Jl=ae.getLocalizedStrings(),{dateFormat:{visual:Xl},commonSetUp:ea,companyPassport:la,common:{documents:Be,optional:aa}}=Jl,i=ea.businessVerification,ta=i.sourceOfFundOptions,ia=d.forwardRef(({fileProps:e,productType:c,allIndustries:m,companyDetails:h,connectedAccountProvider:N,businessVerificationProps:g,isDisabled:n,style:G,sectionId:y,showInfoTooltip:te=!0,isCompleted:ie=!1,showCompletedIcon:oe=!1,showTreasuryFields:Y=!1,sectionHeader:Z,optionalFields:s=[],onCompanyAddressClick:K,onRegisteredAddressClick:V},re)=>{const f=Le(),_=le.labelWidth.value(f),E=le.mediumLabelWidth.value(f),b=le.largeLabelWidth.value(f),q=le.largeLabelDocumentWidth.value(f),w=i.productType[c],Q=h?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),J=h?.companyFiles.find(u=>u.documentType==="tax_ein"),p=h?.companyDescription,j=h?.companyLegalName,B=h?.website,se=h?.typeOfIncorporation,U=h?.incDate,X=h?.companyIndustry,L=h?.phone,me=h?.taxIdOrEIN,A=h?.primaryContactLocalData,ne=h?.deleteFileStatusById??{},H=h?.updateFileStatusById??{},be=h?.addressStatus?.addressToCreate,we=h?.registeredAddressStatus?.addressToCreate,[k,M]=d.useState(!1),[x,R]=d.useState(!1),W=u=>m.find($e=>$e.code===u)?.name??u,P=u=>ta[u]??u;return l.jsxs(oa,{style:G,ref:re,windowSize:f,children:[l.jsx(ra,{children:l.jsxs(ha,{children:[l.jsxs(na,{children:[oe===!0?l.jsx(da,{children:ie?l.jsx(ca,{}):l.jsx(pa,{})}):null,l.jsx(sa,{windowSize:f,children:Z??i.confirmCompanyDetails})]}),te?l.jsx(ua,{children:l.jsx(We,{variant:"small-description",display:"flex",maxWidth:"280px",data:i.confirmCompanyDetailsTooltip,placement:f==="small"||c==="onboarding"?"bottom":"right",children:l.jsx(ma,{})})}):null,c==="onboarding"&&Z!=null?l.jsx(ll,{text:aa}):null,g?.companyVerificationStatus!=null?l.jsx(ya,{tagTitle:g.companyVerificationStatus.name,textColor:qe(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(fa,{children:[l.jsx(el,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyLegalNameLabel,width:b},text:{type:"text",name:v(y,"companyLegalName"),placeholder:i.companyLegalNamePlaceholder,defaultValue:j,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:i.companyLegalNameError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyDescriptionLabel,width:E},text:{type:"text",name:v(y,"companyDescription"),placeholder:i.addProductPlaceholder,defaultValue:p,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:i.companyDescriptionError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Oe,{isDisabled:n,label:{label:i.companyAddressLabel,width:E},addressValueField:{name:v(y,"companyAddress"),placeholder:i.companyAddressPlaceholder,defaultValue:be,registerOptions:{validate:u=>s.includes("companyAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{K?.("company_address")}},additionalInfoLabel:i.companyAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(S,{}),l.jsx(Oe,{isDisabled:n,label:{label:i.registeredAddressLabel,width:E},addressValueField:{name:v(y,"registeredAddress"),placeholder:i.registeredAddressPlaceholder,defaultValue:we,registerOptions:{validate:u=>s.includes("registeredAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{V?.("company_registered_address")}},additionalInfoLabel:i.registeredAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyWebsiteLabel,width:_},text:{type:"url",name:v(y,"companyWebsite"),placeholder:i.companyWebsitePlaceholder,defaultValue:B?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:i.companyWebsiteError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ie,{label:{label:i.companyIndustryLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"companyIndustry"),placeholder:i.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:X,allOptions:m?.map(u=>u.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:u=>s.includes("companyIndustry")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.companyIndustryError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Al,{label:{label:i.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(y,"typeOfIncorporation"),placeholder:i.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:se,allOptions:la.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&N==="unit",validate:u=>s.includes("typeOfIncorporation")===!1?!(n==null&&!u?.selectedOption):!0}},errorInfoLabel:i.companyTypeOfIncorporationError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(He,{isDisabled:n,label:{label:i.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(f)},dateField:{name:v(y,"incDate"),placeholder:i.companyIncDatePlaceholder,defaultValue:U,dateFormat:Xl.defaultInput,maxDate:Se.dateNow(),minDate:Se.zeniDate("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:i.companyIncDateError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ge,{isDisabled:n,label:{label:i.companyPhoneLabel,width:_},text:{name:v(y,"companyPhone"),placeholder:ce(i.companyPhoneLabel),defaultValue:L,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:i.companyPhoneError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ue,{isDisabled:n,label:{label:i.companyPrimaryContactNameLabel,width:b},nameField:{name:v(y,"primaryContactName"),placeHolder:{firstName:i.firstNamePlaceholder,lastName:i.lastNamePlaceholder,name:i.namePlaceholder},defaultValue:{firstName:A?.firstName??"",lastName:A?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:u=>!!u||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:i.companyPrimaryContactNameError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(y,"primaryContactEmail"),placeholder:i.companyPrimaryContactEmailPlaceholder,defaultValue:A?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:i.companyPrimaryContactEmailError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyTaxIdLabel,width:_},text:{type:"text",name:v(y,"companyTaxId"),placeholder:i.companyTaxIdPlaceholder,defaultValue:me,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:Ol},autoComplete:"new-password"},additionalInfoLabel:i.companyTaxIdError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Te,{name:v(y,"certificateOfIncorporation"),isDisabled:n,sizeLimit:Ce,deleteFileStatusById:ne,updateFileStatusById:H,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.certificateOfIncorporation,width:q},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:Q,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&N==="unit"},additionalInfoLabel:i.certOfIncopDocumentError.replace("_product_type_",w),hasError:k,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>M(u)}),k||!(n!=null||Q!=null)?l.jsx(Ae,{windowSize:f,isError:k,children:Be.formatDocumentText10MB}):null,l.jsx(S,{}),l.jsx(Te,{name:v(y,"ein"),isDisabled:n,sizeLimit:Ce,deleteFileStatusById:ne,updateFileStatusById:H,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.einDocument,width:q},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:J,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("ein")===!1},additionalInfoLabel:i.einDocumentError.replace("_product_type_",w),hasError:x,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>R(u)}),x||!(n!=null||J!=null)?l.jsx(Ae,{windowSize:f,isError:x,children:Be.formatDocumentText10MB}):null,l.jsx(S,{}),Y===!0?l.jsxs(l.Fragment,{children:[l.jsx(Ie,{label:{label:i.sourceOfFundsLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"sourceOfFunds"),placeholder:i.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:P,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:h?.sourceOfFunds,allOptions:Object.keys(i.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:u=>s.includes("sourceOfFunds")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.sourceOfFundsError.replace("_product_type_",w)}),l.jsx(S,{})]}):null]})]})});ia.displayName="Company Details Section";const v=(e,c)=>`${e}.${c}`,oa=t.div`
39
+ `,le={labelWidth:new L(115,145,155),mediumLabelWidth:new L(140,160,170),largeLabelWidth:new L(150,210,244),largeLabelDocumentWidth:new L(150,210,252),paddingBottom:new L(F[3],F[2]),containerRowGap:new L(12,F[3])},Ql={title:new xe("standardMedium","largeMedium")},Jl=ae.getLocalizedStrings(),{dateFormat:{visual:Xl},commonSetUp:ea,companyPassport:la,common:{documents:Be,optional:aa}}=Jl,i=ea.businessVerification,ta=i.sourceOfFundOptions,ia=d.forwardRef(({fileProps:e,productType:c,allIndustries:m,companyDetails:h,connectedAccountProvider:D,businessVerificationProps:g,isDisabled:n,style:Y,sectionId:y,showInfoTooltip:te=!0,isCompleted:ie=!1,showCompletedIcon:oe=!1,showTreasuryFields:G=!1,sectionHeader:K,optionalFields:s=[],onCompanyAddressClick:Z,onRegisteredAddressClick:V},re)=>{const f=Oe(),_=le.labelWidth.value(f),E=le.mediumLabelWidth.value(f),b=le.largeLabelWidth.value(f),q=le.largeLabelDocumentWidth.value(f),w=i.productType[c],Q=h?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),J=h?.companyFiles.find(u=>u.documentType==="tax_ein"),p=h?.companyDescription,$=h?.companyLegalName,B=h?.website,se=h?.typeOfIncorporation,H=h?.incDate,X=h?.companyIndustry,O=h?.phone,me=h?.taxIdOrEIN,A=h?.primaryContactLocalData,ne=h?.deleteFileStatusById??{},U=h?.updateFileStatusById??{},be=h?.addressStatus?.addressToCreate,we=h?.registeredAddressStatus?.addressToCreate,[k,M]=d.useState(!1),[x,R]=d.useState(!1),W=u=>m.find(je=>je.code===u)?.name??u,P=u=>ta[u]??u;return l.jsxs(oa,{style:Y,ref:re,windowSize:f,children:[l.jsx(ra,{children:l.jsxs(ha,{children:[l.jsxs(na,{children:[oe===!0?l.jsx(da,{children:ie?l.jsx(ca,{}):l.jsx(pa,{})}):null,l.jsx(sa,{windowSize:f,children:K??i.confirmCompanyDetails})]}),te?l.jsx(ua,{children:l.jsx(We,{variant:"small-description",display:"flex",maxWidth:"280px",data:i.confirmCompanyDetailsTooltip,placement:f==="small"||c==="onboarding"?"bottom":"right",children:l.jsx(ma,{})})}):null,c==="onboarding"&&K!=null?l.jsx(ll,{text:aa}):null,g?.companyVerificationStatus!=null?l.jsx(ya,{tagTitle:g.companyVerificationStatus.name,textColor:qe(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(fa,{children:[l.jsx(el,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyLegalNameLabel,width:b},text:{type:"text",name:v(y,"companyLegalName"),placeholder:i.companyLegalNamePlaceholder,defaultValue:$,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:i.companyLegalNameError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyDescriptionLabel,width:E},text:{type:"text",name:v(y,"companyDescription"),placeholder:i.addProductPlaceholder,defaultValue:p,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:i.companyDescriptionError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Le,{isDisabled:n,label:{label:i.companyAddressLabel,width:E},addressValueField:{name:v(y,"companyAddress"),placeholder:i.companyAddressPlaceholder,defaultValue:be,registerOptions:{validate:u=>s.includes("companyAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{Z?.("company_address")}},additionalInfoLabel:i.companyAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(S,{}),l.jsx(Le,{isDisabled:n,label:{label:i.registeredAddressLabel,width:E},addressValueField:{name:v(y,"registeredAddress"),placeholder:i.registeredAddressPlaceholder,defaultValue:we,registerOptions:{validate:u=>s.includes("registeredAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{V?.("company_registered_address")}},additionalInfoLabel:i.registeredAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyWebsiteLabel,width:_},text:{type:"url",name:v(y,"companyWebsite"),placeholder:i.companyWebsitePlaceholder,defaultValue:B?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:i.companyWebsiteError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ie,{label:{label:i.companyIndustryLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"companyIndustry"),placeholder:i.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:X,allOptions:m?.map(u=>u.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:u=>s.includes("companyIndustry")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.companyIndustryError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Al,{label:{label:i.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(y,"typeOfIncorporation"),placeholder:i.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:se,allOptions:la.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&D==="unit",validate:u=>s.includes("typeOfIncorporation")===!1?!(n==null&&!u?.selectedOption):!0}},errorInfoLabel:i.companyTypeOfIncorporationError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ue,{isDisabled:n,label:{label:i.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(f)},dateField:{name:v(y,"incDate"),placeholder:i.companyIncDatePlaceholder,defaultValue:H,dateFormat:Xl.defaultInput,maxDate:Se.dateNow(),minDate:Se.zeniDate("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:i.companyIncDateError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Ye,{isDisabled:n,label:{label:i.companyPhoneLabel,width:_},text:{name:v(y,"companyPhone"),placeholder:ce(i.companyPhoneLabel),defaultValue:O,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:i.companyPhoneError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(He,{isDisabled:n,label:{label:i.companyPrimaryContactNameLabel,width:b},nameField:{name:v(y,"primaryContactName"),placeHolder:{firstName:i.firstNamePlaceholder,lastName:i.lastNamePlaceholder,name:i.namePlaceholder},defaultValue:{firstName:A?.firstName??"",lastName:A?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:u=>!!u||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:i.companyPrimaryContactNameError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(y,"primaryContactEmail"),placeholder:i.companyPrimaryContactEmailPlaceholder,defaultValue:A?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:i.companyPrimaryContactEmailError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyTaxIdLabel,width:_},text:{type:"text",name:v(y,"companyTaxId"),placeholder:i.companyTaxIdPlaceholder,defaultValue:me,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:Ll},autoComplete:"new-password"},additionalInfoLabel:i.companyTaxIdError.replace("_product_type_",w)}),l.jsx(S,{}),l.jsx(Te,{name:v(y,"certificateOfIncorporation"),isDisabled:n,sizeLimit:Ce,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.certificateOfIncorporation,width:q},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:Q,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&D==="unit"},additionalInfoLabel:i.certOfIncopDocumentError.replace("_product_type_",w),hasError:k,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>M(u)}),k||!(n!=null||Q!=null)?l.jsx(Ae,{windowSize:f,isError:k,children:Be.formatDocumentText10MB}):null,l.jsx(S,{}),l.jsx(Te,{name:v(y,"ein"),isDisabled:n,sizeLimit:Ce,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.einDocument,width:q},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:J,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("ein")===!1},additionalInfoLabel:i.einDocumentError.replace("_product_type_",w),hasError:x,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>R(u)}),x||!(n!=null||J!=null)?l.jsx(Ae,{windowSize:f,isError:x,children:Be.formatDocumentText10MB}):null,l.jsx(S,{}),G===!0?l.jsxs(l.Fragment,{children:[l.jsx(Ie,{label:{label:i.sourceOfFundsLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"sourceOfFunds"),placeholder:i.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:P,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:h?.sourceOfFunds,allOptions:Object.keys(i.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:u=>s.includes("sourceOfFunds")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.sourceOfFundsError.replace("_product_type_",w)}),l.jsx(S,{})]}):null]})]})});ia.displayName="Company Details Section";const v=(e,c)=>`${e}.${c}`,oa=t.div`
40
40
  display: flex;
41
41
  flex-direction: column;
42
42
  row-gap: ${e=>le.containerRowGap.valuePx(e.windowSize)};
43
43
  `,ra=t.div`
44
44
  display: flex;
45
45
  justify-content: space-between;
46
- `,Ae=t(Fl)`
46
+ `,Ae=t(Nl)`
47
47
  padding: ${a.sp1} ${a.sp4};
48
48
  background: ${e=>e.theme.colors.grey4};
49
49
  border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
@@ -60,7 +60,7 @@ import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe
60
60
  align-items: center;
61
61
  `,da=t.div`
62
62
  margin-right: ${a.sp2};
63
- `,ca=t(Ye)`
63
+ `,ca=t(Ge)`
64
64
  width: ${a.sp3};
65
65
  height: ${a.sp3};
66
66
  color: ${Pe.success};
@@ -75,7 +75,7 @@ import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe
75
75
  &:hover {
76
76
  color: ${e=>e.theme.colors.primary};
77
77
  }
78
- `,ma=t(Ze)`
78
+ `,ma=t(Ke)`
79
79
  width: ${a.sp3};
80
80
  height: ${a.sp3};
81
81
  `,ha=t.div`
@@ -94,7 +94,7 @@ import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe
94
94
  background-color: ${e=>e.theme.colors.grey3};
95
95
  min-height: 1px;
96
96
  max-height: 1px;
97
- `,ya=t(Ke)`
97
+ `,ya=t(Ze)`
98
98
  width: max-content;
99
99
  margin-left: ${a.sp3};
100
100
  `,xa=t.div`
@@ -102,7 +102,7 @@ import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe
102
102
  display: flex;
103
103
  align-items: center;
104
104
  justify-content: flex-end;
105
- `,ga=(e,c)=>e.map(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email})),ba=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function wa({allUsers:e,onSelectedUserChanged:c,selectedUser:m,disable:h=!1,pickerStyles:{optionBackgroundColor:N,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:G,backgroundColor:y,titleTextAlignment:te,selectedOptionColor:ie,customStyleConfig:oe}={},customization:{placeholderLabel:Y}={},showAddUser:Z=!0}){const s=Re(),[K,V]=d.useState(!1),re=ga(e).sort((p,j)=>p.label.localeCompare(j.label)),f=m!=null?ba(m):void 0,_=N??s.colors.grey5,E=y??s.colors.grey5,b=g??s.colors.grey3,q=n??ye.smallRegular.cssObject,w=G??q,Q={control:(p,j)=>({...p,border:0,height:"100%",backgroundColor:E,fill:j.selectProps.menuIsOpen===!0?s.colors.primary:s.colors.grey1,boxShadow:E,">div:last-child":{color:K?s.colors.primary:s.colors.grey1},":active":{backgroundColor:E},":hover":{fill:s.colors.primary,">div:last-child":{color:s.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:s.colors.grey1,">path":{color:s.colors.grey5,fill:"currentcolor"}}}),container:p=>({...p,backgroundColor:E,height:"100%"}),singleValue:p=>({...p,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:a.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:s.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...ye.standardRegular.cssObject}}),valueContainer:p=>({...p,maxWidth:"100%",cursor:"pointer",height:"100%",...w,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:te??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(p,j)=>({...p,backgroundColor:_,borderRadius:D[1],boxShadow:`${a.sp0} 2px ${a.sp2} ${s.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${a.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:a.sp1,padding:`${a.sp1} ${a.sp0}`,">div":{width:"-webkit-fill-available"}},...oe?.menu?.(p,j)}),menuList:p=>({...p,borderRadius:D[1]}),placeholder:(p,j)=>({...p,margin:0,width:"100%",color:j.isFocused?s.colors.primary:"currentColor",paddingRight:a.sp2,...ye.standardRegular.cssObject,">div>div>svg>circle":{fill:s.colors.grey1}}),noOptionsMessage:p=>({...p,...ye.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:s.colors.hero}),option:(p,{isDisabled:j,isSelected:B,isFocused:se})=>({...p,...q,color:B?ie??s.colors.champion:s.colors.hero,backgroundColor:B?b:se?s.colors.background:_,cursor:j?"not-allowed":B?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:s.colors.background,color:s.colors.primary},"& label":{paddingRight:"10px",cursor:j?"not-allowed":B?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},J=({children:p,...j})=>l.jsxs(ge.ValueContainer,{...j,children:[p,Z===!0?l.jsxs(ka,{hasSelectedUser:!!m,onClick:()=>{c(void 0),V(!1)},children:[l.jsx(Ca,{}),l.jsx("div",{children:Y??"Add User"})]}):null]});return l.jsx(Ll,{onClickAway:()=>{V(!1)},children:l.jsx(xa,{children:l.jsx(_l,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:K,menuShouldScrollIntoView:!1,defaultValue:f,value:f,noOptionsMessage:()=>ae.getLocalizedStrings().cockpit.management.noPerson,onInputChange:p=>{p!==""&&V(!0)},onMenuOpen:()=>{V(!0)},placeholder:l.jsx(ja,{children:l.jsx("div",{children:Y??"Select..."})}),components:{Option:Ea,DropdownIndicator:Ta,IndicatorSeparator:za,SingleValue:Da,ValueContainer:Va,MenuList:J},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:Q,options:re,isDisabled:h,onChange:p=>{c(p),V(!1)},isClearable:!1,isSearchable:!1},El())})})}const $a=t.div``,ja=t.div`
105
+ `,ga=(e,c)=>e.map(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email})),ba=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function wa({allUsers:e,onSelectedUserChanged:c,selectedUser:m,disable:h=!1,pickerStyles:{optionBackgroundColor:D,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:Y,backgroundColor:y,titleTextAlignment:te,selectedOptionColor:ie,customStyleConfig:oe}={},customization:{placeholderLabel:G}={},showAddUser:K=!0}){const s=Re(),[Z,V]=d.useState(!1),re=ga(e).sort((p,$)=>p.label.localeCompare($.label)),f=m!=null?ba(m):void 0,_=D??s.colors.grey5,E=y??s.colors.grey5,b=g??s.colors.grey3,q=n??ye.smallRegular.cssObject,w=Y??q,Q={control:(p,$)=>({...p,border:0,height:"100%",backgroundColor:E,fill:$.selectProps.menuIsOpen===!0?s.colors.primary:s.colors.grey1,boxShadow:E,">div:last-child":{color:Z?s.colors.primary:s.colors.grey1},":active":{backgroundColor:E},":hover":{fill:s.colors.primary,">div:last-child":{color:s.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:s.colors.grey1,">path":{color:s.colors.grey5,fill:"currentcolor"}}}),container:p=>({...p,backgroundColor:E,height:"100%"}),singleValue:p=>({...p,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:a.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:s.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...ye.standardRegular.cssObject}}),valueContainer:p=>({...p,maxWidth:"100%",cursor:"pointer",height:"100%",...w,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:te??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(p,$)=>({...p,backgroundColor:_,borderRadius:F[1],boxShadow:`${a.sp0} 2px ${a.sp2} ${s.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${a.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:a.sp1,padding:`${a.sp1} ${a.sp0}`,">div":{width:"-webkit-fill-available"}},...oe?.menu?.(p,$)}),menuList:p=>({...p,borderRadius:F[1]}),placeholder:(p,$)=>({...p,margin:0,width:"100%",color:$.isFocused?s.colors.primary:"currentColor",paddingRight:a.sp2,...ye.standardRegular.cssObject,">div>div>svg>circle":{fill:s.colors.grey1}}),noOptionsMessage:p=>({...p,...ye.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:s.colors.hero}),option:(p,{isDisabled:$,isSelected:B,isFocused:se})=>({...p,...q,color:B?ie??s.colors.champion:s.colors.hero,backgroundColor:B?b:se?s.colors.background:_,cursor:$?"not-allowed":B?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:s.colors.background,color:s.colors.primary},"& label":{paddingRight:"10px",cursor:$?"not-allowed":B?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},J=({children:p,...$})=>l.jsxs(ge.ValueContainer,{...$,children:[p,K===!0?l.jsxs(ka,{hasSelectedUser:!!m,onClick:()=>{c(void 0),V(!1)},children:[l.jsx(Ca,{}),l.jsx("div",{children:G??"Add User"})]}):null]});return l.jsx(Ol,{onClickAway:()=>{V(!1)},children:l.jsx(xa,{children:l.jsx(_l,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:Z,menuShouldScrollIntoView:!1,defaultValue:f,value:f,noOptionsMessage:()=>ae.getLocalizedStrings().cockpit.management.noPerson,onInputChange:p=>{p!==""&&V(!0)},onMenuOpen:()=>{V(!0)},placeholder:l.jsx($a,{children:l.jsx("div",{children:G??"Select..."})}),components:{Option:Ea,DropdownIndicator:Ta,IndicatorSeparator:za,SingleValue:Fa,ValueContainer:Va,MenuList:J},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:Q,options:re,isDisabled:h,onChange:p=>{c(p),V(!1)},isClearable:!1,isSearchable:!1},El())})})}const ja=t.div``,$a=t.div`
106
106
  display: flex;
107
107
  align-items: center;
108
108
  color: ${e=>e.theme.colors.grey1};
@@ -125,11 +125,11 @@ import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe
125
125
  width: ${a.sp4};
126
126
  margin-right: ${a.sp2};
127
127
  color: inherit;
128
- `,Oa=t(zl)`
128
+ `,La=t(zl)`
129
129
  height: 12px;
130
130
  width: 12px;
131
131
  color: ${e=>e.theme.colors.hero};
132
- `,La=t.div``,_a=t(Bl)`
132
+ `,Oa=t.div``,_a=t(Bl)`
133
133
  width: 12px;
134
134
  height: 12px;
135
135
  color: ${e=>e.theme.colors.primary};
@@ -138,20 +138,20 @@ import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe
138
138
  width: ${a.sp4};
139
139
  border-radius: 50%;
140
140
  justify-content: center;
141
- `,Ea=e=>{const{data:c,options:m,isSelected:h}=e,N=m.findIndex(g=>g.value===c.value);return l.jsx($a,{children:l.jsx(ge.Option,{...e,children:l.jsxs(Ia,{children:[l.jsxs(Pa,{children:[l.jsx(Na,{children:c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:N})}),l.jsx("label",{children:e.label})]}),!!h&&l.jsx(La,{children:l.jsx(_a,{})})]})})})},Pa=t.div`
141
+ `,Ea=e=>{const{data:c,options:m,isSelected:h}=e,D=m.findIndex(g=>g.value===c.value);return l.jsx(ja,{children:l.jsx(ge.Option,{...e,children:l.jsxs(Ia,{children:[l.jsxs(Pa,{children:[l.jsx(Da,{children:c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:D})}),l.jsx("label",{children:e.label})]}),!!h&&l.jsx(Oa,{children:l.jsx(_a,{})})]})})})},Pa=t.div`
142
142
  width: 100%;
143
143
  display: flex;
144
144
  align-items: center;
145
- `,Na=t.div`
145
+ `,Da=t.div`
146
146
  display: flex;
147
147
  align-items: center;
148
148
  margin-right: ${a.sp2};
149
- `,Fa=t(Ne)`
149
+ `,Na=t(De)`
150
150
  padding: ${a.sp0} ${a.sp2};
151
151
  white-space: nowrap;
152
152
  overflow: hidden;
153
153
  text-overflow: ellipsis;
154
- `,Da=({children:e,data:c,...m})=>{const{options:h}=m.selectProps,N=h.findIndex(g=>g.value===c.value);return l.jsx(ge.MultiValueLabel,{...m,children:l.jsxs(Ba,{children:[c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:N}),l.jsx(Fa,{children:e})]})})},Va=({children:e,...c})=>l.jsxs(ge.ValueContainer,{...c,children:[c.selectProps.value==null?l.jsx(va,{children:l.jsx(Sa,{})}):null,e]}),ka=t(kl)`
154
+ `,Fa=({children:e,data:c,...m})=>{const{options:h}=m.selectProps,D=h.findIndex(g=>g.value===c.value);return l.jsx(ge.MultiValueLabel,{...m,children:l.jsxs(Ba,{children:[c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:D}),l.jsx(Na,{children:e})]})})},Va=({children:e,...c})=>l.jsxs(ge.ValueContainer,{...c,children:[c.selectProps.value==null?l.jsx(va,{children:l.jsx(Sa,{})}):null,e]}),ka=t(kl)`
155
155
  color: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
156
156
  display: flex;
157
157
  padding: ${a.sp2} 12px;
@@ -162,11 +162,11 @@ import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe
162
162
  color: ${e=>e.theme.colors.primary};
163
163
  background: ${e=>e.theme.colors.background};
164
164
  }
165
- `,Ta=()=>l.jsx(Oa,{}),za=()=>null,Ba=t.div`
165
+ `,Ta=()=>l.jsx(La,{}),za=()=>null,Ba=t.div`
166
166
  display: flex;
167
167
  flex-direction: row;
168
168
  cursor: pointer;
169
- `,pe={width:new O(343,580,726),labelWidth:new O(115,145,155),largeLabelWidth:new O(160,240,240),veryLargeLabelWidth:new O(150,240,245),containerRowGap:new O(12,D[3])},Aa={title:new xe("standardMedium","largeMedium")};function ct({companyOfficerData:e,isDisabled:c,allOfficers:m,allNationalityCountries:h,isRefreshingViewInBackground:N,connectedAccountProvider:g,style:n,isPopupOpen:G,sectionId:y,filesEndPoint:te,authParams:ie,showInfoTooltip:oe=!0,isCompleted:Y=!1,showCompletedIcon:Z=!1,showOfficerSelect:s=!0,showVerificationTag:K=!0,isForTreasury:V=!1,isOverlay:re=!1,productType:f,companyTitles:_,sectionHeader:E,optionalFields:b=[],onOfficerAddressClick:q,onDeleteFile:w,onEditFileName:Q,updateFilesEntity:J,openPopup:p,onGetOtp:j,onVerifyOtp:B,onResendOtp:se,verifiedPhoneNumber:U,onPhoneVerified:X}){const L=Le(),me=Re(),{getValues:A,setValue:ne}=wl(),H=m.length>0,[be,we]=d.useState(!1),k=H?Object.values(e).findIndex(o=>o?.isSelectedForVerification===!0):0,M=`Officer_${k<0?1:k+1}`;d.useEffect(()=>{X!=null&&e[M]?.phone!=null&&e[M].isPhoneVerified===!0&&X(e[M]?.phone??"")},[]);const x=`${y}.${k}`,R=e[M],W=V?R?.treasuryUserVerificationStatus:R?.userVerificationStatus,P=m.find(o=>o.userId===R?.userId),u=m.sort((o,C)=>(o.firstName||o.lastName?`${o.firstName} ${o.lastName}`:o.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),$e=H?u.findIndex(o=>o.userId===R?.userId):0,tl=e[M]?.deleteFileStatusById??{},il=e[M]?.updateFileStatusById??{},Fe=A(`${x}.selectDocument.selectDocumentType`),{common:{optional:ol},commonSetUp:{businessVerification:r},dateFormat:{visual:rl},cockpit:sl}=ae.getLocalizedStrings(),T=f==="onboarding"?r.productType.business_verification:r.productType[f],de=pe.labelWidth.value(L),nl=pe.veryLargeLabelWidth.value(L),he=pe.largeLabelWidth.value(L),dl=L==="small"?r.companyRolePlaceholderSmall:r.companyRolePlaceholder,cl=L==="small"?r.protectedSsnTextSmall:r.protectedSsnText,I=W?.code==="pending_review"||W?.code==="verified"?"readonly":c,pl=I!=null||!H||W?.code==="require_info",ul=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:r.addOfficer,ml=R?.userId!=null?r.confirmIdentityDetails:r.confirmIdentityDetailsNewOfficer,hl={menu:()=>({right:"initial",left:0})},fl=o=>_.find(C=>C.code===o)?.name??o,je=R?.otpverificationStatus?.fetchState,De=$l(je);d.useEffect(()=>{X!=null&&De==="In-Progress"&&je==="Completed"&&X(A(`${x}.phone`))},[De,je]);const yl=(o,C)=>{B(o,C)},xl=()=>U==null||U===""?!1:A(`${x}.phone`)===U,gl=()=>{const o=A(`${x}.phone`);return o!=null&&!Nl(o)?r.phoneErrorForOnboarding:r.phoneError.replace("_product_type_",T)};return l.jsxs(Ma,{style:n,windowSize:L,children:[l.jsxs(Ra,{windowSize:L,isOverlay:re,children:[l.jsxs(Ja,{children:[l.jsxs(qa,{children:[Z===!0?l.jsx(Ua,{children:Y?l.jsx(Ha,{}):l.jsx(Ga,{})}):null,l.jsx(Wa,{windowSize:L,children:E??ml})]}),oe?l.jsx(Ya,{children:l.jsx(We,{variant:"small-description",maxWidth:"275px",data:r.confirmIdentityDetailsTooltip,display:"flex",placement:L==="small"||f==="onboarding"?"bottom":"right",children:l.jsx(Za,{})})}):null,f==="onboarding"&&E!=null?l.jsx(ll,{text:ol}):null,W!=null&&K?l.jsx(lt,{tagTitle:W?.name,textColor:qe(W.code),showLoader:N}):null]}),s?pl?H?l.jsxs(et,{children:[P?.photo!==void 0?l.jsx(Ka,{src:P?.photo.href,alt:sl.userProfileAltText,onError:({currentTarget:o})=>{o.onerror=null,o.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${a.sp4}`,index:$e}),l.jsx(Me,{children:`${ul}`})]}):l.jsxs(at,{children:[l.jsx(tt,{children:l.jsx(it,{})}),l.jsx(Me,{children:`${r.addOfficer}`})]}):l.jsx(Qa,{children:l.jsx(wa,{selectedUser:P,allUsers:m,onSelectedUserChanged:o=>{const C=Object.values(e).findIndex(fe=>fe?.userId===o?.userId);ne(`${x}.isSelectedForVerification`,!1),ne(`${y}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:r.addOfficer},showAddUser:m.length<=9,pickerStyles:{backgroundColor:me.colors.grey5,selectedOptionBackgroundColor:me.colors.background,customStyleConfig:L==="small"?hl:void 0}})}):null]}),Object.values(e).map((o,C)=>{if(k!==C)return null;const fe=jl(o?.documentTypeSelectedForVerification),ve=o?.userFiles??[],bl=()=>U!=""&&f==="onboarding"?xl():o?.isPhoneVerified??!1;return l.jsxs(Xa,{children:[l.jsx(el,{}),l.jsx(Ue,{isDisabled:I,label:{label:r.name,width:de},nameField:{name:F(x,"name"),placeHolder:{firstName:r.firstNamePlaceholder,lastName:r.lastNamePlaceholder,name:r.namePlaceholder},defaultValue:{firstName:o?.firstName??"",lastName:o?.lastName??""},registerOptions:{required:b.includes("name")===!1,validate:$=>b.includes("name")===!1?!!$:!0},showFullNameError:!0},errorInfoLabel:r.nameError.replace("_product_type_",T)}),l.jsx(z,{}),o?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(ee,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.email,width:de},text:{type:"email",name:F(x,"email"),placeholder:ce(r.email),defaultValue:o?.email,options:{required:b.includes("email")===!1}},additionalInfoLabel:r.emailDescription.replace("_product_type_",T)}),l.jsx(z,{})]}):null,l.jsx(He,{isDisabled:I,label:{label:r.dobLabel,width:he},dateField:{name:F(x,"dob"),type:"text",defaultValue:o?.birthday,placeholder:ce(r.dobLabel),dateFormat:rl.defaultInput,maxDate:Se.dateNow().subtract(g==="unit"?18:13,"years"),registerOptions:{required:b.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:r.dobDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(vl,{isDisabled:I,label:{label:r.nationalityLabel,width:de},showAdditionalInfoLabel:f!=="onboarding",additionalInfoLabel:r.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:F(x,"nationalityCountryCode"),placeholder:r.nationalityPlaceholder,defaultValue:Sl(o?.nationalityCountryCode,h.map($=>$.countryCode)),registerOptions:{validate:$=>!!($!=null&&$.selectedOption)}}}),l.jsx(z,{}),l.jsx(Oe,{isDisabled:I,label:{label:r.address,width:de},addressValueField:{name:F(x,"officerAddress"),placeholder:ce(r.address),defaultValue:o?.addressStatus?.addressToCreate,registerOptions:{validate:$=>b.includes("officerAddress")===!1?!(I==null&&$==null):!0},onClick:()=>{q(o?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:f==="onboarding"?r.addressAdditionInfo:r.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),l.jsx(z,{}),l.jsx(Ge,{isDisabled:I,label:{label:r.phone,width:de},text:{name:F(x,"phone"),placeholder:ce(r.phone),defaultValue:o?.phone,autoComplete:"new-password",options:{required:b.includes("phone")===!1}},errorInfoLabel:gl(),verificationErrorInfoLabel:r.phoneValidationError,isPopupOpen:G,phoneVerifyButtonProps:{otpChallenge:o?.otpChallenge,showOtpButton:g==="unit",onGetOtp:j,onVerifyOtp:yl,onResendOtp:se,isPhoneVerified:bl(),phoneVerificationStatus:o?.otpverificationStatus,getOtpStatus:o?.sendOtpStatus,openPopup:p,verifiedPhoneNumber:U,focusNotRequired:!0}}),l.jsx(z,{}),l.jsx(Ie,{label:{label:r.companyRoleLabel,width:he},singleSelectField:{singleSelect:{name:F(x,"role"),placeholder:dl,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fl,isDisabled:I,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:o?.titleAtCompany,allOptions:_?.map($=>$.code)??[]},registerOptions:{required:b.includes("role")===!1,validate:$=>b.includes("role")===!1?!(I==null&&!$?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:r.companyRoleDescription.replace("_product_type_",T)}),l.jsx(z,{}),l.jsx(Ve,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.companyOwnershipLabel,width:he},formattedTextField:{type:"number",name:F(x,"ownership"),defaultValue:o?.ownershipInCompany,placeholder:r.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:b.includes("ownership")===!1,validate:$=>$!=null?$>0&&$<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:f==="onboarding"?r.companyOwnershipDescriptionForOnboarding:r.companyOwnershipDescription}),l.jsx(z,{}),l.jsx(Ve,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.ssnLabel,width:he},formattedTextField:{type:"text",name:F(x,"ssn"),placeholder:r.addSSNPlaceholder,defaultValue:o?.ssn,format:"###-##-####",registerOptions:{required:b.includes("ssn")===!1,pattern:Il},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:I!=null&&o?.ssn?cl:void 0,additionalInfoLabel:r.ssnDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(Cl,{name:F(x,"selectDocument"),officerIndex:k,sizeLimit:Ce,filesEndPoint:te,authParams:ie,onEditFileName:Q,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:nl},allFiles:ve,updateFilesEntity:J,deleteFileStatusById:tl,updateFileStatusById:il,onDeleteFile:w,isDisabled:I,menuPlacement:f==="onboarding"&&fe==null?"top":"auto",defaultValue:{defaultSelectDocumentType:fe,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ke(!0,ve,Fe),back:ke(!1,ve,Fe)}},registerOptions:{required:b.includes("selectDocument")===!1},hasError:be,additionalInfoLabel:r.companyIdDescription.replace("_product_type_",T),onFileSizeError:$=>we($),isPopupOpen:G,openPopup:p,companyOfficerName:{firstName:o?.firstName??"",lastName:o?.lastName??""}})]},x)})]})}const F=(e,c)=>`${e}.${c}`,Ma=t.div`
169
+ `,pe={width:new L(343,580,726),labelWidth:new L(115,145,155),largeLabelWidth:new L(160,240,240),veryLargeLabelWidth:new L(150,240,245),containerRowGap:new L(12,F[3])},Aa={title:new xe("standardMedium","largeMedium")};function ct({companyOfficerData:e,isDisabled:c,allOfficers:m,allNationalityCountries:h,isRefreshingViewInBackground:D,connectedAccountProvider:g,style:n,isPopupOpen:Y,sectionId:y,filesEndPoint:te,authParams:ie,showInfoTooltip:oe=!0,isCompleted:G=!1,showCompletedIcon:K=!1,showOfficerSelect:s=!0,showVerificationTag:Z=!0,isForTreasury:V=!1,isOverlay:re=!1,productType:f,companyTitles:_,sectionHeader:E,optionalFields:b=[],onOfficerAddressClick:q,onDeleteFile:w,onEditFileName:Q,updateFilesEntity:J,openPopup:p,onGetOtp:$,onVerifyOtp:B,onResendOtp:se,verifiedPhoneNumber:H,onPhoneVerified:X}){const O=Oe(),me=Re(),{getValues:A,setValue:ne}=wl(),U=m.length>0,[be,we]=d.useState(!1),k=U?Object.values(e).findIndex(o=>o?.isSelectedForVerification===!0):0,M=`Officer_${k<0?1:k+1}`;d.useEffect(()=>{X!=null&&e[M]?.phone!=null&&e[M].isPhoneVerified===!0&&X(e[M]?.phone??"")},[]);const x=`${y}.${k}`,R=e[M],W=V?R?.treasuryUserVerificationStatus:R?.userVerificationStatus,P=m.find(o=>o.userId===R?.userId),u=m.sort((o,C)=>(o.firstName||o.lastName?`${o.firstName} ${o.lastName}`:o.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),je=U?u.findIndex(o=>o.userId===R?.userId):0,tl=e[M]?.deleteFileStatusById??{},il=e[M]?.updateFileStatusById??{},Ne=A(`${x}.selectDocument.selectDocumentType`),{common:{optional:ol},commonSetUp:{businessVerification:r},dateFormat:{visual:rl},cockpit:sl}=ae.getLocalizedStrings(),T=f==="onboarding"?r.productType.business_verification:r.productType[f],de=pe.labelWidth.value(O),nl=pe.veryLargeLabelWidth.value(O),he=pe.largeLabelWidth.value(O),dl=O==="small"?r.companyRolePlaceholderSmall:r.companyRolePlaceholder,cl=O==="small"?r.protectedSsnTextSmall:r.protectedSsnText,I=W?.code==="pending_review"||W?.code==="verified"?"readonly":c,pl=I!=null||!U||W?.code==="require_info",ul=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:r.addOfficer,ml=R?.userId!=null?r.confirmIdentityDetails:r.confirmIdentityDetailsNewOfficer,hl={menu:()=>({right:"initial",left:0})},fl=o=>_.find(C=>C.code===o)?.name??o,$e=R?.otpverificationStatus?.fetchState,Fe=jl($e);d.useEffect(()=>{X!=null&&Fe==="In-Progress"&&$e==="Completed"&&X(A(`${x}.phone`))},[Fe,$e]);const yl=(o,C)=>{B(o,C)},xl=()=>H==null||H===""?!1:A(`${x}.phone`)===H,gl=()=>{const o=A(`${x}.phone`);return o!=null&&!Dl(o)?r.phoneErrorForOnboarding:r.phoneError.replace("_product_type_",T)};return l.jsxs(Ma,{style:n,windowSize:O,children:[l.jsxs(Ra,{windowSize:O,isOverlay:re,children:[l.jsxs(Ja,{children:[l.jsxs(qa,{children:[K===!0?l.jsx(Ha,{children:G?l.jsx(Ua,{}):l.jsx(Ya,{})}):null,l.jsx(Wa,{windowSize:O,children:E??ml})]}),oe?l.jsx(Ga,{children:l.jsx(We,{variant:"small-description",maxWidth:"275px",data:r.confirmIdentityDetailsTooltip,display:"flex",placement:O==="small"||f==="onboarding"?"bottom":"right",children:l.jsx(Ka,{})})}):null,f==="onboarding"&&E!=null?l.jsx(ll,{text:ol}):null,W!=null&&Z?l.jsx(lt,{tagTitle:W?.name,textColor:qe(W.code),showLoader:D}):null]}),s?pl?U?l.jsxs(et,{children:[P?.photo!==void 0?l.jsx(Za,{src:P?.photo.href,alt:sl.userProfileAltText,onError:({currentTarget:o})=>{o.onerror=null,o.src=_e},loading:"lazy"}):l.jsx(Ee,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${a.sp4}`,index:je}),l.jsx(Me,{children:`${ul}`})]}):l.jsxs(at,{children:[l.jsx(tt,{children:l.jsx(it,{})}),l.jsx(Me,{children:`${r.addOfficer}`})]}):l.jsx(Qa,{children:l.jsx(wa,{selectedUser:P,allUsers:m,onSelectedUserChanged:o=>{const C=Object.values(e).findIndex(fe=>fe?.userId===o?.userId);ne(`${x}.isSelectedForVerification`,!1),ne(`${y}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:r.addOfficer},showAddUser:m.length<=9,pickerStyles:{backgroundColor:me.colors.grey5,selectedOptionBackgroundColor:me.colors.background,customStyleConfig:O==="small"?hl:void 0}})}):null]}),Object.values(e).map((o,C)=>{if(k!==C)return null;const fe=$l(o?.documentTypeSelectedForVerification),ve=o?.userFiles??[],bl=()=>H!=""&&f==="onboarding"?xl():o?.isPhoneVerified??!1;return l.jsxs(Xa,{children:[l.jsx(el,{}),l.jsx(He,{isDisabled:I,label:{label:r.name,width:de},nameField:{name:N(x,"name"),placeHolder:{firstName:r.firstNamePlaceholder,lastName:r.lastNamePlaceholder,name:r.namePlaceholder},defaultValue:{firstName:o?.firstName??"",lastName:o?.lastName??""},registerOptions:{required:b.includes("name")===!1,validate:j=>b.includes("name")===!1?!!j:!0},showFullNameError:!0},errorInfoLabel:r.nameError.replace("_product_type_",T)}),l.jsx(z,{}),o?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(ee,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.email,width:de},text:{type:"email",name:N(x,"email"),placeholder:ce(r.email),defaultValue:o?.email,options:{required:b.includes("email")===!1}},additionalInfoLabel:r.emailDescription.replace("_product_type_",T)}),l.jsx(z,{})]}):null,l.jsx(Ue,{isDisabled:I,label:{label:r.dobLabel,width:he},dateField:{name:N(x,"dob"),type:"text",defaultValue:o?.birthday,placeholder:ce(r.dobLabel),dateFormat:rl.defaultInput,maxDate:Se.dateNow().subtract(g==="unit"?18:13,"years"),registerOptions:{required:b.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:r.dobDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(vl,{isDisabled:I,label:{label:r.nationalityLabel,width:de},showAdditionalInfoLabel:f!=="onboarding",additionalInfoLabel:r.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:N(x,"nationalityCountryCode"),placeholder:r.nationalityPlaceholder,defaultValue:Sl(o?.nationalityCountryCode,h.map(j=>j.countryCode)),registerOptions:{validate:j=>!!(j!=null&&j.selectedOption)}}}),l.jsx(z,{}),l.jsx(Le,{isDisabled:I,label:{label:r.address,width:de},addressValueField:{name:N(x,"officerAddress"),placeholder:ce(r.address),defaultValue:o?.addressStatus?.addressToCreate,registerOptions:{validate:j=>b.includes("officerAddress")===!1?!(I==null&&j==null):!0},onClick:()=>{q(o?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:f==="onboarding"?r.addressAdditionInfo:r.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),l.jsx(z,{}),l.jsx(Ye,{isDisabled:I,label:{label:r.phone,width:de},text:{name:N(x,"phone"),placeholder:ce(r.phone),defaultValue:o?.phone,autoComplete:"new-password",options:{required:b.includes("phone")===!1}},errorInfoLabel:gl(),verificationErrorInfoLabel:r.phoneValidationError,isPopupOpen:Y,phoneVerifyButtonProps:{otpChallenge:o?.otpChallenge,showOtpButton:g==="unit",onGetOtp:$,onVerifyOtp:yl,onResendOtp:se,isPhoneVerified:bl(),phoneVerificationStatus:o?.otpverificationStatus,getOtpStatus:o?.sendOtpStatus,openPopup:p,verifiedPhoneNumber:H,focusNotRequired:!0}}),l.jsx(z,{}),l.jsx(Ie,{label:{label:r.companyRoleLabel,width:he},singleSelectField:{singleSelect:{name:N(x,"role"),placeholder:dl,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fl,isDisabled:I,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:o?.titleAtCompany,allOptions:_?.map(j=>j.code)??[]},registerOptions:{required:b.includes("role")===!1,validate:j=>b.includes("role")===!1?!(I==null&&!j?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:r.companyRoleDescription.replace("_product_type_",T)}),l.jsx(z,{}),l.jsx(Ve,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.companyOwnershipLabel,width:he},formattedTextField:{type:"number",name:N(x,"ownership"),defaultValue:o?.ownershipInCompany,placeholder:r.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:b.includes("ownership")===!1,validate:j=>j!=null?j>0&&j<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:f==="onboarding"?r.companyOwnershipDescriptionForOnboarding:r.companyOwnershipDescription}),l.jsx(z,{}),l.jsx(Ve,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.ssnLabel,width:he},formattedTextField:{type:"text",name:N(x,"ssn"),placeholder:r.addSSNPlaceholder,defaultValue:o?.ssn,format:"###-##-####",registerOptions:{required:b.includes("ssn")===!1,pattern:Il},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:I!=null&&o?.ssn?cl:void 0,additionalInfoLabel:r.ssnDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(Cl,{name:N(x,"selectDocument"),officerIndex:k,sizeLimit:Ce,filesEndPoint:te,authParams:ie,onEditFileName:Q,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:nl},allFiles:ve,updateFilesEntity:J,deleteFileStatusById:tl,updateFileStatusById:il,onDeleteFile:w,isDisabled:I,menuPlacement:f==="onboarding"&&fe==null?"top":"auto",defaultValue:{defaultSelectDocumentType:fe,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ke(!0,ve,Ne),back:ke(!1,ve,Ne)}},registerOptions:{required:b.includes("selectDocument")===!1},hasError:be,additionalInfoLabel:r.companyIdDescription.replace("_product_type_",T),onFileSizeError:j=>we(j),isPopupOpen:Y,openPopup:p,companyOfficerName:{firstName:o?.firstName??"",lastName:o?.lastName??""}})]},x)})]})}const N=(e,c)=>`${e}.${c}`,Ma=t.div`
170
170
  display: flex;
171
171
  flex-direction: column;
172
172
  row-gap: ${e=>pe.containerRowGap.valuePx(e.windowSize)};
@@ -186,27 +186,27 @@ import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe
186
186
  `,qa=t.div`
187
187
  display: flex;
188
188
  align-items: center;
189
- `,Ua=t.div`
189
+ `,Ha=t.div`
190
190
  margin-right: ${a.sp2};
191
- `,Ha=t(Ye)`
191
+ `,Ua=t(Ge)`
192
192
  width: ${a.sp3};
193
193
  height: ${a.sp3};
194
194
  color: ${Pe.success};
195
- `,Ga=t.div`
195
+ `,Ya=t.div`
196
196
  height: 14px;
197
197
  width: 14px;
198
198
  border: 1px solid ${e=>e.theme.colors.primary};
199
199
  border-radius: 50%;
200
- `,Ya=t.div`
200
+ `,Ga=t.div`
201
201
  display: flex;
202
202
  color: ${e=>e.theme.colors.hero};
203
203
  &:hover {
204
204
  color: ${e=>e.theme.colors.primary};
205
205
  }
206
- `,Za=t(Ze)`
206
+ `,Ka=t(Ke)`
207
207
  width: ${a.sp3};
208
208
  height: ${a.sp3};
209
- `,Ka=t.img`
209
+ `,Za=t.img`
210
210
  height: ${a.sp4};
211
211
  width: ${a.sp4};
212
212
  border-radius: 50%;
@@ -230,7 +230,7 @@ import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe
230
230
  background-color: ${e=>e.theme.colors.grey3};
231
231
  min-height: 1px;
232
232
  max-height: 1px;
233
- `,et=t(Ne)`
233
+ `,et=t(De)`
234
234
  display: flex;
235
235
  flex-direction: row;
236
236
  justify-content: flex-end;
@@ -241,10 +241,10 @@ import{e as Le,u as Re,ck as wl,M as ae,C as O,a2 as $l,j as l,bx as We,f0 as qe
241
241
  white-space: nowrap;
242
242
  overflow: hidden;
243
243
  text-overflow: ellipsis;
244
- `,lt=t(Ke)`
244
+ `,lt=t(Ze)`
245
245
  width: max-content;
246
246
  margin-left: ${a.sp3};
247
- `,at=t(Ne)`
247
+ `,at=t(De)`
248
248
  display: flex;
249
249
  flex-direction: row;
250
250
  justify-content: flex-end;
@@ -1,4 +1,4 @@
1
- import{j as r,U as x,W as M,_ as f,M as p,o as s,a5 as w,d as g,a6 as j}from"./index-DjfQ_8_G.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import{c as H}from"./SummaryCard-tsJZnge3-CDogfl9X.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-CJfjUA_Q-CSIpRTGt.js";const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:v},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],D=o(w)`
1
+ import{j as r,U as x,W as M,_ as f,M as p,o as s,a5 as w,d as g,a6 as j}from"./index-Cnh9fv8f.js";import{b as t,n as o}from"./vendor-rkTZJa59.js";import{c as H}from"./SummaryCard-BvuRZj8f-DCeFdYs2.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./ReloadCard-BPoOhxrs-D8lPs5qf.js";const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:v},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],D=o(w)`
2
2
  margin: ${s.sp5};
3
3
  justify-content: space-between;
4
4
  `,W=o.div`
@@ -1,4 +1,4 @@
1
- import{e as P,u as Ae,a2 as ca,a as da,c7 as pa,M as k,j as a,aW as ma,F as ua,c8 as ha,l as V,a4 as fa,C as m,c9 as xa,a3 as Ce,o as t,n as ae,ca as z,cb as ze,cc as L,cd as ya,ce as qe,cf as ga,cg as ba,ch as Ue,Y as $a,ci as wa,cj as He,ck as Ge,cl as Ia,cm as ja,cn as va,c as N,co as Da,cp as Sa,aO as Oa,a6 as Ca,ao as U,cq as Fe,q as p,d as Ze,k as Me,cr as Fa,E as ka,cs as Ta,ct as Na,b2 as Pa,cu as La,bL as za,cv as Ma,B as Ea,b3 as R,cw as Va,v as de,b0 as Ba}from"./index-DjfQ_8_G.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{D as Xe}from"./LabeledCreatableSingleSelectField-CTwToXIo-BL-7qWpY.js";import{Y as Je}from"./LabeledDocumentField-sIz4Fhet-BCtWDAeF.js";import{$ as Qe}from"./LabeledAddressValue-CSb0EGEx-CwfHtDm0.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const Ke={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
1
+ import{e as P,u as Ae,a2 as ca,a as da,c9 as pa,M as k,j as a,aW as ma,F as ua,ca as ha,l as V,a4 as fa,C as m,cb as xa,a3 as Ce,o as t,n as ae,cc as z,cd as ze,ce as L,cf as ya,cg as qe,ch as ga,ci as ba,cj as Ue,Y as $a,ck as wa,cl as He,cm as Ge,cn as Ia,co as ja,cp as va,c as N,cq as Da,cr as Sa,aO as Oa,a6 as Ca,ao as U,cs as Fe,q as p,d as Ze,k as Me,ct as Fa,E as ka,cu as Ta,cv as Na,b2 as Pa,cw as La,bN as za,cx as Ma,B as Ea,b3 as R,cy as Va,v as de,b0 as Ba}from"./index-Cnh9fv8f.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-rkTZJa59.js";import{D as Xe}from"./LabeledCreatableSingleSelectField-DQwGH21a-D1Rth7u2.js";import{Y as Je}from"./LabeledDocumentField-CfgzkjDY-CbC276Lv.js";import{$ as Qe}from"./LabeledAddressValue-BrB2xQYz-B09yXjLA.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const Ke={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -1,4 +1,4 @@
1
- import{a as j,gh as H,M as m,j as g,gi as N,T as a,n as $,F as q,ca as J,cj as v,cg as V,l as W,o as E,gj as _,ce as T,a4 as Z,c4 as z,bt as X,gk as AA}from"./index-DjfQ_8_G.js";import{b as A,f as D,n as Q}from"./vendor-CnQcJ2Lu.js";import{$ as gA}from"./LabeledAddressValue-CSb0EGEx-CwfHtDm0.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const BA=B=>A.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...B},A.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),A.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("g",{style:{mixBlendMode:"darken"}},A.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),A.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),A.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("defs",null,A.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},A.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),A.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},A.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),A.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCA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gB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),eA=B=>A.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...B},A.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=m.getLocalizedStrings(),h="completeProfilePage",I="basicDetailsSection",c="addressSection",i=(B,s)=>`${B}.${s}`,uA=({userEmail:B,googleAPIKey:s,otpChallenge:u,sendOtpStatus:G,verifyOtpStatus:r,saveStatus:S,onSave:d,onGetOtp:M,onVerifyOtp:w,onResendOtp:k})=>{const[o,l]=A.useState(!1),[Y,x]=A.useState(!1),t=j({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:B,dateOfBirth:void 0,phone:"",address:void 0}}}),y=H({control:t.control,name:`${I}.address`}),{dateFormat:f}=m.getLocalizedStrings(),F=t.handleSubmit(C=>{d&&d(C)}),L=()=>{const C=t.getValues(`${I}.phone`);C!=null&&C.trim().length>0&&M(C)},R=(C,n)=>{w(C,n)},U=C=>{C!=null&&C.trim().length>0&&k(C)},K=()=>{l(!0)},P=()=>{l(!1)},b=()=>{const C=t.getValues(`${c}`);if(C!=null){const n=AA(C);t.setValue(`${I}.address`,n)}l(!1)},O=g.jsxs(oA,{children:[g.jsx(BA,{}),g.jsxs(tA,{children:[g.jsxs(rA,{children:[g.jsx(N,{children:r.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(a,{controller:r.fetchState==="Completed",children:g.jsx(iA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(EA,{children:[g.jsxs(CA,{children:[g.jsxs(QA,{children:[o&&g.jsx(IA,{onClick:P}),e.completeProfile.title]}),g.jsx(q,{...t,children:g.jsxs("form",{id:`${h}_form`,onSubmit:F,children:[g.jsxs(p,{children:[g.jsx(a,{controller:o===!1,children:g.jsxs(D.Fragment,{children:[g.jsx(J,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:i(I,"email")}}),g.jsx(v,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:i(I,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(V,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:i(I,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:f.visual.defaultInput,autoComplete:"off",maxDate:W.dateNow().subtract(18,"year")}}),g.jsx(gA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:y,onClick:K},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(a,{controller:o===!0,children:g.jsx(D.Fragment,{children:g.jsx(_,{sectionId:c,googleAPIKey:s,isSubPage:!0})})})]}),g.jsx(p,{children:g.jsx(T,{infoBox:O,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:i(I,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${I}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:Y,phoneVerifyButtonProps:{otpChallenge:u,showOtpButton:!0,onGetOtp:L,onVerifyOtp:R,onResendOtp:U,isPhoneVerified:r.fetchState==="Completed",phoneVerificationStatus:r,getOtpStatus:G,openPopup:()=>{x(!0)},focusNotRequired:!0},bottomText:r.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(Z,{formId:o?void 0:`${h}_form`,primaryBtn:{label:o?e.companyPassport.address.saveAddress:e.common.footer.save,type:o?"button":"submit",onClick:o?b:void 0,isLoading:S.fetchState==="In-Progress"},showCancel:!1})]})},EA=Q.div`
1
+ import{a as j,gj as H,M as m,j as g,gk as N,T as a,n as $,F as q,cc as J,cl as v,ci as V,l as W,o as E,gl as _,cg as T,a4 as Z,c6 as z,bw as X,gm as AA}from"./index-Cnh9fv8f.js";import{b as A,f as D,n as Q}from"./vendor-rkTZJa59.js";import{$ as gA}from"./LabeledAddressValue-BrB2xQYz-B09yXjLA.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const BA=B=>A.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",...B},A.createElement("path",{opacity:.2,d:"M26.3252 5H51.6377C51.6377 5 57.2627 5 57.2627 10.625V64.0625C57.2627 64.0625 57.2627 69.6875 51.6377 69.6875H26.3252C26.3252 69.6875 20.7002 69.6875 20.7002 64.0625V10.625C20.7002 10.625 20.7002 5 26.3252 5Z",fill:"#97C3B9"}),A.createElement("path",{d:"M23.3252 2H48.6377C48.6377 2 54.2627 2 54.2627 7.625V61.0625C54.2627 61.0625 54.2627 66.6875 48.6377 66.6875H23.3252C23.3252 66.6875 17.7002 66.6875 17.7002 61.0625V7.625C17.7002 7.625 17.7002 2 23.3252 2Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M43.0127 2V4.8125C43.0127 5.55842 42.7164 6.27379 42.1889 6.80124C41.6615 7.32868 40.9461 7.625 40.2002 7.625H31.7627C31.0168 7.625 30.3014 7.32868 29.774 6.80124C29.2465 6.27379 28.9502 5.55842 28.9502 4.8125V2",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("g",{style:{mixBlendMode:"darken"}},A.createElement("rect",{width:26,height:26,transform:"translate(22 12)",fill:"url(#pattern0_2225_11447)"}),A.createElement("circle",{cx:42,cy:32,r:12,fill:"url(#pattern1_2225_11447)"})),A.createElement("path",{d:"M39.625 57.875H67.125C67.4565 57.875 67.7745 57.7433 68.0089 57.5089C68.2433 57.2745 68.375 56.9565 68.375 56.625V47.875C68.375 47.5435 68.2433 47.2255 68.0089 46.9911C67.7745 46.7567 67.4565 46.625 67.125 46.625H40.875C40.5435 46.625 40.2255 46.7567 39.9911 46.9911C39.7567 47.2255 39.625 47.5435 39.625 47.875V57.875Z",fill:"#EAF3F1",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M62.1543 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M60.0629 50.9288L64.2441 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M60.0744 53.6874L64.2344 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M53.9727 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M51.8812 50.9288L56.0625 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M51.8927 53.6874L56.0527 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M45.792 49.8V54.8",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M43.7006 50.9288L47.8818 53.6713",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M43.7121 53.6874L47.8721 50.9124",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("defs",null,A.createElement("pattern",{id:"pattern0_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},A.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"scale(0.002)"})),A.createElement("pattern",{id:"pattern1_2225_11447",patternContentUnits:"objectBoundingBox",width:1,height:1},A.createElement("use",{xlinkHref:"#image0_2225_11447",transform:"translate(-0.332832 -0.331172) scale(0.00333133)"})),A.createElement("image",{id:"image0_2225_11447",width:500,height:500,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0CAYAAADL1t+KAAAAAXNSR0IArs4c6QAAFQVJREFUeF7t1cENwCAQA0Hov1s+yS+R6OJWQwV4fJL3ed5veQQIECBAgMBogW3QR/fn8wQIECBA4AoYdIdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAG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EF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDAoLsBAgQIECAQEDDogRJFIECAAAECBt0NECBAgACBgIBBD5QoAgECBAgQMOhugAABAgQIBAQMeqBEEQgQIECAgEF3AwQIECBAICBg0AMlikCAAAECBAy6GyBAgAABAgEBgx4oUQQCBAgQIGDQ3QABAgQIEAgIGPRAiSIQIECAAAGD7gYIECBAgEBAwKAHShSBAAECBAgYdDdAgAABAgQCAgY9UKIIBAgQIEDgB7iZk96LOSbbAAAAAElFTkSuQmCC"}))),eA=B=>A.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...B},A.createElement("path",{d:"M1.33333 6.16693H2.52343C2.68125 6.16693 2.8326 6.22962 2.94419 6.34122C3.05579 6.45281 3.11848 6.60416 3.11848 6.76198V13.9026C3.11848 14.0604 3.05579 14.2118 2.94419 14.3233C2.8326 14.4349 2.68125 14.4976 2.52343 14.4976H1.33333",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),A.createElement("path",{d:"M3.11848 12.7125C7.48556 14.9296 7.27253 14.6374 11.0118 14.6374C12.578 14.6374 13.367 13.6169 13.8276 12.1216V12.1121L14.9624 8.30373V8.29659C15.016 8.11929 15.0275 7.93192 14.9959 7.74939C14.9644 7.56686 14.8907 7.39421 14.7807 7.24519C14.6707 7.09617 14.5274 6.97488 14.3622 6.89099C14.1971 6.8071 14.0146 6.76292 13.8294 6.76196H10.9136C10.7315 6.76197 10.5518 6.72017 10.3883 6.63977C10.2249 6.55937 10.082 6.44253 9.97086 6.29824C9.85968 6.15395 9.7831 5.98606 9.74704 5.80751C9.71097 5.62896 9.71637 5.44452 9.76281 5.26838L10.2876 3.27854C10.3485 3.04716 10.326 2.80175 10.2241 2.58528C10.1223 2.36881 9.94748 2.19507 9.73041 2.09448C9.51334 1.99388 9.2678 1.97285 9.03679 2.03506C8.80577 2.09727 8.604 2.23876 8.4668 2.43475L5.55819 6.55548C5.44832 6.7112 5.30266 6.83826 5.13345 6.92597C4.96425 7.01368 4.77646 7.05947 4.58588 7.05948H3.11848",stroke:"currentColor",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"})),e=m.getLocalizedStrings(),h="completeProfilePage",I="basicDetailsSection",c="addressSection",i=(B,s)=>`${B}.${s}`,uA=({userEmail:B,googleAPIKey:s,otpChallenge:u,sendOtpStatus:G,verifyOtpStatus:r,saveStatus:S,onSave:d,onGetOtp:M,onVerifyOtp:w,onResendOtp:k})=>{const[o,l]=A.useState(!1),[Y,x]=A.useState(!1),t=j({mode:"onChange",reValidateMode:"onChange",defaultValues:{basicDetailsSection:{name:{firstName:"",lastName:""},email:B,dateOfBirth:void 0,phone:"",address:void 0}}}),y=H({control:t.control,name:`${I}.address`}),{dateFormat:f}=m.getLocalizedStrings(),F=t.handleSubmit(C=>{d&&d(C)}),L=()=>{const C=t.getValues(`${I}.phone`);C!=null&&C.trim().length>0&&M(C)},R=(C,n)=>{w(C,n)},U=C=>{C!=null&&C.trim().length>0&&k(C)},K=()=>{l(!0)},P=()=>{l(!1)},b=()=>{const C=t.getValues(`${c}`);if(C!=null){const n=AA(C);t.setValue(`${I}.address`,n)}l(!1)},O=g.jsxs(oA,{children:[g.jsx(BA,{}),g.jsxs(tA,{children:[g.jsxs(rA,{children:[g.jsx(N,{children:r.fetchState==="Completed"?e.completeProfile.twoFAEnabled:e.completeProfile.enableTwoFA}),g.jsx(a,{controller:r.fetchState==="Completed",children:g.jsx(iA,{})})]}),g.jsx($,{children:e.completeProfile.enableTwoFADescription})]})]});return g.jsxs(EA,{children:[g.jsxs(CA,{children:[g.jsxs(QA,{children:[o&&g.jsx(IA,{onClick:P}),e.completeProfile.title]}),g.jsx(q,{...t,children:g.jsxs("form",{id:`${h}_form`,onSubmit:F,children:[g.jsxs(p,{children:[g.jsx(a,{controller:o===!1,children:g.jsxs(D.Fragment,{children:[g.jsx(J,{isDisabled:"disabled",showAdditionalInfoLabel:!1,label:{label:e.common.labels.email,width:168},style:{width:"100%"},text:{type:"text",name:i(I,"email")}}),g.jsx(v,{isDisabled:void 0,label:{label:e.common.labels.name,width:168},style:{width:"100%"},nameField:{name:i(I,"name"),placeHolder:{firstName:e.common.placeholder.firstNamePlaceholder,lastName:e.common.placeholder.lastNamePlaceholder,name:e.common.placeholder.namePlaceholder},showFullNameError:!0,registerOptions:{required:!0}},errorInfoLabel:""}),g.jsx(V,{isOptional:!0,label:{label:e.common.labels.dob,width:168},style:{width:"100%"},isDisabled:void 0,dateField:{name:i(I,"dateOfBirth"),placeholder:e.common.placeholder.dobPlaceholder,dateFormat:f.visual.defaultInput,autoComplete:"off",maxDate:W.dateNow().subtract(18,"year")}}),g.jsx(gA,{isOptional:!0,label:{label:e.common.labels.address,width:168},addressValue:{placeholder:e.common.placeholder.addressPlaceholder,address:y,onClick:K},style:{width:"100%",padding:`${E.sp2} ${E.sp2} ${E.sp2} ${E.sp0}`}})]})}),g.jsx(a,{controller:o===!0,children:g.jsx(D.Fragment,{children:g.jsx(_,{sectionId:c,googleAPIKey:s,isSubPage:!0})})})]}),g.jsx(p,{children:g.jsx(T,{infoBox:O,label:{label:e.common.labels.phone,width:168},style:{width:"100%",marginTop:E.sp3,padding:E.sp0},text:{name:i(I,"phone"),placeholder:e.common.placeholder.phonePlaceholder,defaultValue:t.getValues(`${I}.phone`),autoComplete:"new-password",options:{required:!0}},errorInfoLabel:"",verificationErrorInfoLabel:e.common.errorMessage.invalidPhoneNumber,isPopupOpen:Y,phoneVerifyButtonProps:{otpChallenge:u,showOtpButton:!0,onGetOtp:L,onVerifyOtp:R,onResendOtp:U,isPhoneVerified:r.fetchState==="Completed",phoneVerificationStatus:r,getOtpStatus:G,openPopup:()=>{x(!0)},focusNotRequired:!0},bottomText:r.fetchState==="Completed"?"":e.completeProfile.phoneSetupText})})]})})]}),g.jsx(Z,{formId:o?void 0:`${h}_form`,primaryBtn:{label:o?e.companyPassport.address.saveAddress:e.common.footer.save,type:o?"button":"submit",onClick:o?b:void 0,isLoading:S.fetchState==="In-Progress"},showCancel:!1})]})},EA=Q.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-height: 100vh;
@@ -0,0 +1 @@
1
+ import{d4 as m,ac as l,j as a,ak as f,o as n}from"./index-Cnh9fv8f.js";import{b as i}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const c="https://storage.googleapis.com/zeni-apis.appspot.com/data/confetti_sfx.mp3",b=({showConfetti:t})=>{const[e,p]=i.useState(t),[o,s]=m(c),[r]=l("ConfettiSuccess");return i.useEffect(()=>{t&&p(!0)},[t]),i.useEffect(()=>{e&&o===!1&&s(!0)},[e,o,s]),a.jsx(a.Fragment,{children:e&&o&&r!=null?a.jsx(f,{style:{position:"absolute",width:"100%",height:"100vh",top:n.sp0,left:n.sp0,zIndex:5},onComplete:()=>{s(!1),p(!1)},animationData:r,loop:0,play:!0,goTo:0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null})};export{b as default};
@@ -1,4 +1,4 @@
1
- import{u as qe,e as v,M as h,E as U,c9 as _e,j as t,aW as Ye,_ as b,m as Je,bS as ae,bU as ie,bV as se,cx as Ke,a4 as Qe,C as W,bt as Xe,o,cy as Ze,bx as k,bL as le,q as f,am as de,d as ce,n as J,aP as Ge,cu as pe,c as L,cz as me,cr as ue}from"./index-DjfQ_8_G.js";import{b as x,n as r}from"./vendor-CnQcJ2Lu.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:w})=>{const j=v(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(q,{children:m}),t.jsx(_,{children:d})]}),t.jsxs(H,{children:[t.jsx(q,{children:p.achDetails.bankName}),t.jsx(_,{children:s})]}),t.jsxs(H,{children:[t.jsx(q,{children:a}),t.jsx(_,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(J,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),w()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
1
+ import{u as Ye,e as w,M as h,E as U,cb as _e,j as t,aW as qe,_ as b,m as Ge,bU as ae,bW as ie,bX as se,cz as Je,a4 as Qe,C as W,bw as Xe,o,cA as Ze,bA as k,bN as le,q as f,am as de,d as ce,n as G,aP as Ke,cw as pe,c as L,cB as me,ct as ue}from"./index-Cnh9fv8f.js";import{b as x,n as r}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const et=({bankAccountNumberOrIban:e,accountNumberOrIbanLabel:a,bankName:s,routingNumberOrSwiftCode:d,accountName:u,routingNumberOrSwiftCodeLabel:m,onDeleteClick:v})=>{const j=w(),p=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,g=t.jsxs(tt,{children:[t.jsxs(H,{children:[t.jsx(Y,{children:m}),t.jsx(_,{children:d})]}),t.jsxs(H,{children:[t.jsx(Y,{children:p.achDetails.bankName}),t.jsx(_,{children:s})]}),t.jsxs(H,{children:[t.jsx(Y,{children:a}),t.jsx(_,{children:e})]})]});return t.jsxs(at,{size:j,children:[t.jsxs(rt,{children:[t.jsxs(G,{children:[`${s} ${p.paymentAccountDetailConnector} ${e.slice(-4)}`,t.jsx(k,{title:g,placement:"top",children:t.jsx(st,{children:t.jsx(lt,{})})})]}),t.jsx(ot,{children:u??p.emptyPlaceholderString})]}),t.jsx(nt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:p.deleteAccountTooltip,placement:"top",children:t.jsx(it,{onClick:y=>{y.stopPropagation(),v()},"data-testid":b("delete-vendor-account-section",u),children:t.jsx(dt,{})})})})]})},tt=r.div`
2
2
  display: flex;
3
3
  flex-wrap: wrap;
4
4
  gap: ${o.sp1};
@@ -6,7 +6,7 @@ import{u as qe,e as v,M as h,E as U,c9 as _e,j as t,aW as Ye,_ as b,m as Je,bS a
6
6
  display: flex;
7
7
  justify-content: space-between;
8
8
  width: 100%;
9
- `,q=r.div`
9
+ `,Y=r.div`
10
10
  box-sizing: border-box;
11
11
  text-align: left;
12
12
  flex: 1 0 50%;
@@ -70,7 +70,7 @@ import{u as qe,e as v,M as h,E as U,c9 as _e,j as t,aW as Ye,_ as b,m as Je,bS a
70
70
  &:hover {
71
71
  color: ${L.important};
72
72
  }
73
- `,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=v(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,u=t.jsx(pt,{children:e.piLabels.map(m=>t.jsxs(mt,{children:[t.jsxs(ut,{children:[m.name,d.colon]}),t.jsx(ht,{children:m.value})]},m.name))});return t.jsxs($t,{size:s,children:[t.jsx(xt,{children:t.jsxs(J,{children:[e.displayText,t.jsx(k,{title:u,placement:"top",children:t.jsx(yt,{children:t.jsx(ft,{})})})]})}),t.jsx(gt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:d.deleteAccountTooltip,placement:"top",children:t.jsx(bt,{onClick:m=>{m.stopPropagation(),a()},"data-testid":b("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(vt,{})})})})]})},pt=r.div`
73
+ `,ct=({paymentInstrument:e,onDeleteClick:a})=>{const s=w(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,u=t.jsx(pt,{children:e.piLabels.map(m=>t.jsxs(mt,{children:[t.jsxs(ut,{children:[m.name,d.colon]}),t.jsx(ht,{children:m.value})]},m.name))});return t.jsxs($t,{size:s,children:[t.jsx(xt,{children:t.jsxs(G,{children:[e.displayText,t.jsx(k,{title:u,placement:"top",children:t.jsx(yt,{children:t.jsx(ft,{})})})]})}),t.jsx(gt,{children:t.jsx(k,{enterDelay:600,display:"flex",title:d.deleteAccountTooltip,placement:"top",children:t.jsx(bt,{onClick:m=>{m.stopPropagation(),a()},"data-testid":b("delete-vendor-international-account-section",e.paymentInstrumentId),children:t.jsx(wt,{})})})})]})},pt=r.div`
74
74
  display: flex;
75
75
  flex-wrap: wrap;
76
76
  gap: ${o.sp1};
@@ -132,7 +132,7 @@ import{u as qe,e as v,M as h,E as U,c9 as _e,j as t,aW as Ye,_ as b,m as Je,bS a
132
132
  &:hover {
133
133
  color: ${e=>e.theme.colors.primary};
134
134
  }
135
- `,vt=r(ue)`
135
+ `,wt=r(ue)`
136
136
  width: ${o.sp3};
137
137
  height: ${o.sp3};
138
138
  cursor: pointer;
@@ -140,7 +140,7 @@ import{u as qe,e as v,M as h,E as U,c9 as _e,j as t,aW as Ye,_ as b,m as Je,bS a
140
140
  &:hover {
141
141
  color: ${L.important};
142
142
  }
143
- `,he=(e,a)=>{const s=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(a){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},Y=({type:e,subType:a,vendorAccountDetails:s,vendorAccountDetailsInternational:d,onRemoveBankAccount:u,onAddNewAccountDetailClick:m})=>{const w=v(),[j,p]=x.useState(!1),[g,y]=x.useState(""),[N,I]=x.useState(!1),c=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,S=i=>{y(i),p(!0)},P={onOkClick:()=>{p(!1),u(g,N)},onCancelClick:()=>{p(!1),y("")}},T=i=>e==="ach"||e==="wire"&&a==="us-domestic"?i.bankAccountNumber:e==="wire"&&a==="international"?i.bankAccountIban??"":"",z=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&a==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&a==="international"?i.bankSwiftCode??"":"",B=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&a==="international"?c.wireDetails.international.swiftCode:"",V=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&a==="international"?c.wireDetails.international.iban:"";return t.jsxs(St,{children:[j===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:c.areYOuSure}),descriptionComponent:t.jsx(ie,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:P,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(kt,{windowSize:w,children:`${he(e,a)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(te,{children:t.jsx(et,{bankName:i.bankName,bankAccountNumberOrIban:T(i),routingNumberOrSwiftCode:z(i),routingNumberOrSwiftCodeLabel:B(),accountNumberOrIbanLabel:V(),accountName:i.bankAccountName,onDeleteClick:()=>S(i.bankAccountId)})},i.bankAccountId)),d?.map(i=>t.jsx(te,{children:t.jsx(ct,{paymentInstrument:i,onDeleteClick:()=>{I(!0),S(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(wt,{onAddAccountDetailsSection:m,type:e,subType:a})]})},wt=({onAddAccountDetailsSection:e,type:a,subType:s})=>{const d=v(),u=h.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(Ct,{windowSize:d,onClick:e,"data-testid":b("add-vendor-account",a),children:[t.jsx(jt,{}),t.jsx(le,{children:`${u.vendorCreation.addPrefix} ${he(a,s)}`})]})})},jt=r(pe)`
143
+ `,he=(e,a)=>{const s=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;switch(e){case"ach":return s.achDetails.ach;case"wire":switch(a){case"us-domestic":return s.wireDetails.domestic.domestic;case"international":return s.wireDetails.international.international;default:return""}default:return""}},q=({type:e,subType:a,vendorAccountDetails:s,vendorAccountDetailsInternational:d,onRemoveBankAccount:u,onAddNewAccountDetailClick:m})=>{const v=w(),[j,p]=x.useState(!1),[g,y]=x.useState(""),[N,I]=x.useState(!1),c=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,S=i=>{y(i),p(!0)},P={onOkClick:()=>{p(!1),u(g,N)},onCancelClick:()=>{p(!1),y("")}},T=i=>e==="ach"||e==="wire"&&a==="us-domestic"?i.bankAccountNumber:e==="wire"&&a==="international"?i.bankAccountIban??"":"",z=i=>e==="ach"?i.bankRoutingNumberAch:e==="wire"&&a==="us-domestic"?i.bankRoutingNumberWireTransfer:e==="wire"&&a==="international"?i.bankSwiftCode??"":"",B=()=>e==="ach"?c.achDetails.bankRoutingNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.bankRoutingNumber:e==="wire"&&a==="international"?c.wireDetails.international.swiftCode:"",V=()=>e==="ach"?c.achDetails.bankAccountNumber:e==="wire"&&a==="us-domestic"?c.wireDetails.accountNumber:e==="wire"&&a==="international"?c.wireDetails.international.iban:"";return t.jsxs(St,{children:[j===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:c.areYOuSure}),descriptionComponent:t.jsx(ie,{children:c.ifYouSubmit}),primaryButtonText:c.delete,secondaryButtonText:c.cancel,action:P,isEditPopup:!0,proceedButtonVariant:"danger"}):null,t.jsx(kt,{windowSize:v,children:`${he(e,a)} ${c.accountsLabel}`}),s?.map(i=>t.jsx(te,{children:t.jsx(et,{bankName:i.bankName,bankAccountNumberOrIban:T(i),routingNumberOrSwiftCode:z(i),routingNumberOrSwiftCodeLabel:B(),accountNumberOrIbanLabel:V(),accountName:i.bankAccountName,onDeleteClick:()=>S(i.bankAccountId)})},i.bankAccountId)),d?.map(i=>t.jsx(te,{children:t.jsx(ct,{paymentInstrument:i,onDeleteClick:()=>{I(!0),S(i.paymentInstrumentId)}})},i.paymentInstrumentId)),t.jsx(vt,{onAddAccountDetailsSection:m,type:e,subType:a})]})},vt=({onAddAccountDetailsSection:e,type:a,subType:s})=>{const d=w(),u=h.getLocalizedStrings().spendManagement.billPay;return t.jsx(t.Fragment,{children:t.jsxs(Ct,{windowSize:d,onClick:e,"data-testid":b("add-vendor-account",a),children:[t.jsx(jt,{}),t.jsx(le,{children:`${u.vendorCreation.addPrefix} ${he(a,s)}`})]})})},jt=r(pe)`
144
144
  margin-right: ${o.sp2};
145
145
  width: ${o.sp3};
146
146
  height: ${o.sp3};
@@ -170,12 +170,12 @@ import{u as qe,e as v,M as h,E as U,c9 as _e,j as t,aW as Ye,_ as b,m as Je,bS a
170
170
  padding-bottom: ${o.sp2};
171
171
  margin-top: ${o.sp3};
172
172
  margin-bottom: ${o.sp3};
173
- `,Dt=({addressState:e,onUpdateMailingAddress:a})=>{const s=v(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Vt,{children:[t.jsxs(Bt,{windowSize:s,children:[`${d.mailingAddressLabel}`,t.jsx(zt,{children:`${d.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(Tt,{children:[At(e),t.jsx(k,{enterDelay:600,display:"flex",title:d.editMailingAddressTooltip,placement:"top",children:t.jsx(Lt,{"data-testid":b("edit-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:t.jsx(Nt,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":b("add-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:[t.jsx(It,{}),t.jsx(le,{children:d.addMailingAddress})]})})]})},At=e=>[e.street[2],e.street[0],e.street[1],e.city,`${e.state} ${e.postalCode}`.trim(),e.countryCode??e.country].filter(Boolean).join(", "),Lt=r.div`
173
+ `,Dt=({addressState:e,onUpdateMailingAddress:a})=>{const s=w(),d=h.getLocalizedStrings().spendManagement.billPay.vendorCreation;return t.jsxs(Vt,{children:[t.jsxs(Bt,{windowSize:s,children:[`${d.mailingAddressLabel}`,t.jsx(zt,{children:`${d.mailingAddressPlaceholder}`})]}),e!=null?t.jsxs(Tt,{children:[At(e),t.jsx(k,{enterDelay:600,display:"flex",title:d.editMailingAddressTooltip,placement:"top",children:t.jsx(Lt,{"data-testid":b("edit-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:t.jsx(Nt,{})})})]}):t.jsx(t.Fragment,{children:t.jsxs(Pt,{windowSize:s,"data-testid":b("add-vendor-mailing-address"),onClick:()=>a("vendor_address"),children:[t.jsx(It,{}),t.jsx(le,{children:d.addMailingAddress})]})})]})},At=e=>[e.street[2],e.street[0],e.street[1],e.city,`${e.state} ${e.postalCode}`.trim(),e.countryCode??e.country].filter(Boolean).join(", "),Lt=r.div`
174
174
  width: ${o.sp3};
175
175
  svg {
176
176
  display: none;
177
177
  }
178
- `,Nt=r(Ge)`
178
+ `,Nt=r(Ke)`
179
179
  width: ${o.sp3};
180
180
  height: ${o.sp3};
181
181
  cursor: pointer;
@@ -203,7 +203,7 @@ import{u as qe,e as v,M as h,E as U,c9 as _e,j as t,aW as Ye,_ as b,m as Je,bS a
203
203
  color: ${e=>e.theme.colors.primary};
204
204
  border: 1px solid ${e=>e.theme.colors.primary};
205
205
  }
206
- `,Tt=r(J)`
206
+ `,Tt=r(G)`
207
207
  margin-top: ${o.sp2};
208
208
  padding: ${o.sp3} ${o.sp4};
209
209
  background-color: ${e=>e.theme.colors.grey5};
@@ -278,4 +278,4 @@ import{u as qe,e as v,M as h,E as U,c9 as _e,j as t,aW as Ye,_ as b,m as Je,bS a
278
278
  display: flex;
279
279
  flex-direction: column;
280
280
  padding-top: ${o.sp11};
281
- `,$=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,Wt=h.getLocalizedStrings().common.footer,ne=h.getLocalizedStrings().common.currency,Gt=({vendorViewDetails:e,vendorId:a,screenType:s,analytics:d,filesEndPoint:u,authParams:m,vendorSearchAutoCompleteData:w,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:N,updateSelectedVendorForCreate:I,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:z,resetVendorDetailLocalData:B,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:K,newVendorState:Q,fetchState:ve,hasWireTransfer:X,hasInternationalWireTransfer:F,deleteFileStatusById:we,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?K?.vendorDetailLocalData:Q?.vendorDetailLocalData,l=Object.assign({},K??Q),Se=qe(),C=v(),[De,R]=x.useState(!1),[Ae,E]=x.useState(!1),Z=s==="create"?$.newVendorTitle:$.editVendor,Le=(l.bankAccountsUpdated??[]).map(n=>n.bankAccountId).sort(),Ne=(l.vendorBasic?.bankAccounts??[]).map(n=>n.bankAccountId).sort(),Ie=!U(Le,Ne),Pe=(l.paymentInstrumentsUpdated??[]).map(n=>n.paymentInstrumentId).sort(),Te=(l.vendorBasic?.paymentInstruments??[]).map(n=>n.paymentInstrumentId).sort(),ze=!U(Pe,Te),Be=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>_e(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Fe=!U(Be,Ve),Re=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberAch),Ee=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberWireTransfer),Oe=l.paymentInstrumentsUpdated.filter(n=>!!n.piNumber),G=()=>{E(!0)},Me=n=>{R(n)},Ue={onOkClick:()=>{E(!1),R(!1),B?.(),g()},onCancelClick:()=>{E(!1),R(!1)}},O=x.useRef(null),We=n=>{O.current?.syncFormData(),T(n)},M=(n,He)=>{O.current?.syncFormData(),N(n,He)};x.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&(S(),g())},[l]);const ee=x.useRef(null);return t.jsxs(Ft,{windowSize:C,children:[t.jsx(Ye,{"data-testid":b("vendor-detail-container-nav-bar"),title:Z,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Mt,{onClick:G,"data-testid":b("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:ee,source:"CreateOrEditVendorPage"}),t.jsxs(Rt,{windowSize:C,ref:ee,children:[ve==="In-Progress"?t.jsx(Et,{children:t.jsx(Je,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[De===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:$.discardTitle}),descriptionComponent:t.jsx(ie,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.cancel,action:Ue}):null,C!=="small"?t.jsx(Ot,{children:Z}):null,t.jsx(Ke,{ref:O,id:re(oe),allAccounts:$e,allClasses:be,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:ye,allOwners:fe,vendorSearchAutoCompleteData:w,vendorSearchAutoCompleteActions:j,onVendorSelected:y,screenType:s,hasInternationalWireTransfer:F,selectedVendor:l,formLocalData:D,isBankAccountChanged:Ie,isContactListChanged:Fe,isPaymentInstrumentChanged:ze,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:I,saveVendorDetailLocalData:z,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:we,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),X||F?t.jsx(Dt,{addressState:l.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode?t.jsx(Y,{type:"ach",vendorAccountDetails:Re,onAddNewAccountDetailClick:()=>M("ach","standard"),onRemoveBankAccount:c}):null,X&&(l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode)?t.jsx(Y,{type:"wire",subType:"us-domestic",vendorAccountDetails:Ee,onAddNewAccountDetailClick:()=>M("wire","us-domestic"),onRemoveBankAccount:c}):null,F&&(D?.countryCode!=null&&D.countryCode!=="US"||p)?t.jsx(Y,{type:"wire",subType:"international",vendorAccountDetailsInternational:Oe,isLocalCurrencyEnabled:p,onAddNewAccountDetailClick:()=>M("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Ut,{})]}),t.jsx(Qe,{formId:re(oe),primaryBtn:{label:$.saveDetails,isLoading:l.saveStatus?.fetchState==="In-Progress",style:{width:A.buttonWidth.value(C)},isDisabled:!1},cancelBtn:{label:Wt.cancel,style:{width:A.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:G}})]})};export{Gt as default,re as formUniqueName};
281
+ `,$=h.getLocalizedStrings().spendManagement.billPay.vendorCreation,Wt=h.getLocalizedStrings().common.footer,ne=h.getLocalizedStrings().common.currency,Kt=({vendorViewDetails:e,vendorId:a,screenType:s,analytics:d,filesEndPoint:u,authParams:m,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,isLocalCurrencyEnabled:p,onBackClick:g,onVendorSelected:y,navigateToBankDetailPage:N,updateSelectedVendorForCreate:I,onRemoveBankAccount:c,updateSaveFetchState:S,onSaveVendor:P,navigateToMailingAddressPage:T,saveVendorDetailLocalData:z,resetVendorDetailLocalData:B,saveContactsInVendorDetailLocalData:V,updateFilesEntity:i,onEditFileName:xe,onFetchAndUpdateVendorRecommendations:ge})=>{const{accountList:{accounts:$e},classList:{classes:be},vendorTypeList:ye,ownerList:fe,editVendorState:J,newVendorState:Q,fetchState:we,hasWireTransfer:X,hasInternationalWireTransfer:F,deleteFileStatusById:ve,updateFileStatusById:je,accountsHierarchyList:Ce,classHierarchyList:ke}=e,D=a!=null?J?.vendorDetailLocalData:Q?.vendorDetailLocalData,l=Object.assign({},J??Q),Se=Ye(),C=w(),[De,R]=x.useState(!1),[Ae,E]=x.useState(!1),Z=s==="create"?$.newVendorTitle:$.editVendor,Le=(l.bankAccountsUpdated??[]).map(n=>n.bankAccountId).sort(),Ne=(l.vendorBasic?.bankAccounts??[]).map(n=>n.bankAccountId).sort(),Ie=!U(Le,Ne),Pe=(l.paymentInstrumentsUpdated??[]).map(n=>n.paymentInstrumentId).sort(),Te=(l.vendorBasic?.paymentInstruments??[]).map(n=>n.paymentInstrumentId).sort(),ze=!U(Pe,Te),Be=(D?.contacts??[]).filter(n=>n.email!==""||n.fullName!==""||n.phone!=="").map(n=>_e(n,"contactInfoType")),Ve=l.vendorBasic?.contacts??[],Fe=!U(Be,Ve),Re=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberAch),Ee=l.bankAccountsUpdated.filter(n=>!!n.bankRoutingNumberWireTransfer),Oe=l.paymentInstrumentsUpdated.filter(n=>!!n.piNumber),K=()=>{E(!0)},Me=n=>{R(n)},Ue={onOkClick:()=>{E(!1),R(!1),B?.(),g()},onCancelClick:()=>{E(!1),R(!1)}},O=x.useRef(null),We=n=>{O.current?.syncFormData(),T(n)},M=(n,He)=>{O.current?.syncFormData(),N(n,He)};x.useEffect(()=>{l?.saveStatus?.fetchState==="Completed"&&(S(),g())},[l]);const ee=x.useRef(null);return t.jsxs(Ft,{windowSize:C,children:[t.jsx(qe,{"data-testid":b("vendor-detail-container-nav-bar"),title:Z,backgroundColor:Se.colors.grey4,leftSideComponent:t.jsx(Mt,{onClick:K,"data-testid":b("create-edit-vendor-nav-bar-back")}),enableTitleOnScroll:!0,scrollableContent:ee,source:"CreateOrEditVendorPage"}),t.jsxs(Rt,{windowSize:C,ref:ee,children:[we==="In-Progress"?t.jsx(Et,{children:t.jsx(Ge,{size:"ExtraLarge",start:!0})}):t.jsxs(t.Fragment,{children:[De===!0?t.jsx(ae,{titleComponent:t.jsx(se,{children:$.discardTitle}),descriptionComponent:t.jsx(ie,{children:$.discardDescription}),primaryButtonText:$.discard,secondaryButtonText:$.cancel,action:Ue}):null,C!=="small"?t.jsx(Ot,{children:Z}):null,t.jsx(Je,{ref:O,id:re(oe),allAccounts:$e,allClasses:be,accountsHierarchyList:Ce,classHierarchyList:ke,vendorTypeList:ye,allOwners:fe,vendorSearchAutoCompleteData:v,vendorSearchAutoCompleteActions:j,onVendorSelected:y,screenType:s,hasInternationalWireTransfer:F,selectedVendor:l,formLocalData:D,isBankAccountChanged:Ie,isContactListChanged:Fe,isPaymentInstrumentChanged:ze,analytics:d,pageBackBtnClicked:Ae,onBackClick:g,onSaveVendor:P,saveContactsInVendorDetailLocalData:V,updateSelectedVendorForCreate:I,saveVendorDetailLocalData:z,updateFilesEntity:i,toggleConfirmationPopup:Me,filesEndPoint:u,authParams:m,onEditFileName:xe,deleteFileStatusById:ve,updateFileStatusById:je,onFetchAndUpdateVendorRecommendations:ge,isLocalCurrencyEnabled:p}),X||F?t.jsx(Dt,{addressState:l.vendorNewAddressStatus?.addressToCreate,onUpdateMailingAddress:We}):null,l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode?t.jsx(q,{type:"ach",vendorAccountDetails:Re,onAddNewAccountDetailClick:()=>M("ach","standard"),onRemoveBankAccount:c}):null,X&&(l.vendorDetailLocalData?.currencyCode==null||l.vendorDetailLocalData?.currencyCode===ne.currencyCode)?t.jsx(q,{type:"wire",subType:"us-domestic",vendorAccountDetails:Ee,onAddNewAccountDetailClick:()=>M("wire","us-domestic"),onRemoveBankAccount:c}):null,F&&(D?.countryCode!=null&&D.countryCode!=="US"||p)?t.jsx(q,{type:"wire",subType:"international",vendorAccountDetailsInternational:Oe,isLocalCurrencyEnabled:p,onAddNewAccountDetailClick:()=>M("wire","international"),onRemoveBankAccount:c}):null]}),t.jsx(Ut,{})]}),t.jsx(Qe,{formId:re(oe),primaryBtn:{label:$.saveDetails,isLoading:l.saveStatus?.fetchState==="In-Progress",style:{width:A.buttonWidth.value(C)},isDisabled:!1},cancelBtn:{label:Wt.cancel,style:{width:A.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:K}})]})};export{Kt as default,re as formUniqueName};