@zeniai/web-cockpit-ui 1.14.88-prod → 1.14.89-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 (232) hide show
  1. package/dist/assets/{ACHDetailsPage-BBq7KpbY-DF9mhOLo.js → ACHDetailsPage-BBq7KpbY-DmD51smT.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Djq6mgKa-D2-ZMcc5.js → AIPerformancePage-Djq6mgKa-C2iGvIUP.js} +11 -11
  3. package/dist/assets/{AccountInfoPage-CxWBk_t_-B6N9dho0.js → AccountInfoPage-CxWBk_t_-BI9wbnyE.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DO6aVqBW-D2G7pMZi.js → AccountInfoPageContent-DO6aVqBW-6U18ww_h.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DVvzKHJQ-BusmcQJv.js → AccountLockedInfoModal-DVvzKHJQ-BlItIAEt.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DEKzSPCP-BYDoTrOZ.js → AccountReconDetailsDrawerPage-DEKzSPCP-DohPnhDC.js} +14 -14
  7. package/dist/assets/{AccountRow-Ck53DDbT-pVq02fp8.js → AccountRow-Ck53DDbT-BeebPIea.js} +21 -21
  8. package/dist/assets/{AccountsPromoCardStack-BYjuB-4I-Hx7dozh-.js → AccountsPromoCardStack-BYjuB-4I-DMxflS-k.js} +8 -8
  9. package/dist/assets/{AddAddressForCardDrawer-e8qbO2Y5-nX0udyvd.js → AddAddressForCardDrawer-e8qbO2Y5-CvQDLLw2.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DA6AmuaY-qriIpnYe.js → AddToWalletPage-DA6AmuaY-e01eq7ol.js} +5 -5
  11. package/dist/assets/{AgingReportsPage-B_Hhl_Is-g-SRao1T.js → AgingReportsPage-B_Hhl_Is-4sV-u-EE.js} +5 -5
  12. package/dist/assets/{AllUserItems-BV22Ibpn-CEp8prrW.js → AllUserItems-BV22Ibpn-WegHhloq.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-DqV1vOVH-CNER43iu.js → ApAgingDetailPage-DqV1vOVH-DDYGtIes.js} +1 -1
  14. package/dist/assets/{AppBasePage-LrgCcvIv-pzRDvRIV.js → AppBasePage-LrgCcvIv-CPbTcwwM.js} +4 -4
  15. package/dist/assets/{AppDrawerContent-aZG5Qc_X-HF__9zgn.js → AppDrawerContent-aZG5Qc_X-0oLi5_ah.js} +1 -1
  16. package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-BEsS6TL7.js +47 -0
  17. package/dist/assets/{ArAgingChart-Am7LTkqG-E4lvgjGa.js → ArAgingChart-Am7LTkqG-CEoxIo8X.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-BEKsyA9Q-CPaZNWaY.js → ArAgingDetailPage-BEKsyA9Q-DyjljPZX.js} +1 -1
  19. package/dist/assets/{AttachmentView-Bujbmx1d-BpqKAITM.js → AttachmentView-Bujbmx1d-B9I0wNAl.js} +1 -1
  20. package/dist/assets/{BankAccountSection-C5rYUW3V-BCOrI2zz.js → BankAccountSection-C5rYUW3V-B24i3wVy.js} +3 -3
  21. package/dist/assets/{BankAccountWarningSection-DakysSbk-BrOBdVlr.js → BankAccountWarningSection-DakysSbk-CfJ3ZIAx.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BjZDNgZG-BqTLt_Xy.js → BankConnectionsSettingsPage-BjZDNgZG-CWXR52fl.js} +7 -7
  23. package/dist/assets/{BillDetailPage-DYc_nZRU-9SJltYSx.js → BillDetailPage-DYc_nZRU-BRz45yqn.js} +2 -2
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-ppU1Epmy-DvxlAPhL.js → BillPayApprovalRuleDetailPage-ppU1Epmy-CKu9yeh6.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-UblNi2mR-DWfMi9Ia.js → BillPayApprovalRulesPage-UblNi2mR-DDdlB9l6.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-BK2J56U5-CXL9s4dw.js → BillPayPromoPage-BK2J56U5-BV_HtQh9.js} +5 -5
  27. package/dist/assets/{BillPaySetUpPage-Jic5E25q-CMtH3BoF.js → BillPaySetUpPage-Jic5E25q-B-iLCf2O.js} +2 -2
  28. package/dist/assets/{BillingSettingsPage-CKZVChEm-CQVpThSa.js → BillingSettingsPage-CKZVChEm-D4ayDBSH.js} +4 -4
  29. package/dist/assets/{BillsBulkReviewDrawerPage-C4Ra5e82-CQ4D75c-.js → BillsBulkReviewDrawerPage-C4Ra5e82-Ci4V1_TC.js} +1 -1
  30. package/dist/assets/{BoxItem-8PfNfaHq-6bFTfHVl.js → BoxItem-8PfNfaHq-CqIGaIYz.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-JGge-Iiw-IDjENT0s.js → BusinessVerificationPage-JGge-Iiw-DkN8E6Gl.js} +5 -5
  32. package/dist/assets/{CardNumberSubText-W81SQ4GF-Bt4a5S33.js → CardNumberSubText-W81SQ4GF-D5AG2b-c.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-DnOcmx2i-CN8nuDt2.js → CashbackDetailPage-DnOcmx2i-DuXs2k0a.js} +7 -7
  34. package/dist/assets/{ChargeCardDetailPage-DNVMsxzE-CvKk_X-x.js → ChargeCardDetailPage-DNVMsxzE-W83HRYcY.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-Dgj-WWWI-CWkcKwWI.js → ChargeCardListPage-Dgj-WWWI-C1jII8Vl.js} +14 -14
  36. package/dist/assets/{ChargeCardListTable-uJZKWoh7-C3lLpElH.js → ChargeCardListTable-uJZKWoh7-DGMj8Kk8.js} +16 -16
  37. package/dist/assets/{ChargeCardPromoPage-uqT96W3_-XA2uFoR4.js → ChargeCardPromoPage-uqT96W3_-DGpf3zxD.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-BDbJU-vm-BIb3iQQG.js → ChargeCardSetupPage-BDbJU-vm-DZJfRa0I.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-DImRqpH1-3qgtBy5g.js → ChargeCardStatementsPage-DImRqpH1-BlCyBAS3.js} +1 -1
  40. package/dist/assets/{CheckDepositDrawerPage-BVtOOPoa-Bq-u7DD4.js → CheckDepositDrawerPage-BVtOOPoa-CKWcHjV6.js} +6 -6
  41. package/dist/assets/{CollapsableReportTable-Crihcv_z-JDVTRjtF.js → CollapsableReportTable-Crihcv_z-B6sIoSI3.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-CNxtAkKM-CFmiXK6n.js → CompanyOfficerDetailsSection-CNxtAkKM-D2joEvpM.js} +8 -8
  43. package/dist/assets/{CompanyPassportCard-DMRQkRPb-CQZMGO1o.js → CompanyPassportCard-DMRQkRPb-BLaDLsxp.js} +1 -1
  44. package/dist/assets/{CompanyPassportPage-D3XvbSF_-gJDrPWNT.js → CompanyPassportPage-D3XvbSF_-BPFOIUV0.js} +16 -16
  45. package/dist/assets/{CompleteProfile-BqjXO5ze-724nDXDc.js → CompleteProfile-BqjXO5ze-fJjklbCs.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-DtwLo4WZ-BQ9rTQt1.js → ConfettiBurst-DtwLo4WZ-DhNKCJ7F.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-FrGRJxMy-B6tzs6XZ.js → CreateOrEditVendorPage-FrGRJxMy-lyDeY9QD.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-BvifQpD3-DUnP1Hl9.js → CreditCardPaymentDrawerPage-BvifQpD3-CJD0XzyN.js} +6 -6
  49. package/dist/assets/{CurrencySelectField-ClOg6nnS-CXTbcHfQ.js → CurrencySelectField-ClOg6nnS-wUZ5kAZB.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-Du-zzeL2-Cmigo4pK.js → CustomerOnboardingActivationPage-Du-zzeL2-DGgRqDAq.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-ly2XWpHL.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BgY95XeU-CH2FPWha.js → CustomerOnboardingDetailPageSkeleton-BgY95XeU-Dah0hLGQ.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-BsKoqUta-BSSSviGT.js → CustomerOnboardingNoStepsPage-BsKoqUta-D3bS1mcO.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-DUMQKVfM-BQ_3ahBW.js → CustomerOnboardingPage-DUMQKVfM-C7dz_0GY.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-DGVV8Tkk-CXq_43y8.js → CustomerOnboardingProductSuitePage-DGVV8Tkk-CiyIz1Ai.js} +5 -5
  56. package/dist/assets/{Dashboard-CdYlvep--BOQlMB6O.js → Dashboard-CdYlvep--B2Vkh5DQ.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-c6q027Qp-CEv30LzY.js → DashboardReportPage-c6q027Qp-B9wSLZAf.js} +16 -16
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-BdDVYK19-CIZN44Ie.js → DashboardSidebarBackgroundAnimation-BdDVYK19-COjDYEak.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-D8kL8enp-DsKpkg7T.js → DepositAccTransactionItem-D8kL8enp-J-22cTZM.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-BS-OReem-B9dYkMDH.js → DepositAccTransactionListPage-BS-OReem-Daf8x2X1.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-CjM1DXnn-CE0TmGGK.js → DomesticWireDetailsPage-CjM1DXnn-ByLr_bfJ.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-Dr4uLNpZ-IlzYnrMA.js → DownloadOverlay-Dr4uLNpZ-PWDmhVak.js} +38 -38
  63. package/dist/assets/{DrawerPage-CbKBsc7w-C-goZ7Of.js → DrawerPage-CbKBsc7w-BANqCEyN.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-BgsR09q8-DKcwe5Om.js → EditPeoplePage-BgsR09q8-DQro3ypx.js} +3 -3
  65. package/dist/assets/{EditReimbursementDetailPage-BTrwOX_s-CPvDWqQm.js → EditReimbursementDetailPage-BTrwOX_s-Bpc20RR2.js} +25 -25
  66. package/dist/assets/{EntityDetailPage-Cvd4MG0F-nlXXz9VB.js → EntityDetailPage-Cvd4MG0F-Uu1ExrMV.js} +1 -1
  67. package/dist/assets/{EntitySummarySection-BIV9aAq2-0J_nJAr8.js → EntitySummarySection-BIV9aAq2-CUHksODf.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-B5MtjO2p-Vj6NPROh.js → ExpenseAutomationOverviewPage-B5MtjO2p-B5sSDEu8.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-DW6Pxoah-CB3Tfm3S.js → ExpenseAutomationPage-DW6Pxoah-DpT-FAIA.js} +62 -62
  70. package/dist/assets/{ExpressPayPage-DnpQuDmt-BosPEUCq.js → ExpressPayPage-DnpQuDmt-CY033VTz.js} +5 -5
  71. package/dist/assets/{FeaturePreviewPage-BmwBZ7ZP-DSVKcIYC.js → FeaturePreviewPage-BmwBZ7ZP-kerQig1g.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-B2I9SddL-J1soan6Z.js → FollowStepsSection-B2I9SddL-BxrnE678.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-D3GCP5Xd-CGt9cYLb.js → GlobalReviewListPage-D3GCP5Xd-Bht9J0K_.js} +6 -6
  74. package/dist/assets/{InformationCardStack-mEhasBqu-BANEJOaT.js → InformationCardStack-mEhasBqu-BZ_Gox0K.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-Mj7QcQnH-ZGIADW1_.js → InsightsCardStack-Mj7QcQnH-CT4vpE1x.js} +1 -1
  76. package/dist/assets/{InsightsSection-B3xD0SZ9-8NqkLzS9.js → InsightsSection-B3xD0SZ9-CKtY4Hiz.js} +1 -1
  77. package/dist/assets/{IntegrationsSettingsPage-CsI_agJB-DpD5mnNa.js → IntegrationsSettingsPage-CsI_agJB-CclnkA74.js} +1 -1
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-Dszmi69h-Dfu9jHvI.js → InternationalWireSwiftDetailsPage-Dszmi69h-BjjhlMpG.js} +1 -1
  79. package/dist/assets/{InternationalWireVerificationPage-DG9Enrpo-DWaY5PDJ.js → InternationalWireVerificationPage-DG9Enrpo-DEQAkYYx.js} +11 -11
  80. package/dist/assets/{InviteFormPage-DK6X9Zwi-BQ256tgK.js → InviteFormPage-DK6X9Zwi-DR66hPVd.js} +1 -1
  81. package/dist/assets/{InvitePageListView-CwKbcKlM-I7Ohbwjv.js → InvitePageListView-CwKbcKlM-BOO2EOMw.js} +32 -32
  82. package/dist/assets/{InvitePeoplePage-BqzJOjVI-BLUo4Jmn.js → InvitePeoplePage-BqzJOjVI-hAq8wZOI.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-CokNNkKu-Dv9862-R.js → InvoiceUploadSection-CokNNkKu-CL4OwcxH.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-CRtJDmrZ-BNG_ehsF.js → IssueChargeCardPage-CRtJDmrZ-CFmNSL2f.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-BhwrrtZX-NBqZDzVl.js → LabeledAddressValue-BhwrrtZX-BVe1F8jA.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-DzmwP7hP-BsQFVdWX.js → LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-B6ndrF2e-k3wZsE8I.js → LabeledControlledCheckBoxField-B6ndrF2e-LWUc8yBI.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-CfzLlkho-D0dzeF5z.js → LabeledCreatableSingleSelectField-CfzLlkho-CxZaZJZN.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-p3pI5qLu-BapUynJg.js → LabeledDocumentField-p3pI5qLu-I9C3lX6x.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-oQX33Fim-Dqqs8MYf.js → LabeledDropDownFormattedTextField-oQX33Fim-Bbplhays.js} +1 -1
  91. package/dist/assets/{LabeledText-Db46hFZY-J41ZQ_mQ.js → LabeledText-Db46hFZY-CvrCjgF_.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-BymSRQN9.js → LabeledUserSingleSelectWithSubtitlesField-B9Xx3bxn-f0PElM5i.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-Docjgj8Y-BRH41KM8.js → LabeledZeniRolesDropDownField-Docjgj8Y-C6xxx7IQ.js} +11 -11
  94. package/dist/assets/{LinkJETransactionPage-BZSRaZqY-BIj3-LRc.js → LinkJETransactionPage-BZSRaZqY-9NIG46T3.js} +6 -6
  95. package/dist/assets/{LockCardPage-KTyESoXL-CynH1u5U.js → LockCardPage-KTyESoXL-C_hGUeR9.js} +12 -12
  96. package/dist/assets/{LowBalancePopup-B0BDCEui-lDZBZxzO.js → LowBalancePopup-B0BDCEui-BMVW4mzF.js} +4 -4
  97. package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-C2ShsQ5E.js +1 -0
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CDB2igue-C6hTpHgJ.js → MagicLinkDomesticWireDetailsPage-CDB2igue-CMZ17cvq.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C2kxncrD-CjSbvmVH.js → MagicLinkInternationalWireDetailsPage-C2kxncrD-DZt4WyHf.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-DNVe2qMu-jvVb0tmX.js → MagicLinkSuccessPage-DNVe2qMu-BMSr-yiU.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-CWw516D8-CfrqLlUk.js → MagicLinkTitleSection-CWw516D8-CjWjg4GW.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-CugAM90r-CXu3j2VQ.js → MailingDetailsSection-CugAM90r-CMuXq6mA.js} +1 -1
  103. package/dist/assets/{Menu-CGN2qO6T-B9QNiLm_.js → Menu-CGN2qO6T-CKP1jX2H.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-CQUfVa0r-D8KvFo_x.js → MyBankConnectionsSettingsPage-CQUfVa0r-9xTXMtPS.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-TOQWRGjp-DjE457A_.js → MyPendingActivationChargeCardListPage-TOQWRGjp-DCcWmjzI.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-lCG03Uoh-Cjm9P5Re.js → MyProfileSettingsPage-lCG03Uoh-DnrGHNt2.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-DLLvivn4-WaKxMQjP.js → NavBarWithPicker-DLLvivn4-6K-3U9T7.js} +1 -1
  108. package/dist/assets/{NavigationArrow-B4j2t8Qu-D6OO4KlW.js → NavigationArrow-B4j2t8Qu-C8IxiTof.js} +1 -1
  109. package/dist/assets/{NavigationDots-DyMqwpgy-DNLVSzMW.js → NavigationDots-DyMqwpgy-DXf5bt3G.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-Bx7iBsCP-IP0KNY_t.js → NewGlobalMerchantPage-Bx7iBsCP-DGrKqfpE.js} +1 -1
  111. package/dist/assets/{NoDataChart-Ce1_TZ5w-5hIzERi0.js → NoDataChart-Ce1_TZ5w-BfNH_4T8.js} +1 -1
  112. package/dist/assets/{NoDataTable-l2T5Hw3t-B0z8hv-n.js → NoDataTable-l2T5Hw3t-Bh_N31mD.js} +1 -1
  113. package/dist/assets/{NotFoundPage-msdN-Eu6-DQAQsO37.js → NotFoundPage-msdN-Eu6-BKPOdh9t.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-_ovcjr8E-DrJTkLSs.js → NotificationSettingsPage-_ovcjr8E-Bj-DE2Dk.js} +15 -15
  115. package/dist/assets/{NotificationsListConfig-BJm7A9Mz-BeqhPVEF.js → NotificationsListConfig-BJm7A9Mz-Dg3_VsE9.js} +1 -1
  116. package/dist/assets/{NotificationsPage-Ddxb5kE0-CwY6pmpP.js → NotificationsPage-Ddxb5kE0-DzIBWdK5.js} +13 -13
  117. package/dist/assets/{OpExByVendorPage-BLAHey0l-xcBa1Yeo.js → OpExByVendorPage-BLAHey0l-neBDRa7k.js} +4 -4
  118. package/dist/assets/{OverlayContainerPage-CrZuT2Jj-D_iBtRRr.js → OverlayContainerPage-CrZuT2Jj-DMNYxA7f.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-B7Z73Sq--BhUvjEFj.js → PandLWithForecastPage-B7Z73Sq--BDluLKs7.js} +5 -5
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-pL7omrJk-DYJ63jM7.js → PaymentAccountSetupBillingAddressSection-pL7omrJk-Cgju1Qqc.js} +1 -1
  121. package/dist/assets/{PeoplePage-BHRFiM0D-CFVJOOEe.js → PeoplePage-BHRFiM0D-FOmgjcav.js} +1 -1
  122. package/dist/assets/{ProductsCarousel-D2bf_6Gb-BAq59KMZ.js → ProductsCarousel-D2bf_6Gb-NT7Dhd8p.js} +1 -1
  123. package/dist/assets/{PromoBaseCards-CI7UOpeY-Ux3ixF8F.js → PromoBaseCards-CI7UOpeY-DI52WXKx.js} +3 -3
  124. package/dist/assets/{QBOConnectionDialog-D7MeKn1t-DvScIKzD.js → QBOConnectionDialog-D7MeKn1t-DelTIGIf.js} +4 -4
  125. package/dist/assets/{QBOSetupSection-DWhfA4Xv-DJQNsbuL.js → QBOSetupSection-DWhfA4Xv-kSdJytyB.js} +7 -7
  126. package/dist/assets/{ReimbursementApprovalRuleDetailPage-C_dTOk5P-BzneGv9j.js → ReimbursementApprovalRuleDetailPage-C_dTOk5P-Dc_LvsYr.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRulesPage-B5lca4qx-opdeKE45.js → ReimbursementApprovalRulesPage-B5lca4qx-DAjvVIOI.js} +1 -1
  128. package/dist/assets/{ReimbursementDetailPage-COIRwy7i-BUmCrQMr.js → ReimbursementDetailPage-COIRwy7i-W0eUs7nE.js} +1 -1
  129. package/dist/assets/{ReimbursementPromoPage-Bjm0UHcm-rsVpHrAZ.js → ReimbursementPromoPage-Bjm0UHcm-Crjakfj5.js} +8 -8
  130. package/dist/assets/{ReimbursementSetUpPage-CMYR8CcH-Bc_PR4Gk.js → ReimbursementSetUpPage-CMYR8CcH-B6Pjnu_N.js} +4 -4
  131. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BDdhVfaz-Dz0KzTvk.js → ReimbursementsBulkReviewDrawerPage-BDdhVfaz-Qu76KNt7.js} +1 -1
  132. package/dist/assets/{ReloadCard-B2sJR97f-BIaVdWBP.js → ReloadCard-B2sJR97f-4aiyry-A.js} +1 -1
  133. package/dist/assets/{ReportTableViewSelector-_IO343vS-Bd9be2IV.js → ReportTableViewSelector-_IO343vS-DFegVWwX.js} +1 -1
  134. package/dist/assets/{ReportsPage-C-aQ1bdd-BbBsZ9pq.js → ReportsPage-C-aQ1bdd-DQkYUdHM.js} +5 -5
  135. package/dist/assets/{RevenueChart-Bgq6My4J-BiDvlJvs.js → RevenueChart-Bgq6My4J-Bd7qmjtO.js} +1 -1
  136. package/dist/assets/{ReviewDetailsPage-COx9R71r-BZZC_0cP.js → ReviewDetailsPage-COx9R71r-BNEXmQ6j.js} +1 -1
  137. package/dist/assets/{ReviewOverlay-CPU7RPiJ-Bs2eF6px.js → ReviewOverlay-CPU7RPiJ-LkDgAnlD.js} +1 -1
  138. package/dist/assets/{RoleWithToolTip-DSSGBzvw-w9nfatYk.js → RoleWithToolTip-DSSGBzvw-1jeqwzcs.js} +2 -2
  139. package/dist/assets/{ScheduleDetailsFixedAssetsPage-DKGBfhAM-Cgt85on9.js → ScheduleDetailsFixedAssetsPage-DKGBfhAM-DIiqwEOV.js} +3 -3
  140. package/dist/assets/{ScheduleDetailsPage-B-fKJ7Ct-Cn0um4-b.js → ScheduleDetailsPage-B-fKJ7Ct-DSkiCN2O.js} +3 -3
  141. package/dist/assets/{ScheduleSequenceTable-Dh_aT47H-DNxHXj-E.js → ScheduleSequenceTable-Dh_aT47H-BHM_c04w.js} +15 -15
  142. package/dist/assets/{ScreenRoutes-v_76HEQb.js → ScreenRoutes-DuXEW70Q.js} +48 -48
  143. package/dist/assets/{SetUpAccountSection-DrMCC1IY-DUMtEDGs.js → SetUpAccountSection-DrMCC1IY-D33epaX0.js} +4 -4
  144. package/dist/assets/{SignIn-Ij6tlYI5-Df2WXZVd.js → SignIn-Ij6tlYI5-DeE6t8Fq.js} +7 -7
  145. package/dist/assets/{SignInScreen-C4ZK30De.js → SignInScreen-LCpnq8M3.js} +1 -1
  146. package/dist/assets/{SpendManagementListViewPage-AI676Urw-EYS2bzVL.js → SpendManagementListViewPage-AI676Urw-DJru7ByR.js} +13 -13
  147. package/dist/assets/{SpendManagementPerTabPage-D79c3Xqh-B-bFDlPr.js → SpendManagementPerTabPage-D79c3Xqh-D8DfakVn.js} +1 -1
  148. package/dist/assets/{SpendManagementSection-BqWbsmBW-DKtanA-9.js → SpendManagementSection-BqWbsmBW-BhpclPa8.js} +7 -7
  149. package/dist/assets/{StatementItem-Aal79YaO-BQZc18ts.js → StatementItem-Aal79YaO-3cBWg-5i.js} +1 -1
  150. package/dist/assets/{StatementsPage-BG_pNQzc-CzvxwtLg.js → StatementsPage-BG_pNQzc-C7UMTTVJ.js} +1 -1
  151. package/dist/assets/{StatusSwitcher-DYRXaLvx-AQ5F23zs.js → StatusSwitcher-DYRXaLvx-GT20DbHu.js} +1 -1
  152. package/dist/assets/{SubTabSwitcher-C75XU1EG-C5X1b7VC.js → SubTabSwitcher-C75XU1EG-BZOngUzL.js} +1 -1
  153. package/dist/assets/{SummaryCard-DEnzgi31-DU7b1H9O.js → SummaryCard-DEnzgi31-BhOErS-o.js} +1 -1
  154. package/dist/assets/{TaskManagementPage-BacWm0wS-CxwBoTNG.js → TaskManagementPage-BacWm0wS-tQV5bDZ1.js} +12 -12
  155. package/dist/assets/{TimeRangeSwitcher-BOzR-0O6-EGXiDQ0Z.js → TimeRangeSwitcher-BOzR-0O6-8myc4JmX.js} +1 -1
  156. package/dist/assets/{TimeframeSwitcher-BVgI_VZw-BXU7EPFq.js → TimeframeSwitcher-BVgI_VZw-Re-kZX07.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcherWithToggle-CPVSAvFa-CHmXrP90.js → TimeframeSwitcherWithToggle-CPVSAvFa-Bg7OmG92.js} +1 -1
  158. package/dist/assets/{TopExCard-ImUx-vXr-CCfEzo-r.js → TopExCard-ImUx-vXr--haKJkNG.js} +1 -1
  159. package/dist/assets/{TopExDetailPage-Dg_8DQk8-ByzYxzfA.js → TopExDetailPage-Dg_8DQk8-4TF178rD.js} +2 -2
  160. package/dist/assets/{TransactionDetailPage-BzaDB50S-CcgKIVvo.js → TransactionDetailPage-BzaDB50S-CJmLmWoQ.js} +31 -31
  161. package/dist/assets/{TransactionList-DMd3dgoK-jIPFWuzK.js → TransactionList-DMd3dgoK-DFvlE42h.js} +5 -5
  162. package/dist/assets/{TransactionListBig-BxHqh8u6-Cd7KnFj9.js → TransactionListBig-BxHqh8u6-eMcF_DZh.js} +1 -1
  163. package/dist/assets/{TransactionListPage-CN9fZznd-k0wJ66Rn.js → TransactionListPage-CN9fZznd-DZJjs91-.js} +1 -1
  164. package/dist/assets/{TransactionVendorDetailPage-CykcquSh-X7txd8Uw.js → TransactionVendorDetailPage-CykcquSh-UwSp0CrJ.js} +1 -1
  165. package/dist/assets/{TransferDrawerPage-oV7ickRP-DK8yvBjK.js → TransferDrawerPage-oV7ickRP-yOers3_6.js} +1 -1
  166. package/dist/assets/{TreasuryOverviewPage-CECDKjNn-B51H5BQA.js → TreasuryOverviewPage-CECDKjNn-HTBJsJ5M.js} +1 -1
  167. package/dist/assets/{TreasuryPromoPage-Bgt7uGAE-BvHndp-i.js → TreasuryPromoPage-Bgt7uGAE-oIwaWu5X.js} +6 -6
  168. package/dist/assets/{TreasuryStatementsPage-QyWxshsI-vvKelSCQ.js → TreasuryStatementsPage-QyWxshsI-BxKUXQKE.js} +1 -1
  169. package/dist/assets/{TreasuryTaxLetterPage-BLmfU0VD-Bk_hdnHl.js → TreasuryTaxLetterPage-BLmfU0VD-CZkFVEWV.js} +1 -1
  170. package/dist/assets/{TrendChart-C_6ob-SX-m0EmlBC5.js → TrendChart-C_6ob-SX-BWR7UfmP.js} +2 -2
  171. package/dist/assets/{TrendWithTransactions-lMD2sZ-C-XUwPuFCO.js → TrendWithTransactions-lMD2sZ-C-B_BL8w82.js} +1 -1
  172. package/dist/assets/{UncategorizedAccountsMappingPage-DEgz17_R-C8HrLzdo.js → UncategorizedAccountsMappingPage-DEgz17_R-CooBTMrf.js} +7 -7
  173. package/dist/assets/{UnitIntegrationPage-D9Pzxqju-C2A5K_Pc.js → UnitIntegrationPage-D9Pzxqju-CvrKT10L.js} +1 -1
  174. package/dist/assets/{UploadAdditionalDocumentOverlay-CJYvOjh0-D58Kj8VW.js → UploadAdditionalDocumentOverlay-CJYvOjh0-D-S1zfGQ.js} +1 -1
  175. package/dist/assets/{Vendor2FAPopup-D-r0NVE--CH70A67b.js → Vendor2FAPopup-D-r0NVE--CwiNcgO0.js} +1 -1
  176. package/dist/assets/{VendorACHDetailsPage-Dv6bTD6Y-EAp4jOT9.js → VendorACHDetailsPage-Dv6bTD6Y-13eGKSpU.js} +1 -1
  177. package/dist/assets/{VendorDetailPage-BhfawsBd-X9ppQyZg.js → VendorDetailPage-BhfawsBd-Caqe1lVz.js} +11 -11
  178. package/dist/assets/{VendorDomesticWireDetailsPage-BjmlrfTQ-B1OQJ-PX.js → VendorDomesticWireDetailsPage-BjmlrfTQ-t6Qb8_Zl.js} +1 -1
  179. package/dist/assets/{VendorFiling1099EditablePage-glvi0GTU-Db8a7MT5.js → VendorFiling1099EditablePage-glvi0GTU-Ctoy4jdk.js} +7 -7
  180. package/dist/assets/{VendorFirstReviewPage-DUuUM8ZT-D91xrJnc.js → VendorFirstReviewPage-DUuUM8ZT-CU9frkxN.js} +23 -23
  181. package/dist/assets/{VendorInternationalWireDetailsPage--Lb-TviQ-YoEXSyjJ.js → VendorInternationalWireDetailsPage--Lb-TviQ-DUgeyPBL.js} +13 -13
  182. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-C6KviV2Z-BZwXuirg.js → VendorInternationalWireSwiftDetailsPage-C6KviV2Z-CuCByIJB.js} +1 -1
  183. package/dist/assets/{VendorsAccountsSection-EmHO3wQ0-Co8ekhdh.js → VendorsAccountsSection-EmHO3wQ0-CSPWzKcg.js} +2 -2
  184. package/dist/assets/{VerifyDevice-DE3UbLEe-CyUiyNY7.js → VerifyDevice-DE3UbLEe-DJm7Kfur.js} +1 -1
  185. package/dist/assets/{VideoPlayer-Gw_PLr8F-B2qovwmK.js → VideoPlayer-Gw_PLr8F-BcD3Qyt1.js} +2 -2
  186. package/dist/assets/{VideoPopup-DPZYhLgy-B-KPrxJA.js → VideoPopup-DPZYhLgy-CJt98Dbq.js} +1 -1
  187. package/dist/assets/{WarningsDrawerPage-CZvToguS-XDiwFZJB.js → WarningsDrawerPage-CZvToguS-Ba7pscqf.js} +1 -1
  188. package/dist/assets/{ZeniAccountDetailPage-CQhqngBz-CENmz8Ua.js → ZeniAccountDetailPage-CQhqngBz-CmRc3epW.js} +6 -6
  189. package/dist/assets/{ZeniAccountListViewPage-CpX8vqYa-CK8_GdHY.js → ZeniAccountListViewPage-CpX8vqYa-CrcimjI_.js} +5 -5
  190. package/dist/assets/{ZeniAccountNavBarPieces-DsUwG15z-Di--PMn-.js → ZeniAccountNavBarPieces-DsUwG15z-DiPlFFTl.js} +1 -1
  191. package/dist/assets/{ZeniAccountPromoPage-DA611IgH-iuu7zQBs.js → ZeniAccountPromoPage-DA611IgH-CipxvQgU.js} +1 -1
  192. package/dist/assets/{ZeniAccountSetupPage-CJv2Fk1i-5fsPz9xO.js → ZeniAccountSetupPage-CJv2Fk1i-BEZSbbPm.js} +3 -3
  193. package/dist/assets/{ZeniCopyright-FFqiWypL-Cm4f2TI5.js → ZeniCopyright-FFqiWypL-DiiU36pR.js} +1 -1
  194. package/dist/assets/{ZeniTransferAmountSlider-DSrBZUbA-BloT7n7Q.js → ZeniTransferAmountSlider-DSrBZUbA-BFqVxMPD.js} +1 -1
  195. package/dist/assets/{analytics-CThNEnNw.js → analytics-XaDXTZcq.js} +1 -1
  196. package/dist/assets/{analyticsHelper-lLrERKZn.js → analyticsHelper-CPNXs_BN.js} +1 -1
  197. package/dist/assets/{analyticsHelper-CczQLvkM-Bib0YVO4.js → analyticsHelper-CczQLvkM-BG3MqU2b.js} +1 -1
  198. package/dist/assets/{chartTypes-CwQl8aoN-BQd1i_cE.js → chartTypes-CwQl8aoN-DVag5uGx.js} +1 -1
  199. package/dist/assets/{commonDimensions-B1u_MhON-NVIOlvy5.js → commonDimensions-B1u_MhON-D3_HfKhE.js} +1 -1
  200. package/dist/assets/{dash.all.min-BUPngCw6.js → dash.all.min-DBAY9LgI.js} +1 -1
  201. package/dist/assets/{detailCommon-nYxvvV_i-DTtGx6HY.js → detailCommon-nYxvvV_i-CatRpXM4.js} +1 -1
  202. package/dist/assets/{downloadPdf-yGlKpV2--BfE42mHv.js → downloadPdf-yGlKpV2--PjZSq5HD.js} +1 -1
  203. package/dist/assets/{epic-Bko4IStj.js → epic-BLwHhkRJ.js} +2 -2
  204. package/dist/assets/{index-KtBRorGi.js → index-CEtuJXY3.js} +1 -1
  205. package/dist/assets/{index-BxXAQ-Kq.js → index-CdTBIE6I.js} +1 -1
  206. package/dist/assets/{index-BP8jc2MZ.js → index-Ci63exms.js} +6 -6
  207. package/dist/assets/{index-BV-YAw0P.js → index-DYDdrdFx.js} +1 -1
  208. package/dist/assets/{index-CwsnnJzI.js → index-DrmeEdvK.js} +1 -1
  209. package/dist/assets/{liveblocks-B3KbWbMM.js → liveblocks-CNYVvsag.js} +1 -1
  210. package/dist/assets/{lottie-CaGAfnTY.js → lottie-22bRan8M.js} +1 -1
  211. package/dist/assets/{mapLoadingInProgressToTreeNode-DIAuL28N-C-4Ag6Dq.js → mapLoadingInProgressToTreeNode-DIAuL28N-uQ9ZpPGq.js} +1 -1
  212. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DRSmQ56_-CSRhLO-g.js → mapSectionWithAcOnlyToTreeNode-DRSmQ56_-BfuaGrUM.js} +1 -1
  213. package/dist/assets/{mapSpacerToTreeNode-DOEVwUIo-FsL3Wvr0.js → mapSpacerToTreeNode-DOEVwUIo-DiQ0KiMB.js} +1 -1
  214. package/dist/assets/{mapTimeframeBalancesToTreeNode-DbnAvW1M-DM4HsE8s.js → mapTimeframeBalancesToTreeNode-DbnAvW1M-DvZ_ljbo.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-DkrEWOxt-CGsx1h8W.js → mapTimeframeBalancesToTreeNode-DkrEWOxt-u1VbFdjk.js} +1 -1
  216. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-CSuR34Jn.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BucoS7vN-DJb78S-u.js} +1 -1
  217. package/dist/assets/{react-C2wGlvWj.js → react-BUQtf2po.js} +2 -2
  218. package/dist/assets/{recharts-CXSQ4XPK.js → recharts-h5iNQbFd.js} +1 -1
  219. package/dist/assets/{sentry-DxvQlcJu.js → sentry-cYFeB6Pw.js} +1 -1
  220. package/dist/assets/{toCOABalancesWithID-rZFEkHuM-CHyvHGmW.js → toCOABalancesWithID-rZFEkHuM-BjqaEj9u.js} +1 -1
  221. package/dist/assets/{toChartData-C-dHC-Oz-C2z1PJfR.js → toChartData-C-dHC-Oz-CLJWjMkx.js} +1 -1
  222. package/dist/assets/{uploadAttachment-D3clfqPu-vNbeEBN-.js → uploadAttachment-D3clfqPu-NbmOED_L.js} +15 -15
  223. package/dist/assets/{uploadReceipts-Bkf_PaOH-DRTWmNKJ.js → uploadReceipts-Bkf_PaOH-DuaAGaHX.js} +1 -1
  224. package/dist/assets/{url-DuX7Wo4B.js → url-B-8T_WZb.js} +1 -1
  225. package/dist/assets/{url-y5lCWhwX.js → url-DPKHmOp_.js} +1 -1
  226. package/dist/assets/{utils-C70QTjQC.js → utils-fBOyu0sO.js} +1 -1
  227. package/dist/assets/{zeni-epic-state-xFtF3OLs.js → zeni-epic-state-BwKvATgd.js} +5 -5
  228. package/dist/index.html +1 -1
  229. package/package.json +3 -3
  230. package/dist/assets/ApprovalRulesSettingsPage-DQQw30S5-p4f66PTl.js +0 -47
  231. package/dist/assets/CustomerOnboardingContainerPage-DMZOvVMM-BzRvblFe.js +0 -1
  232. package/dist/assets/MagicLinkACHDetailsPage-DwFvuGwG-DX8NF4Kz.js +0 -1
