@zeniai/web-cockpit-ui 1.14.6-qa → 1.14.7-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 (231) hide show
  1. package/dist/assets/{ACHDetailsPage-DgGGv2hx-DhGqxCnw.js → ACHDetailsPage-CYMIIaPh-C8Zl6MLV.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-cpZUms56-qBalK6QF.js → AIPerformancePage-DpQIi2ZW-BO0NE_2F.js} +35 -35
  3. package/dist/assets/{AccountInfoPage-CFLaCiT5-DqoBEOc-.js → AccountInfoPage-Sh-82JXU-CKtI4bnL.js} +5 -5
  4. package/dist/assets/{AccountInfoPageContent-DtAZ50Qc-BeekofSV.js → AccountInfoPageContent-CsHvwqHd-BlW8CgcU.js} +13 -13
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CMN1zNHW-CL-ockWE.js → AccountReconDetailsDrawerPage-DlKlKwh2-DpdK7fsT.js} +16 -16
  6. package/dist/assets/{AccountRow-DAc1wwY9-C0HqOA9-.js → AccountRow-CtIoeB6x-B01gigKX.js} +17 -17
  7. package/dist/assets/{AccountsPromoCardStack-Bp1wRT6M-CYo6jPNU.js → AccountsPromoCardStack-XGoMEJWB-ClZD8Pkf.js} +15 -15
  8. package/dist/assets/{AddAddressForCardDrawer-ChDzvTVq-GLR6_t5g.js → AddAddressForCardDrawer-C6Sfh784-BO6CLNaD.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-BvrcjDhk-NkMR8hRQ.js → AddToWalletPage-CzD2AhWP-GEi12jel.js} +13 -13
  10. package/dist/assets/{AgingReportsPage-CzYUWOIt-CJFG9hw0.js → AgingReportsPage-D9YcQ7A--jEVrKNWY.js} +7 -7
  11. package/dist/assets/{AllUserItems-XxV2Tu4Y-sbn-nokE.js → AllUserItems-BtS-YtE0-oBJempiY.js} +7 -7
  12. package/dist/assets/{ApAgingDetailPage-DTXhjXRb-tDKmCLbA.js → ApAgingDetailPage-BTJqRp9j-CVJ5DZ9g.js} +4 -4
  13. package/dist/assets/{AppBasePage-Cfiv8Ecs-UJWdcIkl.js → AppBasePage-B5fgkJHL-nKspGTEB.js} +4 -4
  14. package/dist/assets/{AppDrawerContent-ggBgpYsv-BhuQV-gE.js → AppDrawerContent-C1lzepXw-Dt703jdK.js} +6 -6
  15. package/dist/assets/{ApprovalRulesSettingsPage-BlRSdCTV-LrZASIni.js → ApprovalRulesSettingsPage-Bqt15rR_-CJ2-js2Y.js} +7 -7
  16. package/dist/assets/{ArAgingChart-C7_e1ezL-Cfi6j3Jg.js → ArAgingChart-BGVvhkR5-CfmO25FB.js} +6 -6
  17. package/dist/assets/{ArAgingDetailPage-DhjFbj4K-sRIzddV0.js → ArAgingDetailPage-Ddp7z3e8-BWaOoITE.js} +2 -2
  18. package/dist/assets/{AttachmentView-CQD-yy-o-1NVaWP30.js → AttachmentView-pcpYs-s8-D808dzO5.js} +5 -5
  19. package/dist/assets/{BankAccountSection-CmOHWLFq-vSt2i69h.js → BankAccountSection-CmXQQBck-BXf6w0tF.js} +4 -4
  20. package/dist/assets/{BankAccountWarningSection-DsBsO84p-Br5XLEf9.js → BankAccountWarningSection-Dp7qMaI2-DCN96rsg.js} +5 -5
  21. package/dist/assets/{BankConnectionsSettingsPage-Cz6smhXo-Cdgop5x9.js → BankConnectionsSettingsPage-ldzD1a4O-CXgyrIw4.js} +38 -38
  22. package/dist/assets/{BillDetailPage-CYa0EITJ-0aSYVKGp.js → BillDetailPage-CBubcYMe-BO_dFsg-.js} +11 -11
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-BbU_Q81T-BVCvUvRL.js → BillPayApprovalRuleDetailPage-BxiRr1tP-COYx8jcO.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-D8ehXeiO-I0Ym-A1W.js → BillPayApprovalRulesPage-CLBGuxUe-fnAlfa5X.js} +8 -8
  25. package/dist/assets/{BillPayPromoPage-DuaA85G4-CW37fYt2.js → BillPayPromoPage-C3takK8D-DwgwIjWq.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-BH06l9Hv-BQ5XuNfG.js → BillPaySetUpPage-CweOkcc2-D46-_5BW.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-BUas93LA-Bw3kXQzV.js → BillingSettingsPage-BQSZ6DMP-DRARmVD3.js} +7 -7
  28. package/dist/assets/{BillsBulkReviewDrawerPage-D6cSAH1--Dypef8h4.js → BillsBulkReviewDrawerPage-3trPH78u-CF22gH7n.js} +1 -1
  29. package/dist/assets/{BoxItem-D88gMTQn-D46Yo25S.js → BoxItem-Bf7JemSM-D8tvXCvN.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-rX7_wUAW-C4OzNGUb.js → BusinessVerificationPage-DXODyk9C-B5e28vsE.js} +8 -8
  31. package/dist/assets/{CardNumberSubText-CxTVkF4V-iWi8Ysv4.js → CardNumberSubText-ByVXSDZX-CD-Gw7wf.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-DdDMDW2I-DEFkWzKF.js → CashbackDetailPage-9RLOXq5b-DSEoSjiZ.js} +23 -23
  33. package/dist/assets/{ChargeCardDetailPage-JrO7h-ff-CM_N7uQT.js → ChargeCardDetailPage-lkNsxEdO-e-8D7tkI.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-CelWKqSg-Dhoo911d.js → ChargeCardListPage-DV25pQMP-BgesY_b4.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-B4c4WFSq-DJFUY7lB.js → ChargeCardListTable-CSWl05jK-CRlk7PbR.js} +25 -25
  36. package/dist/assets/ChargeCardPromoPage-Cv34m9BS-BmZiFW4y.js +219 -0
  37. package/dist/assets/{ChargeCardSetupPage-PQAwr78u-msQYLFMS.js → ChargeCardSetupPage-7mEdImT--BWhFbFIQ.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-DVPKN4xX-BDfS62On.js → ChargeCardStatementsPage-D_rKdZ5c-DUDd82r_.js} +3 -3
  39. package/dist/assets/{ChargeCardUtils-BQZTS-KQ-DN5emI4w.js → ChargeCardUtils-BB7l65Bf-DfL6sW6K.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DveM_aY_-SrUhZ-KA.js → ChaseOverlay-hsrWeA5X-B3bQwtbG.js} +5 -5
  41. package/dist/assets/{CheckDepositDrawerPage-DoMhVKPu-BWBUN8tI.js → CheckDepositDrawerPage-CZNH4rCm-CxSsvi_m.js} +19 -19
  42. package/dist/assets/{CollapsableReportTable-CWIVhYku-DzNE0ECl.js → CollapsableReportTable-C73RBmaZ-A1Br721z.js} +46 -46
  43. package/dist/assets/{CompanyOfficerDetailsSection-Ci47swN_-GWpqyiJH.js → CompanyOfficerDetailsSection-CZWTSWyp-BOVUWJjT.js} +34 -34
  44. package/dist/assets/{CompanyPassportCard-Bw2TdWs0-BiZohcbB.js → CompanyPassportCard-D-hYeDRN-Bo9rwkQb.js} +3 -3
  45. package/dist/assets/{CompanyPassportPage-CKIihOM0-D1cXLT0P.js → CompanyPassportPage-fQ60DR7u-DD7YvAPU.js} +12 -12
  46. package/dist/assets/CompleteProfile-DnBzaAdT-JcsdBGpZ.js +52 -0
  47. package/dist/assets/{ConfettiBurst-CU6fcwCz-CJlWrE_E.js → ConfettiBurst-D5XTvsuG-Dl2X4lye.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BoDt1Ez7-DgN-5P6-.js → CreateOrEditVendorPage-7KdDJirx--0K-JjCB.js} +10 -10
  49. package/dist/assets/{CreditCardPaymentDrawerPage-D7Hka4sI-XMOTHoN6.js → CreditCardPaymentDrawerPage-BNJLUnlH-D5HY42Lo.js} +15 -15
  50. package/dist/assets/{CreditCardPaymentPlgSection-C86KVs5o-CMHP3c_1.js → CreditCardPaymentPlgSection-BwqznNRc-DXBqgi-A.js} +10 -10
  51. package/dist/assets/{CurrencySelectField-B0VTg3Rt-Dd3IQIDs.js → CurrencySelectField-PwurThUn-qsqObS4L.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-oegOz3kP-D9IgnjCf.js → CustomerOnboardingActivationPage-CHJLyOyf-vC6AUxAJ.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DyM4sCZd-DLhRqrqJ.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DhuLaWYK-DcG6KMpl.js → CustomerOnboardingDetailPageSkeleton-BqdhqyL7-D5d_8a27.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-BxwT2uzY-D7TcqLpN.js → CustomerOnboardingNoStepsPage-DDio10hZ-Bwj4xg2w.js} +9 -9
  56. package/dist/assets/{CustomerOnboardingPage-L_1XcD2Y-DKNCW3S2.js → CustomerOnboardingPage-k2OYvIqe-DW9-8aDi.js} +9 -9
  57. package/dist/assets/CustomerOnboardingProductSuitePage-CxB32dUM-D8l5mASB.js +202 -0
  58. package/dist/assets/{Dashboard-CWSUiuiJ-CkG7yAH9.js → Dashboard-DhMPjLVy-BPpidTU7.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-D79gYgHb-BVvCBIWA.js → DashboardReportPage-C9YvD_24-CnK8XRxa.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-BCJn6a_d-BT-feK8R.js → DepositAccTransactionItem-BYFOUvho-D1tjwPkv.js} +4 -4
  61. package/dist/assets/{DepositAccTransactionListPage-6QMW3q5S-DniMW2S1.js → DepositAccTransactionListPage-DeN4-lBP-CBJVTEU-.js} +7 -7
  62. package/dist/assets/{DocumentSecurityBanner-C7TAyvIZ-DjIw6AYV.js → DocumentSecurityBanner-6cQ2cW7e-Bf5Osic5.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-DGOgMHF5-CR1jD4GL.js → DomesticWireDetailsPage-BmMEth4c-Duh2OS1c.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-BrVMY7u8-nMRk4mVN.js → DownloadOverlay-D0_pmb7k-BhK-Q9wQ.js} +6 -6
  65. package/dist/assets/{DrawerPage-DbmFkDa9-Djje95q9.js → DrawerPage-C5u676VK-BwyTjOJX.js} +1 -1
  66. package/dist/assets/EditPeoplePage-DAM71X8m-kukHxW_0.js +55 -0
  67. package/dist/assets/{EditReimbursementDetailPage-BSXwufQy-BGfoaRvB.js → EditReimbursementDetailPage-BxjNoyj8-mj8ySbuq.js} +43 -43
  68. package/dist/assets/{EntityDetailPage-ClKvTCns-CiI4yzJ7.js → EntityDetailPage-BfscGvkI-DlE98_0K.js} +3 -3
  69. package/dist/assets/{EntitySummarySection-BcyWfLW_-llSGPYnB.js → EntitySummarySection-BCkLY2Py-lpTrhfnW.js} +5 -5
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CQ5_4jtz-Dwom5i2h.js → ExpenseAutomationOverviewPage-C4SCxViu-BAakN-WZ.js} +18 -18
  71. package/dist/assets/{ExpenseAutomationPage-SDYsJmGO-CNd8g10S.js → ExpenseAutomationPage-DF1-Q4X5-DubLusUH.js} +33 -33
  72. package/dist/assets/{ExpressPayPage-S33czP_U-wOnUG70H.js → ExpressPayPage-Cdtx03yB-BxTU3id1.js} +10 -10
  73. package/dist/assets/{FeaturePreviewPage-COWIqmTf-CyZ-Ngo6.js → FeaturePreviewPage-nQYT4moR-CobwvrFz.js} +2 -2
  74. package/dist/assets/{FollowStepsSection-Cw8htUBe-KlacKTEI.js → FollowStepsSection-CRBm3eL9-Bz_q7qOo.js} +8 -8
  75. package/dist/assets/{GlobalReviewListPage-DKBYTVNe-B054__m6.js → GlobalReviewListPage-3iXmpaXt-BpdqjyXr.js} +1 -1
  76. package/dist/assets/{HelpButton-BvPX8uxd-B7O0Ne6B.js → HelpButton-Cv7-d_qL-CciztHgu.js} +1 -1
  77. package/dist/assets/{InformationCardStack-CtueyMCq-B3RHQtJt.js → InformationCardStack-JCre21xs-BlkeDU23.js} +3 -3
  78. package/dist/assets/{InsightsCardStack-BKtPGTdt-rc65DXp-.js → InsightsCardStack-Dekfw94R-VqCo_XNV.js} +8 -8
  79. package/dist/assets/{InsightsSection-BFIeAUrz-CogsOJk3.js → InsightsSection-CLqfyvOO-CKwkK2Sj.js} +4 -4
  80. package/dist/assets/{IntegrationsSettingsPage-BSyZC7Kg-CHF3rylS.js → IntegrationsSettingsPage-o9w1-WIT-BCMJ43n5.js} +5 -5
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-C9Z04pG5-ChUNSNNN.js → InternationalWireSwiftDetailsPage-DBG1ni7g-DMTAsaCM.js} +18 -18
  82. package/dist/assets/{InternationalWireVerificationPage-iRa0YMo6-BqMlSuW7.js → InternationalWireVerificationPage-BLU4F--p-BFU2uuwn.js} +19 -19
  83. package/dist/assets/{InviteFormPage-CbSJssAT-C5BLeKFh.js → InviteFormPage-Bf8Mqb7S-BtjdSecG.js} +13 -13
  84. package/dist/assets/{InvitePageListView-BrUBTz5B-DxiDTLU3.js → InvitePageListView-6oeT1vaB-Bpmua81S.js} +52 -52
  85. package/dist/assets/InvitePeoplePage-CLvVDRca-CLtgUYZW.js +12 -0
  86. package/dist/assets/{InvoiceUploadSection-CRgtSthn-CdJu9_SZ.js → InvoiceUploadSection-BiIfE0Mk-DzhUPeCE.js} +7 -7
  87. package/dist/assets/{IssueChargeCardPage-CdOs81el-CaQjXLma.js → IssueChargeCardPage-Dd312Qu7-BymELIm-.js} +20 -20
  88. package/dist/assets/{LabeledAddressValue-CoQKG0Vs-XiBnAGSr.js → LabeledAddressValue-BplX--OG-BBD4K47a.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-D5zB7wnP-C-ACJntJ.js → LabeledAddressValueField-DkhJs5ky-DLdSr7t1.js} +4 -4
  90. package/dist/assets/{LabeledControlledCheckBoxField-DSefRIxV-fZ095MYZ.js → LabeledControlledCheckBoxField-SJfjkDzA-q46TDnxw.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DOv10RFp-Do8dWxGN.js → LabeledCreatableSingleSelectField-CPwrvNjy-C-LowpML.js} +3 -3
  92. package/dist/assets/LabeledDocumentField-DLd6UnEn-DtqGgdoi.js +41 -0
  93. package/dist/assets/{LabeledDropDownFormattedTextField-D6qgntCW-BJC3ifVH.js → LabeledDropDownFormattedTextField-D70GX0HR-7dIEmO5F.js} +7 -7
  94. package/dist/assets/{LabeledText-DiD_FvMm-CCwT2lQh.js → LabeledText-mTAE2dvH-e6RXkC8i.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-rBaXx4JB-DR0Xw0HO.js → LabeledUserSingleSelectWithSubtitlesField-Dx8TfHuB-hRPyJuOY.js} +10 -10
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DI9XLkn7-BHhuV6HF.js → LabeledZeniRolesDropDownField-ZGHinaTy-14IF6Cak.js} +12 -12
  97. package/dist/assets/{LinkJETransactionPage-BI9rvDWF-CfBfl5Qd.js → LinkJETransactionPage-CNYQO-AQ-BO9clNns.js} +8 -8
  98. package/dist/assets/{LowBalancePopup-ChqqEeWk-BM4fEMD_.js → LowBalancePopup-hdwaJezh-B0CYMe4t.js} +5 -5
  99. package/dist/assets/{MagicLinkACHDetailsPage-DYDNDN_--DivIHnp3.js → MagicLinkACHDetailsPage--DRHcaKz-BBtLo6wh.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DQuuLyWQ-DMuYoH5t.js → MagicLinkDomesticWireDetailsPage-B5hbI4dU-0vD7L8pJ.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CnUTecpU-D_T2GhHn.js → MagicLinkInternationalWireDetailsPage-BdwVZCRt-BzFpmTJD.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-Dyhk5vnq-BIlvFeEv.js → MagicLinkSuccessPage-DOUrPdD--h771bDUh.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CAwqT4_X-BZUCaIfF.js → MagicLinkTitleSection-Bb27jU2a-DQOPYd-Z.js} +3 -3
  104. package/dist/assets/{MailingDetailsSection-Cpu-qwub-DXvamX34.js → MailingDetailsSection-CdKFQB_8-K5G0AaPG.js} +2 -2
  105. package/dist/assets/{MeetingCalenderPopup-B5M2lm-y-C_FrJz7Q.js → MeetingCalenderPopup-B3sIZU3d-DuEMLObz.js} +3 -3
  106. package/dist/assets/{Menu-D0NUi1FB-BawltZy9.js → Menu-Bsk58l8k-kRDchKev.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-SYlGHINJ-UgY1mvLj.js → MyBankConnectionsSettingsPage-P1Zh6SFD-C4DvQ61H.js} +12 -12
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-EBaDVcO8-BUhvlg7Q.js → MyPendingActivationChargeCardListPage-Cs7rVAdh-B9AXkK-5.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-a1LKde_U-C-CluQ5D.js → MyProfileSettingsPage-Cc4XfbBQ-C9qNtbAb.js} +6 -6
  110. package/dist/assets/{NavBarWithPicker-D3YzfX06-BOvWanjk.js → NavBarWithPicker-DFD5LZ4o-CjFvYGu-.js} +3 -3
  111. package/dist/assets/{NavigationArrow-C81m-KZF-DiGpo5fD.js → NavigationArrow-mL8dVddD-CApZjvsF.js} +5 -5
  112. package/dist/assets/{NavigationDots-CB3WQq54-bd5dE2x5.js → NavigationDots-MPqPjbnr-gK408Eu4.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BwuCbGQ_-BWfS6c1K.js → NewGlobalMerchantPage-QTvziNPs-DJ7dMRKm.js} +6 -6
  114. package/dist/assets/{NoDataChart-B0CMrh6X-CjUp7yyw.js → NoDataChart-C1BY1riw-DoqrJEIG.js} +1 -1
  115. package/dist/assets/{NoDataTable-BgcSvfNz-CZM6fS2_.js → NoDataTable-C_4AqyDp-cxOm3TqL.js} +1 -1
  116. package/dist/assets/{NotFoundPage-BnPqLAwW-DXn1vq6B.js → NotFoundPage-U8Zqpzgy-DGacTch6.js} +4 -4
  117. package/dist/assets/{NotificationSettingsPage-wigFcdhu-BCVXYCAc.js → NotificationSettingsPage-2A4Pahmq-ugOY8DfW.js} +13 -13
  118. package/dist/assets/NotificationsListConfig-BIw5ASx2-BpsD8zMo.js +1 -0
  119. package/dist/assets/{NotificationsPage-BC-f8rc3-Cv1jpZ5r.js → NotificationsPage-B6yKJmGI-ABrq9lsr.js} +36 -36
  120. package/dist/assets/{OpExByVendorPage-CIh1CcAU-DhceACAT.js → OpExByVendorPage-BnTlBXeu-CtQ9Rudi.js} +4 -4
  121. package/dist/assets/{OverlayContainerPage-GWXnlbZH-D_pF8lEg.js → OverlayContainerPage-BxBOhoib-0U2mSFzb.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Dj21XOWq-Bil3pCly.js → PandLWithForecastPage-CKW73tr8-DQuvWZ35.js} +5 -5
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-C0eGjv2q-hYajAvBR.js → PaymentAccountSetupBillingAddressSection-CSEVISAI-Bq0DuZcX.js} +6 -6
  124. package/dist/assets/{PeoplePage-DHWuODjG-BG9mOlzv.js → PeoplePage-BJxZJT-l-FSQqwOWI.js} +16 -16
  125. package/dist/assets/{PortfolioAllocationFormPage-CYoVD723-JNLkou6k.js → PortfolioAllocationFormPage-C4pRhyet-Wf_11Z3Y.js} +4 -4
  126. package/dist/assets/PortfolioDetails-4fbkArz6-0_-lQYOm.js +218 -0
  127. package/dist/assets/{ProductsCarousel-DcSxZECS-DlL_nQ7i.js → ProductsCarousel-gGbLzHle-BYrndM43.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-B-s9wF0Q-C_JFN1l_.js → PromoBaseCards-DUlZEg5E-CbxyeszU.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-CQlXDalh-pYOnv0Lz.js → QBOConnectionDialog-C_Z2lvUz-DLhuJ1u0.js} +6 -6
  130. package/dist/assets/{QBOSetupSection-Dpib3Rx5-CvOyCasF.js → QBOSetupSection-DqWiwHwl-DIb9XM9r.js} +11 -11
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CutUv2m2-DV8JJchD.js → ReimbursementApprovalRuleDetailPage-JWdrVgqW-CFvIiw2A.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-Cyye_Ayg-D3NnZeto.js → ReimbursementApprovalRulesPage-BnBNwFzM-C_gjNu0y.js} +33 -33
  133. package/dist/assets/{ReimbursementDetailPage-C4Tsi1io-C3Ydj8yn.js → ReimbursementDetailPage-Dyjb0qZE-BT9Piz6e.js} +7 -7
  134. package/dist/assets/{ReimbursementPromoPage-4BFu3jYR-DJOp85Xg.js → ReimbursementPromoPage-D1EqiXEa-DCne6gHN.js} +3 -3
  135. package/dist/assets/{ReimbursementSetUpPage-Cpl4wfuS-CLF96wxU.js → ReimbursementSetUpPage-ClJ_4WMp-Rk-zjJTF.js} +5 -5
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-iGaIl0hj-Ez4D4cLW.js → ReimbursementsBulkReviewDrawerPage-B-uGRv6i-04ZwLpFl.js} +1 -1
  137. package/dist/assets/{ReloadCard-F-DEmw51-DLqR0F5O.js → ReloadCard-DVYCtjFP-BRGDk89Q.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-BSPNRs-f-BSuMcYEk.js → ReportTableViewSelector-BTu2hum1-C1Mbyqo-.js} +7 -7
  139. package/dist/assets/{ReportsPage-BQF-yVRz-qmz-Tsud.js → ReportsPage-BJEqtDDR-D_PksdU9.js} +5 -5
  140. package/dist/assets/{RevenueChart-ClRH1Vei-DMmGXmTr.js → RevenueChart-BFS-A4qa-BBXnyto4.js} +13 -13
  141. package/dist/assets/{ReviewDetailsPage-BKfSEXv--BulgMAR_.js → ReviewDetailsPage-C6qSCmDQ-B2yUNAOk.js} +13 -13
  142. package/dist/assets/{ReviewOverlay-Dgnr47GU-pLIXYebD.js → ReviewOverlay-DItEmr7f-J3VxEX04.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-Bcjjd_2M-CEhXe82J.js → RoleWithToolTip-CqtMdboJ-Do2co-59.js} +6 -6
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bq6XAACj-b2tW9Mlc.js → ScheduleDetailsFixedAssetsPage-CKcDbns8-CVYGhsoz.js} +8 -8
  145. package/dist/assets/{ScheduleDetailsPage-DTLTxgOx-BSog8pZ6.js → ScheduleDetailsPage-CYqYYvix-CdBl7QS5.js} +3 -3
  146. package/dist/assets/{ScheduleSequenceTable-CEZL4GA8-Bz6Z5iY2.js → ScheduleSequenceTable-DUYFGZvc-B-XLebxH.js} +18 -18
  147. package/dist/assets/{ScreenRoutes-CPSDcwH4.js → ScreenRoutes-BFh5xZjd.js} +35 -35
  148. package/dist/assets/{SetUpAccountSection-CJsY-S6w-C1WEKP8_.js → SetUpAccountSection-DfuZHlL6-sva6HoSx.js} +21 -21
  149. package/dist/assets/{SetUpDefaultSection-Dbzui0hL-iIB8Rf0_.js → SetUpDefaultSection-Jl4dtzx3-CDDnDgUz.js} +10 -10
  150. package/dist/assets/{SignIn-yFG7aeiJ-ckyRX-3p.js → SignIn-OTT_6lLp-4uioYcss.js} +4 -4
  151. package/dist/assets/{SignInScreen-CezO9Lof.js → SignInScreen-VsVK9Vz1.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-cw0B29Ux-C5QKbiAX.js → SpendManagementListViewPage-BkL-3WNh-DhY9QPd5.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-Bkw1eegW-6YGIDLoT.js → SpendManagementPerTabPage-Buppd61y-KX81e_1p.js} +14 -14
  154. package/dist/assets/{SpendManagementSection-DuYMRljT-Bdg69CKN.js → SpendManagementSection-BGcBRKGN-CG3uT_ZE.js} +10 -10
  155. package/dist/assets/{SpendMgmtSetupAccountSection-DF3XzW-2-DYLliU2g.js → SpendMgmtSetupAccountSection-Cswh297O-5u1iK010.js} +13 -13
  156. package/dist/assets/{StatementItem-DGX-Yd6i-BY_yCToE.js → StatementItem-C3tUNT5A-D9LIbCmi.js} +4 -4
  157. package/dist/assets/{StatementsPage-BJ3A9NXT-DMgbNE2o.js → StatementsPage-DGryRE6z-C-mT3zfT.js} +3 -3
  158. package/dist/assets/{StatusSwitcher-Duc8UFd8-CiSz19gK.js → StatusSwitcher-BgWlxay9-Mp4PEzEM.js} +2 -2
  159. package/dist/assets/{SubTabSwitcher-U04APwPI-BuE6OItd.js → SubTabSwitcher-DwwAqq_R-DBNFWy_6.js} +1 -1
  160. package/dist/assets/{SummaryCard-BPy7YF4F-CCR3LVUp.js → SummaryCard-Dm0Tx9is-BV25EA5P.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-CaPSMhTy-CpyLEYTY.js → TaskManagementPage-59XAl_cs-BbyBf_KE.js} +31 -31
  162. package/dist/assets/{TimeRangeSwitcher-DR2s6McL-3_tMweub.js → TimeRangeSwitcher-D7-Jph-G-Cn7zeCi8.js} +3 -3
  163. package/dist/assets/{TimeframeSwitcher-CR_Pithb-DBISxzXu.js → TimeframeSwitcher-CWYQWFLF-B37Mzr7G.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-CxsK8B8h-Cc3bm2cD.js → TimeframeSwitcherWithToggle-QOhQ3sac-BtE_j2V5.js} +1 -1
  165. package/dist/assets/{TopExCard-CykkX8Ny-DVQt4RbM.js → TopExCard-CTlizsDD-CdK-gYL3.js} +5 -5
  166. package/dist/assets/{TopExDetailPage-D9lST5M2-BxtgAaio.js → TopExDetailPage-Df3JbgcF-BUIhSfiv.js} +2 -2
  167. package/dist/assets/{TransactionDetailPage-CdEYjFbk-B6ledmKA.js → TransactionDetailPage-DvNpTjAp-3mOQ99vo.js} +30 -30
  168. package/dist/assets/{TransactionList-Dybq00u0-BjLYzc0q.js → TransactionList-SkSPfIsE-CE8kQBAe.js} +8 -8
  169. package/dist/assets/{TransactionListBig-C08_BfqV-BbvbiTrP.js → TransactionListBig-CZCV_kmJ-DVUvA7le.js} +9 -9
  170. package/dist/assets/{TransactionListPage-B1Yrd7M3-DonBnBnw.js → TransactionListPage-CBbyagWp-Da8WpQzF.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-C4c-gk4U-BJLuJ4bf.js → TransactionVendorDetailPage-BXnlFdHR-DkKO-vTr.js} +3 -3
  172. package/dist/assets/{TransferDrawerPage-R6BJFqqt-DlAyhuZ7.js → TransferDrawerPage-CxXLyKwW-pf6KUagR.js} +29 -29
  173. package/dist/assets/{TreasuryOverviewPage-BsLzvGJ9-B1GjNHT4.js → TreasuryOverviewPage-3JlXZfCV-Dx_gGX5K.js} +16 -16
  174. package/dist/assets/{TreasuryPromoPage-k4TR0X4_-eC19CXAQ.js → TreasuryPromoPage-BhAicq7r-CWtB-Ior.js} +15 -15
  175. package/dist/assets/{TreasurySetupPage-xA9wkaxu-DOCNmlPJ.js → TreasurySetupPage-BQG_Wd5U-DotUWNKW.js} +2 -2
  176. package/dist/assets/{TreasuryStatementsPage-BeGMnFii-YfwK-mig.js → TreasuryStatementsPage-dCAtvvZk-CQC0pKh5.js} +5 -5
  177. package/dist/assets/{TreasuryTaxLetterPage-D6xf_HNB-DiYrdqjP.js → TreasuryTaxLetterPage-irA0Cgkj-CtL9UaTH.js} +5 -5
  178. package/dist/assets/{TreasuryTransferOrReviewPage-Cy90K2k1-BwaHgqNm.js → TreasuryTransferOrReviewPage-Dd1oLBma-BqeITAG-.js} +80 -80
  179. package/dist/assets/{TrendChart-CJ4ymPpY-4Nl5mDmM.js → TrendChart-Ctquh3qH-BiYWLM8X.js} +2 -2
  180. package/dist/assets/{TrendWithTransactions-B1FMv4RR-BXjd6gRu.js → TrendWithTransactions-CoXTnQK7-BLlEO5rp.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-MX9qLxmy-NN0GCNcI.js → UncategorizedAccountsMappingPage-Cq49D6V9-TgKDL_ek.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-B1wIRNw1-DQCY0VyM.js → UnitIntegrationPage-CR0nZ7NM-R_gwAwZ8.js} +4 -4
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-DiX5Dbc--DMKXpGlq.js → UploadAdditionalDocumentOverlay-B_DFEIlC-D-vyB1J1.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-Cljy86Us-CqvodjDD.js → Vendor2FAPopup-KsRgKz_Z-j8koIFf4.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-BZG4bwOp-CtpzzPJH.js → VendorACHDetailsPage-MRaehbhm-DmI12dQp.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-B8m4FkG5-D-auLoHo.js → VendorDetailPage-Cji21PBc-B3adWyVF.js} +18 -18
  187. package/dist/assets/{VendorDomesticWireDetailsPage-D7Mt3s3R-_HscDehj.js → VendorDomesticWireDetailsPage-DhUIW9g--qdYZ8d9x.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-B1FNkNlL-Sg-MnT3r.js → VendorFiling1099EditablePage-BWFbXLhQ-C5qvIENm.js} +11 -11
  189. package/dist/assets/{VendorFirstReviewPage-CDmMppJJ-CtMKXiJP.js → VendorFirstReviewPage-tvh5pcvQ-B2Kk7Crs.js} +26 -26
  190. package/dist/assets/{VendorInternationalWireDetailsPage-X-j8j32p-CWI0CPWX.js → VendorInternationalWireDetailsPage-CfmZSb8O-B-ILWyNn.js} +11 -11
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-eJXY7B89-B0ExbgQf.js → VendorInternationalWireSwiftDetailsPage-V_1s9mWi-hnkkHj00.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-DH0v9LaU-DHJI7MF_.js → VendorsAccountsSection-b9s5nqGq-DfS13Vrv.js} +6 -6
  193. package/dist/assets/VerifyDevice-CJgD3UmO-uodXssPo.js +67 -0
  194. package/dist/assets/{WarningsDrawerPage-0XqR-WSe-anF5_tw2.js → WarningsDrawerPage-CB4mJGTB-fzxOGtfc.js} +9 -9
  195. package/dist/assets/{ZeniAccountDetailPage-poRKOvKO-DKb8kmv1.js → ZeniAccountDetailPage-CgSyyen1-PEjv41n1.js} +33 -33
  196. package/dist/assets/{ZeniAccountListViewPage-DAwsHVFu-BGWKwgu8.js → ZeniAccountListViewPage-DjGZpdh_-BsFv0aAo.js} +14 -14
  197. package/dist/assets/{ZeniAccountNavBarPieces-CK1z6uDE-EtXKthio.js → ZeniAccountNavBarPieces-BJC4d2Iu-BjaYs6wQ.js} +2 -2
  198. package/dist/assets/{ZeniAccountPromoPage-D_AeQXK0-BigsavEn.js → ZeniAccountPromoPage-D3Yt6FIj-ypiLoIIl.js} +9 -9
  199. package/dist/assets/{ZeniAccountSetupPage-B5KmPY23-C7MeYCAt.js → ZeniAccountSetupPage-BeCPekI4-BoIQB_8y.js} +3 -3
  200. package/dist/assets/{ZeniCopyright-DawBwguL-CoKChncL.js → ZeniCopyright-Dhdl9kqY-CRu5oNtE.js} +1 -1
  201. package/dist/assets/{ZeniTransferAmountSlider-BBQgQPfw-CW26dOpf.js → ZeniTransferAmountSlider-B8VFb2l--enqH4TrQ.js} +1 -1
  202. package/dist/assets/{analyticsHelper-mARzqEfV-glOPluPl.js → analyticsHelper-Cawv3PXO-DqLgneHd.js} +1 -1
  203. package/dist/assets/{analyticsHelper-DTaSIWBm.js → analyticsHelper-DBiIeSgZ.js} +1 -1
  204. package/dist/assets/{chartTypes-CedtWDkU-D_XzUeW6.js → chartTypes-5p7NWUHx-6R9pye-p.js} +1 -1
  205. package/dist/assets/{commonDimensions-ZxGdYNGR-BLBlsCik.js → commonDimensions-CQlLUBWG-C3nTCVjo.js} +1 -1
  206. package/dist/assets/{detailCommon-C0urnGcj-AeDRs0j5.js → detailCommon-CoAmJ6pY-B0Qu3snC.js} +4 -4
  207. package/dist/assets/{downloadPdf-C1cvLEsi-rU2eYPue.js → downloadPdf-CCJjnfCZ-ODxWAPRh.js} +1 -1
  208. package/dist/assets/{index-BEYLWYh7.js → index-C2JVdK9x.js} +2597 -2579
  209. package/dist/assets/{mapLoadingInProgressToTreeNode-D9ofcMAJ-DzcUuzrj.js → mapLoadingInProgressToTreeNode-CwyU1xs5-DTtIWEnS.js} +1 -1
  210. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CAhuUnXV-B-V1WxKb.js → mapSectionWithAcOnlyToTreeNode-IKJYFM7_-BiH-dZ1q.js} +1 -1
  211. package/dist/assets/{mapSpacerToTreeNode-BPXOBdsi-fkjPbAs6.js → mapSpacerToTreeNode-D5XTLzM7-CZeCl2Hx.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-BYB1q7M0-BG-ucR_V.js → mapTimeframeBalancesToTreeNode-CJMbtmIl-DGh10zzw.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-BU0Ph9My-DP-H6YbL.js → mapTimeframeBalancesToTreeNode-SX6fBp6e-DSWmrMTg.js} +1 -1
  214. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Bkav2l0W-kqY2QYd9.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ts5lOZtX-DZNSlCJx.js} +1 -1
  215. package/dist/assets/{play-icon-BaaR5WkW-bsECe0gv.js → play-icon-oQKnPjZi-D1s2fk0_.js} +3 -3
  216. package/dist/assets/{toCOABalancesWithID-CCW7YVfm-BLH1CPxw.js → toCOABalancesWithID-DwvFse7w-YhdHXdmt.js} +1 -1
  217. package/dist/assets/{toChartData-C3kVg0fD-Dm5_eyYk.js → toChartData-BBvMC_VQ-D9RVT7PQ.js} +1 -1
  218. package/dist/assets/{treasuryColorHelper-Cc1DTnhB-C-kSfp9f.js → treasuryColorHelper-CUDK9KvQ-DUBVC7I-.js} +1 -1
  219. package/dist/assets/{uploadAttachment-C56u0Q20-DnHCC04X.js → uploadAttachment-P4S_2L_v-CgBJ3cvv.js} +13 -13
  220. package/dist/assets/{uploadReceipts-D80JLNY4-dIgIudSI.js → uploadReceipts-DhDnr0ap-Dmr6ZzO6.js} +1 -1
  221. package/dist/index.html +1 -1
  222. package/package.json +4 -4
  223. package/dist/assets/ChargeCardPromoPage-BiyYawq5-C06aowQC.js +0 -219
  224. package/dist/assets/CompleteProfile-CikcmDmg-BRscmvQ1.js +0 -36
  225. package/dist/assets/CustomerOnboardingContainerPage-56mBQg5m-P-4bO2TI.js +0 -1
  226. package/dist/assets/CustomerOnboardingProductSuitePage-Xqdww5iU-DE5MK9MP.js +0 -202
  227. package/dist/assets/EditPeoplePage-CKiV3DO3-CiLuq48J.js +0 -55
  228. package/dist/assets/InvitePeoplePage-BbDUlUjQ-BFnCmfU7.js +0 -12
  229. package/dist/assets/LabeledDocumentField-CO6_e65U-C8oWnxyV.js +0 -41
  230. package/dist/assets/NotificationsListConfig-D2ndsr4D-C04oDiNr.js +0 -1
  231. package/dist/assets/PortfolioDetails-5xc1wonC-DS3ORnSc.js +0 -218
@@ -1,4 +1,4 @@
1
- import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP as _e,ft as Ce,o as a,fC as bl,cf as qe,c6 as ee,c8 as ce,cc as Me,l as Le,cy as xl,cw as wl,ca as Ue,c9 as De,fD as Te,fE as jl,fb as vl,fa as ke,cd as ge,ce as $l,g as Ne,e_ as He,Q as Ge,b4 as Ye,eY as Ze,s as Pe,fs as Qe,p as ye,f as Il,b1 as Sl,m as ae,dg as Ol,fF as Ll,e as Dl,fG as Fl,b2 as be,v as _l,cq as Cl,b0 as Nl,a$ as Pl}from"./index-BEYLWYh7.js";import{b as M,n as t}from"./vendor-CnQcJ2Lu.js";import{W as Fe}from"./LabeledAddressValueField-D5zB7wnP-C-ACJntJ.js";import{D as El}from"./LabeledCreatableSingleSelectField-DOv10RFp-Do8dWxGN.js";import{Y as Ie}from"./LabeledDocumentField-CO6_e65U-C8oWnxyV.js";import{P as Xe}from"./DocumentSecurityBanner-C7TAyvIZ-DjIw6AYV.js";const Je=({text:e})=>l.jsx(Tl,{children:l.jsx(Vl,{children:e})}),Vl=t(Fl)`
1
+ import{X as ze,u as Be,cj as yl,M as ue,C as P,a1 as gl,j as l,bw as Re,e$ as We,bS as Fe,fv as Pe,o as a,fE as bl,ci as qe,c9 as ee,cb as ce,cf as Me,l as Le,cB as xl,cz as wl,cd as Ue,cc as _e,fF as Te,fG as jl,fd as vl,fc as ke,cg as ge,ch as $l,g as Ce,f0 as He,Q as Ge,b4 as Qe,e_ as Xe,s as Ne,fu as Ye,q as ye,m as Il,b1 as Sl,p as ae,dj as Ol,fH as Ll,f as _l,fI as Dl,b2 as be,v as Fl,ct as Pl,b0 as Cl,a$ as Nl}from"./index-C2JVdK9x.js";import{b as M,n as t}from"./vendor-CnQcJ2Lu.js";import{W as De}from"./LabeledAddressValueField-DkhJs5ky-DLdSr7t1.js";import{D as El}from"./LabeledCreatableSingleSelectField-CPwrvNjy-C-LowpML.js";import{Y as Ie}from"./LabeledDocumentField-DLd6UnEn-DtqGgdoi.js";import{P as Ke}from"./DocumentSecurityBanner-6cQ2cW7e-Bf5Osic5.js";const Je=({text:e})=>l.jsx(Tl,{children:l.jsx(Vl,{children:e})}),Vl=t(Dl)`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  color: ${e=>e.theme.colors.hero};
@@ -8,35 +8,35 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
8
8
  align-items: flex-end;