@@ -1,4 +1,4 @@
1
- import{d as Ie,Q as Be,a7 as De,aN as M,a8 as Ue,cB as ze,F as _e,aS as G,V as t,f6 as Re,p as $e,y as r,bz as Le,A as We,ab as Ne,fp as qe,dR as He,fq as Me,iF as Q,o as U,b as Ge,bu as Qe,aO as Je,fs as Ke,u as o,ak as Xe}from"./index-BP8jc2MZ.js";import{a as p}from"./core-3dlyNYRL.js";import{n as S}from"./mui-bYXq4XMS.js";import{bM as Ye}from"./zeni-epic-state-xFtF3OLs.js";import{x as Ze}from"./LabeledControlledCheckBoxField-B6ndrF2e-k3wZsE8I.js";import{g as et}from"./UploadAdditionalDocumentOverlay-CJYvOjh0-D58Kj8VW.js";import"./sentry-DxvQlcJu.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,o[5],o[5]),sectionRowGap:new r(o[5],o[9],o[9]),iconWidthHeight:new r(20,o[4]),subTitlePaddingTop:new r(12,o[3]),subTitlePaddingBottom:new r(o[3],o[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(o[1],o[0])},J="chargeCardSetUpPage",f="payAccount",{commonSetUp:tt,spendManagement:nt}=_e.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:z}=tt,xt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:g,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:E,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:fe,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:A,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Ae})=>{const h=Ie(),i=Be(),v=De().analytics,[P,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:_,isRefreshingViewInBackground:Pe,updateStatus:d,accountUpdateStatus:we,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:F,companyDebitCardInfo:R,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:$}=a,L=M(b),w=M(d.fetchState),O=Ue({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>K(a),[a]),values:K(a)}),Ee=O.handleSubmit(se),ve=async(C,k)=>{const n=k[f];if(C.includes(f))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=$.find(D=>D.id===n.fundingAccount.selectedOption);u!=null&&pe(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(D=>D.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&v.trackConnectBankLink(u.value,u.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else C.includes("enableAutoPay")&&n.enableAutoPay!=null&&me(n.enableAutoPay)};p.useEffect(()=>{const C=O.watch((k,{name:n})=>{n!=null&&k!=null&&ze(()=>ve(n,k))});return()=>{C.unsubscribe()}}),p.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),P&&L==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,L]),p.useEffect(()=>{w==="In-Progress"&&d.fetchState==="Completed"&&A()},[A,w,d.fetchState]);const V=F?.isChargeCardEnabled===!0,j=R?.isDebitCardEnabled===!0,W=R?.isDebitCardTOSAccepted===!0,N=F?.isChargeCardTOSAccepted===!0,q=_?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),I=E?q:q&&Fe,Oe=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{w==="In-Progress"&&d.fetchState==="Completed"&&A()},[A,w,d.fetchState]);const B=E?I&&!j&&W:ie?I&&!V&&N:I&&!(V&&j)&&N&&W,Ve=B?m.setupSubTitleNotEnabled:m.setupSubTitle,H=h.mode==="light"?new G(h.colors.brandColorJadeLight):new G(h.colors.brandColorJadeDark),je=()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(at,{children:[t.jsx(Re,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:P,onClose:()=>y(!1),style:{backgroundColor:$e.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:d,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe})}),t.jsx(Le,{title:m.setupTitle,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!V&&!j&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:Ve}),Oe?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...O,children:t.jsx("form",{id:X(J),onSubmit:Ee,children:t.jsxs(st,{windowSize:i,children:[t.jsx(qe,{onClick:je,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:_?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),E?null:t.jsx(Me,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:$,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:f,isDisabled:x,onFetchLinkTokenClick:oe,onEstablishConnectionClick:fe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:v,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Ae,pageName:m.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:g?{marginBottom:"20px"}:{},bottomComponent:g&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:h.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:Q(f,"enableAutoPay"),checkBoxValue:Q(f,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),B?t.jsx(Je,{formId:X(J),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||we.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${U.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:B,meetingUrl:T,analytics:v,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:g}=e;return{[f]:{fundingAccount:{selectedOption:g?.id,allOptions:T.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:g?.zeniAccountId,allOptions:x.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=S.div`
1
+ import{d as Ie,Q as Be,a7 as De,aN as M,a8 as Ue,cB as ze,F as _e,aS as G,V as t,f6 as $e,p as Le,y as r,bz as Re,A as We,ab as Ne,fp as qe,dM as He,fq as Me,iF as Q,o as U,b as Ge,bu as Qe,aO as Je,fs as Ke,u as o,ak as Xe}from"./index-Ci63exms.js";import{a as p}from"./core-3dlyNYRL.js";import{n as S}from"./mui-bYXq4XMS.js";import{bM as Ye}from"./zeni-epic-state-BwKvATgd.js";import{x as Ze}from"./LabeledControlledCheckBoxField-B6ndrF2e-LWUc8yBI.js";import{g as et}from"./UploadAdditionalDocumentOverlay-CJYvOjh0-D-S1zfGQ.js";import"./sentry-cYFeB6Pw.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,o[5],o[5]),sectionRowGap:new r(o[5],o[9],o[9]),iconWidthHeight:new r(20,o[4]),subTitlePaddingTop:new r(12,o[3]),subTitlePaddingBottom:new r(o[3],o[3]),overlayWidth:new r(100,100,59),checkBoxTop:new r(o[1],o[0])},J="chargeCardSetUpPage",f="payAccount",{commonSetUp:tt,spendManagement:nt}=_e.getLocalizedStrings(),{chargeCard:Y}=nt,{chargeCardSetUp:m}=Y,{setUp:z}=tt,xt=({autoPayThreshold:e,isDisabled:x,meetingUrl:T,isEarlyPayEnabled:g,chargeCardSetUpView:a,connectedAccountProvider:Z,filesEndPoint:ee,authParams:te,isAccountsEnabled:ne,isDebitCardOnlyEnabled:E,isCreditCardOnlyEnabled:ie,accountsPromoConfig:ae,onFetchLinkTokenClick:oe,onBackClick:ce,onEnableChargeCardClick:se,onUpdateChargeCardClick:le,onBusinessVerificationSectionClick:re,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,onUpdatePrimaryFundingAccount:pe,onUpdateAutoPayClick:me,onEstablishConnectionClick:fe,onEstablishConnectionSuccess:ge,onClickMenuIcon:he,onEnableChargeCardSuccess:A,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe,onSignUpClick:Ae})=>{const h=Ie(),i=Be(),v=De().analytics,[P,y]=p.useState(!1),{fetchState:b,companyBillPayInfo:_,isRefreshingViewInBackground:Pe,updateStatus:d,accountUpdateStatus:we,plaidConnectionDetails:ke,allBankAccounts:Te,companyChargeCardInfo:F,companyDebitCardInfo:$,selectedCompanyOfficer:s,primaryFundingAccount:l,allFundingAccounts:L}=a,R=M(b),w=M(d.fetchState),O=Ue({mode:"all",reValidateMode:"onChange",defaultValues:p.useMemo(()=>K(a),[a]),values:K(a)}),Ee=O.handleSubmit(se),ve=async(C,k)=>{const n=k[f];if(C.includes(f))if(C.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&l?.id!=n.fundingAccount.selectedOption){const u=L.find(D=>D.id===n.fundingAccount.selectedOption);u!=null&&pe(n.fundingAccount.selectedOption,u.accType)}}else if(n.account.selectedOption!=null&&l?.id!=null&&l?.zeniAccountId!=n.account.selectedOption){const u=n.account.allOptions.find(D=>D.value===n.account.selectedOption);u!=null&&typeof u.label=="string"&&v.trackConnectBankLink(u.value,u.label,"charge_cards"),le(n.account.selectedOption,l.id,l.accType)}else C.includes("enableAutoPay")&&n.enableAutoPay!=null&&me(n.enableAutoPay)};p.useEffect(()=>{const C=O.watch((k,{name:n})=>{n!=null&&k!=null&&ze(()=>ve(n,k))});return()=>{C.unsubscribe()}}),p.useEffect(()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"&&y(!0),P&&R==="In-Progress"&&b==="Completed"&&y(!1)},[s,b,R]),p.useEffect(()=>{w==="In-Progress"&&d.fetchState==="Completed"&&A()},[A,w,d.fetchState]);const V=F?.isChargeCardEnabled===!0,j=$?.isDebitCardEnabled===!0,W=$?.isDebitCardTOSAccepted===!0,N=F?.isChargeCardTOSAccepted===!0,q=_?.isBusinessVerified===!0,Fe=l?.accType==="depositAccount"||Ye(l?.providerVerificationStatus?.code??""),I=E?q:q&&Fe,Oe=b==="In-Progress"||b==="Not-Started";p.useEffect(()=>{w==="In-Progress"&&d.fetchState==="Completed"&&A()},[A,w,d.fetchState]);const B=E?I&&!j&&W:ie?I&&!V&&N:I&&!(V&&j)&&N&&W,Ve=B?m.setupSubTitleNotEnabled:m.setupSubTitle,H=h.mode==="light"?new G(h.colors.brandColorJadeLight):new G(h.colors.brandColorJadeDark),je=()=>{!P&&s?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&s.areAdditionalDocumentsRequestedForVerification&&!s.areAdditionalDocumentsSubmittedForVerification&&s.userVerificationStatus?.code==="require_info"?y(!0):re?.()};return t.jsxs(at,{children:[t.jsx($e,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:P,onClose:()=>y(!1),style:{backgroundColor:Le.drawerBackground},transitionDuration:250,children:t.jsx(et,{authParams:te,filesEndPoint:ee,updateStatus:d,onEditFileName:ye,onDeleteFile:be,updateFilesEntity:Ce,companyOfficer:s,onClose:()=>y(!1),onCompanyOfficerUpdated:Se,onSendForVerificationClick:xe})}),t.jsx(Re,{title:m.setupTitle,backgroundColor:h.colors.grey4,style:{zIndex:3},onBackClick:ce,showMenuIcon:!V&&!j&&(i==="medium-compact"||i==="small"),onClickMenuIcon:he,source:"ChargeCardSetupPage"}),t.jsxs(it,{windowSize:i,children:[t.jsx(ot,{windowSize:i,children:Ve}),Oe?t.jsx(ct,{children:t.jsx(We,{size:"ExtraLarge",start:!0})}):t.jsx(Ne,{...O,children:t.jsx("form",{id:X(J),onSubmit:Ee,children:t.jsxs(st,{windowSize:i,children:[t.jsx(qe,{onClick:je,title:z.businessVerificationTitle,subTitle:z.businessVerificationSubTitle,header:z.businessVerificationHeader,icon:{element:t.jsx(He,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},status:_?.businessVerificationStatus,isLoading:Pe,isActiveWhileLoading:!0}),E?null:t.jsx(Me,{connectedAccountProvider:Z,primaryFundingAccount:l,allFundingAccounts:L,plaidConnectionDetails:ke,allBankAccounts:Te,sectionId:f,isDisabled:x,onFetchLinkTokenClick:oe,onEstablishConnectionClick:fe,onUpdatePaymentAccountStatus:de,onUpdatePaymentAccountLoginStatus:ue,sectionTitle:m.setupAccountSectionTitle,onEstablishConnectionSuccess:ge,icon:{element:t.jsx(Qe,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:H},analytics:v,productType:"charge_cards",isAccountsEnabled:ne,onSignUpClick:Ae,pageName:m.pageName,accountsPromoConfig:ae,accountSelectContainerStyle:g?{marginBottom:"20px"}:{},bottomComponent:g&&t.jsx(Ze,{label:{label:Y.payEarly.enableAutoPay.replace("__autoPayThreshold__",e.toString()),style:{color:h.colors.primary,...Ge.smallRegular.cssObject,alignItems:"center"}},style:{width:"unset",marginRight:U.sp4,marginTop:U.sp1,alignItems:i==="small"?"flex-start":"center"},checkBoxField:{name:Q(f,"enableAutoPay"),checkBoxValue:Q(f,"enableAutoPay"),defaultChecked:F?.isAutoPayEnabled,style:{top:c.checkBoxTop.valuePx(i)}}})})]})})})]}),B?t.jsx(Je,{formId:X(J),primaryBtn:{label:m.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:d.fetchState==="In-Progress"||we.fetchState==="In-Progress",isDisabled:x!=null},showCancel:!1,cancelBtn:{label:""},style:{padding:`12px ${U.sp3}`}}):null,t.jsx(Ke,{isFooterRendered:B,meetingUrl:T,analytics:v,productType:"charge_cards"})]})},K=e=>{const{allBankAccounts:x,allFundingAccounts:T,primaryFundingAccount:g}=e;return{[f]:{fundingAccount:{selectedOption:g?.id,allOptions:T.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))},account:{selectedOption:g?.zeniAccountId,allOptions:x.map(a=>({label:a.accountName,value:a.accountId}))},enableAutoPay:e.companyChargeCardInfo?.isAutoPayEnabled}}},X=e=>`${e}_form`,it=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -1,4 +1,4 @@
1
- import{d as F,Q as T,V as t,bz as W,F as B,o as h,y as w,ak as R,b7 as O,a7 as V,hD as q,aK as J,A as K,u as s,c0 as Q}from"./index-BP8jc2MZ.js";import{n as i}from"./mui-bYXq4XMS.js";import{$ as U,g as Z}from"./BoxItem-8PfNfaHq-6bFTfHVl.js";import{a as _}from"./core-3dlyNYRL.js";import{w as G}from"./downloadPdf-yGlKpV2--BfE42mHv.js";import"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./commonDimensions-B1u_MhON-NVIOlvy5.js";const Y=B.getLocalizedStrings().months,D={downloadButtonSize:new w(s[4],20)},H=i.div`
1
+ import{d as F,Q as T,V as t,bz as W,F as B,o as h,y as w,ak as R,b7 as O,a7 as V,hD as q,aK as J,A as K,u as s,c0 as Q}from"./index-Ci63exms.js";import{n as i}from"./mui-bYXq4XMS.js";import{$ as U,g as Z}from"./BoxItem-8PfNfaHq-CqIGaIYz.js";import{a as _}from"./core-3dlyNYRL.js";import{w as G}from"./downloadPdf-yGlKpV2--PjZSq5HD.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./commonDimensions-B1u_MhON-D3_HfKhE.js";const Y=B.getLocalizedStrings().months,D={downloadButtonSize:new w(s[4],20)},H=i.div`
2
2
  display: flex;