9
9
  margin-left: ${a.sp2};
10
10
  margin-top: ${a.sp1};
11
- `,le={labelWidth:new C(115,145,155),mediumLabelWidth:new C(140,160,170),largeLabelWidth:new C(150,210,244),largeLabelDocumentWidth:new C(150,210,252),paddingBottom:new C(ae[3],ae[2]),containerRowGap:new C(12,ae[3])},kl={title:new Ge("standardMedium","largeMedium")},Al=ue.getLocalizedStrings(),{dateFormat:{visual:zl},commonSetUp:Rl,companyPassport:Bl,common:{documents:Se,optional:Wl}}=Al,o=Rl.businessVerification,ql=o.sourceOfFundOptions,Ml=M.forwardRef(({fileProps:e,productType:p,allIndustries:u,companyDetails:m,connectedAccountProvider:N,businessVerificationProps:g,isDisabled:n,style:U,sectionId:h,showInfoTooltip:oe=!0,isCompleted:te=!1,showCompletedIcon:ie=!1,showTreasuryFields:H=!1,sectionHeader:G,optionalFields:s=[],onCompanyAddressClick:Y,onRegisteredAddressClick:V},re)=>{const f=ze(),D=le.labelWidth.value(f),F=le.mediumLabelWidth.value(f),b=le.largeLabelWidth.value(f),z=le.largeLabelDocumentWidth.value(f),y=o.productType[p],Z=m?.companyFiles.find(d=>d.documentType==="certificate_of_incorporation"),Q=m?.companyFiles.find(d=>d.documentType==="tax_ein"),c=m?.companyFiles.find(d=>d.documentType==="company_formation_document"),j=m?.companyDescription,R=m?.companyLegalName,se=m?.website,W=m?.typeOfIncorporation,X=m?.incDate,L=m?.companyIndustry,me=m?.phone,J=m?.taxIdOrEIN,K=m?.primaryContactLocalData,B=m?.deleteFileStatusById??{},ne=m?.updateFileStatusById??{},xe=m?.addressStatus?.addressToCreate,q=m?.registeredAddressStatus?.addressToCreate,[P,x]=M.useState(!1),[S,T]=M.useState(!1),_=d=>u.find(je=>je.code===d)?.name??d,we=d=>ql[d]??d;return l.jsxs(Ul,{style:U,ref:re,windowSize:f,children:[l.jsx(Hl,{children:l.jsxs(ea,{children:[l.jsxs(Yl,{children:[ie===!0?l.jsx(Zl,{children:te?l.jsx(Ql,{}):l.jsx(Xl,{})}):null,l.jsx(Gl,{windowSize:f,children:G??o.confirmCompanyDetails})]}),oe?l.jsx(Jl,{children:l.jsx(Be,{variant:"small-description",display:"flex",maxWidth:"280px",data:o.confirmCompanyDetailsTooltip,placement:f==="small"||p==="onboarding"?"bottom":"right",children:l.jsx(Kl,{})})}):null,p==="onboarding"&&G!=null?l.jsx(Je,{text:Wl}):null,g?.companyVerificationStatus!=null?l.jsx(aa,{tagTitle:g.companyVerificationStatus.name,textColor:We(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(la,{children:[l.jsx(Xe,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyLegalNameLabel,width:b},text:{type:"text",name:v(h,"companyLegalName"),placeholder:o.companyLegalNamePlaceholder,defaultValue:R,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:o.companyLegalNameError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyDescriptionLabel,width:F},text:{type:"text",name:v(h,"companyDescription"),placeholder:o.addProductPlaceholder,defaultValue:j,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:o.companyDescriptionError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(Fe,{isDisabled:n,label:{label:o.companyAddressLabel,width:F},addressValueField:{name:v(h,"companyAddress"),placeholder:o.companyAddressPlaceholder,defaultValue:xe,registerOptions:{validate:d=>s.includes("companyAddress")===!1?!(n==null&&d==null):!0},onClick:()=>{Y?.("company_address")}},additionalInfoLabel:o.companyAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx($,{}),l.jsx(Fe,{isDisabled:n,label:{label:o.registeredAddressLabel,width:F},addressValueField:{name:v(h,"registeredAddress"),placeholder:o.registeredAddressPlaceholder,defaultValue:q,registerOptions:{validate:d=>s.includes("registeredAddress")===!1?!(n==null&&d==null):!0},onClick:()=>{V?.("company_registered_address")}},additionalInfoLabel:o.registeredAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx($,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyWebsiteLabel,width:D},text:{type:"url",name:v(h,"companyWebsite"),placeholder:o.companyWebsitePlaceholder,defaultValue:se?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:o.companyWebsiteError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(De,{label:{label:o.companyIndustryLabel,width:D},singleSelectField:{singleSelect:{name:v(h,"companyIndustry"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:_,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:L,allOptions:u?.map(d=>d.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:d=>s.includes("companyIndustry")===!1?!(n==null&&!d?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.companyIndustryError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(El,{label:{label:o.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(h,"typeOfIncorporation"),placeholder:o.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:W,allOptions:Bl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&N==="unit",validate:d=>s.includes("typeOfIncorporation")===!1?!(n==null&&!d?.selectedOption):!0}},errorInfoLabel:o.companyTypeOfIncorporationError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(Me,{isDisabled:n,label:{label:o.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(f)},dateField:{name:v(h,"incDate"),placeholder:o.companyIncDatePlaceholder,defaultValue:X,dateFormat:zl.defaultInput,maxDate:Le.dateNow(),minDate:Le.zeniDate("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:o.companyIncDateError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(Ue,{isDisabled:n,label:{label:o.companyPhoneLabel,width:D},text:{name:v(h,"companyPhone"),placeholder:ce(o.companyPhoneLabel),defaultValue:me,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:o.companyPhoneError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(qe,{isDisabled:n,label:{label:o.companyPrimaryContactNameLabel,width:b},nameField:{name:v(h,"primaryContactName"),placeHolder:{firstName:o.firstNamePlaceholder,lastName:o.lastNamePlaceholder,name:o.namePlaceholder},defaultValue:{firstName:K?.firstName??"",lastName:K?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:d=>!!d||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:o.companyPrimaryContactNameError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(h,"primaryContactEmail"),placeholder:o.companyPrimaryContactEmailPlaceholder,defaultValue:K?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:o.companyPrimaryContactEmailError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyTaxIdLabel,width:D},text:{type:"text",name:v(h,"companyTaxId"),placeholder:o.companyTaxIdPlaceholder,defaultValue:J,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:$l},autoComplete:"new-password"},additionalInfoLabel:o.companyTaxIdError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(Ie,{name:v(h,"certificateOfIncorporation"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:B,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.certificateOfIncorporation,width:z},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:Z,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&N==="unit"},additionalInfoLabel:o.certOfIncopDocumentError.replace("_product_type_",y),hasError:P,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>x(d)}),P||!(n!=null||Z!=null)?l.jsx(Oe,{windowSize:f,isError:P,children:Se.formatDocumentText10MB}):null,l.jsx($,{}),l.jsx(Ie,{name:v(h,"ein"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:B,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.einDocument,width:z},filemetadataPayload:{documentType:"tax_ein",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("ein")===!1},additionalInfoLabel:o.einDocumentError.replace("_product_type_",y),hasError:S,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>T(d)}),S||!(n!=null||Q!=null)?l.jsx(Oe,{windowSize:f,isError:S,children:Se.formatDocumentText10MB}):null,l.jsx($,{}),H===!0?l.jsxs(l.Fragment,{children:[l.jsx(De,{label:{label:o.sourceOfFundsLabel,width:D},singleSelectField:{singleSelect:{name:v(h,"sourceOfFunds"),placeholder:o.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:we,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:m?.sourceOfFunds,allOptions:Object.keys(o.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:d=>s.includes("sourceOfFunds")===!1?!(n==null&&!d?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.sourceOfFundsError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(Ie,{name:v(h,"formationDocument"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:B,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.formationDocumentLabel,width:z},filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},file:c,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("formationDocument")===!1},additionalInfoLabel:o.formationDocumentError.replace("_product_type_",y),hasError:S,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>T(d)}),S||!(n!=null||c!=null)?l.jsx(Oe,{windowSize:f,isError:S,children:Se.formatDocumentText10MB}):null]}):null]})]})});Ml.displayName="Company Details Section";const v=(e,p)=>`${e}.${p}`,Ul=t.div`
11
+ `,le={labelWidth:new P(115,145,155),mediumLabelWidth:new P(140,160,170),largeLabelWidth:new P(150,210,244),largeLabelDocumentWidth:new P(150,210,252),paddingBottom:new P(ae[3],ae[2]),containerRowGap:new P(12,ae[3])},kl={title:new Ge("standardMedium","largeMedium")},Al=ue.getLocalizedStrings(),{dateFormat:{visual:zl},commonSetUp:Bl,companyPassport:Rl,common:{documents:Se,optional:Wl}}=Al,o=Bl.businessVerification,ql=o.sourceOfFundOptions,Ml=M.forwardRef(({fileProps:e,productType:p,allIndustries:u,companyDetails:m,connectedAccountProvider:C,businessVerificationProps:g,isDisabled:n,style:U,sectionId:h,showInfoTooltip:oe=!0,isCompleted:te=!1,showCompletedIcon:ie=!1,showTreasuryFields:H=!1,sectionHeader:G,optionalFields:s=[],onCompanyAddressClick:Q,onRegisteredAddressClick:V},re)=>{const f=ze(),_=le.labelWidth.value(f),D=le.mediumLabelWidth.value(f),b=le.largeLabelWidth.value(f),z=le.largeLabelDocumentWidth.value(f),y=o.productType[p],X=m?.companyFiles.find(d=>d.documentType==="certificate_of_incorporation"),Y=m?.companyFiles.find(d=>d.documentType==="tax_ein"),c=m?.companyFiles.find(d=>d.documentType==="company_formation_document"),j=m?.companyDescription,B=m?.companyLegalName,se=m?.website,W=m?.typeOfIncorporation,K=m?.incDate,L=m?.companyIndustry,me=m?.phone,J=m?.taxIdOrEIN,Z=m?.primaryContactLocalData,R=m?.deleteFileStatusById??{},ne=m?.updateFileStatusById??{},xe=m?.addressStatus?.addressToCreate,q=m?.registeredAddressStatus?.addressToCreate,[N,x]=M.useState(!1),[S,T]=M.useState(!1),F=d=>u.find(je=>je.code===d)?.name??d,we=d=>ql[d]??d;return l.jsxs(Ul,{style:U,ref:re,windowSize:f,children:[l.jsx(Hl,{children:l.jsxs(ea,{children:[l.jsxs(Ql,{children:[ie===!0?l.jsx(Xl,{children:te?l.jsx(Yl,{}):l.jsx(Kl,{})}):null,l.jsx(Gl,{windowSize:f,children:G??o.confirmCompanyDetails})]}),oe?l.jsx(Jl,{children:l.jsx(Re,{variant:"small-description",display:"flex",maxWidth:"280px",data:o.confirmCompanyDetailsTooltip,placement:f==="small"||p==="onboarding"?"bottom":"right",children:l.jsx(Zl,{})})}):null,p==="onboarding"&&G!=null?l.jsx(Je,{text:Wl}):null,g?.companyVerificationStatus!=null?l.jsx(aa,{tagTitle:g.companyVerificationStatus.name,textColor:We(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(la,{children:[l.jsx(Ke,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyLegalNameLabel,width:b},text:{type:"text",name:v(h,"companyLegalName"),placeholder:o.companyLegalNamePlaceholder,defaultValue:B,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:o.companyLegalNameError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyDescriptionLabel,width:D},text:{type:"text",name:v(h,"companyDescription"),placeholder:o.addProductPlaceholder,defaultValue:j,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:o.companyDescriptionError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(De,{isDisabled:n,label:{label:o.companyAddressLabel,width:D},addressValueField:{name:v(h,"companyAddress"),placeholder:o.companyAddressPlaceholder,defaultValue:xe,registerOptions:{validate:d=>s.includes("companyAddress")===!1?!(n==null&&d==null):!0},onClick:()=>{Q?.("company_address")}},additionalInfoLabel:o.companyAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx($,{}),l.jsx(De,{isDisabled:n,label:{label:o.registeredAddressLabel,width:D},addressValueField:{name:v(h,"registeredAddress"),placeholder:o.registeredAddressPlaceholder,defaultValue:q,registerOptions:{validate:d=>s.includes("registeredAddress")===!1?!(n==null&&d==null):!0},onClick:()=>{V?.("company_registered_address")}},additionalInfoLabel:o.registeredAddressError.replace("_product_type_",y),showAdditionalInfoLabel:!1}),l.jsx($,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyWebsiteLabel,width:_},text:{type:"url",name:v(h,"companyWebsite"),placeholder:o.companyWebsitePlaceholder,defaultValue:se?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:o.companyWebsiteError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(_e,{label:{label:o.companyIndustryLabel,width:_},singleSelectField:{singleSelect:{name:v(h,"companyIndustry"),placeholder:o.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:F,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:L,allOptions:u?.map(d=>d.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:d=>s.includes("companyIndustry")===!1?!(n==null&&!d?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.companyIndustryError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(El,{label:{label:o.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(h,"typeOfIncorporation"),placeholder:o.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:W,allOptions:Rl.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&C==="unit",validate:d=>s.includes("typeOfIncorporation")===!1?!(n==null&&!d?.selectedOption):!0}},errorInfoLabel:o.companyTypeOfIncorporationError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(Me,{isDisabled:n,label:{label:o.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(f)},dateField:{name:v(h,"incDate"),placeholder:o.companyIncDatePlaceholder,defaultValue:K,dateFormat:zl.defaultInput,maxDate:Le.dateNow(),minDate:Le.zeniDate("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:o.companyIncDateError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(Ue,{isDisabled:n,label:{label:o.companyPhoneLabel,width:_},text:{name:v(h,"companyPhone"),placeholder:ce(o.companyPhoneLabel),defaultValue:me,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:o.companyPhoneError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(qe,{isDisabled:n,label:{label:o.companyPrimaryContactNameLabel,width:b},nameField:{name:v(h,"primaryContactName"),placeHolder:{firstName:o.firstNamePlaceholder,lastName:o.lastNamePlaceholder,name:o.namePlaceholder},defaultValue:{firstName:Z?.firstName??"",lastName:Z?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:d=>!!d||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:o.companyPrimaryContactNameError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(h,"primaryContactEmail"),placeholder:o.companyPrimaryContactEmailPlaceholder,defaultValue:Z?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:o.companyPrimaryContactEmailError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:o.companyTaxIdLabel,width:_},text:{type:"text",name:v(h,"companyTaxId"),placeholder:o.companyTaxIdPlaceholder,defaultValue:J,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:$l},autoComplete:"new-password"},additionalInfoLabel:o.companyTaxIdError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(Ie,{name:v(h,"certificateOfIncorporation"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:R,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.certificateOfIncorporation,width:z},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:X,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&C==="unit"},additionalInfoLabel:o.certOfIncopDocumentError.replace("_product_type_",y),hasError:N,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>x(d)}),N||!(n!=null||X!=null)?l.jsx(Oe,{windowSize:f,isError:N,children:Se.formatDocumentText10MB}):null,l.jsx($,{}),l.jsx(Ie,{name:v(h,"ein"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:R,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.einDocument,width:z},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:Y,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("ein")===!1},additionalInfoLabel:o.einDocumentError.replace("_product_type_",y),hasError:S,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>T(d)}),S||!(n!=null||Y!=null)?l.jsx(Oe,{windowSize:f,isError:S,children:Se.formatDocumentText10MB}):null,l.jsx($,{}),H===!0?l.jsxs(l.Fragment,{children:[l.jsx(_e,{label:{label:o.sourceOfFundsLabel,width:_},singleSelectField:{singleSelect:{name:v(h,"sourceOfFunds"),placeholder:o.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:we,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:m?.sourceOfFunds,allOptions:Object.keys(o.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:d=>s.includes("sourceOfFunds")===!1?!(n==null&&!d?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:o.sourceOfFundsError.replace("_product_type_",y)}),l.jsx($,{}),l.jsx(Ie,{name:v(h,"formationDocument"),isDisabled:n,sizeLimit:ge,deleteFileStatusById:R,updateFileStatusById:ne,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:o.formationDocumentLabel,width:z},filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},file:c,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("formationDocument")===!1},additionalInfoLabel:o.formationDocumentError.replace("_product_type_",y),hasError:S,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:d=>T(d)}),S||!(n!=null||c!=null)?l.jsx(Oe,{windowSize:f,isError:S,children:Se.formatDocumentText10MB}):null]}):null]})]})});Ml.displayName="Company Details Section";const v=(e,p)=>`${e}.${p}`,Ul=t.div`
12
12
  display: flex;
13
13
  flex-direction: column;
14
14
  row-gap: ${e=>le.containerRowGap.valuePx(e.windowSize)};
15
15
  `,Hl=t.div`
16
16
  display: flex;
17
17
  justify-content: space-between;
18
- `,Oe=t(Dl)`
18
+ `,Oe=t(_l)`
19
19
  padding: ${a.sp1} ${a.sp4};
20
20
  background: ${e=>e.theme.colors.grey4};
21
21
  border-radius: ${a.sp0} ${a.sp0} ${a.sp2} ${a.sp2};
22
22
  text-align: ${e=>e.windowSize==="small"?"initial":"right"};
23
- color: ${e=>e.isError?Ne.important:e.theme.colors.grey1};
23
+ color: ${e=>e.isError?Ce.important:e.theme.colors.grey1};
24
24
  `,Gl=t.div`
25
25
  ${e=>`${kl.title.style(e.windowSize)}`};
26
26
  display: flex;
27
27
  align-items: center;
28
28
  color: ${e=>e.theme.colors.primary};
29
29
  padding-right: ${a.sp2};
30
- `,Yl=t.div`
30
+ `,Ql=t.div`
31
31
  display: flex;
32
32
  align-items: center;
33
- `,Zl=t.div`
33
+ `,Xl=t.div`
34
34
  margin-right: ${a.sp2};
35
- `,Ql=t(He)`
35
+ `,Yl=t(He)`
36
36
  width: ${a.sp3};
37
37
  height: ${a.sp3};
38
- color: ${Ne.success};
39
- `,Xl=t.div`
38
+ color: ${Ce.success};
39
+ `,Kl=t.div`
40
40
  height: 14px;
41
41
  width: 14px;
42
42
  border: 1px solid ${e=>e.theme.colors.primary};
@@ -47,7 +47,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
47
47
  &:hover {
48
48
  color: ${e=>e.theme.colors.primary};
49
49
  }
50
- `,Kl=t(Ye)`
50
+ `,Zl=t(Qe)`
51
51
  width: ${a.sp3};
52
52
  height: ${a.sp3};
53
53
  `,ea=t.div`
@@ -66,7 +66,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
66
66
  background-color: ${e=>e.theme.colors.grey3};
67
67
  min-height: 1px;
68
68
  max-height: 1px;
69
- `,aa=t(Ze)`
69
+ `,aa=t(Xe)`
70
70
  width: max-content;
71
71
  margin-left: ${a.sp3};
72
72
  `,oa=t.div`
@@ -74,7 +74,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
74
74
  display: flex;
75
75
  align-items: center;
76
76
  justify-content: flex-end;
77
- `,ta=(e,p)=>e.map(u=>({...u,value:u.userId,label:u.firstName!=""||u.lastName!=""?`${u.firstName} ${u.lastName}`:u.email})),ia=(e,p)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function ra({allUsers:e,onSelectedUserChanged:p,selectedUser:u,disable:m=!1,pickerStyles:{optionBackgroundColor:N,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:U,backgroundColor:h,titleTextAlignment:oe,selectedOptionColor:te,customStyleConfig:ie}={},customization:{placeholderLabel:H}={},showAddUser:G=!0}){const s=Re(),[Y,V]=M.useState(!1),re=ta(e).sort((c,j)=>c.label.localeCompare(j.label)),f=u!=null?ia(u):void 0,D=N??s.colors.grey5,F=h??s.colors.grey5,b=g??s.colors.grey3,z=n??ye.smallRegular.cssObject,y=U??z,Z={control:(c,j)=>({...c,border:0,height:"100%",backgroundColor:F,fill:j.selectProps.menuIsOpen===!0?s.colors.primary:s.colors.grey1,boxShadow:F,">div:last-child":{color:Y?s.colors.primary:s.colors.grey1},":active":{backgroundColor:F},":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:c=>({...c,backgroundColor:F,height:"100%"}),singleValue:c=>({...c,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:c=>({...c,maxWidth:"100%",cursor:"pointer",height:"100%",...y,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:oe??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(c,j)=>({...c,backgroundColor:D,borderRadius:ae[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"}},...ie?.menu?.(c,j)}),menuList:c=>({...c,borderRadius:ae[1]}),placeholder:(c,j)=>({...c,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:c=>({...c,...ye.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:s.colors.hero}),option:(c,{isDisabled:j,isSelected:R,isFocused:se})=>({...c,...z,color:R?te??s.colors.champion:s.colors.hero,backgroundColor:R?b:se?s.colors.background:D,cursor:j?"not-allowed":R?"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":R?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},Q=({children:c,...j})=>l.jsxs(be.ValueContainer,{...j,children:[c,G===!0?l.jsxs(va,{hasSelectedUser:!!u,onClick:()=>{p(void 0),V(!1)},children:[l.jsx(ua,{}),l.jsx("div",{children:H??"Add User"})]}):null]});return l.jsx(Il,{onClickAway:()=>{V(!1)},children:l.jsx(oa,{children:l.jsx(Sl,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:Y,menuShouldScrollIntoView:!1,defaultValue:f,value:f,noOptionsMessage:()=>ue.getLocalizedStrings().cockpit.management.noPerson,onInputChange:c=>{c!==""&&V(!0)},onMenuOpen:()=>{V(!0)},placeholder:l.jsx(na,{children:l.jsx("div",{children:H??"Select..."})}),components:{Option:ya,DropdownIndicator:$a,IndicatorSeparator:Ia,SingleValue:wa,ValueContainer:ja,MenuList:Q},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:Z,options:re,isDisabled:m,onChange:c=>{p(c),V(!1)},isClearable:!1,isSearchable:!1},Ol())})})}const sa=t.div``,na=t.div`
77
+ `,ta=(e,p)=>e.map(u=>({...u,value:u.userId,label:u.firstName!=""||u.lastName!=""?`${u.firstName} ${u.lastName}`:u.email})),ia=(e,p)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function ra({allUsers:e,onSelectedUserChanged:p,selectedUser:u,disable:m=!1,pickerStyles:{optionBackgroundColor:C,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:U,backgroundColor:h,titleTextAlignment:oe,selectedOptionColor:te,customStyleConfig:ie}={},customization:{placeholderLabel:H}={},showAddUser:G=!0}){const s=Be(),[Q,V]=M.useState(!1),re=ta(e).sort((c,j)=>c.label.localeCompare(j.label)),f=u!=null?ia(u):void 0,_=C??s.colors.grey5,D=h??s.colors.grey5,b=g??s.colors.grey3,z=n??ye.smallRegular.cssObject,y=U??z,X={control:(c,j)=>({...c,border:0,height:"100%",backgroundColor:D,fill:j.selectProps.menuIsOpen===!0?s.colors.primary:s.colors.grey1,boxShadow:D,">div:last-child":{color:Q?s.colors.primary:s.colors.grey1},":active":{backgroundColor:D},":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:c=>({...c,backgroundColor:D,height:"100%"}),singleValue:c=>({...c,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:c=>({...c,maxWidth:"100%",cursor:"pointer",height:"100%",...y,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:oe??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(c,j)=>({...c,backgroundColor:_,borderRadius:ae[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"}},...ie?.menu?.(c,j)}),menuList:c=>({...c,borderRadius:ae[1]}),placeholder:(c,j)=>({...c,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:c=>({...c,...ye.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:s.colors.hero}),option:(c,{isDisabled:j,isSelected:B,isFocused:se})=>({...c,...z,color:B?te??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"})},Y=({children:c,...j})=>l.jsxs(be.ValueContainer,{...j,children:[c,G===!0?l.jsxs(va,{hasSelectedUser:!!u,onClick:()=>{p(void 0),V(!1)},children:[l.jsx(ua,{}),l.jsx("div",{children:H??"Add User"})]}):null]});return l.jsx(Il,{onClickAway:()=>{V(!1)},children:l.jsx(oa,{children:l.jsx(Sl,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:Q,menuShouldScrollIntoView:!1,defaultValue:f,value:f,noOptionsMessage:()=>ue.getLocalizedStrings().cockpit.management.noPerson,onInputChange:c=>{c!==""&&V(!0)},onMenuOpen:()=>{V(!0)},placeholder:l.jsx(na,{children:l.jsx("div",{children:H??"Select..."})}),components:{Option:ya,DropdownIndicator:$a,IndicatorSeparator:Ia,SingleValue:wa,ValueContainer:ja,MenuList:Y},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:X,options:re,isDisabled:m,onChange:c=>{p(c),V(!1)},isClearable:!1,isSearchable:!1},Ol())})})}const sa=t.div``,na=t.div`
78
78
  display: flex;
79
79
  align-items: center;
80
80
  color: ${e=>e.theme.colors.grey1};
@@ -83,7 +83,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
83
83
  display: flex;
84
84
  align-items: center;
85
85
  margin-right: ${a.sp2};
86
- `,ca=t(Qe)`
86
+ `,ca=t(Ye)`
87
87
  width: ${a.sp4};
88
88
  height: ${a.sp4};
89
89
  color: ${e=>e.theme.colors.hero};
@@ -92,25 +92,25 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
92
92
  flex-direction: row;
93
93
  align-items: center;
94
94
  justify-content: space-between;
95
- `,ua=t(Cl)`
95
+ `,ua=t(Pl)`
96
96
  height: ${a.sp4};
97
97
  width: ${a.sp4};
98
98
  margin-right: ${a.sp2};
99
99
  color: inherit;
100
- `,ma=t(Nl)`
100
+ `,ma=t(Cl)`
101
101
  height: 12px;
102
102
  width: 12px;
103
103
  color: ${e=>e.theme.colors.hero};
104
- `,fa=t.div``,ha=t(Pl)`
104
+ `,fa=t.div``,ha=t(Nl)`
105
105
  width: 12px;
106
106
  height: 12px;
107
107
  color: ${e=>e.theme.colors.primary};
108
- `,Ke=t.img`
108
+ `,Ze=t.img`
109
109
  height: ${a.sp4};
110
110
  width: ${a.sp4};
111
111
  border-radius: 50%;
112
112
  justify-content: center;
113
- `,ya=e=>{const{data:p,options:u,isSelected:m}=e,N=u.findIndex(g=>g.value===p.value);return l.jsx(sa,{children:l.jsx(be.Option,{...e,children:l.jsxs(pa,{children:[l.jsxs(ga,{children:[l.jsx(ba,{children:p?.photo!==void 0?l.jsx(Ke,{src:p?.photo.href,alt:ue.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=_e},loading:"lazy"}):l.jsx(Ce,{firstName:p?.firstName??"",lastName:p?.lastName??"",size:`${a.sp4}`,index:N})}),l.jsx("label",{children:e.label})]}),!!m&&l.jsx(fa,{children:l.jsx(ha,{})})]})})})},ga=t.div`
113
+ `,ya=e=>{const{data:p,options:u,isSelected:m}=e,C=u.findIndex(g=>g.value===p.value);return l.jsx(sa,{children:l.jsx(be.Option,{...e,children:l.jsxs(pa,{children:[l.jsxs(ga,{children:[l.jsx(ba,{children:p?.photo!==void 0?l.jsx(Ze,{src:p?.photo.href,alt:ue.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=Fe},loading:"lazy"}):l.jsx(Pe,{firstName:p?.firstName??"",lastName:p?.lastName??"",size:`${a.sp4}`,index:C})}),l.jsx("label",{children:e.label})]}),!!m&&l.jsx(fa,{children:l.jsx(ha,{})})]})})})},ga=t.div`
114
114
  width: 100%;
115
115
  display: flex;
116
116
  align-items: center;
@@ -118,12 +118,12 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
118
118
  display: flex;
119
119
  align-items: center;
120
120
  margin-right: ${a.sp2};
121
- `,xa=t(Pe)`
121
+ `,xa=t(Ne)`
122
122
  padding: ${a.sp0} ${a.sp2};