3
3
  padding: ${h.sp3} ${h.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{Q as U,V as t,aK as $,hB as pe,F as ee,aL as M,n as G,o,aO as he,y as l,_ as oe,c as ue,b7 as me,E as te,ag as ge,ak as F,aN as xe,a8 as ke,cB as fe,p as w,ab as De,g7 as $e,cE as we,eT as K,cL as Q,u as s,fk as be,cf as ye,bZ as je,d6 as Le,hm as Pe,al as q,ho as Se}from"./index-BP8jc2MZ.js";import{a as f}from"./core-3dlyNYRL.js";import{n as a}from"./mui-bYXq4XMS.js";import"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",I=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,Be=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:ze,common:R}=ee.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=R.documents;function Ee({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:L,onEditFileName:P,onCheckDpositClick:T}){const r=U(),n=e.fetchState,S=xe(n),[v,_]=f.useState(!1),[se,B]=f.useState(!1),z=u.largeLabelWidth.value(r),k=ke({mode:"all",reValidateMode:"onBlur",defaultValues:I(e),values:I(e)}),{isValid:re}=k.formState,J=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:R.currency.currencyCode,currencySymbol:R.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);J(h)}};f.useEffect(()=>{const i=k.watch((d,{name:h})=>{h!=null&&d!=null&&fe(()=>ce(h,d))});return()=>{i.unsubscribe()}}),f.useEffect(()=>{S==="Completed"&&n==="Not-Started"&&k.reset(I(e))},[S,n,k,e]),f.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=k.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=k.getValues();J(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(E=>E.id===i),A=e.depositAccounts.depositAccounts.findIndex(E=>E.id===i);return h?t.jsx(Re,{color:Pe(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(W,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(W,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Ge,{}),t.jsxs(Ke,{children:[t.jsx(Qe,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(Je,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Ye,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...k,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(Ze,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Xe,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(He,{size:r,children:[t.jsxs(Ue,{size:r,children:[t.jsx(Ie,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(Y,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(K,{name:`${D(g,V)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:Q,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:L,onFileSizeError:i=>_(i),onEditFileName:P,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(Y,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(K,{name:`${D(g,V)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:Q,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:L,onFileSizeError:i=>_(i),onEditFileName:P,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ie=a(F)`
1
+ import{Q as U,V as t,aK as $,hB as pe,F as ee,aL as M,n as G,o,aO as he,y as l,_ as oe,c as ue,b7 as me,E as te,ag as ge,ak as F,aN as xe,a8 as ke,cB as fe,p as w,ab as De,g7 as $e,cE as we,eP as K,cL as Q,u as s,fk as be,cf as ye,bZ as je,eX as Pe,hm as Le,al as q,ho as Se}from"./index-Ci63exms.js";import{a as f}from"./core-3dlyNYRL.js";import{n as a}from"./mui-bYXq4XMS.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";const ve="checkDepositDetailPage",g="checkDepositDetails",Fe="amount",Ce="depositTo",Te="source",ie="fileIds",V="selectDocument",I=e=>{const p=[];return e.checkFront!=null&&p.push(e.checkFront.fileId),e.checkBack!=null&&p.push(e.checkBack.fileId),{[g]:{[Fe]:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,[Te]:e.checkDepositLocalData.source,[Ce]:{allOptions:e.depositAccounts.depositAccounts.map(x=>({label:x.accountName,value:x.id})),selectedOption:e.checkDepositLocalData.depositTo?.id},[ie]:p,[V]:{front:e.checkFront,back:e.checkBack}}}},D=(e,p)=>`${e}.${p}`,Be=e=>`${e}_form`,u={largeLabelWidth:new l(160,160,160),rowContentPaddingLeft:new l(s[3],s[4]),checkPicRowContentPaddingXAxis:new l(s[3],s[4]),labeleMarginLeft:new l(s[0],s[0]),labeleMarginBottom:new l(s[2],s[0]),labelMarginRight:new l(s[3],s[3]),labeledFieldPaddingLeft:new l(s[3],s[0]),labeledFieldPaddingRight:new l(s[3],s[2]),labeledFieldPaddingTop:new l(s[3],s[3]),labeledFieldPaddingBottom:new l(s[3],s[2]),infoLabelPaddingRight:new l(s[0],s[3]),infoLabelMarginTop:new l(s[1],s[0])},{spendManagement:ze,common:R}=ee.getLocalizedStrings(),c=ze.zeniAccounts.zeniAccountList,Ae=R.documents;function Ee({checkDeposit:e,analytics:p,filesEndPoint:x,openPopup:b,authParams:y,onSaveChangesToLocalStore:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:L,onCheckDpositClick:T}){const r=U(),n=e.fetchState,S=xe(n),[v,_]=f.useState(!1),[se,B]=f.useState(!1),z=u.largeLabelWidth.value(r),k=ke({mode:"all",reValidateMode:"onBlur",defaultValues:I(e),values:I(e)}),{isValid:re}=k.formState,J=i=>{const d={amount:{amount:i[g].amount??0,currencyCode:R.currency.currencyCode,currencySymbol:R.currency.currencySymbol},source:i[g].source,depositTo:e.depositAccounts.depositAccounts.find(h=>h.id===i[g].depositTo.selectedOption),fileIds:i[g][ie]};C(d)},ce=async(i,d)=>{if(i!=null){if(i.includes("source")||i.includes("amount"))return;const h=Object.assign({},d);J(h)}};f.useEffect(()=>{const i=k.watch((d,{name:h})=>{h!=null&&d!=null&&fe(()=>ce(h,d))});return()=>{i.unsubscribe()}}),f.useEffect(()=>{S==="Completed"&&n==="Not-Started"&&k.reset(I(e))},[S,n,k,e]),f.useEffect(()=>{e.error!=null?B(!0):B(!1)},[e.error]);const le=k.handleSubmit(()=>{if(re){p.trackAccountsDepositCheckFormClicked("Deposit",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null);const i=k.getValues();J(i),T?.()}}),ne=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(E=>E.id===i),A=e.depositAccounts.depositAccounts.findIndex(E=>E.id===i);return h?t.jsx(Re,{color:Le(A),isSelectedValue:d}):null},de=(i,d)=>{if(!i)return null;const h=e.depositAccounts.depositAccounts.find(A=>A.id===i);return h?d===!0?t.jsx(Ve,{children:h?.maskedAccountNumber}):t.jsxs(Me,{children:[t.jsx(W,{children:h?.maskedAccountNumber}),t.jsx(to,{}),t.jsx(W,{children:M("0,0[.]00",h?.accountBalance?.available)})]}):null};return t.jsxs(t.Fragment,{children:[se?t.jsx(Oe,{children:t.jsxs(qe,{children:[t.jsxs(_e,{children:[t.jsx(Ge,{}),t.jsxs(Ke,{children:[t.jsx(Qe,{children:e.error?.title}),t.jsx(We,{children:e.error?.message})]})]}),t.jsx(Je,{children:t.jsx(ro,{"data-testid":$("check-deposit-form-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),B(!1)},style:{width:o.sp3,height:o.sp3,color:w.heroLight}})})]})}):null,t.jsx(Xe,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),t.jsx(De,{...k,children:t.jsx("form",{id:Be(ve),onSubmit:le,children:t.jsxs(Ze,{children:[t.jsx($e,{showAdditionalInfoLabel:!1,label:{label:c.checkDepositDrawer.amountLabel,width:z},formattedTextField:{type:"number",name:D(g,"amount"),defaultValue:e.checkDepositLocalData.amount.amount===0?void 0:e.checkDepositLocalData.amount.amount,placeholder:c.checkDepositDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:i=>!!i&&i>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}}),t.jsx(N,{}),t.jsx(we,{label:{label:c.checkDepositDrawer.sourceLabel,width:z},style:{width:"100%"},text:{type:"text",name:D(g,"source"),defaultValue:e.checkDepositLocalData.source,placeholder:c.checkDepositDrawer.sourcePlaceholder,options:{required:!0,validate:i=>i!=null}}}),t.jsx(N,{}),t.jsx(ae,{size:r,children:t.jsx(eo,{size:r,children:t.jsx(Ye,{label:{label:c.checkDepositDrawer.depositToLabel,width:z,style:{marginLeft:u.labeleMarginLeft.valuePx(r),marginBottom:u.labeleMarginBottom.valuePx(r),marginRight:u.labelMarginRight.valuePx(r)}},style:{paddingTop:u.labeledFieldPaddingTop.valuePx(r),paddingBottom:u.labeledFieldPaddingBottom.valuePx(r),paddingLeft:u.labeledFieldPaddingLeft.valuePx(r),paddingRight:u.labeledFieldPaddingRight.valuePx(r),border:"none",width:"100%",outline:"none",padding:0,display:r==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:r==="small"?"left":"right",paddingRight:u.infoLabelPaddingRight.valuePx(r),marginTop:u.infoLabelMarginTop.valuePx(r)},singleSelectPickerField:{valueToLogo:(i,d)=>ne(i,d),valueToSubLabels:(i,d)=>de(i,d),name:D(g,"depositTo"),placeholder:c.checkDepositDrawer.depositToPlaceholder,style:{position:"relative"},defaultValue:{selectedOption:e.checkDepositLocalData.depositTo?.id,allOptions:e.depositAccounts.depositAccounts.map(i=>({label:i.accountName,value:i.id}))},textAlignment:"right",registerOptions:{required:!0,validate:i=>!!(i!=null&&i.selectedOption)}}})})}),t.jsx(N,{}),t.jsxs(He,{size:r,children:[t.jsxs(Ue,{size:r,children:[t.jsx(Ie,{children:c.checkDepositDrawer.checkPicLabel}),t.jsx(X,{isLast:!1,children:c.checkDepositDrawer.frontSide}),t.jsx(K,{name:`${D(g,V)}.front`,registerOptions:{required:!0},file:e.checkFront,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:Q,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"front"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:L,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.frontSideError,useMobileCam:!0,compressImage:!0}),t.jsx(X,{isLast:!0,children:c.checkDepositDrawer.backSide}),t.jsx(K,{name:`${D(g,V)}.back`,registerOptions:{required:!0},file:e.checkBack,isDisabled:!1,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById,filesEndPoint:x,authParams:y,acceptableTypes:["image/jpg","image/jpeg"],supportedImageFileFormat:"image/jpeg",sizeLimit:Q,placeholderText:r==="small"?c.checkDepositDrawer.uploadDocument:c.checkDepositDrawer.dragDropClickPlaceholder,filemetadataPayload:{documentType:"check",purposeId:"others",documentSide:"back"},hasError:v,updateFilesEntity:j,onDeleteFile:P,onFileSizeError:i=>_(i),onEditFileName:L,openPopup:b,showPhotoPicker:!0,errorInfoLabel:c.checkDepositDrawer.backSideError,useMobileCam:!0,compressImage:!0}),t.jsx(io,{children:c.checkDepositDrawer.picGuides.map(i=>t.jsxs(ao,{children:[t.jsx(oo,{}),t.jsx(Ne,{children:i})]},i))})]}),t.jsx(so,{windowSize:r,children:Ae.formatJPGText10MB})]})]})})})]})}const Ie=a(F)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Ne=a(F)`
4
4
  color: ${e=>e.theme.colors.hero};
@@ -46,10 +46,10 @@ import{Q as U,V as t,aK as $,hB as pe,F as ee,aL as M,n as G,o,aO as he,y as l,_
46
46
  color: ${w.important};
47
47
  `,We=a(F)`
48
48
  color: ${w.important};
49
- `,Ye=a(je)`
49
+ `,Xe=a(je)`
50
50
  color: ${e=>e.theme.colors.primary};
51
51
  margin: ${o.sp5} ${o.sp0} ${o.sp3} ${o.sp0};
52
- `,Xe=a(Le)`
52
+ `,Ye=a(Pe)`
53
53
  border-radius: ${o.sp2};
54
54
  border: 1px solid ${e=>e.theme.colors.grey3};
55
55
  `,Ze=a.div`
@@ -100,7 +100,7 @@ import{Q as U,V as t,aK as $,hB as pe,F as ee,aL as M,n as G,o,aO as he,y as l,_
100
100
  display: flex;
101
101
  flex-grow: ${e=>e.size==="small"?1:0};
102
102
  align-items: flex-start;
103
- `,Y=a(q)`
103
+ `,X=a(q)`
104
104
  color: ${e=>e.theme.colors.hero};
105
105
  margin-bottom: ${o.sp2};
106
106
  margin-top: ${e=>e.isLast?o.sp3:o.sp0};
@@ -145,7 +145,7 @@ import{Q as U,V as t,aK as $,hB as pe,F as ee,aL as M,n as G,o,aO as he,y as l,_
145
145
  &:hover {
146
146
  color: ${e=>e.theme.colors.primary};
147
147
  }
148
- `,co="checkDepositDetailPage",lo={NavBarContainerPaddingYAxis:new l(10,s[3])},no=e=>`${e}_form`,O={containerPaddingLeft:new l(s[3],s[6],s[8]),containerPaddingRight:new l(s[3],s[6],s[8]),successContentMargin:new l(s[3],s[12])},{spendManagement:po}=ee.getLocalizedStrings(),m=po.zeniAccounts.zeniAccountList,Bo=({checkDeposit:e,analytics:p,filesEndPoint:x,authParams:b,onSaveChangesToLocalStore:y,onAnotherTransferClick:C,updateFilesEntity:j,onDeleteFile:L,onEditFileName:P,onCheckDpositClick:T,onDismissClick:r})=>{const n=U(),[S,v]=f.useState(!1);return t.jsx(go,{windowSize:n,children:e.fetchState==="Completed"?t.jsxs(X,{windowSize:n,children:[t.jsx(Z,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),t.jsxs(fo,{windowSize:n,children:[t.jsx(pe,{width:150,height:150,shouldDisplay:!0,animationInLoop:!0}),t.jsxs(xo,{children:[m.checkDepositDrawer.transferSuccessMsgPrefix,t.jsx(mo,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),m.checkDepositDrawer.transferSuccessMsgSuffix]}),t.jsxs(ko,{children:[t.jsx(G,{variant:"secondary",label:m.checkDepositDrawer.makeAnotherTransferBtn,onClick:C,"data-testid":$("check-deposit-drawer-another-transfer")}),t.jsx(G,{variant:"primary",label:m.checkDepositDrawer.goToAccountBtn,onClick:r,style:{marginLeft:n==="small"?o.sp3:o.sp5},"data-testid":$("check-deposit-drawer-go-to-account")})]})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(X,{windowSize:n,children:[t.jsx(Z,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),n==="small"?t.jsx(Do,{windowSize:n,children:m.checkDepositDrawer.title}):t.jsx($o,{children:m.checkDepositDrawer.title}),n==="small"?t.jsx(uo,{children:m.checkDepositDrawer.subTitle}):t.jsx(ho,{children:m.checkDepositDrawer.subTitle}),t.jsx(Ee,{analytics:p,authParams:b,checkDeposit:e,filesEndPoint:x,onSaveChangesToLocalStore:y,openPopup:v,onCheckDpositClick:T,onDeleteFile:L,onEditFileName:P,updateFilesEntity:j})]}),t.jsx(he,{formId:no(co),helperText:m.checkDepositDrawer.footNote,helperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},style:{zIndex:S?0:4,paddingTop:o.sp3,paddingBottom:o.sp3},primaryBtn:{label:m.checkDepositDrawer.depositBtn,isLoading:e.fetchState==="In-Progress"},cancelBtn:{label:m.checkDepositDrawer.cancelBtn,onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cancel",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}}})]})})},ho=a(F)`
148
+ `,co="checkDepositDetailPage",lo={NavBarContainerPaddingYAxis:new l(10,s[3])},no=e=>`${e}_form`,O={containerPaddingLeft:new l(s[3],s[6],s[8]),containerPaddingRight:new l(s[3],s[6],s[8]),successContentMargin:new l(s[3],s[12])},{spendManagement:po}=ee.getLocalizedStrings(),m=po.zeniAccounts.zeniAccountList,Bo=({checkDeposit:e,analytics:p,filesEndPoint:x,authParams:b,onSaveChangesToLocalStore:y,onAnotherTransferClick:C,updateFilesEntity:j,onDeleteFile:P,onEditFileName:L,onCheckDpositClick:T,onDismissClick:r})=>{const n=U(),[S,v]=f.useState(!1);return t.jsx(go,{windowSize:n,children:e.fetchState==="Completed"?t.jsxs(Y,{windowSize:n,children:[t.jsx(Z,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),t.jsxs(fo,{windowSize:n,children:[t.jsx(pe,{width:150,height:150,shouldDisplay:!0,animationInLoop:!0}),t.jsxs(xo,{children:[m.checkDepositDrawer.transferSuccessMsgPrefix,t.jsx(mo,{children:M("0,0.[00]",e.checkDepositLocalData.amount)}),m.checkDepositDrawer.transferSuccessMsgSuffix]}),t.jsxs(ko,{children:[t.jsx(G,{variant:"secondary",label:m.checkDepositDrawer.makeAnotherTransferBtn,onClick:C,"data-testid":$("check-deposit-drawer-another-transfer")}),t.jsx(G,{variant:"primary",label:m.checkDepositDrawer.goToAccountBtn,onClick:r,style:{marginLeft:n==="small"?o.sp3:o.sp5},"data-testid":$("check-deposit-drawer-go-to-account")})]})]})]}):t.jsxs(t.Fragment,{children:[t.jsxs(Y,{windowSize:n,children:[t.jsx(Z,{windowSize:n,children:t.jsx(H,{"data-testid":$("check-deposit-drawer-close"),onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cross",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}})}),n==="small"?t.jsx(Do,{windowSize:n,children:m.checkDepositDrawer.title}):t.jsx($o,{children:m.checkDepositDrawer.title}),n==="small"?t.jsx(uo,{children:m.checkDepositDrawer.subTitle}):t.jsx(ho,{children:m.checkDepositDrawer.subTitle}),t.jsx(Ee,{analytics:p,authParams:b,checkDeposit:e,filesEndPoint:x,onSaveChangesToLocalStore:y,openPopup:v,onCheckDpositClick:T,onDeleteFile:P,onEditFileName:L,updateFilesEntity:j})]}),t.jsx(he,{formId:no(co),helperText:m.checkDepositDrawer.footNote,helperStyle:{paddingTop:o.sp0,paddingBottom:o.sp0},style:{zIndex:S?0:4,paddingTop:o.sp3,paddingBottom:o.sp3},primaryBtn:{label:m.checkDepositDrawer.depositBtn,isLoading:e.fetchState==="In-Progress"},cancelBtn:{label:m.checkDepositDrawer.cancelBtn,onClick:()=>{p.trackAccountsDepositCheckFormClicked("Cancel",e.checkDepositLocalData.amount.amount,e.checkDepositLocalData.source,e.checkDepositLocalData.depositTo?.accountName,e.checkFront!=null,e.checkBack!=null),r?.()}}})]})})},ho=a(F)`
149
149
  color: ${e=>e.theme.colors.hero};
150
150
  `,uo=a(ge)`
151
151
  color: ${e=>e.theme.colors.hero};
@@ -161,7 +161,7 @@ import{Q as U,V as t,aK as $,hB as pe,F as ee,aL as M,n as G,o,aO as he,y as l,_
161
161
  `,xo=a(ue)`
162
162
  color: ${e=>e.theme.colors.primary};
163
163
  text-align: center;
164
- `,X=a.div`
164
+ `,Y=a.div`
165
165
  height: ${e=>e.windowSize==="small"?"auto":"100%"};
166
166
  padding-left: ${e=>`${O.containerPaddingLeft.valuePx(e.windowSize)}`};
167
167
  padding-right: ${e=>`${O.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{V as t,b1 as _o,aK as m,bK as pe,aL as U,dm as $o,o as s,p as X,aN as bn,Q as O,aA as kn,ax as Lo,dn as jn,dp as Ao,F as B,u as w,dq as Qn,dr as Nt,aS as $,ds as It,c8 as Pt,dt as Ft,y as V,c_ as zt,av as Zn,a9 as Xe,du as Me,bM as H,A as Bo,d as ce,aZ as Jn,dv as Xn,aT as T,am as Le,dw as Wo,dx as le,c7 as Tt,bY as Sn,ag as Oo,al as we,dy as et,dz as Ae,dA as nt,ak as v,cf as ne,dB as Mo,b as Vt,dC as Ge,dD as Cn,dE as vn,dF as No,dG as Io,b7 as ei,b4 as Po,cv as Dt,cu as Rt,dH as Fo,b5 as ti,cy as ni,bO as zo,dI as To,dJ as _n,dK as $n,dL as Vo,dM as Do,bQ as Ro,bI as Go,dN as Eo}from"./index-BP8jc2MZ.js";import{n as a,b as P}from"./mui-bYXq4XMS.js";import{a as N,w as Ho}from"./core-3dlyNYRL.js";import{eT as Gt,fi as Et,fj as Ne,fk as Ht,fl as Kt,fm as Yt,fn as Ut,fo as ii,fp as Ko,f4 as xt,eU as Ie,bn as Ln,bh as oi,fq as ri,fr as Yo,bp as Uo,f5 as ai}from"./zeni-epic-state-xFtF3OLs.js";import{N as it,D as qo,R as Qo,B as ye,u as _}from"./AccountRow-Ck53DDbT-pVq02fp8.js";function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Z(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Pe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Zo=a.div`
1
+ import{V as t,b1 as _o,aK as m,bK as pe,aL as U,dh as $o,o as s,p as X,aN as bn,Q as O,aA as kn,ax as Lo,di as jn,dj as Ao,F as B,u as w,dk as Qn,dl as Nt,aS as $,dm as It,c8 as Pt,dn as Ft,y as V,c_ as zt,av as Zn,a9 as Xe,dp as Me,bM as H,A as Bo,d as ce,aZ as Jn,dq as Xn,aT as T,am as Le,dr as Wo,ds as le,c7 as Tt,bY as Sn,ag as Oo,al as we,dt as et,du as Ae,dv as nt,ak as v,cf as ne,dw as Mo,b as Vt,dx as Ge,dy as Cn,dz as vn,dA as No,dB as Io,b7 as ei,b4 as Po,cv as Dt,cu as Rt,dC as Fo,b5 as ti,cy as ni,bO as zo,dD as To,dE as _n,dF as $n,dG as Vo,dH as Do,bQ as Ro,bI as Go,dI as Eo}from"./index-Ci63exms.js";import{n as a,b as P}from"./mui-bYXq4XMS.js";import{a as N,w as Ho}from"./core-3dlyNYRL.js";import{EC as Gt,F0 as Et,F1 as Ne,F2 as Ht,F3 as Kt,F4 as Yt,F5 as Ut,F6 as ii,F7 as Ko,EP as xt,ED as Ie,bn as Ln,bh as oi,F8 as ri,F9 as Yo,bp as Uo,EQ as ai}from"./zeni-epic-state-BwKvATgd.js";import{N as it,D as qo,R as Qo,B as ye,u as _}from"./AccountRow-Ck53DDbT-BeebPIea.js";function q(e,n){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.percentValue);case"default_with_null_balance":return"-"}return U("0,0",e?.balance)}function Z(e){return U("0,0",e?.forecast)}function li(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.totalPercentValue)}return U("0,0",e?.totalBalance)}function jt(e){if(e!=null)switch(e.type){case"this_period_vs_last_period_percent":case"this_period_vs_same_period_last_year_percent":return pe("0.00%",e.forecastPercentValue)}return U("0,0",e?.totalForecast)}function se(e){if(e!=null&&e.forecast!=null&&e.forecast.amount!==0){const n=(e.balance.amount-e.forecast.amount)/e.forecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function de(e){if(e!=null&&e.forecast!=null){const n=Math.floor((e.balance.amount-e.forecast.amount)*100/100);return U("0,0",Object.assign({},e.forecast,{amount:n}))}else return U("0,0",null)}function ci(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null&&e.totalForecast.amount!==0){const n=(e.totalBalance.amount-e.totalForecast.amount)/e.totalForecast.amount;return pe("0.00%",Math.floor(n*100)/100)}else return pe("0.00%",void 0)}function si(e){if(e!=null&&e.totalForecast!=null&&e.totalBalance!=null){const n=Math.floor((e.totalBalance.amount-e.totalForecast.amount)*100/100);return U("0,0",Object.assign({},e.totalForecast,{amount:n}))}else return U("0,0",null)}const Pe=(e,n,i)=>{const{startDate:o,balanceType:r}=n,{dateFormat:{visual:l}}=B.getLocalizedStrings();switch(i){case"month":return r==="default"||r==="default_with_percent"?`${xt(o,l.MMMYYYYFormat,e)}`:mt(r,i);case"quarter":return r==="default"||r==="default_with_percent"?`${B.getLocalizedStrings().reports.quarterPrefix}${xt(o,l.QYYYYformat,e)}`:mt(r,i);case"year":return r==="default"||r==="default_with_percent"?`${xt(o,l.YYYYformat,e)}`:mt(r,i);case"free_range":case"week":throw new Error("free_range/weeks dates are not supported!")}};function mt(e,n){return B.getLocalizedStrings().downloadReport.additionalColumns.labels[n][e]}const wp=(e,n,i)=>{const o=n.length==0?e:`${e}_${n.join("_")}`;return i!=null&&i.trim().length>0?`${o}_${i}`:`${o}_${$o(10)}`},Zo=a.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{Q as Oe,d as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fC as Re,ao as Le,fY as _e,o as a,g6 as jl,cN as qe,cE as ee,cG as ce,cK as He,d5 as vl,d3 as Il,cI as Ue,cH as Ie,g7 as De,g8 as Sl,fu as Cl,ft as Ve,cL as Se,cM as Ol,p as Ee,fK as Ge,B as xe,bI as Qe,fB as Ye,ak as Pe,fX as Ke,b as ye,an as Ll,bF as _l,u as D,dm as El,aW as Pl,g9 as Nl,al as Fl,ga as Dl,bG as ge,b3 as Vl,M as Je,ag as kl,cY as Tl,at as zl,bE as Bl}from"./index-BP8jc2MZ.js";import{a as d}from"./core-3dlyNYRL.js";import{n as t}from"./mui-bYXq4XMS.js";import{bj as Ze,bO as Al}from"./zeni-epic-state-xFtF3OLs.js";import{W as Ce}from"./LabeledAddressValueField-DzmwP7hP-BsQFVdWX.js";import{I as Wl}from"./LabeledCreatableSingleSelectField-CfzLlkho-D0dzeF5z.js";import{Y as ke}from"./LabeledDocumentField-p3pI5qLu-BapUynJg.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),d.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Rl}=ae.getLocalizedStrings(),{businessVerification:Te}=Rl,ue={iconSize:new O(D[6],D[10]),gap:new O(D[2],D[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Oe();return l.jsxs(ql,{windowSize:c,children:[e!=null?l.jsx(Hl,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ul,{windowSize:c}),l.jsxs(Gl,{children:[l.jsx(Ql,{windowSize:c,children:Te.securityMessageTitle}),l.jsx(Yl,{windowSize:c,children:Te.securityMessageDescription})]})]})},ql=t.div`
1
+ import{Q as Oe,d as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fC as Re,ao as Le,fY as _e,o as a,g6 as jl,cN as qe,cE as ee,cG as ce,cK as He,eW as vl,eU as Il,cI as Ue,cH as Ie,g7 as De,g8 as Sl,fu as Cl,ft as Ve,cL as Se,cM as Ol,p as Ee,fK as Ge,B as xe,bI as Qe,fB as Ye,ak as Pe,fX as Ke,b as ye,an as Ll,bF as _l,u as D,dh as El,aW as Pl,g9 as Nl,al as Fl,ga as Dl,bG as ge,b3 as Vl,M as Je,ag as kl,cY as Tl,at as zl,bE as Bl}from"./index-Ci63exms.js";import{a as d}from"./core-3dlyNYRL.js";import{n as t}from"./mui-bYXq4XMS.js";import{bj as Ze,bO as Al}from"./zeni-epic-state-BwKvATgd.js";import{W as Ce}from"./LabeledAddressValueField-DzmwP7hP-7gvUeBGH.js";import{I as Wl}from"./LabeledCreatableSingleSelectField-CfzLlkho-CxZaZJZN.js";import{Y as ke}from"./LabeledDocumentField-p3pI5qLu-I9C3lX6x.js";const Ml=e=>d.createElement("svg",{width:72,height:72,viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},d.createElement("path",{opacity:.2,d:"M50.5391 6.01221C51.2636 6.01238 51.9584 6.29976 52.4707 6.81201L62.6016 16.9429C63.1141 17.4553 63.4022 18.1507 63.4023 18.8755V66.1353C63.4023 66.86 63.1149 67.5554 62.6025 68.0679C62.09 68.5804 61.3947 68.8686 60.6699 68.8687H14.2109C13.4862 68.8687 12.7908 68.5804 12.2783 68.0679C11.7658 67.5554 11.4775 66.8601 11.4775 66.1353V8.74463C11.4775 8.01982 11.7658 7.32453 12.2783 6.81201C12.7908 6.29962 13.4862 6.01221 14.2109 6.01221H50.5391Z",fill:"#97C3B9"}),d.createElement("path",{d:"M60.5227 61.2642V61.2318M60.5227 61.2318V15.9951C60.5226 15.2704 60.2346 14.5753 59.722 14.0629L49.5911 3.93209C49.0787 3.41953 48.3837 3.1315 47.659 3.13135H11.3306C10.6057 3.13135 9.91062 3.41928 9.3981 3.9318C8.88559 4.44431 8.59766 5.13944 8.59766 5.86425V63.2551C8.59766 63.9799 8.88559 64.6751 9.3981 65.1876C9.91062 65.7001 10.6057 65.988 11.3306 65.988H57.7898C58.5147 65.988 59.2098 65.7001 59.7223 65.1876C60.2348 64.6751 60.5227 64.0737 60.5227 63.2551C60.5227 62.4365 60.5227 61.2318 60.5227 61.2318Z",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("path",{d:"M46.8682 3.13135V12.9335C46.8682 13.2545 46.9371 13.5724 47.0709 13.869C47.2048 14.1656 47.401 14.4351 47.6483 14.6621C47.8956 14.8891 48.1893 15.0692 48.5124 15.1921C48.8356 15.3149 49.1819 15.3781 49.5317 15.3781H60.2144",stroke:"#97C3B9",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),d.createElement("g",{clipPath:"url(#clip0_1350_23850)"},d.createElement("rect",{x:16.75,y:15,width:22.501,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:15.75,r:.75,transform:"rotate(90 16.75 15.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 38.5 15)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip1_1350_23850)"},d.createElement("rect",{x:16.75,y:28.5,width:30.4971,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:29.25,r:.75,transform:"rotate(90 16.75 29.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 46.5 28.5)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip2_1350_23850)"},d.createElement("rect",{x:16.75,y:42,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:42.75,r:.75,transform:"rotate(90 16.75 42.75)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 42)",fill:"#97C3B9"})),d.createElement("g",{clipPath:"url(#clip3_1350_23850)"},d.createElement("rect",{x:16.75,y:55.5,width:35.4953,height:1.5,fill:"#97C3B9"}),d.createElement("circle",{cx:16.75,cy:56.25,r:.75,transform:"rotate(90 16.75 56.25)",fill:"#97C3B9"}),d.createElement("circle",{cx:.75,cy:.75,r:.75,transform:"matrix(0 1 1 0 51.5 55.5)",fill:"#97C3B9"})),d.createElement("defs",null,d.createElement("clipPath",{id:"clip0_1350_23850"},d.createElement("rect",{width:24,height:1.5,fill:"white",transform:"translate(16 15)"})),d.createElement("clipPath",{id:"clip1_1350_23850"},d.createElement("rect",{width:32,height:1.5,fill:"white",transform:"translate(16 28.5)"})),d.createElement("clipPath",{id:"clip2_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 42)"})),d.createElement("clipPath",{id:"clip3_1350_23850"},d.createElement("rect",{width:37.12,height:1.5,fill:"white",transform:"translate(16 55.5)"})))),{commonSetUp:Rl}=ae.getLocalizedStrings(),{businessVerification:Te}=Rl,ue={iconSize:new O(D[6],D[10]),gap:new O(D[2],D[3])},Xe={title:new xe("smallSemiBold","standardSemiBold"),description:new xe("smallRegular","standardRegular")},el=()=>{const[e]=Pl("Secure"),c=Oe();return l.jsxs(ql,{windowSize:c,children:[e!=null?l.jsx(Hl,{windowSize:c,animationData:e,play:!0,loop:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):l.jsx(Ul,{windowSize:c}),l.jsxs(Gl,{children:[l.jsx(Ql,{windowSize:c,children:Te.securityMessageTitle}),l.jsx(Yl,{windowSize:c,children:Te.securityMessageDescription})]})]})},ql=t.div`
2
2
  display: flex;
3
3
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
4
4
  gap: ${e=>ue.gap.valuePx(e.windowSize)};
@@ -36,7 +36,7 @@ import{Q as Oe,d as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fC as Re
36
36
  align-items: flex-end;
37
37
  margin-left: ${a.sp2};
38
38
  margin-top: ${a.sp1};
39
- `,le={labelWidth:new O(115,145,155),mediumLabelWidth:new O(140,160,170),largeLabelWidth:new O(150,210,244),largeLabelDocumentWidth:new O(150,210,252),paddingBottom:new O(D[3],D[2]),containerRowGap:new O(12,D[3])},Zl={title:new xe("standardMedium","largeMedium")},Xl=ae.getLocalizedStrings(),{dateFormat:{visual:ea},commonSetUp:la,companyPassport:aa,common:{documents:ze,optional:ta}}=Xl,i=la.businessVerification,ia=i.sourceOfFundOptions,oa=d.forwardRef(({fileProps:e,productType:c,allIndustries:m,companyDetails:f,connectedAccountProvider:N,businessVerificationProps:g,isDisabled:n,style:G,sectionId:y,showInfoTooltip:te=!0,isCompleted:ie=!1,showCompletedIcon:oe=!1,showTreasuryFields:Q=!1,sectionHeader:Y,optionalFields:s=[],onCompanyAddressClick:K,onRegisteredAddressClick:V},re)=>{const h=Oe(),_=le.labelWidth.value(h),E=le.mediumLabelWidth.value(h),b=le.largeLabelWidth.value(h),q=le.largeLabelDocumentWidth.value(h),w=i.productType[c],J=f?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),Z=f?.companyFiles.find(u=>u.documentType==="tax_ein"),p=f?.companyDescription,j=f?.companyLegalName,B=f?.website,se=f?.typeOfIncorporation,H=f?.incDate,X=f?.companyIndustry,L=f?.phone,me=f?.taxIdOrEIN,A=f?.primaryContactLocalData,ne=f?.deleteFileStatusById??{},U=f?.updateFileStatusById??{},be=f?.addressStatus?.addressToCreate,we=f?.registeredAddressStatus?.addressToCreate,[k,W]=d.useState(!1),[x,M]=d.useState(!1),R=u=>m.find($e=>$e.code===u)?.name??u,P=u=>ia[u]??u;return l.jsxs(ra,{style:G,ref:re,windowSize:h,children:[l.jsx(sa,{children:l.jsxs(ha,{children:[l.jsxs(da,{children:[oe===!0?l.jsx(ca,{children:ie?l.jsx(pa,{}):l.jsx(ua,{})}):null,l.jsx(na,{windowSize:h,children:Y??i.confirmCompanyDetails})]}),te?l.jsx(ma,{children:l.jsx(Me,{variant:"small-description",display:"flex",maxWidth:"280px",data:i.confirmCompanyDetailsTooltip,placement:h==="small"||c==="onboarding"?"bottom":"right",children:l.jsx(fa,{})})}):null,c==="onboarding"&&Y!=null?l.jsx(ll,{text:ta}):null,g?.companyVerificationStatus!=null?l.jsx(xa,{tagTitle:g.companyVerificationStatus.name,textColor:Re(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(ya,{children:[l.jsx(el,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyLegalNameLabel,width:b},text:{type:"text",name:v(y,"companyLegalName"),placeholder:i.companyLegalNamePlaceholder,defaultValue:j,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:i.companyLegalNameError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyDescriptionLabel,width:E},text:{type:"text",name:v(y,"companyDescription"),placeholder:i.addProductPlaceholder,defaultValue:p,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:i.companyDescriptionError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Ce,{isDisabled:n,label:{label:i.companyAddressLabel,width:E},addressValueField:{name:v(y,"companyAddress"),placeholder:i.companyAddressPlaceholder,defaultValue:be,registerOptions:{validate:u=>s.includes("companyAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{K?.("company_address")}},additionalInfoLabel:i.companyAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(I,{}),l.jsx(Ce,{isDisabled:n,label:{label:i.registeredAddressLabel,width:E},addressValueField:{name:v(y,"registeredAddress"),placeholder:i.registeredAddressPlaceholder,defaultValue:we,registerOptions:{validate:u=>s.includes("registeredAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{V?.("company_registered_address")}},additionalInfoLabel:i.registeredAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyWebsiteLabel,width:_},text:{type:"url",name:v(y,"companyWebsite"),placeholder:i.companyWebsitePlaceholder,defaultValue:B?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:i.companyWebsiteError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Ie,{label:{label:i.companyIndustryLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"companyIndustry"),placeholder:i.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:X,allOptions:m?.map(u=>u.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:u=>s.includes("companyIndustry")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.companyIndustryError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Wl,{label:{label:i.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(y,"typeOfIncorporation"),placeholder:i.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:se,allOptions:aa.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&N==="unit",validate:u=>s.includes("typeOfIncorporation")===!1?!(n==null&&!u?.selectedOption):!0}},errorInfoLabel:i.companyTypeOfIncorporationError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(He,{isDisabled:n,label:{label:i.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(h)},dateField:{name:v(y,"incDate"),placeholder:i.companyIncDatePlaceholder,defaultValue:H,dateFormat:ea.defaultInput,maxDate:Ze(),minDate:Al("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:i.companyIncDateError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Ue,{isDisabled:n,label:{label:i.companyPhoneLabel,width:_},text:{name:v(y,"companyPhone"),placeholder:ce(i.companyPhoneLabel),defaultValue:L,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:i.companyPhoneError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(qe,{isDisabled:n,label:{label:i.companyPrimaryContactNameLabel,width:b},nameField:{name:v(y,"primaryContactName"),placeHolder:{firstName:i.firstNamePlaceholder,lastName:i.lastNamePlaceholder,name:i.namePlaceholder},defaultValue:{firstName:A?.firstName??"",lastName:A?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:u=>!!u||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:i.companyPrimaryContactNameError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(y,"primaryContactEmail"),placeholder:i.companyPrimaryContactEmailPlaceholder,defaultValue:A?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:i.companyPrimaryContactEmailError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyTaxIdLabel,width:_},text:{type:"text",name:v(y,"companyTaxId"),placeholder:i.companyTaxIdPlaceholder,defaultValue:me,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:Ol},autoComplete:"new-password"},additionalInfoLabel:i.companyTaxIdError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ke,{name:v(y,"certificateOfIncorporation"),isDisabled:n,sizeLimit:Se,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.certificateOfIncorporation,width:q},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:J,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&N==="unit"},additionalInfoLabel:i.certOfIncopDocumentError.replace("_product_type_",w),hasError:k,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>W(u)}),k||!(n!=null||J!=null)?l.jsx(Be,{windowSize:h,isError:k,children:ze.formatDocumentText10MB}):null,l.jsx(I,{}),l.jsx(ke,{name:v(y,"ein"),isDisabled:n,sizeLimit:Se,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.einDocument,width:q},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:Z,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("ein")===!1},additionalInfoLabel:i.einDocumentError.replace("_product_type_",w),hasError:x,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>M(u)}),x||!(n!=null||Z!=null)?l.jsx(Be,{windowSize:h,isError:x,children:ze.formatDocumentText10MB}):null,l.jsx(I,{}),Q===!0?l.jsxs(l.Fragment,{children:[l.jsx(Ie,{label:{label:i.sourceOfFundsLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"sourceOfFunds"),placeholder:i.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:P,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds,allOptions:Object.keys(i.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:u=>s.includes("sourceOfFunds")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.sourceOfFundsError.replace("_product_type_",w)}),l.jsx(I,{})]}):null]})]})});oa.displayName="Company Details Section";const v=(e,c)=>`${e}.${c}`,ra=t.div`
39
+ `,le={labelWidth:new O(115,145,155),mediumLabelWidth:new O(140,160,170),largeLabelWidth:new O(150,210,244),largeLabelDocumentWidth:new O(150,210,252),paddingBottom:new O(D[3],D[2]),containerRowGap:new O(12,D[3])},Zl={title:new xe("standardMedium","largeMedium")},Xl=ae.getLocalizedStrings(),{dateFormat:{visual:ea},commonSetUp:la,companyPassport:aa,common:{documents:ze,optional:ta}}=Xl,i=la.businessVerification,ia=i.sourceOfFundOptions,oa=d.forwardRef(({fileProps:e,productType:c,allIndustries:m,companyDetails:h,connectedAccountProvider:N,businessVerificationProps:g,isDisabled:n,style:G,sectionId:y,showInfoTooltip:te=!0,isCompleted:ie=!1,showCompletedIcon:oe=!1,showTreasuryFields:Q=!1,sectionHeader:Y,optionalFields:s=[],onCompanyAddressClick:K,onRegisteredAddressClick:V},re)=>{const f=Oe(),_=le.labelWidth.value(f),E=le.mediumLabelWidth.value(f),b=le.largeLabelWidth.value(f),q=le.largeLabelDocumentWidth.value(f),w=i.productType[c],J=h?.companyFiles.find(u=>u.documentType==="certificate_of_incorporation"),Z=h?.companyFiles.find(u=>u.documentType==="tax_ein"),p=h?.companyDescription,j=h?.companyLegalName,B=h?.website,se=h?.typeOfIncorporation,H=h?.incDate,X=h?.companyIndustry,L=h?.phone,me=h?.taxIdOrEIN,A=h?.primaryContactLocalData,ne=h?.deleteFileStatusById??{},U=h?.updateFileStatusById??{},be=h?.addressStatus?.addressToCreate,we=h?.registeredAddressStatus?.addressToCreate,[k,W]=d.useState(!1),[x,M]=d.useState(!1),R=u=>m.find($e=>$e.code===u)?.name??u,P=u=>ia[u]??u;return l.jsxs(ra,{style:G,ref:re,windowSize:f,children:[l.jsx(sa,{children:l.jsxs(fa,{children:[l.jsxs(da,{children:[oe===!0?l.jsx(ca,{children:ie?l.jsx(pa,{}):l.jsx(ua,{})}):null,l.jsx(na,{windowSize:f,children:Y??i.confirmCompanyDetails})]}),te?l.jsx(ma,{children:l.jsx(Me,{variant:"small-description",display:"flex",maxWidth:"280px",data:i.confirmCompanyDetailsTooltip,placement:f==="small"||c==="onboarding"?"bottom":"right",children:l.jsx(ha,{})})}):null,c==="onboarding"&&Y!=null?l.jsx(ll,{text:ta}):null,g?.companyVerificationStatus!=null?l.jsx(xa,{tagTitle:g.companyVerificationStatus.name,textColor:Re(g.companyVerificationStatus.code),showLoader:g?.isRefreshingViewInBackground}):null]})}),l.jsxs(ya,{children:[l.jsx(el,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyLegalNameLabel,width:b},text:{type:"text",name:v(y,"companyLegalName"),placeholder:i.companyLegalNamePlaceholder,defaultValue:j,options:{required:n==null&&s.includes("companyLegalName")===!1}},additionalInfoLabel:i.companyLegalNameError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyDescriptionLabel,width:E},text:{type:"text",name:v(y,"companyDescription"),placeholder:i.addProductPlaceholder,defaultValue:p,options:{required:n==null&&s.includes("companyDescription")===!1}},additionalInfoLabel:i.companyDescriptionError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Ce,{isDisabled:n,label:{label:i.companyAddressLabel,width:E},addressValueField:{name:v(y,"companyAddress"),placeholder:i.companyAddressPlaceholder,defaultValue:be,registerOptions:{validate:u=>s.includes("companyAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{K?.("company_address")}},additionalInfoLabel:i.companyAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(I,{}),l.jsx(Ce,{isDisabled:n,label:{label:i.registeredAddressLabel,width:E},addressValueField:{name:v(y,"registeredAddress"),placeholder:i.registeredAddressPlaceholder,defaultValue:we,registerOptions:{validate:u=>s.includes("registeredAddress")===!1?!(n==null&&u==null):!0},onClick:()=>{V?.("company_registered_address")}},additionalInfoLabel:i.registeredAddressError.replace("_product_type_",w),showAdditionalInfoLabel:!1}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyWebsiteLabel,width:_},text:{type:"url",name:v(y,"companyWebsite"),placeholder:i.companyWebsitePlaceholder,defaultValue:B?.toString()??"",options:{required:n==null&&s.includes("companyWebsite")===!1}},additionalInfoLabel:i.companyWebsiteError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Ie,{label:{label:i.companyIndustryLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"companyIndustry"),placeholder:i.companyIndustryPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:R,isDisabled:n,showTickMark:!1},defaultValue:{selectedOption:X,allOptions:m?.map(u=>u.code)??[]},registerOptions:{required:n==null&&s.includes("companyIndustry")===!1,validate:u=>s.includes("companyIndustry")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.companyIndustryError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Wl,{label:{label:i.companyTypeOfIncorporationLabel,width:b},isDisabled:n,creatableSingleSelectField:{name:v(y,"typeOfIncorporation"),placeholder:i.companyTypeOfIncorporationPlaceholder,defaultValue:{selectedOption:se,allOptions:aa.companyIncInfo.allTypesOfIncorporation},registerOptions:{required:n==null&&s.includes("typeOfIncorporation")===!1&&N==="unit",validate:u=>s.includes("typeOfIncorporation")===!1?!(n==null&&!u?.selectedOption):!0}},errorInfoLabel:i.companyTypeOfIncorporationError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(He,{isDisabled:n,label:{label:i.companyIncDateLabel,width:b},style:{paddingBottom:le.paddingBottom.valuePx(f)},dateField:{name:v(y,"incDate"),placeholder:i.companyIncDatePlaceholder,defaultValue:H,dateFormat:ea.defaultInput,maxDate:Ze(),minDate:Al("01 Jan 1900"),autoComplete:"off",registerOptions:{required:n==null&&s.includes("incDate")===!1}},additionalInfoLabel:i.companyIncDateError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(Ue,{isDisabled:n,label:{label:i.companyPhoneLabel,width:_},text:{name:v(y,"companyPhone"),placeholder:ce(i.companyPhoneLabel),defaultValue:L,autoComplete:"new-password",options:{required:n==null&&s.includes("companyPhone")===!1}},errorInfoLabel:i.companyPhoneError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(qe,{isDisabled:n,label:{label:i.companyPrimaryContactNameLabel,width:b},nameField:{name:v(y,"primaryContactName"),placeHolder:{firstName:i.firstNamePlaceholder,lastName:i.lastNamePlaceholder,name:i.namePlaceholder},defaultValue:{firstName:A?.firstName??"",lastName:A?.lastName??""},registerOptions:{required:n==null&&s.includes("primaryContactName")===!1,validate:u=>!!u||n!=null||s.includes("primaryContactName")},showFullNameError:!0},errorInfoLabel:i.companyPrimaryContactNameError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyPrimaryContactEmailLabel,width:b},text:{type:"email",name:v(y,"primaryContactEmail"),placeholder:i.companyPrimaryContactEmailPlaceholder,defaultValue:A?.email,options:{required:n==null&&s.includes("primaryContactEmail")===!1}},additionalInfoLabel:i.companyPrimaryContactEmailError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ee,{isDisabled:n,showAdditionalInfoLabel:!1,label:{label:i.companyTaxIdLabel,width:_},text:{type:"text",name:v(y,"companyTaxId"),placeholder:i.companyTaxIdPlaceholder,defaultValue:me,options:{required:n==null&&s.includes("companyTaxId")===!1,pattern:Ol},autoComplete:"new-password"},additionalInfoLabel:i.companyTaxIdError.replace("_product_type_",w)}),l.jsx(I,{}),l.jsx(ke,{name:v(y,"certificateOfIncorporation"),isDisabled:n,sizeLimit:Se,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.certificateOfIncorporation,width:q},filemetadataPayload:{documentType:"certificate_of_incorporation",purposeId:"business_verification",documentSide:"front"},file:J,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("certificateOfIncorporation")===!1&&N==="unit"},additionalInfoLabel:i.certOfIncopDocumentError.replace("_product_type_",w),hasError:k,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>W(u)}),k||!(n!=null||J!=null)?l.jsx(Be,{windowSize:f,isError:k,children:ze.formatDocumentText10MB}):null,l.jsx(I,{}),l.jsx(ke,{name:v(y,"ein"),isDisabled:n,sizeLimit:Se,deleteFileStatusById:ne,updateFileStatusById:U,filesEndPoint:e.filesEndPoint,authParams:e.authParams,label:{label:i.einDocument,width:q},filemetadataPayload:{documentType:"tax_ein",purposeId:"business_verification",documentSide:"front"},file:Z,acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:n==null&&s.includes("ein")===!1},additionalInfoLabel:i.einDocumentError.replace("_product_type_",w),hasError:x,updateFilesEntity:e.updateFilesEntity,onEditFileName:e.onEditFileName,onDeleteFile:e.onDeleteFile,onFileSizeError:u=>M(u)}),x||!(n!=null||Z!=null)?l.jsx(Be,{windowSize:f,isError:x,children:ze.formatDocumentText10MB}):null,l.jsx(I,{}),Q===!0?l.jsxs(l.Fragment,{children:[l.jsx(Ie,{label:{label:i.sourceOfFundsLabel,width:_},singleSelectField:{singleSelect:{name:v(y,"sourceOfFunds"),placeholder:i.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:P,isDisabled:n,showTickMark:!1,menuPlacement:"top",sortOptions:!1},defaultValue:{selectedOption:h?.sourceOfFunds,allOptions:Object.keys(i.sourceOfFundOptions)},registerOptions:{required:n==null&&s.includes("sourceOfFunds")===!1,validate:u=>s.includes("sourceOfFunds")===!1?!(n==null&&!u?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:i.sourceOfFundsError.replace("_product_type_",w)}),l.jsx(I,{})]}):null]})]})});oa.displayName="Company Details Section";const v=(e,c)=>`${e}.${c}`,ra=t.div`
40
40
  display: flex;
41
41
  flex-direction: column;
42
42
  row-gap: ${e=>le.containerRowGap.valuePx(e.windowSize)};
@@ -75,10 +75,10 @@ import{Q as Oe,d as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fC as Re
75
75
  &:hover {
76
76
  color: ${e=>e.theme.colors.primary};
77
77
  }
78
- `,fa=t(Qe)`
78
+ `,ha=t(Qe)`
79
79
  width: ${a.sp3};
80
80
  height: ${a.sp3};
81
- `,ha=t.div`
81
+ `,fa=t.div`
82
82
  display: flex;
83
83
  align-items: center;
84
84
  `,ya=t.div`
@@ -102,7 +102,7 @@ import{Q as Oe,d as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fC as Re
102
102
  display: flex;
103
103
  align-items: center;
104
104
  justify-content: flex-end;
105
- `,ba=(e,c)=>e.map(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email})),wa=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function $a({allUsers:e,onSelectedUserChanged:c,selectedUser:m,disable:f=!1,pickerStyles:{optionBackgroundColor:N,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:G,backgroundColor:y,titleTextAlignment:te,selectedOptionColor:ie,customStyleConfig:oe}={},customization:{placeholderLabel:Q}={},showAddUser:Y=!0}){const s=We(),[K,V]=d.useState(!1),re=ba(e).sort((p,j)=>p.label.localeCompare(j.label)),h=m!=null?wa(m):void 0,_=N??s.colors.grey5,E=y??s.colors.grey5,b=g??s.colors.grey3,q=n??ye.smallRegular.cssObject,w=G??q,J={control:(p,j)=>({...p,border:0,height:"100%",backgroundColor:E,fill:j.selectProps.menuIsOpen===!0?s.colors.primary:s.colors.grey1,boxShadow:E,">div:last-child":{color:K?s.colors.primary:s.colors.grey1},":active":{backgroundColor:E},":hover":{fill:s.colors.primary,">div:last-child":{color:s.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:s.colors.grey1,">path":{color:s.colors.grey5,fill:"currentcolor"}}}),container:p=>({...p,backgroundColor:E,height:"100%"}),singleValue:p=>({...p,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:a.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:s.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...ye.standardRegular.cssObject}}),valueContainer:p=>({...p,maxWidth:"100%",cursor:"pointer",height:"100%",...w,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:te??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(p,j)=>({...p,backgroundColor:_,borderRadius:D[1],boxShadow:`${a.sp0} 2px ${a.sp2} ${s.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${a.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:a.sp1,padding:`${a.sp1} ${a.sp0}`,">div":{width:"-webkit-fill-available"}},...oe?.menu?.(p,j)}),menuList:p=>({...p,borderRadius:D[1]}),placeholder:(p,j)=>({...p,margin:0,width:"100%",color:j.isFocused?s.colors.primary:"currentColor",paddingRight:a.sp2,...ye.standardRegular.cssObject,">div>div>svg>circle":{fill:s.colors.grey1}}),noOptionsMessage:p=>({...p,...ye.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:s.colors.hero}),option:(p,{isDisabled:j,isSelected:B,isFocused:se})=>({...p,...q,color:B?ie??s.colors.champion:s.colors.hero,backgroundColor:B?b:se?s.colors.background:_,cursor:j?"not-allowed":B?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:s.colors.background,color:s.colors.primary},"& label":{paddingRight:"10px",cursor:j?"not-allowed":B?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},Z=({children:p,...j})=>l.jsxs(ge.ValueContainer,{...j,children:[p,Y===!0?l.jsxs(Ta,{hasSelectedUser:!!m,onClick:()=>{c(void 0),V(!1)},children:[l.jsx(Oa,{}),l.jsx("div",{children:Q??"Add User"})]}):null]});return l.jsx(Ll,{onClickAway:()=>{V(!1)},children:l.jsx(ga,{children:l.jsx(_l,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:K,menuShouldScrollIntoView:!1,defaultValue:h,value:h,noOptionsMessage:()=>ae.getLocalizedStrings().cockpit.management.noPerson,onInputChange:p=>{p!==""&&V(!0)},onMenuOpen:()=>{V(!0)},placeholder:l.jsx(va,{children:l.jsx("div",{children:Q??"Select..."})}),components:{Option:Pa,DropdownIndicator:za,IndicatorSeparator:Ba,SingleValue:Va,ValueContainer:ka,MenuList:Z},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:J,options:re,isDisabled:f,onChange:p=>{c(p),V(!1)},isClearable:!1,isSearchable:!1},El())})})}const ja=t.div``,va=t.div`
105
+ `,ba=(e,c)=>e.map(m=>({...m,value:m.userId,label:m.firstName!=""||m.lastName!=""?`${m.firstName} ${m.lastName}`:m.email})),wa=(e,c)=>({...e,value:e.userId,label:e.firstName!=""||e.lastName!=""?`${e.firstName} ${e.lastName}`:e.email});function $a({allUsers:e,onSelectedUserChanged:c,selectedUser:m,disable:h=!1,pickerStyles:{optionBackgroundColor:N,selectedOptionBackgroundColor:g,optionTextStyle:n,titleTextStyle:G,backgroundColor:y,titleTextAlignment:te,selectedOptionColor:ie,customStyleConfig:oe}={},customization:{placeholderLabel:Q}={},showAddUser:Y=!0}){const s=We(),[K,V]=d.useState(!1),re=ba(e).sort((p,j)=>p.label.localeCompare(j.label)),f=m!=null?wa(m):void 0,_=N??s.colors.grey5,E=y??s.colors.grey5,b=g??s.colors.grey3,q=n??ye.smallRegular.cssObject,w=G??q,J={control:(p,j)=>({...p,border:0,height:"100%",backgroundColor:E,fill:j.selectProps.menuIsOpen===!0?s.colors.primary:s.colors.grey1,boxShadow:E,">div:last-child":{color:K?s.colors.primary:s.colors.grey1},":active":{backgroundColor:E},":hover":{fill:s.colors.primary,">div:last-child":{color:s.colors.primary}},minHeight:"auto",cursor:"pointer",flexDirection:"column",">div>div>svg":{color:s.colors.grey1,">path":{color:s.colors.grey5,fill:"currentcolor"}}}),container:p=>({...p,backgroundColor:E,height:"100%"}),singleValue:p=>({...p,margin:0,minWidth:void 0,backgroundColor:void 0,">div":{borderRadius:0,padding:a.sp0,borderLeftStyle:"none",borderWidth:1,borderColor:s.colors.grey1,color:"unset"},">div>div>div>div:last-child":{display:"block",...ye.standardRegular.cssObject}}),valueContainer:p=>({...p,maxWidth:"100%",cursor:"pointer",height:"100%",...w,overflow:"visible",minWidth:"auto",padding:0,display:"flex",justifyContent:te??"flex-start",alignItems:"center",flexWrap:"nowrap",flexDirection:"row",">div":{width:"inherit"}}),menu:(p,j)=>({...p,backgroundColor:_,borderRadius:D[1],boxShadow:`${a.sp0} 2px ${a.sp2} ${s.colors.dropShadowHover}`,whiteSpace:"nowrap",minWidth:"fit-content",zIndex:3,width:236,margin:`6px ${a.sp0}`,right:"-11%",">div":{flexDirection:"column",maxHeight:200,overflowY:"auto",borderRadius:a.sp1,padding:`${a.sp1} ${a.sp0}`,">div":{width:"-webkit-fill-available"}},...oe?.menu?.(p,j)}),menuList:p=>({...p,borderRadius:D[1]}),placeholder:(p,j)=>({...p,margin:0,width:"100%",color:j.isFocused?s.colors.primary:"currentColor",paddingRight:a.sp2,...ye.standardRegular.cssObject,">div>div>svg>circle":{fill:s.colors.grey1}}),noOptionsMessage:p=>({...p,...ye.smallRegular.cssObject,padding:`10px ${a.sp3} 9px ${a.sp3}`,color:s.colors.hero}),option:(p,{isDisabled:j,isSelected:B,isFocused:se})=>({...p,...q,color:B?ie??s.colors.champion:s.colors.hero,backgroundColor:B?b:se?s.colors.background:_,cursor:j?"not-allowed":B?"default":"pointer","svg:nth-of-type(2)":{display:"none"},":hover":{backgroundColor:s.colors.background,color:s.colors.primary},"& label":{paddingRight:"10px",cursor:j?"not-allowed":B?"inherit":"pointer"},">div>div>div:first-of-type":{display:"flex"}}),indicatorSeparator:()=>({}),dropdownIndicator:()=>({}),indicatorsContainer:()=>({height:"100%",display:"flex",alignItems:"center"})},Z=({children:p,...j})=>l.jsxs(ge.ValueContainer,{...j,children:[p,Y===!0?l.jsxs(Ta,{hasSelectedUser:!!m,onClick:()=>{c(void 0),V(!1)},children:[l.jsx(Oa,{}),l.jsx("div",{children:Q??"Add User"})]}):null]});return l.jsx(Ll,{onClickAway:()=>{V(!1)},children:l.jsx(ga,{children:l.jsx(_l,{isMulti:!1,menuPlacement:"auto",minMenuHeight:200,maxMenuHeight:200,menuIsOpen:K,menuShouldScrollIntoView:!1,defaultValue:f,value:f,noOptionsMessage:()=>ae.getLocalizedStrings().cockpit.management.noPerson,onInputChange:p=>{p!==""&&V(!0)},onMenuOpen:()=>{V(!0)},placeholder:l.jsx(va,{children:l.jsx("div",{children:Q??"Select..."})}),components:{Option:Pa,DropdownIndicator:za,IndicatorSeparator:Ba,SingleValue:Va,ValueContainer:ka,MenuList:Z},hideSelectedOptions:!1,closeMenuOnSelect:!1,styles:J,options:re,isDisabled:h,onChange:p=>{c(p),V(!1)},isClearable:!1,isSearchable:!1},El())})})}const ja=t.div``,va=t.div`
106
106
  display: flex;
107
107
  align-items: center;
108
108
  color: ${e=>e.theme.colors.grey1};
@@ -138,7 +138,7 @@ import{Q as Oe,d as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fC as Re
138
138
  width: ${a.sp4};
139
139
  border-radius: 50%;
140
140
  justify-content: center;
141
- `,Pa=e=>{const{data:c,options:m,isSelected:f}=e,N=m.findIndex(g=>g.value===c.value);return l.jsx(ja,{children:l.jsx(ge.Option,{...e,children:l.jsxs(Ca,{children:[l.jsxs(Na,{children:[l.jsx(Fa,{children:c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=Le},loading:"lazy"}):l.jsx(_e,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:N})}),l.jsx("label",{children:e.label})]}),!!f&&l.jsx(_a,{children:l.jsx(Ea,{})})]})})})},Na=t.div`
141
+ `,Pa=e=>{const{data:c,options:m,isSelected:h}=e,N=m.findIndex(g=>g.value===c.value);return l.jsx(ja,{children:l.jsx(ge.Option,{...e,children:l.jsxs(Ca,{children:[l.jsxs(Na,{children:[l.jsx(Fa,{children:c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=Le},loading:"lazy"}):l.jsx(_e,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:N})}),l.jsx("label",{children:e.label})]}),!!h&&l.jsx(_a,{children:l.jsx(Ea,{})})]})})})},Na=t.div`
142
142
  width: 100%;
143
143
  display: flex;
144
144
  align-items: center;
@@ -151,7 +151,7 @@ import{Q as Oe,d as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fC as Re
151
151
  white-space: nowrap;
152
152
  overflow: hidden;
153
153
  text-overflow: ellipsis;
154
- `,Va=({children:e,data:c,...m})=>{const{options:f}=m.selectProps,N=f.findIndex(g=>g.value===c.value);return l.jsx(ge.MultiValueLabel,{...m,children:l.jsxs(Aa,{children:[c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=Le},loading:"lazy"}):l.jsx(_e,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:N}),l.jsx(Da,{children:e})]})})},ka=({children:e,...c})=>l.jsxs(ge.ValueContainer,{...c,children:[c.selectProps.value==null?l.jsx(Ia,{children:l.jsx(Sa,{})}):null,e]}),Ta=t(kl)`
154
+ `,Va=({children:e,data:c,...m})=>{const{options:h}=m.selectProps,N=h.findIndex(g=>g.value===c.value);return l.jsx(ge.MultiValueLabel,{...m,children:l.jsxs(Aa,{children:[c?.photo!==void 0?l.jsx(al,{src:c?.photo.href,alt:ae.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=Le},loading:"lazy"}):l.jsx(_e,{firstName:c?.firstName??"",lastName:c?.lastName??"",size:`${a.sp4}`,index:N}),l.jsx(Da,{children:e})]})})},ka=({children:e,...c})=>l.jsxs(ge.ValueContainer,{...c,children:[c.selectProps.value==null?l.jsx(Ia,{children:l.jsx(Sa,{})}):null,e]}),Ta=t(kl)`
155
155
  color: ${e=>e.hasSelectedUser?e.theme.colors.hero:e.theme.colors.primary};
156
156
  display: flex;
157
157
  padding: ${a.sp2} 12px;
@@ -166,7 +166,7 @@ import{Q as Oe,d as We,cO as wl,F as ae,y as O,aN as $l,V as l,bQ as Me,fC as Re
166
166
  display: flex;
167
167
  flex-direction: row;
168
168
  cursor: pointer;
169
- `,pe={width:new O(343,580,726),labelWidth:new O(115,145,155),largeLabelWidth:new O(160,240,240),veryLargeLabelWidth:new O(150,240,245),containerRowGap:new O(12,D[3])},Wa={title:new xe("standardMedium","largeMedium")};function mt({companyOfficerData:e,isDisabled:c,allOfficers:m,allNationalityCountries:f,isRefreshingViewInBackground:N,connectedAccountProvider:g,style:n,isPopupOpen:G,sectionId:y,filesEndPoint:te,authParams:ie,showInfoTooltip:oe=!0,isCompleted:Q=!1,showCompletedIcon:Y=!1,showOfficerSelect:s=!0,showVerificationTag:K=!0,isForTreasury:V=!1,isOverlay:re=!1,productType:h,companyTitles:_,sectionHeader:E,optionalFields:b=[],onOfficerAddressClick:q,onDeleteFile:w,onEditFileName:J,updateFilesEntity:Z,openPopup:p,onGetOtp:j,onVerifyOtp:B,onResendOtp:se,verifiedPhoneNumber:H,onPhoneVerified:X}){const L=Oe(),me=We(),{getValues:A,setValue:ne}=wl(),U=m.length>0,[be,we]=d.useState(!1),k=U?Object.values(e).findIndex(o=>o?.isSelectedForVerification===!0):0,W=`Officer_${k<0?1:k+1}`;d.useEffect(()=>{X!=null&&e[W]?.phone!=null&&e[W].isPhoneVerified===!0&&X(e[W]?.phone??"")},[]);const x=`${y}.${k}`,M=e[W],R=V?M?.treasuryUserVerificationStatus:M?.userVerificationStatus,P=m.find(o=>o.userId===M?.userId),u=m.sort((o,C)=>(o.firstName||o.lastName?`${o.firstName} ${o.lastName}`:o.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),$e=U?u.findIndex(o=>o.userId===M?.userId):0,tl=e[W]?.deleteFileStatusById??{},il=e[W]?.updateFileStatusById??{},Ne=A(`${x}.selectDocument.selectDocumentType`),{common:{optional:ol},commonSetUp:{businessVerification:r},dateFormat:{visual:rl},cockpit:sl}=ae.getLocalizedStrings(),T=h==="onboarding"?r.productType.business_verification:r.productType[h],de=pe.labelWidth.value(L),nl=pe.veryLargeLabelWidth.value(L),fe=pe.largeLabelWidth.value(L),dl=L==="small"?r.companyRolePlaceholderSmall:r.companyRolePlaceholder,cl=L==="small"?r.protectedSsnTextSmall:r.protectedSsnText,S=R?.code==="pending_review"||R?.code==="verified"?"readonly":c,pl=S!=null||!U||R?.code==="require_info",ul=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:r.addOfficer,ml=M?.userId!=null?r.confirmIdentityDetails:r.confirmIdentityDetailsNewOfficer,fl={menu:()=>({right:"initial",left:0})},hl=o=>_.find(C=>C.code===o)?.name??o,je=M?.otpverificationStatus?.fetchState,Fe=$l(je);d.useEffect(()=>{X!=null&&Fe==="In-Progress"&&je==="Completed"&&X(A(`${x}.phone`))},[Fe,je]);const yl=(o,C)=>{B(o,C)},xl=()=>H==null||H===""?!1:A(`${x}.phone`)===H,gl=()=>{const o=A(`${x}.phone`);return o!=null&&!Nl(o)?r.phoneErrorForOnboarding:r.phoneError.replace("_product_type_",T)};return l.jsxs(Ma,{style:n,windowSize:L,children:[l.jsxs(Ra,{windowSize:L,isOverlay:re,children:[l.jsxs(Xa,{children:[l.jsxs(Ha,{children:[Y===!0?l.jsx(Ua,{children:Q?l.jsx(Ga,{}):l.jsx(Qa,{})}):null,l.jsx(qa,{windowSize:L,children:E??ml})]}),oe?l.jsx(Ya,{children:l.jsx(Me,{variant:"small-description",maxWidth:"275px",data:r.confirmIdentityDetailsTooltip,display:"flex",placement:L==="small"||h==="onboarding"?"bottom":"right",children:l.jsx(Ka,{})})}):null,h==="onboarding"&&E!=null?l.jsx(ll,{text:ol}):null,R!=null&&K?l.jsx(at,{tagTitle:R?.name,textColor:Re(R.code),showLoader:N}):null]}),s?pl?U?l.jsxs(lt,{children:[P?.photo!==void 0?l.jsx(Ja,{src:P?.photo.href,alt:sl.userProfileAltText,onError:({currentTarget:o})=>{o.onerror=null,o.src=Le},loading:"lazy"}):l.jsx(_e,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${a.sp4}`,index:$e}),l.jsx(Ae,{children:`${ul}`})]}):l.jsxs(tt,{children:[l.jsx(it,{children:l.jsx(ot,{})}),l.jsx(Ae,{children:`${r.addOfficer}`})]}):l.jsx(Za,{children:l.jsx($a,{selectedUser:P,allUsers:m,onSelectedUserChanged:o=>{const C=Object.values(e).findIndex(he=>he?.userId===o?.userId);ne(`${x}.isSelectedForVerification`,!1),ne(`${y}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:r.addOfficer},showAddUser:m.length<=9,pickerStyles:{backgroundColor:me.colors.grey5,selectedOptionBackgroundColor:me.colors.background,customStyleConfig:L==="small"?fl:void 0}})}):null]}),Object.values(e).map((o,C)=>{if(k!==C)return null;const he=jl(o?.documentTypeSelectedForVerification),ve=o?.userFiles??[],bl=()=>H!=""&&h==="onboarding"?xl():o?.isPhoneVerified??!1;return l.jsxs(et,{children:[l.jsx(el,{}),l.jsx(qe,{isDisabled:S,label:{label:r.name,width:de},nameField:{name:F(x,"name"),placeHolder:{firstName:r.firstNamePlaceholder,lastName:r.lastNamePlaceholder,name:r.namePlaceholder},defaultValue:{firstName:o?.firstName??"",lastName:o?.lastName??""},registerOptions:{required:b.includes("name")===!1,validate:$=>b.includes("name")===!1?!!$:!0},showFullNameError:!0},errorInfoLabel:r.nameError.replace("_product_type_",T)}),l.jsx(z,{}),o?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(ee,{isDisabled:S,showAdditionalInfoLabel:!1,label:{label:r.email,width:de},text:{type:"email",name:F(x,"email"),placeholder:ce(r.email),defaultValue:o?.email,options:{required:b.includes("email")===!1}},additionalInfoLabel:r.emailDescription.replace("_product_type_",T)}),l.jsx(z,{})]}):null,l.jsx(He,{isDisabled:S,label:{label:r.dobLabel,width:fe},dateField:{name:F(x,"dob"),type:"text",defaultValue:o?.birthday,placeholder:ce(r.dobLabel),dateFormat:rl.defaultInput,maxDate:Ze().subtract(g==="unit"?18:13,"years"),registerOptions:{required:b.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:r.dobDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(vl,{isDisabled:S,label:{label:r.nationalityLabel,width:de},showAdditionalInfoLabel:h!=="onboarding",additionalInfoLabel:r.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:F(x,"nationalityCountryCode"),placeholder:r.nationalityPlaceholder,defaultValue:Il(o?.nationalityCountryCode,f.map($=>$.countryCode)),registerOptions:{validate:$=>!!($!=null&&$.selectedOption)}}}),l.jsx(z,{}),l.jsx(Ce,{isDisabled:S,label:{label:r.address,width:de},addressValueField:{name:F(x,"officerAddress"),placeholder:ce(r.address),defaultValue:o?.addressStatus?.addressToCreate,registerOptions:{validate:$=>b.includes("officerAddress")===!1?!(S==null&&$==null):!0},onClick:()=>{q(o?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:h==="onboarding"?r.addressAdditionInfo:r.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),l.jsx(z,{}),l.jsx(Ue,{isDisabled:S,label:{label:r.phone,width:de},text:{name:F(x,"phone"),placeholder:ce(r.phone),defaultValue:o?.phone,autoComplete:"new-password",options:{required:b.includes("phone")===!1}},errorInfoLabel:gl(),verificationErrorInfoLabel:r.phoneValidationError,isPopupOpen:G,phoneVerifyButtonProps:{otpChallenge:o?.otpChallenge,showOtpButton:g==="unit",onGetOtp:j,onVerifyOtp:yl,onResendOtp:se,isPhoneVerified:bl(),phoneVerificationStatus:o?.otpverificationStatus,getOtpStatus:o?.sendOtpStatus,openPopup:p,verifiedPhoneNumber:H,focusNotRequired:!0}}),l.jsx(z,{}),l.jsx(Ie,{label:{label:r.companyRoleLabel,width:fe},singleSelectField:{singleSelect:{name:F(x,"role"),placeholder:dl,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:hl,isDisabled:S,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:o?.titleAtCompany,allOptions:_?.map($=>$.code)??[]},registerOptions:{required:b.includes("role")===!1,validate:$=>b.includes("role")===!1?!(S==null&&!$?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:r.companyRoleDescription.replace("_product_type_",T)}),l.jsx(z,{}),l.jsx(De,{isDisabled:S,showAdditionalInfoLabel:!1,label:{label:r.companyOwnershipLabel,width:fe},formattedTextField:{type:"number",name:F(x,"ownership"),defaultValue:o?.ownershipInCompany,placeholder:r.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:b.includes("ownership")===!1,validate:$=>$!=null?$>0&&$<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:h==="onboarding"?r.companyOwnershipDescriptionForOnboarding:r.companyOwnershipDescription}),l.jsx(z,{}),l.jsx(De,{isDisabled:S,showAdditionalInfoLabel:!1,label:{label:r.ssnLabel,width:fe},formattedTextField:{type:"text",name:F(x,"ssn"),placeholder:r.addSSNPlaceholder,defaultValue:o?.ssn,format:"###-##-####",registerOptions:{required:b.includes("ssn")===!1,pattern:Sl},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:S!=null&&o?.ssn?cl:void 0,additionalInfoLabel:r.ssnDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(Cl,{name:F(x,"selectDocument"),officerIndex:k,sizeLimit:Se,filesEndPoint:te,authParams:ie,onEditFileName:J,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:nl},allFiles:ve,updateFilesEntity:Z,deleteFileStatusById:tl,updateFileStatusById:il,onDeleteFile:w,isDisabled:S,menuPlacement:h==="onboarding"&&he==null?"top":"auto",defaultValue:{defaultSelectDocumentType:he,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:Ve(!0,ve,Ne),back:Ve(!1,ve,Ne)}},registerOptions:{required:b.includes("selectDocument")===!1},hasError:be,additionalInfoLabel:r.companyIdDescription.replace("_product_type_",T),onFileSizeError:$=>we($),isPopupOpen:G,openPopup:p,companyOfficerName:{firstName:o?.firstName??"",lastName:o?.lastName??""}})]},x)})]})}const F=(e,c)=>`${e}.${c}`,Ma=t.div`
169
+ `,pe={width:new O(343,580,726),labelWidth:new O(115,145,155),largeLabelWidth:new O(160,240,240),veryLargeLabelWidth:new O(150,240,245),containerRowGap:new O(12,D[3])},Wa={title:new xe("standardMedium","largeMedium")};function mt({companyOfficerData:e,isDisabled:c,allOfficers:m,allNationalityCountries:h,isRefreshingViewInBackground:N,connectedAccountProvider:g,style:n,isPopupOpen:G,sectionId:y,filesEndPoint:te,authParams:ie,showInfoTooltip:oe=!0,isCompleted:Q=!1,showCompletedIcon:Y=!1,showOfficerSelect:s=!0,showVerificationTag:K=!0,isForTreasury:V=!1,isOverlay:re=!1,productType:f,companyTitles:_,sectionHeader:E,optionalFields:b=[],onOfficerAddressClick:q,onDeleteFile:w,onEditFileName:J,updateFilesEntity:Z,openPopup:p,onGetOtp:j,onVerifyOtp:B,onResendOtp:se,verifiedPhoneNumber:H,onPhoneVerified:X}){const L=Oe(),me=We(),{getValues:A,setValue:ne}=wl(),U=m.length>0,[be,we]=d.useState(!1),k=U?Object.values(e).findIndex(o=>o?.isSelectedForVerification===!0):0,W=`Officer_${k<0?1:k+1}`;d.useEffect(()=>{X!=null&&e[W]?.phone!=null&&e[W].isPhoneVerified===!0&&X(e[W]?.phone??"")},[]);const x=`${y}.${k}`,M=e[W],R=V?M?.treasuryUserVerificationStatus:M?.userVerificationStatus,P=m.find(o=>o.userId===M?.userId),u=m.sort((o,C)=>(o.firstName||o.lastName?`${o.firstName} ${o.lastName}`:o.email).localeCompare(C.firstName||C.lastName?`${C.firstName} ${C.lastName}`:C.email)),$e=U?u.findIndex(o=>o.userId===M?.userId):0,tl=e[W]?.deleteFileStatusById??{},il=e[W]?.updateFileStatusById??{},Ne=A(`${x}.selectDocument.selectDocumentType`),{common:{optional:ol},commonSetUp:{businessVerification:r},dateFormat:{visual:rl},cockpit:sl}=ae.getLocalizedStrings(),T=f==="onboarding"?r.productType.business_verification:r.productType[f],de=pe.labelWidth.value(L),nl=pe.veryLargeLabelWidth.value(L),he=pe.largeLabelWidth.value(L),dl=L==="small"?r.companyRolePlaceholderSmall:r.companyRolePlaceholder,cl=L==="small"?r.protectedSsnTextSmall:r.protectedSsnText,S=R?.code==="pending_review"||R?.code==="verified"?"readonly":c,pl=S!=null||!U||R?.code==="require_info",ul=P?.firstName||P?.lastName?`${P?.firstName} ${P?.lastName}`:r.addOfficer,ml=M?.userId!=null?r.confirmIdentityDetails:r.confirmIdentityDetailsNewOfficer,hl={menu:()=>({right:"initial",left:0})},fl=o=>_.find(C=>C.code===o)?.name??o,je=M?.otpverificationStatus?.fetchState,Fe=$l(je);d.useEffect(()=>{X!=null&&Fe==="In-Progress"&&je==="Completed"&&X(A(`${x}.phone`))},[Fe,je]);const yl=(o,C)=>{B(o,C)},xl=()=>H==null||H===""?!1:A(`${x}.phone`)===H,gl=()=>{const o=A(`${x}.phone`);return o!=null&&!Nl(o)?r.phoneErrorForOnboarding:r.phoneError.replace("_product_type_",T)};return l.jsxs(Ma,{style:n,windowSize:L,children:[l.jsxs(Ra,{windowSize:L,isOverlay:re,children:[l.jsxs(Xa,{children:[l.jsxs(Ha,{children:[Y===!0?l.jsx(Ua,{children:Q?l.jsx(Ga,{}):l.jsx(Qa,{})}):null,l.jsx(qa,{windowSize:L,children:E??ml})]}),oe?l.jsx(Ya,{children:l.jsx(Me,{variant:"small-description",maxWidth:"275px",data:r.confirmIdentityDetailsTooltip,display:"flex",placement:L==="small"||f==="onboarding"?"bottom":"right",children:l.jsx(Ka,{})})}):null,f==="onboarding"&&E!=null?l.jsx(ll,{text:ol}):null,R!=null&&K?l.jsx(at,{tagTitle:R?.name,textColor:Re(R.code),showLoader:N}):null]}),s?pl?U?l.jsxs(lt,{children:[P?.photo!==void 0?l.jsx(Ja,{src:P?.photo.href,alt:sl.userProfileAltText,onError:({currentTarget:o})=>{o.onerror=null,o.src=Le},loading:"lazy"}):l.jsx(_e,{firstName:P?.firstName??"",lastName:P?.lastName??"",size:`${a.sp4}`,index:$e}),l.jsx(Ae,{children:`${ul}`})]}):l.jsxs(tt,{children:[l.jsx(it,{children:l.jsx(ot,{})}),l.jsx(Ae,{children:`${r.addOfficer}`})]}):l.jsx(Za,{children:l.jsx($a,{selectedUser:P,allUsers:m,onSelectedUserChanged:o=>{const C=Object.values(e).findIndex(fe=>fe?.userId===o?.userId);ne(`${x}.isSelectedForVerification`,!1),ne(`${y}.${C}.isSelectedForVerification`,!0)},customization:{placeholderLabel:r.addOfficer},showAddUser:m.length<=9,pickerStyles:{backgroundColor:me.colors.grey5,selectedOptionBackgroundColor:me.colors.background,customStyleConfig:L==="small"?hl:void 0}})}):null]}),Object.values(e).map((o,C)=>{if(k!==C)return null;const fe=jl(o?.documentTypeSelectedForVerification),ve=o?.userFiles??[],bl=()=>H!=""&&f==="onboarding"?xl():o?.isPhoneVerified??!1;return l.jsxs(et,{children:[l.jsx(el,{}),l.jsx(qe,{isDisabled:S,label:{label:r.name,width:de},nameField:{name:F(x,"name"),placeHolder:{firstName:r.firstNamePlaceholder,lastName:r.lastNamePlaceholder,name:r.namePlaceholder},defaultValue:{firstName:o?.firstName??"",lastName:o?.lastName??""},registerOptions:{required:b.includes("name")===!1,validate:$=>b.includes("name")===!1?!!$:!0},showFullNameError:!0},errorInfoLabel:r.nameError.replace("_product_type_",T)}),l.jsx(z,{}),o?.userId==null?l.jsxs(l.Fragment,{children:[l.jsx(ee,{isDisabled:S,showAdditionalInfoLabel:!1,label:{label:r.email,width:de},text:{type:"email",name:F(x,"email"),placeholder:ce(r.email),defaultValue:o?.email,options:{required:b.includes("email")===!1}},additionalInfoLabel:r.emailDescription.replace("_product_type_",T)}),l.jsx(z,{})]}):null,l.jsx(He,{isDisabled:S,label:{label:r.dobLabel,width:he},dateField:{name:F(x,"dob"),type:"text",defaultValue:o?.birthday,placeholder:ce(r.dobLabel),dateFormat:rl.defaultInput,maxDate:Ze().subtract(g==="unit"?18:13,"years"),registerOptions:{required:b.includes("dob")===!1},autoComplete:"off"},additionalInfoLabel:r.dobDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(vl,{isDisabled:S,label:{label:r.nationalityLabel,width:de},showAdditionalInfoLabel:f!=="onboarding",additionalInfoLabel:r.nationalityDescription.replace("_product_type_",T),countrySelectField:{name:F(x,"nationalityCountryCode"),placeholder:r.nationalityPlaceholder,defaultValue:Il(o?.nationalityCountryCode,h.map($=>$.countryCode)),registerOptions:{validate:$=>!!($!=null&&$.selectedOption)}}}),l.jsx(z,{}),l.jsx(Ce,{isDisabled:S,label:{label:r.address,width:de},addressValueField:{name:F(x,"officerAddress"),placeholder:ce(r.address),defaultValue:o?.addressStatus?.addressToCreate,registerOptions:{validate:$=>b.includes("officerAddress")===!1?!(S==null&&$==null):!0},onClick:()=>{q(o?.officerType.toLocaleLowerCase().concat("_address"))}},additionalInfoLabel:f==="onboarding"?r.addressAdditionInfo:r.addressError.replace("_product_type_",T),showAdditionalInfoLabel:!0}),l.jsx(z,{}),l.jsx(Ue,{isDisabled:S,label:{label:r.phone,width:de},text:{name:F(x,"phone"),placeholder:ce(r.phone),defaultValue:o?.phone,autoComplete:"new-password",options:{required:b.includes("phone")===!1}},errorInfoLabel:gl(),verificationErrorInfoLabel:r.phoneValidationError,isPopupOpen:G,phoneVerifyButtonProps:{otpChallenge:o?.otpChallenge,showOtpButton:g==="unit",onGetOtp:j,onVerifyOtp:yl,onResendOtp:se,isPhoneVerified:bl(),phoneVerificationStatus:o?.otpverificationStatus,getOtpStatus:o?.sendOtpStatus,openPopup:p,verifiedPhoneNumber:H,focusNotRequired:!0}}),l.jsx(z,{}),l.jsx(Ie,{label:{label:r.companyRoleLabel,width:he},singleSelectField:{singleSelect:{name:F(x,"role"),placeholder:dl,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:fl,isDisabled:S,showTickMark:!1,maxMenuHeight:250},defaultValue:{selectedOption:o?.titleAtCompany,allOptions:_?.map($=>$.code)??[]},registerOptions:{required:b.includes("role")===!1,validate:$=>b.includes("role")===!1?!(S==null&&!$?.selectedOption):!0}},isFunctional:!0,errorInfoLabel:r.companyRoleDescription.replace("_product_type_",T)}),l.jsx(z,{}),l.jsx(De,{isDisabled:S,showAdditionalInfoLabel:!1,label:{label:r.companyOwnershipLabel,width:he},formattedTextField:{type:"number",name:F(x,"ownership"),defaultValue:o?.ownershipInCompany,placeholder:r.companyOwnershipPlaceholder,returnValueType:"floatValue",suffix:"%",allowNegative:!1,isNumericString:!1,registerOptions:{required:b.includes("ownership")===!1,validate:$=>$!=null?$>0&&$<=100:!0,max:100},autoComplete:"new-password"},additionalInfoLabel:f==="onboarding"?r.companyOwnershipDescriptionForOnboarding:r.companyOwnershipDescription}),l.jsx(z,{}),l.jsx(De,{isDisabled:S,showAdditionalInfoLabel:!1,label:{label:r.ssnLabel,width:he},formattedTextField:{type:"text",name:F(x,"ssn"),placeholder:r.addSSNPlaceholder,defaultValue:o?.ssn,format:"###-##-####",registerOptions:{required:b.includes("ssn")===!1,pattern:Sl},autoComplete:"new-password",maxLength:9,allowLeadingZeros:!0},protectedInfoText:S!=null&&o?.ssn?cl:void 0,additionalInfoLabel:r.ssnDescription.replace("_product_type_",T),isMasked:!0}),l.jsx(z,{}),l.jsx(Cl,{name:F(x,"selectDocument"),officerIndex:k,sizeLimit:Se,filesEndPoint:te,authParams:ie,onEditFileName:J,acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],label:{width:nl},allFiles:ve,updateFilesEntity:Z,deleteFileStatusById:tl,updateFileStatusById:il,onDeleteFile:w,isDisabled:S,menuPlacement:f==="onboarding"&&fe==null?"top":"auto",defaultValue:{defaultSelectDocumentType:fe,allSelectDocumentType:["driverLicense","passport","ssnCard"],files:{front:Ve(!0,ve,Ne),back:Ve(!1,ve,Ne)}},registerOptions:{required:b.includes("selectDocument")===!1},hasError:be,additionalInfoLabel:r.companyIdDescription.replace("_product_type_",T),onFileSizeError:$=>we($),isPopupOpen:G,openPopup:p,companyOfficerName:{firstName:o?.firstName??"",lastName:o?.lastName??""}})]},x)})]})}const F=(e,c)=>`${e}.${c}`,Ma=t.div`
170
170
  display: flex;
171
171
  flex-direction: column;
172
172
  row-gap: ${e=>pe.containerRowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{V as r,aI as x,aJ as M,aK as f,F as p,o as s,aP as w,ag as g,aQ as H}from"./index-BP8jc2MZ.js";import{n as o}from"./mui-bYXq4XMS.js";import{c as j}from"./SummaryCard-DEnzgi31-DU7b1H9O.js";import{a as t}from"./core-3dlyNYRL.js";import"./sentry-DxvQlcJu.js";import"./zeni-epic-state-xFtF3OLs.js";import"./lottie-CaGAfnTY.js";import"./liveblocks-B3KbWbMM.js";import"./utils-C70QTjQC.js";import"./analytics-CThNEnNw.js";import"./recharts-CXSQ4XPK.js";import"./lexical-DPEnH3HH.js";import"./ReloadCard-B2sJR97f-BIaVdWBP.js";const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:v},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],D=o(w)`
1
+ import{V as r,aI as x,aJ as M,aK as f,F as p,o as s,aP as w,ag as g,aQ as H}from"./index-Ci63exms.js";import{n as o}from"./mui-bYXq4XMS.js";import{c as j}from"./SummaryCard-DEnzgi31-BhOErS-o.js";import{a as t}from"./core-3dlyNYRL.js";import"./sentry-cYFeB6Pw.js";import"./zeni-epic-state-BwKvATgd.js";import"./lottie-22bRan8M.js";import"./liveblocks-CNYVvsag.js";import"./utils-fBOyu0sO.js";import"./analytics-XaDXTZcq.js";import"./recharts-h5iNQbFd.js";import"./lexical-DPEnH3HH.js";import"./ReloadCard-B2sJR97f-4aiyry-A.js";const B=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M25.8382 19.5283C25.8382 19.5283 31.0943 15.1988 31.0943 12.6045C31.0943 11.998 30.7236 11.9138 30.2856 11.9138H20.0263V6.72512C20.0263 6.27027 19.6556 5.9165 19.2176 5.9165H2.74197C2.28712 5.9165 1.93335 6.28712 1.93335 6.72512V20.3706C1.93335 20.8255 2.30397 21.1792 2.74197 21.1792H11.182V27.1765H30.3025C30.7573 27.1765 31.1111 26.8733 31.1111 26.4858C31.0943 24.5822 27.4892 20.9434 25.8382 19.5283Z",fill:"#95C1B7"}),t.createElement("path",{d:"M18.9987 20.1516H1.69754C1.24269 20.1516 0.888916 19.781 0.888916 19.343V5.69754C0.888916 5.24269 1.25953 4.88892 1.69754 4.88892H18.19C18.6449 4.88892 18.9987 5.25953 18.9987 5.69754V20.1516Z",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10,strokeLinejoin:"round"}),t.createElement("path",{d:"M18.9987 10.8862H29.2581C29.7129 10.8862 30.0667 10.9705 30.0667 11.5769C30.0667 14.1713 24.8107 18.5007 24.8107 18.5007C26.4616 19.9158 30.0667 23.5546 30.0667 25.4583C30.0667 25.8457 29.6961 26.149 29.2581 26.149H10.1376V20.1517",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M18.9987 20.1516L10.1376 26.1489",stroke:"#95C1B7",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M14.8545 16.3949H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 12.5203H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.8545 8.62878H5.03308",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),v=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M29.1471 12.9199H19.384V2.69038C19.384 2.2561 19.0302 1.91833 18.612 1.91833H4.13618C3.7019 1.91833 3.36414 2.27219 3.36414 2.69038V30.3391C3.36414 30.7734 3.71799 31.1112 4.13618 31.1112H17.5665H18.612H29.1471C29.5814 31.1112 29.9192 30.7573 29.9192 30.3391V13.692C29.9192 13.2738 29.5653 12.9199 29.1471 12.9199Z",fill:"#97C3B9"}),t.createElement("path",{d:"M26.2595 15.4934H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 25H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 20H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 15H5.53552",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 25H21",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M26.2595 20H21",stroke:"#ECB87D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 10H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M14.9126 5.36316H5.53552",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M18.242 30.0978V1.66096C18.242 1.22668 17.8882 0.888916 17.47 0.888916H2.99421C2.55994 0.888916 2.22217 1.24277 2.22217 1.66096V29.3097C2.22217 29.744 2.57602 30.0818 2.99421 30.0818H17.47",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M16.4246 30.0978H28.0052C28.4395 30.0978 28.7772 29.744 28.7772 29.3258V12.6625C28.7772 12.2283 28.4234 11.8905 28.0052 11.8905H18.1617",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10})),L=e=>t.createElement("svg",{width:32,height:32,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{opacity:.2,d:"M16.3966 31.1111C24.5135 31.1111 31.0936 24.5311 31.0936 16.4141C31.0936 8.29723 24.5135 1.71716 16.3966 1.71716C8.27965 1.71716 1.69958 8.29723 1.69958 16.4141C1.69958 24.5311 8.27965 31.1111 16.3966 31.1111Z",fill:"#97C3B9"}),t.createElement("path",{d:"M15.5859 30.2829C23.7028 30.2829 30.2829 23.7028 30.2829 15.5859C30.2829 7.46898 23.7028 0.888916 15.5859 0.888916C7.46898 0.888916 0.888916 7.46898 0.888916 15.5859C0.888916 23.7028 7.46898 30.2829 15.5859 30.2829Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M3.76135 15.9559C3.76135 20.1148 6.01701 23.745 9.36524 25.6834",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"}),t.createElement("path",{d:"M8.81897 19.9034C8.81897 17.3658 11.85 15.304 15.5859 15.304C19.3219 15.304 22.3529 17.3658 22.3529 19.9034C22.3529 24.8729 8.81897 24.9257 8.81897 19.9034Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M15.5859 13.2245C17.1626 13.2245 18.4407 11.9464 18.4407 10.3697C18.4407 8.79304 17.1626 7.51489 15.5859 7.51489C14.0092 7.51489 12.7311 8.79304 12.7311 10.3697C12.7311 11.9464 14.0092 13.2245 15.5859 13.2245Z",stroke:"#97C3B9",strokeWidth:1.5,strokeMiterlimit:10}),t.createElement("path",{d:"M27.0404 15.6035C27.0404 11.4446 24.7848 7.81443 21.4365 5.87598",stroke:"#EEBA7D",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round"})),y=[{key:"company_legal_name",title:p.getLocalizedStrings().companyPassportCard.legalName,Icon:v},{key:"company_officer",title:p.getLocalizedStrings().companyPassportCard.companyOfficer,Icon:L},{key:"company_inc",title:p.getLocalizedStrings().companyPassportCard.typeOfInc,Icon:B}],D=o(w)`
2
2
  margin: ${s.sp5};
3
3
  justify-content: space-between;
4
4
  `,W=o.div`