123
123
  white-space: nowrap;
124
124
  overflow: hidden;
125
125
  text-overflow: ellipsis;
126
- `,wa=({children:e,data:p,...u})=>{const{options:m}=u.selectProps,N=m.findIndex(g=>g.value===p.value);return l.jsx(be.MultiValueLabel,{...u,children:l.jsxs(Sa,{children:[p?.photo!==void 0?l.jsx(Ke,{src:p?.photo.href,alt:ue.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=_e},loading:"lazy"}):l.jsx(Ce,{firstName:p?.firstName??"",lastName:p?.lastName??"",size:`${a.sp4}`,index:N}),l.jsx(xa,{children:e})]})})},ja=({children:e,...p})=>l.jsxs(be.ValueContainer,{...p,children:[p.selectProps.value==null?l.jsx(da,{children:l.jsx(ca,{})}):null,e]}),va=t(_l)`
126
+ `,wa=({children:e,data:p,...u})=>{const{options:m}=u.selectProps,C=m.findIndex(g=>g.value===p.value);return l.jsx(be.MultiValueLabel,{...u,children:l.jsxs(Sa,{children:[p?.photo!==void 0?l.jsx(Ze,{src:p?.photo.href,alt:ue.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=Fe},loading:"lazy"}):l.jsx(Pe,{firstName:p?.firstName??"",lastName:p?.lastName??"",size:`${a.sp4}`,index:C}),l.jsx(xa,{children:e})]})})},ja=({children:e,...p})=>l.jsxs(be.ValueContainer,{...p,children:[p.selectProps.value==null?l.jsx(da,{children:l.jsx(ca,{})}):null,e]}),va=t(Fl)`
127
127
  color: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
128
128
  display: flex;
129
129
  padding: ${a.sp2} 12px;
@@ -138,33 +138,33 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
138
138
  display: flex;
139
139
  flex-direction: row;
140
140
  cursor: pointer;
141
- `,pe={width:new C(343,580,726),labelWidth:new C(115,145,155),largeLabelWidth:new C(160,240,240),veryLargeLabelWidth:new C(150,240,245),containerRowGap:new C(12,ae[3])},Oa={title:new Ge("standardMedium","largeMedium")};function Xa({companyOfficerData:e,isDisabled:p,allOfficers:u,allNationalityCountries:m,isRefreshingViewInBackground:N,connectedAccountProvider:g,style:n,isPopupOpen:U,sectionId:h,filesEndPoint:oe,authParams:te,showInfoTooltip:ie=!0,isCompleted:H=!1,showCompletedIcon:G=!1,showOfficerSelect:s=!0,showVerificationTag:Y=!0,isForTreasury:V=!1,isOverlay:re=!1,productType:f,companyTitles:D,sectionHeader:F,optionalFields:b=[],onOfficerAddressClick:z,onDeleteFile:y,onEditFileName:Z,updateFilesEntity:Q,openPopup:c,onGetOtp:j,onVerifyOtp:R,onResendOtp:se,verifiedPhoneNumber:W,onPhoneVerified:X}){const L=ze(),me=Re(),{getValues:J,setValue:K}=yl(),B=u.length>0,[ne,xe]=M.useState(!1),q=B?Object.values(e).findIndex(i=>i?.isSelectedForVerification===!0):0,P=`Officer_${q<0?1:q+1}`;M.useEffect(()=>{X!=null&&e[P]?.phone!=null&&e[P].isPhoneVerified===!0&&X(e[P]?.phone??"")},[]);const x=`${h}.${q}`,S=e[P],T=V?S?.treasuryUserVerificationStatus:S?.userVerificationStatus,_=u.find(i=>i.userId===S?.userId),we=u.sort((i,O)=>(i.firstName||i.lastName?`${i.firstName} ${i.lastName}`:i.email).localeCompare(O.firstName||O.lastName?`${O.firstName} ${O.lastName}`:O.email)),d=B?we.findIndex(i=>i.userId===S?.userId):0,je=e[P]?.deleteFileStatusById??{},el=e[P]?.updateFileStatusById??{},Ee=J(`${x}.selectDocument.selectDocumentType`),{common:{optional:ll},commonSetUp:{businessVerification:r},dateFormat:{visual:al},cockpit:ol}=ue.getLocalizedStrings(),k=f==="onboarding"?r.productType.business_verification:r.productType[f],de=pe.labelWidth.value(L),tl=pe.veryLargeLabelWidth.value(L),fe=pe.largeLabelWidth.value(L),il=L==="small"?r.companyRolePlaceholderSmall:r.companyRolePlaceholder,rl=L==="small"?r.protectedSsnTextSmall:r.protectedSsnText,I=T?.code==="pending_review"||T?.code==="verified"?"readonly":p,sl=I!=null||!B||T?.code==="require_info",nl=_?.firstName||_?.lastName?`${_?.firstName} ${_?.lastName}`:r.addOfficer,dl=S?.userId!=null?r.confirmIdentityDetails:r.confirmIdentityDetailsNewOfficer,cl={menu:()=>({right:"initial",left:0})},pl=i=>D.find(O=>O.code===i)?.name??i,ve=S?.otpverificationStatus?.fetchState,Ve=gl(ve);M.useEffect(()=>{X!=null&&Ve==="In-Progress"&&ve==="Completed"&&X(J(`${x}.phone`))},[Ve,ve]);const ul=(i,O)=>{R(i,O)},ml=()=>W==null||W===""?!1:J(`${x}.phone`)===W,fl=()=>{const i=J(`${x}.phone`);return i!=null&&!Ll(i)?r.phoneErrorForOnboarding:r.phoneError.replace("_product_type_",k)};return l.jsxs(La,{style:n,windowSize:L,children:[l.jsxs(Da,{windowSize:L,isOverlay:re,children:[l.jsxs(Aa,{children:[l.jsxs(_a,{children:[G===!0?l.jsx(Ca,{children:H?l.jsx(Na,{}):l.jsx(Pa,{})}):null,l.jsx(Fa,{windowSize:L,children:F??dl})]}),ie?l.jsx(Ea,{children:l.jsx(Be,{variant:"small-description",maxWidth:"275px",data:r.confirmIdentityDetailsTooltip,display:"flex",placement:L==="small"||f==="onboarding"?"bottom":"right",children:l.jsx(Va,{})})}):null,f==="onboarding"&&F!=null?l.jsx(Je,{text:ll}):null,T!=null&&Y?l.jsx(Ba,{tagTitle:T?.name,textColor:We(T.code),showLoader:N}):null]}),s?sl?B?l.jsxs(Ra,{children:[_?.photo!==void 0?l.jsx(Ta,{src:_?.photo.href,alt:ol.userProfileAltText,onError:({currentTarget:i})=>{i.onerror=null,i.src=_e},loading:"lazy"}):l.jsx(Ce,{firstName:_?.firstName??"",lastName:_?.lastName??"",size:`${a.sp4}`,index:d}),l.jsx(Ae,{children:`${nl}`})]}):l.jsxs(Wa,{children:[l.jsx(qa,{children:l.jsx(Ma,{})}),l.jsx(Ae,{children:`${r.addOfficer}`})]}):l.jsx(ka,{children:l.jsx(ra,{selectedUser:_,allUsers:u,onSelectedUserChanged:i=>{const O=Object.values(e).findIndex(he=>he?.userId===i?.userId);K(`${x}.isSelectedForVerification`,!1),K(`${h}.${O}.isSelectedForVerification`,!0)},customization:{placeholderLabel:r.addOfficer},showAddUser:u.length<=9,pickerStyles:{backgroundColor:me.colors.grey5,selectedOptionBackgroundColor:me.colors.background,customStyleConfig:L==="small"?cl:void 0}})}):null]}),Object.values(e).map((i,O)=>{if(q!==O)return null;const he=bl(i?.documentTypeSelectedForVerification),$e=i?.userFiles??[],hl=()=>W!=""&&f==="onboarding"?ml():i?.isPhoneVerified??!1;return l.jsxs(za,{children:[l.jsx(Xe,{}),l.jsx(qe,{isDisabled:I,label:{label:r.name,width:de},nameField:{name:E(x,"name"),placeHolder:{firstName:r.firstNamePlaceholder,lastName:r.lastNamePlaceholder,name:r.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},registerOptions:{required:b.includes("name")===!1,validate:w=>b.includes("name")===!1?!!w:!0},showFullNameError:!0},errorInfoLabel:r.nameError.replace("_product_type_",k)}),l.jsx(A,{}),i?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(ee,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.email,width:de},text:{type:"email",name:E(x,"email"),placeholder:ce(r.email),defaultValue:i?.email,options:{required:b.includes("email")===!1}},additionalInfoLabel:r.emailDescription.replace("_product_type_",k)}),l.jsx(A,{})]}):null,l.jsx(Me,{isDisabled:I,label:{label:r.dobLabel,width:fe},dateField:{name:E(x,"dob"),type:"text",defaultValue:i?.birthday,placeholder:ce(r.dobLabel),dateFormat:al.defaultInput,maxDate:Le.dateNow().subtract(g==="unit"?18:13,"years"),registerOptions:{required:b.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:r.dobDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(A,{}),l.jsx(xl,{isDisabled:I,label:{label:r.nationalityLabel,width:de},showAdditionalInfoLabel:f!=="onboarding",additionalInfoLabel:r.nationalityDescription.replace("_product_type_",k),countrySelectField:{name:E(x,"nationalityCountryCode"),placeholder:r.nationalityPlaceholder,defaultValue:wl(i?.nationalityCountryCode,m.map(w=>w.countryCode)),registerOptions:{validate:w=>!!(w!=null&&w.selectedOption)}}}),l.jsx(A,{}),l.jsx(Fe,{isDisabled:I,label:{label:r.address,width:de},addressValueField:{name:E(x,"officerAddress"),placeholder:ce(r.address),defaultValue:i?.addressStatus?.addressToCreate,registerOptions:{validate:w=>b.includes("officerAddress")===!1?!(I==null&&w==null):!0},onClick:()=>{z(i?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:f==="onboarding"?r.addressAdditionInfo:r.addressError.replace("_product_type_",k),showAdditionalInfoLabel:!0}),l.jsx(A,{}),l.jsx(Ue,{isDisabled:I,label:{label:r.phone,width:de},text:{name:E(x,"phone"),placeholder:ce(r.phone),defaultValue:i?.phone,autoComplete:"new-password",options:{required:b.includes("phone")===!1}},errorInfoLabel:fl(),verificationErrorInfoLabel:r.phoneValidationError,isPopupOpen:U,phoneVerifyButtonProps:{otpChallenge:i?.otpChallenge,showOtpButton:g==="unit",onGetOtp:j,onVerifyOtp:ul,onResendOtp:se,isPhoneVerified:hl(),phoneVerificationStatus:i?.otpverificationStatus,getOtpStatus:i?.sendOtpStatus,openPopup:c,verifiedPhoneNumber:W,focusNotRequired:!0}}),l.jsx(A,{}),l.jsx(De,{label:{label:r.companyRoleLabel,width:fe},singleSelectField:{singleSelect:{name:E(x,"role"),placeholder:il,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pl,isDisabled:I,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:i?.titleAtCompany,allOptions:D?.map(w=>w.code)??[]},registerOptions:{required:b.includes("role")===!1,validate:w=>b.includes("role")===!1?!(I==null&&!w?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:r.companyRoleDescription.replace("_product_type_",k)}),l.jsx(A,{}),l.jsx(Te,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.companyOwnershipLabel,width:fe},formattedTextField:{type:"number",name:E(x,"ownership"),defaultValue:i?.ownershipInCompany,placeholder:r.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:b.includes("ownership")===!1,validate:w=>w!=null?w>0&&w<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:f==="onboarding"?r.companyOwnershipDescriptionForOnboarding:r.companyOwnershipDescription}),l.jsx(A,{}),l.jsx(Te,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.ssnLabel,width:fe},formattedTextField:{type:"text",name:E(x,"ssn"),placeholder:r.addSSNPlaceholder,defaultValue:i?.ssn,format:"###-##-####",registerOptions:{required:b.includes("ssn")===!1,pattern:jl},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:I!=null&&i?.ssn?rl:void 0,additionalInfoLabel:r.ssnDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(A,{}),l.jsx(vl,{name:E(x,"selectDocument"),officerIndex:q,sizeLimit:ge,filesEndPoint:oe,authParams:te,onEditFileName:Z,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:tl},allFiles:$e,updateFilesEntity:Q,deleteFileStatusById:je,updateFileStatusById:el,onDeleteFile:y,isDisabled:I,menuPlacement:f==="onboarding"&&he==null?"top":"auto",defaultValue:{defaultSelectDocumentType:he,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ke(!0,$e,Ee),back:ke(!1,$e,Ee)}},registerOptions:{required:b.includes("selectDocument")===!1},hasError:ne,additionalInfoLabel:r.companyIdDescription.replace("_product_type_",k),onFileSizeError:w=>xe(w),isPopupOpen:U,openPopup:c,companyOfficerName:{firstName:i?.firstName??"",lastName:i?.lastName??""}})]},x)})]})}const E=(e,p)=>`${e}.${p}`,La=t.div`
141
+ `,pe={width:new P(343,580,726),labelWidth:new P(115,145,155),largeLabelWidth:new P(160,240,240),veryLargeLabelWidth:new P(150,240,245),containerRowGap:new P(12,ae[3])},Oa={title:new Ge("standardMedium","largeMedium")};function Ka({companyOfficerData:e,isDisabled:p,allOfficers:u,allNationalityCountries:m,isRefreshingViewInBackground:C,connectedAccountProvider:g,style:n,isPopupOpen:U,sectionId:h,filesEndPoint:oe,authParams:te,showInfoTooltip:ie=!0,isCompleted:H=!1,showCompletedIcon:G=!1,showOfficerSelect:s=!0,showVerificationTag:Q=!0,isForTreasury:V=!1,isOverlay:re=!1,productType:f,companyTitles:_,sectionHeader:D,optionalFields:b=[],onOfficerAddressClick:z,onDeleteFile:y,onEditFileName:X,updateFilesEntity:Y,openPopup:c,onGetOtp:j,onVerifyOtp:B,onResendOtp:se,verifiedPhoneNumber:W,onPhoneVerified:K}){const L=ze(),me=Be(),{getValues:J,setValue:Z}=yl(),R=u.length>0,[ne,xe]=M.useState(!1),q=R?Object.values(e).findIndex(i=>i?.isSelectedForVerification===!0):0,N=`Officer_${q<0?1:q+1}`;M.useEffect(()=>{K!=null&&e[N]?.phone!=null&&e[N].isPhoneVerified===!0&&K(e[N]?.phone??"")},[]);const x=`${h}.${q}`,S=e[N],T=V?S?.treasuryUserVerificationStatus:S?.userVerificationStatus,F=u.find(i=>i.userId===S?.userId),we=u.sort((i,O)=>(i.firstName||i.lastName?`${i.firstName} ${i.lastName}`:i.email).localeCompare(O.firstName||O.lastName?`${O.firstName} ${O.lastName}`:O.email)),d=R?we.findIndex(i=>i.userId===S?.userId):0,je=e[N]?.deleteFileStatusById??{},el=e[N]?.updateFileStatusById??{},Ee=J(`${x}.selectDocument.selectDocumentType`),{common:{optional:ll},commonSetUp:{businessVerification:r},dateFormat:{visual:al},cockpit:ol}=ue.getLocalizedStrings(),k=f==="onboarding"?r.productType.business_verification:r.productType[f],de=pe.labelWidth.value(L),tl=pe.veryLargeLabelWidth.value(L),fe=pe.largeLabelWidth.value(L),il=L==="small"?r.companyRolePlaceholderSmall:r.companyRolePlaceholder,rl=L==="small"?r.protectedSsnTextSmall:r.protectedSsnText,I=T?.code==="pending_review"||T?.code==="verified"?"readonly":p,sl=I!=null||!R||T?.code==="require_info",nl=F?.firstName||F?.lastName?`${F?.firstName} ${F?.lastName}`:r.addOfficer,dl=S?.userId!=null?r.confirmIdentityDetails:r.confirmIdentityDetailsNewOfficer,cl={menu:()=>({right:"initial",left:0})},pl=i=>_.find(O=>O.code===i)?.name??i,ve=S?.otpverificationStatus?.fetchState,Ve=gl(ve);M.useEffect(()=>{K!=null&&Ve==="In-Progress"&&ve==="Completed"&&K(J(`${x}.phone`))},[Ve,ve]);const ul=(i,O)=>{B(i,O)},ml=()=>W==null||W===""?!1:J(`${x}.phone`)===W,fl=()=>{const i=J(`${x}.phone`);return i!=null&&!Ll(i)?r.phoneErrorForOnboarding:r.phoneError.replace("_product_type_",k)};return l.jsxs(La,{style:n,windowSize:L,children:[l.jsxs(_a,{windowSize:L,isOverlay:re,children:[l.jsxs(Aa,{children:[l.jsxs(Fa,{children:[G===!0?l.jsx(Pa,{children:H?l.jsx(Ca,{}):l.jsx(Na,{})}):null,l.jsx(Da,{windowSize:L,children:D??dl})]}),ie?l.jsx(Ea,{children:l.jsx(Re,{variant:"small-description",maxWidth:"275px",data:r.confirmIdentityDetailsTooltip,display:"flex",placement:L==="small"||f==="onboarding"?"bottom":"right",children:l.jsx(Va,{})})}):null,f==="onboarding"&&D!=null?l.jsx(Je,{text:ll}):null,T!=null&&Q?l.jsx(Ra,{tagTitle:T?.name,textColor:We(T.code),showLoader:C}):null]}),s?sl?R?l.jsxs(Ba,{children:[F?.photo!==void 0?l.jsx(Ta,{src:F?.photo.href,alt:ol.userProfileAltText,onError:({currentTarget:i})=>{i.onerror=null,i.src=Fe},loading:"lazy"}):l.jsx(Pe,{firstName:F?.firstName??"",lastName:F?.lastName??"",size:`${a.sp4}`,index:d}),l.jsx(Ae,{children:`${nl}`})]}):l.jsxs(Wa,{children:[l.jsx(qa,{children:l.jsx(Ma,{})}),l.jsx(Ae,{children:`${r.addOfficer}`})]}):l.jsx(ka,{children:l.jsx(ra,{selectedUser:F,allUsers:u,onSelectedUserChanged:i=>{const O=Object.values(e).findIndex(he=>he?.userId===i?.userId);Z(`${x}.isSelectedForVerification`,!1),Z(`${h}.${O}.isSelectedForVerification`,!0)},customization:{placeholderLabel:r.addOfficer},showAddUser:u.length<=9,pickerStyles:{backgroundColor:me.colors.grey5,selectedOptionBackgroundColor:me.colors.background,customStyleConfig:L==="small"?cl:void 0}})}):null]}),Object.values(e).map((i,O)=>{if(q!==O)return null;const he=bl(i?.documentTypeSelectedForVerification),$e=i?.userFiles??[],hl=()=>W!=""&&f==="onboarding"?ml():i?.isPhoneVerified??!1;return l.jsxs(za,{children:[l.jsx(Ke,{}),l.jsx(qe,{isDisabled:I,label:{label:r.name,width:de},nameField:{name:E(x,"name"),placeHolder:{firstName:r.firstNamePlaceholder,lastName:r.lastNamePlaceholder,name:r.namePlaceholder},defaultValue:{firstName:i?.firstName??"",lastName:i?.lastName??""},registerOptions:{required:b.includes("name")===!1,validate:w=>b.includes("name")===!1?!!w:!0},showFullNameError:!0},errorInfoLabel:r.nameError.replace("_product_type_",k)}),l.jsx(A,{}),i?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(ee,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.email,width:de},text:{type:"email",name:E(x,"email"),placeholder:ce(r.email),defaultValue:i?.email,options:{required:b.includes("email")===!1}},additionalInfoLabel:r.emailDescription.replace("_product_type_",k)}),l.jsx(A,{})]}):null,l.jsx(Me,{isDisabled:I,label:{label:r.dobLabel,width:fe},dateField:{name:E(x,"dob"),type:"text",defaultValue:i?.birthday,placeholder:ce(r.dobLabel),dateFormat:al.defaultInput,maxDate:Le.dateNow().subtract(g==="unit"?18:13,"years"),registerOptions:{required:b.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:r.dobDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(A,{}),l.jsx(xl,{isDisabled:I,label:{label:r.nationalityLabel,width:de},showAdditionalInfoLabel:f!=="onboarding",additionalInfoLabel:r.nationalityDescription.replace("_product_type_",k),countrySelectField:{name:E(x,"nationalityCountryCode"),placeholder:r.nationalityPlaceholder,defaultValue:wl(i?.nationalityCountryCode,m.map(w=>w.countryCode)),registerOptions:{validate:w=>!!(w!=null&&w.selectedOption)}}}),l.jsx(A,{}),l.jsx(De,{isDisabled:I,label:{label:r.address,width:de},addressValueField:{name:E(x,"officerAddress"),placeholder:ce(r.address),defaultValue:i?.addressStatus?.addressToCreate,registerOptions:{validate:w=>b.includes("officerAddress")===!1?!(I==null&&w==null):!0},onClick:()=>{z(i?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:f==="onboarding"?r.addressAdditionInfo:r.addressError.replace("_product_type_",k),showAdditionalInfoLabel:!0}),l.jsx(A,{}),l.jsx(Ue,{isDisabled:I,label:{label:r.phone,width:de},text:{name:E(x,"phone"),placeholder:ce(r.phone),defaultValue:i?.phone,autoComplete:"new-password",options:{required:b.includes("phone")===!1}},errorInfoLabel:fl(),verificationErrorInfoLabel:r.phoneValidationError,isPopupOpen:U,phoneVerifyButtonProps:{otpChallenge:i?.otpChallenge,showOtpButton:g==="unit",onGetOtp:j,onVerifyOtp:ul,onResendOtp:se,isPhoneVerified:hl(),phoneVerificationStatus:i?.otpverificationStatus,getOtpStatus:i?.sendOtpStatus,openPopup:c,verifiedPhoneNumber:W,focusNotRequired:!0}}),l.jsx(A,{}),l.jsx(_e,{label:{label:r.companyRoleLabel,width:fe},singleSelectField:{singleSelect:{name:E(x,"role"),placeholder:il,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:pl,isDisabled:I,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:i?.titleAtCompany,allOptions:_?.map(w=>w.code)??[]},registerOptions:{required:b.includes("role")===!1,validate:w=>b.includes("role")===!1?!(I==null&&!w?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:r.companyRoleDescription.replace("_product_type_",k)}),l.jsx(A,{}),l.jsx(Te,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.companyOwnershipLabel,width:fe},formattedTextField:{type:"number",name:E(x,"ownership"),defaultValue:i?.ownershipInCompany,placeholder:r.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:b.includes("ownership")===!1,validate:w=>w!=null?w>0&&w<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:f==="onboarding"?r.companyOwnershipDescriptionForOnboarding:r.companyOwnershipDescription}),l.jsx(A,{}),l.jsx(Te,{isDisabled:I,showAdditionalInfoLabel:!1,label:{label:r.ssnLabel,width:fe},formattedTextField:{type:"text",name:E(x,"ssn"),placeholder:r.addSSNPlaceholder,defaultValue:i?.ssn,format:"###-##-####",registerOptions:{required:b.includes("ssn")===!1,pattern:jl},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:I!=null&&i?.ssn?rl:void 0,additionalInfoLabel:r.ssnDescription.replace("_product_type_",k),isMasked:!0}),l.jsx(A,{}),l.jsx(vl,{name:E(x,"selectDocument"),officerIndex:q,sizeLimit:ge,filesEndPoint:oe,authParams:te,onEditFileName:X,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:tl},allFiles:$e,updateFilesEntity:Y,deleteFileStatusById:je,updateFileStatusById:el,onDeleteFile:y,isDisabled:I,menuPlacement:f==="onboarding"&&he==null?"top":"auto",defaultValue:{defaultSelectDocumentType:he,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:ke(!0,$e,Ee),back:ke(!1,$e,Ee)}},registerOptions:{required:b.includes("selectDocument")===!1},hasError:ne,additionalInfoLabel:r.companyIdDescription.replace("_product_type_",k),onFileSizeError:w=>xe(w),isPopupOpen:U,openPopup:c,companyOfficerName:{firstName:i?.firstName??"",lastName:i?.lastName??""}})]},x)})]})}const E=(e,p)=>`${e}.${p}`,La=t.div`
142
142
  display: flex;
143
143
  flex-direction: column;
144
144
  row-gap: ${e=>pe.containerRowGap.valuePx(e.windowSize)};
145
- `,Da=t.div`
145
+ `,_a=t.div`
146
146
  width: ${e=>pe.width.valuePx(e.windowSize)};
147
147
  display: flex;
148
148
  justify-content: space-between;
149
149
  flex-wrap: wrap;
150
150
  row-gap: ${a.sp2};
151
151
  padding-top: ${e=>e.isOverlay?a.sp3:a.sp0};
152
- `,Fa=t.div`
152
+ `,Da=t.div`
153
153
  display: flex;
154
154
  align-items: center;
155
155
  color: ${e=>e.theme.colors.primary};
156
156
  ${e=>`${Oa.title.style(e.windowSize)}`};
157
157
  padding-right: ${a.sp1};
158
- `,_a=t.div`
158
+ `,Fa=t.div`
159
159
  display: flex;
160
160
  align-items: center;
161
- `,Ca=t.div`
161
+ `,Pa=t.div`
162
162
  margin-right: ${a.sp2};
163
- `,Na=t(He)`
163
+ `,Ca=t(He)`
164
164
  width: ${a.sp3};
165
165
  height: ${a.sp3};
166
- color: ${Ne.success};
167
- `,Pa=t.div`
166
+ color: ${Ce.success};
167
+ `,Na=t.div`
168
168
  height: 14px;
169
169
  width: 14px;
170
170
  border: 1px solid ${e=>e.theme.colors.primary};
@@ -175,7 +175,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
175
175
  &:hover {
176
176
  color: ${e=>e.theme.colors.primary};
177
177
  }
178
- `,Va=t(Ye)`
178
+ `,Va=t(Qe)`
179
179
  width: ${a.sp3};
180
180
  height: ${a.sp3};
181
181
  `,Ta=t.img`
@@ -202,7 +202,7 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
202
202
  background-color: ${e=>e.theme.colors.grey3};
203
203
  min-height: 1px;
204
204
  max-height: 1px;
205
- `,Ra=t(Pe)`
205
+ `,Ba=t(Ne)`
206
206
  display: flex;
207
207
  flex-direction: row;
208
208
  justify-content: flex-end;
@@ -213,10 +213,10 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
213
213
  white-space: nowrap;
214
214
  overflow: hidden;
215
215
  text-overflow: ellipsis;
216
- `,Ba=t(Ze)`
216
+ `,Ra=t(Xe)`
217
217
  width: max-content;
218
218
  margin-left: ${a.sp3};
219
- `,Wa=t(Pe)`
219
+ `,Wa=t(Ne)`
220
220
  display: flex;
221
221
  flex-direction: row;
222
222
  justify-content: flex-end;
@@ -225,8 +225,8 @@ import{X as ze,u as Re,cg as yl,M as ue,C,a1 as gl,j as l,bs as Be,eZ as We,bP a
225
225
  `,qa=t.div`
226
226
  display: flex;
227
227
  align-items: center;
228
- `,Ma=t(Qe)`
228
+ `,Ma=t(Ye)`
229
229
  width: ${a.sp4};
230
230
  height: ${a.sp4};
231
231
  color: ${e=>e.theme.colors.hero};
232
- `;export{Ml as G,Xa as o};
232
+ `;export{Ml as G,Ka as o};
@@ -1,4 +1,4 @@
1
- import{j as r,U as x,W as M,Y as f,M as p,o as s,a4 as w,v as g,a5 as j}from"./index-BEYLWYh7.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import{c as H}from"./SummaryCard-BPy7YF4F-CCR3LVUp.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-F-DEmw51-DLqR0F5O.js";const 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:"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"})),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:"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:B},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:v}],D=o(w)`
1
+ import{j as r,S as x,W as M,Y as f,M as p,o as s,a4 as w,v as g,a5 as j}from"./index-C2JVdK9x.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import{c as H}from"./SummaryCard-Dm0Tx9is-BV25EA5P.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-DVYCtjFP-BRGDk89Q.js";const 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:"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"})),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:"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:B},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:v}],D=o(w)`
2
2
  margin: ${s.sp5};
3
3
  justify-content: space-between;
4
4
  `,W=o.div`
@@ -35,8 +35,8 @@ import{j as r,U as x,W as M,Y as f,M as p,o as s,a4 as w,v as g,a5 as j}from"./i
35
35
  -webkit-box-orient: vertical;
36
36
  -webkit-line-clamp: 2;
37
37
  overflow: hidden;
38
- `,C=o(j)``,O=o.div`
38
+ `,C=o(j)``,S=o.div`
39
39
  width: 100%;
40
40
  height: 1px;
41
41
  background-color: ${e=>e.theme.colors.grey3};
42
- `;function G({card:e,actions:l,data:c,dndProps:n}){return r.jsx(x,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(H,{card:e,actions:l,children:r.jsx(M,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>l.onCardClick(e.cardIndex,e.cardType),"data-testid":f("dashboard",e.cardType),children:r.jsxs(D,{children:[r.jsx(W,{children:r.jsx(I,{children:p.getLocalizedStrings().companyPassportCard.title})}),y.map((i,d)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(V,{children:[r.jsxs(b,{children:[r.jsx($,{children:r.jsx(h,{height:s.sp5,width:s.sp5})}),r.jsxs(N,{children:[r.jsx(A,{children:m}),r.jsx(S,{data:c?.companyView,itemKey:a})]})]}),d!==y.length-1?r.jsx(O,{}):null]},i.key)})]})})})},e.cardIndex)}const S=({itemKey:e,data:l})=>{const c=l?.companyOfficers,n=l?.company,i=n?.company.companyInfo,d=n?.company.incInfo,m=()=>r.jsx(T,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(c==null||c?.length===0)return r.jsx(m,{});const a=c.slice(0,10).sort((u,E)=>u.user.createTime?.isAfter(E.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return d?.companyIncType==null||d.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:d?.companyIncType});default:return null}};export{G as default};
42
+ `;function J({card:e,actions:l,data:c,dndProps:n}){return r.jsx(x,{isDragging:n?.draggedCardType!=null,isDragOver:n?.dragOverCard===e.cardType,draggable:!0,onDragStart:i=>n?.onDragStart(e.cardType,i),onDragOver:i=>n?.onDragOver(i,e.cardType),onDragLeave:i=>n?.onDragLeave(i),onDrop:i=>n?.onDrop(i,e.cardType),dimension:e.dimension,children:r.jsx(H,{card:e,actions:l,children:r.jsx(M,{dimension:e.dimension,style:{cursor:"pointer"},onClick:()=>l.onCardClick(e.cardIndex,e.cardType),"data-testid":f("dashboard",e.cardType),children:r.jsxs(D,{children:[r.jsx(W,{children:r.jsx(I,{children:p.getLocalizedStrings().companyPassportCard.title})}),y.map((i,d)=>{const{title:m,key:a,Icon:h}=i;return r.jsxs(V,{children:[r.jsxs(b,{children:[r.jsx($,{children:r.jsx(h,{height:s.sp5,width:s.sp5})}),r.jsxs(N,{children:[r.jsx(A,{children:m}),r.jsx(O,{data:c?.companyView,itemKey:a})]})]}),d!==y.length-1?r.jsx(S,{}):null]},i.key)})]})})})},e.cardIndex)}const O=({itemKey:e,data:l})=>{const c=l?.companyOfficers,n=l?.company,i=n?.company.companyInfo,d=n?.company.incInfo,m=()=>r.jsx(T,{children:"—"});switch(e){case"company_legal_name":return i?.companyLegalName==null||i.companyLegalName===""?r.jsx(m,{}):r.jsx(k,{children:i?.companyLegalName});case"company_officer":{if(c==null||c?.length===0)return r.jsx(m,{});const a=c.slice(0,10).sort((u,E)=>u.user.createTime?.isAfter(E.user.createTime)===!0?1:-1),h=[a[0].user.firstName,a[0].user.lastName].join("").trim();return r.jsxs(k,{children:[a[0].user.firstName!=null&&a[0].user.firstName!==""?r.jsxs(C,{children:[a[0].user.firstName," "]}):null,r.jsx(C,{children:a[0].user.lastName}),a[0].user.email!=null?r.jsx(C,{children:`${h.length>0?", ":""}${a[0].user.email}`}):null]})}case"company_inc":return d?.companyIncType==null||d.companyIncType===""?r.jsx(m,{}):r.jsx(k,{children:d?.companyIncType});default:return null}};export{J as default};
@@ -1,4 +1,4 @@
1
- import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c4 as ha,l as V,a3 as fa,C as m,c5 as xa,a2 as Ce,o as t,s as ae,c6 as z,c7 as ze,c8 as L,c9 as ya,ca as Ue,cb as ga,cc as ba,cd as qe,w as $a,ce as wa,cf as He,cg as Ze,ch as Ia,ci as ja,cj as va,g as N,ck as Da,cl as Sa,aM as Oa,a5 as Ca,an as q,cm as Fe,m as p,v as Ge,K as Me,cn as Fa,H as ka,co as Ta,cp as Na,b1 as Pa,cq as La,bH as za,cr as Ma,e as Ea,b2 as R,cs as Va,p as de,a$ as Ba}from"./index-BEYLWYh7.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{D as Xe}from"./LabeledCreatableSingleSelectField-DOv10RFp-Do8dWxGN.js";import{Y as Ke}from"./LabeledDocumentField-CO6_e65U-C8oWnxyV.js";import{$ as Je}from"./LabeledAddressValue-CoQKG0Vs-XiBnAGSr.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
1
+ import{X as P,u as Ae,a1 as ca,a as da,c6 as pa,M as k,j as a,aV as ma,F as ua,c7 as ha,l as V,a3 as fa,C as m,c8 as xa,a2 as Ce,o as t,s as ae,c9 as z,ca as ze,cb as L,cc as ya,cd as Ue,ce as ga,cf as ba,cg as qe,V as $a,ch as wa,ci as He,cj as Ze,ck as Ia,cl as ja,cm as va,g as N,cn as Da,co as Sa,aM as Oa,a5 as Ca,an as q,cp as Fe,p,v as Ge,K as Me,cq as Fa,B as ka,cr as Ta,cs as Na,b1 as Pa,ct as La,bK as za,cu as Ma,f as Ea,b2 as R,cv as Va,q as de,a$ as Ba}from"./index-C2JVdK9x.js";import{b as _,n as s,f as Wa,k as _a}from"./vendor-CnQcJ2Lu.js";import{D as Ke}from"./LabeledCreatableSingleSelectField-CPwrvNjy-C-LowpML.js";import{Y as Xe}from"./LabeledDocumentField-DLd6UnEn-DtqGgdoi.js";import{$ as Je}from"./LabeledAddressValue-BplX--OG-BBD4K47a.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const Qe={maxWidth:new m(280,340),contentMaxWidth:new m(200,255)},Ra=_a`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -39,7 +39,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
39
39
  margin: ${t.sp0} ${t.sp3};
40
40
  `,Ga=s(Oa)`
41
41
  color: ${e=>e.isSuccess?N.success:N.important};
42
- `,Xa=s.div`
42
+ `,Ka=s.div`
43
43
  width: ${t.sp3};
44
44
  height: ${t.sp3};
45
45
  cursor: pointer;
@@ -47,7 +47,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
47
47
  &:hover {
48
48
  color: ${N.primaryDark};
49
49
  }
50
- `,Ka=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ja(e){const o=P(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Ya,{windowSize:o,children:[c?a.jsx(Aa,{}):a.jsx(Ua,{}),a.jsxs(Za,{windowSize:o,children:[a.jsx(Ga,{isSuccess:c,children:c?n.success:n.error}),a.jsx(qa,{children:a.jsx(Ha,{children:Ka(l)})})]}),a.jsx(Xa,{onClick:i,children:a.jsx(Ce,{})})]})}const ne={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(p[3],p[2])};function Qa(e){const o=P(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:y,sectionId:b,isDisabled:h,companyIncInfo:$,style:I}=e,S=ne.labelWidth.value(o),j=ne.largeLabelWidth.value(o),g=ne.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:D}=k.getLocalizedStrings(),x=r.find(K=>K.documentType==="certificate_of_incorporation"),B=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,me=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(et,{style:I,children:[a.jsx(tt,{children:n.companyIncInfo.title}),a.jsxs(at,{children:[a.jsx(Xe,{label:{label:D.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:re(b,"typeOfInc"),placeholder:me,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ga,{label:{label:D.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:re(b,"stateOfInc"),placeholder:B,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ba,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:S},style:{paddingBottom:ne.paddingBottom.valuePx(o)},dateField:{name:re(b,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:V.dateNow(),minDate:V.zeniDate("01 Jan 1900"),autoComplete:"off"}}),a.jsx(he,{}),a.jsx(Ke,{name:re(b,"certificateOfIncorporation"),isDisabled:h,sizeLimit:qe,deleteFileStatusById:u,updateFileStatusById:y,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:g},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:x,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:l,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:K=>i(K)}),a.jsx(ot,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const re=(e,o)=>`${e}.${o}`,et=s.div`
50
+ `,Xa=e=>{const o=k.getLocalizedStrings().companyPassport.snackBar;return e==="Error"?o.failedText:o.successText};function Ja(e){const o=P(),{fetchState:l,onRemoveSnackbar:i}=e;_.useEffect(()=>{setTimeout(i,5e3)});const n=k.getLocalizedStrings().companyPassport.snackBar,c=l==="Completed";return a.jsxs(Ya,{windowSize:o,children:[c?a.jsx(Aa,{}):a.jsx(Ua,{}),a.jsxs(Za,{windowSize:o,children:[a.jsx(Ga,{isSuccess:c,children:c?n.success:n.error}),a.jsx(qa,{children:a.jsx(Ha,{children:Xa(l)})})]}),a.jsx(Ka,{onClick:i,children:a.jsx(Ce,{})})]})}const ne={labelWidth:new m(110,145,180),largeLabelWidth:new m(150,215,215),largeLabelDocumentWidth:new m(150,210,252),paddingBottom:new m(p[3],p[2])};function Qa(e){const o=P(),[l,i]=_.useState(!1),{companyPassport:n,commonSetUp:{businessVerification:c},common:{documents:f}}=k.getLocalizedStrings(),{fileProps:d,companyFiles:r,deleteFileStatusById:u,updateFileStatusById:y,sectionId:b,isDisabled:h,companyIncInfo:$,style:I}=e,S=ne.labelWidth.value(o),j=ne.largeLabelWidth.value(o),g=ne.largeLabelDocumentWidth.value(o),{dateFormat:{visual:O},companyPassport:D}=k.getLocalizedStrings(),x=r.find(X=>X.documentType==="certificate_of_incorporation"),B=o==="small"?n.companyIncInfo.stateOfIncPlaceholderSmall:n.companyIncInfo.stateOfIncPlaceholder,me=o==="small"?n.companyIncInfo.typeOfIncPlaceholderSmall:n.companyIncInfo.typeOfIncPlaceholder;return a.jsxs(et,{style:I,children:[a.jsx(tt,{children:n.companyIncInfo.title}),a.jsxs(at,{children:[a.jsx(Ke,{label:{label:D.companyIncInfo.typeOfInc,width:j},isDisabled:h,creatableSingleSelectField:{name:re(b,"typeOfInc"),placeholder:me,defaultValue:{selectedOption:$?.typeOfInc,allOptions:n.companyIncInfo.allTypesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ga,{label:{label:D.companyIncInfo.stateOfInc,width:j},isDisabled:h,singleSelectField:{name:re(b,"stateOfInc"),placeholder:B,defaultValue:{selectedOption:$?.stateOfInc,allOptions:n.companyIncInfo.allStatesOfIncorporation}}}),a.jsx(he,{}),a.jsx(ba,{isDisabled:h,label:{label:n.companyIncInfo.incDate,width:S},style:{paddingBottom:ne.paddingBottom.valuePx(o)},dateField:{name:re(b,"incDate"),placeholder:L(n.companyIncInfo.incDate),defaultValue:$?.incDate,dateFormat:O.defaultInput,maxDate:V.dateNow(),minDate:V.zeniDate("01 Jan 1900"),autoComplete:"off"}}),a.jsx(he,{}),a.jsx(Xe,{name:re(b,"certificateOfIncorporation"),isDisabled:h,sizeLimit:qe,deleteFileStatusById:u,updateFileStatusById:y,filesEndPoint:d.filesEndPoint,authParams:d.authParams,label:{label:c.certificateOfIncorporation,width:g},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:x,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:l,updateFilesEntity:d.updateFilesEntity,onEditFileName:d.onEditFileName,onDeleteFile:d.onDeleteFile,onFileSizeError:X=>i(X)}),a.jsx(ot,{windowSize:o,isError:l,children:f.formatDocumentText10MB})]})]})}const re=(e,o)=>`${e}.${o}`,et=s.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  padding-top: ${t.sp3};
@@ -91,17 +91,17 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
91
91
  width: fit-content;
92
92
  margin-left: auto;
93
93
  margin-bottom: ${t.sp2};
94
- `,nt=e=>{const{labels:o,style:l,listStyleType:i="disc"}=e;return a.jsx(lt,{style:{...l,listStyleType:i},children:o.filter(n=>n!=null&&n.text!="").map((n,c)=>a.jsxs(it,{isCancelled:n.status==="cancelled",children:[n.text,n.subText!=null?a.jsxs(st,{children:["Started: ",n.subText]}):null]},`${n.text}_${c}`))})},X={width:new m(343,580,726),paddingTopBottom:new m(p[3],p[3]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4])};function pe({isDisabled:e,label:o,bullettedLabels:l,style:i}){const n=P();return l.labels.length>0?a.jsxs(rt,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:X.labelMarginLeft.value(n),marginRight:X.labelMarginRight.value(n),width:o.width??"auto"}}),a.jsx(nt,{...l,style:{maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto"}})]}):null}const rt=s.div`
94
+ `,nt=e=>{const{labels:o,style:l,listStyleType:i="disc"}=e;return a.jsx(lt,{style:{...l,listStyleType:i},children:o.filter(n=>n!=null&&n.text!="").map((n,c)=>a.jsxs(it,{isCancelled:n.status==="cancelled",children:[n.text,n.subText!=null?a.jsxs(st,{children:["Started: ",n.subText]}):null]},`${n.text}_${c}`))})},K={width:new m(343,580,726),paddingTopBottom:new m(p[3],p[3]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4])};function pe({isDisabled:e,label:o,bullettedLabels:l,style:i}){const n=P();return l.labels.length>0?a.jsxs(rt,{size:n,style:i,children:[a.jsx(Fe,{isDisabled:e,label:o.label,style:{marginLeft:K.labelMarginLeft.value(n),marginRight:K.labelMarginRight.value(n),width:o.width??"auto"}}),a.jsx(nt,{...l,style:{maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto"}})]}):null}const rt=s.div`
95
95
  display: flex;
96
96
  flex-direction: row;
97
97
  align-items: flex-start;
98
98
  justify-content: space-between;
99
99
  background-color: ${e=>e.theme.colors.grey5};
100
- width: ${e=>X.width.valuePx(e.size)};
100
+ width: ${e=>K.width.valuePx(e.size)};
101
101
  height: auto;
102
- padding-right: ${e=>X.marginRight.valuePx(e.size)};
103
- padding-top: ${e=>X.paddingTopBottom.valuePx(e.size)};
104
- padding-bottom: ${e=>X.paddingTopBottom.valuePx(e.size)};
102
+ padding-right: ${e=>K.marginRight.valuePx(e.size)};
103
+ padding-top: ${e=>K.paddingTopBottom.valuePx(e.size)};
104
+ padding-bottom: ${e=>K.paddingTopBottom.valuePx(e.size)};
105
105
 
106
106
  :first-of-type {
107
107
  border-top-left-radius: inherit;
@@ -112,7 +112,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
112
112
  border-bottom-left-radius: inherit;
113
113
  border-bottom-right-radius: inherit;
114
114
  }
115
- `,fe={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ct({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=P(),u=e.company.company.companyInfo,y=fe.labelWidth.value(r),b=fe.mediumLabelWidth.value(r),h=fe.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=S=>o.find(j=>j.code===S)?.name??S;return a.jsxs(pt,{style:d,children:[a.jsx(ut,{children:v.companyInfo.title}),a.jsxs(mt,{children:[a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:Z(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(U,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:b},text:{type:"text",name:Z(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(U,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:y},text:{type:"url",name:Z(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(U,{}),a.jsx(ya,{label:{label:v.companyInfo.industry,width:y},singleSelectField:{singleSelect:{name:Z(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(S=>S.code)??[]}},isFunctional:!0}),a.jsx(U,{}),a.jsx(Xe,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:Z(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(U,{}),a.jsx(Je,{isDisabled:c,label:{label:v.companyInfo.address,width:y},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(U,{}),a.jsx(Ue,{isDisabled:c,label:{label:v.companyInfo.phone,width:y},text:{name:Z(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(U,{}),a.jsx(pe,{label:{label:v.companyInfo.fiscalYear,width:y},bullettedLabels:{labels:[{text:dt(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const dt=e=>{const{fiscalYearMonths:o}=V.getFYMonths(e);return`${V.dateNow().month(o[0]-1).format(Ee.MMMFormat)} to ${V.dateNow().month(o[11]-1).format(Ee.MMMFormat)}`},Z=(e,o)=>`${e}.${o}`,pt=s.div`
115
+ `,fe={labelWidth:new m(110,110,140),mediumLabelWidth:new m(140,140,160),largeLabelWidth:new m(170,170,180)},{companyPassport:v,dateFormat:{analytics:Ee}}=k.getLocalizedStrings();function ct({companyViewData:e,allIndustries:o,companyInfo:l,companyAddress:i,sectionId:n,isDisabled:c,onCompanyAddressClick:f,style:d}){const r=P(),u=e.company.company.companyInfo,y=fe.labelWidth.value(r),b=fe.mediumLabelWidth.value(r),h=fe.largeLabelWidth.value(r),$=r==="small"?v.companyInfo.businessModelPlaceholderSmall:v.companyInfo.businessModelPlaceholder,I=S=>o.find(j=>j.code===S)?.name??S;return a.jsxs(pt,{style:d,children:[a.jsx(ut,{children:v.companyInfo.title}),a.jsxs(mt,{children:[a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.companyName,width:h},text:{type:"text",name:Z(n,"companyName"),placeholder:L(v.companyInfo.companyName),defaultValue:l?.companyName,autoComplete:"new-password",options:{required:!!u.name,pattern:ze}}}),a.jsx(U,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.legalName,width:b},text:{type:"text",name:Z(n,"legalName"),placeholder:L(v.companyInfo.legalName),defaultValue:l?.legalName,autoComplete:"new-password",options:{required:!!u.companyLegalName,pattern:ze}}}),a.jsx(U,{}),a.jsx(z,{isDisabled:c,label:{label:v.companyInfo.website,width:y},text:{type:"url",name:Z(n,"website"),placeholder:L(v.companyInfo.website),defaultValue:l?.website?.toString()??"",autoComplete:"new-password"}}),a.jsx(U,{}),a.jsx(ya,{label:{label:v.companyInfo.industry,width:y},singleSelectField:{singleSelect:{name:Z(n,"industry"),placeholder:v.companyInfo.industryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:I,isDisabled:c,showTickMark:!1},defaultValue:{selectedOption:l?.industry,allOptions:o?.map(S=>S.code)??[]}},isFunctional:!0}),a.jsx(U,{}),a.jsx(Ke,{isDisabled:c,label:{label:v.companyInfo.businessModel,width:h},creatableSingleSelectField:{name:Z(n,"businessModel"),placeholder:$,defaultValue:{selectedOption:l?.businessModel,allOptions:v.companyInfo.allBusinessModels}}}),a.jsx(U,{}),a.jsx(Je,{isDisabled:c,label:{label:v.companyInfo.address,width:y},addressValue:{placeholder:L(v.companyInfo.address),address:i?.addressToCreate,onClick:()=>f("company_address")}}),a.jsx(U,{}),a.jsx(Ue,{isDisabled:c,label:{label:v.companyInfo.phone,width:y},text:{name:Z(n,"phone"),placeholder:L(v.companyInfo.phone),defaultValue:l?.phone,autoComplete:"new-password"}}),a.jsx(U,{}),a.jsx(pe,{label:{label:v.companyInfo.fiscalYear,width:y},bullettedLabels:{labels:[{text:dt(l?.firstMonthOfFY??1)}],listStyleType:"none"}})]})]})}const dt=e=>{const{fiscalYearMonths:o}=V.getFYMonths(e);return`${V.dateNow().month(o[0]-1).format(Ee.MMMFormat)} to ${V.dateNow().month(o[11]-1).format(Ee.MMMFormat)}`},Z=(e,o)=>`${e}.${o}`,pt=s.div`
116
116
  display: flex;
117
117
  flex-direction: column;
118
118
  padding-top: ${t.sp3};
@@ -390,7 +390,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
390
390
  width: ${t.sp3};
391
391
  height: ${t.sp3};
392
392
  color: ${e=>e.theme.colors.primary};
393
- `,Zt=()=>null,Gt=()=>null,Ve=e=>e.map(o=>Xt(o)),Xt=e=>({value:e,label:e}),M={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function Kt({isDisabled:e,label:o,multiSelectField:l,style:i}){const n=P();return a.jsxs(Jt,{size:n,style:i,isDisabled:e!=null,children:[a.jsx(Fe,{isDisabled:e,label:o.label,htmlFor:l.name,style:{marginLeft:M.labelMarginLeft.value(n),marginRight:M.labelMarginRight.value(n),marginTop:M.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(kt,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",minHeight:M.controlHeight.value(n)}})]})}const Jt=s.div`
393
+ `,Zt=()=>null,Gt=()=>null,Ve=e=>e.map(o=>Kt(o)),Kt=e=>({value:e,label:e}),M={width:new m(343,580,726),height:new m(p[6],p[6]),controlHeight:new m(p[6],p[6]),paddingTopBottom:new m(p[2],p[2]),marginRight:new m(p[2],p[2]),labelMarginLeft:new m(p[3],p[4]),labelMarginRight:new m(p[3],p[4]),labelMarginTop:new m(p[2],p[2])};function Xt({isDisabled:e,label:o,multiSelectField:l,style:i}){const n=P();return a.jsxs(Jt,{size:n,style:i,isDisabled:e!=null,children:[a.jsx(Fe,{isDisabled:e,label:o.label,htmlFor:l.name,style:{marginLeft:M.labelMarginLeft.value(n),marginRight:M.labelMarginRight.value(n),marginTop:M.labelMarginTop.value(n),width:o.width??"auto"}}),a.jsx(kt,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,maxWidth:o.width!=null?`calc(100% - ${o.width}px)`:"auto",minHeight:M.controlHeight.value(n)}})]})}const Jt=s.div`
394
394
  display: flex;
395
395
  flex-direction: row;
396
396
  align-items: flex-start;
@@ -436,7 +436,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
436
436
  background-color: ${e=>e.isDisabled?e.theme.colors.grey5:e.theme.colors.background};
437
437
  }
438
438
  }
439
- `,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function Qt(e){const o=P(),l=$a(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:y,updateFileStatusById:b,sectionId:h,isDisabled:$,companyTaxInfo:I,style:S}=e,j=Be.labelWidth.value(o),g=Be.largeLabelWidth.value(o),O=!V.hasAdminLevelAccess(l.loggedInUserRole??[]),D=u.find(x=>x.documentType==="tax_ein");return a.jsxs(eo,{style:S,children:[a.jsx(to,{children:c.companyTaxInfo.title}),a.jsxs(ao,{children:[a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:G(h,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:I?.taxIdOrEIN,options:{pattern:wa},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:G(h,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:I?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:G(h,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:I?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:G(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(Kt,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:G(h,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:I?.taxesFiledYears.map(x=>x.toString())??[],allOptions:V.getYearsList().map(x=>x.toString())}}}),a.jsx(ee,{}),a.jsx(Ke,{name:G(h,"einDocument"),isDisabled:$,sizeLimit:qe,deleteFileStatusById:y,updateFileStatusById:b,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:g},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:r.updateFilesEntity,onEditFileName:r.onEditFileName,onDeleteFile:r.onDeleteFile,onFileSizeError:x=>n(x)}),a.jsx(oo,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const G=(e,o)=>`${e}.${o}`,eo=s.div`
439
+ `,Be={labelWidth:new m(160,160,160),largeLabelWidth:new m(150,215,215)};function Qt(e){const o=P(),l=$a(),[i,n]=_.useState(!1),{companyPassport:c,commonSetUp:{businessVerification:f},common:{documents:d}}=k.getLocalizedStrings(),{fileProps:r,companyFiles:u,deleteFileStatusById:y,updateFileStatusById:b,sectionId:h,isDisabled:$,companyTaxInfo:I,style:S}=e,j=Be.labelWidth.value(o),g=Be.largeLabelWidth.value(o),O=!V.hasAdminLevelAccess(l.loggedInUserRole??[]),D=u.find(x=>x.documentType==="tax_ein");return a.jsxs(eo,{style:S,children:[a.jsx(to,{children:c.companyTaxInfo.title}),a.jsxs(ao,{children:[a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.taxIdOrEIN,width:j},text:{type:"text",name:G(h,"taxIdOrEIN"),placeholder:c.companyTaxInfo.taxIdOrEINPlaceholder,defaultValue:O===!0?c.protectedContent:I?.taxIdOrEIN,options:{pattern:wa},autoComplete:"new-password"},protectedInfoText:O===!0?c.companyTaxInfo.adminPrivilegeRequired:void 0}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.dunsNumber,width:j},text:{type:"text",name:G(h,"dunsNumber"),placeholder:c.companyTaxInfo.dunsNumberPlaceholder,defaultValue:I?.dunsNumber,options:{pattern:/^\d{9}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.naicsCode,width:j},text:{type:"text",name:G(h,"naicsCode"),placeholder:c.companyTaxInfo.naicsCodePlaceholder,defaultValue:I?.naicsCode,options:{pattern:/^([2-9]{1}[0-9]{1}|[1-9]{1}[1-9]{1})\d{0,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(z,{isDisabled:$,label:{label:c.companyTaxInfo.sicCode,width:j},text:{type:"text",name:G(h,"sicCode"),placeholder:c.companyTaxInfo.sicCodePlaceholder,defaultValue:I?.sicCode,options:{pattern:/^\d{2,4}$/},autoComplete:"new-password"}}),a.jsx(ee,{}),a.jsx(Xt,{isDisabled:$,label:{label:c.companyTaxInfo.taxesFiledYears,width:j},multiSelectField:{name:G(h,"taxesFiledYears"),placeholder:c.companyTaxInfo.taxesFiledYearsPlaceholder,defaultValue:{selectedOptions:I?.taxesFiledYears.map(x=>x.toString())??[],allOptions:V.getYearsList().map(x=>x.toString())}}}),a.jsx(ee,{}),a.jsx(Xe,{name:G(h,"einDocument"),isDisabled:$,sizeLimit:qe,deleteFileStatusById:y,updateFileStatusById:b,filesEndPoint:r.filesEndPoint,authParams:r.authParams,label:{label:f.einDocument,width:g},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:D,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!1},hasError:i,updateFilesEntity:r.updateFilesEntity,onEditFileName:r.onEditFileName,onDeleteFile:r.onDeleteFile,onFileSizeError:x=>n(x)}),a.jsx(oo,{windowSize:o,isError:i,children:d.formatDocumentText10MB})]})]})}const G=(e,o)=>`${e}.${o}`,eo=s.div`
440
440
  display: flex;
441
441
  flex-direction: column;
442
442
  padding-top: ${t.sp3};
@@ -550,7 +550,7 @@ import{X as P,u as Ae,a1 as ca,a as da,c3 as pa,M as k,j as a,aV as ma,F as ua,c
550
550
  background-color: ${e=>e.theme.colors.grey3};
551
551
  min-height: 1px;
552
552
  max-height: 1px;
553
- `,we={width:new m(343,580,726),buttonWidth:new m(85,85)},_e="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",De="primaryContact",Se="companyOfficer",Oe="zeniFinanceTeam";function Wo(e){const o=P(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:y,onCompanyOfficerUpdated:b,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:S,onAddressClick:j,onScheduleClick:g,onBackClick:O,onResetClick:D,onEditFileName:x,updateFilesEntity:B,onDeleteFile:me,onClickMenuIcon:K}=e,{companyView:J,localData:H,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:te}=H,Ne={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:me,updateFilesEntity:B},[Q,oe]=_.useState(void 0),{companyDetails:aa,primaryContact:ta,companyOfficerUpdateStatus:oa,updateStatus:Y}=H,{localData:le,addressStatus:la}=aa,Pe=ca(Y.fetchState),ie=Object.values(oa).filter(T=>T.localData!=null),W=da({mode:"all",defaultValues:Ye(H,d)});_.useEffect(()=>()=>{oe(void 0)},[]),_.useEffect(()=>{Pe==="In-Progress"&&(Y.fetchState==="Completed"||Y.fetchState==="Error")&&(W.reset(Ye(H,d)),Q!==Y.fetchState&&oe(Y.fetchState))},[Q,W,Pe,Y,H,J,d,te]);const ia=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:A,zeniFinanceTeam:ue}=w;y({companyInfo:C,incInfo:F,taxDetails:A,zeniFinanceTeam:ue})}else if(T.includes(De)){$(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(A=>A===w.primaryContact.userId);F>=0&&b({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(T.includes(Se)){const C=parseInt(T.split(".")[1]);if(C>=0)b({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&$({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>ie.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(A=>A.officerType!=null);if(F.length<ie.length){const A=F.map((ue,ra)=>{const Le={...ue,officerType:`Officer_${ra+1}`};return b(Le),Le});F.length<ie.length&&(I(`Officer_${F.length+1}`),W.reset({companyOfficer:A}))}}}};_.useEffect(()=>{const T=W.watch((w,{name:C})=>{C!=null&&w!=null&&pa(()=>ia(C,w))});return()=>{T.unsubscribe()}});const sa=W.handleSubmit(T=>{Q!=null&&oe(void 0),S()}),{companyPassport:se,common:{settings:na}}=k.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return a.jsxs(Do,{children:[a.jsx(ma,{title:se.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:K}),Q!=null?a.jsx(Ja,{fetchState:Q,onRemoveSnackbar:()=>oe(void 0)}):null,a.jsxs(So,{children:[a.jsx(Oo,{windowSize:o,children:u?na.infoText.companyDetails:se.quickAccessInfo}),a.jsx(ua,{...W,children:a.jsxs("form",{id:Re(_e),onSubmit:sa,children:[a.jsx(ct,{sectionId:Ie,companyInfo:le?.companyInfo,companyViewData:J,companyAddress:la,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),a.jsx(Qa,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyIncInfo:le?.incInfo,fileProps:Ne,isDisabled:r}),a.jsx(Qt,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyTaxInfo:le?.taxDetails,fileProps:Ne,isDisabled:r}),a.jsx(io,{sectionId:De,primaryContact:ta.localData,isDisabled:r}),a.jsx(ft,{companyOfficers:ie,sectionId:Se,isDisabled:r,onOfficerAddressClick:j}),a.jsx($o,{data:J,companyInfo:le?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:g})]})})]}),ha(W.formState.dirtyFields)||V.isCompanyPassportDataToBeSaved(H,J,te)?a.jsx(fa,{formId:Re(_e),primaryBtn:{label:se.save,isLoading:Y.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:se.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{W.reset(),D()}}}):null]})}const Re=e=>`${e}_form`,Ye=(e,o)=>{const{companyDetails:l,primaryContact:i,companyOfficerUpdateStatus:n}=e,c=k.getLocalizedStrings().companyPassport,f=l.localData?.incInfo.fileId!=null?[l.localData?.incInfo.fileId]:[],d=l.localData?.taxDetails.fileId!=null?[l.localData?.taxDetails.fileId]:[];return{[Ie]:{...xa(l.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:l.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:l.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:l.localData?.companyInfo.industry,allOptions:o?.map(r=>r.code)},firstMonthOfFY:l.localData?.companyInfo.firstMonthOfFY},[ve]:{...l.localData?.taxDetails,taxesFiledYears:{selectedOptions:l.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:V.getYearsList().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:d},[je]:{typeOfInc:{selectedOption:l.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:l.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:l.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:f},[De]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[Se]:Object.values(n).filter(r=>r.localData!=null).map(r=>{const u=r.localData;return{userId:u.userId,officerType:u.officerType,name:{firstName:u.firstName,lastName:u.lastName},email:u.email,phone:u.phone}}),[Oe]:{meetingLink:l.localData?.companyInfo.meetingLink?.toString()??""}}},Do=s.div`
553
+ `,we={width:new m(343,580,726),buttonWidth:new m(85,85)},_e="companyPassportPage",Ie="companyInfo",je="companyIncInfo",ve="companyTaxInfo",De="primaryContact",Se="companyOfficer",Oe="zeniFinanceTeam";function Wo(e){const o=P(),l=Ae(),{companyPassportView:i,isZeniUser:n,filesEndPoint:c,authParams:f,allIndustries:d,isDisabled:r,isSettings:u=!1,onCompanyDetailsChanged:y,onCompanyOfficerUpdated:b,onNewCompanyOfficerAdded:h,onPrimaryContactDetailsUpdated:$,onNewCompanyOfficerRemoved:I,onSaveAll:S,onAddressClick:j,onScheduleClick:g,onBackClick:O,onResetClick:D,onEditFileName:x,updateFilesEntity:B,onDeleteFile:me,onClickMenuIcon:X}=e,{companyView:J,localData:H,deleteFileStatusById:ke,updateFileStatusById:Te}=i,{companyFiles:te}=H,Ne={authParams:f,filesEndPoint:c,onEditFileName:x,onDeleteFile:me,updateFilesEntity:B},[Q,oe]=_.useState(void 0),{companyDetails:aa,primaryContact:ta,companyOfficerUpdateStatus:oa,updateStatus:Y}=H,{localData:le,addressStatus:la}=aa,Pe=ca(Y.fetchState),ie=Object.values(oa).filter(T=>T.localData!=null),W=da({mode:"all",defaultValues:Ye(H,d)});_.useEffect(()=>()=>{oe(void 0)},[]),_.useEffect(()=>{Pe==="In-Progress"&&(Y.fetchState==="Completed"||Y.fetchState==="Error")&&(W.reset(Ye(H,d)),Q!==Y.fetchState&&oe(Y.fetchState))},[Q,W,Pe,Y,H,J,d,te]);const ia=async(T,w)=>{if(T.includes(Ie)||T.includes(je)||T.includes(ve)||T.includes(Oe)){const{companyInfo:C,companyIncInfo:F,companyTaxInfo:A,zeniFinanceTeam:ue}=w;y({companyInfo:C,incInfo:F,taxDetails:A,zeniFinanceTeam:ue})}else if(T.includes(De)){$(w.primaryContact);const C=w.companyOfficer.map(F=>F.userId);if(w.primaryContact.userId!=null&&C.includes(w.primaryContact.userId)){const F=C.findIndex(A=>A===w.primaryContact.userId);F>=0&&b({...w.companyOfficer[F],name:w.primaryContact.name,officerType:`Officer_${F+1}`})}}else if(T.includes(Se)){const C=parseInt(T.split(".")[1]);if(C>=0)b({...w.companyOfficer[C],officerType:`Officer_${C+1}`}),w.companyOfficer[C].userId!=null&&w.companyOfficer[C].userId===w.primaryContact.userId&&$({...w.primaryContact,name:w.companyOfficer[C].name});else if(w.companyOfficer.length>ie.length){const F=w.companyOfficer[w.companyOfficer.length-1];h(F)}else{const F=w.companyOfficer.filter(A=>A.officerType!=null);if(F.length<ie.length){const A=F.map((ue,ra)=>{const Le={...ue,officerType:`Officer_${ra+1}`};return b(Le),Le});F.length<ie.length&&(I(`Officer_${F.length+1}`),W.reset({companyOfficer:A}))}}}};_.useEffect(()=>{const T=W.watch((w,{name:C})=>{C!=null&&w!=null&&pa(()=>ia(C,w))});return()=>{T.unsubscribe()}});const sa=W.handleSubmit(T=>{Q!=null&&oe(void 0),S()}),{companyPassport:se,common:{settings:na}}=k.getLocalizedStrings();if(J==null)throw new Error("Company View is null");return a.jsxs(Do,{children:[a.jsx(ma,{title:se.title,backgroundColor:l.colors.grey4,style:{zIndex:3},onBackClick:O,showBackButton:!u,showMenuIcon:u?o==="medium-compact"||o==="small":!1,source:"CompanyPassportPage",onClickMenuIcon:X}),Q!=null?a.jsx(Ja,{fetchState:Q,onRemoveSnackbar:()=>oe(void 0)}):null,a.jsxs(So,{children:[a.jsx(Oo,{windowSize:o,children:u?na.infoText.companyDetails:se.quickAccessInfo}),a.jsx(ua,{...W,children:a.jsxs("form",{id:Re(_e),onSubmit:sa,children:[a.jsx(ct,{sectionId:Ie,companyInfo:le?.companyInfo,companyViewData:J,companyAddress:la,isDisabled:r,onCompanyAddressClick:j,allIndustries:d}),a.jsx(Qa,{sectionId:je,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyIncInfo:le?.incInfo,fileProps:Ne,isDisabled:r}),a.jsx(Qt,{sectionId:ve,updateFileStatusById:Te,deleteFileStatusById:ke,companyFiles:te,companyTaxInfo:le?.taxDetails,fileProps:Ne,isDisabled:r}),a.jsx(io,{sectionId:De,primaryContact:ta.localData,isDisabled:r}),a.jsx(ft,{companyOfficers:ie,sectionId:Se,isDisabled:r,onOfficerAddressClick:j}),a.jsx($o,{data:J,companyInfo:le?.companyInfo,isDisabled:r,isZeniUser:n,sectionId:Oe,onScheduleClick:g})]})})]}),ha(W.formState.dirtyFields)||V.isCompanyPassportDataToBeSaved(H,J,te)?a.jsx(fa,{formId:Re(_e),primaryBtn:{label:se.save,isLoading:Y.fetchState==="In-Progress",style:{width:we.buttonWidth.value(o)},isDisabled:e.isDisabled!=null},cancelBtn:{label:se.cancel,style:{width:we.buttonWidth.value(o)},onClick:()=>{W.reset(),D()}}}):null]})}const Re=e=>`${e}_form`,Ye=(e,o)=>{const{companyDetails:l,primaryContact:i,companyOfficerUpdateStatus:n}=e,c=k.getLocalizedStrings().companyPassport,f=l.localData?.incInfo.fileId!=null?[l.localData?.incInfo.fileId]:[],d=l.localData?.taxDetails.fileId!=null?[l.localData?.taxDetails.fileId]:[];return{[Ie]:{...xa(l.localData?.companyInfo,["meetingLink"]),businessModel:{selectedOption:l.localData?.companyInfo?.businessModel,allOptions:c.companyInfo.allBusinessModels},website:l.localData?.companyInfo.website?.toString()??"",industry:{selectedOption:l.localData?.companyInfo.industry,allOptions:o?.map(r=>r.code)},firstMonthOfFY:l.localData?.companyInfo.firstMonthOfFY},[ve]:{...l.localData?.taxDetails,taxesFiledYears:{selectedOptions:l.localData?.taxDetails.taxesFiledYears.map(r=>r.toString())??[],allOptions:V.getYearsList().map(r=>r.toString())},einDocument:e.companyFiles.find(r=>r.documentType==="tax_ein"),fileIds:d},[je]:{typeOfInc:{selectedOption:l.localData?.incInfo?.typeOfInc,allOptions:c.companyIncInfo.allTypesOfIncorporation},stateOfInc:{selectedOption:l.localData?.incInfo?.stateOfInc,allOptions:c.companyIncInfo.allStatesOfIncorporation},incDate:l.localData?.incInfo.incDate?.toDate(),certificateOfIncorporation:e.companyFiles.find(r=>r.documentType==="certificate_of_incorporation"),fileIds:f},[De]:{userId:i.localData?.userId,name:{firstName:i.localData?.firstName,lastName:i.localData?.lastName},email:i.localData?.email},[Se]:Object.values(n).filter(r=>r.localData!=null).map(r=>{const u=r.localData;return{userId:u.userId,officerType:u.officerType,name:{firstName:u.firstName,lastName:u.lastName},email:u.email,phone:u.phone}}),[Oe]:{meetingLink:l.localData?.companyInfo.meetingLink?.toString()??""}}},Do=s.div`
554
554
  display: flex;
555
555
  min-height: 100%;
556
556
  flex-direction: column;